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.
319 lines
1.2 MiB
319 lines
1.2 MiB
(self.webpackChunk=self.webpackChunk||[]).push([[3260],{89489:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ct}});var x=te(14809),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,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},59477:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ct}});var x=te(14809),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,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},26227:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ct}});var x=te(14809),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,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},49198:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ct}});var x=te(14809),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,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},41464:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ct}});var x=te(14809),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,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},87169:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ct}});var x=te(14809),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,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},52671:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ct}});var x=te(14809),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,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},8657:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ct}});var x=te(14809),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,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},56082:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ct}});var x=te(14809),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,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},33853:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ct}});var x=te(14809),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,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},12893:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ct}});var x=te(14809),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,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},15075:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ct}});var x=te(14809),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,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},32134:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ct}});var x=te(14809),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,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},43531:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ct}});var x=te(14809),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,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},38819:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ct}});var x=te(14809),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,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},99587:function(Wt,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"}},8423:function(Wt,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"}},2397:function(Wt,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"}},57149:function(Wt,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,Ue)=>Ve in ot?ue(ot,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):ot[Ve]=Ue,se=(ot,Ve)=>{for(var Ue in Ve||(Ve={}))Me.call(Ve,Ue)&&Oe(ot,Ue,Ve[Ue]);if(Be)for(var Ue of Be(Ve))Le.call(Ve,Ue)&&Oe(ot,Ue,Ve[Ue]);return ot};const ct=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+"},61250:function(Wt,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,Ue)=>Ve in ot?ue(ot,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):ot[Ve]=Ue,se=(ot,Ve)=>{for(var Ue in Ve||(Ve={}))Me.call(Ve,Ue)&&Oe(ot,Ue,Ve[Ue]);if(Be)for(var Ue of Be(Ve))Le.call(Ve,Ue)&&Oe(ot,Ue,Ve[Ue]);return ot};const ct=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=="},63720:function(){"use strict";function Wt(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(Wt.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(Wt.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(Wt.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(Wt.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 Wt))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 ce=le-a,pe=E-ne,Ee=NaN,Ge=NaN;if(ce===0)if(pe===0)le===a&&(Ee=le,Ge=y);else{var De=(z-re)/pe,Qe=z-De*E;Ee=le,Ge=De*Ee+Qe}else if(pe===0){var he=(y-b)/ce,Te=y-he*le;Ee=E,Ge=he*Ee+Te}else{var he=(y-b)/ce,De=(z-re)/pe,Te=y-he*le,Qe=z-De*E;Ee=(Qe-Te)/(he-De),Ge=he*Ee+Te}return ie.x=Ee,ie.y=Ge,ie}function Me(le,y,a,b,E,z,ne,re,ie,ce,pe,Ee,Ge,De){var Qe=1-ie,he=ie,Te=le*Qe+a*he,et=y*Qe+b*he,Et=a*Qe+E*he,Ne=b*Qe+z*he,ut=E*Qe+ne*he,xt=z*Qe+re*he,yt=Te*Qe+Et*he,gt=et*Qe+Ne*he,Yt=Et*Qe+ut*he,wt=Ne*Qe+xt*he,nn=yt*Qe+Yt*he,dn=gt*Qe+wt*he;ce.x=Te,ce.y=et,pe.x=yt,pe.y=gt,Ee.x=nn,Ee.y=dn,Ge.x=Yt,Ge.y=wt,De.x=ut,De.y=xt}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 Wt("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 Wt("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 Wt("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 Wt("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 Wt("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 Wt("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 ct=[];function ot(){var le=ct.pop();return le===void 0?[]:le}function Ve(le){le.length=0,ct.push(le)}function Ue(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 tt(le){var y=$e(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 $e(le){for(var y=Ue(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],ce=y[(b+ne-1)%E],pe=y[(b+ne+z)%E];a[ne*2]=re,a[ne*2+1]=Be(re.x,re.y,ce.x,ce.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=Ue(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=Ue(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=Ue(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=Ue(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=Ue(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=Ue(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=Ue(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=$e(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=$e(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=$e(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=$e(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=$e(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=$e(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=tt(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=tt(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=tt(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=tt(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=tt(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=tt(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 Wt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Wt("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 Wt("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 Wt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Wt("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 Wt("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 Wt("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 Wt("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),ce=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,ce)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,y,a-ce)),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-ce)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Wt("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 Wt("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 Wt("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 ce=x(),pe=x(),Ee=x(),Ge=x();Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.42,ce,pe,Ee,Ge,Ge);var De=x(),Qe=x(),he=x();Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.58,Ge,Ge,he,De,Qe);var Te=x(),et=x(),Et=x();Me(ne,re+z,ne-E,re+z,ne-z,re+E,ne-z,re,.42,Te,et,Et,Ge,Ge);var Ne=x(),ut=x(),xt=x();return Me(ne,re+z,ne-E,re+z,ne-z,re+E,ne-z,re,.58,Ge,Ge,xt,Ne,ut),ie.add(new go.PathSegment(go.PathSegment.Move,xt.x*y,xt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,Ne.x*y,Ne.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,Ee.x*y,Ee.y*a,ce.x*y,ce.y*a,pe.x*y,pe.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,xt.x*y,xt.y*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,Et.x*y,Et.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,he.x*y,he.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,De.x*y,De.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,Et.x*y,Et.y*a,Te.x*y,Te.y*a,et.x*y,et.y*a).close()),ue(ce),ue(pe),ue(Ee),ue(Ge),ue(De),ue(Qe),ue(he),ue(Te),ue(et),ue(Et),ue(Ne),ue(ut),ue(xt),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 Wt("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(),ce=x(),pe=x(),Ee=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,Ee,ce,ie,ie),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*y,ce.y*a,pe.x*y,pe.y*a,Ee.x*y,Ee.y*a));var De=te(ce.x,ce.y);Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.56,ie,ie,ce,pe,Ee);var Qe=te(ce.x,ce.y);Ge.add(new go.PathSegment(go.PathSegment.Line,(De.x*.1+.95*.9)*y,De.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*y,De.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,Ee.x*y,Ee.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 he=new go.PathFigure(ne*y,(re-z)*a,!1);b.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),he.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(ce),ue(pe),ue(Ee),ue(De),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 Wt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Wt("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,ce=new go.PathFigure(0,ne,!0);ie.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ce.add(new go.PathSegment(go.PathSegment.Line,z,0)),ce.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ce.add(new go.PathSegment(go.PathSegment.Line,z,a)),ce.add(new go.PathSegment(go.PathSegment.Line,z,re)),ce.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 Wt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Wt("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,ce=new go.PathFigure(0,ne,!0);ie.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ce.add(new go.PathSegment(go.PathSegment.Line,z,0)),ce.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ce.add(new go.PathSegment(go.PathSegment.Line,z,a)),ce.add(new go.PathSegment(go.PathSegment.Line,z,re)),ce.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 Wt("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 Wt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Wt("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 ce=new go.Geometry,pe=new go.PathFigure(y,.5*a,!0);ce.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 Ee=Be(0,.5,.3,re/a,0,z/a,1,z/a,x());return ce.spot1=new go.Spot(Ee.x,Ee.y),Ee=Be(.7,ie/a,1,.5,0,ne/a,1,ne/a,Ee),ce.spot2=new go.Spot(Ee.x,Ee.y),ue(Ee),ce}),go.Shape.setFigureParameter("IBeamArrow",0,new Wt("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 Wt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Wt("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 ce=new go.Geometry,pe=new go.PathFigure(y,.5*a,!0);ce.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()),ce.spot1=new go.Spot(0,z/a);var Ee=Be(.7,ie/a,1,.5,0,ne/a,1,ne/a,x());return ce.spot2=new go.Spot(Ee.x,Ee.y),ue(Ee),ce}),go.Shape.setFigureParameter("Pointer",0,new Wt("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 Wt("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 Wt("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 Wt("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 Wt("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,ce=.1,pe=new go.PathFigure(ie*y,(ce+z)*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-E)*y,ce*a,(ie-ne)*y,(ce+z)*a,(ie-E)*y,(ce+re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-z)*a,(ie-E)*y,(ce-re)*a,(ie-ne)*y,(ce-z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+E)*y,ce*a,(ie+ne)*y,(ce-z)*a,(ie+E)*y,(ce-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce+z)*a,(ie+E)*y,(ce+re)*a,(ie+ne)*y,(ce+z)*a));var Ee=.05,Ge=se*Ee;ie=.05,ce=.25;var De=new go.PathFigure(.5*y,.2*a,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ie=.95,ce=.25,De.add(new go.PathSegment(go.PathSegment.Bezier,(ie+Ee)*y,ce*a,(ie+Ge)*y,(ce-Ee)*a,(ie+Ee)*y,(ce-Ge)*a)),De.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),Ee=.025,Ge=se*Ee,ie=.825,ce=.35,De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-Ee)*a,(ie+Ee)*y,(ce-Ge)*a,(ie+Ge)*y,(ce-Ee)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie-Ee)*y,ce*a,(ie-Ge)*y,(ce-Ee)*a,(ie-Ee)*y,(ce-Ge)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),Ee=.05,Ge=se*Ee,ie=.5,ce=.7,De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-Ee)*a,(ie+Ee)*y,(ce-Ge)*a,(ie+Ge)*y,(ce-Ee)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie-Ee)*y,ce*a,(ie-Ge)*y,(ce-Ee)*a,(ie-Ee)*y,(ce-Ge)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),De.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),De.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),Ee=.025,Ge=se*Ee,ie=.175,ce=.35,De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-Ee)*a,(ie+Ee)*y,(ce-Ge)*a,(ie+Ge)*y,(ce-Ee)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie-Ee)*y,ce*a,(ie-Ge)*y,(ce-Ee)*a,(ie-Ee)*y,(ce-Ge)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Ee=.05,Ge=se*Ee,ie=.05,ce=.25,De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-Ee)*a,(ie-Ee)*y,(ce-Ge)*a,(ie-Ge)*y,(ce-Ee)*a)),De.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 Wt("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 ce=new go.PathFigure((z+E)*y,(z+E)*a,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,z*y,z*a)),ce.add(new go.PathSegment(go.PathSegment.Move,z*y,(z+E)*a)),ce.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 ce=new go.PathFigure((ne+z)*y,re*a,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne+z)*y,(re+E)*a,(ne+E)*y,(re+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re+z)*a,(ne-z)*y,(re+E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-z)*a,(ne-z)*y,(re-E)*a,(ne-E)*y,(re-z)*a)),ce.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,ce=.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 Ee=new go.PathFigure((ie+re)*y,ce*a,!0);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce+re)*a,(ie+re)*y,(ce+ne)*a,(ie+ne)*y,(ce+re)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y,ce*a,(ie-ne)*y,(ce+re)*a,(ie-re)*y,(ce+ne)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-re)*a,(ie-re)*y,(ce-ne)*a,(ie-ne)*y,(ce-re)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y,ce*a,(ie+ne)*y,(ce-re)*a,(ie+re)*y,(ce-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 ce=new go.PathFigure((ne-E)*y,re*a,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),ce.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 ce=new go.PathFigure(.8*y,.5*a,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(re+z)*a,(ne+z)*y,(re+E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),ce.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 ce=new go.PathFigure(.2*y,0,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+z)*y,(re-E)*a,.9*y,(re-z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(re+z)*a,(ne+z)*y,(re+E)*a)),ce.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,ce=.5,pe=(E-y)/2,Ee=(z-a)/2,Ge=new go.PathFigure(ie*y+pe,(ce+re)*a+Ee,!0);b.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y+pe,ce*a+Ee,(ie-ne)*y+pe,(ce+re)*a+Ee,(ie-re)*y+pe,(ce+ne)*a+Ee)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(ce-re)*a+Ee,(ie-re)*y+pe,(ce-ne)*a+Ee,(ie-ne)*y+pe,(ce-re)*a+Ee)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+ne*.5)*y+pe,ce*a+Ee,ie*y+pe,(ce-re)*a+Ee,(ie-re+ne*.5)*y+pe,(ce-ne)*a+Ee)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(ce+re)*a+Ee,(ie-re+ne*.5)*y+pe,(ce+ne)*a+Ee,ie*y+pe,(ce+re)*a+Ee).close()),ne=se*.4,re=.4,ie=.2,ce=.5;var De=new go.PathFigure(ie*y+pe,(ce+re)*a+Ee,!0);b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y+pe,ce*a+Ee,(ie-ne)*y+pe,(ce+re)*a+Ee,(ie-re)*y+pe,(ce+ne)*a+Ee)),De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(ce-re)*a+Ee,(ie-re)*y+pe,(ce-ne)*a+Ee,(ie-ne)*y+pe,(ce-re)*a+Ee)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+ne*.5)*y+pe,ce*a+Ee,ie*y+pe,(ce-re)*a+Ee,(ie-re+ne*.5)*y+pe,(ce-ne)*a+Ee)),De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(ce+re)*a+Ee,(ie-re+ne*.5)*y+pe,(ce+ne)*a+Ee,ie*y+pe,(ce+re)*a+Ee).close()),ne=se*.2,re=.2,ie=.5,ce=.5;var Qe=new go.PathFigure((ie-re)*y+pe,ce*a+Ee,!0);b.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(ce-re)*a+Ee,(ie-re)*y+pe,(ce-ne)*a+Ee,(ie-ne)*y+pe,(ce-re)*a+Ee)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y+pe,ce*a+Ee,(ie+ne)*y+pe,(ce-re)*a+Ee,(ie+re)*y+pe,(ce-ne)*a+Ee)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(ce+re)*a+Ee,(ie+re)*y+pe,(ce+ne)*a+Ee,(ie+ne)*y+pe,(ce+re)*a+Ee)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y+pe,ce*a+Ee,(ie-ne)*y+pe,(ce+re)*a+Ee,(ie-re)*y+pe,(ce+ne)*a+Ee)),ne=se*.4,re=.4,ie=.8,ce=.5;var he=new go.PathFigure(ie*y+pe,(ce-re)*a+Ee,!0);b.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y+pe,ce*a+Ee,(ie+ne)*y+pe,(ce-re)*a+Ee,(ie+re)*y+pe,(ce-ne)*a+Ee)),he.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(ce+re)*a+Ee,(ie+re)*y+pe,(ce+ne)*a+Ee,(ie+ne)*y+pe,(ce+re)*a+Ee)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-ne*.5)*y+pe,ce*a+Ee,ie*y+pe,(ce+re)*a+Ee,(ie+re-ne*.5)*y+pe,(ce+ne)*a+Ee)),he.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(ce-re)*a+Ee,(ie+re-ne*.5)*y+pe,(ce-ne)*a+Ee,ie*y+pe,(ce-re)*a+Ee).close()),ne=se*.8,re=.8,ie=1,ce=.5;var Te=new go.PathFigure(ie*y+pe,(ce-re)*a+Ee,!0);return b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y+pe,ce*a+Ee,(ie+ne)*y+pe,(ce-re)*a+Ee,(ie+re)*y+pe,(ce-ne)*a+Ee)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(ce+re)*a+Ee,(ie+re)*y+pe,(ce+ne)*a+Ee,(ie+ne)*y+pe,(ce+re)*a+Ee)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-ne*.5)*y+pe,ce*a+Ee,ie*y+pe,(ce+re)*a+Ee,(ie+re-ne*.5)*y+pe,(ce+ne)*a+Ee)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(ce-re)*a+Ee,(ie+re-ne*.5)*y+pe,(ce-ne)*a+Ee,ie*y+pe,(ce-re)*a+Ee).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(),ce=x(),pe=x(),Ee=x();Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.5,ie,ie,ce,pe,Ee);var Ge=te(ce.x,ce.y),De=new go.PathFigure(ce.x*y,ce.y*a,!0);b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,pe.x*y,pe.y*a,Ee.x*y,Ee.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne+z)*y,(re+E)*a,(ne+E)*y,(re+z)*a)),De.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,Ee,ce,ie,ie),De.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*y,ce.y*a,pe.x*y,pe.y*a,Ee.x*y,Ee.y*a)),E=se*.3,z=.3,Me(ne-z,re,ne-z,re-E,ne-E,re-z,ne,re-z,.5,pe,Ee,ce,ie,ie),De.add(new go.PathSegment(go.PathSegment.Line,ce.x*y,ce.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,Ee.x*y,Ee.y*a,pe.x*y,pe.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),De.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,ce,pe,Ee),De.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*y,ce.y*a,Ee.x*y,Ee.y*a,pe.x*y,pe.y*a).close());var De=new go.PathFigure(.45*y,0,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),ue(ie),ue(ce),ue(pe),ue(Ee),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,ce=.5-.5*Math.SQRT2/2,pe=1,Ee=.5,Ge=.5,De=0,Qe=new go.PathFigure(ie*y,(1-ce)*a,!1);return b.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,Ee*a,pe*y,.7*a,pe*y,Ee*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+z)*y,(De+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,ce=Math.PI/4,pe=4*(1-Math.cos(ce))/(3*Math.sin(ce)),Ee=pe*.5,Ge=ne,De=ne,Qe=pe*Ge,he=pe*De;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-Ge)*y,ie*a,(re-(Qe+Ge)/2)*y,(ie+(De+he)/2)*a,(re-Ge)*y,(ie+he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ie-De)*a,(re-Ge)*y,(ie-he)*a,(re-Qe)*y,(ie-De)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+Ge)*y,ie*a,(re+Qe)*y,(ie-De)*a,(re+Ge)*y,(ie-he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(re+Ge)*y,(ie+he)*a,(re+(Qe+Ge)/2)*y,(ie+(De+he)/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 et=new go.PathFigure(.8*y,a,!1);return b.add(et),et.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,ce=.9,pe=new go.PathFigure((ie-ne)*y,ce*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-ne)*a,(ie-ne)*y,(ce-re)*a,(ie-re)*y,(ce-ne)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ne)*y,ce*a,(ie+re)*y,(ce-ne)*a,(ie+ne)*y,(ce-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce+ne)*a,(ie+ne)*y,(ce+re)*a,(ie+re)*y,(ce+ne)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ne)*y,ce*a,(ie-re)*y,(ce+ne)*a,(ie-ne)*y,(ce+re)*a).close()),ne=.1,re=se*.1,ie=.8,ce=.9;var Ee=new go.PathFigure((ie-ne)*y,ce*a,!0);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-ne)*a,(ie-ne)*y,(ce-re)*a,(ie-re)*y,(ce-ne)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ne)*y,ce*a,(ie+re)*y,(ce-ne)*a,(ie+ne)*y,(ce-re)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce+ne)*a,(ie+ne)*y,(ce+re)*a,(ie+re)*y,(ce+ne)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ne)*y,ce*a,(ie-re)*y,(ce+ne)*a,(ie-ne)*y,(ce+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,ce=se*.1,pe=.1,Ee=.9,Ge=new go.PathFigure((pe-ie)*y,Ee*a,!0);b.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(Ee-ie)*a,(pe-ie)*y,(Ee-ce)*a,(pe-ce)*y,(Ee-ie)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ie)*y,Ee*a,(pe+ce)*y,(Ee-ie)*a,(pe+ie)*y,(Ee-ce)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(Ee+ie)*a,(pe+ie)*y,(Ee+ce)*a,(pe+ce)*y,(Ee+ie)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ie)*y,Ee*a,(pe-ce)*y,(Ee+ie)*a,(pe-ie)*y,(Ee+ce)*a)),ie=.1,ce=se*.1,pe=.4,Ee=.9;var De=new go.PathFigure((pe-ie)*y,Ee*a,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(Ee-ie)*a,(pe-ie)*y,(Ee-ce)*a,(pe-ce)*y,(Ee-ie)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ie)*y,Ee*a,(pe+ce)*y,(Ee-ie)*a,(pe+ie)*y,(Ee-ce)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(Ee+ie)*a,(pe+ie)*y,(Ee+ce)*a,(pe+ce)*y,(Ee+ie)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ie)*y,Ee*a,(pe-ce)*y,(Ee+ie)*a,(pe-ie)*y,(Ee+ce)*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,Ee=se*.05,Ge=.175,De=.95,re=new go.PathFigure((Ge-pe)*y,De*a,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(De-pe)*a,(Ge-pe)*y,(De-Ee)*a,(Ge-Ee)*y,(De-pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+pe)*y,De*a,(Ge+Ee)*y,(De-pe)*a,(Ge+pe)*y,(De-Ee)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(De+pe)*a,(Ge+pe)*y,(De+Ee)*a,(Ge+Ee)*y,(De+pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-pe)*y,De*a,(Ge-Ee)*y,(De+pe)*a,(Ge-pe)*y,(De+Ee)*a));var pe=.05,Ee=se*.05,Ge=.375,De=.95,ie=new go.PathFigure((Ge-pe)*y,De*a,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(De-pe)*a,(Ge-pe)*y,(De-Ee)*a,(Ge-Ee)*y,(De-pe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+pe)*y,De*a,(Ge+Ee)*y,(De-pe)*a,(Ge+pe)*y,(De-Ee)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(De+pe)*a,(Ge+pe)*y,(De+Ee)*a,(Ge+Ee)*y,(De+pe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-pe)*y,De*a,(Ge-Ee)*y,(De+pe)*a,(Ge-pe)*y,(De+Ee)*a));var pe=.05,Ee=se*.05,Ge=.625,De=.95,ce=new go.PathFigure((Ge-pe)*y,De*a,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(De-pe)*a,(Ge-pe)*y,(De-Ee)*a,(Ge-Ee)*y,(De-pe)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+pe)*y,De*a,(Ge+Ee)*y,(De-pe)*a,(Ge+pe)*y,(De-Ee)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(De+pe)*a,(Ge+pe)*y,(De+Ee)*a,(Ge+Ee)*y,(De+pe)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-pe)*y,De*a,(Ge-Ee)*y,(De+pe)*a,(Ge-pe)*y,(De+Ee)*a));var pe=.05,Ee=se*.05,Ge=.825,De=.95,Qe=new go.PathFigure((Ge-pe)*y,De*a,!0);b.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(De-pe)*a,(Ge-pe)*y,(De-Ee)*a,(Ge-Ee)*y,(De-pe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+pe)*y,De*a,(Ge+Ee)*y,(De-pe)*a,(Ge+pe)*y,(De-Ee)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(De+pe)*a,(Ge+pe)*y,(De+Ee)*a,(Ge+Ee)*y,(De+pe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-pe)*y,De*a,(Ge-Ee)*y,(De+pe)*a,(Ge-pe)*y,(De+Ee)*a).close());var he=new go.PathFigure(0,a,!1);return b.add(he),he.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,ce=.35,pe=.775,Ee=new go.PathFigure((ce-re)*y,pe*a,!0);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(pe-re)*a,(ce-re)*y,(pe-ie)*a,(ce-ie)*y,(pe-re)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*y,pe*a,(ce+ie)*y,(pe-re)*a,(ce+re)*y,(pe-ie)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(pe+re)*a,(ce+re)*y,(pe+ie)*a,(ce+ie)*y,(pe+re)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*y,pe*a,(ce-ie)*y,(pe+re)*a,(ce-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 ce=new go.PathFigure(0,.7*a,!1);return b.add(ce),ce.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 ce=new go.PathFigure(.15*y,.5*a,!1);return b.add(ce),ce.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 ce=new go.PathFigure((ne-E)*y,re*a,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),ce.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()),ce.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),ce.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 ce=new go.PathFigure(y*.78,a*.05,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),ce.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),ce.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")},43001: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 Wt={},Gt="5.0",te={},x=null,ue=!1,Be=!1,Me=null,Le=!1,Oe=null,se=null,ct=0;ct<arguments.length;ct++){var ot=arguments[ct];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="",Ue="",tt=!1,$e=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(at){return parseFloat(at)>4?parseFloat(at):5};Wt.setHTML5Codebase=function(at,qe){se=at,wt(at,qe)},Wt.setJavaCodebase=Wt.setJavaCodebaseVersion=Wt.isCompiledInstalled=Wt.setPreCompiledScriptPath=Wt.setPreCompiledResourcePath=function(){},Wt.setHTML5CodebaseVersion=function(at,qe){var qt=parseFloat(at);if(qt!==NaN&&qt<5){console.log("The GeoGebra HTML5 codebase version "+qt+" is deprecated. Using version latest instead.");return}Oe=at,Yt(at,qe)},Wt.getHTML5CodebaseVersion=function(){return le},Wt.getParameters=function(){return te},Wt.setFontsCSSURL=function(at){ne=at},Wt.setGiacJSURL=function(at){},Wt.setJNLPFile=function(at){Ve=at},Wt.setJNLPBaseDir=function(at){},Wt.inject=function(){function at(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var qe="auto",qt=te.id,Sn,Zt=!1,mn=0;mn<arguments.length;mn++){var Ke=arguments[mn];typeof Ke=="string"?(Ke=Ke.toLowerCase(),Ke.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?qe=Ke:qt=arguments[mn]):typeof Ke=="boolean"?Zt=Ke:Ke instanceof HTMLElement&&(Sn=Ke)}It();function It(){if(!Le){setTimeout(It,200);return}qe=yt(qe);var Ut=Sn||document.getElementById(qt);if(!Ut){console.log("possibly bug on ajax loading? ");return}if(Wt.removeExistingApplet(Ut,!1),te.width===void 0&&Ut.clientWidth&&(te.width=Ut.clientWidth),te.height===void 0&&Ut.clientHeight&&(te.height=Ut.clientHeight),!(te.width&&te.height)&&qe==="html5"&&(delete te.width,delete te.height),$e=qe,qe==="screenshot")et(Ut,te);else{var Mt=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?Mt=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(Mt=(!ce()||at())&&pe()),Mt?($e="screenshot",Ne(Ut,te,Zt,qe)):Te(Ut,te,Zt)}}};function ce(){try{return window.self!==window.top}catch(at){return!0}}function pe(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Wt.getViews=function(){return x},Wt.isJavaInstalled=function(){return!1};var Ee=function(at){var qe=function(mn){var Ke=JSON.parse(mn),It=function(ft){return ft.type=="G"||ft.type=="E"},Ut=Ke.elements?Ke.elements.filter(It)[0]:Ke;if(!Ut||!Ut.url){qt();return}te.fileName=Ut.url,Ge(Ut.settings||{}),x.is3D=!0;var Mt="https://www.geogebra.org/images/";Wt.setPreviewImage(b||Ut.previewUrl,Mt+"GeoGebra_loading.png",Mt+"applet_play.png"),at()},qt=function(){te.onError&&te.onError(),nn("Error: Fetching material (id "+te.material_id+") failed.",te)},Sn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Zt="/materials/"+te.material_id+"?scope=basic";De("https://"+Sn+"/api/proxy.php?path="+encodeURIComponent(Zt),qe,qt)};function Ge(at){var qe=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(qt){at[qt]=!!at[qt]}),qe.forEach(function(qt){te[qt]===void 0&&at[qt]!==void 0&&(te[qt]=at[qt])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function De(at,qe,qt){var Sn=new XMLHttpRequest;Sn.open("GET",at),Sn.onload=function(){qe(Sn.responseText)},Sn.onerror=qt,Sn.send()}Wt.isHTML5Installed=function(){return!0},Wt.getLoadedAppletType=function(){return $e},Wt.setPreviewImage=function(at,qe,qt){b=at,E=qe,z=qt},Wt.removeExistingApplet=function(at,qe){var qt;typeof at=="string"&&(at=document.getElementById(at)),$e=null;var Sn=null;for(qt=0;qt<at.childNodes.length;qt++){var Zt=at.childNodes[qt],mn=Zt.className;mn==="applet_screenshot"?qe?(Zt.style.display="block",$e="screenshot"):Zt.style.display="none":mn!=="applet_scaler prerender"&&(at.removeChild(Zt),Sn=mn&&mn.indexOf("appletParameters")!=-1?Zt.id:null,qt--)}var Ke=te.id!==void 0?te.id:Sn,It=window[Ke];It&&typeof It.getBase64=="function"&&(It.remove(),window[Ke]=null)},Wt.refreshHitPoints=function(){if(ie(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var at=Wt.getAppletObject();return at&&typeof at.recalculateEnvironments=="function"?(at.recalculateEnvironments(),!0):!1},Wt.startAnimation=function(){var at=Wt.getAppletObject();return at&&typeof at.startAnimation=="function"?(at.startAnimation(),!0):!1},Wt.stopAnimation=function(){var at=Wt.getAppletObject();return at&&typeof at.stopAnimation=="function"?(at.stopAnimation(),!0):!1},Wt.getAppletObject=function(){var at=te.id!==void 0?te.id:"ggbApplet";return window[at]},Wt.resize=function(){};var Qe=function(at,qe,qt){var Sn=document.createElement("param");Sn.setAttribute("name",qe),Sn.setAttribute("value",qt),at.appendChild(Sn)},he=function(at){return at&&at!=="false"},Te=function(at,qe,qt){ie(le)<=4.2&&(qt=!0);var Sn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==le||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Sn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Zt=document.createElement("div");Zt.classList.add("appletParameters","notranslate");var mn=qe.width,Ke=qe.height;if(qe.disableAutoScale=qe.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():qe.disableAutoScale,qe.width!==void 0)if(ie(le)<=4.4)he(qe.showToolBar)&&(qe.height-=7),he(qe.showAlgebraInput)&&(qe.height-=37),qe.width<605&&he(qe.showToolBar)&&(qe.width=605,mn=605);else{var It=100;(he(qe.showToolBar)||he(qe.showMenuBar))&&(qe.hasOwnProperty("customToolBar")&&(qe.customToolbar=qe.customToolBar),It=he(qe.showMenuBar)?245:155),mn<It&&(qe.width=It,mn=It)}Zt.style.border="none",Zt.style.display="inline-block";for(var Ut in qe)qe.hasOwnProperty(Ut)&&Ut!=="appletOnLoad"&&Zt.setAttribute("data-param-"+Ut,qe[Ut]);ne&&Zt.setAttribute("data-param-fontscssurl",ne),Wt.resize=function(){GGBAppletUtils.responsiveResize(at,qe)},window.addEventListener("resize",function(Ae){Wt.resize()});var Mt=typeof qe.appletOnLoad=="function"?qe.appletOnLoad:function(){};if(!qt&&qe.width!==void 0){qe.hasOwnProperty("showSplash")||Zt.setAttribute("data-param-showSplash","false");var ft=at.querySelector(".applet_scaler.prerender"),rt=ft!==null;if(rt)var ze=ft.querySelector(".ggb_preview");else{var ze=xt(mn,Ke,qe.borderColor,!1);ft=document.createElement("div"),ft.className="applet_scaler",ft.style.position="relative",ft.style.display="block",ft.style.width=mn+"px",ft.style.height=Ke+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ft,"66%"),ie(le)>=5?(qe.appletOnLoad=function(Ae){var pt=at.querySelector(".ggb_preview");pt&&pt.parentNode.removeChild(pt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ft),window.GGBT_wsf_view&&$(window).trigger("resize"),Mt(Ae)},rt||ft.appendChild(ze)):Zt.appendChild(ze),ft.appendChild(Zt),rt||at.appendChild(ft),setTimeout(function(){Wt.resize()},1)}else{var ve=document.createElement("div");ve.className="applet_scaler",ve.style.position="relative",ve.style.display="block",ve.appendChild(Zt),at.appendChild(ve),qe.appletOnLoad=function(Ae){Wt.resize(),Mt(Ae)}}function fe(Ae,pt){pt&&typeof pt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ae,pt.appletOnLoad):renderGGBElement(Ae),nn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",pt)}function Ye(Ae,pt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ae,params:pt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(hn){fe(hn.article,hn.params)}),html5AppletsToProcess=null)},ie(le)<5&&(Ae.className+=" geogebraweb")):fe(Ae,pt)}if(Sn){scriptLoadStarted=!0;for(var Lt=0;Lt<Zt.childNodes.length;Lt++){var Fe=Zt.childNodes[Lt].tagName;Fe==="TABLE"&&(Zt.removeChild(Zt.childNodes[Lt]),Lt--)}if(ggbHTML5LoadedScript!==null){var xe=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');xe!=null&&xe.parentNode.removeChild(xe)}var nt=document.createElement("script"),Xe=function(){Ye(Zt,qe)};nt.src=Ue+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=le,ggbHTML5LoadedScript=nt.src,nn("GeoGebra HTML5 codebase loaded: '"+Ue+"'.",qe),!se&&(!Oe||Oe=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Xe()):Ue.requirejs?__webpack_require__.e(7963).then(function(){var Ae=[__webpack_require__(87963)];Xe.apply(null,Ae)}.bind(this)).catch(__webpack_require__.oe):(nt.onload=Xe,at.appendChild(nt))}else Ye(Zt,qe);qe.height=Ke,qe.width=mn},et=function(at,qe,qt){var Sn=xt(qe.width,qe.height,qe.borderColor,qt),Zt=document.createElement("div");Zt.style.position="relative",Zt.style.display="block",Zt.style.width=qe.width+"px",Zt.style.height=qe.height+"px",Zt.className="applet_screenshot applet_scaler"+(qt?" applet_screenshot_play":""),Zt.appendChild(Sn);var mn=GGBAppletUtils.getScale(qe,at,qt);qt?(at.appendChild(ut()),window.GGBT_wsf_view||(at.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Zt,"66%"),at.appendChild(Zt),mn!==1&&!isNaN(mn)&&(GGBAppletUtils.scaleElement(Zt,mn),Zt.style.width=qe.width+"px",Zt.style.height=qe.height+"px",Zt.parentNode.style.width=qe.width*mn+"px",Zt.parentNode.style.height=qe.height*mn+"px"),Wt.resize=function(){Et(at,Sn,Zt,qt)},window.addEventListener("resize",function(Ke){Wt.resize()}),Wt.resize()};function Et(at,qe,qt,Sn){if(at.contains(qe)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(at.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(at)}var Zt=GGBAppletUtils.getScale(te,at,Sn);qt.parentNode!==null&&(!isNaN(Zt)&&Zt!==1?(GGBAppletUtils.scaleElement(qt,Zt),qt.parentNode.style.width=te.width*Zt+"px",qt.parentNode.style.height=te.height*Zt+"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(at),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Wt.onExitFullscreen=function(at,qe){qe.appendChild(at)};var Ne=function(at,qe,qt,Sn){et(at,qe,!0);for(var Zt=function(){var It=[];for(Ke=0;Ke<at.childNodes.length;Ke++)It.push(at.childNodes[Ke]);if(window.GGBT_wsf_view){var Ut=window.GGBT_wsf_view.renderFullScreen(at,qe.id),Mt=document.getElementById("fullscreencontainer"),ft=jQuery(at).find(".fullscreencontent");ft.length>0?(Ut.remove(),ft.attr("id","fullscreencontent").show(),jQuery(Mt).append(ft),window.dispatchEvent(new Event("resize"))):Te(Ut,qe,!1),window.GGBT_wsf_view.launchFullScreen(Mt)}else $e=Sn,Te(at,qe,!1);if(!window.GGBT_wsf_view)for(Ke=0;Ke<It.length;Ke++)at.removeChild(It[Ke])},mn=at.getElementsByClassName("ggb_preview_play"),Ke=0;Ke<mn.length;Ke++)mn[Ke].addEventListener("click",Zt,!1),mn[Ke].addEventListener("ontouchstart",Zt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(at),pe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},ut=function(){var at=document.createElement("div");if(at.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var qe='.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=qe:qt.appendChild(document.createTextNode(qe)),document.getElementsByTagName("head")[0].appendChild(qt)}return at},xt=function(at,qe,qt,Sn){var Zt=document.createElement("div");Zt.className="ggb_preview",Zt.style.position="absolute",Zt.style.zIndex="90",Zt.style.width=at-2+"px",Zt.style.height=qe-2+"px",Zt.style.top="0px",Zt.style.left="0px",Zt.style.overflow="hidden",Zt.style.backgroundColor="white";var mn="lightgrey";qt!==void 0&&(qt==="none"?mn="transparent":mn=qt),Zt.style.border="1px solid "+mn;var Ke=document.createElement("img");if(Ke.style.position="relative",Ke.style.zIndex="1000",Ke.style.top="-1px",Ke.style.left="-1px",b!==null&&Ke.setAttribute("src",b),Ke.style.opacity=.7,E!==null){var It,Ut,Mt;if(!Sn){It=document.createElement("img"),It.style.position="absolute",It.style.zIndex="1001",It.style.opacity=1,Ke.style.opacity=.3,Ut=360,Ut>at/4*3&&(Ut=at/4*3),Mt=Ut/5.8,It.setAttribute("src",E),It.setAttribute("width",Ut),It.setAttribute("height",Mt);var ft=(at-Ut)/2,rt=(qe-Mt)/2;It.style.left=ft+"px",It.style.top=rt+"px",Zt.appendChild(It)}}return Zt.appendChild(Ke),Zt},yt=function(at){return at=at.toLowerCase(),at==="html5"||at==="screenshot"?at:"html5"},gt=["web","webSimple","web3d","tablet","tablet3d","phone"],Yt=function(at,qe){if(le=at,qe){wt(le,!0);return}var qt=!ue;if(qt){var Sn=ie(le);!isNaN(Sn)&&Sn<4.4&&(qt=!1)}var Zt,mn;window.location.protocol.substr(0,4)==="http"?Zt=window.location.protocol:Zt="http:";var Ke=le.indexOf("//");Ke>0?mn=le:Ke===0?mn=Zt+le:mn="https://www.geogebra.org/apps/5.2.814.0/";for(var It in gt)if(le.slice(gt[It].length*-1)===gt[It]||le.slice((gt[It].length+1)*-1)===gt[It]+"/"){wt(mn,!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&&!he(te.showToolBar)&&!he(te.showMenuBar)&&!he(te.showAlgebraInput)&&!he(te.enableRightClick)&&(!te.appName||te.appName=="classic")?mn+="webSimple/":mn+="web3d/",wt(mn,!1)},wt=function(at,qe){if(at.requirejs){Ue=at;return}at.slice(-1)!=="/"&&(at+="/"),Ue=at,qe===null&&(qe=at.indexOf("http")===-1),tt=qe,y="web.nocache.js",a=!1;var qt=Ue.split("/");qt.length>1&&(!qe&&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=at.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 Sn=parseFloat(le);Sn!==NaN&&Sn<5&&at.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Sn+" is deprecated. Using version latest instead."),Yt("5.0",qe))},nn=function(at,qe){window.console&&window.console.log&&(!qe||typeof qe.showLogging=="undefined"||qe.showLogging&&qe.showLogging!=="false")&&console.log(at)};te.material_id!==void 0?Ee(dn):dn();function dn(){var at=Gt;Oe!==null?at=Oe:parseFloat(at)<5&&(at="5.0"),Yt(at,!1),se!==null&&wt(se,tt),Le=!0}return Wt},GGBAppletUtils=function(){"use strict";function Wt(){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,ct,ot,Ve){var Ue=null;if(Ve!=null&&Ve!="")for(var tt=Le.parentNode;tt!=null;)if((" "+tt.className+" ").indexOf(" "+Ve+" ")>-1){Ue=tt;break}else tt=tt.parentNode;var $e=0,le=0,y=0,a=0,b=0,E=0,z=0;if(Ue)$e=Ue.offsetWidth,le=Math.max(ct?Ue.offsetWidth:0,Ue.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?($e=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),y=$e):($e=window.innerWidth,le=window.innerHeight,y=window.innerWidth),Le){var ne=Le.getBoundingClientRect();ne.left>0&&ne.left<=$e&&(ot===void 0||!ot)&&(document.dir==="rtl"?(b=$e-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<$e?$e=Oe:$e-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se===void 0||!se)&&(le-=z)),{width:$e,height:le}}function x(Le,Oe,se,ct,ot){if(Le.isScreenshoGenerator)return 1;var Ve=ct!==void 0&&ct,Ue=Le.noScaleMargin!=null&&Le.noScaleMargin,tt=function(re){return re&&re!=="false"},$e=tt(Le.autoHeight),le=te(Oe,Le.width,se,$e,Ve&&window.GGBT_wsf_view||Ue,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 ct=1,ot,Ve=!1;if(Le.hasOwnProperty("allowUpscale")&&(Ve=Le.allowUpscale),Le.hasOwnProperty("scale")&&(ct=parseFloat(Le.scale),(isNaN(ct)||ct===null||ct===0)&&(ct=1),ct>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 ct;return Ve&&(!Le.hasOwnProperty("scale")||ct===1)?ot:Math.min(ct,ot)}function Be(Le){var Oe=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),ct=Le.getBoundingClientRect(),ot=(Oe-ct.width)/2,Ve=(se-ct.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 ct=ue(Oe,Le);Wt()&&se.setAttribute("data-param-scale",ct);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 Ue=Oe.id!==void 0?Oe.id:"ggbApplet",tt=window[Ue];(tt==null||!tt.recalculateEnvironments)&&ot!==null&&!ot.className.match(/fullscreen/)&&(ot.parentNode.style.transform="",!isNaN(ct)&&ct!==1?(ot.parentNode.style.width=Oe.width*ct+"px",ot.parentNode.style.height=Oe.height*ct+"px",Gt(ot,ct)):(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:Wt,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 Wt=n.location.search;return Wt.indexOf(J)!=-1||Wt.indexOf(K)!=-1}function q(Wt,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(Wt){var Gt=s[L].bindings;s[L].bindings=function(){for(var te=Gt?Gt():{},x=Wt[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 Wt=o.createElement(Q);if(Wt.id=L,Wt.style.cssText=R+S,Wt.tabIndex=-1,o.body.appendChild(Wt),t=Wt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Gt=document.compatMode==U?V:W;t.write(Gt+X),t.close()}}}function w(Wt){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(Wt)})}webModule.__startLoadingFragment=function(Wt){return C(Wt)},webModule.__installRunAsyncCode=function(Wt){var Gt=u(),te=Gt.body,x=Gt.createElement(_);x.language=ab,x.text=Wt,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(Wt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Wt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Wt){var Gt=c[Wt];return Gt==null?null:Gt},r=d,webModule.__errFn=e}function B(){function Wt(Le){var Oe=Le.lastIndexOf(rb);Oe==-1&&(Oe=Le.length);var se=Le.indexOf(sb);se==-1&&(se=Le.length);var ct=Le.lastIndexOf(tb,Math.min(se,Oe));return ct>=O?Le.substring(O,ct+P):W}function Gt(Le){if(!Le.match(/^\w+:\/\//)){var Oe=o.createElement(ub);Oe.src=Le+vb,Le=Wt(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 Wt(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=Wt(o.location.href)),Me=Gt(Me),Me}function C(Wt){return Wt.match(/^\//)||Wt.match(/^[a-zA-Z]+:\/\//)?Wt:webModule.__moduleBase+Wt}function D(){var Wt=[],Gt=O,te=[],x=[];function ue(Le){var Oe=x[Le](),se=te[Le];if(Oe in se)return Oe;var ct=[];for(var ot in se)ct[se[ot]]=ot;throw r&&r(Le,ct,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})()},46699:function(Wt,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(346);function ue(ct){let ot=!0;if(ct.length>0){for(let Ve=0;Ve<ct.length;Ve++)if(ct[Ve].compile_success==0||!ct[Ve].compile_success){ot=!1;break}}else ot=!1;return ot}function Be(ct,ot=""){let Ve=[];for(let Ue=0;Ue<ct.length;Ue++){let tt=ct[Ue],$e=ot?`${ot}/${tt.name}`:`${tt.name}`;Ve.push({title:tt.name,type:tt.type,isLeaf:tt.type!=="tree",key:$e})}return Ve}function Me(ct,ot,Ve){for(let Ue=0;Ue<ct.length;Ue++){let tt=ct[Ue];if(tt.key===ot){tt.children=Ve;break}tt.children&&Me(tt.children,ot,Ve)}return ct}function Le(ct,ot,Ve){let Ue;return function(){let tt=this,$e=arguments,le=function(){Ue=null,Ve||ct.apply(tt,$e)},y=Ve&&!Ue;clearTimeout(Ue),Ue=setTimeout(le,ot),y&&ct.apply(tt,$e)}}const Oe=!0,se=x.Z.API_SERVER},84842:function(Wt,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,ct=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))ct.call(a,b)&&ot(y,b,a[b]);return y},Ue=(y,a)=>Me(y,Le(a)),tt=(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&&ct.call(y,E)&&(b[E]=y[E]);return b},$e=(y,a,b)=>new Promise((E,z)=>{var ne=ce=>{try{ie(b.next(ce))}catch(pe){z(pe)}},re=ce=>{try{ie(b.throw(ce))}catch(pe){z(pe)}},ie=ce=>ce.done?E(ce.value):Promise.resolve(ce.value).then(ne,re);ie((b=b.apply(y,a)).next())});const le=y=>{var a=y,{children:b}=a,E=tt(a,["children"]);const[z,ne]=(0,ue.useState)(!1);return ue.createElement(x.ZP,Ue(Ve({},E),{loading:z,onClick:re=>$e(void 0,null,function*(){try{ne(!0),yield E.onClick(re),ne(!1)}catch(ie){console.error(ie),ne(!1)}})}),b)}},50337:function(Wt,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)},38518:function(Wt,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(46722),se=Object.defineProperty,ct=Object.defineProperties,ot=Object.getOwnPropertyDescriptors,Ve=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,$e=(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={}))Ue.call(ne,re)&&$e(z,re,ne[re]);if(Ve)for(var re of Ve(ne))tt.call(ne,re)&&$e(z,re,ne[re]);return z},y=(z,ne)=>ct(z,ot(ne)),a=(z,ne,re)=>new Promise((ie,ce)=>{var pe=De=>{try{Ge(re.next(De))}catch(Qe){ce(Qe)}},Ee=De=>{try{Ge(re.throw(De))}catch(Qe){ce(Qe)}},Ge=De=>De.done?ie(De.value):Promise.resolve(De.value).then(pe,Ee);Ge((re=re.apply(z,ne)).next())}),E=({value:z,onChange:ne,scrollId:re})=>{const[ie,ce]=(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 et=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:x.createElement("img",{src:Me,className:Be.folderIcon}),isLeaf:!1,children:Ee(Te.data||[])}];ce(et)}}),Ee=Te=>Te.map(et=>({title:et.name,key:et.group_id,icon:x.createElement("img",{src:Me,className:Be.folderIcon}),isLeaf:et.children.length===0,children:Ee(et.children)})),Ge=(Te,et,Et)=>Te.map(Ne=>Ne.key===et?le(le({},Ne),Et):Ne.children?y(le({},Ne),{children:Ge(Ne.children,et,Et)}):Ne),De=(Te,et,Et)=>Te.map(Ne=>{if(Ne.key===et)return y(le({},Ne),{icon:Et?x.createElement("img",{src:Le,className:Be.folderIcon}):x.createElement("img",{src:Me,className:Be.folderIcon})});if(Ne.children)return y(le({},Ne),{children:De(Ne.children,et,Et)})}),Qe=(Te,et)=>{ce(Et=>De(Et,et.node.key,et.expanded))},he=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},he)))}},94361:function(Wt,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:ct})=>{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:ct},"\u9AD8\u6D88\u8017"))}},9507:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return Ue}});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(38986),ct=te(51257),ot=(tt,$e,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(tt,$e)).next())}),Ue=({data:tt,className:$e,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),ce=(0,x.useRef)(null),[pe,Ee]=(0,x.useState)(!1),[Ge,De]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.useEffect)(()=>{ie.current||(ie.current=document.createElement("style"),document.head.appendChild(ie.current)),tt!=null&&tt.visible?(document.body.setAttribute("data-custom","y-hidden"),ie.current.innerHTML=" html { overflow-y: hidden; }",tt!=null&&tt.src&&Qe()):(document.body.removeAttribute("data-custom"),ie.current&&(document.head.removeChild(ie.current),ie.current=null))},[tt==null?void 0:tt.visible]);const Qe=()=>ot(void 0,null,function*(){Ee(!0),De("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ne=yield(0,ct.ZJ)(tt==null?void 0:tt.src);ne.current.src="",ne.current.src=Ne,ne.current.onload=function(){Et()},Ee(!1),De("")}),he=()=>{document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",a()},Te=Ne=>ot(void 0,null,function*(){Ee(!0),De("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ut=yield(0,se.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:tt.title,file:Ne.dataUrl}});ut!=null&&ut.id&&!z?(yield(0,se.ZP)(`/api/attachments/${tt.id}/add_subitem.json`,{method:"post",body:{subitem_id:ut==null?void 0:ut.id,settings:JSON.stringify(Ne.state)}})).status===0&&b():ut!=null&&ut.id&&b(ut),document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",Ee(!1),De("")}),et=()=>{const Ne=document.querySelector('a[href="https://markerjs.com/"]');Ne&&Ne.parentNode&&(Ne.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(xt=>{const yt=document.querySelector(xt.name);yt&&yt.setAttribute("title",xt.title)})},Et=()=>{re.current=new Oe.hP(ne.current),re.current.targetRoot=ce.current,re.current.addEventListener("render",Te),re.current.addEventListener("beforeclose",he),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(),tt!=null&&tt.snapshotData&&re.current.restoreState(tt.snapshotData),setTimeout(()=>{window.scrollTo(0,0),et()},300)};return x.createElement(x.Fragment,null,(tt==null?void 0:tt.visible)&&x.createElement(Le.Z,{spinning:pe,tip:Ge,style:{position:"absolute"}},x.createElement("div",{ref:ce,className:Me()(ue.imageDimensions,$e,le?ue.fullWidth:""),style:y},x.createElement("img",{className:ue.img,ref:ne}))))}},50043:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ze},$:function(){return rt}});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),ct=te(5871),ot=te(95237),Ve=te(24905),Ue=te(38854),tt=te(54580),$e=te(3113),le=te(93948),y=te(19842),a=te(92832),b=te(5112),E=te(6848),z=te(43604),ne=te(9148),re=te(346),ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMS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igPkPzSQlVEmheg/4MSKA+O9PJ/a/QIfoKNS1Cqz/9E6OFLRQhuo0IhQa9SdCNvB63UKRoKS0UGtQnQYvZ6sxCk/D1OIke6IbG1z8T8f1Al7ZUhE+g0paK+vRpU5O+ROObmvSnTsk6gVBsKyQV+gSCEEgbe/X5o5NYgW6/u5m+Q1vr0SJ0C+gKpJdbdIkHnNMRSK+XBSwBU05VIL3giaHdhayKQHrFugsCsCX9CKRDDrCUu5jvJJCOGeki/CBK00E/QVA0WIOO2jIIP4jW8/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",Ge=te(38986),De=te(38518),Qe=te(5623),he=te(8944),Te=te(19105),et=te(17077),Et=te(15342),Ne=te.n(Et),ut=(ve,fe,Ye)=>new Promise((Lt,Fe)=>{var xe=Ae=>{try{Xe(Ye.next(Ae))}catch(pt){Fe(pt)}},nt=Ae=>{try{Xe(Ye.throw(Ae))}catch(pt){Fe(pt)}},Xe=Ae=>Ae.done?Lt(Ae.value):Promise.resolve(Ae.value).then(xe,nt);Xe((Ye=Ye.apply(ve,fe)).next())}),yt=x.memo(({tagName:ve="div",value:fe="",className:Ye,style:Lt={},onBlur:Fe,id:xe})=>{const nt=(0,x.useRef)(null);(0,x.useEffect)(()=>{if(!nt.current)return;ut(void 0,null,function*(){const pt=nt.current;pt.innerHTML="";const hn=fe==null?void 0:fe.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const $t of hn)if($t.startsWith("$$")&&$t.endsWith("$$")||$t.startsWith("`$$")&&$t.endsWith("$$`")){const Ht=$t.startsWith("`$$")?$t.slice(3,-3):$t.slice(2,-2),on=document.createElement("span");on.setAttribute("contentEditable","false"),on.setAttribute("title",$t),on.className="edu_latex",pt.appendChild(on),Ne().render(Ht,on,{throwOnError:!1})}else{const Ht=$t==null?void 0:$t.replace(/<[^>]*>/g,on=>on.startsWith("<img")?on:on.replace(/</g,"<"));pt.insertAdjacentHTML("beforeend",Ht)}})},[xe]);const Xe=()=>{var Ae,pt;if(Fe&&nt.current){const $t=nt.current.cloneNode(!0),Ht=$t.querySelectorAll("span.edu_latex");for(let on of Ht){const gn=on.getAttribute("title"),_e=document.createTextNode(gn||""),Bt=on;(pt=(Ae=Bt.parentNode)==null?void 0:Ae.replaceChild)==null||pt.call(Ae,_e,Bt)}Fe($t.innerHTML)}};return x.createElement(x.Fragment,null,x.createElement(ve,{ref:nt,contentEditable:!0,className:Ye,style:Lt,onBlur:Xe}))}),gt=te(49535),Yt=Object.defineProperty,wt=Object.defineProperties,nn=Object.getOwnPropertyDescriptors,dn=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,qt=(ve,fe,Ye)=>fe in ve?Yt(ve,fe,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):ve[fe]=Ye,Sn=(ve,fe)=>{for(var Ye in fe||(fe={}))at.call(fe,Ye)&&qt(ve,Ye,fe[Ye]);if(dn)for(var Ye of dn(fe))qe.call(fe,Ye)&&qt(ve,Ye,fe[Ye]);return ve},Zt=(ve,fe)=>wt(ve,nn(fe)),mn=(ve,fe,Ye)=>new Promise((Lt,Fe)=>{var xe=Ae=>{try{Xe(Ye.next(Ae))}catch(pt){Fe(pt)}},nt=Ae=>{try{Xe(Ye.throw(Ae))}catch(pt){Fe(pt)}},Xe=Ae=>Ae.done?Lt(Ae.value):Promise.resolve(Ae.value).then(xe,nt);Xe((Ye=Ye.apply(ve,fe)).next())});const Ke=ve=>{ve.preventDefault();let Ye=(ve.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,Ye)},It=ve=>{ve.key==="Enter"&&ve.preventDefault()},Ut=({children:ve,style:fe})=>x.createElement("div",{className:ue.leftBox,style:fe,onPaste:Ke},ve),Mt=({children:ve,style:fe,className:Ye})=>x.createElement("div",{className:Me()(ue.rightBox,Ye),style:fe,onPaste:Ke},ve),ft=({className:ve,style:fe={},width:Ye=1200,onCancel:Lt=()=>{},onSuccess:Fe=()=>{},gather:xe={},mode:nt=1,stickyTop:Xe=0,subDisciplineId:Ae=[],hideWordFeatures:pt,dataSource:hn=[],customLeftHeadNode:$t,customRightHeadNode:Ht,customLeftContent:on,hideRecognition:gn=!1,onExchange:_e,isSingleSelection:Bt=!1,underpinBackgroundStyle:Ot={},headExtraNode:ht,isRefreshItemBank:Dt=!1,okText:vn="\u786E\u5B9A\u5BFC\u5165"})=>{var yn;const[Pn,Rn]=(0,x.useState)(1),[ta,aa]=(0,x.useState)(0),[_n,Pa]=(0,x.useState)(""),[Ea,Zn]=(0,x.useState)(!1),[wa,en]=(0,x.useState)([]),[bn,Mn]=(0,x.useState)([]),[Qn,Ze]=(0,x.useState)(!1),[Nt,kt]=(0,x.useState)(!1),[Kt,tn]=(0,x.useState)(!1),[jt,fn]=(0,x.useState)(!1),[st,St]=(0,x.useState)([]),[dt,ln]=(0,x.useState)(1),[Nn,Cn]=(0,x.useState)(!1),[la,jn]=(0,x.useState)(!1),[lt,Jt]=(0,x.useState)(!0),[Jn,sn]=(0,x.useState)(0),[zn,na]=(0,x.useState)(1),[La,sa]=(0,x.useState)(""),[He,rn]=(0,x.useState)([]),[Qt,En]=(0,x.useState)(0),[In,kn]=(0,x.useState)(0),[An,Dn]=(0,x.useState)(0),[Fa,Oa]=(0,x.useState)(0),[pn,Na]=(0,x.useState)(0),[Yn]=Le.default.useForm(),[qa]=Le.default.useForm(),$a=(0,x.useRef)(null),Wn=(0,x.useRef)(null),ua=(0,x.useRef)(),fa=["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"],ra=["C","C++","Java","Python","JavaScript","Ruby"];(0,x.useEffect)(()=>{hn!=null&&hn.length&&ei(hn)},[hn]),(0,x.useEffect)(()=>{Pn===2&&$a.current.focus()},[Pn]),(0,x.useEffect)(()=>{Kt&&rr()},[Kt]);const Ua=()=>{if(Pn===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:()=>mn(void 0,null,function*(){Rn(1)})})},rr=()=>mn(void 0,null,function*(){const Ce=yield(0,Ge.ZP)("/api/disciplines.json",{method:"get",params:{source:nt===1?"new_question":"subject"}});St(Ce.disciplines||[])}),Ga=Ce=>{const un=[],xn=(Kn,an)=>{Kn.length>=2&&un.push(Kn.join(""));for(let oa=an;oa<Ce.length;oa++)Kn.push(Ce[oa]),xn(Kn,oa+1),Kn.pop()};return xn([],0),un},_a=Ce=>(Ce=Ce||"",Ce=String(Ce),Ce=Ce.replace(/\s+/g,""),Ce),lr=Ce=>(Ce=Ce||"",Ce=String(Ce),Ce=Ce.replace(/<div>/g,""),Ce=Ce.replace(/<br>/g,`
|
|
`),Ce=Ce.replace(/<\/div>/g,`
|
|
`),Ce=Ir(Ce),Ce),Vr=Ce=>Ce.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),Ir=Ce=>Ce.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"),uo=Ce=>{var un;const xn=Ce.clipboardData;if(xn){const Kn=xn.types.toString(),an=xn.items;if(Kn==="Files"||xn.types.indexOf("Files")>-1){Ce.preventDefault();try{let oa=an[1];((un=an[0])==null?void 0:un.kind)==="file"&&(oa=an[0]);const ea=oa.getAsFile();(0,et.I)(ea,Bn=>{var On;if(Bn.id){if(((On=ea==null?void 0:ea.type)==null?void 0:On.indexOf("image"))>-1){const Aa=`<img src='${re.Z.API_SERVER}${Bn.url}'>`;document.execCommand("insertText",!1,Aa)}}else(Bn==null?void 0:Bn.status)===401&&(document.location.href="/user/login")})}catch(oa){Oe.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function yr(Ce,un){return mn(this,null,function*(){if(typeof Ce=="string")return yield un(Ce);if(typeof Ce!="object"||Ce===null)return Ce;if(Array.isArray(Ce))return yield Promise.all(Ce.map(an=>mn(this,null,function*(){return yield yr(an,un)})));const xn={};for(const Kn in Ce)if(Object.prototype.hasOwnProperty.call(Ce,Kn)){const an=Ce[Kn];typeof an=="string"?xn[Kn]=yield un(an):typeof an=="object"?xn[Kn]=yield yr(an,un):xn[Kn]=an}return xn})}const Sr=()=>mn(void 0,null,function*(){var Ce;Zn(!0),Pa("\u5904\u7406\u4E2D"),yield new Promise(Kn=>setTimeout(Kn,1e3));let un=(Ce=Wn.current)==null?void 0:Ce.querySelectorAll('[data-text="edit"]'),xn="";try{un.forEach(function(Kn){var an,oa,ea,Bn;const On=Kn.cloneNode(!0),Aa=On.querySelectorAll("span.edu_latex");for(let ga of Aa){const va=ga.getAttribute("title"),Va=document.createTextNode(va),vr=ga;(oa=(an=vr.parentNode)==null?void 0:an.replaceChild)==null||oa.call(an,Va,vr)}const Xn=On.querySelectorAll("span[style]");for(let ga of Xn)if(ga.style.fontFamily){const va=ga.innerHTML,Va=document.createTextNode(va),vr=ga;(Bn=(ea=vr.parentNode)==null?void 0:ea.replaceChild)==null||Bn.call(ea,Va,vr)}On==null||On.childNodes.forEach(function(ga){ga.nodeType===Node.ELEMENT_NODE&&ga.localName!=="h5"&&ga.localName!=="h4"?xn+=`<p>${ga.innerHTML}</p>`:ga.nodeType===Node.TEXT_NODE&&(xn+=`<p>${ga.textContent}</p>`)})}),Qa("/api/intelligent_imports/import.json",{html:Ir(xn)})}catch(Kn){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",Kn)}}),Ar=Ce=>{let un=Ce.filter(xn=>!!(xn!=null&&xn.type));return un=un.map(xn=>{var Kn;const an=(Kn=Po.find(ea=>ea.id===(xn==null?void 0:xn.type)))==null?void 0:Kn.deal,oa=Zt(Sn({},xn),{id:String(Math.random()).slice(-6),knowledgePoint:_a(xn==null?void 0:xn.knowledgePoint)});return an?an(oa):oa}),un},br=()=>{if(Pn===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:Sr})},Br=()=>x.createElement("div",{className:ue.row},x.createElement("div",{className:ue.leftLayout},x.createElement(Ut,{style:{height:675}},Pn===1&&x.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>Rn(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:ce}),x.createElement("span",null,"\u7F16\u8F91\u533A"))),Pn===2&&x.createElement("div",{"data-text":"edit",onBlur:()=>{$a.current.innerHTML||Rn(1)},ref:$a,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")))),Ta=(Ce,un,xn,Kn)=>{var an;console.log(Ce,un,xn,Kn,"onDataChange\u4FEE\u6539\u6570\u503C");const oa=JSON.parse(JSON.stringify(bn));Kn===void 0?oa[un][Ce]=xn:oa[un].questions[Kn][Ce]=xn;const ea=Sn({},oa[un]),Bn=(an=Po.find(On=>On.id===(ea==null?void 0:ea.type)))==null?void 0:an.deal;oa[un]=Bn(ea),Mn(oa)},or=(Ce,un,xn)=>{var Kn;const an=xn!==void 0,oa=(Kn=Po.find(On=>On.id===(Ce==null?void 0:Ce.type)))==null?void 0:Kn.type,ea=`${un+1}.${xn===void 0?"":xn+1+"."}`,Bn=`${(Ce==null?void 0:Ce.type)==="7"?"{{":""}${ea}\u3010${oa}\u3011${(Ce==null?void 0:Ce.question)||""}`;return x.createElement(x.Fragment,null,an&&x.createElement("h4",{contentEditable:!0}),x.createElement(yt,{id:Ce==null?void 0:Ce.id,tagName:"div",value:Bn}))},Lr=(Ce,un)=>mn(void 0,null,function*(){var xn;const Kn=yield _e(Ce,un),an=(xn=Kn==null?void 0:Kn.data)==null?void 0:xn.content;if(an!=null&&an.length){const oa=Ar(an)[0];wa.splice(un,1,oa),bn.splice(un,1,oa),en([...wa]),Mn([...bn])}}),Or=(Ce,un,xn)=>{var Kn;const an=xn!==void 0,oa=(Kn=Po.find(Bn=>Bn.id===(Ce==null?void 0:Ce.type)))==null?void 0:Kn.type,ea=`${un+1}.${xn===void 0?"":xn+1+"."}`;return an?x.createElement("div",{style:{padding:"10px 18px"}},`${ea}\u3010${oa}\u3011`,x.createElement(yt,{id:Ce==null?void 0:Ce.id,tagName:"span",className:ue.edit,onBlur:Bn=>Ta("question",un,Bn,xn),value:(Ce==null?void 0:Ce.question)||""})):x.createElement(x.Fragment,null,x.createElement("div",{className:ue.actionHead},x.createElement("div",{className:"c-light-primary"},`${ea}\u3010${oa}\u3011`),nt!==1&&x.createElement(ct.Z,{disabled:(Ce==null?void 0:Ce.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:Bn=>Ta("score",un,Bn,xn),value:Ce==null?void 0:Ce.score}),x.createElement(ot.Z,{align:"middle",style:{marginLeft:"auto"}},!!_e&&x.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Lr(Ce,un)},x.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),x.createElement(Ve.default,{onChange:Bn=>Ta("checked",un,Bn.target.checked,xn),checked:!!(Ce!=null&&Ce.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),x.createElement(yt,{id:Ce==null?void 0:Ce.id,tagName:"div",style:{padding:"10px 18px"},className:ue.edit,onBlur:Bn=>Ta("question",un,Bn,xn),value:Ce==null?void 0:Ce.question}))},Cr=(Ce,un,xn)=>x.createElement(x.Fragment,null,["0","1","2","4"].includes(Ce==null?void 0:Ce.type)&&x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u7B54\u6848\uFF1A${un||""}`,tagName:"p"}),!xn&&x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u96BE\u5EA6\uFF1A${(Ce==null?void 0:Ce.difficulty)||""}`,tagName:"p"}),(Ce==null?void 0:Ce.type)!=="7"&&x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u89E3\u6790\uFF1A${(Ce==null?void 0:Ce.analyze)||""}`,tagName:"p"}),!xn&&x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(Ce==null?void 0:Ce.knowledgePoint)||""}`,tagName:"p"})),Qr=(Ce,un,xn,Kn)=>{const an=Kn!==void 0,oa=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],ea=an&&!Ce.last&&!Ce.errorMsg?{marginBottom:10}:{},Bn=oa.map(On=>({key:On,label:On,onClick:()=>Ta("difficulty",xn,On,Kn)}));return x.createElement("div",{className:ue.liWrap,style:ea},["4"].includes(Ce==null?void 0:Ce.type)&&x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),x.createElement(yt,{id:Ce==null?void 0:Ce.id,tagName:"div",className:`${ue.edit} c-black`,onBlur:On=>Ta("answer",xn,[On],Kn),value:un})),!an&&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(Ue.Z,{menu:{items:Bn}},x.createElement("span",{className:"c-light-primary"},Ce==null?void 0:Ce.difficulty,x.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(Ce==null?void 0:Ce.type)!=="7"&&x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),x.createElement(yt,{id:Ce==null?void 0:Ce.id,tagName:"div",className:`${ue.edit} c-grey-333`,onBlur:On=>Ta("analyze",xn,On,Kn),value:Ce==null?void 0:Ce.analyze})),!an&&x.createElement("div",{onKeyDown:It,className:ue.li},x.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),x.createElement(yt,{id:Ce==null?void 0:Ce.id,tagName:"div",value:(Ce==null?void 0:Ce.knowledgePoint)||"",className:`${ue.edit} c-grey-333`,onBlur:On=>Ta("knowledgePoint",xn,_a(lr(On)),Kn)})))},Hr=Ce=>x.createElement(x.Fragment,null,typeof(Ce==null?void 0:Ce.errorMsg)=="string"&&!!(Ce!=null&&Ce.errorMsg)&&x.createElement("h5",{contentEditable:!1},x.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),x.createElement("div",null,Ce==null?void 0:Ce.errorMsg))),Xa=Ce=>x.createElement(x.Fragment,null,typeof(Ce==null?void 0:Ce.errorMsg)=="string"&&!!(Ce!=null&&Ce.errorMsg)&&x.createElement("h5",null,x.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),x.createElement("div",null,Ce==null?void 0:Ce.errorMsg))),wr=(Ce,un,xn,Kn)=>{let an="flex";return(Bt&&Jn!==Kn||Qn&&!(xn!=null&&xn.errorMsg))&&(an="none"),x.createElement("div",{className:ue.row,style:{display:an}},x.createElement("div",{className:ue.leftLayout},on||x.createElement(Ut,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},Ce))),x.createElement("div",{className:ue.rightLayout},x.createElement(Mt,{className:xn!=null&&xn.errorMsg?ue.error:""},un)))},Po=[{id:"0",type:"\u5355\u9009\u9898",element:(Ce,un,xn)=>{var Kn,an;const oa=xn!==void 0;let ea=(Kn=Ce==null?void 0:Ce.answer)==null?void 0:Kn[0];const Bn=x.createElement(x.Fragment,null,or(Ce,un,xn),(an=Ce==null?void 0:Ce.options)==null?void 0:an.map((ga,va)=>x.createElement(yt,{id:Ce==null?void 0:Ce.id,key:va,value:`${fa[va]}.${ga}`,tagName:"p"})),Cr(Ce,ea,oa),Hr(Ce));let On=oa?Ce:bn[un];const Aa=On==null?void 0:On.options,Xn=x.createElement(x.Fragment,null,Or(On,un,xn),Aa==null?void 0:Aa.map((ga,va)=>{var Va;return x.createElement("div",{key:va,className:ue.option},x.createElement("aside",{className:((Va=On==null?void 0:On.answer)==null?void 0:Va[0])===fa[va]?ue.active:"",onClick:()=>Ta("answer",un,[fa[va]],xn)},fa[va]),x.createElement(yt,{id:On==null?void 0:On.id,tagName:"div",className:`${ue.text}`,onBlur:vr=>{Aa[va]=vr,Ta("options",un,Aa,xn)},value:ga}))}),Qr(On,"",un,xn),Xa(On));return oa?[Bn,Xn]:wr(Bn,Xn,On,un)},deal:Ce=>{var un,xn,Kn;Ce.score=Ce.score===void 0?2:Ce.score;let an=_a((un=Ce==null?void 0:Ce.answer)==null?void 0:un[0]).toUpperCase();Ce.answer=an?[an]:[];let oa=[];if(!(Ce!=null&&Ce.options))oa.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{Ce.options=(xn=Ce.options)==null?void 0:xn.slice(0,8);const ea=Ce.options.map(On=>On==null?void 0:On.trim().replace(/^\s+|\s+$/g,""));new Set(ea).size!==ea.length&&oa.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return an||oa.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),an&&(fa.slice(0,((Kn=Ce==null?void 0:Ce.options)==null?void 0:Kn.length)||8).includes(an)||oa.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")),_a(Ce==null?void 0:Ce.question)||oa.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ce.errorMsg=oa.join(`
|
|
`),Ce}},{id:"1",type:"\u591A\u9009\u9898",element:(Ce,un,xn)=>{var Kn,an;const oa=xn!==void 0;let ea=(Kn=Ce==null?void 0:Ce.answer)==null?void 0:Kn[0];const Bn=x.createElement(x.Fragment,null,or(Ce,un,xn),(an=Ce==null?void 0:Ce.options)==null?void 0:an.map((ga,va)=>x.createElement(yt,{id:Ce==null?void 0:Ce.id,key:va,value:`${fa[va]}.${ga}`,tagName:"p"})),Cr(Ce,ea,oa),Hr(Ce));let On=oa?Ce:bn[un];const Aa=On==null?void 0:On.options,Xn=x.createElement(x.Fragment,null,Or(On,un,xn),Aa==null?void 0:Aa.map((ga,va)=>{var Va,vr;return x.createElement("div",{key:va,className:ue.option},x.createElement("aside",{className:(vr=(Va=On==null?void 0:On.answer)==null?void 0:Va[0])!=null&&vr.includes(fa[va])?ue.active:"",onClick:()=>{var zr;let kr=((zr=On==null?void 0:On.answer)==null?void 0:zr[0])||"";const mo=fa[va];kr.includes(mo)?kr=kr.replace(new RegExp(mo,"g"),""):kr+=mo,kr=kr.split("").sort().join(""),Ta("answer",un,[kr],xn)}},fa[va]),x.createElement(yt,{id:On==null?void 0:On.id,tagName:"div",className:`${ue.text}`,onBlur:zr=>{Aa[va]=zr,Ta("options",un,Aa,xn)},value:ga}))}),Qr(On,"",un,xn),Xa(On));return oa?[Bn,Xn]:wr(Bn,Xn,On,un)},deal:Ce=>{var un,xn,Kn;Ce.score=Ce.score===void 0?2:Ce.score;let an=_a((un=Ce==null?void 0:Ce.answer)==null?void 0:un[0]).toUpperCase().split("").sort().join("");Ce.answer=an?[an]:[];let oa=[];if(!(Ce!=null&&Ce.options))oa.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{Ce.options=(xn=Ce.options)==null?void 0:xn.slice(0,8);const ea=Ce.options.map(On=>On==null?void 0:On.trim().replace(/^\s+|\s+$/g,""));new Set(ea).size!==ea.length&&oa.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(an||oa.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),an){const ea=fa.slice(0,((Kn=Ce==null?void 0:Ce.options)==null?void 0:Kn.length)||8);Ga(ea).includes(an)||oa.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 _a(Ce==null?void 0:Ce.question)||oa.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ce.errorMsg=oa.join(`
|
|
`),Ce}},{id:"2",type:"\u5224\u65AD\u9898",element:(Ce,un,xn)=>{var Kn,an;const oa=xn!==void 0;let ea=(Kn=Ce==null?void 0:Ce.answer)==null?void 0:Kn[0];const Bn=x.createElement(x.Fragment,null,or(Ce,un,xn),Cr(Ce,ea,oa),Hr(Ce));let On=oa?Ce:bn[un];const Aa=["\u6B63\u786E","\u9519\u8BEF"];let Xn=((an=On==null?void 0:On.answer)==null?void 0:an[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(Xn)?Xn="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(Xn)&&(Xn="\u9519\u8BEF");const ga=x.createElement(x.Fragment,null,Or(On,un,xn),Aa==null?void 0:Aa.map((va,Va)=>x.createElement("div",{key:Va,className:ue.option},x.createElement("aside",{style:{borderRadius:2},className:Xn===va?ue.active:"",onClick:()=>Ta("answer",un,[va],xn)},va==="\u6B63\u786E"?"T":"F"),x.createElement("div",{style:{pointerEvents:"none"},className:`${ue.text}`},va))),Qr(On,"",un,xn),Xa(On));return oa?[Bn,ga]:wr(Bn,ga,On,un)},deal:Ce=>{var un;Ce.score=Ce.score===void 0?2:Ce.score;let xn=_a((un=Ce==null?void 0:Ce.answer)==null?void 0:un[0]);Ce.answer=xn?[xn]:[];let Kn=[];return xn||Kn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),xn&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(xn)&&Kn.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"),_a(Ce==null?void 0:Ce.question)||Kn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ce.errorMsg=Kn.join(`
|
|
`),Ce}},{id:"3",type:"\u586B\u7A7A\u9898",element:(Ce,un,xn)=>{var Kn,an;const oa=xn!==void 0,ea=x.createElement(x.Fragment,null,or(Ce,un,xn),(Kn=Ce==null?void 0:Ce.answer)==null?void 0:Kn.map((Aa,Xn)=>x.createElement(yt,{id:Ce==null?void 0:Ce.id,key:Xn,tagName:"p",value:`\u7B54\u6848${Xn+1}\uFF1A${Aa.text||""}`})),Cr(Ce,"",oa),Hr(Ce));let Bn=oa?Ce:bn[un];const On=x.createElement(x.Fragment,null,Or(Bn,un,xn),(an=Bn==null?void 0:Bn.answer)==null?void 0:an.map((Aa,Xn)=>x.createElement("div",{key:Xn,className:ue.option},x.createElement("aside",{className:ue.fill},"\u586B\u7A7A\u9879",Xn+1),Aa.model===1&&x.createElement(yt,{id:Bn==null?void 0:Bn.id,tagName:"div",onBlur:ga=>{Bn.answer[Xn].latex=lr(ga),Ta("answer",un,Bn.answer,xn)},className:`${ue.text}`,value:Aa.latex}),Aa.model===2&&x.createElement(Te.Z,{value:Aa.latex,onChange:ga=>{Bn.answer[Xn].latex=ga,Ta("answer",un,Bn.answer,xn)}}))),Qr(Bn,"",un,xn),Xa(Bn));return oa?[ea,On]:wr(ea,On,Bn,un)},deal:Ce=>{var un,xn,Kn,an;Ce.score=Ce.score===void 0?2:Ce.score,Ce.question=(un=Ce.question)==null?void 0:un.replaceAll("\u2581","_");const oa=(xn=Ce.answer)==null?void 0:xn.map(Bn=>{if(Object.prototype.toString.call(Bn)==="[object Object]")return Bn;const On={model:1,text:Bn,latex:Bn};return Bn.startsWith("$$")&&Bn.endsWith("$$")||Bn.startsWith("`$$")&&Bn.endsWith("$$`")?(On.model=2,On.latex=Bn.slice(2,-2)):On.latex=lr(Bn),On});Ce.answer=oa;let ea=[];return oa||ea.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),_a(Ce==null?void 0:Ce.question)?Ce!=null&&Ce.question.includes("_")?(Kn=Ce==null?void 0:Ce.answer)!=null&&Kn.length&&((Ce==null?void 0:Ce.question.match(/_+/g))||[]).length!==((an=Ce==null?void 0:Ce.answer)==null?void 0:an.length)&&ea.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):ea.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):ea.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ce.errorMsg=ea.join(`
|
|
`),Ce}},{id:"4",type:"\u7B80\u7B54\u9898",element:(Ce,un,xn)=>{var Kn,an;const oa=xn!==void 0;let ea=(Kn=Ce==null?void 0:Ce.answer)==null?void 0:Kn[0];const Bn=x.createElement(x.Fragment,null,or(Ce,un,xn),Cr(Ce,ea,oa),Hr(Ce));let On=oa?Ce:bn[un];const Aa=x.createElement(x.Fragment,null,Or(On,un,xn),Qr(On,(an=On==null?void 0:On.answer)==null?void 0:an[0],un,xn),Xa(On));return oa?[Bn,Aa]:wr(Bn,Aa,On,un)},deal:Ce=>{Ce.score=Ce.score===void 0?5:Ce.score;let un=[];return _a(Ce==null?void 0:Ce.question)||un.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ce.errorMsg=un.join(`
|
|
`),Ce}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(Ce,un)=>{var xn,Kn;const an=bn[un],oa=ra.slice(0,4).map(ea=>({key:ea,label:ea,onClick:()=>Ta("platform",un,ea)}));return x.createElement("div",{className:ue.row,style:{display:Qn?an!=null&&an.errorMsg?"flex":"none":"flex"}},x.createElement("div",{className:ue.leftLayout},x.createElement(Ut,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},or(Ce,un),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(Ce==null?void 0:Ce.description)||""}`,tagName:"p"}),Cr(Ce),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${Ce==null?void 0:Ce.timeLimit}`,tagName:"p"}),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(Ce==null?void 0:Ce.platform)||""}`,tagName:"p"}),x.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),x.createElement("h4",null),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:(Ce==null?void 0:Ce.code)||"",tagName:"div"}),(xn=Ce==null?void 0:Ce.inputs)==null?void 0:xn.map((ea,Bn)=>{var On;return x.createElement(x.Fragment,{key:Bn},x.createElement("h4",null),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${Bn+1})\u8F93\u5165\uFF1A${ea||""}`,tagName:"div"}),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${Bn+1})\u8F93\u51FA\uFF1A${((On=Ce==null?void 0:Ce.outputs)==null?void 0:On[Bn])||""}`,tagName:"div"}))}),Hr(Ce)))),x.createElement("div",{className:ue.rightLayout},x.createElement(Mt,{className:an!=null&&an.errorMsg?ue.error:""},Or(an,un),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:an==null?void 0:an.id,value:an==null?void 0:an.description,tagName:"div",onBlur:ea=>Ta("description",un,ea)}))),Qr(an,"",un),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:an==null?void 0:an.id,value:an==null?void 0:an.timeLimit,tagName:"div",onBlur:ea=>Ta("timeLimit",un,lr(ea))})),x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),x.createElement("div",{className:"c-black"},x.createElement(Ue.Z,{menu:{items:oa}},x.createElement("span",{className:"c-light-primary"},an==null?void 0:an.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:an==null?void 0:an.id,value:(an==null?void 0:an.code)||"",onBlur:ea=>Ta("code",un,lr(ea)),tagName:"div"}))),(Kn=an==null?void 0:an.inputs)==null?void 0:Kn.map((ea,Bn)=>{var On;return x.createElement("div",{className:ue.liWrap,key:Bn},x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",Bn+1,")\u8F93\u5165\uFF1A"),x.createElement(yt,{id:an==null?void 0:an.id,value:ea||"",className:ue.edit,onBlur:Aa=>{const Xn=[...(an==null?void 0:an.inputs)||[]];Xn[Bn]=lr(Aa),Ta("inputs",un,Xn)},tagName:"div"})),x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",Bn+1,")\u8F93\u51FA\uFF1A"),x.createElement(yt,{id:an==null?void 0:an.id,value:((On=an==null?void 0:an.outputs)==null?void 0:On[Bn])||"",className:ue.edit,onBlur:Aa=>{const Xn=[...(an==null?void 0:an.outputs)||[]];Xn[Bn]=lr(Aa),Ta("outputs",un,Xn)},tagName:"div"})))}),Xa(an))))},deal:Ce=>{var un,xn,Kn;Ce.score=Ce.score===void 0?10:Ce.score,Ce.code=(un=Ce.code)==null?void 0:un.trim();let an=[];_a(Ce==null?void 0:Ce.question)?((xn=Ce==null?void 0:Ce.question)==null?void 0:xn.length)>60&&an.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):an.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),_a(Ce==null?void 0:Ce.description)||an.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const oa=_a(String((Ce==null?void 0:Ce.timeLimit)||""));if(Ce.timeLimit=oa,(!oa||oa&&!["3","4","5","6","7","8","9","10"].includes(oa))&&an.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),Ce.platform=_a(Ce==null?void 0:Ce.platform),Ce!=null&&Ce.platform){const ea=["c","c++","java","python"],Bn=(Kn=Ce==null?void 0:Ce.platform)==null?void 0:Kn.toLowerCase(),On=ea.findIndex(Aa=>Aa===Bn);On>-1?Ce.platform=ra[On]:an.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else an.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(Ce!=null&&Ce.inputs)||!(Ce!=null&&Ce.outputs))Ce.inputs=[],Ce.outputs=[],an.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 ea=Math.min(Ce.inputs.length,Ce.outputs.length);Ce.inputs=Ce.inputs.slice(0,ea),Ce.outputs=Ce.outputs.slice(0,ea),Ce.outputs.some(Bn=>!_a(Bn))&&an.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return Ce.errorMsg=an.join(`
|
|
`),Ce}},{id:"7",type:"\u7EC4\u5408\u9898",element:(Ce,un)=>{var xn,Kn;const an=bn[un];return x.createElement("div",{className:ue.row,style:{display:Qn?an!=null&&an.errorMsg?"flex":"none":"flex"}},x.createElement("div",{className:ue.leftLayout},x.createElement(Ut,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},or(Ce,un),Cr(Ce),(xn=Ce==null?void 0:Ce.questions)==null?void 0:xn.map((oa,ea)=>{var Bn;const On=(Bn=Po.find(Aa=>Aa.id===(oa==null?void 0:oa.type)))==null?void 0:Bn.element;return x.createElement(x.Fragment,{key:`left-${Ce.id}-${ea}`},On(oa,un,ea)[0])}),Hr(Ce),x.createElement("p",{contentEditable:!0},"}}")))),x.createElement("div",{className:ue.rightLayout},x.createElement(Mt,{className:an!=null&&an.errorMsg?ue.error:""},Or(an,un),Qr(an,"",un),(Kn=an==null?void 0:an.questions)==null?void 0:Kn.map((oa,ea)=>{var Bn;const On=(Bn=Po.find(Aa=>Aa.id===(oa==null?void 0:oa.type)))==null?void 0:Bn.element;return x.createElement(x.Fragment,{key:`right-${an.id}-${ea}`},On(oa,un,ea)[1])}),Xa(an))))},deal:Ce=>{var un,xn,Kn,an,oa;const ea=Ar,Bn=[...Po],On=Bn.findIndex(va=>va.id==="0"),Aa=Bn.findIndex(va=>va.id==="1");if(On!==-1){const va=Bn[On].deal;Bn[On].deal=Va=>{const vr=va(Va);return vr.errorMsg&&(vr.errorMsg=vr.errorMsg.split(`
|
|
`).filter(zr=>zr!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
|
|
`)),vr}}if(Aa!==-1){const va=Bn[Aa].deal;Bn[Aa].deal=Va=>{const vr=va(Va);return vr.errorMsg&&(vr.errorMsg=vr.errorMsg.split(`
|
|
`).filter(zr=>zr!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
|
|
`)),vr}}Ce.questions=(un=Ce.questions)!=null&&un.length?Ar(Ce.questions.slice(0,20)):[],Ce.questions=(xn=Ce.questions)==null?void 0:xn.map((va,Va)=>{var vr;if(va.type==="0"||va.type==="1"){const zr=(vr=va.options)==null?void 0:vr.map(kr=>kr==null?void 0:kr.trim().replace(/^\s+|\s+$/g,""));zr&&new Set(zr).size!==zr.length&&(va.errorMsg=(va.errorMsg?va.errorMsg+`
|
|
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Zt(Sn({},va),{last:Va===Ce.questions.length-1})});const Xn=(Kn=Ce.questions)==null?void 0:Kn.reduce((va,Va)=>{const vr=parseFloat(Va.score);return isNaN(vr)?va:va+vr},0);Ce.score=Xn;let ga=[];return(an=Ce.questions)!=null&&an.length?Ce.errorMsg=((oa=Ce.questions)==null?void 0:oa.findIndex(va=>!!va.errorMsg))>-1:ga.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),_a(Ce==null?void 0:Ce.question)||ga.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),ga.length&&(Ce.errorMsg=ga.join(`
|
|
`)),Ce}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(Ce,un)=>{var xn,Kn;const an=bn[un],oa=ra.map(ea=>({key:ea,label:ea,onClick:()=>Ta("platform",un,ea)}));return x.createElement("div",{className:ue.row,style:{display:Qn?an!=null&&an.errorMsg?"flex":"none":"flex"}},x.createElement("div",{className:ue.leftLayout},x.createElement(Ut,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},or(Ce,un),Cr(Ce),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${Ce==null?void 0:Ce.timeLimit}`,tagName:"p"}),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(Ce==null?void 0:Ce.platform)||""}`,tagName:"p"}),x.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),x.createElement("h4",null),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:(Ce==null?void 0:Ce.code)||"",tagName:"div"}),x.createElement("h4",null),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(Ce==null?void 0:Ce.input)||""}`,tagName:"p"}),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(Ce==null?void 0:Ce.output)||""}`,tagName:"p"}),(xn=Ce==null?void 0:Ce.answer)==null?void 0:xn.map((ea,Bn)=>x.createElement(yt,{key:Bn,id:Ce==null?void 0:Ce.id,value:`\u7B54\u6848${Bn+1}\uFF1A${ea||""}`,tagName:"p"})),Hr(Ce)))),x.createElement("div",{className:ue.rightLayout},x.createElement(Mt,{className:an!=null&&an.errorMsg?ue.error:""},Or(an,un),Qr(an,"",un),x.createElement("div",{className:ue.liWrap},x.createElement("div",{className:ue.li,onKeyDown:It},x.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),x.createElement(yt,{className:ue.edit,id:an==null?void 0:an.id,value:an==null?void 0:an.timeLimit,tagName:"div",onBlur:ea=>Ta("timeLimit",un,lr(ea))})),x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),x.createElement("div",{className:"c-black"},x.createElement(Ue.Z,{menu:{items:oa}},x.createElement("span",{className:"c-light-primary"},an==null?void 0:an.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:an==null?void 0:an.id,value:(an==null?void 0:an.code)||"",onBlur:ea=>Ta("code",un,lr(ea)),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:an==null?void 0:an.id,value:(an==null?void 0:an.input)||"",onBlur:ea=>Ta("input",un,lr(ea)),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:an==null?void 0:an.id,value:(an==null?void 0:an.output)||"",onBlur:ea=>Ta("output",un,lr(ea)),tagName:"div"}))),x.createElement("div",{className:ue.liWrap},(Kn=an==null?void 0:an.answer)==null?void 0:Kn.map((ea,Bn)=>x.createElement("div",{className:ue.li,key:Bn},x.createElement("aside",null,"\u7B54\u6848",Bn+1,"\uFF1A"),x.createElement(yt,{id:an==null?void 0:an.id,value:ea||"",className:ue.edit,onBlur:On=>{const Aa=[...(an==null?void 0:an.answer)||[]];Aa[Bn]=lr(On),Ta("output",un,Aa)},tagName:"div"})))),Xa(an))))},deal:Ce=>{var un,xn,Kn,an,oa,ea,Bn,On;Ce.score=Ce.score===void 0?10:Ce.score,Ce.code=(Kn=(xn=(un=Ce.code)==null?void 0:un.trim())==null?void 0:xn.replace(/@_@/g,"@\u2581@"))==null?void 0:Kn.replace(/@__@/g,"@\u2581\u2581@");let Aa=[];if(_a(Ce==null?void 0:Ce.question)||Aa.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),_a(Ce==null?void 0:Ce.code)?/@▁@|@▁▁@/.test(Ce==null?void 0:Ce.code)?(an=Ce==null?void 0:Ce.answer)!=null&&an.length&&((oa=Ce==null?void 0:Ce.code.match(/@▁@|@▁▁@/g))==null?void 0:oa.length)!==((ea=Ce==null?void 0:Ce.answer)==null?void 0:ea.length)&&Aa.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Aa.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"):Aa.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),Ce!=null&&Ce.answer?(Bn=Ce.answer)!=null&&Bn.some(ga=>!_a(ga))&&Aa.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):Aa.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),Ce.platform=_a(Ce==null?void 0:Ce.platform),Ce!=null&&Ce.platform){const ga=["c","c++","java","python","javascript","ruby"],va=(On=Ce==null?void 0:Ce.platform)==null?void 0:On.toLowerCase(),Va=ga.findIndex(vr=>vr===va);Va>-1?Ce.platform=ra[Va]:Aa.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else Aa.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");_a(Ce==null?void 0:Ce.output)||Aa.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const Xn=_a(String((Ce==null?void 0:Ce.timeLimit)||""));return Ce.timeLimit=Xn,(!Xn||Xn&&!["3","4","5","6","7","8","9","10"].includes(Xn))&&Aa.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),Ce.errorMsg=Aa.join(`
|
|
`),Ce}}],Qo=()=>x.createElement(x.Fragment,null,wa.filter(Ce=>{var un;return!!((un=Po.find(Kn=>Kn.id===(Ce==null?void 0:Ce.type)))==null?void 0:un.element)}).map((Ce,un)=>{var xn;const Kn=(xn=Po.find(an=>an.id===(Ce==null?void 0:Ce.type)))==null?void 0:xn.element;return x.createElement(x.Fragment,{key:Ce.id},Kn(Ce,un))})),Ho=()=>mn(void 0,null,function*(){const Ce=bn.filter(un=>!un.checked);if(Pn!==3||!Ce.length){Oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}Yn.setFieldsValue({sub_discipline_id:Ae}),tn(!0)}),ei=Ce=>mn(void 0,null,function*(){const un=Ar(Ce);en(un),Mn(JSON.parse(JSON.stringify(un))),Rn(3),Zn(!1),Cn(!1),Ze(!1)});(0,x.useEffect)(()=>{if(lt)return;const Ce=()=>{aa(un=>un>=90?(clearInterval(ua.current),90):un+1)};return ua.current=setInterval(Ce,5e4/90),()=>clearInterval(ua.current)},[lt]);const Qa=(Ce,un)=>{Jt(!1);const xn=new FormData;Object.keys(un).forEach(an=>{xn.append(an,un[an])});const Kn=new window.XMLHttpRequest;Kn.withCredentials=!0,Kn.addEventListener("load",function(an){return mn(this,null,function*(){var oa,ea;try{const Bn=JSON.parse((oa=an==null?void 0:an.target)==null?void 0:oa.response);if(Jt(!0),aa(100),yield new Promise(On=>setTimeout(()=>On(),780)),Bn.status===0){if(!((ea=Bn==null?void 0:Bn.data)!=null&&ea.length)){Oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),Zn(!1);return}ei((Bn==null?void 0:Bn.data)||[])}else Zn(!1),Oe.ZP.warning(Bn==null?void 0:Bn.message)}catch(Bn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",Bn)}})}),Kn.addEventListener("error",()=>{Zn(!1)}),Kn.open("POST",`${re.Z.API_SERVER}${Ce}`),Kn.send(xn)},pa=Ce=>mn(void 0,null,function*(){const un=Ce.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(un)==-1?(Oe.ZP.error(`${Ce.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()):(Zn(!0),Pa("\u5904\u7406\u4E2D"),Qa("/api/intelligent_imports/import.json",{file:Ce}),Promise.reject())}),Tn=Ce=>mn(void 0,null,function*(){const un=Ce.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(un)==-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()):Ce.size/1024/1024>200?(Oe.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(He!=null&&He.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:()=>rn([Ce])}):rn([Ce]),Promise.reject())});let Ba=[{key:1,label:x.createElement(tt.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:pa},x.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];const gr=[bn.length,(yn=bn.filter(Ce=>!!(Ce!=null&&Ce.errorMsg)))==null?void 0:yn.length];return x.createElement("div",{className:Me()(ue.intelligentBox,"intelligent-body-curb",ve),style:Zt(Sn({},fe),{width:Ye}),ref:Wn},x.createElement("div",{className:ue.underpin},x.createElement("b",{style:Ot}),x.createElement("b",{style:Ot})),x.createElement("div",{className:ue.head,style:{top:Xe}},x.createElement("div",{className:ue.leftLayout},$t||x.createElement(x.Fragment,null,x.createElement(ot.Z,{align:"middle"},x.createElement("div",{className:ue.title},"\u8BD5\u9898\u7F16\u8F91"),!pt&&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:Ua,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!pt&&x.createElement(Ue.Z,{overlayClassName:ue.menu,menu:{items:Ba}},x.createElement(ne.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!ht&&ht),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"}},Ht||x.createElement(x.Fragment,null,x.createElement("div",{className:ue.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Pn)&&x.createElement(Ve.default,{className:"ml20",checked:Qn,onChange:Ce=>Ze(Ce.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Pn)&&x.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",x.createElement("span",{className:"ml5 mr5 c-light-primary"},gr[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",x.createElement("span",{className:"ml5 mr5 c-red-e53"},gr[1]),"\u9898")),Bt&&x.createElement("div",{className:ue.tabs},wa==null?void 0:wa.map((Ce,un)=>x.createElement("div",{onClick:()=>{sn(un)},className:Jn===un&&ue.active,key:un},"\u65B0\u9898",un+1)))),x.createElement("div",{className:ue.centerBox},x.createElement("img",{className:"mb10",src:Ee,width:56}),!gn&&x.createElement(ne.op,{onClick:br},"\u8BC6\u522B"))),[1,2].includes(Pn)&&Br(),[3].includes(Pn)&&Qo(),x.createElement("div",{className:"pb10"}),x.createElement("div",{className:ue.buttonFixed},x.createElement("div",{className:ue.buttonWrap},x.createElement($e.ZP,{size:"middle",className:`${ue.button} mr20`,onClick:Lt},"\u53D6\u6D88"),x.createElement($e.ZP,{size:"middle",type:"primary",className:`${ue.button}`,onClick:Ho},vn))),x.createElement(se.default,{centered:!0,closable:!1,destroyOnClose:!0,open:Ea,title:null,footer:null,width:320,afterClose:()=>aa(0)},x.createElement(ot.Z,{align:"middle",style:{flexDirection:"column"}},x.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},_n,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:ta}),x.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",x.createElement("span",{className:"ml5 c-light-primary"},ta,"%")))),x.createElement(se.default,{centered:!0,open:Kt,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:Nt,width:480,onCancel:()=>tn(!1),onOk:()=>Yn.submit(),afterClose:()=>{Yn.resetFields()}},x.createElement(Le.default,{style:{maxHeight:550},form:Yn,layout:"horizontal",colon:!1,size:"large",onFinish:Ce=>mn(void 0,null,function*(){var un,xn,Kn,an,oa;const ea=bn.filter(Aa=>!Aa.checked&&!Aa.errorMsg);kt(!0);const Bn=()=>mn(void 0,null,function*(){var Aa,Xn;const ga=yield(0,Ge.ZP)("/api/intelligent_imports/save.json",{method:"post",body:Zt(Sn(Sn({},xe),Ce),{list:ea,mode:nt})});ga.status===0&&(Dt&&((Aa=ga==null?void 0:ga.data)!=null&&Aa.success)&&window.location.pathname==="/problemset"&&(gt.Z.publish("refresh-item-bank",Ce.group_id),yield new Promise(va=>setTimeout(()=>va(),1500))),Oe.ZP.success(`\u6210\u529F\u5BFC\u5165${(Xn=ga==null?void 0:ga.data)==null?void 0:Xn.success}\u9053\u8BD5\u9898`,3),Fe(),tn(!1)),kt(!1)});if(nt!==1){yield Bn();return}const On=yield(0,Ge.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:bn,mode:nt}});if(On.status===0){if(!((un=On==null?void 0:On.data)!=null&&un.error_size)){yield Bn();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"},(xn=On==null?void 0:On.data)==null?void 0:xn.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",x.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(Kn=On==null?void 0:On.data)==null?void 0:Kn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",x.createElement("span",{className:"ml5 mr5"},(oa=(an=On==null?void 0:On.data)==null?void 0:an.index)==null?void 0:oa.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:Bn})}})},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:st})),nt===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:()=>fn(!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(De.Z,{key:dt})))),x.createElement(se.default,{centered:!0,open:jt,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:la,onCancel:()=>fn(!1),onOk:()=>qa.submit(),afterClose:()=>{qa.resetFields()}},x.createElement(Le.default,{style:{maxHeight:550},form:qa,layout:"horizontal",colon:!1,size:"large",onFinish:Ce=>mn(void 0,null,function*(){var un;jn(!0),(yield(0,Ge.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:Ce.name,parent_id:(un=Ce==null?void 0:Ce.parent_id)==null?void 0:un[0]}})).status===0?(ln(dt+1),setTimeout(()=>{Oe.ZP.success("\u64CD\u4F5C\u6210\u529F"),fn(!1),jn(!1)},1e3)):jn(!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(De.Z,null)))),x.createElement(se.default,{centered:!0,open:Nn,title:"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898",width:814,okText:"\u751F\u6210\u8BD5\u9898",onCancel:()=>Cn(!1),onOk:()=>{if(zn===1&&!_a(La)){Oe.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(zn===2&&!_a(La)&&!(He!=null&&He.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 Ce=[{name:"\u5355\u9009\u9898",num:Qt||0},{name:"\u591A\u9009\u9898",num:In||0},{name:"\u5224\u65AD\u9898",num:An||0},{name:"\u586B\u7A7A\u9898",num:Fa||0},{name:"\u7B80\u7B54\u9898",num:pn||0}];if(Ce.reduce((Kn,an)=>Kn+an.num,0)===0){Oe.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}console.log(zn,Qt,In),Zn(!0),Pa("\u5904\u7406\u4E2D");const xn={type:zn,query:La,item_types:JSON.stringify(Ce)};zn===2&&(xn.file=(He==null?void 0:He[0])||null),Qa("/api/intelligent_imports/large_model_intelligent_qa.json",xn)}},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:zn,onChange:Ce=>na(Ce.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:La,placeholder:zn===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:Ce=>{sa(Ce.target.value)}}),zn===2&&x.createElement(x.Fragment,null,x.createElement(tt.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:He,beforeUpload:Tn,className:"mb20",onRemove:()=>rn([])},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(ct.Z,{min:0,max:10,value:Qt,onChange:En,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u591A\u9009\u9898"),x.createElement(ct.Z,{min:0,max:10,value:In,onChange:kn,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u5224\u65AD\u9898"),x.createElement(ct.Z,{min:0,max:10,value:An,onChange:Dn,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u586B\u7A7A\u9898"),x.createElement(ct.Z,{min:0,max:10,value:Fa,onChange:Oa,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u7B80\u7B54\u9898"),x.createElement(ct.Z,{min:0,max:10,value:pn,onChange:Na,style:{marginLeft:"8px"}}))))))},rt=ie;var ze=ft},19105:function(Wt,Gt,te){"use strict";var x=te(59301),ue=te(99587),Be=te(48136),Me=te(76562),Le=te(43418),Oe=te(59301);const se=(0,x.forwardRef)(({callback:ct,width:ot,onChange:Ve,disabled:Ue,readOnly:tt,type:$e="",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),[ce,pe]=(0,x.useState)(!1),Ee=()=>{var he=document.createElement("div");he.innerHTML=b.current.getValue();var Te=he.innerText;return ct&&ct(Te),Te};(0,x.useImperativeHandle)(a,()=>({getData:Ee}));const Ge=he=>{he.preventDefault();const Te=he.clientX-z,et=he.clientY-re;document.body.onmousemove=Et=>{let Ne=Et.clientX-Te,ut=Et.clientY-et;const xt=document.getElementsByClassName("markdown-popup-form")[0],yt=window.innerWidth-xt.offsetWidth,gt=window.innerHeight-xt.offsetHeight;Ne=Math.max(0,Math.min(Ne,yt)),ut=Math.max(0,Math.min(ut,gt)),De(Et.clientX,Et.clientY,Te,et)&&(ne(Ne),ie(ut))},document.body.onmouseup=function(){document.body.onmousemove=null}},De=(he,Te,et,Et)=>{const Ne=document.body.clientHeight,ut=document.body.clientWidth;return he<20&&et>he||he>ut-20&&et<he||Te<20&&Et>Te||Te>Ne-20&&Et<Te?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,x.useEffect)(()=>{ce&&setTimeout(()=>{const he=document.getElementsByClassName("markdown-popup-form")[0],Te=window.innerWidth/2-he.offsetWidth/2,et=window.innerHeight/2-he.offsetHeight/2;ne(Te),ie(et)},0)},[ce]);const Qe=()=>{Ue||tt||pe(!0)};return Oe.createElement("div",{style:y},Oe.createElement("div",{style:{width:ot||"100%",position:"relative"},className:`${ue.Z.mathFillWrap} ${Ue||tt?"cursorDefault":""}`,onClick:()=>Qe()},Oe.createElement("math-field",{disabled:Ue,locale:"zh_cn",class:`${ue.Z.mathField} ${$e}`,readOnly:tt,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:ce,onOk:()=>{const he=E.current.getData();b.current.setValue(he),Ve(he),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},76562:function(Wt,Gt,te){"use strict";var x=te(59301),ue=te(95237),Be=te(43604),Me=te(99313),Le=te(3113),Oe=te(91842),se=te(99587),ct=te(48136),ot=te(59301);const Ve=(0,x.forwardRef)(({callback:Ue,showSaveButton:tt,value:$e=""},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((ce,pe)=>ot.createElement("div",{key:pe},ot.createElement("h1",null,ce.name),ot.createElement(ue.Z,{gutter:[10,10]},ce.data.map((Ee,Ge)=>ot.createElement(Be.Z,{key:Ge,onClick:()=>E(Ee),className:se.Z.diamond},ot.createElement(Oe.Z,{value:"`$$"+Ee.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((ce,pe)=>ot.createElement("div",{key:pe},ce.name&&ot.createElement("h1",null,ce.name),ot.createElement(ue.Z,{gutter:[10,10]},ce.data.map((Ee,Ge)=>ot.createElement(Be.Z,{key:Ge,onClick:()=>E(Ee),className:se.Z.diamond},ot.createElement(Oe.Z,{value:"`$$"+Ee.value+"$$`"}))))))))))}],ne=()=>{var re=document.createElement("div");re.innerHTML=y.current.getValue();var ie=re.innerText;return Ue&&Ue(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}},$e||""),tt&&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},22962:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return tt}});var x=te(59301),ue=te(78241),Be=te(43418),Me=te(92832),Le=te(87169),Oe=te(38986),se={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},ct=te(52154),ot=te(59301),Ve=($e,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($e,le)).next())}),tt=({type:$e="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 ce=()=>Ve(void 0,null,function*(){if($e){const pe=yield(0,Oe.ZP)("/api/disciplines.json",{method:"get",params:{source:$e}});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 Ee=yield(0,Oe.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:pe==null?void 0:pe.name,sub_discipline_id:b}});(Ee==null?void 0:Ee.status)===0&&a({name:pe==null?void 0:pe.name,id:Ee==null?void 0:Ee.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(ct.Z,{open:re,onCancel:()=>{ie(!1)}})))}},70100:function(Wt,Gt,te){"use strict";te.d(Gt,{Q:function(){return ot},Z:function(){return Ue}});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),ct=(tt,$e,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(tt,$e)).next())});const ot=({title:tt="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:$e=[],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($e)},[le]),x.createElement(Le.default,{centered:!0,open:le,title:tt,confirmLoading:ne,width:564,onOk:()=>ct(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 Ue=({title:tt="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:$e,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,$e),style:le},!!tt&&x.createElement("div",{className:ue.text},tt),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}`}))}},68571:function(Wt,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),ct=te(57809),ot=te(5112),Ve=te(31457),Ue=te(25690),tt=te(8423),$e=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(38986),z=te(81072),ne=te(39793),re=te(56102),ie=te(37345),ce=te(59301),pe=Object.defineProperty,Ee=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Te=(ze,ve,fe)=>ve in ze?pe(ze,ve,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ze[ve]=fe,et=(ze,ve)=>{for(var fe in ve||(ve={}))Qe.call(ve,fe)&&Te(ze,fe,ve[fe]);if(De)for(var fe of De(ve))he.call(ve,fe)&&Te(ze,fe,ve[fe]);return ze},Et=(ze,ve)=>Ee(ze,Ge(ve)),Ne=(ze,ve,fe)=>new Promise((Ye,Lt)=>{var Fe=Xe=>{try{nt(fe.next(Xe))}catch(Ae){Lt(Ae)}},xe=Xe=>{try{nt(fe.throw(Xe))}catch(Ae){Lt(Ae)}},nt=Xe=>Xe.done?Ye(Xe.value):Promise.resolve(Xe.value).then(Fe,xe);nt((fe=fe.apply(ze,ve)).next())}),xt=({buttonProps:ze,buttonText:ve,form:fe,hackIdentifier:Ye="",answerKey:Lt,data:Fe})=>{const[xe,nt]=(0,x.useState)(!1),[Xe,Ae]=(0,x.useState)(!1),[pt,hn]=(0,x.useState)(!1),[$t,Ht]=(0,x.useState)({}),[on,gn]=(0,x.useState)(""),[_e,Bt]=(0,x.useState)(""),Ot=(0,x.useRef)(Ye),ht=(0,x.useRef)(""),Dt=(0,x.useRef)(!1);(0,x.useEffect)(()=>{pt&&Rn()},[pt]),(0,x.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const vn=()=>new Date().getTime(),yn=Fe==null?void 0:Fe.code,Pn=()=>{var _n,Pa;let Ea=yn?Fe==null?void 0:Fe.code:(_n=fe.getFieldValue("hack_codes"))==null?void 0:_n.code,Zn=yn?Fe==null?void 0:Fe.answer_content:fe.getFieldValue(Lt),wa=yn?Fe==null?void 0:Fe.input:(Pa=fe.getFieldValue("hack_sets"))==null?void 0:Pa.input;Zn==null||Zn.forEach(en=>{const bn=en.value||en.answer_text||"";Ea=Ea.replace(/(@▁@|@▁▁@)/,bn)}),Bt(wa),gn(Ea),Ht({}),hn(!0)},Rn=()=>Ne(void 0,null,function*(){var _n,Pa,Ea,Zn;const wa=vn(),en=yn?Fe==null?void 0:Fe.time_limit:(_n=fe.getFieldsValue())==null?void 0:_n.hack.time_limit,bn=yn?(Pa=Fe==null?void 0:Fe.answer_content)==null?void 0:Pa.length:(Zn=(Ea=fe.getFieldsValue())==null?void 0:Ea.standard_answers)==null?void 0:Zn.length;nt(!0),yield(0,z.bM)(ht.current,{test_hack_code:on,test_input:_e});function Mn(){return Ne(this,null,function*(){const{status:Qn,data:Ze}=yield(0,z.rX)(ht.current,"submit"),kt=vn()-wa>(en+3)*1e3*bn;if(Dt.current){if(kt){$e.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),nt(!1);return}if(Qn===0){nt(!1),Ht(Et(et({},Ze),{showText:!0}));return}setTimeout(Mn,1e3)}})}Mn()}),ta=()=>Ne(void 0,null,function*(){var _n,Pa,Ea,Zn,wa,en,bn;if(!Fe){try{yield fe.validateFields()}catch(Nt){(Ea=(Pa=(_n=Nt==null?void 0:Nt.errorFields)==null?void 0:_n[0])==null?void 0:Pa.name)!=null&&Ea.includes("standard_answers")?$e.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):$e.ZP.error(Nt.errorFields[0].errors[0]),fe.scrollToField(Nt.errorFields[0].name,{behavior:"smooth",block:"center"});return}Ae(!0);let Qn="";const Ze=fe.getFieldsValue();Ot.current?Qn=yield(0,E.ZP)(`/api/problems/${Ot.current}.json`,{method:"put",body:Et(et({},Ze),{hack:Et(et({},Ze==null?void 0:Ze.hack),{sub_discipline_id:(bn=(en=Ze==null?void 0:Ze.hack)==null?void 0:en.sub_discipline_id)==null?void 0:bn[1],difficult:Ze.difficulty,item_banks_group_id:Ze.item_banks_group_id}),hack_codes:Et(et({},Ze.hack_codes),{code:a.Base64.encode(Ze.hack_codes.code)}),update_hack_sets:[et({},Ze.hack_sets)],is_blank:!0})}):(Qn=yield(0,E.ZP)("/api/problems.json",{method:"post",body:Et(et({},Ze),{hack:Et(et({},Ze==null?void 0:Ze.hack),{sub_discipline_id:(wa=(Zn=Ze==null?void 0:Ze.hack)==null?void 0:Zn.sub_discipline_id)==null?void 0:wa[1],difficult:Ze.difficulty,item_banks_group_id:Ze.item_banks_group_id}),hack_codes:Et(et({},Ze.hack_codes),{code:a.Base64.encode(Ze.hack_codes.code)}),hack_sets:[et({},Ze.hack_sets)],is_blank:!0})}),Ot.current=Qn==null?void 0:Qn.identifier,sessionStorage.projectFill=Qn==null?void 0:Qn.identifier)}const Mn=yield(0,E.ZP)(`/api/problems/${Ot.current}/start.json`,{method:"get"});if((Mn==null?void 0:Mn.status)===0){ht.current=Mn==null?void 0:Mn.identifier,Dt.current=!0,Ae(!1),Pn();return}Ae(!1)}),aa=_n=>{const{status:Pa,error_msg:Ea,execute_time:Zn,output:wa,input:en,expected_output:bn}=_n;let Mn=null;switch(Pa){case ie.h.OK:Mn=ce.createElement(ce.Fragment,null,ce.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Zn/1e3,"\u79D2"),ce.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ie.h.NOMATCH:Mn=ce.createElement(ce.Fragment,null,ce.createElement("div",null,"\u8F93\u5165\uFF1A"),ce.createElement("pre",{style:{fontFamily:"initial"}},en),ce.createElement("div",null,"\u8F93\u51FA\uFF1A"),ce.createElement("pre",{style:{fontFamily:"initial"}},wa&&a.Base64.decode(wa)),ce.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ce.createElement("pre",{style:{fontFamily:"initial"}},bn&&a.Base64.decode(bn)));break;case ie.h.EXECUTEFAILURE:Mn=ce.createElement(ce.Fragment,null,ce.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ce.createElement("pre",null,en)),ce.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ce.createElement("pre",{className:"error"},a.Base64.decode(Ea)));break;case ie.h.COMPILEFAILURE:Mn=ce.createElement(ce.Fragment,null,ce.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ce.createElement("pre",null,en)),ce.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ce.createElement("pre",{className:"error"},a.Base64.decode(Ea)));break;case ie.h.PODFAILURE:Mn=ce.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ie.h.TIMEOUT:Mn=ce.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ce.createElement(ce.Fragment,null," ",Mn," ")};return ce.createElement("div",null,ce.createElement(le.ZP,Et(et({loading:Xe},ze),{onClick:ta}),ve),ce.createElement(Me.default,{open:pt,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:xe,cancelButtonProps:{style:{display:"none"}},onOk:()=>Rn(),onCancel:()=>{Dt.current=!1,hn(!1)}},ce.createElement("div",{className:b.result},ce.createElement("div",{className:b.left},ce.createElement("div",{className:"mb20"},ce.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Fe&&ce.createElement(re.CopyToClipboard,{text:on,onCopy:()=>$e.ZP.success("\u590D\u5236\u6210\u529F")},ce.createElement("span",{style:{float:"right"},className:"current c-light-primary"},ce.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),ce.createElement(ne.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:on,onChange:_n=>gn(_n)})),ce.createElement("div",{className:b.right},ce.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),ce.createElement("div",{className:b.box},ce.createElement("div",{className:b.li},ce.createElement(ue.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:_e,onChange:_n=>Bt(_n.target.value),bordered:!1,style:{height:180}}))),ce.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),ce.createElement("div",{className:b.box},ce.createElement(y.Z,{spinning:xe,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ce.createElement("div",{className:b.li,style:{height:196,overflow:"auto",padding:10}},aa($t))))))))},yt=te(87169),gt=te(59301),Yt=Object.defineProperty,wt=Object.defineProperties,nn=Object.getOwnPropertyDescriptors,dn=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,qt=(ze,ve,fe)=>ve in ze?Yt(ze,ve,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ze[ve]=fe,Sn=(ze,ve)=>{for(var fe in ve||(ve={}))at.call(ve,fe)&&qt(ze,fe,ve[fe]);if(dn)for(var fe of dn(ve))qe.call(ve,fe)&&qt(ze,fe,ve[fe]);return ze},Zt=(ze,ve)=>wt(ze,nn(ve)),mn=(ze,ve)=>{var fe={};for(var Ye in ze)at.call(ze,Ye)&&ve.indexOf(Ye)<0&&(fe[Ye]=ze[Ye]);if(ze!=null&&dn)for(var Ye of dn(ze))ve.indexOf(Ye)<0&&qe.call(ze,Ye)&&(fe[Ye]=ze[Ye]);return fe};const{TextArea:Ke}=ue.default,It=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Ut=({value:ze,onChange:ve})=>gt.createElement(Switch,{checked:ze,onChange:fe=>{ve(fe)}}),Mt="@\u2581@",ft="@\u2581\u2581@",rt=({questionTitlePlaceholder:ze,form:ve,scoreByBlank:fe=!1,hackidentifier:Ye,answerKey:Lt})=>{const[Fe,xe]=(0,x.useState)(!1),[nt,Xe]=(0,x.useState)(!1),pt=(0,Ue.useParams)().type==="edit",hn=(ht,Dt)=>{const vn=Dt.line;let yn=0;for(let Rn=0;Rn<vn;Rn++)yn+=ht.getLine(Rn).split(Mt).length-1;for(let Rn=0;Rn<vn;Rn++)yn+=ht.getLine(Rn).split(ft).length-1;const Pn=ht.getLine(vn).substring(0,Dt.ch);return yn+=Pn.split(Mt).length-1,yn+=Pn.split(ft).length-1,yn},$t=(ht,Dt,vn,yn)=>{const Pn=ht.getRange(Dt.from,Dt.to);let Rn=0;if(Dt.text.forEach(ta=>{Rn+=ta.split(Mt).length-1}),Dt.text.forEach(ta=>{Rn+=ta.split(ft).length-1}),Dt.origin!=="setValue"){if(Pn&&(Pn.indexOf(Mt)!==-1||Pn.indexOf(ft)!==-1)){const ta=Pn.split(Mt).length-1+Pn.split(ft).length-1,aa=hn(ht,Dt.from);if(console.log(`\u5220\u9664${ta}\u4E2A\uFF0C \u524D\u9762\u6709${aa}\u4E2A\uFF0C\u65B0\u589E${Rn}\u4E2A`),ta>1){const _n=Array.from({length:ta},(Pa,Ea)=>aa+Ea);yn(_n)}else yn(aa)}else if(Rn>0){const ta=hn(ht,Dt.from);console.log(`\u65B0\u589E${Rn}\u4E2A\uFF0C\u4E4B\u524D\u6709${ta}\u4E2A`),vn(Rn,ta)}}},Ht=()=>{const ht=ve.getFieldValue(Lt);ve.setFieldsValue({[Lt]:ht==null?void 0:ht.map((Dt,vn)=>Zt(Sn({},Dt),{position:vn+1}))})},on=(0,x.useRef)(),gn=(ht,Dt)=>{for(let vn=0;vn<ht;vn++)on.current({position:null,answer_text:""},Dt+vn);Ht()},_e=(0,x.useRef)(),Bt=ht=>{_e.current(ht),Ht()},Ot=Be.default.useWatch(Lt,ve);return gt.createElement("div",{className:tt.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:tt.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:(ht,Dt)=>{const vn=ve.getFieldValue(Lt);console.log("--preAnswerData",vn,Dt),ve.setFieldsValue({[Lt]:vn==null?void 0:vn.map((yn,Pn)=>{var Rn;return Zt(Sn({},yn),{position:Pn+1,multi_line:(Rn=Dt==null?void 0:Dt[Pn])==null?void 0:Rn.multiLine})})})},placeholder:ze,onCMBeforeChange:(ht,Dt)=>{$t(ht,Dt,gn,Bt)}}))),gt.createElement(Be.default.List,{name:Lt,rules:[{validator(ht,Dt){if(!(Dt!=null&&Dt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const vn of Dt){const{answer_text:yn}=vn||{};if((yn==null?void 0:yn.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(ht,{add:Dt,remove:vn},{errors:yn})=>(on.current=Dt,_e.current=vn,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"))),ht.map((Pn,Rn)=>{var ta=Pn,{key:aa,name:_n}=ta,Pa=mn(ta,["key","name"]),Ea,Zn;return gt.createElement(Le.Z,{className:"mb20",key:aa,align:"middle",wrap:!1},gt.createElement(Oe.Z,{flex:"0 0 auto",className:`${tt.Z.blankIndex}`},"\u586B\u7A7A\u9879",Rn+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,Zt(Sn({},Pa),{name:[_n,"answer_text"],noStyle:!0}),(Ea=Ot==null?void 0:Ot[_n])!=null&&Ea.multi_line||(Zn=Ot==null?void 0:Ot[_n])!=null&&Zn.multiLine?gt.createElement(Ke,{spellCheck:!1,style:{marginLeft:10,width:550}}):gt.createElement(ue.default,{style:{marginLeft:10,width:550},className:tt.Z.blankInput,size:"large",maxLength:1e3,onBlur:wa=>{}}))),fe&>.createElement(Oe.Z,{flex:"224px"},gt.createElement(Be.default.Item,Zt(Sn({},Pa),{name:[_n,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),gt.createElement(se.Z,{size:"large",className:tt.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),gt.createElement("div",{onClick:()=>xe(!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(ct.default,{size:"large"},It.map(ht=>gt.createElement(ct.default.Option,{key:ht.title,value:ht.key}," ",ht.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(Ke,{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(Ke,{rows:4}))),gt.createElement(xt,{form:ve,answerKey:Lt,hackIdentifier:Ye,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"}}}))}},81727:function(Wt,Gt,te){"use strict";te.d(Gt,{u:function(){return ce}});var x=te(59301),ue=te(95237),Be=te(43604),Me=te(6848),Le=te(78241),Oe=te(8423),se=te(32134),ct=te(12893),ot=te(31457),Ve=te(59301),Ue=Object.defineProperty,tt=Object.defineProperties,$e=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,b=(pe,Ee,Ge)=>Ee in pe?Ue(pe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):pe[Ee]=Ge,E=(pe,Ee)=>{for(var Ge in Ee||(Ee={}))y.call(Ee,Ge)&&b(pe,Ge,Ee[Ge]);if(le)for(var Ge of le(Ee))a.call(Ee,Ge)&&b(pe,Ge,Ee[Ge]);return pe},z=(pe,Ee)=>tt(pe,$e(Ee)),ne=(pe,Ee)=>{var Ge={};for(var De in pe)y.call(pe,De)&&Ee.indexOf(De)<0&&(Ge[De]=pe[De]);if(pe!=null&&le)for(var De of le(pe))Ee.indexOf(De)<0&&a.call(pe,De)&&(Ge[De]=pe[De]);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:Ee,choiceTextKey:Ge,answerKey:De,index:Qe,isEdit:he,setInputActive:Te,form:et,choiceOptionsPath:Et,allowChangeMode:Ne,showAddIcon:ut,addItem:xt,deleteItem:yt})=>{console.log(pe,"value");const gt=(pe==null?void 0:pe[De])===1,Yt=()=>{const nn=et.getFieldValue(Et);et.setFieldValue(Et,nn.map(dn=>z(E({},dn),{[De]:0})))},wt=()=>{gt?Ee(z(E({},pe),{[De]:0})):(Ne||Yt(),Ee(z(E({},pe),{[De]:1})))};return Ve.createElement(ue.Z,{className:Oe.Z.choiceWrap,align:"middle",wrap:!1},Ve.createElement(Be.Z,{onClick:wt,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:he,value:pe==null?void 0:pe[Ge],onChange:nn=>{Ee(z(E({},pe),{[Ge]:nn}))}})),Ve.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},Ve.createElement("div",{onClick:wt,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:xt,style:{visibility:ut?"visible":"hidden"}})),Ve.createElement(Me.Z,{title:"\u5220\u9664"},Ve.createElement(ct.Z,{className:Oe.Z.deleteIcon,onClick:yt,style:{visibility:Qe>1?"visible":"hidden"}}))))},ce=({questionTitlePlaceholder:pe,titleKey:Ee,choiceKey:Ge,analysisKey:De,choiceTextKey:Qe,answerKey:he,choiceOptionsPath:Te,allowChangeMode:et=!0,form:Et,showAnalysis:Ne=!0})=>{const[ut,xt]=(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:Ee,labelCol:{span:24},rules:[{required:!0}]},Ve.createElement(ot.h,{scrollId:Array.isArray(Ee)?Ee.join("_"):`${Ee}`,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(Yt,wt){const nn=wt.some(at=>at[he]===1),dn=wt.findIndex(at=>{var qe;return((qe=at[Qe])==null?void 0:qe.length)<=0});return dn!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[dn]}\u9009\u9879\u7684\u5185\u5BB9`)):nn?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Yt,{add:wt,remove:nn})=>Ve.createElement("div",{id:Array.isArray(Te)?Te.join("_"):`${Te}`},Yt.map((dn,at)=>{var qe=dn,{key:qt,name:Sn}=qe,Zt=ne(qe,["key","name"]);const mn=ut===qt,Ke=()=>{xt(qt)},It=at<7&&at===Yt.length-1,Ut=()=>wt({[Qe]:"",[he]:0}),Mt=()=>nn(Sn);return Ve.createElement(Le.default.Item,z(E({},Zt),{key:qt,name:Sn,className:Oe.Z.choiceListWrap,rules:[{validator(ft,rt){return rt!=null&&rt.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[at]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Ve.createElement(ie,{choiceTextKey:Qe,answerKey:he,index:at,isEdit:mn,setInputActive:Ke,form:Et,choiceOptionsPath:Te,allowChangeMode:et,showAddIcon:It,addItem:Ut,deleteItem:Mt}))}),Yt.length<8&&Ve.createElement("div",{className:`${Oe.Z.addBtn} mb30`,onClick:()=>wt({[Qe]:"",[he]:0})},"\u6DFB\u52A0\u9009\u9879"))),Ne&&Ve.createElement("div",{onClick:()=>gt(!0)},Ve.createElement(Le.default.Item,{name:De,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}))))}},92046:function(Wt,Gt,te){"use strict";te.d(Gt,{u:function(){return et}});var x=te(59301),ue=te(43418),Be=te(95237),Me=te(43604),Le=te(92832),Oe=te(6848),se=te(78673),ct=te(78241),ot=te(5112),Ve=te(5871),Ue=te(31457),tt=te(12893),$e=te(61485),le=te(8423),y=te(19105),a=te(59301),b=Object.defineProperty,E=Object.defineProperties,z=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,ce=(Et,Ne,ut)=>Ne in Et?b(Et,Ne,{enumerable:!0,configurable:!0,writable:!0,value:ut}):Et[Ne]=ut,pe=(Et,Ne)=>{for(var ut in Ne||(Ne={}))re.call(Ne,ut)&&ce(Et,ut,Ne[ut]);if(ne)for(var ut of ne(Ne))ie.call(Ne,ut)&&ce(Et,ut,Ne[ut]);return Et},Ee=(Et,Ne)=>E(Et,z(Ne)),Ge=(Et,Ne)=>{var ut={};for(var xt in Et)re.call(Et,xt)&&Ne.indexOf(xt)<0&&(ut[xt]=Et[xt]);if(Et!=null&&ne)for(var xt of ne(Et))Ne.indexOf(xt)<0&&ie.call(Et,xt)&&(ut[xt]=Et[xt]);return ut};const De=({value:Et,onChange:Ne})=>{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=[...Et];gt.splice(yt,1),Ne(gt)}})},xt=()=>{const yt=[...Et];yt.push(""),Ne(yt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Me.Z,{flex:1},Et==null?void 0:Et.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:Yt=>{const wt=[...Et],nn=Yt.target.value.trim();wt[gt]=nn,Ne(wt)}}),a.createElement(Oe.Z,{title:"\u5220\u9664"},a.createElement(tt.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:()=>{xt()}},"\u65B0\u589E\u7B54\u6848")))},Qe=({value:Et,onChange:Ne})=>{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=[...Et];gt.splice(yt,1),Ne(gt)}})},xt=()=>{const yt=[...Et];yt.push(""),Ne(yt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Me.Z,{flex:1},Et==null?void 0:Et.map((yt,gt)=>a.createElement(Be.Z,{key:`${yt}_${gt}`,align:"middle",className:"mb20"},a.createElement(y.Z,{value:yt,style:{flex:1},onChange:Yt=>{const wt=[...Et];wt[gt]=Yt,Ne(wt)}}),a.createElement(Oe.Z,{title:"\u5220\u9664"},a.createElement(tt.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:()=>{xt()}},"\u65B0\u589E\u7B54\u6848")))},he=({value:Et=!0,onChange:Ne})=>a.createElement(se.Z,{checked:!Et,onChange:ut=>{Ne(!ut)}}),Te="\u2581",et=({questionTitlePlaceholder:Et,form:Ne,scoreByBlank:ut=!1,answerKey:xt})=>{const[yt,gt]=(0,x.useState)(!1),Yt=(Zt,mn)=>{const Ke=mn.line;let It=0;for(let Mt=0;Mt<Ke;Mt++)It+=Zt.getLine(Mt).split(Te).length-1;const Ut=Zt.getLine(Ke).substring(0,mn.ch);return It+=Ut.split(Te).length-1,It},wt=(Zt,mn,Ke,It)=>{const Ut=Zt.getRange(mn.from,mn.to);let Mt=0;if(mn.text.forEach(ft=>{Mt+=ft.split(Te).length-1}),mn.origin!=="setValue"){if(Ut&&Ut.indexOf(Te)!==-1){const ft=Ut.split(Te).length-1,rt=Yt(Zt,mn.from);if(console.log(`\u5220\u9664${ft}\u4E2A\uFF0C \u524D\u9762\u6709${rt}\u4E2A\uFF0C\u65B0\u589E${Mt}\u4E2A`),ft>1){const ze=Array.from({length:ft},(ve,fe)=>rt+fe);It(ze)}else It(rt)}else if(Mt>0){const ft=Yt(Zt,mn.from);console.log(`\u65B0\u589E${Mt}\u4E2A\uFF0C\u4E4B\u524D\u6709${ft}\u4E2A`),Ke(Mt,ft)}}},nn=()=>{const Zt=Ne.getFieldValue(xt);Ne.setFieldsValue({[xt]:Zt.map((mn,Ke)=>Ee(pe({},mn),{position:Ke+1}))})},dn=(0,x.useRef)(),at=(Zt,mn)=>{for(let Ke=0;Ke<Zt;Ke++)dn.current({position:null,answer_text:[""],model:1},mn+Ke);nn()},qe=(0,x.useRef)(),qt=Zt=>{qe.current(Zt),nn()},Sn=ct.default.useWatch(xt,Ne);return a.createElement("div",{className:le.Z.wrap},a.createElement("div",{className:le.Z.questionTitleEditorWrap},a.createElement(ct.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(Ue.h,{scrollId:"name",watch:!0,height:140,placeholder:Et,showNullButton:!0,onCMBeforeChange:(Zt,mn)=>{wt(Zt,mn,at,qt)}}))),a.createElement(ct.default.List,{name:xt,rules:[{validator(Zt,mn){if(!(mn!=null&&mn.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Ke of mn){const{answer_text:It}=Ke||{};if(It!=null&&It.some(Ut=>(Ut==null?void 0:Ut.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Zt,{add:mn,remove:Ke},{errors:It})=>(dn.current=mn,qe.current=Ke,a.createElement(a.Fragment,null,a.createElement(ct.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Zt!=null&&Zt.length)&&a.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Zt.map((Ut,Mt)=>{var ft=Ut,{key:rt,name:ze}=ft,ve=Ge(ft,["key","name"]),fe,Ye;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(ct.default.Item,Ee(pe({},ve),{name:[ze,"model"],noStyle:!0}),a.createElement(ot.ZP.Group,{onChange:()=>{const Lt=Ne.getFieldValue(xt);Ne.setFieldsValue({[xt]:Lt.map((Fe,xe)=>Ee(pe({},Fe),{answer_text:ze===xe?[""]: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($e.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($e.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(ct.default.Item,Ee(pe({},ve),{name:[ze,"answer_text"],noStyle:!0}),((Ye=(fe=Ne.getFieldValue(xt))==null?void 0:fe[ze])==null?void 0:Ye.model)===1?a.createElement(De,null):a.createElement(Qe,null))),ut&&a.createElement(Me.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(ct.default.Item,Ee(pe({},ve),{name:[ze,"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(ct.default.Item,Ee(pe({},ve),{name:[ze,"position"],noStyle:!0}),a.createElement(Le.default,{type:"hidden"})))))})))),a.createElement(Be.Z,{align:"middle"},a.createElement(ct.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(ct.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")),(Sn==null?void 0:Sn.length)>1&&a.createElement(Be.Z,{align:"middle",className:(Sn==null?void 0:Sn.length)>1?"mb30":`${le.Z.hide}`},a.createElement(ct.default.Item,{name:"is_ordered"},a.createElement(he,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(ct.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(Ue.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:yt}))))}},14289:function(Wt,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(8423),Oe=te(31457),se=te(59301),ct=Object.defineProperty,ot=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,le=(re,ie,ce)=>ie in re?ct(re,ie,{enumerable:!0,configurable:!0,writable:!0,value:ce}):re[ie]=ce,y=(re,ie)=>{for(var ce in ie||(ie={}))tt.call(ie,ce)&&le(re,ce,ie[ce]);if(Ue)for(var ce of Ue(ie))$e.call(ie,ce)&&le(re,ce,ie[ce]);return re},a=(re,ie)=>ot(re,Ve(ie)),b=(re,ie)=>{var ce={};for(var pe in re)tt.call(re,pe)&&ie.indexOf(pe)<0&&(ce[pe]=re[pe]);if(re!=null&&Ue)for(var pe of Ue(re))ie.indexOf(pe)<0&&$e.call(re,pe)&&(ce[pe]=re[pe]);return ce};const E={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:re,onChange:ie,form:ce})=>{const pe=(re==null?void 0:re.is_answer)===1,Ee=re==null?void 0:re.choice_text,Ge=()=>{const De=ce.getFieldsValue().choices.map(Qe=>({choice_text:Qe.choice_text,is_answer:0}));ce.setFieldsValue({choices:De}),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[Ee]),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:""}`},Ee)),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:ce})=>{const[pe,Ee]=(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,De){return De.some(he=>(he==null?void 0:he.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Ge=>se.createElement("div",{id:"choices"},Ge.map(De=>{var Qe=De,{key:he,name:Te}=Qe,et=b(Qe,["key","name"]);return se.createElement(Me.default.Item,a(y({},et),{key:he,name:Te,noStyle:!0}),se.createElement(z,{form:ce}))})))),se.createElement("div",{onClick:()=>Ee(!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}))))}},31457:function(Wt,Gt,te){"use strict";te.d(Gt,{h:function(){return y},x:function(){return a}});var x=te(39793),ue=te(8423),Be=te(91842),Me=te(59301),Le=Object.defineProperty,Oe=Object.defineProperties,se=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Ue=(b,E,z)=>E in b?Le(b,E,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[E]=z,tt=(b,E)=>{for(var z in E||(E={}))ot.call(E,z)&&Ue(b,z,E[z]);if(ct)for(var z of ct(E))Ve.call(E,z)&&Ue(b,z,E[z]);return b},$e=(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&&ct)for(var ne of ct(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,$e(tt({},ie),{defaultValue:z,onChange:(ce,pe)=>{pe!=null&&pe.length?ne(ce,pe):ne(ce)}})))},a=({value:b,onChange:E,placeholder:z,height:ne=140,isEdit:re,miniToolbar:ie,watch:ce=!0})=>re?Me.createElement(x.Z,{watch:ce,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))},44272:function(Wt,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),ct=te(6848),ot=te(92832),Ve=te(5871),Ue=te(8423),tt=te(31457),$e=te(39793),le=te(61485),y=Object.defineProperty,a=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,re=(he,Te,et)=>Te in he?y(he,Te,{enumerable:!0,configurable:!0,writable:!0,value:et}):he[Te]=et,ie=(he,Te)=>{for(var et in Te||(Te={}))z.call(Te,et)&&re(he,et,Te[et]);if(E)for(var et of E(Te))ne.call(Te,et)&&re(he,et,Te[et]);return he},ce=(he,Te)=>a(he,b(Te)),pe=(he,Te)=>{var et={};for(var Et in he)z.call(he,Et)&&Te.indexOf(Et)<0&&(et[Et]=he[Et]);if(he!=null&&E)for(var Et of E(he))Te.indexOf(Et)<0&&ne.call(he,Et)&&(et[Et]=he[Et]);return et};const Ee=he=>{var Te=he,{value:et,onChange:Et}=Te,Ne=pe(Te,["value","onChange"]);const ut=xt=>{Et([xt])};return x.createElement($e.Z,ce(ie({},Ne),{defaultValue:et==null?void 0:et[0],onChange:ut}))},Ge=he=>{if(!he)return!1;if(/^s*$/.test(he)||he.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 he==="|"?(ue.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},De=({value:he=[],onClose:Te})=>x.createElement(Be.default,{closable:!0,onClose:Te,className:Ue.Z.keywordTag},x.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},he.join(" \u6216 "))),Qe=({questionTitlePlaceholder:he,form:Te,showKeywords:et,isMustKeyWords:Et=et})=>{const[Ne,ut]=(0,x.useState)(!1),[xt,yt]=(0,x.useState)(""),gt=Me.default.useWatch("use_keywords",Te),Yt=Me.default.useWatch("question_score",Te);return x.createElement("div",{className:Ue.Z.wrap},x.createElement("div",{className:Ue.Z.questionTitleEditorWrap},x.createElement(Me.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},x.createElement(tt.h,{scrollId:"name",watch:!0,height:140,placeholder:he}))),x.createElement(Me.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},x.createElement(Ee,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),et&&!Et&&x.createElement(Me.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},x.createElement(Le.Z,{defaultChecked:!0})),et&&Et&&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(ct.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},x.createElement(le.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(gt||!Et)&&x.createElement(Me.default.List,{name:"keywords",rules:[{validator(wt,nn){return Et?nn!=null&&nn.length?(nn==null?void 0:nn.reduce((at,qe)=>at+qe.score,0))>parseFloat(Yt)?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()}}]},(wt,{add:nn,remove:dn})=>x.createElement(x.Fragment,null,x.createElement("div",{className:`${Ue.Z.title} mb10`},Et?"\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:xt,onChange:at=>{yt(at.target.value)},maxLength:50,allowClear:!0,onPressEnter:at=>{var qe,qt,Sn,Zt;const mn=`${(qe=at.target)==null?void 0:qe.value}`,Ke=(Sn=(qt=mn==null?void 0:mn.split("|"))==null?void 0:qt.filter(Mt=>!!Mt))==null?void 0:Sn.map(Mt=>Mt==null?void 0:Mt.trim()),It=Te.getFieldValue("keywords"),Ut=((Zt=It==null?void 0:It.map(Mt=>Mt==null?void 0:Mt.keyword))==null?void 0:Zt.flat())||[];for(const Mt of Ke)if(Ut.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(mn)&&(nn({keyword:Ke,score:1}),yt(""))},className:Ue.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")),wt.map(at=>{var qe=at,{key:qt,name:Sn}=qe,Zt=pe(qe,["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,ce(ie({},Zt),{name:[Sn,"keyword"]}),x.createElement(De,{onClose:()=>dn(Sn)})),Et&&x.createElement(Me.default.Item,ce(ie({},Zt),{name:[Sn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ue.Z.blankInputNumberWrapper}),x.createElement(Ve.Z,{className:Ue.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(tt.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ne}))))}},74716:function(Wt,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 ct=({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(ct,null))}},69720:function(Wt,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(8336),ct=te(12469),ot=Object.defineProperty,Ve=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,y=(ie,ce,pe)=>ce in ie?ot(ie,ce,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ie[ce]=pe,a=(ie,ce)=>{for(var pe in ce||(ce={}))$e.call(ce,pe)&&y(ie,pe,ce[pe]);if(tt)for(var pe of tt(ce))le.call(ce,pe)&&y(ie,pe,ce[pe]);return ie},b=(ie,ce)=>Ve(ie,Ue(ce));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:ce})=>{const[pe,Ee]=(0,x.useState)("python");function Ge(Qe){Ee(ne[Qe][1])}function De(Qe){ie(Qe)}return x.createElement(Be.default,b(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:De,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:ce},"\u53D6\u6D88")))};function re({value:ie,onChange:ce,mode:pe,options:Ee={}}){const Ge=(0,x.useRef)(),[De,Qe]=(0,x.useState)();return(0,x.useEffect)(()=>{if(De){let he=function(Te){const et=Te.getValue();ce&&ce(et)};return De.on("change",he),()=>{De.off("change",he)}}},[De,ce]),(0,x.useEffect)(()=>{De&&De.setOption("mode",pe)},[De,pe]),(0,x.useEffect)(()=>{De&&(ie!==De.getValue()||ie==="")&&setTimeout(()=>{De.setValue(ie||"")},300)},[De,ie]),(0,x.useEffect)(()=>{if(Ge.current&&!De){const he=Oe().fromTextArea(Ge.current,a({mode:pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ee));Qe(he)}},[Ge.current,De]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:Ge}))}},39793:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return fn}});var x=te(59301),ue=te(89780),Be=te.n(ue),Me=te(76374),Le=te(8336),Oe=te(6313),se=te(25717),ct=te(99498),ot=te(25419),Ve=te(67549),Ue=te(91842),tt=({value:st="",className:St,showTextOnly:dt,showLines:ln,style:Nn={}})=>{const Cn=(0,x.useMemo)(()=>"",[st]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:Cn}}))},$e=te(59301),le=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(st,St,dt)=>St in st?le(st,St,{enumerable:!0,configurable:!0,writable:!0,value:dt}):st[St]=dt,re=(st,St)=>{for(var dt in St||(St={}))E.call(St,dt)&&ne(st,dt,St[dt]);if(b)for(var dt of b(St))z.call(St,dt)&&ne(st,dt,St[dt]);return st},ie=(st,St)=>y(st,a(St));let ce=[{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:St,icon:dt,actionName:ln,className:Nn="",children:Cn}){function la(){st(ln)}return $e.createElement("a",{title:St,className:Nn,onClick:la},$e.createElement("i",{className:`${dt}`}),Cn)}var Ee=({watch:st,showNullButton:St,showNullProgramButton:dt,onActionCallback:ln,fullScreen:Nn,insertTemp:Cn,hidetoolBar:la,extraUse:jn})=>{const lt=[...ce,{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 $e.createElement("ul",{className:"markdown-toolbar-container"},!la&<.map((Jt,Jn)=>$e.createElement("li",{key:Jn},Jt.actionName?$e.createElement(pe,ie(re({},Jt),{onActionCallback:ln})):$e.createElement("span",{className:"v-line"}))),St?$e.createElement("li",null,$e.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:ln},$e.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,dt?$e.createElement($e.Fragment,null,$e.createElement("li",null,$e.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:ln},$e.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),$e.createElement("li",null,$e.createElement(pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:ln},$e.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Cn&&$e.createElement("li",null,$e.createElement(pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Cn}`,onActionCallback:ln},$e.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),jn&&$e.createElement("li",null,jn),$e.createElement("li",{className:"btn-full-screen"},$e.createElement(pe,{icon:`${Nn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Nn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:ln})))},Ge=te(91558),De=te(78241),Qe=te(92832),he=te(3113),Te=Object.defineProperty,et=Object.defineProperties,Et=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,yt=(st,St,dt)=>St in st?Te(st,St,{enumerable:!0,configurable:!0,writable:!0,value:dt}):st[St]=dt,gt=(st,St)=>{for(var dt in St||(St={}))ut.call(St,dt)&&yt(st,dt,St[dt]);if(Ne)for(var dt of Ne(St))xt.call(St,dt)&&yt(st,dt,St[dt]);return st},Yt=(st,St)=>et(st,Et(St));const wt={labelCol:{span:4},wrapperCol:{span:20}};var nn=({callback:st,onCancel:St})=>{function dt(ln){st(ln)}return x.createElement(De.default,Yt(gt({},wt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:dt,style:{width:500}}),x.createElement(De.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(De.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(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(he.ZP,{type:"ghost",onClick:St},"\u53D6\u6D88")))},dn=te(69720),at=te(17077),qe=te(43418),qt=te(95237),Sn=te(9507),Zt=te(59301),mn=({callback:st,onCancel:St})=>{const dt=document.createElement("canvas"),ln=dt.getContext("2d");dt.width=1e3,dt.height=800,ln.fillStyle="#ffffff",ln.fillRect(0,0,dt.width,dt.height);const Nn=dt.toDataURL("image/png");return Zt.createElement(qe.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Zt.createElement(qt.Z,{style:{height:"100vh"}},Zt.createElement(Sn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Nn,visible:!0,title:String(Date.now())},onOk:Cn=>{st({src:Cn.url})},onClose:St})))},Ke=te(12378);function It(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(It,go.CommandHandler),It.prototype.canAlignSelection=function(){var st=this.diagram;return!(st===null||st.isReadOnly||st.isModelReadOnly||st.selection.count<2)},It.prototype.alignLeft=function(){var st=this.diagram;st.startTransaction("aligning left");var St=1/0;st.selection.each(function(dt){dt instanceof go.Link||(St=Math.min(dt.position.x,St))}),st.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(St,dt.position.y))}),st.commitTransaction("aligning left")},It.prototype.alignRight=function(){var st=this.diagram;st.startTransaction("aligning right");var St=-1/0;st.selection.each(function(dt){if(!(dt instanceof go.Link)){var ln=dt.actualBounds.x+dt.actualBounds.width;St=Math.max(ln,St)}}),st.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(St-dt.actualBounds.width,dt.position.y))}),st.commitTransaction("aligning right")},It.prototype.alignTop=function(){var st=this.diagram;st.startTransaction("alignTop");var St=1/0;st.selection.each(function(dt){dt instanceof go.Link||(St=Math.min(dt.position.y,St))}),st.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.position.x,St))}),st.commitTransaction("alignTop")},It.prototype.alignBottom=function(){var st=this.diagram;st.startTransaction("aligning bottom");var St=-1/0;st.selection.each(function(dt){if(!(dt instanceof go.Link)){var ln=dt.actualBounds.y+dt.actualBounds.height;St=Math.max(ln,St)}}),st.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.actualBounds.x,St-dt.actualBounds.height))}),st.commitTransaction("aligning bottom")},It.prototype.alignCenterX=function(){var st=this.diagram,St=st.selection.first();if(St){st.startTransaction("aligning Center X");var dt=St.actualBounds.x+St.actualBounds.width/2;st.selection.each(function(ln){ln instanceof go.Link||ln.move(new go.Point(dt-ln.actualBounds.width/2,ln.actualBounds.y))}),st.commitTransaction("aligning Center X")}},It.prototype.alignCenterY=function(){var st=this.diagram,St=st.selection.first();if(St){st.startTransaction("aligning Center Y");var dt=St.actualBounds.y+St.actualBounds.height/2;st.selection.each(function(ln){ln instanceof go.Link||ln.move(new go.Point(ln.actualBounds.x,dt-ln.actualBounds.height/2))}),st.commitTransaction("aligning Center Y")}},It.prototype.alignColumn=function(st){var St=this.diagram;St.startTransaction("align Column"),st===void 0&&(st=0),st=parseFloat(st);var dt=new Array;St.selection.each(function(jn){jn instanceof go.Link||dt.push(jn)});for(var ln=0;ln<dt.length-1;ln++){var Nn=dt[ln],Cn=Nn.actualBounds.y+Nn.actualBounds.height+st,la=dt[ln+1];la.move(new go.Point(Nn.actualBounds.x,Cn))}St.commitTransaction("align Column")},It.prototype.alignRow=function(st){st===void 0&&(st=0),st=parseFloat(st);var St=this.diagram;St.startTransaction("align Row");var dt=new Array;St.selection.each(function(jn){jn instanceof go.Link||dt.push(jn)});for(var ln=0;ln<dt.length-1;ln++){var Nn=dt[ln],Cn=Nn.actualBounds.x+Nn.actualBounds.width+st,la=dt[ln+1];la.move(new go.Point(Cn,Nn.actualBounds.y))}St.commitTransaction("align Row")},It.prototype.canRotate=function(st){var St=this.diagram;return!(St===null||St.isReadOnly||St.isModelReadOnly||St.selection.count<1)},It.prototype.rotate=function(st){st===void 0&&(st=90);var St=this.diagram;St.startTransaction("rotate "+st.toString());var St=this.diagram;St.selection.each(function(dt){dt instanceof go.Link||dt instanceof go.Group||(dt.angle+=st)}),St.commitTransaction("rotate "+st.toString())},It.prototype.pullToFront=function(){var st=this.diagram;st.startTransaction("pullToFront");var St=new go.Map;st.selection.each(function(dt){St.set(dt.layer,0)}),St.iteratorKeys.each(function(dt){var ln=0;dt.parts.each(function(Nn){if(!Nn.isSelected){var Cn=Nn.zOrder;isNaN(Cn)?Nn.zOrder=0:ln=Math.max(ln,Cn)}}),St.set(dt,ln)}),st.selection.each(function(dt){It._assignZOrder(dt,St.get(dt.layer)+1)}),st.commitTransaction("pullToFront")},It.prototype.pushToBack=function(){var st=this.diagram;st.startTransaction("pushToBack");var St=new go.Map;st.selection.each(function(dt){St.set(dt.layer,0)}),St.iteratorKeys.each(function(dt){var ln=0;dt.parts.each(function(Nn){if(!Nn.isSelected){var Cn=Nn.zOrder;isNaN(Cn)?Nn.zOrder=0:ln=Math.min(ln,Cn)}}),St.set(dt,ln)}),st.selection.each(function(dt){It._assignZOrder(dt,St.get(dt.layer)-1-It._findGroupDepth(dt))}),st.commitTransaction("pushToBack")},It._assignZOrder=function(st,St,dt){dt===void 0&&(dt=st),st.layer===dt.layer&&(st.zOrder=St),st instanceof go.Group&&st.memberParts.each(function(ln){It._assignZOrder(ln,St+1,dt)})},It._findGroupDepth=function(st){if(st instanceof go.Group){var St=0;return st.memberParts.each(function(dt){St=Math.max(St,It._findGroupDepth(dt))}),St+1}else return 0},It.prototype.doKeyDown=function(){var st=this.diagram;if(st!==null){var St=st.lastInput;if(St.key==="Up"||St.key==="Down"||St.key==="Left"||St.key==="Right"){var dt=this.arrowKeyBehavior;if(dt==="none")return;if(dt==="select"){this._arrowKeySelect();return}else if(dt==="move"){this._arrowKeyMove();return}else if(dt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},It.prototype._getAllParts=function(){var st=new Array;return this.diagram.nodes.each(function(St){st.push(St)}),this.diagram.parts.each(function(St){st.push(St)}),st},It.prototype._arrowKeyMove=function(){var st=this.diagram,St=st.lastInput,dt=0,ln=0;if(St.control||St.meta)dt=1,ln=1;else if(st.grid!==null){var Nn=st.grid.gridCellSize;ln=Nn.width,dt=Nn.height}st.startTransaction("arrowKeyMove"),st.selection.each(function(Cn){St.key==="Up"?Cn.move(new go.Point(Cn.actualBounds.x,Cn.actualBounds.y-dt)):St.key==="Down"?Cn.move(new go.Point(Cn.actualBounds.x,Cn.actualBounds.y+dt)):St.key==="Left"?Cn.move(new go.Point(Cn.actualBounds.x-ln,Cn.actualBounds.y)):St.key==="Right"&&Cn.move(new go.Point(Cn.actualBounds.x+ln,Cn.actualBounds.y))}),st.commitTransaction("arrowKeyMove")},It.prototype._arrowKeySelect=function(){var st=this.diagram,St=st.lastInput,dt=null;St.key==="Up"?dt=this._findNearestPartTowards(270):St.key==="Down"?dt=this._findNearestPartTowards(90):St.key==="Left"?dt=this._findNearestPartTowards(180):St.key==="Right"&&(dt=this._findNearestPartTowards(0)),dt!==null&&(St.shift?dt.isSelected=!0:St.control||St.meta?dt.isSelected=!dt.isSelected:st.select(dt))},It.prototype._findNearestPartTowards=function(st){var St=this.diagram.selection.first();if(St===null)return null;for(var dt=St.actualBounds.center,ln=this._getAllParts(),Nn=1/0,Cn=St,la=0;la<ln.length;la++){var jn=ln[la];if(jn!==St&&jn.canSelect()){var lt=jn.actualBounds.center,Jt=dt.directionPoint(lt),Jn=this._angleCloseness(Jt,st);if(Jn<=45){var sn=dt.distanceSquaredPoint(lt);sn*=1+Math.sin(Jn*Math.PI/180),sn<Nn&&(Nn=sn,Cn=jn)}}}return Cn},It.prototype._angleCloseness=function(st,St){return Math.min(Math.abs(St-st),Math.min(Math.abs(St+360-st),Math.abs(St-360-st)))},It.prototype._arrowKeyTree=function(){var st=this.diagram,St=st.selection.first();if(St instanceof go.Node){var dt=st.lastInput;if(dt.key==="Right"){if(!St.isTreeLeaf)if(!St.isTreeExpanded)st.commandHandler.canExpandTree(St)&&st.commandHandler.expandTree(St);else{var ln=this._sortTreeChildrenByY(St).first();ln!==null&&st.select(ln)}}else if(dt.key==="Left")if(!St.isTreeLeaf&&St.isTreeExpanded)st.commandHandler.canCollapseTree(St)&&st.commandHandler.collapseTree(St);else{var Nn=St.findTreeParentNode();Nn!==null&&st.select(Nn)}else if(dt.key==="Up"){var Nn=St.findTreeParentNode();if(Nn!==null){var Cn=this._sortTreeChildrenByY(Nn),la=Cn.indexOf(St);if(la>0){for(var jn=Cn.elt(la-1);jn!==null&&jn.isTreeExpanded&&!jn.isTreeLeaf;){var lt=this._sortTreeChildrenByY(jn);jn=lt.last()}jn!==null&&st.select(jn)}else st.select(Nn)}}else if(dt.key==="Down")if(St.isTreeExpanded&&!St.isTreeLeaf){var ln=this._sortTreeChildrenByY(St).first();ln!==null&&st.select(ln)}else for(;St!==null;){var Nn=St.findTreeParentNode();if(Nn===null)break;var Cn=this._sortTreeChildrenByY(Nn),la=Cn.indexOf(St);if(la<Cn.length-1){st.select(Cn.elt(la+1));break}else St=Nn}var Jt=st.selection.first();Jt!==null&&st.scrollToRect(Jt.actualBounds)}},It.prototype._sortTreeChildrenByY=function(st){var St=new go.List().addAll(st.findTreeChildrenNodes());return St.sort(function(dt,ln){var Nn=dt.location,Cn=ln.location;return Nn.y<Cn.y?-1:Nn.y>Cn.y?1:Nn.x<Cn.x?-1:Nn.x>Cn.x?1:0}),St},It.prototype.copyToClipboard=function(st){go.CommandHandler.prototype.copyToClipboard.call(this,st),this._lastPasteOffset.set(this.pasteOffset)},It.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(It.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(It.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 Ut=It,Mt=te(63720),ft=te(43604),rt=te(38986),ze={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ve=te(59301),fe=(st,St,dt)=>new Promise((ln,Nn)=>{var Cn=lt=>{try{jn(dt.next(lt))}catch(Jt){Nn(Jt)}},la=lt=>{try{jn(dt.throw(lt))}catch(Jt){Nn(Jt)}},jn=lt=>lt.done?ln(lt.value):Promise.resolve(lt.value).then(Cn,la);jn((dt=dt.apply(st,St)).next())});function Ye({onCancel:st,callback:St}){let dt=(0,x.useRef)(),ln=(0,x.useRef)(),Nn=(0,x.useRef)(),Cn=(0,x.useRef)(!1);const la=(0,x.useRef)(!1),[jn,lt]=(0,x.useState)(0);function Jt(){const sn=Ke.bx.make,zn={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"};dt.current=new Ke.S0(ln.current,{padding:20,grid:sn(Ke.s_,"Grid",sn(Ke.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),sn(Ke.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Wn=>{var ua=Wn.diagram.commandHandler.addTopLevelParts(Wn.diagram.selection,!0);ua||Wn.diagram.currentTool.doCancel()},commandHandler:sn(Ut),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Wn=>{var ua=Wn.subject;ua.location=ua.location.copy().snapToGridPoint(Wn.diagram.grid.gridOrigin,Wn.diagram.grid.gridCellSize),setTimeout(()=>{Wn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Wn=>{var ua=Wn.subject;setTimeout(()=>{Wn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Wn=>{var ua=Wn.parameter.part;ua.invalidateConnectedLinks();var fa=Wn.subject;Wn.diagram.toolManager.linkingTool.isForwards?fa.toNode.invalidateConnectedLinks():fa.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),dt.current.nodeTemplate=sn(Ke.NB,"Auto",{locationSpot:Ke.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ke.$u(120,60),minSize:new Ke.$u(40,40),resizable:!0,resizeCellSize:new Ke.$u(10,10),rotatable:!0},new Ke.KX("location","loc",Ke.E9.parse).makeTwoWay(Ke.E9.stringify),new Ke.KX("desiredSize","size",Ke.$u.parse).makeTwoWay(Ke.$u.stringify),sn(Ke.bn,{name:"SHAPE",fill:zn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ke.z6.AllSides,toSpot:Ke.z6.AllSides},new Ke.KX("figure"),new Ke.KX("fill"),new Ke.KX("stroke","borderColor"),new Ke.KX("strokeWidth","thickness"),new Ke.KX("strokeDashArray","dash")),sn(Ke.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),sn(Ke.al,{margin:1,textAlign:"center",overflow:Ke.al.OverflowEllipsis,editable:!0},new Ke.KX("text").makeTwoWay(),new Ke.KX("stroke","color"))),dt.current.nodeTemplate.toolTip=sn("ToolTip",sn(Ke.s_,"Vertical",{maxSize:new Ke.$u(200,NaN)},sn(Ke.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ke.KX("text")),sn(Ke.al,{font:"10pt sans-serif",textAlign:"center"},new Ke.KX("text","details"))));function na(Wn,ua){var fa=(ra,Ua)=>{ra.handled=!0,ra.diagram.model.commit(rr=>{var Ga=Ua.part.adornedPart,_a=new Ke.E9().setRectSpot(Ga.actualBounds,Wn);_a.subtract(Ga.location),_a.scale(2,2),_a.x+=Math.sign(_a.x)*130,_a.y+=Math.sign(_a.y)*130,_a.add(Ga.location),_a.snapToGridPoint(ra.diagram.grid.gridOrigin,ra.diagram.grid.gridCellSize);var lr=rr.copyNodeData(Ga.data);rr.setGroupKeyForNodeData(lr,rr.getGroupKeyForNodeData(Ga.data)),rr.addNodeData(lr);var Vr={from:Ga.key,to:rr.getKeyForNodeData(lr)};rr.addLinkData(Vr);var Ir=ra.diagram.findNodeForData(lr);Ir.location=_a,ra.diagram.select(Ir),setTimeout(()=>{ra.diagram.commandHandler.editTextBlock()},20)})};return sn(Ke.bn,{figure:ua,alignment:Wn,alignmentFocus:Wn.opposite(),width:Wn.equals(Ke.z6.Top)||Wn.equals(Ke.z6.Bottom)?25:18,height:Wn.equals(Ke.z6.Top)||Wn.equals(Ke.z6.Bottom)?18:25,fill:"orange",stroke:zn.white,strokeWidth:4,mouseEnter:(ra,Ua)=>Ua.fill="dodgerblue",mouseLeave:(ra,Ua)=>Ua.fill="orange",isActionable:!0,click:fa,contextClick:fa})}function La(Wn){return sn(Ke.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(ua,fa)=>fa.fill="dodgerblue",mouseLeave:(ua,fa)=>fa.fill="orange",click:(ua,fa)=>{ua.diagram.commandHandler.showContextMenu(fa.part.adornedPart)}},Wn||{})}dt.current.nodeTemplate.selectionAdornmentTemplate=sn(Ke.uz,"Spot",sn(Ke.Vm,{padding:10}),na(Ke.z6.Top,"TriangleUp"),na(Ke.z6.Left,"TriangleLeft"),na(Ke.z6.Right,"TriangleRight"),na(Ke.z6.Bottom,"TriangleDown"),La({alignment:new Ke.z6(.75,0)}));function sa(Wn,ua){return(fa,ra)=>{fa.handled=!0,fa.diagram.model.commit(Ua=>{Ua.set(ra.part.adornedPart.data,Wn,ua)})}}function He(Wn,ua){return ua||(ua="color"),sn(Ke.bn,{width:16,height:16,stroke:"lightgray",fill:Wn,margin:1,background:"transparent",mouseEnter:(fa,ra)=>ra.stroke="dodgerblue",mouseLeave:(fa,ra)=>ra.stroke="lightgray",click:sa(ua,Wn),contextClick:sa(ua,Wn)})}function rn(){return[sn("ContextMenuButton",sn(Ke.s_,"Horizontal",He(zn.white,"fill"),He(zn.beige,"fill"),He(zn.extralightblue,"fill"),He(zn.extralightred,"fill"))),sn("ContextMenuButton",sn(Ke.s_,"Horizontal",He(zn.lightgray,"fill"),He(zn.lightgreen,"fill"),He(zn.lightblue,"fill"),He(zn.lightred,"fill")))]}function Qt(){return[sn("ContextMenuButton",sn(Ke.s_,"Horizontal",He(zn.black),He(zn.green),He(zn.blue),He(zn.red))),sn("ContextMenuButton",sn(Ke.s_,"Horizontal",He(zn.white),He(zn.magenta),He(zn.purple),He(zn.orange)))]}function En(Wn,ua){return ua||(ua="thickness"),sn(Ke.bn,"LineH",{width:16,height:16,strokeWidth:Wn,margin:1,background:"transparent",mouseEnter:(fa,ra)=>ra.background="dodgerblue",mouseLeave:(fa,ra)=>ra.background="transparent",click:sa(ua,Wn),contextClick:sa(ua,Wn)})}function In(Wn,ua){return ua||(ua="dash"),sn(Ke.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Wn,margin:1,background:"transparent",mouseEnter:(fa,ra)=>ra.background="dodgerblue",mouseLeave:(fa,ra)=>ra.background="transparent",click:sa(ua,Wn),contextClick:sa(ua,Wn)})}function kn(){return[sn("ContextMenuButton",sn(Ke.s_,"Horizontal",En(1),En(2),En(3),En(4))),sn("ContextMenuButton",sn(Ke.s_,"Horizontal",In(null),In([2,4]),In([4,4])))]}function An(Wn,ua){return ua||(ua="figure"),sn(Ke.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Wn,margin:1,background:"transparent",mouseEnter:(fa,ra)=>ra.fill="dodgerblue",mouseLeave:(fa,ra)=>ra.fill="lightgray",click:sa(ua,Wn),contextClick:sa(ua,Wn)})}dt.current.nodeTemplate.contextMenu=sn("ContextMenu",sn("ContextMenuButton",sn(Ke.s_,"Horizontal",An("Rectangle"),An("RoundedRectangle"),An("Ellipse"),An("Diamond"))),sn("ContextMenuButton",sn(Ke.s_,"Horizontal",An("Parallelogram2"),An("ManualOperation"),An("Procedure"),An("Cylinder1"))),sn("ContextMenuButton",sn(Ke.s_,"Horizontal",An("Terminator"),An("CreateRequest"),An("Document"),An("TriangleDown"))),rn(),Qt(),kn()),dt.current.groupTemplate=sn(Ke.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ke.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Wn,ua)=>{var fa=ua.addMembers(ua.diagram.selection,!0);fa||ua.diagram.currentTool.doCancel()},avoidable:!1},new Ke.KX("location","loc",Ke.E9.parse).makeTwoWay(Ke.E9.stringify),sn(Ke.s_,"Auto",{name:"BODY"},sn(Ke.bn,{parameter1:10,fill:zn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ke.z6.AllSides,toSpot:Ke.z6.AllSides},new Ke.KX("fill"),new Ke.KX("stroke","color"),new Ke.KX("strokeWidth","thickness"),new Ke.KX("strokeDashArray","dash")),sn(Ke.Vm,{background:"transparent",margin:20})),sn(Ke.al,{alignment:Ke.z6.Top,alignmentFocus:Ke.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ke.KX("text"),new Ke.KX("stroke","color"))),dt.current.groupTemplate.selectionAdornmentTemplate=sn(Ke.uz,"Spot",sn(Ke.s_,"Auto",sn(Ke.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),sn(Ke.Vm,{margin:1.5})),La({alignment:Ke.z6.TopRight,alignmentFocus:Ke.z6.BottomRight})),dt.current.groupTemplate.contextMenu=sn("ContextMenu",rn(),Qt(),kn()),dt.current.linkTemplate=sn(Ke.rU,{layerName:"Foreground",routing:Ke.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ke.KX("fromSpot","fromSpot",Ke.z6.parse),new Ke.KX("toSpot","toSpot",Ke.z6.parse),new Ke.KX("fromShortLength","dir",Wn=>Wn>=1?10:0),new Ke.KX("toShortLength","dir",Wn=>Wn>=1?10:0),new Ke.KX("points").makeTwoWay(),sn(Ke.bn,{strokeWidth:2},new Ke.KX("stroke","color"),new Ke.KX("strokeWidth","thickness"),new Ke.KX("strokeDashArray","dash")),sn(Ke.bn,{segmentIndex:0,segmentOffset:new Ke.E9(15,0),segmentOrientation:Ke.rU.OrientAlong,alignmentFocus:Ke.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ke.KX("fill","color"),new Ke.KX("visible","dir",Wn=>Wn===1)),sn(Ke.bn,{segmentIndex:-1,segmentOffset:new Ke.E9(-10,6),segmentOrientation:Ke.rU.OrientPlus90,alignmentFocus:Ke.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ke.KX("fill","color"),new Ke.KX("visible","dir",Wn=>Wn>=1),new Ke.KX("width","thickness",Wn=>7+3*Wn),new Ke.KX("height","thickness",Wn=>7+3*Wn),new Ke.KX("segmentOffset","thickness",Wn=>new Ke.E9(-15,4+1.5*Wn))),sn(Ke.bn,{segmentIndex:0,segmentOffset:new Ke.E9(15,-6),segmentOrientation:Ke.rU.OrientMinus90,alignmentFocus:Ke.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ke.KX("fill","color"),new Ke.KX("visible","dir",Wn=>Wn===2),new Ke.KX("width","thickness",Wn=>7+3*Wn),new Ke.KX("height","thickness",Wn=>7+3*Wn),new Ke.KX("segmentOffset","thickness",Wn=>new Ke.E9(-15,4+1.5*Wn))),sn(Ke.al,{alignmentFocus:new Ke.z6(0,1,-4,0),editable:!0},new Ke.KX("text").makeTwoWay(),new Ke.KX("stroke","color"))),dt.current.linkTemplate.selectionAdornmentTemplate=sn(Ke.uz,sn(Ke.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Dn(2)},new Ke.KX("pathPattern","thickness",Dn)),La({alignmentFocus:new Ke.z6(0,0,-6,-4)}));function Dn(Wn){return sn(Ke.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Wn+4).toString()+" H3"})}function Fa(Wn){var ua="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Wn===0?ua="M0 0 M16 16 M0 8 L16 8":Wn===2&&(ua="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),sn(Ke.bn,{geometryString:ua,margin:2,background:"transparent",mouseEnter:(fa,ra)=>ra.background="dodgerblue",mouseLeave:(fa,ra)=>ra.background="transparent",click:sa("dir",Wn),contextClick:sa("dir",Wn)})}function Oa(Wn){var ua=(fa,ra)=>{fa.handled=!0,fa.diagram.model.commit(Ua=>{var rr=ra.part.adornedPart;Ua.set(rr.data,Wn?"toSpot":"fromSpot",Ke.z6.stringify(Ke.z6.AllSides)),(Wn?rr.toNode:rr.fromNode).invalidateConnectedLinks()})};return sn(Ke.bn,{width:12,height:12,fill:"transparent",mouseEnter:(fa,ra)=>ra.background="dodgerblue",mouseLeave:(fa,ra)=>ra.background="transparent",click:ua,contextClick:ua})}function pn(Wn,ua){var fa=0,ra=Ke.z6.RightSide;Wn.equals(Ke.z6.Top)?(fa=270,ra=Ke.z6.TopSide):Wn.equals(Ke.z6.Left)?(fa=180,ra=Ke.z6.LeftSide):Wn.equals(Ke.z6.Bottom)&&(fa=90,ra=Ke.z6.BottomSide),ua||(fa-=180);var Ua=(rr,Ga)=>{rr.handled=!0,rr.diagram.model.commit(_a=>{var lr=Ga.part.adornedPart;_a.set(lr.data,ua?"toSpot":"fromSpot",Ke.z6.stringify(ra)),(ua?lr.toNode:lr.fromNode).invalidateConnectedLinks()})};return sn(Ke.bn,{alignment:Wn,alignmentFocus:Wn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:fa,background:"transparent",mouseEnter:(rr,Ga)=>Ga.background="dodgerblue",mouseLeave:(rr,Ga)=>Ga.background="transparent",click:Ua,contextClick:Ua})}dt.current.linkTemplate.contextMenu=sn("ContextMenu",Qt(),kn(),sn("ContextMenuButton",sn(Ke.s_,"Horizontal",Fa(0),Fa(1),Fa(2))),sn("ContextMenuButton",sn(Ke.s_,"Horizontal",sn(Ke.s_,"Spot",Oa(!1),pn(Ke.z6.Top,!1),pn(Ke.z6.Left,!1),pn(Ke.z6.Right,!1),pn(Ke.z6.Bottom,!1)),sn(Ke.s_,"Spot",{margin:new Ke.Zt(0,0,0,2)},Oa(!0),pn(Ke.z6.Top,!0),pn(Ke.z6.Left,!0),pn(Ke.z6.Right,!0),pn(Ke.z6.Bottom,!0)))));const Na=`{ "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 Yn=["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(Wn){return console.log("shapeName:",Wn),Yn.indexOf(Wn)>=0}var $a=new Ke.YI(Nn.current,{maxSelectionCount:1,linkTemplate:sn(Ke.rU,{locationSpot:Ke.z6.Center,selectionAdornmentTemplate:sn(Ke.uz,"Link",{locationSpot:Ke.z6.Center},sn(Ke.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),sn(Ke.bn,{toArrow:"Standard",stroke:null}))},{routing:Ke.rU.AvoidsNodes,curve:Ke.rU.JumpOver,corner:5,toShortLength:4},new Ke.KX("points"),sn(Ke.bn,{isPanelMain:!0,strokeWidth:2}),sn(Ke.bn,{toArrow:"Standard",stroke:null})),model:new Ke.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ke.bn.getFigureGenerators().toArray().map(Wn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Wn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return dt.current.addDiagramListener("TextEdited",function(Wn){var ua;const fa=Wn.subject.part;var ra=(ua=document.activeElement)==null?void 0:ua.value;typeof ra=="string"&&ra.trim()===""&&dt.current.model.commit(function(Ua){Ua.set(fa.data,"text","\u672A\u547D\u540D"),dt.current.commandHandler.stopCommand()},"increment")}),$a.nodeTemplate=sn(Ke.NB,"Auto",{locationSpot:Ke.z6.Center},new Ke.KX("location","location",Ke.E9.parse).makeTwoWay(Ke.E9.stringify),sn(Ke.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Ke.KX("stroke").makeTwoWay(),new Ke.KX("fill").makeTwoWay(),new Ke.KX("figure")),sn(Ke.al,{margin:new Ke.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ke.$u(16,16),maxSize:new Ke.$u(10,NaN),textAlign:"center",editable:!0},new Ke.KX("key").makeTwoWay())),setTimeout(()=>{dt.current.grid=sn(Ke.s_,"Grid",sn(Ke.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),sn(Ke.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),dt.current.grid.visible=!0,dt.current.grid.gridCellStroke="darkgray",dt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=dt.current,dt.current}const Jn=()=>fe(this,null,function*(){var sn=dt.current.makeImage();const zn=yield(0,rt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:sn.src}});St({src:zn.url})});return(0,x.useEffect)(()=>(setTimeout(()=>{Jt()},500),lt(jn+1),()=>{dt.current=null}),[]),ve.createElement("div",{ref:la,className:Cn.current?`${ze.maxH60} body-overflow-initial`:"body-overflow-initial"},ve.createElement(qe.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!jn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:ve.createElement(qt.Z,null,ve.createElement(ft.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ve.createElement(ft.Z,{onClick:()=>{var sn,zn,na=dt.current.selection.first();if(Cn.current=!Cn.current,document.activeElement&&na){let La=(zn=(sn=document.activeElement)==null?void 0:sn.value)==null?void 0:zn.trim();typeof La=="string"&&dt.current.model.commit(function(sa){sa.set(na.data,"text",La||"\u672A\u547D\u540D"),dt.current.commandHandler.stopCommand()},"increment")}lt(jn+1)}},ve.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:st},ve.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:ze.flowChartWrp},ve.createElement("div",{style:{display:"flex",height:"100%"}},ve.createElement("div",{style:{width:"300px",height:"100%"}},ve.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),ve.createElement("div",{style:{height:"calc(100% - 50px)"},className:ze.myPaletteDiv,ref:Nn})),ve.createElement("div",{style:{flex:1,position:"relative"}},ve.createElement("div",{ref:ln,style:{height:"80vh"}}))),ve.createElement("div",{className:"tr"},ve.createElement(he.ZP,{size:"large",onClick:Jn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Lt=Ye,Fe=te(5112),xe=te(5871);const nt=Fe.ZP.Group,Xe={margin:"0 8px"};var Ae=({callback:st,onCancel:St})=>{function dt(ln){st(ln)}return x.createElement(De.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:dt},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:Xe},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:Xe},"\u884C\u6570"),x.createElement(De.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(xe.Z,null)),x.createElement("span",{style:Xe},"\u5217\u6570"),x.createElement(De.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(xe.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:Xe},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(De.default.Item,{name:"align"},x.createElement(nt,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(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(he.ZP,{type:"ghost",onClick:St},"\u53D6\u6D88")))},pt=te(78673),hn=te(43001),$t=te.n(hn),on=(0,x.forwardRef)(({use3d:st,width:St,height:dt,callback:ln,showSaveButton:Nn},Cn)=>{const la=(0,x.useRef)(),jn=(0,x.useRef)(),[lt,Jt]=(0,x.useState)(!1),Jn=(0,x.useRef)({id:la,appName:"graphing",width:St||1e3,height:dt||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)(()=>{jn.current=new($t())(Jn.current,!0),window.onload=function(){jn.current.inject("applet_container")}},[]);const sn=()=>{var zn=window.ggbApplet.getPNGBase64(1,!0,72);return ln&&ln(zn),zn};return(0,x.useEffect)(()=>{Jn.current.appName=lt?"3D":"graphing",jn.current.inject("applet_container")},[lt]),(0,x.useEffect)(()=>{Jt(st)},[st]),(0,x.useImperativeHandle)(Cn,()=>({getImgData:sn})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:la}),x.createElement(qt.Z,{align:"middle"},x.createElement(ft.Z,{flex:1},x.createElement(pt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:lt,onChange:zn=>Jt(zn)})),x.createElement(ft.Z,null,x.createElement(he.ZP,{size:"large",onClick:sn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),gn=te(76562),_e=te(1012),Bt=te(8591);const Ot="link",ht="upload-image",Dt="add-flowchart",vn="draw-image",yn="add-flowchart",Pn="code-block",Rn="add-table",ta="------------",aa={default:ta,left:`:${ta}`,center:`:${ta}:`,right:`${ta}:`};var _n=te(37808),Pa=(st,St,dt)=>new Promise((ln,Nn)=>{var Cn=lt=>{try{jn(dt.next(lt))}catch(Jt){Nn(Jt)}},la=lt=>{try{jn(dt.throw(lt))}catch(Jt){Nn(Jt)}},jn=lt=>lt.done?ln(lt.value):Promise.resolve(lt.value).then(Cn,la);jn((dt=dt.apply(st,St)).next())});function Ea(){}let Zn=0;const wa=1e4,en="\u2581",bn="@\u2581\u2581@",Mn="@\u2581@",Qn=`
|
|
**\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={[Ot]:"\u6DFB\u52A0\u94FE\u63A5",[Pn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[ht]:"\u6DFB\u52A0\u56FE\u7247",[vn]:"\u6DFB\u52A0\u753B\u56FE",[Dt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Rn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var fn=({defaultValue:st="",onChange:St,width:dt="100%",height:ln=400,miniToolbar:Nn=!1,isFocus:Cn=!1,watch:la,insertTemp:jn,mode:lt="markdown",id:Jt="markdown-editor-id",showResizeBar:Jn=!1,noStorage:sn=!1,showNullButton:zn=!1,showNullProgramButton:na=!1,hidetoolBar:La=!1,fullScreen:sa=!1,onBlur:He,onCMBeforeChange:rn,onFullScreen:Qt,className:En="",disablePaste:In=!1,disabled:kn=!1,disabledFill:An=!1,placeholder:Dn="",values:Fa="",extraUse:Oa})=>{const[pn,Na]=(0,x.useState)(null),[Yn,qa]=(0,x.useState)(st),[$a,Wn]=(0,x.useState)(la),[ua,fa]=(0,x.useState)(sa),[ra,Ua]=(0,x.useState)(""),[rr,Ga]=(0,x.useState)(0),[_a,lr]=(0,x.useState)(ln),[Vr,Ir]=(0,x.useState)(!1),uo=(0,x.useRef)((0,_e.Z)()),yr=(0,x.useRef)(!1),Sr=(0,x.useRef)(),[Ar,br]=(0,x.useState)(0),[Br,Ta]=(0,x.useState)(0),or=(0,x.useRef)(),Lr=(0,x.useRef)(),Or=(0,x.useRef)(),Cr=(0,x.useRef)(),Qr=()=>Pa(void 0,null,function*(){var Qa;const pa=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:uo.current}});(Qa=pa==null?void 0:pa.attachments)!=null&&Qa.length&&(console.log("cm:",pn,or),pa.attachments.map(Tn=>{Tn.content_type.indexOf("image")>-1?pn.replaceSelection(``):Tn.content_type.indexOf("video")>-1?pn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Tn.content_type.indexOf("pdf")>-1?pn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Tn.id}?type=${Tn.content_type}&disposition=inline" target="_blank">${Tn.name}</a>`):pn.replaceSelection(`[${Tn.name}](${ENV.API_SERVER}/api/attachments/${Tn.id}?type=${Tn.content_type})`)}))});(0,x.useEffect)(()=>{const Qa=window.scrollY||window.pageYOffset;qa(Fa),pn==null||pn.setValue(Fa),window.scrollTo(0,Qa)},[Fa]),(0,x.useEffect)(()=>{Qt==null||Qt(ua)},[ua]),(0,x.useEffect)(()=>{if(or.current){let Qa=function(Tn,Ba){var gr;if(In){Ba.preventDefault();return}const Ce=Ba.clipboardData;if(Ce){const un=Ce.types.toString(),xn=Ce.items;if(un==="Files"||Ce.types.indexOf("Files")>-1){if(Ba.preventDefault(),lt=="stex")return;try{let Kn=xn[1];((gr=xn[0])==null?void 0:gr.kind)==="file"&&(Kn=xn[0]);const an=Kn.getAsFile(),oa=an.name.split(".").pop();(0,at.I)(an,ea=>{var Bn,On,Aa;ea.id?((Bn=an==null?void 0:an.type)==null?void 0:Bn.indexOf("image"))>-1?pa.replaceSelection(`<img width="100%" src="/api/attachments/${ea.id}?type=${ea.content_type})" alt="" />`):((On=an==null?void 0:an.type)==null?void 0:On.indexOf("video"))>-1?pa.replaceSelection(`<video width="100%" controls src="/api/attachments/${ea.id}"></video>`):((Aa=an==null?void 0:an.type)==null?void 0:Aa.indexOf("pdf"))>-1?pa.replaceSelection(`<a href="/api/attachments/${ea.id}?type=${an.type}&disposition=inline" target="_blank">${an.name}</a>`):Ze.includes(oa)?pa.replaceSelection(`<a href="/api/attachments/${ea.id}?type=office&disposition=inline" target="_blank">${an.name}</a>`):pa.replaceSelection(`[${an.name}](/api/attachments/${ea.id}?type=${ea.content_type})`):(ea==null?void 0:ea.status)===401&&(Bt.ZP.warning((ea==null?void 0:ea.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Kn){Bt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const pa=Be().fromTextArea(or.current,{mode:lt,lineNumbers:!Nn,lineWrapping:!0,value:st,autoCloseTags:!na,autoCloseBrackets:!0});return pa.on("keyup",function(Tn,Ba){Ba.keyCode===8&&(Tn.getValue()==""?pa.setOption("placeholder",Dn):pa.setOption("placeholder",null))}),pa.on("keydown",function(Tn,Ba){if(Ba.keyCode===8){var gr=Xa(Tn);gr&&Ba.preventDefault()}}),Cn&&pa.focus(),pa.on("paste",Qa),pa.on("dragleave",function(Tn,Ba){Lr.current.classList.remove("mouse-hover-md")}),kn&&pa.on("beforeChange",function(Tn,Ba){(Ba.origin==="paste"||Ba.origin==="+input")&&Ba.cancel()}),Na(pa),()=>{pa.off("paste",Qa)}}},[]);const Hr=(0,x.useCallback)(()=>{if(Lr.current)try{}catch(Qa){console.log(Qa,"---- to set md editor body height")}},[_a,Lr,ua]);(0,x.useEffect)(()=>{function Qa(){let pa=new Me.Z(Tn=>{for(let Ba of Tn)(Ba.target.offsetHeight>0||Ba.target.offsetWidth>0)&&(Hr(),pn.setSize("100%","100%"),pn.refresh())});return pa.observe(or.current.parentElement),pa}if(pn){const pa=Qa();return()=>{var Tn,Ba;(Tn=or.current)!=null&&Tn.parentElement&&pa.unobserve((Ba=or.current)==null?void 0:Ba.parentElement)}}},[pn,Hr]),(0,x.useEffect)(()=>{if(pn){let Qa=[];for(const[pa,Tn]of Object.entries(tn)){let Ba={[pa]:()=>{wr(Tn)}};Qa.push(Ba),pn.addKeyMap(Ba)}return Sr.current=setInterval(()=>{yr.current&&Qr()},4e3),()=>{clearInterval(Sr.current);for(let pa of Qa)pn.removeKeyMap(pa)}}},[pn]),(0,x.useEffect)(()=>{sa!==ua&&fa(sa)},[sa]),(0,_n.Z)(()=>{if(!sn&&rr>0){let Qa=new Date().getTime(),pa=window.sessionStorage.getItem(Jt);Qa>=rr+wa&&(!pa||pa!==Yn)&&(window.sessionStorage.setItem(Jt,Yn),Ir(!0))}},wa),(0,x.useEffect)(()=>{Wn(la)},[pn,la]),(0,x.useEffect)(()=>{pn&&Cn&&pn.focus()},[pn,Cn]),(0,x.useEffect)(()=>{if($a&&pn){let Qa=function(Tn){let Ba=Tn.target;if(Cr.current){let gr=Ba.scrollTop/Ba.scrollHeight;Cr.current.scrollTop=Cr.current.scrollHeight*gr}};const pa=pn.getScrollerElement();return pa.addEventListener("scroll",Qa),()=>{pa.removeEventListener("scroll",Qa)}}},[pn,$a]),(0,x.useEffect)(()=>{if(pn&&rn){let Qa=function(pa,Tn){rn(pa,Tn)};return pn.on("beforeChange",Qa),()=>{pn.off("beforeChange",Qa)}}},[pn,rn]),(0,x.useEffect)(()=>{if(pn&&He){let Qa=function(){He(pn.getValue())};return pn.on("blur",Qa),()=>{pn.off("blur",Qa)}}},[pn,He]);function Xa(Qa,pa){var Tn=Qa.getDoc(),Ba=Tn.getCursor(),gr=Tn.getLine(Ba.line),Ce=gr.charAt(Ba.ch-1),un=gr.lastIndexOf("@\u2581@",Ba.ch),xn=gr.lastIndexOf("@\u2581\u2581@",Ba.ch),Kn=un>xn?un:xn,an=un>xn?3:4;if(bn.indexOf(Ce)===-1)return null;if(console.log("change1:",pa,Qa,gr,Ba,Kn,un,xn,Ce),Kn>=0&&Ba.ch-Kn<5){var oa=Kn+an;return Tn.replaceRange("",{line:Ba.line,ch:Kn},{line:Ba.line,ch:oa}),{line:Ba.line,ch:oa}}return null}(0,x.useEffect)(()=>{if(pn){let Qa=function(pa,Tn){const Ba=pa.getValue();qa(Ba),Ga(new Date().getTime()),pa.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),St&&(na?St(Ba,Yr(Ba)):St(Ba))};return pn.on("change",Qa),()=>{pn.off("change",Qa)}}},[pn,St]),(0,x.useEffect)(()=>{if(pn)if(st==null)pn.setValue(""),qa("");else{const Qa=window.scrollY||window.pageYOffset;st!==pn.getValue()&&(pn.setValue(st),qa(st),pn.setCursor(kn?1:pn.lineCount(),0),window.scrollTo(0,Qa))}},[pn,st]);const wr=(0,x.useCallback)(Qa=>{const pa=pn.getCursor(),Tn=pn.getSelection();let Ba=Tn.split(`
|
|
`);switch(Qa){case"bold":return pn.replaceSelection("**"+Tn+"**"),Tn===""&&pn.setCursor(pa.line,pa.ch+2),pn.focus();case"italic":return pn.replaceSelection("*"+Tn+"*"),Tn===""&&pn.setCursor(pa.line,pa.ch+1),pn.focus();case"code":return pn.replaceSelection("`"+Tn+"`"),Tn===""&&pn.setCursor(pa.line,pa.ch+1),pn.focus();case"inline-latex":return Ua("inline-latex"),pn.focus();case"latex":return pn.replaceSelection("```latex\n"+Tn+"\n```"),pn.setCursor(pa.line+1,Tn.length+1),pn.focus();case"line-break":return pn.replaceSelection(`<br/>
|
|
`),pn.focus();case"list-ul":return Tn===""?pn.replaceSelection("- "+Tn):pn.replaceSelection(Ba.map(gr=>gr===""?"":`- ${gr}`).join(`
|
|
`)),pn.focus();case"list-ol":return Tn===""?pn.replaceSelection("1. "+Tn):pn.replaceSelection(Ba.map((gr,Ce)=>gr===""?"":`${Ce+1}. ${gr}`).join(`
|
|
`)),pn.focus();case"add-null-ch":return Tn===""&&pn.setCursor(pa.line,pa.ch),pn.replaceSelection(en),pn.focus();case"add-signal":return Tn===""&&pn.setCursor(pa.line,pa.ch),pn.replaceSelection(Mn),pn.focus();case"add-multiple":return Tn===""&&pn.setCursor(pa.line,pa.ch),pn.replaceSelection(bn),pn.focus();case"inster-template-1":return Tn===""&&pn.setCursor(pa.line,pa.ch),pn.replaceSelection(Qn),pn.focus();case"eraser":return pn.setValue(""),pn.focus();case"trigger-watch":return Wn(!$a),pn.focus();case"trigger-full-screen":return fa(!ua),pn.focus();case Ot:Ua(Ot);return;case Pn:Ua(Pn);return;case ht:Ua(ht);return;case vn:Ua(vn);return;case"maths-latex":Ua("maths-latex");return;case Dt:Ua(Dt);return;case Rn:Ua(Rn);return;default:throw new Error}},[pn,$a,ua]),pr=(0,x.useCallback)((Qa,pa)=>{var Tn,Ba,gr,Ce,un,xn;switch(Ua(""),ra){case Ot:const{title:Bn,link:On}=Qa;return pn.replaceSelection(`[${Bn}](${On})`),pn.focus();case Pn:const{language:Aa,content:Xn}=Qa;return pn.replaceSelection(["```"+Aa,Xn,"```"].join(`
|
|
`)),pn.focus();case"maths-latex":for(var Kn=atob(Qa),an=new Uint8Array(Kn.length),oa=0;oa<Kn.length;oa++)an[oa]=Kn.charCodeAt(oa);var ea=new Blob([an],{type:"image/png"});(0,at.I)(ea,xo=>{xo.id?pn.replaceSelection(``):(xo==null?void 0:xo.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":pn.replaceSelection("`$$"+Qa+"$$`");break;case ht:case vn:case yn:const{src:ga,alt:va}=Qa,Va=pa,vr=(gr=(Ba=(Tn=Va==null?void 0:Va.name)==null?void 0:Tn.split("."))==null?void 0:Ba.pop)==null?void 0:gr.call(Ba);return((Ce=Va==null?void 0:Va.type)==null?void 0:Ce.indexOf("image"))>-1||!(Va!=null&&Va.type)?Va.align||Va.width?pn.replaceSelection(`<p style="text-align:${Va.align||"initial"}"><img width="${Va.width?Va.width+"%":"initial"}" src="${ga}" alt="${va||""}" /></p>`):pn.replaceSelection(`<img width="100%" src="${ga}" alt="${va||""}" />`):((un=Va==null?void 0:Va.type)==null?void 0:un.indexOf("video"))>-1?pn.replaceSelection(`<video width="100%" controls src="${ga}"></video>`):((xn=Va==null?void 0:Va.type)==null?void 0:xn.indexOf("pdf"))>-1?pn.replaceSelection(`<a href="${ga}?type=${Va.type}&disposition=inline" target="_blank">${Va.name}</a>`):Ze.includes(vr)?pn.replaceSelection(`<a href="${ga}?type=office&disposition=inline" target="_blank">${Va.name}</a>`):pn.replaceSelection(`[${Va.name}](${ga})`),pn.focus();case Rn:const{row:zr,col:kr,align:mo}=Qa;let vo=`
|
|
`;for(let xo=0;xo<zr;xo++){let pi=[],gi=[];for(let ri=0;ri<kr;ri++)xo===1&&gi.push(aa[mo]),pi.push(" ");xo===1&&(vo+=`| ${gi.join(" | ")} |
|
|
`),vo+=`| ${pi.join(kr===1?"":" | ")} |
|
|
`}return pn.replaceSelection(vo+`
|
|
`),pn.focus();default:throw new Error}},[pn,ra]),Jr=(0,x.useMemo)(()=>{switch(ra){case Ot:return x.createElement(nn,{callback:pr,onCancel:no});case Pn:return x.createElement(dn.Z,{callback:pr,onCancel:no});case ht:return x.createElement(at.Z,{callback:pr,onCancel:no});case Dt:return x.createElement(Lt,{callback:pr,onCancel:no});case Rn:return x.createElement(Ae,{callback:pr,onCancel:no});case"maths-latex":return x.createElement(on,{showSaveButton:!0,callback:pr});case"inline-latex":return x.createElement(gn.Z,{showSaveButton:!0,callback:pr});default:return null}},[ra]);function no(){Ua("")}(0,x.useEffect)(()=>{if(Or.current){let Qa=function(un){gr=!0,Ce=un.pageY},pa=function(){gr=!1},Tn=function(un){if(gr){let xn=un.pageY-Ce;xn<0&&(xn=0),xn>300&&(xn=300);let Kn=ln+xn+"px";lr(Kn)}},Ba=Or.current,gr=!1,Ce=0;return Ba.addEventListener("mousedown",Qa),document.addEventListener("mousemove",Tn),document.addEventListener("mouseup",pa),()=>{Ba.removeEventListener("mousedown",Qa),document.removeEventListener("mousemove",Tn),document.removeEventListener("mouseup",pa)}}},[pn,Or]),(0,x.useEffect)(()=>{lr(ln)},[ln]);const Bo=Nt(dt),To=Nt(_a),ko={width:Bo,height:To},Dr=(0,x.useMemo)(()=>{if(rr){let Qa=new Date(rr),pa=Qa.getHours(),Tn=Qa.getMinutes(),Ba=Qa.getSeconds();return pa=pa<10?"0"+pa:pa,Tn=Tn<10?"0"+Tn:Tn,Ba=Ba<10?"0"+Ba:Ba,`${pa}:${Tn}:${Ba}`}return 0},[rr]),Yr=Qa=>{const pa=[];if(na){let Tn=-1;Qa=Qa.replace(/(@▁▁@|@▁@)/g,function(Ba,gr,Ce){pa.push({multiLine:Ba!==Mn})})}return pa};function Po(){window.sessionStorage.removeItem(Jt),Ir(!1),Ga(0)}function Qo(){Ir(!1),Ga(0),pn.setValue(window.sessionStorage.getItem(Jt))}(0,x.useEffect)(()=>{jt[ra]&&ra!==vn&&ra!==Dt&&setTimeout(()=>{const Qa=document.getElementsByClassName("markdown-popup-form")[0],pa=window.innerWidth/2-Qa.offsetWidth/2,Tn=window.innerHeight/2-Qa.offsetHeight/2;br(pa),Ta(Tn)},0)},[ra]);const Ho=Qa=>{Qa.preventDefault();const pa=Qa.clientX-Ar,Tn=Qa.clientY-Br;document.body.onmousemove=Ba=>{let gr=Ba.clientX-pa,Ce=Ba.clientY-Tn;const un=document.getElementsByClassName("markdown-popup-form")[0],xn=window.innerWidth-un.offsetWidth,Kn=window.innerHeight-un.offsetHeight;gr=Math.max(0,Math.min(gr,xn)),Ce=Math.max(0,Math.min(Ce,Kn)),ei(Ba.clientX,Ba.clientY,pa,Tn)&&(br(gr),Ta(Ce))},document.body.onmouseup=function(){document.body.onmousemove=null}},ei=(Qa,pa,Tn,Ba)=>{const gr=document.body.clientHeight,Ce=document.body.clientWidth;return Qa<20&&Tn>Qa||Qa>Ce-20&&Tn<Qa||pa<20&&Ba>pa||pa>gr-20&&Ba<pa?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return x.createElement(x.Fragment,null,x.createElement("div",{className:"markdown-editor-wrapper",ref:Lr},x.createElement("div",{className:`markdown-editor-container ${En} ${$a?"on-preview":""} ${Nn?"mini":""} ${ua?"full-screen":""}`,style:ko},x.createElement(Ee,{insertTemp:jn,watch:$a,fullScreen:ua,showNullButton:zn,showNullProgramButton:na,onActionCallback:wr,hidetoolBar:La,extraUse:Oa}),x.createElement("div",{className:"markdown-editor-body"},x.createElement("div",{className:"codemirror-container"},x.createElement("textarea",{ref:or,placeholder:Dn})),$a?x.createElement("div",{ref:Cr,className:"preview-container"},lt==="stex"&&x.createElement(tt,{value:Yn}),lt!=="stex"&&x.createElement(Ue.Z,{disabledFill:An,showProgramFill:na,value:Yn})):null))),Jn?x.createElement("a",{ref:Or,className:"editor-resize"}):null,ra===vn&&x.createElement(mn,{callback:pr,onCancel:no}),ra===Dt&&x.createElement(Lt,{callback:pr,onCancel:no}),x.createElement(Ge.Z,null,jt[ra]&&ra!==vn&&ra!==Dt?x.createElement(qe.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Ar,top:Br},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:Ho},jt[ra]),open:!0,onCancel:no,footer:null,destroyOnClose:!0,width:ra===Dt?"1200px":null,height:ra===Dt?"80vh":null,className:"markdown-popup-form"},Jr):null))}},17077:function(Wt,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),ct=te(46699),ot=te(59301),Ve=te(48790),Ue=te(59301),tt=Object.defineProperty,$e=Object.defineProperties,le=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(De,Qe,he)=>Qe in De?tt(De,Qe,{enumerable:!0,configurable:!0,writable:!0,value:he}):De[Qe]=he,z=(De,Qe)=>{for(var he in Qe||(Qe={}))a.call(Qe,he)&&E(De,he,Qe[he]);if(y)for(var he of y(Qe))b.call(Qe,he)&&E(De,he,Qe[he]);return De},ne=(De,Qe)=>$e(De,le(Qe));const{useForm:re}=x.default,ie={width:280,marginRight:10},ce={labelCol:{span:5},wrapperCol:{span:19}};var pe=({callback:De,onCancel:Qe})=>{const[he]=re();let Te=(0,ot.useRef)();function et(ut){Te.current.width=he.getFieldValue("width"),Te.current.align=he.getFieldValue("align"),De(ut,Te.current)}function Et(ut,xt){if(ut.status===-1){ue.ZP.error(ut.message);return}he.setFieldsValue({src:`/api/attachments/${ut.id}`,type:xt.type})}function Ne(ut){let xt=ut.target.files[0];Te.current=xt,Ge(xt,Et)}return Ue.createElement(x.default,ne(z({form:he},ce),{className:"upload-image-panel",onFinish:et,style:{width:470,overflow:"hidden"}}),Ue.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ue.createElement("div",{className:"flex-container"},Ue.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ue.createElement(Be.default,{style:ie})),Ue.createElement(Ee,{onFileChange:Ne}))),Ue.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ue.createElement(Be.default,{style:{width:264}})),Ue.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ue.createElement(Me.Z,null,Ue.createElement(x.default.Item,{name:"width",style:{margin:0}},Ue.createElement(Le.Z,{style:{width:264}})),Ue.createElement("span",{className:"ml8"},"%"))),Ue.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ue.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"}]})),Ue.createElement("aside",null,Ue.createElement(x.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ue.createElement(se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ue.createElement(se.ZP,{type:"default",onClick:Qe},"\u53D6\u6D88"))))};function Ee({onFileChange:De}){return Ue.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ue.createElement("input",{type:"file",onChange:De}))}function Ge(De,Qe){if(!De)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 he=new FormData;he.append("editormd-image-file",De),he.append("file_param_name","editormd-image-file"),he.append("byxhr","true");var Te=new window.XMLHttpRequest;Te.withCredentials=!0,Te.addEventListener("load",function(et){Qe(JSON.parse(et.target.responseText),De)},!1),Te.addEventListener("error",function(et){console.error(et)},!1),Te.open("POST",`${ct.KI}/api/attachments.json`),Te.send(he)}},91558:function(Wt,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)}}},52843:function(Wt,Gt,te){"use strict";te.d(Gt,{i:function(){return pe},Z:function(){return Ge}});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(71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PTlZowd7MB9oycjKWKUVmPamCVNDUK9GOYyl22medAKsG9LsC8SEg63YRZb245w2HTRrdl6Hr8PsPFjMAQybfJeKDa7Of0kP5SLdjo4+7WRiQ/RpsmFGlzUVaMpKhp2X4L757waDkZmXasjTodl4aJJqSX7oWwS4BvmbprwXaRoaJGTh1ndqrDY+7pXymvweCOByoxfIcnkOVDYheb7EL2ZUMbIZTaOOXjdujd5pca8aL2XYVj9vdryvc6D3Izitr6WqpdpBAsJMN/cKsz+p4iS2V6U7Q0rOG77i8jSz8vUbWI+2YqXqV6YuBKBGPOklhH/Zx5UCYrIWrXK4Ye7iug3X/iAa67Fno3fat33FOzmmpVbhTyQWu8iGZEWg7JqyDFxGCIlJSNLT2sxZBO0APZkNqlSkIBnowJkK+w+hZkwrDaGPHWI1LX2PrNo57O9YeMbN09Mt8zk+xB91FyPexXCCtHW0/sRfqgH/LCz22f/A7sV2Bi7OtD8AAAAAElFTkSuQmCC",ce=te(59301);const pe=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:ot,swimg:Ve},{name:"101\u8BA1\u5212",ptimg:Ue,swimg:tt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:$e,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 Ge=({className:De,dataSource:Qe=[],col:he=4,right:Te,bottom:et=23,precision:Et=0,wrapWidth:Ne=1200,trackEventItems:ut,loading:xt,onRemove:yt=()=>{},isCurrent:gt=!0,showAlias:Yt=!1})=>{const wt=Math.floor((Ne-(he-1)*Te)/he),nn=[{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(dn=>(window.ENV==="build"&&(dn.ptimg=`/react/build${dn.ptimg}`,dn.swimg=`/react/build${dn.swimg}`),dn));return ce.createElement(ue.Z,{spinning:xt},ce.createElement("div",{className:Le()(x.list,De)},!!(Qe!=null&&Qe.length)&&(Qe==null?void 0:Qe.map((dn,at)=>{const{name:qe,id:qt,identifier:Sn,featured:Zt,school_name:mn,image_url:Ke,excellent:It,is_plan:Ut,subject_tags:Mt=[]}=dn,ft=Mt==null?void 0:Mt.filter(rt=>rt!=="\u5FC5\u4FEE\u8BFE\u7A0B"&&rt!=="\u9009\u4FEE\u8BFE\u7A0B");return ce.createElement("div",{key:qt,className:x.wrap,style:{width:wt,marginRight:(1+at)%he===0?0:Te+Et,marginBottom:et}},ce.createElement("a",{className:x.li,onClick:rt=>{rt.preventDefault(),rt.stopPropagation(),ut&&(0,Oe.L9)([ut]),(0,Oe.xg)(`/paths/${Sn}`)}},ce.createElement("div",{className:x.img},ce.createElement("img",{className:x.cover,src:`${Ke}`}),gt&&(0,ct.bg)()&&(dn==null?void 0:dn.studying)&&ce.createElement("div",{className:`${x.movebq} user-path-items`,onClick:rt=>{rt.stopPropagation(),yt(dn)}},ce.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ce.createElement("span",{className:"c-red"},"\u79FB\u9664")),ft==null?void 0:ft.map((rt,ze)=>{var ve,fe;if(ze===0){const Lt=(ve=nn.find(Fe=>Fe.name==rt))==null?void 0:ve.swimg;return ce.createElement("img",{className:x.sign,src:Lt,style:{left:"-4px"}})}const Ye=(fe=nn.find(Lt=>Lt.name==rt))==null?void 0:fe.ptimg;return ce.createElement("img",{className:x.sign,src:Ye,style:{left:`${48+52*(ze-1)+2*ze}px`}})}),((dn==null?void 0:dn.must)||dn.not_must)&&ce.createElement("img",{className:x.sign,src:dn.must?re:ie,style:{width:28,left:ft!=null&&ft.length?48+52*((ft==null?void 0:ft.length)-1)+2*(ft==null?void 0:ft.length):7}}),ce.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(dn==null?void 0:dn.excellent)&&ce.createElement("div",{className:x.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ce.createElement("div",{className:x.name},ce.createElement(Be.Z,{title:Yt&&(dn!=null&&dn.excellent_alias_name)?ce.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${qe}`,ce.createElement("br",null),ce.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${dn==null?void 0:dn.excellent_alias_name}`)):qe},ce.createElement("span",{className:x.e},Yt&&(dn==null?void 0:dn.excellent_alias_name)||qe))),ce.createElement("div",{className:x.tags},ce.createElement("div",null,ce.createElement(Be.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ce.createElement("span",null,ce.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ce.createElement("span",null,dn.stages_count))),ce.createElement(Be.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ce.createElement("span",null,ce.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ce.createElement("span",null,dn.members_count)))))))})),!Qe.length&&ce.createElement(se.Z,null)))}},9148:function(Wt,Gt,te){"use strict";te.d(Gt,{jL:function(){return Le},w9:function(){return wt},QD:function(){return gn},cQ:function(){return ut.Z},op:function(){return Ae},O5:function(){return Qn},_b:function(){return vn},t7:function(){return E},Gi:function(){return Sn},YG:function(){return qe},qp:function(){return Ue},vr:function(){return Ot},qE:function(){return $t},Je:function(){return re},wb:function(){return Ne},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+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6N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Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Le=({dataSource:Ze=[],img:Nt,imgWidth:kt=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((fn,st)=>x.createElement("div",{key:st,onClick:fn.click},fn.name,fn.sign?x.createElement("img",{src:Be,width:39}):null))),jt),Nt&&x.createElement("img",{style:{marginTop:33,marginRight:38},src:Nt,width:kt}))),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),ct=te.n(se),ot=te(89392),Ue=({dataSource:Ze=[],value:Nt,onChange:kt,onTitleChange:Kt,className:tn,title:jt,titleWidth:fn=41,style:st={},fontColor:St="#6A7283",showCount:dt})=>{const[ln,Nn]=(0,x.useState)(0),[Cn,la]=(0,x.useState)(!1),jn=(0,x.useRef)(null),lt=(0,x.useRef)(null);return(0,x.useEffect)(()=>{var Jt;Ze.length!==0&&(((Jt=jn==null?void 0:jn.current)==null?void 0:Jt.clientHeight)>97?Nn(1):Nn(0)),Ze.length===0&&Nn(0),la(!1)},[Ze]),x.createElement("div",{className:ct()(Oe.row,tn),style:st},x.createElement("div",{onClick:(0,ot.throttle)(()=>Kt==null?void 0:Kt(),2e3),style:{width:fn,marginTop:Cn?12:4},className:`${Oe.title} ${Kt?"current":""}`},jt),x.createElement("div",{className:Cn?`${Oe.tagsWrap} ${Oe.tagsBorderWrap}`:Oe.tagsWrap},x.createElement("div",{className:Oe.bar,ref:lt,style:ln>0?{height:ln===1?97:"auto",overflow:ln===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},x.createElement("div",{className:Oe.tag,ref:jn},Ze==null?void 0:Ze.map(Jt=>x.createElement("span",{onClick:()=>kt(Jt.id),key:Jt.id,style:{color:St},className:Nt===Jt.id?Oe.active:""},x.createElement("span",{title:Jt.name,className:Oe.name},Jt.name),!!dt&&x.createElement("span",{className:Oe.num},Jt.count))))),!!ln&&x.createElement(x.Fragment,null,ln===1?x.createElement("div",{onClick:()=>{var Jt;Nn(2),((Jt=jn==null?void 0:jn.current)==null?void 0:Jt.clientHeight)>245?la(!0):la(!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,Nn(1),la(!1)},className:Oe.action},"\u6536\u8D77",x.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},tt={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:kt,className:Kt,style:tn={}})=>x.createElement("div",{style:tn,className:ct()(tt.tabs,Kt)},Ze.map(jt=>x.createElement("span",{onClick:()=>kt(jt.id),className:Nt===jt.id?tt.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:kt,onInputChange:Kt=()=>{},className:tn,style:jt={},placeholder:fn,allowClear:st=!1})=>{var St;const[dt,ln]=(0,x.useState)(""),[Nn,Cn]=(0,x.useState)("");(0,x.useEffect)(()=>{var lt;let Jt=Nt;(lt=JSON.stringify(Nt))!=null&<.includes("{")&&(ln(Nt.id),Jt=Nt.value||"");try{Cn(decodeURIComponent(Jt||""))}catch(Jn){Cn(decodeURIComponent(Jt||""))}},[Nt]);const la=()=>{kt(encodeURIComponent(Nn),dt||null)},jn=lt=>{lt!==dt&&(ln(lt),kt(encodeURIComponent(Nn),lt))};return x.createElement("div",{className:ct()(y.input,tn),style:jt},!!Ze.length&&x.createElement("div",{className:y.dropdown},x.createElement("div",{className:y.text},(St=Ze.find(lt=>lt.id===dt))==null?void 0:St.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,Jt)=>x.createElement("div",{key:Jt,onClick:()=>jn(lt.id)},lt.name)))),x.createElement(a.default,{onPressEnter:la,value:Nn,onChange:lt=>{Cn(lt.target.value),Kt(encodeURIComponent(lt.target.value),dt||null)},bordered:!1,placeholder:fn}),x.createElement("i",{onClick:la,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:kt,total:Kt,pageSize:tn,style:jt={}})=>{const fn=Ze<2,st=Ze>=Math.ceil(Kt/tn);return Kt<=tn?x.createElement(x.Fragment,null):x.createElement("div",{className:ct()(z.quickPager,kt),style:jt},x.createElement("div",{onClick:()=>{fn||Nt(Ze-1,"prev")},className:fn?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"},ce=te(71418),pe=te(6848),Ee=te(13570),Ge=te(346),De=te(51257),Qe=te(96908),he=te(57177),Te=te(81378),et=te(28426),Ne=({className:Ze,dataSource:Nt=[],col:kt=4,right:Kt,bottom:tn=23,precision:jt=0,wrapWidth:fn=1200,trackEventItems:st,loading:St})=>{const dt=Math.floor((fn-(kt-1)*Kt)/kt);return x.createElement(ce.Z,{spinning:St},x.createElement("div",{className:ct()(ie.list,Ze)},!!Nt.length&&Nt.map((ln,Nn)=>{const{name:Cn,id:la,identifier:jn,power:lt,cover_image_id:Jt,pic:Jn}=ln;return x.createElement("div",{className:ie.wrap,key:la,style:{width:dt,marginRight:(1+Nn)%kt===0?0:Kt+jt,marginBottom:tn}},x.createElement("a",{target:"_blank",href:`/shixuns/${jn}/challenges`,className:ie.li,onClick:sn=>{sn.preventDefault(),st&&(0,De.L9)([st]),lt&&(0,De.xg)(`/shixuns/${jn}/challenges`)}},x.createElement("div",{className:ie.img},x.createElement("img",{className:ie.cover,src:`${Jn}`}),ln.is_jupyter&&x.createElement("img",{className:ie.sign,src:Qe}),ln.is_jupyter_lab&&x.createElement("img",{className:ie.sign,src:he}),ln.is_unity_3d&&x.createElement("img",{className:ie.sign,src:Te})),x.createElement("div",{className:ie.name},x.createElement(pe.Z,{title:Cn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:ie.e},Cn||"\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,ln.challenges_count))),!!ln.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,ln.myshixuns_count))),x.createElement(pe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},x.createElement("span",null,x.createElement("span",null,ln.level))),x.createElement("div",{className:ie.rate},x.createElement(Ee.Z,{allowHalf:!0,disabled:!0,defaultValue:ln.score_info}),x.createElement("span",null,"\xA0",ln.score_info?`${ln.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(et.Z,null)))},ut=te(52843),xt={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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zv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",gt=te(59301),wt=({className:Ze,dataSource:Nt=[],col:kt=4,right:Kt,bottom:tn=23,precision:jt=0,wrapWidth:fn=1200,trackEventItems:st,loading:St})=>{const dt=Math.floor((fn-(kt-1)*Kt)/kt);return gt.createElement(ce.Z,{spinning:St},gt.createElement("div",{className:ct()(xt.list,Ze)},!!Nt.length&&Nt.map((ln,Nn)=>{const{subject_identifier:Cn,id:la,identifier:jn,power:lt}=ln,Jt=ln.is_public!=0&&ln.is_public;return gt.createElement("div",{className:xt.wrap,key:la,style:{width:dt,marginRight:(1+Nn)%kt===0?0:Kt+jt,marginBottom:tn}},gt.createElement("a",{className:xt.li,onClick:Jn=>{Jn.preventDefault(),st&&(0,De.L9)([st]),(0,De.xg)(ln.first_category_url)}},gt.createElement("div",{className:xt.top},gt.createElement(pe.Z,{title:ln.name},gt.createElement("div",{className:xt.name},ln.name)),gt.createElement("img",{className:xt.img,src:Ge.Z.IMG_SERVER+"/images/"+ln.avatar_url}),gt.createElement("div",{className:xt.text,title:ln.creator},ln.creator),Cn&>.createElement("div",{className:xt.btns},gt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),gt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Jt&>.createElement("div",{className:xt.sign},"\u516C\u5F00")),gt.createElement("div",{className:xt.bottom},ln.visits>0&>.createElement(pe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-liulanyan"}),gt.createElement("span",null,ln.visits))),ln.course_members_count>0&>.createElement(pe.Z,{title:"\u6210\u5458",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-chengyuan"}),ln.course_members_count)),ln.tasks_count>0&>.createElement(pe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-zuoye"}),ln.tasks_count)),ln.is_end?gt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):gt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ln.is_accessible&>.createElement("div",{className:xt.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&>.createElement(et.Z,null)))},nn={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"},dn=te(25690),qe=({dataSource:Ze=[],value:Nt,onChange:kt,className:Kt,style:tn={},tabBarExtraContent:jt})=>x.createElement("div",{className:ct()(nn.tabs,Kt),style:tn},x.createElement("div",{className:nn.tabsWrap},Ze.map((fn,st)=>x.createElement("aside",{className:nn.tab,onClick:()=>{kt(fn.id),fn.link&&dn.history.push(fn.link)},key:st},x.createElement("div",{className:Nt===fn.id?nn.active:""},fn.name),(fn==null?void 0:fn.resetCount)==null&&(fn==null?void 0:fn.total)!==void 0&&x.createElement("span",null,"\uFF08",fn==null?void 0:fn.total,"\uFF09"),(fn==null?void 0:fn.resetCount)!==void 0&&(fn==null?void 0:fn.total)!==void 0&&x.createElement(pe.Z,{title:(fn==null?void 0:fn.tip)!=null?fn==null?void 0:fn.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},fn==null?void 0:fn.resetCount),"/",x.createElement("span",null,fn==null?void 0:fn.total),"\uFF09"))))),x.createElement("div",{className:nn.tabBar},jt)),Sn=({className:Ze,style:Nt={},children:kt})=>x.createElement("div",{className:ct()(Ze),style:Nt},kt),Zt={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},mn=te(38854),Ke=te(20834);const It=[{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:kt,onSort:Kt,onDrop:tn,dataSource:jt=It})=>{var fn;return x.createElement("div",{className:ct()(Zt.orderWrap,kt)},x.createElement(mn.Z,{dropdownRender:()=>x.createElement(Ke.default,null,jt.map((st,St)=>x.createElement(Ke.default.Item,{key:St,onClick:()=>tn(st.id)},st.name)))},x.createElement("span",{className:Zt.orderTextWrap},(fn=jt.find(st=>Nt===st.id))==null?void 0:fn.name)),x.createElement("span",{className:Zt.orderIconWrap},x.createElement("span",{className:Zt.orderAsc},x.createElement("i",{className:Ze==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer}`,onClick:()=>Kt(Ze==="asc"?"desc":"asc")})),x.createElement("span",{className:Zt.orderDesc},x.createElement("i",{className:Ze==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer}`,onClick:()=>Kt(Ze==="asc"?"desc":"asc")}))))},ft={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),ze=Object.defineProperty,ve=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,Lt=(Ze,Nt,kt)=>Nt in Ze?ze(Ze,Nt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Ze[Nt]=kt,Fe=(Ze,Nt)=>{for(var kt in Nt||(Nt={}))fe.call(Nt,kt)&&Lt(Ze,kt,Nt[kt]);if(ve)for(var kt of ve(Nt))Ye.call(Nt,kt)&&Lt(Ze,kt,Nt[kt]);return Ze},xe=(Ze,Nt)=>{var kt={};for(var Kt in Ze)fe.call(Ze,Kt)&&Nt.indexOf(Kt)<0&&(kt[Kt]=Ze[Kt]);if(Ze!=null&&ve)for(var Kt of ve(Ze))Nt.indexOf(Kt)<0&&Ye.call(Ze,Kt)&&(kt[Kt]=Ze[Kt]);return kt},nt=(Ze,Nt,kt)=>new Promise((Kt,tn)=>{var jt=St=>{try{st(kt.next(St))}catch(dt){tn(dt)}},fn=St=>{try{st(kt.throw(St))}catch(dt){tn(dt)}},st=St=>St.done?Kt(St.value):Promise.resolve(St.value).then(jt,fn);st((kt=kt.apply(Ze,Nt)).next())}),Ae=Ze=>{var Nt=Ze,{className:kt,style:Kt,children:tn,loading:jt=!1,openLoading:fn,onClick:st=()=>{},size:St="middle",shape:dt="round"}=Nt,ln=xe(Nt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Nn,Cn]=(0,x.useState)(!1);return x.createElement(rt.ZP,Fe({onClick:(0,ot.throttle)(la=>nt(void 0,null,function*(){fn&&Cn(!0);try{yield st(la)}catch(jn){console.log("error",jn)}fn&&Cn(!1)}),2e3,{leading:!0,trailing:!1}),className:ct()(ft.btn,ft[`${St}-${dt}`],kt),style:Kt,size:St,shape:dt,loading:Nn||jt},ln),tn)},pt={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"},$t=({className:Ze,style:Nt,children:kt=null,onClick:Kt,title:tn})=>x.createElement("div",{className:ct()(pt.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:pt.node},kt)),Ht={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"},gn=({confirmShow:Ze=!0,confirmTitle:Nt,confirmClick:kt,cancelShow:Kt=!0,cancelTitle:tn,cancelClick:jt,className:fn,style:st,confirmLoading:St=!1})=>x.createElement("div",{className:ct()(Ht.btns,fn),style:st},Ze&&x.createElement(rt.ZP,{loading:St,onClick:kt,type:"primary",className:Ht.confirm},Nt),Kt&&x.createElement(rt.ZP,{onClick:jt,className:Ht.cancel},tn)),_e={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"},Ot=({className:Ze,style:Nt={},LeftContent:kt,children:Kt,RightContent:tn})=>x.createElement("div",{className:ct()(_e.fixedBottom,Ze),style:Nt},x.createElement("div",{className:_e.wrap},x.createElement("div",{className:_e.left},kt),x.createElement("div",{className:_e.center},Kt),x.createElement("div",{className:_e.right},tn))),ht={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"},vn=({className:Ze,style:Nt={},dataSource:kt=[]})=>x.createElement("div",{className:ct()(ht.crumbs,Ze),style:Nt},kt.map((Kt,tn)=>tn<kt.length-1?x.createElement(x.Fragment,{key:tn},Kt.path||Kt.onClick?x.createElement("span",{className:ht.hover,onClick:Kt!=null&&Kt.onClick?Kt.onClick:()=>dn.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))),yn=te(31797),Pn=Object.defineProperty,Rn=Object.defineProperties,ta=Object.getOwnPropertyDescriptors,aa=Object.getOwnPropertySymbols,_n=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Ea=(Ze,Nt,kt)=>Nt in Ze?Pn(Ze,Nt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Ze[Nt]=kt,Zn=(Ze,Nt)=>{for(var kt in Nt||(Nt={}))_n.call(Nt,kt)&&Ea(Ze,kt,Nt[kt]);if(aa)for(var kt of aa(Nt))Pa.call(Nt,kt)&&Ea(Ze,kt,Nt[kt]);return Ze},wa=(Ze,Nt)=>Rn(Ze,ta(Nt)),en=(Ze,Nt)=>{var kt={};for(var Kt in Ze)_n.call(Ze,Kt)&&Nt.indexOf(Kt)<0&&(kt[Kt]=Ze[Kt]);if(Ze!=null&&aa)for(var Kt of aa(Ze))Nt.indexOf(Kt)<0&&Pa.call(Ze,Kt)&&(kt[Kt]=Ze[Kt]);return kt};const{Countdown:bn}=yn.default;var Qn=Ze=>{var Nt=Ze,{onChange:kt}=Nt,Kt=en(Nt,["onChange"]);const[tn,jt]=(0,x.useState)(null);(0,x.useEffect)(()=>{typeof tn=="number"&&tn>=0&&kt(tn)},[tn]);const fn=st=>{const St=Math.floor(st/1e3);jt(St)};return x.createElement(bn,wa(Zn({},Kt),{onChange:fn}))}},37808:function(Wt,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])}},4881:function(Wt,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(346),ct=te(51257),ot=te(38986),Ve=te(25690),Ue={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"},tt=te(59301),$e=(a,b,E)=>new Promise((z,ne)=>{var re=pe=>{try{ce(E.next(pe))}catch(Ee){ne(Ee)}},ie=pe=>{try{ce(E.throw(pe))}catch(Ee){ne(Ee)}},ce=pe=>pe.done?z(pe.value):Promise.resolve(pe.value).then(re,ie);ce((E=E.apply(a,b)).next())}),y=({visible:a,onOk:b,onCancel:E,sub_discipline_id:z=[]})=>{const[ne,re]=(0,x.useState)([]),[ie,ce]=(0,x.useState)(!1),pe=(0,Ve.useParams)(),[Ee,Ge]=(0,x.useState)([]),[De,Qe]=(0,x.useState)([]);(0,x.useEffect)(()=>{a?he():(Qe([]),re([]),ce(!1))},[a]);const he=()=>$e(void 0,null,function*(){const xt=yield(0,ot.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});Ge(xt.disciplines||[]),Qe((z==null?void 0:z.length)>0?z:[])}),Te=()=>{if((De==null?void 0:De.length)===0)return ue.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",De),ce(!0),b(ne,De[1],()=>{ce(!1)})},et=()=>{E()},Et=()=>{const xt=`${se.Z.API_SERVER}/api/courses/${pe.coursesId}/exercises/down_template`;(0,ct.Nd)(null,xt)},Ne=xt=>{const yt={name:xt.name,uid:xt.uid,file:xt};return re([yt]),!1},ut=()=>{re([])};return tt.createElement(Be.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:Te,centered:!0,wrapClassName:Ue.customModal,onCancel:et,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:Ue.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:ie},tt.createElement("div",{className:Ue.content},tt.createElement("aside",null,tt.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),tt.createElement("ul",null,tt.createElement("li",null,tt.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),tt.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:Et},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),tt.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:Et,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),tt.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),tt.createElement("li",{className:Ue.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),tt.createElement("li",{className:Ue.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),tt.createElement("li",{className:Ue.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),tt.createElement("li",{className:Ue.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),tt.createElement("aside",{style:{marginTop:22}},tt.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),tt.createElement("ul",{style:{flex:1}},tt.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&&tt.createElement(tt.Fragment,null,tt.createElement(Me.Z,{value:De,className:Ue.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Ee,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(xt,yt)=>{Qe(xt||[])}}),tt.createElement("br",null),tt.createElement(Le.default,{action:`${se.Z.API_SERVER}/api/attachments.json`,beforeUpload:Ne,onRemove:ut,withCredentials:!0,fileList:ne,accept:".xls,.xlsx",showUploadList:!1},tt.createElement(Oe.ZP,{className:Ue.upload,type:"primary",icon:tt.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),ne.map((xt,yt)=>tt.createElement("div",{key:yt,className:Ue.fileList},tt.createElement("span",{className:Ue.fileName},xt==null?void 0:xt.name),tt.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:ut})))))))}},37345:function(Wt,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||{})},81072:function(Wt,Gt,te){"use strict";te.d(Gt,{H7:function(){return y},MK:function(){return le},MU:function(){return Ve},X6:function(){return tt},bM:function(){return ot},fi:function(){return a},fu:function(){return ct},n4:function(){return b},rX:function(){return $e},vl:function(){return E},zO:function(){return Ue}});var x=te(38986),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 ct(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 Ue(z,ne){return ne.language&&(ne.language=encodeURIComponent(ne.language)),(0,x.U2)(`myproblems/${z}/submit_records.json`,ne)}function tt(z){return(0,x.U2)("myproblems/record_detail.json",{id:z})}function $e(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)}},53311:function(Wt,Gt,te){"use strict";var x=te(59301),ue=te(6848),Be=te(92832),Me=te(8591),Le=te(2397),Oe=te(59301),se=(ot,Ve,Ue)=>new Promise((tt,$e)=>{var le=b=>{try{a(Ue.next(b))}catch(E){$e(E)}},y=b=>{try{a(Ue.throw(b))}catch(E){$e(E)}},a=b=>b.done?tt(b.value):Promise.resolve(b.value).then(le,y);a((Ue=Ue.apply(ot,Ve)).next())});const ct=({defaultValue:ot,onFinish:Ve})=>{const[Ue,tt]=(0,x.useState)(!1),[$e,le]=(0,x.useState)(ot);return(0,x.useEffect)(()=>{le(ot)},[ot]),Oe.createElement("div",null,Ue?Oe.createElement(Be.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:$e,onChange:y=>{le(y.target.value)},onBlur:()=>se(void 0,null,function*(){var y;if(((y=$e==null?void 0:$e.replaceAll(" ",""))==null?void 0:y.length)<=0){Me.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve($e))&&tt(!1)}),onPressEnter:()=>se(void 0,null,function*(){var y;if(((y=$e==null?void 0:$e.replaceAll(" ",""))==null?void 0:y.length)<=0){Me.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve($e))&&tt(!1)})}):Oe.createElement("div",{className:Le.Z.title},$e,Oe.createElement(ue.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},Oe.createElement("i",{className:`${Le.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>tt(!0)}))))};Gt.Z=ct},8391:function(Wt,Gt,te){"use strict";te.r(Gt),te.d(Gt,{default:function(){return gl},useCourseOptions:function(){return dl}});var x=te(59301),ue=te(25690),Be=te(78241),Me=te(66104),Le=te(8591),Oe=te(71418),se=te(92832),ct=te(19842),ot=te(24905),Ve=te(5112),Ue=te(5871),tt=te(3113),$e=te(2397),le=te(93629),y=te(55305),a=te(84842),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"},ce=te(51257),pe=te(38986),Ee=te(28426),Ge=te(70100),De=te(57985),Qe=te(91842),he=te(59301),Te=Object.defineProperty,et=Object.defineProperties,Et=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,yt=(Se,We,Je)=>We in Se?Te(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,gt=(Se,We)=>{for(var Je in We||(We={}))ut.call(We,Je)&&yt(Se,Je,We[Je]);if(Ne)for(var Je of Ne(We))xt.call(We,Je)&&yt(Se,Je,We[Je]);return Se},Yt=(Se,We)=>et(Se,Et(We)),wt=(Se,We,Je)=>new Promise((cn,da)=>{var ka=ge=>{try{me(Je.next(ge))}catch(be){da(be)}},Ka=ge=>{try{me(Je.throw(ge))}catch(be){da(be)}},me=ge=>ge.done?cn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Je=Je.apply(Se,We)).next())}),dn=({Itemid:Se,setqitem:We,qitem:Je,data:cn,getdata:da,bigitem:ka,setBigqitem:Ka,isedit:me,handleEditing:ge})=>{const[be,ke]=(0,x.useState)([]),[Ie,je]=(0,x.useState)(!1);(0,x.useEffect)(()=>{cn.length>0&&ke([...cn])},[cn]);const vt=(Ct,it)=>wt(void 0,null,function*(){if(me){ge();return}if(!Ct.destination)return;je(!0);let _t=yield(0,pe.ZP)(`/api/examination_banks/${Se}/examination_banks_item_banks/${it==null?void 0:it[Ct.source.index].question_id}/adjust_position.json`,{method:"post",body:{id:Se,itemid:it==null?void 0:it[Ct.source.index].question_id,position:Ct.destination.index}});je(!1),_t.status===0&&da({id:it==null?void 0:it[Ct.source.index].question_id})});return he.createElement("div",null,he.createElement(De.Z5,{onDragEnd:Ct=>vt(Ct,be)},he.createElement(De.bK,{droppableId:"droppable"},(Ct,it)=>he.createElement("div",gt({ref:Ct.innerRef},Ct.droppableProps),he.createElement(Oe.Z,{spinning:Ie},be.map((_t,Ft)=>he.createElement(De._l,{key:Ft,draggableId:Ft.toString(),index:Ft},(Xt,Ln)=>{var zt,At;return he.createElement("aside",gt(gt({ref:Xt.innerRef},Xt.draggableProps),Xt.dragHandleProps),he.createElement(ne.Z,{title:he.createElement(Qe.Z,{value:(_t==null?void 0:_t.question_type)===8?(zt=_t==null?void 0:_t.program_attr)==null?void 0:zt.description:_t.question_title}),color:"#fff",placement:"left",overlayClassName:ie.titleTooltip},he.createElement("div",{onClick:()=>{if(me){ge();return}We(Yt(gt({},_t),{index:Ft+1})),Ka(ka),(0,ce.Vf)("#question-scroll-id")},className:`${ie.qcount} ${_t.question_id===(Je==null?void 0:Je.question_id)?ie.qcountclick:""}`},he.createElement("span",{className:ie.score},_t==null?void 0:_t.question_score,"\u5206"),he.createElement("span",{className:ie.qtitle},Ft+1,"\u3001",he.createElement(Qe.Z,{value:(_t==null?void 0:_t.question_type)===8?(At=_t==null?void 0:_t.program_attr)==null?void 0:At.description:_t.question_title,showTextOnly:!0})))))}))),Ct.placeholder))))},at=te(95237),qe=te(81727),qt=te(57809),Sn=te(78673),Zt=te(61485),mn=te(22962),Ke=te(59301),It=(Se,We,Je)=>new Promise((cn,da)=>{var ka=ge=>{try{me(Je.next(ge))}catch(be){da(be)}},Ka=ge=>{try{me(Je.throw(ge))}catch(be){da(be)}},me=ge=>ge.done?cn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Je=Je.apply(Se,We)).next())}),Mt=({form:Se,TagDiscipline:We,exerciseitem:Je,qitem:cn,getTagData:da})=>{var ka;const[Ka,me]=(0,x.useState)(!0),[ge,be]=(0,x.useState)(!1),[ke,Ie]=(0,x.useState)(""),[je,vt]=(0,x.useState)([]),[Ct,it]=(0,x.useState)([]),[_t,Ft]=(0,x.useState)(0);(0,x.useEffect)(()=>{Ln()},[]);const Xt=zt=>It(void 0,null,function*(){const At=yield(0,pe.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:zt==null?void 0:zt.sub_discipline_id}});it(At==null?void 0:At.tag_disciplines)}),Ln=()=>It(void 0,null,function*(){const zt=yield(0,pe.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});vt(zt.disciplines||[]),cn!=null&&cn.sub_discipline_id&&Xt(cn),Ft(cn!=null&&cn.sub_discipline_id?1:0),Se.setFieldsValue({difficulty:cn.difficulty||2,repeat_answer:!cn.repeat_answer,sub_discipline_id:cn!=null&&cn.sub_discipline_id?[cn==null?void 0:cn.discipline_id,cn==null?void 0:cn.sub_discipline_id]:[]})});return Ke.createElement("div",null,Ke.createElement("div",{style:{marginTop:30,overflow:"hidden",height:Ka?"100%":0}},Ke.createElement(Be.default.Item,{className:ie.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},Ke.createElement(Ve.ZP.Group,{className:ie.radiogroup},Ke.createElement(Ve.ZP.Button,{className:ie.easy,value:1},"\u7B80\u5355"),Ke.createElement(Ve.ZP.Button,{className:ie.medium,value:2},"\u9002\u4E2D"),Ke.createElement(Ve.ZP.Button,{className:ie.hard,value:3},"\u56F0\u96BE"))),Ke.createElement(Be.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:ie.formcenterselect},Ke.createElement(ct.Z,{className:ie.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:je,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(zt,At)=>{Se.setFieldsValue({sub_discipline_id:zt,tag_discipline_ids:[]}),Ft(zt?zt.length:0),(zt==null?void 0:zt.length)>0&&(Xt({sub_discipline_id:zt[1]}),zt[1]==(cn==null?void 0:cn.sub_discipline_id)&&Se.setFieldValue("tag_discipline_ids",cn.tag_discipline_ids))},onClear:()=>{it([]),Se.setFieldValue("tag_discipline_ids",[]),Ft(0)}})),Ke.createElement(Be.default.Item,{className:ie.formcenterselect},Ke.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},Ke.createElement(Be.default.Item,{name:"tag_discipline_ids"},Ke.createElement(qt.default,{className:ie.selectitems,disabled:_t===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:(zt,At)=>At.key.indexOf(zt.toLowerCase())>=0},Ct==null?void 0:Ct.map(zt=>Ke.createElement(qt.default.Option,{key:zt.name+zt.id,value:zt.id},Ke.createElement("div",{style:{display:"flex",alignItems:"center"}},Ke.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},zt.name),(zt==null?void 0:zt.type)==="personal"&&Ke.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),_t>0&&Ke.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},Ke.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),Ke.createElement("a",{onClick:()=>{be(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),Ke.createElement(Be.default.Item,{className:ie.formcenterselect},Ke.createElement("div",{style:{display:"flex",alignItems:"center"}},Ke.createElement(Be.default.Item,{name:"repeat_answer",valuePropName:"checked"},Ke.createElement(Sn.Z,null)),Ke.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"40px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",Ke.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"},Ke.createElement(Zt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),Ke.createElement(mn.Z,{open:ge,subDisciplineId:(ka=Se.getFieldValue("sub_discipline_id"))==null?void 0:ka[1],onCancel:()=>{be(!1)},onOkClick:zt=>{it(At=>[...At,zt]),Se.setFieldValue("tag_discipline_ids",[...Se.getFieldValue("tag_discipline_ids"),zt==null?void 0:zt.id])}}))},ft=te(59301),rt=Object.defineProperty,ze=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,Fe=(Se,We,Je)=>We in Se?rt(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,xe=(Se,We)=>{for(var Je in We||(We={}))Ye.call(We,Je)&&Fe(Se,Je,We[Je]);if(fe)for(var Je of fe(We))Lt.call(We,Je)&&Fe(Se,Je,We[Je]);return Se},nt=(Se,We)=>ze(Se,ve(We)),Xe=(Se,We,Je)=>new Promise((cn,da)=>{var ka=ge=>{try{me(Je.next(ge))}catch(be){da(be)}},Ka=ge=>{try{me(Je.throw(ge))}catch(be){da(be)}},me=ge=>ge.done?cn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Je=Je.apply(Se,We)).next())}),pt=({qitem:Se,setisedit:We,TagDiscipline:Je,exerciseitem:cn,seveeditor:da,deleteitem:ka,getTagData:Ka,init:me,showTip:ge=!1})=>{const[be]=Be.default.useForm();(0,x.useEffect)(()=>{var Ie;be.setFieldsValue(nt(xe({},Se),{name:Se==null?void 0:Se.question_title,choices:(Ie=Se==null?void 0:Se.question_choices)==null?void 0:Ie.map(je=>nt(xe({},je),{standard_boolean:je!=null&&je.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)}))},[Se]);const ke=Ie=>{if(!(Ie!=null&&Ie.length))return!1;const je=Ie.map(Ct=>{var it;return(it=Ct.choice_text)==null?void 0:it.trim().replace(/^\s+|\s+$/g,"")});return new Set(je).size!==je.length};return ft.createElement("div",null,ft.createElement(Be.default,{form:be,colon:!1,onFinish:Ie=>{var je;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 vt=nt(xe({},Ie),{item_type:Se==null?void 0:Se.question_type,choices:(je=Ie==null?void 0:Ie.choices)==null?void 0:je.map(Ct=>nt(xe({},Ct),{is_answer:Ct.standard_boolean}))});da(xe(xe({},Se),vt))},onFinishFailed:Ie=>Xe(void 0,null,function*(){var je,vt;Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((vt=(je=Ie==null?void 0:Ie.errorFields)==null?void 0:je[0])==null?void 0:vt.name,{behavior:"smooth",block:"center"})})},ft.createElement("div",{style:{display:"flex",alignItems:"center"}},ft.createElement("div",{style:{flex:1}},ft.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),ft.createElement("span",null,(Se==null?void 0:Se.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),!Se.isadd&&ft.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},ft.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),ft.createElement(tt.ZP,{onClick:()=>{var Ie;Se.isadd?(We(!1),me()):(be.setFieldsValue(nt(xe({},Se),{name:Se==null?void 0:Se.question_title,choices:(Ie=Se==null?void 0:Se.question_choices)==null?void 0:Ie.map(je=>nt(xe({},je),{standard_boolean:je!=null&&je.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)})),We(!1))}},"\u53D6\u6D88"),ft.createElement(ne.Z,{overlayClassName:ie.shake,open:ge,placement:"bottom",color:"rgba(244,156,14,0.19)",title:ft.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},ft.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")},ft.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>Xe(void 0,null,function*(){be.submit()})},"\u4FDD\u5B58"))),ft.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},ft.createElement(at.Z,{align:"middle"},ft.createElement(Be.default.Item,{className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},ft.createElement(Ue.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}))),ft.createElement(qe.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"}),ft.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:cn,TagDiscipline:Je,form:be}))))},hn=te(92046),$t=te(74716),Ht=te(59301),on=Object.defineProperty,gn=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,Bt=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,Dt=(Se,We,Je)=>We in Se?on(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,vn=(Se,We)=>{for(var Je in We||(We={}))Ot.call(We,Je)&&Dt(Se,Je,We[Je]);if(Bt)for(var Je of Bt(We))ht.call(We,Je)&&Dt(Se,Je,We[Je]);return Se},yn=(Se,We)=>gn(Se,_e(We)),Pn=(Se,We,Je)=>new Promise((cn,da)=>{var ka=ge=>{try{me(Je.next(ge))}catch(be){da(be)}},Ka=ge=>{try{me(Je.throw(ge))}catch(be){da(be)}},me=ge=>ge.done?cn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Je=Je.apply(Se,We)).next())}),ta=({qitem:Se,TagDiscipline:We,exerciseitem:Je,setisedit:cn,seveeditor:da,deleteitem:ka,getTagData:Ka,init:me,showTip:ge=!1})=>{const[be]=Be.default.useForm(),ke=Be.default.useWatch("use_blank_score",be);return(0,x.useEffect)(()=>{be.setFieldsValue(yn(vn({},Se),{standard_answers:Se.standard_answers||[],name:Se.question_title,repeat_answer:!Se.repeat_answer}))},[Se]),Ht.createElement("div",null,Ht.createElement(Be.default,{form:be,colon:!1,onValuesChange:(Ie,je)=>{var vt,Ct,it,_t;if(Ie!=null&&Ie.standard_answers||Ie!=null&&Ie.use_blank_score){let Ft=((vt=be.getFieldValue("standard_answers"))==null?void 0:vt.length)>0&&((it=(Ct=be.getFieldValue("standard_answers"))==null?void 0:Ct.map(Xt=>Xt.score))==null?void 0:it.filter(Xt=>Xt));(Ft==null?void 0:Ft.length)>0&&be.setFieldsValue({question_score:(Ft==null?void 0:Ft.length)>0&&((_t=Ft.reduce((Xt,Ln)=>Xt+Ln))==null?void 0:_t.toFixed(1))})}},onFinish:Ie=>{var je;da(yn(vn(vn({},Se),Ie),{item_type:Se==null?void 0:Se.question_type,standard_answers:(je=Ie.standard_answers)==null?void 0:je.map((vt,Ct)=>yn(vn({},vt),{position:vt.choice_id||Ct+1}))}))},onFinishFailed:Ie=>Pn(void 0,null,function*(){var je,vt;Ie.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,ce.pE)(),Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((vt=(je=Ie==null?void 0:Ie.errorFields)==null?void 0:je[0])==null?void 0:vt.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,"\u586B\u7A7A\u9898")),!Se.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(tt.ZP,{onClick:()=>{Se.isadd?(cn(!1),me()):(be.setFieldsValue(yn(vn({},Se),{standard_answers:Se.standard_answers,name:Se.question_title,repeat_answer:!Se.repeat_answer})),cn(!1))}},"\u53D6\u6D88"),Ht.createElement(ne.Z,{overlayClassName:ie.shake,open:ge,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(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),Ht.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Ht.createElement(at.Z,{align:"middle"},ke?Ht.createElement($t.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):Ht.createElement(Be.default.Item,{key:2,className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Ht.createElement(Ue.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})),Ht.createElement(Be.default.Item,{name:"use_blank_score",noStyle:!0},Ht.createElement(Ve.ZP.Group,{className:ie.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),Ht.createElement(ne.Z,{overlayInnerStyle:{width:460},title:Ht.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",Ht.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")},Ht.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),Ht.createElement(hn.u,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:ke,answerKey:"standard_answers"}),Ht.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:Je,TagDiscipline:We,form:be}))))},aa=te(14289),_n=te(59301),Pa=Object.defineProperty,Ea=Object.defineProperties,Zn=Object.getOwnPropertyDescriptors,wa=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,Mn=(Se,We,Je)=>We in Se?Pa(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,Qn=(Se,We)=>{for(var Je in We||(We={}))en.call(We,Je)&&Mn(Se,Je,We[Je]);if(wa)for(var Je of wa(We))bn.call(We,Je)&&Mn(Se,Je,We[Je]);return Se},Ze=(Se,We)=>Ea(Se,Zn(We)),Nt=(Se,We,Je)=>new Promise((cn,da)=>{var ka=ge=>{try{me(Je.next(ge))}catch(be){da(be)}},Ka=ge=>{try{me(Je.throw(ge))}catch(be){da(be)}},me=ge=>ge.done?cn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Je=Je.apply(Se,We)).next())}),Kt=({qitem:Se,setisedit:We,TagDiscipline:Je,exerciseitem:cn,seveeditor:da,deleteitem:ka,getTagData:Ka,init:me,showTip:ge=!1})=>{const[be]=Be.default.useForm();return(0,x.useEffect)(()=>{var ke;be.setFieldsValue(Ze(Qn({},Se),{name:Se.question_title,repeat_answer:!Se.repeat_answer,choices:(ke=Se==null?void 0:Se.question_choices)==null?void 0:ke.map(Ie=>Ze(Qn({},Ie),{is_answer:Ie!=null&&Ie.standard_boolean?1:0}))}))},[Se]),_n.createElement("div",null,_n.createElement(Be.default,{form:be,colon:!1,onFinish:ke=>{da(Qn(Qn({},Se),ke))},onFinishFailed:ke=>Nt(void 0,null,function*(){var Ie,je;Le.ZP.error(ke.errorFields[0].errors[0]),be.scrollToField((je=(Ie=ke==null?void 0:ke.errorFields)==null?void 0:Ie[0])==null?void 0:je.name,{behavior:"smooth",block:"center"})})},_n.createElement("div",{style:{display:"flex",alignItems:"center"}},_n.createElement("div",{style:{flex:1}},_n.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),_n.createElement("span",null,"\u5224\u65AD\u9898")),!(Se!=null&&Se.isadd)&&_n.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},_n.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),_n.createElement(tt.ZP,{onClick:()=>{var ke;Se.isadd?(We(!1),me()):(be.setFieldsValue(Ze(Qn({},Se),{name:Se==null?void 0:Se.question_title,choices:(ke=Se==null?void 0:Se.question_choices)==null?void 0:ke.map(Ie=>Ze(Qn({},Ie),{is_answer:Ie!=null&&Ie.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)})),We(!1))}},"\u53D6\u6D88"),_n.createElement(ne.Z,{overlayClassName:ie.shake,open:ge,placement:"bottom",color:"rgba(244,156,14,0.19)",title:_n.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},_n.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")},_n.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),_n.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},_n.createElement(Be.default.Item,{className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},_n.createElement(Ue.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})),_n.createElement(aa.Z,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),_n.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:cn,TagDiscipline:Je,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"},fn=te(12893),st=te(39793),St=Object.defineProperty,dt=Object.defineProperties,ln=Object.getOwnPropertyDescriptors,Nn=Object.getOwnPropertySymbols,Cn=Object.prototype.hasOwnProperty,la=Object.prototype.propertyIsEnumerable,jn=(Se,We,Je)=>We in Se?St(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,lt=(Se,We)=>{for(var Je in We||(We={}))Cn.call(We,Je)&&jn(Se,Je,We[Je]);if(Nn)for(var Je of Nn(We))la.call(We,Je)&&jn(Se,Je,We[Je]);return Se},Jt=(Se,We)=>dt(Se,ln(We)),Jn=(Se,We)=>{var Je={};for(var cn in Se)Cn.call(Se,cn)&&We.indexOf(cn)<0&&(Je[cn]=Se[cn]);if(Se!=null&&Nn)for(var cn of Nn(Se))We.indexOf(cn)<0&&la.call(Se,cn)&&(Je[cn]=Se[cn]);return Je};const sn=Se=>{var We=Se,{value:Je,onChange:cn,scrollId:da}=We,ka=Jn(We,["value","onChange","scrollId"]);return x.createElement("div",{id:da||""},x.createElement(st.Z,Jt(lt({},ka),{defaultValue:Je,onChange:(Ka,me)=>{console.log("a:",Ka,me),me!=null&&me.length?cn(Ka,me):cn(Ka)}})))},zn=({value:Se,onChange:We,placeholder:Je,height:cn=140,isEdit:da})=>da?x.createElement(st.Z,{watch:!0,isFocus:!0,height:cn,placeholder:Je,defaultValue:Se,onChange:We}):x.createElement("div",{style:{cursor:"pointer"}},Se?x.createElement(Qe.Z,{className:jt.inputBorder,value:Se}):x.createElement("div",{className:`${jt.inputBorder} ${jt.placeholder}`},Je));var na=te(43604),La=te(32134),sa=Object.defineProperty,He=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,Qt=Object.getOwnPropertySymbols,En=Object.prototype.hasOwnProperty,In=Object.prototype.propertyIsEnumerable,kn=(Se,We,Je)=>We in Se?sa(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,An=(Se,We)=>{for(var Je in We||(We={}))En.call(We,Je)&&kn(Se,Je,We[Je]);if(Qt)for(var Je of Qt(We))In.call(We,Je)&&kn(Se,Je,We[Je]);return Se},Dn=(Se,We)=>He(Se,rn(We)),Fa=(Se,We)=>{var Je={};for(var cn in Se)En.call(Se,cn)&&We.indexOf(cn)<0&&(Je[cn]=Se[cn]);if(Se!=null&&Qt)for(var cn of Qt(Se))We.indexOf(cn)<0&&In.call(Se,cn)&&(Je[cn]=Se[cn]);return Je};const Oa=["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"],pn=({value:Se,onChange:We,choiceTextKey:Je,answerKey:cn,index:da,isEdit:ka,setInputActive:Ka,form:me,choiceOptionsPath:ge,allowChangeMode:be,showAddIcon:ke,addItem:Ie,deleteItem:je})=>{const vt=(Se==null?void 0:Se[cn])===1,Ct=()=>{const _t=me.getFieldValue(ge);me.setFieldValue(ge,_t.map(Ft=>Dn(An({},Ft),{[cn]:0})))},it=()=>{vt?We(Dn(An({},Se),{[cn]:0})):(be||Ct(),We(Dn(An({},Se),{[cn]:1})))};return x.createElement(at.Z,{className:jt.choiceWrap,align:"middle",wrap:!1},x.createElement(na.Z,{onClick:it,className:`${jt.choiceIndex} ${vt?jt.activeAnswer:""}`},Oa[da]),x.createElement(na.Z,{flex:1,className:`${jt.editorWrap} ml15`,onClick:Ka},x.createElement(zn,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:ka,value:Se==null?void 0:Se[Je],onChange:_t=>{We(Dn(An({},Se),{[Je]:_t}))}})),x.createElement(na.Z,{flex:"0 0 auto",className:"ml15"},x.createElement("div",{onClick:it,className:`${jt.setAnswerBtn} ${vt?jt.activeAnswer:""}`},vt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),x.createElement(na.Z,{className:jt.actionWrapper},x.createElement(ne.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},x.createElement(La.Z,{className:jt.addIcon,onClick:Ie,style:{visibility:ke?"visible":"hidden"}})),x.createElement(ne.Z,{title:"\u5220\u9664"},x.createElement(fn.Z,{className:jt.deleteIcon,onClick:je,style:{visibility:da>1?"visible":"hidden"}}))))},Na=({questionTitlePlaceholder:Se,titleKey:We,choiceKey:Je,analysisKey:cn,choiceTextKey:da,answerKey:ka,choiceOptionsPath:Ka,allowChangeMode:me=!0,form:ge,showAnalysis:be=!0})=>{const[ke,Ie]=(0,x.useState)(),[je,vt]=(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:We,labelCol:{span:24},rules:[{required:!0}]},x.createElement(sn,{scrollId:Array.isArray(We)?We.join("_"):`${We}`,watch:!0,height:140,placeholder:Se}))),x.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),x.createElement(Be.default.List,{name:Je,rules:[{validator(Ct,it){const _t=it.some(Xt=>Xt[ka]===1),Ft=it.findIndex(Xt=>{var Ln;return((Ln=Xt[da])==null?void 0:Ln.length)<=0});return Ft!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${Oa[Ft]}\u9009\u9879\u7684\u5185\u5BB9`)):_t?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Ct,{add:it,remove:_t})=>x.createElement("div",{id:Array.isArray(Ka)?Ka.join("_"):`${Ka}`},Ct.map((Ft,Xt)=>{var Ln=Ft,{key:zt,name:At}=Ln,Un=Fa(Ln,["key","name"]);const Hn=ke===zt,$n=()=>{Ie(zt)},Vn=Xt<7&&Xt===Ct.length-1,qn=()=>it({[da]:"",[ka]:0}),Fn=()=>_t(At);return x.createElement(Be.default.Item,Dn(An({},Un),{key:zt,name:At,noStyle:!0}),x.createElement(pn,{choiceTextKey:da,answerKey:ka,index:Xt,isEdit:Hn,setInputActive:$n,form:ge,choiceOptionsPath:Ka,allowChangeMode:me,showAddIcon:Vn,addItem:qn,deleteItem:Fn}))}),Ct.length<8&&x.createElement("div",{className:`${jt.addBtn} mb30`,onClick:()=>it({[da]:"",[ka]:0})},"\u6DFB\u52A0\u9009\u9879"))),be&&x.createElement("div",{onClick:()=>vt(!0)},x.createElement(Be.default.Item,{name:cn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(zn,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:je}))))};var Yn=te(59301),qa=Object.defineProperty,$a=Object.defineProperties,Wn=Object.getOwnPropertyDescriptors,ua=Object.getOwnPropertySymbols,fa=Object.prototype.hasOwnProperty,ra=Object.prototype.propertyIsEnumerable,Ua=(Se,We,Je)=>We in Se?qa(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,rr=(Se,We)=>{for(var Je in We||(We={}))fa.call(We,Je)&&Ua(Se,Je,We[Je]);if(ua)for(var Je of ua(We))ra.call(We,Je)&&Ua(Se,Je,We[Je]);return Se},Ga=(Se,We)=>$a(Se,Wn(We)),_a=(Se,We)=>{var Je={};for(var cn in Se)fa.call(Se,cn)&&We.indexOf(cn)<0&&(Je[cn]=Se[cn]);if(Se!=null&&ua)for(var cn of ua(Se))We.indexOf(cn)<0&&ra.call(Se,cn)&&(Je[cn]=Se[cn]);return Je};const lr=({value:Se,onChange:We})=>{const Je=da=>{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=[...Se];ka.splice(da,1),We(ka)}})},cn=()=>{const da=[...Se];da.push(""),We(da)};return Yn.createElement(at.Z,{className:"ml20"},Yn.createElement(na.Z,{flex:1},Se==null?void 0:Se.map((da,ka)=>Yn.createElement(at.Z,{key:`${da}_${ka}`,align:"middle",className:"mb20"},Yn.createElement(se.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:da,autoSize:{maxRows:3},maxLength:1e3,onBlur:Ka=>{const me=[...Se],ge=Ka.target.value.trim();me[ka]=ge,We(me)}}),Yn.createElement(ne.Z,{title:"\u5220\u9664"},Yn.createElement(fn.Z,{className:jt.deleteIcon,style:{marginLeft:15,visibility:ka>0?"visible":"hidden"},onClick:()=>Je(ka)}))))),Yn.createElement(na.Z,null,Yn.createElement("div",{className:`${jt.addBtn}`,onClick:()=>{cn()}},"\u65B0\u589E\u7B54\u6848")))},Vr=({value:Se=!0,onChange:We})=>Yn.createElement(Sn.Z,{checked:!Se,onChange:Je=>{We(!Je)}}),Ir="\u2581",uo=({questionTitlePlaceholder:Se,form:We,name:Je,scoreByBlank:cn,answerKey:da,titleKey:ka="name",analysisKey:Ka="analysis",isOrdered:me="is_ordered"})=>{var ge,be;const[ke,Ie]=(0,x.useState)(!1),je=(zt,At)=>{const Un=At.line;let Hn=0;for(let Vn=0;Vn<Un;Vn++)Hn+=zt.getLine(Vn).split(Ir).length-1;const $n=zt.getLine(Un).substring(0,At.ch);return Hn+=$n.split(Ir).length-1,Hn},vt=(zt,At,Un,Hn)=>{const $n=zt.getRange(At.from,At.to);let Vn=0;if(At.text.forEach(qn=>{Vn+=qn.split(Ir).length-1}),At.origin!=="setValue"){if($n&&$n.indexOf(Ir)!==-1){const qn=$n.split(Ir).length-1,Fn=je(zt,At.from);if(console.log(`\u5220\u9664${qn}\u4E2A\uFF0C \u524D\u9762\u6709${Fn}\u4E2A\uFF0C\u65B0\u589E${Vn}\u4E2A`),qn>1){const Ca=Array.from({length:qn},(ba,Za)=>Fn+Za);Hn(Ca)}else Hn(Fn)}else if(Vn>0){const qn=je(zt,At.from);console.log(`\u65B0\u589E${Vn}\u4E2A\uFF0C\u4E4B\u524D\u6709${qn}\u4E2A`),Un(Vn,qn)}}},Ct=()=>{const zt=We.getFieldValue(["sub_item_banks",...da]);We.setFieldValue(["sub_item_banks",...da],zt==null?void 0:zt.map((At,Un)=>Ga(rr({},At),{position:Un+1})))},it=(0,x.useRef)(),_t=(zt,At)=>{for(let Un=0;Un<zt;Un++)it.current({position:null,answer_text:[""]},At+Un);Ct()},Ft=(0,x.useRef)(),Xt=zt=>{Ft.current(zt),Ct()},Ln=(be=(ge=We.getFieldValue("sub_item_banks"))==null?void 0:ge[da==null?void 0:da[0]])==null?void 0:be[da==null?void 0:da[1]];return console.log(We==null?void 0:We.getFieldValue(["sub_item_banks",...cn])),Yn.createElement("div",{className:jt.wrap},Yn.createElement("div",{className:jt.questionTitleEditorWrap},Yn.createElement(Be.default.Item,{label:"\u9898\u5E72",name:ka,labelCol:{span:24},rules:[{required:!0}]},Yn.createElement(sn,{scrollId:"name",watch:!0,height:140,placeholder:Se,showNullButton:!0,onCMBeforeChange:(zt,At)=>{vt(zt,At,_t,Xt)}}))),Yn.createElement(Be.default.List,{name:da,rules:[{validator(zt,At){if((At==null?void 0:At.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Un of At){const{answer_text:Hn}=Un||{};if(Hn!=null&&Hn.some($n=>($n==null?void 0:$n.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(zt,{add:At,remove:Un},{errors:Hn})=>(it.current=At,Ft.current=Un,Yn.createElement(Yn.Fragment,null,Yn.createElement(Be.default.Item,{label:Yn.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(zt!=null&&zt.length)&&Yn.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),zt.map(($n,Vn)=>{var qn=$n,{key:Fn,name:Ca}=qn,ba=_a(qn,["key","name"]);return Yn.createElement(at.Z,{className:"mb20",key:Fn,align:"top"},Yn.createElement(na.Z,{flex:"0 0 auto",className:`${jt.blankIndex} pt5`},"\u586B\u7A7A\u9879",Vn+1),Yn.createElement(na.Z,{flex:1},Yn.createElement(at.Z,{align:"top",justify:"space-between"},Yn.createElement(na.Z,{flex:1},Yn.createElement(Be.default.Item,Ga(rr({},ba),{name:[Ca,"answer_text"],noStyle:!0}),Yn.createElement(lr,null))),(We==null?void 0:We.getFieldValue(["sub_item_banks",...cn]))&&Yn.createElement(na.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},Yn.createElement(Be.default.Item,Ga(rr({},ba),{name:[Ca,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:jt.blankInputNumberWrapper}),Yn.createElement(Ue.Z,{onChange:()=>{var Za,Ha;let ia=We==null?void 0:We.getFieldValue(["sub_item_banks",da==null?void 0:da[0],"standard_answers"]),ya=0;for(let Sa in ia)(Za=ia[Sa])!=null&&Za.score&&(ya+=Number((Ha=ia[Sa])==null?void 0:Ha.score));We==null||We.setFieldValue(["sub_item_banks",da==null?void 0:da[0],"question_score"],ya)},className:jt.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),Yn.createElement(Be.default.Item,Ga(rr({},ba),{name:[Ca,"position"],noStyle:!0}),Yn.createElement(se.default,{type:"hidden"}))))})))),Yn.createElement(at.Z,{align:"middle"},Yn.createElement(Be.default.Item,{name:[Je,"downcase"],valuePropName:"checked"},Yn.createElement(Sn.Z,null)),Yn.createElement(na.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Yn.createElement(at.Z,{align:"middle"},Yn.createElement(Be.default.Item,{name:[Je,"no_space"],valuePropName:"checked"},Yn.createElement(Sn.Z,null)),Yn.createElement(na.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Ln==null?void 0:Ln.length)>1&&Yn.createElement(at.Z,{align:"middle",className:(Ln==null?void 0:Ln.length)>1?"mb30":`${jt.hide}`},Yn.createElement(Be.default.Item,{name:me},Yn.createElement(Vr,null)),Yn.createElement(na.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")),Yn.createElement("div",{onClick:()=>Ie(!0)},Yn.createElement(Be.default.Item,{name:Ka,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Yn.createElement(zn,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ke}))))};var yr=Object.defineProperty,Sr=Object.defineProperties,Ar=Object.getOwnPropertyDescriptors,br=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,Ta=Object.prototype.propertyIsEnumerable,or=(Se,We,Je)=>We in Se?yr(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,Lr=(Se,We)=>{for(var Je in We||(We={}))Br.call(We,Je)&&or(Se,Je,We[Je]);if(br)for(var Je of br(We))Ta.call(We,Je)&&or(Se,Je,We[Je]);return Se},Or=(Se,We)=>Sr(Se,Ar(We)),Cr=(Se,We)=>{var Je={};for(var cn in Se)Br.call(Se,cn)&&We.indexOf(cn)<0&&(Je[cn]=Se[cn]);if(Se!=null&&br)for(var cn of br(Se))We.indexOf(cn)<0&&Ta.call(Se,cn)&&(Je[cn]=Se[cn]);return Je};const Qr={\u6B63\u786E:"T",\u9519\u8BEF:"F"},Hr=({value:Se,onChange:We,form:Je,choiceKey:cn})=>{const da=(Se==null?void 0:Se.is_answer)===1,ka=Se==null?void 0:Se.choice_text,Ka=()=>{var me;const ge=(me=Je==null?void 0:Je.getFieldValue(["sub_item_banks",...cn]))==null?void 0:me.map(be=>({choice_text:be.choice_text,is_answer:0}));Je==null||Je.setFieldValue(["sub_item_banks",...cn],ge),We(Or(Lr({},Se),{is_answer:1}))};return x.createElement(at.Z,{className:jt.choiceWrap,align:"middle",wrap:!1},x.createElement(na.Z,{onClick:Ka,className:`${jt.choiceIndex} ${jt.judgementIndex} ${da?jt.activeAnswer:""}`},Qr[ka]),x.createElement(na.Z,{flex:1,className:`${jt.editorWrap} ml15`},x.createElement("div",{className:`${jt.inputBorder} ${jt.placeholder} ${da?jt.activeJudgementAnswer:""}`},ka)),x.createElement(na.Z,{flex:"0 0 auto",className:"ml15"},x.createElement("div",{onClick:Ka,className:`${jt.setAnswerBtn} ${da?jt.activeAnswer:""}`},da?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Xa=({questionTitlePlaceholder:Se,choiceKey:We="choices",form:Je,titleKey:cn="name",analysisKey:da="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:cn,labelCol:{span:24},rules:[{required:!0}]},x.createElement(sn,{scrollId:"name",watch:!0,height:140,placeholder:Se}))),x.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},x.createElement(Be.default.List,{name:We,rules:[{validator(me,ge){return ge.some(ke=>(ke==null?void 0:ke.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},me=>x.createElement("div",{id:"choices"},me.map(ge=>{var be=ge,{key:ke,name:Ie}=be,je=Cr(be,["key","name"]);return x.createElement(Be.default.Item,Or(Lr({},je),{key:ke,name:Ie,noStyle:!0}),x.createElement(Hr,{form:Je,choiceKey:We}))})))),x.createElement("div",{onClick:()=>Ka(!0)},x.createElement(Be.default.Item,{name:da,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(zn,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ka}))))};var wr=te(12563),pr=Object.defineProperty,Jr=Object.defineProperties,no=Object.getOwnPropertyDescriptors,Bo=Object.getOwnPropertySymbols,To=Object.prototype.hasOwnProperty,ko=Object.prototype.propertyIsEnumerable,Dr=(Se,We,Je)=>We in Se?pr(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,Yr=(Se,We)=>{for(var Je in We||(We={}))To.call(We,Je)&&Dr(Se,Je,We[Je]);if(Bo)for(var Je of Bo(We))ko.call(We,Je)&&Dr(Se,Je,We[Je]);return Se},Po=(Se,We)=>Jr(Se,no(We)),Qo=(Se,We)=>{var Je={};for(var cn in Se)To.call(Se,cn)&&We.indexOf(cn)<0&&(Je[cn]=Se[cn]);if(Se!=null&&Bo)for(var cn of Bo(Se))We.indexOf(cn)<0&&ko.call(Se,cn)&&(Je[cn]=Se[cn]);return Je};const Ho=Se=>{var We=Se,{value:Je,onChange:cn}=We,da=Qo(We,["value","onChange"]);const ka=Ka=>{cn([Ka])};return x.createElement(st.Z,Po(Yr({},da),{defaultValue:Je==null?void 0:Je[0],onChange:ka}))},ei=Se=>{if(!Se)return!1;if(/^s*$/.test(Se)||Se.trim()===""){Le.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let We=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 Se==="|"?(Le.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Qa=({value:Se=[],onClose:We})=>x.createElement(wr.default,{closable:!0,onClose:We,className:jt.keywordTag},x.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Se.join(" \u6216 "))),pa=({questionTitlePlaceholder:Se,form:We,showKeywords:Je,isMustKeyWords:cn=Je,titleKey:da="name",analysisKey:ka="analysis",answerTexts:Ka="answer_texts",keywords:me="keywords",useKeywords:ge="use_keywords",indexs:be})=>{var ke,Ie,je,vt;const[Ct,it]=(0,x.useState)(!1),[_t,Ft]=(0,x.useState)(""),Xt=(Ie=(ke=We.getFieldValue("sub_item_banks"))==null?void 0:ke[ge==null?void 0:ge[0]])==null?void 0:Ie[ge==null?void 0:ge[1]],Ln=(vt=(je=We.getFieldValue("sub_item_banks"))==null?void 0:je[ge==null?void 0:ge[0]])==null?void 0:vt.question_score;return x.createElement("div",{className:jt.wrap},x.createElement("div",{className:jt.questionTitleEditorWrap},x.createElement(Be.default.Item,{label:"\u9898\u5E72",name:da,labelCol:{span:24},rules:[{required:!0}]},x.createElement(sn,{scrollId:"name",watch:!0,height:140,placeholder:Se}))),x.createElement(Be.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:Ka,labelCol:{span:24}},x.createElement(Ho,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Je&&!cn&&x.createElement(Be.default.Item,{hidden:!0,name:ge,valuePropName:"checked"},x.createElement(Sn.Z,{defaultChecked:!0})),Je&&cn&&x.createElement(at.Z,{align:"middle",className:"mb30"},x.createElement(Be.default.Item,{name:ge,valuePropName:"checked"},x.createElement(Sn.Z,null)),x.createElement(na.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),x.createElement(na.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(Zt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Xt||!cn)&&x.createElement(Be.default.List,{name:me,rules:[{validator(zt,At){return cn?At!=null&&At.length?(At==null?void 0:At.reduce((Hn,$n)=>Hn+$n.score,0))>parseFloat(Ln)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(zt,{add:At,remove:Un})=>x.createElement(x.Fragment,null,x.createElement("div",{className:`${jt.title} mb10`},cn?"\u5173\u952E\u8BCD":x.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),x.createElement(at.Z,{align:"middle",className:"font14 mb30"},x.createElement(na.Z,{flex:1},x.createElement(se.default,{value:_t,onChange:Hn=>{Ft(Hn.target.value)},maxLength:50,allowClear:!0,onPressEnter:Hn=>{var $n,Vn,qn,Fn;const Ca=`${($n=Hn.target)==null?void 0:$n.value}`,ba=(qn=(Vn=Ca==null?void 0:Ca.split("|"))==null?void 0:Vn.filter(ia=>!!ia))==null?void 0:qn.map(ia=>ia.trim()),Za=We.getFieldValue(["sub_item_banks",...me]),Ha=((Fn=Za==null?void 0:Za.map(ia=>ia==null?void 0:ia.keyword))==null?void 0:Fn.flat())||[];for(const ia of ba)if(Ha.includes(ia)){Le.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}ei(Ca)&&(At({keyword:ba,score:1}),Ft(""))},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(na.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),zt.map(Hn=>{var $n=Hn,{key:Vn,name:qn}=$n,Fn=Qo($n,["key","name"]);return x.createElement(at.Z,{key:Vn,className:"mb20",style:{marginRight:148}},x.createElement(na.Z,{flex:1},x.createElement(at.Z,{align:"middle",justify:"space-between"},x.createElement(Be.default.Item,Po(Yr({},Fn),{name:[qn,"keyword"]}),x.createElement(Qa,{onClose:()=>Un(qn)})),cn&&x.createElement(Be.default.Item,Po(Yr({},Fn),{name:[qn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:jt.blankInputNumberWrapper}),x.createElement(Ue.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(zn,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ct}))))};var Tn=te(59301),Ba=Object.defineProperty,gr=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,un=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,Kn=Object.prototype.propertyIsEnumerable,an=(Se,We,Je)=>We in Se?Ba(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,oa=(Se,We)=>{for(var Je in We||(We={}))xn.call(We,Je)&&an(Se,Je,We[Je]);if(un)for(var Je of un(We))Kn.call(We,Je)&&an(Se,Je,We[Je]);return Se},ea=(Se,We)=>gr(Se,Ce(We)),Bn=(Se,We)=>{var Je={};for(var cn in Se)xn.call(Se,cn)&&We.indexOf(cn)<0&&(Je[cn]=Se[cn]);if(Se!=null&&un)for(var cn of un(Se))We.indexOf(cn)<0&&Kn.call(Se,cn)&&(Je[cn]=Se[cn]);return Je};const{Panel:On}=tn.default,Aa=({questionTitlePlaceholder:Se,choiceKey:We,form:Je,withScore:cn})=>{const da=[{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)(),[me,ge]=(0,x.useState)([]),be=Ie=>{ge(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(sn,{scrollId:"name",watch:!0,height:140,placeholder:Se}))),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,je){return je?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Ie,{add:je,remove:vt,move:Ct})=>{const it=Je.getFieldValue("sub_item_banks");return Tn.createElement(Tn.Fragment,null,Tn.createElement(tn.default,{className:Ie.length>0?jt.collapseWrapper:"",bordered:!1,activeKey:me,onChange:be,expandIcon:({isActive:_t})=>Tn.createElement("i",{className:`iconfont icon-weizhankai ${_t?jt.open:jt.close}`,style:{fontSize:14,transition:"all .2s"}})},Ie.map((_t,Ft)=>{var Xt=_t,{key:Ln,name:zt}=Xt,At=Bn(Xt,["key","name"]),Un,Hn,$n,Vn,qn,Fn,Ca,ba,Za,Ha,ia,ya,Sa,Gn;return Tn.createElement(On,{className:jt.panel,forceRender:!0,header:Tn.createElement("div",{className:jt.panelHeader},"\u7B2C",Ft+1,"\u5C0F\u9898",Tn.createElement("span",null,"\uFF08",((Un=it==null?void 0:it[zt])==null?void 0:Un.question_type)==0?"\u5355\u9009\u9898":((Hn=it==null?void 0:it[zt])==null?void 0:Hn.question_type)==1?"\u591A\u9009\u9898":(($n=it==null?void 0:it[zt])==null?void 0:$n.question_type)==3?"\u586B\u7A7A\u9898":((Vn=it==null?void 0:it[zt])==null?void 0:Vn.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:zt,extra:Tn.createElement(at.Z,{align:"middle",onClick:ma=>ma.stopPropagation()},((qn=it==null?void 0:it[zt])==null?void 0:qn.question_type)==3&&Tn.createElement(Tn.Fragment,null,Tn.createElement(Ve.ZP.Group,{defaultValue:(Fn=it==null?void 0:it[zt])==null?void 0:Fn.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:ma=>{var Ma,er,ar,Wa,mr;if(Je==null||Je.setFieldValue(["sub_item_banks",zt,"use_blank_score"],(Ma=ma==null?void 0:ma.target)==null?void 0:Ma.value),(er=ma==null?void 0:ma.target)!=null&&er.value){let hr=0;for(let Wr in(ar=Je==null?void 0:Je.getFieldValue(["sub_item_banks",zt]))==null?void 0:ar.standard_answers)hr+=Number((mr=(Wa=Je==null?void 0:Je.getFieldValue(["sub_item_banks",zt]))==null?void 0:Wa.standard_answers[Wr])==null?void 0:mr.score);Je==null||Je.setFieldValue(["sub_item_banks",zt,"question_score"],hr||"")}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"}))),cn&&Tn.createElement(Be.default.Item,ea(oa({},At),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[zt,"question_score"],className:jt.blankInputNumberWrapper}),((Ca=it==null?void 0:it[zt])==null?void 0:Ca.question_type)==3&&((ba=it==null?void 0:it[zt])!=null&&ba.use_blank_score)?Tn.createElement(ke,null):Tn.createElement(Ue.Z,{className:jt.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),Tn.createElement(at.Z,{align:"middle",className:"pl40",style:{width:82}},Ft!==0&&Tn.createElement("div",{onClick:()=>{var ma;Ct(Ft,Ft-1);const Ma=(ma=Je.getFieldValue("sub_item_banks"))==null?void 0:ma.map((er,ar)=>(Ie.map((Wa,mr)=>{ar===mr&&(er.q_position=Number(Wa.name)+1)}),er));Je.setFieldValue("sub_item_banks",Ma)}},Tn.createElement(ne.Z,{title:"\u4E0A\u79FB"},Tn.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),Ft<Ie.length-1&&Tn.createElement("div",{onClick:()=>{var ma;Ct(Ft,Ft+1);const Ma=(ma=Je.getFieldValue("sub_item_banks"))==null?void 0:ma.map((er,ar)=>(Ie.map((Wa,mr)=>{ar===mr&&(er.q_position=Number(Wa.name)+1)}),er));Je.setFieldValue("sub_item_banks",Ma)},className:Ft===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(fn.Z,{className:`${jt.deleteIcon} ml40`,onClick:()=>vt(zt)})))},Tn.createElement(Be.default.Item,ea(oa({},At),{name:zt}),(((Za=it==null?void 0:it[zt])==null?void 0:Za.question_type)==0||((Ha=it==null?void 0:it[zt])==null?void 0:Ha.question_type)==1)&&Tn.createElement(Na,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((ia=it==null?void 0:it[zt])==null?void 0:ia.question_type)==1,form:Je,choiceKey:[zt,"choices"],titleKey:[zt,"name"],analysisKey:[zt,"analysis"],choiceOptionsPath:["sub_item_banks",zt,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((ya=it==null?void 0:it[zt])==null?void 0:ya.question_type)==3&&Tn.createElement(uo,{form:Je,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",name:zt,scoreByBlank:[zt,"use_blank_score"],titleKey:[zt,"name"],analysisKey:[zt,"analysis"],isOrdered:[zt,"is_ordered"],answerKey:[zt,"standard_answers"],key:ka}),((Sa=it==null?void 0:it[zt])==null?void 0:Sa.question_type)==2&&Tn.createElement(Xa,{form:Je,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[zt,"name"],analysisKey:[zt,"analysis"],choiceKey:[zt,"choices"]}),((Gn=it==null?void 0:it[zt])==null?void 0:Gn.question_type)==4&&Tn.createElement(pa,{showKeywords:!0,isMustKeyWords:!0,form:Je,titleKey:[zt,"name"],analysisKey:[zt,"analysis"],answerTexts:[zt,"answer_texts"],useKeywords:[zt,"use_keywords"],keywords:[zt,"keywords"],indexs:zt,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:()=>{je({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),ge([Ie==null?void 0:Ie.length,...me])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:Tn.createElement("div",{onClick:()=>{je({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),ge([Ie==null?void 0:Ie.length,...me])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:Tn.createElement("div",{onClick:()=>{je({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",question_type:2,item_type:"JUDGMENT"}),ge([Ie==null?void 0:Ie.length,...me])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:Tn.createElement("div",{onClick:()=>{je({name:"",analysis:"",is_ordered:!0,standard_answers:[],question_type:3,item_type:"COMPLETION",use_blank_score:!0,downcase:!0,no_space:!0}),ge([Ie==null?void 0:Ie.length,...me])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:Tn.createElement("div",{onClick:()=>{je({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),ge([Ie==null?void 0:Ie.length,...me])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(_t=>_t.show).map(_t=>({label:_t.label,key:_t.key}))}},Tn.createElement("div",{className:`${jt.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var Xn=te(59301),ga=Object.defineProperty,va=Object.defineProperties,Va=Object.getOwnPropertyDescriptors,vr=Object.getOwnPropertySymbols,zr=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable,mo=(Se,We,Je)=>We in Se?ga(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,vo=(Se,We)=>{for(var Je in We||(We={}))zr.call(We,Je)&&mo(Se,Je,We[Je]);if(vr)for(var Je of vr(We))kr.call(We,Je)&&mo(Se,Je,We[Je]);return Se},xo=(Se,We)=>va(Se,Va(We)),pi=(Se,We,Je)=>new Promise((cn,da)=>{var ka=ge=>{try{me(Je.next(ge))}catch(be){da(be)}},Ka=ge=>{try{me(Je.throw(ge))}catch(be){da(be)}},me=ge=>ge.done?cn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Je=Je.apply(Se,We)).next())}),ri=({qitem:Se,setisedit:We,TagDiscipline:Je,exerciseitem:cn,seveeditor:da,deleteitem:ka,getTagData:Ka,init:me,showTip:ge=!1})=>{const[be]=Be.default.useForm();(0,x.useEffect)(()=>{var Ie;be.setFieldsValue(xo(vo({},Se),{name:Se.question_title,sub_item_banks:(Ie=Se.sub_exercise_questions)==null?void 0:Ie.map(je=>{var vt;return xo(vo({},je),{name:je.question_title,choices:(vt=je==null?void 0:je.question_choices)==null?void 0:vt.map(Ct=>xo(vo({},Ct),{is_answer:Ct!=null&&Ct.standard_boolean?1:0}))})}),repeat_answer:!Se.repeat_answer}))},[Se]);const ke=Ie=>{if(!(Ie!=null&&Ie.length))return!1;const je=Ie.map(Ct=>{var it;return(it=Ct.choice_text)==null?void 0:it.trim().replace(/^\s+|\s+$/g,"")});return new Set(je).size!==je.length};return Xn.createElement("div",null,Xn.createElement(Be.default,{form:be,colon:!1,onValuesChange:(Ie,je)=>{var vt,Ct,it;if(Ie!=null&&Ie.sub_item_banks){let _t=((vt=be.getFieldValue("sub_item_banks"))==null?void 0:vt.length)>0&&((it=(Ct=be.getFieldValue("sub_item_banks"))==null?void 0:Ct.map(Ft=>{var Xt;if(Ft.question_type==3&&(Ft!=null&&Ft.use_blank_score)){let Ln=0;for(let zt in Ft==null?void 0:Ft.standard_answers)Ln+=Number((Xt=Ft==null?void 0:Ft.standard_answers[zt])==null?void 0:Xt.score);return Ln}else return Ft.question_score}))==null?void 0:it.filter(Ft=>Ft));(_t==null?void 0:_t.length)>0&&be.setFieldsValue({question_score:parseFloat(_t==null?void 0:_t.reduce((Ft,Xt)=>parseFloat(Ft)+parseFloat(Xt))).toFixed(1)})}},onFinish:Ie=>{var je,vt;if((je=Ie.sub_item_banks)==null?void 0:je.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}da(xo(vo(vo({},Se),Ie),{sub_item_banks:(vt=Ie==null?void 0:Ie.sub_item_banks)==null?void 0:vt.map(it=>(console.log(it),xo(vo({},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 je,vt;Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((vt=(je=Ie==null?void 0:Ie.errorFields)==null?void 0:je[0])==null?void 0:vt.name,{behavior:"smooth",block:"center"})})},Xn.createElement("div",{style:{display:"flex",alignItems:"center"}},Xn.createElement("div",{style:{flex:1}},Xn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Xn.createElement("span",null,"\u7EC4\u5408\u9898")),!Se.isadd&&Xn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},Xn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Xn.createElement(tt.ZP,{onClick:()=>{var Ie;Se.isadd?(We(!1),me()):(be.setFieldsValue(xo(vo({},Se),{name:Se==null?void 0:Se.question_title,choices:(Ie=Se==null?void 0:Se.question_choices)==null?void 0:Ie.map(je=>xo(vo({},je),{standard_boolean:je!=null&&je.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)})),We(!1))}},"\u53D6\u6D88"),Xn.createElement(ne.Z,{overlayClassName:ie.shake,open:ge,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Xn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Xn.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")},Xn.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),Xn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Xn.createElement($t.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),Xn.createElement(Aa,{form:be,withScore:!0,choiceKey:"",questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),Xn.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:cn,TagDiscipline:Je,form:be}))))},ui=te(68571),vi=te(24334),yo=te(59301),hi=Object.defineProperty,Ni=Object.defineProperties,Jl=Object.getOwnPropertyDescriptors,Vi=Object.getOwnPropertySymbols,nl=Object.prototype.hasOwnProperty,$l=Object.prototype.propertyIsEnumerable,Jo=(Se,We,Je)=>We in Se?hi(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,mi=(Se,We)=>{for(var Je in We||(We={}))nl.call(We,Je)&&Jo(Se,Je,We[Je]);if(Vi)for(var Je of Vi(We))$l.call(We,Je)&&Jo(Se,Je,We[Je]);return Se},Bi=(Se,We)=>Ni(Se,Jl(We)),yl=(Se,We,Je)=>new Promise((cn,da)=>{var ka=ge=>{try{me(Je.next(ge))}catch(be){da(be)}},Ka=ge=>{try{me(Je.throw(ge))}catch(be){da(be)}},me=ge=>ge.done?cn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Je=Je.apply(Se,We)).next())}),Ii=({qitem:Se,TagDiscipline:We,exerciseitem:Je,setisedit:cn,seveeditor:da,deleteitem:ka,getTagData:Ka,init:me,showTip:ge=!1})=>{const[be]=Be.default.useForm(),ke=!0;return(0,x.useEffect)(()=>{var Ie,je,vt;be.setFieldsValue(Bi(mi({},Se),{standard_answers:Se.standard_answer,difficulty:Se.difficulty,item_banks_group_id:Se.item_banks_group_id,hack:Bi(mi({},Se),{time_limit:(Se==null?void 0:Se.time_limit)||3}),hack_codes:{language:(Ie=Se==null?void 0:Se.program_attr)==null?void 0:Ie.language,code:vi.Base64.decode(((je=Se==null?void 0:Se.program_attr)==null?void 0:je.code)||"")},hack_sets:mi({},(vt=Se==null?void 0:Se.hack_sets)==null?void 0:vt[0]),repeat_answer:!Se.repeat_answer}))},[Se]),yo.createElement("div",null,yo.createElement(Be.default,{form:be,colon:!1,onValuesChange:(Ie,je)=>{var vt,Ct,it,_t;if(Ie!=null&&Ie.standard_answers){let Ft=((vt=be.getFieldValue("standard_answers"))==null?void 0:vt.length)>0&&((it=(Ct=be.getFieldValue("standard_answers"))==null?void 0:Ct.map(Xt=>Xt.score))==null?void 0:it.filter(Xt=>Xt));(Ft==null?void 0:Ft.length)>0&&be.setFieldsValue({question_score:(Ft==null?void 0:Ft.length)>0&&((_t=Ft.reduce((Xt,Ln)=>Xt+Ln))==null?void 0:_t.toFixed(1))})}},onFinish:Ie=>{var je;da(Bi(mi(mi({},Se),Ie),{item_type:Se==null?void 0:Se.question_type,standard_answers:(je=Ie.standard_answers)==null?void 0:je.map((vt,Ct)=>Bi(mi({},vt),{position:Ct+1})),standard_answer:void 0}))},onFinishFailed:Ie=>yl(void 0,null,function*(){var je,vt;Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((vt=(je=Ie==null?void 0:Ie.errorFields)==null?void 0:je[0])==null?void 0:vt.name,{behavior:"smooth",block:"center"})})},yo.createElement("div",{style:{display:"flex",alignItems:"center"}},yo.createElement("div",{style:{flex:1}},yo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),yo.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),!Se.isadd&&yo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},yo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),yo.createElement(tt.ZP,{onClick:()=>{var Ie,je,vt;Se.isadd?(cn(!1),me()):(be.setFieldsValue(Bi(mi({},Se),{standard_answers:Se.standard_answer,difficulty:Se.difficult,item_banks_group_id:Se.item_banks_group_id,hack:mi({},Se),hack_codes:{language:(Ie=Se==null?void 0:Se.program_attr)==null?void 0:Ie.language,code:vi.Base64.decode((je=Se==null?void 0:Se.program_attr)==null?void 0:je.code)},hack_sets:mi({},(vt=Se==null?void 0:Se.hack_sets)==null?void 0:vt[0]),repeat_answer:!Se.repeat_answer})),cn(!1))}},"\u53D6\u6D88"),yo.createElement(ne.Z,{overlayClassName:ie.shake,open:ge,placement:"bottom",color:"rgba(244,156,14,0.19)",title:yo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},yo.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")},yo.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),yo.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},yo.createElement($t.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),yo.createElement(ui.t,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:ke,hackidentifier:Se==null?void 0:Se.hack_identifier,answerKey:"standard_answers"}),yo.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:Je,TagDiscipline:We,form:be}))))},Fo=te(59301),El=Object.defineProperty,bl=Object.defineProperties,Yl=Object.getOwnPropertyDescriptors,Cl=Object.getOwnPropertySymbols,xl=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable,Bl=(Se,We,Je)=>We in Se?El(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,di=(Se,We)=>{for(var Je in We||(We={}))xl.call(We,Je)&&Bl(Se,Je,We[Je]);if(Cl)for(var Je of Cl(We))oi.call(We,Je)&&Bl(Se,Je,We[Je]);return Se},Yo=(Se,We)=>bl(Se,Yl(We)),Ji=(Se,We,Je)=>new Promise((cn,da)=>{var ka=ge=>{try{me(Je.next(ge))}catch(be){da(be)}},Ka=ge=>{try{me(Je.throw(ge))}catch(be){da(be)}},me=ge=>ge.done?cn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Je=Je.apply(Se,We)).next())}),ql=({qitem:Se,setqitem:We,setisedit:Je,TagDiscipline:cn,exerciseitem:da,seveeditor:ka,deleteitem:Ka,showTip:me=!1})=>{var ge;const[be]=Be.default.useForm();return(0,x.useEffect)(()=>{var ke,Ie;be.setFieldsValue(Yo(di({},Se),{name:Se==null?void 0:Se.question_title,choices:(ke=Se==null?void 0:Se.question_choices)==null?void 0:ke.map(je=>Yo(di({},je),{standard_boolean:je!=null&&je.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)})),Se.shixun=(Ie=Se==null?void 0:Se.shixun)==null?void 0:Ie.map(je=>Yo(di({},je),{defaultscore:je.challenge_score}))},[]),Fo.createElement("div",null,Fo.createElement(Be.default,{form:be,colon:!1,onFinish:ke=>{var Ie,je;let vt=Yo(di({},ke),{question_scores:(Ie=Se==null?void 0:Se.shixun)==null?void 0:Ie.map(Ct=>Ct.challenge_score),item_type:Se==null?void 0:Se.question_type,choices:(je=ke==null?void 0:ke.choices)==null?void 0:je.map(Ct=>Yo(di({},Ct),{is_answer:Ct.standard_boolean}))});ka(di(di({},Se),vt))},onFinishFailed:ke=>Ji(void 0,null,function*(){var Ie,je;Le.ZP.error(ke.errorFields[0].errors[0]),be.scrollToField((je=(Ie=ke==null?void 0:ke.errorFields)==null?void 0:Ie[0])==null?void 0:je.name,{behavior:"smooth",block:"center"})})},Fo.createElement("div",{style:{display:"flex",alignItems:"center"}},Fo.createElement("div",{style:{flex:1}},Fo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Fo.createElement("span",null,"\u5B9E\u8BAD\u9898")),Fo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Ka()}},Fo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Fo.createElement(tt.ZP,{onClick:()=>{var ke,Ie;be.setFieldsValue(Yo(di({},Se),{name:Se==null?void 0:Se.question_title,choices:(ke=Se==null?void 0:Se.question_choices)==null?void 0:ke.map(je=>Yo(di({},je),{standard_boolean:je!=null&&je.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)})),Se.shixun=(Ie=Se==null?void 0:Se.shixun)==null?void 0:Ie.map(je=>Yo(di({},je),{challenge_score:je.defaultscore})),We(di({},Se)),Je(!1)}},"\u53D6\u6D88"),Fo.createElement(ne.Z,{overlayClassName:ie.shake,open:me,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Fo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Fo.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")},Fo.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>Ji(void 0,null,function*(){var ke,Ie,je;if(((Ie=(ke=Se==null?void 0:Se.shixun)==null?void 0:ke.map)==null?void 0:Ie.call(ke,vt=>vt.challenge_score).filter(vt=>vt).length)<((je=Se==null?void 0:Se.shixun)==null?void 0:je.length)){Le.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}be.submit()})},"\u4FDD\u5B58"))),Fo.createElement($t.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Fo.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Fo.createElement(st.Z,{watch:!0,height:140,placeholder:"",defaultValue:Se.question_title}))),Fo.createElement(at.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Fo.createElement("div",null,Fo.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Fo.createElement("a",{href:`/shixuns/${Se==null?void 0:Se.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Fo.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(ge=Se==null?void 0:Se.shixun)==null?void 0:ge.map((ke,Ie)=>Fo.createElement("div",{key:ke.challenge_id,style:{display:"flex",marginBottom:20}},Fo.createElement("div",{style:{flex:1}},Ie+1,"\u3001",ke.challenge_name),Fo.createElement("div",null,Fo.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Fo.createElement(Ue.Z,{precision:1,value:ke==null?void 0:ke.challenge_score,onChange:je=>{const vt=JSON.parse(JSON.stringify((Se==null?void 0:Se.shixun)||[]));vt[Ie].challenge_score=je;const Ct=vt.every(_t=>!_t.challenge_score),it=parseFloat(vt==null?void 0:vt.map(_t=>_t.challenge_score).reduce((_t,Ft)=>parseFloat(_t||0)+parseFloat(Ft||0)));be.setFieldsValue({question_score:Ct?"":it.toFixed(1)}),We(Yo(di({},Se),{shixun:vt}))},max:200,min:1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},ja={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(19105),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:Se,newExercisePaper:We})=>{var Je,cn,da,ka,Ka,me,ge,be,ke,Ie,je,vt,Ct,it,_t,Ft,Xt,Ln,zt,At,Un,Hn,$n,Vn,qn;return ha.createElement("div",{className:ja.warp},((Se==null?void 0:Se.question_type)===0||(Se==null?void 0:Se.question_type)===2)&&ha.createElement("div",{className:ja.normalWrap},(Je=Se==null?void 0:Se.question_choices)==null?void 0:Je.map((Fn,Ca)=>ha.createElement("div",{className:ja.redio,key:Ca},!(Fn!=null&&Fn.standard_boolean)&&ha.createElement("span",{className:ja.redioitem}),(Fn==null?void 0:Fn.standard_boolean)&&ha.createElement("i",{className:`${ja.redioitemyes} icon-duigou1`}),ha.createElement("span",{className:`${Fn!=null&&Fn.standard_boolean?ja.titleyes:ja.title} ${ja.indexTag}`},(Se==null?void 0:Se.question_type)===0?Li[Ca]:""),ha.createElement(Qe.Z,{className:Fn!=null&&Fn.standard_boolean?ja.titleyes:ja.title,value:Fn==null?void 0:Fn.choice_text}),(Fn==null?void 0:Fn.standard_boolean)&&ha.createElement("div",{className:ja.yestag},"\u6B63\u786E\u7B54\u6848")))),(Se==null?void 0:Se.question_type)===1&&ha.createElement("div",{className:ja.normalWrap},(cn=Se==null?void 0:Se.question_choices)==null?void 0:cn.map((Fn,Ca)=>ha.createElement("div",{className:ja.checkbox,key:Ca},!(Fn!=null&&Fn.standard_boolean)&&ha.createElement("span",{className:ja.checkboxitem}),(Fn==null?void 0:Fn.standard_boolean)&&ha.createElement("i",{className:`${ja.checkboxitemyes} icon-duigou1`}),ha.createElement("span",{className:`${Fn!=null&&Fn.standard_boolean?ja.titleyes:ja.title} ${ja.indexTag}`},Li[Ca]),ha.createElement(Qe.Z,{className:Fn!=null&&Fn.standard_boolean?ja.titleyes:ja.title,value:Fn==null?void 0:Fn.choice_text}),(Fn==null?void 0:Fn.standard_boolean)&&ha.createElement("div",{className:ja.yestag},"\u6B63\u786E\u7B54\u6848")))),(Se==null?void 0:Se.question_type)===3&&ha.createElement("div",{className:ja.completion},(da=Se==null?void 0:Se.standard_answers)==null?void 0:da.map((Fn,Ca)=>{var ba;return ha.createElement(at.Z,{align:"top"},ha.createElement("span",{className:ja.title},"\u586B\u7A7A\u9879",Ca+1),ha.createElement("div",{className:ja.content},(ba=Fn.answer_text)==null?void 0:ba.map((Za,Ha)=>ha.createElement("div",{key:Ha,className:ja.items,style:(Fn==null?void 0:Fn.model)===2?{border:0,padding:0}:{}},(Fn==null?void 0:Fn.model)===1?ha.createElement("pre",{className:"mb0"},Za):ha.createElement(al.Z,{value:Za,disabled:!0})))))})),(Se==null?void 0:Se.question_type)===4&&ha.createElement("div",{className:ja.simple},ha.createElement("div",{className:ja.title},"\u53C2\u8003\u7B54\u6848"),ha.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(ka=Se==null?void 0:Se.answer_texts)!=null&&ka[0]?ha.createElement(Qe.Z,{className:ja.content,value:(Ka=Se==null?void 0:Se.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:ja.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),ha.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},Se!=null&&Se.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(Se==null?void 0:Se.question_type)===5&&ha.createElement("div",{className:ja.shixunWrapper},(me=Se==null?void 0:Se.shixun)==null?void 0:me.map((Fn,Ca)=>{var ba,Za;return ha.createElement("div",null,ha.createElement("div",{key:Ca,className:`${ja.shixun} mb30`},ha.createElement("span",{className:ja.score},"\uFF08",Fn==null?void 0:Fn.challenge_score,"\u5206\uFF09"),ha.createElement("span",{className:ja.qtitle},(Se==null?void 0:Se.index)+"."+(Ca+1),"\u3001",Fn==null?void 0:Fn.challenge_name)),((Za=(ba=We==null?void 0:We.editData)==null?void 0:ba.exercise)==null?void 0:Za.show_challenge_task_pass)&&ha.createElement(Qe.Z,{className:ja.content,value:(Fn==null?void 0:Fn.challenge_task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(Se==null?void 0:Se.question_type)===6&&ha.createElement("div",{className:ja.program,style:{border:!((be=(ge=We==null?void 0:We.editData)==null?void 0:ge.exercise)!=null&&be.show_hack_sets)&&!((Ie=(ke=We==null?void 0:We.editData)==null?void 0:ke.exercise)!=null&&Ie.show_hack_description)&&"none"}},((vt=(je=We==null?void 0:We.editData)==null?void 0:je.exercise)==null?void 0:vt.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:(Fn,Ca,ba)=>ba+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Fn,Ca,ba)=>ha.createElement(ne.Z,{title:ha.createElement("pre",null,Fn)},ha.createElement("div",{className:ja.divname},Fn))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(Fn,Ca,ba)=>ha.createElement(ne.Z,{title:ha.createElement("pre",null,Fn)}," ",ha.createElement("div",{className:ja.divname},Fn))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:(Ct=Se==null?void 0:Se.program_attr)==null?void 0:Ct.hack_sets})),((_t=(it=We==null?void 0:We.editData)==null?void 0:it.exercise)==null?void 0:_t.show_hack_description)&&ha.createElement("div",null,ha.createElement(Qe.Z,{className:ja.content,value:(Se==null?void 0:Se.description)||"- -"}))),(Se==null?void 0:Se.question_type)===7&&((Ft=Se==null?void 0:Se.sub_exercise_questions)==null?void 0:Ft.map((Fn,Ca)=>{var ba,Za,Ha,ia,ya,Sa;return ha.createElement("div",{key:Ca},ha.createElement("div",{className:ja.combination},ha.createElement("span",{className:ja.score},Fn==null?void 0:Fn.question_score,"\u5206"),ha.createElement("span",{className:ja.qtype},(ba=wl.find(Gn=>Gn.type==Fn.question_type))==null?void 0:ba.name),ha.createElement("span",{className:ja.qtitle},ha.createElement(Qe.Z,{value:`${Ca+1}\u3001${Fn==null?void 0:Fn.question_title}`}))),(Fn.question_type===0||Fn.question_type===2)&&ha.createElement("div",{className:ja.warp,style:{padding:"20px 58px 0 58px"}},ha.createElement("div",null,(Za=Fn==null?void 0:Fn.question_choices)==null?void 0:Za.map((Gn,ma)=>ha.createElement("div",{className:ja.redio,key:ma},!(Gn!=null&&Gn.standard_boolean)&&ha.createElement("span",{className:ja.redioitem}),(Gn==null?void 0:Gn.standard_boolean)&&ha.createElement("i",{className:`${ja.redioitemyes} icon-duigou1`}),ha.createElement("span",{className:`${Gn!=null&&Gn.standard_boolean?ja.titleyes:ja.title} ${ja.indexTag}`},Li[ma]),ha.createElement(Qe.Z,{className:Gn!=null&&Gn.standard_boolean?ja.titleyes:ja.title,value:Gn==null?void 0:Gn.choice_text}),(Gn==null?void 0:Gn.standard_boolean)&&ha.createElement("div",{className:ja.yestag},"\u6B63\u786E\u7B54\u6848"))))),Fn.question_type===1&&ha.createElement("div",{className:ja.normalWrap},(Ha=Fn==null?void 0:Fn.question_choices)==null?void 0:Ha.map((Gn,ma)=>ha.createElement("div",{className:ja.checkbox,key:ma},!(Gn!=null&&Gn.standard_boolean)&&ha.createElement("span",{className:ja.checkboxitem}),(Gn==null?void 0:Gn.standard_boolean)&&ha.createElement("i",{className:`${ja.checkboxitemyes} icon-duigou1`}),ha.createElement("span",{className:`${Gn!=null&&Gn.standard_boolean?ja.titleyes:ja.title} ${ja.indexTag}`},Li[ma]),ha.createElement(Qe.Z,{className:Gn!=null&&Gn.standard_boolean?ja.titleyes:ja.title,value:Gn==null?void 0:Gn.choice_text}),(Gn==null?void 0:Gn.standard_boolean)&&ha.createElement("div",{className:ja.yestag},"\u6B63\u786E\u7B54\u6848")))),Fn.question_type===3&&ha.createElement("div",{className:ja.completion},(ia=Fn==null?void 0:Fn.standard_answers)==null?void 0:ia.map((Gn,ma)=>{var Ma;return ha.createElement(at.Z,{align:"top"},ha.createElement("span",{className:ja.title},"\u586B\u7A7A\u9879",ma+1),ha.createElement("div",{className:ja.content},(Ma=Gn.answer_text)==null?void 0:Ma.map((er,ar)=>ha.createElement("div",{key:ar,className:ja.items},ha.createElement("pre",{className:"mb0"},er)))))})),Fn.question_type===4&&ha.createElement("div",{className:ja.simple},ha.createElement("div",{className:ja.title},"\u53C2\u8003\u7B54\u6848"),ha.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(ya=Fn==null?void 0:Fn.answer_texts)!=null&&ya[0]?ha.createElement(Qe.Z,{className:ja.content,value:(Sa=Fn==null?void 0:Fn.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:ja.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),ha.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},Fn!=null&&Fn.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(Se==null?void 0:Se.question_type)===8&&ha.createElement("div",null,ha.createElement(Qe.Z,{disabledFill:!0,className:ja.content,showProgramFill:!0,value:vi.Base64.decode(((Xt=Se==null?void 0:Se.program_attr)==null?void 0:Xt.code)||"")})),((Se==null?void 0:Se.question_type)<=4||[6,8].includes(Se==null?void 0:Se.question_type))&&ha.createElement("div",{className:ja.bottom},ha.createElement("div",{className:`${ja.bottomitem} mb30`},ha.createElement("span",{className:ja.left},"\u89E3\u6790"),ha.createElement("span",{className:ja.right},Se!=null&&Se.analysis?ha.createElement(Qe.Z,{value:Se==null?void 0:Se.analysis}):ha.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),ha.createElement("div",{className:`${ja.bottomitem} mb30`},ha.createElement("span",{className:ja.left},"\u96BE\u5EA6"),ha.createElement("span",{className:ja.right},(Se==null?void 0:Se.difficulty)===1?"\u7B80\u5355":(Se==null?void 0:Se.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),ha.createElement("div",{className:ja.bottomitem},ha.createElement("span",{className:ja.left},"\u77E5\u8BC6\u70B9"),ha.createElement(ne.Z,{title:((Ln=Se==null?void 0:Se.tag_discipline_names)==null?void 0:Ln.length)<=0||((zt=Se==null?void 0:Se.tag_discipline_names)==null?void 0:zt.length)==1&&["-"].includes(Se==null?void 0:Se.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(Un=(At=Se==null?void 0:Se.tag_discipline_names)==null?void 0:At.join("\uFF1B"))==null?void 0:Un.toString()},ha.createElement("span",{className:ja.right},((Hn=Se==null?void 0:Se.tag_discipline_names)==null?void 0:Hn.length)<=0?ha.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(($n=Se==null?void 0:Se.tag_discipline_names)==null?void 0:$n.length)==1&&["-"].includes(Se==null?void 0:Se.tag_discipline_names[0])?ha.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(qn=(Vn=Se==null?void 0:Se.tag_discipline_names)==null?void 0:Vn.join("\uFF1B"))==null?void 0:qn.toString())))))},Al=te(4881),rl=te(44272),Go=te(59301),ts=Object.defineProperty,bi=Object.defineProperties,ol=Object.getOwnPropertyDescriptors,Oi=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,Dl=Object.prototype.propertyIsEnumerable,$i=(Se,We,Je)=>We in Se?ts(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,Ri=(Se,We)=>{for(var Je in We||(We={}))il.call(We,Je)&&$i(Se,Je,We[Je]);if(Oi)for(var Je of Oi(We))Dl.call(We,Je)&&$i(Se,Je,We[Je]);return Se},ll=(Se,We)=>bi(Se,ol(We)),Ti=(Se,We,Je)=>new Promise((cn,da)=>{var ka=ge=>{try{me(Je.next(ge))}catch(be){da(be)}},Ka=ge=>{try{me(Je.throw(ge))}catch(be){da(be)}},me=ge=>ge.done?cn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Je=Je.apply(Se,We)).next())}),ns=({qitem:Se,setisedit:We,TagDiscipline:Je,exerciseitem:cn,seveeditor:da,deleteitem:ka,getTagData:Ka,init:me,showTip:ge=!1})=>{const[be]=Be.default.useForm();return(0,x.useEffect)(()=>{be.setFieldsValue(ll(Ri({},Se),{name:Se.question_title,answer_texts:Se.answer_texts,repeat_answer:!Se.repeat_answer}))},[Se]),Go.createElement("div",null,Go.createElement(Be.default,{form:be,colon:!1,onFinish:ke=>{da(Ri(Ri({},Se),ke))},onFinishFailed:ke=>Ti(void 0,null,function*(){var Ie,je;Le.ZP.error(ke.errorFields[0].errors[0]),be.scrollToField((je=(Ie=ke==null?void 0:ke.errorFields)==null?void 0:Ie[0])==null?void 0:je.name,{behavior:"smooth",block:"center"})})},Go.createElement("div",{style:{display:"flex",alignItems:"center"}},Go.createElement("div",{style:{flex:1}},Go.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Go.createElement("span",null,"\u7B80\u7B54\u9898")),!(Se!=null&&Se.isadd)&&Go.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},Go.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Go.createElement(tt.ZP,{onClick:()=>{Se.isadd?(We(!1),me()):(be.setFieldsValue(ll(Ri({},Se),{name:Se==null?void 0:Se.question_title,answer_texts:Se.answer_texts||[],repeat_answer:!(Se!=null&&Se.repeat_answer)})),We(!1))}},"\u53D6\u6D88"),Go.createElement(ne.Z,{overlayClassName:ie.shake,open:ge,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Go.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Go.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")},Go.createElement(tt.ZP,{type:"primary",className:"ml20",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),Go.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Go.createElement(Be.default.Item,{className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Go.createElement(Ue.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})),Go.createElement(rl.W,{form:be,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),Go.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:cn,TagDiscipline:Je,form:be}))))},Lo=te(59301),as=(Se,We,Je)=>new Promise((cn,da)=>{var ka=ge=>{try{me(Je.next(ge))}catch(be){da(be)}},Ka=ge=>{try{me(Je.throw(ge))}catch(be){da(be)}},me=ge=>ge.done?cn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Je=Je.apply(Se,We)).next())}),sl=({setScoreShow:Se,ScoreShow:We,exerciseitem:Je,getdata:cn})=>{var da,ka,Ka;const[me,ge]=(0,x.useState)(!1);function be(){return as(this,null,function*(){var ke,Ie,je;let vt=(Ie=(ke=Je==null?void 0:Je.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})),Ct=yield(0,pe.ZP)(`/api/examination_banks/${(je=Je==null?void 0:Je.exercise)==null?void 0:je.id}/batch_set_score.json`,{method:"POST",body:{question_arr:vt}});(Ct==null?void 0:Ct.status)===0&&cn()})}return Lo.createElement("div",null,We&&Lo.createElement(b.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:We,width:640,centered:!0,zIndex:10,className:ie.scoremodal,onCancel:()=>{Se(!1)},onOk:()=>{var ke,Ie,je;if(Je!=null&&Je.use_blank_score&&((je=(Ie=(ke=Je==null?void 0:Je.exercise_question_types)==null?void 0:ke.filter(vt=>vt.name==="\u586B\u7A7A\u9898"))==null?void 0:Ie[0])!=null&&je.Singlequestion)){ge(!0);return}be(),Se(!1)}},Lo.createElement("div",{className:"c-black"},"\u603B\u5206",Lo.createElement("span",{className:"ml10 c-light-primary"},(Je==null?void 0:Je.exercise_question_types.length)>0&&((da=Je==null?void 0:Je.exercise_types)==null?void 0:da.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=Je==null?void 0:Je.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 je;return Lo.createElement("div",{key:Ie,className:ie.items},Lo.createElement("span",null,ke==null?void 0:ke.name),Lo.createElement("span",null,(je=ke==null?void 0:ke.items)==null?void 0:je.length),Lo.createElement("span",null,ke==null?void 0:ke.score),Lo.createElement("span",null,"\u6BCF\u9898",Lo.createElement(Ue.Z,{min:.1,precision:1,max:100,onChange:vt=>{ke.Singlequestion=vt},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:me,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(tt.ZP,{className:ie.no,onClick:()=>{ge(!1)}},"\u53D6\u6D88"),Lo.createElement(tt.ZP,{className:ie.yes,onClick:()=>{be(),ge(!1),Se(!1)}},"\u786E\u8BA4"))))},Fi=te(47251),ki=te(78874),Nl=te(89392),rs=te(36714),os=te(50043),is=te(94361),Da=te(59301),ls=Object.defineProperty,Ds=Object.defineProperties,ss=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertySymbols,Ns=Object.prototype.hasOwnProperty,Ll=Object.prototype.propertyIsEnumerable,us=(Se,We,Je)=>We in Se?ls(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,ti=(Se,We)=>{for(var Je in We||(We={}))Ns.call(We,Je)&&us(Se,Je,We[Je]);if(Il)for(var Je of Il(We))Ll.call(We,Je)&&us(Se,Je,We[Je]);return Se},Ci=(Se,We)=>Ds(Se,ss(We)),Oo=(Se,We,Je)=>new Promise((cn,da)=>{var ka=ge=>{try{me(Je.next(ge))}catch(be){da(be)}},Ka=ge=>{try{me(Je.throw(ge))}catch(be){da(be)}},me=ge=>ge.done?cn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Je=Je.apply(Se,We)).next())});const Qi=[{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:Se,dispatch:We,itemid:Je,newExercisePaper:cn,setisedits:da})=>{var ka,Ka,me,ge,be,ke,Ie,je,vt,Ct,it,_t;const[Ft,Xt]=(0,x.useState)(),[Ln,zt]=(0,x.useState)(!1),[At,Un]=(0,x.useState)(),[Hn,$n]=(0,x.useState)(),Vn=(0,x.useRef)(),qn=(0,x.useRef)(),[Fn,Ca]=(0,x.useState)(),[ba,Za]=(0,x.useState)(!1),[Ha,ia]=(0,x.useState)(!1),[ya,Sa]=(0,x.useState)(),[Gn,ma]=(0,x.useState)(!1),[Ma,er]=(0,x.useState)(!1),[ar,Wa]=(0,x.useState)(!1),[mr,hr]=(0,x.useState)(!1),[Wr,Zr]=(0,x.useState)(!1),[ho,qr]=(0,x.useState)(!1),[xr,Do]=(0,x.useState)(!1),[Ur,So]=(0,x.useState)(!1),[ao]=Be.default.useForm(),[$o,sr]=(0,x.useState)(!1),ur=(0,x.useRef)(null),[za]=(0,ue.useSearchParams)(),[tr,Gr]=(0,x.useState)(!1),nr=za.get("isIntelligentAssistant"),[cr,Rr]=(0,x.useState)(!1);(0,x.useEffect)(()=>{ro(),We({type:"globalSetting/footerToggle",payload:!1})},[]),(0,x.useEffect)(()=>{da(Ha)},[Ha]),(0,x.useEffect)(()=>{At!=null&&At.question_id&&($n(At==null?void 0:At.question_score),qn.current=At==null?void 0:At.question_id)},[At]);const Fr=ca=>Oo(void 0,null,function*(){let Ja=yield We({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:ca}});Sa(Ja)});function ro(){return Oo(this,null,function*(){var ca,Ja,Pr,Er,Nr,_r;Za(!0),zt(!0);const io=yield We({type:"newExercisePaper/editExercise",payload:{id:Je}});Za(!1),zt(!1),Xt(io),(ca=io==null?void 0:io.exercise)!=null&&ca.sub_discipline_id&&Fr((Ja=io==null?void 0:io.exercise)==null?void 0:Ja.sub_discipline_id),Un(Ci(ti({},(Nr=(Er=(Pr=io==null?void 0:io.exercise_question_types)==null?void 0:Pr[0])==null?void 0:Er.items)==null?void 0:Nr[0]),{index:1})),Ca(Ci(ti({},(_r=io==null?void 0:io.exercise_question_types)==null?void 0:_r[0]),{indexs:1}))})}function Ao(ca,Ja=!0){return Oo(this,null,function*(){var Pr,Er,Nr,_r;Ja&&(Za(!0),zt(!0));const io=yield We({type:"newExercisePaper/editExercise",payload:{id:Je}});Xt(io);let bo=[];(Pr=io==null?void 0:io.exercise_question_types)==null||Pr.map(zo=>{var ni;(ni=zo==null?void 0:zo.items)==null||ni.map((qo,fi)=>{bo.push(Ci(ti({},qo),{index:fi+1}))})});let lo=(Er=bo.filter(zo=>zo.question_id===(ca==null?void 0:ca.id)))==null?void 0:Er[0],ii=(_r=((Nr=io==null?void 0:io.exercise_question_types)==null?void 0:Nr.map((zo,ni)=>{if((lo==null?void 0:lo.question_type)===(zo==null?void 0:zo.question_type))return Ci(ti({},zo),{indexs:ni+1})})).filter(zo=>zo))==null?void 0:_r[0];Ca(ti({},ii)),Un(ti({},lo)),$n(lo==null?void 0:lo.question_score),Za(!1),zt(!1)})}function Zo(ca){return Oo(this,null,function*(){var Ja;let Pr=Ci(ti({},ca),{difficulty:(ca==null?void 0:ca.difficulty)||2,item_type:ca.question_type,sub_discipline_id:((Ja=ca==null?void 0:ca.sub_discipline_id)==null?void 0:Ja[1])||"",tag_discipline_ids:[],repeat_answer:!ca.repeat_answer}),Er={};ca.question_type===8&&(Er=Ci(ti({},ca),{hack:Ci(ti({},ca==null?void 0:ca.hack),{difficult:ca.difficulty}),hack_codes:Ci(ti({},ca.hack_codes),{code:vi.Base64.encode(ca.hack_codes.code)}),hack_sets:[ti({},ca.hack_sets)],is_blank:!0})),ca.tag_discipline_ids&&(Pr.tag_discipline_ids=Array.isArray(ca.tag_discipline_ids)?ca.tag_discipline_ids:[ca.tag_discipline_ids],Er.tag_discipline_ids=Array.isArray(ca.tag_discipline_ids)?ca.tag_discipline_ids:[ca.tag_discipline_ids]),sessionStorage.projectFill&&(Er.hack_identifier=sessionStorage.projectFill);let Nr=yield(0,pe.ZP)(`/api/examination_banks/${Je}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:ca.question_type===8?Er:Pr});(Nr==null?void 0:Nr.status)===0&&(ia(!1),Ao(Nr)),(0,ce.Vf)("#question-scroll-id")})}function Ro(ca){return Oo(this,null,function*(){zt(!0);let Ja=yield(0,pe.ZP)(`/api/examination_banks/${Je}/sort_question_type.json`,{method:"post",body:{question_type:ca}});zt(!1),(Ja==null?void 0:Ja.status)===0&&ro()})}const ci=(ca,Ja,Pr)=>Oo(void 0,null,function*(){var Er;if(ca.length===0){Le.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),Pr();return}const Nr=yield(0,le.Hb)(Je,(Er=ca[0])==null?void 0:Er.file,Ja);Nr.status===0&&(Le.ZP.success(`\u6210\u529F\u5BFC\u5165${Nr==null?void 0:Nr.success}\u6761`),ma(!1),ro()),Pr()}),No=(ca,Ja)=>Oo(void 0,null,function*(){const Pr=yield(0,le.kF)({score:(0,Nl.round)(ca,1),question_id:Ja==null?void 0:Ja.question_id});if((Pr==null?void 0:Pr.status)===0){Le.ZP.success("\u4FEE\u6539\u6210\u529F"),Ao({id:qn.current},!1);return}(Pr==null?void 0:Pr.status)===-1&&$n(Ja==null?void 0:Ja.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(At.question_id){let ca=yield(0,pe.ZP)(`/api/examination_banks/${Je}/examination_banks_item_banks/${At.question_id}.json`,{method:"delete"});(ca==null?void 0:ca.status)===0&&(ro(),ia(!1))}else Un({}),ia(!1),ro()}),cancelText:"\u53D6\u6D88"})})}const Ai=ca=>Oo(void 0,null,function*(){return yield(0,pe.ZP)(`/api/examination_banks/${Je}/examination_banks_item_banks.json`,{method:"post",body:ti({},ca)})}),{overflow:Xr,handleMouseEnter:eo,handleMouseLeave:co}=(0,ki.I)(),Eo=ca=>Oo(void 0,null,function*(){var Ja,Pr;zt(!0);let Er=yield(0,pe.ZP)(`/api/examination_banks/${Je}/sort_question_type.json`,{method:"post",body:{question_type:ca}});if(zt(!1),(Er==null?void 0:Er.status)===0){const Nr=yield We({type:"newExercisePaper/editExercise",payload:{id:Je}});Xt(Nr),(Ja=Nr==null?void 0:Nr.exercise)!=null&&Ja.sub_discipline_id&&Fr((Pr=Nr==null?void 0:Nr.exercise)==null?void 0:Pr.sub_discipline_id)}}),oo=()=>Ha?(Rr(!0),!0):!1;(0,x.useEffect)(()=>{if(cr){const ca=setTimeout(()=>{Rr(!1)},2e3);return()=>clearTimeout(ca)}},[cr]);const Tr=(ca,Ja)=>Da.createElement(E.default,null,Da.createElement(E.default.Item,{key:"0",onClick:()=>Ko(ca==null?void 0:ca.question_type)},Da.createElement("span",{className:ie.moreSpan},"\u65B0\u589E")),Da.createElement(E.default.Item,{key:"1",disabled:Ja===0,onClick:()=>Oo(void 0,null,function*(){if(Ja===0||oo())return;let Pr=(0,ce.rz)(Ft==null?void 0:Ft.exercise_question_types,Ja,Ja-1);yield Eo(Pr.map(Er=>Er.name))})},Da.createElement("span",{className:ie.moreSpan},"\u4E0A\u79FB")),Da.createElement(E.default.Item,{key:"2",disabled:Ja===(Ft==null?void 0:Ft.exercise_question_types.length)-1,onClick:()=>Oo(void 0,null,function*(){if(Ja===(Ft==null?void 0:Ft.exercise_question_types.length)-1||oo())return;let Pr=(0,ce.rz)(Ft==null?void 0:Ft.exercise_question_types,Ja,Ja+1);yield Eo(Pr.map(Er=>Er.name))})},Da.createElement("span",{className:ie.moreSpan},"\u4E0B\u79FB")),Da.createElement(E.default.Item,{key:"3",onClick:()=>{var Pr;ao.setFieldsValue({name:ca.name,item_type_en:(Pr=Qi.find(Er=>Er.id==ca.question_type))==null?void 0:Pr.nameType}),sr(!0)}},Da.createElement("span",{className:ie.moreSpan},"\u91CD\u547D\u540D"))),Ko=ca=>{var Ja,Pr,Er,Nr,_r,io,bo,lo,po,ii,zo,ni,qo,fi,Xi,Kr,fo,Mo,Co,Wo,Uo,Xo,Si,zi,zl,ml,fl,pl;if(!oo()){if(ca===5){hr(!0),Zr(!0);return}if(ca===6){if(za.get("pageType")=="course")za.get("updateType")=="course"?ue.history.push(`/problems/newcreate?express_id=${(Ja=Ft==null?void 0:Ft.exercise)==null?void 0:Ja.id}&callback_url=/paperlibrary/add/${(Pr=Ft==null?void 0:Ft.exercise)==null?void 0:Pr.id}?type=2&pageType=course&updateType=course&courseId=${za.get("courseId")}&stageId=${za.get("stageId")}`):ue.history.push(`/problems/newcreate?express_id=${(Er=Ft==null?void 0:Ft.exercise)==null?void 0:Er.id}&callback_url=/paperlibrary/add/${(Nr=Ft==null?void 0:Ft.exercise)==null?void 0:Nr.id}?type=2&pageType=course&courseId=${za.get("courseId")}&stageId=${za.get("stageId")}`);else{let Yi=(io=(_r=cn==null?void 0:cn.editData)==null?void 0:_r.exercise)!=null&&io.set_question_sub_discipline?`/problems/newcreate?express_id=${(bo=Ft==null?void 0:Ft.exercise)==null?void 0:bo.id}&callback_url=${window.location.pathname+window.location.search}&discipline_id=${(po=(lo=cn==null?void 0:cn.editData)==null?void 0:lo.exercise)==null?void 0:po.discipline_id}&sub_discipline_id=${(zo=(ii=cn==null?void 0:cn.editData)==null?void 0:ii.exercise)==null?void 0:zo.sub_discipline_id}`:`/problems/newcreate?express_id=${(ni=Ft==null?void 0:Ft.exercise)==null?void 0:ni.id}&callback_url=${window.location.pathname+window.location.search}`;ue.history.push(Yi)}return}ia(!0),Un(ca===2?{question_type:ca,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=cn==null?void 0:cn.editData)==null?void 0:qo.exercise)!=null&&fi.set_question_sub_discipline?(Kr=(Xi=cn==null?void 0:cn.editData)==null?void 0:Xi.exercise)==null?void 0:Kr.discipline_id:0,sub_discipline_id:(Mo=(fo=cn==null?void 0:cn.editData)==null?void 0:fo.exercise)!=null&&Mo.set_question_sub_discipline?(Wo=(Co=cn==null?void 0:cn.editData)==null?void 0:Co.exercise)==null?void 0:Wo.sub_discipline_id:0,analysis:""}:{question_type:ca,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=(Uo=cn==null?void 0:cn.editData)==null?void 0:Uo.exercise)!=null&&Xo.set_question_sub_discipline?(zi=(Si=cn==null?void 0:cn.editData)==null?void 0:Si.exercise)==null?void 0:zi.discipline_id:0,sub_discipline_id:(ml=(zl=cn==null?void 0:cn.editData)==null?void 0:zl.exercise)!=null&&ml.set_question_sub_discipline?(pl=(fl=cn==null?void 0:cn.editData)==null?void 0:fl.exercise)==null?void 0:pl.sub_discipline_id:0})}},Vo=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{oo()||ma(!0)}},{key:2,label:Da.createElement("div",null,Da.createElement("img",{width:26,style:{position:"absolute",top:-2},src:os.$}),Da.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),onClick:()=>{oo()||er(!0)}}];return Da.createElement("div",null,Da.createElement(Oe.Z,{spinning:ba},Da.createElement("div",{className:ie.bg},Da.createElement("div",{style:{textAlign:"center"}},((ka=Ft==null?void 0:Ft.exercise_types)==null?void 0:ka.q_counts)===0&&!Ha&&Da.createElement(Ee.Z,{styles:{marginTop:180},customText:Da.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",Da.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((Ka=Ft==null?void 0:Ft.exercise_types)==null?void 0:Ka.q_counts)>0||Ha)&&Da.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},Da.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},Da.createElement("div",{className:ie.left},Da.createElement("div",{className:ie.leftAction},Da.createElement(tt.ZP,{onClick:()=>{oo()||Wa(!0)},className:ie.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),Da.createElement("div",{className:ie.scrollWrapper,style:{overflow:Xr},onMouseEnter:eo,onMouseLeave:co},(me=Ft==null?void 0:Ft.exercise_question_types)==null?void 0:me.map((ca,Ja)=>Da.createElement("div",{key:Ja,className:"mb30"},Da.createElement("div",{className:ie.title},Da.createElement("div",{className:ie.titleleft},Da.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,ce.EM)(Ja+1),"\u3001\u3010",ca.name,"\u3011"),Da.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",ca.count,"\u5C0F\u9898\uFF0C\u5171",ca.score,"\u5206\uFF09")),Da.createElement(z.Z,{dropdownRender:()=>Tr(ca,Ja),placement:"bottomLeft"},Da.createElement("div",{className:ie.more_style},Da.createElement("i",{className:"iconfont icon-sandian font12"})))),Da.createElement(dn,{handleEditing:()=>{Rr(!0)},isedit:Ha,setBigqitem:Ca,bigitem:Ci(ti({},ca),{indexs:Ja+1}),setqitem:Pr=>Oo(void 0,null,function*(){var Er;(Er=Vn.current)==null||Er.blur(),Un(Pr)}),qitem:At,Itemid:Je,getdata:Ao,data:ca.items})))))),Da.createElement("div",{id:"question-scroll-id",style:{overflow:Ha?"hidden":"auto"},className:ie.right,ref:ur},!(At!=null&&At.isadd)&&Da.createElement("div",{className:ie.title},!Ha&&Da.createElement("div",{style:{flex:1}},Da.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(Fn==null?void 0:Fn.indexs)&&(0,ce.EM)(Fn==null?void 0:Fn.indexs),"\u3001\u3010",Fn==null?void 0:Fn.name,"\u3011"),Da.createElement(ne.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},Da.createElement("i",{className:`${ie.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var ca;ao.setFieldsValue({name:Fn.name,item_type_en:(ca=Qi.find(Ja=>Ja.id==Fn.question_type))==null?void 0:ca.nameType}),sr(!0)}})),Da.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",Fn==null?void 0:Fn.count,"\u5C0F\u9898\uFF0C\u5171",Fn==null?void 0:Fn.score,"\u5206\uFF09"),(At==null?void 0:At.question_type)===6&&Da.createElement("span",{onClick:()=>Gr(2),className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(At==null?void 0:At.question_type)===5&&Da.createElement(ot.default,{defaultChecked:(be=(ge=cn==null?void 0:cn.editData)==null?void 0:ge.exercise)==null?void 0:be.show_challenge_task_pass,onChange:ca=>Oo(void 0,null,function*(){let Ja=yield(0,pe.ZP)(`/api/examination_banks/${Je}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:ca.target.checked}});(Ja==null?void 0:Ja.status)===0&&(Le.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ao({id:qn.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(At==null?void 0:At.question_type)===6&&Da.createElement("span",{style:{marginLeft:20},onClick:()=>{var ca,Ja,Pr,Er;b.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:Da.createElement("div",null,(At==null?void 0:At.question_type)===6&&Da.createElement(ot.default,{defaultChecked:(Ja=(ca=cn==null?void 0:cn.editData)==null?void 0:ca.exercise)==null?void 0:Ja.show_hack_sets,onChange:Nr=>Oo(void 0,null,function*(){let _r=yield(0,pe.ZP)(`/api/examination_banks/${Je}/update_show_columns.json`,{method:"post",body:{show_hack_sets:Nr.target.checked}});(_r==null?void 0:_r.status)===0&&(Le.ZP.info("\u8BBE\u7F6E\u6210\u529F"),b.default.destroyAll(),Ao({id:qn.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),Da.createElement("br",null),(At==null?void 0:At.question_type)===6&&Da.createElement(ot.default,{defaultChecked:(Er=(Pr=cn==null?void 0:cn.editData)==null?void 0:Pr.exercise)==null?void 0:Er.show_hack_description,onChange:Nr=>Oo(void 0,null,function*(){let _r=yield(0,pe.ZP)(`/api/examination_banks/${Je}/update_show_columns.json`,{method:"post",body:{show_hack_description:Nr.target.checked}});(_r==null?void 0:_r.status)===0&&(Le.ZP.info("\u8BBE\u7F6E\u6210\u529F"),b.default.destroyAll(),Ao({id:qn.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")),Da.createElement("div",{style:{display:"flex",alignItems:"center"}},(At==null?void 0:At.question_type)===5&&!Ha&&Da.createElement("a",{className:ie.shixun,href:`/shixuns/${At==null?void 0:At.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Da.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!Ha&&[0,1,2,4,6].includes(At==null?void 0:At.question_type)&&Da.createElement(Be.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},Da.createElement(Ue.Z,{precision:1,ref:Vn,onChange:ca=>$n(ca),value:Hn,onBlur:ca=>{No(ca.target.value,At)}})),!Ha&&Da.createElement(ne.Z,{title:"\u5220\u9664"},Da.createElement("i",{onClick:()=>{Io()},style:{marginRight:20},className:`${ie.delete} iconfont icon-shanchu13 mr5 `})),!Ha&&Da.createElement(ne.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},Da.createElement("i",{onClick:()=>{var ca,Ja,Pr;(At==null?void 0:At.question_type)===6?za.get("pageType")=="course"?za.get("updateType")=="course"?ue.history.push(`/problems/newedit/${At==null?void 0:At.hack_identifier}?type=exercises&express_id=${(ca=Ft==null?void 0:Ft.exercise)==null?void 0:ca.id}&question_id=${At==null?void 0:At.question_id}&score=${At==null?void 0:At.question_score}&exercise=true&callback_url=${location.pathname}?type=2&pageType=course&updateType=course&courseId=${za.get("courseId")}&stageId=${za.get("stageId")}`):ue.history.push(`/problems/newedit/${At==null?void 0:At.hack_identifier}?type=exercises&express_id=${(Ja=Ft==null?void 0:Ft.exercise)==null?void 0:Ja.id}&question_id=${At==null?void 0:At.question_id}&score=${At==null?void 0:At.question_score}&exercise=true&callback_url=${location.pathname}?type=2&pageType=course&courseId=${za.get("courseId")}&stageId=${za.get("stageId")}`):ue.history.push(`/problems/newedit/${At==null?void 0:At.hack_identifier}?type=exercises&express_id=${(Pr=Ft==null?void 0:Ft.exercise)==null?void 0:Pr.id}&question_id=${At==null?void 0:At.question_id}&score=${At==null?void 0:At.question_score}&exercise=true&callback_url=${window.location.pathname+window.location.search}`):ia(!0)},className:`${ie.edit} iconfont icon-bianji_Hover mr5 `})))),!Ha&&Da.createElement("div",null,Da.createElement("div",{className:ie.qcount},Da.createElement("span",{className:ie.score},At==null?void 0:At.question_score,"\u5206"),Da.createElement(Qe.Z,{className:ie.qtitle,value:(At==null?void 0:At.index)+`\u3001${(At==null?void 0:At.question_type)==8?(ke=At==null?void 0:At.program_attr)==null?void 0:ke.description:At==null?void 0:At.question_title}`}),(At==null?void 0:At.high_resources_consume)&&Da.createElement(is.Z,{type:"shixun",style:{marginLeft:10}})),(At==null?void 0:At.question_type)===6&&Da.createElement(Ge.Z,{onEdit:()=>Gr(1),className:"mt10",dataSource:(At==null?void 0:At.languages)||[]}),Da.createElement(ws,{newExercisePaper:cn,TagDiscipline:ya,qitem:At})),Ha&&Da.createElement("div",null,(At==null?void 0:At.question_type)<=1&&Da.createElement(pt,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:Ft,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}),(At==null?void 0:At.question_type)===5&&Da.createElement(ql,{setqitem:Un,deleteitem:Io,seveeditor:Zo,exerciseitem:Ft,TagDiscipline:ya,setisedit:ia,qitem:At,showTip:cr}),(At==null?void 0:At.question_type)===3&&Da.createElement(ta,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:Ft,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}),(At==null?void 0:At.question_type)===2&&Da.createElement(Kt,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:Ft,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}),(At==null?void 0:At.question_type)===4&&Da.createElement(ns,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:Ft,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}),(At==null?void 0:At.question_type)===7&&Da.createElement(ri,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:Ft,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}),(At==null?void 0:At.question_type)===8&&Da.createElement(Ii,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:Ft,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}))))))),Da.createElement("div",{className:ie.bottomdiv},Da.createElement("div",{style:{width:1200,margin:"0px auto",display:"flex",justifyContent:"space-between",alignItems:"center"}},Da.createElement("span",{className:ie.spanBtn,onClick:()=>{oo()||(hr(!0),Zr(!1))}},"\u9898\u5E93\u9009\u9898"),Da.createElement(z.Z,{menu:{items:Vo}},Da.createElement("span",{className:ie.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),Da.createElement("span",{className:ie.spanBtn,onClick:()=>Oo(void 0,null,function*(){var ca;if(oo())return;const Ja=yield(0,le.JP)(Je);Ja.status===0&&window.open(`/classrooms/coursesId/exercise/${Ja.exercise_id}/${(ca=Se.userInfo)==null?void 0:ca.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),Da.createElement("span",{className:ie.spanBtn,onClick:()=>{if(!oo()){if(nr){window.open(`/paperlibrary/see/${Je}?isIntelligentAssistant=true`);return}window.open(`/paperlibrary/see/${Je}`)}}},"\u8BD5\u5377\u9884\u89C8"),Qi==null?void 0:Qi.map((ca,Ja)=>Da.createElement(tt.ZP,{key:Ja,className:ie.addQuestionBtn,type:"primary",onClick:()=>{Ko(ca.id)}},ca.name)),Da.createElement(tt.ZP,{className:ie.saveBtn,loading:Ur,onClick:()=>{var ca,Ja;const Pr=()=>Oo(void 0,null,function*(){if(za.get("pageType")=="course")if(za.get("updateType")=="course")Le.ZP.info("\u7F16\u8F91\u6210\u529F"),ue.history.replace(`/paths/${za.get("courseId")}`);else{if(oo())return;(0,rs._C)({id:za.get("stageId"),subject_id:za.get("courseId"),homework_type:"exercise",examination_bank_ids:[Je]}).then(_r=>{(_r==null?void 0:_r.status)==0&&(Le.ZP.info("\u521B\u5EFA\u6210\u529F"),ue.history.replace(`/paths/${za.get("courseId")}`))})}else{if(oo())return;if(nr){So(!0);const _r=yield(0,pe.ZP)("/api/intelligent_imports/save_recognize_papers.json",{method:"post",body:{examination_bank_id:Je}});if(So(!1),(_r==null?void 0:_r.status)!==0)return}Le.ZP.info("\u521B\u5EFA\u6210\u529F"),ue.history.push("/paperlibrary?defaultActiveKey=0")}});let Er=(Ja=(ca=Ft==null?void 0:Ft.exercise_question_types)==null?void 0:ca.filter(_r=>_r.question_type===5)[0])==null?void 0:Ja.items,Nr=0;Er==null||Er.map(_r=>{_r.high_resources_consume&&(Nr=Nr+1)}),console.log(Nr),Nr>0?We({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:Nr,fn:()=>{Pr()}}}):Pr()}},Da.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),Da.createElement(sl,{setScoreShow:Wa,ScoreShow:ar,exerciseitem:Ft,getdata:ro}),mr&&Da.createElement(Fi.Z,{setScoreShow:hr,isshixuns:Wr,ScoreShow:mr,isloadings:ho,onOk:(ca,Ja,Pr,Er)=>Oo(void 0,null,function*(){qr(!0);let _r=yield Ai({exam_id:Je,item_bank_ids:ca,shixun_ids:Ja});qr(!1),(_r==null?void 0:_r.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:()=>{ro()},onCancel:()=>{hr(!1),ro()}})})}),Da.createElement(Al.Z,{sub_discipline_id:(Ie=Ft==null?void 0:Ft.exercise)!=null&&Ie.sub_discipline_id?[(je=Ft==null?void 0:Ft.exercise)==null?void 0:je.discipline_id,(vt=Ft==null?void 0:Ft.exercise)==null?void 0:vt.sub_discipline_id]:[],visible:Gn,onCancel:()=>ma(!1),onOk:ci}),Da.createElement(b.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:$o,width:500,onOk:()=>ao.submit(),onCancel:()=>sr(!1)},Da.createElement(Be.default,{form:ao,initialValues:{},onFinish:ca=>Oo(void 0,null,function*(){(yield(0,le.RK)(ti({id:Je},ca))).status==0&&(Le.ZP.success("\u4FEE\u6539\u6210\u529F"),ro(),sr(!1))})},Da.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(ca,Ja){var Pr,Er,Nr,_r;const io=(Pr=Qi==null?void 0:Qi.find(bo=>bo.nameType==ao.getFieldValue("item_type_en")))==null?void 0:Pr.id;return(_r=(Nr=(Er=Ft==null?void 0:Ft.exercise_question_types)==null?void 0:Er.filter(bo=>bo.question_type!=io))==null?void 0:Nr.map(bo=>bo==null?void 0:bo.name))!=null&&_r.includes(Ja)?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()}}]},Da.createElement(se.default,{size:"large",maxLength:10,showCount:!0})),Da.createElement(Be.default.Item,{hidden:!0,name:"item_type_en"},Da.createElement(se.default,{size:"large"})))),Da.createElement(re.Z,{placement:"bottom",height:"100%",destroyOnClose:!0,closable:!1,className:"body-overflow-hidden",open:Ma},Da.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),Da.createElement(os.Z,{stickyTop:-24,subDisciplineId:(Ct=Ft==null?void 0:Ft.exercise)!=null&&Ct.sub_discipline_id?[(it=Ft==null?void 0:Ft.exercise)==null?void 0:it.discipline_id,(_t=Ft==null?void 0:Ft.exercise)==null?void 0:_t.sub_discipline_id]:[],onCancel:()=>er(!1),mode:2,gather:{exam_id:Je},onSuccess:()=>{er(!1),ro()}}),Da.createElement("div",{style:{height:70}})),Da.createElement(Ge.Q,{visible:!!tr,setVisible:Gr,tip:tr===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:tr===1?At==null?void 0:At.languages:[],onOk:ca=>Oo(void 0,null,function*(){const Ja={languages:ca};tr===1?Ja.hack_id=At==null?void 0:At.hack_id:Ja.exam_id=Je,(yield(0,pe.ZP)("/api/problems/update_languages.json",{method:"post",body:Ja})).status===0&&(Le.ZP.success("\u4FEE\u6539\u6210\u529F"),Ao({id:qn.current}),Gr(!1))})}))};var Ol=(0,ue.connect)(({user:Se,newExercisePaper:We,dispatch:Je})=>({user:Se,newExercisePaper:We,dispatch:Je}))(ds),Rl=te(50337),Tl=te(53311),Ml=te(52154),fr=te(59301),kl=Object.defineProperty,Vs=Object.defineProperties,cs=Object.getOwnPropertyDescriptors,gs=Object.getOwnPropertySymbols,ms=Object.prototype.hasOwnProperty,Zl=Object.prototype.propertyIsEnumerable,Zi=(Se,We,Je)=>We in Se?kl(Se,We,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Se[We]=Je,ul=(Se,We)=>{for(var Je in We||(We={}))ms.call(We,Je)&&Zi(Se,Je,We[Je]);if(gs)for(var Je of gs(We))Zl.call(We,Je)&&Zi(Se,Je,We[Je]);return Se},xi=(Se,We)=>Vs(Se,cs(We)),wi=(Se,We,Je)=>new Promise((cn,da)=>{var ka=ge=>{try{me(Je.next(ge))}catch(be){da(be)}},Ka=ge=>{try{me(Je.throw(ge))}catch(be){da(be)}},me=ge=>ge.done?cn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Je=Je.apply(Se,We)).next())});const dl=()=>{const[Se,We]=(0,x.useState)([]);return(0,x.useEffect)(()=>{wi(void 0,null,function*(){const cn=yield(0,le.d1)({source:"question"});cn!=null&&cn.disciplines&&We((0,y.L)(cn==null?void 0:cn.disciplines))})},[]),Se},cl=({user:Se,newExercisePaper:We,dispatch:Je})=>{var cn,da,ka,Ka,me,ge,be,ke,Ie,je,vt,Ct;const it=(0,ue.useParams)(),_t=dl(),[Ft]=Be.default.useForm(),[Xt,Ln]=(0,x.useState)(),[zt,At]=(0,x.useState)(!1),[Un,Hn]=(0,x.useState)(1),[$n,Vn]=(0,x.useState)(""),[qn]=(0,ue.useSearchParams)(),[Fn,Ca]=(0,x.useState)(!1),[ba,Za]=(0,x.useState)(!1),[Ha,ia]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{qn.get("type")==="2"&&(Vn(it.id),Hn(2))},[qn.get("type")]),(0,x.useEffect)(()=>{if(it.id){if(!_t.length)return;wi(void 0,null,function*(){var Sa,Gn,ma;At(!0);const Ma=yield(0,le.Di)({id:it.id});At(!1);const er=(Sa=Ma==null?void 0:Ma.exercise)==null?void 0:Sa.sub_discipline_id;let ar=[];for(const hr of _t)for(const Wr of hr.children)Wr.value===er&&(ar=[hr.value,Wr.value]);const Wa=(Gn=Ma==null?void 0:Ma.exercise)==null?void 0:Gn.time,mr=xi(ul({},Ma.exercise),{sub_discipline_id:ar,time:Wa===-1?null:Wa});Ln(mr),ia((ma=Ma.exercise)==null?void 0:ma.set_question_sub_discipline)})}else Ln({time:60,difficulty:2});Je({type:"globalSetting/footerToggle",payload:!1})},[_t]),fr.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},fr.createElement("section",{className:"edu-container"},fr.createElement("section",{className:"animated fadeIn"},fr.createElement("aside",{style:{marginTop:15}},fr.createElement(Me.Z,{separator:">"},fr.createElement(Me.Z.Item,null,fr.createElement(ue.Link,{to:"/paperlibrary"},"\u8BD5\u5377\u5E93")),fr.createElement(Me.Z.Item,null,"\u4EBA\u5DE5\u7EC4\u5377")))),fr.createElement("div",{className:"bg-white"},fr.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},fr.createElement("div",{onClick:()=>{if(Fn){Le.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002");return}Hn(1)},className:Un===1?$e.Z.selectdiv:$e.Z.divitem},fr.createElement(Rl.Z,{number:1,active:Un===1,className:"mr10"}),fr.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),fr.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),fr.createElement("div",{onClick:()=>{if(!it.id&&!$n){Le.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}Hn(2),!$n&&Vn(it.id)},className:Un!==1?$e.Z.selectdiv:$e.Z.divitem},fr.createElement(Rl.Z,{number:2,active:Un!==1,className:"mr10"}),fr.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),Un===2&&fr.createElement("div",{className:"tc"},fr.createElement(Tl.Z,{defaultValue:(da=(cn=We==null?void 0:We.editData)==null?void 0:cn.exercise)==null?void 0:da.exercise_name,onFinish:ya=>wi(void 0,null,function*(){var Sa,Gn,ma,Ma,er,ar,Wa,mr,hr,Wr,Zr,ho;return ya.trim()===((Gn=(Sa=We==null?void 0:We.editData)==null?void 0:Sa.exercise)==null?void 0:Gn.exercise_name)?!0:(yield(0,le.w0)({id:`${(Ma=(ma=We==null?void 0:We.editData)==null?void 0:ma.exercise)==null?void 0:Ma.id}`,sub_discipline_id:(ar=(er=We==null?void 0:We.editData)==null?void 0:er.exercise)==null?void 0:ar.sub_discipline_id,time:`${(mr=(Wa=We==null?void 0:We.editData)==null?void 0:Wa.exercise)==null?void 0:mr.time}`,exercise_name:ya,exercise_description:(Wr=(hr=We==null?void 0:We.editData)==null?void 0:hr.exercise)==null?void 0:Wr.exercise_description,difficulty:(ho=(Zr=We==null?void 0:We.editData)==null?void 0:Zr.exercise)==null?void 0:ho.difficulty})).status===0?(Ft.setFieldValue("exercise_name",ya),Je({type:"newExercisePaper/modifyTitle",payload:ya}),!0):!1})}),fr.createElement("div",{style:{fontSize:14}},fr.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",fr.createElement("span",{style:{color:"#000000",marginLeft:8}},(Ka=(ka=We==null?void 0:We.editData)==null?void 0:ka.exercise)==null?void 0:Ka.time)),fr.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",fr.createElement("span",{style:{color:"#000000",marginLeft:8}},((ge=(me=We==null?void 0:We.editData)==null?void 0:me.exercise)==null?void 0:ge.difficulty)===1?"\u7B80\u5355":((ke=(be=We==null?void 0:We.editData)==null?void 0:be.exercise)==null?void 0:ke.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),fr.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",fr.createElement("span",{style:{color:"#000000",marginLeft:8}},((je=(Ie=We==null?void 0:We.editData)==null?void 0:Ie.exercise_types)==null?void 0:je.q_counts)||0)),fr.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",fr.createElement("span",{style:{color:"#000000",marginLeft:8}},(Ct=(vt=We==null?void 0:We.editData)==null?void 0:vt.exercise_types)==null?void 0:Ct.q_scores))))),Un===1&&fr.createElement(Oe.Z,{spinning:zt,size:"middle",style:{position:"fixed",maxHeight:"100vh"},className:"mt30"},fr.createElement("section",{className:[$e.Z.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},Xt&&fr.createElement(Be.default,{layout:"horizontal",form:Ft,colon:!1,labelCol:{span:4},wrapperCol:{span:20},className:$e.Z.formWrap,initialValues:Xt},fr.createElement(Be.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:$e.Z.baseLineHeight,rules:[{required:!0,validator:(ya,Sa)=>{var Gn;return((Gn=Sa==null?void 0:Sa.replaceAll(" ",""))==null?void 0:Gn.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},fr.createElement(se.default,{maxLength:60,className:$e.Z.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),fr.createElement(Be.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",className:$e.Z.baseLineHeight},fr.createElement(ct.Z,{className:$e.Z.baseFormItem,allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:_t,popupClassName:$e.Z.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14}})),fr.createElement("div",{className:$e.Z.concat},fr.createElement("div",null,fr.createElement(ot.default,{checked:Ha,onChange:ya=>{ia(ya.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")),fr.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",fr.createElement("a",{onClick:()=>Za(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),fr.createElement(Be.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:$e.Z.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},fr.createElement(Ve.ZP.Group,{className:$e.Z.radiogroup},fr.createElement(Ve.ZP.Button,{className:$e.Z.easy,value:1},"\u7B80\u5355"),fr.createElement(Ve.ZP.Button,{className:$e.Z.medium,value:2},"\u9002\u4E2D"),fr.createElement(Ve.ZP.Button,{className:$e.Z.hard,value:3},"\u56F0\u96BE"))),fr.createElement(Be.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:$e.Z.baseLineHeight},fr.createElement("div",{style:{display:"flex",width:"100%"}},fr.createElement(Be.default.Item,{name:"time",noStyle:!0},fr.createElement(Ue.Z,{min:1,className:$e.Z.baseFormItem,max:9999,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),fr.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),fr.createElement(Be.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},fr.createElement(se.default.TextArea,{rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"})))),fr.createElement("div",{className:$e.Z.bottmodiv},fr.createElement(tt.ZP,{className:`${$e.Z.cancelBtn} mr5`,type:"primary",onClick:()=>{qn.get("pageType")=="course"?ue.history.push(`/paths/${qn.get("courseId")}`):ue.history.push("/paperlibrary")}},"\u53D6\u6D88"),fr.createElement(a.Z,{className:`${$e.Z.confirmBtn} ml15`,type:"primary",onClick:()=>wi(void 0,null,function*(){var ya,Sa,Gn,ma;yield Ft.validateFields();const Ma=Ft.getFieldsValue();if(Ma.sub_discipline_id=((ya=Ma.sub_discipline_id)==null?void 0:ya.length)>0?Ma.sub_discipline_id[1]:"",Ma.set_question_sub_discipline=Ha,it.id){(yield(0,le.w0)(ul({id:it.id},Ma))).status===0&&(Vn(it.id),Hn(2),ue.history.replace(`/paperlibrary/add/${it.id}?type=2`));return}const er=yield(0,le.un)(Ma);er.status===0&&(Vn((Sa=er==null?void 0:er.data)==null?void 0:Sa.exam_id),Hn(2),qn.get("pageType")=="course"?ue.history.replace(`/paperlibrary/add/${(Gn=er==null?void 0:er.data)==null?void 0:Gn.exam_id}?type=2&pageType=course&courseId=${qn.get("courseId")}&stageId=${qn.get("stageId")}`):ue.history.replace(`/paperlibrary/add/${(ma=er==null?void 0:er.data)==null?void 0:ma.exam_id}?type=2`))})},"\u4E0B\u4E00\u6B65"))),Un===2&&fr.createElement("div",null,fr.createElement(Ol,{setisedits:Ca,itemid:$n}))),fr.createElement(Ml.Z,{open:ba,onCancel:()=>{Za(!1)}}))};var gl=(0,ue.connect)(({user:Se,newExercisePaper:We,dispatch:Je})=>({user:Se,newExercisePaper:We,dispatch:Je}))(cl)},47251:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return at}});var x=te(59301),ue=te(78241),Be=te(8591),Me=te(43418),Le=te(99313),Oe=te(57809),se=te(19842),ct=te(98228),ot=te(92832),Ve=te(1710),Ue=te(6848),tt=te(58421),$e=te(3113),le=te(38986),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(55305),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(91842),z=te(51257),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 ce=({qitem:qe})=>{var qt,Sn,Zt,mn,Ke,It,Ut,Mt,ft,rt;return x.createElement("div",{className:b.warp},x.createElement("div",{className:b.mainPart},x.createElement("div",{className:b.qcount},(qe==null?void 0:qe.question_type)===8&&x.createElement(E.Z,{className:b.content,showProgramFill:!0,value:(qt=qe==null?void 0:qe.program_attr)==null?void 0:qt.description}),(qe==null?void 0:qe.question_type)!=8&&x.createElement(E.Z,{className:b.qtitle,value:(qe==null?void 0:qe.name)||(qe==null?void 0:qe.title)})),((qe==null?void 0:qe.question_type)===0||(qe==null?void 0:qe.question_type)===2)&&x.createElement("div",null,(Sn=qe==null?void 0:qe.choices)==null?void 0:Sn.map((ze,ve)=>x.createElement("div",{className:b.redio},!(ze!=null&&ze.is_answer)&&x.createElement("span",{className:b.redioitem}),(ze==null?void 0:ze.is_answer)&&x.createElement("i",{className:`${b.redioitemyes} icon-duigou1`}),x.createElement(E.Z,{className:ze!=null&&ze.is_answer?b.titleyes:b.title,value:re[ve]+(ze==null?void 0:ze.choice_text)}),(ze==null?void 0:ze.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(qe==null?void 0:qe.question_type)===1&&x.createElement("div",null,(Zt=qe==null?void 0:qe.choices)==null?void 0:Zt.map((ze,ve)=>x.createElement("div",{className:b.checkbox},!(ze!=null&&ze.is_answer)&&x.createElement("span",{className:b.checkboxitem}),(ze==null?void 0:ze.is_answer)&&x.createElement("i",{className:`${b.checkboxitemyes} icon-duigou1`}),x.createElement(E.Z,{className:ze!=null&&ze.is_answer?b.titleyes:b.title,value:re[ve]+(ze==null?void 0:ze.choice_text)}),(ze==null?void 0:ze.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(qe==null?void 0:qe.question_type)===3&&x.createElement("div",{className:b.completion},(mn=qe==null?void 0:qe.standard_answer)==null?void 0:mn.map((ze,ve)=>{var fe;return x.createElement("div",{style:{display:"flex"}},x.createElement("span",{className:b.title},"\u586B\u7A7A\u9879",ve+1),x.createElement("div",{className:b.content},(fe=ze==null?void 0:ze.answer_text)==null?void 0:fe.map((Ye,Lt)=>x.createElement("div",{className:b.items},Ye))))})),(qe==null?void 0:qe.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"}},(Ke=qe==null?void 0:qe.answer_texts)!=null&&Ke[0]?x.createElement(E.Z,{className:b.content,value:(It=qe==null?void 0:qe.answer_texts)==null?void 0:It[0]}):x.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(qe==null?void 0:qe.question_type)===5&&((Ut=qe==null?void 0:qe.challenge_names)==null?void 0:Ut.map((ze,ve)=>x.createElement("div",{className:b.shixun},x.createElement("span",{className:b.qtitle},x.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,z.EM)(ve+1),"\u9898"),ze)))),(qe==null?void 0:qe.question_type)===6&&x.createElement("div",{className:b.program},x.createElement(E.Z,{className:b.content,value:((Mt=qe==null?void 0:qe.program_attr)==null?void 0:Mt.description)||"- -"})),(qe==null?void 0:qe.question_type)===7&&((ft=qe==null?void 0:qe.sub_item_banks)==null?void 0:ft.map((ze,ve)=>{var fe,Ye,Lt,Fe,xe;return x.createElement("div",null,x.createElement("div",{className:b.combination},x.createElement("span",{className:b.qtitle},ze==null?void 0:ze.name)),x.createElement("div",{className:b.warp,style:{padding:"0px",paddingTop:20}},x.createElement("div",null,((ze==null?void 0:ze.item_type)=="SINGLE"||(ze==null?void 0:ze.item_type)=="JUDGMENT")&&((fe=ze==null?void 0:ze.choices)==null?void 0:fe.map((nt,Xe)=>x.createElement("div",{className:b.redio},!(nt!=null&&nt.is_answer)&&x.createElement("span",{className:b.redioitem}),(nt==null?void 0:nt.is_answer)&&x.createElement("i",{className:`${b.redioitemyes} icon-duigou1`}),x.createElement(E.Z,{className:nt!=null&&nt.is_answer?b.titleyes:b.title,value:re[Xe]+(nt==null?void 0:nt.choice_text)}),(nt==null?void 0:nt.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(ze==null?void 0:ze.item_type)=="MULTIPLE"&&((Ye=ze==null?void 0:ze.choices)==null?void 0:Ye.map((nt,Xe)=>x.createElement("div",{className:b.checkbox},!(nt!=null&&nt.is_answer)&&x.createElement("span",{className:b.checkboxitem}),(nt==null?void 0:nt.is_answer)&&x.createElement("i",{className:`${b.checkboxitemyes} icon-duigou1`}),x.createElement(E.Z,{className:nt!=null&&nt.is_answer?b.titleyes:b.title,value:re[Xe]+(nt==null?void 0:nt.choice_text)}),(nt==null?void 0:nt.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(ze==null?void 0:ze.item_type)=="COMPLETION"&&x.createElement("div",{className:b.completion},(Lt=ze==null?void 0:ze.standard_answer)==null?void 0:Lt.map((nt,Xe)=>{var Ae;return x.createElement("div",{style:{display:"flex"}},x.createElement("span",{className:b.title},"\u586B\u7A7A\u9879",Xe+1),x.createElement("div",{className:b.content},(Ae=nt==null?void 0:nt.answer_text)==null?void 0:Ae.map((pt,hn)=>x.createElement("div",{className:b.items},pt))))})),(ze==null?void 0:ze.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=ze==null?void 0:ze.answer_texts)!=null&&Fe[0]?x.createElement(E.Z,{className:b.content,value:(xe=ze==null?void 0:ze.answer_texts)==null?void 0:xe[0]}):x.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(qe==null?void 0:qe.question_type)===8&&x.createElement("div",null,x.createElement(E.Z,{disabledFill:!0,className:b.content,showProgramFill:!0,value:ne.Base64.decode(((rt=qe==null?void 0:qe.program_attr)==null?void 0:rt.code)||"")})),(qe==null?void 0:qe.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"}},(qe==null?void 0:qe.author_name)||"- -")),x.createElement("div",{style:{marginRight:30}},x.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),x.createElement("span",{style:{color:"#000000"}},(qe==null?void 0:qe.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"}},(qe==null?void 0:qe.study_count)||"0"))),x.createElement("a",{className:b.shixunbutton,href:`/shixuns/${qe==null?void 0:qe.identifier}/challenges?exercise=true`,target:"_blank"},x.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((qe==null?void 0:qe.question_type)<=4||[6,8].includes(qe==null?void 0:qe.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},qe!=null&&qe.analysis?x.createElement(E.Z,{value:qe==null?void 0:qe.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},(qe==null?void 0:qe.difficulty)===1?"\u7B80\u5355":(qe==null?void 0:qe.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},qe!=null&&qe.tag_discipline?qe==null?void 0:qe.tag_discipline:x.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},pe=te(61250),Ee=te(57149),Ge=te(25690),De=te(61485),Qe=te(94361),he=te(46722),Te=te(59301),et=Object.defineProperty,Et=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,ut=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,gt=(qe,qt,Sn)=>qt in qe?et(qe,qt,{enumerable:!0,configurable:!0,writable:!0,value:Sn}):qe[qt]=Sn,Yt=(qe,qt)=>{for(var Sn in qt||(qt={}))xt.call(qt,Sn)&>(qe,Sn,qt[Sn]);if(ut)for(var Sn of ut(qt))yt.call(qt,Sn)&>(qe,Sn,qt[Sn]);return qe},wt=(qe,qt)=>Et(qe,Ne(qt)),nn=(qe,qt,Sn)=>new Promise((Zt,mn)=>{var Ke=Mt=>{try{Ut(Sn.next(Mt))}catch(ft){mn(ft)}},It=Mt=>{try{Ut(Sn.throw(Mt))}catch(ft){mn(ft)}},Ut=Mt=>Mt.done?Zt(Mt.value):Promise.resolve(Mt.value).then(Ke,It);Ut((Sn=Sn.apply(qe,qt)).next())});const dn=({setScoreShow:qe,ScoreShow:qt,onOk:Sn,isshixuns:Zt,isloadings:mn,dispatch:Ke,isIntelligentAssistant:It=!1,newExercisePaper:Ut,shixunsDetail:Mt})=>{var ft,rt,ze;let[ve,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:It,group_id:[]}),[Ye,Lt]=(0,x.useState)([]),[Fe,xe]=(0,x.useState)([]),[nt,Xe]=(0,x.useState)([]),[Ae,pt]=(0,x.useState)([]);const[hn,$t]=(0,x.useState)(!1),[Ht]=ue.default.useForm(),[on,gn]=(0,x.useState)(),[_e,Bt]=(0,x.useState)(!1);let[Ot,ht]=(0,x.useState)(Zt);const[Dt,vn]=(0,x.useState)([]),[yn,Pn]=(0,x.useState)(0),[Rn,ta]=(0,x.useState)(!0),[aa,_n]=(0,x.useState)([]),[Pa,Ea]=(0,x.useState)([]),Zn=[{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[wa,en]=(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 bn=(0,x.useRef)(new Set),Mn=(0,x.useRef)(new Set),Qn=[{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"}],[kt,Kt]=(0,x.useState)(!1),tn=()=>{Ht.resetFields(),Ot=!1,ht(!1),Kt(!1),Ht.submit()};(0,x.useEffect)(()=>{var lt,Jt,Jn,sn,zn,na,La,sa,He,rn;(((Jn=(Jt=(lt=Ut==null?void 0:Ut.editData)==null?void 0:lt.exercise)==null?void 0:Jt.exist_item_bank_ids)==null?void 0:Jn.length)>0||((na=(zn=(sn=Ut==null?void 0:Ut.editData)==null?void 0:sn.exercise)==null?void 0:zn.exist_item_bank_shixun_ids)==null?void 0:na.length)>0)&&Ea([...(sa=(La=Ut==null?void 0:Ut.editData)==null?void 0:La.exercise)==null?void 0:sa.exist_item_bank_ids,...(rn=(He=Ut==null?void 0:Ut.editData)==null?void 0:He.exercise)==null?void 0:rn.exist_item_bank_shixun_ids])},[(rt=(ft=Ut==null?void 0:Ut.editData)==null?void 0:ft.exercise)==null?void 0:rt.exist_item_bank_ids]),(0,x.useEffect)(()=>{qt&&(Ht.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),Rn&&Ot&&(Ht.setFieldsValue({item_type:"SHIXUN"}),ve.item_type="SHIXUN",fe(Yt({},ve)),ta(!1)),jt(ve),fn(),st({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[qt]),(0,x.useEffect)(()=>{yn>0&&setTimeout(()=>{Pn(0)},2e3)},[yn]);function jt(lt){return nn(this,null,function*(){var Jt,Jn,sn;if($t(!0),fe(Yt({},lt)),(nt==null?void 0:nt.length)<=0&<.type==="5"){pt([]),$t(!1);return}console.log("----",nt,Dt);let zn=lt.type==="5"?nt==null?void 0:nt.filter(sa=>!Dt.includes(sa)):null,na=lt.type==="5"?nt==null?void 0:nt.filter(sa=>Dt.includes(sa)):null;lt.group_id=((Jt=lt.group_id)==null?void 0:Jt.map(sa=>sa==null?void 0:sa.value))||null;let La=yield(0,le.ZP)("/api/item_banks.json",{method:"get",params:wt(Yt({},lt),{discipline_id:((Jn=lt==null?void 0:lt.courseid)==null?void 0:Jn[0])||null,sub_discipline_id:((sn=lt==null?void 0:lt.courseid)==null?void 0:sn[1])||null,ids:zn,shixun_ids:na,include_shixuns:!It,keyword:lt.keyword?encodeURIComponent(lt.keyword):lt.keyword,type:lt.type==="5"?null:lt.type,clazz:lt.type==="3"?"ItemBanksGroup":null})});pt(La),$t(!1)})}function fn(){return nn(this,null,function*(){let lt=yield(0,le.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:ve.type==="5"?null:ve.type,clazz:"ItemBanksGroup"}});Lt((0,a.L)(lt==null?void 0:lt.disciplines))})}function st(lt){return nn(this,null,function*(){var Jt;let Jn=yield(0,le.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:lt}),sn=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(Jt=Jn==null?void 0:Jn.data)==null?void 0:Jt.map(zn=>({title:zn.name,id:zn.id,pid:zn.id,value:zn.id,key:zn.id,isLeaf:!zn.have_child}))}];_n(sn)})}function St(lt){return nn(this,null,function*(){var Jt,Jn,sn,zn;$t(!0);let na=(Jt=lt.list)==null?void 0:Jt.filter(He=>!Dt.includes(He)),La=(Jn=lt.list)==null?void 0:Jn.filter(He=>Dt.includes(He));if(na.length===0&&La.length===0){$t(!1),pt([]);return}let sa=yield(0,le.ZP)("/api/item_banks.json",{method:"get",params:wt(Yt({},lt),{discipline_id:((sn=lt==null?void 0:lt.courseid)==null?void 0:sn[0])||null,sub_discipline_id:((zn=lt==null?void 0:lt.courseid)==null?void 0:zn[1])||null,ids:na,shixun_ids:La,type:lt.type==="5"?null:lt.type,clazz:lt.type==="3"?"ItemBanksGroup":null})});$t(!1),pt(sa)})}const dt=lt=>nn(void 0,null,function*(){const Jt=yield Ke({type:"shixunsDetail/release",payload:{id:lt}});let Jn=Jt==null?void 0:Jt.tag_position,sn=(Jt==null?void 0:Jt.evaluation_set_position)||[],zn=Jt.status;return zn===0?(Be.ZP.success("\u53D1\u5E03\u6210\u529F"),jt(ve),!0):(zn===2?Be.ZP.error(`\u7B2C${sn.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):zn===3?Be.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${Jn.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)}),ln=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":"",Nn=(lt,Jt,Jn)=>lt.map(sn=>sn.key===Jt?Yt(Yt({},sn),Jn):sn.children?wt(Yt({},sn),{children:Nn(sn.children,Jt,Jn)}):sn),Cn=lt=>nn(void 0,null,function*(){const{key:Jt}=lt;let Jn=ve.type;const sn=yield(0,he.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(Jt),type:Jn}),{data:zn,total_count:na}=sn||{};na>0&&_n(La=>Nn(La,Jt,{children:zn.map(sa=>({title:sa.name,id:sa.id,pid:sa.id,value:sa.id,key:sa.id,isLeaf:!sa.have_child}))}))});function la(lt){console.log("----",ve),lt==="1"&&(wa.gg=Yt({},ve)),lt==="2"&&(wa.scj=Yt({},ve)),lt==="3"&&(wa.ttgx=Yt({},ve)),lt==="0"&&(wa.wcjd=Yt({},ve)),lt==="5"&&(wa.yx=Yt({},ve)),en(Yt({},wa))}function jn(){ve.type==="1"&&(ve=wa.gg),ve.type==="2"&&(ve=wa.scj),ve.type==="3"&&(ve=wa.ttgx),ve.type==="0"&&(ve=wa.wcjd),ve.type==="5"&&(ve=wa.yx),(ve==null?void 0:ve.item_type)==="SHIXUN"?(Ot=!0,ht(!0)):(Ot=!1,ht(!1)),Ht.setFieldsValue(Yt({},ve)),fe(Yt({},ve)),jt(Yt({},ve))}return Te.createElement("div",null,Te.createElement(Me.default,{title:!1,footer:!1,open:qt,width:1200,centered:!0,className:y.scoremodal,onCancel:()=>{qe(!1)}},Te.createElement("div",{style:{display:"flex",alignItems:"center"}},Te.createElement("div",{className:y.title},It?"\u4EE5\u9898\u6362\u9898":"\u9898\u5E93\u9009\u9898")),It&&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:ve.type,onChange:lt=>{lt==="3"?(ve.show_all_share=!0,st({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):ve.show_all_share=null,lt==="0"&&st({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),la(ve.type),ve.type=lt,(ve==null?void 0:ve.item_type)==="SHIXUN"&&ve.type!=="5"&&(Ot=!0,ht(!0)),Kt(!1),ve.type==="5"&&(Ot=!1,ht(!1)),jn(),fn()},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",nt.length>0&&Te.createElement("span",{className:y.titlecount},nt.length),yn>0&&Te.createElement("span",{className:y.add},"+",yn)),key:"5"}]}),Te.createElement(ue.default,{layout:"inline",form:Ht,onValuesChange:(lt,Jt)=>{const Jn=Object.values(Jt).some(zn=>zn!==null&&zn!==""&&zn!==void 0),sn=Jt.keyword==="";if(Kt(Jn||!sn),ve.page=1,(Jt==null?void 0:Jt.item_type)==="SHIXUN"){if(ve.type==="5"?ht(!1):ht(!0),lt.keyword||lt.keyword==="")return;Ht.submit()}else{if(lt!=null&<.courseid&&Ht.setFieldsValue({tag_discipline_id:""}),ht(!1),lt.keyword||lt.keyword==="")return;Ht.submit()}},onFinish:lt=>{var Jt;ve.type==="3"&&(!lt.group_id||((Jt=lt==null?void 0:lt.group_id)==null?void 0:Jt.length)===0)?ve.show_all_share=!0:ve.show_all_share=null,fe(Yt(Yt({},ve),lt)),jt(Yt(Yt({},ve),lt))}},Te.createElement(ue.default.Item,{name:"item_type"},Te.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle"},(It?Zn.slice(0,6):Zn).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:Ye})),!Ot&&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},(ze=Ae==null?void 0:Ae.tag_disciplines)==null?void 0:ze.map(lt=>Te.createElement(Oe.default.Option,{key:lt.id},lt.name)))),Te.createElement(ue.default.Item,{name:Ot?"diff":"difficulty"},Te.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Ot&&Qn.map(lt=>Te.createElement(Oe.default.Option,{key:lt.value},lt.name)),Ot&&Ze.map(lt=>Te.createElement(Oe.default.Option,{key:lt.value},lt.name)))),Ot&&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)))),(ve.type==="3"||ve.type==="0")&&!Ot&&Te.createElement(ue.default.Item,{name:"group_id"},Te.createElement(ct.default,{treeDataSimpleMode:!0,style:{width:118},className:y.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(lt,Jt)=>Jt.title.toUpperCase().indexOf(lt.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:Cn,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:aa})),kt&&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:()=>Ht.submit()}),onSearch:lt=>{Ht.submit()}}))),Te.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Te.createElement("div",{onClick:()=>{ve.updated_at==="asc"?ve.updated_at="desc":ve.updated_at="asc",fe(wt(Yt({},ve),{page:1})),jt(wt(Yt({},ve),{page:1}))}}," ",ve.updated_at?Te.createElement("img",{src:ve.updated_at==="asc"?pe.Z:Ee.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:()=>{ve.quotes==="asc"?ve.quotes="desc":ve.quotes="asc",fe(wt(Yt({},ve),{page:1})),jt(wt(Yt({},ve),{page:1}))},style:{marginLeft:20}}," ",ve.quotes?Te.createElement("img",{src:ve.quotes==="asc"?pe.Z:Ee.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:(Ae==null?void 0:Ae.items)||(Ae==null?void 0:Ae.shixun_list),pagination:!1,loading:hn,rowKey:lt=>lt.id,rowSelection:{type:It?"radio":"checkbox",selectedRowKeys:Fe,getCheckboxProps:lt=>({disabled:lt.shixun_tag_num===1||(Pa==null?void 0:Pa.find(Jt=>lt.id===Jt))}),onSelect(lt,Jt,Jn){if(It){xe([lt.id]),Mn.current=new Set([lt.id]),Pn(1),Xe([lt.id]);return}if(Jt)(Ot||lt!=null&<.challenge_names)&&vn([...Dt,lt.id]),xe([...Fe,lt.id]),lt.identifier?bn.current.add(lt.id):Mn.current.add(lt.id),Pn(1),Xe([...nt,lt.id]);else{lt.identifier?bn.current.delete(lt.id):Mn.current.delete(lt.id);let sn=nt.filter(zn=>zn!==lt.id);if(xe(sn),Xe(sn),Ot||lt!=null&<.challenge_names){let zn=Dt.filter(na=>na!==lt.id);vn([...zn])}if(ve.type==="5"){St(wt(Yt({},ve),{list:[...sn]}));return}}},onSelectAll(lt,Jt,Jn){var sn,zn;if(lt){const na=Jn.map(sa=>sa.id),La=(zn=Jn==null?void 0:Jn.filter(sa=>sa==null?void 0:sa.challenge_names))==null?void 0:zn.map(sa=>sa.id);vn([...Dt,...La]),xe([...Fe,...na]),Xe([...nt,...na]);for(const sa of Jn)sa.identifier?bn.current.add(sa.id):Mn.current.add(sa.id)}else{const na=Jn.map(rn=>rn.id),La=Fe.filter(rn=>!na.some(Qt=>Qt===rn)),sa=(sn=Jn==null?void 0:Jn.filter(rn=>rn==null?void 0:rn.challenge_names))==null?void 0:sn.map(rn=>rn.id);xe([...La]),Xe([...La]);let He=Dt.filter(rn=>!sa.some(Qt=>Qt===rn.id));vn([...He]),ve.type==="5"&&St(wt(Yt({},ve),{list:[...La]}));for(const rn of na)rn.identifier?bn.current.delete(rn):Mn.current.delete(rn)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(lt,Jt,Jn)=>{var sn,zn;return Te.createElement(Ue.Z,{title:ln(Jt)},Te.createElement("div",null,Ot||Jt!=null&&Jt.challenge_names?"\u5B9E\u8BAD\u9898":(zn=(sn=Zn==null?void 0:Zn.filter(na=>na.value===lt))==null?void 0:sn[0])==null?void 0:zn.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Ot?"30%":"60%",key:"name",render:(lt,Jt,Jn)=>{var sn;return Te.createElement("div",{style:{display:"flex",alignItems:"center"}},Te.createElement(Ue.Z,{title:ln(Jt)},Te.createElement("div",{className:Jt!=null&&Jt.high_resources_consume?y.q_title:""},Te.createElement(E.Z,{key:1,showLines:1,showTextOnly:!0,value:Ot||Jt!=null&&Jt.challenge_names?Jt!=null&&Jt.title||lt===null?"--":lt:(Jt==null?void 0:Jt.item_type)=="BPROGRAM"?(sn=Jt==null?void 0:Jt.program_attr)==null?void 0:sn.description:lt}))),(Jt==null?void 0:Jt.high_resources_consume)&&Te.createElement(Qe.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Ot,render:(lt,Jt,Jn)=>{var sn;return Te.createElement(Ue.Z,{title:ln(Jt)},Te.createElement("span",null,lt?(sn=lt==null?void 0:lt.split("\u3001"))==null?void 0:sn[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Ot,render:(lt,Jt,Jn)=>Te.createElement(Ue.Z,{title:ln(Jt)},Te.createElement("span",null,lt||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(lt,Jt,Jn)=>{var sn,zn,na,La;return Te.createElement(Ue.Z,{title:ln(Jt)},Te.createElement("div",null,Ot||Jt!=null&&Jt.challenge_names?(Jt==null?void 0:Jt.level)||((zn=(sn=Qn==null?void 0:Qn.filter(sa=>sa.value===lt))==null?void 0:sn[0])==null?void 0:zn.name):(La=(na=Qn==null?void 0:Qn.filter(sa=>sa.value===lt))==null?void 0:na[0])==null?void 0:La.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Ot,render:(lt,Jt,Jn)=>Te.createElement(Ue.Z,{title:ln(Jt)},Te.createElement("div",null,lt||"- -"))},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Ot,render:(lt,Jt,Jn)=>Te.createElement("span",null,lt||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(lt,Jt,Jn)=>Te.createElement(Ue.Z,{title:ln(Jt)},Te.createElement("div",null,Ot||Jt!=null&&Jt.challenge_names?(Jt==null?void 0:Jt.study_count)||(Jt==null?void 0:Jt.stu_num):lt))},{title:Te.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Te.createElement(Ue.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Te.createElement(De.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Ot,render:(lt,Jt,Jn)=>Te.createElement(Ue.Z,{title:ln(Jt)},Te.createElement("div",null,lt||"- -"))},{title:Te.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Te.createElement(Ue.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Te.createElement(De.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Ot,render:(lt,Jt,Jn)=>Te.createElement("span",null,lt||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(lt,Jt,Jn)=>Te.createElement(Ue.Z,{title:ln(Jt)},Te.createElement("div",{style:{flex:1,textAlign:"start"}},Te.createElement("a",{onClick:()=>{var sn,zn;gn(wt(Yt({},Jt),{question_type:Ot||Jt!=null&&Jt.challenge_names?5:(zn=(sn=Zn==null?void 0:Zn.filter(na=>na.value===(Jt==null?void 0:Jt.item_type)))==null?void 0:sn[0])==null?void 0:zn.question_type})),Bt(!0)}},"\u67E5\u770B"),(Jt==null?void 0:Jt.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/${Jt==null?void 0:Jt.identifier}/challenges`)}},(Jt==null?void 0:Jt.shixun_name)||"--"),"\uFF1F"),onOk:()=>nn(void 0,null,function*(){if(!dt(Jt==null?void 0:Jt.identifier))return new Promise((sn,zn)=>{zn()})})})}},"\u53D1\u5E03")))}].filter(lt=>!lt.hidden)}),Te.createElement(tt.Z,{current:ve.page,total:(Ae==null?void 0:Ae.items_count)||(Ae==null?void 0:Ae.shixuns_count),style:{marginBottom:20},defaultPageSize:ve.per_page,showTotal:lt=>Te.createElement("span",null,"\u5171\xA0",Te.createElement("span",{style:{color:"#165DFF"}},lt),"\xA0\u6761\u6570\u636E"),pageSize:ve.per_page,onChange:(lt,Jt)=>{ve.page=lt,ve.per_page=Jt,fe(Yt({},ve)),jt(Yt({},ve))}}),Te.createElement("div",{className:y.bottom},Te.createElement($e.ZP,{className:y.no,onClick:()=>{qe(!1)}},"\u53D6\u6D88"),Te.createElement($e.ZP,{loading:mn,style:{width:mn&&75},className:y.yes,onClick:()=>nn(void 0,null,function*(){if((nt==null?void 0:nt.length)<=0){Be.ZP.info(It?"\u8BF7\u9009\u62E9\u4E00\u9053\u8BD5\u9898":"\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}Sn([...Mn.current],[...bn.current],!0,nt==null?void 0:nt.length)})},It?"\u5F00\u59CB\u6362\u9898":"\u786E\u8BA4"))),Te.createElement(Me.default,{open:_e,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:y.previewModal,width:1e3,centered:!0,onCancel:()=>{Bt(!1)},onOk:()=>{Bt(!1)}},Te.createElement(ce,{qitem:on})))};var at=(0,Ge.connect)(({shixunsDetail:qe,newExercisePaper:qt})=>({shixunsDetail:qe,newExercisePaper:qt}))(dn)},52154:function(Wt,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,ct=(Ue,tt)=>{var $e={};for(var le in Ue)Oe.call(Ue,le)&&tt.indexOf(le)<0&&($e[le]=Ue[le]);if(Ue!=null&&Le)for(var le of Le(Ue))tt.indexOf(le)<0&&se.call(Ue,le)&&($e[le]=Ue[le]);return $e},Ve=Ue=>{var tt=Ue,{open:$e,onCancel:le}=tt,y=ct(tt,["open","onCancel"]);return Me.createElement(x.default,{centered:!0,open:$e,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")))))}},78874:function(Wt,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(Wt,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(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return x}});const x=ue=>ue?typeof ue=="function"?ue():ue:null},13845:function(Wt,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 ct=0;return x(Be)?ct=Be[Me?"pageYOffset":"pageXOffset"]:Be instanceof Document?ct=Be.documentElement[se]:(Be instanceof HTMLElement||Be)&&(ct=Be[se]),Be&&!x(Be)&&typeof ct!="number"&&(ct=(Oe=((Le=Be.ownerDocument)!==null&&Le!==void 0?Le:Be).documentElement)===null||Oe===void 0?void 0:Oe[se]),ct}},56762:function(Wt,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(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return Me}});var x=te(16089);function ue(Le,Oe,se,ct){const ot=se-Oe;return Le/=ct/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:ct,duration:ot=450}=Oe,Ve=se(),Ue=(0,Be.Z)(Ve,!0),tt=Date.now(),$e=()=>{const y=Date.now()-tt,a=ue(y>ot?ot:y,Ue,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)($e):typeof ct=="function"&&ct()};(0,x.Z)($e)}},66104:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return Et}});var x=te(92310),ue=te.n(x),Be=te(11592),Me=te(26112),Le=te(59301),Oe=te(92343),se=te(36355),ct=te(84105),ot=te(91857);const Ve=Ne=>{let{children:ut}=Ne;const{getPrefixCls:xt}=Le.useContext(se.E_),yt=xt("breadcrumb");return Le.createElement("li",{className:`${yt}-separator`,"aria-hidden":"true"},ut===""?ut:ut||"/")};Ve.__ANT_BREADCRUMB_SEPARATOR=!0;var Ue=Ve,tt=function(Ne,ut){var xt={};for(var yt in Ne)Object.prototype.hasOwnProperty.call(Ne,yt)&&ut.indexOf(yt)<0&&(xt[yt]=Ne[yt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(Ne);gt<yt.length;gt++)ut.indexOf(yt[gt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,yt[gt])&&(xt[yt[gt]]=Ne[yt[gt]]);return xt};function $e(Ne,ut){if(Ne.title===void 0||Ne.title===null)return null;const xt=Object.keys(ut).join("|");return typeof Ne.title=="object"?Ne.title:String(Ne.title).replace(new RegExp(`:(${xt})`,"g"),(yt,gt)=>ut[gt]||yt)}function le(Ne,ut,xt,yt){if(xt==null)return null;const{className:gt,onClick:Yt}=ut,wt=tt(ut,["className","onClick"]),nn=Object.assign(Object.assign({},(0,Me.Z)(wt,{data:!0,aria:!0})),{onClick:Yt});return yt!==void 0?Le.createElement("a",Object.assign({},nn,{className:ue()(`${Ne}-link`,gt),href:yt}),xt):Le.createElement("span",Object.assign({},nn,{className:ue()(`${Ne}-link`,gt)}),xt)}function y(Ne,ut){return(yt,gt,Yt,wt,nn)=>{if(ut)return ut(yt,gt,Yt,wt);const dn=$e(yt,gt);return le(Ne,yt,dn,nn)}}var a=function(Ne,ut){var xt={};for(var yt in Ne)Object.prototype.hasOwnProperty.call(Ne,yt)&&ut.indexOf(yt)<0&&(xt[yt]=Ne[yt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(Ne);gt<yt.length;gt++)ut.indexOf(yt[gt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,yt[gt])&&(xt[yt[gt]]=Ne[yt[gt]]);return xt};const b=Ne=>{const{prefixCls:ut,separator:xt="/",children:yt,menu:gt,overlay:Yt,dropdownProps:wt,href:nn}=Ne,at=(qe=>{if(gt||Yt){const qt=Object.assign({},wt);if(gt){const Sn=gt||{},{items:Zt}=Sn,mn=a(Sn,["items"]);qt.menu=Object.assign(Object.assign({},mn),{items:Zt==null?void 0:Zt.map((Ke,It)=>{var{key:Ut,title:Mt,label:ft,path:rt}=Ke,ze=a(Ke,["key","title","label","path"]);let ve=ft!=null?ft:Mt;return rt&&(ve=Le.createElement("a",{href:`${nn}${rt}`},ve)),Object.assign(Object.assign({},ze),{key:Ut!=null?Ut:It,label:ve})})})}else Yt&&(qt.overlay=Yt);return Le.createElement(ot.Z,Object.assign({placement:"bottom"},qt),Le.createElement("span",{className:`${ut}-overlay-link`},qe,Le.createElement(ct.Z,null)))}return qe})(yt);return at!=null?Le.createElement(Le.Fragment,null,Le.createElement("li",null,at),xt&&Le.createElement(Ue,null,xt)):null},E=Ne=>{const{prefixCls:ut,children:xt,href:yt}=Ne,gt=a(Ne,["prefixCls","children","href"]),{getPrefixCls:Yt}=Le.useContext(se.E_),wt=Yt("breadcrumb",ut);return Le.createElement(b,Object.assign({},gt,{prefixCls:wt}),le(wt,gt,xt,yt))};E.__ANT_BREADCRUMB_ITEM=!0;var z=E,ne=te(17313),re=te(83116),ie=te(37613);const ce=Ne=>{const{componentCls:ut,iconCls:xt}=Ne;return{[ut]:Object.assign(Object.assign({},(0,ne.Wf)(Ne)),{color:Ne.itemColor,fontSize:Ne.fontSize,[xt]:{fontSize:Ne.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Ne.linkColor,transition:`color ${Ne.motionDurationMid}`,padding:`0 ${Ne.paddingXXS}px`,borderRadius:Ne.borderRadiusSM,height:Ne.lineHeight*Ne.fontSize,display:"inline-block",marginInline:-Ne.marginXXS,"&:hover":{color:Ne.linkHoverColor,backgroundColor:Ne.colorBgTextHover}},(0,ne.Qy)(Ne)),"li:last-child":{color:Ne.lastItemColor},[`${ut}-separator`]:{marginInline:Ne.separatorMargin,color:Ne.separatorColor},[`${ut}-link`]:{[`
|
|
> ${xt} + span,
|
|
> ${xt} + a
|
|
`]:{marginInlineStart:Ne.marginXXS}},[`${ut}-overlay-link`]:{borderRadius:Ne.borderRadiusSM,height:Ne.lineHeight*Ne.fontSize,display:"inline-block",padding:`0 ${Ne.paddingXXS}px`,marginInline:-Ne.marginXXS,[`> ${xt}`]:{marginInlineStart:Ne.marginXXS,fontSize:Ne.fontSizeIcon},"&:hover":{color:Ne.linkHoverColor,backgroundColor:Ne.colorBgTextHover,a:{color:Ne.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Ne.componentCls}-rtl`]:{direction:"rtl"}})}};var pe=(0,re.Z)("Breadcrumb",Ne=>{const ut=(0,ie.TS)(Ne,{});return[ce(ut)]},Ne=>({itemColor:Ne.colorTextDescription,lastItemColor:Ne.colorText,iconFontSize:Ne.fontSize,linkColor:Ne.colorTextDescription,linkHoverColor:Ne.colorText,separatorColor:Ne.colorTextDescription,separatorMargin:Ne.marginXS})),Ee=function(Ne,ut){var xt={};for(var yt in Ne)Object.prototype.hasOwnProperty.call(Ne,yt)&&ut.indexOf(yt)<0&&(xt[yt]=Ne[yt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(Ne);gt<yt.length;gt++)ut.indexOf(yt[gt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,yt[gt])&&(xt[yt[gt]]=Ne[yt[gt]]);return xt};function Ge(Ne){const{breadcrumbName:ut,children:xt}=Ne,yt=Ee(Ne,["breadcrumbName","children"]),gt=Object.assign({title:ut},yt);return xt&&(gt.menu={items:xt.map(Yt=>{var{breadcrumbName:wt}=Yt,nn=Ee(Yt,["breadcrumbName"]);return Object.assign(Object.assign({},nn),{title:wt})})}),gt}function De(Ne,ut){return(0,Le.useMemo)(()=>Ne||(ut?ut.map(Ge):null),[Ne,ut])}var Qe=function(Ne,ut){var xt={};for(var yt in Ne)Object.prototype.hasOwnProperty.call(Ne,yt)&&ut.indexOf(yt)<0&&(xt[yt]=Ne[yt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(Ne);gt<yt.length;gt++)ut.indexOf(yt[gt])<0&&Object.prototype.propertyIsEnumerable.call(Ne,yt[gt])&&(xt[yt[gt]]=Ne[yt[gt]]);return xt};const he=(Ne,ut)=>{if(ut===void 0)return ut;let xt=(ut||"").replace(/^\//,"");return Object.keys(Ne).forEach(yt=>{xt=xt.replace(`:${yt}`,Ne[yt])}),xt},Te=Ne=>{const{prefixCls:ut,separator:xt="/",style:yt,className:gt,rootClassName:Yt,routes:wt,items:nn,children:dn,itemRender:at,params:qe={}}=Ne,qt=Qe(Ne,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Sn,direction:Zt,breadcrumb:mn}=Le.useContext(se.E_);let Ke;const It=Sn("breadcrumb",ut),[Ut,Mt]=pe(It),ft=De(nn,wt),rt=y(It,at);if(ft&&ft.length>0){const fe=[],Ye=nn||wt;Ke=ft.map((Lt,Fe)=>{const{path:xe,key:nt,type:Xe,menu:Ae,overlay:pt,onClick:hn,className:$t,separator:Ht,dropdownProps:on}=Lt,gn=he(qe,xe);gn!==void 0&&fe.push(gn);const _e=nt!=null?nt:Fe;if(Xe==="separator")return Le.createElement(Ue,{key:_e},Ht);const Bt={},Ot=Fe===ft.length-1;Ae?Bt.menu=Ae:pt&&(Bt.overlay=pt);let{href:ht}=Lt;return fe.length&&gn!==void 0&&(ht=`#/${fe.join("/")}`),Le.createElement(b,Object.assign({key:_e},Bt,(0,Me.Z)(Lt,{data:!0,aria:!0}),{className:$t,dropdownProps:on,href:ht,separator:Ot?"":xt,onClick:hn,prefixCls:It}),rt(Lt,qe,Ye,fe,ht))})}else if(dn){const fe=(0,Be.Z)(dn).length;Ke=(0,Be.Z)(dn).map((Ye,Lt)=>{if(!Ye)return Ye;const Fe=Lt===fe-1;return(0,Oe.Tm)(Ye,{separator:Fe?"":xt,key:Lt})})}const ze=ue()(It,mn==null?void 0:mn.className,{[`${It}-rtl`]:Zt==="rtl"},gt,Yt,Mt),ve=Object.assign(Object.assign({},mn==null?void 0:mn.style),yt);return Ut(Le.createElement("nav",Object.assign({className:ze,style:ve},qt),Le.createElement("ol",null,Ke)))};Te.Item=z,Te.Separator=Ue;var et=Te,Et=et},19842:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return Qn}});var x=te(95190),ue=te(59301),Be=te(33853),Me=te(58617),Le=te(38819),Oe=te(92310),se=te.n(Oe),ct=te(14809),ot=te(50298),Ve=te(62646),Ue=te(77861),tt=te(17115),$e=te(90782),le=te(6089),y=te(18929),a=ue.createContext(null),b=a,E=te(93664),z=te(4635),ne=te(20439),re="__rc_cascader_search_mark__",ie=function(Nt,kt,Kt){var tn=Kt.label;return kt.some(function(jt){return String(jt[tn]).toLowerCase().includes(Nt.toLowerCase())})},ce=function(Nt,kt,Kt,tn){return kt.map(function(jt){return jt[tn.label]}).join(" / ")},pe=function(Ze,Nt,kt,Kt,tn,jt){var fn=tn.filter,st=fn===void 0?ie:fn,St=tn.render,dt=St===void 0?ce:St,ln=tn.limit,Nn=ln===void 0?50:ln,Cn=tn.sort;return ue.useMemo(function(){var la=[];if(!Ze)return[];function jn(lt,Jt){var Jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;lt.forEach(function(sn){if(!(!Cn&&Nn!==!1&&Nn>0&&la.length>=Nn)){var zn=[].concat((0,x.Z)(Jt),[sn]),na=sn[kt.children],La=Jn||sn.disabled;if((!na||na.length===0||jt)&&st(Ze,zn,{label:kt.label})){var sa;la.push((0,ne.Z)((0,ne.Z)({},sn),{},(sa={disabled:La},(0,z.Z)(sa,kt.label,dt(Ze,zn,Kt,kt)),(0,z.Z)(sa,re,zn),(0,z.Z)(sa,kt.children,void 0),sa)))}na&&jn(sn[kt.children],zn,La)}})}return jn(Nt,[]),Cn&&la.sort(function(lt,Jt){return Cn(lt[re],Jt[re],Ze,kt)}),Nn!==!1&&Nn>0?la.slice(0,Nn):la},[Ze,Nt,kt,Kt,dt,jt,st,Cn,Nn])},Ee="__RC_CASCADER_SPLIT__",Ge="SHOW_PARENT",De="SHOW_CHILD";function Qe(Ze){return Ze.join(Ee)}function he(Ze){return Ze.map(Qe)}function Te(Ze){return Ze.split(Ee)}function et(Ze){var Nt=Ze||{},kt=Nt.label,Kt=Nt.value,tn=Nt.children,jt=Kt||"value";return{label:kt||"label",value:jt,key:jt,children:tn||"children"}}function Et(Ze,Nt){var kt,Kt;return(kt=Ze.isLeaf)!==null&&kt!==void 0?kt:!((Kt=Ze[Nt.children])!==null&&Kt!==void 0&&Kt.length)}function Ne(Ze){var Nt=Ze.parentElement;if(Nt){var kt=Ze.offsetTop-Nt.offsetTop;kt-Nt.scrollTop<0?Nt.scrollTo({top:kt}):kt+Ze.offsetHeight-Nt.scrollTop>Nt.offsetHeight&&Nt.scrollTo({top:kt+Ze.offsetHeight-Nt.offsetHeight})}}function ut(Ze,Nt){return Ze.map(function(kt){var Kt;return(Kt=kt[re])===null||Kt===void 0?void 0:Kt.map(function(tn){return tn[Nt.value]})})}function xt(Ze,Nt,kt){var Kt=new Set(Ze),tn=Nt();return Ze.filter(function(jt){var fn=tn[jt],st=fn?fn.parent:null,St=fn?fn.children:null;return fn&&fn.node.disabled?!0:kt===De?!(St&&St.some(function(dt){return dt.key&&Kt.has(dt.key)})):!(st&&!st.node.disabled&&Kt.has(st.key))})}function yt(Ze,Nt,kt){for(var Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,tn=Nt,jt=[],fn=function(){var dt,ln,Nn,Cn=Ze[st],la=(dt=tn)===null||dt===void 0?void 0:dt.findIndex(function(lt){var Jt=lt[kt.value];return Kt?String(Jt)===String(Cn):Jt===Cn}),jn=la!==-1?(ln=tn)===null||ln===void 0?void 0:ln[la]:null;jt.push({value:(Nn=jn==null?void 0:jn[kt.value])!==null&&Nn!==void 0?Nn:Cn,index:la,option:jn}),tn=jn==null?void 0:jn[kt.children]},st=0;st<Ze.length;st+=1)fn();return jt}var gt=function(Ze,Nt,kt,Kt,tn){return ue.useMemo(function(){var jt=tn||function(fn){var st=Kt?fn.slice(-1):fn,St=" / ";return st.every(function(dt){return["string","number"].includes((0,E.Z)(dt))})?st.join(St):st.reduce(function(dt,ln,Nn){var Cn=ue.isValidElement(ln)?ue.cloneElement(ln,{key:Nn}):ln;return Nn===0?[Cn]:[].concat((0,x.Z)(dt),[St,Cn])},[])};return Ze.map(function(fn){var st,St,dt=yt(fn,Nt,kt),ln=jt(dt.map(function(Cn){var la,jn=Cn.option,lt=Cn.value;return(la=jn==null?void 0:jn[kt.label])!==null&&la!==void 0?la:lt}),dt.map(function(Cn){var la=Cn.option;return la})),Nn=Qe(fn);return{label:ln,value:Nn,key:Nn,valueCells:fn,disabled:(st=dt[dt.length-1])===null||st===void 0||(St=st.option)===null||St===void 0?void 0:St.disabled}})},[Ze,Nt,kt,tn,Kt])},Yt=te(71430),wt=function(Ze,Nt){var kt=ue.useRef({options:null,info:null}),Kt=ue.useCallback(function(){return kt.current.options!==Ze&&(kt.current.options=Ze,kt.current.info=(0,Yt.I8)(Ze,{fieldNames:Nt,initWrapper:function(jt){return(0,ne.Z)((0,ne.Z)({},jt),{},{pathKeyEntities:{}})},processEntity:function(jt,fn){var st=jt.nodes.map(function(St){return St[Nt.value]}).join(Ee);fn.pathKeyEntities[st]=jt,jt.key=st}})),kt.current.info.pathKeyEntities},[Nt,Ze]);return Kt},nn=function(Ze,Nt){return ue.useCallback(function(kt){var Kt=[],tn=[];return kt.forEach(function(jt){var fn=yt(jt,Ze,Nt);fn.every(function(st){return st.option})?tn.push(jt):Kt.push(jt)}),[tn,Kt]},[Ze,Nt])},dn=te(48736);function at(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 qe=ue.memo(function(Ze){var Nt=Ze.children;return Nt},function(Ze,Nt){return!Nt.open}),qt=qe;function Sn(Ze){var Nt,kt=Ze.prefixCls,Kt=Ze.checked,tn=Ze.halfChecked,jt=Ze.disabled,fn=Ze.onClick,st=Ze.disableCheckbox,St=ue.useContext(b),dt=St.checkable,ln=typeof dt!="boolean"?dt:null;return ue.createElement("span",{className:se()("".concat(kt),(Nt={},(0,z.Z)(Nt,"".concat(kt,"-checked"),Kt),(0,z.Z)(Nt,"".concat(kt,"-indeterminate"),!Kt&&tn),(0,z.Z)(Nt,"".concat(kt,"-disabled"),jt||st),Nt)),onClick:fn},ln)}var Zt="__cascader_fix_label__";function mn(Ze){var Nt=Ze.prefixCls,kt=Ze.multiple,Kt=Ze.options,tn=Ze.activeValue,jt=Ze.prevValuePath,fn=Ze.onToggleOpen,st=Ze.onSelect,St=Ze.onActive,dt=Ze.checkedSet,ln=Ze.halfCheckedSet,Nn=Ze.loadingKeys,Cn=Ze.isSelectable,la=Ze.searchValue,jn="".concat(Nt,"-menu"),lt="".concat(Nt,"-menu-item"),Jt=ue.useContext(b),Jn=Jt.fieldNames,sn=Jt.changeOnSelect,zn=Jt.expandTrigger,na=Jt.expandIcon,La=Jt.loadingIcon,sa=Jt.dropdownMenuColumnStyle,He=zn==="hover",rn=ue.useMemo(function(){return Kt.map(function(Qt){var En,In=Qt.disabled,kn=Qt.disableCheckbox,An=Qt[re],Dn=(En=Qt[Zt])!==null&&En!==void 0?En:Qt[Jn.label],Fa=Qt[Jn.value],Oa=Et(Qt,Jn),pn=An?An.map(function(Wn){return Wn[Jn.value]}):[].concat((0,x.Z)(jt),[Fa]),Na=Qe(pn),Yn=Nn.includes(Na),qa=dt.has(Na),$a=ln.has(Na);return{disabled:In,label:Dn,value:Fa,isLeaf:Oa,isLoading:Yn,checked:qa,halfChecked:$a,option:Qt,disableCheckbox:kn,fullPath:pn,fullPathKey:Na}})},[Kt,dt,Jn,ln,Nn,jt]);return ue.createElement("ul",{className:jn,role:"menu"},rn.map(function(Qt){var En,In=Qt.disabled,kn=Qt.label,An=Qt.value,Dn=Qt.isLeaf,Fa=Qt.isLoading,Oa=Qt.checked,pn=Qt.halfChecked,Na=Qt.option,Yn=Qt.fullPath,qa=Qt.fullPathKey,$a=Qt.disableCheckbox,Wn=function(){if(!(In||la)){var Ua=(0,x.Z)(Yn);He&&Dn&&Ua.pop(),St(Ua)}},ua=function(){Cn(Na)&&st(Yn,Dn)},fa;return typeof Na.title=="string"?fa=Na.title:typeof kn=="string"&&(fa=kn),ue.createElement("li",{key:qa,className:se()(lt,(En={},(0,z.Z)(En,"".concat(lt,"-expand"),!Dn),(0,z.Z)(En,"".concat(lt,"-active"),tn===An||tn===qa),(0,z.Z)(En,"".concat(lt,"-disabled"),In),(0,z.Z)(En,"".concat(lt,"-loading"),Fa),En)),style:sa,role:"menuitemcheckbox",title:fa,"aria-checked":Oa,"data-path-key":qa,onClick:function(){Wn(),!$a&&(!kt||Dn)&&ua()},onDoubleClick:function(){sn&&fn(!1)},onMouseEnter:function(){He&&Wn()},onMouseDown:function(Ua){Ua.preventDefault()}},kt&&ue.createElement(Sn,{prefixCls:"".concat(Nt,"-checkbox"),checked:Oa,halfChecked:pn,disabled:In||$a,disableCheckbox:$a,onClick:function(Ua){$a||(Ua.stopPropagation(),ua())}}),ue.createElement("div",{className:"".concat(lt,"-content")},kn),!Fa&&na&&!Dn&&ue.createElement("div",{className:"".concat(lt,"-expand-icon")},na),Fa&&La&&ue.createElement("div",{className:"".concat(lt,"-loading-icon")},La))}))}var Ke=function(){var Ze=(0,Ue.lk)(),Nt=Ze.multiple,kt=Ze.open,Kt=ue.useContext(b),tn=Kt.values,jt=ue.useState([]),fn=(0,ot.Z)(jt,2),st=fn[0],St=fn[1];return ue.useEffect(function(){if(kt&&!Nt){var dt=tn[0];St(dt||[])}},[kt]),[st,St]},It=te(10228),Ut=function(Ze,Nt,kt,Kt,tn,jt){var fn=(0,Ue.lk)(),st=fn.direction,St=fn.searchValue,dt=fn.toggleOpen,ln=fn.open,Nn=st==="rtl",Cn=ue.useMemo(function(){for(var sa=-1,He=Nt,rn=[],Qt=[],En=Kt.length,In=ut(Nt,kt),kn=function(Na){var Yn=He.findIndex(function(qa,$a){return(In[$a]?Qe(In[$a]):qa[kt.value])===Kt[Na]});if(Yn===-1)return"break";sa=Yn,rn.push(sa),Qt.push(Kt[Na]),He=He[sa][kt.children]},An=0;An<En&&He;An+=1){var Dn=kn(An);if(Dn==="break")break}for(var Fa=Nt,Oa=0;Oa<rn.length-1;Oa+=1)Fa=Fa[rn[Oa]][kt.children];return[Qt,sa,Fa,In]},[Kt,kt,Nt]),la=(0,ot.Z)(Cn,4),jn=la[0],lt=la[1],Jt=la[2],Jn=la[3],sn=function(He){tn(He)},zn=function(He){var rn=Jt.length,Qt=lt;Qt===-1&&He<0&&(Qt=rn);for(var En=0;En<rn;En+=1){Qt=(Qt+He+rn)%rn;var In=Jt[Qt];if(In&&!In.disabled){var kn=jn.slice(0,-1).concat(Jn[Qt]?Qe(Jn[Qt]):In[kt.value]);sn(kn);return}}},na=function(){if(jn.length>1){var He=jn.slice(0,-1);sn(He)}else dt(!1)},La=function(){var He,rn=((He=Jt[lt])===null||He===void 0?void 0:He[kt.children])||[],Qt=rn.find(function(In){return!In.disabled});if(Qt){var En=[].concat((0,x.Z)(jn),[Qt[kt.value]]);sn(En)}};ue.useImperativeHandle(Ze,function(){return{onKeyDown:function(He){var rn=He.which;switch(rn){case It.Z.UP:case It.Z.DOWN:{var Qt=0;rn===It.Z.UP?Qt=-1:rn===It.Z.DOWN&&(Qt=1),Qt!==0&&zn(Qt);break}case It.Z.LEFT:{if(St)break;Nn?La():na();break}case It.Z.RIGHT:{if(St)break;Nn?na():La();break}case It.Z.BACKSPACE:{St||na();break}case It.Z.ENTER:{if(jn.length){var En=Jt[lt],In=(En==null?void 0:En[re])||[];In.length?jt(In.map(function(kn){return kn[kt.value]}),In[In.length-1]):jt(jn,Jt[lt])}break}case It.Z.ESC:dt(!1),ln&&He.stopPropagation()}},onKeyUp:function(){}}})},Mt=ue.forwardRef(function(Ze,Nt){var kt,Kt,tn,jt,fn=(0,Ue.lk)(),st=fn.prefixCls,St=fn.multiple,dt=fn.searchValue,ln=fn.toggleOpen,Nn=fn.notFoundContent,Cn=fn.direction,la=fn.open,jn=ue.useRef(),lt=Cn==="rtl",Jt=ue.useContext(b),Jn=Jt.options,sn=Jt.values,zn=Jt.halfValues,na=Jt.fieldNames,La=Jt.changeOnSelect,sa=Jt.onSelect,He=Jt.searchOptions,rn=Jt.dropdownPrefixCls,Qt=Jt.loadData,En=Jt.expandTrigger,In=rn||st,kn=ue.useState([]),An=(0,ot.Z)(kn,2),Dn=An[0],Fa=An[1],Oa=function(Sr){if(!(!Qt||dt)){var Ar=yt(Sr,Jn,na),br=Ar.map(function(or){var Lr=or.option;return Lr}),Br=br[br.length-1];if(Br&&!Et(Br,na)){var Ta=Qe(Sr);Fa(function(or){return[].concat((0,x.Z)(or),[Ta])}),Qt(br)}}};ue.useEffect(function(){Dn.length&&Dn.forEach(function(yr){var Sr=Te(yr),Ar=yt(Sr,Jn,na,!0).map(function(Br){var Ta=Br.option;return Ta}),br=Ar[Ar.length-1];(!br||br[na.children]||Et(br,na))&&Fa(function(Br){return Br.filter(function(Ta){return Ta!==yr})})})},[Jn,Dn,na]);var pn=ue.useMemo(function(){return new Set(he(sn))},[sn]),Na=ue.useMemo(function(){return new Set(he(zn))},[zn]),Yn=Ke(),qa=(0,ot.Z)(Yn,2),$a=qa[0],Wn=qa[1],ua=function(Sr){Wn(Sr),Oa(Sr)},fa=function(Sr){var Ar=Sr.disabled,br=Et(Sr,na);return!Ar&&(br||La||St)},ra=function(Sr,Ar){var br=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;sa(Sr),!St&&(Ar||La&&(En==="hover"||br))&&ln(!1)},Ua=ue.useMemo(function(){return dt?He:Jn},[dt,He,Jn]),rr=ue.useMemo(function(){for(var yr=[{options:Ua}],Sr=Ua,Ar=ut(Sr,na),br=function(){var Lr=$a[Br],Or=Sr.find(function(Qr,Hr){return(Ar[Hr]?Qe(Ar[Hr]):Qr[na.value])===Lr}),Cr=Or==null?void 0:Or[na.children];if(!(Cr!=null&&Cr.length))return"break";Sr=Cr,yr.push({options:Cr})},Br=0;Br<$a.length;Br+=1){var Ta=br();if(Ta==="break")break}return yr},[Ua,$a,na]),Ga=function(Sr,Ar){fa(Ar)&&ra(Sr,Et(Ar,na),!0)};Ut(Nt,Ua,na,$a,ua,Ga),ue.useEffect(function(){for(var yr=0;yr<$a.length;yr+=1){var Sr,Ar=$a.slice(0,yr+1),br=Qe(Ar),Br=(Sr=jn.current)===null||Sr===void 0?void 0:Sr.querySelector('li[data-path-key="'.concat(br.replace(/\\{0,2}"/g,'\\"'),'"]'));Br&&Ne(Br)}},[$a]);var _a=!((kt=rr[0])!==null&&kt!==void 0&&(Kt=kt.options)!==null&&Kt!==void 0&&Kt.length),lr=[(tn={},(0,z.Z)(tn,na.value,"__EMPTY__"),(0,z.Z)(tn,Zt,Nn),(0,z.Z)(tn,"disabled",!0),tn)],Vr=(0,ne.Z)((0,ne.Z)({},Ze),{},{multiple:!_a&&St,onSelect:ra,onActive:ua,onToggleOpen:ln,checkedSet:pn,halfCheckedSet:Na,loadingKeys:Dn,isSelectable:fa}),Ir=_a?[{options:lr}]:rr,uo=Ir.map(function(yr,Sr){var Ar=$a.slice(0,Sr),br=$a[Sr];return ue.createElement(mn,(0,ct.Z)({key:Sr},Vr,{searchValue:dt,prefixCls:In,options:yr.options,prevValuePath:Ar,activeValue:br}))});return ue.createElement(qt,{open:la},ue.createElement("div",{className:se()("".concat(In,"-menus"),(jt={},(0,z.Z)(jt,"".concat(In,"-menu-empty"),_a),(0,z.Z)(jt,"".concat(In,"-rtl"),lt),jt)),ref:jn},uo))}),ft=Mt;function rt(Ze){var Nt=Ze.onPopupVisibleChange,kt=Ze.popupVisible,Kt=Ze.popupClassName,tn=Ze.popupPlacement;warning(!Nt,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(kt===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 ze(Ze,Nt){if(Ze){var kt=function Kt(tn){for(var jt=0;jt<tn.length;jt++){var fn=tn[jt];if(fn[Nt==null?void 0:Nt.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(fn[Nt==null?void 0:Nt.children])&&Kt(fn[Nt==null?void 0:Nt.children]))return!0}};kt(Ze)}}var ve=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 Ye(Ze){return Array.isArray(Ze)&&Array.isArray(Ze[0])}function Lt(Ze){return Ze?Ye(Ze)?Ze:(Ze.length===0?[]:[Ze]).map(function(Nt){return Array.isArray(Nt)?Nt:[Nt]}):[]}var Fe=ue.forwardRef(function(Ze,Nt){var kt=Ze.id,Kt=Ze.prefixCls,tn=Kt===void 0?"rc-cascader":Kt,jt=Ze.fieldNames,fn=Ze.defaultValue,st=Ze.value,St=Ze.changeOnSelect,dt=Ze.onChange,ln=Ze.displayRender,Nn=Ze.checkable,Cn=Ze.autoClearSearchValue,la=Cn===void 0?!0:Cn,jn=Ze.searchValue,lt=Ze.onSearch,Jt=Ze.showSearch,Jn=Ze.expandTrigger,sn=Ze.options,zn=Ze.dropdownPrefixCls,na=Ze.loadData,La=Ze.popupVisible,sa=Ze.open,He=Ze.popupClassName,rn=Ze.dropdownClassName,Qt=Ze.dropdownMenuColumnStyle,En=Ze.popupPlacement,In=Ze.placement,kn=Ze.onDropdownVisibleChange,An=Ze.onPopupVisibleChange,Dn=Ze.expandIcon,Fa=Dn===void 0?">":Dn,Oa=Ze.loadingIcon,pn=Ze.children,Na=Ze.dropdownMatchSelectWidth,Yn=Na===void 0?!1:Na,qa=Ze.showCheckedStrategy,$a=qa===void 0?Ge:qa,Wn=(0,Ve.Z)(Ze,fe),ua=(0,tt.ZP)(kt),fa=!!Nn,ra=(0,y.Z)(fn,{value:st,postState:Lt}),Ua=(0,ot.Z)(ra,2),rr=Ua[0],Ga=Ua[1],_a=ue.useMemo(function(){return et(jt)},[JSON.stringify(jt)]),lr=ue.useMemo(function(){return sn||[]},[sn]),Vr=wt(lr,_a),Ir=ue.useCallback(function(pa){var Tn=Vr();return pa.map(function(Ba){var gr=Tn[Ba].nodes;return gr.map(function(Ce){return Ce[_a.value]})})},[Vr,_a]),uo=(0,y.Z)("",{value:jn,postState:function(Tn){return Tn||""}}),yr=(0,ot.Z)(uo,2),Sr=yr[0],Ar=yr[1],br=function(Tn,Ba){Ar(Tn),Ba.source!=="blur"&<&<(Tn)},Br=at(Jt),Ta=(0,ot.Z)(Br,2),or=Ta[0],Lr=Ta[1],Or=pe(Sr,lr,_a,zn||tn,Lr,St),Cr=nn(lr,_a),Qr=ue.useMemo(function(){var pa=Cr(rr),Tn=(0,ot.Z)(pa,2),Ba=Tn[0],gr=Tn[1];if(!fa||!rr.length)return[Ba,[],gr];var Ce=he(Ba),un=Vr(),xn=(0,$e.S)(Ce,!0,un),Kn=xn.checkedKeys,an=xn.halfCheckedKeys;return[Ir(Kn),Ir(an),gr]},[fa,rr,Vr,Ir,Cr]),Hr=(0,ot.Z)(Qr,3),Xa=Hr[0],wr=Hr[1],pr=Hr[2],Jr=ue.useMemo(function(){var pa=he(Xa),Tn=xt(pa,Vr,$a);return[].concat((0,x.Z)(pr),(0,x.Z)(Ir(Tn)))},[Xa,Vr,Ir,pr,$a]),no=gt(Jr,lr,_a,fa,ln),Bo=(0,le.Z)(function(pa){if(Ga(pa),dt){var Tn=Lt(pa),Ba=Tn.map(function(un){return yt(un,lr,_a).map(function(xn){return xn.option})}),gr=fa?Tn:Tn[0],Ce=fa?Ba:Ba[0];dt(gr,Ce)}}),To=(0,le.Z)(function(pa){if((!fa||la)&&Ar(""),!fa)Bo(pa);else{var Tn=Qe(pa),Ba=he(Xa),gr=he(wr),Ce=Ba.includes(Tn),un=pr.some(function(Xn){return Qe(Xn)===Tn}),xn=Xa,Kn=pr;if(un&&!Ce)Kn=pr.filter(function(Xn){return Qe(Xn)!==Tn});else{var an=Ce?Ba.filter(function(Xn){return Xn!==Tn}):[].concat((0,x.Z)(Ba),[Tn]),oa=Vr(),ea;if(Ce){var Bn=(0,$e.S)(an,{checked:!1,halfCheckedKeys:gr},oa);ea=Bn.checkedKeys}else{var On=(0,$e.S)(an,!0,oa);ea=On.checkedKeys}var Aa=xt(ea,Vr,$a);xn=Ir(Aa)}Bo([].concat((0,x.Z)(Kn),(0,x.Z)(xn)))}}),ko=function(Tn,Ba){if(Ba.type==="clear"){Bo([]);return}var gr=Ba.values[0],Ce=gr.valueCells;To(Ce)},Dr=sa!==void 0?sa:La,Yr=rn||He,Po=In||En,Qo=function(Tn){kn==null||kn(Tn),An==null||An(Tn)},Ho=ue.useMemo(function(){return{options:lr,fieldNames:_a,values:Xa,halfValues:wr,changeOnSelect:St,onSelect:To,checkable:Nn,searchOptions:Or,dropdownPrefixCls:zn,loadData:na,expandTrigger:Jn,expandIcon:Fa,loadingIcon:Oa,dropdownMenuColumnStyle:Qt}},[lr,_a,Xa,wr,St,To,Nn,Or,zn,na,Jn,Fa,Oa,Qt]),ei=!(Sr?Or:lr).length,Qa=Sr&&Lr.matchInputWidth||ei?{}:{minWidth:"auto"};return ue.createElement(b.Provider,{value:Ho},ue.createElement(Ue.Ac,(0,ct.Z)({},Wn,{ref:Nt,id:ua,prefixCls:tn,autoClearSearchValue:la,dropdownMatchSelectWidth:Yn,dropdownStyle:Qa,displayValues:no,onDisplayValuesChange:ko,mode:fa?"multiple":void 0,searchValue:Sr,onSearch:br,showSearch:or,OptionList:ft,emptyOptions:ei,open:Dr,dropdownClassName:Yr,placement:Po,onDropdownVisibleChange:Qo,getRawInputElement:function(){return pn}})))});Fe.SHOW_PARENT=Ge,Fe.SHOW_CHILD=De;var xe=Fe,nt=xe,Xe=te(2738),Ae=te(62892),pt=te(53487),hn=te(19080),$t=te(36355),Ht=te(93891),on=te(1684),gn=te(19716),_e=te(32441),Bt=te(14154),Ot=te(58582),ht=te(84443),Dt=te(66339),vn=te(33234),yn=te(98447),Pn=te(17313),Rn=te(74207),ta=te(83116);const aa=Ze=>{const{prefixCls:Nt,componentCls:kt,antCls:Kt}=Ze,tn=`${kt}-menu-item`,jt=`
|
|
&${tn}-expand ${tn}-expand-icon,
|
|
${tn}-loading-icon
|
|
`;return[{[kt]:{width:Ze.controlWidth}},{[`${kt}-dropdown`]:[(0,yn.C2)(`${Nt}-checkbox`,Ze),{[`&${Kt}-select-dropdown`]:{padding:0}},{[kt]:{"&-checkbox":{top:0,marginInlineEnd:Ze.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${kt}-menu-empty`]:{[`${kt}-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({},Pn.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}})}}}]},{[`${kt}-dropdown-rtl`]:{direction:"rtl"}},(0,Rn.c)(Ze)]};var _n=(0,ta.Z)("Cascader",Ze=>[aa(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}}),Pa=function(Ze,Nt){var kt={};for(var Kt in Ze)Object.prototype.hasOwnProperty.call(Ze,Kt)&&Nt.indexOf(Kt)<0&&(kt[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])&&(kt[Kt[tn]]=Ze[Kt[tn]]);return kt};const{SHOW_CHILD:Ea,SHOW_PARENT:Zn}=nt;function wa(Ze,Nt,kt){const Kt=Ze.toLowerCase().split(Nt).reduce((fn,st,St)=>St===0?[st]:[].concat((0,x.Z)(fn),[Nt,st]),[]),tn=[];let jt=0;return Kt.forEach((fn,st)=>{const St=jt+fn.length;let dt=Ze.slice(jt,St);jt=St,st%2===1&&(dt=ue.createElement("span",{className:`${kt}-menu-item-keyword`,key:`separator-${st}`},dt)),tn.push(dt)}),tn}const en=(Ze,Nt,kt,Kt)=>{const tn=[],jt=Ze.toLowerCase();return Nt.forEach((fn,st)=>{st!==0&&tn.push(" / ");let St=fn[Kt.label];const dt=typeof St;(dt==="string"||dt==="number")&&(St=wa(String(St),jt,kt)),tn.push(St)}),tn},bn=ue.forwardRef((Ze,Nt)=>{const{prefixCls:kt,size:Kt,disabled:tn,className:jt,rootClassName:fn,multiple:st,bordered:St=!0,transitionName:dt,choiceTransitionName:ln="",popupClassName:Nn,dropdownClassName:Cn,expandIcon:la,placement:jn,showSearch:lt,allowClear:Jt=!0,notFoundContent:Jn,direction:sn,getPopupContainer:zn,status:na,showArrow:La,builtinPlacements:sa,style:He}=Ze,rn=Pa(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,Xe.Z)(rn,["suffixIcon"]),{getPopupContainer:En,getPrefixCls:In,renderEmpty:kn,direction:An,popupOverflow:Dn,cascader:Fa}=ue.useContext($t.E_),Oa=sn||An,pn=Oa==="rtl",{status:Na,hasFeedback:Yn,isFormItemInput:qa,feedbackIcon:$a}=ue.useContext(_e.aM),Wn=(0,hn.F)(Na,na),ua=Jn||(kn==null?void 0:kn("Cascader"))||ue.createElement(Ht.Z,{componentName:"Cascader"}),fa=In(),ra=In("select",kt),Ua=In("cascader",kt),[rr,Ga]=(0,Bt.Z)(ra),[_a]=_n(Ua),{compactSize:lr,compactItemClassnames:Vr}=(0,vn.ri)(ra,sn),Ir=se()(Nn||Cn,`${Ua}-dropdown`,{[`${Ua}-dropdown-rtl`]:Oa==="rtl"},fn,Ga),uo=ue.useMemo(()=>{if(!lt)return lt;let pr={render:en};return typeof lt=="object"&&(pr=Object.assign(Object.assign({},pr),lt)),pr},[lt]),yr=(0,gn.Z)(pr=>{var Jr;return(Jr=Kt!=null?Kt:lr)!==null&&Jr!==void 0?Jr:pr}),Sr=ue.useContext(on.Z),Ar=tn!=null?tn:Sr;let br=la;la||(br=pn?ue.createElement(Be.Z,null):ue.createElement(Le.Z,null));const Br=ue.createElement("span",{className:`${ra}-menu-item-loading-icon`},ue.createElement(Me.Z,{spin:!0})),Ta=ue.useMemo(()=>st?ue.createElement("span",{className:`${Ua}-checkbox-inner`}):!1,[st]),or=(0,ht.Z)(Ze.suffixIcon,La),{suffixIcon:Lr,removeIcon:Or,clearIcon:Cr}=(0,Dt.Z)(Object.assign(Object.assign({},Ze),{hasFeedback:Yn,feedbackIcon:$a,showSuffixIcon:or,multiple:st,prefixCls:ra,componentName:"Cascader"})),Qr=ue.useMemo(()=>jn!==void 0?jn:pn?"bottomRight":"bottomLeft",[jn,pn]),Hr=(0,Ot.Z)(sa,Dn),Xa=Jt===!0?{clearIcon:Cr}:Jt,wr=ue.createElement(nt,Object.assign({prefixCls:ra,className:se()(!kt&&Ua,{[`${ra}-lg`]:yr==="large",[`${ra}-sm`]:yr==="small",[`${ra}-rtl`]:pn,[`${ra}-borderless`]:!St,[`${ra}-in-form-item`]:qa},(0,hn.Z)(ra,Wn,Yn),Vr,Fa==null?void 0:Fa.className,jt,fn,Ga),disabled:Ar,style:Object.assign(Object.assign({},Fa==null?void 0:Fa.style),He)},Qt,{builtinPlacements:Hr,direction:Oa,placement:Qr,notFoundContent:ua,allowClear:Xa,showSearch:uo,expandIcon:br,suffixIcon:Lr,removeIcon:Or,loadingIcon:Br,checkable:Ta,dropdownClassName:Ir,dropdownPrefixCls:kt||Ua,choiceTransitionName:(0,Ae.m)(fa,"",ln),transitionName:(0,Ae.m)(fa,"slide-up",dt),getPopupContainer:zn||En,ref:Nt}));return _a(rr(wr))}),Mn=(0,pt.Z)(bn);bn.SHOW_PARENT=Zn,bn.SHOW_CHILD=Ea,bn._InternalPanelDoNotUseOrYouWillBeFired=Mn;var Qn=bn},24905:function(Wt,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),Ue=te(14088),tt=te(4572),$e=function(Ee,Ge){var De={};for(var Qe in Ee)Object.prototype.hasOwnProperty.call(Ee,Qe)&&Ge.indexOf(Qe)<0&&(De[Qe]=Ee[Qe]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Qe=Object.getOwnPropertySymbols(Ee);he<Qe.length;he++)Ge.indexOf(Qe[he])<0&&Object.prototype.propertyIsEnumerable.call(Ee,Qe[he])&&(De[Qe[he]]=Ee[Qe[he]]);return De};const le=(Ee,Ge)=>{var De;const{prefixCls:Qe,className:he,rootClassName:Te,children:et,indeterminate:Et=!1,style:Ne,onMouseEnter:ut,onMouseLeave:xt,skipGroup:yt=!1,disabled:gt}=Ee,Yt=$e(Ee,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:wt,direction:nn,checkbox:dn}=Me.useContext(Le.E_),at=Me.useContext(ot),{isFormItemInput:qe}=Me.useContext(se.aM),qt=Me.useContext(Oe.Z),Sn=(De=(at==null?void 0:at.disabled)||gt)!==null&&De!==void 0?De:qt,Zt=Me.useRef(Yt.value);Me.useEffect(()=>{at==null||at.registerValue(Yt.value)},[]),Me.useEffect(()=>{if(!yt)return Yt.value!==Zt.current&&(at==null||at.cancelValue(Zt.current),at==null||at.registerValue(Yt.value),Zt.current=Yt.value),()=>at==null?void 0:at.cancelValue(Yt.value)},[Yt.value]);const mn=wt("checkbox",Qe),[Ke,It]=(0,Ve.ZP)(mn),Ut=Object.assign({},Yt);at&&!yt&&(Ut.onChange=function(){Yt.onChange&&Yt.onChange.apply(Yt,arguments),at.toggleOption&&at.toggleOption({label:et,value:Yt.value})},Ut.name=at.name,Ut.checked=at.value.includes(Yt.value));const Mt=ue()(`${mn}-wrapper`,{[`${mn}-rtl`]:nn==="rtl",[`${mn}-wrapper-checked`]:Ut.checked,[`${mn}-wrapper-disabled`]:Sn,[`${mn}-wrapper-in-form-item`]:qe},dn==null?void 0:dn.className,he,Te,It),ft=ue()({[`${mn}-indeterminate`]:Et},tt.A,It),rt=Et?"mixed":void 0;return Ke(Me.createElement(Ue.Z,{component:"Checkbox",disabled:Sn},Me.createElement("label",{className:Mt,style:Object.assign(Object.assign({},dn==null?void 0:dn.style),Ne),onMouseEnter:ut,onMouseLeave:xt},Me.createElement(Be.Z,Object.assign({"aria-checked":rt},Ut,{prefixCls:mn,className:ft,disabled:Sn,ref:Ge})),et!==void 0&&Me.createElement("span",null,et))))};var a=Me.forwardRef(le),b=te(95190),E=te(2738),z=function(Ee,Ge){var De={};for(var Qe in Ee)Object.prototype.hasOwnProperty.call(Ee,Qe)&&Ge.indexOf(Qe)<0&&(De[Qe]=Ee[Qe]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Qe=Object.getOwnPropertySymbols(Ee);he<Qe.length;he++)Ge.indexOf(Qe[he])<0&&Object.prototype.propertyIsEnumerable.call(Ee,Qe[he])&&(De[Qe[he]]=Ee[Qe[he]]);return De};const ne=(Ee,Ge)=>{const{defaultValue:De,children:Qe,options:he=[],prefixCls:Te,className:et,rootClassName:Et,style:Ne,onChange:ut}=Ee,xt=z(Ee,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:yt,direction:gt}=Me.useContext(Le.E_),[Yt,wt]=Me.useState(xt.value||De||[]),[nn,dn]=Me.useState([]);Me.useEffect(()=>{"value"in xt&&wt(xt.value||[])},[xt.value]);const at=Me.useMemo(()=>he.map(ze=>typeof ze=="string"||typeof ze=="number"?{label:ze,value:ze}:ze),[he]),qe=ze=>{dn(ve=>ve.filter(fe=>fe!==ze))},qt=ze=>{dn(ve=>[].concat((0,b.Z)(ve),[ze]))},Sn=ze=>{const ve=Yt.indexOf(ze.value),fe=(0,b.Z)(Yt);ve===-1?fe.push(ze.value):fe.splice(ve,1),"value"in xt||wt(fe),ut==null||ut(fe.filter(Ye=>nn.includes(Ye)).sort((Ye,Lt)=>{const Fe=at.findIndex(nt=>nt.value===Ye),xe=at.findIndex(nt=>nt.value===Lt);return Fe-xe}))},Zt=yt("checkbox",Te),mn=`${Zt}-group`,[Ke,It]=(0,Ve.ZP)(Zt),Ut=(0,E.Z)(xt,["value","disabled"]),Mt=he.length?at.map(ze=>Me.createElement(a,{prefixCls:Zt,key:ze.value.toString(),disabled:"disabled"in ze?ze.disabled:xt.disabled,value:ze.value,checked:Yt.includes(ze.value),onChange:ze.onChange,className:`${mn}-item`,style:ze.style,title:ze.title},ze.label)):Qe,ft={toggleOption:Sn,value:Yt,disabled:xt.disabled,name:xt.name,registerValue:qt,cancelValue:qe},rt=ue()(mn,{[`${mn}-rtl`]:gt==="rtl"},et,Et,It);return Ke(Me.createElement("div",Object.assign({className:rt,style:Ne},Ut,{ref:Ge}),Me.createElement(ot.Provider,{value:ft},Mt)))},re=Me.forwardRef(ne);var ie=Me.memo(re);const ce=a;ce.Group=ie,ce.__ANT_CHECKBOX=!0;var pe=ce},98447:function(Wt,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,ct=`${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}}),[ct]: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'"},[`& + ${ct}`]:{marginInlineStart:0},[`&${ct}-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}})},{[`
|
|
${ct}:not(${ct}-disabled),
|
|
${se}:not(${se}-disabled)
|
|
`]:{[`&:hover ${se}-inner`]:{borderColor:Oe.colorPrimary}},[`${ct}:not(${ct}-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}`}}},[`
|
|
${ct}-checked:not(${ct}-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:'""'}}}}},{[`${ct}-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 ct=(0,ue.TS)(se,{checkboxCls:`.${Oe}`,checkboxSize:se.controlInteractiveSize});return[Me(ct)]}Gt.ZP=(0,Be.Z)("Checkbox",(Oe,se)=>{let{prefixCls:ct}=se;return[Le(ct,Oe)]})},36381:function(Wt,Gt,te){"use strict";te.d(Gt,{default:function(){return Ut}});var x=te(38819),ue=te(92310),Be=te.n(ue),Me=te(14809),Le=te(95190),Oe=te(50298),se=te(93664),ct=te(18929),ot=te(48736),Ve=te(59301),Ue=te(62646),tt=te(11592),$e=te(4635),le=te(77900),y=te(10228),a=Ve.forwardRef(function(Mt,ft){var rt=Mt.prefixCls,ze=Mt.forceRender,ve=Mt.className,fe=Mt.style,Ye=Mt.children,Lt=Mt.isActive,Fe=Mt.role,xe=Ve.useState(Lt||ze),nt=(0,Oe.Z)(xe,2),Xe=nt[0],Ae=nt[1];return Ve.useEffect(function(){(ze||Lt)&&Ae(!0)},[ze,Lt]),Xe?Ve.createElement("div",{ref:ft,className:Be()("".concat(rt,"-content"),(0,$e.Z)((0,$e.Z)({},"".concat(rt,"-content-active"),Lt),"".concat(rt,"-content-inactive"),!Lt),ve),style:fe,role:Fe},Ve.createElement("div",{className:"".concat(rt,"-content-box")},Ye)):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,ft){var rt=Mt.showArrow,ze=rt===void 0?!0:rt,ve=Mt.headerClass,fe=Mt.isActive,Ye=Mt.onItemClick,Lt=Mt.forceRender,Fe=Mt.className,xe=Mt.prefixCls,nt=Mt.collapsible,Xe=Mt.accordion,Ae=Mt.panelKey,pt=Mt.extra,hn=Mt.header,$t=Mt.expandIcon,Ht=Mt.openMotion,on=Mt.destroyInactivePanel,gn=Mt.children,_e=(0,Ue.Z)(Mt,E),Bt=nt==="disabled",Ot=nt==="header",ht=nt==="icon",Dt=pt!=null&&typeof pt!="boolean",vn=function(){Ye==null||Ye(Ae)},yn=function(Pa){(Pa.key==="Enter"||Pa.keyCode===y.Z.ENTER||Pa.which===y.Z.ENTER)&&vn()},Pn=typeof $t=="function"?$t(Mt):Ve.createElement("i",{className:"arrow"});Pn&&(Pn=Ve.createElement("div",{className:"".concat(xe,"-expand-icon"),onClick:["header","icon"].includes(nt)?vn:void 0},Pn));var Rn=Be()((0,$e.Z)((0,$e.Z)((0,$e.Z)({},"".concat(xe,"-item"),!0),"".concat(xe,"-item-active"),fe),"".concat(xe,"-item-disabled"),Bt),Fe),ta=Be()(ve,(0,$e.Z)((0,$e.Z)((0,$e.Z)({},"".concat(xe,"-header"),!0),"".concat(xe,"-header-collapsible-only"),Ot),"".concat(xe,"-icon-collapsible-only"),ht)),aa={className:ta,"aria-expanded":fe,"aria-disabled":Bt,onKeyDown:yn};return!Ot&&!ht&&(aa.onClick=vn,aa.role=Xe?"tab":"button",aa.tabIndex=Bt?-1:0),Ve.createElement("div",(0,Me.Z)({},_e,{ref:ft,className:Rn}),Ve.createElement("div",aa,ze&&Pn,Ve.createElement("span",{className:"".concat(xe,"-header-text"),onClick:nt==="header"?vn:void 0},hn),Dt&&Ve.createElement("div",{className:"".concat(xe,"-extra")},pt)),Ve.createElement(le.default,(0,Me.Z)({visible:fe,leavedClassName:"".concat(xe,"-content-hidden")},Ht,{forceRender:Lt,removeOnLeave:on}),function(_n,Pa){var Ea=_n.className,Zn=_n.style;return Ve.createElement(b,{ref:Pa,prefixCls:xe,className:Ea,style:Zn,isActive:fe,forceRender:Lt,role:Xe?"tabpanel":void 0},gn)}))}),ne=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ie=function(ft,rt){var ze=rt.prefixCls,ve=rt.accordion,fe=rt.collapsible,Ye=rt.destroyInactivePanel,Lt=rt.onItemClick,Fe=rt.activeKey,xe=rt.openMotion,nt=rt.expandIcon;return ft.map(function(Xe,Ae){var pt=Xe.children,hn=Xe.label,$t=Xe.key,Ht=Xe.collapsible,on=Xe.onItemClick,gn=Xe.destroyInactivePanel,_e=(0,Ue.Z)(Xe,re),Bt=String($t!=null?$t:Ae),Ot=Ht!=null?Ht:fe,ht=gn!=null?gn:Ye,Dt=function(Pn){Ot!=="disabled"&&(Lt(Pn),on==null||on(Pn))},vn=!1;return ve?vn=Fe[0]===Bt:vn=Fe.indexOf(Bt)>-1,Ve.createElement(ne,(0,Me.Z)({},_e,{prefixCls:ze,key:Bt,panelKey:Bt,isActive:vn,accordion:ve,openMotion:xe,expandIcon:nt,header:hn,collapsible:Ot,onItemClick:Dt,destroyInactivePanel:ht}),pt)})},ce=function(ft,rt,ze){if(!ft)return null;var ve=ze.prefixCls,fe=ze.accordion,Ye=ze.collapsible,Lt=ze.destroyInactivePanel,Fe=ze.onItemClick,xe=ze.activeKey,nt=ze.openMotion,Xe=ze.expandIcon,Ae=ft.key||String(rt),pt=ft.props,hn=pt.header,$t=pt.headerClass,Ht=pt.destroyInactivePanel,on=pt.collapsible,gn=pt.onItemClick,_e=!1;fe?_e=xe[0]===Ae:_e=xe.indexOf(Ae)>-1;var Bt=on!=null?on:Ye,Ot=function(vn){Bt!=="disabled"&&(Fe(vn),gn==null||gn(vn))},ht={key:Ae,panelKey:Ae,header:hn,headerClass:$t,isActive:_e,prefixCls:ve,destroyInactivePanel:Ht!=null?Ht:Lt,openMotion:nt,accordion:fe,children:ft.props.children,onItemClick:Ot,expandIcon:Xe,collapsible:Bt};return typeof ft.type=="string"?ft:(Object.keys(ht).forEach(function(Dt){typeof ht[Dt]=="undefined"&&delete ht[Dt]}),Ve.cloneElement(ft,ht))};function pe(Mt,ft,rt){return Array.isArray(Mt)?ie(Mt,rt):(0,tt.Z)(ft).map(function(ze,ve){return ce(ze,ve,rt)})}var Ee=pe,Ge=te(26112);function De(Mt){var ft=Mt;if(!Array.isArray(ft)){var rt=(0,se.Z)(ft);ft=rt==="number"||rt==="string"?[ft]:[]}return ft.map(function(ze){return String(ze)})}var Qe=Ve.forwardRef(function(Mt,ft){var rt=Mt.prefixCls,ze=rt===void 0?"rc-collapse":rt,ve=Mt.destroyInactivePanel,fe=ve===void 0?!1:ve,Ye=Mt.style,Lt=Mt.accordion,Fe=Mt.className,xe=Mt.children,nt=Mt.collapsible,Xe=Mt.openMotion,Ae=Mt.expandIcon,pt=Mt.activeKey,hn=Mt.defaultActiveKey,$t=Mt.onChange,Ht=Mt.items,on=Be()(ze,Fe),gn=(0,ct.Z)([],{value:pt,onChange:function(yn){return $t==null?void 0:$t(yn)},defaultValue:hn,postState:De}),_e=(0,Oe.Z)(gn,2),Bt=_e[0],Ot=_e[1],ht=function(yn){return Ot(function(){if(Lt)return Bt[0]===yn?[]:[yn];var Pn=Bt.indexOf(yn),Rn=Pn>-1;return Rn?Bt.filter(function(ta){return ta!==yn}):[].concat((0,Le.Z)(Bt),[yn])})};(0,ot.ZP)(!xe,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Dt=Ee(Ht,xe,{prefixCls:ze,accordion:Lt,openMotion:Xe,expandIcon:Ae,collapsible:nt,destroyInactivePanel:fe,onItemClick:ht,activeKey:Bt});return Ve.createElement("div",(0,Me.Z)({ref:ft,className:on,style:Ye,role:Lt?"tablist":void 0},(0,Ge.Z)(Mt,{aria:!0,data:!0})),Dt)}),he=Object.assign(Qe,{Panel:ne}),Te=he,et=he.Panel,Et=te(2738),Ne=te(62892),ut=te(92343),xt=te(36355),yt=te(19716),Yt=Ve.forwardRef((Mt,ft)=>{const{getPrefixCls:rt}=Ve.useContext(xt.E_),{prefixCls:ze,className:ve,showArrow:fe=!0}=Mt,Ye=rt("collapse",ze),Lt=Be()({[`${Ye}-no-arrow`]:!fe},ve);return Ve.createElement(Te.Panel,Object.assign({ref:ft},Mt,{prefixCls:Ye,className:Lt}))}),wt=te(17313),nn=te(8378),dn=te(83116),at=te(37613);const qe=Mt=>{const{componentCls:ft,contentBg:rt,padding:ze,headerBg:ve,headerPadding:fe,collapseHeaderPaddingSM:Ye,collapseHeaderPaddingLG:Lt,collapsePanelBorderRadius:Fe,lineWidth:xe,lineType:nt,colorBorder:Xe,colorText:Ae,colorTextHeading:pt,colorTextDisabled:hn,fontSize:$t,fontSizeLG:Ht,lineHeight:on,marginSM:gn,paddingSM:_e,paddingLG:Bt,paddingXS:Ot,motionDurationSlow:ht,fontSizeIcon:Dt,contentPadding:vn}=Mt,yn=`${xe}px ${nt} ${Xe}`;return{[ft]:Object.assign(Object.assign({},(0,wt.Wf)(Mt)),{backgroundColor:ve,border:yn,borderBottom:0,borderRadius:`${Fe}px`,"&-rtl":{direction:"rtl"},[`& > ${ft}-item`]:{borderBottom:yn,"&:last-child":{[`
|
|
&,
|
|
& > ${ft}-header`]:{borderRadius:`0 0 ${Fe}px ${Fe}px`}},[`> ${ft}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:fe,color:pt,lineHeight:on,cursor:"pointer",transition:`all ${ht}, visibility 0s`,[`> ${ft}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${ft}-expand-icon`]:{height:$t*on,display:"flex",alignItems:"center",paddingInlineEnd:gn},[`${ft}-arrow`]:Object.assign(Object.assign({},(0,wt.Ro)()),{fontSize:Dt,svg:{transition:`transform ${ht}`}}),[`${ft}-header-text`]:{marginInlineEnd:"auto"}},[`${ft}-header-collapsible-only`]:{cursor:"default",[`${ft}-header-text`]:{flex:"none",cursor:"pointer"}},[`${ft}-icon-collapsible-only`]:{cursor:"default",[`${ft}-expand-icon`]:{cursor:"pointer"}}},[`${ft}-content`]:{color:Ae,backgroundColor:rt,borderTop:yn,[`& > ${ft}-content-box`]:{padding:vn},"&-hidden":{display:"none"}},"&-small":{[`> ${ft}-item`]:{[`> ${ft}-header`]:{padding:Ye,paddingInlineStart:Ot,[`> ${ft}-expand-icon`]:{marginInlineStart:_e-Ot}},[`> ${ft}-content > ${ft}-content-box`]:{padding:_e}}},"&-large":{[`> ${ft}-item`]:{fontSize:Ht,[`> ${ft}-header`]:{padding:Lt,paddingInlineStart:ze,[`> ${ft}-expand-icon`]:{height:Ht*on,marginInlineStart:Bt-ze}},[`> ${ft}-content > ${ft}-content-box`]:{padding:Bt}}},[`${ft}-item:last-child`]:{[`> ${ft}-content`]:{borderRadius:`0 0 ${Fe}px ${Fe}px`}},[`& ${ft}-item-disabled > ${ft}-header`]:{"\n &,\n & > .arrow\n ":{color:hn,cursor:"not-allowed"}},[`&${ft}-icon-position-end`]:{[`& > ${ft}-item`]:{[`> ${ft}-header`]:{[`${ft}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:gn}}}}})}},qt=Mt=>{const{componentCls:ft}=Mt,rt=`> ${ft}-item > ${ft}-header ${ft}-arrow svg`;return{[`${ft}-rtl`]:{[rt]:{transform:"rotate(180deg)"}}}},Sn=Mt=>{const{componentCls:ft,headerBg:rt,paddingXXS:ze,colorBorder:ve}=Mt;return{[`${ft}-borderless`]:{backgroundColor:rt,border:0,[`> ${ft}-item`]:{borderBottom:`1px solid ${ve}`},[`
|
|
> ${ft}-item:last-child,
|
|
> ${ft}-item:last-child ${ft}-header
|
|
`]:{borderRadius:0},[`> ${ft}-item:last-child`]:{borderBottom:0},[`> ${ft}-item > ${ft}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${ft}-item > ${ft}-content > ${ft}-content-box`]:{paddingTop:ze}}}},Zt=Mt=>{const{componentCls:ft,paddingSM:rt}=Mt;return{[`${ft}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${ft}-item`]:{borderBottom:0,[`> ${ft}-content`]:{backgroundColor:"transparent",border:0,[`> ${ft}-content-box`]:{paddingBlock:rt}}}}}};var mn=(0,dn.Z)("Collapse",Mt=>{const ft=(0,at.TS)(Mt,{collapseHeaderPaddingSM:`${Mt.paddingXS}px ${Mt.paddingSM}px`,collapseHeaderPaddingLG:`${Mt.padding}px ${Mt.paddingLG}px`,collapsePanelBorderRadius:Mt.borderRadiusLG});return[qe(ft),Sn(ft),Zt(ft),qt(ft),(0,nn.Z)(ft)]},Mt=>({headerPadding:`${Mt.paddingSM}px ${Mt.padding}px`,headerBg:Mt.colorFillAlter,contentPadding:`${Mt.padding}px 16px`,contentBg:Mt.colorBgContainer})),It=Object.assign(Ve.forwardRef((Mt,ft)=>{const{getPrefixCls:rt,direction:ze,collapse:ve}=Ve.useContext(xt.E_),{prefixCls:fe,className:Ye,rootClassName:Lt,style:Fe,bordered:xe=!0,ghost:nt,size:Xe,expandIconPosition:Ae="start",children:pt,expandIcon:hn}=Mt,$t=(0,yt.Z)(yn=>{var Pn;return(Pn=Xe!=null?Xe:yn)!==null&&Pn!==void 0?Pn:"middle"}),Ht=rt("collapse",fe),on=rt(),[gn,_e]=mn(Ht),Bt=Ve.useMemo(()=>Ae==="left"?"start":Ae==="right"?"end":Ae,[Ae]),Ot=function(){let yn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Pn=hn?hn(yn):Ve.createElement(x.Z,{rotate:yn.isActive?90:void 0});return(0,ut.Tm)(Pn,()=>({className:Be()(Pn.props.className,`${Ht}-arrow`)}))},ht=Be()(`${Ht}-icon-position-${Bt}`,{[`${Ht}-borderless`]:!xe,[`${Ht}-rtl`]:ze==="rtl",[`${Ht}-ghost`]:!!nt,[`${Ht}-${$t}`]:$t!=="middle"},ve==null?void 0:ve.className,Ye,Lt,_e),Dt=Object.assign(Object.assign({},(0,Ne.Z)(on)),{motionAppear:!1,leavedClassName:`${Ht}-content-hidden`}),vn=Ve.useMemo(()=>pt?(0,tt.Z)(pt).map((yn,Pn)=>{var Rn,ta;if(!((Rn=yn.props)===null||Rn===void 0)&&Rn.disabled){const aa=(ta=yn.key)!==null&&ta!==void 0?ta:String(Pn),{disabled:_n,collapsible:Pa}=yn.props,Ea=Object.assign(Object.assign({},(0,Et.Z)(yn.props,["disabled"])),{key:aa,collapsible:Pa!=null?Pa:_n?"disabled":void 0});return(0,ut.Tm)(yn,Ea)}return yn}):null,[pt]);return gn(Ve.createElement(Te,Object.assign({ref:ft,openMotion:Dt},(0,Et.Z)(Mt,["rootClassName"]),{expandIcon:Ot,prefixCls:Ht,className:ht,style:Object.assign(Object.assign({},ve==null?void 0:ve.style),Fe)}),vn))}),{Panel:Yt}),Ut=It},43428:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return Ke}});var x=te(92310),ue=te.n(x),Be=te(20439),Me=te(50298),Le=te(43403),Oe=te(34280),se=te(59301),ct=se.createContext(null),ot=se.createContext({}),Ve=ct,Ue=te(4635),tt=te(14809),$e=te(77900),le=te(10228),y=te(26112),a=te(70425),b=function(Ut){var Mt=Ut.prefixCls,ft=Ut.className,rt=Ut.style,ze=Ut.children,ve=Ut.containerRef,fe=Ut.id,Ye=Ut.onMouseEnter,Lt=Ut.onMouseOver,Fe=Ut.onMouseLeave,xe=Ut.onClick,nt=Ut.onKeyDown,Xe=Ut.onKeyUp,Ae={onMouseEnter:Ye,onMouseOver:Lt,onMouseLeave:Fe,onClick:xe,onKeyDown:nt,onKeyUp:Xe},pt=se.useContext(ot),hn=pt.panel,$t=(0,a.useComposeRef)(hn,ve);return se.createElement(se.Fragment,null,se.createElement("div",(0,tt.Z)({id:fe,className:ue()("".concat(Mt,"-content"),ft),style:(0,Be.Z)({},rt),"aria-modal":"true",role:"dialog",ref:$t},Ae),ze))},E=b,z=te(48736);function ne(It){return typeof It=="string"&&String(Number(It))===It?((0,z.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(It)):It}function re(It){warning(!("wrapperClassName"in It),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!It.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 ce(It,Ut){var Mt,ft,rt,ze,ve=It.prefixCls,fe=It.open,Ye=It.placement,Lt=It.inline,Fe=It.push,xe=It.forceRender,nt=It.autoFocus,Xe=It.keyboard,Ae=It.rootClassName,pt=It.rootStyle,hn=It.zIndex,$t=It.className,Ht=It.id,on=It.style,gn=It.motion,_e=It.width,Bt=It.height,Ot=It.children,ht=It.contentWrapperStyle,Dt=It.mask,vn=It.maskClosable,yn=It.maskMotion,Pn=It.maskClassName,Rn=It.maskStyle,ta=It.afterOpenChange,aa=It.onClose,_n=It.onMouseEnter,Pa=It.onMouseOver,Ea=It.onMouseLeave,Zn=It.onClick,wa=It.onKeyDown,en=It.onKeyUp,bn=se.useRef(),Mn=se.useRef(),Qn=se.useRef();se.useImperativeHandle(Ut,function(){return bn.current});var Ze=function(Jt){var Jn=Jt.keyCode,sn=Jt.shiftKey;switch(Jn){case le.Z.TAB:{if(Jn===le.Z.TAB){if(!sn&&document.activeElement===Qn.current){var zn;(zn=Mn.current)===null||zn===void 0||zn.focus({preventScroll:!0})}else if(sn&&document.activeElement===Mn.current){var na;(na=Qn.current)===null||na===void 0||na.focus({preventScroll:!0})}}break}case le.Z.ESC:{aa&&Xe&&(Jt.stopPropagation(),aa(Jt));break}}};se.useEffect(function(){if(fe&&nt){var lt;(lt=bn.current)===null||lt===void 0||lt.focus({preventScroll:!0})}},[fe]);var Nt=se.useState(!1),kt=(0,Me.Z)(Nt,2),Kt=kt[0],tn=kt[1],jt=se.useContext(Ve),fn;Fe===!1?fn={distance:0}:Fe===!0?fn={}:fn=Fe||{};var st=(Mt=(ft=(rt=fn)===null||rt===void 0?void 0:rt.distance)!==null&&ft!==void 0?ft:jt==null?void 0:jt.pushDistance)!==null&&Mt!==void 0?Mt:180,St=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 Jt;jt==null||(Jt=jt.pull)===null||Jt===void 0||Jt.call(jt)}},[fe]),se.useEffect(function(){return function(){var lt;jt==null||(lt=jt.pull)===null||lt===void 0||lt.call(jt)}},[]);var dt=Dt&&se.createElement($e.default,(0,tt.Z)({key:"mask"},yn,{visible:fe}),function(lt,Jt){var Jn=lt.className,sn=lt.style;return se.createElement("div",{className:ue()("".concat(ve,"-mask"),Jn,Pn),style:(0,Be.Z)((0,Be.Z)({},sn),Rn),onClick:vn&&fe?aa:void 0,ref:Jt})}),ln=typeof gn=="function"?gn(Ye):gn,Nn={};if(Kt&&st)switch(Ye){case"top":Nn.transform="translateY(".concat(st,"px)");break;case"bottom":Nn.transform="translateY(".concat(-st,"px)");break;case"left":Nn.transform="translateX(".concat(st,"px)");break;default:Nn.transform="translateX(".concat(-st,"px)");break}Ye==="left"||Ye==="right"?Nn.width=ne(_e):Nn.height=ne(Bt);var Cn={onMouseEnter:_n,onMouseOver:Pa,onMouseLeave:Ea,onClick:Zn,onKeyDown:wa,onKeyUp:en},la=se.createElement($e.default,(0,tt.Z)({key:"panel"},ln,{visible:fe,forceRender:xe,onVisibleChanged:function(Jt){ta==null||ta(Jt)},removeOnLeave:!1,leavedClassName:"".concat(ve,"-content-wrapper-hidden")}),function(lt,Jt){var Jn=lt.className,sn=lt.style;return se.createElement("div",(0,tt.Z)({className:ue()("".concat(ve,"-content-wrapper"),Jn),style:(0,Be.Z)((0,Be.Z)((0,Be.Z)({},Nn),sn),ht)},(0,y.Z)(It,{data:!0})),se.createElement(E,(0,tt.Z)({id:Ht,containerRef:Jt,prefixCls:ve,className:$t,style:on},Cn),Ot))}),jn=(0,Be.Z)({},pt);return hn&&(jn.zIndex=hn),se.createElement(Ve.Provider,{value:St},se.createElement("div",{className:ue()(ve,"".concat(ve,"-").concat(Ye),Ae,(ze={},(0,Ue.Z)(ze,"".concat(ve,"-open"),fe),(0,Ue.Z)(ze,"".concat(ve,"-inline"),Lt),ze)),style:jn,tabIndex:-1,ref:bn,onKeyDown:Ze},dt,se.createElement("div",{tabIndex:0,ref:Mn,style:ie,"aria-hidden":"true","data-sentinel":"start"}),la,se.createElement("div",{tabIndex:0,ref:Qn,style:ie,"aria-hidden":"true","data-sentinel":"end"})))}var pe=se.forwardRef(ce),Ee=pe,Ge=function(Ut){var Mt=Ut.open,ft=Mt===void 0?!1:Mt,rt=Ut.prefixCls,ze=rt===void 0?"rc-drawer":rt,ve=Ut.placement,fe=ve===void 0?"right":ve,Ye=Ut.autoFocus,Lt=Ye===void 0?!0:Ye,Fe=Ut.keyboard,xe=Fe===void 0?!0:Fe,nt=Ut.width,Xe=nt===void 0?378:nt,Ae=Ut.mask,pt=Ae===void 0?!0:Ae,hn=Ut.maskClosable,$t=hn===void 0?!0:hn,Ht=Ut.getContainer,on=Ut.forceRender,gn=Ut.afterOpenChange,_e=Ut.destroyOnClose,Bt=Ut.onMouseEnter,Ot=Ut.onMouseOver,ht=Ut.onMouseLeave,Dt=Ut.onClick,vn=Ut.onKeyDown,yn=Ut.onKeyUp,Pn=Ut.panelRef,Rn=se.useState(!1),ta=(0,Me.Z)(Rn,2),aa=ta[0],_n=ta[1],Pa=se.useState(!1),Ea=(0,Me.Z)(Pa,2),Zn=Ea[0],wa=Ea[1];(0,Oe.Z)(function(){wa(!0)},[]);var en=Zn?ft:!1,bn=se.useRef(),Mn=se.useRef();(0,Oe.Z)(function(){en&&(Mn.current=document.activeElement)},[en]);var Qn=function(tn){var jt;if(_n(tn),gn==null||gn(tn),!tn&&Mn.current&&!((jt=bn.current)!==null&&jt!==void 0&&jt.contains(Mn.current))){var fn;(fn=Mn.current)===null||fn===void 0||fn.focus({preventScroll:!0})}},Ze=se.useMemo(function(){return{panel:Pn}},[Pn]);if(!on&&!aa&&!en&&_e)return null;var Nt={onMouseEnter:Bt,onMouseOver:Ot,onMouseLeave:ht,onClick:Dt,onKeyDown:vn,onKeyUp:yn},kt=(0,Be.Z)((0,Be.Z)({},Ut),{},{open:en,prefixCls:ze,placement:fe,autoFocus:Lt,keyboard:xe,width:Xe,mask:pt,maskClosable:$t,inline:Ht===!1,afterOpenChange:Qn,ref:bn},Nt);return se.createElement(ot.Provider,{value:Ze},se.createElement(Le.Z,{open:en||on||aa,autoDestroy:!1,getContainer:Ht,autoLock:pt&&(en||aa)},se.createElement(Ee,kt)))},De=Ge,Qe=De,he=te(62892),Te=te(36355),et=te(32441),Et=te(47729),ut=It=>{const{prefixCls:Ut,title:Mt,footer:ft,extra:rt,closeIcon:ze,closable:ve,onClose:fe,headerStyle:Ye,drawerStyle:Lt,bodyStyle:Fe,footerStyle:xe,children:nt}=It,Xe=se.useCallback(Ht=>se.createElement("button",{type:"button",onClick:fe,"aria-label":"Close",className:`${Ut}-close`},Ht),[fe]),[Ae,pt]=(0,Et.Z)(ve,ze,Xe,void 0,!0),hn=se.useMemo(()=>!Mt&&!Ae?null:se.createElement("div",{style:Ye,className:ue()(`${Ut}-header`,{[`${Ut}-header-close-only`]:Ae&&!Mt&&!rt})},se.createElement("div",{className:`${Ut}-header-title`},pt,Mt&&se.createElement("div",{className:`${Ut}-title`},Mt)),rt&&se.createElement("div",{className:`${Ut}-extra`},rt)),[Ae,pt,rt,Ye,Ut,Mt]),$t=se.useMemo(()=>{if(!ft)return null;const Ht=`${Ut}-footer`;return se.createElement("div",{className:Ht,style:xe},ft)},[ft,xe,Ut]);return se.createElement("div",{className:`${Ut}-wrapper-body`,style:Lt},hn,se.createElement("div",{className:`${Ut}-body`,style:Fe},nt),$t)},xt=te(33234),yt=te(83116),gt=te(37613),wt=It=>{const{componentCls:Ut,motionDurationSlow:Mt}=It,ft={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Mt}`}}};return{[Ut]:{[`${Ut}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Mt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Ut}-panel-motion`]:{"&-left":[ft,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[ft,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[ft,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[ft,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const nn=It=>{const{componentCls:Ut,zIndexPopup:Mt,colorBgMask:ft,colorBgElevated:rt,motionDurationSlow:ze,motionDurationMid:ve,padding:fe,paddingLG:Ye,fontSizeLG:Lt,lineHeightLG:Fe,lineWidth:xe,lineType:nt,colorSplit:Xe,marginSM:Ae,colorIcon:pt,colorIconHover:hn,colorText:$t,fontWeightStrong:Ht,footerPaddingBlock:on,footerPaddingInline:gn}=It,_e=`${Ut}-content-wrapper`;return{[Ut]:{position:"fixed",inset:0,zIndex:Mt,pointerEvents:"none","&-pure":{position:"relative",background:rt,[`&${Ut}-left`]:{boxShadow:It.boxShadowDrawerLeft},[`&${Ut}-right`]:{boxShadow:It.boxShadowDrawerRight},[`&${Ut}-top`]:{boxShadow:It.boxShadowDrawerUp},[`&${Ut}-bottom`]:{boxShadow:It.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Ut}-mask`]:{position:"absolute",inset:0,zIndex:Mt,background:ft,pointerEvents:"auto"},[_e]:{position:"absolute",zIndex:Mt,maxWidth:"100vw",transition:`all ${ze}`,"&-hidden":{display:"none"}},[`&-left > ${_e}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:It.boxShadowDrawerLeft},[`&-right > ${_e}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:It.boxShadowDrawerRight},[`&-top > ${_e}`]:{top:0,insetInline:0,boxShadow:It.boxShadowDrawerUp},[`&-bottom > ${_e}`]:{bottom:0,insetInline:0,boxShadow:It.boxShadowDrawerDown},[`${Ut}-content`]:{width:"100%",height:"100%",overflow:"auto",background:rt,pointerEvents:"auto"},[`${Ut}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Ut}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${fe}px ${Ye}px`,fontSize:Lt,lineHeight:Fe,borderBottom:`${xe}px ${nt} ${Xe}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Ut}-extra`]:{flex:"none"},[`${Ut}-close`]:{display:"inline-block",marginInlineEnd:Ae,color:pt,fontWeight:Ht,fontSize:Lt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${ve}`,textRendering:"auto","&:focus, &:hover":{color:hn,textDecoration:"none"}},[`${Ut}-title`]:{flex:1,margin:0,color:$t,fontWeight:It.fontWeightStrong,fontSize:Lt,lineHeight:Fe},[`${Ut}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Ye,overflow:"auto"},[`${Ut}-footer`]:{flexShrink:0,padding:`${on}px ${gn}px`,borderTop:`${xe}px ${nt} ${Xe}`},"&-rtl":{direction:"rtl"}}}};var dn=(0,yt.Z)("Drawer",It=>{const Ut=(0,gt.TS)(It,{});return[nn(Ut),wt(Ut)]},It=>({zIndexPopup:It.zIndexPopupBase,footerPaddingBlock:It.paddingXS,footerPaddingInline:It.padding})),at=te(11575),qe=function(It,Ut){var Mt={};for(var ft in It)Object.prototype.hasOwnProperty.call(It,ft)&&Ut.indexOf(ft)<0&&(Mt[ft]=It[ft]);if(It!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,ft=Object.getOwnPropertySymbols(It);rt<ft.length;rt++)Ut.indexOf(ft[rt])<0&&Object.prototype.propertyIsEnumerable.call(It,ft[rt])&&(Mt[ft[rt]]=It[ft[rt]]);return Mt};const qt=null,Sn={distance:180},Zt=It=>{var Ut;const{rootClassName:Mt,width:ft,height:rt,size:ze="default",mask:ve=!0,push:fe=Sn,open:Ye,afterOpenChange:Lt,onClose:Fe,prefixCls:xe,getContainer:nt,style:Xe,className:Ae,visible:pt,afterVisibleChange:hn}=It,$t=qe(It,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:Ht,getPrefixCls:on,direction:gn,drawer:_e}=se.useContext(Te.E_),Bt=on("drawer",xe),[Ot,ht]=dn(Bt),Dt=nt===void 0&&Ht?()=>Ht(document.body):nt,vn=ue()({"no-mask":!ve,[`${Bt}-rtl`]:gn==="rtl"},Mt,ht),yn=se.useMemo(()=>ft!=null?ft:ze==="large"?736:378,[ft,ze]),Pn=se.useMemo(()=>rt!=null?rt:ze==="large"?736:378,[rt,ze]),Rn={motionName:(0,he.m)(Bt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},ta=_n=>({motionName:(0,he.m)(Bt,`panel-motion-${_n}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),aa=(0,at.H)();return Ot(se.createElement(xt.BR,null,se.createElement(et.Ux,{status:!0,override:!0},se.createElement(Qe,Object.assign({prefixCls:Bt,onClose:Fe,maskMotion:Rn,motion:ta},$t,{open:Ye!=null?Ye:pt,mask:ve,push:fe,width:yn,height:Pn,style:Object.assign(Object.assign({},_e==null?void 0:_e.style),Xe),className:ue()(_e==null?void 0:_e.className,Ae),rootClassName:vn,getContainer:Dt,afterOpenChange:Lt!=null?Lt:hn,panelRef:aa}),se.createElement(ut,Object.assign({prefixCls:Bt},$t,{onClose:Fe}))))))},mn=It=>{const{prefixCls:Ut,style:Mt,className:ft,placement:rt="right"}=It,ze=qe(It,["prefixCls","style","className","placement"]),{getPrefixCls:ve}=se.useContext(Te.E_),fe=ve("drawer",Ut),[Ye,Lt]=dn(fe),Fe=ue()(fe,`${fe}-pure`,`${fe}-${rt}`,Lt,ft);return Ye(se.createElement("div",{className:Fe,style:Mt},se.createElement(ut,Object.assign({prefixCls:fe},ze))))};Zt._InternalPanelDoNotUseOrYouWillBeFired=mn;var Ke=Zt},91857:function(Wt,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),ct=te(2738),ot=te(79676),Ve=te(53487),Ue=te(92343),tt=te(36355),$e=te(20834),le=te(40875),y=te(88088),a=te(47211);const b=null,E=ie=>{const{menu:ce,arrow:pe,prefixCls:Ee,children:Ge,trigger:De,disabled:Qe,dropdownRender:he,getPopupContainer:Te,overlayClassName:et,rootClassName:Et,open:Ne,onOpenChange:ut,visible:xt,onVisibleChange:yt,mouseEnterDelay:gt=.15,mouseLeaveDelay:Yt=.1,autoAdjustOverflow:wt=!0,placement:nn="",overlay:dn,transitionName:at}=ie,{getPopupContainer:qe,getPrefixCls:qt,direction:Sn}=x.useContext(tt.E_),Zt=x.useMemo(()=>{const Ae=qt();return at!==void 0?at:nn.includes("top")?`${Ae}-slide-down`:`${Ae}-slide-up`},[qt,nn,at]),mn=x.useMemo(()=>nn?nn.includes("Center")?nn.slice(0,nn.indexOf("Center")):nn:Sn==="rtl"?"bottomRight":"bottomLeft",[nn,Sn]),Ke=qt("dropdown",Ee),[It,Ut]=(0,a.Z)(Ke),[,Mt]=(0,y.Z)(),ft=x.Children.only(Ge),rt=(0,Ue.Tm)(ft,{className:Me()(`${Ke}-trigger`,{[`${Ke}-rtl`]:Sn==="rtl"},ft.props.className),disabled:Qe}),ze=Qe?[]:De;let ve;ze&&ze.includes("contextMenu")&&(ve=!0);const[fe,Ye]=(0,se.Z)(!1,{value:Ne!=null?Ne:xt}),Lt=(0,Oe.useEvent)(Ae=>{ut==null||ut(Ae),yt==null||yt(Ae),Ye(Ae)}),Fe=Me()(et,Et,Ut,{[`${Ke}-rtl`]:Sn==="rtl"}),xe=(0,ot.Z)({arrowPointAtCenter:typeof pe=="object"&&pe.pointAtCenter,autoAdjustOverflow:wt,offset:Mt.marginXXS,arrowWidth:pe?Mt.sizePopupArrow:0,borderRadius:Mt.borderRadius}),nt=x.useCallback(()=>{Ye(!1)},[]),Xe=()=>{let Ae;return ce!=null&&ce.items?Ae=x.createElement($e.default,Object.assign({},ce)):typeof dn=="function"?Ae=dn():Ae=dn,he&&(Ae=he(Ae)),Ae=x.Children.only(typeof Ae=="string"?x.createElement("span",null,Ae):Ae),x.createElement(le.J,{prefixCls:`${Ke}-menu`,expandIcon:x.createElement("span",{className:`${Ke}-menu-submenu-arrow`},x.createElement(ue.Z,{className:`${Ke}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:nt,validator:pt=>{let{mode:hn}=pt}},Ae)};return It(x.createElement(Le.Z,Object.assign({alignPoint:ve},(0,ct.Z)(ie,["rootClassName"]),{mouseEnterDelay:gt,mouseLeaveDelay:Yt,visible:fe,builtinPlacements:xe,arrow:!!pe,overlayClassName:Fe,prefixCls:Ke,getPopupContainer:Te||qe,transitionName:Zt,trigger:ze,overlay:Xe,placement:mn,onVisibleChange:Lt}),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(Wt,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),ct=te(81327),ot=te(33234),Ve=te(47211),Ue=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 tt=a=>{const{getPopupContainer:b,getPrefixCls:E,direction:z}=Me.useContext(se.E_),{prefixCls:ne,type:re="default",danger:ie,disabled:ce,loading:pe,onClick:Ee,htmlType:Ge,children:De,className:Qe,menu:he,arrow:Te,autoFocus:et,overlay:Et,trigger:Ne,align:ut,open:xt,onOpenChange:yt,placement:gt,getPopupContainer:Yt,href:wt,icon:nn=Me.createElement(Le.Z,null),title:dn,buttonsRender:at=Xe=>Xe,mouseEnterDelay:qe,mouseLeaveDelay:qt,overlayClassName:Sn,overlayStyle:Zt,destroyPopupOnHide:mn,dropdownRender:Ke}=a,It=Ue(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"]),Ut=E("dropdown",ne),Mt=`${Ut}-button`,[ft,rt]=(0,Ve.Z)(Ut),ze={menu:he,arrow:Te,autoFocus:et,align:ut,disabled:ce,trigger:ce?[]:Ne,onOpenChange:yt,getPopupContainer:Yt||b,mouseEnterDelay:qe,mouseLeaveDelay:qt,overlayClassName:Sn,overlayStyle:Zt,destroyPopupOnHide:mn,dropdownRender:Ke},{compactSize:ve,compactItemClassnames:fe}=(0,ot.ri)(Ut,z),Ye=Be()(Mt,fe,Qe,rt);"overlay"in a&&(ze.overlay=Et),"open"in a&&(ze.open=xt),"placement"in a?ze.placement=gt:ze.placement=z==="rtl"?"bottomLeft":"bottomRight";const Lt=Me.createElement(Oe.ZP,{type:re,danger:ie,disabled:ce,loading:pe,onClick:Ee,htmlType:Ge,href:wt,title:dn},De),Fe=Me.createElement(Oe.ZP,{type:re,danger:ie,icon:nn}),[xe,nt]=at([Lt,Fe]);return ft(Me.createElement(ct.Z.Compact,Object.assign({className:Ye,size:ve,block:!0},It),xe,Me.createElement(x.Z,Object.assign({},ze),nt)))};tt.__ANT_BUTTON=!0;var $e=tt;const le=x.Z;le.Button=$e;var y=le},47211:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return Ue}});var x=te(17313),ue=te(13826),Be=te(92899),Me=te(29878),Le=te(19447),Oe=te(83116),se=te(37613),ot=tt=>{const{componentCls:$e,menuCls:le,colorError:y,colorTextLightSolid:a}=tt,b=`${le}-item`;return{[`${$e}, ${$e}-menu-submenu`]:{[`${le} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const Ve=tt=>{const{componentCls:$e,menuCls:le,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:b,antCls:E,iconCls:z,motionDurationMid:ne,dropdownPaddingVertical:re,fontSize:ie,dropdownEdgeChildPadding:ce,colorTextDisabled:pe,fontSizeIcon:Ee,controlPaddingHorizontal:Ge,colorBgElevated:De}=tt;return[{[$e]:Object.assign(Object.assign({},(0,x.Wf)(tt)),{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:Ee}},[`${$e}-wrap`]:{position:"relative",[`${E}-btn > ${z}-down`]:{fontSize:Ee},[`${z}-down::before`]:{transition:`transform ${ne}`}},[`${$e}-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${$e}-placement-bottomLeft,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${$e}-placement-bottomLeft,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${$e}-placement-bottom,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${$e}-placement-bottom,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${$e}-placement-bottomRight,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${$e}-placement-bottomRight`]:{animationName:ue.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${$e}-placement-topLeft,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${$e}-placement-topLeft,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${$e}-placement-top,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${$e}-placement-top,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${$e}-placement-topRight,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${$e}-placement-topRight`]:{animationName:ue.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${$e}-placement-bottomLeft,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${$e}-placement-bottom,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${$e}-placement-bottomRight`]:{animationName:ue.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${$e}-placement-topLeft,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${$e}-placement-top,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${$e}-placement-topRight`]:{animationName:ue.ly}})},(0,Le.ZP)(tt,{colorBg:De,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${$e} ${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}},[`${$e}, ${$e}-menu-submenu`]:{[le]:Object.assign(Object.assign({padding:ce,listStyleType:"none",backgroundColor:De,backgroundClip:"padding-box",borderRadius:tt.borderRadiusLG,outline:"none",boxShadow:tt.boxShadowSecondary},(0,x.Qy)(tt)),{[`${le}-item-group-title`]:{padding:`${re}px ${Ge}px`,color:tt.colorTextDescription,transition:`all ${ne}`},[`${le}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${le}-item-icon`]:{minWidth:ie,marginInlineEnd:tt.marginXS,fontSize:tt.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:tt.colorText,fontWeight:"normal",fontSize:ie,lineHeight:tt.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:tt.borderRadiusSM,"&:hover, &-active":{backgroundColor:tt.controlItemBgHover}},(0,x.Qy)(tt)),{"&-selected":{color:tt.colorPrimary,backgroundColor:tt.controlItemBgActive,"&:hover, &-active":{backgroundColor:tt.controlItemBgActiveHover}},"&-disabled":{color:pe,cursor:"not-allowed","&:hover":{color:pe,backgroundColor:De,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${tt.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:tt.colorSplit},[`${$e}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:tt.paddingXS,[`${$e}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:tt.colorTextDescription,fontSize:Ee,fontStyle:"normal"}}}),[`${le}-item-group-list`]:{margin:`0 ${tt.marginXS}px`,padding:0,listStyle:"none"},[`${le}-submenu-title`]:{paddingInlineEnd:Ge+tt.fontSizeSM},[`${le}-submenu-vertical`]:{position:"relative"},[`${le}-submenu${le}-submenu-disabled ${$e}-menu-submenu-title`]:{[`&, ${$e}-menu-submenu-arrow-icon`]:{color:pe,backgroundColor:De,cursor:"not-allowed"}},[`${le}-submenu-selected ${$e}-menu-submenu-title`]:{color:tt.colorPrimary}})}},[(0,ue.oN)(tt,"slide-up"),(0,ue.oN)(tt,"slide-down"),(0,Be.Fm)(tt,"move-up"),(0,Be.Fm)(tt,"move-down"),(0,Me._y)(tt,"zoom-big")]]};var Ue=(0,Oe.Z)("Dropdown",(tt,$e)=>{let{rootPrefixCls:le}=$e;const{marginXXS:y,sizePopupArrow:a,controlHeight:b,fontSize:E,lineHeight:z,paddingXXS:ne,componentCls:re,borderRadiusLG:ie}=tt,ce=(b-E*z)/2,{dropdownArrowOffset:pe}=(0,Le.fS)({contentRadius:ie}),Ee=(0,se.TS)(tt,{menuCls:`${re}-menu`,rootPrefixCls:le,dropdownArrowDistance:a/2+y,dropdownArrowOffset:pe,dropdownPaddingVertical:ce,dropdownEdgeChildPadding:ne});return[Ve(Ee),ot(Ee)]},tt=>({zIndexPopup:tt.zIndexPopupBase+50}))},8628:function(Wt,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)({}),ct=(0,Be.Z)(),ot=(0,Me.ZP)();return(0,ue.Z)(()=>{const Ve=ot.subscribe(Ue=>{se.current=Ue,Oe&&ct()});return()=>ot.unsubscribe(Ve)},[]),se.current}Gt.Z=Le},45818:function(Wt,Gt,te){"use strict";te.d(Gt,{D:function(){return ne},Z:function(){return ce}});var x=te(14809),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(Ee,Ge){return ue.createElement(Le.Z,(0,x.Z)({},Ee,{ref:Ge,icon:Me}))},se=ue.forwardRef(Oe),ct=se,ot=te(33853),Ve=te(38819),Ue=te(92310),tt=te.n(Ue),$e=te(2738),y=pe=>!isNaN(parseFloat(pe))&&isFinite(pe),a=te(36355),b=te(84966),E=function(pe,Ee){var Ge={};for(var De in pe)Object.prototype.hasOwnProperty.call(pe,De)&&Ee.indexOf(De)<0&&(Ge[De]=pe[De]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,De=Object.getOwnPropertySymbols(pe);Qe<De.length;Qe++)Ee.indexOf(De[Qe])<0&&Object.prototype.propertyIsEnumerable.call(pe,De[Qe])&&(Ge[De[Qe]]=pe[De[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 Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return pe+=1,`${Ee}${pe}`}})();var ce=ue.forwardRef((pe,Ee)=>{const{prefixCls:Ge,className:De,trigger:Qe,children:he,defaultCollapsed:Te=!1,theme:et="dark",style:Et={},collapsible:Ne=!1,reverseArrow:ut=!1,width:xt=200,collapsedWidth:yt=80,zeroWidthTriggerStyle:gt,breakpoint:Yt,onCollapse:wt,onBreakpoint:nn}=pe,dn=E(pe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:at}=(0,ue.useContext)(b.Gs),[qe,qt]=(0,ue.useState)("collapsed"in pe?pe.collapsed:Te),[Sn,Zt]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{"collapsed"in pe&&qt(pe.collapsed)},[pe.collapsed]);const mn=(rt,ze)=>{"collapsed"in pe||qt(rt),wt==null||wt(rt,ze)},Ke=(0,ue.useRef)();Ke.current=rt=>{Zt(rt.matches),nn==null||nn(rt.matches),qe!==rt.matches&&mn(rt.matches,"responsive")},(0,ue.useEffect)(()=>{function rt(ve){return Ke.current(ve)}let ze;if(typeof window!="undefined"){const{matchMedia:ve}=window;if(ve&&Yt&&Yt in z){ze=ve(`(max-width: ${z[Yt]})`);try{ze.addEventListener("change",rt)}catch(fe){ze.addListener(rt)}rt(ze)}}return()=>{try{ze==null||ze.removeEventListener("change",rt)}catch(ve){ze==null||ze.removeListener(rt)}}},[Yt]),(0,ue.useEffect)(()=>{const rt=re("ant-sider-");return at.addSider(rt),()=>at.removeSider(rt)},[]);const It=()=>{mn(!qe,"clickTrigger")},{getPrefixCls:Ut}=(0,ue.useContext)(a.E_),Mt=()=>{const rt=Ut("layout-sider",Ge),ze=(0,$e.Z)(dn,["collapsed"]),ve=qe?yt:xt,fe=y(ve)?`${ve}px`:String(ve),Ye=parseFloat(String(yt||0))===0?ue.createElement("span",{onClick:It,className:tt()(`${rt}-zero-width-trigger`,`${rt}-zero-width-trigger-${ut?"right":"left"}`),style:gt},Qe||ue.createElement(ct,null)):null,xe={expanded:ut?ue.createElement(Ve.Z,null):ue.createElement(ot.Z,null),collapsed:ut?ue.createElement(ot.Z,null):ue.createElement(Ve.Z,null)}[qe?"collapsed":"expanded"],nt=Qe!==null?Ye||ue.createElement("div",{className:`${rt}-trigger`,onClick:It,style:{width:fe}},Qe||xe):null,Xe=Object.assign(Object.assign({},Et),{flex:`0 0 ${fe}`,maxWidth:fe,minWidth:fe,width:fe}),Ae=tt()(rt,`${rt}-${et}`,{[`${rt}-collapsed`]:!!qe,[`${rt}-has-trigger`]:Ne&&Qe!==null&&!Ye,[`${rt}-below`]:!!Sn,[`${rt}-zero-width`]:parseFloat(fe)===0},De);return ue.createElement("aside",Object.assign({className:Ae},ze,{style:Xe,ref:Ee}),ue.createElement("div",{className:`${rt}-children`},he),Ne||Sn&&Ye?nt:null)},ft=ue.useMemo(()=>({siderCollapsed:qe}),[qe]);return ue.createElement(ne.Provider,{value:ft},Mt())})},84966:function(Wt,Gt,te){"use strict";te.d(Gt,{VY:function(){return ne},$_:function(){return z},h4:function(){return E},Gs:function(){return $e},ZP:function(){return re}});var x=te(95190),ue=te(92310),Be=te.n(ue),Me=te(2738),Le=te(59301),Oe=te(36355),se=te(83116),ot=ie=>{const{componentCls:ce,bodyBg:pe,lightSiderBg:Ee,lightTriggerBg:Ge,lightTriggerColor:De}=ie;return{[`${ce}-sider-light`]:{background:Ee,[`${ce}-sider-trigger`]:{color:De,background:Ge},[`${ce}-sider-zero-width-trigger`]:{color:De,background:Ge,border:`1px solid ${pe}`,borderInlineStart:0}}}};const Ve=ie=>{const{antCls:ce,componentCls:pe,colorText:Ee,triggerColor:Ge,footerBg:De,triggerBg:Qe,headerHeight:he,headerPadding:Te,headerColor:et,footerPadding:Et,triggerHeight:Ne,zeroTriggerHeight:ut,zeroTriggerWidth:xt,motionDurationMid:yt,motionDurationSlow:gt,fontSize:Yt,borderRadius:wt,bodyBg:nn,headerBg:dn,siderBg:at}=ie;return{[pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:nn,"&, *":{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:at,transition:`all ${yt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ce}-menu${ce}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ne},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ne,color:Ge,lineHeight:`${Ne}px`,textAlign:"center",background:Qe,cursor:"pointer",transition:`all ${yt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:he,insetInlineEnd:-xt,zIndex:1,width:xt,height:ut,color:Ge,fontSize:ie.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:at,borderStartStartRadius:0,borderStartEndRadius:wt,borderEndEndRadius:wt,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:-xt,borderStartStartRadius:wt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:wt}}}}},ot(ie)),{"&-rtl":{direction:"rtl"}}),[`${pe}-header`]:{height:he,padding:Te,color:et,lineHeight:`${he}px`,background:dn,[`${ce}-menu`]:{lineHeight:"inherit"}},[`${pe}-footer`]:{padding:Et,color:Ee,fontSize:Yt,background:De},[`${pe}-content`]:{flex:"auto",minHeight:0}}};var Ue=(0,se.Z)("Layout",ie=>[Ve(ie)],ie=>{const{colorBgLayout:ce,controlHeight:pe,controlHeightLG:Ee,colorText:Ge,controlHeightSM:De,marginXXS:Qe,colorTextLightSolid:he,colorBgContainer:Te}=ie,et=Ee*1.25;return{colorBgHeader:"#001529",colorBgBody:ce,colorBgTrigger:"#002140",bodyBg:ce,headerBg:"#001529",headerHeight:pe*2,headerPadding:`0 ${et}px`,headerColor:Ge,footerPadding:`${De}px ${et}px`,footerBg:ce,siderBg:"#001529",triggerHeight:Ee+Qe*2,triggerBg:"#002140",triggerColor:he,zeroTriggerWidth:Ee,zeroTriggerHeight:Ee,lightSiderBg:Te,lightTriggerBg:Te,lightTriggerColor:Ge}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),tt=function(ie,ce){var pe={};for(var Ee in ie)Object.prototype.hasOwnProperty.call(ie,Ee)&&ce.indexOf(Ee)<0&&(pe[Ee]=ie[Ee]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ee=Object.getOwnPropertySymbols(ie);Ge<Ee.length;Ge++)ce.indexOf(Ee[Ge])<0&&Object.prototype.propertyIsEnumerable.call(ie,Ee[Ge])&&(pe[Ee[Ge]]=ie[Ee[Ge]]);return pe};const $e=Le.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function le(ie){let{suffixCls:ce,tagName:pe,displayName:Ee}=ie;return Ge=>Le.forwardRef((Qe,he)=>Le.createElement(Ge,Object.assign({ref:he,suffixCls:ce,tagName:pe},Qe)))}const y=Le.forwardRef((ie,ce)=>{const{prefixCls:pe,suffixCls:Ee,className:Ge,tagName:De}=ie,Qe=tt(ie,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:he}=Le.useContext(Oe.E_),Te=he("layout",pe),[et,Et]=Ue(Te),Ne=Ee?`${Te}-${Ee}`:Te;return et(Le.createElement(De,Object.assign({className:Be()(pe||Ne,Ge,Et),ref:ce},Qe)))}),a=Le.forwardRef((ie,ce)=>{const{direction:pe}=Le.useContext(Oe.E_),[Ee,Ge]=Le.useState([]),{prefixCls:De,className:Qe,rootClassName:he,children:Te,hasSider:et,tagName:Et,style:Ne}=ie,ut=tt(ie,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),xt=(0,Me.Z)(ut,["suffixCls"]),{getPrefixCls:yt,layout:gt}=Le.useContext(Oe.E_),Yt=yt("layout",De),[wt,nn]=Ue(Yt),dn=Be()(Yt,{[`${Yt}-has-sider`]:typeof et=="boolean"?et:Ee.length>0,[`${Yt}-rtl`]:pe==="rtl"},gt==null?void 0:gt.className,Qe,he,nn),at=Le.useMemo(()=>({siderHook:{addSider:qe=>{Ge(qt=>[].concat((0,x.Z)(qt),[qe]))},removeSider:qe=>{Ge(qt=>qt.filter(Sn=>Sn!==qe))}}}),[]);return wt(Le.createElement($e.Provider,{value:at},Le.createElement(Et,Object.assign({ref:ce,className:dn,style:Object.assign(Object.assign({},gt==null?void 0:gt.style),Ne)},xt),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(Wt,Gt,te){"use strict";te.d(Gt,{J:function(){return Oe}});var x=te(59301),ue=te(33234),Be=te(70425),Me=function(se,ct){var ot={};for(var Ve in se)Object.prototype.hasOwnProperty.call(se,Ve)&&ct.indexOf(Ve)<0&&(ot[Ve]=se[Ve]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,Ve=Object.getOwnPropertySymbols(se);Ue<Ve.length;Ue++)ct.indexOf(Ve[Ue])<0&&Object.prototype.propertyIsEnumerable.call(se,Ve[Ue])&&(ot[Ve[Ue]]=se[Ve[Ue]]);return ot};const Le=x.createContext(null),Oe=x.forwardRef((se,ct)=>{const{children:ot}=se,Ve=Me(se,["children"]),Ue=x.useContext(Le),tt=x.useMemo(()=>Object.assign(Object.assign({},Ue),Ve),[Ue,Ve.prefixCls,Ve.mode,Ve.selectable]);return x.createElement(Le.Provider,{value:tt},x.createElement(ue.BR,null,(0,Be.supportNodeRef)(ot)?x.cloneElement(ot,{ref:ct}):ot))});Gt.Z=Le},20834:function(Wt,Gt,te){"use strict";te.d(Gt,{default:function(){return ft}});var x=te(15285),ue=te(59301),Be=te(45818),Me=te(92310),Le=te.n(Me),Oe=te(36355),se=function(rt,ze){var ve={};for(var fe in rt)Object.prototype.hasOwnProperty.call(rt,fe)&&ze.indexOf(fe)<0&&(ve[fe]=rt[fe]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,fe=Object.getOwnPropertySymbols(rt);Ye<fe.length;Ye++)ze.indexOf(fe[Ye])<0&&Object.prototype.propertyIsEnumerable.call(rt,fe[Ye])&&(ve[fe[Ye]]=rt[fe[Ye]]);return ve},ot=rt=>{const{prefixCls:ze,className:ve,dashed:fe}=rt,Ye=se(rt,["prefixCls","className","dashed"]),{getPrefixCls:Lt}=ue.useContext(Oe.E_),Fe=Lt("menu",ze),xe=Le()({[`${Fe}-item-divider-dashed`]:!!fe},ve);return ue.createElement(x.iz,Object.assign({className:xe},Ye))},Ve=te(11592),Ue=te(2738),tt=te(6848),$e=te(92343),y=(0,ue.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=rt=>{var ze;const{className:ve,children:fe,icon:Ye,title:Lt,danger:Fe}=rt,{prefixCls:xe,firstLevel:nt,direction:Xe,disableMenuItemTitleTooltip:Ae,inlineCollapsed:pt}=ue.useContext(y),hn=Bt=>{const Ot=ue.createElement("span",{className:`${xe}-title-content`},fe);return(!Ye||(0,$e.l$)(fe)&&fe.type==="span")&&fe&&Bt&&nt&&typeof fe=="string"?ue.createElement("div",{className:`${xe}-inline-collapsed-noicon`},fe.charAt(0)):Ot},{siderCollapsed:$t}=ue.useContext(Be.D);let Ht=Lt;typeof Lt=="undefined"?Ht=nt?fe:"":Lt===!1&&(Ht="");const on={title:Ht};!$t&&!pt&&(on.title=null,on.open=!1);const gn=(0,Ve.Z)(fe).length;let _e=ue.createElement(x.ck,Object.assign({},(0,Ue.Z)(rt,["title","icon","danger"]),{className:Le()({[`${xe}-item-danger`]:Fe,[`${xe}-item-only-child`]:(Ye?gn+1:gn)===1},ve),title:typeof Lt=="string"?Lt:void 0}),(0,$e.Tm)(Ye,{className:Le()((0,$e.l$)(Ye)?(ze=Ye.props)===null||ze===void 0?void 0:ze.className:"",`${xe}-item-icon`)}),hn(pt));return Ae||(_e=ue.createElement(tt.Z,Object.assign({},on,{placement:Xe==="rtl"?"left":"right",overlayClassName:`${xe}-inline-collapsed-tooltip`}),_e)),_e},z=rt=>{var ze;const{popupClassName:ve,icon:fe,title:Ye,theme:Lt}=rt,Fe=ue.useContext(y),{prefixCls:xe,inlineCollapsed:nt,theme:Xe}=Fe,Ae=(0,x.Xl)();let pt;if(!fe)pt=nt&&!Ae.length&&Ye&&typeof Ye=="string"?ue.createElement("div",{className:`${xe}-inline-collapsed-noicon`},Ye.charAt(0)):ue.createElement("span",{className:`${xe}-title-content`},Ye);else{const $t=(0,$e.l$)(Ye)&&Ye.type==="span";pt=ue.createElement(ue.Fragment,null,(0,$e.Tm)(fe,{className:Le()((0,$e.l$)(fe)?(ze=fe.props)===null||ze===void 0?void 0:ze.className:"",`${xe}-item-icon`)}),$t?Ye:ue.createElement("span",{className:`${xe}-title-content`},Ye))}const hn=ue.useMemo(()=>Object.assign(Object.assign({},Fe),{firstLevel:!1}),[Fe]);return ue.createElement(y.Provider,{value:hn},ue.createElement(x.Wd,Object.assign({},(0,Ue.Z)(rt,["icon"]),{title:pt,popupClassName:Le()(xe,ve,`${xe}-${Lt||Xe}`)})))},ne=te(18785),re=te(70425),ie=te(62892),ce=te(40875),pe=function(rt,ze){var ve={};for(var fe in rt)Object.prototype.hasOwnProperty.call(rt,fe)&&ze.indexOf(fe)<0&&(ve[fe]=rt[fe]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,fe=Object.getOwnPropertySymbols(rt);Ye<fe.length;Ye++)ze.indexOf(fe[Ye])<0&&Object.prototype.propertyIsEnumerable.call(rt,fe[Ye])&&(ve[fe[Ye]]=rt[fe[Ye]]);return ve};function Ee(rt){return(rt||[]).map((ze,ve)=>{if(ze&&typeof ze=="object"){const fe=ze,{label:Ye,children:Lt,key:Fe,type:xe}=fe,nt=pe(fe,["label","children","key","type"]),Xe=Fe!=null?Fe:`tmp-${ve}`;return Lt||xe==="group"?xe==="group"?ue.createElement(x.BW,Object.assign({key:Xe},nt,{title:Ye}),Ee(Lt)):ue.createElement(z,Object.assign({key:Xe},nt,{title:Ye}),Ee(Lt)):xe==="divider"?ue.createElement(ot,Object.assign({key:Xe},nt)):ue.createElement(b,Object.assign({key:Xe},nt),Ye)}return null}).filter(ze=>ze)}function Ge(rt){return ue.useMemo(()=>rt&&Ee(rt),[rt])}var De=te(64993),Qe=te(17313),he=te(8378),Te=te(13826),et=te(29878),Et=te(83116),Ne=te(37613),xt=rt=>{const{componentCls:ze,motionDurationSlow:ve,horizontalLineHeight:fe,colorSplit:Ye,lineWidth:Lt,lineType:Fe,itemPaddingInline:xe}=rt;return{[`${ze}-horizontal`]:{lineHeight:fe,border:0,borderBottom:`${Lt}px ${Fe} ${Ye}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ze}-item, ${ze}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:xe},[`> ${ze}-item:hover,
|
|
> ${ze}-item-active,
|
|
> ${ze}-submenu ${ze}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ze}-item, ${ze}-submenu-title`]:{transition:[`border-color ${ve}`,`background ${ve}`].join(",")},[`${ze}-submenu-arrow`]:{display:"none"}}}},gt=rt=>{let{componentCls:ze,menuArrowOffset:ve}=rt;return{[`${ze}-rtl`]:{direction:"rtl"},[`${ze}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ze}-rtl${ze}-vertical,
|
|
${ze}-submenu-rtl ${ze}-vertical`]:{[`${ze}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ve})`},"&::after":{transform:`rotate(45deg) translateY(${ve})`}}}}};const Yt=rt=>Object.assign({},(0,Qe.oN)(rt));var nn=(rt,ze)=>{const{componentCls:ve,itemColor:fe,itemSelectedColor:Ye,groupTitleColor:Lt,itemBg:Fe,subMenuItemBg:xe,itemSelectedBg:nt,activeBarHeight:Xe,activeBarWidth:Ae,activeBarBorderWidth:pt,motionDurationSlow:hn,motionEaseInOut:$t,motionEaseOut:Ht,itemPaddingInline:on,motionDurationMid:gn,itemHoverColor:_e,lineType:Bt,colorSplit:Ot,itemDisabledColor:ht,dangerItemColor:Dt,dangerItemHoverColor:vn,dangerItemSelectedColor:yn,dangerItemActiveBg:Pn,dangerItemSelectedBg:Rn,itemHoverBg:ta,itemActiveBg:aa,menuSubMenuBg:_n,horizontalItemSelectedColor:Pa,horizontalItemSelectedBg:Ea,horizontalItemBorderRadius:Zn,horizontalItemHoverBg:wa,popupBg:en}=rt;return{[`${ve}-${ze}, ${ve}-${ze} > ${ve}`]:{color:fe,background:Fe,[`&${ve}-root:focus-visible`]:Object.assign({},Yt(rt)),[`${ve}-item-group-title`]:{color:Lt},[`${ve}-submenu-selected`]:{[`> ${ve}-submenu-title`]:{color:Ye}},[`${ve}-item-disabled, ${ve}-submenu-disabled`]:{color:`${ht} !important`},[`${ve}-item:not(${ve}-item-selected):not(${ve}-submenu-selected)`]:{[`&:hover, > ${ve}-submenu-title:hover`]:{color:_e}},[`&:not(${ve}-horizontal)`]:{[`${ve}-item:not(${ve}-item-selected)`]:{"&:hover":{backgroundColor:ta},"&:active":{backgroundColor:aa}},[`${ve}-submenu-title`]:{"&:hover":{backgroundColor:ta},"&:active":{backgroundColor:aa}}},[`${ve}-item-danger`]:{color:Dt,[`&${ve}-item:hover`]:{[`&:not(${ve}-item-selected):not(${ve}-submenu-selected)`]:{color:vn}},[`&${ve}-item:active`]:{background:Pn}},[`${ve}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ve}-item-selected`]:{color:Ye,[`&${ve}-item-danger`]:{color:yn},"a, a:hover":{color:"inherit"}},[`& ${ve}-item-selected`]:{backgroundColor:nt,[`&${ve}-item-danger`]:{backgroundColor:Rn}},[`${ve}-item, ${ve}-submenu-title`]:{[`&:not(${ve}-item-disabled):focus-visible`]:Object.assign({},Yt(rt))},[`&${ve}-submenu > ${ve}`]:{backgroundColor:_n},[`&${ve}-popup > ${ve}`]:{backgroundColor:en},[`&${ve}-horizontal`]:Object.assign(Object.assign({},ze==="dark"?{borderBottom:0}:{}),{[`> ${ve}-item, > ${ve}-submenu`]:{top:pt,marginTop:-pt,marginBottom:0,borderRadius:Zn,"&::after":{position:"absolute",insetInline:on,bottom:0,borderBottom:`${Xe}px solid transparent`,transition:`border-color ${hn} ${$t}`,content:'""'},"&:hover, &-active, &-open":{background:wa,"&::after":{borderBottomWidth:Xe,borderBottomColor:Pa}},"&-selected":{color:Pa,backgroundColor:Ea,"&:hover":{backgroundColor:Ea},"&::after":{borderBottomWidth:Xe,borderBottomColor:Pa}}}}),[`&${ve}-root`]:{[`&${ve}-inline, &${ve}-vertical`]:{borderInlineEnd:`${pt}px ${Bt} ${Ot}`}},[`&${ve}-inline`]:{[`${ve}-sub${ve}-inline`]:{background:xe},[`${ve}-item, ${ve}-submenu-title`]:pt&&Ae?{width:`calc(100% + ${pt}px)`}:{},[`${ve}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ae}px solid ${Ye}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${gn} ${Ht}`,`opacity ${gn} ${Ht}`].join(","),content:'""'},[`&${ve}-item-danger`]:{"&::after":{borderInlineEndColor:yn}}},[`${ve}-selected, ${ve}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${gn} ${$t}`,`opacity ${gn} ${$t}`].join(",")}}}}}};const dn=rt=>{const{componentCls:ze,itemHeight:ve,itemMarginInline:fe,padding:Ye,menuArrowSize:Lt,marginXS:Fe,itemMarginBlock:xe}=rt,nt=Ye+Lt+Fe;return{[`${ze}-item`]:{position:"relative",overflow:"hidden"},[`${ze}-item, ${ze}-submenu-title`]:{height:ve,lineHeight:`${ve}px`,paddingInline:Ye,overflow:"hidden",textOverflow:"ellipsis",marginInline:fe,marginBlock:xe,width:`calc(100% - ${fe*2}px)`},[`> ${ze}-item,
|
|
> ${ze}-submenu > ${ze}-submenu-title`]:{height:ve,lineHeight:`${ve}px`},[`${ze}-item-group-list ${ze}-submenu-title,
|
|
${ze}-submenu-title`]:{paddingInlineEnd:nt}}};var qe=rt=>{const{componentCls:ze,iconCls:ve,itemHeight:fe,colorTextLightSolid:Ye,dropdownWidth:Lt,controlHeightLG:Fe,motionDurationMid:xe,motionEaseOut:nt,paddingXL:Xe,itemMarginInline:Ae,fontSizeLG:pt,motionDurationSlow:hn,paddingXS:$t,boxShadowSecondary:Ht,collapsedWidth:on,collapsedIconSize:gn}=rt,_e={height:fe,lineHeight:`${fe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ze]:{"&-inline, &-vertical":Object.assign({[`&${ze}-root`]:{boxShadow:"none"}},dn(rt))},[`${ze}-submenu-popup`]:{[`${ze}-vertical`]:Object.assign(Object.assign({},dn(rt)),{boxShadow:Ht})}},{[`${ze}-submenu-popup ${ze}-vertical${ze}-sub`]:{minWidth:Lt,maxHeight:`calc(100vh - ${Fe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ze}-inline`]:{width:"100%",[`&${ze}-root`]:{[`${ze}-item, ${ze}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${hn}`,`background ${hn}`,`padding ${xe} ${nt}`].join(","),[`> ${ze}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ze}-sub${ze}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ze}-submenu > ${ze}-submenu-title`]:_e,[`& ${ze}-item-group-title`]:{paddingInlineStart:Xe}},[`${ze}-item`]:_e}},{[`${ze}-inline-collapsed`]:{width:on,[`&${ze}-root`]:{[`${ze}-item, ${ze}-submenu ${ze}-submenu-title`]:{[`> ${ze}-inline-collapsed-noicon`]:{fontSize:pt,textAlign:"center"}}},[`> ${ze}-item,
|
|
> ${ze}-item-group > ${ze}-item-group-list > ${ze}-item,
|
|
> ${ze}-item-group > ${ze}-item-group-list > ${ze}-submenu > ${ze}-submenu-title,
|
|
> ${ze}-submenu > ${ze}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${pt/2}px - ${Ae}px)`,textOverflow:"clip",[`
|
|
${ze}-submenu-arrow,
|
|
${ze}-submenu-expand-icon
|
|
`]:{opacity:0},[`${ze}-item-icon, ${ve}`]:{margin:0,fontSize:gn,lineHeight:`${fe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ze}-item-icon, ${ve}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ze}-item-icon, ${ve}`]:{display:"none"},"a, a:hover":{color:Ye}},[`${ze}-item-group-title`]:Object.assign(Object.assign({},Qe.vS),{paddingInline:$t})}}]};const qt=rt=>{const{componentCls:ze,motionDurationSlow:ve,motionDurationMid:fe,motionEaseInOut:Ye,motionEaseOut:Lt,iconCls:Fe,iconSize:xe,iconMarginInlineEnd:nt}=rt;return{[`${ze}-item, ${ze}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ve}`,`background ${ve}`,`padding ${ve} ${Ye}`].join(","),[`${ze}-item-icon, ${Fe}`]:{minWidth:xe,fontSize:xe,transition:[`font-size ${fe} ${Lt}`,`margin ${ve} ${Ye}`,`color ${ve}`].join(","),"+ span":{marginInlineStart:nt,opacity:1,transition:[`opacity ${ve} ${Ye}`,`margin ${ve}`,`color ${ve}`].join(",")}},[`${ze}-item-icon`]:Object.assign({},(0,Qe.Ro)()),[`&${ze}-item-only-child`]:{[`> ${Fe}, > ${ze}-item-icon`]:{marginInlineEnd:0}}},[`${ze}-item-disabled, ${ze}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ze}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Sn=rt=>{const{componentCls:ze,motionDurationSlow:ve,motionEaseInOut:fe,borderRadius:Ye,menuArrowSize:Lt,menuArrowOffset:Fe}=rt;return{[`${ze}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:rt.margin,width:Lt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ve} ${fe}, opacity ${ve}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Lt*.6,height:Lt*.15,backgroundColor:"currentcolor",borderRadius:Ye,transition:[`background ${ve} ${fe}`,`transform ${ve} ${fe}`,`top ${ve} ${fe}`,`color ${ve} ${fe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Fe})`},"&::after":{transform:`rotate(-45deg) translateY(${Fe})`}}}}},Zt=rt=>{const{antCls:ze,componentCls:ve,fontSize:fe,motionDurationSlow:Ye,motionDurationMid:Lt,motionEaseInOut:Fe,paddingXS:xe,padding:nt,colorSplit:Xe,lineWidth:Ae,zIndexPopup:pt,borderRadiusLG:hn,subMenuItemBorderRadius:$t,menuArrowSize:Ht,menuArrowOffset:on,lineType:gn,menuPanelMaskInset:_e,groupTitleLineHeight:Bt,groupTitleFontSize:Ot}=rt;return[{"":{[`${ve}`]:Object.assign(Object.assign({},(0,Qe.dF)()),{"&-hidden":{display:"none"}})},[`${ve}-submenu-hidden`]:{display:"none"}},{[ve]: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 ${Ye} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ve}-item`]:{flex:"none"}},[`${ve}-item, ${ve}-submenu, ${ve}-submenu-title`]:{borderRadius:rt.itemBorderRadius},[`${ve}-item-group-title`]:{padding:`${xe}px ${nt}px`,fontSize:Ot,lineHeight:Bt,transition:`all ${Ye}`},[`&-horizontal ${ve}-submenu`]:{transition:[`border-color ${Ye} ${Fe}`,`background ${Ye} ${Fe}`].join(",")},[`${ve}-submenu, ${ve}-submenu-inline`]:{transition:[`border-color ${Ye} ${Fe}`,`background ${Ye} ${Fe}`,`padding ${Lt} ${Fe}`].join(",")},[`${ve}-submenu ${ve}-sub`]:{cursor:"initial",transition:[`background ${Ye} ${Fe}`,`padding ${Ye} ${Fe}`].join(",")},[`${ve}-title-content`]:{transition:`color ${Ye}`},[`${ve}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ve}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Xe,borderStyle:gn,borderWidth:0,borderTopWidth:Ae,marginBlock:Ae,padding:0,"&-dashed":{borderStyle:"dashed"}}}),qt(rt)),{[`${ve}-item-group`]:{[`${ve}-item-group-list`]:{margin:0,padding:0,[`${ve}-item, ${ve}-submenu-title`]:{paddingInline:`${fe*2}px ${nt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:pt,borderRadius:hn,boxShadow:"none",transformOrigin:"0 0",[`&${ve}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${_e}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:_e},"\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},[`> ${ve}`]:Object.assign(Object.assign(Object.assign({borderRadius:hn},qt(rt)),Sn(rt)),{[`${ve}-item, ${ve}-submenu > ${ve}-submenu-title`]:{borderRadius:$t},[`${ve}-submenu-title::after`]:{transition:`transform ${Ye} ${Fe}`}})}}),Sn(rt)),{[`&-inline-collapsed ${ve}-submenu-arrow,
|
|
&-inline ${ve}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${on})`},"&::after":{transform:`rotate(45deg) translateX(-${on})`}},[`${ve}-submenu-open${ve}-submenu-inline > ${ve}-submenu-title > ${ve}-submenu-arrow`]:{transform:`translateY(-${Ht*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${on})`},"&::before":{transform:`rotate(45deg) translateX(${on})`}}})},{[`${ze}-layout-header`]:{[ve]:{lineHeight:"inherit"}}}]};var mn=(rt,ze)=>(0,Et.Z)("Menu",fe=>{if(ze===!1)return[];const{colorBgElevated:Ye,colorPrimary:Lt,colorTextLightSolid:Fe,controlHeightLG:xe,fontSize:nt,darkItemColor:Xe,darkDangerItemColor:Ae,darkItemBg:pt,darkSubMenuItemBg:hn,darkItemSelectedColor:$t,darkItemSelectedBg:Ht,darkDangerItemSelectedBg:on,darkItemHoverBg:gn,darkGroupTitleColor:_e,darkItemHoverColor:Bt,darkItemDisabledColor:Ot,darkDangerItemHoverColor:ht,darkDangerItemSelectedColor:Dt,darkDangerItemActiveBg:vn}=fe,yn=nt/7*5,Pn=(0,Ne.TS)(fe,{menuArrowSize:yn,menuHorizontalHeight:xe*1.15,menuArrowOffset:`${yn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ye}),Rn=(0,Ne.TS)(Pn,{itemColor:Xe,itemHoverColor:Bt,groupTitleColor:_e,itemSelectedColor:$t,itemBg:pt,popupBg:pt,subMenuItemBg:hn,itemActiveBg:"transparent",itemSelectedBg:Ht,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:gn,itemDisabledColor:Ot,dangerItemColor:Ae,dangerItemHoverColor:ht,dangerItemSelectedColor:Dt,dangerItemActiveBg:vn,dangerItemSelectedBg:on,menuSubMenuBg:hn,horizontalItemSelectedColor:Fe,horizontalItemSelectedBg:Lt});return[Zt(Pn),xt(Pn),qe(Pn),nn(Pn,"light"),nn(Rn,"dark"),gt(Pn),(0,he.Z)(Pn),(0,Te.oN)(Pn,"slide-up"),(0,Te.oN)(Pn,"slide-down"),(0,et._y)(Pn,"zoom-big")]},fe=>{const{colorPrimary:Ye,colorError:Lt,colorTextDisabled:Fe,colorErrorBg:xe,colorText:nt,colorTextDescription:Xe,colorBgContainer:Ae,colorFillAlter:pt,colorFillContent:hn,lineWidth:$t,lineWidthBold:Ht,controlItemBgActive:on,colorBgTextHover:gn,controlHeightLG:_e,lineHeight:Bt,colorBgElevated:Ot,marginXXS:ht,padding:Dt,fontSize:vn,controlHeightSM:yn,fontSizeLG:Pn,colorTextLightSolid:Rn,colorErrorHover:ta}=fe,aa=new De.C(Rn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:fe.zIndexPopupBase+50,radiusItem:fe.borderRadiusLG,itemBorderRadius:fe.borderRadiusLG,radiusSubMenuItem:fe.borderRadiusSM,subMenuItemBorderRadius:fe.borderRadiusSM,colorItemText:nt,itemColor:nt,colorItemTextHover:nt,itemHoverColor:nt,colorItemTextHoverHorizontal:Ye,horizontalItemHoverColor:Ye,colorGroupTitle:Xe,groupTitleColor:Xe,colorItemTextSelected:Ye,itemSelectedColor:Ye,colorItemTextSelectedHorizontal:Ye,horizontalItemSelectedColor:Ye,colorItemBg:Ae,itemBg:Ae,colorItemBgHover:gn,itemHoverBg:gn,colorItemBgActive:hn,itemActiveBg:on,colorSubItemBg:pt,subMenuItemBg:pt,colorItemBgSelected:on,itemSelectedBg:on,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Ht,activeBarHeight:Ht,colorActiveBarBorderSize:$t,activeBarBorderWidth:$t,colorItemTextDisabled:Fe,itemDisabledColor:Fe,colorDangerItemText:Lt,dangerItemColor:Lt,colorDangerItemTextHover:Lt,dangerItemHoverColor:Lt,colorDangerItemTextSelected:Lt,dangerItemSelectedColor:Lt,colorDangerItemBgActive:xe,dangerItemActiveBg:xe,colorDangerItemBgSelected:xe,dangerItemSelectedBg:xe,itemMarginInline:fe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:_e,groupTitleLineHeight:Bt,collapsedWidth:_e*2,popupBg:Ot,itemMarginBlock:ht,itemPaddingInline:Dt,horizontalLineHeight:`${_e*1.15}px`,iconSize:vn,iconMarginInlineEnd:yn-vn,collapsedIconSize:Pn,groupTitleFontSize:vn,darkItemDisabledColor:new De.C(Rn).setAlpha(.25).toRgbString(),darkItemColor:aa,darkDangerItemColor:Lt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Rn,darkItemSelectedBg:Ye,darkDangerItemSelectedBg:Lt,darkItemHoverBg:"transparent",darkGroupTitleColor:aa,darkItemHoverColor:Rn,darkDangerItemHoverColor:ta,darkDangerItemSelectedColor:Rn,darkDangerItemActiveBg:Lt}},{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),Ke=function(rt,ze){var ve={};for(var fe in rt)Object.prototype.hasOwnProperty.call(rt,fe)&&ze.indexOf(fe)<0&&(ve[fe]=rt[fe]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,fe=Object.getOwnPropertySymbols(rt);Ye<fe.length;Ye++)ze.indexOf(fe[Ye])<0&&Object.prototype.propertyIsEnumerable.call(rt,fe[Ye])&&(ve[fe[Ye]]=rt[fe[Ye]]);return ve},Ut=(0,ue.forwardRef)((rt,ze)=>{var ve,fe;const Ye=ue.useContext(ce.Z),Lt=Ye||{},{getPrefixCls:Fe,getPopupContainer:xe,direction:nt,menu:Xe}=ue.useContext(Oe.E_),Ae=Fe(),{prefixCls:pt,className:hn,style:$t,theme:Ht="light",expandIcon:on,_internalDisableMenuItemTitleTooltip:gn,inlineCollapsed:_e,siderCollapsed:Bt,items:Ot,children:ht,rootClassName:Dt,mode:vn,selectable:yn,onClick:Pn,overflowedIndicatorPopupClassName:Rn}=rt,ta=Ke(rt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),aa=(0,Ue.Z)(ta,["collapsedWidth"]),_n=Ge(Ot)||ht;(ve=Lt.validator)===null||ve===void 0||ve.call(Lt,{mode:vn});const Pa=(0,re.useEvent)(function(){var Kt;Pn==null||Pn.apply(void 0,arguments),(Kt=Lt.onClick)===null||Kt===void 0||Kt.call(Lt)}),Ea=Lt.mode||vn,Zn=yn!=null?yn:Lt.selectable,wa=ue.useMemo(()=>Bt!==void 0?Bt:_e,[_e,Bt]),en={horizontal:{motionName:`${Ae}-slide-up`},inline:(0,ie.Z)(Ae),other:{motionName:`${Ae}-zoom-big`}},bn=Fe("menu",pt||Lt.prefixCls),[Mn,Qn]=mn(bn,!Ye),Ze=Le()(`${bn}-${Ht}`,Xe==null?void 0:Xe.className,hn);let Nt;if(typeof on=="function")Nt=on;else if(on===null||on===!1)Nt=null;else if(Lt.expandIcon===null||Lt.expandIcon===!1)Nt=null;else{const Kt=on!=null?on:Lt.expandIcon;Nt=(0,$e.Tm)(Kt,{className:Le()(`${bn}-submenu-expand-icon`,(0,$e.l$)(Kt)?(fe=Kt.props)===null||fe===void 0?void 0:fe.className:"")})}const kt=ue.useMemo(()=>({prefixCls:bn,inlineCollapsed:wa||!1,direction:nt,firstLevel:!0,theme:Ht,mode:Ea,disableMenuItemTitleTooltip:gn}),[bn,wa,nt,gn,Ht]);return Mn(ue.createElement(ce.Z.Provider,{value:null},ue.createElement(y.Provider,{value:kt},ue.createElement(x.ZP,Object.assign({getPopupContainer:xe,overflowedIndicator:ue.createElement(ne.Z,null),overflowedIndicatorPopupClassName:Le()(bn,`${bn}-${Ht}`,Rn),mode:Ea,selectable:Zn,onClick:Pa},aa,{inlineCollapsed:wa,style:Object.assign(Object.assign({},Xe==null?void 0:Xe.style),$t),className:Ze,prefixCls:bn,direction:nt,defaultMotions:en,expandIcon:Nt,ref:ze,rootClassName:Le()(Dt,Qn)}),_n))))});const Mt=(0,ue.forwardRef)((rt,ze)=>{const ve=(0,ue.useRef)(null),fe=ue.useContext(Be.D);return(0,ue.useImperativeHandle)(ze,()=>({menu:ve.current,focus:Ye=>{var Lt;(Lt=ve.current)===null||Lt===void 0||Lt.focus(Ye)}})),ue.createElement(Ut,Object.assign({ref:ve},rt,fe))});Mt.Item=b,Mt.SubMenu=z,Mt.Divider=ot,Mt.ItemGroup=x.BW;var ft=Mt},58421:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return Lt}});var x=te(14809),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(xe,nt){return ue.createElement(Le.Z,(0,x.Z)({},xe,{ref:nt,icon:Me}))},se=ue.forwardRef(Oe),ct=se,ot=te(49198),Ve=te(33853),Ue=te(38819),tt=te(92310),$e=te.n(tt),le=te(4635),y=te(20439),a=te(99153),b=te(84851),E=te(19257),z=te(93046),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,ce=te(91735),pe=function(Fe){(0,E.Z)(nt,Fe);var xe=(0,z.Z)(nt);function nt(){var Xe;(0,a.Z)(this,nt);for(var Ae=arguments.length,pt=new Array(Ae),hn=0;hn<Ae;hn++)pt[hn]=arguments[hn];return Xe=xe.call.apply(xe,[this].concat(pt)),Xe.state={goInputText:""},Xe.getValidValue=function(){var $t=Xe.state.goInputText;return!$t||Number.isNaN($t)?void 0:Number($t)},Xe.buildOptionText=function($t){return"".concat($t," ").concat(Xe.props.locale.items_per_page)},Xe.changeSize=function($t){Xe.props.changeSize(Number($t))},Xe.handleChange=function($t){Xe.setState({goInputText:$t.target.value})},Xe.handleBlur=function($t){var Ht=Xe.props,on=Ht.goButton,gn=Ht.quickGo,_e=Ht.rootPrefixCls,Bt=Xe.state.goInputText;on||Bt===""||(Xe.setState({goInputText:""}),!($t.relatedTarget&&($t.relatedTarget.className.indexOf("".concat(_e,"-item-link"))>=0||$t.relatedTarget.className.indexOf("".concat(_e,"-item"))>=0))&&gn(Xe.getValidValue()))},Xe.go=function($t){var Ht=Xe.state.goInputText;Ht!==""&&($t.keyCode===ie.ENTER||$t.type==="click")&&(Xe.setState({goInputText:""}),Xe.props.quickGo(Xe.getValidValue()))},Xe}return(0,b.Z)(nt,[{key:"getPageSizeOptions",value:function(){var Ae=this.props,pt=Ae.pageSize,hn=Ae.pageSizeOptions;return hn.some(function($t){return $t.toString()===pt.toString()})?hn:hn.concat([pt.toString()]).sort(function($t,Ht){var on=Number.isNaN(Number($t))?0:Number($t),gn=Number.isNaN(Number(Ht))?0:Number(Ht);return on-gn})}},{key:"render",value:function(){var Ae=this,pt=this.props,hn=pt.pageSize,$t=pt.locale,Ht=pt.rootPrefixCls,on=pt.changeSize,gn=pt.quickGo,_e=pt.goButton,Bt=pt.selectComponentClass,Ot=pt.buildOptionText,ht=pt.selectPrefixCls,Dt=pt.disabled,vn=this.state.goInputText,yn="".concat(Ht,"-options"),Pn=Bt,Rn=null,ta=null,aa=null;if(!on&&!gn)return null;var _n=this.getPageSizeOptions();if(on&&Pn){var Pa=_n.map(function(Ea,Zn){return ue.createElement(Pn.Option,{key:Zn,value:Ea.toString()},(Ot||Ae.buildOptionText)(Ea))});Rn=ue.createElement(Pn,{disabled:Dt,prefixCls:ht,showSearch:!1,className:"".concat(yn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(hn||_n[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Zn){return Zn.parentNode},"aria-label":$t.page_size,defaultOpen:!1},Pa)}return gn&&(_e&&(aa=typeof _e=="boolean"?ue.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Dt,className:"".concat(yn,"-quick-jumper-button")},$t.jump_to_confirm):ue.createElement("span",{onClick:this.go,onKeyUp:this.go},_e)),ta=ue.createElement("div",{className:"".concat(yn,"-quick-jumper")},$t.jump_to,ue.createElement("input",{disabled:Dt,type:"text",value:vn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":$t.page}),$t.page,aa)),ue.createElement("li",{className:"".concat(yn)},Rn,ta)}}]),nt}(ue.Component);pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ee=pe,Ge=function(xe){var nt,Xe=xe.rootPrefixCls,Ae=xe.page,pt=xe.active,hn=xe.className,$t=xe.showTitle,Ht=xe.onClick,on=xe.onKeyPress,gn=xe.itemRender,_e="".concat(Xe,"-item"),Bt=$e()(_e,"".concat(_e,"-").concat(Ae),(nt={},(0,le.Z)(nt,"".concat(_e,"-active"),pt),(0,le.Z)(nt,"".concat(_e,"-disabled"),!Ae),(0,le.Z)(nt,xe.className,hn),nt)),Ot=function(){Ht(Ae)},ht=function(yn){on(yn,Ht,Ae)},Dt=gn(Ae,"page",ue.createElement("a",{rel:"nofollow"},Ae));return Dt?ue.createElement("li",{title:$t?Ae.toString():null,className:Bt,onClick:Ot,onKeyPress:ht,tabIndex:0},Dt):null},De=Ge;function Qe(){}function he(Fe){var xe=Number(Fe);return typeof xe=="number"&&!Number.isNaN(xe)&&isFinite(xe)&&Math.floor(xe)===xe}var Te=function(xe,nt,Xe){return Xe};function et(Fe,xe,nt){var Xe=typeof Fe=="undefined"?xe.pageSize:Fe;return Math.floor((nt.total-1)/Xe)+1}var Et=function(Fe){(0,E.Z)(nt,Fe);var xe=(0,z.Z)(nt);function nt(Xe){var Ae;(0,a.Z)(this,nt),Ae=xe.call(this,Xe),Ae.paginationNode=ue.createRef(),Ae.getJumpPrevPage=function(){return Math.max(1,Ae.state.current-(Ae.props.showLessItems?3:5))},Ae.getJumpNextPage=function(){return Math.min(et(void 0,Ae.state,Ae.props),Ae.state.current+(Ae.props.showLessItems?3:5))},Ae.getItemIcon=function(on,gn){var _e=Ae.props.prefixCls,Bt=on||ue.createElement("button",{type:"button","aria-label":gn,className:"".concat(_e,"-item-link")});return typeof on=="function"&&(Bt=ue.createElement(on,(0,y.Z)({},Ae.props))),Bt},Ae.isValid=function(on){var gn=Ae.props.total;return he(on)&&on!==Ae.state.current&&he(gn)&&gn>0},Ae.shouldDisplayQuickJumper=function(){var on=Ae.props,gn=on.showQuickJumper,_e=on.total,Bt=Ae.state.pageSize;return _e<=Bt?!1:gn},Ae.handleKeyDown=function(on){(on.keyCode===ie.ARROW_UP||on.keyCode===ie.ARROW_DOWN)&&on.preventDefault()},Ae.handleKeyUp=function(on){var gn=Ae.getValidValue(on),_e=Ae.state.currentInputValue;gn!==_e&&Ae.setState({currentInputValue:gn}),on.keyCode===ie.ENTER?Ae.handleChange(gn):on.keyCode===ie.ARROW_UP?Ae.handleChange(gn-1):on.keyCode===ie.ARROW_DOWN&&Ae.handleChange(gn+1)},Ae.handleBlur=function(on){var gn=Ae.getValidValue(on);Ae.handleChange(gn)},Ae.changePageSize=function(on){var gn=Ae.state.current,_e=et(on,Ae.state,Ae.props);gn=gn>_e?_e:gn,_e===0&&(gn=Ae.state.current),typeof on=="number"&&("pageSize"in Ae.props||Ae.setState({pageSize:on}),"current"in Ae.props||Ae.setState({current:gn,currentInputValue:gn})),Ae.props.onShowSizeChange(gn,on),"onChange"in Ae.props&&Ae.props.onChange&&Ae.props.onChange(gn,on)},Ae.handleChange=function(on){var gn=Ae.props,_e=gn.disabled,Bt=gn.onChange,Ot=Ae.state,ht=Ot.pageSize,Dt=Ot.current,vn=Ot.currentInputValue;if(Ae.isValid(on)&&!_e){var yn=et(void 0,Ae.state,Ae.props),Pn=on;return on>yn?Pn=yn:on<1&&(Pn=1),"current"in Ae.props||Ae.setState({current:Pn}),Pn!==vn&&Ae.setState({currentInputValue:Pn}),Bt(Pn,ht),Pn}return Dt},Ae.prev=function(){Ae.hasPrev()&&Ae.handleChange(Ae.state.current-1)},Ae.next=function(){Ae.hasNext()&&Ae.handleChange(Ae.state.current+1)},Ae.jumpPrev=function(){Ae.handleChange(Ae.getJumpPrevPage())},Ae.jumpNext=function(){Ae.handleChange(Ae.getJumpNextPage())},Ae.hasPrev=function(){return Ae.state.current>1},Ae.hasNext=function(){return Ae.state.current<et(void 0,Ae.state,Ae.props)},Ae.runIfEnter=function(on,gn){if(on.key==="Enter"||on.charCode===13){for(var _e=arguments.length,Bt=new Array(_e>2?_e-2:0),Ot=2;Ot<_e;Ot++)Bt[Ot-2]=arguments[Ot];gn.apply(void 0,Bt)}},Ae.runIfEnterPrev=function(on){Ae.runIfEnter(on,Ae.prev)},Ae.runIfEnterNext=function(on){Ae.runIfEnter(on,Ae.next)},Ae.runIfEnterJumpPrev=function(on){Ae.runIfEnter(on,Ae.jumpPrev)},Ae.runIfEnterJumpNext=function(on){Ae.runIfEnter(on,Ae.jumpNext)},Ae.handleGoTO=function(on){(on.keyCode===ie.ENTER||on.type==="click")&&Ae.handleChange(Ae.state.currentInputValue)},Ae.renderPrev=function(on){var gn=Ae.props,_e=gn.prevIcon,Bt=gn.itemRender,Ot=Bt(on,"prev",Ae.getItemIcon(_e,"prev page")),ht=!Ae.hasPrev();return(0,ue.isValidElement)(Ot)?(0,ue.cloneElement)(Ot,{disabled:ht}):Ot},Ae.renderNext=function(on){var gn=Ae.props,_e=gn.nextIcon,Bt=gn.itemRender,Ot=Bt(on,"next",Ae.getItemIcon(_e,"next page")),ht=!Ae.hasNext();return(0,ue.isValidElement)(Ot)?(0,ue.cloneElement)(Ot,{disabled:ht}):Ot};var pt=Xe.onChange!==Qe,hn="current"in Xe;hn&&!pt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var $t=Xe.defaultCurrent;"current"in Xe&&($t=Xe.current);var Ht=Xe.defaultPageSize;return"pageSize"in Xe&&(Ht=Xe.pageSize),$t=Math.min($t,et(Ht,void 0,Xe)),Ae.state={current:$t,currentInputValue:$t,pageSize:Ht},Ae}return(0,b.Z)(nt,[{key:"componentDidUpdate",value:function(Ae,pt){var hn=this.props.prefixCls;if(pt.current!==this.state.current&&this.paginationNode.current){var $t=this.paginationNode.current.querySelector(".".concat(hn,"-item-").concat(pt.current));if($t&&document.activeElement===$t){var Ht;$t==null||(Ht=$t.blur)===null||Ht===void 0||Ht.call($t)}}}},{key:"getValidValue",value:function(Ae){var pt=Ae.target.value,hn=et(void 0,this.state,this.props),$t=this.state.currentInputValue,Ht;return pt===""?Ht=pt:Number.isNaN(Number(pt))?Ht=$t:pt>=hn?Ht=hn:Ht=Number(pt),Ht}},{key:"getShowSizeChanger",value:function(){var Ae=this.props,pt=Ae.showSizeChanger,hn=Ae.total,$t=Ae.totalBoundaryShowSizeChanger;return typeof pt!="undefined"?pt:hn>$t}},{key:"render",value:function(){var Ae=this.props,pt=Ae.prefixCls,hn=Ae.className,$t=Ae.style,Ht=Ae.disabled,on=Ae.hideOnSinglePage,gn=Ae.total,_e=Ae.locale,Bt=Ae.showQuickJumper,Ot=Ae.showLessItems,ht=Ae.showTitle,Dt=Ae.showTotal,vn=Ae.simple,yn=Ae.itemRender,Pn=Ae.showPrevNextJumpers,Rn=Ae.jumpPrevIcon,ta=Ae.jumpNextIcon,aa=Ae.selectComponentClass,_n=Ae.selectPrefixCls,Pa=Ae.pageSizeOptions,Ea=this.state,Zn=Ea.current,wa=Ea.pageSize,en=Ea.currentInputValue;if(on===!0&&gn<=wa)return null;var bn=et(void 0,this.state,this.props),Mn=[],Qn=null,Ze=null,Nt=null,kt=null,Kt=null,tn=Bt&&Bt.goButton,jt=Ot?1:2,fn=Zn-1>0?Zn-1:0,st=Zn+1<bn?Zn+1:bn,St=(0,ne.Z)(this.props,{aria:!0,data:!0}),dt=Dt&&ue.createElement("li",{className:"".concat(pt,"-total-text")},Dt(gn,[gn===0?0:(Zn-1)*wa+1,Zn*wa>gn?gn:Zn*wa]));if(vn){tn&&(typeof tn=="boolean"?Kt=ue.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},_e.jump_to_confirm):Kt=ue.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},tn),Kt=ue.createElement("li",{title:ht?"".concat(_e.jump_to).concat(Zn,"/").concat(bn):null,className:"".concat(pt,"-simple-pager")},Kt));var ln=this.renderPrev(fn);return ue.createElement("ul",(0,x.Z)({className:$e()(pt,"".concat(pt,"-simple"),(0,le.Z)({},"".concat(pt,"-disabled"),Ht),hn),style:$t,ref:this.paginationNode},St),dt,ln?ue.createElement("li",{title:ht?_e.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:$e()("".concat(pt,"-prev"),(0,le.Z)({},"".concat(pt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},ln):null,ue.createElement("li",{title:ht?"".concat(Zn,"/").concat(bn):null,className:"".concat(pt,"-simple-pager")},ue.createElement("input",{type:"text",value:en,disabled:Ht,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ue.createElement("span",{className:"".concat(pt,"-slash")},"/"),bn),ue.createElement("li",{title:ht?_e.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:$e()("".concat(pt,"-next"),(0,le.Z)({},"".concat(pt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(st)),Kt)}if(bn<=3+jt*2){var Nn={locale:_e,rootPrefixCls:pt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:ht,itemRender:yn};bn||Mn.push(ue.createElement(De,(0,x.Z)({},Nn,{key:"noPager",page:1,className:"".concat(pt,"-item-disabled")})));for(var Cn=1;Cn<=bn;Cn+=1){var la=Zn===Cn;Mn.push(ue.createElement(De,(0,x.Z)({},Nn,{key:Cn,page:Cn,active:la})))}}else{var jn=Ot?_e.prev_3:_e.prev_5,lt=Ot?_e.next_3:_e.next_5,Jt=yn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Rn,"prev page")),Jn=yn(this.getJumpNextPage(),"jump-next",this.getItemIcon(ta,"next page"));Pn&&(Qn=Jt?ue.createElement("li",{title:ht?jn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:$e()("".concat(pt,"-jump-prev"),(0,le.Z)({},"".concat(pt,"-jump-prev-custom-icon"),!!Rn))},Jt):null,Ze=Jn?ue.createElement("li",{title:ht?lt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:$e()("".concat(pt,"-jump-next"),(0,le.Z)({},"".concat(pt,"-jump-next-custom-icon"),!!ta))},Jn):null),kt=ue.createElement(De,{locale:_e,last:!0,rootPrefixCls:pt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:bn,page:bn,active:!1,showTitle:ht,itemRender:yn}),Nt=ue.createElement(De,{locale:_e,rootPrefixCls:pt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:ht,itemRender:yn});var sn=Math.max(1,Zn-jt),zn=Math.min(Zn+jt,bn);Zn-1<=jt&&(zn=1+jt*2),bn-Zn<=jt&&(sn=bn-jt*2);for(var na=sn;na<=zn;na+=1){var La=Zn===na;Mn.push(ue.createElement(De,{locale:_e,rootPrefixCls:pt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:na,page:na,active:La,showTitle:ht,itemRender:yn}))}Zn-1>=jt*2&&Zn!==3&&(Mn[0]=(0,ue.cloneElement)(Mn[0],{className:"".concat(pt,"-item-after-jump-prev")}),Mn.unshift(Qn)),bn-Zn>=jt*2&&Zn!==bn-2&&(Mn[Mn.length-1]=(0,ue.cloneElement)(Mn[Mn.length-1],{className:"".concat(pt,"-item-before-jump-next")}),Mn.push(Ze)),sn!==1&&Mn.unshift(Nt),zn!==bn&&Mn.push(kt)}var sa=!this.hasPrev()||!bn,He=!this.hasNext()||!bn,rn=this.renderPrev(fn),Qt=this.renderNext(st);return ue.createElement("ul",(0,x.Z)({className:$e()(pt,hn,(0,le.Z)({},"".concat(pt,"-disabled"),Ht)),style:$t,ref:this.paginationNode},St),dt,rn?ue.createElement("li",{title:ht?_e.prev_page:null,onClick:this.prev,tabIndex:sa?null:0,onKeyPress:this.runIfEnterPrev,className:$e()("".concat(pt,"-prev"),(0,le.Z)({},"".concat(pt,"-disabled"),sa)),"aria-disabled":sa},rn):null,Mn,Qt?ue.createElement("li",{title:ht?_e.next_page:null,onClick:this.next,tabIndex:He?null:0,onKeyPress:this.runIfEnterNext,className:$e()("".concat(pt,"-next"),(0,le.Z)({},"".concat(pt,"-disabled"),He)),"aria-disabled":He},Qt):null,ue.createElement(Ee,{disabled:Ht,locale:_e,rootPrefixCls:pt,selectComponentClass:aa,selectPrefixCls:_n,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Zn,pageSize:wa,pageSizeOptions:Pa,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:tn}))}}],[{key:"getDerivedStateFromProps",value:function(Ae,pt){var hn={};if("current"in Ae&&(hn.current=Ae.current,Ae.current!==pt.current&&(hn.currentInputValue=hn.current)),"pageSize"in Ae&&Ae.pageSize!==pt.pageSize){var $t=pt.current,Ht=et(Ae.pageSize,pt,Ae);$t=$t>Ht?Ht:$t,"current"in Ae||(hn.current=$t,hn.currentInputValue=$t),hn.pageSize=Ae.pageSize}return hn}}]),nt}(ue.Component);Et.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:ce.Z,style:{},itemRender:Te,totalBoundaryShowSizeChanger:50};var Ne=Et,ut=te(22075),xt=te(36355),yt=te(19716),gt=te(8628),Yt=te(9763),wt=te(57809);const nn=Fe=>ue.createElement(wt.default,Object.assign({},Fe,{showSearch:!0,size:"small"})),dn=Fe=>ue.createElement(wt.default,Object.assign({},Fe,{showSearch:!0,size:"middle"}));nn.Option=wt.default.Option,dn.Option=wt.default.Option;var at=te(9937),qe=te(17313),qt=te(83116),Sn=te(37613);const Zt=Fe=>{const{componentCls:xe}=Fe;return{[`${xe}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${xe}-item-link`]:{color:Fe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${xe}-item-link`]:{color:Fe.colorTextDisabled,cursor:"not-allowed"}}},[`&${xe}-disabled`]:{cursor:"not-allowed",[`${xe}-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}}},[`${xe}-item-link`]:{color:Fe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${xe}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${xe}-simple-pager`]:{color:Fe.colorTextDisabled},[`${xe}-jump-prev, ${xe}-jump-next`]:{[`${xe}-item-link-icon`]:{opacity:0},[`${xe}-item-ellipsis`]:{opacity:1}}},[`&${xe}-simple`]:{[`${xe}-prev, ${xe}-next`]:{[`&${xe}-disabled ${xe}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},mn=Fe=>{const{componentCls:xe}=Fe;return{[`&${xe}-mini ${xe}-total-text, &${xe}-mini ${xe}-simple-pager`]:{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`},[`&${xe}-mini ${xe}-item`]:{minWidth:Fe.itemSizeSM,height:Fe.itemSizeSM,margin:0,lineHeight:`${Fe.itemSizeSM-2}px`},[`&${xe}-mini:not(${xe}-disabled) ${xe}-item:not(${xe}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Fe.colorBgTextHover},"&:active":{backgroundColor:Fe.colorBgTextActive}},[`&${xe}-mini ${xe}-prev, &${xe}-mini ${xe}-next`]:{minWidth:Fe.itemSizeSM,height:Fe.itemSizeSM,margin:0,lineHeight:`${Fe.itemSizeSM}px`},[`&${xe}-mini:not(${xe}-disabled)`]:{[`${xe}-prev, ${xe}-next`]:{[`&:hover ${xe}-item-link`]:{backgroundColor:Fe.colorBgTextHover},[`&:active ${xe}-item-link`]:{backgroundColor:Fe.colorBgTextActive},[`&${xe}-disabled:hover ${xe}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${xe}-mini ${xe}-prev ${xe}-item-link,
|
|
&${xe}-mini ${xe}-next ${xe}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`}},[`&${xe}-mini ${xe}-jump-prev, &${xe}-mini ${xe}-jump-next`]:{height:Fe.itemSizeSM,marginInlineEnd:0,lineHeight:`${Fe.itemSizeSM}px`},[`&${xe}-mini ${xe}-options`]:{marginInlineStart:Fe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Fe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,at.x0)(Fe)),{width:Fe.paginationMiniQuickJumperInputWidth,height:Fe.controlHeightSM})}}}},Ke=Fe=>{const{componentCls:xe}=Fe;return{[`
|
|
&${xe}-simple ${xe}-prev,
|
|
&${xe}-simple ${xe}-next
|
|
`]:{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`,verticalAlign:"top",[`${xe}-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`}}},[`&${xe}-simple ${xe}-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"}}}}},It=Fe=>{const{componentCls:xe}=Fe;return{[`${xe}-jump-prev, ${xe}-jump-next`]:{outline:0,[`${xe}-item-container`]:{position:"relative",[`${xe}-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"}},[`${xe}-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":{[`${xe}-item-link-icon`]:{opacity:1},[`${xe}-item-ellipsis`]:{opacity:0}}},[`
|
|
${xe}-prev,
|
|
${xe}-jump-prev,
|
|
${xe}-jump-next
|
|
`]:{marginInlineEnd:Fe.marginXS},[`
|
|
${xe}-prev,
|
|
${xe}-next,
|
|
${xe}-jump-prev,
|
|
${xe}-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}`},[`${xe}-prev, ${xe}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Fe.colorText,cursor:"pointer",userSelect:"none"},[`${xe}-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 ${xe}-item-link`]:{backgroundColor:Fe.colorBgTextHover},[`&:active ${xe}-item-link`]:{backgroundColor:Fe.colorBgTextActive},[`&${xe}-disabled:hover`]:{[`${xe}-item-link`]:{backgroundColor:"transparent"}}},[`${xe}-slash`]:{marginInlineEnd:Fe.paginationSlashMarginInlineEnd,marginInlineStart:Fe.paginationSlashMarginInlineStart},[`${xe}-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,at.ik)(Fe)),{width:Fe.controlHeightLG*1.25,height:Fe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Fe.marginXS,marginInlineEnd:Fe.marginXS})}}}},Ut=Fe=>{const{componentCls:xe}=Fe;return{[`${xe}-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(${xe}-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:xe}=Fe;return{[xe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,qe.Wf)(Fe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${xe}-total-text`]:{display:"inline-block",height:Fe.itemSize,marginInlineEnd:Fe.marginXS,lineHeight:`${Fe.itemSize-2}px`,verticalAlign:"middle"}}),Ut(Fe)),It(Fe)),Ke(Fe)),mn(Fe)),Zt(Fe)),{[`@media only screen and (max-width: ${Fe.screenLG}px)`]:{[`${xe}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Fe.screenSM}px)`]:{[`${xe}-options`]:{display:"none"}}}),[`&${Fe.componentCls}-rtl`]:{direction:"rtl"}}},ft=Fe=>{const{componentCls:xe}=Fe;return{[`${xe}${xe}-disabled:not(${xe}-mini)`]:{"&, &:hover":{[`${xe}-item-link`]:{borderColor:Fe.colorBorder}},"&:focus-visible":{[`${xe}-item-link`]:{borderColor:Fe.colorBorder}},[`${xe}-item, ${xe}-item-link`]:{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,[`&:hover:not(${xe}-item-active)`]:{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,a:{color:Fe.colorTextDisabled}},[`&${xe}-item-active`]:{backgroundColor:Fe.itemActiveBgDisabled}},[`${xe}-prev, ${xe}-next`]:{"&:hover button":{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,color:Fe.colorTextDisabled},[`${xe}-item-link`]:{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder}}},[`${xe}:not(${xe}-mini)`]:{[`${xe}-prev, ${xe}-next`]:{"&:hover button":{borderColor:Fe.colorPrimaryHover,backgroundColor:Fe.itemBg},[`${xe}-item-link`]:{backgroundColor:Fe.itemLinkBg,borderColor:Fe.colorBorder},[`&:hover ${xe}-item-link`]:{borderColor:Fe.colorPrimary,backgroundColor:Fe.itemBg,color:Fe.colorPrimary},[`&${xe}-disabled`]:{[`${xe}-item-link`]:{borderColor:Fe.colorBorder,color:Fe.colorTextDisabled}}},[`${xe}-item`]:{backgroundColor:Fe.itemBg,border:`${Fe.lineWidth}px ${Fe.lineType} ${Fe.colorBorder}`,[`&:hover:not(${xe}-item-active)`]:{borderColor:Fe.colorPrimary,backgroundColor:Fe.itemBg,a:{color:Fe.colorPrimary}},"&-active":{borderColor:Fe.colorPrimary}}}}},rt=Fe=>{const{componentCls:xe}=Fe;return{[`${xe}:not(${xe}-disabled)`]:{[`${xe}-item`]:Object.assign({},(0,qe.Qy)(Fe)),[`${xe}-jump-prev, ${xe}-jump-next`]:{"&:focus-visible":Object.assign({[`${xe}-item-link-icon`]:{opacity:1},[`${xe}-item-ellipsis`]:{opacity:0}},(0,qe.oN)(Fe))},[`${xe}-prev, ${xe}-next`]:{[`&:focus-visible ${xe}-item-link`]:Object.assign({},(0,qe.oN)(Fe))}}}};var ze=(0,qt.Z)("Pagination",Fe=>{const xe=(0,Sn.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,at.e5)(Fe),(0,at.TM)(Fe));return[Mt(xe),rt(xe),Fe.wireframe&&ft(xe)]},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})),ve=function(Fe,xe){var nt={};for(var Xe in Fe)Object.prototype.hasOwnProperty.call(Fe,Xe)&&xe.indexOf(Xe)<0&&(nt[Xe]=Fe[Xe]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,Xe=Object.getOwnPropertySymbols(Fe);Ae<Xe.length;Ae++)xe.indexOf(Xe[Ae])<0&&Object.prototype.propertyIsEnumerable.call(Fe,Xe[Ae])&&(nt[Xe[Ae]]=Fe[Xe[Ae]]);return nt},Ye=Fe=>{const{prefixCls:xe,selectPrefixCls:nt,className:Xe,rootClassName:Ae,style:pt,size:hn,locale:$t,selectComponentClass:Ht,responsive:on,showSizeChanger:gn}=Fe,_e=ve(Fe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Bt}=(0,gt.Z)(on),{getPrefixCls:Ot,direction:ht,pagination:Dt={}}=ue.useContext(xt.E_),vn=Ot("pagination",xe),[yn,Pn]=ze(vn),Rn=gn!=null?gn:Dt.showSizeChanger,ta=ue.useMemo(()=>{const bn=ue.createElement("span",{className:`${vn}-item-ellipsis`},"\u2022\u2022\u2022"),Mn=ue.createElement("button",{className:`${vn}-item-link`,type:"button",tabIndex:-1},ht==="rtl"?ue.createElement(Ue.Z,null):ue.createElement(Ve.Z,null)),Qn=ue.createElement("button",{className:`${vn}-item-link`,type:"button",tabIndex:-1},ht==="rtl"?ue.createElement(Ve.Z,null):ue.createElement(Ue.Z,null)),Ze=ue.createElement("a",{className:`${vn}-item-link`},ue.createElement("div",{className:`${vn}-item-container`},ht==="rtl"?ue.createElement(ot.Z,{className:`${vn}-item-link-icon`}):ue.createElement(ct,{className:`${vn}-item-link-icon`}),bn)),Nt=ue.createElement("a",{className:`${vn}-item-link`},ue.createElement("div",{className:`${vn}-item-container`},ht==="rtl"?ue.createElement(ct,{className:`${vn}-item-link-icon`}):ue.createElement(ot.Z,{className:`${vn}-item-link-icon`}),bn));return{prevIcon:Mn,nextIcon:Qn,jumpPrevIcon:Ze,jumpNextIcon:Nt}},[ht,vn]),[aa]=(0,Yt.Z)("Pagination",ut.Z),_n=Object.assign(Object.assign({},aa),$t),Pa=(0,yt.Z)(hn),Ea=Pa==="small"||!!(Bt&&!Pa&&on),Zn=Ot("select",nt),wa=$e()({[`${vn}-mini`]:Ea,[`${vn}-rtl`]:ht==="rtl"},Dt==null?void 0:Dt.className,Xe,Ae,Pn),en=Object.assign(Object.assign({},Dt==null?void 0:Dt.style),pt);return yn(ue.createElement(Ne,Object.assign({},ta,_e,{style:en,prefixCls:vn,selectPrefixCls:Zn,className:wa,selectComponentClass:Ht||(Ea?nn:dn),locale:_n,showSizeChanger:Rn})))},Lt=Ye},39722:function(Wt,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),ct=function(tt,$e){var le={};for(var y in tt)Object.prototype.hasOwnProperty.call(tt,y)&&$e.indexOf(y)<0&&(le[y]=tt[y]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,y=Object.getOwnPropertySymbols(tt);a<y.length;a++)$e.indexOf(y[a])<0&&Object.prototype.propertyIsEnumerable.call(tt,y[a])&&(le[y[a]]=tt[y[a]]);return le};const ot=(tt,$e,le)=>{if(!(!$e&&!le))return Me.createElement(Me.Fragment,null,$e&&Me.createElement("div",{className:`${tt}-title`},(0,Oe.Z)($e)),Me.createElement("div",{className:`${tt}-inner-content`},(0,Oe.Z)(le)))},Ve=tt=>{const{hashId:$e,prefixCls:le,className:y,style:a,placement:b="top",title:E,content:z,children:ne}=tt;return Me.createElement("div",{className:ue()($e,le,`${le}-pure`,`${le}-placement-${b}`,y),style:a},Me.createElement("div",{className:`${le}-arrow`}),Me.createElement(Be.G,Object.assign({},tt,{className:$e,prefixCls:le}),ne||ot(le,E,z)))},Ue=tt=>{const{prefixCls:$e}=tt,le=ct(tt,["prefixCls"]),{getPrefixCls:y}=Me.useContext(Le.E_),a=y("popover",$e),[b,E]=(0,se.Z)(a);return b(Me.createElement(Ve,Object.assign({},le,{prefixCls:a,hashId:E})))};Gt.ZP=Ue},60324:function(Wt,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),ct=te(39722),ot=te(17356),Ve=function($e,le){var y={};for(var a in $e)Object.prototype.hasOwnProperty.call($e,a)&&le.indexOf(a)<0&&(y[a]=$e[a]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,a=Object.getOwnPropertySymbols($e);b<a.length;b++)le.indexOf(a[b])<0&&Object.prototype.propertyIsEnumerable.call($e,a[b])&&(y[a[b]]=$e[a[b]]);return y};const Ue=$e=>{let{title:le,content:y,prefixCls:a}=$e;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)))},tt=Be.forwardRef(($e,le)=>{const{prefixCls:y,title:a,content:b,overlayClassName:E,placement:z="top",trigger:ne="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:ie=.1,overlayStyle:ce={}}=$e,pe=Ve($e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:Ee}=Be.useContext(Oe.E_),Ge=Ee("popover",y),[De,Qe]=(0,ot.Z)(Ge),he=Ee(),Te=ue()(E,Qe);return De(Be.createElement(se.Z,Object.assign({placement:z,trigger:ne,mouseEnterDelay:re,mouseLeaveDelay:ie,overlayStyle:ce},pe,{prefixCls:Ge,overlayClassName:Te,ref:le,overlay:a||b?Be.createElement(Ue,{prefixCls:Ge,title:a,content:b}):null,transitionName:(0,Le.m)(he,"zoom-big",pe.transitionName),"data-popover-inject":!0})))});tt._InternalPanelDoNotUseOrYouWillBeFired=ct.ZP,Gt.Z=tt},17356:function(Wt,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:Ue,popoverColor:tt,minWidth:$e,fontWeightStrong:le,popoverPadding:y,boxShadowSecondary:a,colorTextHeading:b,borderRadiusLG:E,zIndexPopup:z,marginXS:ne,colorBgElevated:re,popoverBg:ie}=Ve;return[{[Ue]: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"},[`${Ue}-content`]:{position:"relative"},[`${Ue}-inner`]:{backgroundColor:ie,backgroundClip:"padding-box",borderRadius:E,boxShadow:a,padding:y},[`${Ue}-title`]:{minWidth:$e,marginBottom:ne,color:b,fontWeight:le},[`${Ue}-inner-content`]:{color:tt}})},(0,Be.ZP)(Ve,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Ue}-pure`]:{position:"relative",maxWidth:"none",margin:Ve.sizePopupArrow,display:"inline-block",[`${Ue}-content`]:{display:"inline-block"}}}]},ct=Ve=>{const{componentCls:Ue}=Ve;return{[Ue]:Me.i.map(tt=>{const $e=Ve[`${tt}6`];return{[`&${Ue}-${tt}`]:{"--antd-arrow-background-color":$e,[`${Ue}-inner`]:{backgroundColor:$e},[`${Ue}-arrow`]:{background:"transparent"}}}})}},ot=Ve=>{const{componentCls:Ue,lineWidth:tt,lineType:$e,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-tt,ce=z;return{[Ue]:{[`${Ue}-inner`]:{padding:0},[`${Ue}-title`]:{margin:0,padding:`${re}px ${ce}px ${ie}px`,borderBottom:`${tt}px ${$e} ${le}`},[`${Ue}-inner-content`]:{padding:`${y}px ${ce}px`}}}};Gt.Z=(0,Le.Z)("Popover",Ve=>{const{colorBgElevated:Ue,colorText:tt,wireframe:$e}=Ve,le=(0,Oe.TS)(Ve,{popoverPadding:12,popoverBg:Ue,popoverColor:tt});return[se(le),ct(le),$e&&ot(le),(0,ue._y)(le,"zoom-big")]},Ve=>({width:177,minWidth:177,zIndexPopup:Ve.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return gn}});var x=te(59301),ue=te(29679),Be=te(40001),Me=te(19248),Le=te(99267),Oe=te(92310),se=te.n(Oe),ct=te(2738),ot=te(36355),Ve=te(14809),Ue=te(20439),tt=te(62646),$e={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},le=function(){var Bt=(0,x.useRef)([]),Ot=(0,x.useRef)(null);return(0,x.useEffect)(function(){var ht=Date.now(),Dt=!1;Bt.current.forEach(function(vn){if(vn){Dt=!0;var yn=vn.style;yn.transitionDuration=".3s, .3s, .3s, .06s",Ot.current&&ht-Ot.current<100&&(yn.transitionDuration="0s, 0s")}}),Dt&&(Ot.current=Date.now())}),Bt.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(Bt){var Ot=(0,Ue.Z)((0,Ue.Z)({},$e),Bt),ht=Ot.className,Dt=Ot.percent,vn=Ot.prefixCls,yn=Ot.strokeColor,Pn=Ot.strokeLinecap,Rn=Ot.strokeWidth,ta=Ot.style,aa=Ot.trailColor,_n=Ot.trailWidth,Pa=Ot.transition,Ea=(0,tt.Z)(Ot,y);delete Ea.gapPosition;var Zn=Array.isArray(Dt)?Dt:[Dt],wa=Array.isArray(yn)?yn:[yn],en=le(),bn=Rn/2,Mn=100-Rn/2,Qn="M ".concat(Pn==="round"?bn:0,",").concat(bn,`
|
|
L `).concat(Pn==="round"?Mn:100,",").concat(bn),Ze="0 0 100 ".concat(Rn),Nt=0;return x.createElement("svg",(0,Ve.Z)({className:se()("".concat(vn,"-line"),ht),viewBox:Ze,preserveAspectRatio:"none",style:ta},Ea),x.createElement("path",{className:"".concat(vn,"-line-trail"),d:Qn,strokeLinecap:Pn,stroke:aa,strokeWidth:_n||Rn,fillOpacity:"0"}),Zn.map(function(kt,Kt){var tn=1;switch(Pn){case"round":tn=1-Rn/100;break;case"square":tn=1-Rn/2/100;break;default:tn=1;break}var jt={strokeDasharray:"".concat(kt*tn,"px, 100px"),strokeDashoffset:"-".concat(Nt,"px"),transition:Pa||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},fn=wa[Kt]||wa[wa.length-1];return Nt+=kt,x.createElement("path",{key:Kt,className:"".concat(vn,"-line-path"),d:Qn,strokeLinecap:Pn,stroke:fn,strokeWidth:Rn,fillOpacity:"0",ref:function(St){en[Kt]=St},style:jt})}))},b=a,E=te(93664),z=te(50298),ne=te(47273),re=0,ie=(0,ne.Z)();function ce(){var _e;return ie?(_e=re,re+=1):_e="TEST_OR_SSR",_e}var pe=function(_e){var Bt=x.useState(),Ot=(0,z.Z)(Bt,2),ht=Ot[0],Dt=Ot[1];return x.useEffect(function(){Dt("rc_progress_".concat(ce()))},[]),_e||ht},Ee=function(Bt){var Ot=Bt.bg,ht=Bt.children;return x.createElement("div",{style:{width:"100%",height:"100%",background:Ot}},ht)};function Ge(_e,Bt){return Object.keys(_e).map(function(Ot){var ht=parseFloat(Ot),Dt="".concat(Math.floor(ht*Bt),"%");return"".concat(_e[Ot]," ").concat(Dt)})}var De=x.forwardRef(function(_e,Bt){var Ot=_e.prefixCls,ht=_e.color,Dt=_e.gradientId,vn=_e.radius,yn=_e.style,Pn=_e.ptg,Rn=_e.strokeLinecap,ta=_e.strokeWidth,aa=_e.size,_n=_e.gapDegree,Pa=ht&&(0,E.Z)(ht)==="object",Ea=Pa?"#FFF":void 0,Zn=aa/2,wa=x.createElement("circle",{className:"".concat(Ot,"-circle-path"),r:vn,cx:Zn,cy:Zn,stroke:Ea,strokeLinecap:Rn,strokeWidth:ta,opacity:Pn===0?0:1,style:yn,ref:Bt});if(!Pa)return wa;var en="".concat(Dt,"-conic"),bn=_n?"".concat(180+_n/2,"deg"):"0deg",Mn=Ge(ht,(360-_n)/360),Qn=Ge(ht,1),Ze="conic-gradient(from ".concat(bn,", ").concat(Mn.join(", "),")"),Nt="linear-gradient(to ".concat(_n?"bottom":"top",", ").concat(Qn.join(", "),")");return x.createElement(x.Fragment,null,x.createElement("mask",{id:en},wa),x.createElement("foreignObject",{x:0,y:0,width:aa,height:aa,mask:"url(#".concat(en,")")},x.createElement(Ee,{bg:Nt},x.createElement(Ee,{bg:Ze}))))}),Qe=De,he=100,Te=function(Bt,Ot,ht,Dt,vn,yn,Pn,Rn,ta,aa){var _n=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Pa=ht/100*360*((360-yn)/360),Ea=yn===0?0:{bottom:0,top:180,left:90,right:-90}[Pn],Zn=(100-Dt)/100*Ot;ta==="round"&&Dt!==100&&(Zn+=aa/2,Zn>=Ot&&(Zn=Ot-.01));var wa=he/2;return{stroke:typeof Rn=="string"?Rn:void 0,strokeDasharray:"".concat(Ot,"px ").concat(Bt),strokeDashoffset:Zn+_n,transform:"rotate(".concat(vn+Pa+Ea,"deg)"),transformOrigin:"".concat(wa,"px ").concat(wa,"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}},et=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Et(_e){var Bt=_e!=null?_e:[];return Array.isArray(Bt)?Bt:[Bt]}var Ne=function(Bt){var Ot=(0,Ue.Z)((0,Ue.Z)({},$e),Bt),ht=Ot.id,Dt=Ot.prefixCls,vn=Ot.steps,yn=Ot.strokeWidth,Pn=Ot.trailWidth,Rn=Ot.gapDegree,ta=Rn===void 0?0:Rn,aa=Ot.gapPosition,_n=Ot.trailColor,Pa=Ot.strokeLinecap,Ea=Ot.style,Zn=Ot.className,wa=Ot.strokeColor,en=Ot.percent,bn=(0,tt.Z)(Ot,et),Mn=he/2,Qn=pe(ht),Ze="".concat(Qn,"-gradient"),Nt=Mn-yn/2,kt=Math.PI*2*Nt,Kt=ta>0?90+ta/2:-90,tn=kt*((360-ta)/360),jt=(0,E.Z)(vn)==="object"?vn:{count:vn,space:2},fn=jt.count,st=jt.space,St=Et(en),dt=Et(wa),ln=dt.find(function(Jn){return Jn&&(0,E.Z)(Jn)==="object"}),Nn=ln&&(0,E.Z)(ln)==="object",Cn=Nn?"butt":Pa,la=Te(kt,tn,0,100,Kt,ta,aa,_n,Cn,yn),jn=le(),lt=function(){var sn=0;return St.map(function(zn,na){var La=dt[na]||dt[dt.length-1],sa=Te(kt,tn,sn,zn,Kt,ta,aa,La,Cn,yn);return sn+=zn,x.createElement(Qe,{key:na,color:La,ptg:zn,radius:Nt,prefixCls:Dt,gradientId:Ze,style:sa,strokeLinecap:Cn,strokeWidth:yn,gapDegree:ta,ref:function(rn){jn[na]=rn},size:he})}).reverse()},Jt=function(){var sn=Math.round(fn*(St[0]/100)),zn=100/fn,na=0;return new Array(fn).fill(null).map(function(La,sa){var He=sa<=sn-1?dt[0]:_n,rn=He&&(0,E.Z)(He)==="object"?"url(#".concat(Ze,")"):void 0,Qt=Te(kt,tn,na,zn,Kt,ta,aa,He,"butt",yn,st);return na+=(tn-Qt.strokeDashoffset+st)*100/tn,x.createElement("circle",{key:sa,className:"".concat(Dt,"-circle-path"),r:Nt,cx:Mn,cy:Mn,stroke:rn,strokeWidth:yn,opacity:1,style:Qt,ref:function(In){jn[sa]=In}})})};return x.createElement("svg",(0,Ve.Z)({className:se()("".concat(Dt,"-circle"),Zn),viewBox:"0 0 ".concat(he," ").concat(he),style:Ea,id:ht,role:"presentation"},bn),!fn&&x.createElement("circle",{className:"".concat(Dt,"-circle-trail"),r:Nt,cx:Mn,cy:Mn,stroke:_n,strokeLinecap:Cn,strokeWidth:Pn||yn,style:la}),fn?Jt():lt())},ut=Ne,xt={Line:b,Circle:ut},yt=te(6848),gt=te(30071);function Yt(_e){return!_e||_e<0?0:_e>100?100:_e}function wt(_e){let{success:Bt,successPercent:Ot}=_e,ht=Ot;return Bt&&"progress"in Bt&&(ht=Bt.progress),Bt&&"percent"in Bt&&(ht=Bt.percent),ht}const nn=_e=>{let{percent:Bt,success:Ot,successPercent:ht}=_e;const Dt=Yt(wt({success:Ot,successPercent:ht}));return[Dt,Yt(Yt(Bt)-Dt)]},dn=_e=>{let{success:Bt={},strokeColor:Ot}=_e;const{strokeColor:ht}=Bt;return[ht||gt.presetPrimaryColors.green,Ot||null]},at=(_e,Bt,Ot)=>{var ht,Dt,vn,yn;let Pn=-1,Rn=-1;if(Bt==="step"){const ta=Ot.steps,aa=Ot.strokeWidth;typeof _e=="string"||typeof _e=="undefined"?(Pn=_e==="small"?2:14,Rn=aa!=null?aa:8):typeof _e=="number"?[Pn,Rn]=[_e,_e]:[Pn=14,Rn=8]=_e,Pn*=ta}else if(Bt==="line"){const ta=Ot==null?void 0:Ot.strokeWidth;typeof _e=="string"||typeof _e=="undefined"?Rn=ta||(_e==="small"?6:8):typeof _e=="number"?[Pn,Rn]=[_e,_e]:[Pn=-1,Rn=8]=_e}else(Bt==="circle"||Bt==="dashboard")&&(typeof _e=="string"||typeof _e=="undefined"?[Pn,Rn]=_e==="small"?[60,60]:[120,120]:typeof _e=="number"?[Pn,Rn]=[_e,_e]:(Pn=(Dt=(ht=_e[0])!==null&&ht!==void 0?ht:_e[1])!==null&&Dt!==void 0?Dt:120,Rn=(yn=(vn=_e[0])!==null&&vn!==void 0?vn:_e[1])!==null&&yn!==void 0?yn:120));return[Pn,Rn]},qe=3,qt=_e=>qe/_e*100;var Zt=_e=>{const{prefixCls:Bt,trailColor:Ot=null,strokeLinecap:ht="round",gapPosition:Dt,gapDegree:vn,width:yn=120,type:Pn,children:Rn,success:ta,size:aa=yn}=_e,[_n,Pa]=at(aa,"circle");let{strokeWidth:Ea}=_e;Ea===void 0&&(Ea=Math.max(qt(_n),6));const Zn={width:_n,height:Pa,fontSize:_n*.15+6},wa=x.useMemo(()=>{if(vn||vn===0)return vn;if(Pn==="dashboard")return 75},[vn,Pn]),en=Dt||Pn==="dashboard"&&"bottom"||void 0,bn=Object.prototype.toString.call(_e.strokeColor)==="[object Object]",Mn=dn({success:ta,strokeColor:_e.strokeColor}),Qn=se()(`${Bt}-inner`,{[`${Bt}-circle-gradient`]:bn}),Ze=x.createElement(ut,{percent:nn(_e),strokeWidth:Ea,trailWidth:Ea,strokeColor:Mn,strokeLinecap:ht,trailColor:Ot,prefixCls:Bt,gapDegree:wa,gapPosition:en});return x.createElement("div",{className:Qn,style:Zn},_n<=20?x.createElement(yt.Z,{title:Rn},x.createElement("span",null,Ze)):x.createElement(x.Fragment,null,Ze,Rn))},mn=function(_e,Bt){var Ot={};for(var ht in _e)Object.prototype.hasOwnProperty.call(_e,ht)&&Bt.indexOf(ht)<0&&(Ot[ht]=_e[ht]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,ht=Object.getOwnPropertySymbols(_e);Dt<ht.length;Dt++)Bt.indexOf(ht[Dt])<0&&Object.prototype.propertyIsEnumerable.call(_e,ht[Dt])&&(Ot[ht[Dt]]=_e[ht[Dt]]);return Ot};const Ke=_e=>{let Bt=[];return Object.keys(_e).forEach(Ot=>{const ht=parseFloat(Ot.replace(/%/g,""));isNaN(ht)||Bt.push({key:ht,value:_e[Ot]})}),Bt=Bt.sort((Ot,ht)=>Ot.key-ht.key),Bt.map(Ot=>{let{key:ht,value:Dt}=Ot;return`${Dt} ${ht}%`}).join(", ")},It=(_e,Bt)=>{const{from:Ot=gt.presetPrimaryColors.blue,to:ht=gt.presetPrimaryColors.blue,direction:Dt=Bt==="rtl"?"to left":"to right"}=_e,vn=mn(_e,["from","to","direction"]);if(Object.keys(vn).length!==0){const yn=Ke(vn);return{backgroundImage:`linear-gradient(${Dt}, ${yn})`}}return{backgroundImage:`linear-gradient(${Dt}, ${Ot}, ${ht})`}};var Mt=_e=>{const{prefixCls:Bt,direction:Ot,percent:ht,size:Dt,strokeWidth:vn,strokeColor:yn,strokeLinecap:Pn="round",children:Rn,trailColor:ta=null,success:aa}=_e,_n=yn&&typeof yn!="string"?It(yn,Ot):{backgroundColor:yn},Pa=Pn==="square"||Pn==="butt"?0:void 0,Ea={backgroundColor:ta||void 0,borderRadius:Pa},Zn=Dt!=null?Dt:[-1,vn||(Dt==="small"?6:8)],[wa,en]=at(Zn,"line",{strokeWidth:vn}),bn=Object.assign({width:`${Yt(ht)}%`,height:en,borderRadius:Pa},_n),Mn=wt(_e),Qn={width:`${Yt(Mn)}%`,height:en,borderRadius:Pa,backgroundColor:aa==null?void 0:aa.strokeColor},Ze={width:wa<0?"100%":wa,height:en};return x.createElement(x.Fragment,null,x.createElement("div",{className:`${Bt}-outer`,style:Ze},x.createElement("div",{className:`${Bt}-inner`,style:Ea},x.createElement("div",{className:`${Bt}-bg`,style:bn}),Mn!==void 0?x.createElement("div",{className:`${Bt}-success-bg`,style:Qn}):null)),Rn)},rt=_e=>{const{size:Bt,steps:Ot,percent:ht=0,strokeWidth:Dt=8,strokeColor:vn,trailColor:yn=null,prefixCls:Pn,children:Rn}=_e,ta=Math.round(Ot*(ht/100)),aa=Bt==="small"?2:14,_n=Bt!=null?Bt:[aa,Dt],[Pa,Ea]=at(_n,"step",{steps:Ot,strokeWidth:Dt}),Zn=Pa/Ot,wa=new Array(Ot);for(let en=0;en<Ot;en++){const bn=Array.isArray(vn)?vn[en]:vn;wa[en]=x.createElement("div",{key:en,className:se()(`${Pn}-steps-item`,{[`${Pn}-steps-item-active`]:en<=ta-1}),style:{backgroundColor:en<=ta-1?bn:yn,width:Zn,height:Ea}})}return x.createElement("div",{className:`${Pn}-steps-outer`},wa,Rn)},ze=te(93083),ve=te(17313),fe=te(83116),Ye=te(37613);const Lt=_e=>{const Bt=_e?"100%":"-100%";return new ze.Keyframes(`antProgress${_e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Bt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Bt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Fe=_e=>{const{componentCls:Bt,iconCls:Ot}=_e;return{[Bt]:Object.assign(Object.assign({},(0,ve.Wf)(_e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:_e.fontSize,marginInlineEnd:_e.marginXS,marginBottom:_e.marginXS},[`${Bt}-outer`]:{display:"inline-block",width:"100%"},[`&${Bt}-show-info`]:{[`${Bt}-outer`]:{marginInlineEnd:`calc(-2em - ${_e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${_e.paddingXS}px)`}},[`${Bt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:_e.remainingColor,borderRadius:_e.lineBorderRadius},[`${Bt}-inner:not(${Bt}-circle-gradient)`]:{[`${Bt}-circle-path`]:{stroke:_e.defaultColor}},[`${Bt}-success-bg, ${Bt}-bg`]:{position:"relative",backgroundColor:_e.defaultColor,borderRadius:_e.lineBorderRadius,transition:`all ${_e.motionDurationSlow} ${_e.motionEaseInOutCirc}`},[`${Bt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:_e.colorSuccess},[`${Bt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:_e.marginXS,color:_e.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ot]:{fontSize:_e.fontSize}},[`&${Bt}-status-active`]:{[`${Bt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:_e.colorBgContainer,borderRadius:_e.lineBorderRadius,opacity:0,animationName:Lt(),animationDuration:_e.progressActiveMotionDuration,animationTimingFunction:_e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Bt}-rtl${Bt}-status-active`]:{[`${Bt}-bg::before`]:{animationName:Lt(!0)}},[`&${Bt}-status-exception`]:{[`${Bt}-bg`]:{backgroundColor:_e.colorError},[`${Bt}-text`]:{color:_e.colorError}},[`&${Bt}-status-exception ${Bt}-inner:not(${Bt}-circle-gradient)`]:{[`${Bt}-circle-path`]:{stroke:_e.colorError}},[`&${Bt}-status-success`]:{[`${Bt}-bg`]:{backgroundColor:_e.colorSuccess},[`${Bt}-text`]:{color:_e.colorSuccess}},[`&${Bt}-status-success ${Bt}-inner:not(${Bt}-circle-gradient)`]:{[`${Bt}-circle-path`]:{stroke:_e.colorSuccess}}})}},xe=_e=>{const{componentCls:Bt,iconCls:Ot}=_e;return{[Bt]:{[`${Bt}-circle-trail`]:{stroke:_e.remainingColor},[`&${Bt}-circle ${Bt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Bt}-circle ${Bt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:_e.circleTextColor,fontSize:_e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ot]:{fontSize:`${_e.fontSize/_e.fontSizeSM}em`}},[`${Bt}-circle&-status-exception`]:{[`${Bt}-text`]:{color:_e.colorError}},[`${Bt}-circle&-status-success`]:{[`${Bt}-text`]:{color:_e.colorSuccess}}},[`${Bt}-inline-circle`]:{lineHeight:1,[`${Bt}-inner`]:{verticalAlign:"bottom"}}}},nt=_e=>{const{componentCls:Bt}=_e;return{[Bt]:{[`${Bt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:_e.progressStepMinWidth,marginInlineEnd:_e.progressStepMarginInlineEnd,backgroundColor:_e.remainingColor,transition:`all ${_e.motionDurationSlow}`,"&-active":{backgroundColor:_e.defaultColor}}}}}},Xe=_e=>{const{componentCls:Bt,iconCls:Ot}=_e;return{[Bt]:{[`${Bt}-small&-line, ${Bt}-small&-line ${Bt}-text ${Ot}`]:{fontSize:_e.fontSizeSM}}}};var Ae=(0,fe.Z)("Progress",_e=>{const Bt=_e.marginXXS/2,Ot=(0,Ye.TS)(_e,{progressStepMarginInlineEnd:Bt,progressStepMinWidth:Bt,progressActiveMotionDuration:"2.4s"});return[Fe(Ot),xe(Ot),nt(Ot),Xe(Ot)]},_e=>({circleTextColor:_e.colorText,defaultColor:_e.colorInfo,remainingColor:_e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),pt=function(_e,Bt){var Ot={};for(var ht in _e)Object.prototype.hasOwnProperty.call(_e,ht)&&Bt.indexOf(ht)<0&&(Ot[ht]=_e[ht]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,ht=Object.getOwnPropertySymbols(_e);Dt<ht.length;Dt++)Bt.indexOf(ht[Dt])<0&&Object.prototype.propertyIsEnumerable.call(_e,ht[Dt])&&(Ot[ht[Dt]]=_e[ht[Dt]]);return Ot};const hn=null,$t=["normal","exception","active","success"];var on=x.forwardRef((_e,Bt)=>{const{prefixCls:Ot,className:ht,rootClassName:Dt,steps:vn,strokeColor:yn,percent:Pn=0,size:Rn="default",showInfo:ta=!0,type:aa="line",status:_n,format:Pa,style:Ea}=_e,Zn=pt(_e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),wa=x.useMemo(()=>{var St,dt;const ln=wt(_e);return parseInt(ln!==void 0?(St=ln!=null?ln:0)===null||St===void 0?void 0:St.toString():(dt=Pn!=null?Pn:0)===null||dt===void 0?void 0:dt.toString(),10)},[Pn,_e.success,_e.successPercent]),en=x.useMemo(()=>!$t.includes(_n)&&wa>=100?"success":_n||"normal",[_n,wa]),{getPrefixCls:bn,direction:Mn,progress:Qn}=x.useContext(ot.E_),Ze=bn("progress",Ot),[Nt,kt]=Ae(Ze),Kt=x.useMemo(()=>{if(!ta)return null;const St=wt(_e);let dt;const ln=Pa||(Cn=>`${Cn}%`),Nn=aa==="line";return Pa||en!=="exception"&&en!=="success"?dt=ln(Yt(Pn),Yt(St)):en==="exception"?dt=Nn?x.createElement(Me.Z,null):x.createElement(Le.Z,null):en==="success"&&(dt=Nn?x.createElement(ue.Z,null):x.createElement(Be.Z,null)),x.createElement("span",{className:`${Ze}-text`,title:typeof dt=="string"?dt:void 0},dt)},[ta,Pn,wa,en,aa,Ze,Pa]),tn=Array.isArray(yn)?yn[0]:yn,jt=typeof yn=="string"||Array.isArray(yn)?yn:void 0;let fn;aa==="line"?fn=vn?x.createElement(rt,Object.assign({},_e,{strokeColor:jt,prefixCls:Ze,steps:vn}),Kt):x.createElement(Mt,Object.assign({},_e,{strokeColor:tn,prefixCls:Ze,direction:Mn}),Kt):(aa==="circle"||aa==="dashboard")&&(fn=x.createElement(Zt,Object.assign({},_e,{strokeColor:tn,prefixCls:Ze,progressStatus:en}),Kt));const st=se()(Ze,`${Ze}-status-${en}`,`${Ze}-${aa==="dashboard"&&"circle"||vn&&"steps"||aa}`,{[`${Ze}-inline-circle`]:aa==="circle"&&at(Rn,"circle")[0]<=20,[`${Ze}-show-info`]:ta,[`${Ze}-${Rn}`]:typeof Rn=="string",[`${Ze}-rtl`]:Mn==="rtl"},Qn==null?void 0:Qn.className,ht,Dt,kt);return Nt(x.createElement("div",Object.assign({ref:Bt,style:Object.assign(Object.assign({},Qn==null?void 0:Qn.style),Ea),className:st,role:"progressbar","aria-valuenow":wa},(0,ct.Z)(Zn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),fn))}),gn=on},13570:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return Yt}});var x=te(14809),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(nn,dn){return ue.createElement(Le.Z,(0,x.Z)({},nn,{ref:dn,icon:Me}))},se=ue.forwardRef(Oe),ct=se,ot=te(92310),Ve=te.n(ot),Ue=te(4635),tt=te(50298),$e=te(62646),le=te(18929),y=te(10228),a=te(26112);function b(wt,nn){var dn=wt.disabled,at=wt.prefixCls,qe=wt.character,qt=wt.characterRender,Sn=wt.index,Zt=wt.count,mn=wt.value,Ke=wt.allowHalf,It=wt.focused,Ut=wt.onHover,Mt=wt.onClick,ft=function(xe){Ut(xe,Sn)},rt=function(xe){Mt(xe,Sn)},ze=function(xe){xe.keyCode===y.Z.ENTER&&Mt(xe,Sn)},ve=Sn+1,fe=new Set([at]);mn===0&&Sn===0&&It?fe.add("".concat(at,"-focused")):Ke&&mn+.5>=ve&&mn<ve?(fe.add("".concat(at,"-half")),fe.add("".concat(at,"-active")),It&&fe.add("".concat(at,"-focused"))):(ve<=mn?fe.add("".concat(at,"-full")):fe.add("".concat(at,"-zero")),ve===mn&&It&&fe.add("".concat(at,"-focused")));var Ye=typeof qe=="function"?qe(wt):qe,Lt=ue.createElement("li",{className:Ve()(Array.from(fe)),ref:nn},ue.createElement("div",{onClick:dn?null:rt,onKeyDown:dn?null:ze,onMouseMove:dn?null:ft,role:"radio","aria-checked":mn>Sn?"true":"false","aria-posinset":Sn+1,"aria-setsize":Zt,tabIndex:dn?-1:0},ue.createElement("div",{className:"".concat(at,"-first")},Ye),ue.createElement("div",{className:"".concat(at,"-second")},Ye)));return qt&&(Lt=qt(Lt,wt)),Lt}var E=ue.forwardRef(b);function z(){var wt=ue.useRef({});function nn(at){return wt.current[at]}function dn(at){return function(qe){wt.current[at]=qe}}return[nn,dn]}function ne(wt){var nn=wt.pageXOffset,dn="scrollLeft";if(typeof nn!="number"){var at=wt.document;nn=at.documentElement[dn],typeof nn!="number"&&(nn=at.body[dn])}return nn}function re(wt){var nn,dn,at=wt.ownerDocument,qe=at.body,qt=at&&at.documentElement,Sn=wt.getBoundingClientRect();return nn=Sn.left,dn=Sn.top,nn-=qt.clientLeft||qe.clientLeft||0,dn-=qt.clientTop||qe.clientTop||0,{left:nn,top:dn}}function ie(wt){var nn=re(wt),dn=wt.ownerDocument,at=dn.defaultView||dn.parentWindow;return nn.left+=ne(at),nn.left}var ce=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function pe(wt,nn){var dn,at=wt.prefixCls,qe=at===void 0?"rc-rate":at,qt=wt.className,Sn=wt.defaultValue,Zt=wt.value,mn=wt.count,Ke=mn===void 0?5:mn,It=wt.allowHalf,Ut=It===void 0?!1:It,Mt=wt.allowClear,ft=Mt===void 0?!0:Mt,rt=wt.character,ze=rt===void 0?"\u2605":rt,ve=wt.characterRender,fe=wt.disabled,Ye=wt.direction,Lt=Ye===void 0?"ltr":Ye,Fe=wt.tabIndex,xe=Fe===void 0?0:Fe,nt=wt.autoFocus,Xe=wt.onHoverChange,Ae=wt.onChange,pt=wt.onFocus,hn=wt.onBlur,$t=wt.onKeyDown,Ht=wt.onMouseLeave,on=(0,$e.Z)(wt,ce),gn=z(),_e=(0,tt.Z)(gn,2),Bt=_e[0],Ot=_e[1],ht=ue.useRef(null),Dt=function(){if(!fe){var Cn;(Cn=ht.current)===null||Cn===void 0||Cn.focus()}};ue.useImperativeHandle(nn,function(){return{focus:Dt,blur:function(){if(!fe){var Cn;(Cn=ht.current)===null||Cn===void 0||Cn.blur()}}}});var vn=(0,le.Z)(Sn||0,{value:Zt}),yn=(0,tt.Z)(vn,2),Pn=yn[0],Rn=yn[1],ta=(0,le.Z)(null),aa=(0,tt.Z)(ta,2),_n=aa[0],Pa=aa[1],Ea=function(Cn,la){var jn=Lt==="rtl",lt=Cn+1;if(Ut){var Jt=Bt(Cn),Jn=ie(Jt),sn=Jt.clientWidth;(jn&&la-Jn>sn/2||!jn&&la-Jn<sn/2)&&(lt-=.5)}return lt},Zn=function(Cn){Rn(Cn),Ae==null||Ae(Cn)},wa=ue.useState(!1),en=(0,tt.Z)(wa,2),bn=en[0],Mn=en[1],Qn=function(){Mn(!0),pt==null||pt()},Ze=function(){Mn(!1),hn==null||hn()},Nt=ue.useState(null),kt=(0,tt.Z)(Nt,2),Kt=kt[0],tn=kt[1],jt=function(Cn,la){var jn=Ea(la,Cn.pageX);jn!==_n&&(tn(jn),Pa(null)),Xe==null||Xe(jn)},fn=function(Cn){fe||(tn(null),Pa(null),Xe==null||Xe(void 0)),Cn&&(Ht==null||Ht(Cn))},st=function(Cn,la){var jn=Ea(la,Cn.pageX),lt=!1;ft&&(lt=jn===Pn),fn(),Zn(lt?0:jn),Pa(lt?jn:null)},St=function(Cn){var la=Cn.keyCode,jn=Lt==="rtl",lt=Pn;la===y.Z.RIGHT&<<Ke&&!jn?(Ut?lt+=.5:lt+=1,Zn(lt),Cn.preventDefault()):la===y.Z.LEFT&<>0&&!jn||la===y.Z.RIGHT&<>0&&jn?(Ut?lt-=.5:lt-=1,Zn(lt),Cn.preventDefault()):la===y.Z.LEFT&<<Ke&&jn&&(Ut?lt+=.5:lt+=1,Zn(lt),Cn.preventDefault()),$t==null||$t(Cn)};ue.useEffect(function(){nt&&!fe&&Dt()},[]);var dt=new Array(Ke).fill(0).map(function(Nn,Cn){return ue.createElement(E,{ref:Ot(Cn),index:Cn,count:Ke,disabled:fe,prefixCls:"".concat(qe,"-star"),allowHalf:Ut,value:Kt===null?Pn:Kt,onClick:st,onHover:jt,key:Nn||Cn,character:ze,characterRender:ve,focused:bn})}),ln=Ve()(qe,qt,(dn={},(0,Ue.Z)(dn,"".concat(qe,"-disabled"),fe),(0,Ue.Z)(dn,"".concat(qe,"-rtl"),Lt==="rtl"),dn));return ue.createElement("ul",(0,x.Z)({className:ln,onMouseLeave:fn,tabIndex:fe?-1:xe,onFocus:fe?null:Qn,onBlur:fe?null:Ze,onKeyDown:fe?null:St,ref:ht,role:"radiogroup"},(0,a.Z)(on,{aria:!0,data:!0,attr:!0})),dt)}var Ee=ue.forwardRef(pe),Ge=Ee,De=te(36355),Qe=te(6848),he=te(17313),Te=te(83116),et=te(37613);const Et=wt=>{const{componentCls:nn}=wt;return{[`${nn}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:wt.marginXS},"> div":{transition:`all ${wt.motionDurationMid}, outline 0s`,"&:hover":{transform:wt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${wt.lineWidth}px dashed ${wt.starColor}`,transform:wt.starHoverScale}},"&-first, &-second":{color:wt.starBg,transition:`all ${wt.motionDurationMid}`,userSelect:"none",[wt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${nn}-star-first, &-half ${nn}-star-second`]:{opacity:1},[`&-half ${nn}-star-first, &-full ${nn}-star-second`]:{color:"inherit"}}}},Ne=wt=>({[`&-rtl${wt.componentCls}`]:{direction:"rtl"}}),ut=wt=>{const{componentCls:nn}=wt;return{[nn]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,he.Wf)(wt)),{display:"inline-block",margin:0,padding:0,color:wt.starColor,fontSize:wt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${nn} ${nn}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Et(wt)),{[`+ ${nn}-text`]:{display:"inline-block",marginInlineStart:wt.marginXS,fontSize:wt.fontSize}}),Ne(wt))}};var xt=(0,Te.Z)("Rate",wt=>{const nn=(0,et.TS)(wt,{});return[ut(nn)]},wt=>({starColor:wt.yellow6,starSize:wt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:wt.colorFillContent})),yt=function(wt,nn){var dn={};for(var at in wt)Object.prototype.hasOwnProperty.call(wt,at)&&nn.indexOf(at)<0&&(dn[at]=wt[at]);if(wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,at=Object.getOwnPropertySymbols(wt);qe<at.length;qe++)nn.indexOf(at[qe])<0&&Object.prototype.propertyIsEnumerable.call(wt,at[qe])&&(dn[at[qe]]=wt[at[qe]]);return dn},Yt=ue.forwardRef((wt,nn)=>{const{prefixCls:dn,className:at,rootClassName:qe,style:qt,tooltips:Sn,character:Zt=ue.createElement(ct,null)}=wt,mn=yt(wt,["prefixCls","className","rootClassName","style","tooltips","character"]),Ke=(fe,Ye)=>{let{index:Lt}=Ye;return Sn?ue.createElement(Qe.Z,{title:Sn[Lt]},fe):fe},{getPrefixCls:It,direction:Ut,rate:Mt}=ue.useContext(De.E_),ft=It("rate",dn),[rt,ze]=xt(ft),ve=Object.assign(Object.assign({},Mt==null?void 0:Mt.style),qt);return rt(ue.createElement(Ge,Object.assign({ref:nn,character:Zt,characterRender:Ke},mn,{className:Ve()(at,qe,ze,Mt==null?void 0:Mt.className),style:ve,prefixCls:ft,direction:Ut})))})},61621:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return ze}});var x=te(92310),ue=te.n(x),Be=te(59301),Me=te(36355),Le=te(2738),se=ve=>{const{prefixCls:fe,className:Ye,style:Lt,size:Fe,shape:xe}=ve,nt=ue()({[`${fe}-lg`]:Fe==="large",[`${fe}-sm`]:Fe==="small"}),Xe=ue()({[`${fe}-circle`]:xe==="circle",[`${fe}-square`]:xe==="square",[`${fe}-round`]:xe==="round"}),Ae=Be.useMemo(()=>typeof Fe=="number"?{width:Fe,height:Fe,lineHeight:`${Fe}px`}:{},[Fe]);return Be.createElement("span",{className:ue()(fe,nt,Xe,Ye),style:Object.assign(Object.assign({},Ae),Lt)})},ct=te(93083),ot=te(83116),Ve=te(37613);const Ue=new ct.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),tt=ve=>({height:ve,lineHeight:`${ve}px`}),$e=ve=>Object.assign({width:ve},tt(ve)),le=ve=>({background:ve.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ue,animationDuration:ve.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=ve=>Object.assign({width:ve*5,minWidth:ve*5},tt(ve)),a=ve=>{const{skeletonAvatarCls:fe,gradientFromColor:Ye,controlHeight:Lt,controlHeightLG:Fe,controlHeightSM:xe}=ve;return{[`${fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ye},$e(Lt)),[`${fe}${fe}-circle`]:{borderRadius:"50%"},[`${fe}${fe}-lg`]:Object.assign({},$e(Fe)),[`${fe}${fe}-sm`]:Object.assign({},$e(xe))}},b=ve=>{const{controlHeight:fe,borderRadiusSM:Ye,skeletonInputCls:Lt,controlHeightLG:Fe,controlHeightSM:xe,gradientFromColor:nt}=ve;return{[`${Lt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:nt,borderRadius:Ye},y(fe)),[`${Lt}-lg`]:Object.assign({},y(Fe)),[`${Lt}-sm`]:Object.assign({},y(xe))}},E=ve=>Object.assign({width:ve},tt(ve)),z=ve=>{const{skeletonImageCls:fe,imageSizeBase:Ye,gradientFromColor:Lt,borderRadiusSM:Fe}=ve;return{[`${fe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Lt,borderRadius:Fe},E(Ye*2)),{[`${fe}-path`]:{fill:"#bfbfbf"},[`${fe}-svg`]:Object.assign(Object.assign({},E(Ye)),{maxWidth:Ye*4,maxHeight:Ye*4}),[`${fe}-svg${fe}-svg-circle`]:{borderRadius:"50%"}}),[`${fe}${fe}-circle`]:{borderRadius:"50%"}}},ne=(ve,fe,Ye)=>{const{skeletonButtonCls:Lt}=ve;return{[`${Ye}${Lt}-circle`]:{width:fe,minWidth:fe,borderRadius:"50%"},[`${Ye}${Lt}-round`]:{borderRadius:fe}}},re=ve=>Object.assign({width:ve*2,minWidth:ve*2},tt(ve)),ie=ve=>{const{borderRadiusSM:fe,skeletonButtonCls:Ye,controlHeight:Lt,controlHeightLG:Fe,controlHeightSM:xe,gradientFromColor:nt}=ve;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ye}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:nt,borderRadius:fe,width:Lt*2,minWidth:Lt*2},re(Lt))},ne(ve,Lt,Ye)),{[`${Ye}-lg`]:Object.assign({},re(Fe))}),ne(ve,Fe,`${Ye}-lg`)),{[`${Ye}-sm`]:Object.assign({},re(xe))}),ne(ve,xe,`${Ye}-sm`))},ce=ve=>{const{componentCls:fe,skeletonAvatarCls:Ye,skeletonTitleCls:Lt,skeletonParagraphCls:Fe,skeletonButtonCls:xe,skeletonInputCls:nt,skeletonImageCls:Xe,controlHeight:Ae,controlHeightLG:pt,controlHeightSM:hn,gradientFromColor:$t,padding:Ht,marginSM:on,borderRadius:gn,titleHeight:_e,blockRadius:Bt,paragraphLiHeight:Ot,controlHeightXS:ht,paragraphMarginTop:Dt}=ve;return{[`${fe}`]:{display:"table",width:"100%",[`${fe}-header`]:{display:"table-cell",paddingInlineEnd:Ht,verticalAlign:"top",[`${Ye}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:$t},$e(Ae)),[`${Ye}-circle`]:{borderRadius:"50%"},[`${Ye}-lg`]:Object.assign({},$e(pt)),[`${Ye}-sm`]:Object.assign({},$e(hn))},[`${fe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Lt}`]:{width:"100%",height:_e,background:$t,borderRadius:Bt,[`+ ${Fe}`]:{marginBlockStart:hn}},[`${Fe}`]:{padding:0,"> li":{width:"100%",height:Ot,listStyle:"none",background:$t,borderRadius:Bt,"+ li":{marginBlockStart:ht}}},[`${Fe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${fe}-content`]:{[`${Lt}, ${Fe} > li`]:{borderRadius:gn}}},[`${fe}-with-avatar ${fe}-content`]:{[`${Lt}`]:{marginBlockStart:on,[`+ ${Fe}`]:{marginBlockStart:Dt}}},[`${fe}${fe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ie(ve)),a(ve)),b(ve)),z(ve)),[`${fe}${fe}-block`]:{width:"100%",[`${xe}`]:{width:"100%"},[`${nt}`]:{width:"100%"}},[`${fe}${fe}-active`]:{[`
|
|
${Lt},
|
|
${Fe} > li,
|
|
${Ye},
|
|
${xe},
|
|
${nt},
|
|
${Xe}
|
|
`]:Object.assign({},le(ve))}}};var pe=(0,ot.Z)("Skeleton",ve=>{const{componentCls:fe}=ve,Ye=(0,Ve.TS)(ve,{skeletonAvatarCls:`${fe}-avatar`,skeletonTitleCls:`${fe}-title`,skeletonParagraphCls:`${fe}-paragraph`,skeletonButtonCls:`${fe}-button`,skeletonInputCls:`${fe}-input`,skeletonImageCls:`${fe}-image`,imageSizeBase:ve.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ve.gradientFromColor} 25%, ${ve.gradientToColor} 37%, ${ve.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ce(Ye)]},ve=>{const{colorFillContent:fe,colorFill:Ye}=ve,Lt=fe,Fe=Ye;return{color:Lt,colorGradientEnd:Fe,gradientFromColor:Lt,gradientToColor:Fe,titleHeight:ve.controlHeight/2,blockRadius:ve.borderRadiusSM,paragraphMarginTop:ve.marginLG+ve.marginXXS,paragraphLiHeight:ve.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ge=ve=>{const{prefixCls:fe,className:Ye,rootClassName:Lt,active:Fe,shape:xe="circle",size:nt="default"}=ve,{getPrefixCls:Xe}=Be.useContext(Me.E_),Ae=Xe("skeleton",fe),[pt,hn]=pe(Ae),$t=(0,Le.Z)(ve,["prefixCls","className"]),Ht=ue()(Ae,`${Ae}-element`,{[`${Ae}-active`]:Fe},Ye,Lt,hn);return pt(Be.createElement("div",{className:Ht},Be.createElement(se,Object.assign({prefixCls:`${Ae}-avatar`,shape:xe,size:nt},$t))))},Qe=ve=>{const{prefixCls:fe,className:Ye,rootClassName:Lt,active:Fe,block:xe=!1,size:nt="default"}=ve,{getPrefixCls:Xe}=Be.useContext(Me.E_),Ae=Xe("skeleton",fe),[pt,hn]=pe(Ae),$t=(0,Le.Z)(ve,["prefixCls"]),Ht=ue()(Ae,`${Ae}-element`,{[`${Ae}-active`]:Fe,[`${Ae}-block`]:xe},Ye,Lt,hn);return pt(Be.createElement("div",{className:Ht},Be.createElement(se,Object.assign({prefixCls:`${Ae}-button`,size:nt},$t))))};const he="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var et=ve=>{const{prefixCls:fe,className:Ye,rootClassName:Lt,style:Fe,active:xe}=ve,{getPrefixCls:nt}=Be.useContext(Me.E_),Xe=nt("skeleton",fe),[Ae,pt]=pe(Xe),hn=ue()(Xe,`${Xe}-element`,{[`${Xe}-active`]:xe},Ye,Lt,pt);return Ae(Be.createElement("div",{className:hn},Be.createElement("div",{className:ue()(`${Xe}-image`,Ye),style:Fe},Be.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Xe}-image-svg`},Be.createElement("path",{d:he,className:`${Xe}-image-path`})))))},Ne=ve=>{const{prefixCls:fe,className:Ye,rootClassName:Lt,active:Fe,block:xe,size:nt="default"}=ve,{getPrefixCls:Xe}=Be.useContext(Me.E_),Ae=Xe("skeleton",fe),[pt,hn]=pe(Ae),$t=(0,Le.Z)(ve,["prefixCls"]),Ht=ue()(Ae,`${Ae}-element`,{[`${Ae}-active`]:Fe,[`${Ae}-block`]:xe},Ye,Lt,hn);return pt(Be.createElement("div",{className:Ht},Be.createElement(se,Object.assign({prefixCls:`${Ae}-input`,size:nt},$t))))},ut=te(14809),xt={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=xt,gt=te(7657),Yt=function(fe,Ye){return Be.createElement(gt.Z,(0,ut.Z)({},fe,{ref:Ye,icon:yt}))},wt=Be.forwardRef(Yt),nn=wt,at=ve=>{const{prefixCls:fe,className:Ye,rootClassName:Lt,style:Fe,active:xe,children:nt}=ve,{getPrefixCls:Xe}=Be.useContext(Me.E_),Ae=Xe("skeleton",fe),[pt,hn]=pe(Ae),$t=ue()(Ae,`${Ae}-element`,{[`${Ae}-active`]:xe},hn,Ye,Lt),Ht=nt!=null?nt:Be.createElement(nn,null);return pt(Be.createElement("div",{className:$t},Be.createElement("div",{className:ue()(`${Ae}-image`,Ye),style:Fe},Ht)))},qe=te(95190),Sn=ve=>{const fe=Xe=>{const{width:Ae,rows:pt=2}=ve;if(Array.isArray(Ae))return Ae[Xe];if(pt-1===Xe)return Ae},{prefixCls:Ye,className:Lt,style:Fe,rows:xe}=ve,nt=(0,qe.Z)(Array(xe)).map((Xe,Ae)=>Be.createElement("li",{key:Ae,style:{width:fe(Ae)}}));return Be.createElement("ul",{className:ue()(Ye,Lt),style:Fe},nt)},mn=ve=>{let{prefixCls:fe,className:Ye,width:Lt,style:Fe}=ve;return Be.createElement("h3",{className:ue()(fe,Ye),style:Object.assign({width:Lt},Fe)})};function Ke(ve){return ve&&typeof ve=="object"?ve:{}}function It(ve,fe){return ve&&!fe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ut(ve,fe){return!ve&&fe?{width:"38%"}:ve&&fe?{width:"50%"}:{}}function Mt(ve,fe){const Ye={};return(!ve||!fe)&&(Ye.width="61%"),!ve&&fe?Ye.rows=3:Ye.rows=2,Ye}const ft=ve=>{const{prefixCls:fe,loading:Ye,className:Lt,rootClassName:Fe,style:xe,children:nt,avatar:Xe=!1,title:Ae=!0,paragraph:pt=!0,active:hn,round:$t}=ve,{getPrefixCls:Ht,direction:on,skeleton:gn}=Be.useContext(Me.E_),_e=Ht("skeleton",fe),[Bt,Ot]=pe(_e);if(Ye||!("loading"in ve)){const ht=!!Xe,Dt=!!Ae,vn=!!pt;let yn;if(ht){const ta=Object.assign(Object.assign({prefixCls:`${_e}-avatar`},It(Dt,vn)),Ke(Xe));yn=Be.createElement("div",{className:`${_e}-header`},Be.createElement(se,Object.assign({},ta)))}let Pn;if(Dt||vn){let ta;if(Dt){const _n=Object.assign(Object.assign({prefixCls:`${_e}-title`},Ut(ht,vn)),Ke(Ae));ta=Be.createElement(mn,Object.assign({},_n))}let aa;if(vn){const _n=Object.assign(Object.assign({prefixCls:`${_e}-paragraph`},Mt(ht,Dt)),Ke(pt));aa=Be.createElement(Sn,Object.assign({},_n))}Pn=Be.createElement("div",{className:`${_e}-content`},ta,aa)}const Rn=ue()(_e,{[`${_e}-with-avatar`]:ht,[`${_e}-active`]:hn,[`${_e}-rtl`]:on==="rtl",[`${_e}-round`]:$t},gn==null?void 0:gn.className,Lt,Fe,Ot);return Bt(Be.createElement("div",{className:Rn,style:Object.assign(Object.assign({},gn==null?void 0:gn.style),xe)},yn,Pn))}return typeof nt!="undefined"?nt:null};ft.Button=Qe,ft.Avatar=Ge,ft.Input=Ne,ft.Image=et,ft.Node=at;var rt=ft,ze=rt},31797:function(Wt,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=Ee=>{const{value:Ge,formatter:De,precision:Qe,decimalSeparator:he,groupSeparator:Te="",prefixCls:et}=Ee;let Et;if(typeof De=="function")Et=De(Ge);else{const Ne=String(Ge),ut=Ne.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ut||Ne==="-")Et=Ne;else{const xt=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=`${he}${gt}`),Et=[x.createElement("span",{key:"int",className:`${et}-content-value-int`},xt,yt),gt&&x.createElement("span",{key:"decimal",className:`${et}-content-value-decimal`},gt)]}}return x.createElement("span",{className:`${et}-content-value`},Et)},Ve=te(17313),Ue=te(83116),tt=te(37613);const $e=Ee=>{const{componentCls:Ge,marginXXS:De,padding:Qe,colorTextDescription:he,titleFontSize:Te,colorTextHeading:et,contentFontSize:Et,fontFamily:Ne}=Ee;return{[`${Ge}`]:Object.assign(Object.assign({},(0,Ve.Wf)(Ee)),{[`${Ge}-title`]:{marginBottom:De,color:he,fontSize:Te},[`${Ge}-skeleton`]:{paddingTop:Qe},[`${Ge}-content`]:{color:et,fontSize:Et,fontFamily:Ne,[`${Ge}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ge}-content-prefix, ${Ge}-content-suffix`]:{display:"inline-block"},[`${Ge}-content-prefix`]:{marginInlineEnd:De},[`${Ge}-content-suffix`]:{marginInlineStart:De}}})}};var le=(0,Ue.Z)("Statistic",Ee=>{const Ge=(0,tt.TS)(Ee,{});return[$e(Ge)]},Ee=>{const{fontSizeHeading3:Ge,fontSize:De}=Ee;return{titleFontSize:De,contentFontSize:Ge}}),a=Ee=>{const{prefixCls:Ge,className:De,rootClassName:Qe,style:he,valueStyle:Te,value:et=0,title:Et,valueRender:Ne,prefix:ut,suffix:xt,loading:yt=!1,onMouseEnter:gt,onMouseLeave:Yt,decimalSeparator:wt=".",groupSeparator:nn=","}=Ee,{getPrefixCls:dn,direction:at,statistic:qe}=x.useContext(Oe.E_),qt=dn("statistic",Ge),[Sn,Zt]=le(qt),mn=x.createElement(ot,Object.assign({decimalSeparator:wt,groupSeparator:nn,prefixCls:qt},Ee,{value:et})),Ke=Le()(qt,{[`${qt}-rtl`]:at==="rtl"},qe==null?void 0:qe.className,De,Qe,Zt);return Sn(x.createElement("div",{className:Ke,style:Object.assign(Object.assign({},qe==null?void 0:qe.style),he),onMouseEnter:gt,onMouseLeave:Yt},Et&&x.createElement("div",{className:`${qt}-title`},Et),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),Ne?Ne(mn):mn,xt&&x.createElement("span",{className:`${qt}-content-suffix`},xt)))))};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(Ee,Ge){let De=Ee;const Qe=/\[[^\]]*]/g,he=(Ge.match(Qe)||[]).map(Ne=>Ne.slice(1,-1)),Te=Ge.replace(Qe,"[]"),et=b.reduce((Ne,ut)=>{let[xt,yt]=ut;if(Ne.includes(xt)){const gt=Math.floor(De/yt);return De-=gt*yt,Ne.replace(new RegExp(`${xt}+`,"g"),Yt=>{const wt=Yt.length;return gt.toString().padStart(wt,"0")})}return Ne},Te);let Et=0;return et.replace(Qe,()=>{const Ne=he[Et];return Et+=1,Ne})}function z(Ee,Ge){const{format:De=""}=Ge,Qe=new Date(Ee).getTime(),he=Date.now(),Te=Math.max(Qe-he,0);return E(Te,De)}const ne=1e3/30;function re(Ee){return new Date(Ee).getTime()}const ie=Ee=>{const{value:Ge,format:De="HH:mm:ss",onChange:Qe,onFinish:he}=Ee,Te=(0,ue.Z)(),et=x.useRef(null),Et=()=>{he==null||he(),et.current&&(clearInterval(et.current),et.current=null)},Ne=()=>{const yt=re(Ge);yt>=Date.now()&&(et.current=setInterval(()=>{Te(),Qe==null||Qe(yt-Date.now()),yt<Date.now()&&Et()},ne))};x.useEffect(()=>(Ne(),()=>{et.current&&(clearInterval(et.current),et.current=null)}),[Ge]);const ut=(yt,gt)=>z(yt,Object.assign(Object.assign({},gt),{format:De})),xt=yt=>(0,Be.Tm)(yt,{title:void 0});return x.createElement(a,Object.assign({},Ee,{valueRender:xt,formatter:ut}))};var ce=x.memo(ie);a.Countdown=ce;var pe=a},15969:function(Wt,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(Wt,Gt,te){"use strict";te.d(Gt,{default:function(){return Ka}});var x={},ue="rc-table-internal-hook",Be=te(50298),Me=te(6089),Le=te(34280),Oe=te(13697),se=te(59301),ct=te(4676);function ot(me){var ge=se.createContext(void 0),be=function(Ie){var je=Ie.value,vt=Ie.children,Ct=se.useRef(je);Ct.current=je;var it=se.useState(function(){return{getValue:function(){return Ct.current},listeners:new Set}}),_t=(0,Be.Z)(it,1),Ft=_t[0];return(0,Le.Z)(function(){(0,ct.unstable_batchedUpdates)(function(){Ft.listeners.forEach(function(Xt){Xt(je)})})},[je]),se.createElement(ge.Provider,{value:Ft},vt)};return{Context:ge,Provider:be,defaultValue:me}}function Ve(me,ge){var be=(0,Me.Z)(typeof ge=="function"?ge:function(Xt){if(ge===void 0)return Xt;if(!Array.isArray(ge))return Xt[ge];var Ln={};return ge.forEach(function(zt){Ln[zt]=Xt[zt]}),Ln}),ke=se.useContext(me==null?void 0:me.Context),Ie=ke||{},je=Ie.listeners,vt=Ie.getValue,Ct=se.useRef();Ct.current=be(ke?vt():me==null?void 0:me.defaultValue);var it=se.useState({}),_t=(0,Be.Z)(it,2),Ft=_t[1];return(0,Le.Z)(function(){if(!ke)return;function Xt(Ln){var zt=be(Ln);(0,Oe.Z)(Ct.current,zt,!0)||Ft({})}return je.add(Xt),function(){je.delete(Xt)}},[ke]),Ct.current}var Ue=te(14809),tt=te(8654);function $e(){var me=se.createContext(null);function ge(){return se.useContext(me)}function be(Ie,je){var vt=(0,tt.Yr)(Ie),Ct=function(_t,Ft){var Xt=vt?{ref:Ft}:{},Ln=se.useRef(0),zt=se.useRef(_t),At=ge();return At!==null?se.createElement(Ie,(0,Ue.Z)({},_t,Xt)):((!je||je(zt.current,_t))&&(Ln.current+=1),zt.current=_t,se.createElement(me.Provider,{value:Ln.current},se.createElement(Ie,(0,Ue.Z)({},_t,Xt))))};return vt?se.forwardRef(Ct):Ct}function ke(Ie,je){var vt=(0,tt.Yr)(Ie),Ct=function(_t,Ft){var Xt=vt?{ref:Ft}:{};return ge(),se.createElement(Ie,(0,Ue.Z)({},_t,Xt))};return vt?se.memo(se.forwardRef(Ct),je):se.memo(Ct,je)}return{makeImmutable:be,responseImmutable:ke,useImmutableMark:ge}}var le=$e(),y=le.makeImmutable,a=le.responseImmutable,b=le.useImmutableMark,E=$e(),z=E.makeImmutable,ne=E.responseImmutable,re=E.useImmutableMark,ie=ot(),ce=ie;function pe(me,ge){var be=se.useRef(0);be.current+=1;var ke=se.useRef(me),Ie=[];Object.keys(me||{}).map(function(vt){var Ct;(me==null?void 0:me[vt])!==((Ct=ke.current)===null||Ct===void 0?void 0:Ct[vt])&&Ie.push(vt)}),ke.current=me;var je=se.useRef([]);return Ie.length&&(je.current=Ie),se.useDebugValue(be.current),se.useDebugValue(je.current.join(", ")),ge&&console.log("".concat(ge,":"),be.current,je.current),be.current}var Ee=null,Ge=se.memo(function(){var me=pe();return se.createElement("h1",null,"Render Times: ",me)});Ge.displayName="RenderBlock";var De=te(93664),Qe=te(20439),he=te(4635),Te=te(92310),et=te.n(Te),Et=te(80547),Ne=te(97938),ut=te(48736),xt=se.createContext({renderWithProps:!1}),yt=xt,gt="RC_TABLE_KEY";function Yt(me){return me==null?[]:Array.isArray(me)?me:[me]}function wt(me){var ge=[],be={};return me.forEach(function(ke){for(var Ie=ke||{},je=Ie.key,vt=Ie.dataIndex,Ct=je||Yt(vt).join("-")||gt;be[Ct];)Ct="".concat(Ct,"_next");be[Ct]=!0,ge.push(Ct)}),ge}function nn(me){return me!=null}function dn(me){return me&&(0,De.Z)(me)==="object"&&!Array.isArray(me)&&!se.isValidElement(me)}function at(me,ge,be,ke,Ie,je){var vt=se.useContext(yt),Ct=re(),it=(0,Et.Z)(function(){if(nn(ke))return[ke];var _t=ge==null||ge===""?[]:Array.isArray(ge)?ge:[ge],Ft=(0,Ne.Z)(me,_t),Xt=Ft,Ln=void 0;if(Ie){var zt=Ie(Ft,me,be);dn(zt)?(Xt=zt.children,Ln=zt.props,vt.renderWithProps=!0):Xt=zt}return[Xt,Ln]},[Ct,me,ke,ge,Ie,be],function(_t,Ft){if(je){var Xt=(0,Be.Z)(_t,2),Ln=Xt[1],zt=(0,Be.Z)(Ft,2),At=zt[1];return je(At,Ln)}return vt.renderWithProps?!0:!(0,Oe.Z)(_t,Ft,!0)});return it}function qe(me,ge,be,ke){var Ie=me+ge-1;return me<=ke&&Ie>=be}function qt(me,ge){return Ve(ce,function(be){var ke=qe(me,ge||1,be.hoverStartRow,be.hoverEndRow);return[ke,be.onHover]})}var Sn=function(ge){var be=ge.ellipsis,ke=ge.rowType,Ie=ge.children,je,vt=be===!0?{showTitle:!0}:be;return vt&&(vt.showTitle||ke==="header")&&(typeof Ie=="string"||typeof Ie=="number"?je=Ie.toString():se.isValidElement(Ie)&&typeof Ie.props.children=="string"&&(je=Ie.props.children)),je};function Zt(me){var ge,be,ke,Ie,je,vt,Ct,it,_t=me.component,Ft=me.children,Xt=me.ellipsis,Ln=me.scope,zt=me.prefixCls,At=me.className,Un=me.align,Hn=me.record,$n=me.render,Vn=me.dataIndex,qn=me.renderIndex,Fn=me.shouldCellUpdate,Ca=me.index,ba=me.rowType,Za=me.colSpan,Ha=me.rowSpan,ia=me.fixLeft,ya=me.fixRight,Sa=me.firstFixLeft,Gn=me.lastFixLeft,ma=me.firstFixRight,Ma=me.lastFixRight,er=me.appendNode,ar=me.additionalProps,Wa=ar===void 0?{}:ar,mr=me.isSticky,hr="".concat(zt,"-cell"),Wr=Ve(ce,["supportSticky","allColumnsFixedLeft"]),Zr=Wr.supportSticky,ho=Wr.allColumnsFixedLeft,qr=at(Hn,Vn,qn,Ft,$n,Fn),xr=(0,Be.Z)(qr,2),Do=xr[0],Ur=xr[1],So={},ao=typeof ia=="number"&&Zr,$o=typeof ya=="number"&&Zr;ao&&(So.position="sticky",So.left=ia),$o&&(So.position="sticky",So.right=ya);var sr=(ge=(be=(ke=Ur==null?void 0:Ur.colSpan)!==null&&ke!==void 0?ke:Wa.colSpan)!==null&&be!==void 0?be:Za)!==null&&ge!==void 0?ge:1,ur=(Ie=(je=(vt=Ur==null?void 0:Ur.rowSpan)!==null&&vt!==void 0?vt:Wa.rowSpan)!==null&&je!==void 0?je:Ha)!==null&&Ie!==void 0?Ie:1,za=qt(Ca,ur),tr=(0,Be.Z)(za,2),Gr=tr[0],nr=tr[1],cr=function(No){var Io;Hn&&nr(Ca,Ca+ur-1),Wa==null||(Io=Wa.onMouseEnter)===null||Io===void 0||Io.call(Wa,No)},Rr=function(No){var Io;Hn&&nr(-1,-1),Wa==null||(Io=Wa.onMouseLeave)===null||Io===void 0||Io.call(Wa,No)};if(sr===0||ur===0)return null;var Fr=(Ct=Wa.title)!==null&&Ct!==void 0?Ct:Sn({rowType:ba,ellipsis:Xt,children:Do}),ro=et()(hr,At,(it={},(0,he.Z)(it,"".concat(hr,"-fix-left"),ao&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-left-first"),Sa&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-left-last"),Gn&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-left-all"),Gn&&ho&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-right"),$o&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-right-first"),ma&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-right-last"),Ma&&Zr),(0,he.Z)(it,"".concat(hr,"-ellipsis"),Xt),(0,he.Z)(it,"".concat(hr,"-with-append"),er),(0,he.Z)(it,"".concat(hr,"-fix-sticky"),(ao||$o)&&mr&&Zr),(0,he.Z)(it,"".concat(hr,"-row-hover"),!Ur&&Gr),it),Wa.className,Ur==null?void 0:Ur.className),Ao={};Un&&(Ao.textAlign=Un);var Zo=(0,Qe.Z)((0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},So),Wa.style),Ao),Ur==null?void 0:Ur.style),Ro=Do;return(0,De.Z)(Ro)==="object"&&!Array.isArray(Ro)&&!se.isValidElement(Ro)&&(Ro=null),Xt&&(Gn||ma)&&(Ro=se.createElement("span",{className:"".concat(hr,"-content")},Ro)),se.createElement(_t,(0,Ue.Z)({},Ur,Wa,{className:ro,style:Zo,title:Fr,scope:Ln,onMouseEnter:cr,onMouseLeave:Rr,colSpan:sr!==1?sr:null,rowSpan:ur!==1?ur:null}),er,Ro)}var mn=se.memo(Zt);function Ke(me,ge,be,ke,Ie,je){var vt=be[me]||{},Ct=be[ge]||{},it,_t;vt.fixed==="left"?it=ke.left[Ie==="rtl"?ge:me]:Ct.fixed==="right"&&(_t=ke.right[Ie==="rtl"?me:ge]);var Ft=!1,Xt=!1,Ln=!1,zt=!1,At=be[ge+1],Un=be[me-1],Hn=!(je!=null&&je.children);if(Ie==="rtl"){if(it!==void 0){var $n=Un&&Un.fixed==="left";zt=!$n&&Hn}else if(_t!==void 0){var Vn=At&&At.fixed==="right";Ln=!Vn&&Hn}}else if(it!==void 0){var qn=At&&At.fixed==="left";Ft=!qn&&Hn}else if(_t!==void 0){var Fn=Un&&Un.fixed==="right";Xt=!Fn&&Hn}return{fixLeft:it,fixRight:_t,lastFixLeft:Ft,firstFixRight:Xt,lastFixRight:Ln,firstFixLeft:zt,isSticky:ke.isSticky}}var It=se.createContext({}),Ut=It;function Mt(me){var ge=me.className,be=me.index,ke=me.children,Ie=me.colSpan,je=Ie===void 0?1:Ie,vt=me.rowSpan,Ct=me.align,it=Ve(ce,["prefixCls","direction"]),_t=it.prefixCls,Ft=it.direction,Xt=se.useContext(Ut),Ln=Xt.scrollColumnIndex,zt=Xt.stickyOffsets,At=Xt.flattenColumns,Un=Xt.columns,Hn=be+je-1,$n=Hn+1===Ln?je+1:je,Vn=Ke(be,be+$n-1,At,zt,Ft,Un==null?void 0:Un[be]);return se.createElement(mn,(0,Ue.Z)({className:ge,index:be,component:"td",prefixCls:_t,record:null,dataIndex:null,align:Ct,colSpan:$n,rowSpan:vt,render:function(){return ke}},Vn))}var ft=te(62646),rt=["children"];function ze(me){var ge=me.children,be=(0,ft.Z)(me,rt);return se.createElement("tr",be,ge)}function ve(me){var ge=me.children;return ge}ve.Row=ze,ve.Cell=Mt;var fe=ve;function Ye(me){var ge=me.children,be=me.stickyOffsets,ke=me.flattenColumns,Ie=me.columns,je=Ve(ce,"prefixCls"),vt=ke.length-1,Ct=ke[vt],it=se.useMemo(function(){return{stickyOffsets:be,flattenColumns:ke,scrollColumnIndex:Ct!=null&&Ct.scrollbar?vt:null,columns:Ie}},[Ct,ke,vt,be,Ie]);return se.createElement(Ut.Provider,{value:it},se.createElement("tfoot",{className:"".concat(je,"-summary")},ge))}var Lt=ne(Ye),Fe=fe,xe=te(70425),nt=te(29301),Xe=te(29194),Ae=te(24514),pt=te(75152),hn=te(26112);function $t(me,ge,be,ke,Ie,je,vt){me.push({record:ge,indent:be,index:vt});var Ct=je(ge),it=Ie==null?void 0:Ie.has(Ct);if(ge&&Array.isArray(ge[ke])&&it)for(var _t=0;_t<ge[ke].length;_t+=1)$t(me,ge[ke][_t],be+1,ke,Ie,je,_t)}function Ht(me,ge,be,ke){var Ie=se.useMemo(function(){if(be!=null&&be.size){for(var je=[],vt=0;vt<(me==null?void 0:me.length);vt+=1){var Ct=me[vt];$t(je,Ct,0,ge,be,ke,vt)}return je}return me==null?void 0:me.map(function(it,_t){return{record:it,indent:0,index:_t}})},[me,ge,be,ke]);return Ie}function on(me){var ge=me.prefixCls,be=me.children,ke=me.component,Ie=me.cellComponent,je=me.className,vt=me.expanded,Ct=me.colSpan,it=me.isEmpty,_t=Ve(ce,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Ft=_t.scrollbarSize,Xt=_t.fixHeader,Ln=_t.fixColumn,zt=_t.componentWidth,At=_t.horizonScroll,Un=be;return(it?At&&zt:Ln)&&(Un=se.createElement("div",{style:{width:zt-(Xt?Ft:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ge,"-expanded-row-fixed")},Un)),se.createElement(ke,{className:je,style:{display:vt?null:"none"}},se.createElement(mn,{component:Ie,prefixCls:ge,colSpan:Ct},Un))}var gn=on;function _e(me,ge,be,ke){var Ie=Ve(ce,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),je=Ie.flattenColumns,vt=Ie.expandableType,Ct=Ie.expandedKeys,it=Ie.childrenColumnName,_t=Ie.onTriggerExpand,Ft=Ie.rowExpandable,Xt=Ie.onRow,Ln=Ie.expandRowByClick,zt=Ie.rowClassName,At=vt==="nest",Un=vt==="row"&&(!Ft||Ft(me)),Hn=Un||At,$n=Ct&&Ct.has(ge),Vn=it&&me&&me[it],qn=(0,xe.useEvent)(_t),Fn=Xt==null?void 0:Xt(me,be),Ca=Fn==null?void 0:Fn.onClick,ba=function(ya){Ln&&Hn&&_t(me,ya);for(var Sa=arguments.length,Gn=new Array(Sa>1?Sa-1:0),ma=1;ma<Sa;ma++)Gn[ma-1]=arguments[ma];Ca==null||Ca.apply(void 0,[ya].concat(Gn))},Za;typeof zt=="string"?Za=zt:typeof zt=="function"&&(Za=zt(me,be,ke));var Ha=wt(je);return(0,Qe.Z)((0,Qe.Z)({},Ie),{},{columnsKey:Ha,nestExpandable:At,expanded:$n,hasNestChildren:Vn,record:me,onTriggerExpand:qn,rowSupportExpand:Un,expandable:Hn,rowProps:(0,Qe.Z)((0,Qe.Z)({},Fn),{},{className:et()(Za,Fn==null?void 0:Fn.className),onClick:ba})})}function Bt(me,ge,be,ke,Ie){var je=me.record,vt=me.prefixCls,Ct=me.columnsKey,it=me.fixedInfoList,_t=me.expandIconColumnIndex,Ft=me.nestExpandable,Xt=me.indentSize,Ln=me.expandIcon,zt=me.expanded,At=me.hasNestChildren,Un=me.onTriggerExpand,Hn=Ct[be],$n=it[be],Vn;be===(_t||0)&&Ft&&(Vn=se.createElement(se.Fragment,null,se.createElement("span",{style:{paddingLeft:"".concat(Xt*ke,"px")},className:"".concat(vt,"-row-indent indent-level-").concat(ke)}),Ln({prefixCls:vt,expanded:zt,expandable:At,record:je,onExpand:Un})));var qn;return ge.onCell&&(qn=ge.onCell(je,Ie)),{key:Hn,fixedInfo:$n,appendCellNode:Vn,additionalCellProps:qn||{}}}function Ot(me){var ge=me.className,be=me.style,ke=me.record,Ie=me.index,je=me.renderIndex,vt=me.rowKey,Ct=me.indent,it=Ct===void 0?0:Ct,_t=me.rowComponent,Ft=me.cellComponent,Xt=me.scopeCellComponent,Ln=_e(ke,vt,Ie,it),zt=Ln.prefixCls,At=Ln.flattenColumns,Un=Ln.expandedRowClassName,Hn=Ln.expandedRowRender,$n=Ln.rowProps,Vn=Ln.expanded,qn=Ln.rowSupportExpand,Fn=se.useState(!1),Ca=(0,Be.Z)(Fn,2),ba=Ca[0],Za=Ca[1];se.useEffect(function(){Vn&&Za(!0)},[Vn]);var Ha=se.createElement(_t,(0,Ue.Z)({},$n,{"data-row-key":vt,className:et()(ge,"".concat(zt,"-row"),"".concat(zt,"-row-level-").concat(it),$n==null?void 0:$n.className),style:(0,Qe.Z)((0,Qe.Z)({},be),$n==null?void 0:$n.style)}),At.map(function(Gn,ma){var Ma=Gn.render,er=Gn.dataIndex,ar=Gn.className,Wa=Bt(Ln,Gn,ma,it,Ie),mr=Wa.key,hr=Wa.fixedInfo,Wr=Wa.appendCellNode,Zr=Wa.additionalCellProps;return se.createElement(mn,(0,Ue.Z)({className:ar,ellipsis:Gn.ellipsis,align:Gn.align,scope:Gn.rowScope,component:Gn.rowScope?Xt:Ft,prefixCls:zt,key:mr,record:ke,index:Ie,renderIndex:je,dataIndex:er,render:Ma,shouldCellUpdate:Gn.shouldCellUpdate},hr,{appendNode:Wr,additionalProps:Zr}))})),ia;if(qn&&(ba||Vn)){var ya=Hn(ke,Ie,it+1,Vn),Sa=Un&&Un(ke,Ie,it);ia=se.createElement(gn,{expanded:Vn,className:et()("".concat(zt,"-expanded-row"),"".concat(zt,"-expanded-row-level-").concat(it+1),Sa),prefixCls:zt,component:_t,cellComponent:Ft,colSpan:At.length,isEmpty:!1},ya)}return se.createElement(se.Fragment,null,Ha,ia)}Ot.displayName="BodyRow";var ht=ne(Ot);function Dt(me){var ge=me.columnKey,be=me.onColumnResize,ke=se.useRef();return se.useEffect(function(){ke.current&&be(ge,ke.current.offsetWidth)},[]),se.createElement(nt.Z,{data:ge},se.createElement("td",{ref:ke,style:{padding:0,border:0,height:0}},se.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function vn(me){var ge=me.prefixCls,be=me.columnsKey,ke=me.onColumnResize;return se.createElement("tr",{"aria-hidden":"true",className:"".concat(ge,"-measure-row"),style:{height:0,fontSize:0}},se.createElement(nt.Z.Collection,{onBatchResize:function(je){je.forEach(function(vt){var Ct=vt.data,it=vt.size;ke(Ct,it.offsetWidth)})}},be.map(function(Ie){return se.createElement(Dt,{key:Ie,columnKey:Ie,onColumnResize:ke})})))}function yn(me){var ge=me.data,be=me.measureColumnWidth,ke=Ve(ce,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Ie=ke.prefixCls,je=ke.getComponent,vt=ke.onColumnResize,Ct=ke.flattenColumns,it=ke.getRowKey,_t=ke.expandedKeys,Ft=ke.childrenColumnName,Xt=ke.emptyNode,Ln=Ht(ge,Ft,_t,it),zt=se.useRef({renderWithProps:!1}),At=je(["body","wrapper"],"tbody"),Un=je(["body","row"],"tr"),Hn=je(["body","cell"],"td"),$n=je(["body","cell"],"th"),Vn;ge.length?Vn=Ln.map(function(Fn,Ca){var ba=Fn.record,Za=Fn.indent,Ha=Fn.index,ia=it(ba,Ca);return se.createElement(ht,{key:ia,rowKey:ia,record:ba,index:Ca,renderIndex:Ha,rowComponent:Un,cellComponent:Hn,scopeCellComponent:$n,getRowKey:it,indent:Za})}):Vn=se.createElement(gn,{expanded:!0,className:"".concat(Ie,"-placeholder"),prefixCls:Ie,component:Un,cellComponent:Hn,colSpan:Ct.length,isEmpty:!0},Xt);var qn=wt(Ct);return se.createElement(yt.Provider,{value:zt.current},se.createElement(At,{className:"".concat(Ie,"-tbody")},be&&se.createElement(vn,{prefixCls:Ie,columnsKey:qn,onColumnResize:vt}),Vn))}yn.displayName="Body";var Pn=ne(yn),Rn=["expandable"],ta="RC_TABLE_INTERNAL_COL_DEFINE";function aa(me){var ge=me.expandable,be=(0,ft.Z)(me,Rn),ke;return"expandable"in me?ke=(0,Qe.Z)((0,Qe.Z)({},be),ge):ke=be,ke.showExpandColumn===!1&&(ke.expandIconColumnIndex=-1),ke}var _n=["columnType"];function Pa(me){for(var ge=me.colWidths,be=me.columns,ke=me.columCount,Ie=[],je=ke||be.length,vt=!1,Ct=je-1;Ct>=0;Ct-=1){var it=ge[Ct],_t=be&&be[Ct],Ft=_t&&_t[ta];if(it||Ft||vt){var Xt=Ft||{},Ln=Xt.columnType,zt=(0,ft.Z)(Xt,_n);Ie.unshift(se.createElement("col",(0,Ue.Z)({key:Ct,style:{width:it}},zt))),vt=!0}}return se.createElement("colgroup",null,Ie)}var Ea=Pa,Zn=te(95190),wa=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function en(me,ge){return(0,se.useMemo)(function(){for(var be=[],ke=0;ke<ge;ke+=1){var Ie=me[ke];if(Ie!==void 0)be[ke]=Ie;else return null}return be},[me.join("_"),ge])}var bn=se.forwardRef(function(me,ge){var be=me.className,ke=me.noData,Ie=me.columns,je=me.flattenColumns,vt=me.colWidths,Ct=me.columCount,it=me.stickyOffsets,_t=me.direction,Ft=me.fixHeader,Xt=me.stickyTopOffset,Ln=me.stickyBottomOffset,zt=me.stickyClassName,At=me.onScroll,Un=me.maxContentScroll,Hn=me.children,$n=(0,ft.Z)(me,wa),Vn=Ve(ce,["prefixCls","scrollbarSize","isSticky"]),qn=Vn.prefixCls,Fn=Vn.scrollbarSize,Ca=Vn.isSticky,ba=Ca&&!Ft?0:Fn,Za=se.useRef(null),Ha=se.useCallback(function(ar){(0,tt.mH)(ge,ar),(0,tt.mH)(Za,ar)},[]);se.useEffect(function(){var ar;function Wa(mr){var hr=mr,Wr=hr.currentTarget,Zr=hr.deltaX;Zr&&(At({currentTarget:Wr,scrollLeft:Wr.scrollLeft+Zr}),mr.preventDefault())}return(ar=Za.current)===null||ar===void 0||ar.addEventListener("wheel",Wa),function(){var mr;(mr=Za.current)===null||mr===void 0||mr.removeEventListener("wheel",Wa)}},[]);var ia=se.useMemo(function(){return je.every(function(ar){return ar.width})},[je]),ya=je[je.length-1],Sa={fixed:ya?ya.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(qn,"-cell-scrollbar")}}},Gn=(0,se.useMemo)(function(){return ba?[].concat((0,Zn.Z)(Ie),[Sa]):Ie},[ba,Ie]),ma=(0,se.useMemo)(function(){return ba?[].concat((0,Zn.Z)(je),[Sa]):je},[ba,je]),Ma=(0,se.useMemo)(function(){var ar=it.right,Wa=it.left;return(0,Qe.Z)((0,Qe.Z)({},it),{},{left:_t==="rtl"?[].concat((0,Zn.Z)(Wa.map(function(mr){return mr+ba})),[0]):Wa,right:_t==="rtl"?ar:[].concat((0,Zn.Z)(ar.map(function(mr){return mr+ba})),[0]),isSticky:Ca})},[ba,it,Ca]),er=en(vt,Ct);return se.createElement("div",{style:(0,Qe.Z)({overflow:"hidden"},Ca?{top:Xt,bottom:Ln}:{}),ref:Ha,className:et()(be,(0,he.Z)({},zt,!!zt))},se.createElement("table",{style:{tableLayout:"fixed",visibility:ke||er?null:"hidden"}},(!ke||!Un||ia)&&se.createElement(Ea,{colWidths:er?[].concat((0,Zn.Z)(er),[ba]):[],columCount:Ct+1,columns:ma}),Hn((0,Qe.Z)((0,Qe.Z)({},$n),{},{stickyOffsets:Ma,columns:Gn,flattenColumns:ma}))))});bn.displayName="FixedHolder";var Mn=se.memo(bn);function Qn(me){var ge=me.cells,be=me.stickyOffsets,ke=me.flattenColumns,Ie=me.rowComponent,je=me.cellComponent,vt=me.tdCellComponent,Ct=me.onHeaderRow,it=me.index,_t=Ve(ce,["prefixCls","direction"]),Ft=_t.prefixCls,Xt=_t.direction,Ln;Ct&&(Ln=Ct(ge.map(function(At){return At.column}),it));var zt=wt(ge.map(function(At){return At.column}));return se.createElement(Ie,Ln,ge.map(function(At,Un){var Hn=At.column,$n=Ke(At.colStart,At.colEnd,ke,be,Xt,Hn),Vn;return Hn&&Hn.onHeaderCell&&(Vn=At.column.onHeaderCell(Hn)),se.createElement(mn,(0,Ue.Z)({},At,{scope:Hn.title?At.colSpan>1?"colgroup":"col":null,ellipsis:Hn.ellipsis,align:Hn.align,component:Hn.title?je:vt,prefixCls:Ft,key:zt[Un]},$n,{additionalProps:Vn,rowType:"header"}))}))}Qn.displayName="HeaderRow";var Ze=Qn;function Nt(me){var ge=[];function be(vt,Ct){var it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ge[it]=ge[it]||[];var _t=Ct,Ft=vt.filter(Boolean).map(function(Xt){var Ln={key:Xt.key,className:Xt.className||"",children:Xt.title,column:Xt,colStart:_t},zt=1,At=Xt.children;return At&&At.length>0&&(zt=be(At,_t,it+1).reduce(function(Un,Hn){return Un+Hn},0),Ln.hasSubColumns=!0),"colSpan"in Xt&&(zt=Xt.colSpan),"rowSpan"in Xt&&(Ln.rowSpan=Xt.rowSpan),Ln.colSpan=zt,Ln.colEnd=Ln.colStart+zt-1,ge[it].push(Ln),_t+=zt,zt});return Ft}be(me,0);for(var ke=ge.length,Ie=function(Ct){ge[Ct].forEach(function(it){!("rowSpan"in it)&&!it.hasSubColumns&&(it.rowSpan=ke-Ct)})},je=0;je<ke;je+=1)Ie(je);return ge}function kt(me){var ge=me.stickyOffsets,be=me.columns,ke=me.flattenColumns,Ie=me.onHeaderRow,je=Ve(ce,["prefixCls","getComponent"]),vt=je.prefixCls,Ct=je.getComponent,it=se.useMemo(function(){return Nt(be)},[be]),_t=Ct(["header","wrapper"],"thead"),Ft=Ct(["header","row"],"tr"),Xt=Ct(["header","cell"],"th"),Ln=Ct(["header","cell"],"td");return se.createElement(_t,{className:"".concat(vt,"-thead")},it.map(function(zt,At){var Un=se.createElement(Ze,{key:At,flattenColumns:ke,cells:zt,stickyOffsets:ge,rowComponent:Ft,cellComponent:Xt,tdCellComponent:Ln,onHeaderRow:Ie,index:At});return Un}))}var Kt=ne(kt),tn=te(11592);function jt(me){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ge=="number"?ge:ge.endsWith("%")?me*parseFloat(ge)/100:null}function fn(me,ge){return se.useMemo(function(){if(ge&&ge>0){var be=0,ke=0;me.forEach(function(_t){var Ft=jt(ge,_t.width);Ft?be+=Ft:ke+=1});var Ie=ge-be,je=ke,vt=Ie/ke,Ct=0,it=me.map(function(_t){var Ft=(0,Qe.Z)({},_t),Xt=jt(ge,Ft.width);if(Xt)Ft.width=Xt;else{var Ln=Math.floor(vt);Ft.width=je===1?Ie:Ln,Ie-=Ln,je-=1}return Ct+=Ft.width,Ft});return[it,Ct]}return[me,ge]},[me,ge])}var st=["children"],St=["fixed"];function dt(me){return(0,tn.Z)(me).filter(function(ge){return se.isValidElement(ge)}).map(function(ge){var be=ge.key,ke=ge.props,Ie=ke.children,je=(0,ft.Z)(ke,st),vt=(0,Qe.Z)({key:be},je);return Ie&&(vt.children=dt(Ie)),vt})}function ln(me){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return me.filter(function(be){return be&&(0,De.Z)(be)==="object"}).reduce(function(be,ke,Ie){var je=ke.fixed,vt=je===!0?"left":je,Ct="".concat(ge,"-").concat(Ie),it=ke.children;return it&&it.length>0?[].concat((0,Zn.Z)(be),(0,Zn.Z)(ln(it,Ct).map(function(_t){return(0,Qe.Z)({fixed:vt},_t)}))):[].concat((0,Zn.Z)(be),[(0,Qe.Z)((0,Qe.Z)({key:Ct},ke),{},{fixed:vt})])},[])}function Nn(me){for(var ge=!0,be=0;be<me.length;be+=1){var ke=me[be];if(ge&&ke.fixed!=="left")ge=!1;else if(!ge&&ke.fixed==="left"){warning(!1,"Index ".concat(be-1," of `columns` missing `fixed='left'` prop."));break}}for(var Ie=!0,je=me.length-1;je>=0;je-=1){var vt=me[je];if(Ie&&vt.fixed!=="right")Ie=!1;else if(!Ie&&vt.fixed==="right"){warning(!1,"Index ".concat(je+1," of `columns` missing `fixed='right'` prop."));break}}}function Cn(me){return me.map(function(ge){var be=ge.fixed,ke=(0,ft.Z)(ge,St),Ie=be;return be==="left"?Ie="right":be==="right"&&(Ie="left"),(0,Qe.Z)({fixed:Ie},ke)})}function la(me,ge){var be=me.prefixCls,ke=me.columns,Ie=me.children,je=me.expandable,vt=me.expandedKeys,Ct=me.columnTitle,it=me.getRowKey,_t=me.onTriggerExpand,Ft=me.expandIcon,Xt=me.rowExpandable,Ln=me.expandIconColumnIndex,zt=me.direction,At=me.expandRowByClick,Un=me.columnWidth,Hn=me.fixed,$n=me.scrollWidth,Vn=se.useMemo(function(){return ke||dt(Ie)},[ke,Ie]),qn=se.useMemo(function(){if(je){var ya,Sa=Vn.slice();if(!Sa.includes(x)){var Gn=Ln||0;Gn>=0&&Sa.splice(Gn,0,x)}var ma=Sa.indexOf(x);Sa=Sa.filter(function(Wa,mr){return Wa!==x||mr===ma});var Ma=Vn[ma],er;(Hn==="left"||Hn)&&!Ln?er="left":(Hn==="right"||Hn)&&Ln===Vn.length?er="right":er=Ma?Ma.fixed:null;var ar=(ya={},(0,he.Z)(ya,ta,{className:"".concat(be,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,he.Z)(ya,"title",Ct),(0,he.Z)(ya,"fixed",er),(0,he.Z)(ya,"className","".concat(be,"-row-expand-icon-cell")),(0,he.Z)(ya,"width",Un),(0,he.Z)(ya,"render",function(mr,hr,Wr){var Zr=it(hr,Wr),ho=vt.has(Zr),qr=Xt?Xt(hr):!0,xr=Ft({prefixCls:be,expanded:ho,expandable:qr,record:hr,onExpand:_t});return At?se.createElement("span",{onClick:function(Ur){return Ur.stopPropagation()}},xr):xr}),ya);return Sa.map(function(Wa){return Wa===x?ar:Wa})}return Vn.filter(function(Wa){return Wa!==x})},[je,Vn,it,vt,Ft,zt]),Fn=se.useMemo(function(){var ya=qn;return ge&&(ya=ge(ya)),ya.length||(ya=[{render:function(){return null}}]),ya},[ge,qn,zt]),Ca=se.useMemo(function(){return zt==="rtl"?Cn(ln(Fn)):ln(Fn)},[Fn,zt,$n]),ba=fn(Ca,$n),Za=(0,Be.Z)(ba,2),Ha=Za[0],ia=Za[1];return[Fn,Ha,ia]}var jn=la;function lt(me){var ge,be=me.prefixCls,ke=me.record,Ie=me.onExpand,je=me.expanded,vt=me.expandable,Ct="".concat(be,"-row-expand-icon");if(!vt)return se.createElement("span",{className:et()(Ct,"".concat(be,"-row-spaced"))});var it=function(Ft){Ie(ke,Ft),Ft.stopPropagation()};return se.createElement("span",{className:et()(Ct,(ge={},(0,he.Z)(ge,"".concat(be,"-row-expanded"),je),(0,he.Z)(ge,"".concat(be,"-row-collapsed"),!je),ge)),onClick:it})}function Jt(me,ge,be){var ke=[];function Ie(je){(je||[]).forEach(function(vt,Ct){ke.push(ge(vt,Ct)),Ie(vt[be])})}return Ie(me),ke}function Jn(me,ge,be){var ke=aa(me),Ie=ke.expandIcon,je=ke.expandedRowKeys,vt=ke.defaultExpandedRowKeys,Ct=ke.defaultExpandAllRows,it=ke.expandedRowRender,_t=ke.onExpand,Ft=ke.onExpandedRowsChange,Xt=ke.childrenColumnName,Ln=Ie||lt,zt=Xt||"children",At=se.useMemo(function(){return it?"row":me.expandable&&me.internalHooks===ue&&me.expandable.__PARENT_RENDER_ICON__||ge.some(function(Ca){return Ca&&(0,De.Z)(Ca)==="object"&&Ca[zt]})?"nest":!1},[!!it,ge]),Un=se.useState(function(){return vt||(Ct?Jt(ge,be,zt):[])}),Hn=(0,Be.Z)(Un,2),$n=Hn[0],Vn=Hn[1],qn=se.useMemo(function(){return new Set(je||$n||[])},[je,$n]),Fn=se.useCallback(function(Ca){var ba=be(Ca,ge.indexOf(Ca)),Za,Ha=qn.has(ba);Ha?(qn.delete(ba),Za=(0,Zn.Z)(qn)):Za=[].concat((0,Zn.Z)(qn),[ba]),Vn(Za),_t&&_t(!Ha,Ca),Ft&&Ft(Za)},[be,qn,ge,_t,Ft]);return[ke,At,qn,Ln,zt,Fn]}function sn(me,ge,be,ke){var Ie=me.map(function(je,vt){return Ke(vt,vt,me,ge,be,ke==null?void 0:ke[vt])});return(0,Et.Z)(function(){return Ie},[Ie],function(je,vt){return!(0,Oe.Z)(je,vt)})}function zn(me){var ge=(0,se.useRef)(me),be=(0,se.useState)({}),ke=(0,Be.Z)(be,2),Ie=ke[1],je=(0,se.useRef)(null),vt=(0,se.useRef)([]);function Ct(it){vt.current.push(it);var _t=Promise.resolve();je.current=_t,_t.then(function(){if(je.current===_t){var Ft=vt.current,Xt=ge.current;vt.current=[],Ft.forEach(function(Ln){ge.current=Ln(ge.current)}),je.current=null,Xt!==ge.current&&Ie({})}})}return(0,se.useEffect)(function(){return function(){je.current=null}},[]),[ge.current,Ct]}function na(me){var ge=(0,se.useRef)(me||null),be=(0,se.useRef)();function ke(){window.clearTimeout(be.current)}function Ie(vt){ge.current=vt,ke(),be.current=window.setTimeout(function(){ge.current=null,be.current=void 0},100)}function je(){return ge.current}return(0,se.useEffect)(function(){return ke},[]),[Ie,je]}function La(){var me=se.useState(-1),ge=(0,Be.Z)(me,2),be=ge[0],ke=ge[1],Ie=se.useState(-1),je=(0,Be.Z)(Ie,2),vt=je[0],Ct=je[1],it=se.useCallback(function(_t,Ft){ke(_t),Ct(Ft)},[]);return[be,vt,it]}var sa=te(47273),He=(0,sa.Z)()?window:null;function rn(me,ge){var be=(0,De.Z)(me)==="object"?me:{},ke=be.offsetHeader,Ie=ke===void 0?0:ke,je=be.offsetSummary,vt=je===void 0?0:je,Ct=be.offsetScroll,it=Ct===void 0?0:Ct,_t=be.getContainer,Ft=_t===void 0?function(){return He}:_t,Xt=Ft()||He;return se.useMemo(function(){var Ln=!!me;return{isSticky:Ln,stickyClassName:Ln?"".concat(ge,"-sticky-holder"):"",offsetHeader:Ie,offsetSummary:vt,offsetScroll:it,container:Xt}},[it,Ie,vt,ge,Xt])}function Qt(me,ge,be){var ke=(0,se.useMemo)(function(){for(var Ie=[],je=[],vt=0,Ct=0,it=0;it<ge;it+=1)if(be==="rtl"){je[it]=Ct,Ct+=me[it]||0;var _t=ge-it-1;Ie[_t]=vt,vt+=me[_t]||0}else{Ie[it]=vt,vt+=me[it]||0;var Ft=ge-it-1;je[Ft]=Ct,Ct+=me[Ft]||0}return{left:Ie,right:je}},[me,ge,be]);return ke}var En=Qt;function In(me){var ge=me.className,be=me.children;return se.createElement("div",{className:ge},be)}var kn=In,An=te(8224),Dn=te(55468),Fa=function(ge,be){var ke,Ie,je=ge.scrollBodyRef,vt=ge.onScroll,Ct=ge.offsetScroll,it=ge.container,_t=Ve(ce,"prefixCls"),Ft=((ke=je.current)===null||ke===void 0?void 0:ke.scrollWidth)||0,Xt=((Ie=je.current)===null||Ie===void 0?void 0:Ie.clientWidth)||0,Ln=Ft&&Xt*(Xt/Ft),zt=se.useRef(),At=zn({scrollLeft:0,isHiddenScrollBar:!1}),Un=(0,Be.Z)(At,2),Hn=Un[0],$n=Un[1],Vn=se.useRef({delta:0,x:0}),qn=se.useState(!1),Fn=(0,Be.Z)(qn,2),Ca=Fn[0],ba=Fn[1],Za=function(){ba(!1)},Ha=function(ma){ma.persist(),Vn.current.delta=ma.pageX-Hn.scrollLeft,Vn.current.x=0,ba(!0),ma.preventDefault()},ia=function(ma){var Ma,er=ma||((Ma=window)===null||Ma===void 0?void 0:Ma.event),ar=er.buttons;if(!Ca||ar===0){Ca&&ba(!1);return}var Wa=Vn.current.x+ma.pageX-Vn.current.x-Vn.current.delta;Wa<=0&&(Wa=0),Wa+Ln>=Xt&&(Wa=Xt-Ln),vt({scrollLeft:Wa/Xt*(Ft+2)}),Vn.current.x=ma.pageX},ya=function(){if(je.current){var ma=(0,Dn.os)(je.current).top,Ma=ma+je.current.offsetHeight,er=it===window?document.documentElement.scrollTop+window.innerHeight:(0,Dn.os)(it).top+it.clientHeight;Ma-(0,pt.Z)()<=er||ma>=er-Ct?$n(function(ar){return(0,Qe.Z)((0,Qe.Z)({},ar),{},{isHiddenScrollBar:!0})}):$n(function(ar){return(0,Qe.Z)((0,Qe.Z)({},ar),{},{isHiddenScrollBar:!1})})}},Sa=function(ma){$n(function(Ma){return(0,Qe.Z)((0,Qe.Z)({},Ma),{},{scrollLeft:ma/Ft*Xt||0})})};return se.useImperativeHandle(be,function(){return{setScrollLeft:Sa}}),se.useEffect(function(){var Gn=(0,An.Z)(document.body,"mouseup",Za,!1),ma=(0,An.Z)(document.body,"mousemove",ia,!1);return ya(),function(){Gn.remove(),ma.remove()}},[Ln,Ca]),se.useEffect(function(){var Gn=(0,An.Z)(it,"scroll",ya,!1),ma=(0,An.Z)(window,"resize",ya,!1);return function(){Gn.remove(),ma.remove()}},[it]),se.useEffect(function(){Hn.isHiddenScrollBar||$n(function(Gn){var ma=je.current;return ma?(0,Qe.Z)((0,Qe.Z)({},Gn),{},{scrollLeft:ma.scrollLeft/ma.scrollWidth*ma.clientWidth}):Gn})},[Hn.isHiddenScrollBar]),Ft<=Xt||!Ln||Hn.isHiddenScrollBar?null:se.createElement("div",{style:{height:(0,pt.Z)(),width:Xt,bottom:Ct},className:"".concat(_t,"-sticky-scroll")},se.createElement("div",{onMouseDown:Ha,ref:zt,className:et()("".concat(_t,"-sticky-scroll-bar"),(0,he.Z)({},"".concat(_t,"-sticky-scroll-bar-active"),Ca)),style:{width:"".concat(Ln,"px"),transform:"translate3d(".concat(Hn.scrollLeft,"px, 0, 0)")}}))},Oa=se.forwardRef(Fa);function pn(me){return null}var Na=pn;function Yn(me){return null}var qa=Yn,$a="rc-table",Wn=[],ua={};function fa(){return"No Data"}function ra(me){var ge,be=(0,Qe.Z)({rowKey:"key",prefixCls:$a,emptyText:fa},me),ke=be.prefixCls,Ie=be.className,je=be.rowClassName,vt=be.style,Ct=be.data,it=be.rowKey,_t=be.scroll,Ft=be.tableLayout,Xt=be.direction,Ln=be.title,zt=be.footer,At=be.summary,Un=be.caption,Hn=be.id,$n=be.showHeader,Vn=be.components,qn=be.emptyText,Fn=be.onRow,Ca=be.onHeaderRow,ba=be.internalHooks,Za=be.transformColumns,Ha=be.internalRefs,ia=be.tailor,ya=be.sticky,Sa=Ct||Wn,Gn=!!Sa.length,ma=ba===ue,Ma=se.useCallback(function($r,wo){return(0,Ne.Z)(Vn,$r)||wo},[Vn]),er=se.useMemo(function(){return typeof it=="function"?it:function($r){var wo=$r&&$r[it];return wo}},[it]),ar=Ma(["body"]),Wa=La(),mr=(0,Be.Z)(Wa,3),hr=mr[0],Wr=mr[1],Zr=mr[2],ho=Jn(be,Sa,er),qr=(0,Be.Z)(ho,6),xr=qr[0],Do=qr[1],Ur=qr[2],So=qr[3],ao=qr[4],$o=qr[5],sr=_t==null?void 0:_t.x,ur=se.useState(0),za=(0,Be.Z)(ur,2),tr=za[0],Gr=za[1],nr=jn((0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},be),xr),{},{expandable:!!xr.expandedRowRender,columnTitle:xr.columnTitle,expandedKeys:Ur,getRowKey:er,onTriggerExpand:$o,expandIcon:So,expandIconColumnIndex:xr.expandIconColumnIndex,direction:Xt,scrollWidth:ma&&ia&&typeof sr=="number"?sr:null}),ma?Za:null),cr=(0,Be.Z)(nr,3),Rr=cr[0],Fr=cr[1],ro=cr[2],Ao=ro!=null?ro:sr,Zo=se.useMemo(function(){return{columns:Rr,flattenColumns:Fr}},[Rr,Fr]),Ro=se.useRef(),ci=se.useRef(),No=se.useRef(),Io=se.useRef(),Ai=se.useRef(),Xr=se.useState(!1),eo=(0,Be.Z)(Xr,2),co=eo[0],Eo=eo[1],oo=se.useState(!1),Tr=(0,Be.Z)(oo,2),Ko=Tr[0],Vo=Tr[1],ca=zn(new Map),Ja=(0,Be.Z)(ca,2),Pr=Ja[0],Er=Ja[1],Nr=wt(Fr),_r=Nr.map(function($r){return Pr.get($r)}),io=se.useMemo(function(){return _r},[_r.join("_")]),bo=En(io,Fr.length,Xt),lo=_t&&nn(_t.y),po=_t&&nn(Ao)||!!xr.fixed,ii=po&&Fr.some(function($r){var wo=$r.fixed;return wo}),zo=se.useRef(),ni=rn(ya,ke),qo=ni.isSticky,fi=ni.offsetHeader,Xi=ni.offsetSummary,Kr=ni.offsetScroll,fo=ni.stickyClassName,Mo=ni.container,Co=se.useMemo(function(){return At==null?void 0:At(Sa)},[At,Sa]),Wo=(lo||qo)&&se.isValidElement(Co)&&Co.type===fe&&Co.props.fixed,Uo,Xo,Si;lo&&(Xo={overflowY:"scroll",maxHeight:_t.y}),po&&(Uo={overflowX:"auto"},lo||(Xo={overflowY:"hidden"}),Si={width:Ao===!0?"auto":Ao,minWidth:"100%"});var zi=se.useCallback(function($r,wo){(0,Xe.Z)(Ro.current)&&Er(function(Pi){if(Pi.get($r)!==wo){var _i=new Map(Pi);return _i.set($r,wo),_i}return Pi})},[]),zl=na(null),ml=(0,Be.Z)(zl,2),fl=ml[0],pl=ml[1];function Yi($r,wo){wo&&(typeof wo=="function"?wo($r):wo.scrollLeft!==$r&&(wo.scrollLeft=$r,wo.scrollLeft!==$r&&setTimeout(function(){wo.scrollLeft=$r},0)))}var vl=(0,Me.Z)(function($r){var wo=$r.currentTarget,Pi=$r.scrollLeft,_i=Xt==="rtl",ji=typeof Pi=="number"?Pi:wo.scrollLeft,Vl=wo||ua;if(!pl()||pl()===Vl){var Ps;fl(Vl),Yi(ji,ci.current),Yi(ji,No.current),Yi(ji,Ai.current),Yi(ji,(Ps=zo.current)===null||Ps===void 0?void 0:Ps.setScrollLeft)}var ys=wo||ci.current;if(ys){var Es=ys.scrollWidth,bs=ys.clientWidth;if(Es===bs){Eo(!1),Vo(!1);return}_i?(Eo(-ji<Es-bs),Vo(-ji>0)):(Eo(ji>0),Vo(ji<Es-bs))}}),Is=function(){po&&No.current?vl({currentTarget:No.current}):(Eo(!1),Vo(!1))},cu=function(wo){var Pi=wo.width;Pi!==tr&&(Is(),Gr(Ro.current?Ro.current.offsetWidth:Pi))},qi=se.useRef(!1);se.useEffect(function(){qi.current&&Is()},[po,Ct,Rr.length]),se.useEffect(function(){qi.current=!0},[]);var Qs=se.useState(0),_l=(0,Be.Z)(Qs,2),jl=_l[0],Ls=_l[1],Js=se.useState(!0),Hl=(0,Be.Z)(Js,2),fs=Hl[0],$s=Hl[1];se.useEffect(function(){(!ia||!ma)&&(No.current instanceof Element?Ls((0,pt.o)(No.current).width):Ls((0,pt.o)(Io.current).width)),$s((0,Ae.G)("position","sticky"))},[]),se.useEffect(function(){ma&&Ha&&(Ha.body.current=No.current)});var Xs=se.useCallback(function($r){return se.createElement(se.Fragment,null,se.createElement(Kt,$r),Wo==="top"&&se.createElement(Lt,$r,Co))},[Wo,Co]),Ys=se.useCallback(function($r){return se.createElement(Lt,$r,Co)},[Co]),Os=Ma(["table"],"table"),Gl=se.useMemo(function(){return Ft||(ii?Ao==="max-content"?"auto":"fixed":lo||qo||Fr.some(function($r){var wo=$r.ellipsis;return wo})?"fixed":"auto")},[lo,ii,Fr,Ft,qo]),ps,vs={colWidths:io,columCount:Fr.length,stickyOffsets:bo,onHeaderRow:Ca,fixHeader:lo,scroll:_t},Rs=se.useMemo(function(){return Gn?null:typeof qn=="function"?qn():qn},[Gn,qn]),hl=se.createElement(Pn,{data:Sa,measureColumnWidth:lo||po||qo}),Ts=se.createElement(Ea,{colWidths:Fr.map(function($r){var wo=$r.width;return wo}),columns:Fr}),hs=Un!=null?se.createElement("caption",{className:"".concat(ke,"-caption")},Un):void 0,Kl=(0,hn.Z)(be,{data:!0}),Ss=(0,hn.Z)(be,{aria:!0});if(lo||qo){var Wl;typeof ar=="function"?(Wl=ar(Sa,{scrollbarSize:jl,ref:No,onScroll:vl}),vs.colWidths=Fr.map(function($r,wo){var Pi=$r.width,_i=wo===Fr.length-1?Pi-jl:Pi;return typeof _i=="number"&&!Number.isNaN(_i)?_i:0})):Wl=se.createElement("div",{style:(0,Qe.Z)((0,Qe.Z)({},Uo),Xo),onScroll:vl,ref:No,className:et()("".concat(ke,"-body"))},se.createElement(Os,(0,Ue.Z)({style:(0,Qe.Z)((0,Qe.Z)({},Si),{},{tableLayout:Gl})},Ss),hs,Ts,hl,!Wo&&Co&&se.createElement(Lt,{stickyOffsets:bo,flattenColumns:Fr,columns:Rr},Co)));var Ms=(0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({noData:!Sa.length,maxContentScroll:po&&Ao==="max-content"},vs),Zo),{},{direction:Xt,stickyClassName:fo,onScroll:vl});ps=se.createElement(se.Fragment,null,$n!==!1&&se.createElement(Mn,(0,Ue.Z)({},Ms,{stickyTopOffset:fi,className:"".concat(ke,"-header"),ref:ci}),Xs),Wl,Wo&&Wo!=="top"&&se.createElement(Mn,(0,Ue.Z)({},Ms,{stickyBottomOffset:Xi,className:"".concat(ke,"-summary"),ref:Ai}),Ys),qo&&se.createElement(Oa,{ref:zo,offsetScroll:Kr,scrollBodyRef:No,onScroll:vl,container:Mo}))}else ps=se.createElement("div",{style:(0,Qe.Z)((0,Qe.Z)({},Uo),Xo),className:et()("".concat(ke,"-content")),onScroll:vl,ref:No},se.createElement(Os,(0,Ue.Z)({style:(0,Qe.Z)((0,Qe.Z)({},Si),{},{tableLayout:Gl})},Ss),hs,Ts,$n!==!1&&se.createElement(Kt,(0,Ue.Z)({},vs,Zo)),hl,Co&&se.createElement(Lt,{stickyOffsets:bo,flattenColumns:Fr,columns:Rr},Co)));var Ul=se.createElement("div",(0,Ue.Z)({className:et()(ke,Ie,(ge={},(0,he.Z)(ge,"".concat(ke,"-rtl"),Xt==="rtl"),(0,he.Z)(ge,"".concat(ke,"-ping-left"),co),(0,he.Z)(ge,"".concat(ke,"-ping-right"),Ko),(0,he.Z)(ge,"".concat(ke,"-layout-fixed"),Ft==="fixed"),(0,he.Z)(ge,"".concat(ke,"-fixed-header"),lo),(0,he.Z)(ge,"".concat(ke,"-fixed-column"),ii),(0,he.Z)(ge,"".concat(ke,"-scroll-horizontal"),po),(0,he.Z)(ge,"".concat(ke,"-has-fix-left"),Fr[0]&&Fr[0].fixed),(0,he.Z)(ge,"".concat(ke,"-has-fix-right"),Fr[Fr.length-1]&&Fr[Fr.length-1].fixed==="right"),ge)),style:vt,id:Hn,ref:Ro},Kl),Ln&&se.createElement(kn,{className:"".concat(ke,"-title")},Ln(Sa)),se.createElement("div",{ref:Io,className:"".concat(ke,"-container")},ps),zt&&se.createElement(kn,{className:"".concat(ke,"-footer")},zt(Sa)));po&&(Ul=se.createElement(nt.Z,{onResize:cu},Ul));var ks=sn(Fr,bo,Xt,Rr),qs=se.useMemo(function(){return{scrollX:Ao,prefixCls:ke,getComponent:Ma,scrollbarSize:jl,direction:Xt,fixedInfoList:ks,isSticky:qo,supportSticky:fs,componentWidth:tr,fixHeader:lo,fixColumn:ii,horizonScroll:po,tableLayout:Gl,rowClassName:je,expandedRowClassName:xr.expandedRowClassName,expandIcon:So,expandableType:Do,expandRowByClick:xr.expandRowByClick,expandedRowRender:xr.expandedRowRender,onTriggerExpand:$o,expandIconColumnIndex:xr.expandIconColumnIndex,indentSize:xr.indentSize,allColumnsFixedLeft:Fr.every(function($r){return $r.fixed==="left"}),emptyNode:Rs,columns:Rr,flattenColumns:Fr,onColumnResize:zi,hoverStartRow:hr,hoverEndRow:Wr,onHover:Zr,rowExpandable:xr.rowExpandable,onRow:Fn,getRowKey:er,expandedKeys:Ur,childrenColumnName:ao}},[Ao,ke,Ma,jl,Xt,ks,qo,fs,tr,lo,ii,po,Gl,je,xr.expandedRowClassName,So,Do,xr.expandRowByClick,xr.expandedRowRender,$o,xr.expandIconColumnIndex,xr.indentSize,Rs,Rr,Fr,zi,hr,Wr,Zr,xr.rowExpandable,Fn,er,Ur,ao]);return se.createElement(ce.Provider,{value:qs},Ul)}function Ua(me){return z(ra,me)}var rr=Ua();rr.EXPAND_COLUMN=x,rr.INTERNAL_HOOKS=ue,rr.Column=Na,rr.ColumnGroup=qa,rr.Summary=Fe;var Ga=rr,_a=te(6790),lr=ot(null),Vr=ot(null);function Ir(me,ge,be){var ke=ge||1;return be[me+ke]-(be[me]||0)}function uo(me){var ge=me.rowInfo,be=me.column,ke=me.colIndex,Ie=me.indent,je=me.index,vt=me.renderIndex,Ct=me.record,it=me.style,_t=me.className,Ft=me.inverse,Xt=me.getHeight,Ln=be.render,zt=be.dataIndex,At=be.className,Un=be.width,Hn=Ve(Vr,["columnsOffset"]),$n=Hn.columnsOffset,Vn=Bt(ge,be,ke,Ie,je),qn=Vn.key,Fn=Vn.fixedInfo,Ca=Vn.appendCellNode,ba=Vn.additionalCellProps,Za=ba.style,Ha=ba.colSpan,ia=Ha===void 0?1:Ha,ya=ba.rowSpan,Sa=ya===void 0?1:ya,Gn=ke-1,ma=Ir(Gn,ia,$n),Ma=ia>1?Un-ma:0,er=(0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},Za),it),{},{flex:"0 0 ".concat(ma,"px"),width:"".concat(ma,"px"),marginRight:Ma,pointerEvents:"auto"}),ar=se.useMemo(function(){return Ft?Sa<=1:ia===0||Sa===0||Sa>1},[Sa,ia,Ft]);ar?er.visibility="hidden":Ft&&(er.height=Xt==null?void 0:Xt(Sa));var Wa=ar?function(){return null}:Ln,mr={};return(Sa===0||ia===0)&&(mr.rowSpan=1,mr.colSpan=1),se.createElement(mn,(0,Ue.Z)({className:et()(At,_t),ellipsis:be.ellipsis,align:be.align,scope:be.rowScope,component:"div",prefixCls:ge.prefixCls,key:qn,record:Ct,index:je,renderIndex:vt,dataIndex:zt,render:Wa,shouldCellUpdate:be.shouldCellUpdate},Fn,{appendNode:Ca,additionalProps:(0,Qe.Z)((0,Qe.Z)({},ba),{},{style:er},mr)}))}var yr=uo,Sr=["data","index","className","rowKey","style","extra","getHeight"],Ar=se.forwardRef(function(me,ge){var be=me.data,ke=me.index,Ie=me.className,je=me.rowKey,vt=me.style,Ct=me.extra,it=me.getHeight,_t=(0,ft.Z)(me,Sr),Ft=be.record,Xt=be.indent,Ln=be.index,zt=Ve(ce,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),At=zt.scrollX,Un=zt.flattenColumns,Hn=zt.prefixCls,$n=zt.fixColumn,Vn=zt.componentWidth,qn=_e(Ft,je,ke,Xt),Fn=qn.rowSupportExpand,Ca=qn.expanded,ba=qn.rowProps,Za=qn.expandedRowRender,Ha=qn.expandedRowClassName,ia;if(Fn&&Ca){var ya=Za(Ft,ke,Xt+1,Ca),Sa=Ha==null?void 0:Ha(Ft,ke,Xt),Gn={};$n&&(Gn={style:(0,he.Z)({},"--virtual-width","".concat(Vn,"px"))});var ma="".concat(Hn,"-expanded-row-cell");ia=se.createElement("div",{className:et()("".concat(Hn,"-expanded-row"),"".concat(Hn,"-expanded-row-level-").concat(Xt+1),Sa)},se.createElement(mn,{component:"div",prefixCls:Hn,className:et()(ma,(0,he.Z)({},"".concat(ma,"-fixed"),$n)),additionalProps:Gn},ya))}var Ma=(0,Qe.Z)((0,Qe.Z)({},vt),{},{width:At});Ct&&(Ma.position="absolute",Ma.pointerEvents="none");var er=se.createElement("div",(0,Ue.Z)({},ba,_t,{ref:Fn?null:ge,className:et()(Ie,"".concat(Hn,"-row"),ba==null?void 0:ba.className,(0,he.Z)({},"".concat(Hn,"-row-extra"),Ct)),style:(0,Qe.Z)((0,Qe.Z)({},Ma),ba==null?void 0:ba.style)}),Un.map(function(ar,Wa){return se.createElement(yr,{key:Wa,rowInfo:qn,column:ar,colIndex:Wa,indent:Xt,index:ke,renderIndex:Ln,record:Ft,inverse:Ct,getHeight:it})}));return Fn?se.createElement("div",{ref:ge},er,ia):er}),br=ne(Ar),Br=br,Ta=se.forwardRef(function(me,ge){var be=me.data,ke=me.onScroll,Ie=Ve(ce,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),je=Ie.flattenColumns,vt=Ie.onColumnResize,Ct=Ie.getRowKey,it=Ie.expandedKeys,_t=Ie.prefixCls,Ft=Ie.childrenColumnName,Xt=Ie.emptyNode,Ln=Ie.scrollX,zt=Ve(lr),At=zt.scrollY,Un=zt.listItemHeight,Hn=se.useRef(),$n=Ht(be,Ft,it,Ct),Vn=se.useMemo(function(){var ia=0;return je.map(function(ya){var Sa=ya.width,Gn=ya.key;return ia+=Sa,[Gn,Sa,ia]})},[je]),qn=se.useMemo(function(){return Vn.map(function(ia){return ia[2]})},[Vn]);se.useEffect(function(){Vn.forEach(function(ia){var ya=(0,Be.Z)(ia,2),Sa=ya[0],Gn=ya[1];vt(Sa,Gn)})},[Vn]),se.useImperativeHandle(ge,function(){var ia={};return Object.defineProperty(ia,"scrollLeft",{get:function(){var Sa;return((Sa=Hn.current)===null||Sa===void 0?void 0:Sa.getScrollInfo().x)||0},set:function(Sa){var Gn;(Gn=Hn.current)===null||Gn===void 0||Gn.scrollTo({left:Sa})}}),ia});var Fn=function(ya,Sa){var Gn,ma=(Gn=$n[Sa])===null||Gn===void 0?void 0:Gn.record,Ma=ya.onCell;if(Ma){var er,ar=Ma(ma,Sa);return(er=ar==null?void 0:ar.rowSpan)!==null&&er!==void 0?er:1}return 1},Ca=function(ya){var Sa=ya.start,Gn=ya.end,ma=ya.getSize,Ma=ya.offsetY;if(Gn<0)return null;for(var er=je.filter(function(sr){return Fn(sr,Sa)===0}),ar=Sa,Wa=function(ur){if(er=er.filter(function(za){return Fn(za,ur)===0}),!er.length)return ar=ur,"break"},mr=Sa;mr>=0;mr-=1){var hr=Wa(mr);if(hr==="break")break}for(var Wr=je.filter(function(sr){return Fn(sr,Gn)!==1}),Zr=Gn,ho=function(ur){if(Wr=Wr.filter(function(za){return Fn(za,ur)!==1}),!Wr.length)return Zr=Math.max(ur-1,Gn),"break"},qr=Gn;qr<$n.length;qr+=1){var xr=ho(qr);if(xr==="break")break}for(var Do=[],Ur=function(ur){var za=$n[ur];if(!za)return"continue";je.some(function(tr){return Fn(tr,ur)>1})&&Do.push(ur)},So=ar;So<=Zr;So+=1)var ao=Ur(So);var $o=Do.map(function(sr){var ur=$n[sr],za=Ct(ur.record,sr),tr=function(cr){var Rr=sr+cr-1,Fr=Ct($n[Rr].record,Rr),ro=ma(za,Fr);return ro.bottom-ro.top},Gr=ma(za);return se.createElement(Br,{key:sr,data:ur,rowKey:za,index:sr,style:{top:-Ma+Gr.top},extra:!0,getHeight:tr})});return $o},ba=se.useMemo(function(){return{columnsOffset:qn}},[qn]),Za="".concat(_t,"-tbody"),Ha;return $n.length?Ha=se.createElement(_a.Z,{fullHeight:!1,ref:Hn,className:et()(Za,"".concat(Za,"-virtual")),height:At,itemHeight:Un||24,data:$n,itemKey:function(ya){return Ct(ya.record)},scrollWidth:Ln,onVirtualScroll:function(ya){var Sa=ya.x;ke({scrollLeft:Sa})},extraRender:Ca},function(ia,ya,Sa){var Gn=Ct(ia.record,ya);return se.createElement(Br,(0,Ue.Z)({data:ia,rowKey:Gn,index:ya},Sa))}):Ha=se.createElement("div",{className:et()("".concat(_t,"-placeholder"))},se.createElement(mn,{component:"div",prefixCls:_t},Xt)),se.createElement(Vr.Provider,{value:ba},Ha)}),or=ne(Ta),Lr=or,Or=function(ge,be){var ke=be.ref,Ie=be.onScroll;return se.createElement(Lr,{ref:ke,data:ge,onScroll:Ie})},Cr=100;function Qr(me){var ge=me.columns,be=me.scroll,ke=me.prefixCls,Ie=ke===void 0?$a:ke,je=me.className,vt=me.listItemHeight,Ct=be||{},it=Ct.x,_t=Ct.y;typeof it!="number"&&(it=((ge||[]).length+1)*Cr),typeof _t!="number"&&(_t=500);var Ft=se.useMemo(function(){return{scrollY:_t,listItemHeight:vt}},[_t,vt]);return se.createElement(lr.Provider,{value:Ft},se.createElement(Ga,(0,Ue.Z)({},me,{className:et()(je,"".concat(Ie,"-virtual")),scroll:(0,Qe.Z)((0,Qe.Z)({},be),{},{x:it}),components:{body:Or},columns:ge,internalHooks:ue,tailor:!0})))}function Hr(me){return z(Qr,me)}var Xa=Hr(),wr=null;function pr(me){return null}var Jr=pr;function no(me){return null}var Bo=no,To=te(2738),ko=te(68031),Dr=te(36355),Yr=te(93891),Po=te(19716),Qo=te(8628),Ho=te(31724),ei=te(58421),Qa=te(71418),pa=te(88088);function Tn(me){return function(be){let{prefixCls:ke,onExpand:Ie,record:je,expanded:vt,expandable:Ct}=be;const it=`${ke}-row-expand-icon`;return se.createElement("button",{type:"button",onClick:_t=>{Ie(je,_t),_t.stopPropagation()},className:et()(it,{[`${it}-spaced`]:!Ct,[`${it}-expanded`]:Ct&&vt,[`${it}-collapsed`]:Ct&&!vt}),"aria-label":vt?me.collapse:me.expand,"aria-expanded":vt})}}var Ba=Tn;function gr(me,ge){return"key"in me&&me.key!==void 0&&me.key!==null?me.key:me.dataIndex?Array.isArray(me.dataIndex)?me.dataIndex.join("."):me.dataIndex:ge}function Ce(me,ge){return ge?`${ge}-${me}`:`${me}`}function un(me,ge){return typeof me=="function"?me(ge):me}function xn(me,ge){const be=un(me,ge);return Object.prototype.toString.call(be)==="[object Object]"?"":be}var Kn={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"},an=Kn,oa=te(7657),ea=function(ge,be){return se.createElement(oa.Z,(0,Ue.Z)({},ge,{ref:be,icon:an}))},Bn=se.forwardRef(ea),On=Bn,Aa=te(56762);function Xn(me){const ge=se.useRef(me),be=(0,Aa.Z)();return[()=>ge.current,ke=>{ge.current=ke,be()}]}var ga=te(3113),va=te(24905),Va=te(38854),vr=te(64165),zr=te(20834),kr=te(40875),mo=te(5112),vo=te(17574),xo=te(47472),pi=te(92832);function gi(me){let{value:ge,onChange:be,filterSearch:ke,tablePrefixCls:Ie,locale:je}=me;return ke?se.createElement("div",{className:`${Ie}-filter-dropdown-search`},se.createElement(pi.default,{prefix:se.createElement(xo.Z,null),placeholder:je.filterSearchPlaceholder,onChange:be,value:ge,htmlSize:1,className:`${Ie}-filter-dropdown-search-input`})):null}var ri=gi,ui=te(10228);const vi=me=>{const{keyCode:ge}=me;ge===ui.Z.ENTER&&me.stopPropagation()};var hi=se.forwardRef((me,ge)=>se.createElement("div",{className:me.className,onClick:be=>be.stopPropagation(),onKeyDown:vi,ref:ge},me.children));function Ni(me){let ge=[];return(me||[]).forEach(be=>{let{value:ke,children:Ie}=be;ge.push(ke),Ie&&(ge=[].concat((0,Zn.Z)(ge),(0,Zn.Z)(Ni(Ie))))}),ge}function Jl(me){return me.some(ge=>{let{children:be}=ge;return be})}function Vi(me,ge){return typeof ge=="string"||typeof ge=="number"?ge==null?void 0:ge.toString().toLowerCase().includes(me.trim().toLowerCase()):!1}function nl(me){let{filters:ge,prefixCls:be,filteredKeys:ke,filterMultiple:Ie,searchValue:je,filterSearch:vt}=me;return ge.map((Ct,it)=>{const _t=String(Ct.value);if(Ct.children)return{key:_t||it,label:Ct.text,popupClassName:`${be}-dropdown-submenu`,children:nl({filters:Ct.children,prefixCls:be,filteredKeys:ke,filterMultiple:Ie,searchValue:je,filterSearch:vt})};const Ft=Ie?va.default:mo.ZP,Xt={key:Ct.value!==void 0?_t:it,label:se.createElement(se.Fragment,null,se.createElement(Ft,{checked:ke.includes(_t)}),se.createElement("span",null,Ct.text))};return je.trim()?typeof vt=="function"?vt(je,Ct)?Xt:null:Vi(je,Ct.text)?Xt:null:Xt})}function $l(me){var ge,be;const{tablePrefixCls:ke,prefixCls:Ie,column:je,dropdownPrefixCls:vt,columnKey:Ct,filterMultiple:it,filterMode:_t="menu",filterSearch:Ft=!1,filterState:Xt,triggerFilter:Ln,locale:zt,children:At,getPopupContainer:Un}=me,{filterDropdownOpen:Hn,onFilterDropdownOpenChange:$n,filterResetToDefaultFilteredValue:Vn,defaultFilteredValue:qn,filterDropdownVisible:Fn,onFilterDropdownVisibleChange:Ca}=je,[ba,Za]=se.useState(!1),Ha=!!(Xt&&(!((ge=Xt.filteredKeys)===null||ge===void 0)&&ge.length||Xt.forceFiltered)),ia=nr=>{Za(nr),$n==null||$n(nr),Ca==null||Ca(nr)},ya=(be=Hn!=null?Hn:Fn)!==null&&be!==void 0?be:ba,Sa=Xt==null?void 0:Xt.filteredKeys,[Gn,ma]=Xn(Sa||[]),Ma=nr=>{let{selectedKeys:cr}=nr;ma(cr)},er=(nr,cr)=>{let{node:Rr,checked:Fr}=cr;Ma(it?{selectedKeys:nr}:{selectedKeys:Fr&&Rr.key?[Rr.key]:[]})};se.useEffect(()=>{ba&&Ma({selectedKeys:Sa||[]})},[Sa]);const[ar,Wa]=se.useState([]),mr=nr=>{Wa(nr)},[hr,Wr]=se.useState(""),Zr=nr=>{const{value:cr}=nr.target;Wr(cr)};se.useEffect(()=>{ba||Wr("")},[ba]);const ho=nr=>{const cr=nr&&nr.length?nr:null;if(cr===null&&(!Xt||!Xt.filteredKeys)||(0,Oe.Z)(cr,Xt==null?void 0:Xt.filteredKeys,!0))return null;Ln({column:je,key:Ct,filteredKeys:cr})},qr=()=>{ia(!1),ho(Gn())},xr=function(){let{confirm:nr,closeDropdown:cr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};nr&&ho([]),cr&&ia(!1),Wr(""),ma(Vn?(qn||[]).map(Rr=>String(Rr)):[])},Do=function(){let{closeDropdown:nr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};nr&&ia(!1),ho(Gn())},Ur=nr=>{nr&&Sa!==void 0&&ma(Sa||[]),ia(nr),!nr&&!je.filterDropdown&&qr()},So=et()({[`${vt}-menu-without-submenu`]:!Jl(je.filters||[])}),ao=nr=>{if(nr.target.checked){const cr=Ni(je==null?void 0:je.filters).map(Rr=>String(Rr));ma(cr)}else ma([])},$o=nr=>{let{filters:cr}=nr;return(cr||[]).map((Rr,Fr)=>{const ro=String(Rr.value),Ao={title:Rr.text,key:Rr.value!==void 0?ro:Fr};return Rr.children&&(Ao.children=$o({filters:Rr.children})),Ao})},sr=nr=>{var cr;return Object.assign(Object.assign({},nr),{text:nr.title,value:nr.key,children:((cr=nr.children)===null||cr===void 0?void 0:cr.map(Rr=>sr(Rr)))||[]})};let ur;if(typeof je.filterDropdown=="function")ur=je.filterDropdown({prefixCls:`${vt}-custom`,setSelectedKeys:nr=>Ma({selectedKeys:nr}),selectedKeys:Gn(),confirm:Do,clearFilters:xr,filters:je.filters,visible:ya,close:()=>{ia(!1)}});else if(je.filterDropdown)ur=je.filterDropdown;else{const nr=Gn()||[],cr=()=>(je.filters||[]).length===0?se.createElement(vr.Z,{image:vr.Z.PRESENTED_IMAGE_SIMPLE,description:zt.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):_t==="tree"?se.createElement(se.Fragment,null,se.createElement(ri,{filterSearch:Ft,value:hr,onChange:Zr,tablePrefixCls:ke,locale:zt}),se.createElement("div",{className:`${ke}-filter-dropdown-tree`},it?se.createElement(va.default,{checked:nr.length===Ni(je.filters).length,indeterminate:nr.length>0&&nr.length<Ni(je.filters).length,className:`${ke}-filter-dropdown-checkall`,onChange:ao},zt.filterCheckall):null,se.createElement(vo.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:it,checkStrictly:!it,className:`${vt}-menu`,onCheck:er,checkedKeys:nr,selectedKeys:nr,showIcon:!1,treeData:$o({filters:je.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:hr.trim()?Fr=>typeof Ft=="function"?Ft(hr,sr(Fr)):Vi(hr,Fr.title):void 0}))):se.createElement(se.Fragment,null,se.createElement(ri,{filterSearch:Ft,value:hr,onChange:Zr,tablePrefixCls:ke,locale:zt}),se.createElement(zr.default,{selectable:!0,multiple:it,prefixCls:`${vt}-menu`,className:So,onSelect:Ma,onDeselect:Ma,selectedKeys:nr,getPopupContainer:Un,openKeys:ar,onOpenChange:mr,items:nl({filters:je.filters||[],filterSearch:Ft,prefixCls:Ie,filteredKeys:Gn(),filterMultiple:it,searchValue:hr})})),Rr=()=>Vn?(0,Oe.Z)((qn||[]).map(Fr=>String(Fr)),nr,!0):nr.length===0;ur=se.createElement(se.Fragment,null,cr(),se.createElement("div",{className:`${Ie}-dropdown-btns`},se.createElement(ga.ZP,{type:"link",size:"small",disabled:Rr(),onClick:()=>xr()},zt.filterReset),se.createElement(ga.ZP,{type:"primary",size:"small",onClick:qr},zt.filterConfirm)))}je.filterDropdown&&(ur=se.createElement(kr.J,{selectable:void 0},ur));const za=()=>se.createElement(hi,{className:`${Ie}-dropdown`},ur);let tr;typeof je.filterIcon=="function"?tr=je.filterIcon(Ha):je.filterIcon?tr=je.filterIcon:tr=se.createElement(On,null);const{direction:Gr}=se.useContext(Dr.E_);return se.createElement("div",{className:`${Ie}-column`},se.createElement("span",{className:`${ke}-column-title`},At),se.createElement(Va.Z,{dropdownRender:za,trigger:["click"],open:ya,onOpenChange:Ur,getPopupContainer:Un,placement:Gr==="rtl"?"bottomLeft":"bottomRight"},se.createElement("span",{role:"button",tabIndex:-1,className:et()(`${Ie}-trigger`,{active:Ha}),onClick:nr=>{nr.stopPropagation()}},tr)))}var Jo=$l;function mi(me,ge,be){let ke=[];return(me||[]).forEach((Ie,je)=>{var vt;const Ct=Ce(je,be);if(Ie.filters||"filterDropdown"in Ie||"onFilter"in Ie)if("filteredValue"in Ie){let it=Ie.filteredValue;"filterDropdown"in Ie||(it=(vt=it==null?void 0:it.map(String))!==null&&vt!==void 0?vt:it),ke.push({column:Ie,key:gr(Ie,Ct),filteredKeys:it,forceFiltered:Ie.filtered})}else ke.push({column:Ie,key:gr(Ie,Ct),filteredKeys:ge&&Ie.defaultFilteredValue?Ie.defaultFilteredValue:void 0,forceFiltered:Ie.filtered});"children"in Ie&&(ke=[].concat((0,Zn.Z)(ke),(0,Zn.Z)(mi(Ie.children,ge,Ct))))}),ke}function Bi(me,ge,be,ke,Ie,je,vt,Ct){return be.map((it,_t)=>{const Ft=Ce(_t,Ct),{filterMultiple:Xt=!0,filterMode:Ln,filterSearch:zt}=it;let At=it;if(At.filters||At.filterDropdown){const Un=gr(At,Ft),Hn=ke.find($n=>{let{key:Vn}=$n;return Un===Vn});At=Object.assign(Object.assign({},At),{title:$n=>se.createElement(Jo,{tablePrefixCls:me,prefixCls:`${me}-filter`,dropdownPrefixCls:ge,column:At,columnKey:Un,filterState:Hn,filterMultiple:Xt,filterMode:Ln,filterSearch:zt,triggerFilter:je,locale:Ie,getPopupContainer:vt},un(it.title,$n))})}return"children"in At&&(At=Object.assign(Object.assign({},At),{children:Bi(me,ge,At.children,ke,Ie,je,vt,Ft)})),At})}function yl(me){const ge={};return me.forEach(be=>{let{key:ke,filteredKeys:Ie,column:je}=be;const{filters:vt,filterDropdown:Ct}=je;if(Ct)ge[ke]=Ie||null;else if(Array.isArray(Ie)){const it=Ni(vt);ge[ke]=it.filter(_t=>Ie.includes(String(_t)))}else ge[ke]=null}),ge}function Xl(me,ge){return ge.reduce((be,ke)=>{const{column:{onFilter:Ie,filters:je},filteredKeys:vt}=ke;return Ie&&vt&&vt.length?be.filter(Ct=>vt.some(it=>{const _t=Ni(je),Ft=_t.findIndex(Ln=>String(Ln)===String(it)),Xt=Ft!==-1?_t[Ft]:it;return Ie(Xt,Ct)})):be},me)}const Ii=me=>me.flatMap(ge=>"children"in ge?[ge].concat((0,Zn.Z)(Ii(ge.children||[]))):[ge]);function Fo(me){let{prefixCls:ge,dropdownPrefixCls:be,mergedColumns:ke,onFilterChange:Ie,getPopupContainer:je,locale:vt}=me;const Ct=se.useMemo(()=>Ii(ke||[]),[ke]),[it,_t]=se.useState(()=>mi(Ct,!0)),Ft=se.useMemo(()=>{const At=mi(Ct,!1);if(At.length===0)return At;let Un=!0,Hn=!0;if(At.forEach($n=>{let{filteredKeys:Vn}=$n;Vn!==void 0?Un=!1:Hn=!1}),Un){const $n=(Ct||[]).map((Vn,qn)=>gr(Vn,Ce(qn)));return it.filter(Vn=>{let{key:qn}=Vn;return $n.includes(qn)}).map(Vn=>{const qn=Ct[$n.findIndex(Fn=>Fn===Vn.key)];return Object.assign(Object.assign({},Vn),{column:Object.assign(Object.assign({},Vn.column),qn),forceFiltered:qn.filtered})})}return At},[Ct,it]),Xt=se.useMemo(()=>yl(Ft),[Ft]),Ln=At=>{const Un=Ft.filter(Hn=>{let{key:$n}=Hn;return $n!==At.key});Un.push(At),_t(Un),Ie(yl(Un),Un)};return[At=>Bi(ge,be,At,Ft,vt,Ln,je),Ft,Xt]}var El=Fo;function bl(me,ge,be){const ke=se.useRef({});function Ie(je){if(!ke.current||ke.current.data!==me||ke.current.childrenColumnName!==ge||ke.current.getRowKey!==be){let Ct=function(it){it.forEach((_t,Ft)=>{const Xt=be(_t,Ft);vt.set(Xt,_t),_t&&typeof _t=="object"&&ge in _t&&Ct(_t[ge]||[])})};const vt=new Map;Ct(me),ke.current={data:me,childrenColumnName:ge,kvMap:vt,getRowKey:be}}return ke.current.kvMap.get(je)}return[Ie]}var Yl=te(50371),Cl=function(me,ge){var be={};for(var ke in me)Object.prototype.hasOwnProperty.call(me,ke)&&ge.indexOf(ke)<0&&(be[ke]=me[ke]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,ke=Object.getOwnPropertySymbols(me);Ie<ke.length;Ie++)ge.indexOf(ke[Ie])<0&&Object.prototype.propertyIsEnumerable.call(me,ke[Ie])&&(be[ke[Ie]]=me[ke[Ie]]);return be};const xl=10;function oi(me,ge){const be={current:me.current,pageSize:me.pageSize};return Object.keys(ge&&typeof ge=="object"?ge:{}).forEach(Ie=>{const je=me[Ie];typeof je!="function"&&(be[Ie]=je)}),be}function Bl(me,ge,be){const ke=be&&typeof be=="object"?be:{},{total:Ie=0}=ke,je=Cl(ke,["total"]),[vt,Ct]=(0,se.useState)(()=>({current:"defaultCurrent"in je?je.defaultCurrent:1,pageSize:"defaultPageSize"in je?je.defaultPageSize:xl})),it=(0,Yl.Z)(vt,je,{total:Ie>0?Ie:me}),_t=Math.ceil((Ie||me)/it.pageSize);it.current>_t&&(it.current=_t||1);const Ft=(Ln,zt)=>{Ct({current:Ln!=null?Ln:1,pageSize:zt||it.pageSize})},Xt=(Ln,zt)=>{var At;be&&((At=be.onChange)===null||At===void 0||At.call(be,Ln,zt)),Ft(Ln,zt),ge(Ln,zt||(it==null?void 0:it.pageSize))};return be===!1?[{},()=>{}]:[Object.assign(Object.assign({},it),{onChange:Xt}),Ft]}var di=Bl,Yo=te(84105),Ji=te(35654),Fl=te(90782),ql=te(71430),ja=te(18929);const yi={},al="SELECT_ALL",ha="SELECT_INVERT",Li="SELECT_NONE",wl=[],es=(me,ge)=>{let be=[];return(ge||[]).forEach(ke=>{be.push(ke),ke&&typeof ke=="object"&&me in ke&&(be=[].concat((0,Zn.Z)(be),(0,Zn.Z)(es(me,ke[me]))))}),be};var Al=(me,ge)=>{const{preserveSelectedRowKeys:be,selectedRowKeys:ke,defaultSelectedRowKeys:Ie,getCheckboxProps:je,onChange:vt,onSelect:Ct,onSelectAll:it,onSelectInvert:_t,onSelectNone:Ft,onSelectMultiple:Xt,columnWidth:Ln,type:zt,selections:At,fixed:Un,renderCell:Hn,hideSelectAll:$n,checkStrictly:Vn=!0}=ge||{},{prefixCls:qn,data:Fn,pageData:Ca,getRecordByKey:ba,getRowKey:Za,expandType:Ha,childrenColumnName:ia,locale:ya,getPopupContainer:Sa}=me,[Gn,ma]=(0,ja.Z)(ke||Ie||wl,{value:ke}),Ma=se.useRef(new Map),er=(0,se.useCallback)(sr=>{if(be){const ur=new Map;sr.forEach(za=>{let tr=ba(za);!tr&&Ma.current.has(za)&&(tr=Ma.current.get(za)),ur.set(za,tr)}),Ma.current=ur}},[ba,be]);se.useEffect(()=>{er(Gn)},[Gn]);const{keyEntities:ar}=(0,se.useMemo)(()=>{if(Vn)return{keyEntities:null};let sr=Fn;if(be){const ur=new Set(Fn.map((tr,Gr)=>Za(tr,Gr))),za=Array.from(Ma.current).reduce((tr,Gr)=>{let[nr,cr]=Gr;return ur.has(nr)?tr:tr.concat(cr)},[]);sr=[].concat((0,Zn.Z)(sr),(0,Zn.Z)(za))}return(0,ql.I8)(sr,{externalGetKey:Za,childrenPropName:ia})},[Fn,Za,Vn,ia,be]),Wa=(0,se.useMemo)(()=>es(ia,Ca),[ia,Ca]),mr=(0,se.useMemo)(()=>{const sr=new Map;return Wa.forEach((ur,za)=>{const tr=Za(ur,za),Gr=(je?je(ur):null)||{};sr.set(tr,Gr)}),sr},[Wa,Za,je]),hr=(0,se.useCallback)(sr=>{var ur;return!!(!((ur=mr.get(Za(sr)))===null||ur===void 0)&&ur.disabled)},[mr,Za]),[Wr,Zr]=(0,se.useMemo)(()=>{if(Vn)return[Gn||[],[]];const{checkedKeys:sr,halfCheckedKeys:ur}=(0,Fl.S)(Gn,!0,ar,hr);return[sr||[],ur]},[Gn,Vn,ar,hr]),ho=(0,se.useMemo)(()=>{const sr=zt==="radio"?Wr.slice(0,1):Wr;return new Set(sr)},[Wr,zt]),qr=(0,se.useMemo)(()=>zt==="radio"?new Set:new Set(Zr),[Zr,zt]),[xr,Do]=(0,se.useState)(null);se.useEffect(()=>{ge||ma(wl)},[!!ge]);const Ur=(0,se.useCallback)((sr,ur)=>{let za,tr;er(sr),be?(za=sr,tr=sr.map(Gr=>Ma.current.get(Gr))):(za=[],tr=[],sr.forEach(Gr=>{const nr=ba(Gr);nr!==void 0&&(za.push(Gr),tr.push(nr))})),ma(za),vt==null||vt(za,tr,{type:ur})},[ma,ba,vt,be]),So=(0,se.useCallback)((sr,ur,za,tr)=>{if(Ct){const Gr=za.map(nr=>ba(nr));Ct(ba(sr),ur,Gr,tr)}Ur(za,"single")},[Ct,ba,Ur]),ao=(0,se.useMemo)(()=>!At||$n?null:(At===!0?[al,ha,Li]:At).map(ur=>ur===al?{key:"all",text:ya.selectionAll,onSelect(){Ur(Fn.map((za,tr)=>Za(za,tr)).filter(za=>{const tr=mr.get(za);return!(tr!=null&&tr.disabled)||ho.has(za)}),"all")}}:ur===ha?{key:"invert",text:ya.selectInvert,onSelect(){const za=new Set(ho);Ca.forEach((Gr,nr)=>{const cr=Za(Gr,nr),Rr=mr.get(cr);Rr!=null&&Rr.disabled||(za.has(cr)?za.delete(cr):za.add(cr))});const tr=Array.from(za);_t&&_t(tr),Ur(tr,"invert")}}:ur===Li?{key:"none",text:ya.selectNone,onSelect(){Ft==null||Ft(),Ur(Array.from(ho).filter(za=>{const tr=mr.get(za);return tr==null?void 0:tr.disabled}),"none")}}:ur).map(ur=>Object.assign(Object.assign({},ur),{onSelect:function(){for(var za,tr,Gr=arguments.length,nr=new Array(Gr),cr=0;cr<Gr;cr++)nr[cr]=arguments[cr];(tr=ur.onSelect)===null||tr===void 0||(za=tr).call.apply(za,[ur].concat(nr)),Do(null)}})),[At,ho,Ca,Za,_t,Ur]);return[(0,se.useCallback)(sr=>{var ur;if(!ge)return sr.filter(Xr=>Xr!==yi);let za=(0,Zn.Z)(sr);const tr=new Set(ho),Gr=Wa.map(Za).filter(Xr=>!mr.get(Xr).disabled),nr=Gr.every(Xr=>tr.has(Xr)),cr=Gr.some(Xr=>tr.has(Xr)),Rr=()=>{const Xr=[];nr?Gr.forEach(co=>{tr.delete(co),Xr.push(co)}):Gr.forEach(co=>{tr.has(co)||(tr.add(co),Xr.push(co))});const eo=Array.from(tr);it==null||it(!nr,eo.map(co=>ba(co)),Xr.map(co=>ba(co))),Ur(eo,"all"),Do(null)};let Fr;if(zt!=="radio"){let Xr;if(ao){const Tr={getPopupContainer:Sa,items:ao.map((Ko,Vo)=>{const{key:ca,text:Ja,onSelect:Pr}=Ko;return{key:ca!=null?ca:Vo,onClick:()=>{Pr==null||Pr(Gr)},label:Ja}})};Xr=se.createElement("div",{className:`${qn}-selection-extra`},se.createElement(Va.Z,{menu:Tr,getPopupContainer:Sa},se.createElement("span",null,se.createElement(Yo.Z,null))))}const eo=Wa.map((Tr,Ko)=>{const Vo=Za(Tr,Ko),ca=mr.get(Vo)||{};return Object.assign({checked:tr.has(Vo)},ca)}).filter(Tr=>{let{disabled:Ko}=Tr;return Ko}),co=!!eo.length&&eo.length===Wa.length,Eo=co&&eo.every(Tr=>{let{checked:Ko}=Tr;return Ko}),oo=co&&eo.some(Tr=>{let{checked:Ko}=Tr;return Ko});Fr=!$n&&se.createElement("div",{className:`${qn}-selection`},se.createElement(va.default,{checked:co?Eo:!!Wa.length&&nr,indeterminate:co?!Eo&&oo:!nr&&cr,onChange:Rr,disabled:Wa.length===0||co,"aria-label":Xr?"Custom selection":"Select all",skipGroup:!0}),Xr)}let ro;zt==="radio"?ro=(Xr,eo,co)=>{const Eo=Za(eo,co),oo=tr.has(Eo);return{node:se.createElement(mo.ZP,Object.assign({},mr.get(Eo),{checked:oo,onClick:Tr=>Tr.stopPropagation(),onChange:Tr=>{tr.has(Eo)||So(Eo,!0,[Eo],Tr.nativeEvent)}})),checked:oo}}:ro=(Xr,eo,co)=>{var Eo;const oo=Za(eo,co),Tr=tr.has(oo),Ko=qr.has(oo),Vo=mr.get(oo);let ca;return Ha==="nest"?ca=Ko:ca=(Eo=Vo==null?void 0:Vo.indeterminate)!==null&&Eo!==void 0?Eo:Ko,{node:se.createElement(va.default,Object.assign({},Vo,{indeterminate:ca,checked:Tr,skipGroup:!0,onClick:Ja=>Ja.stopPropagation(),onChange:Ja=>{let{nativeEvent:Pr}=Ja;const{shiftKey:Er}=Pr;let Nr=-1,_r=-1;if(Er&&Vn){const io=new Set([xr,oo]);Gr.some((bo,lo)=>{if(io.has(bo))if(Nr===-1)Nr=lo;else return _r=lo,!0;return!1})}if(_r!==-1&&Nr!==_r&&Vn){const io=Gr.slice(Nr,_r+1),bo=[];Tr?io.forEach(po=>{tr.has(po)&&(bo.push(po),tr.delete(po))}):io.forEach(po=>{tr.has(po)||(bo.push(po),tr.add(po))});const lo=Array.from(tr);Xt==null||Xt(!Tr,lo.map(po=>ba(po)),bo.map(po=>ba(po))),Ur(lo,"multiple")}else{const io=Wr;if(Vn){const bo=Tr?(0,Ji._5)(io,oo):(0,Ji.L0)(io,oo);So(oo,!Tr,bo,Pr)}else{const bo=(0,Fl.S)([].concat((0,Zn.Z)(io),[oo]),!0,ar,hr),{checkedKeys:lo,halfCheckedKeys:po}=bo;let ii=lo;if(Tr){const zo=new Set(lo);zo.delete(oo),ii=(0,Fl.S)(Array.from(zo),{checked:!1,halfCheckedKeys:po},ar,hr).checkedKeys}So(oo,!Tr,ii,Pr)}}Do(Tr?null:oo)}})),checked:Tr}};const Ao=(Xr,eo,co)=>{const{node:Eo,checked:oo}=ro(Xr,eo,co);return Hn?Hn(oo,eo,co,Eo):Eo};if(!za.includes(yi))if(za.findIndex(Xr=>{var eo;return((eo=Xr[ta])===null||eo===void 0?void 0:eo.columnType)==="EXPAND_COLUMN"})===0){const[Xr,...eo]=za;za=[Xr,yi].concat((0,Zn.Z)(eo))}else za=[yi].concat((0,Zn.Z)(za));const Zo=za.indexOf(yi);za=za.filter((Xr,eo)=>Xr!==yi||eo===Zo);const Ro=za[Zo-1],ci=za[Zo+1];let No=Un;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&&((ur=Ro[ta])===null||ur===void 0?void 0:ur.columnType)==="EXPAND_COLUMN"&&Ro.fixed===void 0&&(Ro.fixed=No);const Io=et()(`${qn}-selection-col`,{[`${qn}-selection-col-with-dropdown`]:At&&zt==="checkbox"}),Ai={fixed:No,width:Ln,className:`${qn}-selection-column`,title:ge.columnTitle||Fr,render:Ao,onCell:ge.onCell,[ta]:{className:Io}};return za.map(Xr=>Xr===yi?Ai:Xr)},[Za,Wa,ge,Wr,ho,qr,Ln,ao,Ha,xr,mr,Xt,So,hr]),ho]},rl=te(89489),Go=te(59477),ts=te(6848);const bi="ascend",ol="descend";function Oi(me){return typeof me.sorter=="object"&&typeof me.sorter.multiple=="number"?me.sorter.multiple:!1}function il(me){return typeof me=="function"?me:me&&typeof me=="object"&&me.compare?me.compare:!1}function Dl(me,ge){return ge?me[me.indexOf(ge)+1]:me[0]}function $i(me,ge,be){let ke=[];function Ie(je,vt){ke.push({column:je,key:gr(je,vt),multiplePriority:Oi(je),sortOrder:je.sortOrder})}return(me||[]).forEach((je,vt)=>{const Ct=Ce(vt,be);je.children?("sortOrder"in je&&Ie(je,Ct),ke=[].concat((0,Zn.Z)(ke),(0,Zn.Z)($i(je.children,ge,Ct)))):je.sorter&&("sortOrder"in je?Ie(je,Ct):ge&&je.defaultSortOrder&&ke.push({column:je,key:gr(je,Ct),multiplePriority:Oi(je),sortOrder:je.defaultSortOrder}))}),ke}function Ri(me,ge,be,ke,Ie,je,vt,Ct){return(ge||[]).map((it,_t)=>{const Ft=Ce(_t,Ct);let Xt=it;if(Xt.sorter){const Ln=Xt.sortDirections||Ie,zt=Xt.showSorterTooltip===void 0?vt:Xt.showSorterTooltip,At=gr(Xt,Ft),Un=be.find(Ha=>{let{key:ia}=Ha;return ia===At}),Hn=Un?Un.sortOrder:null,$n=Dl(Ln,Hn);let Vn;if(it.sortIcon)Vn=it.sortIcon({sortOrder:Hn});else{const Ha=Ln.includes(bi)&&se.createElement(Go.Z,{className:et()(`${me}-column-sorter-up`,{active:Hn===bi})}),ia=Ln.includes(ol)&&se.createElement(rl.Z,{className:et()(`${me}-column-sorter-down`,{active:Hn===ol})});Vn=se.createElement("span",{className:et()(`${me}-column-sorter`,{[`${me}-column-sorter-full`]:!!(Ha&&ia)})},se.createElement("span",{className:`${me}-column-sorter-inner`,"aria-hidden":"true"},Ha,ia))}const{cancelSort:qn,triggerAsc:Fn,triggerDesc:Ca}=je||{};let ba=qn;$n===ol?ba=Ca:$n===bi&&(ba=Fn);const Za=typeof zt=="object"?zt:{title:ba};Xt=Object.assign(Object.assign({},Xt),{className:et()(Xt.className,{[`${me}-column-sort`]:Hn}),title:Ha=>{const ia=se.createElement("div",{className:`${me}-column-sorters`},se.createElement("span",{className:`${me}-column-title`},un(it.title,Ha)),Vn);return zt?se.createElement(ts.Z,Object.assign({},Za),ia):ia},onHeaderCell:Ha=>{const ia=it.onHeaderCell&&it.onHeaderCell(Ha)||{},ya=ia.onClick,Sa=ia.onKeyDown;ia.onClick=Ma=>{ke({column:it,key:At,sortOrder:$n,multiplePriority:Oi(it)}),ya==null||ya(Ma)},ia.onKeyDown=Ma=>{Ma.keyCode===ui.Z.ENTER&&(ke({column:it,key:At,sortOrder:$n,multiplePriority:Oi(it)}),Sa==null||Sa(Ma))};const Gn=xn(it.title,{}),ma=Gn==null?void 0:Gn.toString();return Hn?ia["aria-sort"]=Hn==="ascend"?"ascending":"descending":ia["aria-label"]=ma||"",ia.className=et()(ia.className,`${me}-column-has-sorters`),ia.tabIndex=0,it.ellipsis&&(ia.title=(Gn!=null?Gn:"").toString()),ia}})}return"children"in Xt&&(Xt=Object.assign(Object.assign({},Xt),{children:Ri(me,Xt.children,be,ke,Ie,je,vt,Ft)})),Xt})}function ll(me){const{column:ge,sortOrder:be}=me;return{column:ge,order:be,field:ge.dataIndex,columnKey:ge.key}}function Ti(me){const ge=me.filter(be=>{let{sortOrder:ke}=be;return ke}).map(ll);return ge.length===0&&me.length?Object.assign(Object.assign({},ll(me[me.length-1])),{column:void 0}):ge.length<=1?ge[0]||{}:ge}function Mi(me,ge,be){const ke=ge.slice().sort((vt,Ct)=>Ct.multiplePriority-vt.multiplePriority),Ie=me.slice(),je=ke.filter(vt=>{let{column:{sorter:Ct},sortOrder:it}=vt;return il(Ct)&&it});return je.length?Ie.sort((vt,Ct)=>{for(let it=0;it<je.length;it+=1){const _t=je[it],{column:{sorter:Ft},sortOrder:Xt}=_t,Ln=il(Ft);if(Ln&&Xt){const zt=Ln(vt,Ct,Xt);if(zt!==0)return Xt===bi?zt:-zt}}return 0}).map(vt=>{const Ct=vt[be];return Ct?Object.assign(Object.assign({},vt),{[be]:Mi(Ct,ge,be)}):vt}):Ie}function ns(me){let{prefixCls:ge,mergedColumns:be,onSorterChange:ke,sortDirections:Ie,tableLocale:je,showSorterTooltip:vt}=me;const[Ct,it]=se.useState($i(be,!0)),_t=se.useMemo(()=>{let At=!0;const Un=$i(be,!1);if(!Un.length)return Ct;const Hn=[];function $n(qn){At?Hn.push(qn):Hn.push(Object.assign(Object.assign({},qn),{sortOrder:null}))}let Vn=null;return Un.forEach(qn=>{Vn===null?($n(qn),qn.sortOrder&&(qn.multiplePriority===!1?At=!1:Vn=!0)):(Vn&&qn.multiplePriority!==!1||(At=!1),$n(qn))}),Hn},[be,Ct]),Ft=se.useMemo(()=>{const At=_t.map(Un=>{let{column:Hn,sortOrder:$n}=Un;return{column:Hn,order:$n}});return{sortColumns:At,sortColumn:At[0]&&At[0].column,sortOrder:At[0]&&At[0].order}},[_t]);function Xt(At){let Un;At.multiplePriority===!1||!_t.length||_t[0].multiplePriority===!1?Un=[At]:Un=[].concat((0,Zn.Z)(_t.filter(Hn=>{let{key:$n}=Hn;return $n!==At.key})),[At]),it(Un),ke(Ti(Un),Un)}return[At=>Ri(ge,At,_t,Xt,Ie,je,vt),_t,Ft,()=>Ti(_t)]}function Lo(me,ge){return me.map(be=>{const ke=Object.assign({},be);return ke.title=un(be.title,ge),"children"in ke&&(ke.children=Lo(ke.children,ge)),ke})}function as(me){return[se.useCallback(be=>Lo(be,me),[me])]}var As=Ua((me,ge)=>{const{_renderTimes:be}=me,{_renderTimes:ke}=ge;return be!==ke}),sl=Hr((me,ge)=>{const{_renderTimes:be}=me,{_renderTimes:ke}=ge;return be!==ke}),Fi=te(64993),ki=te(17313),Nl=te(83116),rs=te(37613),is=me=>{const{componentCls:ge}=me,be=`${me.lineWidth}px ${me.lineType} ${me.tableBorderColor}`,ke=(Ie,je,vt)=>({[`&${ge}-${Ie}`]:{[`> ${ge}-container`]:{[`> ${ge}-content, > ${ge}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`-${je}px -${vt+me.lineWidth}px`}}}}}});return{[`${ge}-wrapper`]:{[`${ge}${ge}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ge}-title`]:{border:be,borderBottom:0},[`> ${ge}-container`]:{borderInlineStart:be,borderTop:be,[`
|
|
> ${ge}-content,
|
|
> ${ge}-header,
|
|
> ${ge}-body,
|
|
> ${ge}-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 ":{[`> ${ge}-cell-fix-right-first::after`]:{borderInlineEnd:be}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`-${me.tablePaddingVertical}px -${me.tablePaddingHorizontal+me.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:me.lineWidth,bottom:0,borderInlineEnd:be,content:'""'}}}}}},[`&${ge}-scroll-horizontal`]:{[`> ${ge}-container > ${ge}-body`]:{"> table > tbody":{[`
|
|
> tr${ge}-expanded-row,
|
|
> tr${ge}-placeholder
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},ke("middle",me.tablePaddingVerticalMiddle,me.tablePaddingHorizontalMiddle)),ke("small",me.tablePaddingVerticalSmall,me.tablePaddingHorizontalSmall)),{[`> ${ge}-footer`]:{border:be,borderTop:0}}),[`${ge}-cell`]:{[`${ge}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${me.lineWidth}px 0 ${me.lineWidth}px ${me.tableHeaderBg}`}},[`${ge}-bordered ${ge}-cell-scrollbar`]:{borderInlineEnd:be}}}},ls=me=>{const{componentCls:ge}=me;return{[`${ge}-wrapper`]:{[`${ge}-cell-ellipsis`]:Object.assign(Object.assign({},ki.vS),{wordBreak:"keep-all",[`
|
|
&${ge}-cell-fix-left-last,
|
|
&${ge}-cell-fix-right-first
|
|
`]:{overflow:"visible",[`${ge}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ge}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},ss=me=>{const{componentCls:ge}=me;return{[`${ge}-wrapper`]:{[`${ge}-tbody > tr${ge}-placeholder`]:{textAlign:"center",color:me.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:me.colorBgContainer}}}}},Il=te(15969),Ll=me=>{const{componentCls:ge,antCls:be,controlInteractiveSize:ke,motionDurationSlow:Ie,lineWidth:je,paddingXS:vt,lineType:Ct,tableBorderColor:it,tableExpandIconBg:_t,tableExpandColumnWidth:Ft,borderRadius:Xt,fontSize:Ln,fontSizeSM:zt,lineHeight:At,tablePaddingVertical:Un,tablePaddingHorizontal:Hn,tableExpandedRowBg:$n,paddingXXS:Vn}=me,qn=ke/2-je,Fn=qn*2+je*3,Ca=`${je}px ${Ct} ${it}`,ba=Vn-je;return{[`${ge}-wrapper`]:{[`${ge}-expand-icon-col`]:{width:Ft},[`${ge}-row-expand-icon-cell`]:{textAlign:"center",[`${ge}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ge}-row-indent`]:{height:1,float:"left"},[`${ge}-row-expand-icon`]:Object.assign(Object.assign({},(0,Il.N)(me)),{position:"relative",float:"left",boxSizing:"border-box",width:Fn,height:Fn,padding:0,color:"inherit",lineHeight:`${Fn}px`,background:_t,border:Ca,borderRadius:Xt,transform:`scale(${ke/Fn})`,transition:`all ${Ie}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ie} ease-out`,content:'""'},"&::before":{top:qn,insetInlineEnd:ba,insetInlineStart:ba,height:je},"&::after":{top:ba,bottom:ba,insetInlineStart:qn,width:je,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"}}),[`${ge}-row-indent + ${ge}-row-expand-icon`]:{marginTop:(Ln*At-je*3)/2-Math.ceil((zt*1.4-je*3)/2),marginInlineEnd:vt},[`tr${ge}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:$n}},[`${be}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ge}-expanded-row-fixed`]:{position:"relative",margin:`-${Un}px -${Hn}px`,padding:`${Un}px ${Hn}px`}}}},ti=me=>{const{componentCls:ge,antCls:be,iconCls:ke,tableFilterDropdownWidth:Ie,tableFilterDropdownSearchWidth:je,paddingXXS:vt,paddingXS:Ct,colorText:it,lineWidth:_t,lineType:Ft,tableBorderColor:Xt,tableHeaderIconColor:Ln,fontSizeSM:zt,tablePaddingHorizontal:At,borderRadius:Un,motionDurationSlow:Hn,colorTextDescription:$n,colorPrimary:Vn,tableHeaderFilterActiveBg:qn,colorTextDisabled:Fn,tableFilterDropdownBg:Ca,tableFilterDropdownHeight:ba,controlItemBgHover:Za,controlItemBgActive:Ha,boxShadowSecondary:ia,filterDropdownMenuBg:ya}=me,Sa=`${be}-dropdown`,Gn=`${ge}-filter-dropdown`,ma=`${be}-tree`,Ma=`${_t}px ${Ft} ${Xt}`;return[{[`${ge}-wrapper`]:{[`${ge}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ge}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-vt,marginInline:`${vt}px ${-At/2}px`,padding:`0 ${vt}px`,color:Ln,fontSize:zt,borderRadius:Un,cursor:"pointer",transition:`all ${Hn}`,"&:hover":{color:$n,background:qn},"&.active":{color:Vn}}}},{[`${be}-dropdown`]:{[Gn]:Object.assign(Object.assign({},(0,ki.Wf)(me)),{minWidth:Ie,backgroundColor:Ca,borderRadius:Un,boxShadow:ia,overflow:"hidden",[`${Sa}-menu`]:{maxHeight:ba,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ya,"&:empty::after":{display:"block",padding:`${Ct}px 0`,color:Fn,fontSize:zt,textAlign:"center",content:'"Not Found"'}},[`${Gn}-tree`]:{paddingBlock:`${Ct}px 0`,paddingInline:Ct,[ma]:{padding:0},[`${ma}-treenode ${ma}-node-content-wrapper:hover`]:{backgroundColor:Za},[`${ma}-treenode-checkbox-checked ${ma}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ha}}},[`${Gn}-search`]:{padding:Ct,borderBottom:Ma,"&-input":{input:{minWidth:je},[ke]:{color:Fn}}},[`${Gn}-checkall`]:{width:"100%",marginBottom:vt,marginInlineStart:vt},[`${Gn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Ct-_t}px ${Ct}px`,overflow:"hidden",borderTop:Ma}})}},{[`${be}-dropdown ${Gn}, ${Gn}-submenu`]:{[`${be}-checkbox-wrapper + span`]:{paddingInlineStart:Ct,color:it},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Oo=me=>{const{componentCls:ge,lineWidth:be,colorSplit:ke,motionDurationSlow:Ie,zIndexTableFixed:je,tableBg:vt,zIndexTableSticky:Ct}=me,it=ke;return{[`${ge}-wrapper`]:{[`
|
|
${ge}-cell-fix-left,
|
|
${ge}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:je,background:vt},[`
|
|
${ge}-cell-fix-left-first::after,
|
|
${ge}-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"},[`${ge}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
${ge}-cell-fix-right-first::after,
|
|
${ge}-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"},[`${ge}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Ct+1,width:30,transition:`box-shadow ${Ie}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ge}-ping-left`]:{[`&:not(${ge}-has-fix-left) ${ge}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${it}`}},[`
|
|
${ge}-cell-fix-left-first::after,
|
|
${ge}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${it}`},[`${ge}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ge}-ping-right`]:{[`&:not(${ge}-has-fix-right) ${ge}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${it}`}},[`
|
|
${ge}-cell-fix-right-first::after,
|
|
${ge}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${it}`}}}}},ds=me=>{const{componentCls:ge,antCls:be}=me;return{[`${ge}-wrapper`]:{[`${ge}-pagination${be}-pagination`]:{margin:`${me.margin}px 0`},[`${ge}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:me.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Rl=me=>{const{componentCls:ge,tableRadius:be}=me;return{[`${ge}-wrapper`]:{[ge]:{[`${ge}-title, ${ge}-header`]:{borderRadius:`${be}px ${be}px 0 0`},[`${ge}-title + ${ge}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ge}-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=me=>{const{componentCls:ge}=me;return{[`${ge}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ge}-pagination-left`]:{justifyContent:"flex-end"},[`${ge}-pagination-right`]:{justifyContent:"flex-start"},[`${ge}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ge}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ge}-row-indent`]:{float:"right"}}}}},kl=me=>{const{componentCls:ge,antCls:be,iconCls:ke,fontSizeIcon:Ie,padding:je,paddingXS:vt,tableHeaderIconColor:Ct,tableHeaderIconColorHover:it,tableSelectionColumnWidth:_t}=me;return{[`${ge}-wrapper`]:{[`${ge}-selection-col`]:{width:_t,[`&${ge}-selection-col-with-dropdown`]:{width:_t+Ie+je/4}},[`${ge}-bordered ${ge}-selection-col`]:{width:_t+vt*2,[`&${ge}-selection-col-with-dropdown`]:{width:_t+Ie+je/4+vt*2}},[`
|
|
table tr th${ge}-selection-column,
|
|
table tr td${ge}-selection-column
|
|
`]:{paddingInlineEnd:me.paddingXS,paddingInlineStart:me.paddingXS,textAlign:"center",[`${be}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ge}-selection-column${ge}-cell-fix-left`]:{zIndex:me.zIndexTableFixed+1},[`table tr th${ge}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ge}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ge}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${me.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${me.tablePaddingHorizontal/4}px`,[ke]:{color:Ct,fontSize:Ie,verticalAlign:"baseline","&:hover":{color:it}}}}}},cs=me=>{const{componentCls:ge}=me,be=(ke,Ie,je,vt)=>({[`${ge}${ge}-${ke}`]:{fontSize:vt,[`
|
|
${ge}-title,
|
|
${ge}-footer,
|
|
${ge}-cell,
|
|
${ge}-thead > tr > th,
|
|
${ge}-tbody > tr > th,
|
|
${ge}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{padding:`${Ie}px ${je}px`},[`${ge}-filter-trigger`]:{marginInlineEnd:`-${je/2}px`},[`${ge}-expanded-row-fixed`]:{margin:`-${Ie}px -${je}px`},[`${ge}-tbody`]:{[`${ge}-wrapper:only-child ${ge}`]:{marginBlock:`-${Ie}px`,marginInline:`${me.tableExpandColumnWidth-je}px -${je}px`}},[`${ge}-selection-column`]:{paddingInlineStart:`${je/4}px`}}});return{[`${ge}-wrapper`]:Object.assign(Object.assign({},be("middle",me.tablePaddingVerticalMiddle,me.tablePaddingHorizontalMiddle,me.tableFontSizeMiddle)),be("small",me.tablePaddingVerticalSmall,me.tablePaddingHorizontalSmall,me.tableFontSizeSmall))}},ms=me=>{const{componentCls:ge,marginXXS:be,fontSizeIcon:ke,tableHeaderIconColor:Ie,tableHeaderIconColorHover:je}=me;return{[`${ge}-wrapper`]:{[`${ge}-thead th${ge}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${me.motionDurationSlow}`,"&:hover":{background:me.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:me.colorPrimary},[`
|
|
&${ge}-cell-fix-left:hover,
|
|
&${ge}-cell-fix-right:hover
|
|
`]:{background:me.tableFixedHeaderSortActiveBg}},[`${ge}-thead th${ge}-column-sort`]:{background:me.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ge}-column-sort`]:{background:me.tableBodySortBg},[`${ge}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ge}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ge}-column-sorter`]:{marginInlineStart:be,color:Ie,fontSize:0,transition:`color ${me.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ke,"&.active":{color:me.colorPrimary}},[`${ge}-column-sorter-up + ${ge}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ge}-column-sorters:hover ${ge}-column-sorter`]:{color:je}}}},Zi=me=>{const{componentCls:ge,opacityLoading:be,tableScrollThumbBg:ke,tableScrollThumbBgHover:Ie,tableScrollThumbSize:je,tableScrollBg:vt,zIndexTableSticky:Ct,stickyScrollBarBorderRadius:it}=me,_t=`${me.lineWidth}px ${me.lineType} ${me.tableBorderColor}`;return{[`${ge}-wrapper`]:{[`${ge}-sticky`]:{"&-holder":{position:"sticky",zIndex:Ct,background:me.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${je}px !important`,zIndex:Ct,display:"flex",alignItems:"center",background:vt,borderTop:_t,opacity:be,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:je,backgroundColor:ke,borderRadius:it,transition:`all ${me.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Ie}}}}}}},xi=me=>{const{componentCls:ge,lineWidth:be,tableBorderColor:ke}=me,Ie=`${be}px ${me.lineType} ${ke}`;return{[`${ge}-wrapper`]:{[`${ge}-summary`]:{position:"relative",zIndex:me.zIndexTableFixed,background:me.tableBg,"> tr":{"> th, > td":{borderBottom:Ie}}},[`div${ge}-summary`]:{boxShadow:`0 -${be}px 0 ${ke}`}}}},dl=me=>{const{componentCls:ge}=me,be=`${me.lineWidth}px ${me.lineType} ${me.tableBorderColor}`,ke=`${ge}-expanded-row-cell`;return{[`${ge}-wrapper`]:{[`${ge}-tbody-virtual`]:{[`${ge}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ge}-cell`]:{borderBottom:be},[`${ge}-expanded-row`]:{[`${ke}${ke}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${me.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ge}-bordered`]:{[`${ge}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:be,position:"absolute"},[`${ge}-cell`]:{borderInlineEnd:be,[`&${ge}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-me.lineWidth,borderInlineStart:be}}}}}}};const cl=me=>{const{componentCls:ge,fontWeightStrong:be,tablePaddingVertical:ke,tablePaddingHorizontal:Ie,lineWidth:je,lineType:vt,tableBorderColor:Ct,tableFontSize:it,tableBg:_t,tableRadius:Ft,tableHeaderTextColor:Xt,motionDurationMid:Ln,tableHeaderBg:zt,tableHeaderCellSplitColor:At,tableRowHoverBg:Un,tableSelectedRowBg:Hn,tableSelectedRowHoverBg:$n,tableFooterTextColor:Vn,tableFooterBg:qn,paddingContentVerticalLG:Fn}=me,Ca=`${je}px ${vt} ${Ct}`;return{[`${ge}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ki.dF)()),{[ge]:Object.assign(Object.assign({},(0,ki.Wf)(me)),{fontSize:it,background:_t,borderRadius:`${Ft}px ${Ft}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Ft}px ${Ft}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
${ge}-cell,
|
|
${ge}-thead > tr > th,
|
|
${ge}-tbody > tr > th,
|
|
${ge}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{position:"relative",padding:`${Fn}px ${Ie}px`,overflowWrap:"break-word"},[`${ge}-title`]:{padding:`${ke}px ${Ie}px`},[`${ge}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Xt,fontWeight:be,textAlign:"start",background:zt,borderBottom:Ca,transition:`background ${Ln} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ge}-selection-column):not(${ge}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:At,transform:"translateY(-50%)",transition:`background-color ${Ln}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ge}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Ln}, border-color ${Ln}`,borderBottom:Ca,[`
|
|
> ${ge}-wrapper:only-child,
|
|
> ${ge}-expanded-row-fixed > ${ge}-wrapper:only-child
|
|
`]:{[ge]:{marginBlock:`-${ke}px`,marginInline:`${me.tableExpandColumnWidth-Ie}px -${Ie}px`,[`${ge}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Xt,fontWeight:be,textAlign:"start",background:zt,borderBottom:Ca,transition:`background ${Ln} ease`},[`
|
|
&${ge}-row:hover > th,
|
|
&${ge}-row:hover > td,
|
|
> th${ge}-cell-row-hover,
|
|
> td${ge}-cell-row-hover
|
|
`]:{background:Un},[`&${ge}-row-selected`]:{"> th, > td":{background:Hn},"&:hover > th, &:hover > td":{background:$n}}}},[`${ge}-footer`]:{padding:`${ke}px ${Ie}px`,color:Vn,background:qn}})}};var gl=(0,Nl.Z)("Table",me=>{const{colorTextHeading:ge,colorSplit:be,colorIcon:ke,colorIconHover:Ie,opacityLoading:je,colorBgContainer:vt,controlInteractiveSize:Ct,headerBg:it,headerColor:_t,headerSortActiveBg:Ft,headerSortHoverBg:Xt,bodySortBg:Ln,rowHoverBg:zt,rowSelectedBg:At,rowSelectedHoverBg:Un,rowExpandedBg:Hn,cellPaddingBlock:$n,cellPaddingInline:Vn,cellPaddingBlockMD:qn,cellPaddingInlineMD:Fn,cellPaddingBlockSM:Ca,cellPaddingInlineSM:ba,borderColor:Za,footerBg:Ha,footerColor:ia,headerBorderRadius:ya,cellFontSize:Sa,cellFontSizeMD:Gn,cellFontSizeSM:ma,headerSplitColor:Ma,fixedHeaderSortActiveBg:er,headerFilterHoverBg:ar,filterDropdownBg:Wa,expandIconBg:mr,selectionColumnWidth:hr,stickyScrollBarBg:Wr}=me,Zr=new Fi.C(ke),ho=new Fi.C(Ie),qr=2,xr=(0,rs.TS)(me,{tableFontSize:Sa,tableBg:vt,tableRadius:ya,tablePaddingVertical:$n,tablePaddingHorizontal:Vn,tablePaddingVerticalMiddle:qn,tablePaddingHorizontalMiddle:Fn,tablePaddingVerticalSmall:Ca,tablePaddingHorizontalSmall:ba,tableBorderColor:Za,tableHeaderTextColor:_t,tableHeaderBg:it,tableFooterTextColor:ia,tableFooterBg:Ha,tableHeaderCellSplitColor:Ma,tableHeaderSortBg:Ft,tableHeaderSortHoverBg:Xt,tableHeaderIconColor:Zr.clone().setAlpha(Zr.getAlpha()*je).toRgbString(),tableHeaderIconColorHover:ho.clone().setAlpha(ho.getAlpha()*je).toRgbString(),tableBodySortBg:Ln,tableFixedHeaderSortActiveBg:er,tableHeaderFilterActiveBg:ar,tableFilterDropdownBg:Wa,tableRowHoverBg:zt,tableSelectedRowBg:At,tableSelectedRowHoverBg:Un,zIndexTableFixed:qr,zIndexTableSticky:qr+1,tableFontSizeMiddle:Gn,tableFontSizeSmall:ma,tableSelectionColumnWidth:hr,tableExpandIconBg:mr,tableExpandColumnWidth:Ct+2*me.padding,tableExpandedRowBg:Hn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Wr,tableScrollThumbBgHover:ge,tableScrollBg:be});return[cl(xr),ds(xr),xi(xr),ms(xr),ti(xr),is(xr),Rl(xr),Ll(xr),xi(xr),ss(xr),kl(xr),Oo(xr),Zi(xr),ls(xr),cs(xr),Ml(xr),dl(xr)]},me=>{const{colorFillAlter:ge,colorBgContainer:be,colorTextHeading:ke,colorFillSecondary:Ie,colorFillContent:je,controlItemBgActive:vt,controlItemBgActiveHover:Ct,padding:it,paddingSM:_t,paddingXS:Ft,colorBorderSecondary:Xt,borderRadiusLG:Ln,fontSize:zt,controlHeight:At,colorTextPlaceholder:Un}=me,Hn=new Fi.C(Ie).onBackground(be).toHexShortString(),$n=new Fi.C(je).onBackground(be).toHexShortString(),Vn=new Fi.C(ge).onBackground(be).toHexShortString();return{headerBg:Vn,headerColor:ke,headerSortActiveBg:Hn,headerSortHoverBg:$n,bodySortBg:Vn,rowHoverBg:Vn,rowSelectedBg:vt,rowSelectedHoverBg:Ct,rowExpandedBg:ge,cellPaddingBlock:it,cellPaddingInline:it,cellPaddingBlockMD:_t,cellPaddingInlineMD:Ft,cellPaddingBlockSM:Ft,cellPaddingInlineSM:Ft,borderColor:Xt,headerBorderRadius:Ln,footerBg:Vn,footerColor:ke,cellFontSize:zt,cellFontSizeMD:zt,cellFontSizeSM:zt,headerSplitColor:Xt,fixedHeaderSortActiveBg:Hn,headerFilterHoverBg:je,filterDropdownMenuBg:be,filterDropdownBg:be,expandIconBg:be,selectionColumnWidth:At,stickyScrollBarBg:Un,stickyScrollBarBorderRadius:100}});const Se=[],We=(me,ge)=>{const{prefixCls:be,className:ke,rootClassName:Ie,style:je,size:vt,bordered:Ct,dropdownPrefixCls:it,dataSource:_t,pagination:Ft,rowSelection:Xt,rowKey:Ln="key",rowClassName:zt,columns:At,children:Un,childrenColumnName:Hn,onChange:$n,getPopupContainer:Vn,loading:qn,expandIcon:Fn,expandable:Ca,expandedRowRender:ba,expandIconColumnIndex:Za,indentSize:Ha,scroll:ia,sortDirections:ya,locale:Sa,showSorterTooltip:Gn=!0,virtual:ma}=me,Ma=se.useMemo(()=>At||dt(Un),[At,Un]),er=se.useMemo(()=>Ma.some(Kr=>Kr.responsive),[Ma]),ar=(0,Qo.Z)(er),Wa=se.useMemo(()=>{const Kr=new Set(Object.keys(ar).filter(fo=>ar[fo]));return Ma.filter(fo=>!fo.responsive||fo.responsive.some(Mo=>Kr.has(Mo)))},[Ma,ar]),mr=(0,To.Z)(me,["className","style","columns"]),{locale:hr=Ho.Z,direction:Wr,table:Zr,renderEmpty:ho,getPrefixCls:qr,getPopupContainer:xr}=se.useContext(Dr.E_),Do=(0,Po.Z)(vt),Ur=Object.assign(Object.assign({},hr.Table),Sa),So=_t||Se,ao=qr("table",be),$o=qr("dropdown",it),sr=Object.assign({childrenColumnName:Hn,expandIconColumnIndex:Za},Ca),{childrenColumnName:ur="children"}=sr,za=se.useMemo(()=>So.some(Kr=>Kr==null?void 0:Kr[ur])?"nest":ba||Ca&&Ca.expandedRowRender?"row":null,[So]),tr={body:se.useRef()},Gr=se.useMemo(()=>typeof Ln=="function"?Ln:Kr=>Kr==null?void 0:Kr[Ln],[Ln]),[nr]=bl(So,ur,Gr),cr={},Rr=function(Kr,fo){let Mo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Co,Wo,Uo;const Xo=Object.assign(Object.assign({},cr),Kr);Mo&&((Co=cr.resetPagination)===null||Co===void 0||Co.call(cr),!((Wo=Xo.pagination)===null||Wo===void 0)&&Wo.current&&(Xo.pagination.current=1),Ft&&Ft.onChange&&Ft.onChange(1,(Uo=Xo.pagination)===null||Uo===void 0?void 0:Uo.pageSize)),ia&&ia.scrollToFirstRowOnChange!==!1&&tr.body.current&&(0,ko.Z)(0,{getContainer:()=>tr.body.current}),$n==null||$n(Xo.pagination,Xo.filters,Xo.sorter,{currentDataSource:Xl(Mi(So,Xo.sorterStates,ur),Xo.filterStates),action:fo})},Fr=(Kr,fo)=>{Rr({sorter:Kr,sorterStates:fo},"sort",!1)},[ro,Ao,Zo,Ro]=ns({prefixCls:ao,mergedColumns:Wa,onSorterChange:Fr,sortDirections:ya||["ascend","descend"],tableLocale:Ur,showSorterTooltip:Gn}),ci=se.useMemo(()=>Mi(So,Ao,ur),[So,Ao]);cr.sorter=Ro(),cr.sorterStates=Ao;const No=(Kr,fo)=>{Rr({filters:Kr,filterStates:fo},"filter",!0)},[Io,Ai,Xr]=El({prefixCls:ao,locale:Ur,dropdownPrefixCls:$o,mergedColumns:Wa,onFilterChange:No,getPopupContainer:Vn||xr}),eo=Xl(ci,Ai);cr.filters=Xr,cr.filterStates=Ai;const co=se.useMemo(()=>{const Kr={};return Object.keys(Xr).forEach(fo=>{Xr[fo]!==null&&(Kr[fo]=Xr[fo])}),Object.assign(Object.assign({},Zo),{filters:Kr})},[Zo,Xr]),[Eo]=as(co),oo=(Kr,fo)=>{Rr({pagination:Object.assign(Object.assign({},cr.pagination),{current:Kr,pageSize:fo})},"paginate")},[Tr,Ko]=di(eo.length,oo,Ft);cr.pagination=Ft===!1?{}:oi(Tr,Ft),cr.resetPagination=Ko;const Vo=se.useMemo(()=>{if(Ft===!1||!Tr.pageSize)return eo;const{current:Kr=1,total:fo,pageSize:Mo=xl}=Tr;return eo.length<fo?eo.length>Mo?eo.slice((Kr-1)*Mo,Kr*Mo):eo:eo.slice((Kr-1)*Mo,Kr*Mo)},[!!Ft,eo,Tr&&Tr.current,Tr&&Tr.pageSize,Tr&&Tr.total]),[ca,Ja]=Al({prefixCls:ao,data:eo,pageData:Vo,getRowKey:Gr,getRecordByKey:nr,expandType:za,childrenColumnName:ur,locale:Ur,getPopupContainer:Vn||xr},Xt),Pr=(Kr,fo,Mo)=>{let Co;return typeof zt=="function"?Co=et()(zt(Kr,fo,Mo)):Co=et()(zt),et()({[`${ao}-row-selected`]:Ja.has(Gr(Kr,fo))},Co)};sr.__PARENT_RENDER_ICON__=sr.expandIcon,sr.expandIcon=sr.expandIcon||Fn||Ba(Ur),za==="nest"&&sr.expandIconColumnIndex===void 0?sr.expandIconColumnIndex=Xt?1:0:sr.expandIconColumnIndex>0&&Xt&&(sr.expandIconColumnIndex-=1),typeof sr.indentSize!="number"&&(sr.indentSize=typeof Ha=="number"?Ha:15);const Er=se.useCallback(Kr=>Eo(ca(Io(ro(Kr)))),[ro,Io,ca]);let Nr,_r;if(Ft!==!1&&(Tr!=null&&Tr.total)){let Kr;Tr.size?Kr=Tr.size:Kr=Do==="small"||Do==="middle"?"small":void 0;const fo=Wo=>se.createElement(ei.Z,Object.assign({},Tr,{className:et()(`${ao}-pagination ${ao}-pagination-${Wo}`,Tr.className),size:Kr})),Mo=Wr==="rtl"?"left":"right",{position:Co}=Tr;if(Co!==null&&Array.isArray(Co)){const Wo=Co.find(Si=>Si.includes("top")),Uo=Co.find(Si=>Si.includes("bottom")),Xo=Co.every(Si=>`${Si}`=="none");!Wo&&!Uo&&!Xo&&(_r=fo(Mo)),Wo&&(Nr=fo(Wo.toLowerCase().replace("top",""))),Uo&&(_r=fo(Uo.toLowerCase().replace("bottom","")))}else _r=fo(Mo)}let io;typeof qn=="boolean"?io={spinning:qn}:typeof qn=="object"&&(io=Object.assign({spinning:!0},qn));const[bo,lo]=gl(ao),[,po]=(0,pa.Z)(),ii=et()(`${ao}-wrapper`,Zr==null?void 0:Zr.className,{[`${ao}-wrapper-rtl`]:Wr==="rtl"},ke,Ie,lo),zo=Object.assign(Object.assign({},Zr==null?void 0:Zr.style),je),ni=Sa&&Sa.emptyText||(ho==null?void 0:ho("Table"))||se.createElement(Yr.Z,{componentName:"Table"}),qo=ma?sl:As,fi={},Xi=se.useMemo(()=>{const{fontSize:Kr,lineHeight:fo,padding:Mo,paddingXS:Co,paddingSM:Wo}=po,Uo=Math.floor(Kr*fo);switch(Do){case"large":return Mo*2+Uo;case"small":return Co*2+Uo;default:return Wo*2+Uo}},[po,Do]);return ma&&(fi.listItemHeight=Xi),bo(se.createElement("div",{ref:ge,className:ii,style:zo},se.createElement(Qa.Z,Object.assign({spinning:!1},io),Nr,se.createElement(qo,Object.assign({},fi,mr,{columns:Wa,direction:Wr,expandable:sr,prefixCls:ao,className:et()({[`${ao}-middle`]:Do==="middle",[`${ao}-small`]:Do==="small",[`${ao}-bordered`]:Ct,[`${ao}-empty`]:So.length===0}),data:Vo,rowKey:Gr,rowClassName:Pr,emptyText:ni,internalHooks:ue,internalRefs:tr,transformColumns:Er})),_r)))};var Je=se.forwardRef(We);const cn=(me,ge)=>{const be=se.useRef(0);return be.current+=1,se.createElement(Je,Object.assign({},me,{ref:ge,_renderTimes:be.current}))},da=se.forwardRef(cn);da.SELECTION_COLUMN=yi,da.EXPAND_COLUMN=x,da.SELECTION_ALL=al,da.SELECTION_INVERT=ha,da.SELECTION_NONE=Li,da.Column=Jr,da.ColumnGroup=Bo,da.Summary=Fe;var ka=da,Ka=ka},12563:function(Wt,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),ct=te(36355),ot=te(17313),Ve=te(37613),Ue=te(83116);const tt=he=>{const{paddingXXS:Te,lineWidth:et,tagPaddingHorizontal:Et,componentCls:Ne}=he,ut=Et-et,xt=Te-et;return{[Ne]:Object.assign(Object.assign({},(0,ot.Wf)(he)),{display:"inline-block",height:"auto",marginInlineEnd:he.marginXS,paddingInline:ut,fontSize:he.tagFontSize,lineHeight:he.tagLineHeight,whiteSpace:"nowrap",background:he.defaultBg,border:`${he.lineWidth}px ${he.lineType} ${he.colorBorder}`,borderRadius:he.borderRadiusSM,opacity:1,transition:`all ${he.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ne}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:he.defaultColor},[`${Ne}-close-icon`]:{marginInlineStart:xt,color:he.colorTextDescription,fontSize:he.tagIconSize,cursor:"pointer",transition:`all ${he.motionDurationMid}`,"&:hover":{color:he.colorTextHeading}},[`&${Ne}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${he.iconCls}-close, ${he.iconCls}-close:hover`]:{color:he.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ne}-checkable-checked):hover`]:{color:he.colorPrimary,backgroundColor:he.colorFillSecondary},"&:active, &-checked":{color:he.colorTextLightSolid},"&-checked":{backgroundColor:he.colorPrimary,"&:hover":{backgroundColor:he.colorPrimaryHover}},"&:active":{backgroundColor:he.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${he.iconCls} + span, > span + ${he.iconCls}`]:{marginInlineStart:ut}}),[`${Ne}-borderless`]:{borderColor:"transparent",background:he.tagBorderlessBg}}},$e=he=>{const{lineWidth:Te,fontSizeIcon:et}=he,Et=he.fontSizeSM,Ne=`${he.lineHeightSM*Et}px`;return(0,Ve.TS)(he,{tagFontSize:Et,tagLineHeight:Ne,tagIconSize:et-2*Te,tagPaddingHorizontal:8,tagBorderlessBg:he.colorFillTertiary})},le=he=>({defaultBg:he.colorFillQuaternary,defaultColor:he.colorText});var y=(0,Ue.Z)("Tag",he=>{const Te=$e(he);return tt(Te)},le),a=function(he,Te){var et={};for(var Et in he)Object.prototype.hasOwnProperty.call(he,Et)&&Te.indexOf(Et)<0&&(et[Et]=he[Et]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Et=Object.getOwnPropertySymbols(he);Ne<Et.length;Ne++)Te.indexOf(Et[Ne])<0&&Object.prototype.propertyIsEnumerable.call(he,Et[Ne])&&(et[Et[Ne]]=he[Et[Ne]]);return et},E=he=>{const{prefixCls:Te,style:et,className:Et,checked:Ne,onChange:ut,onClick:xt}=he,yt=a(he,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:gt,tag:Yt}=x.useContext(ct.E_),wt=qt=>{ut==null||ut(!Ne),xt==null||xt(qt)},nn=gt("tag",Te),[dn,at]=y(nn),qe=Me()(nn,`${nn}-checkable`,{[`${nn}-checkable-checked`]:Ne},Yt==null?void 0:Yt.className,Et,at);return dn(x.createElement("span",Object.assign({},yt,{style:Object.assign(Object.assign({},et),Yt==null?void 0:Yt.style),className:qe,onClick:wt})))},z=te(45157);const ne=he=>(0,z.Z)(he,(Te,et)=>{let{textColor:Et,lightBorderColor:Ne,lightColor:ut,darkColor:xt}=et;return{[`${he.componentCls}-${Te}`]:{color:Et,background:ut,borderColor:Ne,"&-inverse":{color:he.colorTextLightSolid,background:xt,borderColor:xt},[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,Ue.b)(["Tag","preset"],he=>{const Te=$e(he);return ne(Te)},le);function ie(he){return typeof he!="string"?he:he.charAt(0).toUpperCase()+he.slice(1)}const ce=(he,Te,et)=>{const Et=ie(et);return{[`${he.componentCls}-${Te}`]:{color:he[`color${et}`],background:he[`color${Et}Bg`],borderColor:he[`color${Et}Border`],[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}};var pe=(0,Ue.b)(["Tag","status"],he=>{const Te=$e(he);return[ce(Te,"success","Success"),ce(Te,"processing","Info"),ce(Te,"error","Error"),ce(Te,"warning","Warning")]},le),Ee=function(he,Te){var et={};for(var Et in he)Object.prototype.hasOwnProperty.call(he,Et)&&Te.indexOf(Et)<0&&(et[Et]=he[Et]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Et=Object.getOwnPropertySymbols(he);Ne<Et.length;Ne++)Te.indexOf(Et[Ne])<0&&Object.prototype.propertyIsEnumerable.call(he,Et[Ne])&&(et[Et[Ne]]=he[Et[Ne]]);return et};const Ge=(he,Te)=>{const{prefixCls:et,className:Et,rootClassName:Ne,style:ut,children:xt,icon:yt,color:gt,onClose:Yt,closeIcon:wt,closable:nn,bordered:dn=!0}=he,at=Ee(he,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:qe,direction:qt,tag:Sn}=x.useContext(ct.E_),[Zt,mn]=x.useState(!0);x.useEffect(()=>{"visible"in at&&mn(at.visible)},[at.visible]);const Ke=(0,Le.o2)(gt),It=(0,Le.yT)(gt),Ut=Ke||It,Mt=Object.assign(Object.assign({backgroundColor:gt&&!Ut?gt:void 0},Sn==null?void 0:Sn.style),ut),ft=qe("tag",et),[rt,ze]=y(ft),ve=Me()(ft,Sn==null?void 0:Sn.className,{[`${ft}-${gt}`]:Ut,[`${ft}-has-color`]:gt&&!Ut,[`${ft}-hidden`]:!Zt,[`${ft}-rtl`]:qt==="rtl",[`${ft}-borderless`]:!dn},Et,Ne,ze),fe=Xe=>{Xe.stopPropagation(),Yt==null||Yt(Xe),!Xe.defaultPrevented&&mn(!1)},[,Ye]=(0,Oe.Z)(nn,wt,Xe=>Xe===null?x.createElement(ue.Z,{className:`${ft}-close-icon`,onClick:fe}):x.createElement("span",{className:`${ft}-close-icon`,onClick:fe},Xe),null,!1),Lt=typeof at.onClick=="function"||xt&&xt.type==="a",Fe=yt||null,xe=Fe?x.createElement(x.Fragment,null,Fe,xt&&x.createElement("span",null,xt)):xt,nt=x.createElement("span",Object.assign({},at,{ref:Te,className:ve,style:Mt}),xe,Ye,Ke&&x.createElement(re,{key:"preset",prefixCls:ft}),It&&x.createElement(pe,{key:"status",prefixCls:ft}));return rt(Lt?x.createElement(se.Z,{component:"Tag"},nt):nt)},De=x.forwardRef(Ge);De.CheckableTag=E;var Qe=De},98228:function(Wt,Gt,te){"use strict";te.d(Gt,{default:function(){return wa}});var x=te(92310),ue=te.n(x),Be=te(14809),Me=te(95190),Le=te(20439),Oe=te(50298),se=te(62646),ct=te(93664),ot=te(77861),Ve=te(17115),Ue=te(90782),tt=te(18929),$e=te(48736),le=te(59301),y=function(en){var bn=le.useRef({valueLabels:new Map});return le.useMemo(function(){var Mn=bn.current.valueLabels,Qn=new Map,Ze=en.map(function(Nt){var kt,Kt=Nt.value,tn=(kt=Nt.label)!==null&&kt!==void 0?kt:Mn.get(Kt);return Qn.set(Kt,tn),(0,Le.Z)((0,Le.Z)({},Nt),{},{label:tn})});return bn.current.valueLabels=Qn,[Ze]},[en])},a=function(en,bn,Mn,Qn){return le.useMemo(function(){var Ze=en.map(function(tn){var jt=tn.value;return jt}),Nt=bn.map(function(tn){var jt=tn.value;return jt}),kt=Ze.filter(function(tn){return!Qn[tn]});if(Mn){var Kt=(0,Ue.S)(Ze,!0,Qn);Ze=Kt.checkedKeys,Nt=Kt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Me.Z)(kt),(0,Me.Z)(Ze)))),Nt]},[en,bn,Mn,Qn])},b=te(71430),E=function(en,bn){return le.useMemo(function(){var Mn=(0,b.I8)(en,{fieldNames:bn,initWrapper:function(Ze){return(0,Le.Z)((0,Le.Z)({},Ze),{},{valueEntities:new Map})},processEntity:function(Ze,Nt){var kt=Ze.node[bn.value];if(0)var Kt;Nt.valueEntities.set(kt,Ze)}});return Mn},[en,bn])},z=te(4635),ne=te(11592),re=function(){return null},ie=re,ce=["children","value"];function pe(en){return(0,ne.Z)(en).map(function(bn){if(!le.isValidElement(bn)||!bn.type)return null;var Mn=bn,Qn=Mn.key,Ze=Mn.props,Nt=Ze.children,kt=Ze.value,Kt=(0,se.Z)(Ze,ce),tn=(0,Le.Z)({key:Qn,value:kt},Kt),jt=pe(Nt);return jt.length&&(tn.children=jt),tn}).filter(function(bn){return bn})}function Ee(en){if(!en)return en;var bn=(0,Le.Z)({},en);return"props"in bn||Object.defineProperty(bn,"props",{get:function(){return(0,$e.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),bn}}),bn}function Ge(en,bn,Mn,Qn,Ze,Nt){var kt=null,Kt=null;function tn(){function jt(fn){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",St=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return fn.map(function(dt,ln){var Nn="".concat(st,"-").concat(ln),Cn=dt[Nt.value],la=Mn.includes(Cn),jn=jt(dt[Nt.children]||[],Nn,la),lt=le.createElement(ie,dt,jn.map(function(Jn){return Jn.node}));if(bn===Cn&&(kt=lt),la){var Jt={pos:Nn,node:lt,children:jn};return St||Kt.push(Jt),Jt}return null}).filter(function(dt){return dt})}Kt||(Kt=[],jt(Qn),Kt.sort(function(fn,st){var St=fn.node.props.value,dt=st.node.props.value,ln=Mn.indexOf(St),Nn=Mn.indexOf(dt);return ln-Nn}))}Object.defineProperty(en,"triggerNode",{get:function(){return(0,$e.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),tn(),kt}}),Object.defineProperty(en,"allCheckedNodes",{get:function(){return(0,$e.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),tn(),Ze?Kt:Kt.map(function(fn){var st=fn.node;return st})}})}var De=function(en,bn,Mn){var Qn=Mn.treeNodeFilterProp,Ze=Mn.filterTreeNode,Nt=Mn.fieldNames,kt=Nt.children;return le.useMemo(function(){if(!bn||Ze===!1)return en;var Kt;if(typeof Ze=="function")Kt=Ze;else{var tn=bn.toUpperCase();Kt=function(st,St){var dt=St[Qn];return String(dt).toUpperCase().includes(tn)}}function jt(fn){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return fn.reduce(function(St,dt){var ln=dt[kt],Nn=st||Kt(bn,Ee(dt)),Cn=jt(ln||[],Nn);return(Nn||Cn.length)&&St.push((0,Le.Z)((0,Le.Z)({},dt),{},(0,z.Z)({isLeaf:void 0},kt,Cn))),St},[])}return jt(en)},[en,bn,kt,Qn,Ze])};function Qe(en){var bn=le.useRef();bn.current=en;var Mn=le.useCallback(function(){return bn.current.apply(bn,arguments)},[]);return Mn}function he(en,bn){var Mn=bn.id,Qn=bn.pId,Ze=bn.rootPId,Nt={},kt=[],Kt=en.map(function(tn){var jt=(0,Le.Z)({},tn),fn=jt[Mn];return Nt[fn]=jt,jt.key=jt.key||fn,jt});return Kt.forEach(function(tn){var jt=tn[Qn],fn=Nt[jt];fn&&(fn.children=fn.children||[],fn.children.push(tn)),(jt===Ze||!fn&&Ze===null)&&kt.push(tn)}),kt}function Te(en,bn,Mn){return le.useMemo(function(){return en?Mn?he(en,(0,Le.Z)({id:"id",pId:"pId",rootPId:null},Mn!==!0?Mn:{})):en:pe(bn)},[bn,Mn,en])}var et=le.createContext(null),Et=et,Ne=te(10228),ut=te(80547),xt=te(79556),yt=le.createContext(null),gt=yt;function Yt(en){return Array.isArray(en)?en:en!==void 0?[en]:[]}function wt(en){var bn=en||{},Mn=bn.label,Qn=bn.value,Ze=bn.children,Nt=Qn||"value";return{_title:Mn?[Mn]:["title","label"],value:Nt,key:Nt,children:Ze||"children"}}function nn(en){return!en||en.disabled||en.disableCheckbox||en.checkable===!1}function dn(en,bn){var Mn=[];function Qn(Ze){Ze.forEach(function(Nt){var kt=Nt[bn.children];kt&&(Mn.push(Nt[bn.value]),Qn(kt))})}return Qn(en),Mn}function at(en){return en==null}var qe={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},qt=function(bn,Mn){var Qn=(0,ot.lk)(),Ze=Qn.prefixCls,Nt=Qn.multiple,kt=Qn.searchValue,Kt=Qn.toggleOpen,tn=Qn.open,jt=Qn.notFoundContent,fn=le.useContext(gt),st=fn.virtual,St=fn.listHeight,dt=fn.listItemHeight,ln=fn.treeData,Nn=fn.fieldNames,Cn=fn.onSelect,la=fn.dropdownMatchSelectWidth,jn=fn.treeExpandAction,lt=le.useContext(Et),Jt=lt.checkable,Jn=lt.checkedKeys,sn=lt.halfCheckedKeys,zn=lt.treeExpandedKeys,na=lt.treeDefaultExpandAll,La=lt.treeDefaultExpandedKeys,sa=lt.onTreeExpand,He=lt.treeIcon,rn=lt.showTreeIcon,Qt=lt.switcherIcon,En=lt.treeLine,In=lt.treeNodeFilterProp,kn=lt.loadData,An=lt.treeLoadedKeys,Dn=lt.treeMotion,Fa=lt.onTreeLoad,Oa=lt.keyEntities,pn=le.useRef(),Na=(0,ut.Z)(function(){return ln},[tn,ln],function(or,Lr){return Lr[0]&&or[1]!==Lr[1]}),Yn=le.useState(null),qa=(0,Oe.Z)(Yn,2),$a=qa[0],Wn=qa[1],ua=Oa[$a],fa=le.useMemo(function(){return Jt?{checked:Jn,halfChecked:sn}:null},[Jt,Jn,sn]);le.useEffect(function(){if(tn&&!Nt&&Jn.length){var or;(or=pn.current)===null||or===void 0||or.scrollTo({key:Jn[0]}),Wn(Jn[0])}},[tn]);var ra=String(kt).toLowerCase(),Ua=function(Lr){return ra?String(Lr[In]).toLowerCase().includes(ra):!1},rr=le.useState(La),Ga=(0,Oe.Z)(rr,2),_a=Ga[0],lr=Ga[1],Vr=le.useState(null),Ir=(0,Oe.Z)(Vr,2),uo=Ir[0],yr=Ir[1],Sr=le.useMemo(function(){return zn?(0,Me.Z)(zn):kt?uo:_a},[_a,uo,zn,kt]);le.useEffect(function(){kt&&yr(dn(ln,Nn))},[kt]);var Ar=function(Lr){lr(Lr),yr(Lr),sa&&sa(Lr)},br=function(Lr){Lr.preventDefault()},Br=function(Lr,Or){var Cr=Or.node;Jt&&nn(Cr)||(Cn(Cr.key,{selected:!Jn.includes(Cr.key)}),Nt||Kt(!1))};if(le.useImperativeHandle(Mn,function(){var or;return{scrollTo:(or=pn.current)===null||or===void 0?void 0:or.scrollTo,onKeyDown:function(Or){var Cr,Qr=Or.which;switch(Qr){case Ne.Z.UP:case Ne.Z.DOWN:case Ne.Z.LEFT:case Ne.Z.RIGHT:(Cr=pn.current)===null||Cr===void 0||Cr.onKeyDown(Or);break;case Ne.Z.ENTER:{if(ua){var Hr=(ua==null?void 0:ua.node)||{},Xa=Hr.selectable,wr=Hr.value;Xa!==!1&&Br(null,{node:{key:$a},selected:!Jn.includes(wr)})}break}case Ne.Z.ESC:Kt(!1)}},onKeyUp:function(){}}}),Na.length===0)return le.createElement("div",{role:"listbox",className:"".concat(Ze,"-empty"),onMouseDown:br},jt);var Ta={fieldNames:Nn};return An&&(Ta.loadedKeys=An),Sr&&(Ta.expandedKeys=Sr),le.createElement("div",{onMouseDown:br},ua&&tn&&le.createElement("span",{style:qe,"aria-live":"assertive"},ua.node.value),le.createElement(xt.Z,(0,Be.Z)({ref:pn,focusable:!1,prefixCls:"".concat(Ze,"-tree"),treeData:Na,height:St,itemHeight:dt,virtual:st!==!1&&la!==!1,multiple:Nt,icon:He,showIcon:rn,switcherIcon:Qt,showLine:En,loadData:kt?null:kn,motion:Dn,activeKey:$a,checkable:Jt,checkStrictly:!0,checkedKeys:fa,selectedKeys:Jt?[]:Jn,defaultExpandAll:na},Ta,{onActiveChange:Wn,onSelect:Br,onCheck:Br,onExpand:Ar,onLoad:Fa,filterTreeNode:Ua,expandAction:jn})))},Sn=le.forwardRef(qt);Sn.displayName="OptionList";var Zt=Sn,mn="SHOW_ALL",Ke="SHOW_PARENT",It="SHOW_CHILD";function Ut(en,bn,Mn,Qn){var Ze=new Set(en);return bn===It?en.filter(function(Nt){var kt=Mn[Nt];return!(kt&&kt.children&&kt.children.some(function(Kt){var tn=Kt.node;return Ze.has(tn[Qn.value])})&&kt.children.every(function(Kt){var tn=Kt.node;return nn(tn)||Ze.has(tn[Qn.value])}))}):bn===Ke?en.filter(function(Nt){var kt=Mn[Nt],Kt=kt?kt.parent:null;return!(Kt&&!nn(Kt.node)&&Ze.has(Kt.key))}):en}function Mt(en){var bn=en.searchPlaceholder,Mn=en.treeCheckStrictly,Qn=en.treeCheckable,Ze=en.labelInValue,Nt=en.value,kt=en.multiple;warning(!bn,"`searchPlaceholder` has been removed."),Mn&&Ze===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ze||Mn)&&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."),Mn||kt||Qn?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 ft=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 ze(en){return!en||(0,ct.Z)(en)!=="object"}var ve=le.forwardRef(function(en,bn){var Mn=en.id,Qn=en.prefixCls,Ze=Qn===void 0?"rc-tree-select":Qn,Nt=en.value,kt=en.defaultValue,Kt=en.onChange,tn=en.onSelect,jt=en.onDeselect,fn=en.searchValue,st=en.inputValue,St=en.onSearch,dt=en.autoClearSearchValue,ln=dt===void 0?!0:dt,Nn=en.filterTreeNode,Cn=en.treeNodeFilterProp,la=Cn===void 0?"value":Cn,jn=en.showCheckedStrategy,lt=en.treeNodeLabelProp,Jt=en.multiple,Jn=en.treeCheckable,sn=en.treeCheckStrictly,zn=en.labelInValue,na=en.fieldNames,La=en.treeDataSimpleMode,sa=en.treeData,He=en.children,rn=en.loadData,Qt=en.treeLoadedKeys,En=en.onTreeLoad,In=en.treeDefaultExpandAll,kn=en.treeExpandedKeys,An=en.treeDefaultExpandedKeys,Dn=en.onTreeExpand,Fa=en.treeExpandAction,Oa=en.virtual,pn=en.listHeight,Na=pn===void 0?200:pn,Yn=en.listItemHeight,qa=Yn===void 0?20:Yn,$a=en.onDropdownVisibleChange,Wn=en.dropdownMatchSelectWidth,ua=Wn===void 0?!0:Wn,fa=en.treeLine,ra=en.treeIcon,Ua=en.showTreeIcon,rr=en.switcherIcon,Ga=en.treeMotion,_a=(0,se.Z)(en,rt),lr=(0,Ve.ZP)(Mn),Vr=Jn&&!sn,Ir=Jn||sn,uo=sn||zn,yr=Ir||Jt,Sr=(0,tt.Z)(kt,{value:Nt}),Ar=(0,Oe.Z)(Sr,2),br=Ar[0],Br=Ar[1],Ta=le.useMemo(function(){return Jn?jn||It:mn},[jn,Jn]),or=le.useMemo(function(){return wt(na)},[JSON.stringify(na)]),Lr=(0,tt.Z)("",{value:fn!==void 0?fn:st,postState:function(ga){return ga||""}}),Or=(0,Oe.Z)(Lr,2),Cr=Or[0],Qr=Or[1],Hr=function(ga){Qr(ga),St==null||St(ga)},Xa=Te(sa,He,La),wr=E(Xa,or),pr=wr.keyEntities,Jr=wr.valueEntities,no=le.useCallback(function(Xn){var ga=[],va=[];return Xn.forEach(function(Va){Jr.has(Va)?va.push(Va):ga.push(Va)}),{missingRawValues:ga,existRawValues:va}},[Jr]),Bo=De(Xa,Cr,{fieldNames:or,treeNodeFilterProp:la,filterTreeNode:Nn}),To=le.useCallback(function(Xn){if(Xn){if(lt)return Xn[lt];for(var ga=or._title,va=0;va<ga.length;va+=1){var Va=Xn[ga[va]];if(Va!==void 0)return Va}}},[or,lt]),ko=le.useCallback(function(Xn){var ga=Yt(Xn);return ga.map(function(va){return ze(va)?{value:va}:va})},[]),Dr=le.useCallback(function(Xn){var ga=ko(Xn);return ga.map(function(va){var Va=va.label,vr=va.value,zr=va.halfChecked,kr,mo=Jr.get(vr);if(mo){var vo;Va=(vo=Va)!==null&&vo!==void 0?vo:To(mo.node),kr=mo.node.disabled}else if(Va===void 0){var xo=ko(br).find(function(pi){return pi.value===vr});Va=xo.label}return{label:Va,value:vr,halfChecked:zr,disabled:kr}})},[Jr,To,ko,br]),Yr=le.useMemo(function(){return ko(br)},[ko,br]),Po=le.useMemo(function(){var Xn=[],ga=[];return Yr.forEach(function(va){va.halfChecked?ga.push(va):Xn.push(va)}),[Xn,ga]},[Yr]),Qo=(0,Oe.Z)(Po,2),Ho=Qo[0],ei=Qo[1],Qa=le.useMemo(function(){return Ho.map(function(Xn){return Xn.value})},[Ho]),pa=a(Ho,ei,Vr,pr),Tn=(0,Oe.Z)(pa,2),Ba=Tn[0],gr=Tn[1],Ce=le.useMemo(function(){var Xn=Ut(Ba,Ta,pr,or),ga=Xn.map(function(zr){var kr,mo,vo;return(kr=(mo=pr[zr])===null||mo===void 0||(vo=mo.node)===null||vo===void 0?void 0:vo[or.value])!==null&&kr!==void 0?kr:zr}),va=ga.map(function(zr){var kr=Ho.find(function(mo){return mo.value===zr});return{value:zr,label:kr==null?void 0:kr.label}}),Va=Dr(va),vr=Va[0];return!yr&&vr&&at(vr.value)&&at(vr.label)?[]:Va.map(function(zr){var kr;return(0,Le.Z)((0,Le.Z)({},zr),{},{label:(kr=zr.label)!==null&&kr!==void 0?kr:zr.value})})},[or,yr,Ba,Ho,Dr,Ta,pr]),un=y(Ce),xn=(0,Oe.Z)(un,1),Kn=xn[0],an=Qe(function(Xn,ga,va){var Va=Dr(Xn);if(Br(Va),ln&&Qr(""),Kt){var vr=Xn;if(Vr){var zr=Ut(Xn,Ta,pr,or);vr=zr.map(function(yo){var hi=Jr.get(yo);return hi?hi.node[or.value]:yo})}var kr=ga||{triggerValue:void 0,selected:void 0},mo=kr.triggerValue,vo=kr.selected,xo=vr;if(sn){var pi=ei.filter(function(yo){return!vr.includes(yo.value)});xo=[].concat((0,Me.Z)(xo),(0,Me.Z)(pi))}var gi=Dr(xo),ri={preValue:Ho,triggerValue:mo},ui=!0;(sn||va==="selection"&&!vo)&&(ui=!1),Ge(ri,mo,Xn,Xa,ui,or),Ir?ri.checked=vo:ri.selected=vo;var vi=uo?gi:gi.map(function(yo){return yo.value});Kt(yr?vi:vi[0],uo?null:gi.map(function(yo){return yo.label}),ri)}}),oa=le.useCallback(function(Xn,ga){var va,Va=ga.selected,vr=ga.source,zr=pr[Xn],kr=zr==null?void 0:zr.node,mo=(va=kr==null?void 0:kr[or.value])!==null&&va!==void 0?va:Xn;if(!yr)an([mo],{selected:!0,triggerValue:mo},"option");else{var vo=Va?[].concat((0,Me.Z)(Qa),[mo]):Ba.filter(function(hi){return hi!==mo});if(Vr){var xo=no(vo),pi=xo.missingRawValues,gi=xo.existRawValues,ri=gi.map(function(hi){return Jr.get(hi).key}),ui;if(Va){var vi=(0,Ue.S)(ri,!0,pr);ui=vi.checkedKeys}else{var yo=(0,Ue.S)(ri,{checked:!1,halfCheckedKeys:gr},pr);ui=yo.checkedKeys}vo=[].concat((0,Me.Z)(pi),(0,Me.Z)(ui.map(function(hi){return pr[hi].node[or.value]})))}an(vo,{selected:Va,triggerValue:mo},vr||"option")}Va||!yr?tn==null||tn(mo,Ee(kr)):jt==null||jt(mo,Ee(kr))},[no,Jr,pr,or,yr,Qa,an,Vr,tn,jt,Ba,gr]),ea=le.useCallback(function(Xn){if($a){var ga={};Object.defineProperty(ga,"documentClickClose",{get:function(){return(0,$e.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),$a(Xn,ga)}},[$a]),Bn=Qe(function(Xn,ga){var va=Xn.map(function(Va){return Va.value});if(ga.type==="clear"){an(va,{},"selection");return}ga.values.length&&oa(ga.values[0].value,{selected:!1,source:"selection"})}),On=le.useMemo(function(){return{virtual:Oa,dropdownMatchSelectWidth:ua,listHeight:Na,listItemHeight:qa,treeData:Bo,fieldNames:or,onSelect:oa,treeExpandAction:Fa}},[Oa,ua,Na,qa,Bo,or,oa,Fa]),Aa=le.useMemo(function(){return{checkable:Ir,loadData:rn,treeLoadedKeys:Qt,onTreeLoad:En,checkedKeys:Ba,halfCheckedKeys:gr,treeDefaultExpandAll:In,treeExpandedKeys:kn,treeDefaultExpandedKeys:An,onTreeExpand:Dn,treeIcon:ra,treeMotion:Ga,showTreeIcon:Ua,switcherIcon:rr,treeLine:fa,treeNodeFilterProp:la,keyEntities:pr}},[Ir,rn,Qt,En,Ba,gr,In,kn,An,Dn,ra,Ga,Ua,rr,fa,la,pr]);return le.createElement(gt.Provider,{value:On},le.createElement(Et.Provider,{value:Aa},le.createElement(ot.Ac,(0,Be.Z)({ref:bn},_a,{id:lr,prefixCls:Ze,mode:yr?"multiple":void 0,displayValues:Kn,onDisplayValuesChange:Bn,searchValue:Cr,onSearch:Hr,OptionList:Zt,emptyOptions:!Xa.length,onDropdownVisibleChange:ea,dropdownMatchSelectWidth:ua}))))}),fe=ve;fe.TreeNode=ie,fe.SHOW_ALL=mn,fe.SHOW_PARENT=Ke,fe.SHOW_CHILD=It;var Ye=fe,Lt=Ye,Fe=te(2738),xe=te(53487),nt=te(62892),Xe=te(19080),Ae=te(36355),pt=te(1684),hn=te(93891),$t=te(19716),Ht=te(32441),on=te(14154),gn=te(58582),_e=te(84443),Bt=te(66339),Ot=te(33234),ht=te(71997),Dt=te(98447),vn=te(37613),yn=te(83116),Pn=te(20648);const Rn=en=>{const{componentCls:bn,treePrefixCls:Mn,colorBgElevated:Qn}=en,Ze=`.${Mn}`;return[{[`${bn}-dropdown`]:[{padding:`${en.paddingXS}px ${en.paddingXS/2}px`},(0,Pn.Yk)(Mn,(0,vn.TS)(en,{colorBgContainer:Qn})),{[Ze]:{borderRadius:0,[`${Ze}-list-holder-inner`]:{alignItems:"stretch",[`${Ze}-treenode`]:{[`${Ze}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Dt.C2)(`${Mn}-checkbox`,en),{"&-rtl":{direction:"rtl",[`${Ze}-switcher${Ze}-switcher_close`]:{[`${Ze}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function ta(en,bn){return(0,yn.Z)("TreeSelect",Mn=>{const Qn=(0,vn.TS)(Mn,{treePrefixCls:bn});return[Rn(Qn)]},Pn.TM)(en)}var aa=function(en,bn){var Mn={};for(var Qn in en)Object.prototype.hasOwnProperty.call(en,Qn)&&bn.indexOf(Qn)<0&&(Mn[Qn]=en[Qn]);if(en!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Qn=Object.getOwnPropertySymbols(en);Ze<Qn.length;Ze++)bn.indexOf(Qn[Ze])<0&&Object.prototype.propertyIsEnumerable.call(en,Qn[Ze])&&(Mn[Qn[Ze]]=en[Qn[Ze]]);return Mn};const _n=(en,bn)=>{var Mn,{prefixCls:Qn,size:Ze,disabled:Nt,bordered:kt=!0,className:Kt,rootClassName:tn,treeCheckable:jt,multiple:fn,listHeight:st=256,listItemHeight:St=26,placement:dt,notFoundContent:ln,switcherIcon:Nn,treeLine:Cn,getPopupContainer:la,popupClassName:jn,dropdownClassName:lt,treeIcon:Jt=!1,transitionName:Jn,choiceTransitionName:sn="",status:zn,treeExpandAction:na,builtinPlacements:La,dropdownMatchSelectWidth:sa,popupMatchSelectWidth:He,allowClear:rn}=en,Qt=aa(en,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:En,getPrefixCls:In,renderEmpty:kn,direction:An,virtual:Dn,popupMatchSelectWidth:Fa,popupOverflow:Oa}=le.useContext(Ae.E_),pn=In(),Na=In("select",Qn),Yn=In("select-tree",Qn),qa=In("tree-select",Qn),{compactSize:$a,compactItemClassnames:Wn}=(0,Ot.ri)(Na,An),[ua,fa]=(0,on.Z)(Na),[ra]=ta(qa,Yn),Ua=ue()(jn||lt,`${qa}-dropdown`,{[`${qa}-dropdown-rtl`]:An==="rtl"},tn,fa),rr=!!(jt||fn),Ga=(0,_e.Z)(Qt.suffixIcon,Qt.showArrow),_a=(Mn=He!=null?He:sa)!==null&&Mn!==void 0?Mn:Fa,{status:lr,hasFeedback:Vr,isFormItemInput:Ir,feedbackIcon:uo}=le.useContext(Ht.aM),yr=(0,Xe.F)(lr,zn),{suffixIcon:Sr,removeIcon:Ar,clearIcon:br}=(0,Bt.Z)(Object.assign(Object.assign({},Qt),{multiple:rr,showSuffixIcon:Ga,hasFeedback:Vr,feedbackIcon:uo,prefixCls:Na,componentName:"TreeSelect"})),Br=rn===!0?{clearIcon:br}:rn;let Ta;ln!==void 0?Ta=ln:Ta=(kn==null?void 0:kn("Select"))||le.createElement(hn.Z,{componentName:"Select"});const or=(0,Fe.Z)(Qt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Lr=le.useMemo(()=>dt!==void 0?dt:An==="rtl"?"bottomRight":"bottomLeft",[dt,An]),Or=(0,gn.Z)(La,Oa),Cr=(0,$t.Z)(Jr=>{var no;return(no=Ze!=null?Ze:$a)!==null&&no!==void 0?no:Jr}),Qr=le.useContext(pt.Z),Hr=Nt!=null?Nt:Qr,Xa=ue()(!Qn&&qa,{[`${Na}-lg`]:Cr==="large",[`${Na}-sm`]:Cr==="small",[`${Na}-rtl`]:An==="rtl",[`${Na}-borderless`]:!kt,[`${Na}-in-form-item`]:Ir},(0,Xe.Z)(Na,yr,Vr),Wn,Kt,tn,fa),wr=Jr=>le.createElement(ht.Z,{prefixCls:Yn,switcherIcon:Nn,treeNodeProps:Jr,showLine:Cn}),pr=le.createElement(Lt,Object.assign({virtual:Dn,disabled:Hr},or,{dropdownMatchSelectWidth:_a,builtinPlacements:Or,ref:bn,prefixCls:Na,className:Xa,listHeight:st,listItemHeight:St,treeCheckable:jt&&le.createElement("span",{className:`${Na}-tree-checkbox-inner`}),treeLine:!!Cn,suffixIcon:Sr,multiple:rr,placement:Lr,removeIcon:Ar,allowClear:Br,switcherIcon:wr,showTreeIcon:Jt,notFoundContent:Ta,getPopupContainer:la||En,treeMotion:null,dropdownClassName:Ua,choiceTransitionName:(0,nt.m)(pn,"",sn),transitionName:(0,nt.m)(pn,"slide-up",Jn),treeExpandAction:na}));return ua(ra(pr))},Ea=le.forwardRef(_n),Zn=(0,xe.Z)(Ea);Ea.TreeNode=ie,Ea.SHOW_ALL=mn,Ea.SHOW_PARENT=Ke,Ea.SHOW_CHILD=It,Ea._InternalPanelDoNotUseOrYouWillBeFired=Zn;var wa=Ea},17574:function(Wt,Gt,te){"use strict";te.d(Gt,{default:function(){return gt}});var x=te(79556),ue=te(95190),Be=te(52671),Me=te(8657),Le=te(14809),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"},ct=se,ot=te(7657),Ve=function(wt,nn){return Oe.createElement(ot.Z,(0,Le.Z)({},wt,{ref:nn,icon:ct}))},Ue=Oe.forwardRef(Ve),tt=Ue,$e=te(92310),le=te.n($e),y=te(35654),a=te(71430),b=te(36355),E=te(56082),z=te(62892),ne=te(20648);const re=4;function ie(Yt){const{dropPosition:wt,dropLevelOffset:nn,prefixCls:dn,indent:at,direction:qe="ltr"}=Yt,qt=qe==="ltr"?"left":"right",Sn=qe==="ltr"?"right":"left",Zt={[qt]:-nn*at+re,[Sn]:0};switch(wt){case-1:Zt.top=-3;break;case 1:Zt.bottom=-3;break;default:Zt.bottom=-3,Zt[qt]=at+re;break}return Oe.createElement("div",{style:Zt,className:`${dn}-drop-indicator`})}var ce=te(71997),Ee=Oe.forwardRef((Yt,wt)=>{const{getPrefixCls:nn,direction:dn,virtual:at,tree:qe}=Oe.useContext(b.E_),{prefixCls:qt,className:Sn,showIcon:Zt=!1,showLine:mn,switcherIcon:Ke,blockNode:It=!1,children:Ut,checkable:Mt=!1,selectable:ft=!0,draggable:rt,motion:ze,style:ve}=Yt,fe=nn("tree",qt),Ye=nn(),Lt=ze!=null?ze:Object.assign(Object.assign({},(0,z.Z)(Ye)),{motionAppear:!1}),Fe=Object.assign(Object.assign({},Yt),{checkable:Mt,selectable:ft,showIcon:Zt,motion:Lt,blockNode:It,showLine:!!mn,dropIndicatorRender:ie}),[xe,nt]=(0,ne.ZP)(fe),Xe=Oe.useMemo(()=>{if(!rt)return!1;let pt={};switch(typeof rt){case"function":pt.nodeDraggable=rt;break;case"object":pt=Object.assign({},rt);break;default:break}return pt.icon!==!1&&(pt.icon=pt.icon||Oe.createElement(E.Z,null)),pt},[rt]),Ae=pt=>Oe.createElement(ce.Z,{prefixCls:fe,switcherIcon:Ke,treeNodeProps:pt,showLine:mn});return xe(Oe.createElement(x.Z,Object.assign({itemHeight:20,ref:wt,virtual:at},Fe,{style:Object.assign(Object.assign({},qe==null?void 0:qe.style),ve),prefixCls:fe,className:le()({[`${fe}-icon-hide`]:!Zt,[`${fe}-block-node`]:It,[`${fe}-unselectable`]:!ft,[`${fe}-rtl`]:dn==="rtl"},qe==null?void 0:qe.className,Sn,nt),direction:dn,checkable:Mt&&Oe.createElement("span",{className:`${fe}-checkbox-inner`}),selectable:ft,switcherIcon:Ae,draggable:Xe}),Ut))}),Ge;(function(Yt){Yt[Yt.None=0]="None",Yt[Yt.Start=1]="Start",Yt[Yt.End=2]="End"})(Ge||(Ge={}));function De(Yt,wt){function nn(dn){const{key:at,children:qe}=dn;wt(at,dn)!==!1&&De(qe||[],wt)}Yt.forEach(nn)}function Qe(Yt){let{treeData:wt,expandedKeys:nn,startKey:dn,endKey:at}=Yt;const qe=[];let qt=Ge.None;if(dn&&dn===at)return[dn];if(!dn||!at)return[];function Sn(Zt){return Zt===dn||Zt===at}return De(wt,Zt=>{if(qt===Ge.End)return!1;if(Sn(Zt)){if(qe.push(Zt),qt===Ge.None)qt=Ge.Start;else if(qt===Ge.Start)return qt=Ge.End,!1}else qt===Ge.Start&&qe.push(Zt);return nn.includes(Zt)}),qe}function he(Yt,wt){const nn=(0,ue.Z)(wt),dn=[];return De(Yt,(at,qe)=>{const qt=nn.indexOf(at);return qt!==-1&&(dn.push(qe),nn.splice(qt,1)),!!nn.length}),dn}var Te=function(Yt,wt){var nn={};for(var dn in Yt)Object.prototype.hasOwnProperty.call(Yt,dn)&&wt.indexOf(dn)<0&&(nn[dn]=Yt[dn]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,dn=Object.getOwnPropertySymbols(Yt);at<dn.length;at++)wt.indexOf(dn[at])<0&&Object.prototype.propertyIsEnumerable.call(Yt,dn[at])&&(nn[dn[at]]=Yt[dn[at]]);return nn};function et(Yt){const{isLeaf:wt,expanded:nn}=Yt;return wt?Oe.createElement(Be.Z,null):nn?Oe.createElement(Me.Z,null):Oe.createElement(tt,null)}function Et(Yt){let{treeData:wt,children:nn}=Yt;return wt||(0,a.zn)(nn)}const Ne=(Yt,wt)=>{var{defaultExpandAll:nn,defaultExpandParent:dn,defaultExpandedKeys:at}=Yt,qe=Te(Yt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const qt=Oe.useRef(),Sn=Oe.useRef(),Zt=()=>{const{keyEntities:Xe}=(0,a.I8)(Et(qe));let Ae;return nn?Ae=Object.keys(Xe):dn?Ae=(0,y.r7)(qe.expandedKeys||at||[],Xe):Ae=qe.expandedKeys||at,Ae},[mn,Ke]=Oe.useState(qe.selectedKeys||qe.defaultSelectedKeys||[]),[It,Ut]=Oe.useState(()=>Zt());Oe.useEffect(()=>{"selectedKeys"in qe&&Ke(qe.selectedKeys)},[qe.selectedKeys]),Oe.useEffect(()=>{"expandedKeys"in qe&&Ut(qe.expandedKeys)},[qe.expandedKeys]);const Mt=(Xe,Ae)=>{var pt;return"expandedKeys"in qe||Ut(Xe),(pt=qe.onExpand)===null||pt===void 0?void 0:pt.call(qe,Xe,Ae)},ft=(Xe,Ae)=>{var pt;const{multiple:hn}=qe,{node:$t,nativeEvent:Ht}=Ae,{key:on=""}=$t,gn=Et(qe),_e=Object.assign(Object.assign({},Ae),{selected:!0}),Bt=(Ht==null?void 0:Ht.ctrlKey)||(Ht==null?void 0:Ht.metaKey),Ot=Ht==null?void 0:Ht.shiftKey;let ht;hn&&Bt?(ht=Xe,qt.current=on,Sn.current=ht,_e.selectedNodes=he(gn,ht)):hn&&Ot?(ht=Array.from(new Set([].concat((0,ue.Z)(Sn.current||[]),(0,ue.Z)(Qe({treeData:gn,expandedKeys:It,startKey:on,endKey:qt.current}))))),_e.selectedNodes=he(gn,ht)):(ht=[on],qt.current=on,Sn.current=ht,_e.selectedNodes=he(gn,ht)),(pt=qe.onSelect)===null||pt===void 0||pt.call(qe,ht,_e),"selectedKeys"in qe||Ke(ht)},{getPrefixCls:rt,direction:ze}=Oe.useContext(b.E_),{prefixCls:ve,className:fe,showIcon:Ye=!0,expandAction:Lt="click"}=qe,Fe=Te(qe,["prefixCls","className","showIcon","expandAction"]),xe=rt("tree",ve),nt=le()(`${xe}-directory`,{[`${xe}-directory-rtl`]:ze==="rtl"},fe);return Oe.createElement(Ee,Object.assign({icon:et,ref:wt,blockNode:!0},Fe,{showIcon:Ye,expandAction:Lt,prefixCls:xe,className:nt,expandedKeys:It,selectedKeys:mn,onSelect:ft,onExpand:Mt}))};var xt=Oe.forwardRef(Ne);const yt=Ee;yt.DirectoryTree=xt,yt.TreeNode=x.O;var gt=yt},20648:function(Wt,Gt,te){"use strict";te.d(Gt,{TM:function(){return $e},Yk:function(){return tt}});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}}),ct=(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({},ct(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`}}}}})}},Ue=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"}}}}}},tt=(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),Ue(z)]},$e=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)},tt(a,le),(0,Me.Z)(le)]},le=>{const{colorTextLightSolid:y,colorPrimary:a}=le;return Object.assign(Object.assign({},$e(le)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return b}});var x=te(14809),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),ct=se,ot=te(52671),Ve=te(58617),Ue=te(15075),tt=te(43531),$e=te(92310),le=te.n($e),y=te(92343),b=E=>{const{prefixCls:z,switcherIcon:ne,treeNodeProps:re,showLine:ie}=E,{isLeaf:ce,expanded:pe,loading:Ee}=re;if(Ee)return ue.createElement(Ve.Z,{className:`${z}-switcher-loading-icon`});let Ge;if(ie&&typeof ie=="object"&&(Ge=ie.showLeafIcon),ce){if(!ie)return null;if(typeof Ge!="boolean"&&Ge){const he=typeof Ge=="function"?Ge(re):Ge,Te=`${z}-switcher-line-custom-icon`;return(0,y.l$)(he)?(0,y.Tm)(he,{className:le()(he.props.className||"",Te)}):he}return Ge?ue.createElement(ot.Z,{className:`${z}-switcher-line-icon`}):ue.createElement("span",{className:`${z}-switcher-leaf-line`})}const De=`${z}-switcher-icon`,Qe=typeof ne=="function"?ne(re):ne;return(0,y.l$)(Qe)?(0,y.Tm)(Qe,{className:le()(Qe.props.className||"",De)}):Qe!==void 0?Qe:ie?pe?ue.createElement(Ue.Z,{className:`${z}-switcher-line-icon`}):ue.createElement(tt.Z,{className:`${z}-switcher-line-icon`}):ue.createElement(ct,{className:De})}},54580:function(Wt,Gt,te){"use strict";te.d(Gt,{default:function(){return sa}});var x=te(59301),ue=te(95190),Be=te(92310),Me=te.n(Be),Le=te(14809),Oe=te(99153),se=te(84851),ct=te(19257),ot=te(93046),Ve=te(4635),Ue=te(62646),tt=te(70539),$e=te(93664),le=te(95764),y=te(26112);function a(He,rn){var Qt="cannot ".concat(He.method," ").concat(He.action," ").concat(rn.status,"'"),En=new Error(Qt);return En.status=rn.status,En.method=He.method,En.url=He.action,En}function b(He){var rn=He.responseText||He.response;if(!rn)return rn;try{return JSON.parse(rn)}catch(Qt){return rn}}function E(He){var rn=new XMLHttpRequest;He.onProgress&&rn.upload&&(rn.upload.onprogress=function(kn){kn.total>0&&(kn.percent=kn.loaded/kn.total*100),He.onProgress(kn)});var Qt=new FormData;He.data&&Object.keys(He.data).forEach(function(In){var kn=He.data[In];if(Array.isArray(kn)){kn.forEach(function(An){Qt.append("".concat(In,"[]"),An)});return}Qt.append(In,kn)}),He.file instanceof Blob?Qt.append(He.filename,He.file,He.file.name):Qt.append(He.filename,He.file),rn.onerror=function(kn){He.onError(kn)},rn.onload=function(){return rn.status<200||rn.status>=300?He.onError(a(He,rn),b(rn)):He.onSuccess(b(rn),rn)},rn.open(He.method,He.action,!0),He.withCredentials&&"withCredentials"in rn&&(rn.withCredentials=!0);var En=He.headers||{};return En["X-Requested-With"]!==null&&rn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(En).forEach(function(In){En[In]!==null&&rn.setRequestHeader(In,En[In])}),rn.send(Qt),{abort:function(){rn.abort()}}}var z=+new Date,ne=0;function re(){return"rc-upload-".concat(z,"-").concat(++ne)}var ie=te(48736),ce=function(He,rn){if(He&&rn){var Qt=Array.isArray(rn)?rn:rn.split(","),En=He.name||"",In=He.type||"",kn=In.replace(/\/.*$/,"");return Qt.some(function(An){var Dn=An.trim();if(/^\*(\/\*)?$/.test(An))return!0;if(Dn.charAt(0)==="."){var Fa=En.toLowerCase(),Oa=Dn.toLowerCase(),pn=[Oa];return(Oa===".jpg"||Oa===".jpeg")&&(pn=[".jpg",".jpeg"]),pn.some(function(Na){return Fa.endsWith(Na)})}return/\/\*$/.test(Dn)?kn===Dn.replace(/\/.*$/,""):In===Dn?!0:/^\w+$/.test(Dn)?((0,ie.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Dn,"'.Skip for check.")),!0):!1})}return!0};function pe(He,rn){var Qt=He.createReader(),En=[];function In(){Qt.readEntries(function(kn){var An=Array.prototype.slice.apply(kn);En=En.concat(An);var Dn=!An.length;Dn?rn(En):In()})}In()}var Ee=function(rn,Qt,En){var In=function kn(An,Dn){An&&(An.path=Dn||"",An.isFile?An.file(function(Fa){En(Fa)&&(An.fullPath&&!Fa.webkitRelativePath&&(Object.defineProperties(Fa,{webkitRelativePath:{writable:!0}}),Fa.webkitRelativePath=An.fullPath.replace(/^\//,""),Object.defineProperties(Fa,{webkitRelativePath:{writable:!1}})),Qt([Fa]))}):An.isDirectory&&pe(An,function(Fa){Fa.forEach(function(Oa){kn(Oa,"".concat(Dn).concat(An.name,"/"))})}))};rn.forEach(function(kn){In(kn.webkitGetAsEntry())})},Ge=Ee,De=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Qe=function(He){(0,ct.Z)(Qt,He);var rn=(0,ot.Z)(Qt);function Qt(){var En;(0,Oe.Z)(this,Qt);for(var In=arguments.length,kn=new Array(In),An=0;An<In;An++)kn[An]=arguments[An];return En=rn.call.apply(rn,[this].concat(kn)),En.state={uid:re()},En.reqs={},En.fileInput=void 0,En._isMounted=void 0,En.onChange=function(Dn){var Fa=En.props,Oa=Fa.accept,pn=Fa.directory,Na=Dn.target.files,Yn=(0,ue.Z)(Na).filter(function(qa){return!pn||ce(qa,Oa)});En.uploadFiles(Yn),En.reset()},En.onClick=function(Dn){var Fa=En.fileInput;if(Fa){var Oa=Dn.target,pn=En.props.onClick;if(Oa&&Oa.tagName==="BUTTON"){var Na=Fa.parentNode;Na.focus(),Oa.blur()}Fa.click(),pn&&pn(Dn)}},En.onKeyDown=function(Dn){Dn.key==="Enter"&&En.onClick(Dn)},En.onFileDrop=function(Dn){var Fa=En.props.multiple;if(Dn.preventDefault(),Dn.type!=="dragover")if(En.props.directory)Ge(Array.prototype.slice.call(Dn.dataTransfer.items),En.uploadFiles,function(pn){return ce(pn,En.props.accept)});else{var Oa=(0,ue.Z)(Dn.dataTransfer.files).filter(function(pn){return ce(pn,En.props.accept)});Fa===!1&&(Oa=Oa.slice(0,1)),En.uploadFiles(Oa)}},En.uploadFiles=function(Dn){var Fa=(0,ue.Z)(Dn),Oa=Fa.map(function(pn){return pn.uid=re(),En.processFile(pn,Fa)});Promise.all(Oa).then(function(pn){var Na=En.props.onBatchStart;Na==null||Na(pn.map(function(Yn){var qa=Yn.origin,$a=Yn.parsedFile;return{file:qa,parsedFile:$a}})),pn.filter(function(Yn){return Yn.parsedFile!==null}).forEach(function(Yn){En.post(Yn)})})},En.processFile=function(){var Dn=(0,le.Z)((0,tt.Z)().mark(function Fa(Oa,pn){var Na,Yn,qa,$a,Wn,ua,fa,ra,Ua;return(0,tt.Z)().wrap(function(Ga){for(;;)switch(Ga.prev=Ga.next){case 0:if(Na=En.props.beforeUpload,Yn=Oa,!Na){Ga.next=14;break}return Ga.prev=3,Ga.next=6,Na(Oa,pn);case 6:Yn=Ga.sent,Ga.next=12;break;case 9:Ga.prev=9,Ga.t0=Ga.catch(3),Yn=!1;case 12:if(Yn!==!1){Ga.next=14;break}return Ga.abrupt("return",{origin:Oa,parsedFile:null,action:null,data:null});case 14:if(qa=En.props.action,typeof qa!="function"){Ga.next=21;break}return Ga.next=18,qa(Oa);case 18:$a=Ga.sent,Ga.next=22;break;case 21:$a=qa;case 22:if(Wn=En.props.data,typeof Wn!="function"){Ga.next=29;break}return Ga.next=26,Wn(Oa);case 26:ua=Ga.sent,Ga.next=30;break;case 29:ua=Wn;case 30:return fa=((0,$e.Z)(Yn)==="object"||typeof Yn=="string")&&Yn?Yn:Oa,fa instanceof File?ra=fa:ra=new File([fa],Oa.name,{type:Oa.type}),Ua=ra,Ua.uid=Oa.uid,Ga.abrupt("return",{origin:Oa,data:ua,parsedFile:Ua,action:$a});case 35:case"end":return Ga.stop()}},Fa,null,[[3,9]])}));return function(Fa,Oa){return Dn.apply(this,arguments)}}(),En.saveFileInput=function(Dn){En.fileInput=Dn},En}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(In){var kn=this,An=In.data,Dn=In.origin,Fa=In.action,Oa=In.parsedFile;if(this._isMounted){var pn=this.props,Na=pn.onStart,Yn=pn.customRequest,qa=pn.name,$a=pn.headers,Wn=pn.withCredentials,ua=pn.method,fa=Dn.uid,ra=Yn||E,Ua={action:Fa,filename:qa,data:An,file:Oa,headers:$a,withCredentials:Wn,method:ua||"post",onProgress:function(Ga){var _a=kn.props.onProgress;_a==null||_a(Ga,Oa)},onSuccess:function(Ga,_a){var lr=kn.props.onSuccess;lr==null||lr(Ga,Oa,_a),delete kn.reqs[fa]},onError:function(Ga,_a){var lr=kn.props.onError;lr==null||lr(Ga,_a,Oa),delete kn.reqs[fa]}};Na(Dn),this.reqs[fa]=ra(Ua)}}},{key:"reset",value:function(){this.setState({uid:re()})}},{key:"abort",value:function(In){var kn=this.reqs;if(In){var An=In.uid?In.uid:In;kn[An]&&kn[An].abort&&kn[An].abort(),delete kn[An]}else Object.keys(kn).forEach(function(Dn){kn[Dn]&&kn[Dn].abort&&kn[Dn].abort(),delete kn[Dn]})}},{key:"render",value:function(){var In=this.props,kn=In.component,An=In.prefixCls,Dn=In.className,Fa=In.disabled,Oa=In.id,pn=In.style,Na=In.multiple,Yn=In.accept,qa=In.capture,$a=In.children,Wn=In.directory,ua=In.openFileDialogOnClick,fa=In.onMouseEnter,ra=In.onMouseLeave,Ua=(0,Ue.Z)(In,De),rr=Me()((0,Ve.Z)((0,Ve.Z)((0,Ve.Z)({},An,!0),"".concat(An,"-disabled"),Fa),Dn,Dn)),Ga=Wn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},_a=Fa?{}:{onClick:ua?this.onClick:function(){},onKeyDown:ua?this.onKeyDown:function(){},onMouseEnter:fa,onMouseLeave:ra,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return x.createElement(kn,(0,Le.Z)({},_a,{className:rr,role:"button",style:pn}),x.createElement("input",(0,Le.Z)({},(0,y.Z)(Ua,{aria:!0,data:!0}),{id:Oa,disabled:Fa,type:"file",ref:this.saveFileInput,onClick:function(Vr){return Vr.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Yn},Ga,{multiple:Na,onChange:this.onChange},qa!=null?{capture:qa}:{})),$a)}}]),Qt}(x.Component),he=Qe;function Te(){}var et=function(He){(0,ct.Z)(Qt,He);var rn=(0,ot.Z)(Qt);function Qt(){var En;(0,Oe.Z)(this,Qt);for(var In=arguments.length,kn=new Array(In),An=0;An<In;An++)kn[An]=arguments[An];return En=rn.call.apply(rn,[this].concat(kn)),En.uploader=void 0,En.saveUploader=function(Dn){En.uploader=Dn},En}return(0,se.Z)(Qt,[{key:"abort",value:function(In){this.uploader.abort(In)}},{key:"render",value:function(){return x.createElement(he,(0,Le.Z)({},this.props,{ref:this.saveUploader}))}}]),Qt}(x.Component);et.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 Et=et,Ne=Et,ut=te(18929),xt=te(4676),yt=te(36355),gt=te(1684),Yt=te(9763),wt=te(31724),nn={icon:function(rn,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:rn}}]}},name:"file",theme:"twotone"},dn=nn,at=te(7657),qe=function(rn,Qt){return x.createElement(at.Z,(0,Le.Z)({},rn,{ref:Qt,icon:dn}))},qt=x.forwardRef(qe),Sn=qt,Zt=te(58617),mn={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"},Ke=mn,It=function(rn,Qt){return x.createElement(at.Z,(0,Le.Z)({},rn,{ref:Qt,icon:Ke}))},Ut=x.forwardRef(It),Mt=Ut,ft={icon:function(rn,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:rn}},{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:rn}}]}},name:"picture",theme:"twotone"},rt=ft,ze=function(rn,Qt){return x.createElement(at.Z,(0,Le.Z)({},rn,{ref:Qt,icon:rt}))},ve=x.forwardRef(ze),fe=ve,Ye=te(77900),Lt=te(56762),Fe=te(62892),xe=te(92343),nt=te(3113);function Xe(He){return Object.assign(Object.assign({},He),{lastModified:He.lastModified,lastModifiedDate:He.lastModifiedDate,name:He.name,size:He.size,type:He.type,uid:He.uid,percent:0,originFileObj:He})}function Ae(He,rn){const Qt=(0,ue.Z)(rn),En=Qt.findIndex(In=>{let{uid:kn}=In;return kn===He.uid});return En===-1?Qt.push(He):Qt[En]=He,Qt}function pt(He,rn){const Qt=He.uid!==void 0?"uid":"name";return rn.filter(En=>En[Qt]===He[Qt])[0]}function hn(He,rn){const Qt=He.uid!==void 0?"uid":"name",En=rn.filter(In=>In[Qt]!==He[Qt]);return En.length===rn.length?null:En}const $t=function(){const rn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),En=rn[rn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(En)||[""])[0]},Ht=He=>He.indexOf("image/")===0,on=He=>{if(He.type&&!He.thumbUrl)return Ht(He.type);const rn=He.thumbUrl||He.url||"",Qt=$t(rn);return/^data:image\//.test(rn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Qt)?!0:!(/^data:/.test(rn)||Qt)},gn=200;function _e(He){return new Promise(rn=>{if(!He.type||!Ht(He.type)){rn("");return}const Qt=document.createElement("canvas");Qt.width=gn,Qt.height=gn,Qt.style.cssText=`position: fixed; left: 0; top: 0; width: ${gn}px; height: ${gn}px; z-index: 9999; display: none;`,document.body.appendChild(Qt);const En=Qt.getContext("2d"),In=new Image;if(In.onload=()=>{const{width:kn,height:An}=In;let Dn=gn,Fa=gn,Oa=0,pn=0;kn>An?(Fa=An*(gn/kn),pn=-(Fa-Dn)/2):(Dn=kn*(gn/An),Oa=-(Dn-Fa)/2),En.drawImage(In,Oa,pn,Dn,Fa);const Na=Qt.toDataURL();document.body.removeChild(Qt),window.URL.revokeObjectURL(In.src),rn(Na)},In.crossOrigin="anonymous",He.type.startsWith("image/svg+xml")){const kn=new FileReader;kn.onload=()=>{kn.result&&(In.src=kn.result)},kn.readAsDataURL(He)}else if(He.type.startsWith("image/gif")){const kn=new FileReader;kn.onload=()=>{kn.result&&rn(kn.result)},kn.readAsDataURL(He)}else In.src=window.URL.createObjectURL(He)})}var Bt=te(26227),Ot=te(41464),ht=te(15277),Dt=te(93948),vn=te(6848),Pn=x.forwardRef((He,rn)=>{let{prefixCls:Qt,className:En,style:In,locale:kn,listType:An,file:Dn,items:Fa,progress:Oa,iconRender:pn,actionIconRender:Na,itemRender:Yn,isImgUrl:qa,showPreviewIcon:$a,showRemoveIcon:Wn,showDownloadIcon:ua,previewIcon:fa,removeIcon:ra,downloadIcon:Ua,onPreview:rr,onDownload:Ga,onClose:_a}=He;var lr,Vr;const{status:Ir}=Dn,[uo,yr]=x.useState(Ir);x.useEffect(()=>{Ir!=="removed"&&yr(Ir)},[Ir]);const[Sr,Ar]=x.useState(!1);x.useEffect(()=>{const Dr=setTimeout(()=>{Ar(!0)},300);return()=>{clearTimeout(Dr)}},[]);const br=pn(Dn);let Br=x.createElement("div",{className:`${Qt}-icon`},br);if(An==="picture"||An==="picture-card"||An==="picture-circle")if(uo==="uploading"||!Dn.thumbUrl&&!Dn.url){const Dr=Me()(`${Qt}-list-item-thumbnail`,{[`${Qt}-list-item-file`]:uo!=="uploading"});Br=x.createElement("div",{className:Dr},br)}else{const Dr=qa!=null&&qa(Dn)?x.createElement("img",{src:Dn.thumbUrl||Dn.url,alt:Dn.name,className:`${Qt}-list-item-image`,crossOrigin:Dn.crossOrigin}):br,Yr=Me()(`${Qt}-list-item-thumbnail`,{[`${Qt}-list-item-file`]:qa&&!qa(Dn)});Br=x.createElement("a",{className:Yr,onClick:Po=>rr(Dn,Po),href:Dn.url||Dn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Dr)}const Ta=Me()(`${Qt}-list-item`,`${Qt}-list-item-${uo}`),or=typeof Dn.linkProps=="string"?JSON.parse(Dn.linkProps):Dn.linkProps,Lr=Wn?Na((typeof ra=="function"?ra(Dn):ra)||x.createElement(Bt.Z,null),()=>_a(Dn),Qt,kn.removeFile):null,Or=ua&&uo==="done"?Na((typeof Ua=="function"?Ua(Dn):Ua)||x.createElement(Ot.Z,null),()=>Ga(Dn),Qt,kn.downloadFile):null,Cr=An!=="picture-card"&&An!=="picture-circle"&&x.createElement("span",{key:"download-delete",className:Me()(`${Qt}-list-item-actions`,{picture:An==="picture"})},Or,Lr),Qr=Me()(`${Qt}-list-item-name`),Hr=Dn.url?[x.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Qr,title:Dn.name},or,{href:Dn.url,onClick:Dr=>rr(Dn,Dr)}),Dn.name),Cr]:[x.createElement("span",{key:"view",className:Qr,onClick:Dr=>rr(Dn,Dr),title:Dn.name},Dn.name),Cr],Xa={pointerEvents:"none",opacity:.5},wr=$a?x.createElement("a",{href:Dn.url||Dn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Dn.url||Dn.thumbUrl?void 0:Xa,onClick:Dr=>rr(Dn,Dr),title:kn.previewFile},typeof fa=="function"?fa(Dn):fa||x.createElement(ht.Z,null)):null,pr=(An==="picture-card"||An==="picture-circle")&&uo!=="uploading"&&x.createElement("span",{className:`${Qt}-list-item-actions`},wr,uo==="done"&&Or,Lr),{getPrefixCls:Jr}=x.useContext(yt.E_),no=Jr(),Bo=x.createElement("div",{className:Ta},Br,Hr,pr,Sr&&x.createElement(Ye.default,{motionName:`${no}-fade`,visible:uo==="uploading",motionDeadline:2e3},Dr=>{let{className:Yr}=Dr;const Po="percent"in Dn?x.createElement(Dt.Z,Object.assign({},Oa,{type:"line",percent:Dn.percent,"aria-label":Dn["aria-label"],"aria-labelledby":Dn["aria-labelledby"]})):null;return x.createElement("div",{className:Me()(`${Qt}-list-item-progress`,Yr)},Po)})),To=Dn.response&&typeof Dn.response=="string"?Dn.response:((lr=Dn.error)===null||lr===void 0?void 0:lr.statusText)||((Vr=Dn.error)===null||Vr===void 0?void 0:Vr.message)||kn.uploadError,ko=uo==="error"?x.createElement(vn.Z,{title:To,getPopupContainer:Dr=>Dr.parentNode},Bo):Bo;return x.createElement("div",{className:Me()(`${Qt}-list-item-container`,En),style:In,ref:rn},Yn?Yn(ko,Dn,Fa,{download:Ga.bind(null,Dn),preview:rr.bind(null,Dn),remove:_a.bind(null,Dn)}):ko)});const Rn=(He,rn)=>{const{listType:Qt="text",previewFile:En=_e,onPreview:In,onDownload:kn,onRemove:An,locale:Dn,iconRender:Fa,isImageUrl:Oa=on,prefixCls:pn,items:Na=[],showPreviewIcon:Yn=!0,showRemoveIcon:qa=!0,showDownloadIcon:$a=!1,removeIcon:Wn,previewIcon:ua,downloadIcon:fa,progress:ra={size:[-1,2],showInfo:!1},appendAction:Ua,appendActionVisible:rr=!0,itemRender:Ga,disabled:_a}=He,lr=(0,Lt.Z)(),[Vr,Ir]=x.useState(!1);x.useEffect(()=>{Qt!=="picture"&&Qt!=="picture-card"&&Qt!=="picture-circle"||(Na||[]).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="",En&&En(Xa.originFileObj).then(wr=>{Xa.thumbUrl=wr||"",lr()}))})},[Qt,Na,En]),x.useEffect(()=>{Ir(!0)},[]);const uo=(Xa,wr)=>{if(In)return wr==null||wr.preventDefault(),In(Xa)},yr=Xa=>{typeof kn=="function"?kn(Xa):Xa.url&&window.open(Xa.url)},Sr=Xa=>{An==null||An(Xa)},Ar=Xa=>{if(Fa)return Fa(Xa,Qt);const wr=Xa.status==="uploading",pr=Oa&&Oa(Xa)?x.createElement(fe,null):x.createElement(Sn,null);let Jr=wr?x.createElement(Zt.Z,null):x.createElement(Mt,null);return Qt==="picture"?Jr=wr?x.createElement(Zt.Z,null):pr:(Qt==="picture-card"||Qt==="picture-circle")&&(Jr=wr?Dn.uploading:pr),Jr},br=(Xa,wr,pr,Jr)=>{const no={type:"text",size:"small",title:Jr,onClick:Bo=>{wr(),(0,xe.l$)(Xa)&&Xa.props.onClick&&Xa.props.onClick(Bo)},className:`${pr}-list-item-action`,disabled:_a};if((0,xe.l$)(Xa)){const Bo=(0,xe.Tm)(Xa,Object.assign(Object.assign({},Xa.props),{onClick:()=>{}}));return x.createElement(nt.ZP,Object.assign({},no,{icon:Bo}))}return x.createElement(nt.ZP,Object.assign({},no),x.createElement("span",null,Xa))};x.useImperativeHandle(rn,()=>({handlePreview:uo,handleDownload:yr}));const{getPrefixCls:Br}=x.useContext(yt.E_),Ta=Br("upload",pn),or=Br(),Lr=Me()(`${Ta}-list`,`${Ta}-list-${Qt}`),Or=(0,ue.Z)(Na.map(Xa=>({key:Xa.uid,file:Xa})));let Qr={motionDeadline:2e3,motionName:`${Ta}-${Qt==="picture-card"||Qt==="picture-circle"?"animate-inline":"animate"}`,keys:Or,motionAppear:Vr};const Hr=x.useMemo(()=>{const Xa=Object.assign({},(0,Fe.Z)(or));return delete Xa.onAppearEnd,delete Xa.onEnterEnd,delete Xa.onLeaveEnd,Xa},[or]);return Qt!=="picture-card"&&Qt!=="picture-circle"&&(Qr=Object.assign(Object.assign({},Hr),Qr)),x.createElement("div",{className:Lr},x.createElement(Ye.CSSMotionList,Object.assign({},Qr,{component:!1}),Xa=>{let{key:wr,file:pr,className:Jr,style:no}=Xa;return x.createElement(Pn,{key:wr,locale:Dn,prefixCls:Ta,className:Jr,style:no,file:pr,items:Na,progress:ra,listType:Qt,isImgUrl:Oa,showPreviewIcon:Yn,showRemoveIcon:qa,showDownloadIcon:$a,removeIcon:Wn,previewIcon:ua,downloadIcon:fa,iconRender:Ar,actionIconRender:br,itemRender:Ga,onPreview:uo,onDownload:yr,onClose:Sr})}),Ua&&x.createElement(Ye.default,Object.assign({},Qr,{visible:rr,forceRender:!0}),Xa=>{let{className:wr,style:pr}=Xa;return(0,xe.Tm)(Ua,Jr=>({className:Me()(Jr.className,wr),style:Object.assign(Object.assign(Object.assign({},pr),{pointerEvents:wr?"none":void 0}),Jr.style)}))}))};var aa=x.forwardRef(Rn),_n=te(17313),Pa=te(8378),Ea=te(83116),Zn=te(37613),en=He=>{const{componentCls:rn,iconCls:Qt}=He;return{[`${rn}-wrapper`]:{[`${rn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:He.colorFillAlter,border:`${He.lineWidth}px dashed ${He.colorBorder}`,borderRadius:He.borderRadiusLG,cursor:"pointer",transition:`border-color ${He.motionDurationSlow}`,[rn]:{padding:`${He.padding}px 0`},[`${rn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${rn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${rn}-disabled):hover`]:{borderColor:He.colorPrimaryHover},[`p${rn}-drag-icon`]:{marginBottom:He.margin,[Qt]:{color:He.colorPrimary,fontSize:He.uploadThumbnailSize}},[`p${rn}-text`]:{margin:`0 0 ${He.marginXXS}px`,color:He.colorTextHeading,fontSize:He.fontSizeLG},[`p${rn}-hint`]:{color:He.colorTextDescription,fontSize:He.fontSize},[`&${rn}-disabled`]:{cursor:"not-allowed",[`p${rn}-drag-icon ${Qt},
|
|
p${rn}-text,
|
|
p${rn}-hint
|
|
`]:{color:He.colorTextDisabled}}}}}},Mn=He=>{const{componentCls:rn,antCls:Qt,iconCls:En,fontSize:In,lineHeight:kn}=He,An=`${rn}-list-item`,Dn=`${An}-actions`,Fa=`${An}-action`,Oa=Math.round(In*kn);return{[`${rn}-wrapper`]:{[`${rn}-list`]:Object.assign(Object.assign({},(0,_n.dF)()),{lineHeight:He.lineHeight,[An]:{position:"relative",height:He.lineHeight*In,marginTop:He.marginXS,fontSize:In,display:"flex",alignItems:"center",transition:`background-color ${He.motionDurationSlow}`,"&:hover":{backgroundColor:He.controlItemBgHover},[`${An}-name`]:Object.assign(Object.assign({},_n.vS),{padding:`0 ${He.paddingXS}px`,lineHeight:kn,flex:"auto",transition:`all ${He.motionDurationSlow}`}),[Dn]:{[Fa]:{opacity:0},[`${Fa}${Qt}-btn-sm`]:{height:Oa,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
${Fa}:focus-visible,
|
|
&.picture ${Fa}
|
|
`]:{opacity:1},[En]:{color:He.actionsColor,transition:`all ${He.motionDurationSlow}`},[`&:hover ${En}`]:{color:He.colorText}},[`${rn}-icon ${En}`]:{color:He.colorTextDescription,fontSize:In},[`${An}-progress`]:{position:"absolute",bottom:-He.uploadProgressOffset,width:"100%",paddingInlineStart:In+He.paddingXS,fontSize:In,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${An}:hover ${Fa}`]:{opacity:1,color:He.colorText},[`${An}-error`]:{color:He.colorError,[`${An}-name, ${rn}-icon ${En}`]:{color:He.colorError},[Dn]:{[`${En}, ${En}:hover`]:{color:He.colorError},[Fa]:{opacity:1}}},[`${rn}-list-item-container`]:{transition:`opacity ${He.motionDurationSlow}, height ${He.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Qn=te(93083),Ze=te(1950);const Nt=new Qn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),kt=new Qn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var tn=He=>{const{componentCls:rn}=He,Qt=`${rn}-animate-inline`;return[{[`${rn}-wrapper`]:{[`${Qt}-appear, ${Qt}-enter, ${Qt}-leave`]:{animationDuration:He.motionDurationSlow,animationTimingFunction:He.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Qt}-appear, ${Qt}-enter`]:{animationName:Nt},[`${Qt}-leave`]:{animationName:kt}}},{[`${rn}-wrapper`]:(0,Ze.J$)(He)},Nt,kt]},jt=te(30071),fn=te(64993);const st=He=>{const{componentCls:rn,iconCls:Qt,uploadThumbnailSize:En,uploadProgressOffset:In}=He,kn=`${rn}-list`,An=`${kn}-item`;return{[`${rn}-wrapper`]:{[`
|
|
${kn}${kn}-picture,
|
|
${kn}${kn}-picture-card,
|
|
${kn}${kn}-picture-circle
|
|
`]:{[An]:{position:"relative",height:En+He.lineWidth*2+He.paddingXS*2,padding:He.paddingXS,border:`${He.lineWidth}px ${He.lineType} ${He.colorBorder}`,borderRadius:He.borderRadiusLG,"&:hover":{background:"transparent"},[`${An}-thumbnail`]:Object.assign(Object.assign({},_n.vS),{width:En,height:En,lineHeight:`${En+He.paddingSM}px`,textAlign:"center",flex:"none",[Qt]:{fontSize:He.fontSizeHeading2,color:He.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${An}-progress`]:{bottom:In,width:`calc(100% - ${He.paddingSM*2}px)`,marginTop:0,paddingInlineStart:En+He.paddingXS}},[`${An}-error`]:{borderColor:He.colorError,[`${An}-thumbnail ${Qt}`]:{[`svg path[fill='${jt.blue[0]}']`]:{fill:He.colorErrorBg},[`svg path[fill='${jt.blue.primary}']`]:{fill:He.colorError}}},[`${An}-uploading`]:{borderStyle:"dashed",[`${An}-name`]:{marginBottom:In}}},[`${kn}${kn}-picture-circle ${An}`]:{[`&, &::before, ${An}-thumbnail`]:{borderRadius:"50%"}}}}},St=He=>{const{componentCls:rn,iconCls:Qt,fontSizeLG:En,colorTextLightSolid:In}=He,kn=`${rn}-list`,An=`${kn}-item`,Dn=He.uploadPicCardSize;return{[`
|
|
${rn}-wrapper${rn}-picture-card-wrapper,
|
|
${rn}-wrapper${rn}-picture-circle-wrapper
|
|
`]:Object.assign(Object.assign({},(0,_n.dF)()),{display:"inline-block",width:"100%",[`${rn}${rn}-select`]:{width:Dn,height:Dn,marginInlineEnd:He.marginXS,marginBottom:He.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:He.colorFillAlter,border:`${He.lineWidth}px dashed ${He.colorBorder}`,borderRadius:He.borderRadiusLG,cursor:"pointer",transition:`border-color ${He.motionDurationSlow}`,[`> ${rn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${rn}-disabled):hover`]:{borderColor:He.colorPrimary}},[`${kn}${kn}-picture-card, ${kn}${kn}-picture-circle`]:{[`${kn}-item-container`]:{display:"inline-block",width:Dn,height:Dn,marginBlock:`0 ${He.marginXS}px`,marginInline:`0 ${He.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[An]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${He.paddingXS*2}px)`,height:`calc(100% - ${He.paddingXS*2}px)`,backgroundColor:He.colorBgMask,opacity:0,transition:`all ${He.motionDurationSlow}`,content:'" "'}},[`${An}:hover`]:{[`&::before, ${An}-actions`]:{opacity:1}},[`${An}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${He.motionDurationSlow}`,[`${Qt}-eye, ${Qt}-download, ${Qt}-delete`]:{zIndex:10,width:En,margin:`0 ${He.marginXXS}px`,fontSize:En,cursor:"pointer",transition:`all ${He.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${An}-actions, ${An}-actions:hover`]:{[`${Qt}-eye, ${Qt}-download, ${Qt}-delete`]:{color:new fn.C(In).setAlpha(.65).toRgbString(),"&:hover":{color:In}}},[`${An}-thumbnail, ${An}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${An}-name`]:{display:"none",textAlign:"center"},[`${An}-file + ${An}-name`]:{position:"absolute",bottom:He.margin,display:"block",width:`calc(100% - ${He.paddingXS*2}px)`},[`${An}-uploading`]:{[`&${An}`]:{backgroundColor:He.colorFillAlter},[`&::before, ${Qt}-eye, ${Qt}-download, ${Qt}-delete`]:{display:"none"}},[`${An}-progress`]:{bottom:He.marginXL,width:`calc(100% - ${He.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${rn}-wrapper${rn}-picture-circle-wrapper`]:{[`${rn}${rn}-select`]:{borderRadius:"50%"}}}};var ln=He=>{const{componentCls:rn}=He;return{[`${rn}-rtl`]:{direction:"rtl"}}};const Nn=He=>{const{componentCls:rn,colorTextDisabled:Qt}=He;return{[`${rn}-wrapper`]:Object.assign(Object.assign({},(0,_n.Wf)(He)),{[rn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${rn}-select`]:{display:"inline-block"},[`${rn}-disabled`]:{color:Qt,cursor:"not-allowed"}})}};var Cn=(0,Ea.Z)("Upload",He=>{const{fontSizeHeading3:rn,fontSize:Qt,lineHeight:En,lineWidth:In,controlHeightLG:kn}=He,An=Math.round(Qt*En),Dn=(0,Zn.TS)(He,{uploadThumbnailSize:rn*2,uploadProgressOffset:An/2+In,uploadPicCardSize:kn*2.55});return[Nn(Dn),en(Dn),st(Dn),St(Dn),Mn(Dn),tn(Dn),ln(Dn),(0,Pa.Z)(Dn)]},He=>({actionsColor:He.colorTextDescription})),la=function(He,rn,Qt,En){function In(kn){return kn instanceof Qt?kn:new Qt(function(An){An(kn)})}return new(Qt||(Qt=Promise))(function(kn,An){function Dn(pn){try{Oa(En.next(pn))}catch(Na){An(Na)}}function Fa(pn){try{Oa(En.throw(pn))}catch(Na){An(Na)}}function Oa(pn){pn.done?kn(pn.value):In(pn.value).then(Dn,Fa)}Oa((En=En.apply(He,rn||[])).next())})};const jn=`__LIST_IGNORE_${Date.now()}__`,lt=(He,rn)=>{const{fileList:Qt,defaultFileList:En,onRemove:In,showUploadList:kn=!0,listType:An="text",onPreview:Dn,onDownload:Fa,onChange:Oa,onDrop:pn,previewFile:Na,disabled:Yn,locale:qa,iconRender:$a,isImageUrl:Wn,progress:ua,prefixCls:fa,className:ra,type:Ua="select",children:rr,style:Ga,itemRender:_a,maxCount:lr,data:Vr={},multiple:Ir=!1,action:uo="",accept:yr="",supportServerRender:Sr=!0,rootClassName:Ar}=He,br=x.useContext(gt.Z),Br=Yn!=null?Yn:br,[Ta,or]=(0,ut.Z)(En||[],{value:Qt,postState:Bn=>Bn!=null?Bn:[]}),[Lr,Or]=x.useState("drop"),Cr=x.useRef(null);x.useMemo(()=>{const Bn=Date.now();(Qt||[]).forEach((On,Aa)=>{!On.uid&&!Object.isFrozen(On)&&(On.uid=`__AUTO__${Bn}_${Aa}__`)})},[Qt]);const Qr=(Bn,On,Aa)=>{let Xn=(0,ue.Z)(On),ga=!1;lr===1?Xn=Xn.slice(-1):lr&&(ga=Xn.length>lr,Xn=Xn.slice(0,lr)),(0,xt.flushSync)(()=>{or(Xn)});const va={file:Bn,fileList:Xn};Aa&&(va.event=Aa),(!ga||Xn.some(Va=>Va.uid===Bn.uid))&&(0,xt.flushSync)(()=>{Oa==null||Oa(va)})},Hr=(Bn,On)=>la(void 0,void 0,void 0,function*(){const{beforeUpload:Aa,transformFile:Xn}=He;let ga=Bn;if(Aa){const va=yield Aa(Bn,On);if(va===!1)return!1;if(delete Bn[jn],va===jn)return Object.defineProperty(Bn,jn,{value:!0,configurable:!0}),!1;typeof va=="object"&&va&&(ga=va)}return Xn&&(ga=yield Xn(ga)),ga}),Xa=Bn=>{const On=Bn.filter(ga=>!ga.file[jn]);if(!On.length)return;const Aa=On.map(ga=>Xe(ga.file));let Xn=(0,ue.Z)(Ta);Aa.forEach(ga=>{Xn=Ae(ga,Xn)}),Aa.forEach((ga,va)=>{let Va=ga;if(On[va].parsedFile)ga.status="uploading";else{const{originFileObj:vr}=ga;let zr;try{zr=new File([vr],vr.name,{type:vr.type})}catch(kr){zr=new Blob([vr],{type:vr.type}),zr.name=vr.name,zr.lastModifiedDate=new Date,zr.lastModified=new Date().getTime()}zr.uid=ga.uid,Va=zr}Qr(Va,Xn)})},wr=(Bn,On,Aa)=>{try{typeof Bn=="string"&&(Bn=JSON.parse(Bn))}catch(va){}if(!pt(On,Ta))return;const Xn=Xe(On);Xn.status="done",Xn.percent=100,Xn.response=Bn,Xn.xhr=Aa;const ga=Ae(Xn,Ta);Qr(Xn,ga)},pr=(Bn,On)=>{if(!pt(On,Ta))return;const Aa=Xe(On);Aa.status="uploading",Aa.percent=Bn.percent;const Xn=Ae(Aa,Ta);Qr(Aa,Xn,Bn)},Jr=(Bn,On,Aa)=>{if(!pt(Aa,Ta))return;const Xn=Xe(Aa);Xn.error=Bn,Xn.response=On,Xn.status="error";const ga=Ae(Xn,Ta);Qr(Xn,ga)},no=Bn=>{let On;Promise.resolve(typeof In=="function"?In(Bn):In).then(Aa=>{var Xn;if(Aa===!1)return;const ga=hn(Bn,Ta);ga&&(On=Object.assign(Object.assign({},Bn),{status:"removed"}),Ta==null||Ta.forEach(va=>{const Va=On.uid!==void 0?"uid":"name";va[Va]===On[Va]&&!Object.isFrozen(va)&&(va.status="removed")}),(Xn=Cr.current)===null||Xn===void 0||Xn.abort(On),Qr(On,ga))})},Bo=Bn=>{Or(Bn.type),Bn.type==="drop"&&(pn==null||pn(Bn))};x.useImperativeHandle(rn,()=>({onBatchStart:Xa,onSuccess:wr,onProgress:pr,onError:Jr,fileList:Ta,upload:Cr.current}));const{getPrefixCls:To,direction:ko,upload:Dr}=x.useContext(yt.E_),Yr=To("upload",fa),Po=Object.assign(Object.assign({onBatchStart:Xa,onError:Jr,onProgress:pr,onSuccess:wr},He),{data:Vr,multiple:Ir,action:uo,accept:yr,supportServerRender:Sr,prefixCls:Yr,disabled:Br,beforeUpload:Hr,onChange:void 0});delete Po.className,delete Po.style,(!rr||Br)&&delete Po.id;const[Qo,Ho]=Cn(Yr),[ei]=(0,Yt.Z)("Upload",wt.Z.Upload),{showRemoveIcon:Qa,showPreviewIcon:pa,showDownloadIcon:Tn,removeIcon:Ba,previewIcon:gr,downloadIcon:Ce}=typeof kn=="boolean"?{}:kn,un=(Bn,On)=>kn?x.createElement(aa,{prefixCls:Yr,listType:An,items:Ta,previewFile:Na,onPreview:Dn,onDownload:Fa,onRemove:no,showRemoveIcon:!Br&&Qa,showPreviewIcon:pa,showDownloadIcon:Tn,removeIcon:Ba,previewIcon:gr,downloadIcon:Ce,iconRender:$a,locale:Object.assign(Object.assign({},ei),qa),isImageUrl:Wn,progress:ua,appendAction:Bn,appendActionVisible:On,itemRender:_a,disabled:Br}):Bn,xn=Me()(`${Yr}-wrapper`,ra,Ar,Ho,Dr==null?void 0:Dr.className,{[`${Yr}-rtl`]:ko==="rtl",[`${Yr}-picture-card-wrapper`]:An==="picture-card",[`${Yr}-picture-circle-wrapper`]:An==="picture-circle"}),Kn=Object.assign(Object.assign({},Dr==null?void 0:Dr.style),Ga);if(Ua==="drag"){const Bn=Me()(Ho,Yr,`${Yr}-drag`,{[`${Yr}-drag-uploading`]:Ta.some(On=>On.status==="uploading"),[`${Yr}-drag-hover`]:Lr==="dragover",[`${Yr}-disabled`]:Br,[`${Yr}-rtl`]:ko==="rtl"});return Qo(x.createElement("span",{className:xn},x.createElement("div",{className:Bn,style:Kn,onDrop:Bo,onDragOver:Bo,onDragLeave:Bo},x.createElement(Ne,Object.assign({},Po,{ref:Cr,className:`${Yr}-btn`}),x.createElement("div",{className:`${Yr}-drag-container`},rr))),un()))}const an=Me()(Yr,`${Yr}-select`,{[`${Yr}-disabled`]:Br}),ea=(Bn=>x.createElement("div",{className:an,style:Bn},x.createElement(Ne,Object.assign({},Po,{ref:Cr}))))(rr?void 0:{display:"none"});return Qo(An==="picture-card"||An==="picture-circle"?x.createElement("span",{className:xn},un(ea,!!rr)):x.createElement("span",{className:xn},ea,un()))};var Jn=x.forwardRef(lt),sn=function(He,rn){var Qt={};for(var En in He)Object.prototype.hasOwnProperty.call(He,En)&&rn.indexOf(En)<0&&(Qt[En]=He[En]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,En=Object.getOwnPropertySymbols(He);In<En.length;In++)rn.indexOf(En[In])<0&&Object.prototype.propertyIsEnumerable.call(He,En[In])&&(Qt[En[In]]=He[En[In]]);return Qt},na=x.forwardRef((He,rn)=>{var{style:Qt,height:En}=He,In=sn(He,["style","height"]);return x.createElement(Jn,Object.assign({ref:rn},In,{type:"drag",style:Object.assign(Object.assign({},Qt),{height:En})}))});const La=Jn;La.Dragger=na,La.LIST_IGNORE=jn;var sa=La},24334:function(Wt,Gt,te){var x,ue;(function(Be,Me){Wt.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(et){for(var Et={},Ne=0,ut=et.length;Ne<ut;Ne++)Et[et.charAt(Ne)]=Ne;return Et}(Oe),ct=String.fromCharCode,ot=function(et){if(et.length<2){var Et=et.charCodeAt(0);return Et<128?et:Et<2048?ct(192|Et>>>6)+ct(128|Et&63):ct(224|Et>>>12&15)+ct(128|Et>>>6&63)+ct(128|Et&63)}else{var Et=65536+(et.charCodeAt(0)-55296)*1024+(et.charCodeAt(1)-56320);return ct(240|Et>>>18&7)+ct(128|Et>>>12&63)+ct(128|Et>>>6&63)+ct(128|Et&63)}},Ve=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ue=function(et){return et.replace(Ve,ot)},tt=function(et){var Et=[0,2,1][et.length%3],Ne=et.charCodeAt(0)<<16|(et.length>1?et.charCodeAt(1):0)<<8|(et.length>2?et.charCodeAt(2):0),ut=[Oe.charAt(Ne>>>18),Oe.charAt(Ne>>>12&63),Et>=2?"=":Oe.charAt(Ne>>>6&63),Et>=1?"=":Oe.charAt(Ne&63)];return ut.join("")},$e=Be.btoa&&typeof Be.btoa=="function"?function(et){return Be.btoa(et)}:function(et){if(et.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return et.replace(/[\s\S]{1,3}/g,tt)},le=function(et){return $e(Ue(String(et)))},y=function(et){return et.replace(/[+\/]/g,function(Et){return Et=="+"?"-":"_"}).replace(/=/g,"")},a=function(et,Et){return Et?y(le(et)):le(et)},b=function(et){return a(et,!0)},E;Be.Uint8Array&&(E=function(et,Et){for(var Ne="",ut=0,xt=et.length;ut<xt;ut+=3){var yt=et[ut],gt=et[ut+1],Yt=et[ut+2],wt=yt<<16|gt<<8|Yt;Ne+=Oe.charAt(wt>>>18)+Oe.charAt(wt>>>12&63)+(typeof gt!="undefined"?Oe.charAt(wt>>>6&63):"=")+(typeof Yt!="undefined"?Oe.charAt(wt&63):"=")}return Et?y(Ne):Ne});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ne=function(et){switch(et.length){case 4:var Et=(7&et.charCodeAt(0))<<18|(63&et.charCodeAt(1))<<12|(63&et.charCodeAt(2))<<6|63&et.charCodeAt(3),Ne=Et-65536;return ct((Ne>>>10)+55296)+ct((Ne&1023)+56320);case 3:return ct((15&et.charCodeAt(0))<<12|(63&et.charCodeAt(1))<<6|63&et.charCodeAt(2));default:return ct((31&et.charCodeAt(0))<<6|63&et.charCodeAt(1))}},re=function(et){return et.replace(z,ne)},ie=function(et){var Et=et.length,Ne=Et%4,ut=(Et>0?se[et.charAt(0)]<<18:0)|(Et>1?se[et.charAt(1)]<<12:0)|(Et>2?se[et.charAt(2)]<<6:0)|(Et>3?se[et.charAt(3)]:0),xt=[ct(ut>>>16),ct(ut>>>8&255),ct(ut&255)];return xt.length-=[0,0,2,1][Ne],xt.join("")},ce=Be.atob&&typeof Be.atob=="function"?function(et){return Be.atob(et)}:function(et){return et.replace(/\S{1,4}/g,ie)},pe=function(et){return ce(String(et).replace(/[^A-Za-z0-9\+\/]/g,""))},Ee=function(et){return re(ce(et))},Ge=function(et){return String(et).replace(/[-_]/g,function(Et){return Et=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},De=function(et){return Ee(Ge(et))},Qe;Be.Uint8Array&&(Qe=function(et){return Uint8Array.from(pe(Ge(et)),function(Et){return Et.charCodeAt(0)})});var he=function(){var et=Be.Base64;return Be.Base64=Me,et};if(Be.Base64={VERSION:Le,atob:pe,btoa:$e,fromBase64:De,toBase64:a,utob:Ue,encode:a,encodeURI:b,btou:re,decode:De,noConflict:he,fromUint8Array:E,toUint8Array:Qe},typeof Object.defineProperty=="function"){var Te=function(et){return{value:et,enumerable:!1,writable:!0,configurable:!0}};Be.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Te(function(){return De(this)})),Object.defineProperty(String.prototype,"toBase64",Te(function(et){return a(this,et)})),Object.defineProperty(String.prototype,"toBase64URI",Te(function(){return a(this,!0)}))}}return Be.Meteor&&(Base64=Be.Base64),Wt.exports?Wt.exports.Base64=Be.Base64:(x=[],ue=function(){return Be.Base64}.apply(Gt,x),ue!==void 0&&(Wt.exports=ue)),{Base64:Be.Base64}})},39417:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return Ee}});var x=te(14809),ue=te(4635),Be=te(62646),Me=te(20439),Le=te(99153),Oe=te(84851),se=te(13028),ct=te(19257),ot=te(93046),Ve=te(92310),Ue=te.n(Ve),tt=te(26112),$e=te(59301),le=te(39378),y=function(De){for(var Qe=De.prefixCls,he=De.level,Te=De.isStart,et=De.isEnd,Et="".concat(Qe,"-indent-unit"),Ne=[],ut=0;ut<he;ut+=1){var xt;Ne.push($e.createElement("span",{key:ut,className:Ue()(Et,(xt={},(0,ue.Z)(xt,"".concat(Et,"-start"),Te[ut]),(0,ue.Z)(xt,"".concat(Et,"-end"),et[ut]),xt))}))}return $e.createElement("span",{"aria-hidden":"true",className:"".concat(Qe,"-indent")},Ne)},a=$e.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="---",ce=function(Ge){(0,ct.Z)(Qe,Ge);var De=(0,ot.Z)(Qe);function Qe(){var he;(0,Le.Z)(this,Qe);for(var Te=arguments.length,et=new Array(Te),Et=0;Et<Te;Et++)et[Et]=arguments[Et];return he=De.call.apply(De,[this].concat(et)),he.state={dragNodeHighlight:!1},he.selectHandle=void 0,he.cacheIndent=void 0,he.onSelectorClick=function(Ne){var ut=he.props.context.onNodeClick;ut(Ne,(0,E.F)(he.props)),he.isSelectable()?he.onSelect(Ne):he.onCheck(Ne)},he.onSelectorDoubleClick=function(Ne){var ut=he.props.context.onNodeDoubleClick;ut(Ne,(0,E.F)(he.props))},he.onSelect=function(Ne){if(!he.isDisabled()){var ut=he.props.context.onNodeSelect;ut(Ne,(0,E.F)(he.props))}},he.onCheck=function(Ne){if(!he.isDisabled()){var ut=he.props,xt=ut.disableCheckbox,yt=ut.checked,gt=he.props.context.onNodeCheck;if(!(!he.isCheckable()||xt)){var Yt=!yt;gt(Ne,(0,E.F)(he.props),Yt)}}},he.onMouseEnter=function(Ne){var ut=he.props.context.onNodeMouseEnter;ut(Ne,(0,E.F)(he.props))},he.onMouseLeave=function(Ne){var ut=he.props.context.onNodeMouseLeave;ut(Ne,(0,E.F)(he.props))},he.onContextMenu=function(Ne){var ut=he.props.context.onNodeContextMenu;ut(Ne,(0,E.F)(he.props))},he.onDragStart=function(Ne){var ut=he.props.context.onNodeDragStart;Ne.stopPropagation(),he.setState({dragNodeHighlight:!0}),ut(Ne,(0,se.Z)(he));try{Ne.dataTransfer.setData("text/plain","")}catch(xt){}},he.onDragEnter=function(Ne){var ut=he.props.context.onNodeDragEnter;Ne.preventDefault(),Ne.stopPropagation(),ut(Ne,(0,se.Z)(he))},he.onDragOver=function(Ne){var ut=he.props.context.onNodeDragOver;Ne.preventDefault(),Ne.stopPropagation(),ut(Ne,(0,se.Z)(he))},he.onDragLeave=function(Ne){var ut=he.props.context.onNodeDragLeave;Ne.stopPropagation(),ut(Ne,(0,se.Z)(he))},he.onDragEnd=function(Ne){var ut=he.props.context.onNodeDragEnd;Ne.stopPropagation(),he.setState({dragNodeHighlight:!1}),ut(Ne,(0,se.Z)(he))},he.onDrop=function(Ne){var ut=he.props.context.onNodeDrop;Ne.preventDefault(),Ne.stopPropagation(),he.setState({dragNodeHighlight:!1}),ut(Ne,(0,se.Z)(he))},he.onExpand=function(Ne){var ut=he.props,xt=ut.loading,yt=ut.context.onNodeExpand;xt||yt(Ne,(0,E.F)(he.props))},he.setSelectHandle=function(Ne){he.selectHandle=Ne},he.getNodeState=function(){var Ne=he.props.expanded;return he.isLeaf()?null:Ne?ne:re},he.hasChildren=function(){var Ne=he.props.eventKey,ut=he.props.context.keyEntities,xt=(0,b.Z)(ut,Ne)||{},yt=xt.children;return!!(yt||[]).length},he.isLeaf=function(){var Ne=he.props,ut=Ne.isLeaf,xt=Ne.loaded,yt=he.props.context.loadData,gt=he.hasChildren();return ut===!1?!1:ut||!yt&&!gt||yt&&xt&&!gt},he.isDisabled=function(){var Ne=he.props.disabled,ut=he.props.context.disabled;return!!(ut||Ne)},he.isCheckable=function(){var Ne=he.props.checkable,ut=he.props.context.checkable;return!ut||Ne===!1?!1:ut},he.syncLoadData=function(Ne){var ut=Ne.expanded,xt=Ne.loading,yt=Ne.loaded,gt=he.props.context,Yt=gt.loadData,wt=gt.onNodeLoad;xt||Yt&&ut&&!he.isLeaf()&&!he.hasChildren()&&!yt&&wt((0,E.F)(he.props))},he.isDraggable=function(){var Ne=he.props,ut=Ne.data,xt=Ne.context.draggable;return!!(xt&&(!xt.nodeDraggable||xt.nodeDraggable(ut)))},he.renderDragHandler=function(){var Ne=he.props.context,ut=Ne.draggable,xt=Ne.prefixCls;return ut!=null&&ut.icon?$e.createElement("span",{className:"".concat(xt,"-draggable-icon")},ut.icon):null},he.renderSwitcherIconDom=function(Ne){var ut=he.props.switcherIcon,xt=he.props.context.switcherIcon,yt=ut||xt;return typeof yt=="function"?yt((0,Me.Z)((0,Me.Z)({},he.props),{},{isLeaf:Ne})):yt},he.renderSwitcher=function(){var Ne=he.props.expanded,ut=he.props.context.prefixCls;if(he.isLeaf()){var xt=he.renderSwitcherIconDom(!0);return xt!==!1?$e.createElement("span",{className:Ue()("".concat(ut,"-switcher"),"".concat(ut,"-switcher-noop"))},xt):null}var yt=Ue()("".concat(ut,"-switcher"),"".concat(ut,"-switcher_").concat(Ne?ne:re)),gt=he.renderSwitcherIconDom(!1);return gt!==!1?$e.createElement("span",{onClick:he.onExpand,className:yt},gt):null},he.renderCheckbox=function(){var Ne=he.props,ut=Ne.checked,xt=Ne.halfChecked,yt=Ne.disableCheckbox,gt=he.props.context.prefixCls,Yt=he.isDisabled(),wt=he.isCheckable();if(!wt)return null;var nn=typeof wt!="boolean"?wt:null;return $e.createElement("span",{className:Ue()("".concat(gt,"-checkbox"),ut&&"".concat(gt,"-checkbox-checked"),!ut&&xt&&"".concat(gt,"-checkbox-indeterminate"),(Yt||yt)&&"".concat(gt,"-checkbox-disabled")),onClick:he.onCheck},nn)},he.renderIcon=function(){var Ne=he.props.loading,ut=he.props.context.prefixCls;return $e.createElement("span",{className:Ue()("".concat(ut,"-iconEle"),"".concat(ut,"-icon__").concat(he.getNodeState()||"docu"),Ne&&"".concat(ut,"-icon_loading"))})},he.renderSelector=function(){var Ne=he.state.dragNodeHighlight,ut=he.props,xt=ut.title,yt=xt===void 0?ie:xt,gt=ut.selected,Yt=ut.icon,wt=ut.loading,nn=ut.data,dn=he.props.context,at=dn.prefixCls,qe=dn.showIcon,qt=dn.icon,Sn=dn.loadData,Zt=dn.titleRender,mn=he.isDisabled(),Ke="".concat(at,"-node-content-wrapper"),It;if(qe){var Ut=Yt||qt;It=Ut?$e.createElement("span",{className:Ue()("".concat(at,"-iconEle"),"".concat(at,"-icon__customize"))},typeof Ut=="function"?Ut(he.props):Ut):he.renderIcon()}else Sn&&wt&&(It=he.renderIcon());var Mt;typeof yt=="function"?Mt=yt(nn):Zt?Mt=Zt(nn):Mt=yt;var ft=$e.createElement("span",{className:"".concat(at,"-title")},Mt);return $e.createElement("span",{ref:he.setSelectHandle,title:typeof yt=="string"?yt:"",className:Ue()("".concat(Ke),"".concat(Ke,"-").concat(he.getNodeState()||"normal"),!mn&&(gt||Ne)&&"".concat(at,"-node-selected")),onMouseEnter:he.onMouseEnter,onMouseLeave:he.onMouseLeave,onContextMenu:he.onContextMenu,onClick:he.onSelectorClick,onDoubleClick:he.onSelectorDoubleClick},It,ft,he.renderDropIndicator())},he.renderDropIndicator=function(){var Ne=he.props,ut=Ne.disabled,xt=Ne.eventKey,yt=he.props.context,gt=yt.draggable,Yt=yt.dropLevelOffset,wt=yt.dropPosition,nn=yt.prefixCls,dn=yt.indent,at=yt.dropIndicatorRender,qe=yt.dragOverNodeKey,qt=yt.direction,Sn=!!gt,Zt=!ut&&Sn&&qe===xt,mn=dn!=null?dn:he.cacheIndent;return he.cacheIndent=dn,Zt?at({dropPosition:wt,dropLevelOffset:Yt,indent:mn,prefixCls:nn,direction:qt}):null},he}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,et=this.props.context.selectable;return typeof Te=="boolean"?Te:et}},{key:"render",value:function(){var Te,et=this.props,Et=et.eventKey,Ne=et.className,ut=et.style,xt=et.dragOver,yt=et.dragOverGapTop,gt=et.dragOverGapBottom,Yt=et.isLeaf,wt=et.isStart,nn=et.isEnd,dn=et.expanded,at=et.selected,qe=et.checked,qt=et.halfChecked,Sn=et.loading,Zt=et.domRef,mn=et.active,Ke=et.data,It=et.onMouseMove,Ut=et.selectable,Mt=(0,Be.Z)(et,z),ft=this.props.context,rt=ft.prefixCls,ze=ft.filterTreeNode,ve=ft.keyEntities,fe=ft.dropContainerKey,Ye=ft.dropTargetKey,Lt=ft.draggingNodeKey,Fe=this.isDisabled(),xe=(0,tt.Z)(Mt,{aria:!0,data:!0}),nt=(0,b.Z)(ve,Et)||{},Xe=nt.level,Ae=nn[nn.length-1],pt=this.isDraggable(),hn=!Fe&&pt,$t=Lt===Et,Ht=Ut!==void 0?{"aria-selected":!!Ut}:void 0;return $e.createElement("div",(0,x.Z)({ref:Zt,className:Ue()(Ne,"".concat(rt,"-treenode"),(Te={},(0,ue.Z)(Te,"".concat(rt,"-treenode-disabled"),Fe),(0,ue.Z)(Te,"".concat(rt,"-treenode-switcher-").concat(dn?"open":"close"),!Yt),(0,ue.Z)(Te,"".concat(rt,"-treenode-checkbox-checked"),qe),(0,ue.Z)(Te,"".concat(rt,"-treenode-checkbox-indeterminate"),qt),(0,ue.Z)(Te,"".concat(rt,"-treenode-selected"),at),(0,ue.Z)(Te,"".concat(rt,"-treenode-loading"),Sn),(0,ue.Z)(Te,"".concat(rt,"-treenode-active"),mn),(0,ue.Z)(Te,"".concat(rt,"-treenode-leaf-last"),Ae),(0,ue.Z)(Te,"".concat(rt,"-treenode-draggable"),pt),(0,ue.Z)(Te,"dragging",$t),(0,ue.Z)(Te,"drop-target",Ye===Et),(0,ue.Z)(Te,"drop-container",fe===Et),(0,ue.Z)(Te,"drag-over",!Fe&&xt),(0,ue.Z)(Te,"drag-over-gap-top",!Fe&&yt),(0,ue.Z)(Te,"drag-over-gap-bottom",!Fe&>),(0,ue.Z)(Te,"filter-node",ze&&ze((0,E.F)(this.props))),Te)),style:ut,draggable:hn,"aria-grabbed":$t,onDragStart:hn?this.onDragStart:void 0,onDragEnter:pt?this.onDragEnter:void 0,onDragOver:pt?this.onDragOver:void 0,onDragLeave:pt?this.onDragLeave:void 0,onDrop:pt?this.onDrop:void 0,onDragEnd:pt?this.onDragEnd:void 0,onMouseMove:It},Ht,xe),$e.createElement(a,{prefixCls:rt,level:Xe,isStart:wt,isEnd:nn}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Qe}($e.Component),pe=function(De){return $e.createElement(le.k.Consumer,null,function(Qe){return $e.createElement(ce,(0,x.Z)({},De,{context:Qe}))})};pe.displayName="TreeNode",pe.isTreeNode=1;var Ee=pe},39378:function(Wt,Gt,te){"use strict";te.d(Gt,{k:function(){return ue}});var x=te(59301),ue=x.createContext(null)},79556:function(Wt,Gt,te){"use strict";te.d(Gt,{O:function(){return Ee.Z},Z:function(){return ft}});var x=te(14809),ue=te(4635),Be=te(93664),Me=te(20439),Le=te(95190),Oe=te(99153),se=te(84851),ct=te(13028),ot=te(19257),Ve=te(93046),Ue=te(92310),tt=te.n(Ue),$e=te(10228),le=te(26112),y=te(48736),a=te(59301),b=te(39378);function E(rt){var ze=rt.dropPosition,ve=rt.dropLevelOffset,fe=rt.indent,Ye={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(ze){case-1:Ye.top=0,Ye.left=-ve*fe;break;case 1:Ye.bottom=0,Ye.left=-ve*fe;break;case 0:Ye.bottom=0,Ye.left=fe;break}return a.createElement("div",{style:Ye})}function z(rt){if(rt==null)throw new TypeError("Cannot destructure "+rt)}var ne=te(50298),re=te(62646),ie=te(34280),ce=te(6790),pe=te(77900),Ee=te(39417);function Ge(rt,ze){var ve=a.useState(!1),fe=(0,ne.Z)(ve,2),Ye=fe[0],Lt=fe[1];a.useLayoutEffect(function(){if(Ye)return rt(),function(){ze()}},[Ye]),a.useLayoutEffect(function(){return Lt(!0),function(){Lt(!1)}},[])}var De=te(71430),Qe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],he=function(ze,ve){var fe=ze.className,Ye=ze.style,Lt=ze.motion,Fe=ze.motionNodes,xe=ze.motionType,nt=ze.onMotionStart,Xe=ze.onMotionEnd,Ae=ze.active,pt=ze.treeNodeRequiredProps,hn=(0,re.Z)(ze,Qe),$t=a.useState(!0),Ht=(0,ne.Z)($t,2),on=Ht[0],gn=Ht[1],_e=a.useContext(b.k),Bt=_e.prefixCls,Ot=Fe&&xe!=="hide";(0,ie.Z)(function(){Fe&&Ot!==on&&gn(Ot)},[Fe]);var ht=function(){Fe&&nt()},Dt=a.useRef(!1),vn=function(){Fe&&!Dt.current&&(Dt.current=!0,Xe())};Ge(ht,vn);var yn=function(Rn){Ot===Rn&&vn()};return Fe?a.createElement(pe.default,(0,x.Z)({ref:ve,visible:on},Lt,{motionAppear:xe==="show",onVisibleChanged:yn}),function(Pn,Rn){var ta=Pn.className,aa=Pn.style;return a.createElement("div",{ref:Rn,className:tt()("".concat(Bt,"-treenode-motion"),ta),style:aa},Fe.map(function(_n){var Pa=(0,x.Z)({},(z(_n.data),_n.data)),Ea=_n.title,Zn=_n.key,wa=_n.isStart,en=_n.isEnd;delete Pa.children;var bn=(0,De.H8)(Zn,pt);return a.createElement(Ee.Z,(0,x.Z)({},Pa,bn,{title:Ea,active:Ae,data:_n.data,key:Zn,isStart:wa,isEnd:en}))}))}):a.createElement(Ee.Z,(0,x.Z)({domRef:ve,className:fe,style:Ye},hn,{active:Ae}))};he.displayName="MotionTreeNode";var Te=a.forwardRef(he),et=Te;function Et(){var rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ve=rt.length,fe=ze.length;if(Math.abs(ve-fe)!==1)return{add:!1,key:null};function Ye(Lt,Fe){var xe=new Map;Lt.forEach(function(Xe){xe.set(Xe,!0)});var nt=Fe.filter(function(Xe){return!xe.has(Xe)});return nt.length===1?nt[0]:null}return ve<fe?{add:!0,key:Ye(rt,ze)}:{add:!1,key:Ye(ze,rt)}}function Ne(rt,ze,ve){var fe=rt.findIndex(function(xe){return xe.key===ve}),Ye=rt[fe+1],Lt=ze.findIndex(function(xe){return xe.key===ve});if(Ye){var Fe=ze.findIndex(function(xe){return xe.key===Ye.key});return ze.slice(Lt+1,Fe)}return ze.slice(Lt+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"],xt={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()),Yt={key:gt},wt={key:gt,level:0,index:0,pos:"0",node:Yt,nodes:[Yt]},nn={parent:null,children:[],pos:wt.pos,data:Yt,title:null,key:gt,isStart:[],isEnd:[]};function dn(rt,ze,ve,fe){return ze===!1||!ve?rt:rt.slice(0,Math.ceil(ve/fe)+1)}function at(rt){var ze=rt.key,ve=rt.pos;return(0,De.km)(ze,ve)}function qe(rt){for(var ze=String(rt.data.key),ve=rt;ve.parent;)ve=ve.parent,ze="".concat(ve.data.key," > ").concat(ze);return ze}var qt=a.forwardRef(function(rt,ze){var ve=rt.prefixCls,fe=rt.data,Ye=rt.selectable,Lt=rt.checkable,Fe=rt.expandedKeys,xe=rt.selectedKeys,nt=rt.checkedKeys,Xe=rt.loadedKeys,Ae=rt.loadingKeys,pt=rt.halfCheckedKeys,hn=rt.keyEntities,$t=rt.disabled,Ht=rt.dragging,on=rt.dragOverNodeKey,gn=rt.dropPosition,_e=rt.motion,Bt=rt.height,Ot=rt.itemHeight,ht=rt.virtual,Dt=rt.focusable,vn=rt.activeItem,yn=rt.focused,Pn=rt.tabIndex,Rn=rt.onKeyDown,ta=rt.onFocus,aa=rt.onBlur,_n=rt.onActiveChange,Pa=rt.onListChangeStart,Ea=rt.onListChangeEnd,Zn=(0,re.Z)(rt,ut),wa=a.useRef(null),en=a.useRef(null);a.useImperativeHandle(ze,function(){return{scrollTo:function(sa){wa.current.scrollTo(sa)},getIndentWidth:function(){return en.current.offsetWidth}}});var bn=a.useState(Fe),Mn=(0,ne.Z)(bn,2),Qn=Mn[0],Ze=Mn[1],Nt=a.useState(fe),kt=(0,ne.Z)(Nt,2),Kt=kt[0],tn=kt[1],jt=a.useState(fe),fn=(0,ne.Z)(jt,2),st=fn[0],St=fn[1],dt=a.useState([]),ln=(0,ne.Z)(dt,2),Nn=ln[0],Cn=ln[1],la=a.useState(null),jn=(0,ne.Z)(la,2),lt=jn[0],Jt=jn[1],Jn=a.useRef(fe);Jn.current=fe;function sn(){var La=Jn.current;tn(La),St(La),Cn([]),Jt(null),Ea()}(0,ie.Z)(function(){Ze(Fe);var La=Et(Qn,Fe);if(La.key!==null)if(La.add){var sa=Kt.findIndex(function(kn){var An=kn.key;return An===La.key}),He=dn(Ne(Kt,fe,La.key),ht,Bt,Ot),rn=Kt.slice();rn.splice(sa+1,0,nn),St(rn),Cn(He),Jt("show")}else{var Qt=fe.findIndex(function(kn){var An=kn.key;return An===La.key}),En=dn(Ne(fe,Kt,La.key),ht,Bt,Ot),In=fe.slice();In.splice(Qt+1,0,nn),St(In),Cn(En),Jt("hide")}else Kt!==fe&&(tn(fe),St(fe))},[Fe,fe]),a.useEffect(function(){Ht||sn()},[Ht]);var zn=_e?st:fe,na={expandedKeys:Fe,selectedKeys:xe,loadedKeys:Xe,loadingKeys:Ae,checkedKeys:nt,halfCheckedKeys:pt,dragOverNodeKey:on,dropPosition:gn,keyEntities:hn};return a.createElement(a.Fragment,null,yn&&vn&&a.createElement("span",{style:xt,"aria-live":"assertive"},qe(vn)),a.createElement("div",null,a.createElement("input",{style:xt,disabled:Dt===!1||$t,tabIndex:Dt!==!1?Pn:null,onKeyDown:Rn,onFocus:ta,onBlur:aa,value:"",onChange:yt,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(ve,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(ve,"-indent")},a.createElement("div",{ref:en,className:"".concat(ve,"-indent-unit")}))),a.createElement(ce.Z,(0,x.Z)({},Zn,{data:zn,itemKey:at,height:Bt,fullHeight:!1,virtual:ht,itemHeight:Ot,prefixCls:"".concat(ve,"-list"),ref:wa,onVisibleChange:function(sa,He){var rn=new Set(sa),Qt=He.filter(function(En){return!rn.has(En)});Qt.some(function(En){return at(En)===gt})&&sn()}}),function(La){var sa=La.pos,He=(0,x.Z)({},(z(La.data),La.data)),rn=La.title,Qt=La.key,En=La.isStart,In=La.isEnd,kn=(0,De.km)(Qt,sa);delete He.key,delete He.children;var An=(0,De.H8)(kn,na);return a.createElement(et,(0,x.Z)({},He,An,{title:rn,active:!!vn&&Qt===vn.key,pos:sa,data:La.data,isStart:En,isEnd:In,motion:_e,motionNodes:Qt===gt?Nn:null,motionType:lt,onMotionStart:Pa,onMotionEnd:sn,treeNodeRequiredProps:na,onMouseMove:function(){_n(null)}}))}))});qt.displayName="NodeList";var Sn=qt,Zt=te(35654),mn=te(90782),Ke=te(67841),It=10,Ut=function(rt){(0,ot.Z)(ve,rt);var ze=(0,Ve.Z)(ve);function ve(){var fe;(0,Oe.Z)(this,ve);for(var Ye=arguments.length,Lt=new Array(Ye),Fe=0;Fe<Ye;Fe++)Lt[Fe]=arguments[Fe];return fe=ze.call.apply(ze,[this].concat(Lt)),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,De.w$)()},fe.dragStartMousePosition=null,fe.dragNode=void 0,fe.currentMouseOverDroppableNodeKey=null,fe.listRef=a.createRef(),fe.onNodeDragStart=function(xe,nt){var Xe=fe.state,Ae=Xe.expandedKeys,pt=Xe.keyEntities,hn=fe.props.onDragStart,$t=nt.props.eventKey;fe.dragNode=nt,fe.dragStartMousePosition={x:xe.clientX,y:xe.clientY};var Ht=(0,Zt._5)(Ae,$t);fe.setState({draggingNodeKey:$t,dragChildrenKeys:(0,Zt.wA)($t,pt),indent:fe.listRef.current.getIndentWidth()}),fe.setExpandedKeys(Ht),window.addEventListener("dragend",fe.onWindowDragEnd),hn==null||hn({event:xe,node:(0,De.F)(nt.props)})},fe.onNodeDragEnter=function(xe,nt){var Xe=fe.state,Ae=Xe.expandedKeys,pt=Xe.keyEntities,hn=Xe.dragChildrenKeys,$t=Xe.flattenNodes,Ht=Xe.indent,on=fe.props,gn=on.onDragEnter,_e=on.onExpand,Bt=on.allowDrop,Ot=on.direction,ht=nt.props,Dt=ht.pos,vn=ht.eventKey,yn=(0,ct.Z)(fe),Pn=yn.dragNode;if(fe.currentMouseOverDroppableNodeKey!==vn&&(fe.currentMouseOverDroppableNodeKey=vn),!Pn){fe.resetDragState();return}var Rn=(0,Zt.OM)(xe,Pn,nt,Ht,fe.dragStartMousePosition,Bt,$t,pt,Ae,Ot),ta=Rn.dropPosition,aa=Rn.dropLevelOffset,_n=Rn.dropTargetKey,Pa=Rn.dropContainerKey,Ea=Rn.dropTargetPos,Zn=Rn.dropAllowed,wa=Rn.dragOverNodeKey;if(hn.indexOf(_n)!==-1||!Zn){fe.resetDragState();return}if(fe.delayedDragEnterLogic||(fe.delayedDragEnterLogic={}),Object.keys(fe.delayedDragEnterLogic).forEach(function(en){clearTimeout(fe.delayedDragEnterLogic[en])}),Pn.props.eventKey!==nt.props.eventKey&&(xe.persist(),fe.delayedDragEnterLogic[Dt]=window.setTimeout(function(){if(fe.state.draggingNodeKey!==null){var en=(0,Le.Z)(Ae),bn=(0,Ke.Z)(pt,nt.props.eventKey);bn&&(bn.children||[]).length&&(en=(0,Zt.L0)(Ae,nt.props.eventKey)),"expandedKeys"in fe.props||fe.setExpandedKeys(en),_e==null||_e(en,{node:(0,De.F)(nt.props),expanded:!0,nativeEvent:xe.nativeEvent})}},800)),Pn.props.eventKey===_n&&aa===0){fe.resetDragState();return}fe.setState({dragOverNodeKey:wa,dropPosition:ta,dropLevelOffset:aa,dropTargetKey:_n,dropContainerKey:Pa,dropTargetPos:Ea,dropAllowed:Zn}),gn==null||gn({event:xe,node:(0,De.F)(nt.props),expandedKeys:Ae})},fe.onNodeDragOver=function(xe,nt){var Xe=fe.state,Ae=Xe.dragChildrenKeys,pt=Xe.flattenNodes,hn=Xe.keyEntities,$t=Xe.expandedKeys,Ht=Xe.indent,on=fe.props,gn=on.onDragOver,_e=on.allowDrop,Bt=on.direction,Ot=(0,ct.Z)(fe),ht=Ot.dragNode;if(ht){var Dt=(0,Zt.OM)(xe,ht,nt,Ht,fe.dragStartMousePosition,_e,pt,hn,$t,Bt),vn=Dt.dropPosition,yn=Dt.dropLevelOffset,Pn=Dt.dropTargetKey,Rn=Dt.dropContainerKey,ta=Dt.dropAllowed,aa=Dt.dropTargetPos,_n=Dt.dragOverNodeKey;Ae.indexOf(Pn)!==-1||!ta||(ht.props.eventKey===Pn&&yn===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():vn===fe.state.dropPosition&&yn===fe.state.dropLevelOffset&&Pn===fe.state.dropTargetKey&&Rn===fe.state.dropContainerKey&&aa===fe.state.dropTargetPos&&ta===fe.state.dropAllowed&&_n===fe.state.dragOverNodeKey||fe.setState({dropPosition:vn,dropLevelOffset:yn,dropTargetKey:Pn,dropContainerKey:Rn,dropTargetPos:aa,dropAllowed:ta,dragOverNodeKey:_n}),gn==null||gn({event:xe,node:(0,De.F)(nt.props)}))}},fe.onNodeDragLeave=function(xe,nt){fe.currentMouseOverDroppableNodeKey===nt.props.eventKey&&!xe.currentTarget.contains(xe.relatedTarget)&&(fe.resetDragState(),fe.currentMouseOverDroppableNodeKey=null);var Xe=fe.props.onDragLeave;Xe==null||Xe({event:xe,node:(0,De.F)(nt.props)})},fe.onWindowDragEnd=function(xe){fe.onNodeDragEnd(xe,null,!0),window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDragEnd=function(xe,nt){var Xe=fe.props.onDragEnd;fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),Xe==null||Xe({event:xe,node:(0,De.F)(nt.props)}),fe.dragNode=null,window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDrop=function(xe,nt){var Xe,Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,pt=fe.state,hn=pt.dragChildrenKeys,$t=pt.dropPosition,Ht=pt.dropTargetKey,on=pt.dropTargetPos,gn=pt.dropAllowed;if(gn){var _e=fe.props.onDrop;if(fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),Ht!==null){var Bt=(0,Me.Z)((0,Me.Z)({},(0,De.H8)(Ht,fe.getTreeNodeRequiredProps())),{},{active:((Xe=fe.getActiveItem())===null||Xe===void 0?void 0:Xe.key)===Ht,data:(0,Ke.Z)(fe.state.keyEntities,Ht).node}),Ot=hn.indexOf(Ht)!==-1;(0,y.ZP)(!Ot,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ht=(0,Zt.yx)(on),Dt={event:xe,node:(0,De.F)(Bt),dragNode:fe.dragNode?(0,De.F)(fe.dragNode.props):null,dragNodesKeys:[fe.dragNode.props.eventKey].concat(hn),dropToGap:$t!==0,dropPosition:$t+Number(ht[ht.length-1])};Ae||_e==null||_e(Dt),fe.dragNode=null}}},fe.cleanDragState=function(){var xe=fe.state.draggingNodeKey;xe!==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(xe,nt){var Xe=fe.state,Ae=Xe.expandedKeys,pt=Xe.flattenNodes,hn=nt.expanded,$t=nt.key,Ht=nt.isLeaf;if(!(Ht||xe.shiftKey||xe.metaKey||xe.ctrlKey)){var on=pt.filter(function(_e){return _e.key===$t})[0],gn=(0,De.F)((0,Me.Z)((0,Me.Z)({},(0,De.H8)($t,fe.getTreeNodeRequiredProps())),{},{data:on.data}));fe.setExpandedKeys(hn?(0,Zt._5)(Ae,$t):(0,Zt.L0)(Ae,$t)),fe.onNodeExpand(xe,gn)}},fe.onNodeClick=function(xe,nt){var Xe=fe.props,Ae=Xe.onClick,pt=Xe.expandAction;pt==="click"&&fe.triggerExpandActionExpand(xe,nt),Ae==null||Ae(xe,nt)},fe.onNodeDoubleClick=function(xe,nt){var Xe=fe.props,Ae=Xe.onDoubleClick,pt=Xe.expandAction;pt==="doubleClick"&&fe.triggerExpandActionExpand(xe,nt),Ae==null||Ae(xe,nt)},fe.onNodeSelect=function(xe,nt){var Xe=fe.state.selectedKeys,Ae=fe.state,pt=Ae.keyEntities,hn=Ae.fieldNames,$t=fe.props,Ht=$t.onSelect,on=$t.multiple,gn=nt.selected,_e=nt[hn.key],Bt=!gn;Bt?on?Xe=(0,Zt.L0)(Xe,_e):Xe=[_e]:Xe=(0,Zt._5)(Xe,_e);var Ot=Xe.map(function(ht){var Dt=(0,Ke.Z)(pt,ht);return Dt?Dt.node:null}).filter(function(ht){return ht});fe.setUncontrolledState({selectedKeys:Xe}),Ht==null||Ht(Xe,{event:"select",selected:Bt,node:nt,selectedNodes:Ot,nativeEvent:xe.nativeEvent})},fe.onNodeCheck=function(xe,nt,Xe){var Ae=fe.state,pt=Ae.keyEntities,hn=Ae.checkedKeys,$t=Ae.halfCheckedKeys,Ht=fe.props,on=Ht.checkStrictly,gn=Ht.onCheck,_e=nt.key,Bt,Ot={event:"check",node:nt,checked:Xe,nativeEvent:xe.nativeEvent};if(on){var ht=Xe?(0,Zt.L0)(hn,_e):(0,Zt._5)(hn,_e),Dt=(0,Zt._5)($t,_e);Bt={checked:ht,halfChecked:Dt},Ot.checkedNodes=ht.map(function(aa){return(0,Ke.Z)(pt,aa)}).filter(function(aa){return aa}).map(function(aa){return aa.node}),fe.setUncontrolledState({checkedKeys:ht})}else{var vn=(0,mn.S)([].concat((0,Le.Z)(hn),[_e]),!0,pt),yn=vn.checkedKeys,Pn=vn.halfCheckedKeys;if(!Xe){var Rn=new Set(yn);Rn.delete(_e);var ta=(0,mn.S)(Array.from(Rn),{checked:!1,halfCheckedKeys:Pn},pt);yn=ta.checkedKeys,Pn=ta.halfCheckedKeys}Bt=yn,Ot.checkedNodes=[],Ot.checkedNodesPositions=[],Ot.halfCheckedKeys=Pn,yn.forEach(function(aa){var _n=(0,Ke.Z)(pt,aa);if(_n){var Pa=_n.node,Ea=_n.pos;Ot.checkedNodes.push(Pa),Ot.checkedNodesPositions.push({node:Pa,pos:Ea})}}),fe.setUncontrolledState({checkedKeys:yn},!1,{halfCheckedKeys:Pn})}gn==null||gn(Bt,Ot)},fe.onNodeLoad=function(xe){var nt=xe.key,Xe=new Promise(function(Ae,pt){fe.setState(function(hn){var $t=hn.loadedKeys,Ht=$t===void 0?[]:$t,on=hn.loadingKeys,gn=on===void 0?[]:on,_e=fe.props,Bt=_e.loadData,Ot=_e.onLoad;if(!Bt||Ht.indexOf(nt)!==-1||gn.indexOf(nt)!==-1)return null;var ht=Bt(xe);return ht.then(function(){var Dt=fe.state.loadedKeys,vn=(0,Zt.L0)(Dt,nt);Ot==null||Ot(vn,{event:"load",node:xe}),fe.setUncontrolledState({loadedKeys:vn}),fe.setState(function(yn){return{loadingKeys:(0,Zt._5)(yn.loadingKeys,nt)}}),Ae()}).catch(function(Dt){if(fe.setState(function(yn){return{loadingKeys:(0,Zt._5)(yn.loadingKeys,nt)}}),fe.loadingRetryTimes[nt]=(fe.loadingRetryTimes[nt]||0)+1,fe.loadingRetryTimes[nt]>=It){var vn=fe.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),fe.setUncontrolledState({loadedKeys:(0,Zt.L0)(vn,nt)}),Ae()}pt(Dt)}),{loadingKeys:(0,Zt.L0)(gn,nt)}})});return Xe.catch(function(){}),Xe},fe.onNodeMouseEnter=function(xe,nt){var Xe=fe.props.onMouseEnter;Xe==null||Xe({event:xe,node:nt})},fe.onNodeMouseLeave=function(xe,nt){var Xe=fe.props.onMouseLeave;Xe==null||Xe({event:xe,node:nt})},fe.onNodeContextMenu=function(xe,nt){var Xe=fe.props.onRightClick;Xe&&(xe.preventDefault(),Xe({event:xe,node:nt}))},fe.onFocus=function(){var xe=fe.props.onFocus;fe.setState({focused:!0});for(var nt=arguments.length,Xe=new Array(nt),Ae=0;Ae<nt;Ae++)Xe[Ae]=arguments[Ae];xe==null||xe.apply(void 0,Xe)},fe.onBlur=function(){var xe=fe.props.onBlur;fe.setState({focused:!1}),fe.onActiveChange(null);for(var nt=arguments.length,Xe=new Array(nt),Ae=0;Ae<nt;Ae++)Xe[Ae]=arguments[Ae];xe==null||xe.apply(void 0,Xe)},fe.getTreeNodeRequiredProps=function(){var xe=fe.state,nt=xe.expandedKeys,Xe=xe.selectedKeys,Ae=xe.loadedKeys,pt=xe.loadingKeys,hn=xe.checkedKeys,$t=xe.halfCheckedKeys,Ht=xe.dragOverNodeKey,on=xe.dropPosition,gn=xe.keyEntities;return{expandedKeys:nt||[],selectedKeys:Xe||[],loadedKeys:Ae||[],loadingKeys:pt||[],checkedKeys:hn||[],halfCheckedKeys:$t||[],dragOverNodeKey:Ht,dropPosition:on,keyEntities:gn}},fe.setExpandedKeys=function(xe){var nt=fe.state,Xe=nt.treeData,Ae=nt.fieldNames,pt=(0,De.oH)(Xe,xe,Ae);fe.setUncontrolledState({expandedKeys:xe,flattenNodes:pt},!0)},fe.onNodeExpand=function(xe,nt){var Xe=fe.state.expandedKeys,Ae=fe.state,pt=Ae.listChanging,hn=Ae.fieldNames,$t=fe.props,Ht=$t.onExpand,on=$t.loadData,gn=nt.expanded,_e=nt[hn.key];if(!pt){var Bt=Xe.indexOf(_e),Ot=!gn;if((0,y.ZP)(gn&&Bt!==-1||!gn&&Bt===-1,"Expand state not sync with index check"),Ot?Xe=(0,Zt.L0)(Xe,_e):Xe=(0,Zt._5)(Xe,_e),fe.setExpandedKeys(Xe),Ht==null||Ht(Xe,{node:nt,expanded:Ot,nativeEvent:xe.nativeEvent}),Ot&&on){var ht=fe.onNodeLoad(nt);ht&&ht.then(function(){var Dt=(0,De.oH)(fe.state.treeData,Xe,hn);fe.setUncontrolledState({flattenNodes:Dt})}).catch(function(){var Dt=fe.state.expandedKeys,vn=(0,Zt._5)(Dt,_e);fe.setExpandedKeys(vn)})}}},fe.onListChangeStart=function(){fe.setUncontrolledState({listChanging:!0})},fe.onListChangeEnd=function(){setTimeout(function(){fe.setUncontrolledState({listChanging:!1})})},fe.onActiveChange=function(xe){var nt=fe.state.activeKey,Xe=fe.props.onActiveChange;nt!==xe&&(fe.setState({activeKey:xe}),xe!==null&&fe.scrollTo({key:xe}),Xe==null||Xe(xe))},fe.getActiveItem=function(){var xe=fe.state,nt=xe.activeKey,Xe=xe.flattenNodes;return nt===null?null:Xe.find(function(Ae){var pt=Ae.key;return pt===nt})||null},fe.offsetActiveKey=function(xe){var nt=fe.state,Xe=nt.flattenNodes,Ae=nt.activeKey,pt=Xe.findIndex(function(Ht){var on=Ht.key;return on===Ae});pt===-1&&xe<0&&(pt=Xe.length),pt=(pt+xe+Xe.length)%Xe.length;var hn=Xe[pt];if(hn){var $t=hn.key;fe.onActiveChange($t)}else fe.onActiveChange(null)},fe.onKeyDown=function(xe){var nt=fe.state,Xe=nt.activeKey,Ae=nt.expandedKeys,pt=nt.checkedKeys,hn=nt.fieldNames,$t=fe.props,Ht=$t.onKeyDown,on=$t.checkable,gn=$t.selectable;switch(xe.which){case $e.Z.UP:{fe.offsetActiveKey(-1),xe.preventDefault();break}case $e.Z.DOWN:{fe.offsetActiveKey(1),xe.preventDefault();break}}var _e=fe.getActiveItem();if(_e&&_e.data){var Bt=fe.getTreeNodeRequiredProps(),Ot=_e.data.isLeaf===!1||!!(_e.data[hn.children]||[]).length,ht=(0,De.F)((0,Me.Z)((0,Me.Z)({},(0,De.H8)(Xe,Bt)),{},{data:_e.data,active:!0}));switch(xe.which){case $e.Z.LEFT:{Ot&&Ae.includes(Xe)?fe.onNodeExpand({},ht):_e.parent&&fe.onActiveChange(_e.parent.key),xe.preventDefault();break}case $e.Z.RIGHT:{Ot&&!Ae.includes(Xe)?fe.onNodeExpand({},ht):_e.children&&_e.children.length&&fe.onActiveChange(_e.children[0].key),xe.preventDefault();break}case $e.Z.ENTER:case $e.Z.SPACE:{on&&!ht.disabled&&ht.checkable!==!1&&!ht.disableCheckbox?fe.onNodeCheck({},ht,!pt.includes(Xe)):!on&&gn&&!ht.disabled&&ht.selectable!==!1&&fe.onNodeSelect({},ht);break}}}Ht==null||Ht(xe)},fe.setUncontrolledState=function(xe){var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!fe.destroyed){var Ae=!1,pt=!0,hn={};Object.keys(xe).forEach(function($t){if($t in fe.props){pt=!1;return}Ae=!0,hn[$t]=xe[$t]}),Ae&&(!nt||pt)&&fe.setState((0,Me.Z)((0,Me.Z)({},hn),Xe))}},fe.scrollTo=function(xe){fe.listRef.current.scrollTo(xe)},fe}return(0,se.Z)(ve,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ye=this.props.activeKey;Ye!==void 0&&Ye!==this.state.activeKey&&(this.setState({activeKey:Ye}),Ye!==null&&this.scrollTo({key:Ye}))}},{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 Ye,Lt=this.state,Fe=Lt.focused,xe=Lt.flattenNodes,nt=Lt.keyEntities,Xe=Lt.draggingNodeKey,Ae=Lt.activeKey,pt=Lt.dropLevelOffset,hn=Lt.dropContainerKey,$t=Lt.dropTargetKey,Ht=Lt.dropPosition,on=Lt.dragOverNodeKey,gn=Lt.indent,_e=this.props,Bt=_e.prefixCls,Ot=_e.className,ht=_e.style,Dt=_e.showLine,vn=_e.focusable,yn=_e.tabIndex,Pn=yn===void 0?0:yn,Rn=_e.selectable,ta=_e.showIcon,aa=_e.icon,_n=_e.switcherIcon,Pa=_e.draggable,Ea=_e.checkable,Zn=_e.checkStrictly,wa=_e.disabled,en=_e.motion,bn=_e.loadData,Mn=_e.filterTreeNode,Qn=_e.height,Ze=_e.itemHeight,Nt=_e.virtual,kt=_e.titleRender,Kt=_e.dropIndicatorRender,tn=_e.onContextMenu,jt=_e.onScroll,fn=_e.direction,st=_e.rootClassName,St=_e.rootStyle,dt=(0,le.Z)(this.props,{aria:!0,data:!0}),ln;return Pa&&((0,Be.Z)(Pa)==="object"?ln=Pa:typeof Pa=="function"?ln={nodeDraggable:Pa}:ln={}),a.createElement(b.k.Provider,{value:{prefixCls:Bt,selectable:Rn,showIcon:ta,icon:aa,switcherIcon:_n,draggable:ln,draggingNodeKey:Xe,checkable:Ea,checkStrictly:Zn,disabled:wa,keyEntities:nt,dropLevelOffset:pt,dropContainerKey:hn,dropTargetKey:$t,dropPosition:Ht,dragOverNodeKey:on,indent:gn,direction:fn,dropIndicatorRender:Kt,loadData:bn,filterTreeNode:Mn,titleRender:kt,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:tt()(Bt,Ot,st,(Ye={},(0,ue.Z)(Ye,"".concat(Bt,"-show-line"),Dt),(0,ue.Z)(Ye,"".concat(Bt,"-focused"),Fe),(0,ue.Z)(Ye,"".concat(Bt,"-active-focused"),Ae!==null),Ye)),style:St},a.createElement(Sn,(0,x.Z)({ref:this.listRef,prefixCls:Bt,style:ht,data:xe,disabled:wa,selectable:Rn,checkable:!!Ea,motion:en,dragging:Xe!==null,height:Qn,itemHeight:Ze,virtual:Nt,focusable:vn,focused:Fe,tabIndex:Pn,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(),dt))))}}],[{key:"getDerivedStateFromProps",value:function(Ye,Lt){var Fe=Lt.prevProps,xe={prevProps:Ye};function nt(vn){return!Fe&&vn in Ye||Fe&&Fe[vn]!==Ye[vn]}var Xe,Ae=Lt.fieldNames;if(nt("fieldNames")&&(Ae=(0,De.w$)(Ye.fieldNames),xe.fieldNames=Ae),nt("treeData")?Xe=Ye.treeData:nt("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Xe=(0,De.zn)(Ye.children)),Xe){xe.treeData=Xe;var pt=(0,De.I8)(Xe,{fieldNames:Ae});xe.keyEntities=(0,Me.Z)((0,ue.Z)({},gt,wt),pt.keyEntities)}var hn=xe.keyEntities||Lt.keyEntities;if(nt("expandedKeys")||Fe&&nt("autoExpandParent"))xe.expandedKeys=Ye.autoExpandParent||!Fe&&Ye.defaultExpandParent?(0,Zt.r7)(Ye.expandedKeys,hn):Ye.expandedKeys;else if(!Fe&&Ye.defaultExpandAll){var $t=(0,Me.Z)({},hn);delete $t[gt],xe.expandedKeys=Object.keys($t).map(function(vn){return $t[vn].key})}else!Fe&&Ye.defaultExpandedKeys&&(xe.expandedKeys=Ye.autoExpandParent||Ye.defaultExpandParent?(0,Zt.r7)(Ye.defaultExpandedKeys,hn):Ye.defaultExpandedKeys);if(xe.expandedKeys||delete xe.expandedKeys,Xe||xe.expandedKeys){var Ht=(0,De.oH)(Xe||Lt.treeData,xe.expandedKeys||Lt.expandedKeys,Ae);xe.flattenNodes=Ht}if(Ye.selectable&&(nt("selectedKeys")?xe.selectedKeys=(0,Zt.BT)(Ye.selectedKeys,Ye):!Fe&&Ye.defaultSelectedKeys&&(xe.selectedKeys=(0,Zt.BT)(Ye.defaultSelectedKeys,Ye))),Ye.checkable){var on;if(nt("checkedKeys")?on=(0,Zt.E6)(Ye.checkedKeys)||{}:!Fe&&Ye.defaultCheckedKeys?on=(0,Zt.E6)(Ye.defaultCheckedKeys)||{}:Xe&&(on=(0,Zt.E6)(Ye.checkedKeys)||{checkedKeys:Lt.checkedKeys,halfCheckedKeys:Lt.halfCheckedKeys}),on){var gn=on,_e=gn.checkedKeys,Bt=_e===void 0?[]:_e,Ot=gn.halfCheckedKeys,ht=Ot===void 0?[]:Ot;if(!Ye.checkStrictly){var Dt=(0,mn.S)(Bt,!0,hn);Bt=Dt.checkedKeys,ht=Dt.halfCheckedKeys}xe.checkedKeys=Bt,xe.halfCheckedKeys=ht}}return nt("loadedKeys")&&(xe.loadedKeys=Ye.loadedKeys),xe}}]),ve}(a.Component);Ut.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},Ut.TreeNode=Ee.Z;var Mt=Ut,ft=Mt},35654:function(Wt,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 tt},yx:function(){return Ue}});var x=te(95190),ue=te(93664),Be=te(48736),Me=te(59301),Le=te(39417),Oe=te(67841),se=te(71430),ct=null;function ot(re,ie){if(!re)return[];var ce=re.slice(),pe=ce.indexOf(ie);return pe>=0&&ce.splice(pe,1),ce}function Ve(re,ie){var ce=(re||[]).slice();return ce.indexOf(ie)===-1&&ce.push(ie),ce}function Ue(re){return re.split("-")}function tt(re,ie){var ce=[],pe=(0,Oe.Z)(ie,re);function Ee(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ge.forEach(function(De){var Qe=De.key,he=De.children;ce.push(Qe),Ee(he)})}return Ee(pe.children),ce}function $e(re){if(re.parent){var ie=Ue(re.pos);return Number(ie[ie.length-1])===re.parent.children.length-1}return!1}function le(re){var ie=Ue(re.pos);return Number(ie[ie.length-1])===0}function y(re,ie,ce,pe,Ee,Ge,De,Qe,he,Te){var et,Et=re.clientX,Ne=re.clientY,ut=re.target.getBoundingClientRect(),xt=ut.top,yt=ut.height,gt=(Te==="rtl"?-1:1)*(((Ee==null?void 0:Ee.x)||0)-Et),Yt=(gt-12)/pe,wt=(0,Oe.Z)(Qe,ce.props.eventKey);if(Ne<xt+yt/2){var nn=De.findIndex(function(ft){return ft.key===wt.key}),dn=nn<=0?0:nn-1,at=De[dn].key;wt=(0,Oe.Z)(Qe,at)}var qe=wt.key,qt=wt,Sn=wt.key,Zt=0,mn=0;if(!he.includes(qe))for(var Ke=0;Ke<Yt&&$e(wt);Ke+=1)wt=wt.parent,mn+=1;var It=ie.props.data,Ut=wt.node,Mt=!0;return le(wt)&&wt.level===0&&Ne<xt+yt/2&&Ge({dragNode:It,dropNode:Ut,dropPosition:-1})&&wt.key===ce.props.eventKey?Zt=-1:(qt.children||[]).length&&he.includes(Sn)?Ge({dragNode:It,dropNode:Ut,dropPosition:0})?Zt=0:Mt=!1:mn===0?Yt>-1.5?Ge({dragNode:It,dropNode:Ut,dropPosition:1})?Zt=1:Mt=!1:Ge({dragNode:It,dropNode:Ut,dropPosition:0})?Zt=0:Ge({dragNode:It,dropNode:Ut,dropPosition:1})?Zt=1:Mt=!1:Ge({dragNode:It,dropNode:Ut,dropPosition:1})?Zt=1:Mt=!1,{dropPosition:Zt,dropLevelOffset:mn,dropTargetKey:wt.key,dropTargetPos:wt.pos,dragOverNodeKey:Sn,dropContainerKey:Zt===0?null:((et=wt.parent)===null||et===void 0?void 0:et.key)||null,dropAllowed:Mt}}function a(re,ie){if(re){var ce=ie.multiple;return ce?re.slice():re.length?[re[0]]:re}}var b=function(ie){return ie};function E(re,ie){if(!re)return[];var ce=ie||{},pe=ce.processProps,Ee=pe===void 0?b:pe,Ge=Array.isArray(re)?re:[re];return Ge.map(function(De){var Qe=De.children,he=_objectWithoutProperties(De,ct),Te=E(Qe,ie);return React.createElement(TreeNode,_extends({key:he.key},Ee(he)),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 ce=new Set;function pe(Ee){if(!ce.has(Ee)){var Ge=(0,Oe.Z)(ie,Ee);if(Ge){ce.add(Ee);var De=Ge.parent,Qe=Ge.node;Qe.disabled||De&&pe(De.key)}}}return(re||[]).forEach(function(Ee){pe(Ee)}),(0,x.Z)(ce)}},90782:function(Wt,Gt,te){"use strict";te.d(Gt,{S:function(){return se}});var x=te(48736),ue=te(67841);function Be(ct,ot){var Ve=new Set;return ct.forEach(function(Ue){ot.has(Ue)||Ve.add(Ue)}),Ve}function Me(ct){var ot=ct||{},Ve=ot.disabled,Ue=ot.disableCheckbox,tt=ot.checkable;return!!(Ve||Ue)||tt===!1}function Le(ct,ot,Ve,Ue){for(var tt=new Set(ct),$e=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,ce=ie===void 0?[]:ie;tt.has(ne)&&!Ue(re)&&ce.filter(function(pe){return!Ue(pe.node)}).forEach(function(pe){tt.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(!(Ue(re)||!z.parent||a.has(z.parent.key))){if(Ue(z.parent.node)){a.add(ne.key);return}var ie=!0,ce=!1;(ne.children||[]).filter(function(pe){return!Ue(pe.node)}).forEach(function(pe){var Ee=pe.key,Ge=tt.has(Ee);ie&&!Ge&&(ie=!1),!ce&&(Ge||$e.has(Ee))&&(ce=!0)}),ie&&tt.add(ne.key),ce&&$e.add(ne.key),a.add(ne.key)}})}return{checkedKeys:Array.from(tt),halfCheckedKeys:Array.from(Be($e,tt))}}function Oe(ct,ot,Ve,Ue,tt){for(var $e=new Set(ct),le=new Set(ot),y=0;y<=Ue;y+=1){var a=Ve.get(y)||new Set;a.forEach(function(ne){var re=ne.key,ie=ne.node,ce=ne.children,pe=ce===void 0?[]:ce;!$e.has(re)&&!le.has(re)&&!tt(ie)&&pe.filter(function(Ee){return!tt(Ee.node)}).forEach(function(Ee){$e.delete(Ee.key)})})}le=new Set;for(var b=new Set,E=Ue;E>=0;E-=1){var z=Ve.get(E)||new Set;z.forEach(function(ne){var re=ne.parent,ie=ne.node;if(!(tt(ie)||!ne.parent||b.has(ne.parent.key))){if(tt(ne.parent.node)){b.add(re.key);return}var ce=!0,pe=!1;(re.children||[]).filter(function(Ee){return!tt(Ee.node)}).forEach(function(Ee){var Ge=Ee.key,De=$e.has(Ge);ce&&!De&&(ce=!1),!pe&&(De||le.has(Ge))&&(pe=!0)}),ce||$e.delete(re.key),pe&&le.add(re.key),b.add(re.key)}})}return{checkedKeys:Array.from($e),halfCheckedKeys:Array.from(Be(le,$e))}}function se(ct,ot,Ve,Ue){var tt=[],$e;Ue?$e=Ue:$e=Me;var le=new Set(ct.filter(function(E){var z=!!(0,ue.Z)(Ve,E);return z||tt.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)(!tt.length,"Tree missing follow keys: ".concat(tt.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return ot===!0?b=Le(le,y,a,$e):b=Oe(le,ot.halfCheckedKeys,y,a,$e),b}},67841:function(Wt,Gt,te){"use strict";te.d(Gt,{Z:function(){return x}});function x(ue,Be){return ue[Be]}},71430:function(Wt,Gt,te){"use strict";te.d(Gt,{F:function(){return ne},H8:function(){return z},I8:function(){return E},km:function(){return tt},oH:function(){return a},w$:function(){return $e},zn:function(){return y}});var x=te(93664),ue=te(95190),Be=te(20439),Me=te(62646),Le=te(11592),Oe=te(2738),se=te(48736),ct=te(67841),ot=["children"];function Ve(re,ie){return"".concat(re,"-").concat(ie)}function Ue(re){return re&&re.type&&re.type.isTreeNode}function tt(re,ie){return re!=null?re:ie}function $e(re){var ie=re||{},ce=ie.title,pe=ie._title,Ee=ie.key,Ge=ie.children,De=ce||"title";return{title:De,_title:pe||[De],key:Ee||"key",children:Ge||"children"}}function le(re,ie){var ce=new Map;function pe(Ee){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Ee||[]).forEach(function(De){var Qe=De[ie.key],he=De[ie.children];warning(Qe!=null,"Tree node must have a certain key: [".concat(Ge).concat(Qe,"]"));var Te=String(Qe);warning(!ce.has(Te)||Qe===null||Qe===void 0,"Same 'key' exist in the Tree: ".concat(Te)),ce.set(Te,!0),pe(he,"".concat(Ge).concat(Te," > "))})}pe(re)}function y(re){function ie(ce){var pe=(0,Le.Z)(ce);return pe.map(function(Ee){if(!Ue(Ee))return(0,se.ZP)(!Ee,"Tree/TreeNode can only accept TreeNode as children."),null;var Ge=Ee.key,De=Ee.props,Qe=De.children,he=(0,Me.Z)(De,ot),Te=(0,Be.Z)({key:Ge},he),et=ie(Qe);return et.length&&(Te.children=et),Te}).filter(function(Ee){return Ee})}return ie(re)}function a(re,ie,ce){var pe=$e(ce),Ee=pe._title,Ge=pe.key,De=pe.children,Qe=new Set(ie===!0?[]:ie),he=[];function Te(et){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return et.map(function(Ne,ut){for(var xt=Ve(Et?Et.pos:"0",ut),yt=tt(Ne[Ge],xt),gt,Yt=0;Yt<Ee.length;Yt+=1){var wt=Ee[Yt];if(Ne[wt]!==void 0){gt=Ne[wt];break}}var nn=(0,Be.Z)((0,Be.Z)({},(0,Oe.Z)(Ne,[].concat((0,ue.Z)(Ee),[Ge,De]))),{},{title:gt,key:yt,parent:Et,pos:xt,children:null,data:Ne,isStart:[].concat((0,ue.Z)(Et?Et.isStart:[]),[ut===0]),isEnd:[].concat((0,ue.Z)(Et?Et.isEnd:[]),[ut===et.length-1])});return he.push(nn),ie===!0||Qe.has(yt)?nn.children=Te(Ne[De]||[],nn):nn.children=[],nn})}return Te(re),he}function b(re,ie,ce){var pe={};(0,x.Z)(ce)==="object"?pe=ce:pe={externalGetKey:ce},pe=pe||{};var Ee=pe,Ge=Ee.childrenPropName,De=Ee.externalGetKey,Qe=Ee.fieldNames,he=$e(Qe),Te=he.key,et=he.children,Et=Ge||et,Ne;De?typeof De=="string"?Ne=function(yt){return yt[De]}:typeof De=="function"&&(Ne=function(yt){return De(yt)}):Ne=function(yt,gt){return tt(yt[Te],gt)};function ut(xt,yt,gt,Yt){var wt=xt?xt[Et]:re,nn=xt?Ve(gt.pos,yt):"0",dn=xt?[].concat((0,ue.Z)(Yt),[xt]):[];if(xt){var at=Ne(xt,nn),qe={node:xt,index:yt,pos:nn,key:at,parentPos:gt.node?gt.pos:null,level:gt.level+1,nodes:dn};ie(qe)}wt&&wt.forEach(function(qt,Sn){ut(qt,Sn,{node:xt,pos:nn,level:gt?gt.level+1:-1},dn)})}ut(null)}function E(re){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ce=ie.initWrapper,pe=ie.processEntity,Ee=ie.onProcessFinished,Ge=ie.externalGetKey,De=ie.childrenPropName,Qe=ie.fieldNames,he=arguments.length>2?arguments[2]:void 0,Te=Ge||he,et={},Et={},Ne={posEntities:et,keyEntities:Et};return ce&&(Ne=ce(Ne)||Ne),b(re,function(ut){var xt=ut.node,yt=ut.index,gt=ut.pos,Yt=ut.key,wt=ut.parentPos,nn=ut.level,dn=ut.nodes,at={node:xt,nodes:dn,index:yt,key:Yt,pos:gt,level:nn},qe=tt(Yt,gt);et[gt]=at,Et[qe]=at,at.parent=et[wt],at.parent&&(at.parent.children=at.parent.children||[],at.parent.children.push(at)),pe&&pe(at,Ne)},{externalGetKey:Te,childrenPropName:De,fieldNames:Qe}),Ee&&Ee(Ne),Ne}function z(re,ie){var ce=ie.expandedKeys,pe=ie.selectedKeys,Ee=ie.loadedKeys,Ge=ie.loadingKeys,De=ie.checkedKeys,Qe=ie.halfCheckedKeys,he=ie.dragOverNodeKey,Te=ie.dropPosition,et=ie.keyEntities,Et=(0,ct.Z)(et,re),Ne={eventKey:re,expanded:ce.indexOf(re)!==-1,selected:pe.indexOf(re)!==-1,loaded:Ee.indexOf(re)!==-1,loading:Ge.indexOf(re)!==-1,checked:De.indexOf(re)!==-1,halfChecked:Qe.indexOf(re)!==-1,pos:String(Et?Et.pos:""),dragOver:he===re&&Te===0,dragOverGapTop:he===re&&Te===-1,dragOverGapBottom:he===re&&Te===1};return Ne}function ne(re){var ie=re.data,ce=re.expanded,pe=re.selected,Ee=re.checked,Ge=re.loaded,De=re.loading,Qe=re.halfChecked,he=re.dragOver,Te=re.dragOverGapTop,et=re.dragOverGapBottom,Et=re.pos,Ne=re.active,ut=re.eventKey,xt=(0,Be.Z)((0,Be.Z)({},ie),{},{expanded:ce,selected:pe,checked:Ee,loaded:Ge,loading:De,halfChecked:Qe,dragOver:he,dragOverGapTop:Te,dragOverGapBottom:et,pos:Et,active:Ne,key:ut});return"props"in xt||Object.defineProperty(xt,"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}}),xt}},8224:function(Wt,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(Wt,Gt,te){"use strict";te.d(Gt,{g1:function(){return Ue},os:function(){return $e}});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 ct(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 Ue(){var le=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:le,height:y}}function tt(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function $e(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(Wt,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],ct=window.document.documentElement;return se.some(function(ot){return ot in ct.style})}return!1},Be=function(Oe,se){if(!ue(Oe))return!1;var ct=document.createElement("div"),ot=ct.style[Oe];return ct.style[Oe]=se,ct.style[Oe]!==ot};function Me(Le,Oe){return!Array.isArray(Le)&&Oe!==void 0?Be(Le,Oe):ue(Le)}},57985:function(Wt,Gt,te){"use strict";te.d(Gt,{Z5:function(){return Yu},_l:function(){return jd},bK:function(){return Au}});var x=te(59301),ue=te(2386);function Be(ee,ae){ee.prototype=Object.create(ae.prototype),ee.prototype.constructor=ee,(0,ue.Z)(ee,ae)}var Me=te(14809),Le=te(59781),Oe=x.createContext(null),se=null;function ct(ee){ee()}var ot=ct,Ve=function(ae){return ot=ae},Ue=function(){return ot};function tt(){var ee=Ue(),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=[],ye=ae;ye;)Pe.push(ye),ye=ye.next;return Pe},subscribe:function(Pe){var ye=!0,we=oe={callback:Pe,next:null,prev:oe};return we.prev?we.prev.next=we:ae=we,function(){!ye||ae===null||(ye=!1,we.next?we.next.prev=we.prev:oe=we.prev,we.prev?we.prev.next=we.next:ae=we.next)}}}}var $e={notify:function(){},get:function(){return[]}};function le(ee,ae){var oe,de=$e;function Pe(Pt){return mt(),de.subscribe(Pt)}function ye(){de.notify()}function we(){Rt.onStateChange&&Rt.onStateChange()}function Re(){return!!oe}function mt(){oe||(oe=ae?ae.addNestedSub(we):ee.subscribe(we),de=tt())}function Tt(){oe&&(oe(),oe=void 0,de.clear(),de=$e)}var Rt={addNestedSub:Pe,notifyNestedSubs:ye,handleChangeWrapper:we,isSubscribed:Re,trySubscribe:mt,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]),ye=(0,x.useMemo)(function(){return ae.getState()},[ae]);y(function(){var Re=Pe.subscription;return Re.onStateChange=Re.notifyNestedSubs,Re.trySubscribe(),ye!==ae.getState()&&Re.notifyNestedSubs(),function(){Re.tryUnsubscribe(),Re.onStateChange=null}},[Pe,ye]);var we=oe||Oe;return x.createElement(we.Provider,{value:Pe},de)}var b=a,E=te(74126),z=te(94266),ne=te.n(z),re=te(53410),ie=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ce=["reactReduxForwardedRef"],pe=[],Ee=[null,null],Ge=function(ae){try{return JSON.stringify(ae)}catch(oe){return String(ae)}};function De(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 he(ee,ae,oe,de,Pe,ye,we){ee.current=de,ae.current=Pe,oe.current=!1,ye.current&&(ye.current=null,we())}function Te(ee,ae,oe,de,Pe,ye,we,Re,mt,Tt){if(ee){var Rt=!1,Pt=null,bt=function(){if(!Rt){var xa=ae.getState(),Ia,Ra;try{Ia=de(xa,Pe.current)}catch(Ya){Ra=Ya,Pt=Ya}Ra||(Pt=null),Ia===ye.current?we.current||mt():(ye.current=Ia,Re.current=Ia,we.current=!0,Tt({type:"STORE_UPDATED",payload:{error:Ra}}))}};oe.onStateChange=bt,oe.trySubscribe(),bt();var Vt=function(){if(Rt=!0,oe.tryUnsubscribe(),oe.onStateChange=null,Pt)throw Pt};return Vt}}var et=function(){return[null,0]};function Et(ee,ae){ae===void 0&&(ae={});var oe=ae,de=oe.getDisplayName,Pe=de===void 0?function(Mr){return"ConnectAdvanced("+Mr+")"}:de,ye=oe.methodName,we=ye===void 0?"connectAdvanced":ye,Re=oe.renderCountProp,mt=Re===void 0?void 0:Re,Tt=oe.shouldHandleStateChanges,Rt=Tt===void 0?!0:Tt,Pt=oe.storeKey,bt=Pt===void 0?"store":Pt,Vt=oe.withRef,wn=Vt===void 0?!1:Vt,xa=oe.forwardRef,Ia=xa===void 0?!1:xa,Ra=oe.context,Ya=Ra===void 0?Oe:Ra,ir=(0,E.Z)(oe,ie);if(0)var dr;var jr=Ya;return function(to){var _o=to.displayName||to.name||"Component",so=Pe(_o),jo=(0,Me.Z)({},ir,{getDisplayName:Pe,methodName:we,renderCountProp:mt,shouldHandleStateChanges:Rt,storeKey:bt,displayName:so,wrappedComponentName:_o,WrappedComponent:to}),ai=ir.pure;function li(si){return ee(si.dispatch,jo)}var Hi=ai?x.useMemo:function(si){return si()};function Di(si){var el=(0,x.useMemo)(function(){var Fs=si.reactReduxForwardedRef,du=(0,E.Z)(si,ce);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:jr},[Ki,jr]),Wi=(0,x.useContext)(tl),Pl=!!si.store&&!!si.store.getState&&!!si.store.dispatch,js=!!Wi&&!!Wi.store,Ui=Pl?si.store:Wi.store,Bs=(0,x.useMemo)(function(){return li(Ui)},[Ui]),Hs=(0,x.useMemo)(function(){if(!Rt)return Ee;var Fs=le(Ui,Pl?null:Wi.subscription),du=Fs.notifyNestedSubs.bind(Fs);return[Fs,du]},[Ui,Pl,Wi]),Ql=Hs[0],Gs=Hs[1],Ks=(0,x.useMemo)(function(){return Pl?Wi:(0,Me.Z)({},Wi,{subscription:Ql})},[Pl,Wi,Ql]),Du=(0,x.useReducer)(De,pe,et),Vd=Du[0],Ws=Vd[0],Qd=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=Hi(function(){return Us.current&&Sl===lu.current?Us.current:Bs(Ui.getState(),Sl)},[Ui,Ws,Sl]);Qe(he,[lu,Nu,Iu,Sl,su,Us,Gs]),Qe(Te,[Rt,Ui,Ql,Bs,lu,Nu,Iu,Us,Gs,Qd],[Ui,Ql,Bs]);var uu=(0,x.useMemo)(function(){return x.createElement(to,(0,Me.Z)({},su,{ref:xs}))},[xs,to,su]),Jd=(0,x.useMemo)(function(){return Rt?x.createElement(tl.Provider,{value:Ks},uu):uu},[tl,uu,Ks]);return Jd}var Ei=ai?x.memo(Di):Di;if(Ei.WrappedComponent=to,Ei.displayName=Di.displayName=so,Ia){var Gi=x.forwardRef(function(el,Ki){return x.createElement(Ei,(0,Me.Z)({},el,{reactReduxForwardedRef:Ki}))});return Gi.displayName=so,Gi.WrappedComponent=to,ne()(Gi,to)}return ne()(Ei,to)}}function Ne(ee,ae){return ee===ae?ee!==0||ae!==0||1/ee===1/ae:ee!==ee&&ae!==ae}function ut(ee,ae){if(Ne(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])||!Ne(ee[oe[Pe]],ae[oe[Pe]]))return!1;return!0}function xt(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 ye(){return Pe}return ye.dependsOnOwnProps=!1,ye}}function gt(ee){return ee.dependsOnOwnProps!==null&&ee.dependsOnOwnProps!==void 0?!!ee.dependsOnOwnProps:ee.length!==1}function Yt(ee,ae){return function(de,Pe){var ye=Pe.displayName,we=function(mt,Tt){return we.dependsOnOwnProps?we.mapToProps(mt,Tt):we.mapToProps(mt)};return we.dependsOnOwnProps=!0,we.mapToProps=function(mt,Tt){we.mapToProps=ee,we.dependsOnOwnProps=gt(ee);var Rt=we(mt,Tt);return typeof Rt=="function"&&(we.mapToProps=Rt,we.dependsOnOwnProps=gt(Rt),Rt=we(mt,Tt)),Rt},we}}function wt(ee){return typeof ee=="function"?Yt(ee,"mapDispatchToProps"):void 0}function nn(ee){return ee?void 0:yt(function(ae){return{dispatch:ae}})}function dn(ee){return ee&&typeof ee=="object"?yt(function(ae){return xt(ee,ae)}):void 0}var at=[wt,nn,dn];function qe(ee){return typeof ee=="function"?Yt(ee,"mapStateToProps"):void 0}function qt(ee){return ee?void 0:yt(function(){return{}})}var Sn=[qe,qt];function Zt(ee,ae,oe){return(0,Me.Z)({},oe,ee,ae)}function mn(ee){return function(oe,de){var Pe=de.displayName,ye=de.pure,we=de.areMergedPropsEqual,Re=!1,mt;return function(Rt,Pt,bt){var Vt=ee(Rt,Pt,bt);return Re?(!ye||!we(Vt,mt))&&(mt=Vt):(Re=!0,mt=Vt),mt}}}function Ke(ee){return typeof ee=="function"?mn(ee):void 0}function It(ee){return ee?void 0:function(){return Zt}}var Ut=[Ke,It],Mt=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function ft(ee,ae,oe,de){return function(ye,we){return oe(ee(ye,we),ae(de,we),we)}}function rt(ee,ae,oe,de,Pe){var ye=Pe.areStatesEqual,we=Pe.areOwnPropsEqual,Re=Pe.areStatePropsEqual,mt=!1,Tt,Rt,Pt,bt,Vt;function wn(ir,dr){return Tt=ir,Rt=dr,Pt=ee(Tt,Rt),bt=ae(de,Rt),Vt=oe(Pt,bt,Rt),mt=!0,Vt}function xa(){return Pt=ee(Tt,Rt),ae.dependsOnOwnProps&&(bt=ae(de,Rt)),Vt=oe(Pt,bt,Rt),Vt}function Ia(){return ee.dependsOnOwnProps&&(Pt=ee(Tt,Rt)),ae.dependsOnOwnProps&&(bt=ae(de,Rt)),Vt=oe(Pt,bt,Rt),Vt}function Ra(){var ir=ee(Tt,Rt),dr=!Re(ir,Pt);return Pt=ir,dr&&(Vt=oe(Pt,bt,Rt)),Vt}function Ya(ir,dr){var jr=!we(dr,Rt),Mr=!ye(ir,Tt,dr,Rt);return Tt=ir,Rt=dr,jr&&Mr?xa():jr?Ia():Mr?Ra():Vt}return function(dr,jr){return mt?Ya(dr,jr):wn(dr,jr)}}function ze(ee,ae){var oe=ae.initMapStateToProps,de=ae.initMapDispatchToProps,Pe=ae.initMergeProps,ye=(0,E.Z)(ae,Mt),we=oe(ee,ye),Re=de(ee,ye),mt=Pe(ee,ye),Tt=ye.pure?rt:ft;return Tt(we,Re,mt,ee,ye)}var ve=["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(ye,we){throw new Error("Invalid value of type "+typeof ee+" for "+oe+" argument when connecting component "+we.wrappedComponentName+".")}}function Ye(ee,ae){return ee===ae}function Lt(ee){var ae=ee===void 0?{}:ee,oe=ae.connectHOC,de=oe===void 0?Et:oe,Pe=ae.mapStateToPropsFactories,ye=Pe===void 0?Sn:Pe,we=ae.mapDispatchToPropsFactories,Re=we===void 0?at:we,mt=ae.mergePropsFactories,Tt=mt===void 0?Ut:mt,Rt=ae.selectorFactory,Pt=Rt===void 0?ze:Rt;return function(Vt,wn,xa,Ia){Ia===void 0&&(Ia={});var Ra=Ia,Ya=Ra.pure,ir=Ya===void 0?!0:Ya,dr=Ra.areStatesEqual,jr=dr===void 0?Ye:dr,Mr=Ra.areOwnPropsEqual,to=Mr===void 0?ut:Mr,_o=Ra.areStatePropsEqual,so=_o===void 0?ut:_o,jo=Ra.areMergedPropsEqual,ai=jo===void 0?ut:jo,li=(0,E.Z)(Ra,ve),Hi=fe(Vt,ye,"mapStateToProps"),Di=fe(wn,Re,"mapDispatchToProps"),Ei=fe(xa,Tt,"mergeProps");return de(Pt,(0,Me.Z)({methodName:"connect",getDisplayName:function(si){return"Connect("+si+")"},shouldHandleStateChanges:!!Vt,initMapStateToProps:Hi,initMapDispatchToProps:Di,initMergeProps:Ei,pure:ir,areStatesEqual:jr,areOwnPropsEqual:to,areStatePropsEqual:so,areMergedPropsEqual:ai},li))}}var Fe=Lt();function xe(){var ee=useContext(ReactReduxContext);return ee}function nt(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 Xe=null;function Ae(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var de=ae();return de.dispatch}}var pt=null,hn=function(ae,oe){return ae===oe};function $t(ee,ae,oe,de){var Pe=useReducer(function(wn){return wn+1},0),ye=Pe[1],we=useMemo(function(){return createSubscription(oe,de)},[oe,de]),Re=useRef(),mt=useRef(),Tt=useRef(),Rt=useRef(),Pt=oe.getState(),bt;try{if(ee!==mt.current||Pt!==Tt.current||Re.current){var Vt=ee(Pt);Rt.current===void 0||!ae(Vt,Rt.current)?bt=Vt:bt=Rt.current}else bt=Rt.current}catch(wn){throw Re.current&&(wn.message+=`
|
|
The error may be correlated with this previous error:
|
|
`+Re.current.stack+`
|
|
|
|
`),wn}return useIsomorphicLayoutEffect(function(){mt.current=ee,Tt.current=Pt,Rt.current=bt,Re.current=void 0}),useIsomorphicLayoutEffect(function(){function wn(){try{var xa=oe.getState();if(xa===Tt.current)return;var Ia=mt.current(xa);if(ae(Ia,Rt.current))return;Rt.current=Ia,Tt.current=xa}catch(Ra){Re.current=Ra}ye()}return we.onStateChange=wn,we.trySubscribe(),wn(),function(){return we.tryUnsubscribe()}},[oe,we]),bt}function Ht(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(de,Pe){Pe===void 0&&(Pe=hn);var ye=ae(),we=ye.store,Re=ye.subscription,mt=$t(de,Pe,we,Re);return useDebugValue(mt),mt}}var on=null,gn=te(4676);Ve(gn.unstable_batchedUpdates);function _e(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 Bt(ee,ae){var oe=(0,x.useState)(function(){return{inputs:ae,result:ee()}})[0],de=(0,x.useRef)(!0),Pe=(0,x.useRef)(oe),ye=de.current||!!(ae&&Pe.current.inputs&&_e(ae,Pe.current.inputs)),we=ye?Pe.current:{inputs:ae,result:ee()};return(0,x.useEffect)(function(){de.current=!1,Pe.current=we},[we]),we.result}function Ot(ee,ae){return Bt(function(){return ee},ae)}var ht=Bt,Dt=Ot,vn=!0,yn="Invariant failed";function Pn(ee,ae){if(!ee){if(vn)throw new Error(yn);var oe=typeof ae=="function"?ae():ae,de=oe?"".concat(yn,": ").concat(oe):yn;throw new Error(de)}}var Rn=function(ae){var oe=ae.top,de=ae.right,Pe=ae.bottom,ye=ae.left,we=de-ye,Re=Pe-oe,mt={top:oe,right:de,bottom:Pe,left:ye,width:we,height:Re,x:ye,y:oe,center:{x:(de+ye)/2,y:(Pe+oe)/2}};return mt},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}},aa=function(ae,oe){return{top:ae.top+oe.top,left:ae.left+oe.left,bottom:ae.bottom-oe.bottom,right:ae.right-oe.right}},_n=function(ae,oe){return{top:ae.top+oe.y,left:ae.left+oe.x,bottom:ae.bottom+oe.y,right:ae.right+oe.x}},Pa={top:0,right:0,bottom:0,left:0},Ea=function(ae){var oe=ae.borderBox,de=ae.margin,Pe=de===void 0?Pa:de,ye=ae.border,we=ye===void 0?Pa:ye,Re=ae.padding,mt=Re===void 0?Pa:Re,Tt=Rn(ta(oe,Pe)),Rt=Rn(aa(oe,we)),Pt=Rn(aa(Rt,mt));return{marginBox:Tt,borderBox:Rn(oe),paddingBox:Rt,contentBox:Pt,margin:Pe,border:we,padding:mt}},Zn=function(ae){var oe=ae.slice(0,-2),de=ae.slice(-2);if(de!=="px")return 0;var Pe=Number(oe);return isNaN(Pe)&&Pn(!1),Pe},wa=function(){return{x:window.pageXOffset,y:window.pageYOffset}},en=function(ae,oe){var de=ae.borderBox,Pe=ae.border,ye=ae.margin,we=ae.padding,Re=_n(de,oe);return Ea({borderBox:Re,border:Pe,margin:ye,padding:we})},bn=function(ae,oe){return oe===void 0&&(oe=wa()),en(ae,oe)},Mn=function(ae,oe){var de={top:Zn(oe.marginTop),right:Zn(oe.marginRight),bottom:Zn(oe.marginBottom),left:Zn(oe.marginLeft)},Pe={top:Zn(oe.paddingTop),right:Zn(oe.paddingRight),bottom:Zn(oe.paddingBottom),left:Zn(oe.paddingLeft)},ye={top:Zn(oe.borderTopWidth),right:Zn(oe.borderRightWidth),bottom:Zn(oe.borderBottomWidth),left:Zn(oe.borderLeftWidth)};return Ea({borderBox:ae,margin:de,padding:Pe,border:ye})},Qn=function(ae){var oe=ae.getBoundingClientRect(),de=window.getComputedStyle(ae);return Mn(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 kt(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=kt);var oe,de=[],Pe,ye=!1;function we(){for(var Re=[],mt=0;mt<arguments.length;mt++)Re[mt]=arguments[mt];return ye&&oe===this&&ae(Re,de)||(Pe=ee.apply(this,Re),ye=!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),mt=0;mt<we;mt++)Re[mt]=arguments[mt];oe=Re,!de&&(de=requestAnimationFrame(function(){de=null,ae.apply(void 0,oe)}))};return Pe.cancel=function(){de&&(cancelAnimationFrame(de),de=null)},Pe},fn=jt,st=!0,St=/[ \t]{2,}/g,dt=/^[ \t]*/gm,ln=function(ae){return ae.replace(St," ").replace(dt,"").trim()},Nn=function(ae){return ln(`
|
|
%creact-beautiful-dnd
|
|
|
|
%c`+ln(ae)+`
|
|
|
|
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
|
|
`)},Cn=function(ae){return[Nn(ae),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},la="__react-beautiful-dnd-disable-dev-warnings";function jn(ee,ae){var oe;st||typeof window!="undefined"&&window[la]||(oe=console)[ee].apply(oe,Cn(ae))}var lt=jn.bind(null,"warn"),Jt=jn.bind(null,"error");function Jn(){}function sn(ee,ae){return(0,Me.Z)({},ee,{},ae)}function zn(ee,ae,oe){var de=ae.map(function(Pe){var ye=sn(oe,Pe.options);return ee.addEventListener(Pe.eventName,Pe.fn,ye),function(){ee.removeEventListener(Pe.eventName,Pe.fn,ye)}});return function(){de.forEach(function(ye){ye()})}}var na=!0,La="Invariant failed";function sa(ee){this.message=ee}sa.prototype.toString=function(){return this.message};function He(ee,ae){if(!ee)throw na?new sa(La):new sa(La+": "+(ae||""))}var rn=function(ee){Be(ae,ee);function ae(){for(var de,Pe=arguments.length,ye=new Array(Pe),we=0;we<Pe;we++)ye[we]=arguments[we];return de=ee.call.apply(ee,[this].concat(ye))||this,de.callbacks=null,de.unbind=Jn,de.onWindowError=function(Re){var mt=de.getCallbacks();mt.isDragging()&&mt.tryAbort();var Tt=Re.error;Tt instanceof sa&&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=zn(window,[{eventName:"error",fn:this.onWindowError}])},oe.componentWillUnmount=function(){this.unbind()},oe.componentDidCatch=function(Pe){if(Pe instanceof sa){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
|
|
`,En=function(ae){return ae+1},In=function(ae){return`
|
|
You have lifted an item in position `+En(ae.source.index)+`
|
|
`},kn=function(ae,oe){var de=ae.droppableId===oe.droppableId,Pe=En(ae.index),ye=En(oe.index);return de?`
|
|
You have moved the item from position `+Pe+`
|
|
to position `+ye+`
|
|
`:`
|
|
You have moved the item from position `+Pe+`
|
|
in list `+ae.droppableId+`
|
|
to list `+oe.droppableId+`
|
|
in position `+ye+`
|
|
`},An=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+`
|
|
`},Dn=function(ae){var oe=ae.destination;if(oe)return kn(ae.source,oe);var de=ae.combine;return de?An(ae.draggableId,ae.source,de):"You are over an area that cannot be dropped on"},Fa=function(ae){return`
|
|
The item has returned to its starting position
|
|
of `+En(ae.index)+`
|
|
`},Oa=function(ae){if(ae.reason==="CANCEL")return`
|
|
Movement cancelled.
|
|
`+Fa(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.
|
|
`+An(ae.draggableId,ae.source,de)+`
|
|
`:`
|
|
The item has been dropped while not over a drop area.
|
|
`+Fa(ae.source)+`
|
|
`},pn={dragHandleUsageInstructions:Qt,onDragStart:In,onDragUpdate:Dn,onDragEnd:Oa},Na={x:0,y:0},Yn=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}},$a=function(ae,oe){return ae.x===oe.x&&ae.y===oe.y},Wn=function(ae){return{x:ae.x!==0?-ae.x:0,y:ae.y!==0?-ae.y:0}},ua=function(ae,oe,de){var Pe;return de===void 0&&(de=0),Pe={},Pe[ae]=oe,Pe[ae==="x"?"y":"x"]=de,Pe},fa=function(ae,oe){return Math.sqrt(Math.pow(oe.x-ae.x,2)+Math.pow(oe.y-ae.y,2))},ra=function(ae,oe){return Math.min.apply(Math,oe.map(function(de){return fa(ae,de)}))},Ua=function(ae){return function(oe){return{x:ae(oe.x),y:ae(oe.y)}}},rr=function(ee,ae){var oe=Rn({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}},_a=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}]},lr={top:0,right:0,bottom:0,left:0},Vr=function(ae,oe){return oe?Ga(ae,oe.scroll.diff.displacement):ae},Ir=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},uo=function(ae,oe){return oe&&oe.shouldClipSubject?rr(oe.pageMarginBox,ae):Rn(ae)},yr=function(ee){var ae=ee.page,oe=ee.withPlaceholder,de=ee.axis,Pe=ee.frame,ye=Vr(ae.marginBox,Pe),we=Ir(ye,de,oe),Re=uo(we,Pe);return{page:ae,withPlaceholder:oe,active:Re}},Sr=function(ee,ae){ee.frame||He(!1);var oe=ee.frame,de=qa(ae,oe.scroll.initial),Pe=Wn(de),ye=(0,Me.Z)({},oe,{scroll:{initial:oe.scroll.initial,current:ae,diff:{value:de,displacement:Pe},max:oe.scroll.max}}),we=yr({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:ye}),Re=(0,Me.Z)({},ee,{frame:ye,subject:we});return Re};function Ar(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function br(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(ae){return ee[ae]})}function Br(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 Ta(ee,ae){if(ee.find)return ee.find(ae);var oe=Br(ee,ae);if(oe!==-1)return ee[oe]}function or(ee){return Array.prototype.slice.call(ee)}var Lr=tn(function(ee){return ee.reduce(function(ae,oe){return ae[oe.descriptor.id]=oe,ae},{})}),Or=tn(function(ee){return ee.reduce(function(ae,oe){return ae[oe.descriptor.id]=oe,ae},{})}),Cr=tn(function(ee){return br(ee)}),Qr=tn(function(ee){return br(ee)}),Hr=tn(function(ee,ae){var oe=Qr(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 pr=tn(function(ee,ae){return ae.filter(function(oe){return oe.descriptor.id!==ee.descriptor.id})}),Jr=function(ee){var ae=ee.isMovingForward,oe=ee.draggable,de=ee.destination,Pe=ee.insideDestination,ye=ee.previousImpact;if(!de.isCombineEnabled)return null;var we=Xa(ye);if(!we)return null;function Re(xa){var Ia={type:"COMBINE",combine:{draggableId:xa,droppableId:de.descriptor.id}};return(0,Me.Z)({},ye,{at:Ia})}var mt=ye.displaced.all,Tt=mt.length?mt[0]:null;if(ae)return Tt?Re(Tt):null;var Rt=pr(oe,Pe);if(!Tt){if(!Rt.length)return null;var Pt=Rt[Rt.length-1];return Re(Pt.descriptor.id)}var bt=Br(Rt,function(xa){return xa.descriptor.id===Tt});bt===-1&&He(!1);var Vt=bt-1;if(Vt<0)return null;var wn=Rt[Vt];return Re(wn.descriptor.id)},no=function(ee,ae){return ee.descriptor.droppableId===ae.descriptor.id},Bo={point:Na,value:0},To={invisible:{},visible:{},all:[]},ko={displaced:To,displacedBy:Bo,at:null},Dr=function(ee,ae){return function(oe){return ee<=oe&&oe<=ae}},Yr=function(ee){var ae=Dr(ee.top,ee.bottom),oe=Dr(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 ye=ae(de.top)||ae(de.bottom),we=oe(de.left)||oe(de.right),Re=ye&&we;if(Re)return!0;var mt=de.top<ee.top&&de.bottom>ee.bottom,Tt=de.left<ee.left&&de.right>ee.right,Rt=mt&&Tt;if(Rt)return!0;var Pt=mt&&we||Tt&&ye;return Pt}},Po=function(ee){var ae=Dr(ee.top,ee.bottom),oe=Dr(ee.left,ee.right);return function(de){var Pe=ae(de.top)&&ae(de.bottom)&&oe(de.left)&&oe(de.right);return Pe}},Qo={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Ho={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ei=function(ee){return function(ae){var oe=Dr(ae.top,ae.bottom),de=Dr(ae.left,ae.right);return function(Pe){return ee===Qo?oe(Pe.top)&&oe(Pe.bottom):de(Pe.left)&&de(Pe.right)}}},Qa=function(ae,oe){var de=oe.frame?oe.frame.scroll.diff.displacement:Na;return Ga(ae,de)},pa=function(ae,oe,de){return oe.subject.active?de(oe.subject.active)(ae):!1},Tn=function(ae,oe,de){return de(oe)(ae)},Ba=function(ae){var oe=ae.target,de=ae.destination,Pe=ae.viewport,ye=ae.withDroppableDisplacement,we=ae.isVisibleThroughFrameFn,Re=ye?Qa(oe,de):oe;return pa(Re,de,we)&&Tn(Re,Pe,we)},gr=function(ae){return Ba((0,Me.Z)({},ae,{isVisibleThroughFrameFn:Yr}))},Ce=function(ae){return Ba((0,Me.Z)({},ae,{isVisibleThroughFrameFn:Po}))},un=function(ae){return Ba((0,Me.Z)({},ae,{isVisibleThroughFrameFn:ei(ae.destination.axis)}))},xn=function(ae,oe,de){if(typeof de=="boolean")return de;if(!oe)return!0;var Pe=oe.invisible,ye=oe.visible;if(Pe[ae])return!1;var we=ye[ae];return we?we.shouldAnimate:!0};function Kn(ee,ae){var oe=ee.page.marginBox,de={top:ae.point.y,right:0,bottom:0,left:ae.point.x};return Rn(ta(oe,de))}function an(ee){var ae=ee.afterDragging,oe=ee.destination,de=ee.displacedBy,Pe=ee.viewport,ye=ee.forceShouldAnimate,we=ee.last;return ae.reduce(function(mt,Tt){var Rt=Kn(Tt,de),Pt=Tt.descriptor.id;mt.all.push(Pt);var bt=gr({target:Rt,destination:oe,viewport:Pe,withDroppableDisplacement:!0});if(!bt)return mt.invisible[Tt.descriptor.id]=!0,mt;var Vt=xn(Pt,we,ye),wn={draggableId:Pt,shouldAnimate:Vt};return mt.visible[Pt]=wn,mt},{all:[],visible:{},invisible:{}})}function oa(ee,ae){if(!ee.length)return 0;var oe=ee[ee.length-1].descriptor.index;return ae.inHomeList?oe:oe+1}function ea(ee){var ae=ee.insideDestination,oe=ee.inHomeList,de=ee.displacedBy,Pe=ee.destination,ye=oa(ae,{inHomeList:oe});return{displaced:To,displacedBy:de,at:{type:"REORDER",destination:{droppableId:Pe.descriptor.id,index:ye}}}}function Bn(ee){var ae=ee.draggable,oe=ee.insideDestination,de=ee.destination,Pe=ee.viewport,ye=ee.displacedBy,we=ee.last,Re=ee.index,mt=ee.forceShouldAnimate,Tt=no(ae,de);if(Re==null)return ea({insideDestination:oe,inHomeList:Tt,displacedBy:ye,destination:de});var Rt=Ta(oe,function(xa){return xa.descriptor.index===Re});if(!Rt)return ea({insideDestination:oe,inHomeList:Tt,displacedBy:ye,destination:de});var Pt=pr(ae,oe),bt=oe.indexOf(Rt),Vt=Pt.slice(bt),wn=an({afterDragging:Vt,destination:de,displacedBy:ye,last:we,viewport:Pe.frame,forceShouldAnimate:mt});return{displaced:wn,displacedBy:ye,at:{type:"REORDER",destination:{droppableId:de.descriptor.id,index:Re}}}}function On(ee,ae){return!!ae.effected[ee]}var Aa=function(ee){var ae=ee.isMovingForward,oe=ee.destination,de=ee.draggables,Pe=ee.combine,ye=ee.afterCritical;if(!oe.isCombineEnabled)return null;var we=Pe.draggableId,Re=de[we],mt=Re.descriptor.index,Tt=On(we,ye);return Tt?ae?mt:mt-1:ae?mt+1:mt},Xn=function(ee){var ae=ee.isMovingForward,oe=ee.isInHomeList,de=ee.insideDestination,Pe=ee.location;if(!de.length)return null;var ye=Pe.index,we=ae?ye+1:ye-1,Re=de[0].descriptor.index,mt=de[de.length-1].descriptor.index,Tt=oe?mt:mt+1;return we<Re||we>Tt?null:we},ga=function(ee){var ae=ee.isMovingForward,oe=ee.isInHomeList,de=ee.draggable,Pe=ee.draggables,ye=ee.destination,we=ee.insideDestination,Re=ee.previousImpact,mt=ee.viewport,Tt=ee.afterCritical,Rt=Re.at;if(Rt||He(!1),Rt.type==="REORDER"){var Pt=Xn({isMovingForward:ae,isInHomeList:oe,location:Rt.destination,insideDestination:we});return Pt==null?null:Bn({draggable:de,insideDestination:we,destination:ye,viewport:mt,last:Re.displaced,displacedBy:Re.displacedBy,index:Pt})}var bt=Aa({isMovingForward:ae,destination:ye,displaced:Re.displaced,draggables:Pe,combine:Rt.combine,afterCritical:Tt});return bt==null?null:Bn({draggable:de,insideDestination:we,destination:ye,viewport:mt,last:Re.displaced,displacedBy:Re.displacedBy,index:bt})},va=function(ee){var ae=ee.displaced,oe=ee.afterCritical,de=ee.combineWith,Pe=ee.displacedBy,ye=!!(ae.visible[de]||ae.invisible[de]);return On(de,oe)?ye?Na:Wn(Pe.point):ye?Pe.point:Na},Va=function(ee){var ae=ee.afterCritical,oe=ee.impact,de=ee.draggables,Pe=wr(oe);Pe||He(!1);var ye=Pe.draggableId,we=de[ye].page.borderBox.center,Re=va({displaced:oe.displaced,afterCritical:ae,combineWith:ye,displacedBy:oe.displacedBy});return Yn(we,Re)},vr=function(ae,oe){return oe.margin[ae.start]+oe.borderBox[ae.size]/2},zr=function(ae,oe){return oe.margin[ae.end]+oe.borderBox[ae.size]/2},kr=function(ae,oe,de){return oe[ae.crossAxisStart]+de.margin[ae.crossAxisStart]+de.borderBox[ae.crossAxisSize]/2},mo=function(ae){var oe=ae.axis,de=ae.moveRelativeTo,Pe=ae.isMoving;return ua(oe.line,de.marginBox[oe.end]+vr(oe,Pe),kr(oe,de.marginBox,Pe))},vo=function(ae){var oe=ae.axis,de=ae.moveRelativeTo,Pe=ae.isMoving;return ua(oe.line,de.marginBox[oe.start]-zr(oe,Pe),kr(oe,de.marginBox,Pe))},xo=function(ae){var oe=ae.axis,de=ae.moveInto,Pe=ae.isMoving;return ua(oe.line,de.contentBox[oe.start]+vr(oe,Pe),kr(oe,de.contentBox,Pe))},pi=function(ee){var ae=ee.impact,oe=ee.draggable,de=ee.draggables,Pe=ee.droppable,ye=ee.afterCritical,we=Hr(Pe.descriptor.id,de),Re=oe.page,mt=Pe.axis;if(!we.length)return xo({axis:mt,moveInto:Pe.page,isMoving:Re});var Tt=ae.displaced,Rt=ae.displacedBy,Pt=Tt.all[0];if(Pt){var bt=de[Pt];if(On(Pt,ye))return vo({axis:mt,moveRelativeTo:bt.page,isMoving:Re});var Vt=en(bt.page,Rt.point);return vo({axis:mt,moveRelativeTo:Vt,isMoving:Re})}var wn=we[we.length-1];if(wn.descriptor.id===oe.descriptor.id)return Re.borderBox.center;if(On(wn.descriptor.id,ye)){var xa=en(wn.page,Wn(ye.displacedBy.point));return mo({axis:mt,moveRelativeTo:xa,isMoving:Re})}return mo({axis:mt,moveRelativeTo:wn.page,isMoving:Re})},gi=function(ee,ae){var oe=ee.frame;return oe?Yn(ae,oe.scroll.diff.displacement):ae},ri=function(ae){var oe=ae.impact,de=ae.draggable,Pe=ae.droppable,ye=ae.draggables,we=ae.afterCritical,Re=de.page.borderBox.center,mt=oe.at;return!Pe||!mt?Re:mt.type==="REORDER"?pi({impact:oe,draggable:de,draggables:ye,droppable:Pe,afterCritical:we}):Va({impact:oe,draggables:ye,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=Wn(oe),Pe=Rn({top:ae.y,bottom:ae.y+ee.frame.height,left:ae.x,right:ae.x+ee.frame.width}),ye={frame:Pe,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ae,diff:{value:oe,displacement:de}}};return ye};function yo(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,ye=ee.maxScrollChange,we=vi(oe,Yn(oe.scroll.current,ye)),Re=de.frame?Sr(de,Yn(de.frame.scroll.current,ye)):de,mt=ae.displaced,Tt=an({afterDragging:yo(mt.all,Pe),destination:de,displacedBy:ae.displacedBy,viewport:we.frame,last:mt,forceShouldAnimate:!1}),Rt=an({afterDragging:yo(mt.all,Pe),destination:Re,displacedBy:ae.displacedBy,viewport:oe.frame,last:mt,forceShouldAnimate:!1}),Pt={},bt={},Vt=[mt,Tt,Rt];mt.all.forEach(function(xa){var Ia=hi(xa,Vt);if(Ia){bt[xa]=Ia;return}Pt[xa]=!0});var wn=(0,Me.Z)({},ae,{displaced:{all:mt.all,invisible:Pt,visible:bt}});return wn},Jl=function(ee,ae){return Yn(ee.scroll.diff.displacement,ae)},Vi=function(ee){var ae=ee.pageBorderBoxCenter,oe=ee.draggable,de=ee.viewport,Pe=Jl(de,ae),ye=qa(Pe,oe.page.borderBox.center);return Yn(oe.client.borderBox.center,ye)},nl=function(ee){var ae=ee.draggable,oe=ee.destination,de=ee.newPageBorderBoxCenter,Pe=ee.viewport,ye=ee.withDroppableDisplacement,we=ee.onlyOnMainAxis,Re=we===void 0?!1:we,mt=qa(de,ae.page.borderBox.center),Tt=Ga(ae.page.borderBox,mt),Rt={target:Tt,destination:oe,withDroppableDisplacement:ye,viewport:Pe};return Re?un(Rt):Ce(Rt)},$l=function(ee){var ae=ee.isMovingForward,oe=ee.draggable,de=ee.destination,Pe=ee.draggables,ye=ee.previousImpact,we=ee.viewport,Re=ee.previousPageBorderBoxCenter,mt=ee.previousClientSelection,Tt=ee.afterCritical;if(!de.isEnabled)return null;var Rt=Hr(de.descriptor.id,Pe),Pt=no(oe,de),bt=Jr({isMovingForward:ae,draggable:oe,destination:de,insideDestination:Rt,previousImpact:ye})||ga({isMovingForward:ae,isInHomeList:Pt,draggable:oe,draggables:Pe,destination:de,insideDestination:Rt,previousImpact:ye,viewport:we,afterCritical:Tt});if(!bt)return null;var Vt=ui({impact:bt,draggable:oe,droppable:de,draggables:Pe,afterCritical:Tt}),wn=nl({draggable:oe,destination:de,newPageBorderBoxCenter:Vt,viewport:we.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(wn){var xa=Vi({pageBorderBoxCenter:Vt,draggable:oe,viewport:we});return{clientSelection:xa,impact:bt,scrollJumpRequest:null}}var Ia=qa(Vt,Re),Ra=Ni({impact:bt,viewport:we,destination:de,draggables:Pe,maxScrollChange:Ia});return{clientSelection:mt,impact:Ra,scrollJumpRequest:Ia}},Jo=function(ae){var oe=ae.subject.active;return oe||He(!1),oe},mi=function(ee){var ae=ee.isMovingForward,oe=ee.pageBorderBoxCenter,de=ee.source,Pe=ee.droppables,ye=ee.viewport,we=de.subject.active;if(!we)return null;var Re=de.axis,mt=Dr(we[Re.start],we[Re.end]),Tt=Cr(Pe).filter(function(Pt){return Pt!==de}).filter(function(Pt){return Pt.isEnabled}).filter(function(Pt){return!!Pt.subject.active}).filter(function(Pt){return Yr(ye.frame)(Jo(Pt))}).filter(function(Pt){var bt=Jo(Pt);return ae?we[Re.crossAxisEnd]<bt[Re.crossAxisEnd]:bt[Re.crossAxisStart]<we[Re.crossAxisStart]}).filter(function(Pt){var bt=Jo(Pt),Vt=Dr(bt[Re.start],bt[Re.end]);return mt(bt[Re.start])||mt(bt[Re.end])||Vt(we[Re.start])||Vt(we[Re.end])}).sort(function(Pt,bt){var Vt=Jo(Pt)[Re.crossAxisStart],wn=Jo(bt)[Re.crossAxisStart];return ae?Vt-wn:wn-Vt}).filter(function(Pt,bt,Vt){return Jo(Pt)[Re.crossAxisStart]===Jo(Vt[0])[Re.crossAxisStart]});if(!Tt.length)return null;if(Tt.length===1)return Tt[0];var Rt=Tt.filter(function(Pt){var bt=Dr(Jo(Pt)[Re.start],Jo(Pt)[Re.end]);return bt(oe[Re.line])});return Rt.length===1?Rt[0]:Rt.length>1?Rt.sort(function(Pt,bt){return Jo(Pt)[Re.start]-Jo(bt)[Re.start]})[0]:Tt.sort(function(Pt,bt){var Vt=ra(oe,_a(Jo(Pt))),wn=ra(oe,_a(Jo(bt)));return Vt!==wn?Vt-wn:Jo(Pt)[Re.start]-Jo(bt)[Re.start]})[0]},Bi=function(ae,oe){var de=ae.page.borderBox.center;return On(ae.descriptor.id,oe)?qa(de,oe.displacedBy.point):de},yl=function(ae,oe){var de=ae.page.borderBox;return On(ae.descriptor.id,oe)?Ga(de,Wn(oe.displacedBy.point)):de},Xl=function(ee){var ae=ee.pageBorderBoxCenter,oe=ee.viewport,de=ee.destination,Pe=ee.insideDestination,ye=ee.afterCritical,we=Pe.filter(function(Re){return Ce({target:yl(Re,ye),destination:de,viewport:oe.frame,withDroppableDisplacement:!0})}).sort(function(Re,mt){var Tt=fa(ae,gi(de,Bi(Re,ye))),Rt=fa(ae,gi(de,Bi(mt,ye)));return Tt<Rt?-1:Rt<Tt?1:Re.descriptor.index-mt.descriptor.index});return we[0]||null},Ii=tn(function(ae,oe){var de=oe[ae.line];return{value:de,point:ua(ae.line,de)}}),Fo=function(ae,oe,de){var Pe=ae.axis;if(ae.descriptor.mode==="virtual")return ua(Pe.line,oe[Pe.line]);var ye=ae.subject.page.contentBox[Pe.size],we=Hr(ae.descriptor.id,de),Re=we.reduce(function(Rt,Pt){return Rt+Pt.client.marginBox[Pe.size]},0),mt=Re+oe[Pe.line],Tt=mt-ye;return Tt<=0?null:ua(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;no(oe,ae)&&He(!1),ae.subject.withPlaceholder&&He(!1);var ye=Ii(ae.axis,oe.displaceBy).point,we=Fo(ae,ye,de),Re={placeholderSize:ye,increasedBy:we,oldFrameMaxScroll:ae.frame?ae.frame.scroll.max:null};if(!Pe){var mt=yr({page:ae.subject.page,withPlaceholder:Re,axis:ae.axis,frame:ae.frame});return(0,Me.Z)({},ae,{subject:mt})}var Tt=we?Yn(Pe.scroll.max,we):Pe.scroll.max,Rt=El(Pe,Tt),Pt=yr({page:ae.subject.page,withPlaceholder:Re,axis:ae.axis,frame:Rt});return(0,Me.Z)({},ae,{subject:Pt,frame:Rt})},Yl=function(ae){var oe=ae.subject.withPlaceholder;oe||He(!1);var de=ae.frame;if(!de){var Pe=yr({page:ae.subject.page,axis:ae.axis,frame:null,withPlaceholder:null});return(0,Me.Z)({},ae,{subject:Pe})}var ye=oe.oldFrameMaxScroll;ye||He(!1);var we=El(de,ye),Re=yr({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,ye=ee.draggables,we=ee.destination,Re=ee.viewport,mt=ee.afterCritical;if(!oe){if(de.length)return null;var Tt={displaced:To,displacedBy:Bo,at:{type:"REORDER",destination:{droppableId:we.descriptor.id,index:0}}},Rt=ui({impact:Tt,draggable:Pe,droppable:we,draggables:ye,afterCritical:mt}),Pt=no(Pe,we)?we:bl(we,Pe,ye),bt=nl({draggable:Pe,destination:Pt,newPageBorderBoxCenter:Rt,viewport:Re.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return bt?Tt:null}var Vt=ae[we.axis.line]<=oe.page.borderBox.center[we.axis.line],wn=function(){var Ia=oe.descriptor.index;return oe.descriptor.id===Pe.descriptor.id||Vt?Ia:Ia+1}(),xa=Ii(we.axis,Pe.displaceBy);return Bn({draggable:Pe,insideDestination:de,destination:we,viewport:Re,displacedBy:xa,last:To,index:wn})},xl=function(ee){var ae=ee.isMovingForward,oe=ee.previousPageBorderBoxCenter,de=ee.draggable,Pe=ee.isOver,ye=ee.draggables,we=ee.droppables,Re=ee.viewport,mt=ee.afterCritical,Tt=mi({isMovingForward:ae,pageBorderBoxCenter:oe,source:Pe,droppables:we,viewport:Re});if(!Tt)return null;var Rt=Hr(Tt.descriptor.id,ye),Pt=Xl({pageBorderBoxCenter:oe,viewport:Re,destination:Tt,insideDestination:Rt,afterCritical:mt}),bt=Cl({previousPageBorderBoxCenter:oe,destination:Tt,draggable:de,draggables:ye,moveRelativeTo:Pt,insideDestination:Rt,viewport:Re,afterCritical:mt});if(!bt)return null;var Vt=ui({impact:bt,draggable:de,droppable:Tt,draggables:ye,afterCritical:mt}),wn=Vi({pageBorderBoxCenter:Vt,draggable:de,viewport:Re});return{clientSelection:wn,impact:bt,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,ye=ae.dimensions.droppables[ae.critical.droppable.id],we=de||ye,Re=we.axis.direction,mt=Re==="vertical"&&(oe==="MOVE_UP"||oe==="MOVE_DOWN")||Re==="horizontal"&&(oe==="MOVE_LEFT"||oe==="MOVE_RIGHT");if(mt&&!Pe)return null;var Tt=oe==="MOVE_DOWN"||oe==="MOVE_RIGHT",Rt=ae.dimensions.draggables[ae.critical.draggable.id],Pt=ae.current.page.borderBoxCenter,bt=ae.dimensions,Vt=bt.draggables,wn=bt.droppables;return mt?$l({isMovingForward:Tt,previousPageBorderBoxCenter:Pt,draggable:Rt,destination:we,draggables:Vt,viewport:ae.viewport,previousClientSelection:ae.current.client.selection,previousImpact:ae.impact,afterCritical:ae.afterCritical}):xl({isMovingForward:Tt,previousPageBorderBoxCenter:Pt,draggable:Rt,isOver:we,draggables:Vt,droppables:wn,viewport:ae.viewport,afterCritical:ae.afterCritical})};function Yo(ee){return ee.phase==="DRAGGING"||ee.phase==="COLLECTING"}function Ji(ee){var ae=Dr(ee.top,ee.bottom),oe=Dr(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,ye=de.map(function(we){var Re=we.axis,mt=ua(we.axis.line,ae.center[Re.line],we.page.borderBox.center[Re.crossAxisLine]);return{id:we.descriptor.id,distance:fa(Pe,mt)}}).sort(function(we,Re){return Re.distance-we.distance});return ye[0]?ye[0].id:null}function ja(ee){var ae=ee.pageBorderBox,oe=ee.draggable,de=ee.droppables,Pe=Cr(de).filter(function(ye){if(!ye.isEnabled)return!1;var we=ye.subject.active;if(!we||!Fl(ae,we))return!1;if(Ji(we)(ae.center))return!0;var Re=ye.axis,mt=we.center[Re.crossAxisLine],Tt=ae[Re.crossAxisStart],Rt=ae[Re.crossAxisEnd],Pt=Dr(we[Re.crossAxisStart],we[Re.crossAxisEnd]),bt=Pt(Tt),Vt=Pt(Rt);return!bt&&!Vt?!0:bt?Tt<mt:Rt>mt});return Pe.length?Pe.length===1?Pe[0].descriptor.id:ql({pageBorderBox:ae,draggable:oe,candidates:Pe}):null}var yi=function(ae,oe){return Rn(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,ye=ee.last,we=ee.viewport,Re=ee.afterCritical,mt=de.axis,Tt=Ii(de.axis,oe.displaceBy),Rt=Tt.value,Pt=ae[mt.start],bt=ae[mt.end],Vt=pr(oe,Pe),wn=Ta(Vt,function(Ia){var Ra=Ia.descriptor.id,Ya=Ia.page.borderBox.center[mt.line],ir=On(Ra,Re),dr=ha({displaced:ye,id:Ra});return ir?dr?bt<=Ya:Pt<Ya-Rt:dr?bt<=Ya+Rt:Pt<Ya}),xa=Li({draggable:oe,closest:wn,inHomeList:no(oe,de)});return Bn({draggable:oe,insideDestination:Pe,destination:de,viewport:we,last:ye,displacedBy:Tt,index:xa})},es=4,ws=function(ee){var ae=ee.draggable,oe=ee.pageBorderBoxWithDroppableScroll,de=ee.previousImpact,Pe=ee.destination,ye=ee.insideDestination,we=ee.afterCritical;if(!Pe.isCombineEnabled)return null;var Re=Pe.axis,mt=Ii(Pe.axis,ae.displaceBy),Tt=mt.value,Rt=oe[Re.start],Pt=oe[Re.end],bt=pr(ae,ye),Vt=Ta(bt,function(xa){var Ia=xa.descriptor.id,Ra=xa.page.borderBox,Ya=Ra[Re.size],ir=Ya/es,dr=On(Ia,we),jr=ha({displaced:de.displaced,id:Ia});return dr?jr?Pt>Ra[Re.start]+ir&&Pt<Ra[Re.end]-ir:Rt>Ra[Re.start]-Tt+ir&&Rt<Ra[Re.end]-Tt-ir:jr?Pt>Ra[Re.start]+Tt+ir&&Pt<Ra[Re.end]+Tt-ir:Rt>Ra[Re.start]+ir&&Rt<Ra[Re.end]-ir});if(!Vt)return null;var wn={displacedBy:mt,displaced:de.displaced,at:{type:"COMBINE",combine:{draggableId:Vt.descriptor.id,droppableId:Pe.descriptor.id}}};return wn},Al=function(ee){var ae=ee.pageOffset,oe=ee.draggable,de=ee.draggables,Pe=ee.droppables,ye=ee.previousImpact,we=ee.viewport,Re=ee.afterCritical,mt=yi(oe.page.borderBox,ae),Tt=ja({pageBorderBox:mt,draggable:oe,droppables:Pe});if(!Tt)return ko;var Rt=Pe[Tt],Pt=Hr(Rt.descriptor.id,de),bt=al(Rt,mt);return ws({pageBorderBoxWithDroppableScroll:bt,draggable:oe,previousImpact:ye,destination:Rt,insideDestination:Pt,afterCritical:Re})||wl({pageBorderBoxWithDroppableScroll:bt,draggable:oe,destination:Rt,insideDestination:Pt,last:ye.displaced,viewport:we,afterCritical:Re})},rl=function(ee,ae){var oe;return(0,Me.Z)({},ee,(oe={},oe[ae.descriptor.id]=ae,oe))},Go=function(ae){var oe=ae.previousImpact,de=ae.impact,Pe=ae.droppables,ye=oi(oe),we=oi(de);if(!ye||ye===we)return Pe;var Re=Pe[ye];if(!Re.subject.withPlaceholder)return Pe;var mt=Yl(Re);return rl(Pe,mt)},ts=function(ee){var ae=ee.draggable,oe=ee.draggables,de=ee.droppables,Pe=ee.previousImpact,ye=ee.impact,we=Go({previousImpact:Pe,impact:ye,droppables:de}),Re=oi(ye);if(!Re)return we;var mt=de[Re];if(no(ae,mt)||mt.subject.withPlaceholder)return we;var Tt=bl(mt,ae,oe);return rl(we,Tt)},bi=function(ee){var ae=ee.state,oe=ee.clientSelection,de=ee.dimensions,Pe=ee.viewport,ye=ee.impact,we=ee.scrollJumpRequest,Re=Pe||ae.viewport,mt=de||ae.dimensions,Tt=oe||ae.current.client.selection,Rt=qa(Tt,ae.initial.client.selection),Pt={offset:Rt,selection:Tt,borderBoxCenter:Yn(ae.initial.client.borderBoxCenter,Rt)},bt={selection:Yn(Pt.selection,Re.scroll.current),borderBoxCenter:Yn(Pt.borderBoxCenter,Re.scroll.current),offset:Yn(Pt.offset,Re.scroll.diff.value)},Vt={client:Pt,page:bt};if(ae.phase==="COLLECTING")return(0,Me.Z)({phase:"COLLECTING"},ae,{dimensions:mt,viewport:Re,current:Vt});var wn=mt.draggables[ae.critical.draggable.id],xa=ye||Al({pageOffset:bt.offset,draggable:wn,draggables:mt.draggables,droppables:mt.droppables,previousImpact:ae.impact,viewport:Re,afterCritical:ae.afterCritical}),Ia=ts({draggable:wn,impact:xa,previousImpact:ae.impact,draggables:mt.draggables,droppables:mt.droppables}),Ra=(0,Me.Z)({},ae,{current:Vt,dimensions:{draggables:mt.draggables,droppables:Ia},impact:xa,viewport:Re,scrollJumpRequest:we||null,forceShouldAnimate:we?!1:null});return Ra};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,ye=ee.forceShouldAnimate,we=ae.displaced,Re=ol(we.all,de),mt=an({afterDragging:Re,destination:Pe,displacedBy:ae.displacedBy,viewport:oe.frame,forceShouldAnimate:ye,last:we});return(0,Me.Z)({},ae,{displaced:mt})},il=function(ee){var ae=ee.impact,oe=ee.draggable,de=ee.droppable,Pe=ee.draggables,ye=ee.viewport,we=ee.afterCritical,Re=ui({impact:ae,draggable:oe,draggables:Pe,droppable:de,afterCritical:we});return Vi({pageBorderBoxCenter:Re,draggable:oe,viewport:ye})},Dl=function(ee){var ae=ee.state,oe=ee.dimensions,de=ee.viewport;ae.movementMode!=="SNAP"&&He(!1);var Pe=ae.impact,ye=de||ae.viewport,we=oe||ae.dimensions,Re=we.draggables,mt=we.droppables,Tt=Re[ae.critical.draggable.id],Rt=oi(Pe);Rt||He(!1);var Pt=mt[Rt],bt=Oi({impact:Pe,viewport:ye,destination:Pt,draggables:Re}),Vt=il({impact:bt,draggable:Tt,droppable:Pt,draggables:Re,viewport:ye,afterCritical:ae.afterCritical});return bi({impact:bt,clientSelection:Vt,state:ae,dimensions:we,viewport:ye})},$i=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,ye=Ii(oe.axis,ae.displaceBy),we=Hr(oe.descriptor.id,de),Re=we.indexOf(ae);Re===-1&&He(!1);var mt=we.slice(Re+1),Tt=mt.reduce(function(Vt,wn){return Vt[wn.descriptor.id]=!0,Vt},{}),Rt={inVirtualList:oe.descriptor.mode==="virtual",displacedBy:ye,effected:Tt},Pt=an({afterDragging:mt,destination:oe,displacedBy:ye,last:null,viewport:Pe.frame,forceShouldAnimate:!1}),bt={displaced:Pt,displacedBy:ye,at:{type:"REORDER",destination:$i(ae.descriptor)}};return{impact:bt,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=en(ae.client,oe),ye=bn(Pe,de),we=(0,Me.Z)({},ae,{placeholder:(0,Me.Z)({},ae.placeholder,{client:Pe}),client:Pe,page:ye});return we},Lo=function(ee){var ae=ee.frame;return ae||He(!1),ae},as=function(ee){var ae=ee.additions,oe=ee.updatedDroppables,de=ee.viewport,Pe=de.scroll.diff.value;return ae.map(function(ye){var we=ye.descriptor.droppableId,Re=oe[we],mt=Lo(Re),Tt=mt.scroll.diff.value,Rt=Yn(Pe,Tt),Pt=ns({draggable:ye,offset:Rt,initialWindowScroll:de.scroll.initial});return Pt})},As=function(ee){var ae=ee.state,oe=ee.published;Ti();var de=oe.modified.map(function(ir){var dr=ae.dimensions.droppables[ir.droppableId],jr=Sr(dr,ir.scroll);return jr}),Pe=(0,Me.Z)({},ae.dimensions.droppables,{},Lr(de)),ye=Or(as({additions:oe.additions,updatedDroppables:Pe,viewport:ae.viewport})),we=(0,Me.Z)({},ae.dimensions.draggables,{},ye);oe.removals.forEach(function(ir){delete we[ir]});var Re={droppables:Pe,draggables:we},mt=oi(ae.impact),Tt=mt?Re.droppables[mt]:null,Rt=Re.draggables[ae.critical.draggable.id],Pt=Re.droppables[ae.critical.droppable.id],bt=Ri({draggable:Rt,home:Pt,draggables:we,viewport:ae.viewport}),Vt=bt.impact,wn=bt.afterCritical,xa=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:xa,viewport:ae.viewport,afterCritical:wn});Mi();var Ra=(0,Me.Z)({phase:"DRAGGING"},ae,{phase:"DRAGGING",impact:Ia,onLiftImpact:Vt,dimensions:Re,afterCritical:wn,forceShouldAnimate:!1});if(ae.phase==="COLLECTING")return Ra;var Ya=(0,Me.Z)({phase:"DROP_PENDING"},Ra,{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"&&He(!1);var oe=ae.payload,de=oe.critical,Pe=oe.clientSelection,ye=oe.viewport,we=oe.dimensions,Re=oe.movementMode,mt=we.draggables[de.draggable.id],Tt=we.droppables[de.droppable.id],Rt={selection:Pe,borderBoxCenter:mt.client.borderBox.center,offset:Na},Pt={client:Rt,page:{selection:Yn(Rt.selection,ye.scroll.initial),borderBoxCenter:Yn(Rt.selection,ye.scroll.initial),offset:Yn(Rt.selection,ye.scroll.diff.value)}},bt=Cr(we.droppables).every(function(Ks){return!Ks.isFixedOnPage}),Vt=Ri({draggable:mt,home:Tt,draggables:we.draggables,viewport:ye}),wn=Vt.impact,xa=Vt.afterCritical,Ia={phase:"DRAGGING",isDragging:!0,critical:de,movementMode:Re,dimensions:we,initial:Pt,current:Pt,isWindowScrollAllowed:bt,impact:wn,afterCritical:xa,onLiftImpact:wn,viewport:ye,scrollJumpRequest:null,forceShouldAnimate:null};return Ia}if(ae.type==="COLLECTION_STARTING"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase!=="DRAGGING"&&He(!1);var Ra=(0,Me.Z)({phase:"COLLECTING"},ee,{phase:"COLLECTING"});return Ra}if(ae.type==="PUBLISH_WHILE_DRAGGING")return ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING"||He(!1),As({state:ee,published:ae.payload});if(ae.type==="MOVE"){if(ee.phase==="DROP_PENDING")return ee;Yo(ee)||He(!1);var Ya=ae.payload.client;return $a(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)||He(!1);var ir=ae.payload,dr=ir.id,jr=ir.newScroll,Mr=ee.dimensions.droppables[dr];if(!Mr)return ee;var to=Sr(Mr,jr);return Fi(ee,to,!1)}if(ae.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;Yo(ee)||He(!1);var _o=ae.payload,so=_o.id,jo=_o.isEnabled,ai=ee.dimensions.droppables[so];ai||He(!1),ai.isEnabled===jo&&He(!1);var li=(0,Me.Z)({},ai,{isEnabled:jo});return Fi(ee,li,!0)}if(ae.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;Yo(ee)||He(!1);var Hi=ae.payload,Di=Hi.id,Ei=Hi.isCombineEnabled,Gi=ee.dimensions.droppables[Di];Gi||He(!1),Gi.isCombineEnabled===Ei&&He(!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)||He(!1),ee.isWindowScrollAllowed||He(!1);var el=ae.payload.newScroll;if($a(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($a(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"&&He(!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"&&He(!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 js=ae.payload,Ui=js.completed,Bs=js.dropDuration,Hs=js.newHomeClientOffset;ee.phase==="DRAGGING"||ee.phase==="DROP_PENDING"||He(!1);var Ql={phase:"DROP_ANIMATING",completed:Ui,dropDuration:Bs,newHomeClientOffset:Hs,dimensions:ee.dimensions};return Ql}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}},Da=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}},ti=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}},Qi=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}},fr=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],ye=ae[de-1];Pe!==ye+1&&(oe[Pe]=!0)}if(Object.keys(oe).length)var we=ae.map(function(Re){var mt=!!oe[Re];return mt?"[\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(ye){if(ye.type!=="LIFT"){Pe(ye);return}var we=ye.payload,Re=we.id,mt=we.clientSelection,Tt=we.movementMode,Rt=oe();Rt.phase==="DROP_ANIMATING"&&de(Tl({completed:Rt.completed})),oe().phase!=="IDLE"&&He(!1),de(Ol()),de(os({draggableId:Re,movementMode:Tt}));var Pt={shouldPublishImmediately:Tt==="SNAP"},bt={draggableId:Re,scrollOptions:Pt},Vt=ee.startPublishing(bt),wn=Vt.critical,xa=Vt.dimensions,Ia=Vt.viewport;cs(wn,xa),de(Da({critical:wn,dimensions:xa,clientSelection:mt,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 $a(ae,Na)?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,Se=ul.maxDropTime,We=Se-gl,Je=1500,cn=.6,da=function(ee){var ae=ee.current,oe=ee.destination,de=ee.reason,Pe=fa(ae,oe);if(Pe<=0)return gl;if(Pe>=Je)return Se;var ye=Pe/Je,we=gl+We*ye,Re=de==="CANCEL"?we*cn:we;return Number(Re.toFixed(2))},ka=function(ee){var ae=ee.impact,oe=ee.draggable,de=ee.dimensions,Pe=ee.viewport,ye=ee.afterCritical,we=de.draggables,Re=de.droppables,mt=oi(ae),Tt=mt?Re[mt]:null,Rt=Re[oe.descriptor.droppableId],Pt=il({impact:ae,draggable:oe,draggables:we,afterCritical:ye,droppable:Tt||Rt,viewport:Pe}),bt=qa(Pt,oe.client.borderBox.center);return bt},Ka=function(ee){var ae=ee.draggables,oe=ee.reason,de=ee.lastImpact,Pe=ee.home,ye=ee.viewport,we=ee.onLiftImpact;if(!de.at||oe!=="DROP"){var Re=Oi({draggables:ae,impact:we,destination:Pe,viewport:ye,forceShouldAnimate:!0});return{impact:Re,didDropInsideDroppable:!1}}if(de.at.type==="REORDER")return{impact:de,didDropInsideDroppable:!0};var mt=(0,Me.Z)({},de,{displaced:To});return{impact:mt,didDropInsideDroppable:!0}},me=function(ee){var ae=ee.getState,oe=ee.dispatch;return function(de){return function(Pe){if(Pe.type!=="DROP"){de(Pe);return}var ye=ae(),we=Pe.payload.reason;if(ye.phase==="COLLECTING"){oe(fr({reason:we}));return}if(ye.phase!=="IDLE"){var Re=ye.phase==="DROP_PENDING"&&ye.isWaiting;Re&&He(!1),ye.phase==="DRAGGING"||ye.phase==="DROP_PENDING"||He(!1);var mt=ye.critical,Tt=ye.dimensions,Rt=Tt.draggables[ye.critical.draggable.id],Pt=Ka({reason:we,lastImpact:ye.impact,afterCritical:ye.afterCritical,onLiftImpact:ye.onLiftImpact,home:ye.dimensions.droppables[ye.critical.droppable.id],viewport:ye.viewport,draggables:ye.dimensions.draggables}),bt=Pt.impact,Vt=Pt.didDropInsideDroppable,wn=Vt?Xa(bt):null,xa=Vt?wr(bt):null,Ia={index:mt.draggable.index,droppableId:mt.droppable.id},Ra={draggableId:Rt.descriptor.id,type:Rt.descriptor.type,source:Ia,reason:we,mode:ye.movementMode,destination:wn,combine:xa},Ya=ka({impact:bt,draggable:Rt,dimensions:Tt,viewport:ye.viewport,afterCritical:ye.afterCritical}),ir={critical:ye.critical,afterCritical:ye.afterCritical,result:Ra,impact:bt},dr=!$a(ye.current.client.offset,Ya)||!!Ra.combine;if(!dr){oe(Tl({completed:ir}));return}var jr=da({current:ye.current.client.offset,destination:Ya,reason:we}),Mr={newHomeClientOffset:Ya,dropDuration:jr,completed:ir};oe(Rl(Mr))}}}},ge=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(ge())}var de=fn(oe),Pe=be(de),ye=Jn;function we(){return ye!==Jn}function Re(){we()&&He(!1),ye=zn(window,[Pe])}function mt(){we()||He(!1),de.cancel(),ye(),ye=Jn}return{start:Re,stop:mt,isActive:we}}var Ie=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},je=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)}}},vt=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},Ct=function(){var ee=[],ae=function(ye){var we=Br(ee,function(Tt){return Tt.timerId===ye});we===-1&&He(!1);var Re=ee.splice(we,1),mt=Re[0];mt.callback()},oe=function(ye){var we=setTimeout(function(){return ae(we)}),Re={timerId:we,callback:ye};ee.push(Re)},de=function(){if(ee.length){var ye=[].concat(ee);ee.length=0,ye.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},_t=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.draggableId===oe.draggableId&&ae.droppableId===oe.droppableId},Ft=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},Xt=function(ae,oe){Ti(),oe(),Mi()},Ln=function(ae,oe){return{draggableId:ae.draggable.id,type:ae.droppable.type,source:{droppableId:ae.droppable.id,index:ae.draggable.index},mode:oe}},zt=function(ae,oe,de,Pe){if(!ae){de(Pe(oe));return}var ye=vt(de),we={announce:ye};ae(oe,we),ye.wasCalled()||de(Pe(oe))},At=function(ee,ae){var oe=Ct(),de=null,Pe=function(bt,Vt){de&&He(!1),Xt("onBeforeCapture",function(){var wn=ee().onBeforeCapture;if(wn){var xa={draggableId:bt,mode:Vt};wn(xa)}})},ye=function(bt,Vt){de&&He(!1),Xt("onBeforeDragStart",function(){var wn=ee().onBeforeDragStart;wn&&wn(Ln(bt,Vt))})},we=function(bt,Vt){de&&He(!1);var wn=Ln(bt,Vt);de={mode:Vt,lastCritical:bt,lastLocation:wn.source,lastCombine:null},oe.add(function(){Xt("onDragStart",function(){return zt(ee().onDragStart,wn,ae,pn.onDragStart)})})},Re=function(bt,Vt){var wn=Xa(Vt),xa=wr(Vt);de||He(!1);var Ia=!Ft(bt,de.lastCritical);Ia&&(de.lastCritical=bt);var Ra=!it(de.lastLocation,wn);Ra&&(de.lastLocation=wn);var Ya=!_t(de.lastCombine,xa);if(Ya&&(de.lastCombine=xa),!(!Ia&&!Ra&&!Ya)){var ir=(0,Me.Z)({},Ln(bt,de.mode),{combine:xa,destination:wn});oe.add(function(){Xt("onDragUpdate",function(){return zt(ee().onDragUpdate,ir,ae,pn.onDragUpdate)})})}},mt=function(){de||He(!1),oe.flush()},Tt=function(bt){de||He(!1),de=null,Xt("onDragEnd",function(){return zt(ee().onDragEnd,bt,ae,pn.onDragEnd)})},Rt=function(){if(de){var bt=(0,Me.Z)({},Ln(de.lastCritical,de.mode),{combine:null,destination:null,reason:"CANCEL"});Tt(bt)}};return{beforeCapture:Pe,beforeStart:ye,start:we,update:Re,flush:mt,drop:Tt,abort:Rt}},Un=function(ee,ae){var oe=At(ee,ae);return function(de){return function(Pe){return function(ye){if(ye.type==="BEFORE_INITIAL_CAPTURE"){oe.beforeCapture(ye.payload.draggableId,ye.payload.movementMode);return}if(ye.type==="INITIAL_PUBLISH"){var we=ye.payload.critical;oe.beforeStart(we,ye.payload.movementMode),Pe(ye),oe.start(we,ye.payload.movementMode);return}if(ye.type==="DROP_COMPLETE"){var Re=ye.payload.completed.result;oe.flush(),Pe(ye),oe.drop(Re);return}if(Pe(ye),ye.type==="FLUSH"){oe.abort();return}var mt=de.getState();mt.phase==="DRAGGING"&&oe.update(mt.critical,mt.impact)}}}},Hn=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"&&He(!1),ee.dispatch(Tl({completed:de.completed}))}}},$n=function(ee){var ae=null,oe=null;function de(){oe&&(cancelAnimationFrame(oe),oe=null),ae&&(ae(),ae=null)}return function(Pe){return function(ye){if((ye.type==="FLUSH"||ye.type==="DROP_COMPLETE"||ye.type==="DROP_ANIMATION_FINISHED")&&de(),Pe(ye),ye.type==="DROP_ANIMATE"){var we={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var mt=ee.getState();mt.phase==="DROP_ANIMATING"&&ee.dispatch(kl())}};oe=requestAnimationFrame(function(){oe=null,ae=zn(window,[we])})}}}},Vn=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)}}}},qn=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()}}}}}},Fn=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},Ca=function(ee){return function(ae){return function(oe){return function(de){if(Fn(de)){ee.stop(),oe(de);return}if(de.type==="INITIAL_PUBLISH"){oe(de);var Pe=ae.getState();Pe.phase!=="DRAGGING"&&He(!1),ee.start(Pe);return}oe(de),ee.scroll(ae.getState())}}}},ba=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,Ha=function(ee){var ae=ee.dimensionMarshal,oe=ee.focusMarshal,de=ee.styleMarshal,Pe=ee.getResponders,ye=ee.announce,we=ee.autoScroller;return(0,Le.MT)(rs,Za((0,Le.md)(ms(de),Vn(ae),gs(ae),me,Hn,$n,ba,Ca(we),je,qn(oe),Un(Pe,ye))))},ia=function(){return{additions:{},removals:{},modified:{}}};function ya(ee){var ae=ee.registry,oe=ee.callbacks,de=ia(),Pe=null,ye=function(){Pe||(oe.collectionStarting(),Pe=requestAnimationFrame(function(){Pe=null,Ti();var Rt=de,Pt=Rt.additions,bt=Rt.removals,Vt=Rt.modified,wn=Object.keys(Pt).map(function(Ra){return ae.draggable.getById(Ra).getDimension(Na)}).sort(function(Ra,Ya){return Ra.descriptor.index-Ya.descriptor.index}),xa=Object.keys(Vt).map(function(Ra){var Ya=ae.droppable.getById(Ra),ir=Ya.callbacks.getScrollWhileDragging();return{droppableId:Ra,scroll:ir}}),Ia={additions:wn,removals:Object.keys(bt),modified:xa};de=ia(),Mi(),oe.publish(Ia)}))},we=function(Rt){var Pt=Rt.descriptor.id;de.additions[Pt]=Rt,de.modified[Rt.descriptor.droppableId]=!0,de.removals[Pt]&&delete de.removals[Pt],ye()},Re=function(Rt){var Pt=Rt.descriptor;de.removals[Pt.id]=!0,de.modified[Pt.droppableId]=!0,de.additions[Pt.id]&&delete de.additions[Pt.id],ye()},mt=function(){Pe&&(cancelAnimationFrame(Pe),Pe=null,de=ia())};return{add:we,remove:Re,stop:mt}}var Sa=function(ee){var ae=ee.scrollHeight,oe=ee.scrollWidth,de=ee.height,Pe=ee.width,ye=qa({x:oe,y:ae},{x:Pe,y:de}),we={x:Math.max(0,ye.x),y:Math.max(0,ye.y)};return we},Gn=function(){var ee=document.documentElement;return ee||He(!1),ee},ma=function(){var ee=Gn(),ae=Sa({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ae},Ma=function(){var ee=ge(),ae=ma(),oe=ee.y,de=ee.x,Pe=Gn(),ye=Pe.clientWidth,we=Pe.clientHeight,Re=de+ye,mt=oe+we,Tt=Rn({top:oe,left:de,right:Re,bottom:mt}),Rt={frame:Tt,scroll:{initial:ee,current:ee,max:ae,diff:{value:Na,displacement:Na}}};return Rt},er=function(ee){var ae=ee.critical,oe=ee.scrollOptions,de=ee.registry;Ti();var Pe=Ma(),ye=Pe.scroll.current,we=ae.droppable,Re=de.droppable.getAllByType(we.type).map(function(Pt){return Pt.callbacks.getDimensionAndWatchScroll(ye,oe)}),mt=de.draggable.getAllByType(ae.draggable.type).map(function(Pt){return Pt.getDimension(ye)}),Tt={draggables:Or(mt),droppables:Lr(Re)};Mi();var Rt={dimensions:Tt,critical:ae,viewport:Pe};return Rt};function ar(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=ya({callbacks:{publish:ae.publishWhileDragging,collectionStarting:ae.collectionStarting},registry:ee}),Pe=function(Vt,wn){ee.droppable.exists(Vt)||He(!1),oe&&ae.updateDroppableIsEnabled({id:Vt,isEnabled:wn})},ye=function(Vt,wn){oe&&(ee.droppable.exists(Vt)||He(!1),ae.updateDroppableIsCombineEnabled({id:Vt,isCombineEnabled:wn}))},we=function(Vt,wn){oe&&(ee.droppable.exists(Vt)||He(!1),ae.updateDroppableScroll({id:Vt,newScroll:wn}))},Re=function(Vt,wn){oe&&ee.droppable.getById(Vt).callbacks.scroll(wn)},mt=function(){if(oe){de.stop();var Vt=oe.critical.droppable;ee.droppable.getAllByType(Vt.type).forEach(function(wn){return wn.callbacks.dragStopped()}),oe.unsubscribe(),oe=null}},Tt=function(Vt){oe||He(!1);var wn=oe.critical.draggable;Vt.type==="ADDITION"&&ar(ee,wn,Vt.value)&&de.add(Vt.value),Vt.type==="REMOVAL"&&ar(ee,wn,Vt.value)&&de.remove(Vt.value)},Rt=function(Vt){oe&&He(!1);var wn=ee.draggable.getById(Vt.draggableId),xa=ee.droppable.getById(wn.descriptor.droppableId),Ia={draggable:wn.descriptor,droppable:xa.descriptor},Ra=ee.subscribe(Tt);return oe={critical:Ia,unsubscribe:Ra},er({critical:Ia,registry:ee,scrollOptions:Vt.scrollOptions})},Pt={updateDroppableIsEnabled:Pe,updateDroppableIsCombineEnabled:ye,scrollDroppable:Re,updateDroppableScroll:we,startPublishing:Rt,stopPublishing:mt};return Pt},mr=function(ee,ae){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ae?!1:ee.completed.result.reason==="DROP"},hr=function(ee){window.scrollBy(ee.x,ee.y)},Wr=tn(function(ee){return Cr(ee).filter(function(ae){return!(!ae.isEnabled||!ae.frame)})}),Zr=function(ae,oe){var de=Ta(Wr(oe),function(Pe){return Pe.frame||He(!1),Ji(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 ye=Zr(ae,de);return ye},qr={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ae){return Math.pow(ae,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},xr=function(ee,ae){var oe=ee[ae.size]*qr.startFromPercentage,de=ee[ae.size]*qr.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 ye=de-ae,we=ye/Pe;return we},Ur=1,So=function(ee,ae){if(ee>ae.startScrollingFrom)return 0;if(ee<=ae.maxScrollValueAt)return qr.maxPixelScroll;if(ee===ae.startScrollingFrom)return Ur;var oe=Do({startOfRange:ae.maxScrollValueAt,endOfRange:ae.startScrollingFrom,current:ee}),de=1-oe,Pe=qr.maxPixelScroll*qr.ease(de);return Math.ceil(Pe)},ao=qr.durationDampening.accelerateAt,$o=qr.durationDampening.stopDampeningAt,sr=function(ee,ae){var oe=ae,de=$o,Pe=Date.now(),ye=Pe-oe;if(ye>=$o)return ee;if(ye<ao)return Ur;var we=Do({startOfRange:ao,endOfRange:de,current:ye}),Re=ee*qr.ease(we);return Math.ceil(Re)},ur=function(ee){var ae=ee.distanceToEdge,oe=ee.thresholds,de=ee.dragStartTime,Pe=ee.shouldUseTimeDampening,ye=So(ae,oe);return ye===0?0:Pe?Math.max(sr(ye,de),Ur):ye},za=function(ee){var ae=ee.container,oe=ee.distanceToEdges,de=ee.dragStartTime,Pe=ee.axis,ye=ee.shouldUseTimeDampening,we=xr(ae,Pe),Re=oe[Pe.end]<oe[Pe.start];return Re?ur({distanceToEdge:oe[Pe.end],thresholds:we,dragStartTime:de,shouldUseTimeDampening:ye}):-1*ur({distanceToEdge:oe[Pe.start],thresholds:we,dragStartTime:de,shouldUseTimeDampening:ye})},tr=function(ee){var ae=ee.container,oe=ee.subject,de=ee.proposedScroll,Pe=oe.height>ae.height,ye=oe.width>ae.width;return!ye&&!Pe?de:ye&&Pe?null:{x:ye?0:de.x,y:Pe?0:de.y}},Gr=Ua(function(ee){return ee===0?0:ee}),nr=function(ee){var ae=ee.dragStartTime,oe=ee.container,de=ee.subject,Pe=ee.center,ye=ee.shouldUseTimeDampening,we={top:Pe.y-oe.top,right:oe.right-Pe.x,bottom:oe.bottom-Pe.y,left:Pe.x-oe.left},Re=za({container:oe,distanceToEdges:we,dragStartTime:ae,axis:Qo,shouldUseTimeDampening:ye}),mt=za({container:oe,distanceToEdges:we,dragStartTime:ae,axis:Ho,shouldUseTimeDampening:ye}),Tt=Gr({x:mt,y:Re});if($a(Tt,Na))return null;var Rt=tr({container:oe,subject:de,proposedScroll:Tt});return Rt?$a(Rt,Na)?null:Rt:null},cr=Ua(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,ye=Yn(oe,Pe),we={x:ee(ye.x,de.x),y:ee(ye.y,de.y)};return $a(we,Na)?null:we}}(),Fr=function(ae){var oe=ae.max,de=ae.current,Pe=ae.change,ye={x:Math.max(de.x,oe.x),y:Math.max(de.y,oe.y)},we=cr(Pe),Re=Rr({max:ye,current:de,change:we});return!Re||we.x!==0&&Re.x===0||we.y!==0&&Re.y===0},ro=function(ae,oe){return Fr({current:ae.scroll.current,max:ae.scroll.max,change:oe})},Ao=function(ae,oe){if(!ro(ae,oe))return null;var de=ae.scroll.max,Pe=ae.scroll.current;return Rr({current:Pe,max:de,change:oe})},Zo=function(ae,oe){var de=ae.frame;return de?Fr({current:de.scroll.current,max:de.scroll.max,change:oe}):!1},Ro=function(ae,oe){var de=ae.frame;return!de||!Zo(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,ye=ee.shouldUseTimeDampening,we=nr({dragStartTime:Pe,container:ae.frame,subject:oe,center:de,shouldUseTimeDampening:ye});return we&&ro(ae,we)?we:null},No=function(ee){var ae=ee.droppable,oe=ee.subject,de=ee.center,Pe=ee.dragStartTime,ye=ee.shouldUseTimeDampening,we=ae.frame;if(!we)return null;var Re=nr({dragStartTime:Pe,container:we.pageMarginBox,subject:oe,center:de,shouldUseTimeDampening:ye});return Re&&Zo(ae,Re)?Re:null},Io=function(ee){var ae=ee.state,oe=ee.dragStartTime,de=ee.shouldUseTimeDampening,Pe=ee.scrollWindow,ye=ee.scrollDroppable,we=ae.current.page.borderBoxCenter,Re=ae.dimensions.draggables[ae.critical.draggable.id],mt=Re.page.marginBox;if(ae.isWindowScrollAllowed){var Tt=ae.viewport,Rt=ci({dragStartTime:oe,viewport:Tt,subject:mt,center:we,shouldUseTimeDampening:de});if(Rt){Pe(Rt);return}}var Pt=ho({center:we,destination:oi(ae.impact),droppables:ae.dimensions.droppables});if(Pt){var bt=No({dragStartTime:oe,droppable:Pt,subject:mt,center:we,shouldUseTimeDampening:de});bt&&ye(Pt.descriptor.id,bt)}},Ai=function(ee){var ae=ee.scrollWindow,oe=ee.scrollDroppable,de=fn(ae),Pe=fn(oe),ye=null,we=function(Rt){ye||He(!1);var Pt=ye,bt=Pt.shouldUseTimeDampening,Vt=Pt.dragStartTime;Io({state:Rt,scrollWindow:de,scrollDroppable:Pe,dragStartTime:Vt,shouldUseTimeDampening:bt})},Re=function(Rt){Ti(),ye&&He(!1);var Pt=Date.now(),bt=!1,Vt=function(){bt=!0};Io({state:Rt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Vt,scrollDroppable:Vt}),ye={dragStartTime:Pt,shouldUseTimeDampening:bt},Mi(),bt&&we(Rt)},mt=function(){ye&&(de.cancel(),Pe.cancel(),ye=null)};return{start:Re,stop:mt,scroll:we}},Xr=function(ee){var ae=ee.move,oe=ee.scrollDroppable,de=ee.scrollWindow,Pe=function(Tt,Rt){var Pt=Yn(Tt.current.client.selection,Rt);ae({client:Pt})},ye=function(Tt,Rt){if(!Zo(Tt,Rt))return Rt;var Pt=Ro(Tt,Rt);if(!Pt)return oe(Tt.descriptor.id,Rt),null;var bt=qa(Rt,Pt);oe(Tt.descriptor.id,bt);var Vt=qa(Rt,bt);return Vt},we=function(Tt,Rt,Pt){if(!Tt||!ro(Rt,Pt))return Pt;var bt=Ao(Rt,Pt);if(!bt)return de(Pt),null;var Vt=qa(Pt,bt);de(Vt);var wn=qa(Pt,Vt);return wn},Re=function(Tt){var Rt=Tt.scrollJumpRequest;if(Rt){var Pt=oi(Tt.impact);Pt||He(!1);var bt=ye(Tt.dimensions.droppables[Pt],Rt);if(bt){var Vt=Tt.viewport,wn=we(Tt.isWindowScrollAllowed,Vt,bt);wn&&Pe(Tt,wn)}}};return Re},eo=function(ee){var ae=ee.scrollDroppable,oe=ee.scrollWindow,de=ee.move,Pe=Ai({scrollWindow:oe,scrollDroppable:ae}),ye=Xr({move:de,scrollWindow:oe,scrollDroppable:ae}),we=function(Tt){if(Tt.phase==="DRAGGING"){if(Tt.movementMode==="FLUID"){Pe.scroll(Tt);return}Tt.scrollJumpRequest&&ye(Tt)}},Re={scroll:we,start:Pe.start,stop:Pe.stop};return Re},co="data-rbd",Eo=function(){var ee=co+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),oo=function(){var ee=co+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Tr=function(){var ee=co+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Ko={contextId:co+"-scroll-container-context-id"},Vo=function(ae){return function(oe){return"["+oe+'="'+ae+'"]'}},ca=function(ae,oe){return ae.map(function(de){var Pe=de.styles[oe];return Pe?de.selector+" { "+Pe+" }":""}).join(" ")},Ja="pointer-events: none;",Pr=function(ee){var ae=Vo(ee),oe=function(){var Re=`
|
|
cursor: -webkit-grab;
|
|
cursor: grab;
|
|
`;return{selector:ae(Eo.contextId),styles:{always:`
|
|
-webkit-touch-callout: none;
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
touch-action: manipulation;
|
|
`,resting:Re,dragging:Ja,dropAnimating:Re}}}(),de=function(){var Re=`
|
|
transition: `+wi.outOfTheWay+`;
|
|
`;return{selector:ae(oo.contextId),styles:{dragging:Re,dropAnimating:Re,userCancel:Re}}}(),Pe={selector:ae(Tr.contextId),styles:{always:"overflow-anchor: none;"}},ye={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,ye];return{always:ca(we,"always"),resting:ca(we,"resting"),dragging:ca(we,"dragging"),dropAnimating:ca(we,"dropAnimating"),userCancel:ca(we,"userCancel")}},Er=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,Nr=function(){var ae=document.querySelector("head");return ae||He(!1),ae},_r=function(ae){var oe=document.createElement("style");return ae&&oe.setAttribute("nonce",ae),oe.type="text/css",oe};function io(ee,ae){var oe=ht(function(){return Pr(ee)},[ee]),de=(0,x.useRef)(null),Pe=(0,x.useRef)(null),ye=Dt(tn(function(Pt){var bt=Pe.current;bt||He(!1),bt.textContent=Pt}),[]),we=Dt(function(Pt){var bt=de.current;bt||He(!1),bt.textContent=Pt},[]);Er(function(){!de.current&&!Pe.current||He(!1);var Pt=_r(ae),bt=_r(ae);return de.current=Pt,Pe.current=bt,Pt.setAttribute(co+"-always",ee),bt.setAttribute(co+"-dynamic",ee),Nr().appendChild(Pt),Nr().appendChild(bt),we(oe.always),ye(oe.resting),function(){var Vt=function(xa){var Ia=xa.current;Ia||He(!1),Nr().removeChild(Ia),xa.current=null};Vt(de),Vt(Pe)}},[ae,we,ye,oe.always,oe.resting,ee]);var Re=Dt(function(){return ye(oe.dragging)},[ye,oe.dragging]),mt=Dt(function(Pt){if(Pt==="DROP"){ye(oe.dropAnimating);return}ye(oe.userCancel)},[ye,oe.dropAnimating,oe.userCancel]),Tt=Dt(function(){Pe.current&&ye(oe.resting)},[ye,oe.resting]),Rt=ht(function(){return{dragging:Re,dropping:mt,resting:Tt}},[Re,mt,Tt]);return Rt}var bo=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function lo(ee){return ee instanceof bo(ee).HTMLElement}function po(ee,ae){var oe="["+Eo.contextId+'="'+ee+'"]',de=or(document.querySelectorAll(oe));if(!de.length)return null;var Pe=Ta(de,function(ye){return ye.getAttribute(Eo.draggableId)===ae});return!Pe||!lo(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),ye=Dt(function(bt,Vt){var wn={id:bt,focus:Vt};return ae.current[bt]=wn,function(){var Ia=ae.current,Ra=Ia[bt];Ra!==wn&&delete Ia[bt]}},[]),we=Dt(function(bt){var Vt=po(ee,bt);Vt&&Vt!==document.activeElement&&Vt.focus()},[ee]),Re=Dt(function(bt,Vt){oe.current===bt&&(oe.current=Vt)},[]),mt=Dt(function(){de.current||Pe.current&&(de.current=requestAnimationFrame(function(){de.current=null;var bt=oe.current;bt&&we(bt)}))},[we]),Tt=Dt(function(bt){oe.current=null;var Vt=document.activeElement;Vt&&Vt.getAttribute(Eo.draggableId)===bt&&(oe.current=bt)},[]);Er(function(){return Pe.current=!0,function(){Pe.current=!1;var bt=de.current;bt&&cancelAnimationFrame(bt)}},[]);var Rt=ht(function(){return{register:ye,tryRecordFocus:Tt,tryRestoreFocusRecorded:mt,tryShiftRecord:Re}},[ye,Tt,mt,Re]);return Rt}function zo(){var ee={draggables:{},droppables:{}},ae=[];function oe(Pt){return ae.push(Pt),function(){var Vt=ae.indexOf(Pt);Vt!==-1&&ae.splice(Vt,1)}}function de(Pt){ae.length&&ae.forEach(function(bt){return bt(Pt)})}function Pe(Pt){return ee.draggables[Pt]||null}function ye(Pt){var bt=Pe(Pt);return bt||He(!1),bt}var we={register:function(bt){ee.draggables[bt.descriptor.id]=bt,de({type:"ADDITION",value:bt})},update:function(bt,Vt){var wn=ee.draggables[Vt.descriptor.id];wn&&wn.uniqueId===bt.uniqueId&&(delete ee.draggables[Vt.descriptor.id],ee.draggables[bt.descriptor.id]=bt)},unregister:function(bt){var Vt=bt.descriptor.id,wn=Pe(Vt);wn&&bt.uniqueId===wn.uniqueId&&(delete ee.draggables[Vt],de({type:"REMOVAL",value:bt}))},getById:ye,findById:Pe,exists:function(bt){return!!Pe(bt)},getAllByType:function(bt){return br(ee.draggables).filter(function(Vt){return Vt.descriptor.type===bt})}};function Re(Pt){return ee.droppables[Pt]||null}function mt(Pt){var bt=Re(Pt);return bt||He(!1),bt}var Tt={register:function(bt){ee.droppables[bt.descriptor.id]=bt},unregister:function(bt){var Vt=Re(bt.descriptor.id);Vt&&bt.uniqueId===Vt.uniqueId&&delete ee.droppables[bt.descriptor.id]},getById:mt,findById:Re,exists:function(bt){return!!Re(bt)},getAllByType:function(bt){return br(ee.droppables).filter(function(Vt){return Vt.descriptor.type===bt})}};function Rt(){ee.draggables={},ee.droppables={},ae.length=0}return{draggable:we,droppable:Tt,subscribe:oe,clean:Rt}}function ni(){var ee=ht(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||He(!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 fo(ee){var ae=ht(function(){return Kr(ee)},[ee]),oe=(0,x.useRef)(null);(0,x.useEffect)(function(){var ye=document.createElement("div");return oe.current=ye,ye.id=ae,ye.setAttribute("aria-live","assertive"),ye.setAttribute("aria-atomic","true"),(0,Me.Z)(ye.style,Xi),fi().appendChild(ye),function(){setTimeout(function(){var mt=fi();mt.contains(ye)&&mt.removeChild(ye),ye===oe.current&&(oe.current=null)})}},[ae]);var de=Dt(function(Pe){var ye=oe.current;if(ye){ye.textContent=Pe;return}},[]);return de}var Mo=0,Co={separator:"::"};function Wo(){Mo=0}function Uo(ee,ae){return ae===void 0&&(ae=Co),ht(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=Uo("hidden-text",{separator:"-"}),Pe=ht(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 mt=fi();mt.contains(we)&&mt.removeChild(we)}},[Pe,oe]),Pe}var zi=x.createContext(null),zl={react:"^16.8.5","react-dom":"^16.8.5"},ml=/(\d+)\.(\d+)\.(\d+)/,fl=function(ae){var oe=ml.exec(ae);oe==null&&He(!1);var de=Number(oe[1]),Pe=Number(oe[2]),ye=Number(oe[3]);return{major:de,minor:Pe,patch:ye,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 Qs(){qi(function(){Yi(zl.react,x.version),Is(document)},[])}function _l(ee){var ae=(0,x.useRef)(ee);return(0,x.useEffect)(function(){ae.current=ee}),ae}function jl(){var ee=null;function ae(){return!!ee}function oe(we){return we===ee}function de(we){ee&&He(!1);var Re={abandon:we};return ee=Re,Re}function Pe(){ee||He(!1),ee=null}function ye(){ee&&(ee.abandon(),Pe())}return{isClaimed:ae,isActive:oe,claim:de,release:Pe,tryAbandon:ye}}var Ls=9,Js=13,Hl=27,fs=32,$s=33,Xs=34,Ys=35,Os=36,Gl=37,ps=38,vs=39,Rs=40,hl,Ts=(hl={},hl[Js]=!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=Ta(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,mt=we.clientX,Tt=we.clientY;if(Re===Ss){var Rt={x:mt,y:Tt},Pt=de();if(Pt.type==="DRAGGING"){we.preventDefault(),Pt.actions.move(Rt);return}Pt.type!=="PENDING"&&He(!1);var bt=Pt.point;if(Ms(bt,Rt)){we.preventDefault();var Vt=Pt.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===Hl){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"&&He(!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)(Jn),de=ht(function(){return{eventName:"mousedown",fn:function(Pt){if(!Pt.defaultPrevented&&Pt.button===Ss&&!(Pt.ctrlKey||Pt.metaKey||Pt.shiftKey||Pt.altKey)){var bt=ee.findClosestDraggableId(Pt);if(bt){var Vt=ee.tryGetLock(bt,we,{sourceEvent:Pt});if(Vt){Pt.preventDefault();var wn={x:Pt.clientX,y:Pt.clientY};oe.current(),Tt(Vt,wn)}}}}}},[ee]),Pe=ht(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Pt){if(!Pt.defaultPrevented){var bt=ee.findClosestDraggableId(Pt);if(bt){var Vt=ee.findOptionsForDraggable(bt);Vt&&(Vt.shouldRespectForcePress||ee.canGetLock(bt)&&Pt.preventDefault())}}}}},[ee]),ye=Dt(function(){var Pt={passive:!1,capture:!0};oe.current=zn(window,[Pe,de],Pt)},[Pe,de]),we=Dt(function(){var Rt=ae.current;Rt.type!=="IDLE"&&(ae.current=Ul,oe.current(),ye())},[ye]),Re=Dt(function(){var Rt=ae.current;we(),Rt.type==="DRAGGING"&&Rt.actions.cancel({shouldBlockNextClick:!0}),Rt.type==="PENDING"&&Rt.actions.abort()},[we]),mt=Dt(function(){var Pt={capture:!0,passive:!1},bt=ks({cancel:Re,completed:we,getPhase:function(){return ae.current},setPhase:function(wn){ae.current=wn}});oe.current=zn(window,bt,Pt)},[Re,we]),Tt=Dt(function(Pt,bt){ae.current.type!=="IDLE"&&He(!1),ae.current={type:"PENDING",point:bt,actions:Pt},mt()},[mt]);Er(function(){return ye(),function(){oe.current()}},[ye])}var $r;function wo(){}var Pi=($r={},$r[Xs]=!0,$r[$s]=!0,$r[Os]=!0,$r[Ys]=!0,$r);function _i(ee,ae){function oe(){ae(),ee.cancel()}function de(){ae(),ee.drop()}return[{eventName:"keydown",fn:function(ye){if(ye.keyCode===Hl){ye.preventDefault(),oe();return}if(ye.keyCode===fs){ye.preventDefault(),de();return}if(ye.keyCode===Rs){ye.preventDefault(),ee.moveDown();return}if(ye.keyCode===ps){ye.preventDefault(),ee.moveUp();return}if(ye.keyCode===vs){ye.preventDefault(),ee.moveRight();return}if(ye.keyCode===Gl){ye.preventDefault(),ee.moveLeft();return}if(Pi[ye.keyCode]){ye.preventDefault();return}hs(ye)}},{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 ji(ee){var ae=(0,x.useRef)(wo),oe=ht(function(){return{eventName:"keydown",fn:function(ye){if(ye.defaultPrevented||ye.keyCode!==fs)return;var we=ee.findClosestDraggableId(ye);if(!we)return;var Re=ee.tryGetLock(we,Rt,{sourceEvent:ye});if(!Re)return;ye.preventDefault();var mt=!0,Tt=Re.snapLift();ae.current();function Rt(){mt||He(!1),mt=!1,ae.current(),de()}ae.current=zn(window,_i(Tt,Rt),{capture:!0,passive:!1})}}},[ee]),de=Dt(function(){var ye={passive:!1,capture:!0};ae.current=zn(window,[oe],ye)},[oe]);Er(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===Hl&&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(ye){var we=de();if(we.type!=="DRAGGING"){ae();return}we.hasMoved=!0;var Re=ye.touches[0],mt=Re.clientX,Tt=Re.clientY,Rt={x:mt,y:Tt};ye.preventDefault(),we.actions.move(Rt)}},{eventName:"touchend",fn:function(ye){var we=de();if(we.type!=="DRAGGING"){ae();return}ye.preventDefault(),we.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"touchcancel",fn:function(ye){if(de().type!=="DRAGGING"){ae();return}ye.preventDefault(),ae()}},{eventName:"touchforcechange",fn:function(ye){var we=de();we.type==="IDLE"&&He(!1);var Re=ye.touches[0];if(Re){var mt=Re.force>=ys;if(mt){var Tt=we.actions.shouldRespectForcePress();if(we.type==="PENDING"){Tt&&ae();return}if(Tt){if(we.hasMoved){ye.preventDefault();return}ae();return}ye.preventDefault()}}}},{eventName:Kl,fn:ae}]}function Lu(ee){var ae=(0,x.useRef)(Vl),oe=(0,x.useRef)(Jn),de=Dt(function(){return ae.current},[]),Pe=Dt(function(Vt){ae.current=Vt},[]),ye=ht(function(){return{eventName:"touchstart",fn:function(Vt){if(!Vt.defaultPrevented){var wn=ee.findClosestDraggableId(Vt);if(wn){var xa=ee.tryGetLock(wn,Re,{sourceEvent:Vt});if(xa){var Ia=Vt.touches[0],Ra=Ia.clientX,Ya=Ia.clientY,ir={x:Ra,y:Ya};oe.current(),Pt(xa,ir)}}}}}},[ee]),we=Dt(function(){var Vt={capture:!0,passive:!1};oe.current=zn(window,[ye],Vt)},[ye]),Re=Dt(function(){var bt=ae.current;bt.type!=="IDLE"&&(bt.type==="PENDING"&&clearTimeout(bt.longPressTimerId),Pe(Vl),oe.current(),we())},[we,Pe]),mt=Dt(function(){var bt=ae.current;Re(),bt.type==="DRAGGING"&&bt.actions.cancel({shouldBlockNextClick:!0}),bt.type==="PENDING"&&bt.actions.abort()},[Re]),Tt=Dt(function(){var Vt={capture:!0,passive:!1},wn={cancel:mt,completed:Re,getPhase:de},xa=zn(window,bs(wn),Vt),Ia=zn(window,Es(wn),Vt);oe.current=function(){xa(),Ia()}},[mt,de,Re]),Rt=Dt(function(){var Vt=de();Vt.type!=="PENDING"&&He(!1);var wn=Vt.actions.fluidLift(Vt.point);Pe({type:"DRAGGING",actions:wn,hasMoved:!1})},[de,Pe]),Pt=Dt(function(Vt,wn){de().type!=="IDLE"&&He(!1);var xa=setTimeout(Rt,Ps);Pe({type:"PENDING",point:wn,actions:Vt,longPressTimerId:xa}),Tt()},[Tt,de,Pe,Rt]);Er(function(){return we(),function(){oe.current();var wn=de();wn.type==="PENDING"&&(clearTimeout(wn.longPressTimerId),Pe(Vl))}},[de,we,Pe]),Er(function(){var Vt=zn(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 lo(oe)?gu(ee,oe):!1}var Mu=function(ee){return Rn(ee.getBoundingClientRect()).center};function ku(ee){return ee instanceof bo(ee).Element}var Zu=function(){var ee="matches";if(typeof document=="undefined")return ee;var ae=[ee,"msMatchesSelector","webkitMatchesSelector"],oe=Ta(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 zu(ee,ae){return ee.closest?ee.closest(ae):mu(ee,ae)}function _u(ee){return"["+Eo.contextId+'="'+ee+'"]'}function ju(ee,ae){var oe=ae.target;if(!ku(oe))return null;var de=_u(ee),Pe=zu(oe,de);return!Pe||!lo(Pe)?null:Pe}function Hu(ee,ae){var oe=ju(ee,ae);return oe?oe.getAttribute(Eo.draggableId):null}function Gu(ee,ae){var oe="["+oo.contextId+'="'+ee+'"]',de=or(document.querySelectorAll(oe)),Pe=Ta(de,function(ye){return ye.getAttribute(oo.id)===ae});return!Pe||!lo(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 ye=de.draggable.findById(Pe);return!(!ye||!ye.options.isEnabled||!mr(oe.getState(),Pe))}function Wu(ee){var ae=ee.lockAPI,oe=ee.contextId,de=ee.store,Pe=ee.registry,ye=ee.draggableId,we=ee.forceSensorStop,Re=ee.sourceEvent,mt=fu({lockAPI:ae,store:de,registry:Pe,draggableId:ye});if(!mt)return null;var Tt=Pe.draggable.getById(ye),Rt=Gu(oe,Tt.descriptor.id);if(!Rt||Re&&!Tt.options.canDragInteractiveElements&&Tu(Rt,Re))return null;var Pt=ae.claim(we||Jn),bt="PRE_DRAG";function Vt(){return Tt.options.shouldRespectForcePress}function wn(){return ae.isActive(Pt)}function xa(Mr,to){Zs({expected:Mr,phase:bt,isLockActive:wn,shouldWarn:!0})&&de.dispatch(to())}var Ia=xa.bind(null,"DRAGGING");function Ra(Mr){function to(){ae.release(),bt="COMPLETED"}bt!=="PRE_DRAG"&&(to(),bt!=="PRE_DRAG"&&He(!1)),de.dispatch(is(Mr.liftActionArgs)),bt="DRAGGING";function _o(so,jo){if(jo===void 0&&(jo={shouldBlockNextClick:!1}),Mr.cleanup(),jo.shouldBlockNextClick){var ai=zn(window,[{eventName:"click",fn:Ku,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(ai)}to(),de.dispatch(Ml({reason:so}))}return(0,Me.Z)({isActive:function(){return Zs({expected:"DRAGGING",phase:bt,isLockActive:wn,shouldWarn:!1})},shouldRespectForcePress:Vt,drop:function(jo){return _o("DROP",jo)},cancel:function(jo){return _o("CANCEL",jo)}},Mr.actions)}function Ya(Mr){var to=fn(function(so){Ia(function(){return Ll({client:so})})}),_o=Ra({liftActionArgs:{id:ye,clientSelection:Mr,movementMode:"FLUID"},cleanup:function(){return to.cancel()},actions:{move:to}});return(0,Me.Z)({},_o,{move:to})}function ir(){var Mr={moveUp:function(){return Ia(Ci)},moveRight:function(){return Ia(Qi)},moveDown:function(){return Ia(Oo)},moveLeft:function(){return Ia(ds)}};return Ra({liftActionArgs:{id:ye,clientSelection:Mu(Rt),movementMode:"SNAP"},cleanup:Jn,actions:Mr})}function dr(){var Mr=Zs({expected:"PRE_DRAG",phase:bt,isLockActive:wn,shouldWarn:!0});Mr&&ae.release()}var jr={isActive:function(){return Zs({expected:"PRE_DRAG",phase:bt,isLockActive:wn,shouldWarn:!1})},shouldRespectForcePress:Vt,fluidLift:Ya,snapLift:ir,abort:dr};return jr}var Uu=[qs,ji,Lu];function Vu(ee){var ae=ee.contextId,oe=ee.store,de=ee.registry,Pe=ee.customSensors,ye=ee.enableDefaultSensors,we=[].concat(ye?Uu:[],Pe||[]),Re=(0,x.useState)(function(){return jl()})[0],mt=Dt(function(Ya,ir){Ya.isDragging&&!ir.isDragging&&Re.tryAbandon()},[Re]);Er(function(){var Ya=oe.getState(),ir=oe.subscribe(function(){var dr=oe.getState();mt(Ya,dr),Ya=dr});return ir},[Re,oe,mt]),Er(function(){return Re.tryAbandon},[Re.tryAbandon]);var Tt=Dt(function(Ra){return fu({lockAPI:Re,registry:de,store:oe,draggableId:Ra})},[Re,de,oe]),Rt=Dt(function(Ra,Ya,ir){return Wu({lockAPI:Re,registry:de,contextId:ae,store:oe,draggableId:Ra,forceSensorStop:Ya,sourceEvent:ir&&ir.sourceEvent?ir.sourceEvent:null})},[ae,Re,de,oe]),Pt=Dt(function(Ra){return Hu(ae,Ra)},[ae]),bt=Dt(function(Ra){var Ya=de.draggable.findById(Ra);return Ya?Ya.options:null},[de.draggable]),Vt=Dt(function(){Re.isClaimed()&&(Re.tryAbandon(),oe.getState().phase!=="IDLE"&&oe.dispatch(Ol()))},[Re,oe]),wn=Dt(Re.isClaimed,[Re]),xa=ht(function(){return{canGetLock:Tt,tryGetLock:Rt,findClosestDraggableId:Pt,findOptionsForDraggable:bt,tryReleaseLock:Vt,isLockClaimed:wn}},[Tt,Rt,Pt,bt,Vt,wn]);Ou(we);for(var Ia=0;Ia<we.length;Ia++)we[Ia](xa)}var Qu=function(ae){return{onBeforeCapture:ae.onBeforeCapture,onBeforeDragStart:ae.onBeforeDragStart,onDragStart:ae.onDragStart,onDragEnd:ae.onDragEnd,onDragUpdate:ae.onDragUpdate}};function Cs(ee){return ee.current||He(!1),ee.current}function Ju(ee){var ae=ee.contextId,oe=ee.setCallbacks,de=ee.sensors,Pe=ee.nonce,ye=ee.dragHandleUsageInstructions,we=(0,x.useRef)(null);Qs();var Re=_l(ee),mt=Dt(function(){return Qu(Re.current)},[Re]),Tt=fo(ae),Rt=Si({contextId:ae,text:ye}),Pt=io(ae,Pe),bt=Dt(function(so){Cs(we).dispatch(so)},[]),Vt=ht(function(){return(0,Le.DE)({publishWhileDragging:ls,updateDroppableScroll:ss,updateDroppableIsEnabled:Il,updateDroppableIsCombineEnabled:Ns,collectionStarting:Ds},bt)},[bt]),wn=ni(),xa=ht(function(){return Wa(wn,Vt)},[wn,Vt]),Ia=ht(function(){return eo((0,Me.Z)({scrollWindow:hr,scrollDroppable:xa.scrollDroppable},(0,Le.DE)({move:Ll},bt)))},[xa.scrollDroppable,bt]),Ra=ii(ae),Ya=ht(function(){return Ha({announce:Tt,autoScroller:Ia,dimensionMarshal:xa,focusMarshal:Ra,getResponders:mt,styleMarshal:Pt})},[Tt,Ia,xa,Ra,mt,Pt]);we.current=Ya;var ir=Dt(function(){var so=Cs(we),jo=so.getState();jo.phase!=="IDLE"&&so.dispatch(Ol())},[]),dr=Dt(function(){var so=Cs(we).getState();return so.isDragging||so.phase==="DROP_ANIMATING"},[]),jr=ht(function(){return{isDragging:dr,tryAbort:ir}},[dr,ir]);oe(jr);var Mr=Dt(function(so){return mr(Cs(we).getState(),so)},[]),to=Dt(function(){return Yo(Cs(we).getState())},[]),_o=ht(function(){return{marshal:xa,focus:Ra,contextId:ae,canLift:Mr,isMovementAllowed:to,dragHandleUsageInstructionsId:Rt,registry:wn}},[ae,xa,Rt,Ra,Mr,to,wn]);return Vu({contextId:ae,store:Ya,registry:wn,customSensors:de,enableDefaultSensors:ee.enableDefaultSensors!==!1}),(0,x.useEffect)(function(){return ir},[ir]),x.createElement(zi.Provider,{value:_o},x.createElement(b,{context:qo,store:Ya},ee.children))}var pu=0;function $u(){pu=0}function Xu(){return ht(function(){return""+pu++},[])}function $d(){$u(),Wo()}function Yu(ee){var ae=Xu(),oe=ee.dragHandleUsageInstructions||pn.dragHandleUsageInstructions;return x.createElement(rn,null,function(de){return x.createElement(Ju,{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,ye=ee.direction,we=ee.client,Re=ee.page,mt=ee.closest,Tt=function(){if(!mt)return null;var Vt=mt.scrollSize,wn=mt.client,xa=Sa({scrollHeight:Vt.scrollHeight,scrollWidth:Vt.scrollWidth,height:wn.paddingBox.height,width:wn.paddingBox.width});return{pageMarginBox:mt.page.marginBox,frameClient:wn,scrollSize:Vt,shouldClipSubject:mt.shouldClipSubject,scroll:{initial:mt.scroll,current:mt.scroll,max:xa,diff:{value:Na,displacement:Na}}}}(),Rt=ye==="vertical"?Qo:Ho,Pt=yr({page:Re,withPlaceholder:null,axis:Rt,frame:Tt}),bt={descriptor:ae,isCombineEnabled:de,isFixedOnPage:Pe,axis:Rt,isEnabled:oe,client:we,page:Re,frame:Tt,subject:Pt};return bt},ld=function(ae,oe){var de=Qn(ae);if(!oe||ae!==oe)return de;var Pe=de.paddingBox.top-oe.scrollTop,ye=de.paddingBox.left-oe.scrollLeft,we=Pe+oe.scrollHeight,Re=ye+oe.scrollWidth,mt={top:Pe,right:Re,bottom:we,left:ye},Tt=ta(mt,de.border),Rt=Ea({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,ye=ee.direction,we=ee.isDropDisabled,Re=ee.isCombineEnabled,mt=ee.shouldClipSubject,Tt=de.closestScrollable,Rt=ld(ae,Tt),Pt=bn(Rt,Pe),bt=function(){if(!Tt)return null;var wn=Qn(Tt),xa={scrollHeight:Tt.scrollHeight,scrollWidth:Tt.scrollWidth};return{client:wn,page:bn(wn,Pe),scroll:tu(Tt),scrollSize:xa,shouldClipSubject:mt}}(),Vt=id({descriptor:oe,isEnabled:!we,isCombineEnabled:Re,isFixedOnPage:de.isFixedOnPage,direction:ye,client:Rt,page:Pt,closest:bt});return Vt},ud={passive:!1},dd={passive:!0},Pu=function(ee){return ee.shouldPublishImmediately?ud:dd};function zs(ee){var ae=(0,x.useContext)(ee);return ae||He(!1),ae}var _s=function(ae){return ae&&ae.env.closestScrollable||null};function cd(ee){var ae=(0,x.useRef)(null),oe=zs(zi),de=Uo("droppable"),Pe=oe.registry,ye=oe.marshal,we=_l(ee),Re=ht(function(){return{id:ee.droppableId,type:ee.type,mode:ee.mode}},[ee.droppableId,ee.mode,ee.type]),mt=(0,x.useRef)(Re),Tt=ht(function(){return tn(function(dr,jr){ae.current||He(!1);var Mr={x:dr,y:jr};ye.updateDroppableScroll(Re.id,Mr)})},[Re.id,ye]),Rt=Dt(function(){var dr=ae.current;return!dr||!dr.env.closestScrollable?Na:tu(dr.env.closestScrollable)},[]),Pt=Dt(function(){var dr=Rt();Tt(dr.x,dr.y)},[Rt,Tt]),bt=ht(function(){return fn(Pt)},[Pt]),Vt=Dt(function(){var dr=ae.current,jr=_s(dr);dr&&jr||He(!1);var Mr=dr.scrollOptions;if(Mr.shouldPublishImmediately){Pt();return}bt()},[bt,Pt]),wn=Dt(function(dr,jr){ae.current&&He(!1);var Mr=we.current,to=Mr.getDroppableRef();to||He(!1);var _o=od(to),so={ref:to,descriptor:Re,env:_o,scrollOptions:jr};ae.current=so;var jo=sd({ref:to,descriptor:Re,env:_o,windowScroll:dr,direction:Mr.direction,isDropDisabled:Mr.isDropDisabled,isCombineEnabled:Mr.isCombineEnabled,shouldClipSubject:!Mr.ignoreContainerClipping}),ai=_o.closestScrollable;return ai&&(ai.setAttribute(Ko.contextId,oe.contextId),ai.addEventListener("scroll",Vt,Pu(so.scrollOptions))),jo},[oe.contextId,Re,Vt,we]),xa=Dt(function(){var dr=ae.current,jr=_s(dr);return dr&&jr||He(!1),tu(jr)},[]),Ia=Dt(function(){var dr=ae.current;dr||He(!1);var jr=_s(dr);ae.current=null,jr&&(bt.cancel(),jr.removeAttribute(Ko.contextId),jr.removeEventListener("scroll",Vt,Pu(dr.scrollOptions)))},[Vt,bt]),Ra=Dt(function(dr){var jr=ae.current;jr||He(!1);var Mr=_s(jr);Mr||He(!1),Mr.scrollTop+=dr.y,Mr.scrollLeft+=dr.x},[]),Ya=ht(function(){return{getDimensionAndWatchScroll:wn,getScrollWhileDragging:xa,dragStopped:Ia,scroll:Ra}},[Ia,wn,xa,Ra]),ir=ht(function(){return{uniqueId:de,descriptor:Re,callbacks:Ya}},[Ya,Re,de]);Er(function(){return mt.current=ir.descriptor,Pe.droppable.register(ir),function(){ae.current&&Ia(),Pe.droppable.unregister(ir)}},[Ya,Re,Ia,ir,ye,Pe.droppable]),Er(function(){ae.current&&ye.updateDroppableIsEnabled(mt.current.id,!ee.isDropDisabled)},[ee.isDropDisabled,ye]),Er(function(){ae.current&&ye.updateDroppableIsCombineEnabled(mt.current.id,ee.isCombineEnabled)},[ee.isCombineEnabled,ye])}function nu(){}var yu={width:0,height:0,margin:lr},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,ye=gd({isAnimatingOpenOnMount:oe,placeholder:de,animate:Pe});return{display:de.display,boxSizing:"border-box",width:ye.width,height:ye.height,marginTop:ye.margin.top,marginRight:ye.margin.right,marginBottom:ye.margin.bottom,marginLeft:ye.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,ye=ee.onClose,we=ee.contextId,Re=(0,x.useState)(ee.animate==="open"),mt=Re[0],Tt=Re[1];(0,x.useEffect)(function(){return mt?de!=="open"?(oe(),Tt(!1),nu):ae.current?nu:(ae.current=setTimeout(function(){ae.current=null,Tt(!1)}),oe):nu},[de,mt,oe]);var Rt=Dt(function(bt){bt.propertyName==="height"&&(Pe(),de==="close"&&ye())},[de,ye,Pe]),Pt=md({isAnimatingOpenOnMount:mt,animate:ee.animate,placeholder:ee.placeholder});return x.createElement(ee.placeholder.tagName,{style:Pt,"data-rbd-placeholder-context-id":we,onTransitionEnd:Rt,ref:ee.innerRef})}var pd=x.memo(fd),au=x.createContext(null);function Eu(ee){ee&&lo(ee)||He(!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||He(!1),typeof oe.droppableId!="string"&&He(!1)},function(ae){var oe=ae.props;ru(oe.isDropDisabled)||He(!1),ru(oe.isCombineEnabled)||He(!1),ru(oe.ignoreContainerClipping)||He(!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||He(!1)},function(ae){var oe=ae.getPlaceholderRef;oe()&&He(!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,ye=new Array(Pe),we=0;we<Pe;we++)ye[we]=arguments[we];return de=ee.call.apply(ee,[this].concat(ye))||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,ye){return Pe.shouldAnimate?Pe.on?{isVisible:!0,data:Pe.on,animate:"open"}:ye.isVisible?{isVisible:!0,data:ye.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,ye=ee.dropping,we=!!Pe,Re=Cd(ee),mt=!!ye,Tt=mt?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,ye),transform:Tt,opacity:bd(we,mt),zIndex:mt?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=Na);var de=window.getComputedStyle(ae),Pe=ae.getBoundingClientRect(),ye=Mn(Pe,de),we=bn(ye,oe),Re={client:ye,tagName:ae.tagName.toLowerCase(),display:de.display},mt={x:ye.marginBox.width,y:ye.marginBox.height},Tt={descriptor:ee,placeholder:Re,displaceBy:mt,client:ye,page:we};return Tt}function Ad(ee){var ae=Uo("draggable"),oe=ee.descriptor,de=ee.registry,Pe=ee.getDraggableRef,ye=ee.canDragInteractiveElements,we=ee.shouldRespectForcePress,Re=ee.isEnabled,mt=ht(function(){return{canDragInteractiveElements:ye,shouldRespectForcePress:we,isEnabled:Re}},[ye,Re,we]),Tt=Dt(function(Vt){var wn=Pe();return wn||He(!1),wd(oe,wn,Vt)},[oe,Pe]),Rt=ht(function(){return{uniqueId:ae,descriptor:oe,options:mt,getDimension:Tt}},[oe,Tt,mt,ae]),Pt=(0,x.useRef)(Rt),bt=(0,x.useRef)(!0);Er(function(){return de.draggable.register(Pt.current),function(){return de.draggable.unregister(Pt.current)}},[de.draggable]),Er(function(){if(bt.current){bt.current=!1;return}var Vt=Pt.current;Pt.current=Rt,de.draggable.update(Rt,Vt)},[Rt,de.draggable])}function Dd(ee,ae,oe){qi(function(){function de(ye){return"Draggable[id: "+ye+"]: "}var Pe=ee.draggableId;Pe||He(!1),typeof Pe!="string"&&He(!1),Ar(ee.index)||He(!1),ee.mapped.type!=="DRAGGING"&&(Eu(oe()),ee.isEnabled&&(po(ae,Pe)||He(!1)))})}function Nd(ee){}function Id(ee){ee.preventDefault()}function Ld(ee){var ae=(0,x.useRef)(null),oe=Dt(function(so){ae.current=so},[]),de=Dt(function(){return ae.current},[]),Pe=zs(zi),ye=Pe.contextId,we=Pe.dragHandleUsageInstructionsId,Re=Pe.registry,mt=zs(au),Tt=mt.type,Rt=mt.droppableId,Pt=ht(function(){return{id:ee.draggableId,index:ee.index,type:Tt,droppableId:Rt}},[ee.draggableId,ee.index,Tt,Rt]),bt=ee.children,Vt=ee.draggableId,wn=ee.isEnabled,xa=ee.shouldRespectForcePress,Ia=ee.canDragInteractiveElements,Ra=ee.isClone,Ya=ee.mapped,ir=ee.dropAnimationFinished;if(Dd(ee,ye,de),Nd(Ra),!Ra){var dr=ht(function(){return{descriptor:Pt,registry:Re,getDraggableRef:de,canDragInteractiveElements:Ia,shouldRespectForcePress:xa,isEnabled:wn}},[Pt,Re,de,Ia,xa,wn]);Ad(dr)}var jr=ht(function(){return wn?{tabIndex:0,role:"button","aria-describedby":we,"data-rbd-drag-handle-draggable-id":Vt,"data-rbd-drag-handle-context-id":ye,draggable:!1,onDragStart:Id}:null},[ye,we,Vt,wn]),Mr=Dt(function(so){Ya.type==="DRAGGING"&&Ya.dropping&&so.propertyName==="transform"&&ir()},[ir,Ya]),to=ht(function(){var so=Fd(Ya),jo=Ya.type==="DRAGGING"&&Ya.dropping?Mr:null,ai={innerRef:oe,draggableProps:{"data-rbd-draggable-context-id":ye,"data-rbd-draggable-id":Vt,style:so,onTransitionEnd:jo},dragHandleProps:jr};return ai},[ye,jr,Vt,Ya,Mr,oe]),_o=ht(function(){return{draggableId:Pt.id,type:Pt.type,source:{index:Pt.index,droppableId:Pt.droppableId}}},[Pt.droppableId,Pt.id,Pt.index,Pt.type]);return bt(to,Ya.snapshot,_o)}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,ye){return{x:Pe,y:ye}}),ae=tn(function(Pe,ye,we,Re,mt){return{isDragging:!0,isClone:ye,isDropAnimating:!!mt,dropAnimation:mt,mode:Pe,draggingOver:we,combineWith:Re,combineTargetFor:null}}),oe=tn(function(Pe,ye,we,Re,mt,Tt,Rt){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:mt,combineWith:Tt,mode:ye,offset:Pe,dimension:we,forceShouldAnimate:Rt,snapshot:ae(ye,Re,mt,Tt,null)}}}),de=function(ye,we){if(ye.isDragging){if(ye.critical.draggable.id!==we.draggableId)return null;var Re=ye.current.client.offset,mt=ye.dimensions.draggables[we.draggableId],Tt=oi(ye.impact),Rt=Rd(ye.impact),Pt=ye.forceShouldAnimate;return oe(ee(Re.x,Re.y),ye.movementMode,mt,we.isClone,Tt,Rt,Pt)}if(ye.phase==="DROP_ANIMATING"){var bt=ye.completed;if(bt.result.draggableId!==we.draggableId)return null;var Vt=we.isClone,wn=ye.dimensions.draggables[we.draggableId],xa=bt.result,Ia=xa.mode,Ra=xu(xa),Ya=Od(xa),ir=ye.dropDuration,dr={duration:ir,curve:Zl.drop,moveTo:ye.newHomeClientOffset,opacity:Ya?Zi.opacity.drop:null,scale:Ya?Zi.scale.drop:null};return{mapped:{type:"DRAGGING",offset:ye.newHomeClientOffset,dimension:wn,dropping:dr,draggingOver:Ra,combineWith:Ya,mode:Ia,forceShouldAnimate:null,snapshot:ae(Ia,Vt,Ra,Ya,dr)}}}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:Na,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,mt){return Re===void 0&&(Re=null),{mapped:{type:"SECONDARY",offset:we,combineTargetFor:Re,shouldAnimateDisplacement:mt,snapshot:ae(Re)}}}),de=function(Re){return Re?oe(Na,Re,!0):null},Pe=function(Re,mt,Tt,Rt){var Pt=Tt.displaced.visible[Re],bt=!!(Rt.inVirtualList&&Rt.effected[Re]),Vt=wr(Tt),wn=Vt&&Vt.draggableId===Re?mt:null;if(!Pt){if(!bt)return de(wn);if(Tt.displaced.invisible[Re])return null;var xa=Wn(Rt.displacedBy.point),Ia=ee(xa.x,xa.y);return oe(Ia,wn,!0)}if(bt)return de(wn);var Ra=Tt.displacedBy.point,Ya=ee(Ra.x,Ra.y);return oe(Ya,wn,Pt.shouldAnimate)},ye=function(Re,mt){if(Re.isDragging)return Re.critical.draggable.id===mt.draggableId?null:Pe(mt.draggableId,Re.critical.draggable.id,Re.impact,Re.afterCritical);if(Re.phase==="DROP_ANIMATING"){var Tt=Re.completed;return Tt.result.draggableId===mt.draggableId?null:Pe(mt.draggableId,Tt.result.draggableId,Tt.impact,Tt.afterCritical)}return null};return ye}var Zd=function(){var ae=Td(),oe=kd(),de=function(ye,we){return ae(ye,we)||oe(ye,we)||Md};return de},zd={dropAnimationFinished:kl},_d=Fe(Zd,zd,null,{context:qo,pure:!0,areStatePropsEqual:Cu})(Ld);function Fu(ee){var ae=zs(au),oe=ae.isUsingCloneFor;return oe===ee.draggableId&&!ee.isClone?null:x.createElement(_d,ee)}function jd(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 Hd(ee){var ae=(0,x.useContext)(zi);ae||He(!1);var oe=ae.contextId,de=ae.isMovementAllowed,Pe=(0,x.useRef)(null),ye=(0,x.useRef)(null),we=ee.children,Re=ee.droppableId,mt=ee.type,Tt=ee.mode,Rt=ee.direction,Pt=ee.ignoreContainerClipping,bt=ee.isDropDisabled,Vt=ee.isCombineEnabled,wn=ee.snapshot,xa=ee.useClone,Ia=ee.updateViewportMaxScroll,Ra=ee.getContainerForClone,Ya=Dt(function(){return Pe.current},[]),ir=Dt(function(li){Pe.current=li},[]),dr=Dt(function(){return ye.current},[]),jr=Dt(function(li){ye.current=li},[]);Pd({props:ee,getDroppableRef:Ya,getPlaceholderRef:dr});var Mr=Dt(function(){de()&&Ia({maxScroll:ma()})},[de,Ia]);cd({droppableId:Re,type:mt,mode:Tt,direction:Rt,isDropDisabled:bt,isCombineEnabled:Vt,ignoreContainerClipping:Pt,getDroppableRef:Ya});var to=x.createElement(yd,{on:ee.placeholder,shouldAnimate:ee.shouldAnimatePlaceholder},function(li){var Hi=li.onClose,Di=li.data,Ei=li.animate;return x.createElement(pd,{placeholder:Di,onClose:Hi,innerRef:jr,animate:Ei,contextId:oe,onTransitionEnd:Mr})}),_o=ht(function(){return{innerRef:ir,placeholder:to,droppableProps:{"data-rbd-droppable-id":Re,"data-rbd-droppable-context-id":oe}}},[oe,Re,to,ir]),so=xa?xa.dragging.draggableId:null,jo=ht(function(){return{droppableId:Re,type:mt,isUsingCloneFor:so}},[Re,so,mt]);function ai(){if(!xa)return null;var li=xa.dragging,Hi=xa.render,Di=x.createElement(Fu,{draggableId:li.draggableId,index:li.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(Ei,Gi){return Hi(Ei,Gi,li)});return gn.createPortal(Di,Ra())}return x.createElement(au.Provider,{value:jo},we(_o,wn),ai())}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,mt,Tt,Rt,Pt){var bt=Rt.descriptor.id,Vt=Rt.descriptor.droppableId===we;if(Vt){var wn=Pt?{render:Pt,dragging:de(Rt.descriptor)}:null,xa={isDraggingOver:mt,draggingOverWith:mt?bt:null,draggingFromThisWith:bt,isUsingPlaceholder:!0};return{placeholder:Rt.placeholder,shouldAnimatePlaceholder:!1,snapshot:xa,useClone:wn}}if(!Re)return oe;if(!Tt)return ae;var Ia={isDraggingOver:mt,draggingOverWith:bt,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Rt.placeholder,shouldAnimatePlaceholder:!0,snapshot:Ia,useClone:null}}),ye=function(Re,mt){var Tt=mt.droppableId,Rt=mt.type,Pt=!mt.isDropDisabled,bt=mt.renderClone;if(Re.isDragging){var Vt=Re.critical;if(!iu(Rt,Vt))return oe;var wn=wu(Vt,Re.dimensions),xa=oi(Re.impact)===Tt;return Pe(Tt,Pt,xa,xa,wn,bt)}if(Re.phase==="DROP_ANIMATING"){var Ia=Re.completed;if(!iu(Rt,Ia.critical))return oe;var Ra=wu(Ia.critical,Re.dimensions);return Pe(Tt,Pt,xu(Ia.result)===Tt,oi(Ia.impact)===Tt,Ra,bt)}if(Re.phase==="IDLE"&&Re.completed&&!Re.shouldFlush){var Ya=Re.completed;if(!iu(Rt,Ya.critical))return oe;var ir=oi(Ya.impact)===Tt,dr=!!(Ya.impact.at&&Ya.impact.at.type==="COMBINE"),jr=Ya.critical.droppable.id===Tt;return ir?dr?ae:oe:jr?ae:oe}return oe};return ye},Kd={updateViewportMaxScroll:ti};function Wd(){return document.body||He(!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})(Hd);Au.defaultProps=Ud},38486:function(Wt,Gt){"use strict";var te;var x=60103,ue=60106,Be=60107,Me=60108,Le=60114,Oe=60109,se=60110,ct=60112,ot=60113,Ve=60120,Ue=60115,tt=60116,$e=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"),ct=E("react.forward_ref"),ot=E("react.suspense"),Ve=E("react.suspense_list"),Ue=E("react.memo"),tt=E("react.lazy"),$e=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 et=Te.$$typeof;switch(et){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 ct:case tt:case Ue:case Oe:return Te;default:return et}}case ue:return et}}}var ne=Oe,re=x,ie=ct,ce=Be,pe=tt,Ee=Ue,Ge=ue,De=Le,Qe=Me,he=ot;te=se,te=ne,te=re,te=ie,te=ce,te=pe,te=Ee,te=Ge,te=De,te=Qe,te=he,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)===ct},te=function(Te){return z(Te)===Be},te=function(Te){return z(Te)===tt},te=function(Te){return z(Te)===Ue},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===tt||Te.$$typeof===Ue||Te.$$typeof===Oe||Te.$$typeof===se||Te.$$typeof===ct||Te.$$typeof===y||Te.$$typeof===$e||Te[0]===le)},te=z},53410:function(Wt,Gt,te){"use strict";Wt.exports=te(38486)},32637:function(Wt,Gt,te){"use strict";Wt.exports=te.p+"static/AssistantCode3.a8740efb.jpeg"},73631:function(Wt){"use strict";Wt.exports="data:image/png;base64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