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

429 lines
1.4 MiB

(self.webpackChunk=self.webpackChunk||[]).push([[3260],{33463:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return se}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Me,ze){return ie.createElement(ye.Z,(0,x.Z)({},Me,{ref:ze,icon:Re}))},se=ie.forwardRef(Te)},28575:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return se}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Me,ze){return ie.createElement(ye.Z,(0,x.Z)({},Me,{ref:ze,icon:Re}))},se=ie.forwardRef(Te)},84249:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return se}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Me,ze){return ie.createElement(ye.Z,(0,x.Z)({},Me,{ref:ze,icon:Re}))},se=ie.forwardRef(Te)},81893:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return se}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Me,ze){return ie.createElement(ye.Z,(0,x.Z)({},Me,{ref:ze,icon:Re}))},se=ie.forwardRef(Te)},90674:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return se}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Me,ze){return ie.createElement(ye.Z,(0,x.Z)({},Me,{ref:ze,icon:Re}))},se=ie.forwardRef(Te)},55304:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return se}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Me,ze){return ie.createElement(ye.Z,(0,x.Z)({},Me,{ref:ze,icon:Re}))},se=ie.forwardRef(Te)},73148:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return se}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Me,ze){return ie.createElement(ye.Z,(0,x.Z)({},Me,{ref:ze,icon:Re}))},se=ie.forwardRef(Te)},56747:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return se}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Me,ze){return ie.createElement(ye.Z,(0,x.Z)({},Me,{ref:ze,icon:Re}))},se=ie.forwardRef(Te)},50881:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return se}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Me,ze){return ie.createElement(ye.Z,(0,x.Z)({},Me,{ref:ze,icon:Re}))},se=ie.forwardRef(Te)},22751:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return se}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Me,ze){return ie.createElement(ye.Z,(0,x.Z)({},Me,{ref:ze,icon:Re}))},se=ie.forwardRef(Te)},24018:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return se}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Me,ze){return ie.createElement(ye.Z,(0,x.Z)({},Me,{ref:ze,icon:Re}))},se=ie.forwardRef(Te)},34182:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return se}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Me,ze){return ie.createElement(ye.Z,(0,x.Z)({},Me,{ref:ze,icon:Re}))},se=ie.forwardRef(Te)},40043:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return se}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Me,ze){return ie.createElement(ye.Z,(0,x.Z)({},Me,{ref:ze,icon:Re}))},se=ie.forwardRef(Te)},74664:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return se}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Me,ze){return ie.createElement(ye.Z,(0,x.Z)({},Me,{ref:ze,icon:Re}))},se=ie.forwardRef(Te)},91034:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return se}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Me,ze){return ie.createElement(ye.Z,(0,x.Z)({},Me,{ref:ze,icon:Re}))},se=ie.forwardRef(Te)},71736:function(Jt,zt){"use strict";zt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},52654:function(Jt,zt){"use strict";zt.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"}},62038:function(Jt,zt){"use strict";zt.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"}},57971:function(Jt,zt,z){"use strict";var x=z(67294),ie=Object.defineProperty,Ce=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Te=(Me,ze,Ze)=>ze in Me?ie(Me,ze,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):Me[ze]=Ze,se=(Me,ze)=>{for(var Ze in ze||(ze={}))Re.call(ze,Ze)&&Te(Me,Ze,ze[Ze]);if(Ce)for(var Ze of Ce(ze))ye.call(ze,Ze)&&Te(Me,Ze,ze[Ze]);return Me};const nt=Me=>React.createElement("svg",se({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Me),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"}));zt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},36913:function(Jt,zt,z){"use strict";var x=z(67294),ie=Object.defineProperty,Ce=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Te=(Me,ze,Ze)=>ze in Me?ie(Me,ze,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):Me[ze]=Ze,se=(Me,ze)=>{for(var Ze in ze||(ze={}))Re.call(ze,Ze)&&Te(Me,Ze,ze[Ze]);if(Ce)for(var Ze of Ce(ze))ye.call(ze,Ze)&&Te(Me,Ze,ze[Ze]);return Me};const nt=Me=>React.createElement("svg",se({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Me),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"}));zt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},18023:function(){"use strict";function Jt(ue,y,a,b){a===void 0&&(a=0),b===void 0&&(b=1/0),this._name=ue,this._defaultValue=y,this._minimum=a,this._maximum=b}Object.defineProperty(Jt.prototype,"name",{get:function(){return this._name},set:function(ue){if(typeof ue!="string"||ue==="")throw new Error("Shape name must be a valid string.");this._name=ue}}),Object.defineProperty(Jt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ue){if(typeof ue!="number"||isNaN(ue))throw new Error("The default value must be a real number, not: "+ue);this._defaultValue=ue}}),Object.defineProperty(Jt.prototype,"minimum",{get:function(){return this._minimum},set:function(ue){if(typeof ue!="number"||isNaN(ue))throw new Error("Minimum must be a real number, not: "+ue);this._minimum=ue}}),Object.defineProperty(Jt.prototype,"maximum",{get:function(){return this._maximum},set:function(ue){if(typeof ue!="number"||isNaN(ue))throw new Error("Maximum must be a real number, not: "+ue);this._maximum=ue}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ue,y){var a=go.Shape._FigureParameters[ue];return a?a[y]:null},go.Shape.setFigureParameter=function(ue,y,a){if(!(a instanceof Jt))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[ue];b||(b=[],go.Shape._FigureParameters[ue]=b),b[y]=a};var zt=[];function z(ue,y){var a=zt.pop();return a===void 0?new go.Point(ue,y):(a.x=ue,a.y=y,a)}function x(){var ue=zt.pop();return ue===void 0?new go.Point:ue}function ie(ue){zt.push(ue)}function Ce(ue,y,a,b,E,ee,te,re,oe){oe||(oe=new go.Point);var ce=ue-a,pe=E-te,Pe=NaN,He=NaN;if(ce===0)if(pe===0)ue===a&&(Pe=ue,He=y);else{var ke=(ee-re)/pe,Oe=ee-ke*E;Pe=ue,He=ke*Pe+Oe}else if(pe===0){var he=(y-b)/ce,Ke=y-he*ue;Pe=E,He=he*Pe+Ke}else{var he=(y-b)/ce,ke=(ee-re)/pe,Ke=y-he*ue,Oe=ee-ke*E;Pe=(Oe-Ke)/(he-ke),He=he*Pe+Ke}return oe.x=Pe,oe.y=He,oe}function Re(ue,y,a,b,E,ee,te,re,oe,ce,pe,Pe,He,ke){var Oe=1-oe,he=oe,Ke=ue*Oe+a*he,Ue=y*Oe+b*he,$e=a*Oe+E*he,Fe=b*Oe+ee*he,at=E*Oe+te*he,lt=ee*Oe+re*he,ft=Ke*Oe+$e*he,ut=Ue*Oe+Fe*he,St=$e*Oe+at*he,jt=Fe*Oe+lt*he,Vn=ft*Oe+St*he,fa=ut*Oe+jt*he;ce.x=Ke,ce.y=Ue,pe.x=ft,pe.y=ut,Pe.x=Vn,Pe.y=fa,He.x=St,He.y=jt,ke.x=at,ke.y=lt}var ye=new go.Spot(.156,.156),Te=new go.Spot(.844,.844),se=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Jt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ue,y,a){var b=ue?ue.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*se,ee=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&&(ee.spot1=new go.Spot(0,0,E,E),ee.spot2=new go.Spot(1,1,-E,-E)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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=ye,E.spot2=Te,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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 Jt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*y;if(b===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=y,ee.endY=a,ee}else{var ee=new go.Geometry;return b>0?ee.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())):ee.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&&ee.setSpots(E/y,0,(y-E)/y,1),ee}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Jt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)?b=10:b<-y?b=-y:b>y&&(b=y);var E=Math.abs(b);if(b===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=y,ee.endY=a,ee}else{var ee=new go.Geometry;return b>0?ee.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())):ee.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&&ee.setSpots(E/y,0,(y-E)/y,1),ee}}),go.Shape.setFigureParameter("Trapezoid1",0,new Jt("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)?b=.2:b<.5?b=-.5:b>.5&&(b=.5);var E=Math.abs(b)*y;if(b===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=y,ee.endY=a,ee}else{var ee=new go.Geometry;return b>0?ee.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())):ee.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&&ee.setSpots(E/y,0,(y-E)/y,1),ee}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Jt("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ue,y,a){var b=ue?ue.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 ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=y,ee.endY=a,ee}else{var ee=new go.Geometry;return b>0?ee.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())):ee.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&&ee.setSpots(E/y,0,(y-E)/y,1),ee}}),go.Shape.setFigureParameter("ManualOperation",0,new Jt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ue,y,a){var b=ue?ue.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 ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=y,ee.endY=a,ee}else{var ee=new go.Geometry;return b>0?ee.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())):ee.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&&ee.setSpots(E/y,0,(y-E)/y,1),ee}});var nt=[];function Me(){var ue=nt.pop();return ue===void 0?[]:ue}function ze(ue){ue.length=0,nt.push(ue)}function Ze(ue){for(var y=Me(),a=.5,b=.5,E=Math.PI*1.5,ee=0,te=0;te<ue;te++)ee=2*Math.PI/ue*te+E,y[te]=new go.Point(b+a*Math.cos(ee),b+a*Math.sin(ee));return y.push(y[0]),y}function de(ue){var y=_e(ue),a=Me();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 ze(y),a}function _e(ue){for(var y=Ze(ue),a=Me(),b=Math.floor(y.length/2),E=y.length-1,ee=ue%2===0?2:1,te=0;te<E;te++){var re=y[te],oe=y[te+1],ce=y[(b+te-1)%E],pe=y[(b+te+ee)%E];a[te*2]=re,a[te*2+1]=Ce(re.x,re.y,ce.x,ce.y,oe.x,oe.y,pe.x,pe.y,new go.Point)}return a[a.length]=a[0],ze(y),a}go.Shape.defineFigureGenerator("Pentagon",function(ue,y,a){var b=Ze(5),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<5;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*y,b[te].y*a));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.2,.22),E.spot2=new go.Spot(.8,.9),E}),go.Shape.defineFigureGenerator("Hexagon",function(ue,y,a){var b=Ze(6),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<6;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*y,b[te].y*a));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.07,.25),E.spot2=new go.Spot(.93,.75),E}),go.Shape.defineFigureGenerator("Heptagon",function(ue,y,a){var b=Ze(7),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<7;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*y,b[te].y*a));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.2,.15),E.spot2=new go.Spot(.8,.85),E}),go.Shape.defineFigureGenerator("Octagon",function(ue,y,a){var b=Ze(8),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<8;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*y,b[te].y*a));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.85),E}),go.Shape.defineFigureGenerator("Nonagon",function(ue,y,a){var b=Ze(9),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<9;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*y,b[te].y*a));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.17,.13),E.spot2=new go.Spot(.82,.82),E}),go.Shape.defineFigureGenerator("Decagon",function(ue,y,a){var b=Ze(10),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<10;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*y,b[te].y*a));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("Dodecagon",function(ue,y,a){var b=Ze(12),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<12;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*y,b[te].y*a));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("FivePointedStar",function(ue,y,a){var b=_e(5),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<10;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*y,b[te].y*a));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.266,.333),E.spot2=new go.Spot(.733,.733),E}),go.Shape.defineFigureGenerator("SixPointedStar",function(ue,y,a){var b=_e(6),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<12;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*y,b[te].y*a));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.17,.25),E.spot2=new go.Spot(.83,.75),E}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ue,y,a){var b=_e(7),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<14;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*y,b[te].y*a));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("EightPointedStar",function(ue,y,a){var b=_e(8),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<16;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*y,b[te].y*a));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("NinePointedStar",function(ue,y,a){var b=_e(9),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<18;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*y,b[te].y*a));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("TenPointedStar",function(ue,y,a){var b=_e(10),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<20;te++)ee.add(new go.PathSegment(go.PathSegment.Line,b[te].x*y,b[te].y*a));return ee.add(new go.PathSegment(go.PathSegment.Line,b[0].x*y,b[0].y*a).close()),ze(b),E.spot1=new go.Spot(.281,.261),E.spot2=new go.Spot(.723,.748),E}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ue,y,a){var b=de(5),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<b.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*y,b[te+2].y*a,b[te].x*y,b[te].y*a,b[te+1].x*y,b[te+1].y*a));return ee.segments.last().close(),ze(b),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ue,y,a){var b=de(6),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<b.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*y,b[te+2].y*a,b[te].x*y,b[te].y*a,b[te+1].x*y,b[te+1].y*a));return ee.segments.last().close(),ze(b),E.spot1=new go.Spot(.17,.222),E.spot2=new go.Spot(.833,.777),E}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ue,y,a){var b=de(7),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<b.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*y,b[te+2].y*a,b[te].x*y,b[te].y*a,b[te+1].x*y,b[te+1].y*a));return ee.segments.last().close(),ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ue,y,a){var b=de(8),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<b.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*y,b[te+2].y*a,b[te].x*y,b[te].y*a,b[te+1].x*y,b[te+1].y*a));return ee.segments.last().close(),ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ue,y,a){var b=de(9),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<b.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*y,b[te+2].y*a,b[te].x*y,b[te].y*a,b[te+1].x*y,b[te+1].y*a));return ee.segments.last().close(),ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ue,y,a){var b=de(10),E=new go.Geometry,ee=new go.PathFigure(b[0].x*y,b[0].y*a,!0);E.add(ee);for(var te=1;te<b.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,b[te+2].x*y,b[te+2].y*a,b[te].x*y,b[te].y*a,b[te+1].x*y,b[te+1].y*a));return ee.segments.last().close(),ze(b),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.setFigureParameter("FramedRectangle",0,new Jt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Jt("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ue,y,a){var b=ue?ue.parameter1:NaN,E=ue?ue.parameter2:NaN;isNaN(b)&&(b=8),isNaN(E)&&(E=8);var ee=new go.Geometry,te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b<y/2&&E<a/2&&(te.add(new go.PathSegment(go.PathSegment.Move,b,E)),te.add(new go.PathSegment(go.PathSegment.Line,b,a-E)),te.add(new go.PathSegment(go.PathSegment.Line,y-b,a-E)),te.add(new go.PathSegment(go.PathSegment.Line,y-b,E).close())),ee.setSpots(0,0,1,1,b,E,-b,-E),ee}),go.Shape.setFigureParameter("Ring",0,new Jt("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ue,y,a){var b=ue?ue.parameter1:NaN;(isNaN(b)||b<0)&&(b=8);var E=y/2,ee=new go.Geometry,te=new go.PathFigure(y,y/2,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close());var re=Math.max(E-b,0);return re>0&&(te.add(new go.PathSegment(go.PathSegment.Move,y/2+re,y/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,re,re).close())),ee.spot1=ye,ee.spot2=Te,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(ue,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(ue,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 Jt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Jt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ue,y,a){var b=ue?ue.parameter1:NaN,E=ue?ue.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var ee=b%360;ee<0&&(ee+=360);var te=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,ee,te,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ue,y,a){var b=se/Math.SQRT2*.5,E=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*y,ee*a,y,(1-b)*a,(E+b)*y,(ee+b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Jt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ue,y,a){var b=ue?ue.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,y)/2,ee=y/2,te=a/2;return new go.Geometry().add(new go.PathFigure(ee-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+E,0)).add(new go.PathSegment(go.PathSegment.Line,ee+E,te-E)).add(new go.PathSegment(go.PathSegment.Line,y,te-E)).add(new go.PathSegment(go.PathSegment.Line,y,te+E)).add(new go.PathSegment(go.PathSegment.Line,ee+E,te+E)).add(new go.PathSegment(go.PathSegment.Line,ee+E,a)).add(new go.PathSegment(go.PathSegment.Line,ee-E,a)).add(new go.PathSegment(go.PathSegment.Line,ee-E,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te-E)).add(new go.PathSegment(go.PathSegment.Line,ee-E,te-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Jt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ue,y,a){var b=ue?ue.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,y)/2,ee=y/2,te=a/2;return new go.Geometry().add(new go.PathFigure(ee-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+E,0)).add(new go.PathSegment(go.PathSegment.Line,ee+E,te-E)).add(new go.PathSegment(go.PathSegment.Line,y,te-E)).add(new go.PathSegment(go.PathSegment.Line,y,te+E)).add(new go.PathSegment(go.PathSegment.Line,ee+E,te+E)).add(new go.PathSegment(go.PathSegment.Line,ee+E,a)).add(new go.PathSegment(go.PathSegment.Line,ee-E,a)).add(new go.PathSegment(go.PathSegment.Line,ee-E,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te+E)).add(new go.PathSegment(go.PathSegment.Line,0,te-E)).add(new go.PathSegment(go.PathSegment.Line,ee-E,te-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new Jt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ue,y,a){var b=ue?ue.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 ee=y/2,te=a/2,re=Math.atan2(a,y),oe=b-Math.min(Math.cos(re)*b/2,ee),ce=b-Math.min(Math.sin(re)*b/2,te),E=new go.Geometry,pe=new go.PathFigure(oe,0,!0);return E.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,ee,.2*a)),pe.add(new go.PathSegment(go.PathSegment.Line,y-oe,0)),pe.add(new go.PathSegment(go.PathSegment.Line,y,ce)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,te)),pe.add(new go.PathSegment(go.PathSegment.Line,y,a-ce)),pe.add(new go.PathSegment(go.PathSegment.Line,y-oe,a)),pe.add(new go.PathSegment(go.PathSegment.Line,ee,.8*a)),pe.add(new go.PathSegment(go.PathSegment.Line,oe,a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,a-ce)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Jt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ue,y,a){var b=ue?ue.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,ee=new go.PathFigure(.1*y,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new Jt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,ee=new go.PathFigure(0,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,(1-b)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,(1-b)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,b*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*a).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new Jt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,ee=new go.PathFigure(0,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-b)*y,.25*a,Math.abs(1-b)*y,.75*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(ue,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(ue,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(ue,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(ue,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(ue,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 ee=.2,te=.3,re=0,oe=ee*se;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+ee+re)*a,(.5-ee+te)*y,(.5+oe+re)*a,(.5-oe+te)*y,(.5+ee+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*y,(.5+re)*a,(.5+oe+te)*y,(.5+ee+re)*a,(.5+ee+te)*y,(.5+oe+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-ee+re)*a,(1-.5+ee+te)*y,(.5-oe+re)*a,(.5+oe+te)*y,(.5-ee+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-oe+te)*y,(.5-ee+re)*a,(.5-ee+te+.05)*y,(.5-oe+re-.02)*a)),ee=.2,te=0,re=-.3,oe=ee*se,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*y,(.5+re)*a,(.5+oe+te)*y,(.5+ee+re)*a,(.5+ee+te)*y,(.5+oe+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-ee+re)*a,(1-.5+ee+te)*y,(.5-oe+re)*a,(.5+oe+te)*y,(.5-ee+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*y,(.5+re)*a,(.5-oe+te)*y,(.5-ee+re)*a,(.5-ee+te)*y,(.5-oe+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-oe+te)*y,(.5+ee+re)*a,(.5-ee+te)*y,(.5+oe+re)*a,(.5-oe+te)*y,(.5+ee+re)*a)),ee=.2,te=-.3,re=0,oe=ee*se,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-ee+re)*a,(1-.5+ee+te-.05)*y,(.5-oe+re-.02)*a,(.5+oe+te)*y,(.5-ee+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*y,(.5+re)*a,(.5-oe+te)*y,(.5-ee+re)*a,(.5-ee+te)*y,(.5-oe+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+ee+re)*a,(.5-ee+te)*y,(.5+oe+re)*a,(.5-oe+te)*y,(.5+ee+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+oe+te)*y,(.5+ee+re)*a,(.5+ee+te)*y,(.5+oe+re)*a).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(ue,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 ee=.1,te=.5,re=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(te+ee)*y,re*a)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*te,a*re,ee*y,ee*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((te+ee)*y,re*a,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*te,a*re,ee*y,ee*y).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(ue,y,a){var b=.8535533905932737,E=.5*y,ee=.5*a;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,ee,E,ee)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,E,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,E,ee)).add(new go.PathSegment(go.PathSegment.Line,b*y,b*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ue,y,a){var b=new go.Geometry,E=se*.5,ee=.5,te=.5,re=.5,oe=new go.PathFigure(te*y,(re-ee)*a);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,re*a,(te-E)*y,(re-ee)*a,(te-ee)*y,(re-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re+ee)*a,(te-ee)*y,(re+E)*a,(te-E)*y,(re+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,re*a,(te+E)*y,(re+ee)*a,(te+ee)*y,(re+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re-ee)*a,(te+ee)*y,(re-E)*a,(te+E)*y,(re-ee)*a)),ee=.4,E=se*.4;var ce=x(),pe=x(),Pe=x(),He=x();Re(te,re-ee,te+E,re-ee,te+ee,re-E,te+ee,re,.42,ce,pe,Pe,He,He);var ke=x(),Oe=x(),he=x();Re(te,re-ee,te+E,re-ee,te+ee,re-E,te+ee,re,.58,He,He,he,ke,Oe);var Ke=x(),Ue=x(),$e=x();Re(te,re+ee,te-E,re+ee,te-ee,re+E,te-ee,re,.42,Ke,Ue,$e,He,He);var Fe=x(),at=x(),lt=x();return Re(te,re+ee,te-E,re+ee,te-ee,re+E,te-ee,re,.58,He,He,lt,Fe,at),oe.add(new go.PathSegment(go.PathSegment.Move,lt.x*y,lt.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,re*a,Fe.x*y,Fe.y*a,at.x*y,at.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re-ee)*a,(te-ee)*y,(re-E)*a,(te-E)*y,(re-ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Pe.x*y,Pe.y*a,ce.x*y,ce.y*a,pe.x*y,pe.y*a)),oe.add(new go.PathSegment(go.PathSegment.Line,lt.x*y,lt.y*a).close()),oe.add(new go.PathSegment(go.PathSegment.Move,$e.x*y,$e.y*a)),oe.add(new go.PathSegment(go.PathSegment.Line,he.x*y,he.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,re*a,ke.x*y,ke.y*a,Oe.x*y,Oe.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re+ee)*a,(te+ee)*y,(re+E)*a,(te+E)*y,(re+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,$e.x*y,$e.y*a,Ke.x*y,Ke.y*a,Ue.x*y,Ue.y*a).close()),ie(ce),ie(pe),ie(Pe),ie(He),ie(ke),ie(Oe),ie(he),ie(Ke),ie(Ue),ie($e),ie(Fe),ie(at),ie(lt),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(ue,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 Jt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ue,y,a){var b=ue?ue.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>y&&(b=y);var E=(y-b)/2,ee=E+b;return new go.Geometry().add(new go.PathFigure(ee,.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(ue,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(ue,y,a){var b=new go.Geometry,E=se*.4,ee=.4,te=.5,re=.5,oe=x(),ce=x(),pe=x(),Pe=x(),He=new go.PathFigure((te-ee)*y,re*a,!1);b.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re-ee)*a,(te-ee)*y,(re-E)*a,(te-E)*y,(re-ee)*a)),Re(te,re-ee,te+E,re-ee,te+ee,re-E,te+ee,re,.44,pe,Pe,ce,oe,oe),He.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*y,ce.y*a,pe.x*y,pe.y*a,Pe.x*y,Pe.y*a));var ke=z(ce.x,ce.y);Re(te,re-ee,te+E,re-ee,te+ee,re-E,te+ee,re,.56,oe,oe,ce,pe,Pe);var Oe=z(ce.x,ce.y);He.add(new go.PathSegment(go.PathSegment.Line,(ke.x*.1+.95*.9)*y,ke.y*.1*a)),He.add(new go.PathSegment(go.PathSegment.Line,.85*y,ke.y*.1*a)),He.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),He.add(new go.PathSegment(go.PathSegment.Line,y,0)),He.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),He.add(new go.PathSegment(go.PathSegment.Line,(Oe.x*.1+.9)*y,.15*a)),He.add(new go.PathSegment(go.PathSegment.Line,(Oe.x*.1+.9)*y,(Oe.y*.1+.05*.9)*a)),He.add(new go.PathSegment(go.PathSegment.Line,Oe.x*y,Oe.y*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,re*a,pe.x*y,pe.y*a,Pe.x*y,Pe.y*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re+ee)*a,(te+ee)*y,(re+E)*a,(te+E)*y,(re+ee)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,re*a,(te-E)*y,(re+ee)*a,(te-ee)*y,(re+E)*a)),ee=.35,E=se*.35;var he=new go.PathFigure(te*y,(re-ee)*a,!1);b.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,re*a,(te-E)*y,(re-ee)*a,(te-ee)*y,(re-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re+ee)*a,(te-ee)*y,(re+E)*a,(te-E)*y,(re+ee)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,re*a,(te+E)*y,(re+ee)*a,(te+ee)*y,(re+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re-ee)*a,(te+ee)*y,(re-E)*a,(te+E)*y,(re-ee)*a));var Ke=new go.PathFigure((te-ee)*y,re*a,!1);return b.add(Ke),ie(oe),ie(ce),ie(pe),ie(Pe),ie(ke),ie(Oe),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(ue,y,a){var b=new go.Geometry,E=.375,ee=0,te=-.125,re=E*se,oe=new go.PathFigure((.525+ee)*y,(.5+E+te)*a,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+ee)*y,(.5+te)*a,(.5+re+ee)*y,(.5+E+te)*a,(.5+E+ee)*y,(.5+re+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*y,(.5-E+te)*a,(1-.5+E+ee)*y,(.5-re+te)*a,(.5+re+ee)*y,(.5-E+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+ee)*y,(.5+te)*a,(.5-re+ee)*y,(.5-E+te)*a,(.5-E+ee)*y,(.5-re+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*y,(.5+E+te)*a,(.5-E+ee)*y,(.5+re+te)*a,(.5-re+ee)*y,(.5+E+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),E=.325,ee=0,te=-.125,re=E*se;var oe=new go.PathFigure((1-.5+E+ee)*y,(.5+te)*a,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*y,(.5+E+te)*a,(.5+E+ee)*y,(.5+re+te)*a,(.5+re+ee)*y,(.5+E+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+ee)*y,(.5+te)*a,(.5-re+ee)*y,(.5+E+te)*a,(.5-E+ee)*y,(.5+re+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*y,(.5-E+te)*a,(.5-E+ee)*y,(.5-re+te)*a,(.5-re+ee)*y,(.5-E+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+ee)*y,(.5+te)*a,(.5+re+ee)*y,(.5-E+te)*a,(1-.5+E+ee)*y,(.5-re+te)*a));var oe=new go.PathFigure((.525+ee)*y,(.5+E+te)*a,!1);return b.add(oe),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(ue,y,a){var b=ue?ue.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(ue,y,a){var b=ue?ue.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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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 Jt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Jt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.3);var E=ue?ue.parameter2:NaN;isNaN(E)&&(E=.3);var ee=(1-b)*y,te=(.5-E/2)*a,re=(.5+E/2)*a,oe=new go.Geometry,ce=new go.PathFigure(0,te,!0);oe.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ce.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ce.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ce.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ce.add(new go.PathSegment(go.PathSegment.Line,ee,re)),ce.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),oe.spot1=new go.Spot(0,te/a);var pe=Ce(0,re/a,1,re/a,ee/y,1,1,.5,x());return oe.spot2=new go.Spot(pe.x,pe.y),ie(pe),oe}),go.Shape.setFigureParameter("Arrow2",0,new Jt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Jt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=30),b>y&&(b=y);var E=ue?ue.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var ee=y-b,te=(a-E)/2,re=te+E,oe=new go.Geometry,ce=new go.PathFigure(0,te,!0);oe.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ce.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ce.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ce.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ce.add(new go.PathSegment(go.PathSegment.Line,ee,re)),ce.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),oe.spot1=new go.Spot(0,te/a);var pe=Ce(0,re/a,1,re/a,ee/y,1,1,.5,x());return oe.spot2=new go.Spot(pe.x,pe.y),ie(pe),oe}),go.Shape.defineFigureGenerator("Chevron",function(ue,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(ue,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 Jt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,ee=(.5+b/2)*a,te=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.3*y,ee)),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 oe=Ce(0,.5,.3,0,0,E/a,.1,E/a,x());return te.spot1=new go.Spot(oe.x,oe.y),oe=Ce(.7,1,1,.5,0,ee/a,1,ee/a,oe),te.spot2=new go.Spot(oe.x,oe.y),ie(oe),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Jt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Jt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=40);var E=ue?ue.parameter2:NaN;isNaN(E)&&(E=100);var ee=(a-b)/2,te=ee+b,re=(a-E)/2,oe=re+E;(b>a||E>a)&&(E>b?(b=b*a/E,ee=(a-b)/2,te=ee+b,re=0,oe=a):(ee=0,te=a,re=0,oe=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,oe)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,oe)),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,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,re).close());var Pe=Ce(0,.5,.3,re/a,0,ee/a,1,ee/a,x());return ce.spot1=new go.Spot(Pe.x,Pe.y),Pe=Ce(.7,oe/a,1,.5,0,te/a,1,te/a,Pe),ce.spot2=new go.Spot(Pe.x,Pe.y),ie(Pe),ce}),go.Shape.setFigureParameter("IBeamArrow",0,new Jt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,ee=(.5+b/2)*a,te=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,ee)),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()),te.spot1=new go.Spot(0,E/a);var oe=Ce(.7,1,1,.5,0,ee/a,1,ee/a,x());return te.spot2=new go.Spot(oe.x,oe.y),ie(oe),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new Jt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Jt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=40);var E=ue?ue.parameter2:NaN;isNaN(E)&&(E=100);var ee=(a-b)/2,te=ee+b,re=(a-E)/2,oe=re+E;(b>a||E>a)&&(E>b?(b=b*a/E,ee=(a-b)/2,te=ee+b,re=0,oe=a):(ee=0,te=a,re=0,oe=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,oe)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,oe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,oe)),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,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,re).close()),ce.spot1=new go.Spot(0,ee/a);var Pe=Ce(.7,oe/a,1,.5,0,te/a,1,te/a,x());return ce.spot2=new go.Spot(Pe.x,Pe.y),ie(Pe),ce}),go.Shape.setFigureParameter("Pointer",0,new Jt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var te=Ce(.2,.65,1,.65,0,1,1,.5,x());return E.spot2=new go.Spot(te.x,te.y),ie(te),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Jt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.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 te=Ce(0,.65,1,.65,0,1,1,.5,x());return E.spot2=new go.Spot(te.x,te.y),ie(te),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Jt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*a,ee=(.5+b/2)*a,te=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),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()),te.spot1=new go.Spot(.2,.3);var oe=Ce(.7,1,1,.5,0,ee/a,1,ee/a,x());return te.spot2=new go.Spot(oe.x,oe.y),ie(oe),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Jt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=50);var E=(a-b)/2,ee=E+b;b>a&&(E=0,ee=a);var te=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,ee)),re.add(new go.PathSegment(go.PathSegment.Line,0,ee)),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()),te.spot1=new go.Spot(.2,E/a);var oe=Ce(.7,1,1,.5,0,ee/a,1,ee/a,x());return te.spot2=new go.Spot(oe.x,oe.y),ie(oe),te}),go.Shape.setFigureParameter("SquareArrow",0,new Jt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,ee=new go.PathFigure(y,.5*a,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.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(ue,y,a){var b=new go.Geometry,E=se*.5,ee=se*.1,te=new go.PathFigure(0,.9*a,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+ee)*a,(.5+E)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+ee)*a).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(ue,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 ee=new go.PathFigure(0,.9*a,!1);return b.add(ee),ee.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(ue,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 ee=new go.PathFigure(.5*y,a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),ee.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(ue,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 ee=new go.PathFigure(0,.3*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),ee.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(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,ee=se*.5,te=new go.PathFigure(0,b,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,se*b,(.5-ee)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*y,b,(.5+ee)*y,0,1*y,se*b)),te.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-se*b,(.5+ee)*y,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-ee)*y,1*a,0,a-se*b)),te.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+ee)*y,2*b)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-ee)*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(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,ee=se*.5,te=new go.PathFigure(0,a-b,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,se*b,(.5-ee)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,b,(.5+ee)*y,0,y,se*b)),te.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-se*b,(.5+ee)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-ee)*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-ee)*y,a-2*b)),re.add(new go.PathSegment(go.PathSegment.Bezier,y,a-b,(.5+ee)*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(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,ee=se*.5,te=new go.PathFigure(b,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-se*b,0,y,(.5-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+ee)*a,y-se*b,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*b,a,0,(.5+ee)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-ee)*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-ee)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,b,a,2*b,(.5+ee)*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(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,ee=se*.5,te=new go.PathFigure(y-b,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-se*b,0,y,(.5-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+ee)*a,y-se*b,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*b,a,0,(.5+ee)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-ee)*a,se*b,0)),te.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-ee)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y-2*b,(.5+ee)*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(ue,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 ee=new go.PathFigure(.25*y,.25*a,!1);return b.add(ee),ee.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(ue,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 ee=new go.PathFigure(0,a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),ee.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(ue,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 ee=new go.PathFigure(.5*y,0,!1);return b.add(ee),ee.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(ue,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 ee=new go.PathFigure(.5*y,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),ee.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(ue,y,a){var b=new go.Geometry,E=.2,ee=.1,te=se*E,re=se*ee,oe=.5,ce=.1,pe=new go.PathFigure(oe*y,(ce+ee)*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-E)*y,ce*a,(oe-te)*y,(ce+ee)*a,(oe-E)*y,(ce+re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ce-ee)*a,(oe-E)*y,(ce-re)*a,(oe-te)*y,(ce-ee)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+E)*y,ce*a,(oe+te)*y,(ce-ee)*a,(oe+E)*y,(ce-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ce+ee)*a,(oe+E)*y,(ce+re)*a,(oe+te)*y,(ce+ee)*a));var Pe=.05,He=se*Pe;oe=.05,ce=.25;var ke=new go.PathFigure(.5*y,.2*a,!0);return b.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),oe=.95,ce=.25,ke.add(new go.PathSegment(go.PathSegment.Bezier,(oe+Pe)*y,ce*a,(oe+He)*y,(ce-Pe)*a,(oe+Pe)*y,(ce-He)*a)),ke.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),ke.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),ke.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),Pe=.025,He=se*Pe,oe=.825,ce=.35,ke.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ce-Pe)*a,(oe+Pe)*y,(ce-He)*a,(oe+He)*y,(ce-Pe)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(oe-Pe)*y,ce*a,(oe-He)*y,(ce-Pe)*a,(oe-Pe)*y,(ce-He)*a)),ke.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),ke.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),ke.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),Pe=.05,He=se*Pe,oe=.5,ce=.7,ke.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ce-Pe)*a,(oe+Pe)*y,(ce-He)*a,(oe+He)*y,(ce-Pe)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(oe-Pe)*y,ce*a,(oe-He)*y,(ce-Pe)*a,(oe-Pe)*y,(ce-He)*a)),ke.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),ke.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ke.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),Pe=.025,He=se*Pe,oe=.175,ce=.35,ke.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ce-Pe)*a,(oe+Pe)*y,(ce-He)*a,(oe+He)*y,(ce-Pe)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(oe-Pe)*y,ce*a,(oe-He)*y,(ce-Pe)*a,(oe-Pe)*y,(ce-He)*a)),ke.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),ke.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),ke.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Pe=.05,He=se*Pe,oe=.05,ce=.25,ke.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ce-Pe)*a,(oe-Pe)*y,(ce-He)*a,(oe-He)*y,(ce-Pe)*a)),ke.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 Jt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ue,y,a){var b=ue?ue.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,ee=new go.PathFigure(y,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),ee.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(ue,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 ee=new go.PathFigure(.5*y,.5*a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.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(ue,y,a){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,E*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("Database",function(ue,y,a){var b=new go.Geometry,E=se*.5,ee=se*.1,te=new go.PathFigure(y,.1*a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+ee)*a,(.5+E)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-ee)*a,(.5-E)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-ee)*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+ee)*a,(.5+E)*y,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+ee)*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+ee)*a,(.5+E)*y,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+ee)*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+ee)*a,(.5+E)*y,.4*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-E)*y,.4*a,0,(.3+ee)*a)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(ue,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(ue,y,a){var b=new go.Geometry,E=se*.5,ee=se*.1,te=new go.PathFigure(y,.1*a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+ee)*a,(.5+E)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-ee)*a,(.5-E)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-ee)*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+ee)*a,(.5+E)*y,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+ee)*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+ee)*a,(.5+E)*y,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+ee)*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(ue,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(ue,y,a){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var ee=se*.2,te=new go.PathFigure(0,.2*a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-ee)*a,(.2-ee)*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+ee)*y,0,y,(.2-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+ee)*a,(.8+ee)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-ee)*y,a,0,(.8+ee)*a)),te.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(ue,y,a){var b=new go.Geometry,E=ue?ue.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,E*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("Document",function(ue,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(ue,y,a){var b=new go.Geometry,E=ue?ue.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(E*y,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),te.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(ue,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 ee=new go.PathFigure(.1*y,.4*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),ee.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(ue,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 ee=new go.PathFigure(.75*y,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),ee.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(ue,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 ee=new go.PathFigure(y,.5*a,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,a));var te=new go.PathFigure(y,.5*a,!1);return b.add(te),te.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(ue,y,a){var b=new go.Geometry,E=ue?ue.parameter1:NaN,ee=ue?ue.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(ee)&&(ee=.1);var te=new go.PathFigure(0,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.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,ee*a)),re.add(new go.PathSegment(go.PathSegment.Line,y,ee*a)),b}),go.Shape.defineFigureGenerator("Junction",function(ue,y,a){var b=new go.Geometry,E=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,te=se*.5,re=.5,oe=new go.PathFigure(y,re*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,re*y,a,y,(re+te)*a,(re+te)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,re*a,(re-te)*y,a,0,(re+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,re*y,0,0,(re-te)*a,(re-te)*y,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,re*a,(re+te)*y,0,y,(re-te)*a));var ce=new go.PathFigure((ee+E)*y,(ee+E)*a,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,ee*y,ee*a)),ce.add(new go.PathSegment(go.PathSegment.Move,ee*y,(ee+E)*a)),ce.add(new go.PathSegment(go.PathSegment.Line,(ee+E)*y,ee*a)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(ue,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 ee=new go.PathFigure(.1*y,0,!1);return b.add(ee),ee.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(ue,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(ue,y,a){var b=new go.Geometry,E=se*.5,ee=.5,te=new go.PathFigure(.5*y,a,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*a,(ee-E)*y,a,0,(ee+E)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,0,0,(ee-E)*a,(ee-E)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,ee*a,(ee+E)*y,0,y,(ee-E)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*y,.9*a,y,(ee+E)*a,(ee+E)*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.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(ue,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(ue,y,a){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.7);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ue,y,a){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.25);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,E*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-E)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(ue,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(ue,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 ee=new go.PathFigure(.1*y,.2*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),ee.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(ue,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 ee=new go.PathFigure(.2*y,.1*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),ee.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(ue,y,a){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.1);var ee=1-E,te=new go.PathFigure(0,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.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(ue,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(ue,y,a){var b=new go.Geometry,E=se*.5,ee=.5,te=new go.PathFigure(y,ee*a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,a,y,(ee+E)*a,(ee+E)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*a,(ee-E)*y,a,0,(ee+E)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,0,0,(ee-E)*a,(ee-E)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,ee*a,(ee+E)*y,0,y,(ee-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(ue,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(ue,y,a){var b=new go.Geometry,E=ue?ue.parameter1:NaN,ee=ue?ue.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(ee)&&(ee=.3);var te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ue,y,a){var b=new go.Geometry,E=ue?ue.parameter1:NaN,ee=ue?ue.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(ee)&&(ee=.3);var te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(ue,y,a){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure((1-E)*y,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),te.add(new go.PathSegment(go.PathSegment.Move,E*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b}),go.Shape.defineFigureGenerator("Process",function(ue,y,a){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.1);var ee=new go.PathFigure(0,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(E*y,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(ue,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 ee=new go.PathFigure(0,.5*a,!1);return b.add(ee),ee.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(ue,y,a){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.25);var ee=new go.PathFigure(E*y,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var te=new go.PathFigure(E*y,0,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,0)),te.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(ue,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(ue,y,a){var b=new go.Geometry,E=ue?ue.parameter1:NaN;isNaN(E)&&(E=.1);var ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-E)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(ue,y,a){var b=new go.Geometry,E=se*.5,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+E)*y,0,y,(.5-E)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+E)*a,(.5+E)*y,a)),ee.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(ue,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(ue,y,a){var b=new go.Geometry,E=se*.5,ee=.5,te=new go.PathFigure(y,ee*a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,a,y,(ee+E)*a,(ee+E)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*a,(ee-E)*y,a,0,(ee+E)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*y,0,0,(ee-E)*a,(ee-E)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,ee*a,(ee+E)*y,0,y,(ee-E)*a));var re=new go.PathFigure(y,ee*a,!1);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,ee*a));var oe=new go.PathFigure(.8*y,.75*a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),b}),go.Shape.defineFigureGenerator("Ground",function(ue,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(ue,y,a){var b=new go.Geometry,E=se*.1,ee=.1,te=.9,re=.5,oe=new go.PathFigure(.8*y,.5*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var ce=new go.PathFigure((te+ee)*y,re*a,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re+ee)*a,(te+ee)*y,(re+E)*a,(te+E)*y,(re+ee)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,re*a,(te-E)*y,(re+ee)*a,(te-ee)*y,(re+E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re-ee)*a,(te-ee)*y,(re-E)*a,(te-E)*y,(re-ee)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,re*a,(te+E)*y,(re-ee)*a,(te+ee)*y,(re-E)*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(ue,y,a){var b=new go.Geometry,E=se*.5,ee=se*.4,te=se*.1,re=.1,oe=.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+ee)*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-ee)*a));var Pe=new go.PathFigure((oe+re)*y,ce*a,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ce+re)*a,(oe+re)*y,(ce+te)*a,(oe+te)*y,(ce+re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*y,ce*a,(oe-te)*y,(ce+re)*a,(oe-re)*y,(ce+te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ce-re)*a,(oe-re)*y,(ce-te)*a,(oe-te)*y,(ce-re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*y,ce*a,(oe+te)*y,(ce-re)*a,(oe+re)*y,(ce-te)*a)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(ue,y,a){var b=new go.Geometry,E=.5,ee=se*E,te=0,re=.5,oe=new go.PathFigure(.8*y,.5*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(re+ee)*a,(te+ee)*y,(re+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(te+ee)*y,(re-E)*a,.7*y,(re-ee)*a)),E=.1,ee=se*.1,te=.9,re=.5;var ce=new go.PathFigure((te-E)*y,re*a,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re-E)*a,(te-E)*y,(re-ee)*a,(te-ee)*y,(re-E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*y,re*a,(te+ee)*y,(re-E)*a,(te+E)*y,(re-ee)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re+E)*a,(te+E)*y,(re+ee)*a,(te+ee)*y,(re+E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*y,re*a,(te-ee)*y,(re+E)*a,(te-E)*y,(re+ee)*a)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(ue,y,a){var b=new go.Geometry,E=.5,ee=se*E,te=0,re=.5,oe=new go.PathFigure(0,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(te+ee+ee)*y,(re-E)*a,.8*y,(re-ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(re+ee)*a,(te+ee+ee)*y,(re+E)*a)),oe.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(ue,y,a){var b=new go.Geometry,E=.5,ee=se*E,te=.2,re=.5,oe=new go.PathFigure(.1*y,0,!1);b.add(oe),oe.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+ee)*a,(te+ee)*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,(te+ee)*y,(re-E)*a,.7*y,(re-ee)*a)),E=.1,ee=se*.1,te=.9,re=.5;var pe=new go.PathFigure((te-E)*y,re*a,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re-E)*a,(te-E)*y,(re-ee)*a,(te-ee)*y,(re-E)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*y,re*a,(te+ee)*y,(re-E)*a,(te+E)*y,(re-ee)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re+E)*a,(te+E)*y,(re+ee)*a,(te+ee)*y,(re+E)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*y,re*a,(te-ee)*y,(re+E)*a,(te-E)*y,(re+ee)*a)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(ue,y,a){var b=new go.Geometry,E=.5,ee=se*E,te=.2,re=.5,oe=new go.PathFigure(.1*y,0,!1);b.add(oe),oe.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,(te+ee)*y,(re-E)*a,.9*y,(re-ee)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(re+ee)*a,(te+ee)*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(ue,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(ue,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(ue,y,a){var b=new go.Geometry,E=se*.1,ee=.1,te=.1,re=.5,oe=new go.PathFigure((te-E*.5)*y,a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,0,(te-E)*y,a,(te-ee)*y,0)),te=.3,oe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,(te+ee)*y,0,(te+E)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,0,(te-E)*y,a,(te-ee)*y,0)),te=.5,oe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,(te+ee)*y,0,(te+E)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,0,(te-E)*y,a,(te-ee)*y,0)),te=.7,oe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,(te+ee)*y,0,(te+E)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,0,(te-E)*y,a,(te-ee)*y,0)),te=.9,oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+E*.5)*y,a,(te+ee)*y,0,(te+E)*y,a)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ue,y,a){var b=new go.Geometry,E=se*.5,ee=.5,te=.5,re=.5,oe=new go.PathFigure((te-ee)*y,re*a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re-ee)*a,(te-ee)*y,(re-E)*a,(te-E)*y,(re-ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,re*a,(te+E)*y,(re-ee)*a,(te+ee)*y,(re-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re+ee)*a,(te+ee)*y,(re+E)*a,(te+E)*y,(re+ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,re*a,(te-E)*y,(re+ee)*a,(te-ee)*y,(re+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,(te-ee+.1)*y,re*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-.1)*y,re*a,te*y,(re-ee)*a,te*y,(re+ee)*a)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ue,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(ue,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(ue,y,a){var b=new go.Geometry,E=y,ee=a;y=y*.38,a=a*.6;var te=se*.8,re=.8,oe=0,ce=.5,pe=(E-y)/2,Pe=(ee-a)/2,He=new go.PathFigure(oe*y+pe,(ce+re)*a+Pe,!0);b.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*y+pe,ce*a+Pe,(oe-te)*y+pe,(ce+re)*a+Pe,(oe-re)*y+pe,(ce+te)*a+Pe)),He.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+pe,(ce-re)*a+Pe,(oe-re)*y+pe,(ce-te)*a+Pe,(oe-te)*y+pe,(ce-re)*a+Pe)),He.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re+te*.5)*y+pe,ce*a+Pe,oe*y+pe,(ce-re)*a+Pe,(oe-re+te*.5)*y+pe,(ce-te)*a+Pe)),He.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+pe,(ce+re)*a+Pe,(oe-re+te*.5)*y+pe,(ce+te)*a+Pe,oe*y+pe,(ce+re)*a+Pe).close()),te=se*.4,re=.4,oe=.2,ce=.5;var ke=new go.PathFigure(oe*y+pe,(ce+re)*a+Pe,!0);b.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*y+pe,ce*a+Pe,(oe-te)*y+pe,(ce+re)*a+Pe,(oe-re)*y+pe,(ce+te)*a+Pe)),ke.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+pe,(ce-re)*a+Pe,(oe-re)*y+pe,(ce-te)*a+Pe,(oe-te)*y+pe,(ce-re)*a+Pe)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re+te*.5)*y+pe,ce*a+Pe,oe*y+pe,(ce-re)*a+Pe,(oe-re+te*.5)*y+pe,(ce-te)*a+Pe)),ke.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+pe,(ce+re)*a+Pe,(oe-re+te*.5)*y+pe,(ce+te)*a+Pe,oe*y+pe,(ce+re)*a+Pe).close()),te=se*.2,re=.2,oe=.5,ce=.5;var Oe=new go.PathFigure((oe-re)*y+pe,ce*a+Pe,!0);b.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+pe,(ce-re)*a+Pe,(oe-re)*y+pe,(ce-te)*a+Pe,(oe-te)*y+pe,(ce-re)*a+Pe)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*y+pe,ce*a+Pe,(oe+te)*y+pe,(ce-re)*a+Pe,(oe+re)*y+pe,(ce-te)*a+Pe)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+pe,(ce+re)*a+Pe,(oe+re)*y+pe,(ce+te)*a+Pe,(oe+te)*y+pe,(ce+re)*a+Pe)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*y+pe,ce*a+Pe,(oe-te)*y+pe,(ce+re)*a+Pe,(oe-re)*y+pe,(ce+te)*a+Pe)),te=se*.4,re=.4,oe=.8,ce=.5;var he=new go.PathFigure(oe*y+pe,(ce-re)*a+Pe,!0);b.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*y+pe,ce*a+Pe,(oe+te)*y+pe,(ce-re)*a+Pe,(oe+re)*y+pe,(ce-te)*a+Pe)),he.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+pe,(ce+re)*a+Pe,(oe+re)*y+pe,(ce+te)*a+Pe,(oe+te)*y+pe,(ce+re)*a+Pe)),he.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re-te*.5)*y+pe,ce*a+Pe,oe*y+pe,(ce+re)*a+Pe,(oe+re-te*.5)*y+pe,(ce+te)*a+Pe)),he.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+pe,(ce-re)*a+Pe,(oe+re-te*.5)*y+pe,(ce-te)*a+Pe,oe*y+pe,(ce-re)*a+Pe).close()),te=se*.8,re=.8,oe=1,ce=.5;var Ke=new go.PathFigure(oe*y+pe,(ce-re)*a+Pe,!0);return b.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*y+pe,ce*a+Pe,(oe+te)*y+pe,(ce-re)*a+Pe,(oe+re)*y+pe,(ce-te)*a+Pe)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+pe,(ce+re)*a+Pe,(oe+re)*y+pe,(ce+te)*a+Pe,(oe+te)*y+pe,(ce+re)*a+Pe)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re-te*.5)*y+pe,ce*a+Pe,oe*y+pe,(ce+re)*a+Pe,(oe+re-te*.5)*y+pe,(ce+te)*a+Pe)),Ke.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+pe,(ce-re)*a+Pe,(oe+re-te*.5)*y+pe,(ce-te)*a+Pe,oe*y+pe,(ce-re)*a+Pe).close()),b}),go.Shape.defineFigureGenerator("Email",function(ue,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 ee=new go.PathFigure(0,0,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),ee.add(new go.PathSegment(go.PathSegment.Move,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),b}),go.Shape.defineFigureGenerator("Ethernet",function(ue,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 ee=new go.PathFigure(.1*y,a,!0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var te=new go.PathFigure(.6*y,a,!0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),te.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(ue,y,a){var b=new go.Geometry,E=se*.4,ee=.4,te=.5,re=.5,oe=x(),ce=x(),pe=x(),Pe=x();Re(te,re-ee,te+E,re-ee,te+ee,re-E,te+ee,re,.5,oe,oe,ce,pe,Pe);var He=z(ce.x,ce.y),ke=new go.PathFigure(ce.x*y,ce.y*a,!0);b.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,re*a,pe.x*y,pe.y*a,Pe.x*y,Pe.y*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re+ee)*a,(te+ee)*y,(re+E)*a,(te+E)*y,(re+ee)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,re*a,(te-E)*y,(re+ee)*a,(te-ee)*y,(re+E)*a)),Re(te-ee,re,te-ee,re-E,te-E,re-ee,te,re-ee,.5,pe,Pe,ce,oe,oe),ke.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*y,ce.y*a,pe.x*y,pe.y*a,Pe.x*y,Pe.y*a)),E=se*.3,ee=.3,Re(te-ee,re,te-ee,re-E,te-E,re-ee,te,re-ee,.5,pe,Pe,ce,oe,oe),ke.add(new go.PathSegment(go.PathSegment.Line,ce.x*y,ce.y*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*y,re*a,Pe.x*y,Pe.y*a,pe.x*y,pe.y*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re+ee)*a,(te-ee)*y,(re+E)*a,(te-E)*y,(re+ee)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*y,re*a,(te+E)*y,(re+ee)*a,(te+ee)*y,(re+E)*a)),Re(te,re-ee,te+E,re-ee,te+ee,re-E,te+ee,re,.5,oe,oe,ce,pe,Pe),ke.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*y,ce.y*a,Pe.x*y,Pe.y*a,pe.x*y,pe.y*a).close());var ke=new go.PathFigure(.45*y,0,!0);return b.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),ke.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),ke.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),ie(oe),ie(ce),ie(pe),ie(Pe),ie(He),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(ue,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 ee(te,re,oe){te.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*y,(.8+oe)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*y,(.5+oe)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*y,(.5+oe)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*y,(.8+oe)*a).close())}return ee(E,0,0),ee(E,.4,0),ee(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(ue,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(ue,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(ue,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(ue,y,a){var b=new go.Geometry,E=.5,ee=0,te=0,re=E*se,oe=.4*Math.SQRT2/2+.5,ce=.5-.5*Math.SQRT2/2,pe=1,Pe=.5,He=.5,ke=0,Oe=new go.PathFigure(oe*y,(1-ce)*a,!1);return b.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,Pe*a,pe*y,.7*a,pe*y,Pe*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(He+ee)*y,(ke+ee)*a,(.5+E+ee)*y,(.5-re+ee)*a,(.5+re+ee)*y,(.5-E+ee)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+ee)*y,(.5+te)*a,(.5-re+ee)*y,(.5-E+te)*a,(.5-E+ee)*y,(.5-re+te)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*y,.9*a,(.5-E+ee)*y,(.5+re+te)*a,(.5-re+ee)*y,.9*a)),Oe.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*y,.8*a)),Oe.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*y,.9*a)),Oe.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*y,.95*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ue,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(ue,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(ue,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var ee=new go.PathFigure(y,a,!1);b.add(ee);var te=new go.PathFigure(0,.5*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ue,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(ue,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(ue,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 ee=new go.PathFigure(.45*y,.73*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ue,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var ee=new go.PathFigure(.335*y,(1-.555)*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var te=.5-.285,re=.5,oe=te,ce=Math.PI/4,pe=4*(1-Math.cos(ce))/(3*Math.sin(ce)),Pe=pe*.5,He=te,ke=te,Oe=pe*He,he=pe*ke;ee.add(new go.PathSegment(go.PathSegment.Bezier,(re-He)*y,oe*a,(re-(Oe+He)/2)*y,(oe+(ke+he)/2)*a,(re-He)*y,(oe+he)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(oe-ke)*a,(re-He)*y,(oe-he)*a,(re-Oe)*y,(oe-ke)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(re+He)*y,oe*a,(re+Oe)*y,(oe-ke)*a,(re+He)*y,(oe-he)*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(re+He)*y,(oe+he)*a,(re+(Oe+He)/2)*y,(oe+(ke+he)/2)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var Ke=new go.PathFigure(.2*y,a,!1);b.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Ue=new go.PathFigure(.8*y,a,!1);return b.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ue,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 ee=new go.PathFigure(.2*y,.2*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(ue,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(ue,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var ee=new go.PathFigure(y,a,!1);b.add(ee);var te=new go.PathFigure(.1*y,a,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Caution",function(ue,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 ee=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*y,.875*a)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,ee*y,ee*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(ue,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 ee=new go.PathFigure(.475*y,.2*a,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var te=new go.PathFigure(.675*y,.575*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),te.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ue,y,a){var b=new go.Geometry,E=.5,ee=se*.5,te=new go.PathFigure(y,E*a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+ee)*a,(E+ee)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-ee)*y,a,0,(E+ee)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-ee)*a,(E-ee)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+ee)*y,0,y,(E-ee)*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(ue,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 ee=new go.PathFigure(0,.15*a,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),ee.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(ue,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 ee=new go.PathFigure(0,.2*a,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var te=new go.PathFigure(0,.5*a,!1);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Component",function(ue,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 ee=new go.PathFigure(0,.2*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var te=new go.PathFigure(0,.6*a,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(ue,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 ee=new go.PathFigure(.15*y,.6*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ue,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(ue,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(ue,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(ue,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 ee=new go.PathFigure(y,.8*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var te=.1,re=se*.1,oe=.2,ce=.9,pe=new go.PathFigure((oe-te)*y,ce*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ce-te)*a,(oe-te)*y,(ce-re)*a,(oe-re)*y,(ce-te)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+te)*y,ce*a,(oe+re)*y,(ce-te)*a,(oe+te)*y,(ce-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ce+te)*a,(oe+te)*y,(ce+re)*a,(oe+re)*y,(ce+te)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-te)*y,ce*a,(oe-re)*y,(ce+te)*a,(oe-te)*y,(ce+re)*a).close()),te=.1,re=se*.1,oe=.8,ce=.9;var Pe=new go.PathFigure((oe-te)*y,ce*a,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ce-te)*a,(oe-te)*y,(ce-re)*a,(oe-re)*y,(ce-te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+te)*y,ce*a,(oe+re)*y,(ce-te)*a,(oe+te)*y,(ce-re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ce+te)*a,(oe+te)*y,(ce+re)*a,(oe+re)*y,(ce+te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-te)*y,ce*a,(oe-re)*y,(ce+te)*a,(oe-te)*y,(ce+re)*a).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(ue,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(ue,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 ee=new go.PathFigure(0,.5*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.5*y,.8*a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),te.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 oe=.1,ce=se*.1,pe=.1,Pe=.9,He=new go.PathFigure((pe-oe)*y,Pe*a,!0);b.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(Pe-oe)*a,(pe-oe)*y,(Pe-ce)*a,(pe-ce)*y,(Pe-oe)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(pe+oe)*y,Pe*a,(pe+ce)*y,(Pe-oe)*a,(pe+oe)*y,(Pe-ce)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(Pe+oe)*a,(pe+oe)*y,(Pe+ce)*a,(pe+ce)*y,(Pe+oe)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(pe-oe)*y,Pe*a,(pe-ce)*y,(Pe+oe)*a,(pe-oe)*y,(Pe+ce)*a)),oe=.1,ce=se*.1,pe=.4,Pe=.9;var ke=new go.PathFigure((pe-oe)*y,Pe*a,!0);return b.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(Pe-oe)*a,(pe-oe)*y,(Pe-ce)*a,(pe-ce)*y,(Pe-oe)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(pe+oe)*y,Pe*a,(pe+ce)*y,(Pe-oe)*a,(pe+oe)*y,(Pe-ce)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(Pe+oe)*a,(pe+oe)*y,(Pe+ce)*a,(pe+ce)*y,(Pe+oe)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(pe-oe)*y,Pe*a,(pe-ce)*y,(Pe+oe)*a,(pe-oe)*y,(Pe+ce)*a)),b}),go.Shape.defineFigureGenerator("RailShipment",function(ue,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 ee=new go.PathFigure(.45*y,.7*a,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var te=new go.PathFigure(.55*y,.4*a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var pe=.05,Pe=se*.05,He=.175,ke=.95,re=new go.PathFigure((He-pe)*y,ke*a,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,He*y,(ke-pe)*a,(He-pe)*y,(ke-Pe)*a,(He-Pe)*y,(ke-pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(He+pe)*y,ke*a,(He+Pe)*y,(ke-pe)*a,(He+pe)*y,(ke-Pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,He*y,(ke+pe)*a,(He+pe)*y,(ke+Pe)*a,(He+Pe)*y,(ke+pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(He-pe)*y,ke*a,(He-Pe)*y,(ke+pe)*a,(He-pe)*y,(ke+Pe)*a));var pe=.05,Pe=se*.05,He=.375,ke=.95,oe=new go.PathFigure((He-pe)*y,ke*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,He*y,(ke-pe)*a,(He-pe)*y,(ke-Pe)*a,(He-Pe)*y,(ke-pe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(He+pe)*y,ke*a,(He+Pe)*y,(ke-pe)*a,(He+pe)*y,(ke-Pe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,He*y,(ke+pe)*a,(He+pe)*y,(ke+Pe)*a,(He+Pe)*y,(ke+pe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(He-pe)*y,ke*a,(He-Pe)*y,(ke+pe)*a,(He-pe)*y,(ke+Pe)*a));var pe=.05,Pe=se*.05,He=.625,ke=.95,ce=new go.PathFigure((He-pe)*y,ke*a,!0);b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,He*y,(ke-pe)*a,(He-pe)*y,(ke-Pe)*a,(He-Pe)*y,(ke-pe)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(He+pe)*y,ke*a,(He+Pe)*y,(ke-pe)*a,(He+pe)*y,(ke-Pe)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,He*y,(ke+pe)*a,(He+pe)*y,(ke+Pe)*a,(He+Pe)*y,(ke+pe)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(He-pe)*y,ke*a,(He-Pe)*y,(ke+pe)*a,(He-pe)*y,(ke+Pe)*a));var pe=.05,Pe=se*.05,He=.825,ke=.95,Oe=new go.PathFigure((He-pe)*y,ke*a,!0);b.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,He*y,(ke-pe)*a,(He-pe)*y,(ke-Pe)*a,(He-Pe)*y,(ke-pe)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(He+pe)*y,ke*a,(He+Pe)*y,(ke-pe)*a,(He+pe)*y,(ke-Pe)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,He*y,(ke+pe)*a,(He+pe)*y,(ke+Pe)*a,(He+Pe)*y,(ke+pe)*a)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(He-pe)*y,ke*a,(He-Pe)*y,(ke+pe)*a,(He-pe)*y,(ke+Pe)*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(ue,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 ee=new go.PathFigure(0,.2*a,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var te=new go.PathFigure(.15*y,a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var re=.05,oe=se*.05,ce=.35,pe=.775,Pe=new go.PathFigure((ce-re)*y,pe*a,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(pe-re)*a,(ce-re)*y,(pe-oe)*a,(ce-oe)*y,(pe-re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+re)*y,pe*a,(ce+oe)*y,(pe-re)*a,(ce+re)*y,(pe-oe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(pe+re)*a,(ce+re)*y,(pe+oe)*a,(ce+oe)*y,(pe+re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-re)*y,pe*a,(ce-oe)*y,(pe+re)*a,(ce-re)*y,(pe+oe)*a).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,y,a){var b=new go.Geometry,E=.3,ee=se*.3,te=.5,re=.7,oe=new go.PathFigure((te-E)*y,re*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re-E)*a,(te-E)*y,(re-ee)*a,(te-ee)*y,(re-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*y,re*a,(te+ee)*y,(re-E)*a,(te+E)*y,(re-ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re+E)*a,(te+E)*y,(re+ee)*a,(te+ee)*y,(re+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*y,re*a,(te-ee)*y,(re+E)*a,(te-E)*y,(re+ee)*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(ue,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(ue,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(ue,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 ee=new go.PathFigure(0,.6*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),ee.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b}),go.Shape.defineFigureGenerator("Delete",function(ue,y,a){var b=new go.Geometry,E=.5,ee=se*.5,te=.5,re=.5,oe=new go.PathFigure((te-E)*y,re*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re-E)*a,(te-E)*y,(re-ee)*a,(te-ee)*y,(re-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*y,re*a,(te+ee)*y,(re-E)*a,(te+E)*y,(re-ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re+E)*a,(te+E)*y,(re+ee)*a,(te+ee)*y,(re+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*y,re*a,(te-ee)*y,(re+E)*a,(te-E)*y,(re+ee)*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(ue,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(ue,y,a){var b=new go.Geometry,E=.5,ee=se*.5,te=.5,re=.5,oe=new go.PathFigure((te-E)*y,re*a,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re-E)*a,(te-E)*y,(re-ee)*a,(te-ee)*y,(re-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*y,re*a,(te+ee)*y,(re-E)*a,(te+E)*y,(re-ee)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re+E)*a,(te+E)*y,(re+ee)*a,(te+ee)*y,(re+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*y,re*a,(te-ee)*y,(re+E)*a,(te-E)*y,(re+ee)*a).close()),E=.05,ee=se*.05,te=.5,re=.8;var ce=new go.PathFigure((te-E)*y,re*a,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re-E)*a,(te-E)*y,(re-ee)*a,(te-ee)*y,(re-E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+E)*y,re*a,(te+ee)*y,(re-E)*a,(te+E)*y,(re-ee)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(re+E)*a,(te+E)*y,(re+ee)*a,(te+ee)*y,(re+E)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-E)*y,re*a,(te-ee)*y,(re+E)*a,(te-E)*y,(re+ee)*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(ue,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(ue,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 ee=new go.PathFigure(.2*y,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),b}),go.Shape.defineFigureGenerator("Unlocked",function(ue,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 ee=new go.PathFigure(.2*y,.5*a,!1);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),b}),go.Shape.defineFigureGenerator("Gear",function(ue,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(ue,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(ue,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(ue,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 ee=new go.PathFigure(0,a*.6,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(ue,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(ue,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 ee=new go.PathFigure(.126*y,.85*a,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var te=new go.PathFigure(.402*y,.85*a,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),te.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 oe=new go.PathFigure(.5*y,.1*a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(ue,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(ue,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 ee=new go.PathFigure(y*.204,a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var te=new go.PathFigure(y*.408,a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),te.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 oe=new go.PathFigure(y*.816,a,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),oe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(ue,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 ee=new go.PathFigure(y*.055,.07*a,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var te=new go.PathFigure(y*.055,.13*a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),te.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 oe=new go.PathFigure(y*1,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),oe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(ue,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(ue,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(ue,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 ee=new go.PathFigure(0,0,!1);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),ee.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var te=new go.PathFigure(y*.11,a*.1,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),te.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 oe=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(ue,y,a){var b=new go.Geometry,E=8,ee=E*se,te=new go.PathFigure(E,0,!1);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),te.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-ee,y-ee,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,ee,a,0,a-ee)),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,ee,ee,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 oe=new go.PathFigure(y*.83,a*1,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),oe.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(ue,y,a){var b=ue?ue.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*se,ee=a*.8,te=new go.Geometry,re=new go.PathFigure(b,0,!0);return te.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,ee-b)),re.add(new go.PathSegment(go.PathSegment.Bezier,y-b,ee,y,ee-E,y-E,ee)),re.add(new go.PathSegment(go.PathSegment.Line,y*.7,ee)),re.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),re.add(new go.PathSegment(go.PathSegment.Line,y*.55,ee)),re.add(new go.PathSegment(go.PathSegment.Line,b,ee)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-b,E,ee,0,ee-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?(te.spot1=new go.Spot(0,0,E,E),te.spot2=new go.Spot(1,.8,-E,-E)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(ue,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 ee=new go.PathFigure(y*1,a*.55,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(ue,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(ue,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 ee=new go.PathFigure(y*.1,a*.2,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var te=new go.PathFigure(y*.28,a*.37,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),te.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(ue,y,a){var b=new go.Geometry,E=15,ee=E*se,te=new go.PathFigure(y*.62,a*.475,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-ee,y-ee,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,ee,a,0,a-ee)),te.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),te.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),te.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),ee>1?(b.spot1=new go.Spot(0,0,ee,ee),b.spot2=new go.Spot(1,1,-ee,-ee)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(ue,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var ee=.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-ee))),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-ee))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-ee))),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-ee))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-ee))),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-ee)).close());var te=new go.PathFigure(y*.4,a*0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),te.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(ue,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var ee=.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-ee))),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-ee))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-ee))),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-ee))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-ee))),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-ee)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(ue,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var ee=.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-ee))),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-ee))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-ee))),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-ee))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-ee))),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-ee)).close());var te=new go.PathFigure(y*.5,a*0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(ue,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(ue,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 ee=new go.PathFigure(y*.235,a*.28,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(ue,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")},61016:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Jt={},zt="5.0",z={},x=null,ie=!1,Ce=!1,Re=null,ye=!1,Te=null,se=null,nt=0;nt<arguments.length;nt++){var Me=arguments[nt];if(Me!==null)switch(typeof Me){case"number":zt=Me.toFixed(1);break;case"string":Me.match(new RegExp("^[0-9]\\.[0-9]+$"))?zt=Me:Re=Me;break;case"object":typeof Me.is3D!="undefined"?x=Me:z=Me;break;case"boolean":ie=Me,Ce=!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},z.material_id!==void 0&&!Ce&&(ie=!0)),Re!==null&&z.id===void 0&&(z.id=Re);var ze="",Ze="",de=!1,_e=null,ue=null,y=null,a=!1,b=null,E=null,ee=null,te=null,re=null;z.height!==void 0&&(z.height=Math.round(z.height)),z.width!==void 0&&(z.width=Math.round(z.width));var oe=function(mt){return parseFloat(mt)>4?parseFloat(mt):5};Jt.setHTML5Codebase=function(mt,ht){se=mt,jt(mt,ht)},Jt.setJavaCodebase=Jt.setJavaCodebaseVersion=Jt.isCompiledInstalled=Jt.setPreCompiledScriptPath=Jt.setPreCompiledResourcePath=function(){},Jt.setHTML5CodebaseVersion=function(mt,ht){var mn=parseFloat(mt);if(mn!==NaN&&mn<5){console.log("The GeoGebra HTML5 codebase version "+mn+" is deprecated. Using version latest instead.");return}Te=mt,St(mt,ht)},Jt.getHTML5CodebaseVersion=function(){return ue},Jt.getParameters=function(){return z},Jt.setFontsCSSURL=function(mt){te=mt},Jt.setGiacJSURL=function(mt){},Jt.setJNLPFile=function(mt){ze=mt},Jt.setJNLPBaseDir=function(mt){},Jt.inject=function(){function mt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ht="auto",mn=z.id,oa,Sn=!1,Kn=0;Kn<arguments.length;Kn++){var Ye=arguments[Kn];typeof Ye=="string"?(Ye=Ye.toLowerCase(),Ye.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ht=Ye:mn=arguments[Kn]):typeof Ye=="boolean"?Sn=Ye:Ye instanceof HTMLElement&&(oa=Ye)}_n();function _n(){if(!ye){setTimeout(_n,200);return}ht=ft(ht);var ca=oa||document.getElementById(mn);if(!ca){console.log("possibly bug on ajax loading? ");return}if(Jt.removeExistingApplet(ca,!1),z.width===void 0&&ca.clientWidth&&(z.width=ca.clientWidth),z.height===void 0&&ca.clientHeight&&(z.height=ca.clientHeight),!(z.width&&z.height)&&ht==="html5"&&(delete z.width,delete z.height),_e=ht,ht==="screenshot")Ue(ca,z);else{var ln=!1;z.hasOwnProperty("playButton")&&z.playButton||z.hasOwnProperty("clickToLoad")&&z.clickToLoad?ln=!0:z.hasOwnProperty("playButtonAutoDecide")&&z.playButtonAutoDecide&&(ln=(!ce()||mt())&&pe()),ln?(_e="screenshot",Fe(ca,z,Sn,ht)):Ke(ca,z,Sn)}}};function ce(){try{return window.self!==window.top}catch(mt){return!0}}function pe(){return z.hasOwnProperty("screenshotGenerator")&&z.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Jt.getViews=function(){return x},Jt.isJavaInstalled=function(){return!1};var Pe=function(mt){var ht=function(Kn){var Ye=JSON.parse(Kn),_n=function(At){return At.type=="G"||At.type=="E"},ca=Ye.elements?Ye.elements.filter(_n)[0]:Ye;if(!ca||!ca.url){mn();return}z.fileName=ca.url,He(ca.settings||{}),x.is3D=!0;var ln="https://www.geogebra.org/images/";Jt.setPreviewImage(b||ca.previewUrl,ln+"GeoGebra_loading.png",ln+"applet_play.png"),mt()},mn=function(){z.onError&&z.onError(),Vn("Error: Fetching material (id "+z.material_id+") failed.",z)},oa=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Sn="/materials/"+z.material_id+"?scope=basic";ke("https://"+oa+"/api/proxy.php?path="+encodeURIComponent(Sn),ht,mn)};function He(mt){var ht=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(mn){mt[mn]=!!mt[mn]}),ht.forEach(function(mn){z[mn]===void 0&&mt[mn]!==void 0&&(z[mn]=mt[mn])}),z.showToolBarHelp===void 0&&(z.showToolBarHelp=z.showToolBar)}function ke(mt,ht,mn){var oa=new XMLHttpRequest;oa.open("GET",mt),oa.onload=function(){ht(oa.responseText)},oa.onerror=mn,oa.send()}Jt.isHTML5Installed=function(){return!0},Jt.getLoadedAppletType=function(){return _e},Jt.setPreviewImage=function(mt,ht,mn){b=mt,E=ht,ee=mn},Jt.removeExistingApplet=function(mt,ht){var mn;typeof mt=="string"&&(mt=document.getElementById(mt)),_e=null;var oa=null;for(mn=0;mn<mt.childNodes.length;mn++){var Sn=mt.childNodes[mn],Kn=Sn.className;Kn==="applet_screenshot"?ht?(Sn.style.display="block",_e="screenshot"):Sn.style.display="none":Kn!=="applet_scaler prerender"&&(mt.removeChild(Sn),oa=Kn&&Kn.indexOf("appletParameters")!=-1?Sn.id:null,mn--)}var Ye=z.id!==void 0?z.id:oa,_n=window[Ye];_n&&typeof _n.getBase64=="function"&&(_n.remove(),window[Ye]=null)},Jt.refreshHitPoints=function(){if(oe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var mt=Jt.getAppletObject();return mt&&typeof mt.recalculateEnvironments=="function"?(mt.recalculateEnvironments(),!0):!1},Jt.startAnimation=function(){var mt=Jt.getAppletObject();return mt&&typeof mt.startAnimation=="function"?(mt.startAnimation(),!0):!1},Jt.stopAnimation=function(){var mt=Jt.getAppletObject();return mt&&typeof mt.stopAnimation=="function"?(mt.stopAnimation(),!0):!1},Jt.getAppletObject=function(){var mt=z.id!==void 0?z.id:"ggbApplet";return window[mt]},Jt.resize=function(){};var Oe=function(mt,ht,mn){var oa=document.createElement("param");oa.setAttribute("name",ht),oa.setAttribute("value",mn),mt.appendChild(oa)},he=function(mt){return mt&&mt!=="false"},Ke=function(mt,ht,mn){oe(ue)<=4.2&&(mn=!0);var oa=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ue||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(oa=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Sn=document.createElement("div");Sn.classList.add("appletParameters","notranslate");var Kn=ht.width,Ye=ht.height;if(ht.disableAutoScale=ht.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ht.disableAutoScale,ht.width!==void 0)if(oe(ue)<=4.4)he(ht.showToolBar)&&(ht.height-=7),he(ht.showAlgebraInput)&&(ht.height-=37),ht.width<605&&he(ht.showToolBar)&&(ht.width=605,Kn=605);else{var _n=100;(he(ht.showToolBar)||he(ht.showMenuBar))&&(ht.hasOwnProperty("customToolBar")&&(ht.customToolbar=ht.customToolBar),_n=he(ht.showMenuBar)?245:155),Kn<_n&&(ht.width=_n,Kn=_n)}Sn.style.border="none",Sn.style.display="inline-block";for(var ca in ht)ht.hasOwnProperty(ca)&&ca!=="appletOnLoad"&&Sn.setAttribute("data-param-"+ca,ht[ca]);te&&Sn.setAttribute("data-param-fontscssurl",te),Jt.resize=function(){GGBAppletUtils.responsiveResize(mt,ht)},window.addEventListener("resize",function(ia){Jt.resize()});var ln=typeof ht.appletOnLoad=="function"?ht.appletOnLoad:function(){};if(!mn&&ht.width!==void 0){ht.hasOwnProperty("showSplash")||Sn.setAttribute("data-param-showSplash","false");var At=mt.querySelector(".applet_scaler.prerender"),cn=At!==null;if(cn)var We=At.querySelector(".ggb_preview");else{var We=lt(Kn,Ye,ht.borderColor,!1);At=document.createElement("div"),At.className="applet_scaler",At.style.position="relative",At.style.display="block",At.style.width=Kn+"px",At.style.height=Ye+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(At,"66%"),oe(ue)>=5?(ht.appletOnLoad=function(ia){var et=mt.querySelector(".ggb_preview");et&&et.parentNode.removeChild(et),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(At),window.GGBT_wsf_view&&$(window).trigger("resize"),ln(ia)},cn||At.appendChild(We)):Sn.appendChild(We),At.appendChild(Sn),cn||mt.appendChild(At),setTimeout(function(){Jt.resize()},1)}else{var Be=document.createElement("div");Be.className="applet_scaler",Be.style.position="relative",Be.style.display="block",Be.appendChild(Sn),mt.appendChild(Be),ht.appletOnLoad=function(ia){Jt.resize(),ln(ia)}}function Je(ia,et){et&&typeof et.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ia,et.appletOnLoad):renderGGBElement(ia),Vn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",et)}function vt(ia,et){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ia,params:et}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Ot){Je(Ot.article,Ot.params)}),html5AppletsToProcess=null)},oe(ue)<5&&(ia.className+=" geogebraweb")):Je(ia,et)}if(oa){scriptLoadStarted=!0;for(var Vt=0;Vt<Sn.childNodes.length;Vt++){var dn=Sn.childNodes[Vt].tagName;dn==="TABLE"&&(Sn.removeChild(Sn.childNodes[Vt]),Vt--)}if(ggbHTML5LoadedScript!==null){var ta=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');ta!=null&&ta.parentNode.removeChild(ta)}var vn=document.createElement("script"),Nn=function(){vt(Sn,ht)};vn.src=Ze+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=ue,ggbHTML5LoadedScript=vn.src,Vn("GeoGebra HTML5 codebase loaded: '"+Ze+"'.",ht),!se&&(!Te||Te=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Nn()):Ze.requirejs?__webpack_require__.e(12).then(function(){var ia=[__webpack_require__(12)];Nn.apply(null,ia)}.bind(this)).catch(__webpack_require__.oe):(vn.onload=Nn,mt.appendChild(vn))}else vt(Sn,ht);ht.height=Ye,ht.width=Kn},Ue=function(mt,ht,mn){var oa=lt(ht.width,ht.height,ht.borderColor,mn),Sn=document.createElement("div");Sn.style.position="relative",Sn.style.display="block",Sn.style.width=ht.width+"px",Sn.style.height=ht.height+"px",Sn.className="applet_screenshot applet_scaler"+(mn?" applet_screenshot_play":""),Sn.appendChild(oa);var Kn=GGBAppletUtils.getScale(ht,mt,mn);mn?(mt.appendChild(at()),window.GGBT_wsf_view||(mt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Sn,"66%"),mt.appendChild(Sn),Kn!==1&&!isNaN(Kn)&&(GGBAppletUtils.scaleElement(Sn,Kn),Sn.style.width=ht.width+"px",Sn.style.height=ht.height+"px",Sn.parentNode.style.width=ht.width*Kn+"px",Sn.parentNode.style.height=ht.height*Kn+"px"),Jt.resize=function(){$e(mt,oa,Sn,mn)},window.addEventListener("resize",function(Ye){Jt.resize()}),Jt.resize()};function $e(mt,ht,mn,oa){if(mt.contains(ht)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(mt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(mt)}var Sn=GGBAppletUtils.getScale(z,mt,oa);mn.parentNode!==null&&(!isNaN(Sn)&&Sn!==1?(GGBAppletUtils.scaleElement(mn,Sn),mn.parentNode.style.width=z.width*Sn+"px",mn.parentNode.style.height=z.height*Sn+"px"):(GGBAppletUtils.scaleElement(mn,1),mn.parentNode.style.width=z.width+"px",mn.parentNode.style.height=z.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(mt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Jt.onExitFullscreen=function(mt,ht){ht.appendChild(mt)};var Fe=function(mt,ht,mn,oa){Ue(mt,ht,!0);for(var Sn=function(){var _n=[];for(Ye=0;Ye<mt.childNodes.length;Ye++)_n.push(mt.childNodes[Ye]);if(window.GGBT_wsf_view){var ca=window.GGBT_wsf_view.renderFullScreen(mt,ht.id),ln=document.getElementById("fullscreencontainer"),At=jQuery(mt).find(".fullscreencontent");At.length>0?(ca.remove(),At.attr("id","fullscreencontent").show(),jQuery(ln).append(At),window.dispatchEvent(new Event("resize"))):Ke(ca,ht,!1),window.GGBT_wsf_view.launchFullScreen(ln)}else _e=oa,Ke(mt,ht,!1);if(!window.GGBT_wsf_view)for(Ye=0;Ye<_n.length;Ye++)mt.removeChild(_n[Ye])},Kn=mt.getElementsByClassName("ggb_preview_play"),Ye=0;Ye<Kn.length;Ye++)Kn[Ye].addEventListener("click",Sn,!1),Kn[Ye].addEventListener("ontouchstart",Sn,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(mt),pe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},at=function(){var mt=document.createElement("div");if(mt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ht='.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");}',mn=document.createElement("style");mn.styleSheet?mn.styleSheet.cssText=ht:mn.appendChild(document.createTextNode(ht)),document.getElementsByTagName("head")[0].appendChild(mn)}return mt},lt=function(mt,ht,mn,oa){var Sn=document.createElement("div");Sn.className="ggb_preview",Sn.style.position="absolute",Sn.style.zIndex="90",Sn.style.width=mt-2+"px",Sn.style.height=ht-2+"px",Sn.style.top="0px",Sn.style.left="0px",Sn.style.overflow="hidden",Sn.style.backgroundColor="white";var Kn="lightgrey";mn!==void 0&&(mn==="none"?Kn="transparent":Kn=mn),Sn.style.border="1px solid "+Kn;var Ye=document.createElement("img");if(Ye.style.position="relative",Ye.style.zIndex="1000",Ye.style.top="-1px",Ye.style.left="-1px",b!==null&&Ye.setAttribute("src",b),Ye.style.opacity=.7,E!==null){var _n,ca,ln;if(!oa){_n=document.createElement("img"),_n.style.position="absolute",_n.style.zIndex="1001",_n.style.opacity=1,Ye.style.opacity=.3,ca=360,ca>mt/4*3&&(ca=mt/4*3),ln=ca/5.8,_n.setAttribute("src",E),_n.setAttribute("width",ca),_n.setAttribute("height",ln);var At=(mt-ca)/2,cn=(ht-ln)/2;_n.style.left=At+"px",_n.style.top=cn+"px",Sn.appendChild(_n)}}return Sn.appendChild(Ye),Sn},ft=function(mt){return mt=mt.toLowerCase(),mt==="html5"||mt==="screenshot"?mt:"html5"},ut=["web","webSimple","web3d","tablet","tablet3d","phone"],St=function(mt,ht){if(ue=mt,ht){jt(ue,!0);return}var mn=!ie;if(mn){var oa=oe(ue);!isNaN(oa)&&oa<4.4&&(mn=!1)}var Sn,Kn;window.location.protocol.substr(0,4)==="http"?Sn=window.location.protocol:Sn="http:";var Ye=ue.indexOf("//");Ye>0?Kn=ue:Ye===0?Kn=Sn+ue:Kn="https://www.geogebra.org/apps/5.2.814.0/";for(var _n in ut)if(ue.slice(ut[_n].length*-1)===ut[_n]||ue.slice((ut[_n].length+1)*-1)===ut[_n]+"/"){jt(Kn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&mn&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!he(z.showToolBar)&&!he(z.showMenuBar)&&!he(z.showAlgebraInput)&&!he(z.enableRightClick)&&(!z.appName||z.appName=="classic")?Kn+="webSimple/":Kn+="web3d/",jt(Kn,!1)},jt=function(mt,ht){if(mt.requirejs){Ze=mt;return}mt.slice(-1)!=="/"&&(mt+="/"),Ze=mt,ht===null&&(ht=mt.indexOf("http")===-1),de=ht,y="web.nocache.js",a=!1;var mn=Ze.split("/");mn.length>1&&(!ht&&mn[mn.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):ut.indexOf(mn[mn.length-2])>=0&&(y=mn[mn.length-2]+".nocache.js")),mn=mt.split("/"),ue=mn[mn.length-3],ue.substr(0,4)==="test"?ue=ue.substr(4,1)+"."+ue.substr(5,1):(ue.substr(0,3)==="war"||ue.substr(0,4)==="beta")&&(ue="5.0");var oa=parseFloat(ue);oa!==NaN&&oa<5&&mt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+oa+" is deprecated. Using version latest instead."),St("5.0",ht))},Vn=function(mt,ht){window.console&&window.console.log&&(!ht||typeof ht.showLogging=="undefined"||ht.showLogging&&ht.showLogging!=="false")&&console.log(mt)};z.material_id!==void 0?Pe(fa):fa();function fa(){var mt=zt;Te!==null?mt=Te:parseFloat(mt)<5&&(mt="5.0"),St(mt,!1),se!==null&&jt(se,de),ye=!0}return Jt},GGBAppletUtils=function(){"use strict";function Jt(){return window.GGBT_wsf_edit!==void 0}function zt(ye,Te){Te!=1?(ye.style.transformOrigin="0% 0% 0px",ye.style.webkitTransformOrigin="0% 0% 0px",ye.style.transform="scale("+Te+","+Te+")",ye.style.webkitTransform="scale("+Te+","+Te+")",ye.style.maxWidth="initial",ye.querySelector(".ggb_preview")!==null&&(ye.querySelector(".ggb_preview").style.maxWidth="initial"),ye.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ye.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ye.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ye.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ye.style.transform="none",ye.style.webkitTransform="none")}function z(ye,Te,se,nt,Me,ze){var Ze=null;if(ze!=null&&ze!="")for(var de=ye.parentNode;de!=null;)if((" "+de.className+" ").indexOf(" "+ze+" ")>-1){Ze=de;break}else de=de.parentNode;var _e=0,ue=0,y=0,a=0,b=0,E=0,ee=0;if(Ze)_e=Ze.offsetWidth,ue=Math.max(nt?Ze.offsetWidth:0,Ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(_e=Math.min(window.innerWidth,document.documentElement.clientWidth),ue=Math.min(window.innerHeight,document.documentElement.clientHeight),y=_e):(_e=window.innerWidth,ue=window.innerHeight,y=window.innerWidth),ye){var te=ye.getBoundingClientRect();te.left>0&&te.left<=_e&&(Me===void 0||!Me)&&(document.dir==="rtl"?(b=_e-te.width-te.left,E=y<=480?10:30):(E=te.left,b=y<=480?10:30),a=E+b)}if(ye&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=ye.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,ee=40)}}return ye&&((se===void 0||!se)&&Te>0&&Te+a<_e?_e=Te:_e-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se===void 0||!se)&&(ue-=ee)),{width:_e,height:ue}}function x(ye,Te,se,nt,Me){if(ye.isScreenshoGenerator)return 1;var ze=nt!==void 0&&nt,Ze=ye.noScaleMargin!=null&&ye.noScaleMargin,de=function(re){return re&&re!=="false"},_e=de(ye.autoHeight),ue=z(Te,ye.width,se,_e,ze&&window.GGBT_wsf_view||Ze,Me),y=parseInt(ue.width),a=ye.width,b=ye.height;if(a===void 0){var E=Te.querySelector(".appletParameters");E&&(a=E.offsetWidth,b=E.offsetHeight)}var ee=y/a,te=ze?1:ue.height/b;return se!==void 0&&!se&&(ee=Math.min(1,ee),te=Math.min(1,te)),Math.min(ee,te)}function ie(ye,Te,se){var nt=1,Me,ze=!1;if(ye.hasOwnProperty("allowUpscale")&&(ze=ye.allowUpscale),ye.hasOwnProperty("scale")&&(nt=parseFloat(ye.scale),(isNaN(nt)||nt===null||nt===0)&&(nt=1),nt>1&&(ze=!0)),Te&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ze=!0),!(ye.hasOwnProperty("disableAutoScale")&&ye.disableAutoScale))Me=x(ye,Te,ze,se,ye.scaleContainerClass);else return nt;return ze&&(!ye.hasOwnProperty("scale")||nt===1)?Me:Math.min(nt,Me)}function Ce(ye){var Te=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),nt=ye.getBoundingClientRect(),Me=(Te-nt.width)/2,ze=(se-nt.height)/2;ze<0&&(ze=0),ye.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Me<40?ye.style.left="40px":ye.style.left=Me+"px",ye.style.top=ze+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ze<40?ye.style.top="40px":ye.style.top=ze+"px",ye.style.left=Me+"px")}function Re(ye,Te){var se=ye.querySelector(".appletParameters");if(se){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Te.id!==se.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ye)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var nt=ie(Te,ye);Jt()&&se.setAttribute("data-param-scale",nt);for(var Me=null,ze=0;ze<ye.childNodes.length;ze++)if(ye.childNodes[ze].className!==void 0&&ye.childNodes[ze].className.match(/^applet_scaler/)){Me=ye.childNodes[ze];break}if(Me!==null&&Me.querySelector(".noscale")!==null)return;var Ze=Te.id!==void 0?Te.id:"ggbApplet",de=window[Ze];(de==null||!de.recalculateEnvironments)&&Me!==null&&!Me.className.match(/fullscreen/)&&(Me.parentNode.style.transform="",!isNaN(nt)&&nt!==1?(Me.parentNode.style.width=Te.width*nt+"px",Me.parentNode.style.height=Te.height*nt+"px",zt(Me,nt)):(zt(Me,1),Me.parentNode.style.width=Te.width+"px",Me.parentNode.style.height=Te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Ce(ye),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(se).parents(".content-added-content"))}}return{responsiveResize:Re,isFlexibleWorksheetEditor:Jt,positionCenter:Ce,getScale:ie,scaleElement:zt}}();__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 Jt=n.location.search;return Jt.indexOf(J)!=-1||Jt.indexOf(K)!=-1}function q(Jt,zt){}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(Jt){var zt=s[L].bindings;s[L].bindings=function(){for(var z=zt?zt():{},x=Jt[webModule.__softPermutationId],ie=O;ie<x.length;ie++){var Ce=x[ie];z[Ce[O]]=Ce[P]}return z}};var t;function u(){return v(),t}function v(){if(!t){var Jt=o.createElement(Q);if(Jt.id=L,Jt.style.cssText=R+S,Jt.tabIndex=-1,o.body.appendChild(Jt),t=Jt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var zt=document.compatMode==U?V:W;t.write(zt+X),t.close()}}}function w(Jt){function zt(x){function ie(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Ce=ie();if(Ce){x();return}function Re(){if(!Ce){if(!ie())return;Ce=!0,x(),o.removeEventListener&&o.removeEventListener(Z,Re,!1),ye&&clearInterval(ye)}}o.addEventListener&&o.addEventListener(Z,Re,!1);var ye=setInterval(function(){Re()},$)}function z(x){var ie=u(),Ce=ie.body,Re=ie.createElement(_);Re.language=ab,Re.crossOrigin=W,Re.src=x,webModule.__errFn&&(Re.onerror=function(){webModule.__errFn(L,new Error(bb+x))}),Ce.appendChild(Re)}zt(function(){z(Jt)})}webModule.__startLoadingFragment=function(Jt){return C(Jt)},webModule.__installRunAsyncCode=function(Jt){var zt=u(),z=zt.body,x=zt.createElement(_);x.language=ab,x.text=Jt,z.appendChild(x),z.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(Jt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Jt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Jt){var zt=c[Jt];return zt==null?null:zt},r=d,webModule.__errFn=e}function B(){function Jt(ye){var Te=ye.lastIndexOf(rb);Te==-1&&(Te=ye.length);var se=ye.indexOf(sb);se==-1&&(se=ye.length);var nt=ye.lastIndexOf(tb,Math.min(se,Te));return nt>=O?ye.substring(O,nt+P):W}function zt(ye){if(!ye.match(/^\w+:\/\//)){var Te=o.createElement(ub);Te.src=ye+vb,ye=Jt(Te.src)}return ye}function z(){var ye=__gwt_getMetaProperty(wb);return ye!=null?ye:W}function x(){for(var ye=o.getElementsByTagName(_),Te=O;Te<ye.length;++Te)if(ye[Te].src.indexOf(xb)!=-1)return Jt(ye[Te].src);return W}function ie(){var ye=o.getElementsByTagName(yb);return ye.length>O?ye[ye.length-P].href:W}function Ce(){var ye=o.location;return ye.href==ye.protocol+zb+ye.host+ye.pathname+ye.search+ye.hash}var Re=z();return Re==W&&(Re=x()),Re==W&&(Re=ie()),Re==W&&Ce()&&(Re=Jt(o.location.href)),Re=zt(Re),Re}function C(Jt){return Jt.match(/^\//)||Jt.match(/^[a-zA-Z]+:\/\//)?Jt:webModule.__moduleBase+Jt}function D(){var Jt=[],zt=O,z=[],x=[];function ie(ye){var Te=x[ye](),se=z[ye];if(Te in se)return Te;var nt=[];for(var Me in se)nt[se[Me]]=Me;throw r&&r(ye,nt,Te),null}if(__gwt_isKnownPropertyValue=function(ye,Te){return Te in z[ye]},webModule.__getPropMap=function(){var ye={};for(var Te in z)z.hasOwnProperty(Te)&&(ye[Te]=ie(Te));return ye},webModule.__computePropValue=ie,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ce;try{Ce=Cb;var Re=Ce.indexOf(Db);Re!=-1&&(zt=parseInt(Ce.substring(Re+P),$),Ce=Ce.substring(O,Re))}catch(ye){}return webModule.__softPermutationId=zt,C(Ce+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(Jt,zt,z){"use strict";z.d(zt,{Ax:function(){return Re},Ds:function(){return ye},KI:function(){return se},SI:function(){return Ce},f1:function(){return ie}});var x=z(11320);function ie(nt){let Me=!0;if(nt.length>0){for(let ze=0;ze<nt.length;ze++)if(nt[ze].compile_success==0||!nt[ze].compile_success){Me=!1;break}}else Me=!1;return Me}function Ce(nt,Me=""){let ze=[];for(let Ze=0;Ze<nt.length;Ze++){let de=nt[Ze],_e=Me?`${Me}/${de.name}`:`${de.name}`;ze.push({title:de.name,type:de.type,isLeaf:de.type!=="tree",key:_e})}return ze}function Re(nt,Me,ze){for(let Ze=0;Ze<nt.length;Ze++){let de=nt[Ze];if(de.key===Me){de.children=ze;break}de.children&&Re(de.children,Me,ze)}return nt}function ye(nt,Me,ze){let Ze;return function(){let de=this,_e=arguments,ue=function(){Ze=null,ze||nt.apply(de,_e)},y=ze&&!Ze;clearTimeout(Ze),Ze=setTimeout(ue,Me),y&&nt.apply(de,_e)}}const Te=!0,se=x.Z.API_SERVER},60580:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return ue}});var x=z(71577),ie=z(67294),Ce=Object.defineProperty,Re=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable,Me=(y,a,b)=>a in y?Ce(y,a,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[a]=b,ze=(y,a)=>{for(var b in a||(a={}))se.call(a,b)&&Me(y,b,a[b]);if(Te)for(var b of Te(a))nt.call(a,b)&&Me(y,b,a[b]);return y},Ze=(y,a)=>Re(y,ye(a)),de=(y,a)=>{var b={};for(var E in y)se.call(y,E)&&a.indexOf(E)<0&&(b[E]=y[E]);if(y!=null&&Te)for(var E of Te(y))a.indexOf(E)<0&&nt.call(y,E)&&(b[E]=y[E]);return b},_e=(y,a,b)=>new Promise((E,ee)=>{var te=ce=>{try{oe(b.next(ce))}catch(pe){ee(pe)}},re=ce=>{try{oe(b.throw(ce))}catch(pe){ee(pe)}},oe=ce=>ce.done?E(ce.value):Promise.resolve(ce.value).then(te,re);oe((b=b.apply(y,a)).next())});const ue=y=>{var a=y,{children:b}=a,E=de(a,["children"]);const[ee,te]=(0,ie.useState)(!1);return ie.createElement(x.ZP,Ze(ze({},E),{loading:ee,onClick:re=>_e(void 0,null,function*(){try{te(!0),yield E.onClick(re),te(!1)}catch(oe){console.error(oe),te(!1)}})}),b)}},65213:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return Re}});var x=z(67294),ie={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Re=({number:ye,active:Te,className:se})=>x.createElement("div",{className:`${ie.digitalLabel} ${Te?ie.active:""} ${se}`},ye)},10208:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return E}});var x=z(67294),ie=z(79870),Ce={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Re=z(73631),ye=z(5623),Te=z(38244),se=Object.defineProperty,nt=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,_e=(ee,te,re)=>te in ee?se(ee,te,{enumerable:!0,configurable:!0,writable:!0,value:re}):ee[te]=re,ue=(ee,te)=>{for(var re in te||(te={}))Ze.call(te,re)&&_e(ee,re,te[re]);if(ze)for(var re of ze(te))de.call(te,re)&&_e(ee,re,te[re]);return ee},y=(ee,te)=>nt(ee,Me(te)),a=(ee,te,re)=>new Promise((oe,ce)=>{var pe=ke=>{try{He(re.next(ke))}catch(Oe){ce(Oe)}},Pe=ke=>{try{He(re.throw(ke))}catch(Oe){ce(Oe)}},He=ke=>ke.done?oe(ke.value):Promise.resolve(ke.value).then(pe,Pe);He((re=re.apply(ee,te)).next())}),E=({value:ee,onChange:te,scrollId:re})=>{const[oe,ce]=(0,x.useState)([]);(0,x.useEffect)(()=>{pe()},[]);const pe=()=>a(void 0,null,function*(){const Ke=yield(0,Te.NZ)({});if(Ke!=null&&Ke.data){const Ue=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:x.createElement("img",{src:Re,className:Ce.folderIcon}),isLeaf:!1,children:Pe(Ke.data||[])}];ce(Ue)}}),Pe=Ke=>Ke.map(Ue=>({title:Ue.name,key:Ue.group_id,icon:x.createElement("img",{src:Re,className:Ce.folderIcon}),isLeaf:Ue.children.length===0,children:Pe(Ue.children)})),He=(Ke,Ue,$e)=>Ke.map(Fe=>Fe.key===Ue?ue(ue({},Fe),$e):Fe.children?y(ue({},Fe),{children:He(Fe.children,Ue,$e)}):Fe),ke=(Ke,Ue,$e)=>Ke.map(Fe=>{if(Fe.key===Ue)return y(ue({},Fe),{icon:$e?x.createElement("img",{src:ye,className:Ce.folderIcon}):x.createElement("img",{src:Re,className:Ce.folderIcon})});if(Fe.children)return y(ue({},Fe),{children:ke(Fe.children,Ue,$e)})}),Oe=(Ke,Ue)=>{ce($e=>ke($e,Ue.node.key,Ue.expanded))},he=ee?{selectedKeys:ee,defaultExpandedKeys:ee}:{};return oe.length>0&&x.createElement("div",{id:re||""},x.createElement(ie.default,ue({showLine:{showLeafIcon:!1},showIcon:!0,treeData:oe,className:Ce.folderWrapper,onSelect:te,onExpand:Oe},he)))}},20670:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return Te}});var x=z(55241),ie={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Ce=z(32637),Re=z(67294),Te=({type:se,style:nt})=>{const Me=Re.createElement("div",{className:ie.wrap,onClick:ze=>{ze.preventDefault(),ze.stopPropagation()}},Re.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",Re.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"),Re.createElement("div",{className:ie.contact},Re.createElement("div",{className:ie.img},Re.createElement("img",{src:Ce,width:"124px",height:"124px"})),Re.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Re.createElement(x.Z,{content:Me},Re.createElement("span",{className:ie.text,style:nt},"\u9AD8\u6D88\u8017"))}},63205:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return Ze}});var x=z(67294),ie={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ce=z(94184),Re=z.n(Ce),ye=z(57953),Te=z(15979),se=z(33170),nt=z(28706),Me=(de,_e,ue)=>new Promise((y,a)=>{var b=te=>{try{ee(ue.next(te))}catch(re){a(re)}},E=te=>{try{ee(ue.throw(te))}catch(re){a(re)}},ee=te=>te.done?y(te.value):Promise.resolve(te.value).then(b,E);ee((ue=ue.apply(de,_e)).next())}),Ze=({data:de,className:_e,fullWidth:ue,style:y={},onClose:a,onOk:b,showFullTools:E,noAssociationId:ee})=>{const te=(0,x.useRef)(null),re=(0,x.useRef)(null),oe=(0,x.useRef)(null),ce=(0,x.useRef)(null),[pe,Pe]=(0,x.useState)(!1),[He,ke]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.useEffect)(()=>{oe.current||(oe.current=document.createElement("style"),document.head.appendChild(oe.current)),de!=null&&de.visible?(document.body.setAttribute("data-custom","y-hidden"),oe.current.innerHTML=" html { overflow-y: hidden; }",de!=null&&de.src&&Oe()):(document.body.removeAttribute("data-custom"),oe.current&&(document.head.removeChild(oe.current),oe.current=null))},[de==null?void 0:de.visible]);const Oe=()=>Me(void 0,null,function*(){Pe(!0),ke("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Fe=yield(0,nt.ZJ)(de==null?void 0:de.src);te.current.src="",te.current.src=Fe,te.current.onload=function(){$e()},Pe(!1),ke("")}),he=()=>{document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",a()},Ke=Fe=>Me(void 0,null,function*(){Pe(!0),ke("\u6B63\u5728\u4FDD\u5B58\u4E2D");const at=yield(0,se.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:de.title,file:Fe.dataUrl}});at!=null&&at.id&&!ee?(yield(0,se.ZP)(`/api/attachments/${de.id}/add_subitem.json`,{method:"post",body:{subitem_id:at==null?void 0:at.id,settings:JSON.stringify(Fe.state)}})).status===0&&b():at!=null&&at.id&&b(at),document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",Pe(!1),ke("")}),Ue=()=>{const Fe=document.querySelector('a[href="https://markerjs.com/"]');Fe&&Fe.parentNode&&(Fe.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(lt=>{const ft=document.querySelector(lt.name);ft&&ft.setAttribute("title",lt.title)})},$e=()=>{re.current=new Te.hP(te.current),re.current.targetRoot=ce.current,re.current.addEventListener("render",Ke),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(),de!=null&&de.snapshotData&&re.current.restoreState(de.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ue()},300)};return x.createElement(x.Fragment,null,(de==null?void 0:de.visible)&&x.createElement(ye.Z,{spinning:pe,tip:He,style:{position:"absolute"}},x.createElement("div",{ref:ce,className:Re()(ie.imageDimensions,_e,ue?ie.fullWidth:""),style:y},x.createElement("img",{className:ie.img,ref:te}))))}},38478:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return We},$:function(){return cn}});var x=z(67294),ie={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"},Ce=z(94184),Re=z.n(Ce),ye=z(22150),Te=z(2453),se=z(14446),nt=z(31795),Me=z(71230),ze=z(84567),Ze=z(85418),de=z(59810),_e=z(71577),ue=z(38703),y=z(85546),a=z(69677),b=z(78045),E=z(83062),ee=z(15746),te=z(30001),re=z(11320),oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMSMSrHCKXHCpQhYhCNB5AYqRQGq1AiKgEEAiokAJFFIoipcVE5EYFyn23IGCJgoTDQimWSJSzCIKIcglUEIGu2bdv3+77vo+XfPl2Z2Zn5z8zuzsjSPDJ0tZV2ftfGog0BG0Q1AbuRABCgJDBvxorWqDE5xkZh+4porNGjRXNyKvlMuCbf2OXDPRIWYHnnQJKqaSQOimFos3s67HmG1NCupzxWDcgD2Qjf0P1qT/fqGAcGh4Yb4x1ZZSsCySy3oAV4LnOCByi9Pl7CQ00HPvIDb0cz8sUqSUFLqgQkJRjPCavzEFUZoaecz2oNjYAjXGJgEQi5Bio1kYiZYDEOEt5z4+ecZ4D2I2kGePl0eWlkUJkVxp/+yvkpOa5IDOtxxIAiE2nuEg5RhjZ2EiFhgYpF6ZfTNq662KzI+TpgOGJPJFaMjwEJCc06YZgtY5AENLMA7HpCcVTYfd0TR/yi+Vvy4F9CyG5BaQviV9nKBeOwNrXoNdOSKqqqSe2wJZ3dfS9JP0LM+MmyJt63iEfaj6m11w5DUWdo+c1yUtX6SfkrNZVOXNpP1I2Cg+qApV1KN6wc+WQ31nTh+63/K05sHc+JLeEjKW3BnT+CKxKh66L4P4WWu7ySVj1sh63GwNN0u36IwVQMk6HPWMHVKmmeceLoOR9exnpFC2nHs2F/LDxqwi5PBIdJTA6ASClbE4XOHsIhjsR3DIByhboCPVYZg2qvAHST21tlA8oA9pnQYuemqwOff5TcPMqpK2Ae5ra9Wd/hvU9ocZDkLbW0ktz4PBynU1+OgZnzhMZQo5quAhBz/Dq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MGhH3GJJTATBwwLuib7+tUxq7IffenD2xupwlcFxUfO43xCN6y4BcCuFTCrx2U8XOHN9dabmCbr6/NDq4RjO2fdLo1MfOy2Gw+mrb+Z6OC9qpUDA4fzn8ICbfb4wXm4XI4EKQE0MrS+GO8zOvXxwauew/iTQhBWNnhEhN9KLM19boyRQA6apSMS2t84fe7yRTCYPHhKTQFM2NPsCsNKfddTGYjgJ1ARpNCahOiJF9sXiTIkEGjWh3xy4lINS5EigPkPzSQlVEmheg/4MSKA+O9PJ/a/QIfoKNS1Cqz/9E6OFLRQhuo0IhQa9SdCNvB63UKRoKS0UGtQnQYvZ6sxCk/D1OIke6IbG1z8T8f1Al7ZUhE+g0paK+vRpU5O+ROObmvSnTsk6gVBsKyQV+gSCEEgbe/X5o5NYgW6/u5m+Q1vr0SJ0C+gKpJdbdIkHnNMRSK+XBSwBU05VIL3giaHdhayKQHrFugsCsCX9CKRDDrCUu5jvJJCOGeki/CBK00E/QVA0WIOO2jIIP4jW8/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",He=z(33170),ke=z(10208),Oe=z(5623),he=z(81897),Ke=z(35713),Ue=z(70859),$e=z(20527),Fe=z.n($e),at=(Be,Je,vt)=>new Promise((Vt,dn)=>{var ta=ia=>{try{Nn(vt.next(ia))}catch(et){dn(et)}},vn=ia=>{try{Nn(vt.throw(ia))}catch(et){dn(et)}},Nn=ia=>ia.done?Vt(ia.value):Promise.resolve(ia.value).then(ta,vn);Nn((vt=vt.apply(Be,Je)).next())}),ft=x.memo(({tagName:Be="div",value:Je="",className:vt,style:Vt={},onBlur:dn,id:ta})=>{const vn=(0,x.useRef)(null);(0,x.useEffect)(()=>{if(!vn.current)return;at(void 0,null,function*(){const et=vn.current;et.innerHTML="";const Ot=Je==null?void 0:Je.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const Pa of Ot)if(Pa.startsWith("$$")&&Pa.endsWith("$$")||Pa.startsWith("`$$")&&Pa.endsWith("$$`")){const An=Pa.startsWith("`$$")?Pa.slice(3,-3):Pa.slice(2,-2),Ft=document.createElement("span");Ft.setAttribute("contentEditable","false"),Ft.setAttribute("title",Pa),Ft.className="edu_latex",et.appendChild(Ft),Fe().render(An,Ft,{throwOnError:!1})}else{const An=Pa==null?void 0:Pa.replace(/<[^>]*>/g,Ft=>Ft.startsWith("<img")?Ft:Ft.replace(/</g,"&lt;"));et.insertAdjacentHTML("beforeend",An)}})},[ta]);const Nn=()=>{var ia,et;if(dn&&vn.current){const Pa=vn.current.cloneNode(!0),An=Pa.querySelectorAll("span.edu_latex");for(let Ft of An){const ya=Ft.getAttribute("title"),ot=document.createTextNode(ya||""),Tt=Ft;(et=(ia=Tt.parentNode)==null?void 0:ia.replaceChild)==null||et.call(ia,ot,Tt)}dn(Pa.innerHTML)}};return x.createElement(x.Fragment,null,x.createElement(Be,{ref:vn,contentEditable:!0,className:vt,style:Vt,onBlur:Nn}))}),ut=z(33054),St=Object.defineProperty,jt=Object.defineProperties,Vn=Object.getOwnPropertyDescriptors,fa=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,mn=(Be,Je,vt)=>Je in Be?St(Be,Je,{enumerable:!0,configurable:!0,writable:!0,value:vt}):Be[Je]=vt,oa=(Be,Je)=>{for(var vt in Je||(Je={}))mt.call(Je,vt)&&mn(Be,vt,Je[vt]);if(fa)for(var vt of fa(Je))ht.call(Je,vt)&&mn(Be,vt,Je[vt]);return Be},Sn=(Be,Je)=>jt(Be,Vn(Je)),Kn=(Be,Je,vt)=>new Promise((Vt,dn)=>{var ta=ia=>{try{Nn(vt.next(ia))}catch(et){dn(et)}},vn=ia=>{try{Nn(vt.throw(ia))}catch(et){dn(et)}},Nn=ia=>ia.done?Vt(ia.value):Promise.resolve(ia.value).then(ta,vn);Nn((vt=vt.apply(Be,Je)).next())});const Ye=Be=>{Be.preventDefault();let vt=(Be.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,vt)},_n=Be=>{Be.key==="Enter"&&Be.preventDefault()},ca=({children:Be,style:Je})=>x.createElement("div",{className:ie.leftBox,style:Je,onPaste:Ye},Be),ln=({children:Be,style:Je,className:vt})=>x.createElement("div",{className:Re()(ie.rightBox,vt),style:Je,onPaste:Ye},Be),At=({className:Be,style:Je={},width:vt=1200,onCancel:Vt=()=>{},onSuccess:dn=()=>{},gather:ta={},mode:vn=1,stickyTop:Nn=0,subDisciplineId:ia=[],hideWordFeatures:et,dataSource:Ot=[],customLeftHeadNode:Pa,customRightHeadNode:An,customLeftContent:Ft,hideRecognition:ya=!1,onExchange:ot,isSingleSelection:Tt=!1,underpinBackgroundStyle:nn={},headExtraNode:Rt,isRefreshItemBank:Lt=!1,okText:na="\u786E\u5B9A\u5BFC\u5165"})=>{var va;const[ha,ba]=(0,x.useState)(1),[lr,gr]=(0,x.useState)(0),[Qa,Dr]=(0,x.useState)(""),[so,zr]=(0,x.useState)(!1),[Jr,co]=(0,x.useState)([]),[Xr,bo]=(0,x.useState)([]),[kr,Sa]=(0,x.useState)(!1),[ja,_a]=(0,x.useState)(!1),[za,Ar]=(0,x.useState)(!1),[er,Wa]=(0,x.useState)(!1),[kt,sn]=(0,x.useState)([]),[Yt,$n]=(0,x.useState)(1),[La,dr]=(0,x.useState)(!1),[Eo,Nr]=(0,x.useState)(!1),[bn,da]=(0,x.useState)(!0),[ro,la]=(0,x.useState)(0),[Ya,Bt]=(0,x.useState)(1),[Yn,Dn]=(0,x.useState)(""),[It,ar]=(0,x.useState)([]),[ga,Ja]=(0,x.useState)(0),[wa,Io]=(0,x.useState)(0),[Yr,Zo]=(0,x.useState)(0),[ni,vi]=(0,x.useState)(0),[Da,yi]=(0,x.useState)(0),[Hr]=ye.default.useForm(),[Go]=ye.default.useForm(),pi=(0,x.useRef)(null),qa=(0,x.useRef)(null),Ir=(0,x.useRef)(),vo=["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"],ir=["C","C++","Java","Python","JavaScript","Ruby"];(0,x.useEffect)(()=>{Ot!=null&&Ot.length&&yr(Ot)},[Ot]),(0,x.useEffect)(()=>{ha===2&&pi.current.focus()},[ha]),(0,x.useEffect)(()=>{za&&ci()},[za]);const fi=()=>{if(ha===1){Te.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:()=>Kn(void 0,null,function*(){ba(1)})})},ci=()=>Kn(void 0,null,function*(){const we=yield(0,He.ZP)("/api/disciplines.json",{method:"get",params:{source:vn===1?"new_question":"subject"}});sn(we.disciplines||[])}),Fi=we=>{const an=[],wn=(Wn,Ct)=>{Wn.length>=2&&an.push(Wn.join(""));for(let jn=Ct;jn<we.length;jn++)Wn.push(we[jn]),wn(Wn,jn+1),Wn.pop()};return wn([],0),an},ei=we=>(we=we||"",we=String(we),we=we.replace(/\s+/g,""),we),hi=we=>(we=we||"",we=String(we),we=we.replace(/<div>/g,""),we=we.replace(/<br>/g,`
`),we=we.replace(/<\/div>/g,`
`),we=Kt(we),we),Wt=we=>we.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),Kt=we=>we.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"),aa=we=>{var an;const wn=we.clipboardData;if(wn){const Wn=wn.types.toString(),Ct=wn.items;if(Wn==="Files"||wn.types.indexOf("Files")>-1){we.preventDefault();try{let jn=Ct[1];((an=Ct[0])==null?void 0:an.kind)==="file"&&(jn=Ct[0]);const Gn=jn.getAsFile();(0,Ue.I)(Gn,In=>{var Jn;if(In.id){if(((Jn=Gn==null?void 0:Gn.type)==null?void 0:Jn.indexOf("image"))>-1){const sr=`<img src='${re.Z.API_SERVER}${In.url}'>`;document.execCommand("insertText",!1,sr)}}else(In==null?void 0:In.status)===401&&(document.location.href="/user/login")})}catch(jn){Te.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function xa(we,an){return Kn(this,null,function*(){if(typeof we=="string")return yield an(we);if(typeof we!="object"||we===null)return we;if(Array.isArray(we))return yield Promise.all(we.map(Ct=>Kn(this,null,function*(){return yield xa(Ct,an)})));const wn={};for(const Wn in we)if(Object.prototype.hasOwnProperty.call(we,Wn)){const Ct=we[Wn];typeof Ct=="string"?wn[Wn]=yield an(Ct):typeof Ct=="object"?wn[Wn]=yield xa(Ct,an):wn[Wn]=Ct}return wn})}const Ka=()=>Kn(void 0,null,function*(){var we;zr(!0),Dr("\u5904\u7406\u4E2D"),yield new Promise(Wn=>setTimeout(Wn,1e3));let an=(we=qa.current)==null?void 0:we.querySelectorAll('[data-text="edit"]'),wn="";try{an.forEach(function(Wn){var Ct,jn,Gn,In;const Jn=Wn.cloneNode(!0),sr=Jn.querySelectorAll("span.edu_latex");for(let Qr of sr){const Fr=Qr.getAttribute("title"),_o=document.createTextNode(Fr),Ho=Qr;(jn=(Ct=Ho.parentNode)==null?void 0:Ct.replaceChild)==null||jn.call(Ct,_o,Ho)}const hr=Jn.querySelectorAll("span[style]");for(let Qr of hr)if(Qr.style.fontFamily){const Fr=Qr.innerHTML,_o=document.createTextNode(Fr),Ho=Qr;(In=(Gn=Ho.parentNode)==null?void 0:Gn.replaceChild)==null||In.call(Gn,_o,Ho)}Jn==null||Jn.childNodes.forEach(function(Qr){Qr.nodeType===Node.ELEMENT_NODE&&Qr.localName!=="h5"&&Qr.localName!=="h4"?wn+=`<p>${Qr.innerHTML}</p>`:Qr.nodeType===Node.TEXT_NODE&&(wn+=`<p>${Qr.textContent}</p>`)})}),Ha("/api/intelligent_imports/import.json",{html:Kt(wn)})}catch(Wn){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",Wn)}}),Cr=we=>{let an=we.filter(wn=>!!(wn!=null&&wn.type));return an=an.map(wn=>{var Wn;const Ct=(Wn=Or.find(Gn=>Gn.id===(wn==null?void 0:wn.type)))==null?void 0:Wn.deal,jn=Sn(oa({},wn),{id:String(Math.random()).slice(-6),knowledgePoint:ei(wn==null?void 0:wn.knowledgePoint)});return Ct?Ct(jn):jn}),an},po=()=>{if(ha===1){Te.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:Ka})},Lo=()=>x.createElement("div",{className:ie.row},x.createElement("div",{className:ie.leftLayout},x.createElement(ca,{style:{height:675}},ha===1&&x.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>ba(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:ie.imgBox,style:{marginTop:75}},x.createElement("img",{width:56,src:ce}),x.createElement("span",null,"\u7F16\u8F91\u533A"))),ha===2&&x.createElement("div",{"data-text":"edit",onBlur:()=>{pi.current.innerHTML||ba(1)},ref:pi,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),x.createElement("div",{className:ie.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},x.createElement("div",{className:ie.imgBox,style:{marginTop:240}},x.createElement("img",{width:56,src:pe}),x.createElement("span",null,"\u9884\u89C8\u533A")))),rr=(we,an,wn,Wn)=>{var Ct;console.log(we,an,wn,Wn,"onDataChange\u4FEE\u6539\u6570\u503C");const jn=JSON.parse(JSON.stringify(Xr));Wn===void 0?jn[an][we]=wn:jn[an].questions[Wn][we]=wn;const Gn=oa({},jn[an]),In=(Ct=Or.find(Jn=>Jn.id===(Gn==null?void 0:Gn.type)))==null?void 0:Ct.deal;jn[an]=In(Gn),bo(jn)},zo=(we,an,wn)=>{var Wn;const Ct=wn!==void 0,jn=(Wn=Or.find(Jn=>Jn.id===(we==null?void 0:we.type)))==null?void 0:Wn.type,Gn=`${an+1}.${wn===void 0?"":wn+1+"."}`,In=`${(we==null?void 0:we.type)==="7"?"{{":""}${Gn}\u3010${jn}\u3011${(we==null?void 0:we.question)||""}`;return x.createElement(x.Fragment,null,Ct&&x.createElement("h4",{contentEditable:!0}),x.createElement(ft,{id:we==null?void 0:we.id,tagName:"div",value:In}))},ai=(we,an)=>Kn(void 0,null,function*(){var wn;const Wn=yield ot(we,an),Ct=(wn=Wn==null?void 0:Wn.data)==null?void 0:wn.content;if(Ct!=null&&Ct.length){const jn=Cr(Ct)[0];Jr.splice(an,1,jn),Xr.splice(an,1,jn),co([...Jr]),bo([...Xr])}}),ii=(we,an,wn)=>{var Wn;const Ct=wn!==void 0,jn=(Wn=Or.find(In=>In.id===(we==null?void 0:we.type)))==null?void 0:Wn.type,Gn=`${an+1}.${wn===void 0?"":wn+1+"."}`;return Ct?x.createElement("div",{style:{padding:"10px 18px"}},`${Gn}\u3010${jn}\u3011`,x.createElement(ft,{id:we==null?void 0:we.id,tagName:"span",className:ie.edit,onBlur:In=>rr("question",an,In,wn),value:(we==null?void 0:we.question)||""})):x.createElement(x.Fragment,null,x.createElement("div",{className:ie.actionHead},x.createElement("div",{className:"c-light-primary"},`${Gn}\u3010${jn}\u3011`),vn!==1&&x.createElement(nt.Z,{disabled:(we==null?void 0:we.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:In=>rr("score",an,In,wn),value:we==null?void 0:we.score}),x.createElement(Me.Z,{align:"middle",style:{marginLeft:"auto"}},!!ot&&x.createElement("span",{className:"current c-light-primary mr30",onClick:()=>ai(we,an)},x.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),x.createElement(ze.default,{onChange:In=>rr("checked",an,In.target.checked,wn),checked:!!(we!=null&&we.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),x.createElement(ft,{id:we==null?void 0:we.id,tagName:"div",style:{padding:"10px 18px"},className:ie.edit,onBlur:In=>rr("question",an,In,wn),value:we==null?void 0:we.question}))},oo=(we,an,wn)=>x.createElement(x.Fragment,null,["0","1","2","4"].includes(we==null?void 0:we.type)&&x.createElement(ft,{id:we==null?void 0:we.id,value:`\u7B54\u6848\uFF1A${an||""}`,tagName:"p"}),!wn&&x.createElement(ft,{id:we==null?void 0:we.id,value:`\u96BE\u5EA6\uFF1A${(we==null?void 0:we.difficulty)||""}`,tagName:"p"}),(we==null?void 0:we.type)!=="7"&&x.createElement(ft,{id:we==null?void 0:we.id,value:`\u89E3\u6790\uFF1A${(we==null?void 0:we.analyze)||""}`,tagName:"p"}),!wn&&x.createElement(ft,{id:we==null?void 0:we.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(we==null?void 0:we.knowledgePoint)||""}`,tagName:"p"})),tn=(we,an,wn,Wn)=>{const Ct=Wn!==void 0,jn=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Gn=Ct&&!we.last&&!we.errorMsg?{marginBottom:10}:{},In=jn.map(Jn=>({key:Jn,label:Jn,onClick:()=>rr("difficulty",wn,Jn,Wn)}));return x.createElement("div",{className:ie.liWrap,style:Gn},["4"].includes(we==null?void 0:we.type)&&x.createElement("div",{className:ie.li},x.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),x.createElement(ft,{id:we==null?void 0:we.id,tagName:"div",className:`${ie.edit} c-black`,onBlur:Jn=>rr("answer",wn,[Jn],Wn),value:an})),!Ct&&x.createElement("div",{className:ie.li},x.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),x.createElement("div",{className:"c-black"},x.createElement(Ze.Z,{menu:{items:In}},x.createElement("span",{className:"c-light-primary"},we==null?void 0:we.difficulty,x.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(we==null?void 0:we.type)!=="7"&&x.createElement("div",{className:ie.li},x.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),x.createElement(ft,{id:we==null?void 0:we.id,tagName:"div",className:`${ie.edit} c-grey-333`,onBlur:Jn=>rr("analyze",wn,Jn,Wn),value:we==null?void 0:we.analyze})),!Ct&&x.createElement("div",{onKeyDown:_n,className:ie.li},x.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),x.createElement(ft,{id:we==null?void 0:we.id,tagName:"div",value:(we==null?void 0:we.knowledgePoint)||"",className:`${ie.edit} c-grey-333`,onBlur:Jn=>rr("knowledgePoint",wn,ei(hi(Jn)),Wn)})))},gn=we=>x.createElement(x.Fragment,null,typeof(we==null?void 0:we.errorMsg)=="string"&&!!(we!=null&&we.errorMsg)&&x.createElement("h5",{contentEditable:!1},x.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),x.createElement("div",null,we==null?void 0:we.errorMsg))),Un=we=>x.createElement(x.Fragment,null,typeof(we==null?void 0:we.errorMsg)=="string"&&!!(we!=null&&we.errorMsg)&&x.createElement("h5",null,x.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),x.createElement("div",null,we==null?void 0:we.errorMsg))),qe=(we,an,wn,Wn)=>{let Ct="flex";return(Tt&&ro!==Wn||kr&&!(wn!=null&&wn.errorMsg))&&(Ct="none"),x.createElement("div",{className:ie.row,style:{display:Ct}},x.createElement("div",{className:ie.leftLayout},Ft||x.createElement(ca,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},we))),x.createElement("div",{className:ie.rightLayout},x.createElement(ln,{className:wn!=null&&wn.errorMsg?ie.error:""},an)))},Or=[{id:"0",type:"\u5355\u9009\u9898",element:(we,an,wn)=>{var Wn,Ct;const jn=wn!==void 0;let Gn=(Wn=we==null?void 0:we.answer)==null?void 0:Wn[0];const In=x.createElement(x.Fragment,null,zo(we,an,wn),(Ct=we==null?void 0:we.options)==null?void 0:Ct.map((Qr,Fr)=>x.createElement(ft,{id:we==null?void 0:we.id,key:Fr,value:`${vo[Fr]}.${Qr}`,tagName:"p"})),oo(we,Gn,jn),gn(we));let Jn=jn?we:Xr[an];const sr=Jn==null?void 0:Jn.options,hr=x.createElement(x.Fragment,null,ii(Jn,an,wn),sr==null?void 0:sr.map((Qr,Fr)=>{var _o;return x.createElement("div",{key:Fr,className:ie.option},x.createElement("aside",{className:((_o=Jn==null?void 0:Jn.answer)==null?void 0:_o[0])===vo[Fr]?ie.active:"",onClick:()=>rr("answer",an,[vo[Fr]],wn)},vo[Fr]),x.createElement(ft,{id:Jn==null?void 0:Jn.id,tagName:"div",className:`${ie.text}`,onBlur:Ho=>{sr[Fr]=Ho,rr("options",an,sr,wn)},value:Qr}))}),tn(Jn,"",an,wn),Un(Jn));return jn?[In,hr]:qe(In,hr,Jn,an)},deal:we=>{var an,wn,Wn;we.score=we.score===void 0?2:we.score;let Ct=ei((an=we==null?void 0:we.answer)==null?void 0:an[0]).toUpperCase();we.answer=Ct?[Ct]:[];let jn=[];if(!(we!=null&&we.options))jn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{we.options=(wn=we.options)==null?void 0:wn.slice(0,8);const Gn=we.options.map(Jn=>Jn==null?void 0:Jn.trim().replace(/^\s+|\s+$/g,""));new Set(Gn).size!==Gn.length&&jn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Ct||jn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),Ct&&(vo.slice(0,((Wn=we==null?void 0:we.options)==null?void 0:Wn.length)||8).includes(Ct)||jn.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")),ei(we==null?void 0:we.question)||jn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=jn.join(`
`),we}},{id:"1",type:"\u591A\u9009\u9898",element:(we,an,wn)=>{var Wn,Ct;const jn=wn!==void 0;let Gn=(Wn=we==null?void 0:we.answer)==null?void 0:Wn[0];const In=x.createElement(x.Fragment,null,zo(we,an,wn),(Ct=we==null?void 0:we.options)==null?void 0:Ct.map((Qr,Fr)=>x.createElement(ft,{id:we==null?void 0:we.id,key:Fr,value:`${vo[Fr]}.${Qr}`,tagName:"p"})),oo(we,Gn,jn),gn(we));let Jn=jn?we:Xr[an];const sr=Jn==null?void 0:Jn.options,hr=x.createElement(x.Fragment,null,ii(Jn,an,wn),sr==null?void 0:sr.map((Qr,Fr)=>{var _o,Ho;return x.createElement("div",{key:Fr,className:ie.option},x.createElement("aside",{className:(Ho=(_o=Jn==null?void 0:Jn.answer)==null?void 0:_o[0])!=null&&Ho.includes(vo[Fr])?ie.active:"",onClick:()=>{var zi;let Gi=((zi=Jn==null?void 0:Jn.answer)==null?void 0:zi[0])||"";const sl=vo[Fr];Gi.includes(sl)?Gi=Gi.replace(new RegExp(sl,"g"),""):Gi+=sl,Gi=Gi.split("").sort().join(""),rr("answer",an,[Gi],wn)}},vo[Fr]),x.createElement(ft,{id:Jn==null?void 0:Jn.id,tagName:"div",className:`${ie.text}`,onBlur:zi=>{sr[Fr]=zi,rr("options",an,sr,wn)},value:Qr}))}),tn(Jn,"",an,wn),Un(Jn));return jn?[In,hr]:qe(In,hr,Jn,an)},deal:we=>{var an,wn,Wn;we.score=we.score===void 0?2:we.score;let Ct=ei((an=we==null?void 0:we.answer)==null?void 0:an[0]).toUpperCase().split("").sort().join("");we.answer=Ct?[Ct]:[];let jn=[];if(!(we!=null&&we.options))jn.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{we.options=(wn=we.options)==null?void 0:wn.slice(0,8);const Gn=we.options.map(Jn=>Jn==null?void 0:Jn.trim().replace(/^\s+|\s+$/g,""));new Set(Gn).size!==Gn.length&&jn.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(Ct||jn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),Ct){const Gn=vo.slice(0,((Wn=we==null?void 0:we.options)==null?void 0:Wn.length)||8);Fi(Gn).includes(Ct)||jn.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 ei(we==null?void 0:we.question)||jn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=jn.join(`
`),we}},{id:"2",type:"\u5224\u65AD\u9898",element:(we,an,wn)=>{var Wn,Ct;const jn=wn!==void 0;let Gn=(Wn=we==null?void 0:we.answer)==null?void 0:Wn[0];const In=x.createElement(x.Fragment,null,zo(we,an,wn),oo(we,Gn,jn),gn(we));let Jn=jn?we:Xr[an];const sr=["\u6B63\u786E","\u9519\u8BEF"];let hr=((Ct=Jn==null?void 0:Jn.answer)==null?void 0:Ct[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(hr)?hr="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(hr)&&(hr="\u9519\u8BEF");const Qr=x.createElement(x.Fragment,null,ii(Jn,an,wn),sr==null?void 0:sr.map((Fr,_o)=>x.createElement("div",{key:_o,className:ie.option},x.createElement("aside",{style:{borderRadius:2},className:hr===Fr?ie.active:"",onClick:()=>rr("answer",an,[Fr],wn)},Fr==="\u6B63\u786E"?"T":"F"),x.createElement("div",{style:{pointerEvents:"none"},className:`${ie.text}`},Fr))),tn(Jn,"",an,wn),Un(Jn));return jn?[In,Qr]:qe(In,Qr,Jn,an)},deal:we=>{var an;we.score=we.score===void 0?2:we.score;let wn=ei((an=we==null?void 0:we.answer)==null?void 0:an[0]);we.answer=wn?[wn]:[];let Wn=[];return wn||Wn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),wn&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(wn)&&Wn.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"),ei(we==null?void 0:we.question)||Wn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Wn.join(`
`),we}},{id:"3",type:"\u586B\u7A7A\u9898",element:(we,an,wn)=>{var Wn,Ct;const jn=wn!==void 0,Gn=x.createElement(x.Fragment,null,zo(we,an,wn),(Wn=we==null?void 0:we.answer)==null?void 0:Wn.map((sr,hr)=>x.createElement(ft,{id:we==null?void 0:we.id,key:hr,tagName:"p",value:`\u7B54\u6848${hr+1}\uFF1A${sr.text||""}`})),oo(we,"",jn),gn(we));let In=jn?we:Xr[an];const Jn=x.createElement(x.Fragment,null,ii(In,an,wn),(Ct=In==null?void 0:In.answer)==null?void 0:Ct.map((sr,hr)=>x.createElement("div",{key:hr,className:ie.option},x.createElement("aside",{className:ie.fill},"\u586B\u7A7A\u9879",hr+1),sr.model===1&&x.createElement(ft,{id:In==null?void 0:In.id,tagName:"div",onBlur:Qr=>{In.answer[hr].latex=hi(Qr),rr("answer",an,In.answer,wn)},className:`${ie.text}`,value:sr.latex}),sr.model===2&&x.createElement(Ke.Z,{value:sr.latex,onChange:Qr=>{In.answer[hr].latex=Qr,rr("answer",an,In.answer,wn)}}))),tn(In,"",an,wn),Un(In));return jn?[Gn,Jn]:qe(Gn,Jn,In,an)},deal:we=>{var an,wn,Wn,Ct;we.score=we.score===void 0?2:we.score,we.question=(an=we.question)==null?void 0:an.replaceAll("\u2581","_");const jn=(wn=we.answer)==null?void 0:wn.map(In=>{if(Object.prototype.toString.call(In)==="[object Object]")return In;const Jn={model:1,text:In,latex:In};return In.startsWith("$$")&&In.endsWith("$$")||In.startsWith("`$$")&&In.endsWith("$$`")?(Jn.model=2,Jn.latex=In.slice(2,-2)):Jn.latex=hi(In),Jn});we.answer=jn;let Gn=[];return jn||Gn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),ei(we==null?void 0:we.question)?we!=null&&we.question.includes("_")?(Wn=we==null?void 0:we.answer)!=null&&Wn.length&&((we==null?void 0:we.question.match(/_+/g))||[]).length!==((Ct=we==null?void 0:we.answer)==null?void 0:Ct.length)&&Gn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Gn.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Gn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Gn.join(`
`),we}},{id:"4",type:"\u7B80\u7B54\u9898",element:(we,an,wn)=>{var Wn,Ct;const jn=wn!==void 0;let Gn=(Wn=we==null?void 0:we.answer)==null?void 0:Wn[0];const In=x.createElement(x.Fragment,null,zo(we,an,wn),oo(we,Gn,jn),gn(we));let Jn=jn?we:Xr[an];const sr=x.createElement(x.Fragment,null,ii(Jn,an,wn),tn(Jn,(Ct=Jn==null?void 0:Jn.answer)==null?void 0:Ct[0],an,wn),Un(Jn));return jn?[In,sr]:qe(In,sr,Jn,an)},deal:we=>{we.score=we.score===void 0?5:we.score;let an=[];return ei(we==null?void 0:we.question)||an.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=an.join(`
`),we}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(we,an)=>{var wn,Wn;const Ct=Xr[an],jn=ir.slice(0,4).map(Gn=>({key:Gn,label:Gn,onClick:()=>rr("platform",an,Gn)}));return x.createElement("div",{className:ie.row,style:{display:kr?Ct!=null&&Ct.errorMsg?"flex":"none":"flex"}},x.createElement("div",{className:ie.leftLayout},x.createElement(ca,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},zo(we,an),x.createElement(ft,{id:we==null?void 0:we.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(we==null?void 0:we.description)||""}`,tagName:"p"}),oo(we),x.createElement(ft,{id:we==null?void 0:we.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${we==null?void 0:we.timeLimit}`,tagName:"p"}),x.createElement(ft,{id:we==null?void 0:we.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(we==null?void 0:we.platform)||""}`,tagName:"p"}),x.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),x.createElement("h4",null),x.createElement(ft,{id:we==null?void 0:we.id,value:(we==null?void 0:we.code)||"",tagName:"div"}),(wn=we==null?void 0:we.inputs)==null?void 0:wn.map((Gn,In)=>{var Jn;return x.createElement(x.Fragment,{key:In},x.createElement("h4",null),x.createElement(ft,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${In+1})\u8F93\u5165\uFF1A${Gn||""}`,tagName:"div"}),x.createElement(ft,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${In+1})\u8F93\u51FA\uFF1A${((Jn=we==null?void 0:we.outputs)==null?void 0:Jn[In])||""}`,tagName:"div"}))}),gn(we)))),x.createElement("div",{className:ie.rightLayout},x.createElement(ln,{className:Ct!=null&&Ct.errorMsg?ie.error:""},ii(Ct,an),x.createElement("div",{className:ie.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},x.createElement("div",{className:ie.li},x.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),x.createElement(ft,{className:ie.edit,id:Ct==null?void 0:Ct.id,value:Ct==null?void 0:Ct.description,tagName:"div",onBlur:Gn=>rr("description",an,Gn)}))),tn(Ct,"",an),x.createElement("div",{className:ie.liWrap},x.createElement("div",{className:ie.li},x.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),x.createElement(ft,{className:ie.edit,id:Ct==null?void 0:Ct.id,value:Ct==null?void 0:Ct.timeLimit,tagName:"div",onBlur:Gn=>rr("timeLimit",an,hi(Gn))})),x.createElement("div",{className:ie.li},x.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),x.createElement("div",{className:"c-black"},x.createElement(Ze.Z,{menu:{items:jn}},x.createElement("span",{className:"c-light-primary"},Ct==null?void 0:Ct.platform,x.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),x.createElement("div",{className:ie.li,style:{flexDirection:"column",alignItems:"start"}},x.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),x.createElement(ft,{className:ie.edit,id:Ct==null?void 0:Ct.id,value:(Ct==null?void 0:Ct.code)||"",onBlur:Gn=>rr("code",an,hi(Gn)),tagName:"div"}))),(Wn=Ct==null?void 0:Ct.inputs)==null?void 0:Wn.map((Gn,In)=>{var Jn;return x.createElement("div",{className:ie.liWrap,key:In},x.createElement("div",{className:ie.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",In+1,")\u8F93\u5165\uFF1A"),x.createElement(ft,{id:Ct==null?void 0:Ct.id,value:Gn||"",className:ie.edit,onBlur:sr=>{const hr=[...(Ct==null?void 0:Ct.inputs)||[]];hr[In]=hi(sr),rr("inputs",an,hr)},tagName:"div"})),x.createElement("div",{className:ie.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",In+1,")\u8F93\u51FA\uFF1A"),x.createElement(ft,{id:Ct==null?void 0:Ct.id,value:((Jn=Ct==null?void 0:Ct.outputs)==null?void 0:Jn[In])||"",className:ie.edit,onBlur:sr=>{const hr=[...(Ct==null?void 0:Ct.outputs)||[]];hr[In]=hi(sr),rr("outputs",an,hr)},tagName:"div"})))}),Un(Ct))))},deal:we=>{var an,wn,Wn;we.score=we.score===void 0?10:we.score,we.code=(an=we.code)==null?void 0:an.trim();let Ct=[];ei(we==null?void 0:we.question)?((wn=we==null?void 0:we.question)==null?void 0:wn.length)>60&&Ct.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):Ct.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),ei(we==null?void 0:we.description)||Ct.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const jn=ei(String((we==null?void 0:we.timeLimit)||""));if(we.timeLimit=jn,(!jn||jn&&!["3","4","5","6","7","8","9","10"].includes(jn))&&Ct.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),we.platform=ei(we==null?void 0:we.platform),we!=null&&we.platform){const Gn=["c","c++","java","python"],In=(Wn=we==null?void 0:we.platform)==null?void 0:Wn.toLowerCase(),Jn=Gn.findIndex(sr=>sr===In);Jn>-1?we.platform=ir[Jn]:Ct.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else Ct.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(we!=null&&we.inputs)||!(we!=null&&we.outputs))we.inputs=[],we.outputs=[],Ct.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 Gn=Math.min(we.inputs.length,we.outputs.length);we.inputs=we.inputs.slice(0,Gn),we.outputs=we.outputs.slice(0,Gn),we.outputs.some(In=>!ei(In))&&Ct.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return we.errorMsg=Ct.join(`
`),we}},{id:"7",type:"\u7EC4\u5408\u9898",element:(we,an)=>{var wn,Wn;const Ct=Xr[an];return x.createElement("div",{className:ie.row,style:{display:kr?Ct!=null&&Ct.errorMsg?"flex":"none":"flex"}},x.createElement("div",{className:ie.leftLayout},x.createElement(ca,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},zo(we,an),oo(we),(wn=we==null?void 0:we.questions)==null?void 0:wn.map((jn,Gn)=>{var In;const Jn=(In=Or.find(sr=>sr.id===(jn==null?void 0:jn.type)))==null?void 0:In.element;return x.createElement(x.Fragment,{key:`left-${we.id}-${Gn}`},Jn(jn,an,Gn)[0])}),gn(we),x.createElement("p",{contentEditable:!0},"}}")))),x.createElement("div",{className:ie.rightLayout},x.createElement(ln,{className:Ct!=null&&Ct.errorMsg?ie.error:""},ii(Ct,an),tn(Ct,"",an),(Wn=Ct==null?void 0:Ct.questions)==null?void 0:Wn.map((jn,Gn)=>{var In;const Jn=(In=Or.find(sr=>sr.id===(jn==null?void 0:jn.type)))==null?void 0:In.element;return x.createElement(x.Fragment,{key:`right-${Ct.id}-${Gn}`},Jn(jn,an,Gn)[1])}),Un(Ct))))},deal:we=>{var an,wn,Wn,Ct,jn;const Gn=Cr,In=[...Or],Jn=In.findIndex(Fr=>Fr.id==="0"),sr=In.findIndex(Fr=>Fr.id==="1");if(Jn!==-1){const Fr=In[Jn].deal;In[Jn].deal=_o=>{const Ho=Fr(_o);return Ho.errorMsg&&(Ho.errorMsg=Ho.errorMsg.split(`
`).filter(zi=>zi!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),Ho}}if(sr!==-1){const Fr=In[sr].deal;In[sr].deal=_o=>{const Ho=Fr(_o);return Ho.errorMsg&&(Ho.errorMsg=Ho.errorMsg.split(`
`).filter(zi=>zi!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),Ho}}we.questions=(an=we.questions)!=null&&an.length?Cr(we.questions.slice(0,20)):[],we.questions=(wn=we.questions)==null?void 0:wn.map((Fr,_o)=>{var Ho;if(Fr.type==="0"||Fr.type==="1"){const zi=(Ho=Fr.options)==null?void 0:Ho.map(Gi=>Gi==null?void 0:Gi.trim().replace(/^\s+|\s+$/g,""));zi&&new Set(zi).size!==zi.length&&(Fr.errorMsg=(Fr.errorMsg?Fr.errorMsg+`
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Sn(oa({},Fr),{last:_o===we.questions.length-1})});const hr=(Wn=we.questions)==null?void 0:Wn.reduce((Fr,_o)=>{const Ho=parseFloat(_o.score);return isNaN(Ho)?Fr:Fr+Ho},0);we.score=hr;let Qr=[];return(Ct=we.questions)!=null&&Ct.length?we.errorMsg=((jn=we.questions)==null?void 0:jn.findIndex(Fr=>!!Fr.errorMsg))>-1:Qr.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),ei(we==null?void 0:we.question)||Qr.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Qr.length&&(we.errorMsg=Qr.join(`
`)),we}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(we,an)=>{var wn,Wn;const Ct=Xr[an],jn=ir.map(Gn=>({key:Gn,label:Gn,onClick:()=>rr("platform",an,Gn)}));return x.createElement("div",{className:ie.row,style:{display:kr?Ct!=null&&Ct.errorMsg?"flex":"none":"flex"}},x.createElement("div",{className:ie.leftLayout},x.createElement(ca,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:ie.question},zo(we,an),oo(we),x.createElement(ft,{id:we==null?void 0:we.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${we==null?void 0:we.timeLimit}`,tagName:"p"}),x.createElement(ft,{id:we==null?void 0:we.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(we==null?void 0:we.platform)||""}`,tagName:"p"}),x.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),x.createElement("h4",null),x.createElement(ft,{id:we==null?void 0:we.id,value:(we==null?void 0:we.code)||"",tagName:"div"}),x.createElement("h4",null),x.createElement(ft,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(we==null?void 0:we.input)||""}`,tagName:"p"}),x.createElement(ft,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(we==null?void 0:we.output)||""}`,tagName:"p"}),(wn=we==null?void 0:we.answer)==null?void 0:wn.map((Gn,In)=>x.createElement(ft,{key:In,id:we==null?void 0:we.id,value:`\u7B54\u6848${In+1}\uFF1A${Gn||""}`,tagName:"p"})),gn(we)))),x.createElement("div",{className:ie.rightLayout},x.createElement(ln,{className:Ct!=null&&Ct.errorMsg?ie.error:""},ii(Ct,an),tn(Ct,"",an),x.createElement("div",{className:ie.liWrap},x.createElement("div",{className:ie.li,onKeyDown:_n},x.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),x.createElement(ft,{className:ie.edit,id:Ct==null?void 0:Ct.id,value:Ct==null?void 0:Ct.timeLimit,tagName:"div",onBlur:Gn=>rr("timeLimit",an,hi(Gn))})),x.createElement("div",{className:ie.li},x.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),x.createElement("div",{className:"c-black"},x.createElement(Ze.Z,{menu:{items:jn}},x.createElement("span",{className:"c-light-primary"},Ct==null?void 0:Ct.platform,x.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),x.createElement("div",{className:ie.li,style:{flexDirection:"column",alignItems:"start"}},x.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),x.createElement(ft,{className:ie.edit,id:Ct==null?void 0:Ct.id,value:(Ct==null?void 0:Ct.code)||"",onBlur:Gn=>rr("code",an,hi(Gn)),tagName:"div"})),x.createElement("div",{className:ie.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),x.createElement(ft,{className:ie.edit,id:Ct==null?void 0:Ct.id,value:(Ct==null?void 0:Ct.input)||"",onBlur:Gn=>rr("input",an,hi(Gn)),tagName:"div"})),x.createElement("div",{className:ie.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),x.createElement(ft,{className:ie.edit,id:Ct==null?void 0:Ct.id,value:(Ct==null?void 0:Ct.output)||"",onBlur:Gn=>rr("output",an,hi(Gn)),tagName:"div"}))),x.createElement("div",{className:ie.liWrap},(Wn=Ct==null?void 0:Ct.answer)==null?void 0:Wn.map((Gn,In)=>x.createElement("div",{className:ie.li,key:In},x.createElement("aside",null,"\u7B54\u6848",In+1,"\uFF1A"),x.createElement(ft,{id:Ct==null?void 0:Ct.id,value:Gn||"",className:ie.edit,onBlur:Jn=>{const sr=[...(Ct==null?void 0:Ct.answer)||[]];sr[In]=hi(Jn),rr("output",an,sr)},tagName:"div"})))),Un(Ct))))},deal:we=>{var an,wn,Wn,Ct,jn,Gn,In,Jn;we.score=we.score===void 0?10:we.score,we.code=(Wn=(wn=(an=we.code)==null?void 0:an.trim())==null?void 0:wn.replace(/@_@/g,"@\u2581@"))==null?void 0:Wn.replace(/@__@/g,"@\u2581\u2581@");let sr=[];if(ei(we==null?void 0:we.question)||sr.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),ei(we==null?void 0:we.code)?/@▁@|@▁▁@/.test(we==null?void 0:we.code)?(Ct=we==null?void 0:we.answer)!=null&&Ct.length&&((jn=we==null?void 0:we.code.match(/@▁@|@▁▁@/g))==null?void 0:jn.length)!==((Gn=we==null?void 0:we.answer)==null?void 0:Gn.length)&&sr.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):sr.push("\u7A0B\u5E8F\u4EE3\u7801\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u7A0B\u5E8F\u4EE3\u7801\u4E2D\u7684\u586B\u7A7A\u9879\u9700\u8981\u4F7F\u7528 @\u2581@ \u7B26\u53F7\u6807\u8BC6\u51FA\u6765"):sr.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),we!=null&&we.answer?(In=we.answer)!=null&&In.some(Qr=>!ei(Qr))&&sr.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):sr.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),we.platform=ei(we==null?void 0:we.platform),we!=null&&we.platform){const Qr=["c","c++","java","python","javascript","ruby"],Fr=(Jn=we==null?void 0:we.platform)==null?void 0:Jn.toLowerCase(),_o=Qr.findIndex(Ho=>Ho===Fr);_o>-1?we.platform=ir[_o]:sr.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else sr.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");ei(we==null?void 0:we.output)||sr.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const hr=ei(String((we==null?void 0:we.timeLimit)||""));return we.timeLimit=hr,(!hr||hr&&!["3","4","5","6","7","8","9","10"].includes(hr))&&sr.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),we.errorMsg=sr.join(`
`),we}}],Kr=()=>x.createElement(x.Fragment,null,Jr.filter(we=>{var an;return!!((an=Or.find(Wn=>Wn.id===(we==null?void 0:we.type)))==null?void 0:an.element)}).map((we,an)=>{var wn;const Wn=(wn=Or.find(Ct=>Ct.id===(we==null?void 0:we.type)))==null?void 0:wn.element;return x.createElement(x.Fragment,{key:we.id},Wn(we,an))})),uo=()=>Kn(void 0,null,function*(){const we=Xr.filter(an=>!an.checked);if(ha!==3||!we.length){Te.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}Hr.setFieldsValue({sub_discipline_id:ia}),Ar(!0)}),yr=we=>Kn(void 0,null,function*(){const an=Cr(we);co(an),bo(JSON.parse(JSON.stringify(an))),ba(3),zr(!1),dr(!1),Sa(!1)});(0,x.useEffect)(()=>{if(bn)return;const we=()=>{gr(an=>an>=90?(clearInterval(Ir.current),90):an+1)};return Ir.current=setInterval(we,5e4/90),()=>clearInterval(Ir.current)},[bn]);const Ha=(we,an)=>{da(!1);const wn=new FormData;Object.keys(an).forEach(Ct=>{wn.append(Ct,an[Ct])});const Wn=new window.XMLHttpRequest;Wn.withCredentials=!0,Wn.addEventListener("load",function(Ct){return Kn(this,null,function*(){var jn,Gn;try{const In=JSON.parse((jn=Ct==null?void 0:Ct.target)==null?void 0:jn.response);if(da(!0),gr(100),yield new Promise(Jn=>setTimeout(()=>Jn(),780)),In.status===0){if(!((Gn=In==null?void 0:In.data)!=null&&Gn.length)){Te.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),zr(!1);return}yr((In==null?void 0:In.data)||[])}else zr(!1),Te.ZP.warning(In==null?void 0:In.message)}catch(In){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",In)}})}),Wn.addEventListener("error",()=>{zr(!1)}),Wn.open("POST",`${re.Z.API_SERVER}${we}`),Wn.send(wn)},Hn=we=>Kn(void 0,null,function*(){const an=we.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(an)==-1?(Te.ZP.error(`${we.name}\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\uFF0C\u5F53\u524D\u4EC5\u9650\u652F\u6301\u683C\u5F0F\u4E3Adocx\u6587\u4EF6\uFF08Microsoft Word 2007\u4EE5\u4E0A\u7684\u7248\u672C\uFF09`),Promise.reject()):(zr(!0),Dr("\u5904\u7406\u4E2D"),Ha("/api/intelligent_imports/import.json",{file:we}),Promise.reject())}),Tn=we=>Kn(void 0,null,function*(){const an=we.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(an)==-1?(Te.ZP.warning("\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"),Promise.reject()):we.size/1024/1024>200?(Te.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(It!=null&&It.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:()=>ar([we])}):ar([we]),Promise.reject())});let Oa=[{key:1,label:x.createElement(de.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:Hn},x.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];const Lr=[Xr.length,(va=Xr.filter(we=>!!(we!=null&&we.errorMsg)))==null?void 0:va.length];return x.createElement("div",{className:Re()(ie.intelligentBox,"intelligent-body-curb",Be),style:Sn(oa({},Je),{width:vt}),ref:qa},x.createElement("div",{className:ie.underpin},x.createElement("b",{style:nn}),x.createElement("b",{style:nn})),x.createElement("div",{className:ie.head,style:{top:Nn}},x.createElement("div",{className:ie.leftLayout},Pa||x.createElement(x.Fragment,null,x.createElement(Me.Z,{align:"middle"},x.createElement("div",{className:ie.title},"\u8BD5\u9898\u7F16\u8F91"),!et&&x.createElement(te.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(te.op,{onClick:fi,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!et&&x.createElement(Ze.Z,{overlayClassName:ie.menu,menu:{items:Oa}},x.createElement(te.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!Rt&&Rt),x.createElement("div",{className:ie.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(Me.Z,{className:ie.rightLayout,style:{alignItems:"start"}},An||x.createElement(x.Fragment,null,x.createElement("div",{className:ie.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(ha)&&x.createElement(ze.default,{className:"ml20",checked:kr,onChange:we=>Sa(we.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(ha)&&x.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",x.createElement("span",{className:"ml5 mr5 c-light-primary"},Lr[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",x.createElement("span",{className:"ml5 mr5 c-red-e53"},Lr[1]),"\u9898")),Tt&&x.createElement("div",{className:ie.tabs},Jr==null?void 0:Jr.map((we,an)=>x.createElement("div",{onClick:()=>{la(an)},className:ro===an&&ie.active,key:an},"\u65B0\u9898",an+1)))),x.createElement("div",{className:ie.centerBox},x.createElement("img",{className:"mb10",src:Pe,width:56}),!ya&&x.createElement(te.op,{onClick:po},"\u8BC6\u522B"))),[1,2].includes(ha)&&Lo(),[3].includes(ha)&&Kr(),x.createElement("div",{className:"pb10"}),x.createElement("div",{className:ie.buttonFixed},x.createElement("div",{className:ie.buttonWrap},x.createElement(_e.ZP,{size:"middle",className:`${ie.button} mr20`,onClick:Vt},"\u53D6\u6D88"),x.createElement(_e.ZP,{size:"middle",type:"primary",className:`${ie.button}`,onClick:uo},na))),x.createElement(se.default,{centered:!0,closable:!1,destroyOnClose:!0,open:so,title:null,footer:null,width:320,afterClose:()=>gr(0)},x.createElement(Me.Z,{align:"middle",style:{flexDirection:"column"}},x.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},Qa,x.createElement("span",{className:ie.dotLoading},x.createElement("span",null,"."),x.createElement("span",null,"."),x.createElement("span",null,"."))),x.createElement(ue.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:lr}),x.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",x.createElement("span",{className:"ml5 c-light-primary"},lr,"%")))),x.createElement(se.default,{centered:!0,open:za,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:ja,width:480,onCancel:()=>Ar(!1),onOk:()=>Hr.submit(),afterClose:()=>{Hr.resetFields()}},x.createElement(ye.default,{style:{maxHeight:550},form:Hr,layout:"horizontal",colon:!1,size:"large",onFinish:we=>Kn(void 0,null,function*(){var an,wn,Wn,Ct,jn;const Gn=Xr.filter(sr=>!sr.checked&&!sr.errorMsg);_a(!0);const In=()=>Kn(void 0,null,function*(){var sr,hr;const Qr=yield(0,He.ZP)("/api/intelligent_imports/save.json",{method:"post",body:Sn(oa(oa({},ta),we),{list:Gn,mode:vn})});Qr.status===0&&(Lt&&((sr=Qr==null?void 0:Qr.data)!=null&&sr.success)&&window.location.pathname==="/problemset"&&(ut.Z.publish("refresh-item-bank",we.group_id),yield new Promise(Fr=>setTimeout(()=>Fr(),1500))),Te.ZP.success(`\u6210\u529F\u5BFC\u5165${(hr=Qr==null?void 0:Qr.data)==null?void 0:hr.success}\u9053\u8BD5\u9898`,3),dn(),Ar(!1)),_a(!1)});if(vn!==1){yield In();return}const Jn=yield(0,He.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:Xr,mode:vn}});if(Jn.status===0){if(!((an=Jn==null?void 0:Jn.data)!=null&&an.error_size)){yield In();return}se.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{_a(!1)},title:"\u63D0\u793A",content:x.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",x.createElement("span",{className:"c-light-primary ml5 mr5"},(wn=Jn==null?void 0:Jn.data)==null?void 0:wn.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",x.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(Wn=Jn==null?void 0:Jn.data)==null?void 0:Wn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",x.createElement("span",{className:"ml5 mr5"},(jn=(Ct=Jn==null?void 0:Jn.data)==null?void 0:Ct.index)==null?void 0:jn.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:In})}})},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(ye.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:kt})),vn===1&&x.createElement(ye.default.Item,{label:x.createElement(Me.Z,{align:"middle",style:{justifyContent:"space-between"}},x.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),x.createElement("div",{onClick:()=>Wa(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},x.createElement("img",{className:"mr5 primary-hover",src:Oe}),"\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(ke.Z,{key:Yt})))),x.createElement(se.default,{centered:!0,open:er,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:Eo,onCancel:()=>Wa(!1),onOk:()=>Go.submit(),afterClose:()=>{Go.resetFields()}},x.createElement(ye.default,{style:{maxHeight:550},form:Go,layout:"horizontal",colon:!1,size:"large",onFinish:we=>Kn(void 0,null,function*(){var an;Nr(!0),(yield(0,He.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:we.name,parent_id:(an=we==null?void 0:we.parent_id)==null?void 0:an[0]}})).status===0?($n(Yt+1),setTimeout(()=>{Te.ZP.success("\u64CD\u4F5C\u6210\u529F"),Wa(!1),Nr(!1)},1e3)):Nr(!1)})},x.createElement(ye.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(ye.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},x.createElement(ke.Z,null)))),x.createElement(se.default,{centered:!0,open:La,title:"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898",width:814,okText:"\u751F\u6210\u8BD5\u9898",onCancel:()=>dr(!1),onOk:()=>{if(Ya===1&&!ei(Yn)){Te.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(Ya===2&&!ei(Yn)&&!(It!=null&&It.length)){Te.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const we=[{name:"\u5355\u9009\u9898",num:ga||0},{name:"\u591A\u9009\u9898",num:wa||0},{name:"\u5224\u65AD\u9898",num:Yr||0},{name:"\u586B\u7A7A\u9898",num:ni||0},{name:"\u7B80\u7B54\u9898",num:Da||0}];if(we.reduce((Wn,Ct)=>Wn+Ct.num,0)===0){Te.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}console.log(Ya,ga,wa),zr(!0),Dr("\u5904\u7406\u4E2D");const wn={type:Ya,query:Yn,item_types:JSON.stringify(we)};Ya===2&&(wn.file=(It==null?void 0:It[0])||null),Ha("/api/intelligent_imports/large_model_intelligent_qa.json",wn)}},x.createElement(Me.Z,{align:"middle",className:"mb10 c-black"},x.createElement("div",{className:"mr10"},"\u51FA\u9898\u8981\u6C42"),x.createElement(b.ZP.Group,{value:Ya,onChange:we=>Bt(we.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:Yn,placeholder:Ya===1?"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\uFF0C\u591A\u4E2A\u77E5\u8BC6\u70B9\u7528\u201C\u3001\u201D\u5206\u9694\u5F00":"\u8BF7\u5148\u63D0\u4F9B\u60A8\u51FA\u9898\u4F9D\u636E\u7684\u6750\u6599\uFF0C\u53EF\u4EE5\u76F4\u63A5\u590D\u5236\u6750\u6599\u5185\u5BB9\u7C98\u8D34\u5728\u6B64\u533A\u57DF\uFF0C\u4E5F\u53EF\u70B9\u51FB\u4E0B\u65B9\u4E0A\u4F20\u6750\u6599\u6309\u94AE\u4E0A\u4F20\u672C\u5730\u6750\u6599\u6587\u6863",onChange:we=>{Dn(we.target.value)}}),Ya===2&&x.createElement(x.Fragment,null,x.createElement(de.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:It,beforeUpload:Tn,className:"mb20",onRemove:()=>ar([])},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(te.op,{style:{borderRadius:2}},x.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),x.createElement("div",{style:{height:20}})),x.createElement(Me.Z,{align:"middle",className:"c-black"},x.createElement("div",{className:"mb10"},"\u51FA\u9898\u6570\u91CF"),x.createElement(Me.Z,{gutter:16},x.createElement(ee.Z,null,x.createElement("label",null,"\u5355\u9009\u9898"),x.createElement(nt.Z,{min:0,max:10,value:ga,onChange:Ja,style:{marginLeft:"8px"}})),x.createElement(ee.Z,null,x.createElement("label",null,"\u591A\u9009\u9898"),x.createElement(nt.Z,{min:0,max:10,value:wa,onChange:Io,style:{marginLeft:"8px"}})),x.createElement(ee.Z,null,x.createElement("label",null,"\u5224\u65AD\u9898"),x.createElement(nt.Z,{min:0,max:10,value:Yr,onChange:Zo,style:{marginLeft:"8px"}})),x.createElement(ee.Z,null,x.createElement("label",null,"\u586B\u7A7A\u9898"),x.createElement(nt.Z,{min:0,max:10,value:ni,onChange:vi,style:{marginLeft:"8px"}})),x.createElement(ee.Z,null,x.createElement("label",null,"\u7B80\u7B54\u9898"),x.createElement(nt.Z,{min:0,max:10,value:Da,onChange:yi,style:{marginLeft:"8px"}}))))))},cn=oe;var We=At},35713:function(Jt,zt,z){"use strict";var x=z(67294),ie=z(71736),Ce=z(84279),Re=z(36527),ye=z(14446),Te=z(67294);const se=(0,x.forwardRef)(({callback:nt,width:Me,onChange:ze,disabled:Ze,readOnly:de,type:_e="",value:ue="",style:y={}},a)=>{const b=(0,x.useRef)(),E=(0,x.useRef)(),[ee,te]=(0,x.useState)(0),[re,oe]=(0,x.useState)(0),[ce,pe]=(0,x.useState)(!1),Pe=()=>{var he=document.createElement("div");he.innerHTML=b.current.getValue();var Ke=he.innerText;return nt&&nt(Ke),Ke};(0,x.useImperativeHandle)(a,()=>({getData:Pe}));const He=he=>{he.preventDefault();const Ke=he.clientX-ee,Ue=he.clientY-re;document.body.onmousemove=$e=>{let Fe=$e.clientX-Ke,at=$e.clientY-Ue;const lt=document.getElementsByClassName("markdown-popup-form")[0],ft=window.innerWidth-lt.offsetWidth,ut=window.innerHeight-lt.offsetHeight;Fe=Math.max(0,Math.min(Fe,ft)),at=Math.max(0,Math.min(at,ut)),ke($e.clientX,$e.clientY,Ke,Ue)&&(te(Fe),oe(at))},document.body.onmouseup=function(){document.body.onmousemove=null}},ke=(he,Ke,Ue,$e)=>{const Fe=document.body.clientHeight,at=document.body.clientWidth;return he<20&&Ue>he||he>at-20&&Ue<he||Ke<20&&$e>Ke||Ke>Fe-20&&$e<Ke?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,x.useEffect)(()=>{ce&&setTimeout(()=>{const he=document.getElementsByClassName("markdown-popup-form")[0],Ke=window.innerWidth/2-he.offsetWidth/2,Ue=window.innerHeight/2-he.offsetHeight/2;te(Ke),oe(Ue)},0)},[ce]);const Oe=()=>{Ze||de||pe(!0)};return Te.createElement("div",{style:y},Te.createElement("div",{style:{width:Me||"100%",position:"relative"},className:`${ie.Z.mathFillWrap} ${Ze||de?"cursorDefault":""}`,onClick:()=>Oe()},Te.createElement("math-field",{disabled:Ze,locale:"zh_cn",class:`${ie.Z.mathField} ${_e}`,readOnly:de,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:b,style:{width:"100%",fontSize:ue?18:14},value:ue||""})),Te.createElement(ye.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:ee,top:re},title:Te.createElement("div",{style:{cursor:"move"},onMouseDown:He},"\u8F93\u5165\u516C\u5F0F"),open:ce,onOk:()=>{const he=E.current.getData();b.current.setValue(he),ze(he),pe(!1)},onCancel:()=>{pe(!1)},destroyOnClose:!0,className:"markdown-popup-form"},Te.createElement(Re.Z,{value:ue,ref:E,onChange:ze,showSaveButton:!1})))});zt.Z=se},36527:function(Jt,zt,z){"use strict";var x=z(67294),ie=z(71230),Ce=z(15746),Re=z(66368),ye=z(71577),Te=z(85725),se=z(71736),nt=z(84279),Me=z(67294);const ze=(0,x.forwardRef)(({callback:Ze,showSaveButton:de,value:_e=""},ue)=>{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+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Me.createElement(ie.Z,{className:se.Z.lists,gutter:[10,10]},a.map((re,oe)=>Me.createElement(Ce.Z,{flex:"110px",className:se.Z.item},Me.createElement("div",null,Me.createElement(Te.Z,{value:`$$${re.value}$$`}),re.name),Me.createElement("div",{className:se.Z.children},re.children.map((ce,pe)=>Me.createElement("div",{key:pe},Me.createElement("h1",null,ce.name),Me.createElement(ie.Z,{gutter:[10,10]},ce.data.map((Pe,He)=>Me.createElement(Ce.Z,{key:He,onClick:()=>E(Pe),className:se.Z.diamond},Me.createElement(Te.Z,{value:"`$$"+Pe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Me.createElement(ie.Z,{className:se.Z.lists,gutter:[10,10]},b.map((re,oe)=>Me.createElement(Ce.Z,{flex:"110px",className:se.Z.item},Me.createElement("div",null,Me.createElement(Te.Z,{value:"`$$"+re.value+"$$`"}),re.name),Me.createElement("div",{className:se.Z.children},re.children.map((ce,pe)=>Me.createElement("div",{key:pe},ce.name&&Me.createElement("h1",null,ce.name),Me.createElement(ie.Z,{gutter:[10,10]},ce.data.map((Pe,He)=>Me.createElement(Ce.Z,{key:He,onClick:()=>E(Pe),className:se.Z.diamond},Me.createElement(Te.Z,{value:"`$$"+Pe.value+"$$`"}))))))))))}],te=()=>{var re=document.createElement("div");re.innerHTML=y.current.getValue();var oe=re.innerText;return Ze&&Ze(oe),oe};return(0,x.useImperativeHandle)(ue,()=>({getData:te})),Me.createElement("div",{className:se.Z.mathWrap},Me.createElement(Re.default,{defaultActiveKey:"1",items:ee}),Me.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||""),de&&Me.createElement("div",{className:se.Z.button},Me.createElement(ye.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});zt.Z=ze},41188:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return de}});var x=z(67294),ie=z(22150),Ce=z(14446),Re=z(69677),ye=z(55304),Te=z(33170),se={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},nt=z(99640),Me=z(67294),ze=(_e,ue,y)=>new Promise((a,b)=>{var E=re=>{try{te(y.next(re))}catch(oe){b(oe)}},ee=re=>{try{te(y.throw(re))}catch(oe){b(oe)}},te=re=>re.done?a(re.value):Promise.resolve(re.value).then(E,ee);te((y=y.apply(_e,ue)).next())}),de=({type:_e="subject",open:ue,onCancel:y,onOkClick:a,subDisciplineId:b})=>{const[E]=ie.default.useForm(),[ee,te]=(0,x.useState)([]),[re,oe]=(0,x.useState)(!1);(0,x.useEffect)(()=>{},[]);const ce=()=>ze(void 0,null,function*(){if(_e){const pe=yield(0,Te.ZP)("/api/disciplines.json",{method:"get",params:{source:_e}});te(pe.disciplines||[])}});return Me.createElement(Ce.default,{title:Me.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:ue,width:558,centered:!0,className:se.publicQuest,onCancel:()=>{y(),E.resetFields()},onOk:()=>{E.validateFields().then(pe=>ze(void 0,null,function*(){const Pe=yield(0,Te.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:pe==null?void 0:pe.name,sub_discipline_id:b}});(Pe==null?void 0:Pe.status)===0&&a({name:pe==null?void 0:pe.name,id:Pe==null?void 0:Pe.tag_discipline_id,public:!1,type:"personal"}),E.resetFields(),y()}))}},Me.createElement("div",{className:se.publicQuestContent},Me.createElement("div",{className:se.public_tips},Me.createElement(ye.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"),Me.createElement(ie.default,{labelAlign:"left",form:E,colon:!1},Me.createElement(ie.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},Me.createElement(Re.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),Me.createElement(nt.Z,{open:re,onCancel:()=>{oe(!1)}})))}},3830:function(Jt,zt,z){"use strict";z.d(zt,{Q:function(){return Me},Z:function(){return Ze}});var x=z(67294),ie={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"},Ce=z(94184),Re=z.n(Ce),ye=z(14446),Te=z(2453),se=z(84567),nt=(de,_e,ue)=>new Promise((y,a)=>{var b=te=>{try{ee(ue.next(te))}catch(re){a(re)}},E=te=>{try{ee(ue.throw(te))}catch(re){a(re)}},ee=te=>te.done?y(te.value):Promise.resolve(te.value).then(b,E);ee((ue=ue.apply(de,_e)).next())});const Me=({title:de="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:_e=[],visible:ue,setVisible:y,tip:a,onOk:b})=>{const[E,ee]=(0,x.useState)([]),[te,re]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{ue&&ee(_e)},[ue]),x.createElement(ye.default,{centered:!0,open:ue,title:de,confirmLoading:te,width:564,onOk:()=>nt(void 0,null,function*(){if(!E.length){Te.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:oe=>{ee(oe)}})))};var Ze=({title:de="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:_e,style:ue={},onEdit:y,dataSource:a=[]})=>{const b={C:x.createElement("div",{className:ie.c},"C"),"C++":x.createElement("div",{className:ie.cpp},"C++"),Java:x.createElement("div",{className:ie.java},"Java"),Python:x.createElement("div",{className:ie.python},"Python")};return x.createElement("div",{className:Re()(ie.tags,_e),style:ue},!!de&&x.createElement("div",{className:ie.text},de),x.createElement("div",{className:ie.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 ${ie.edit}`}))}},15312:function(Jt,zt,z){"use strict";z.d(zt,{t:function(){return cn}});var x=z(67294),ie=z(69677),Ce=z(22150),Re=z(14446),ye=z(71230),Te=z(15746),se=z(31795),nt=z(11713),Me=z(78045),ze=z(41307),Ze=z(35973),de=z(52654),_e=z(2453),ue=z(71577),y=z(57953),a=z(19575),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=z(33170),ee=z(88742),te=z(35567),re=z(74855),oe=z(96707),ce=z(67294),pe=Object.defineProperty,Pe=Object.defineProperties,He=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Ke=(We,Be,Je)=>Be in We?pe(We,Be,{enumerable:!0,configurable:!0,writable:!0,value:Je}):We[Be]=Je,Ue=(We,Be)=>{for(var Je in Be||(Be={}))Oe.call(Be,Je)&&Ke(We,Je,Be[Je]);if(ke)for(var Je of ke(Be))he.call(Be,Je)&&Ke(We,Je,Be[Je]);return We},$e=(We,Be)=>Pe(We,He(Be)),Fe=(We,Be,Je)=>new Promise((vt,Vt)=>{var dn=Nn=>{try{vn(Je.next(Nn))}catch(ia){Vt(ia)}},ta=Nn=>{try{vn(Je.throw(Nn))}catch(ia){Vt(ia)}},vn=Nn=>Nn.done?vt(Nn.value):Promise.resolve(Nn.value).then(dn,ta);vn((Je=Je.apply(We,Be)).next())}),lt=({buttonProps:We,buttonText:Be,form:Je,hackIdentifier:vt="",answerKey:Vt,data:dn})=>{const[ta,vn]=(0,x.useState)(!1),[Nn,ia]=(0,x.useState)(!1),[et,Ot]=(0,x.useState)(!1),[Pa,An]=(0,x.useState)({}),[Ft,ya]=(0,x.useState)(""),[ot,Tt]=(0,x.useState)(""),nn=(0,x.useRef)(vt),Rt=(0,x.useRef)(""),Lt=(0,x.useRef)(!1);(0,x.useEffect)(()=>{et&&ba()},[et]),(0,x.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const na=()=>new Date().getTime(),va=dn==null?void 0:dn.code,ha=()=>{var Qa,Dr;let so=va?dn==null?void 0:dn.code:(Qa=Je.getFieldValue("hack_codes"))==null?void 0:Qa.code,zr=va?dn==null?void 0:dn.answer_content:Je.getFieldValue(Vt),Jr=va?dn==null?void 0:dn.input:(Dr=Je.getFieldValue("hack_sets"))==null?void 0:Dr.input;zr==null||zr.forEach(co=>{const Xr=co.value||co.answer_text||"";so=so.replace(/(@▁@|@▁▁@)/,Xr)}),Tt(Jr),ya(so),An({}),Ot(!0)},ba=()=>Fe(void 0,null,function*(){var Qa,Dr,so,zr;const Jr=na(),co=va?dn==null?void 0:dn.time_limit:(Qa=Je.getFieldsValue())==null?void 0:Qa.hack.time_limit,Xr=va?(Dr=dn==null?void 0:dn.answer_content)==null?void 0:Dr.length:(zr=(so=Je.getFieldsValue())==null?void 0:so.standard_answers)==null?void 0:zr.length;vn(!0),yield(0,ee.bM)(Rt.current,{test_hack_code:Ft,test_input:ot});function bo(){return Fe(this,null,function*(){const{status:kr,data:Sa}=yield(0,ee.rX)(Rt.current,"submit"),_a=na()-Jr>(co+3)*1e3*Xr;if(Lt.current){if(_a){_e.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),vn(!1);return}if(kr===0){vn(!1),An($e(Ue({},Sa),{showText:!0}));return}setTimeout(bo,1e3)}})}bo()}),lr=()=>Fe(void 0,null,function*(){var Qa,Dr,so,zr,Jr,co,Xr;if(!dn){try{yield Je.validateFields()}catch(ja){(so=(Dr=(Qa=ja==null?void 0:ja.errorFields)==null?void 0:Qa[0])==null?void 0:Dr.name)!=null&&so.includes("standard_answers")?_e.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):_e.ZP.error(ja.errorFields[0].errors[0]),Je.scrollToField(ja.errorFields[0].name,{behavior:"smooth",block:"center"});return}ia(!0);let kr="";const Sa=Je.getFieldsValue();nn.current?kr=yield(0,E.ZP)(`/api/problems/${nn.current}.json`,{method:"put",body:$e(Ue({},Sa),{hack:$e(Ue({},Sa==null?void 0:Sa.hack),{sub_discipline_id:(Xr=(co=Sa==null?void 0:Sa.hack)==null?void 0:co.sub_discipline_id)==null?void 0:Xr[1],difficult:Sa.difficulty,item_banks_group_id:Sa.item_banks_group_id}),hack_codes:$e(Ue({},Sa.hack_codes),{code:a.Base64.encode(Sa.hack_codes.code)}),update_hack_sets:[Ue({},Sa.hack_sets)],is_blank:!0})}):(kr=yield(0,E.ZP)("/api/problems.json",{method:"post",body:$e(Ue({},Sa),{hack:$e(Ue({},Sa==null?void 0:Sa.hack),{sub_discipline_id:(Jr=(zr=Sa==null?void 0:Sa.hack)==null?void 0:zr.sub_discipline_id)==null?void 0:Jr[1],difficult:Sa.difficulty,item_banks_group_id:Sa.item_banks_group_id}),hack_codes:$e(Ue({},Sa.hack_codes),{code:a.Base64.encode(Sa.hack_codes.code)}),hack_sets:[Ue({},Sa.hack_sets)],is_blank:!0})}),nn.current=kr==null?void 0:kr.identifier,sessionStorage.projectFill=kr==null?void 0:kr.identifier)}const bo=yield(0,E.ZP)(`/api/problems/${nn.current}/start.json`,{method:"get"});if((bo==null?void 0:bo.status)===0){Rt.current=bo==null?void 0:bo.identifier,Lt.current=!0,ia(!1),ha();return}ia(!1)}),gr=Qa=>{const{status:Dr,error_msg:so,execute_time:zr,output:Jr,input:co,expected_output:Xr}=Qa;let bo=null;switch(Dr){case oe.h.OK:bo=ce.createElement(ce.Fragment,null,ce.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",zr/1e3,"\u79D2"),ce.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case oe.h.NOMATCH:bo=ce.createElement(ce.Fragment,null,ce.createElement("div",null,"\u8F93\u5165\uFF1A"),ce.createElement("pre",{style:{fontFamily:"initial"}},co),ce.createElement("div",null,"\u8F93\u51FA\uFF1A"),ce.createElement("pre",{style:{fontFamily:"initial"}},Jr&&a.Base64.decode(Jr)),ce.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ce.createElement("pre",{style:{fontFamily:"initial"}},Xr&&a.Base64.decode(Xr)));break;case oe.h.EXECUTEFAILURE:bo=ce.createElement(ce.Fragment,null,ce.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ce.createElement("pre",null,co)),ce.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ce.createElement("pre",{className:"error"},a.Base64.decode(so)));break;case oe.h.COMPILEFAILURE:bo=ce.createElement(ce.Fragment,null,ce.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ce.createElement("pre",null,co)),ce.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ce.createElement("pre",{className:"error"},a.Base64.decode(so)));break;case oe.h.PODFAILURE:bo=ce.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case oe.h.TIMEOUT:bo=ce.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ce.createElement(ce.Fragment,null," ",bo," ")};return ce.createElement("div",null,ce.createElement(ue.ZP,$e(Ue({loading:Nn},We),{onClick:lr}),Be),ce.createElement(Re.default,{open:et,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:ta,cancelButtonProps:{style:{display:"none"}},onOk:()=>ba(),onCancel:()=>{Lt.current=!1,Ot(!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"),!dn&&ce.createElement(re.CopyToClipboard,{text:Ft,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(te.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:Ft,onChange:Qa=>ya(Qa)})),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(ie.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:ot,onChange:Qa=>Tt(Qa.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:ta,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ce.createElement("div",{className:b.li,style:{height:196,overflow:"auto",padding:10}},gr(Pa))))))))},ft=z(55304),ut=z(67294),St=Object.defineProperty,jt=Object.defineProperties,Vn=Object.getOwnPropertyDescriptors,fa=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,mn=(We,Be,Je)=>Be in We?St(We,Be,{enumerable:!0,configurable:!0,writable:!0,value:Je}):We[Be]=Je,oa=(We,Be)=>{for(var Je in Be||(Be={}))mt.call(Be,Je)&&mn(We,Je,Be[Je]);if(fa)for(var Je of fa(Be))ht.call(Be,Je)&&mn(We,Je,Be[Je]);return We},Sn=(We,Be)=>jt(We,Vn(Be)),Kn=(We,Be)=>{var Je={};for(var vt in We)mt.call(We,vt)&&Be.indexOf(vt)<0&&(Je[vt]=We[vt]);if(We!=null&&fa)for(var vt of fa(We))Be.indexOf(vt)<0&&ht.call(We,vt)&&(Je[vt]=We[vt]);return Je};const{TextArea:Ye}=ie.default,_n=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],ca=({value:We,onChange:Be})=>ut.createElement(Switch,{checked:We,onChange:Je=>{Be(Je)}}),ln="@\u2581@",At="@\u2581\u2581@",cn=({questionTitlePlaceholder:We,form:Be,scoreByBlank:Je=!1,hackidentifier:vt,answerKey:Vt})=>{const[dn,ta]=(0,x.useState)(!1),[vn,Nn]=(0,x.useState)(!1),et=(0,Ze.useParams)().type==="edit",Ot=(Rt,Lt)=>{const na=Lt.line;let va=0;for(let ba=0;ba<na;ba++)va+=Rt.getLine(ba).split(ln).length-1;for(let ba=0;ba<na;ba++)va+=Rt.getLine(ba).split(At).length-1;const ha=Rt.getLine(na).substring(0,Lt.ch);return va+=ha.split(ln).length-1,va+=ha.split(At).length-1,va},Pa=(Rt,Lt,na,va)=>{const ha=Rt.getRange(Lt.from,Lt.to);let ba=0;if(Lt.text.forEach(lr=>{ba+=lr.split(ln).length-1}),Lt.text.forEach(lr=>{ba+=lr.split(At).length-1}),Lt.origin!=="setValue"){if(ha&&(ha.indexOf(ln)!==-1||ha.indexOf(At)!==-1)){const lr=ha.split(ln).length-1+ha.split(At).length-1,gr=Ot(Rt,Lt.from);if(console.log(`\u5220\u9664${lr}\u4E2A\uFF0C \u524D\u9762\u6709${gr}\u4E2A\uFF0C\u65B0\u589E${ba}\u4E2A`),lr>1){const Qa=Array.from({length:lr},(Dr,so)=>gr+so);va(Qa)}else va(gr)}else if(ba>0){const lr=Ot(Rt,Lt.from);console.log(`\u65B0\u589E${ba}\u4E2A\uFF0C\u4E4B\u524D\u6709${lr}\u4E2A`),na(ba,lr)}}},An=()=>{const Rt=Be.getFieldValue(Vt);Be.setFieldsValue({[Vt]:Rt==null?void 0:Rt.map((Lt,na)=>Sn(oa({},Lt),{position:na+1}))})},Ft=(0,x.useRef)(),ya=(Rt,Lt)=>{for(let na=0;na<Rt;na++)Ft.current({position:null,answer_text:""},Lt+na);An()},ot=(0,x.useRef)(),Tt=Rt=>{ot.current(Rt),An()},nn=Ce.default.useWatch(Vt,Be);return ut.createElement("div",{className:de.Z.wrap},ut.createElement(Ce.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},ut.createElement(ze.h,{scrollId:"name",watch:!0,height:140})),ut.createElement("div",{className:de.Z.questionTitleEditorWrap},ut.createElement(Ce.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},ut.createElement(ze.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(Rt,Lt)=>{const na=Be.getFieldValue(Vt);console.log("--preAnswerData",na,Lt),Be.setFieldsValue({[Vt]:na==null?void 0:na.map((va,ha)=>{var ba;return Sn(oa({},va),{position:ha+1,multi_line:(ba=Lt==null?void 0:Lt[ha])==null?void 0:ba.multiLine})})})},placeholder:We,onCMBeforeChange:(Rt,Lt)=>{Pa(Rt,Lt,ya,Tt)}}))),ut.createElement(Ce.default.List,{name:Vt,rules:[{validator(Rt,Lt){if(!(Lt!=null&&Lt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const na of Lt){const{answer_text:va}=na||{};if((va==null?void 0:va.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Rt,{add:Lt,remove:na},{errors:va})=>(Ft.current=Lt,ot.current=na,ut.createElement(ut.Fragment,null,ut.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},ut.createElement(Ce.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),ut.createElement("div",{onClick:()=>{Re.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:ut.createElement("div",null,ut.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",ut.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),ut.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"}},ut.createElement(ft.Z,{style:{marginRight:3,color:"#3061D0"}}),ut.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),Rt.map((ha,ba)=>{var lr=ha,{key:gr,name:Qa}=lr,Dr=Kn(lr,["key","name"]),so,zr;return ut.createElement(ye.Z,{className:"mb20",key:gr,align:"middle",wrap:!1},ut.createElement(Te.Z,{flex:"0 0 auto",className:`${de.Z.blankIndex}`},"\u586B\u7A7A\u9879",ba+1),ut.createElement(Te.Z,{flex:1},ut.createElement(ye.Z,{align:"top",justify:"space-between",wrap:!1},ut.createElement(Te.Z,null,ut.createElement(Ce.default.Item,Sn(oa({},Dr),{name:[Qa,"answer_text"],noStyle:!0}),(so=nn==null?void 0:nn[Qa])!=null&&so.multi_line||(zr=nn==null?void 0:nn[Qa])!=null&&zr.multiLine?ut.createElement(Ye,{spellCheck:!1,style:{marginLeft:10,width:550}}):ut.createElement(ie.default,{style:{marginLeft:10,width:550},className:de.Z.blankInput,size:"large",maxLength:1e3,onBlur:Jr=>{}}))),Je&&ut.createElement(Te.Z,{flex:"224px"},ut.createElement(Ce.default.Item,Sn(oa({},Dr),{name:[Qa,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),ut.createElement(se.Z,{size:"large",className:de.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),ut.createElement("div",{onClick:()=>ta(!0)},ut.createElement(Ce.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ut.createElement(ze.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:dn}))),ut.createElement(Ce.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"}]},ut.createElement(nt.default,{size:"large"},_n.map(Rt=>ut.createElement(nt.default.Option,{key:Rt.title,value:Rt.key}," ",Rt.title)))),ut.createElement(Ce.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},ut.createElement(Ce.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},ut.createElement(se.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),ut.createElement("span",{className:"ml10 font14"},"\u79D2")),ut.createElement(Ce.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"}]},ut.createElement(Me.ZP.Group,{style:{marginTop:-10}},ut.createElement(Me.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),ut.createElement(Me.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),ut.createElement(Me.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),ut.createElement(Ce.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),ut.createElement("div",{style:{background:"#F6F7F9",padding:15}},ut.createElement(Ce.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},ut.createElement(Ye,{rows:4})),ut.createElement(Ce.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},ut.createElement(Ye,{rows:4}))),ut.createElement(lt,{form:Be,answerKey:Vt,hackIdentifier:vt,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:ut.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"}}}))}},11776:function(Jt,zt,z){"use strict";z.d(zt,{u:function(){return ce}});var x=z(67294),ie=z(71230),Ce=z(15746),Re=z(83062),ye=z(22150),Te=z(52654),se=z(40043),nt=z(24018),Me=z(41307),ze=z(67294),Ze=Object.defineProperty,de=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,b=(pe,Pe,He)=>Pe in pe?Ze(pe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:He}):pe[Pe]=He,E=(pe,Pe)=>{for(var He in Pe||(Pe={}))y.call(Pe,He)&&b(pe,He,Pe[He]);if(ue)for(var He of ue(Pe))a.call(Pe,He)&&b(pe,He,Pe[He]);return pe},ee=(pe,Pe)=>de(pe,_e(Pe)),te=(pe,Pe)=>{var He={};for(var ke in pe)y.call(pe,ke)&&Pe.indexOf(ke)<0&&(He[ke]=pe[ke]);if(pe!=null&&ue)for(var ke of ue(pe))Pe.indexOf(ke)<0&&a.call(pe,ke)&&(He[ke]=pe[ke]);return He};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"],oe=({value:pe,onChange:Pe,choiceTextKey:He,answerKey:ke,index:Oe,isEdit:he,setInputActive:Ke,form:Ue,choiceOptionsPath:$e,allowChangeMode:Fe,showAddIcon:at,addItem:lt,deleteItem:ft})=>{console.log(pe,"value");const ut=(pe==null?void 0:pe[ke])===1,St=()=>{const Vn=Ue.getFieldValue($e);Ue.setFieldValue($e,Vn.map(fa=>ee(E({},fa),{[ke]:0})))},jt=()=>{ut?Pe(ee(E({},pe),{[ke]:0})):(Fe||St(),Pe(ee(E({},pe),{[ke]:1})))};return ze.createElement(ie.Z,{className:Te.Z.choiceWrap,align:"middle",wrap:!1},ze.createElement(Ce.Z,{onClick:jt,className:`${Te.Z.choiceIndex} ${ut?Te.Z.activeAnswer:""}`},re[Oe]),ze.createElement(Ce.Z,{flex:1,className:`${Te.Z.editorWrap} ml15`,onClick:Ke},ze.createElement(Me.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:he,value:pe==null?void 0:pe[He],onChange:Vn=>{Pe(ee(E({},pe),{[He]:Vn}))}})),ze.createElement(Ce.Z,{flex:"0 0 auto",className:"ml15"},ze.createElement("div",{onClick:jt,className:`${Te.Z.setAnswerBtn} ${ut?Te.Z.activeAnswer:""}`},ut?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),ze.createElement(Ce.Z,{className:Te.Z.actionWrapper},ze.createElement(Re.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},ze.createElement(se.Z,{className:Te.Z.addIcon,onClick:lt,style:{visibility:at?"visible":"hidden"}})),ze.createElement(Re.Z,{title:"\u5220\u9664"},ze.createElement(nt.Z,{className:Te.Z.deleteIcon,onClick:ft,style:{visibility:Oe>1?"visible":"hidden"}}))))},ce=({questionTitlePlaceholder:pe,titleKey:Pe,choiceKey:He,analysisKey:ke,choiceTextKey:Oe,answerKey:he,choiceOptionsPath:Ke,allowChangeMode:Ue=!0,form:$e,showAnalysis:Fe=!0})=>{const[at,lt]=(0,x.useState)(),[ft,ut]=(0,x.useState)(!1);return ze.createElement("div",{className:Te.Z.wrap},ze.createElement("div",{className:Te.Z.questionTitleEditorWrap},ze.createElement(ye.default.Item,{label:"\u9898\u5E72",name:Pe,labelCol:{span:24},rules:[{required:!0}]},ze.createElement(Me.h,{scrollId:Array.isArray(Pe)?Pe.join("_"):`${Pe}`,watch:!0,height:140,placeholder:pe}))),ze.createElement(ye.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),ze.createElement(ye.default.List,{name:He,rules:[{validator(St,jt){const Vn=jt.some(mt=>mt[he]===1),fa=jt.findIndex(mt=>{var ht;return((ht=mt[Oe])==null?void 0:ht.length)<=0});return fa!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[fa]}\u9009\u9879\u7684\u5185\u5BB9`)):Vn?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(St,{add:jt,remove:Vn})=>ze.createElement("div",{id:Array.isArray(Ke)?Ke.join("_"):`${Ke}`},St.map((fa,mt)=>{var ht=fa,{key:mn,name:oa}=ht,Sn=te(ht,["key","name"]);const Kn=at===mn,Ye=()=>{lt(mn)},_n=mt<7&&mt===St.length-1,ca=()=>jt({[Oe]:"",[he]:0}),ln=()=>Vn(oa);return ze.createElement(ye.default.Item,ee(E({},Sn),{key:mn,name:oa,className:Te.Z.choiceListWrap,rules:[{validator(At,cn){return cn!=null&&cn.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[mt]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),ze.createElement(oe,{choiceTextKey:Oe,answerKey:he,index:mt,isEdit:Kn,setInputActive:Ye,form:$e,choiceOptionsPath:Ke,allowChangeMode:Ue,showAddIcon:_n,addItem:ca,deleteItem:ln}))}),St.length<8&&ze.createElement("div",{className:`${Te.Z.addBtn} mb30`,onClick:()=>jt({[Oe]:"",[he]:0})},"\u6DFB\u52A0\u9009\u9879"))),Fe&&ze.createElement("div",{onClick:()=>ut(!0)},ze.createElement(ye.default.Item,{name:ke,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ze.createElement(Me.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ft}))))}},81580:function(Jt,zt,z){"use strict";z.d(zt,{u:function(){return Ue}});var x=z(67294),ie=z(14446),Ce=z(71230),Re=z(15746),ye=z(69677),Te=z(83062),se=z(47897),nt=z(22150),Me=z(78045),ze=z(31795),Ze=z(41307),de=z(24018),_e=z(17663),ue=z(52654),y=z(35713),a=z(67294),b=Object.defineProperty,E=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ce=($e,Fe,at)=>Fe in $e?b($e,Fe,{enumerable:!0,configurable:!0,writable:!0,value:at}):$e[Fe]=at,pe=($e,Fe)=>{for(var at in Fe||(Fe={}))re.call(Fe,at)&&ce($e,at,Fe[at]);if(te)for(var at of te(Fe))oe.call(Fe,at)&&ce($e,at,Fe[at]);return $e},Pe=($e,Fe)=>E($e,ee(Fe)),He=($e,Fe)=>{var at={};for(var lt in $e)re.call($e,lt)&&Fe.indexOf(lt)<0&&(at[lt]=$e[lt]);if($e!=null&&te)for(var lt of te($e))Fe.indexOf(lt)<0&&oe.call($e,lt)&&(at[lt]=$e[lt]);return at};const ke=({value:$e,onChange:Fe})=>{const at=ft=>{ie.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:ue.Z.modal,onOk:()=>{const ut=[...$e];ut.splice(ft,1),Fe(ut)}})},lt=()=>{const ft=[...$e];ft.push(""),Fe(ft)};return a.createElement(Ce.Z,{className:"ml20"},a.createElement(Re.Z,{flex:1},$e==null?void 0:$e.map((ft,ut)=>a.createElement(Ce.Z,{key:`${ft}_${ut}`,className:"mb20"},a.createElement(ye.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:ft,autoSize:{maxRows:3},maxLength:1e3,onBlur:St=>{const jt=[...$e],Vn=St.target.value.trim();jt[ut]=Vn,Fe(jt)}}),a.createElement(Te.Z,{title:"\u5220\u9664"},a.createElement(de.Z,{className:ue.Z.deleteIcon,style:{marginLeft:15,visibility:ut>0?"visible":"hidden"},onClick:()=>at(ut)}))))),a.createElement(Re.Z,null,a.createElement("div",{className:`${ue.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},Oe=({value:$e,onChange:Fe})=>{const at=ft=>{ie.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:ue.Z.modal,onOk:()=>{const ut=[...$e];ut.splice(ft,1),Fe(ut)}})},lt=()=>{const ft=[...$e];ft.push(""),Fe(ft)};return a.createElement(Ce.Z,{className:"ml20"},a.createElement(Re.Z,{flex:1},$e==null?void 0:$e.map((ft,ut)=>a.createElement(Ce.Z,{key:`${ft}_${ut}`,align:"middle",className:"mb20"},a.createElement(y.Z,{value:ft,style:{flex:1},onChange:St=>{const jt=[...$e];jt[ut]=St,Fe(jt)}}),a.createElement(Te.Z,{title:"\u5220\u9664"},a.createElement(de.Z,{className:ue.Z.deleteIcon,style:{marginLeft:15,visibility:ut>0?"visible":"hidden"},onClick:()=>at(ut)}))))),a.createElement(Re.Z,null,a.createElement("div",{className:`${ue.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},he=({value:$e=!0,onChange:Fe})=>a.createElement(se.Z,{checked:!$e,onChange:at=>{Fe(!at)}}),Ke="\u2581",Ue=({questionTitlePlaceholder:$e,form:Fe,scoreByBlank:at=!1,answerKey:lt})=>{const[ft,ut]=(0,x.useState)(!1),St=(Sn,Kn)=>{const Ye=Kn.line;let _n=0;for(let ln=0;ln<Ye;ln++)_n+=Sn.getLine(ln).split(Ke).length-1;const ca=Sn.getLine(Ye).substring(0,Kn.ch);return _n+=ca.split(Ke).length-1,_n},jt=(Sn,Kn,Ye,_n)=>{const ca=Sn.getRange(Kn.from,Kn.to);let ln=0;if(Kn.text.forEach(At=>{ln+=At.split(Ke).length-1}),Kn.origin!=="setValue"){if(ca&&ca.indexOf(Ke)!==-1){const At=ca.split(Ke).length-1,cn=St(Sn,Kn.from);if(console.log(`\u5220\u9664${At}\u4E2A\uFF0C \u524D\u9762\u6709${cn}\u4E2A\uFF0C\u65B0\u589E${ln}\u4E2A`),At>1){const We=Array.from({length:At},(Be,Je)=>cn+Je);_n(We)}else _n(cn)}else if(ln>0){const At=St(Sn,Kn.from);console.log(`\u65B0\u589E${ln}\u4E2A\uFF0C\u4E4B\u524D\u6709${At}\u4E2A`),Ye(ln,At)}}},Vn=()=>{const Sn=Fe.getFieldValue(lt);Fe.setFieldsValue({[lt]:Sn.map((Kn,Ye)=>Pe(pe({},Kn),{position:Ye+1}))})},fa=(0,x.useRef)(),mt=(Sn,Kn)=>{for(let Ye=0;Ye<Sn;Ye++)fa.current({position:null,answer_text:[""],model:1},Kn+Ye);Vn()},ht=(0,x.useRef)(),mn=Sn=>{ht.current(Sn),Vn()},oa=nt.default.useWatch(lt,Fe);return a.createElement("div",{className:ue.Z.wrap},a.createElement("div",{className:ue.Z.questionTitleEditorWrap},a.createElement(nt.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(Ze.h,{scrollId:"name",watch:!0,height:140,placeholder:$e,showNullButton:!0,onCMBeforeChange:(Sn,Kn)=>{jt(Sn,Kn,mt,mn)}}))),a.createElement(nt.default.List,{name:lt,rules:[{validator(Sn,Kn){if(!(Kn!=null&&Kn.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Ye of Kn){const{answer_text:_n}=Ye||{};if(_n!=null&&_n.some(ca=>(ca==null?void 0:ca.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Sn,{add:Kn,remove:Ye},{errors:_n})=>(fa.current=Kn,ht.current=Ye,a.createElement(a.Fragment,null,a.createElement(nt.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Sn!=null&&Sn.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}}),Sn.map((ca,ln)=>{var At=ca,{key:cn,name:We}=At,Be=He(At,["key","name"]),Je,vt;return a.createElement("div",{style:{marginBottom:10},key:cn},a.createElement(Ce.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Re.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${ue.Z.blankIndex}`},"\u586B\u7A7A\u9879",ln+1),a.createElement(nt.default.Item,Pe(pe({},Be),{name:[We,"model"],noStyle:!0}),a.createElement(Me.ZP.Group,{onChange:()=>{const Vt=Fe.getFieldValue(lt);Fe.setFieldsValue({[lt]:Vt.map((dn,ta)=>Pe(pe({},dn),{answer_text:We===ta?[""]:dn.answer_text}))})}},a.createElement(Me.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(Te.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(Me.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(Te.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(Ce.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Re.Z,{flex:1},a.createElement(Ce.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Re.Z,{flex:1},a.createElement(nt.default.Item,Pe(pe({},Be),{name:[We,"answer_text"],noStyle:!0}),((vt=(Je=Fe.getFieldValue(lt))==null?void 0:Je[We])==null?void 0:vt.model)===1?a.createElement(ke,null):a.createElement(Oe,null))),at&&a.createElement(Re.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(nt.default.Item,Pe(pe({},Be),{name:[We,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ue.Z.blankInputNumberWrapper}),a.createElement(ze.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(nt.default.Item,Pe(pe({},Be),{name:[We,"position"],noStyle:!0}),a.createElement(ye.default,{type:"hidden"})))))})))),a.createElement(Ce.Z,{align:"middle"},a.createElement(nt.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(se.Z,null)),a.createElement(Re.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(Ce.Z,{align:"middle"},a.createElement(nt.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(se.Z,null)),a.createElement(Re.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(oa==null?void 0:oa.length)>1&&a.createElement(Ce.Z,{align:"middle",className:(oa==null?void 0:oa.length)>1?"mb30":`${ue.Z.hide}`},a.createElement(nt.default.Item,{name:"is_ordered"},a.createElement(he,null)),a.createElement(Re.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:()=>ut(!0)},a.createElement(nt.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(Ze.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ft}))))}},66495:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return te}});var x=z(67294),ie=z(71230),Ce=z(15746),Re=z(22150),ye=z(52654),Te=z(41307),se=z(67294),nt=Object.defineProperty,Me=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,ue=(re,oe,ce)=>oe in re?nt(re,oe,{enumerable:!0,configurable:!0,writable:!0,value:ce}):re[oe]=ce,y=(re,oe)=>{for(var ce in oe||(oe={}))de.call(oe,ce)&&ue(re,ce,oe[ce]);if(Ze)for(var ce of Ze(oe))_e.call(oe,ce)&&ue(re,ce,oe[ce]);return re},a=(re,oe)=>Me(re,ze(oe)),b=(re,oe)=>{var ce={};for(var pe in re)de.call(re,pe)&&oe.indexOf(pe)<0&&(ce[pe]=re[pe]);if(re!=null&&Ze)for(var pe of Ze(re))oe.indexOf(pe)<0&&_e.call(re,pe)&&(ce[pe]=re[pe]);return ce};const E={\u6B63\u786E:"T",\u9519\u8BEF:"F"},ee=({value:re,onChange:oe,form:ce})=>{const pe=(re==null?void 0:re.is_answer)===1,Pe=re==null?void 0:re.choice_text,He=()=>{const ke=ce.getFieldsValue().choices.map(Oe=>({choice_text:Oe.choice_text,is_answer:0}));ce.setFieldsValue({choices:ke}),oe(a(y({},re),{is_answer:1}))};return se.createElement(ie.Z,{className:ye.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},se.createElement(Ce.Z,{onClick:He,className:`${ye.Z.choiceIndex} ${ye.Z.judgementIndex} ${pe?ye.Z.activeAnswer:""}`},E[Pe]),se.createElement(Ce.Z,{flex:1,className:`${ye.Z.editorWrap} ml15`},se.createElement("div",{className:`${ye.Z.inputBorder} ${ye.Z.placeholder} ${pe?ye.Z.activeJudgementAnswer:""}`},Pe)),se.createElement(Ce.Z,{flex:"0 0 auto",className:"ml15"},se.createElement("div",{onClick:He,className:`${ye.Z.setAnswerBtn} ${pe?ye.Z.activeAnswer:""}`},pe?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},te=({questionTitlePlaceholder:re,choiceKey:oe,form:ce})=>{const[pe,Pe]=(0,x.useState)(!1);return se.createElement("div",{className:ye.Z.wrap},se.createElement("div",{className:ye.Z.questionTitleEditorWrap},se.createElement(Re.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},se.createElement(Te.h,{scrollId:"name",watch:!0,height:140,placeholder:re}))),se.createElement(Re.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},se.createElement(Re.default.List,{name:"choices",rules:[{validator(He,ke){return ke.some(he=>(he==null?void 0:he.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},He=>se.createElement("div",{id:"choices"},He.map(ke=>{var Oe=ke,{key:he,name:Ke}=Oe,Ue=b(Oe,["key","name"]);return se.createElement(Re.default.Item,a(y({},Ue),{key:he,name:Ke,noStyle:!0}),se.createElement(ee,{form:ce}))})))),se.createElement("div",{onClick:()=>Pe(!0)},se.createElement(Re.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},se.createElement(Te.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:pe}))))}},41307:function(Jt,zt,z){"use strict";z.d(zt,{h:function(){return y},x:function(){return a}});var x=z(35567),ie=z(52654),Ce=z(85725),Re=z(67294),ye=Object.defineProperty,Te=Object.defineProperties,se=Object.getOwnPropertyDescriptors,nt=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Ze=(b,E,ee)=>E in b?ye(b,E,{enumerable:!0,configurable:!0,writable:!0,value:ee}):b[E]=ee,de=(b,E)=>{for(var ee in E||(E={}))Me.call(E,ee)&&Ze(b,ee,E[ee]);if(nt)for(var ee of nt(E))ze.call(E,ee)&&Ze(b,ee,E[ee]);return b},_e=(b,E)=>Te(b,se(E)),ue=(b,E)=>{var ee={};for(var te in b)Me.call(b,te)&&E.indexOf(te)<0&&(ee[te]=b[te]);if(b!=null&&nt)for(var te of nt(b))E.indexOf(te)<0&&ze.call(b,te)&&(ee[te]=b[te]);return ee};const y=b=>{var E=b,{value:ee,onChange:te,scrollId:re}=E,oe=ue(E,["value","onChange","scrollId"]);return Re.createElement("div",{id:re||""},Re.createElement(x.Z,_e(de({},oe),{defaultValue:ee,onChange:(ce,pe)=>{pe!=null&&pe.length?te(ce,pe):te(ce)}})))},a=({value:b,onChange:E,placeholder:ee,height:te=140,isEdit:re,miniToolbar:oe,watch:ce=!0})=>re?Re.createElement(x.Z,{watch:ce,isFocus:!0,height:te||void 0,placeholder:ee,defaultValue:b,onChange:E,miniToolbar:oe}):Re.createElement("div",{style:{cursor:"pointer"}},b?Re.createElement(Ce.Z,{className:ie.Z.inputBorder,value:b}):Re.createElement("div",{className:`${ie.Z.inputBorder} ${ie.Z.placeholder} inputBorderError`},ee))},77792:function(Jt,zt,z){"use strict";z.d(zt,{W:function(){return Oe}});var x=z(67294),ie=z(2453),Ce=z(66309),Re=z(22150),ye=z(47897),Te=z(71230),se=z(15746),nt=z(83062),Me=z(69677),ze=z(31795),Ze=z(52654),de=z(41307),_e=z(35567),ue=z(17663),y=Object.defineProperty,a=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,re=(he,Ke,Ue)=>Ke in he?y(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):he[Ke]=Ue,oe=(he,Ke)=>{for(var Ue in Ke||(Ke={}))ee.call(Ke,Ue)&&re(he,Ue,Ke[Ue]);if(E)for(var Ue of E(Ke))te.call(Ke,Ue)&&re(he,Ue,Ke[Ue]);return he},ce=(he,Ke)=>a(he,b(Ke)),pe=(he,Ke)=>{var Ue={};for(var $e in he)ee.call(he,$e)&&Ke.indexOf($e)<0&&(Ue[$e]=he[$e]);if(he!=null&&E)for(var $e of E(he))Ke.indexOf($e)<0&&te.call(he,$e)&&(Ue[$e]=he[$e]);return Ue};const Pe=he=>{var Ke=he,{value:Ue,onChange:$e}=Ke,Fe=pe(Ke,["value","onChange"]);const at=lt=>{$e([lt])};return x.createElement(_e.Z,ce(oe({},Fe),{defaultValue:Ue==null?void 0:Ue[0],onChange:at}))},He=he=>{if(!he)return!1;if(/^s*$/.test(he)||he.trim()===""){ie.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Ke=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return he==="|"?(ie.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},ke=({value:he=[],onClose:Ke})=>x.createElement(Ce.default,{closable:!0,onClose:Ke,className:Ze.Z.keywordTag},x.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},he.join(" \u6216 "))),Oe=({questionTitlePlaceholder:he,form:Ke,showKeywords:Ue,isMustKeyWords:$e=Ue})=>{const[Fe,at]=(0,x.useState)(!1),[lt,ft]=(0,x.useState)(""),ut=Re.default.useWatch("use_keywords",Ke),St=Re.default.useWatch("question_score",Ke);return x.createElement("div",{className:Ze.Z.wrap},x.createElement("div",{className:Ze.Z.questionTitleEditorWrap},x.createElement(Re.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},x.createElement(de.h,{scrollId:"name",watch:!0,height:140,placeholder:he}))),x.createElement(Re.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},x.createElement(Pe,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Ue&&!$e&&x.createElement(Re.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},x.createElement(ye.Z,{defaultChecked:!0})),Ue&&$e&&x.createElement(Te.Z,{align:"middle",className:"mb30"},x.createElement(Re.default.Item,{name:"use_keywords",valuePropName:"checked"},x.createElement(ye.Z,null)),x.createElement(se.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),x.createElement(se.Z,null,x.createElement(nt.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(ue.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(ut||!$e)&&x.createElement(Re.default.List,{name:"keywords",rules:[{validator(jt,Vn){return $e?Vn!=null&&Vn.length?(Vn==null?void 0:Vn.reduce((mt,ht)=>mt+ht.score,0))>parseFloat(St)?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()}}]},(jt,{add:Vn,remove:fa})=>x.createElement(x.Fragment,null,x.createElement("div",{className:`${Ze.Z.title} mb10`},$e?"\u5173\u952E\u8BCD":x.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),x.createElement(Te.Z,{align:"middle",className:"font14 mb30"},x.createElement(se.Z,{flex:1},x.createElement(Me.default,{value:lt,onChange:mt=>{ft(mt.target.value)},maxLength:50,allowClear:!0,onPressEnter:mt=>{var ht,mn,oa,Sn;const Kn=`${(ht=mt.target)==null?void 0:ht.value}`,Ye=(oa=(mn=Kn==null?void 0:Kn.split("|"))==null?void 0:mn.filter(ln=>!!ln))==null?void 0:oa.map(ln=>ln==null?void 0:ln.trim()),_n=Ke.getFieldValue("keywords"),ca=((Sn=_n==null?void 0:_n.map(ln=>ln==null?void 0:ln.keyword))==null?void 0:Sn.flat())||[];for(const ln of Ye)if(ca.includes(ln)){ie.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}He(Kn)&&(Vn({keyword:Ye,score:1}),ft(""))},className:Ze.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")),jt.map(mt=>{var ht=mt,{key:mn,name:oa}=ht,Sn=pe(ht,["key","name"]);return x.createElement(Te.Z,{key:mn,className:"mb20",style:{marginRight:148}},x.createElement(se.Z,{flex:1},x.createElement(Te.Z,{align:"middle",justify:"space-between"},x.createElement(Re.default.Item,ce(oe({},Sn),{name:[oa,"keyword"]}),x.createElement(ke,{onClose:()=>fa(oa)})),$e&&x.createElement(Re.default.Item,ce(oe({},Sn),{name:[oa,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ze.Z.blankInputNumberWrapper}),x.createElement(ze.Z,{className:Ze.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),x.createElement("div",{onClick:()=>at(!0)},x.createElement(Re.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(de.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Fe}))))}},39044:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return ye}});var x={text:"text___bQulM",sup:"sup___rX_Y3"},ie=z(22150),Ce=z(67294),ye=({text:Te,name:se="question_score"})=>{const nt=({value:Me})=>Ce.createElement("div",{className:x.text},Ce.createElement("span",{className:x.sup},"*"),Ce.createElement("span",{className:"mr10"},"\u5206\u503C"),Ce.createElement("span",null,Me||"--"),Ce.createElement("span",{className:"c-grey-999"},Te));return Ce.createElement(ie.default.Item,{noStyle:!0,name:se},Ce.createElement(nt,null))}},57444:function(Jt,zt,z){"use strict";z.d(zt,{h:function(){return re}});var x=z(67294),ie=z(11713),Ce=z(22150),Re=z(71577),ye=z(4631),Te=z.n(ye),se=z(71749),nt=z(30483),Me=Object.defineProperty,ze=Object.defineProperties,Ze=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,y=(oe,ce,pe)=>ce in oe?Me(oe,ce,{enumerable:!0,configurable:!0,writable:!0,value:pe}):oe[ce]=pe,a=(oe,ce)=>{for(var pe in ce||(ce={}))_e.call(ce,pe)&&y(oe,pe,ce[pe]);if(de)for(var pe of de(ce))ue.call(ce,pe)&&y(oe,pe,ce[pe]);return oe},b=(oe,ce)=>ze(oe,Ze(ce));const E=ie.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},te={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"]};zt.Z=({callback:oe,onCancel:ce})=>{const[pe,Pe]=(0,x.useState)("python");function He(Oe){Pe(te[Oe][1])}function ke(Oe){oe(Oe)}return x.createElement(Ce.default,b(a({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ke,style:{width:500}}),x.createElement(Ce.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(ie.default,{getPopupContainer:Oe=>Oe.parentNode,onChange:He},Object.keys(te).map(Oe=>x.createElement(E,{key:Oe,value:Oe},te[Oe][0])))),x.createElement(Ce.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(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Re.ZP,{type:"ghost",onClick:ce},"\u53D6\u6D88")))};function re({value:oe,onChange:ce,mode:pe,options:Pe={}}){const He=(0,x.useRef)(),[ke,Oe]=(0,x.useState)();return(0,x.useEffect)(()=>{if(ke){let he=function(Ke){const Ue=Ke.getValue();ce&&ce(Ue)};return ke.on("change",he),()=>{ke.off("change",he)}}},[ke,ce]),(0,x.useEffect)(()=>{ke&&ke.setOption("mode",pe)},[ke,pe]),(0,x.useEffect)(()=>{ke&&(oe!==ke.getValue()||oe==="")&&setTimeout(()=>{ke.setValue(oe||"")},300)},[ke,oe]),(0,x.useEffect)(()=>{if(He.current&&!ke){const he=Te().fromTextArea(He.current,a({mode:pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Pe));Oe(he)}},[He.current,ke]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:He}))}},35567:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return Wa}});var x=z(67294),ie=z(4631),Ce=z.n(ie),Re=z(91033),ye=z(71749),Te=z(57341),se=z(82801),nt=z(88386),Me=z(49047),ze=z(80785),Ze=z(85725),de=({value:kt="",className:sn,showTextOnly:Yt,showLines:$n,style:La={}})=>{const dr=(0,x.useMemo)(()=>"",[kt]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:dr}}))},_e=z(67294),ue=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(kt,sn,Yt)=>sn in kt?ue(kt,sn,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):kt[sn]=Yt,re=(kt,sn)=>{for(var Yt in sn||(sn={}))E.call(sn,Yt)&&te(kt,Yt,sn[Yt]);if(b)for(var Yt of b(sn))ee.call(sn,Yt)&&te(kt,Yt,sn[Yt]);return kt},oe=(kt,sn)=>y(kt,a(sn));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:kt,title:sn,icon:Yt,actionName:$n,className:La="",children:dr}){function Eo(){kt($n)}return _e.createElement("a",{title:sn,className:La,onClick:Eo},_e.createElement("i",{className:`${Yt}`}),dr)}var Pe=({watch:kt,showNullButton:sn,showNullProgramButton:Yt,onActionCallback:$n,fullScreen:La,insertTemp:dr,hidetoolBar:Eo,extraUse:Nr})=>{const bn=[...ce,{title:`${kt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${kt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return _e.createElement("ul",{className:"markdown-toolbar-container"},!Eo&&bn.map((da,ro)=>_e.createElement("li",{key:ro},da.actionName?_e.createElement(pe,oe(re({},da),{onActionCallback:$n})):_e.createElement("span",{className:"v-line"}))),sn?_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:$n},_e.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Yt?_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:$n},_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:$n},_e.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,dr&&_e.createElement("li",null,_e.createElement(pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${dr}`,onActionCallback:$n},_e.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Nr&&_e.createElement("li",null,Nr),_e.createElement("li",{className:"btn-full-screen"},_e.createElement(pe,{icon:`${La?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:La?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:$n})))},He=z(76621),ke=z(22150),Oe=z(69677),he=z(71577),Ke=Object.defineProperty,Ue=Object.defineProperties,$e=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,ft=(kt,sn,Yt)=>sn in kt?Ke(kt,sn,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):kt[sn]=Yt,ut=(kt,sn)=>{for(var Yt in sn||(sn={}))at.call(sn,Yt)&&ft(kt,Yt,sn[Yt]);if(Fe)for(var Yt of Fe(sn))lt.call(sn,Yt)&&ft(kt,Yt,sn[Yt]);return kt},St=(kt,sn)=>Ue(kt,$e(sn));const jt={labelCol:{span:4},wrapperCol:{span:20}};var Vn=({callback:kt,onCancel:sn})=>{function Yt($n){kt($n)}return x.createElement(ke.default,St(ut({},jt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Yt,style:{width:500}}),x.createElement(ke.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(Oe.default,null)),x.createElement(ke.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(Oe.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:sn},"\u53D6\u6D88")))},fa=z(57444),mt=z(70859),ht=z(14446),mn=z(71230),oa=z(63205),Sn=z(67294),Kn=({callback:kt,onCancel:sn})=>{const Yt=document.createElement("canvas"),$n=Yt.getContext("2d");Yt.width=1e3,Yt.height=800,$n.fillStyle="#ffffff",$n.fillRect(0,0,Yt.width,Yt.height);const La=Yt.toDataURL("image/png");return Sn.createElement(ht.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Sn.createElement(mn.Z,{style:{height:"100vh"}},Sn.createElement(oa.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:La,visible:!0,title:String(Date.now())},onOk:dr=>{kt({src:dr.url})},onClose:sn})))},Ye=z(23495);function _n(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(_n,go.CommandHandler),_n.prototype.canAlignSelection=function(){var kt=this.diagram;return!(kt===null||kt.isReadOnly||kt.isModelReadOnly||kt.selection.count<2)},_n.prototype.alignLeft=function(){var kt=this.diagram;kt.startTransaction("aligning left");var sn=1/0;kt.selection.each(function(Yt){Yt instanceof go.Link||(sn=Math.min(Yt.position.x,sn))}),kt.selection.each(function(Yt){Yt instanceof go.Link||Yt.move(new go.Point(sn,Yt.position.y))}),kt.commitTransaction("aligning left")},_n.prototype.alignRight=function(){var kt=this.diagram;kt.startTransaction("aligning right");var sn=-1/0;kt.selection.each(function(Yt){if(!(Yt instanceof go.Link)){var $n=Yt.actualBounds.x+Yt.actualBounds.width;sn=Math.max($n,sn)}}),kt.selection.each(function(Yt){Yt instanceof go.Link||Yt.move(new go.Point(sn-Yt.actualBounds.width,Yt.position.y))}),kt.commitTransaction("aligning right")},_n.prototype.alignTop=function(){var kt=this.diagram;kt.startTransaction("alignTop");var sn=1/0;kt.selection.each(function(Yt){Yt instanceof go.Link||(sn=Math.min(Yt.position.y,sn))}),kt.selection.each(function(Yt){Yt instanceof go.Link||Yt.move(new go.Point(Yt.position.x,sn))}),kt.commitTransaction("alignTop")},_n.prototype.alignBottom=function(){var kt=this.diagram;kt.startTransaction("aligning bottom");var sn=-1/0;kt.selection.each(function(Yt){if(!(Yt instanceof go.Link)){var $n=Yt.actualBounds.y+Yt.actualBounds.height;sn=Math.max($n,sn)}}),kt.selection.each(function(Yt){Yt instanceof go.Link||Yt.move(new go.Point(Yt.actualBounds.x,sn-Yt.actualBounds.height))}),kt.commitTransaction("aligning bottom")},_n.prototype.alignCenterX=function(){var kt=this.diagram,sn=kt.selection.first();if(sn){kt.startTransaction("aligning Center X");var Yt=sn.actualBounds.x+sn.actualBounds.width/2;kt.selection.each(function($n){$n instanceof go.Link||$n.move(new go.Point(Yt-$n.actualBounds.width/2,$n.actualBounds.y))}),kt.commitTransaction("aligning Center X")}},_n.prototype.alignCenterY=function(){var kt=this.diagram,sn=kt.selection.first();if(sn){kt.startTransaction("aligning Center Y");var Yt=sn.actualBounds.y+sn.actualBounds.height/2;kt.selection.each(function($n){$n instanceof go.Link||$n.move(new go.Point($n.actualBounds.x,Yt-$n.actualBounds.height/2))}),kt.commitTransaction("aligning Center Y")}},_n.prototype.alignColumn=function(kt){var sn=this.diagram;sn.startTransaction("align Column"),kt===void 0&&(kt=0),kt=parseFloat(kt);var Yt=new Array;sn.selection.each(function(Nr){Nr instanceof go.Link||Yt.push(Nr)});for(var $n=0;$n<Yt.length-1;$n++){var La=Yt[$n],dr=La.actualBounds.y+La.actualBounds.height+kt,Eo=Yt[$n+1];Eo.move(new go.Point(La.actualBounds.x,dr))}sn.commitTransaction("align Column")},_n.prototype.alignRow=function(kt){kt===void 0&&(kt=0),kt=parseFloat(kt);var sn=this.diagram;sn.startTransaction("align Row");var Yt=new Array;sn.selection.each(function(Nr){Nr instanceof go.Link||Yt.push(Nr)});for(var $n=0;$n<Yt.length-1;$n++){var La=Yt[$n],dr=La.actualBounds.x+La.actualBounds.width+kt,Eo=Yt[$n+1];Eo.move(new go.Point(dr,La.actualBounds.y))}sn.commitTransaction("align Row")},_n.prototype.canRotate=function(kt){var sn=this.diagram;return!(sn===null||sn.isReadOnly||sn.isModelReadOnly||sn.selection.count<1)},_n.prototype.rotate=function(kt){kt===void 0&&(kt=90);var sn=this.diagram;sn.startTransaction("rotate "+kt.toString());var sn=this.diagram;sn.selection.each(function(Yt){Yt instanceof go.Link||Yt instanceof go.Group||(Yt.angle+=kt)}),sn.commitTransaction("rotate "+kt.toString())},_n.prototype.pullToFront=function(){var kt=this.diagram;kt.startTransaction("pullToFront");var sn=new go.Map;kt.selection.each(function(Yt){sn.set(Yt.layer,0)}),sn.iteratorKeys.each(function(Yt){var $n=0;Yt.parts.each(function(La){if(!La.isSelected){var dr=La.zOrder;isNaN(dr)?La.zOrder=0:$n=Math.max($n,dr)}}),sn.set(Yt,$n)}),kt.selection.each(function(Yt){_n._assignZOrder(Yt,sn.get(Yt.layer)+1)}),kt.commitTransaction("pullToFront")},_n.prototype.pushToBack=function(){var kt=this.diagram;kt.startTransaction("pushToBack");var sn=new go.Map;kt.selection.each(function(Yt){sn.set(Yt.layer,0)}),sn.iteratorKeys.each(function(Yt){var $n=0;Yt.parts.each(function(La){if(!La.isSelected){var dr=La.zOrder;isNaN(dr)?La.zOrder=0:$n=Math.min($n,dr)}}),sn.set(Yt,$n)}),kt.selection.each(function(Yt){_n._assignZOrder(Yt,sn.get(Yt.layer)-1-_n._findGroupDepth(Yt))}),kt.commitTransaction("pushToBack")},_n._assignZOrder=function(kt,sn,Yt){Yt===void 0&&(Yt=kt),kt.layer===Yt.layer&&(kt.zOrder=sn),kt instanceof go.Group&&kt.memberParts.each(function($n){_n._assignZOrder($n,sn+1,Yt)})},_n._findGroupDepth=function(kt){if(kt instanceof go.Group){var sn=0;return kt.memberParts.each(function(Yt){sn=Math.max(sn,_n._findGroupDepth(Yt))}),sn+1}else return 0},_n.prototype.doKeyDown=function(){var kt=this.diagram;if(kt!==null){var sn=kt.lastInput;if(sn.key==="Up"||sn.key==="Down"||sn.key==="Left"||sn.key==="Right"){var Yt=this.arrowKeyBehavior;if(Yt==="none")return;if(Yt==="select"){this._arrowKeySelect();return}else if(Yt==="move"){this._arrowKeyMove();return}else if(Yt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},_n.prototype._getAllParts=function(){var kt=new Array;return this.diagram.nodes.each(function(sn){kt.push(sn)}),this.diagram.parts.each(function(sn){kt.push(sn)}),kt},_n.prototype._arrowKeyMove=function(){var kt=this.diagram,sn=kt.lastInput,Yt=0,$n=0;if(sn.control||sn.meta)Yt=1,$n=1;else if(kt.grid!==null){var La=kt.grid.gridCellSize;$n=La.width,Yt=La.height}kt.startTransaction("arrowKeyMove"),kt.selection.each(function(dr){sn.key==="Up"?dr.move(new go.Point(dr.actualBounds.x,dr.actualBounds.y-Yt)):sn.key==="Down"?dr.move(new go.Point(dr.actualBounds.x,dr.actualBounds.y+Yt)):sn.key==="Left"?dr.move(new go.Point(dr.actualBounds.x-$n,dr.actualBounds.y)):sn.key==="Right"&&dr.move(new go.Point(dr.actualBounds.x+$n,dr.actualBounds.y))}),kt.commitTransaction("arrowKeyMove")},_n.prototype._arrowKeySelect=function(){var kt=this.diagram,sn=kt.lastInput,Yt=null;sn.key==="Up"?Yt=this._findNearestPartTowards(270):sn.key==="Down"?Yt=this._findNearestPartTowards(90):sn.key==="Left"?Yt=this._findNearestPartTowards(180):sn.key==="Right"&&(Yt=this._findNearestPartTowards(0)),Yt!==null&&(sn.shift?Yt.isSelected=!0:sn.control||sn.meta?Yt.isSelected=!Yt.isSelected:kt.select(Yt))},_n.prototype._findNearestPartTowards=function(kt){var sn=this.diagram.selection.first();if(sn===null)return null;for(var Yt=sn.actualBounds.center,$n=this._getAllParts(),La=1/0,dr=sn,Eo=0;Eo<$n.length;Eo++){var Nr=$n[Eo];if(Nr!==sn&&Nr.canSelect()){var bn=Nr.actualBounds.center,da=Yt.directionPoint(bn),ro=this._angleCloseness(da,kt);if(ro<=45){var la=Yt.distanceSquaredPoint(bn);la*=1+Math.sin(ro*Math.PI/180),la<La&&(La=la,dr=Nr)}}}return dr},_n.prototype._angleCloseness=function(kt,sn){return Math.min(Math.abs(sn-kt),Math.min(Math.abs(sn+360-kt),Math.abs(sn-360-kt)))},_n.prototype._arrowKeyTree=function(){var kt=this.diagram,sn=kt.selection.first();if(sn instanceof go.Node){var Yt=kt.lastInput;if(Yt.key==="Right"){if(!sn.isTreeLeaf)if(!sn.isTreeExpanded)kt.commandHandler.canExpandTree(sn)&&kt.commandHandler.expandTree(sn);else{var $n=this._sortTreeChildrenByY(sn).first();$n!==null&&kt.select($n)}}else if(Yt.key==="Left")if(!sn.isTreeLeaf&&sn.isTreeExpanded)kt.commandHandler.canCollapseTree(sn)&&kt.commandHandler.collapseTree(sn);else{var La=sn.findTreeParentNode();La!==null&&kt.select(La)}else if(Yt.key==="Up"){var La=sn.findTreeParentNode();if(La!==null){var dr=this._sortTreeChildrenByY(La),Eo=dr.indexOf(sn);if(Eo>0){for(var Nr=dr.elt(Eo-1);Nr!==null&&Nr.isTreeExpanded&&!Nr.isTreeLeaf;){var bn=this._sortTreeChildrenByY(Nr);Nr=bn.last()}Nr!==null&&kt.select(Nr)}else kt.select(La)}}else if(Yt.key==="Down")if(sn.isTreeExpanded&&!sn.isTreeLeaf){var $n=this._sortTreeChildrenByY(sn).first();$n!==null&&kt.select($n)}else for(;sn!==null;){var La=sn.findTreeParentNode();if(La===null)break;var dr=this._sortTreeChildrenByY(La),Eo=dr.indexOf(sn);if(Eo<dr.length-1){kt.select(dr.elt(Eo+1));break}else sn=La}var da=kt.selection.first();da!==null&&kt.scrollToRect(da.actualBounds)}},_n.prototype._sortTreeChildrenByY=function(kt){var sn=new go.List().addAll(kt.findTreeChildrenNodes());return sn.sort(function(Yt,$n){var La=Yt.location,dr=$n.location;return La.y<dr.y?-1:La.y>dr.y?1:La.x<dr.x?-1:La.x>dr.x?1:0}),sn},_n.prototype.copyToClipboard=function(kt){go.CommandHandler.prototype.copyToClipboard.call(this,kt),this._lastPasteOffset.set(this.pasteOffset)},_n.prototype.pasteFromClipboard=function(){var kt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(kt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),kt},Object.defineProperty(_n.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(kt){if(kt!=="move"&&kt!=="select"&&kt!=="scroll"&&kt!=="tree"&&kt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+kt);this._arrowKeyBehavior=kt}}),Object.defineProperty(_n.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(kt){if(!(kt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+kt);this._pasteOffset.set(kt)}});var ca=_n,ln=z(18023),At=z(15746),cn=z(33170),We={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Be=z(67294),Je=(kt,sn,Yt)=>new Promise(($n,La)=>{var dr=bn=>{try{Nr(Yt.next(bn))}catch(da){La(da)}},Eo=bn=>{try{Nr(Yt.throw(bn))}catch(da){La(da)}},Nr=bn=>bn.done?$n(bn.value):Promise.resolve(bn.value).then(dr,Eo);Nr((Yt=Yt.apply(kt,sn)).next())});function vt({onCancel:kt,callback:sn}){let Yt=(0,x.useRef)(),$n=(0,x.useRef)(),La=(0,x.useRef)(),dr=(0,x.useRef)(!1);const Eo=(0,x.useRef)(!1),[Nr,bn]=(0,x.useState)(0);function da(){const la=Ye.bx.make,Ya={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"};Yt.current=new Ye.S0($n.current,{padding:20,grid:la(Ye.s_,"Grid",la(Ye.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),la(Ye.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:qa=>{var Ir=qa.diagram.commandHandler.addTopLevelParts(qa.diagram.selection,!0);Ir||qa.diagram.currentTool.doCancel()},commandHandler:la(ca),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:qa=>{var Ir=qa.subject;Ir.location=Ir.location.copy().snapToGridPoint(qa.diagram.grid.gridOrigin,qa.diagram.grid.gridCellSize),setTimeout(()=>{qa.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:qa=>{var Ir=qa.subject;setTimeout(()=>{qa.diagram.commandHandler.editTextBlock()})},LinkRelinked:qa=>{var Ir=qa.parameter.part;Ir.invalidateConnectedLinks();var vo=qa.subject;qa.diagram.toolManager.linkingTool.isForwards?vo.toNode.invalidateConnectedLinks():vo.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Yt.current.nodeTemplate=la(Ye.NB,"Auto",{locationSpot:Ye.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ye.$u(120,60),minSize:new Ye.$u(40,40),resizable:!0,resizeCellSize:new Ye.$u(10,10),rotatable:!0},new Ye.KX("location","loc",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),new Ye.KX("desiredSize","size",Ye.$u.parse).makeTwoWay(Ye.$u.stringify),la(Ye.bn,{name:"SHAPE",fill:Ya.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ye.z6.AllSides,toSpot:Ye.z6.AllSides},new Ye.KX("figure"),new Ye.KX("fill"),new Ye.KX("stroke","borderColor"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),la(Ye.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),la(Ye.al,{margin:1,textAlign:"center",overflow:Ye.al.OverflowEllipsis,editable:!0},new Ye.KX("text").makeTwoWay(),new Ye.KX("stroke","color"))),Yt.current.nodeTemplate.toolTip=la("ToolTip",la(Ye.s_,"Vertical",{maxSize:new Ye.$u(200,NaN)},la(Ye.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ye.KX("text")),la(Ye.al,{font:"10pt sans-serif",textAlign:"center"},new Ye.KX("text","details"))));function Bt(qa,Ir){var vo=(ir,fi)=>{ir.handled=!0,ir.diagram.model.commit(ci=>{var Fi=fi.part.adornedPart,ei=new Ye.E9().setRectSpot(Fi.actualBounds,qa);ei.subtract(Fi.location),ei.scale(2,2),ei.x+=Math.sign(ei.x)*130,ei.y+=Math.sign(ei.y)*130,ei.add(Fi.location),ei.snapToGridPoint(ir.diagram.grid.gridOrigin,ir.diagram.grid.gridCellSize);var hi=ci.copyNodeData(Fi.data);ci.setGroupKeyForNodeData(hi,ci.getGroupKeyForNodeData(Fi.data)),ci.addNodeData(hi);var Wt={from:Fi.key,to:ci.getKeyForNodeData(hi)};ci.addLinkData(Wt);var Kt=ir.diagram.findNodeForData(hi);Kt.location=ei,ir.diagram.select(Kt),setTimeout(()=>{ir.diagram.commandHandler.editTextBlock()},20)})};return la(Ye.bn,{figure:Ir,alignment:qa,alignmentFocus:qa.opposite(),width:qa.equals(Ye.z6.Top)||qa.equals(Ye.z6.Bottom)?25:18,height:qa.equals(Ye.z6.Top)||qa.equals(Ye.z6.Bottom)?18:25,fill:"orange",stroke:Ya.white,strokeWidth:4,mouseEnter:(ir,fi)=>fi.fill="dodgerblue",mouseLeave:(ir,fi)=>fi.fill="orange",isActionable:!0,click:vo,contextClick:vo})}function Yn(qa){return la(Ye.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:(Ir,vo)=>vo.fill="dodgerblue",mouseLeave:(Ir,vo)=>vo.fill="orange",click:(Ir,vo)=>{Ir.diagram.commandHandler.showContextMenu(vo.part.adornedPart)}},qa||{})}Yt.current.nodeTemplate.selectionAdornmentTemplate=la(Ye.uz,"Spot",la(Ye.Vm,{padding:10}),Bt(Ye.z6.Top,"TriangleUp"),Bt(Ye.z6.Left,"TriangleLeft"),Bt(Ye.z6.Right,"TriangleRight"),Bt(Ye.z6.Bottom,"TriangleDown"),Yn({alignment:new Ye.z6(.75,0)}));function Dn(qa,Ir){return(vo,ir)=>{vo.handled=!0,vo.diagram.model.commit(fi=>{fi.set(ir.part.adornedPart.data,qa,Ir)})}}function It(qa,Ir){return Ir||(Ir="color"),la(Ye.bn,{width:16,height:16,stroke:"lightgray",fill:qa,margin:1,background:"transparent",mouseEnter:(vo,ir)=>ir.stroke="dodgerblue",mouseLeave:(vo,ir)=>ir.stroke="lightgray",click:Dn(Ir,qa),contextClick:Dn(Ir,qa)})}function ar(){return[la("ContextMenuButton",la(Ye.s_,"Horizontal",It(Ya.white,"fill"),It(Ya.beige,"fill"),It(Ya.extralightblue,"fill"),It(Ya.extralightred,"fill"))),la("ContextMenuButton",la(Ye.s_,"Horizontal",It(Ya.lightgray,"fill"),It(Ya.lightgreen,"fill"),It(Ya.lightblue,"fill"),It(Ya.lightred,"fill")))]}function ga(){return[la("ContextMenuButton",la(Ye.s_,"Horizontal",It(Ya.black),It(Ya.green),It(Ya.blue),It(Ya.red))),la("ContextMenuButton",la(Ye.s_,"Horizontal",It(Ya.white),It(Ya.magenta),It(Ya.purple),It(Ya.orange)))]}function Ja(qa,Ir){return Ir||(Ir="thickness"),la(Ye.bn,"LineH",{width:16,height:16,strokeWidth:qa,margin:1,background:"transparent",mouseEnter:(vo,ir)=>ir.background="dodgerblue",mouseLeave:(vo,ir)=>ir.background="transparent",click:Dn(Ir,qa),contextClick:Dn(Ir,qa)})}function wa(qa,Ir){return Ir||(Ir="dash"),la(Ye.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:qa,margin:1,background:"transparent",mouseEnter:(vo,ir)=>ir.background="dodgerblue",mouseLeave:(vo,ir)=>ir.background="transparent",click:Dn(Ir,qa),contextClick:Dn(Ir,qa)})}function Io(){return[la("ContextMenuButton",la(Ye.s_,"Horizontal",Ja(1),Ja(2),Ja(3),Ja(4))),la("ContextMenuButton",la(Ye.s_,"Horizontal",wa(null),wa([2,4]),wa([4,4])))]}function Yr(qa,Ir){return Ir||(Ir="figure"),la(Ye.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:qa,margin:1,background:"transparent",mouseEnter:(vo,ir)=>ir.fill="dodgerblue",mouseLeave:(vo,ir)=>ir.fill="lightgray",click:Dn(Ir,qa),contextClick:Dn(Ir,qa)})}Yt.current.nodeTemplate.contextMenu=la("ContextMenu",la("ContextMenuButton",la(Ye.s_,"Horizontal",Yr("Rectangle"),Yr("RoundedRectangle"),Yr("Ellipse"),Yr("Diamond"))),la("ContextMenuButton",la(Ye.s_,"Horizontal",Yr("Parallelogram2"),Yr("ManualOperation"),Yr("Procedure"),Yr("Cylinder1"))),la("ContextMenuButton",la(Ye.s_,"Horizontal",Yr("Terminator"),Yr("CreateRequest"),Yr("Document"),Yr("TriangleDown"))),ar(),ga(),Io()),Yt.current.groupTemplate=la(Ye.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ye.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(qa,Ir)=>{var vo=Ir.addMembers(Ir.diagram.selection,!0);vo||Ir.diagram.currentTool.doCancel()},avoidable:!1},new Ye.KX("location","loc",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),la(Ye.s_,"Auto",{name:"BODY"},la(Ye.bn,{parameter1:10,fill:Ya.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ye.z6.AllSides,toSpot:Ye.z6.AllSides},new Ye.KX("fill"),new Ye.KX("stroke","color"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),la(Ye.Vm,{background:"transparent",margin:20})),la(Ye.al,{alignment:Ye.z6.Top,alignmentFocus:Ye.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ye.KX("text"),new Ye.KX("stroke","color"))),Yt.current.groupTemplate.selectionAdornmentTemplate=la(Ye.uz,"Spot",la(Ye.s_,"Auto",la(Ye.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),la(Ye.Vm,{margin:1.5})),Yn({alignment:Ye.z6.TopRight,alignmentFocus:Ye.z6.BottomRight})),Yt.current.groupTemplate.contextMenu=la("ContextMenu",ar(),ga(),Io()),Yt.current.linkTemplate=la(Ye.rU,{layerName:"Foreground",routing:Ye.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ye.KX("fromSpot","fromSpot",Ye.z6.parse),new Ye.KX("toSpot","toSpot",Ye.z6.parse),new Ye.KX("fromShortLength","dir",qa=>qa>=1?10:0),new Ye.KX("toShortLength","dir",qa=>qa>=1?10:0),new Ye.KX("points").makeTwoWay(),la(Ye.bn,{strokeWidth:2},new Ye.KX("stroke","color"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),la(Ye.bn,{segmentIndex:0,segmentOffset:new Ye.E9(15,0),segmentOrientation:Ye.rU.OrientAlong,alignmentFocus:Ye.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",qa=>qa===1)),la(Ye.bn,{segmentIndex:-1,segmentOffset:new Ye.E9(-10,6),segmentOrientation:Ye.rU.OrientPlus90,alignmentFocus:Ye.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",qa=>qa>=1),new Ye.KX("width","thickness",qa=>7+3*qa),new Ye.KX("height","thickness",qa=>7+3*qa),new Ye.KX("segmentOffset","thickness",qa=>new Ye.E9(-15,4+1.5*qa))),la(Ye.bn,{segmentIndex:0,segmentOffset:new Ye.E9(15,-6),segmentOrientation:Ye.rU.OrientMinus90,alignmentFocus:Ye.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",qa=>qa===2),new Ye.KX("width","thickness",qa=>7+3*qa),new Ye.KX("height","thickness",qa=>7+3*qa),new Ye.KX("segmentOffset","thickness",qa=>new Ye.E9(-15,4+1.5*qa))),la(Ye.al,{alignmentFocus:new Ye.z6(0,1,-4,0),editable:!0},new Ye.KX("text").makeTwoWay(),new Ye.KX("stroke","color"))),Yt.current.linkTemplate.selectionAdornmentTemplate=la(Ye.uz,la(Ye.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Zo(2)},new Ye.KX("pathPattern","thickness",Zo)),Yn({alignmentFocus:new Ye.z6(0,0,-6,-4)}));function Zo(qa){return la(Ye.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(qa+4).toString()+" H3"})}function ni(qa){var Ir="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return qa===0?Ir="M0 0 M16 16 M0 8 L16 8":qa===2&&(Ir="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),la(Ye.bn,{geometryString:Ir,margin:2,background:"transparent",mouseEnter:(vo,ir)=>ir.background="dodgerblue",mouseLeave:(vo,ir)=>ir.background="transparent",click:Dn("dir",qa),contextClick:Dn("dir",qa)})}function vi(qa){var Ir=(vo,ir)=>{vo.handled=!0,vo.diagram.model.commit(fi=>{var ci=ir.part.adornedPart;fi.set(ci.data,qa?"toSpot":"fromSpot",Ye.z6.stringify(Ye.z6.AllSides)),(qa?ci.toNode:ci.fromNode).invalidateConnectedLinks()})};return la(Ye.bn,{width:12,height:12,fill:"transparent",mouseEnter:(vo,ir)=>ir.background="dodgerblue",mouseLeave:(vo,ir)=>ir.background="transparent",click:Ir,contextClick:Ir})}function Da(qa,Ir){var vo=0,ir=Ye.z6.RightSide;qa.equals(Ye.z6.Top)?(vo=270,ir=Ye.z6.TopSide):qa.equals(Ye.z6.Left)?(vo=180,ir=Ye.z6.LeftSide):qa.equals(Ye.z6.Bottom)&&(vo=90,ir=Ye.z6.BottomSide),Ir||(vo-=180);var fi=(ci,Fi)=>{ci.handled=!0,ci.diagram.model.commit(ei=>{var hi=Fi.part.adornedPart;ei.set(hi.data,Ir?"toSpot":"fromSpot",Ye.z6.stringify(ir)),(Ir?hi.toNode:hi.fromNode).invalidateConnectedLinks()})};return la(Ye.bn,{alignment:qa,alignmentFocus:qa.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:vo,background:"transparent",mouseEnter:(ci,Fi)=>Fi.background="dodgerblue",mouseLeave:(ci,Fi)=>Fi.background="transparent",click:fi,contextClick:fi})}Yt.current.linkTemplate.contextMenu=la("ContextMenu",ga(),Io(),la("ContextMenuButton",la(Ye.s_,"Horizontal",ni(0),ni(1),ni(2))),la("ContextMenuButton",la(Ye.s_,"Horizontal",la(Ye.s_,"Spot",vi(!1),Da(Ye.z6.Top,!1),Da(Ye.z6.Left,!1),Da(Ye.z6.Right,!1),Da(Ye.z6.Bottom,!1)),la(Ye.s_,"Spot",{margin:new Ye.Zt(0,0,0,2)},vi(!0),Da(Ye.z6.Top,!0),Da(Ye.z6.Left,!0),Da(Ye.z6.Right,!0),Da(Ye.z6.Bottom,!0)))));const yi=`{ "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 Hr=["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 Go(qa){return console.log("shapeName:",qa),Hr.indexOf(qa)>=0}var pi=new Ye.YI(La.current,{maxSelectionCount:1,linkTemplate:la(Ye.rU,{locationSpot:Ye.z6.Center,selectionAdornmentTemplate:la(Ye.uz,"Link",{locationSpot:Ye.z6.Center},la(Ye.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),la(Ye.bn,{toArrow:"Standard",stroke:null}))},{routing:Ye.rU.AvoidsNodes,curve:Ye.rU.JumpOver,corner:5,toShortLength:4},new Ye.KX("points"),la(Ye.bn,{isPanelMain:!0,strokeWidth:2}),la(Ye.bn,{toArrow:"Standard",stroke:null})),model:new Ye.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ye.bn.getFigureGenerators().toArray().map(qa=>({text:"\u672A\u547D\u540D",size:"100 100",figure:qa.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Yt.current.addDiagramListener("TextEdited",function(qa){var Ir;const vo=qa.subject.part;var ir=(Ir=document.activeElement)==null?void 0:Ir.value;typeof ir=="string"&&ir.trim()===""&&Yt.current.model.commit(function(fi){fi.set(vo.data,"text","\u672A\u547D\u540D"),Yt.current.commandHandler.stopCommand()},"increment")}),pi.nodeTemplate=la(Ye.NB,"Auto",{locationSpot:Ye.z6.Center},new Ye.KX("location","location",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),la(Ye.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 Ye.KX("stroke").makeTwoWay(),new Ye.KX("fill").makeTwoWay(),new Ye.KX("figure")),la(Ye.al,{margin:new Ye.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ye.$u(16,16),maxSize:new Ye.$u(10,NaN),textAlign:"center",editable:!0},new Ye.KX("key").makeTwoWay())),setTimeout(()=>{Yt.current.grid=la(Ye.s_,"Grid",la(Ye.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),la(Ye.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Yt.current.grid.visible=!0,Yt.current.grid.gridCellStroke="darkgray",Yt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Yt.current,Yt.current}const ro=()=>Je(this,null,function*(){var la=Yt.current.makeImage();const Ya=yield(0,cn.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:la.src}});sn({src:Ya.url})});return(0,x.useEffect)(()=>(setTimeout(()=>{da()},500),bn(Nr+1),()=>{Yt.current=null}),[]),Be.createElement("div",{ref:Eo,className:dr.current?`${We.maxH60} body-overflow-initial`:"body-overflow-initial"},Be.createElement(ht.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Nr,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Be.createElement(mn.Z,null,Be.createElement(At.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Be.createElement(At.Z,{onClick:()=>{var la,Ya,Bt=Yt.current.selection.first();if(dr.current=!dr.current,document.activeElement&&Bt){let Yn=(Ya=(la=document.activeElement)==null?void 0:la.value)==null?void 0:Ya.trim();typeof Yn=="string"&&Yt.current.model.commit(function(Dn){Dn.set(Bt.data,"text",Yn||"\u672A\u547D\u540D"),Yt.current.commandHandler.stopCommand()},"increment")}bn(Nr+1)}},Be.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:kt},Be.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:We.flowChartWrp},Be.createElement("div",{style:{display:"flex",height:"100%"}},Be.createElement("div",{style:{width:"300px",height:"100%"}},Be.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Be.createElement("div",{style:{height:"calc(100% - 50px)"},className:We.myPaletteDiv,ref:La})),Be.createElement("div",{style:{flex:1,position:"relative"}},Be.createElement("div",{ref:$n,style:{height:"80vh"}}))),Be.createElement("div",{className:"tr"},Be.createElement(he.ZP,{size:"large",onClick:ro,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Vt=vt,dn=z(78045),ta=z(31795);const vn=dn.ZP.Group,Nn={margin:"0 8px"};var ia=({callback:kt,onCancel:sn})=>{function Yt($n){kt($n)}return x.createElement(ke.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Yt},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:Nn},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:Nn},"\u884C\u6570"),x.createElement(ke.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(ta.Z,null)),x.createElement("span",{style:Nn},"\u5217\u6570"),x.createElement(ke.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(ta.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:Nn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(ke.default.Item,{name:"align"},x.createElement(vn,null,x.createElement(dn.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(dn.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(dn.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(dn.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:sn},"\u53D6\u6D88")))},et=z(47897),Ot=z(61016),Pa=z.n(Ot),Ft=(0,x.forwardRef)(({use3d:kt,width:sn,height:Yt,callback:$n,showSaveButton:La},dr)=>{const Eo=(0,x.useRef)(),Nr=(0,x.useRef)(),[bn,da]=(0,x.useState)(!1),ro=(0,x.useRef)({id:Eo,appName:"graphing",width:sn||1e3,height:Yt||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)(()=>{Nr.current=new(Pa())(ro.current,!0),window.onload=function(){Nr.current.inject("applet_container")}},[]);const la=()=>{var Ya=window.ggbApplet.getPNGBase64(1,!0,72);return $n&&$n(Ya),Ya};return(0,x.useEffect)(()=>{ro.current.appName=bn?"3D":"graphing",Nr.current.inject("applet_container")},[bn]),(0,x.useEffect)(()=>{da(kt)},[kt]),(0,x.useImperativeHandle)(dr,()=>({getImgData:la})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Eo}),x.createElement(mn.Z,{align:"middle"},x.createElement(At.Z,{flex:1},x.createElement(et.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:bn,onChange:Ya=>da(Ya)})),x.createElement(At.Z,null,x.createElement(he.ZP,{size:"large",onClick:la,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),ya=z(36527),ot=z(25934),Tt=z(2453);const nn="link",Rt="upload-image",Lt="add-flowchart",na="draw-image",va="add-flowchart",ha="code-block",ba="add-table",lr="------------",gr={default:lr,left:`:${lr}`,center:`:${lr}:`,right:`${lr}:`};var Qa=z(99914),Dr=(kt,sn,Yt)=>new Promise(($n,La)=>{var dr=bn=>{try{Nr(Yt.next(bn))}catch(da){La(da)}},Eo=bn=>{try{Nr(Yt.throw(bn))}catch(da){La(da)}},Nr=bn=>bn.done?$n(bn.value):Promise.resolve(bn.value).then(dr,Eo);Nr((Yt=Yt.apply(kt,sn)).next())});function so(){}let zr=0;const Jr=1e4,co="\u2581",Xr="@\u2581\u2581@",bo="@\u2581@",kr=`
**\u6A21\u677F\u6807\u9898**
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Sa=["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 ja(kt){return/^\d+$/.test(kt)?`${kt}px`:kt}const za=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ar={[za+"-B"]:"bold",[za+"-I"]:"italic"},er={[nn]:"\u6DFB\u52A0\u94FE\u63A5",[ha]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Rt]:"\u6DFB\u52A0\u56FE\u7247",[na]:"\u6DFB\u52A0\u753B\u56FE",[Lt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[ba]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Wa=({defaultValue:kt="",onChange:sn,width:Yt="100%",height:$n=400,miniToolbar:La=!1,isFocus:dr=!1,watch:Eo,insertTemp:Nr,mode:bn="markdown",id:da="markdown-editor-id",showResizeBar:ro=!1,noStorage:la=!1,showNullButton:Ya=!1,showNullProgramButton:Bt=!1,hidetoolBar:Yn=!1,fullScreen:Dn=!1,onBlur:It,onCMBeforeChange:ar,onFullScreen:ga,className:Ja="",disablePaste:wa=!1,disabled:Io=!1,disabledFill:Yr=!1,placeholder:Zo="",values:ni="",extraUse:vi})=>{const[Da,yi]=(0,x.useState)(null),[Hr,Go]=(0,x.useState)(kt),[pi,qa]=(0,x.useState)(Eo),[Ir,vo]=(0,x.useState)(Dn),[ir,fi]=(0,x.useState)(""),[ci,Fi]=(0,x.useState)(0),[ei,hi]=(0,x.useState)($n),[Wt,Kt]=(0,x.useState)(!1),aa=(0,x.useRef)((0,ot.Z)()),xa=(0,x.useRef)(!1),Ka=(0,x.useRef)(),[Cr,po]=(0,x.useState)(0),[Lo,rr]=(0,x.useState)(0),zo=(0,x.useRef)(),ai=(0,x.useRef)(),ii=(0,x.useRef)(),oo=(0,x.useRef)(),tn=()=>Dr(void 0,null,function*(){var Ha;const Hn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:aa.current}});(Ha=Hn==null?void 0:Hn.attachments)!=null&&Ha.length&&(console.log("cm:",Da,zo),Hn.attachments.map(Tn=>{Tn.content_type.indexOf("image")>-1?Da.replaceSelection(`![,](/api/attachments/${Tn.id}?type=${Tn.content_type})`):Tn.content_type.indexOf("video")>-1?Da.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Tn.content_type.indexOf("pdf")>-1?Da.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Tn.id}?type=${Tn.content_type}&disposition=inline" target="_blank">${Tn.name}</a>`):Da.replaceSelection(`[${Tn.name}](${ENV.API_SERVER}/api/attachments/${Tn.id}?type=${Tn.content_type})`)}))});(0,x.useEffect)(()=>{const Ha=window.scrollY||window.pageYOffset;Go(ni),Da==null||Da.setValue(ni),window.scrollTo(0,Ha)},[ni]),(0,x.useEffect)(()=>{ga==null||ga(Ir)},[Ir]),(0,x.useEffect)(()=>{if(zo.current){let Ha=function(Tn,Oa){var Lr;if(wa){Oa.preventDefault();return}const we=Oa.clipboardData;if(we){const an=we.types.toString(),wn=we.items;if(an==="Files"||we.types.indexOf("Files")>-1){if(Oa.preventDefault(),bn=="stex")return;try{let Wn=wn[1];((Lr=wn[0])==null?void 0:Lr.kind)==="file"&&(Wn=wn[0]);const Ct=Wn.getAsFile(),jn=Ct.name.split(".").pop();(0,mt.I)(Ct,Gn=>{var In,Jn,sr;Gn.id?((In=Ct==null?void 0:Ct.type)==null?void 0:In.indexOf("image"))>-1?Hn.replaceSelection(`<img width="100%" src="/api/attachments/${Gn.id}?type=${Gn.content_type})" alt="" />`):((Jn=Ct==null?void 0:Ct.type)==null?void 0:Jn.indexOf("video"))>-1?Hn.replaceSelection(`<video width="100%" controls src="/api/attachments/${Gn.id}"></video>`):((sr=Ct==null?void 0:Ct.type)==null?void 0:sr.indexOf("pdf"))>-1?Hn.replaceSelection(`<a href="/api/attachments/${Gn.id}?type=${Ct.type}&disposition=inline" target="_blank">${Ct.name}</a>`):Sa.includes(jn)?Hn.replaceSelection(`<a href="/api/attachments/${Gn.id}?type=office&disposition=inline" target="_blank">${Ct.name}</a>`):Hn.replaceSelection(`[${Ct.name}](/api/attachments/${Gn.id}?type=${Gn.content_type})`):(Gn==null?void 0:Gn.status)===401&&(Tt.ZP.warning((Gn==null?void 0:Gn.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Wn){Tt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Hn=Ce().fromTextArea(zo.current,{mode:bn,lineNumbers:!La,lineWrapping:!0,value:kt,autoCloseTags:!Bt,autoCloseBrackets:!0});return Hn.on("keyup",function(Tn,Oa){Oa.keyCode===8&&(Tn.getValue()==""?Hn.setOption("placeholder",Zo):Hn.setOption("placeholder",null))}),Hn.on("keydown",function(Tn,Oa){if(Oa.keyCode===8){var Lr=Un(Tn);Lr&&Oa.preventDefault()}}),dr&&Hn.focus(),Hn.on("paste",Ha),Hn.on("dragleave",function(Tn,Oa){ai.current.classList.remove("mouse-hover-md")}),Io&&Hn.on("beforeChange",function(Tn,Oa){(Oa.origin==="paste"||Oa.origin==="+input")&&Oa.cancel()}),yi(Hn),()=>{Hn.off("paste",Ha)}}},[]);const gn=(0,x.useCallback)(()=>{if(ai.current)try{}catch(Ha){console.log(Ha,"---- to set md editor body height")}},[ei,ai,Ir]);(0,x.useEffect)(()=>{function Ha(){let Hn=new Re.Z(Tn=>{for(let Oa of Tn)(Oa.target.offsetHeight>0||Oa.target.offsetWidth>0)&&(gn(),Da.setSize("100%","100%"),Da.refresh())});return Hn.observe(zo.current.parentElement),Hn}if(Da){const Hn=Ha();return()=>{var Tn,Oa;(Tn=zo.current)!=null&&Tn.parentElement&&Hn.unobserve((Oa=zo.current)==null?void 0:Oa.parentElement)}}},[Da,gn]),(0,x.useEffect)(()=>{if(Da){let Ha=[];for(const[Hn,Tn]of Object.entries(Ar)){let Oa={[Hn]:()=>{qe(Tn)}};Ha.push(Oa),Da.addKeyMap(Oa)}return Ka.current=setInterval(()=>{xa.current&&tn()},4e3),()=>{clearInterval(Ka.current);for(let Hn of Ha)Da.removeKeyMap(Hn)}}},[Da]),(0,x.useEffect)(()=>{Dn!==Ir&&vo(Dn)},[Dn]),(0,Qa.Z)(()=>{if(!la&&ci>0){let Ha=new Date().getTime(),Hn=window.sessionStorage.getItem(da);Ha>=ci+Jr&&(!Hn||Hn!==Hr)&&(window.sessionStorage.setItem(da,Hr),Kt(!0))}},Jr),(0,x.useEffect)(()=>{qa(Eo)},[Da,Eo]),(0,x.useEffect)(()=>{Da&&dr&&Da.focus()},[Da,dr]),(0,x.useEffect)(()=>{if(pi&&Da){let Ha=function(Tn){let Oa=Tn.target;if(oo.current){let Lr=Oa.scrollTop/Oa.scrollHeight;oo.current.scrollTop=oo.current.scrollHeight*Lr}};const Hn=Da.getScrollerElement();return Hn.addEventListener("scroll",Ha),()=>{Hn.removeEventListener("scroll",Ha)}}},[Da,pi]),(0,x.useEffect)(()=>{if(Da&&ar){let Ha=function(Hn,Tn){ar(Hn,Tn)};return Da.on("beforeChange",Ha),()=>{Da.off("beforeChange",Ha)}}},[Da,ar]),(0,x.useEffect)(()=>{if(Da&&It){let Ha=function(){It(Da.getValue())};return Da.on("blur",Ha),()=>{Da.off("blur",Ha)}}},[Da,It]);function Un(Ha,Hn){var Tn=Ha.getDoc(),Oa=Tn.getCursor(),Lr=Tn.getLine(Oa.line),we=Lr.charAt(Oa.ch-1),an=Lr.lastIndexOf("@\u2581@",Oa.ch),wn=Lr.lastIndexOf("@\u2581\u2581@",Oa.ch),Wn=an>wn?an:wn,Ct=an>wn?3:4;if(Xr.indexOf(we)===-1)return null;if(console.log("change1:",Hn,Ha,Lr,Oa,Wn,an,wn,we),Wn>=0&&Oa.ch-Wn<5){var jn=Wn+Ct;return Tn.replaceRange("",{line:Oa.line,ch:Wn},{line:Oa.line,ch:jn}),{line:Oa.line,ch:jn}}return null}(0,x.useEffect)(()=>{if(Da){let Ha=function(Hn,Tn){const Oa=Hn.getValue();Go(Oa),Fi(new Date().getTime()),Hn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),sn&&(Bt?sn(Oa,xr(Oa)):sn(Oa))};return Da.on("change",Ha),()=>{Da.off("change",Ha)}}},[Da,sn]),(0,x.useEffect)(()=>{if(Da)if(kt==null)Da.setValue(""),Go("");else{const Ha=window.scrollY||window.pageYOffset;kt!==Da.getValue()&&(Da.setValue(kt),Go(kt),Da.setCursor(Io?1:Da.lineCount(),0),window.scrollTo(0,Ha))}},[Da,kt]);const qe=(0,x.useCallback)(Ha=>{const Hn=Da.getCursor(),Tn=Da.getSelection();let Oa=Tn.split(`
`);switch(Ha){case"bold":return Da.replaceSelection("**"+Tn+"**"),Tn===""&&Da.setCursor(Hn.line,Hn.ch+2),Da.focus();case"italic":return Da.replaceSelection("*"+Tn+"*"),Tn===""&&Da.setCursor(Hn.line,Hn.ch+1),Da.focus();case"code":return Da.replaceSelection("`"+Tn+"`"),Tn===""&&Da.setCursor(Hn.line,Hn.ch+1),Da.focus();case"inline-latex":return fi("inline-latex"),Da.focus();case"latex":return Da.replaceSelection("```latex\n"+Tn+"\n```"),Da.setCursor(Hn.line+1,Tn.length+1),Da.focus();case"line-break":return Da.replaceSelection(`<br/>
`),Da.focus();case"list-ul":return Tn===""?Da.replaceSelection("- "+Tn):Da.replaceSelection(Oa.map(Lr=>Lr===""?"":`- ${Lr}`).join(`
`)),Da.focus();case"list-ol":return Tn===""?Da.replaceSelection("1. "+Tn):Da.replaceSelection(Oa.map((Lr,we)=>Lr===""?"":`${we+1}. ${Lr}`).join(`
`)),Da.focus();case"add-null-ch":return Tn===""&&Da.setCursor(Hn.line,Hn.ch),Da.replaceSelection(co),Da.focus();case"add-signal":return Tn===""&&Da.setCursor(Hn.line,Hn.ch),Da.replaceSelection(bo),Da.focus();case"add-multiple":return Tn===""&&Da.setCursor(Hn.line,Hn.ch),Da.replaceSelection(Xr),Da.focus();case"inster-template-1":return Tn===""&&Da.setCursor(Hn.line,Hn.ch),Da.replaceSelection(kr),Da.focus();case"eraser":return Da.setValue(""),Da.focus();case"trigger-watch":return qa(!pi),Da.focus();case"trigger-full-screen":return vo(!Ir),Da.focus();case nn:fi(nn);return;case ha:fi(ha);return;case Rt:fi(Rt);return;case na:fi(na);return;case"maths-latex":fi("maths-latex");return;case Lt:fi(Lt);return;case ba:fi(ba);return;default:throw new Error}},[Da,pi,Ir]),Qn=(0,x.useCallback)((Ha,Hn)=>{var Tn,Oa,Lr,we,an,wn;switch(fi(""),ir){case nn:const{title:In,link:Jn}=Ha;return Da.replaceSelection(`[${In}](${Jn})`),Da.focus();case ha:const{language:sr,content:hr}=Ha;return Da.replaceSelection(["```"+sr,hr,"```"].join(`
`)),Da.focus();case"maths-latex":for(var Wn=atob(Ha),Ct=new Uint8Array(Wn.length),jn=0;jn<Wn.length;jn++)Ct[jn]=Wn.charCodeAt(jn);var Gn=new Blob([Ct],{type:"image/png"});(0,mt.I)(Gn,Zi=>{Zi.id?Da.replaceSelection(`![,](/api/attachments/${Zi.id}?type=${Zi.content_type})`):(Zi==null?void 0:Zi.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Da.replaceSelection("`$$"+Ha+"$$`");break;case Rt:case na:case va:const{src:Qr,alt:Fr}=Ha,_o=Hn,Ho=(Lr=(Oa=(Tn=_o==null?void 0:_o.name)==null?void 0:Tn.split("."))==null?void 0:Oa.pop)==null?void 0:Lr.call(Oa);return((we=_o==null?void 0:_o.type)==null?void 0:we.indexOf("image"))>-1||!(_o!=null&&_o.type)?_o.align||_o.width?Da.replaceSelection(`<p style="text-align:${_o.align||"initial"}"><img width="${_o.width?_o.width+"%":"initial"}" src="${Qr}" alt="${Fr||""}" /></p>`):Da.replaceSelection(`<img width="100%" src="${Qr}" alt="${Fr||""}" />`):((an=_o==null?void 0:_o.type)==null?void 0:an.indexOf("video"))>-1?Da.replaceSelection(`<video width="100%" controls src="${Qr}"></video>`):((wn=_o==null?void 0:_o.type)==null?void 0:wn.indexOf("pdf"))>-1?Da.replaceSelection(`<a href="${Qr}?type=${_o.type}&disposition=inline" target="_blank">${_o.name}</a>`):Sa.includes(Ho)?Da.replaceSelection(`<a href="${Qr}?type=office&disposition=inline" target="_blank">${_o.name}</a>`):Da.replaceSelection(`[${_o.name}](${Qr})`),Da.focus();case ba:const{row:zi,col:Gi,align:sl}=Ha;let Oi=`
`;for(let Zi=0;Zi<zi;Zi++){let El=[],Pl=[];for(let Mi=0;Mi<Gi;Mi++)Zi===1&&Pl.push(gr[sl]),El.push(" ");Zi===1&&(Oi+=`| ${Pl.join(" | ")} |
`),Oi+=`| ${El.join(Gi===1?"":" | ")} |
`}return Da.replaceSelection(Oi+`
`),Da.focus();default:throw new Error}},[Da,ir]),Ma=(0,x.useMemo)(()=>{switch(ir){case nn:return x.createElement(Vn,{callback:Qn,onCancel:Ta});case ha:return x.createElement(fa.Z,{callback:Qn,onCancel:Ta});case Rt:return x.createElement(mt.Z,{callback:Qn,onCancel:Ta});case Lt:return x.createElement(Vt,{callback:Qn,onCancel:Ta});case ba:return x.createElement(ia,{callback:Qn,onCancel:Ta});case"maths-latex":return x.createElement(Ft,{showSaveButton:!0,callback:Qn});case"inline-latex":return x.createElement(ya.Z,{showSaveButton:!0,callback:Qn});default:return null}},[ir]);function Ta(){fi("")}(0,x.useEffect)(()=>{if(ii.current){let Ha=function(an){Lr=!0,we=an.pageY},Hn=function(){Lr=!1},Tn=function(an){if(Lr){let wn=an.pageY-we;wn<0&&(wn=0),wn>300&&(wn=300);let Wn=$n+wn+"px";hi(Wn)}},Oa=ii.current,Lr=!1,we=0;return Oa.addEventListener("mousedown",Ha),document.addEventListener("mousemove",Tn),document.addEventListener("mouseup",Hn),()=>{Oa.removeEventListener("mousedown",Ha),document.removeEventListener("mousemove",Tn),document.removeEventListener("mouseup",Hn)}}},[Da,ii]),(0,x.useEffect)(()=>{hi($n)},[$n]);const En=ja(Yt),Mn=ja(ei),Rn={width:En,height:Mn},ka=(0,x.useMemo)(()=>{if(ci){let Ha=new Date(ci),Hn=Ha.getHours(),Tn=Ha.getMinutes(),Oa=Ha.getSeconds();return Hn=Hn<10?"0"+Hn:Hn,Tn=Tn<10?"0"+Tn:Tn,Oa=Oa<10?"0"+Oa:Oa,`${Hn}:${Tn}:${Oa}`}return 0},[ci]),xr=Ha=>{const Hn=[];if(Bt){let Tn=-1;Ha=Ha.replace(/(@▁▁@|@▁@)/g,function(Oa,Lr,we){Hn.push({multiLine:Oa!==bo})})}return Hn};function Or(){window.sessionStorage.removeItem(da),Kt(!1),Fi(0)}function Kr(){Kt(!1),Fi(0),Da.setValue(window.sessionStorage.getItem(da))}(0,x.useEffect)(()=>{er[ir]&&ir!==na&&ir!==Lt&&setTimeout(()=>{const Ha=document.getElementsByClassName("markdown-popup-form")[0],Hn=window.innerWidth/2-Ha.offsetWidth/2,Tn=window.innerHeight/2-Ha.offsetHeight/2;po(Hn),rr(Tn)},0)},[ir]);const uo=Ha=>{Ha.preventDefault();const Hn=Ha.clientX-Cr,Tn=Ha.clientY-Lo;document.body.onmousemove=Oa=>{let Lr=Oa.clientX-Hn,we=Oa.clientY-Tn;const an=document.getElementsByClassName("markdown-popup-form")[0],wn=window.innerWidth-an.offsetWidth,Wn=window.innerHeight-an.offsetHeight;Lr=Math.max(0,Math.min(Lr,wn)),we=Math.max(0,Math.min(we,Wn)),yr(Oa.clientX,Oa.clientY,Hn,Tn)&&(po(Lr),rr(we))},document.body.onmouseup=function(){document.body.onmousemove=null}},yr=(Ha,Hn,Tn,Oa)=>{const Lr=document.body.clientHeight,we=document.body.clientWidth;return Ha<20&&Tn>Ha||Ha>we-20&&Tn<Ha||Hn<20&&Oa>Hn||Hn>Lr-20&&Oa<Hn?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return x.createElement(x.Fragment,null,x.createElement("div",{className:"markdown-editor-wrapper",ref:ai},x.createElement("div",{className:`markdown-editor-container ${Ja} ${pi?"on-preview":""} ${La?"mini":""} ${Ir?"full-screen":""}`,style:Rn},x.createElement(Pe,{insertTemp:Nr,watch:pi,fullScreen:Ir,showNullButton:Ya,showNullProgramButton:Bt,onActionCallback:qe,hidetoolBar:Yn,extraUse:vi}),x.createElement("div",{className:"markdown-editor-body"},x.createElement("div",{className:"codemirror-container"},x.createElement("textarea",{ref:zo,placeholder:Zo})),pi?x.createElement("div",{ref:oo,className:"preview-container"},bn==="stex"&&x.createElement(de,{value:Hr}),bn!=="stex"&&x.createElement(Ze.Z,{disabledFill:Yr,showProgramFill:Bt,value:Hr})):null))),ro?x.createElement("a",{ref:ii,className:"editor-resize"}):null,ir===na&&x.createElement(Kn,{callback:Qn,onCancel:Ta}),ir===Lt&&x.createElement(Vt,{callback:Qn,onCancel:Ta}),x.createElement(He.Z,null,er[ir]&&ir!==na&&ir!==Lt?x.createElement(ht.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Cr,top:Lo},title:x.createElement("div",{style:{cursor:"move"},onMouseDown:uo},er[ir]),open:!0,onCancel:Ta,footer:null,destroyOnClose:!0,width:ir===Lt?"1200px":null,height:ir===Lt?"80vh":null,className:"markdown-popup-form"},Ma):null))}},70859:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return pe},I:function(){return He}});var x=z(22150),ie=z(2453),Ce=z(69677),Re=z(93421),ye=z(31795),Te=z(78045),se=z(71577),nt=z(15476),Me=z(67294),ze=z(52262),Ze=z(67294),de=Object.defineProperty,_e=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,E=(ke,Oe,he)=>Oe in ke?de(ke,Oe,{enumerable:!0,configurable:!0,writable:!0,value:he}):ke[Oe]=he,ee=(ke,Oe)=>{for(var he in Oe||(Oe={}))a.call(Oe,he)&&E(ke,he,Oe[he]);if(y)for(var he of y(Oe))b.call(Oe,he)&&E(ke,he,Oe[he]);return ke},te=(ke,Oe)=>_e(ke,ue(Oe));const{useForm:re}=x.default,oe={width:280,marginRight:10},ce={labelCol:{span:5},wrapperCol:{span:19}};var pe=({callback:ke,onCancel:Oe})=>{const[he]=re();let Ke=(0,Me.useRef)();function Ue(at){Ke.current.width=he.getFieldValue("width"),Ke.current.align=he.getFieldValue("align"),ke(at,Ke.current)}function $e(at,lt){if(at.status===-1){ie.ZP.error(at.message);return}he.setFieldsValue({src:`/api/attachments/${at.id}`,type:lt.type})}function Fe(at){let lt=at.target.files[0];Ke.current=lt,He(lt,$e)}return Ze.createElement(x.default,te(ee({form:he},ce),{className:"upload-image-panel",onFinish:Ue,style:{width:470,overflow:"hidden"}}),Ze.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ze.createElement("div",{className:"flex-container"},Ze.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ze.createElement(Ce.default,{style:oe})),Ze.createElement(Pe,{onFileChange:Fe}))),Ze.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ze.createElement(Ce.default,{style:{width:264}})),Ze.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ze.createElement(Re.Z,null,Ze.createElement(x.default.Item,{name:"width",style:{margin:0}},Ze.createElement(ye.Z,{style:{width:264}})),Ze.createElement("span",{className:"ml8"},"%"))),Ze.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ze.createElement(Te.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"}]})),Ze.createElement("aside",null,Ze.createElement(x.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ze.createElement(se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ze.createElement(se.ZP,{type:"default",onClick:Oe},"\u53D6\u6D88"))))};function Pe({onFileChange:ke}){return Ze.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ze.createElement("input",{type:"file",onChange:ke}))}function He(ke,Oe){if(!ke)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ze.bg)())throw ie.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",ke),he.append("file_param_name","editormd-image-file"),he.append("byxhr","true");var Ke=new window.XMLHttpRequest;Ke.withCredentials=!0,Ke.addEventListener("load",function(Ue){Oe(JSON.parse(Ue.target.responseText),ke)},!1),Ke.addEventListener("error",function(Ue){console.error(Ue)},!1),Ke.open("POST",`${nt.KI}/api/attachments.json`),Ke.send(he)}},76621:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return Ce}});var x=z(67294),ie=z(73935);class Ce extends x.Component{constructor(ye){super(ye);const Te=window.document;this.node=Te.createElement("div"),Te.body.appendChild(this.node)}render(){const{children:ye}=this.props;return(0,ie.createPortal)(ye,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},9897:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return pe}});var x={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},ie=z(57953),Ce=z(83062),Re=z(94184),ye=z.n(Re),Te=z(28706),se=z(26194),nt=z(52262),Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1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rwtzgmT/LwknSFTisazUUITWNi5vmiDaDdydqHxIGNgGycki263pBtRjDLMbY1MhICnprTPJluBONyjvj7tAPq5cMEjq+x8ZJJ5AcRDceZL3LHhhINn/lUUySVsXSIJlbgvNCx4WHv3+VWPXvL6sZt8/v/t/ZcDiwhxFgaLp8YdFs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",re=z(67294);const oe=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Me,swimg:ze},{name:"101\u8BA1\u5212",ptimg:Ze,swimg:de},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:_e,swimg:ue},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:E},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ee,swimg:te}];var pe=({className:Pe,dataSource:He=[],col:ke=4,right:Oe,bottom:he=23,precision:Ke=0,wrapWidth:Ue=1200,trackEventItems:$e,loading:Fe,onRemove:at=()=>{},isCurrent:lt=!0,showAlias:ft=!1})=>{const ut=Math.floor((Ue-(ke-1)*Oe)/ke),St=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(jt=>(window.ENV==="build"&&(jt.ptimg=`/react/build${jt.ptimg}`,jt.swimg=`/react/build${jt.swimg}`),jt));return re.createElement(ie.Z,{spinning:Fe},re.createElement("div",{className:ye()(x.list,Pe)},!!(He!=null&&He.length)&&(He==null?void 0:He.map((jt,Vn)=>{var fa;const{name:mt,id:ht,identifier:mn,featured:oa,school_name:Sn,image_url:Kn,excellent:Ye,is_plan:_n}=jt;return re.createElement("div",{key:ht,className:x.wrap,style:{width:ut,marginRight:(1+Vn)%ke===0?0:Oe+Ke,marginBottom:he}},re.createElement("a",{className:x.li,onClick:ca=>{ca.preventDefault(),ca.stopPropagation(),$e&&(0,Te.L9)([$e]),(0,Te.xg)(`/paths/${mn}`)}},re.createElement("div",{className:x.img},re.createElement("img",{className:x.cover,src:`${Kn}`}),lt&&(0,nt.bg)()&&(jt==null?void 0:jt.studying)&&re.createElement("div",{className:`${x.movebq} user-path-items`,onClick:ca=>{ca.stopPropagation(),at(jt)}},re.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),re.createElement("span",{className:"c-red"},"\u79FB\u9664")),(fa=jt==null?void 0:jt.subject_tags)==null?void 0:fa.map((ca,ln)=>{var At,cn;if(ln===0){const Be=(At=St.find(Je=>Je.name==ca))==null?void 0:At.swimg;return re.createElement("img",{className:x.sign,src:Be,style:{left:"-4px"}})}const We=(cn=St.find(Be=>Be.name==ca))==null?void 0:cn.ptimg;return re.createElement("img",{className:x.sign,src:We,style:{left:`${48+52*(ln-1)+2*ln}px`}})}),re.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(jt==null?void 0:jt.excellent)&&re.createElement("div",{className:x.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:x.name},re.createElement(Ce.Z,{title:ft&&(jt!=null&&jt.excellent_alias_name)?re.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${mt}`,re.createElement("br",null),re.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${jt==null?void 0:jt.excellent_alias_name}`)):mt},re.createElement("span",{className:x.e},ft&&(jt==null?void 0:jt.excellent_alias_name)||mt))),re.createElement("div",{className:x.tags},re.createElement("div",null,re.createElement(Ce.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),re.createElement("span",null,jt.stages_count))),re.createElement(Ce.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),re.createElement("span",null,jt.members_count)))))))})),!He.length&&re.createElement(se.Z,null)))}},30001:function(Jt,zt,z){"use strict";z.d(zt,{jL:function(){return ye},w9:function(){return jt},QD:function(){return ya},cQ:function(){return at.Z},op:function(){return ia},O5:function(){return kr},_b:function(){return na},t7:function(){return E},Gi:function(){return oa},YG:function(){return ht},qp:function(){return Ze},vr:function(){return nn},qE:function(){return Pa},Je:function(){return re},wb:function(){return Fe},cq:function(){return ln},tp:function(){return ue}});var x=z(67294),ie={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+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yqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ye=({dataSource:Sa=[],img:ja,imgWidth:_a=346,title:za,sunTitle:Ar,bannerExtraContent:er})=>x.createElement("div",{className:ie.banner},x.createElement("div",{className:ie.content},x.createElement("aside",null,x.createElement("p",null,x.createElement("b",null,za),x.createElement("span",null,Ar)),Sa.length>0&&x.createElement("div",{className:ie.btns},Sa.map((Wa,kt)=>x.createElement("div",{key:kt,onClick:Wa.click},Wa.name,Wa.sign?x.createElement("img",{src:Ce,width:39}):null))),er),ja&&x.createElement("img",{style:{marginTop:33,marginRight:38},src:ja,width:_a}))),Te={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},se=z(94184),nt=z.n(se),Me=z(96486),Ze=({dataSource:Sa=[],value:ja,onChange:_a,onTitleChange:za,className:Ar,title:er,titleWidth:Wa=41,style:kt={},fontColor:sn="#6A7283",showCount:Yt})=>{const[$n,La]=(0,x.useState)(0),[dr,Eo]=(0,x.useState)(!1),Nr=(0,x.useRef)(null),bn=(0,x.useRef)(null);return(0,x.useEffect)(()=>{var da;Sa.length!==0&&(((da=Nr==null?void 0:Nr.current)==null?void 0:da.clientHeight)>97?La(1):La(0)),Sa.length===0&&La(0),Eo(!1)},[Sa]),x.createElement("div",{className:nt()(Te.row,Ar),style:kt},x.createElement("div",{onClick:(0,Me.throttle)(()=>za==null?void 0:za(),2e3),style:{width:Wa,marginTop:dr?12:4},className:`${Te.title} ${za?"current":""}`},er),x.createElement("div",{className:dr?`${Te.tagsWrap} ${Te.tagsBorderWrap}`:Te.tagsWrap},x.createElement("div",{className:Te.bar,ref:bn,style:$n>0?{height:$n===1?97:"auto",overflow:$n===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},x.createElement("div",{className:Te.tag,ref:Nr},Sa==null?void 0:Sa.map(da=>x.createElement("span",{onClick:()=>_a(da.id),key:da.id,style:{color:sn},className:ja===da.id?Te.active:""},x.createElement("span",{title:da.name,className:Te.name},da.name),!!Yt&&x.createElement("span",{className:Te.num},da.count))))),!!$n&&x.createElement(x.Fragment,null,$n===1?x.createElement("div",{onClick:()=>{var da;La(2),((da=Nr==null?void 0:Nr.current)==null?void 0:da.clientHeight)>245?Eo(!0):Eo(!1)},className:Te.action},"\u5C55\u5F00",x.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):x.createElement("div",{onClick:()=>{bn.current.scrollTop=0,La(1),Eo(!1)},className:Te.action},"\u6536\u8D77",x.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},de={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"},ue=({dataSource:Sa=[],value:ja,onChange:_a,className:za,activeClassName:Ar,style:er={}})=>x.createElement("div",{style:er,className:nt()(de.tabs,za)},Sa.map(Wa=>x.createElement("span",{onClick:()=>_a(Wa.id),className:ja===Wa.id?nt()(Ar||de.active):"",key:Wa.id},Wa.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=z(69677),E=({dataSource:Sa=[],value:ja="",onChange:_a,onInputChange:za=()=>{},className:Ar,style:er={},placeholder:Wa,allowClear:kt=!1})=>{var sn;const[Yt,$n]=(0,x.useState)(""),[La,dr]=(0,x.useState)("");(0,x.useEffect)(()=>{var bn;let da=ja;(bn=JSON.stringify(ja))!=null&&bn.includes("{")&&($n(ja.id),da=ja.value||"");try{dr(decodeURIComponent(da||""))}catch(ro){dr(decodeURIComponent(da||""))}},[ja]);const Eo=()=>{_a(encodeURIComponent(La),Yt||null)},Nr=bn=>{bn!==Yt&&($n(bn),_a(encodeURIComponent(La),bn))};return x.createElement("div",{className:nt()(y.input,Ar),style:er},!!Sa.length&&x.createElement("div",{className:y.dropdown},x.createElement("div",{className:y.text},(sn=Sa.find(bn=>bn.id===Yt))==null?void 0:sn.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},Sa.map((bn,da)=>x.createElement("div",{key:da,onClick:()=>Nr(bn.id)},bn.name)))),x.createElement(a.default,{onPressEnter:Eo,value:La,onChange:bn=>{dr(bn.target.value),za(encodeURIComponent(bn.target.value),Yt||null)},bordered:!1,placeholder:Wa}),x.createElement("i",{onClick:Eo,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ee={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:Sa,onChange:ja,className:_a,total:za,pageSize:Ar,style:er={}})=>{const Wa=Sa<2,kt=Sa>=Math.ceil(za/Ar);return za<=Ar?x.createElement(x.Fragment,null):x.createElement("div",{className:nt()(ee.quickPager,_a),style:er},x.createElement("div",{onClick:()=>{Wa||ja(Sa-1,"prev")},className:Wa?ee.disabled:""},"\u4E0A\u4E00\u9875"),x.createElement("div",{onClick:()=>{kt||ja(Sa+1,"next")},className:kt?ee.disabled:""},"\u4E0B\u4E00\u9875"))},oe={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=z(57953),pe=z(83062),Pe=z(12604),He=z(11320),ke=z(28706),Oe=z(96908),he=z(57177),Ke=z(81378),Ue=z(26194),Fe=({className:Sa,dataSource:ja=[],col:_a=4,right:za,bottom:Ar=23,precision:er=0,wrapWidth:Wa=1200,trackEventItems:kt,loading:sn})=>{const Yt=Math.floor((Wa-(_a-1)*za)/_a);return x.createElement(ce.Z,{spinning:sn},x.createElement("div",{className:nt()(oe.list,Sa)},!!ja.length&&ja.map(($n,La)=>{const{name:dr,id:Eo,identifier:Nr,power:bn,cover_image_id:da,pic:ro}=$n;return x.createElement("div",{className:oe.wrap,key:Eo,style:{width:Yt,marginRight:(1+La)%_a===0?0:za+er,marginBottom:Ar}},x.createElement("a",{target:"_blank",href:`/shixuns/${Nr}/challenges`,className:oe.li,onClick:la=>{la.preventDefault(),kt&&(0,ke.L9)([kt]),bn&&(0,ke.xg)(`/shixuns/${Nr}/challenges`)}},x.createElement("div",{className:oe.img},x.createElement("img",{className:oe.cover,src:`${ro}`}),$n.is_jupyter&&x.createElement("img",{className:oe.sign,src:Oe}),$n.is_jupyter_lab&&x.createElement("img",{className:oe.sign,src:he}),$n.is_unity_3d&&x.createElement("img",{className:oe.sign,src:Ke})),x.createElement("div",{className:oe.name},x.createElement(pe.Z,{title:dr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:oe.e},dr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),x.createElement("div",{className:oe.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,$n.challenges_count))),!!$n.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,$n.myshixuns_count))),x.createElement(pe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},x.createElement("span",null,x.createElement("span",null,$n.level))),x.createElement("div",{className:oe.rate},x.createElement(Pe.Z,{allowHalf:!0,disabled:!0,defaultValue:$n.score_info}),x.createElement("span",null,"\xA0",$n.score_info?`${$n.score_info}\u5206`:"5\u5206")))),!bn&&x.createElement("div",{className:oe.lockWrap},x.createElement("img",{src:`${He.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")))}),!ja.length&&x.createElement(Ue.Z,null)))},at=z(9897),lt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},ft="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HW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im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",ut=z(67294),jt=({className:Sa,dataSource:ja=[],col:_a=4,right:za,bottom:Ar=23,precision:er=0,wrapWidth:Wa=1200,trackEventItems:kt,loading:sn})=>{const Yt=Math.floor((Wa-(_a-1)*za)/_a);return ut.createElement(ce.Z,{spinning:sn},ut.createElement("div",{className:nt()(lt.list,Sa)},!!ja.length&&ja.map(($n,La)=>{const{subject_identifier:dr,id:Eo,identifier:Nr,power:bn}=$n,da=$n.is_public!=0&&$n.is_public;return ut.createElement("div",{className:lt.wrap,key:Eo,style:{width:Yt,marginRight:(1+La)%_a===0?0:za+er,marginBottom:Ar}},ut.createElement("a",{className:lt.li,onClick:ro=>{ro.preventDefault(),kt&&(0,ke.L9)([kt]),(0,ke.xg)($n.first_category_url)}},ut.createElement("div",{className:lt.top},ut.createElement(pe.Z,{title:$n.name},ut.createElement("div",{className:lt.name},$n.name)),ut.createElement("img",{className:lt.img,src:He.Z.IMG_SERVER+"/images/"+$n.avatar_url}),ut.createElement("div",{className:lt.text,title:$n.creator},$n.creator),dr&&ut.createElement("div",{className:lt.btns},ut.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ut.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),da&&ut.createElement("div",{className:lt.sign},"\u516C\u5F00")),ut.createElement("div",{className:lt.bottom},$n.visits>0&&ut.createElement(pe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ut.createElement("span",null,ut.createElement("i",{className:"iconfont icon-liulanyan"}),ut.createElement("span",null,$n.visits))),$n.course_members_count>0&&ut.createElement(pe.Z,{title:"\u6210\u5458",placement:"bottom"},ut.createElement("span",null,ut.createElement("i",{className:"iconfont icon-chengyuan"}),$n.course_members_count)),$n.tasks_count>0&&ut.createElement(pe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ut.createElement("span",null,ut.createElement("i",{className:"iconfont icon-zuoye"}),$n.tasks_count)),$n.is_end?ut.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):ut.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!$n.is_accessible&&ut.createElement("div",{className:lt.lockWrap},ut.createElement("img",{src:`${He.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ut.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!ja.length&&ut.createElement(Ue.Z,null)))},Vn={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"},fa=z(35973),ht=({dataSource:Sa=[],value:ja,onChange:_a,className:za,style:Ar={},tabBarExtraContent:er})=>x.createElement("div",{className:nt()(Vn.tabs,za),style:Ar},x.createElement("div",{className:Vn.tabsWrap},Sa.map((Wa,kt)=>x.createElement("aside",{className:Vn.tab,onClick:()=>{_a(Wa.id),Wa.link&&fa.history.push(Wa.link)},key:kt},x.createElement("div",{className:ja===Wa.id?Vn.active:""},Wa.name),(Wa==null?void 0:Wa.resetCount)==null&&(Wa==null?void 0:Wa.total)!==void 0&&x.createElement("span",null,"\uFF08",Wa==null?void 0:Wa.total,"\uFF09"),(Wa==null?void 0:Wa.resetCount)!==void 0&&(Wa==null?void 0:Wa.total)!==void 0&&x.createElement(pe.Z,{title:(Wa==null?void 0:Wa.tip)!=null?Wa==null?void 0:Wa.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},Wa==null?void 0:Wa.resetCount),"/",x.createElement("span",null,Wa==null?void 0:Wa.total),"\uFF09"))))),x.createElement("div",{className:Vn.tabBar},er)),oa=({className:Sa,style:ja={},children:_a})=>x.createElement("div",{className:nt()(Sa),style:ja},_a),Sn={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"},Kn=z(85418),Ye=z(68508);const _n=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ln=({sortValue:Sa,dropValue:ja,className:_a,onSort:za,onDrop:Ar,dataSource:er=_n})=>{var Wa;return x.createElement("div",{className:nt()(Sn.orderWrap,_a)},x.createElement(Kn.Z,{dropdownRender:()=>x.createElement(Ye.default,null,er.map((kt,sn)=>x.createElement(Ye.default.Item,{key:sn,onClick:()=>Ar(kt.id)},kt.name)))},x.createElement("span",{className:Sn.orderTextWrap},(Wa=er.find(kt=>ja===kt.id))==null?void 0:Wa.name)),x.createElement("span",{className:Sn.orderIconWrap},x.createElement("span",{className:Sn.orderAsc},x.createElement("i",{className:Sa==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Sn.cursorPointer} ${Sn.active}`:`iconfont icon-sanjiaoxing-up font12 ${Sn.cursorPointer}`,onClick:()=>za(Sa==="asc"?"desc":"asc")})),x.createElement("span",{className:Sn.orderDesc},x.createElement("i",{className:Sa==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Sn.cursorPointer} ${Sn.active}`:`iconfont icon-sanjiaoxing-down font12 ${Sn.cursorPointer}`,onClick:()=>za(Sa==="asc"?"desc":"asc")}))))},At={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"},cn=z(71577),We=Object.defineProperty,Be=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,Vt=(Sa,ja,_a)=>ja in Sa?We(Sa,ja,{enumerable:!0,configurable:!0,writable:!0,value:_a}):Sa[ja]=_a,dn=(Sa,ja)=>{for(var _a in ja||(ja={}))Je.call(ja,_a)&&Vt(Sa,_a,ja[_a]);if(Be)for(var _a of Be(ja))vt.call(ja,_a)&&Vt(Sa,_a,ja[_a]);return Sa},ta=(Sa,ja)=>{var _a={};for(var za in Sa)Je.call(Sa,za)&&ja.indexOf(za)<0&&(_a[za]=Sa[za]);if(Sa!=null&&Be)for(var za of Be(Sa))ja.indexOf(za)<0&&vt.call(Sa,za)&&(_a[za]=Sa[za]);return _a},vn=(Sa,ja,_a)=>new Promise((za,Ar)=>{var er=sn=>{try{kt(_a.next(sn))}catch(Yt){Ar(Yt)}},Wa=sn=>{try{kt(_a.throw(sn))}catch(Yt){Ar(Yt)}},kt=sn=>sn.done?za(sn.value):Promise.resolve(sn.value).then(er,Wa);kt((_a=_a.apply(Sa,ja)).next())}),ia=Sa=>{var ja=Sa,{className:_a,style:za,children:Ar,loading:er=!1,openLoading:Wa,onClick:kt=()=>{},size:sn="middle",shape:Yt="round"}=ja,$n=ta(ja,["className","style","children","loading","openLoading","onClick","size","shape"]);const[La,dr]=(0,x.useState)(!1);return x.createElement(cn.ZP,dn({onClick:(0,Me.throttle)(Eo=>vn(void 0,null,function*(){Wa&&dr(!0);try{yield kt(Eo)}catch(Nr){console.log("error",Nr)}Wa&&dr(!1)}),2e3,{leading:!0,trailing:!1}),className:nt()(At.btn,At[`${sn}-${Yt}`],_a),style:za,size:sn,shape:Yt,loading:La||er},$n),Ar)},et={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"},Pa=({className:Sa,style:ja,children:_a=null,onClick:za,title:Ar})=>x.createElement("div",{className:nt()(et.head,Sa),style:ja},x.createElement("span",{className:"primary-hover",onClick:za},x.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),x.createElement("b",{title:Ar},Ar),x.createElement("div",{className:et.node},_a)),An={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"},ya=({confirmShow:Sa=!0,confirmTitle:ja,confirmClick:_a,cancelShow:za=!0,cancelTitle:Ar,cancelClick:er,className:Wa,style:kt,confirmLoading:sn=!1})=>x.createElement("div",{className:nt()(An.btns,Wa),style:kt},Sa&&x.createElement(cn.ZP,{loading:sn,onClick:_a,type:"primary",className:An.confirm},ja),za&&x.createElement(cn.ZP,{onClick:er,className:An.cancel},Ar)),ot={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"},nn=({className:Sa,style:ja={},LeftContent:_a,children:za,RightContent:Ar})=>x.createElement("div",{className:nt()(ot.fixedBottom,Sa),style:ja},x.createElement("div",{className:ot.wrap},x.createElement("div",{className:ot.left},_a),x.createElement("div",{className:ot.center},za),x.createElement("div",{className:ot.right},Ar))),Rt={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"},na=({className:Sa,style:ja={},dataSource:_a=[]})=>x.createElement("div",{className:nt()(Rt.crumbs,Sa),style:ja},_a.map((za,Ar)=>Ar<_a.length-1?x.createElement(x.Fragment,{key:Ar},za.path||za.onClick?x.createElement("span",{className:Rt.hover,onClick:za!=null&&za.onClick?za.onClick:()=>fa.history.push(za.path)},za.name):x.createElement("span",null,za.name),x.createElement("span",null,"\xA0",">","\xA0")):x.createElement("span",{key:Ar,style:{color:"#5F6368"}},za.name))),va=z(55054),ha=Object.defineProperty,ba=Object.defineProperties,lr=Object.getOwnPropertyDescriptors,gr=Object.getOwnPropertySymbols,Qa=Object.prototype.hasOwnProperty,Dr=Object.prototype.propertyIsEnumerable,so=(Sa,ja,_a)=>ja in Sa?ha(Sa,ja,{enumerable:!0,configurable:!0,writable:!0,value:_a}):Sa[ja]=_a,zr=(Sa,ja)=>{for(var _a in ja||(ja={}))Qa.call(ja,_a)&&so(Sa,_a,ja[_a]);if(gr)for(var _a of gr(ja))Dr.call(ja,_a)&&so(Sa,_a,ja[_a]);return Sa},Jr=(Sa,ja)=>ba(Sa,lr(ja)),co=(Sa,ja)=>{var _a={};for(var za in Sa)Qa.call(Sa,za)&&ja.indexOf(za)<0&&(_a[za]=Sa[za]);if(Sa!=null&&gr)for(var za of gr(Sa))ja.indexOf(za)<0&&Dr.call(Sa,za)&&(_a[za]=Sa[za]);return _a};const{Countdown:Xr}=va.default;var kr=Sa=>{var ja=Sa,{onChange:_a}=ja,za=co(ja,["onChange"]);const[Ar,er]=(0,x.useState)(null);(0,x.useEffect)(()=>{typeof Ar=="number"&&Ar>=0&&_a(Ar)},[Ar]);const Wa=kt=>{const sn=Math.floor(kt/1e3);er(sn)};return x.createElement(Xr,Jr(zr({},za),{onChange:Wa}))}},99914:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return ie}});var x=z(67294);function ie(Ce,Re){const ye=(0,x.useRef)();(0,x.useEffect)(()=>{ye.current=Ce}),(0,x.useEffect)(()=>{function Te(){ye.current()}if(Re!==null){let se=setInterval(Te,Re);return()=>clearInterval(se)}},[Re])}},92359:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return y}});var x=z(67294),ie=z(2453),Ce=z(14446),Re=z(85546),ye=z(59810),Te=z(71577),se=z(11320),nt=z(28706),Me=z(33170),ze=z(35973),Ze={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"},de=z(67294),_e=(a,b,E)=>new Promise((ee,te)=>{var re=pe=>{try{ce(E.next(pe))}catch(Pe){te(Pe)}},oe=pe=>{try{ce(E.throw(pe))}catch(Pe){te(Pe)}},ce=pe=>pe.done?ee(pe.value):Promise.resolve(pe.value).then(re,oe);ce((E=E.apply(a,b)).next())}),y=({visible:a,onOk:b,onCancel:E,sub_discipline_id:ee=[]})=>{const[te,re]=(0,x.useState)([]),[oe,ce]=(0,x.useState)(!1),pe=(0,ze.useParams)(),[Pe,He]=(0,x.useState)([]),[ke,Oe]=(0,x.useState)([]);(0,x.useEffect)(()=>{a?he():(Oe([]),re([]),ce(!1))},[a]);const he=()=>_e(void 0,null,function*(){const lt=yield(0,Me.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});He(lt.disciplines||[]),Oe((ee==null?void 0:ee.length)>0?ee:[])}),Ke=()=>{if((ke==null?void 0:ke.length)===0)return ie.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",ke),ce(!0),b(te,ke[1],()=>{ce(!1)})},Ue=()=>{E()},$e=()=>{const lt=`${se.Z.API_SERVER}/api/courses/${pe.coursesId}/exercises/down_template`;(0,nt.Nd)(null,lt)},Fe=lt=>{const ft={name:lt.name,uid:lt.uid,file:lt};return re([ft]),!1},at=()=>{re([])};return de.createElement(Ce.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:Ke,centered:!0,wrapClassName:Ze.customModal,onCancel:Ue,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:Ze.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:oe},de.createElement("div",{className:Ze.content},de.createElement("aside",null,de.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),de.createElement("ul",null,de.createElement("li",null,de.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),de.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:$e},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),de.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:$e,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),de.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),de.createElement("li",{className:Ze.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),de.createElement("li",{className:Ze.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),de.createElement("li",{className:Ze.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),de.createElement("li",{className:Ze.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),de.createElement("aside",{style:{marginTop:22}},de.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),de.createElement("ul",{style:{flex:1}},de.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&&de.createElement(de.Fragment,null,de.createElement(Re.Z,{value:ke,className:Ze.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Pe,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(lt,ft)=>{Oe(lt||[])}}),de.createElement("br",null),de.createElement(ye.default,{action:`${se.Z.API_SERVER}/api/attachments.json`,beforeUpload:Fe,onRemove:at,withCredentials:!0,fileList:te,accept:".xls,.xlsx",showUploadList:!1},de.createElement(Te.ZP,{className:Ze.upload,type:"primary",icon:de.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),te.map((lt,ft)=>de.createElement("div",{key:ft,className:Ze.fileList},de.createElement("span",{className:Ze.fileName},lt==null?void 0:lt.name),de.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:at})))))))}},96707:function(Jt,zt,z){"use strict";z.d(zt,{h:function(){return x}});var x=(ie=>(ie[ie.NOMATCH=-1]="NOMATCH",ie[ie.OK=0]="OK",ie[ie.TIMEOUT=2]="TIMEOUT",ie[ie.PODFAILURE=3]="PODFAILURE",ie[ie.COMPILEFAILURE=4]="COMPILEFAILURE",ie[ie.EXECUTEFAILURE=5]="EXECUTEFAILURE",ie[ie.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",ie))(x||{})},88742:function(Jt,zt,z){"use strict";z.d(zt,{H7:function(){return y},MK:function(){return ue},MU:function(){return ze},X6:function(){return de},bM:function(){return Me},fi:function(){return a},fu:function(){return nt},n4:function(){return b},rX:function(){return _e},vl:function(){return E},zO:function(){return Ze}});var x=z(33170),ie=Object.defineProperty,Ce=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Te=(ee,te,re)=>te in ee?ie(ee,te,{enumerable:!0,configurable:!0,writable:!0,value:re}):ee[te]=re,se=(ee,te)=>{for(var re in te||(te={}))Re.call(te,re)&&Te(ee,re,te[re]);if(Ce)for(var re of Ce(te))ye.call(te,re)&&Te(ee,re,te[re]);return ee};function nt(ee,te){return(0,x.U2)(`myproblems/${ee}.json`,se({hidePopLogin:!0},te||{}))}function Me(ee,te){return(0,x.v_)(`myproblems/${ee}/code_submit.json`,te)}function ze(ee,te){return(0,x.v_)(`myproblems/${ee}/code_debug.json`,te)}function Ze(ee,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,x.U2)(`myproblems/${ee}/submit_records.json`,te)}function de(ee){return(0,x.U2)("myproblems/record_detail.json",{id:ee})}function _e(ee,te){return(0,x.U2)(`myproblems/${ee}/result.json`,{mode:te})}function ue(ee,te){return(0,x.v_)(`myproblems/${ee}/add_notes.json`,te)}function y(ee,te){return(0,x.v_)(`myproblems/${ee}/restore_initial_code.json`,te)}function a(ee){return(0,x.v_)(`myproblems/${ee}/sync_code.json`)}function b(ee,te){return(0,x.v_)(`myproblems/${ee}/update_code.json`,te)}function E(ee,te){return(0,x.v_)(`discusses/${ee}/plus.json`,te)}},50637:function(Jt,zt,z){"use strict";var x=z(67294),ie=z(83062),Ce=z(69677),Re=z(2453),ye=z(62038),Te=z(67294),se=(Me,ze,Ze)=>new Promise((de,_e)=>{var ue=b=>{try{a(Ze.next(b))}catch(E){_e(E)}},y=b=>{try{a(Ze.throw(b))}catch(E){_e(E)}},a=b=>b.done?de(b.value):Promise.resolve(b.value).then(ue,y);a((Ze=Ze.apply(Me,ze)).next())});const nt=({defaultValue:Me,onFinish:ze})=>{const[Ze,de]=(0,x.useState)(!1),[_e,ue]=(0,x.useState)(Me);return(0,x.useEffect)(()=>{ue(Me)},[Me]),Te.createElement("div",null,Ze?Te.createElement(Ce.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:_e,onChange:y=>{ue(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){Re.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield ze(_e))&&de(!1)}),onPressEnter:()=>se(void 0,null,function*(){var y;if(((y=_e==null?void 0:_e.replaceAll(" ",""))==null?void 0:y.length)<=0){Re.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield ze(_e))&&de(!1)})}):Te.createElement("div",{className:ye.Z.title},_e,Te.createElement(ie.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},Te.createElement("i",{className:`${ye.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>de(!0)}))))};zt.Z=nt},69668:function(Jt,zt,z){"use strict";z.r(zt),z.d(zt,{default:function(){return zn},useCourseOptions:function(){return kn}});var x=z(67294),ie=z(35973),Ce=z(22150),Re=z(85673),ye=z(2453),Te=z(57953),se=z(69677),nt=z(85546),Me=z(84567),ze=z(78045),Ze=z(31795),de=z(71577),_e=z(62038),ue=z(56443),y=z(53430),a=z(60580),b=z(14446),E=z(68508),ee=z(85418),te=z(83062),re=z(72565),oe={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=z(28706),pe=z(33170),Pe=z(26194),He=z(3830),ke=z(66012),Oe=z(85725),he=z(67294),Ke=Object.defineProperty,Ue=Object.defineProperties,$e=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,ft=(fe,xe,be)=>xe in fe?Ke(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,ut=(fe,xe)=>{for(var be in xe||(xe={}))at.call(xe,be)&&ft(fe,be,xe[be]);if(Fe)for(var be of Fe(xe))lt.call(xe,be)&&ft(fe,be,xe[be]);return fe},St=(fe,xe)=>Ue(fe,$e(xe)),jt=(fe,xe,be)=>new Promise((dt,Ut)=>{var Cn=Mt=>{try{$t(be.next(Mt))}catch(Gt){Ut(Gt)}},On=Mt=>{try{$t(be.throw(Mt))}catch(Gt){Ut(Gt)}},$t=Mt=>Mt.done?dt(Mt.value):Promise.resolve(Mt.value).then(Cn,On);$t((be=be.apply(fe,xe)).next())}),fa=({Itemid:fe,setqitem:xe,qitem:be,data:dt,getdata:Ut,bigitem:Cn,setBigqitem:On,isedit:$t,handleEditing:Mt})=>{const[Gt,yn]=(0,x.useState)([]),[xt,Xt]=(0,x.useState)(!1);(0,x.useEffect)(()=>{dt.length>0&&yn([...dt])},[dt]);const qn=(ea,Ln)=>jt(void 0,null,function*(){if($t){Mt();return}if(!ea.destination)return;Xt(!0);let ra=yield(0,pe.ZP)(`/api/examination_banks/${fe}/examination_banks_item_banks/${Ln==null?void 0:Ln[ea.source.index].question_id}/adjust_position.json`,{method:"post",body:{id:fe,itemid:Ln==null?void 0:Ln[ea.source.index].question_id,position:ea.destination.index}});Xt(!1),ra.status===0&&Ut({id:Ln==null?void 0:Ln[ea.source.index].question_id})});return he.createElement("div",null,he.createElement(ke.Z5,{onDragEnd:ea=>qn(ea,Gt)},he.createElement(ke.bK,{droppableId:"droppable"},(ea,Ln)=>he.createElement("div",ut({ref:ea.innerRef},ea.droppableProps),he.createElement(Te.Z,{spinning:xt},Gt.map((ra,rn)=>he.createElement(ke._l,{key:rn,draggableId:rn.toString(),index:rn},(sa,Ua)=>{var Fn,xn;return he.createElement("aside",ut(ut({ref:sa.innerRef},sa.draggableProps),sa.dragHandleProps),he.createElement(te.Z,{title:he.createElement(Oe.Z,{value:(ra==null?void 0:ra.question_type)===8?(Fn=ra==null?void 0:ra.program_attr)==null?void 0:Fn.description:ra.question_title}),color:"#fff",placement:"left",overlayClassName:oe.titleTooltip},he.createElement("div",{onClick:()=>{if($t){Mt();return}xe(St(ut({},ra),{index:rn+1})),On(Cn),(0,ce.Vf)("#question-scroll-id")},className:`${oe.qcount} ${ra.question_id===(be==null?void 0:be.question_id)?oe.qcountclick:""}`},he.createElement("span",{className:oe.score},ra==null?void 0:ra.question_score,"\u5206"),he.createElement("span",{className:oe.qtitle},rn+1,"\u3001",he.createElement(Oe.Z,{value:(ra==null?void 0:ra.question_type)===8?(xn=ra==null?void 0:ra.program_attr)==null?void 0:xn.description:ra.question_title,showTextOnly:!0})))))}))),ea.placeholder))))},mt=z(71230),ht=z(11776),mn=z(11713),oa=z(47897),Sn=z(17663),Kn=z(41188),Ye=z(67294),_n=(fe,xe,be)=>new Promise((dt,Ut)=>{var Cn=Mt=>{try{$t(be.next(Mt))}catch(Gt){Ut(Gt)}},On=Mt=>{try{$t(be.throw(Mt))}catch(Gt){Ut(Gt)}},$t=Mt=>Mt.done?dt(Mt.value):Promise.resolve(Mt.value).then(Cn,On);$t((be=be.apply(fe,xe)).next())}),ln=({form:fe,TagDiscipline:xe,exerciseitem:be,qitem:dt,getTagData:Ut})=>{var Cn;const[On,$t]=(0,x.useState)(!0),[Mt,Gt]=(0,x.useState)(!1),[yn,xt]=(0,x.useState)(""),[Xt,qn]=(0,x.useState)([]),[ea,Ln]=(0,x.useState)([]),[ra,rn]=(0,x.useState)(0);(0,x.useEffect)(()=>{Ua()},[]);const sa=Fn=>_n(void 0,null,function*(){const xn=yield(0,pe.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:Fn==null?void 0:Fn.sub_discipline_id}});Ln(xn==null?void 0:xn.tag_disciplines)}),Ua=()=>_n(void 0,null,function*(){const Fn=yield(0,pe.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});qn(Fn.disciplines||[]),dt!=null&&dt.sub_discipline_id&&sa(dt),rn(dt!=null&&dt.sub_discipline_id?1:0),fe.setFieldsValue({difficulty:dt.difficulty||2,repeat_answer:!dt.repeat_answer,sub_discipline_id:dt!=null&&dt.sub_discipline_id?[dt==null?void 0:dt.discipline_id,dt==null?void 0:dt.sub_discipline_id]:[]})});return Ye.createElement("div",null,Ye.createElement("div",{style:{marginTop:30,overflow:"hidden",height:On?"100%":0}},Ye.createElement(Ce.default.Item,{className:oe.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},Ye.createElement(ze.ZP.Group,{className:oe.radiogroup},Ye.createElement(ze.ZP.Button,{className:oe.easy,value:1},"\u7B80\u5355"),Ye.createElement(ze.ZP.Button,{className:oe.medium,value:2},"\u9002\u4E2D"),Ye.createElement(ze.ZP.Button,{className:oe.hard,value:3},"\u56F0\u96BE"))),Ye.createElement(Ce.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:oe.formcenterselect},Ye.createElement(nt.Z,{className:oe.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Xt,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(Fn,xn)=>{fe.setFieldsValue({sub_discipline_id:Fn,tag_discipline_ids:[]}),rn(Fn?Fn.length:0),(Fn==null?void 0:Fn.length)>0&&(sa({sub_discipline_id:Fn[1]}),Fn[1]==(dt==null?void 0:dt.sub_discipline_id)&&fe.setFieldValue("tag_discipline_ids",dt.tag_discipline_ids))},onClear:()=>{Ln([]),fe.setFieldValue("tag_discipline_ids",[]),rn(0)}})),Ye.createElement(Ce.default.Item,{className:oe.formcenterselect},Ye.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},Ye.createElement(Ce.default.Item,{name:"tag_discipline_ids"},Ye.createElement(mn.default,{className:oe.selectitems,disabled:ra===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:(Fn,xn)=>xn.key.indexOf(Fn.toLowerCase())>=0},ea==null?void 0:ea.map(Fn=>Ye.createElement(mn.default.Option,{key:Fn.name+Fn.id,value:Fn.id},Ye.createElement("div",{style:{display:"flex",alignItems:"center"}},Ye.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Fn.name),(Fn==null?void 0:Fn.type)==="personal"&&Ye.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),ra>0&&Ye.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},Ye.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),Ye.createElement("a",{onClick:()=>{Gt(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),Ye.createElement(Ce.default.Item,{className:oe.formcenterselect},Ye.createElement("div",{style:{display:"flex",alignItems:"center"}},Ye.createElement(Ce.default.Item,{name:"repeat_answer",valuePropName:"checked"},Ye.createElement(oa.Z,null)),Ye.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"40px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",Ye.createElement(te.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"},Ye.createElement(Sn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),Ye.createElement(Kn.Z,{open:Mt,subDisciplineId:(Cn=fe.getFieldValue("sub_discipline_id"))==null?void 0:Cn[1],onCancel:()=>{Gt(!1)},onOkClick:Fn=>{Ln(xn=>[...xn,Fn]),fe.setFieldValue("tag_discipline_ids",[...fe.getFieldValue("tag_discipline_ids"),Fn==null?void 0:Fn.id])}}))},At=z(67294),cn=Object.defineProperty,We=Object.defineProperties,Be=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,dn=(fe,xe,be)=>xe in fe?cn(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,ta=(fe,xe)=>{for(var be in xe||(xe={}))vt.call(xe,be)&&dn(fe,be,xe[be]);if(Je)for(var be of Je(xe))Vt.call(xe,be)&&dn(fe,be,xe[be]);return fe},vn=(fe,xe)=>We(fe,Be(xe)),Nn=(fe,xe,be)=>new Promise((dt,Ut)=>{var Cn=Mt=>{try{$t(be.next(Mt))}catch(Gt){Ut(Gt)}},On=Mt=>{try{$t(be.throw(Mt))}catch(Gt){Ut(Gt)}},$t=Mt=>Mt.done?dt(Mt.value):Promise.resolve(Mt.value).then(Cn,On);$t((be=be.apply(fe,xe)).next())}),et=({qitem:fe,setisedit:xe,TagDiscipline:be,exerciseitem:dt,seveeditor:Ut,deleteitem:Cn,getTagData:On,init:$t,showTip:Mt=!1})=>{const[Gt]=Ce.default.useForm();(0,x.useEffect)(()=>{var xt;Gt.setFieldsValue(vn(ta({},fe),{name:fe==null?void 0:fe.question_title,choices:(xt=fe==null?void 0:fe.question_choices)==null?void 0:xt.map(Xt=>vn(ta({},Xt),{standard_boolean:Xt!=null&&Xt.standard_boolean?1:0})),repeat_answer:!(fe!=null&&fe.repeat_answer)}))},[fe]);const yn=xt=>{if(!(xt!=null&&xt.length))return!1;const Xt=xt.map(ea=>{var Ln;return(Ln=ea.choice_text)==null?void 0:Ln.trim().replace(/^\s+|\s+$/g,"")});return new Set(Xt).size!==Xt.length};return At.createElement("div",null,At.createElement(Ce.default,{form:Gt,colon:!1,onFinish:xt=>{var Xt;if(yn(xt.choices)){ye.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}let qn=vn(ta({},xt),{item_type:fe==null?void 0:fe.question_type,choices:(Xt=xt==null?void 0:xt.choices)==null?void 0:Xt.map(ea=>vn(ta({},ea),{is_answer:ea.standard_boolean}))});Ut(ta(ta({},fe),qn))},onFinishFailed:xt=>Nn(void 0,null,function*(){var Xt,qn;ye.ZP.error(xt.errorFields[0].errors[0]),Gt.scrollToField((qn=(Xt=xt==null?void 0:xt.errorFields)==null?void 0:Xt[0])==null?void 0:qn.name,{behavior:"smooth",block:"center"})})},At.createElement("div",{style:{display:"flex",alignItems:"center"}},At.createElement("div",{style:{flex:1}},At.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),At.createElement("span",null,(fe==null?void 0:fe.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),!fe.isadd&&At.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Cn()}},At.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),At.createElement(de.ZP,{onClick:()=>{var xt;fe.isadd?(xe(!1),$t()):(Gt.setFieldsValue(vn(ta({},fe),{name:fe==null?void 0:fe.question_title,choices:(xt=fe==null?void 0:fe.question_choices)==null?void 0:xt.map(Xt=>vn(ta({},Xt),{standard_boolean:Xt!=null&&Xt.standard_boolean?1:0})),repeat_answer:!(fe!=null&&fe.repeat_answer)})),xe(!1))}},"\u53D6\u6D88"),At.createElement(te.Z,{overlayClassName:oe.shake,open:Mt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:At.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},At.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")},At.createElement(de.ZP,{className:"ml20",type:"primary",onClick:()=>Nn(void 0,null,function*(){Gt.submit()})},"\u4FDD\u5B58"))),At.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},At.createElement(mt.Z,{align:"middle"},At.createElement(Ce.default.Item,{className:oe.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},At.createElement(Ze.Z,{onBlur:xt=>{xt.target.value==="0"&&ye.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}))),At.createElement(ht.u,{form:Gt,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"}),At.createElement(ln,{getTagData:On,qitem:fe,exerciseitem:dt,TagDiscipline:be,form:Gt}))))},Ot=z(81580),Pa=z(39044),An=z(67294),Ft=Object.defineProperty,ya=Object.defineProperties,ot=Object.getOwnPropertyDescriptors,Tt=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Lt=(fe,xe,be)=>xe in fe?Ft(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,na=(fe,xe)=>{for(var be in xe||(xe={}))nn.call(xe,be)&&Lt(fe,be,xe[be]);if(Tt)for(var be of Tt(xe))Rt.call(xe,be)&&Lt(fe,be,xe[be]);return fe},va=(fe,xe)=>ya(fe,ot(xe)),ha=(fe,xe,be)=>new Promise((dt,Ut)=>{var Cn=Mt=>{try{$t(be.next(Mt))}catch(Gt){Ut(Gt)}},On=Mt=>{try{$t(be.throw(Mt))}catch(Gt){Ut(Gt)}},$t=Mt=>Mt.done?dt(Mt.value):Promise.resolve(Mt.value).then(Cn,On);$t((be=be.apply(fe,xe)).next())}),lr=({qitem:fe,TagDiscipline:xe,exerciseitem:be,setisedit:dt,seveeditor:Ut,deleteitem:Cn,getTagData:On,init:$t,showTip:Mt=!1})=>{const[Gt]=Ce.default.useForm(),yn=Ce.default.useWatch("use_blank_score",Gt);return(0,x.useEffect)(()=>{Gt.setFieldsValue(va(na({},fe),{standard_answers:fe.standard_answers||[],name:fe.question_title,repeat_answer:!fe.repeat_answer}))},[fe]),An.createElement("div",null,An.createElement(Ce.default,{form:Gt,colon:!1,onValuesChange:(xt,Xt)=>{var qn,ea,Ln,ra;if(xt!=null&&xt.standard_answers||xt!=null&&xt.use_blank_score){let rn=((qn=Gt.getFieldValue("standard_answers"))==null?void 0:qn.length)>0&&((Ln=(ea=Gt.getFieldValue("standard_answers"))==null?void 0:ea.map(sa=>sa.score))==null?void 0:Ln.filter(sa=>sa));(rn==null?void 0:rn.length)>0&&Gt.setFieldsValue({question_score:(rn==null?void 0:rn.length)>0&&((ra=rn.reduce((sa,Ua)=>sa+Ua))==null?void 0:ra.toFixed(1))})}},onFinish:xt=>{var Xt;Ut(va(na(na({},fe),xt),{item_type:fe==null?void 0:fe.question_type,standard_answers:(Xt=xt.standard_answers)==null?void 0:Xt.map((qn,ea)=>va(na({},qn),{position:qn.choice_id||ea+1}))}))},onFinishFailed:xt=>ha(void 0,null,function*(){var Xt,qn;xt.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,ce.pE)(),ye.ZP.error(xt.errorFields[0].errors[0]),Gt.scrollToField((qn=(Xt=xt==null?void 0:xt.errorFields)==null?void 0:Xt[0])==null?void 0:qn.name,{behavior:"smooth",block:"center"})})},An.createElement("div",{style:{display:"flex",alignItems:"center"}},An.createElement("div",{style:{flex:1}},An.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),An.createElement("span",null,"\u586B\u7A7A\u9898")),!fe.isadd&&An.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Cn()}},An.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),An.createElement(de.ZP,{onClick:()=>{fe.isadd?(dt(!1),$t()):(Gt.setFieldsValue(va(na({},fe),{standard_answers:fe.standard_answers,name:fe.question_title,repeat_answer:!fe.repeat_answer})),dt(!1))}},"\u53D6\u6D88"),An.createElement(te.Z,{overlayClassName:oe.shake,open:Mt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:An.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},An.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")},An.createElement(de.ZP,{className:"ml20",type:"primary",onClick:()=>{Gt.submit()}},"\u4FDD\u5B58"))),An.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},An.createElement(mt.Z,{align:"middle"},yn?An.createElement(Pa.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):An.createElement(Ce.default.Item,{key:2,className:oe.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},An.createElement(Ze.Z,{onBlur:xt=>{xt.target.value==="0"&&ye.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})),An.createElement(Ce.default.Item,{name:"use_blank_score",noStyle:!0},An.createElement(ze.ZP.Group,{className:oe.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),An.createElement(te.Z,{overlayInnerStyle:{width:460},title:An.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",An.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")},An.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),An.createElement(Ot.u,{form:Gt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:yn,answerKey:"standard_answers"}),An.createElement(ln,{getTagData:On,qitem:fe,exerciseitem:be,TagDiscipline:xe,form:Gt}))))},gr=z(66495),Qa=z(67294),Dr=Object.defineProperty,so=Object.defineProperties,zr=Object.getOwnPropertyDescriptors,Jr=Object.getOwnPropertySymbols,co=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,bo=(fe,xe,be)=>xe in fe?Dr(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,kr=(fe,xe)=>{for(var be in xe||(xe={}))co.call(xe,be)&&bo(fe,be,xe[be]);if(Jr)for(var be of Jr(xe))Xr.call(xe,be)&&bo(fe,be,xe[be]);return fe},Sa=(fe,xe)=>so(fe,zr(xe)),ja=(fe,xe,be)=>new Promise((dt,Ut)=>{var Cn=Mt=>{try{$t(be.next(Mt))}catch(Gt){Ut(Gt)}},On=Mt=>{try{$t(be.throw(Mt))}catch(Gt){Ut(Gt)}},$t=Mt=>Mt.done?dt(Mt.value):Promise.resolve(Mt.value).then(Cn,On);$t((be=be.apply(fe,xe)).next())}),za=({qitem:fe,setisedit:xe,TagDiscipline:be,exerciseitem:dt,seveeditor:Ut,deleteitem:Cn,getTagData:On,init:$t,showTip:Mt=!1})=>{const[Gt]=Ce.default.useForm();return(0,x.useEffect)(()=>{var yn;Gt.setFieldsValue(Sa(kr({},fe),{name:fe.question_title,repeat_answer:!fe.repeat_answer,choices:(yn=fe==null?void 0:fe.question_choices)==null?void 0:yn.map(xt=>Sa(kr({},xt),{is_answer:xt!=null&&xt.standard_boolean?1:0}))}))},[fe]),Qa.createElement("div",null,Qa.createElement(Ce.default,{form:Gt,colon:!1,onFinish:yn=>{Ut(kr(kr({},fe),yn))},onFinishFailed:yn=>ja(void 0,null,function*(){var xt,Xt;ye.ZP.error(yn.errorFields[0].errors[0]),Gt.scrollToField((Xt=(xt=yn==null?void 0:yn.errorFields)==null?void 0:xt[0])==null?void 0:Xt.name,{behavior:"smooth",block:"center"})})},Qa.createElement("div",{style:{display:"flex",alignItems:"center"}},Qa.createElement("div",{style:{flex:1}},Qa.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Qa.createElement("span",null,"\u5224\u65AD\u9898")),!(fe!=null&&fe.isadd)&&Qa.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Cn()}},Qa.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Qa.createElement(de.ZP,{onClick:()=>{var yn;fe.isadd?(xe(!1),$t()):(Gt.setFieldsValue(Sa(kr({},fe),{name:fe==null?void 0:fe.question_title,choices:(yn=fe==null?void 0:fe.question_choices)==null?void 0:yn.map(xt=>Sa(kr({},xt),{is_answer:xt!=null&&xt.standard_boolean?1:0})),repeat_answer:!(fe!=null&&fe.repeat_answer)})),xe(!1))}},"\u53D6\u6D88"),Qa.createElement(te.Z,{overlayClassName:oe.shake,open:Mt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Qa.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Qa.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")},Qa.createElement(de.ZP,{className:"ml20",type:"primary",onClick:()=>{Gt.submit()}},"\u4FDD\u5B58"))),Qa.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Qa.createElement(Ce.default.Item,{className:oe.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Qa.createElement(Ze.Z,{onBlur:yn=>{yn.target.value==="0"&&ye.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})),Qa.createElement(gr.Z,{form:Gt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),Qa.createElement(ln,{getTagData:On,qitem:fe,exerciseitem:dt,TagDiscipline:be,form:Gt}))))},Ar=z(47221),er={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"},Wa=z(24018),kt=z(35567),sn=Object.defineProperty,Yt=Object.defineProperties,$n=Object.getOwnPropertyDescriptors,La=Object.getOwnPropertySymbols,dr=Object.prototype.hasOwnProperty,Eo=Object.prototype.propertyIsEnumerable,Nr=(fe,xe,be)=>xe in fe?sn(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,bn=(fe,xe)=>{for(var be in xe||(xe={}))dr.call(xe,be)&&Nr(fe,be,xe[be]);if(La)for(var be of La(xe))Eo.call(xe,be)&&Nr(fe,be,xe[be]);return fe},da=(fe,xe)=>Yt(fe,$n(xe)),ro=(fe,xe)=>{var be={};for(var dt in fe)dr.call(fe,dt)&&xe.indexOf(dt)<0&&(be[dt]=fe[dt]);if(fe!=null&&La)for(var dt of La(fe))xe.indexOf(dt)<0&&Eo.call(fe,dt)&&(be[dt]=fe[dt]);return be};const la=fe=>{var xe=fe,{value:be,onChange:dt,scrollId:Ut}=xe,Cn=ro(xe,["value","onChange","scrollId"]);return x.createElement("div",{id:Ut||""},x.createElement(kt.Z,da(bn({},Cn),{defaultValue:be,onChange:(On,$t)=>{console.log("a:",On,$t),$t!=null&&$t.length?dt(On,$t):dt(On)}})))},Ya=({value:fe,onChange:xe,placeholder:be,height:dt=140,isEdit:Ut})=>Ut?x.createElement(kt.Z,{watch:!0,isFocus:!0,height:dt,placeholder:be,defaultValue:fe,onChange:xe}):x.createElement("div",{style:{cursor:"pointer"}},fe?x.createElement(Oe.Z,{className:er.inputBorder,value:fe}):x.createElement("div",{className:`${er.inputBorder} ${er.placeholder}`},be));var Bt=z(15746),Yn=z(40043),Dn=Object.defineProperty,It=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,ga=Object.getOwnPropertySymbols,Ja=Object.prototype.hasOwnProperty,wa=Object.prototype.propertyIsEnumerable,Io=(fe,xe,be)=>xe in fe?Dn(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,Yr=(fe,xe)=>{for(var be in xe||(xe={}))Ja.call(xe,be)&&Io(fe,be,xe[be]);if(ga)for(var be of ga(xe))wa.call(xe,be)&&Io(fe,be,xe[be]);return fe},Zo=(fe,xe)=>It(fe,ar(xe)),ni=(fe,xe)=>{var be={};for(var dt in fe)Ja.call(fe,dt)&&xe.indexOf(dt)<0&&(be[dt]=fe[dt]);if(fe!=null&&ga)for(var dt of ga(fe))xe.indexOf(dt)<0&&wa.call(fe,dt)&&(be[dt]=fe[dt]);return be};const vi=["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"],Da=({value:fe,onChange:xe,choiceTextKey:be,answerKey:dt,index:Ut,isEdit:Cn,setInputActive:On,form:$t,choiceOptionsPath:Mt,allowChangeMode:Gt,showAddIcon:yn,addItem:xt,deleteItem:Xt})=>{const qn=(fe==null?void 0:fe[dt])===1,ea=()=>{const ra=$t.getFieldValue(Mt);$t.setFieldValue(Mt,ra.map(rn=>Zo(Yr({},rn),{[dt]:0})))},Ln=()=>{qn?xe(Zo(Yr({},fe),{[dt]:0})):(Gt||ea(),xe(Zo(Yr({},fe),{[dt]:1})))};return x.createElement(mt.Z,{className:er.choiceWrap,align:"middle",wrap:!1},x.createElement(Bt.Z,{onClick:Ln,className:`${er.choiceIndex} ${qn?er.activeAnswer:""}`},vi[Ut]),x.createElement(Bt.Z,{flex:1,className:`${er.editorWrap} ml15`,onClick:On},x.createElement(Ya,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Cn,value:fe==null?void 0:fe[be],onChange:ra=>{xe(Zo(Yr({},fe),{[be]:ra}))}})),x.createElement(Bt.Z,{flex:"0 0 auto",className:"ml15"},x.createElement("div",{onClick:Ln,className:`${er.setAnswerBtn} ${qn?er.activeAnswer:""}`},qn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),x.createElement(Bt.Z,{className:er.actionWrapper},x.createElement(te.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},x.createElement(Yn.Z,{className:er.addIcon,onClick:xt,style:{visibility:yn?"visible":"hidden"}})),x.createElement(te.Z,{title:"\u5220\u9664"},x.createElement(Wa.Z,{className:er.deleteIcon,onClick:Xt,style:{visibility:Ut>1?"visible":"hidden"}}))))},yi=({questionTitlePlaceholder:fe,titleKey:xe,choiceKey:be,analysisKey:dt,choiceTextKey:Ut,answerKey:Cn,choiceOptionsPath:On,allowChangeMode:$t=!0,form:Mt,showAnalysis:Gt=!0})=>{const[yn,xt]=(0,x.useState)(),[Xt,qn]=(0,x.useState)(!1);return x.createElement("div",{className:er.wrap},x.createElement("div",{className:er.questionTitleEditorWrap},x.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:xe,labelCol:{span:24},rules:[{required:!0}]},x.createElement(la,{scrollId:Array.isArray(xe)?xe.join("_"):`${xe}`,watch:!0,height:140,placeholder:fe}))),x.createElement(Ce.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),x.createElement(Ce.default.List,{name:be,rules:[{validator(ea,Ln){const ra=Ln.some(sa=>sa[Cn]===1),rn=Ln.findIndex(sa=>{var Ua;return((Ua=sa[Ut])==null?void 0:Ua.length)<=0});return rn!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${vi[rn]}\u9009\u9879\u7684\u5185\u5BB9`)):ra?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(ea,{add:Ln,remove:ra})=>x.createElement("div",{id:Array.isArray(On)?On.join("_"):`${On}`},ea.map((rn,sa)=>{var Ua=rn,{key:Fn,name:xn}=Ua,wr=ni(Ua,["key","name"]);const Mr=yn===Fn,qr=()=>{xt(Fn)},Br=sa<7&&sa===ea.length-1,eo=()=>Ln({[Ut]:"",[Cn]:0}),Ra=()=>ra(xn);return x.createElement(Ce.default.Item,Zo(Yr({},wr),{key:Fn,name:xn,noStyle:!0}),x.createElement(Da,{choiceTextKey:Ut,answerKey:Cn,index:sa,isEdit:Mr,setInputActive:qr,form:Mt,choiceOptionsPath:On,allowChangeMode:$t,showAddIcon:Br,addItem:eo,deleteItem:Ra}))}),ea.length<8&&x.createElement("div",{className:`${er.addBtn} mb30`,onClick:()=>Ln({[Ut]:"",[Cn]:0})},"\u6DFB\u52A0\u9009\u9879"))),Gt&&x.createElement("div",{onClick:()=>qn(!0)},x.createElement(Ce.default.Item,{name:dt,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(Ya,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Xt}))))};var Hr=z(67294),Go=Object.defineProperty,pi=Object.defineProperties,qa=Object.getOwnPropertyDescriptors,Ir=Object.getOwnPropertySymbols,vo=Object.prototype.hasOwnProperty,ir=Object.prototype.propertyIsEnumerable,fi=(fe,xe,be)=>xe in fe?Go(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,ci=(fe,xe)=>{for(var be in xe||(xe={}))vo.call(xe,be)&&fi(fe,be,xe[be]);if(Ir)for(var be of Ir(xe))ir.call(xe,be)&&fi(fe,be,xe[be]);return fe},Fi=(fe,xe)=>pi(fe,qa(xe)),ei=(fe,xe)=>{var be={};for(var dt in fe)vo.call(fe,dt)&&xe.indexOf(dt)<0&&(be[dt]=fe[dt]);if(fe!=null&&Ir)for(var dt of Ir(fe))xe.indexOf(dt)<0&&ir.call(fe,dt)&&(be[dt]=fe[dt]);return be};const hi=({value:fe,onChange:xe})=>{const be=Ut=>{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:er.modal,onOk:()=>{const Cn=[...fe];Cn.splice(Ut,1),xe(Cn)}})},dt=()=>{const Ut=[...fe];Ut.push(""),xe(Ut)};return Hr.createElement(mt.Z,{className:"ml20"},Hr.createElement(Bt.Z,{flex:1},fe==null?void 0:fe.map((Ut,Cn)=>Hr.createElement(mt.Z,{key:`${Ut}_${Cn}`,align:"middle",className:"mb20"},Hr.createElement(se.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Ut,autoSize:{maxRows:3},maxLength:1e3,onBlur:On=>{const $t=[...fe],Mt=On.target.value.trim();$t[Cn]=Mt,xe($t)}}),Hr.createElement(te.Z,{title:"\u5220\u9664"},Hr.createElement(Wa.Z,{className:er.deleteIcon,style:{marginLeft:15,visibility:Cn>0?"visible":"hidden"},onClick:()=>be(Cn)}))))),Hr.createElement(Bt.Z,null,Hr.createElement("div",{className:`${er.addBtn}`,onClick:()=>{dt()}},"\u65B0\u589E\u7B54\u6848")))},Wt=({value:fe=!0,onChange:xe})=>Hr.createElement(oa.Z,{checked:!fe,onChange:be=>{xe(!be)}}),Kt="\u2581",aa=({questionTitlePlaceholder:fe,form:xe,name:be,scoreByBlank:dt,answerKey:Ut,titleKey:Cn="name",analysisKey:On="analysis",isOrdered:$t="is_ordered"})=>{var Mt,Gt;const[yn,xt]=(0,x.useState)(!1),Xt=(Fn,xn)=>{const wr=xn.line;let Mr=0;for(let Br=0;Br<wr;Br++)Mr+=Fn.getLine(Br).split(Kt).length-1;const qr=Fn.getLine(wr).substring(0,xn.ch);return Mr+=qr.split(Kt).length-1,Mr},qn=(Fn,xn,wr,Mr)=>{const qr=Fn.getRange(xn.from,xn.to);let Br=0;if(xn.text.forEach(eo=>{Br+=eo.split(Kt).length-1}),xn.origin!=="setValue"){if(qr&&qr.indexOf(Kt)!==-1){const eo=qr.split(Kt).length-1,Ra=Xt(Fn,xn.from);if(console.log(`\u5220\u9664${eo}\u4E2A\uFF0C \u524D\u9762\u6709${Ra}\u4E2A\uFF0C\u65B0\u589E${Br}\u4E2A`),eo>1){const tr=Array.from({length:eo},(Va,Rr)=>Ra+Rr);Mr(tr)}else Mr(Ra)}else if(Br>0){const eo=Xt(Fn,xn.from);console.log(`\u65B0\u589E${Br}\u4E2A\uFF0C\u4E4B\u524D\u6709${eo}\u4E2A`),wr(Br,eo)}}},ea=()=>{const Fn=xe.getFieldValue(["sub_item_banks",...Ut]);xe.setFieldValue(["sub_item_banks",...Ut],Fn==null?void 0:Fn.map((xn,wr)=>Fi(ci({},xn),{position:wr+1})))},Ln=(0,x.useRef)(),ra=(Fn,xn)=>{for(let wr=0;wr<Fn;wr++)Ln.current({position:null,answer_text:[""]},xn+wr);ea()},rn=(0,x.useRef)(),sa=Fn=>{rn.current(Fn),ea()},Ua=(Gt=(Mt=xe.getFieldValue("sub_item_banks"))==null?void 0:Mt[Ut==null?void 0:Ut[0]])==null?void 0:Gt[Ut==null?void 0:Ut[1]];return console.log(xe==null?void 0:xe.getFieldValue(["sub_item_banks",...dt])),Hr.createElement("div",{className:er.wrap},Hr.createElement("div",{className:er.questionTitleEditorWrap},Hr.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:Cn,labelCol:{span:24},rules:[{required:!0}]},Hr.createElement(la,{scrollId:"name",watch:!0,height:140,placeholder:fe,showNullButton:!0,onCMBeforeChange:(Fn,xn)=>{qn(Fn,xn,ra,sa)}}))),Hr.createElement(Ce.default.List,{name:Ut,rules:[{validator(Fn,xn){if((xn==null?void 0:xn.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const wr of xn){const{answer_text:Mr}=wr||{};if(Mr!=null&&Mr.some(qr=>(qr==null?void 0:qr.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Fn,{add:xn,remove:wr},{errors:Mr})=>(Ln.current=xn,rn.current=wr,Hr.createElement(Hr.Fragment,null,Hr.createElement(Ce.default.Item,{label:Hr.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Fn!=null&&Fn.length)&&Hr.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Fn.map((qr,Br)=>{var eo=qr,{key:Ra,name:tr}=eo,Va=ei(eo,["key","name"]);return Hr.createElement(mt.Z,{className:"mb20",key:Ra,align:"top"},Hr.createElement(Bt.Z,{flex:"0 0 auto",className:`${er.blankIndex} pt5`},"\u586B\u7A7A\u9879",Br+1),Hr.createElement(Bt.Z,{flex:1},Hr.createElement(mt.Z,{align:"top",justify:"space-between"},Hr.createElement(Bt.Z,{flex:1},Hr.createElement(Ce.default.Item,Fi(ci({},Va),{name:[tr,"answer_text"],noStyle:!0}),Hr.createElement(hi,null))),(xe==null?void 0:xe.getFieldValue(["sub_item_banks",...dt]))&&Hr.createElement(Bt.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},Hr.createElement(Ce.default.Item,Fi(ci({},Va),{name:[tr,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:er.blankInputNumberWrapper}),Hr.createElement(Ze.Z,{onChange:()=>{var Rr,jr;let Er=xe==null?void 0:xe.getFieldValue(["sub_item_banks",Ut==null?void 0:Ut[0],"standard_answers"]),io=0;for(let Gr in Er)(Rr=Er[Gr])!=null&&Rr.score&&(io+=Number((jr=Er[Gr])==null?void 0:jr.score));xe==null||xe.setFieldValue(["sub_item_banks",Ut==null?void 0:Ut[0],"question_score"],io)},className:er.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),Hr.createElement(Ce.default.Item,Fi(ci({},Va),{name:[tr,"position"],noStyle:!0}),Hr.createElement(se.default,{type:"hidden"}))))})))),Hr.createElement(mt.Z,{align:"middle"},Hr.createElement(Ce.default.Item,{name:[be,"downcase"],valuePropName:"checked"},Hr.createElement(oa.Z,null)),Hr.createElement(Bt.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Hr.createElement(mt.Z,{align:"middle"},Hr.createElement(Ce.default.Item,{name:[be,"no_space"],valuePropName:"checked"},Hr.createElement(oa.Z,null)),Hr.createElement(Bt.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Ua==null?void 0:Ua.length)>1&&Hr.createElement(mt.Z,{align:"middle",className:(Ua==null?void 0:Ua.length)>1?"mb30":`${er.hide}`},Hr.createElement(Ce.default.Item,{name:$t},Hr.createElement(Wt,null)),Hr.createElement(Bt.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")),Hr.createElement("div",{onClick:()=>xt(!0)},Hr.createElement(Ce.default.Item,{name:On,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Hr.createElement(Ya,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:yn}))))};var xa=Object.defineProperty,Ka=Object.defineProperties,Cr=Object.getOwnPropertyDescriptors,po=Object.getOwnPropertySymbols,Lo=Object.prototype.hasOwnProperty,rr=Object.prototype.propertyIsEnumerable,zo=(fe,xe,be)=>xe in fe?xa(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,ai=(fe,xe)=>{for(var be in xe||(xe={}))Lo.call(xe,be)&&zo(fe,be,xe[be]);if(po)for(var be of po(xe))rr.call(xe,be)&&zo(fe,be,xe[be]);return fe},ii=(fe,xe)=>Ka(fe,Cr(xe)),oo=(fe,xe)=>{var be={};for(var dt in fe)Lo.call(fe,dt)&&xe.indexOf(dt)<0&&(be[dt]=fe[dt]);if(fe!=null&&po)for(var dt of po(fe))xe.indexOf(dt)<0&&rr.call(fe,dt)&&(be[dt]=fe[dt]);return be};const tn={\u6B63\u786E:"T",\u9519\u8BEF:"F"},gn=({value:fe,onChange:xe,form:be,choiceKey:dt})=>{const Ut=(fe==null?void 0:fe.is_answer)===1,Cn=fe==null?void 0:fe.choice_text,On=()=>{var $t;const Mt=($t=be==null?void 0:be.getFieldValue(["sub_item_banks",...dt]))==null?void 0:$t.map(Gt=>({choice_text:Gt.choice_text,is_answer:0}));be==null||be.setFieldValue(["sub_item_banks",...dt],Mt),xe(ii(ai({},fe),{is_answer:1}))};return x.createElement(mt.Z,{className:er.choiceWrap,align:"middle",wrap:!1},x.createElement(Bt.Z,{onClick:On,className:`${er.choiceIndex} ${er.judgementIndex} ${Ut?er.activeAnswer:""}`},tn[Cn]),x.createElement(Bt.Z,{flex:1,className:`${er.editorWrap} ml15`},x.createElement("div",{className:`${er.inputBorder} ${er.placeholder} ${Ut?er.activeJudgementAnswer:""}`},Cn)),x.createElement(Bt.Z,{flex:"0 0 auto",className:"ml15"},x.createElement("div",{onClick:On,className:`${er.setAnswerBtn} ${Ut?er.activeAnswer:""}`},Ut?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Un=({questionTitlePlaceholder:fe,choiceKey:xe="choices",form:be,titleKey:dt="name",analysisKey:Ut="analysis"})=>{const[Cn,On]=(0,x.useState)(!1);return x.createElement("div",{className:er.wrap},x.createElement("div",{className:er.questionTitleEditorWrap},x.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:dt,labelCol:{span:24},rules:[{required:!0}]},x.createElement(la,{scrollId:"name",watch:!0,height:140,placeholder:fe}))),x.createElement(Ce.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},x.createElement(Ce.default.List,{name:xe,rules:[{validator($t,Mt){return Mt.some(yn=>(yn==null?void 0:yn.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},$t=>x.createElement("div",{id:"choices"},$t.map(Mt=>{var Gt=Mt,{key:yn,name:xt}=Gt,Xt=oo(Gt,["key","name"]);return x.createElement(Ce.default.Item,ii(ai({},Xt),{key:yn,name:xt,noStyle:!0}),x.createElement(gn,{form:be,choiceKey:xe}))})))),x.createElement("div",{onClick:()=>On(!0)},x.createElement(Ce.default.Item,{name:Ut,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(Ya,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Cn}))))};var qe=z(66309),Qn=Object.defineProperty,Ma=Object.defineProperties,Ta=Object.getOwnPropertyDescriptors,En=Object.getOwnPropertySymbols,Mn=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,ka=(fe,xe,be)=>xe in fe?Qn(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,xr=(fe,xe)=>{for(var be in xe||(xe={}))Mn.call(xe,be)&&ka(fe,be,xe[be]);if(En)for(var be of En(xe))Rn.call(xe,be)&&ka(fe,be,xe[be]);return fe},Or=(fe,xe)=>Ma(fe,Ta(xe)),Kr=(fe,xe)=>{var be={};for(var dt in fe)Mn.call(fe,dt)&&xe.indexOf(dt)<0&&(be[dt]=fe[dt]);if(fe!=null&&En)for(var dt of En(fe))xe.indexOf(dt)<0&&Rn.call(fe,dt)&&(be[dt]=fe[dt]);return be};const uo=fe=>{var xe=fe,{value:be,onChange:dt}=xe,Ut=Kr(xe,["value","onChange"]);const Cn=On=>{dt([On])};return x.createElement(kt.Z,Or(xr({},Ut),{defaultValue:be==null?void 0:be[0],onChange:Cn}))},yr=fe=>{if(!fe)return!1;if(/^s*$/.test(fe)||fe.trim()===""){ye.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let xe=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 fe==="|"?(ye.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ha=({value:fe=[],onClose:xe})=>x.createElement(qe.default,{closable:!0,onClose:xe,className:er.keywordTag},x.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},fe.join(" \u6216 "))),Hn=({questionTitlePlaceholder:fe,form:xe,showKeywords:be,isMustKeyWords:dt=be,titleKey:Ut="name",analysisKey:Cn="analysis",answerTexts:On="answer_texts",keywords:$t="keywords",useKeywords:Mt="use_keywords",indexs:Gt})=>{var yn,xt,Xt,qn;const[ea,Ln]=(0,x.useState)(!1),[ra,rn]=(0,x.useState)(""),sa=(xt=(yn=xe.getFieldValue("sub_item_banks"))==null?void 0:yn[Mt==null?void 0:Mt[0]])==null?void 0:xt[Mt==null?void 0:Mt[1]],Ua=(qn=(Xt=xe.getFieldValue("sub_item_banks"))==null?void 0:Xt[Mt==null?void 0:Mt[0]])==null?void 0:qn.question_score;return x.createElement("div",{className:er.wrap},x.createElement("div",{className:er.questionTitleEditorWrap},x.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:Ut,labelCol:{span:24},rules:[{required:!0}]},x.createElement(la,{scrollId:"name",watch:!0,height:140,placeholder:fe}))),x.createElement(Ce.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:On,labelCol:{span:24}},x.createElement(uo,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),be&&!dt&&x.createElement(Ce.default.Item,{hidden:!0,name:Mt,valuePropName:"checked"},x.createElement(oa.Z,{defaultChecked:!0})),be&&dt&&x.createElement(mt.Z,{align:"middle",className:"mb30"},x.createElement(Ce.default.Item,{name:Mt,valuePropName:"checked"},x.createElement(oa.Z,null)),x.createElement(Bt.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),x.createElement(Bt.Z,null,x.createElement(te.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(Sn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(sa||!dt)&&x.createElement(Ce.default.List,{name:$t,rules:[{validator(Fn,xn){return dt?xn!=null&&xn.length?(xn==null?void 0:xn.reduce((Mr,qr)=>Mr+qr.score,0))>parseFloat(Ua)?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()}}]},(Fn,{add:xn,remove:wr})=>x.createElement(x.Fragment,null,x.createElement("div",{className:`${er.title} mb10`},dt?"\u5173\u952E\u8BCD":x.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),x.createElement(mt.Z,{align:"middle",className:"font14 mb30"},x.createElement(Bt.Z,{flex:1},x.createElement(se.default,{value:ra,onChange:Mr=>{rn(Mr.target.value)},maxLength:50,allowClear:!0,onPressEnter:Mr=>{var qr,Br,eo,Ra;const tr=`${(qr=Mr.target)==null?void 0:qr.value}`,Va=(eo=(Br=tr==null?void 0:tr.split("|"))==null?void 0:Br.filter(Er=>!!Er))==null?void 0:eo.map(Er=>Er.trim()),Rr=xe.getFieldValue(["sub_item_banks",...$t]),jr=((Ra=Rr==null?void 0:Rr.map(Er=>Er==null?void 0:Er.keyword))==null?void 0:Ra.flat())||[];for(const Er of Va)if(jr.includes(Er)){ye.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}yr(tr)&&(xn({keyword:Va,score:1}),rn(""))},className:er.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(Bt.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Fn.map(Mr=>{var qr=Mr,{key:Br,name:eo}=qr,Ra=Kr(qr,["key","name"]);return x.createElement(mt.Z,{key:Br,className:"mb20",style:{marginRight:148}},x.createElement(Bt.Z,{flex:1},x.createElement(mt.Z,{align:"middle",justify:"space-between"},x.createElement(Ce.default.Item,Or(xr({},Ra),{name:[eo,"keyword"]}),x.createElement(Ha,{onClose:()=>wr(eo)})),dt&&x.createElement(Ce.default.Item,Or(xr({},Ra),{name:[eo,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:er.blankInputNumberWrapper}),x.createElement(Ze.Z,{className:er.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),x.createElement("div",{onClick:()=>Ln(!0)},x.createElement(Ce.default.Item,{name:Cn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(Ya,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ea}))))};var Tn=z(67294),Oa=Object.defineProperty,Lr=Object.defineProperties,we=Object.getOwnPropertyDescriptors,an=Object.getOwnPropertySymbols,wn=Object.prototype.hasOwnProperty,Wn=Object.prototype.propertyIsEnumerable,Ct=(fe,xe,be)=>xe in fe?Oa(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,jn=(fe,xe)=>{for(var be in xe||(xe={}))wn.call(xe,be)&&Ct(fe,be,xe[be]);if(an)for(var be of an(xe))Wn.call(xe,be)&&Ct(fe,be,xe[be]);return fe},Gn=(fe,xe)=>Lr(fe,we(xe)),In=(fe,xe)=>{var be={};for(var dt in fe)wn.call(fe,dt)&&xe.indexOf(dt)<0&&(be[dt]=fe[dt]);if(fe!=null&&an)for(var dt of an(fe))xe.indexOf(dt)<0&&Wn.call(fe,dt)&&(be[dt]=fe[dt]);return be};const{Panel:Jn}=Ar.default,sr=({questionTitlePlaceholder:fe,choiceKey:xe,form:be,withScore:dt})=>{const Ut=[{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"}],[Cn,On]=(0,x.useState)(),[$t,Mt]=(0,x.useState)([]),Gt=xt=>{Mt(xt)},yn=({value:xt})=>Tn.createElement("div",{style:{width:150,paddingLeft:11}},xt);return Tn.createElement("div",{className:er.wrap},Tn.createElement("div",{className:er.questionTitleEditorWrap},Tn.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},Tn.createElement(la,{scrollId:"name",watch:!0,height:140,placeholder:fe}))),Tn.createElement(Ce.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),Tn.createElement(Ce.default.List,{name:"sub_item_banks",rules:[{validator(xt,Xt){return Xt?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(xt,{add:Xt,remove:qn,move:ea})=>{const Ln=be.getFieldValue("sub_item_banks");return Tn.createElement(Tn.Fragment,null,Tn.createElement(Ar.default,{className:xt.length>0?er.collapseWrapper:"",bordered:!1,activeKey:$t,onChange:Gt,expandIcon:({isActive:ra})=>Tn.createElement("i",{className:`iconfont icon-weizhankai ${ra?er.open:er.close}`,style:{fontSize:14,transition:"all .2s"}})},xt.map((ra,rn)=>{var sa=ra,{key:Ua,name:Fn}=sa,xn=In(sa,["key","name"]),wr,Mr,qr,Br,eo,Ra,tr,Va,Rr,jr,Er,io,Gr,Ur;return Tn.createElement(Jn,{className:er.panel,forceRender:!0,header:Tn.createElement("div",{className:er.panelHeader},"\u7B2C",rn+1,"\u5C0F\u9898",Tn.createElement("span",null,"\uFF08",((wr=Ln==null?void 0:Ln[Fn])==null?void 0:wr.question_type)==0?"\u5355\u9009\u9898":((Mr=Ln==null?void 0:Ln[Fn])==null?void 0:Mr.question_type)==1?"\u591A\u9009\u9898":((qr=Ln==null?void 0:Ln[Fn])==null?void 0:qr.question_type)==3?"\u586B\u7A7A\u9898":((Br=Ln==null?void 0:Ln[Fn])==null?void 0:Br.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:Fn,extra:Tn.createElement(mt.Z,{align:"middle",onClick:So=>So.stopPropagation()},((eo=Ln==null?void 0:Ln[Fn])==null?void 0:eo.question_type)==3&&Tn.createElement(Tn.Fragment,null,Tn.createElement(ze.ZP.Group,{defaultValue:(Ra=Ln==null?void 0:Ln[Fn])==null?void 0:Ra.use_blank_score,className:oe.scoreByBlankRadio,style:{marginRight:20},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:So=>{var Ro,jo,Mo,li,oi;if(be==null||be.setFieldValue(["sub_item_banks",Fn,"use_blank_score"],(Ro=So==null?void 0:So.target)==null?void 0:Ro.value),(jo=So==null?void 0:So.target)!=null&&jo.value){let Xo=0;for(let Yo in(Mo=be==null?void 0:be.getFieldValue(["sub_item_banks",Fn]))==null?void 0:Mo.standard_answers)Xo+=Number((oi=(li=be==null?void 0:be.getFieldValue(["sub_item_banks",Fn]))==null?void 0:li.standard_answers[Yo])==null?void 0:oi.score);be==null||be.setFieldValue(["sub_item_banks",Fn,"question_score"],Xo||"")}On(new Date)}}),Tn.createElement(te.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"}))),dt&&Tn.createElement(Ce.default.Item,Gn(jn({},xn),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[Fn,"question_score"],className:er.blankInputNumberWrapper}),((tr=Ln==null?void 0:Ln[Fn])==null?void 0:tr.question_type)==3&&((Va=Ln==null?void 0:Ln[Fn])!=null&&Va.use_blank_score)?Tn.createElement(yn,null):Tn.createElement(Ze.Z,{className:er.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),Tn.createElement(mt.Z,{align:"middle",className:"pl40",style:{width:82}},rn!==0&&Tn.createElement("div",{onClick:()=>{var So;ea(rn,rn-1);const Ro=(So=be.getFieldValue("sub_item_banks"))==null?void 0:So.map((jo,Mo)=>(xt.map((li,oi)=>{Mo===oi&&(jo.q_position=Number(li.name)+1)}),jo));be.setFieldValue("sub_item_banks",Ro)}},Tn.createElement(te.Z,{title:"\u4E0A\u79FB"},Tn.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),rn<xt.length-1&&Tn.createElement("div",{onClick:()=>{var So;ea(rn,rn+1);const Ro=(So=be.getFieldValue("sub_item_banks"))==null?void 0:So.map((jo,Mo)=>(xt.map((li,oi)=>{Mo===oi&&(jo.q_position=Number(li.name)+1)}),jo));be.setFieldValue("sub_item_banks",Ro)},className:rn===0?"":"ml10"},Tn.createElement(te.Z,{title:"\u4E0B\u79FB"},Tn.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),Tn.createElement(te.Z,{title:"\u5220\u9664"},Tn.createElement(Wa.Z,{className:`${er.deleteIcon} ml40`,onClick:()=>qn(Fn)})))},Tn.createElement(Ce.default.Item,Gn(jn({},xn),{name:Fn}),(((Rr=Ln==null?void 0:Ln[Fn])==null?void 0:Rr.question_type)==0||((jr=Ln==null?void 0:Ln[Fn])==null?void 0:jr.question_type)==1)&&Tn.createElement(yi,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((Er=Ln==null?void 0:Ln[Fn])==null?void 0:Er.question_type)==1,form:be,choiceKey:[Fn,"choices"],titleKey:[Fn,"name"],analysisKey:[Fn,"analysis"],choiceOptionsPath:["sub_item_banks",Fn,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((io=Ln==null?void 0:Ln[Fn])==null?void 0:io.question_type)==3&&Tn.createElement(aa,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",name:Fn,scoreByBlank:[Fn,"use_blank_score"],titleKey:[Fn,"name"],analysisKey:[Fn,"analysis"],isOrdered:[Fn,"is_ordered"],answerKey:[Fn,"standard_answers"],key:Cn}),((Gr=Ln==null?void 0:Ln[Fn])==null?void 0:Gr.question_type)==2&&Tn.createElement(Un,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[Fn,"name"],analysisKey:[Fn,"analysis"],choiceKey:[Fn,"choices"]}),((Ur=Ln==null?void 0:Ln[Fn])==null?void 0:Ur.question_type)==4&&Tn.createElement(Hn,{showKeywords:!0,isMustKeyWords:!0,form:be,titleKey:[Fn,"name"],analysisKey:[Fn,"analysis"],answerTexts:[Fn,"answer_texts"],useKeywords:[Fn,"use_keywords"],keywords:[Fn,"keywords"],indexs:Fn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9",key:Cn})))})),xt.length<20&&Tn.createElement(ee.Z,{menu:{items:[{label:Tn.createElement("div",{onClick:()=>{Xt({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),Mt([xt==null?void 0:xt.length,...$t])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:Tn.createElement("div",{onClick:()=>{Xt({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),Mt([xt==null?void 0:xt.length,...$t])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:Tn.createElement("div",{onClick:()=>{Xt({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",question_type:2,item_type:"JUDGMENT"}),Mt([xt==null?void 0:xt.length,...$t])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:Tn.createElement("div",{onClick:()=>{Xt({name:"",analysis:"",is_ordered:!0,standard_answers:[],question_type:3,item_type:"COMPLETION",use_blank_score:!0,downcase:!0,no_space:!0}),Mt([xt==null?void 0:xt.length,...$t])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:Tn.createElement("div",{onClick:()=>{Xt({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),Mt([xt==null?void 0:xt.length,...$t])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(ra=>ra.show).map(ra=>({label:ra.label,key:ra.key}))}},Tn.createElement("div",{className:`${er.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var hr=z(67294),Qr=Object.defineProperty,Fr=Object.defineProperties,_o=Object.getOwnPropertyDescriptors,Ho=Object.getOwnPropertySymbols,zi=Object.prototype.hasOwnProperty,Gi=Object.prototype.propertyIsEnumerable,sl=(fe,xe,be)=>xe in fe?Qr(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,Oi=(fe,xe)=>{for(var be in xe||(xe={}))zi.call(xe,be)&&sl(fe,be,xe[be]);if(Ho)for(var be of Ho(xe))Gi.call(xe,be)&&sl(fe,be,xe[be]);return fe},Zi=(fe,xe)=>Fr(fe,_o(xe)),El=(fe,xe,be)=>new Promise((dt,Ut)=>{var Cn=Mt=>{try{$t(be.next(Mt))}catch(Gt){Ut(Gt)}},On=Mt=>{try{$t(be.throw(Mt))}catch(Gt){Ut(Gt)}},$t=Mt=>Mt.done?dt(Mt.value):Promise.resolve(Mt.value).then(Cn,On);$t((be=be.apply(fe,xe)).next())}),Mi=({qitem:fe,setisedit:xe,TagDiscipline:be,exerciseitem:dt,seveeditor:Ut,deleteitem:Cn,getTagData:On,init:$t,showTip:Mt=!1})=>{const[Gt]=Ce.default.useForm();(0,x.useEffect)(()=>{var xt;Gt.setFieldsValue(Zi(Oi({},fe),{name:fe.question_title,sub_item_banks:(xt=fe.sub_exercise_questions)==null?void 0:xt.map(Xt=>{var qn;return Zi(Oi({},Xt),{name:Xt.question_title,choices:(qn=Xt==null?void 0:Xt.question_choices)==null?void 0:qn.map(ea=>Zi(Oi({},ea),{is_answer:ea!=null&&ea.standard_boolean?1:0}))})}),repeat_answer:!fe.repeat_answer}))},[fe]);const yn=xt=>{if(!(xt!=null&&xt.length))return!1;const Xt=xt.map(ea=>{var Ln;return(Ln=ea.choice_text)==null?void 0:Ln.trim().replace(/^\s+|\s+$/g,"")});return new Set(Xt).size!==Xt.length};return hr.createElement("div",null,hr.createElement(Ce.default,{form:Gt,colon:!1,onValuesChange:(xt,Xt)=>{var qn,ea,Ln;if(xt!=null&&xt.sub_item_banks){let ra=((qn=Gt.getFieldValue("sub_item_banks"))==null?void 0:qn.length)>0&&((Ln=(ea=Gt.getFieldValue("sub_item_banks"))==null?void 0:ea.map(rn=>{var sa;if(rn.question_type==3&&(rn!=null&&rn.use_blank_score)){let Ua=0;for(let Fn in rn==null?void 0:rn.standard_answers)Ua+=Number((sa=rn==null?void 0:rn.standard_answers[Fn])==null?void 0:sa.score);return Ua}else return rn.question_score}))==null?void 0:Ln.filter(rn=>rn));(ra==null?void 0:ra.length)>0&&Gt.setFieldsValue({question_score:parseFloat(ra==null?void 0:ra.reduce((rn,sa)=>parseFloat(rn)+parseFloat(sa))).toFixed(1)})}},onFinish:xt=>{var Xt,qn;if((Xt=xt.sub_item_banks)==null?void 0:Xt.some(Ln=>Ln.question_type===0||Ln.question_type===1?yn(Ln.choices):!1)){ye.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}Ut(Zi(Oi(Oi({},fe),xt),{sub_item_banks:(qn=xt==null?void 0:xt.sub_item_banks)==null?void 0:qn.map(Ln=>(console.log(Ln),Zi(Oi({},Ln),{item_type:Ln==null?void 0:Ln.question_type,id:(Ln==null?void 0:Ln.question_id)||""})))}))},onFinishFailed:xt=>El(void 0,null,function*(){var Xt,qn;ye.ZP.error(xt.errorFields[0].errors[0]),Gt.scrollToField((qn=(Xt=xt==null?void 0:xt.errorFields)==null?void 0:Xt[0])==null?void 0:qn.name,{behavior:"smooth",block:"center"})})},hr.createElement("div",{style:{display:"flex",alignItems:"center"}},hr.createElement("div",{style:{flex:1}},hr.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),hr.createElement("span",null,"\u7EC4\u5408\u9898")),!fe.isadd&&hr.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Cn()}},hr.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),hr.createElement(de.ZP,{onClick:()=>{var xt;fe.isadd?(xe(!1),$t()):(Gt.setFieldsValue(Zi(Oi({},fe),{name:fe==null?void 0:fe.question_title,choices:(xt=fe==null?void 0:fe.question_choices)==null?void 0:xt.map(Xt=>Zi(Oi({},Xt),{standard_boolean:Xt!=null&&Xt.standard_boolean?1:0})),repeat_answer:!(fe!=null&&fe.repeat_answer)})),xe(!1))}},"\u53D6\u6D88"),hr.createElement(te.Z,{overlayClassName:oe.shake,open:Mt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:hr.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},hr.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")},hr.createElement(de.ZP,{className:"ml20",type:"primary",onClick:()=>{Gt.submit()}},"\u4FDD\u5B58"))),hr.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},hr.createElement(Pa.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),hr.createElement(sr,{form:Gt,withScore:!0,choiceKey:"",questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),hr.createElement(ln,{getTagData:On,qitem:fe,exerciseitem:dt,TagDiscipline:be,form:Gt}))))},Qi=z(15312),Xi=z(19575),Ki=z(67294),ul=Object.defineProperty,Tl=Object.defineProperties,wl=Object.getOwnPropertyDescriptors,kl=Object.getOwnPropertySymbols,Dl=Object.prototype.hasOwnProperty,Vl=Object.prototype.propertyIsEnumerable,Ai=(fe,xe,be)=>xe in fe?ul(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,ki=(fe,xe)=>{for(var be in xe||(xe={}))Dl.call(xe,be)&&Ai(fe,be,xe[be]);if(kl)for(var be of kl(xe))Vl.call(xe,be)&&Ai(fe,be,xe[be]);return fe},Yi=(fe,xe)=>Tl(fe,wl(xe)),$l=(fe,xe,be)=>new Promise((dt,Ut)=>{var Cn=Mt=>{try{$t(be.next(Mt))}catch(Gt){Ut(Gt)}},On=Mt=>{try{$t(be.throw(Mt))}catch(Gt){Ut(Gt)}},$t=Mt=>Mt.done?dt(Mt.value):Promise.resolve(Mt.value).then(Cn,On);$t((be=be.apply(fe,xe)).next())}),Hi=({qitem:fe,TagDiscipline:xe,exerciseitem:be,setisedit:dt,seveeditor:Ut,deleteitem:Cn,getTagData:On,init:$t,showTip:Mt=!1})=>{const[Gt]=Ce.default.useForm(),yn=!0;return(0,x.useEffect)(()=>{var xt,Xt,qn;Gt.setFieldsValue(Yi(ki({},fe),{standard_answers:fe.standard_answer,difficulty:fe.difficulty,item_banks_group_id:fe.item_banks_group_id,hack:Yi(ki({},fe),{time_limit:(fe==null?void 0:fe.time_limit)||3}),hack_codes:{language:(xt=fe==null?void 0:fe.program_attr)==null?void 0:xt.language,code:Xi.Base64.decode(((Xt=fe==null?void 0:fe.program_attr)==null?void 0:Xt.code)||"")},hack_sets:ki({},(qn=fe==null?void 0:fe.hack_sets)==null?void 0:qn[0]),repeat_answer:!fe.repeat_answer}))},[fe]),Ki.createElement("div",null,Ki.createElement(Ce.default,{form:Gt,colon:!1,onValuesChange:(xt,Xt)=>{var qn,ea,Ln,ra;if(xt!=null&&xt.standard_answers){let rn=((qn=Gt.getFieldValue("standard_answers"))==null?void 0:qn.length)>0&&((Ln=(ea=Gt.getFieldValue("standard_answers"))==null?void 0:ea.map(sa=>sa.score))==null?void 0:Ln.filter(sa=>sa));(rn==null?void 0:rn.length)>0&&Gt.setFieldsValue({question_score:(rn==null?void 0:rn.length)>0&&((ra=rn.reduce((sa,Ua)=>sa+Ua))==null?void 0:ra.toFixed(1))})}},onFinish:xt=>{var Xt;Ut(Yi(ki(ki({},fe),xt),{item_type:fe==null?void 0:fe.question_type,standard_answers:(Xt=xt.standard_answers)==null?void 0:Xt.map((qn,ea)=>Yi(ki({},qn),{position:ea+1})),standard_answer:void 0}))},onFinishFailed:xt=>$l(void 0,null,function*(){var Xt,qn;ye.ZP.error(xt.errorFields[0].errors[0]),Gt.scrollToField((qn=(Xt=xt==null?void 0:xt.errorFields)==null?void 0:Xt[0])==null?void 0:qn.name,{behavior:"smooth",block:"center"})})},Ki.createElement("div",{style:{display:"flex",alignItems:"center"}},Ki.createElement("div",{style:{flex:1}},Ki.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ki.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),!fe.isadd&&Ki.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Cn()}},Ki.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),Ki.createElement(de.ZP,{onClick:()=>{var xt,Xt,qn;fe.isadd?(dt(!1),$t()):(Gt.setFieldsValue(Yi(ki({},fe),{standard_answers:fe.standard_answer,difficulty:fe.difficult,item_banks_group_id:fe.item_banks_group_id,hack:ki({},fe),hack_codes:{language:(xt=fe==null?void 0:fe.program_attr)==null?void 0:xt.language,code:Xi.Base64.decode((Xt=fe==null?void 0:fe.program_attr)==null?void 0:Xt.code)},hack_sets:ki({},(qn=fe==null?void 0:fe.hack_sets)==null?void 0:qn[0]),repeat_answer:!fe.repeat_answer})),dt(!1))}},"\u53D6\u6D88"),Ki.createElement(te.Z,{overlayClassName:oe.shake,open:Mt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ki.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ki.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")},Ki.createElement(de.ZP,{className:"ml20",type:"primary",onClick:()=>{Gt.submit()}},"\u4FDD\u5B58"))),Ki.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Ki.createElement(Pa.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),Ki.createElement(Qi.t,{form:Gt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:yn,hackidentifier:fe==null?void 0:fe.hack_identifier,answerKey:"standard_answers"}),Ki.createElement(ln,{getTagData:On,qitem:fe,exerciseitem:be,TagDiscipline:xe,form:Gt}))))},Li=z(67294),Nl=Object.defineProperty,ti=Object.defineProperties,gl=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,cl=Object.prototype.propertyIsEnumerable,Jl=(fe,xe,be)=>xe in fe?Nl(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,Al=(fe,xe)=>{for(var be in xe||(xe={}))Ql.call(xe,be)&&Jl(fe,be,xe[be]);if(Il)for(var be of Il(xe))cl.call(xe,be)&&Jl(fe,be,xe[be]);return fe},vl=(fe,xe)=>ti(fe,gl(xe)),ps=(fe,xe,be)=>new Promise((dt,Ut)=>{var Cn=Mt=>{try{$t(be.next(Mt))}catch(Gt){Ut(Gt)}},On=Mt=>{try{$t(be.throw(Mt))}catch(Gt){Ut(Gt)}},$t=Mt=>Mt.done?dt(Mt.value):Promise.resolve(Mt.value).then(Cn,On);$t((be=be.apply(fe,xe)).next())}),Ds=({qitem:fe,setqitem:xe,setisedit:be,TagDiscipline:dt,exerciseitem:Ut,seveeditor:Cn,deleteitem:On,showTip:$t=!1})=>{var Mt;const[Gt]=Ce.default.useForm();return(0,x.useEffect)(()=>{var yn,xt;Gt.setFieldsValue(vl(Al({},fe),{name:fe==null?void 0:fe.question_title,choices:(yn=fe==null?void 0:fe.question_choices)==null?void 0:yn.map(Xt=>vl(Al({},Xt),{standard_boolean:Xt!=null&&Xt.standard_boolean?1:0})),repeat_answer:!(fe!=null&&fe.repeat_answer)})),fe.shixun=(xt=fe==null?void 0:fe.shixun)==null?void 0:xt.map(Xt=>vl(Al({},Xt),{defaultscore:Xt.challenge_score}))},[]),Li.createElement("div",null,Li.createElement(Ce.default,{form:Gt,colon:!1,onFinish:yn=>{var xt,Xt;let qn=vl(Al({},yn),{question_scores:(xt=fe==null?void 0:fe.shixun)==null?void 0:xt.map(ea=>ea.challenge_score),item_type:fe==null?void 0:fe.question_type,choices:(Xt=yn==null?void 0:yn.choices)==null?void 0:Xt.map(ea=>vl(Al({},ea),{is_answer:ea.standard_boolean}))});Cn(Al(Al({},fe),qn))},onFinishFailed:yn=>ps(void 0,null,function*(){var xt,Xt;ye.ZP.error(yn.errorFields[0].errors[0]),Gt.scrollToField((Xt=(xt=yn==null?void 0:yn.errorFields)==null?void 0:xt[0])==null?void 0:Xt.name,{behavior:"smooth",block:"center"})})},Li.createElement("div",{style:{display:"flex",alignItems:"center"}},Li.createElement("div",{style:{flex:1}},Li.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Li.createElement("span",null,"\u5B9E\u8BAD\u9898")),Li.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{On()}},Li.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Li.createElement(de.ZP,{onClick:()=>{var yn,xt;Gt.setFieldsValue(vl(Al({},fe),{name:fe==null?void 0:fe.question_title,choices:(yn=fe==null?void 0:fe.question_choices)==null?void 0:yn.map(Xt=>vl(Al({},Xt),{standard_boolean:Xt!=null&&Xt.standard_boolean?1:0})),repeat_answer:!(fe!=null&&fe.repeat_answer)})),fe.shixun=(xt=fe==null?void 0:fe.shixun)==null?void 0:xt.map(Xt=>vl(Al({},Xt),{challenge_score:Xt.defaultscore})),xe(Al({},fe)),be(!1)}},"\u53D6\u6D88"),Li.createElement(te.Z,{overlayClassName:oe.shake,open:$t,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Li.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Li.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")},Li.createElement(de.ZP,{className:"ml20",type:"primary",onClick:()=>ps(void 0,null,function*(){var yn,xt,Xt;if(((xt=(yn=fe==null?void 0:fe.shixun)==null?void 0:yn.map)==null?void 0:xt.call(yn,qn=>qn.challenge_score).filter(qn=>qn).length)<((Xt=fe==null?void 0:fe.shixun)==null?void 0:Xt.length)){ye.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}Gt.submit()})},"\u4FDD\u5B58"))),Li.createElement(Pa.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Li.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Li.createElement(kt.Z,{watch:!0,height:140,placeholder:"",defaultValue:fe.question_title}))),Li.createElement(mt.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Li.createElement("div",null,Li.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Li.createElement("a",{href:`/shixuns/${fe==null?void 0:fe.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Li.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(Mt=fe==null?void 0:fe.shixun)==null?void 0:Mt.map((yn,xt)=>Li.createElement("div",{key:yn.challenge_id,style:{display:"flex",marginBottom:20}},Li.createElement("div",{style:{flex:1}},xt+1,"\u3001",yn.challenge_name),Li.createElement("div",null,Li.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Li.createElement(Ze.Z,{precision:1,value:yn==null?void 0:yn.challenge_score,onChange:Xt=>{const qn=JSON.parse(JSON.stringify((fe==null?void 0:fe.shixun)||[]));qn[xt].challenge_score=Xt;const ea=qn.every(ra=>!ra.challenge_score),Ln=parseFloat(qn==null?void 0:qn.map(ra=>ra.challenge_score).reduce((ra,rn)=>parseFloat(ra||0)+parseFloat(rn||0)));Gt.setFieldsValue({question_score:ea?"":Ln.toFixed(1)}),xe(vl(Al({},fe),{shixun:qn}))},max:200,min:1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},ho={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"},Ul=z(9430),ts=z(35713),br=z(67294);const os=["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"],Ns=[{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 Hs=({qitem:fe,newExercisePaper:xe})=>{var be,dt,Ut,Cn,On,$t,Mt,Gt,yn,xt,Xt,qn,ea,Ln,ra,rn,sa,Ua,Fn,xn,wr,Mr,qr,Br,eo;return br.createElement("div",{className:ho.warp},((fe==null?void 0:fe.question_type)===0||(fe==null?void 0:fe.question_type)===2)&&br.createElement("div",{className:ho.normalWrap},(be=fe==null?void 0:fe.question_choices)==null?void 0:be.map((Ra,tr)=>br.createElement("div",{className:ho.redio,key:tr},!(Ra!=null&&Ra.standard_boolean)&&br.createElement("span",{className:ho.redioitem}),(Ra==null?void 0:Ra.standard_boolean)&&br.createElement("i",{className:`${ho.redioitemyes} icon-duigou1`}),br.createElement("span",{className:`${Ra!=null&&Ra.standard_boolean?ho.titleyes:ho.title} ${ho.indexTag}`},(fe==null?void 0:fe.question_type)===0?os[tr]:""),br.createElement(Oe.Z,{className:Ra!=null&&Ra.standard_boolean?ho.titleyes:ho.title,value:Ra==null?void 0:Ra.choice_text}),(Ra==null?void 0:Ra.standard_boolean)&&br.createElement("div",{className:ho.yestag},"\u6B63\u786E\u7B54\u6848")))),(fe==null?void 0:fe.question_type)===1&&br.createElement("div",{className:ho.normalWrap},(dt=fe==null?void 0:fe.question_choices)==null?void 0:dt.map((Ra,tr)=>br.createElement("div",{className:ho.checkbox,key:tr},!(Ra!=null&&Ra.standard_boolean)&&br.createElement("span",{className:ho.checkboxitem}),(Ra==null?void 0:Ra.standard_boolean)&&br.createElement("i",{className:`${ho.checkboxitemyes} icon-duigou1`}),br.createElement("span",{className:`${Ra!=null&&Ra.standard_boolean?ho.titleyes:ho.title} ${ho.indexTag}`},os[tr]),br.createElement(Oe.Z,{className:Ra!=null&&Ra.standard_boolean?ho.titleyes:ho.title,value:Ra==null?void 0:Ra.choice_text}),(Ra==null?void 0:Ra.standard_boolean)&&br.createElement("div",{className:ho.yestag},"\u6B63\u786E\u7B54\u6848")))),(fe==null?void 0:fe.question_type)===3&&br.createElement("div",{className:ho.completion},(Ut=fe==null?void 0:fe.standard_answers)==null?void 0:Ut.map((Ra,tr)=>{var Va;return br.createElement(mt.Z,{align:"top"},br.createElement("span",{className:ho.title},"\u586B\u7A7A\u9879",tr+1),br.createElement("div",{className:ho.content},(Va=Ra.answer_text)==null?void 0:Va.map((Rr,jr)=>br.createElement("div",{key:jr,className:ho.items,style:(Ra==null?void 0:Ra.model)===2?{border:0,padding:0}:{}},(Ra==null?void 0:Ra.model)===1?br.createElement("pre",{className:"mb0"},Rr):br.createElement(ts.Z,{value:Rr,disabled:!0})))))})),(fe==null?void 0:fe.question_type)===4&&br.createElement("div",{className:ho.simple},br.createElement("div",{className:ho.title},"\u53C2\u8003\u7B54\u6848"),br.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Cn=fe==null?void 0:fe.answer_texts)!=null&&Cn[0]?br.createElement(Oe.Z,{className:ho.content,value:(On=fe==null?void 0:fe.answer_texts)==null?void 0:On[0]}):br.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),br.createElement("div",{className:"mt20 "},br.createElement("span",{className:ho.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),br.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},fe!=null&&fe.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(fe==null?void 0:fe.question_type)===5&&br.createElement("div",{className:ho.shixunWrapper},($t=fe==null?void 0:fe.shixun)==null?void 0:$t.map((Ra,tr)=>{var Va,Rr;return br.createElement("div",null,br.createElement("div",{key:tr,className:`${ho.shixun} mb30`},br.createElement("span",{className:ho.score},"\uFF08",Ra==null?void 0:Ra.challenge_score,"\u5206\uFF09"),br.createElement("span",{className:ho.qtitle},(fe==null?void 0:fe.index)+"."+(tr+1),"\u3001",Ra==null?void 0:Ra.challenge_name)),((Rr=(Va=xe==null?void 0:xe.editData)==null?void 0:Va.exercise)==null?void 0:Rr.show_challenge_task_pass)&&br.createElement(Oe.Z,{className:ho.content,value:(Ra==null?void 0:Ra.challenge_task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(fe==null?void 0:fe.question_type)===6&&br.createElement("div",{className:ho.program,style:{border:!((Gt=(Mt=xe==null?void 0:xe.editData)==null?void 0:Mt.exercise)!=null&&Gt.show_hack_sets)&&!((xt=(yn=xe==null?void 0:xe.editData)==null?void 0:yn.exercise)!=null&&xt.show_hack_description)&&"none"}},((qn=(Xt=xe==null?void 0:xe.editData)==null?void 0:Xt.exercise)==null?void 0:qn.show_hack_sets)&&br.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},br.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},br.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),br.createElement(Ul.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(Ra,tr,Va)=>Va+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Ra,tr,Va)=>br.createElement(te.Z,{title:br.createElement("pre",null,Ra)},br.createElement("div",{className:ho.divname},Ra))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(Ra,tr,Va)=>br.createElement(te.Z,{title:br.createElement("pre",null,Ra)}," ",br.createElement("div",{className:ho.divname},Ra))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:(ea=fe==null?void 0:fe.program_attr)==null?void 0:ea.hack_sets})),((ra=(Ln=xe==null?void 0:xe.editData)==null?void 0:Ln.exercise)==null?void 0:ra.show_hack_description)&&br.createElement("div",null,br.createElement(Oe.Z,{className:ho.content,value:(fe==null?void 0:fe.description)||"- -"}))),(fe==null?void 0:fe.question_type)===7&&((rn=fe==null?void 0:fe.sub_exercise_questions)==null?void 0:rn.map((Ra,tr)=>{var Va,Rr,jr,Er,io,Gr;return br.createElement("div",{key:tr},br.createElement("div",{className:ho.combination},br.createElement("span",{className:ho.score},Ra==null?void 0:Ra.question_score,"\u5206"),br.createElement("span",{className:ho.qtype},(Va=Ns.find(Ur=>Ur.type==Ra.question_type))==null?void 0:Va.name),br.createElement("span",{className:ho.qtitle},br.createElement(Oe.Z,{value:`${tr+1}\u3001${Ra==null?void 0:Ra.question_title}`}))),(Ra.question_type===0||Ra.question_type===2)&&br.createElement("div",{className:ho.warp,style:{padding:"20px 58px 0 58px"}},br.createElement("div",null,(Rr=Ra==null?void 0:Ra.question_choices)==null?void 0:Rr.map((Ur,So)=>br.createElement("div",{className:ho.redio,key:So},!(Ur!=null&&Ur.standard_boolean)&&br.createElement("span",{className:ho.redioitem}),(Ur==null?void 0:Ur.standard_boolean)&&br.createElement("i",{className:`${ho.redioitemyes} icon-duigou1`}),br.createElement("span",{className:`${Ur!=null&&Ur.standard_boolean?ho.titleyes:ho.title} ${ho.indexTag}`},os[So]),br.createElement(Oe.Z,{className:Ur!=null&&Ur.standard_boolean?ho.titleyes:ho.title,value:Ur==null?void 0:Ur.choice_text}),(Ur==null?void 0:Ur.standard_boolean)&&br.createElement("div",{className:ho.yestag},"\u6B63\u786E\u7B54\u6848"))))),Ra.question_type===1&&br.createElement("div",{className:ho.normalWrap},(jr=Ra==null?void 0:Ra.question_choices)==null?void 0:jr.map((Ur,So)=>br.createElement("div",{className:ho.checkbox,key:So},!(Ur!=null&&Ur.standard_boolean)&&br.createElement("span",{className:ho.checkboxitem}),(Ur==null?void 0:Ur.standard_boolean)&&br.createElement("i",{className:`${ho.checkboxitemyes} icon-duigou1`}),br.createElement("span",{className:`${Ur!=null&&Ur.standard_boolean?ho.titleyes:ho.title} ${ho.indexTag}`},os[So]),br.createElement(Oe.Z,{className:Ur!=null&&Ur.standard_boolean?ho.titleyes:ho.title,value:Ur==null?void 0:Ur.choice_text}),(Ur==null?void 0:Ur.standard_boolean)&&br.createElement("div",{className:ho.yestag},"\u6B63\u786E\u7B54\u6848")))),Ra.question_type===3&&br.createElement("div",{className:ho.completion},(Er=Ra==null?void 0:Ra.standard_answers)==null?void 0:Er.map((Ur,So)=>{var Ro;return br.createElement(mt.Z,{align:"top"},br.createElement("span",{className:ho.title},"\u586B\u7A7A\u9879",So+1),br.createElement("div",{className:ho.content},(Ro=Ur.answer_text)==null?void 0:Ro.map((jo,Mo)=>br.createElement("div",{key:Mo,className:ho.items},br.createElement("pre",{className:"mb0"},jo)))))})),Ra.question_type===4&&br.createElement("div",{className:ho.simple},br.createElement("div",{className:ho.title},"\u53C2\u8003\u7B54\u6848"),br.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(io=Ra==null?void 0:Ra.answer_texts)!=null&&io[0]?br.createElement(Oe.Z,{className:ho.content,value:(Gr=Ra==null?void 0:Ra.answer_texts)==null?void 0:Gr[0]}):br.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),br.createElement("div",{className:"mt20 "},br.createElement("span",{className:ho.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),br.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},Ra!=null&&Ra.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(fe==null?void 0:fe.question_type)===8&&br.createElement("div",null,br.createElement(Oe.Z,{disabledFill:!0,className:ho.content,showProgramFill:!0,value:Xi.Base64.decode(((sa=fe==null?void 0:fe.program_attr)==null?void 0:sa.code)||"")})),((fe==null?void 0:fe.question_type)<=4||[6,8].includes(fe==null?void 0:fe.question_type))&&br.createElement("div",{className:ho.bottom},br.createElement("div",{className:`${ho.bottomitem} mb30`},br.createElement("span",{className:ho.left},"\u89E3\u6790"),br.createElement("span",{className:ho.right},fe!=null&&fe.analysis?br.createElement(Oe.Z,{value:fe==null?void 0:fe.analysis}):br.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),br.createElement("div",{className:`${ho.bottomitem} mb30`},br.createElement("span",{className:ho.left},"\u96BE\u5EA6"),br.createElement("span",{className:ho.right},(fe==null?void 0:fe.difficulty)===1?"\u7B80\u5355":(fe==null?void 0:fe.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),br.createElement("div",{className:ho.bottomitem},br.createElement("span",{className:ho.left},"\u77E5\u8BC6\u70B9"),br.createElement(te.Z,{title:((Ua=fe==null?void 0:fe.tag_discipline_names)==null?void 0:Ua.length)<=0||((Fn=fe==null?void 0:fe.tag_discipline_names)==null?void 0:Fn.length)==1&&["-"].includes(fe==null?void 0:fe.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(wr=(xn=fe==null?void 0:fe.tag_discipline_names)==null?void 0:xn.join("\uFF1B"))==null?void 0:wr.toString()},br.createElement("span",{className:ho.right},((Mr=fe==null?void 0:fe.tag_discipline_names)==null?void 0:Mr.length)<=0?br.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((qr=fe==null?void 0:fe.tag_discipline_names)==null?void 0:qr.length)==1&&["-"].includes(fe==null?void 0:fe.tag_discipline_names[0])?br.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(eo=(Br=fe==null?void 0:fe.tag_discipline_names)==null?void 0:Br.join("\uFF1B"))==null?void 0:eo.toString())))))},hs=z(92359),Ss=z(77792),rl=z(67294),ys=Object.defineProperty,Wl=Object.defineProperties,Es=Object.getOwnPropertyDescriptors,is=Object.getOwnPropertySymbols,Is=Object.prototype.hasOwnProperty,Ps=Object.prototype.propertyIsEnumerable,Os=(fe,xe,be)=>xe in fe?ys(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,ls=(fe,xe)=>{for(var be in xe||(xe={}))Is.call(xe,be)&&Os(fe,be,xe[be]);if(is)for(var be of is(xe))Ps.call(xe,be)&&Os(fe,be,xe[be]);return fe},Xl=(fe,xe)=>Wl(fe,Es(xe)),ss=(fe,xe,be)=>new Promise((dt,Ut)=>{var Cn=Mt=>{try{$t(be.next(Mt))}catch(Gt){Ut(Gt)}},On=Mt=>{try{$t(be.throw(Mt))}catch(Gt){Ut(Gt)}},$t=Mt=>Mt.done?dt(Mt.value):Promise.resolve(Mt.value).then(Cn,On);$t((be=be.apply(fe,xe)).next())}),js=({qitem:fe,setisedit:xe,TagDiscipline:be,exerciseitem:dt,seveeditor:Ut,deleteitem:Cn,getTagData:On,init:$t,showTip:Mt=!1})=>{const[Gt]=Ce.default.useForm();return(0,x.useEffect)(()=>{Gt.setFieldsValue(Xl(ls({},fe),{name:fe.question_title,answer_texts:fe.answer_texts,repeat_answer:!fe.repeat_answer}))},[fe]),rl.createElement("div",null,rl.createElement(Ce.default,{form:Gt,colon:!1,onFinish:yn=>{Ut(ls(ls({},fe),yn))},onFinishFailed:yn=>ss(void 0,null,function*(){var xt,Xt;ye.ZP.error(yn.errorFields[0].errors[0]),Gt.scrollToField((Xt=(xt=yn==null?void 0:yn.errorFields)==null?void 0:xt[0])==null?void 0:Xt.name,{behavior:"smooth",block:"center"})})},rl.createElement("div",{style:{display:"flex",alignItems:"center"}},rl.createElement("div",{style:{flex:1}},rl.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),rl.createElement("span",null,"\u7B80\u7B54\u9898")),!(fe!=null&&fe.isadd)&&rl.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Cn()}},rl.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),rl.createElement(de.ZP,{onClick:()=>{fe.isadd?(xe(!1),$t()):(Gt.setFieldsValue(Xl(ls({},fe),{name:fe==null?void 0:fe.question_title,answer_texts:fe.answer_texts||[],repeat_answer:!(fe!=null&&fe.repeat_answer)})),xe(!1))}},"\u53D6\u6D88"),rl.createElement(te.Z,{overlayClassName:oe.shake,open:Mt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:rl.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},rl.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},rl.createElement(de.ZP,{type:"primary",className:"ml20",onClick:()=>{Gt.submit()}},"\u4FDD\u5B58"))),rl.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},rl.createElement(Ce.default.Item,{className:oe.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},rl.createElement(Ze.Z,{onBlur:yn=>{yn.target.value==="0"&&ye.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})),rl.createElement(Ss.W,{form:Gt,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),rl.createElement(ln,{getTagData:On,qitem:fe,exerciseitem:dt,TagDiscipline:be,form:Gt}))))},ol=z(67294),bs=(fe,xe,be)=>new Promise((dt,Ut)=>{var Cn=Mt=>{try{$t(be.next(Mt))}catch(Gt){Ut(Gt)}},On=Mt=>{try{$t(be.throw(Mt))}catch(Gt){Ut(Gt)}},$t=Mt=>Mt.done?dt(Mt.value):Promise.resolve(Mt.value).then(Cn,On);$t((be=be.apply(fe,xe)).next())}),Cs=({setScoreShow:fe,ScoreShow:xe,exerciseitem:be,getdata:dt})=>{var Ut,Cn,On;const[$t,Mt]=(0,x.useState)(!1);function Gt(){return bs(this,null,function*(){var yn,xt,Xt;let qn=(xt=(yn=be==null?void 0:be.exercise_question_types)==null?void 0:yn.filter(Ln=>Ln.Singlequestion))==null?void 0:xt.map(Ln=>({question_type:Ln.question_type,score:Ln.Singlequestion})),ea=yield(0,pe.ZP)(`/api/examination_banks/${(Xt=be==null?void 0:be.exercise)==null?void 0:Xt.id}/batch_set_score.json`,{method:"POST",body:{question_arr:qn}});(ea==null?void 0:ea.status)===0&&dt()})}return ol.createElement("div",null,xe&&ol.createElement(b.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:xe,width:640,centered:!0,zIndex:10,className:oe.scoremodal,onCancel:()=>{fe(!1)},onOk:()=>{var yn,xt,Xt;if(be!=null&&be.use_blank_score&&((Xt=(xt=(yn=be==null?void 0:be.exercise_question_types)==null?void 0:yn.filter(qn=>qn.name==="\u586B\u7A7A\u9898"))==null?void 0:xt[0])!=null&&Xt.Singlequestion)){Mt(!0);return}Gt(),fe(!1)}},ol.createElement("div",{className:"c-black"},"\u603B\u5206",ol.createElement("span",{className:"ml10 c-light-primary"},(be==null?void 0:be.exercise_question_types.length)>0&&((Ut=be==null?void 0:be.exercise_types)==null?void 0:Ut.q_scores))),ol.createElement("div",{className:oe.content},ol.createElement("span",null,"\u9898\u578B\u540D\u79F0"),ol.createElement("span",null,"\u5C0F\u9898\u603B\u6570"),ol.createElement("span",null,"\u9898\u578B\u603B\u5206"),ol.createElement("span",null,"\u64CD\u4F5C")),(On=(Cn=be==null?void 0:be.exercise_question_types)==null?void 0:Cn.filter(yn=>yn.name!=="\u5B9E\u8BAD\u9898"&&yn.name!=="\u7EC4\u5408\u9898"))==null?void 0:On.map((yn,xt)=>{var Xt;return ol.createElement("div",{key:xt,className:oe.items},ol.createElement("span",null,yn==null?void 0:yn.name),ol.createElement("span",null,(Xt=yn==null?void 0:yn.items)==null?void 0:Xt.length),ol.createElement("span",null,yn==null?void 0:yn.score),ol.createElement("span",null,"\u6BCF\u9898",ol.createElement(Ze.Z,{min:.1,precision:1,max:100,onChange:qn=>{yn.Singlequestion=qn},defaultValue:yn.Singlequestion,style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),ol.createElement(b.default,{title:!1,footer:!1,centered:!0,open:$t,zIndex:20,width:640,closable:!1,className:oe.scoremodal},ol.createElement("div",{style:{marginTop:40}},"\u586B\u7A7A\u9898\u4E2D\u5B58\u5728",ol.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"),ol.createElement("div",{className:oe.bottom},ol.createElement(de.ZP,{className:oe.no,onClick:()=>{Mt(!1)}},"\u53D6\u6D88"),ol.createElement(de.ZP,{className:oe.yes,onClick:()=>{Gt(),Mt(!1),fe(!1)}},"\u786E\u8BA4"))))},Rs=z(97964),Yl=z(84223),ql=z(96486),Gs=z(93671),De=z(38478),je=z(20670),tt=z(67294),Nt=Object.defineProperty,Bn=Object.defineProperties,Xn=Object.getOwnPropertyDescriptors,Ca=Object.getOwnPropertySymbols,Ga=Object.prototype.hasOwnProperty,Xa=Object.prototype.propertyIsEnumerable,mr=(fe,xe,be)=>xe in fe?Nt(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,Zr=(fe,xe)=>{for(var be in xe||(xe={}))Ga.call(xe,be)&&mr(fe,be,xe[be]);if(Ca)for(var be of Ca(xe))Xa.call(xe,be)&&mr(fe,be,xe[be]);return fe},pr=(fe,xe)=>Bn(fe,Xn(xe)),Tr=(fe,xe,be)=>new Promise((dt,Ut)=>{var Cn=Mt=>{try{$t(be.next(Mt))}catch(Gt){Ut(Gt)}},On=Mt=>{try{$t(be.throw(Mt))}catch(Gt){Ut(Gt)}},$t=Mt=>Mt.done?dt(Mt.value):Promise.resolve(Mt.value).then(Cn,On);$t((be=be.apply(fe,xe)).next())});const Sr=[{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"}],no=({user:fe,dispatch:xe,itemid:be,newExercisePaper:dt,setisedits:Ut})=>{var Cn,On,$t,Mt,Gt,yn,xt,Xt,qn,ea,Ln,ra;const[rn,sa]=(0,x.useState)(),[Ua,Fn]=(0,x.useState)(!1),[xn,wr]=(0,x.useState)(),[Mr,qr]=(0,x.useState)(),Br=(0,x.useRef)(),eo=(0,x.useRef)(),[Ra,tr]=(0,x.useState)(),[Va,Rr]=(0,x.useState)(!1),[jr,Er]=(0,x.useState)(!1),[io,Gr]=(0,x.useState)(),[Ur,So]=(0,x.useState)(!1),[Ro,jo]=(0,x.useState)(!1),[Mo,li]=(0,x.useState)(!1),[oi,Xo]=(0,x.useState)(!1),[Yo,Uo]=(0,x.useState)(!1),[lo,Ao]=(0,x.useState)(!1),[si,Qo]=(0,x.useState)(!1),[Ei,fo]=(0,x.useState)(!1),[Za]=Ce.default.useForm(),[Vr,Wr]=(0,x.useState)(!1),ur=(0,x.useRef)(null),[yo]=(0,ie.useSearchParams)(),[di,Pi]=(0,x.useState)(!1),Di=yo.get("isIntelligentAssistant"),[Ri,ge]=(0,x.useState)(!1);(0,x.useEffect)(()=>{Le(),xe({type:"globalSetting/footerToggle",payload:!1})},[]),(0,x.useEffect)(()=>{Ut(jr)},[jr]),(0,x.useEffect)(()=>{xn!=null&&xn.question_id&&(qr(xn==null?void 0:xn.question_score),eo.current=xn==null?void 0:xn.question_id)},[xn]);const ve=hn=>Tr(void 0,null,function*(){let ma=yield xe({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:hn}});Gr(ma)});function Le(){return Tr(this,null,function*(){var hn,ma,Fa,Aa,Ia,or;Rr(!0),Fn(!0);const $r=yield xe({type:"newExercisePaper/editExercise",payload:{id:be}});Rr(!1),Fn(!1),sa($r),(hn=$r==null?void 0:$r.exercise)!=null&&hn.sub_discipline_id&&ve((ma=$r==null?void 0:$r.exercise)==null?void 0:ma.sub_discipline_id),wr(pr(Zr({},(Ia=(Aa=(Fa=$r==null?void 0:$r.exercise_question_types)==null?void 0:Fa[0])==null?void 0:Aa.items)==null?void 0:Ia[0]),{index:1})),tr(pr(Zr({},(or=$r==null?void 0:$r.exercise_question_types)==null?void 0:or[0]),{indexs:1}))})}function Ve(hn,ma=!0){return Tr(this,null,function*(){var Fa,Aa,Ia,or;ma&&(Rr(!0),Fn(!0));const $r=yield xe({type:"newExercisePaper/editExercise",payload:{id:be}});sa($r);let cr=[];(Fa=$r==null?void 0:$r.exercise_question_types)==null||Fa.map(fr=>{var to;(to=fr==null?void 0:fr.items)==null||to.map((ko,Co)=>{cr.push(pr(Zr({},ko),{index:Co+1}))})});let Ba=(Aa=cr.filter(fr=>fr.question_id===(hn==null?void 0:hn.id)))==null?void 0:Aa[0],$a=(or=((Ia=$r==null?void 0:$r.exercise_question_types)==null?void 0:Ia.map((fr,to)=>{if((Ba==null?void 0:Ba.question_type)===(fr==null?void 0:fr.question_type))return pr(Zr({},fr),{indexs:to+1})})).filter(fr=>fr))==null?void 0:or[0];tr(Zr({},$a)),wr(Zr({},Ba)),qr(Ba==null?void 0:Ba.question_score),Rr(!1),Fn(!1)})}function rt(hn){return Tr(this,null,function*(){var ma;let Fa=pr(Zr({},hn),{difficulty:(hn==null?void 0:hn.difficulty)||2,item_type:hn.question_type,sub_discipline_id:((ma=hn==null?void 0:hn.sub_discipline_id)==null?void 0:ma[1])||"",tag_discipline_ids:[],repeat_answer:!hn.repeat_answer}),Aa={};hn.question_type===8&&(Aa=pr(Zr({},hn),{hack:pr(Zr({},hn==null?void 0:hn.hack),{difficult:hn.difficulty}),hack_codes:pr(Zr({},hn.hack_codes),{code:Xi.Base64.encode(hn.hack_codes.code)}),hack_sets:[Zr({},hn.hack_sets)],is_blank:!0})),hn.tag_discipline_ids&&(Fa.tag_discipline_ids=Array.isArray(hn.tag_discipline_ids)?hn.tag_discipline_ids:[hn.tag_discipline_ids],Aa.tag_discipline_ids=Array.isArray(hn.tag_discipline_ids)?hn.tag_discipline_ids:[hn.tag_discipline_ids]),sessionStorage.projectFill&&(Aa.hack_identifier=sessionStorage.projectFill);let Ia=yield(0,pe.ZP)(`/api/examination_banks/${be}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:hn.question_type===8?Aa:Fa});(Ia==null?void 0:Ia.status)===0&&(Er(!1),Ve(Ia)),(0,ce.Vf)("#question-scroll-id")})}function ct(hn){return Tr(this,null,function*(){Fn(!0);let ma=yield(0,pe.ZP)(`/api/examination_banks/${be}/sort_question_type.json`,{method:"post",body:{question_type:hn}});Fn(!1),(ma==null?void 0:ma.status)===0&&Le()})}const _t=(hn,ma,Fa)=>Tr(void 0,null,function*(){var Aa;if(hn.length===0){ye.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),Fa();return}const Ia=yield(0,ue.Hb)(be,(Aa=hn[0])==null?void 0:Aa.file,ma);Ia.status===0&&(ye.ZP.success(`\u6210\u529F\u5BFC\u5165${Ia==null?void 0:Ia.success}\u6761`),So(!1),Le()),Fa()}),on=(hn,ma)=>Tr(void 0,null,function*(){const Fa=yield(0,ue.kF)({score:(0,ql.round)(hn,1),question_id:ma==null?void 0:ma.question_id});if((Fa==null?void 0:Fa.status)===0){ye.ZP.success("\u4FEE\u6539\u6210\u529F"),Ve({id:eo.current},!1);return}(Fa==null?void 0:Fa.status)===-1&&qr(ma==null?void 0:ma.question_score)});function Et(){return Tr(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:oe.modalconfirm,onOk:()=>Tr(this,null,function*(){if(xn.question_id){let hn=yield(0,pe.ZP)(`/api/examination_banks/${be}/examination_banks_item_banks/${xn.question_id}.json`,{method:"delete"});(hn==null?void 0:hn.status)===0&&(Le(),Er(!1))}else wr({}),Er(!1),Le()}),cancelText:"\u53D6\u6D88"})})}const bt=hn=>Tr(void 0,null,function*(){return yield(0,pe.ZP)(`/api/examination_banks/${be}/examination_banks_item_banks.json`,{method:"post",body:Zr({},hn)})}),{overflow:un,handleMouseEnter:qt,handleMouseLeave:Zn}=(0,Yl.I)(),pa=hn=>Tr(void 0,null,function*(){var ma,Fa;Fn(!0);let Aa=yield(0,pe.ZP)(`/api/examination_banks/${be}/sort_question_type.json`,{method:"post",body:{question_type:hn}});if(Fn(!1),(Aa==null?void 0:Aa.status)===0){const Ia=yield xe({type:"newExercisePaper/editExercise",payload:{id:be}});sa(Ia),(ma=Ia==null?void 0:Ia.exercise)!=null&&ma.sub_discipline_id&&ve((Fa=Ia==null?void 0:Ia.exercise)==null?void 0:Fa.sub_discipline_id)}}),ua=()=>jr?(ge(!0),!0):!1;(0,x.useEffect)(()=>{if(Ri){const hn=setTimeout(()=>{ge(!1)},2e3);return()=>clearTimeout(hn)}},[Ri]);const vr=(hn,ma)=>tt.createElement(E.default,null,tt.createElement(E.default.Item,{key:"0",onClick:()=>nr(hn==null?void 0:hn.question_type)},tt.createElement("span",{className:oe.moreSpan},"\u65B0\u589E")),tt.createElement(E.default.Item,{key:"1",disabled:ma===0,onClick:()=>Tr(void 0,null,function*(){if(ma===0||ua())return;let Fa=(0,ce.rz)(rn==null?void 0:rn.exercise_question_types,ma,ma-1);yield pa(Fa.map(Aa=>Aa.name))})},tt.createElement("span",{className:oe.moreSpan},"\u4E0A\u79FB")),tt.createElement(E.default.Item,{key:"2",disabled:ma===(rn==null?void 0:rn.exercise_question_types.length)-1,onClick:()=>Tr(void 0,null,function*(){if(ma===(rn==null?void 0:rn.exercise_question_types.length)-1||ua())return;let Fa=(0,ce.rz)(rn==null?void 0:rn.exercise_question_types,ma,ma+1);yield pa(Fa.map(Aa=>Aa.name))})},tt.createElement("span",{className:oe.moreSpan},"\u4E0B\u79FB")),tt.createElement(E.default.Item,{key:"3",onClick:()=>{var Fa;Za.setFieldsValue({name:hn.name,item_type_en:(Fa=Sr.find(Aa=>Aa.id==hn.question_type))==null?void 0:Fa.nameType}),Wr(!0)}},tt.createElement("span",{className:oe.moreSpan},"\u91CD\u547D\u540D"))),nr=hn=>{var ma,Fa,Aa,Ia,or,$r,cr,Ba,Na,$a,fr,to,ko,Co,Bo,Jo,$o,mi,xi,qi,Ji,gi,tl,wi,Ui,Wo,ui,Do;if(!ua()){if(hn===5){Xo(!0),Uo(!0);return}if(hn===6){if(yo.get("pageType")=="course")yo.get("updateType")=="course"?ie.history.push(`/problems/newcreate?express_id=${(ma=rn==null?void 0:rn.exercise)==null?void 0:ma.id}&callback_url=/paperlibrary/add/${(Fa=rn==null?void 0:rn.exercise)==null?void 0:Fa.id}?type=2&pageType=course&updateType=course&courseId=${yo.get("courseId")}&stageId=${yo.get("stageId")}`):ie.history.push(`/problems/newcreate?express_id=${(Aa=rn==null?void 0:rn.exercise)==null?void 0:Aa.id}&callback_url=/paperlibrary/add/${(Ia=rn==null?void 0:rn.exercise)==null?void 0:Ia.id}?type=2&pageType=course&courseId=${yo.get("courseId")}&stageId=${yo.get("stageId")}`);else{let No=($r=(or=dt==null?void 0:dt.editData)==null?void 0:or.exercise)!=null&&$r.set_question_sub_discipline?`/problems/newcreate?express_id=${(cr=rn==null?void 0:rn.exercise)==null?void 0:cr.id}&callback_url=${window.location.pathname+window.location.search}&discipline_id=${(Na=(Ba=dt==null?void 0:dt.editData)==null?void 0:Ba.exercise)==null?void 0:Na.discipline_id}&sub_discipline_id=${(fr=($a=dt==null?void 0:dt.editData)==null?void 0:$a.exercise)==null?void 0:fr.sub_discipline_id}`:`/problems/newcreate?express_id=${(to=rn==null?void 0:rn.exercise)==null?void 0:to.id}&callback_url=${window.location.pathname+window.location.search}`;ie.history.push(No)}return}Er(!0),wr(hn===2?{question_type:hn,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:(Co=(ko=dt==null?void 0:dt.editData)==null?void 0:ko.exercise)!=null&&Co.set_question_sub_discipline?(Jo=(Bo=dt==null?void 0:dt.editData)==null?void 0:Bo.exercise)==null?void 0:Jo.discipline_id:0,sub_discipline_id:(mi=($o=dt==null?void 0:dt.editData)==null?void 0:$o.exercise)!=null&&mi.set_question_sub_discipline?(qi=(xi=dt==null?void 0:dt.editData)==null?void 0:xi.exercise)==null?void 0:qi.sub_discipline_id:0,analysis:""}:{question_type:hn,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:(gi=(Ji=dt==null?void 0:dt.editData)==null?void 0:Ji.exercise)!=null&&gi.set_question_sub_discipline?(wi=(tl=dt==null?void 0:dt.editData)==null?void 0:tl.exercise)==null?void 0:wi.discipline_id:0,sub_discipline_id:(Wo=(Ui=dt==null?void 0:dt.editData)==null?void 0:Ui.exercise)!=null&&Wo.set_question_sub_discipline?(Do=(ui=dt==null?void 0:dt.editData)==null?void 0:ui.exercise)==null?void 0:Do.sub_discipline_id:0})}},Pr=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{ua()||So(!0)}},{key:2,label:tt.createElement("div",null,tt.createElement("img",{width:26,style:{position:"absolute",top:-2},src:De.$}),tt.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),onClick:()=>{ua()||jo(!0)}}];return tt.createElement("div",null,tt.createElement(Te.Z,{spinning:Va},tt.createElement("div",{className:oe.bg},tt.createElement("div",{style:{textAlign:"center"}},((Cn=rn==null?void 0:rn.exercise_types)==null?void 0:Cn.q_counts)===0&&!jr&&tt.createElement(Pe.Z,{styles:{marginTop:180},customText:tt.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",tt.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((On=rn==null?void 0:rn.exercise_types)==null?void 0:On.q_counts)>0||jr)&&tt.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},tt.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},tt.createElement("div",{className:oe.left},tt.createElement("div",{className:oe.leftAction},tt.createElement(de.ZP,{onClick:()=>{ua()||li(!0)},className:oe.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),tt.createElement("div",{className:oe.scrollWrapper,style:{overflow:un},onMouseEnter:qt,onMouseLeave:Zn},($t=rn==null?void 0:rn.exercise_question_types)==null?void 0:$t.map((hn,ma)=>tt.createElement("div",{key:ma,className:"mb30"},tt.createElement("div",{className:oe.title},tt.createElement("div",{className:oe.titleleft},tt.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,ce.EM)(ma+1),"\u3001\u3010",hn.name,"\u3011"),tt.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",hn.count,"\u5C0F\u9898\uFF0C\u5171",hn.score,"\u5206\uFF09")),tt.createElement(ee.Z,{dropdownRender:()=>vr(hn,ma),placement:"bottomLeft"},tt.createElement("div",{className:oe.more_style},tt.createElement("i",{className:"iconfont icon-sandian font12"})))),tt.createElement(fa,{handleEditing:()=>{ge(!0)},isedit:jr,setBigqitem:tr,bigitem:pr(Zr({},hn),{indexs:ma+1}),setqitem:Fa=>Tr(void 0,null,function*(){var Aa;(Aa=Br.current)==null||Aa.blur(),wr(Fa)}),qitem:xn,Itemid:be,getdata:Ve,data:hn.items})))))),tt.createElement("div",{id:"question-scroll-id",style:{overflow:jr?"hidden":"auto"},className:oe.right,ref:ur},!(xn!=null&&xn.isadd)&&tt.createElement("div",{className:oe.title},!jr&&tt.createElement("div",{style:{flex:1}},tt.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(Ra==null?void 0:Ra.indexs)&&(0,ce.EM)(Ra==null?void 0:Ra.indexs),"\u3001\u3010",Ra==null?void 0:Ra.name,"\u3011"),tt.createElement(te.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},tt.createElement("i",{className:`${oe.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var hn;Za.setFieldsValue({name:Ra.name,item_type_en:(hn=Sr.find(ma=>ma.id==Ra.question_type))==null?void 0:hn.nameType}),Wr(!0)}})),tt.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",Ra==null?void 0:Ra.count,"\u5C0F\u9898\uFF0C\u5171",Ra==null?void 0:Ra.score,"\u5206\uFF09"),(xn==null?void 0:xn.question_type)===6&&tt.createElement("span",{onClick:()=>Pi(2),className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(xn==null?void 0:xn.question_type)===5&&tt.createElement(Me.default,{defaultChecked:(Gt=(Mt=dt==null?void 0:dt.editData)==null?void 0:Mt.exercise)==null?void 0:Gt.show_challenge_task_pass,onChange:hn=>Tr(void 0,null,function*(){let ma=yield(0,pe.ZP)(`/api/examination_banks/${be}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:hn.target.checked}});(ma==null?void 0:ma.status)===0&&(ye.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ve({id:eo.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(xn==null?void 0:xn.question_type)===6&&tt.createElement("span",{style:{marginLeft:20},onClick:()=>{var hn,ma,Fa,Aa;b.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:tt.createElement("div",null,(xn==null?void 0:xn.question_type)===6&&tt.createElement(Me.default,{defaultChecked:(ma=(hn=dt==null?void 0:dt.editData)==null?void 0:hn.exercise)==null?void 0:ma.show_hack_sets,onChange:Ia=>Tr(void 0,null,function*(){let or=yield(0,pe.ZP)(`/api/examination_banks/${be}/update_show_columns.json`,{method:"post",body:{show_hack_sets:Ia.target.checked}});(or==null?void 0:or.status)===0&&(ye.ZP.info("\u8BBE\u7F6E\u6210\u529F"),b.default.destroyAll(),Ve({id:eo.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),tt.createElement("br",null),(xn==null?void 0:xn.question_type)===6&&tt.createElement(Me.default,{defaultChecked:(Aa=(Fa=dt==null?void 0:dt.editData)==null?void 0:Fa.exercise)==null?void 0:Aa.show_hack_description,onChange:Ia=>Tr(void 0,null,function*(){let or=yield(0,pe.ZP)(`/api/examination_banks/${be}/update_show_columns.json`,{method:"post",body:{show_hack_description:Ia.target.checked}});(or==null?void 0:or.status)===0&&(ye.ZP.info("\u8BBE\u7F6E\u6210\u529F"),b.default.destroyAll(),Ve({id:eo.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")),tt.createElement("div",{style:{display:"flex",alignItems:"center"}},(xn==null?void 0:xn.question_type)===5&&!jr&&tt.createElement("a",{className:oe.shixun,href:`/shixuns/${xn==null?void 0:xn.shixun_identifier}/challenges?exercise=true`,target:"_blank"},tt.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!jr&&[0,1,2,4,6].includes(xn==null?void 0:xn.question_type)&&tt.createElement(Ce.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},tt.createElement(Ze.Z,{precision:1,ref:Br,onChange:hn=>qr(hn),value:Mr,onBlur:hn=>{on(hn.target.value,xn)}})),!jr&&tt.createElement(te.Z,{title:"\u5220\u9664"},tt.createElement("i",{onClick:()=>{Et()},style:{marginRight:20},className:`${oe.delete} iconfont icon-shanchu13 mr5 `})),!jr&&tt.createElement(te.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},tt.createElement("i",{onClick:()=>{var hn,ma,Fa;(xn==null?void 0:xn.question_type)===6?yo.get("pageType")=="course"?yo.get("updateType")=="course"?ie.history.push(`/problems/newedit/${xn==null?void 0:xn.hack_identifier}?type=exercises&express_id=${(hn=rn==null?void 0:rn.exercise)==null?void 0:hn.id}&question_id=${xn==null?void 0:xn.question_id}&score=${xn==null?void 0:xn.question_score}&exercise=true&callback_url=${location.pathname}?type=2&pageType=course&updateType=course&courseId=${yo.get("courseId")}&stageId=${yo.get("stageId")}`):ie.history.push(`/problems/newedit/${xn==null?void 0:xn.hack_identifier}?type=exercises&express_id=${(ma=rn==null?void 0:rn.exercise)==null?void 0:ma.id}&question_id=${xn==null?void 0:xn.question_id}&score=${xn==null?void 0:xn.question_score}&exercise=true&callback_url=${location.pathname}?type=2&pageType=course&courseId=${yo.get("courseId")}&stageId=${yo.get("stageId")}`):ie.history.push(`/problems/newedit/${xn==null?void 0:xn.hack_identifier}?type=exercises&express_id=${(Fa=rn==null?void 0:rn.exercise)==null?void 0:Fa.id}&question_id=${xn==null?void 0:xn.question_id}&score=${xn==null?void 0:xn.question_score}&exercise=true&callback_url=${window.location.pathname+window.location.search}`):Er(!0)},className:`${oe.edit} iconfont icon-bianji_Hover mr5 `})))),!jr&&tt.createElement("div",null,tt.createElement("div",{className:oe.qcount},tt.createElement("span",{className:oe.score},xn==null?void 0:xn.question_score,"\u5206"),tt.createElement(Oe.Z,{className:oe.qtitle,value:(xn==null?void 0:xn.index)+`\u3001${(xn==null?void 0:xn.question_type)==8?(yn=xn==null?void 0:xn.program_attr)==null?void 0:yn.description:xn==null?void 0:xn.question_title}`}),(xn==null?void 0:xn.high_resources_consume)&&tt.createElement(je.Z,{type:"shixun",style:{marginLeft:10}})),(xn==null?void 0:xn.question_type)===6&&tt.createElement(He.Z,{onEdit:()=>Pi(1),className:"mt10",dataSource:(xn==null?void 0:xn.languages)||[]}),tt.createElement(Hs,{newExercisePaper:dt,TagDiscipline:io,qitem:xn})),jr&&tt.createElement("div",null,(xn==null?void 0:xn.question_type)<=1&&tt.createElement(et,{getTagData:ve,deleteitem:Et,seveeditor:rt,exerciseitem:rn,TagDiscipline:io,setisedit:Er,qitem:xn,init:Le,showTip:Ri}),(xn==null?void 0:xn.question_type)===5&&tt.createElement(Ds,{setqitem:wr,deleteitem:Et,seveeditor:rt,exerciseitem:rn,TagDiscipline:io,setisedit:Er,qitem:xn,showTip:Ri}),(xn==null?void 0:xn.question_type)===3&&tt.createElement(lr,{getTagData:ve,deleteitem:Et,seveeditor:rt,exerciseitem:rn,TagDiscipline:io,setisedit:Er,qitem:xn,init:Le,showTip:Ri}),(xn==null?void 0:xn.question_type)===2&&tt.createElement(za,{getTagData:ve,deleteitem:Et,seveeditor:rt,exerciseitem:rn,TagDiscipline:io,setisedit:Er,qitem:xn,init:Le,showTip:Ri}),(xn==null?void 0:xn.question_type)===4&&tt.createElement(js,{getTagData:ve,deleteitem:Et,seveeditor:rt,exerciseitem:rn,TagDiscipline:io,setisedit:Er,qitem:xn,init:Le,showTip:Ri}),(xn==null?void 0:xn.question_type)===7&&tt.createElement(Mi,{getTagData:ve,deleteitem:Et,seveeditor:rt,exerciseitem:rn,TagDiscipline:io,setisedit:Er,qitem:xn,init:Le,showTip:Ri}),(xn==null?void 0:xn.question_type)===8&&tt.createElement(Hi,{getTagData:ve,deleteitem:Et,seveeditor:rt,exerciseitem:rn,TagDiscipline:io,setisedit:Er,qitem:xn,init:Le,showTip:Ri}))))))),tt.createElement("div",{className:oe.bottomdiv},tt.createElement("div",{style:{width:1200,margin:"0px auto",display:"flex",justifyContent:"space-between",alignItems:"center"}},tt.createElement("span",{className:oe.spanBtn,onClick:()=>{ua()||(Xo(!0),Uo(!1))}},"\u9898\u5E93\u9009\u9898"),tt.createElement(ee.Z,{menu:{items:Pr}},tt.createElement("span",{className:oe.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),tt.createElement("span",{className:oe.spanBtn,onClick:()=>Tr(void 0,null,function*(){var hn;if(ua())return;const ma=yield(0,ue.JP)(be);ma.status===0&&window.open(`/classrooms/coursesId/exercise/${ma.exercise_id}/${(hn=fe.userInfo)==null?void 0:hn.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),tt.createElement("span",{className:oe.spanBtn,onClick:()=>{if(!ua()){if(Di){window.open(`/paperlibrary/see/${be}?isIntelligentAssistant=true`);return}window.open(`/paperlibrary/see/${be}`)}}},"\u8BD5\u5377\u9884\u89C8"),Sr==null?void 0:Sr.map((hn,ma)=>tt.createElement(de.ZP,{key:ma,className:oe.addQuestionBtn,type:"primary",onClick:()=>{nr(hn.id)}},hn.name)),tt.createElement(de.ZP,{className:oe.saveBtn,loading:Ei,onClick:()=>{var hn,ma;const Fa=()=>Tr(void 0,null,function*(){if(yo.get("pageType")=="course")if(yo.get("updateType")=="course")ye.ZP.info("\u7F16\u8F91\u6210\u529F"),ie.history.replace(`/paths/${yo.get("courseId")}`);else{if(ua())return;(0,Gs._C)({id:yo.get("stageId"),subject_id:yo.get("courseId"),homework_type:"exercise",examination_bank_ids:[be]}).then(or=>{(or==null?void 0:or.status)==0&&(ye.ZP.info("\u521B\u5EFA\u6210\u529F"),ie.history.replace(`/paths/${yo.get("courseId")}`))})}else{if(ua())return;if(Di){fo(!0);const or=yield(0,pe.ZP)("/api/intelligent_imports/save_recognize_papers.json",{method:"post",body:{examination_bank_id:be}});if(fo(!1),(or==null?void 0:or.status)!==0)return}ye.ZP.info("\u521B\u5EFA\u6210\u529F"),ie.history.push("/paperlibrary?defaultActiveKey=0")}});let Aa=(ma=(hn=rn==null?void 0:rn.exercise_question_types)==null?void 0:hn.filter(or=>or.question_type===5)[0])==null?void 0:ma.items,Ia=0;Aa==null||Aa.map(or=>{or.high_resources_consume&&(Ia=Ia+1)}),console.log(Ia),Ia>0?xe({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:Ia,fn:()=>{Fa()}}}):Fa()}},tt.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),tt.createElement(Cs,{setScoreShow:li,ScoreShow:Mo,exerciseitem:rn,getdata:Le}),oi&&tt.createElement(Rs.Z,{setScoreShow:Xo,isshixuns:Yo,ScoreShow:oi,isloadings:lo,onOk:(hn,ma,Fa,Aa)=>Tr(void 0,null,function*(){Ao(!0);let or=yield bt({exam_id:be,item_bank_ids:hn,shixun_ids:ma});Ao(!1),(or==null?void 0:or.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:()=>{Le()},onCancel:()=>{Xo(!1),Le()}})})}),tt.createElement(hs.Z,{sub_discipline_id:(xt=rn==null?void 0:rn.exercise)!=null&&xt.sub_discipline_id?[(Xt=rn==null?void 0:rn.exercise)==null?void 0:Xt.discipline_id,(qn=rn==null?void 0:rn.exercise)==null?void 0:qn.sub_discipline_id]:[],visible:Ur,onCancel:()=>So(!1),onOk:_t}),tt.createElement(b.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:Vr,width:500,onOk:()=>Za.submit(),onCancel:()=>Wr(!1)},tt.createElement(Ce.default,{form:Za,initialValues:{},onFinish:hn=>Tr(void 0,null,function*(){(yield(0,ue.RK)(Zr({id:be},hn))).status==0&&(ye.ZP.success("\u4FEE\u6539\u6210\u529F"),Le(),Wr(!1))})},tt.createElement(Ce.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(hn,ma){var Fa,Aa,Ia,or;const $r=(Fa=Sr==null?void 0:Sr.find(cr=>cr.nameType==Za.getFieldValue("item_type_en")))==null?void 0:Fa.id;return(or=(Ia=(Aa=rn==null?void 0:rn.exercise_question_types)==null?void 0:Aa.filter(cr=>cr.question_type!=$r))==null?void 0:Ia.map(cr=>cr==null?void 0:cr.name))!=null&&or.includes(ma)?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()}}]},tt.createElement(se.default,{size:"large",maxLength:10,showCount:!0})),tt.createElement(Ce.default.Item,{hidden:!0,name:"item_type_en"},tt.createElement(se.default,{size:"large"})))),tt.createElement(re.Z,{placement:"bottom",height:"100%",destroyOnClose:!0,closable:!1,className:"body-overflow-hidden",open:Ro},tt.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),tt.createElement(De.Z,{stickyTop:-24,subDisciplineId:(ea=rn==null?void 0:rn.exercise)!=null&&ea.sub_discipline_id?[(Ln=rn==null?void 0:rn.exercise)==null?void 0:Ln.discipline_id,(ra=rn==null?void 0:rn.exercise)==null?void 0:ra.sub_discipline_id]:[],onCancel:()=>jo(!1),mode:2,gather:{exam_id:be},onSuccess:()=>{jo(!1),Le()}}),tt.createElement("div",{style:{height:70}})),tt.createElement(He.Q,{visible:!!di,setVisible:Pi,tip:di===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:di===1?xn==null?void 0:xn.languages:[],onOk:hn=>Tr(void 0,null,function*(){const ma={languages:hn};di===1?ma.hack_id=xn==null?void 0:xn.hack_id:ma.exam_id=be,(yield(0,pe.ZP)("/api/problems/update_languages.json",{method:"post",body:ma})).status===0&&(ye.ZP.success("\u4FEE\u6539\u6210\u529F"),Ve({id:eo.current}),Pi(!1))})}))};var Po=(0,ie.connect)(({user:fe,newExercisePaper:xe,dispatch:be})=>({user:fe,newExercisePaper:xe,dispatch:be}))(no),wo=z(65213),Ko=z(50637),Ee=z(99640),Ie=z(67294),pt=Object.defineProperty,Se=Object.defineProperties,st=Object.getOwnPropertyDescriptors,yt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,it=(fe,xe,be)=>xe in fe?pt(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:be}):fe[xe]=be,gt=(fe,xe)=>{for(var be in xe||(xe={}))Zt.call(xe,be)&&it(fe,be,xe[be]);if(yt)for(var be of yt(xe))Xe.call(xe,be)&&it(fe,be,xe[be]);return fe},en=(fe,xe)=>Se(fe,st(xe)),pn=(fe,xe,be)=>new Promise((dt,Ut)=>{var Cn=Mt=>{try{$t(be.next(Mt))}catch(Gt){Ut(Gt)}},On=Mt=>{try{$t(be.throw(Mt))}catch(Gt){Ut(Gt)}},$t=Mt=>Mt.done?dt(Mt.value):Promise.resolve(Mt.value).then(Cn,On);$t((be=be.apply(fe,xe)).next())});const kn=()=>{const[fe,xe]=(0,x.useState)([]);return(0,x.useEffect)(()=>{pn(void 0,null,function*(){const dt=yield(0,ue.d1)({source:"question"});dt!=null&&dt.disciplines&&xe((0,y.L)(dt==null?void 0:dt.disciplines))})},[]),fe},Pn=({user:fe,newExercisePaper:xe,dispatch:be})=>{var dt,Ut,Cn,On,$t,Mt,Gt,yn,xt,Xt,qn,ea;const Ln=(0,ie.useParams)(),ra=kn(),[rn]=Ce.default.useForm(),[sa,Ua]=(0,x.useState)(),[Fn,xn]=(0,x.useState)(!1),[wr,Mr]=(0,x.useState)(1),[qr,Br]=(0,x.useState)(""),[eo]=(0,ie.useSearchParams)(),[Ra,tr]=(0,x.useState)(!1),[Va,Rr]=(0,x.useState)(!1),[jr,Er]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{eo.get("type")==="2"&&(Br(Ln.id),Mr(2))},[eo.get("type")]),(0,x.useEffect)(()=>{if(Ln.id){if(!ra.length)return;pn(void 0,null,function*(){var Gr,Ur,So;xn(!0);const Ro=yield(0,ue.Di)({id:Ln.id});xn(!1);const jo=(Gr=Ro==null?void 0:Ro.exercise)==null?void 0:Gr.sub_discipline_id;let Mo=[];for(const Xo of ra)for(const Yo of Xo.children)Yo.value===jo&&(Mo=[Xo.value,Yo.value]);const li=(Ur=Ro==null?void 0:Ro.exercise)==null?void 0:Ur.time,oi=en(gt({},Ro.exercise),{sub_discipline_id:Mo,time:li===-1?null:li});Ua(oi),Er((So=Ro.exercise)==null?void 0:So.set_question_sub_discipline)})}else Ua({time:60,difficulty:2});be({type:"globalSetting/footerToggle",payload:!1})},[ra]),Ie.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},Ie.createElement("section",{className:"edu-container"},Ie.createElement("section",{className:"animated fadeIn"},Ie.createElement("aside",{style:{marginTop:15}},Ie.createElement(Re.Z,{separator:">"},Ie.createElement(Re.Z.Item,null,Ie.createElement(ie.Link,{to:"/paperlibrary"},"\u8BD5\u5377\u5E93")),Ie.createElement(Re.Z.Item,null,"\u4EBA\u5DE5\u7EC4\u5377")))),Ie.createElement("div",{className:"bg-white"},Ie.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},Ie.createElement("div",{onClick:()=>{if(Ra){ye.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002");return}Mr(1)},className:wr===1?_e.Z.selectdiv:_e.Z.divitem},Ie.createElement(wo.Z,{number:1,active:wr===1,className:"mr10"}),Ie.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),Ie.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),Ie.createElement("div",{onClick:()=>{if(!Ln.id&&!qr){ye.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}Mr(2),!qr&&Br(Ln.id)},className:wr!==1?_e.Z.selectdiv:_e.Z.divitem},Ie.createElement(wo.Z,{number:2,active:wr!==1,className:"mr10"}),Ie.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),wr===2&&Ie.createElement("div",{className:"tc"},Ie.createElement(Ko.Z,{defaultValue:(Ut=(dt=xe==null?void 0:xe.editData)==null?void 0:dt.exercise)==null?void 0:Ut.exercise_name,onFinish:io=>pn(void 0,null,function*(){var Gr,Ur,So,Ro,jo,Mo,li,oi,Xo,Yo,Uo,lo;return io.trim()===((Ur=(Gr=xe==null?void 0:xe.editData)==null?void 0:Gr.exercise)==null?void 0:Ur.exercise_name)?!0:(yield(0,ue.w0)({id:`${(Ro=(So=xe==null?void 0:xe.editData)==null?void 0:So.exercise)==null?void 0:Ro.id}`,sub_discipline_id:(Mo=(jo=xe==null?void 0:xe.editData)==null?void 0:jo.exercise)==null?void 0:Mo.sub_discipline_id,time:`${(oi=(li=xe==null?void 0:xe.editData)==null?void 0:li.exercise)==null?void 0:oi.time}`,exercise_name:io,exercise_description:(Yo=(Xo=xe==null?void 0:xe.editData)==null?void 0:Xo.exercise)==null?void 0:Yo.exercise_description,difficulty:(lo=(Uo=xe==null?void 0:xe.editData)==null?void 0:Uo.exercise)==null?void 0:lo.difficulty})).status===0?(rn.setFieldValue("exercise_name",io),be({type:"newExercisePaper/modifyTitle",payload:io}),!0):!1})}),Ie.createElement("div",{style:{fontSize:14}},Ie.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",Ie.createElement("span",{style:{color:"#000000",marginLeft:8}},(On=(Cn=xe==null?void 0:xe.editData)==null?void 0:Cn.exercise)==null?void 0:On.time)),Ie.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",Ie.createElement("span",{style:{color:"#000000",marginLeft:8}},((Mt=($t=xe==null?void 0:xe.editData)==null?void 0:$t.exercise)==null?void 0:Mt.difficulty)===1?"\u7B80\u5355":((yn=(Gt=xe==null?void 0:xe.editData)==null?void 0:Gt.exercise)==null?void 0:yn.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),Ie.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",Ie.createElement("span",{style:{color:"#000000",marginLeft:8}},((Xt=(xt=xe==null?void 0:xe.editData)==null?void 0:xt.exercise_types)==null?void 0:Xt.q_counts)||0)),Ie.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",Ie.createElement("span",{style:{color:"#000000",marginLeft:8}},(ea=(qn=xe==null?void 0:xe.editData)==null?void 0:qn.exercise_types)==null?void 0:ea.q_scores))))),wr===1&&Ie.createElement(Te.Z,{spinning:Fn,size:"middle",style:{position:"fixed",maxHeight:"100vh"},className:"mt30"},Ie.createElement("section",{className:[_e.Z.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},sa&&Ie.createElement(Ce.default,{layout:"horizontal",form:rn,colon:!1,labelCol:{span:4},wrapperCol:{span:20},className:_e.Z.formWrap,initialValues:sa},Ie.createElement(Ce.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:_e.Z.baseLineHeight,rules:[{required:!0,validator:(io,Gr)=>{var Ur;return((Ur=Gr==null?void 0:Gr.replaceAll(" ",""))==null?void 0:Ur.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},Ie.createElement(se.default,{maxLength:60,className:_e.Z.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),Ie.createElement(Ce.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",className:_e.Z.baseLineHeight},Ie.createElement(nt.Z,{className:_e.Z.baseFormItem,allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:ra,popupClassName:_e.Z.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14}})),Ie.createElement("div",{className:_e.Z.concat},Ie.createElement("div",null,Ie.createElement(Me.default,{checked:jr,onChange:io=>{Er(io.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")),Ie.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",Ie.createElement("a",{onClick:()=>Rr(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),Ie.createElement(Ce.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:_e.Z.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},Ie.createElement(ze.ZP.Group,{className:_e.Z.radiogroup},Ie.createElement(ze.ZP.Button,{className:_e.Z.easy,value:1},"\u7B80\u5355"),Ie.createElement(ze.ZP.Button,{className:_e.Z.medium,value:2},"\u9002\u4E2D"),Ie.createElement(ze.ZP.Button,{className:_e.Z.hard,value:3},"\u56F0\u96BE"))),Ie.createElement(Ce.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:_e.Z.baseLineHeight},Ie.createElement("div",{style:{display:"flex",width:"100%"}},Ie.createElement(Ce.default.Item,{name:"time",noStyle:!0},Ie.createElement(Ze.Z,{min:1,className:_e.Z.baseFormItem,max:9999,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),Ie.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),Ie.createElement(Ce.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},Ie.createElement(se.default.TextArea,{rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"})))),Ie.createElement("div",{className:_e.Z.bottmodiv},Ie.createElement(de.ZP,{className:`${_e.Z.cancelBtn} mr5`,type:"primary",onClick:()=>{eo.get("pageType")=="course"?ie.history.push(`/paths/${eo.get("courseId")}`):ie.history.push("/paperlibrary")}},"\u53D6\u6D88"),Ie.createElement(a.Z,{className:`${_e.Z.confirmBtn} ml15`,type:"primary",onClick:()=>pn(void 0,null,function*(){var io,Gr,Ur,So;yield rn.validateFields();const Ro=rn.getFieldsValue();if(Ro.sub_discipline_id=((io=Ro.sub_discipline_id)==null?void 0:io.length)>0?Ro.sub_discipline_id[1]:"",Ro.set_question_sub_discipline=jr,Ln.id){(yield(0,ue.w0)(gt({id:Ln.id},Ro))).status===0&&(Br(Ln.id),Mr(2),ie.history.replace(`/paperlibrary/add/${Ln.id}?type=2`));return}const jo=yield(0,ue.un)(Ro);jo.status===0&&(Br((Gr=jo==null?void 0:jo.data)==null?void 0:Gr.exam_id),Mr(2),eo.get("pageType")=="course"?ie.history.replace(`/paperlibrary/add/${(Ur=jo==null?void 0:jo.data)==null?void 0:Ur.exam_id}?type=2&pageType=course&courseId=${eo.get("courseId")}&stageId=${eo.get("stageId")}`):ie.history.replace(`/paperlibrary/add/${(So=jo==null?void 0:jo.data)==null?void 0:So.exam_id}?type=2`))})},"\u4E0B\u4E00\u6B65"))),wr===2&&Ie.createElement("div",null,Ie.createElement(Po,{setisedits:tr,itemid:qr}))),Ie.createElement(Ee.Z,{open:Va,onCancel:()=>{Rr(!1)}}))};var zn=(0,ie.connect)(({user:fe,newExercisePaper:xe,dispatch:be})=>({user:fe,newExercisePaper:xe,dispatch:be}))(Pn)},97964:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return mt}});var x=z(67294),ie=z(22150),Ce=z(2453),Re=z(14446),ye=z(66368),Te=z(11713),se=z(85546),nt=z(48305),Me=z(69677),ze=z(9430),Ze=z(83062),de=z(28452),_e=z(71577),ue=z(33170),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=z(53430),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=z(85725),ee=z(28706),te=z(19575);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:ht})=>{var mn,oa,Sn,Kn,Ye,_n,ca,ln,At,cn;return x.createElement("div",{className:b.warp},x.createElement("div",{className:b.mainPart},x.createElement("div",{className:b.qcount},(ht==null?void 0:ht.question_type)===8&&x.createElement(E.Z,{className:b.content,showProgramFill:!0,value:(mn=ht==null?void 0:ht.program_attr)==null?void 0:mn.description}),(ht==null?void 0:ht.question_type)!=8&&x.createElement(E.Z,{className:b.qtitle,value:(ht==null?void 0:ht.name)||(ht==null?void 0:ht.title)})),((ht==null?void 0:ht.question_type)===0||(ht==null?void 0:ht.question_type)===2)&&x.createElement("div",null,(oa=ht==null?void 0:ht.choices)==null?void 0:oa.map((We,Be)=>x.createElement("div",{className:b.redio},!(We!=null&&We.is_answer)&&x.createElement("span",{className:b.redioitem}),(We==null?void 0:We.is_answer)&&x.createElement("i",{className:`${b.redioitemyes} icon-duigou1`}),x.createElement(E.Z,{className:We!=null&&We.is_answer?b.titleyes:b.title,value:re[Be]+(We==null?void 0:We.choice_text)}),(We==null?void 0:We.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(ht==null?void 0:ht.question_type)===1&&x.createElement("div",null,(Sn=ht==null?void 0:ht.choices)==null?void 0:Sn.map((We,Be)=>x.createElement("div",{className:b.checkbox},!(We!=null&&We.is_answer)&&x.createElement("span",{className:b.checkboxitem}),(We==null?void 0:We.is_answer)&&x.createElement("i",{className:`${b.checkboxitemyes} icon-duigou1`}),x.createElement(E.Z,{className:We!=null&&We.is_answer?b.titleyes:b.title,value:re[Be]+(We==null?void 0:We.choice_text)}),(We==null?void 0:We.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(ht==null?void 0:ht.question_type)===3&&x.createElement("div",{className:b.completion},(Kn=ht==null?void 0:ht.standard_answer)==null?void 0:Kn.map((We,Be)=>{var Je;return x.createElement("div",{style:{display:"flex"}},x.createElement("span",{className:b.title},"\u586B\u7A7A\u9879",Be+1),x.createElement("div",{className:b.content},(Je=We==null?void 0:We.answer_text)==null?void 0:Je.map((vt,Vt)=>x.createElement("div",{className:b.items},vt))))})),(ht==null?void 0:ht.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"}},(Ye=ht==null?void 0:ht.answer_texts)!=null&&Ye[0]?x.createElement(E.Z,{className:b.content,value:(_n=ht==null?void 0:ht.answer_texts)==null?void 0:_n[0]}):x.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(ht==null?void 0:ht.question_type)===5&&((ca=ht==null?void 0:ht.challenge_names)==null?void 0:ca.map((We,Be)=>x.createElement("div",{className:b.shixun},x.createElement("span",{className:b.qtitle},x.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,ee.EM)(Be+1),"\u9898"),We)))),(ht==null?void 0:ht.question_type)===6&&x.createElement("div",{className:b.program},x.createElement(E.Z,{className:b.content,value:((ln=ht==null?void 0:ht.program_attr)==null?void 0:ln.description)||"- -"})),(ht==null?void 0:ht.question_type)===7&&((At=ht==null?void 0:ht.sub_item_banks)==null?void 0:At.map((We,Be)=>{var Je,vt,Vt,dn,ta;return x.createElement("div",null,x.createElement("div",{className:b.combination},x.createElement("span",{className:b.qtitle},We==null?void 0:We.name)),x.createElement("div",{className:b.warp,style:{padding:"0px",paddingTop:20}},x.createElement("div",null,((We==null?void 0:We.item_type)=="SINGLE"||(We==null?void 0:We.item_type)=="JUDGMENT")&&((Je=We==null?void 0:We.choices)==null?void 0:Je.map((vn,Nn)=>x.createElement("div",{className:b.redio},!(vn!=null&&vn.is_answer)&&x.createElement("span",{className:b.redioitem}),(vn==null?void 0:vn.is_answer)&&x.createElement("i",{className:`${b.redioitemyes} icon-duigou1`}),x.createElement(E.Z,{className:vn!=null&&vn.is_answer?b.titleyes:b.title,value:re[Nn]+(vn==null?void 0:vn.choice_text)}),(vn==null?void 0:vn.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(We==null?void 0:We.item_type)=="MULTIPLE"&&((vt=We==null?void 0:We.choices)==null?void 0:vt.map((vn,Nn)=>x.createElement("div",{className:b.checkbox},!(vn!=null&&vn.is_answer)&&x.createElement("span",{className:b.checkboxitem}),(vn==null?void 0:vn.is_answer)&&x.createElement("i",{className:`${b.checkboxitemyes} icon-duigou1`}),x.createElement(E.Z,{className:vn!=null&&vn.is_answer?b.titleyes:b.title,value:re[Nn]+(vn==null?void 0:vn.choice_text)}),(vn==null?void 0:vn.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(We==null?void 0:We.item_type)=="COMPLETION"&&x.createElement("div",{className:b.completion},(Vt=We==null?void 0:We.standard_answer)==null?void 0:Vt.map((vn,Nn)=>{var ia;return x.createElement("div",{style:{display:"flex"}},x.createElement("span",{className:b.title},"\u586B\u7A7A\u9879",Nn+1),x.createElement("div",{className:b.content},(ia=vn==null?void 0:vn.answer_text)==null?void 0:ia.map((et,Ot)=>x.createElement("div",{className:b.items},et))))})),(We==null?void 0:We.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"}},(dn=We==null?void 0:We.answer_texts)!=null&&dn[0]?x.createElement(E.Z,{className:b.content,value:(ta=We==null?void 0:We.answer_texts)==null?void 0:ta[0]}):x.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(ht==null?void 0:ht.question_type)===8&&x.createElement("div",null,x.createElement(E.Z,{disabledFill:!0,className:b.content,showProgramFill:!0,value:te.Base64.decode(((cn=ht==null?void 0:ht.program_attr)==null?void 0:cn.code)||"")})),(ht==null?void 0:ht.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"}},(ht==null?void 0:ht.author_name)||"- -")),x.createElement("div",{style:{marginRight:30}},x.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),x.createElement("span",{style:{color:"#000000"}},(ht==null?void 0:ht.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"}},(ht==null?void 0:ht.study_count)||"0"))),x.createElement("a",{className:b.shixunbutton,href:`/shixuns/${ht==null?void 0:ht.identifier}/challenges?exercise=true`,target:"_blank"},x.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((ht==null?void 0:ht.question_type)<=4||[6,8].includes(ht==null?void 0:ht.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},ht!=null&&ht.analysis?x.createElement(E.Z,{value:ht==null?void 0:ht.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},(ht==null?void 0:ht.difficulty)===1?"\u7B80\u5355":(ht==null?void 0:ht.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},ht!=null&&ht.tag_discipline?ht==null?void 0:ht.tag_discipline:x.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},pe=z(36913),Pe=z(57971),He=z(35973),ke=z(17663),Oe=z(20670),he=z(38244),Ke=z(67294),Ue=Object.defineProperty,$e=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,at=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,ut=(ht,mn,oa)=>mn in ht?Ue(ht,mn,{enumerable:!0,configurable:!0,writable:!0,value:oa}):ht[mn]=oa,St=(ht,mn)=>{for(var oa in mn||(mn={}))lt.call(mn,oa)&&ut(ht,oa,mn[oa]);if(at)for(var oa of at(mn))ft.call(mn,oa)&&ut(ht,oa,mn[oa]);return ht},jt=(ht,mn)=>$e(ht,Fe(mn)),Vn=(ht,mn,oa)=>new Promise((Sn,Kn)=>{var Ye=ln=>{try{ca(oa.next(ln))}catch(At){Kn(At)}},_n=ln=>{try{ca(oa.throw(ln))}catch(At){Kn(At)}},ca=ln=>ln.done?Sn(ln.value):Promise.resolve(ln.value).then(Ye,_n);ca((oa=oa.apply(ht,mn)).next())});const fa=({setScoreShow:ht,ScoreShow:mn,onOk:oa,isshixuns:Sn,isloadings:Kn,dispatch:Ye,isIntelligentAssistant:_n=!1,newExercisePaper:ca,shixunsDetail:ln})=>{var At,cn,We;let[Be,Je]=(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:_n,group_id:[]}),[vt,Vt]=(0,x.useState)([]),[dn,ta]=(0,x.useState)([]),[vn,Nn]=(0,x.useState)([]),[ia,et]=(0,x.useState)([]);const[Ot,Pa]=(0,x.useState)(!1),[An]=ie.default.useForm(),[Ft,ya]=(0,x.useState)(),[ot,Tt]=(0,x.useState)(!1);let[nn,Rt]=(0,x.useState)(Sn);const[Lt,na]=(0,x.useState)([]),[va,ha]=(0,x.useState)(0),[ba,lr]=(0,x.useState)(!0),[gr,Qa]=(0,x.useState)([]),[Dr,so]=(0,x.useState)([]),zr=[{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[Jr,co]=(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 Xr=(0,x.useRef)(new Set),bo=(0,x.useRef)(new Set),kr=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],Sa=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],ja=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[_a,za]=(0,x.useState)(!1),Ar=()=>{An.resetFields(),nn=!1,Rt(!1),za(!1),An.submit()};(0,x.useEffect)(()=>{var bn,da,ro,la,Ya,Bt,Yn,Dn,It,ar;(((ro=(da=(bn=ca==null?void 0:ca.editData)==null?void 0:bn.exercise)==null?void 0:da.exist_item_bank_ids)==null?void 0:ro.length)>0||((Bt=(Ya=(la=ca==null?void 0:ca.editData)==null?void 0:la.exercise)==null?void 0:Ya.exist_item_bank_shixun_ids)==null?void 0:Bt.length)>0)&&so([...(Dn=(Yn=ca==null?void 0:ca.editData)==null?void 0:Yn.exercise)==null?void 0:Dn.exist_item_bank_ids,...(ar=(It=ca==null?void 0:ca.editData)==null?void 0:It.exercise)==null?void 0:ar.exist_item_bank_shixun_ids])},[(cn=(At=ca==null?void 0:ca.editData)==null?void 0:At.exercise)==null?void 0:cn.exist_item_bank_ids]),(0,x.useEffect)(()=>{mn&&(An.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),ba&&nn&&(An.setFieldsValue({item_type:"SHIXUN"}),Be.item_type="SHIXUN",Je(St({},Be)),lr(!1)),er(Be),Wa(),kt({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[mn]),(0,x.useEffect)(()=>{va>0&&setTimeout(()=>{ha(0)},2e3)},[va]);function er(bn){return Vn(this,null,function*(){var da,ro,la;if(Pa(!0),Je(St({},bn)),(vn==null?void 0:vn.length)<=0&&bn.type==="5"){et([]),Pa(!1);return}console.log("----",vn,Lt);let Ya=bn.type==="5"?vn==null?void 0:vn.filter(Dn=>!Lt.includes(Dn)):null,Bt=bn.type==="5"?vn==null?void 0:vn.filter(Dn=>Lt.includes(Dn)):null;bn.group_id=((da=bn.group_id)==null?void 0:da.map(Dn=>Dn==null?void 0:Dn.value))||null;let Yn=yield(0,ue.ZP)("/api/item_banks.json",{method:"get",params:jt(St({},bn),{discipline_id:((ro=bn==null?void 0:bn.courseid)==null?void 0:ro[0])||null,sub_discipline_id:((la=bn==null?void 0:bn.courseid)==null?void 0:la[1])||null,ids:Ya,shixun_ids:Bt,include_shixuns:!_n,keyword:bn.keyword?encodeURIComponent(bn.keyword):bn.keyword,type:bn.type==="5"?null:bn.type,clazz:bn.type==="3"?"ItemBanksGroup":null})});et(Yn),Pa(!1)})}function Wa(){return Vn(this,null,function*(){let bn=yield(0,ue.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:Be.type==="5"?null:Be.type,clazz:"ItemBanksGroup"}});Vt((0,a.L)(bn==null?void 0:bn.disciplines))})}function kt(bn){return Vn(this,null,function*(){var da;let ro=yield(0,ue.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:bn}),la=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(da=ro==null?void 0:ro.data)==null?void 0:da.map(Ya=>({title:Ya.name,id:Ya.id,pid:Ya.id,value:Ya.id,key:Ya.id,isLeaf:!Ya.have_child}))}];Qa(la)})}function sn(bn){return Vn(this,null,function*(){var da,ro,la,Ya;Pa(!0);let Bt=(da=bn.list)==null?void 0:da.filter(It=>!Lt.includes(It)),Yn=(ro=bn.list)==null?void 0:ro.filter(It=>Lt.includes(It));if(Bt.length===0&&Yn.length===0){Pa(!1),et([]);return}let Dn=yield(0,ue.ZP)("/api/item_banks.json",{method:"get",params:jt(St({},bn),{discipline_id:((la=bn==null?void 0:bn.courseid)==null?void 0:la[0])||null,sub_discipline_id:((Ya=bn==null?void 0:bn.courseid)==null?void 0:Ya[1])||null,ids:Bt,shixun_ids:Yn,type:bn.type==="5"?null:bn.type,clazz:bn.type==="3"?"ItemBanksGroup":null})});Pa(!1),et(Dn)})}const Yt=bn=>Vn(void 0,null,function*(){const da=yield Ye({type:"shixunsDetail/release",payload:{id:bn}});let ro=da==null?void 0:da.tag_position,la=(da==null?void 0:da.evaluation_set_position)||[],Ya=da.status;return Ya===0?(Ce.ZP.success("\u53D1\u5E03\u6210\u529F"),er(Be),!0):(Ya===2?Ce.ZP.error(`\u7B2C${la.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):Ya===3?Ce.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${ro.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):Ce.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),$n=bn=>(bn==null?void 0:bn.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",La=(bn,da,ro)=>bn.map(la=>la.key===da?St(St({},la),ro):la.children?jt(St({},la),{children:La(la.children,da,ro)}):la),dr=bn=>Vn(void 0,null,function*(){const{key:da}=bn;let ro=Be.type;const la=yield(0,he.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(da),type:ro}),{data:Ya,total_count:Bt}=la||{};Bt>0&&Qa(Yn=>La(Yn,da,{children:Ya.map(Dn=>({title:Dn.name,id:Dn.id,pid:Dn.id,value:Dn.id,key:Dn.id,isLeaf:!Dn.have_child}))}))});function Eo(bn){console.log("----",Be),bn==="1"&&(Jr.gg=St({},Be)),bn==="2"&&(Jr.scj=St({},Be)),bn==="3"&&(Jr.ttgx=St({},Be)),bn==="0"&&(Jr.wcjd=St({},Be)),bn==="5"&&(Jr.yx=St({},Be)),co(St({},Jr))}function Nr(){Be.type==="1"&&(Be=Jr.gg),Be.type==="2"&&(Be=Jr.scj),Be.type==="3"&&(Be=Jr.ttgx),Be.type==="0"&&(Be=Jr.wcjd),Be.type==="5"&&(Be=Jr.yx),(Be==null?void 0:Be.item_type)==="SHIXUN"?(nn=!0,Rt(!0)):(nn=!1,Rt(!1)),An.setFieldsValue(St({},Be)),Je(St({},Be)),er(St({},Be))}return Ke.createElement("div",null,Ke.createElement(Re.default,{title:!1,footer:!1,open:mn,width:1200,centered:!0,className:y.scoremodal,onCancel:()=>{ht(!1)}},Ke.createElement("div",{style:{display:"flex",alignItems:"center"}},Ke.createElement("div",{className:y.title},_n?"\u4EE5\u9898\u6362\u9898":"\u9898\u5E93\u9009\u9898")),_n&&Ke.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"),Ke.createElement(ye.default,{className:y.tabWrap,activeKey:Be.type,onChange:bn=>{bn==="3"?(Be.show_all_share=!0,kt({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):Be.show_all_share=null,bn==="0"&&kt({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Eo(Be.type),Be.type=bn,(Be==null?void 0:Be.item_type)==="SHIXUN"&&Be.type!=="5"&&(nn=!0,Rt(!0)),za(!1),Be.type==="5"&&(nn=!1,Rt(!1)),Nr(),Wa()},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:Ke.createElement("div",null,"\u5DF2\u9009",vn.length>0&&Ke.createElement("span",{className:y.titlecount},vn.length),va>0&&Ke.createElement("span",{className:y.add},"+",va)),key:"5"}]}),Ke.createElement(ie.default,{layout:"inline",form:An,onValuesChange:(bn,da)=>{const ro=Object.values(da).some(Ya=>Ya!==null&&Ya!==""&&Ya!==void 0),la=da.keyword==="";if(za(ro||!la),Be.page=1,(da==null?void 0:da.item_type)==="SHIXUN"){if(Be.type==="5"?Rt(!1):Rt(!0),bn.keyword||bn.keyword==="")return;An.submit()}else{if(bn!=null&&bn.courseid&&An.setFieldsValue({tag_discipline_id:""}),Rt(!1),bn.keyword||bn.keyword==="")return;An.submit()}},onFinish:bn=>{var da;Be.type==="3"&&(!bn.group_id||((da=bn==null?void 0:bn.group_id)==null?void 0:da.length)===0)?Be.show_all_share=!0:Be.show_all_share=null,Je(St(St({},Be),bn)),er(St(St({},Be),bn))}},Ke.createElement(ie.default.Item,{name:"item_type"},Ke.createElement(Te.default,{className:y.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle"},(_n?zr.slice(0,6):zr).map(bn=>Ke.createElement(Te.default.Option,{key:bn.value},bn.name)))),Ke.createElement(ie.default.Item,{name:"courseid"},Ke.createElement(se.Z,{className:y.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:vt})),!nn&&Ke.createElement(ie.default.Item,{name:"tag_discipline_id"},Ke.createElement(Te.default,{className:y.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(We=ia==null?void 0:ia.tag_disciplines)==null?void 0:We.map(bn=>Ke.createElement(Te.default.Option,{key:bn.id},bn.name)))),Ke.createElement(ie.default.Item,{name:nn?"diff":"difficulty"},Ke.createElement(Te.default,{className:y.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!nn&&kr.map(bn=>Ke.createElement(Te.default.Option,{key:bn.value},bn.name)),nn&&Sa.map(bn=>Ke.createElement(Te.default.Option,{key:bn.value},bn.name)))),nn&&Ke.createElement(ie.default.Item,{name:"shixun_publish_status"},Ke.createElement(Te.default,{className:y.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},ja.map(bn=>Ke.createElement(Te.default.Option,{key:bn.value},bn.name)))),(Be.type==="3"||Be.type==="0")&&!nn&&Ke.createElement(ie.default.Item,{name:"group_id"},Ke.createElement(nt.default,{treeDataSimpleMode:!0,style:{width:118},className:y.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(bn,da)=>da.title.toUpperCase().indexOf(bn.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:dr,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:gr})),_a&&Ke.createElement("span",{className:y.allqingchu,onClick:Ar},Ke.createElement("i",{className:"iconfont icon-guanbi4"}),Ke.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Ke.createElement(ie.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Ke.createElement(Me.default.Search,{className:y.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Ke.createElement("i",{className:`iconfont icon-sousuo9 font14 ${y.searchIcon}`,onClick:()=>An.submit()}),onSearch:bn=>{An.submit()}}))),Ke.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Ke.createElement("div",{onClick:()=>{Be.updated_at==="asc"?Be.updated_at="desc":Be.updated_at="asc",Je(jt(St({},Be),{page:1})),er(jt(St({},Be),{page:1}))}}," ",Be.updated_at?Ke.createElement("img",{src:Be.updated_at==="asc"?pe.Z:Pe.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ke.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Ke.createElement("div",{onClick:()=>{Be.quotes==="asc"?Be.quotes="desc":Be.quotes="asc",Je(jt(St({},Be),{page:1})),er(jt(St({},Be),{page:1}))},style:{marginLeft:20}}," ",Be.quotes?Ke.createElement("img",{src:Be.quotes==="asc"?pe.Z:Pe.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ke.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Ke.createElement(ze.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(ia==null?void 0:ia.items)||(ia==null?void 0:ia.shixun_list),pagination:!1,loading:Ot,rowKey:bn=>bn.id,rowSelection:{type:_n?"radio":"checkbox",selectedRowKeys:dn,getCheckboxProps:bn=>({disabled:bn.shixun_tag_num===1||(Dr==null?void 0:Dr.find(da=>bn.id===da))}),onSelect(bn,da,ro){if(_n){ta([bn.id]),bo.current=new Set([bn.id]),ha(1),Nn([bn.id]);return}if(da)nn&&na([...Lt,bn.id]),ta([...dn,bn.id]),bn.identifier?Xr.current.add(bn.id):bo.current.add(bn.id),ha(1),Nn([...vn,bn.id]);else{bn.identifier?Xr.current.delete(bn.id):bo.current.delete(bn.id);let la=vn.filter(Ya=>Ya!==bn.id);if(ta(la),Nn(la),nn){let Ya=Lt.filter(Bt=>Bt!==bn.id);na([...Ya])}if(Be.type==="5"){sn(jt(St({},Be),{list:[...la]}));return}}},onSelectAll(bn,da,ro){if(bn){const la=ro.map(Ya=>Ya.id);nn&&na([...Lt,...la]),ta([...dn,...la]),Nn([...vn,...la]);for(const Ya of ro)Ya.identifier?Xr.current.add(Ya.id):bo.current.add(Ya.id)}else{const la=ro.map(Bt=>Bt.id),Ya=dn.filter(Bt=>!la.some(Yn=>Yn===Bt));if(ta([...Ya]),Nn([...Ya]),nn){let Bt=Lt.filter(Yn=>!la.some(Dn=>Dn===Yn.id));na([...Bt])}Be.type==="5"&&sn(jt(St({},Be),{list:[...Ya]}));for(const Bt of la)Bt.identifier?Xr.current.delete(Bt):bo.current.delete(Bt)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(bn,da,ro)=>{var la,Ya;return Ke.createElement(Ze.Z,{title:$n(da)},Ke.createElement("div",null,nn||da!=null&&da.challenge_names?"\u5B9E\u8BAD\u9898":(Ya=(la=zr==null?void 0:zr.filter(Bt=>Bt.value===bn))==null?void 0:la[0])==null?void 0:Ya.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:nn?"30%":"60%",key:"name",render:(bn,da,ro)=>{var la;return Ke.createElement("div",{style:{display:"flex",alignItems:"center"}},Ke.createElement(Ze.Z,{title:$n(da)},Ke.createElement("div",{className:da!=null&&da.high_resources_consume?y.q_title:""},Ke.createElement(E.Z,{key:1,showLines:1,showTextOnly:!0,value:nn||da!=null&&da.challenge_names?da!=null&&da.title||bn===null?"--":bn:(da==null?void 0:da.item_type)=="BPROGRAM"?(la=da==null?void 0:da.program_attr)==null?void 0:la.description:bn}))),(da==null?void 0:da.high_resources_consume)&&Ke.createElement(Oe.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!nn,render:(bn,da,ro)=>{var la;return Ke.createElement(Ze.Z,{title:$n(da)},Ke.createElement("span",null,bn?(la=bn==null?void 0:bn.split("\u3001"))==null?void 0:la[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!nn,render:(bn,da,ro)=>Ke.createElement(Ze.Z,{title:$n(da)},Ke.createElement("span",null,bn||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(bn,da,ro)=>{var la,Ya,Bt,Yn;return Ke.createElement(Ze.Z,{title:$n(da)},Ke.createElement("div",null,nn||da!=null&&da.challenge_names?(da==null?void 0:da.level)||((Ya=(la=kr==null?void 0:kr.filter(Dn=>Dn.value===bn))==null?void 0:la[0])==null?void 0:Ya.name):(Yn=(Bt=kr==null?void 0:kr.filter(Dn=>Dn.value===bn))==null?void 0:Bt[0])==null?void 0:Yn.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!nn,render:(bn,da,ro)=>Ke.createElement(Ze.Z,{title:$n(da)},Ke.createElement("div",null,bn||"- -"))},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!nn,render:(bn,da,ro)=>Ke.createElement("span",null,bn||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(bn,da,ro)=>Ke.createElement(Ze.Z,{title:$n(da)},Ke.createElement("div",null,nn||da!=null&&da.challenge_names?(da==null?void 0:da.study_count)||(da==null?void 0:da.stu_num):bn))},{title:Ke.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Ke.createElement(Ze.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Ke.createElement(ke.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!nn,render:(bn,da,ro)=>Ke.createElement(Ze.Z,{title:$n(da)},Ke.createElement("div",null,bn||"- -"))},{title:Ke.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Ke.createElement(Ze.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Ke.createElement(ke.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!nn,render:(bn,da,ro)=>Ke.createElement("span",null,bn||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(bn,da,ro)=>Ke.createElement(Ze.Z,{title:$n(da)},Ke.createElement("div",{style:{flex:1,textAlign:"start"}},Ke.createElement("a",{onClick:()=>{var la,Ya;ya(jt(St({},da),{question_type:nn||da!=null&&da.challenge_names?5:(Ya=(la=zr==null?void 0:zr.filter(Bt=>Bt.value===(da==null?void 0:da.item_type)))==null?void 0:la[0])==null?void 0:Ya.question_type})),Tt(!0)}},"\u67E5\u770B"),(da==null?void 0:da.shixun_tag_num)===1&&Ke.createElement("a",{style:{marginLeft:10},onClick:()=>{Re.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Ke.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Ke.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${da==null?void 0:da.identifier}/challenges`)}},(da==null?void 0:da.shixun_name)||"--"),"\uFF1F"),onOk:()=>Vn(void 0,null,function*(){if(!Yt(da==null?void 0:da.identifier))return new Promise((la,Ya)=>{Ya()})})})}},"\u53D1\u5E03")))}].filter(bn=>!bn.hidden)}),Ke.createElement(de.Z,{current:Be.page,total:(ia==null?void 0:ia.items_count)||(ia==null?void 0:ia.shixuns_count),style:{marginBottom:20},defaultPageSize:Be.per_page,showTotal:bn=>Ke.createElement("span",null,"\u5171\xA0",Ke.createElement("span",{style:{color:"#165DFF"}},bn),"\xA0\u6761\u6570\u636E"),pageSize:Be.per_page,onChange:(bn,da)=>{Be.page=bn,Be.per_page=da,Je(St({},Be)),er(St({},Be))}}),Ke.createElement("div",{className:y.bottom},Ke.createElement(_e.ZP,{className:y.no,onClick:()=>{ht(!1)}},"\u53D6\u6D88"),Ke.createElement(_e.ZP,{loading:Kn,style:{width:Kn&&75},className:y.yes,onClick:()=>Vn(void 0,null,function*(){if((vn==null?void 0:vn.length)<=0){Ce.ZP.info(_n?"\u8BF7\u9009\u62E9\u4E00\u9053\u8BD5\u9898":"\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}oa([...bo.current],[...Xr.current],!0,vn==null?void 0:vn.length)})},_n?"\u5F00\u59CB\u6362\u9898":"\u786E\u8BA4"))),Ke.createElement(Re.default,{open:ot,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:y.previewModal,width:1e3,centered:!0,onCancel:()=>{Tt(!1)},onOk:()=>{Tt(!1)}},Ke.createElement(ce,{qitem:Ft})))};var mt=(0,He.connect)(({shixunsDetail:ht,newExercisePaper:mn})=>({shixunsDetail:ht,newExercisePaper:mn}))(fa)},99640:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return ze}});var x=z(14446),ie={ul:"ul___TdfYY"},Ce=z(32637),Re=z(67294),ye=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,nt=(Ze,de)=>{var _e={};for(var ue in Ze)Te.call(Ze,ue)&&de.indexOf(ue)<0&&(_e[ue]=Ze[ue]);if(Ze!=null&&ye)for(var ue of ye(Ze))de.indexOf(ue)<0&&se.call(Ze,ue)&&(_e[ue]=Ze[ue]);return _e},ze=Ze=>{var de=Ze,{open:_e,onCancel:ue}=de,y=nt(de,["open","onCancel"]);return Re.createElement(x.default,{centered:!0,open:_e,title:Re.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:ue,footer:null},Re.createElement("div",null,Re.createElement("div",{className:"tc"},Re.createElement("img",{className:"mt10",src:Ce,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Re.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Re.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Re.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Re.createElement("ul",{className:ie.ul},Re.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"),Re.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"),Re.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")))))}},84223:function(Jt,zt,z){"use strict";z.d(zt,{I:function(){return ie}});var x=z(67294);const ie=()=>{const[Ce,Re]=(0,x.useState)("hidden");return{overflow:Ce,handleMouseEnter:()=>Re("auto"),handleMouseLeave:()=>Re("hidden")}}},38780:function(Jt,zt){"use strict";function z(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ie=1;ie<arguments.length;ie++){const Ce=ie<0||arguments.length<=ie?void 0:arguments[ie];Ce&&Object.keys(Ce).forEach(Re=>{const ye=Ce[Re];ye!==void 0&&(x[Re]=ye)})}return x}zt.Z=z},81643:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return x}});const x=ie=>ie?typeof ie=="function"?ie():ie:null},66367:function(Jt,zt,z){"use strict";z.d(zt,{F:function(){return x},Z:function(){return ie}});function x(Ce){return Ce!=null&&Ce===Ce.window}function ie(Ce,Re){var ye,Te;if(typeof window=="undefined")return 0;const se=Re?"scrollTop":"scrollLeft";let nt=0;return x(Ce)?nt=Ce[Re?"pageYOffset":"pageXOffset"]:Ce instanceof Document?nt=Ce.documentElement[se]:(Ce instanceof HTMLElement||Ce)&&(nt=Ce[se]),Ce&&!x(Ce)&&typeof nt!="number"&&(nt=(Te=((ye=Ce.ownerDocument)!==null&&ye!==void 0?ye:Ce).documentElement)===null||Te===void 0?void 0:Te[se]),nt}},57838:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return ie}});var x=z(67294);function ie(){const[,Ce]=x.useReducer(Re=>Re+1,0);return Ce}},58375:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return Re}});var x=z(96523);function ie(ye,Te,se,nt){const Me=se-Te;return ye/=nt/2,ye<1?Me/2*ye*ye*ye+Te:Me/2*((ye-=2)*ye*ye+2)+Te}var Ce=z(66367);function Re(ye){let Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:se=()=>window,callback:nt,duration:Me=450}=Te,ze=se(),Ze=(0,Ce.Z)(ze,!0),de=Date.now(),_e=()=>{const y=Date.now()-de,a=ie(y>Me?Me:y,Ze,ye,Me);(0,Ce.F)(ze)?ze.scrollTo(window.pageXOffset,a):ze instanceof Document||ze.constructor.name==="HTMLDocument"?ze.documentElement.scrollTop=a:ze.scrollTop=a,y<Me?(0,x.Z)(_e):typeof nt=="function"&&nt()};(0,x.Z)(_e)}},85673:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return $e}});var x=z(94184),ie=z.n(x),Ce=z(37419),Re=z(1337),ye=z(67294),Te=z(96159),se=z(53124),nt=z(42922),Me=z(35874);const ze=Fe=>{let{children:at}=Fe;const{getPrefixCls:lt}=ye.useContext(se.E_),ft=lt("breadcrumb");return ye.createElement("li",{className:`${ft}-separator`,"aria-hidden":"true"},at===""?at:at||"/")};ze.__ANT_BREADCRUMB_SEPARATOR=!0;var Ze=ze,de=function(Fe,at){var lt={};for(var ft in Fe)Object.prototype.hasOwnProperty.call(Fe,ft)&&at.indexOf(ft)<0&&(lt[ft]=Fe[ft]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,ft=Object.getOwnPropertySymbols(Fe);ut<ft.length;ut++)at.indexOf(ft[ut])<0&&Object.prototype.propertyIsEnumerable.call(Fe,ft[ut])&&(lt[ft[ut]]=Fe[ft[ut]]);return lt};function _e(Fe,at){if(Fe.title===void 0||Fe.title===null)return null;const lt=Object.keys(at).join("|");return typeof Fe.title=="object"?Fe.title:String(Fe.title).replace(new RegExp(`:(${lt})`,"g"),(ft,ut)=>at[ut]||ft)}function ue(Fe,at,lt,ft){if(lt==null)return null;const{className:ut,onClick:St}=at,jt=de(at,["className","onClick"]),Vn=Object.assign(Object.assign({},(0,Re.Z)(jt,{data:!0,aria:!0})),{onClick:St});return ft!==void 0?ye.createElement("a",Object.assign({},Vn,{className:ie()(`${Fe}-link`,ut),href:ft}),lt):ye.createElement("span",Object.assign({},Vn,{className:ie()(`${Fe}-link`,ut)}),lt)}function y(Fe,at){return(ft,ut,St,jt,Vn)=>{if(at)return at(ft,ut,St,jt);const fa=_e(ft,ut);return ue(Fe,ft,fa,Vn)}}var a=function(Fe,at){var lt={};for(var ft in Fe)Object.prototype.hasOwnProperty.call(Fe,ft)&&at.indexOf(ft)<0&&(lt[ft]=Fe[ft]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,ft=Object.getOwnPropertySymbols(Fe);ut<ft.length;ut++)at.indexOf(ft[ut])<0&&Object.prototype.propertyIsEnumerable.call(Fe,ft[ut])&&(lt[ft[ut]]=Fe[ft[ut]]);return lt};const b=Fe=>{const{prefixCls:at,separator:lt="/",children:ft,menu:ut,overlay:St,dropdownProps:jt,href:Vn}=Fe,mt=(ht=>{if(ut||St){const mn=Object.assign({},jt);if(ut){const oa=ut||{},{items:Sn}=oa,Kn=a(oa,["items"]);mn.menu=Object.assign(Object.assign({},Kn),{items:Sn==null?void 0:Sn.map((Ye,_n)=>{var{key:ca,title:ln,label:At,path:cn}=Ye,We=a(Ye,["key","title","label","path"]);let Be=At!=null?At:ln;return cn&&(Be=ye.createElement("a",{href:`${Vn}${cn}`},Be)),Object.assign(Object.assign({},We),{key:ca!=null?ca:_n,label:Be})})})}else St&&(mn.overlay=St);return ye.createElement(Me.Z,Object.assign({placement:"bottom"},mn),ye.createElement("span",{className:`${at}-overlay-link`},ht,ye.createElement(nt.Z,null)))}return ht})(ft);return mt!=null?ye.createElement(ye.Fragment,null,ye.createElement("li",null,mt),lt&&ye.createElement(Ze,null,lt)):null},E=Fe=>{const{prefixCls:at,children:lt,href:ft}=Fe,ut=a(Fe,["prefixCls","children","href"]),{getPrefixCls:St}=ye.useContext(se.E_),jt=St("breadcrumb",at);return ye.createElement(b,Object.assign({},ut,{prefixCls:jt}),ue(jt,ut,lt,ft))};E.__ANT_BREADCRUMB_ITEM=!0;var ee=E,te=z(14747),re=z(67968),oe=z(45503);const ce=Fe=>{const{componentCls:at,iconCls:lt}=Fe;return{[at]:Object.assign(Object.assign({},(0,te.Wf)(Fe)),{color:Fe.itemColor,fontSize:Fe.fontSize,[lt]:{fontSize:Fe.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Fe.linkColor,transition:`color ${Fe.motionDurationMid}`,padding:`0 ${Fe.paddingXXS}px`,borderRadius:Fe.borderRadiusSM,height:Fe.lineHeight*Fe.fontSize,display:"inline-block",marginInline:-Fe.marginXXS,"&:hover":{color:Fe.linkHoverColor,backgroundColor:Fe.colorBgTextHover}},(0,te.Qy)(Fe)),"li:last-child":{color:Fe.lastItemColor},[`${at}-separator`]:{marginInline:Fe.separatorMargin,color:Fe.separatorColor},[`${at}-link`]:{[`
> ${lt} + span,
> ${lt} + a
`]:{marginInlineStart:Fe.marginXXS}},[`${at}-overlay-link`]:{borderRadius:Fe.borderRadiusSM,height:Fe.lineHeight*Fe.fontSize,display:"inline-block",padding:`0 ${Fe.paddingXXS}px`,marginInline:-Fe.marginXXS,[`> ${lt}`]:{marginInlineStart:Fe.marginXXS,fontSize:Fe.fontSizeIcon},"&:hover":{color:Fe.linkHoverColor,backgroundColor:Fe.colorBgTextHover,a:{color:Fe.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Fe.componentCls}-rtl`]:{direction:"rtl"}})}};var pe=(0,re.Z)("Breadcrumb",Fe=>{const at=(0,oe.TS)(Fe,{});return[ce(at)]},Fe=>({itemColor:Fe.colorTextDescription,lastItemColor:Fe.colorText,iconFontSize:Fe.fontSize,linkColor:Fe.colorTextDescription,linkHoverColor:Fe.colorText,separatorColor:Fe.colorTextDescription,separatorMargin:Fe.marginXS})),Pe=function(Fe,at){var lt={};for(var ft in Fe)Object.prototype.hasOwnProperty.call(Fe,ft)&&at.indexOf(ft)<0&&(lt[ft]=Fe[ft]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,ft=Object.getOwnPropertySymbols(Fe);ut<ft.length;ut++)at.indexOf(ft[ut])<0&&Object.prototype.propertyIsEnumerable.call(Fe,ft[ut])&&(lt[ft[ut]]=Fe[ft[ut]]);return lt};function He(Fe){const{breadcrumbName:at,children:lt}=Fe,ft=Pe(Fe,["breadcrumbName","children"]),ut=Object.assign({title:at},ft);return lt&&(ut.menu={items:lt.map(St=>{var{breadcrumbName:jt}=St,Vn=Pe(St,["breadcrumbName"]);return Object.assign(Object.assign({},Vn),{title:jt})})}),ut}function ke(Fe,at){return(0,ye.useMemo)(()=>Fe||(at?at.map(He):null),[Fe,at])}var Oe=function(Fe,at){var lt={};for(var ft in Fe)Object.prototype.hasOwnProperty.call(Fe,ft)&&at.indexOf(ft)<0&&(lt[ft]=Fe[ft]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,ft=Object.getOwnPropertySymbols(Fe);ut<ft.length;ut++)at.indexOf(ft[ut])<0&&Object.prototype.propertyIsEnumerable.call(Fe,ft[ut])&&(lt[ft[ut]]=Fe[ft[ut]]);return lt};const he=(Fe,at)=>{if(at===void 0)return at;let lt=(at||"").replace(/^\//,"");return Object.keys(Fe).forEach(ft=>{lt=lt.replace(`:${ft}`,Fe[ft])}),lt},Ke=Fe=>{const{prefixCls:at,separator:lt="/",style:ft,className:ut,rootClassName:St,routes:jt,items:Vn,children:fa,itemRender:mt,params:ht={}}=Fe,mn=Oe(Fe,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:oa,direction:Sn,breadcrumb:Kn}=ye.useContext(se.E_);let Ye;const _n=oa("breadcrumb",at),[ca,ln]=pe(_n),At=ke(Vn,jt),cn=y(_n,mt);if(At&&At.length>0){const Je=[],vt=Vn||jt;Ye=At.map((Vt,dn)=>{const{path:ta,key:vn,type:Nn,menu:ia,overlay:et,onClick:Ot,className:Pa,separator:An,dropdownProps:Ft}=Vt,ya=he(ht,ta);ya!==void 0&&Je.push(ya);const ot=vn!=null?vn:dn;if(Nn==="separator")return ye.createElement(Ze,{key:ot},An);const Tt={},nn=dn===At.length-1;ia?Tt.menu=ia:et&&(Tt.overlay=et);let{href:Rt}=Vt;return Je.length&&ya!==void 0&&(Rt=`#/${Je.join("/")}`),ye.createElement(b,Object.assign({key:ot},Tt,(0,Re.Z)(Vt,{data:!0,aria:!0}),{className:Pa,dropdownProps:Ft,href:Rt,separator:nn?"":lt,onClick:Ot,prefixCls:_n}),cn(Vt,ht,vt,Je,Rt))})}else if(fa){const Je=(0,Ce.Z)(fa).length;Ye=(0,Ce.Z)(fa).map((vt,Vt)=>{if(!vt)return vt;const dn=Vt===Je-1;return(0,Te.Tm)(vt,{separator:dn?"":lt,key:Vt})})}const We=ie()(_n,Kn==null?void 0:Kn.className,{[`${_n}-rtl`]:Sn==="rtl"},ut,St,ln),Be=Object.assign(Object.assign({},Kn==null?void 0:Kn.style),ft);return ca(ye.createElement("nav",Object.assign({className:We,style:Be},mn),ye.createElement("ol",null,Ye)))};Ke.Item=ee,Ke.Separator=Ze;var Ue=Ke,$e=Ue},85546:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return Gs}});var x=z(74902),ie=z(67294),Ce=z(22751),Re=z(3407),ye=z(91034),Te=z(94184),se=z.n(Te),nt=z(87462),Me=z(97685),ze=z(45987),Ze=z(4942),de=z(1413),_e=z(71002);function ue(De){var je=ie.useRef();je.current=De;var tt=ie.useCallback(function(){for(var Nt,Bn=arguments.length,Xn=new Array(Bn),Ca=0;Ca<Bn;Ca++)Xn[Ca]=arguments[Ca];return(Nt=je.current)===null||Nt===void 0?void 0:Nt.call.apply(Nt,[je].concat(Xn))},[]);return tt}function y(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var a=y()?ie.useLayoutEffect:ie.useEffect,b=a,E=function(je,tt){var Nt=ie.useRef(!0);a(function(){if(!Nt.current)return je()},tt),a(function(){return Nt.current=!1,function(){Nt.current=!0}},[])};function ee(De){var je=ie.useRef(!1),tt=ie.useState(De),Nt=(0,Me.Z)(tt,2),Bn=Nt[0],Xn=Nt[1];ie.useEffect(function(){return je.current=!1,function(){je.current=!0}},[]);function Ca(Ga,Xa){Xa&&je.current||Xn(Ga)}return[Bn,Ca]}function te(De){return De!==void 0}function re(De,je){var tt=je||{},Nt=tt.defaultValue,Bn=tt.value,Xn=tt.onChange,Ca=tt.postState,Ga=ee(function(){return te(Bn)?Bn:te(Nt)?typeof Nt=="function"?Nt():Nt:typeof De=="function"?De():De}),Xa=(0,Me.Z)(Ga,2),mr=Xa[0],Zr=Xa[1],pr=Bn!==void 0?Bn:mr,Tr=Ca?Ca(pr):pr,Sr=ue(Xn),no=ee([pr]),Po=(0,Me.Z)(no,2),wo=Po[0],Ko=Po[1];E(function(){var Ie=wo[0];mr!==Ie&&Sr(mr,Ie)},[wo]),E(function(){te(Bn)||Zr(Bn)},[Bn]);var Ee=ue(function(Ie,pt){Zr(Ie,pt),Ko([pr],pt)});return[Tr,Ee]}var oe={};function ce(De,je){}function pe(De,je){}function Pe(){oe={}}function He(De,je,tt){!je&&!oe[tt]&&(De(!1,tt),oe[tt]=!0)}function ke(De,je){He(ce,De,je)}function Oe(De,je){He(pe,De,je)}var he=ke,Ke=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var De=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(De)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(De==null?void 0:De.substr(0,4))},Ue={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(je){var tt=je.keyCode;if(je.altKey&&!je.ctrlKey||je.metaKey||tt>=Ue.F1&&tt<=Ue.F12)return!1;switch(tt){case Ue.ALT:case Ue.CAPS_LOCK:case Ue.CONTEXT_MENU:case Ue.CTRL:case Ue.DOWN:case Ue.END:case Ue.ESC:case Ue.HOME:case Ue.INSERT:case Ue.LEFT:case Ue.MAC_FF_META:case Ue.META:case Ue.NUMLOCK:case Ue.NUM_CENTER:case Ue.PAGE_DOWN:case Ue.PAGE_UP:case Ue.PAUSE:case Ue.PRINT_SCREEN:case Ue.RIGHT:case Ue.SHIFT:case Ue.UP:case Ue.WIN_KEY:case Ue.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(je){if(je>=Ue.ZERO&&je<=Ue.NINE||je>=Ue.NUM_ZERO&&je<=Ue.NUM_MULTIPLY||je>=Ue.A&&je<=Ue.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&je===0)return!0;switch(je){case Ue.SPACE:case Ue.QUESTION_MARK:case Ue.NUM_PLUS:case Ue.NUM_MINUS:case Ue.NUM_PERIOD:case Ue.NUM_DIVISION:case Ue.SEMICOLON:case Ue.DASH:case Ue.EQUALS:case Ue.COMMA:case Ue.PERIOD:case Ue.SLASH:case Ue.APOSTROPHE:case Ue.SINGLE_QUOTE:case Ue.OPEN_SQUARE_BRACKET:case Ue.BACKSLASH:case Ue.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},$e=Ue,Fe=z(16357);function at(De,je,tt){var Nt=ie.useRef({});return(!("value"in Nt.current)||tt(Nt.current.condition,je))&&(Nt.current.value=De(),Nt.current.condition=je),Nt.current.value}function lt(De,je){typeof De=="function"?De(je):(0,_e.Z)(De)==="object"&&De&&"current"in De&&(De.current=je)}function ft(){for(var De=arguments.length,je=new Array(De),tt=0;tt<De;tt++)je[tt]=arguments[tt];var Nt=je.filter(function(Bn){return Bn});return Nt.length<=1?Nt[0]:function(Bn){je.forEach(function(Xn){lt(Xn,Bn)})}}function ut(){for(var De=arguments.length,je=new Array(De),tt=0;tt<De;tt++)je[tt]=arguments[tt];return at(function(){return ft.apply(void 0,je)},je,function(Nt,Bn){return Nt.length===Bn.length&&Nt.every(function(Xn,Ca){return Xn===Bn[Ca]})})}function St(De){var je,tt,Nt=isMemo(De)?De.type.type:De.type;return!(typeof Nt=="function"&&!((je=Nt.prototype)!==null&&je!==void 0&&je.render)||typeof De=="function"&&!((tt=De.prototype)!==null&&tt!==void 0&&tt.render))}var jt=function(je){var tt=je.className,Nt=je.customizeIcon,Bn=je.customizeIconProps,Xn=je.onMouseDown,Ca=je.onClick,Ga=je.children,Xa;return typeof Nt=="function"?Xa=Nt(Bn):Xa=Nt,ie.createElement("span",{className:tt,onMouseDown:function(Zr){Zr.preventDefault(),Xn&&Xn(Zr)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Ca,"aria-hidden":!0},Xa!==void 0?Xa:ie.createElement("span",{className:se()(tt.split(/\s+/).map(function(mr){return"".concat(mr,"-icon")}))},Ga))},Vn=jt;function fa(De,je,tt,Nt,Bn){var Xn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Ca=arguments.length>6?arguments[6]:void 0,Ga=arguments.length>7?arguments[7]:void 0,Xa=ie.useMemo(function(){if((0,_e.Z)(Nt)==="object")return Nt.clearIcon;if(Bn)return Bn},[Nt,Bn]),mr=ie.useMemo(function(){return!!(!Xn&&Nt&&(tt.length||Ca)&&!(Ga==="combobox"&&Ca===""))},[Nt,Xn,tt.length,Ca,Ga]);return{allowClear:mr,clearIcon:ie.createElement(Vn,{className:"".concat(De,"-clear"),onMouseDown:je,customizeIcon:Xa},"\xD7")}}var mt=ie.createContext(null);function ht(){return ie.useContext(mt)}function mn(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,je=ie.useState(!1),tt=(0,Me.Z)(je,2),Nt=tt[0],Bn=tt[1],Xn=ie.useRef(null),Ca=function(){window.clearTimeout(Xn.current)};ie.useEffect(function(){return Ca},[]);var Ga=function(mr,Zr){Ca(),Xn.current=window.setTimeout(function(){Bn(mr),Zr&&Zr()},De)};return[Nt,Ga,Ca]}function oa(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,je=ie.useRef(null),tt=ie.useRef(null);ie.useEffect(function(){return function(){window.clearTimeout(tt.current)}},[]);function Nt(Bn){(Bn||je.current===null)&&(je.current=Bn),window.clearTimeout(tt.current),tt.current=window.setTimeout(function(){je.current=null},De)}return[function(){return je.current},Nt]}function Sn(De,je,tt,Nt){var Bn=ie.useRef(null);Bn.current={open:je,triggerOpen:tt,customizedTrigger:Nt},ie.useEffect(function(){function Xn(Ca){var Ga;if(!((Ga=Bn.current)!==null&&Ga!==void 0&&Ga.customizedTrigger)){var Xa=Ca.target;Xa.shadowRoot&&Ca.composed&&(Xa=Ca.composedPath()[0]||Xa),Bn.current.open&&De().filter(function(mr){return mr}).every(function(mr){return!mr.contains(Xa)&&mr!==Xa})&&Bn.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Xn),function(){return window.removeEventListener("mousedown",Xn)}},[])}var Kn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Ye=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,_n="".concat(Kn," ").concat(Ye).split(/[\s\n]+/),ca="aria-",ln="data-";function At(De,je){return De.indexOf(je)===0}function cn(De){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,tt;je===!1?tt={aria:!0,data:!0,attr:!0}:je===!0?tt={aria:!0}:tt=(0,de.Z)({},je);var Nt={};return Object.keys(De).forEach(function(Bn){(tt.aria&&(Bn==="role"||At(Bn,ca))||tt.data&&At(Bn,ln)||tt.attr&&_n.includes(Bn))&&(Nt[Bn]=De[Bn])}),Nt}var We=z(48555);function Be(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Je=Be()?ie.useLayoutEffect:ie.useEffect,vt=function(je,tt){var Nt=ie.useRef(!0);Je(function(){return je(Nt.current)},tt),Je(function(){return Nt.current=!1,function(){Nt.current=!0}},[])},Vt=function(je,tt){vt(function(Nt){if(!Nt)return je()},tt)},dn=vt,ta=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],vn=void 0;function Nn(De,je){var tt=De.prefixCls,Nt=De.invalidate,Bn=De.item,Xn=De.renderItem,Ca=De.responsive,Ga=De.responsiveDisabled,Xa=De.registerSize,mr=De.itemKey,Zr=De.className,pr=De.style,Tr=De.children,Sr=De.display,no=De.order,Po=De.component,wo=Po===void 0?"div":Po,Ko=(0,ze.Z)(De,ta),Ee=Ca&&!Sr;function Ie(Zt){Xa(mr,Zt)}ie.useEffect(function(){return function(){Ie(null)}},[]);var pt=Xn&&Bn!==vn?Xn(Bn):Tr,Se;Nt||(Se={opacity:Ee?0:1,height:Ee?0:vn,overflowY:Ee?"hidden":vn,order:Ca?no:vn,pointerEvents:Ee?"none":vn,position:Ee?"absolute":vn});var st={};Ee&&(st["aria-hidden"]=!0);var yt=ie.createElement(wo,(0,nt.Z)({className:se()(!Nt&&tt,Zr),style:(0,de.Z)((0,de.Z)({},Se),pr)},st,Ko,{ref:je}),pt);return Ca&&(yt=ie.createElement(We.Z,{onResize:function(Xe){var it=Xe.offsetWidth;Ie(it)},disabled:Ga},yt)),yt}var ia=ie.forwardRef(Nn);ia.displayName="Item";var et=ia;function Ot(De){var je=ie.useRef();je.current=De;var tt=ie.useCallback(function(){for(var Nt,Bn=arguments.length,Xn=new Array(Bn),Ca=0;Ca<Bn;Ca++)Xn[Ca]=arguments[Ca];return(Nt=je.current)===null||Nt===void 0?void 0:Nt.call.apply(Nt,[je].concat(Xn))},[]);return tt}var Pa=z(73935),An=function(je){return+setTimeout(je,16)},Ft=function(je){return clearTimeout(je)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(An=function(je){return window.requestAnimationFrame(je)},Ft=function(je){return window.cancelAnimationFrame(je)});var ya=0,ot=new Map;function Tt(De){ot.delete(De)}var nn=function(je){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ya+=1;var Nt=ya;function Bn(Xn){if(Xn===0)Tt(Nt),je();else{var Ca=An(function(){Bn(Xn-1)});ot.set(Nt,Ca)}}return Bn(tt),Nt};nn.cancel=function(De){var je=ot.get(De);return Tt(je),Ft(je)};var Rt=nn;function Lt(De){if(typeof MessageChannel=="undefined")Rt(De);else{var je=new MessageChannel;je.port1.onmessage=function(){return De()},je.port2.postMessage(void 0)}}function na(){var De=ie.useRef(null),je=function(Nt){De.current||(De.current=[],Lt(function(){(0,Pa.unstable_batchedUpdates)(function(){De.current.forEach(function(Bn){Bn()}),De.current=null})})),De.current.push(Nt)};return je}function va(De,je){var tt=ie.useState(je),Nt=(0,Me.Z)(tt,2),Bn=Nt[0],Xn=Nt[1],Ca=Ot(function(Ga){De(function(){Xn(Ga)})});return[Bn,Ca]}var ha=ie.createContext(null),ba=["component"],lr=["className"],gr=["className"],Qa=function(je,tt){var Nt=ie.useContext(ha);if(!Nt){var Bn=je.component,Xn=Bn===void 0?"div":Bn,Ca=(0,ze.Z)(je,ba);return ie.createElement(Xn,(0,nt.Z)({},Ca,{ref:tt}))}var Ga=Nt.className,Xa=(0,ze.Z)(Nt,lr),mr=je.className,Zr=(0,ze.Z)(je,gr);return ie.createElement(ha.Provider,{value:null},ie.createElement(et,(0,nt.Z)({ref:tt,className:se()(Ga,mr)},Xa,Zr)))},Dr=ie.forwardRef(Qa);Dr.displayName="RawItem";var so=Dr,zr=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Jr="responsive",co="invalidate";function Xr(De){return"+ ".concat(De.length," ...")}function bo(De,je){var tt=De.prefixCls,Nt=tt===void 0?"rc-overflow":tt,Bn=De.data,Xn=Bn===void 0?[]:Bn,Ca=De.renderItem,Ga=De.renderRawItem,Xa=De.itemKey,mr=De.itemWidth,Zr=mr===void 0?10:mr,pr=De.ssr,Tr=De.style,Sr=De.className,no=De.maxCount,Po=De.renderRest,wo=De.renderRawRest,Ko=De.suffix,Ee=De.component,Ie=Ee===void 0?"div":Ee,pt=De.itemComponent,Se=De.onVisibleChange,st=(0,ze.Z)(De,zr),yt=pr==="full",Zt=na(),Xe=va(Zt,null),it=(0,Me.Z)(Xe,2),gt=it[0],en=it[1],pn=gt||0,kn=va(Zt,new Map),Pn=(0,Me.Z)(kn,2),zn=Pn[0],fe=Pn[1],xe=va(Zt,0),be=(0,Me.Z)(xe,2),dt=be[0],Ut=be[1],Cn=va(Zt,0),On=(0,Me.Z)(Cn,2),$t=On[0],Mt=On[1],Gt=va(Zt,0),yn=(0,Me.Z)(Gt,2),xt=yn[0],Xt=yn[1],qn=(0,ie.useState)(null),ea=(0,Me.Z)(qn,2),Ln=ea[0],ra=ea[1],rn=(0,ie.useState)(null),sa=(0,Me.Z)(rn,2),Ua=sa[0],Fn=sa[1],xn=ie.useMemo(function(){return Ua===null&&yt?Number.MAX_SAFE_INTEGER:Ua||0},[Ua,gt]),wr=(0,ie.useState)(!1),Mr=(0,Me.Z)(wr,2),qr=Mr[0],Br=Mr[1],eo="".concat(Nt,"-item"),Ra=Math.max(dt,$t),tr=no===Jr,Va=Xn.length&&tr,Rr=no===co,jr=Va||typeof no=="number"&&Xn.length>no,Er=(0,ie.useMemo)(function(){var fo=Xn;return Va?gt===null&&yt?fo=Xn:fo=Xn.slice(0,Math.min(Xn.length,pn/Zr)):typeof no=="number"&&(fo=Xn.slice(0,no)),fo},[Xn,Zr,gt,no,Va]),io=(0,ie.useMemo)(function(){return Va?Xn.slice(xn+1):Xn.slice(Er.length)},[Xn,Er,Va,xn]),Gr=(0,ie.useCallback)(function(fo,Za){var Vr;return typeof Xa=="function"?Xa(fo):(Vr=Xa&&(fo==null?void 0:fo[Xa]))!==null&&Vr!==void 0?Vr:Za},[Xa]),Ur=(0,ie.useCallback)(Ca||function(fo){return fo},[Ca]);function So(fo,Za,Vr){Ua===fo&&(Za===void 0||Za===Ln)||(Fn(fo),Vr||(Br(fo<Xn.length-1),Se==null||Se(fo)),Za!==void 0&&ra(Za))}function Ro(fo,Za){en(Za.clientWidth)}function jo(fo,Za){fe(function(Vr){var Wr=new Map(Vr);return Za===null?Wr.delete(fo):Wr.set(fo,Za),Wr})}function Mo(fo,Za){Mt(Za),Ut($t)}function li(fo,Za){Xt(Za)}function oi(fo){return zn.get(Gr(Er[fo],fo))}dn(function(){if(pn&&typeof Ra=="number"&&Er){var fo=xt,Za=Er.length,Vr=Za-1;if(!Za){So(0,null);return}for(var Wr=0;Wr<Za;Wr+=1){var ur=oi(Wr);if(yt&&(ur=ur||0),ur===void 0){So(Wr-1,void 0,!0);break}if(fo+=ur,Vr===0&&fo<=pn||Wr===Vr-1&&fo+oi(Vr)<=pn){So(Vr,null);break}else if(fo+Ra>pn){So(Wr-1,fo-ur-xt+$t);break}}Ko&&oi(0)+xt>pn&&ra(null)}},[pn,zn,$t,xt,Gr,Er]);var Xo=qr&&!!io.length,Yo={};Ln!==null&&Va&&(Yo={position:"absolute",left:Ln,top:0});var Uo={prefixCls:eo,responsive:Va,component:pt,invalidate:Rr},lo=Ga?function(fo,Za){var Vr=Gr(fo,Za);return ie.createElement(ha.Provider,{key:Vr,value:(0,de.Z)((0,de.Z)({},Uo),{},{order:Za,item:fo,itemKey:Vr,registerSize:jo,display:Za<=xn})},Ga(fo,Za))}:function(fo,Za){var Vr=Gr(fo,Za);return ie.createElement(et,(0,nt.Z)({},Uo,{order:Za,key:Vr,item:fo,renderItem:Ur,itemKey:Vr,registerSize:jo,display:Za<=xn}))},Ao,si={order:Xo?xn:Number.MAX_SAFE_INTEGER,className:"".concat(eo,"-rest"),registerSize:Mo,display:Xo};if(wo)wo&&(Ao=ie.createElement(ha.Provider,{value:(0,de.Z)((0,de.Z)({},Uo),si)},wo(io)));else{var Qo=Po||Xr;Ao=ie.createElement(et,(0,nt.Z)({},Uo,si),typeof Qo=="function"?Qo(io):Qo)}var Ei=ie.createElement(Ie,(0,nt.Z)({className:se()(!Rr&&Nt,Sr),style:Tr,ref:je},st),Er.map(lo),jr?Ao:null,Ko&&ie.createElement(et,(0,nt.Z)({},Uo,{responsive:tr,responsiveDisabled:!Va,order:xn,className:"".concat(eo,"-suffix"),registerSize:li,display:!0,style:Yo}),Ko));return tr&&(Ei=ie.createElement(We.Z,{onResize:Ro,disabled:!Va},Ei)),Ei}var kr=ie.forwardRef(bo);kr.displayName="Overflow",kr.Item=so,kr.RESPONSIVE=Jr,kr.INVALIDATE=co;var Sa=kr,ja=Sa,_a=function(je,tt){var Nt,Bn,Xn=je.prefixCls,Ca=je.id,Ga=je.inputElement,Xa=je.disabled,mr=je.tabIndex,Zr=je.autoFocus,pr=je.autoComplete,Tr=je.editable,Sr=je.activeDescendantId,no=je.value,Po=je.maxLength,wo=je.onKeyDown,Ko=je.onMouseDown,Ee=je.onChange,Ie=je.onPaste,pt=je.onCompositionStart,Se=je.onCompositionEnd,st=je.open,yt=je.attrs,Zt=Ga||ie.createElement("input",null),Xe=Zt,it=Xe.ref,gt=Xe.props,en=gt.onKeyDown,pn=gt.onChange,kn=gt.onMouseDown,Pn=gt.onCompositionStart,zn=gt.onCompositionEnd,fe=gt.style;return"maxLength"in Zt.props,Zt=ie.cloneElement(Zt,(0,de.Z)((0,de.Z)((0,de.Z)({type:"search"},gt),{},{id:Ca,ref:ft(tt,it),disabled:Xa,tabIndex:mr,autoComplete:pr||"off",autoFocus:Zr,className:se()("".concat(Xn,"-selection-search-input"),(Nt=Zt)===null||Nt===void 0||(Bn=Nt.props)===null||Bn===void 0?void 0:Bn.className),role:"combobox","aria-label":"Search","aria-expanded":st||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Ca,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Ca,"_list"),"aria-activedescendant":st?Sr:void 0},yt),{},{value:Tr?no:"",maxLength:Po,readOnly:!Tr,unselectable:Tr?null:"on",style:(0,de.Z)((0,de.Z)({},fe),{},{opacity:Tr?null:0}),onKeyDown:function(be){wo(be),en&&en(be)},onMouseDown:function(be){Ko(be),kn&&kn(be)},onChange:function(be){Ee(be),pn&&pn(be)},onCompositionStart:function(be){pt(be),Pn&&Pn(be)},onCompositionEnd:function(be){Se(be),zn&&zn(be)},onPaste:Ie})),Zt},za=ie.forwardRef(_a);za.displayName="Input";var Ar=za;function er(De){return Array.isArray(De)?De:De!==void 0?[De]:[]}var Wa=typeof window!="undefined"&&window.document&&window.document.documentElement,kt=Wa;function sn(De){return De!=null}function Yt(De){return!De&&De!==0}function $n(De){return["string","number"].includes((0,_e.Z)(De))}function La(De){var je=void 0;return De&&($n(De.title)?je=De.title.toString():$n(De.label)&&(je=De.label.toString())),je}function dr(De,je){kt?ie.useLayoutEffect(De,je):ie.useEffect(De,je)}function Eo(De){var je;return(je=De.key)!==null&&je!==void 0?je:De.value}var Nr=function(je){je.preventDefault(),je.stopPropagation()},bn=function(je){var tt=je.id,Nt=je.prefixCls,Bn=je.values,Xn=je.open,Ca=je.searchValue,Ga=je.autoClearSearchValue,Xa=je.inputRef,mr=je.placeholder,Zr=je.disabled,pr=je.mode,Tr=je.showSearch,Sr=je.autoFocus,no=je.autoComplete,Po=je.activeDescendantId,wo=je.tabIndex,Ko=je.removeIcon,Ee=je.maxTagCount,Ie=je.maxTagTextLength,pt=je.maxTagPlaceholder,Se=pt===void 0?function(ra){return"+ ".concat(ra.length," ...")}:pt,st=je.tagRender,yt=je.onToggleOpen,Zt=je.onRemove,Xe=je.onInputChange,it=je.onInputPaste,gt=je.onInputKeyDown,en=je.onInputMouseDown,pn=je.onInputCompositionStart,kn=je.onInputCompositionEnd,Pn=ie.useRef(null),zn=(0,ie.useState)(0),fe=(0,Me.Z)(zn,2),xe=fe[0],be=fe[1],dt=(0,ie.useState)(!1),Ut=(0,Me.Z)(dt,2),Cn=Ut[0],On=Ut[1],$t="".concat(Nt,"-selection"),Mt=Xn||pr==="multiple"&&Ga===!1||pr==="tags"?Ca:"",Gt=pr==="tags"||pr==="multiple"&&Ga===!1||Tr&&(Xn||Cn);dr(function(){be(Pn.current.scrollWidth)},[Mt]);function yn(ra,rn,sa,Ua,Fn){return ie.createElement("span",{className:se()("".concat($t,"-item"),(0,Ze.Z)({},"".concat($t,"-item-disabled"),sa)),title:La(ra)},ie.createElement("span",{className:"".concat($t,"-item-content")},rn),Ua&&ie.createElement(Vn,{className:"".concat($t,"-item-remove"),onMouseDown:Nr,onClick:Fn,customizeIcon:Ko},"\xD7"))}function xt(ra,rn,sa,Ua,Fn){var xn=function(Mr){Nr(Mr),yt(!Xn)};return ie.createElement("span",{onMouseDown:xn},st({label:rn,value:ra,disabled:sa,closable:Ua,onClose:Fn}))}function Xt(ra){var rn=ra.disabled,sa=ra.label,Ua=ra.value,Fn=!Zr&&!rn,xn=sa;if(typeof Ie=="number"&&(typeof sa=="string"||typeof sa=="number")){var wr=String(xn);wr.length>Ie&&(xn="".concat(wr.slice(0,Ie),"..."))}var Mr=function(Br){Br&&Br.stopPropagation(),Zt(ra)};return typeof st=="function"?xt(Ua,xn,rn,Fn,Mr):yn(ra,xn,rn,Fn,Mr)}function qn(ra){var rn=typeof Se=="function"?Se(ra):Se;return yn({title:rn},rn,!1)}var ea=ie.createElement("div",{className:"".concat($t,"-search"),style:{width:xe},onFocus:function(){On(!0)},onBlur:function(){On(!1)}},ie.createElement(Ar,{ref:Xa,open:Xn,prefixCls:Nt,id:tt,inputElement:null,disabled:Zr,autoFocus:Sr,autoComplete:no,editable:Gt,activeDescendantId:Po,value:Mt,onKeyDown:gt,onMouseDown:en,onChange:Xe,onPaste:it,onCompositionStart:pn,onCompositionEnd:kn,tabIndex:wo,attrs:cn(je,!0)}),ie.createElement("span",{ref:Pn,className:"".concat($t,"-search-mirror"),"aria-hidden":!0},Mt,"\xA0")),Ln=ie.createElement(ja,{prefixCls:"".concat($t,"-overflow"),data:Bn,renderItem:Xt,renderRest:qn,suffix:ea,itemKey:Eo,maxCount:Ee});return ie.createElement(ie.Fragment,null,Ln,!Bn.length&&!Mt&&ie.createElement("span",{className:"".concat($t,"-placeholder")},mr))},da=bn,ro=function(je){var tt=je.inputElement,Nt=je.prefixCls,Bn=je.id,Xn=je.inputRef,Ca=je.disabled,Ga=je.autoFocus,Xa=je.autoComplete,mr=je.activeDescendantId,Zr=je.mode,pr=je.open,Tr=je.values,Sr=je.placeholder,no=je.tabIndex,Po=je.showSearch,wo=je.searchValue,Ko=je.activeValue,Ee=je.maxLength,Ie=je.onInputKeyDown,pt=je.onInputMouseDown,Se=je.onInputChange,st=je.onInputPaste,yt=je.onInputCompositionStart,Zt=je.onInputCompositionEnd,Xe=je.title,it=ie.useState(!1),gt=(0,Me.Z)(it,2),en=gt[0],pn=gt[1],kn=Zr==="combobox",Pn=kn||Po,zn=Tr[0],fe=wo||"";kn&&Ko&&!en&&(fe=Ko),ie.useEffect(function(){kn&&pn(!1)},[kn,Ko]);var xe=Zr!=="combobox"&&!pr&&!Po?!1:!!fe,be=Xe===void 0?La(zn):Xe,dt=function(){if(zn)return null;var Cn=xe?{visibility:"hidden"}:void 0;return ie.createElement("span",{className:"".concat(Nt,"-selection-placeholder"),style:Cn},Sr)};return ie.createElement(ie.Fragment,null,ie.createElement("span",{className:"".concat(Nt,"-selection-search")},ie.createElement(Ar,{ref:Xn,prefixCls:Nt,id:Bn,open:pr,inputElement:tt,disabled:Ca,autoFocus:Ga,autoComplete:Xa,editable:Pn,activeDescendantId:mr,value:fe,onKeyDown:Ie,onMouseDown:pt,onChange:function(Cn){pn(!0),Se(Cn)},onPaste:st,onCompositionStart:yt,onCompositionEnd:Zt,tabIndex:no,attrs:cn(je,!0),maxLength:kn?Ee:void 0})),!kn&&zn?ie.createElement("span",{className:"".concat(Nt,"-selection-item"),title:be,style:xe?{visibility:"hidden"}:void 0},zn.label):null,dt())},la=ro;function Ya(De){return![$e.ESC,$e.SHIFT,$e.BACKSPACE,$e.TAB,$e.WIN_KEY,$e.ALT,$e.META,$e.WIN_KEY_RIGHT,$e.CTRL,$e.SEMICOLON,$e.EQUALS,$e.CAPS_LOCK,$e.CONTEXT_MENU,$e.F1,$e.F2,$e.F3,$e.F4,$e.F5,$e.F6,$e.F7,$e.F8,$e.F9,$e.F10,$e.F11,$e.F12].includes(De)}var Bt=function(je,tt){var Nt=(0,ie.useRef)(null),Bn=(0,ie.useRef)(!1),Xn=je.prefixCls,Ca=je.open,Ga=je.mode,Xa=je.showSearch,mr=je.tokenWithEnter,Zr=je.autoClearSearchValue,pr=je.onSearch,Tr=je.onSearchSubmit,Sr=je.onToggleOpen,no=je.onInputKeyDown,Po=je.domRef;ie.useImperativeHandle(tt,function(){return{focus:function(){Nt.current.focus()},blur:function(){Nt.current.blur()}}});var wo=oa(0),Ko=(0,Me.Z)(wo,2),Ee=Ko[0],Ie=Ko[1],pt=function(fe){var xe=fe.which;(xe===$e.UP||xe===$e.DOWN)&&fe.preventDefault(),no&&no(fe),xe===$e.ENTER&&Ga==="tags"&&!Bn.current&&!Ca&&(Tr==null||Tr(fe.target.value)),Ya(xe)&&Sr(!0)},Se=function(){Ie(!0)},st=(0,ie.useRef)(null),yt=function(fe){pr(fe,!0,Bn.current)!==!1&&Sr(!0)},Zt=function(){Bn.current=!0},Xe=function(fe){Bn.current=!1,Ga!=="combobox"&&yt(fe.target.value)},it=function(fe){var xe=fe.target.value;if(mr&&st.current&&/[\r\n]/.test(st.current)){var be=st.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");xe=xe.replace(be,st.current)}st.current=null,yt(xe)},gt=function(fe){var xe=fe.clipboardData,be=xe.getData("text");st.current=be},en=function(fe){var xe=fe.target;if(xe!==Nt.current){var be=document.body.style.msTouchAction!==void 0;be?setTimeout(function(){Nt.current.focus()}):Nt.current.focus()}},pn=function(fe){var xe=Ee();fe.target!==Nt.current&&!xe&&Ga!=="combobox"&&fe.preventDefault(),(Ga!=="combobox"&&(!Xa||!xe)||!Ca)&&(Ca&&Zr!==!1&&pr("",!0,!1),Sr())},kn={inputRef:Nt,onInputKeyDown:pt,onInputMouseDown:Se,onInputChange:it,onInputPaste:gt,onInputCompositionStart:Zt,onInputCompositionEnd:Xe},Pn=Ga==="multiple"||Ga==="tags"?ie.createElement(da,(0,nt.Z)({},je,kn)):ie.createElement(la,(0,nt.Z)({},je,kn));return ie.createElement("div",{ref:Po,className:"".concat(Xn,"-selector"),onClick:en,onMouseDown:pn},Pn)},Yn=ie.forwardRef(Bt);Yn.displayName="Selector";var Dn=Yn,It=z(62709),ar=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],ga=function(je){var tt=je===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:tt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:tt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:tt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:tt,adjustY:1},htmlRegion:"scroll"}}},Ja=function(je,tt){var Nt=je.prefixCls,Bn=je.disabled,Xn=je.visible,Ca=je.children,Ga=je.popupElement,Xa=je.animation,mr=je.transitionName,Zr=je.dropdownStyle,pr=je.dropdownClassName,Tr=je.direction,Sr=Tr===void 0?"ltr":Tr,no=je.placement,Po=je.builtinPlacements,wo=je.dropdownMatchSelectWidth,Ko=je.dropdownRender,Ee=je.dropdownAlign,Ie=je.getPopupContainer,pt=je.empty,Se=je.getTriggerDOMNode,st=je.onPopupVisibleChange,yt=je.onPopupMouseEnter,Zt=(0,ze.Z)(je,ar),Xe="".concat(Nt,"-dropdown"),it=Ga;Ko&&(it=Ko(Ga));var gt=ie.useMemo(function(){return Po||ga(wo)},[Po,wo]),en=Xa?"".concat(Xe,"-").concat(Xa):mr,pn=typeof wo=="number",kn=ie.useMemo(function(){return pn?null:wo===!1?"minWidth":"width"},[wo,pn]),Pn=Zr;pn&&(Pn=(0,de.Z)((0,de.Z)({},Pn),{},{width:wo}));var zn=ie.useRef(null);return ie.useImperativeHandle(tt,function(){return{getPopupElement:function(){return zn.current}}}),ie.createElement(It.Z,(0,nt.Z)({},Zt,{showAction:st?["click"]:[],hideAction:st?["click"]:[],popupPlacement:no||(Sr==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:gt,prefixCls:Xe,popupTransitionName:en,popup:ie.createElement("div",{ref:zn,onMouseEnter:yt},it),stretch:kn,popupAlign:Ee,popupVisible:Xn,getPopupContainer:Ie,popupClassName:se()(pr,(0,Ze.Z)({},"".concat(Xe,"-empty"),pt)),popupStyle:Pn,getTriggerDOMNode:Se,onPopupVisibleChange:st}),Ca)},wa=ie.forwardRef(Ja);wa.displayName="SelectTrigger";var Io=wa,Yr=z(84506);function Zo(De,je){var tt=De.key,Nt;return"value"in De&&(Nt=De.value),tt!=null?tt:Nt!==void 0?Nt:"rc-index-key-".concat(je)}function ni(De,je){var tt=De||{},Nt=tt.label,Bn=tt.value,Xn=tt.options,Ca=tt.groupLabel,Ga=Nt||(je?"children":"label");return{label:Ga,value:Bn||"value",options:Xn||"options",groupLabel:Ca||Ga}}function vi(De){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tt=je.fieldNames,Nt=je.childrenAsData,Bn=[],Xn=ni(tt,!1),Ca=Xn.label,Ga=Xn.value,Xa=Xn.options,mr=Xn.groupLabel;function Zr(pr,Tr){pr.forEach(function(Sr){if(Tr||!(Xa in Sr)){var no=Sr[Ga];Bn.push({key:Zo(Sr,Bn.length),groupOption:Tr,data:Sr,label:Sr[Ca],value:no})}else{var Po=Sr[mr];Po===void 0&&Nt&&(Po=Sr.label),Bn.push({key:Zo(Sr,Bn.length),group:!0,data:Sr,label:Po}),Zr(Sr[Xa],!0)}})}return Zr(De,!1),Bn}function Da(De){var je=(0,de.Z)({},De);return"props"in je||Object.defineProperty(je,"props",{get:function(){return he(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),je}}),je}function yi(De,je){if(!je||!je.length)return null;var tt=!1;function Nt(Xn,Ca){var Ga=(0,Yr.Z)(Ca),Xa=Ga[0],mr=Ga.slice(1);if(!Xa)return[Xn];var Zr=Xn.split(Xa);return tt=tt||Zr.length>1,Zr.reduce(function(pr,Tr){return[].concat((0,x.Z)(pr),(0,x.Z)(Nt(Tr,mr)))},[]).filter(function(pr){return pr})}var Bn=Nt(De,je);return tt?Bn:null}var Hr=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Go=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function pi(De){return De==="tags"||De==="multiple"}var qa=ie.forwardRef(function(De,je){var tt,Nt,Bn=De.id,Xn=De.prefixCls,Ca=De.className,Ga=De.showSearch,Xa=De.tagRender,mr=De.direction,Zr=De.omitDomProps,pr=De.displayValues,Tr=De.onDisplayValuesChange,Sr=De.emptyOptions,no=De.notFoundContent,Po=no===void 0?"Not Found":no,wo=De.onClear,Ko=De.mode,Ee=De.disabled,Ie=De.loading,pt=De.getInputElement,Se=De.getRawInputElement,st=De.open,yt=De.defaultOpen,Zt=De.onDropdownVisibleChange,Xe=De.activeValue,it=De.onActiveValueChange,gt=De.activeDescendantId,en=De.searchValue,pn=De.autoClearSearchValue,kn=De.onSearch,Pn=De.onSearchSplit,zn=De.tokenSeparators,fe=De.allowClear,xe=De.suffixIcon,be=De.clearIcon,dt=De.OptionList,Ut=De.animation,Cn=De.transitionName,On=De.dropdownStyle,$t=De.dropdownClassName,Mt=De.dropdownMatchSelectWidth,Gt=De.dropdownRender,yn=De.dropdownAlign,xt=De.placement,Xt=De.builtinPlacements,qn=De.getPopupContainer,ea=De.showAction,Ln=ea===void 0?[]:ea,ra=De.onFocus,rn=De.onBlur,sa=De.onKeyUp,Ua=De.onKeyDown,Fn=De.onMouseDown,xn=(0,ze.Z)(De,Hr),wr=pi(Ko),Mr=(Ga!==void 0?Ga:wr)||Ko==="combobox",qr=(0,de.Z)({},xn);Go.forEach(function(Ba){delete qr[Ba]}),Zr==null||Zr.forEach(function(Ba){delete qr[Ba]});var Br=ie.useState(!1),eo=(0,Me.Z)(Br,2),Ra=eo[0],tr=eo[1];ie.useEffect(function(){tr(Ke())},[]);var Va=ie.useRef(null),Rr=ie.useRef(null),jr=ie.useRef(null),Er=ie.useRef(null),io=ie.useRef(null),Gr=mn(),Ur=(0,Me.Z)(Gr,3),So=Ur[0],Ro=Ur[1],jo=Ur[2];ie.useImperativeHandle(je,function(){var Ba,Na;return{focus:(Ba=Er.current)===null||Ba===void 0?void 0:Ba.focus,blur:(Na=Er.current)===null||Na===void 0?void 0:Na.blur,scrollTo:function(fr){var to;return(to=io.current)===null||to===void 0?void 0:to.scrollTo(fr)}}});var Mo=ie.useMemo(function(){var Ba;if(Ko!=="combobox")return en;var Na=(Ba=pr[0])===null||Ba===void 0?void 0:Ba.value;return typeof Na=="string"||typeof Na=="number"?String(Na):""},[en,Ko,pr]),li=Ko==="combobox"&&typeof pt=="function"&&pt()||null,oi=typeof Se=="function"&&Se(),Xo=ut(Rr,oi==null||(tt=oi.props)===null||tt===void 0?void 0:tt.ref),Yo=ie.useState(!1),Uo=(0,Me.Z)(Yo,2),lo=Uo[0],Ao=Uo[1];b(function(){Ao(!0)},[]);var si=re(!1,{defaultValue:yt,value:st}),Qo=(0,Me.Z)(si,2),Ei=Qo[0],fo=Qo[1],Za=lo?Ei:!1,Vr=!Po&&Sr;(Ee||Vr&&Za&&Ko==="combobox")&&(Za=!1);var Wr=Vr?!1:Za,ur=ie.useCallback(function(Ba){var Na=Ba!==void 0?Ba:!Za;Ee||(fo(Na),Za!==Na&&(Zt==null||Zt(Na)))},[Ee,Za,fo,Zt]),yo=ie.useMemo(function(){return(zn||[]).some(function(Ba){return[`
`,`\r
`].includes(Ba)})},[zn]),di=function(Na,$a,fr){var to=!0,ko=Na;it==null||it(null);var Co=fr?null:yi(Na,zn);return Ko!=="combobox"&&Co&&(ko="",Pn==null||Pn(Co),ur(!1),to=!1),kn&&Mo!==ko&&kn(ko,{source:$a?"typing":"effect"}),to},Pi=function(Na){!Na||!Na.trim()||kn(Na,{source:"submit"})};ie.useEffect(function(){!Za&&!wr&&Ko!=="combobox"&&di("",!1,!1)},[Za]),ie.useEffect(function(){Ei&&Ee&&fo(!1),Ee&&Ro(!1)},[Ee]);var Di=oa(),Ri=(0,Me.Z)(Di,2),ge=Ri[0],ve=Ri[1],Le=function(Na){var $a=ge(),fr=Na.which;if(fr===$e.ENTER&&(Ko!=="combobox"&&Na.preventDefault(),Za||ur(!0)),ve(!!Mo),fr===$e.BACKSPACE&&!$a&&wr&&!Mo&&pr.length){for(var to=(0,x.Z)(pr),ko=null,Co=to.length-1;Co>=0;Co-=1){var Bo=to[Co];if(!Bo.disabled){to.splice(Co,1),ko=Bo;break}}ko&&Tr(to,{type:"remove",values:[ko]})}for(var Jo=arguments.length,$o=new Array(Jo>1?Jo-1:0),mi=1;mi<Jo;mi++)$o[mi-1]=arguments[mi];if(Za&&io.current){var xi;(xi=io.current).onKeyDown.apply(xi,[Na].concat($o))}Ua==null||Ua.apply(void 0,[Na].concat($o))},Ve=function(Na){for(var $a=arguments.length,fr=new Array($a>1?$a-1:0),to=1;to<$a;to++)fr[to-1]=arguments[to];if(Za&&io.current){var ko;(ko=io.current).onKeyUp.apply(ko,[Na].concat(fr))}sa==null||sa.apply(void 0,[Na].concat(fr))},rt=function(Na){var $a=pr.filter(function(fr){return fr!==Na});Tr($a,{type:"remove",values:[Na]})},ct=ie.useRef(!1),_t=function(){Ro(!0),Ee||(ra&&!ct.current&&ra.apply(void 0,arguments),Ln.includes("focus")&&ur(!0)),ct.current=!0},on=function(){Ro(!1,function(){ct.current=!1,ur(!1)}),!Ee&&(Mo&&(Ko==="tags"?kn(Mo,{source:"submit"}):Ko==="multiple"&&kn("",{source:"blur"})),rn&&rn.apply(void 0,arguments))},Et=[];ie.useEffect(function(){return function(){Et.forEach(function(Ba){return clearTimeout(Ba)}),Et.splice(0,Et.length)}},[]);var bt=function(Na){var $a,fr=Na.target,to=($a=jr.current)===null||$a===void 0?void 0:$a.getPopupElement();if(to&&to.contains(fr)){var ko=setTimeout(function(){var $o=Et.indexOf(ko);if($o!==-1&&Et.splice($o,1),jo(),!Ra&&!to.contains(document.activeElement)){var mi;(mi=Er.current)===null||mi===void 0||mi.focus()}});Et.push(ko)}for(var Co=arguments.length,Bo=new Array(Co>1?Co-1:0),Jo=1;Jo<Co;Jo++)Bo[Jo-1]=arguments[Jo];Fn==null||Fn.apply(void 0,[Na].concat(Bo))},un=ie.useState({}),qt=(0,Me.Z)(un,2),Zn=qt[1];function pa(){Zn({})}var ua;oi&&(ua=function(Na){ur(Na)}),Sn(function(){var Ba;return[Va.current,(Ba=jr.current)===null||Ba===void 0?void 0:Ba.getPopupElement()]},Wr,ur,!!oi);var vr=ie.useMemo(function(){return(0,de.Z)((0,de.Z)({},De),{},{notFoundContent:Po,open:Za,triggerOpen:Wr,id:Bn,showSearch:Mr,multiple:wr,toggleOpen:ur})},[De,Po,Wr,Za,Bn,Mr,wr,ur]),nr=!!xe||Ie,Pr;nr&&(Pr=ie.createElement(Vn,{className:se()("".concat(Xn,"-arrow"),(0,Ze.Z)({},"".concat(Xn,"-arrow-loading"),Ie)),customizeIcon:xe,customizeIconProps:{loading:Ie,searchValue:Mo,open:Za,focused:So,showSearch:Mr}}));var hn=function(){var Na;wo==null||wo(),(Na=Er.current)===null||Na===void 0||Na.focus(),Tr([],{type:"clear",values:pr}),di("",!1,!1)},ma=fa(Xn,hn,pr,fe,be,Ee,Mo,Ko),Fa=ma.allowClear,Aa=ma.clearIcon,Ia=ie.createElement(dt,{ref:io}),or=se()(Xn,Ca,(Nt={},(0,Ze.Z)(Nt,"".concat(Xn,"-focused"),So),(0,Ze.Z)(Nt,"".concat(Xn,"-multiple"),wr),(0,Ze.Z)(Nt,"".concat(Xn,"-single"),!wr),(0,Ze.Z)(Nt,"".concat(Xn,"-allow-clear"),fe),(0,Ze.Z)(Nt,"".concat(Xn,"-show-arrow"),nr),(0,Ze.Z)(Nt,"".concat(Xn,"-disabled"),Ee),(0,Ze.Z)(Nt,"".concat(Xn,"-loading"),Ie),(0,Ze.Z)(Nt,"".concat(Xn,"-open"),Za),(0,Ze.Z)(Nt,"".concat(Xn,"-customize-input"),li),(0,Ze.Z)(Nt,"".concat(Xn,"-show-search"),Mr),Nt)),$r=ie.createElement(Io,{ref:jr,disabled:Ee,prefixCls:Xn,visible:Wr,popupElement:Ia,animation:Ut,transitionName:Cn,dropdownStyle:On,dropdownClassName:$t,direction:mr,dropdownMatchSelectWidth:Mt,dropdownRender:Gt,dropdownAlign:yn,placement:xt,builtinPlacements:Xt,getPopupContainer:qn,empty:Sr,getTriggerDOMNode:function(){return Rr.current},onPopupVisibleChange:ua,onPopupMouseEnter:pa},oi?ie.cloneElement(oi,{ref:Xo}):ie.createElement(Dn,(0,nt.Z)({},De,{domRef:Rr,prefixCls:Xn,inputElement:li,ref:Er,id:Bn,showSearch:Mr,autoClearSearchValue:pn,mode:Ko,activeDescendantId:gt,tagRender:Xa,values:pr,open:Za,onToggleOpen:ur,activeValue:Xe,searchValue:Mo,onSearch:di,onSearchSubmit:Pi,onRemove:rt,tokenWithEnter:yo}))),cr;return oi?cr=$r:cr=ie.createElement("div",(0,nt.Z)({className:or},qr,{ref:Va,onMouseDown:bt,onKeyDown:Le,onKeyUp:Ve,onFocus:_t,onBlur:on}),So&&!Za&&ie.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(pr.map(function(Ba){var Na=Ba.label,$a=Ba.value;return["number","string"].includes((0,_e.Z)(Na))?Na:$a}).join(", "))),$r,Pr,Fa&&Aa),ie.createElement(mt.Provider,{value:vr},cr)}),Ir=qa,vo=function(De,je){var tt=ie.useRef({values:new Map,options:new Map}),Nt=ie.useMemo(function(){var Xn=tt.current,Ca=Xn.values,Ga=Xn.options,Xa=De.map(function(pr){if(pr.label===void 0){var Tr;return(0,de.Z)((0,de.Z)({},pr),{},{label:(Tr=Ca.get(pr.value))===null||Tr===void 0?void 0:Tr.label})}return pr}),mr=new Map,Zr=new Map;return Xa.forEach(function(pr){mr.set(pr.value,pr),Zr.set(pr.value,je.get(pr.value)||Ga.get(pr.value))}),tt.current.values=mr,tt.current.options=Zr,Xa},[De,je]),Bn=ie.useCallback(function(Xn){return je.get(Xn)||tt.current.options.get(Xn)},[je]);return[Nt,Bn]};function ir(De,je){return er(De).join("").toUpperCase().includes(je)}var fi=function(De,je,tt,Nt,Bn){return ie.useMemo(function(){if(!tt||Nt===!1)return De;var Xn=je.options,Ca=je.label,Ga=je.value,Xa=[],mr=typeof Nt=="function",Zr=tt.toUpperCase(),pr=mr?Nt:function(Sr,no){return Bn?ir(no[Bn],Zr):no[Xn]?ir(no[Ca!=="children"?Ca:"label"],Zr):ir(no[Ga],Zr)},Tr=mr?function(Sr){return Da(Sr)}:function(Sr){return Sr};return De.forEach(function(Sr){if(Sr[Xn]){var no=pr(tt,Tr(Sr));if(no)Xa.push(Sr);else{var Po=Sr[Xn].filter(function(wo){return pr(tt,Tr(wo))});Po.length&&Xa.push((0,de.Z)((0,de.Z)({},Sr),{},(0,Ze.Z)({},Xn,Po)))}return}pr(tt,Tr(Sr))&&Xa.push(Sr)}),Xa},[De,Nt,Bn,tt,je])},ci=0,Fi=y();function ei(){var De;return Fi?(De=ci,ci+=1):De="TEST_OR_SSR",De}function hi(De){var je=ie.useState(),tt=(0,Me.Z)(je,2),Nt=tt[0],Bn=tt[1];return ie.useEffect(function(){Bn("rc_select_".concat(ei()))},[]),De||Nt}function Wt(De){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tt=[];return ie.Children.forEach(De,function(Nt){Nt==null&&!je.keepEmpty||(Array.isArray(Nt)?tt=tt.concat(Wt(Nt)):(0,Fe.isFragment)(Nt)&&Nt.props?tt=tt.concat(Wt(Nt.props.children,je)):tt.push(Nt))}),tt}var Kt=["children","value"],aa=["children"];function xa(De){var je=De,tt=je.key,Nt=je.props,Bn=Nt.children,Xn=Nt.value,Ca=(0,ze.Z)(Nt,Kt);return(0,de.Z)({key:tt,value:Xn!==void 0?Xn:tt,children:Bn},Ca)}function Ka(De){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Wt(De).map(function(tt,Nt){if(!ie.isValidElement(tt)||!tt.type)return null;var Bn=tt,Xn=Bn.type.isSelectOptGroup,Ca=Bn.key,Ga=Bn.props,Xa=Ga.children,mr=(0,ze.Z)(Ga,aa);return je||!Xn?xa(tt):(0,de.Z)((0,de.Z)({key:"__RC_SELECT_GRP__".concat(Ca===null?Nt:Ca,"__"),label:Ca},mr),{},{options:Ka(Xa)})}).filter(function(tt){return tt})}function Cr(De,je,tt,Nt,Bn){return ie.useMemo(function(){var Xn=De,Ca=!De;Ca&&(Xn=Ka(je));var Ga=new Map,Xa=new Map,mr=function(Tr,Sr,no){no&&typeof no=="string"&&Tr.set(Sr[no],Sr)};function Zr(pr){for(var Tr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Sr=0;Sr<pr.length;Sr+=1){var no=pr[Sr];!no[tt.options]||Tr?(Ga.set(no[tt.value],no),mr(Xa,no,tt.label),mr(Xa,no,Nt),mr(Xa,no,Bn)):Zr(no[tt.options],!0)}}return Zr(Xn),{options:Xn,valueOptions:Ga,labelOptions:Xa}},[De,je,tt,Nt,Bn])}function po(De){var je=ie.useRef();je.current=De;var tt=ie.useCallback(function(){return je.current.apply(je,arguments)},[]);return tt}var Lo=function(){return null};Lo.isSelectOptGroup=!0;var rr=Lo,zo=function(){return null};zo.isSelectOption=!0;var ai=zo;function ii(De,je){var tt=(0,de.Z)({},De);return Array.isArray(je)&&je.forEach(function(Nt){delete tt[Nt]}),tt}var oo=z(73299),tn=ie.createContext(null),gn=tn;function Un(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var qe=["disabled","title","children","style","className"];function Qn(De){return typeof De=="string"||typeof De=="number"}var Ma=function(je,tt){var Nt=ht(),Bn=Nt.prefixCls,Xn=Nt.id,Ca=Nt.open,Ga=Nt.multiple,Xa=Nt.mode,mr=Nt.searchValue,Zr=Nt.toggleOpen,pr=Nt.notFoundContent,Tr=Nt.onPopupScroll,Sr=ie.useContext(gn),no=Sr.flattenOptions,Po=Sr.onActiveValue,wo=Sr.defaultActiveFirstOption,Ko=Sr.onSelect,Ee=Sr.menuItemSelectedIcon,Ie=Sr.rawValues,pt=Sr.fieldNames,Se=Sr.virtual,st=Sr.direction,yt=Sr.listHeight,Zt=Sr.listItemHeight,Xe="".concat(Bn,"-item"),it=at(function(){return no},[Ca,no],function(yn,xt){return xt[0]&&yn[1]!==xt[1]}),gt=ie.useRef(null),en=function(xt){xt.preventDefault()},pn=function(xt){gt.current&&gt.current.scrollTo(typeof xt=="number"?{index:xt}:xt)},kn=function(xt){for(var Xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,qn=it.length,ea=0;ea<qn;ea+=1){var Ln=(xt+ea*Xt+qn)%qn,ra=it[Ln],rn=ra.group,sa=ra.data;if(!rn&&!sa.disabled)return Ln}return-1},Pn=ie.useState(function(){return kn(0)}),zn=(0,Me.Z)(Pn,2),fe=zn[0],xe=zn[1],be=function(xt){var Xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;xe(xt);var qn={source:Xt?"keyboard":"mouse"},ea=it[xt];if(!ea){Po(null,-1,qn);return}Po(ea.value,xt,qn)};(0,ie.useEffect)(function(){be(wo!==!1?kn(0):-1)},[it.length,mr]);var dt=ie.useCallback(function(yn){return Ie.has(yn)&&Xa!=="combobox"},[Xa,(0,x.Z)(Ie).toString(),Ie.size]);(0,ie.useEffect)(function(){var yn=setTimeout(function(){if(!Ga&&Ca&&Ie.size===1){var Xt=Array.from(Ie)[0],qn=it.findIndex(function(ea){var Ln=ea.data;return Ln.value===Xt});qn!==-1&&(be(qn),pn(qn))}});if(Ca){var xt;(xt=gt.current)===null||xt===void 0||xt.scrollTo(void 0)}return function(){return clearTimeout(yn)}},[Ca,mr,no.length]);var Ut=function(xt){xt!==void 0&&Ko(xt,{selected:!Ie.has(xt)}),Ga||Zr(!1)};if(ie.useImperativeHandle(tt,function(){return{onKeyDown:function(xt){var Xt=xt.which,qn=xt.ctrlKey;switch(Xt){case $e.N:case $e.P:case $e.UP:case $e.DOWN:{var ea=0;if(Xt===$e.UP?ea=-1:Xt===$e.DOWN?ea=1:Un()&&qn&&(Xt===$e.N?ea=1:Xt===$e.P&&(ea=-1)),ea!==0){var Ln=kn(fe+ea,ea);pn(Ln),be(Ln,!0)}break}case $e.ENTER:{var ra=it[fe];ra&&!ra.data.disabled?Ut(ra.value):Ut(void 0),Ca&&xt.preventDefault();break}case $e.ESC:Zr(!1),Ca&&xt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(xt){pn(xt)}}}),it.length===0)return ie.createElement("div",{role:"listbox",id:"".concat(Xn,"_list"),className:"".concat(Xe,"-empty"),onMouseDown:en},pr);var Cn=Object.keys(pt).map(function(yn){return pt[yn]}),On=function(xt){return xt.label};function $t(yn,xt){var Xt=yn.group;return{role:Xt?"presentation":"option",id:"".concat(Xn,"_list_").concat(xt)}}var Mt=function(xt){var Xt=it[xt];if(!Xt)return null;var qn=Xt.data||{},ea=qn.value,Ln=Xt.group,ra=cn(qn,!0),rn=On(Xt);return Xt?ie.createElement("div",(0,nt.Z)({"aria-label":typeof rn=="string"&&!Ln?rn:null},ra,{key:xt},$t(Xt,xt),{"aria-selected":dt(ea)}),ea):null},Gt={role:"listbox",id:"".concat(Xn,"_list")};return ie.createElement(ie.Fragment,null,Se&&ie.createElement("div",(0,nt.Z)({},Gt,{style:{height:0,width:0,overflow:"hidden"}}),Mt(fe-1),Mt(fe),Mt(fe+1)),ie.createElement(oo.Z,{itemKey:"key",ref:gt,data:it,height:yt,itemHeight:Zt,fullHeight:!1,onMouseDown:en,onScroll:Tr,virtual:Se,direction:st,innerProps:Se?null:Gt},function(yn,xt){var Xt,qn=yn.group,ea=yn.groupOption,Ln=yn.data,ra=yn.label,rn=yn.value,sa=Ln.key;if(qn){var Ua,Fn=(Ua=Ln.title)!==null&&Ua!==void 0?Ua:Qn(ra)?ra.toString():void 0;return ie.createElement("div",{className:se()(Xe,"".concat(Xe,"-group")),title:Fn},ra!==void 0?ra:sa)}var xn=Ln.disabled,wr=Ln.title,Mr=Ln.children,qr=Ln.style,Br=Ln.className,eo=(0,ze.Z)(Ln,qe),Ra=ii(eo,Cn),tr=dt(rn),Va="".concat(Xe,"-option"),Rr=se()(Xe,Va,Br,(Xt={},(0,Ze.Z)(Xt,"".concat(Va,"-grouped"),ea),(0,Ze.Z)(Xt,"".concat(Va,"-active"),fe===xt&&!xn),(0,Ze.Z)(Xt,"".concat(Va,"-disabled"),xn),(0,Ze.Z)(Xt,"".concat(Va,"-selected"),tr),Xt)),jr=On(yn),Er=!Ee||typeof Ee=="function"||tr,io=typeof jr=="number"?jr:jr||rn,Gr=Qn(io)?io.toString():void 0;return wr!==void 0&&(Gr=wr),ie.createElement("div",(0,nt.Z)({},cn(Ra),Se?{}:$t(yn,xt),{"aria-selected":tr,className:Rr,title:Gr,onMouseMove:function(){fe===xt||xn||be(xt)},onClick:function(){xn||Ut(rn)},style:qr}),ie.createElement("div",{className:"".concat(Va,"-content")},io),ie.isValidElement(Ee)||tr,Er&&ie.createElement(Vn,{className:"".concat(Xe,"-option-state"),customizeIcon:Ee,customizeIconProps:{isSelected:tr}},tr?"\u2713":null))}))},Ta=ie.forwardRef(Ma);Ta.displayName="OptionList";var En=Ta;function Mn(De){var je=De.mode,tt=De.options,Nt=De.children,Bn=De.backfill,Xn=De.allowClear,Ca=De.placeholder,Ga=De.getInputElement,Xa=De.showSearch,mr=De.onSearch,Zr=De.defaultOpen,pr=De.autoFocus,Tr=De.labelInValue,Sr=De.value,no=De.inputValue,Po=De.optionLabelProp,wo=isMultiple(je),Ko=Xa!==void 0?Xa:wo||je==="combobox",Ee=tt||convertChildrenToData(Nt);if(warning(je!=="tags"||Ee.every(function(st){return!st.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),je==="tags"||je==="combobox"){var Ie=Ee.some(function(st){return st.options?st.options.some(function(yt){return typeof("value"in yt?yt.value:yt.key)=="number"}):typeof("value"in st?st.value:st.key)=="number"});warning(!Ie,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(je!=="combobox"||!Po,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(je==="combobox"||!Bn,"`backfill` only works with `combobox` mode."),warning(je==="combobox"||!Ga,"`getInputElement` only work with `combobox` mode."),noteOnce(je!=="combobox"||!Ga||!Xn||!Ca,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),mr&&!Ko&&je!=="combobox"&&je!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Zr||pr,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Sr!=null){var pt=toArray(Sr);warning(!Tr||pt.every(function(st){return _typeof(st)==="object"&&("key"in st||"value"in st)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!wo||Array.isArray(Sr),"`value` should be array when `mode` is `multiple` or `tags`")}if(Nt){var Se=null;toNodeArray(Nt).some(function(st){if(!React.isValidElement(st)||!st.type)return!1;var yt=st,Zt=yt.type;if(Zt.isSelectOption)return!1;if(Zt.isSelectOptGroup){var Xe=toNodeArray(st.props.children).every(function(it){return!React.isValidElement(it)||!st.type||it.type.isSelectOption?!0:(Se=it.type,!1)});return!Xe}return Se=Zt,!0}),Se&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Se.displayName||Se.name||Se,"`.")),warning(no===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Rn(De,je){if(De){var tt=function Nt(Bn){for(var Xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ca=0;Ca<Bn.length;Ca++){var Ga=Bn[Ca];if(Ga[je==null?void 0:je.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Xn&&Array.isArray(Ga[je==null?void 0:je.options])&&Nt(Ga[je==null?void 0:je.options],!0))break}};tt(De)}}var ka=null,xr=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Or=["inputValue"];function Kr(De){return!De||(0,_e.Z)(De)!=="object"}var uo=ie.forwardRef(function(De,je){var tt=De.id,Nt=De.mode,Bn=De.prefixCls,Xn=Bn===void 0?"rc-select":Bn,Ca=De.backfill,Ga=De.fieldNames,Xa=De.inputValue,mr=De.searchValue,Zr=De.onSearch,pr=De.autoClearSearchValue,Tr=pr===void 0?!0:pr,Sr=De.onSelect,no=De.onDeselect,Po=De.dropdownMatchSelectWidth,wo=Po===void 0?!0:Po,Ko=De.filterOption,Ee=De.filterSort,Ie=De.optionFilterProp,pt=De.optionLabelProp,Se=De.options,st=De.children,yt=De.defaultActiveFirstOption,Zt=De.menuItemSelectedIcon,Xe=De.virtual,it=De.direction,gt=De.listHeight,en=gt===void 0?200:gt,pn=De.listItemHeight,kn=pn===void 0?20:pn,Pn=De.value,zn=De.defaultValue,fe=De.labelInValue,xe=De.onChange,be=(0,ze.Z)(De,xr),dt=hi(tt),Ut=pi(Nt),Cn=!!(!Se&&st),On=ie.useMemo(function(){return Ko===void 0&&Nt==="combobox"?!1:Ko},[Ko,Nt]),$t=ie.useMemo(function(){return ni(Ga,Cn)},[JSON.stringify(Ga),Cn]),Mt=re("",{value:mr!==void 0?mr:Xa,postState:function(Vr){return Vr||""}}),Gt=(0,Me.Z)(Mt,2),yn=Gt[0],xt=Gt[1],Xt=Cr(Se,st,$t,Ie,pt),qn=Xt.valueOptions,ea=Xt.labelOptions,Ln=Xt.options,ra=ie.useCallback(function(Za){var Vr=er(Za);return Vr.map(function(Wr){var ur,yo,di,Pi,Di;if(Kr(Wr))ur=Wr;else{var Ri;di=Wr.key,yo=Wr.label,ur=(Ri=Wr.value)!==null&&Ri!==void 0?Ri:di}var ge=qn.get(ur);if(ge){var ve;if(yo===void 0&&(yo=ge==null?void 0:ge[pt||$t.label]),di===void 0&&(di=(ve=ge==null?void 0:ge.key)!==null&&ve!==void 0?ve:ur),Pi=ge==null?void 0:ge.disabled,Di=ge==null?void 0:ge.title,0)var Le}return{label:yo,value:ur,key:di,disabled:Pi,title:Di}})},[$t,pt,qn]),rn=re(zn,{value:Pn}),sa=(0,Me.Z)(rn,2),Ua=sa[0],Fn=sa[1],xn=ie.useMemo(function(){var Za,Vr=ra(Ua);return Nt==="combobox"&&Yt((Za=Vr[0])===null||Za===void 0?void 0:Za.value)?[]:Vr},[Ua,ra,Nt]),wr=vo(xn,qn),Mr=(0,Me.Z)(wr,2),qr=Mr[0],Br=Mr[1],eo=ie.useMemo(function(){if(!Nt&&qr.length===1){var Za=qr[0];if(Za.value===null&&(Za.label===null||Za.label===void 0))return[]}return qr.map(function(Vr){var Wr;return(0,de.Z)((0,de.Z)({},Vr),{},{label:(Wr=Vr.label)!==null&&Wr!==void 0?Wr:Vr.value})})},[Nt,qr]),Ra=ie.useMemo(function(){return new Set(qr.map(function(Za){return Za.value}))},[qr]);ie.useEffect(function(){if(Nt==="combobox"){var Za,Vr=(Za=qr[0])===null||Za===void 0?void 0:Za.value;xt(sn(Vr)?String(Vr):"")}},[qr]);var tr=po(function(Za,Vr){var Wr,ur=Vr!=null?Vr:Za;return Wr={},(0,Ze.Z)(Wr,$t.value,Za),(0,Ze.Z)(Wr,$t.label,ur),Wr}),Va=ie.useMemo(function(){if(Nt!=="tags")return Ln;var Za=(0,x.Z)(Ln),Vr=function(ur){return qn.has(ur)};return(0,x.Z)(qr).sort(function(Wr,ur){return Wr.value<ur.value?-1:1}).forEach(function(Wr){var ur=Wr.value;Vr(ur)||Za.push(tr(ur,Wr.label))}),Za},[tr,Ln,qn,qr,Nt]),Rr=fi(Va,$t,yn,On,Ie),jr=ie.useMemo(function(){return Nt!=="tags"||!yn||Rr.some(function(Za){return Za[Ie||"value"]===yn})||Rr.some(function(Za){return Za[$t.value]===yn})?Rr:[tr(yn)].concat((0,x.Z)(Rr))},[tr,Ie,Nt,Rr,yn,$t]),Er=ie.useMemo(function(){return Ee?(0,x.Z)(jr).sort(function(Za,Vr){return Ee(Za,Vr)}):jr},[jr,Ee]),io=ie.useMemo(function(){return vi(Er,{fieldNames:$t,childrenAsData:Cn})},[Er,$t,Cn]),Gr=function(Vr){var Wr=ra(Vr);if(Fn(Wr),xe&&(Wr.length!==qr.length||Wr.some(function(di,Pi){var Di;return((Di=qr[Pi])===null||Di===void 0?void 0:Di.value)!==(di==null?void 0:di.value)}))){var ur=fe?Wr:Wr.map(function(di){return di.value}),yo=Wr.map(function(di){return Da(Br(di.value))});xe(Ut?ur:ur[0],Ut?yo:yo[0])}},Ur=ie.useState(null),So=(0,Me.Z)(Ur,2),Ro=So[0],jo=So[1],Mo=ie.useState(0),li=(0,Me.Z)(Mo,2),oi=li[0],Xo=li[1],Yo=yt!==void 0?yt:Nt!=="combobox",Uo=ie.useCallback(function(Za,Vr){var Wr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ur=Wr.source,yo=ur===void 0?"keyboard":ur;Xo(Vr),Ca&&Nt==="combobox"&&Za!==null&&yo==="keyboard"&&jo(String(Za))},[Ca,Nt]),lo=function(Vr,Wr,ur){var yo=function(){var ct,_t=Br(Vr);return[fe?{label:_t==null?void 0:_t[$t.label],value:Vr,key:(ct=_t==null?void 0:_t.key)!==null&&ct!==void 0?ct:Vr}:Vr,Da(_t)]};if(Wr&&Sr){var di=yo(),Pi=(0,Me.Z)(di,2),Di=Pi[0],Ri=Pi[1];Sr(Di,Ri)}else if(!Wr&&no&&ur!=="clear"){var ge=yo(),ve=(0,Me.Z)(ge,2),Le=ve[0],Ve=ve[1];no(Le,Ve)}},Ao=po(function(Za,Vr){var Wr,ur=Ut?Vr.selected:!0;ur?Wr=Ut?[].concat((0,x.Z)(qr),[Za]):[Za]:Wr=qr.filter(function(yo){return yo.value!==Za}),Gr(Wr),lo(Za,ur),Nt==="combobox"?jo(""):(!pi||Tr)&&(xt(""),jo(""))}),si=function(Vr,Wr){Gr(Vr);var ur=Wr.type,yo=Wr.values;(ur==="remove"||ur==="clear")&&yo.forEach(function(di){lo(di.value,!1,ur)})},Qo=function(Vr,Wr){if(xt(Vr),jo(null),Wr.source==="submit"){var ur=(Vr||"").trim();if(ur){var yo=Array.from(new Set([].concat((0,x.Z)(Ra),[ur])));Gr(yo),lo(ur,!0),xt("")}return}Wr.source!=="blur"&&(Nt==="combobox"&&Gr(Vr),Zr==null||Zr(Vr))},Ei=function(Vr){var Wr=Vr;Nt!=="tags"&&(Wr=Vr.map(function(yo){var di=ea.get(yo);return di==null?void 0:di.value}).filter(function(yo){return yo!==void 0}));var ur=Array.from(new Set([].concat((0,x.Z)(Ra),(0,x.Z)(Wr))));Gr(ur),ur.forEach(function(yo){lo(yo,!0)})},fo=ie.useMemo(function(){var Za=Xe!==!1&&wo!==!1;return(0,de.Z)((0,de.Z)({},Xt),{},{flattenOptions:io,onActiveValue:Uo,defaultActiveFirstOption:Yo,onSelect:Ao,menuItemSelectedIcon:Zt,rawValues:Ra,fieldNames:$t,virtual:Za,direction:it,listHeight:en,listItemHeight:kn,childrenAsData:Cn})},[Xt,io,Uo,Yo,Ao,Zt,Ra,$t,Xe,wo,en,kn,Cn]);return ie.createElement(gn.Provider,{value:fo},ie.createElement(Ir,(0,nt.Z)({},be,{id:dt,prefixCls:Xn,ref:je,omitDomProps:Or,mode:Nt,displayValues:eo,onDisplayValuesChange:si,direction:it,searchValue:yn,onSearch:Qo,autoClearSearchValue:Tr,onSearchSplit:Ei,dropdownMatchSelectWidth:wo,OptionList:En,emptyOptions:!io.length,activeValue:Ro,activeDescendantId:"".concat(dt,"_list_").concat(oi)})))}),yr=uo;yr.Option=ai,yr.OptGroup=rr;var Ha=null,Hn=null,Tn=z(17341);function Oa(De){var je=ie.useRef(!1),tt=ie.useState(De),Nt=(0,Me.Z)(tt,2),Bn=Nt[0],Xn=Nt[1];ie.useEffect(function(){return je.current=!1,function(){je.current=!0}},[]);function Ca(Ga,Xa){Xa&&je.current||Xn(Ga)}return[Bn,Ca]}function Lr(De){return De!==void 0}function we(De,je){var tt=je||{},Nt=tt.defaultValue,Bn=tt.value,Xn=tt.onChange,Ca=tt.postState,Ga=Oa(function(){return Lr(Bn)?Bn:Lr(Nt)?typeof Nt=="function"?Nt():Nt:typeof De=="function"?De():De}),Xa=(0,Me.Z)(Ga,2),mr=Xa[0],Zr=Xa[1],pr=Bn!==void 0?Bn:mr,Tr=Ca?Ca(pr):pr,Sr=Ot(Xn),no=Oa([pr]),Po=(0,Me.Z)(no,2),wo=Po[0],Ko=Po[1];Vt(function(){var Ie=wo[0];mr!==Ie&&Sr(mr,Ie)},[wo]),Vt(function(){Lr(Bn)||Zr(Bn)},[Bn]);var Ee=Ot(function(Ie,pt){Zr(Ie,pt),Ko([pr],pt)});return[Tr,Ee]}var an=ie.createContext(null),wn=an,Wn="__rc_cascader_search_mark__",Ct=function(je,tt,Nt){var Bn=Nt.label;return tt.some(function(Xn){return String(Xn[Bn]).toLowerCase().includes(je.toLowerCase())})},jn=function(je,tt,Nt,Bn){return tt.map(function(Xn){return Xn[Bn.label]}).join(" / ")},Gn=function(De,je,tt,Nt,Bn,Xn){var Ca=Bn.filter,Ga=Ca===void 0?Ct:Ca,Xa=Bn.render,mr=Xa===void 0?jn:Xa,Zr=Bn.limit,pr=Zr===void 0?50:Zr,Tr=Bn.sort;return ie.useMemo(function(){var Sr=[];if(!De)return[];function no(Po,wo){var Ko=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Po.forEach(function(Ee){if(!(!Tr&&pr!==!1&&pr>0&&Sr.length>=pr)){var Ie=[].concat((0,x.Z)(wo),[Ee]),pt=Ee[tt.children],Se=Ko||Ee.disabled;if((!pt||pt.length===0||Xn)&&Ga(De,Ie,{label:tt.label})){var st;Sr.push((0,de.Z)((0,de.Z)({},Ee),{},(st={disabled:Se},(0,Ze.Z)(st,tt.label,mr(De,Ie,Nt,tt)),(0,Ze.Z)(st,Wn,Ie),(0,Ze.Z)(st,tt.children,void 0),st)))}pt&&no(Ee[tt.children],Ie,Se)}})}return no(je,[]),Tr&&Sr.sort(function(Po,wo){return Tr(Po[Wn],wo[Wn],De,tt)}),pr!==!1&&pr>0?Sr.slice(0,pr):Sr},[De,je,tt,Nt,mr,Xn,Ga,Tr,pr])},In="__RC_CASCADER_SPLIT__",Jn="SHOW_PARENT",sr="SHOW_CHILD";function hr(De){return De.join(In)}function Qr(De){return De.map(hr)}function Fr(De){return De.split(In)}function _o(De){var je=De||{},tt=je.label,Nt=je.value,Bn=je.children,Xn=Nt||"value";return{label:tt||"label",value:Xn,key:Xn,children:Bn||"children"}}function Ho(De,je){var tt,Nt;return(tt=De.isLeaf)!==null&&tt!==void 0?tt:!((Nt=De[je.children])!==null&&Nt!==void 0&&Nt.length)}function zi(De){var je=De.parentElement;if(je){var tt=De.offsetTop-je.offsetTop;tt-je.scrollTop<0?je.scrollTo({top:tt}):tt+De.offsetHeight-je.scrollTop>je.offsetHeight&&je.scrollTo({top:tt+De.offsetHeight-je.offsetHeight})}}function Gi(De,je){return De.map(function(tt){var Nt;return(Nt=tt[Wn])===null||Nt===void 0?void 0:Nt.map(function(Bn){return Bn[je.value]})})}function sl(De,je,tt){var Nt=new Set(De),Bn=je();return De.filter(function(Xn){var Ca=Bn[Xn],Ga=Ca?Ca.parent:null,Xa=Ca?Ca.children:null;return Ca&&Ca.node.disabled?!0:tt===sr?!(Xa&&Xa.some(function(mr){return mr.key&&Nt.has(mr.key)})):!(Ga&&!Ga.node.disabled&&Nt.has(Ga.key))})}function Oi(De,je,tt){for(var Nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Bn=je,Xn=[],Ca=function(){var mr,Zr,pr,Tr=De[Ga],Sr=(mr=Bn)===null||mr===void 0?void 0:mr.findIndex(function(Po){var wo=Po[tt.value];return Nt?String(wo)===String(Tr):wo===Tr}),no=Sr!==-1?(Zr=Bn)===null||Zr===void 0?void 0:Zr[Sr]:null;Xn.push({value:(pr=no==null?void 0:no[tt.value])!==null&&pr!==void 0?pr:Tr,index:Sr,option:no}),Bn=no==null?void 0:no[tt.children]},Ga=0;Ga<De.length;Ga+=1)Ca();return Xn}var Zi=function(De,je,tt,Nt,Bn){return ie.useMemo(function(){var Xn=Bn||function(Ca){var Ga=Nt?Ca.slice(-1):Ca,Xa=" / ";return Ga.every(function(mr){return["string","number"].includes((0,_e.Z)(mr))})?Ga.join(Xa):Ga.reduce(function(mr,Zr,pr){var Tr=ie.isValidElement(Zr)?ie.cloneElement(Zr,{key:pr}):Zr;return pr===0?[Tr]:[].concat((0,x.Z)(mr),[Xa,Tr])},[])};return De.map(function(Ca){var Ga,Xa,mr=Oi(Ca,je,tt),Zr=Xn(mr.map(function(Tr){var Sr,no=Tr.option,Po=Tr.value;return(Sr=no==null?void 0:no[tt.label])!==null&&Sr!==void 0?Sr:Po}),mr.map(function(Tr){var Sr=Tr.option;return Sr})),pr=hr(Ca);return{label:Zr,value:pr,key:pr,valueCells:Ca,disabled:(Ga=mr[mr.length-1])===null||Ga===void 0||(Xa=Ga.option)===null||Xa===void 0?void 0:Xa.disabled}})},[De,je,tt,Bn,Nt])},El=z(1089),Pl=function(De,je){var tt=ie.useRef({options:null,info:null}),Nt=ie.useCallback(function(){return tt.current.options!==De&&(tt.current.options=De,tt.current.info=(0,El.I8)(De,{fieldNames:je,initWrapper:function(Xn){return(0,de.Z)((0,de.Z)({},Xn),{},{pathKeyEntities:{}})},processEntity:function(Xn,Ca){var Ga=Xn.nodes.map(function(Xa){return Xa[je.value]}).join(In);Ca.pathKeyEntities[Ga]=Xn,Xn.key=Ga}})),tt.current.info.pathKeyEntities},[je,De]);return Nt},Mi=function(De,je){return ie.useCallback(function(tt){var Nt=[],Bn=[];return tt.forEach(function(Xn){var Ca=Oi(Xn,De,je);Ca.every(function(Ga){return Ga.option})?Bn.push(Xn):Nt.push(Xn)}),[Bn,Nt]},[De,je])},Qi={},Xi=[],Ki=function(je){Xi.push(je)};function ul(De,je){if(0)var tt}function Tl(De,je){if(0)var tt}function wl(){Qi={}}function kl(De,je,tt){!je&&!Qi[tt]&&(De(!1,tt),Qi[tt]=!0)}function Dl(De,je){kl(ul,De,je)}function Vl(De,je){kl(Tl,De,je)}Dl.preMessage=Ki,Dl.resetWarned=wl,Dl.noteOnce=Vl;var Ai=null;function ki(De){return ie.useMemo(function(){if(!De)return[!1,{}];var je={matchInputWidth:!0,limit:50};return De&&(0,_e.Z)(De)==="object"&&(je=(0,de.Z)((0,de.Z)({},je),De)),je.limit<=0&&delete je.limit,[!0,je]},[De])}var Yi=ie.memo(function(De){var je=De.children;return je},function(De,je){return!je.open}),$l=Yi;function Zl(De){var je,tt=De.prefixCls,Nt=De.checked,Bn=De.halfChecked,Xn=De.disabled,Ca=De.onClick,Ga=De.disableCheckbox,Xa=ie.useContext(wn),mr=Xa.checkable,Zr=typeof mr!="boolean"?mr:null;return ie.createElement("span",{className:se()("".concat(tt),(je={},(0,Ze.Z)(je,"".concat(tt,"-checked"),Nt),(0,Ze.Z)(je,"".concat(tt,"-indeterminate"),!Nt&&Bn),(0,Ze.Z)(je,"".concat(tt,"-disabled"),Xn||Ga),je)),onClick:Ca},Zr)}var Hi="__cascader_fix_label__";function Li(De){var je=De.prefixCls,tt=De.multiple,Nt=De.options,Bn=De.activeValue,Xn=De.prevValuePath,Ca=De.onToggleOpen,Ga=De.onSelect,Xa=De.onActive,mr=De.checkedSet,Zr=De.halfCheckedSet,pr=De.loadingKeys,Tr=De.isSelectable,Sr=De.searchValue,no="".concat(je,"-menu"),Po="".concat(je,"-menu-item"),wo=ie.useContext(wn),Ko=wo.fieldNames,Ee=wo.changeOnSelect,Ie=wo.expandTrigger,pt=wo.expandIcon,Se=wo.loadingIcon,st=wo.dropdownMenuColumnStyle,yt=Ie==="hover",Zt=ie.useMemo(function(){return Nt.map(function(Xe){var it,gt=Xe.disabled,en=Xe.disableCheckbox,pn=Xe[Wn],kn=(it=Xe[Hi])!==null&&it!==void 0?it:Xe[Ko.label],Pn=Xe[Ko.value],zn=Ho(Xe,Ko),fe=pn?pn.map(function(Cn){return Cn[Ko.value]}):[].concat((0,x.Z)(Xn),[Pn]),xe=hr(fe),be=pr.includes(xe),dt=mr.has(xe),Ut=Zr.has(xe);return{disabled:gt,label:kn,value:Pn,isLeaf:zn,isLoading:be,checked:dt,halfChecked:Ut,option:Xe,disableCheckbox:en,fullPath:fe,fullPathKey:xe}})},[Nt,mr,Ko,Zr,pr,Xn]);return ie.createElement("ul",{className:no,role:"menu"},Zt.map(function(Xe){var it,gt=Xe.disabled,en=Xe.label,pn=Xe.value,kn=Xe.isLeaf,Pn=Xe.isLoading,zn=Xe.checked,fe=Xe.halfChecked,xe=Xe.option,be=Xe.fullPath,dt=Xe.fullPathKey,Ut=Xe.disableCheckbox,Cn=function(){if(!(gt||Sr)){var Gt=(0,x.Z)(be);yt&&kn&&Gt.pop(),Xa(Gt)}},On=function(){Tr(xe)&&Ga(be,kn)},$t;return typeof xe.title=="string"?$t=xe.title:typeof en=="string"&&($t=en),ie.createElement("li",{key:dt,className:se()(Po,(it={},(0,Ze.Z)(it,"".concat(Po,"-expand"),!kn),(0,Ze.Z)(it,"".concat(Po,"-active"),Bn===pn||Bn===dt),(0,Ze.Z)(it,"".concat(Po,"-disabled"),gt),(0,Ze.Z)(it,"".concat(Po,"-loading"),Pn),it)),style:st,role:"menuitemcheckbox",title:$t,"aria-checked":zn,"data-path-key":dt,onClick:function(){Cn(),!Ut&&(!tt||kn)&&On()},onDoubleClick:function(){Ee&&Ca(!1)},onMouseEnter:function(){yt&&Cn()},onMouseDown:function(Gt){Gt.preventDefault()}},tt&&ie.createElement(Zl,{prefixCls:"".concat(je,"-checkbox"),checked:zn,halfChecked:fe,disabled:gt||Ut,disableCheckbox:Ut,onClick:function(Gt){Ut||(Gt.stopPropagation(),On())}}),ie.createElement("div",{className:"".concat(Po,"-content")},en),!Pn&&pt&&!kn&&ie.createElement("div",{className:"".concat(Po,"-expand-icon")},pt),Pn&&Se&&ie.createElement("div",{className:"".concat(Po,"-loading-icon")},Se))}))}var Nl=function(){var De=ht(),je=De.multiple,tt=De.open,Nt=ie.useContext(wn),Bn=Nt.values,Xn=ie.useState([]),Ca=(0,Me.Z)(Xn,2),Ga=Ca[0],Xa=Ca[1];return ie.useEffect(function(){if(tt&&!je){var mr=Bn[0];Xa(mr||[])}},[tt]),[Ga,Xa]},ti={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(je){var tt=je.keyCode;if(je.altKey&&!je.ctrlKey||je.metaKey||tt>=ti.F1&&tt<=ti.F12)return!1;switch(tt){case ti.ALT:case ti.CAPS_LOCK:case ti.CONTEXT_MENU:case ti.CTRL:case ti.DOWN:case ti.END:case ti.ESC:case ti.HOME:case ti.INSERT:case ti.LEFT:case ti.MAC_FF_META:case ti.META:case ti.NUMLOCK:case ti.NUM_CENTER:case ti.PAGE_DOWN:case ti.PAGE_UP:case ti.PAUSE:case ti.PRINT_SCREEN:case ti.RIGHT:case ti.SHIFT:case ti.UP:case ti.WIN_KEY:case ti.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(je){if(je>=ti.ZERO&&je<=ti.NINE||je>=ti.NUM_ZERO&&je<=ti.NUM_MULTIPLY||je>=ti.A&&je<=ti.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&je===0)return!0;switch(je){case ti.SPACE:case ti.QUESTION_MARK:case ti.NUM_PLUS:case ti.NUM_MINUS:case ti.NUM_PERIOD:case ti.NUM_DIVISION:case ti.SEMICOLON:case ti.DASH:case ti.EQUALS:case ti.COMMA:case ti.PERIOD:case ti.SLASH:case ti.APOSTROPHE:case ti.SINGLE_QUOTE:case ti.OPEN_SQUARE_BRACKET:case ti.BACKSLASH:case ti.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},gl=ti,Il=function(De,je,tt,Nt,Bn,Xn){var Ca=ht(),Ga=Ca.direction,Xa=Ca.searchValue,mr=Ca.toggleOpen,Zr=Ca.open,pr=Ga==="rtl",Tr=ie.useMemo(function(){for(var st=-1,yt=je,Zt=[],Xe=[],it=Nt.length,gt=Gi(je,tt),en=function(xe){var be=yt.findIndex(function(dt,Ut){return(gt[Ut]?hr(gt[Ut]):dt[tt.value])===Nt[xe]});if(be===-1)return"break";st=be,Zt.push(st),Xe.push(Nt[xe]),yt=yt[st][tt.children]},pn=0;pn<it&&yt;pn+=1){var kn=en(pn);if(kn==="break")break}for(var Pn=je,zn=0;zn<Zt.length-1;zn+=1)Pn=Pn[Zt[zn]][tt.children];return[Xe,st,Pn,gt]},[Nt,tt,je]),Sr=(0,Me.Z)(Tr,4),no=Sr[0],Po=Sr[1],wo=Sr[2],Ko=Sr[3],Ee=function(yt){Bn(yt)},Ie=function(yt){var Zt=wo.length,Xe=Po;Xe===-1&&yt<0&&(Xe=Zt);for(var it=0;it<Zt;it+=1){Xe=(Xe+yt+Zt)%Zt;var gt=wo[Xe];if(gt&&!gt.disabled){var en=no.slice(0,-1).concat(Ko[Xe]?hr(Ko[Xe]):gt[tt.value]);Ee(en);return}}},pt=function(){if(no.length>1){var yt=no.slice(0,-1);Ee(yt)}else mr(!1)},Se=function(){var yt,Zt=((yt=wo[Po])===null||yt===void 0?void 0:yt[tt.children])||[],Xe=Zt.find(function(gt){return!gt.disabled});if(Xe){var it=[].concat((0,x.Z)(no),[Xe[tt.value]]);Ee(it)}};ie.useImperativeHandle(De,function(){return{onKeyDown:function(yt){var Zt=yt.which;switch(Zt){case gl.UP:case gl.DOWN:{var Xe=0;Zt===gl.UP?Xe=-1:Zt===gl.DOWN&&(Xe=1),Xe!==0&&Ie(Xe);break}case gl.LEFT:{if(Xa)break;pr?Se():pt();break}case gl.RIGHT:{if(Xa)break;pr?pt():Se();break}case gl.BACKSPACE:{Xa||pt();break}case gl.ENTER:{if(no.length){var it=wo[Po],gt=(it==null?void 0:it[Wn])||[];gt.length?Xn(gt.map(function(en){return en[tt.value]}),gt[gt.length-1]):Xn(no,wo[Po])}break}case gl.ESC:mr(!1),Zr&&yt.stopPropagation()}},onKeyUp:function(){}}})},Ql=ie.forwardRef(function(De,je){var tt,Nt,Bn,Xn,Ca=ht(),Ga=Ca.prefixCls,Xa=Ca.multiple,mr=Ca.searchValue,Zr=Ca.toggleOpen,pr=Ca.notFoundContent,Tr=Ca.direction,Sr=Ca.open,no=ie.useRef(),Po=Tr==="rtl",wo=ie.useContext(wn),Ko=wo.options,Ee=wo.values,Ie=wo.halfValues,pt=wo.fieldNames,Se=wo.changeOnSelect,st=wo.onSelect,yt=wo.searchOptions,Zt=wo.dropdownPrefixCls,Xe=wo.loadData,it=wo.expandTrigger,gt=Zt||Ga,en=ie.useState([]),pn=(0,Me.Z)(en,2),kn=pn[0],Pn=pn[1],zn=function(sa){if(!(!Xe||mr)){var Ua=Oi(sa,Ko,pt),Fn=Ua.map(function(Mr){var qr=Mr.option;return qr}),xn=Fn[Fn.length-1];if(xn&&!Ho(xn,pt)){var wr=hr(sa);Pn(function(Mr){return[].concat((0,x.Z)(Mr),[wr])}),Xe(Fn)}}};ie.useEffect(function(){kn.length&&kn.forEach(function(rn){var sa=Fr(rn),Ua=Oi(sa,Ko,pt,!0).map(function(xn){var wr=xn.option;return wr}),Fn=Ua[Ua.length-1];(!Fn||Fn[pt.children]||Ho(Fn,pt))&&Pn(function(xn){return xn.filter(function(wr){return wr!==rn})})})},[Ko,kn,pt]);var fe=ie.useMemo(function(){return new Set(Qr(Ee))},[Ee]),xe=ie.useMemo(function(){return new Set(Qr(Ie))},[Ie]),be=Nl(),dt=(0,Me.Z)(be,2),Ut=dt[0],Cn=dt[1],On=function(sa){Cn(sa),zn(sa)},$t=function(sa){var Ua=sa.disabled,Fn=Ho(sa,pt);return!Ua&&(Fn||Se||Xa)},Mt=function(sa,Ua){var Fn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;st(sa),!Xa&&(Ua||Se&&(it==="hover"||Fn))&&Zr(!1)},Gt=ie.useMemo(function(){return mr?yt:Ko},[mr,yt,Ko]),yn=ie.useMemo(function(){for(var rn=[{options:Gt}],sa=Gt,Ua=Gi(sa,pt),Fn=function(){var qr=Ut[xn],Br=sa.find(function(Ra,tr){return(Ua[tr]?hr(Ua[tr]):Ra[pt.value])===qr}),eo=Br==null?void 0:Br[pt.children];if(!(eo!=null&&eo.length))return"break";sa=eo,rn.push({options:eo})},xn=0;xn<Ut.length;xn+=1){var wr=Fn();if(wr==="break")break}return rn},[Gt,Ut,pt]),xt=function(sa,Ua){$t(Ua)&&Mt(sa,Ho(Ua,pt),!0)};Il(je,Gt,pt,Ut,On,xt),ie.useEffect(function(){for(var rn=0;rn<Ut.length;rn+=1){var sa,Ua=Ut.slice(0,rn+1),Fn=hr(Ua),xn=(sa=no.current)===null||sa===void 0?void 0:sa.querySelector('li[data-path-key="'.concat(Fn.replace(/\\{0,2}"/g,'\\"'),'"]'));xn&&zi(xn)}},[Ut]);var Xt=!((tt=yn[0])!==null&&tt!==void 0&&(Nt=tt.options)!==null&&Nt!==void 0&&Nt.length),qn=[(Bn={},(0,Ze.Z)(Bn,pt.value,"__EMPTY__"),(0,Ze.Z)(Bn,Hi,pr),(0,Ze.Z)(Bn,"disabled",!0),Bn)],ea=(0,de.Z)((0,de.Z)({},De),{},{multiple:!Xt&&Xa,onSelect:Mt,onActive:On,onToggleOpen:Zr,checkedSet:fe,halfCheckedSet:xe,loadingKeys:kn,isSelectable:$t}),Ln=Xt?[{options:qn}]:yn,ra=Ln.map(function(rn,sa){var Ua=Ut.slice(0,sa),Fn=Ut[sa];return ie.createElement(Li,(0,nt.Z)({key:sa},ea,{searchValue:mr,prefixCls:gt,options:rn.options,prevValuePath:Ua,activeValue:Fn}))});return ie.createElement($l,{open:Sr},ie.createElement("div",{className:se()("".concat(gt,"-menus"),(Xn={},(0,Ze.Z)(Xn,"".concat(gt,"-menu-empty"),Xt),(0,Ze.Z)(Xn,"".concat(gt,"-rtl"),Po),Xn)),ref:no},ra))}),cl=Ql;function Jl(De){var je=De.onPopupVisibleChange,tt=De.popupVisible,Nt=De.popupClassName,Bn=De.popupPlacement;warning(!je,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(tt===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Nt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(Bn===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function Al(De,je){if(De){var tt=function Nt(Bn){for(var Xn=0;Xn<Bn.length;Xn++){var Ca=Bn[Xn];if(Ca[je==null?void 0:je.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(Ca[je==null?void 0:je.children])&&Nt(Ca[je==null?void 0:je.children]))return!0}};tt(De)}}var vl=null,ps=["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 Ws(De){return Array.isArray(De)&&Array.isArray(De[0])}function Ds(De){return De?Ws(De)?De:(De.length===0?[]:[De]).map(function(je){return Array.isArray(je)?je:[je]}):[]}var ho=ie.forwardRef(function(De,je){var tt=De.id,Nt=De.prefixCls,Bn=Nt===void 0?"rc-cascader":Nt,Xn=De.fieldNames,Ca=De.defaultValue,Ga=De.value,Xa=De.changeOnSelect,mr=De.onChange,Zr=De.displayRender,pr=De.checkable,Tr=De.autoClearSearchValue,Sr=Tr===void 0?!0:Tr,no=De.searchValue,Po=De.onSearch,wo=De.showSearch,Ko=De.expandTrigger,Ee=De.options,Ie=De.dropdownPrefixCls,pt=De.loadData,Se=De.popupVisible,st=De.open,yt=De.popupClassName,Zt=De.dropdownClassName,Xe=De.dropdownMenuColumnStyle,it=De.popupPlacement,gt=De.placement,en=De.onDropdownVisibleChange,pn=De.onPopupVisibleChange,kn=De.expandIcon,Pn=kn===void 0?">":kn,zn=De.loadingIcon,fe=De.children,xe=De.dropdownMatchSelectWidth,be=xe===void 0?!1:xe,dt=De.showCheckedStrategy,Ut=dt===void 0?Jn:dt,Cn=(0,ze.Z)(De,ps),On=hi(tt),$t=!!pr,Mt=we(Ca,{value:Ga,postState:Ds}),Gt=(0,Me.Z)(Mt,2),yn=Gt[0],xt=Gt[1],Xt=ie.useMemo(function(){return _o(Xn)},[JSON.stringify(Xn)]),qn=ie.useMemo(function(){return Ee||[]},[Ee]),ea=Pl(qn,Xt),Ln=ie.useCallback(function(Uo){var lo=ea();return Uo.map(function(Ao){var si=lo[Ao].nodes;return si.map(function(Qo){return Qo[Xt.value]})})},[ea,Xt]),ra=we("",{value:no,postState:function(lo){return lo||""}}),rn=(0,Me.Z)(ra,2),sa=rn[0],Ua=rn[1],Fn=function(lo,Ao){Ua(lo),Ao.source!=="blur"&&Po&&Po(lo)},xn=ki(wo),wr=(0,Me.Z)(xn,2),Mr=wr[0],qr=wr[1],Br=Gn(sa,qn,Xt,Ie||Bn,qr,Xa),eo=Mi(qn,Xt),Ra=ie.useMemo(function(){var Uo=eo(yn),lo=(0,Me.Z)(Uo,2),Ao=lo[0],si=lo[1];if(!$t||!yn.length)return[Ao,[],si];var Qo=Qr(Ao),Ei=ea(),fo=(0,Tn.S)(Qo,!0,Ei),Za=fo.checkedKeys,Vr=fo.halfCheckedKeys;return[Ln(Za),Ln(Vr),si]},[$t,yn,ea,Ln,eo]),tr=(0,Me.Z)(Ra,3),Va=tr[0],Rr=tr[1],jr=tr[2],Er=ie.useMemo(function(){var Uo=Qr(Va),lo=sl(Uo,ea,Ut);return[].concat((0,x.Z)(jr),(0,x.Z)(Ln(lo)))},[Va,ea,Ln,jr,Ut]),io=Zi(Er,qn,Xt,$t,Zr),Gr=Ot(function(Uo){if(xt(Uo),mr){var lo=Ds(Uo),Ao=lo.map(function(Ei){return Oi(Ei,qn,Xt).map(function(fo){return fo.option})}),si=$t?lo:lo[0],Qo=$t?Ao:Ao[0];mr(si,Qo)}}),Ur=Ot(function(Uo){if((!$t||Sr)&&Ua(""),!$t)Gr(Uo);else{var lo=hr(Uo),Ao=Qr(Va),si=Qr(Rr),Qo=Ao.includes(lo),Ei=jr.some(function(Di){return hr(Di)===lo}),fo=Va,Za=jr;if(Ei&&!Qo)Za=jr.filter(function(Di){return hr(Di)!==lo});else{var Vr=Qo?Ao.filter(function(Di){return Di!==lo}):[].concat((0,x.Z)(Ao),[lo]),Wr=ea(),ur;if(Qo){var yo=(0,Tn.S)(Vr,{checked:!1,halfCheckedKeys:si},Wr);ur=yo.checkedKeys}else{var di=(0,Tn.S)(Vr,!0,Wr);ur=di.checkedKeys}var Pi=sl(ur,ea,Ut);fo=Ln(Pi)}Gr([].concat((0,x.Z)(Za),(0,x.Z)(fo)))}}),So=function(lo,Ao){if(Ao.type==="clear"){Gr([]);return}var si=Ao.values[0],Qo=si.valueCells;Ur(Qo)},Ro=st!==void 0?st:Se,jo=Zt||yt,Mo=gt||it,li=function(lo){en==null||en(lo),pn==null||pn(lo)},oi=ie.useMemo(function(){return{options:qn,fieldNames:Xt,values:Va,halfValues:Rr,changeOnSelect:Xa,onSelect:Ur,checkable:pr,searchOptions:Br,dropdownPrefixCls:Ie,loadData:pt,expandTrigger:Ko,expandIcon:Pn,loadingIcon:zn,dropdownMenuColumnStyle:Xe}},[qn,Xt,Va,Rr,Xa,Ur,pr,Br,Ie,pt,Ko,Pn,zn,Xe]),Xo=!(sa?Br:qn).length,Yo=sa&&qr.matchInputWidth||Xo?{}:{minWidth:"auto"};return ie.createElement(wn.Provider,{value:oi},ie.createElement(Ir,(0,nt.Z)({},Cn,{ref:je,id:On,prefixCls:Bn,autoClearSearchValue:Sr,dropdownMatchSelectWidth:be,dropdownStyle:Yo,displayValues:io,onDisplayValuesChange:So,mode:$t?"multiple":void 0,searchValue:sa,onSearch:Fn,showSearch:Mr,OptionList:cl,emptyOptions:Xo,open:Ro,dropdownClassName:jo,placement:Mo,onDropdownVisibleChange:li,getRawInputElement:function(){return fe}})))});ho.SHOW_PARENT=Jn,ho.SHOW_CHILD=sr;var Ul=ho,ts=Ul,br=z(10366),os=z(33603),Ns=z(8745),zs=z(9708),Hs=z(53124),hs=z(88258),Ss=z(98866),rl=z(98675),ys=z(65223),Wl=z(87244),Es=z(13458),is=z(78642),Is=z(46163),Ps=z(4173),Os=z(63185),ls=z(14747),Xl=z(80110),ss=z(67968);const fs=De=>{const{prefixCls:je,componentCls:tt,antCls:Nt}=De,Bn=`${tt}-menu-item`,Xn=`
&${Bn}-expand ${Bn}-expand-icon,
${Bn}-loading-icon
`;return[{[tt]:{width:De.controlWidth}},{[`${tt}-dropdown`]:[(0,Os.C2)(`${je}-checkbox`,De),{[`&${Nt}-select-dropdown`]:{padding:0}},{[tt]:{"&-checkbox":{top:0,marginInlineEnd:De.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${tt}-menu-empty`]:{[`${tt}-menu`]:{width:"100%",height:"auto",[Bn]:{color:De.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:De.controlItemWidth,height:De.dropdownHeight,margin:0,padding:De.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${De.lineWidth}px ${De.lineType} ${De.colorSplit}`},"&-item":Object.assign(Object.assign({},ls.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:De.optionPadding,lineHeight:De.lineHeight,cursor:"pointer",transition:`all ${De.motionDurationMid}`,borderRadius:De.borderRadiusSM,"&:hover":{background:De.controlItemBgHover},"&-disabled":{color:De.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Xn]:{color:De.colorTextDisabled}},[`&-active:not(${Bn}-disabled)`]:{"&, &:hover":{fontWeight:De.optionSelectedFontWeight,backgroundColor:De.optionSelectedBg}},"&-content":{flex:"auto"},[Xn]:{marginInlineStart:De.paddingXXS,color:De.colorTextDescription,fontSize:De.fontSizeIcon},"&-keyword":{color:De.colorHighlight}})}}}]},{[`${tt}-dropdown-rtl`]:{direction:"rtl"}},(0,Xl.c)(De)]};var js=(0,ss.Z)("Cascader",De=>[fs(De)],De=>{const je=Math.round((De.controlHeight-De.fontSize*De.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:De.controlItemBgActive,optionSelectedFontWeight:De.fontWeightStrong,optionPadding:`${je}px ${De.paddingSM}px`,menuPadding:De.paddingXXS}}),ol=function(De,je){var tt={};for(var Nt in De)Object.prototype.hasOwnProperty.call(De,Nt)&&je.indexOf(Nt)<0&&(tt[Nt]=De[Nt]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bn=0,Nt=Object.getOwnPropertySymbols(De);Bn<Nt.length;Bn++)je.indexOf(Nt[Bn])<0&&Object.prototype.propertyIsEnumerable.call(De,Nt[Bn])&&(tt[Nt[Bn]]=De[Nt[Bn]]);return tt};const{SHOW_CHILD:bs,SHOW_PARENT:Ls}=ts;function Cs(De,je,tt){const Nt=De.toLowerCase().split(je).reduce((Ca,Ga,Xa)=>Xa===0?[Ga]:[].concat((0,x.Z)(Ca),[je,Ga]),[]),Bn=[];let Xn=0;return Nt.forEach((Ca,Ga)=>{const Xa=Xn+Ca.length;let mr=De.slice(Xn,Xa);Xn=Xa,Ga%2===1&&(mr=ie.createElement("span",{className:`${tt}-menu-item-keyword`,key:`separator-${Ga}`},mr)),Bn.push(mr)}),Bn}const Rs=(De,je,tt,Nt)=>{const Bn=[],Xn=De.toLowerCase();return je.forEach((Ca,Ga)=>{Ga!==0&&Bn.push(" / ");let Xa=Ca[Nt.label];const mr=typeof Xa;(mr==="string"||mr==="number")&&(Xa=Cs(String(Xa),Xn,tt)),Bn.push(Xa)}),Bn},Yl=ie.forwardRef((De,je)=>{const{prefixCls:tt,size:Nt,disabled:Bn,className:Xn,rootClassName:Ca,multiple:Ga,bordered:Xa=!0,transitionName:mr,choiceTransitionName:Zr="",popupClassName:pr,dropdownClassName:Tr,expandIcon:Sr,placement:no,showSearch:Po,allowClear:wo=!0,notFoundContent:Ko,direction:Ee,getPopupContainer:Ie,status:pt,showArrow:Se,builtinPlacements:st,style:yt}=De,Zt=ol(De,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Xe=(0,br.Z)(Zt,["suffixIcon"]),{getPopupContainer:it,getPrefixCls:gt,renderEmpty:en,direction:pn,popupOverflow:kn,cascader:Pn}=ie.useContext(Hs.E_),zn=Ee||pn,fe=zn==="rtl",{status:xe,hasFeedback:be,isFormItemInput:dt,feedbackIcon:Ut}=ie.useContext(ys.aM),Cn=(0,zs.F)(xe,pt),On=Ko||(en==null?void 0:en("Cascader"))||ie.createElement(hs.Z,{componentName:"Cascader"}),$t=gt(),Mt=gt("select",tt),Gt=gt("cascader",tt),[yn,xt]=(0,Wl.Z)(Mt),[Xt]=js(Gt),{compactSize:qn,compactItemClassnames:ea}=(0,Ps.ri)(Mt,Ee),Ln=se()(pr||Tr,`${Gt}-dropdown`,{[`${Gt}-dropdown-rtl`]:zn==="rtl"},Ca,xt),ra=ie.useMemo(()=>{if(!Po)return Po;let jr={render:Rs};return typeof Po=="object"&&(jr=Object.assign(Object.assign({},jr),Po)),jr},[Po]),rn=(0,rl.Z)(jr=>{var Er;return(Er=Nt!=null?Nt:qn)!==null&&Er!==void 0?Er:jr}),sa=ie.useContext(Ss.Z),Ua=Bn!=null?Bn:sa;let Fn=Sr;Sr||(Fn=fe?ie.createElement(Ce.Z,null):ie.createElement(ye.Z,null));const xn=ie.createElement("span",{className:`${Mt}-menu-item-loading-icon`},ie.createElement(Re.Z,{spin:!0})),wr=ie.useMemo(()=>Ga?ie.createElement("span",{className:`${Gt}-checkbox-inner`}):!1,[Ga]),Mr=(0,is.Z)(De.suffixIcon,Se),{suffixIcon:qr,removeIcon:Br,clearIcon:eo}=(0,Is.Z)(Object.assign(Object.assign({},De),{hasFeedback:be,feedbackIcon:Ut,showSuffixIcon:Mr,multiple:Ga,prefixCls:Mt,componentName:"Cascader"})),Ra=ie.useMemo(()=>no!==void 0?no:fe?"bottomRight":"bottomLeft",[no,fe]),tr=(0,Es.Z)(st,kn),Va=wo===!0?{clearIcon:eo}:wo,Rr=ie.createElement(ts,Object.assign({prefixCls:Mt,className:se()(!tt&&Gt,{[`${Mt}-lg`]:rn==="large",[`${Mt}-sm`]:rn==="small",[`${Mt}-rtl`]:fe,[`${Mt}-borderless`]:!Xa,[`${Mt}-in-form-item`]:dt},(0,zs.Z)(Mt,Cn,be),ea,Pn==null?void 0:Pn.className,Xn,Ca,xt),disabled:Ua,style:Object.assign(Object.assign({},Pn==null?void 0:Pn.style),yt)},Xe,{builtinPlacements:tr,direction:zn,placement:Ra,notFoundContent:On,allowClear:Va,showSearch:ra,expandIcon:Fn,suffixIcon:qr,removeIcon:Br,loadingIcon:xn,checkable:wr,dropdownClassName:Ln,dropdownPrefixCls:tt||Gt,choiceTransitionName:(0,os.m)($t,"",Zr),transitionName:(0,os.m)($t,"slide-up",mr),getPopupContainer:Ie||it,ref:je}));return Xt(yn(Rr))}),ql=(0,Ns.Z)(Yl);Yl.SHOW_PARENT=Ls,Yl.SHOW_CHILD=bs,Yl._InternalPanelDoNotUseOrYouWillBeFired=ql;var Gs=Yl},84567:function(Jt,zt,z){"use strict";z.d(zt,{default:function(){return pe}});var x=z(94184),ie=z.n(x),Ce=z(95860),Re=z(67294),ye=z(53124),Te=z(98866),se=z(65223),Me=Re.createContext(null),ze=z(63185),Ze=z(45353),de=z(92429),_e=function(Pe,He){var ke={};for(var Oe in Pe)Object.prototype.hasOwnProperty.call(Pe,Oe)&&He.indexOf(Oe)<0&&(ke[Oe]=Pe[Oe]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Oe=Object.getOwnPropertySymbols(Pe);he<Oe.length;he++)He.indexOf(Oe[he])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Oe[he])&&(ke[Oe[he]]=Pe[Oe[he]]);return ke};const ue=(Pe,He)=>{var ke;const{prefixCls:Oe,className:he,rootClassName:Ke,children:Ue,indeterminate:$e=!1,style:Fe,onMouseEnter:at,onMouseLeave:lt,skipGroup:ft=!1,disabled:ut}=Pe,St=_e(Pe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:jt,direction:Vn,checkbox:fa}=Re.useContext(ye.E_),mt=Re.useContext(Me),{isFormItemInput:ht}=Re.useContext(se.aM),mn=Re.useContext(Te.Z),oa=(ke=(mt==null?void 0:mt.disabled)||ut)!==null&&ke!==void 0?ke:mn,Sn=Re.useRef(St.value);Re.useEffect(()=>{mt==null||mt.registerValue(St.value)},[]),Re.useEffect(()=>{if(!ft)return St.value!==Sn.current&&(mt==null||mt.cancelValue(Sn.current),mt==null||mt.registerValue(St.value),Sn.current=St.value),()=>mt==null?void 0:mt.cancelValue(St.value)},[St.value]);const Kn=jt("checkbox",Oe),[Ye,_n]=(0,ze.ZP)(Kn),ca=Object.assign({},St);mt&&!ft&&(ca.onChange=function(){St.onChange&&St.onChange.apply(St,arguments),mt.toggleOption&&mt.toggleOption({label:Ue,value:St.value})},ca.name=mt.name,ca.checked=mt.value.includes(St.value));const ln=ie()(`${Kn}-wrapper`,{[`${Kn}-rtl`]:Vn==="rtl",[`${Kn}-wrapper-checked`]:ca.checked,[`${Kn}-wrapper-disabled`]:oa,[`${Kn}-wrapper-in-form-item`]:ht},fa==null?void 0:fa.className,he,Ke,_n),At=ie()({[`${Kn}-indeterminate`]:$e},de.A,_n),cn=$e?"mixed":void 0;return Ye(Re.createElement(Ze.Z,{component:"Checkbox",disabled:oa},Re.createElement("label",{className:ln,style:Object.assign(Object.assign({},fa==null?void 0:fa.style),Fe),onMouseEnter:at,onMouseLeave:lt},Re.createElement(Ce.Z,Object.assign({"aria-checked":cn},ca,{prefixCls:Kn,className:At,disabled:oa,ref:He})),Ue!==void 0&&Re.createElement("span",null,Ue))))};var a=Re.forwardRef(ue),b=z(74902),E=z(10366),ee=function(Pe,He){var ke={};for(var Oe in Pe)Object.prototype.hasOwnProperty.call(Pe,Oe)&&He.indexOf(Oe)<0&&(ke[Oe]=Pe[Oe]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Oe=Object.getOwnPropertySymbols(Pe);he<Oe.length;he++)He.indexOf(Oe[he])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Oe[he])&&(ke[Oe[he]]=Pe[Oe[he]]);return ke};const te=(Pe,He)=>{const{defaultValue:ke,children:Oe,options:he=[],prefixCls:Ke,className:Ue,rootClassName:$e,style:Fe,onChange:at}=Pe,lt=ee(Pe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:ft,direction:ut}=Re.useContext(ye.E_),[St,jt]=Re.useState(lt.value||ke||[]),[Vn,fa]=Re.useState([]);Re.useEffect(()=>{"value"in lt&&jt(lt.value||[])},[lt.value]);const mt=Re.useMemo(()=>he.map(We=>typeof We=="string"||typeof We=="number"?{label:We,value:We}:We),[he]),ht=We=>{fa(Be=>Be.filter(Je=>Je!==We))},mn=We=>{fa(Be=>[].concat((0,b.Z)(Be),[We]))},oa=We=>{const Be=St.indexOf(We.value),Je=(0,b.Z)(St);Be===-1?Je.push(We.value):Je.splice(Be,1),"value"in lt||jt(Je),at==null||at(Je.filter(vt=>Vn.includes(vt)).sort((vt,Vt)=>{const dn=mt.findIndex(vn=>vn.value===vt),ta=mt.findIndex(vn=>vn.value===Vt);return dn-ta}))},Sn=ft("checkbox",Ke),Kn=`${Sn}-group`,[Ye,_n]=(0,ze.ZP)(Sn),ca=(0,E.Z)(lt,["value","disabled"]),ln=he.length?mt.map(We=>Re.createElement(a,{prefixCls:Sn,key:We.value.toString(),disabled:"disabled"in We?We.disabled:lt.disabled,value:We.value,checked:St.includes(We.value),onChange:We.onChange,className:`${Kn}-item`,style:We.style,title:We.title},We.label)):Oe,At={toggleOption:oa,value:St,disabled:lt.disabled,name:lt.name,registerValue:mn,cancelValue:ht},cn=ie()(Kn,{[`${Kn}-rtl`]:ut==="rtl"},Ue,$e,_n);return Ye(Re.createElement("div",Object.assign({className:cn,style:Fe},ca,{ref:He}),Re.createElement(Me.Provider,{value:At},ln)))},re=Re.forwardRef(te);var oe=Re.memo(re);const ce=a;ce.Group=oe,ce.__ANT_CHECKBOX=!0;var pe=ce},63185:function(Jt,zt,z){"use strict";z.d(zt,{C2:function(){return ye}});var x=z(14747),ie=z(45503),Ce=z(67968);const Re=Te=>{const{checkboxCls:se}=Te,nt=`${se}-wrapper`;return[{[`${se}-group`]:Object.assign(Object.assign({},(0,x.Wf)(Te)),{display:"inline-flex",flexWrap:"wrap",columnGap:Te.marginXS,[`> ${Te.antCls}-row`]:{flex:1}}),[nt]:Object.assign(Object.assign({},(0,x.Wf)(Te)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${nt}`]:{marginInlineStart:0},[`&${nt}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[se]:Object.assign(Object.assign({},(0,x.Wf)(Te)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Te.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)(Te))},[`${se}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Te.checkboxSize,height:Te.checkboxSize,direction:"ltr",backgroundColor:Te.colorBgContainer,border:`${Te.lineWidth}px ${Te.lineType} ${Te.colorBorder}`,borderRadius:Te.borderRadiusSM,borderCollapse:"separate",transition:`all ${Te.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Te.checkboxSize/14*5,height:Te.checkboxSize/14*8,border:`${Te.lineWidthBold}px solid ${Te.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Te.motionDurationFast} ${Te.motionEaseInBack}, opacity ${Te.motionDurationFast}`}},"& + span":{paddingInlineStart:Te.paddingXS,paddingInlineEnd:Te.paddingXS}})},{[`
${nt}:not(${nt}-disabled),
${se}:not(${se}-disabled)
`]:{[`&:hover ${se}-inner`]:{borderColor:Te.colorPrimary}},[`${nt}:not(${nt}-disabled)`]:{[`&:hover ${se}-checked:not(${se}-disabled) ${se}-inner`]:{backgroundColor:Te.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${se}-checked:not(${se}-disabled):after`]:{borderColor:Te.colorPrimaryHover}}},{[`${se}-checked`]:{[`${se}-inner`]:{backgroundColor:Te.colorPrimary,borderColor:Te.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Te.motionDurationMid} ${Te.motionEaseOutBack} ${Te.motionDurationFast}`}}},[`
${nt}-checked:not(${nt}-disabled),
${se}-checked:not(${se}-disabled)
`]:{[`&:hover ${se}-inner`]:{backgroundColor:Te.colorPrimaryHover,borderColor:"transparent"}}},{[se]:{"&-indeterminate":{[`${se}-inner`]:{backgroundColor:Te.colorBgContainer,borderColor:Te.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Te.fontSizeLG/2,height:Te.fontSizeLG/2,backgroundColor:Te.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${nt}-disabled`]:{cursor:"not-allowed"},[`${se}-disabled`]:{[`&, ${se}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${se}-inner`]:{background:Te.colorBgContainerDisabled,borderColor:Te.colorBorder,"&:after":{borderColor:Te.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Te.colorTextDisabled},[`&${se}-indeterminate ${se}-inner::after`]:{background:Te.colorTextDisabled}}}]};function ye(Te,se){const nt=(0,ie.TS)(se,{checkboxCls:`.${Te}`,checkboxSize:se.controlInteractiveSize});return[Re(nt)]}zt.ZP=(0,Ce.Z)("Checkbox",(Te,se)=>{let{prefixCls:nt}=se;return[ye(nt,Te)]})},47221:function(Jt,zt,z){"use strict";z.d(zt,{default:function(){return ca}});var x=z(91034),ie=z(94184),Ce=z.n(ie),Re=z(97685),ye=z(74902),Te=z(71002),se=z(21770),nt=z(80334),Me=z(67294),ze=z(87462),Ze=z(45987),de=z(50344),_e=z(4942),ue=z(62874),y=z(15105),a=Me.forwardRef(function(ln,At){var cn,We=ln.prefixCls,Be=ln.forceRender,Je=ln.className,vt=ln.style,Vt=ln.children,dn=ln.isActive,ta=ln.role,vn=Me.useState(dn||Be),Nn=(0,Re.Z)(vn,2),ia=Nn[0],et=Nn[1];return Me.useEffect(function(){(Be||dn)&&et(!0)},[Be,dn]),ia?Me.createElement("div",{ref:At,className:Ce()("".concat(We,"-content"),(cn={},(0,_e.Z)(cn,"".concat(We,"-content-active"),dn),(0,_e.Z)(cn,"".concat(We,"-content-inactive"),!dn),cn),Je),style:vt,role:ta},Me.createElement("div",{className:"".concat(We,"-content-box")},Vt)):null});a.displayName="PanelContent";var b=a,E=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],ee=Me.forwardRef(function(ln,At){var cn,We,Be=ln.showArrow,Je=Be===void 0?!0:Be,vt=ln.headerClass,Vt=ln.isActive,dn=ln.onItemClick,ta=ln.forceRender,vn=ln.className,Nn=ln.prefixCls,ia=ln.collapsible,et=ln.accordion,Ot=ln.panelKey,Pa=ln.extra,An=ln.header,Ft=ln.expandIcon,ya=ln.openMotion,ot=ln.destroyInactivePanel,Tt=ln.children,nn=(0,Ze.Z)(ln,E),Rt=ia==="disabled",Lt=ia==="header",na=ia==="icon",va=Pa!=null&&typeof Pa!="boolean",ha=function(){dn==null||dn(Ot)},ba=function(zr){(zr.key==="Enter"||zr.keyCode===y.Z.ENTER||zr.which===y.Z.ENTER)&&ha()},lr=typeof Ft=="function"?Ft(ln):Me.createElement("i",{className:"arrow"});lr&&(lr=Me.createElement("div",{className:"".concat(Nn,"-expand-icon"),onClick:["header","icon"].includes(ia)?ha:void 0},lr));var gr=Ce()((cn={},(0,_e.Z)(cn,"".concat(Nn,"-item"),!0),(0,_e.Z)(cn,"".concat(Nn,"-item-active"),Vt),(0,_e.Z)(cn,"".concat(Nn,"-item-disabled"),Rt),cn),vn),Qa=Ce()(vt,(We={},(0,_e.Z)(We,"".concat(Nn,"-header"),!0),(0,_e.Z)(We,"".concat(Nn,"-header-collapsible-only"),Lt),(0,_e.Z)(We,"".concat(Nn,"-icon-collapsible-only"),na),We)),Dr={className:Qa,"aria-expanded":Vt,"aria-disabled":Rt,onKeyDown:ba};return!Lt&&!na&&(Dr.onClick=ha,Dr.role=et?"tab":"button",Dr.tabIndex=Rt?-1:0),Me.createElement("div",(0,ze.Z)({},nn,{ref:At,className:gr}),Me.createElement("div",Dr,Je&&lr,Me.createElement("span",{className:"".concat(Nn,"-header-text"),onClick:ia==="header"?ha:void 0},An),va&&Me.createElement("div",{className:"".concat(Nn,"-extra")},Pa)),Me.createElement(ue.Z,(0,ze.Z)({visible:Vt,leavedClassName:"".concat(Nn,"-content-hidden")},ya,{forceRender:ta,removeOnLeave:ot}),function(so,zr){var Jr=so.className,co=so.style;return Me.createElement(b,{ref:zr,prefixCls:Nn,className:Jr,style:co,isActive:Vt,forceRender:ta,role:et?"tabpanel":void 0},Tt)}))}),te=ee,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],oe=function(At,cn){var We=cn.prefixCls,Be=cn.accordion,Je=cn.collapsible,vt=cn.destroyInactivePanel,Vt=cn.onItemClick,dn=cn.activeKey,ta=cn.openMotion,vn=cn.expandIcon;return At.map(function(Nn,ia){var et=Nn.children,Ot=Nn.label,Pa=Nn.key,An=Nn.collapsible,Ft=Nn.onItemClick,ya=Nn.destroyInactivePanel,ot=(0,Ze.Z)(Nn,re),Tt=String(Pa!=null?Pa:ia),nn=An!=null?An:Je,Rt=ya!=null?ya:vt,Lt=function(ha){nn!=="disabled"&&(Vt(ha),Ft==null||Ft(ha))},na=!1;return Be?na=dn[0]===Tt:na=dn.indexOf(Tt)>-1,Me.createElement(te,(0,ze.Z)({},ot,{prefixCls:We,key:Tt,panelKey:Tt,isActive:na,accordion:Be,openMotion:ta,expandIcon:vn,header:Ot,collapsible:nn,onItemClick:Lt,destroyInactivePanel:Rt}),et)})},ce=function(At,cn,We){if(!At)return null;var Be=We.prefixCls,Je=We.accordion,vt=We.collapsible,Vt=We.destroyInactivePanel,dn=We.onItemClick,ta=We.activeKey,vn=We.openMotion,Nn=We.expandIcon,ia=At.key||String(cn),et=At.props,Ot=et.header,Pa=et.headerClass,An=et.destroyInactivePanel,Ft=et.collapsible,ya=et.onItemClick,ot=!1;Je?ot=ta[0]===ia:ot=ta.indexOf(ia)>-1;var Tt=Ft!=null?Ft:vt,nn=function(na){Tt!=="disabled"&&(dn(na),ya==null||ya(na))},Rt={key:ia,panelKey:ia,header:Ot,headerClass:Pa,isActive:ot,prefixCls:Be,destroyInactivePanel:An!=null?An:Vt,openMotion:vn,accordion:Je,children:At.props.children,onItemClick:nn,expandIcon:Nn,collapsible:Tt};return typeof At.type=="string"?At:(Object.keys(Rt).forEach(function(Lt){typeof Rt[Lt]=="undefined"&&delete Rt[Lt]}),Me.cloneElement(At,Rt))};function pe(ln,At,cn){return Array.isArray(ln)?oe(ln,cn):(0,de.Z)(At).map(function(We,Be){return ce(We,Be,cn)})}var Pe=pe;function He(ln){var At=ln;if(!Array.isArray(At)){var cn=(0,Te.Z)(At);At=cn==="number"||cn==="string"?[At]:[]}return At.map(function(We){return String(We)})}var ke=Me.forwardRef(function(ln,At){var cn=ln.prefixCls,We=cn===void 0?"rc-collapse":cn,Be=ln.destroyInactivePanel,Je=Be===void 0?!1:Be,vt=ln.style,Vt=ln.accordion,dn=ln.className,ta=ln.children,vn=ln.collapsible,Nn=ln.openMotion,ia=ln.expandIcon,et=ln.activeKey,Ot=ln.defaultActiveKey,Pa=ln.onChange,An=ln.items,Ft=Ce()(We,dn),ya=(0,se.Z)([],{value:et,onChange:function(va){return Pa==null?void 0:Pa(va)},defaultValue:Ot,postState:He}),ot=(0,Re.Z)(ya,2),Tt=ot[0],nn=ot[1],Rt=function(va){return nn(function(){if(Vt)return Tt[0]===va?[]:[va];var ha=Tt.indexOf(va),ba=ha>-1;return ba?Tt.filter(function(lr){return lr!==va}):[].concat((0,ye.Z)(Tt),[va])})};(0,nt.ZP)(!ta,"`children` will be removed in next major version. Please use `items` instead.");var Lt=Pe(An,ta,{prefixCls:We,accordion:Vt,openMotion:Nn,expandIcon:ia,collapsible:vn,destroyInactivePanel:Je,onItemClick:Rt,activeKey:Tt});return Me.createElement("div",{ref:At,className:Ft,style:vt,role:Vt?"tablist":void 0},Lt)}),Oe=Object.assign(ke,{Panel:te}),he=Oe,Ke=Oe.Panel,Ue=z(37419),$e=z(10366),Fe=z(33603),at=z(96159),lt=z(53124),ft=z(98675),St=Me.forwardRef((ln,At)=>{const{getPrefixCls:cn}=Me.useContext(lt.E_),{prefixCls:We,className:Be,showArrow:Je=!0}=ln,vt=cn("collapse",We),Vt=Ce()({[`${vt}-no-arrow`]:!Je},Be);return Me.createElement(he.Panel,Object.assign({ref:At},ln,{prefixCls:vt,className:Vt}))}),jt=z(14747),Vn=z(33507),fa=z(67968),mt=z(45503);const ht=ln=>{const{componentCls:At,contentBg:cn,padding:We,headerBg:Be,headerPadding:Je,collapseHeaderPaddingSM:vt,collapseHeaderPaddingLG:Vt,collapsePanelBorderRadius:dn,lineWidth:ta,lineType:vn,colorBorder:Nn,colorText:ia,colorTextHeading:et,colorTextDisabled:Ot,fontSize:Pa,fontSizeLG:An,lineHeight:Ft,marginSM:ya,paddingSM:ot,paddingLG:Tt,paddingXS:nn,motionDurationSlow:Rt,fontSizeIcon:Lt,contentPadding:na}=ln,va=`${ta}px ${vn} ${Nn}`;return{[At]:Object.assign(Object.assign({},(0,jt.Wf)(ln)),{backgroundColor:Be,border:va,borderBottom:0,borderRadius:`${dn}px`,"&-rtl":{direction:"rtl"},[`& > ${At}-item`]:{borderBottom:va,"&:last-child":{[`
&,
& > ${At}-header`]:{borderRadius:`0 0 ${dn}px ${dn}px`}},[`> ${At}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Je,color:et,lineHeight:Ft,cursor:"pointer",transition:`all ${Rt}, visibility 0s`,[`> ${At}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${At}-expand-icon`]:{height:Pa*Ft,display:"flex",alignItems:"center",paddingInlineEnd:ya},[`${At}-arrow`]:Object.assign(Object.assign({},(0,jt.Ro)()),{fontSize:Lt,svg:{transition:`transform ${Rt}`}}),[`${At}-header-text`]:{marginInlineEnd:"auto"}},[`${At}-header-collapsible-only`]:{cursor:"default",[`${At}-header-text`]:{flex:"none",cursor:"pointer"}},[`${At}-icon-collapsible-only`]:{cursor:"default",[`${At}-expand-icon`]:{cursor:"pointer"}}},[`${At}-content`]:{color:ia,backgroundColor:cn,borderTop:va,[`& > ${At}-content-box`]:{padding:na},"&-hidden":{display:"none"}},"&-small":{[`> ${At}-item`]:{[`> ${At}-header`]:{padding:vt,paddingInlineStart:nn,[`> ${At}-expand-icon`]:{marginInlineStart:ot-nn}},[`> ${At}-content > ${At}-content-box`]:{padding:ot}}},"&-large":{[`> ${At}-item`]:{fontSize:An,[`> ${At}-header`]:{padding:Vt,paddingInlineStart:We,[`> ${At}-expand-icon`]:{height:An*Ft,marginInlineStart:Tt-We}},[`> ${At}-content > ${At}-content-box`]:{padding:Tt}}},[`${At}-item:last-child`]:{[`> ${At}-content`]:{borderRadius:`0 0 ${dn}px ${dn}px`}},[`& ${At}-item-disabled > ${At}-header`]:{"\n &,\n & > .arrow\n ":{color:Ot,cursor:"not-allowed"}},[`&${At}-icon-position-end`]:{[`& > ${At}-item`]:{[`> ${At}-header`]:{[`${At}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:ya}}}}})}},mn=ln=>{const{componentCls:At}=ln,cn=`> ${At}-item > ${At}-header ${At}-arrow svg`;return{[`${At}-rtl`]:{[cn]:{transform:"rotate(180deg)"}}}},oa=ln=>{const{componentCls:At,headerBg:cn,paddingXXS:We,colorBorder:Be}=ln;return{[`${At}-borderless`]:{backgroundColor:cn,border:0,[`> ${At}-item`]:{borderBottom:`1px solid ${Be}`},[`
> ${At}-item:last-child,
> ${At}-item:last-child ${At}-header
`]:{borderRadius:0},[`> ${At}-item:last-child`]:{borderBottom:0},[`> ${At}-item > ${At}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${At}-item > ${At}-content > ${At}-content-box`]:{paddingTop:We}}}},Sn=ln=>{const{componentCls:At,paddingSM:cn}=ln;return{[`${At}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${At}-item`]:{borderBottom:0,[`> ${At}-content`]:{backgroundColor:"transparent",border:0,[`> ${At}-content-box`]:{paddingBlock:cn}}}}}};var Kn=(0,fa.Z)("Collapse",ln=>{const At=(0,mt.TS)(ln,{collapseHeaderPaddingSM:`${ln.paddingXS}px ${ln.paddingSM}px`,collapseHeaderPaddingLG:`${ln.padding}px ${ln.paddingLG}px`,collapsePanelBorderRadius:ln.borderRadiusLG});return[ht(At),oa(At),Sn(At),mn(At),(0,Vn.Z)(At)]},ln=>({headerPadding:`${ln.paddingSM}px ${ln.padding}px`,headerBg:ln.colorFillAlter,contentPadding:`${ln.padding}px 16px`,contentBg:ln.colorBgContainer})),_n=Object.assign(Me.forwardRef((ln,At)=>{const{getPrefixCls:cn,direction:We,collapse:Be}=Me.useContext(lt.E_),{prefixCls:Je,className:vt,rootClassName:Vt,style:dn,bordered:ta=!0,ghost:vn,size:Nn,expandIconPosition:ia="start",children:et,expandIcon:Ot}=ln,Pa=(0,ft.Z)(va=>{var ha;return(ha=Nn!=null?Nn:va)!==null&&ha!==void 0?ha:"middle"}),An=cn("collapse",Je),Ft=cn(),[ya,ot]=Kn(An),Tt=Me.useMemo(()=>ia==="left"?"start":ia==="right"?"end":ia,[ia]),nn=function(){let va=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const ha=Ot?Ot(va):Me.createElement(x.Z,{rotate:va.isActive?90:void 0});return(0,at.Tm)(ha,()=>({className:Ce()(ha.props.className,`${An}-arrow`)}))},Rt=Ce()(`${An}-icon-position-${Tt}`,{[`${An}-borderless`]:!ta,[`${An}-rtl`]:We==="rtl",[`${An}-ghost`]:!!vn,[`${An}-${Pa}`]:Pa!=="middle"},Be==null?void 0:Be.className,vt,Vt,ot),Lt=Object.assign(Object.assign({},(0,Fe.Z)(Ft)),{motionAppear:!1,leavedClassName:`${An}-content-hidden`}),na=Me.useMemo(()=>et?(0,Ue.Z)(et).map((va,ha)=>{var ba,lr;if(!((ba=va.props)===null||ba===void 0)&&ba.disabled){const gr=(lr=va.key)!==null&&lr!==void 0?lr:String(ha),{disabled:Qa,collapsible:Dr}=va.props,so=Object.assign(Object.assign({},(0,$e.Z)(va.props,["disabled"])),{key:gr,collapsible:Dr!=null?Dr:Qa?"disabled":void 0});return(0,at.Tm)(va,so)}return va}):null,[et]);return ya(Me.createElement(he,Object.assign({ref:At,openMotion:Lt},(0,$e.Z)(ln,["rootClassName"]),{expandIcon:nn,prefixCls:An,className:Rt,style:Object.assign(Object.assign({},Be==null?void 0:Be.style),dn)}),na))}),{Panel:St}),ca=_n},72565:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return hi}});var x=z(94184),ie=z.n(x),Ce=z(1413),Re=z(97685),ye=z(67294),Te=z(73935);function se(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var nt={};function Me(Wt,Kt){}function ze(Wt,Kt){}function Ze(){nt={}}function de(Wt,Kt,aa){!Kt&&!nt[aa]&&(Wt(!1,aa),nt[aa]=!0)}function _e(Wt,Kt){de(Me,Wt,Kt)}function ue(Wt,Kt){de(ze,Wt,Kt)}var y=null,a=z(71002),b=z(18459);function E(Wt,Kt,aa){var xa=ye.useRef({});return(!("value"in xa.current)||aa(xa.current.condition,Kt))&&(xa.current.value=Wt(),xa.current.condition=Kt),xa.current.value}function ee(Wt,Kt){typeof Wt=="function"?Wt(Kt):(0,a.Z)(Wt)==="object"&&Wt&&"current"in Wt&&(Wt.current=Kt)}function te(){for(var Wt=arguments.length,Kt=new Array(Wt),aa=0;aa<Wt;aa++)Kt[aa]=arguments[aa];var xa=Kt.filter(function(Ka){return Ka});return xa.length<=1?xa[0]:function(Ka){Kt.forEach(function(Cr){ee(Cr,Ka)})}}function re(){for(var Wt=arguments.length,Kt=new Array(Wt),aa=0;aa<Wt;aa++)Kt[aa]=arguments[aa];return E(function(){return te.apply(void 0,Kt)},Kt,function(xa,Ka){return xa.length===Ka.length&&xa.every(function(Cr,po){return Cr===Ka[po]})})}function oe(Wt){var Kt,aa,xa=(0,b.isMemo)(Wt)?Wt.type.type:Wt.type;return!(typeof xa=="function"&&!((Kt=xa.prototype)!==null&&Kt!==void 0&&Kt.render)||typeof Wt=="function"&&!((aa=Wt.prototype)!==null&&aa!==void 0&&aa.render))}var ce=ye.createContext(null),pe=ce,Pe=z(74902),He=se()?ye.useLayoutEffect:ye.useEffect,ke=He,Oe=function(Kt,aa){var xa=React.useRef(!0);He(function(){if(!xa.current)return Kt()},aa),He(function(){return xa.current=!1,function(){xa.current=!0}},[])},he=[];function Ke(Wt,Kt){var aa=ye.useState(function(){if(!se())return null;var gn=document.createElement("div");return gn}),xa=(0,Re.Z)(aa,1),Ka=xa[0],Cr=ye.useRef(!1),po=ye.useContext(pe),Lo=ye.useState(he),rr=(0,Re.Z)(Lo,2),zo=rr[0],ai=rr[1],ii=po||(Cr.current?void 0:function(gn){ai(function(Un){var qe=[gn].concat((0,Pe.Z)(Un));return qe})});function oo(){Ka.parentElement||document.body.appendChild(Ka),Cr.current=!0}function tn(){var gn;(gn=Ka.parentElement)===null||gn===void 0||gn.removeChild(Ka),Cr.current=!1}return ke(function(){return Wt?po?po(oo):oo():tn(),tn},[Wt]),ke(function(){zo.length&&(zo.forEach(function(gn){return gn()}),ai(he))},[zo]),[Ka,ii]}function Ue(Wt,Kt){if(!Wt)return!1;if(Wt.contains)return Wt.contains(Kt);for(var aa=Kt;aa;){if(aa===Wt)return!0;aa=aa.parentNode}return!1}var $e="data-rc-order",Fe="rc-util-key",at=new Map;function lt(){var Wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Kt=Wt.mark;return Kt?Kt.startsWith("data-")?Kt:"data-".concat(Kt):Fe}function ft(Wt){if(Wt.attachTo)return Wt.attachTo;var Kt=document.querySelector("head");return Kt||document.body}function ut(Wt){return Wt==="queue"?"prependQueue":Wt?"prepend":"append"}function St(Wt){return Array.from((at.get(Wt)||Wt).children).filter(function(Kt){return Kt.tagName==="STYLE"})}function jt(Wt){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!se())return null;var aa=Kt.csp,xa=Kt.prepend,Ka=document.createElement("style");Ka.setAttribute($e,ut(xa)),aa!=null&&aa.nonce&&(Ka.nonce=aa==null?void 0:aa.nonce),Ka.innerHTML=Wt;var Cr=ft(Kt),po=Cr.firstChild;if(xa){if(xa==="queue"){var Lo=St(Cr).filter(function(rr){return["prepend","prependQueue"].includes(rr.getAttribute($e))});if(Lo.length)return Cr.insertBefore(Ka,Lo[Lo.length-1].nextSibling),Ka}Cr.insertBefore(Ka,po)}else Cr.appendChild(Ka);return Ka}function Vn(Wt){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},aa=ft(Kt);return St(aa).find(function(xa){return xa.getAttribute(lt(Kt))===Wt})}function fa(Wt){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},aa=Vn(Wt,Kt);if(aa){var xa=ft(Kt);xa.removeChild(aa)}}function mt(Wt,Kt){var aa=at.get(Wt);if(!aa||!Ue(document,aa)){var xa=jt("",Kt),Ka=xa.parentNode;at.set(Wt,Ka),Wt.removeChild(xa)}}function ht(){at.clear()}function mn(Wt,Kt){var aa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},xa=ft(aa);mt(xa,aa);var Ka=Vn(Kt,aa);if(Ka){var Cr,po;if((Cr=aa.csp)!==null&&Cr!==void 0&&Cr.nonce&&Ka.nonce!==((po=aa.csp)===null||po===void 0?void 0:po.nonce)){var Lo;Ka.nonce=(Lo=aa.csp)===null||Lo===void 0?void 0:Lo.nonce}return Ka.innerHTML!==Wt&&(Ka.innerHTML=Wt),Ka}var rr=jt(Wt,aa);return rr.setAttribute(lt(aa),Kt),rr}var oa;function Sn(Wt){if(typeof document=="undefined")return 0;if(Wt||oa===void 0){var Kt=document.createElement("div");Kt.style.width="100%",Kt.style.height="200px";var aa=document.createElement("div"),xa=aa.style;xa.position="absolute",xa.top="0",xa.left="0",xa.pointerEvents="none",xa.visibility="hidden",xa.width="200px",xa.height="150px",xa.overflow="hidden",aa.appendChild(Kt),document.body.appendChild(aa);var Ka=Kt.offsetWidth;aa.style.overflow="scroll";var Cr=Kt.offsetWidth;Ka===Cr&&(Cr=aa.clientWidth),document.body.removeChild(aa),oa=Ka-Cr}return oa}function Kn(Wt){var Kt=Wt.match(/^(.*)px$/),aa=Number(Kt==null?void 0:Kt[1]);return Number.isNaN(aa)?Sn():aa}function Ye(Wt){if(typeof document=="undefined"||!Wt||!(Wt instanceof Element))return{width:0,height:0};var Kt=getComputedStyle(Wt,"::-webkit-scrollbar"),aa=Kt.width,xa=Kt.height;return{width:Kn(aa),height:Kn(xa)}}function _n(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var ca="rc-util-locker-".concat(Date.now()),ln=0;function At(Wt){var Kt=!!Wt,aa=ye.useState(function(){return ln+=1,"".concat(ca,"_").concat(ln)}),xa=(0,Re.Z)(aa,1),Ka=xa[0];ke(function(){if(Kt){var Cr=Ye(document.body).width,po=_n();mn(`
html body {
overflow-y: hidden;
`.concat(po?"width: calc(100% - ".concat(Cr,"px);"):"",`
}`),Ka)}else fa(Ka);return function(){fa(Ka)}},[Kt,Ka])}var cn=!1;function We(Wt){return typeof Wt=="boolean"&&(cn=Wt),cn}var Be=function(Kt){return Kt===!1?!1:!se()||!Kt?null:typeof Kt=="string"?document.querySelector(Kt):typeof Kt=="function"?Kt():Kt},Je=ye.forwardRef(function(Wt,Kt){var aa=Wt.open,xa=Wt.autoLock,Ka=Wt.getContainer,Cr=Wt.debug,po=Wt.autoDestroy,Lo=po===void 0?!0:po,rr=Wt.children,zo=ye.useState(aa),ai=(0,Re.Z)(zo,2),ii=ai[0],oo=ai[1],tn=ii||aa;ye.useEffect(function(){(Lo||aa)&&oo(aa)},[aa,Lo]);var gn=ye.useState(function(){return Be(Ka)}),Un=(0,Re.Z)(gn,2),qe=Un[0],Qn=Un[1];ye.useEffect(function(){var yr=Be(Ka);Qn(yr!=null?yr:null)});var Ma=Ke(tn&&!qe,Cr),Ta=(0,Re.Z)(Ma,2),En=Ta[0],Mn=Ta[1],Rn=qe!=null?qe:En;At(xa&&aa&&se()&&(Rn===En||Rn===document.body));var ka=null;if(rr&&oe(rr)&&Kt){var xr=rr;ka=xr.ref}var Or=re(ka,Kt);if(!tn||!se()||qe===void 0)return null;var Kr=Rn===!1||We(),uo=rr;return Kt&&(uo=ye.cloneElement(rr,{ref:Or})),ye.createElement(pe.Provider,{value:Mn},Kr?uo:(0,Te.createPortal)(uo,Rn))}),vt=Je,Vt=vt;function dn(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ta=dn()?ye.useLayoutEffect:ye.useEffect,vn=function(Kt,aa){var xa=ye.useRef(!0);ta(function(){return Kt(xa.current)},aa),ta(function(){return xa.current=!1,function(){xa.current=!0}},[])},Nn=function(Kt,aa){vn(function(xa){if(!xa)return Kt()},aa)},ia=vn,et=ye.createContext(null),Ot=ye.createContext({}),Pa=et,An=z(4942),Ft=z(87462),ya=z(62874),ot={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Kt){var aa=Kt.keyCode;if(Kt.altKey&&!Kt.ctrlKey||Kt.metaKey||aa>=ot.F1&&aa<=ot.F12)return!1;switch(aa){case ot.ALT:case ot.CAPS_LOCK:case ot.CONTEXT_MENU:case ot.CTRL:case ot.DOWN:case ot.END:case ot.ESC:case ot.HOME:case ot.INSERT:case ot.LEFT:case ot.MAC_FF_META:case ot.META:case ot.NUMLOCK:case ot.NUM_CENTER:case ot.PAGE_DOWN:case ot.PAGE_UP:case ot.PAUSE:case ot.PRINT_SCREEN:case ot.RIGHT:case ot.SHIFT:case ot.UP:case ot.WIN_KEY:case ot.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Kt){if(Kt>=ot.ZERO&&Kt<=ot.NINE||Kt>=ot.NUM_ZERO&&Kt<=ot.NUM_MULTIPLY||Kt>=ot.A&&Kt<=ot.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Kt===0)return!0;switch(Kt){case ot.SPACE:case ot.QUESTION_MARK:case ot.NUM_PLUS:case ot.NUM_MINUS:case ot.NUM_PERIOD:case ot.NUM_DIVISION:case ot.SEMICOLON:case ot.DASH:case ot.EQUALS:case ot.COMMA:case ot.PERIOD:case ot.SLASH:case ot.APOSTROPHE:case ot.SINGLE_QUOTE:case ot.OPEN_SQUARE_BRACKET:case ot.BACKSLASH:case ot.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Tt=ot,nn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Rt=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Lt="".concat(nn," ").concat(Rt).split(/[\s\n]+/),na="aria-",va="data-";function ha(Wt,Kt){return Wt.indexOf(Kt)===0}function ba(Wt){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,aa;Kt===!1?aa={aria:!0,data:!0,attr:!0}:Kt===!0?aa={aria:!0}:aa=(0,Ce.Z)({},Kt);var xa={};return Object.keys(Wt).forEach(function(Ka){(aa.aria&&(Ka==="role"||ha(Ka,na))||aa.data&&ha(Ka,va)||aa.attr&&Lt.includes(Ka))&&(xa[Ka]=Wt[Ka])}),xa}function lr(Wt){var Kt=React.useRef();Kt.current=Wt;var aa=React.useCallback(function(){for(var xa,Ka=arguments.length,Cr=new Array(Ka),po=0;po<Ka;po++)Cr[po]=arguments[po];return(xa=Kt.current)===null||xa===void 0?void 0:xa.call.apply(xa,[Kt].concat(Cr))},[]);return aa}function gr(Wt){var Kt=React.useRef(!1),aa=React.useState(Wt),xa=_slicedToArray(aa,2),Ka=xa[0],Cr=xa[1];React.useEffect(function(){return Kt.current=!1,function(){Kt.current=!0}},[]);function po(Lo,rr){rr&&Kt.current||Cr(Lo)}return[Ka,po]}function Qa(Wt){return Wt!==void 0}function Dr(Wt,Kt){var aa=Kt||{},xa=aa.defaultValue,Ka=aa.value,Cr=aa.onChange,po=aa.postState,Lo=useState(function(){return Qa(Ka)?Ka:Qa(xa)?typeof xa=="function"?xa():xa:typeof Wt=="function"?Wt():Wt}),rr=_slicedToArray(Lo,2),zo=rr[0],ai=rr[1],ii=Ka!==void 0?Ka:zo,oo=po?po(ii):ii,tn=useEvent(Cr),gn=useState([ii]),Un=_slicedToArray(gn,2),qe=Un[0],Qn=Un[1];useLayoutUpdateEffect(function(){var Ta=qe[0];zo!==Ta&&tn(zo,Ta)},[qe]),useLayoutUpdateEffect(function(){Qa(Ka)||ai(Ka)},[Ka]);var Ma=useEvent(function(Ta,En){ai(Ta,En),Qn([ii],En)});return[oo,Ma]}var so=z(33993);function zr(Wt,Kt,aa){var xa=ye.useRef({});return(!("value"in xa.current)||aa(xa.current.condition,Kt))&&(xa.current.value=Wt(),xa.current.condition=Kt),xa.current.value}function Jr(Wt,Kt){typeof Wt=="function"?Wt(Kt):(0,a.Z)(Wt)==="object"&&Wt&&"current"in Wt&&(Wt.current=Kt)}function co(){for(var Wt=arguments.length,Kt=new Array(Wt),aa=0;aa<Wt;aa++)Kt[aa]=arguments[aa];var xa=Kt.filter(function(Ka){return Ka});return xa.length<=1?xa[0]:function(Ka){Kt.forEach(function(Cr){Jr(Cr,Ka)})}}function Xr(){for(var Wt=arguments.length,Kt=new Array(Wt),aa=0;aa<Wt;aa++)Kt[aa]=arguments[aa];return zr(function(){return co.apply(void 0,Kt)},Kt,function(xa,Ka){return xa.length!==Ka.length||xa.every(function(Cr,po){return Cr!==Ka[po]})})}function bo(Wt){var Kt,aa,xa=isMemo(Wt)?Wt.type.type:Wt.type;return!(typeof xa=="function"&&!((Kt=xa.prototype)!==null&&Kt!==void 0&&Kt.render)||typeof Wt=="function"&&!((aa=Wt.prototype)!==null&&aa!==void 0&&aa.render))}function kr(Wt){return!isValidElement(Wt)||isFragment(Wt)?!1:bo(Wt)}function Sa(Wt,Kt,aa,xa){if(!Kt.length)return aa;var Ka=_toArray(Kt),Cr=Ka[0],po=Ka.slice(1),Lo;return!Wt&&typeof Cr=="number"?Lo=[]:Array.isArray(Wt)?Lo=_toConsumableArray(Wt):Lo=_objectSpread({},Wt),xa&&aa===void 0&&po.length===1?delete Lo[Cr][po[0]]:Lo[Cr]=Sa(Lo[Cr],po,aa,xa),Lo}function ja(Wt,Kt,aa){var xa=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Kt.length&&xa&&aa===void 0&&!get(Wt,Kt.slice(0,-1))?Wt:Sa(Wt,Kt,aa,xa)}function _a(Wt){return _typeof(Wt)==="object"&&Wt!==null&&Object.getPrototypeOf(Wt)===Object.prototype}function za(Wt){return Array.isArray(Wt)?[]:{}}var Ar=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function er(){for(var Wt=arguments.length,Kt=new Array(Wt),aa=0;aa<Wt;aa++)Kt[aa]=arguments[aa];var xa=za(Kt[0]);return Kt.forEach(function(Ka){function Cr(po,Lo){var rr=new Set(Lo),zo=get(Ka,po),ai=Array.isArray(zo);if(ai||_a(zo)){if(!rr.has(zo)){rr.add(zo);var ii=get(xa,po);ai?xa=ja(xa,po,[]):(!ii||_typeof(ii)!=="object")&&(xa=ja(xa,po,za(zo))),Ar(zo).forEach(function(oo){Cr([].concat(_toConsumableArray(po),[oo]),rr)})}}else xa=ja(xa,po,zo)}Cr([])}),xa}var Wa={},kt=[],sn=function(Kt){kt.push(Kt)};function Yt(Wt,Kt){if(0)var aa}function $n(Wt,Kt){if(0)var aa}function La(){Wa={}}function dr(Wt,Kt,aa){!Kt&&!Wa[aa]&&(Wt(!1,aa),Wa[aa]=!0)}function Eo(Wt,Kt){dr(Yt,Wt,Kt)}function Nr(Wt,Kt){dr($n,Wt,Kt)}Eo.preMessage=sn,Eo.resetWarned=La,Eo.noteOnce=Nr;var bn=Eo,da=function(Kt){var aa=Kt.prefixCls,xa=Kt.className,Ka=Kt.style,Cr=Kt.children,po=Kt.containerRef,Lo=Kt.id,rr=Kt.onMouseEnter,zo=Kt.onMouseOver,ai=Kt.onMouseLeave,ii=Kt.onClick,oo=Kt.onKeyDown,tn=Kt.onKeyUp,gn={onMouseEnter:rr,onMouseOver:zo,onMouseLeave:ai,onClick:ii,onKeyDown:oo,onKeyUp:tn},Un=ye.useContext(Ot),qe=Un.panel,Qn=Xr(qe,po);return ye.createElement(ye.Fragment,null,ye.createElement("div",(0,Ft.Z)({id:Lo,className:ie()("".concat(aa,"-content"),xa),style:(0,Ce.Z)({},Ka),"aria-modal":"true",role:"dialog",ref:Qn},gn),Cr))},ro=da;function la(Wt){return typeof Wt=="string"&&String(Number(Wt))===Wt?(bn(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Wt)):Wt}function Ya(Wt){warning(!("wrapperClassName"in Wt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Wt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Bt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Yn(Wt,Kt){var aa,xa,Ka,Cr,po=Wt.prefixCls,Lo=Wt.open,rr=Wt.placement,zo=Wt.inline,ai=Wt.push,ii=Wt.forceRender,oo=Wt.autoFocus,tn=Wt.keyboard,gn=Wt.rootClassName,Un=Wt.rootStyle,qe=Wt.zIndex,Qn=Wt.className,Ma=Wt.id,Ta=Wt.style,En=Wt.motion,Mn=Wt.width,Rn=Wt.height,ka=Wt.children,xr=Wt.contentWrapperStyle,Or=Wt.mask,Kr=Wt.maskClosable,uo=Wt.maskMotion,yr=Wt.maskClassName,Ha=Wt.maskStyle,Hn=Wt.afterOpenChange,Tn=Wt.onClose,Oa=Wt.onMouseEnter,Lr=Wt.onMouseOver,we=Wt.onMouseLeave,an=Wt.onClick,wn=Wt.onKeyDown,Wn=Wt.onKeyUp,Ct=ye.useRef(),jn=ye.useRef(),Gn=ye.useRef();ye.useImperativeHandle(Kt,function(){return Ct.current});var In=function(Qi){var Xi=Qi.keyCode,Ki=Qi.shiftKey;switch(Xi){case Tt.TAB:{if(Xi===Tt.TAB){if(!Ki&&document.activeElement===Gn.current){var ul;(ul=jn.current)===null||ul===void 0||ul.focus({preventScroll:!0})}else if(Ki&&document.activeElement===jn.current){var Tl;(Tl=Gn.current)===null||Tl===void 0||Tl.focus({preventScroll:!0})}}break}case Tt.ESC:{Tn&&tn&&(Qi.stopPropagation(),Tn(Qi));break}}};ye.useEffect(function(){if(Lo&&oo){var Mi;(Mi=Ct.current)===null||Mi===void 0||Mi.focus({preventScroll:!0})}},[Lo]);var Jn=ye.useState(!1),sr=(0,Re.Z)(Jn,2),hr=sr[0],Qr=sr[1],Fr=ye.useContext(Pa),_o;ai===!1?_o={distance:0}:ai===!0?_o={}:_o=ai||{};var Ho=(aa=(xa=(Ka=_o)===null||Ka===void 0?void 0:Ka.distance)!==null&&xa!==void 0?xa:Fr==null?void 0:Fr.pushDistance)!==null&&aa!==void 0?aa:180,zi=ye.useMemo(function(){return{pushDistance:Ho,push:function(){Qr(!0)},pull:function(){Qr(!1)}}},[Ho]);ye.useEffect(function(){if(Lo){var Mi;Fr==null||(Mi=Fr.push)===null||Mi===void 0||Mi.call(Fr)}else{var Qi;Fr==null||(Qi=Fr.pull)===null||Qi===void 0||Qi.call(Fr)}},[Lo]),ye.useEffect(function(){return function(){var Mi;Fr==null||(Mi=Fr.pull)===null||Mi===void 0||Mi.call(Fr)}},[]);var Gi=Or&&ye.createElement(ya.Z,(0,Ft.Z)({key:"mask"},uo,{visible:Lo}),function(Mi,Qi){var Xi=Mi.className,Ki=Mi.style;return ye.createElement("div",{className:ie()("".concat(po,"-mask"),Xi,yr),style:(0,Ce.Z)((0,Ce.Z)({},Ki),Ha),onClick:Kr&&Lo?Tn:void 0,ref:Qi})}),sl=typeof En=="function"?En(rr):En,Oi={};if(hr&&Ho)switch(rr){case"top":Oi.transform="translateY(".concat(Ho,"px)");break;case"bottom":Oi.transform="translateY(".concat(-Ho,"px)");break;case"left":Oi.transform="translateX(".concat(Ho,"px)");break;default:Oi.transform="translateX(".concat(-Ho,"px)");break}rr==="left"||rr==="right"?Oi.width=la(Mn):Oi.height=la(Rn);var Zi={onMouseEnter:Oa,onMouseOver:Lr,onMouseLeave:we,onClick:an,onKeyDown:wn,onKeyUp:Wn},El=ye.createElement(ya.Z,(0,Ft.Z)({key:"panel"},sl,{visible:Lo,forceRender:ii,onVisibleChanged:function(Qi){Hn==null||Hn(Qi)},removeOnLeave:!1,leavedClassName:"".concat(po,"-content-wrapper-hidden")}),function(Mi,Qi){var Xi=Mi.className,Ki=Mi.style;return ye.createElement("div",(0,Ft.Z)({className:ie()("".concat(po,"-content-wrapper"),Xi),style:(0,Ce.Z)((0,Ce.Z)((0,Ce.Z)({},Oi),Ki),xr)},ba(Wt,{data:!0})),ye.createElement(ro,(0,Ft.Z)({id:Ma,containerRef:Qi,prefixCls:po,className:Qn,style:Ta},Zi),ka))}),Pl=(0,Ce.Z)({},Un);return qe&&(Pl.zIndex=qe),ye.createElement(Pa.Provider,{value:zi},ye.createElement("div",{className:ie()(po,"".concat(po,"-").concat(rr),gn,(Cr={},(0,An.Z)(Cr,"".concat(po,"-open"),Lo),(0,An.Z)(Cr,"".concat(po,"-inline"),zo),Cr)),style:Pl,tabIndex:-1,ref:Ct,onKeyDown:In},Gi,ye.createElement("div",{tabIndex:0,ref:jn,style:Bt,"aria-hidden":"true","data-sentinel":"start"}),El,ye.createElement("div",{tabIndex:0,ref:Gn,style:Bt,"aria-hidden":"true","data-sentinel":"end"})))}var Dn=ye.forwardRef(Yn),It=Dn,ar=function(Kt){var aa=Kt.open,xa=aa===void 0?!1:aa,Ka=Kt.prefixCls,Cr=Ka===void 0?"rc-drawer":Ka,po=Kt.placement,Lo=po===void 0?"right":po,rr=Kt.autoFocus,zo=rr===void 0?!0:rr,ai=Kt.keyboard,ii=ai===void 0?!0:ai,oo=Kt.width,tn=oo===void 0?378:oo,gn=Kt.mask,Un=gn===void 0?!0:gn,qe=Kt.maskClosable,Qn=qe===void 0?!0:qe,Ma=Kt.getContainer,Ta=Kt.forceRender,En=Kt.afterOpenChange,Mn=Kt.destroyOnClose,Rn=Kt.onMouseEnter,ka=Kt.onMouseOver,xr=Kt.onMouseLeave,Or=Kt.onClick,Kr=Kt.onKeyDown,uo=Kt.onKeyUp,yr=Kt.panelRef,Ha=ye.useState(!1),Hn=(0,Re.Z)(Ha,2),Tn=Hn[0],Oa=Hn[1],Lr=ye.useState(!1),we=(0,Re.Z)(Lr,2),an=we[0],wn=we[1];ia(function(){wn(!0)},[]);var Wn=an?xa:!1,Ct=ye.useRef(),jn=ye.useRef();ia(function(){Wn&&(jn.current=document.activeElement)},[Wn]);var Gn=function(Qr){var Fr;if(Oa(Qr),En==null||En(Qr),!Qr&&jn.current&&!((Fr=Ct.current)!==null&&Fr!==void 0&&Fr.contains(jn.current))){var _o;(_o=jn.current)===null||_o===void 0||_o.focus({preventScroll:!0})}},In=ye.useMemo(function(){return{panel:yr}},[yr]);if(!Ta&&!Tn&&!Wn&&Mn)return null;var Jn={onMouseEnter:Rn,onMouseOver:ka,onMouseLeave:xr,onClick:Or,onKeyDown:Kr,onKeyUp:uo},sr=(0,Ce.Z)((0,Ce.Z)({},Kt),{},{open:Wn,prefixCls:Cr,placement:Lo,autoFocus:zo,keyboard:ii,width:tn,mask:Un,maskClosable:Qn,inline:Ma===!1,afterOpenChange:Gn,ref:Ct},Jn);return ye.createElement(Ot.Provider,{value:In},ye.createElement(Vt,{open:Wn||Ta||Tn,autoDestroy:!1,getContainer:Ma,autoLock:Un&&(Wn||Tn)},ye.createElement(It,sr)))},ga=ar,Ja=ga,wa=z(33603),Io=z(53124),Yr=z(65223),Zo=z(69760),vi=Wt=>{const{prefixCls:Kt,title:aa,footer:xa,extra:Ka,closeIcon:Cr,closable:po,onClose:Lo,headerStyle:rr,drawerStyle:zo,bodyStyle:ai,footerStyle:ii,children:oo}=Wt,tn=ye.useCallback(Ma=>ye.createElement("button",{type:"button",onClick:Lo,"aria-label":"Close",className:`${Kt}-close`},Ma),[Lo]),[gn,Un]=(0,Zo.Z)(po,Cr,tn,void 0,!0),qe=ye.useMemo(()=>!aa&&!gn?null:ye.createElement("div",{style:rr,className:ie()(`${Kt}-header`,{[`${Kt}-header-close-only`]:gn&&!aa&&!Ka})},ye.createElement("div",{className:`${Kt}-header-title`},Un,aa&&ye.createElement("div",{className:`${Kt}-title`},aa)),Ka&&ye.createElement("div",{className:`${Kt}-extra`},Ka)),[gn,Un,Ka,rr,Kt,aa]),Qn=ye.useMemo(()=>{if(!xa)return null;const Ma=`${Kt}-footer`;return ye.createElement("div",{className:Ma,style:ii},xa)},[xa,ii,Kt]);return ye.createElement("div",{className:`${Kt}-wrapper-body`,style:zo},qe,ye.createElement("div",{className:`${Kt}-body`,style:ai},oo),Qn)},Da=z(4173),yi=z(67968),Hr=z(45503),pi=Wt=>{const{componentCls:Kt,motionDurationSlow:aa}=Wt,xa={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${aa}`}}};return{[Kt]:{[`${Kt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${aa}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Kt}-panel-motion`]:{"&-left":[xa,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[xa,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[xa,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[xa,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const qa=Wt=>{const{componentCls:Kt,zIndexPopup:aa,colorBgMask:xa,colorBgElevated:Ka,motionDurationSlow:Cr,motionDurationMid:po,padding:Lo,paddingLG:rr,fontSizeLG:zo,lineHeightLG:ai,lineWidth:ii,lineType:oo,colorSplit:tn,marginSM:gn,colorIcon:Un,colorIconHover:qe,colorText:Qn,fontWeightStrong:Ma,footerPaddingBlock:Ta,footerPaddingInline:En}=Wt,Mn=`${Kt}-content-wrapper`;return{[Kt]:{position:"fixed",inset:0,zIndex:aa,pointerEvents:"none","&-pure":{position:"relative",background:Ka,[`&${Kt}-left`]:{boxShadow:Wt.boxShadowDrawerLeft},[`&${Kt}-right`]:{boxShadow:Wt.boxShadowDrawerRight},[`&${Kt}-top`]:{boxShadow:Wt.boxShadowDrawerUp},[`&${Kt}-bottom`]:{boxShadow:Wt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Kt}-mask`]:{position:"absolute",inset:0,zIndex:aa,background:xa,pointerEvents:"auto"},[Mn]:{position:"absolute",zIndex:aa,maxWidth:"100vw",transition:`all ${Cr}`,"&-hidden":{display:"none"}},[`&-left > ${Mn}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Wt.boxShadowDrawerLeft},[`&-right > ${Mn}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Wt.boxShadowDrawerRight},[`&-top > ${Mn}`]:{top:0,insetInline:0,boxShadow:Wt.boxShadowDrawerUp},[`&-bottom > ${Mn}`]:{bottom:0,insetInline:0,boxShadow:Wt.boxShadowDrawerDown},[`${Kt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Ka,pointerEvents:"auto"},[`${Kt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Kt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Lo}px ${rr}px`,fontSize:zo,lineHeight:ai,borderBottom:`${ii}px ${oo} ${tn}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Kt}-extra`]:{flex:"none"},[`${Kt}-close`]:{display:"inline-block",marginInlineEnd:gn,color:Un,fontWeight:Ma,fontSize:zo,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${po}`,textRendering:"auto","&:focus, &:hover":{color:qe,textDecoration:"none"}},[`${Kt}-title`]:{flex:1,margin:0,color:Qn,fontWeight:Wt.fontWeightStrong,fontSize:zo,lineHeight:ai},[`${Kt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:rr,overflow:"auto"},[`${Kt}-footer`]:{flexShrink:0,padding:`${Ta}px ${En}px`,borderTop:`${ii}px ${oo} ${tn}`},"&-rtl":{direction:"rtl"}}}};var Ir=(0,yi.Z)("Drawer",Wt=>{const Kt=(0,Hr.TS)(Wt,{});return[qa(Kt),pi(Kt)]},Wt=>({zIndexPopup:Wt.zIndexPopupBase,footerPaddingBlock:Wt.paddingXS,footerPaddingInline:Wt.padding})),vo=z(16569),ir=function(Wt,Kt){var aa={};for(var xa in Wt)Object.prototype.hasOwnProperty.call(Wt,xa)&&Kt.indexOf(xa)<0&&(aa[xa]=Wt[xa]);if(Wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ka=0,xa=Object.getOwnPropertySymbols(Wt);Ka<xa.length;Ka++)Kt.indexOf(xa[Ka])<0&&Object.prototype.propertyIsEnumerable.call(Wt,xa[Ka])&&(aa[xa[Ka]]=Wt[xa[Ka]]);return aa};const fi=null,ci={distance:180},Fi=Wt=>{var Kt;const{rootClassName:aa,width:xa,height:Ka,size:Cr="default",mask:po=!0,push:Lo=ci,open:rr,afterOpenChange:zo,onClose:ai,prefixCls:ii,getContainer:oo,style:tn,className:gn,visible:Un,afterVisibleChange:qe}=Wt,Qn=ir(Wt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:Ma,getPrefixCls:Ta,direction:En,drawer:Mn}=ye.useContext(Io.E_),Rn=Ta("drawer",ii),[ka,xr]=Ir(Rn),Or=oo===void 0&&Ma?()=>Ma(document.body):oo,Kr=ie()({"no-mask":!po,[`${Rn}-rtl`]:En==="rtl"},aa,xr),uo=ye.useMemo(()=>xa!=null?xa:Cr==="large"?736:378,[xa,Cr]),yr=ye.useMemo(()=>Ka!=null?Ka:Cr==="large"?736:378,[Ka,Cr]),Ha={motionName:(0,wa.m)(Rn,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Hn=Oa=>({motionName:(0,wa.m)(Rn,`panel-motion-${Oa}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Tn=(0,vo.H)();return ka(ye.createElement(Da.BR,null,ye.createElement(Yr.Ux,{status:!0,override:!0},ye.createElement(Ja,Object.assign({prefixCls:Rn,onClose:ai,maskMotion:Ha,motion:Hn},Qn,{open:rr!=null?rr:Un,mask:po,push:Lo,width:uo,height:yr,style:Object.assign(Object.assign({},Mn==null?void 0:Mn.style),tn),className:ie()(Mn==null?void 0:Mn.className,gn),rootClassName:Kr,getContainer:Or,afterOpenChange:zo!=null?zo:qe,panelRef:Tn}),ye.createElement(vi,Object.assign({prefixCls:Rn},Qn,{onClose:ai}))))))},ei=Wt=>{const{prefixCls:Kt,style:aa,className:xa,placement:Ka="right"}=Wt,Cr=ir(Wt,["prefixCls","style","className","placement"]),{getPrefixCls:po}=ye.useContext(Io.E_),Lo=po("drawer",Kt),[rr,zo]=Ir(Lo),ai=ie()(Lo,`${Lo}-pure`,`${Lo}-${Ka}`,zo,xa);return rr(ye.createElement("div",{className:ai,style:aa},ye.createElement(vi,Object.assign({prefixCls:Lo},Cr))))};Fi._InternalPanelDoNotUseOrYouWillBeFired=ei;var hi=Fi},35874:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return Be}});var x=z(67294),ie=z(91034),Ce=z(94184),Re=z.n(Ce),ye=z(87462),Te=z(4942),se=z(97685),nt=z(45987),Me=z(62709),ze=z(71002),Ze=z(12060);function de(Je,vt,Vt){var dn=React.useRef({});return(!("value"in dn.current)||Vt(dn.current.condition,vt))&&(dn.current.value=Je(),dn.current.condition=vt),dn.current.value}function _e(Je,vt){typeof Je=="function"?Je(vt):(0,ze.Z)(Je)==="object"&&Je&&"current"in Je&&(Je.current=vt)}function ue(){for(var Je=arguments.length,vt=new Array(Je),Vt=0;Vt<Je;Vt++)vt[Vt]=arguments[Vt];var dn=vt.filter(function(ta){return ta});return dn.length<=1?dn[0]:function(ta){vt.forEach(function(vn){_e(vn,ta)})}}function y(){for(var Je=arguments.length,vt=new Array(Je),Vt=0;Vt<Je;Vt++)vt[Vt]=arguments[Vt];return useMemo(function(){return ue.apply(void 0,vt)},vt,function(dn,ta){return dn.length===ta.length&&dn.every(function(vn,Nn){return vn===ta[Nn]})})}function a(Je){var vt,Vt,dn=(0,Ze.isMemo)(Je)?Je.type.type:Je.type;return!(typeof dn=="function"&&!((vt=dn.prototype)!==null&&vt!==void 0&&vt.render)||typeof Je=="function"&&!((Vt=Je.prototype)!==null&&Vt!==void 0&&Vt.render))}var b={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(vt){var Vt=vt.keyCode;if(vt.altKey&&!vt.ctrlKey||vt.metaKey||Vt>=b.F1&&Vt<=b.F12)return!1;switch(Vt){case b.ALT:case b.CAPS_LOCK:case b.CONTEXT_MENU:case b.CTRL:case b.DOWN:case b.END:case b.ESC:case b.HOME:case b.INSERT:case b.LEFT:case b.MAC_FF_META:case b.META:case b.NUMLOCK:case b.NUM_CENTER:case b.PAGE_DOWN:case b.PAGE_UP:case b.PAUSE:case b.PRINT_SCREEN:case b.RIGHT:case b.SHIFT:case b.UP:case b.WIN_KEY:case b.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(vt){if(vt>=b.ZERO&&vt<=b.NINE||vt>=b.NUM_ZERO&&vt<=b.NUM_MULTIPLY||vt>=b.A&&vt<=b.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&vt===0)return!0;switch(vt){case b.SPACE:case b.QUESTION_MARK:case b.NUM_PLUS:case b.NUM_MINUS:case b.NUM_PERIOD:case b.NUM_DIVISION:case b.SEMICOLON:case b.DASH:case b.EQUALS:case b.COMMA:case b.PERIOD:case b.SLASH:case b.APOSTROPHE:case b.SINGLE_QUOTE:case b.OPEN_SQUARE_BRACKET:case b.BACKSLASH:case b.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},E=b,ee=function(vt){return+setTimeout(vt,16)},te=function(vt){return clearTimeout(vt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ee=function(vt){return window.requestAnimationFrame(vt)},te=function(vt){return window.cancelAnimationFrame(vt)});var re=0,oe=new Map;function ce(Je){oe.delete(Je)}var pe=function(vt){var Vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;re+=1;var dn=re;function ta(vn){if(vn===0)ce(dn),vt();else{var Nn=ee(function(){ta(vn-1)});oe.set(dn,Nn)}}return ta(Vt),dn};pe.cancel=function(Je){var vt=oe.get(Je);return ce(vt),te(vt)};var Pe=pe,He=E.ESC,ke=E.TAB;function Oe(Je){var vt=Je.visible,Vt=Je.triggerRef,dn=Je.onVisibleChange,ta=Je.autoFocus,vn=Je.overlayRef,Nn=x.useRef(!1),ia=function(){if(vt){var An,Ft;(An=Vt.current)===null||An===void 0||(Ft=An.focus)===null||Ft===void 0||Ft.call(An),dn==null||dn(!1)}},et=function(){var An;return(An=vn.current)!==null&&An!==void 0&&An.focus?(vn.current.focus(),Nn.current=!0,!0):!1},Ot=function(An){switch(An.keyCode){case He:ia();break;case ke:{var Ft=!1;Nn.current||(Ft=et()),Ft?An.preventDefault():ia();break}}};x.useEffect(function(){return vt?(window.addEventListener("keydown",Ot),ta&&Pe(et,3),function(){window.removeEventListener("keydown",Ot),Nn.current=!1}):function(){Nn.current=!1}},[vt])}var he=(0,x.forwardRef)(function(Je,vt){var Vt=Je.overlay,dn=Je.arrow,ta=Je.prefixCls,vn=(0,x.useMemo)(function(){var ia;return typeof Vt=="function"?ia=Vt():ia=Vt,ia},[Vt]),Nn=ue(vt,vn==null?void 0:vn.ref);return x.createElement(x.Fragment,null,dn&&x.createElement("div",{className:"".concat(ta,"-arrow")}),x.cloneElement(vn,{ref:a(vn)?Nn:void 0}))}),Ke=he,Ue={adjustX:1,adjustY:1},$e=[0,0],Fe={topLeft:{points:["bl","tl"],overflow:Ue,offset:[0,-4],targetOffset:$e},top:{points:["bc","tc"],overflow:Ue,offset:[0,-4],targetOffset:$e},topRight:{points:["br","tr"],overflow:Ue,offset:[0,-4],targetOffset:$e},bottomLeft:{points:["tl","bl"],overflow:Ue,offset:[0,4],targetOffset:$e},bottom:{points:["tc","bc"],overflow:Ue,offset:[0,4],targetOffset:$e},bottomRight:{points:["tr","br"],overflow:Ue,offset:[0,4],targetOffset:$e}},at=Fe,lt=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function ft(Je,vt){var Vt,dn=Je.arrow,ta=dn===void 0?!1:dn,vn=Je.prefixCls,Nn=vn===void 0?"rc-dropdown":vn,ia=Je.transitionName,et=Je.animation,Ot=Je.align,Pa=Je.placement,An=Pa===void 0?"bottomLeft":Pa,Ft=Je.placements,ya=Ft===void 0?at:Ft,ot=Je.getPopupContainer,Tt=Je.showAction,nn=Je.hideAction,Rt=Je.overlayClassName,Lt=Je.overlayStyle,na=Je.visible,va=Je.trigger,ha=va===void 0?["hover"]:va,ba=Je.autoFocus,lr=Je.overlay,gr=Je.children,Qa=Je.onVisibleChange,Dr=(0,nt.Z)(Je,lt),so=x.useState(),zr=(0,se.Z)(so,2),Jr=zr[0],co=zr[1],Xr="visible"in Je?na:Jr,bo=x.useRef(null),kr=x.useRef(null),Sa=x.useRef(null);x.useImperativeHandle(vt,function(){return bo.current});var ja=function($n){co($n),Qa==null||Qa($n)};Oe({visible:Xr,triggerRef:Sa,onVisibleChange:ja,autoFocus:ba,overlayRef:kr});var _a=function($n){var La=Je.onOverlayClick;co(!1),La&&La($n)},za=function(){return x.createElement(Ke,{ref:kr,overlay:lr,prefixCls:Nn,arrow:ta})},Ar=function(){return typeof lr=="function"?za:za()},er=function(){var $n=Je.minOverlayWidthMatchTrigger,La=Je.alignPoint;return"minOverlayWidthMatchTrigger"in Je?$n:!La},Wa=function(){var $n=Je.openClassName;return $n!==void 0?$n:"".concat(Nn,"-open")},kt=x.cloneElement(gr,{className:Re()((Vt=gr.props)===null||Vt===void 0?void 0:Vt.className,Xr&&Wa()),ref:a(gr)?ue(Sa,gr.ref):void 0}),sn=nn;return!sn&&ha.indexOf("contextMenu")!==-1&&(sn=["click"]),x.createElement(Me.Z,(0,ye.Z)({builtinPlacements:ya},Dr,{prefixCls:Nn,ref:bo,popupClassName:Re()(Rt,(0,Te.Z)({},"".concat(Nn,"-show-arrow"),ta)),popupStyle:Lt,action:ha,showAction:Tt,hideAction:sn,popupPlacement:An,popupAlign:Ot,popupTransitionName:ia,popupAnimation:et,popupVisible:Xr,stretch:er()?"minWidth":"",popup:Ar(),onPopupVisibleChange:ja,onPopupClick:_a,getPopupContainer:ot}),kt)}var ut=x.forwardRef(ft),St=ut,jt=z(60276),Vn=z(5663),fa=z(10366),mt=z(80636),ht=z(8745),mn=z(96159),oa=z(53124),Sn=z(68508),Kn=z(76529),Ye=z(46605),_n=z(66748);const ca=null,ln=Je=>{const{menu:vt,arrow:Vt,prefixCls:dn,children:ta,trigger:vn,disabled:Nn,dropdownRender:ia,getPopupContainer:et,overlayClassName:Ot,rootClassName:Pa,open:An,onOpenChange:Ft,visible:ya,onVisibleChange:ot,mouseEnterDelay:Tt=.15,mouseLeaveDelay:nn=.1,autoAdjustOverflow:Rt=!0,placement:Lt="",overlay:na,transitionName:va}=Je,{getPopupContainer:ha,getPrefixCls:ba,direction:lr}=x.useContext(oa.E_),gr=x.useMemo(()=>{const kt=ba();return va!==void 0?va:Lt.includes("top")?`${kt}-slide-down`:`${kt}-slide-up`},[ba,Lt,va]),Qa=x.useMemo(()=>Lt?Lt.includes("Center")?Lt.slice(0,Lt.indexOf("Center")):Lt:lr==="rtl"?"bottomRight":"bottomLeft",[Lt,lr]),Dr=ba("dropdown",dn),[so,zr]=(0,_n.Z)(Dr),[,Jr]=(0,Ye.Z)(),co=x.Children.only(ta),Xr=(0,mn.Tm)(co,{className:Re()(`${Dr}-trigger`,{[`${Dr}-rtl`]:lr==="rtl"},co.props.className),disabled:Nn}),bo=Nn?[]:vn;let kr;bo&&bo.includes("contextMenu")&&(kr=!0);const[Sa,ja]=(0,Vn.Z)(!1,{value:An!=null?An:ya}),_a=(0,jt.useEvent)(kt=>{Ft==null||Ft(kt),ot==null||ot(kt),ja(kt)}),za=Re()(Ot,Pa,zr,{[`${Dr}-rtl`]:lr==="rtl"}),Ar=(0,mt.Z)({arrowPointAtCenter:typeof Vt=="object"&&Vt.pointAtCenter,autoAdjustOverflow:Rt,offset:Jr.marginXXS,arrowWidth:Vt?Jr.sizePopupArrow:0,borderRadius:Jr.borderRadius}),er=x.useCallback(()=>{ja(!1)},[]),Wa=()=>{let kt;return vt!=null&&vt.items?kt=x.createElement(Sn.default,Object.assign({},vt)):typeof na=="function"?kt=na():kt=na,ia&&(kt=ia(kt)),kt=x.Children.only(typeof kt=="string"?x.createElement("span",null,kt):kt),x.createElement(Kn.J,{prefixCls:`${Dr}-menu`,expandIcon:x.createElement("span",{className:`${Dr}-menu-submenu-arrow`},x.createElement(ie.Z,{className:`${Dr}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:er,validator:sn=>{let{mode:Yt}=sn}},kt)};return so(x.createElement(St,Object.assign({alignPoint:kr},(0,fa.Z)(Je,["rootClassName"]),{mouseEnterDelay:Tt,mouseLeaveDelay:nn,visible:Sa,builtinPlacements:Ar,arrow:!!Vt,overlayClassName:za,prefixCls:Dr,getPopupContainer:et||ha,transitionName:gr,trigger:bo,overlay:Wa,placement:Qa,onVisibleChange:_a}),Xr))};function At(Je){return Object.assign(Object.assign({},Je),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const cn=(0,ht.Z)(ln,"dropdown",Je=>Je,At),We=Je=>x.createElement(cn,Object.assign({},Je),x.createElement("span",null));ln._InternalPanelDoNotUseOrYouWillBeFired=We;var Be=ln},85418:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return y}});var x=z(35874),ie=z(94184),Ce=z.n(ie),Re=z(67294),ye=z(25877),Te=z(71577),se=z(53124),nt=z(93421),Me=z(4173),ze=z(66748),Ze=function(a,b){var E={};for(var ee in a)Object.prototype.hasOwnProperty.call(a,ee)&&b.indexOf(ee)<0&&(E[ee]=a[ee]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,ee=Object.getOwnPropertySymbols(a);te<ee.length;te++)b.indexOf(ee[te])<0&&Object.prototype.propertyIsEnumerable.call(a,ee[te])&&(E[ee[te]]=a[ee[te]]);return E};const de=a=>{const{getPopupContainer:b,getPrefixCls:E,direction:ee}=Re.useContext(se.E_),{prefixCls:te,type:re="default",danger:oe,disabled:ce,loading:pe,onClick:Pe,htmlType:He,children:ke,className:Oe,menu:he,arrow:Ke,autoFocus:Ue,overlay:$e,trigger:Fe,align:at,open:lt,onOpenChange:ft,placement:ut,getPopupContainer:St,href:jt,icon:Vn=Re.createElement(ye.Z,null),title:fa,buttonsRender:mt=Nn=>Nn,mouseEnterDelay:ht,mouseLeaveDelay:mn,overlayClassName:oa,overlayStyle:Sn,destroyPopupOnHide:Kn,dropdownRender:Ye}=a,_n=Ze(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"]),ca=E("dropdown",te),ln=`${ca}-button`,[At,cn]=(0,ze.Z)(ca),We={menu:he,arrow:Ke,autoFocus:Ue,align:at,disabled:ce,trigger:ce?[]:Fe,onOpenChange:ft,getPopupContainer:St||b,mouseEnterDelay:ht,mouseLeaveDelay:mn,overlayClassName:oa,overlayStyle:Sn,destroyPopupOnHide:Kn,dropdownRender:Ye},{compactSize:Be,compactItemClassnames:Je}=(0,Me.ri)(ca,ee),vt=Ce()(ln,Je,Oe,cn);"overlay"in a&&(We.overlay=$e),"open"in a&&(We.open=lt),"placement"in a?We.placement=ut:We.placement=ee==="rtl"?"bottomLeft":"bottomRight";const Vt=Re.createElement(Te.ZP,{type:re,danger:oe,disabled:ce,loading:pe,onClick:Pe,htmlType:He,href:jt,title:fa},ke),dn=Re.createElement(Te.ZP,{type:re,danger:oe,icon:Vn}),[ta,vn]=mt([Vt,dn]);return At(Re.createElement(nt.Z.Compact,Object.assign({className:vt,size:Be,block:!0},_n),ta,Re.createElement(x.Z,Object.assign({},We),vn)))};de.__ANT_BUTTON=!0;var _e=de;const ue=x.Z;ue.Button=_e;var y=ue},66748:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return Ze}});var x=z(14747),ie=z(67771),Ce=z(33297),Re=z(50438),ye=z(97414),Te=z(67968),se=z(45503),Me=de=>{const{componentCls:_e,menuCls:ue,colorError:y,colorTextLightSolid:a}=de,b=`${ue}-item`;return{[`${_e}, ${_e}-menu-submenu`]:{[`${ue} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const ze=de=>{const{componentCls:_e,menuCls:ue,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:b,antCls:E,iconCls:ee,motionDurationMid:te,dropdownPaddingVertical:re,fontSize:oe,dropdownEdgeChildPadding:ce,colorTextDisabled:pe,fontSizeIcon:Pe,controlPaddingHorizontal:He,colorBgElevated:ke}=de;return[{[_e]:Object.assign(Object.assign({},(0,x.Wf)(de)),{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`]:{[`& > ${ee}-down, & > ${E}-btn-icon > ${ee}-down`]:{fontSize:Pe}},[`${_e}-wrap`]:{position:"relative",[`${E}-btn > ${ee}-down`]:{fontSize:Pe},[`${ee}-down::before`]:{transition:`transform ${te}`}},[`${_e}-wrap-open`]:{[`${ee}-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:ie.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:ie.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:ie.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:ie.ly}})},(0,ye.ZP)(de,{colorBg:ke,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${_e} ${ue}`]:{position:"relative",margin:0},[`${ue}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${_e}, ${_e}-menu-submenu`]:{[ue]:Object.assign(Object.assign({padding:ce,listStyleType:"none",backgroundColor:ke,backgroundClip:"padding-box",borderRadius:de.borderRadiusLG,outline:"none",boxShadow:de.boxShadowSecondary},(0,x.Qy)(de)),{[`${ue}-item-group-title`]:{padding:`${re}px ${He}px`,color:de.colorTextDescription,transition:`all ${te}`},[`${ue}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ue}-item-icon`]:{minWidth:oe,marginInlineEnd:de.marginXS,fontSize:de.fontSizeSM},[`${ue}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ue}-item, ${ue}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${He}px`,color:de.colorText,fontWeight:"normal",fontSize:oe,lineHeight:de.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:de.borderRadiusSM,"&:hover, &-active":{backgroundColor:de.controlItemBgHover}},(0,x.Qy)(de)),{"&-selected":{color:de.colorPrimary,backgroundColor:de.controlItemBgActive,"&:hover, &-active":{backgroundColor:de.controlItemBgActiveHover}},"&-disabled":{color:pe,cursor:"not-allowed","&:hover":{color:pe,backgroundColor:ke,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${de.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:de.colorSplit},[`${_e}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:de.paddingXS,[`${_e}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:de.colorTextDescription,fontSize:Pe,fontStyle:"normal"}}}),[`${ue}-item-group-list`]:{margin:`0 ${de.marginXS}px`,padding:0,listStyle:"none"},[`${ue}-submenu-title`]:{paddingInlineEnd:He+de.fontSizeSM},[`${ue}-submenu-vertical`]:{position:"relative"},[`${ue}-submenu${ue}-submenu-disabled ${_e}-menu-submenu-title`]:{[`&, ${_e}-menu-submenu-arrow-icon`]:{color:pe,backgroundColor:ke,cursor:"not-allowed"}},[`${ue}-submenu-selected ${_e}-menu-submenu-title`]:{color:de.colorPrimary}})}},[(0,ie.oN)(de,"slide-up"),(0,ie.oN)(de,"slide-down"),(0,Ce.Fm)(de,"move-up"),(0,Ce.Fm)(de,"move-down"),(0,Re._y)(de,"zoom-big")]]};var Ze=(0,Te.Z)("Dropdown",(de,_e)=>{let{rootPrefixCls:ue}=_e;const{marginXXS:y,sizePopupArrow:a,controlHeight:b,fontSize:E,lineHeight:ee,paddingXXS:te,componentCls:re,borderRadiusLG:oe}=de,ce=(b-E*ee)/2,{dropdownArrowOffset:pe}=(0,ye.fS)({contentRadius:oe}),Pe=(0,se.TS)(de,{menuCls:`${re}-menu`,rootPrefixCls:ue,dropdownArrowDistance:a/2+y,dropdownArrowOffset:pe,dropdownPaddingVertical:ce,dropdownEdgeChildPadding:te});return[ze(Pe),Me(Pe)]},de=>({zIndexPopup:de.zIndexPopupBase+50}))},25378:function(Jt,zt,z){"use strict";var x=z(67294),ie=z(14075),Ce=z(57838),Re=z(74443);function ye(){let Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const se=(0,x.useRef)({}),nt=(0,Ce.Z)(),Me=(0,Re.ZP)();return(0,ie.Z)(()=>{const ze=Me.subscribe(Ze=>{se.current=Ze,Te&&nt()});return()=>Me.unsubscribe(ze)},[]),se.current}zt.Z=ye},71322:function(Jt,zt,z){"use strict";z.d(zt,{D:function(){return ee},Z:function(){return oe}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(pe,Pe){return ie.createElement(ye.Z,(0,x.Z)({},pe,{ref:Pe,icon:Re}))},se=ie.forwardRef(Te),nt=z(22751),Me=z(91034),ze=z(94184),Ze=z.n(ze),de=z(10366),ue=ce=>!isNaN(parseFloat(ce))&&isFinite(ce),y=z(53124),a=z(84321),b=function(ce,pe){var Pe={};for(var He in ce)Object.prototype.hasOwnProperty.call(ce,He)&&pe.indexOf(He)<0&&(Pe[He]=ce[He]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,He=Object.getOwnPropertySymbols(ce);ke<He.length;ke++)pe.indexOf(He[ke])<0&&Object.prototype.propertyIsEnumerable.call(ce,He[ke])&&(Pe[He[ke]]=ce[He[ke]]);return Pe};const E={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ee=ie.createContext({}),te=(()=>{let ce=0;return function(){let pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ce+=1,`${pe}${ce}`}})();var oe=ie.forwardRef((ce,pe)=>{const{prefixCls:Pe,className:He,trigger:ke,children:Oe,defaultCollapsed:he=!1,theme:Ke="dark",style:Ue={},collapsible:$e=!1,reverseArrow:Fe=!1,width:at=200,collapsedWidth:lt=80,zeroWidthTriggerStyle:ft,breakpoint:ut,onCollapse:St,onBreakpoint:jt}=ce,Vn=b(ce,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:fa}=(0,ie.useContext)(a.Gs),[mt,ht]=(0,ie.useState)("collapsed"in ce?ce.collapsed:he),[mn,oa]=(0,ie.useState)(!1);(0,ie.useEffect)(()=>{"collapsed"in ce&&ht(ce.collapsed)},[ce.collapsed]);const Sn=(At,cn)=>{"collapsed"in ce||ht(At),St==null||St(At,cn)},Kn=(0,ie.useRef)();Kn.current=At=>{oa(At.matches),jt==null||jt(At.matches),mt!==At.matches&&Sn(At.matches,"responsive")},(0,ie.useEffect)(()=>{function At(We){return Kn.current(We)}let cn;if(typeof window!="undefined"){const{matchMedia:We}=window;if(We&&ut&&ut in E){cn=We(`(max-width: ${E[ut]})`);try{cn.addEventListener("change",At)}catch(Be){cn.addListener(At)}At(cn)}}return()=>{try{cn==null||cn.removeEventListener("change",At)}catch(We){cn==null||cn.removeListener(At)}}},[ut]),(0,ie.useEffect)(()=>{const At=te("ant-sider-");return fa.addSider(At),()=>fa.removeSider(At)},[]);const Ye=()=>{Sn(!mt,"clickTrigger")},{getPrefixCls:_n}=(0,ie.useContext)(y.E_),ca=()=>{const At=_n("layout-sider",Pe),cn=(0,de.Z)(Vn,["collapsed"]),We=mt?lt:at,Be=ue(We)?`${We}px`:String(We),Je=parseFloat(String(lt||0))===0?ie.createElement("span",{onClick:Ye,className:Ze()(`${At}-zero-width-trigger`,`${At}-zero-width-trigger-${Fe?"right":"left"}`),style:ft},ke||ie.createElement(se,null)):null,dn={expanded:Fe?ie.createElement(Me.Z,null):ie.createElement(nt.Z,null),collapsed:Fe?ie.createElement(nt.Z,null):ie.createElement(Me.Z,null)}[mt?"collapsed":"expanded"],ta=ke!==null?Je||ie.createElement("div",{className:`${At}-trigger`,onClick:Ye,style:{width:Be}},ke||dn):null,vn=Object.assign(Object.assign({},Ue),{flex:`0 0 ${Be}`,maxWidth:Be,minWidth:Be,width:Be}),Nn=Ze()(At,`${At}-${Ke}`,{[`${At}-collapsed`]:!!mt,[`${At}-has-trigger`]:$e&&ke!==null&&!Je,[`${At}-below`]:!!mn,[`${At}-zero-width`]:parseFloat(Be)===0},He);return ie.createElement("aside",Object.assign({className:Nn},cn,{style:vn,ref:pe}),ie.createElement("div",{className:`${At}-children`},Oe),$e||mn&&Je?ta:null)},ln=ie.useMemo(()=>({siderCollapsed:mt}),[mt]);return ie.createElement(ee.Provider,{value:ln},ca())})},84321:function(Jt,zt,z){"use strict";z.d(zt,{VY:function(){return te},$_:function(){return ee},h4:function(){return E},Gs:function(){return _e},ZP:function(){return re}});var x=z(74902),ie=z(94184),Ce=z.n(ie),Re=z(10366),ye=z(67294),Te=z(53124),se=z(67968),Me=oe=>{const{componentCls:ce,bodyBg:pe,lightSiderBg:Pe,lightTriggerBg:He,lightTriggerColor:ke}=oe;return{[`${ce}-sider-light`]:{background:Pe,[`${ce}-sider-trigger`]:{color:ke,background:He},[`${ce}-sider-zero-width-trigger`]:{color:ke,background:He,border:`1px solid ${pe}`,borderInlineStart:0}}}};const ze=oe=>{const{antCls:ce,componentCls:pe,colorText:Pe,triggerColor:He,footerBg:ke,triggerBg:Oe,headerHeight:he,headerPadding:Ke,headerColor:Ue,footerPadding:$e,triggerHeight:Fe,zeroTriggerHeight:at,zeroTriggerWidth:lt,motionDurationMid:ft,motionDurationSlow:ut,fontSize:St,borderRadius:jt,bodyBg:Vn,headerBg:fa,siderBg:mt}=oe;return{[pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Vn,"&, *":{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:mt,transition:`all ${ft}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ce}-menu${ce}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Fe},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Fe,color:He,lineHeight:`${Fe}px`,textAlign:"center",background:Oe,cursor:"pointer",transition:`all ${ft}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:he,insetInlineEnd:-lt,zIndex:1,width:lt,height:at,color:He,fontSize:oe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:mt,borderStartStartRadius:0,borderStartEndRadius:jt,borderEndEndRadius:jt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${ut} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ut}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-lt,borderStartStartRadius:jt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:jt}}}}},Me(oe)),{"&-rtl":{direction:"rtl"}}),[`${pe}-header`]:{height:he,padding:Ke,color:Ue,lineHeight:`${he}px`,background:fa,[`${ce}-menu`]:{lineHeight:"inherit"}},[`${pe}-footer`]:{padding:$e,color:Pe,fontSize:St,background:ke},[`${pe}-content`]:{flex:"auto",minHeight:0}}};var Ze=(0,se.Z)("Layout",oe=>[ze(oe)],oe=>{const{colorBgLayout:ce,controlHeight:pe,controlHeightLG:Pe,colorText:He,controlHeightSM:ke,marginXXS:Oe,colorTextLightSolid:he,colorBgContainer:Ke}=oe,Ue=Pe*1.25;return{colorBgHeader:"#001529",colorBgBody:ce,colorBgTrigger:"#002140",bodyBg:ce,headerBg:"#001529",headerHeight:pe*2,headerPadding:`0 ${Ue}px`,headerColor:He,footerPadding:`${ke}px ${Ue}px`,footerBg:ce,siderBg:"#001529",triggerHeight:Pe+Oe*2,triggerBg:"#002140",triggerColor:he,zeroTriggerWidth:Pe,zeroTriggerHeight:Pe,lightSiderBg:Ke,lightTriggerBg:Ke,lightTriggerColor:He}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),de=function(oe,ce){var pe={};for(var Pe in oe)Object.prototype.hasOwnProperty.call(oe,Pe)&&ce.indexOf(Pe)<0&&(pe[Pe]=oe[Pe]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Pe=Object.getOwnPropertySymbols(oe);He<Pe.length;He++)ce.indexOf(Pe[He])<0&&Object.prototype.propertyIsEnumerable.call(oe,Pe[He])&&(pe[Pe[He]]=oe[Pe[He]]);return pe};const _e=ye.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ue(oe){let{suffixCls:ce,tagName:pe,displayName:Pe}=oe;return He=>ye.forwardRef((Oe,he)=>ye.createElement(He,Object.assign({ref:he,suffixCls:ce,tagName:pe},Oe)))}const y=ye.forwardRef((oe,ce)=>{const{prefixCls:pe,suffixCls:Pe,className:He,tagName:ke}=oe,Oe=de(oe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:he}=ye.useContext(Te.E_),Ke=he("layout",pe),[Ue,$e]=Ze(Ke),Fe=Pe?`${Ke}-${Pe}`:Ke;return Ue(ye.createElement(ke,Object.assign({className:Ce()(pe||Fe,He,$e),ref:ce},Oe)))}),a=ye.forwardRef((oe,ce)=>{const{direction:pe}=ye.useContext(Te.E_),[Pe,He]=ye.useState([]),{prefixCls:ke,className:Oe,rootClassName:he,children:Ke,hasSider:Ue,tagName:$e,style:Fe}=oe,at=de(oe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),lt=(0,Re.Z)(at,["suffixCls"]),{getPrefixCls:ft,layout:ut}=ye.useContext(Te.E_),St=ft("layout",ke),[jt,Vn]=Ze(St),fa=Ce()(St,{[`${St}-has-sider`]:typeof Ue=="boolean"?Ue:Pe.length>0,[`${St}-rtl`]:pe==="rtl"},ut==null?void 0:ut.className,Oe,he,Vn),mt=ye.useMemo(()=>({siderHook:{addSider:ht=>{He(mn=>[].concat((0,x.Z)(mn),[ht]))},removeSider:ht=>{He(mn=>mn.filter(oa=>oa!==ht))}}}),[]);return jt(ye.createElement(_e.Provider,{value:mt},ye.createElement($e,Object.assign({ref:ce,className:fa,style:Object.assign(Object.assign({},ut==null?void 0:ut.style),Fe)},lt),Ke)))}),b=ue({tagName:"div",displayName:"Layout"})(a),E=ue({suffixCls:"header",tagName:"header",displayName:"Header"})(y),ee=ue({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),te=ue({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var re=b},76529:function(Jt,zt,z){"use strict";z.d(zt,{J:function(){return Te}});var x=z(67294),ie=z(4173),Ce=z(60276),Re=function(se,nt){var Me={};for(var ze in se)Object.prototype.hasOwnProperty.call(se,ze)&&nt.indexOf(ze)<0&&(Me[ze]=se[ze]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,ze=Object.getOwnPropertySymbols(se);Ze<ze.length;Ze++)nt.indexOf(ze[Ze])<0&&Object.prototype.propertyIsEnumerable.call(se,ze[Ze])&&(Me[ze[Ze]]=se[ze[Ze]]);return Me};const ye=x.createContext(null),Te=x.forwardRef((se,nt)=>{const{children:Me}=se,ze=Re(se,["children"]),Ze=x.useContext(ye),de=x.useMemo(()=>Object.assign(Object.assign({},Ze),ze),[Ze,ze.prefixCls,ze.mode,ze.selectable]);return x.createElement(ye.Provider,{value:de},x.createElement(ie.BR,null,(0,Ce.supportNodeRef)(Me)?x.cloneElement(Me,{ref:nt}):Me))});zt.Z=ye},68508:function(Jt,zt,z){"use strict";z.d(zt,{default:function(){return At}});var x=z(78595),ie=z(67294),Ce=z(71322),Re=z(94184),ye=z.n(Re),Te=z(53124),se=function(cn,We){var Be={};for(var Je in cn)Object.prototype.hasOwnProperty.call(cn,Je)&&We.indexOf(Je)<0&&(Be[Je]=cn[Je]);if(cn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,Je=Object.getOwnPropertySymbols(cn);vt<Je.length;vt++)We.indexOf(Je[vt])<0&&Object.prototype.propertyIsEnumerable.call(cn,Je[vt])&&(Be[Je[vt]]=cn[Je[vt]]);return Be},Me=cn=>{const{prefixCls:We,className:Be,dashed:Je}=cn,vt=se(cn,["prefixCls","className","dashed"]),{getPrefixCls:Vt}=ie.useContext(Te.E_),dn=Vt("menu",We),ta=ye()({[`${dn}-item-divider-dashed`]:!!Je},Be);return ie.createElement(x.iz,Object.assign({className:ta},vt))},ze=z(37419),Ze=z(10366),de=z(83062),_e=z(96159),y=(0,ie.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=cn=>{var We;const{className:Be,children:Je,icon:vt,title:Vt,danger:dn}=cn,{prefixCls:ta,firstLevel:vn,direction:Nn,disableMenuItemTitleTooltip:ia,inlineCollapsed:et}=ie.useContext(y),Ot=Tt=>{const nn=ie.createElement("span",{className:`${ta}-title-content`},Je);return(!vt||(0,_e.l$)(Je)&&Je.type==="span")&&Je&&Tt&&vn&&typeof Je=="string"?ie.createElement("div",{className:`${ta}-inline-collapsed-noicon`},Je.charAt(0)):nn},{siderCollapsed:Pa}=ie.useContext(Ce.D);let An=Vt;typeof Vt=="undefined"?An=vn?Je:"":Vt===!1&&(An="");const Ft={title:An};!Pa&&!et&&(Ft.title=null,Ft.open=!1);const ya=(0,ze.Z)(Je).length;let ot=ie.createElement(x.ck,Object.assign({},(0,Ze.Z)(cn,["title","icon","danger"]),{className:ye()({[`${ta}-item-danger`]:dn,[`${ta}-item-only-child`]:(vt?ya+1:ya)===1},Be),title:typeof Vt=="string"?Vt:void 0}),(0,_e.Tm)(vt,{className:ye()((0,_e.l$)(vt)?(We=vt.props)===null||We===void 0?void 0:We.className:"",`${ta}-item-icon`)}),Ot(et));return ia||(ot=ie.createElement(de.Z,Object.assign({},Ft,{placement:Nn==="rtl"?"left":"right",overlayClassName:`${ta}-inline-collapsed-tooltip`}),ot)),ot},ee=cn=>{var We;const{popupClassName:Be,icon:Je,title:vt,theme:Vt}=cn,dn=ie.useContext(y),{prefixCls:ta,inlineCollapsed:vn,theme:Nn}=dn,ia=(0,x.Xl)();let et;if(!Je)et=vn&&!ia.length&&vt&&typeof vt=="string"?ie.createElement("div",{className:`${ta}-inline-collapsed-noicon`},vt.charAt(0)):ie.createElement("span",{className:`${ta}-title-content`},vt);else{const Pa=(0,_e.l$)(vt)&&vt.type==="span";et=ie.createElement(ie.Fragment,null,(0,_e.Tm)(Je,{className:ye()((0,_e.l$)(Je)?(We=Je.props)===null||We===void 0?void 0:We.className:"",`${ta}-item-icon`)}),Pa?vt:ie.createElement("span",{className:`${ta}-title-content`},vt))}const Ot=ie.useMemo(()=>Object.assign(Object.assign({},dn),{firstLevel:!1}),[dn]);return ie.createElement(y.Provider,{value:Ot},ie.createElement(x.Wd,Object.assign({},(0,Ze.Z)(cn,["icon"]),{title:et,popupClassName:ye()(ta,Be,`${ta}-${Vt||Nn}`)})))},te=z(25877),re=z(60276),oe=z(33603),ce=z(76529),pe=function(cn,We){var Be={};for(var Je in cn)Object.prototype.hasOwnProperty.call(cn,Je)&&We.indexOf(Je)<0&&(Be[Je]=cn[Je]);if(cn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,Je=Object.getOwnPropertySymbols(cn);vt<Je.length;vt++)We.indexOf(Je[vt])<0&&Object.prototype.propertyIsEnumerable.call(cn,Je[vt])&&(Be[Je[vt]]=cn[Je[vt]]);return Be};function Pe(cn){return(cn||[]).map((We,Be)=>{if(We&&typeof We=="object"){const Je=We,{label:vt,children:Vt,key:dn,type:ta}=Je,vn=pe(Je,["label","children","key","type"]),Nn=dn!=null?dn:`tmp-${Be}`;return Vt||ta==="group"?ta==="group"?ie.createElement(x.BW,Object.assign({key:Nn},vn,{title:vt}),Pe(Vt)):ie.createElement(ee,Object.assign({key:Nn},vn,{title:vt}),Pe(Vt)):ta==="divider"?ie.createElement(Me,Object.assign({key:Nn},vn)):ie.createElement(b,Object.assign({key:Nn},vn),vt)}return null}).filter(We=>We)}function He(cn){return ie.useMemo(()=>cn&&Pe(cn),[cn])}var ke=z(84780),Oe=z(14747),he=z(33507),Ke=z(67771),Ue=z(50438),$e=z(67968),Fe=z(45503),lt=cn=>{const{componentCls:We,motionDurationSlow:Be,horizontalLineHeight:Je,colorSplit:vt,lineWidth:Vt,lineType:dn,itemPaddingInline:ta}=cn;return{[`${We}-horizontal`]:{lineHeight:Je,border:0,borderBottom:`${Vt}px ${dn} ${vt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${We}-item, ${We}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ta},[`> ${We}-item:hover,
> ${We}-item-active,
> ${We}-submenu ${We}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${We}-item, ${We}-submenu-title`]:{transition:[`border-color ${Be}`,`background ${Be}`].join(",")},[`${We}-submenu-arrow`]:{display:"none"}}}},ut=cn=>{let{componentCls:We,menuArrowOffset:Be}=cn;return{[`${We}-rtl`]:{direction:"rtl"},[`${We}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${We}-rtl${We}-vertical,
${We}-submenu-rtl ${We}-vertical`]:{[`${We}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Be})`},"&::after":{transform:`rotate(45deg) translateY(${Be})`}}}}};const St=cn=>Object.assign({},(0,Oe.oN)(cn));var Vn=(cn,We)=>{const{componentCls:Be,itemColor:Je,itemSelectedColor:vt,groupTitleColor:Vt,itemBg:dn,subMenuItemBg:ta,itemSelectedBg:vn,activeBarHeight:Nn,activeBarWidth:ia,activeBarBorderWidth:et,motionDurationSlow:Ot,motionEaseInOut:Pa,motionEaseOut:An,itemPaddingInline:Ft,motionDurationMid:ya,itemHoverColor:ot,lineType:Tt,colorSplit:nn,itemDisabledColor:Rt,dangerItemColor:Lt,dangerItemHoverColor:na,dangerItemSelectedColor:va,dangerItemActiveBg:ha,dangerItemSelectedBg:ba,itemHoverBg:lr,itemActiveBg:gr,menuSubMenuBg:Qa,horizontalItemSelectedColor:Dr,horizontalItemSelectedBg:so,horizontalItemBorderRadius:zr,horizontalItemHoverBg:Jr,popupBg:co}=cn;return{[`${Be}-${We}, ${Be}-${We} > ${Be}`]:{color:Je,background:dn,[`&${Be}-root:focus-visible`]:Object.assign({},St(cn)),[`${Be}-item-group-title`]:{color:Vt},[`${Be}-submenu-selected`]:{[`> ${Be}-submenu-title`]:{color:vt}},[`${Be}-item-disabled, ${Be}-submenu-disabled`]:{color:`${Rt} !important`},[`${Be}-item:not(${Be}-item-selected):not(${Be}-submenu-selected)`]:{[`&:hover, > ${Be}-submenu-title:hover`]:{color:ot}},[`&:not(${Be}-horizontal)`]:{[`${Be}-item:not(${Be}-item-selected)`]:{"&:hover":{backgroundColor:lr},"&:active":{backgroundColor:gr}},[`${Be}-submenu-title`]:{"&:hover":{backgroundColor:lr},"&:active":{backgroundColor:gr}}},[`${Be}-item-danger`]:{color:Lt,[`&${Be}-item:hover`]:{[`&:not(${Be}-item-selected):not(${Be}-submenu-selected)`]:{color:na}},[`&${Be}-item:active`]:{background:ha}},[`${Be}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Be}-item-selected`]:{color:vt,[`&${Be}-item-danger`]:{color:va},"a, a:hover":{color:"inherit"}},[`& ${Be}-item-selected`]:{backgroundColor:vn,[`&${Be}-item-danger`]:{backgroundColor:ba}},[`${Be}-item, ${Be}-submenu-title`]:{[`&:not(${Be}-item-disabled):focus-visible`]:Object.assign({},St(cn))},[`&${Be}-submenu > ${Be}`]:{backgroundColor:Qa},[`&${Be}-popup > ${Be}`]:{backgroundColor:co},[`&${Be}-horizontal`]:Object.assign(Object.assign({},We==="dark"?{borderBottom:0}:{}),{[`> ${Be}-item, > ${Be}-submenu`]:{top:et,marginTop:-et,marginBottom:0,borderRadius:zr,"&::after":{position:"absolute",insetInline:Ft,bottom:0,borderBottom:`${Nn}px solid transparent`,transition:`border-color ${Ot} ${Pa}`,content:'""'},"&:hover, &-active, &-open":{background:Jr,"&::after":{borderBottomWidth:Nn,borderBottomColor:Dr}},"&-selected":{color:Dr,backgroundColor:so,"&:hover":{backgroundColor:so},"&::after":{borderBottomWidth:Nn,borderBottomColor:Dr}}}}),[`&${Be}-root`]:{[`&${Be}-inline, &${Be}-vertical`]:{borderInlineEnd:`${et}px ${Tt} ${nn}`}},[`&${Be}-inline`]:{[`${Be}-sub${Be}-inline`]:{background:ta},[`${Be}-item, ${Be}-submenu-title`]:et&&ia?{width:`calc(100% + ${et}px)`}:{},[`${Be}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ia}px solid ${vt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${ya} ${An}`,`opacity ${ya} ${An}`].join(","),content:'""'},[`&${Be}-item-danger`]:{"&::after":{borderInlineEndColor:va}}},[`${Be}-selected, ${Be}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${ya} ${Pa}`,`opacity ${ya} ${Pa}`].join(",")}}}}}};const fa=cn=>{const{componentCls:We,itemHeight:Be,itemMarginInline:Je,padding:vt,menuArrowSize:Vt,marginXS:dn,itemMarginBlock:ta}=cn,vn=vt+Vt+dn;return{[`${We}-item`]:{position:"relative",overflow:"hidden"},[`${We}-item, ${We}-submenu-title`]:{height:Be,lineHeight:`${Be}px`,paddingInline:vt,overflow:"hidden",textOverflow:"ellipsis",marginInline:Je,marginBlock:ta,width:`calc(100% - ${Je*2}px)`},[`> ${We}-item,
> ${We}-submenu > ${We}-submenu-title`]:{height:Be,lineHeight:`${Be}px`},[`${We}-item-group-list ${We}-submenu-title,
${We}-submenu-title`]:{paddingInlineEnd:vn}}};var ht=cn=>{const{componentCls:We,iconCls:Be,itemHeight:Je,colorTextLightSolid:vt,dropdownWidth:Vt,controlHeightLG:dn,motionDurationMid:ta,motionEaseOut:vn,paddingXL:Nn,itemMarginInline:ia,fontSizeLG:et,motionDurationSlow:Ot,paddingXS:Pa,boxShadowSecondary:An,collapsedWidth:Ft,collapsedIconSize:ya}=cn,ot={height:Je,lineHeight:`${Je}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[We]:{"&-inline, &-vertical":Object.assign({[`&${We}-root`]:{boxShadow:"none"}},fa(cn))},[`${We}-submenu-popup`]:{[`${We}-vertical`]:Object.assign(Object.assign({},fa(cn)),{boxShadow:An})}},{[`${We}-submenu-popup ${We}-vertical${We}-sub`]:{minWidth:Vt,maxHeight:`calc(100vh - ${dn*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${We}-inline`]:{width:"100%",[`&${We}-root`]:{[`${We}-item, ${We}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Ot}`,`background ${Ot}`,`padding ${ta} ${vn}`].join(","),[`> ${We}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${We}-sub${We}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${We}-submenu > ${We}-submenu-title`]:ot,[`& ${We}-item-group-title`]:{paddingInlineStart:Nn}},[`${We}-item`]:ot}},{[`${We}-inline-collapsed`]:{width:Ft,[`&${We}-root`]:{[`${We}-item, ${We}-submenu ${We}-submenu-title`]:{[`> ${We}-inline-collapsed-noicon`]:{fontSize:et,textAlign:"center"}}},[`> ${We}-item,
> ${We}-item-group > ${We}-item-group-list > ${We}-item,
> ${We}-item-group > ${We}-item-group-list > ${We}-submenu > ${We}-submenu-title,
> ${We}-submenu > ${We}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${et/2}px - ${ia}px)`,textOverflow:"clip",[`
${We}-submenu-arrow,
${We}-submenu-expand-icon
`]:{opacity:0},[`${We}-item-icon, ${Be}`]:{margin:0,fontSize:ya,lineHeight:`${Je}px`,"+ span":{display:"inline-block",opacity:0}}},[`${We}-item-icon, ${Be}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${We}-item-icon, ${Be}`]:{display:"none"},"a, a:hover":{color:vt}},[`${We}-item-group-title`]:Object.assign(Object.assign({},Oe.vS),{paddingInline:Pa})}}]};const mn=cn=>{const{componentCls:We,motionDurationSlow:Be,motionDurationMid:Je,motionEaseInOut:vt,motionEaseOut:Vt,iconCls:dn,iconSize:ta,iconMarginInlineEnd:vn}=cn;return{[`${We}-item, ${We}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Be}`,`background ${Be}`,`padding ${Be} ${vt}`].join(","),[`${We}-item-icon, ${dn}`]:{minWidth:ta,fontSize:ta,transition:[`font-size ${Je} ${Vt}`,`margin ${Be} ${vt}`,`color ${Be}`].join(","),"+ span":{marginInlineStart:vn,opacity:1,transition:[`opacity ${Be} ${vt}`,`margin ${Be}`,`color ${Be}`].join(",")}},[`${We}-item-icon`]:Object.assign({},(0,Oe.Ro)()),[`&${We}-item-only-child`]:{[`> ${dn}, > ${We}-item-icon`]:{marginInlineEnd:0}}},[`${We}-item-disabled, ${We}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${We}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},oa=cn=>{const{componentCls:We,motionDurationSlow:Be,motionEaseInOut:Je,borderRadius:vt,menuArrowSize:Vt,menuArrowOffset:dn}=cn;return{[`${We}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:cn.margin,width:Vt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Be} ${Je}, opacity ${Be}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Vt*.6,height:Vt*.15,backgroundColor:"currentcolor",borderRadius:vt,transition:[`background ${Be} ${Je}`,`transform ${Be} ${Je}`,`top ${Be} ${Je}`,`color ${Be} ${Je}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${dn})`},"&::after":{transform:`rotate(-45deg) translateY(${dn})`}}}}},Sn=cn=>{const{antCls:We,componentCls:Be,fontSize:Je,motionDurationSlow:vt,motionDurationMid:Vt,motionEaseInOut:dn,paddingXS:ta,padding:vn,colorSplit:Nn,lineWidth:ia,zIndexPopup:et,borderRadiusLG:Ot,subMenuItemBorderRadius:Pa,menuArrowSize:An,menuArrowOffset:Ft,lineType:ya,menuPanelMaskInset:ot,groupTitleLineHeight:Tt,groupTitleFontSize:nn}=cn;return[{"":{[`${Be}`]:Object.assign(Object.assign({},(0,Oe.dF)()),{"&-hidden":{display:"none"}})},[`${Be}-submenu-hidden`]:{display:"none"}},{[Be]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Oe.Wf)(cn)),(0,Oe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Je,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${vt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Be}-item`]:{flex:"none"}},[`${Be}-item, ${Be}-submenu, ${Be}-submenu-title`]:{borderRadius:cn.itemBorderRadius},[`${Be}-item-group-title`]:{padding:`${ta}px ${vn}px`,fontSize:nn,lineHeight:Tt,transition:`all ${vt}`},[`&-horizontal ${Be}-submenu`]:{transition:[`border-color ${vt} ${dn}`,`background ${vt} ${dn}`].join(",")},[`${Be}-submenu, ${Be}-submenu-inline`]:{transition:[`border-color ${vt} ${dn}`,`background ${vt} ${dn}`,`padding ${Vt} ${dn}`].join(",")},[`${Be}-submenu ${Be}-sub`]:{cursor:"initial",transition:[`background ${vt} ${dn}`,`padding ${vt} ${dn}`].join(",")},[`${Be}-title-content`]:{transition:`color ${vt}`},[`${Be}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Be}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Nn,borderStyle:ya,borderWidth:0,borderTopWidth:ia,marginBlock:ia,padding:0,"&-dashed":{borderStyle:"dashed"}}}),mn(cn)),{[`${Be}-item-group`]:{[`${Be}-item-group-list`]:{margin:0,padding:0,[`${Be}-item, ${Be}-submenu-title`]:{paddingInline:`${Je*2}px ${vn}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:et,borderRadius:Ot,boxShadow:"none",transformOrigin:"0 0",[`&${Be}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ot}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ot},"\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:cn.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:cn.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:cn.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:cn.paddingXS},[`> ${Be}`]:Object.assign(Object.assign(Object.assign({borderRadius:Ot},mn(cn)),oa(cn)),{[`${Be}-item, ${Be}-submenu > ${Be}-submenu-title`]:{borderRadius:Pa},[`${Be}-submenu-title::after`]:{transition:`transform ${vt} ${dn}`}})}}),oa(cn)),{[`&-inline-collapsed ${Be}-submenu-arrow,
&-inline ${Be}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Ft})`},"&::after":{transform:`rotate(45deg) translateX(-${Ft})`}},[`${Be}-submenu-open${Be}-submenu-inline > ${Be}-submenu-title > ${Be}-submenu-arrow`]:{transform:`translateY(-${An*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Ft})`},"&::before":{transform:`rotate(45deg) translateX(${Ft})`}}})},{[`${We}-layout-header`]:{[Be]:{lineHeight:"inherit"}}}]};var Kn=(cn,We)=>(0,$e.Z)("Menu",Je=>{if(We===!1)return[];const{colorBgElevated:vt,colorPrimary:Vt,colorTextLightSolid:dn,controlHeightLG:ta,fontSize:vn,darkItemColor:Nn,darkDangerItemColor:ia,darkItemBg:et,darkSubMenuItemBg:Ot,darkItemSelectedColor:Pa,darkItemSelectedBg:An,darkDangerItemSelectedBg:Ft,darkItemHoverBg:ya,darkGroupTitleColor:ot,darkItemHoverColor:Tt,darkItemDisabledColor:nn,darkDangerItemHoverColor:Rt,darkDangerItemSelectedColor:Lt,darkDangerItemActiveBg:na}=Je,va=vn/7*5,ha=(0,Fe.TS)(Je,{menuArrowSize:va,menuHorizontalHeight:ta*1.15,menuArrowOffset:`${va*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:vt}),ba=(0,Fe.TS)(ha,{itemColor:Nn,itemHoverColor:Tt,groupTitleColor:ot,itemSelectedColor:Pa,itemBg:et,popupBg:et,subMenuItemBg:Ot,itemActiveBg:"transparent",itemSelectedBg:An,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:ya,itemDisabledColor:nn,dangerItemColor:ia,dangerItemHoverColor:Rt,dangerItemSelectedColor:Lt,dangerItemActiveBg:na,dangerItemSelectedBg:Ft,menuSubMenuBg:Ot,horizontalItemSelectedColor:dn,horizontalItemSelectedBg:Vt});return[Sn(ha),lt(ha),ht(ha),Vn(ha,"light"),Vn(ba,"dark"),ut(ha),(0,he.Z)(ha),(0,Ke.oN)(ha,"slide-up"),(0,Ke.oN)(ha,"slide-down"),(0,Ue._y)(ha,"zoom-big")]},Je=>{const{colorPrimary:vt,colorError:Vt,colorTextDisabled:dn,colorErrorBg:ta,colorText:vn,colorTextDescription:Nn,colorBgContainer:ia,colorFillAlter:et,colorFillContent:Ot,lineWidth:Pa,lineWidthBold:An,controlItemBgActive:Ft,colorBgTextHover:ya,controlHeightLG:ot,lineHeight:Tt,colorBgElevated:nn,marginXXS:Rt,padding:Lt,fontSize:na,controlHeightSM:va,fontSizeLG:ha,colorTextLightSolid:ba,colorErrorHover:lr}=Je,gr=new ke.C(ba).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Je.zIndexPopupBase+50,radiusItem:Je.borderRadiusLG,itemBorderRadius:Je.borderRadiusLG,radiusSubMenuItem:Je.borderRadiusSM,subMenuItemBorderRadius:Je.borderRadiusSM,colorItemText:vn,itemColor:vn,colorItemTextHover:vn,itemHoverColor:vn,colorItemTextHoverHorizontal:vt,horizontalItemHoverColor:vt,colorGroupTitle:Nn,groupTitleColor:Nn,colorItemTextSelected:vt,itemSelectedColor:vt,colorItemTextSelectedHorizontal:vt,horizontalItemSelectedColor:vt,colorItemBg:ia,itemBg:ia,colorItemBgHover:ya,itemHoverBg:ya,colorItemBgActive:Ot,itemActiveBg:Ft,colorSubItemBg:et,subMenuItemBg:et,colorItemBgSelected:Ft,itemSelectedBg:Ft,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:An,activeBarHeight:An,colorActiveBarBorderSize:Pa,activeBarBorderWidth:Pa,colorItemTextDisabled:dn,itemDisabledColor:dn,colorDangerItemText:Vt,dangerItemColor:Vt,colorDangerItemTextHover:Vt,dangerItemHoverColor:Vt,colorDangerItemTextSelected:Vt,dangerItemSelectedColor:Vt,colorDangerItemBgActive:ta,dangerItemActiveBg:ta,colorDangerItemBgSelected:ta,dangerItemSelectedBg:ta,itemMarginInline:Je.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ot,groupTitleLineHeight:Tt,collapsedWidth:ot*2,popupBg:nn,itemMarginBlock:Rt,itemPaddingInline:Lt,horizontalLineHeight:`${ot*1.15}px`,iconSize:na,iconMarginInlineEnd:va-na,collapsedIconSize:ha,groupTitleFontSize:na,darkItemDisabledColor:new ke.C(ba).setAlpha(.25).toRgbString(),darkItemColor:gr,darkDangerItemColor:Vt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:ba,darkItemSelectedBg:vt,darkDangerItemSelectedBg:Vt,darkItemHoverBg:"transparent",darkGroupTitleColor:gr,darkItemHoverColor:ba,darkDangerItemHoverColor:lr,darkDangerItemSelectedColor:ba,darkDangerItemActiveBg:Vt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(cn),Ye=function(cn,We){var Be={};for(var Je in cn)Object.prototype.hasOwnProperty.call(cn,Je)&&We.indexOf(Je)<0&&(Be[Je]=cn[Je]);if(cn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,Je=Object.getOwnPropertySymbols(cn);vt<Je.length;vt++)We.indexOf(Je[vt])<0&&Object.prototype.propertyIsEnumerable.call(cn,Je[vt])&&(Be[Je[vt]]=cn[Je[vt]]);return Be},ca=(0,ie.forwardRef)((cn,We)=>{var Be,Je;const vt=ie.useContext(ce.Z),Vt=vt||{},{getPrefixCls:dn,getPopupContainer:ta,direction:vn,menu:Nn}=ie.useContext(Te.E_),ia=dn(),{prefixCls:et,className:Ot,style:Pa,theme:An="light",expandIcon:Ft,_internalDisableMenuItemTitleTooltip:ya,inlineCollapsed:ot,siderCollapsed:Tt,items:nn,children:Rt,rootClassName:Lt,mode:na,selectable:va,onClick:ha,overflowedIndicatorPopupClassName:ba}=cn,lr=Ye(cn,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),gr=(0,Ze.Z)(lr,["collapsedWidth"]),Qa=He(nn)||Rt;(Be=Vt.validator)===null||Be===void 0||Be.call(Vt,{mode:na});const Dr=(0,re.useEvent)(function(){var za;ha==null||ha.apply(void 0,arguments),(za=Vt.onClick)===null||za===void 0||za.call(Vt)}),so=Vt.mode||na,zr=va!=null?va:Vt.selectable,Jr=ie.useMemo(()=>Tt!==void 0?Tt:ot,[ot,Tt]),co={horizontal:{motionName:`${ia}-slide-up`},inline:(0,oe.Z)(ia),other:{motionName:`${ia}-zoom-big`}},Xr=dn("menu",et||Vt.prefixCls),[bo,kr]=Kn(Xr,!vt),Sa=ye()(`${Xr}-${An}`,Nn==null?void 0:Nn.className,Ot);let ja;if(typeof Ft=="function")ja=Ft;else if(Ft===null||Ft===!1)ja=null;else if(Vt.expandIcon===null||Vt.expandIcon===!1)ja=null;else{const za=Ft!=null?Ft:Vt.expandIcon;ja=(0,_e.Tm)(za,{className:ye()(`${Xr}-submenu-expand-icon`,(0,_e.l$)(za)?(Je=za.props)===null||Je===void 0?void 0:Je.className:"")})}const _a=ie.useMemo(()=>({prefixCls:Xr,inlineCollapsed:Jr||!1,direction:vn,firstLevel:!0,theme:An,mode:so,disableMenuItemTitleTooltip:ya}),[Xr,Jr,vn,ya,An]);return bo(ie.createElement(ce.Z.Provider,{value:null},ie.createElement(y.Provider,{value:_a},ie.createElement(x.ZP,Object.assign({getPopupContainer:ta,overflowedIndicator:ie.createElement(te.Z,null),overflowedIndicatorPopupClassName:ye()(Xr,`${Xr}-${An}`,ba),mode:so,selectable:zr,onClick:Dr},gr,{inlineCollapsed:Jr,style:Object.assign(Object.assign({},Nn==null?void 0:Nn.style),Pa),className:Sa,prefixCls:Xr,direction:vn,defaultMotions:co,expandIcon:ja,ref:We,rootClassName:ye()(Lt,kr)}),Qa))))});const ln=(0,ie.forwardRef)((cn,We)=>{const Be=(0,ie.useRef)(null),Je=ie.useContext(Ce.D);return(0,ie.useImperativeHandle)(We,()=>({menu:Be.current,focus:vt=>{var Vt;(Vt=Be.current)===null||Vt===void 0||Vt.focus(vt)}})),ie.createElement(ca,Object.assign({ref:Be},cn,Je))});ln.Item=b,ln.SubMenu=ee,ln.Divider=Me,ln.ItemGroup=x.BW;var At=ln},28452:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return ia}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(Ot,Pa){return ie.createElement(ye.Z,(0,x.Z)({},Ot,{ref:Pa,icon:Re}))},se=ie.forwardRef(Te),nt=z(81893),Me=z(22751),ze=z(91034),Ze=z(94184),de=z.n(Ze),_e=z(4942),ue=z(1413),y=z(15671),a=z(43144),b=z(60136),E=z(51630),ee=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,te=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,re="".concat(ee," ").concat(te).split(/[\s\n]+/),oe="aria-",ce="data-";function pe(et,Ot){return et.indexOf(Ot)===0}function Pe(et){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pa;Ot===!1?Pa={aria:!0,data:!0,attr:!0}:Ot===!0?Pa={aria:!0}:Pa=(0,ue.Z)({},Ot);var An={};return Object.keys(et).forEach(function(Ft){(Pa.aria&&(Ft==="role"||pe(Ft,oe))||Pa.data&&pe(Ft,ce)||Pa.attr&&re.includes(Ft))&&(An[Ft]=et[Ft])}),An}var He={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ke=He,Oe=z(81626),he=function(et){(0,b.Z)(Pa,et);var Ot=(0,E.Z)(Pa);function Pa(){var An;(0,y.Z)(this,Pa);for(var Ft=arguments.length,ya=new Array(Ft),ot=0;ot<Ft;ot++)ya[ot]=arguments[ot];return An=Ot.call.apply(Ot,[this].concat(ya)),An.state={goInputText:""},An.getValidValue=function(){var Tt=An.state.goInputText;return!Tt||Number.isNaN(Tt)?void 0:Number(Tt)},An.buildOptionText=function(Tt){return"".concat(Tt," ").concat(An.props.locale.items_per_page)},An.changeSize=function(Tt){An.props.changeSize(Number(Tt))},An.handleChange=function(Tt){An.setState({goInputText:Tt.target.value})},An.handleBlur=function(Tt){var nn=An.props,Rt=nn.goButton,Lt=nn.quickGo,na=nn.rootPrefixCls,va=An.state.goInputText;Rt||va===""||(An.setState({goInputText:""}),!(Tt.relatedTarget&&(Tt.relatedTarget.className.indexOf("".concat(na,"-item-link"))>=0||Tt.relatedTarget.className.indexOf("".concat(na,"-item"))>=0))&&Lt(An.getValidValue()))},An.go=function(Tt){var nn=An.state.goInputText;nn!==""&&(Tt.keyCode===ke.ENTER||Tt.type==="click")&&(An.setState({goInputText:""}),An.props.quickGo(An.getValidValue()))},An}return(0,a.Z)(Pa,[{key:"getPageSizeOptions",value:function(){var Ft=this.props,ya=Ft.pageSize,ot=Ft.pageSizeOptions;return ot.some(function(Tt){return Tt.toString()===ya.toString()})?ot:ot.concat([ya.toString()]).sort(function(Tt,nn){var Rt=Number.isNaN(Number(Tt))?0:Number(Tt),Lt=Number.isNaN(Number(nn))?0:Number(nn);return Rt-Lt})}},{key:"render",value:function(){var Ft=this,ya=this.props,ot=ya.pageSize,Tt=ya.locale,nn=ya.rootPrefixCls,Rt=ya.changeSize,Lt=ya.quickGo,na=ya.goButton,va=ya.selectComponentClass,ha=ya.buildOptionText,ba=ya.selectPrefixCls,lr=ya.disabled,gr=this.state.goInputText,Qa="".concat(nn,"-options"),Dr=va,so=null,zr=null,Jr=null;if(!Rt&&!Lt)return null;var co=this.getPageSizeOptions();if(Rt&&Dr){var Xr=co.map(function(bo,kr){return ie.createElement(Dr.Option,{key:kr,value:bo.toString()},(ha||Ft.buildOptionText)(bo))});so=ie.createElement(Dr,{disabled:lr,prefixCls:ba,showSearch:!1,className:"".concat(Qa,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ot||co[0]).toString(),onChange:this.changeSize,getPopupContainer:function(kr){return kr.parentNode},"aria-label":Tt.page_size,defaultOpen:!1},Xr)}return Lt&&(na&&(Jr=typeof na=="boolean"?ie.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:lr,className:"".concat(Qa,"-quick-jumper-button")},Tt.jump_to_confirm):ie.createElement("span",{onClick:this.go,onKeyUp:this.go},na)),zr=ie.createElement("div",{className:"".concat(Qa,"-quick-jumper")},Tt.jump_to,ie.createElement("input",{disabled:lr,type:"text",value:gr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Tt.page}),Tt.page,Jr)),ie.createElement("li",{className:"".concat(Qa)},so,zr)}}]),Pa}(ie.Component);he.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ke=he,Ue=function(Ot){var Pa,An=Ot.rootPrefixCls,Ft=Ot.page,ya=Ot.active,ot=Ot.className,Tt=Ot.showTitle,nn=Ot.onClick,Rt=Ot.onKeyPress,Lt=Ot.itemRender,na="".concat(An,"-item"),va=de()(na,"".concat(na,"-").concat(Ft),(Pa={},(0,_e.Z)(Pa,"".concat(na,"-active"),ya),(0,_e.Z)(Pa,"".concat(na,"-disabled"),!Ft),(0,_e.Z)(Pa,Ot.className,ot),Pa)),ha=function(){nn(Ft)},ba=function(Qa){Rt(Qa,nn,Ft)},lr=Lt(Ft,"page",ie.createElement("a",{rel:"nofollow"},Ft));return lr?ie.createElement("li",{title:Tt?Ft.toString():null,className:va,onClick:ha,onKeyPress:ba,tabIndex:0},lr):null},$e=Ue;function Fe(){}function at(et){var Ot=Number(et);return typeof Ot=="number"&&!Number.isNaN(Ot)&&isFinite(Ot)&&Math.floor(Ot)===Ot}var lt=function(Ot,Pa,An){return An};function ft(et,Ot,Pa){var An=typeof et=="undefined"?Ot.pageSize:et;return Math.floor((Pa.total-1)/An)+1}var ut=function(et){(0,b.Z)(Pa,et);var Ot=(0,E.Z)(Pa);function Pa(An){var Ft;(0,y.Z)(this,Pa),Ft=Ot.call(this,An),Ft.paginationNode=ie.createRef(),Ft.getJumpPrevPage=function(){return Math.max(1,Ft.state.current-(Ft.props.showLessItems?3:5))},Ft.getJumpNextPage=function(){return Math.min(ft(void 0,Ft.state,Ft.props),Ft.state.current+(Ft.props.showLessItems?3:5))},Ft.getItemIcon=function(Rt,Lt){var na=Ft.props.prefixCls,va=Rt||ie.createElement("button",{type:"button","aria-label":Lt,className:"".concat(na,"-item-link")});return typeof Rt=="function"&&(va=ie.createElement(Rt,(0,ue.Z)({},Ft.props))),va},Ft.isValid=function(Rt){var Lt=Ft.props.total;return at(Rt)&&Rt!==Ft.state.current&&at(Lt)&&Lt>0},Ft.shouldDisplayQuickJumper=function(){var Rt=Ft.props,Lt=Rt.showQuickJumper,na=Rt.total,va=Ft.state.pageSize;return na<=va?!1:Lt},Ft.handleKeyDown=function(Rt){(Rt.keyCode===ke.ARROW_UP||Rt.keyCode===ke.ARROW_DOWN)&&Rt.preventDefault()},Ft.handleKeyUp=function(Rt){var Lt=Ft.getValidValue(Rt),na=Ft.state.currentInputValue;Lt!==na&&Ft.setState({currentInputValue:Lt}),Rt.keyCode===ke.ENTER?Ft.handleChange(Lt):Rt.keyCode===ke.ARROW_UP?Ft.handleChange(Lt-1):Rt.keyCode===ke.ARROW_DOWN&&Ft.handleChange(Lt+1)},Ft.handleBlur=function(Rt){var Lt=Ft.getValidValue(Rt);Ft.handleChange(Lt)},Ft.changePageSize=function(Rt){var Lt=Ft.state.current,na=ft(Rt,Ft.state,Ft.props);Lt=Lt>na?na:Lt,na===0&&(Lt=Ft.state.current),typeof Rt=="number"&&("pageSize"in Ft.props||Ft.setState({pageSize:Rt}),"current"in Ft.props||Ft.setState({current:Lt,currentInputValue:Lt})),Ft.props.onShowSizeChange(Lt,Rt),"onChange"in Ft.props&&Ft.props.onChange&&Ft.props.onChange(Lt,Rt)},Ft.handleChange=function(Rt){var Lt=Ft.props,na=Lt.disabled,va=Lt.onChange,ha=Ft.state,ba=ha.pageSize,lr=ha.current,gr=ha.currentInputValue;if(Ft.isValid(Rt)&&!na){var Qa=ft(void 0,Ft.state,Ft.props),Dr=Rt;return Rt>Qa?Dr=Qa:Rt<1&&(Dr=1),"current"in Ft.props||Ft.setState({current:Dr}),Dr!==gr&&Ft.setState({currentInputValue:Dr}),va(Dr,ba),Dr}return lr},Ft.prev=function(){Ft.hasPrev()&&Ft.handleChange(Ft.state.current-1)},Ft.next=function(){Ft.hasNext()&&Ft.handleChange(Ft.state.current+1)},Ft.jumpPrev=function(){Ft.handleChange(Ft.getJumpPrevPage())},Ft.jumpNext=function(){Ft.handleChange(Ft.getJumpNextPage())},Ft.hasPrev=function(){return Ft.state.current>1},Ft.hasNext=function(){return Ft.state.current<ft(void 0,Ft.state,Ft.props)},Ft.runIfEnter=function(Rt,Lt){if(Rt.key==="Enter"||Rt.charCode===13){for(var na=arguments.length,va=new Array(na>2?na-2:0),ha=2;ha<na;ha++)va[ha-2]=arguments[ha];Lt.apply(void 0,va)}},Ft.runIfEnterPrev=function(Rt){Ft.runIfEnter(Rt,Ft.prev)},Ft.runIfEnterNext=function(Rt){Ft.runIfEnter(Rt,Ft.next)},Ft.runIfEnterJumpPrev=function(Rt){Ft.runIfEnter(Rt,Ft.jumpPrev)},Ft.runIfEnterJumpNext=function(Rt){Ft.runIfEnter(Rt,Ft.jumpNext)},Ft.handleGoTO=function(Rt){(Rt.keyCode===ke.ENTER||Rt.type==="click")&&Ft.handleChange(Ft.state.currentInputValue)},Ft.renderPrev=function(Rt){var Lt=Ft.props,na=Lt.prevIcon,va=Lt.itemRender,ha=va(Rt,"prev",Ft.getItemIcon(na,"prev page")),ba=!Ft.hasPrev();return(0,ie.isValidElement)(ha)?(0,ie.cloneElement)(ha,{disabled:ba}):ha},Ft.renderNext=function(Rt){var Lt=Ft.props,na=Lt.nextIcon,va=Lt.itemRender,ha=va(Rt,"next",Ft.getItemIcon(na,"next page")),ba=!Ft.hasNext();return(0,ie.isValidElement)(ha)?(0,ie.cloneElement)(ha,{disabled:ba}):ha};var ya=An.onChange!==Fe,ot="current"in An;ot&&!ya&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Tt=An.defaultCurrent;"current"in An&&(Tt=An.current);var nn=An.defaultPageSize;return"pageSize"in An&&(nn=An.pageSize),Tt=Math.min(Tt,ft(nn,void 0,An)),Ft.state={current:Tt,currentInputValue:Tt,pageSize:nn},Ft}return(0,a.Z)(Pa,[{key:"componentDidUpdate",value:function(Ft,ya){var ot=this.props.prefixCls;if(ya.current!==this.state.current&&this.paginationNode.current){var Tt=this.paginationNode.current.querySelector(".".concat(ot,"-item-").concat(ya.current));if(Tt&&document.activeElement===Tt){var nn;Tt==null||(nn=Tt.blur)===null||nn===void 0||nn.call(Tt)}}}},{key:"getValidValue",value:function(Ft){var ya=Ft.target.value,ot=ft(void 0,this.state,this.props),Tt=this.state.currentInputValue,nn;return ya===""?nn=ya:Number.isNaN(Number(ya))?nn=Tt:ya>=ot?nn=ot:nn=Number(ya),nn}},{key:"getShowSizeChanger",value:function(){var Ft=this.props,ya=Ft.showSizeChanger,ot=Ft.total,Tt=Ft.totalBoundaryShowSizeChanger;return typeof ya!="undefined"?ya:ot>Tt}},{key:"render",value:function(){var Ft=this.props,ya=Ft.prefixCls,ot=Ft.className,Tt=Ft.style,nn=Ft.disabled,Rt=Ft.hideOnSinglePage,Lt=Ft.total,na=Ft.locale,va=Ft.showQuickJumper,ha=Ft.showLessItems,ba=Ft.showTitle,lr=Ft.showTotal,gr=Ft.simple,Qa=Ft.itemRender,Dr=Ft.showPrevNextJumpers,so=Ft.jumpPrevIcon,zr=Ft.jumpNextIcon,Jr=Ft.selectComponentClass,co=Ft.selectPrefixCls,Xr=Ft.pageSizeOptions,bo=this.state,kr=bo.current,Sa=bo.pageSize,ja=bo.currentInputValue;if(Rt===!0&&Lt<=Sa)return null;var _a=ft(void 0,this.state,this.props),za=[],Ar=null,er=null,Wa=null,kt=null,sn=null,Yt=va&&va.goButton,$n=ha?1:2,La=kr-1>0?kr-1:0,dr=kr+1<_a?kr+1:_a,Eo=Pe(this.props,{aria:!0,data:!0}),Nr=lr&&ie.createElement("li",{className:"".concat(ya,"-total-text")},lr(Lt,[Lt===0?0:(kr-1)*Sa+1,kr*Sa>Lt?Lt:kr*Sa]));if(gr){Yt&&(typeof Yt=="boolean"?sn=ie.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},na.jump_to_confirm):sn=ie.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Yt),sn=ie.createElement("li",{title:ba?"".concat(na.jump_to).concat(kr,"/").concat(_a):null,className:"".concat(ya,"-simple-pager")},sn));var bn=this.renderPrev(La);return ie.createElement("ul",(0,x.Z)({className:de()(ya,"".concat(ya,"-simple"),(0,_e.Z)({},"".concat(ya,"-disabled"),nn),ot),style:Tt,ref:this.paginationNode},Eo),Nr,bn?ie.createElement("li",{title:ba?na.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:de()("".concat(ya,"-prev"),(0,_e.Z)({},"".concat(ya,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},bn):null,ie.createElement("li",{title:ba?"".concat(kr,"/").concat(_a):null,className:"".concat(ya,"-simple-pager")},ie.createElement("input",{type:"text",value:ja,disabled:nn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ie.createElement("span",{className:"".concat(ya,"-slash")},"/"),_a),ie.createElement("li",{title:ba?na.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:de()("".concat(ya,"-next"),(0,_e.Z)({},"".concat(ya,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(dr)),sn)}if(_a<=3+$n*2){var da={locale:na,rootPrefixCls:ya,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:ba,itemRender:Qa};_a||za.push(ie.createElement($e,(0,x.Z)({},da,{key:"noPager",page:1,className:"".concat(ya,"-item-disabled")})));for(var ro=1;ro<=_a;ro+=1){var la=kr===ro;za.push(ie.createElement($e,(0,x.Z)({},da,{key:ro,page:ro,active:la})))}}else{var Ya=ha?na.prev_3:na.prev_5,Bt=ha?na.next_3:na.next_5,Yn=Qa(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(so,"prev page")),Dn=Qa(this.getJumpNextPage(),"jump-next",this.getItemIcon(zr,"next page"));Dr&&(Ar=Yn?ie.createElement("li",{title:ba?Ya:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:de()("".concat(ya,"-jump-prev"),(0,_e.Z)({},"".concat(ya,"-jump-prev-custom-icon"),!!so))},Yn):null,er=Dn?ie.createElement("li",{title:ba?Bt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:de()("".concat(ya,"-jump-next"),(0,_e.Z)({},"".concat(ya,"-jump-next-custom-icon"),!!zr))},Dn):null),kt=ie.createElement($e,{locale:na,last:!0,rootPrefixCls:ya,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:_a,page:_a,active:!1,showTitle:ba,itemRender:Qa}),Wa=ie.createElement($e,{locale:na,rootPrefixCls:ya,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:ba,itemRender:Qa});var It=Math.max(1,kr-$n),ar=Math.min(kr+$n,_a);kr-1<=$n&&(ar=1+$n*2),_a-kr<=$n&&(It=_a-$n*2);for(var ga=It;ga<=ar;ga+=1){var Ja=kr===ga;za.push(ie.createElement($e,{locale:na,rootPrefixCls:ya,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ga,page:ga,active:Ja,showTitle:ba,itemRender:Qa}))}kr-1>=$n*2&&kr!==3&&(za[0]=(0,ie.cloneElement)(za[0],{className:"".concat(ya,"-item-after-jump-prev")}),za.unshift(Ar)),_a-kr>=$n*2&&kr!==_a-2&&(za[za.length-1]=(0,ie.cloneElement)(za[za.length-1],{className:"".concat(ya,"-item-before-jump-next")}),za.push(er)),It!==1&&za.unshift(Wa),ar!==_a&&za.push(kt)}var wa=!this.hasPrev()||!_a,Io=!this.hasNext()||!_a,Yr=this.renderPrev(La),Zo=this.renderNext(dr);return ie.createElement("ul",(0,x.Z)({className:de()(ya,ot,(0,_e.Z)({},"".concat(ya,"-disabled"),nn)),style:Tt,ref:this.paginationNode},Eo),Nr,Yr?ie.createElement("li",{title:ba?na.prev_page:null,onClick:this.prev,tabIndex:wa?null:0,onKeyPress:this.runIfEnterPrev,className:de()("".concat(ya,"-prev"),(0,_e.Z)({},"".concat(ya,"-disabled"),wa)),"aria-disabled":wa},Yr):null,za,Zo?ie.createElement("li",{title:ba?na.next_page:null,onClick:this.next,tabIndex:Io?null:0,onKeyPress:this.runIfEnterNext,className:de()("".concat(ya,"-next"),(0,_e.Z)({},"".concat(ya,"-disabled"),Io)),"aria-disabled":Io},Zo):null,ie.createElement(Ke,{disabled:nn,locale:na,rootPrefixCls:ya,selectComponentClass:Jr,selectPrefixCls:co,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:kr,pageSize:Sa,pageSizeOptions:Xr,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Yt}))}}],[{key:"getDerivedStateFromProps",value:function(Ft,ya){var ot={};if("current"in Ft&&(ot.current=Ft.current,Ft.current!==ya.current&&(ot.currentInputValue=ot.current)),"pageSize"in Ft&&Ft.pageSize!==ya.pageSize){var Tt=ya.current,nn=ft(Ft.pageSize,ya,Ft);Tt=Tt>nn?nn:Tt,"current"in Ft||(ot.current=Tt,ot.currentInputValue=Tt),ot.pageSize=Ft.pageSize}return ot}}]),Pa}(ie.Component);ut.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Fe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Fe,locale:Oe.Z,style:{},itemRender:lt,totalBoundaryShowSizeChanger:50};var St=ut,jt=z(62906),Vn=z(53124),fa=z(98675),mt=z(25378),ht=z(10110),mn=z(11713);const oa=et=>ie.createElement(mn.default,Object.assign({},et,{showSearch:!0,size:"small"})),Sn=et=>ie.createElement(mn.default,Object.assign({},et,{showSearch:!0,size:"middle"}));oa.Option=mn.default.Option,Sn.Option=mn.default.Option;var Kn=z(47673),Ye=z(14747),_n=z(67968),ca=z(45503);const ln=et=>{const{componentCls:Ot}=et;return{[`${Ot}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ot}-item-link`]:{color:et.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ot}-item-link`]:{color:et.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ot}-disabled`]:{cursor:"not-allowed",[`${Ot}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:et.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:et.colorBorder,backgroundColor:et.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:et.itemActiveBgDisabled},a:{color:et.itemActiveColorDisabled}}},[`${Ot}-item-link`]:{color:et.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ot}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ot}-simple-pager`]:{color:et.colorTextDisabled},[`${Ot}-jump-prev, ${Ot}-jump-next`]:{[`${Ot}-item-link-icon`]:{opacity:0},[`${Ot}-item-ellipsis`]:{opacity:1}}},[`&${Ot}-simple`]:{[`${Ot}-prev, ${Ot}-next`]:{[`&${Ot}-disabled ${Ot}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},At=et=>{const{componentCls:Ot}=et;return{[`&${Ot}-mini ${Ot}-total-text, &${Ot}-mini ${Ot}-simple-pager`]:{height:et.itemSizeSM,lineHeight:`${et.itemSizeSM}px`},[`&${Ot}-mini ${Ot}-item`]:{minWidth:et.itemSizeSM,height:et.itemSizeSM,margin:0,lineHeight:`${et.itemSizeSM-2}px`},[`&${Ot}-mini:not(${Ot}-disabled) ${Ot}-item:not(${Ot}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:et.colorBgTextHover},"&:active":{backgroundColor:et.colorBgTextActive}},[`&${Ot}-mini ${Ot}-prev, &${Ot}-mini ${Ot}-next`]:{minWidth:et.itemSizeSM,height:et.itemSizeSM,margin:0,lineHeight:`${et.itemSizeSM}px`},[`&${Ot}-mini:not(${Ot}-disabled)`]:{[`${Ot}-prev, ${Ot}-next`]:{[`&:hover ${Ot}-item-link`]:{backgroundColor:et.colorBgTextHover},[`&:active ${Ot}-item-link`]:{backgroundColor:et.colorBgTextActive},[`&${Ot}-disabled:hover ${Ot}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Ot}-mini ${Ot}-prev ${Ot}-item-link,
&${Ot}-mini ${Ot}-next ${Ot}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:et.itemSizeSM,lineHeight:`${et.itemSizeSM}px`}},[`&${Ot}-mini ${Ot}-jump-prev, &${Ot}-mini ${Ot}-jump-next`]:{height:et.itemSizeSM,marginInlineEnd:0,lineHeight:`${et.itemSizeSM}px`},[`&${Ot}-mini ${Ot}-options`]:{marginInlineStart:et.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:et.miniOptionsSizeChangerTop},"&-quick-jumper":{height:et.itemSizeSM,lineHeight:`${et.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Kn.x0)(et)),{width:et.paginationMiniQuickJumperInputWidth,height:et.controlHeightSM})}}}},cn=et=>{const{componentCls:Ot}=et;return{[`
&${Ot}-simple ${Ot}-prev,
&${Ot}-simple ${Ot}-next
`]:{height:et.itemSizeSM,lineHeight:`${et.itemSizeSM}px`,verticalAlign:"top",[`${Ot}-item-link`]:{height:et.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:et.colorBgTextHover},"&:active":{backgroundColor:et.colorBgTextActive},"&::after":{height:et.itemSizeSM,lineHeight:`${et.itemSizeSM}px`}}},[`&${Ot}-simple ${Ot}-simple-pager`]:{display:"inline-block",height:et.itemSizeSM,marginInlineEnd:et.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:et.marginXS,padding:`0 ${et.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:et.itemInputBg,border:`${et.lineWidth}px ${et.lineType} ${et.colorBorder}`,borderRadius:et.borderRadius,outline:"none",transition:`border-color ${et.motionDurationMid}`,color:"inherit","&:hover":{borderColor:et.colorPrimary},"&:focus":{borderColor:et.colorPrimaryHover,boxShadow:`${et.inputOutlineOffset}px 0 ${et.controlOutlineWidth}px ${et.controlOutline}`},"&[disabled]":{color:et.colorTextDisabled,backgroundColor:et.colorBgContainerDisabled,borderColor:et.colorBorder,cursor:"not-allowed"}}}}},We=et=>{const{componentCls:Ot}=et;return{[`${Ot}-jump-prev, ${Ot}-jump-next`]:{outline:0,[`${Ot}-item-container`]:{position:"relative",[`${Ot}-item-link-icon`]:{color:et.colorPrimary,fontSize:et.fontSizeSM,opacity:0,transition:`all ${et.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ot}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:et.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:et.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:et.paginationEllipsisTextIndent,opacity:1,transition:`all ${et.motionDurationMid}`}},"&:hover":{[`${Ot}-item-link-icon`]:{opacity:1},[`${Ot}-item-ellipsis`]:{opacity:0}}},[`
${Ot}-prev,
${Ot}-jump-prev,
${Ot}-jump-next
`]:{marginInlineEnd:et.marginXS},[`
${Ot}-prev,
${Ot}-next,
${Ot}-jump-prev,
${Ot}-jump-next
`]:{display:"inline-block",minWidth:et.itemSize,height:et.itemSize,color:et.colorText,fontFamily:et.fontFamily,lineHeight:`${et.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:et.borderRadius,cursor:"pointer",transition:`all ${et.motionDurationMid}`},[`${Ot}-prev, ${Ot}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:et.colorText,cursor:"pointer",userSelect:"none"},[`${Ot}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:et.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${et.lineWidth}px ${et.lineType} transparent`,borderRadius:et.borderRadius,outline:"none",transition:`all ${et.motionDurationMid}`},[`&:hover ${Ot}-item-link`]:{backgroundColor:et.colorBgTextHover},[`&:active ${Ot}-item-link`]:{backgroundColor:et.colorBgTextActive},[`&${Ot}-disabled:hover`]:{[`${Ot}-item-link`]:{backgroundColor:"transparent"}}},[`${Ot}-slash`]:{marginInlineEnd:et.paginationSlashMarginInlineEnd,marginInlineStart:et.paginationSlashMarginInlineStart},[`${Ot}-options`]:{display:"inline-block",marginInlineStart:et.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:et.controlHeight,marginInlineStart:et.marginXS,lineHeight:`${et.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Kn.ik)(et)),{width:et.controlHeightLG*1.25,height:et.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:et.marginXS,marginInlineEnd:et.marginXS})}}}},Be=et=>{const{componentCls:Ot}=et;return{[`${Ot}-item`]:{display:"inline-block",minWidth:et.itemSize,height:et.itemSize,marginInlineEnd:et.marginXS,fontFamily:et.fontFamily,lineHeight:`${et.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${et.lineWidth}px ${et.lineType} transparent`,borderRadius:et.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${et.paginationItemPaddingInline}px`,color:et.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ot}-item-active)`]:{"&:hover":{transition:`all ${et.motionDurationMid}`,backgroundColor:et.colorBgTextHover},"&:active":{backgroundColor:et.colorBgTextActive}},"&-active":{fontWeight:et.fontWeightStrong,backgroundColor:et.itemActiveBg,borderColor:et.colorPrimary,a:{color:et.colorPrimary},"&:hover":{borderColor:et.colorPrimaryHover},"&:hover a":{color:et.colorPrimaryHover}}}}},Je=et=>{const{componentCls:Ot}=et;return{[Ot]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ye.Wf)(et)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ot}-total-text`]:{display:"inline-block",height:et.itemSize,marginInlineEnd:et.marginXS,lineHeight:`${et.itemSize-2}px`,verticalAlign:"middle"}}),Be(et)),We(et)),cn(et)),At(et)),ln(et)),{[`@media only screen and (max-width: ${et.screenLG}px)`]:{[`${Ot}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${et.screenSM}px)`]:{[`${Ot}-options`]:{display:"none"}}}),[`&${et.componentCls}-rtl`]:{direction:"rtl"}}},vt=et=>{const{componentCls:Ot}=et;return{[`${Ot}${Ot}-disabled:not(${Ot}-mini)`]:{"&, &:hover":{[`${Ot}-item-link`]:{borderColor:et.colorBorder}},"&:focus-visible":{[`${Ot}-item-link`]:{borderColor:et.colorBorder}},[`${Ot}-item, ${Ot}-item-link`]:{backgroundColor:et.colorBgContainerDisabled,borderColor:et.colorBorder,[`&:hover:not(${Ot}-item-active)`]:{backgroundColor:et.colorBgContainerDisabled,borderColor:et.colorBorder,a:{color:et.colorTextDisabled}},[`&${Ot}-item-active`]:{backgroundColor:et.itemActiveBgDisabled}},[`${Ot}-prev, ${Ot}-next`]:{"&:hover button":{backgroundColor:et.colorBgContainerDisabled,borderColor:et.colorBorder,color:et.colorTextDisabled},[`${Ot}-item-link`]:{backgroundColor:et.colorBgContainerDisabled,borderColor:et.colorBorder}}},[`${Ot}:not(${Ot}-mini)`]:{[`${Ot}-prev, ${Ot}-next`]:{"&:hover button":{borderColor:et.colorPrimaryHover,backgroundColor:et.itemBg},[`${Ot}-item-link`]:{backgroundColor:et.itemLinkBg,borderColor:et.colorBorder},[`&:hover ${Ot}-item-link`]:{borderColor:et.colorPrimary,backgroundColor:et.itemBg,color:et.colorPrimary},[`&${Ot}-disabled`]:{[`${Ot}-item-link`]:{borderColor:et.colorBorder,color:et.colorTextDisabled}}},[`${Ot}-item`]:{backgroundColor:et.itemBg,border:`${et.lineWidth}px ${et.lineType} ${et.colorBorder}`,[`&:hover:not(${Ot}-item-active)`]:{borderColor:et.colorPrimary,backgroundColor:et.itemBg,a:{color:et.colorPrimary}},"&-active":{borderColor:et.colorPrimary}}}}},Vt=et=>{const{componentCls:Ot}=et;return{[`${Ot}:not(${Ot}-disabled)`]:{[`${Ot}-item`]:Object.assign({},(0,Ye.Qy)(et)),[`${Ot}-jump-prev, ${Ot}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ot}-item-link-icon`]:{opacity:1},[`${Ot}-item-ellipsis`]:{opacity:0}},(0,Ye.oN)(et))},[`${Ot}-prev, ${Ot}-next`]:{[`&:focus-visible ${Ot}-item-link`]:Object.assign({},(0,Ye.oN)(et))}}}};var dn=(0,_n.Z)("Pagination",et=>{const Ot=(0,ca.TS)(et,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:et.marginXXS/2,paginationMiniQuickJumperInputWidth:et.controlHeightLG*1.1,paginationItemPaddingInline:et.marginXXS*1.5,paginationEllipsisLetterSpacing:et.marginXXS/2,paginationSlashMarginInlineStart:et.marginXXS,paginationSlashMarginInlineEnd:et.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Kn.e5)(et),(0,Kn.TM)(et));return[Je(Ot),Vt(Ot),et.wireframe&&vt(Ot)]},et=>({itemBg:et.colorBgContainer,itemSize:et.controlHeight,itemSizeSM:et.controlHeightSM,itemActiveBg:et.colorBgContainer,itemLinkBg:et.colorBgContainer,itemActiveColorDisabled:et.colorTextDisabled,itemActiveBgDisabled:et.controlItemBgActiveDisabled,itemInputBg:et.colorBgContainer,miniOptionsSizeChangerTop:0})),ta=function(et,Ot){var Pa={};for(var An in et)Object.prototype.hasOwnProperty.call(et,An)&&Ot.indexOf(An)<0&&(Pa[An]=et[An]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,An=Object.getOwnPropertySymbols(et);Ft<An.length;Ft++)Ot.indexOf(An[Ft])<0&&Object.prototype.propertyIsEnumerable.call(et,An[Ft])&&(Pa[An[Ft]]=et[An[Ft]]);return Pa},Nn=et=>{const{prefixCls:Ot,selectPrefixCls:Pa,className:An,rootClassName:Ft,style:ya,size:ot,locale:Tt,selectComponentClass:nn,responsive:Rt,showSizeChanger:Lt}=et,na=ta(et,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:va}=(0,mt.Z)(Rt),{getPrefixCls:ha,direction:ba,pagination:lr={}}=ie.useContext(Vn.E_),gr=ha("pagination",Ot),[Qa,Dr]=dn(gr),so=Lt!=null?Lt:lr.showSizeChanger,zr=ie.useMemo(()=>{const _a=ie.createElement("span",{className:`${gr}-item-ellipsis`},"\u2022\u2022\u2022"),za=ie.createElement("button",{className:`${gr}-item-link`,type:"button",tabIndex:-1},ba==="rtl"?ie.createElement(ze.Z,null):ie.createElement(Me.Z,null)),Ar=ie.createElement("button",{className:`${gr}-item-link`,type:"button",tabIndex:-1},ba==="rtl"?ie.createElement(Me.Z,null):ie.createElement(ze.Z,null)),er=ie.createElement("a",{className:`${gr}-item-link`},ie.createElement("div",{className:`${gr}-item-container`},ba==="rtl"?ie.createElement(nt.Z,{className:`${gr}-item-link-icon`}):ie.createElement(se,{className:`${gr}-item-link-icon`}),_a)),Wa=ie.createElement("a",{className:`${gr}-item-link`},ie.createElement("div",{className:`${gr}-item-container`},ba==="rtl"?ie.createElement(se,{className:`${gr}-item-link-icon`}):ie.createElement(nt.Z,{className:`${gr}-item-link-icon`}),_a));return{prevIcon:za,nextIcon:Ar,jumpPrevIcon:er,jumpNextIcon:Wa}},[ba,gr]),[Jr]=(0,ht.Z)("Pagination",jt.Z),co=Object.assign(Object.assign({},Jr),Tt),Xr=(0,fa.Z)(ot),bo=Xr==="small"||!!(va&&!Xr&&Rt),kr=ha("select",Pa),Sa=de()({[`${gr}-mini`]:bo,[`${gr}-rtl`]:ba==="rtl"},lr==null?void 0:lr.className,An,Ft,Dr),ja=Object.assign(Object.assign({},lr==null?void 0:lr.style),ya);return Qa(ie.createElement(St,Object.assign({},zr,na,{style:ja,prefixCls:gr,selectPrefixCls:kr,className:Sa,selectComponentClass:nn||(bo?oa:Sn),locale:co,showSizeChanger:so})))},ia=Nn},66330:function(Jt,zt,z){"use strict";z.d(zt,{t5:function(){return ze}});var x=z(94184),ie=z.n(x),Ce=z(92419),Re=z(67294),ye=z(53124),Te=z(81643),se=z(20136),nt=function(de,_e){var ue={};for(var y in de)Object.prototype.hasOwnProperty.call(de,y)&&_e.indexOf(y)<0&&(ue[y]=de[y]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,y=Object.getOwnPropertySymbols(de);a<y.length;a++)_e.indexOf(y[a])<0&&Object.prototype.propertyIsEnumerable.call(de,y[a])&&(ue[y[a]]=de[y[a]]);return ue};const Me=(de,_e,ue)=>{if(!(!_e&&!ue))return Re.createElement(Re.Fragment,null,_e&&Re.createElement("div",{className:`${de}-title`},(0,Te.Z)(_e)),Re.createElement("div",{className:`${de}-inner-content`},(0,Te.Z)(ue)))},ze=de=>{const{hashId:_e,prefixCls:ue,className:y,style:a,placement:b="top",title:E,content:ee,children:te}=de;return Re.createElement("div",{className:ie()(_e,ue,`${ue}-pure`,`${ue}-placement-${b}`,y),style:a},Re.createElement("div",{className:`${ue}-arrow`}),Re.createElement(Ce.G,Object.assign({},de,{className:_e,prefixCls:ue}),te||Me(ue,E,ee)))},Ze=de=>{const{prefixCls:_e}=de,ue=nt(de,["prefixCls"]),{getPrefixCls:y}=Re.useContext(ye.E_),a=y("popover",_e),[b,E]=(0,se.Z)(a);return b(Re.createElement(ze,Object.assign({},ue,{prefixCls:a,hashId:E})))};zt.ZP=Ze},55241:function(Jt,zt,z){"use strict";var x=z(94184),ie=z.n(x),Ce=z(67294),Re=z(81643),ye=z(33603),Te=z(53124),se=z(83062),nt=z(66330),Me=z(20136),ze=function(_e,ue){var y={};for(var a in _e)Object.prototype.hasOwnProperty.call(_e,a)&&ue.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++)ue.indexOf(a[b])<0&&Object.prototype.propertyIsEnumerable.call(_e,a[b])&&(y[a[b]]=_e[a[b]]);return y};const Ze=_e=>{let{title:ue,content:y,prefixCls:a}=_e;return Ce.createElement(Ce.Fragment,null,ue&&Ce.createElement("div",{className:`${a}-title`},(0,Re.Z)(ue)),Ce.createElement("div",{className:`${a}-inner-content`},(0,Re.Z)(y)))},de=Ce.forwardRef((_e,ue)=>{const{prefixCls:y,title:a,content:b,overlayClassName:E,placement:ee="top",trigger:te="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:oe=.1,overlayStyle:ce={}}=_e,pe=ze(_e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:Pe}=Ce.useContext(Te.E_),He=Pe("popover",y),[ke,Oe]=(0,Me.Z)(He),he=Pe(),Ke=ie()(E,Oe);return ke(Ce.createElement(se.Z,Object.assign({placement:ee,trigger:te,mouseEnterDelay:re,mouseLeaveDelay:oe,overlayStyle:ce},pe,{prefixCls:He,overlayClassName:Ke,ref:ue,overlay:a||b?Ce.createElement(Ze,{prefixCls:He,title:a,content:b}):null,transitionName:(0,ye.m)(he,"zoom-big",pe.transitionName),"data-popover-inject":!0})))});de._InternalPanelDoNotUseOrYouWillBeFired=nt.ZP,zt.Z=de},20136:function(Jt,zt,z){"use strict";var x=z(14747),ie=z(50438),Ce=z(97414),Re=z(8796),ye=z(67968),Te=z(45503);const se=ze=>{const{componentCls:Ze,popoverColor:de,minWidth:_e,fontWeightStrong:ue,popoverPadding:y,boxShadowSecondary:a,colorTextHeading:b,borderRadiusLG:E,zIndexPopup:ee,marginXS:te,colorBgElevated:re,popoverBg:oe}=ze;return[{[Ze]:Object.assign(Object.assign({},(0,x.Wf)(ze)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:ee,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"},[`${Ze}-content`]:{position:"relative"},[`${Ze}-inner`]:{backgroundColor:oe,backgroundClip:"padding-box",borderRadius:E,boxShadow:a,padding:y},[`${Ze}-title`]:{minWidth:_e,marginBottom:te,color:b,fontWeight:ue},[`${Ze}-inner-content`]:{color:de}})},(0,Ce.ZP)(ze,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Ze}-pure`]:{position:"relative",maxWidth:"none",margin:ze.sizePopupArrow,display:"inline-block",[`${Ze}-content`]:{display:"inline-block"}}}]},nt=ze=>{const{componentCls:Ze}=ze;return{[Ze]:Re.i.map(de=>{const _e=ze[`${de}6`];return{[`&${Ze}-${de}`]:{"--antd-arrow-background-color":_e,[`${Ze}-inner`]:{backgroundColor:_e},[`${Ze}-arrow`]:{background:"transparent"}}}})}},Me=ze=>{const{componentCls:Ze,lineWidth:de,lineType:_e,colorSplit:ue,paddingSM:y,controlHeight:a,fontSize:b,lineHeight:E,padding:ee}=ze,te=a-Math.round(b*E),re=te/2,oe=te/2-de,ce=ee;return{[Ze]:{[`${Ze}-inner`]:{padding:0},[`${Ze}-title`]:{margin:0,padding:`${re}px ${ce}px ${oe}px`,borderBottom:`${de}px ${_e} ${ue}`},[`${Ze}-inner-content`]:{padding:`${y}px ${ce}px`}}}};zt.Z=(0,ye.Z)("Popover",ze=>{const{colorBgElevated:Ze,colorText:de,wireframe:_e}=ze,ue=(0,Te.TS)(ze,{popoverPadding:12,popoverBg:Ze,popoverColor:de});return[se(ue),nt(ue),_e&&Me(ue),(0,ie._y)(ue,"zoom-big")]},ze=>({width:177,minWidth:177,zIndexPopup:ze.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},38703:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return ya}});var x=z(67294),ie=z(87725),Ce=z(18299),Re=z(16646),ye=z(73475),Te=z(94184),se=z.n(Te),nt=z(10366),Me=z(53124),ze=z(87462),Ze=z(1413),de=z(45987),_e={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ue=function(){var Tt=(0,x.useRef)([]),nn=(0,x.useRef)(null);return(0,x.useEffect)(function(){var Rt=Date.now(),Lt=!1;Tt.current.forEach(function(na){if(na){Lt=!0;var va=na.style;va.transitionDuration=".3s, .3s, .3s, .06s",nn.current&&Rt-nn.current<100&&(va.transitionDuration="0s, 0s")}}),Lt&&(nn.current=Date.now())}),Tt.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(Tt){var nn=(0,Ze.Z)((0,Ze.Z)({},_e),Tt),Rt=nn.className,Lt=nn.percent,na=nn.prefixCls,va=nn.strokeColor,ha=nn.strokeLinecap,ba=nn.strokeWidth,lr=nn.style,gr=nn.trailColor,Qa=nn.trailWidth,Dr=nn.transition,so=(0,de.Z)(nn,y);delete so.gapPosition;var zr=Array.isArray(Lt)?Lt:[Lt],Jr=Array.isArray(va)?va:[va],co=ue(),Xr=ba/2,bo=100-ba/2,kr="M ".concat(ha==="round"?Xr:0,",").concat(Xr,`
L `).concat(ha==="round"?bo:100,",").concat(Xr),Sa="0 0 100 ".concat(ba),ja=0;return x.createElement("svg",(0,ze.Z)({className:se()("".concat(na,"-line"),Rt),viewBox:Sa,preserveAspectRatio:"none",style:lr},so),x.createElement("path",{className:"".concat(na,"-line-trail"),d:kr,strokeLinecap:ha,stroke:gr,strokeWidth:Qa||ba,fillOpacity:"0"}),zr.map(function(_a,za){var Ar=1;switch(ha){case"round":Ar=1-ba/100;break;case"square":Ar=1-ba/2/100;break;default:Ar=1;break}var er={strokeDasharray:"".concat(_a*Ar,"px, 100px"),strokeDashoffset:"-".concat(ja,"px"),transition:Dr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Wa=Jr[za]||Jr[Jr.length-1];return ja+=_a,x.createElement("path",{key:za,className:"".concat(na,"-line-path"),d:kr,strokeLinecap:ha,stroke:Wa,strokeWidth:ba,fillOpacity:"0",ref:function(sn){co[za]=sn},style:er})}))},b=a,E=z(71002),ee=z(97685),te=z(98924),re=0,oe=(0,te.Z)();function ce(){var ot;return oe?(ot=re,re+=1):ot="TEST_OR_SSR",ot}var pe=function(ot){var Tt=x.useState(),nn=(0,ee.Z)(Tt,2),Rt=nn[0],Lt=nn[1];return x.useEffect(function(){Lt("rc_progress_".concat(ce()))},[]),ot||Rt},Pe=function(Tt){var nn=Tt.bg,Rt=Tt.children;return x.createElement("div",{style:{width:"100%",height:"100%",background:nn}},Rt)};function He(ot,Tt){return Object.keys(ot).map(function(nn){var Rt=parseFloat(nn),Lt="".concat(Math.floor(Rt*Tt),"%");return"".concat(ot[nn]," ").concat(Lt)})}var ke=x.forwardRef(function(ot,Tt){var nn=ot.prefixCls,Rt=ot.color,Lt=ot.gradientId,na=ot.radius,va=ot.style,ha=ot.ptg,ba=ot.strokeLinecap,lr=ot.strokeWidth,gr=ot.size,Qa=ot.gapDegree,Dr=Rt&&(0,E.Z)(Rt)==="object",so=Dr?"#FFF":void 0,zr=gr/2,Jr=x.createElement("circle",{className:"".concat(nn,"-circle-path"),r:na,cx:zr,cy:zr,stroke:so,strokeLinecap:ba,strokeWidth:lr,opacity:ha===0?0:1,style:va,ref:Tt});if(!Dr)return Jr;var co="".concat(Lt,"-conic"),Xr=Qa?"".concat(180+Qa/2,"deg"):"0deg",bo=He(Rt,(360-Qa)/360),kr=He(Rt,1),Sa="conic-gradient(from ".concat(Xr,", ").concat(bo.join(", "),")"),ja="linear-gradient(to ".concat(Qa?"bottom":"top",", ").concat(kr.join(", "),")");return x.createElement(x.Fragment,null,x.createElement("mask",{id:co},Jr),x.createElement("foreignObject",{x:0,y:0,width:gr,height:gr,mask:"url(#".concat(co,")")},x.createElement(Pe,{bg:ja},x.createElement(Pe,{bg:Sa}))))}),Oe=ke,he=100,Ke=function(Tt,nn,Rt,Lt,na,va,ha,ba,lr,gr){var Qa=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Dr=Rt/100*360*((360-va)/360),so=va===0?0:{bottom:0,top:180,left:90,right:-90}[ha],zr=(100-Lt)/100*nn;lr==="round"&&Lt!==100&&(zr+=gr/2,zr>=nn&&(zr=nn-.01));var Jr=he/2;return{stroke:typeof ba=="string"?ba:void 0,strokeDasharray:"".concat(nn,"px ").concat(Tt),strokeDashoffset:zr+Qa,transform:"rotate(".concat(na+Dr+so,"deg)"),transformOrigin:"".concat(Jr,"px ").concat(Jr,"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}},Ue=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function $e(ot){var Tt=ot!=null?ot:[];return Array.isArray(Tt)?Tt:[Tt]}var Fe=function(Tt){var nn=(0,Ze.Z)((0,Ze.Z)({},_e),Tt),Rt=nn.id,Lt=nn.prefixCls,na=nn.steps,va=nn.strokeWidth,ha=nn.trailWidth,ba=nn.gapDegree,lr=ba===void 0?0:ba,gr=nn.gapPosition,Qa=nn.trailColor,Dr=nn.strokeLinecap,so=nn.style,zr=nn.className,Jr=nn.strokeColor,co=nn.percent,Xr=(0,de.Z)(nn,Ue),bo=he/2,kr=pe(Rt),Sa="".concat(kr,"-gradient"),ja=bo-va/2,_a=Math.PI*2*ja,za=lr>0?90+lr/2:-90,Ar=_a*((360-lr)/360),er=(0,E.Z)(na)==="object"?na:{count:na,space:2},Wa=er.count,kt=er.space,sn=$e(co),Yt=$e(Jr),$n=Yt.find(function(ro){return ro&&(0,E.Z)(ro)==="object"}),La=$n&&(0,E.Z)($n)==="object",dr=La?"butt":Dr,Eo=Ke(_a,Ar,0,100,za,lr,gr,Qa,dr,va),Nr=ue(),bn=function(){var la=0;return sn.map(function(Ya,Bt){var Yn=Yt[Bt]||Yt[Yt.length-1],Dn=Ke(_a,Ar,la,Ya,za,lr,gr,Yn,dr,va);return la+=Ya,x.createElement(Oe,{key:Bt,color:Yn,ptg:Ya,radius:ja,prefixCls:Lt,gradientId:Sa,style:Dn,strokeLinecap:dr,strokeWidth:va,gapDegree:lr,ref:function(ar){Nr[Bt]=ar},size:he})}).reverse()},da=function(){var la=Math.round(Wa*(sn[0]/100)),Ya=100/Wa,Bt=0;return new Array(Wa).fill(null).map(function(Yn,Dn){var It=Dn<=la-1?Yt[0]:Qa,ar=It&&(0,E.Z)(It)==="object"?"url(#".concat(Sa,")"):void 0,ga=Ke(_a,Ar,Bt,Ya,za,lr,gr,It,"butt",va,kt);return Bt+=(Ar-ga.strokeDashoffset+kt)*100/Ar,x.createElement("circle",{key:Dn,className:"".concat(Lt,"-circle-path"),r:ja,cx:bo,cy:bo,stroke:ar,strokeWidth:va,opacity:1,style:ga,ref:function(wa){Nr[Dn]=wa}})})};return x.createElement("svg",(0,ze.Z)({className:se()("".concat(Lt,"-circle"),zr),viewBox:"0 0 ".concat(he," ").concat(he),style:so,id:Rt,role:"presentation"},Xr),!Wa&&x.createElement("circle",{className:"".concat(Lt,"-circle-trail"),r:ja,cx:bo,cy:bo,stroke:Qa,strokeLinecap:dr,strokeWidth:ha||va,style:Eo}),Wa?da():bn())},at=Fe,lt={Line:b,Circle:at},ft=z(83062),ut=z(47448);function St(ot){return!ot||ot<0?0:ot>100?100:ot}function jt(ot){let{success:Tt,successPercent:nn}=ot,Rt=nn;return Tt&&"progress"in Tt&&(Rt=Tt.progress),Tt&&"percent"in Tt&&(Rt=Tt.percent),Rt}const Vn=ot=>{let{percent:Tt,success:nn,successPercent:Rt}=ot;const Lt=St(jt({success:nn,successPercent:Rt}));return[Lt,St(St(Tt)-Lt)]},fa=ot=>{let{success:Tt={},strokeColor:nn}=ot;const{strokeColor:Rt}=Tt;return[Rt||ut.presetPrimaryColors.green,nn||null]},mt=(ot,Tt,nn)=>{var Rt,Lt,na,va;let ha=-1,ba=-1;if(Tt==="step"){const lr=nn.steps,gr=nn.strokeWidth;typeof ot=="string"||typeof ot=="undefined"?(ha=ot==="small"?2:14,ba=gr!=null?gr:8):typeof ot=="number"?[ha,ba]=[ot,ot]:[ha=14,ba=8]=ot,ha*=lr}else if(Tt==="line"){const lr=nn==null?void 0:nn.strokeWidth;typeof ot=="string"||typeof ot=="undefined"?ba=lr||(ot==="small"?6:8):typeof ot=="number"?[ha,ba]=[ot,ot]:[ha=-1,ba=8]=ot}else(Tt==="circle"||Tt==="dashboard")&&(typeof ot=="string"||typeof ot=="undefined"?[ha,ba]=ot==="small"?[60,60]:[120,120]:typeof ot=="number"?[ha,ba]=[ot,ot]:(ha=(Lt=(Rt=ot[0])!==null&&Rt!==void 0?Rt:ot[1])!==null&&Lt!==void 0?Lt:120,ba=(va=(na=ot[0])!==null&&na!==void 0?na:ot[1])!==null&&va!==void 0?va:120));return[ha,ba]},ht=3,mn=ot=>ht/ot*100;var Sn=ot=>{const{prefixCls:Tt,trailColor:nn=null,strokeLinecap:Rt="round",gapPosition:Lt,gapDegree:na,width:va=120,type:ha,children:ba,success:lr,size:gr=va}=ot,[Qa,Dr]=mt(gr,"circle");let{strokeWidth:so}=ot;so===void 0&&(so=Math.max(mn(Qa),6));const zr={width:Qa,height:Dr,fontSize:Qa*.15+6},Jr=x.useMemo(()=>{if(na||na===0)return na;if(ha==="dashboard")return 75},[na,ha]),co=Lt||ha==="dashboard"&&"bottom"||void 0,Xr=Object.prototype.toString.call(ot.strokeColor)==="[object Object]",bo=fa({success:lr,strokeColor:ot.strokeColor}),kr=se()(`${Tt}-inner`,{[`${Tt}-circle-gradient`]:Xr}),Sa=x.createElement(at,{percent:Vn(ot),strokeWidth:so,trailWidth:so,strokeColor:bo,strokeLinecap:Rt,trailColor:nn,prefixCls:Tt,gapDegree:Jr,gapPosition:co});return x.createElement("div",{className:kr,style:zr},Qa<=20?x.createElement(ft.Z,{title:ba},x.createElement("span",null,Sa)):x.createElement(x.Fragment,null,Sa,ba))},Kn=function(ot,Tt){var nn={};for(var Rt in ot)Object.prototype.hasOwnProperty.call(ot,Rt)&&Tt.indexOf(Rt)<0&&(nn[Rt]=ot[Rt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Rt=Object.getOwnPropertySymbols(ot);Lt<Rt.length;Lt++)Tt.indexOf(Rt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(ot,Rt[Lt])&&(nn[Rt[Lt]]=ot[Rt[Lt]]);return nn};const Ye=ot=>{let Tt=[];return Object.keys(ot).forEach(nn=>{const Rt=parseFloat(nn.replace(/%/g,""));isNaN(Rt)||Tt.push({key:Rt,value:ot[nn]})}),Tt=Tt.sort((nn,Rt)=>nn.key-Rt.key),Tt.map(nn=>{let{key:Rt,value:Lt}=nn;return`${Lt} ${Rt}%`}).join(", ")},_n=(ot,Tt)=>{const{from:nn=ut.presetPrimaryColors.blue,to:Rt=ut.presetPrimaryColors.blue,direction:Lt=Tt==="rtl"?"to left":"to right"}=ot,na=Kn(ot,["from","to","direction"]);if(Object.keys(na).length!==0){const va=Ye(na);return{backgroundImage:`linear-gradient(${Lt}, ${va})`}}return{backgroundImage:`linear-gradient(${Lt}, ${nn}, ${Rt})`}};var ln=ot=>{const{prefixCls:Tt,direction:nn,percent:Rt,size:Lt,strokeWidth:na,strokeColor:va,strokeLinecap:ha="round",children:ba,trailColor:lr=null,success:gr}=ot,Qa=va&&typeof va!="string"?_n(va,nn):{backgroundColor:va},Dr=ha==="square"||ha==="butt"?0:void 0,so={backgroundColor:lr||void 0,borderRadius:Dr},zr=Lt!=null?Lt:[-1,na||(Lt==="small"?6:8)],[Jr,co]=mt(zr,"line",{strokeWidth:na}),Xr=Object.assign({width:`${St(Rt)}%`,height:co,borderRadius:Dr},Qa),bo=jt(ot),kr={width:`${St(bo)}%`,height:co,borderRadius:Dr,backgroundColor:gr==null?void 0:gr.strokeColor},Sa={width:Jr<0?"100%":Jr,height:co};return x.createElement(x.Fragment,null,x.createElement("div",{className:`${Tt}-outer`,style:Sa},x.createElement("div",{className:`${Tt}-inner`,style:so},x.createElement("div",{className:`${Tt}-bg`,style:Xr}),bo!==void 0?x.createElement("div",{className:`${Tt}-success-bg`,style:kr}):null)),ba)},cn=ot=>{const{size:Tt,steps:nn,percent:Rt=0,strokeWidth:Lt=8,strokeColor:na,trailColor:va=null,prefixCls:ha,children:ba}=ot,lr=Math.round(nn*(Rt/100)),gr=Tt==="small"?2:14,Qa=Tt!=null?Tt:[gr,Lt],[Dr,so]=mt(Qa,"step",{steps:nn,strokeWidth:Lt}),zr=Dr/nn,Jr=new Array(nn);for(let co=0;co<nn;co++){const Xr=Array.isArray(na)?na[co]:na;Jr[co]=x.createElement("div",{key:co,className:se()(`${ha}-steps-item`,{[`${ha}-steps-item-active`]:co<=lr-1}),style:{backgroundColor:co<=lr-1?Xr:va,width:zr,height:so}})}return x.createElement("div",{className:`${ha}-steps-outer`},Jr,ba)},We=z(45930),Be=z(14747),Je=z(67968),vt=z(45503);const Vt=ot=>{const Tt=ot?"100%":"-100%";return new We.Keyframes(`antProgress${ot?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Tt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Tt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},dn=ot=>{const{componentCls:Tt,iconCls:nn}=ot;return{[Tt]:Object.assign(Object.assign({},(0,Be.Wf)(ot)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ot.fontSize,marginInlineEnd:ot.marginXS,marginBottom:ot.marginXS},[`${Tt}-outer`]:{display:"inline-block",width:"100%"},[`&${Tt}-show-info`]:{[`${Tt}-outer`]:{marginInlineEnd:`calc(-2em - ${ot.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ot.paddingXS}px)`}},[`${Tt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ot.remainingColor,borderRadius:ot.lineBorderRadius},[`${Tt}-inner:not(${Tt}-circle-gradient)`]:{[`${Tt}-circle-path`]:{stroke:ot.defaultColor}},[`${Tt}-success-bg, ${Tt}-bg`]:{position:"relative",backgroundColor:ot.defaultColor,borderRadius:ot.lineBorderRadius,transition:`all ${ot.motionDurationSlow} ${ot.motionEaseInOutCirc}`},[`${Tt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ot.colorSuccess},[`${Tt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ot.marginXS,color:ot.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[nn]:{fontSize:ot.fontSize}},[`&${Tt}-status-active`]:{[`${Tt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ot.colorBgContainer,borderRadius:ot.lineBorderRadius,opacity:0,animationName:Vt(),animationDuration:ot.progressActiveMotionDuration,animationTimingFunction:ot.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Tt}-rtl${Tt}-status-active`]:{[`${Tt}-bg::before`]:{animationName:Vt(!0)}},[`&${Tt}-status-exception`]:{[`${Tt}-bg`]:{backgroundColor:ot.colorError},[`${Tt}-text`]:{color:ot.colorError}},[`&${Tt}-status-exception ${Tt}-inner:not(${Tt}-circle-gradient)`]:{[`${Tt}-circle-path`]:{stroke:ot.colorError}},[`&${Tt}-status-success`]:{[`${Tt}-bg`]:{backgroundColor:ot.colorSuccess},[`${Tt}-text`]:{color:ot.colorSuccess}},[`&${Tt}-status-success ${Tt}-inner:not(${Tt}-circle-gradient)`]:{[`${Tt}-circle-path`]:{stroke:ot.colorSuccess}}})}},ta=ot=>{const{componentCls:Tt,iconCls:nn}=ot;return{[Tt]:{[`${Tt}-circle-trail`]:{stroke:ot.remainingColor},[`&${Tt}-circle ${Tt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Tt}-circle ${Tt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ot.circleTextColor,fontSize:ot.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[nn]:{fontSize:`${ot.fontSize/ot.fontSizeSM}em`}},[`${Tt}-circle&-status-exception`]:{[`${Tt}-text`]:{color:ot.colorError}},[`${Tt}-circle&-status-success`]:{[`${Tt}-text`]:{color:ot.colorSuccess}}},[`${Tt}-inline-circle`]:{lineHeight:1,[`${Tt}-inner`]:{verticalAlign:"bottom"}}}},vn=ot=>{const{componentCls:Tt}=ot;return{[Tt]:{[`${Tt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ot.progressStepMinWidth,marginInlineEnd:ot.progressStepMarginInlineEnd,backgroundColor:ot.remainingColor,transition:`all ${ot.motionDurationSlow}`,"&-active":{backgroundColor:ot.defaultColor}}}}}},Nn=ot=>{const{componentCls:Tt,iconCls:nn}=ot;return{[Tt]:{[`${Tt}-small&-line, ${Tt}-small&-line ${Tt}-text ${nn}`]:{fontSize:ot.fontSizeSM}}}};var ia=(0,Je.Z)("Progress",ot=>{const Tt=ot.marginXXS/2,nn=(0,vt.TS)(ot,{progressStepMarginInlineEnd:Tt,progressStepMinWidth:Tt,progressActiveMotionDuration:"2.4s"});return[dn(nn),ta(nn),vn(nn),Nn(nn)]},ot=>({circleTextColor:ot.colorText,defaultColor:ot.colorInfo,remainingColor:ot.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),et=function(ot,Tt){var nn={};for(var Rt in ot)Object.prototype.hasOwnProperty.call(ot,Rt)&&Tt.indexOf(Rt)<0&&(nn[Rt]=ot[Rt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Rt=Object.getOwnPropertySymbols(ot);Lt<Rt.length;Lt++)Tt.indexOf(Rt[Lt])<0&&Object.prototype.propertyIsEnumerable.call(ot,Rt[Lt])&&(nn[Rt[Lt]]=ot[Rt[Lt]]);return nn};const Ot=null,Pa=["normal","exception","active","success"];var Ft=x.forwardRef((ot,Tt)=>{const{prefixCls:nn,className:Rt,rootClassName:Lt,steps:na,strokeColor:va,percent:ha=0,size:ba="default",showInfo:lr=!0,type:gr="line",status:Qa,format:Dr,style:so}=ot,zr=et(ot,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Jr=x.useMemo(()=>{var sn,Yt;const $n=jt(ot);return parseInt($n!==void 0?(sn=$n!=null?$n:0)===null||sn===void 0?void 0:sn.toString():(Yt=ha!=null?ha:0)===null||Yt===void 0?void 0:Yt.toString(),10)},[ha,ot.success,ot.successPercent]),co=x.useMemo(()=>!Pa.includes(Qa)&&Jr>=100?"success":Qa||"normal",[Qa,Jr]),{getPrefixCls:Xr,direction:bo,progress:kr}=x.useContext(Me.E_),Sa=Xr("progress",nn),[ja,_a]=ia(Sa),za=x.useMemo(()=>{if(!lr)return null;const sn=jt(ot);let Yt;const $n=Dr||(dr=>`${dr}%`),La=gr==="line";return Dr||co!=="exception"&&co!=="success"?Yt=$n(St(ha),St(sn)):co==="exception"?Yt=La?x.createElement(Re.Z,null):x.createElement(ye.Z,null):co==="success"&&(Yt=La?x.createElement(ie.Z,null):x.createElement(Ce.Z,null)),x.createElement("span",{className:`${Sa}-text`,title:typeof Yt=="string"?Yt:void 0},Yt)},[lr,ha,Jr,co,gr,Sa,Dr]),Ar=Array.isArray(va)?va[0]:va,er=typeof va=="string"||Array.isArray(va)?va:void 0;let Wa;gr==="line"?Wa=na?x.createElement(cn,Object.assign({},ot,{strokeColor:er,prefixCls:Sa,steps:na}),za):x.createElement(ln,Object.assign({},ot,{strokeColor:Ar,prefixCls:Sa,direction:bo}),za):(gr==="circle"||gr==="dashboard")&&(Wa=x.createElement(Sn,Object.assign({},ot,{strokeColor:Ar,prefixCls:Sa,progressStatus:co}),za));const kt=se()(Sa,`${Sa}-status-${co}`,`${Sa}-${gr==="dashboard"&&"circle"||na&&"steps"||gr}`,{[`${Sa}-inline-circle`]:gr==="circle"&&mt(ba,"circle")[0]<=20,[`${Sa}-show-info`]:lr,[`${Sa}-${ba}`]:typeof ba=="string",[`${Sa}-rtl`]:bo==="rtl"},kr==null?void 0:kr.className,Rt,Lt,_a);return ja(x.createElement("div",Object.assign({ref:Tt,style:Object.assign(Object.assign({},kr==null?void 0:kr.style),so),className:kt,role:"progressbar","aria-valuenow":Jr},(0,nt.Z)(zr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Wa))}),ya=Ft},12604:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return ut}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(jt,Vn){return ie.createElement(ye.Z,(0,x.Z)({},jt,{ref:Vn,icon:Re}))},se=ie.forwardRef(Te),nt=z(94184),Me=z.n(nt),ze=z(4942),Ze=z(97685),de=z(45987),_e=z(21770),ue=z(15105),y=z(64217);function a(St,jt){var Vn=St.disabled,fa=St.prefixCls,mt=St.character,ht=St.characterRender,mn=St.index,oa=St.count,Sn=St.value,Kn=St.allowHalf,Ye=St.focused,_n=St.onHover,ca=St.onClick,ln=function(dn){_n(dn,mn)},At=function(dn){ca(dn,mn)},cn=function(dn){dn.keyCode===ue.Z.ENTER&&ca(dn,mn)},We=mn+1,Be=new Set([fa]);Sn===0&&mn===0&&Ye?Be.add("".concat(fa,"-focused")):Kn&&Sn+.5>=We&&Sn<We?(Be.add("".concat(fa,"-half")),Be.add("".concat(fa,"-active")),Ye&&Be.add("".concat(fa,"-focused"))):(We<=Sn?Be.add("".concat(fa,"-full")):Be.add("".concat(fa,"-zero")),We===Sn&&Ye&&Be.add("".concat(fa,"-focused")));var Je=typeof mt=="function"?mt(St):mt,vt=ie.createElement("li",{className:Me()(Array.from(Be)),ref:jt},ie.createElement("div",{onClick:Vn?null:At,onKeyDown:Vn?null:cn,onMouseMove:Vn?null:ln,role:"radio","aria-checked":Sn>mn?"true":"false","aria-posinset":mn+1,"aria-setsize":oa,tabIndex:Vn?-1:0},ie.createElement("div",{className:"".concat(fa,"-first")},Je),ie.createElement("div",{className:"".concat(fa,"-second")},Je)));return ht&&(vt=ht(vt,St)),vt}var b=ie.forwardRef(a);function E(){var St=ie.useRef({});function jt(fa){return St.current[fa]}function Vn(fa){return function(mt){St.current[fa]=mt}}return[jt,Vn]}function ee(St){var jt=St.pageXOffset,Vn="scrollLeft";if(typeof jt!="number"){var fa=St.document;jt=fa.documentElement[Vn],typeof jt!="number"&&(jt=fa.body[Vn])}return jt}function te(St){var jt,Vn,fa=St.ownerDocument,mt=fa.body,ht=fa&&fa.documentElement,mn=St.getBoundingClientRect();return jt=mn.left,Vn=mn.top,jt-=ht.clientLeft||mt.clientLeft||0,Vn-=ht.clientTop||mt.clientTop||0,{left:jt,top:Vn}}function re(St){var jt=te(St),Vn=St.ownerDocument,fa=Vn.defaultView||Vn.parentWindow;return jt.left+=ee(fa),jt.left}var oe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ce(St,jt){var Vn,fa=St.prefixCls,mt=fa===void 0?"rc-rate":fa,ht=St.className,mn=St.defaultValue,oa=St.value,Sn=St.count,Kn=Sn===void 0?5:Sn,Ye=St.allowHalf,_n=Ye===void 0?!1:Ye,ca=St.allowClear,ln=ca===void 0?!0:ca,At=St.character,cn=At===void 0?"\u2605":At,We=St.characterRender,Be=St.disabled,Je=St.direction,vt=Je===void 0?"ltr":Je,Vt=St.tabIndex,dn=Vt===void 0?0:Vt,ta=St.autoFocus,vn=St.onHoverChange,Nn=St.onChange,ia=St.onFocus,et=St.onBlur,Ot=St.onKeyDown,Pa=St.onMouseLeave,An=(0,de.Z)(St,oe),Ft=E(),ya=(0,Ze.Z)(Ft,2),ot=ya[0],Tt=ya[1],nn=ie.useRef(null),Rt=function(){if(!Be){var La;(La=nn.current)===null||La===void 0||La.focus()}};ie.useImperativeHandle(jt,function(){return{focus:Rt,blur:function(){if(!Be){var La;(La=nn.current)===null||La===void 0||La.blur()}}}});var Lt=(0,_e.Z)(mn||0,{value:oa}),na=(0,Ze.Z)(Lt,2),va=na[0],ha=na[1],ba=(0,_e.Z)(null),lr=(0,Ze.Z)(ba,2),gr=lr[0],Qa=lr[1],Dr=function(La,dr){var Eo=vt==="rtl",Nr=La+1;if(_n){var bn=ot(La),da=re(bn),ro=bn.clientWidth;(Eo&&dr-da>ro/2||!Eo&&dr-da<ro/2)&&(Nr-=.5)}return Nr},so=function(La){ha(La),Nn==null||Nn(La)},zr=ie.useState(!1),Jr=(0,Ze.Z)(zr,2),co=Jr[0],Xr=Jr[1],bo=function(){Xr(!0),ia==null||ia()},kr=function(){Xr(!1),et==null||et()},Sa=ie.useState(null),ja=(0,Ze.Z)(Sa,2),_a=ja[0],za=ja[1],Ar=function(La,dr){var Eo=Dr(dr,La.pageX);Eo!==gr&&(za(Eo),Qa(null)),vn==null||vn(Eo)},er=function(La){Be||(za(null),Qa(null),vn==null||vn(void 0)),La&&(Pa==null||Pa(La))},Wa=function(La,dr){var Eo=Dr(dr,La.pageX),Nr=!1;ln&&(Nr=Eo===va),er(),so(Nr?0:Eo),Qa(Nr?Eo:null)},kt=function(La){var dr=La.keyCode,Eo=vt==="rtl",Nr=va;dr===ue.Z.RIGHT&&Nr<Kn&&!Eo?(_n?Nr+=.5:Nr+=1,so(Nr),La.preventDefault()):dr===ue.Z.LEFT&&Nr>0&&!Eo||dr===ue.Z.RIGHT&&Nr>0&&Eo?(_n?Nr-=.5:Nr-=1,so(Nr),La.preventDefault()):dr===ue.Z.LEFT&&Nr<Kn&&Eo&&(_n?Nr+=.5:Nr+=1,so(Nr),La.preventDefault()),Ot==null||Ot(La)};ie.useEffect(function(){ta&&!Be&&Rt()},[]);var sn=new Array(Kn).fill(0).map(function($n,La){return ie.createElement(b,{ref:Tt(La),index:La,count:Kn,disabled:Be,prefixCls:"".concat(mt,"-star"),allowHalf:_n,value:_a===null?va:_a,onClick:Wa,onHover:Ar,key:$n||La,character:cn,characterRender:We,focused:co})}),Yt=Me()(mt,ht,(Vn={},(0,ze.Z)(Vn,"".concat(mt,"-disabled"),Be),(0,ze.Z)(Vn,"".concat(mt,"-rtl"),vt==="rtl"),Vn));return ie.createElement("ul",(0,x.Z)({className:Yt,onMouseLeave:er,tabIndex:Be?-1:dn,onFocus:Be?null:bo,onBlur:Be?null:kr,onKeyDown:Be?null:kt,ref:nn,role:"radiogroup"},(0,y.Z)(An,{aria:!0,data:!0,attr:!0})),sn)}var pe=ie.forwardRef(ce),Pe=pe,He=z(53124),ke=z(83062),Oe=z(14747),he=z(67968),Ke=z(45503);const Ue=St=>{const{componentCls:jt}=St;return{[`${jt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:St.marginXS},"> div":{transition:`all ${St.motionDurationMid}, outline 0s`,"&:hover":{transform:St.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${St.lineWidth}px dashed ${St.starColor}`,transform:St.starHoverScale}},"&-first, &-second":{color:St.starBg,transition:`all ${St.motionDurationMid}`,userSelect:"none",[St.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${jt}-star-first, &-half ${jt}-star-second`]:{opacity:1},[`&-half ${jt}-star-first, &-full ${jt}-star-second`]:{color:"inherit"}}}},$e=St=>({[`&-rtl${St.componentCls}`]:{direction:"rtl"}}),Fe=St=>{const{componentCls:jt}=St;return{[jt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Oe.Wf)(St)),{display:"inline-block",margin:0,padding:0,color:St.starColor,fontSize:St.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${jt} ${jt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ue(St)),{[`+ ${jt}-text`]:{display:"inline-block",marginInlineStart:St.marginXS,fontSize:St.fontSize}}),$e(St))}};var at=(0,he.Z)("Rate",St=>{const jt=(0,Ke.TS)(St,{});return[Fe(jt)]},St=>({starColor:St.yellow6,starSize:St.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:St.colorFillContent})),lt=function(St,jt){var Vn={};for(var fa in St)Object.prototype.hasOwnProperty.call(St,fa)&&jt.indexOf(fa)<0&&(Vn[fa]=St[fa]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,fa=Object.getOwnPropertySymbols(St);mt<fa.length;mt++)jt.indexOf(fa[mt])<0&&Object.prototype.propertyIsEnumerable.call(St,fa[mt])&&(Vn[fa[mt]]=St[fa[mt]]);return Vn},ut=ie.forwardRef((St,jt)=>{const{prefixCls:Vn,className:fa,rootClassName:mt,style:ht,tooltips:mn,character:oa=ie.createElement(se,null)}=St,Sn=lt(St,["prefixCls","className","rootClassName","style","tooltips","character"]),Kn=(Be,Je)=>{let{index:vt}=Je;return mn?ie.createElement(ke.Z,{title:mn[vt]},Be):Be},{getPrefixCls:Ye,direction:_n,rate:ca}=ie.useContext(He.E_),ln=Ye("rate",Vn),[At,cn]=at(ln),We=Object.assign(Object.assign({},ca==null?void 0:ca.style),ht);return At(ie.createElement(Pe,Object.assign({ref:jt,character:oa,characterRender:Kn},Sn,{className:Me()(fa,mt,cn,ca==null?void 0:ca.className),style:We,prefixCls:ln,direction:_n})))})},46303:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return cn}});var x=z(94184),ie=z.n(x),Ce=z(67294),Re=z(53124),ye=z(10366),se=We=>{const{prefixCls:Be,className:Je,style:vt,size:Vt,shape:dn}=We,ta=ie()({[`${Be}-lg`]:Vt==="large",[`${Be}-sm`]:Vt==="small"}),vn=ie()({[`${Be}-circle`]:dn==="circle",[`${Be}-square`]:dn==="square",[`${Be}-round`]:dn==="round"}),Nn=Ce.useMemo(()=>typeof Vt=="number"?{width:Vt,height:Vt,lineHeight:`${Vt}px`}:{},[Vt]);return Ce.createElement("span",{className:ie()(Be,ta,vn,Je),style:Object.assign(Object.assign({},Nn),vt)})},nt=z(45930),Me=z(67968),ze=z(45503);const Ze=new nt.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),de=We=>({height:We,lineHeight:`${We}px`}),_e=We=>Object.assign({width:We},de(We)),ue=We=>({background:We.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ze,animationDuration:We.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=We=>Object.assign({width:We*5,minWidth:We*5},de(We)),a=We=>{const{skeletonAvatarCls:Be,gradientFromColor:Je,controlHeight:vt,controlHeightLG:Vt,controlHeightSM:dn}=We;return{[`${Be}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Je},_e(vt)),[`${Be}${Be}-circle`]:{borderRadius:"50%"},[`${Be}${Be}-lg`]:Object.assign({},_e(Vt)),[`${Be}${Be}-sm`]:Object.assign({},_e(dn))}},b=We=>{const{controlHeight:Be,borderRadiusSM:Je,skeletonInputCls:vt,controlHeightLG:Vt,controlHeightSM:dn,gradientFromColor:ta}=We;return{[`${vt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ta,borderRadius:Je},y(Be)),[`${vt}-lg`]:Object.assign({},y(Vt)),[`${vt}-sm`]:Object.assign({},y(dn))}},E=We=>Object.assign({width:We},de(We)),ee=We=>{const{skeletonImageCls:Be,imageSizeBase:Je,gradientFromColor:vt,borderRadiusSM:Vt}=We;return{[`${Be}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:vt,borderRadius:Vt},E(Je*2)),{[`${Be}-path`]:{fill:"#bfbfbf"},[`${Be}-svg`]:Object.assign(Object.assign({},E(Je)),{maxWidth:Je*4,maxHeight:Je*4}),[`${Be}-svg${Be}-svg-circle`]:{borderRadius:"50%"}}),[`${Be}${Be}-circle`]:{borderRadius:"50%"}}},te=(We,Be,Je)=>{const{skeletonButtonCls:vt}=We;return{[`${Je}${vt}-circle`]:{width:Be,minWidth:Be,borderRadius:"50%"},[`${Je}${vt}-round`]:{borderRadius:Be}}},re=We=>Object.assign({width:We*2,minWidth:We*2},de(We)),oe=We=>{const{borderRadiusSM:Be,skeletonButtonCls:Je,controlHeight:vt,controlHeightLG:Vt,controlHeightSM:dn,gradientFromColor:ta}=We;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ta,borderRadius:Be,width:vt*2,minWidth:vt*2},re(vt))},te(We,vt,Je)),{[`${Je}-lg`]:Object.assign({},re(Vt))}),te(We,Vt,`${Je}-lg`)),{[`${Je}-sm`]:Object.assign({},re(dn))}),te(We,dn,`${Je}-sm`))},ce=We=>{const{componentCls:Be,skeletonAvatarCls:Je,skeletonTitleCls:vt,skeletonParagraphCls:Vt,skeletonButtonCls:dn,skeletonInputCls:ta,skeletonImageCls:vn,controlHeight:Nn,controlHeightLG:ia,controlHeightSM:et,gradientFromColor:Ot,padding:Pa,marginSM:An,borderRadius:Ft,titleHeight:ya,blockRadius:ot,paragraphLiHeight:Tt,controlHeightXS:nn,paragraphMarginTop:Rt}=We;return{[`${Be}`]:{display:"table",width:"100%",[`${Be}-header`]:{display:"table-cell",paddingInlineEnd:Pa,verticalAlign:"top",[`${Je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ot},_e(Nn)),[`${Je}-circle`]:{borderRadius:"50%"},[`${Je}-lg`]:Object.assign({},_e(ia)),[`${Je}-sm`]:Object.assign({},_e(et))},[`${Be}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${vt}`]:{width:"100%",height:ya,background:Ot,borderRadius:ot,[`+ ${Vt}`]:{marginBlockStart:et}},[`${Vt}`]:{padding:0,"> li":{width:"100%",height:Tt,listStyle:"none",background:Ot,borderRadius:ot,"+ li":{marginBlockStart:nn}}},[`${Vt}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Be}-content`]:{[`${vt}, ${Vt} > li`]:{borderRadius:Ft}}},[`${Be}-with-avatar ${Be}-content`]:{[`${vt}`]:{marginBlockStart:An,[`+ ${Vt}`]:{marginBlockStart:Rt}}},[`${Be}${Be}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},oe(We)),a(We)),b(We)),ee(We)),[`${Be}${Be}-block`]:{width:"100%",[`${dn}`]:{width:"100%"},[`${ta}`]:{width:"100%"}},[`${Be}${Be}-active`]:{[`
${vt},
${Vt} > li,
${Je},
${dn},
${ta},
${vn}
`]:Object.assign({},ue(We))}}};var pe=(0,Me.Z)("Skeleton",We=>{const{componentCls:Be}=We,Je=(0,ze.TS)(We,{skeletonAvatarCls:`${Be}-avatar`,skeletonTitleCls:`${Be}-title`,skeletonParagraphCls:`${Be}-paragraph`,skeletonButtonCls:`${Be}-button`,skeletonInputCls:`${Be}-input`,skeletonImageCls:`${Be}-image`,imageSizeBase:We.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${We.gradientFromColor} 25%, ${We.gradientToColor} 37%, ${We.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ce(Je)]},We=>{const{colorFillContent:Be,colorFill:Je}=We,vt=Be,Vt=Je;return{color:vt,colorGradientEnd:Vt,gradientFromColor:vt,gradientToColor:Vt,titleHeight:We.controlHeight/2,blockRadius:We.borderRadiusSM,paragraphMarginTop:We.marginLG+We.marginXXS,paragraphLiHeight:We.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),He=We=>{const{prefixCls:Be,className:Je,rootClassName:vt,active:Vt,shape:dn="circle",size:ta="default"}=We,{getPrefixCls:vn}=Ce.useContext(Re.E_),Nn=vn("skeleton",Be),[ia,et]=pe(Nn),Ot=(0,ye.Z)(We,["prefixCls","className"]),Pa=ie()(Nn,`${Nn}-element`,{[`${Nn}-active`]:Vt},Je,vt,et);return ia(Ce.createElement("div",{className:Pa},Ce.createElement(se,Object.assign({prefixCls:`${Nn}-avatar`,shape:dn,size:ta},Ot))))},Oe=We=>{const{prefixCls:Be,className:Je,rootClassName:vt,active:Vt,block:dn=!1,size:ta="default"}=We,{getPrefixCls:vn}=Ce.useContext(Re.E_),Nn=vn("skeleton",Be),[ia,et]=pe(Nn),Ot=(0,ye.Z)(We,["prefixCls"]),Pa=ie()(Nn,`${Nn}-element`,{[`${Nn}-active`]:Vt,[`${Nn}-block`]:dn},Je,vt,et);return ia(Ce.createElement("div",{className:Pa},Ce.createElement(se,Object.assign({prefixCls:`${Nn}-button`,size:ta},Ot))))};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 Ue=We=>{const{prefixCls:Be,className:Je,rootClassName:vt,style:Vt,active:dn}=We,{getPrefixCls:ta}=Ce.useContext(Re.E_),vn=ta("skeleton",Be),[Nn,ia]=pe(vn),et=ie()(vn,`${vn}-element`,{[`${vn}-active`]:dn},Je,vt,ia);return Nn(Ce.createElement("div",{className:et},Ce.createElement("div",{className:ie()(`${vn}-image`,Je),style:Vt},Ce.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${vn}-image-svg`},Ce.createElement("path",{d:he,className:`${vn}-image-path`})))))},Fe=We=>{const{prefixCls:Be,className:Je,rootClassName:vt,active:Vt,block:dn,size:ta="default"}=We,{getPrefixCls:vn}=Ce.useContext(Re.E_),Nn=vn("skeleton",Be),[ia,et]=pe(Nn),Ot=(0,ye.Z)(We,["prefixCls"]),Pa=ie()(Nn,`${Nn}-element`,{[`${Nn}-active`]:Vt,[`${Nn}-block`]:dn},Je,vt,et);return ia(Ce.createElement("div",{className:Pa},Ce.createElement(se,Object.assign({prefixCls:`${Nn}-input`,size:ta},Ot))))},at=z(87462),lt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},ft=lt,ut=z(74643),St=function(Be,Je){return Ce.createElement(ut.Z,(0,at.Z)({},Be,{ref:Je,icon:ft}))},jt=Ce.forwardRef(St),fa=We=>{const{prefixCls:Be,className:Je,rootClassName:vt,style:Vt,active:dn,children:ta}=We,{getPrefixCls:vn}=Ce.useContext(Re.E_),Nn=vn("skeleton",Be),[ia,et]=pe(Nn),Ot=ie()(Nn,`${Nn}-element`,{[`${Nn}-active`]:dn},et,Je,vt),Pa=ta!=null?ta:Ce.createElement(jt,null);return ia(Ce.createElement("div",{className:Ot},Ce.createElement("div",{className:ie()(`${Nn}-image`,Je),style:Vt},Pa)))},mt=z(74902),mn=We=>{const Be=vn=>{const{width:Nn,rows:ia=2}=We;if(Array.isArray(Nn))return Nn[vn];if(ia-1===vn)return Nn},{prefixCls:Je,className:vt,style:Vt,rows:dn}=We,ta=(0,mt.Z)(Array(dn)).map((vn,Nn)=>Ce.createElement("li",{key:Nn,style:{width:Be(Nn)}}));return Ce.createElement("ul",{className:ie()(Je,vt),style:Vt},ta)},Sn=We=>{let{prefixCls:Be,className:Je,width:vt,style:Vt}=We;return Ce.createElement("h3",{className:ie()(Be,Je),style:Object.assign({width:vt},Vt)})};function Kn(We){return We&&typeof We=="object"?We:{}}function Ye(We,Be){return We&&!Be?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function _n(We,Be){return!We&&Be?{width:"38%"}:We&&Be?{width:"50%"}:{}}function ca(We,Be){const Je={};return(!We||!Be)&&(Je.width="61%"),!We&&Be?Je.rows=3:Je.rows=2,Je}const ln=We=>{const{prefixCls:Be,loading:Je,className:vt,rootClassName:Vt,style:dn,children:ta,avatar:vn=!1,title:Nn=!0,paragraph:ia=!0,active:et,round:Ot}=We,{getPrefixCls:Pa,direction:An,skeleton:Ft}=Ce.useContext(Re.E_),ya=Pa("skeleton",Be),[ot,Tt]=pe(ya);if(Je||!("loading"in We)){const nn=!!vn,Rt=!!Nn,Lt=!!ia;let na;if(nn){const ba=Object.assign(Object.assign({prefixCls:`${ya}-avatar`},Ye(Rt,Lt)),Kn(vn));na=Ce.createElement("div",{className:`${ya}-header`},Ce.createElement(se,Object.assign({},ba)))}let va;if(Rt||Lt){let ba;if(Rt){const gr=Object.assign(Object.assign({prefixCls:`${ya}-title`},_n(nn,Lt)),Kn(Nn));ba=Ce.createElement(Sn,Object.assign({},gr))}let lr;if(Lt){const gr=Object.assign(Object.assign({prefixCls:`${ya}-paragraph`},ca(nn,Rt)),Kn(ia));lr=Ce.createElement(mn,Object.assign({},gr))}va=Ce.createElement("div",{className:`${ya}-content`},ba,lr)}const ha=ie()(ya,{[`${ya}-with-avatar`]:nn,[`${ya}-active`]:et,[`${ya}-rtl`]:An==="rtl",[`${ya}-round`]:Ot},Ft==null?void 0:Ft.className,vt,Vt,Tt);return ot(Ce.createElement("div",{className:ha,style:Object.assign(Object.assign({},Ft==null?void 0:Ft.style),dn)},na,va))}return typeof ta!="undefined"?ta:null};ln.Button=Oe,ln.Avatar=He,ln.Input=Fe,ln.Image=Ue,ln.Node=fa;var At=ln,cn=At},55054:function(Jt,zt,z){"use strict";z.d(zt,{default:function(){return pe}});var x=z(67294),ie=z(57838),Ce=z(96159),Re=z(94184),ye=z.n(Re),Te=z(53124),se=z(46303),Me=Pe=>{const{value:He,formatter:ke,precision:Oe,decimalSeparator:he,groupSeparator:Ke="",prefixCls:Ue}=Pe;let $e;if(typeof ke=="function")$e=ke(He);else{const Fe=String(He),at=Fe.match(/^(-?)(\d*)(\.(\d+))?$/);if(!at||Fe==="-")$e=Fe;else{const lt=at[1];let ft=at[2]||"0",ut=at[4]||"";ft=ft.replace(/\B(?=(\d{3})+(?!\d))/g,Ke),typeof Oe=="number"&&(ut=ut.padEnd(Oe,"0").slice(0,Oe>0?Oe:0)),ut&&(ut=`${he}${ut}`),$e=[x.createElement("span",{key:"int",className:`${Ue}-content-value-int`},lt,ft),ut&&x.createElement("span",{key:"decimal",className:`${Ue}-content-value-decimal`},ut)]}}return x.createElement("span",{className:`${Ue}-content-value`},$e)},ze=z(14747),Ze=z(67968),de=z(45503);const _e=Pe=>{const{componentCls:He,marginXXS:ke,padding:Oe,colorTextDescription:he,titleFontSize:Ke,colorTextHeading:Ue,contentFontSize:$e,fontFamily:Fe}=Pe;return{[`${He}`]:Object.assign(Object.assign({},(0,ze.Wf)(Pe)),{[`${He}-title`]:{marginBottom:ke,color:he,fontSize:Ke},[`${He}-skeleton`]:{paddingTop:Oe},[`${He}-content`]:{color:Ue,fontSize:$e,fontFamily:Fe,[`${He}-content-value`]:{display:"inline-block",direction:"ltr"},[`${He}-content-prefix, ${He}-content-suffix`]:{display:"inline-block"},[`${He}-content-prefix`]:{marginInlineEnd:ke},[`${He}-content-suffix`]:{marginInlineStart:ke}}})}};var ue=(0,Ze.Z)("Statistic",Pe=>{const He=(0,de.TS)(Pe,{});return[_e(He)]},Pe=>{const{fontSizeHeading3:He,fontSize:ke}=Pe;return{titleFontSize:ke,contentFontSize:He}}),a=Pe=>{const{prefixCls:He,className:ke,rootClassName:Oe,style:he,valueStyle:Ke,value:Ue=0,title:$e,valueRender:Fe,prefix:at,suffix:lt,loading:ft=!1,onMouseEnter:ut,onMouseLeave:St,decimalSeparator:jt=".",groupSeparator:Vn=","}=Pe,{getPrefixCls:fa,direction:mt,statistic:ht}=x.useContext(Te.E_),mn=fa("statistic",He),[oa,Sn]=ue(mn),Kn=x.createElement(Me,Object.assign({decimalSeparator:jt,groupSeparator:Vn,prefixCls:mn},Pe,{value:Ue})),Ye=ye()(mn,{[`${mn}-rtl`]:mt==="rtl"},ht==null?void 0:ht.className,ke,Oe,Sn);return oa(x.createElement("div",{className:Ye,style:Object.assign(Object.assign({},ht==null?void 0:ht.style),he),onMouseEnter:ut,onMouseLeave:St},$e&&x.createElement("div",{className:`${mn}-title`},$e),x.createElement(se.Z,{paragraph:!1,loading:ft,className:`${mn}-skeleton`},x.createElement("div",{style:Ke,className:`${mn}-content`},at&&x.createElement("span",{className:`${mn}-content-prefix`},at),Fe?Fe(Kn):Kn,lt&&x.createElement("span",{className:`${mn}-content-suffix`},lt)))))};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(Pe,He){let ke=Pe;const Oe=/\[[^\]]*]/g,he=(He.match(Oe)||[]).map(Fe=>Fe.slice(1,-1)),Ke=He.replace(Oe,"[]"),Ue=b.reduce((Fe,at)=>{let[lt,ft]=at;if(Fe.includes(lt)){const ut=Math.floor(ke/ft);return ke-=ut*ft,Fe.replace(new RegExp(`${lt}+`,"g"),St=>{const jt=St.length;return ut.toString().padStart(jt,"0")})}return Fe},Ke);let $e=0;return Ue.replace(Oe,()=>{const Fe=he[$e];return $e+=1,Fe})}function ee(Pe,He){const{format:ke=""}=He,Oe=new Date(Pe).getTime(),he=Date.now(),Ke=Math.max(Oe-he,0);return E(Ke,ke)}const te=1e3/30;function re(Pe){return new Date(Pe).getTime()}const oe=Pe=>{const{value:He,format:ke="HH:mm:ss",onChange:Oe,onFinish:he}=Pe,Ke=(0,ie.Z)(),Ue=x.useRef(null),$e=()=>{he==null||he(),Ue.current&&(clearInterval(Ue.current),Ue.current=null)},Fe=()=>{const ft=re(He);ft>=Date.now()&&(Ue.current=setInterval(()=>{Ke(),Oe==null||Oe(ft-Date.now()),ft<Date.now()&&$e()},te))};x.useEffect(()=>(Fe(),()=>{Ue.current&&(clearInterval(Ue.current),Ue.current=null)}),[He]);const at=(ft,ut)=>ee(ft,Object.assign(Object.assign({},ut),{format:ke})),lt=ft=>(0,Ce.Tm)(ft,{title:void 0});return x.createElement(a,Object.assign({},Pe,{valueRender:lt,formatter:at}))};var ce=x.memo(oe);a.Countdown=ce;var pe=a},49867:function(Jt,zt,z){"use strict";z.d(zt,{N:function(){return x}});const x=ie=>({color:ie.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ie.motionDurationSlow}`,"&:focus, &:hover":{color:ie.colorLinkHover},"&:active":{color:ie.colorLinkActive}})},9430:function(Jt,zt,z){"use strict";z.d(zt,{default:function(){return Ri}});var x={},ie="rc-table-internal-hook",Ce=z(97685),Re=z(66680),ye=z(8410),Te=z(91881),se=z(67294),nt=z(73935);function Me(ge){var ve=se.createContext(void 0),Le=function(rt){var ct=rt.value,_t=rt.children,on=se.useRef(ct);on.current=ct;var Et=se.useState(function(){return{getValue:function(){return on.current},listeners:new Set}}),bt=(0,Ce.Z)(Et,1),un=bt[0];return(0,ye.Z)(function(){(0,nt.unstable_batchedUpdates)(function(){un.listeners.forEach(function(qt){qt(ct)})})},[ct]),se.createElement(ve.Provider,{value:un},_t)};return{Context:ve,Provider:Le,defaultValue:ge}}function ze(ge,ve){var Le=(0,Re.Z)(typeof ve=="function"?ve:function(qt){if(ve===void 0)return qt;if(!Array.isArray(ve))return qt[ve];var Zn={};return ve.forEach(function(pa){Zn[pa]=qt[pa]}),Zn}),Ve=se.useContext(ge==null?void 0:ge.Context),rt=Ve||{},ct=rt.listeners,_t=rt.getValue,on=se.useRef();on.current=Le(Ve?_t():ge==null?void 0:ge.defaultValue);var Et=se.useState({}),bt=(0,Ce.Z)(Et,2),un=bt[1];return(0,ye.Z)(function(){if(!Ve)return;function qt(Zn){var pa=Le(Zn);(0,Te.Z)(on.current,pa,!0)||un({})}return ct.add(qt),function(){ct.delete(qt)}},[Ve]),on.current}var Ze=z(87462),de=z(42550);function _e(){var ge=se.createContext(null);function ve(){return se.useContext(ge)}function Le(rt,ct){var _t=(0,de.Yr)(rt),on=function(bt,un){var qt=_t?{ref:un}:{},Zn=se.useRef(0),pa=se.useRef(bt),ua=ve();return ua!==null?se.createElement(rt,(0,Ze.Z)({},bt,qt)):((!ct||ct(pa.current,bt))&&(Zn.current+=1),pa.current=bt,se.createElement(ge.Provider,{value:Zn.current},se.createElement(rt,(0,Ze.Z)({},bt,qt))))};return _t?se.forwardRef(on):on}function Ve(rt,ct){var _t=(0,de.Yr)(rt),on=function(bt,un){var qt=_t?{ref:un}:{};return ve(),se.createElement(rt,(0,Ze.Z)({},bt,qt))};return _t?se.memo(se.forwardRef(on),ct):se.memo(on,ct)}return{makeImmutable:Le,responseImmutable:Ve,useImmutableMark:ve}}var ue=_e(),y=ue.makeImmutable,a=ue.responseImmutable,b=ue.useImmutableMark,E=_e(),ee=E.makeImmutable,te=E.responseImmutable,re=E.useImmutableMark,oe=Me(),ce=oe;function pe(ge,ve){var Le=se.useRef(0);Le.current+=1;var Ve=se.useRef(ge),rt=[];Object.keys(ge||{}).map(function(_t){var on;(ge==null?void 0:ge[_t])!==((on=Ve.current)===null||on===void 0?void 0:on[_t])&&rt.push(_t)}),Ve.current=ge;var ct=se.useRef([]);return rt.length&&(ct.current=rt),se.useDebugValue(Le.current),se.useDebugValue(ct.current.join(", ")),ve&&console.log("".concat(ve,":"),Le.current,ct.current),Le.current}var Pe=null,He=se.memo(function(){var ge=pe();return se.createElement("h1",null,"Render Times: ",ge)});He.displayName="RenderBlock";var ke=z(71002),Oe=z(1413),he=z(4942),Ke=z(94184),Ue=z.n(Ke);function $e(ge,ve,Le){var Ve=se.useRef({});return(!("value"in Ve.current)||Le(Ve.current.condition,ve))&&(Ve.current.value=ge(),Ve.current.condition=ve),Ve.current.value}var Fe={},at=[],lt=function(ve){at.push(ve)};function ft(ge,ve){if(0)var Le}function ut(ge,ve){if(0)var Le}function St(){Fe={}}function jt(ge,ve,Le){!ve&&!Fe[Le]&&(ge(!1,Le),Fe[Le]=!0)}function Vn(ge,ve){jt(ft,ge,ve)}function fa(ge,ve){jt(ut,ge,ve)}Vn.preMessage=lt,Vn.resetWarned=St,Vn.noteOnce=fa;var mt=Vn;function ht(ge,ve){var Le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ve=new Set;function rt(ct,_t){var on=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Et=Ve.has(ct);if(mt(!Et,"Warning: There may be circular references"),Et)return!1;if(ct===_t)return!0;if(Le&&on>1)return!1;Ve.add(ct);var bt=on+1;if(Array.isArray(ct)){if(!Array.isArray(_t)||ct.length!==_t.length)return!1;for(var un=0;un<ct.length;un++)if(!rt(ct[un],_t[un],bt))return!1;return!0}if(ct&&_t&&(0,ke.Z)(ct)==="object"&&(0,ke.Z)(_t)==="object"){var qt=Object.keys(ct);return qt.length!==Object.keys(_t).length?!1:qt.every(function(Zn){return rt(ct[Zn],_t[Zn],bt)})}return!1}return rt(ge,ve)}var mn=ht;function oa(ge,ve){for(var Le=ge,Ve=0;Ve<ve.length;Ve+=1){if(Le==null)return;Le=Le[ve[Ve]]}return Le}var Sn=se.createContext({renderWithProps:!1}),Kn=Sn,Ye="RC_TABLE_KEY";function _n(ge){return ge==null?[]:Array.isArray(ge)?ge:[ge]}function ca(ge){var ve=[],Le={};return ge.forEach(function(Ve){for(var rt=Ve||{},ct=rt.key,_t=rt.dataIndex,on=ct||_n(_t).join("-")||Ye;Le[on];)on="".concat(on,"_next");Le[on]=!0,ve.push(on)}),ve}function ln(ge){return ge!=null}function At(ge){return ge&&(0,ke.Z)(ge)==="object"&&!Array.isArray(ge)&&!se.isValidElement(ge)}function cn(ge,ve,Le,Ve,rt,ct){var _t=se.useContext(Kn),on=re(),Et=$e(function(){if(ln(Ve))return[Ve];var bt=ve==null||ve===""?[]:Array.isArray(ve)?ve:[ve],un=oa(ge,bt),qt=un,Zn=void 0;if(rt){var pa=rt(un,ge,Le);At(pa)?(qt=pa.children,Zn=pa.props,_t.renderWithProps=!0):qt=pa}return[qt,Zn]},[on,ge,Ve,ve,rt,Le],function(bt,un){if(ct){var qt=(0,Ce.Z)(bt,2),Zn=qt[1],pa=(0,Ce.Z)(un,2),ua=pa[1];return ct(ua,Zn)}return _t.renderWithProps?!0:!mn(bt,un,!0)});return Et}function We(ge,ve,Le,Ve){var rt=ge+ve-1;return ge<=Ve&&rt>=Le}function Be(ge,ve){return ze(ce,function(Le){var Ve=We(ge,ve||1,Le.hoverStartRow,Le.hoverEndRow);return[Ve,Le.onHover]})}var Je=function(ve){var Le=ve.ellipsis,Ve=ve.rowType,rt=ve.children,ct,_t=Le===!0?{showTitle:!0}:Le;return _t&&(_t.showTitle||Ve==="header")&&(typeof rt=="string"||typeof rt=="number"?ct=rt.toString():se.isValidElement(rt)&&typeof rt.props.children=="string"&&(ct=rt.props.children)),ct};function vt(ge){var ve,Le,Ve,rt,ct,_t,on,Et,bt=ge.component,un=ge.children,qt=ge.ellipsis,Zn=ge.scope,pa=ge.prefixCls,ua=ge.className,vr=ge.align,nr=ge.record,Pr=ge.render,hn=ge.dataIndex,ma=ge.renderIndex,Fa=ge.shouldCellUpdate,Aa=ge.index,Ia=ge.rowType,or=ge.colSpan,$r=ge.rowSpan,cr=ge.fixLeft,Ba=ge.fixRight,Na=ge.firstFixLeft,$a=ge.lastFixLeft,fr=ge.firstFixRight,to=ge.lastFixRight,ko=ge.appendNode,Co=ge.additionalProps,Bo=Co===void 0?{}:Co,Jo=ge.isSticky,$o="".concat(pa,"-cell"),mi=ze(ce,["supportSticky","allColumnsFixedLeft"]),xi=mi.supportSticky,qi=mi.allColumnsFixedLeft,Ji=cn(nr,hn,ma,un,Pr,Fa),gi=(0,Ce.Z)(Ji,2),tl=gi[0],wi=gi[1],Ui={},Wo=typeof cr=="number"&&xi,ui=typeof Ba=="number"&&xi;Wo&&(Ui.position="sticky",Ui.left=cr),ui&&(Ui.position="sticky",Ui.right=Ba);var Do=(ve=(Le=(Ve=wi==null?void 0:wi.colSpan)!==null&&Ve!==void 0?Ve:Bo.colSpan)!==null&&Le!==void 0?Le:or)!==null&&ve!==void 0?ve:1,No=(rt=(ct=(_t=wi==null?void 0:wi.rowSpan)!==null&&_t!==void 0?_t:Bo.rowSpan)!==null&&ct!==void 0?ct:$r)!==null&&rt!==void 0?rt:1,xo=Be(Aa,No),Fo=(0,Ce.Z)(xo,2),bi=Fo[0],Oo=Fo[1],ri=function(ml){var Kl;nr&&Oo(Aa,Aa+No-1),Bo==null||(Kl=Bo.onMouseEnter)===null||Kl===void 0||Kl.call(Bo,ml)},Ci=function(ml){var Kl;nr&&Oo(-1,-1),Bo==null||(Kl=Bo.onMouseLeave)===null||Kl===void 0||Kl.call(Bo,ml)};if(Do===0||No===0)return null;var Si=(on=Bo.title)!==null&&on!==void 0?on:Je({rowType:Ia,ellipsis:qt,children:tl}),bl=Ue()($o,ua,(Et={},(0,he.Z)(Et,"".concat($o,"-fix-left"),Wo&&xi),(0,he.Z)(Et,"".concat($o,"-fix-left-first"),Na&&xi),(0,he.Z)(Et,"".concat($o,"-fix-left-last"),$a&&xi),(0,he.Z)(Et,"".concat($o,"-fix-left-all"),$a&&qi&&xi),(0,he.Z)(Et,"".concat($o,"-fix-right"),ui&&xi),(0,he.Z)(Et,"".concat($o,"-fix-right-first"),fr&&xi),(0,he.Z)(Et,"".concat($o,"-fix-right-last"),to&&xi),(0,he.Z)(Et,"".concat($o,"-ellipsis"),qt),(0,he.Z)(Et,"".concat($o,"-with-append"),ko),(0,he.Z)(Et,"".concat($o,"-fix-sticky"),(Wo||ui)&&Jo&&xi),(0,he.Z)(Et,"".concat($o,"-row-hover"),!wi&&bi),Et),Bo.className,wi==null?void 0:wi.className),Fl={};vr&&(Fl.textAlign=vr);var es=(0,Oe.Z)((0,Oe.Z)((0,Oe.Z)((0,Oe.Z)({},Ui),Bo.style),Fl),wi==null?void 0:wi.style),fl=tl;return(0,ke.Z)(fl)==="object"&&!Array.isArray(fl)&&!se.isValidElement(fl)&&(fl=null),qt&&($a||fr)&&(fl=se.createElement("span",{className:"".concat($o,"-content")},fl)),se.createElement(bt,(0,Ze.Z)({},wi,Bo,{className:bl,style:es,title:Si,scope:Zn,onMouseEnter:ri,onMouseLeave:Ci,colSpan:Do!==1?Do:null,rowSpan:No!==1?No:null}),ko,fl)}var Vt=se.memo(vt);function dn(ge,ve,Le,Ve,rt,ct){var _t=Le[ge]||{},on=Le[ve]||{},Et,bt;_t.fixed==="left"?Et=Ve.left[rt==="rtl"?ve:ge]:on.fixed==="right"&&(bt=Ve.right[rt==="rtl"?ge:ve]);var un=!1,qt=!1,Zn=!1,pa=!1,ua=Le[ve+1],vr=Le[ge-1],nr=!(ct!=null&&ct.children);if(rt==="rtl"){if(Et!==void 0){var Pr=vr&&vr.fixed==="left";pa=!Pr&&nr}else if(bt!==void 0){var hn=ua&&ua.fixed==="right";Zn=!hn&&nr}}else if(Et!==void 0){var ma=ua&&ua.fixed==="left";un=!ma&&nr}else if(bt!==void 0){var Fa=vr&&vr.fixed==="right";qt=!Fa&&nr}return{fixLeft:Et,fixRight:bt,lastFixLeft:un,firstFixRight:qt,lastFixRight:Zn,firstFixLeft:pa,isSticky:Ve.isSticky}}var ta=se.createContext({}),vn=ta;function Nn(ge){var ve=ge.className,Le=ge.index,Ve=ge.children,rt=ge.colSpan,ct=rt===void 0?1:rt,_t=ge.rowSpan,on=ge.align,Et=ze(ce,["prefixCls","direction"]),bt=Et.prefixCls,un=Et.direction,qt=se.useContext(vn),Zn=qt.scrollColumnIndex,pa=qt.stickyOffsets,ua=qt.flattenColumns,vr=qt.columns,nr=Le+ct-1,Pr=nr+1===Zn?ct+1:ct,hn=dn(Le,Le+Pr-1,ua,pa,un,vr==null?void 0:vr[Le]);return se.createElement(Vt,(0,Ze.Z)({className:ve,index:Le,component:"td",prefixCls:bt,record:null,dataIndex:null,align:on,colSpan:Pr,rowSpan:_t,render:function(){return Ve}},hn))}var ia=z(45987),et=["children"];function Ot(ge){var ve=ge.children,Le=(0,ia.Z)(ge,et);return se.createElement("tr",Le,ve)}function Pa(ge){var ve=ge.children;return ve}Pa.Row=Ot,Pa.Cell=Nn;var An=Pa;function Ft(ge){var ve=ge.children,Le=ge.stickyOffsets,Ve=ge.flattenColumns,rt=ge.columns,ct=ze(ce,"prefixCls"),_t=Ve.length-1,on=Ve[_t],Et=se.useMemo(function(){return{stickyOffsets:Le,flattenColumns:Ve,scrollColumnIndex:on!=null&&on.scrollbar?_t:null,columns:rt}},[on,Ve,_t,Le,rt]);return se.createElement(vn.Provider,{value:Et},se.createElement("tfoot",{className:"".concat(ct,"-summary")},ve))}var ya=te(Ft),ot=An;function Tt(ge){var ve=se.useRef();ve.current=ge;var Le=se.useCallback(function(){for(var Ve,rt=arguments.length,ct=new Array(rt),_t=0;_t<rt;_t++)ct[_t]=arguments[_t];return(Ve=ve.current)===null||Ve===void 0?void 0:Ve.call.apply(Ve,[ve].concat(ct))},[]);return Le}function nn(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Rt=nn()?se.useLayoutEffect:se.useEffect,Lt=function(ve,Le){var Ve=React.useRef(!0);Rt(function(){return ve(Ve.current)},Le),Rt(function(){return Ve.current=!1,function(){Ve.current=!0}},[])},na=function(ve,Le){Lt(function(Ve){if(!Ve)return ve()},Le)},va=null;function ha(ge){var ve=React.useRef(!1),Le=React.useState(ge),Ve=_slicedToArray(Le,2),rt=Ve[0],ct=Ve[1];React.useEffect(function(){return ve.current=!1,function(){ve.current=!0}},[]);function _t(on,Et){Et&&ve.current||ct(on)}return[rt,_t]}function ba(ge){return ge!==void 0}function lr(ge,ve){var Le=ve||{},Ve=Le.defaultValue,rt=Le.value,ct=Le.onChange,_t=Le.postState,on=useState(function(){return ba(rt)?rt:ba(Ve)?typeof Ve=="function"?Ve():Ve:typeof ge=="function"?ge():ge}),Et=_slicedToArray(on,2),bt=Et[0],un=Et[1],qt=rt!==void 0?rt:bt,Zn=_t?_t(qt):qt,pa=useEvent(ct),ua=useState([qt]),vr=_slicedToArray(ua,2),nr=vr[0],Pr=vr[1];useLayoutUpdateEffect(function(){var ma=nr[0];bt!==ma&&pa(bt,ma)},[nr]),useLayoutUpdateEffect(function(){ba(rt)||un(rt)},[rt]);var hn=useEvent(function(ma,Fa){un(ma,Fa),Pr([qt],Fa)});return[Zn,hn]}var gr=z(35110);function Qa(ge,ve){typeof ge=="function"?ge(ve):(0,ke.Z)(ge)==="object"&&ge&&"current"in ge&&(ge.current=ve)}function Dr(){for(var ge=arguments.length,ve=new Array(ge),Le=0;Le<ge;Le++)ve[Le]=arguments[Le];var Ve=ve.filter(function(rt){return rt});return Ve.length<=1?Ve[0]:function(rt){ve.forEach(function(ct){Qa(ct,rt)})}}function so(){for(var ge=arguments.length,ve=new Array(ge),Le=0;Le<ge;Le++)ve[Le]=arguments[Le];return useMemo(function(){return Dr.apply(void 0,ve)},ve,function(Ve,rt){return Ve.length!==rt.length||Ve.every(function(ct,_t){return ct!==rt[_t]})})}function zr(ge){var ve,Le,Ve=isMemo(ge)?ge.type.type:ge.type;return!(typeof Ve=="function"&&!((ve=Ve.prototype)!==null&&ve!==void 0&&ve.render)||typeof ge=="function"&&!((Le=ge.prototype)!==null&&Le!==void 0&&Le.render))}function Jr(ge){return!isValidElement(ge)||isFragment(ge)?!1:zr(ge)}function co(ge,ve,Le,Ve){if(!ve.length)return Le;var rt=_toArray(ve),ct=rt[0],_t=rt.slice(1),on;return!ge&&typeof ct=="number"?on=[]:Array.isArray(ge)?on=_toConsumableArray(ge):on=_objectSpread({},ge),Ve&&Le===void 0&&_t.length===1?delete on[ct][_t[0]]:on[ct]=co(on[ct],_t,Le,Ve),on}function Xr(ge,ve,Le){var Ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return ve.length&&Ve&&Le===void 0&&!get(ge,ve.slice(0,-1))?ge:co(ge,ve,Le,Ve)}function bo(ge){return _typeof(ge)==="object"&&ge!==null&&Object.getPrototypeOf(ge)===Object.prototype}function kr(ge){return Array.isArray(ge)?[]:{}}var Sa=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function ja(){for(var ge=arguments.length,ve=new Array(ge),Le=0;Le<ge;Le++)ve[Le]=arguments[Le];var Ve=kr(ve[0]);return ve.forEach(function(rt){function ct(_t,on){var Et=new Set(on),bt=get(rt,_t),un=Array.isArray(bt);if(un||bo(bt)){if(!Et.has(bt)){Et.add(bt);var qt=get(Ve,_t);un?Ve=Xr(Ve,_t,[]):(!qt||_typeof(qt)!=="object")&&(Ve=Xr(Ve,_t,kr(bt))),Sa(bt).forEach(function(Zn){ct([].concat(_toConsumableArray(_t),[Zn]),Et)})}}else Ve=Xr(Ve,_t,bt)}ct([])}),Ve}var _a=z(48555),za=function(ge){if(!ge)return!1;if(ge instanceof Element){if(ge.offsetParent)return!0;if(ge.getBBox){var ve=ge.getBBox(),Le=ve.width,Ve=ve.height;if(Le||Ve)return!0}if(ge.getBoundingClientRect){var rt=ge.getBoundingClientRect(),ct=rt.width,_t=rt.height;if(ct||_t)return!0}}return!1},Ar=function(ve){if(nn()&&window.document.documentElement){var Le=Array.isArray(ve)?ve:[ve],Ve=window.document.documentElement;return Le.some(function(rt){return rt in Ve.style})}return!1},er=function(ve,Le){if(!Ar(ve))return!1;var Ve=document.createElement("div"),rt=Ve.style[ve];return Ve.style[ve]=Le,Ve.style[ve]!==rt};function Wa(ge,ve){return!Array.isArray(ge)&&ve!==void 0?er(ge,ve):Ar(ge)}var kt;function sn(ge){if(typeof document=="undefined")return 0;if(ge||kt===void 0){var ve=document.createElement("div");ve.style.width="100%",ve.style.height="200px";var Le=document.createElement("div"),Ve=Le.style;Ve.position="absolute",Ve.top="0",Ve.left="0",Ve.pointerEvents="none",Ve.visibility="hidden",Ve.width="200px",Ve.height="150px",Ve.overflow="hidden",Le.appendChild(ve),document.body.appendChild(Le);var rt=ve.offsetWidth;Le.style.overflow="scroll";var ct=ve.offsetWidth;rt===ct&&(ct=Le.clientWidth),document.body.removeChild(Le),kt=rt-ct}return kt}function Yt(ge){var ve=ge.match(/^(.*)px$/),Le=Number(ve==null?void 0:ve[1]);return Number.isNaN(Le)?sn():Le}function $n(ge){if(typeof document=="undefined"||!ge||!(ge instanceof Element))return{width:0,height:0};var ve=getComputedStyle(ge,"::-webkit-scrollbar"),Le=ve.width,Ve=ve.height;return{width:Yt(Le),height:Yt(Ve)}}var La=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,dr=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Eo="".concat(La," ").concat(dr).split(/[\s\n]+/),Nr="aria-",bn="data-";function da(ge,ve){return ge.indexOf(ve)===0}function ro(ge){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Le;ve===!1?Le={aria:!0,data:!0,attr:!0}:ve===!0?Le={aria:!0}:Le=(0,Oe.Z)({},ve);var Ve={};return Object.keys(ge).forEach(function(rt){(Le.aria&&(rt==="role"||da(rt,Nr))||Le.data&&da(rt,bn)||Le.attr&&Eo.includes(rt))&&(Ve[rt]=ge[rt])}),Ve}function la(ge,ve,Le,Ve,rt,ct,_t){ge.push({record:ve,indent:Le,index:_t});var on=ct(ve),Et=rt==null?void 0:rt.has(on);if(ve&&Array.isArray(ve[Ve])&&Et)for(var bt=0;bt<ve[Ve].length;bt+=1)la(ge,ve[Ve][bt],Le+1,Ve,rt,ct,bt)}function Ya(ge,ve,Le,Ve){var rt=se.useMemo(function(){if(Le!=null&&Le.size){for(var ct=[],_t=0;_t<(ge==null?void 0:ge.length);_t+=1){var on=ge[_t];la(ct,on,0,ve,Le,Ve,_t)}return ct}return ge==null?void 0:ge.map(function(Et,bt){return{record:Et,indent:0,index:bt}})},[ge,ve,Le,Ve]);return rt}function Bt(ge){var ve=ge.prefixCls,Le=ge.children,Ve=ge.component,rt=ge.cellComponent,ct=ge.className,_t=ge.expanded,on=ge.colSpan,Et=ge.isEmpty,bt=ze(ce,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),un=bt.scrollbarSize,qt=bt.fixHeader,Zn=bt.fixColumn,pa=bt.componentWidth,ua=bt.horizonScroll,vr=Le;return(Et?ua&&pa:Zn)&&(vr=se.createElement("div",{style:{width:pa-(qt?un:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ve,"-expanded-row-fixed")},vr)),se.createElement(Ve,{className:ct,style:{display:_t?null:"none"}},se.createElement(Vt,{component:rt,prefixCls:ve,colSpan:on},vr))}var Yn=Bt;function Dn(ge,ve,Le,Ve){var rt=ze(ce,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),ct=rt.flattenColumns,_t=rt.expandableType,on=rt.expandedKeys,Et=rt.childrenColumnName,bt=rt.onTriggerExpand,un=rt.rowExpandable,qt=rt.onRow,Zn=rt.expandRowByClick,pa=rt.rowClassName,ua=_t==="nest",vr=_t==="row"&&(!un||un(ge)),nr=vr||ua,Pr=on&&on.has(ve),hn=Et&&ge&&ge[Et],ma=Tt(bt),Fa=qt==null?void 0:qt(ge,Le),Aa=Fa==null?void 0:Fa.onClick,Ia=function(Ba){Zn&&nr&&bt(ge,Ba);for(var Na=arguments.length,$a=new Array(Na>1?Na-1:0),fr=1;fr<Na;fr++)$a[fr-1]=arguments[fr];Aa==null||Aa.apply(void 0,[Ba].concat($a))},or;typeof pa=="string"?or=pa:typeof pa=="function"&&(or=pa(ge,Le,Ve));var $r=ca(ct);return(0,Oe.Z)((0,Oe.Z)({},rt),{},{columnsKey:$r,nestExpandable:ua,expanded:Pr,hasNestChildren:hn,record:ge,onTriggerExpand:ma,rowSupportExpand:vr,expandable:nr,rowProps:(0,Oe.Z)((0,Oe.Z)({},Fa),{},{className:Ue()(or,Fa==null?void 0:Fa.className),onClick:Ia})})}function It(ge,ve,Le,Ve,rt){var ct=ge.record,_t=ge.prefixCls,on=ge.columnsKey,Et=ge.fixedInfoList,bt=ge.expandIconColumnIndex,un=ge.nestExpandable,qt=ge.indentSize,Zn=ge.expandIcon,pa=ge.expanded,ua=ge.hasNestChildren,vr=ge.onTriggerExpand,nr=on[Le],Pr=Et[Le],hn;Le===(bt||0)&&un&&(hn=se.createElement(se.Fragment,null,se.createElement("span",{style:{paddingLeft:"".concat(qt*Ve,"px")},className:"".concat(_t,"-row-indent indent-level-").concat(Ve)}),Zn({prefixCls:_t,expanded:pa,expandable:ua,record:ct,onExpand:vr})));var ma;return ve.onCell&&(ma=ve.onCell(ct,rt)),{key:nr,fixedInfo:Pr,appendCellNode:hn,additionalCellProps:ma||{}}}function ar(ge){var ve=ge.className,Le=ge.style,Ve=ge.record,rt=ge.index,ct=ge.renderIndex,_t=ge.rowKey,on=ge.indent,Et=on===void 0?0:on,bt=ge.rowComponent,un=ge.cellComponent,qt=ge.scopeCellComponent,Zn=Dn(Ve,_t,rt,Et),pa=Zn.prefixCls,ua=Zn.flattenColumns,vr=Zn.expandedRowClassName,nr=Zn.expandedRowRender,Pr=Zn.rowProps,hn=Zn.expanded,ma=Zn.rowSupportExpand,Fa=se.useState(!1),Aa=(0,Ce.Z)(Fa,2),Ia=Aa[0],or=Aa[1];se.useEffect(function(){hn&&or(!0)},[hn]);var $r=se.createElement(bt,(0,Ze.Z)({},Pr,{"data-row-key":_t,className:Ue()(ve,"".concat(pa,"-row"),"".concat(pa,"-row-level-").concat(Et),Pr==null?void 0:Pr.className),style:(0,Oe.Z)((0,Oe.Z)({},Le),Pr==null?void 0:Pr.style)}),ua.map(function($a,fr){var to=$a.render,ko=$a.dataIndex,Co=$a.className,Bo=It(Zn,$a,fr,Et,rt),Jo=Bo.key,$o=Bo.fixedInfo,mi=Bo.appendCellNode,xi=Bo.additionalCellProps;return se.createElement(Vt,(0,Ze.Z)({className:Co,ellipsis:$a.ellipsis,align:$a.align,scope:$a.rowScope,component:$a.rowScope?qt:un,prefixCls:pa,key:Jo,record:Ve,index:rt,renderIndex:ct,dataIndex:ko,render:to,shouldCellUpdate:$a.shouldCellUpdate},$o,{appendNode:mi,additionalProps:xi}))})),cr;if(ma&&(Ia||hn)){var Ba=nr(Ve,rt,Et+1,hn),Na=vr&&vr(Ve,rt,Et);cr=se.createElement(Yn,{expanded:hn,className:Ue()("".concat(pa,"-expanded-row"),"".concat(pa,"-expanded-row-level-").concat(Et+1),Na),prefixCls:pa,component:bt,cellComponent:un,colSpan:ua.length,isEmpty:!1},Ba)}return se.createElement(se.Fragment,null,$r,cr)}ar.displayName="BodyRow";var ga=te(ar);function Ja(ge){var ve=ge.columnKey,Le=ge.onColumnResize,Ve=se.useRef();return se.useEffect(function(){Ve.current&&Le(ve,Ve.current.offsetWidth)},[]),se.createElement(_a.Z,{data:ve},se.createElement("td",{ref:Ve,style:{padding:0,border:0,height:0}},se.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function wa(ge){var ve=ge.prefixCls,Le=ge.columnsKey,Ve=ge.onColumnResize;return se.createElement("tr",{"aria-hidden":"true",className:"".concat(ve,"-measure-row"),style:{height:0,fontSize:0}},se.createElement(_a.Z.Collection,{onBatchResize:function(ct){ct.forEach(function(_t){var on=_t.data,Et=_t.size;Ve(on,Et.offsetWidth)})}},Le.map(function(rt){return se.createElement(Ja,{key:rt,columnKey:rt,onColumnResize:Ve})})))}function Io(ge){var ve=ge.data,Le=ge.measureColumnWidth,Ve=ze(ce,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),rt=Ve.prefixCls,ct=Ve.getComponent,_t=Ve.onColumnResize,on=Ve.flattenColumns,Et=Ve.getRowKey,bt=Ve.expandedKeys,un=Ve.childrenColumnName,qt=Ve.emptyNode,Zn=Ya(ve,un,bt,Et),pa=se.useRef({renderWithProps:!1}),ua=ct(["body","wrapper"],"tbody"),vr=ct(["body","row"],"tr"),nr=ct(["body","cell"],"td"),Pr=ct(["body","cell"],"th"),hn;ve.length?hn=Zn.map(function(Fa,Aa){var Ia=Fa.record,or=Fa.indent,$r=Fa.index,cr=Et(Ia,Aa);return se.createElement(ga,{key:cr,rowKey:cr,record:Ia,index:Aa,renderIndex:$r,rowComponent:vr,cellComponent:nr,scopeCellComponent:Pr,getRowKey:Et,indent:or})}):hn=se.createElement(Yn,{expanded:!0,className:"".concat(rt,"-placeholder"),prefixCls:rt,component:vr,cellComponent:nr,colSpan:on.length,isEmpty:!0},qt);var ma=ca(on);return se.createElement(Kn.Provider,{value:pa.current},se.createElement(ua,{className:"".concat(rt,"-tbody")},Le&&se.createElement(wa,{prefixCls:rt,columnsKey:ma,onColumnResize:_t}),hn))}Io.displayName="Body";var Yr=te(Io),Zo=["expandable"],ni="RC_TABLE_INTERNAL_COL_DEFINE";function vi(ge){var ve=ge.expandable,Le=(0,ia.Z)(ge,Zo),Ve;return"expandable"in ge?Ve=(0,Oe.Z)((0,Oe.Z)({},Le),ve):Ve=Le,Ve.showExpandColumn===!1&&(Ve.expandIconColumnIndex=-1),Ve}var Da=["columnType"];function yi(ge){for(var ve=ge.colWidths,Le=ge.columns,Ve=ge.columCount,rt=[],ct=Ve||Le.length,_t=!1,on=ct-1;on>=0;on-=1){var Et=ve[on],bt=Le&&Le[on],un=bt&&bt[ni];if(Et||un||_t){var qt=un||{},Zn=qt.columnType,pa=(0,ia.Z)(qt,Da);rt.unshift(se.createElement("col",(0,Ze.Z)({key:on,style:{width:Et}},pa))),_t=!0}}return se.createElement("colgroup",null,rt)}var Hr=yi,Go=z(74902),pi=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function qa(ge,ve){return(0,se.useMemo)(function(){for(var Le=[],Ve=0;Ve<ve;Ve+=1){var rt=ge[Ve];if(rt!==void 0)Le[Ve]=rt;else return null}return Le},[ge.join("_"),ve])}var Ir=se.forwardRef(function(ge,ve){var Le=ge.className,Ve=ge.noData,rt=ge.columns,ct=ge.flattenColumns,_t=ge.colWidths,on=ge.columCount,Et=ge.stickyOffsets,bt=ge.direction,un=ge.fixHeader,qt=ge.stickyTopOffset,Zn=ge.stickyBottomOffset,pa=ge.stickyClassName,ua=ge.onScroll,vr=ge.maxContentScroll,nr=ge.children,Pr=(0,ia.Z)(ge,pi),hn=ze(ce,["prefixCls","scrollbarSize","isSticky"]),ma=hn.prefixCls,Fa=hn.scrollbarSize,Aa=hn.isSticky,Ia=Aa&&!un?0:Fa,or=se.useRef(null),$r=se.useCallback(function(Co){Qa(ve,Co),Qa(or,Co)},[]);se.useEffect(function(){var Co;function Bo(Jo){var $o=Jo,mi=$o.currentTarget,xi=$o.deltaX;xi&&(ua({currentTarget:mi,scrollLeft:mi.scrollLeft+xi}),Jo.preventDefault())}return(Co=or.current)===null||Co===void 0||Co.addEventListener("wheel",Bo),function(){var Jo;(Jo=or.current)===null||Jo===void 0||Jo.removeEventListener("wheel",Bo)}},[]);var cr=se.useMemo(function(){return ct.every(function(Co){return Co.width})},[ct]),Ba=ct[ct.length-1],Na={fixed:Ba?Ba.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(ma,"-cell-scrollbar")}}},$a=(0,se.useMemo)(function(){return Ia?[].concat((0,Go.Z)(rt),[Na]):rt},[Ia,rt]),fr=(0,se.useMemo)(function(){return Ia?[].concat((0,Go.Z)(ct),[Na]):ct},[Ia,ct]),to=(0,se.useMemo)(function(){var Co=Et.right,Bo=Et.left;return(0,Oe.Z)((0,Oe.Z)({},Et),{},{left:bt==="rtl"?[].concat((0,Go.Z)(Bo.map(function(Jo){return Jo+Ia})),[0]):Bo,right:bt==="rtl"?Co:[].concat((0,Go.Z)(Co.map(function(Jo){return Jo+Ia})),[0]),isSticky:Aa})},[Ia,Et,Aa]),ko=qa(_t,on);return se.createElement("div",{style:(0,Oe.Z)({overflow:"hidden"},Aa?{top:qt,bottom:Zn}:{}),ref:$r,className:Ue()(Le,(0,he.Z)({},pa,!!pa))},se.createElement("table",{style:{tableLayout:"fixed",visibility:Ve||ko?null:"hidden"}},(!Ve||!vr||cr)&&se.createElement(Hr,{colWidths:ko?[].concat((0,Go.Z)(ko),[Ia]):[],columCount:on+1,columns:fr}),nr((0,Oe.Z)((0,Oe.Z)({},Pr),{},{stickyOffsets:to,columns:$a,flattenColumns:fr}))))});Ir.displayName="FixedHolder";var vo=se.memo(Ir);function ir(ge){var ve=ge.cells,Le=ge.stickyOffsets,Ve=ge.flattenColumns,rt=ge.rowComponent,ct=ge.cellComponent,_t=ge.tdCellComponent,on=ge.onHeaderRow,Et=ge.index,bt=ze(ce,["prefixCls","direction"]),un=bt.prefixCls,qt=bt.direction,Zn;on&&(Zn=on(ve.map(function(ua){return ua.column}),Et));var pa=ca(ve.map(function(ua){return ua.column}));return se.createElement(rt,Zn,ve.map(function(ua,vr){var nr=ua.column,Pr=dn(ua.colStart,ua.colEnd,Ve,Le,qt,nr),hn;return nr&&nr.onHeaderCell&&(hn=ua.column.onHeaderCell(nr)),se.createElement(Vt,(0,Ze.Z)({},ua,{scope:nr.title?ua.colSpan>1?"colgroup":"col":null,ellipsis:nr.ellipsis,align:nr.align,component:nr.title?ct:_t,prefixCls:un,key:pa[vr]},Pr,{additionalProps:hn,rowType:"header"}))}))}ir.displayName="HeaderRow";var fi=ir;function ci(ge){var ve=[];function Le(_t,on){var Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ve[Et]=ve[Et]||[];var bt=on,un=_t.filter(Boolean).map(function(qt){var Zn={key:qt.key,className:qt.className||"",children:qt.title,column:qt,colStart:bt},pa=1,ua=qt.children;return ua&&ua.length>0&&(pa=Le(ua,bt,Et+1).reduce(function(vr,nr){return vr+nr},0),Zn.hasSubColumns=!0),"colSpan"in qt&&(pa=qt.colSpan),"rowSpan"in qt&&(Zn.rowSpan=qt.rowSpan),Zn.colSpan=pa,Zn.colEnd=Zn.colStart+pa-1,ve[Et].push(Zn),bt+=pa,pa});return un}Le(ge,0);for(var Ve=ve.length,rt=function(on){ve[on].forEach(function(Et){!("rowSpan"in Et)&&!Et.hasSubColumns&&(Et.rowSpan=Ve-on)})},ct=0;ct<Ve;ct+=1)rt(ct);return ve}function Fi(ge){var ve=ge.stickyOffsets,Le=ge.columns,Ve=ge.flattenColumns,rt=ge.onHeaderRow,ct=ze(ce,["prefixCls","getComponent"]),_t=ct.prefixCls,on=ct.getComponent,Et=se.useMemo(function(){return ci(Le)},[Le]),bt=on(["header","wrapper"],"thead"),un=on(["header","row"],"tr"),qt=on(["header","cell"],"th"),Zn=on(["header","cell"],"td");return se.createElement(bt,{className:"".concat(_t,"-thead")},Et.map(function(pa,ua){var vr=se.createElement(fi,{key:ua,flattenColumns:Ve,cells:pa,stickyOffsets:ve,rowComponent:un,cellComponent:qt,tdCellComponent:Zn,onHeaderRow:rt,index:ua});return vr}))}var ei=te(Fi);function hi(ge){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Le=[];return se.Children.forEach(ge,function(Ve){Ve==null&&!ve.keepEmpty||(Array.isArray(Ve)?Le=Le.concat(hi(Ve)):(0,gr.isFragment)(Ve)&&Ve.props?Le=Le.concat(hi(Ve.props.children,ve)):Le.push(Ve))}),Le}function Wt(ge){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ve=="number"?ve:ve.endsWith("%")?ge*parseFloat(ve)/100:null}function Kt(ge,ve){return se.useMemo(function(){if(ve&&ve>0){var Le=0,Ve=0;ge.forEach(function(bt){var un=Wt(ve,bt.width);un?Le+=un:Ve+=1});var rt=ve-Le,ct=Ve,_t=rt/Ve,on=0,Et=ge.map(function(bt){var un=(0,Oe.Z)({},bt),qt=Wt(ve,un.width);if(qt)un.width=qt;else{var Zn=Math.floor(_t);un.width=ct===1?rt:Zn,rt-=Zn,ct-=1}return on+=un.width,un});return[Et,on]}return[ge,ve]},[ge,ve])}var aa=["children"],xa=["fixed"];function Ka(ge){return hi(ge).filter(function(ve){return se.isValidElement(ve)}).map(function(ve){var Le=ve.key,Ve=ve.props,rt=Ve.children,ct=(0,ia.Z)(Ve,aa),_t=(0,Oe.Z)({key:Le},ct);return rt&&(_t.children=Ka(rt)),_t})}function Cr(ge){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ge.filter(function(Le){return Le&&(0,ke.Z)(Le)==="object"}).reduce(function(Le,Ve,rt){var ct=Ve.fixed,_t=ct===!0?"left":ct,on="".concat(ve,"-").concat(rt),Et=Ve.children;return Et&&Et.length>0?[].concat((0,Go.Z)(Le),(0,Go.Z)(Cr(Et,on).map(function(bt){return(0,Oe.Z)({fixed:_t},bt)}))):[].concat((0,Go.Z)(Le),[(0,Oe.Z)((0,Oe.Z)({key:on},Ve),{},{fixed:_t})])},[])}function po(ge){for(var ve=!0,Le=0;Le<ge.length;Le+=1){var Ve=ge[Le];if(ve&&Ve.fixed!=="left")ve=!1;else if(!ve&&Ve.fixed==="left"){warning(!1,"Index ".concat(Le-1," of `columns` missing `fixed='left'` prop."));break}}for(var rt=!0,ct=ge.length-1;ct>=0;ct-=1){var _t=ge[ct];if(rt&&_t.fixed!=="right")rt=!1;else if(!rt&&_t.fixed==="right"){warning(!1,"Index ".concat(ct+1," of `columns` missing `fixed='right'` prop."));break}}}function Lo(ge){return ge.map(function(ve){var Le=ve.fixed,Ve=(0,ia.Z)(ve,xa),rt=Le;return Le==="left"?rt="right":Le==="right"&&(rt="left"),(0,Oe.Z)({fixed:rt},Ve)})}function rr(ge,ve){var Le=ge.prefixCls,Ve=ge.columns,rt=ge.children,ct=ge.expandable,_t=ge.expandedKeys,on=ge.columnTitle,Et=ge.getRowKey,bt=ge.onTriggerExpand,un=ge.expandIcon,qt=ge.rowExpandable,Zn=ge.expandIconColumnIndex,pa=ge.direction,ua=ge.expandRowByClick,vr=ge.columnWidth,nr=ge.fixed,Pr=ge.scrollWidth,hn=se.useMemo(function(){return Ve||Ka(rt)},[Ve,rt]),ma=se.useMemo(function(){if(ct){var Ba,Na=hn.slice();if(!Na.includes(x)){var $a=Zn||0;$a>=0&&Na.splice($a,0,x)}var fr=Na.indexOf(x);Na=Na.filter(function(Bo,Jo){return Bo!==x||Jo===fr});var to=hn[fr],ko;(nr==="left"||nr)&&!Zn?ko="left":(nr==="right"||nr)&&Zn===hn.length?ko="right":ko=to?to.fixed:null;var Co=(Ba={},(0,he.Z)(Ba,ni,{className:"".concat(Le,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,he.Z)(Ba,"title",on),(0,he.Z)(Ba,"fixed",ko),(0,he.Z)(Ba,"className","".concat(Le,"-row-expand-icon-cell")),(0,he.Z)(Ba,"width",vr),(0,he.Z)(Ba,"render",function(Jo,$o,mi){var xi=Et($o,mi),qi=_t.has(xi),Ji=qt?qt($o):!0,gi=un({prefixCls:Le,expanded:qi,expandable:Ji,record:$o,onExpand:bt});return ua?se.createElement("span",{onClick:function(wi){return wi.stopPropagation()}},gi):gi}),Ba);return Na.map(function(Bo){return Bo===x?Co:Bo})}return hn.filter(function(Bo){return Bo!==x})},[ct,hn,Et,_t,un,pa]),Fa=se.useMemo(function(){var Ba=ma;return ve&&(Ba=ve(Ba)),Ba.length||(Ba=[{render:function(){return null}}]),Ba},[ve,ma,pa]),Aa=se.useMemo(function(){return pa==="rtl"?Lo(Cr(Fa)):Cr(Fa)},[Fa,pa,Pr]),Ia=Kt(Aa,Pr),or=(0,Ce.Z)(Ia,2),$r=or[0],cr=or[1];return[Fa,$r,cr]}var zo=rr;function ai(ge){var ve,Le=ge.prefixCls,Ve=ge.record,rt=ge.onExpand,ct=ge.expanded,_t=ge.expandable,on="".concat(Le,"-row-expand-icon");if(!_t)return se.createElement("span",{className:Ue()(on,"".concat(Le,"-row-spaced"))});var Et=function(un){rt(Ve,un),un.stopPropagation()};return se.createElement("span",{className:Ue()(on,(ve={},(0,he.Z)(ve,"".concat(Le,"-row-expanded"),ct),(0,he.Z)(ve,"".concat(Le,"-row-collapsed"),!ct),ve)),onClick:Et})}function ii(ge,ve,Le){var Ve=[];function rt(ct){(ct||[]).forEach(function(_t,on){Ve.push(ve(_t,on)),rt(_t[Le])})}return rt(ge),Ve}function oo(ge,ve,Le){var Ve=vi(ge),rt=Ve.expandIcon,ct=Ve.expandedRowKeys,_t=Ve.defaultExpandedRowKeys,on=Ve.defaultExpandAllRows,Et=Ve.expandedRowRender,bt=Ve.onExpand,un=Ve.onExpandedRowsChange,qt=Ve.childrenColumnName,Zn=rt||ai,pa=qt||"children",ua=se.useMemo(function(){return Et?"row":ge.expandable&&ge.internalHooks===ie&&ge.expandable.__PARENT_RENDER_ICON__||ve.some(function(Aa){return Aa&&(0,ke.Z)(Aa)==="object"&&Aa[pa]})?"nest":!1},[!!Et,ve]),vr=se.useState(function(){return _t||(on?ii(ve,Le,pa):[])}),nr=(0,Ce.Z)(vr,2),Pr=nr[0],hn=nr[1],ma=se.useMemo(function(){return new Set(ct||Pr||[])},[ct,Pr]),Fa=se.useCallback(function(Aa){var Ia=Le(Aa,ve.indexOf(Aa)),or,$r=ma.has(Ia);$r?(ma.delete(Ia),or=(0,Go.Z)(ma)):or=[].concat((0,Go.Z)(ma),[Ia]),hn(or),bt&&bt(!$r,Aa),un&&un(or)},[Le,ma,ve,bt,un]);return[Ve,ua,ma,Zn,pa,Fa]}function tn(ge,ve,Le,Ve){var rt=ge.map(function(ct,_t){return dn(_t,_t,ge,ve,Le,Ve==null?void 0:Ve[_t])});return $e(function(){return rt},[rt],function(ct,_t){return!mn(ct,_t)})}function gn(ge){var ve=(0,se.useRef)(ge),Le=(0,se.useState)({}),Ve=(0,Ce.Z)(Le,2),rt=Ve[1],ct=(0,se.useRef)(null),_t=(0,se.useRef)([]);function on(Et){_t.current.push(Et);var bt=Promise.resolve();ct.current=bt,bt.then(function(){if(ct.current===bt){var un=_t.current,qt=ve.current;_t.current=[],un.forEach(function(Zn){ve.current=Zn(ve.current)}),ct.current=null,qt!==ve.current&&rt({})}})}return(0,se.useEffect)(function(){return function(){ct.current=null}},[]),[ve.current,on]}function Un(ge){var ve=(0,se.useRef)(ge||null),Le=(0,se.useRef)();function Ve(){window.clearTimeout(Le.current)}function rt(_t){ve.current=_t,Ve(),Le.current=window.setTimeout(function(){ve.current=null,Le.current=void 0},100)}function ct(){return ve.current}return(0,se.useEffect)(function(){return Ve},[]),[rt,ct]}function qe(){var ge=se.useState(-1),ve=(0,Ce.Z)(ge,2),Le=ve[0],Ve=ve[1],rt=se.useState(-1),ct=(0,Ce.Z)(rt,2),_t=ct[0],on=ct[1],Et=se.useCallback(function(bt,un){Ve(bt),on(un)},[]);return[Le,_t,Et]}var Qn=nn()?window:null;function Ma(ge,ve){var Le=(0,ke.Z)(ge)==="object"?ge:{},Ve=Le.offsetHeader,rt=Ve===void 0?0:Ve,ct=Le.offsetSummary,_t=ct===void 0?0:ct,on=Le.offsetScroll,Et=on===void 0?0:on,bt=Le.getContainer,un=bt===void 0?function(){return Qn}:bt,qt=un()||Qn;return se.useMemo(function(){var Zn=!!ge;return{isSticky:Zn,stickyClassName:Zn?"".concat(ve,"-sticky-holder"):"",offsetHeader:rt,offsetSummary:_t,offsetScroll:Et,container:qt}},[Et,rt,_t,ve,qt])}function Ta(ge,ve,Le){var Ve=(0,se.useMemo)(function(){for(var rt=[],ct=[],_t=0,on=0,Et=0;Et<ve;Et+=1)if(Le==="rtl"){ct[Et]=on,on+=ge[Et]||0;var bt=ve-Et-1;rt[bt]=_t,_t+=ge[bt]||0}else{rt[Et]=_t,_t+=ge[Et]||0;var un=ve-Et-1;ct[un]=on,on+=ge[un]||0}return{left:rt,right:ct}},[ge,ve,Le]);return Ve}var En=Ta;function Mn(ge){var ve=ge.className,Le=ge.children;return se.createElement("div",{className:ve},Le)}var Rn=Mn;function ka(ge,ve,Le,Ve){var rt=nt.unstable_batchedUpdates?function(_t){nt.unstable_batchedUpdates(Le,_t)}:Le;return ge!=null&&ge.addEventListener&&ge.addEventListener(ve,rt,Ve),{remove:function(){ge!=null&&ge.removeEventListener&&ge.removeEventListener(ve,rt,Ve)}}}var xr=/margin|padding|width|height|max|min|offset/,Or={left:!0,top:!0},Kr={cssFloat:1,styleFloat:1,float:1};function uo(ge){return ge.nodeType===1?ge.ownerDocument.defaultView.getComputedStyle(ge,null):{}}function yr(ge,ve,Le){if(ve=ve.toLowerCase(),Le==="auto"){if(ve==="height")return ge.offsetHeight;if(ve==="width")return ge.offsetWidth}return ve in Or||(Or[ve]=xr.test(ve)),Or[ve]?parseFloat(Le)||0:Le}function Ha(ge,ve){var Le=arguments.length,Ve=uo(ge);return ve=Kr[ve]?"cssFloat"in ge.style?"cssFloat":"styleFloat":ve,Le===1?Ve:yr(ge,ve,Ve[ve]||ge.style[ve])}function Hn(ge,ve,Le){var Ve=arguments.length;if(ve=Kr[ve]?"cssFloat"in ge.style?"cssFloat":"styleFloat":ve,Ve===3)return typeof Le=="number"&&xr.test(ve)&&(Le="".concat(Le,"px")),ge.style[ve]=Le,Le;for(var rt in ve)ve.hasOwnProperty(rt)&&Hn(ge,rt,ve[rt]);return uo(ge)}function Tn(ge){return ge===document.body?document.documentElement.clientWidth:ge.offsetWidth}function Oa(ge){return ge===document.body?window.innerHeight||document.documentElement.clientHeight:ge.offsetHeight}function Lr(){var ge=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),ve=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ge,height:ve}}function we(){var ge=document.documentElement.clientWidth,ve=window.innerHeight||document.documentElement.clientHeight;return{width:ge,height:ve}}function an(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function wn(ge){var ve=ge.getBoundingClientRect(),Le=document.documentElement;return{left:ve.left+(window.pageXOffset||Le.scrollLeft)-(Le.clientLeft||document.body.clientLeft||0),top:ve.top+(window.pageYOffset||Le.scrollTop)-(Le.clientTop||document.body.clientTop||0)}}var Wn=function(ve,Le){var Ve,rt,ct=ve.scrollBodyRef,_t=ve.onScroll,on=ve.offsetScroll,Et=ve.container,bt=ze(ce,"prefixCls"),un=((Ve=ct.current)===null||Ve===void 0?void 0:Ve.scrollWidth)||0,qt=((rt=ct.current)===null||rt===void 0?void 0:rt.clientWidth)||0,Zn=un&&qt*(qt/un),pa=se.useRef(),ua=gn({scrollLeft:0,isHiddenScrollBar:!1}),vr=(0,Ce.Z)(ua,2),nr=vr[0],Pr=vr[1],hn=se.useRef({delta:0,x:0}),ma=se.useState(!1),Fa=(0,Ce.Z)(ma,2),Aa=Fa[0],Ia=Fa[1],or=function(){Ia(!1)},$r=function(fr){fr.persist(),hn.current.delta=fr.pageX-nr.scrollLeft,hn.current.x=0,Ia(!0),fr.preventDefault()},cr=function(fr){var to,ko=fr||((to=window)===null||to===void 0?void 0:to.event),Co=ko.buttons;if(!Aa||Co===0){Aa&&Ia(!1);return}var Bo=hn.current.x+fr.pageX-hn.current.x-hn.current.delta;Bo<=0&&(Bo=0),Bo+Zn>=qt&&(Bo=qt-Zn),_t({scrollLeft:Bo/qt*(un+2)}),hn.current.x=fr.pageX},Ba=function(){if(ct.current){var fr=wn(ct.current).top,to=fr+ct.current.offsetHeight,ko=Et===window?document.documentElement.scrollTop+window.innerHeight:wn(Et).top+Et.clientHeight;to-sn()<=ko||fr>=ko-on?Pr(function(Co){return(0,Oe.Z)((0,Oe.Z)({},Co),{},{isHiddenScrollBar:!0})}):Pr(function(Co){return(0,Oe.Z)((0,Oe.Z)({},Co),{},{isHiddenScrollBar:!1})})}},Na=function(fr){Pr(function(to){return(0,Oe.Z)((0,Oe.Z)({},to),{},{scrollLeft:fr/un*qt||0})})};return se.useImperativeHandle(Le,function(){return{setScrollLeft:Na}}),se.useEffect(function(){var $a=ka(document.body,"mouseup",or,!1),fr=ka(document.body,"mousemove",cr,!1);return Ba(),function(){$a.remove(),fr.remove()}},[Zn,Aa]),se.useEffect(function(){var $a=ka(Et,"scroll",Ba,!1),fr=ka(window,"resize",Ba,!1);return function(){$a.remove(),fr.remove()}},[Et]),se.useEffect(function(){nr.isHiddenScrollBar||Pr(function($a){var fr=ct.current;return fr?(0,Oe.Z)((0,Oe.Z)({},$a),{},{scrollLeft:fr.scrollLeft/fr.scrollWidth*fr.clientWidth}):$a})},[nr.isHiddenScrollBar]),un<=qt||!Zn||nr.isHiddenScrollBar?null:se.createElement("div",{style:{height:sn(),width:qt,bottom:on},className:"".concat(bt,"-sticky-scroll")},se.createElement("div",{onMouseDown:$r,ref:pa,className:Ue()("".concat(bt,"-sticky-scroll-bar"),(0,he.Z)({},"".concat(bt,"-sticky-scroll-bar-active"),Aa)),style:{width:"".concat(Zn,"px"),transform:"translate3d(".concat(nr.scrollLeft,"px, 0, 0)")}}))},Ct=se.forwardRef(Wn);function jn(ge){return null}var Gn=jn;function In(ge){return null}var Jn=In,sr="rc-table",hr=[],Qr={};function Fr(){return"No Data"}function _o(ge){var ve,Le=(0,Oe.Z)({rowKey:"key",prefixCls:sr,emptyText:Fr},ge),Ve=Le.prefixCls,rt=Le.className,ct=Le.rowClassName,_t=Le.style,on=Le.data,Et=Le.rowKey,bt=Le.scroll,un=Le.tableLayout,qt=Le.direction,Zn=Le.title,pa=Le.footer,ua=Le.summary,vr=Le.caption,nr=Le.id,Pr=Le.showHeader,hn=Le.components,ma=Le.emptyText,Fa=Le.onRow,Aa=Le.onHeaderRow,Ia=Le.internalHooks,or=Le.transformColumns,$r=Le.internalRefs,cr=Le.tailor,Ba=Le.sticky,Na=on||hr,$a=!!Na.length,fr=Ia===ie,to=se.useCallback(function(Vi,al){return oa(hn,Vi)||al},[hn]),ko=se.useMemo(function(){return typeof Et=="function"?Et:function(Vi){var al=Vi&&Vi[Et];return al}},[Et]),Co=to(["body"]),Bo=qe(),Jo=(0,Ce.Z)(Bo,3),$o=Jo[0],mi=Jo[1],xi=Jo[2],qi=oo(Le,Na,ko),Ji=(0,Ce.Z)(qi,6),gi=Ji[0],tl=Ji[1],wi=Ji[2],Ui=Ji[3],Wo=Ji[4],ui=Ji[5],Do=bt==null?void 0:bt.x,No=se.useState(0),xo=(0,Ce.Z)(No,2),Fo=xo[0],bi=xo[1],Oo=zo((0,Oe.Z)((0,Oe.Z)((0,Oe.Z)({},Le),gi),{},{expandable:!!gi.expandedRowRender,columnTitle:gi.columnTitle,expandedKeys:wi,getRowKey:ko,onTriggerExpand:ui,expandIcon:Ui,expandIconColumnIndex:gi.expandIconColumnIndex,direction:qt,scrollWidth:fr&&cr&&typeof Do=="number"?Do:null}),fr?or:null),ri=(0,Ce.Z)(Oo,3),Ci=ri[0],Si=ri[1],bl=ri[2],Fl=bl!=null?bl:Do,es=se.useMemo(function(){return{columns:Ci,flattenColumns:Si}},[Ci,Si]),fl=se.useRef(),ns=se.useRef(),ml=se.useRef(),Kl=se.useRef(),Us=se.useRef(),ji=se.useState(!1),Wi=(0,Ce.Z)(ji,2),il=Wi[0],pl=Wi[1],dl=se.useState(!1),Ni=(0,Ce.Z)(dl,2),Ol=Ni[0],Cl=Ni[1],_l=gn(new Map),us=(0,Ce.Z)(_l,2),cs=us[0],Vs=us[1],xs=ca(Si),as=xs.map(function(Vi){return cs.get(Vi)}),xl=se.useMemo(function(){return as},[as.join("_")]),Rl=En(xl,Si.length,qt),hl=bt&&ln(bt.y),ll=bt&&ln(Fl)||!!gi.fixed,ms=ll&&Si.some(function(Vi){var al=Vi.fixed;return al}),ws=se.useRef(),Ms=Ma(Ba,Ve),vs=Ms.isSticky,ru=Ms.offsetHeader,du=Ms.offsetSummary,Ti=Ms.offsetScroll,el=Ms.stickyClassName,Bl=Ms.container,nl=se.useMemo(function(){return ua==null?void 0:ua(Na)},[ua,Na]),Ll=(hl||vs)&&se.isValidElement(nl)&&nl.type===An&&nl.props.fixed,zl,Hl,Fs;hl&&(Hl={overflowY:"scroll",maxHeight:bt.y}),ll&&(zl={overflowX:"auto"},hl||(Hl={overflowY:"hidden"}),Fs={width:Fl===!0?"auto":Fl,minWidth:"100%"});var gu=se.useCallback(function(Vi,al){za(fl.current)&&Vs(function(rs){if(rs.get(Vi)!==al){var As=new Map(rs);return As.set(Vi,al),As}return rs})},[]),zu=Un(null),xu=(0,Ce.Z)(zu,2),Hu=xu[0],wu=xu[1];function ou(Vi,al){al&&(typeof al=="function"?al(Vi):al.scrollLeft!==Vi&&(al.scrollLeft=Vi,al.scrollLeft!==Vi&&setTimeout(function(){al.scrollLeft=Vi},0)))}var $s=Tt(function(Vi){var al=Vi.currentTarget,rs=Vi.scrollLeft,As=qt==="rtl",ds=typeof rs=="number"?rs:al.scrollLeft,eu=al||Qr;if(!wu()||wu()===eu){var yu;Hu(eu),ou(ds,ns.current),ou(ds,ml.current),ou(ds,Us.current),ou(ds,(yu=ws.current)===null||yu===void 0?void 0:yu.setScrollLeft)}var tu=al||ns.current;if(tu){var uu=tu.scrollWidth,Eu=tu.clientWidth;if(uu===Eu){pl(!1),Cl(!1);return}As?(pl(-ds<uu-Eu),Cl(-ds>0)):(pl(ds>0),Cl(ds<uu-Eu))}}),Ys=function(){ll&&ml.current?$s({currentTarget:ml.current}):(pl(!1),Cl(!1))},Fu=function(al){var rs=al.width;rs!==Fo&&(Ys(),bi(fl.current?fl.current.offsetWidth:rs))},Au=se.useRef(!1);se.useEffect(function(){Au.current&&Ys()},[ll,on,Ci.length]),se.useEffect(function(){Au.current=!0},[]);var ju=se.useState(0),Bu=(0,Ce.Z)(ju,2),iu=Bu[0],Qs=Bu[1],Gu=se.useState(!0),fu=(0,Ce.Z)(Gu,2),Du=fu[0],Uu=fu[1];se.useEffect(function(){(!cr||!fr)&&(ml.current instanceof Element?Qs($n(ml.current).width):Qs($n(Kl.current).width)),Uu(Wa("position","sticky"))},[]),se.useEffect(function(){fr&&$r&&($r.body.current=ml.current)});var ac=se.useCallback(function(Vi){return se.createElement(se.Fragment,null,se.createElement(ei,Vi),Ll==="top"&&se.createElement(ya,Vi,nl))},[Ll,nl]),Wu=se.useCallback(function(Vi){return se.createElement(ya,Vi,nl)},[nl]),lu=to(["table"],"table"),su=se.useMemo(function(){return un||(ms?Fl==="max-content"?"auto":"fixed":hl||vs||Si.some(function(Vi){var al=Vi.ellipsis;return al})?"fixed":"auto")},[hl,ms,Si,un,vs]),mu,vu={colWidths:xl,columCount:Si.length,stickyOffsets:Rl,onHeaderRow:Aa,fixHeader:hl,scroll:bt},pu=se.useMemo(function(){return $a?null:typeof ma=="function"?ma():ma},[$a,ma]),Nu=se.createElement(Yr,{data:Na,measureColumnWidth:hl||ll||vs}),hu=se.createElement(Hr,{colWidths:Si.map(function(Vi){var al=Vi.width;return al}),columns:Si}),Iu=vr!=null?se.createElement("caption",{className:"".concat(Ve,"-caption")},vr):void 0,Ou=ro(Le,{data:!0}),Vu=ro(Le,{aria:!0});if(hl||vs){var qs;typeof Co=="function"?(qs=Co(Na,{scrollbarSize:iu,ref:ml,onScroll:$s}),vu.colWidths=Si.map(function(Vi,al){var rs=Vi.width,As=al===Si.length-1?rs-iu:rs;return typeof As=="number"&&!Number.isNaN(As)?As:0})):qs=se.createElement("div",{style:(0,Oe.Z)((0,Oe.Z)({},zl),Hl),onScroll:$s,ref:ml,className:Ue()("".concat(Ve,"-body"))},se.createElement(lu,(0,Ze.Z)({style:(0,Oe.Z)((0,Oe.Z)({},Fs),{},{tableLayout:su})},Vu),Iu,hu,Nu,!Ll&&nl&&se.createElement(ya,{stickyOffsets:Rl,flattenColumns:Si,columns:Ci},nl)));var Lu=(0,Oe.Z)((0,Oe.Z)((0,Oe.Z)({noData:!Na.length,maxContentScroll:ll&&Fl==="max-content"},vu),es),{},{direction:qt,stickyClassName:el,onScroll:$s});mu=se.createElement(se.Fragment,null,Pr!==!1&&se.createElement(vo,(0,Ze.Z)({},Lu,{stickyTopOffset:ru,className:"".concat(Ve,"-header"),ref:ns}),ac),qs,Ll&&Ll!=="top"&&se.createElement(vo,(0,Ze.Z)({},Lu,{stickyBottomOffset:du,className:"".concat(Ve,"-summary"),ref:Us}),Wu),vs&&se.createElement(Ct,{ref:ws,offsetScroll:Ti,scrollBodyRef:ml,onScroll:$s,container:Bl}))}else mu=se.createElement("div",{style:(0,Oe.Z)((0,Oe.Z)({},zl),Hl),className:Ue()("".concat(Ve,"-content")),onScroll:$s,ref:ml},se.createElement(lu,(0,Ze.Z)({style:(0,Oe.Z)((0,Oe.Z)({},Fs),{},{tableLayout:su})},Vu),Iu,hu,Pr!==!1&&se.createElement(ei,(0,Ze.Z)({},vu,es)),Nu,nl&&se.createElement(ya,{stickyOffsets:Rl,flattenColumns:Si,columns:Ci},nl)));var Su=se.createElement("div",(0,Ze.Z)({className:Ue()(Ve,rt,(ve={},(0,he.Z)(ve,"".concat(Ve,"-rtl"),qt==="rtl"),(0,he.Z)(ve,"".concat(Ve,"-ping-left"),il),(0,he.Z)(ve,"".concat(Ve,"-ping-right"),Ol),(0,he.Z)(ve,"".concat(Ve,"-layout-fixed"),un==="fixed"),(0,he.Z)(ve,"".concat(Ve,"-fixed-header"),hl),(0,he.Z)(ve,"".concat(Ve,"-fixed-column"),ms),(0,he.Z)(ve,"".concat(Ve,"-scroll-horizontal"),ll),(0,he.Z)(ve,"".concat(Ve,"-has-fix-left"),Si[0]&&Si[0].fixed),(0,he.Z)(ve,"".concat(Ve,"-has-fix-right"),Si[Si.length-1]&&Si[Si.length-1].fixed==="right"),ve)),style:_t,id:nr,ref:fl},Ou),Zn&&se.createElement(Rn,{className:"".concat(Ve,"-title")},Zn(Na)),se.createElement("div",{ref:Kl,className:"".concat(Ve,"-container")},mu),pa&&se.createElement(Rn,{className:"".concat(Ve,"-footer")},pa(Na)));ll&&(Su=se.createElement(_a.Z,{onResize:Fu},Su));var Ru=tn(Si,Rl,qt,Ci),$u=se.useMemo(function(){return{scrollX:Fl,prefixCls:Ve,getComponent:to,scrollbarSize:iu,direction:qt,fixedInfoList:Ru,isSticky:vs,supportSticky:Du,componentWidth:Fo,fixHeader:hl,fixColumn:ms,horizonScroll:ll,tableLayout:su,rowClassName:ct,expandedRowClassName:gi.expandedRowClassName,expandIcon:Ui,expandableType:tl,expandRowByClick:gi.expandRowByClick,expandedRowRender:gi.expandedRowRender,onTriggerExpand:ui,expandIconColumnIndex:gi.expandIconColumnIndex,indentSize:gi.indentSize,allColumnsFixedLeft:Si.every(function(Vi){return Vi.fixed==="left"}),emptyNode:pu,columns:Ci,flattenColumns:Si,onColumnResize:gu,hoverStartRow:$o,hoverEndRow:mi,onHover:xi,rowExpandable:gi.rowExpandable,onRow:Fa,getRowKey:ko,expandedKeys:wi,childrenColumnName:Wo}},[Fl,Ve,to,iu,qt,Ru,vs,Du,Fo,hl,ms,ll,su,ct,gi.expandedRowClassName,Ui,tl,gi.expandRowByClick,gi.expandedRowRender,ui,gi.expandIconColumnIndex,gi.indentSize,pu,Ci,Si,gu,$o,mi,xi,gi.rowExpandable,Fa,ko,wi,Wo]);return se.createElement(ce.Provider,{value:$u},Su)}function Ho(ge){return ee(_o,ge)}var zi=Ho();zi.EXPAND_COLUMN=x,zi.INTERNAL_HOOKS=ie,zi.Column=Gn,zi.ColumnGroup=Jn,zi.Summary=ot;var Gi=zi,sl=z(73299),Oi=Me(null),Zi=Me(null);function El(ge,ve,Le){var Ve=ve||1;return Le[ge+Ve]-(Le[ge]||0)}function Pl(ge){var ve=ge.rowInfo,Le=ge.column,Ve=ge.colIndex,rt=ge.indent,ct=ge.index,_t=ge.renderIndex,on=ge.record,Et=ge.style,bt=ge.className,un=ge.inverse,qt=ge.getHeight,Zn=Le.render,pa=Le.dataIndex,ua=Le.className,vr=Le.width,nr=ze(Zi,["columnsOffset"]),Pr=nr.columnsOffset,hn=It(ve,Le,Ve,rt,ct),ma=hn.key,Fa=hn.fixedInfo,Aa=hn.appendCellNode,Ia=hn.additionalCellProps,or=Ia.style,$r=Ia.colSpan,cr=$r===void 0?1:$r,Ba=Ia.rowSpan,Na=Ba===void 0?1:Ba,$a=Ve-1,fr=El($a,cr,Pr),to=cr>1?vr-fr:0,ko=(0,Oe.Z)((0,Oe.Z)((0,Oe.Z)({},or),Et),{},{flex:"0 0 ".concat(fr,"px"),width:"".concat(fr,"px"),marginRight:to,pointerEvents:"auto"}),Co=se.useMemo(function(){return un?Na<=1:cr===0||Na===0||Na>1},[Na,cr,un]);Co?ko.visibility="hidden":un&&(ko.height=qt==null?void 0:qt(Na));var Bo=Co?function(){return null}:Zn,Jo={};return(Na===0||cr===0)&&(Jo.rowSpan=1,Jo.colSpan=1),se.createElement(Vt,(0,Ze.Z)({className:Ue()(ua,bt),ellipsis:Le.ellipsis,align:Le.align,scope:Le.rowScope,component:"div",prefixCls:ve.prefixCls,key:ma,record:on,index:ct,renderIndex:_t,dataIndex:pa,render:Bo,shouldCellUpdate:Le.shouldCellUpdate},Fa,{appendNode:Aa,additionalProps:(0,Oe.Z)((0,Oe.Z)({},Ia),{},{style:ko},Jo)}))}var Mi=Pl,Qi=["data","index","className","rowKey","style","extra","getHeight"],Xi=se.forwardRef(function(ge,ve){var Le=ge.data,Ve=ge.index,rt=ge.className,ct=ge.rowKey,_t=ge.style,on=ge.extra,Et=ge.getHeight,bt=(0,ia.Z)(ge,Qi),un=Le.record,qt=Le.indent,Zn=Le.index,pa=ze(ce,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ua=pa.scrollX,vr=pa.flattenColumns,nr=pa.prefixCls,Pr=pa.fixColumn,hn=pa.componentWidth,ma=Dn(un,ct,Ve,qt),Fa=ma.rowSupportExpand,Aa=ma.expanded,Ia=ma.rowProps,or=ma.expandedRowRender,$r=ma.expandedRowClassName,cr;if(Fa&&Aa){var Ba=or(un,Ve,qt+1,Aa),Na=$r==null?void 0:$r(un,Ve,qt),$a={};Pr&&($a={style:(0,he.Z)({},"--virtual-width","".concat(hn,"px"))});var fr="".concat(nr,"-expanded-row-cell");cr=se.createElement("div",{className:Ue()("".concat(nr,"-expanded-row"),"".concat(nr,"-expanded-row-level-").concat(qt+1),Na)},se.createElement(Vt,{component:"div",prefixCls:nr,className:Ue()(fr,(0,he.Z)({},"".concat(fr,"-fixed"),Pr)),additionalProps:$a},Ba))}var to=(0,Oe.Z)((0,Oe.Z)({},_t),{},{width:ua});on&&(to.position="absolute",to.pointerEvents="none");var ko=se.createElement("div",(0,Ze.Z)({},Ia,bt,{ref:Fa?null:ve,className:Ue()(rt,"".concat(nr,"-row"),Ia==null?void 0:Ia.className,(0,he.Z)({},"".concat(nr,"-row-extra"),on)),style:(0,Oe.Z)((0,Oe.Z)({},to),Ia==null?void 0:Ia.style)}),vr.map(function(Co,Bo){return se.createElement(Mi,{key:Bo,rowInfo:ma,column:Co,colIndex:Bo,indent:qt,index:Ve,renderIndex:Zn,record:un,inverse:on,getHeight:Et})}));return Fa?se.createElement("div",{ref:ve},ko,cr):ko}),Ki=te(Xi),ul=Ki,Tl=se.forwardRef(function(ge,ve){var Le=ge.data,Ve=ge.onScroll,rt=ze(ce,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),ct=rt.flattenColumns,_t=rt.onColumnResize,on=rt.getRowKey,Et=rt.expandedKeys,bt=rt.prefixCls,un=rt.childrenColumnName,qt=rt.emptyNode,Zn=rt.scrollX,pa=ze(Oi),ua=pa.scrollY,vr=pa.listItemHeight,nr=se.useRef(),Pr=Ya(Le,un,Et,on),hn=se.useMemo(function(){var cr=0;return ct.map(function(Ba){var Na=Ba.width,$a=Ba.key;return cr+=Na,[$a,Na,cr]})},[ct]),ma=se.useMemo(function(){return hn.map(function(cr){return cr[2]})},[hn]);se.useEffect(function(){hn.forEach(function(cr){var Ba=(0,Ce.Z)(cr,2),Na=Ba[0],$a=Ba[1];_t(Na,$a)})},[hn]),se.useImperativeHandle(ve,function(){var cr={};return Object.defineProperty(cr,"scrollLeft",{get:function(){var Na;return((Na=nr.current)===null||Na===void 0?void 0:Na.getScrollInfo().x)||0},set:function(Na){var $a;($a=nr.current)===null||$a===void 0||$a.scrollTo({left:Na})}}),cr});var Fa=function(Ba,Na){var $a,fr=($a=Pr[Na])===null||$a===void 0?void 0:$a.record,to=Ba.onCell;if(to){var ko,Co=to(fr,Na);return(ko=Co==null?void 0:Co.rowSpan)!==null&&ko!==void 0?ko:1}return 1},Aa=function(Ba){var Na=Ba.start,$a=Ba.end,fr=Ba.getSize,to=Ba.offsetY;if($a<0)return null;for(var ko=ct.filter(function(Do){return Fa(Do,Na)===0}),Co=Na,Bo=function(No){if(ko=ko.filter(function(xo){return Fa(xo,No)===0}),!ko.length)return Co=No,"break"},Jo=Na;Jo>=0;Jo-=1){var $o=Bo(Jo);if($o==="break")break}for(var mi=ct.filter(function(Do){return Fa(Do,$a)!==1}),xi=$a,qi=function(No){if(mi=mi.filter(function(xo){return Fa(xo,No)!==1}),!mi.length)return xi=Math.max(No-1,$a),"break"},Ji=$a;Ji<Pr.length;Ji+=1){var gi=qi(Ji);if(gi==="break")break}for(var tl=[],wi=function(No){var xo=Pr[No];if(!xo)return"continue";ct.some(function(Fo){return Fa(Fo,No)>1})&&tl.push(No)},Ui=Co;Ui<=xi;Ui+=1)var Wo=wi(Ui);var ui=tl.map(function(Do){var No=Pr[Do],xo=on(No.record,Do),Fo=function(ri){var Ci=Do+ri-1,Si=on(Pr[Ci].record,Ci),bl=fr(xo,Si);return bl.bottom-bl.top},bi=fr(xo);return se.createElement(ul,{key:Do,data:No,rowKey:xo,index:Do,style:{top:-to+bi.top},extra:!0,getHeight:Fo})});return ui},Ia=se.useMemo(function(){return{columnsOffset:ma}},[ma]),or="".concat(bt,"-tbody"),$r;return Pr.length?$r=se.createElement(sl.Z,{fullHeight:!1,ref:nr,className:Ue()(or,"".concat(or,"-virtual")),height:ua,itemHeight:vr||24,data:Pr,itemKey:function(Ba){return on(Ba.record)},scrollWidth:Zn,onVirtualScroll:function(Ba){var Na=Ba.x;Ve({scrollLeft:Na})},extraRender:Aa},function(cr,Ba,Na){var $a=on(cr.record,Ba);return se.createElement(ul,(0,Ze.Z)({data:cr,rowKey:$a,index:Ba},Na))}):$r=se.createElement("div",{className:Ue()("".concat(bt,"-placeholder"))},se.createElement(Vt,{component:"div",prefixCls:bt},qt)),se.createElement(Zi.Provider,{value:Ia},$r)}),wl=te(Tl),kl=wl,Dl=function(ve,Le){var Ve=Le.ref,rt=Le.onScroll;return se.createElement(kl,{ref:Ve,data:ve,onScroll:rt})},Vl=100;function Ai(ge){var ve=ge.columns,Le=ge.scroll,Ve=ge.prefixCls,rt=Ve===void 0?sr:Ve,ct=ge.className,_t=ge.listItemHeight,on=Le||{},Et=on.x,bt=on.y;typeof Et!="number"&&(Et=((ve||[]).length+1)*Vl),typeof bt!="number"&&(bt=500);var un=se.useMemo(function(){return{scrollY:bt,listItemHeight:_t}},[bt,_t]);return se.createElement(Oi.Provider,{value:un},se.createElement(Gi,(0,Ze.Z)({},ge,{className:Ue()(ct,"".concat(rt,"-virtual")),scroll:(0,Oe.Z)((0,Oe.Z)({},Le),{},{x:Et}),components:{body:Dl},columns:ve,internalHooks:ie,tailor:!0})))}function ki(ge){return ee(Ai,ge)}var Yi=ki(),$l=null;function Zl(ge){return null}var Hi=Zl;function Li(ge){return null}var Nl=Li,ti=z(10366),gl=z(58375),Il=z(53124),Ql=z(88258),cl=z(98675),Jl=z(25378),Al=z(24457),vl=z(28452),ps=z(57953),Ws=z(46605);function Ds(ge){return function(Le){let{prefixCls:Ve,onExpand:rt,record:ct,expanded:_t,expandable:on}=Le;const Et=`${Ve}-row-expand-icon`;return se.createElement("button",{type:"button",onClick:bt=>{rt(ct,bt),bt.stopPropagation()},className:Ue()(Et,{[`${Et}-spaced`]:!on,[`${Et}-expanded`]:on&&_t,[`${Et}-collapsed`]:on&&!_t}),"aria-label":_t?ge.collapse:ge.expand,"aria-expanded":_t})}}var ho=Ds;function Ul(ge,ve){return"key"in ge&&ge.key!==void 0&&ge.key!==null?ge.key:ge.dataIndex?Array.isArray(ge.dataIndex)?ge.dataIndex.join("."):ge.dataIndex:ve}function ts(ge,ve){return ve?`${ve}-${ge}`:`${ge}`}function br(ge,ve){return typeof ge=="function"?ge(ve):ge}function os(ge,ve){const Le=br(ge,ve);return Object.prototype.toString.call(Le)==="[object Object]"?"":Le}var Ns={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"},zs=Ns,Hs=z(74643),hs=function(ve,Le){return se.createElement(Hs.Z,(0,Ze.Z)({},ve,{ref:Le,icon:zs}))},Ss=se.forwardRef(hs),rl=z(7699),ys=z(57838);function Wl(ge){const ve=se.useRef(ge),Le=(0,ys.Z)();return[()=>ve.current,Ve=>{ve.current=Ve,Le()}]}var Es=z(71577),is=z(84567),Is=z(85418),Ps=z(32983),Os=z(68508),ls=z(76529),Xl=z(78045),ss=z(79870),fs=z(72395),js=z(69677);function ol(ge){let{value:ve,onChange:Le,filterSearch:Ve,tablePrefixCls:rt,locale:ct}=ge;return Ve?se.createElement("div",{className:`${rt}-filter-dropdown-search`},se.createElement(js.default,{prefix:se.createElement(fs.Z,null),placeholder:ct.filterSearchPlaceholder,onChange:Le,value:ve,htmlSize:1,className:`${rt}-filter-dropdown-search-input`})):null}var bs=ol,Ls=z(92389);const Cs=ge=>{const{keyCode:ve}=ge;ve===Ls.Z.ENTER&&ge.stopPropagation()};var Yl=se.forwardRef((ge,ve)=>se.createElement("div",{className:ge.className,onClick:Le=>Le.stopPropagation(),onKeyDown:Cs,ref:ve},ge.children));function ql(ge){let ve=[];return(ge||[]).forEach(Le=>{let{value:Ve,children:rt}=Le;ve.push(Ve),rt&&(ve=[].concat((0,Go.Z)(ve),(0,Go.Z)(ql(rt))))}),ve}function Gs(ge){return ge.some(ve=>{let{children:Le}=ve;return Le})}function De(ge,ve){return typeof ve=="string"||typeof ve=="number"?ve==null?void 0:ve.toString().toLowerCase().includes(ge.trim().toLowerCase()):!1}function je(ge){let{filters:ve,prefixCls:Le,filteredKeys:Ve,filterMultiple:rt,searchValue:ct,filterSearch:_t}=ge;return ve.map((on,Et)=>{const bt=String(on.value);if(on.children)return{key:bt||Et,label:on.text,popupClassName:`${Le}-dropdown-submenu`,children:je({filters:on.children,prefixCls:Le,filteredKeys:Ve,filterMultiple:rt,searchValue:ct,filterSearch:_t})};const un=rt?is.default:Xl.ZP,qt={key:on.value!==void 0?bt:Et,label:se.createElement(se.Fragment,null,se.createElement(un,{checked:Ve.includes(bt)}),se.createElement("span",null,on.text))};return ct.trim()?typeof _t=="function"?_t(ct,on)?qt:null:De(ct,on.text)?qt:null:qt})}function tt(ge){var ve,Le;const{tablePrefixCls:Ve,prefixCls:rt,column:ct,dropdownPrefixCls:_t,columnKey:on,filterMultiple:Et,filterMode:bt="menu",filterSearch:un=!1,filterState:qt,triggerFilter:Zn,locale:pa,children:ua,getPopupContainer:vr}=ge,{filterDropdownOpen:nr,onFilterDropdownOpenChange:Pr,filterResetToDefaultFilteredValue:hn,defaultFilteredValue:ma,filterDropdownVisible:Fa,onFilterDropdownVisibleChange:Aa}=ct,[Ia,or]=se.useState(!1),$r=!!(qt&&(!((ve=qt.filteredKeys)===null||ve===void 0)&&ve.length||qt.forceFiltered)),cr=Oo=>{or(Oo),Pr==null||Pr(Oo),Aa==null||Aa(Oo)},Ba=(Le=nr!=null?nr:Fa)!==null&&Le!==void 0?Le:Ia,Na=qt==null?void 0:qt.filteredKeys,[$a,fr]=Wl(Na||[]),to=Oo=>{let{selectedKeys:ri}=Oo;fr(ri)},ko=(Oo,ri)=>{let{node:Ci,checked:Si}=ri;to(Et?{selectedKeys:Oo}:{selectedKeys:Si&&Ci.key?[Ci.key]:[]})};se.useEffect(()=>{Ia&&to({selectedKeys:Na||[]})},[Na]);const[Co,Bo]=se.useState([]),Jo=Oo=>{Bo(Oo)},[$o,mi]=se.useState(""),xi=Oo=>{const{value:ri}=Oo.target;mi(ri)};se.useEffect(()=>{Ia||mi("")},[Ia]);const qi=Oo=>{const ri=Oo&&Oo.length?Oo:null;if(ri===null&&(!qt||!qt.filteredKeys)||(0,rl.Z)(ri,qt==null?void 0:qt.filteredKeys,!0))return null;Zn({column:ct,key:on,filteredKeys:ri})},Ji=()=>{cr(!1),qi($a())},gi=function(){let{confirm:Oo,closeDropdown:ri}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Oo&&qi([]),ri&&cr(!1),mi(""),fr(hn?(ma||[]).map(Ci=>String(Ci)):[])},tl=function(){let{closeDropdown:Oo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Oo&&cr(!1),qi($a())},wi=Oo=>{Oo&&Na!==void 0&&fr(Na||[]),cr(Oo),!Oo&&!ct.filterDropdown&&Ji()},Ui=Ue()({[`${_t}-menu-without-submenu`]:!Gs(ct.filters||[])}),Wo=Oo=>{if(Oo.target.checked){const ri=ql(ct==null?void 0:ct.filters).map(Ci=>String(Ci));fr(ri)}else fr([])},ui=Oo=>{let{filters:ri}=Oo;return(ri||[]).map((Ci,Si)=>{const bl=String(Ci.value),Fl={title:Ci.text,key:Ci.value!==void 0?bl:Si};return Ci.children&&(Fl.children=ui({filters:Ci.children})),Fl})},Do=Oo=>{var ri;return Object.assign(Object.assign({},Oo),{text:Oo.title,value:Oo.key,children:((ri=Oo.children)===null||ri===void 0?void 0:ri.map(Ci=>Do(Ci)))||[]})};let No;if(typeof ct.filterDropdown=="function")No=ct.filterDropdown({prefixCls:`${_t}-custom`,setSelectedKeys:Oo=>to({selectedKeys:Oo}),selectedKeys:$a(),confirm:tl,clearFilters:gi,filters:ct.filters,visible:Ba,close:()=>{cr(!1)}});else if(ct.filterDropdown)No=ct.filterDropdown;else{const Oo=$a()||[],ri=()=>(ct.filters||[]).length===0?se.createElement(Ps.Z,{image:Ps.Z.PRESENTED_IMAGE_SIMPLE,description:pa.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):bt==="tree"?se.createElement(se.Fragment,null,se.createElement(bs,{filterSearch:un,value:$o,onChange:xi,tablePrefixCls:Ve,locale:pa}),se.createElement("div",{className:`${Ve}-filter-dropdown-tree`},Et?se.createElement(is.default,{checked:Oo.length===ql(ct.filters).length,indeterminate:Oo.length>0&&Oo.length<ql(ct.filters).length,className:`${Ve}-filter-dropdown-checkall`,onChange:Wo},pa.filterCheckall):null,se.createElement(ss.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Et,checkStrictly:!Et,className:`${_t}-menu`,onCheck:ko,checkedKeys:Oo,selectedKeys:Oo,showIcon:!1,treeData:ui({filters:ct.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:$o.trim()?Si=>typeof un=="function"?un($o,Do(Si)):De($o,Si.title):void 0}))):se.createElement(se.Fragment,null,se.createElement(bs,{filterSearch:un,value:$o,onChange:xi,tablePrefixCls:Ve,locale:pa}),se.createElement(Os.default,{selectable:!0,multiple:Et,prefixCls:`${_t}-menu`,className:Ui,onSelect:to,onDeselect:to,selectedKeys:Oo,getPopupContainer:vr,openKeys:Co,onOpenChange:Jo,items:je({filters:ct.filters||[],filterSearch:un,prefixCls:rt,filteredKeys:$a(),filterMultiple:Et,searchValue:$o})})),Ci=()=>hn?(0,rl.Z)((ma||[]).map(Si=>String(Si)),Oo,!0):Oo.length===0;No=se.createElement(se.Fragment,null,ri(),se.createElement("div",{className:`${rt}-dropdown-btns`},se.createElement(Es.ZP,{type:"link",size:"small",disabled:Ci(),onClick:()=>gi()},pa.filterReset),se.createElement(Es.ZP,{type:"primary",size:"small",onClick:Ji},pa.filterConfirm)))}ct.filterDropdown&&(No=se.createElement(ls.J,{selectable:void 0},No));const xo=()=>se.createElement(Yl,{className:`${rt}-dropdown`},No);let Fo;typeof ct.filterIcon=="function"?Fo=ct.filterIcon($r):ct.filterIcon?Fo=ct.filterIcon:Fo=se.createElement(Ss,null);const{direction:bi}=se.useContext(Il.E_);return se.createElement("div",{className:`${rt}-column`},se.createElement("span",{className:`${Ve}-column-title`},ua),se.createElement(Is.Z,{dropdownRender:xo,trigger:["click"],open:Ba,onOpenChange:wi,getPopupContainer:vr,placement:bi==="rtl"?"bottomLeft":"bottomRight"},se.createElement("span",{role:"button",tabIndex:-1,className:Ue()(`${rt}-trigger`,{active:$r}),onClick:Oo=>{Oo.stopPropagation()}},Fo)))}var Nt=tt;function Bn(ge,ve,Le){let Ve=[];return(ge||[]).forEach((rt,ct)=>{var _t;const on=ts(ct,Le);if(rt.filters||"filterDropdown"in rt||"onFilter"in rt)if("filteredValue"in rt){let Et=rt.filteredValue;"filterDropdown"in rt||(Et=(_t=Et==null?void 0:Et.map(String))!==null&&_t!==void 0?_t:Et),Ve.push({column:rt,key:Ul(rt,on),filteredKeys:Et,forceFiltered:rt.filtered})}else Ve.push({column:rt,key:Ul(rt,on),filteredKeys:ve&&rt.defaultFilteredValue?rt.defaultFilteredValue:void 0,forceFiltered:rt.filtered});"children"in rt&&(Ve=[].concat((0,Go.Z)(Ve),(0,Go.Z)(Bn(rt.children,ve,on))))}),Ve}function Xn(ge,ve,Le,Ve,rt,ct,_t,on){return Le.map((Et,bt)=>{const un=ts(bt,on),{filterMultiple:qt=!0,filterMode:Zn,filterSearch:pa}=Et;let ua=Et;if(ua.filters||ua.filterDropdown){const vr=Ul(ua,un),nr=Ve.find(Pr=>{let{key:hn}=Pr;return vr===hn});ua=Object.assign(Object.assign({},ua),{title:Pr=>se.createElement(Nt,{tablePrefixCls:ge,prefixCls:`${ge}-filter`,dropdownPrefixCls:ve,column:ua,columnKey:vr,filterState:nr,filterMultiple:qt,filterMode:Zn,filterSearch:pa,triggerFilter:ct,locale:rt,getPopupContainer:_t},br(Et.title,Pr))})}return"children"in ua&&(ua=Object.assign(Object.assign({},ua),{children:Xn(ge,ve,ua.children,Ve,rt,ct,_t,un)})),ua})}function Ca(ge){const ve={};return ge.forEach(Le=>{let{key:Ve,filteredKeys:rt,column:ct}=Le;const{filters:_t,filterDropdown:on}=ct;if(on)ve[Ve]=rt||null;else if(Array.isArray(rt)){const Et=ql(_t);ve[Ve]=Et.filter(bt=>rt.includes(String(bt)))}else ve[Ve]=null}),ve}function Ga(ge,ve){return ve.reduce((Le,Ve)=>{const{column:{onFilter:rt,filters:ct},filteredKeys:_t}=Ve;return rt&&_t&&_t.length?Le.filter(on=>_t.some(Et=>{const bt=ql(ct),un=bt.findIndex(Zn=>String(Zn)===String(Et)),qt=un!==-1?bt[un]:Et;return rt(qt,on)})):Le},ge)}const Xa=ge=>ge.flatMap(ve=>"children"in ve?[ve].concat((0,Go.Z)(Xa(ve.children||[]))):[ve]);function mr(ge){let{prefixCls:ve,dropdownPrefixCls:Le,mergedColumns:Ve,onFilterChange:rt,getPopupContainer:ct,locale:_t}=ge;const on=se.useMemo(()=>Xa(Ve||[]),[Ve]),[Et,bt]=se.useState(()=>Bn(on,!0)),un=se.useMemo(()=>{const ua=Bn(on,!1);if(ua.length===0)return ua;let vr=!0,nr=!0;if(ua.forEach(Pr=>{let{filteredKeys:hn}=Pr;hn!==void 0?vr=!1:nr=!1}),vr){const Pr=(on||[]).map((hn,ma)=>Ul(hn,ts(ma)));return Et.filter(hn=>{let{key:ma}=hn;return Pr.includes(ma)}).map(hn=>{const ma=on[Pr.findIndex(Fa=>Fa===hn.key)];return Object.assign(Object.assign({},hn),{column:Object.assign(Object.assign({},hn.column),ma),forceFiltered:ma.filtered})})}return ua},[on,Et]),qt=se.useMemo(()=>Ca(un),[un]),Zn=ua=>{const vr=un.filter(nr=>{let{key:Pr}=nr;return Pr!==ua.key});vr.push(ua),bt(vr),rt(Ca(vr),vr)};return[ua=>Xn(ve,Le,ua,un,_t,Zn,ct),un,qt]}var Zr=mr;function pr(ge,ve,Le){const Ve=se.useRef({});function rt(ct){if(!Ve.current||Ve.current.data!==ge||Ve.current.childrenColumnName!==ve||Ve.current.getRowKey!==Le){let on=function(Et){Et.forEach((bt,un)=>{const qt=Le(bt,un);_t.set(qt,bt),bt&&typeof bt=="object"&&ve in bt&&on(bt[ve]||[])})};const _t=new Map;on(ge),Ve.current={data:ge,childrenColumnName:ve,kvMap:_t,getRowKey:Le}}return Ve.current.kvMap.get(ct)}return[rt]}var Tr=z(38780),Sr=function(ge,ve){var Le={};for(var Ve in ge)Object.prototype.hasOwnProperty.call(ge,Ve)&&ve.indexOf(Ve)<0&&(Le[Ve]=ge[Ve]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Ve=Object.getOwnPropertySymbols(ge);rt<Ve.length;rt++)ve.indexOf(Ve[rt])<0&&Object.prototype.propertyIsEnumerable.call(ge,Ve[rt])&&(Le[Ve[rt]]=ge[Ve[rt]]);return Le};const no=10;function Po(ge,ve){const Le={current:ge.current,pageSize:ge.pageSize};return Object.keys(ve&&typeof ve=="object"?ve:{}).forEach(rt=>{const ct=ge[rt];typeof ct!="function"&&(Le[rt]=ct)}),Le}function wo(ge,ve,Le){const Ve=Le&&typeof Le=="object"?Le:{},{total:rt=0}=Ve,ct=Sr(Ve,["total"]),[_t,on]=(0,se.useState)(()=>({current:"defaultCurrent"in ct?ct.defaultCurrent:1,pageSize:"defaultPageSize"in ct?ct.defaultPageSize:no})),Et=(0,Tr.Z)(_t,ct,{total:rt>0?rt:ge}),bt=Math.ceil((rt||ge)/Et.pageSize);Et.current>bt&&(Et.current=bt||1);const un=(Zn,pa)=>{on({current:Zn!=null?Zn:1,pageSize:pa||Et.pageSize})},qt=(Zn,pa)=>{var ua;Le&&((ua=Le.onChange)===null||ua===void 0||ua.call(Le,Zn,pa)),un(Zn,pa),ve(Zn,pa||(Et==null?void 0:Et.pageSize))};return Le===!1?[{},()=>{}]:[Object.assign(Object.assign({},Et),{onChange:qt}),un]}var Ko=wo,Ee=z(42922),Ie=z(29873),pt=z(97153),Se=z(83898),st=z(5663);const yt={},Zt="SELECT_ALL",Xe="SELECT_INVERT",it="SELECT_NONE",gt=[],en=(ge,ve)=>{let Le=[];return(ve||[]).forEach(Ve=>{Le.push(Ve),Ve&&typeof Ve=="object"&&ge in Ve&&(Le=[].concat((0,Go.Z)(Le),(0,Go.Z)(en(ge,Ve[ge]))))}),Le};var kn=(ge,ve)=>{const{preserveSelectedRowKeys:Le,selectedRowKeys:Ve,defaultSelectedRowKeys:rt,getCheckboxProps:ct,onChange:_t,onSelect:on,onSelectAll:Et,onSelectInvert:bt,onSelectNone:un,onSelectMultiple:qt,columnWidth:Zn,type:pa,selections:ua,fixed:vr,renderCell:nr,hideSelectAll:Pr,checkStrictly:hn=!0}=ve||{},{prefixCls:ma,data:Fa,pageData:Aa,getRecordByKey:Ia,getRowKey:or,expandType:$r,childrenColumnName:cr,locale:Ba,getPopupContainer:Na}=ge,[$a,fr]=(0,st.Z)(Ve||rt||gt,{value:Ve}),to=se.useRef(new Map),ko=(0,se.useCallback)(Do=>{if(Le){const No=new Map;Do.forEach(xo=>{let Fo=Ia(xo);!Fo&&to.current.has(xo)&&(Fo=to.current.get(xo)),No.set(xo,Fo)}),to.current=No}},[Ia,Le]);se.useEffect(()=>{ko($a)},[$a]);const{keyEntities:Co}=(0,se.useMemo)(()=>{if(hn)return{keyEntities:null};let Do=Fa;if(Le){const No=new Set(Fa.map((Fo,bi)=>or(Fo,bi))),xo=Array.from(to.current).reduce((Fo,bi)=>{let[Oo,ri]=bi;return No.has(Oo)?Fo:Fo.concat(ri)},[]);Do=[].concat((0,Go.Z)(Do),(0,Go.Z)(xo))}return(0,Se.I8)(Do,{externalGetKey:or,childrenPropName:cr})},[Fa,or,hn,cr,Le]),Bo=(0,se.useMemo)(()=>en(cr,Aa),[cr,Aa]),Jo=(0,se.useMemo)(()=>{const Do=new Map;return Bo.forEach((No,xo)=>{const Fo=or(No,xo),bi=(ct?ct(No):null)||{};Do.set(Fo,bi)}),Do},[Bo,or,ct]),$o=(0,se.useCallback)(Do=>{var No;return!!(!((No=Jo.get(or(Do)))===null||No===void 0)&&No.disabled)},[Jo,or]),[mi,xi]=(0,se.useMemo)(()=>{if(hn)return[$a||[],[]];const{checkedKeys:Do,halfCheckedKeys:No}=(0,pt.S)($a,!0,Co,$o);return[Do||[],No]},[$a,hn,Co,$o]),qi=(0,se.useMemo)(()=>{const Do=pa==="radio"?mi.slice(0,1):mi;return new Set(Do)},[mi,pa]),Ji=(0,se.useMemo)(()=>pa==="radio"?new Set:new Set(xi),[xi,pa]),[gi,tl]=(0,se.useState)(null);se.useEffect(()=>{ve||fr(gt)},[!!ve]);const wi=(0,se.useCallback)((Do,No)=>{let xo,Fo;ko(Do),Le?(xo=Do,Fo=Do.map(bi=>to.current.get(bi))):(xo=[],Fo=[],Do.forEach(bi=>{const Oo=Ia(bi);Oo!==void 0&&(xo.push(bi),Fo.push(Oo))})),fr(xo),_t==null||_t(xo,Fo,{type:No})},[fr,Ia,_t,Le]),Ui=(0,se.useCallback)((Do,No,xo,Fo)=>{if(on){const bi=xo.map(Oo=>Ia(Oo));on(Ia(Do),No,bi,Fo)}wi(xo,"single")},[on,Ia,wi]),Wo=(0,se.useMemo)(()=>!ua||Pr?null:(ua===!0?[Zt,Xe,it]:ua).map(No=>No===Zt?{key:"all",text:Ba.selectionAll,onSelect(){wi(Fa.map((xo,Fo)=>or(xo,Fo)).filter(xo=>{const Fo=Jo.get(xo);return!(Fo!=null&&Fo.disabled)||qi.has(xo)}),"all")}}:No===Xe?{key:"invert",text:Ba.selectInvert,onSelect(){const xo=new Set(qi);Aa.forEach((bi,Oo)=>{const ri=or(bi,Oo),Ci=Jo.get(ri);Ci!=null&&Ci.disabled||(xo.has(ri)?xo.delete(ri):xo.add(ri))});const Fo=Array.from(xo);bt&&bt(Fo),wi(Fo,"invert")}}:No===it?{key:"none",text:Ba.selectNone,onSelect(){un==null||un(),wi(Array.from(qi).filter(xo=>{const Fo=Jo.get(xo);return Fo==null?void 0:Fo.disabled}),"none")}}:No).map(No=>Object.assign(Object.assign({},No),{onSelect:function(){for(var xo,Fo,bi=arguments.length,Oo=new Array(bi),ri=0;ri<bi;ri++)Oo[ri]=arguments[ri];(Fo=No.onSelect)===null||Fo===void 0||(xo=Fo).call.apply(xo,[No].concat(Oo)),tl(null)}})),[ua,qi,Aa,or,bt,wi]);return[(0,se.useCallback)(Do=>{var No;if(!ve)return Do.filter(ji=>ji!==yt);let xo=(0,Go.Z)(Do);const Fo=new Set(qi),bi=Bo.map(or).filter(ji=>!Jo.get(ji).disabled),Oo=bi.every(ji=>Fo.has(ji)),ri=bi.some(ji=>Fo.has(ji)),Ci=()=>{const ji=[];Oo?bi.forEach(il=>{Fo.delete(il),ji.push(il)}):bi.forEach(il=>{Fo.has(il)||(Fo.add(il),ji.push(il))});const Wi=Array.from(Fo);Et==null||Et(!Oo,Wi.map(il=>Ia(il)),ji.map(il=>Ia(il))),wi(Wi,"all"),tl(null)};let Si;if(pa!=="radio"){let ji;if(Wo){const Ni={getPopupContainer:Na,items:Wo.map((Ol,Cl)=>{const{key:_l,text:us,onSelect:cs}=Ol;return{key:_l!=null?_l:Cl,onClick:()=>{cs==null||cs(bi)},label:us}})};ji=se.createElement("div",{className:`${ma}-selection-extra`},se.createElement(Is.Z,{menu:Ni,getPopupContainer:Na},se.createElement("span",null,se.createElement(Ee.Z,null))))}const Wi=Bo.map((Ni,Ol)=>{const Cl=or(Ni,Ol),_l=Jo.get(Cl)||{};return Object.assign({checked:Fo.has(Cl)},_l)}).filter(Ni=>{let{disabled:Ol}=Ni;return Ol}),il=!!Wi.length&&Wi.length===Bo.length,pl=il&&Wi.every(Ni=>{let{checked:Ol}=Ni;return Ol}),dl=il&&Wi.some(Ni=>{let{checked:Ol}=Ni;return Ol});Si=!Pr&&se.createElement("div",{className:`${ma}-selection`},se.createElement(is.default,{checked:il?pl:!!Bo.length&&Oo,indeterminate:il?!pl&&dl:!Oo&&ri,onChange:Ci,disabled:Bo.length===0||il,"aria-label":ji?"Custom selection":"Select all",skipGroup:!0}),ji)}let bl;pa==="radio"?bl=(ji,Wi,il)=>{const pl=or(Wi,il),dl=Fo.has(pl);return{node:se.createElement(Xl.ZP,Object.assign({},Jo.get(pl),{checked:dl,onClick:Ni=>Ni.stopPropagation(),onChange:Ni=>{Fo.has(pl)||Ui(pl,!0,[pl],Ni.nativeEvent)}})),checked:dl}}:bl=(ji,Wi,il)=>{var pl;const dl=or(Wi,il),Ni=Fo.has(dl),Ol=Ji.has(dl),Cl=Jo.get(dl);let _l;return $r==="nest"?_l=Ol:_l=(pl=Cl==null?void 0:Cl.indeterminate)!==null&&pl!==void 0?pl:Ol,{node:se.createElement(is.default,Object.assign({},Cl,{indeterminate:_l,checked:Ni,skipGroup:!0,onClick:us=>us.stopPropagation(),onChange:us=>{let{nativeEvent:cs}=us;const{shiftKey:Vs}=cs;let xs=-1,as=-1;if(Vs&&hn){const xl=new Set([gi,dl]);bi.some((Rl,hl)=>{if(xl.has(Rl))if(xs===-1)xs=hl;else return as=hl,!0;return!1})}if(as!==-1&&xs!==as&&hn){const xl=bi.slice(xs,as+1),Rl=[];Ni?xl.forEach(ll=>{Fo.has(ll)&&(Rl.push(ll),Fo.delete(ll))}):xl.forEach(ll=>{Fo.has(ll)||(Rl.push(ll),Fo.add(ll))});const hl=Array.from(Fo);qt==null||qt(!Ni,hl.map(ll=>Ia(ll)),Rl.map(ll=>Ia(ll))),wi(hl,"multiple")}else{const xl=mi;if(hn){const Rl=Ni?(0,Ie._5)(xl,dl):(0,Ie.L0)(xl,dl);Ui(dl,!Ni,Rl,cs)}else{const Rl=(0,pt.S)([].concat((0,Go.Z)(xl),[dl]),!0,Co,$o),{checkedKeys:hl,halfCheckedKeys:ll}=Rl;let ms=hl;if(Ni){const ws=new Set(hl);ws.delete(dl),ms=(0,pt.S)(Array.from(ws),{checked:!1,halfCheckedKeys:ll},Co,$o).checkedKeys}Ui(dl,!Ni,ms,cs)}}tl(Ni?null:dl)}})),checked:Ni}};const Fl=(ji,Wi,il)=>{const{node:pl,checked:dl}=bl(ji,Wi,il);return nr?nr(dl,Wi,il,pl):pl};if(!xo.includes(yt))if(xo.findIndex(ji=>{var Wi;return((Wi=ji[ni])===null||Wi===void 0?void 0:Wi.columnType)==="EXPAND_COLUMN"})===0){const[ji,...Wi]=xo;xo=[ji,yt].concat((0,Go.Z)(Wi))}else xo=[yt].concat((0,Go.Z)(xo));const es=xo.indexOf(yt);xo=xo.filter((ji,Wi)=>ji!==yt||Wi===es);const fl=xo[es-1],ns=xo[es+1];let ml=vr;ml===void 0&&((ns==null?void 0:ns.fixed)!==void 0?ml=ns.fixed:(fl==null?void 0:fl.fixed)!==void 0&&(ml=fl.fixed)),ml&&fl&&((No=fl[ni])===null||No===void 0?void 0:No.columnType)==="EXPAND_COLUMN"&&fl.fixed===void 0&&(fl.fixed=ml);const Kl=Ue()(`${ma}-selection-col`,{[`${ma}-selection-col-with-dropdown`]:ua&&pa==="checkbox"}),Us={fixed:ml,width:Zn,className:`${ma}-selection-column`,title:ve.columnTitle||Si,render:Fl,onCell:ve.onCell,[ni]:{className:Kl}};return xo.map(ji=>ji===yt?Us:ji)},[or,Bo,ve,mi,qi,Ji,Zn,Wo,$r,gi,Jo,qt,Ui,$o]),qi]},Pn=z(33463),zn=z(28575),fe=z(83062);const xe="ascend",be="descend";function dt(ge){return typeof ge.sorter=="object"&&typeof ge.sorter.multiple=="number"?ge.sorter.multiple:!1}function Ut(ge){return typeof ge=="function"?ge:ge&&typeof ge=="object"&&ge.compare?ge.compare:!1}function Cn(ge,ve){return ve?ge[ge.indexOf(ve)+1]:ge[0]}function On(ge,ve,Le){let Ve=[];function rt(ct,_t){Ve.push({column:ct,key:Ul(ct,_t),multiplePriority:dt(ct),sortOrder:ct.sortOrder})}return(ge||[]).forEach((ct,_t)=>{const on=ts(_t,Le);ct.children?("sortOrder"in ct&&rt(ct,on),Ve=[].concat((0,Go.Z)(Ve),(0,Go.Z)(On(ct.children,ve,on)))):ct.sorter&&("sortOrder"in ct?rt(ct,on):ve&&ct.defaultSortOrder&&Ve.push({column:ct,key:Ul(ct,on),multiplePriority:dt(ct),sortOrder:ct.defaultSortOrder}))}),Ve}function $t(ge,ve,Le,Ve,rt,ct,_t,on){return(ve||[]).map((Et,bt)=>{const un=ts(bt,on);let qt=Et;if(qt.sorter){const Zn=qt.sortDirections||rt,pa=qt.showSorterTooltip===void 0?_t:qt.showSorterTooltip,ua=Ul(qt,un),vr=Le.find($r=>{let{key:cr}=$r;return cr===ua}),nr=vr?vr.sortOrder:null,Pr=Cn(Zn,nr);let hn;if(Et.sortIcon)hn=Et.sortIcon({sortOrder:nr});else{const $r=Zn.includes(xe)&&se.createElement(zn.Z,{className:Ue()(`${ge}-column-sorter-up`,{active:nr===xe})}),cr=Zn.includes(be)&&se.createElement(Pn.Z,{className:Ue()(`${ge}-column-sorter-down`,{active:nr===be})});hn=se.createElement("span",{className:Ue()(`${ge}-column-sorter`,{[`${ge}-column-sorter-full`]:!!($r&&cr)})},se.createElement("span",{className:`${ge}-column-sorter-inner`,"aria-hidden":"true"},$r,cr))}const{cancelSort:ma,triggerAsc:Fa,triggerDesc:Aa}=ct||{};let Ia=ma;Pr===be?Ia=Aa:Pr===xe&&(Ia=Fa);const or=typeof pa=="object"?pa:{title:Ia};qt=Object.assign(Object.assign({},qt),{className:Ue()(qt.className,{[`${ge}-column-sort`]:nr}),title:$r=>{const cr=se.createElement("div",{className:`${ge}-column-sorters`},se.createElement("span",{className:`${ge}-column-title`},br(Et.title,$r)),hn);return pa?se.createElement(fe.Z,Object.assign({},or),cr):cr},onHeaderCell:$r=>{const cr=Et.onHeaderCell&&Et.onHeaderCell($r)||{},Ba=cr.onClick,Na=cr.onKeyDown;cr.onClick=to=>{Ve({column:Et,key:ua,sortOrder:Pr,multiplePriority:dt(Et)}),Ba==null||Ba(to)},cr.onKeyDown=to=>{to.keyCode===Ls.Z.ENTER&&(Ve({column:Et,key:ua,sortOrder:Pr,multiplePriority:dt(Et)}),Na==null||Na(to))};const $a=os(Et.title,{}),fr=$a==null?void 0:$a.toString();return nr?cr["aria-sort"]=nr==="ascend"?"ascending":"descending":cr["aria-label"]=fr||"",cr.className=Ue()(cr.className,`${ge}-column-has-sorters`),cr.tabIndex=0,Et.ellipsis&&(cr.title=($a!=null?$a:"").toString()),cr}})}return"children"in qt&&(qt=Object.assign(Object.assign({},qt),{children:$t(ge,qt.children,Le,Ve,rt,ct,_t,un)})),qt})}function Mt(ge){const{column:ve,sortOrder:Le}=ge;return{column:ve,order:Le,field:ve.dataIndex,columnKey:ve.key}}function Gt(ge){const ve=ge.filter(Le=>{let{sortOrder:Ve}=Le;return Ve}).map(Mt);return ve.length===0&&ge.length?Object.assign(Object.assign({},Mt(ge[ge.length-1])),{column:void 0}):ve.length<=1?ve[0]||{}:ve}function yn(ge,ve,Le){const Ve=ve.slice().sort((_t,on)=>on.multiplePriority-_t.multiplePriority),rt=ge.slice(),ct=Ve.filter(_t=>{let{column:{sorter:on},sortOrder:Et}=_t;return Ut(on)&&Et});return ct.length?rt.sort((_t,on)=>{for(let Et=0;Et<ct.length;Et+=1){const bt=ct[Et],{column:{sorter:un},sortOrder:qt}=bt,Zn=Ut(un);if(Zn&&qt){const pa=Zn(_t,on,qt);if(pa!==0)return qt===xe?pa:-pa}}return 0}).map(_t=>{const on=_t[Le];return on?Object.assign(Object.assign({},_t),{[Le]:yn(on,ve,Le)}):_t}):rt}function xt(ge){let{prefixCls:ve,mergedColumns:Le,onSorterChange:Ve,sortDirections:rt,tableLocale:ct,showSorterTooltip:_t}=ge;const[on,Et]=se.useState(On(Le,!0)),bt=se.useMemo(()=>{let ua=!0;const vr=On(Le,!1);if(!vr.length)return on;const nr=[];function Pr(ma){ua?nr.push(ma):nr.push(Object.assign(Object.assign({},ma),{sortOrder:null}))}let hn=null;return vr.forEach(ma=>{hn===null?(Pr(ma),ma.sortOrder&&(ma.multiplePriority===!1?ua=!1:hn=!0)):(hn&&ma.multiplePriority!==!1||(ua=!1),Pr(ma))}),nr},[Le,on]),un=se.useMemo(()=>{const ua=bt.map(vr=>{let{column:nr,sortOrder:Pr}=vr;return{column:nr,order:Pr}});return{sortColumns:ua,sortColumn:ua[0]&&ua[0].column,sortOrder:ua[0]&&ua[0].order}},[bt]);function qt(ua){let vr;ua.multiplePriority===!1||!bt.length||bt[0].multiplePriority===!1?vr=[ua]:vr=[].concat((0,Go.Z)(bt.filter(nr=>{let{key:Pr}=nr;return Pr!==ua.key})),[ua]),Et(vr),Ve(Gt(vr),vr)}return[ua=>$t(ve,ua,bt,qt,rt,ct,_t),bt,un,()=>Gt(bt)]}function Xt(ge,ve){return ge.map(Le=>{const Ve=Object.assign({},Le);return Ve.title=br(Le.title,ve),"children"in Ve&&(Ve.children=Xt(Ve.children,ve)),Ve})}function qn(ge){return[se.useCallback(Le=>Xt(Le,ge),[ge])]}var ea=Ho((ge,ve)=>{const{_renderTimes:Le}=ge,{_renderTimes:Ve}=ve;return Le!==Ve}),Ln=ki((ge,ve)=>{const{_renderTimes:Le}=ge,{_renderTimes:Ve}=ve;return Le!==Ve}),ra=z(84780),rn=z(14747),sa=z(67968),Ua=z(45503),xn=ge=>{const{componentCls:ve}=ge,Le=`${ge.lineWidth}px ${ge.lineType} ${ge.tableBorderColor}`,Ve=(rt,ct,_t)=>({[`&${ve}-${rt}`]:{[`> ${ve}-container`]:{[`> ${ve}-content, > ${ve}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ve}-expanded-row-fixed`]:{margin:`-${ct}px -${_t+ge.lineWidth}px`}}}}}});return{[`${ve}-wrapper`]:{[`${ve}${ve}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ve}-title`]:{border:Le,borderBottom:0},[`> ${ve}-container`]:{borderInlineStart:Le,borderTop:Le,[`
> ${ve}-content,
> ${ve}-header,
> ${ve}-body,
> ${ve}-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:Le},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Le},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ve}-cell-fix-right-first::after`]:{borderInlineEnd:Le}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ve}-expanded-row-fixed`]:{margin:`-${ge.tablePaddingVertical}px -${ge.tablePaddingHorizontal+ge.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ge.lineWidth,bottom:0,borderInlineEnd:Le,content:'""'}}}}}},[`&${ve}-scroll-horizontal`]:{[`> ${ve}-container > ${ve}-body`]:{"> table > tbody":{[`
> tr${ve}-expanded-row,
> tr${ve}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Ve("middle",ge.tablePaddingVerticalMiddle,ge.tablePaddingHorizontalMiddle)),Ve("small",ge.tablePaddingVerticalSmall,ge.tablePaddingHorizontalSmall)),{[`> ${ve}-footer`]:{border:Le,borderTop:0}}),[`${ve}-cell`]:{[`${ve}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ge.lineWidth}px 0 ${ge.lineWidth}px ${ge.tableHeaderBg}`}},[`${ve}-bordered ${ve}-cell-scrollbar`]:{borderInlineEnd:Le}}}},Mr=ge=>{const{componentCls:ve}=ge;return{[`${ve}-wrapper`]:{[`${ve}-cell-ellipsis`]:Object.assign(Object.assign({},rn.vS),{wordBreak:"keep-all",[`
&${ve}-cell-fix-left-last,
&${ve}-cell-fix-right-first
`]:{overflow:"visible",[`${ve}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ve}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Br=ge=>{const{componentCls:ve}=ge;return{[`${ve}-wrapper`]:{[`${ve}-tbody > tr${ve}-placeholder`]:{textAlign:"center",color:ge.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ge.colorBgContainer}}}}},eo=z(49867),tr=ge=>{const{componentCls:ve,antCls:Le,controlInteractiveSize:Ve,motionDurationSlow:rt,lineWidth:ct,paddingXS:_t,lineType:on,tableBorderColor:Et,tableExpandIconBg:bt,tableExpandColumnWidth:un,borderRadius:qt,fontSize:Zn,fontSizeSM:pa,lineHeight:ua,tablePaddingVertical:vr,tablePaddingHorizontal:nr,tableExpandedRowBg:Pr,paddingXXS:hn}=ge,ma=Ve/2-ct,Fa=ma*2+ct*3,Aa=`${ct}px ${on} ${Et}`,Ia=hn-ct;return{[`${ve}-wrapper`]:{[`${ve}-expand-icon-col`]:{width:un},[`${ve}-row-expand-icon-cell`]:{textAlign:"center",[`${ve}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ve}-row-indent`]:{height:1,float:"left"},[`${ve}-row-expand-icon`]:Object.assign(Object.assign({},(0,eo.N)(ge)),{position:"relative",float:"left",boxSizing:"border-box",width:Fa,height:Fa,padding:0,color:"inherit",lineHeight:`${Fa}px`,background:bt,border:Aa,borderRadius:qt,transform:`scale(${Ve/Fa})`,transition:`all ${rt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${rt} ease-out`,content:'""'},"&::before":{top:ma,insetInlineEnd:Ia,insetInlineStart:Ia,height:ct},"&::after":{top:Ia,bottom:Ia,insetInlineStart:ma,width:ct,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"}}),[`${ve}-row-indent + ${ve}-row-expand-icon`]:{marginTop:(Zn*ua-ct*3)/2-Math.ceil((pa*1.4-ct*3)/2),marginInlineEnd:_t},[`tr${ve}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Pr}},[`${Le}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ve}-expanded-row-fixed`]:{position:"relative",margin:`-${vr}px -${nr}px`,padding:`${vr}px ${nr}px`}}}},Rr=ge=>{const{componentCls:ve,antCls:Le,iconCls:Ve,tableFilterDropdownWidth:rt,tableFilterDropdownSearchWidth:ct,paddingXXS:_t,paddingXS:on,colorText:Et,lineWidth:bt,lineType:un,tableBorderColor:qt,tableHeaderIconColor:Zn,fontSizeSM:pa,tablePaddingHorizontal:ua,borderRadius:vr,motionDurationSlow:nr,colorTextDescription:Pr,colorPrimary:hn,tableHeaderFilterActiveBg:ma,colorTextDisabled:Fa,tableFilterDropdownBg:Aa,tableFilterDropdownHeight:Ia,controlItemBgHover:or,controlItemBgActive:$r,boxShadowSecondary:cr,filterDropdownMenuBg:Ba}=ge,Na=`${Le}-dropdown`,$a=`${ve}-filter-dropdown`,fr=`${Le}-tree`,to=`${bt}px ${un} ${qt}`;return[{[`${ve}-wrapper`]:{[`${ve}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ve}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-_t,marginInline:`${_t}px ${-ua/2}px`,padding:`0 ${_t}px`,color:Zn,fontSize:pa,borderRadius:vr,cursor:"pointer",transition:`all ${nr}`,"&:hover":{color:Pr,background:ma},"&.active":{color:hn}}}},{[`${Le}-dropdown`]:{[$a]:Object.assign(Object.assign({},(0,rn.Wf)(ge)),{minWidth:rt,backgroundColor:Aa,borderRadius:vr,boxShadow:cr,overflow:"hidden",[`${Na}-menu`]:{maxHeight:Ia,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Ba,"&:empty::after":{display:"block",padding:`${on}px 0`,color:Fa,fontSize:pa,textAlign:"center",content:'"Not Found"'}},[`${$a}-tree`]:{paddingBlock:`${on}px 0`,paddingInline:on,[fr]:{padding:0},[`${fr}-treenode ${fr}-node-content-wrapper:hover`]:{backgroundColor:or},[`${fr}-treenode-checkbox-checked ${fr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:$r}}},[`${$a}-search`]:{padding:on,borderBottom:to,"&-input":{input:{minWidth:ct},[Ve]:{color:Fa}}},[`${$a}-checkall`]:{width:"100%",marginBottom:_t,marginInlineStart:_t},[`${$a}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${on-bt}px ${on}px`,overflow:"hidden",borderTop:to}})}},{[`${Le}-dropdown ${$a}, ${$a}-submenu`]:{[`${Le}-checkbox-wrapper + span`]:{paddingInlineStart:on,color:Et},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Er=ge=>{const{componentCls:ve,lineWidth:Le,colorSplit:Ve,motionDurationSlow:rt,zIndexTableFixed:ct,tableBg:_t,zIndexTableSticky:on}=ge,Et=Ve;return{[`${ve}-wrapper`]:{[`
${ve}-cell-fix-left,
${ve}-cell-fix-right
`]:{position:"sticky !important",zIndex:ct,background:_t},[`
${ve}-cell-fix-left-first::after,
${ve}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Le,width:30,transform:"translateX(100%)",transition:`box-shadow ${rt}`,content:'""',pointerEvents:"none"},[`${ve}-cell-fix-left-all::after`]:{display:"none"},[`
${ve}-cell-fix-right-first::after,
${ve}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-Le,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${rt}`,content:'""',pointerEvents:"none"},[`${ve}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:on+1,width:30,transition:`box-shadow ${rt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ve}-ping-left`]:{[`&:not(${ve}-has-fix-left) ${ve}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Et}`}},[`
${ve}-cell-fix-left-first::after,
${ve}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Et}`},[`${ve}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ve}-ping-right`]:{[`&:not(${ve}-has-fix-right) ${ve}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Et}`}},[`
${ve}-cell-fix-right-first::after,
${ve}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Et}`}}}}},Gr=ge=>{const{componentCls:ve,antCls:Le}=ge;return{[`${ve}-wrapper`]:{[`${ve}-pagination${Le}-pagination`]:{margin:`${ge.margin}px 0`},[`${ve}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ge.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},So=ge=>{const{componentCls:ve,tableRadius:Le}=ge;return{[`${ve}-wrapper`]:{[ve]:{[`${ve}-title, ${ve}-header`]:{borderRadius:`${Le}px ${Le}px 0 0`},[`${ve}-title + ${ve}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ve}-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:Le,borderStartEndRadius:Le,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Le},"> *:last-child":{borderStartEndRadius:Le}}},"&-footer":{borderRadius:`0 0 ${Le}px ${Le}px`}}}}},jo=ge=>{const{componentCls:ve}=ge;return{[`${ve}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ve}-pagination-left`]:{justifyContent:"flex-end"},[`${ve}-pagination-right`]:{justifyContent:"flex-start"},[`${ve}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ve}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ve}-row-indent`]:{float:"right"}}}}},li=ge=>{const{componentCls:ve,antCls:Le,iconCls:Ve,fontSizeIcon:rt,padding:ct,paddingXS:_t,tableHeaderIconColor:on,tableHeaderIconColorHover:Et,tableSelectionColumnWidth:bt}=ge;return{[`${ve}-wrapper`]:{[`${ve}-selection-col`]:{width:bt,[`&${ve}-selection-col-with-dropdown`]:{width:bt+rt+ct/4}},[`${ve}-bordered ${ve}-selection-col`]:{width:bt+_t*2,[`&${ve}-selection-col-with-dropdown`]:{width:bt+rt+ct/4+_t*2}},[`
table tr th${ve}-selection-column,
table tr td${ve}-selection-column
`]:{paddingInlineEnd:ge.paddingXS,paddingInlineStart:ge.paddingXS,textAlign:"center",[`${Le}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ve}-selection-column${ve}-cell-fix-left`]:{zIndex:ge.zIndexTableFixed+1},[`table tr th${ve}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ve}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ve}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ge.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ge.tablePaddingHorizontal/4}px`,[Ve]:{color:on,fontSize:rt,verticalAlign:"baseline","&:hover":{color:Et}}}}}},Xo=ge=>{const{componentCls:ve}=ge,Le=(Ve,rt,ct,_t)=>({[`${ve}${ve}-${Ve}`]:{fontSize:_t,[`
${ve}-title,
${ve}-footer,
${ve}-cell,
${ve}-thead > tr > th,
${ve}-tbody > tr > th,
${ve}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${rt}px ${ct}px`},[`${ve}-filter-trigger`]:{marginInlineEnd:`-${ct/2}px`},[`${ve}-expanded-row-fixed`]:{margin:`-${rt}px -${ct}px`},[`${ve}-tbody`]:{[`${ve}-wrapper:only-child ${ve}`]:{marginBlock:`-${rt}px`,marginInline:`${ge.tableExpandColumnWidth-ct}px -${ct}px`}},[`${ve}-selection-column`]:{paddingInlineStart:`${ct/4}px`}}});return{[`${ve}-wrapper`]:Object.assign(Object.assign({},Le("middle",ge.tablePaddingVerticalMiddle,ge.tablePaddingHorizontalMiddle,ge.tableFontSizeMiddle)),Le("small",ge.tablePaddingVerticalSmall,ge.tablePaddingHorizontalSmall,ge.tableFontSizeSmall))}},Uo=ge=>{const{componentCls:ve,marginXXS:Le,fontSizeIcon:Ve,tableHeaderIconColor:rt,tableHeaderIconColorHover:ct}=ge;return{[`${ve}-wrapper`]:{[`${ve}-thead th${ve}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ge.motionDurationSlow}`,"&:hover":{background:ge.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ge.colorPrimary},[`
&${ve}-cell-fix-left:hover,
&${ve}-cell-fix-right:hover
`]:{background:ge.tableFixedHeaderSortActiveBg}},[`${ve}-thead th${ve}-column-sort`]:{background:ge.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ve}-column-sort`]:{background:ge.tableBodySortBg},[`${ve}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ve}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ve}-column-sorter`]:{marginInlineStart:Le,color:rt,fontSize:0,transition:`color ${ge.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ve,"&.active":{color:ge.colorPrimary}},[`${ve}-column-sorter-up + ${ve}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ve}-column-sorters:hover ${ve}-column-sorter`]:{color:ct}}}},Ao=ge=>{const{componentCls:ve,opacityLoading:Le,tableScrollThumbBg:Ve,tableScrollThumbBgHover:rt,tableScrollThumbSize:ct,tableScrollBg:_t,zIndexTableSticky:on,stickyScrollBarBorderRadius:Et}=ge,bt=`${ge.lineWidth}px ${ge.lineType} ${ge.tableBorderColor}`;return{[`${ve}-wrapper`]:{[`${ve}-sticky`]:{"&-holder":{position:"sticky",zIndex:on,background:ge.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${ct}px !important`,zIndex:on,display:"flex",alignItems:"center",background:_t,borderTop:bt,opacity:Le,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:ct,backgroundColor:Ve,borderRadius:Et,transition:`all ${ge.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:rt}}}}}}},Qo=ge=>{const{componentCls:ve,lineWidth:Le,tableBorderColor:Ve}=ge,rt=`${Le}px ${ge.lineType} ${Ve}`;return{[`${ve}-wrapper`]:{[`${ve}-summary`]:{position:"relative",zIndex:ge.zIndexTableFixed,background:ge.tableBg,"> tr":{"> th, > td":{borderBottom:rt}}},[`div${ve}-summary`]:{boxShadow:`0 -${Le}px 0 ${Ve}`}}}},fo=ge=>{const{componentCls:ve}=ge,Le=`${ge.lineWidth}px ${ge.lineType} ${ge.tableBorderColor}`,Ve=`${ve}-expanded-row-cell`;return{[`${ve}-wrapper`]:{[`${ve}-tbody-virtual`]:{[`${ve}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ve}-cell`]:{borderBottom:Le},[`${ve}-expanded-row`]:{[`${Ve}${Ve}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ge.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ve}-bordered`]:{[`${ve}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Le,position:"absolute"},[`${ve}-cell`]:{borderInlineEnd:Le,[`&${ve}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ge.lineWidth,borderInlineStart:Le}}}}}}};const Za=ge=>{const{componentCls:ve,fontWeightStrong:Le,tablePaddingVertical:Ve,tablePaddingHorizontal:rt,lineWidth:ct,lineType:_t,tableBorderColor:on,tableFontSize:Et,tableBg:bt,tableRadius:un,tableHeaderTextColor:qt,motionDurationMid:Zn,tableHeaderBg:pa,tableHeaderCellSplitColor:ua,tableRowHoverBg:vr,tableSelectedRowBg:nr,tableSelectedRowHoverBg:Pr,tableFooterTextColor:hn,tableFooterBg:ma,paddingContentVerticalLG:Fa}=ge,Aa=`${ct}px ${_t} ${on}`;return{[`${ve}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,rn.dF)()),{[ve]:Object.assign(Object.assign({},(0,rn.Wf)(ge)),{fontSize:Et,background:bt,borderRadius:`${un}px ${un}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${un}px ${un}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${ve}-cell,
${ve}-thead > tr > th,
${ve}-tbody > tr > th,
${ve}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${Fa}px ${rt}px`,overflowWrap:"break-word"},[`${ve}-title`]:{padding:`${Ve}px ${rt}px`},[`${ve}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:qt,fontWeight:Le,textAlign:"start",background:pa,borderBottom:Aa,transition:`background ${Zn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ve}-selection-column):not(${ve}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:ua,transform:"translateY(-50%)",transition:`background-color ${Zn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ve}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Zn}, border-color ${Zn}`,borderBottom:Aa,[`
> ${ve}-wrapper:only-child,
> ${ve}-expanded-row-fixed > ${ve}-wrapper:only-child
`]:{[ve]:{marginBlock:`-${Ve}px`,marginInline:`${ge.tableExpandColumnWidth-rt}px -${rt}px`,[`${ve}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:qt,fontWeight:Le,textAlign:"start",background:pa,borderBottom:Aa,transition:`background ${Zn} ease`},[`
&${ve}-row:hover > th,
&${ve}-row:hover > td,
> th${ve}-cell-row-hover,
> td${ve}-cell-row-hover
`]:{background:vr},[`&${ve}-row-selected`]:{"> th, > td":{background:nr},"&:hover > th, &:hover > td":{background:Pr}}}},[`${ve}-footer`]:{padding:`${Ve}px ${rt}px`,color:hn,background:ma}})}};var Vr=(0,sa.Z)("Table",ge=>{const{colorTextHeading:ve,colorSplit:Le,colorIcon:Ve,colorIconHover:rt,opacityLoading:ct,colorBgContainer:_t,controlInteractiveSize:on,headerBg:Et,headerColor:bt,headerSortActiveBg:un,headerSortHoverBg:qt,bodySortBg:Zn,rowHoverBg:pa,rowSelectedBg:ua,rowSelectedHoverBg:vr,rowExpandedBg:nr,cellPaddingBlock:Pr,cellPaddingInline:hn,cellPaddingBlockMD:ma,cellPaddingInlineMD:Fa,cellPaddingBlockSM:Aa,cellPaddingInlineSM:Ia,borderColor:or,footerBg:$r,footerColor:cr,headerBorderRadius:Ba,cellFontSize:Na,cellFontSizeMD:$a,cellFontSizeSM:fr,headerSplitColor:to,fixedHeaderSortActiveBg:ko,headerFilterHoverBg:Co,filterDropdownBg:Bo,expandIconBg:Jo,selectionColumnWidth:$o,stickyScrollBarBg:mi}=ge,xi=new ra.C(Ve),qi=new ra.C(rt),Ji=2,gi=(0,Ua.TS)(ge,{tableFontSize:Na,tableBg:_t,tableRadius:Ba,tablePaddingVertical:Pr,tablePaddingHorizontal:hn,tablePaddingVerticalMiddle:ma,tablePaddingHorizontalMiddle:Fa,tablePaddingVerticalSmall:Aa,tablePaddingHorizontalSmall:Ia,tableBorderColor:or,tableHeaderTextColor:bt,tableHeaderBg:Et,tableFooterTextColor:cr,tableFooterBg:$r,tableHeaderCellSplitColor:to,tableHeaderSortBg:un,tableHeaderSortHoverBg:qt,tableHeaderIconColor:xi.clone().setAlpha(xi.getAlpha()*ct).toRgbString(),tableHeaderIconColorHover:qi.clone().setAlpha(qi.getAlpha()*ct).toRgbString(),tableBodySortBg:Zn,tableFixedHeaderSortActiveBg:ko,tableHeaderFilterActiveBg:Co,tableFilterDropdownBg:Bo,tableRowHoverBg:pa,tableSelectedRowBg:ua,tableSelectedRowHoverBg:vr,zIndexTableFixed:Ji,zIndexTableSticky:Ji+1,tableFontSizeMiddle:$a,tableFontSizeSmall:fr,tableSelectionColumnWidth:$o,tableExpandIconBg:Jo,tableExpandColumnWidth:on+2*ge.padding,tableExpandedRowBg:nr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:mi,tableScrollThumbBgHover:ve,tableScrollBg:Le});return[Za(gi),Gr(gi),Qo(gi),Uo(gi),Rr(gi),xn(gi),So(gi),tr(gi),Qo(gi),Br(gi),li(gi),Er(gi),Ao(gi),Mr(gi),Xo(gi),jo(gi),fo(gi)]},ge=>{const{colorFillAlter:ve,colorBgContainer:Le,colorTextHeading:Ve,colorFillSecondary:rt,colorFillContent:ct,controlItemBgActive:_t,controlItemBgActiveHover:on,padding:Et,paddingSM:bt,paddingXS:un,colorBorderSecondary:qt,borderRadiusLG:Zn,fontSize:pa,controlHeight:ua,colorTextPlaceholder:vr}=ge,nr=new ra.C(rt).onBackground(Le).toHexShortString(),Pr=new ra.C(ct).onBackground(Le).toHexShortString(),hn=new ra.C(ve).onBackground(Le).toHexShortString();return{headerBg:hn,headerColor:Ve,headerSortActiveBg:nr,headerSortHoverBg:Pr,bodySortBg:hn,rowHoverBg:hn,rowSelectedBg:_t,rowSelectedHoverBg:on,rowExpandedBg:ve,cellPaddingBlock:Et,cellPaddingInline:Et,cellPaddingBlockMD:bt,cellPaddingInlineMD:un,cellPaddingBlockSM:un,cellPaddingInlineSM:un,borderColor:qt,headerBorderRadius:Zn,footerBg:hn,footerColor:Ve,cellFontSize:pa,cellFontSizeMD:pa,cellFontSizeSM:pa,headerSplitColor:qt,fixedHeaderSortActiveBg:nr,headerFilterHoverBg:ct,filterDropdownMenuBg:Le,filterDropdownBg:Le,expandIconBg:Le,selectionColumnWidth:ua,stickyScrollBarBg:vr,stickyScrollBarBorderRadius:100}});const Wr=[],ur=(ge,ve)=>{const{prefixCls:Le,className:Ve,rootClassName:rt,style:ct,size:_t,bordered:on,dropdownPrefixCls:Et,dataSource:bt,pagination:un,rowSelection:qt,rowKey:Zn="key",rowClassName:pa,columns:ua,children:vr,childrenColumnName:nr,onChange:Pr,getPopupContainer:hn,loading:ma,expandIcon:Fa,expandable:Aa,expandedRowRender:Ia,expandIconColumnIndex:or,indentSize:$r,scroll:cr,sortDirections:Ba,locale:Na,showSorterTooltip:$a=!0,virtual:fr}=ge,to=se.useMemo(()=>ua||Ka(vr),[ua,vr]),ko=se.useMemo(()=>to.some(Ti=>Ti.responsive),[to]),Co=(0,Jl.Z)(ko),Bo=se.useMemo(()=>{const Ti=new Set(Object.keys(Co).filter(el=>Co[el]));return to.filter(el=>!el.responsive||el.responsive.some(Bl=>Ti.has(Bl)))},[to,Co]),Jo=(0,ti.Z)(ge,["className","style","columns"]),{locale:$o=Al.Z,direction:mi,table:xi,renderEmpty:qi,getPrefixCls:Ji,getPopupContainer:gi}=se.useContext(Il.E_),tl=(0,cl.Z)(_t),wi=Object.assign(Object.assign({},$o.Table),Na),Ui=bt||Wr,Wo=Ji("table",Le),ui=Ji("dropdown",Et),Do=Object.assign({childrenColumnName:nr,expandIconColumnIndex:or},Aa),{childrenColumnName:No="children"}=Do,xo=se.useMemo(()=>Ui.some(Ti=>Ti==null?void 0:Ti[No])?"nest":Ia||Aa&&Aa.expandedRowRender?"row":null,[Ui]),Fo={body:se.useRef()},bi=se.useMemo(()=>typeof Zn=="function"?Zn:Ti=>Ti==null?void 0:Ti[Zn],[Zn]),[Oo]=pr(Ui,No,bi),ri={},Ci=function(Ti,el){let Bl=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var nl,Ll,zl;const Hl=Object.assign(Object.assign({},ri),Ti);Bl&&((nl=ri.resetPagination)===null||nl===void 0||nl.call(ri),!((Ll=Hl.pagination)===null||Ll===void 0)&&Ll.current&&(Hl.pagination.current=1),un&&un.onChange&&un.onChange(1,(zl=Hl.pagination)===null||zl===void 0?void 0:zl.pageSize)),cr&&cr.scrollToFirstRowOnChange!==!1&&Fo.body.current&&(0,gl.Z)(0,{getContainer:()=>Fo.body.current}),Pr==null||Pr(Hl.pagination,Hl.filters,Hl.sorter,{currentDataSource:Ga(yn(Ui,Hl.sorterStates,No),Hl.filterStates),action:el})},Si=(Ti,el)=>{Ci({sorter:Ti,sorterStates:el},"sort",!1)},[bl,Fl,es,fl]=xt({prefixCls:Wo,mergedColumns:Bo,onSorterChange:Si,sortDirections:Ba||["ascend","descend"],tableLocale:wi,showSorterTooltip:$a}),ns=se.useMemo(()=>yn(Ui,Fl,No),[Ui,Fl]);ri.sorter=fl(),ri.sorterStates=Fl;const ml=(Ti,el)=>{Ci({filters:Ti,filterStates:el},"filter",!0)},[Kl,Us,ji]=Zr({prefixCls:Wo,locale:wi,dropdownPrefixCls:ui,mergedColumns:Bo,onFilterChange:ml,getPopupContainer:hn||gi}),Wi=Ga(ns,Us);ri.filters=ji,ri.filterStates=Us;const il=se.useMemo(()=>{const Ti={};return Object.keys(ji).forEach(el=>{ji[el]!==null&&(Ti[el]=ji[el])}),Object.assign(Object.assign({},es),{filters:Ti})},[es,ji]),[pl]=qn(il),dl=(Ti,el)=>{Ci({pagination:Object.assign(Object.assign({},ri.pagination),{current:Ti,pageSize:el})},"paginate")},[Ni,Ol]=Ko(Wi.length,dl,un);ri.pagination=un===!1?{}:Po(Ni,un),ri.resetPagination=Ol;const Cl=se.useMemo(()=>{if(un===!1||!Ni.pageSize)return Wi;const{current:Ti=1,total:el,pageSize:Bl=no}=Ni;return Wi.length<el?Wi.length>Bl?Wi.slice((Ti-1)*Bl,Ti*Bl):Wi:Wi.slice((Ti-1)*Bl,Ti*Bl)},[!!un,Wi,Ni&&Ni.current,Ni&&Ni.pageSize,Ni&&Ni.total]),[_l,us]=kn({prefixCls:Wo,data:Wi,pageData:Cl,getRowKey:bi,getRecordByKey:Oo,expandType:xo,childrenColumnName:No,locale:wi,getPopupContainer:hn||gi},qt),cs=(Ti,el,Bl)=>{let nl;return typeof pa=="function"?nl=Ue()(pa(Ti,el,Bl)):nl=Ue()(pa),Ue()({[`${Wo}-row-selected`]:us.has(bi(Ti,el))},nl)};Do.__PARENT_RENDER_ICON__=Do.expandIcon,Do.expandIcon=Do.expandIcon||Fa||ho(wi),xo==="nest"&&Do.expandIconColumnIndex===void 0?Do.expandIconColumnIndex=qt?1:0:Do.expandIconColumnIndex>0&&qt&&(Do.expandIconColumnIndex-=1),typeof Do.indentSize!="number"&&(Do.indentSize=typeof $r=="number"?$r:15);const Vs=se.useCallback(Ti=>pl(_l(Kl(bl(Ti)))),[bl,Kl,_l]);let xs,as;if(un!==!1&&(Ni!=null&&Ni.total)){let Ti;Ni.size?Ti=Ni.size:Ti=tl==="small"||tl==="middle"?"small":void 0;const el=Ll=>se.createElement(vl.Z,Object.assign({},Ni,{className:Ue()(`${Wo}-pagination ${Wo}-pagination-${Ll}`,Ni.className),size:Ti})),Bl=mi==="rtl"?"left":"right",{position:nl}=Ni;if(nl!==null&&Array.isArray(nl)){const Ll=nl.find(Fs=>Fs.includes("top")),zl=nl.find(Fs=>Fs.includes("bottom")),Hl=nl.every(Fs=>`${Fs}`=="none");!Ll&&!zl&&!Hl&&(as=el(Bl)),Ll&&(xs=el(Ll.toLowerCase().replace("top",""))),zl&&(as=el(zl.toLowerCase().replace("bottom","")))}else as=el(Bl)}let xl;typeof ma=="boolean"?xl={spinning:ma}:typeof ma=="object"&&(xl=Object.assign({spinning:!0},ma));const[Rl,hl]=Vr(Wo),[,ll]=(0,Ws.Z)(),ms=Ue()(`${Wo}-wrapper`,xi==null?void 0:xi.className,{[`${Wo}-wrapper-rtl`]:mi==="rtl"},Ve,rt,hl),ws=Object.assign(Object.assign({},xi==null?void 0:xi.style),ct),Ms=Na&&Na.emptyText||(qi==null?void 0:qi("Table"))||se.createElement(Ql.Z,{componentName:"Table"}),vs=fr?Ln:ea,ru={},du=se.useMemo(()=>{const{fontSize:Ti,lineHeight:el,padding:Bl,paddingXS:nl,paddingSM:Ll}=ll,zl=Math.floor(Ti*el);switch(tl){case"large":return Bl*2+zl;case"small":return nl*2+zl;default:return Ll*2+zl}},[ll,tl]);return fr&&(ru.listItemHeight=du),Rl(se.createElement("div",{ref:ve,className:ms,style:ws},se.createElement(ps.Z,Object.assign({spinning:!1},xl),xs,se.createElement(vs,Object.assign({},ru,Jo,{columns:Bo,direction:mi,expandable:Do,prefixCls:Wo,className:Ue()({[`${Wo}-middle`]:tl==="middle",[`${Wo}-small`]:tl==="small",[`${Wo}-bordered`]:on,[`${Wo}-empty`]:Ui.length===0}),data:Cl,rowKey:bi,rowClassName:cs,emptyText:Ms,internalHooks:ie,internalRefs:Fo,transformColumns:Vs})),as)))};var yo=se.forwardRef(ur);const di=(ge,ve)=>{const Le=se.useRef(0);return Le.current+=1,se.createElement(yo,Object.assign({},ge,{ref:ve,_renderTimes:Le.current}))},Pi=se.forwardRef(di);Pi.SELECTION_COLUMN=yt,Pi.EXPAND_COLUMN=x,Pi.SELECTION_ALL=Zt,Pi.SELECTION_INVERT=Xe,Pi.SELECTION_NONE=it,Pi.Column=Hi,Pi.ColumnGroup=Nl,Pi.Summary=ot;var Di=Pi,Ri=Di},66309:function(Jt,zt,z){"use strict";z.d(zt,{default:function(){return Oe}});var x=z(67294),ie=z(73475),Ce=z(94184),Re=z.n(Ce),ye=z(98787),Te=z(69760),se=z(45353),nt=z(53124),Me=z(14747),ze=z(45503),Ze=z(67968);const de=he=>{const{paddingXXS:Ke,lineWidth:Ue,tagPaddingHorizontal:$e,componentCls:Fe}=he,at=$e-Ue,lt=Ke-Ue;return{[Fe]:Object.assign(Object.assign({},(0,Me.Wf)(he)),{display:"inline-block",height:"auto",marginInlineEnd:he.marginXS,paddingInline:at,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",[`&${Fe}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:he.defaultColor},[`${Fe}-close-icon`]:{marginInlineStart:lt,color:he.colorTextDescription,fontSize:he.tagIconSize,cursor:"pointer",transition:`all ${he.motionDurationMid}`,"&:hover":{color:he.colorTextHeading}},[`&${Fe}-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(${Fe}-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:at}}),[`${Fe}-borderless`]:{borderColor:"transparent",background:he.tagBorderlessBg}}},_e=he=>{const{lineWidth:Ke,fontSizeIcon:Ue}=he,$e=he.fontSizeSM,Fe=`${he.lineHeightSM*$e}px`;return(0,ze.TS)(he,{tagFontSize:$e,tagLineHeight:Fe,tagIconSize:Ue-2*Ke,tagPaddingHorizontal:8,tagBorderlessBg:he.colorFillTertiary})},ue=he=>({defaultBg:he.colorFillQuaternary,defaultColor:he.colorText});var y=(0,Ze.Z)("Tag",he=>{const Ke=_e(he);return de(Ke)},ue),a=function(he,Ke){var Ue={};for(var $e in he)Object.prototype.hasOwnProperty.call(he,$e)&&Ke.indexOf($e)<0&&(Ue[$e]=he[$e]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,$e=Object.getOwnPropertySymbols(he);Fe<$e.length;Fe++)Ke.indexOf($e[Fe])<0&&Object.prototype.propertyIsEnumerable.call(he,$e[Fe])&&(Ue[$e[Fe]]=he[$e[Fe]]);return Ue},E=he=>{const{prefixCls:Ke,style:Ue,className:$e,checked:Fe,onChange:at,onClick:lt}=he,ft=a(he,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:ut,tag:St}=x.useContext(nt.E_),jt=mn=>{at==null||at(!Fe),lt==null||lt(mn)},Vn=ut("tag",Ke),[fa,mt]=y(Vn),ht=Re()(Vn,`${Vn}-checkable`,{[`${Vn}-checkable-checked`]:Fe},St==null?void 0:St.className,$e,mt);return fa(x.createElement("span",Object.assign({},ft,{style:Object.assign(Object.assign({},Ue),St==null?void 0:St.style),className:ht,onClick:jt})))},ee=z(98719);const te=he=>(0,ee.Z)(he,(Ke,Ue)=>{let{textColor:$e,lightBorderColor:Fe,lightColor:at,darkColor:lt}=Ue;return{[`${he.componentCls}-${Ke}`]:{color:$e,background:at,borderColor:Fe,"&-inverse":{color:he.colorTextLightSolid,background:lt,borderColor:lt},[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,Ze.b)(["Tag","preset"],he=>{const Ke=_e(he);return te(Ke)},ue);function oe(he){return typeof he!="string"?he:he.charAt(0).toUpperCase()+he.slice(1)}const ce=(he,Ke,Ue)=>{const $e=oe(Ue);return{[`${he.componentCls}-${Ke}`]:{color:he[`color${Ue}`],background:he[`color${$e}Bg`],borderColor:he[`color${$e}Border`],[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}};var pe=(0,Ze.b)(["Tag","status"],he=>{const Ke=_e(he);return[ce(Ke,"success","Success"),ce(Ke,"processing","Info"),ce(Ke,"error","Error"),ce(Ke,"warning","Warning")]},ue),Pe=function(he,Ke){var Ue={};for(var $e in he)Object.prototype.hasOwnProperty.call(he,$e)&&Ke.indexOf($e)<0&&(Ue[$e]=he[$e]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,$e=Object.getOwnPropertySymbols(he);Fe<$e.length;Fe++)Ke.indexOf($e[Fe])<0&&Object.prototype.propertyIsEnumerable.call(he,$e[Fe])&&(Ue[$e[Fe]]=he[$e[Fe]]);return Ue};const He=(he,Ke)=>{const{prefixCls:Ue,className:$e,rootClassName:Fe,style:at,children:lt,icon:ft,color:ut,onClose:St,closeIcon:jt,closable:Vn,bordered:fa=!0}=he,mt=Pe(he,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:ht,direction:mn,tag:oa}=x.useContext(nt.E_),[Sn,Kn]=x.useState(!0);x.useEffect(()=>{"visible"in mt&&Kn(mt.visible)},[mt.visible]);const Ye=(0,ye.o2)(ut),_n=(0,ye.yT)(ut),ca=Ye||_n,ln=Object.assign(Object.assign({backgroundColor:ut&&!ca?ut:void 0},oa==null?void 0:oa.style),at),At=ht("tag",Ue),[cn,We]=y(At),Be=Re()(At,oa==null?void 0:oa.className,{[`${At}-${ut}`]:ca,[`${At}-has-color`]:ut&&!ca,[`${At}-hidden`]:!Sn,[`${At}-rtl`]:mn==="rtl",[`${At}-borderless`]:!fa},$e,Fe,We),Je=Nn=>{Nn.stopPropagation(),St==null||St(Nn),!Nn.defaultPrevented&&Kn(!1)},[,vt]=(0,Te.Z)(Vn,jt,Nn=>Nn===null?x.createElement(ie.Z,{className:`${At}-close-icon`,onClick:Je}):x.createElement("span",{className:`${At}-close-icon`,onClick:Je},Nn),null,!1),Vt=typeof mt.onClick=="function"||lt&&lt.type==="a",dn=ft||null,ta=dn?x.createElement(x.Fragment,null,dn,lt&&x.createElement("span",null,lt)):lt,vn=x.createElement("span",Object.assign({},mt,{ref:Ke,className:Be,style:ln}),ta,vt,Ye&&x.createElement(re,{key:"preset",prefixCls:At}),_n&&x.createElement(pe,{key:"status",prefixCls:At}));return cn(Vt?x.createElement(se.Z,{component:"Tag"},vn):vn)},ke=x.forwardRef(He);ke.CheckableTag=E;var Oe=ke},48305:function(Jt,zt,z){"use strict";z.d(zt,{default:function(){return Ko}});var x=z(94184),ie=z.n(x),Ce=z(87462),Re=z(74902),ye=z(1413),Te=z(97685),se=z(45987),nt=z(71002),Me=z(4942),ze=z(21770),Ze=z(80334),de=z(67294),_e=z(8410),ue=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var Ee=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(Ee)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(Ee==null?void 0:Ee.substr(0,4))},y=z(15105),a=z(42550),b=function(Ie){var pt=Ie.className,Se=Ie.customizeIcon,st=Ie.customizeIconProps,yt=Ie.onMouseDown,Zt=Ie.onClick,Xe=Ie.children,it;return typeof Se=="function"?it=Se(st):it=Se,de.createElement("span",{className:pt,onMouseDown:function(en){en.preventDefault(),yt&&yt(en)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Zt,"aria-hidden":!0},it!==void 0?it:de.createElement("span",{className:ie()(pt.split(/\s+/).map(function(gt){return"".concat(gt,"-icon")}))},Xe))},E=b;function ee(Ee,Ie,pt,Se,st){var yt=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Zt=arguments.length>6?arguments[6]:void 0,Xe=arguments.length>7?arguments[7]:void 0,it=de.useMemo(function(){if((0,nt.Z)(Se)==="object")return Se.clearIcon;if(st)return st},[Se,st]),gt=de.useMemo(function(){return!!(!yt&&Se&&(pt.length||Zt)&&!(Xe==="combobox"&&Zt===""))},[Se,yt,pt.length,Zt,Xe]);return{allowClear:gt,clearIcon:de.createElement(E,{className:"".concat(Ee,"-clear"),onMouseDown:Ie,customizeIcon:it},"\xD7")}}var te=de.createContext(null);function re(){return de.useContext(te)}function oe(){var Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ie=de.useState(!1),pt=(0,Te.Z)(Ie,2),Se=pt[0],st=pt[1],yt=de.useRef(null),Zt=function(){window.clearTimeout(yt.current)};de.useEffect(function(){return Zt},[]);var Xe=function(gt,en){Zt(),yt.current=window.setTimeout(function(){st(gt),en&&en()},Ee)};return[Se,Xe,Zt]}function ce(){var Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ie=de.useRef(null),pt=de.useRef(null);de.useEffect(function(){return function(){window.clearTimeout(pt.current)}},[]);function Se(st){(st||Ie.current===null)&&(Ie.current=st),window.clearTimeout(pt.current),pt.current=window.setTimeout(function(){Ie.current=null},Ee)}return[function(){return Ie.current},Se]}function pe(Ee,Ie,pt,Se){var st=de.useRef(null);st.current={open:Ie,triggerOpen:pt,customizedTrigger:Se},de.useEffect(function(){function yt(Zt){var Xe;if(!((Xe=st.current)!==null&&Xe!==void 0&&Xe.customizedTrigger)){var it=Zt.target;it.shadowRoot&&Zt.composed&&(it=Zt.composedPath()[0]||it),st.current.open&&Ee().filter(function(gt){return gt}).every(function(gt){return!gt.contains(it)&&gt!==it})&&st.current.triggerOpen(!1)}}return window.addEventListener("mousedown",yt),function(){return window.removeEventListener("mousedown",yt)}},[])}var Pe=z(64217),He=z(48555);function ke(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Oe=ke()?de.useLayoutEffect:de.useEffect,he=function(Ie,pt){var Se=de.useRef(!0);Oe(function(){return Ie(Se.current)},pt),Oe(function(){return Se.current=!1,function(){Se.current=!0}},[])},Ke=function(Ie,pt){he(function(Se){if(!Se)return Ie()},pt)},Ue=he,$e=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Fe=void 0;function at(Ee,Ie){var pt=Ee.prefixCls,Se=Ee.invalidate,st=Ee.item,yt=Ee.renderItem,Zt=Ee.responsive,Xe=Ee.responsiveDisabled,it=Ee.registerSize,gt=Ee.itemKey,en=Ee.className,pn=Ee.style,kn=Ee.children,Pn=Ee.display,zn=Ee.order,fe=Ee.component,xe=fe===void 0?"div":fe,be=(0,se.Z)(Ee,$e),dt=Zt&&!Pn;function Ut(Gt){it(gt,Gt)}de.useEffect(function(){return function(){Ut(null)}},[]);var Cn=yt&&st!==Fe?yt(st):kn,On;Se||(On={opacity:dt?0:1,height:dt?0:Fe,overflowY:dt?"hidden":Fe,order:Zt?zn:Fe,pointerEvents:dt?"none":Fe,position:dt?"absolute":Fe});var $t={};dt&&($t["aria-hidden"]=!0);var Mt=de.createElement(xe,(0,Ce.Z)({className:ie()(!Se&&pt,en),style:(0,ye.Z)((0,ye.Z)({},On),pn)},$t,be,{ref:Ie}),Cn);return Zt&&(Mt=de.createElement(He.Z,{onResize:function(yn){var xt=yn.offsetWidth;Ut(xt)},disabled:Xe},Mt)),Mt}var lt=de.forwardRef(at);lt.displayName="Item";var ft=lt;function ut(Ee){var Ie=de.useRef();Ie.current=Ee;var pt=de.useCallback(function(){for(var Se,st=arguments.length,yt=new Array(st),Zt=0;Zt<st;Zt++)yt[Zt]=arguments[Zt];return(Se=Ie.current)===null||Se===void 0?void 0:Se.call.apply(Se,[Ie].concat(yt))},[]);return pt}var St=z(73935),jt=function(Ie){return+setTimeout(Ie,16)},Vn=function(Ie){return clearTimeout(Ie)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(jt=function(Ie){return window.requestAnimationFrame(Ie)},Vn=function(Ie){return window.cancelAnimationFrame(Ie)});var fa=0,mt=new Map;function ht(Ee){mt.delete(Ee)}var mn=function(Ie){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;fa+=1;var Se=fa;function st(yt){if(yt===0)ht(Se),Ie();else{var Zt=jt(function(){st(yt-1)});mt.set(Se,Zt)}}return st(pt),Se};mn.cancel=function(Ee){var Ie=mt.get(Ee);return ht(Ie),Vn(Ie)};var oa=mn;function Sn(Ee){if(typeof MessageChannel=="undefined")oa(Ee);else{var Ie=new MessageChannel;Ie.port1.onmessage=function(){return Ee()},Ie.port2.postMessage(void 0)}}function Kn(){var Ee=de.useRef(null),Ie=function(Se){Ee.current||(Ee.current=[],Sn(function(){(0,St.unstable_batchedUpdates)(function(){Ee.current.forEach(function(st){st()}),Ee.current=null})})),Ee.current.push(Se)};return Ie}function Ye(Ee,Ie){var pt=de.useState(Ie),Se=(0,Te.Z)(pt,2),st=Se[0],yt=Se[1],Zt=ut(function(Xe){Ee(function(){yt(Xe)})});return[st,Zt]}var _n=de.createContext(null),ca=["component"],ln=["className"],At=["className"],cn=function(Ie,pt){var Se=de.useContext(_n);if(!Se){var st=Ie.component,yt=st===void 0?"div":st,Zt=(0,se.Z)(Ie,ca);return de.createElement(yt,(0,Ce.Z)({},Zt,{ref:pt}))}var Xe=Se.className,it=(0,se.Z)(Se,ln),gt=Ie.className,en=(0,se.Z)(Ie,At);return de.createElement(_n.Provider,{value:null},de.createElement(ft,(0,Ce.Z)({ref:pt,className:ie()(Xe,gt)},it,en)))},We=de.forwardRef(cn);We.displayName="RawItem";var Be=We,Je=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],vt="responsive",Vt="invalidate";function dn(Ee){return"+ ".concat(Ee.length," ...")}function ta(Ee,Ie){var pt=Ee.prefixCls,Se=pt===void 0?"rc-overflow":pt,st=Ee.data,yt=st===void 0?[]:st,Zt=Ee.renderItem,Xe=Ee.renderRawItem,it=Ee.itemKey,gt=Ee.itemWidth,en=gt===void 0?10:gt,pn=Ee.ssr,kn=Ee.style,Pn=Ee.className,zn=Ee.maxCount,fe=Ee.renderRest,xe=Ee.renderRawRest,be=Ee.suffix,dt=Ee.component,Ut=dt===void 0?"div":dt,Cn=Ee.itemComponent,On=Ee.onVisibleChange,$t=(0,se.Z)(Ee,Je),Mt=pn==="full",Gt=Kn(),yn=Ye(Gt,null),xt=(0,Te.Z)(yn,2),Xt=xt[0],qn=xt[1],ea=Xt||0,Ln=Ye(Gt,new Map),ra=(0,Te.Z)(Ln,2),rn=ra[0],sa=ra[1],Ua=Ye(Gt,0),Fn=(0,Te.Z)(Ua,2),xn=Fn[0],wr=Fn[1],Mr=Ye(Gt,0),qr=(0,Te.Z)(Mr,2),Br=qr[0],eo=qr[1],Ra=Ye(Gt,0),tr=(0,Te.Z)(Ra,2),Va=tr[0],Rr=tr[1],jr=(0,de.useState)(null),Er=(0,Te.Z)(jr,2),io=Er[0],Gr=Er[1],Ur=(0,de.useState)(null),So=(0,Te.Z)(Ur,2),Ro=So[0],jo=So[1],Mo=de.useMemo(function(){return Ro===null&&Mt?Number.MAX_SAFE_INTEGER:Ro||0},[Ro,Xt]),li=(0,de.useState)(!1),oi=(0,Te.Z)(li,2),Xo=oi[0],Yo=oi[1],Uo="".concat(Se,"-item"),lo=Math.max(xn,Br),Ao=zn===vt,si=yt.length&&Ao,Qo=zn===Vt,Ei=si||typeof zn=="number"&&yt.length>zn,fo=(0,de.useMemo)(function(){var Et=yt;return si?Xt===null&&Mt?Et=yt:Et=yt.slice(0,Math.min(yt.length,ea/en)):typeof zn=="number"&&(Et=yt.slice(0,zn)),Et},[yt,en,Xt,zn,si]),Za=(0,de.useMemo)(function(){return si?yt.slice(Mo+1):yt.slice(fo.length)},[yt,fo,si,Mo]),Vr=(0,de.useCallback)(function(Et,bt){var un;return typeof it=="function"?it(Et):(un=it&&(Et==null?void 0:Et[it]))!==null&&un!==void 0?un:bt},[it]),Wr=(0,de.useCallback)(Zt||function(Et){return Et},[Zt]);function ur(Et,bt,un){Ro===Et&&(bt===void 0||bt===io)||(jo(Et),un||(Yo(Et<yt.length-1),On==null||On(Et)),bt!==void 0&&Gr(bt))}function yo(Et,bt){qn(bt.clientWidth)}function di(Et,bt){sa(function(un){var qt=new Map(un);return bt===null?qt.delete(Et):qt.set(Et,bt),qt})}function Pi(Et,bt){eo(bt),wr(Br)}function Di(Et,bt){Rr(bt)}function Ri(Et){return rn.get(Vr(fo[Et],Et))}Ue(function(){if(ea&&typeof lo=="number"&&fo){var Et=Va,bt=fo.length,un=bt-1;if(!bt){ur(0,null);return}for(var qt=0;qt<bt;qt+=1){var Zn=Ri(qt);if(Mt&&(Zn=Zn||0),Zn===void 0){ur(qt-1,void 0,!0);break}if(Et+=Zn,un===0&&Et<=ea||qt===un-1&&Et+Ri(un)<=ea){ur(un,null);break}else if(Et+lo>ea){ur(qt-1,Et-Zn-Va+Br);break}}be&&Ri(0)+Va>ea&&Gr(null)}},[ea,rn,Br,Va,Vr,fo]);var ge=Xo&&!!Za.length,ve={};io!==null&&si&&(ve={position:"absolute",left:io,top:0});var Le={prefixCls:Uo,responsive:si,component:Cn,invalidate:Qo},Ve=Xe?function(Et,bt){var un=Vr(Et,bt);return de.createElement(_n.Provider,{key:un,value:(0,ye.Z)((0,ye.Z)({},Le),{},{order:bt,item:Et,itemKey:un,registerSize:di,display:bt<=Mo})},Xe(Et,bt))}:function(Et,bt){var un=Vr(Et,bt);return de.createElement(ft,(0,Ce.Z)({},Le,{order:bt,key:un,item:Et,renderItem:Wr,itemKey:un,registerSize:di,display:bt<=Mo}))},rt,ct={order:ge?Mo:Number.MAX_SAFE_INTEGER,className:"".concat(Uo,"-rest"),registerSize:Pi,display:ge};if(xe)xe&&(rt=de.createElement(_n.Provider,{value:(0,ye.Z)((0,ye.Z)({},Le),ct)},xe(Za)));else{var _t=fe||dn;rt=de.createElement(ft,(0,Ce.Z)({},Le,ct),typeof _t=="function"?_t(Za):_t)}var on=de.createElement(Ut,(0,Ce.Z)({className:ie()(!Qo&&Se,Pn),style:kn,ref:Ie},$t),fo.map(Ve),Ei?rt:null,be&&de.createElement(ft,(0,Ce.Z)({},Le,{responsive:Ao,responsiveDisabled:!si,order:Mo,className:"".concat(Uo,"-suffix"),registerSize:Di,display:!0,style:ve}),be));return Ao&&(on=de.createElement(He.Z,{onResize:yo,disabled:!si},on)),on}var vn=de.forwardRef(ta);vn.displayName="Overflow",vn.Item=Be,vn.RESPONSIVE=vt,vn.INVALIDATE=Vt;var Nn=vn,ia=Nn,et=function(Ie,pt){var Se,st,yt=Ie.prefixCls,Zt=Ie.id,Xe=Ie.inputElement,it=Ie.disabled,gt=Ie.tabIndex,en=Ie.autoFocus,pn=Ie.autoComplete,kn=Ie.editable,Pn=Ie.activeDescendantId,zn=Ie.value,fe=Ie.maxLength,xe=Ie.onKeyDown,be=Ie.onMouseDown,dt=Ie.onChange,Ut=Ie.onPaste,Cn=Ie.onCompositionStart,On=Ie.onCompositionEnd,$t=Ie.open,Mt=Ie.attrs,Gt=Xe||de.createElement("input",null),yn=Gt,xt=yn.ref,Xt=yn.props,qn=Xt.onKeyDown,ea=Xt.onChange,Ln=Xt.onMouseDown,ra=Xt.onCompositionStart,rn=Xt.onCompositionEnd,sa=Xt.style;return(0,Ze.Kp)(!("maxLength"in Gt.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Gt=de.cloneElement(Gt,(0,ye.Z)((0,ye.Z)((0,ye.Z)({type:"search"},Xt),{},{id:Zt,ref:(0,a.sQ)(pt,xt),disabled:it,tabIndex:gt,autoComplete:pn||"off",autoFocus:en,className:ie()("".concat(yt,"-selection-search-input"),(Se=Gt)===null||Se===void 0||(st=Se.props)===null||st===void 0?void 0:st.className),role:"combobox","aria-label":"Search","aria-expanded":$t||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Zt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Zt,"_list"),"aria-activedescendant":$t?Pn:void 0},Mt),{},{value:kn?zn:"",maxLength:fe,readOnly:!kn,unselectable:kn?null:"on",style:(0,ye.Z)((0,ye.Z)({},sa),{},{opacity:kn?null:0}),onKeyDown:function(Fn){xe(Fn),qn&&qn(Fn)},onMouseDown:function(Fn){be(Fn),Ln&&Ln(Fn)},onChange:function(Fn){dt(Fn),ea&&ea(Fn)},onCompositionStart:function(Fn){Cn(Fn),ra&&ra(Fn)},onCompositionEnd:function(Fn){On(Fn),rn&&rn(Fn)},onPaste:Ut})),Gt},Ot=de.forwardRef(et);Ot.displayName="Input";var Pa=Ot;function An(Ee){return Array.isArray(Ee)?Ee:Ee!==void 0?[Ee]:[]}var Ft=typeof window!="undefined"&&window.document&&window.document.documentElement,ya=Ft;function ot(Ee){return Ee!=null}function Tt(Ee){return!Ee&&Ee!==0}function nn(Ee){return["string","number"].includes((0,nt.Z)(Ee))}function Rt(Ee){var Ie=void 0;return Ee&&(nn(Ee.title)?Ie=Ee.title.toString():nn(Ee.label)&&(Ie=Ee.label.toString())),Ie}function Lt(Ee,Ie){ya?de.useLayoutEffect(Ee,Ie):de.useEffect(Ee,Ie)}function na(Ee){var Ie;return(Ie=Ee.key)!==null&&Ie!==void 0?Ie:Ee.value}var va=function(Ie){Ie.preventDefault(),Ie.stopPropagation()},ha=function(Ie){var pt=Ie.id,Se=Ie.prefixCls,st=Ie.values,yt=Ie.open,Zt=Ie.searchValue,Xe=Ie.autoClearSearchValue,it=Ie.inputRef,gt=Ie.placeholder,en=Ie.disabled,pn=Ie.mode,kn=Ie.showSearch,Pn=Ie.autoFocus,zn=Ie.autoComplete,fe=Ie.activeDescendantId,xe=Ie.tabIndex,be=Ie.removeIcon,dt=Ie.maxTagCount,Ut=Ie.maxTagTextLength,Cn=Ie.maxTagPlaceholder,On=Cn===void 0?function(Gr){return"+ ".concat(Gr.length," ...")}:Cn,$t=Ie.tagRender,Mt=Ie.onToggleOpen,Gt=Ie.onRemove,yn=Ie.onInputChange,xt=Ie.onInputPaste,Xt=Ie.onInputKeyDown,qn=Ie.onInputMouseDown,ea=Ie.onInputCompositionStart,Ln=Ie.onInputCompositionEnd,ra=de.useRef(null),rn=(0,de.useState)(0),sa=(0,Te.Z)(rn,2),Ua=sa[0],Fn=sa[1],xn=(0,de.useState)(!1),wr=(0,Te.Z)(xn,2),Mr=wr[0],qr=wr[1],Br="".concat(Se,"-selection"),eo=yt||pn==="multiple"&&Xe===!1||pn==="tags"?Zt:"",Ra=pn==="tags"||pn==="multiple"&&Xe===!1||kn&&(yt||Mr);Lt(function(){Fn(ra.current.scrollWidth)},[eo]);function tr(Gr,Ur,So,Ro,jo){return de.createElement("span",{className:ie()("".concat(Br,"-item"),(0,Me.Z)({},"".concat(Br,"-item-disabled"),So)),title:Rt(Gr)},de.createElement("span",{className:"".concat(Br,"-item-content")},Ur),Ro&&de.createElement(E,{className:"".concat(Br,"-item-remove"),onMouseDown:va,onClick:jo,customizeIcon:be},"\xD7"))}function Va(Gr,Ur,So,Ro,jo){var Mo=function(oi){va(oi),Mt(!yt)};return de.createElement("span",{onMouseDown:Mo},$t({label:Ur,value:Gr,disabled:So,closable:Ro,onClose:jo}))}function Rr(Gr){var Ur=Gr.disabled,So=Gr.label,Ro=Gr.value,jo=!en&&!Ur,Mo=So;if(typeof Ut=="number"&&(typeof So=="string"||typeof So=="number")){var li=String(Mo);li.length>Ut&&(Mo="".concat(li.slice(0,Ut),"..."))}var oi=function(Yo){Yo&&Yo.stopPropagation(),Gt(Gr)};return typeof $t=="function"?Va(Ro,Mo,Ur,jo,oi):tr(Gr,Mo,Ur,jo,oi)}function jr(Gr){var Ur=typeof On=="function"?On(Gr):On;return tr({title:Ur},Ur,!1)}var Er=de.createElement("div",{className:"".concat(Br,"-search"),style:{width:Ua},onFocus:function(){qr(!0)},onBlur:function(){qr(!1)}},de.createElement(Pa,{ref:it,open:yt,prefixCls:Se,id:pt,inputElement:null,disabled:en,autoFocus:Pn,autoComplete:zn,editable:Ra,activeDescendantId:fe,value:eo,onKeyDown:Xt,onMouseDown:qn,onChange:yn,onPaste:xt,onCompositionStart:ea,onCompositionEnd:Ln,tabIndex:xe,attrs:(0,Pe.Z)(Ie,!0)}),de.createElement("span",{ref:ra,className:"".concat(Br,"-search-mirror"),"aria-hidden":!0},eo,"\xA0")),io=de.createElement(ia,{prefixCls:"".concat(Br,"-overflow"),data:st,renderItem:Rr,renderRest:jr,suffix:Er,itemKey:na,maxCount:dt});return de.createElement(de.Fragment,null,io,!st.length&&!eo&&de.createElement("span",{className:"".concat(Br,"-placeholder")},gt))},ba=ha,lr=function(Ie){var pt=Ie.inputElement,Se=Ie.prefixCls,st=Ie.id,yt=Ie.inputRef,Zt=Ie.disabled,Xe=Ie.autoFocus,it=Ie.autoComplete,gt=Ie.activeDescendantId,en=Ie.mode,pn=Ie.open,kn=Ie.values,Pn=Ie.placeholder,zn=Ie.tabIndex,fe=Ie.showSearch,xe=Ie.searchValue,be=Ie.activeValue,dt=Ie.maxLength,Ut=Ie.onInputKeyDown,Cn=Ie.onInputMouseDown,On=Ie.onInputChange,$t=Ie.onInputPaste,Mt=Ie.onInputCompositionStart,Gt=Ie.onInputCompositionEnd,yn=Ie.title,xt=de.useState(!1),Xt=(0,Te.Z)(xt,2),qn=Xt[0],ea=Xt[1],Ln=en==="combobox",ra=Ln||fe,rn=kn[0],sa=xe||"";Ln&&be&&!qn&&(sa=be),de.useEffect(function(){Ln&&ea(!1)},[Ln,be]);var Ua=en!=="combobox"&&!pn&&!fe?!1:!!sa,Fn=yn===void 0?Rt(rn):yn,xn=function(){if(rn)return null;var Mr=Ua?{visibility:"hidden"}:void 0;return de.createElement("span",{className:"".concat(Se,"-selection-placeholder"),style:Mr},Pn)};return de.createElement(de.Fragment,null,de.createElement("span",{className:"".concat(Se,"-selection-search")},de.createElement(Pa,{ref:yt,prefixCls:Se,id:st,open:pn,inputElement:pt,disabled:Zt,autoFocus:Xe,autoComplete:it,editable:ra,activeDescendantId:gt,value:sa,onKeyDown:Ut,onMouseDown:Cn,onChange:function(Mr){ea(!0),On(Mr)},onPaste:$t,onCompositionStart:Mt,onCompositionEnd:Gt,tabIndex:zn,attrs:(0,Pe.Z)(Ie,!0),maxLength:Ln?dt:void 0})),!Ln&&rn?de.createElement("span",{className:"".concat(Se,"-selection-item"),title:Fn,style:Ua?{visibility:"hidden"}:void 0},rn.label):null,xn())},gr=lr;function Qa(Ee){return![y.Z.ESC,y.Z.SHIFT,y.Z.BACKSPACE,y.Z.TAB,y.Z.WIN_KEY,y.Z.ALT,y.Z.META,y.Z.WIN_KEY_RIGHT,y.Z.CTRL,y.Z.SEMICOLON,y.Z.EQUALS,y.Z.CAPS_LOCK,y.Z.CONTEXT_MENU,y.Z.F1,y.Z.F2,y.Z.F3,y.Z.F4,y.Z.F5,y.Z.F6,y.Z.F7,y.Z.F8,y.Z.F9,y.Z.F10,y.Z.F11,y.Z.F12].includes(Ee)}var Dr=function(Ie,pt){var Se=(0,de.useRef)(null),st=(0,de.useRef)(!1),yt=Ie.prefixCls,Zt=Ie.open,Xe=Ie.mode,it=Ie.showSearch,gt=Ie.tokenWithEnter,en=Ie.autoClearSearchValue,pn=Ie.onSearch,kn=Ie.onSearchSubmit,Pn=Ie.onToggleOpen,zn=Ie.onInputKeyDown,fe=Ie.domRef;de.useImperativeHandle(pt,function(){return{focus:function(){Se.current.focus()},blur:function(){Se.current.blur()}}});var xe=ce(0),be=(0,Te.Z)(xe,2),dt=be[0],Ut=be[1],Cn=function(sa){var Ua=sa.which;(Ua===y.Z.UP||Ua===y.Z.DOWN)&&sa.preventDefault(),zn&&zn(sa),Ua===y.Z.ENTER&&Xe==="tags"&&!st.current&&!Zt&&(kn==null||kn(sa.target.value)),Qa(Ua)&&Pn(!0)},On=function(){Ut(!0)},$t=(0,de.useRef)(null),Mt=function(sa){pn(sa,!0,st.current)!==!1&&Pn(!0)},Gt=function(){st.current=!0},yn=function(sa){st.current=!1,Xe!=="combobox"&&Mt(sa.target.value)},xt=function(sa){var Ua=sa.target.value;if(gt&&$t.current&&/[\r\n]/.test($t.current)){var Fn=$t.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ua=Ua.replace(Fn,$t.current)}$t.current=null,Mt(Ua)},Xt=function(sa){var Ua=sa.clipboardData,Fn=Ua.getData("text");$t.current=Fn},qn=function(sa){var Ua=sa.target;if(Ua!==Se.current){var Fn=document.body.style.msTouchAction!==void 0;Fn?setTimeout(function(){Se.current.focus()}):Se.current.focus()}},ea=function(sa){var Ua=dt();sa.target!==Se.current&&!Ua&&Xe!=="combobox"&&sa.preventDefault(),(Xe!=="combobox"&&(!it||!Ua)||!Zt)&&(Zt&&en!==!1&&pn("",!0,!1),Pn())},Ln={inputRef:Se,onInputKeyDown:Cn,onInputMouseDown:On,onInputChange:xt,onInputPaste:Xt,onInputCompositionStart:Gt,onInputCompositionEnd:yn},ra=Xe==="multiple"||Xe==="tags"?de.createElement(ba,(0,Ce.Z)({},Ie,Ln)):de.createElement(gr,(0,Ce.Z)({},Ie,Ln));return de.createElement("div",{ref:fe,className:"".concat(yt,"-selector"),onClick:qn,onMouseDown:ea},ra)},so=de.forwardRef(Dr);so.displayName="Selector";var zr=so,Jr=z(62709),co=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Xr=function(Ie){var pt=Ie===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:pt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:pt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:pt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:pt,adjustY:1},htmlRegion:"scroll"}}},bo=function(Ie,pt){var Se=Ie.prefixCls,st=Ie.disabled,yt=Ie.visible,Zt=Ie.children,Xe=Ie.popupElement,it=Ie.animation,gt=Ie.transitionName,en=Ie.dropdownStyle,pn=Ie.dropdownClassName,kn=Ie.direction,Pn=kn===void 0?"ltr":kn,zn=Ie.placement,fe=Ie.builtinPlacements,xe=Ie.dropdownMatchSelectWidth,be=Ie.dropdownRender,dt=Ie.dropdownAlign,Ut=Ie.getPopupContainer,Cn=Ie.empty,On=Ie.getTriggerDOMNode,$t=Ie.onPopupVisibleChange,Mt=Ie.onPopupMouseEnter,Gt=(0,se.Z)(Ie,co),yn="".concat(Se,"-dropdown"),xt=Xe;be&&(xt=be(Xe));var Xt=de.useMemo(function(){return fe||Xr(xe)},[fe,xe]),qn=it?"".concat(yn,"-").concat(it):gt,ea=typeof xe=="number",Ln=de.useMemo(function(){return ea?null:xe===!1?"minWidth":"width"},[xe,ea]),ra=en;ea&&(ra=(0,ye.Z)((0,ye.Z)({},ra),{},{width:xe}));var rn=de.useRef(null);return de.useImperativeHandle(pt,function(){return{getPopupElement:function(){return rn.current}}}),de.createElement(Jr.Z,(0,Ce.Z)({},Gt,{showAction:$t?["click"]:[],hideAction:$t?["click"]:[],popupPlacement:zn||(Pn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Xt,prefixCls:yn,popupTransitionName:qn,popup:de.createElement("div",{ref:rn,onMouseEnter:Mt},xt),stretch:Ln,popupAlign:dt,popupVisible:yt,getPopupContainer:Ut,popupClassName:ie()(pn,(0,Me.Z)({},"".concat(yn,"-empty"),Cn)),popupStyle:ra,getTriggerDOMNode:On,onPopupVisibleChange:$t}),Zt)},kr=de.forwardRef(bo);kr.displayName="SelectTrigger";var Sa=kr,ja=z(84506);function _a(Ee,Ie){var pt=Ee.key,Se;return"value"in Ee&&(Se=Ee.value),pt!=null?pt:Se!==void 0?Se:"rc-index-key-".concat(Ie)}function za(Ee,Ie){var pt=Ee||{},Se=pt.label,st=pt.value,yt=pt.options,Zt=pt.groupLabel,Xe=Se||(Ie?"children":"label");return{label:Xe,value:st||"value",options:yt||"options",groupLabel:Zt||Xe}}function Ar(Ee){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pt=Ie.fieldNames,Se=Ie.childrenAsData,st=[],yt=za(pt,!1),Zt=yt.label,Xe=yt.value,it=yt.options,gt=yt.groupLabel;function en(pn,kn){pn.forEach(function(Pn){if(kn||!(it in Pn)){var zn=Pn[Xe];st.push({key:_a(Pn,st.length),groupOption:kn,data:Pn,label:Pn[Zt],value:zn})}else{var fe=Pn[gt];fe===void 0&&Se&&(fe=Pn.label),st.push({key:_a(Pn,st.length),group:!0,data:Pn,label:fe}),en(Pn[it],!0)}})}return en(Ee,!1),st}function er(Ee){var Ie=(0,ye.Z)({},Ee);return"props"in Ie||Object.defineProperty(Ie,"props",{get:function(){return(0,Ze.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ie}}),Ie}function Wa(Ee,Ie){if(!Ie||!Ie.length)return null;var pt=!1;function Se(yt,Zt){var Xe=(0,ja.Z)(Zt),it=Xe[0],gt=Xe.slice(1);if(!it)return[yt];var en=yt.split(it);return pt=pt||en.length>1,en.reduce(function(pn,kn){return[].concat((0,Re.Z)(pn),(0,Re.Z)(Se(kn,gt)))},[]).filter(function(pn){return pn})}var st=Se(Ee,Ie);return pt?st:null}var kt=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],sn=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Yt(Ee){return Ee==="tags"||Ee==="multiple"}var $n=de.forwardRef(function(Ee,Ie){var pt,Se,st=Ee.id,yt=Ee.prefixCls,Zt=Ee.className,Xe=Ee.showSearch,it=Ee.tagRender,gt=Ee.direction,en=Ee.omitDomProps,pn=Ee.displayValues,kn=Ee.onDisplayValuesChange,Pn=Ee.emptyOptions,zn=Ee.notFoundContent,fe=zn===void 0?"Not Found":zn,xe=Ee.onClear,be=Ee.mode,dt=Ee.disabled,Ut=Ee.loading,Cn=Ee.getInputElement,On=Ee.getRawInputElement,$t=Ee.open,Mt=Ee.defaultOpen,Gt=Ee.onDropdownVisibleChange,yn=Ee.activeValue,xt=Ee.onActiveValueChange,Xt=Ee.activeDescendantId,qn=Ee.searchValue,ea=Ee.autoClearSearchValue,Ln=Ee.onSearch,ra=Ee.onSearchSplit,rn=Ee.tokenSeparators,sa=Ee.allowClear,Ua=Ee.suffixIcon,Fn=Ee.clearIcon,xn=Ee.OptionList,wr=Ee.animation,Mr=Ee.transitionName,qr=Ee.dropdownStyle,Br=Ee.dropdownClassName,eo=Ee.dropdownMatchSelectWidth,Ra=Ee.dropdownRender,tr=Ee.dropdownAlign,Va=Ee.placement,Rr=Ee.builtinPlacements,jr=Ee.getPopupContainer,Er=Ee.showAction,io=Er===void 0?[]:Er,Gr=Ee.onFocus,Ur=Ee.onBlur,So=Ee.onKeyUp,Ro=Ee.onKeyDown,jo=Ee.onMouseDown,Mo=(0,se.Z)(Ee,kt),li=Yt(be),oi=(Xe!==void 0?Xe:li)||be==="combobox",Xo=(0,ye.Z)({},Mo);sn.forEach(function(Wo){delete Xo[Wo]}),en==null||en.forEach(function(Wo){delete Xo[Wo]});var Yo=de.useState(!1),Uo=(0,Te.Z)(Yo,2),lo=Uo[0],Ao=Uo[1];de.useEffect(function(){Ao(ue())},[]);var si=de.useRef(null),Qo=de.useRef(null),Ei=de.useRef(null),fo=de.useRef(null),Za=de.useRef(null),Vr=oe(),Wr=(0,Te.Z)(Vr,3),ur=Wr[0],yo=Wr[1],di=Wr[2];de.useImperativeHandle(Ie,function(){var Wo,ui;return{focus:(Wo=fo.current)===null||Wo===void 0?void 0:Wo.focus,blur:(ui=fo.current)===null||ui===void 0?void 0:ui.blur,scrollTo:function(No){var xo;return(xo=Za.current)===null||xo===void 0?void 0:xo.scrollTo(No)}}});var Pi=de.useMemo(function(){var Wo;if(be!=="combobox")return qn;var ui=(Wo=pn[0])===null||Wo===void 0?void 0:Wo.value;return typeof ui=="string"||typeof ui=="number"?String(ui):""},[qn,be,pn]),Di=be==="combobox"&&typeof Cn=="function"&&Cn()||null,Ri=typeof On=="function"&&On(),ge=(0,a.x1)(Qo,Ri==null||(pt=Ri.props)===null||pt===void 0?void 0:pt.ref),ve=de.useState(!1),Le=(0,Te.Z)(ve,2),Ve=Le[0],rt=Le[1];(0,_e.Z)(function(){rt(!0)},[]);var ct=(0,ze.Z)(!1,{defaultValue:Mt,value:$t}),_t=(0,Te.Z)(ct,2),on=_t[0],Et=_t[1],bt=Ve?on:!1,un=!fe&&Pn;(dt||un&&bt&&be==="combobox")&&(bt=!1);var qt=un?!1:bt,Zn=de.useCallback(function(Wo){var ui=Wo!==void 0?Wo:!bt;dt||(Et(ui),bt!==ui&&(Gt==null||Gt(ui)))},[dt,bt,Et,Gt]),pa=de.useMemo(function(){return(rn||[]).some(function(Wo){return[`
`,`\r
`].includes(Wo)})},[rn]),ua=function(ui,Do,No){var xo=!0,Fo=ui;xt==null||xt(null);var bi=No?null:Wa(ui,rn);return be!=="combobox"&&bi&&(Fo="",ra==null||ra(bi),Zn(!1),xo=!1),Ln&&Pi!==Fo&&Ln(Fo,{source:Do?"typing":"effect"}),xo},vr=function(ui){!ui||!ui.trim()||Ln(ui,{source:"submit"})};de.useEffect(function(){!bt&&!li&&be!=="combobox"&&ua("",!1,!1)},[bt]),de.useEffect(function(){on&&dt&&Et(!1),dt&&yo(!1)},[dt]);var nr=ce(),Pr=(0,Te.Z)(nr,2),hn=Pr[0],ma=Pr[1],Fa=function(ui){var Do=hn(),No=ui.which;if(No===y.Z.ENTER&&(be!=="combobox"&&ui.preventDefault(),bt||Zn(!0)),ma(!!Pi),No===y.Z.BACKSPACE&&!Do&&li&&!Pi&&pn.length){for(var xo=(0,Re.Z)(pn),Fo=null,bi=xo.length-1;bi>=0;bi-=1){var Oo=xo[bi];if(!Oo.disabled){xo.splice(bi,1),Fo=Oo;break}}Fo&&kn(xo,{type:"remove",values:[Fo]})}for(var ri=arguments.length,Ci=new Array(ri>1?ri-1:0),Si=1;Si<ri;Si++)Ci[Si-1]=arguments[Si];if(bt&&Za.current){var bl;(bl=Za.current).onKeyDown.apply(bl,[ui].concat(Ci))}Ro==null||Ro.apply(void 0,[ui].concat(Ci))},Aa=function(ui){for(var Do=arguments.length,No=new Array(Do>1?Do-1:0),xo=1;xo<Do;xo++)No[xo-1]=arguments[xo];if(bt&&Za.current){var Fo;(Fo=Za.current).onKeyUp.apply(Fo,[ui].concat(No))}So==null||So.apply(void 0,[ui].concat(No))},Ia=function(ui){var Do=pn.filter(function(No){return No!==ui});kn(Do,{type:"remove",values:[ui]})},or=de.useRef(!1),$r=function(){yo(!0),dt||(Gr&&!or.current&&Gr.apply(void 0,arguments),io.includes("focus")&&Zn(!0)),or.current=!0},cr=function(){yo(!1,function(){or.current=!1,Zn(!1)}),!dt&&(Pi&&(be==="tags"?Ln(Pi,{source:"submit"}):be==="multiple"&&Ln("",{source:"blur"})),Ur&&Ur.apply(void 0,arguments))},Ba=[];de.useEffect(function(){return function(){Ba.forEach(function(Wo){return clearTimeout(Wo)}),Ba.splice(0,Ba.length)}},[]);var Na=function(ui){var Do,No=ui.target,xo=(Do=Ei.current)===null||Do===void 0?void 0:Do.getPopupElement();if(xo&&xo.contains(No)){var Fo=setTimeout(function(){var Ci=Ba.indexOf(Fo);if(Ci!==-1&&Ba.splice(Ci,1),di(),!lo&&!xo.contains(document.activeElement)){var Si;(Si=fo.current)===null||Si===void 0||Si.focus()}});Ba.push(Fo)}for(var bi=arguments.length,Oo=new Array(bi>1?bi-1:0),ri=1;ri<bi;ri++)Oo[ri-1]=arguments[ri];jo==null||jo.apply(void 0,[ui].concat(Oo))},$a=de.useState({}),fr=(0,Te.Z)($a,2),to=fr[1];function ko(){to({})}var Co;Ri&&(Co=function(ui){Zn(ui)}),pe(function(){var Wo;return[si.current,(Wo=Ei.current)===null||Wo===void 0?void 0:Wo.getPopupElement()]},qt,Zn,!!Ri);var Bo=de.useMemo(function(){return(0,ye.Z)((0,ye.Z)({},Ee),{},{notFoundContent:fe,open:bt,triggerOpen:qt,id:st,showSearch:oi,multiple:li,toggleOpen:Zn})},[Ee,fe,qt,bt,st,oi,li,Zn]),Jo=!!Ua||Ut,$o;Jo&&($o=de.createElement(E,{className:ie()("".concat(yt,"-arrow"),(0,Me.Z)({},"".concat(yt,"-arrow-loading"),Ut)),customizeIcon:Ua,customizeIconProps:{loading:Ut,searchValue:Pi,open:bt,focused:ur,showSearch:oi}}));var mi=function(){var ui;xe==null||xe(),(ui=fo.current)===null||ui===void 0||ui.focus(),kn([],{type:"clear",values:pn}),ua("",!1,!1)},xi=ee(yt,mi,pn,sa,Fn,dt,Pi,be),qi=xi.allowClear,Ji=xi.clearIcon,gi=de.createElement(xn,{ref:Za}),tl=ie()(yt,Zt,(Se={},(0,Me.Z)(Se,"".concat(yt,"-focused"),ur),(0,Me.Z)(Se,"".concat(yt,"-multiple"),li),(0,Me.Z)(Se,"".concat(yt,"-single"),!li),(0,Me.Z)(Se,"".concat(yt,"-allow-clear"),sa),(0,Me.Z)(Se,"".concat(yt,"-show-arrow"),Jo),(0,Me.Z)(Se,"".concat(yt,"-disabled"),dt),(0,Me.Z)(Se,"".concat(yt,"-loading"),Ut),(0,Me.Z)(Se,"".concat(yt,"-open"),bt),(0,Me.Z)(Se,"".concat(yt,"-customize-input"),Di),(0,Me.Z)(Se,"".concat(yt,"-show-search"),oi),Se)),wi=de.createElement(Sa,{ref:Ei,disabled:dt,prefixCls:yt,visible:qt,popupElement:gi,animation:wr,transitionName:Mr,dropdownStyle:qr,dropdownClassName:Br,direction:gt,dropdownMatchSelectWidth:eo,dropdownRender:Ra,dropdownAlign:tr,placement:Va,builtinPlacements:Rr,getPopupContainer:jr,empty:Pn,getTriggerDOMNode:function(){return Qo.current},onPopupVisibleChange:Co,onPopupMouseEnter:ko},Ri?de.cloneElement(Ri,{ref:ge}):de.createElement(zr,(0,Ce.Z)({},Ee,{domRef:Qo,prefixCls:yt,inputElement:Di,ref:fo,id:st,showSearch:oi,autoClearSearchValue:ea,mode:be,activeDescendantId:Xt,tagRender:it,values:pn,open:bt,onToggleOpen:Zn,activeValue:yn,searchValue:Pi,onSearch:ua,onSearchSubmit:vr,onRemove:Ia,tokenWithEnter:pa}))),Ui;return Ri?Ui=wi:Ui=de.createElement("div",(0,Ce.Z)({className:tl},Xo,{ref:si,onMouseDown:Na,onKeyDown:Fa,onKeyUp:Aa,onFocus:$r,onBlur:cr}),ur&&!bt&&de.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(pn.map(function(Wo){var ui=Wo.label,Do=Wo.value;return["number","string"].includes((0,nt.Z)(ui))?ui:Do}).join(", "))),wi,$o,qi&&Ji),de.createElement(te.Provider,{value:Bo},Ui)}),La=$n,dr=function(Ee,Ie){var pt=de.useRef({values:new Map,options:new Map}),Se=de.useMemo(function(){var yt=pt.current,Zt=yt.values,Xe=yt.options,it=Ee.map(function(pn){if(pn.label===void 0){var kn;return(0,ye.Z)((0,ye.Z)({},pn),{},{label:(kn=Zt.get(pn.value))===null||kn===void 0?void 0:kn.label})}return pn}),gt=new Map,en=new Map;return it.forEach(function(pn){gt.set(pn.value,pn),en.set(pn.value,Ie.get(pn.value)||Xe.get(pn.value))}),pt.current.values=gt,pt.current.options=en,it},[Ee,Ie]),st=de.useCallback(function(yt){return Ie.get(yt)||pt.current.options.get(yt)},[Ie]);return[Se,st]};function Eo(Ee,Ie){return An(Ee).join("").toUpperCase().includes(Ie)}var Nr=function(Ee,Ie,pt,Se,st){return de.useMemo(function(){if(!pt||Se===!1)return Ee;var yt=Ie.options,Zt=Ie.label,Xe=Ie.value,it=[],gt=typeof Se=="function",en=pt.toUpperCase(),pn=gt?Se:function(Pn,zn){return st?Eo(zn[st],en):zn[yt]?Eo(zn[Zt!=="children"?Zt:"label"],en):Eo(zn[Xe],en)},kn=gt?function(Pn){return er(Pn)}:function(Pn){return Pn};return Ee.forEach(function(Pn){if(Pn[yt]){var zn=pn(pt,kn(Pn));if(zn)it.push(Pn);else{var fe=Pn[yt].filter(function(xe){return pn(pt,kn(xe))});fe.length&&it.push((0,ye.Z)((0,ye.Z)({},Pn),{},(0,Me.Z)({},yt,fe)))}return}pn(pt,kn(Pn))&&it.push(Pn)}),it},[Ee,Se,st,pt,Ie])},bn=z(98924),da=0,ro=(0,bn.Z)();function la(){var Ee;return ro?(Ee=da,da+=1):Ee="TEST_OR_SSR",Ee}function Ya(Ee){var Ie=de.useState(),pt=(0,Te.Z)(Ie,2),Se=pt[0],st=pt[1];return de.useEffect(function(){st("rc_select_".concat(la()))},[]),Ee||Se}var Bt=z(50344),Yn=["children","value"],Dn=["children"];function It(Ee){var Ie=Ee,pt=Ie.key,Se=Ie.props,st=Se.children,yt=Se.value,Zt=(0,se.Z)(Se,Yn);return(0,ye.Z)({key:pt,value:yt!==void 0?yt:pt,children:st},Zt)}function ar(Ee){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Bt.Z)(Ee).map(function(pt,Se){if(!de.isValidElement(pt)||!pt.type)return null;var st=pt,yt=st.type.isSelectOptGroup,Zt=st.key,Xe=st.props,it=Xe.children,gt=(0,se.Z)(Xe,Dn);return Ie||!yt?It(pt):(0,ye.Z)((0,ye.Z)({key:"__RC_SELECT_GRP__".concat(Zt===null?Se:Zt,"__"),label:Zt},gt),{},{options:ar(it)})}).filter(function(pt){return pt})}function ga(Ee,Ie,pt,Se,st){return de.useMemo(function(){var yt=Ee,Zt=!Ee;Zt&&(yt=ar(Ie));var Xe=new Map,it=new Map,gt=function(kn,Pn,zn){zn&&typeof zn=="string"&&kn.set(Pn[zn],Pn)};function en(pn){for(var kn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pn=0;Pn<pn.length;Pn+=1){var zn=pn[Pn];!zn[pt.options]||kn?(Xe.set(zn[pt.value],zn),gt(it,zn,pt.label),gt(it,zn,Se),gt(it,zn,st)):en(zn[pt.options],!0)}}return en(yt),{options:yt,valueOptions:Xe,labelOptions:it}},[Ee,Ie,pt,Se,st])}function Ja(Ee){var Ie=de.useRef();Ie.current=Ee;var pt=de.useCallback(function(){return Ie.current.apply(Ie,arguments)},[]);return pt}var wa=function(){return null};wa.isSelectOptGroup=!0;var Io=wa,Yr=function(){return null};Yr.isSelectOption=!0;var Zo=Yr,ni=z(56982),vi=z(98423),Da=z(73299),yi=de.createContext(null),Hr=yi;function Go(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var pi=["disabled","title","children","style","className"];function qa(Ee){return typeof Ee=="string"||typeof Ee=="number"}var Ir=function(Ie,pt){var Se=re(),st=Se.prefixCls,yt=Se.id,Zt=Se.open,Xe=Se.multiple,it=Se.mode,gt=Se.searchValue,en=Se.toggleOpen,pn=Se.notFoundContent,kn=Se.onPopupScroll,Pn=de.useContext(Hr),zn=Pn.flattenOptions,fe=Pn.onActiveValue,xe=Pn.defaultActiveFirstOption,be=Pn.onSelect,dt=Pn.menuItemSelectedIcon,Ut=Pn.rawValues,Cn=Pn.fieldNames,On=Pn.virtual,$t=Pn.direction,Mt=Pn.listHeight,Gt=Pn.listItemHeight,yn="".concat(st,"-item"),xt=(0,ni.Z)(function(){return zn},[Zt,zn],function(tr,Va){return Va[0]&&tr[1]!==Va[1]}),Xt=de.useRef(null),qn=function(Va){Va.preventDefault()},ea=function(Va){Xt.current&&Xt.current.scrollTo(typeof Va=="number"?{index:Va}:Va)},Ln=function(Va){for(var Rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,jr=xt.length,Er=0;Er<jr;Er+=1){var io=(Va+Er*Rr+jr)%jr,Gr=xt[io],Ur=Gr.group,So=Gr.data;if(!Ur&&!So.disabled)return io}return-1},ra=de.useState(function(){return Ln(0)}),rn=(0,Te.Z)(ra,2),sa=rn[0],Ua=rn[1],Fn=function(Va){var Rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ua(Va);var jr={source:Rr?"keyboard":"mouse"},Er=xt[Va];if(!Er){fe(null,-1,jr);return}fe(Er.value,Va,jr)};(0,de.useEffect)(function(){Fn(xe!==!1?Ln(0):-1)},[xt.length,gt]);var xn=de.useCallback(function(tr){return Ut.has(tr)&&it!=="combobox"},[it,(0,Re.Z)(Ut).toString(),Ut.size]);(0,de.useEffect)(function(){var tr=setTimeout(function(){if(!Xe&&Zt&&Ut.size===1){var Rr=Array.from(Ut)[0],jr=xt.findIndex(function(Er){var io=Er.data;return io.value===Rr});jr!==-1&&(Fn(jr),ea(jr))}});if(Zt){var Va;(Va=Xt.current)===null||Va===void 0||Va.scrollTo(void 0)}return function(){return clearTimeout(tr)}},[Zt,gt,zn.length]);var wr=function(Va){Va!==void 0&&be(Va,{selected:!Ut.has(Va)}),Xe||en(!1)};if(de.useImperativeHandle(pt,function(){return{onKeyDown:function(Va){var Rr=Va.which,jr=Va.ctrlKey;switch(Rr){case y.Z.N:case y.Z.P:case y.Z.UP:case y.Z.DOWN:{var Er=0;if(Rr===y.Z.UP?Er=-1:Rr===y.Z.DOWN?Er=1:Go()&&jr&&(Rr===y.Z.N?Er=1:Rr===y.Z.P&&(Er=-1)),Er!==0){var io=Ln(sa+Er,Er);ea(io),Fn(io,!0)}break}case y.Z.ENTER:{var Gr=xt[sa];Gr&&!Gr.data.disabled?wr(Gr.value):wr(void 0),Zt&&Va.preventDefault();break}case y.Z.ESC:en(!1),Zt&&Va.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Va){ea(Va)}}}),xt.length===0)return de.createElement("div",{role:"listbox",id:"".concat(yt,"_list"),className:"".concat(yn,"-empty"),onMouseDown:qn},pn);var Mr=Object.keys(Cn).map(function(tr){return Cn[tr]}),qr=function(Va){return Va.label};function Br(tr,Va){var Rr=tr.group;return{role:Rr?"presentation":"option",id:"".concat(yt,"_list_").concat(Va)}}var eo=function(Va){var Rr=xt[Va];if(!Rr)return null;var jr=Rr.data||{},Er=jr.value,io=Rr.group,Gr=(0,Pe.Z)(jr,!0),Ur=qr(Rr);return Rr?de.createElement("div",(0,Ce.Z)({"aria-label":typeof Ur=="string"&&!io?Ur:null},Gr,{key:Va},Br(Rr,Va),{"aria-selected":xn(Er)}),Er):null},Ra={role:"listbox",id:"".concat(yt,"_list")};return de.createElement(de.Fragment,null,On&&de.createElement("div",(0,Ce.Z)({},Ra,{style:{height:0,width:0,overflow:"hidden"}}),eo(sa-1),eo(sa),eo(sa+1)),de.createElement(Da.Z,{itemKey:"key",ref:Xt,data:xt,height:Mt,itemHeight:Gt,fullHeight:!1,onMouseDown:qn,onScroll:kn,virtual:On,direction:$t,innerProps:On?null:Ra},function(tr,Va){var Rr,jr=tr.group,Er=tr.groupOption,io=tr.data,Gr=tr.label,Ur=tr.value,So=io.key;if(jr){var Ro,jo=(Ro=io.title)!==null&&Ro!==void 0?Ro:qa(Gr)?Gr.toString():void 0;return de.createElement("div",{className:ie()(yn,"".concat(yn,"-group")),title:jo},Gr!==void 0?Gr:So)}var Mo=io.disabled,li=io.title,oi=io.children,Xo=io.style,Yo=io.className,Uo=(0,se.Z)(io,pi),lo=(0,vi.Z)(Uo,Mr),Ao=xn(Ur),si="".concat(yn,"-option"),Qo=ie()(yn,si,Yo,(Rr={},(0,Me.Z)(Rr,"".concat(si,"-grouped"),Er),(0,Me.Z)(Rr,"".concat(si,"-active"),sa===Va&&!Mo),(0,Me.Z)(Rr,"".concat(si,"-disabled"),Mo),(0,Me.Z)(Rr,"".concat(si,"-selected"),Ao),Rr)),Ei=qr(tr),fo=!dt||typeof dt=="function"||Ao,Za=typeof Ei=="number"?Ei:Ei||Ur,Vr=qa(Za)?Za.toString():void 0;return li!==void 0&&(Vr=li),de.createElement("div",(0,Ce.Z)({},(0,Pe.Z)(lo),On?{}:Br(tr,Va),{"aria-selected":Ao,className:Qo,title:Vr,onMouseMove:function(){sa===Va||Mo||Fn(Va)},onClick:function(){Mo||wr(Ur)},style:Xo}),de.createElement("div",{className:"".concat(si,"-content")},Za),de.isValidElement(dt)||Ao,fo&&de.createElement(E,{className:"".concat(yn,"-option-state"),customizeIcon:dt,customizeIconProps:{isSelected:Ao}},Ao?"\u2713":null))}))},vo=de.forwardRef(Ir);vo.displayName="OptionList";var ir=vo;function fi(Ee){var Ie=Ee.mode,pt=Ee.options,Se=Ee.children,st=Ee.backfill,yt=Ee.allowClear,Zt=Ee.placeholder,Xe=Ee.getInputElement,it=Ee.showSearch,gt=Ee.onSearch,en=Ee.defaultOpen,pn=Ee.autoFocus,kn=Ee.labelInValue,Pn=Ee.value,zn=Ee.inputValue,fe=Ee.optionLabelProp,xe=isMultiple(Ie),be=it!==void 0?it:xe||Ie==="combobox",dt=pt||convertChildrenToData(Se);if(warning(Ie!=="tags"||dt.every(function($t){return!$t.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Ie==="tags"||Ie==="combobox"){var Ut=dt.some(function($t){return $t.options?$t.options.some(function(Mt){return typeof("value"in Mt?Mt.value:Mt.key)=="number"}):typeof("value"in $t?$t.value:$t.key)=="number"});warning(!Ut,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ie!=="combobox"||!fe,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ie==="combobox"||!st,"`backfill` only works with `combobox` mode."),warning(Ie==="combobox"||!Xe,"`getInputElement` only work with `combobox` mode."),noteOnce(Ie!=="combobox"||!Xe||!yt||!Zt,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),gt&&!be&&Ie!=="combobox"&&Ie!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!en||pn,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Pn!=null){var Cn=toArray(Pn);warning(!kn||Cn.every(function($t){return _typeof($t)==="object"&&("key"in $t||"value"in $t)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!xe||Array.isArray(Pn),"`value` should be array when `mode` is `multiple` or `tags`")}if(Se){var On=null;toNodeArray(Se).some(function($t){if(!React.isValidElement($t)||!$t.type)return!1;var Mt=$t,Gt=Mt.type;if(Gt.isSelectOption)return!1;if(Gt.isSelectOptGroup){var yn=toNodeArray($t.props.children).every(function(xt){return!React.isValidElement(xt)||!$t.type||xt.type.isSelectOption?!0:(On=xt.type,!1)});return!yn}return On=Gt,!0}),On&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(On.displayName||On.name||On,"`.")),warning(zn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function ci(Ee,Ie){if(Ee){var pt=function Se(st){for(var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Zt=0;Zt<st.length;Zt++){var Xe=st[Zt];if(Xe[Ie==null?void 0:Ie.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!yt&&Array.isArray(Xe[Ie==null?void 0:Ie.options])&&Se(Xe[Ie==null?void 0:Ie.options],!0))break}};pt(Ee)}}var Fi=null,ei=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],hi=["inputValue"];function Wt(Ee){return!Ee||(0,nt.Z)(Ee)!=="object"}var Kt=de.forwardRef(function(Ee,Ie){var pt=Ee.id,Se=Ee.mode,st=Ee.prefixCls,yt=st===void 0?"rc-select":st,Zt=Ee.backfill,Xe=Ee.fieldNames,it=Ee.inputValue,gt=Ee.searchValue,en=Ee.onSearch,pn=Ee.autoClearSearchValue,kn=pn===void 0?!0:pn,Pn=Ee.onSelect,zn=Ee.onDeselect,fe=Ee.dropdownMatchSelectWidth,xe=fe===void 0?!0:fe,be=Ee.filterOption,dt=Ee.filterSort,Ut=Ee.optionFilterProp,Cn=Ee.optionLabelProp,On=Ee.options,$t=Ee.children,Mt=Ee.defaultActiveFirstOption,Gt=Ee.menuItemSelectedIcon,yn=Ee.virtual,xt=Ee.direction,Xt=Ee.listHeight,qn=Xt===void 0?200:Xt,ea=Ee.listItemHeight,Ln=ea===void 0?20:ea,ra=Ee.value,rn=Ee.defaultValue,sa=Ee.labelInValue,Ua=Ee.onChange,Fn=(0,se.Z)(Ee,ei),xn=Ya(pt),wr=Yt(Se),Mr=!!(!On&&$t),qr=de.useMemo(function(){return be===void 0&&Se==="combobox"?!1:be},[be,Se]),Br=de.useMemo(function(){return za(Xe,Mr)},[JSON.stringify(Xe),Mr]),eo=(0,ze.Z)("",{value:gt!==void 0?gt:it,postState:function(un){return un||""}}),Ra=(0,Te.Z)(eo,2),tr=Ra[0],Va=Ra[1],Rr=ga(On,$t,Br,Ut,Cn),jr=Rr.valueOptions,Er=Rr.labelOptions,io=Rr.options,Gr=de.useCallback(function(bt){var un=An(bt);return un.map(function(qt){var Zn,pa,ua,vr,nr;if(Wt(qt))Zn=qt;else{var Pr;ua=qt.key,pa=qt.label,Zn=(Pr=qt.value)!==null&&Pr!==void 0?Pr:ua}var hn=jr.get(Zn);if(hn){var ma;if(pa===void 0&&(pa=hn==null?void 0:hn[Cn||Br.label]),ua===void 0&&(ua=(ma=hn==null?void 0:hn.key)!==null&&ma!==void 0?ma:Zn),vr=hn==null?void 0:hn.disabled,nr=hn==null?void 0:hn.title,0)var Fa}return{label:pa,value:Zn,key:ua,disabled:vr,title:nr}})},[Br,Cn,jr]),Ur=(0,ze.Z)(rn,{value:ra}),So=(0,Te.Z)(Ur,2),Ro=So[0],jo=So[1],Mo=de.useMemo(function(){var bt,un=Gr(Ro);return Se==="combobox"&&Tt((bt=un[0])===null||bt===void 0?void 0:bt.value)?[]:un},[Ro,Gr,Se]),li=dr(Mo,jr),oi=(0,Te.Z)(li,2),Xo=oi[0],Yo=oi[1],Uo=de.useMemo(function(){if(!Se&&Xo.length===1){var bt=Xo[0];if(bt.value===null&&(bt.label===null||bt.label===void 0))return[]}return Xo.map(function(un){var qt;return(0,ye.Z)((0,ye.Z)({},un),{},{label:(qt=un.label)!==null&&qt!==void 0?qt:un.value})})},[Se,Xo]),lo=de.useMemo(function(){return new Set(Xo.map(function(bt){return bt.value}))},[Xo]);de.useEffect(function(){if(Se==="combobox"){var bt,un=(bt=Xo[0])===null||bt===void 0?void 0:bt.value;Va(ot(un)?String(un):"")}},[Xo]);var Ao=Ja(function(bt,un){var qt,Zn=un!=null?un:bt;return qt={},(0,Me.Z)(qt,Br.value,bt),(0,Me.Z)(qt,Br.label,Zn),qt}),si=de.useMemo(function(){if(Se!=="tags")return io;var bt=(0,Re.Z)(io),un=function(Zn){return jr.has(Zn)};return(0,Re.Z)(Xo).sort(function(qt,Zn){return qt.value<Zn.value?-1:1}).forEach(function(qt){var Zn=qt.value;un(Zn)||bt.push(Ao(Zn,qt.label))}),bt},[Ao,io,jr,Xo,Se]),Qo=Nr(si,Br,tr,qr,Ut),Ei=de.useMemo(function(){return Se!=="tags"||!tr||Qo.some(function(bt){return bt[Ut||"value"]===tr})||Qo.some(function(bt){return bt[Br.value]===tr})?Qo:[Ao(tr)].concat((0,Re.Z)(Qo))},[Ao,Ut,Se,Qo,tr,Br]),fo=de.useMemo(function(){return dt?(0,Re.Z)(Ei).sort(function(bt,un){return dt(bt,un)}):Ei},[Ei,dt]),Za=de.useMemo(function(){return Ar(fo,{fieldNames:Br,childrenAsData:Mr})},[fo,Br,Mr]),Vr=function(un){var qt=Gr(un);if(jo(qt),Ua&&(qt.length!==Xo.length||qt.some(function(ua,vr){var nr;return((nr=Xo[vr])===null||nr===void 0?void 0:nr.value)!==(ua==null?void 0:ua.value)}))){var Zn=sa?qt:qt.map(function(ua){return ua.value}),pa=qt.map(function(ua){return er(Yo(ua.value))});Ua(wr?Zn:Zn[0],wr?pa:pa[0])}},Wr=de.useState(null),ur=(0,Te.Z)(Wr,2),yo=ur[0],di=ur[1],Pi=de.useState(0),Di=(0,Te.Z)(Pi,2),Ri=Di[0],ge=Di[1],ve=Mt!==void 0?Mt:Se!=="combobox",Le=de.useCallback(function(bt,un){var qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Zn=qt.source,pa=Zn===void 0?"keyboard":Zn;ge(un),Zt&&Se==="combobox"&&bt!==null&&pa==="keyboard"&&di(String(bt))},[Zt,Se]),Ve=function(un,qt,Zn){var pa=function(){var or,$r=Yo(un);return[sa?{label:$r==null?void 0:$r[Br.label],value:un,key:(or=$r==null?void 0:$r.key)!==null&&or!==void 0?or:un}:un,er($r)]};if(qt&&Pn){var ua=pa(),vr=(0,Te.Z)(ua,2),nr=vr[0],Pr=vr[1];Pn(nr,Pr)}else if(!qt&&zn&&Zn!=="clear"){var hn=pa(),ma=(0,Te.Z)(hn,2),Fa=ma[0],Aa=ma[1];zn(Fa,Aa)}},rt=Ja(function(bt,un){var qt,Zn=wr?un.selected:!0;Zn?qt=wr?[].concat((0,Re.Z)(Xo),[bt]):[bt]:qt=Xo.filter(function(pa){return pa.value!==bt}),Vr(qt),Ve(bt,Zn),Se==="combobox"?di(""):(!Yt||kn)&&(Va(""),di(""))}),ct=function(un,qt){Vr(un);var Zn=qt.type,pa=qt.values;(Zn==="remove"||Zn==="clear")&&pa.forEach(function(ua){Ve(ua.value,!1,Zn)})},_t=function(un,qt){if(Va(un),di(null),qt.source==="submit"){var Zn=(un||"").trim();if(Zn){var pa=Array.from(new Set([].concat((0,Re.Z)(lo),[Zn])));Vr(pa),Ve(Zn,!0),Va("")}return}qt.source!=="blur"&&(Se==="combobox"&&Vr(un),en==null||en(un))},on=function(un){var qt=un;Se!=="tags"&&(qt=un.map(function(pa){var ua=Er.get(pa);return ua==null?void 0:ua.value}).filter(function(pa){return pa!==void 0}));var Zn=Array.from(new Set([].concat((0,Re.Z)(lo),(0,Re.Z)(qt))));Vr(Zn),Zn.forEach(function(pa){Ve(pa,!0)})},Et=de.useMemo(function(){var bt=yn!==!1&&xe!==!1;return(0,ye.Z)((0,ye.Z)({},Rr),{},{flattenOptions:Za,onActiveValue:Le,defaultActiveFirstOption:ve,onSelect:rt,menuItemSelectedIcon:Gt,rawValues:lo,fieldNames:Br,virtual:bt,direction:xt,listHeight:qn,listItemHeight:Ln,childrenAsData:Mr})},[Rr,Za,Le,ve,rt,Gt,lo,Br,yn,xe,qn,Ln,Mr]);return de.createElement(Hr.Provider,{value:Et},de.createElement(La,(0,Ce.Z)({},Fn,{id:xn,prefixCls:yt,ref:Ie,omitDomProps:hi,mode:Se,displayValues:Uo,onDisplayValuesChange:ct,direction:xt,searchValue:tr,onSearch:_t,autoClearSearchValue:kn,onSearchSplit:on,dropdownMatchSelectWidth:xe,OptionList:ir,emptyOptions:!Za.length,activeValue:yo,activeDescendantId:"".concat(xn,"_list_").concat(Ri)})))}),aa=Kt;aa.Option=Zo,aa.OptGroup=Io;var xa=null,Ka=null,Cr=z(17341),po=function(Ee){var Ie=de.useRef({valueLabels:new Map});return de.useMemo(function(){var pt=Ie.current.valueLabels,Se=new Map,st=Ee.map(function(yt){var Zt,Xe=yt.value,it=(Zt=yt.label)!==null&&Zt!==void 0?Zt:pt.get(Xe);return Se.set(Xe,it),(0,ye.Z)((0,ye.Z)({},yt),{},{label:it})});return Ie.current.valueLabels=Se,[st]},[Ee])},Lo=function(Ee,Ie,pt,Se){return de.useMemo(function(){var st=Ee.map(function(it){var gt=it.value;return gt}),yt=Ie.map(function(it){var gt=it.value;return gt}),Zt=st.filter(function(it){return!Se[it]});if(pt){var Xe=(0,Cr.S)(st,!0,Se);st=Xe.checkedKeys,yt=Xe.halfCheckedKeys}return[Array.from(new Set([].concat((0,Re.Z)(Zt),(0,Re.Z)(st)))),yt]},[Ee,Ie,pt,Se])},rr=z(1089),zo=function(Ee,Ie){return de.useMemo(function(){var pt=(0,rr.I8)(Ee,{fieldNames:Ie,initWrapper:function(st){return(0,ye.Z)((0,ye.Z)({},st),{},{valueEntities:new Map})},processEntity:function(st,yt){var Zt=st.node[Ie.value];if(0)var Xe;yt.valueEntities.set(Zt,st)}});return pt},[Ee,Ie])},ai=function(){return null},ii=ai,oo=["children","value"];function tn(Ee){return(0,Bt.Z)(Ee).map(function(Ie){if(!de.isValidElement(Ie)||!Ie.type)return null;var pt=Ie,Se=pt.key,st=pt.props,yt=st.children,Zt=st.value,Xe=(0,se.Z)(st,oo),it=(0,ye.Z)({key:Se,value:Zt},Xe),gt=tn(yt);return gt.length&&(it.children=gt),it}).filter(function(Ie){return Ie})}function gn(Ee){if(!Ee)return Ee;var Ie=(0,ye.Z)({},Ee);return"props"in Ie||Object.defineProperty(Ie,"props",{get:function(){return(0,Ze.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Ie}}),Ie}function Un(Ee,Ie,pt,Se,st,yt){var Zt=null,Xe=null;function it(){function gt(en){var pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return en.map(function(Pn,zn){var fe="".concat(pn,"-").concat(zn),xe=Pn[yt.value],be=pt.includes(xe),dt=gt(Pn[yt.children]||[],fe,be),Ut=de.createElement(ii,Pn,dt.map(function(On){return On.node}));if(Ie===xe&&(Zt=Ut),be){var Cn={pos:fe,node:Ut,children:dt};return kn||Xe.push(Cn),Cn}return null}).filter(function(Pn){return Pn})}Xe||(Xe=[],gt(Se),Xe.sort(function(en,pn){var kn=en.node.props.value,Pn=pn.node.props.value,zn=pt.indexOf(kn),fe=pt.indexOf(Pn);return zn-fe}))}Object.defineProperty(Ee,"triggerNode",{get:function(){return(0,Ze.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),it(),Zt}}),Object.defineProperty(Ee,"allCheckedNodes",{get:function(){return(0,Ze.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),it(),st?Xe:Xe.map(function(en){var pn=en.node;return pn})}})}var qe=function(Ee,Ie,pt){var Se=pt.treeNodeFilterProp,st=pt.filterTreeNode,yt=pt.fieldNames,Zt=yt.children;return de.useMemo(function(){if(!Ie||st===!1)return Ee;var Xe;if(typeof st=="function")Xe=st;else{var it=Ie.toUpperCase();Xe=function(pn,kn){var Pn=kn[Se];return String(Pn).toUpperCase().includes(it)}}function gt(en){var pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return en.reduce(function(kn,Pn){var zn=Pn[Zt],fe=pn||Xe(Ie,gn(Pn)),xe=gt(zn||[],fe);return(fe||xe.length)&&kn.push((0,ye.Z)((0,ye.Z)({},Pn),{},(0,Me.Z)({isLeaf:void 0},Zt,xe))),kn},[])}return gt(Ee)},[Ee,Ie,Zt,Se,st])};function Qn(Ee){var Ie=de.useRef();Ie.current=Ee;var pt=de.useCallback(function(){return Ie.current.apply(Ie,arguments)},[]);return pt}function Ma(Ee,Ie){var pt=Ie.id,Se=Ie.pId,st=Ie.rootPId,yt={},Zt=[],Xe=Ee.map(function(it){var gt=(0,ye.Z)({},it),en=gt[pt];return yt[en]=gt,gt.key=gt.key||en,gt});return Xe.forEach(function(it){var gt=it[Se],en=yt[gt];en&&(en.children=en.children||[],en.children.push(it)),(gt===st||!en&&st===null)&&Zt.push(it)}),Zt}function Ta(Ee,Ie,pt){return de.useMemo(function(){return Ee?pt?Ma(Ee,(0,ye.Z)({id:"id",pId:"pId",rootPId:null},pt!==!0?pt:{})):Ee:tn(Ie)},[Ie,pt,Ee])}var En=de.createContext(null),Mn=En,Rn=z(15671),ka=z(43144),xr=z(97326),Or=z(60136),Kr=z(51630),uo=z(27822),yr=z(10225),Ha=z(36459),Hn=de.forwardRef(function(Ee,Ie){var pt=Ee.height,Se=Ee.offset,st=Ee.children,yt=Ee.prefixCls,Zt=Ee.onInnerResize,Xe=Ee.innerProps,it={},gt={display:"flex",flexDirection:"column"};return Se!==void 0&&(it={height:pt,position:"relative",overflow:"hidden"},gt=(0,ye.Z)((0,ye.Z)({},gt),{},{transform:"translateY(".concat(Se,"px)"),position:"absolute",left:0,right:0,top:0})),de.createElement("div",{style:it},de.createElement(He.Z,{onResize:function(pn){var kn=pn.offsetHeight;kn&&Zt&&Zt()}},de.createElement("div",(0,Ce.Z)({style:gt,className:ie()((0,Me.Z)({},"".concat(yt,"-holder-inner"),yt)),ref:Ie},Xe),st)))});Hn.displayName="Filler";var Tn=Hn,Oa=z(75164),Lr=20;function we(Ee){return"touches"in Ee?Ee.touches[0].pageY:Ee.pageY}var an=function(Ee){(0,Or.Z)(pt,Ee);var Ie=(0,Kr.Z)(pt);function pt(){var Se;(0,Rn.Z)(this,pt);for(var st=arguments.length,yt=new Array(st),Zt=0;Zt<st;Zt++)yt[Zt]=arguments[Zt];return Se=Ie.call.apply(Ie,[this].concat(yt)),Se.moveRaf=null,Se.scrollbarRef=de.createRef(),Se.thumbRef=de.createRef(),Se.visibleTimeout=null,Se.state={dragging:!1,pageY:null,startTop:null,visible:!1},Se.delayHidden=function(){clearTimeout(Se.visibleTimeout),Se.setState({visible:!0}),Se.visibleTimeout=setTimeout(function(){Se.setState({visible:!1})},2e3)},Se.onScrollbarTouchStart=function(Xe){Xe.preventDefault()},Se.onContainerMouseDown=function(Xe){Xe.stopPropagation(),Xe.preventDefault()},Se.patchEvents=function(){window.addEventListener("mousemove",Se.onMouseMove),window.addEventListener("mouseup",Se.onMouseUp),Se.thumbRef.current.addEventListener("touchmove",Se.onMouseMove),Se.thumbRef.current.addEventListener("touchend",Se.onMouseUp)},Se.removeEvents=function(){var Xe;window.removeEventListener("mousemove",Se.onMouseMove),window.removeEventListener("mouseup",Se.onMouseUp),(Xe=Se.scrollbarRef.current)===null||Xe===void 0||Xe.removeEventListener("touchstart",Se.onScrollbarTouchStart),Se.thumbRef.current&&(Se.thumbRef.current.removeEventListener("touchstart",Se.onMouseDown),Se.thumbRef.current.removeEventListener("touchmove",Se.onMouseMove),Se.thumbRef.current.removeEventListener("touchend",Se.onMouseUp)),Oa.Z.cancel(Se.moveRaf)},Se.onMouseDown=function(Xe){var it=Se.props.onStartMove;Se.setState({dragging:!0,pageY:we(Xe),startTop:Se.getTop()}),it(),Se.patchEvents(),Xe.stopPropagation(),Xe.preventDefault()},Se.onMouseMove=function(Xe){var it=Se.state,gt=it.dragging,en=it.pageY,pn=it.startTop,kn=Se.props.onScroll;if(Oa.Z.cancel(Se.moveRaf),gt){var Pn=we(Xe)-en,zn=pn+Pn,fe=Se.getEnableScrollRange(),xe=Se.getEnableHeightRange(),be=xe?zn/xe:0,dt=Math.ceil(be*fe);Se.moveRaf=(0,Oa.Z)(function(){kn(dt)})}},Se.onMouseUp=function(){var Xe=Se.props.onStopMove;Se.setState({dragging:!1}),Xe(),Se.removeEvents()},Se.getSpinHeight=function(){var Xe=Se.props,it=Xe.height,gt=Xe.count,en=it/gt*10;return en=Math.max(en,Lr),en=Math.min(en,it/2),Math.floor(en)},Se.getEnableScrollRange=function(){var Xe=Se.props,it=Xe.scrollHeight,gt=Xe.height;return it-gt||0},Se.getEnableHeightRange=function(){var Xe=Se.props.height,it=Se.getSpinHeight();return Xe-it||0},Se.getTop=function(){var Xe=Se.props.scrollTop,it=Se.getEnableScrollRange(),gt=Se.getEnableHeightRange();if(Xe===0||it===0)return 0;var en=Xe/it;return en*gt},Se.showScroll=function(){var Xe=Se.props,it=Xe.height,gt=Xe.scrollHeight;return gt>it},Se}return(0,ka.Z)(pt,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(st){st.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var st=this.state,yt=st.dragging,Zt=st.visible,Xe=this.props.prefixCls,it=this.getSpinHeight(),gt=this.getTop(),en=this.showScroll(),pn=en&&Zt;return de.createElement("div",{ref:this.scrollbarRef,className:ie()("".concat(Xe,"-scrollbar"),(0,Me.Z)({},"".concat(Xe,"-scrollbar-show"),en)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:pn?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},de.createElement("div",{ref:this.thumbRef,className:ie()("".concat(Xe,"-scrollbar-thumb"),(0,Me.Z)({},"".concat(Xe,"-scrollbar-thumb-moving"),yt)),style:{width:"100%",height:it,top:gt,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),pt}(de.Component);function wn(Ee){var Ie=Ee.children,pt=Ee.setRef,Se=de.useCallback(function(st){pt(st)},[]);return de.cloneElement(Ie,{ref:Se})}function Wn(Ee,Ie,pt,Se,st,yt){var Zt=yt.getKey;return Ee.slice(Ie,pt+1).map(function(Xe,it){var gt=Ie+it,en=st(Xe,gt,{}),pn=Zt(Xe);return de.createElement(wn,{key:pn,setRef:function(Pn){return Se(Xe,Pn)}},en)})}var Ct=z(34203),jn=function(){function Ee(){(0,Rn.Z)(this,Ee),this.maps=void 0,this.maps=Object.create(null)}return(0,ka.Z)(Ee,[{key:"set",value:function(pt,Se){this.maps[pt]=Se}},{key:"get",value:function(pt){return this.maps[pt]}}]),Ee}(),Gn=jn;function In(Ee,Ie,pt){var Se=de.useState(0),st=(0,Te.Z)(Se,2),yt=st[0],Zt=st[1],Xe=(0,de.useRef)(new Map),it=(0,de.useRef)(new Gn),gt=(0,de.useRef)();function en(){Oa.Z.cancel(gt.current)}function pn(){en(),gt.current=(0,Oa.Z)(function(){Xe.current.forEach(function(Pn,zn){if(Pn&&Pn.offsetParent){var fe=(0,Ct.Z)(Pn),xe=fe.offsetHeight;it.current.get(zn)!==xe&&it.current.set(zn,fe.offsetHeight)}}),Zt(function(Pn){return Pn+1})})}function kn(Pn,zn){var fe=Ee(Pn),xe=Xe.current.get(fe);zn?(Xe.current.set(fe,zn),pn()):Xe.current.delete(fe),!xe!=!zn&&(zn?Ie==null||Ie(Pn):pt==null||pt(Pn))}return(0,de.useEffect)(function(){return en},[]),[kn,pn,it.current,yt]}function Jn(Ee,Ie,pt,Se,st,yt,Zt,Xe){var it=de.useRef();return function(gt){if(gt==null){Xe();return}if(Oa.Z.cancel(it.current),typeof gt=="number")Zt(gt);else if(gt&&(0,nt.Z)(gt)==="object"){var en,pn=gt.align;"index"in gt?en=gt.index:en=Ie.findIndex(function(fe){return st(fe)===gt.key});var kn=gt.offset,Pn=kn===void 0?0:kn,zn=function fe(xe,be){if(!(xe<0||!Ee.current)){var dt=Ee.current.clientHeight,Ut=!1,Cn=be;if(dt){for(var On=be||pn,$t=0,Mt=0,Gt=0,yn=Math.min(Ie.length,en),xt=0;xt<=yn;xt+=1){var Xt=st(Ie[xt]);Mt=$t;var qn=pt.get(Xt);Gt=Mt+(qn===void 0?Se:qn),$t=Gt,xt===en&&qn===void 0&&(Ut=!0)}var ea=null;switch(On){case"top":ea=Mt-Pn;break;case"bottom":ea=Gt-dt+Pn;break;default:{var Ln=Ee.current.scrollTop,ra=Ln+dt;Mt<Ln?Cn="top":Gt>ra&&(Cn="bottom")}}ea!==null&&ea!==Ee.current.scrollTop&&Zt(ea)}it.current=(0,Oa.Z)(function(){Ut&&yt(),fe(xe-1,Cn)},2)}};zn(3)}}}function sr(Ee,Ie,pt,Se){var st=pt-Ee,yt=Ie-pt,Zt=Math.min(st,yt)*2;if(Se<=Zt){var Xe=Math.floor(Se/2);return Se%2?pt+Xe+1:pt-Xe}return st>yt?pt-(Se-yt):pt+(Se-st)}function hr(Ee,Ie,pt){var Se=Ee.length,st=Ie.length,yt,Zt;if(Se===0&&st===0)return null;Se<st?(yt=Ee,Zt=Ie):(yt=Ie,Zt=Ee);var Xe={__EMPTY_ITEM__:!0};function it(zn){return zn!==void 0?pt(zn):Xe}for(var gt=null,en=Math.abs(Se-st)!==1,pn=0;pn<Zt.length;pn+=1){var kn=it(yt[pn]),Pn=it(Zt[pn]);if(kn!==Pn){gt=pn,en=en||kn!==it(Zt[pn+1]);break}}return gt===null?null:{index:gt,multiple:en}}function Qr(Ee,Ie,pt){var Se=de.useState(Ee),st=(0,Te.Z)(Se,2),yt=st[0],Zt=st[1],Xe=de.useState(null),it=(0,Te.Z)(Xe,2),gt=it[0],en=it[1];return de.useEffect(function(){var pn=hr(yt||[],Ee||[],Ie);(pn==null?void 0:pn.index)!==void 0&&(pt==null||pt(pn.index),en(Ee[pn.index])),Zt(Ee)},[Ee]),[gt]}var Fr=(typeof navigator=="undefined"?"undefined":(0,nt.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),_o=Fr,Ho=function(Ee,Ie){var pt=(0,de.useRef)(!1),Se=(0,de.useRef)(null);function st(){clearTimeout(Se.current),pt.current=!0,Se.current=setTimeout(function(){pt.current=!1},50)}var yt=(0,de.useRef)({top:Ee,bottom:Ie});return yt.current.top=Ee,yt.current.bottom=Ie,function(Zt){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,it=Zt<0&&yt.current.top||Zt>0&&yt.current.bottom;return Xe&&it?(clearTimeout(Se.current),pt.current=!1):(!it||pt.current)&&st(),!pt.current&&it}};function zi(Ee,Ie,pt,Se){var st=(0,de.useRef)(0),yt=(0,de.useRef)(null),Zt=(0,de.useRef)(null),Xe=(0,de.useRef)(!1),it=Ho(Ie,pt);function gt(pn){if(Ee){Oa.Z.cancel(yt.current);var kn=pn.deltaY;st.current+=kn,Zt.current=kn,!it(kn)&&(_o||pn.preventDefault(),yt.current=(0,Oa.Z)(function(){var Pn=Xe.current?10:1;Se(st.current*Pn),st.current=0}))}}function en(pn){Ee&&(Xe.current=pn.detail===Zt.current)}return[gt,en]}var Gi=14/15;function sl(Ee,Ie,pt){var Se=(0,de.useRef)(!1),st=(0,de.useRef)(0),yt=(0,de.useRef)(null),Zt=(0,de.useRef)(null),Xe,it=function(kn){if(Se.current){var Pn=Math.ceil(kn.touches[0].pageY),zn=st.current-Pn;st.current=Pn,pt(zn)&&kn.preventDefault(),clearInterval(Zt.current),Zt.current=setInterval(function(){zn*=Gi,(!pt(zn,!0)||Math.abs(zn)<=.1)&&clearInterval(Zt.current)},16)}},gt=function(){Se.current=!1,Xe()},en=function(kn){Xe(),kn.touches.length===1&&!Se.current&&(Se.current=!0,st.current=Math.ceil(kn.touches[0].pageY),yt.current=kn.target,yt.current.addEventListener("touchmove",it),yt.current.addEventListener("touchend",gt))};Xe=function(){yt.current&&(yt.current.removeEventListener("touchmove",it),yt.current.removeEventListener("touchend",gt))},(0,_e.Z)(function(){return Ee&&Ie.current.addEventListener("touchstart",en),function(){var pn;(pn=Ie.current)===null||pn===void 0||pn.removeEventListener("touchstart",en),Xe(),clearInterval(Zt.current)}},[Ee])}var Oi=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange","innerProps"],Zi=[],El={overflowY:"auto",overflowAnchor:"none"};function Pl(Ee,Ie){var pt=Ee.prefixCls,Se=pt===void 0?"rc-virtual-list":pt,st=Ee.className,yt=Ee.height,Zt=Ee.itemHeight,Xe=Ee.fullHeight,it=Xe===void 0?!0:Xe,gt=Ee.style,en=Ee.data,pn=Ee.children,kn=Ee.itemKey,Pn=Ee.virtual,zn=Ee.component,fe=zn===void 0?"div":zn,xe=Ee.onScroll,be=Ee.onVisibleChange,dt=Ee.innerProps,Ut=(0,se.Z)(Ee,Oi),Cn=!!(Pn!==!1&&yt&&Zt),On=Cn&&en&&Zt*en.length>yt,$t=(0,de.useState)(0),Mt=(0,Te.Z)($t,2),Gt=Mt[0],yn=Mt[1],xt=(0,de.useState)(!1),Xt=(0,Te.Z)(xt,2),qn=Xt[0],ea=Xt[1],Ln=ie()(Se,st),ra=en||Zi,rn=(0,de.useRef)(),sa=(0,de.useRef)(),Ua=(0,de.useRef)(),Fn=de.useCallback(function(ur){return typeof kn=="function"?kn(ur):ur==null?void 0:ur[kn]},[kn]),xn={getKey:Fn};function wr(ur){yn(function(yo){var di;typeof ur=="function"?di=ur(yo):di=ur;var Pi=oi(di);return rn.current.scrollTop=Pi,Pi})}var Mr=(0,de.useRef)({start:0,end:ra.length}),qr=(0,de.useRef)(),Br=Qr(ra,Fn),eo=(0,Te.Z)(Br,1),Ra=eo[0];qr.current=Ra;var tr=In(Fn,null,null),Va=(0,Te.Z)(tr,4),Rr=Va[0],jr=Va[1],Er=Va[2],io=Va[3],Gr=de.useMemo(function(){if(!Cn)return{scrollHeight:void 0,start:0,end:ra.length-1,offset:void 0};if(!On){var ur;return{scrollHeight:((ur=sa.current)===null||ur===void 0?void 0:ur.offsetHeight)||0,start:0,end:ra.length-1,offset:void 0}}for(var yo=0,di,Pi,Di,Ri=ra.length,ge=0;ge<Ri;ge+=1){var ve=ra[ge],Le=Fn(ve),Ve=Er.get(Le),rt=yo+(Ve===void 0?Zt:Ve);rt>=Gt&&di===void 0&&(di=ge,Pi=yo),rt>Gt+yt&&Di===void 0&&(Di=ge),yo=rt}return di===void 0&&(di=0,Pi=0,Di=Math.ceil(yt/Zt)),Di===void 0&&(Di=ra.length-1),Di=Math.min(Di+1,ra.length),{scrollHeight:yo,start:di,end:Di,offset:Pi}},[On,Cn,Gt,ra,io,yt]),Ur=Gr.scrollHeight,So=Gr.start,Ro=Gr.end,jo=Gr.offset;Mr.current.start=So,Mr.current.end=Ro;var Mo=Ur-yt,li=(0,de.useRef)(Mo);li.current=Mo;function oi(ur){var yo=ur;return Number.isNaN(li.current)||(yo=Math.min(yo,li.current)),yo=Math.max(yo,0),yo}var Xo=Gt<=0,Yo=Gt>=Mo,Uo=Ho(Xo,Yo);function lo(ur){var yo=ur;wr(yo)}function Ao(ur){var yo=ur.currentTarget.scrollTop;yo!==Gt&&wr(yo),xe==null||xe(ur)}var si=zi(Cn,Xo,Yo,function(ur){wr(function(yo){var di=yo+ur;return di})}),Qo=(0,Te.Z)(si,2),Ei=Qo[0],fo=Qo[1];sl(Cn,rn,function(ur,yo){return Uo(ur,yo)?!1:(Ei({preventDefault:function(){},deltaY:ur}),!0)}),(0,_e.Z)(function(){function ur(yo){Cn&&yo.preventDefault()}return rn.current.addEventListener("wheel",Ei),rn.current.addEventListener("DOMMouseScroll",fo),rn.current.addEventListener("MozMousePixelScroll",ur),function(){rn.current&&(rn.current.removeEventListener("wheel",Ei),rn.current.removeEventListener("DOMMouseScroll",fo),rn.current.removeEventListener("MozMousePixelScroll",ur))}},[Cn]);var Za=Jn(rn,ra,Er,Zt,Fn,jr,wr,function(){var ur;(ur=Ua.current)===null||ur===void 0||ur.delayHidden()});de.useImperativeHandle(Ie,function(){return{scrollTo:Za}}),(0,_e.Z)(function(){if(be){var ur=ra.slice(So,Ro+1);be(ur,ra)}},[So,Ro,ra]);var Vr=Wn(ra,So,Ro,Rr,pn,xn),Wr=null;return yt&&(Wr=(0,ye.Z)((0,Me.Z)({},it?"height":"maxHeight",yt),El),Cn&&(Wr.overflowY="hidden",qn&&(Wr.pointerEvents="none"))),de.createElement("div",(0,Ce.Z)({style:(0,ye.Z)((0,ye.Z)({},gt),{},{position:"relative"}),className:Ln},Ut),de.createElement(fe,{className:"".concat(Se,"-holder"),style:Wr,ref:rn,onScroll:Ao},de.createElement(Tn,{prefixCls:Se,height:Ur,offset:jo,onInnerResize:jr,ref:sa,innerProps:dt},Vr)),Cn&&de.createElement(an,{ref:Ua,prefixCls:Se,scrollTop:Gt,height:yt,scrollHeight:Ur,count:ra.length,onScroll:lo,onStartMove:function(){ea(!0)},onStopMove:function(){ea(!1)}}))}var Mi=de.forwardRef(Pl);Mi.displayName="List";var Qi=Mi,Xi=Qi,Ki=z(62874),ul=z(86128),Tl=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],wl=function(Ie,pt){var Se=Ie.className,st=Ie.style,yt=Ie.motion,Zt=Ie.motionNodes,Xe=Ie.motionType,it=Ie.onMotionStart,gt=Ie.onMotionEnd,en=Ie.active,pn=Ie.treeNodeRequiredProps,kn=(0,se.Z)(Ie,Tl),Pn=de.useState(!0),zn=(0,Te.Z)(Pn,2),fe=zn[0],xe=zn[1],be=de.useContext(uo.k),dt=be.prefixCls,Ut=de.useRef(!1),Cn=function(){Ut.current||gt(),Ut.current=!0};return(0,de.useEffect)(function(){Zt&&Xe==="hide"&&fe&&xe(!1)},[Zt]),(0,de.useEffect)(function(){return Zt&&it(),function(){Zt&&Cn()}},[]),Zt?de.createElement(Ki.Z,(0,Ce.Z)({ref:pt,visible:fe},yt,{motionAppear:Xe==="show",onAppearEnd:Cn,onLeaveEnd:Cn}),function(On,$t){var Mt=On.className,Gt=On.style;return de.createElement("div",{ref:$t,className:ie()("".concat(dt,"-treenode-motion"),Mt),style:Gt},Zt.map(function(yn){var xt=(0,Ce.Z)({},((0,Ha.Z)(yn.data),yn.data)),Xt=yn.title,qn=yn.key,ea=yn.isStart,Ln=yn.isEnd;delete xt.children;var ra=(0,rr.H8)(qn,pn);return de.createElement(ul.Z,(0,Ce.Z)({},xt,ra,{title:Xt,active:en,data:yn.data,key:qn,isStart:ea,isEnd:Ln}))}))}):de.createElement(ul.Z,(0,Ce.Z)({domRef:pt,className:Se,style:st},kn,{active:en}))};wl.displayName="MotionTreeNode";var kl=de.forwardRef(wl),Dl=kl;function Vl(){var Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],pt=Ee.length,Se=Ie.length;if(Math.abs(pt-Se)!==1)return{add:!1,key:null};function st(yt,Zt){var Xe=new Map;yt.forEach(function(gt){Xe.set(gt,!0)});var it=Zt.filter(function(gt){return!Xe.has(gt)});return it.length===1?it[0]:null}return pt<Se?{add:!0,key:st(Ee,Ie)}:{add:!1,key:st(Ie,Ee)}}function Ai(Ee,Ie,pt){var Se=Ee.findIndex(function(Xe){return Xe.key===pt}),st=Ee[Se+1],yt=Ie.findIndex(function(Xe){return Xe.key===pt});if(st){var Zt=Ie.findIndex(function(Xe){return Xe.key===st.key});return Ie.slice(yt+1,Zt)}return Ie.slice(yt+1)}var ki=["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"],Yi={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},$l=function(){},Zl="RC_TREE_MOTION_".concat(Math.random()),Hi={key:Zl},Li={key:Zl,level:0,index:0,pos:"0",node:Hi,nodes:[Hi]},Nl={parent:null,children:[],pos:Li.pos,data:Hi,title:null,key:Zl,isStart:[],isEnd:[]};function ti(Ee,Ie,pt,Se){return Ie===!1||!pt?Ee:Ee.slice(0,Math.ceil(pt/Se)+1)}function gl(Ee){var Ie=Ee.key,pt=Ee.pos;return(0,rr.km)(Ie,pt)}function Il(Ee){for(var Ie=String(Ee.data.key),pt=Ee;pt.parent;)pt=pt.parent,Ie="".concat(pt.data.key," > ").concat(Ie);return Ie}var Ql=de.forwardRef(function(Ee,Ie){var pt=Ee.prefixCls,Se=Ee.data,st=Ee.selectable,yt=Ee.checkable,Zt=Ee.expandedKeys,Xe=Ee.selectedKeys,it=Ee.checkedKeys,gt=Ee.loadedKeys,en=Ee.loadingKeys,pn=Ee.halfCheckedKeys,kn=Ee.keyEntities,Pn=Ee.disabled,zn=Ee.dragging,fe=Ee.dragOverNodeKey,xe=Ee.dropPosition,be=Ee.motion,dt=Ee.height,Ut=Ee.itemHeight,Cn=Ee.virtual,On=Ee.focusable,$t=Ee.activeItem,Mt=Ee.focused,Gt=Ee.tabIndex,yn=Ee.onKeyDown,xt=Ee.onFocus,Xt=Ee.onBlur,qn=Ee.onActiveChange,ea=Ee.onListChangeStart,Ln=Ee.onListChangeEnd,ra=(0,se.Z)(Ee,ki),rn=de.useRef(null),sa=de.useRef(null);de.useImperativeHandle(Ie,function(){return{scrollTo:function(Uo){rn.current.scrollTo(Uo)},getIndentWidth:function(){return sa.current.offsetWidth}}});var Ua=de.useState(Zt),Fn=(0,Te.Z)(Ua,2),xn=Fn[0],wr=Fn[1],Mr=de.useState(Se),qr=(0,Te.Z)(Mr,2),Br=qr[0],eo=qr[1],Ra=de.useState(Se),tr=(0,Te.Z)(Ra,2),Va=tr[0],Rr=tr[1],jr=de.useState([]),Er=(0,Te.Z)(jr,2),io=Er[0],Gr=Er[1],Ur=de.useState(null),So=(0,Te.Z)(Ur,2),Ro=So[0],jo=So[1],Mo=de.useRef(Se);Mo.current=Se;function li(){var Yo=Mo.current;eo(Yo),Rr(Yo),Gr([]),jo(null),Ln()}de.useEffect(function(){wr(Zt);var Yo=Vl(xn,Zt);if(Yo.key!==null)if(Yo.add){var Uo=Br.findIndex(function(fo){var Za=fo.key;return Za===Yo.key}),lo=ti(Ai(Br,Se,Yo.key),Cn,dt,Ut),Ao=Br.slice();Ao.splice(Uo+1,0,Nl),Rr(Ao),Gr(lo),jo("show")}else{var si=Se.findIndex(function(fo){var Za=fo.key;return Za===Yo.key}),Qo=ti(Ai(Se,Br,Yo.key),Cn,dt,Ut),Ei=Se.slice();Ei.splice(si+1,0,Nl),Rr(Ei),Gr(Qo),jo("hide")}else Br!==Se&&(eo(Se),Rr(Se))},[Zt,Se]),de.useEffect(function(){zn||li()},[zn]);var oi=be?Va:Se,Xo={expandedKeys:Zt,selectedKeys:Xe,loadedKeys:gt,loadingKeys:en,checkedKeys:it,halfCheckedKeys:pn,dragOverNodeKey:fe,dropPosition:xe,keyEntities:kn};return de.createElement(de.Fragment,null,Mt&&$t&&de.createElement("span",{style:Yi,"aria-live":"assertive"},Il($t)),de.createElement("div",null,de.createElement("input",{style:Yi,disabled:On===!1||Pn,tabIndex:On!==!1?Gt:null,onKeyDown:yn,onFocus:xt,onBlur:Xt,value:"",onChange:$l,"aria-label":"for screen reader"})),de.createElement("div",{className:"".concat(pt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},de.createElement("div",{className:"".concat(pt,"-indent")},de.createElement("div",{ref:sa,className:"".concat(pt,"-indent-unit")}))),de.createElement(Xi,(0,Ce.Z)({},ra,{data:oi,itemKey:gl,height:dt,fullHeight:!1,virtual:Cn,itemHeight:Ut,prefixCls:"".concat(pt,"-list"),ref:rn,onVisibleChange:function(Uo,lo){var Ao=new Set(Uo),si=lo.filter(function(Qo){return!Ao.has(Qo)});si.some(function(Qo){return gl(Qo)===Zl})&&li()}}),function(Yo){var Uo=Yo.pos,lo=(0,Ce.Z)({},((0,Ha.Z)(Yo.data),Yo.data)),Ao=Yo.title,si=Yo.key,Qo=Yo.isStart,Ei=Yo.isEnd,fo=(0,rr.km)(si,Uo);delete lo.key,delete lo.children;var Za=(0,rr.H8)(fo,Xo);return de.createElement(Dl,(0,Ce.Z)({},lo,Za,{title:Ao,active:!!$t&&si===$t.key,pos:Uo,data:Yo.data,isStart:Qo,isEnd:Ei,motion:be,motionNodes:si===Zl?io:null,motionType:Ro,onMotionStart:ea,onMotionEnd:li,treeNodeRequiredProps:Xo,onMouseMove:function(){qn(null)}}))}))});Ql.displayName="NodeList";var cl=Ql;function Jl(Ee){var Ie=Ee.dropPosition,pt=Ee.dropLevelOffset,Se=Ee.indent,st={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Ie){case-1:st.top=0,st.left=-pt*Se;break;case 1:st.bottom=0,st.left=-pt*Se;break;case 0:st.bottom=0,st.left=Se;break}return de.createElement("div",{style:st})}var Al=10,vl=function(Ee){(0,Or.Z)(pt,Ee);var Ie=(0,Kr.Z)(pt);function pt(){var Se;(0,Rn.Z)(this,pt);for(var st=arguments.length,yt=new Array(st),Zt=0;Zt<st;Zt++)yt[Zt]=arguments[Zt];return Se=Ie.call.apply(Ie,[this].concat(yt)),Se.destroyed=!1,Se.delayedDragEnterLogic=void 0,Se.loadingRetryTimes={},Se.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,rr.w$)()},Se.dragStartMousePosition=null,Se.dragNode=void 0,Se.currentMouseOverDroppableNodeKey=null,Se.listRef=de.createRef(),Se.onNodeDragStart=function(Xe,it){var gt=Se.state,en=gt.expandedKeys,pn=gt.keyEntities,kn=Se.props.onDragStart,Pn=it.props.eventKey;Se.dragNode=it,Se.dragStartMousePosition={x:Xe.clientX,y:Xe.clientY};var zn=(0,yr._5)(en,Pn);Se.setState({draggingNodeKey:Pn,dragChildrenKeys:(0,yr.wA)(Pn,pn),indent:Se.listRef.current.getIndentWidth()}),Se.setExpandedKeys(zn),window.addEventListener("dragend",Se.onWindowDragEnd),kn==null||kn({event:Xe,node:(0,rr.F)(it.props)})},Se.onNodeDragEnter=function(Xe,it){var gt=Se.state,en=gt.expandedKeys,pn=gt.keyEntities,kn=gt.dragChildrenKeys,Pn=gt.flattenNodes,zn=gt.indent,fe=Se.props,xe=fe.onDragEnter,be=fe.onExpand,dt=fe.allowDrop,Ut=fe.direction,Cn=it.props,On=Cn.pos,$t=Cn.eventKey,Mt=(0,xr.Z)(Se),Gt=Mt.dragNode;if(Se.currentMouseOverDroppableNodeKey!==$t&&(Se.currentMouseOverDroppableNodeKey=$t),!Gt){Se.resetDragState();return}var yn=(0,yr.OM)(Xe,Gt,it,zn,Se.dragStartMousePosition,dt,Pn,pn,en,Ut),xt=yn.dropPosition,Xt=yn.dropLevelOffset,qn=yn.dropTargetKey,ea=yn.dropContainerKey,Ln=yn.dropTargetPos,ra=yn.dropAllowed,rn=yn.dragOverNodeKey;if(kn.indexOf(qn)!==-1||!ra){Se.resetDragState();return}if(Se.delayedDragEnterLogic||(Se.delayedDragEnterLogic={}),Object.keys(Se.delayedDragEnterLogic).forEach(function(sa){clearTimeout(Se.delayedDragEnterLogic[sa])}),Gt.props.eventKey!==it.props.eventKey&&(Xe.persist(),Se.delayedDragEnterLogic[On]=window.setTimeout(function(){if(Se.state.draggingNodeKey!==null){var sa=(0,Re.Z)(en),Ua=pn[it.props.eventKey];Ua&&(Ua.children||[]).length&&(sa=(0,yr.L0)(en,it.props.eventKey)),"expandedKeys"in Se.props||Se.setExpandedKeys(sa),be==null||be(sa,{node:(0,rr.F)(it.props),expanded:!0,nativeEvent:Xe.nativeEvent})}},800)),Gt.props.eventKey===qn&&Xt===0){Se.resetDragState();return}Se.setState({dragOverNodeKey:rn,dropPosition:xt,dropLevelOffset:Xt,dropTargetKey:qn,dropContainerKey:ea,dropTargetPos:Ln,dropAllowed:ra}),xe==null||xe({event:Xe,node:(0,rr.F)(it.props),expandedKeys:en})},Se.onNodeDragOver=function(Xe,it){var gt=Se.state,en=gt.dragChildrenKeys,pn=gt.flattenNodes,kn=gt.keyEntities,Pn=gt.expandedKeys,zn=gt.indent,fe=Se.props,xe=fe.onDragOver,be=fe.allowDrop,dt=fe.direction,Ut=(0,xr.Z)(Se),Cn=Ut.dragNode;if(Cn){var On=(0,yr.OM)(Xe,Cn,it,zn,Se.dragStartMousePosition,be,pn,kn,Pn,dt),$t=On.dropPosition,Mt=On.dropLevelOffset,Gt=On.dropTargetKey,yn=On.dropContainerKey,xt=On.dropAllowed,Xt=On.dropTargetPos,qn=On.dragOverNodeKey;en.indexOf(Gt)!==-1||!xt||(Cn.props.eventKey===Gt&&Mt===0?Se.state.dropPosition===null&&Se.state.dropLevelOffset===null&&Se.state.dropTargetKey===null&&Se.state.dropContainerKey===null&&Se.state.dropTargetPos===null&&Se.state.dropAllowed===!1&&Se.state.dragOverNodeKey===null||Se.resetDragState():$t===Se.state.dropPosition&&Mt===Se.state.dropLevelOffset&&Gt===Se.state.dropTargetKey&&yn===Se.state.dropContainerKey&&Xt===Se.state.dropTargetPos&&xt===Se.state.dropAllowed&&qn===Se.state.dragOverNodeKey||Se.setState({dropPosition:$t,dropLevelOffset:Mt,dropTargetKey:Gt,dropContainerKey:yn,dropTargetPos:Xt,dropAllowed:xt,dragOverNodeKey:qn}),xe==null||xe({event:Xe,node:(0,rr.F)(it.props)}))}},Se.onNodeDragLeave=function(Xe,it){Se.currentMouseOverDroppableNodeKey===it.props.eventKey&&!Xe.currentTarget.contains(Xe.relatedTarget)&&(Se.resetDragState(),Se.currentMouseOverDroppableNodeKey=null);var gt=Se.props.onDragLeave;gt==null||gt({event:Xe,node:(0,rr.F)(it.props)})},Se.onWindowDragEnd=function(Xe){Se.onNodeDragEnd(Xe,null,!0),window.removeEventListener("dragend",Se.onWindowDragEnd)},Se.onNodeDragEnd=function(Xe,it){var gt=Se.props.onDragEnd;Se.setState({dragOverNodeKey:null}),Se.cleanDragState(),gt==null||gt({event:Xe,node:(0,rr.F)(it.props)}),Se.dragNode=null,window.removeEventListener("dragend",Se.onWindowDragEnd)},Se.onNodeDrop=function(Xe,it){var gt,en=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,pn=Se.state,kn=pn.dragChildrenKeys,Pn=pn.dropPosition,zn=pn.dropTargetKey,fe=pn.dropTargetPos,xe=pn.dropAllowed;if(xe){var be=Se.props.onDrop;if(Se.setState({dragOverNodeKey:null}),Se.cleanDragState(),zn!==null){var dt=(0,ye.Z)((0,ye.Z)({},(0,rr.H8)(zn,Se.getTreeNodeRequiredProps())),{},{active:((gt=Se.getActiveItem())===null||gt===void 0?void 0:gt.key)===zn,data:Se.state.keyEntities[zn].node}),Ut=kn.indexOf(zn)!==-1;(0,Ze.ZP)(!Ut,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Cn=(0,yr.yx)(fe),On={event:Xe,node:(0,rr.F)(dt),dragNode:Se.dragNode?(0,rr.F)(Se.dragNode.props):null,dragNodesKeys:[Se.dragNode.props.eventKey].concat(kn),dropToGap:Pn!==0,dropPosition:Pn+Number(Cn[Cn.length-1])};en||be==null||be(On),Se.dragNode=null}}},Se.cleanDragState=function(){var Xe=Se.state.draggingNodeKey;Xe!==null&&Se.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Se.dragStartMousePosition=null,Se.currentMouseOverDroppableNodeKey=null},Se.triggerExpandActionExpand=function(Xe,it){var gt=Se.state,en=gt.expandedKeys,pn=gt.flattenNodes,kn=it.expanded,Pn=it.key,zn=it.isLeaf;if(!(zn||Xe.shiftKey||Xe.metaKey||Xe.ctrlKey)){var fe=pn.filter(function(be){return be.key===Pn})[0],xe=(0,rr.F)((0,ye.Z)((0,ye.Z)({},(0,rr.H8)(Pn,Se.getTreeNodeRequiredProps())),{},{data:fe.data}));Se.setExpandedKeys(kn?(0,yr._5)(en,Pn):(0,yr.L0)(en,Pn)),Se.onNodeExpand(Xe,xe)}},Se.onNodeClick=function(Xe,it){var gt=Se.props,en=gt.onClick,pn=gt.expandAction;pn==="click"&&Se.triggerExpandActionExpand(Xe,it),en==null||en(Xe,it)},Se.onNodeDoubleClick=function(Xe,it){var gt=Se.props,en=gt.onDoubleClick,pn=gt.expandAction;pn==="doubleClick"&&Se.triggerExpandActionExpand(Xe,it),en==null||en(Xe,it)},Se.onNodeSelect=function(Xe,it){var gt=Se.state.selectedKeys,en=Se.state,pn=en.keyEntities,kn=en.fieldNames,Pn=Se.props,zn=Pn.onSelect,fe=Pn.multiple,xe=it.selected,be=it[kn.key],dt=!xe;dt?fe?gt=(0,yr.L0)(gt,be):gt=[be]:gt=(0,yr._5)(gt,be);var Ut=gt.map(function(Cn){var On=pn[Cn];return On?On.node:null}).filter(function(Cn){return Cn});Se.setUncontrolledState({selectedKeys:gt}),zn==null||zn(gt,{event:"select",selected:dt,node:it,selectedNodes:Ut,nativeEvent:Xe.nativeEvent})},Se.onNodeCheck=function(Xe,it,gt){var en=Se.state,pn=en.keyEntities,kn=en.checkedKeys,Pn=en.halfCheckedKeys,zn=Se.props,fe=zn.checkStrictly,xe=zn.onCheck,be=it.key,dt,Ut={event:"check",node:it,checked:gt,nativeEvent:Xe.nativeEvent};if(fe){var Cn=gt?(0,yr.L0)(kn,be):(0,yr._5)(kn,be),On=(0,yr._5)(Pn,be);dt={checked:Cn,halfChecked:On},Ut.checkedNodes=Cn.map(function(Xt){return pn[Xt]}).filter(function(Xt){return Xt}).map(function(Xt){return Xt.node}),Se.setUncontrolledState({checkedKeys:Cn})}else{var $t=(0,Cr.S)([].concat((0,Re.Z)(kn),[be]),!0,pn),Mt=$t.checkedKeys,Gt=$t.halfCheckedKeys;if(!gt){var yn=new Set(Mt);yn.delete(be);var xt=(0,Cr.S)(Array.from(yn),{checked:!1,halfCheckedKeys:Gt},pn);Mt=xt.checkedKeys,Gt=xt.halfCheckedKeys}dt=Mt,Ut.checkedNodes=[],Ut.checkedNodesPositions=[],Ut.halfCheckedKeys=Gt,Mt.forEach(function(Xt){var qn=pn[Xt];if(qn){var ea=qn.node,Ln=qn.pos;Ut.checkedNodes.push(ea),Ut.checkedNodesPositions.push({node:ea,pos:Ln})}}),Se.setUncontrolledState({checkedKeys:Mt},!1,{halfCheckedKeys:Gt})}xe==null||xe(dt,Ut)},Se.onNodeLoad=function(Xe){var it=Xe.key,gt=new Promise(function(en,pn){Se.setState(function(kn){var Pn=kn.loadedKeys,zn=Pn===void 0?[]:Pn,fe=kn.loadingKeys,xe=fe===void 0?[]:fe,be=Se.props,dt=be.loadData,Ut=be.onLoad;if(!dt||zn.indexOf(it)!==-1||xe.indexOf(it)!==-1)return null;var Cn=dt(Xe);return Cn.then(function(){var On=Se.state.loadedKeys,$t=(0,yr.L0)(On,it);Ut==null||Ut($t,{event:"load",node:Xe}),Se.setUncontrolledState({loadedKeys:$t}),Se.setState(function(Mt){return{loadingKeys:(0,yr._5)(Mt.loadingKeys,it)}}),en()}).catch(function(On){if(Se.setState(function(Mt){return{loadingKeys:(0,yr._5)(Mt.loadingKeys,it)}}),Se.loadingRetryTimes[it]=(Se.loadingRetryTimes[it]||0)+1,Se.loadingRetryTimes[it]>=Al){var $t=Se.state.loadedKeys;(0,Ze.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Se.setUncontrolledState({loadedKeys:(0,yr.L0)($t,it)}),en()}pn(On)}),{loadingKeys:(0,yr.L0)(xe,it)}})});return gt.catch(function(){}),gt},Se.onNodeMouseEnter=function(Xe,it){var gt=Se.props.onMouseEnter;gt==null||gt({event:Xe,node:it})},Se.onNodeMouseLeave=function(Xe,it){var gt=Se.props.onMouseLeave;gt==null||gt({event:Xe,node:it})},Se.onNodeContextMenu=function(Xe,it){var gt=Se.props.onRightClick;gt&&(Xe.preventDefault(),gt({event:Xe,node:it}))},Se.onFocus=function(){var Xe=Se.props.onFocus;Se.setState({focused:!0});for(var it=arguments.length,gt=new Array(it),en=0;en<it;en++)gt[en]=arguments[en];Xe==null||Xe.apply(void 0,gt)},Se.onBlur=function(){var Xe=Se.props.onBlur;Se.setState({focused:!1}),Se.onActiveChange(null);for(var it=arguments.length,gt=new Array(it),en=0;en<it;en++)gt[en]=arguments[en];Xe==null||Xe.apply(void 0,gt)},Se.getTreeNodeRequiredProps=function(){var Xe=Se.state,it=Xe.expandedKeys,gt=Xe.selectedKeys,en=Xe.loadedKeys,pn=Xe.loadingKeys,kn=Xe.checkedKeys,Pn=Xe.halfCheckedKeys,zn=Xe.dragOverNodeKey,fe=Xe.dropPosition,xe=Xe.keyEntities;return{expandedKeys:it||[],selectedKeys:gt||[],loadedKeys:en||[],loadingKeys:pn||[],checkedKeys:kn||[],halfCheckedKeys:Pn||[],dragOverNodeKey:zn,dropPosition:fe,keyEntities:xe}},Se.setExpandedKeys=function(Xe){var it=Se.state,gt=it.treeData,en=it.fieldNames,pn=(0,rr.oH)(gt,Xe,en);Se.setUncontrolledState({expandedKeys:Xe,flattenNodes:pn},!0)},Se.onNodeExpand=function(Xe,it){var gt=Se.state.expandedKeys,en=Se.state,pn=en.listChanging,kn=en.fieldNames,Pn=Se.props,zn=Pn.onExpand,fe=Pn.loadData,xe=it.expanded,be=it[kn.key];if(!pn){var dt=gt.indexOf(be),Ut=!xe;if((0,Ze.ZP)(xe&&dt!==-1||!xe&&dt===-1,"Expand state not sync with index check"),Ut?gt=(0,yr.L0)(gt,be):gt=(0,yr._5)(gt,be),Se.setExpandedKeys(gt),zn==null||zn(gt,{node:it,expanded:Ut,nativeEvent:Xe.nativeEvent}),Ut&&fe){var Cn=Se.onNodeLoad(it);Cn&&Cn.then(function(){var On=(0,rr.oH)(Se.state.treeData,gt,kn);Se.setUncontrolledState({flattenNodes:On})}).catch(function(){var On=Se.state.expandedKeys,$t=(0,yr._5)(On,be);Se.setExpandedKeys($t)})}}},Se.onListChangeStart=function(){Se.setUncontrolledState({listChanging:!0})},Se.onListChangeEnd=function(){setTimeout(function(){Se.setUncontrolledState({listChanging:!1})})},Se.onActiveChange=function(Xe){var it=Se.state.activeKey,gt=Se.props.onActiveChange;it!==Xe&&(Se.setState({activeKey:Xe}),Xe!==null&&Se.scrollTo({key:Xe}),gt==null||gt(Xe))},Se.getActiveItem=function(){var Xe=Se.state,it=Xe.activeKey,gt=Xe.flattenNodes;return it===null?null:gt.find(function(en){var pn=en.key;return pn===it})||null},Se.offsetActiveKey=function(Xe){var it=Se.state,gt=it.flattenNodes,en=it.activeKey,pn=gt.findIndex(function(zn){var fe=zn.key;return fe===en});pn===-1&&Xe<0&&(pn=gt.length),pn=(pn+Xe+gt.length)%gt.length;var kn=gt[pn];if(kn){var Pn=kn.key;Se.onActiveChange(Pn)}else Se.onActiveChange(null)},Se.onKeyDown=function(Xe){var it=Se.state,gt=it.activeKey,en=it.expandedKeys,pn=it.checkedKeys,kn=it.fieldNames,Pn=Se.props,zn=Pn.onKeyDown,fe=Pn.checkable,xe=Pn.selectable;switch(Xe.which){case y.Z.UP:{Se.offsetActiveKey(-1),Xe.preventDefault();break}case y.Z.DOWN:{Se.offsetActiveKey(1),Xe.preventDefault();break}}var be=Se.getActiveItem();if(be&&be.data){var dt=Se.getTreeNodeRequiredProps(),Ut=be.data.isLeaf===!1||!!(be.data[kn.children]||[]).length,Cn=(0,rr.F)((0,ye.Z)((0,ye.Z)({},(0,rr.H8)(gt,dt)),{},{data:be.data,active:!0}));switch(Xe.which){case y.Z.LEFT:{Ut&&en.includes(gt)?Se.onNodeExpand({},Cn):be.parent&&Se.onActiveChange(be.parent.key),Xe.preventDefault();break}case y.Z.RIGHT:{Ut&&!en.includes(gt)?Se.onNodeExpand({},Cn):be.children&&be.children.length&&Se.onActiveChange(be.children[0].key),Xe.preventDefault();break}case y.Z.ENTER:case y.Z.SPACE:{fe&&!Cn.disabled&&Cn.checkable!==!1&&!Cn.disableCheckbox?Se.onNodeCheck({},Cn,!pn.includes(gt)):!fe&&xe&&!Cn.disabled&&Cn.selectable!==!1&&Se.onNodeSelect({},Cn);break}}}zn==null||zn(Xe)},Se.setUncontrolledState=function(Xe){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Se.destroyed){var en=!1,pn=!0,kn={};Object.keys(Xe).forEach(function(Pn){if(Pn in Se.props){pn=!1;return}en=!0,kn[Pn]=Xe[Pn]}),en&&(!it||pn)&&Se.setState((0,ye.Z)((0,ye.Z)({},kn),gt))}},Se.scrollTo=function(Xe){Se.listRef.current.scrollTo(Xe)},Se}return(0,ka.Z)(pt,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var st=this.props.activeKey;st!==void 0&&st!==this.state.activeKey&&(this.setState({activeKey:st}),st!==null&&this.scrollTo({key:st}))}},{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 st,yt=this.state,Zt=yt.focused,Xe=yt.flattenNodes,it=yt.keyEntities,gt=yt.draggingNodeKey,en=yt.activeKey,pn=yt.dropLevelOffset,kn=yt.dropContainerKey,Pn=yt.dropTargetKey,zn=yt.dropPosition,fe=yt.dragOverNodeKey,xe=yt.indent,be=this.props,dt=be.prefixCls,Ut=be.className,Cn=be.style,On=be.showLine,$t=be.focusable,Mt=be.tabIndex,Gt=Mt===void 0?0:Mt,yn=be.selectable,xt=be.showIcon,Xt=be.icon,qn=be.switcherIcon,ea=be.draggable,Ln=be.checkable,ra=be.checkStrictly,rn=be.disabled,sa=be.motion,Ua=be.loadData,Fn=be.filterTreeNode,xn=be.height,wr=be.itemHeight,Mr=be.virtual,qr=be.titleRender,Br=be.dropIndicatorRender,eo=be.onContextMenu,Ra=be.onScroll,tr=be.direction,Va=be.rootClassName,Rr=be.rootStyle,jr=(0,Pe.Z)(this.props,{aria:!0,data:!0}),Er;return ea&&((0,nt.Z)(ea)==="object"?Er=ea:typeof ea=="function"?Er={nodeDraggable:ea}:Er={}),de.createElement(uo.k.Provider,{value:{prefixCls:dt,selectable:yn,showIcon:xt,icon:Xt,switcherIcon:qn,draggable:Er,draggingNodeKey:gt,checkable:Ln,checkStrictly:ra,disabled:rn,keyEntities:it,dropLevelOffset:pn,dropContainerKey:kn,dropTargetKey:Pn,dropPosition:zn,dragOverNodeKey:fe,indent:xe,direction:tr,dropIndicatorRender:Br,loadData:Ua,filterTreeNode:Fn,titleRender:qr,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}},de.createElement("div",{role:"tree",className:ie()(dt,Ut,Va,(st={},(0,Me.Z)(st,"".concat(dt,"-show-line"),On),(0,Me.Z)(st,"".concat(dt,"-focused"),Zt),(0,Me.Z)(st,"".concat(dt,"-active-focused"),en!==null),st)),style:Rr},de.createElement(cl,(0,Ce.Z)({ref:this.listRef,prefixCls:dt,style:Cn,data:Xe,disabled:rn,selectable:yn,checkable:!!Ln,motion:sa,dragging:gt!==null,height:xn,itemHeight:wr,virtual:Mr,focusable:$t,focused:Zt,tabIndex:Gt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:eo,onScroll:Ra},this.getTreeNodeRequiredProps(),jr))))}}],[{key:"getDerivedStateFromProps",value:function(st,yt){var Zt=yt.prevProps,Xe={prevProps:st};function it($t){return!Zt&&$t in st||Zt&&Zt[$t]!==st[$t]}var gt,en=yt.fieldNames;if(it("fieldNames")&&(en=(0,rr.w$)(st.fieldNames),Xe.fieldNames=en),it("treeData")?gt=st.treeData:it("children")&&((0,Ze.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),gt=(0,rr.zn)(st.children)),gt){Xe.treeData=gt;var pn=(0,rr.I8)(gt,{fieldNames:en});Xe.keyEntities=(0,ye.Z)((0,Me.Z)({},Zl,Li),pn.keyEntities)}var kn=Xe.keyEntities||yt.keyEntities;if(it("expandedKeys")||Zt&&it("autoExpandParent"))Xe.expandedKeys=st.autoExpandParent||!Zt&&st.defaultExpandParent?(0,yr.r7)(st.expandedKeys,kn):st.expandedKeys;else if(!Zt&&st.defaultExpandAll){var Pn=(0,ye.Z)({},kn);delete Pn[Zl],Xe.expandedKeys=Object.keys(Pn).map(function($t){return Pn[$t].key})}else!Zt&&st.defaultExpandedKeys&&(Xe.expandedKeys=st.autoExpandParent||st.defaultExpandParent?(0,yr.r7)(st.defaultExpandedKeys,kn):st.defaultExpandedKeys);if(Xe.expandedKeys||delete Xe.expandedKeys,gt||Xe.expandedKeys){var zn=(0,rr.oH)(gt||yt.treeData,Xe.expandedKeys||yt.expandedKeys,en);Xe.flattenNodes=zn}if(st.selectable&&(it("selectedKeys")?Xe.selectedKeys=(0,yr.BT)(st.selectedKeys,st):!Zt&&st.defaultSelectedKeys&&(Xe.selectedKeys=(0,yr.BT)(st.defaultSelectedKeys,st))),st.checkable){var fe;if(it("checkedKeys")?fe=(0,yr.E6)(st.checkedKeys)||{}:!Zt&&st.defaultCheckedKeys?fe=(0,yr.E6)(st.defaultCheckedKeys)||{}:gt&&(fe=(0,yr.E6)(st.checkedKeys)||{checkedKeys:yt.checkedKeys,halfCheckedKeys:yt.halfCheckedKeys}),fe){var xe=fe,be=xe.checkedKeys,dt=be===void 0?[]:be,Ut=xe.halfCheckedKeys,Cn=Ut===void 0?[]:Ut;if(!st.checkStrictly){var On=(0,Cr.S)(dt,!0,kn);dt=On.checkedKeys,Cn=On.halfCheckedKeys}Xe.checkedKeys=dt,Xe.halfCheckedKeys=Cn}}return it("loadedKeys")&&(Xe.loadedKeys=st.loadedKeys),Xe}}]),pt}(de.Component);vl.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:Jl,allowDrop:function(){return!0},expandAction:!1},vl.TreeNode=ul.Z;var ps=vl,Ws=ps,Ds=de.createContext(null),ho=Ds;function Ul(Ee){return Array.isArray(Ee)?Ee:Ee!==void 0?[Ee]:[]}function ts(Ee){var Ie=Ee||{},pt=Ie.label,Se=Ie.value,st=Ie.children,yt=Se||"value";return{_title:pt?[pt]:["title","label"],value:yt,key:yt,children:st||"children"}}function br(Ee){return!Ee||Ee.disabled||Ee.disableCheckbox||Ee.checkable===!1}function os(Ee,Ie){var pt=[];function Se(st){st.forEach(function(yt){var Zt=yt[Ie.children];Zt&&(pt.push(yt[Ie.value]),Se(Zt))})}return Se(Ee),pt}function Ns(Ee){return Ee==null}var zs={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Hs=function(Ie,pt){var Se=re(),st=Se.prefixCls,yt=Se.multiple,Zt=Se.searchValue,Xe=Se.toggleOpen,it=Se.open,gt=Se.notFoundContent,en=de.useContext(ho),pn=en.virtual,kn=en.listHeight,Pn=en.listItemHeight,zn=en.treeData,fe=en.fieldNames,xe=en.onSelect,be=en.dropdownMatchSelectWidth,dt=en.treeExpandAction,Ut=de.useContext(Mn),Cn=Ut.checkable,On=Ut.checkedKeys,$t=Ut.halfCheckedKeys,Mt=Ut.treeExpandedKeys,Gt=Ut.treeDefaultExpandAll,yn=Ut.treeDefaultExpandedKeys,xt=Ut.onTreeExpand,Xt=Ut.treeIcon,qn=Ut.showTreeIcon,ea=Ut.switcherIcon,Ln=Ut.treeLine,ra=Ut.treeNodeFilterProp,rn=Ut.loadData,sa=Ut.treeLoadedKeys,Ua=Ut.treeMotion,Fn=Ut.onTreeLoad,xn=Ut.keyEntities,wr=de.useRef(),Mr=(0,ni.Z)(function(){return zn},[it,zn],function(lo,Ao){return Ao[0]&&lo[1]!==Ao[1]}),qr=de.useState(null),Br=(0,Te.Z)(qr,2),eo=Br[0],Ra=Br[1],tr=xn[eo],Va=de.useMemo(function(){return Cn?{checked:On,halfChecked:$t}:null},[Cn,On,$t]);de.useEffect(function(){if(it&&!yt&&On.length){var lo;(lo=wr.current)===null||lo===void 0||lo.scrollTo({key:On[0]}),Ra(On[0])}},[it]);var Rr=String(Zt).toLowerCase(),jr=function(Ao){return Rr?String(Ao[ra]).toLowerCase().includes(Rr):!1},Er=de.useState(yn),io=(0,Te.Z)(Er,2),Gr=io[0],Ur=io[1],So=de.useState(null),Ro=(0,Te.Z)(So,2),jo=Ro[0],Mo=Ro[1],li=de.useMemo(function(){return Mt?(0,Re.Z)(Mt):Zt?jo:Gr},[Gr,jo,Mt,Zt]);de.useEffect(function(){Zt&&Mo(os(zn,fe))},[Zt]);var oi=function(Ao){Ur(Ao),Mo(Ao),xt&&xt(Ao)},Xo=function(Ao){Ao.preventDefault()},Yo=function(Ao,si){var Qo=si.node;Cn&&br(Qo)||(xe(Qo.key,{selected:!On.includes(Qo.key)}),yt||Xe(!1))};if(de.useImperativeHandle(pt,function(){var lo;return{scrollTo:(lo=wr.current)===null||lo===void 0?void 0:lo.scrollTo,onKeyDown:function(si){var Qo,Ei=si.which;switch(Ei){case y.Z.UP:case y.Z.DOWN:case y.Z.LEFT:case y.Z.RIGHT:(Qo=wr.current)===null||Qo===void 0||Qo.onKeyDown(si);break;case y.Z.ENTER:{if(tr){var fo=(tr==null?void 0:tr.node)||{},Za=fo.selectable,Vr=fo.value;Za!==!1&&Yo(null,{node:{key:eo},selected:!On.includes(Vr)})}break}case y.Z.ESC:Xe(!1)}},onKeyUp:function(){}}}),Mr.length===0)return de.createElement("div",{role:"listbox",className:"".concat(st,"-empty"),onMouseDown:Xo},gt);var Uo={fieldNames:fe};return sa&&(Uo.loadedKeys=sa),li&&(Uo.expandedKeys=li),de.createElement("div",{onMouseDown:Xo},tr&&it&&de.createElement("span",{style:zs,"aria-live":"assertive"},tr.node.value),de.createElement(Ws,(0,Ce.Z)({ref:wr,focusable:!1,prefixCls:"".concat(st,"-tree"),treeData:Mr,height:kn,itemHeight:Pn,virtual:pn!==!1&&be!==!1,multiple:yt,icon:Xt,showIcon:qn,switcherIcon:ea,showLine:Ln,loadData:Zt?null:rn,motion:Ua,activeKey:eo,checkable:Cn,checkStrictly:!0,checkedKeys:Va,selectedKeys:Cn?[]:On,defaultExpandAll:Gt},Uo,{onActiveChange:Ra,onSelect:Yo,onCheck:Yo,onExpand:oi,onLoad:Fn,filterTreeNode:jr,expandAction:dt})))},hs=de.forwardRef(Hs);hs.displayName="OptionList";var Ss=hs,rl="SHOW_ALL",ys="SHOW_PARENT",Wl="SHOW_CHILD";function Es(Ee,Ie,pt,Se){var st=new Set(Ee);return Ie===Wl?Ee.filter(function(yt){var Zt=pt[yt];return!(Zt&&Zt.children&&Zt.children.some(function(Xe){var it=Xe.node;return st.has(it[Se.value])})&&Zt.children.every(function(Xe){var it=Xe.node;return br(it)||st.has(it[Se.value])}))}):Ie===ys?Ee.filter(function(yt){var Zt=pt[yt],Xe=Zt?Zt.parent:null;return!(Xe&&!br(Xe.node)&&st.has(Xe.key))}):Ee}function is(Ee){var Ie=Ee.searchPlaceholder,pt=Ee.treeCheckStrictly,Se=Ee.treeCheckable,st=Ee.labelInValue,yt=Ee.value,Zt=Ee.multiple;warning(!Ie,"`searchPlaceholder` has been removed."),pt&&st===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(st||pt)&&warning(toArray(yt).every(function(Xe){return Xe&&_typeof(Xe)==="object"&&"value"in Xe}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),pt||Zt||Se?warning(!yt||Array.isArray(yt),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(yt),"`value` should not be array when `TreeSelect` is single mode.")}var Is=null,Ps=["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 Os(Ee){return!Ee||(0,nt.Z)(Ee)!=="object"}var ls=de.forwardRef(function(Ee,Ie){var pt=Ee.id,Se=Ee.prefixCls,st=Se===void 0?"rc-tree-select":Se,yt=Ee.value,Zt=Ee.defaultValue,Xe=Ee.onChange,it=Ee.onSelect,gt=Ee.onDeselect,en=Ee.searchValue,pn=Ee.inputValue,kn=Ee.onSearch,Pn=Ee.autoClearSearchValue,zn=Pn===void 0?!0:Pn,fe=Ee.filterTreeNode,xe=Ee.treeNodeFilterProp,be=xe===void 0?"value":xe,dt=Ee.showCheckedStrategy,Ut=Ee.treeNodeLabelProp,Cn=Ee.multiple,On=Ee.treeCheckable,$t=Ee.treeCheckStrictly,Mt=Ee.labelInValue,Gt=Ee.fieldNames,yn=Ee.treeDataSimpleMode,xt=Ee.treeData,Xt=Ee.children,qn=Ee.loadData,ea=Ee.treeLoadedKeys,Ln=Ee.onTreeLoad,ra=Ee.treeDefaultExpandAll,rn=Ee.treeExpandedKeys,sa=Ee.treeDefaultExpandedKeys,Ua=Ee.onTreeExpand,Fn=Ee.treeExpandAction,xn=Ee.virtual,wr=Ee.listHeight,Mr=wr===void 0?200:wr,qr=Ee.listItemHeight,Br=qr===void 0?20:qr,eo=Ee.onDropdownVisibleChange,Ra=Ee.dropdownMatchSelectWidth,tr=Ra===void 0?!0:Ra,Va=Ee.treeLine,Rr=Ee.treeIcon,jr=Ee.showTreeIcon,Er=Ee.switcherIcon,io=Ee.treeMotion,Gr=(0,se.Z)(Ee,Ps),Ur=Ya(pt),So=On&&!$t,Ro=On||$t,jo=$t||Mt,Mo=Ro||Cn,li=(0,ze.Z)(Zt,{value:yt}),oi=(0,Te.Z)(li,2),Xo=oi[0],Yo=oi[1],Uo=de.useMemo(function(){return On?dt||Wl:rl},[dt,On]),lo=de.useMemo(function(){return ts(Gt)},[JSON.stringify(Gt)]),Ao=(0,ze.Z)("",{value:en!==void 0?en:pn,postState:function(Aa){return Aa||""}}),si=(0,Te.Z)(Ao,2),Qo=si[0],Ei=si[1],fo=function(Aa){Ei(Aa),kn==null||kn(Aa)},Za=Ta(xt,Xt,yn),Vr=zo(Za,lo),Wr=Vr.keyEntities,ur=Vr.valueEntities,yo=de.useCallback(function(Fa){var Aa=[],Ia=[];return Fa.forEach(function(or){ur.has(or)?Ia.push(or):Aa.push(or)}),{missingRawValues:Aa,existRawValues:Ia}},[ur]),di=qe(Za,Qo,{fieldNames:lo,treeNodeFilterProp:be,filterTreeNode:fe}),Pi=de.useCallback(function(Fa){if(Fa){if(Ut)return Fa[Ut];for(var Aa=lo._title,Ia=0;Ia<Aa.length;Ia+=1){var or=Fa[Aa[Ia]];if(or!==void 0)return or}}},[lo,Ut]),Di=de.useCallback(function(Fa){var Aa=Ul(Fa);return Aa.map(function(Ia){return Os(Ia)?{value:Ia}:Ia})},[]),Ri=de.useCallback(function(Fa){var Aa=Di(Fa);return Aa.map(function(Ia){var or=Ia.label,$r=Ia.value,cr=Ia.halfChecked,Ba,Na=ur.get($r);if(Na){var $a;or=($a=or)!==null&&$a!==void 0?$a:Pi(Na.node),Ba=Na.node.disabled}else if(or===void 0){var fr=Di(Xo).find(function(to){return to.value===$r});or=fr.label}return{label:or,value:$r,halfChecked:cr,disabled:Ba}})},[ur,Pi,Di,Xo]),ge=de.useMemo(function(){return Di(Xo)},[Di,Xo]),ve=de.useMemo(function(){var Fa=[],Aa=[];return ge.forEach(function(Ia){Ia.halfChecked?Aa.push(Ia):Fa.push(Ia)}),[Fa,Aa]},[ge]),Le=(0,Te.Z)(ve,2),Ve=Le[0],rt=Le[1],ct=de.useMemo(function(){return Ve.map(function(Fa){return Fa.value})},[Ve]),_t=Lo(Ve,rt,So,Wr),on=(0,Te.Z)(_t,2),Et=on[0],bt=on[1],un=de.useMemo(function(){var Fa=Es(Et,Uo,Wr,lo),Aa=Fa.map(function(cr){var Ba,Na,$a;return(Ba=(Na=Wr[cr])===null||Na===void 0||($a=Na.node)===null||$a===void 0?void 0:$a[lo.value])!==null&&Ba!==void 0?Ba:cr}),Ia=Aa.map(function(cr){var Ba=Ve.find(function(Na){return Na.value===cr});return{value:cr,label:Ba==null?void 0:Ba.label}}),or=Ri(Ia),$r=or[0];return!Mo&&$r&&Ns($r.value)&&Ns($r.label)?[]:or.map(function(cr){var Ba;return(0,ye.Z)((0,ye.Z)({},cr),{},{label:(Ba=cr.label)!==null&&Ba!==void 0?Ba:cr.value})})},[lo,Mo,Et,Ve,Ri,Uo,Wr]),qt=po(un),Zn=(0,Te.Z)(qt,1),pa=Zn[0],ua=Qn(function(Fa,Aa,Ia){var or=Ri(Fa);if(Yo(or),zn&&Ei(""),Xe){var $r=Fa;if(So){var cr=Es(Fa,Uo,Wr,lo);$r=cr.map(function($o){var mi=ur.get($o);return mi?mi.node[lo.value]:$o})}var Ba=Aa||{triggerValue:void 0,selected:void 0},Na=Ba.triggerValue,$a=Ba.selected,fr=$r;if($t){var to=rt.filter(function($o){return!$r.includes($o.value)});fr=[].concat((0,Re.Z)(fr),(0,Re.Z)(to))}var ko=Ri(fr),Co={preValue:Ve,triggerValue:Na},Bo=!0;($t||Ia==="selection"&&!$a)&&(Bo=!1),Un(Co,Na,Fa,Za,Bo,lo),Ro?Co.checked=$a:Co.selected=$a;var Jo=jo?ko:ko.map(function($o){return $o.value});Xe(Mo?Jo:Jo[0],jo?null:ko.map(function($o){return $o.label}),Co)}}),vr=de.useCallback(function(Fa,Aa){var Ia,or=Aa.selected,$r=Aa.source,cr=Wr[Fa],Ba=cr==null?void 0:cr.node,Na=(Ia=Ba==null?void 0:Ba[lo.value])!==null&&Ia!==void 0?Ia:Fa;if(!Mo)ua([Na],{selected:!0,triggerValue:Na},"option");else{var $a=or?[].concat((0,Re.Z)(ct),[Na]):Et.filter(function(mi){return mi!==Na});if(So){var fr=yo($a),to=fr.missingRawValues,ko=fr.existRawValues,Co=ko.map(function(mi){return ur.get(mi).key}),Bo;if(or){var Jo=(0,Cr.S)(Co,!0,Wr);Bo=Jo.checkedKeys}else{var $o=(0,Cr.S)(Co,{checked:!1,halfCheckedKeys:bt},Wr);Bo=$o.checkedKeys}$a=[].concat((0,Re.Z)(to),(0,Re.Z)(Bo.map(function(mi){return Wr[mi].node[lo.value]})))}ua($a,{selected:or,triggerValue:Na},$r||"option")}or||!Mo?it==null||it(Na,gn(Ba)):gt==null||gt(Na,gn(Ba))},[yo,ur,Wr,lo,Mo,ct,ua,So,it,gt,Et,bt]),nr=de.useCallback(function(Fa){if(eo){var Aa={};Object.defineProperty(Aa,"documentClickClose",{get:function(){return(0,Ze.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),eo(Fa,Aa)}},[eo]),Pr=Qn(function(Fa,Aa){var Ia=Fa.map(function(or){return or.value});if(Aa.type==="clear"){ua(Ia,{},"selection");return}Aa.values.length&&vr(Aa.values[0].value,{selected:!1,source:"selection"})}),hn=de.useMemo(function(){return{virtual:xn,dropdownMatchSelectWidth:tr,listHeight:Mr,listItemHeight:Br,treeData:di,fieldNames:lo,onSelect:vr,treeExpandAction:Fn}},[xn,tr,Mr,Br,di,lo,vr,Fn]),ma=de.useMemo(function(){return{checkable:Ro,loadData:qn,treeLoadedKeys:ea,onTreeLoad:Ln,checkedKeys:Et,halfCheckedKeys:bt,treeDefaultExpandAll:ra,treeExpandedKeys:rn,treeDefaultExpandedKeys:sa,onTreeExpand:Ua,treeIcon:Rr,treeMotion:io,showTreeIcon:jr,switcherIcon:Er,treeLine:Va,treeNodeFilterProp:be,keyEntities:Wr}},[Ro,qn,ea,Ln,Et,bt,ra,rn,sa,Ua,Rr,io,jr,Er,Va,be,Wr]);return de.createElement(ho.Provider,{value:hn},de.createElement(Mn.Provider,{value:ma},de.createElement(La,(0,Ce.Z)({ref:Ie},Gr,{id:Ur,prefixCls:st,mode:Mo?"multiple":void 0,displayValues:pa,onDisplayValuesChange:Pr,searchValue:Qo,onSearch:fo,OptionList:Ss,emptyOptions:!Za.length,onDropdownVisibleChange:nr,dropdownMatchSelectWidth:tr}))))}),Xl=ls;Xl.TreeNode=ii,Xl.SHOW_ALL=rl,Xl.SHOW_PARENT=ys,Xl.SHOW_CHILD=Wl;var ss=Xl,fs=ss,js=z(10366),ol=z(8745),bs=z(33603),Ls=z(9708),Cs=z(53124),Rs=z(98866),Yl=z(88258),ql=z(98675),Gs=z(65223),De=z(87244),je=z(13458),tt=z(78642),Nt=z(46163),Bn=z(4173),Xn=z(99184),Ca=z(63185),Ga=z(45503),Xa=z(67968),mr=z(32157);const Zr=Ee=>{const{componentCls:Ie,treePrefixCls:pt,colorBgElevated:Se}=Ee,st=`.${pt}`;return[{[`${Ie}-dropdown`]:[{padding:`${Ee.paddingXS}px ${Ee.paddingXS/2}px`},(0,mr.Yk)(pt,(0,Ga.TS)(Ee,{colorBgContainer:Se})),{[st]:{borderRadius:0,[`${st}-list-holder-inner`]:{alignItems:"stretch",[`${st}-treenode`]:{[`${st}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Ca.C2)(`${pt}-checkbox`,Ee),{"&-rtl":{direction:"rtl",[`${st}-switcher${st}-switcher_close`]:{[`${st}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function pr(Ee,Ie){return(0,Xa.Z)("TreeSelect",pt=>{const Se=(0,Ga.TS)(pt,{treePrefixCls:Ie});return[Zr(Se)]},mr.TM)(Ee)}var Tr=function(Ee,Ie){var pt={};for(var Se in Ee)Object.prototype.hasOwnProperty.call(Ee,Se)&&Ie.indexOf(Se)<0&&(pt[Se]=Ee[Se]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,Se=Object.getOwnPropertySymbols(Ee);st<Se.length;st++)Ie.indexOf(Se[st])<0&&Object.prototype.propertyIsEnumerable.call(Ee,Se[st])&&(pt[Se[st]]=Ee[Se[st]]);return pt};const Sr=(Ee,Ie)=>{var pt,{prefixCls:Se,size:st,disabled:yt,bordered:Zt=!0,className:Xe,rootClassName:it,treeCheckable:gt,multiple:en,listHeight:pn=256,listItemHeight:kn=26,placement:Pn,notFoundContent:zn,switcherIcon:fe,treeLine:xe,getPopupContainer:be,popupClassName:dt,dropdownClassName:Ut,treeIcon:Cn=!1,transitionName:On,choiceTransitionName:$t="",status:Mt,treeExpandAction:Gt,builtinPlacements:yn,dropdownMatchSelectWidth:xt,popupMatchSelectWidth:Xt,allowClear:qn}=Ee,ea=Tr(Ee,["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:Ln,getPrefixCls:ra,renderEmpty:rn,direction:sa,virtual:Ua,popupMatchSelectWidth:Fn,popupOverflow:xn}=de.useContext(Cs.E_),wr=ra(),Mr=ra("select",Se),qr=ra("select-tree",Se),Br=ra("tree-select",Se),{compactSize:eo,compactItemClassnames:Ra}=(0,Bn.ri)(Mr,sa),[tr,Va]=(0,De.Z)(Mr),[Rr]=pr(Br,qr),jr=ie()(dt||Ut,`${Br}-dropdown`,{[`${Br}-dropdown-rtl`]:sa==="rtl"},it,Va),Er=!!(gt||en),io=(0,tt.Z)(ea.suffixIcon,ea.showArrow),Gr=(pt=Xt!=null?Xt:xt)!==null&&pt!==void 0?pt:Fn,{status:Ur,hasFeedback:So,isFormItemInput:Ro,feedbackIcon:jo}=de.useContext(Gs.aM),Mo=(0,Ls.F)(Ur,Mt),{suffixIcon:li,removeIcon:oi,clearIcon:Xo}=(0,Nt.Z)(Object.assign(Object.assign({},ea),{multiple:Er,showSuffixIcon:io,hasFeedback:So,feedbackIcon:jo,prefixCls:Mr,componentName:"TreeSelect"})),Yo=qn===!0?{clearIcon:Xo}:qn;let Uo;zn!==void 0?Uo=zn:Uo=(rn==null?void 0:rn("Select"))||de.createElement(Yl.Z,{componentName:"Select"});const lo=(0,js.Z)(ea,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Ao=de.useMemo(()=>Pn!==void 0?Pn:sa==="rtl"?"bottomRight":"bottomLeft",[Pn,sa]),si=(0,je.Z)(yn,xn),Qo=(0,ql.Z)(ur=>{var yo;return(yo=st!=null?st:eo)!==null&&yo!==void 0?yo:ur}),Ei=de.useContext(Rs.Z),fo=yt!=null?yt:Ei,Za=ie()(!Se&&Br,{[`${Mr}-lg`]:Qo==="large",[`${Mr}-sm`]:Qo==="small",[`${Mr}-rtl`]:sa==="rtl",[`${Mr}-borderless`]:!Zt,[`${Mr}-in-form-item`]:Ro},(0,Ls.Z)(Mr,Mo,So),Ra,Xe,it,Va),Vr=ur=>de.createElement(Xn.Z,{prefixCls:qr,switcherIcon:fe,treeNodeProps:ur,showLine:xe}),Wr=de.createElement(fs,Object.assign({virtual:Ua,disabled:fo},lo,{dropdownMatchSelectWidth:Gr,builtinPlacements:si,ref:Ie,prefixCls:Mr,className:Za,listHeight:pn,listItemHeight:kn,treeCheckable:gt&&de.createElement("span",{className:`${Mr}-tree-checkbox-inner`}),treeLine:!!xe,suffixIcon:li,multiple:Er,placement:Ao,removeIcon:oi,allowClear:Yo,switcherIcon:Vr,showTreeIcon:Cn,notFoundContent:Uo,getPopupContainer:be||Ln,treeMotion:null,dropdownClassName:jr,choiceTransitionName:(0,bs.m)(wr,"",$t),transitionName:(0,bs.m)(wr,"slide-up",On),treeExpandAction:Gt}));return tr(Rr(Wr))},Po=de.forwardRef(Sr),wo=(0,ol.Z)(Po);Po.TreeNode=ii,Po.SHOW_ALL=rl,Po.SHOW_PARENT=ys,Po.SHOW_CHILD=Wl,Po._InternalPanelDoNotUseOrYouWillBeFired=wo;var Ko=Po},79870:function(Jt,zt,z){"use strict";z.d(zt,{default:function(){return oo}});var x=z(87462),ie=z(4942),Ce=z(71002),Re=z(1413),ye=z(74902),Te=z(15671),se=z(43144),nt=z(97326),Me=z(60136),ze=z(51630),Ze=z(94184),de=z.n(Ze),_e={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(gn){var Un=gn.keyCode;if(gn.altKey&&!gn.ctrlKey||gn.metaKey||Un>=_e.F1&&Un<=_e.F12)return!1;switch(Un){case _e.ALT:case _e.CAPS_LOCK:case _e.CONTEXT_MENU:case _e.CTRL:case _e.DOWN:case _e.END:case _e.ESC:case _e.HOME:case _e.INSERT:case _e.LEFT:case _e.MAC_FF_META:case _e.META:case _e.NUMLOCK:case _e.NUM_CENTER:case _e.PAGE_DOWN:case _e.PAGE_UP:case _e.PAUSE:case _e.PRINT_SCREEN:case _e.RIGHT:case _e.SHIFT:case _e.UP:case _e.WIN_KEY:case _e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(gn){if(gn>=_e.ZERO&&gn<=_e.NINE||gn>=_e.NUM_ZERO&&gn<=_e.NUM_MULTIPLY||gn>=_e.A&&gn<=_e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&gn===0)return!0;switch(gn){case _e.SPACE:case _e.QUESTION_MARK:case _e.NUM_PLUS:case _e.NUM_MINUS:case _e.NUM_PERIOD:case _e.NUM_DIVISION:case _e.SEMICOLON:case _e.DASH:case _e.EQUALS:case _e.COMMA:case _e.PERIOD:case _e.SLASH:case _e.APOSTROPHE:case _e.SINGLE_QUOTE:case _e.OPEN_SQUARE_BRACKET:case _e.BACKSLASH:case _e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ue=_e,y=z(34952),a=z(72978),b=z(67294),E=z(69610);function ee(tn){var gn=tn.dropPosition,Un=tn.dropLevelOffset,qe=tn.indent,Qn={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(gn){case-1:Qn.top=0,Qn.left=-Un*qe;break;case 1:Qn.bottom=0,Qn.left=-Un*qe;break;case 0:Qn.bottom=0,Qn.left=qe;break}return b.createElement("div",{style:Qn})}var te=z(36459),re=z(97685),oe=z(45987);function ce(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var pe=ce()?b.useLayoutEffect:b.useEffect,Pe=pe,He=function(gn,Un){var qe=React.useRef(!0);pe(function(){if(!qe.current)return gn()},Un),pe(function(){return qe.current=!1,function(){qe.current=!0}},[])},ke=z(73299),Oe=z(73935);function he(tn){return tn instanceof HTMLElement||tn instanceof SVGElement}function Ke(tn){return he(tn)?tn:tn instanceof b.Component?Oe.findDOMNode(tn):null}var Ue=z(28580);function $e(tn,gn,Un){var qe=React.useRef({});return(!("value"in qe.current)||Un(qe.current.condition,gn))&&(qe.current.value=tn(),qe.current.condition=gn),qe.current.value}function Fe(tn,gn){typeof tn=="function"?tn(gn):(0,Ce.Z)(tn)==="object"&&tn&&"current"in tn&&(tn.current=gn)}function at(){for(var tn=arguments.length,gn=new Array(tn),Un=0;Un<tn;Un++)gn[Un]=arguments[Un];var qe=gn.filter(function(Qn){return Qn});return qe.length<=1?qe[0]:function(Qn){gn.forEach(function(Ma){Fe(Ma,Qn)})}}function lt(){for(var tn=arguments.length,gn=new Array(tn),Un=0;Un<tn;Un++)gn[Un]=arguments[Un];return useMemo(function(){return at.apply(void 0,gn)},gn,function(qe,Qn){return qe.length===Qn.length&&qe.every(function(Ma,Ta){return Ma===Qn[Ta]})})}function ft(tn){var gn,Un,qe=(0,Ue.isMemo)(tn)?tn.type.type:tn.type;return!(typeof qe=="function"&&!((gn=qe.prototype)!==null&&gn!==void 0&&gn.render)||typeof tn=="function"&&!((Un=tn.prototype)!==null&&Un!==void 0&&Un.render))}function ut(tn,gn){var Un={};return Un[tn.toLowerCase()]=gn.toLowerCase(),Un["Webkit".concat(tn)]="webkit".concat(gn),Un["Moz".concat(tn)]="moz".concat(gn),Un["ms".concat(tn)]="MS".concat(gn),Un["O".concat(tn)]="o".concat(gn.toLowerCase()),Un}function St(tn,gn){var Un={animationend:ut("Animation","AnimationEnd"),transitionend:ut("Transition","TransitionEnd")};return tn&&("AnimationEvent"in gn||delete Un.animationend.animation,"TransitionEvent"in gn||delete Un.transitionend.transition),Un}var jt=St(ce(),typeof window!="undefined"?window:{}),Vn={};if(ce()){var fa=document.createElement("div");Vn=fa.style}var mt={};function ht(tn){if(mt[tn])return mt[tn];var gn=jt[tn];if(gn)for(var Un=Object.keys(gn),qe=Un.length,Qn=0;Qn<qe;Qn+=1){var Ma=Un[Qn];if(Object.prototype.hasOwnProperty.call(gn,Ma)&&Ma in Vn)return mt[tn]=gn[Ma],mt[tn]}return""}var mn=ht("animationend"),oa=ht("transitionend"),Sn=!!(mn&&oa),Kn=mn||"animationend",Ye=oa||"transitionend";function _n(tn,gn){if(!tn)return null;if((0,Ce.Z)(tn)==="object"){var Un=gn.replace(/-\w/g,function(qe){return qe[1].toUpperCase()});return tn[Un]}return"".concat(tn,"-").concat(gn)}var ca="none",ln="appear",At="enter",cn="leave",We="none",Be="prepare",Je="start",vt="active",Vt="end";function dn(tn){var gn=b.useRef(!1),Un=b.useState(tn),qe=(0,re.Z)(Un,2),Qn=qe[0],Ma=qe[1];b.useEffect(function(){return gn.current=!1,function(){gn.current=!0}},[]);function Ta(En,Mn){Mn&&gn.current||Ma(En)}return[Qn,Ta]}var ta=function(gn){return+setTimeout(gn,16)},vn=function(gn){return clearTimeout(gn)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ta=function(gn){return window.requestAnimationFrame(gn)},vn=function(gn){return window.cancelAnimationFrame(gn)});var Nn=0,ia=new Map;function et(tn){ia.delete(tn)}var Ot=function(gn){var Un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Nn+=1;var qe=Nn;function Qn(Ma){if(Ma===0)et(qe),gn();else{var Ta=ta(function(){Qn(Ma-1)});ia.set(qe,Ta)}}return Qn(Un),qe};Ot.cancel=function(tn){var gn=ia.get(tn);return et(gn),vn(gn)};var Pa=Ot,An=function(){var tn=b.useRef(null);function gn(){Pa.cancel(tn.current)}function Un(qe){var Qn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;gn();var Ma=Pa(function(){Qn<=1?qe({isCanceled:function(){return Ma!==tn.current}}):Un(qe,Qn-1)});tn.current=Ma}return b.useEffect(function(){return function(){gn()}},[]),[Un,gn]},Ft=ce()?b.useLayoutEffect:b.useEffect,ya=Ft,ot=[Be,Je,vt,Vt],Tt=!1,nn=!0;function Rt(tn){return tn===vt||tn===Vt}var Lt=function(tn,gn){var Un=dn(We),qe=(0,re.Z)(Un,2),Qn=qe[0],Ma=qe[1],Ta=An(),En=(0,re.Z)(Ta,2),Mn=En[0],Rn=En[1];function ka(){Ma(Be,!0)}return ya(function(){if(Qn!==We&&Qn!==Vt){var xr=ot.indexOf(Qn),Or=ot[xr+1],Kr=gn(Qn);Kr===Tt?Ma(Or,!0):Mn(function(uo){function yr(){uo.isCanceled()||Ma(Or,!0)}Kr===!0?yr():Promise.resolve(Kr).then(yr)})}},[tn,Qn]),b.useEffect(function(){return function(){Rn()}},[]),[ka,Qn]},na=function(tn){var gn=(0,b.useRef)(),Un=(0,b.useRef)(tn);Un.current=tn;var qe=b.useCallback(function(Ta){Un.current(Ta)},[]);function Qn(Ta){Ta&&(Ta.removeEventListener(Ye,qe),Ta.removeEventListener(Kn,qe))}function Ma(Ta){gn.current&&gn.current!==Ta&&Qn(gn.current),Ta&&Ta!==gn.current&&(Ta.addEventListener(Ye,qe),Ta.addEventListener(Kn,qe),gn.current=Ta)}return b.useEffect(function(){return function(){Qn(gn.current)}},[]),[Ma,Qn]};function va(tn,gn,Un,qe){var Qn=qe.motionEnter,Ma=Qn===void 0?!0:Qn,Ta=qe.motionAppear,En=Ta===void 0?!0:Ta,Mn=qe.motionLeave,Rn=Mn===void 0?!0:Mn,ka=qe.motionDeadline,xr=qe.motionLeaveImmediately,Or=qe.onAppearPrepare,Kr=qe.onEnterPrepare,uo=qe.onLeavePrepare,yr=qe.onAppearStart,Ha=qe.onEnterStart,Hn=qe.onLeaveStart,Tn=qe.onAppearActive,Oa=qe.onEnterActive,Lr=qe.onLeaveActive,we=qe.onAppearEnd,an=qe.onEnterEnd,wn=qe.onLeaveEnd,Wn=qe.onVisibleChanged,Ct=dn(),jn=(0,re.Z)(Ct,2),Gn=jn[0],In=jn[1],Jn=dn(ca),sr=(0,re.Z)(Jn,2),hr=sr[0],Qr=sr[1],Fr=dn(null),_o=(0,re.Z)(Fr,2),Ho=_o[0],zi=_o[1],Gi=(0,b.useRef)(!1),sl=(0,b.useRef)(null);function Oi(){return Un()}var Zi=(0,b.useRef)(!1);function El(Ai){var ki=Oi();if(!(Ai&&!Ai.deadline&&Ai.target!==ki)){var Yi=Zi.current,$l;hr===ln&&Yi?$l=we==null?void 0:we(ki,Ai):hr===At&&Yi?$l=an==null?void 0:an(ki,Ai):hr===cn&&Yi&&($l=wn==null?void 0:wn(ki,Ai)),hr!==ca&&Yi&&$l!==!1&&(Qr(ca,!0),zi(null,!0))}}var Pl=na(El),Mi=(0,re.Z)(Pl,1),Qi=Mi[0],Xi=b.useMemo(function(){var Ai,ki,Yi;switch(hr){case ln:return Ai={},(0,ie.Z)(Ai,Be,Or),(0,ie.Z)(Ai,Je,yr),(0,ie.Z)(Ai,vt,Tn),Ai;case At:return ki={},(0,ie.Z)(ki,Be,Kr),(0,ie.Z)(ki,Je,Ha),(0,ie.Z)(ki,vt,Oa),ki;case cn:return Yi={},(0,ie.Z)(Yi,Be,uo),(0,ie.Z)(Yi,Je,Hn),(0,ie.Z)(Yi,vt,Lr),Yi;default:return{}}},[hr]),Ki=Lt(hr,function(Ai){if(Ai===Be){var ki=Xi[Be];return ki?ki(Oi()):Tt}if(wl in Xi){var Yi;zi(((Yi=Xi[wl])===null||Yi===void 0?void 0:Yi.call(Xi,Oi(),null))||null)}return wl===vt&&(Qi(Oi()),ka>0&&(clearTimeout(sl.current),sl.current=setTimeout(function(){El({deadline:!0})},ka))),nn}),ul=(0,re.Z)(Ki,2),Tl=ul[0],wl=ul[1],kl=Rt(wl);Zi.current=kl,ya(function(){In(gn);var Ai=Gi.current;if(Gi.current=!0,!!tn){var ki;!Ai&&gn&&En&&(ki=ln),Ai&&gn&&Ma&&(ki=At),(Ai&&!gn&&Rn||!Ai&&xr&&!gn&&Rn)&&(ki=cn),ki&&(Qr(ki),Tl())}},[gn]),(0,b.useEffect)(function(){(hr===ln&&!En||hr===At&&!Ma||hr===cn&&!Rn)&&Qr(ca)},[En,Ma,Rn]),(0,b.useEffect)(function(){return function(){Gi.current=!1,clearTimeout(sl.current)}},[]);var Dl=b.useRef(!1);(0,b.useEffect)(function(){Gn&&(Dl.current=!0),Gn!==void 0&&hr===ca&&((Dl.current||Gn)&&(Wn==null||Wn(Gn)),Dl.current=!0)},[Gn,hr]);var Vl=Ho;return Xi[Be]&&wl===Je&&(Vl=(0,Re.Z)({transition:"none"},Vl)),[hr,wl,Vl,Gn!=null?Gn:gn]}var ha=function(tn){(0,Me.Z)(Un,tn);var gn=(0,ze.Z)(Un);function Un(){return(0,Te.Z)(this,Un),gn.apply(this,arguments)}return(0,se.Z)(Un,[{key:"render",value:function(){return this.props.children}}]),Un}(b.Component),ba=ha;function lr(tn){var gn=tn;(0,Ce.Z)(tn)==="object"&&(gn=tn.transitionSupport);function Un(Qn){return!!(Qn.motionName&&gn)}var qe=b.forwardRef(function(Qn,Ma){var Ta=Qn.visible,En=Ta===void 0?!0:Ta,Mn=Qn.removeOnLeave,Rn=Mn===void 0?!0:Mn,ka=Qn.forceRender,xr=Qn.children,Or=Qn.motionName,Kr=Qn.leavedClassName,uo=Qn.eventProps,yr=Un(Qn),Ha=(0,b.useRef)(),Hn=(0,b.useRef)();function Tn(){try{return Ha.current instanceof HTMLElement?Ha.current:Ke(Hn.current)}catch(Fr){return null}}var Oa=va(yr,En,Tn,Qn),Lr=(0,re.Z)(Oa,4),we=Lr[0],an=Lr[1],wn=Lr[2],Wn=Lr[3],Ct=b.useRef(Wn);Wn&&(Ct.current=!0);var jn=b.useCallback(function(Fr){Ha.current=Fr,Fe(Ma,Fr)},[Ma]),Gn,In=(0,Re.Z)((0,Re.Z)({},uo),{},{visible:En});if(!xr)Gn=null;else if(we===ca||!Un(Qn))Wn?Gn=xr((0,Re.Z)({},In),jn):!Rn&&Ct.current&&Kr?Gn=xr((0,Re.Z)((0,Re.Z)({},In),{},{className:Kr}),jn):ka||!Rn&&!Kr?Gn=xr((0,Re.Z)((0,Re.Z)({},In),{},{style:{display:"none"}}),jn):Gn=null;else{var Jn,sr;an===Be?sr="prepare":Rt(an)?sr="active":an===Je&&(sr="start"),Gn=xr((0,Re.Z)((0,Re.Z)({},In),{},{className:de()(_n(Or,we),(Jn={},(0,ie.Z)(Jn,_n(Or,"".concat(we,"-").concat(sr)),sr),(0,ie.Z)(Jn,Or,typeof Or=="string"),Jn)),style:wn}),jn)}if(b.isValidElement(Gn)&&ft(Gn)){var hr=Gn,Qr=hr.ref;Qr||(Gn=b.cloneElement(Gn,{ref:jn}))}return b.createElement(ba,{ref:Hn},Gn)});return qe.displayName="CSSMotion",qe}var gr=lr(Sn),Qa="add",Dr="keep",so="remove",zr="removed";function Jr(tn){var gn;return tn&&(0,Ce.Z)(tn)==="object"&&"key"in tn?gn=tn:gn={key:tn},(0,Re.Z)((0,Re.Z)({},gn),{},{key:String(gn.key)})}function co(){var tn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return tn.map(Jr)}function Xr(){var tn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Un=[],qe=0,Qn=gn.length,Ma=co(tn),Ta=co(gn);Ma.forEach(function(Rn){for(var ka=!1,xr=qe;xr<Qn;xr+=1){var Or=Ta[xr];if(Or.key===Rn.key){qe<xr&&(Un=Un.concat(Ta.slice(qe,xr).map(function(Kr){return(0,Re.Z)((0,Re.Z)({},Kr),{},{status:Qa})})),qe=xr),Un.push((0,Re.Z)((0,Re.Z)({},Or),{},{status:Dr})),qe+=1,ka=!0;break}}ka||Un.push((0,Re.Z)((0,Re.Z)({},Rn),{},{status:so}))}),qe<Qn&&(Un=Un.concat(Ta.slice(qe).map(function(Rn){return(0,Re.Z)((0,Re.Z)({},Rn),{},{status:Qa})})));var En={};Un.forEach(function(Rn){var ka=Rn.key;En[ka]=(En[ka]||0)+1});var Mn=Object.keys(En).filter(function(Rn){return En[Rn]>1});return Mn.forEach(function(Rn){Un=Un.filter(function(ka){var xr=ka.key,Or=ka.status;return xr!==Rn||Or!==so}),Un.forEach(function(ka){ka.key===Rn&&(ka.status=Dr)})}),Un}var bo=["component","children","onVisibleChanged","onAllRemoved"],kr=["status"],Sa=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function ja(tn){var gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gr,Un=function(qe){(0,Me.Z)(Ma,qe);var Qn=(0,ze.Z)(Ma);function Ma(){var Ta;(0,Te.Z)(this,Ma);for(var En=arguments.length,Mn=new Array(En),Rn=0;Rn<En;Rn++)Mn[Rn]=arguments[Rn];return Ta=Qn.call.apply(Qn,[this].concat(Mn)),(0,ie.Z)((0,nt.Z)(Ta),"state",{keyEntities:[]}),(0,ie.Z)((0,nt.Z)(Ta),"removeKey",function(ka){var xr=Ta.state.keyEntities,Or=xr.map(function(Kr){return Kr.key!==ka?Kr:(0,Re.Z)((0,Re.Z)({},Kr),{},{status:zr})});return Ta.setState({keyEntities:Or}),Or.filter(function(Kr){var uo=Kr.status;return uo!==zr}).length}),Ta}return(0,se.Z)(Ma,[{key:"render",value:function(){var En=this,Mn=this.state.keyEntities,Rn=this.props,ka=Rn.component,xr=Rn.children,Or=Rn.onVisibleChanged,Kr=Rn.onAllRemoved,uo=(0,oe.Z)(Rn,bo),yr=ka||b.Fragment,Ha={};return Sa.forEach(function(Hn){Ha[Hn]=uo[Hn],delete uo[Hn]}),delete uo.keys,b.createElement(yr,uo,Mn.map(function(Hn){var Tn=Hn.status,Oa=(0,oe.Z)(Hn,kr),Lr=Tn===Qa||Tn===Dr;return b.createElement(gn,(0,x.Z)({},Ha,{key:Oa.key,visible:Lr,eventProps:Oa,onVisibleChanged:function(an){if(Or==null||Or(an,{key:Oa.key}),!an){var wn=En.removeKey(Oa.key);wn===0&&Kr&&Kr()}}}),xr)}))}}],[{key:"getDerivedStateFromProps",value:function(En,Mn){var Rn=En.keys,ka=Mn.keyEntities,xr=co(Rn),Or=Xr(ka,xr);return{keyEntities:Or.filter(function(Kr){var uo=ka.find(function(yr){var Ha=yr.key;return Kr.key===Ha});return!(uo&&uo.status===zr&&Kr.status===so)})}}}]),Ma}(b.Component);return(0,ie.Z)(Un,"defaultProps",{component:"div"}),Un}var _a=ja(Sn),za=gr,Ar=z(56261);function er(tn,gn){var Un=b.useState(!1),qe=(0,re.Z)(Un,2),Qn=qe[0],Ma=qe[1];b.useLayoutEffect(function(){if(Qn)return tn(),function(){gn()}},[Qn]),b.useLayoutEffect(function(){return Ma(!0),function(){Ma(!1)}},[])}var Wa=z(83898),kt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],sn=function(gn,Un){var qe=gn.className,Qn=gn.style,Ma=gn.motion,Ta=gn.motionNodes,En=gn.motionType,Mn=gn.onMotionStart,Rn=gn.onMotionEnd,ka=gn.active,xr=gn.treeNodeRequiredProps,Or=(0,oe.Z)(gn,kt),Kr=b.useState(!0),uo=(0,re.Z)(Kr,2),yr=uo[0],Ha=uo[1],Hn=b.useContext(E.k),Tn=Hn.prefixCls,Oa=Ta&&En!=="hide";Pe(function(){Ta&&Oa!==yr&&Ha(Oa)},[Ta]);var Lr=function(){Ta&&Mn()},we=b.useRef(!1),an=function(){Ta&&!we.current&&(we.current=!0,Rn())};er(Lr,an);var wn=function(Ct){Oa===Ct&&an()};return Ta?b.createElement(za,(0,x.Z)({ref:Un,visible:yr},Ma,{motionAppear:En==="show",onVisibleChanged:wn}),function(Wn,Ct){var jn=Wn.className,Gn=Wn.style;return b.createElement("div",{ref:Ct,className:de()("".concat(Tn,"-treenode-motion"),jn),style:Gn},Ta.map(function(In){var Jn=(0,x.Z)({},((0,te.Z)(In.data),In.data)),sr=In.title,hr=In.key,Qr=In.isStart,Fr=In.isEnd;delete Jn.children;var _o=(0,Wa.H8)(hr,xr);return b.createElement(Ar.Z,(0,x.Z)({},Jn,_o,{title:sr,active:ka,data:In.data,key:hr,isStart:Qr,isEnd:Fr}))}))}):b.createElement(Ar.Z,(0,x.Z)({domRef:Un,className:qe,style:Qn},Or,{active:ka}))};sn.displayName="MotionTreeNode";var Yt=b.forwardRef(sn),$n=Yt;function La(){var tn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Un=tn.length,qe=gn.length;if(Math.abs(Un-qe)!==1)return{add:!1,key:null};function Qn(Ma,Ta){var En=new Map;Ma.forEach(function(Rn){En.set(Rn,!0)});var Mn=Ta.filter(function(Rn){return!En.has(Rn)});return Mn.length===1?Mn[0]:null}return Un<qe?{add:!0,key:Qn(tn,gn)}:{add:!1,key:Qn(gn,tn)}}function dr(tn,gn,Un){var qe=tn.findIndex(function(En){return En.key===Un}),Qn=tn[qe+1],Ma=gn.findIndex(function(En){return En.key===Un});if(Qn){var Ta=gn.findIndex(function(En){return En.key===Qn.key});return gn.slice(Ma+1,Ta)}return gn.slice(Ma+1)}var Eo=["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"],Nr={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},bn=function(){},da="RC_TREE_MOTION_".concat(Math.random()),ro={key:da},la={key:da,level:0,index:0,pos:"0",node:ro,nodes:[ro]},Ya={parent:null,children:[],pos:la.pos,data:ro,title:null,key:da,isStart:[],isEnd:[]};function Bt(tn,gn,Un,qe){return gn===!1||!Un?tn:tn.slice(0,Math.ceil(Un/qe)+1)}function Yn(tn){var gn=tn.key,Un=tn.pos;return(0,Wa.km)(gn,Un)}function Dn(tn){for(var gn=String(tn.data.key),Un=tn;Un.parent;)Un=Un.parent,gn="".concat(Un.data.key," > ").concat(gn);return gn}var It=b.forwardRef(function(tn,gn){var Un=tn.prefixCls,qe=tn.data,Qn=tn.selectable,Ma=tn.checkable,Ta=tn.expandedKeys,En=tn.selectedKeys,Mn=tn.checkedKeys,Rn=tn.loadedKeys,ka=tn.loadingKeys,xr=tn.halfCheckedKeys,Or=tn.keyEntities,Kr=tn.disabled,uo=tn.dragging,yr=tn.dragOverNodeKey,Ha=tn.dropPosition,Hn=tn.motion,Tn=tn.height,Oa=tn.itemHeight,Lr=tn.virtual,we=tn.focusable,an=tn.activeItem,wn=tn.focused,Wn=tn.tabIndex,Ct=tn.onKeyDown,jn=tn.onFocus,Gn=tn.onBlur,In=tn.onActiveChange,Jn=tn.onListChangeStart,sr=tn.onListChangeEnd,hr=(0,oe.Z)(tn,Eo),Qr=b.useRef(null),Fr=b.useRef(null);b.useImperativeHandle(gn,function(){return{scrollTo:function(Li){Qr.current.scrollTo(Li)},getIndentWidth:function(){return Fr.current.offsetWidth}}});var _o=b.useState(Ta),Ho=(0,re.Z)(_o,2),zi=Ho[0],Gi=Ho[1],sl=b.useState(qe),Oi=(0,re.Z)(sl,2),Zi=Oi[0],El=Oi[1],Pl=b.useState(qe),Mi=(0,re.Z)(Pl,2),Qi=Mi[0],Xi=Mi[1],Ki=b.useState([]),ul=(0,re.Z)(Ki,2),Tl=ul[0],wl=ul[1],kl=b.useState(null),Dl=(0,re.Z)(kl,2),Vl=Dl[0],Ai=Dl[1],ki=b.useRef(qe);ki.current=qe;function Yi(){var Hi=ki.current;El(Hi),Xi(Hi),wl([]),Ai(null),sr()}Pe(function(){Gi(Ta);var Hi=La(zi,Ta);if(Hi.key!==null)if(Hi.add){var Li=Zi.findIndex(function(cl){var Jl=cl.key;return Jl===Hi.key}),Nl=Bt(dr(Zi,qe,Hi.key),Lr,Tn,Oa),ti=Zi.slice();ti.splice(Li+1,0,Ya),Xi(ti),wl(Nl),Ai("show")}else{var gl=qe.findIndex(function(cl){var Jl=cl.key;return Jl===Hi.key}),Il=Bt(dr(qe,Zi,Hi.key),Lr,Tn,Oa),Ql=qe.slice();Ql.splice(gl+1,0,Ya),Xi(Ql),wl(Il),Ai("hide")}else Zi!==qe&&(El(qe),Xi(qe))},[Ta,qe]),b.useEffect(function(){uo||Yi()},[uo]);var $l=Hn?Qi:qe,Zl={expandedKeys:Ta,selectedKeys:En,loadedKeys:Rn,loadingKeys:ka,checkedKeys:Mn,halfCheckedKeys:xr,dragOverNodeKey:yr,dropPosition:Ha,keyEntities:Or};return b.createElement(b.Fragment,null,wn&&an&&b.createElement("span",{style:Nr,"aria-live":"assertive"},Dn(an)),b.createElement("div",null,b.createElement("input",{style:Nr,disabled:we===!1||Kr,tabIndex:we!==!1?Wn:null,onKeyDown:Ct,onFocus:jn,onBlur:Gn,value:"",onChange:bn,"aria-label":"for screen reader"})),b.createElement("div",{className:"".concat(Un,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},b.createElement("div",{className:"".concat(Un,"-indent")},b.createElement("div",{ref:Fr,className:"".concat(Un,"-indent-unit")}))),b.createElement(ke.Z,(0,x.Z)({},hr,{data:$l,itemKey:Yn,height:Tn,fullHeight:!1,virtual:Lr,itemHeight:Oa,prefixCls:"".concat(Un,"-list"),ref:Qr,onVisibleChange:function(Li,Nl){var ti=new Set(Li),gl=Nl.filter(function(Il){return!ti.has(Il)});gl.some(function(Il){return Yn(Il)===da})&&Yi()}}),function(Hi){var Li=Hi.pos,Nl=(0,x.Z)({},((0,te.Z)(Hi.data),Hi.data)),ti=Hi.title,gl=Hi.key,Il=Hi.isStart,Ql=Hi.isEnd,cl=(0,Wa.km)(gl,Li);delete Nl.key,delete Nl.children;var Jl=(0,Wa.H8)(cl,Zl);return b.createElement($n,(0,x.Z)({},Nl,Jl,{title:ti,active:!!an&&gl===an.key,pos:Li,data:Hi.data,isStart:Il,isEnd:Ql,motion:Hn,motionNodes:gl===da?Tl:null,motionType:Vl,onMotionStart:Jn,onMotionEnd:Yi,treeNodeRequiredProps:Zl,onMouseMove:function(){In(null)}}))}))});It.displayName="NodeList";var ar=It,ga=z(29873),Ja=z(97153),wa=z(3596),Io=10,Yr=function(tn){(0,Me.Z)(Un,tn);var gn=(0,ze.Z)(Un);function Un(){var qe;(0,Te.Z)(this,Un);for(var Qn=arguments.length,Ma=new Array(Qn),Ta=0;Ta<Qn;Ta++)Ma[Ta]=arguments[Ta];return qe=gn.call.apply(gn,[this].concat(Ma)),qe.destroyed=!1,qe.delayedDragEnterLogic=void 0,qe.loadingRetryTimes={},qe.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,Wa.w$)()},qe.dragStartMousePosition=null,qe.dragNode=void 0,qe.currentMouseOverDroppableNodeKey=null,qe.listRef=b.createRef(),qe.onNodeDragStart=function(En,Mn){var Rn=qe.state,ka=Rn.expandedKeys,xr=Rn.keyEntities,Or=qe.props.onDragStart,Kr=Mn.props.eventKey;qe.dragNode=Mn,qe.dragStartMousePosition={x:En.clientX,y:En.clientY};var uo=(0,ga._5)(ka,Kr);qe.setState({draggingNodeKey:Kr,dragChildrenKeys:(0,ga.wA)(Kr,xr),indent:qe.listRef.current.getIndentWidth()}),qe.setExpandedKeys(uo),window.addEventListener("dragend",qe.onWindowDragEnd),Or==null||Or({event:En,node:(0,Wa.F)(Mn.props)})},qe.onNodeDragEnter=function(En,Mn){var Rn=qe.state,ka=Rn.expandedKeys,xr=Rn.keyEntities,Or=Rn.dragChildrenKeys,Kr=Rn.flattenNodes,uo=Rn.indent,yr=qe.props,Ha=yr.onDragEnter,Hn=yr.onExpand,Tn=yr.allowDrop,Oa=yr.direction,Lr=Mn.props,we=Lr.pos,an=Lr.eventKey,wn=(0,nt.Z)(qe),Wn=wn.dragNode;if(qe.currentMouseOverDroppableNodeKey!==an&&(qe.currentMouseOverDroppableNodeKey=an),!Wn){qe.resetDragState();return}var Ct=(0,ga.OM)(En,Wn,Mn,uo,qe.dragStartMousePosition,Tn,Kr,xr,ka,Oa),jn=Ct.dropPosition,Gn=Ct.dropLevelOffset,In=Ct.dropTargetKey,Jn=Ct.dropContainerKey,sr=Ct.dropTargetPos,hr=Ct.dropAllowed,Qr=Ct.dragOverNodeKey;if(Or.indexOf(In)!==-1||!hr){qe.resetDragState();return}if(qe.delayedDragEnterLogic||(qe.delayedDragEnterLogic={}),Object.keys(qe.delayedDragEnterLogic).forEach(function(Fr){clearTimeout(qe.delayedDragEnterLogic[Fr])}),Wn.props.eventKey!==Mn.props.eventKey&&(En.persist(),qe.delayedDragEnterLogic[we]=window.setTimeout(function(){if(qe.state.draggingNodeKey!==null){var Fr=(0,ye.Z)(ka),_o=(0,wa.Z)(xr,Mn.props.eventKey);_o&&(_o.children||[]).length&&(Fr=(0,ga.L0)(ka,Mn.props.eventKey)),"expandedKeys"in qe.props||qe.setExpandedKeys(Fr),Hn==null||Hn(Fr,{node:(0,Wa.F)(Mn.props),expanded:!0,nativeEvent:En.nativeEvent})}},800)),Wn.props.eventKey===In&&Gn===0){qe.resetDragState();return}qe.setState({dragOverNodeKey:Qr,dropPosition:jn,dropLevelOffset:Gn,dropTargetKey:In,dropContainerKey:Jn,dropTargetPos:sr,dropAllowed:hr}),Ha==null||Ha({event:En,node:(0,Wa.F)(Mn.props),expandedKeys:ka})},qe.onNodeDragOver=function(En,Mn){var Rn=qe.state,ka=Rn.dragChildrenKeys,xr=Rn.flattenNodes,Or=Rn.keyEntities,Kr=Rn.expandedKeys,uo=Rn.indent,yr=qe.props,Ha=yr.onDragOver,Hn=yr.allowDrop,Tn=yr.direction,Oa=(0,nt.Z)(qe),Lr=Oa.dragNode;if(Lr){var we=(0,ga.OM)(En,Lr,Mn,uo,qe.dragStartMousePosition,Hn,xr,Or,Kr,Tn),an=we.dropPosition,wn=we.dropLevelOffset,Wn=we.dropTargetKey,Ct=we.dropContainerKey,jn=we.dropAllowed,Gn=we.dropTargetPos,In=we.dragOverNodeKey;ka.indexOf(Wn)!==-1||!jn||(Lr.props.eventKey===Wn&&wn===0?qe.state.dropPosition===null&&qe.state.dropLevelOffset===null&&qe.state.dropTargetKey===null&&qe.state.dropContainerKey===null&&qe.state.dropTargetPos===null&&qe.state.dropAllowed===!1&&qe.state.dragOverNodeKey===null||qe.resetDragState():an===qe.state.dropPosition&&wn===qe.state.dropLevelOffset&&Wn===qe.state.dropTargetKey&&Ct===qe.state.dropContainerKey&&Gn===qe.state.dropTargetPos&&jn===qe.state.dropAllowed&&In===qe.state.dragOverNodeKey||qe.setState({dropPosition:an,dropLevelOffset:wn,dropTargetKey:Wn,dropContainerKey:Ct,dropTargetPos:Gn,dropAllowed:jn,dragOverNodeKey:In}),Ha==null||Ha({event:En,node:(0,Wa.F)(Mn.props)}))}},qe.onNodeDragLeave=function(En,Mn){qe.currentMouseOverDroppableNodeKey===Mn.props.eventKey&&!En.currentTarget.contains(En.relatedTarget)&&(qe.resetDragState(),qe.currentMouseOverDroppableNodeKey=null);var Rn=qe.props.onDragLeave;Rn==null||Rn({event:En,node:(0,Wa.F)(Mn.props)})},qe.onWindowDragEnd=function(En){qe.onNodeDragEnd(En,null,!0),window.removeEventListener("dragend",qe.onWindowDragEnd)},qe.onNodeDragEnd=function(En,Mn){var Rn=qe.props.onDragEnd;qe.setState({dragOverNodeKey:null}),qe.cleanDragState(),Rn==null||Rn({event:En,node:(0,Wa.F)(Mn.props)}),qe.dragNode=null,window.removeEventListener("dragend",qe.onWindowDragEnd)},qe.onNodeDrop=function(En,Mn){var Rn,ka=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,xr=qe.state,Or=xr.dragChildrenKeys,Kr=xr.dropPosition,uo=xr.dropTargetKey,yr=xr.dropTargetPos,Ha=xr.dropAllowed;if(Ha){var Hn=qe.props.onDrop;if(qe.setState({dragOverNodeKey:null}),qe.cleanDragState(),uo!==null){var Tn=(0,Re.Z)((0,Re.Z)({},(0,Wa.H8)(uo,qe.getTreeNodeRequiredProps())),{},{active:((Rn=qe.getActiveItem())===null||Rn===void 0?void 0:Rn.key)===uo,data:(0,wa.Z)(qe.state.keyEntities,uo).node}),Oa=Or.indexOf(uo)!==-1;(0,a.ZP)(!Oa,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Lr=(0,ga.yx)(yr),we={event:En,node:(0,Wa.F)(Tn),dragNode:qe.dragNode?(0,Wa.F)(qe.dragNode.props):null,dragNodesKeys:[qe.dragNode.props.eventKey].concat(Or),dropToGap:Kr!==0,dropPosition:Kr+Number(Lr[Lr.length-1])};ka||Hn==null||Hn(we),qe.dragNode=null}}},qe.cleanDragState=function(){var En=qe.state.draggingNodeKey;En!==null&&qe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),qe.dragStartMousePosition=null,qe.currentMouseOverDroppableNodeKey=null},qe.triggerExpandActionExpand=function(En,Mn){var Rn=qe.state,ka=Rn.expandedKeys,xr=Rn.flattenNodes,Or=Mn.expanded,Kr=Mn.key,uo=Mn.isLeaf;if(!(uo||En.shiftKey||En.metaKey||En.ctrlKey)){var yr=xr.filter(function(Hn){return Hn.key===Kr})[0],Ha=(0,Wa.F)((0,Re.Z)((0,Re.Z)({},(0,Wa.H8)(Kr,qe.getTreeNodeRequiredProps())),{},{data:yr.data}));qe.setExpandedKeys(Or?(0,ga._5)(ka,Kr):(0,ga.L0)(ka,Kr)),qe.onNodeExpand(En,Ha)}},qe.onNodeClick=function(En,Mn){var Rn=qe.props,ka=Rn.onClick,xr=Rn.expandAction;xr==="click"&&qe.triggerExpandActionExpand(En,Mn),ka==null||ka(En,Mn)},qe.onNodeDoubleClick=function(En,Mn){var Rn=qe.props,ka=Rn.onDoubleClick,xr=Rn.expandAction;xr==="doubleClick"&&qe.triggerExpandActionExpand(En,Mn),ka==null||ka(En,Mn)},qe.onNodeSelect=function(En,Mn){var Rn=qe.state.selectedKeys,ka=qe.state,xr=ka.keyEntities,Or=ka.fieldNames,Kr=qe.props,uo=Kr.onSelect,yr=Kr.multiple,Ha=Mn.selected,Hn=Mn[Or.key],Tn=!Ha;Tn?yr?Rn=(0,ga.L0)(Rn,Hn):Rn=[Hn]:Rn=(0,ga._5)(Rn,Hn);var Oa=Rn.map(function(Lr){var we=(0,wa.Z)(xr,Lr);return we?we.node:null}).filter(function(Lr){return Lr});qe.setUncontrolledState({selectedKeys:Rn}),uo==null||uo(Rn,{event:"select",selected:Tn,node:Mn,selectedNodes:Oa,nativeEvent:En.nativeEvent})},qe.onNodeCheck=function(En,Mn,Rn){var ka=qe.state,xr=ka.keyEntities,Or=ka.checkedKeys,Kr=ka.halfCheckedKeys,uo=qe.props,yr=uo.checkStrictly,Ha=uo.onCheck,Hn=Mn.key,Tn,Oa={event:"check",node:Mn,checked:Rn,nativeEvent:En.nativeEvent};if(yr){var Lr=Rn?(0,ga.L0)(Or,Hn):(0,ga._5)(Or,Hn),we=(0,ga._5)(Kr,Hn);Tn={checked:Lr,halfChecked:we},Oa.checkedNodes=Lr.map(function(Gn){return(0,wa.Z)(xr,Gn)}).filter(function(Gn){return Gn}).map(function(Gn){return Gn.node}),qe.setUncontrolledState({checkedKeys:Lr})}else{var an=(0,Ja.S)([].concat((0,ye.Z)(Or),[Hn]),!0,xr),wn=an.checkedKeys,Wn=an.halfCheckedKeys;if(!Rn){var Ct=new Set(wn);Ct.delete(Hn);var jn=(0,Ja.S)(Array.from(Ct),{checked:!1,halfCheckedKeys:Wn},xr);wn=jn.checkedKeys,Wn=jn.halfCheckedKeys}Tn=wn,Oa.checkedNodes=[],Oa.checkedNodesPositions=[],Oa.halfCheckedKeys=Wn,wn.forEach(function(Gn){var In=(0,wa.Z)(xr,Gn);if(In){var Jn=In.node,sr=In.pos;Oa.checkedNodes.push(Jn),Oa.checkedNodesPositions.push({node:Jn,pos:sr})}}),qe.setUncontrolledState({checkedKeys:wn},!1,{halfCheckedKeys:Wn})}Ha==null||Ha(Tn,Oa)},qe.onNodeLoad=function(En){var Mn=En.key,Rn=new Promise(function(ka,xr){qe.setState(function(Or){var Kr=Or.loadedKeys,uo=Kr===void 0?[]:Kr,yr=Or.loadingKeys,Ha=yr===void 0?[]:yr,Hn=qe.props,Tn=Hn.loadData,Oa=Hn.onLoad;if(!Tn||uo.indexOf(Mn)!==-1||Ha.indexOf(Mn)!==-1)return null;var Lr=Tn(En);return Lr.then(function(){var we=qe.state.loadedKeys,an=(0,ga.L0)(we,Mn);Oa==null||Oa(an,{event:"load",node:En}),qe.setUncontrolledState({loadedKeys:an}),qe.setState(function(wn){return{loadingKeys:(0,ga._5)(wn.loadingKeys,Mn)}}),ka()}).catch(function(we){if(qe.setState(function(wn){return{loadingKeys:(0,ga._5)(wn.loadingKeys,Mn)}}),qe.loadingRetryTimes[Mn]=(qe.loadingRetryTimes[Mn]||0)+1,qe.loadingRetryTimes[Mn]>=Io){var an=qe.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),qe.setUncontrolledState({loadedKeys:(0,ga.L0)(an,Mn)}),ka()}xr(we)}),{loadingKeys:(0,ga.L0)(Ha,Mn)}})});return Rn.catch(function(){}),Rn},qe.onNodeMouseEnter=function(En,Mn){var Rn=qe.props.onMouseEnter;Rn==null||Rn({event:En,node:Mn})},qe.onNodeMouseLeave=function(En,Mn){var Rn=qe.props.onMouseLeave;Rn==null||Rn({event:En,node:Mn})},qe.onNodeContextMenu=function(En,Mn){var Rn=qe.props.onRightClick;Rn&&(En.preventDefault(),Rn({event:En,node:Mn}))},qe.onFocus=function(){var En=qe.props.onFocus;qe.setState({focused:!0});for(var Mn=arguments.length,Rn=new Array(Mn),ka=0;ka<Mn;ka++)Rn[ka]=arguments[ka];En==null||En.apply(void 0,Rn)},qe.onBlur=function(){var En=qe.props.onBlur;qe.setState({focused:!1}),qe.onActiveChange(null);for(var Mn=arguments.length,Rn=new Array(Mn),ka=0;ka<Mn;ka++)Rn[ka]=arguments[ka];En==null||En.apply(void 0,Rn)},qe.getTreeNodeRequiredProps=function(){var En=qe.state,Mn=En.expandedKeys,Rn=En.selectedKeys,ka=En.loadedKeys,xr=En.loadingKeys,Or=En.checkedKeys,Kr=En.halfCheckedKeys,uo=En.dragOverNodeKey,yr=En.dropPosition,Ha=En.keyEntities;return{expandedKeys:Mn||[],selectedKeys:Rn||[],loadedKeys:ka||[],loadingKeys:xr||[],checkedKeys:Or||[],halfCheckedKeys:Kr||[],dragOverNodeKey:uo,dropPosition:yr,keyEntities:Ha}},qe.setExpandedKeys=function(En){var Mn=qe.state,Rn=Mn.treeData,ka=Mn.fieldNames,xr=(0,Wa.oH)(Rn,En,ka);qe.setUncontrolledState({expandedKeys:En,flattenNodes:xr},!0)},qe.onNodeExpand=function(En,Mn){var Rn=qe.state.expandedKeys,ka=qe.state,xr=ka.listChanging,Or=ka.fieldNames,Kr=qe.props,uo=Kr.onExpand,yr=Kr.loadData,Ha=Mn.expanded,Hn=Mn[Or.key];if(!xr){var Tn=Rn.indexOf(Hn),Oa=!Ha;if((0,a.ZP)(Ha&&Tn!==-1||!Ha&&Tn===-1,"Expand state not sync with index check"),Oa?Rn=(0,ga.L0)(Rn,Hn):Rn=(0,ga._5)(Rn,Hn),qe.setExpandedKeys(Rn),uo==null||uo(Rn,{node:Mn,expanded:Oa,nativeEvent:En.nativeEvent}),Oa&&yr){var Lr=qe.onNodeLoad(Mn);Lr&&Lr.then(function(){var we=(0,Wa.oH)(qe.state.treeData,Rn,Or);qe.setUncontrolledState({flattenNodes:we})}).catch(function(){var we=qe.state.expandedKeys,an=(0,ga._5)(we,Hn);qe.setExpandedKeys(an)})}}},qe.onListChangeStart=function(){qe.setUncontrolledState({listChanging:!0})},qe.onListChangeEnd=function(){setTimeout(function(){qe.setUncontrolledState({listChanging:!1})})},qe.onActiveChange=function(En){var Mn=qe.state.activeKey,Rn=qe.props.onActiveChange;Mn!==En&&(qe.setState({activeKey:En}),En!==null&&qe.scrollTo({key:En}),Rn==null||Rn(En))},qe.getActiveItem=function(){var En=qe.state,Mn=En.activeKey,Rn=En.flattenNodes;return Mn===null?null:Rn.find(function(ka){var xr=ka.key;return xr===Mn})||null},qe.offsetActiveKey=function(En){var Mn=qe.state,Rn=Mn.flattenNodes,ka=Mn.activeKey,xr=Rn.findIndex(function(uo){var yr=uo.key;return yr===ka});xr===-1&&En<0&&(xr=Rn.length),xr=(xr+En+Rn.length)%Rn.length;var Or=Rn[xr];if(Or){var Kr=Or.key;qe.onActiveChange(Kr)}else qe.onActiveChange(null)},qe.onKeyDown=function(En){var Mn=qe.state,Rn=Mn.activeKey,ka=Mn.expandedKeys,xr=Mn.checkedKeys,Or=Mn.fieldNames,Kr=qe.props,uo=Kr.onKeyDown,yr=Kr.checkable,Ha=Kr.selectable;switch(En.which){case ue.UP:{qe.offsetActiveKey(-1),En.preventDefault();break}case ue.DOWN:{qe.offsetActiveKey(1),En.preventDefault();break}}var Hn=qe.getActiveItem();if(Hn&&Hn.data){var Tn=qe.getTreeNodeRequiredProps(),Oa=Hn.data.isLeaf===!1||!!(Hn.data[Or.children]||[]).length,Lr=(0,Wa.F)((0,Re.Z)((0,Re.Z)({},(0,Wa.H8)(Rn,Tn)),{},{data:Hn.data,active:!0}));switch(En.which){case ue.LEFT:{Oa&&ka.includes(Rn)?qe.onNodeExpand({},Lr):Hn.parent&&qe.onActiveChange(Hn.parent.key),En.preventDefault();break}case ue.RIGHT:{Oa&&!ka.includes(Rn)?qe.onNodeExpand({},Lr):Hn.children&&Hn.children.length&&qe.onActiveChange(Hn.children[0].key),En.preventDefault();break}case ue.ENTER:case ue.SPACE:{yr&&!Lr.disabled&&Lr.checkable!==!1&&!Lr.disableCheckbox?qe.onNodeCheck({},Lr,!xr.includes(Rn)):!yr&&Ha&&!Lr.disabled&&Lr.selectable!==!1&&qe.onNodeSelect({},Lr);break}}}uo==null||uo(En)},qe.setUncontrolledState=function(En){var Mn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Rn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!qe.destroyed){var ka=!1,xr=!0,Or={};Object.keys(En).forEach(function(Kr){if(Kr in qe.props){xr=!1;return}ka=!0,Or[Kr]=En[Kr]}),ka&&(!Mn||xr)&&qe.setState((0,Re.Z)((0,Re.Z)({},Or),Rn))}},qe.scrollTo=function(En){qe.listRef.current.scrollTo(En)},qe}return(0,se.Z)(Un,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Qn=this.props.activeKey;Qn!==void 0&&Qn!==this.state.activeKey&&(this.setState({activeKey:Qn}),Qn!==null&&this.scrollTo({key:Qn}))}},{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 Qn,Ma=this.state,Ta=Ma.focused,En=Ma.flattenNodes,Mn=Ma.keyEntities,Rn=Ma.draggingNodeKey,ka=Ma.activeKey,xr=Ma.dropLevelOffset,Or=Ma.dropContainerKey,Kr=Ma.dropTargetKey,uo=Ma.dropPosition,yr=Ma.dragOverNodeKey,Ha=Ma.indent,Hn=this.props,Tn=Hn.prefixCls,Oa=Hn.className,Lr=Hn.style,we=Hn.showLine,an=Hn.focusable,wn=Hn.tabIndex,Wn=wn===void 0?0:wn,Ct=Hn.selectable,jn=Hn.showIcon,Gn=Hn.icon,In=Hn.switcherIcon,Jn=Hn.draggable,sr=Hn.checkable,hr=Hn.checkStrictly,Qr=Hn.disabled,Fr=Hn.motion,_o=Hn.loadData,Ho=Hn.filterTreeNode,zi=Hn.height,Gi=Hn.itemHeight,sl=Hn.virtual,Oi=Hn.titleRender,Zi=Hn.dropIndicatorRender,El=Hn.onContextMenu,Pl=Hn.onScroll,Mi=Hn.direction,Qi=Hn.rootClassName,Xi=Hn.rootStyle,Ki=(0,y.Z)(this.props,{aria:!0,data:!0}),ul;return Jn&&((0,Ce.Z)(Jn)==="object"?ul=Jn:typeof Jn=="function"?ul={nodeDraggable:Jn}:ul={}),b.createElement(E.k.Provider,{value:{prefixCls:Tn,selectable:Ct,showIcon:jn,icon:Gn,switcherIcon:In,draggable:ul,draggingNodeKey:Rn,checkable:sr,checkStrictly:hr,disabled:Qr,keyEntities:Mn,dropLevelOffset:xr,dropContainerKey:Or,dropTargetKey:Kr,dropPosition:uo,dragOverNodeKey:yr,indent:Ha,direction:Mi,dropIndicatorRender:Zi,loadData:_o,filterTreeNode:Ho,titleRender:Oi,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}},b.createElement("div",{role:"tree",className:de()(Tn,Oa,Qi,(Qn={},(0,ie.Z)(Qn,"".concat(Tn,"-show-line"),we),(0,ie.Z)(Qn,"".concat(Tn,"-focused"),Ta),(0,ie.Z)(Qn,"".concat(Tn,"-active-focused"),ka!==null),Qn)),style:Xi},b.createElement(ar,(0,x.Z)({ref:this.listRef,prefixCls:Tn,style:Lr,data:En,disabled:Qr,selectable:Ct,checkable:!!sr,motion:Fr,dragging:Rn!==null,height:zi,itemHeight:Gi,virtual:sl,focusable:an,focused:Ta,tabIndex:Wn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:El,onScroll:Pl},this.getTreeNodeRequiredProps(),Ki))))}}],[{key:"getDerivedStateFromProps",value:function(Qn,Ma){var Ta=Ma.prevProps,En={prevProps:Qn};function Mn(an){return!Ta&&an in Qn||Ta&&Ta[an]!==Qn[an]}var Rn,ka=Ma.fieldNames;if(Mn("fieldNames")&&(ka=(0,Wa.w$)(Qn.fieldNames),En.fieldNames=ka),Mn("treeData")?Rn=Qn.treeData:Mn("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Rn=(0,Wa.zn)(Qn.children)),Rn){En.treeData=Rn;var xr=(0,Wa.I8)(Rn,{fieldNames:ka});En.keyEntities=(0,Re.Z)((0,ie.Z)({},da,la),xr.keyEntities)}var Or=En.keyEntities||Ma.keyEntities;if(Mn("expandedKeys")||Ta&&Mn("autoExpandParent"))En.expandedKeys=Qn.autoExpandParent||!Ta&&Qn.defaultExpandParent?(0,ga.r7)(Qn.expandedKeys,Or):Qn.expandedKeys;else if(!Ta&&Qn.defaultExpandAll){var Kr=(0,Re.Z)({},Or);delete Kr[da],En.expandedKeys=Object.keys(Kr).map(function(an){return Kr[an].key})}else!Ta&&Qn.defaultExpandedKeys&&(En.expandedKeys=Qn.autoExpandParent||Qn.defaultExpandParent?(0,ga.r7)(Qn.defaultExpandedKeys,Or):Qn.defaultExpandedKeys);if(En.expandedKeys||delete En.expandedKeys,Rn||En.expandedKeys){var uo=(0,Wa.oH)(Rn||Ma.treeData,En.expandedKeys||Ma.expandedKeys,ka);En.flattenNodes=uo}if(Qn.selectable&&(Mn("selectedKeys")?En.selectedKeys=(0,ga.BT)(Qn.selectedKeys,Qn):!Ta&&Qn.defaultSelectedKeys&&(En.selectedKeys=(0,ga.BT)(Qn.defaultSelectedKeys,Qn))),Qn.checkable){var yr;if(Mn("checkedKeys")?yr=(0,ga.E6)(Qn.checkedKeys)||{}:!Ta&&Qn.defaultCheckedKeys?yr=(0,ga.E6)(Qn.defaultCheckedKeys)||{}:Rn&&(yr=(0,ga.E6)(Qn.checkedKeys)||{checkedKeys:Ma.checkedKeys,halfCheckedKeys:Ma.halfCheckedKeys}),yr){var Ha=yr,Hn=Ha.checkedKeys,Tn=Hn===void 0?[]:Hn,Oa=Ha.halfCheckedKeys,Lr=Oa===void 0?[]:Oa;if(!Qn.checkStrictly){var we=(0,Ja.S)(Tn,!0,Or);Tn=we.checkedKeys,Lr=we.halfCheckedKeys}En.checkedKeys=Tn,En.halfCheckedKeys=Lr}}return Mn("loadedKeys")&&(En.loadedKeys=Qn.loadedKeys),En}}]),Un}(b.Component);Yr.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:ee,allowDrop:function(){return!0},expandAction:!1},Yr.TreeNode=Ar.Z;var Zo=Yr,ni=Zo,vi=z(73148),Da=z(56747),yi={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"},Hr=yi,Go=z(74643),pi=function(gn,Un){return b.createElement(Go.Z,(0,x.Z)({},gn,{ref:Un,icon:Hr}))},qa=b.forwardRef(pi),Ir=z(53124),vo=z(50881),ir=z(33603),fi=z(32157);const ci=4;function Fi(tn){const{dropPosition:gn,dropLevelOffset:Un,prefixCls:qe,indent:Qn,direction:Ma="ltr"}=tn,Ta=Ma==="ltr"?"left":"right",En=Ma==="ltr"?"right":"left",Mn={[Ta]:-Un*Qn+ci,[En]:0};switch(gn){case-1:Mn.top=-3;break;case 1:Mn.bottom=-3;break;default:Mn.bottom=-3,Mn[Ta]=Qn+ci;break}return b.createElement("div",{style:Mn,className:`${qe}-drop-indicator`})}var ei=z(99184),Wt=b.forwardRef((tn,gn)=>{const{getPrefixCls:Un,direction:qe,virtual:Qn,tree:Ma}=b.useContext(Ir.E_),{prefixCls:Ta,className:En,showIcon:Mn=!1,showLine:Rn,switcherIcon:ka,blockNode:xr=!1,children:Or,checkable:Kr=!1,selectable:uo=!0,draggable:yr,motion:Ha,style:Hn}=tn,Tn=Un("tree",Ta),Oa=Un(),Lr=Ha!=null?Ha:Object.assign(Object.assign({},(0,ir.Z)(Oa)),{motionAppear:!1}),we=Object.assign(Object.assign({},tn),{checkable:Kr,selectable:uo,showIcon:Mn,motion:Lr,blockNode:xr,showLine:!!Rn,dropIndicatorRender:Fi}),[an,wn]=(0,fi.ZP)(Tn),Wn=b.useMemo(()=>{if(!yr)return!1;let jn={};switch(typeof yr){case"function":jn.nodeDraggable=yr;break;case"object":jn=Object.assign({},yr);break;default:break}return jn.icon!==!1&&(jn.icon=jn.icon||b.createElement(vo.Z,null)),jn},[yr]),Ct=jn=>b.createElement(ei.Z,{prefixCls:Tn,switcherIcon:ka,treeNodeProps:jn,showLine:Rn});return an(b.createElement(ni,Object.assign({itemHeight:20,ref:gn,virtual:Qn},we,{style:Object.assign(Object.assign({},Ma==null?void 0:Ma.style),Hn),prefixCls:Tn,className:de()({[`${Tn}-icon-hide`]:!Mn,[`${Tn}-block-node`]:xr,[`${Tn}-unselectable`]:!uo,[`${Tn}-rtl`]:qe==="rtl"},Ma==null?void 0:Ma.className,En,wn),direction:qe,checkable:Kr&&b.createElement("span",{className:`${Tn}-checkbox-inner`}),selectable:uo,switcherIcon:Ct,draggable:Wn}),Or))}),Kt;(function(tn){tn[tn.None=0]="None",tn[tn.Start=1]="Start",tn[tn.End=2]="End"})(Kt||(Kt={}));function aa(tn,gn){function Un(qe){const{key:Qn,children:Ma}=qe;gn(Qn,qe)!==!1&&aa(Ma||[],gn)}tn.forEach(Un)}function xa(tn){let{treeData:gn,expandedKeys:Un,startKey:qe,endKey:Qn}=tn;const Ma=[];let Ta=Kt.None;if(qe&&qe===Qn)return[qe];if(!qe||!Qn)return[];function En(Mn){return Mn===qe||Mn===Qn}return aa(gn,Mn=>{if(Ta===Kt.End)return!1;if(En(Mn)){if(Ma.push(Mn),Ta===Kt.None)Ta=Kt.Start;else if(Ta===Kt.Start)return Ta=Kt.End,!1}else Ta===Kt.Start&&Ma.push(Mn);return Un.includes(Mn)}),Ma}function Ka(tn,gn){const Un=(0,ye.Z)(gn),qe=[];return aa(tn,(Qn,Ma)=>{const Ta=Un.indexOf(Qn);return Ta!==-1&&(qe.push(Ma),Un.splice(Ta,1)),!!Un.length}),qe}var Cr=function(tn,gn){var Un={};for(var qe in tn)Object.prototype.hasOwnProperty.call(tn,qe)&&gn.indexOf(qe)<0&&(Un[qe]=tn[qe]);if(tn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qn=0,qe=Object.getOwnPropertySymbols(tn);Qn<qe.length;Qn++)gn.indexOf(qe[Qn])<0&&Object.prototype.propertyIsEnumerable.call(tn,qe[Qn])&&(Un[qe[Qn]]=tn[qe[Qn]]);return Un};function po(tn){const{isLeaf:gn,expanded:Un}=tn;return gn?b.createElement(vi.Z,null):Un?b.createElement(Da.Z,null):b.createElement(qa,null)}function Lo(tn){let{treeData:gn,children:Un}=tn;return gn||(0,Wa.zn)(Un)}const rr=(tn,gn)=>{var{defaultExpandAll:Un,defaultExpandParent:qe,defaultExpandedKeys:Qn}=tn,Ma=Cr(tn,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ta=b.useRef(),En=b.useRef(),Mn=()=>{const{keyEntities:Wn}=(0,Wa.I8)(Lo(Ma));let Ct;return Un?Ct=Object.keys(Wn):qe?Ct=(0,ga.r7)(Ma.expandedKeys||Qn||[],Wn):Ct=Ma.expandedKeys||Qn,Ct},[Rn,ka]=b.useState(Ma.selectedKeys||Ma.defaultSelectedKeys||[]),[xr,Or]=b.useState(()=>Mn());b.useEffect(()=>{"selectedKeys"in Ma&&ka(Ma.selectedKeys)},[Ma.selectedKeys]),b.useEffect(()=>{"expandedKeys"in Ma&&Or(Ma.expandedKeys)},[Ma.expandedKeys]);const Kr=(Wn,Ct)=>{var jn;return"expandedKeys"in Ma||Or(Wn),(jn=Ma.onExpand)===null||jn===void 0?void 0:jn.call(Ma,Wn,Ct)},uo=(Wn,Ct)=>{var jn;const{multiple:Gn}=Ma,{node:In,nativeEvent:Jn}=Ct,{key:sr=""}=In,hr=Lo(Ma),Qr=Object.assign(Object.assign({},Ct),{selected:!0}),Fr=(Jn==null?void 0:Jn.ctrlKey)||(Jn==null?void 0:Jn.metaKey),_o=Jn==null?void 0:Jn.shiftKey;let Ho;Gn&&Fr?(Ho=Wn,Ta.current=sr,En.current=Ho,Qr.selectedNodes=Ka(hr,Ho)):Gn&&_o?(Ho=Array.from(new Set([].concat((0,ye.Z)(En.current||[]),(0,ye.Z)(xa({treeData:hr,expandedKeys:xr,startKey:sr,endKey:Ta.current}))))),Qr.selectedNodes=Ka(hr,Ho)):(Ho=[sr],Ta.current=sr,En.current=Ho,Qr.selectedNodes=Ka(hr,Ho)),(jn=Ma.onSelect)===null||jn===void 0||jn.call(Ma,Ho,Qr),"selectedKeys"in Ma||ka(Ho)},{getPrefixCls:yr,direction:Ha}=b.useContext(Ir.E_),{prefixCls:Hn,className:Tn,showIcon:Oa=!0,expandAction:Lr="click"}=Ma,we=Cr(Ma,["prefixCls","className","showIcon","expandAction"]),an=yr("tree",Hn),wn=de()(`${an}-directory`,{[`${an}-directory-rtl`]:Ha==="rtl"},Tn);return b.createElement(Wt,Object.assign({icon:po,ref:gn,blockNode:!0},we,{showIcon:Oa,expandAction:Lr,prefixCls:an,className:wn,expandedKeys:xr,selectedKeys:Rn,onSelect:uo,onExpand:Kr}))};var ai=b.forwardRef(rr);const ii=Wt;ii.DirectoryTree=ai,ii.TreeNode=Ar.Z;var oo=ii},32157:function(Jt,zt,z){"use strict";z.d(zt,{TM:function(){return _e},Yk:function(){return de}});var x=z(45930),ie=z(63185),Ce=z(14747),Re=z(33507),ye=z(45503),Te=z(67968);const se=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),nt=(ue,y)=>({[`.${ue}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),Me=(ue,y)=>({[`.${ue}-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:'""'}}}),ze=(ue,y)=>{const{treeCls:a,treeNodeCls:b,treeNodePadding:E,titleHeight:ee,nodeSelectedBg:te,nodeHoverBg:re}=y,oe=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Ce.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,Ce.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,Ce.oN)(y)),[`&:not(${b}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:ee,lineHeight:`${ee}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:ee}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},nt(ue,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:ee,margin:0,lineHeight:`${ee}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:ee/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:ee/2*.8,height:ee/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:oe},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:ee,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${ee}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:te},[`${a}-iconEle`]:{display:"inline-block",width:ee,height:ee,lineHeight:`${ee}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${ee}px`,userSelect:"none"},Me(ue,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:ee/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:`${ee/2}px !important`}}}}})}},Ze=ue=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:b,directoryNodeSelectedBg:E,directoryNodeSelectedColor:ee}=ue;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${ue.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ue.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${ue.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:ee,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${y}-switcher`]:{color:ee},[`${y}-node-content-wrapper`]:{color:ee,background:"transparent"}}}}}},de=(ue,y)=>{const a=`.${ue}`,b=`${a}-treenode`,E=y.paddingXS/2,ee=(0,ye.TS)(y,{treeCls:a,treeNodeCls:b,treeNodePadding:E});return[ze(ue,ee),Ze(ee)]},_e=ue=>{const{controlHeightSM:y}=ue;return{titleHeight:y,nodeHoverBg:ue.controlItemBgHover,nodeSelectedBg:ue.controlItemBgActive}};zt.ZP=(0,Te.Z)("Tree",(ue,y)=>{let{prefixCls:a}=y;return[{[ue.componentCls]:(0,ie.C2)(`${a}-checkbox`,ue)},de(a,ue),(0,Re.Z)(ue)]},ue=>{const{colorTextLightSolid:y,colorPrimary:a}=ue;return Object.assign(Object.assign({},_e(ue)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},99184:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return a}});var x=z(87462),ie=z(67294),Ce={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"},Re=Ce,ye=z(74643),Te=function(E,ee){return ie.createElement(ye.Z,(0,x.Z)({},E,{ref:ee,icon:Re}))},se=ie.forwardRef(Te),nt=z(73148),Me=z(3407),ze=z(34182),Ze=z(74664),de=z(94184),_e=z.n(de),ue=z(96159),a=b=>{const{prefixCls:E,switcherIcon:ee,treeNodeProps:te,showLine:re}=b,{isLeaf:oe,expanded:ce,loading:pe}=te;if(pe)return ie.createElement(Me.Z,{className:`${E}-switcher-loading-icon`});let Pe;if(re&&typeof re=="object"&&(Pe=re.showLeafIcon),oe){if(!re)return null;if(typeof Pe!="boolean"&&Pe){const Oe=typeof Pe=="function"?Pe(te):Pe,he=`${E}-switcher-line-custom-icon`;return(0,ue.l$)(Oe)?(0,ue.Tm)(Oe,{className:_e()(Oe.props.className||"",he)}):Oe}return Pe?ie.createElement(nt.Z,{className:`${E}-switcher-line-icon`}):ie.createElement("span",{className:`${E}-switcher-leaf-line`})}const He=`${E}-switcher-icon`,ke=typeof ee=="function"?ee(te):ee;return(0,ue.l$)(ke)?(0,ue.Tm)(ke,{className:_e()(ke.props.className||"",He)}):ke!==void 0?ke:re?ce?ie.createElement(ze.Z,{className:`${E}-switcher-line-icon`}):ie.createElement(Ze.Z,{className:`${E}-switcher-line-icon`}):ie.createElement(se,{className:He})}},59810:function(Jt,zt,z){"use strict";z.d(zt,{default:function(){return Ya}});var x=z(67294),ie=z(74902),Ce=z(94184),Re=z.n(Ce),ye=z(87462),Te=z(15671),se=z(43144),nt=z(60136),Me=z(51630),ze=z(4942),Ze=z(45987),de=z(74165),_e=z(71002),ue=z(15861),y=z(64217);function a(Bt,Yn){var Dn="cannot ".concat(Bt.method," ").concat(Bt.action," ").concat(Yn.status,"'"),It=new Error(Dn);return It.status=Yn.status,It.method=Bt.method,It.url=Bt.action,It}function b(Bt){var Yn=Bt.responseText||Bt.response;if(!Yn)return Yn;try{return JSON.parse(Yn)}catch(Dn){return Yn}}function E(Bt){var Yn=new XMLHttpRequest;Bt.onProgress&&Yn.upload&&(Yn.upload.onprogress=function(ga){ga.total>0&&(ga.percent=ga.loaded/ga.total*100),Bt.onProgress(ga)});var Dn=new FormData;Bt.data&&Object.keys(Bt.data).forEach(function(ar){var ga=Bt.data[ar];if(Array.isArray(ga)){ga.forEach(function(Ja){Dn.append("".concat(ar,"[]"),Ja)});return}Dn.append(ar,ga)}),Bt.file instanceof Blob?Dn.append(Bt.filename,Bt.file,Bt.file.name):Dn.append(Bt.filename,Bt.file),Yn.onerror=function(ga){Bt.onError(ga)},Yn.onload=function(){return Yn.status<200||Yn.status>=300?Bt.onError(a(Bt,Yn),b(Yn)):Bt.onSuccess(b(Yn),Yn)},Yn.open(Bt.method,Bt.action,!0),Bt.withCredentials&&"withCredentials"in Yn&&(Yn.withCredentials=!0);var It=Bt.headers||{};return It["X-Requested-With"]!==null&&Yn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(It).forEach(function(ar){It[ar]!==null&&Yn.setRequestHeader(ar,It[ar])}),Yn.send(Dn),{abort:function(){Yn.abort()}}}var ee=+new Date,te=0;function re(){return"rc-upload-".concat(ee,"-").concat(++te)}var oe=z(80334),ce=function(Bt,Yn){if(Bt&&Yn){var Dn=Array.isArray(Yn)?Yn:Yn.split(","),It=Bt.name||"",ar=Bt.type||"",ga=ar.replace(/\/.*$/,"");return Dn.some(function(Ja){var wa=Ja.trim();if(/^\*(\/\*)?$/.test(Ja))return!0;if(wa.charAt(0)==="."){var Io=It.toLowerCase(),Yr=wa.toLowerCase(),Zo=[Yr];return(Yr===".jpg"||Yr===".jpeg")&&(Zo=[".jpg",".jpeg"]),Zo.some(function(ni){return Io.endsWith(ni)})}return/\/\*$/.test(wa)?ga===wa.replace(/\/.*$/,""):ar===wa?!0:/^\w+$/.test(wa)?((0,oe.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(wa,"'.Skip for check.")),!0):!1})}return!0};function pe(Bt,Yn){var Dn=Bt.createReader(),It=[];function ar(){Dn.readEntries(function(ga){var Ja=Array.prototype.slice.apply(ga);It=It.concat(Ja);var wa=!Ja.length;wa?Yn(It):ar()})}ar()}var Pe=function(Yn,Dn,It){var ar=function ga(Ja,wa){Ja&&(Ja.path=wa||"",Ja.isFile?Ja.file(function(Io){It(Io)&&(Ja.fullPath&&!Io.webkitRelativePath&&(Object.defineProperties(Io,{webkitRelativePath:{writable:!0}}),Io.webkitRelativePath=Ja.fullPath.replace(/^\//,""),Object.defineProperties(Io,{webkitRelativePath:{writable:!1}})),Dn([Io]))}):Ja.isDirectory&&pe(Ja,function(Io){Io.forEach(function(Yr){ga(Yr,"".concat(wa).concat(Ja.name,"/"))})}))};Yn.forEach(function(ga){ar(ga.webkitGetAsEntry())})},He=Pe,ke=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Oe=function(Bt){(0,nt.Z)(Dn,Bt);var Yn=(0,Me.Z)(Dn);function Dn(){var It;(0,Te.Z)(this,Dn);for(var ar=arguments.length,ga=new Array(ar),Ja=0;Ja<ar;Ja++)ga[Ja]=arguments[Ja];return It=Yn.call.apply(Yn,[this].concat(ga)),It.state={uid:re()},It.reqs={},It.fileInput=void 0,It._isMounted=void 0,It.onChange=function(wa){var Io=It.props,Yr=Io.accept,Zo=Io.directory,ni=wa.target.files,vi=(0,ie.Z)(ni).filter(function(Da){return!Zo||ce(Da,Yr)});It.uploadFiles(vi),It.reset()},It.onClick=function(wa){var Io=It.fileInput;if(Io){var Yr=It.props,Zo=Yr.children,ni=Yr.onClick;if(Zo&&Zo.type==="button"){var vi=Io.parentNode;vi.focus(),vi.querySelector("button").blur()}Io.click(),ni&&ni(wa)}},It.onKeyDown=function(wa){wa.key==="Enter"&&It.onClick(wa)},It.onFileDrop=function(wa){var Io=It.props.multiple;if(wa.preventDefault(),wa.type!=="dragover")if(It.props.directory)He(Array.prototype.slice.call(wa.dataTransfer.items),It.uploadFiles,function(Zo){return ce(Zo,It.props.accept)});else{var Yr=(0,ie.Z)(wa.dataTransfer.files).filter(function(Zo){return ce(Zo,It.props.accept)});Io===!1&&(Yr=Yr.slice(0,1)),It.uploadFiles(Yr)}},It.uploadFiles=function(wa){var Io=(0,ie.Z)(wa),Yr=Io.map(function(Zo){return Zo.uid=re(),It.processFile(Zo,Io)});Promise.all(Yr).then(function(Zo){var ni=It.props.onBatchStart;ni==null||ni(Zo.map(function(vi){var Da=vi.origin,yi=vi.parsedFile;return{file:Da,parsedFile:yi}})),Zo.filter(function(vi){return vi.parsedFile!==null}).forEach(function(vi){It.post(vi)})})},It.processFile=function(){var wa=(0,ue.Z)((0,de.Z)().mark(function Io(Yr,Zo){var ni,vi,Da,yi,Hr,Go,pi,qa,Ir;return(0,de.Z)().wrap(function(ir){for(;;)switch(ir.prev=ir.next){case 0:if(ni=It.props.beforeUpload,vi=Yr,!ni){ir.next=14;break}return ir.prev=3,ir.next=6,ni(Yr,Zo);case 6:vi=ir.sent,ir.next=12;break;case 9:ir.prev=9,ir.t0=ir.catch(3),vi=!1;case 12:if(vi!==!1){ir.next=14;break}return ir.abrupt("return",{origin:Yr,parsedFile:null,action:null,data:null});case 14:if(Da=It.props.action,typeof Da!="function"){ir.next=21;break}return ir.next=18,Da(Yr);case 18:yi=ir.sent,ir.next=22;break;case 21:yi=Da;case 22:if(Hr=It.props.data,typeof Hr!="function"){ir.next=29;break}return ir.next=26,Hr(Yr);case 26:Go=ir.sent,ir.next=30;break;case 29:Go=Hr;case 30:return pi=((0,_e.Z)(vi)==="object"||typeof vi=="string")&&vi?vi:Yr,pi instanceof File?qa=pi:qa=new File([pi],Yr.name,{type:Yr.type}),Ir=qa,Ir.uid=Yr.uid,ir.abrupt("return",{origin:Yr,data:Go,parsedFile:Ir,action:yi});case 35:case"end":return ir.stop()}},Io,null,[[3,9]])}));return function(Io,Yr){return wa.apply(this,arguments)}}(),It.saveFileInput=function(wa){It.fileInput=wa},It}return(0,se.Z)(Dn,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(ar){var ga=this,Ja=ar.data,wa=ar.origin,Io=ar.action,Yr=ar.parsedFile;if(this._isMounted){var Zo=this.props,ni=Zo.onStart,vi=Zo.customRequest,Da=Zo.name,yi=Zo.headers,Hr=Zo.withCredentials,Go=Zo.method,pi=wa.uid,qa=vi||E,Ir={action:Io,filename:Da,data:Ja,file:Yr,headers:yi,withCredentials:Hr,method:Go||"post",onProgress:function(ir){var fi=ga.props.onProgress;fi==null||fi(ir,Yr)},onSuccess:function(ir,fi){var ci=ga.props.onSuccess;ci==null||ci(ir,Yr,fi),delete ga.reqs[pi]},onError:function(ir,fi){var ci=ga.props.onError;ci==null||ci(ir,fi,Yr),delete ga.reqs[pi]}};ni(wa),this.reqs[pi]=qa(Ir)}}},{key:"reset",value:function(){this.setState({uid:re()})}},{key:"abort",value:function(ar){var ga=this.reqs;if(ar){var Ja=ar.uid?ar.uid:ar;ga[Ja]&&ga[Ja].abort&&ga[Ja].abort(),delete ga[Ja]}else Object.keys(ga).forEach(function(wa){ga[wa]&&ga[wa].abort&&ga[wa].abort(),delete ga[wa]})}},{key:"render",value:function(){var ar,ga=this.props,Ja=ga.component,wa=ga.prefixCls,Io=ga.className,Yr=ga.disabled,Zo=ga.id,ni=ga.style,vi=ga.multiple,Da=ga.accept,yi=ga.capture,Hr=ga.children,Go=ga.directory,pi=ga.openFileDialogOnClick,qa=ga.onMouseEnter,Ir=ga.onMouseLeave,vo=(0,Ze.Z)(ga,ke),ir=Re()((ar={},(0,ze.Z)(ar,wa,!0),(0,ze.Z)(ar,"".concat(wa,"-disabled"),Yr),(0,ze.Z)(ar,Io,Io),ar)),fi=Go?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},ci=Yr?{}:{onClick:pi?this.onClick:function(){},onKeyDown:pi?this.onKeyDown:function(){},onMouseEnter:qa,onMouseLeave:Ir,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return x.createElement(Ja,(0,ye.Z)({},ci,{className:ir,role:"button",style:ni}),x.createElement("input",(0,ye.Z)({},(0,y.Z)(vo,{aria:!0,data:!0}),{id:Zo,disabled:Yr,type:"file",ref:this.saveFileInput,onClick:function(ei){return ei.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Da},fi,{multiple:vi,onChange:this.onChange},yi!=null?{capture:yi}:{})),Hr)}}]),Dn}(x.Component),he=Oe;function Ke(){}var Ue=function(Bt){(0,nt.Z)(Dn,Bt);var Yn=(0,Me.Z)(Dn);function Dn(){var It;(0,Te.Z)(this,Dn);for(var ar=arguments.length,ga=new Array(ar),Ja=0;Ja<ar;Ja++)ga[Ja]=arguments[Ja];return It=Yn.call.apply(Yn,[this].concat(ga)),It.uploader=void 0,It.saveUploader=function(wa){It.uploader=wa},It}return(0,se.Z)(Dn,[{key:"abort",value:function(ar){this.uploader.abort(ar)}},{key:"render",value:function(){return x.createElement(he,(0,ye.Z)({},this.props,{ref:this.saveUploader}))}}]),Dn}(x.Component);Ue.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Ke,onError:Ke,onSuccess:Ke,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var $e=Ue,Fe=$e,at=z(5663),lt=z(73935),ft=z(53124),ut=z(98866),St=z(10110),jt=z(24457),Vn={icon:function(Yn,Dn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Dn}},{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:Yn}}]}},name:"file",theme:"twotone"},fa=Vn,mt=z(74643),ht=function(Yn,Dn){return x.createElement(mt.Z,(0,ye.Z)({},Yn,{ref:Dn,icon:fa}))},mn=x.forwardRef(ht),oa=z(3407),Sn={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"},Kn=Sn,Ye=function(Yn,Dn){return x.createElement(mt.Z,(0,ye.Z)({},Yn,{ref:Dn,icon:Kn}))},_n=x.forwardRef(Ye),ca={icon:function(Yn,Dn){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:Yn}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Dn}},{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:Dn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Dn}},{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:Yn}}]}},name:"picture",theme:"twotone"},ln=ca,At=function(Yn,Dn){return x.createElement(mt.Z,(0,ye.Z)({},Yn,{ref:Dn,icon:ln}))},cn=x.forwardRef(At),We=z(38379),Be=z(57838),Je=z(33603),vt=z(96159),Vt=z(71577);function dn(Bt){return Object.assign(Object.assign({},Bt),{lastModified:Bt.lastModified,lastModifiedDate:Bt.lastModifiedDate,name:Bt.name,size:Bt.size,type:Bt.type,uid:Bt.uid,percent:0,originFileObj:Bt})}function ta(Bt,Yn){const Dn=(0,ie.Z)(Yn),It=Dn.findIndex(ar=>{let{uid:ga}=ar;return ga===Bt.uid});return It===-1?Dn.push(Bt):Dn[It]=Bt,Dn}function vn(Bt,Yn){const Dn=Bt.uid!==void 0?"uid":"name";return Yn.filter(It=>It[Dn]===Bt[Dn])[0]}function Nn(Bt,Yn){const Dn=Bt.uid!==void 0?"uid":"name",It=Yn.filter(ar=>ar[Dn]!==Bt[Dn]);return It.length===Yn.length?null:It}const ia=function(){const Yn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),It=Yn[Yn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(It)||[""])[0]},et=Bt=>Bt.indexOf("image/")===0,Ot=Bt=>{if(Bt.type&&!Bt.thumbUrl)return et(Bt.type);const Yn=Bt.thumbUrl||Bt.url||"",Dn=ia(Yn);return/^data:image\//.test(Yn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Dn)?!0:!(/^data:/.test(Yn)||Dn)},Pa=200;function An(Bt){return new Promise(Yn=>{if(!Bt.type||!et(Bt.type)){Yn("");return}const Dn=document.createElement("canvas");Dn.width=Pa,Dn.height=Pa,Dn.style.cssText=`position: fixed; left: 0; top: 0; width: ${Pa}px; height: ${Pa}px; z-index: 9999; display: none;`,document.body.appendChild(Dn);const It=Dn.getContext("2d"),ar=new Image;if(ar.onload=()=>{const{width:ga,height:Ja}=ar;let wa=Pa,Io=Pa,Yr=0,Zo=0;ga>Ja?(Io=Ja*(Pa/ga),Zo=-(Io-wa)/2):(wa=ga*(Pa/Ja),Yr=-(wa-Io)/2),It.drawImage(ar,Yr,Zo,wa,Io);const ni=Dn.toDataURL();document.body.removeChild(Dn),window.URL.revokeObjectURL(ar.src),Yn(ni)},ar.crossOrigin="anonymous",Bt.type.startsWith("image/svg+xml")){const ga=new FileReader;ga.onload=()=>{ga.result&&(ar.src=ga.result)},ga.readAsDataURL(Bt)}else if(Bt.type.startsWith("image/gif")){const ga=new FileReader;ga.onload=()=>{ga.result&&Yn(ga.result)},ga.readAsDataURL(Bt)}else ar.src=window.URL.createObjectURL(Bt)})}var Ft=z(84249),ya=z(90674),ot=z(99569),Tt=z(38703),nn=z(83062),Lt=x.forwardRef((Bt,Yn)=>{let{prefixCls:Dn,className:It,style:ar,locale:ga,listType:Ja,file:wa,items:Io,progress:Yr,iconRender:Zo,actionIconRender:ni,itemRender:vi,isImgUrl:Da,showPreviewIcon:yi,showRemoveIcon:Hr,showDownloadIcon:Go,previewIcon:pi,removeIcon:qa,downloadIcon:Ir,onPreview:vo,onDownload:ir,onClose:fi}=Bt;var ci,Fi;const{status:ei}=wa,[hi,Wt]=x.useState(ei);x.useEffect(()=>{ei!=="removed"&&Wt(ei)},[ei]);const[Kt,aa]=x.useState(!1);x.useEffect(()=>{const En=setTimeout(()=>{aa(!0)},300);return()=>{clearTimeout(En)}},[]);const xa=Zo(wa);let Ka=x.createElement("div",{className:`${Dn}-icon`},xa);if(Ja==="picture"||Ja==="picture-card"||Ja==="picture-circle")if(hi==="uploading"||!wa.thumbUrl&&!wa.url){const En=Re()(`${Dn}-list-item-thumbnail`,{[`${Dn}-list-item-file`]:hi!=="uploading"});Ka=x.createElement("div",{className:En},xa)}else{const En=Da!=null&&Da(wa)?x.createElement("img",{src:wa.thumbUrl||wa.url,alt:wa.name,className:`${Dn}-list-item-image`,crossOrigin:wa.crossOrigin}):xa,Mn=Re()(`${Dn}-list-item-thumbnail`,{[`${Dn}-list-item-file`]:Da&&!Da(wa)});Ka=x.createElement("a",{className:Mn,onClick:Rn=>vo(wa,Rn),href:wa.url||wa.thumbUrl,target:"_blank",rel:"noopener noreferrer"},En)}const Cr=Re()(`${Dn}-list-item`,`${Dn}-list-item-${hi}`),po=typeof wa.linkProps=="string"?JSON.parse(wa.linkProps):wa.linkProps,Lo=Hr?ni((typeof qa=="function"?qa(wa):qa)||x.createElement(Ft.Z,null),()=>fi(wa),Dn,ga.removeFile):null,rr=Go&&hi==="done"?ni((typeof Ir=="function"?Ir(wa):Ir)||x.createElement(ya.Z,null),()=>ir(wa),Dn,ga.downloadFile):null,zo=Ja!=="picture-card"&&Ja!=="picture-circle"&&x.createElement("span",{key:"download-delete",className:Re()(`${Dn}-list-item-actions`,{picture:Ja==="picture"})},rr,Lo),ai=Re()(`${Dn}-list-item-name`),ii=wa.url?[x.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ai,title:wa.name},po,{href:wa.url,onClick:En=>vo(wa,En)}),wa.name),zo]:[x.createElement("span",{key:"view",className:ai,onClick:En=>vo(wa,En),title:wa.name},wa.name),zo],oo={pointerEvents:"none",opacity:.5},tn=yi?x.createElement("a",{href:wa.url||wa.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:wa.url||wa.thumbUrl?void 0:oo,onClick:En=>vo(wa,En),title:ga.previewFile},typeof pi=="function"?pi(wa):pi||x.createElement(ot.Z,null)):null,gn=(Ja==="picture-card"||Ja==="picture-circle")&&hi!=="uploading"&&x.createElement("span",{className:`${Dn}-list-item-actions`},tn,hi==="done"&&rr,Lo),{getPrefixCls:Un}=x.useContext(ft.E_),qe=Un(),Qn=x.createElement("div",{className:Cr},Ka,ii,gn,Kt&&x.createElement(We.default,{motionName:`${qe}-fade`,visible:hi==="uploading",motionDeadline:2e3},En=>{let{className:Mn}=En;const Rn="percent"in wa?x.createElement(Tt.Z,Object.assign({},Yr,{type:"line",percent:wa.percent,"aria-label":wa["aria-label"],"aria-labelledby":wa["aria-labelledby"]})):null;return x.createElement("div",{className:Re()(`${Dn}-list-item-progress`,Mn)},Rn)})),Ma=wa.response&&typeof wa.response=="string"?wa.response:((ci=wa.error)===null||ci===void 0?void 0:ci.statusText)||((Fi=wa.error)===null||Fi===void 0?void 0:Fi.message)||ga.uploadError,Ta=hi==="error"?x.createElement(nn.Z,{title:Ma,getPopupContainer:En=>En.parentNode},Qn):Qn;return x.createElement("div",{className:Re()(`${Dn}-list-item-container`,It),style:ar,ref:Yn},vi?vi(Ta,wa,Io,{download:ir.bind(null,wa),preview:vo.bind(null,wa),remove:fi.bind(null,wa)}):Ta)});const na=(Bt,Yn)=>{const{listType:Dn="text",previewFile:It=An,onPreview:ar,onDownload:ga,onRemove:Ja,locale:wa,iconRender:Io,isImageUrl:Yr=Ot,prefixCls:Zo,items:ni=[],showPreviewIcon:vi=!0,showRemoveIcon:Da=!0,showDownloadIcon:yi=!1,removeIcon:Hr,previewIcon:Go,downloadIcon:pi,progress:qa={size:[-1,2],showInfo:!1},appendAction:Ir,appendActionVisible:vo=!0,itemRender:ir,disabled:fi}=Bt,ci=(0,Be.Z)(),[Fi,ei]=x.useState(!1);x.useEffect(()=>{Dn!=="picture"&&Dn!=="picture-card"&&Dn!=="picture-circle"||(ni||[]).forEach(oo=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(oo.originFileObj instanceof File||oo.originFileObj instanceof Blob)||oo.thumbUrl!==void 0||(oo.thumbUrl="",It&&It(oo.originFileObj).then(tn=>{oo.thumbUrl=tn||"",ci()}))})},[Dn,ni,It]),x.useEffect(()=>{ei(!0)},[]);const hi=(oo,tn)=>{if(ar)return tn==null||tn.preventDefault(),ar(oo)},Wt=oo=>{typeof ga=="function"?ga(oo):oo.url&&window.open(oo.url)},Kt=oo=>{Ja==null||Ja(oo)},aa=oo=>{if(Io)return Io(oo,Dn);const tn=oo.status==="uploading",gn=Yr&&Yr(oo)?x.createElement(cn,null):x.createElement(mn,null);let Un=tn?x.createElement(oa.Z,null):x.createElement(_n,null);return Dn==="picture"?Un=tn?x.createElement(oa.Z,null):gn:(Dn==="picture-card"||Dn==="picture-circle")&&(Un=tn?wa.uploading:gn),Un},xa=(oo,tn,gn,Un)=>{const qe={type:"text",size:"small",title:Un,onClick:Qn=>{tn(),(0,vt.l$)(oo)&&oo.props.onClick&&oo.props.onClick(Qn)},className:`${gn}-list-item-action`,disabled:fi};if((0,vt.l$)(oo)){const Qn=(0,vt.Tm)(oo,Object.assign(Object.assign({},oo.props),{onClick:()=>{}}));return x.createElement(Vt.ZP,Object.assign({},qe,{icon:Qn}))}return x.createElement(Vt.ZP,Object.assign({},qe),x.createElement("span",null,oo))};x.useImperativeHandle(Yn,()=>({handlePreview:hi,handleDownload:Wt}));const{getPrefixCls:Ka}=x.useContext(ft.E_),Cr=Ka("upload",Zo),po=Ka(),Lo=Re()(`${Cr}-list`,`${Cr}-list-${Dn}`),rr=(0,ie.Z)(ni.map(oo=>({key:oo.uid,file:oo})));let ai={motionDeadline:2e3,motionName:`${Cr}-${Dn==="picture-card"||Dn==="picture-circle"?"animate-inline":"animate"}`,keys:rr,motionAppear:Fi};const ii=x.useMemo(()=>{const oo=Object.assign({},(0,Je.Z)(po));return delete oo.onAppearEnd,delete oo.onEnterEnd,delete oo.onLeaveEnd,oo},[po]);return Dn!=="picture-card"&&Dn!=="picture-circle"&&(ai=Object.assign(Object.assign({},ii),ai)),x.createElement("div",{className:Lo},x.createElement(We.CSSMotionList,Object.assign({},ai,{component:!1}),oo=>{let{key:tn,file:gn,className:Un,style:qe}=oo;return x.createElement(Lt,{key:tn,locale:wa,prefixCls:Cr,className:Un,style:qe,file:gn,items:ni,progress:qa,listType:Dn,isImgUrl:Yr,showPreviewIcon:vi,showRemoveIcon:Da,showDownloadIcon:yi,removeIcon:Hr,previewIcon:Go,downloadIcon:pi,iconRender:aa,actionIconRender:xa,itemRender:ir,onPreview:hi,onDownload:Wt,onClose:Kt})}),Ir&&x.createElement(We.default,Object.assign({},ai,{visible:vo,forceRender:!0}),oo=>{let{className:tn,style:gn}=oo;return(0,vt.Tm)(Ir,Un=>({className:Re()(Un.className,tn),style:Object.assign(Object.assign(Object.assign({},gn),{pointerEvents:tn?"none":void 0}),Un.style)}))}))};var ha=x.forwardRef(na),ba=z(14747),lr=z(33507),gr=z(67968),Qa=z(45503),so=Bt=>{const{componentCls:Yn,iconCls:Dn}=Bt;return{[`${Yn}-wrapper`]:{[`${Yn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Bt.colorFillAlter,border:`${Bt.lineWidth}px dashed ${Bt.colorBorder}`,borderRadius:Bt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Bt.motionDurationSlow}`,[Yn]:{padding:`${Bt.padding}px 0`},[`${Yn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Yn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Yn}-disabled):hover`]:{borderColor:Bt.colorPrimaryHover},[`p${Yn}-drag-icon`]:{marginBottom:Bt.margin,[Dn]:{color:Bt.colorPrimary,fontSize:Bt.uploadThumbnailSize}},[`p${Yn}-text`]:{margin:`0 0 ${Bt.marginXXS}px`,color:Bt.colorTextHeading,fontSize:Bt.fontSizeLG},[`p${Yn}-hint`]:{color:Bt.colorTextDescription,fontSize:Bt.fontSize},[`&${Yn}-disabled`]:{cursor:"not-allowed",[`p${Yn}-drag-icon ${Dn},
p${Yn}-text,
p${Yn}-hint
`]:{color:Bt.colorTextDisabled}}}}}},Jr=Bt=>{const{componentCls:Yn,antCls:Dn,iconCls:It,fontSize:ar,lineHeight:ga}=Bt,Ja=`${Yn}-list-item`,wa=`${Ja}-actions`,Io=`${Ja}-action`,Yr=Math.round(ar*ga);return{[`${Yn}-wrapper`]:{[`${Yn}-list`]:Object.assign(Object.assign({},(0,ba.dF)()),{lineHeight:Bt.lineHeight,[Ja]:{position:"relative",height:Bt.lineHeight*ar,marginTop:Bt.marginXS,fontSize:ar,display:"flex",alignItems:"center",transition:`background-color ${Bt.motionDurationSlow}`,"&:hover":{backgroundColor:Bt.controlItemBgHover},[`${Ja}-name`]:Object.assign(Object.assign({},ba.vS),{padding:`0 ${Bt.paddingXS}px`,lineHeight:ga,flex:"auto",transition:`all ${Bt.motionDurationSlow}`}),[wa]:{[Io]:{opacity:0},[`${Io}${Dn}-btn-sm`]:{height:Yr,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${Io}:focus-visible,
&.picture ${Io}
`]:{opacity:1},[It]:{color:Bt.actionsColor,transition:`all ${Bt.motionDurationSlow}`},[`&:hover ${It}`]:{color:Bt.colorText}},[`${Yn}-icon ${It}`]:{color:Bt.colorTextDescription,fontSize:ar},[`${Ja}-progress`]:{position:"absolute",bottom:-Bt.uploadProgressOffset,width:"100%",paddingInlineStart:ar+Bt.paddingXS,fontSize:ar,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Ja}:hover ${Io}`]:{opacity:1,color:Bt.colorText},[`${Ja}-error`]:{color:Bt.colorError,[`${Ja}-name, ${Yn}-icon ${It}`]:{color:Bt.colorError},[wa]:{[`${It}, ${It}:hover`]:{color:Bt.colorError},[Io]:{opacity:1}}},[`${Yn}-list-item-container`]:{transition:`opacity ${Bt.motionDurationSlow}, height ${Bt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},co=z(45930),Xr=z(16932);const bo=new co.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),kr=new co.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var ja=Bt=>{const{componentCls:Yn}=Bt,Dn=`${Yn}-animate-inline`;return[{[`${Yn}-wrapper`]:{[`${Dn}-appear, ${Dn}-enter, ${Dn}-leave`]:{animationDuration:Bt.motionDurationSlow,animationTimingFunction:Bt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Dn}-appear, ${Dn}-enter`]:{animationName:bo},[`${Dn}-leave`]:{animationName:kr}}},{[`${Yn}-wrapper`]:(0,Xr.J$)(Bt)},bo,kr]},_a=z(47448),za=z(84780);const Ar=Bt=>{const{componentCls:Yn,iconCls:Dn,uploadThumbnailSize:It,uploadProgressOffset:ar}=Bt,ga=`${Yn}-list`,Ja=`${ga}-item`;return{[`${Yn}-wrapper`]:{[`
${ga}${ga}-picture,
${ga}${ga}-picture-card,
${ga}${ga}-picture-circle
`]:{[Ja]:{position:"relative",height:It+Bt.lineWidth*2+Bt.paddingXS*2,padding:Bt.paddingXS,border:`${Bt.lineWidth}px ${Bt.lineType} ${Bt.colorBorder}`,borderRadius:Bt.borderRadiusLG,"&:hover":{background:"transparent"},[`${Ja}-thumbnail`]:Object.assign(Object.assign({},ba.vS),{width:It,height:It,lineHeight:`${It+Bt.paddingSM}px`,textAlign:"center",flex:"none",[Dn]:{fontSize:Bt.fontSizeHeading2,color:Bt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Ja}-progress`]:{bottom:ar,width:`calc(100% - ${Bt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:It+Bt.paddingXS}},[`${Ja}-error`]:{borderColor:Bt.colorError,[`${Ja}-thumbnail ${Dn}`]:{[`svg path[fill='${_a.blue[0]}']`]:{fill:Bt.colorErrorBg},[`svg path[fill='${_a.blue.primary}']`]:{fill:Bt.colorError}}},[`${Ja}-uploading`]:{borderStyle:"dashed",[`${Ja}-name`]:{marginBottom:ar}}},[`${ga}${ga}-picture-circle ${Ja}`]:{[`&, &::before, ${Ja}-thumbnail`]:{borderRadius:"50%"}}}}},er=Bt=>{const{componentCls:Yn,iconCls:Dn,fontSizeLG:It,colorTextLightSolid:ar}=Bt,ga=`${Yn}-list`,Ja=`${ga}-item`,wa=Bt.uploadPicCardSize;return{[`
${Yn}-wrapper${Yn}-picture-card-wrapper,
${Yn}-wrapper${Yn}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,ba.dF)()),{display:"inline-block",width:"100%",[`${Yn}${Yn}-select`]:{width:wa,height:wa,marginInlineEnd:Bt.marginXS,marginBottom:Bt.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Bt.colorFillAlter,border:`${Bt.lineWidth}px dashed ${Bt.colorBorder}`,borderRadius:Bt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Bt.motionDurationSlow}`,[`> ${Yn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Yn}-disabled):hover`]:{borderColor:Bt.colorPrimary}},[`${ga}${ga}-picture-card, ${ga}${ga}-picture-circle`]:{[`${ga}-item-container`]:{display:"inline-block",width:wa,height:wa,marginBlock:`0 ${Bt.marginXS}px`,marginInline:`0 ${Bt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Ja]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Bt.paddingXS*2}px)`,height:`calc(100% - ${Bt.paddingXS*2}px)`,backgroundColor:Bt.colorBgMask,opacity:0,transition:`all ${Bt.motionDurationSlow}`,content:'" "'}},[`${Ja}:hover`]:{[`&::before, ${Ja}-actions`]:{opacity:1}},[`${Ja}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Bt.motionDurationSlow}`,[`${Dn}-eye, ${Dn}-download, ${Dn}-delete`]:{zIndex:10,width:It,margin:`0 ${Bt.marginXXS}px`,fontSize:It,cursor:"pointer",transition:`all ${Bt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Ja}-actions, ${Ja}-actions:hover`]:{[`${Dn}-eye, ${Dn}-download, ${Dn}-delete`]:{color:new za.C(ar).setAlpha(.65).toRgbString(),"&:hover":{color:ar}}},[`${Ja}-thumbnail, ${Ja}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Ja}-name`]:{display:"none",textAlign:"center"},[`${Ja}-file + ${Ja}-name`]:{position:"absolute",bottom:Bt.margin,display:"block",width:`calc(100% - ${Bt.paddingXS*2}px)`},[`${Ja}-uploading`]:{[`&${Ja}`]:{backgroundColor:Bt.colorFillAlter},[`&::before, ${Dn}-eye, ${Dn}-download, ${Dn}-delete`]:{display:"none"}},[`${Ja}-progress`]:{bottom:Bt.marginXL,width:`calc(100% - ${Bt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Yn}-wrapper${Yn}-picture-circle-wrapper`]:{[`${Yn}${Yn}-select`]:{borderRadius:"50%"}}}};var kt=Bt=>{const{componentCls:Yn}=Bt;return{[`${Yn}-rtl`]:{direction:"rtl"}}};const sn=Bt=>{const{componentCls:Yn,colorTextDisabled:Dn}=Bt;return{[`${Yn}-wrapper`]:Object.assign(Object.assign({},(0,ba.Wf)(Bt)),{[Yn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Yn}-select`]:{display:"inline-block"},[`${Yn}-disabled`]:{color:Dn,cursor:"not-allowed"}})}};var Yt=(0,gr.Z)("Upload",Bt=>{const{fontSizeHeading3:Yn,fontSize:Dn,lineHeight:It,lineWidth:ar,controlHeightLG:ga}=Bt,Ja=Math.round(Dn*It),wa=(0,Qa.TS)(Bt,{uploadThumbnailSize:Yn*2,uploadProgressOffset:Ja/2+ar,uploadPicCardSize:ga*2.55});return[sn(wa),so(wa),Ar(wa),er(wa),Jr(wa),ja(wa),kt(wa),(0,lr.Z)(wa)]},Bt=>({actionsColor:Bt.colorTextDescription})),$n=function(Bt,Yn,Dn,It){function ar(ga){return ga instanceof Dn?ga:new Dn(function(Ja){Ja(ga)})}return new(Dn||(Dn=Promise))(function(ga,Ja){function wa(Zo){try{Yr(It.next(Zo))}catch(ni){Ja(ni)}}function Io(Zo){try{Yr(It.throw(Zo))}catch(ni){Ja(ni)}}function Yr(Zo){Zo.done?ga(Zo.value):ar(Zo.value).then(wa,Io)}Yr((It=It.apply(Bt,Yn||[])).next())})};const La=`__LIST_IGNORE_${Date.now()}__`,dr=(Bt,Yn)=>{const{fileList:Dn,defaultFileList:It,onRemove:ar,showUploadList:ga=!0,listType:Ja="text",onPreview:wa,onDownload:Io,onChange:Yr,onDrop:Zo,previewFile:ni,disabled:vi,locale:Da,iconRender:yi,isImageUrl:Hr,progress:Go,prefixCls:pi,className:qa,type:Ir="select",children:vo,style:ir,itemRender:fi,maxCount:ci,data:Fi={},multiple:ei=!1,action:hi="",accept:Wt="",supportServerRender:Kt=!0,rootClassName:aa}=Bt,xa=x.useContext(ut.Z),Ka=vi!=null?vi:xa,[Cr,po]=(0,at.Z)(It||[],{value:Dn,postState:Ct=>Ct!=null?Ct:[]}),[Lo,rr]=x.useState("drop"),zo=x.useRef(null);x.useMemo(()=>{const Ct=Date.now();(Dn||[]).forEach((jn,Gn)=>{!jn.uid&&!Object.isFrozen(jn)&&(jn.uid=`__AUTO__${Ct}_${Gn}__`)})},[Dn]);const ai=(Ct,jn,Gn)=>{let In=(0,ie.Z)(jn),Jn=!1;ci===1?In=In.slice(-1):ci&&(Jn=In.length>ci,In=In.slice(0,ci)),(0,lt.flushSync)(()=>{po(In)});const sr={file:Ct,fileList:In};Gn&&(sr.event=Gn),(!Jn||In.some(hr=>hr.uid===Ct.uid))&&(0,lt.flushSync)(()=>{Yr==null||Yr(sr)})},ii=(Ct,jn)=>$n(void 0,void 0,void 0,function*(){const{beforeUpload:Gn,transformFile:In}=Bt;let Jn=Ct;if(Gn){const sr=yield Gn(Ct,jn);if(sr===!1)return!1;if(delete Ct[La],sr===La)return Object.defineProperty(Ct,La,{value:!0,configurable:!0}),!1;typeof sr=="object"&&sr&&(Jn=sr)}return In&&(Jn=yield In(Jn)),Jn}),oo=Ct=>{const jn=Ct.filter(Jn=>!Jn.file[La]);if(!jn.length)return;const Gn=jn.map(Jn=>dn(Jn.file));let In=(0,ie.Z)(Cr);Gn.forEach(Jn=>{In=ta(Jn,In)}),Gn.forEach((Jn,sr)=>{let hr=Jn;if(jn[sr].parsedFile)Jn.status="uploading";else{const{originFileObj:Qr}=Jn;let Fr;try{Fr=new File([Qr],Qr.name,{type:Qr.type})}catch(_o){Fr=new Blob([Qr],{type:Qr.type}),Fr.name=Qr.name,Fr.lastModifiedDate=new Date,Fr.lastModified=new Date().getTime()}Fr.uid=Jn.uid,hr=Fr}ai(hr,In)})},tn=(Ct,jn,Gn)=>{try{typeof Ct=="string"&&(Ct=JSON.parse(Ct))}catch(sr){}if(!vn(jn,Cr))return;const In=dn(jn);In.status="done",In.percent=100,In.response=Ct,In.xhr=Gn;const Jn=ta(In,Cr);ai(In,Jn)},gn=(Ct,jn)=>{if(!vn(jn,Cr))return;const Gn=dn(jn);Gn.status="uploading",Gn.percent=Ct.percent;const In=ta(Gn,Cr);ai(Gn,In,Ct)},Un=(Ct,jn,Gn)=>{if(!vn(Gn,Cr))return;const In=dn(Gn);In.error=Ct,In.response=jn,In.status="error";const Jn=ta(In,Cr);ai(In,Jn)},qe=Ct=>{let jn;Promise.resolve(typeof ar=="function"?ar(Ct):ar).then(Gn=>{var In;if(Gn===!1)return;const Jn=Nn(Ct,Cr);Jn&&(jn=Object.assign(Object.assign({},Ct),{status:"removed"}),Cr==null||Cr.forEach(sr=>{const hr=jn.uid!==void 0?"uid":"name";sr[hr]===jn[hr]&&!Object.isFrozen(sr)&&(sr.status="removed")}),(In=zo.current)===null||In===void 0||In.abort(jn),ai(jn,Jn))})},Qn=Ct=>{rr(Ct.type),Ct.type==="drop"&&(Zo==null||Zo(Ct))};x.useImperativeHandle(Yn,()=>({onBatchStart:oo,onSuccess:tn,onProgress:gn,onError:Un,fileList:Cr,upload:zo.current}));const{getPrefixCls:Ma,direction:Ta,upload:En}=x.useContext(ft.E_),Mn=Ma("upload",pi),Rn=Object.assign(Object.assign({onBatchStart:oo,onError:Un,onProgress:gn,onSuccess:tn},Bt),{data:Fi,multiple:ei,action:hi,accept:Wt,supportServerRender:Kt,prefixCls:Mn,disabled:Ka,beforeUpload:ii,onChange:void 0});delete Rn.className,delete Rn.style,(!vo||Ka)&&delete Rn.id;const[ka,xr]=Yt(Mn),[Or]=(0,St.Z)("Upload",jt.Z.Upload),{showRemoveIcon:Kr,showPreviewIcon:uo,showDownloadIcon:yr,removeIcon:Ha,previewIcon:Hn,downloadIcon:Tn}=typeof ga=="boolean"?{}:ga,Oa=(Ct,jn)=>ga?x.createElement(ha,{prefixCls:Mn,listType:Ja,items:Cr,previewFile:ni,onPreview:wa,onDownload:Io,onRemove:qe,showRemoveIcon:!Ka&&Kr,showPreviewIcon:uo,showDownloadIcon:yr,removeIcon:Ha,previewIcon:Hn,downloadIcon:Tn,iconRender:yi,locale:Object.assign(Object.assign({},Or),Da),isImageUrl:Hr,progress:Go,appendAction:Ct,appendActionVisible:jn,itemRender:fi,disabled:Ka}):Ct,Lr=Re()(`${Mn}-wrapper`,qa,aa,xr,En==null?void 0:En.className,{[`${Mn}-rtl`]:Ta==="rtl",[`${Mn}-picture-card-wrapper`]:Ja==="picture-card",[`${Mn}-picture-circle-wrapper`]:Ja==="picture-circle"}),we=Object.assign(Object.assign({},En==null?void 0:En.style),ir);if(Ir==="drag"){const Ct=Re()(xr,Mn,`${Mn}-drag`,{[`${Mn}-drag-uploading`]:Cr.some(jn=>jn.status==="uploading"),[`${Mn}-drag-hover`]:Lo==="dragover",[`${Mn}-disabled`]:Ka,[`${Mn}-rtl`]:Ta==="rtl"});return ka(x.createElement("span",{className:Lr},x.createElement("div",{className:Ct,style:we,onDrop:Qn,onDragOver:Qn,onDragLeave:Qn},x.createElement(Fe,Object.assign({},Rn,{ref:zo,className:`${Mn}-btn`}),x.createElement("div",{className:`${Mn}-drag-container`},vo))),Oa()))}const an=Re()(Mn,`${Mn}-select`,{[`${Mn}-disabled`]:Ka}),Wn=(Ct=>x.createElement("div",{className:an,style:Ct},x.createElement(Fe,Object.assign({},Rn,{ref:zo}))))(vo?void 0:{display:"none"});return ka(Ja==="picture-card"||Ja==="picture-circle"?x.createElement("span",{className:Lr},Oa(Wn,!!vo)):x.createElement("span",{className:Lr},Wn,Oa()))};var Nr=x.forwardRef(dr),bn=function(Bt,Yn){var Dn={};for(var It in Bt)Object.prototype.hasOwnProperty.call(Bt,It)&&Yn.indexOf(It)<0&&(Dn[It]=Bt[It]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ar=0,It=Object.getOwnPropertySymbols(Bt);ar<It.length;ar++)Yn.indexOf(It[ar])<0&&Object.prototype.propertyIsEnumerable.call(Bt,It[ar])&&(Dn[It[ar]]=Bt[It[ar]]);return Dn},ro=x.forwardRef((Bt,Yn)=>{var{style:Dn,height:It}=Bt,ar=bn(Bt,["style","height"]);return x.createElement(Nr,Object.assign({ref:Yn},ar,{type:"drag",style:Object.assign(Object.assign({},Dn),{height:It})}))});const la=Nr;la.Dragger=ro,la.LIST_IGNORE=La;var Ya=la},72665:function(Jt,zt){"use strict";var z;var x=typeof Symbol=="function"&&Symbol.for,ie=x?Symbol.for("react.element"):60103,Ce=x?Symbol.for("react.portal"):60106,Re=x?Symbol.for("react.fragment"):60107,ye=x?Symbol.for("react.strict_mode"):60108,Te=x?Symbol.for("react.profiler"):60114,se=x?Symbol.for("react.provider"):60109,nt=x?Symbol.for("react.context"):60110,Me=x?Symbol.for("react.async_mode"):60111,ze=x?Symbol.for("react.concurrent_mode"):60111,Ze=x?Symbol.for("react.forward_ref"):60112,de=x?Symbol.for("react.suspense"):60113,_e=x?Symbol.for("react.suspense_list"):60120,ue=x?Symbol.for("react.memo"):60115,y=x?Symbol.for("react.lazy"):60116,a=x?Symbol.for("react.block"):60121,b=x?Symbol.for("react.fundamental"):60117,E=x?Symbol.for("react.responder"):60118,ee=x?Symbol.for("react.scope"):60119;function te(oe){if(typeof oe=="object"&&oe!==null){var ce=oe.$$typeof;switch(ce){case ie:switch(oe=oe.type,oe){case Me:case ze:case Re:case Te:case ye:case de:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case nt:case Ze:case y:case ue:case se:return oe;default:return ce}}case Ce:return ce}}}function re(oe){return te(oe)===ze}z=Me,z=ze,z=nt,z=se,z=ie,z=Ze,z=Re,z=y,z=ue,z=Ce,z=Te,z=ye,z=de,z=function(oe){return re(oe)||te(oe)===Me},z=re,z=function(oe){return te(oe)===nt},z=function(oe){return te(oe)===se},z=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===ie},z=function(oe){return te(oe)===Ze},z=function(oe){return te(oe)===Re},z=function(oe){return te(oe)===y},zt.isMemo=function(oe){return te(oe)===ue},z=function(oe){return te(oe)===Ce},z=function(oe){return te(oe)===Te},z=function(oe){return te(oe)===ye},z=function(oe){return te(oe)===de},z=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===Re||oe===ze||oe===Te||oe===ye||oe===de||oe===_e||typeof oe=="object"&&oe!==null&&(oe.$$typeof===y||oe.$$typeof===ue||oe.$$typeof===se||oe.$$typeof===nt||oe.$$typeof===Ze||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===ee||oe.$$typeof===a)},z=te},12060:function(Jt,zt,z){"use strict";Jt.exports=z(72665)},56261:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return Pe}});var x=z(87462),ie=z(4942),Ce=z(45987),Re=z(1413),ye=z(15671),Te=z(43144),se=z(97326),nt=z(60136),Me=z(51630),ze=z(94184),Ze=z.n(ze),de=z(34952),_e=z(67294),ue=z(69610),y=function(ke){for(var Oe=ke.prefixCls,he=ke.level,Ke=ke.isStart,Ue=ke.isEnd,$e="".concat(Oe,"-indent-unit"),Fe=[],at=0;at<he;at+=1){var lt;Fe.push(_e.createElement("span",{key:at,className:Ze()($e,(lt={},(0,ie.Z)(lt,"".concat($e,"-start"),Ke[at]),(0,ie.Z)(lt,"".concat($e,"-end"),Ue[at]),lt))}))}return _e.createElement("span",{"aria-hidden":"true",className:"".concat(Oe,"-indent")},Fe)},a=_e.memo(y),b=z(3596),E=z(83898),ee=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],te="open",re="close",oe="---",ce=function(He){(0,nt.Z)(Oe,He);var ke=(0,Me.Z)(Oe);function Oe(){var he;(0,ye.Z)(this,Oe);for(var Ke=arguments.length,Ue=new Array(Ke),$e=0;$e<Ke;$e++)Ue[$e]=arguments[$e];return he=ke.call.apply(ke,[this].concat(Ue)),he.state={dragNodeHighlight:!1},he.selectHandle=void 0,he.cacheIndent=void 0,he.onSelectorClick=function(Fe){var at=he.props.context.onNodeClick;at(Fe,(0,E.F)(he.props)),he.isSelectable()?he.onSelect(Fe):he.onCheck(Fe)},he.onSelectorDoubleClick=function(Fe){var at=he.props.context.onNodeDoubleClick;at(Fe,(0,E.F)(he.props))},he.onSelect=function(Fe){if(!he.isDisabled()){var at=he.props.context.onNodeSelect;at(Fe,(0,E.F)(he.props))}},he.onCheck=function(Fe){if(!he.isDisabled()){var at=he.props,lt=at.disableCheckbox,ft=at.checked,ut=he.props.context.onNodeCheck;if(!(!he.isCheckable()||lt)){var St=!ft;ut(Fe,(0,E.F)(he.props),St)}}},he.onMouseEnter=function(Fe){var at=he.props.context.onNodeMouseEnter;at(Fe,(0,E.F)(he.props))},he.onMouseLeave=function(Fe){var at=he.props.context.onNodeMouseLeave;at(Fe,(0,E.F)(he.props))},he.onContextMenu=function(Fe){var at=he.props.context.onNodeContextMenu;at(Fe,(0,E.F)(he.props))},he.onDragStart=function(Fe){var at=he.props.context.onNodeDragStart;Fe.stopPropagation(),he.setState({dragNodeHighlight:!0}),at(Fe,(0,se.Z)(he));try{Fe.dataTransfer.setData("text/plain","")}catch(lt){}},he.onDragEnter=function(Fe){var at=he.props.context.onNodeDragEnter;Fe.preventDefault(),Fe.stopPropagation(),at(Fe,(0,se.Z)(he))},he.onDragOver=function(Fe){var at=he.props.context.onNodeDragOver;Fe.preventDefault(),Fe.stopPropagation(),at(Fe,(0,se.Z)(he))},he.onDragLeave=function(Fe){var at=he.props.context.onNodeDragLeave;Fe.stopPropagation(),at(Fe,(0,se.Z)(he))},he.onDragEnd=function(Fe){var at=he.props.context.onNodeDragEnd;Fe.stopPropagation(),he.setState({dragNodeHighlight:!1}),at(Fe,(0,se.Z)(he))},he.onDrop=function(Fe){var at=he.props.context.onNodeDrop;Fe.preventDefault(),Fe.stopPropagation(),he.setState({dragNodeHighlight:!1}),at(Fe,(0,se.Z)(he))},he.onExpand=function(Fe){var at=he.props,lt=at.loading,ft=at.context.onNodeExpand;lt||ft(Fe,(0,E.F)(he.props))},he.setSelectHandle=function(Fe){he.selectHandle=Fe},he.getNodeState=function(){var Fe=he.props.expanded;return he.isLeaf()?null:Fe?te:re},he.hasChildren=function(){var Fe=he.props.eventKey,at=he.props.context.keyEntities,lt=(0,b.Z)(at,Fe)||{},ft=lt.children;return!!(ft||[]).length},he.isLeaf=function(){var Fe=he.props,at=Fe.isLeaf,lt=Fe.loaded,ft=he.props.context.loadData,ut=he.hasChildren();return at===!1?!1:at||!ft&&!ut||ft&&lt&&!ut},he.isDisabled=function(){var Fe=he.props.disabled,at=he.props.context.disabled;return!!(at||Fe)},he.isCheckable=function(){var Fe=he.props.checkable,at=he.props.context.checkable;return!at||Fe===!1?!1:at},he.syncLoadData=function(Fe){var at=Fe.expanded,lt=Fe.loading,ft=Fe.loaded,ut=he.props.context,St=ut.loadData,jt=ut.onNodeLoad;lt||St&&at&&!he.isLeaf()&&!he.hasChildren()&&!ft&&jt((0,E.F)(he.props))},he.isDraggable=function(){var Fe=he.props,at=Fe.data,lt=Fe.context.draggable;return!!(lt&&(!lt.nodeDraggable||lt.nodeDraggable(at)))},he.renderDragHandler=function(){var Fe=he.props.context,at=Fe.draggable,lt=Fe.prefixCls;return at!=null&&at.icon?_e.createElement("span",{className:"".concat(lt,"-draggable-icon")},at.icon):null},he.renderSwitcherIconDom=function(Fe){var at=he.props.switcherIcon,lt=he.props.context.switcherIcon,ft=at||lt;return typeof ft=="function"?ft((0,Re.Z)((0,Re.Z)({},he.props),{},{isLeaf:Fe})):ft},he.renderSwitcher=function(){var Fe=he.props.expanded,at=he.props.context.prefixCls;if(he.isLeaf()){var lt=he.renderSwitcherIconDom(!0);return lt!==!1?_e.createElement("span",{className:Ze()("".concat(at,"-switcher"),"".concat(at,"-switcher-noop"))},lt):null}var ft=Ze()("".concat(at,"-switcher"),"".concat(at,"-switcher_").concat(Fe?te:re)),ut=he.renderSwitcherIconDom(!1);return ut!==!1?_e.createElement("span",{onClick:he.onExpand,className:ft},ut):null},he.renderCheckbox=function(){var Fe=he.props,at=Fe.checked,lt=Fe.halfChecked,ft=Fe.disableCheckbox,ut=he.props.context.prefixCls,St=he.isDisabled(),jt=he.isCheckable();if(!jt)return null;var Vn=typeof jt!="boolean"?jt:null;return _e.createElement("span",{className:Ze()("".concat(ut,"-checkbox"),at&&"".concat(ut,"-checkbox-checked"),!at&&lt&&"".concat(ut,"-checkbox-indeterminate"),(St||ft)&&"".concat(ut,"-checkbox-disabled")),onClick:he.onCheck},Vn)},he.renderIcon=function(){var Fe=he.props.loading,at=he.props.context.prefixCls;return _e.createElement("span",{className:Ze()("".concat(at,"-iconEle"),"".concat(at,"-icon__").concat(he.getNodeState()||"docu"),Fe&&"".concat(at,"-icon_loading"))})},he.renderSelector=function(){var Fe=he.state.dragNodeHighlight,at=he.props,lt=at.title,ft=lt===void 0?oe:lt,ut=at.selected,St=at.icon,jt=at.loading,Vn=at.data,fa=he.props.context,mt=fa.prefixCls,ht=fa.showIcon,mn=fa.icon,oa=fa.loadData,Sn=fa.titleRender,Kn=he.isDisabled(),Ye="".concat(mt,"-node-content-wrapper"),_n;if(ht){var ca=St||mn;_n=ca?_e.createElement("span",{className:Ze()("".concat(mt,"-iconEle"),"".concat(mt,"-icon__customize"))},typeof ca=="function"?ca(he.props):ca):he.renderIcon()}else oa&&jt&&(_n=he.renderIcon());var ln;typeof ft=="function"?ln=ft(Vn):Sn?ln=Sn(Vn):ln=ft;var At=_e.createElement("span",{className:"".concat(mt,"-title")},ln);return _e.createElement("span",{ref:he.setSelectHandle,title:typeof ft=="string"?ft:"",className:Ze()("".concat(Ye),"".concat(Ye,"-").concat(he.getNodeState()||"normal"),!Kn&&(ut||Fe)&&"".concat(mt,"-node-selected")),onMouseEnter:he.onMouseEnter,onMouseLeave:he.onMouseLeave,onContextMenu:he.onContextMenu,onClick:he.onSelectorClick,onDoubleClick:he.onSelectorDoubleClick},_n,At,he.renderDropIndicator())},he.renderDropIndicator=function(){var Fe=he.props,at=Fe.disabled,lt=Fe.eventKey,ft=he.props.context,ut=ft.draggable,St=ft.dropLevelOffset,jt=ft.dropPosition,Vn=ft.prefixCls,fa=ft.indent,mt=ft.dropIndicatorRender,ht=ft.dragOverNodeKey,mn=ft.direction,oa=!!ut,Sn=!at&&oa&&ht===lt,Kn=fa!=null?fa:he.cacheIndent;return he.cacheIndent=fa,Sn?mt({dropPosition:jt,dropLevelOffset:St,indent:Kn,prefixCls:Vn,direction:mn}):null},he}return(0,Te.Z)(Oe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Ke=this.props.selectable,Ue=this.props.context.selectable;return typeof Ke=="boolean"?Ke:Ue}},{key:"render",value:function(){var Ke,Ue=this.props,$e=Ue.eventKey,Fe=Ue.className,at=Ue.style,lt=Ue.dragOver,ft=Ue.dragOverGapTop,ut=Ue.dragOverGapBottom,St=Ue.isLeaf,jt=Ue.isStart,Vn=Ue.isEnd,fa=Ue.expanded,mt=Ue.selected,ht=Ue.checked,mn=Ue.halfChecked,oa=Ue.loading,Sn=Ue.domRef,Kn=Ue.active,Ye=Ue.data,_n=Ue.onMouseMove,ca=Ue.selectable,ln=(0,Ce.Z)(Ue,ee),At=this.props.context,cn=At.prefixCls,We=At.filterTreeNode,Be=At.keyEntities,Je=At.dropContainerKey,vt=At.dropTargetKey,Vt=At.draggingNodeKey,dn=this.isDisabled(),ta=(0,de.Z)(ln,{aria:!0,data:!0}),vn=(0,b.Z)(Be,$e)||{},Nn=vn.level,ia=Vn[Vn.length-1],et=this.isDraggable(),Ot=!dn&&et,Pa=Vt===$e,An=ca!==void 0?{"aria-selected":!!ca}:void 0;return _e.createElement("div",(0,x.Z)({ref:Sn,className:Ze()(Fe,"".concat(cn,"-treenode"),(Ke={},(0,ie.Z)(Ke,"".concat(cn,"-treenode-disabled"),dn),(0,ie.Z)(Ke,"".concat(cn,"-treenode-switcher-").concat(fa?"open":"close"),!St),(0,ie.Z)(Ke,"".concat(cn,"-treenode-checkbox-checked"),ht),(0,ie.Z)(Ke,"".concat(cn,"-treenode-checkbox-indeterminate"),mn),(0,ie.Z)(Ke,"".concat(cn,"-treenode-selected"),mt),(0,ie.Z)(Ke,"".concat(cn,"-treenode-loading"),oa),(0,ie.Z)(Ke,"".concat(cn,"-treenode-active"),Kn),(0,ie.Z)(Ke,"".concat(cn,"-treenode-leaf-last"),ia),(0,ie.Z)(Ke,"".concat(cn,"-treenode-draggable"),et),(0,ie.Z)(Ke,"dragging",Pa),(0,ie.Z)(Ke,"drop-target",vt===$e),(0,ie.Z)(Ke,"drop-container",Je===$e),(0,ie.Z)(Ke,"drag-over",!dn&&lt),(0,ie.Z)(Ke,"drag-over-gap-top",!dn&&ft),(0,ie.Z)(Ke,"drag-over-gap-bottom",!dn&&ut),(0,ie.Z)(Ke,"filter-node",We&&We((0,E.F)(this.props))),Ke)),style:at,draggable:Ot,"aria-grabbed":Pa,onDragStart:Ot?this.onDragStart:void 0,onDragEnter:et?this.onDragEnter:void 0,onDragOver:et?this.onDragOver:void 0,onDragLeave:et?this.onDragLeave:void 0,onDrop:et?this.onDrop:void 0,onDragEnd:et?this.onDragEnd:void 0,onMouseMove:_n},An,ta),_e.createElement(a,{prefixCls:cn,level:Nn,isStart:jt,isEnd:Vn}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Oe}(_e.Component),pe=function(ke){return _e.createElement(ue.k.Consumer,null,function(Oe){return _e.createElement(ce,(0,x.Z)({},ke,{context:Oe}))})};pe.displayName="TreeNode",pe.isTreeNode=1;var Pe=pe},69610:function(Jt,zt,z){"use strict";z.d(zt,{k:function(){return ie}});var x=z(67294),ie=x.createContext(null)},29873:function(Jt,zt,z){"use strict";z.d(zt,{BT:function(){return a},E6:function(){return ee},L0:function(){return ze},OM:function(){return y},_5:function(){return Me},r7:function(){return te},wA:function(){return de},yx:function(){return Ze}});var x=z(74902),ie=z(71002),Ce=z(72978),Re=z(67294),ye=z(56261),Te=z(3596),se=z(83898),nt=null;function Me(re,oe){if(!re)return[];var ce=re.slice(),pe=ce.indexOf(oe);return pe>=0&&ce.splice(pe,1),ce}function ze(re,oe){var ce=(re||[]).slice();return ce.indexOf(oe)===-1&&ce.push(oe),ce}function Ze(re){return re.split("-")}function de(re,oe){var ce=[],pe=(0,Te.Z)(oe,re);function Pe(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];He.forEach(function(ke){var Oe=ke.key,he=ke.children;ce.push(Oe),Pe(he)})}return Pe(pe.children),ce}function _e(re){if(re.parent){var oe=Ze(re.pos);return Number(oe[oe.length-1])===re.parent.children.length-1}return!1}function ue(re){var oe=Ze(re.pos);return Number(oe[oe.length-1])===0}function y(re,oe,ce,pe,Pe,He,ke,Oe,he,Ke){var Ue,$e=re.clientX,Fe=re.clientY,at=re.target.getBoundingClientRect(),lt=at.top,ft=at.height,ut=(Ke==="rtl"?-1:1)*(((Pe==null?void 0:Pe.x)||0)-$e),St=(ut-12)/pe,jt=(0,Te.Z)(Oe,ce.props.eventKey);if(Fe<lt+ft/2){var Vn=ke.findIndex(function(At){return At.key===jt.key}),fa=Vn<=0?0:Vn-1,mt=ke[fa].key;jt=(0,Te.Z)(Oe,mt)}var ht=jt.key,mn=jt,oa=jt.key,Sn=0,Kn=0;if(!he.includes(ht))for(var Ye=0;Ye<St&&_e(jt);Ye+=1)jt=jt.parent,Kn+=1;var _n=oe.props.data,ca=jt.node,ln=!0;return ue(jt)&&jt.level===0&&Fe<lt+ft/2&&He({dragNode:_n,dropNode:ca,dropPosition:-1})&&jt.key===ce.props.eventKey?Sn=-1:(mn.children||[]).length&&he.includes(oa)?He({dragNode:_n,dropNode:ca,dropPosition:0})?Sn=0:ln=!1:Kn===0?St>-1.5?He({dragNode:_n,dropNode:ca,dropPosition:1})?Sn=1:ln=!1:He({dragNode:_n,dropNode:ca,dropPosition:0})?Sn=0:He({dragNode:_n,dropNode:ca,dropPosition:1})?Sn=1:ln=!1:He({dragNode:_n,dropNode:ca,dropPosition:1})?Sn=1:ln=!1,{dropPosition:Sn,dropLevelOffset:Kn,dropTargetKey:jt.key,dropTargetPos:jt.pos,dragOverNodeKey:oa,dropContainerKey:Sn===0?null:((Ue=jt.parent)===null||Ue===void 0?void 0:Ue.key)||null,dropAllowed:ln}}function a(re,oe){if(re){var ce=oe.multiple;return ce?re.slice():re.length?[re[0]]:re}}var b=function(oe){return oe};function E(re,oe){if(!re)return[];var ce=oe||{},pe=ce.processProps,Pe=pe===void 0?b:pe,He=Array.isArray(re)?re:[re];return He.map(function(ke){var Oe=ke.children,he=_objectWithoutProperties(ke,nt),Ke=E(Oe,oe);return React.createElement(TreeNode,_extends({key:he.key},Pe(he)),Ke)})}function ee(re){if(!re)return null;var oe;if(Array.isArray(re))oe={checkedKeys:re,halfCheckedKeys:void 0};else if((0,ie.Z)(re)==="object")oe={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,Ce.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return oe}function te(re,oe){var ce=new Set;function pe(Pe){if(!ce.has(Pe)){var He=(0,Te.Z)(oe,Pe);if(He){ce.add(Pe);var ke=He.parent,Oe=He.node;Oe.disabled||ke&&pe(ke.key)}}}return(re||[]).forEach(function(Pe){pe(Pe)}),(0,x.Z)(ce)}},97153:function(Jt,zt,z){"use strict";z.d(zt,{S:function(){return se}});var x=z(72978),ie=z(3596);function Ce(nt,Me){var ze=new Set;return nt.forEach(function(Ze){Me.has(Ze)||ze.add(Ze)}),ze}function Re(nt){var Me=nt||{},ze=Me.disabled,Ze=Me.disableCheckbox,de=Me.checkable;return!!(ze||Ze)||de===!1}function ye(nt,Me,ze,Ze){for(var de=new Set(nt),_e=new Set,ue=0;ue<=ze;ue+=1){var y=Me.get(ue)||new Set;y.forEach(function(ee){var te=ee.key,re=ee.node,oe=ee.children,ce=oe===void 0?[]:oe;de.has(te)&&!Ze(re)&&ce.filter(function(pe){return!Ze(pe.node)}).forEach(function(pe){de.add(pe.key)})})}for(var a=new Set,b=ze;b>=0;b-=1){var E=Me.get(b)||new Set;E.forEach(function(ee){var te=ee.parent,re=ee.node;if(!(Ze(re)||!ee.parent||a.has(ee.parent.key))){if(Ze(ee.parent.node)){a.add(te.key);return}var oe=!0,ce=!1;(te.children||[]).filter(function(pe){return!Ze(pe.node)}).forEach(function(pe){var Pe=pe.key,He=de.has(Pe);oe&&!He&&(oe=!1),!ce&&(He||_e.has(Pe))&&(ce=!0)}),oe&&de.add(te.key),ce&&_e.add(te.key),a.add(te.key)}})}return{checkedKeys:Array.from(de),halfCheckedKeys:Array.from(Ce(_e,de))}}function Te(nt,Me,ze,Ze,de){for(var _e=new Set(nt),ue=new Set(Me),y=0;y<=Ze;y+=1){var a=ze.get(y)||new Set;a.forEach(function(te){var re=te.key,oe=te.node,ce=te.children,pe=ce===void 0?[]:ce;!_e.has(re)&&!ue.has(re)&&!de(oe)&&pe.filter(function(Pe){return!de(Pe.node)}).forEach(function(Pe){_e.delete(Pe.key)})})}ue=new Set;for(var b=new Set,E=Ze;E>=0;E-=1){var ee=ze.get(E)||new Set;ee.forEach(function(te){var re=te.parent,oe=te.node;if(!(de(oe)||!te.parent||b.has(te.parent.key))){if(de(te.parent.node)){b.add(re.key);return}var ce=!0,pe=!1;(re.children||[]).filter(function(Pe){return!de(Pe.node)}).forEach(function(Pe){var He=Pe.key,ke=_e.has(He);ce&&!ke&&(ce=!1),!pe&&(ke||ue.has(He))&&(pe=!0)}),ce||_e.delete(re.key),pe&&ue.add(re.key),b.add(re.key)}})}return{checkedKeys:Array.from(_e),halfCheckedKeys:Array.from(Ce(ue,_e))}}function se(nt,Me,ze,Ze){var de=[],_e;Ze?_e=Ze:_e=Re;var ue=new Set(nt.filter(function(E){var ee=!!(0,ie.Z)(ze,E);return ee||de.push(E),ee})),y=new Map,a=0;Object.keys(ze).forEach(function(E){var ee=ze[E],te=ee.level,re=y.get(te);re||(re=new Set,y.set(te,re)),re.add(ee),a=Math.max(a,te)}),(0,x.ZP)(!de.length,"Tree missing follow keys: ".concat(de.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return Me===!0?b=ye(ue,y,a,_e):b=Te(ue,Me.halfCheckedKeys,y,a,_e),b}},3596:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return x}});function x(ie,Ce){return ie[Ce]}},83898:function(Jt,zt,z){"use strict";z.d(zt,{I8:function(){return te},F:function(){return oe},zn:function(){return b},w$:function(){return y},oH:function(){return E},km:function(){return ue},H8:function(){return re}});var x=z(71002),ie=z(74902),Ce=z(1413),Re=z(45987),ye=z(67294),Te=z(28580);function se(ce){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pe=[];return ye.Children.forEach(ce,function(He){He==null&&!pe.keepEmpty||(Array.isArray(He)?Pe=Pe.concat(se(He)):(0,Te.isFragment)(He)&&He.props?Pe=Pe.concat(se(He.props.children,pe)):Pe.push(He))}),Pe}function nt(ce,pe){var Pe=(0,Ce.Z)({},ce);return Array.isArray(pe)&&pe.forEach(function(He){delete Pe[He]}),Pe}var Me=z(72978),ze=z(3596),Ze=["children"];function de(ce,pe){return"".concat(ce,"-").concat(pe)}function _e(ce){return ce&&ce.type&&ce.type.isTreeNode}function ue(ce,pe){return ce!=null?ce:pe}function y(ce){var pe=ce||{},Pe=pe.title,He=pe._title,ke=pe.key,Oe=pe.children,he=Pe||"title";return{title:he,_title:He||[he],key:ke||"key",children:Oe||"children"}}function a(ce,pe){var Pe=new Map;function He(ke){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ke||[]).forEach(function(he){var Ke=he[pe.key],Ue=he[pe.children];warning(Ke!=null,"Tree node must have a certain key: [".concat(Oe).concat(Ke,"]"));var $e=String(Ke);warning(!Pe.has($e)||Ke===null||Ke===void 0,"Same 'key' exist in the Tree: ".concat($e)),Pe.set($e,!0),He(Ue,"".concat(Oe).concat($e," > "))})}He(ce)}function b(ce){function pe(Pe){var He=se(Pe);return He.map(function(ke){if(!_e(ke))return(0,Me.ZP)(!ke,"Tree/TreeNode can only accept TreeNode as children."),null;var Oe=ke.key,he=ke.props,Ke=he.children,Ue=(0,Re.Z)(he,Ze),$e=(0,Ce.Z)({key:Oe},Ue),Fe=pe(Ke);return Fe.length&&($e.children=Fe),$e}).filter(function(ke){return ke})}return pe(ce)}function E(ce,pe,Pe){var He=y(Pe),ke=He._title,Oe=He.key,he=He.children,Ke=new Set(pe===!0?[]:pe),Ue=[];function $e(Fe){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Fe.map(function(lt,ft){for(var ut=de(at?at.pos:"0",ft),St=ue(lt[Oe],ut),jt,Vn=0;Vn<ke.length;Vn+=1){var fa=ke[Vn];if(lt[fa]!==void 0){jt=lt[fa];break}}var mt=(0,Ce.Z)((0,Ce.Z)({},nt(lt,[].concat((0,ie.Z)(ke),[Oe,he]))),{},{title:jt,key:St,parent:at,pos:ut,children:null,data:lt,isStart:[].concat((0,ie.Z)(at?at.isStart:[]),[ft===0]),isEnd:[].concat((0,ie.Z)(at?at.isEnd:[]),[ft===Fe.length-1])});return Ue.push(mt),pe===!0||Ke.has(St)?mt.children=$e(lt[he]||[],mt):mt.children=[],mt})}return $e(ce),Ue}function ee(ce,pe,Pe){var He={};(0,x.Z)(Pe)==="object"?He=Pe:He={externalGetKey:Pe},He=He||{};var ke=He,Oe=ke.childrenPropName,he=ke.externalGetKey,Ke=ke.fieldNames,Ue=y(Ke),$e=Ue.key,Fe=Ue.children,at=Oe||Fe,lt;he?typeof he=="string"?lt=function(St){return St[he]}:typeof he=="function"&&(lt=function(St){return he(St)}):lt=function(St,jt){return ue(St[$e],jt)};function ft(ut,St,jt,Vn){var fa=ut?ut[at]:ce,mt=ut?de(jt.pos,St):"0",ht=ut?[].concat((0,ie.Z)(Vn),[ut]):[];if(ut){var mn=lt(ut,mt),oa={node:ut,index:St,pos:mt,key:mn,parentPos:jt.node?jt.pos:null,level:jt.level+1,nodes:ht};pe(oa)}fa&&fa.forEach(function(Sn,Kn){ft(Sn,Kn,{node:ut,pos:mt,level:jt?jt.level+1:-1},ht)})}ft(null)}function te(ce){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pe=pe.initWrapper,He=pe.processEntity,ke=pe.onProcessFinished,Oe=pe.externalGetKey,he=pe.childrenPropName,Ke=pe.fieldNames,Ue=arguments.length>2?arguments[2]:void 0,$e=Oe||Ue,Fe={},at={},lt={posEntities:Fe,keyEntities:at};return Pe&&(lt=Pe(lt)||lt),ee(ce,function(ft){var ut=ft.node,St=ft.index,jt=ft.pos,Vn=ft.key,fa=ft.parentPos,mt=ft.level,ht=ft.nodes,mn={node:ut,nodes:ht,index:St,key:Vn,pos:jt,level:mt},oa=ue(Vn,jt);Fe[jt]=mn,at[oa]=mn,mn.parent=Fe[fa],mn.parent&&(mn.parent.children=mn.parent.children||[],mn.parent.children.push(mn)),He&&He(mn,lt)},{externalGetKey:$e,childrenPropName:he,fieldNames:Ke}),ke&&ke(lt),lt}function re(ce,pe){var Pe=pe.expandedKeys,He=pe.selectedKeys,ke=pe.loadedKeys,Oe=pe.loadingKeys,he=pe.checkedKeys,Ke=pe.halfCheckedKeys,Ue=pe.dragOverNodeKey,$e=pe.dropPosition,Fe=pe.keyEntities,at=(0,ze.Z)(Fe,ce),lt={eventKey:ce,expanded:Pe.indexOf(ce)!==-1,selected:He.indexOf(ce)!==-1,loaded:ke.indexOf(ce)!==-1,loading:Oe.indexOf(ce)!==-1,checked:he.indexOf(ce)!==-1,halfChecked:Ke.indexOf(ce)!==-1,pos:String(at?at.pos:""),dragOver:Ue===ce&&$e===0,dragOverGapTop:Ue===ce&&$e===-1,dragOverGapBottom:Ue===ce&&$e===1};return lt}function oe(ce){var pe=ce.data,Pe=ce.expanded,He=ce.selected,ke=ce.checked,Oe=ce.loaded,he=ce.loading,Ke=ce.halfChecked,Ue=ce.dragOver,$e=ce.dragOverGapTop,Fe=ce.dragOverGapBottom,at=ce.pos,lt=ce.active,ft=ce.eventKey,ut=(0,Ce.Z)((0,Ce.Z)({},pe),{},{expanded:Pe,selected:He,checked:ke,loaded:Oe,loading:he,halfChecked:Ke,dragOver:Ue,dragOverGapTop:$e,dragOverGapBottom:Fe,pos:at,active:lt,key:ft});return"props"in ut||Object.defineProperty(ut,"props",{get:function(){return(0,Me.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ce}}),ut}},34952:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return nt}});var x=z(1413),ie=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Ce=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Re="".concat(ie," ").concat(Ce).split(/[\s\n]+/),ye="aria-",Te="data-";function se(Me,ze){return Me.indexOf(ze)===0}function nt(Me){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ze;ze===!1?Ze={aria:!0,data:!0,attr:!0}:ze===!0?Ze={aria:!0}:Ze=(0,x.Z)({},ze);var de={};return Object.keys(Me).forEach(function(_e){(Ze.aria&&(_e==="role"||se(_e,ye))||Ze.data&&se(_e,Te)||Ze.attr&&Re.includes(_e))&&(de[_e]=Me[_e])}),de}},72978:function(Jt,zt,z){"use strict";var x={};function ie(nt,Me){}function Ce(nt,Me){}function Re(){x={}}function ye(nt,Me,ze){!Me&&!x[ze]&&(nt(!1,ze),x[ze]=!0)}function Te(nt,Me){ye(ie,nt,Me)}function se(nt,Me){ye(Ce,nt,Me)}zt.ZP=Te},81533:function(Jt,zt){"use strict";var z;var x=typeof Symbol=="function"&&Symbol.for,ie=x?Symbol.for("react.element"):60103,Ce=x?Symbol.for("react.portal"):60106,Re=x?Symbol.for("react.fragment"):60107,ye=x?Symbol.for("react.strict_mode"):60108,Te=x?Symbol.for("react.profiler"):60114,se=x?Symbol.for("react.provider"):60109,nt=x?Symbol.for("react.context"):60110,Me=x?Symbol.for("react.async_mode"):60111,ze=x?Symbol.for("react.concurrent_mode"):60111,Ze=x?Symbol.for("react.forward_ref"):60112,de=x?Symbol.for("react.suspense"):60113,_e=x?Symbol.for("react.suspense_list"):60120,ue=x?Symbol.for("react.memo"):60115,y=x?Symbol.for("react.lazy"):60116,a=x?Symbol.for("react.block"):60121,b=x?Symbol.for("react.fundamental"):60117,E=x?Symbol.for("react.responder"):60118,ee=x?Symbol.for("react.scope"):60119;function te(oe){if(typeof oe=="object"&&oe!==null){var ce=oe.$$typeof;switch(ce){case ie:switch(oe=oe.type,oe){case Me:case ze:case Re:case Te:case ye:case de:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case nt:case Ze:case y:case ue:case se:return oe;default:return ce}}case Ce:return ce}}}function re(oe){return te(oe)===ze}z=Me,z=ze,z=nt,z=se,z=ie,z=Ze,z=Re,z=y,z=ue,z=Ce,z=Te,z=ye,z=de,z=function(oe){return re(oe)||te(oe)===Me},z=re,z=function(oe){return te(oe)===nt},z=function(oe){return te(oe)===se},z=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===ie},z=function(oe){return te(oe)===Ze},zt.isFragment=function(oe){return te(oe)===Re},z=function(oe){return te(oe)===y},zt.isMemo=function(oe){return te(oe)===ue},z=function(oe){return te(oe)===Ce},z=function(oe){return te(oe)===Te},z=function(oe){return te(oe)===ye},z=function(oe){return te(oe)===de},z=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===Re||oe===ze||oe===Te||oe===ye||oe===de||oe===_e||typeof oe=="object"&&oe!==null&&(oe.$$typeof===y||oe.$$typeof===ue||oe.$$typeof===se||oe.$$typeof===nt||oe.$$typeof===Ze||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===ee||oe.$$typeof===a)},z=te},28580:function(Jt,zt,z){"use strict";Jt.exports=z(81533)},92389:function(Jt,zt){"use strict";var z={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(ie){var Ce=ie.keyCode;if(ie.altKey&&!ie.ctrlKey||ie.metaKey||Ce>=z.F1&&Ce<=z.F12)return!1;switch(Ce){case z.ALT:case z.CAPS_LOCK:case z.CONTEXT_MENU:case z.CTRL:case z.DOWN:case z.END:case z.ESC:case z.HOME:case z.INSERT:case z.LEFT:case z.MAC_FF_META:case z.META:case z.NUMLOCK:case z.NUM_CENTER:case z.PAGE_DOWN:case z.PAGE_UP:case z.PAUSE:case z.PRINT_SCREEN:case z.RIGHT:case z.SHIFT:case z.UP:case z.WIN_KEY:case z.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(ie){if(ie>=z.ZERO&&ie<=z.NINE||ie>=z.NUM_ZERO&&ie<=z.NUM_MULTIPLY||ie>=z.A&&ie<=z.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ie===0)return!0;switch(ie){case z.SPACE:case z.QUESTION_MARK:case z.NUM_PLUS:case z.NUM_MINUS:case z.NUM_PERIOD:case z.NUM_DIVISION:case z.SEMICOLON:case z.DASH:case z.EQUALS:case z.COMMA:case z.PERIOD:case z.SLASH:case z.APOSTROPHE:case z.SINGLE_QUOTE:case z.OPEN_SQUARE_BRACKET:case z.BACKSLASH:case z.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};zt.Z=z},19575:function(Jt,zt,z){var x,ie;(function(Ce,Re){Jt.exports=Re(Ce)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof z.g!="undefined"?z.g:this,function(Ce){"use strict";Ce=Ce||{};var Re=Ce.Base64,ye="2.6.4",Te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",se=function(Ue){for(var $e={},Fe=0,at=Ue.length;Fe<at;Fe++)$e[Ue.charAt(Fe)]=Fe;return $e}(Te),nt=String.fromCharCode,Me=function(Ue){if(Ue.length<2){var $e=Ue.charCodeAt(0);return $e<128?Ue:$e<2048?nt(192|$e>>>6)+nt(128|$e&63):nt(224|$e>>>12&15)+nt(128|$e>>>6&63)+nt(128|$e&63)}else{var $e=65536+(Ue.charCodeAt(0)-55296)*1024+(Ue.charCodeAt(1)-56320);return nt(240|$e>>>18&7)+nt(128|$e>>>12&63)+nt(128|$e>>>6&63)+nt(128|$e&63)}},ze=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ze=function(Ue){return Ue.replace(ze,Me)},de=function(Ue){var $e=[0,2,1][Ue.length%3],Fe=Ue.charCodeAt(0)<<16|(Ue.length>1?Ue.charCodeAt(1):0)<<8|(Ue.length>2?Ue.charCodeAt(2):0),at=[Te.charAt(Fe>>>18),Te.charAt(Fe>>>12&63),$e>=2?"=":Te.charAt(Fe>>>6&63),$e>=1?"=":Te.charAt(Fe&63)];return at.join("")},_e=Ce.btoa&&typeof Ce.btoa=="function"?function(Ue){return Ce.btoa(Ue)}:function(Ue){if(Ue.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ue.replace(/[\s\S]{1,3}/g,de)},ue=function(Ue){return _e(Ze(String(Ue)))},y=function(Ue){return Ue.replace(/[+\/]/g,function($e){return $e=="+"?"-":"_"}).replace(/=/g,"")},a=function(Ue,$e){return $e?y(ue(Ue)):ue(Ue)},b=function(Ue){return a(Ue,!0)},E;Ce.Uint8Array&&(E=function(Ue,$e){for(var Fe="",at=0,lt=Ue.length;at<lt;at+=3){var ft=Ue[at],ut=Ue[at+1],St=Ue[at+2],jt=ft<<16|ut<<8|St;Fe+=Te.charAt(jt>>>18)+Te.charAt(jt>>>12&63)+(typeof ut!="undefined"?Te.charAt(jt>>>6&63):"=")+(typeof St!="undefined"?Te.charAt(jt&63):"=")}return $e?y(Fe):Fe});var ee=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(Ue){switch(Ue.length){case 4:var $e=(7&Ue.charCodeAt(0))<<18|(63&Ue.charCodeAt(1))<<12|(63&Ue.charCodeAt(2))<<6|63&Ue.charCodeAt(3),Fe=$e-65536;return nt((Fe>>>10)+55296)+nt((Fe&1023)+56320);case 3:return nt((15&Ue.charCodeAt(0))<<12|(63&Ue.charCodeAt(1))<<6|63&Ue.charCodeAt(2));default:return nt((31&Ue.charCodeAt(0))<<6|63&Ue.charCodeAt(1))}},re=function(Ue){return Ue.replace(ee,te)},oe=function(Ue){var $e=Ue.length,Fe=$e%4,at=($e>0?se[Ue.charAt(0)]<<18:0)|($e>1?se[Ue.charAt(1)]<<12:0)|($e>2?se[Ue.charAt(2)]<<6:0)|($e>3?se[Ue.charAt(3)]:0),lt=[nt(at>>>16),nt(at>>>8&255),nt(at&255)];return lt.length-=[0,0,2,1][Fe],lt.join("")},ce=Ce.atob&&typeof Ce.atob=="function"?function(Ue){return Ce.atob(Ue)}:function(Ue){return Ue.replace(/\S{1,4}/g,oe)},pe=function(Ue){return ce(String(Ue).replace(/[^A-Za-z0-9\+\/]/g,""))},Pe=function(Ue){return re(ce(Ue))},He=function(Ue){return String(Ue).replace(/[-_]/g,function($e){return $e=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ke=function(Ue){return Pe(He(Ue))},Oe;Ce.Uint8Array&&(Oe=function(Ue){return Uint8Array.from(pe(He(Ue)),function($e){return $e.charCodeAt(0)})});var he=function(){var Ue=Ce.Base64;return Ce.Base64=Re,Ue};if(Ce.Base64={VERSION:ye,atob:pe,btoa:_e,fromBase64:ke,toBase64:a,utob:Ze,encode:a,encodeURI:b,btou:re,decode:ke,noConflict:he,fromUint8Array:E,toUint8Array:Oe},typeof Object.defineProperty=="function"){var Ke=function(Ue){return{value:Ue,enumerable:!1,writable:!0,configurable:!0}};Ce.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ke(function(){return ke(this)})),Object.defineProperty(String.prototype,"toBase64",Ke(function(Ue){return a(this,Ue)})),Object.defineProperty(String.prototype,"toBase64URI",Ke(function(){return a(this,!0)}))}}return Ce.Meteor&&(Base64=Ce.Base64),Jt.exports?Jt.exports.Base64=Ce.Base64:(x=[],ie=function(){return Ce.Base64}.apply(zt,x),ie!==void 0&&(Jt.exports=ie)),{Base64:Ce.Base64}})},42767:function(Jt,zt){"use strict";var z;var x=typeof Symbol=="function"&&Symbol.for,ie=x?Symbol.for("react.element"):60103,Ce=x?Symbol.for("react.portal"):60106,Re=x?Symbol.for("react.fragment"):60107,ye=x?Symbol.for("react.strict_mode"):60108,Te=x?Symbol.for("react.profiler"):60114,se=x?Symbol.for("react.provider"):60109,nt=x?Symbol.for("react.context"):60110,Me=x?Symbol.for("react.async_mode"):60111,ze=x?Symbol.for("react.concurrent_mode"):60111,Ze=x?Symbol.for("react.forward_ref"):60112,de=x?Symbol.for("react.suspense"):60113,_e=x?Symbol.for("react.suspense_list"):60120,ue=x?Symbol.for("react.memo"):60115,y=x?Symbol.for("react.lazy"):60116,a=x?Symbol.for("react.block"):60121,b=x?Symbol.for("react.fundamental"):60117,E=x?Symbol.for("react.responder"):60118,ee=x?Symbol.for("react.scope"):60119;function te(oe){if(typeof oe=="object"&&oe!==null){var ce=oe.$$typeof;switch(ce){case ie:switch(oe=oe.type,oe){case Me:case ze:case Re:case Te:case ye:case de:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case nt:case Ze:case y:case ue:case se:return oe;default:return ce}}case Ce:return ce}}}function re(oe){return te(oe)===ze}z=Me,z=ze,z=nt,z=se,z=ie,z=Ze,z=Re,z=y,z=ue,z=Ce,z=Te,z=ye,z=de,z=function(oe){return re(oe)||te(oe)===Me},z=re,z=function(oe){return te(oe)===nt},z=function(oe){return te(oe)===se},z=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===ie},z=function(oe){return te(oe)===Ze},zt.isFragment=function(oe){return te(oe)===Re},z=function(oe){return te(oe)===y},z=function(oe){return te(oe)===ue},z=function(oe){return te(oe)===Ce},z=function(oe){return te(oe)===Te},z=function(oe){return te(oe)===ye},z=function(oe){return te(oe)===de},z=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===Re||oe===ze||oe===Te||oe===ye||oe===de||oe===_e||typeof oe=="object"&&oe!==null&&(oe.$$typeof===y||oe.$$typeof===ue||oe.$$typeof===se||oe.$$typeof===nt||oe.$$typeof===Ze||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===ee||oe.$$typeof===a)},z=te},16357:function(Jt,zt,z){"use strict";Jt.exports=z(42767)},26819:function(Jt,zt){"use strict";var z;var x=typeof Symbol=="function"&&Symbol.for,ie=x?Symbol.for("react.element"):60103,Ce=x?Symbol.for("react.portal"):60106,Re=x?Symbol.for("react.fragment"):60107,ye=x?Symbol.for("react.strict_mode"):60108,Te=x?Symbol.for("react.profiler"):60114,se=x?Symbol.for("react.provider"):60109,nt=x?Symbol.for("react.context"):60110,Me=x?Symbol.for("react.async_mode"):60111,ze=x?Symbol.for("react.concurrent_mode"):60111,Ze=x?Symbol.for("react.forward_ref"):60112,de=x?Symbol.for("react.suspense"):60113,_e=x?Symbol.for("react.suspense_list"):60120,ue=x?Symbol.for("react.memo"):60115,y=x?Symbol.for("react.lazy"):60116,a=x?Symbol.for("react.block"):60121,b=x?Symbol.for("react.fundamental"):60117,E=x?Symbol.for("react.responder"):60118,ee=x?Symbol.for("react.scope"):60119;function te(oe){if(typeof oe=="object"&&oe!==null){var ce=oe.$$typeof;switch(ce){case ie:switch(oe=oe.type,oe){case Me:case ze:case Re:case Te:case ye:case de:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case nt:case Ze:case y:case ue:case se:return oe;default:return ce}}case Ce:return ce}}}function re(oe){return te(oe)===ze}z=Me,z=ze,z=nt,z=se,z=ie,z=Ze,z=Re,z=y,z=ue,z=Ce,z=Te,z=ye,z=de,z=function(oe){return re(oe)||te(oe)===Me},z=re,z=function(oe){return te(oe)===nt},z=function(oe){return te(oe)===se},z=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===ie},z=function(oe){return te(oe)===Ze},z=function(oe){return te(oe)===Re},z=function(oe){return te(oe)===y},zt.isMemo=function(oe){return te(oe)===ue},z=function(oe){return te(oe)===Ce},z=function(oe){return te(oe)===Te},z=function(oe){return te(oe)===ye},z=function(oe){return te(oe)===de},z=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===Re||oe===ze||oe===Te||oe===ye||oe===de||oe===_e||typeof oe=="object"&&oe!==null&&(oe.$$typeof===y||oe.$$typeof===ue||oe.$$typeof===se||oe.$$typeof===nt||oe.$$typeof===Ze||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===ee||oe.$$typeof===a)},z=te},18459:function(Jt,zt,z){"use strict";Jt.exports=z(26819)},16651:function(Jt,zt){"use strict";var z;var x=Symbol.for("react.element"),ie=Symbol.for("react.portal"),Ce=Symbol.for("react.fragment"),Re=Symbol.for("react.strict_mode"),ye=Symbol.for("react.profiler"),Te=Symbol.for("react.provider"),se=Symbol.for("react.context"),nt=Symbol.for("react.server_context"),Me=Symbol.for("react.forward_ref"),ze=Symbol.for("react.suspense"),Ze=Symbol.for("react.suspense_list"),de=Symbol.for("react.memo"),_e=Symbol.for("react.lazy"),ue=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function a(b){if(typeof b=="object"&&b!==null){var E=b.$$typeof;switch(E){case x:switch(b=b.type,b){case Ce:case ye:case Re:case ze:case Ze:return b;default:switch(b=b&&b.$$typeof,b){case nt:case se:case Me:case _e:case de:case Te:return b;default:return E}}case ie:return E}}}z=se,z=Te,z=x,z=Me,z=Ce,z=_e,z=de,z=ie,z=ye,z=Re,z=ze,z=Ze,z=function(){return!1},z=function(){return!1},z=function(b){return a(b)===se},z=function(b){return a(b)===Te},z=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===x},z=function(b){return a(b)===Me},z=function(b){return a(b)===Ce},z=function(b){return a(b)===_e},z=function(b){return a(b)===de},z=function(b){return a(b)===ie},z=function(b){return a(b)===ye},z=function(b){return a(b)===Re},z=function(b){return a(b)===ze},z=function(b){return a(b)===Ze},z=function(b){return typeof b=="string"||typeof b=="function"||b===Ce||b===ye||b===Re||b===ze||b===Ze||b===ue||typeof b=="object"&&b!==null&&(b.$$typeof===_e||b.$$typeof===de||b.$$typeof===Te||b.$$typeof===se||b.$$typeof===Me||b.$$typeof===y||b.getModuleId!==void 0)},z=a},33993:function(Jt,zt,z){"use strict";z(16651)},46762:function(Jt,zt){"use strict";var z;var x=Symbol.for("react.element"),ie=Symbol.for("react.portal"),Ce=Symbol.for("react.fragment"),Re=Symbol.for("react.strict_mode"),ye=Symbol.for("react.profiler"),Te=Symbol.for("react.provider"),se=Symbol.for("react.context"),nt=Symbol.for("react.server_context"),Me=Symbol.for("react.forward_ref"),ze=Symbol.for("react.suspense"),Ze=Symbol.for("react.suspense_list"),de=Symbol.for("react.memo"),_e=Symbol.for("react.lazy"),ue=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function a(b){if(typeof b=="object"&&b!==null){var E=b.$$typeof;switch(E){case x:switch(b=b.type,b){case Ce:case ye:case Re:case ze:case Ze:return b;default:switch(b=b&&b.$$typeof,b){case nt:case se:case Me:case _e:case de:case Te:return b;default:return E}}case ie:return E}}}z=se,z=Te,z=x,z=Me,z=Ce,z=_e,z=de,z=ie,z=ye,z=Re,z=ze,z=Ze,z=function(){return!1},z=function(){return!1},z=function(b){return a(b)===se},z=function(b){return a(b)===Te},z=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===x},z=function(b){return a(b)===Me},zt.isFragment=function(b){return a(b)===Ce},z=function(b){return a(b)===_e},z=function(b){return a(b)===de},z=function(b){return a(b)===ie},z=function(b){return a(b)===ye},z=function(b){return a(b)===Re},z=function(b){return a(b)===ze},z=function(b){return a(b)===Ze},z=function(b){return typeof b=="string"||typeof b=="function"||b===Ce||b===ye||b===Re||b===ze||b===Ze||b===ue||typeof b=="object"&&b!==null&&(b.$$typeof===_e||b.$$typeof===de||b.$$typeof===Te||b.$$typeof===se||b.$$typeof===Me||b.$$typeof===y||b.getModuleId!==void 0)},z=a},35110:function(Jt,zt,z){"use strict";Jt.exports=z(46762)},86128:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return pe}});var x=z(87462),ie=z(4942),Ce=z(45987),Re=z(1413),ye=z(15671),Te=z(43144),se=z(97326),nt=z(60136),Me=z(51630),ze=z(67294),Ze=z(94184),de=z.n(Ze),_e=z(64217),ue=z(27822),y=function(He){for(var ke=He.prefixCls,Oe=He.level,he=He.isStart,Ke=He.isEnd,Ue="".concat(ke,"-indent-unit"),$e=[],Fe=0;Fe<Oe;Fe+=1){var at;$e.push(ze.createElement("span",{key:Fe,className:de()(Ue,(at={},(0,ie.Z)(at,"".concat(Ue,"-start"),he[Fe]),(0,ie.Z)(at,"".concat(Ue,"-end"),Ke[Fe]),at))}))}return ze.createElement("span",{"aria-hidden":"true",className:"".concat(ke,"-indent")},$e)},a=ze.memo(y),b=z(1089),E=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ee="open",te="close",re="---",oe=function(Pe){(0,nt.Z)(ke,Pe);var He=(0,Me.Z)(ke);function ke(){var Oe;(0,ye.Z)(this,ke);for(var he=arguments.length,Ke=new Array(he),Ue=0;Ue<he;Ue++)Ke[Ue]=arguments[Ue];return Oe=He.call.apply(He,[this].concat(Ke)),Oe.state={dragNodeHighlight:!1},Oe.selectHandle=void 0,Oe.onSelectorClick=function($e){var Fe=Oe.props.context.onNodeClick;Fe($e,(0,b.F)(Oe.props)),Oe.isSelectable()?Oe.onSelect($e):Oe.onCheck($e)},Oe.onSelectorDoubleClick=function($e){var Fe=Oe.props.context.onNodeDoubleClick;Fe($e,(0,b.F)(Oe.props))},Oe.onSelect=function($e){if(!Oe.isDisabled()){var Fe=Oe.props.context.onNodeSelect;$e.preventDefault(),Fe($e,(0,b.F)(Oe.props))}},Oe.onCheck=function($e){if(!Oe.isDisabled()){var Fe=Oe.props,at=Fe.disableCheckbox,lt=Fe.checked,ft=Oe.props.context.onNodeCheck;if(!(!Oe.isCheckable()||at)){$e.preventDefault();var ut=!lt;ft($e,(0,b.F)(Oe.props),ut)}}},Oe.onMouseEnter=function($e){var Fe=Oe.props.context.onNodeMouseEnter;Fe($e,(0,b.F)(Oe.props))},Oe.onMouseLeave=function($e){var Fe=Oe.props.context.onNodeMouseLeave;Fe($e,(0,b.F)(Oe.props))},Oe.onContextMenu=function($e){var Fe=Oe.props.context.onNodeContextMenu;Fe($e,(0,b.F)(Oe.props))},Oe.onDragStart=function($e){var Fe=Oe.props.context.onNodeDragStart;$e.stopPropagation(),Oe.setState({dragNodeHighlight:!0}),Fe($e,(0,se.Z)(Oe));try{$e.dataTransfer.setData("text/plain","")}catch(at){}},Oe.onDragEnter=function($e){var Fe=Oe.props.context.onNodeDragEnter;$e.preventDefault(),$e.stopPropagation(),Fe($e,(0,se.Z)(Oe))},Oe.onDragOver=function($e){var Fe=Oe.props.context.onNodeDragOver;$e.preventDefault(),$e.stopPropagation(),Fe($e,(0,se.Z)(Oe))},Oe.onDragLeave=function($e){var Fe=Oe.props.context.onNodeDragLeave;$e.stopPropagation(),Fe($e,(0,se.Z)(Oe))},Oe.onDragEnd=function($e){var Fe=Oe.props.context.onNodeDragEnd;$e.stopPropagation(),Oe.setState({dragNodeHighlight:!1}),Fe($e,(0,se.Z)(Oe))},Oe.onDrop=function($e){var Fe=Oe.props.context.onNodeDrop;$e.preventDefault(),$e.stopPropagation(),Oe.setState({dragNodeHighlight:!1}),Fe($e,(0,se.Z)(Oe))},Oe.onExpand=function($e){var Fe=Oe.props,at=Fe.loading,lt=Fe.context.onNodeExpand;at||lt($e,(0,b.F)(Oe.props))},Oe.setSelectHandle=function($e){Oe.selectHandle=$e},Oe.getNodeState=function(){var $e=Oe.props.expanded;return Oe.isLeaf()?null:$e?ee:te},Oe.hasChildren=function(){var $e=Oe.props.eventKey,Fe=Oe.props.context.keyEntities,at=Fe[$e]||{},lt=at.children;return!!(lt||[]).length},Oe.isLeaf=function(){var $e=Oe.props,Fe=$e.isLeaf,at=$e.loaded,lt=Oe.props.context.loadData,ft=Oe.hasChildren();return Fe===!1?!1:Fe||!lt&&!ft||lt&&at&&!ft},Oe.isDisabled=function(){var $e=Oe.props.disabled,Fe=Oe.props.context.disabled;return!!(Fe||$e)},Oe.isCheckable=function(){var $e=Oe.props.checkable,Fe=Oe.props.context.checkable;return!Fe||$e===!1?!1:Fe},Oe.syncLoadData=function($e){var Fe=$e.expanded,at=$e.loading,lt=$e.loaded,ft=Oe.props.context,ut=ft.loadData,St=ft.onNodeLoad;at||ut&&Fe&&!Oe.isLeaf()&&!Oe.hasChildren()&&!lt&&St((0,b.F)(Oe.props))},Oe.isDraggable=function(){var $e=Oe.props,Fe=$e.data,at=$e.context.draggable;return!!(at&&(!at.nodeDraggable||at.nodeDraggable(Fe)))},Oe.renderDragHandler=function(){var $e=Oe.props.context,Fe=$e.draggable,at=$e.prefixCls;return Fe!=null&&Fe.icon?ze.createElement("span",{className:"".concat(at,"-draggable-icon")},Fe.icon):null},Oe.renderSwitcherIconDom=function($e){var Fe=Oe.props.switcherIcon,at=Oe.props.context.switcherIcon,lt=Fe||at;return typeof lt=="function"?lt((0,Re.Z)((0,Re.Z)({},Oe.props),{},{isLeaf:$e})):lt},Oe.renderSwitcher=function(){var $e=Oe.props.expanded,Fe=Oe.props.context.prefixCls;if(Oe.isLeaf()){var at=Oe.renderSwitcherIconDom(!0);return at!==!1?ze.createElement("span",{className:de()("".concat(Fe,"-switcher"),"".concat(Fe,"-switcher-noop"))},at):null}var lt=de()("".concat(Fe,"-switcher"),"".concat(Fe,"-switcher_").concat($e?ee:te)),ft=Oe.renderSwitcherIconDom(!1);return ft!==!1?ze.createElement("span",{onClick:Oe.onExpand,className:lt},ft):null},Oe.renderCheckbox=function(){var $e=Oe.props,Fe=$e.checked,at=$e.halfChecked,lt=$e.disableCheckbox,ft=Oe.props.context.prefixCls,ut=Oe.isDisabled(),St=Oe.isCheckable();if(!St)return null;var jt=typeof St!="boolean"?St:null;return ze.createElement("span",{className:de()("".concat(ft,"-checkbox"),Fe&&"".concat(ft,"-checkbox-checked"),!Fe&&at&&"".concat(ft,"-checkbox-indeterminate"),(ut||lt)&&"".concat(ft,"-checkbox-disabled")),onClick:Oe.onCheck},jt)},Oe.renderIcon=function(){var $e=Oe.props.loading,Fe=Oe.props.context.prefixCls;return ze.createElement("span",{className:de()("".concat(Fe,"-iconEle"),"".concat(Fe,"-icon__").concat(Oe.getNodeState()||"docu"),$e&&"".concat(Fe,"-icon_loading"))})},Oe.renderSelector=function(){var $e=Oe.state.dragNodeHighlight,Fe=Oe.props,at=Fe.title,lt=at===void 0?re:at,ft=Fe.selected,ut=Fe.icon,St=Fe.loading,jt=Fe.data,Vn=Oe.props.context,fa=Vn.prefixCls,mt=Vn.showIcon,ht=Vn.icon,mn=Vn.loadData,oa=Vn.titleRender,Sn=Oe.isDisabled(),Kn="".concat(fa,"-node-content-wrapper"),Ye;if(mt){var _n=ut||ht;Ye=_n?ze.createElement("span",{className:de()("".concat(fa,"-iconEle"),"".concat(fa,"-icon__customize"))},typeof _n=="function"?_n(Oe.props):_n):Oe.renderIcon()}else mn&&St&&(Ye=Oe.renderIcon());var ca;typeof lt=="function"?ca=lt(jt):oa?ca=oa(jt):ca=lt;var ln=ze.createElement("span",{className:"".concat(fa,"-title")},ca);return ze.createElement("span",{ref:Oe.setSelectHandle,title:typeof lt=="string"?lt:"",className:de()("".concat(Kn),"".concat(Kn,"-").concat(Oe.getNodeState()||"normal"),!Sn&&(ft||$e)&&"".concat(fa,"-node-selected")),onMouseEnter:Oe.onMouseEnter,onMouseLeave:Oe.onMouseLeave,onContextMenu:Oe.onContextMenu,onClick:Oe.onSelectorClick,onDoubleClick:Oe.onSelectorDoubleClick},Ye,ln,Oe.renderDropIndicator())},Oe.renderDropIndicator=function(){var $e=Oe.props,Fe=$e.disabled,at=$e.eventKey,lt=Oe.props.context,ft=lt.draggable,ut=lt.dropLevelOffset,St=lt.dropPosition,jt=lt.prefixCls,Vn=lt.indent,fa=lt.dropIndicatorRender,mt=lt.dragOverNodeKey,ht=lt.direction,mn=!!ft,oa=!Fe&&mn&&mt===at;return oa?fa({dropPosition:St,dropLevelOffset:ut,indent:Vn,prefixCls:jt,direction:ht}):null},Oe}return(0,Te.Z)(ke,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var he=this.props.selectable,Ke=this.props.context.selectable;return typeof he=="boolean"?he:Ke}},{key:"render",value:function(){var he,Ke=this.props,Ue=Ke.eventKey,$e=Ke.className,Fe=Ke.style,at=Ke.dragOver,lt=Ke.dragOverGapTop,ft=Ke.dragOverGapBottom,ut=Ke.isLeaf,St=Ke.isStart,jt=Ke.isEnd,Vn=Ke.expanded,fa=Ke.selected,mt=Ke.checked,ht=Ke.halfChecked,mn=Ke.loading,oa=Ke.domRef,Sn=Ke.active,Kn=Ke.data,Ye=Ke.onMouseMove,_n=Ke.selectable,ca=(0,Ce.Z)(Ke,E),ln=this.props.context,At=ln.prefixCls,cn=ln.filterTreeNode,We=ln.keyEntities,Be=ln.dropContainerKey,Je=ln.dropTargetKey,vt=ln.draggingNodeKey,Vt=this.isDisabled(),dn=(0,_e.Z)(ca,{aria:!0,data:!0}),ta=We[Ue]||{},vn=ta.level,Nn=jt[jt.length-1],ia=this.isDraggable(),et=!Vt&&ia,Ot=vt===Ue,Pa=_n!==void 0?{"aria-selected":!!_n}:void 0;return ze.createElement("div",(0,x.Z)({ref:oa,className:de()($e,"".concat(At,"-treenode"),(he={},(0,ie.Z)(he,"".concat(At,"-treenode-disabled"),Vt),(0,ie.Z)(he,"".concat(At,"-treenode-switcher-").concat(Vn?"open":"close"),!ut),(0,ie.Z)(he,"".concat(At,"-treenode-checkbox-checked"),mt),(0,ie.Z)(he,"".concat(At,"-treenode-checkbox-indeterminate"),ht),(0,ie.Z)(he,"".concat(At,"-treenode-selected"),fa),(0,ie.Z)(he,"".concat(At,"-treenode-loading"),mn),(0,ie.Z)(he,"".concat(At,"-treenode-active"),Sn),(0,ie.Z)(he,"".concat(At,"-treenode-leaf-last"),Nn),(0,ie.Z)(he,"".concat(At,"-treenode-draggable"),ia),(0,ie.Z)(he,"dragging",Ot),(0,ie.Z)(he,"drop-target",Je===Ue),(0,ie.Z)(he,"drop-container",Be===Ue),(0,ie.Z)(he,"drag-over",!Vt&&at),(0,ie.Z)(he,"drag-over-gap-top",!Vt&&lt),(0,ie.Z)(he,"drag-over-gap-bottom",!Vt&&ft),(0,ie.Z)(he,"filter-node",cn&&cn((0,b.F)(this.props))),he)),style:Fe,draggable:et,"aria-grabbed":Ot,onDragStart:et?this.onDragStart:void 0,onDragEnter:ia?this.onDragEnter:void 0,onDragOver:ia?this.onDragOver:void 0,onDragLeave:ia?this.onDragLeave:void 0,onDrop:ia?this.onDrop:void 0,onDragEnd:ia?this.onDragEnd:void 0,onMouseMove:Ye},Pa,dn),ze.createElement(a,{prefixCls:At,level:vn,isStart:St,isEnd:jt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),ke}(ze.Component),ce=function(He){return ze.createElement(ue.k.Consumer,null,function(ke){return ze.createElement(oe,(0,x.Z)({},He,{context:ke}))})};ce.displayName="TreeNode",ce.isTreeNode=1;var pe=ce},27822:function(Jt,zt,z){"use strict";z.d(zt,{k:function(){return ie}});var x=z(67294),ie=x.createContext(null)},10225:function(Jt,zt,z){"use strict";z.d(zt,{BT:function(){return a},Ds:function(){return Ze},E6:function(){return ee},L0:function(){return nt},OM:function(){return y},_5:function(){return se},bt:function(){return ze},r7:function(){return te},wA:function(){return de},yx:function(){return Me}});var x=z(74902),ie=z(71002),Ce=z(67294),Re=z(80334),ye=z(86128),Te=null;function se(re,oe){if(!re)return[];var ce=re.slice(),pe=ce.indexOf(oe);return pe>=0&&ce.splice(pe,1),ce}function nt(re,oe){var ce=(re||[]).slice();return ce.indexOf(oe)===-1&&ce.push(oe),ce}function Me(re){return re.split("-")}function ze(re,oe){return"".concat(re,"-").concat(oe)}function Ze(re){return re&&re.type&&re.type.isTreeNode}function de(re,oe){var ce=[],pe=oe[re];function Pe(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];He.forEach(function(ke){var Oe=ke.key,he=ke.children;ce.push(Oe),Pe(he)})}return Pe(pe.children),ce}function _e(re){if(re.parent){var oe=Me(re.pos);return Number(oe[oe.length-1])===re.parent.children.length-1}return!1}function ue(re){var oe=Me(re.pos);return Number(oe[oe.length-1])===0}function y(re,oe,ce,pe,Pe,He,ke,Oe,he,Ke){var Ue,$e=re.clientX,Fe=re.clientY,at=re.target.getBoundingClientRect(),lt=at.top,ft=at.height,ut=(Ke==="rtl"?-1:1)*(((Pe==null?void 0:Pe.x)||0)-$e),St=(ut-12)/pe,jt=Oe[ce.props.eventKey];if(Fe<lt+ft/2){var Vn=ke.findIndex(function(At){return At.key===jt.key}),fa=Vn<=0?0:Vn-1,mt=ke[fa].key;jt=Oe[mt]}var ht=jt.key,mn=jt,oa=jt.key,Sn=0,Kn=0;if(!he.includes(ht))for(var Ye=0;Ye<St&&_e(jt);Ye+=1)jt=jt.parent,Kn+=1;var _n=oe.props.data,ca=jt.node,ln=!0;return ue(jt)&&jt.level===0&&Fe<lt+ft/2&&He({dragNode:_n,dropNode:ca,dropPosition:-1})&&jt.key===ce.props.eventKey?Sn=-1:(mn.children||[]).length&&he.includes(oa)?He({dragNode:_n,dropNode:ca,dropPosition:0})?Sn=0:ln=!1:Kn===0?St>-1.5?He({dragNode:_n,dropNode:ca,dropPosition:1})?Sn=1:ln=!1:He({dragNode:_n,dropNode:ca,dropPosition:0})?Sn=0:He({dragNode:_n,dropNode:ca,dropPosition:1})?Sn=1:ln=!1:He({dragNode:_n,dropNode:ca,dropPosition:1})?Sn=1:ln=!1,{dropPosition:Sn,dropLevelOffset:Kn,dropTargetKey:jt.key,dropTargetPos:jt.pos,dragOverNodeKey:oa,dropContainerKey:Sn===0?null:((Ue=jt.parent)===null||Ue===void 0?void 0:Ue.key)||null,dropAllowed:ln}}function a(re,oe){if(re){var ce=oe.multiple;return ce?re.slice():re.length?[re[0]]:re}}var b=function(oe){return oe};function E(re,oe){if(!re)return[];var ce=oe||{},pe=ce.processProps,Pe=pe===void 0?b:pe,He=Array.isArray(re)?re:[re];return He.map(function(ke){var Oe=ke.children,he=_objectWithoutProperties(ke,Te),Ke=E(Oe,oe);return React.createElement(TreeNode,_extends({key:he.key},Pe(he)),Ke)})}function ee(re){if(!re)return null;var oe;if(Array.isArray(re))oe={checkedKeys:re,halfCheckedKeys:void 0};else if((0,ie.Z)(re)==="object")oe={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,Re.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return oe}function te(re,oe){var ce=new Set;function pe(Pe){if(!ce.has(Pe)){var He=oe[Pe];if(He){ce.add(Pe);var ke=He.parent,Oe=He.node;Oe.disabled||ke&&pe(ke.key)}}}return(re||[]).forEach(function(Pe){pe(Pe)}),(0,x.Z)(ce)}},17341:function(Jt,zt,z){"use strict";z.d(zt,{S:function(){return Te}});var x=z(80334);function ie(se,nt){var Me=new Set;return se.forEach(function(ze){nt.has(ze)||Me.add(ze)}),Me}function Ce(se){var nt=se||{},Me=nt.disabled,ze=nt.disableCheckbox,Ze=nt.checkable;return!!(Me||ze)||Ze===!1}function Re(se,nt,Me,ze){for(var Ze=new Set(se),de=new Set,_e=0;_e<=Me;_e+=1){var ue=nt.get(_e)||new Set;ue.forEach(function(E){var ee=E.key,te=E.node,re=E.children,oe=re===void 0?[]:re;Ze.has(ee)&&!ze(te)&&oe.filter(function(ce){return!ze(ce.node)}).forEach(function(ce){Ze.add(ce.key)})})}for(var y=new Set,a=Me;a>=0;a-=1){var b=nt.get(a)||new Set;b.forEach(function(E){var ee=E.parent,te=E.node;if(!(ze(te)||!E.parent||y.has(E.parent.key))){if(ze(E.parent.node)){y.add(ee.key);return}var re=!0,oe=!1;(ee.children||[]).filter(function(ce){return!ze(ce.node)}).forEach(function(ce){var pe=ce.key,Pe=Ze.has(pe);re&&!Pe&&(re=!1),!oe&&(Pe||de.has(pe))&&(oe=!0)}),re&&Ze.add(ee.key),oe&&de.add(ee.key),y.add(ee.key)}})}return{checkedKeys:Array.from(Ze),halfCheckedKeys:Array.from(ie(de,Ze))}}function ye(se,nt,Me,ze,Ze){for(var de=new Set(se),_e=new Set(nt),ue=0;ue<=ze;ue+=1){var y=Me.get(ue)||new Set;y.forEach(function(ee){var te=ee.key,re=ee.node,oe=ee.children,ce=oe===void 0?[]:oe;!de.has(te)&&!_e.has(te)&&!Ze(re)&&ce.filter(function(pe){return!Ze(pe.node)}).forEach(function(pe){de.delete(pe.key)})})}_e=new Set;for(var a=new Set,b=ze;b>=0;b-=1){var E=Me.get(b)||new Set;E.forEach(function(ee){var te=ee.parent,re=ee.node;if(!(Ze(re)||!ee.parent||a.has(ee.parent.key))){if(Ze(ee.parent.node)){a.add(te.key);return}var oe=!0,ce=!1;(te.children||[]).filter(function(pe){return!Ze(pe.node)}).forEach(function(pe){var Pe=pe.key,He=de.has(Pe);oe&&!He&&(oe=!1),!ce&&(He||_e.has(Pe))&&(ce=!0)}),oe||de.delete(te.key),ce&&_e.add(te.key),a.add(te.key)}})}return{checkedKeys:Array.from(de),halfCheckedKeys:Array.from(ie(_e,de))}}function Te(se,nt,Me,ze){var Ze=[],de;ze?de=ze:de=Ce;var _e=new Set(se.filter(function(b){var E=!!Me[b];return E||Ze.push(b),E})),ue=new Map,y=0;Object.keys(Me).forEach(function(b){var E=Me[b],ee=E.level,te=ue.get(ee);te||(te=new Set,ue.set(ee,te)),te.add(E),y=Math.max(y,ee)}),(0,x.ZP)(!Ze.length,"Tree missing follow keys: ".concat(Ze.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var a;return nt===!0?a=Re(_e,ue,y,de):a=ye(_e,nt.halfCheckedKeys,ue,y,de),a}},1089:function(Jt,zt,z){"use strict";z.d(zt,{F:function(){return E},H8:function(){return b},I8:function(){return a},km:function(){return ze},oH:function(){return ue},w$:function(){return Ze},zn:function(){return _e}});var x=z(71002),ie=z(74902),Ce=z(1413),Re=z(45987),ye=z(98423),Te=z(50344),se=z(80334),nt=z(10225),Me=["children"];function ze(ee,te){return ee!=null?ee:te}function Ze(ee){var te=ee||{},re=te.title,oe=te._title,ce=te.key,pe=te.children,Pe=re||"title";return{title:Pe,_title:oe||[Pe],key:ce||"key",children:pe||"children"}}function de(ee,te){var re=new Map;function oe(ce){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ce||[]).forEach(function(Pe){var He=Pe[te.key],ke=Pe[te.children];warning(He!=null,"Tree node must have a certain key: [".concat(pe).concat(He,"]"));var Oe=String(He);warning(!re.has(Oe)||He===null||He===void 0,"Same 'key' exist in the Tree: ".concat(Oe)),re.set(Oe,!0),oe(ke,"".concat(pe).concat(Oe," > "))})}oe(ee)}function _e(ee){function te(re){var oe=(0,Te.Z)(re);return oe.map(function(ce){if(!(0,nt.Ds)(ce))return(0,se.ZP)(!ce,"Tree/TreeNode can only accept TreeNode as children."),null;var pe=ce.key,Pe=ce.props,He=Pe.children,ke=(0,Re.Z)(Pe,Me),Oe=(0,Ce.Z)({key:pe},ke),he=te(He);return he.length&&(Oe.children=he),Oe}).filter(function(ce){return ce})}return te(ee)}function ue(ee,te,re){var oe=Ze(re),ce=oe._title,pe=oe.key,Pe=oe.children,He=new Set(te===!0?[]:te),ke=[];function Oe(he){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return he.map(function(Ue,$e){for(var Fe=(0,nt.bt)(Ke?Ke.pos:"0",$e),at=ze(Ue[pe],Fe),lt,ft=0;ft<ce.length;ft+=1){var ut=ce[ft];if(Ue[ut]!==void 0){lt=Ue[ut];break}}var St=(0,Ce.Z)((0,Ce.Z)({},(0,ye.Z)(Ue,[].concat((0,ie.Z)(ce),[pe,Pe]))),{},{title:lt,key:at,parent:Ke,pos:Fe,children:null,data:Ue,isStart:[].concat((0,ie.Z)(Ke?Ke.isStart:[]),[$e===0]),isEnd:[].concat((0,ie.Z)(Ke?Ke.isEnd:[]),[$e===he.length-1])});return ke.push(St),te===!0||He.has(at)?St.children=Oe(Ue[Pe]||[],St):St.children=[],St})}return Oe(ee),ke}function y(ee,te,re){var oe={};(0,x.Z)(re)==="object"?oe=re:oe={externalGetKey:re},oe=oe||{};var ce=oe,pe=ce.childrenPropName,Pe=ce.externalGetKey,He=ce.fieldNames,ke=Ze(He),Oe=ke.key,he=ke.children,Ke=pe||he,Ue;Pe?typeof Pe=="string"?Ue=function(at){return at[Pe]}:typeof Pe=="function"&&(Ue=function(at){return Pe(at)}):Ue=function(at,lt){return ze(at[Oe],lt)};function $e(Fe,at,lt,ft){var ut=Fe?Fe[Ke]:ee,St=Fe?(0,nt.bt)(lt.pos,at):"0",jt=Fe?[].concat((0,ie.Z)(ft),[Fe]):[];if(Fe){var Vn=Ue(Fe,St),fa={node:Fe,index:at,pos:St,key:Vn,parentPos:lt.node?lt.pos:null,level:lt.level+1,nodes:jt};te(fa)}ut&&ut.forEach(function(mt,ht){$e(mt,ht,{node:Fe,pos:St,level:lt?lt.level+1:-1},jt)})}$e(null)}function a(ee){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},re=te.initWrapper,oe=te.processEntity,ce=te.onProcessFinished,pe=te.externalGetKey,Pe=te.childrenPropName,He=te.fieldNames,ke=arguments.length>2?arguments[2]:void 0,Oe=pe||ke,he={},Ke={},Ue={posEntities:he,keyEntities:Ke};return re&&(Ue=re(Ue)||Ue),y(ee,function($e){var Fe=$e.node,at=$e.index,lt=$e.pos,ft=$e.key,ut=$e.parentPos,St=$e.level,jt=$e.nodes,Vn={node:Fe,nodes:jt,index:at,key:ft,pos:lt,level:St},fa=ze(ft,lt);he[lt]=Vn,Ke[fa]=Vn,Vn.parent=he[ut],Vn.parent&&(Vn.parent.children=Vn.parent.children||[],Vn.parent.children.push(Vn)),oe&&oe(Vn,Ue)},{externalGetKey:Oe,childrenPropName:Pe,fieldNames:He}),ce&&ce(Ue),Ue}function b(ee,te){var re=te.expandedKeys,oe=te.selectedKeys,ce=te.loadedKeys,pe=te.loadingKeys,Pe=te.checkedKeys,He=te.halfCheckedKeys,ke=te.dragOverNodeKey,Oe=te.dropPosition,he=te.keyEntities,Ke=he[ee],Ue={eventKey:ee,expanded:re.indexOf(ee)!==-1,selected:oe.indexOf(ee)!==-1,loaded:ce.indexOf(ee)!==-1,loading:pe.indexOf(ee)!==-1,checked:Pe.indexOf(ee)!==-1,halfChecked:He.indexOf(ee)!==-1,pos:String(Ke?Ke.pos:""),dragOver:ke===ee&&Oe===0,dragOverGapTop:ke===ee&&Oe===-1,dragOverGapBottom:ke===ee&&Oe===1};return Ue}function E(ee){var te=ee.data,re=ee.expanded,oe=ee.selected,ce=ee.checked,pe=ee.loaded,Pe=ee.loading,He=ee.halfChecked,ke=ee.dragOver,Oe=ee.dragOverGapTop,he=ee.dragOverGapBottom,Ke=ee.pos,Ue=ee.active,$e=ee.eventKey,Fe=(0,Ce.Z)((0,Ce.Z)({},te),{},{expanded:re,selected:oe,checked:ce,loaded:pe,loading:Pe,halfChecked:He,dragOver:ke,dragOverGapTop:Oe,dragOverGapBottom:he,pos:Ke,active:Ue,key:$e});return"props"in Fe||Object.defineProperty(Fe,"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`."),ee}}),Fe}},64217:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return nt}});var x=z(1413),ie=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Ce=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Re="".concat(ie," ").concat(Ce).split(/[\s\n]+/),ye="aria-",Te="data-";function se(Me,ze){return Me.indexOf(ze)===0}function nt(Me){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ze;ze===!1?Ze={aria:!0,data:!0,attr:!0}:ze===!0?Ze={aria:!0}:Ze=(0,x.Z)({},ze);var de={};return Object.keys(Me).forEach(function(_e){(Ze.aria&&(_e==="role"||se(_e,ye))||Ze.data&&se(_e,Te)||Ze.attr&&Re.includes(_e))&&(de[_e]=Me[_e])}),de}},66012:function(Jt,zt,z){"use strict";z.d(zt,{Z5:function(){return Wu},_l:function(){return jc},bK:function(){return dc}});var x=z(67294),ie=z(89611);function Ce(ne,ae){ne.prototype=Object.create(ae.prototype),ne.prototype.constructor=ne,(0,ie.Z)(ne,ae)}var Re=z(87462),ye=z(14890),Te=x.createContext(null),se=null;function nt(ne){ne()}var Me=nt,ze=function(ae){return Me=ae},Ze=function(){return Me};function de(){var ne=Ze(),ae=null,le=null;return{clear:function(){ae=null,le=null},notify:function(){ne(function(){for(var Ae=ae;Ae;)Ae.callback(),Ae=Ae.next})},get:function(){for(var Ae=[],Ne=ae;Ne;)Ae.push(Ne),Ne=Ne.next;return Ae},subscribe:function(Ae){var Ne=!0,Ge=le={callback:Ae,next:null,prev:le};return Ge.prev?Ge.prev.next=Ge:ae=Ge,function(){!Ne||ae===null||(Ne=!1,Ge.next?Ge.next.prev=Ge.prev:le=Ge.prev,Ge.prev?Ge.prev.next=Ge.next:ae=Ge.next)}}}}var _e={notify:function(){},get:function(){return[]}};function ue(ne,ae){var le,me=_e;function Ae(wt){return Pt(),me.subscribe(wt)}function Ne(){me.notify()}function Ge(){Ht.onStateChange&&Ht.onStateChange()}function Qe(){return!!le}function Pt(){le||(le=ae?ae.addNestedSub(Ge):ne.subscribe(Ge),me=de())}function Qt(){le&&(le(),le=void 0,me.clear(),me=_e)}var Ht={addNestedSub:Ae,notifyNestedSubs:Ne,handleChangeWrapper:Ge,isSubscribed:Qe,trySubscribe:Pt,tryUnsubscribe:Qt,getListeners:function(){return me}};return Ht}var y=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect;function a(ne){var ae=ne.store,le=ne.context,me=ne.children,Ae=(0,x.useMemo)(function(){var Qe=ue(ae);return{store:ae,subscription:Qe}},[ae]),Ne=(0,x.useMemo)(function(){return ae.getState()},[ae]);y(function(){var Qe=Ae.subscription;return Qe.onStateChange=Qe.notifyNestedSubs,Qe.trySubscribe(),Ne!==ae.getState()&&Qe.notifyNestedSubs(),function(){Qe.tryUnsubscribe(),Qe.onStateChange=null}},[Ae,Ne]);var Ge=le||Te;return x.createElement(Ge.Provider,{value:Ae},me)}var b=a,E=z(63366),ee=z(8679),te=z.n(ee),re=z(72973),oe=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ce=["reactReduxForwardedRef"],pe=[],Pe=[null,null],He=function(ae){try{return JSON.stringify(ae)}catch(le){return String(ae)}};function ke(ne,ae){var le=ne[1];return[ae.payload,le+1]}function Oe(ne,ae,le){y(function(){return ne.apply(void 0,ae)},le)}function he(ne,ae,le,me,Ae,Ne,Ge){ne.current=me,ae.current=Ae,le.current=!1,Ne.current&&(Ne.current=null,Ge())}function Ke(ne,ae,le,me,Ae,Ne,Ge,Qe,Pt,Qt){if(ne){var Ht=!1,wt=null,Dt=function(){if(!Ht){var _r=ae.getState(),ao,mo;try{ao=me(_r,Ae.current)}catch(To){mo=To,wt=To}mo||(wt=null),ao===Ne.current?Ge.current||Pt():(Ne.current=ao,Qe.current=ao,Ge.current=!0,Qt({type:"STORE_UPDATED",payload:{error:mo}}))}};le.onStateChange=Dt,le.trySubscribe(),Dt();var fn=function(){if(Ht=!0,le.tryUnsubscribe(),le.onStateChange=null,wt)throw wt};return fn}}var Ue=function(){return[null,0]};function $e(ne,ae){ae===void 0&&(ae={});var le=ae,me=le.getDisplayName,Ae=me===void 0?function(Bi){return"ConnectAdvanced("+Bi+")"}:me,Ne=le.methodName,Ge=Ne===void 0?"connectAdvanced":Ne,Qe=le.renderCountProp,Pt=Qe===void 0?void 0:Qe,Qt=le.shouldHandleStateChanges,Ht=Qt===void 0?!0:Qt,wt=le.storeKey,Dt=wt===void 0?"store":wt,fn=le.withRef,Ea=fn===void 0?!1:fn,_r=le.forwardRef,ao=_r===void 0?!1:_r,mo=le.context,To=mo===void 0?Te:mo,Vo=(0,E.Z)(le,oe);if(0)var qo;var Ii=To;return function(_i){var Sl=_i.displayName||_i.name||"Component",$i=Ae(Sl),yl=(0,Re.Z)({},Vo,{getDisplayName:Ae,methodName:Ge,renderCountProp:Pt,shouldHandleStateChanges:Ht,storeKey:Dt,displayName:$i,wrappedComponentName:Sl,WrappedComponent:_i}),Ml=Vo.pure;function jl(Gl){return ne(Gl.dispatch,yl)}var Ts=Ml?x.useMemo:function(Gl){return Gl()};function Bs(Gl){var Js=(0,x.useMemo)(function(){var Cu=Gl.reactReduxForwardedRef,nc=(0,E.Z)(Gl,ce);return[Gl.context,Cu,nc]},[Gl]),Zs=Js[0],Pu=Js[1],nu=Js[2],Xs=(0,x.useMemo)(function(){return Zs&&Zs.Consumer&&(0,re.isContextConsumer)(x.createElement(Zs.Consumer,null))?Zs:Ii},[Zs,Ii]),Ks=(0,x.useContext)(Xs),au=!!Gl.store&&!!Gl.store.getState&&!!Gl.store.dispatch,Mu=!!Ks&&!!Ks.store,_s=au?Gl.store:Ks.store,bu=(0,x.useMemo)(function(){return jl(_s)},[_s]),Tu=(0,x.useMemo)(function(){if(!Ht)return Pe;var Cu=ue(_s,au?null:Ks.subscription),nc=Cu.notifyNestedSubs.bind(Cu);return[Cu,nc]},[_s,au,Ks]),cu=Tu[0],ku=Tu[1],Zu=(0,x.useMemo)(function(){return au?Ks:(0,Re.Z)({},Ks,{subscription:cu})},[au,Ks,cu]),gc=(0,x.useReducer)(ke,pe,Ue),Qc=gc[0],Ku=Qc[0],Jc=gc[1];if(Ku&&Ku.error)throw Ku.error;var fc=(0,x.useRef)(),qu=(0,x.useRef)(nu),_u=(0,x.useRef)(),mc=(0,x.useRef)(!1),ec=Ts(function(){return _u.current&&nu===qu.current?_u.current:bu(_s.getState(),nu)},[_s,Ku,nu]);Oe(he,[qu,fc,mc,nu,ec,_u,ku]),Oe(Ke,[Ht,_s,cu,bu,qu,fc,mc,_u,ku,Jc],[_s,cu,bu]);var tc=(0,x.useMemo)(function(){return x.createElement(_i,(0,Re.Z)({},ec,{ref:Pu}))},[Pu,_i,ec]),Xc=(0,x.useMemo)(function(){return Ht?x.createElement(Xs.Provider,{value:Zu},tc):tc},[Xs,tc,Zu]);return Xc}var gs=Ml?x.memo(Bs):Bs;if(gs.WrappedComponent=_i,gs.displayName=Bs.displayName=$i,ao){var ks=x.forwardRef(function(Js,Zs){return x.createElement(gs,(0,Re.Z)({},Js,{reactReduxForwardedRef:Zs}))});return ks.displayName=$i,ks.WrappedComponent=_i,te()(ks,_i)}return te()(gs,_i)}}function Fe(ne,ae){return ne===ae?ne!==0||ae!==0||1/ne===1/ae:ne!==ne&&ae!==ae}function at(ne,ae){if(Fe(ne,ae))return!0;if(typeof ne!="object"||ne===null||typeof ae!="object"||ae===null)return!1;var le=Object.keys(ne),me=Object.keys(ae);if(le.length!==me.length)return!1;for(var Ae=0;Ae<le.length;Ae++)if(!Object.prototype.hasOwnProperty.call(ae,le[Ae])||!Fe(ne[le[Ae]],ae[le[Ae]]))return!1;return!0}function lt(ne,ae){var le={},me=function(Ge){var Qe=ne[Ge];typeof Qe=="function"&&(le[Ge]=function(){return ae(Qe.apply(void 0,arguments))})};for(var Ae in ne)me(Ae);return le}function ft(ne){return function(le,me){var Ae=ne(le,me);function Ne(){return Ae}return Ne.dependsOnOwnProps=!1,Ne}}function ut(ne){return ne.dependsOnOwnProps!==null&&ne.dependsOnOwnProps!==void 0?!!ne.dependsOnOwnProps:ne.length!==1}function St(ne,ae){return function(me,Ae){var Ne=Ae.displayName,Ge=function(Pt,Qt){return Ge.dependsOnOwnProps?Ge.mapToProps(Pt,Qt):Ge.mapToProps(Pt)};return Ge.dependsOnOwnProps=!0,Ge.mapToProps=function(Pt,Qt){Ge.mapToProps=ne,Ge.dependsOnOwnProps=ut(ne);var Ht=Ge(Pt,Qt);return typeof Ht=="function"&&(Ge.mapToProps=Ht,Ge.dependsOnOwnProps=ut(Ht),Ht=Ge(Pt,Qt)),Ht},Ge}}function jt(ne){return typeof ne=="function"?St(ne,"mapDispatchToProps"):void 0}function Vn(ne){return ne?void 0:ft(function(ae){return{dispatch:ae}})}function fa(ne){return ne&&typeof ne=="object"?ft(function(ae){return lt(ne,ae)}):void 0}var mt=[jt,Vn,fa];function ht(ne){return typeof ne=="function"?St(ne,"mapStateToProps"):void 0}function mn(ne){return ne?void 0:ft(function(){return{}})}var oa=[ht,mn];function Sn(ne,ae,le){return(0,Re.Z)({},le,ne,ae)}function Kn(ne){return function(le,me){var Ae=me.displayName,Ne=me.pure,Ge=me.areMergedPropsEqual,Qe=!1,Pt;return function(Ht,wt,Dt){var fn=ne(Ht,wt,Dt);return Qe?(!Ne||!Ge(fn,Pt))&&(Pt=fn):(Qe=!0,Pt=fn),Pt}}}function Ye(ne){return typeof ne=="function"?Kn(ne):void 0}function _n(ne){return ne?void 0:function(){return Sn}}var ca=[Ye,_n],ln=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function At(ne,ae,le,me){return function(Ne,Ge){return le(ne(Ne,Ge),ae(me,Ge),Ge)}}function cn(ne,ae,le,me,Ae){var Ne=Ae.areStatesEqual,Ge=Ae.areOwnPropsEqual,Qe=Ae.areStatePropsEqual,Pt=!1,Qt,Ht,wt,Dt,fn;function Ea(Vo,qo){return Qt=Vo,Ht=qo,wt=ne(Qt,Ht),Dt=ae(me,Ht),fn=le(wt,Dt,Ht),Pt=!0,fn}function _r(){return wt=ne(Qt,Ht),ae.dependsOnOwnProps&&(Dt=ae(me,Ht)),fn=le(wt,Dt,Ht),fn}function ao(){return ne.dependsOnOwnProps&&(wt=ne(Qt,Ht)),ae.dependsOnOwnProps&&(Dt=ae(me,Ht)),fn=le(wt,Dt,Ht),fn}function mo(){var Vo=ne(Qt,Ht),qo=!Qe(Vo,wt);return wt=Vo,qo&&(fn=le(wt,Dt,Ht)),fn}function To(Vo,qo){var Ii=!Ge(qo,Ht),Bi=!Ne(Vo,Qt,qo,Ht);return Qt=Vo,Ht=qo,Ii&&Bi?_r():Ii?ao():Bi?mo():fn}return function(qo,Ii){return Pt?To(qo,Ii):Ea(qo,Ii)}}function We(ne,ae){var le=ae.initMapStateToProps,me=ae.initMapDispatchToProps,Ae=ae.initMergeProps,Ne=(0,E.Z)(ae,ln),Ge=le(ne,Ne),Qe=me(ne,Ne),Pt=Ae(ne,Ne),Qt=Ne.pure?cn:At;return Qt(Ge,Qe,Pt,ne,Ne)}var Be=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function Je(ne,ae,le){for(var me=ae.length-1;me>=0;me--){var Ae=ae[me](ne);if(Ae)return Ae}return function(Ne,Ge){throw new Error("Invalid value of type "+typeof ne+" for "+le+" argument when connecting component "+Ge.wrappedComponentName+".")}}function vt(ne,ae){return ne===ae}function Vt(ne){var ae=ne===void 0?{}:ne,le=ae.connectHOC,me=le===void 0?$e:le,Ae=ae.mapStateToPropsFactories,Ne=Ae===void 0?oa:Ae,Ge=ae.mapDispatchToPropsFactories,Qe=Ge===void 0?mt:Ge,Pt=ae.mergePropsFactories,Qt=Pt===void 0?ca:Pt,Ht=ae.selectorFactory,wt=Ht===void 0?We:Ht;return function(fn,Ea,_r,ao){ao===void 0&&(ao={});var mo=ao,To=mo.pure,Vo=To===void 0?!0:To,qo=mo.areStatesEqual,Ii=qo===void 0?vt:qo,Bi=mo.areOwnPropsEqual,_i=Bi===void 0?at:Bi,Sl=mo.areStatePropsEqual,$i=Sl===void 0?at:Sl,yl=mo.areMergedPropsEqual,Ml=yl===void 0?at:yl,jl=(0,E.Z)(mo,Be),Ts=Je(fn,Ne,"mapStateToProps"),Bs=Je(Ea,Qe,"mapDispatchToProps"),gs=Je(_r,Qt,"mergeProps");return me(wt,(0,Re.Z)({methodName:"connect",getDisplayName:function(Gl){return"Connect("+Gl+")"},shouldHandleStateChanges:!!fn,initMapStateToProps:Ts,initMapDispatchToProps:Bs,initMergeProps:gs,pure:Vo,areStatesEqual:Ii,areOwnPropsEqual:_i,areStatePropsEqual:$i,areMergedPropsEqual:Ml},jl))}}var dn=Vt();function ta(){var ne=useContext(ReactReduxContext);return ne}function vn(ne){ne===void 0&&(ne=ReactReduxContext);var ae=ne===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ne)};return function(){var me=ae(),Ae=me.store;return Ae}}var Nn=null;function ia(ne){ne===void 0&&(ne=ReactReduxContext);var ae=ne===ReactReduxContext?useDefaultStore:createStoreHook(ne);return function(){var me=ae();return me.dispatch}}var et=null,Ot=function(ae,le){return ae===le};function Pa(ne,ae,le,me){var Ae=useReducer(function(Ea){return Ea+1},0),Ne=Ae[1],Ge=useMemo(function(){return createSubscription(le,me)},[le,me]),Qe=useRef(),Pt=useRef(),Qt=useRef(),Ht=useRef(),wt=le.getState(),Dt;try{if(ne!==Pt.current||wt!==Qt.current||Qe.current){var fn=ne(wt);Ht.current===void 0||!ae(fn,Ht.current)?Dt=fn:Dt=Ht.current}else Dt=Ht.current}catch(Ea){throw Qe.current&&(Ea.message+=`
The error may be correlated with this previous error:
`+Qe.current.stack+`
`),Ea}return useIsomorphicLayoutEffect(function(){Pt.current=ne,Qt.current=wt,Ht.current=Dt,Qe.current=void 0}),useIsomorphicLayoutEffect(function(){function Ea(){try{var _r=le.getState();if(_r===Qt.current)return;var ao=Pt.current(_r);if(ae(ao,Ht.current))return;Ht.current=ao,Qt.current=_r}catch(mo){Qe.current=mo}Ne()}return Ge.onStateChange=Ea,Ge.trySubscribe(),Ea(),function(){return Ge.tryUnsubscribe()}},[le,Ge]),Dt}function An(ne){ne===void 0&&(ne=ReactReduxContext);var ae=ne===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ne)};return function(me,Ae){Ae===void 0&&(Ae=Ot);var Ne=ae(),Ge=Ne.store,Qe=Ne.subscription,Pt=Pa(me,Ae,Ge,Qe);return useDebugValue(Pt),Pt}}var Ft=null,ya=z(73935);ze(ya.unstable_batchedUpdates);function ot(ne,ae){if(ne.length!==ae.length)return!1;for(var le=0;le<ne.length;le++)if(ne[le]!==ae[le])return!1;return!0}function Tt(ne,ae){var le=(0,x.useState)(function(){return{inputs:ae,result:ne()}})[0],me=(0,x.useRef)(!0),Ae=(0,x.useRef)(le),Ne=me.current||!!(ae&&Ae.current.inputs&&ot(ae,Ae.current.inputs)),Ge=Ne?Ae.current:{inputs:ae,result:ne()};return(0,x.useEffect)(function(){me.current=!1,Ae.current=Ge},[Ge]),Ge.result}function nn(ne,ae){return Tt(function(){return ne},ae)}var Rt=Tt,Lt=nn,na=!0,va="Invariant failed";function ha(ne,ae){if(!ne){if(na)throw new Error(va);var le=typeof ae=="function"?ae():ae,me=le?"".concat(va,": ").concat(le):va;throw new Error(me)}}var ba=function(ae){var le=ae.top,me=ae.right,Ae=ae.bottom,Ne=ae.left,Ge=me-Ne,Qe=Ae-le,Pt={top:le,right:me,bottom:Ae,left:Ne,width:Ge,height:Qe,x:Ne,y:le,center:{x:(me+Ne)/2,y:(Ae+le)/2}};return Pt},lr=function(ae,le){return{top:ae.top-le.top,left:ae.left-le.left,bottom:ae.bottom+le.bottom,right:ae.right+le.right}},gr=function(ae,le){return{top:ae.top+le.top,left:ae.left+le.left,bottom:ae.bottom-le.bottom,right:ae.right-le.right}},Qa=function(ae,le){return{top:ae.top+le.y,left:ae.left+le.x,bottom:ae.bottom+le.y,right:ae.right+le.x}},Dr={top:0,right:0,bottom:0,left:0},so=function(ae){var le=ae.borderBox,me=ae.margin,Ae=me===void 0?Dr:me,Ne=ae.border,Ge=Ne===void 0?Dr:Ne,Qe=ae.padding,Pt=Qe===void 0?Dr:Qe,Qt=ba(lr(le,Ae)),Ht=ba(gr(le,Ge)),wt=ba(gr(Ht,Pt));return{marginBox:Qt,borderBox:ba(le),paddingBox:Ht,contentBox:wt,margin:Ae,border:Ge,padding:Pt}},zr=function(ae){var le=ae.slice(0,-2),me=ae.slice(-2);if(me!=="px")return 0;var Ae=Number(le);return isNaN(Ae)&&ha(!1),Ae},Jr=function(){return{x:window.pageXOffset,y:window.pageYOffset}},co=function(ae,le){var me=ae.borderBox,Ae=ae.border,Ne=ae.margin,Ge=ae.padding,Qe=Qa(me,le);return so({borderBox:Qe,border:Ae,margin:Ne,padding:Ge})},Xr=function(ae,le){return le===void 0&&(le=Jr()),co(ae,le)},bo=function(ae,le){var me={top:zr(le.marginTop),right:zr(le.marginRight),bottom:zr(le.marginBottom),left:zr(le.marginLeft)},Ae={top:zr(le.paddingTop),right:zr(le.paddingRight),bottom:zr(le.paddingBottom),left:zr(le.paddingLeft)},Ne={top:zr(le.borderTopWidth),right:zr(le.borderRightWidth),bottom:zr(le.borderBottomWidth),left:zr(le.borderLeftWidth)};return so({borderBox:ae,margin:me,padding:Ae,border:Ne})},kr=function(ae){var le=ae.getBoundingClientRect(),me=window.getComputedStyle(ae);return bo(le,me)},Sa=Number.isNaN||function(ae){return typeof ae=="number"&&ae!==ae};function ja(ne,ae){return!!(ne===ae||Sa(ne)&&Sa(ae))}function _a(ne,ae){if(ne.length!==ae.length)return!1;for(var le=0;le<ne.length;le++)if(!ja(ne[le],ae[le]))return!1;return!0}function za(ne,ae){ae===void 0&&(ae=_a);var le,me=[],Ae,Ne=!1;function Ge(){for(var Qe=[],Pt=0;Pt<arguments.length;Pt++)Qe[Pt]=arguments[Pt];return Ne&&le===this&&ae(Qe,me)||(Ae=ne.apply(this,Qe),Ne=!0,le=this,me=Qe),Ae}return Ge}var Ar=za,er=function(ae){var le=[],me=null,Ae=function(){for(var Ge=arguments.length,Qe=new Array(Ge),Pt=0;Pt<Ge;Pt++)Qe[Pt]=arguments[Pt];le=Qe,!me&&(me=requestAnimationFrame(function(){me=null,ae.apply(void 0,le)}))};return Ae.cancel=function(){me&&(cancelAnimationFrame(me),me=null)},Ae},Wa=er,kt=!0,sn=/[ \t]{2,}/g,Yt=/^[ \t]*/gm,$n=function(ae){return ae.replace(sn," ").replace(Yt,"").trim()},La=function(ae){return $n(`
%creact-beautiful-dnd
%c`+$n(ae)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},dr=function(ae){return[La(ae),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},Eo="__react-beautiful-dnd-disable-dev-warnings";function Nr(ne,ae){var le;kt||typeof window!="undefined"&&window[Eo]||(le=console)[ne].apply(le,dr(ae))}var bn=Nr.bind(null,"warn"),da=Nr.bind(null,"error");function ro(){}function la(ne,ae){return(0,Re.Z)({},ne,{},ae)}function Ya(ne,ae,le){var me=ae.map(function(Ae){var Ne=la(le,Ae.options);return ne.addEventListener(Ae.eventName,Ae.fn,Ne),function(){ne.removeEventListener(Ae.eventName,Ae.fn,Ne)}});return function(){me.forEach(function(Ne){Ne()})}}var Bt=!0,Yn="Invariant failed";function Dn(ne){this.message=ne}Dn.prototype.toString=function(){return this.message};function It(ne,ae){if(!ne)throw Bt?new Dn(Yn):new Dn(Yn+": "+(ae||""))}var ar=function(ne){Ce(ae,ne);function ae(){for(var me,Ae=arguments.length,Ne=new Array(Ae),Ge=0;Ge<Ae;Ge++)Ne[Ge]=arguments[Ge];return me=ne.call.apply(ne,[this].concat(Ne))||this,me.callbacks=null,me.unbind=ro,me.onWindowError=function(Qe){var Pt=me.getCallbacks();Pt.isDragging()&&Pt.tryAbort();var Qt=Qe.error;Qt instanceof Dn&&Qe.preventDefault()},me.getCallbacks=function(){if(!me.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return me.callbacks},me.setCallbacks=function(Qe){me.callbacks=Qe},me}var le=ae.prototype;return le.componentDidMount=function(){this.unbind=Ya(window,[{eventName:"error",fn:this.onWindowError}])},le.componentWillUnmount=function(){this.unbind()},le.componentDidCatch=function(Ae){if(Ae instanceof Dn){this.setState({});return}throw Ae},le.render=function(){return this.props.children(this.setCallbacks)},ae}(x.Component),ga=`
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
`,Ja=function(ae){return ae+1},wa=function(ae){return`
You have lifted an item in position `+Ja(ae.source.index)+`
`},Io=function(ae,le){var me=ae.droppableId===le.droppableId,Ae=Ja(ae.index),Ne=Ja(le.index);return me?`
You have moved the item from position `+Ae+`
to position `+Ne+`
`:`
You have moved the item from position `+Ae+`
in list `+ae.droppableId+`
to list `+le.droppableId+`
in position `+Ne+`
`},Yr=function(ae,le,me){var Ae=le.droppableId===me.droppableId;return Ae?`
The item `+ae+`
has been combined with `+me.draggableId:`
The item `+ae+`
in list `+le.droppableId+`
has been combined with `+me.draggableId+`
in list `+me.droppableId+`
`},Zo=function(ae){var le=ae.destination;if(le)return Io(ae.source,le);var me=ae.combine;return me?Yr(ae.draggableId,ae.source,me):"You are over an area that cannot be dropped on"},ni=function(ae){return`
The item has returned to its starting position
of `+Ja(ae.index)+`
`},vi=function(ae){if(ae.reason==="CANCEL")return`
Movement cancelled.
`+ni(ae.source)+`
`;var le=ae.destination,me=ae.combine;return le?`
You have dropped the item.
`+Io(ae.source,le)+`
`:me?`
You have dropped the item.
`+Yr(ae.draggableId,ae.source,me)+`
`:`
The item has been dropped while not over a drop area.
`+ni(ae.source)+`
`},Da={dragHandleUsageInstructions:ga,onDragStart:wa,onDragUpdate:Zo,onDragEnd:vi},yi={x:0,y:0},Hr=function(ae,le){return{x:ae.x+le.x,y:ae.y+le.y}},Go=function(ae,le){return{x:ae.x-le.x,y:ae.y-le.y}},pi=function(ae,le){return ae.x===le.x&&ae.y===le.y},qa=function(ae){return{x:ae.x!==0?-ae.x:0,y:ae.y!==0?-ae.y:0}},Ir=function(ae,le,me){var Ae;return me===void 0&&(me=0),Ae={},Ae[ae]=le,Ae[ae==="x"?"y":"x"]=me,Ae},vo=function(ae,le){return Math.sqrt(Math.pow(le.x-ae.x,2)+Math.pow(le.y-ae.y,2))},ir=function(ae,le){return Math.min.apply(Math,le.map(function(me){return vo(ae,me)}))},fi=function(ae){return function(le){return{x:ae(le.x),y:ae(le.y)}}},ci=function(ne,ae){var le=ba({top:Math.max(ae.top,ne.top),right:Math.min(ae.right,ne.right),bottom:Math.min(ae.bottom,ne.bottom),left:Math.max(ae.left,ne.left)});return le.width<=0||le.height<=0?null:le},Fi=function(ae,le){return{top:ae.top+le.y,left:ae.left+le.x,bottom:ae.bottom+le.y,right:ae.right+le.x}},ei=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}]},hi={top:0,right:0,bottom:0,left:0},Wt=function(ae,le){return le?Fi(ae,le.scroll.diff.displacement):ae},Kt=function(ae,le,me){if(me&&me.increasedBy){var Ae;return(0,Re.Z)({},ae,(Ae={},Ae[le.end]=ae[le.end]+me.increasedBy[le.line],Ae))}return ae},aa=function(ae,le){return le&&le.shouldClipSubject?ci(le.pageMarginBox,ae):ba(ae)},xa=function(ne){var ae=ne.page,le=ne.withPlaceholder,me=ne.axis,Ae=ne.frame,Ne=Wt(ae.marginBox,Ae),Ge=Kt(Ne,me,le),Qe=aa(Ge,Ae);return{page:ae,withPlaceholder:le,active:Qe}},Ka=function(ne,ae){ne.frame||It(!1);var le=ne.frame,me=Go(ae,le.scroll.initial),Ae=qa(me),Ne=(0,Re.Z)({},le,{scroll:{initial:le.scroll.initial,current:ae,diff:{value:me,displacement:Ae},max:le.scroll.max}}),Ge=xa({page:ne.subject.page,withPlaceholder:ne.subject.withPlaceholder,axis:ne.axis,frame:Ne}),Qe=(0,Re.Z)({},ne,{frame:Ne,subject:Ge});return Qe};function Cr(ne){return Number.isInteger?Number.isInteger(ne):typeof ne=="number"&&isFinite(ne)&&Math.floor(ne)===ne}function po(ne){return Object.values?Object.values(ne):Object.keys(ne).map(function(ae){return ne[ae]})}function Lo(ne,ae){if(ne.findIndex)return ne.findIndex(ae);for(var le=0;le<ne.length;le++)if(ae(ne[le]))return le;return-1}function rr(ne,ae){if(ne.find)return ne.find(ae);var le=Lo(ne,ae);if(le!==-1)return ne[le]}function zo(ne){return Array.prototype.slice.call(ne)}var ai=Ar(function(ne){return ne.reduce(function(ae,le){return ae[le.descriptor.id]=le,ae},{})}),ii=Ar(function(ne){return ne.reduce(function(ae,le){return ae[le.descriptor.id]=le,ae},{})}),oo=Ar(function(ne){return po(ne)}),tn=Ar(function(ne){return po(ne)}),gn=Ar(function(ne,ae){var le=tn(ae).filter(function(me){return ne===me.descriptor.droppableId}).sort(function(me,Ae){return me.descriptor.index-Ae.descriptor.index});return le});function Un(ne){return ne.at&&ne.at.type==="REORDER"?ne.at.destination:null}function qe(ne){return ne.at&&ne.at.type==="COMBINE"?ne.at.combine:null}var Qn=Ar(function(ne,ae){return ae.filter(function(le){return le.descriptor.id!==ne.descriptor.id})}),Ma=function(ne){var ae=ne.isMovingForward,le=ne.draggable,me=ne.destination,Ae=ne.insideDestination,Ne=ne.previousImpact;if(!me.isCombineEnabled)return null;var Ge=Un(Ne);if(!Ge)return null;function Qe(_r){var ao={type:"COMBINE",combine:{draggableId:_r,droppableId:me.descriptor.id}};return(0,Re.Z)({},Ne,{at:ao})}var Pt=Ne.displaced.all,Qt=Pt.length?Pt[0]:null;if(ae)return Qt?Qe(Qt):null;var Ht=Qn(le,Ae);if(!Qt){if(!Ht.length)return null;var wt=Ht[Ht.length-1];return Qe(wt.descriptor.id)}var Dt=Lo(Ht,function(_r){return _r.descriptor.id===Qt});Dt===-1&&It(!1);var fn=Dt-1;if(fn<0)return null;var Ea=Ht[fn];return Qe(Ea.descriptor.id)},Ta=function(ne,ae){return ne.descriptor.droppableId===ae.descriptor.id},En={point:yi,value:0},Mn={invisible:{},visible:{},all:[]},Rn={displaced:Mn,displacedBy:En,at:null},ka=function(ne,ae){return function(le){return ne<=le&&le<=ae}},xr=function(ne){var ae=ka(ne.top,ne.bottom),le=ka(ne.left,ne.right);return function(me){var Ae=ae(me.top)&&ae(me.bottom)&&le(me.left)&&le(me.right);if(Ae)return!0;var Ne=ae(me.top)||ae(me.bottom),Ge=le(me.left)||le(me.right),Qe=Ne&&Ge;if(Qe)return!0;var Pt=me.top<ne.top&&me.bottom>ne.bottom,Qt=me.left<ne.left&&me.right>ne.right,Ht=Pt&&Qt;if(Ht)return!0;var wt=Pt&&Ge||Qt&&Ne;return wt}},Or=function(ne){var ae=ka(ne.top,ne.bottom),le=ka(ne.left,ne.right);return function(me){var Ae=ae(me.top)&&ae(me.bottom)&&le(me.left)&&le(me.right);return Ae}},Kr={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},uo={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},yr=function(ne){return function(ae){var le=ka(ae.top,ae.bottom),me=ka(ae.left,ae.right);return function(Ae){return ne===Kr?le(Ae.top)&&le(Ae.bottom):me(Ae.left)&&me(Ae.right)}}},Ha=function(ae,le){var me=le.frame?le.frame.scroll.diff.displacement:yi;return Fi(ae,me)},Hn=function(ae,le,me){return le.subject.active?me(le.subject.active)(ae):!1},Tn=function(ae,le,me){return me(le)(ae)},Oa=function(ae){var le=ae.target,me=ae.destination,Ae=ae.viewport,Ne=ae.withDroppableDisplacement,Ge=ae.isVisibleThroughFrameFn,Qe=Ne?Ha(le,me):le;return Hn(Qe,me,Ge)&&Tn(Qe,Ae,Ge)},Lr=function(ae){return Oa((0,Re.Z)({},ae,{isVisibleThroughFrameFn:xr}))},we=function(ae){return Oa((0,Re.Z)({},ae,{isVisibleThroughFrameFn:Or}))},an=function(ae){return Oa((0,Re.Z)({},ae,{isVisibleThroughFrameFn:yr(ae.destination.axis)}))},wn=function(ae,le,me){if(typeof me=="boolean")return me;if(!le)return!0;var Ae=le.invisible,Ne=le.visible;if(Ae[ae])return!1;var Ge=Ne[ae];return Ge?Ge.shouldAnimate:!0};function Wn(ne,ae){var le=ne.page.marginBox,me={top:ae.point.y,right:0,bottom:0,left:ae.point.x};return ba(lr(le,me))}function Ct(ne){var ae=ne.afterDragging,le=ne.destination,me=ne.displacedBy,Ae=ne.viewport,Ne=ne.forceShouldAnimate,Ge=ne.last;return ae.reduce(function(Pt,Qt){var Ht=Wn(Qt,me),wt=Qt.descriptor.id;Pt.all.push(wt);var Dt=Lr({target:Ht,destination:le,viewport:Ae,withDroppableDisplacement:!0});if(!Dt)return Pt.invisible[Qt.descriptor.id]=!0,Pt;var fn=wn(wt,Ge,Ne),Ea={draggableId:wt,shouldAnimate:fn};return Pt.visible[wt]=Ea,Pt},{all:[],visible:{},invisible:{}})}function jn(ne,ae){if(!ne.length)return 0;var le=ne[ne.length-1].descriptor.index;return ae.inHomeList?le:le+1}function Gn(ne){var ae=ne.insideDestination,le=ne.inHomeList,me=ne.displacedBy,Ae=ne.destination,Ne=jn(ae,{inHomeList:le});return{displaced:Mn,displacedBy:me,at:{type:"REORDER",destination:{droppableId:Ae.descriptor.id,index:Ne}}}}function In(ne){var ae=ne.draggable,le=ne.insideDestination,me=ne.destination,Ae=ne.viewport,Ne=ne.displacedBy,Ge=ne.last,Qe=ne.index,Pt=ne.forceShouldAnimate,Qt=Ta(ae,me);if(Qe==null)return Gn({insideDestination:le,inHomeList:Qt,displacedBy:Ne,destination:me});var Ht=rr(le,function(_r){return _r.descriptor.index===Qe});if(!Ht)return Gn({insideDestination:le,inHomeList:Qt,displacedBy:Ne,destination:me});var wt=Qn(ae,le),Dt=le.indexOf(Ht),fn=wt.slice(Dt),Ea=Ct({afterDragging:fn,destination:me,displacedBy:Ne,last:Ge,viewport:Ae.frame,forceShouldAnimate:Pt});return{displaced:Ea,displacedBy:Ne,at:{type:"REORDER",destination:{droppableId:me.descriptor.id,index:Qe}}}}function Jn(ne,ae){return!!ae.effected[ne]}var sr=function(ne){var ae=ne.isMovingForward,le=ne.destination,me=ne.draggables,Ae=ne.combine,Ne=ne.afterCritical;if(!le.isCombineEnabled)return null;var Ge=Ae.draggableId,Qe=me[Ge],Pt=Qe.descriptor.index,Qt=Jn(Ge,Ne);return Qt?ae?Pt:Pt-1:ae?Pt+1:Pt},hr=function(ne){var ae=ne.isMovingForward,le=ne.isInHomeList,me=ne.insideDestination,Ae=ne.location;if(!me.length)return null;var Ne=Ae.index,Ge=ae?Ne+1:Ne-1,Qe=me[0].descriptor.index,Pt=me[me.length-1].descriptor.index,Qt=le?Pt:Pt+1;return Ge<Qe||Ge>Qt?null:Ge},Qr=function(ne){var ae=ne.isMovingForward,le=ne.isInHomeList,me=ne.draggable,Ae=ne.draggables,Ne=ne.destination,Ge=ne.insideDestination,Qe=ne.previousImpact,Pt=ne.viewport,Qt=ne.afterCritical,Ht=Qe.at;if(Ht||It(!1),Ht.type==="REORDER"){var wt=hr({isMovingForward:ae,isInHomeList:le,location:Ht.destination,insideDestination:Ge});return wt==null?null:In({draggable:me,insideDestination:Ge,destination:Ne,viewport:Pt,last:Qe.displaced,displacedBy:Qe.displacedBy,index:wt})}var Dt=sr({isMovingForward:ae,destination:Ne,displaced:Qe.displaced,draggables:Ae,combine:Ht.combine,afterCritical:Qt});return Dt==null?null:In({draggable:me,insideDestination:Ge,destination:Ne,viewport:Pt,last:Qe.displaced,displacedBy:Qe.displacedBy,index:Dt})},Fr=function(ne){var ae=ne.displaced,le=ne.afterCritical,me=ne.combineWith,Ae=ne.displacedBy,Ne=!!(ae.visible[me]||ae.invisible[me]);return Jn(me,le)?Ne?yi:qa(Ae.point):Ne?Ae.point:yi},_o=function(ne){var ae=ne.afterCritical,le=ne.impact,me=ne.draggables,Ae=qe(le);Ae||It(!1);var Ne=Ae.draggableId,Ge=me[Ne].page.borderBox.center,Qe=Fr({displaced:le.displaced,afterCritical:ae,combineWith:Ne,displacedBy:le.displacedBy});return Hr(Ge,Qe)},Ho=function(ae,le){return le.margin[ae.start]+le.borderBox[ae.size]/2},zi=function(ae,le){return le.margin[ae.end]+le.borderBox[ae.size]/2},Gi=function(ae,le,me){return le[ae.crossAxisStart]+me.margin[ae.crossAxisStart]+me.borderBox[ae.crossAxisSize]/2},sl=function(ae){var le=ae.axis,me=ae.moveRelativeTo,Ae=ae.isMoving;return Ir(le.line,me.marginBox[le.end]+Ho(le,Ae),Gi(le,me.marginBox,Ae))},Oi=function(ae){var le=ae.axis,me=ae.moveRelativeTo,Ae=ae.isMoving;return Ir(le.line,me.marginBox[le.start]-zi(le,Ae),Gi(le,me.marginBox,Ae))},Zi=function(ae){var le=ae.axis,me=ae.moveInto,Ae=ae.isMoving;return Ir(le.line,me.contentBox[le.start]+Ho(le,Ae),Gi(le,me.contentBox,Ae))},El=function(ne){var ae=ne.impact,le=ne.draggable,me=ne.draggables,Ae=ne.droppable,Ne=ne.afterCritical,Ge=gn(Ae.descriptor.id,me),Qe=le.page,Pt=Ae.axis;if(!Ge.length)return Zi({axis:Pt,moveInto:Ae.page,isMoving:Qe});var Qt=ae.displaced,Ht=ae.displacedBy,wt=Qt.all[0];if(wt){var Dt=me[wt];if(Jn(wt,Ne))return Oi({axis:Pt,moveRelativeTo:Dt.page,isMoving:Qe});var fn=co(Dt.page,Ht.point);return Oi({axis:Pt,moveRelativeTo:fn,isMoving:Qe})}var Ea=Ge[Ge.length-1];if(Ea.descriptor.id===le.descriptor.id)return Qe.borderBox.center;if(Jn(Ea.descriptor.id,Ne)){var _r=co(Ea.page,qa(Ne.displacedBy.point));return sl({axis:Pt,moveRelativeTo:_r,isMoving:Qe})}return sl({axis:Pt,moveRelativeTo:Ea.page,isMoving:Qe})},Pl=function(ne,ae){var le=ne.frame;return le?Hr(ae,le.scroll.diff.displacement):ae},Mi=function(ae){var le=ae.impact,me=ae.draggable,Ae=ae.droppable,Ne=ae.draggables,Ge=ae.afterCritical,Qe=me.page.borderBox.center,Pt=le.at;return!Ae||!Pt?Qe:Pt.type==="REORDER"?El({impact:le,draggable:me,draggables:Ne,droppable:Ae,afterCritical:Ge}):_o({impact:le,draggables:Ne,afterCritical:Ge})},Qi=function(ne){var ae=Mi(ne),le=ne.droppable,me=le?Pl(le,ae):ae;return me},Xi=function(ne,ae){var le=Go(ae,ne.scroll.initial),me=qa(le),Ae=ba({top:ae.y,bottom:ae.y+ne.frame.height,left:ae.x,right:ae.x+ne.frame.width}),Ne={frame:Ae,scroll:{initial:ne.scroll.initial,max:ne.scroll.max,current:ae,diff:{value:le,displacement:me}}};return Ne};function Ki(ne,ae){return ne.map(function(le){return ae[le]})}function ul(ne,ae){for(var le=0;le<ae.length;le++){var me=ae[le].visible[ne];if(me)return me}return null}var Tl=function(ne){var ae=ne.impact,le=ne.viewport,me=ne.destination,Ae=ne.draggables,Ne=ne.maxScrollChange,Ge=Xi(le,Hr(le.scroll.current,Ne)),Qe=me.frame?Ka(me,Hr(me.frame.scroll.current,Ne)):me,Pt=ae.displaced,Qt=Ct({afterDragging:Ki(Pt.all,Ae),destination:me,displacedBy:ae.displacedBy,viewport:Ge.frame,last:Pt,forceShouldAnimate:!1}),Ht=Ct({afterDragging:Ki(Pt.all,Ae),destination:Qe,displacedBy:ae.displacedBy,viewport:le.frame,last:Pt,forceShouldAnimate:!1}),wt={},Dt={},fn=[Pt,Qt,Ht];Pt.all.forEach(function(_r){var ao=ul(_r,fn);if(ao){Dt[_r]=ao;return}wt[_r]=!0});var Ea=(0,Re.Z)({},ae,{displaced:{all:Pt.all,invisible:wt,visible:Dt}});return Ea},wl=function(ne,ae){return Hr(ne.scroll.diff.displacement,ae)},kl=function(ne){var ae=ne.pageBorderBoxCenter,le=ne.draggable,me=ne.viewport,Ae=wl(me,ae),Ne=Go(Ae,le.page.borderBox.center);return Hr(le.client.borderBox.center,Ne)},Dl=function(ne){var ae=ne.draggable,le=ne.destination,me=ne.newPageBorderBoxCenter,Ae=ne.viewport,Ne=ne.withDroppableDisplacement,Ge=ne.onlyOnMainAxis,Qe=Ge===void 0?!1:Ge,Pt=Go(me,ae.page.borderBox.center),Qt=Fi(ae.page.borderBox,Pt),Ht={target:Qt,destination:le,withDroppableDisplacement:Ne,viewport:Ae};return Qe?an(Ht):we(Ht)},Vl=function(ne){var ae=ne.isMovingForward,le=ne.draggable,me=ne.destination,Ae=ne.draggables,Ne=ne.previousImpact,Ge=ne.viewport,Qe=ne.previousPageBorderBoxCenter,Pt=ne.previousClientSelection,Qt=ne.afterCritical;if(!me.isEnabled)return null;var Ht=gn(me.descriptor.id,Ae),wt=Ta(le,me),Dt=Ma({isMovingForward:ae,draggable:le,destination:me,insideDestination:Ht,previousImpact:Ne})||Qr({isMovingForward:ae,isInHomeList:wt,draggable:le,draggables:Ae,destination:me,insideDestination:Ht,previousImpact:Ne,viewport:Ge,afterCritical:Qt});if(!Dt)return null;var fn=Qi({impact:Dt,draggable:le,droppable:me,draggables:Ae,afterCritical:Qt}),Ea=Dl({draggable:le,destination:me,newPageBorderBoxCenter:fn,viewport:Ge.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(Ea){var _r=kl({pageBorderBoxCenter:fn,draggable:le,viewport:Ge});return{clientSelection:_r,impact:Dt,scrollJumpRequest:null}}var ao=Go(fn,Qe),mo=Tl({impact:Dt,viewport:Ge,destination:me,draggables:Ae,maxScrollChange:ao});return{clientSelection:Pt,impact:mo,scrollJumpRequest:ao}},Ai=function(ae){var le=ae.subject.active;return le||It(!1),le},ki=function(ne){var ae=ne.isMovingForward,le=ne.pageBorderBoxCenter,me=ne.source,Ae=ne.droppables,Ne=ne.viewport,Ge=me.subject.active;if(!Ge)return null;var Qe=me.axis,Pt=ka(Ge[Qe.start],Ge[Qe.end]),Qt=oo(Ae).filter(function(wt){return wt!==me}).filter(function(wt){return wt.isEnabled}).filter(function(wt){return!!wt.subject.active}).filter(function(wt){return xr(Ne.frame)(Ai(wt))}).filter(function(wt){var Dt=Ai(wt);return ae?Ge[Qe.crossAxisEnd]<Dt[Qe.crossAxisEnd]:Dt[Qe.crossAxisStart]<Ge[Qe.crossAxisStart]}).filter(function(wt){var Dt=Ai(wt),fn=ka(Dt[Qe.start],Dt[Qe.end]);return Pt(Dt[Qe.start])||Pt(Dt[Qe.end])||fn(Ge[Qe.start])||fn(Ge[Qe.end])}).sort(function(wt,Dt){var fn=Ai(wt)[Qe.crossAxisStart],Ea=Ai(Dt)[Qe.crossAxisStart];return ae?fn-Ea:Ea-fn}).filter(function(wt,Dt,fn){return Ai(wt)[Qe.crossAxisStart]===Ai(fn[0])[Qe.crossAxisStart]});if(!Qt.length)return null;if(Qt.length===1)return Qt[0];var Ht=Qt.filter(function(wt){var Dt=ka(Ai(wt)[Qe.start],Ai(wt)[Qe.end]);return Dt(le[Qe.line])});return Ht.length===1?Ht[0]:Ht.length>1?Ht.sort(function(wt,Dt){return Ai(wt)[Qe.start]-Ai(Dt)[Qe.start]})[0]:Qt.sort(function(wt,Dt){var fn=ir(le,ei(Ai(wt))),Ea=ir(le,ei(Ai(Dt)));return fn!==Ea?fn-Ea:Ai(wt)[Qe.start]-Ai(Dt)[Qe.start]})[0]},Yi=function(ae,le){var me=ae.page.borderBox.center;return Jn(ae.descriptor.id,le)?Go(me,le.displacedBy.point):me},$l=function(ae,le){var me=ae.page.borderBox;return Jn(ae.descriptor.id,le)?Fi(me,qa(le.displacedBy.point)):me},Zl=function(ne){var ae=ne.pageBorderBoxCenter,le=ne.viewport,me=ne.destination,Ae=ne.insideDestination,Ne=ne.afterCritical,Ge=Ae.filter(function(Qe){return we({target:$l(Qe,Ne),destination:me,viewport:le.frame,withDroppableDisplacement:!0})}).sort(function(Qe,Pt){var Qt=vo(ae,Pl(me,Yi(Qe,Ne))),Ht=vo(ae,Pl(me,Yi(Pt,Ne)));return Qt<Ht?-1:Ht<Qt?1:Qe.descriptor.index-Pt.descriptor.index});return Ge[0]||null},Hi=Ar(function(ae,le){var me=le[ae.line];return{value:me,point:Ir(ae.line,me)}}),Li=function(ae,le,me){var Ae=ae.axis;if(ae.descriptor.mode==="virtual")return Ir(Ae.line,le[Ae.line]);var Ne=ae.subject.page.contentBox[Ae.size],Ge=gn(ae.descriptor.id,me),Qe=Ge.reduce(function(Ht,wt){return Ht+wt.client.marginBox[Ae.size]},0),Pt=Qe+le[Ae.line],Qt=Pt-Ne;return Qt<=0?null:Ir(Ae.line,Qt)},Nl=function(ae,le){return(0,Re.Z)({},ae,{scroll:(0,Re.Z)({},ae.scroll,{max:le})})},ti=function(ae,le,me){var Ae=ae.frame;Ta(le,ae)&&It(!1),ae.subject.withPlaceholder&&It(!1);var Ne=Hi(ae.axis,le.displaceBy).point,Ge=Li(ae,Ne,me),Qe={placeholderSize:Ne,increasedBy:Ge,oldFrameMaxScroll:ae.frame?ae.frame.scroll.max:null};if(!Ae){var Pt=xa({page:ae.subject.page,withPlaceholder:Qe,axis:ae.axis,frame:ae.frame});return(0,Re.Z)({},ae,{subject:Pt})}var Qt=Ge?Hr(Ae.scroll.max,Ge):Ae.scroll.max,Ht=Nl(Ae,Qt),wt=xa({page:ae.subject.page,withPlaceholder:Qe,axis:ae.axis,frame:Ht});return(0,Re.Z)({},ae,{subject:wt,frame:Ht})},gl=function(ae){var le=ae.subject.withPlaceholder;le||It(!1);var me=ae.frame;if(!me){var Ae=xa({page:ae.subject.page,axis:ae.axis,frame:null,withPlaceholder:null});return(0,Re.Z)({},ae,{subject:Ae})}var Ne=le.oldFrameMaxScroll;Ne||It(!1);var Ge=Nl(me,Ne),Qe=xa({page:ae.subject.page,axis:ae.axis,frame:Ge,withPlaceholder:null});return(0,Re.Z)({},ae,{subject:Qe,frame:Ge})},Il=function(ne){var ae=ne.previousPageBorderBoxCenter,le=ne.moveRelativeTo,me=ne.insideDestination,Ae=ne.draggable,Ne=ne.draggables,Ge=ne.destination,Qe=ne.viewport,Pt=ne.afterCritical;if(!le){if(me.length)return null;var Qt={displaced:Mn,displacedBy:En,at:{type:"REORDER",destination:{droppableId:Ge.descriptor.id,index:0}}},Ht=Qi({impact:Qt,draggable:Ae,droppable:Ge,draggables:Ne,afterCritical:Pt}),wt=Ta(Ae,Ge)?Ge:ti(Ge,Ae,Ne),Dt=Dl({draggable:Ae,destination:wt,newPageBorderBoxCenter:Ht,viewport:Qe.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Dt?Qt:null}var fn=ae[Ge.axis.line]<=le.page.borderBox.center[Ge.axis.line],Ea=function(){var ao=le.descriptor.index;return le.descriptor.id===Ae.descriptor.id||fn?ao:ao+1}(),_r=Hi(Ge.axis,Ae.displaceBy);return In({draggable:Ae,insideDestination:me,destination:Ge,viewport:Qe,displacedBy:_r,last:Mn,index:Ea})},Ql=function(ne){var ae=ne.isMovingForward,le=ne.previousPageBorderBoxCenter,me=ne.draggable,Ae=ne.isOver,Ne=ne.draggables,Ge=ne.droppables,Qe=ne.viewport,Pt=ne.afterCritical,Qt=ki({isMovingForward:ae,pageBorderBoxCenter:le,source:Ae,droppables:Ge,viewport:Qe});if(!Qt)return null;var Ht=gn(Qt.descriptor.id,Ne),wt=Zl({pageBorderBoxCenter:le,viewport:Qe,destination:Qt,insideDestination:Ht,afterCritical:Pt}),Dt=Il({previousPageBorderBoxCenter:le,destination:Qt,draggable:me,draggables:Ne,moveRelativeTo:wt,insideDestination:Ht,viewport:Qe,afterCritical:Pt});if(!Dt)return null;var fn=Qi({impact:Dt,draggable:me,droppable:Qt,draggables:Ne,afterCritical:Pt}),Ea=kl({pageBorderBoxCenter:fn,draggable:me,viewport:Qe});return{clientSelection:Ea,impact:Dt,scrollJumpRequest:null}},cl=function(ne){var ae=ne.at;return ae?ae.type==="REORDER"?ae.destination.droppableId:ae.combine.droppableId:null},Jl=function(ae,le){var me=cl(ae);return me?le[me]:null},Al=function(ne){var ae=ne.state,le=ne.type,me=Jl(ae.impact,ae.dimensions.droppables),Ae=!!me,Ne=ae.dimensions.droppables[ae.critical.droppable.id],Ge=me||Ne,Qe=Ge.axis.direction,Pt=Qe==="vertical"&&(le==="MOVE_UP"||le==="MOVE_DOWN")||Qe==="horizontal"&&(le==="MOVE_LEFT"||le==="MOVE_RIGHT");if(Pt&&!Ae)return null;var Qt=le==="MOVE_DOWN"||le==="MOVE_RIGHT",Ht=ae.dimensions.draggables[ae.critical.draggable.id],wt=ae.current.page.borderBoxCenter,Dt=ae.dimensions,fn=Dt.draggables,Ea=Dt.droppables;return Pt?Vl({isMovingForward:Qt,previousPageBorderBoxCenter:wt,draggable:Ht,destination:Ge,draggables:fn,viewport:ae.viewport,previousClientSelection:ae.current.client.selection,previousImpact:ae.impact,afterCritical:ae.afterCritical}):Ql({isMovingForward:Qt,previousPageBorderBoxCenter:wt,draggable:Ht,isOver:Ge,draggables:fn,droppables:Ea,viewport:ae.viewport,afterCritical:ae.afterCritical})};function vl(ne){return ne.phase==="DRAGGING"||ne.phase==="COLLECTING"}function ps(ne){var ae=ka(ne.top,ne.bottom),le=ka(ne.left,ne.right);return function(Ae){return ae(Ae.y)&&le(Ae.x)}}function Ws(ne,ae){return ne.left<ae.right&&ne.right>ae.left&&ne.top<ae.bottom&&ne.bottom>ae.top}function Ds(ne){var ae=ne.pageBorderBox,le=ne.draggable,me=ne.candidates,Ae=le.page.borderBox.center,Ne=me.map(function(Ge){var Qe=Ge.axis,Pt=Ir(Ge.axis.line,ae.center[Qe.line],Ge.page.borderBox.center[Qe.crossAxisLine]);return{id:Ge.descriptor.id,distance:vo(Ae,Pt)}}).sort(function(Ge,Qe){return Qe.distance-Ge.distance});return Ne[0]?Ne[0].id:null}function ho(ne){var ae=ne.pageBorderBox,le=ne.draggable,me=ne.droppables,Ae=oo(me).filter(function(Ne){if(!Ne.isEnabled)return!1;var Ge=Ne.subject.active;if(!Ge||!Ws(ae,Ge))return!1;if(ps(Ge)(ae.center))return!0;var Qe=Ne.axis,Pt=Ge.center[Qe.crossAxisLine],Qt=ae[Qe.crossAxisStart],Ht=ae[Qe.crossAxisEnd],wt=ka(Ge[Qe.crossAxisStart],Ge[Qe.crossAxisEnd]),Dt=wt(Qt),fn=wt(Ht);return!Dt&&!fn?!0:Dt?Qt<Pt:Ht>Pt});return Ae.length?Ae.length===1?Ae[0].descriptor.id:Ds({pageBorderBox:ae,draggable:le,candidates:Ae}):null}var Ul=function(ae,le){return ba(Fi(ae,le))},ts=function(ne,ae){var le=ne.frame;return le?Ul(ae,le.scroll.diff.value):ae};function br(ne){var ae=ne.displaced,le=ne.id;return!!(ae.visible[le]||ae.invisible[le])}function os(ne){var ae=ne.draggable,le=ne.closest,me=ne.inHomeList;return le?me&&le.descriptor.index>ae.descriptor.index?le.descriptor.index-1:le.descriptor.index:null}var Ns=function(ne){var ae=ne.pageBorderBoxWithDroppableScroll,le=ne.draggable,me=ne.destination,Ae=ne.insideDestination,Ne=ne.last,Ge=ne.viewport,Qe=ne.afterCritical,Pt=me.axis,Qt=Hi(me.axis,le.displaceBy),Ht=Qt.value,wt=ae[Pt.start],Dt=ae[Pt.end],fn=Qn(le,Ae),Ea=rr(fn,function(ao){var mo=ao.descriptor.id,To=ao.page.borderBox.center[Pt.line],Vo=Jn(mo,Qe),qo=br({displaced:Ne,id:mo});return Vo?qo?Dt<=To:wt<To-Ht:qo?Dt<=To+Ht:wt<To}),_r=os({draggable:le,closest:Ea,inHomeList:Ta(le,me)});return In({draggable:le,insideDestination:Ae,destination:me,viewport:Ge,last:Ne,displacedBy:Qt,index:_r})},zs=4,Hs=function(ne){var ae=ne.draggable,le=ne.pageBorderBoxWithDroppableScroll,me=ne.previousImpact,Ae=ne.destination,Ne=ne.insideDestination,Ge=ne.afterCritical;if(!Ae.isCombineEnabled)return null;var Qe=Ae.axis,Pt=Hi(Ae.axis,ae.displaceBy),Qt=Pt.value,Ht=le[Qe.start],wt=le[Qe.end],Dt=Qn(ae,Ne),fn=rr(Dt,function(_r){var ao=_r.descriptor.id,mo=_r.page.borderBox,To=mo[Qe.size],Vo=To/zs,qo=Jn(ao,Ge),Ii=br({displaced:me.displaced,id:ao});return qo?Ii?wt>mo[Qe.start]+Vo&&wt<mo[Qe.end]-Vo:Ht>mo[Qe.start]-Qt+Vo&&Ht<mo[Qe.end]-Qt-Vo:Ii?wt>mo[Qe.start]+Qt+Vo&&wt<mo[Qe.end]+Qt-Vo:Ht>mo[Qe.start]+Vo&&Ht<mo[Qe.end]-Vo});if(!fn)return null;var Ea={displacedBy:Pt,displaced:me.displaced,at:{type:"COMBINE",combine:{draggableId:fn.descriptor.id,droppableId:Ae.descriptor.id}}};return Ea},hs=function(ne){var ae=ne.pageOffset,le=ne.draggable,me=ne.draggables,Ae=ne.droppables,Ne=ne.previousImpact,Ge=ne.viewport,Qe=ne.afterCritical,Pt=Ul(le.page.borderBox,ae),Qt=ho({pageBorderBox:Pt,draggable:le,droppables:Ae});if(!Qt)return Rn;var Ht=Ae[Qt],wt=gn(Ht.descriptor.id,me),Dt=ts(Ht,Pt);return Hs({pageBorderBoxWithDroppableScroll:Dt,draggable:le,previousImpact:Ne,destination:Ht,insideDestination:wt,afterCritical:Qe})||Ns({pageBorderBoxWithDroppableScroll:Dt,draggable:le,destination:Ht,insideDestination:wt,last:Ne.displaced,viewport:Ge,afterCritical:Qe})},Ss=function(ne,ae){var le;return(0,Re.Z)({},ne,(le={},le[ae.descriptor.id]=ae,le))},rl=function(ae){var le=ae.previousImpact,me=ae.impact,Ae=ae.droppables,Ne=cl(le),Ge=cl(me);if(!Ne||Ne===Ge)return Ae;var Qe=Ae[Ne];if(!Qe.subject.withPlaceholder)return Ae;var Pt=gl(Qe);return Ss(Ae,Pt)},ys=function(ne){var ae=ne.draggable,le=ne.draggables,me=ne.droppables,Ae=ne.previousImpact,Ne=ne.impact,Ge=rl({previousImpact:Ae,impact:Ne,droppables:me}),Qe=cl(Ne);if(!Qe)return Ge;var Pt=me[Qe];if(Ta(ae,Pt)||Pt.subject.withPlaceholder)return Ge;var Qt=ti(Pt,ae,le);return Ss(Ge,Qt)},Wl=function(ne){var ae=ne.state,le=ne.clientSelection,me=ne.dimensions,Ae=ne.viewport,Ne=ne.impact,Ge=ne.scrollJumpRequest,Qe=Ae||ae.viewport,Pt=me||ae.dimensions,Qt=le||ae.current.client.selection,Ht=Go(Qt,ae.initial.client.selection),wt={offset:Ht,selection:Qt,borderBoxCenter:Hr(ae.initial.client.borderBoxCenter,Ht)},Dt={selection:Hr(wt.selection,Qe.scroll.current),borderBoxCenter:Hr(wt.borderBoxCenter,Qe.scroll.current),offset:Hr(wt.offset,Qe.scroll.diff.value)},fn={client:wt,page:Dt};if(ae.phase==="COLLECTING")return(0,Re.Z)({phase:"COLLECTING"},ae,{dimensions:Pt,viewport:Qe,current:fn});var Ea=Pt.draggables[ae.critical.draggable.id],_r=Ne||hs({pageOffset:Dt.offset,draggable:Ea,draggables:Pt.draggables,droppables:Pt.droppables,previousImpact:ae.impact,viewport:Qe,afterCritical:ae.afterCritical}),ao=ys({draggable:Ea,impact:_r,previousImpact:ae.impact,draggables:Pt.draggables,droppables:Pt.droppables}),mo=(0,Re.Z)({},ae,{current:fn,dimensions:{draggables:Pt.draggables,droppables:ao},impact:_r,viewport:Qe,scrollJumpRequest:Ge||null,forceShouldAnimate:Ge?!1:null});return mo};function Es(ne,ae){return ne.map(function(le){return ae[le]})}var is=function(ne){var ae=ne.impact,le=ne.viewport,me=ne.draggables,Ae=ne.destination,Ne=ne.forceShouldAnimate,Ge=ae.displaced,Qe=Es(Ge.all,me),Pt=Ct({afterDragging:Qe,destination:Ae,displacedBy:ae.displacedBy,viewport:le.frame,forceShouldAnimate:Ne,last:Ge});return(0,Re.Z)({},ae,{displaced:Pt})},Is=function(ne){var ae=ne.impact,le=ne.draggable,me=ne.droppable,Ae=ne.draggables,Ne=ne.viewport,Ge=ne.afterCritical,Qe=Qi({impact:ae,draggable:le,draggables:Ae,droppable:me,afterCritical:Ge});return kl({pageBorderBoxCenter:Qe,draggable:le,viewport:Ne})},Ps=function(ne){var ae=ne.state,le=ne.dimensions,me=ne.viewport;ae.movementMode!=="SNAP"&&It(!1);var Ae=ae.impact,Ne=me||ae.viewport,Ge=le||ae.dimensions,Qe=Ge.draggables,Pt=Ge.droppables,Qt=Qe[ae.critical.draggable.id],Ht=cl(Ae);Ht||It(!1);var wt=Pt[Ht],Dt=is({impact:Ae,viewport:Ne,destination:wt,draggables:Qe}),fn=Is({impact:Dt,draggable:Qt,droppable:wt,draggables:Qe,viewport:Ne,afterCritical:ae.afterCritical});return Wl({impact:Dt,clientSelection:fn,state:ae,dimensions:Ge,viewport:Ne})},Os=function(ne){return{index:ne.index,droppableId:ne.droppableId}},ls=function(ne){var ae=ne.draggable,le=ne.home,me=ne.draggables,Ae=ne.viewport,Ne=Hi(le.axis,ae.displaceBy),Ge=gn(le.descriptor.id,me),Qe=Ge.indexOf(ae);Qe===-1&&It(!1);var Pt=Ge.slice(Qe+1),Qt=Pt.reduce(function(fn,Ea){return fn[Ea.descriptor.id]=!0,fn},{}),Ht={inVirtualList:le.descriptor.mode==="virtual",displacedBy:Ne,effected:Qt},wt=Ct({afterDragging:Pt,destination:le,displacedBy:Ne,last:null,viewport:Ae.frame,forceShouldAnimate:!1}),Dt={displaced:wt,displacedBy:Ne,at:{type:"REORDER",destination:Os(ae.descriptor)}};return{impact:Dt,afterCritical:Ht}},Xl=function(ne,ae){return{draggables:ne.draggables,droppables:Ss(ne.droppables,ae)}},ss=function(ae){},fs=function(ae){},js=function(ne){var ae=ne.draggable,le=ne.offset,me=ne.initialWindowScroll,Ae=co(ae.client,le),Ne=Xr(Ae,me),Ge=(0,Re.Z)({},ae,{placeholder:(0,Re.Z)({},ae.placeholder,{client:Ae}),client:Ae,page:Ne});return Ge},ol=function(ne){var ae=ne.frame;return ae||It(!1),ae},bs=function(ne){var ae=ne.additions,le=ne.updatedDroppables,me=ne.viewport,Ae=me.scroll.diff.value;return ae.map(function(Ne){var Ge=Ne.descriptor.droppableId,Qe=le[Ge],Pt=ol(Qe),Qt=Pt.scroll.diff.value,Ht=Hr(Ae,Qt),wt=js({draggable:Ne,offset:Ht,initialWindowScroll:me.scroll.initial});return wt})},Ls=function(ne){var ae=ne.state,le=ne.published;ss();var me=le.modified.map(function(Vo){var qo=ae.dimensions.droppables[Vo.droppableId],Ii=Ka(qo,Vo.scroll);return Ii}),Ae=(0,Re.Z)({},ae.dimensions.droppables,{},ai(me)),Ne=ii(bs({additions:le.additions,updatedDroppables:Ae,viewport:ae.viewport})),Ge=(0,Re.Z)({},ae.dimensions.draggables,{},Ne);le.removals.forEach(function(Vo){delete Ge[Vo]});var Qe={droppables:Ae,draggables:Ge},Pt=cl(ae.impact),Qt=Pt?Qe.droppables[Pt]:null,Ht=Qe.draggables[ae.critical.draggable.id],wt=Qe.droppables[ae.critical.droppable.id],Dt=ls({draggable:Ht,home:wt,draggables:Ge,viewport:ae.viewport}),fn=Dt.impact,Ea=Dt.afterCritical,_r=Qt&&Qt.isCombineEnabled?ae.impact:fn,ao=hs({pageOffset:ae.current.page.offset,draggable:Qe.draggables[ae.critical.draggable.id],draggables:Qe.draggables,droppables:Qe.droppables,previousImpact:_r,viewport:ae.viewport,afterCritical:Ea});fs();var mo=(0,Re.Z)({phase:"DRAGGING"},ae,{phase:"DRAGGING",impact:ao,onLiftImpact:fn,dimensions:Qe,afterCritical:Ea,forceShouldAnimate:!1});if(ae.phase==="COLLECTING")return mo;var To=(0,Re.Z)({phase:"DROP_PENDING"},mo,{phase:"DROP_PENDING",reason:ae.reason,isWaiting:!1});return To},Cs=function(ae){return ae.movementMode==="SNAP"},Rs=function(ae,le,me){var Ae=Xl(ae.dimensions,le);return!Cs(ae)||me?Wl({state:ae,dimensions:Ae}):Ps({state:ae,dimensions:Ae})};function Yl(ne){return ne.isDragging&&ne.movementMode==="SNAP"?(0,Re.Z)({phase:"DRAGGING"},ne,{scrollJumpRequest:null}):ne}var ql={phase:"IDLE",completed:null,shouldFlush:!1},Gs=function(ne,ae){if(ne===void 0&&(ne=ql),ae.type==="FLUSH")return(0,Re.Z)({},ql,{shouldFlush:!0});if(ae.type==="INITIAL_PUBLISH"){ne.phase!=="IDLE"&&It(!1);var le=ae.payload,me=le.critical,Ae=le.clientSelection,Ne=le.viewport,Ge=le.dimensions,Qe=le.movementMode,Pt=Ge.draggables[me.draggable.id],Qt=Ge.droppables[me.droppable.id],Ht={selection:Ae,borderBoxCenter:Pt.client.borderBox.center,offset:yi},wt={client:Ht,page:{selection:Hr(Ht.selection,Ne.scroll.initial),borderBoxCenter:Hr(Ht.selection,Ne.scroll.initial),offset:Hr(Ht.selection,Ne.scroll.diff.value)}},Dt=oo(Ge.droppables).every(function(Zu){return!Zu.isFixedOnPage}),fn=ls({draggable:Pt,home:Qt,draggables:Ge.draggables,viewport:Ne}),Ea=fn.impact,_r=fn.afterCritical,ao={phase:"DRAGGING",isDragging:!0,critical:me,movementMode:Qe,dimensions:Ge,initial:wt,current:wt,isWindowScrollAllowed:Dt,impact:Ea,afterCritical:_r,onLiftImpact:Ea,viewport:Ne,scrollJumpRequest:null,forceShouldAnimate:null};return ao}if(ae.type==="COLLECTION_STARTING"){if(ne.phase==="COLLECTING"||ne.phase==="DROP_PENDING")return ne;ne.phase!=="DRAGGING"&&It(!1);var mo=(0,Re.Z)({phase:"COLLECTING"},ne,{phase:"COLLECTING"});return mo}if(ae.type==="PUBLISH_WHILE_DRAGGING")return ne.phase==="COLLECTING"||ne.phase==="DROP_PENDING"||It(!1),Ls({state:ne,published:ae.payload});if(ae.type==="MOVE"){if(ne.phase==="DROP_PENDING")return ne;vl(ne)||It(!1);var To=ae.payload.client;return pi(To,ne.current.client.selection)?ne:Wl({state:ne,clientSelection:To,impact:Cs(ne)?ne.impact:null})}if(ae.type==="UPDATE_DROPPABLE_SCROLL"){if(ne.phase==="DROP_PENDING"||ne.phase==="COLLECTING")return Yl(ne);vl(ne)||It(!1);var Vo=ae.payload,qo=Vo.id,Ii=Vo.newScroll,Bi=ne.dimensions.droppables[qo];if(!Bi)return ne;var _i=Ka(Bi,Ii);return Rs(ne,_i,!1)}if(ae.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ne.phase==="DROP_PENDING")return ne;vl(ne)||It(!1);var Sl=ae.payload,$i=Sl.id,yl=Sl.isEnabled,Ml=ne.dimensions.droppables[$i];Ml||It(!1),Ml.isEnabled===yl&&It(!1);var jl=(0,Re.Z)({},Ml,{isEnabled:yl});return Rs(ne,jl,!0)}if(ae.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ne.phase==="DROP_PENDING")return ne;vl(ne)||It(!1);var Ts=ae.payload,Bs=Ts.id,gs=Ts.isCombineEnabled,ks=ne.dimensions.droppables[Bs];ks||It(!1),ks.isCombineEnabled===gs&&It(!1);var Gl=(0,Re.Z)({},ks,{isCombineEnabled:gs});return Rs(ne,Gl,!0)}if(ae.type==="MOVE_BY_WINDOW_SCROLL"){if(ne.phase==="DROP_PENDING"||ne.phase==="DROP_ANIMATING")return ne;vl(ne)||It(!1),ne.isWindowScrollAllowed||It(!1);var Js=ae.payload.newScroll;if(pi(ne.viewport.scroll.current,Js))return Yl(ne);var Zs=Xi(ne.viewport,Js);return Cs(ne)?Ps({state:ne,viewport:Zs}):Wl({state:ne,viewport:Zs})}if(ae.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!vl(ne))return ne;var Pu=ae.payload.maxScroll;if(pi(Pu,ne.viewport.scroll.max))return ne;var nu=(0,Re.Z)({},ne.viewport,{scroll:(0,Re.Z)({},ne.viewport.scroll,{max:Pu})});return(0,Re.Z)({phase:"DRAGGING"},ne,{viewport:nu})}if(ae.type==="MOVE_UP"||ae.type==="MOVE_DOWN"||ae.type==="MOVE_LEFT"||ae.type==="MOVE_RIGHT"){if(ne.phase==="COLLECTING"||ne.phase==="DROP_PENDING")return ne;ne.phase!=="DRAGGING"&&It(!1);var Xs=Al({state:ne,type:ae.type});return Xs?Wl({state:ne,impact:Xs.impact,clientSelection:Xs.clientSelection,scrollJumpRequest:Xs.scrollJumpRequest}):ne}if(ae.type==="DROP_PENDING"){var Ks=ae.payload.reason;ne.phase!=="COLLECTING"&&It(!1);var au=(0,Re.Z)({phase:"DROP_PENDING"},ne,{phase:"DROP_PENDING",isWaiting:!0,reason:Ks});return au}if(ae.type==="DROP_ANIMATE"){var Mu=ae.payload,_s=Mu.completed,bu=Mu.dropDuration,Tu=Mu.newHomeClientOffset;ne.phase==="DRAGGING"||ne.phase==="DROP_PENDING"||It(!1);var cu={phase:"DROP_ANIMATING",completed:_s,dropDuration:bu,newHomeClientOffset:Tu,dimensions:ne.dimensions};return cu}if(ae.type==="DROP_COMPLETE"){var ku=ae.payload.completed;return{phase:"IDLE",completed:ku,shouldFlush:!1}}return ne},De=function(ae){return{type:"BEFORE_INITIAL_CAPTURE",payload:ae}},je=function(ae){return{type:"LIFT",payload:ae}},tt=function(ae){return{type:"INITIAL_PUBLISH",payload:ae}},Nt=function(ae){return{type:"PUBLISH_WHILE_DRAGGING",payload:ae}},Bn=function(){return{type:"COLLECTION_STARTING",payload:null}},Xn=function(ae){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ae}},Ca=function(ae){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ae}},Ga=function(ae){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ae}},Xa=function(ae){return{type:"MOVE",payload:ae}},mr=function(ae){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ae}},Zr=function(ae){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ae}},pr=function(){return{type:"MOVE_UP",payload:null}},Tr=function(){return{type:"MOVE_DOWN",payload:null}},Sr=function(){return{type:"MOVE_RIGHT",payload:null}},no=function(){return{type:"MOVE_LEFT",payload:null}},Po=function(){return{type:"FLUSH",payload:null}},wo=function(ae){return{type:"DROP_ANIMATE",payload:ae}},Ko=function(ae){return{type:"DROP_COMPLETE",payload:ae}},Ee=function(ae){return{type:"DROP",payload:ae}},Ie=function(ae){return{type:"DROP_PENDING",payload:ae}},pt=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Se(ne){if(!(ne.length<=1)){for(var ae=ne.map(function(Qe){return Qe.descriptor.index}),le={},me=1;me<ae.length;me++){var Ae=ae[me],Ne=ae[me-1];Ae!==Ne+1&&(le[Ae]=!0)}if(Object.keys(le).length)var Ge=ae.map(function(Qe){var Pt=!!le[Qe];return Pt?"[\u{1F525}"+Qe+"]":""+Qe}).join(", ")}}function st(ne,ae){if(0)var le}var yt=function(ne){return function(ae){var le=ae.getState,me=ae.dispatch;return function(Ae){return function(Ne){if(Ne.type!=="LIFT"){Ae(Ne);return}var Ge=Ne.payload,Qe=Ge.id,Pt=Ge.clientSelection,Qt=Ge.movementMode,Ht=le();Ht.phase==="DROP_ANIMATING"&&me(Ko({completed:Ht.completed})),le().phase!=="IDLE"&&It(!1),me(Po()),me(De({draggableId:Qe,movementMode:Qt}));var wt={shouldPublishImmediately:Qt==="SNAP"},Dt={draggableId:Qe,scrollOptions:wt},fn=ne.startPublishing(Dt),Ea=fn.critical,_r=fn.dimensions,ao=fn.viewport;st(Ea,_r),me(tt({critical:Ea,dimensions:_r,clientSelection:Pt,movementMode:Qt,viewport:ao}))}}}},Zt=function(ne){return function(){return function(ae){return function(le){le.type==="INITIAL_PUBLISH"&&ne.dragging(),le.type==="DROP_ANIMATE"&&ne.dropping(le.payload.completed.result.reason),(le.type==="FLUSH"||le.type==="DROP_COMPLETE")&&ne.resting(),ae(le)}}}},Xe={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},it={opacity:{drop:0,combining:.7},scale:{drop:.75}},gt={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},en=gt.outOfTheWay+"s "+Xe.outOfTheWay,pn={fluid:"opacity "+en,snap:"transform "+en+", opacity "+en,drop:function(ae){var le=ae+"s "+Xe.drop;return"transform "+le+", opacity "+le},outOfTheWay:"transform "+en,placeholder:"height "+en+", width "+en+", margin "+en},kn=function(ae){return pi(ae,yi)?null:"translate("+ae.x+"px, "+ae.y+"px)"},Pn={moveTo:kn,drop:function(ae,le){var me=kn(ae);return me?le?me+" scale("+it.scale.drop+")":me:null}},zn=gt.minDropTime,fe=gt.maxDropTime,xe=fe-zn,be=1500,dt=.6,Ut=function(ne){var ae=ne.current,le=ne.destination,me=ne.reason,Ae=vo(ae,le);if(Ae<=0)return zn;if(Ae>=be)return fe;var Ne=Ae/be,Ge=zn+xe*Ne,Qe=me==="CANCEL"?Ge*dt:Ge;return Number(Qe.toFixed(2))},Cn=function(ne){var ae=ne.impact,le=ne.draggable,me=ne.dimensions,Ae=ne.viewport,Ne=ne.afterCritical,Ge=me.draggables,Qe=me.droppables,Pt=cl(ae),Qt=Pt?Qe[Pt]:null,Ht=Qe[le.descriptor.droppableId],wt=Is({impact:ae,draggable:le,draggables:Ge,afterCritical:Ne,droppable:Qt||Ht,viewport:Ae}),Dt=Go(wt,le.client.borderBox.center);return Dt},On=function(ne){var ae=ne.draggables,le=ne.reason,me=ne.lastImpact,Ae=ne.home,Ne=ne.viewport,Ge=ne.onLiftImpact;if(!me.at||le!=="DROP"){var Qe=is({draggables:ae,impact:Ge,destination:Ae,viewport:Ne,forceShouldAnimate:!0});return{impact:Qe,didDropInsideDroppable:!1}}if(me.at.type==="REORDER")return{impact:me,didDropInsideDroppable:!0};var Pt=(0,Re.Z)({},me,{displaced:Mn});return{impact:Pt,didDropInsideDroppable:!0}},$t=function(ne){var ae=ne.getState,le=ne.dispatch;return function(me){return function(Ae){if(Ae.type!=="DROP"){me(Ae);return}var Ne=ae(),Ge=Ae.payload.reason;if(Ne.phase==="COLLECTING"){le(Ie({reason:Ge}));return}if(Ne.phase!=="IDLE"){var Qe=Ne.phase==="DROP_PENDING"&&Ne.isWaiting;Qe&&It(!1),Ne.phase==="DRAGGING"||Ne.phase==="DROP_PENDING"||It(!1);var Pt=Ne.critical,Qt=Ne.dimensions,Ht=Qt.draggables[Ne.critical.draggable.id],wt=On({reason:Ge,lastImpact:Ne.impact,afterCritical:Ne.afterCritical,onLiftImpact:Ne.onLiftImpact,home:Ne.dimensions.droppables[Ne.critical.droppable.id],viewport:Ne.viewport,draggables:Ne.dimensions.draggables}),Dt=wt.impact,fn=wt.didDropInsideDroppable,Ea=fn?Un(Dt):null,_r=fn?qe(Dt):null,ao={index:Pt.draggable.index,droppableId:Pt.droppable.id},mo={draggableId:Ht.descriptor.id,type:Ht.descriptor.type,source:ao,reason:Ge,mode:Ne.movementMode,destination:Ea,combine:_r},To=Cn({impact:Dt,draggable:Ht,dimensions:Qt,viewport:Ne.viewport,afterCritical:Ne.afterCritical}),Vo={critical:Ne.critical,afterCritical:Ne.afterCritical,result:mo,impact:Dt},qo=!pi(Ne.current.client.offset,To)||!!mo.combine;if(!qo){le(Ko({completed:Vo}));return}var Ii=Ut({current:Ne.current.client.offset,destination:To,reason:Ge}),Bi={newHomeClientOffset:To,dropDuration:Ii,completed:Vo};le(wo(Bi))}}}},Mt=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Gt(ne){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(le){le.target!==window&&le.target!==window.document||ne()}}}function yn(ne){var ae=ne.onWindowScroll;function le(){ae(Mt())}var me=Wa(le),Ae=Gt(me),Ne=ro;function Ge(){return Ne!==ro}function Qe(){Ge()&&It(!1),Ne=Ya(window,[Ae])}function Pt(){Ge()||It(!1),me.cancel(),Ne(),Ne=ro}return{start:Qe,stop:Pt,isActive:Ge}}var xt=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},Xt=function(ne){var ae=yn({onWindowScroll:function(me){ne.dispatch(mr({newScroll:me}))}});return function(le){return function(me){!ae.isActive()&&me.type==="INITIAL_PUBLISH"&&ae.start(),ae.isActive()&&xt(me)&&ae.stop(),le(me)}}},qn=function(ne){var ae=!1,le=!1,me=setTimeout(function(){le=!0}),Ae=function(Ge){ae||le||(ae=!0,ne(Ge),clearTimeout(me))};return Ae.wasCalled=function(){return ae},Ae},ea=function(){var ne=[],ae=function(Ne){var Ge=Lo(ne,function(Qt){return Qt.timerId===Ne});Ge===-1&&It(!1);var Qe=ne.splice(Ge,1),Pt=Qe[0];Pt.callback()},le=function(Ne){var Ge=setTimeout(function(){return ae(Ge)}),Qe={timerId:Ge,callback:Ne};ne.push(Qe)},me=function(){if(ne.length){var Ne=[].concat(ne);ne.length=0,Ne.forEach(function(Ge){clearTimeout(Ge.timerId),Ge.callback()})}};return{add:le,flush:me}},Ln=function(ae,le){return ae==null&&le==null?!0:ae==null||le==null?!1:ae.droppableId===le.droppableId&&ae.index===le.index},ra=function(ae,le){return ae==null&&le==null?!0:ae==null||le==null?!1:ae.draggableId===le.draggableId&&ae.droppableId===le.droppableId},rn=function(ae,le){if(ae===le)return!0;var me=ae.draggable.id===le.draggable.id&&ae.draggable.droppableId===le.draggable.droppableId&&ae.draggable.type===le.draggable.type&&ae.draggable.index===le.draggable.index,Ae=ae.droppable.id===le.droppable.id&&ae.droppable.type===le.droppable.type;return me&&Ae},sa=function(ae,le){ss(),le(),fs()},Ua=function(ae,le){return{draggableId:ae.draggable.id,type:ae.droppable.type,source:{droppableId:ae.droppable.id,index:ae.draggable.index},mode:le}},Fn=function(ae,le,me,Ae){if(!ae){me(Ae(le));return}var Ne=qn(me),Ge={announce:Ne};ae(le,Ge),Ne.wasCalled()||me(Ae(le))},xn=function(ne,ae){var le=ea(),me=null,Ae=function(Dt,fn){me&&It(!1),sa("onBeforeCapture",function(){var Ea=ne().onBeforeCapture;if(Ea){var _r={draggableId:Dt,mode:fn};Ea(_r)}})},Ne=function(Dt,fn){me&&It(!1),sa("onBeforeDragStart",function(){var Ea=ne().onBeforeDragStart;Ea&&Ea(Ua(Dt,fn))})},Ge=function(Dt,fn){me&&It(!1);var Ea=Ua(Dt,fn);me={mode:fn,lastCritical:Dt,lastLocation:Ea.source,lastCombine:null},le.add(function(){sa("onDragStart",function(){return Fn(ne().onDragStart,Ea,ae,Da.onDragStart)})})},Qe=function(Dt,fn){var Ea=Un(fn),_r=qe(fn);me||It(!1);var ao=!rn(Dt,me.lastCritical);ao&&(me.lastCritical=Dt);var mo=!Ln(me.lastLocation,Ea);mo&&(me.lastLocation=Ea);var To=!ra(me.lastCombine,_r);if(To&&(me.lastCombine=_r),!(!ao&&!mo&&!To)){var Vo=(0,Re.Z)({},Ua(Dt,me.mode),{combine:_r,destination:Ea});le.add(function(){sa("onDragUpdate",function(){return Fn(ne().onDragUpdate,Vo,ae,Da.onDragUpdate)})})}},Pt=function(){me||It(!1),le.flush()},Qt=function(Dt){me||It(!1),me=null,sa("onDragEnd",function(){return Fn(ne().onDragEnd,Dt,ae,Da.onDragEnd)})},Ht=function(){if(me){var Dt=(0,Re.Z)({},Ua(me.lastCritical,me.mode),{combine:null,destination:null,reason:"CANCEL"});Qt(Dt)}};return{beforeCapture:Ae,beforeStart:Ne,start:Ge,update:Qe,flush:Pt,drop:Qt,abort:Ht}},wr=function(ne,ae){var le=xn(ne,ae);return function(me){return function(Ae){return function(Ne){if(Ne.type==="BEFORE_INITIAL_CAPTURE"){le.beforeCapture(Ne.payload.draggableId,Ne.payload.movementMode);return}if(Ne.type==="INITIAL_PUBLISH"){var Ge=Ne.payload.critical;le.beforeStart(Ge,Ne.payload.movementMode),Ae(Ne),le.start(Ge,Ne.payload.movementMode);return}if(Ne.type==="DROP_COMPLETE"){var Qe=Ne.payload.completed.result;le.flush(),Ae(Ne),le.drop(Qe);return}if(Ae(Ne),Ne.type==="FLUSH"){le.abort();return}var Pt=me.getState();Pt.phase==="DRAGGING"&&le.update(Pt.critical,Pt.impact)}}}},Mr=function(ne){return function(ae){return function(le){if(le.type!=="DROP_ANIMATION_FINISHED"){ae(le);return}var me=ne.getState();me.phase!=="DROP_ANIMATING"&&It(!1),ne.dispatch(Ko({completed:me.completed}))}}},qr=function(ne){var ae=null,le=null;function me(){le&&(cancelAnimationFrame(le),le=null),ae&&(ae(),ae=null)}return function(Ae){return function(Ne){if((Ne.type==="FLUSH"||Ne.type==="DROP_COMPLETE"||Ne.type==="DROP_ANIMATION_FINISHED")&&me(),Ae(Ne),Ne.type==="DROP_ANIMATE"){var Ge={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Pt=ne.getState();Pt.phase==="DROP_ANIMATING"&&ne.dispatch(pt())}};le=requestAnimationFrame(function(){le=null,ae=Ya(window,[Ge])})}}}},Br=function(ne){return function(){return function(ae){return function(le){(le.type==="DROP_COMPLETE"||le.type==="FLUSH"||le.type==="DROP_ANIMATE")&&ne.stopPublishing(),ae(le)}}}},eo=function(ne){var ae=!1;return function(){return function(le){return function(me){if(me.type==="INITIAL_PUBLISH"){ae=!0,ne.tryRecordFocus(me.payload.critical.draggable.id),le(me),ne.tryRestoreFocusRecorded();return}if(le(me),!!ae){if(me.type==="FLUSH"){ae=!1,ne.tryRestoreFocusRecorded();return}if(me.type==="DROP_COMPLETE"){ae=!1;var Ae=me.payload.completed.result;Ae.combine&&ne.tryShiftRecord(Ae.draggableId,Ae.combine.draggableId),ne.tryRestoreFocusRecorded()}}}}}},Ra=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},tr=function(ne){return function(ae){return function(le){return function(me){if(Ra(me)){ne.stop(),le(me);return}if(me.type==="INITIAL_PUBLISH"){le(me);var Ae=ae.getState();Ae.phase!=="DRAGGING"&&It(!1),ne.start(Ae);return}le(me),ne.scroll(ae.getState())}}}},Va=function(ne){return function(ae){return function(le){if(ae(le),le.type==="PUBLISH_WHILE_DRAGGING"){var me=ne.getState();me.phase==="DROP_PENDING"&&(me.isWaiting||ne.dispatch(Ee({reason:me.reason})))}}}},Rr=ye.qC,jr=function(ne){var ae=ne.dimensionMarshal,le=ne.focusMarshal,me=ne.styleMarshal,Ae=ne.getResponders,Ne=ne.announce,Ge=ne.autoScroller;return(0,ye.MT)(Gs,Rr((0,ye.md)(Zt(me),Br(ae),yt(ae),$t,Mr,qr,Va,tr(Ge),Xt,eo(le),wr(Ae,Ne))))},Er=function(){return{additions:{},removals:{},modified:{}}};function io(ne){var ae=ne.registry,le=ne.callbacks,me=Er(),Ae=null,Ne=function(){Ae||(le.collectionStarting(),Ae=requestAnimationFrame(function(){Ae=null,ss();var Ht=me,wt=Ht.additions,Dt=Ht.removals,fn=Ht.modified,Ea=Object.keys(wt).map(function(mo){return ae.draggable.getById(mo).getDimension(yi)}).sort(function(mo,To){return mo.descriptor.index-To.descriptor.index}),_r=Object.keys(fn).map(function(mo){var To=ae.droppable.getById(mo),Vo=To.callbacks.getScrollWhileDragging();return{droppableId:mo,scroll:Vo}}),ao={additions:Ea,removals:Object.keys(Dt),modified:_r};me=Er(),fs(),le.publish(ao)}))},Ge=function(Ht){var wt=Ht.descriptor.id;me.additions[wt]=Ht,me.modified[Ht.descriptor.droppableId]=!0,me.removals[wt]&&delete me.removals[wt],Ne()},Qe=function(Ht){var wt=Ht.descriptor;me.removals[wt.id]=!0,me.modified[wt.droppableId]=!0,me.additions[wt.id]&&delete me.additions[wt.id],Ne()},Pt=function(){Ae&&(cancelAnimationFrame(Ae),Ae=null,me=Er())};return{add:Ge,remove:Qe,stop:Pt}}var Gr=function(ne){var ae=ne.scrollHeight,le=ne.scrollWidth,me=ne.height,Ae=ne.width,Ne=Go({x:le,y:ae},{x:Ae,y:me}),Ge={x:Math.max(0,Ne.x),y:Math.max(0,Ne.y)};return Ge},Ur=function(){var ne=document.documentElement;return ne||It(!1),ne},So=function(){var ne=Ur(),ae=Gr({scrollHeight:ne.scrollHeight,scrollWidth:ne.scrollWidth,width:ne.clientWidth,height:ne.clientHeight});return ae},Ro=function(){var ne=Mt(),ae=So(),le=ne.y,me=ne.x,Ae=Ur(),Ne=Ae.clientWidth,Ge=Ae.clientHeight,Qe=me+Ne,Pt=le+Ge,Qt=ba({top:le,left:me,right:Qe,bottom:Pt}),Ht={frame:Qt,scroll:{initial:ne,current:ne,max:ae,diff:{value:yi,displacement:yi}}};return Ht},jo=function(ne){var ae=ne.critical,le=ne.scrollOptions,me=ne.registry;ss();var Ae=Ro(),Ne=Ae.scroll.current,Ge=ae.droppable,Qe=me.droppable.getAllByType(Ge.type).map(function(wt){return wt.callbacks.getDimensionAndWatchScroll(Ne,le)}),Pt=me.draggable.getAllByType(ae.draggable.type).map(function(wt){return wt.getDimension(Ne)}),Qt={draggables:ii(Pt),droppables:ai(Qe)};fs();var Ht={dimensions:Qt,critical:ae,viewport:Ae};return Ht};function Mo(ne,ae,le){if(le.descriptor.id===ae.id||le.descriptor.type!==ae.type)return!1;var me=ne.droppable.getById(le.descriptor.droppableId);return me.descriptor.mode==="virtual"}var li=function(ne,ae){var le=null,me=io({callbacks:{publish:ae.publishWhileDragging,collectionStarting:ae.collectionStarting},registry:ne}),Ae=function(fn,Ea){ne.droppable.exists(fn)||It(!1),le&&ae.updateDroppableIsEnabled({id:fn,isEnabled:Ea})},Ne=function(fn,Ea){le&&(ne.droppable.exists(fn)||It(!1),ae.updateDroppableIsCombineEnabled({id:fn,isCombineEnabled:Ea}))},Ge=function(fn,Ea){le&&(ne.droppable.exists(fn)||It(!1),ae.updateDroppableScroll({id:fn,newScroll:Ea}))},Qe=function(fn,Ea){le&&ne.droppable.getById(fn).callbacks.scroll(Ea)},Pt=function(){if(le){me.stop();var fn=le.critical.droppable;ne.droppable.getAllByType(fn.type).forEach(function(Ea){return Ea.callbacks.dragStopped()}),le.unsubscribe(),le=null}},Qt=function(fn){le||It(!1);var Ea=le.critical.draggable;fn.type==="ADDITION"&&Mo(ne,Ea,fn.value)&&me.add(fn.value),fn.type==="REMOVAL"&&Mo(ne,Ea,fn.value)&&me.remove(fn.value)},Ht=function(fn){le&&It(!1);var Ea=ne.draggable.getById(fn.draggableId),_r=ne.droppable.getById(Ea.descriptor.droppableId),ao={draggable:Ea.descriptor,droppable:_r.descriptor},mo=ne.subscribe(Qt);return le={critical:ao,unsubscribe:mo},jo({critical:ao,registry:ne,scrollOptions:fn.scrollOptions})},wt={updateDroppableIsEnabled:Ae,updateDroppableIsCombineEnabled:Ne,scrollDroppable:Qe,updateDroppableScroll:Ge,startPublishing:Ht,stopPublishing:Pt};return wt},oi=function(ne,ae){return ne.phase==="IDLE"?!0:ne.phase!=="DROP_ANIMATING"||ne.completed.result.draggableId===ae?!1:ne.completed.result.reason==="DROP"},Xo=function(ne){window.scrollBy(ne.x,ne.y)},Yo=Ar(function(ne){return oo(ne).filter(function(ae){return!(!ae.isEnabled||!ae.frame)})}),Uo=function(ae,le){var me=rr(Yo(le),function(Ae){return Ae.frame||It(!1),ps(Ae.frame.pageMarginBox)(ae)});return me},lo=function(ne){var ae=ne.center,le=ne.destination,me=ne.droppables;if(le){var Ae=me[le];return Ae.frame?Ae:null}var Ne=Uo(ae,me);return Ne},Ao={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ae){return Math.pow(ae,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},si=function(ne,ae){var le=ne[ae.size]*Ao.startFromPercentage,me=ne[ae.size]*Ao.maxScrollAtPercentage,Ae={startScrollingFrom:le,maxScrollValueAt:me};return Ae},Qo=function(ne){var ae=ne.startOfRange,le=ne.endOfRange,me=ne.current,Ae=le-ae;if(Ae===0)return 0;var Ne=me-ae,Ge=Ne/Ae;return Ge},Ei=1,fo=function(ne,ae){if(ne>ae.startScrollingFrom)return 0;if(ne<=ae.maxScrollValueAt)return Ao.maxPixelScroll;if(ne===ae.startScrollingFrom)return Ei;var le=Qo({startOfRange:ae.maxScrollValueAt,endOfRange:ae.startScrollingFrom,current:ne}),me=1-le,Ae=Ao.maxPixelScroll*Ao.ease(me);return Math.ceil(Ae)},Za=Ao.durationDampening.accelerateAt,Vr=Ao.durationDampening.stopDampeningAt,Wr=function(ne,ae){var le=ae,me=Vr,Ae=Date.now(),Ne=Ae-le;if(Ne>=Vr)return ne;if(Ne<Za)return Ei;var Ge=Qo({startOfRange:Za,endOfRange:me,current:Ne}),Qe=ne*Ao.ease(Ge);return Math.ceil(Qe)},ur=function(ne){var ae=ne.distanceToEdge,le=ne.thresholds,me=ne.dragStartTime,Ae=ne.shouldUseTimeDampening,Ne=fo(ae,le);return Ne===0?0:Ae?Math.max(Wr(Ne,me),Ei):Ne},yo=function(ne){var ae=ne.container,le=ne.distanceToEdges,me=ne.dragStartTime,Ae=ne.axis,Ne=ne.shouldUseTimeDampening,Ge=si(ae,Ae),Qe=le[Ae.end]<le[Ae.start];return Qe?ur({distanceToEdge:le[Ae.end],thresholds:Ge,dragStartTime:me,shouldUseTimeDampening:Ne}):-1*ur({distanceToEdge:le[Ae.start],thresholds:Ge,dragStartTime:me,shouldUseTimeDampening:Ne})},di=function(ne){var ae=ne.container,le=ne.subject,me=ne.proposedScroll,Ae=le.height>ae.height,Ne=le.width>ae.width;return!Ne&&!Ae?me:Ne&&Ae?null:{x:Ne?0:me.x,y:Ae?0:me.y}},Pi=fi(function(ne){return ne===0?0:ne}),Di=function(ne){var ae=ne.dragStartTime,le=ne.container,me=ne.subject,Ae=ne.center,Ne=ne.shouldUseTimeDampening,Ge={top:Ae.y-le.top,right:le.right-Ae.x,bottom:le.bottom-Ae.y,left:Ae.x-le.left},Qe=yo({container:le,distanceToEdges:Ge,dragStartTime:ae,axis:Kr,shouldUseTimeDampening:Ne}),Pt=yo({container:le,distanceToEdges:Ge,dragStartTime:ae,axis:uo,shouldUseTimeDampening:Ne}),Qt=Pi({x:Pt,y:Qe});if(pi(Qt,yi))return null;var Ht=di({container:le,subject:me,proposedScroll:Qt});return Ht?pi(Ht,yi)?null:Ht:null},Ri=fi(function(ne){return ne===0?0:ne>0?1:-1}),ge=function(){var ne=function(le,me){return le<0?le:le>me?le-me:0};return function(ae){var le=ae.current,me=ae.max,Ae=ae.change,Ne=Hr(le,Ae),Ge={x:ne(Ne.x,me.x),y:ne(Ne.y,me.y)};return pi(Ge,yi)?null:Ge}}(),ve=function(ae){var le=ae.max,me=ae.current,Ae=ae.change,Ne={x:Math.max(me.x,le.x),y:Math.max(me.y,le.y)},Ge=Ri(Ae),Qe=ge({max:Ne,current:me,change:Ge});return!Qe||Ge.x!==0&&Qe.x===0||Ge.y!==0&&Qe.y===0},Le=function(ae,le){return ve({current:ae.scroll.current,max:ae.scroll.max,change:le})},Ve=function(ae,le){if(!Le(ae,le))return null;var me=ae.scroll.max,Ae=ae.scroll.current;return ge({current:Ae,max:me,change:le})},rt=function(ae,le){var me=ae.frame;return me?ve({current:me.scroll.current,max:me.scroll.max,change:le}):!1},ct=function(ae,le){var me=ae.frame;return!me||!rt(ae,le)?null:ge({current:me.scroll.current,max:me.scroll.max,change:le})},_t=function(ne){var ae=ne.viewport,le=ne.subject,me=ne.center,Ae=ne.dragStartTime,Ne=ne.shouldUseTimeDampening,Ge=Di({dragStartTime:Ae,container:ae.frame,subject:le,center:me,shouldUseTimeDampening:Ne});return Ge&&Le(ae,Ge)?Ge:null},on=function(ne){var ae=ne.droppable,le=ne.subject,me=ne.center,Ae=ne.dragStartTime,Ne=ne.shouldUseTimeDampening,Ge=ae.frame;if(!Ge)return null;var Qe=Di({dragStartTime:Ae,container:Ge.pageMarginBox,subject:le,center:me,shouldUseTimeDampening:Ne});return Qe&&rt(ae,Qe)?Qe:null},Et=function(ne){var ae=ne.state,le=ne.dragStartTime,me=ne.shouldUseTimeDampening,Ae=ne.scrollWindow,Ne=ne.scrollDroppable,Ge=ae.current.page.borderBoxCenter,Qe=ae.dimensions.draggables[ae.critical.draggable.id],Pt=Qe.page.marginBox;if(ae.isWindowScrollAllowed){var Qt=ae.viewport,Ht=_t({dragStartTime:le,viewport:Qt,subject:Pt,center:Ge,shouldUseTimeDampening:me});if(Ht){Ae(Ht);return}}var wt=lo({center:Ge,destination:cl(ae.impact),droppables:ae.dimensions.droppables});if(wt){var Dt=on({dragStartTime:le,droppable:wt,subject:Pt,center:Ge,shouldUseTimeDampening:me});Dt&&Ne(wt.descriptor.id,Dt)}},bt=function(ne){var ae=ne.scrollWindow,le=ne.scrollDroppable,me=Wa(ae),Ae=Wa(le),Ne=null,Ge=function(Ht){Ne||It(!1);var wt=Ne,Dt=wt.shouldUseTimeDampening,fn=wt.dragStartTime;Et({state:Ht,scrollWindow:me,scrollDroppable:Ae,dragStartTime:fn,shouldUseTimeDampening:Dt})},Qe=function(Ht){ss(),Ne&&It(!1);var wt=Date.now(),Dt=!1,fn=function(){Dt=!0};Et({state:Ht,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:fn,scrollDroppable:fn}),Ne={dragStartTime:wt,shouldUseTimeDampening:Dt},fs(),Dt&&Ge(Ht)},Pt=function(){Ne&&(me.cancel(),Ae.cancel(),Ne=null)};return{start:Qe,stop:Pt,scroll:Ge}},un=function(ne){var ae=ne.move,le=ne.scrollDroppable,me=ne.scrollWindow,Ae=function(Qt,Ht){var wt=Hr(Qt.current.client.selection,Ht);ae({client:wt})},Ne=function(Qt,Ht){if(!rt(Qt,Ht))return Ht;var wt=ct(Qt,Ht);if(!wt)return le(Qt.descriptor.id,Ht),null;var Dt=Go(Ht,wt);le(Qt.descriptor.id,Dt);var fn=Go(Ht,Dt);return fn},Ge=function(Qt,Ht,wt){if(!Qt||!Le(Ht,wt))return wt;var Dt=Ve(Ht,wt);if(!Dt)return me(wt),null;var fn=Go(wt,Dt);me(fn);var Ea=Go(wt,fn);return Ea},Qe=function(Qt){var Ht=Qt.scrollJumpRequest;if(Ht){var wt=cl(Qt.impact);wt||It(!1);var Dt=Ne(Qt.dimensions.droppables[wt],Ht);if(Dt){var fn=Qt.viewport,Ea=Ge(Qt.isWindowScrollAllowed,fn,Dt);Ea&&Ae(Qt,Ea)}}};return Qe},qt=function(ne){var ae=ne.scrollDroppable,le=ne.scrollWindow,me=ne.move,Ae=bt({scrollWindow:le,scrollDroppable:ae}),Ne=un({move:me,scrollWindow:le,scrollDroppable:ae}),Ge=function(Qt){if(Qt.phase==="DRAGGING"){if(Qt.movementMode==="FLUID"){Ae.scroll(Qt);return}Qt.scrollJumpRequest&&Ne(Qt)}},Qe={scroll:Ge,start:Ae.start,stop:Ae.stop};return Qe},Zn="data-rbd",pa=function(){var ne=Zn+"-drag-handle";return{base:ne,draggableId:ne+"-draggable-id",contextId:ne+"-context-id"}}(),ua=function(){var ne=Zn+"-draggable";return{base:ne,contextId:ne+"-context-id",id:ne+"-id"}}(),vr=function(){var ne=Zn+"-droppable";return{base:ne,contextId:ne+"-context-id",id:ne+"-id"}}(),nr={contextId:Zn+"-scroll-container-context-id"},Pr=function(ae){return function(le){return"["+le+'="'+ae+'"]'}},hn=function(ae,le){return ae.map(function(me){var Ae=me.styles[le];return Ae?me.selector+" { "+Ae+" }":""}).join(" ")},ma="pointer-events: none;",Fa=function(ne){var ae=Pr(ne),le=function(){var Qe=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:ae(pa.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:Qe,dragging:ma,dropAnimating:Qe}}}(),me=function(){var Qe=`
transition: `+pn.outOfTheWay+`;
`;return{selector:ae(ua.contextId),styles:{dragging:Qe,dropAnimating:Qe,userCancel:Qe}}}(),Ae={selector:ae(vr.contextId),styles:{always:"overflow-anchor: none;"}},Ne={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;
`}},Ge=[me,le,Ae,Ne];return{always:hn(Ge,"always"),resting:hn(Ge,"resting"),dragging:hn(Ge,"dragging"),dropAnimating:hn(Ge,"dropAnimating"),userCancel:hn(Ge,"userCancel")}},Aa=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,Ia=function(){var ae=document.querySelector("head");return ae||It(!1),ae},or=function(ae){var le=document.createElement("style");return ae&&le.setAttribute("nonce",ae),le.type="text/css",le};function $r(ne,ae){var le=Rt(function(){return Fa(ne)},[ne]),me=(0,x.useRef)(null),Ae=(0,x.useRef)(null),Ne=Lt(Ar(function(wt){var Dt=Ae.current;Dt||It(!1),Dt.textContent=wt}),[]),Ge=Lt(function(wt){var Dt=me.current;Dt||It(!1),Dt.textContent=wt},[]);Aa(function(){!me.current&&!Ae.current||It(!1);var wt=or(ae),Dt=or(ae);return me.current=wt,Ae.current=Dt,wt.setAttribute(Zn+"-always",ne),Dt.setAttribute(Zn+"-dynamic",ne),Ia().appendChild(wt),Ia().appendChild(Dt),Ge(le.always),Ne(le.resting),function(){var fn=function(_r){var ao=_r.current;ao||It(!1),Ia().removeChild(ao),_r.current=null};fn(me),fn(Ae)}},[ae,Ge,Ne,le.always,le.resting,ne]);var Qe=Lt(function(){return Ne(le.dragging)},[Ne,le.dragging]),Pt=Lt(function(wt){if(wt==="DROP"){Ne(le.dropAnimating);return}Ne(le.userCancel)},[Ne,le.dropAnimating,le.userCancel]),Qt=Lt(function(){Ae.current&&Ne(le.resting)},[Ne,le.resting]),Ht=Rt(function(){return{dragging:Qe,dropping:Pt,resting:Qt}},[Qe,Pt,Qt]);return Ht}var cr=function(ne){return ne&&ne.ownerDocument?ne.ownerDocument.defaultView:window};function Ba(ne){return ne instanceof cr(ne).HTMLElement}function Na(ne,ae){var le="["+pa.contextId+'="'+ne+'"]',me=zo(document.querySelectorAll(le));if(!me.length)return null;var Ae=rr(me,function(Ne){return Ne.getAttribute(pa.draggableId)===ae});return!Ae||!Ba(Ae)?null:Ae}function $a(ne){var ae=(0,x.useRef)({}),le=(0,x.useRef)(null),me=(0,x.useRef)(null),Ae=(0,x.useRef)(!1),Ne=Lt(function(Dt,fn){var Ea={id:Dt,focus:fn};return ae.current[Dt]=Ea,function(){var ao=ae.current,mo=ao[Dt];mo!==Ea&&delete ao[Dt]}},[]),Ge=Lt(function(Dt){var fn=Na(ne,Dt);fn&&fn!==document.activeElement&&fn.focus()},[ne]),Qe=Lt(function(Dt,fn){le.current===Dt&&(le.current=fn)},[]),Pt=Lt(function(){me.current||Ae.current&&(me.current=requestAnimationFrame(function(){me.current=null;var Dt=le.current;Dt&&Ge(Dt)}))},[Ge]),Qt=Lt(function(Dt){le.current=null;var fn=document.activeElement;fn&&fn.getAttribute(pa.draggableId)===Dt&&(le.current=Dt)},[]);Aa(function(){return Ae.current=!0,function(){Ae.current=!1;var Dt=me.current;Dt&&cancelAnimationFrame(Dt)}},[]);var Ht=Rt(function(){return{register:Ne,tryRecordFocus:Qt,tryRestoreFocusRecorded:Pt,tryShiftRecord:Qe}},[Ne,Qt,Pt,Qe]);return Ht}function fr(){var ne={draggables:{},droppables:{}},ae=[];function le(wt){return ae.push(wt),function(){var fn=ae.indexOf(wt);fn!==-1&&ae.splice(fn,1)}}function me(wt){ae.length&&ae.forEach(function(Dt){return Dt(wt)})}function Ae(wt){return ne.draggables[wt]||null}function Ne(wt){var Dt=Ae(wt);return Dt||It(!1),Dt}var Ge={register:function(Dt){ne.draggables[Dt.descriptor.id]=Dt,me({type:"ADDITION",value:Dt})},update:function(Dt,fn){var Ea=ne.draggables[fn.descriptor.id];Ea&&Ea.uniqueId===Dt.uniqueId&&(delete ne.draggables[fn.descriptor.id],ne.draggables[Dt.descriptor.id]=Dt)},unregister:function(Dt){var fn=Dt.descriptor.id,Ea=Ae(fn);Ea&&Dt.uniqueId===Ea.uniqueId&&(delete ne.draggables[fn],me({type:"REMOVAL",value:Dt}))},getById:Ne,findById:Ae,exists:function(Dt){return!!Ae(Dt)},getAllByType:function(Dt){return po(ne.draggables).filter(function(fn){return fn.descriptor.type===Dt})}};function Qe(wt){return ne.droppables[wt]||null}function Pt(wt){var Dt=Qe(wt);return Dt||It(!1),Dt}var Qt={register:function(Dt){ne.droppables[Dt.descriptor.id]=Dt},unregister:function(Dt){var fn=Qe(Dt.descriptor.id);fn&&Dt.uniqueId===fn.uniqueId&&delete ne.droppables[Dt.descriptor.id]},getById:Pt,findById:Qe,exists:function(Dt){return!!Qe(Dt)},getAllByType:function(Dt){return po(ne.droppables).filter(function(fn){return fn.descriptor.type===Dt})}};function Ht(){ne.draggables={},ne.droppables={},ae.length=0}return{draggable:Ge,droppable:Qt,subscribe:le,clean:Ht}}function to(){var ne=Rt(fr,[]);return(0,x.useEffect)(function(){return function(){requestAnimationFrame(ne.clean)}},[ne]),ne}var ko=x.createContext(null),Co=function(){var ne=document.body;return ne||It(!1),ne},Bo={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Jo=function(ae){return"rbd-announcement-"+ae};function $o(ne){var ae=Rt(function(){return Jo(ne)},[ne]),le=(0,x.useRef)(null);(0,x.useEffect)(function(){var Ne=document.createElement("div");return le.current=Ne,Ne.id=ae,Ne.setAttribute("aria-live","assertive"),Ne.setAttribute("aria-atomic","true"),(0,Re.Z)(Ne.style,Bo),Co().appendChild(Ne),function(){setTimeout(function(){var Pt=Co();Pt.contains(Ne)&&Pt.removeChild(Ne),Ne===le.current&&(le.current=null)})}},[ae]);var me=Lt(function(Ae){var Ne=le.current;if(Ne){Ne.textContent=Ae;return}},[]);return me}var mi=0,xi={separator:"::"};function qi(){mi=0}function Ji(ne,ae){return ae===void 0&&(ae=xi),Rt(function(){return""+ne+ae.separator+mi++},[ae.separator,ne])}function gi(ne){var ae=ne.contextId,le=ne.uniqueId;return"rbd-hidden-text-"+ae+"-"+le}function tl(ne){var ae=ne.contextId,le=ne.text,me=Ji("hidden-text",{separator:"-"}),Ae=Rt(function(){return gi({contextId:ae,uniqueId:me})},[me,ae]);return(0,x.useEffect)(function(){var Ge=document.createElement("div");return Ge.id=Ae,Ge.textContent=le,Ge.style.display="none",Co().appendChild(Ge),function(){var Pt=Co();Pt.contains(Ge)&&Pt.removeChild(Ge)}},[Ae,le]),Ae}var wi=x.createContext(null),Ui={react:"^16.8.5","react-dom":"^16.8.5"},Wo=/(\d+)\.(\d+)\.(\d+)/,ui=function(ae){var le=Wo.exec(ae);le==null&&It(!1);var me=Number(le[1]),Ae=Number(le[2]),Ne=Number(le[3]);return{major:me,minor:Ae,patch:Ne,raw:ae}},Do=function(ae,le){return le.major>ae.major?!0:le.major<ae.major?!1:le.minor>ae.minor?!0:le.minor<ae.minor?!1:le.patch>=ae.patch},No=function(ne,ae){var le=ui(ne),me=ui(ae);Do(le,me)},xo=`
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
`,Fo=function(ne){var ae=ne.doctype;ae&&(ae.name.toLowerCase(),ae.publicId)};function bi(ne){}function Oo(ne,ae){}function ri(){Oo(function(){No(Ui.react,x.version),Fo(document)},[])}function Ci(ne){var ae=(0,x.useRef)(ne);return(0,x.useEffect)(function(){ae.current=ne}),ae}function Si(){var ne=null;function ae(){return!!ne}function le(Ge){return Ge===ne}function me(Ge){ne&&It(!1);var Qe={abandon:Ge};return ne=Qe,Qe}function Ae(){ne||It(!1),ne=null}function Ne(){ne&&(ne.abandon(),Ae())}return{isClaimed:ae,isActive:le,claim:me,release:Ae,tryAbandon:Ne}}var bl=9,Fl=13,es=27,fl=32,ns=33,ml=34,Kl=35,Us=36,ji=37,Wi=38,il=39,pl=40,dl,Ni=(dl={},dl[Fl]=!0,dl[bl]=!0,dl),Ol=function(ne){Ni[ne.keyCode]&&ne.preventDefault()},Cl=function(){var ne="visibilitychange";if(typeof document=="undefined")return ne;var ae=[ne,"ms"+ne,"webkit"+ne,"moz"+ne,"o"+ne],le=rr(ae,function(me){return"on"+me in document});return le||ne}(),_l=0,us=5;function cs(ne,ae){return Math.abs(ae.x-ne.x)>=us||Math.abs(ae.y-ne.y)>=us}var Vs={type:"IDLE"};function xs(ne){var ae=ne.cancel,le=ne.completed,me=ne.getPhase,Ae=ne.setPhase;return[{eventName:"mousemove",fn:function(Ge){var Qe=Ge.button,Pt=Ge.clientX,Qt=Ge.clientY;if(Qe===_l){var Ht={x:Pt,y:Qt},wt=me();if(wt.type==="DRAGGING"){Ge.preventDefault(),wt.actions.move(Ht);return}wt.type!=="PENDING"&&It(!1);var Dt=wt.point;if(cs(Dt,Ht)){Ge.preventDefault();var fn=wt.actions.fluidLift(Ht);Ae({type:"DRAGGING",actions:fn})}}}},{eventName:"mouseup",fn:function(Ge){var Qe=me();if(Qe.type!=="DRAGGING"){ae();return}Ge.preventDefault(),Qe.actions.drop({shouldBlockNextClick:!0}),le()}},{eventName:"mousedown",fn:function(Ge){me().type==="DRAGGING"&&Ge.preventDefault(),ae()}},{eventName:"keydown",fn:function(Ge){var Qe=me();if(Qe.type==="PENDING"){ae();return}if(Ge.keyCode===es){Ge.preventDefault(),ae();return}Ol(Ge)}},{eventName:"resize",fn:ae},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){me().type==="PENDING"&&ae()}},{eventName:"webkitmouseforcedown",fn:function(Ge){var Qe=me();if(Qe.type==="IDLE"&&It(!1),Qe.actions.shouldRespectForcePress()){ae();return}Ge.preventDefault()}},{eventName:Cl,fn:ae}]}function as(ne){var ae=(0,x.useRef)(Vs),le=(0,x.useRef)(ro),me=Rt(function(){return{eventName:"mousedown",fn:function(wt){if(!wt.defaultPrevented&&wt.button===_l&&!(wt.ctrlKey||wt.metaKey||wt.shiftKey||wt.altKey)){var Dt=ne.findClosestDraggableId(wt);if(Dt){var fn=ne.tryGetLock(Dt,Ge,{sourceEvent:wt});if(fn){wt.preventDefault();var Ea={x:wt.clientX,y:wt.clientY};le.current(),Qt(fn,Ea)}}}}}},[ne]),Ae=Rt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(wt){if(!wt.defaultPrevented){var Dt=ne.findClosestDraggableId(wt);if(Dt){var fn=ne.findOptionsForDraggable(Dt);fn&&(fn.shouldRespectForcePress||ne.canGetLock(Dt)&&wt.preventDefault())}}}}},[ne]),Ne=Lt(function(){var wt={passive:!1,capture:!0};le.current=Ya(window,[Ae,me],wt)},[Ae,me]),Ge=Lt(function(){var Ht=ae.current;Ht.type!=="IDLE"&&(ae.current=Vs,le.current(),Ne())},[Ne]),Qe=Lt(function(){var Ht=ae.current;Ge(),Ht.type==="DRAGGING"&&Ht.actions.cancel({shouldBlockNextClick:!0}),Ht.type==="PENDING"&&Ht.actions.abort()},[Ge]),Pt=Lt(function(){var wt={capture:!0,passive:!1},Dt=xs({cancel:Qe,completed:Ge,getPhase:function(){return ae.current},setPhase:function(Ea){ae.current=Ea}});le.current=Ya(window,Dt,wt)},[Qe,Ge]),Qt=Lt(function(wt,Dt){ae.current.type!=="IDLE"&&It(!1),ae.current={type:"PENDING",point:Dt,actions:wt},Pt()},[Pt]);Aa(function(){return Ne(),function(){le.current()}},[Ne])}var xl;function Rl(){}var hl=(xl={},xl[ml]=!0,xl[ns]=!0,xl[Us]=!0,xl[Kl]=!0,xl);function ll(ne,ae){function le(){ae(),ne.cancel()}function me(){ae(),ne.drop()}return[{eventName:"keydown",fn:function(Ne){if(Ne.keyCode===es){Ne.preventDefault(),le();return}if(Ne.keyCode===fl){Ne.preventDefault(),me();return}if(Ne.keyCode===pl){Ne.preventDefault(),ne.moveDown();return}if(Ne.keyCode===Wi){Ne.preventDefault(),ne.moveUp();return}if(Ne.keyCode===il){Ne.preventDefault(),ne.moveRight();return}if(Ne.keyCode===ji){Ne.preventDefault(),ne.moveLeft();return}if(hl[Ne.keyCode]){Ne.preventDefault();return}Ol(Ne)}},{eventName:"mousedown",fn:le},{eventName:"mouseup",fn:le},{eventName:"click",fn:le},{eventName:"touchstart",fn:le},{eventName:"resize",fn:le},{eventName:"wheel",fn:le,options:{passive:!0}},{eventName:Cl,fn:le}]}function ms(ne){var ae=(0,x.useRef)(Rl),le=Rt(function(){return{eventName:"keydown",fn:function(Ne){if(Ne.defaultPrevented||Ne.keyCode!==fl)return;var Ge=ne.findClosestDraggableId(Ne);if(!Ge)return;var Qe=ne.tryGetLock(Ge,Ht,{sourceEvent:Ne});if(!Qe)return;Ne.preventDefault();var Pt=!0,Qt=Qe.snapLift();ae.current();function Ht(){Pt||It(!1),Pt=!1,ae.current(),me()}ae.current=Ya(window,ll(Qt,Ht),{capture:!0,passive:!1})}}},[ne]),me=Lt(function(){var Ne={passive:!1,capture:!0};ae.current=Ya(window,[le],Ne)},[le]);Aa(function(){return me(),function(){ae.current()}},[me])}var ws={type:"IDLE"},Ms=120,vs=.15;function ru(ne){var ae=ne.cancel,le=ne.getPhase;return[{eventName:"orientationchange",fn:ae},{eventName:"resize",fn:ae},{eventName:"contextmenu",fn:function(Ae){Ae.preventDefault()}},{eventName:"keydown",fn:function(Ae){if(le().type!=="DRAGGING"){ae();return}Ae.keyCode===es&&Ae.preventDefault(),ae()}},{eventName:Cl,fn:ae}]}function du(ne){var ae=ne.cancel,le=ne.completed,me=ne.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Ne){var Ge=me();if(Ge.type!=="DRAGGING"){ae();return}Ge.hasMoved=!0;var Qe=Ne.touches[0],Pt=Qe.clientX,Qt=Qe.clientY,Ht={x:Pt,y:Qt};Ne.preventDefault(),Ge.actions.move(Ht)}},{eventName:"touchend",fn:function(Ne){var Ge=me();if(Ge.type!=="DRAGGING"){ae();return}Ne.preventDefault(),Ge.actions.drop({shouldBlockNextClick:!0}),le()}},{eventName:"touchcancel",fn:function(Ne){if(me().type!=="DRAGGING"){ae();return}Ne.preventDefault(),ae()}},{eventName:"touchforcechange",fn:function(Ne){var Ge=me();Ge.type==="IDLE"&&It(!1);var Qe=Ne.touches[0];if(Qe){var Pt=Qe.force>=vs;if(Pt){var Qt=Ge.actions.shouldRespectForcePress();if(Ge.type==="PENDING"){Qt&&ae();return}if(Qt){if(Ge.hasMoved){Ne.preventDefault();return}ae();return}Ne.preventDefault()}}}},{eventName:Cl,fn:ae}]}function Ti(ne){var ae=(0,x.useRef)(ws),le=(0,x.useRef)(ro),me=Lt(function(){return ae.current},[]),Ae=Lt(function(fn){ae.current=fn},[]),Ne=Rt(function(){return{eventName:"touchstart",fn:function(fn){if(!fn.defaultPrevented){var Ea=ne.findClosestDraggableId(fn);if(Ea){var _r=ne.tryGetLock(Ea,Qe,{sourceEvent:fn});if(_r){var ao=fn.touches[0],mo=ao.clientX,To=ao.clientY,Vo={x:mo,y:To};le.current(),wt(_r,Vo)}}}}}},[ne]),Ge=Lt(function(){var fn={capture:!0,passive:!1};le.current=Ya(window,[Ne],fn)},[Ne]),Qe=Lt(function(){var Dt=ae.current;Dt.type!=="IDLE"&&(Dt.type==="PENDING"&&clearTimeout(Dt.longPressTimerId),Ae(ws),le.current(),Ge())},[Ge,Ae]),Pt=Lt(function(){var Dt=ae.current;Qe(),Dt.type==="DRAGGING"&&Dt.actions.cancel({shouldBlockNextClick:!0}),Dt.type==="PENDING"&&Dt.actions.abort()},[Qe]),Qt=Lt(function(){var fn={capture:!0,passive:!1},Ea={cancel:Pt,completed:Qe,getPhase:me},_r=Ya(window,du(Ea),fn),ao=Ya(window,ru(Ea),fn);le.current=function(){_r(),ao()}},[Pt,me,Qe]),Ht=Lt(function(){var fn=me();fn.type!=="PENDING"&&It(!1);var Ea=fn.actions.fluidLift(fn.point);Ae({type:"DRAGGING",actions:Ea,hasMoved:!1})},[me,Ae]),wt=Lt(function(fn,Ea){me().type!=="IDLE"&&It(!1);var _r=setTimeout(Ht,Ms);Ae({type:"PENDING",point:Ea,actions:fn,longPressTimerId:_r}),Qt()},[Qt,me,Ae,Ht]);Aa(function(){return Ge(),function(){le.current();var Ea=me();Ea.type==="PENDING"&&(clearTimeout(Ea.longPressTimerId),Ae(ws))}},[me,Ge,Ae]),Aa(function(){var fn=Ya(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return fn},[])}function el(ne){}var Bl={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function nl(ne,ae){if(ae==null)return!1;var le=!!Bl[ae.tagName.toLowerCase()];if(le)return!0;var me=ae.getAttribute("contenteditable");return me==="true"||me===""?!0:ae===ne?!1:nl(ne,ae.parentElement)}function Ll(ne,ae){var le=ae.target;return Ba(le)?nl(ne,le):!1}var zl=function(ne){return ba(ne.getBoundingClientRect()).center};function Hl(ne){return ne instanceof cr(ne).Element}var Fs=function(){var ne="matches";if(typeof document=="undefined")return ne;var ae=[ne,"msMatchesSelector","webkitMatchesSelector"],le=rr(ae,function(me){return me in Element.prototype});return le||ne}();function gu(ne,ae){return ne==null?null:ne[Fs](ae)?ne:gu(ne.parentElement,ae)}function zu(ne,ae){return ne.closest?ne.closest(ae):gu(ne,ae)}function xu(ne){return"["+pa.contextId+'="'+ne+'"]'}function Hu(ne,ae){var le=ae.target;if(!Hl(le))return null;var me=xu(ne),Ae=zu(le,me);return!Ae||!Ba(Ae)?null:Ae}function wu(ne,ae){var le=Hu(ne,ae);return le?le.getAttribute(pa.draggableId):null}function ou(ne,ae){var le="["+ua.contextId+'="'+ne+'"]',me=zo(document.querySelectorAll(le)),Ae=rr(me,function(Ne){return Ne.getAttribute(ua.id)===ae});return!Ae||!Ba(Ae)?null:Ae}function $s(ne){ne.preventDefault()}function Ys(ne){var ae=ne.expected,le=ne.phase,me=ne.isLockActive,Ae=ne.shouldWarn;return!(!me()||ae!==le)}function Fu(ne){var ae=ne.lockAPI,le=ne.store,me=ne.registry,Ae=ne.draggableId;if(ae.isClaimed())return!1;var Ne=me.draggable.findById(Ae);return!(!Ne||!Ne.options.isEnabled||!oi(le.getState(),Ae))}function Au(ne){var ae=ne.lockAPI,le=ne.contextId,me=ne.store,Ae=ne.registry,Ne=ne.draggableId,Ge=ne.forceSensorStop,Qe=ne.sourceEvent,Pt=Fu({lockAPI:ae,store:me,registry:Ae,draggableId:Ne});if(!Pt)return null;var Qt=Ae.draggable.getById(Ne),Ht=ou(le,Qt.descriptor.id);if(!Ht||Qe&&!Qt.options.canDragInteractiveElements&&Ll(Ht,Qe))return null;var wt=ae.claim(Ge||ro),Dt="PRE_DRAG";function fn(){return Qt.options.shouldRespectForcePress}function Ea(){return ae.isActive(wt)}function _r(Bi,_i){Ys({expected:Bi,phase:Dt,isLockActive:Ea,shouldWarn:!0})&&me.dispatch(_i())}var ao=_r.bind(null,"DRAGGING");function mo(Bi){function _i(){ae.release(),Dt="COMPLETED"}Dt!=="PRE_DRAG"&&(_i(),Dt!=="PRE_DRAG"&&It(!1)),me.dispatch(je(Bi.liftActionArgs)),Dt="DRAGGING";function Sl($i,yl){if(yl===void 0&&(yl={shouldBlockNextClick:!1}),Bi.cleanup(),yl.shouldBlockNextClick){var Ml=Ya(window,[{eventName:"click",fn:$s,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(Ml)}_i(),me.dispatch(Ee({reason:$i}))}return(0,Re.Z)({isActive:function(){return Ys({expected:"DRAGGING",phase:Dt,isLockActive:Ea,shouldWarn:!1})},shouldRespectForcePress:fn,drop:function(yl){return Sl("DROP",yl)},cancel:function(yl){return Sl("CANCEL",yl)}},Bi.actions)}function To(Bi){var _i=Wa(function($i){ao(function(){return Xa({client:$i})})}),Sl=mo({liftActionArgs:{id:Ne,clientSelection:Bi,movementMode:"FLUID"},cleanup:function(){return _i.cancel()},actions:{move:_i}});return(0,Re.Z)({},Sl,{move:_i})}function Vo(){var Bi={moveUp:function(){return ao(pr)},moveRight:function(){return ao(Sr)},moveDown:function(){return ao(Tr)},moveLeft:function(){return ao(no)}};return mo({liftActionArgs:{id:Ne,clientSelection:zl(Ht),movementMode:"SNAP"},cleanup:ro,actions:Bi})}function qo(){var Bi=Ys({expected:"PRE_DRAG",phase:Dt,isLockActive:Ea,shouldWarn:!0});Bi&&ae.release()}var Ii={isActive:function(){return Ys({expected:"PRE_DRAG",phase:Dt,isLockActive:Ea,shouldWarn:!1})},shouldRespectForcePress:fn,fluidLift:To,snapLift:Vo,abort:qo};return Ii}var ju=[as,ms,Ti];function Bu(ne){var ae=ne.contextId,le=ne.store,me=ne.registry,Ae=ne.customSensors,Ne=ne.enableDefaultSensors,Ge=[].concat(Ne?ju:[],Ae||[]),Qe=(0,x.useState)(function(){return Si()})[0],Pt=Lt(function(To,Vo){To.isDragging&&!Vo.isDragging&&Qe.tryAbandon()},[Qe]);Aa(function(){var To=le.getState(),Vo=le.subscribe(function(){var qo=le.getState();Pt(To,qo),To=qo});return Vo},[Qe,le,Pt]),Aa(function(){return Qe.tryAbandon},[Qe.tryAbandon]);var Qt=Lt(function(mo){return Fu({lockAPI:Qe,registry:me,store:le,draggableId:mo})},[Qe,me,le]),Ht=Lt(function(mo,To,Vo){return Au({lockAPI:Qe,registry:me,contextId:ae,store:le,draggableId:mo,forceSensorStop:To,sourceEvent:Vo&&Vo.sourceEvent?Vo.sourceEvent:null})},[ae,Qe,me,le]),wt=Lt(function(mo){return wu(ae,mo)},[ae]),Dt=Lt(function(mo){var To=me.draggable.findById(mo);return To?To.options:null},[me.draggable]),fn=Lt(function(){Qe.isClaimed()&&(Qe.tryAbandon(),le.getState().phase!=="IDLE"&&le.dispatch(Po()))},[Qe,le]),Ea=Lt(Qe.isClaimed,[Qe]),_r=Rt(function(){return{canGetLock:Qt,tryGetLock:Ht,findClosestDraggableId:wt,findOptionsForDraggable:Dt,tryReleaseLock:fn,isLockClaimed:Ea}},[Qt,Ht,wt,Dt,fn,Ea]);el(Ge);for(var ao=0;ao<Ge.length;ao++)Ge[ao](_r)}var iu=function(ae){return{onBeforeCapture:ae.onBeforeCapture,onBeforeDragStart:ae.onBeforeDragStart,onDragStart:ae.onDragStart,onDragEnd:ae.onDragEnd,onDragUpdate:ae.onDragUpdate}};function Qs(ne){return ne.current||It(!1),ne.current}function Gu(ne){var ae=ne.contextId,le=ne.setCallbacks,me=ne.sensors,Ae=ne.nonce,Ne=ne.dragHandleUsageInstructions,Ge=(0,x.useRef)(null);ri();var Qe=Ci(ne),Pt=Lt(function(){return iu(Qe.current)},[Qe]),Qt=$o(ae),Ht=tl({contextId:ae,text:Ne}),wt=$r(ae,Ae),Dt=Lt(function($i){Qs(Ge).dispatch($i)},[]),fn=Rt(function(){return(0,ye.DE)({publishWhileDragging:Nt,updateDroppableScroll:Xn,updateDroppableIsEnabled:Ca,updateDroppableIsCombineEnabled:Ga,collectionStarting:Bn},Dt)},[Dt]),Ea=to(),_r=Rt(function(){return li(Ea,fn)},[Ea,fn]),ao=Rt(function(){return qt((0,Re.Z)({scrollWindow:Xo,scrollDroppable:_r.scrollDroppable},(0,ye.DE)({move:Xa},Dt)))},[_r.scrollDroppable,Dt]),mo=$a(ae),To=Rt(function(){return jr({announce:Qt,autoScroller:ao,dimensionMarshal:_r,focusMarshal:mo,getResponders:Pt,styleMarshal:wt})},[Qt,ao,_r,mo,Pt,wt]);Ge.current=To;var Vo=Lt(function(){var $i=Qs(Ge),yl=$i.getState();yl.phase!=="IDLE"&&$i.dispatch(Po())},[]),qo=Lt(function(){var $i=Qs(Ge).getState();return $i.isDragging||$i.phase==="DROP_ANIMATING"},[]),Ii=Rt(function(){return{isDragging:qo,tryAbort:Vo}},[qo,Vo]);le(Ii);var Bi=Lt(function($i){return oi(Qs(Ge).getState(),$i)},[]),_i=Lt(function(){return vl(Qs(Ge).getState())},[]),Sl=Rt(function(){return{marshal:_r,focus:mo,contextId:ae,canLift:Bi,isMovementAllowed:_i,dragHandleUsageInstructionsId:Ht,registry:Ea}},[ae,_r,Ht,mo,Bi,_i,Ea]);return Bu({contextId:ae,store:To,registry:Ea,customSensors:me,enableDefaultSensors:ne.enableDefaultSensors!==!1}),(0,x.useEffect)(function(){return Vo},[Vo]),x.createElement(wi.Provider,{value:Sl},x.createElement(b,{context:ko,store:To},ne.children))}var fu=0;function Du(){fu=0}function Uu(){return Rt(function(){return""+fu++},[])}function ac(){Du(),qi()}function Wu(ne){var ae=Uu(),le=ne.dragHandleUsageInstructions||Da.dragHandleUsageInstructions;return x.createElement(ar,null,function(me){return x.createElement(Gu,{nonce:ne.nonce,contextId:ae,setCallbacks:me,dragHandleUsageInstructions:le,enableDefaultSensors:ne.enableDefaultSensors,sensors:ne.sensors,onBeforeCapture:ne.onBeforeCapture,onBeforeDragStart:ne.onBeforeDragStart,onDragStart:ne.onDragStart,onDragUpdate:ne.onDragUpdate,onDragEnd:ne.onDragEnd},ne.children)})}var lu=function(ae){return function(le){return ae===le}},su=lu("scroll"),mu=lu("auto"),vu=lu("visible"),pu=function(ae,le){return le(ae.overflowX)||le(ae.overflowY)},Nu=function(ae,le){return le(ae.overflowX)&&le(ae.overflowY)},hu=function(ae){var le=window.getComputedStyle(ae),me={overflowX:le.overflowX,overflowY:le.overflowY};return pu(me,su)||pu(me,mu)},Iu=function(){return!1;var ae,le,me,Ae},Ou=function ne(ae){return ae==null?null:ae===document.body?Iu()?ae:null:ae===document.documentElement?null:hu(ae)?ae:ne(ae.parentElement)},Vu=function(ne){if(ne)var ae=Ou(ne.parentElement)},qs=function(ne){return{x:ne.scrollLeft,y:ne.scrollTop}},Lu=function ne(ae){if(!ae)return!1;var le=window.getComputedStyle(ae);return le.position==="fixed"?!0:ne(ae.parentElement)},Su=function(ne){var ae=Ou(ne),le=Lu(ne);return{closestScrollable:ae,isFixedOnPage:le}},Ru=function(ne){var ae=ne.descriptor,le=ne.isEnabled,me=ne.isCombineEnabled,Ae=ne.isFixedOnPage,Ne=ne.direction,Ge=ne.client,Qe=ne.page,Pt=ne.closest,Qt=function(){if(!Pt)return null;var fn=Pt.scrollSize,Ea=Pt.client,_r=Gr({scrollHeight:fn.scrollHeight,scrollWidth:fn.scrollWidth,height:Ea.paddingBox.height,width:Ea.paddingBox.width});return{pageMarginBox:Pt.page.marginBox,frameClient:Ea,scrollSize:fn,shouldClipSubject:Pt.shouldClipSubject,scroll:{initial:Pt.scroll,current:Pt.scroll,max:_r,diff:{value:yi,displacement:yi}}}}(),Ht=Ne==="vertical"?Kr:uo,wt=xa({page:Qe,withPlaceholder:null,axis:Ht,frame:Qt}),Dt={descriptor:ae,isCombineEnabled:me,isFixedOnPage:Ae,axis:Ht,isEnabled:le,client:Ge,page:Qe,frame:Qt,subject:wt};return Dt},$u=function(ae,le){var me=kr(ae);if(!le||ae!==le)return me;var Ae=me.paddingBox.top-le.scrollTop,Ne=me.paddingBox.left-le.scrollLeft,Ge=Ae+le.scrollHeight,Qe=Ne+le.scrollWidth,Pt={top:Ae,right:Qe,bottom:Ge,left:Ne},Qt=lr(Pt,me.border),Ht=so({borderBox:Qt,margin:me.margin,border:me.border,padding:me.padding});return Ht},Vi=function(ne){var ae=ne.ref,le=ne.descriptor,me=ne.env,Ae=ne.windowScroll,Ne=ne.direction,Ge=ne.isDropDisabled,Qe=ne.isCombineEnabled,Pt=ne.shouldClipSubject,Qt=me.closestScrollable,Ht=$u(ae,Qt),wt=Xr(Ht,Ae),Dt=function(){if(!Qt)return null;var Ea=kr(Qt),_r={scrollHeight:Qt.scrollHeight,scrollWidth:Qt.scrollWidth};return{client:Ea,page:Xr(Ea,Ae),scroll:qs(Qt),scrollSize:_r,shouldClipSubject:Pt}}(),fn=Ru({descriptor:le,isEnabled:!Ge,isCombineEnabled:Qe,isFixedOnPage:me.isFixedOnPage,direction:Ne,client:Ht,page:wt,closest:Dt});return fn},al={passive:!1},rs={passive:!0},As=function(ne){return ne.shouldPublishImmediately?al:rs};function ds(ne){var ae=(0,x.useContext)(ne);return ae||It(!1),ae}var eu=function(ae){return ae&&ae.env.closestScrollable||null};function yu(ne){var ae=(0,x.useRef)(null),le=ds(wi),me=Ji("droppable"),Ae=le.registry,Ne=le.marshal,Ge=Ci(ne),Qe=Rt(function(){return{id:ne.droppableId,type:ne.type,mode:ne.mode}},[ne.droppableId,ne.mode,ne.type]),Pt=(0,x.useRef)(Qe),Qt=Rt(function(){return Ar(function(qo,Ii){ae.current||It(!1);var Bi={x:qo,y:Ii};Ne.updateDroppableScroll(Qe.id,Bi)})},[Qe.id,Ne]),Ht=Lt(function(){var qo=ae.current;return!qo||!qo.env.closestScrollable?yi:qs(qo.env.closestScrollable)},[]),wt=Lt(function(){var qo=Ht();Qt(qo.x,qo.y)},[Ht,Qt]),Dt=Rt(function(){return Wa(wt)},[wt]),fn=Lt(function(){var qo=ae.current,Ii=eu(qo);qo&&Ii||It(!1);var Bi=qo.scrollOptions;if(Bi.shouldPublishImmediately){wt();return}Dt()},[Dt,wt]),Ea=Lt(function(qo,Ii){ae.current&&It(!1);var Bi=Ge.current,_i=Bi.getDroppableRef();_i||It(!1);var Sl=Su(_i),$i={ref:_i,descriptor:Qe,env:Sl,scrollOptions:Ii};ae.current=$i;var yl=Vi({ref:_i,descriptor:Qe,env:Sl,windowScroll:qo,direction:Bi.direction,isDropDisabled:Bi.isDropDisabled,isCombineEnabled:Bi.isCombineEnabled,shouldClipSubject:!Bi.ignoreContainerClipping}),Ml=Sl.closestScrollable;return Ml&&(Ml.setAttribute(nr.contextId,le.contextId),Ml.addEventListener("scroll",fn,As($i.scrollOptions))),yl},[le.contextId,Qe,fn,Ge]),_r=Lt(function(){var qo=ae.current,Ii=eu(qo);return qo&&Ii||It(!1),qs(Ii)},[]),ao=Lt(function(){var qo=ae.current;qo||It(!1);var Ii=eu(qo);ae.current=null,Ii&&(Dt.cancel(),Ii.removeAttribute(nr.contextId),Ii.removeEventListener("scroll",fn,As(qo.scrollOptions)))},[fn,Dt]),mo=Lt(function(qo){var Ii=ae.current;Ii||It(!1);var Bi=eu(Ii);Bi||It(!1),Bi.scrollTop+=qo.y,Bi.scrollLeft+=qo.x},[]),To=Rt(function(){return{getDimensionAndWatchScroll:Ea,getScrollWhileDragging:_r,dragStopped:ao,scroll:mo}},[ao,Ea,_r,mo]),Vo=Rt(function(){return{uniqueId:me,descriptor:Qe,callbacks:To}},[To,Qe,me]);Aa(function(){return Pt.current=Vo.descriptor,Ae.droppable.register(Vo),function(){ae.current&&ao(),Ae.droppable.unregister(Vo)}},[To,Qe,ao,Vo,Ne,Ae.droppable]),Aa(function(){ae.current&&Ne.updateDroppableIsEnabled(Pt.current.id,!ne.isDropDisabled)},[ne.isDropDisabled,Ne]),Aa(function(){ae.current&&Ne.updateDroppableIsCombineEnabled(Pt.current.id,ne.isCombineEnabled)},[ne.isCombineEnabled,Ne])}function tu(){}var uu={width:0,height:0,margin:hi},Eu=function(ae){var le=ae.isAnimatingOpenOnMount,me=ae.placeholder,Ae=ae.animate;return le||Ae==="close"?uu:{height:me.client.borderBox.height,width:me.client.borderBox.width,margin:me.client.margin}},vc=function(ae){var le=ae.isAnimatingOpenOnMount,me=ae.placeholder,Ae=ae.animate,Ne=Eu({isAnimatingOpenOnMount:le,placeholder:me,animate:Ae});return{display:me.display,boxSizing:"border-box",width:Ne.width,height:Ne.height,marginTop:Ne.margin.top,marginRight:Ne.margin.right,marginBottom:Ne.margin.bottom,marginLeft:Ne.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:Ae!=="none"?pn.placeholder:null}};function pc(ne){var ae=(0,x.useRef)(null),le=Lt(function(){ae.current&&(clearTimeout(ae.current),ae.current=null)},[]),me=ne.animate,Ae=ne.onTransitionEnd,Ne=ne.onClose,Ge=ne.contextId,Qe=(0,x.useState)(ne.animate==="open"),Pt=Qe[0],Qt=Qe[1];(0,x.useEffect)(function(){return Pt?me!=="open"?(le(),Qt(!1),tu):ae.current?tu:(ae.current=setTimeout(function(){ae.current=null,Qt(!1)}),le):tu},[me,Pt,le]);var Ht=Lt(function(Dt){Dt.propertyName==="height"&&(Ae(),me==="close"&&Ne())},[me,Ne,Ae]),wt=vc({isAnimatingOpenOnMount:Pt,animate:ne.animate,placeholder:ne.placeholder});return x.createElement(ne.placeholder.tagName,{style:wt,"data-rbd-placeholder-context-id":Ge,onTransitionEnd:Ht,ref:ne.innerRef})}var hc=x.memo(pc),Qu=x.createContext(null);function rc(ne){ne&&Ba(ne)||It(!1)}function Ju(ne){return typeof ne=="boolean"}function Xu(ne,ae){ae.forEach(function(le){return le(ne)})}var Sc=[function(ae){var le=ae.props;le.droppableId||It(!1),typeof le.droppableId!="string"&&It(!1)},function(ae){var le=ae.props;Ju(le.isDropDisabled)||It(!1),Ju(le.isCombineEnabled)||It(!1),Ju(le.ignoreContainerClipping)||It(!1)},function(ae){var le=ae.getDroppableRef;rc(le())}],yc=[function(ae){var le=ae.props,me=ae.getPlaceholderRef;if(le.placeholder)var Ae=me()}],Ec=[function(ae){var le=ae.props;le.renderClone||It(!1)},function(ae){var le=ae.getPlaceholderRef;le()&&It(!1)}];function Pc(ne){Oo(function(){Xu(ne,Sc),ne.props.mode==="standard"&&Xu(ne,yc),ne.props.mode==="virtual"&&Xu(ne,Ec)})}var bc=function(ne){Ce(ae,ne);function ae(){for(var me,Ae=arguments.length,Ne=new Array(Ae),Ge=0;Ge<Ae;Ge++)Ne[Ge]=arguments[Ge];return me=ne.call.apply(ne,[this].concat(Ne))||this,me.state={isVisible:!!me.props.on,data:me.props.on,animate:me.props.shouldAnimate&&me.props.on?"open":"none"},me.onClose=function(){me.state.animate==="close"&&me.setState({isVisible:!1})},me}ae.getDerivedStateFromProps=function(Ae,Ne){return Ae.shouldAnimate?Ae.on?{isVisible:!0,data:Ae.on,animate:"open"}:Ne.isVisible?{isVisible:!0,data:Ne.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!Ae.on,data:Ae.on,animate:"none"}};var le=ae.prototype;return le.render=function(){if(!this.state.isVisible)return null;var Ae={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(Ae)},ae}(x.PureComponent),oc={dragging:5e3,dropAnimating:4500},Cc=function(ae,le){return le?pn.drop(le.duration):ae?pn.snap:pn.fluid},xc=function(ae,le){return ae?le?it.opacity.drop:it.opacity.combining:null},wc=function(ae){return ae.forceShouldAnimate!=null?ae.forceShouldAnimate:ae.mode==="SNAP"};function Fc(ne){var ae=ne.dimension,le=ae.client,me=ne.offset,Ae=ne.combineWith,Ne=ne.dropping,Ge=!!Ae,Qe=wc(ne),Pt=!!Ne,Qt=Pt?Pn.drop(me,Ge):Pn.moveTo(me),Ht={position:"fixed",top:le.marginBox.top,left:le.marginBox.left,boxSizing:"border-box",width:le.borderBox.width,height:le.borderBox.height,transition:Cc(Qe,Ne),transform:Qt,opacity:xc(Ge,Pt),zIndex:Pt?oc.dropAnimating:oc.dragging,pointerEvents:"none"};return Ht}function Ac(ne){return{transform:Pn.moveTo(ne.offset),transition:ne.shouldAnimateDisplacement?null:"none"}}function Bc(ne){return ne.type==="DRAGGING"?Fc(ne):Ac(ne)}function Dc(ne,ae,le){le===void 0&&(le=yi);var me=window.getComputedStyle(ae),Ae=ae.getBoundingClientRect(),Ne=bo(Ae,me),Ge=Xr(Ne,le),Qe={client:Ne,tagName:ae.tagName.toLowerCase(),display:me.display},Pt={x:Ne.marginBox.width,y:Ne.marginBox.height},Qt={descriptor:ne,placeholder:Qe,displaceBy:Pt,client:Ne,page:Ge};return Qt}function Nc(ne){var ae=Ji("draggable"),le=ne.descriptor,me=ne.registry,Ae=ne.getDraggableRef,Ne=ne.canDragInteractiveElements,Ge=ne.shouldRespectForcePress,Qe=ne.isEnabled,Pt=Rt(function(){return{canDragInteractiveElements:Ne,shouldRespectForcePress:Ge,isEnabled:Qe}},[Ne,Qe,Ge]),Qt=Lt(function(fn){var Ea=Ae();return Ea||It(!1),Dc(le,Ea,fn)},[le,Ae]),Ht=Rt(function(){return{uniqueId:ae,descriptor:le,options:Pt,getDimension:Qt}},[le,Qt,Pt,ae]),wt=(0,x.useRef)(Ht),Dt=(0,x.useRef)(!0);Aa(function(){return me.draggable.register(wt.current),function(){return me.draggable.unregister(wt.current)}},[me.draggable]),Aa(function(){if(Dt.current){Dt.current=!1;return}var fn=wt.current;wt.current=Ht,me.draggable.update(Ht,fn)},[Ht,me.draggable])}function Ic(ne,ae,le){Oo(function(){function me(Ne){return"Draggable[id: "+Ne+"]: "}var Ae=ne.draggableId;Ae||It(!1),typeof Ae!="string"&&It(!1),Cr(ne.index)||It(!1),ne.mapped.type!=="DRAGGING"&&(rc(le()),ne.isEnabled&&(Na(ae,Ae)||It(!1)))})}function Oc(ne){}function Lc(ne){ne.preventDefault()}function Rc(ne){var ae=(0,x.useRef)(null),le=Lt(function($i){ae.current=$i},[]),me=Lt(function(){return ae.current},[]),Ae=ds(wi),Ne=Ae.contextId,Ge=Ae.dragHandleUsageInstructionsId,Qe=Ae.registry,Pt=ds(Qu),Qt=Pt.type,Ht=Pt.droppableId,wt=Rt(function(){return{id:ne.draggableId,index:ne.index,type:Qt,droppableId:Ht}},[ne.draggableId,ne.index,Qt,Ht]),Dt=ne.children,fn=ne.draggableId,Ea=ne.isEnabled,_r=ne.shouldRespectForcePress,ao=ne.canDragInteractiveElements,mo=ne.isClone,To=ne.mapped,Vo=ne.dropAnimationFinished;if(Ic(ne,Ne,me),Oc(mo),!mo){var qo=Rt(function(){return{descriptor:wt,registry:Qe,getDraggableRef:me,canDragInteractiveElements:ao,shouldRespectForcePress:_r,isEnabled:Ea}},[wt,Qe,me,ao,_r,Ea]);Nc(qo)}var Ii=Rt(function(){return Ea?{tabIndex:0,role:"button","aria-describedby":Ge,"data-rbd-drag-handle-draggable-id":fn,"data-rbd-drag-handle-context-id":Ne,draggable:!1,onDragStart:Lc}:null},[Ne,Ge,fn,Ea]),Bi=Lt(function($i){To.type==="DRAGGING"&&To.dropping&&$i.propertyName==="transform"&&Vo()},[Vo,To]),_i=Rt(function(){var $i=Bc(To),yl=To.type==="DRAGGING"&&To.dropping?Bi:null,Ml={innerRef:le,draggableProps:{"data-rbd-draggable-context-id":Ne,"data-rbd-draggable-id":fn,style:$i,onTransitionEnd:yl},dragHandleProps:Ii};return Ml},[Ne,Ii,fn,To,Bi,le]),Sl=Rt(function(){return{draggableId:wt.id,type:wt.type,source:{index:wt.index,droppableId:wt.droppableId}}},[wt.droppableId,wt.id,wt.index,wt.type]);return Dt(_i,To.snapshot,Sl)}var ic=function(ne,ae){return ne===ae},lc=function(ne){var ae=ne.combine,le=ne.destination;return le?le.droppableId:ae?ae.droppableId:null},Mc=function(ae){return ae.combine?ae.combine.draggableId:null},Tc=function(ae){return ae.at&&ae.at.type==="COMBINE"?ae.at.combine.draggableId:null};function kc(){var ne=Ar(function(Ae,Ne){return{x:Ae,y:Ne}}),ae=Ar(function(Ae,Ne,Ge,Qe,Pt){return{isDragging:!0,isClone:Ne,isDropAnimating:!!Pt,dropAnimation:Pt,mode:Ae,draggingOver:Ge,combineWith:Qe,combineTargetFor:null}}),le=Ar(function(Ae,Ne,Ge,Qe,Pt,Qt,Ht){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:Pt,combineWith:Qt,mode:Ne,offset:Ae,dimension:Ge,forceShouldAnimate:Ht,snapshot:ae(Ne,Qe,Pt,Qt,null)}}}),me=function(Ne,Ge){if(Ne.isDragging){if(Ne.critical.draggable.id!==Ge.draggableId)return null;var Qe=Ne.current.client.offset,Pt=Ne.dimensions.draggables[Ge.draggableId],Qt=cl(Ne.impact),Ht=Tc(Ne.impact),wt=Ne.forceShouldAnimate;return le(ne(Qe.x,Qe.y),Ne.movementMode,Pt,Ge.isClone,Qt,Ht,wt)}if(Ne.phase==="DROP_ANIMATING"){var Dt=Ne.completed;if(Dt.result.draggableId!==Ge.draggableId)return null;var fn=Ge.isClone,Ea=Ne.dimensions.draggables[Ge.draggableId],_r=Dt.result,ao=_r.mode,mo=lc(_r),To=Mc(_r),Vo=Ne.dropDuration,qo={duration:Vo,curve:Xe.drop,moveTo:Ne.newHomeClientOffset,opacity:To?it.opacity.drop:null,scale:To?it.scale.drop:null};return{mapped:{type:"DRAGGING",offset:Ne.newHomeClientOffset,dimension:Ea,dropping:qo,draggingOver:mo,combineWith:To,mode:ao,forceShouldAnimate:null,snapshot:ae(ao,fn,mo,To,qo)}}}return null};return me}function sc(ne){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:ne,combineWith:null}}var Zc={mapped:{type:"SECONDARY",offset:yi,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:sc(null)}};function Kc(){var ne=Ar(function(Ge,Qe){return{x:Ge,y:Qe}}),ae=Ar(sc),le=Ar(function(Ge,Qe,Pt){return Qe===void 0&&(Qe=null),{mapped:{type:"SECONDARY",offset:Ge,combineTargetFor:Qe,shouldAnimateDisplacement:Pt,snapshot:ae(Qe)}}}),me=function(Qe){return Qe?le(yi,Qe,!0):null},Ae=function(Qe,Pt,Qt,Ht){var wt=Qt.displaced.visible[Qe],Dt=!!(Ht.inVirtualList&&Ht.effected[Qe]),fn=qe(Qt),Ea=fn&&fn.draggableId===Qe?Pt:null;if(!wt){if(!Dt)return me(Ea);if(Qt.displaced.invisible[Qe])return null;var _r=qa(Ht.displacedBy.point),ao=ne(_r.x,_r.y);return le(ao,Ea,!0)}if(Dt)return me(Ea);var mo=Qt.displacedBy.point,To=ne(mo.x,mo.y);return le(To,Ea,wt.shouldAnimate)},Ne=function(Qe,Pt){if(Qe.isDragging)return Qe.critical.draggable.id===Pt.draggableId?null:Ae(Pt.draggableId,Qe.critical.draggable.id,Qe.impact,Qe.afterCritical);if(Qe.phase==="DROP_ANIMATING"){var Qt=Qe.completed;return Qt.result.draggableId===Pt.draggableId?null:Ae(Pt.draggableId,Qt.result.draggableId,Qt.impact,Qt.afterCritical)}return null};return Ne}var _c=function(){var ae=kc(),le=Kc(),me=function(Ne,Ge){return ae(Ne,Ge)||le(Ne,Ge)||Zc};return me},zc={dropAnimationFinished:pt},Hc=dn(_c,zc,null,{context:ko,pure:!0,areStatePropsEqual:ic})(Rc);function uc(ne){var ae=ds(Qu),le=ae.isUsingCloneFor;return le===ne.draggableId&&!ne.isClone?null:x.createElement(Hc,ne)}function jc(ne){var ae=typeof ne.isDragDisabled=="boolean"?!ne.isDragDisabled:!0,le=!!ne.disableInteractiveElementBlocking,me=!!ne.shouldRespectForcePress;return x.createElement(uc,(0,Re.Z)({},ne,{isClone:!1,isEnabled:ae,canDragInteractiveElements:le,shouldRespectForcePress:me}))}function Gc(ne){var ae=(0,x.useContext)(wi);ae||It(!1);var le=ae.contextId,me=ae.isMovementAllowed,Ae=(0,x.useRef)(null),Ne=(0,x.useRef)(null),Ge=ne.children,Qe=ne.droppableId,Pt=ne.type,Qt=ne.mode,Ht=ne.direction,wt=ne.ignoreContainerClipping,Dt=ne.isDropDisabled,fn=ne.isCombineEnabled,Ea=ne.snapshot,_r=ne.useClone,ao=ne.updateViewportMaxScroll,mo=ne.getContainerForClone,To=Lt(function(){return Ae.current},[]),Vo=Lt(function(jl){Ae.current=jl},[]),qo=Lt(function(){return Ne.current},[]),Ii=Lt(function(jl){Ne.current=jl},[]);Pc({props:ne,getDroppableRef:To,getPlaceholderRef:qo});var Bi=Lt(function(){me()&&ao({maxScroll:So()})},[me,ao]);yu({droppableId:Qe,type:Pt,mode:Qt,direction:Ht,isDropDisabled:Dt,isCombineEnabled:fn,ignoreContainerClipping:wt,getDroppableRef:To});var _i=x.createElement(bc,{on:ne.placeholder,shouldAnimate:ne.shouldAnimatePlaceholder},function(jl){var Ts=jl.onClose,Bs=jl.data,gs=jl.animate;return x.createElement(hc,{placeholder:Bs,onClose:Ts,innerRef:Ii,animate:gs,contextId:le,onTransitionEnd:Bi})}),Sl=Rt(function(){return{innerRef:Vo,placeholder:_i,droppableProps:{"data-rbd-droppable-id":Qe,"data-rbd-droppable-context-id":le}}},[le,Qe,_i,Vo]),$i=_r?_r.dragging.draggableId:null,yl=Rt(function(){return{droppableId:Qe,type:Pt,isUsingCloneFor:$i}},[Qe,$i,Pt]);function Ml(){if(!_r)return null;var jl=_r.dragging,Ts=_r.render,Bs=x.createElement(uc,{draggableId:jl.draggableId,index:jl.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(gs,ks){return Ts(gs,ks,jl)});return ya.createPortal(Bs,mo())}return x.createElement(Qu.Provider,{value:yl},Ge(Sl,Ea),Ml())}var Yu=function(ae,le){return ae===le.droppable.type},cc=function(ae,le){return le.draggables[ae.draggable.id]},Uc=function(){var ae={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},le=(0,Re.Z)({},ae,{shouldAnimatePlaceholder:!1}),me=Ar(function(Ge){return{draggableId:Ge.id,type:Ge.type,source:{index:Ge.index,droppableId:Ge.droppableId}}}),Ae=Ar(function(Ge,Qe,Pt,Qt,Ht,wt){var Dt=Ht.descriptor.id,fn=Ht.descriptor.droppableId===Ge;if(fn){var Ea=wt?{render:wt,dragging:me(Ht.descriptor)}:null,_r={isDraggingOver:Pt,draggingOverWith:Pt?Dt:null,draggingFromThisWith:Dt,isUsingPlaceholder:!0};return{placeholder:Ht.placeholder,shouldAnimatePlaceholder:!1,snapshot:_r,useClone:Ea}}if(!Qe)return le;if(!Qt)return ae;var ao={isDraggingOver:Pt,draggingOverWith:Dt,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Ht.placeholder,shouldAnimatePlaceholder:!0,snapshot:ao,useClone:null}}),Ne=function(Qe,Pt){var Qt=Pt.droppableId,Ht=Pt.type,wt=!Pt.isDropDisabled,Dt=Pt.renderClone;if(Qe.isDragging){var fn=Qe.critical;if(!Yu(Ht,fn))return le;var Ea=cc(fn,Qe.dimensions),_r=cl(Qe.impact)===Qt;return Ae(Qt,wt,_r,_r,Ea,Dt)}if(Qe.phase==="DROP_ANIMATING"){var ao=Qe.completed;if(!Yu(Ht,ao.critical))return le;var mo=cc(ao.critical,Qe.dimensions);return Ae(Qt,wt,lc(ao.result)===Qt,cl(ao.impact)===Qt,mo,Dt)}if(Qe.phase==="IDLE"&&Qe.completed&&!Qe.shouldFlush){var To=Qe.completed;if(!Yu(Ht,To.critical))return le;var Vo=cl(To.impact)===Qt,qo=!!(To.impact.at&&To.impact.at.type==="COMBINE"),Ii=To.critical.droppable.id===Qt;return Vo?qo?ae:le:Ii?ae:le}return le};return Ne},Wc={updateViewportMaxScroll:Zr};function Vc(){return document.body||It(!1),document.body}var $c={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Vc},dc=dn(Uc,Wc,null,{context:ko,pure:!0,areStatePropsEqual:ic})(Gc);dc.defaultProps=$c},88359:function(Jt,zt){"use strict";var z;var x=60103,ie=60106,Ce=60107,Re=60108,ye=60114,Te=60109,se=60110,nt=60112,Me=60113,ze=60120,Ze=60115,de=60116,_e=60121,ue=60122,y=60117,a=60129,b=60131;if(typeof Symbol=="function"&&Symbol.for){var E=Symbol.for;x=E("react.element"),ie=E("react.portal"),Ce=E("react.fragment"),Re=E("react.strict_mode"),ye=E("react.profiler"),Te=E("react.provider"),se=E("react.context"),nt=E("react.forward_ref"),Me=E("react.suspense"),ze=E("react.suspense_list"),Ze=E("react.memo"),de=E("react.lazy"),_e=E("react.block"),ue=E("react.server.block"),y=E("react.fundamental"),a=E("react.debug_trace_mode"),b=E("react.legacy_hidden")}function ee(Ke){if(typeof Ke=="object"&&Ke!==null){var Ue=Ke.$$typeof;switch(Ue){case x:switch(Ke=Ke.type,Ke){case Ce:case ye:case Re:case Me:case ze:return Ke;default:switch(Ke=Ke&&Ke.$$typeof,Ke){case se:case nt:case de:case Ze:case Te:return Ke;default:return Ue}}case ie:return Ue}}}var te=Te,re=x,oe=nt,ce=Ce,pe=de,Pe=Ze,He=ie,ke=ye,Oe=Re,he=Me;z=se,z=te,z=re,z=oe,z=ce,z=pe,z=Pe,z=He,z=ke,z=Oe,z=he,z=function(){return!1},z=function(){return!1},zt.isContextConsumer=function(Ke){return ee(Ke)===se},z=function(Ke){return ee(Ke)===Te},z=function(Ke){return typeof Ke=="object"&&Ke!==null&&Ke.$$typeof===x},z=function(Ke){return ee(Ke)===nt},z=function(Ke){return ee(Ke)===Ce},z=function(Ke){return ee(Ke)===de},z=function(Ke){return ee(Ke)===Ze},z=function(Ke){return ee(Ke)===ie},z=function(Ke){return ee(Ke)===ye},z=function(Ke){return ee(Ke)===Re},z=function(Ke){return ee(Ke)===Me},z=function(Ke){return typeof Ke=="string"||typeof Ke=="function"||Ke===Ce||Ke===ye||Ke===a||Ke===Re||Ke===Me||Ke===ze||Ke===b||typeof Ke=="object"&&Ke!==null&&(Ke.$$typeof===de||Ke.$$typeof===Ze||Ke.$$typeof===Te||Ke.$$typeof===se||Ke.$$typeof===nt||Ke.$$typeof===y||Ke.$$typeof===_e||Ke[0]===ue)},z=ee},72973:function(Jt,zt,z){"use strict";Jt.exports=z(88359)},32637:function(Jt,zt,z){"use strict";Jt.exports=z.p+"static/AssistantCode3.a8740efb.jpeg"},73631:function(Jt){"use strict";Jt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5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9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},36459:function(Jt,zt,z){"use strict";z.d(zt,{Z:function(){return x}});function x(ie){if(ie==null)throw new TypeError("Cannot destructure "+ie)}}}]);