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

367 lines
1.3 MiB

(self.webpackChunk=self.webpackChunk||[]).push([[292],{89489:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,je){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le},59477:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,je){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le},26227:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,je){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le},49198:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,je){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le},41464:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,je){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le},87169:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,je){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le},52671:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,je){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le},8657:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,je){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le},56082:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,je){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le},33853:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,je){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le},12893:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,je){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le},15075:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,je){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le},32134:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,je){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le},43531:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,je){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le},38819:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ve,je){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le},99587:function(Qt,Gt){"use strict";Gt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},8423:function(Qt,Gt){"use strict";Gt.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},2397:function(Qt,Gt){"use strict";Gt.Z={flex_box_center:"flex_box_center___ycN2f",flex_space_between:"flex_space_between___LcS9e",flex_box_vertical_center:"flex_box_vertical_center___uwjPm",flex_box_center_end:"flex_box_center_end___Pc903",flex_box_column:"flex_box_column___AXEdv",bg:"bg___fm2Cw",title:"title___J3MCU",editIcon:"editIcon___i4Zll",titleLeft:"titleLeft___da61c",titleRight:"titleRight___EsdL6",formWrap:"formWrap___YTxC3",baseLineHeight:"baseLineHeight___TprCB",radioBtnWrapper:"radioBtnWrapper___Mt_XG",radiogroup:"radiogroup___EvkWh",easy:"easy___mSxtg",medium:"medium___NIaWN",hard:"hard___mddnD",baseFormItem:"baseFormItem___csbyb",cascaderPopup:"cascaderPopup___BttnF",selectdiv:"selectdiv___TAr4i",divitem:"divitem___iaXB2",bottmodiv:"bottmodiv___bmp6p",cancelBtn:"cancelBtn___Q4ZcL",confirmBtn:"confirmBtn___nRiCD",concat:"concat___jlPR1"}},57149:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,ke=(et,Ve,je)=>Ve in et?de(et,Ve,{enumerable:!0,configurable:!0,writable:!0,value:je}):et[Ve]=je,le=(et,Ve)=>{for(var je in Ve||(Ve={}))Ne.call(Ve,je)&&ke(et,je,Ve[je]);if(Be)for(var je of Be(Ve))Ze.call(Ve,je)&&ke(et,je,Ve[je]);return et};const st=et=>React.createElement("svg",le({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},et),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));Gt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},61250:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,ke=(et,Ve,je)=>Ve in et?de(et,Ve,{enumerable:!0,configurable:!0,writable:!0,value:je}):et[Ve]=je,le=(et,Ve)=>{for(var je in Ve||(Ve={}))Ne.call(Ve,je)&&ke(et,je,Ve[je]);if(Be)for(var je of Be(Ve))Ze.call(Ve,je)&&ke(et,je,Ve[je]);return et};const st=et=>React.createElement("svg",le({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},et),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));Gt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},63720:function(){"use strict";function Qt(se,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=se,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(Qt.prototype,"name",{get:function(){return this._name},set:function(se){if(typeof se!="string"||se==="")throw new Error("Shape name must be a valid string.");this._name=se}}),Object.defineProperty(Qt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("The default value must be a real number, not: "+se);this._defaultValue=se}}),Object.defineProperty(Qt.prototype,"minimum",{get:function(){return this._minimum},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("Minimum must be a real number, not: "+se);this._minimum=se}}),Object.defineProperty(Qt.prototype,"maximum",{get:function(){return this._maximum},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("Maximum must be a real number, not: "+se);this._maximum=se}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(se,E){var a=go.Shape._FigureParameters[se];return a?a[E]:null},go.Shape.setFigureParameter=function(se,E,a){if(!(a instanceof Qt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValue<a.minimum||a.defaultValue>a.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var x=go.Shape._FigureParameters[se];x||(x=[],go.Shape._FigureParameters[se]=x),x[E]=a};var Gt=[];function ee(se,E){var a=Gt.pop();return a===void 0?new go.Point(se,E):(a.x=se,a.y=E,a)}function b(){var se=Gt.pop();return se===void 0?new go.Point:se}function de(se){Gt.push(se)}function Be(se,E,a,x,y,z,ne,re,ue){ue||(ue=new go.Point);var oe=se-a,ve=y-ne,be=NaN,We=NaN;if(oe===0)if(ve===0)se===a&&(be=se,We=E);else{var Ae=(z-re)/ve,He=z-Ae*y;be=se,We=Ae*be+He}else if(ve===0){var he=(E-x)/oe,qe=E-he*se;be=y,We=he*be+qe}else{var he=(E-x)/oe,Ae=(z-re)/ve,qe=E-he*se,He=z-Ae*y;be=(He-qe)/(he-Ae),We=he*be+qe}return ue.x=be,ue.y=We,ue}function Ne(se,E,a,x,y,z,ne,re,ue,oe,ve,be,We,Ae){var He=1-ue,he=ue,qe=se*He+a*he,Ke=E*He+x*he,ht=a*He+y*he,Le=x*He+z*he,rt=y*He+ne*he,ut=z*He+re*he,gt=qe*He+ht*he,mt=Ke*He+Le*he,un=ht*He+rt*he,Nt=Le*He+ut*he,rn=gt*He+un*he,nn=mt*He+Nt*he;oe.x=qe,oe.y=Ke,ve.x=gt,ve.y=mt,be.x=rn,be.y=nn,We.x=un,We.y=Nt,Ae.x=rt,Ae.y=ut}var Ze=new go.Spot(.156,.156),ke=new go.Spot(.844,.844),le=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Qt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*le,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-y,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,y,a,0,a-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,1,-y,-y)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(se,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(se,E,a){var x=E/2,y=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=Ze,y.spot2=ke,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,le*E,0,E,(1-le)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,le*a,(1-le)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,le*a,le*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-le)*E,0,0,(1-le)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Qt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Qt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)?x=10:x<-E?x=-E:x>E&&(x=E);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.setFigureParameter("Trapezoid1",0,new Qt("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Qt("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)?x=20:x<-E?x=-E/2:x>E&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}}),go.Shape.setFigureParameter("ManualOperation",0,new Qt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)?x=10:x<-E?x=-E/2:x>E&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())):z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),y<E/2&&z.setSpots(y/E,0,(E-y)/E,1),z}});var st=[];function et(){var se=st.pop();return se===void 0?[]:se}function Ve(se){se.length=0,st.push(se)}function je(se){for(var E=et(),a=.5,x=.5,y=Math.PI*1.5,z=0,ne=0;ne<se;ne++)z=2*Math.PI/se*ne+y,E[ne]=new go.Point(x+a*Math.cos(z),x+a*Math.sin(z));return E.push(E[0]),E}function Xe(se){var E=Ye(se),a=et();a[0]=E[0];for(var x=1,y=1;x<E.length;x+=2,y+=3)a[y]=E[x],a[y+1]=E[x],a[y+2]=E[x+1];return Ve(E),a}function Ye(se){for(var E=je(se),a=et(),x=Math.floor(E.length/2),y=E.length-1,z=se%2===0?2:1,ne=0;ne<y;ne++){var re=E[ne],ue=E[ne+1],oe=E[(x+ne-1)%y],ve=E[(x+ne+z)%y];a[ne*2]=re,a[ne*2+1]=Be(re.x,re.y,oe.x,oe.y,ue.x,ue.y,ve.x,ve.y,new go.Point)}return a[a.length]=a[0],Ve(E),a}go.Shape.defineFigureGenerator("Pentagon",function(se,E,a){var x=je(5),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<5;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.2,.22),y.spot2=new go.Spot(.8,.9),y}),go.Shape.defineFigureGenerator("Hexagon",function(se,E,a){var x=je(6),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<6;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.07,.25),y.spot2=new go.Spot(.93,.75),y}),go.Shape.defineFigureGenerator("Heptagon",function(se,E,a){var x=je(7),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<7;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.2,.15),y.spot2=new go.Spot(.8,.85),y}),go.Shape.defineFigureGenerator("Octagon",function(se,E,a){var x=je(8),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<8;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.15,.15),y.spot2=new go.Spot(.85,.85),y}),go.Shape.defineFigureGenerator("Nonagon",function(se,E,a){var x=je(9),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<9;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.17,.13),y.spot2=new go.Spot(.82,.82),y}),go.Shape.defineFigureGenerator("Decagon",function(se,E,a){var x=je(10),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<10;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("Dodecagon",function(se,E,a){var x=je(12),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<12;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("FivePointedStar",function(se,E,a){var x=Ye(5),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<10;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.266,.333),y.spot2=new go.Spot(.733,.733),y}),go.Shape.defineFigureGenerator("SixPointedStar",function(se,E,a){var x=Ye(6),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<12;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.17,.25),y.spot2=new go.Spot(.83,.75),y}),go.Shape.defineFigureGenerator("SevenPointedStar",function(se,E,a){var x=Ye(7),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<14;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("EightPointedStar",function(se,E,a){var x=Ye(8),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<16;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.25,.25),y.spot2=new go.Spot(.75,.75),y}),go.Shape.defineFigureGenerator("NinePointedStar",function(se,E,a){var x=Ye(9),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<18;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("TenPointedStar",function(se,E,a){var x=Ye(10),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<20;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*E,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ve(x),y.spot1=new go.Spot(.281,.261),y.spot2=new go.Spot(.723,.748),y}),go.Shape.defineFigureGenerator("FivePointedBurst",function(se,E,a){var x=Xe(5),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*E,x[ne+2].y*a,x[ne].x*E,x[ne].y*a,x[ne+1].x*E,x[ne+1].y*a));return z.segments.last().close(),Ve(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("SixPointedBurst",function(se,E,a){var x=Xe(6),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*E,x[ne+2].y*a,x[ne].x*E,x[ne].y*a,x[ne+1].x*E,x[ne+1].y*a));return z.segments.last().close(),Ve(x),y.spot1=new go.Spot(.17,.222),y.spot2=new go.Spot(.833,.777),y}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(se,E,a){var x=Xe(7),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*E,x[ne+2].y*a,x[ne].x*E,x[ne].y*a,x[ne+1].x*E,x[ne+1].y*a));return z.segments.last().close(),Ve(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("EightPointedBurst",function(se,E,a){var x=Xe(8),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*E,x[ne+2].y*a,x[ne].x*E,x[ne].y*a,x[ne+1].x*E,x[ne+1].y*a));return z.segments.last().close(),Ve(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("NinePointedBurst",function(se,E,a){var x=Xe(9),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*E,x[ne+2].y*a,x[ne].x*E,x[ne].y*a,x[ne+1].x*E,x[ne+1].y*a));return z.segments.last().close(),Ve(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("TenPointedBurst",function(se,E,a){var x=Xe(10),y=new go.Geometry,z=new go.PathFigure(x[0].x*E,x[0].y*a,!0);y.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*E,x[ne+2].y*a,x[ne].x*E,x[ne].y*a,x[ne+1].x*E,x[ne+1].y*a));return z.segments.last().close(),Ve(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.setFigureParameter("FramedRectangle",0,new Qt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Qt("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(se,E,a){var x=se?se.parameter1:NaN,y=se?se.parameter2:NaN;isNaN(x)&&(x=8),isNaN(y)&&(y=8);var z=new go.Geometry,ne=new go.PathFigure(0,0,!0);return z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x<E/2&&y<a/2&&(ne.add(new go.PathSegment(go.PathSegment.Move,x,y)),ne.add(new go.PathSegment(go.PathSegment.Line,x,a-y)),ne.add(new go.PathSegment(go.PathSegment.Line,E-x,a-y)),ne.add(new go.PathSegment(go.PathSegment.Line,E-x,y).close())),z.setSpots(0,0,1,1,x,y,-x,-y),z}),go.Shape.setFigureParameter("Ring",0,new Qt("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var y=E/2,z=new go.Geometry,ne=new go.PathFigure(E,E/2,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Arc,0,360,y,y,y,y).close());var re=Math.max(y-x,0);return re>0&&(ne.add(new go.PathSegment(go.PathSegment.Move,E/2+re,E/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,re,re).close())),z.spot1=Ze,z.spot2=ke,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(se,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new Qt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Qt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(se,E,a){var x=se?se.parameter1:NaN,y=se?se.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var z=x%360;z<0&&(z+=360);var ne=y%360,re=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,z,ne,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(se,E,a){var x=le/Math.SQRT2*.5,y=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*E,z*a,E,(1-x)*a,(y+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Qt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,E)/2,z=E/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Qt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,E)/2,z=E/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new Qt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(se,E,a){var x=se?se.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=E,y.endY=a,y}else{var z=E/2,ne=a/2,re=Math.atan2(a,E),ue=x-Math.min(Math.cos(re)*x/2,z),oe=x-Math.min(Math.sin(re)*x/2,ne),y=new go.Geometry,ve=new go.PathFigure(ue,0,!0);return y.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),ve.add(new go.PathSegment(go.PathSegment.Line,E-ue,0)),ve.add(new go.PathSegment(go.PathSegment.Line,E,oe)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,E,a-oe)),ve.add(new go.PathSegment(go.PathSegment.Line,E-ue,a)),ve.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),ve.add(new go.PathSegment(go.PathSegment.Line,ue,a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,a-oe)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new Qt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new Qt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new Qt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,le*E,0,E,(.5-le/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+le/2)*a,le*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.4*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,ne=.3,re=0,ue=z*le;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+ue+re)*a,(.5-ue+ne)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*E,(.5+re)*a,(.5+ue+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne)*E,(.5-ue+re)*a,(.5+ue+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ue+ne)*E,(.5-z+re)*a,(.5-z+ne+.05)*E,(.5-ue+re-.02)*a)),z=.2,ne=0,re=-.3,ue=z*le,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*E,(.5+re)*a,(.5+ue+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne)*E,(.5-ue+re)*a,(.5+ue+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*E,(.5+re)*a,(.5-ue+ne)*E,(.5-z+re)*a,(.5-z+ne)*E,(.5-ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ue+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+ue+re)*a,(.5-ue+ne)*E,(.5+z+re)*a)),z=.2,ne=-.3,re=0,ue=z*le,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne-.05)*E,(.5-ue+re-.02)*a,(.5+ue+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*E,(.5+re)*a,(.5-ue+ne)*E,(.5-z+re)*a,(.5-z+ne)*E,(.5-ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+ue+re)*a,(.5-ue+ne)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ue+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+ue+re)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,ne=.5,re=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ne+z)*E,re*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*ne,a*re,z*E,z*E).close()),y=new go.PathFigure(E*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),re=.75,y=new go.PathFigure((ne+z)*E,re*a,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*ne,a*re,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(se,E,a){var x=.8535533905932737,y=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,z,y,z)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=.5,re=.5,ue=new go.PathFigure(ne*E,(re-z)*a);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),z=.4,y=le*.4;var oe=b(),ve=b(),be=b(),We=b();Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.42,oe,ve,be,We,We);var Ae=b(),He=b(),he=b();Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.58,We,We,he,Ae,He);var qe=b(),Ke=b(),ht=b();Ne(ne,re+z,ne-y,re+z,ne-z,re+y,ne-z,re,.42,qe,Ke,ht,We,We);var Le=b(),rt=b(),ut=b();return Ne(ne,re+z,ne-y,re+z,ne-z,re+y,ne-z,re,.58,We,We,ut,Le,rt),ue.add(new go.PathSegment(go.PathSegment.Move,ut.x*E,ut.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,Le.x*E,Le.y*a,rt.x*E,rt.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,be.x*E,be.y*a,oe.x*E,oe.y*a,ve.x*E,ve.y*a)),ue.add(new go.PathSegment(go.PathSegment.Line,ut.x*E,ut.y*a).close()),ue.add(new go.PathSegment(go.PathSegment.Move,ht.x*E,ht.y*a)),ue.add(new go.PathSegment(go.PathSegment.Line,he.x*E,he.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,Ae.x*E,Ae.y*a,He.x*E,He.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ht.x*E,ht.y*a,qe.x*E,qe.y*a,Ke.x*E,Ke.y*a).close()),de(oe),de(ve),de(be),de(We),de(Ae),de(He),de(he),de(qe),de(Ke),de(ht),de(Le),de(rt),de(ut),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Qt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var y=(E-x)/2,z=y+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(se,E,a){var x=new go.Geometry,y=le*.4,z=.4,ne=.5,re=.5,ue=b(),oe=b(),ve=b(),be=b(),We=new go.PathFigure((ne-z)*E,re*a,!1);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.44,ve,be,oe,ue,ue),We.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*E,oe.y*a,ve.x*E,ve.y*a,be.x*E,be.y*a));var Ae=ee(oe.x,oe.y);Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.56,ue,ue,oe,ve,be);var He=ee(oe.x,oe.y);We.add(new go.PathSegment(go.PathSegment.Line,(Ae.x*.1+.95*.9)*E,Ae.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*E,Ae.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),We.add(new go.PathSegment(go.PathSegment.Line,E,0)),We.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(He.x*.1+.9)*E,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(He.x*.1+.9)*E,(He.y*.1+.05*.9)*a)),We.add(new go.PathSegment(go.PathSegment.Line,He.x*E,He.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,ve.x*E,ve.y*a,be.x*E,be.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),z=.35,y=le*.35;var he=new go.PathFigure(ne*E,(re-z)*a,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a));var qe=new go.PathFigure((ne-z)*E,re*a,!1);return x.add(qe),de(ue),de(oe),de(ve),de(be),de(Ae),de(He),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(se,E,a){var x=new go.Geometry,y=.375,z=0,ne=-.125,re=y*le,ue=new go.PathFigure((.525+z)*E,(.5+y+ne)*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ne)*a,(.5+re+z)*E,(.5+y+ne)*a,(.5+y+z)*E,(.5+re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ne)*a,(1-.5+y+z)*E,(.5-re+ne)*a,(.5+re+z)*E,(.5-y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+y+ne)*a,(.5-y+z)*E,(.5+re+ne)*a,(.5-re+z)*E,(.5+y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,z=0,ne=-.125,re=y*le;var ue=new go.PathFigure((1-.5+y+z)*E,(.5+ne)*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+y+ne)*a,(.5+y+z)*E,(.5+re+ne)*a,(.5+re+z)*E,(.5+y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5+y+ne)*a,(.5-y+z)*E,(.5+re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a,(.5-re+z)*E,(.5-y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ne)*a,(.5+re+z)*E,(.5-y+ne)*a,(1-.5+y+z)*E,(.5-re+ne)*a));var ue=new go.PathFigure((.525+z)*E,(.5+y+ne)*a,!1);return x.add(ue),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(se,E,a){var x=se?se.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(se,E,a){var x=se?se.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(se,E,a){var x=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(se,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(se,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Qt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Qt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=se?se.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-x)*E,ne=(.5-y/2)*a,re=(.5+y/2)*a,ue=new go.Geometry,oe=new go.PathFigure(0,ne,!0);ue.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,z,ne)),oe.add(new go.PathSegment(go.PathSegment.Line,z,0)),oe.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,z,a)),oe.add(new go.PathSegment(go.PathSegment.Line,z,re)),oe.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ue.spot1=new go.Spot(0,ne/a);var ve=Be(0,re/a,1,re/a,z/E,1,1,.5,b());return ue.spot2=new go.Spot(ve.x,ve.y),de(ve),ue}),go.Shape.setFigureParameter("Arrow2",0,new Qt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Qt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var y=se?se.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var z=E-x,ne=(a-y)/2,re=ne+y,ue=new go.Geometry,oe=new go.PathFigure(0,ne,!0);ue.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,z,ne)),oe.add(new go.PathSegment(go.PathSegment.Line,z,0)),oe.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,z,a)),oe.add(new go.PathSegment(go.PathSegment.Line,z,re)),oe.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ue.spot1=new go.Spot(0,ne/a);var ve=Be(0,re/a,1,re/a,z/E,1,1,.5,b());return ue.spot2=new go.Spot(ve.x,ve.y),de(ve),ue}),go.Shape.defineFigureGenerator("Chevron",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Qt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ue=Be(0,.5,.3,0,0,y/a,.1,y/a,b());return ne.spot1=new go.Spot(ue.x,ue.y),ue=Be(.7,1,1,.5,0,z/a,1,z/a,ue),ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Qt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Qt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=40);var y=se?se.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,ne=z+x,re=(a-y)/2,ue=re+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,ne=z+x,re=0,ue=a):(z=0,ne=a,re=0,ue=a));var oe=new go.Geometry,ve=new go.PathFigure(E,.5*a,!0);oe.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close());var be=Be(0,.5,.3,re/a,0,z/a,1,z/a,b());return oe.spot1=new go.Spot(be.x,be.y),be=Be(.7,ue/a,1,.5,0,ne/a,1,ne/a,be),oe.spot2=new go.Spot(be.x,be.y),de(be),oe}),go.Shape.setFigureParameter("IBeamArrow",0,new Qt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(0,y/a);var ue=Be(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new Qt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Qt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=40);var y=se?se.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,ne=z+x,re=(a-y)/2,ue=re+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,ne=z+x,re=0,ue=a):(z=0,ne=a,re=0,ue=a));var oe=new go.Geometry,ve=new go.PathFigure(E,.5*a,!0);oe.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close()),oe.spot1=new go.Spot(0,z/a);var be=Be(.7,ue/a,1,.5,0,ne/a,1,ne/a,b());return oe.spot2=new go.Spot(be.x,be.y),de(be),oe}),go.Shape.setFigureParameter("Pointer",0,new Qt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var ne=Be(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),de(ne),y}),go.Shape.setFigureParameter("RoundedPointer",0,new Qt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y.spot1=new go.Spot(x,.35);var ne=Be(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),de(ne),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new Qt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(.2,.3);var ue=Be(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Qt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=50);var y=(a-x)/2,z=y+x;x>a&&(y=0,z=a);var ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(.2,y/a);var ue=Be(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("SquareArrow",0,new Qt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(se,E,a){var x=new go.Geometry,y=le*.5,z=le*.1,ne=new go.PathFigure(0,.9*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.9*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.3*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(0,x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,le*x,(.5-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,le*x)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-le*x,(.5+z)*E,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-le*x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(E,x,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-le*x,(.5+z)*E,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-le*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(0,a-x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,le*x,(.5-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,le*x)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-le*x,(.5+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-le*x));var re=new go.PathFigure(0,a-x,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-le*x,(.5-z)*E,a-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-le*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-le*x,0,E,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-le*x,a)),ne.add(new go.PathSegment(go.PathSegment.Line,x,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,le*x,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,le*x,0));var re=new go.PathFigure(x,0,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+le*x,0,2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+le*x,a)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(E-x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-le*x,0,E,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-le*x,a)),ne.add(new go.PathSegment(go.PathSegment.Line,x,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,le*x,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,le*x,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E-x,0));var re=new go.PathFigure(E-x,0,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-le*x,0,E-2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-le*x,a)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(se,E,a){var x=new go.Geometry,y=.2,z=.1,ne=le*y,re=le*z,ue=.5,oe=.1,ve=new go.PathFigure(ue*E,(oe+z)*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue-y)*E,oe*a,(ue-ne)*E,(oe+z)*a,(ue-y)*E,(oe+re)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(oe-z)*a,(ue-y)*E,(oe-re)*a,(ue-ne)*E,(oe-z)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue+y)*E,oe*a,(ue+ne)*E,(oe-z)*a,(ue+y)*E,(oe-re)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(oe+z)*a,(ue+y)*E,(oe+re)*a,(ue+ne)*E,(oe+z)*a));var be=.05,We=le*be;ue=.05,oe=.25;var Ae=new go.PathFigure(.5*E,.2*a,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ue=.95,oe=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue+be)*E,oe*a,(ue+We)*E,(oe-be)*a,(ue+be)*E,(oe-We)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),be=.025,We=le*be,ue=.825,oe=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(oe-be)*a,(ue+be)*E,(oe-We)*a,(ue+We)*E,(oe-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,oe*a,(ue-We)*E,(oe-be)*a,(ue-be)*E,(oe-We)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),be=.05,We=le*be,ue=.5,oe=.7,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(oe-be)*a,(ue+be)*E,(oe-We)*a,(ue+We)*E,(oe-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,oe*a,(ue-We)*E,(oe-be)*a,(ue-be)*E,(oe-We)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),be=.025,We=le*be,ue=.175,oe=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(oe-be)*a,(ue+be)*E,(oe-We)*a,(ue+We)*E,(oe-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,oe*a,(ue-We)*E,(oe-be)*a,(ue-be)*E,(oe-We)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),be=.05,We=le*be,ue=.05,oe=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(oe-be)*a,(ue-be)*E,(oe-We)*a,(ue-We)*E,(oe-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new Qt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,y*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("Database",function(se,E,a){var x=new go.Geometry,y=le*.5,z=le*.1,ne=new go.PathFigure(E,.1*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+y)*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*E,.4*a,0,(.3+z)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(se,E,a){var x=new go.Geometry,y=le*.5,z=le*.1,ne=new go.PathFigure(E,.1*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var z=le*.2,ne=new go.PathFigure(0,.2*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var re=new go.PathFigure(0,y*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,y*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("Document",function(se,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(y*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var ne=new go.PathFigure(E,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN,z=se?se.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var ne=new go.PathFigure(0,0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var re=new go.PathFigure(y*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(se,E,a){var x=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ne=le*.5,re=.5,ue=new go.PathFigure(E,re*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*E,a,E,(re+ne)*a,(re+ne)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,re*a,(re-ne)*E,a,0,(re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*E,0,0,(re-ne)*a,(re-ne)*E,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,re*a,(re+ne)*E,0,E,(re-ne)*a));var oe=new go.PathFigure((z+y)*E,(z+y)*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),oe.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+y)*a)),oe.add(new go.PathSegment(go.PathSegment.Line,(z+y)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(se,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=new go.PathFigure(.5*E,a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+y)*a,(z+y)*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,y*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(se,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.1*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,ne=new go.PathFigure(0,0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var re=new go.PathFigure(.5*y*E,y*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*E,y*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=new go.PathFigure(E,z*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var re=new go.PathFigure(E,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(se,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN,z=se?se.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN,z=se?se.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure((1-y)*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(y*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var ne=new go.PathFigure(y*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(se,E,a){var x=new go.Geometry,y=le*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+y)*E,0,E,(.5-y)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+y)*a,(.5+y)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=new go.PathFigure(E,z*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var re=new go.PathFigure(E,z*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var ue=new go.PathFigure(.8*E,.75*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(se,E,a){var x=new go.Geometry,y=le*.1,z=.1,ne=.9,re=.5,ue=new go.PathFigure(.8*E,.5*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,a)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var oe=new go.PathFigure((ne+z)*E,re*a,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re-z)*a,(ne+z)*E,(re-y)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(se,E,a){var x=new go.Geometry,y=le*.5,z=le*.4,ne=le*.1,re=.1,ue=.9,oe=.5,ve=new go.PathFigure(.8*E,.5*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var be=new go.PathFigure((ue+re)*E,oe*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(oe+re)*a,(ue+re)*E,(oe+ne)*a,(ue+ne)*E,(oe+re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E,oe*a,(ue-ne)*E,(oe+re)*a,(ue-re)*E,(oe+ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(oe-re)*a,(ue-re)*E,(oe-ne)*a,(ue-ne)*E,(oe-re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E,oe*a,(ue+ne)*E,(oe-re)*a,(ue+re)*E,(oe-ne)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=0,re=.5,ue=new go.PathFigure(.8*E,.5*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ne+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=le*.1,ne=.9,re=.5;var oe=new go.PathFigure((ne-y)*E,re*a,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=0,re=.5,ue=new go.PathFigure(0,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ne+z+z)*E,(re-y)*a,.8*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(re+z)*a,(ne+z+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=.2,re=.5,ue=new go.PathFigure(.1*E,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var oe=new go.PathFigure(.8*E,.5*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(re+z)*a,(ne+z)*E,(re+y)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ne+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=le*.1,ne=.9,re=.5;var ve=new go.PathFigure((ne-y)*E,re*a,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=.2,re=.5,ue=new go.PathFigure(.1*E,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var oe=new go.PathFigure(.2*E,0,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ne+z)*E,(re-y)*a,.9*E,(re-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(re+z)*a,(ne+z)*E,(re+y)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(se,E,a){var x=new go.Geometry,y=le*.1,z=.1,ne=.1,re=.5,ue=new go.PathFigure((ne-y*.5)*E,a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.3,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.5,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.7,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.9,ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y*.5)*E,a,(ne+z)*E,0,(ne+y)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=.5,re=.5,ue=new go.PathFigure((ne-z)*E,re*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re-z)*a,(ne+z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Move,(ne-z+.1)*E,re*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z-.1)*E,re*a,ne*E,(re-z)*a,ne*E,(re+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(se,E,a){var x=new go.Geometry,y=E,z=a;E=E*.38,a=a*.6;var ne=le*.8,re=.8,ue=0,oe=.5,ve=(y-E)/2,be=(z-a)/2,We=new go.PathFigure(ue*E+ve,(oe+re)*a+be,!0);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E+ve,oe*a+be,(ue-ne)*E+ve,(oe+re)*a+be,(ue-re)*E+ve,(oe+ne)*a+be)),We.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(oe-re)*a+be,(ue-re)*E+ve,(oe-ne)*a+be,(ue-ne)*E+ve,(oe-re)*a+be)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re+ne*.5)*E+ve,oe*a+be,ue*E+ve,(oe-re)*a+be,(ue-re+ne*.5)*E+ve,(oe-ne)*a+be)),We.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(oe+re)*a+be,(ue-re+ne*.5)*E+ve,(oe+ne)*a+be,ue*E+ve,(oe+re)*a+be).close()),ne=le*.4,re=.4,ue=.2,oe=.5;var Ae=new go.PathFigure(ue*E+ve,(oe+re)*a+be,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E+ve,oe*a+be,(ue-ne)*E+ve,(oe+re)*a+be,(ue-re)*E+ve,(oe+ne)*a+be)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(oe-re)*a+be,(ue-re)*E+ve,(oe-ne)*a+be,(ue-ne)*E+ve,(oe-re)*a+be)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re+ne*.5)*E+ve,oe*a+be,ue*E+ve,(oe-re)*a+be,(ue-re+ne*.5)*E+ve,(oe-ne)*a+be)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(oe+re)*a+be,(ue-re+ne*.5)*E+ve,(oe+ne)*a+be,ue*E+ve,(oe+re)*a+be).close()),ne=le*.2,re=.2,ue=.5,oe=.5;var He=new go.PathFigure((ue-re)*E+ve,oe*a+be,!0);x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(oe-re)*a+be,(ue-re)*E+ve,(oe-ne)*a+be,(ue-ne)*E+ve,(oe-re)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E+ve,oe*a+be,(ue+ne)*E+ve,(oe-re)*a+be,(ue+re)*E+ve,(oe-ne)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(oe+re)*a+be,(ue+re)*E+ve,(oe+ne)*a+be,(ue+ne)*E+ve,(oe+re)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E+ve,oe*a+be,(ue-ne)*E+ve,(oe+re)*a+be,(ue-re)*E+ve,(oe+ne)*a+be)),ne=le*.4,re=.4,ue=.8,oe=.5;var he=new go.PathFigure(ue*E+ve,(oe-re)*a+be,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E+ve,oe*a+be,(ue+ne)*E+ve,(oe-re)*a+be,(ue+re)*E+ve,(oe-ne)*a+be)),he.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(oe+re)*a+be,(ue+re)*E+ve,(oe+ne)*a+be,(ue+ne)*E+ve,(oe+re)*a+be)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re-ne*.5)*E+ve,oe*a+be,ue*E+ve,(oe+re)*a+be,(ue+re-ne*.5)*E+ve,(oe+ne)*a+be)),he.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(oe-re)*a+be,(ue+re-ne*.5)*E+ve,(oe-ne)*a+be,ue*E+ve,(oe-re)*a+be).close()),ne=le*.8,re=.8,ue=1,oe=.5;var qe=new go.PathFigure(ue*E+ve,(oe-re)*a+be,!0);return x.add(qe),qe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E+ve,oe*a+be,(ue+ne)*E+ve,(oe-re)*a+be,(ue+re)*E+ve,(oe-ne)*a+be)),qe.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(oe+re)*a+be,(ue+re)*E+ve,(oe+ne)*a+be,(ue+ne)*E+ve,(oe+re)*a+be)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re-ne*.5)*E+ve,oe*a+be,ue*E+ve,(oe+re)*a+be,(ue+re-ne*.5)*E+ve,(oe+ne)*a+be)),qe.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(oe-re)*a+be,(ue+re-ne*.5)*E+ve,(oe-ne)*a+be,ue*E+ve,(oe-re)*a+be).close()),x}),go.Shape.defineFigureGenerator("Email",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.35*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var z=new go.PathFigure(.1*E,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var ne=new go.PathFigure(.6*E,a,!0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var re=new go.PathFigure(0,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),re.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(se,E,a){var x=new go.Geometry,y=le*.4,z=.4,ne=.5,re=.5,ue=b(),oe=b(),ve=b(),be=b();Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.5,ue,ue,oe,ve,be);var We=ee(oe.x,oe.y),Ae=new go.PathFigure(oe.x*E,oe.y*a,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,ve.x*E,ve.y*a,be.x*E,be.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),Ne(ne-z,re,ne-z,re-y,ne-y,re-z,ne,re-z,.5,ve,be,oe,ue,ue),Ae.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*E,oe.y*a,ve.x*E,ve.y*a,be.x*E,be.y*a)),y=le*.3,z=.3,Ne(ne-z,re,ne-z,re-y,ne-y,re-z,ne,re-z,.5,ve,be,oe,ue,ue),Ae.add(new go.PathSegment(go.PathSegment.Line,oe.x*E,oe.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,be.x*E,be.y*a,ve.x*E,ve.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.5,ue,ue,oe,ve,be),Ae.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*E,oe.y*a,be.x*E,be.y*a,ve.x*E,ve.y*a).close());var Ae=new go.PathFigure(.45*E,0,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),de(ue),de(oe),de(ve),de(be),de(We),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(ne,re,ue){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*E,(.8+ue)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*E,(.5+ue)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*E,(.5+ue)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*E,(.8+ue)*a).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.37*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),y.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),y.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(se,E,a){var x=new go.Geometry,y=.5,z=0,ne=0,re=y*le,ue=.4*Math.SQRT2/2+.5,oe=.5-.5*Math.SQRT2/2,ve=1,be=.5,We=.5,Ae=0,He=new go.PathFigure(ue*E,(1-oe)*a,!1);return x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,be*a,ve*E,.7*a,ve*E,be*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(We+z)*E,(Ae+z)*a,(.5+y+z)*E,(.5-re+z)*a,(.5+re+z)*E,(.5-y+z)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-y+z)*E,(.5+re+ne)*a,(.5-re+z)*E,.9*a)),He.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),He.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),He.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var ne=new go.PathFigure(0,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var y=new go.PathFigure(0,.2*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.7*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var ne=.5-.285,re=.5,ue=ne,oe=Math.PI/4,ve=4*(1-Math.cos(oe))/(3*Math.sin(oe)),be=ve*.5,We=ne,Ae=ne,He=ve*We,he=ve*Ae;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-We)*E,ue*a,(re-(He+We)/2)*E,(ue+(Ae+he)/2)*a,(re-We)*E,(ue+he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(ue-Ae)*a,(re-We)*E,(ue-he)*a,(re-He)*E,(ue-Ae)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+We)*E,ue*a,(re+He)*E,(ue-Ae)*a,(re+We)*E,(ue-he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(re+We)*E,(ue+he)*a,(re+(He+We)/2)*E,(ue+(Ae+he)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var qe=new go.PathFigure(.2*E,a,!1);x.add(qe),qe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var Ke=new go.PathFigure(.8*E,a,!1);return x.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var ne=new go.PathFigure(.1*E,a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.05*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.45*E,.95*a,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),y.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),y.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var ne=new go.PathFigure(.675*E,.575*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(se,E,a){var x=new go.Geometry,y=.5,z=le*.5,ne=new go.PathFigure(E,y*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+z)*a,(y+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-z)*E,a,0,(y+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-z)*a,(y-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+z)*E,0,E,(y-z)*a));var re=new go.PathFigure(y*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),re.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.15*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ne=new go.PathFigure(0,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var ne=new go.PathFigure(0,.6*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.15*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var ne=.1,re=le*.1,ue=.2,oe=.9,ve=new go.PathFigure((ue-ne)*E,oe*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(oe-ne)*a,(ue-ne)*E,(oe-re)*a,(ue-re)*E,(oe-ne)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ne)*E,oe*a,(ue+re)*E,(oe-ne)*a,(ue+ne)*E,(oe-re)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(oe+ne)*a,(ue+ne)*E,(oe+re)*a,(ue+re)*E,(oe+ne)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ne)*E,oe*a,(ue-re)*E,(oe+ne)*a,(ue-ne)*E,(oe+re)*a).close()),ne=.1,re=le*.1,ue=.8,oe=.9;var be=new go.PathFigure((ue-ne)*E,oe*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(oe-ne)*a,(ue-ne)*E,(oe-re)*a,(ue-re)*E,(oe-ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ne)*E,oe*a,(ue+re)*E,(oe-ne)*a,(ue+ne)*E,(oe-re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(oe+ne)*a,(ue+ne)*E,(oe+re)*a,(ue+re)*E,(oe+ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ne)*E,oe*a,(ue-re)*E,(oe+ne)*a,(ue-ne)*E,(oe+re)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ne=new go.PathFigure(.5*E,.8*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var re=new go.PathFigure(.5*E,.7*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ue=.1,oe=le*.1,ve=.1,be=.9,We=new go.PathFigure((ve-ue)*E,be*a,!0);x.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be-ue)*a,(ve-ue)*E,(be-oe)*a,(ve-oe)*E,(be-ue)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ue)*E,be*a,(ve+oe)*E,(be-ue)*a,(ve+ue)*E,(be-oe)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be+ue)*a,(ve+ue)*E,(be+oe)*a,(ve+oe)*E,(be+ue)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ue)*E,be*a,(ve-oe)*E,(be+ue)*a,(ve-ue)*E,(be+oe)*a)),ue=.1,oe=le*.1,ve=.4,be=.9;var Ae=new go.PathFigure((ve-ue)*E,be*a,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be-ue)*a,(ve-ue)*E,(be-oe)*a,(ve-oe)*E,(be-ue)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ue)*E,be*a,(ve+oe)*E,(be-ue)*a,(ve+ue)*E,(be-oe)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be+ue)*a,(ve+ue)*E,(be+oe)*a,(ve+oe)*E,(be+ue)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ue)*E,be*a,(ve-oe)*E,(be+ue)*a,(ve-ue)*E,(be+oe)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.4*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var z=new go.PathFigure(.45*E,.7*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var ne=new go.PathFigure(.55*E,.4*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var ve=.05,be=le*.05,We=.175,Ae=.95,re=new go.PathFigure((We-ve)*E,Ae*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ae-ve)*a,(We-ve)*E,(Ae-be)*a,(We-be)*E,(Ae-ve)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(We+ve)*E,Ae*a,(We+be)*E,(Ae-ve)*a,(We+ve)*E,(Ae-be)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ae+ve)*a,(We+ve)*E,(Ae+be)*a,(We+be)*E,(Ae+ve)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(We-ve)*E,Ae*a,(We-be)*E,(Ae+ve)*a,(We-ve)*E,(Ae+be)*a));var ve=.05,be=le*.05,We=.375,Ae=.95,ue=new go.PathFigure((We-ve)*E,Ae*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ae-ve)*a,(We-ve)*E,(Ae-be)*a,(We-be)*E,(Ae-ve)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(We+ve)*E,Ae*a,(We+be)*E,(Ae-ve)*a,(We+ve)*E,(Ae-be)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ae+ve)*a,(We+ve)*E,(Ae+be)*a,(We+be)*E,(Ae+ve)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(We-ve)*E,Ae*a,(We-be)*E,(Ae+ve)*a,(We-ve)*E,(Ae+be)*a));var ve=.05,be=le*.05,We=.625,Ae=.95,oe=new go.PathFigure((We-ve)*E,Ae*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ae-ve)*a,(We-ve)*E,(Ae-be)*a,(We-be)*E,(Ae-ve)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(We+ve)*E,Ae*a,(We+be)*E,(Ae-ve)*a,(We+ve)*E,(Ae-be)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ae+ve)*a,(We+ve)*E,(Ae+be)*a,(We+be)*E,(Ae+ve)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(We-ve)*E,Ae*a,(We-be)*E,(Ae+ve)*a,(We-ve)*E,(Ae+be)*a));var ve=.05,be=le*.05,We=.825,Ae=.95,He=new go.PathFigure((We-ve)*E,Ae*a,!0);x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ae-ve)*a,(We-ve)*E,(Ae-be)*a,(We-be)*E,(Ae-ve)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(We+ve)*E,Ae*a,(We+be)*E,(Ae-ve)*a,(We+ve)*E,(Ae-be)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,We*E,(Ae+ve)*a,(We+ve)*E,(Ae+be)*a,(We+be)*E,(Ae+ve)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(We-ve)*E,Ae*a,(We-be)*E,(Ae+ve)*a,(We-ve)*E,(Ae+be)*a).close());var he=new go.PathFigure(0,a,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var ne=new go.PathFigure(.15*E,a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var re=.05,ue=le*.05,oe=.35,ve=.775,be=new go.PathFigure((oe-re)*E,ve*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(ve-re)*a,(oe-re)*E,(ve-ue)*a,(oe-ue)*E,(ve-re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*E,ve*a,(oe+ue)*E,(ve-re)*a,(oe+re)*E,(ve-ue)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,oe*E,(ve+re)*a,(oe+re)*E,(ve+ue)*a,(oe+ue)*E,(ve+re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*E,ve*a,(oe-ue)*E,(ve+re)*a,(oe-re)*E,(ve+ue)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(se,E,a){var x=new go.Geometry,y=.3,z=le*.3,ne=.5,re=.7,ue=new go.PathFigure((ne-y)*E,re*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a));var oe=new go.PathFigure(0,.7*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var z=new go.PathFigure(0,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(se,E,a){var x=new go.Geometry,y=.5,z=le*.5,ne=.5,re=.5,ue=new go.PathFigure((ne-y)*E,re*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a));var oe=new go.PathFigure(.15*E,.5*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.1*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(se,E,a){var x=new go.Geometry,y=.5,z=le*.5,ne=.5,re=.5,ue=new go.PathFigure((ne-y)*E,re*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a).close()),y=.05,z=le*.05,ne=.5,re=.8;var oe=new go.PathFigure((ne-y)*E,re*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a).close()),oe.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var ne=new go.PathFigure(.402*E,.85*a,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var re=new go.PathFigure(.678*E,.85*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ue=new go.PathFigure(.5*E,.1*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var ne=new go.PathFigure(E*.408,a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var re=new go.PathFigure(E*.612,a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ue=new go.PathFigure(E*.816,a,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var ne=new go.PathFigure(E*.055,.13*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var re=new go.PathFigure(E*.055,.18*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),re.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ue=new go.PathFigure(E*1,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.55*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var ne=new go.PathFigure(E*.11,a*.1,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var re=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ue=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(se,E,a){var x=new go.Geometry,y=8,z=y*le,ne=new go.PathFigure(y,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var re=new go.PathFigure(E*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ue=new go.PathFigure(E*.83,a*1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var oe=new go.PathFigure(E*.78,a*.05,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),oe.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*le,z=a*.8,ne=new go.Geometry,re=new go.PathFigure(x,0,!0);return ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)),re.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-y,E-y,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),re.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,x,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,y,z,0,z-y)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(ne.spot1=new go.Spot(0,0,y,y),ne.spot2=new go.Spot(1,.8,-y,-y)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var ne=new go.PathFigure(E*.28,a*.37,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(se,E,a){var x=new go.Geometry,y=15,z=y*le,ne=new go.PathFigure(E*.62,a*.475,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ne=new go.PathFigure(E*.4,a*0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ne=new go.PathFigure(E*.5,a*0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,a*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},43001:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Qt={},Gt="5.0",ee={},b=null,de=!1,Be=!1,Ne=null,Ze=!1,ke=null,le=null,st=0;st<arguments.length;st++){var et=arguments[st];if(et!==null)switch(typeof et){case"number":Gt=et.toFixed(1);break;case"string":et.match(new RegExp("^[0-9]\\.[0-9]+$"))?Gt=et:Ne=et;break;case"object":typeof et.is3D!="undefined"?b=et:ee=et;break;case"boolean":de=et,Be=!0;break}}b===null&&(b={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ee.material_id!==void 0&&!Be&&(de=!0)),Ne!==null&&ee.id===void 0&&(ee.id=Ne);var Ve="",je="",Xe=!1,Ye=null,se=null,E=null,a=!1,x=null,y=null,z=null,ne=null,re=null;ee.height!==void 0&&(ee.height=Math.round(ee.height)),ee.width!==void 0&&(ee.width=Math.round(ee.width));var ue=function(Ue){return parseFloat(Ue)>4?parseFloat(Ue):5};Qt.setHTML5Codebase=function(Ue,dt){le=Ue,Nt(Ue,dt)},Qt.setJavaCodebase=Qt.setJavaCodebaseVersion=Qt.isCompiledInstalled=Qt.setPreCompiledScriptPath=Qt.setPreCompiledResourcePath=function(){},Qt.setHTML5CodebaseVersion=function(Ue,dt){var on=parseFloat(Ue);if(on!==NaN&&on<5){console.log("The GeoGebra HTML5 codebase version "+on+" is deprecated. Using version latest instead.");return}ke=Ue,un(Ue,dt)},Qt.getHTML5CodebaseVersion=function(){return se},Qt.getParameters=function(){return ee},Qt.setFontsCSSURL=function(Ue){ne=Ue},Qt.setGiacJSURL=function(Ue){},Qt.setJNLPFile=function(Ue){Ve=Ue},Qt.setJNLPBaseDir=function(Ue){},Qt.inject=function(){function Ue(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var dt="auto",on=ee.id,Vn,Zt=!1,wn=0;wn<arguments.length;wn++){var ze=arguments[wn];typeof ze=="string"?(ze=ze.toLowerCase(),ze.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?dt=ze:on=arguments[wn]):typeof ze=="boolean"?Zt=ze:ze instanceof HTMLElement&&(Vn=ze)}ct();function ct(){if(!Ze){setTimeout(ct,200);return}dt=gt(dt);var kt=Vn||document.getElementById(on);if(!kt){console.log("possibly bug on ajax loading? ");return}if(Qt.removeExistingApplet(kt,!1),ee.width===void 0&&kt.clientWidth&&(ee.width=kt.clientWidth),ee.height===void 0&&kt.clientHeight&&(ee.height=kt.clientHeight),!(ee.width&&ee.height)&&dt==="html5"&&(delete ee.width,delete ee.height),Ye=dt,dt==="screenshot")Ke(kt,ee);else{var ft=!1;ee.hasOwnProperty("playButton")&&ee.playButton||ee.hasOwnProperty("clickToLoad")&&ee.clickToLoad?ft=!0:ee.hasOwnProperty("playButtonAutoDecide")&&ee.playButtonAutoDecide&&(ft=(!oe()||Ue())&&ve()),ft?(Ye="screenshot",Le(kt,ee,Zt,dt)):qe(kt,ee,Zt)}}};function oe(){try{return window.self!==window.top}catch(Ue){return!0}}function ve(){return ee.hasOwnProperty("screenshotGenerator")&&ee.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Qt.getViews=function(){return b},Qt.isJavaInstalled=function(){return!1};var be=function(Ue){var dt=function(wn){var ze=JSON.parse(wn),ct=function(At){return At.type=="G"||At.type=="E"},kt=ze.elements?ze.elements.filter(ct)[0]:ze;if(!kt||!kt.url){on();return}ee.fileName=kt.url,We(kt.settings||{}),b.is3D=!0;var ft="https://www.geogebra.org/images/";Qt.setPreviewImage(x||kt.previewUrl,ft+"GeoGebra_loading.png",ft+"applet_play.png"),Ue()},on=function(){ee.onError&&ee.onError(),rn("Error: Fetching material (id "+ee.material_id+") failed.",ee)},Vn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Zt="/materials/"+ee.material_id+"?scope=basic";Ae("https://"+Vn+"/api/proxy.php?path="+encodeURIComponent(Zt),dt,on)};function We(Ue){var dt=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(on){Ue[on]=!!Ue[on]}),dt.forEach(function(on){ee[on]===void 0&&Ue[on]!==void 0&&(ee[on]=Ue[on])}),ee.showToolBarHelp===void 0&&(ee.showToolBarHelp=ee.showToolBar)}function Ae(Ue,dt,on){var Vn=new XMLHttpRequest;Vn.open("GET",Ue),Vn.onload=function(){dt(Vn.responseText)},Vn.onerror=on,Vn.send()}Qt.isHTML5Installed=function(){return!0},Qt.getLoadedAppletType=function(){return Ye},Qt.setPreviewImage=function(Ue,dt,on){x=Ue,y=dt,z=on},Qt.removeExistingApplet=function(Ue,dt){var on;typeof Ue=="string"&&(Ue=document.getElementById(Ue)),Ye=null;var Vn=null;for(on=0;on<Ue.childNodes.length;on++){var Zt=Ue.childNodes[on],wn=Zt.className;wn==="applet_screenshot"?dt?(Zt.style.display="block",Ye="screenshot"):Zt.style.display="none":wn!=="applet_scaler prerender"&&(Ue.removeChild(Zt),Vn=wn&&wn.indexOf("appletParameters")!=-1?Zt.id:null,on--)}var ze=ee.id!==void 0?ee.id:Vn,ct=window[ze];ct&&typeof ct.getBase64=="function"&&(ct.remove(),window[ze]=null)},Qt.refreshHitPoints=function(){if(ue(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Ue=Qt.getAppletObject();return Ue&&typeof Ue.recalculateEnvironments=="function"?(Ue.recalculateEnvironments(),!0):!1},Qt.startAnimation=function(){var Ue=Qt.getAppletObject();return Ue&&typeof Ue.startAnimation=="function"?(Ue.startAnimation(),!0):!1},Qt.stopAnimation=function(){var Ue=Qt.getAppletObject();return Ue&&typeof Ue.stopAnimation=="function"?(Ue.stopAnimation(),!0):!1},Qt.getAppletObject=function(){var Ue=ee.id!==void 0?ee.id:"ggbApplet";return window[Ue]},Qt.resize=function(){};var He=function(Ue,dt,on){var Vn=document.createElement("param");Vn.setAttribute("name",dt),Vn.setAttribute("value",on),Ue.appendChild(Vn)},he=function(Ue){return Ue&&Ue!=="false"},qe=function(Ue,dt,on){ue(se)<=4.2&&(on=!0);var Vn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==se||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Vn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Zt=document.createElement("div");Zt.classList.add("appletParameters","notranslate");var wn=dt.width,ze=dt.height;if(dt.disableAutoScale=dt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():dt.disableAutoScale,dt.width!==void 0)if(ue(se)<=4.4)he(dt.showToolBar)&&(dt.height-=7),he(dt.showAlgebraInput)&&(dt.height-=37),dt.width<605&&he(dt.showToolBar)&&(dt.width=605,wn=605);else{var ct=100;(he(dt.showToolBar)||he(dt.showMenuBar))&&(dt.hasOwnProperty("customToolBar")&&(dt.customToolbar=dt.customToolBar),ct=he(dt.showMenuBar)?245:155),wn<ct&&(dt.width=ct,wn=ct)}Zt.style.border="none",Zt.style.display="inline-block";for(var kt in dt)dt.hasOwnProperty(kt)&&kt!=="appletOnLoad"&&Zt.setAttribute("data-param-"+kt,dt[kt]);ne&&Zt.setAttribute("data-param-fontscssurl",ne),Qt.resize=function(){GGBAppletUtils.responsiveResize(Ue,dt)},window.addEventListener("resize",function(Me){Qt.resize()});var ft=typeof dt.appletOnLoad=="function"?dt.appletOnLoad:function(){};if(!on&&dt.width!==void 0){dt.hasOwnProperty("showSplash")||Zt.setAttribute("data-param-showSplash","false");var At=Ue.querySelector(".applet_scaler.prerender"),it=At!==null;if(it)var nt=At.querySelector(".ggb_preview");else{var nt=ut(wn,ze,dt.borderColor,!1);At=document.createElement("div"),At.className="applet_scaler",At.style.position="relative",At.style.display="block",At.style.width=wn+"px",At.style.height=ze+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(At,"66%"),ue(se)>=5?(dt.appletOnLoad=function(Me){var yt=Ue.querySelector(".ggb_preview");yt&&yt.parentNode.removeChild(yt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(At),window.GGBT_wsf_view&&$(window).trigger("resize"),ft(Me)},it||At.appendChild(nt)):Zt.appendChild(nt),At.appendChild(Zt),it||Ue.appendChild(At),setTimeout(function(){Qt.resize()},1)}else{var De=document.createElement("div");De.className="applet_scaler",De.style.position="relative",De.style.display="block",De.appendChild(Zt),Ue.appendChild(De),dt.appletOnLoad=function(Me){Qt.resize(),ft(Me)}}function fe(Me,yt){yt&&typeof yt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Me,yt.appletOnLoad):renderGGBElement(Me),rn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",yt)}function Je(Me,yt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Me,params:yt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Fn){fe(Fn.article,Fn.params)}),html5AppletsToProcess=null)},ue(se)<5&&(Me.className+=" geogebraweb")):fe(Me,yt)}if(Vn){scriptLoadStarted=!0;for(var It=0;It<Zt.childNodes.length;It++){var Oe=Zt.childNodes[It].tagName;Oe==="TABLE"&&(Zt.removeChild(Zt.childNodes[It]),It--)}if(ggbHTML5LoadedScript!==null){var Ie=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ie!=null&&Ie.parentNode.removeChild(Ie)}var St=document.createElement("script"),at=function(){Je(Zt,dt)};St.src=je+E,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=se,ggbHTML5LoadedScript=St.src,rn("GeoGebra HTML5 codebase loaded: '"+je+"'.",dt),!le&&(!ke||ke=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),at()):je.requirejs?__webpack_require__.e(7963).then(function(){var Me=[__webpack_require__(87963)];at.apply(null,Me)}.bind(this)).catch(__webpack_require__.oe):(St.onload=at,Ue.appendChild(St))}else Je(Zt,dt);dt.height=ze,dt.width=wn},Ke=function(Ue,dt,on){var Vn=ut(dt.width,dt.height,dt.borderColor,on),Zt=document.createElement("div");Zt.style.position="relative",Zt.style.display="block",Zt.style.width=dt.width+"px",Zt.style.height=dt.height+"px",Zt.className="applet_screenshot applet_scaler"+(on?" applet_screenshot_play":""),Zt.appendChild(Vn);var wn=GGBAppletUtils.getScale(dt,Ue,on);on?(Ue.appendChild(rt()),window.GGBT_wsf_view||(Ue.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Zt,"66%"),Ue.appendChild(Zt),wn!==1&&!isNaN(wn)&&(GGBAppletUtils.scaleElement(Zt,wn),Zt.style.width=dt.width+"px",Zt.style.height=dt.height+"px",Zt.parentNode.style.width=dt.width*wn+"px",Zt.parentNode.style.height=dt.height*wn+"px"),Qt.resize=function(){ht(Ue,Vn,Zt,on)},window.addEventListener("resize",function(ze){Qt.resize()}),Qt.resize()};function ht(Ue,dt,on,Vn){if(Ue.contains(dt)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ue.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ue)}var Zt=GGBAppletUtils.getScale(ee,Ue,Vn);on.parentNode!==null&&(!isNaN(Zt)&&Zt!==1?(GGBAppletUtils.scaleElement(on,Zt),on.parentNode.style.width=ee.width*Zt+"px",on.parentNode.style.height=ee.height*Zt+"px"):(GGBAppletUtils.scaleElement(on,1),on.parentNode.style.width=ee.width+"px",on.parentNode.style.height=ee.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Ue),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Qt.onExitFullscreen=function(Ue,dt){dt.appendChild(Ue)};var Le=function(Ue,dt,on,Vn){Ke(Ue,dt,!0);for(var Zt=function(){var ct=[];for(ze=0;ze<Ue.childNodes.length;ze++)ct.push(Ue.childNodes[ze]);if(window.GGBT_wsf_view){var kt=window.GGBT_wsf_view.renderFullScreen(Ue,dt.id),ft=document.getElementById("fullscreencontainer"),At=jQuery(Ue).find(".fullscreencontent");At.length>0?(kt.remove(),At.attr("id","fullscreencontent").show(),jQuery(ft).append(At),window.dispatchEvent(new Event("resize"))):qe(kt,dt,!1),window.GGBT_wsf_view.launchFullScreen(ft)}else Ye=Vn,qe(Ue,dt,!1);if(!window.GGBT_wsf_view)for(ze=0;ze<ct.length;ze++)Ue.removeChild(ct[ze])},wn=Ue.getElementsByClassName("ggb_preview_play"),ze=0;ze<wn.length;ze++)wn[ze].addEventListener("click",Zt,!1),wn[ze].addEventListener("ontouchstart",Zt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ue),ve()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},rt=function(){var Ue=document.createElement("div");if(Ue.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var dt='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',on=document.createElement("style");on.styleSheet?on.styleSheet.cssText=dt:on.appendChild(document.createTextNode(dt)),document.getElementsByTagName("head")[0].appendChild(on)}return Ue},ut=function(Ue,dt,on,Vn){var Zt=document.createElement("div");Zt.className="ggb_preview",Zt.style.position="absolute",Zt.style.zIndex="90",Zt.style.width=Ue-2+"px",Zt.style.height=dt-2+"px",Zt.style.top="0px",Zt.style.left="0px",Zt.style.overflow="hidden",Zt.style.backgroundColor="white";var wn="lightgrey";on!==void 0&&(on==="none"?wn="transparent":wn=on),Zt.style.border="1px solid "+wn;var ze=document.createElement("img");if(ze.style.position="relative",ze.style.zIndex="1000",ze.style.top="-1px",ze.style.left="-1px",x!==null&&ze.setAttribute("src",x),ze.style.opacity=.7,y!==null){var ct,kt,ft;if(!Vn){ct=document.createElement("img"),ct.style.position="absolute",ct.style.zIndex="1001",ct.style.opacity=1,ze.style.opacity=.3,kt=360,kt>Ue/4*3&&(kt=Ue/4*3),ft=kt/5.8,ct.setAttribute("src",y),ct.setAttribute("width",kt),ct.setAttribute("height",ft);var At=(Ue-kt)/2,it=(dt-ft)/2;ct.style.left=At+"px",ct.style.top=it+"px",Zt.appendChild(ct)}}return Zt.appendChild(ze),Zt},gt=function(Ue){return Ue=Ue.toLowerCase(),Ue==="html5"||Ue==="screenshot"?Ue:"html5"},mt=["web","webSimple","web3d","tablet","tablet3d","phone"],un=function(Ue,dt){if(se=Ue,dt){Nt(se,!0);return}var on=!de;if(on){var Vn=ue(se);!isNaN(Vn)&&Vn<4.4&&(on=!1)}var Zt,wn;window.location.protocol.substr(0,4)==="http"?Zt=window.location.protocol:Zt="http:";var ze=se.indexOf("//");ze>0?wn=se:ze===0?wn=Zt+se:wn="https://www.geogebra.org/apps/5.2.814.0/";for(var ct in mt)if(se.slice(mt[ct].length*-1)===mt[ct]||se.slice((mt[ct].length+1)*-1)===mt[ct]+"/"){Nt(wn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&on&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!he(ee.showToolBar)&&!he(ee.showMenuBar)&&!he(ee.showAlgebraInput)&&!he(ee.enableRightClick)&&(!ee.appName||ee.appName=="classic")?wn+="webSimple/":wn+="web3d/",Nt(wn,!1)},Nt=function(Ue,dt){if(Ue.requirejs){je=Ue;return}Ue.slice(-1)!=="/"&&(Ue+="/"),je=Ue,dt===null&&(dt=Ue.indexOf("http")===-1),Xe=dt,E="web.nocache.js",a=!1;var on=je.split("/");on.length>1&&(!dt&&on[on.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):mt.indexOf(on[on.length-2])>=0&&(E=on[on.length-2]+".nocache.js")),on=Ue.split("/"),se=on[on.length-3],se.substr(0,4)==="test"?se=se.substr(4,1)+"."+se.substr(5,1):(se.substr(0,3)==="war"||se.substr(0,4)==="beta")&&(se="5.0");var Vn=parseFloat(se);Vn!==NaN&&Vn<5&&Ue.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Vn+" is deprecated. Using version latest instead."),un("5.0",dt))},rn=function(Ue,dt){window.console&&window.console.log&&(!dt||typeof dt.showLogging=="undefined"||dt.showLogging&&dt.showLogging!=="false")&&console.log(Ue)};ee.material_id!==void 0?be(nn):nn();function nn(){var Ue=Gt;ke!==null?Ue=ke:parseFloat(Ue)<5&&(Ue="5.0"),un(Ue,!1),le!==null&&Nt(le,Xe),Ze=!0}return Qt},GGBAppletUtils=function(){"use strict";function Qt(){return window.GGBT_wsf_edit!==void 0}function Gt(Ze,ke){ke!=1?(Ze.style.transformOrigin="0% 0% 0px",Ze.style.webkitTransformOrigin="0% 0% 0px",Ze.style.transform="scale("+ke+","+ke+")",Ze.style.webkitTransform="scale("+ke+","+ke+")",Ze.style.maxWidth="initial",Ze.querySelector(".ggb_preview")!==null&&(Ze.querySelector(".ggb_preview").style.maxWidth="initial"),Ze.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ze.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ze.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ze.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ze.style.transform="none",Ze.style.webkitTransform="none")}function ee(Ze,ke,le,st,et,Ve){var je=null;if(Ve!=null&&Ve!="")for(var Xe=Ze.parentNode;Xe!=null;)if((" "+Xe.className+" ").indexOf(" "+Ve+" ")>-1){je=Xe;break}else Xe=Xe.parentNode;var Ye=0,se=0,E=0,a=0,x=0,y=0,z=0;if(je)Ye=je.offsetWidth,se=Math.max(st?je.offsetWidth:0,je.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ye=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Ye):(Ye=window.innerWidth,se=window.innerHeight,E=window.innerWidth),Ze){var ne=Ze.getBoundingClientRect();ne.left>0&&ne.left<=Ye&&(et===void 0||!et)&&(document.dir==="rtl"?(x=Ye-ne.width-ne.left,y=E<=480?10:30):(y=ne.left,x=E<=480?10:30),a=y+x)}if(Ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=Ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return Ze&&((le===void 0||!le)&&ke>0&&ke+a<Ye?Ye=ke:Ye-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(le===void 0||!le)&&(se-=z)),{width:Ye,height:se}}function b(Ze,ke,le,st,et){if(Ze.isScreenshoGenerator)return 1;var Ve=st!==void 0&&st,je=Ze.noScaleMargin!=null&&Ze.noScaleMargin,Xe=function(re){return re&&re!=="false"},Ye=Xe(Ze.autoHeight),se=ee(ke,Ze.width,le,Ye,Ve&&window.GGBT_wsf_view||je,et),E=parseInt(se.width),a=Ze.width,x=Ze.height;if(a===void 0){var y=ke.querySelector(".appletParameters");y&&(a=y.offsetWidth,x=y.offsetHeight)}var z=E/a,ne=Ve?1:se.height/x;return le!==void 0&&!le&&(z=Math.min(1,z),ne=Math.min(1,ne)),Math.min(z,ne)}function de(Ze,ke,le){var st=1,et,Ve=!1;if(Ze.hasOwnProperty("allowUpscale")&&(Ve=Ze.allowUpscale),Ze.hasOwnProperty("scale")&&(st=parseFloat(Ze.scale),(isNaN(st)||st===null||st===0)&&(st=1),st>1&&(Ve=!0)),ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ve=!0),!(Ze.hasOwnProperty("disableAutoScale")&&Ze.disableAutoScale))et=b(Ze,ke,Ve,le,Ze.scaleContainerClass);else return st;return Ve&&(!Ze.hasOwnProperty("scale")||st===1)?et:Math.min(st,et)}function Be(Ze){var ke=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),st=Ze.getBoundingClientRect(),et=(ke-st.width)/2,Ve=(le-st.height)/2;Ve<0&&(Ve=0),Ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(et<40?Ze.style.left="40px":Ze.style.left=et+"px",Ze.style.top=Ve+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ve<40?Ze.style.top="40px":Ze.style.top=Ve+"px",Ze.style.left=et+"px")}function Ne(Ze,ke){var le=Ze.querySelector(".appletParameters");if(le){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ke.id!==le.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ze)}if(le.parentElement&&/fullscreen/.test(le.parentElement.className))return;var st=de(ke,Ze);Qt()&&le.setAttribute("data-param-scale",st);for(var et=null,Ve=0;Ve<Ze.childNodes.length;Ve++)if(Ze.childNodes[Ve].className!==void 0&&Ze.childNodes[Ve].className.match(/^applet_scaler/)){et=Ze.childNodes[Ve];break}if(et!==null&&et.querySelector(".noscale")!==null)return;var je=ke.id!==void 0?ke.id:"ggbApplet",Xe=window[je];(Xe==null||!Xe.recalculateEnvironments)&&et!==null&&!et.className.match(/fullscreen/)&&(et.parentNode.style.transform="",!isNaN(st)&&st!==1?(et.parentNode.style.width=ke.width*st+"px",et.parentNode.style.height=ke.height*st+"px",Gt(et,st)):(Gt(et,1),et.parentNode.style.width=ke.width+"px",et.parentNode.style.height=ke.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Be(Ze),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(le).parents(".content-added-content"))}}return{responsiveResize:Ne,isFlexibleWorksheetEditor:Qt,positionCenter:Be,getScale:de,scaleElement:Gt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var Qt=n.location.search;return Qt.indexOf(J)!=-1||Qt.indexOf(K)!=-1}function q(Qt,Gt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Qt){var Gt=s[L].bindings;s[L].bindings=function(){for(var ee=Gt?Gt():{},b=Qt[webModule.__softPermutationId],de=O;de<b.length;de++){var Be=b[de];ee[Be[O]]=Be[P]}return ee}};var t;function u(){return v(),t}function v(){if(!t){var Qt=o.createElement(Q);if(Qt.id=L,Qt.style.cssText=R+S,Qt.tabIndex=-1,o.body.appendChild(Qt),t=Qt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Gt=document.compatMode==U?V:W;t.write(Gt+X),t.close()}}}function w(Qt){function Gt(b){function de(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Be=de();if(Be){b();return}function Ne(){if(!Be){if(!de())return;Be=!0,b(),o.removeEventListener&&o.removeEventListener(Z,Ne,!1),Ze&&clearInterval(Ze)}}o.addEventListener&&o.addEventListener(Z,Ne,!1);var Ze=setInterval(function(){Ne()},$)}function ee(b){var de=u(),Be=de.body,Ne=de.createElement(_);Ne.language=ab,Ne.crossOrigin=W,Ne.src=b,webModule.__errFn&&(Ne.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),Be.appendChild(Ne)}Gt(function(){ee(Qt)})}webModule.__startLoadingFragment=function(Qt){return C(Qt)},webModule.__installRunAsyncCode=function(Qt){var Gt=u(),ee=Gt.body,b=Gt.createElement(_);b.language=ab,b.text=Qt,ee.appendChild(b),ee.removeChild(b)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Qt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Qt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Qt){var Gt=c[Qt];return Gt==null?null:Gt},r=d,webModule.__errFn=e}function B(){function Qt(Ze){var ke=Ze.lastIndexOf(rb);ke==-1&&(ke=Ze.length);var le=Ze.indexOf(sb);le==-1&&(le=Ze.length);var st=Ze.lastIndexOf(tb,Math.min(le,ke));return st>=O?Ze.substring(O,st+P):W}function Gt(Ze){if(!Ze.match(/^\w+:\/\//)){var ke=o.createElement(ub);ke.src=Ze+vb,Ze=Qt(ke.src)}return Ze}function ee(){var Ze=__gwt_getMetaProperty(wb);return Ze!=null?Ze:W}function b(){for(var Ze=o.getElementsByTagName(_),ke=O;ke<Ze.length;++ke)if(Ze[ke].src.indexOf(xb)!=-1)return Qt(Ze[ke].src);return W}function de(){var Ze=o.getElementsByTagName(yb);return Ze.length>O?Ze[Ze.length-P].href:W}function Be(){var Ze=o.location;return Ze.href==Ze.protocol+zb+Ze.host+Ze.pathname+Ze.search+Ze.hash}var Ne=ee();return Ne==W&&(Ne=b()),Ne==W&&(Ne=de()),Ne==W&&Be()&&(Ne=Qt(o.location.href)),Ne=Gt(Ne),Ne}function C(Qt){return Qt.match(/^\//)||Qt.match(/^[a-zA-Z]+:\/\//)?Qt:webModule.__moduleBase+Qt}function D(){var Qt=[],Gt=O,ee=[],b=[];function de(Ze){var ke=b[Ze](),le=ee[Ze];if(ke in le)return ke;var st=[];for(var et in le)st[le[et]]=et;throw r&&r(Ze,st,ke),null}if(__gwt_isKnownPropertyValue=function(Ze,ke){return ke in ee[Ze]},webModule.__getPropMap=function(){var Ze={};for(var ke in ee)ee.hasOwnProperty(ke)&&(Ze[ke]=de(ke));return Ze},webModule.__computePropValue=de,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Be;try{Be=Cb;var Ne=Be.indexOf(Db);Ne!=-1&&(Gt=parseInt(Be.substring(Ne+P),$),Be=Be.substring(O,Ne))}catch(Ze){}return webModule.__softPermutationId=Gt,C(Be+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},46699:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Ax:function(){return Ne},Ds:function(){return Ze},KI:function(){return le},SI:function(){return Be},f1:function(){return de}});var b=ee(346);function de(st){let et=!0;if(st.length>0){for(let Ve=0;Ve<st.length;Ve++)if(st[Ve].compile_success==0||!st[Ve].compile_success){et=!1;break}}else et=!1;return et}function Be(st,et=""){let Ve=[];for(let je=0;je<st.length;je++){let Xe=st[je],Ye=et?`${et}/${Xe.name}`:`${Xe.name}`;Ve.push({title:Xe.name,type:Xe.type,isLeaf:Xe.type!=="tree",key:Ye})}return Ve}function Ne(st,et,Ve){for(let je=0;je<st.length;je++){let Xe=st[je];if(Xe.key===et){Xe.children=Ve;break}Xe.children&&Ne(Xe.children,et,Ve)}return st}function Ze(st,et,Ve){let je;return function(){let Xe=this,Ye=arguments,se=function(){je=null,Ve||st.apply(Xe,Ye)},E=Ve&&!je;clearTimeout(je),je=setTimeout(se,et),E&&st.apply(Xe,Ye)}}const ke=!0,le=b.Z.API_SERVER},99909:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return x}});var b=ee(59301),de=ee(17574),Be=ee(46722),Ne={flex_box_center:"flex_box_center___SFmJH",flex_space_between:"flex_space_between___f2H1D",flex_box_vertical_center:"flex_box_vertical_center___hW_hp",flex_box_center_end:"flex_box_center_end___yklmJ",flex_box_column:"flex_box_column___m0oUw",customTree:"customTree___ZhEHU",name:"name___RIkn2"},Ze=Object.defineProperty,ke=Object.defineProperties,le=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,je=(y,z,ne)=>z in y?Ze(y,z,{enumerable:!0,configurable:!0,writable:!0,value:ne}):y[z]=ne,Xe=(y,z)=>{for(var ne in z||(z={}))et.call(z,ne)&&je(y,ne,z[ne]);if(st)for(var ne of st(z))Ve.call(z,ne)&&je(y,ne,z[ne]);return y},Ye=(y,z)=>ke(y,le(z)),se=(y,z)=>{var ne={};for(var re in y)et.call(y,re)&&z.indexOf(re)<0&&(ne[re]=y[re]);if(y!=null&&st)for(var re of st(y))z.indexOf(re)<0&&Ve.call(y,re)&&(ne[re]=y[re]);return ne},E=(y,z,ne)=>new Promise((re,ue)=>{var oe=We=>{try{be(ne.next(We))}catch(Ae){ue(Ae)}},ve=We=>{try{be(ne.throw(We))}catch(Ae){ue(Ae)}},be=We=>We.done?re(We.value):Promise.resolve(We.value).then(oe,ve);be((ne=ne.apply(y,z)).next())}),x=y=>{var z=y,{value:ne,onChange:re,defaultValue:ue,disabled:oe}=z,ve=se(z,["value","onChange","defaultValue","disabled"]);const[be,We]=(0,b.useState)([]),[Ae,He]=(0,b.useState)("1");(0,b.useEffect)(()=>{he()},[]);const he=()=>E(void 0,null,function*(){const ht=yield(0,Be.NZ)({});if(ht!=null&&ht.data){const Le=[{title:b.createElement("div",{title:"\u6839\u76EE\u5F55",className:Ne.name},"\u6839\u76EE\u5F55"),value:0,key:0,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:qe(ht.data||[])}];We(Le),He("2")}}),qe=ht=>{function Le(rt){const ut=rt.children,gt=Array.isArray(ut)&&ut.length>0,mt=rt==null?void 0:rt.group_id;return{title:b.createElement("div",{title:rt==null?void 0:rt.name,className:Ne.name},rt==null?void 0:rt.name),value:mt,key:mt,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:gt?ut==null?void 0:ut.map(un=>Le(un)):[]}}return ht==null?void 0:ht.map(rt=>Le(rt))},Ke=ue?{defaultExpandedKeys:[0],defaultSelectedKeys:[0]}:{selectedKeys:ne,defaultExpandedKeys:ne};return b.createElement("div",{className:Ne.customTree},b.createElement(de.default,Xe(Ye(Xe({key:Ae},Ke),{showIcon:!0,treeData:be,onSelect:re,disabled:oe}),ve)))}},50337:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ne}});var b=ee(59301),de={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Ne=({number:Ze,active:ke,className:le})=>b.createElement("div",{className:`${de.digitalLabel} ${ke?de.active:""} ${le}`},Ze)},38518:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return y}});var b=ee(59301),de=ee(17574),Be={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Ne=ee(73631),Ze=ee(5623),ke=ee(46722),le=Object.defineProperty,st=Object.defineProperties,et=Object.getOwnPropertyDescriptors,Ve=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,Ye=(z,ne,re)=>ne in z?le(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,se=(z,ne)=>{for(var re in ne||(ne={}))je.call(ne,re)&&Ye(z,re,ne[re]);if(Ve)for(var re of Ve(ne))Xe.call(ne,re)&&Ye(z,re,ne[re]);return z},E=(z,ne)=>st(z,et(ne)),a=(z,ne,re)=>new Promise((ue,oe)=>{var ve=Ae=>{try{We(re.next(Ae))}catch(He){oe(He)}},be=Ae=>{try{We(re.throw(Ae))}catch(He){oe(He)}},We=Ae=>Ae.done?ue(Ae.value):Promise.resolve(Ae.value).then(ve,be);We((re=re.apply(z,ne)).next())}),y=({value:z,onChange:ne,scrollId:re})=>{const[ue,oe]=(0,b.useState)([]);(0,b.useEffect)(()=>{ve()},[]);const ve=()=>a(void 0,null,function*(){const qe=yield(0,ke.NZ)({});if(qe!=null&&qe.data){const Ke=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:b.createElement("img",{src:Ne,className:Be.folderIcon}),isLeaf:!1,children:be(qe.data||[])}];oe(Ke)}}),be=qe=>qe.map(Ke=>({title:Ke.name,key:Ke.group_id,icon:b.createElement("img",{src:Ne,className:Be.folderIcon}),isLeaf:Ke.children.length===0,children:be(Ke.children)})),We=(qe,Ke,ht)=>qe.map(Le=>Le.key===Ke?se(se({},Le),ht):Le.children?E(se({},Le),{children:We(Le.children,Ke,ht)}):Le),Ae=(qe,Ke,ht)=>qe.map(Le=>{if(Le.key===Ke)return E(se({},Le),{icon:ht?b.createElement("img",{src:Ze,className:Be.folderIcon}):b.createElement("img",{src:Ne,className:Be.folderIcon})});if(Le.children)return E(se({},Le),{children:Ae(Le.children,Ke,ht)})}),He=(qe,Ke)=>{oe(ht=>Ae(ht,Ke.node.key,Ke.expanded))},he=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return ue.length>0&&b.createElement("div",{id:re||""},b.createElement(de.default,se({showLine:{showLeafIcon:!1},showIcon:!0,treeData:ue,className:Be.folderWrapper,onSelect:ne,onExpand:He},he)))}},94361:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return ke}});var b=ee(60324),de={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Be=ee(32637),Ne=ee(59301),ke=({type:le,style:st})=>{const et=Ne.createElement("div",{className:de.wrap,onClick:Ve=>{Ve.preventDefault(),Ve.stopPropagation()}},Ne.createElement("p",null,le==="shixun"||le==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Ne.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",le==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Ne.createElement("div",{className:de.contact},Ne.createElement("div",{className:de.img},Ne.createElement("img",{src:Be,width:"124px",height:"124px"})),Ne.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Ne.createElement(b.Z,{content:et},Ne.createElement("span",{className:de.text,style:st},"\u9AD8\u6D88\u8017"))}},9507:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return je}});var b=ee(59301),de={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Be=ee(92310),Ne=ee.n(Be),Ze=ee(71418),ke=ee(2859),le=ee(38986),st=ee(51257),et=(Xe,Ye,se)=>new Promise((E,a)=>{var x=ne=>{try{z(se.next(ne))}catch(re){a(re)}},y=ne=>{try{z(se.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?E(ne.value):Promise.resolve(ne.value).then(x,y);z((se=se.apply(Xe,Ye)).next())}),je=({data:Xe,className:Ye,fullWidth:se,style:E={},onClose:a,onOk:x,showFullTools:y,noAssociationId:z})=>{const ne=(0,b.useRef)(null),re=(0,b.useRef)(null),ue=(0,b.useRef)(null),oe=(0,b.useRef)(null),[ve,be]=(0,b.useState)(!1),[We,Ae]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>{ue.current||(ue.current=document.createElement("style"),document.head.appendChild(ue.current)),Xe!=null&&Xe.visible?(document.body.setAttribute("data-custom","y-hidden"),ue.current.innerHTML=" html { overflow-y: hidden; }",Xe!=null&&Xe.src&&He()):(document.body.removeAttribute("data-custom"),ue.current&&(document.head.removeChild(ue.current),ue.current=null))},[Xe==null?void 0:Xe.visible]);const He=()=>et(void 0,null,function*(){be(!0),Ae("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Le=yield(0,st.ZJ)(Xe==null?void 0:Xe.src);ne.current.src="",ne.current.src=Le,ne.current.onload=function(){ht()},be(!1),Ae("")}),he=()=>{document.body.removeAttribute("data-custom"),ue.current.innerHTML=" ",a()},qe=Le=>et(void 0,null,function*(){be(!0),Ae("\u6B63\u5728\u4FDD\u5B58\u4E2D");const rt=yield(0,le.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Xe.title,file:Le.dataUrl}});rt!=null&&rt.id&&!z?(yield(0,le.ZP)(`/api/attachments/${Xe.id}/add_subitem.json`,{method:"post",body:{subitem_id:rt==null?void 0:rt.id,settings:JSON.stringify(Le.state)}})).status===0&&x():rt!=null&&rt.id&&x(rt),document.body.removeAttribute("data-custom"),ue.current.innerHTML=" ",be(!1),Ae("")}),Ke=()=>{const Le=document.querySelector('a[href="https://markerjs.com/"]');Le&&Le.parentNode&&(Le.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(ut=>{const gt=document.querySelector(ut.name);gt&&gt.setAttribute("title",ut.title)})},ht=()=>{re.current=new ke.hP(ne.current),re.current.targetRoot=oe.current,re.current.addEventListener("render",qe),re.current.addEventListener("beforeclose",he),y&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),Xe!=null&&Xe.snapshotData&&re.current.restoreState(Xe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ke()},300)};return b.createElement(b.Fragment,null,(Xe==null?void 0:Xe.visible)&&b.createElement(Ze.Z,{spinning:ve,tip:We,style:{position:"absolute"}},b.createElement("div",{ref:oe,className:Ne()(de.imageDimensions,Ye,se?de.fullWidth:""),style:E},b.createElement("img",{className:de.img,ref:ne}))))}},50043:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return nt},$:function(){return it}});var b=ee(59301),de={flex_box_center:"flex_box_center___ILe3s",flex_space_between:"flex_space_between___c0XhE",flex_box_vertical_center:"flex_box_vertical_center___Iusj1",flex_box_center_end:"flex_box_center_end___DIVMO",flex_box_column:"flex_box_column___x06LA",intelligentBox:"intelligentBox___M5xO7",red:"red___oyEWt",imgBox:"imgBox___DdoNI",underpin:"underpin___fwUex",row:"row___W9MrK",leftLayout:"leftLayout___MMjoZ",rightLayout:"rightLayout___EsxRX",head:"head___Q7Od8",centerBox:"centerBox___j58Ut",title:"title___rMcNx",tip:"tip___gLHFS",leftBox:"leftBox___DJ6lp",question:"question___THjM9",rightBox:"rightBox___CuMdf",error:"error___PHzCG",actionHead:"actionHead___vTHMx",edit:"edit___EaRLy",option:"option___z4UTy",active:"active___o8wNJ",fill:"fill___g760n",text:"text___L_lug",liWrap:"liWrap___LDwxe",li:"li___k4Mcf",buttonFixed:"buttonFixed___QxKdm",buttonWrap:"buttonWrap___OEep5",button:"button___b2y4h",menu:"menu___aQ4xO",tabs:"tabs___QmlP4",dotLoading:"dotLoading___zUYOu",showHide:"showHide___fHrAG"},Be=ee(92310),Ne=ee.n(Be),Ze=ee(78241),ke=ee(8591),le=ee(43418),st=ee(5871),et=ee(95237),Ve=ee(24905),je=ee(38854),Xe=ee(54580),Ye=ee(3113),se=ee(93948),E=ee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rb+Z6OC9qpUDA4fzn8ICbfb4wXm4XI4EKQE0MrS+GO8zOvXxwauew/iTQhBWNnhEhN9KLM19boyRQA6apSMS2t84fe7yRTCYPHhKTQFM2NPsCsNKfddTGYjgJ1ARpNCahOiJF9sXiTIkEGjWh3xy4lINS5EigPkPzSQlVEmheg/4MSKA+O9PJ/a/QIfoKNS1Cqz/9E6OFLRQhuo0IhQa9SdCNvB63UKRoKS0UGtQnQYvZ6sxCk/D1OIke6IbG1z8T8f1Al7ZUhE+g0paK+vRpU5O+ROObmvSnTsk6gVBsKyQV+gSCEEgbe/X5o5NYgW6/u5m+Q1vr0SJ0C+gKpJdbdIkHnNMRSK+XBSwBU05VIL3giaHdhayKQHrFugsCsCX9CKRDDrCUu5jvJJCOGeki/CBK00E/QVA0WIOO2jIIP4jW8/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",We=ee(38986),Ae=ee(38518),He=ee(5623),he=ee(8944),qe=ee(19105),Ke=ee(17077),ht=ee(15342),Le=ee.n(ht),rt=(De,fe,Je)=>new Promise((It,Oe)=>{var Ie=Me=>{try{at(Je.next(Me))}catch(yt){Oe(yt)}},St=Me=>{try{at(Je.throw(Me))}catch(yt){Oe(yt)}},at=Me=>Me.done?It(Me.value):Promise.resolve(Me.value).then(Ie,St);at((Je=Je.apply(De,fe)).next())}),gt=b.memo(({tagName:De="div",value:fe="",className:Je,style:It={},onBlur:Oe,id:Ie})=>{const St=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(!St.current)return;rt(void 0,null,function*(){const yt=St.current;yt.innerHTML="";const Fn=fe==null?void 0:fe.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const an of Fn)if(an.startsWith("$$")&&an.endsWith("$$")||an.startsWith("`$$")&&an.endsWith("$$`")){const cn=an.startsWith("`$$")?an.slice(3,-3):an.slice(2,-2),sn=document.createElement("span");sn.setAttribute("contentEditable","false"),sn.setAttribute("title",an),sn.className="edu_latex",yt.appendChild(sn),Le().render(cn,sn,{throwOnError:!1})}else{const cn=an==null?void 0:an.replace(/<[^>]*>/g,sn=>sn.startsWith("<img")?sn:sn.replace(/</g,"&lt;"));yt.insertAdjacentHTML("beforeend",cn)}})},[Ie]);const at=()=>{var Me,yt;if(Oe&&St.current){const an=St.current.cloneNode(!0),cn=an.querySelectorAll("span.edu_latex");for(let sn of cn){const yn=sn.getAttribute("title"),Te=document.createTextNode(yn||""),xt=sn;(yt=(Me=xt.parentNode)==null?void 0:Me.replaceChild)==null||yt.call(Me,Te,xt)}Oe(an.innerHTML)}};return b.createElement(b.Fragment,null,b.createElement(De,{ref:St,contentEditable:!0,className:Je,style:It,onBlur:at}))}),mt=ee(49535),un=Object.defineProperty,Nt=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,nn=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,on=(De,fe,Je)=>fe in De?un(De,fe,{enumerable:!0,configurable:!0,writable:!0,value:Je}):De[fe]=Je,Vn=(De,fe)=>{for(var Je in fe||(fe={}))Ue.call(fe,Je)&&on(De,Je,fe[Je]);if(nn)for(var Je of nn(fe))dt.call(fe,Je)&&on(De,Je,fe[Je]);return De},Zt=(De,fe)=>Nt(De,rn(fe)),wn=(De,fe,Je)=>new Promise((It,Oe)=>{var Ie=Me=>{try{at(Je.next(Me))}catch(yt){Oe(yt)}},St=Me=>{try{at(Je.throw(Me))}catch(yt){Oe(yt)}},at=Me=>Me.done?It(Me.value):Promise.resolve(Me.value).then(Ie,St);at((Je=Je.apply(De,fe)).next())});const ze=De=>{De.preventDefault();let Je=(De.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,Je)},ct=De=>{De.key==="Enter"&&De.preventDefault()},kt=({children:De,style:fe})=>b.createElement("div",{className:de.leftBox,style:fe,onPaste:ze},De),ft=({children:De,style:fe,className:Je})=>b.createElement("div",{className:Ne()(de.rightBox,Je),style:fe,onPaste:ze},De),At=({className:De,style:fe={},width:Je=1200,onCancel:It=()=>{},onSuccess:Oe=()=>{},gather:Ie={},mode:St=1,stickyTop:at=0,subDisciplineId:Me=[],hideWordFeatures:yt,dataSource:Fn=[],customLeftHeadNode:an,customRightHeadNode:cn,customLeftContent:sn,hideRecognition:yn=!1,onExchange:Te,isSingleSelection:xt=!1,underpinBackgroundStyle:Ht={},headExtraNode:Bt,isRefreshItemBank:Mt=!1,okText:dn="\u786E\u5B9A\u5BFC\u5165"})=>{var gn;const[Ln,Jn]=(0,b.useState)(1),[va,Da]=(0,b.useState)(0),[Na,ar]=(0,b.useState)(""),[Ua,fa]=(0,b.useState)(!1),[yr,en]=(0,b.useState)([]),[On,la]=(0,b.useState)([]),[xa,Ge]=(0,b.useState)(!1),[Ot,_t]=(0,b.useState)(!1),[Vt,Wt]=(0,b.useState)(!1),[Rn,Bn]=(0,b.useState)(!1),[vt,Ft]=(0,b.useState)([]),[pt,Sn]=(0,b.useState)(1),[Wn,An]=(0,b.useState)(!1),[ka,pa]=(0,b.useState)(!1),[_n,Ea]=(0,b.useState)(!0),[Pa,Dn]=(0,b.useState)(0),[lr,Nr]=(0,b.useState)(1),[$r,Sr]=(0,b.useState)(""),[$e,bn]=(0,b.useState)([]),[Xt,Nn]=(0,b.useState)(0),[Kn,ua]=(0,b.useState)(0),[Qn,$n]=(0,b.useState)(0),[ur,da]=(0,b.useState)(0),[En,dr]=(0,b.useState)(0),[Cr]=Ze.default.useForm(),[Wr]=Ze.default.useForm(),Ir=(0,b.useRef)(null),ha=(0,b.useRef)(null),Ha=(0,b.useRef)(),$a=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],La=["C","C++","Java","Python","JavaScript","Ruby"];(0,b.useEffect)(()=>{Fn!=null&&Fn.length&&yl(Fn)},[Fn]),(0,b.useEffect)(()=>{Ln===2&&Ir.current.focus()},[Ln]),(0,b.useEffect)(()=>{Vt&&no()},[Vt]);const Or=()=>{if(Ln===1){ke.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}le.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u6E05\u7A7A\u64CD\u4F5C\u5C06\u5220\u9664\u8BD5\u9898\u7F16\u8F91\u533A\u57DF\u7684\u5168\u90E8\u5185\u5BB9\uFF0C\u786E\u5B9A\u4E00\u952E\u6E05\u7A7A\u5417\uFF1F",onOk:()=>wn(void 0,null,function*(){Jn(1)})})},no=()=>wn(void 0,null,function*(){const we=yield(0,We.ZP)("/api/disciplines.json",{method:"get",params:{source:St===1?"new_question":"subject"}});Ft(we.disciplines||[])}),xr=we=>{const vn=[],Mn=(Sa,ln)=>{Sa.length>=2&&vn.push(Sa.join(""));for(let Ma=ln;Ma<we.length;Ma++)Sa.push(we[Ma]),Mn(Sa,Ma+1),Sa.pop()};return Mn([],0),vn},Er=we=>(we=we||"",we=String(we),we=we.replace(/\s+/g,""),we),Pr=we=>(we=we||"",we=String(we),we=we.replace(/<div>/g,""),we=we.replace(/<br>/g,`
`),we=we.replace(/<\/div>/g,`
`),we=ai(we),we),si=we=>we.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),ai=we=>we.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"),Bi=we=>{var vn;const Mn=we.clipboardData;if(Mn){const Sa=Mn.types.toString(),ln=Mn.items;if(Sa==="Files"||Mn.types.indexOf("Files")>-1){we.preventDefault();try{let Ma=ln[1];((vn=ln[0])==null?void 0:vn.kind)==="file"&&(Ma=ln[0]);const Fa=Ma.getAsFile();(0,Ke.I)(Fa,jn=>{var Xn;if(jn.id){if(((Xn=Fa==null?void 0:Fa.type)==null?void 0:Xn.indexOf("image"))>-1){const sr=`<img src='${re.Z.API_SERVER}${jn.url}'>`;document.execCommand("insertText",!1,sr)}}else(jn==null?void 0:jn.status)===401&&(document.location.href="/user/login")})}catch(Ma){ke.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function po(we,vn){return wn(this,null,function*(){if(typeof we=="string")return yield vn(we);if(typeof we!="object"||we===null)return we;if(Array.isArray(we))return yield Promise.all(we.map(ln=>wn(this,null,function*(){return yield po(ln,vn)})));const Mn={};for(const Sa in we)if(Object.prototype.hasOwnProperty.call(we,Sa)){const ln=we[Sa];typeof ln=="string"?Mn[Sa]=yield vn(ln):typeof ln=="object"?Mn[Sa]=yield po(ln,vn):Mn[Sa]=ln}return Mn})}const yo=()=>wn(void 0,null,function*(){var we;fa(!0),ar("\u5904\u7406\u4E2D"),yield new Promise(Sa=>setTimeout(Sa,1e3));let vn=(we=ha.current)==null?void 0:we.querySelectorAll('[data-text="edit"]'),Mn="";try{vn.forEach(function(Sa){var ln,Ma,Fa,jn;const Xn=Sa.cloneNode(!0),sr=Xn.querySelectorAll("span.edu_latex");for(let Ta of sr){const Ja=Ta.getAttribute("title"),Rr=document.createTextNode(Ja),bo=Ta;(Ma=(ln=bo.parentNode)==null?void 0:ln.replaceChild)==null||Ma.call(ln,Rr,bo)}const za=Xn.querySelectorAll("span[style]");for(let Ta of za)if(Ta.style.fontFamily){const Ja=Ta.innerHTML,Rr=document.createTextNode(Ja),bo=Ta;(jn=(Fa=bo.parentNode)==null?void 0:Fa.replaceChild)==null||jn.call(Fa,Rr,bo)}Xn==null||Xn.childNodes.forEach(function(Ta){Ta.nodeType===Node.ELEMENT_NODE&&Ta.localName!=="h5"&&Ta.localName!=="h4"?Mn+=`<p>${Ta.innerHTML}</p>`:Ta.nodeType===Node.TEXT_NODE&&(Mn+=`<p>${Ta.textContent}</p>`)})}),kr("/api/intelligent_imports/import.json",{html:ai(Mn)})}catch(Sa){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",Sa)}}),Go=we=>{let vn=we.filter(Mn=>!!(Mn!=null&&Mn.type));return vn=vn.map(Mn=>{var Sa;const ln=(Sa=Vi.find(Fa=>Fa.id===(Mn==null?void 0:Mn.type)))==null?void 0:Sa.deal,Ma=Zt(Vn({},Mn),{id:String(Math.random()).slice(-6),knowledgePoint:Er(Mn==null?void 0:Mn.knowledgePoint)});return ln?ln(Ma):Ma}),vn},Mo=()=>{if(Ln===1){ke.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}le.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u91CD\u65B0\u8BC6\u522B\u4F1A\u8986\u76D6\u53F3\u4FA7\u5DF2\u8BC6\u522B\u7ED3\u679C\uFF0C\u5305\u62EC\u4EBA\u5DE5\u4FEE\u6539\u7684\u5185\u5BB9\uFF0C\u786E\u5B9A\u91CD\u65B0\u8BC6\u522B\u5417?",onOk:yo})},Do=()=>b.createElement("div",{className:de.row},b.createElement("div",{className:de.leftLayout},b.createElement(kt,{style:{height:675}},Ln===1&&b.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>Jn(2)},b.createElement("div",{style:{color:"#9096A3",fontSize:12}},"1.\u672C\u529F\u80FD\u652F\u6301\u5BFC\u5165\u7684\u9898\u578B\uFF1A\u5355\u9009\u9898\u3001\u591A\u9009\u9898\u3001\u586B\u7A7A\u9898\u3001\u5224\u65AD\u9898\u3001\u7B80\u7B54\u9898\u3001 \u7EC4\u5408\u9898\u3001\u7F16\u7A0B\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u3002",b.createElement("br",null),"2.\u82E5\u8981\u5BFC\u5165\u7EC4\u5408\u9898\uFF0C\u8BF7\u5728\u9898\u76EE\u524D\u540E\u4F7F\u7528\u4E00\u5BF9\u201C","{{\u201D\u3001\u201C}}","\u201D\u5C06\u5185\u5BB9\u6807\u51FA\uFF1B\u5927\u9898\u9898\u5E72\u548C\u5C0F\u9898\u9898\u5E72\u4E4B\u95F4\u4E0D\u9700\u8981\u7A7A\u884C\uFF1B\u5927\u9898\u548C\u5C0F\u9898\u9898\u5E72\u90FD\u9700\u6807\u6CE8\u9898\u53F7\uFF1B\u5C0F\u9898\u7B54\u6848\u53EF\u8DDF\u5728\u5C0F\u9898\u9898\u5E72\u540E\uFF0C\u5E76\u7528\u7A7A\u683C\u4E0E\u9898\u5E72\u5185\u5BB9\u9694\u5F00\u3002\u8303\u4F8B\u53EF\u53C2\u8003\u63A8\u8350\u683C\u5F0F\u3002",b.createElement("br",null),"3.\u5BFC\u5165\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u516C\u5F0F\u3002\u9898\u76EE\u7ED3\u6784\u652F\u6301\u8BC6\u522B\u7B54\u6848\u3001\u89E3\u6790\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9\u3002",b.createElement("br",null),"4.\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u4FEE\u6539\u9898\u76EE\u5185\u5BB9\u540E\u91CD\u65B0\u8BC6\u522B\uFF0C\u6216\u4E0B\u8F7D\u63A8\u8350\u683C\u5F0F\uFF0C\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u5BFC\u5165\u8BC6\u522B\u3002",b.createElement("br",null)),b.createElement("div",{className:de.imgBox,style:{marginTop:75}},b.createElement("img",{width:56,src:oe}),b.createElement("span",null,"\u7F16\u8F91\u533A"))),Ln===2&&b.createElement("div",{"data-text":"edit",onBlur:()=>{Ir.current.innerHTML||Jn(1)},ref:Ir,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),b.createElement("div",{className:de.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},b.createElement("div",{className:de.imgBox,style:{marginTop:240}},b.createElement("img",{width:56,src:ve}),b.createElement("span",null,"\u9884\u89C8\u533A")))),gr=(we,vn,Mn,Sa)=>{var ln;console.log(we,vn,Mn,Sa,"onDataChange\u4FEE\u6539\u6570\u503C");const Ma=JSON.parse(JSON.stringify(On));Sa===void 0?Ma[vn][we]=Mn:Ma[vn].questions[Sa][we]=Mn;const Fa=Vn({},Ma[vn]),jn=(ln=Vi.find(Xn=>Xn.id===(Fa==null?void 0:Fa.type)))==null?void 0:ln.deal;Ma[vn]=jn(Fa),la(Ma)},eo=(we,vn,Mn)=>{var Sa;const ln=Mn!==void 0,Ma=(Sa=Vi.find(Xn=>Xn.id===(we==null?void 0:we.type)))==null?void 0:Sa.type,Fa=`${vn+1}.${Mn===void 0?"":Mn+1+"."}`,jn=`${(we==null?void 0:we.type)==="7"?"{{":""}${Fa}\u3010${Ma}\u3011${(we==null?void 0:we.question)||""}`;return b.createElement(b.Fragment,null,ln&&b.createElement("h4",{contentEditable:!0}),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",value:jn}))},Qo=(we,vn)=>wn(void 0,null,function*(){var Mn;const Sa=yield Te(we,vn),ln=(Mn=Sa==null?void 0:Sa.data)==null?void 0:Mn.content;if(ln!=null&&ln.length){const Ma=Go(ln)[0];yr.splice(vn,1,Ma),On.splice(vn,1,Ma),en([...yr]),la([...On])}}),Jo=(we,vn,Mn)=>{var Sa;const ln=Mn!==void 0,Ma=(Sa=Vi.find(jn=>jn.id===(we==null?void 0:we.type)))==null?void 0:Sa.type,Fa=`${vn+1}.${Mn===void 0?"":Mn+1+"."}`;return ln?b.createElement("div",{style:{padding:"10px 18px"}},`${Fa}\u3010${Ma}\u3011`,b.createElement(gt,{id:we==null?void 0:we.id,tagName:"span",className:de.edit,onBlur:jn=>gr("question",vn,jn,Mn),value:(we==null?void 0:we.question)||""})):b.createElement(b.Fragment,null,b.createElement("div",{className:de.actionHead},b.createElement("div",{className:"c-light-primary"},`${Fa}\u3010${Ma}\u3011`),St!==1&&b.createElement(st.Z,{disabled:(we==null?void 0:we.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:jn=>gr("score",vn,jn,Mn),value:we==null?void 0:we.score}),b.createElement(et.Z,{align:"middle",style:{marginLeft:"auto"}},!!Te&&b.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Qo(we,vn)},b.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),b.createElement(Ve.default,{onChange:jn=>gr("checked",vn,jn.target.checked,Mn),checked:!!(we!=null&&we.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",style:{padding:"10px 18px"},className:de.edit,onBlur:jn=>gr("question",vn,jn,Mn),value:we==null?void 0:we.question}))},Io=(we,vn,Mn)=>b.createElement(b.Fragment,null,["0","1","2","4"].includes(we==null?void 0:we.type)&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u7B54\u6848\uFF1A${vn||""}`,tagName:"p"}),!Mn&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u96BE\u5EA6\uFF1A${(we==null?void 0:we.difficulty)||""}`,tagName:"p"}),(we==null?void 0:we.type)!=="7"&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u89E3\u6790\uFF1A${(we==null?void 0:we.analyze)||""}`,tagName:"p"}),!Mn&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(we==null?void 0:we.knowledgePoint)||""}`,tagName:"p"})),br=(we,vn,Mn,Sa)=>{const ln=Sa!==void 0,Ma=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Fa=ln&&!we.last&&!we.errorMsg?{marginBottom:10}:{},jn=Ma.map(Xn=>({key:Xn,label:Xn,onClick:()=>gr("difficulty",Mn,Xn,Sa)}));return b.createElement("div",{className:de.liWrap,style:Fa},["4"].includes(we==null?void 0:we.type)&&b.createElement("div",{className:de.li},b.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",className:`${de.edit} c-black`,onBlur:Xn=>gr("answer",Mn,[Xn],Sa),value:vn})),!ln&&b.createElement("div",{className:de.li},b.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(je.Z,{menu:{items:jn}},b.createElement("span",{className:"c-light-primary"},we==null?void 0:we.difficulty,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(we==null?void 0:we.type)!=="7"&&b.createElement("div",{className:de.li},b.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",className:`${de.edit} c-grey-333`,onBlur:Xn=>gr("analyze",Mn,Xn,Sa),value:we==null?void 0:we.analyze})),!ln&&b.createElement("div",{onKeyDown:ct,className:de.li},b.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",value:(we==null?void 0:we.knowledgePoint)||"",className:`${de.edit} c-grey-333`,onBlur:Xn=>gr("knowledgePoint",Mn,Er(Pr(Xn)),Sa)})))},ri=we=>b.createElement(b.Fragment,null,typeof(we==null?void 0:we.errorMsg)=="string"&&!!(we!=null&&we.errorMsg)&&b.createElement("h5",{contentEditable:!1},b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,we==null?void 0:we.errorMsg))),zr=we=>b.createElement(b.Fragment,null,typeof(we==null?void 0:we.errorMsg)=="string"&&!!(we!=null&&we.errorMsg)&&b.createElement("h5",null,b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,we==null?void 0:we.errorMsg))),ko=(we,vn,Mn,Sa)=>{let ln="flex";return(xt&&Pa!==Sa||xa&&!(Mn!=null&&Mn.errorMsg))&&(ln="none"),b.createElement("div",{className:de.row,style:{display:ln}},b.createElement("div",{className:de.leftLayout},sn||b.createElement(kt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},we))),b.createElement("div",{className:de.rightLayout},b.createElement(ft,{className:Mn!=null&&Mn.errorMsg?de.error:""},vn)))},Vi=[{id:"0",type:"\u5355\u9009\u9898",element:(we,vn,Mn)=>{var Sa,ln;const Ma=Mn!==void 0;let Fa=(Sa=we==null?void 0:we.answer)==null?void 0:Sa[0];const jn=b.createElement(b.Fragment,null,eo(we,vn,Mn),(ln=we==null?void 0:we.options)==null?void 0:ln.map((Ta,Ja)=>b.createElement(gt,{id:we==null?void 0:we.id,key:Ja,value:`${$a[Ja]}.${Ta}`,tagName:"p"})),Io(we,Fa,Ma),ri(we));let Xn=Ma?we:On[vn];const sr=Xn==null?void 0:Xn.options,za=b.createElement(b.Fragment,null,Jo(Xn,vn,Mn),sr==null?void 0:sr.map((Ta,Ja)=>{var Rr;return b.createElement("div",{key:Ja,className:de.option},b.createElement("aside",{className:((Rr=Xn==null?void 0:Xn.answer)==null?void 0:Rr[0])===$a[Ja]?de.active:"",onClick:()=>gr("answer",vn,[$a[Ja]],Mn)},$a[Ja]),b.createElement(gt,{id:Xn==null?void 0:Xn.id,tagName:"div",className:`${de.text}`,onBlur:bo=>{sr[Ja]=bo,gr("options",vn,sr,Mn)},value:Ta}))}),br(Xn,"",vn,Mn),zr(Xn));return Ma?[jn,za]:ko(jn,za,Xn,vn)},deal:we=>{var vn,Mn,Sa;we.score=we.score===void 0?2:we.score;let ln=Er((vn=we==null?void 0:we.answer)==null?void 0:vn[0]).toUpperCase();we.answer=ln?[ln]:[];let Ma=[];if(!(we!=null&&we.options))Ma.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{we.options=(Mn=we.options)==null?void 0:Mn.slice(0,8);const Fa=we.options.map(Xn=>Xn==null?void 0:Xn.trim().replace(/^\s+|\s+$/g,""));new Set(Fa).size!==Fa.length&&Ma.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return ln||Ma.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),ln&&($a.slice(0,((Sa=we==null?void 0:we.options)==null?void 0:Sa.length)||8).includes(ln)||Ma.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D")),Er(we==null?void 0:we.question)||Ma.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Ma.join(`
`),we}},{id:"1",type:"\u591A\u9009\u9898",element:(we,vn,Mn)=>{var Sa,ln;const Ma=Mn!==void 0;let Fa=(Sa=we==null?void 0:we.answer)==null?void 0:Sa[0];const jn=b.createElement(b.Fragment,null,eo(we,vn,Mn),(ln=we==null?void 0:we.options)==null?void 0:ln.map((Ta,Ja)=>b.createElement(gt,{id:we==null?void 0:we.id,key:Ja,value:`${$a[Ja]}.${Ta}`,tagName:"p"})),Io(we,Fa,Ma),ri(we));let Xn=Ma?we:On[vn];const sr=Xn==null?void 0:Xn.options,za=b.createElement(b.Fragment,null,Jo(Xn,vn,Mn),sr==null?void 0:sr.map((Ta,Ja)=>{var Rr,bo;return b.createElement("div",{key:Ja,className:de.option},b.createElement("aside",{className:(bo=(Rr=Xn==null?void 0:Xn.answer)==null?void 0:Rr[0])!=null&&bo.includes($a[Ja])?de.active:"",onClick:()=>{var Uo;let Wo=((Uo=Xn==null?void 0:Xn.answer)==null?void 0:Uo[0])||"";const _i=$a[Ja];Wo.includes(_i)?Wo=Wo.replace(new RegExp(_i,"g"),""):Wo+=_i,Wo=Wo.split("").sort().join(""),gr("answer",vn,[Wo],Mn)}},$a[Ja]),b.createElement(gt,{id:Xn==null?void 0:Xn.id,tagName:"div",className:`${de.text}`,onBlur:Uo=>{sr[Ja]=Uo,gr("options",vn,sr,Mn)},value:Ta}))}),br(Xn,"",vn,Mn),zr(Xn));return Ma?[jn,za]:ko(jn,za,Xn,vn)},deal:we=>{var vn,Mn,Sa;we.score=we.score===void 0?2:we.score;let ln=Er((vn=we==null?void 0:we.answer)==null?void 0:vn[0]).toUpperCase().split("").sort().join("");we.answer=ln?[ln]:[];let Ma=[];if(!(we!=null&&we.options))Ma.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{we.options=(Mn=we.options)==null?void 0:Mn.slice(0,8);const Fa=we.options.map(Xn=>Xn==null?void 0:Xn.trim().replace(/^\s+|\s+$/g,""));new Set(Fa).size!==Fa.length&&Ma.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(ln||Ma.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),ln){const Fa=$a.slice(0,((Sa=we==null?void 0:we.options)==null?void 0:Sa.length)||8);xr(Fa).includes(ln)||Ma.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D")}return Er(we==null?void 0:we.question)||Ma.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Ma.join(`
`),we}},{id:"2",type:"\u5224\u65AD\u9898",element:(we,vn,Mn)=>{var Sa,ln;const Ma=Mn!==void 0;let Fa=(Sa=we==null?void 0:we.answer)==null?void 0:Sa[0];const jn=b.createElement(b.Fragment,null,eo(we,vn,Mn),Io(we,Fa,Ma),ri(we));let Xn=Ma?we:On[vn];const sr=["\u6B63\u786E","\u9519\u8BEF"];let za=((ln=Xn==null?void 0:Xn.answer)==null?void 0:ln[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(za)?za="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(za)&&(za="\u9519\u8BEF");const Ta=b.createElement(b.Fragment,null,Jo(Xn,vn,Mn),sr==null?void 0:sr.map((Ja,Rr)=>b.createElement("div",{key:Rr,className:de.option},b.createElement("aside",{style:{borderRadius:2},className:za===Ja?de.active:"",onClick:()=>gr("answer",vn,[Ja],Mn)},Ja==="\u6B63\u786E"?"T":"F"),b.createElement("div",{style:{pointerEvents:"none"},className:`${de.text}`},Ja))),br(Xn,"",vn,Mn),zr(Xn));return Ma?[jn,Ta]:ko(jn,Ta,Xn,vn)},deal:we=>{var vn;we.score=we.score===void 0?2:we.score;let Mn=Er((vn=we==null?void 0:we.answer)==null?void 0:vn[0]);we.answer=Mn?[Mn]:[];let Sa=[];return Mn||Sa.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),Mn&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(Mn)&&Sa.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),Er(we==null?void 0:we.question)||Sa.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Sa.join(`
`),we}},{id:"3",type:"\u586B\u7A7A\u9898",element:(we,vn,Mn)=>{var Sa,ln;const Ma=Mn!==void 0,Fa=b.createElement(b.Fragment,null,eo(we,vn,Mn),(Sa=we==null?void 0:we.answer)==null?void 0:Sa.map((sr,za)=>b.createElement(gt,{id:we==null?void 0:we.id,key:za,tagName:"p",value:`\u7B54\u6848${za+1}\uFF1A${sr.text||""}`})),Io(we,"",Ma),ri(we));let jn=Ma?we:On[vn];const Xn=b.createElement(b.Fragment,null,Jo(jn,vn,Mn),(ln=jn==null?void 0:jn.answer)==null?void 0:ln.map((sr,za)=>b.createElement("div",{key:za,className:de.option},b.createElement("aside",{className:de.fill},"\u586B\u7A7A\u9879",za+1),sr.model===1&&b.createElement(gt,{id:jn==null?void 0:jn.id,tagName:"div",onBlur:Ta=>{jn.answer[za].latex=Pr(Ta),gr("answer",vn,jn.answer,Mn)},className:`${de.text}`,value:sr.latex}),sr.model===2&&b.createElement(qe.Z,{value:sr.latex,onChange:Ta=>{jn.answer[za].latex=Ta,gr("answer",vn,jn.answer,Mn)}}))),br(jn,"",vn,Mn),zr(jn));return Ma?[Fa,Xn]:ko(Fa,Xn,jn,vn)},deal:we=>{var vn,Mn,Sa,ln;we.score=we.score===void 0?2:we.score,we.question=(vn=we.question)==null?void 0:vn.replaceAll("\u2581","_");const Ma=(Mn=we.answer)==null?void 0:Mn.map(jn=>{if(Object.prototype.toString.call(jn)==="[object Object]")return jn;const Xn={model:1,text:jn,latex:jn};return jn.startsWith("$$")&&jn.endsWith("$$")||jn.startsWith("`$$")&&jn.endsWith("$$`")?(Xn.model=2,Xn.latex=jn.slice(2,-2)):Xn.latex=Pr(jn),Xn});we.answer=Ma;let Fa=[];return Ma||Fa.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),Er(we==null?void 0:we.question)?we!=null&&we.question.includes("_")?(Sa=we==null?void 0:we.answer)!=null&&Sa.length&&((we==null?void 0:we.question.match(/_+/g))||[]).length!==((ln=we==null?void 0:we.answer)==null?void 0:ln.length)&&Fa.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Fa.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Fa.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Fa.join(`
`),we}},{id:"4",type:"\u7B80\u7B54\u9898",element:(we,vn,Mn)=>{var Sa,ln;const Ma=Mn!==void 0;let Fa=(Sa=we==null?void 0:we.answer)==null?void 0:Sa[0];const jn=b.createElement(b.Fragment,null,eo(we,vn,Mn),Io(we,Fa,Ma),ri(we));let Xn=Ma?we:On[vn];const sr=b.createElement(b.Fragment,null,Jo(Xn,vn,Mn),br(Xn,(ln=Xn==null?void 0:Xn.answer)==null?void 0:ln[0],vn,Mn),zr(Xn));return Ma?[jn,sr]:ko(jn,sr,Xn,vn)},deal:we=>{we.score=we.score===void 0?5:we.score;let vn=[];return Er(we==null?void 0:we.question)||vn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=vn.join(`
`),we}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(we,vn)=>{var Mn,Sa;const ln=On[vn],Ma=La.slice(0,4).map(Fa=>({key:Fa,label:Fa,onClick:()=>gr("platform",vn,Fa)}));return b.createElement("div",{className:de.row,style:{display:xa?ln!=null&&ln.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:de.leftLayout},b.createElement(kt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},eo(we,vn),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(we==null?void 0:we.description)||""}`,tagName:"p"}),Io(we),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${we==null?void 0:we.timeLimit}`,tagName:"p"}),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(we==null?void 0:we.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(gt,{id:we==null?void 0:we.id,value:(we==null?void 0:we.code)||"",tagName:"div"}),(Mn=we==null?void 0:we.inputs)==null?void 0:Mn.map((Fa,jn)=>{var Xn;return b.createElement(b.Fragment,{key:jn},b.createElement("h4",null),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${jn+1})\u8F93\u5165\uFF1A${Fa||""}`,tagName:"div"}),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${jn+1})\u8F93\u51FA\uFF1A${((Xn=we==null?void 0:we.outputs)==null?void 0:Xn[jn])||""}`,tagName:"div"}))}),ri(we)))),b.createElement("div",{className:de.rightLayout},b.createElement(ft,{className:ln!=null&&ln.errorMsg?de.error:""},Jo(ln,vn),b.createElement("div",{className:de.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},b.createElement("div",{className:de.li},b.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),b.createElement(gt,{className:de.edit,id:ln==null?void 0:ln.id,value:ln==null?void 0:ln.description,tagName:"div",onBlur:Fa=>gr("description",vn,Fa)}))),br(ln,"",vn),b.createElement("div",{className:de.liWrap},b.createElement("div",{className:de.li},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(gt,{className:de.edit,id:ln==null?void 0:ln.id,value:ln==null?void 0:ln.timeLimit,tagName:"div",onBlur:Fa=>gr("timeLimit",vn,Pr(Fa))})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(je.Z,{menu:{items:Ma}},b.createElement("span",{className:"c-light-primary"},ln==null?void 0:ln.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:de.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement(gt,{className:de.edit,id:ln==null?void 0:ln.id,value:(ln==null?void 0:ln.code)||"",onBlur:Fa=>gr("code",vn,Pr(Fa)),tagName:"div"}))),(Sa=ln==null?void 0:ln.inputs)==null?void 0:Sa.map((Fa,jn)=>{var Xn;return b.createElement("div",{className:de.liWrap,key:jn},b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",jn+1,")\u8F93\u5165\uFF1A"),b.createElement(gt,{id:ln==null?void 0:ln.id,value:Fa||"",className:de.edit,onBlur:sr=>{const za=[...(ln==null?void 0:ln.inputs)||[]];za[jn]=Pr(sr),gr("inputs",vn,za)},tagName:"div"})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",jn+1,")\u8F93\u51FA\uFF1A"),b.createElement(gt,{id:ln==null?void 0:ln.id,value:((Xn=ln==null?void 0:ln.outputs)==null?void 0:Xn[jn])||"",className:de.edit,onBlur:sr=>{const za=[...(ln==null?void 0:ln.outputs)||[]];za[jn]=Pr(sr),gr("outputs",vn,za)},tagName:"div"})))}),zr(ln))))},deal:we=>{var vn,Mn,Sa;we.score=we.score===void 0?10:we.score,we.code=(vn=we.code)==null?void 0:vn.trim();let ln=[];Er(we==null?void 0:we.question)?((Mn=we==null?void 0:we.question)==null?void 0:Mn.length)>60&&ln.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):ln.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Er(we==null?void 0:we.description)||ln.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const Ma=Er(String((we==null?void 0:we.timeLimit)||""));if(we.timeLimit=Ma,(!Ma||Ma&&!["3","4","5","6","7","8","9","10"].includes(Ma))&&ln.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),we.platform=Er(we==null?void 0:we.platform),we!=null&&we.platform){const Fa=["c","c++","java","python"],jn=(Sa=we==null?void 0:we.platform)==null?void 0:Sa.toLowerCase(),Xn=Fa.findIndex(sr=>sr===jn);Xn>-1?we.platform=La[Xn]:ln.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else ln.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=[],ln.push("\u672A\u8BC6\u522B\u5230\u6D4B\u8BD5\u7528\u4F8B\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u5165\uFF1A1\uFF1B\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u51FA\uFF1A2");else{const Fa=Math.min(we.inputs.length,we.outputs.length);we.inputs=we.inputs.slice(0,Fa),we.outputs=we.outputs.slice(0,Fa),we.outputs.some(jn=>!Er(jn))&&ln.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return we.errorMsg=ln.join(`
`),we}},{id:"7",type:"\u7EC4\u5408\u9898",element:(we,vn)=>{var Mn,Sa;const ln=On[vn];return b.createElement("div",{className:de.row,style:{display:xa?ln!=null&&ln.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:de.leftLayout},b.createElement(kt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},eo(we,vn),Io(we),(Mn=we==null?void 0:we.questions)==null?void 0:Mn.map((Ma,Fa)=>{var jn;const Xn=(jn=Vi.find(sr=>sr.id===(Ma==null?void 0:Ma.type)))==null?void 0:jn.element;return b.createElement(b.Fragment,{key:`left-${we.id}-${Fa}`},Xn(Ma,vn,Fa)[0])}),ri(we),b.createElement("p",{contentEditable:!0},"}}")))),b.createElement("div",{className:de.rightLayout},b.createElement(ft,{className:ln!=null&&ln.errorMsg?de.error:""},Jo(ln,vn),br(ln,"",vn),(Sa=ln==null?void 0:ln.questions)==null?void 0:Sa.map((Ma,Fa)=>{var jn;const Xn=(jn=Vi.find(sr=>sr.id===(Ma==null?void 0:Ma.type)))==null?void 0:jn.element;return b.createElement(b.Fragment,{key:`right-${ln.id}-${Fa}`},Xn(Ma,vn,Fa)[1])}),zr(ln))))},deal:we=>{var vn,Mn,Sa,ln,Ma;const Fa=Go,jn=[...Vi],Xn=jn.findIndex(Ja=>Ja.id==="0"),sr=jn.findIndex(Ja=>Ja.id==="1");if(Xn!==-1){const Ja=jn[Xn].deal;jn[Xn].deal=Rr=>{const bo=Ja(Rr);return bo.errorMsg&&(bo.errorMsg=bo.errorMsg.split(`
`).filter(Uo=>Uo!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),bo}}if(sr!==-1){const Ja=jn[sr].deal;jn[sr].deal=Rr=>{const bo=Ja(Rr);return bo.errorMsg&&(bo.errorMsg=bo.errorMsg.split(`
`).filter(Uo=>Uo!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),bo}}we.questions=(vn=we.questions)!=null&&vn.length?Go(we.questions.slice(0,20)):[],we.questions=(Mn=we.questions)==null?void 0:Mn.map((Ja,Rr)=>{var bo;if(Ja.type==="0"||Ja.type==="1"){const Uo=(bo=Ja.options)==null?void 0:bo.map(Wo=>Wo==null?void 0:Wo.trim().replace(/^\s+|\s+$/g,""));Uo&&new Set(Uo).size!==Uo.length&&(Ja.errorMsg=(Ja.errorMsg?Ja.errorMsg+`
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Zt(Vn({},Ja),{last:Rr===we.questions.length-1})});const za=(Sa=we.questions)==null?void 0:Sa.reduce((Ja,Rr)=>{const bo=parseFloat(Rr.score);return isNaN(bo)?Ja:Ja+bo},0);we.score=za;let Ta=[];return(ln=we.questions)!=null&&ln.length?we.errorMsg=((Ma=we.questions)==null?void 0:Ma.findIndex(Ja=>!!Ja.errorMsg))>-1:Ta.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),Er(we==null?void 0:we.question)||Ta.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ta.length&&(we.errorMsg=Ta.join(`
`)),we}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(we,vn)=>{var Mn,Sa;const ln=On[vn],Ma=La.map(Fa=>({key:Fa,label:Fa,onClick:()=>gr("platform",vn,Fa)}));return b.createElement("div",{className:de.row,style:{display:xa?ln!=null&&ln.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:de.leftLayout},b.createElement(kt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},eo(we,vn),Io(we),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${we==null?void 0:we.timeLimit}`,tagName:"p"}),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(we==null?void 0:we.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(gt,{id:we==null?void 0:we.id,value:(we==null?void 0:we.code)||"",tagName:"div"}),b.createElement("h4",null),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(we==null?void 0:we.input)||""}`,tagName:"p"}),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(we==null?void 0:we.output)||""}`,tagName:"p"}),(Mn=we==null?void 0:we.answer)==null?void 0:Mn.map((Fa,jn)=>b.createElement(gt,{key:jn,id:we==null?void 0:we.id,value:`\u7B54\u6848${jn+1}\uFF1A${Fa||""}`,tagName:"p"})),ri(we)))),b.createElement("div",{className:de.rightLayout},b.createElement(ft,{className:ln!=null&&ln.errorMsg?de.error:""},Jo(ln,vn),br(ln,"",vn),b.createElement("div",{className:de.liWrap},b.createElement("div",{className:de.li,onKeyDown:ct},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(gt,{className:de.edit,id:ln==null?void 0:ln.id,value:ln==null?void 0:ln.timeLimit,tagName:"div",onBlur:Fa=>gr("timeLimit",vn,Pr(Fa))})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(je.Z,{menu:{items:Ma}},b.createElement("span",{className:"c-light-primary"},ln==null?void 0:ln.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:de.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement(gt,{className:de.edit,id:ln==null?void 0:ln.id,value:(ln==null?void 0:ln.code)||"",onBlur:Fa=>gr("code",vn,Pr(Fa)),tagName:"div"})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),b.createElement(gt,{className:de.edit,id:ln==null?void 0:ln.id,value:(ln==null?void 0:ln.input)||"",onBlur:Fa=>gr("input",vn,Pr(Fa)),tagName:"div"})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),b.createElement(gt,{className:de.edit,id:ln==null?void 0:ln.id,value:(ln==null?void 0:ln.output)||"",onBlur:Fa=>gr("output",vn,Pr(Fa)),tagName:"div"}))),b.createElement("div",{className:de.liWrap},(Sa=ln==null?void 0:ln.answer)==null?void 0:Sa.map((Fa,jn)=>b.createElement("div",{className:de.li,key:jn},b.createElement("aside",null,"\u7B54\u6848",jn+1,"\uFF1A"),b.createElement(gt,{id:ln==null?void 0:ln.id,value:Fa||"",className:de.edit,onBlur:Xn=>{const sr=[...(ln==null?void 0:ln.answer)||[]];sr[jn]=Pr(Xn),gr("output",vn,sr)},tagName:"div"})))),zr(ln))))},deal:we=>{var vn,Mn,Sa,ln,Ma,Fa,jn,Xn;we.score=we.score===void 0?10:we.score,we.code=(Sa=(Mn=(vn=we.code)==null?void 0:vn.trim())==null?void 0:Mn.replace(/@_@/g,"@\u2581@"))==null?void 0:Sa.replace(/@__@/g,"@\u2581\u2581@");let sr=[];if(Er(we==null?void 0:we.question)||sr.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Er(we==null?void 0:we.code)?/@▁@|@▁▁@/.test(we==null?void 0:we.code)?(ln=we==null?void 0:we.answer)!=null&&ln.length&&((Ma=we==null?void 0:we.code.match(/@▁@|@▁▁@/g))==null?void 0:Ma.length)!==((Fa=we==null?void 0:we.answer)==null?void 0:Fa.length)&&sr.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):sr.push("\u7A0B\u5E8F\u4EE3\u7801\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u7A0B\u5E8F\u4EE3\u7801\u4E2D\u7684\u586B\u7A7A\u9879\u9700\u8981\u4F7F\u7528 @\u2581@ \u7B26\u53F7\u6807\u8BC6\u51FA\u6765"):sr.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),we!=null&&we.answer?(jn=we.answer)!=null&&jn.some(Ta=>!Er(Ta))&&sr.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):sr.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),we.platform=Er(we==null?void 0:we.platform),we!=null&&we.platform){const Ta=["c","c++","java","python","javascript","ruby"],Ja=(Xn=we==null?void 0:we.platform)==null?void 0:Xn.toLowerCase(),Rr=Ta.findIndex(bo=>bo===Ja);Rr>-1?we.platform=La[Rr]:sr.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else sr.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");Er(we==null?void 0:we.output)||sr.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const za=Er(String((we==null?void 0:we.timeLimit)||""));return we.timeLimit=za,(!za||za&&!["3","4","5","6","7","8","9","10"].includes(za))&&sr.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),we.errorMsg=sr.join(`
`),we}}],dl=()=>b.createElement(b.Fragment,null,yr.filter(we=>{var vn;return!!((vn=Vi.find(Sa=>Sa.id===(we==null?void 0:we.type)))==null?void 0:vn.element)}).map((we,vn)=>{var Mn;const Sa=(Mn=Vi.find(ln=>ln.id===(we==null?void 0:we.type)))==null?void 0:Mn.element;return b.createElement(b.Fragment,{key:we.id},Sa(we,vn))})),ml=()=>wn(void 0,null,function*(){const we=On.filter(vn=>!vn.checked);if(Ln!==3||!we.length){ke.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}Cr.setFieldsValue({sub_discipline_id:Me}),Wt(!0)}),yl=we=>wn(void 0,null,function*(){const vn=Go(we);en(vn),la(JSON.parse(JSON.stringify(vn))),Jn(3),fa(!1),An(!1),Ge(!1)});(0,b.useEffect)(()=>{if(_n)return;const we=()=>{Da(vn=>vn>=90?(clearInterval(Ha.current),90):vn+1)};return Ha.current=setInterval(we,5e4/90),()=>clearInterval(Ha.current)},[_n]);const kr=(we,vn)=>{Ea(!1);const Mn=new FormData;Object.keys(vn).forEach(ln=>{Mn.append(ln,vn[ln])});const Sa=new window.XMLHttpRequest;Sa.withCredentials=!0,Sa.addEventListener("load",function(ln){return wn(this,null,function*(){var Ma,Fa;try{const jn=JSON.parse((Ma=ln==null?void 0:ln.target)==null?void 0:Ma.response);if(Ea(!0),Da(100),yield new Promise(Xn=>setTimeout(()=>Xn(),780)),jn.status===0){if(!((Fa=jn==null?void 0:jn.data)!=null&&Fa.length)){ke.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),fa(!1);return}yl((jn==null?void 0:jn.data)||[])}else fa(!1),ke.ZP.warning(jn==null?void 0:jn.message)}catch(jn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",jn)}})}),Sa.addEventListener("error",()=>{fa(!1)}),Sa.open("POST",`${re.Z.API_SERVER}${we}`),Sa.send(Mn)},Qa=we=>wn(void 0,null,function*(){const vn=we.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(vn)==-1?(ke.ZP.error(`${we.name}\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\uFF0C\u5F53\u524D\u4EC5\u9650\u652F\u6301\u683C\u5F0F\u4E3Adocx\u6587\u4EF6\uFF08Microsoft Word 2007\u4EE5\u4E0A\u7684\u7248\u672C\uFF09`),Promise.reject()):(fa(!0),ar("\u5904\u7406\u4E2D"),kr("/api/intelligent_imports/import.json",{file:we}),Promise.reject())}),Ga=we=>wn(void 0,null,function*(){const vn=we.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(vn)==-1?(ke.ZP.warning("\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"),Promise.reject()):we.size/1024/1024>200?(ke.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):($e!=null&&$e.length?le.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5355\u6B21\u51FA\u9898\u53EA\u652F\u6301\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6/\u4E00\u5F20\u56FE\u7247\uFF0C\u518D\u6B21\u4E0A\u4F20\u4F1A\u66FF\u6362\u5F53\u524D\u5DF2\u4E0A\u4F20\u7684\u5185\u5BB9\u3002",onOk:()=>bn([we])}):bn([we]),Promise.reject())});let Ya=[{key:1,label:b.createElement(Xe.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:Qa},b.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];const uo=[On.length,(gn=On.filter(we=>!!(we!=null&&we.errorMsg)))==null?void 0:gn.length];return b.createElement("div",{className:Ne()(de.intelligentBox,"intelligent-body-curb",De),style:Zt(Vn({},fe),{width:Je}),ref:ha},b.createElement("div",{className:de.underpin},b.createElement("b",{style:Ht}),b.createElement("b",{style:Ht})),b.createElement("div",{className:de.head,style:{top:at}},b.createElement("div",{className:de.leftLayout},an||b.createElement(b.Fragment,null,b.createElement(et.Z,{align:"middle"},b.createElement("div",{className:de.title},"\u8BD5\u9898\u7F16\u8F91"),!yt&&b.createElement(ne.op,{href:`${re.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",b.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),b.createElement(ne.op,{onClick:Or,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!yt&&b.createElement(je.Z,{overlayClassName:de.menu,menu:{items:Ya}},b.createElement(ne.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!Bt&&Bt),b.createElement("div",{className:de.tip},b.createElement("i",{className:"iconfont icon-tishi7 font12 mr10"}),"\u63D0\u793A\uFF1A\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u7F16\u8F91\u533A\u70B9\u51FB\u5BF9\u5E94\u7684\u8BD5\u9898\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u8BC6\u522B"))),b.createElement(et.Z,{className:de.rightLayout,style:{alignItems:"start"}},cn||b.createElement(b.Fragment,null,b.createElement("div",{className:de.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Ln)&&b.createElement(Ve.default,{className:"ml20",checked:xa,onChange:we=>Ge(we.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Ln)&&b.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",b.createElement("span",{className:"ml5 mr5 c-light-primary"},uo[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",b.createElement("span",{className:"ml5 mr5 c-red-e53"},uo[1]),"\u9898")),xt&&b.createElement("div",{className:de.tabs},yr==null?void 0:yr.map((we,vn)=>b.createElement("div",{onClick:()=>{Dn(vn)},className:Pa===vn&&de.active,key:vn},"\u65B0\u9898",vn+1)))),b.createElement("div",{className:de.centerBox},b.createElement("img",{className:"mb10",src:be,width:56}),!yn&&b.createElement(ne.op,{onClick:Mo},"\u8BC6\u522B"))),[1,2].includes(Ln)&&Do(),[3].includes(Ln)&&dl(),b.createElement("div",{className:"pb10"}),b.createElement("div",{className:de.buttonFixed},b.createElement("div",{className:de.buttonWrap},b.createElement(Ye.ZP,{size:"middle",className:`${de.button} mr20`,onClick:It},"\u53D6\u6D88"),b.createElement(Ye.ZP,{size:"middle",type:"primary",className:`${de.button}`,onClick:ml},dn))),b.createElement(le.default,{centered:!0,closable:!1,destroyOnClose:!0,open:Ua,title:null,footer:null,width:320,afterClose:()=>Da(0)},b.createElement(et.Z,{align:"middle",style:{flexDirection:"column"}},b.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},Na,b.createElement("span",{className:de.dotLoading},b.createElement("span",null,"."),b.createElement("span",null,"."),b.createElement("span",null,"."))),b.createElement(se.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:va}),b.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",b.createElement("span",{className:"ml5 c-light-primary"},va,"%")))),b.createElement(le.default,{centered:!0,open:Vt,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:Ot,width:480,onCancel:()=>Wt(!1),onOk:()=>Cr.submit(),afterClose:()=>{Cr.resetFields()}},b.createElement(Ze.default,{style:{maxHeight:550},form:Cr,layout:"horizontal",colon:!1,size:"large",onFinish:we=>wn(void 0,null,function*(){var vn,Mn,Sa,ln,Ma;const Fa=On.filter(sr=>!sr.checked&&!sr.errorMsg);_t(!0);const jn=()=>wn(void 0,null,function*(){var sr,za;const Ta=yield(0,We.ZP)("/api/intelligent_imports/save.json",{method:"post",body:Zt(Vn(Vn({},Ie),we),{list:Fa,mode:St})});Ta.status===0&&(Mt&&((sr=Ta==null?void 0:Ta.data)!=null&&sr.success)&&window.location.pathname==="/problemset"&&(mt.Z.publish("refresh-item-bank",we.group_id),yield new Promise(Ja=>setTimeout(()=>Ja(),1500))),ke.ZP.success(`\u6210\u529F\u5BFC\u5165${(za=Ta==null?void 0:Ta.data)==null?void 0:za.success}\u9053\u8BD5\u9898`,3),Oe(),Wt(!1)),_t(!1)});if(St!==1){yield jn();return}const Xn=yield(0,We.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:On,mode:St}});if(Xn.status===0){if(!((vn=Xn==null?void 0:Xn.data)!=null&&vn.error_size)){yield jn();return}le.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{_t(!1)},title:"\u63D0\u793A",content:b.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",b.createElement("span",{className:"c-light-primary ml5 mr5"},(Mn=Xn==null?void 0:Xn.data)==null?void 0:Mn.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",b.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(Sa=Xn==null?void 0:Xn.data)==null?void 0:Sa.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",b.createElement("span",{className:"ml5 mr5"},(Ma=(ln=Xn==null?void 0:Xn.data)==null?void 0:ln.index)==null?void 0:Ma.join("\u3001")),"\u9053\uFF09\uFF0C\u91CD\u590D\u8BD5\u9898\u5C06\u4F1A\u4E3A\u60A8\u81EA\u52A8\u8FC7\u6EE4\uFF0C\u786E\u5B9A\u5BFC\u5165\u5417\uFF1F"),onOk:jn})}})},b.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),b.createElement(Ze.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",labelCol:{span:5},wrapperCol:{span:19},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}]},b.createElement(E.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:vt})),St===1&&b.createElement(Ze.default.Item,{label:b.createElement(et.Z,{align:"middle",style:{justifyContent:"space-between"}},b.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),b.createElement("div",{onClick:()=>Bn(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},b.createElement("img",{className:"mr5 primary-hover",src:He}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},b.createElement(Ae.Z,{key:pt})))),b.createElement(le.default,{centered:!0,open:Rn,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:ka,onCancel:()=>Bn(!1),onOk:()=>Wr.submit(),afterClose:()=>{Wr.resetFields()}},b.createElement(Ze.default,{style:{maxHeight:550},form:Wr,layout:"horizontal",colon:!1,size:"large",onFinish:we=>wn(void 0,null,function*(){var vn;pa(!0),(yield(0,We.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:we.name,parent_id:(vn=we==null?void 0:we.parent_id)==null?void 0:vn[0]}})).status===0?(Sn(pt+1),setTimeout(()=>{ke.ZP.success("\u64CD\u4F5C\u6210\u529F"),Bn(!1),pa(!1)},1e3)):pa(!1)})},b.createElement(Ze.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),b.createElement(Ze.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},b.createElement(Ae.Z,null)))),b.createElement(le.default,{centered:!0,open:Wn,title:"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898",width:814,okText:"\u751F\u6210\u8BD5\u9898",onCancel:()=>An(!1),onOk:()=>{if(lr===1&&!Er($r)){ke.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(lr===2&&!Er($r)&&!($e!=null&&$e.length)){ke.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const we=[{name:"\u5355\u9009\u9898",num:Xt||0},{name:"\u591A\u9009\u9898",num:Kn||0},{name:"\u5224\u65AD\u9898",num:Qn||0},{name:"\u586B\u7A7A\u9898",num:ur||0},{name:"\u7B80\u7B54\u9898",num:En||0}];if(we.reduce((Sa,ln)=>Sa+ln.num,0)===0){ke.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}console.log(lr,Xt,Kn),fa(!0),ar("\u5904\u7406\u4E2D");const Mn={type:lr,query:$r,item_types:JSON.stringify(we)};lr===2&&(Mn.file=($e==null?void 0:$e[0])||null),kr("/api/intelligent_imports/large_model_intelligent_qa.json",Mn)}},b.createElement(et.Z,{align:"middle",className:"mb10 c-black"},b.createElement("div",{className:"mr10"},"\u51FA\u9898\u8981\u6C42"),b.createElement(x.ZP.Group,{value:lr,onChange:we=>Nr(we.target.value)},b.createElement(x.ZP,{value:1,className:"c-black"},"\u6839\u636E\u77E5\u8BC6\u70B9\u51FA\u9898"),b.createElement(x.ZP,{value:2,className:"ml40 c-black"},"\u6839\u636E\u6750\u6599\u51FA\u9898"))),b.createElement(a.default.TextArea,{style:{height:120},className:"mb20",value:$r,placeholder:lr===1?"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\uFF0C\u591A\u4E2A\u77E5\u8BC6\u70B9\u7528\u201C\u3001\u201D\u5206\u9694\u5F00":"\u8BF7\u5148\u63D0\u4F9B\u60A8\u51FA\u9898\u4F9D\u636E\u7684\u6750\u6599\uFF0C\u53EF\u4EE5\u76F4\u63A5\u590D\u5236\u6750\u6599\u5185\u5BB9\u7C98\u8D34\u5728\u6B64\u533A\u57DF\uFF0C\u4E5F\u53EF\u70B9\u51FB\u4E0B\u65B9\u4E0A\u4F20\u6750\u6599\u6309\u94AE\u4E0A\u4F20\u672C\u5730\u6750\u6599\u6587\u6863",onChange:we=>{Sr(we.target.value)}}),lr===2&&b.createElement(b.Fragment,null,b.createElement(Xe.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:$e,beforeUpload:Ga,className:"mb20",onRemove:()=>bn([])},b.createElement(y.Z,{title:"\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"},b.createElement(ne.op,{style:{borderRadius:2}},b.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),b.createElement("div",{style:{height:20}})),b.createElement(et.Z,{align:"middle",className:"c-black"},b.createElement("div",{className:"mb10"},"\u51FA\u9898\u6570\u91CF"),b.createElement(et.Z,{gutter:16},b.createElement(z.Z,null,b.createElement("label",null,"\u5355\u9009\u9898"),b.createElement(st.Z,{min:0,max:10,value:Xt,onChange:Nn,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u591A\u9009\u9898"),b.createElement(st.Z,{min:0,max:10,value:Kn,onChange:ua,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u5224\u65AD\u9898"),b.createElement(st.Z,{min:0,max:10,value:Qn,onChange:$n,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u586B\u7A7A\u9898"),b.createElement(st.Z,{min:0,max:10,value:ur,onChange:da,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u7B80\u7B54\u9898"),b.createElement(st.Z,{min:0,max:10,value:En,onChange:dr,style:{marginLeft:"8px"}}))))))},it=ue;var nt=At},19105:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(99587),Be=ee(48136),Ne=ee(76562),Ze=ee(43418),ke=ee(59301);const le=(0,b.forwardRef)(({callback:st,width:et,onChange:Ve,disabled:je,readOnly:Xe,type:Ye="",value:se="",style:E={}},a)=>{const x=(0,b.useRef)(),y=(0,b.useRef)(),[z,ne]=(0,b.useState)(0),[re,ue]=(0,b.useState)(0),[oe,ve]=(0,b.useState)(!1),be=()=>{var he=document.createElement("div");he.innerHTML=x.current.getValue();var qe=he.innerText;return st&&st(qe),qe};(0,b.useImperativeHandle)(a,()=>({getData:be}));const We=he=>{he.preventDefault();const qe=he.clientX-z,Ke=he.clientY-re;document.body.onmousemove=ht=>{let Le=ht.clientX-qe,rt=ht.clientY-Ke;const ut=document.getElementsByClassName("markdown-popup-form")[0],gt=window.innerWidth-ut.offsetWidth,mt=window.innerHeight-ut.offsetHeight;Le=Math.max(0,Math.min(Le,gt)),rt=Math.max(0,Math.min(rt,mt)),Ae(ht.clientX,ht.clientY,qe,Ke)&&(ne(Le),ue(rt))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ae=(he,qe,Ke,ht)=>{const Le=document.body.clientHeight,rt=document.body.clientWidth;return he<20&&Ke>he||he>rt-20&&Ke<he||qe<20&&ht>qe||qe>Le-20&&ht<qe?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,b.useEffect)(()=>{oe&&setTimeout(()=>{const he=document.getElementsByClassName("markdown-popup-form")[0],qe=window.innerWidth/2-he.offsetWidth/2,Ke=window.innerHeight/2-he.offsetHeight/2;ne(qe),ue(Ke)},0)},[oe]);const He=()=>{je||Xe||ve(!0)};return ke.createElement("div",{style:E},ke.createElement("div",{style:{width:et||"100%",position:"relative"},className:`${de.Z.mathFillWrap} ${je||Xe?"cursorDefault":""}`,onClick:()=>He()},ke.createElement("math-field",{disabled:je,locale:"zh_cn",class:`${de.Z.mathField} ${Ye}`,readOnly:Xe,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:se?18:14},value:se||""})),ke.createElement(Ze.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:re},title:ke.createElement("div",{style:{cursor:"move"},onMouseDown:We},"\u8F93\u5165\u516C\u5F0F"),open:oe,onOk:()=>{const he=y.current.getData();x.current.setValue(he),Ve(he),ve(!1)},onCancel:()=>{ve(!1)},destroyOnClose:!0,className:"markdown-popup-form"},ke.createElement(Ne.Z,{value:se,ref:y,onChange:Ve,showSaveButton:!1})))});Gt.Z=le},76562:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(95237),Be=ee(43604),Ne=ee(99313),Ze=ee(3113),ke=ee(91842),le=ee(99587),st=ee(48136),et=ee(59301);const Ve=(0,b.forwardRef)(({callback:je,showSaveButton:Xe,value:Ye=""},se)=>{const E=(0,b.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],y=re=>{E.current.setValue(E.current.getValue()+" "+re.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:et.createElement(de.Z,{className:le.Z.lists,gutter:[10,10]},a.map((re,ue)=>et.createElement(Be.Z,{flex:"110px",className:le.Z.item},et.createElement("div",null,et.createElement(ke.Z,{value:`$$${re.value}$$`}),re.name),et.createElement("div",{className:le.Z.children},re.children.map((oe,ve)=>et.createElement("div",{key:ve},et.createElement("h1",null,oe.name),et.createElement(de.Z,{gutter:[10,10]},oe.data.map((be,We)=>et.createElement(Be.Z,{key:We,onClick:()=>y(be),className:le.Z.diamond},et.createElement(ke.Z,{value:"`$$"+be.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:et.createElement(de.Z,{className:le.Z.lists,gutter:[10,10]},x.map((re,ue)=>et.createElement(Be.Z,{flex:"110px",className:le.Z.item},et.createElement("div",null,et.createElement(ke.Z,{value:"`$$"+re.value+"$$`"}),re.name),et.createElement("div",{className:le.Z.children},re.children.map((oe,ve)=>et.createElement("div",{key:ve},oe.name&&et.createElement("h1",null,oe.name),et.createElement(de.Z,{gutter:[10,10]},oe.data.map((be,We)=>et.createElement(Be.Z,{key:We,onClick:()=>y(be),className:le.Z.diamond},et.createElement(ke.Z,{value:"`$$"+be.value+"$$`"}))))))))))}],ne=()=>{var re=document.createElement("div");re.innerHTML=E.current.getValue();var ue=re.innerText;return je&&je(ue),ue};return(0,b.useImperativeHandle)(se,()=>({getData:ne})),et.createElement("div",{className:le.Z.mathWrap},et.createElement(Ne.default,{defaultActiveKey:"1",items:z}),et.createElement("math-field",{locale:"zh_cn",className:le.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Ye||""),Xe&&et.createElement("div",{className:le.Z.button},et.createElement(Ze.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Gt.Z=Ve},22962:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Xe}});var b=ee(59301),de=ee(78241),Be=ee(43418),Ne=ee(92832),Ze=ee(87169),ke=ee(38986),le={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},st=ee(52154),et=ee(59301),Ve=(Ye,se,E)=>new Promise((a,x)=>{var y=re=>{try{ne(E.next(re))}catch(ue){x(ue)}},z=re=>{try{ne(E.throw(re))}catch(ue){x(ue)}},ne=re=>re.done?a(re.value):Promise.resolve(re.value).then(y,z);ne((E=E.apply(Ye,se)).next())}),Xe=({type:Ye="subject",open:se,onCancel:E,onOkClick:a,subDisciplineId:x})=>{const[y]=de.default.useForm(),[z,ne]=(0,b.useState)([]),[re,ue]=(0,b.useState)(!1);(0,b.useEffect)(()=>{},[]);const oe=()=>Ve(void 0,null,function*(){if(Ye){const ve=yield(0,ke.ZP)("/api/disciplines.json",{method:"get",params:{source:Ye}});ne(ve.disciplines||[])}});return et.createElement(Be.default,{title:et.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:se,width:558,centered:!0,className:le.publicQuest,onCancel:()=>{E(),y.resetFields()},onOk:()=>{y.validateFields().then(ve=>Ve(void 0,null,function*(){const be=yield(0,ke.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:ve==null?void 0:ve.name,sub_discipline_id:x}});(be==null?void 0:be.status)===0&&a({name:ve==null?void 0:ve.name,id:be==null?void 0:be.tag_discipline_id,public:!1,type:"personal"}),y.resetFields(),E()}))}},et.createElement("div",{className:le.publicQuestContent},et.createElement("div",{className:le.public_tips},et.createElement(Ze.Z,{style:{color:"#FF8C29",marginRight:10,paddingTop:5}}),"\u65B0\u5EFA\u7684\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u5E73\u53F0\u5BA1\u6838\u5217\u5165\u516C\u5F00\u77E5\u8BC6\u70B9\u540E\uFF0C\u5BF9\u6240\u6709\u7528\u6237\u53EF\u89C1\u3002 \u5E73\u53F0\u6709\u6743\u5220\u9664\u4E0D\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF0C\u8BF7\u8BA4\u771F\u586B\u5199\u77E5\u8BC6\u70B9\u540D\u79F0\u3002"),et.createElement(de.default,{labelAlign:"left",form:y,colon:!1},et.createElement(de.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},et.createElement(Ne.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),et.createElement(st.Z,{open:re,onCancel:()=>{ue(!1)}})))}},70100:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Q:function(){return et},Z:function(){return je}});var b=ee(59301),de={flex_box_center:"flex_box_center___VcCAZ",flex_space_between:"flex_space_between___I3jjO",flex_box_vertical_center:"flex_box_vertical_center___Rm_54",flex_box_center_end:"flex_box_center_end___nTsdc",flex_box_column:"flex_box_column___UVpzN",tags:"tags___kRRoe",text:"text___IyyEa",tagWrap:"tagWrap___v63mB",tag:"tag___X7wE6",c:"c___mZMPq",cpp:"cpp___eaTie",java:"java___gL98T",python:"python___eNRkk",edit:"edit___tbVu0"},Be=ee(92310),Ne=ee.n(Be),Ze=ee(43418),ke=ee(8591),le=ee(24905),st=(Xe,Ye,se)=>new Promise((E,a)=>{var x=ne=>{try{z(se.next(ne))}catch(re){a(re)}},y=ne=>{try{z(se.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?E(ne.value):Promise.resolve(ne.value).then(x,y);z((se=se.apply(Xe,Ye)).next())});const et=({title:Xe="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Ye=[],visible:se,setVisible:E,tip:a,onOk:x})=>{const[y,z]=(0,b.useState)([]),[ne,re]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{se&&z(Ye)},[se]),b.createElement(Ze.default,{centered:!0,open:se,title:Xe,confirmLoading:ne,width:564,onOk:()=>st(void 0,null,function*(){if(!y.length){ke.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}re(!0),yield x(y),re(!1)}),onCancel:()=>E(!1)},!!a&&b.createElement("div",{className:"c-grey-666 font16 mb10"},a),b.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},b.createElement(le.default.Group,{value:y,options:[{label:"C\u8BED\u8A00",value:"C"},{label:"C++\u8BED\u8A00",value:"C++",style:{marginLeft:30}},{label:"Java\u8BED\u8A00",value:"Java",style:{marginLeft:30}},{label:"Python\u8BED\u8A00",value:"Python",style:{marginLeft:30}}],onChange:ue=>{z(ue)}})))};var je=({title:Xe="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Ye,style:se={},onEdit:E,dataSource:a=[]})=>{const x={C:b.createElement("div",{className:de.c},"C"),"C++":b.createElement("div",{className:de.cpp},"C++"),Java:b.createElement("div",{className:de.java},"Java"),Python:b.createElement("div",{className:de.python},"Python")};return b.createElement("div",{className:Ne()(de.tags,Ye),style:se},!!Xe&&b.createElement("div",{className:de.text},Xe),b.createElement("div",{className:de.tagWrap},a==null?void 0:a.map(y=>b.createElement(b.Fragment,{key:y},x[y]))),!!E&&b.createElement("div",{onClick:E,className:`iconfont icon-bianji_Hover ${de.edit}`}))}},68571:function(Qt,Gt,ee){"use strict";ee.d(Gt,{t:function(){return it}});var b=ee(59301),de=ee(92832),Be=ee(78241),Ne=ee(43418),Ze=ee(95237),ke=ee(43604),le=ee(5871),st=ee(57809),et=ee(5112),Ve=ee(31457),je=ee(25690),Xe=ee(8423),Ye=ee(8591),se=ee(3113),E=ee(71418),a=ee(24334),x={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},y=ee(38986),z=ee(81072),ne=ee(39793),re=ee(56102),ue=ee(37345),oe=ee(59301),ve=Object.defineProperty,be=Object.defineProperties,We=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,qe=(nt,De,fe)=>De in nt?ve(nt,De,{enumerable:!0,configurable:!0,writable:!0,value:fe}):nt[De]=fe,Ke=(nt,De)=>{for(var fe in De||(De={}))He.call(De,fe)&&qe(nt,fe,De[fe]);if(Ae)for(var fe of Ae(De))he.call(De,fe)&&qe(nt,fe,De[fe]);return nt},ht=(nt,De)=>be(nt,We(De)),Le=(nt,De,fe)=>new Promise((Je,It)=>{var Oe=at=>{try{St(fe.next(at))}catch(Me){It(Me)}},Ie=at=>{try{St(fe.throw(at))}catch(Me){It(Me)}},St=at=>at.done?Je(at.value):Promise.resolve(at.value).then(Oe,Ie);St((fe=fe.apply(nt,De)).next())}),ut=({buttonProps:nt,buttonText:De,form:fe,hackIdentifier:Je="",answerKey:It,data:Oe})=>{const[Ie,St]=(0,b.useState)(!1),[at,Me]=(0,b.useState)(!1),[yt,Fn]=(0,b.useState)(!1),[an,cn]=(0,b.useState)({}),[sn,yn]=(0,b.useState)(""),[Te,xt]=(0,b.useState)(""),Ht=(0,b.useRef)(Je),Bt=(0,b.useRef)(""),Mt=(0,b.useRef)(!1);(0,b.useEffect)(()=>{yt&&Jn()},[yt]),(0,b.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const dn=()=>new Date().getTime(),gn=Oe==null?void 0:Oe.code,Ln=()=>{var Na,ar;let Ua=gn?Oe==null?void 0:Oe.code:(Na=fe.getFieldValue("hack_codes"))==null?void 0:Na.code,fa=gn?Oe==null?void 0:Oe.answer_content:fe.getFieldValue(It),yr=gn?Oe==null?void 0:Oe.input:(ar=fe.getFieldValue("hack_sets"))==null?void 0:ar.input;fa==null||fa.forEach(en=>{const On=en.value||en.answer_text||"";Ua=Ua.replace(/(@▁@|@▁▁@)/,On)}),xt(yr),yn(Ua),cn({}),Fn(!0)},Jn=()=>Le(void 0,null,function*(){var Na,ar,Ua,fa;const yr=dn(),en=gn?Oe==null?void 0:Oe.time_limit:(Na=fe.getFieldsValue())==null?void 0:Na.hack.time_limit,On=gn?(ar=Oe==null?void 0:Oe.answer_content)==null?void 0:ar.length:(fa=(Ua=fe.getFieldsValue())==null?void 0:Ua.standard_answers)==null?void 0:fa.length;St(!0),yield(0,z.bM)(Bt.current,{test_hack_code:sn,test_input:Te});function la(){return Le(this,null,function*(){const{status:xa,data:Ge}=yield(0,z.rX)(Bt.current,"submit"),_t=dn()-yr>(en+3)*1e3*On;if(Mt.current){if(_t){Ye.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),St(!1);return}if(xa===0){St(!1),cn(ht(Ke({},Ge),{showText:!0}));return}setTimeout(la,1e3)}})}la()}),va=()=>Le(void 0,null,function*(){var Na,ar,Ua,fa,yr,en,On;if(!Oe){try{yield fe.validateFields()}catch(Ot){(Ua=(ar=(Na=Ot==null?void 0:Ot.errorFields)==null?void 0:Na[0])==null?void 0:ar.name)!=null&&Ua.includes("standard_answers")?Ye.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ye.ZP.error(Ot.errorFields[0].errors[0]),fe.scrollToField(Ot.errorFields[0].name,{behavior:"smooth",block:"center"});return}Me(!0);let xa="";const Ge=fe.getFieldsValue();Ht.current?xa=yield(0,y.ZP)(`/api/problems/${Ht.current}.json`,{method:"put",body:ht(Ke({},Ge),{hack:ht(Ke({},Ge==null?void 0:Ge.hack),{sub_discipline_id:(On=(en=Ge==null?void 0:Ge.hack)==null?void 0:en.sub_discipline_id)==null?void 0:On[1],difficult:Ge.difficulty,item_banks_group_id:Ge.item_banks_group_id}),hack_codes:ht(Ke({},Ge.hack_codes),{code:a.Base64.encode(Ge.hack_codes.code)}),update_hack_sets:[Ke({},Ge.hack_sets)],is_blank:!0})}):(xa=yield(0,y.ZP)("/api/problems.json",{method:"post",body:ht(Ke({},Ge),{hack:ht(Ke({},Ge==null?void 0:Ge.hack),{sub_discipline_id:(yr=(fa=Ge==null?void 0:Ge.hack)==null?void 0:fa.sub_discipline_id)==null?void 0:yr[1],difficult:Ge.difficulty,item_banks_group_id:Ge.item_banks_group_id}),hack_codes:ht(Ke({},Ge.hack_codes),{code:a.Base64.encode(Ge.hack_codes.code)}),hack_sets:[Ke({},Ge.hack_sets)],is_blank:!0})}),Ht.current=xa==null?void 0:xa.identifier,sessionStorage.projectFill=xa==null?void 0:xa.identifier)}const la=yield(0,y.ZP)(`/api/problems/${Ht.current}/start.json`,{method:"get"});if((la==null?void 0:la.status)===0){Bt.current=la==null?void 0:la.identifier,Mt.current=!0,Me(!1),Ln();return}Me(!1)}),Da=Na=>{const{status:ar,error_msg:Ua,execute_time:fa,output:yr,input:en,expected_output:On}=Na;let la=null;switch(ar){case ue.h.OK:la=oe.createElement(oe.Fragment,null,oe.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",fa/1e3,"\u79D2"),oe.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ue.h.NOMATCH:la=oe.createElement(oe.Fragment,null,oe.createElement("div",null,"\u8F93\u5165\uFF1A"),oe.createElement("pre",{style:{fontFamily:"initial"}},en),oe.createElement("div",null,"\u8F93\u51FA\uFF1A"),oe.createElement("pre",{style:{fontFamily:"initial"}},yr&&a.Base64.decode(yr)),oe.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),oe.createElement("pre",{style:{fontFamily:"initial"}},On&&a.Base64.decode(On)));break;case ue.h.EXECUTEFAILURE:la=oe.createElement(oe.Fragment,null,oe.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",oe.createElement("pre",null,en)),oe.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),oe.createElement("pre",{className:"error"},a.Base64.decode(Ua)));break;case ue.h.COMPILEFAILURE:la=oe.createElement(oe.Fragment,null,oe.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",oe.createElement("pre",null,en)),oe.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),oe.createElement("pre",{className:"error"},a.Base64.decode(Ua)));break;case ue.h.PODFAILURE:la=oe.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ue.h.TIMEOUT:la=oe.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return oe.createElement(oe.Fragment,null," ",la," ")};return oe.createElement("div",null,oe.createElement(se.ZP,ht(Ke({loading:at},nt),{onClick:va}),De),oe.createElement(Ne.default,{open:yt,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:Ie,cancelButtonProps:{style:{display:"none"}},onOk:()=>Jn(),onCancel:()=>{Mt.current=!1,Fn(!1)}},oe.createElement("div",{className:x.result},oe.createElement("div",{className:x.left},oe.createElement("div",{className:"mb20"},oe.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Oe&&oe.createElement(re.CopyToClipboard,{text:sn,onCopy:()=>Ye.ZP.success("\u590D\u5236\u6210\u529F")},oe.createElement("span",{style:{float:"right"},className:"current c-light-primary"},oe.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),oe.createElement(ne.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:sn,onChange:Na=>yn(Na)})),oe.createElement("div",{className:x.right},oe.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),oe.createElement("div",{className:x.box},oe.createElement("div",{className:x.li},oe.createElement(de.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:Te,onChange:Na=>xt(Na.target.value),bordered:!1,style:{height:180}}))),oe.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),oe.createElement("div",{className:x.box},oe.createElement(E.Z,{spinning:Ie,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},oe.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},Da(an))))))))},gt=ee(87169),mt=ee(59301),un=Object.defineProperty,Nt=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,nn=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,on=(nt,De,fe)=>De in nt?un(nt,De,{enumerable:!0,configurable:!0,writable:!0,value:fe}):nt[De]=fe,Vn=(nt,De)=>{for(var fe in De||(De={}))Ue.call(De,fe)&&on(nt,fe,De[fe]);if(nn)for(var fe of nn(De))dt.call(De,fe)&&on(nt,fe,De[fe]);return nt},Zt=(nt,De)=>Nt(nt,rn(De)),wn=(nt,De)=>{var fe={};for(var Je in nt)Ue.call(nt,Je)&&De.indexOf(Je)<0&&(fe[Je]=nt[Je]);if(nt!=null&&nn)for(var Je of nn(nt))De.indexOf(Je)<0&&dt.call(nt,Je)&&(fe[Je]=nt[Je]);return fe};const{TextArea:ze}=de.default,ct=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],kt=({value:nt,onChange:De})=>mt.createElement(Switch,{checked:nt,onChange:fe=>{De(fe)}}),ft="@\u2581@",At="@\u2581\u2581@",it=({questionTitlePlaceholder:nt,form:De,scoreByBlank:fe=!1,hackidentifier:Je,answerKey:It})=>{const[Oe,Ie]=(0,b.useState)(!1),[St,at]=(0,b.useState)(!1),yt=(0,je.useParams)().type==="edit",Fn=(Bt,Mt)=>{const dn=Mt.line;let gn=0;for(let Jn=0;Jn<dn;Jn++)gn+=Bt.getLine(Jn).split(ft).length-1;for(let Jn=0;Jn<dn;Jn++)gn+=Bt.getLine(Jn).split(At).length-1;const Ln=Bt.getLine(dn).substring(0,Mt.ch);return gn+=Ln.split(ft).length-1,gn+=Ln.split(At).length-1,gn},an=(Bt,Mt,dn,gn)=>{const Ln=Bt.getRange(Mt.from,Mt.to);let Jn=0;if(Mt.text.forEach(va=>{Jn+=va.split(ft).length-1}),Mt.text.forEach(va=>{Jn+=va.split(At).length-1}),Mt.origin!=="setValue"){if(Ln&&(Ln.indexOf(ft)!==-1||Ln.indexOf(At)!==-1)){const va=Ln.split(ft).length-1+Ln.split(At).length-1,Da=Fn(Bt,Mt.from);if(console.log(`\u5220\u9664${va}\u4E2A\uFF0C \u524D\u9762\u6709${Da}\u4E2A\uFF0C\u65B0\u589E${Jn}\u4E2A`),va>1){const Na=Array.from({length:va},(ar,Ua)=>Da+Ua);gn(Na)}else gn(Da)}else if(Jn>0){const va=Fn(Bt,Mt.from);console.log(`\u65B0\u589E${Jn}\u4E2A\uFF0C\u4E4B\u524D\u6709${va}\u4E2A`),dn(Jn,va)}}},cn=()=>{const Bt=De.getFieldValue(It);De.setFieldsValue({[It]:Bt==null?void 0:Bt.map((Mt,dn)=>Zt(Vn({},Mt),{position:dn+1}))})},sn=(0,b.useRef)(),yn=(Bt,Mt)=>{for(let dn=0;dn<Bt;dn++)sn.current({position:null,answer_text:""},Mt+dn);cn()},Te=(0,b.useRef)(),xt=Bt=>{Te.current(Bt),cn()},Ht=Be.default.useWatch(It,De);return mt.createElement("div",{className:Xe.Z.wrap},mt.createElement(Be.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},mt.createElement(Ve.h,{scrollId:"name",watch:!0,height:140})),mt.createElement("div",{className:Xe.Z.questionTitleEditorWrap},mt.createElement(Be.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},mt.createElement(Ve.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(Bt,Mt)=>{const dn=De.getFieldValue(It);console.log("--preAnswerData",dn,Mt),De.setFieldsValue({[It]:dn==null?void 0:dn.map((gn,Ln)=>{var Jn;return Zt(Vn({},gn),{position:Ln+1,multi_line:(Jn=Mt==null?void 0:Mt[Ln])==null?void 0:Jn.multiLine})})})},placeholder:nt,onCMBeforeChange:(Bt,Mt)=>{an(Bt,Mt,yn,xt)}}))),mt.createElement(Be.default.List,{name:It,rules:[{validator(Bt,Mt){if(!(Mt!=null&&Mt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const dn of Mt){const{answer_text:gn}=dn||{};if((gn==null?void 0:gn.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Bt,{add:Mt,remove:dn},{errors:gn})=>(sn.current=Mt,Te.current=dn,mt.createElement(mt.Fragment,null,mt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},mt.createElement(Be.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),mt.createElement("div",{onClick:()=>{Ne.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:mt.createElement("div",null,mt.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",mt.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),mt.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"}},mt.createElement(gt.Z,{style:{marginRight:3,color:"#3061D0"}}),mt.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),Bt.map((Ln,Jn)=>{var va=Ln,{key:Da,name:Na}=va,ar=wn(va,["key","name"]),Ua,fa;return mt.createElement(Ze.Z,{className:"mb20",key:Da,align:"middle",wrap:!1},mt.createElement(ke.Z,{flex:"0 0 auto",className:`${Xe.Z.blankIndex}`},"\u586B\u7A7A\u9879",Jn+1),mt.createElement(ke.Z,{flex:1},mt.createElement(Ze.Z,{align:"top",justify:"space-between",wrap:!1},mt.createElement(ke.Z,null,mt.createElement(Be.default.Item,Zt(Vn({},ar),{name:[Na,"answer_text"],noStyle:!0}),(Ua=Ht==null?void 0:Ht[Na])!=null&&Ua.multi_line||(fa=Ht==null?void 0:Ht[Na])!=null&&fa.multiLine?mt.createElement(ze,{spellCheck:!1,style:{marginLeft:10,width:550}}):mt.createElement(de.default,{style:{marginLeft:10,width:550},className:Xe.Z.blankInput,size:"large",maxLength:1e3,onBlur:yr=>{}}))),fe&&mt.createElement(ke.Z,{flex:"224px"},mt.createElement(Be.default.Item,Zt(Vn({},ar),{name:[Na,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),mt.createElement(le.Z,{size:"large",className:Xe.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),mt.createElement("div",{onClick:()=>Ie(!0)},mt.createElement(Be.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},mt.createElement(Ve.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Oe}))),mt.createElement(Be.default.Item,{label:"\u7F16\u7A0B\u8BED\u8A00",style:{marginTop:30},name:["hack_codes","language"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00"}]},mt.createElement(st.default,{size:"large"},ct.map(Bt=>mt.createElement(st.default.Option,{key:Bt.title,value:Bt.key}," ",Bt.title)))),mt.createElement(Be.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},mt.createElement(Be.default.Item,{name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}],noStyle:!0},mt.createElement(le.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),mt.createElement("span",{className:"ml10 font14"},"\u79D2")),mt.createElement(Be.default.Item,{label:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406",style:{marginTop:30},name:["hack","submit_rule"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},mt.createElement(et.ZP.Group,{style:{marginTop:-10}},mt.createElement(et.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),mt.createElement(et.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),mt.createElement(et.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),mt.createElement(Be.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),mt.createElement("div",{style:{background:"#F6F7F9",padding:15}},mt.createElement(Be.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},mt.createElement(ze,{rows:4})),mt.createElement(Be.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},mt.createElement(ze,{rows:4}))),mt.createElement(ut,{form:De,answerKey:It,hackIdentifier:Je,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:mt.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},81727:function(Qt,Gt,ee){"use strict";ee.d(Gt,{u:function(){return oe}});var b=ee(59301),de=ee(95237),Be=ee(43604),Ne=ee(6848),Ze=ee(78241),ke=ee(8423),le=ee(32134),st=ee(12893),et=ee(31457),Ve=ee(59301),je=Object.defineProperty,Xe=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(ve,be,We)=>be in ve?je(ve,be,{enumerable:!0,configurable:!0,writable:!0,value:We}):ve[be]=We,y=(ve,be)=>{for(var We in be||(be={}))E.call(be,We)&&x(ve,We,be[We]);if(se)for(var We of se(be))a.call(be,We)&&x(ve,We,be[We]);return ve},z=(ve,be)=>Xe(ve,Ye(be)),ne=(ve,be)=>{var We={};for(var Ae in ve)E.call(ve,Ae)&&be.indexOf(Ae)<0&&(We[Ae]=ve[Ae]);if(ve!=null&&se)for(var Ae of se(ve))be.indexOf(Ae)<0&&a.call(ve,Ae)&&(We[Ae]=ve[Ae]);return We};const re=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ue=({value:ve,onChange:be,choiceTextKey:We,answerKey:Ae,index:He,isEdit:he,setInputActive:qe,form:Ke,choiceOptionsPath:ht,allowChangeMode:Le,showAddIcon:rt,addItem:ut,deleteItem:gt})=>{console.log(ve,"value");const mt=(ve==null?void 0:ve[Ae])===1,un=()=>{const rn=Ke.getFieldValue(ht);Ke.setFieldValue(ht,rn.map(nn=>z(y({},nn),{[Ae]:0})))},Nt=()=>{mt?be(z(y({},ve),{[Ae]:0})):(Le||un(),be(z(y({},ve),{[Ae]:1})))};return Ve.createElement(de.Z,{className:ke.Z.choiceWrap,align:"middle",wrap:!1},Ve.createElement(Be.Z,{onClick:Nt,className:`${ke.Z.choiceIndex} ${mt?ke.Z.activeAnswer:""}`},re[He]),Ve.createElement(Be.Z,{flex:1,className:`${ke.Z.editorWrap} ml15`,onClick:qe},Ve.createElement(et.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:he,value:ve==null?void 0:ve[We],onChange:rn=>{be(z(y({},ve),{[We]:rn}))}})),Ve.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},Ve.createElement("div",{onClick:Nt,className:`${ke.Z.setAnswerBtn} ${mt?ke.Z.activeAnswer:""}`},mt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Ve.createElement(Be.Z,{className:ke.Z.actionWrapper},Ve.createElement(Ne.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Ve.createElement(le.Z,{className:ke.Z.addIcon,onClick:ut,style:{visibility:rt?"visible":"hidden"}})),Ve.createElement(Ne.Z,{title:"\u5220\u9664"},Ve.createElement(st.Z,{className:ke.Z.deleteIcon,onClick:gt,style:{visibility:He>1?"visible":"hidden"}}))))},oe=({questionTitlePlaceholder:ve,titleKey:be,choiceKey:We,analysisKey:Ae,choiceTextKey:He,answerKey:he,choiceOptionsPath:qe,allowChangeMode:Ke=!0,form:ht,showAnalysis:Le=!0})=>{const[rt,ut]=(0,b.useState)(),[gt,mt]=(0,b.useState)(!1);return Ve.createElement("div",{className:ke.Z.wrap},Ve.createElement("div",{className:ke.Z.questionTitleEditorWrap},Ve.createElement(Ze.default.Item,{label:"\u9898\u5E72",name:be,labelCol:{span:24},rules:[{required:!0}]},Ve.createElement(et.h,{scrollId:Array.isArray(be)?be.join("_"):`${be}`,watch:!0,height:140,placeholder:ve}))),Ve.createElement(Ze.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Ve.createElement(Ze.default.List,{name:We,rules:[{validator(un,Nt){const rn=Nt.some(Ue=>Ue[he]===1),nn=Nt.findIndex(Ue=>{var dt;return((dt=Ue[He])==null?void 0:dt.length)<=0});return nn!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[nn]}\u9009\u9879\u7684\u5185\u5BB9`)):rn?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(un,{add:Nt,remove:rn})=>Ve.createElement("div",{id:Array.isArray(qe)?qe.join("_"):`${qe}`},un.map((nn,Ue)=>{var dt=nn,{key:on,name:Vn}=dt,Zt=ne(dt,["key","name"]);const wn=rt===on,ze=()=>{ut(on)},ct=Ue<7&&Ue===un.length-1,kt=()=>Nt({[He]:"",[he]:0}),ft=()=>rn(Vn);return Ve.createElement(Ze.default.Item,z(y({},Zt),{key:on,name:Vn,className:ke.Z.choiceListWrap,rules:[{validator(At,it){return it!=null&&it.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[Ue]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Ve.createElement(ue,{choiceTextKey:He,answerKey:he,index:Ue,isEdit:wn,setInputActive:ze,form:ht,choiceOptionsPath:qe,allowChangeMode:Ke,showAddIcon:ct,addItem:kt,deleteItem:ft}))}),un.length<8&&Ve.createElement("div",{className:`${ke.Z.addBtn} mb30`,onClick:()=>Nt({[He]:"",[he]:0})},"\u6DFB\u52A0\u9009\u9879"))),Le&&Ve.createElement("div",{onClick:()=>mt(!0)},Ve.createElement(Ze.default.Item,{name:Ae,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ve.createElement(et.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:gt}))))}},92046:function(Qt,Gt,ee){"use strict";ee.d(Gt,{u:function(){return Ke}});var b=ee(59301),de=ee(43418),Be=ee(95237),Ne=ee(43604),Ze=ee(92832),ke=ee(6848),le=ee(78673),st=ee(78241),et=ee(5112),Ve=ee(5871),je=ee(31457),Xe=ee(12893),Ye=ee(61485),se=ee(8423),E=ee(19105),a=ee(59301),x=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,oe=(ht,Le,rt)=>Le in ht?x(ht,Le,{enumerable:!0,configurable:!0,writable:!0,value:rt}):ht[Le]=rt,ve=(ht,Le)=>{for(var rt in Le||(Le={}))re.call(Le,rt)&&oe(ht,rt,Le[rt]);if(ne)for(var rt of ne(Le))ue.call(Le,rt)&&oe(ht,rt,Le[rt]);return ht},be=(ht,Le)=>y(ht,z(Le)),We=(ht,Le)=>{var rt={};for(var ut in ht)re.call(ht,ut)&&Le.indexOf(ut)<0&&(rt[ut]=ht[ut]);if(ht!=null&&ne)for(var ut of ne(ht))Le.indexOf(ut)<0&&ue.call(ht,ut)&&(rt[ut]=ht[ut]);return rt};const Ae=({value:ht,onChange:Le})=>{const rt=gt=>{de.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:se.Z.modal,onOk:()=>{const mt=[...ht];mt.splice(gt,1),Le(mt)}})},ut=()=>{const gt=[...ht];gt.push(""),Le(gt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Ne.Z,{flex:1},ht==null?void 0:ht.map((gt,mt)=>a.createElement(Be.Z,{key:`${gt}_${mt}`,className:"mb20"},a.createElement(Ze.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:gt,autoSize:{maxRows:3},maxLength:1e3,onBlur:un=>{const Nt=[...ht],rn=un.target.value.trim();Nt[mt]=rn,Le(Nt)}}),a.createElement(ke.Z,{title:"\u5220\u9664"},a.createElement(Xe.Z,{className:se.Z.deleteIcon,style:{marginLeft:15,visibility:mt>0?"visible":"hidden"},onClick:()=>rt(mt)}))))),a.createElement(Ne.Z,null,a.createElement("div",{className:`${se.Z.addBtn}`,onClick:()=>{ut()}},"\u65B0\u589E\u7B54\u6848")))},He=({value:ht,onChange:Le})=>{const rt=gt=>{de.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:se.Z.modal,onOk:()=>{const mt=[...ht];mt.splice(gt,1),Le(mt)}})},ut=()=>{const gt=[...ht];gt.push(""),Le(gt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Ne.Z,{flex:1},ht==null?void 0:ht.map((gt,mt)=>a.createElement(Be.Z,{key:`${gt}_${mt}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:gt,style:{flex:1},onChange:un=>{const Nt=[...ht];Nt[mt]=un,Le(Nt)}}),a.createElement(ke.Z,{title:"\u5220\u9664"},a.createElement(Xe.Z,{className:se.Z.deleteIcon,style:{marginLeft:15,visibility:mt>0?"visible":"hidden"},onClick:()=>rt(mt)}))))),a.createElement(Ne.Z,null,a.createElement("div",{className:`${se.Z.addBtn}`,onClick:()=>{ut()}},"\u65B0\u589E\u7B54\u6848")))},he=({value:ht=!0,onChange:Le})=>a.createElement(le.Z,{checked:!ht,onChange:rt=>{Le(!rt)}}),qe="\u2581",Ke=({questionTitlePlaceholder:ht,form:Le,scoreByBlank:rt=!1,answerKey:ut})=>{const[gt,mt]=(0,b.useState)(!1),un=(Zt,wn)=>{const ze=wn.line;let ct=0;for(let ft=0;ft<ze;ft++)ct+=Zt.getLine(ft).split(qe).length-1;const kt=Zt.getLine(ze).substring(0,wn.ch);return ct+=kt.split(qe).length-1,ct},Nt=(Zt,wn,ze,ct)=>{const kt=Zt.getRange(wn.from,wn.to);let ft=0;if(wn.text.forEach(At=>{ft+=At.split(qe).length-1}),wn.origin!=="setValue"){if(kt&&kt.indexOf(qe)!==-1){const At=kt.split(qe).length-1,it=un(Zt,wn.from);if(console.log(`\u5220\u9664${At}\u4E2A\uFF0C \u524D\u9762\u6709${it}\u4E2A\uFF0C\u65B0\u589E${ft}\u4E2A`),At>1){const nt=Array.from({length:At},(De,fe)=>it+fe);ct(nt)}else ct(it)}else if(ft>0){const At=un(Zt,wn.from);console.log(`\u65B0\u589E${ft}\u4E2A\uFF0C\u4E4B\u524D\u6709${At}\u4E2A`),ze(ft,At)}}},rn=()=>{const Zt=Le.getFieldValue(ut);Le.setFieldsValue({[ut]:Zt.map((wn,ze)=>be(ve({},wn),{position:ze+1}))})},nn=(0,b.useRef)(),Ue=(Zt,wn)=>{for(let ze=0;ze<Zt;ze++)nn.current({position:null,answer_text:[""],model:1},wn+ze);rn()},dt=(0,b.useRef)(),on=Zt=>{dt.current(Zt),rn()},Vn=st.default.useWatch(ut,Le);return a.createElement("div",{className:se.Z.wrap},a.createElement("div",{className:se.Z.questionTitleEditorWrap},a.createElement(st.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(je.h,{scrollId:"name",watch:!0,height:140,placeholder:ht,showNullButton:!0,onCMBeforeChange:(Zt,wn)=>{Nt(Zt,wn,Ue,on)}}))),a.createElement(st.default.List,{name:ut,rules:[{validator(Zt,wn){if(!(wn!=null&&wn.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const ze of wn){const{answer_text:ct}=ze||{};if(ct!=null&&ct.some(kt=>(kt==null?void 0:kt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Zt,{add:wn,remove:ze},{errors:ct})=>(nn.current=wn,dt.current=ze,a.createElement(a.Fragment,null,a.createElement(st.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Zt!=null&&Zt.length)&&a.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Zt.map((kt,ft)=>{var At=kt,{key:it,name:nt}=At,De=We(At,["key","name"]),fe,Je;return a.createElement("div",{style:{marginBottom:10},key:it},a.createElement(Be.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Ne.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${se.Z.blankIndex}`},"\u586B\u7A7A\u9879",ft+1),a.createElement(st.default.Item,be(ve({},De),{name:[nt,"model"],noStyle:!0}),a.createElement(et.ZP.Group,{onChange:()=>{const It=Le.getFieldValue(ut);Le.setFieldsValue({[ut]:It.map((Oe,Ie)=>be(ve({},Oe),{answer_text:nt===Ie?[""]:Oe.answer_text}))})}},a.createElement(et.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(ke.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Ye.Z,null))),a.createElement(et.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(ke.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Ye.Z,null)))))),a.createElement(Be.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Ne.Z,{flex:1},a.createElement(Be.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Ne.Z,{flex:1},a.createElement(st.default.Item,be(ve({},De),{name:[nt,"answer_text"],noStyle:!0}),((Je=(fe=Le.getFieldValue(ut))==null?void 0:fe[nt])==null?void 0:Je.model)===1?a.createElement(Ae,null):a.createElement(He,null))),rt&&a.createElement(Ne.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(st.default.Item,be(ve({},De),{name:[nt,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:se.Z.blankInputNumberWrapper}),a.createElement(Ve.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(st.default.Item,be(ve({},De),{name:[nt,"position"],noStyle:!0}),a.createElement(Ze.default,{type:"hidden"})))))})))),a.createElement(Be.Z,{align:"middle"},a.createElement(st.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(le.Z,null)),a.createElement(Ne.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(Be.Z,{align:"middle"},a.createElement(st.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(le.Z,null)),a.createElement(Ne.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Vn==null?void 0:Vn.length)>1&&a.createElement(Be.Z,{align:"middle",className:(Vn==null?void 0:Vn.length)>1?"mb30":`${se.Z.hide}`},a.createElement(st.default.Item,{name:"is_ordered"},a.createElement(he,null)),a.createElement(Ne.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),a.createElement("div",{onClick:()=>mt(!0)},a.createElement(st.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(je.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:gt}))))}},14289:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return ne}});var b=ee(59301),de=ee(95237),Be=ee(43604),Ne=ee(78241),Ze=ee(8423),ke=ee(31457),le=ee(59301),st=Object.defineProperty,et=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,se=(re,ue,oe)=>ue in re?st(re,ue,{enumerable:!0,configurable:!0,writable:!0,value:oe}):re[ue]=oe,E=(re,ue)=>{for(var oe in ue||(ue={}))Xe.call(ue,oe)&&se(re,oe,ue[oe]);if(je)for(var oe of je(ue))Ye.call(ue,oe)&&se(re,oe,ue[oe]);return re},a=(re,ue)=>et(re,Ve(ue)),x=(re,ue)=>{var oe={};for(var ve in re)Xe.call(re,ve)&&ue.indexOf(ve)<0&&(oe[ve]=re[ve]);if(re!=null&&je)for(var ve of je(re))ue.indexOf(ve)<0&&Ye.call(re,ve)&&(oe[ve]=re[ve]);return oe};const y={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:re,onChange:ue,form:oe})=>{const ve=(re==null?void 0:re.is_answer)===1,be=re==null?void 0:re.choice_text,We=()=>{const Ae=oe.getFieldsValue().choices.map(He=>({choice_text:He.choice_text,is_answer:0}));oe.setFieldsValue({choices:Ae}),ue(a(E({},re),{is_answer:1}))};return le.createElement(de.Z,{className:Ze.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},le.createElement(Be.Z,{onClick:We,className:`${Ze.Z.choiceIndex} ${Ze.Z.judgementIndex} ${ve?Ze.Z.activeAnswer:""}`},y[be]),le.createElement(Be.Z,{flex:1,className:`${Ze.Z.editorWrap} ml15`},le.createElement("div",{className:`${Ze.Z.inputBorder} ${Ze.Z.placeholder} ${ve?Ze.Z.activeJudgementAnswer:""}`},be)),le.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},le.createElement("div",{onClick:We,className:`${Ze.Z.setAnswerBtn} ${ve?Ze.Z.activeAnswer:""}`},ve?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},ne=({questionTitlePlaceholder:re,choiceKey:ue,form:oe})=>{const[ve,be]=(0,b.useState)(!1);return le.createElement("div",{className:Ze.Z.wrap},le.createElement("div",{className:Ze.Z.questionTitleEditorWrap},le.createElement(Ne.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},le.createElement(ke.h,{scrollId:"name",watch:!0,height:140,placeholder:re}))),le.createElement(Ne.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},le.createElement(Ne.default.List,{name:"choices",rules:[{validator(We,Ae){return Ae.some(he=>(he==null?void 0:he.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},We=>le.createElement("div",{id:"choices"},We.map(Ae=>{var He=Ae,{key:he,name:qe}=He,Ke=x(He,["key","name"]);return le.createElement(Ne.default.Item,a(E({},Ke),{key:he,name:qe,noStyle:!0}),le.createElement(z,{form:oe}))})))),le.createElement("div",{onClick:()=>be(!0)},le.createElement(Ne.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},le.createElement(ke.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ve}))))}},31457:function(Qt,Gt,ee){"use strict";ee.d(Gt,{h:function(){return E},x:function(){return a}});var b=ee(39793),de=ee(8423),Be=ee(91842),Ne=ee(59301),Ze=Object.defineProperty,ke=Object.defineProperties,le=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,je=(x,y,z)=>y in x?Ze(x,y,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[y]=z,Xe=(x,y)=>{for(var z in y||(y={}))et.call(y,z)&&je(x,z,y[z]);if(st)for(var z of st(y))Ve.call(y,z)&&je(x,z,y[z]);return x},Ye=(x,y)=>ke(x,le(y)),se=(x,y)=>{var z={};for(var ne in x)et.call(x,ne)&&y.indexOf(ne)<0&&(z[ne]=x[ne]);if(x!=null&&st)for(var ne of st(x))y.indexOf(ne)<0&&Ve.call(x,ne)&&(z[ne]=x[ne]);return z};const E=x=>{var y=x,{value:z,onChange:ne,scrollId:re}=y,ue=se(y,["value","onChange","scrollId"]);return Ne.createElement("div",{id:re||""},Ne.createElement(b.Z,Ye(Xe({},ue),{defaultValue:z,onChange:(oe,ve)=>{ve!=null&&ve.length?ne(oe,ve):ne(oe)}})))},a=({value:x,onChange:y,placeholder:z,height:ne=140,isEdit:re,miniToolbar:ue,watch:oe=!0})=>re?Ne.createElement(b.Z,{watch:oe,isFocus:!0,height:ne||void 0,placeholder:z,defaultValue:x,onChange:y,miniToolbar:ue}):Ne.createElement("div",{style:{cursor:"pointer"}},x?Ne.createElement(Be.Z,{className:de.Z.inputBorder,value:x}):Ne.createElement("div",{className:`${de.Z.inputBorder} ${de.Z.placeholder} inputBorderError`},z))},44272:function(Qt,Gt,ee){"use strict";ee.d(Gt,{W:function(){return He}});var b=ee(59301),de=ee(8591),Be=ee(12563),Ne=ee(78241),Ze=ee(78673),ke=ee(95237),le=ee(43604),st=ee(6848),et=ee(92832),Ve=ee(5871),je=ee(8423),Xe=ee(31457),Ye=ee(39793),se=ee(61485),E=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,re=(he,qe,Ke)=>qe in he?E(he,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):he[qe]=Ke,ue=(he,qe)=>{for(var Ke in qe||(qe={}))z.call(qe,Ke)&&re(he,Ke,qe[Ke]);if(y)for(var Ke of y(qe))ne.call(qe,Ke)&&re(he,Ke,qe[Ke]);return he},oe=(he,qe)=>a(he,x(qe)),ve=(he,qe)=>{var Ke={};for(var ht in he)z.call(he,ht)&&qe.indexOf(ht)<0&&(Ke[ht]=he[ht]);if(he!=null&&y)for(var ht of y(he))qe.indexOf(ht)<0&&ne.call(he,ht)&&(Ke[ht]=he[ht]);return Ke};const be=he=>{var qe=he,{value:Ke,onChange:ht}=qe,Le=ve(qe,["value","onChange"]);const rt=ut=>{ht([ut])};return b.createElement(Ye.Z,oe(ue({},Le),{defaultValue:Ke==null?void 0:Ke[0],onChange:rt}))},We=he=>{if(!he)return!1;if(/^s*$/.test(he)||he.trim()===""){de.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let qe=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return he==="|"?(de.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ae=({value:he=[],onClose:qe})=>b.createElement(Be.default,{closable:!0,onClose:qe,className:je.Z.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},he.join(" \u6216 "))),He=({questionTitlePlaceholder:he,form:qe,showKeywords:Ke,isMustKeyWords:ht=Ke})=>{const[Le,rt]=(0,b.useState)(!1),[ut,gt]=(0,b.useState)(""),mt=Ne.default.useWatch("use_keywords",qe),un=Ne.default.useWatch("question_score",qe);return b.createElement("div",{className:je.Z.wrap},b.createElement("div",{className:je.Z.questionTitleEditorWrap},b.createElement(Ne.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},b.createElement(Xe.h,{scrollId:"name",watch:!0,height:140,placeholder:he}))),b.createElement(Ne.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},b.createElement(be,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Ke&&!ht&&b.createElement(Ne.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},b.createElement(Ze.Z,{defaultChecked:!0})),Ke&&ht&&b.createElement(ke.Z,{align:"middle",className:"mb30"},b.createElement(Ne.default.Item,{name:"use_keywords",valuePropName:"checked"},b.createElement(Ze.Z,null)),b.createElement(le.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(le.Z,null,b.createElement(st.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},b.createElement(se.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(mt||!ht)&&b.createElement(Ne.default.List,{name:"keywords",rules:[{validator(Nt,rn){return ht?rn!=null&&rn.length?(rn==null?void 0:rn.reduce((Ue,dt)=>Ue+dt.score,0))>parseFloat(un)?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()}}]},(Nt,{add:rn,remove:nn})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${je.Z.title} mb10`},ht?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(ke.Z,{align:"middle",className:"font14 mb30"},b.createElement(le.Z,{flex:1},b.createElement(et.default,{value:ut,onChange:Ue=>{gt(Ue.target.value)},maxLength:50,allowClear:!0,onPressEnter:Ue=>{var dt,on,Vn,Zt;const wn=`${(dt=Ue.target)==null?void 0:dt.value}`,ze=(Vn=(on=wn==null?void 0:wn.split("|"))==null?void 0:on.filter(ft=>!!ft))==null?void 0:Vn.map(ft=>ft==null?void 0:ft.trim()),ct=qe.getFieldValue("keywords"),kt=((Zt=ct==null?void 0:ct.map(ft=>ft==null?void 0:ft.keyword))==null?void 0:Zt.flat())||[];for(const ft of ze)if(kt.includes(ft)){de.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}We(wn)&&(rn({keyword:ze,score:1}),gt(""))},className:je.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),b.createElement(le.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Nt.map(Ue=>{var dt=Ue,{key:on,name:Vn}=dt,Zt=ve(dt,["key","name"]);return b.createElement(ke.Z,{key:on,className:"mb20",style:{marginRight:148}},b.createElement(le.Z,{flex:1},b.createElement(ke.Z,{align:"middle",justify:"space-between"},b.createElement(Ne.default.Item,oe(ue({},Zt),{name:[Vn,"keyword"]}),b.createElement(Ae,{onClose:()=>nn(Vn)})),ht&&b.createElement(Ne.default.Item,oe(ue({},Zt),{name:[Vn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:je.Z.blankInputNumberWrapper}),b.createElement(Ve.Z,{className:je.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>rt(!0)},b.createElement(Ne.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Xe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Le}))))}},74716:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ze}});var b={text:"text___bQulM",sup:"sup___rX_Y3"},de=ee(78241),Be=ee(59301),Ze=({text:ke,name:le="question_score"})=>{const st=({value:et})=>Be.createElement("div",{className:b.text},Be.createElement("span",{className:b.sup},"*"),Be.createElement("span",{className:"mr10"},"\u5206\u503C"),Be.createElement("span",null,et||"--"),Be.createElement("span",{className:"c-grey-999"},ke));return Be.createElement(de.default.Item,{noStyle:!0,name:le},Be.createElement(st,null))}},87444:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return We},P:function(){return oe}});var b=ee(59301),de=ee(78241),Be=ee(43418),Ne=ee(5112),Ze=ee(92832),ke=ee(1710),le={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},st=ee(75736),et=Object.defineProperty,Ve=Object.defineProperties,je=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,E=(Ae,He,he)=>He in Ae?et(Ae,He,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ae[He]=he,a=(Ae,He)=>{for(var he in He||(He={}))Ye.call(He,he)&&E(Ae,he,He[he]);if(Xe)for(var he of Xe(He))se.call(He,he)&&E(Ae,he,He[he]);return Ae},x=(Ae,He)=>Ve(Ae,je(He)),y=(Ae,He)=>{var he={};for(var qe in Ae)Ye.call(Ae,qe)&&He.indexOf(qe)<0&&(he[qe]=Ae[qe]);if(Ae!=null&&Xe)for(var qe of Xe(Ae))He.indexOf(qe)<0&&se.call(Ae,qe)&&(he[qe]=Ae[qe]);return he},z=(Ae,He,he)=>new Promise((qe,Ke)=>{var ht=ut=>{try{rt(he.next(ut))}catch(gt){Ke(gt)}},Le=ut=>{try{rt(he.throw(ut))}catch(gt){Ke(gt)}},rt=ut=>ut.done?qe(ut.value):Promise.resolve(ut.value).then(ht,Le);rt((he=he.apply(Ae,He)).next())});const ne=({studentNames:Ae,total:He})=>{const he=["","\u4E00","\u4E24","\u4E09"];return He>3?b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:le.orangeColor},Ae==null?void 0:Ae.join("\u3001")),"\u7B49",b.createElement("span",{className:le.orangeColor},He),"\u540D\u5B66\u751F"):b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:le.orangeColor},Ae==null?void 0:Ae.join("\u3001")),he[He],"\u540D\u5B66\u751F")},re=({used:Ae,copy:He,canNotCopy:he,studentNames:qe,studentCount:Ke,inPaper:ht,is_random:Le=!1,position:rt=""})=>{const ut=()=>{if(He>0&&he>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},He),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",b.createElement("span",{className:le.orangeColor},he),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(He>0&&he===0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},He),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(He===0&&he>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},he),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},gt=rt||(ht?"\u8BD5\u5377":"\u8BFE\u7A0B");return b.createElement("span",null,b.createElement(ne,{studentNames:qe,total:Ke}),"\u5B66\u4E60\u8FC7",gt,"\u4E2D\u7684",b.createElement("span",{className:le.orangeColor},Ae),"\u4E2A\u9879\u76EE\uFF0C",ut(),"\u3002\u8BF7\u9009\u62E9",Le?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},ue=({onCancel:Ae,onOk:He,visible:he,inPaper:qe,renderData:Ke,type:ht,isMultipleCourse:Le=!1})=>{const[rt]=de.default.useForm(),[ut,gt]=(0,b.useState)(1),[mt,un]=(0,b.useState)(!1),Nt=(0,b.useMemo)(()=>(Ke==null?void 0:Ke.total_num)===1&&(Ke==null?void 0:Ke.can_copy_num)===1,[Ke]),rn=(0,b.useMemo)(()=>{var nn;return(nn=Ke==null?void 0:Ke.course_data_list)==null?void 0:nn.filter(Ue=>Ue.is_show)},[Ke]);return b.createElement(b.Fragment,null,Nt?b.createElement(Be.default,{centered:!0,closable:!0,open:he,destroyOnClose:!0,title:"\u63D0\u793A",className:le.antdModal,width:682,confirmLoading:mt,onCancel:Ae,onOk:()=>z(void 0,null,function*(){var nn;un(!0);let Ue=ut;if(Le){const dt=a({},rt.getFieldsValue());Ue=(nn=Ke==null?void 0:Ke.course_data_list)==null?void 0:nn.map(on=>dt[on.id]!==void 0?x(a({},on),{is_copy:dt[on.id]}):on)}yield He(Ue),un(!1)})},b.createElement("div",{className:le.content,style:{marginBottom:20}},Le?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":b.createElement(b.Fragment,null,b.createElement(ne,{studentNames:Ke==null?void 0:Ke.student_names,total:Ke==null?void 0:Ke.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),Le?b.createElement(de.default,{form:rt,preserve:!1},rn==null?void 0:rn.map(nn=>b.createElement(b.Fragment,{key:nn.id},b.createElement("h3",{className:"ml15 mb5"},nn.name),b.createElement(de.default.Item,{name:nn.id,initialValue:1},b.createElement(Ne.ZP.Group,{className:le.content},b.createElement(Ne.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),b.createElement(Ne.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):b.createElement(Ne.ZP.Group,{value:ut,onChange:nn=>gt(nn.target.value),className:le.content,style:{marginBottom:30}},b.createElement(Ne.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),b.createElement(Ne.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),b.createElement("div",null,b.createElement("div",{className:le.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),b.createElement("div",{className:le.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:`${le.content} ${le.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):b.createElement(Be.default,{centered:!0,closable:!0,destroyOnClose:!0,open:he,confirmLoading:mt,title:"\u63D0\u793A",width:682,onCancel:Ae,onOk:()=>z(void 0,null,function*(){var nn;un(!0);let Ue=0;if(Le){const dt=a({},rt.getFieldsValue());Ue=(nn=Ke==null?void 0:Ke.course_data_list)==null?void 0:nn.map(on=>dt[on.id]!==void 0?x(a({},on),{is_use:dt[on.id]}):on)}yield He(Ue),un(!1)})},b.createElement("div",{className:le.content},b.createElement(ne,{studentNames:Ke==null?void 0:Ke.student_names,total:Ke==null?void 0:Ke.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",Le?b.createElement(de.default,{form:rt,preserve:!1},b.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),rn==null?void 0:rn.map(nn=>b.createElement(b.Fragment,{key:nn.id},b.createElement("h3",{className:"ml15 mb5"},nn.name),b.createElement(de.default.Item,{name:nn.id,initialValue:1},b.createElement(Ne.ZP.Group,{className:le.content},b.createElement(Ne.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),b.createElement(Ne.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):b.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",b.createElement("span",{className:le.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},oe=function(){const[Ae,He]=(0,b.useState)(!1),[he,qe]=(0,b.useState)();return[Ae,()=>He(!1),he,Le=>z(this,null,function*(){var rt;const ut=Le,{isImportMultipleCourse:gt=!1}=ut,mt=y(ut,["isImportMultipleCourse"]);console.log(Le);const un=(Le==null?void 0:Le.result)||(yield(0,st.Tr)(mt));return"status"in un?!1:gt?((rt=un==null?void 0:un.course_data_list)==null?void 0:rt.some(rn=>rn.is_show))?(qe(un),He(!0),!0):un.course_data_list||[]:un.student_count===0?!1:(qe(un),He(!0),!0)})]},ve=Ae=>{const[He]=de.default.useForm(),[he,qe]=(0,b.useState)(!1),{onCancel:Ke,onOk:ht,visible:Le,inPaper:rt=!1,renderData:ut,type:gt,isMultipleCourse:mt=!1,position:un}=Ae;let Nt=(0,b.useMemo)(()=>rt?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:le.tableCell,render(Ue,dt){return b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},Ue)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Ue,dt)=>b.createElement(b.Fragment,null,b.createElement(de.default.Item,{name:[`${gt==="subject"?dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],initialValue:1},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426"))),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(Ze.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:le.tableCell,render(Ue,dt){return b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},Ue)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Ue,dt)=>b.createElement(de.default.Item,{name:[`${gt==="subject"?dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],initialValue:1},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Ue,dt)=>b.createElement(de.default.Item,{name:[`${gt==="subject"?dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],initialValue:1},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426")))}],[rt]),rn=(0,b.useMemo)(()=>rt?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:le.tableCell,align:"center",ellipsis:!0,render:(Ue,dt)=>b.createElement(b.Fragment,null,b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},Ue),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(Ze.default,{type:"hidden"})),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(Ze.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:le.tableCell,ellipsis:!0,align:"center",render:(Ue,dt)=>b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},Ue)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Ue,dt)=>b.createElement(b.Fragment,null,b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],initialValue:0},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426"))),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(Ze.default,{type:"hidden"})))}],[rt]);if(mt){const Ue={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:le.tableCell,render:(dt,on)=>b.createElement("a",{href:`/classrooms/${on.course_id}`},dt)};Nt=[Ue,...Nt],rn=[Ue,...rn]}const nn=(0,b.useMemo)(()=>re({used:ut==null?void 0:ut.repeat_shixun_num,copy:ut==null?void 0:ut.can_copy_num,canNotCopy:ut==null?void 0:ut.no_copy_num,studentNames:ut==null?void 0:ut.student_names,studentCount:ut==null?void 0:ut.student_count,is_random:ut==null?void 0:ut.is_random,inPaper:rt,position:un}),[ut,rt,un]);return b.createElement(Be.default,{title:"\u63D0\u793A",centered:!0,open:Le,confirmLoading:he,onOk:()=>z(void 0,null,function*(){qe(!0);const Ue=He.getFieldsValue(),dt=Object.keys(Ue).map(on=>({id:parseInt(on.split("_")[0]),course_id:parseInt(on.split("_")[1]),is_use:Ue[on].is_use,is_copy:Ue[on].is_copy}));yield ht(dt),qe(!1)}),onCancel:Ke,width:880,okText:"\u786E\u8BA4",className:le.antdModal,destroyOnClose:!0},b.createElement(de.default,{form:He,preserve:!1},b.createElement("div",{className:le.brief},nn),b.createElement("div",{style:{marginBottom:30}},b.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),b.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:le.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(ut==null?void 0:ut.can_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:le.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(ke.default,{columns:Nt,className:le.antdTable,dataSource:ut==null?void 0:ut.can_copy_list,rowKey:gt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(ut==null?void 0:ut.no_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:le.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(ke.default,{columns:rn,className:le.antdTable,dataSource:ut==null?void 0:ut.no_copy_list,rowKey:gt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(ut==null?void 0:ut.no_use_list.length)>0&&(ut==null?void 0:ut.no_use_list.map(Ue=>b.createElement("div",{key:gt==="subject"?Ue.stage_shixun_id:Ue.shixun_course_id||Ue.id},b.createElement(de.default.Item,{name:[`${gt==="subject"?Ue==null?void 0:Ue.stage_shixun_id:Ue.shixun_course_id||Ue.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(Ze.default,{type:"hidden"})),b.createElement(de.default.Item,{name:[`${gt==="subject"?Ue==null?void 0:Ue.stage_shixun_id:Ue.shixun_course_id||Ue.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(Ze.default,{type:"hidden"})))))))};var We=Ae=>{const{modalType:He}=Ae;return He==="multiple"?b.createElement(ve,a({},Ae)):b.createElement(ue,a({},Ae))}},3039:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(59301),de={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Be=ee(43418),Ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",Ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",ke=(et,Ve,je)=>new Promise((Xe,Ye)=>{var se=x=>{try{a(je.next(x))}catch(y){Ye(y)}},E=x=>{try{a(je.throw(x))}catch(y){Ye(y)}},a=x=>x.done?Xe(x.value):Promise.resolve(x.value).then(se,E);a((je=je.apply(et,Ve)).next())}),st=({type:et,resdata:Ve,onok:je,oktext:Xe,okloading:Ye})=>{const[se,E]=(0,b.useState)(!1),{can_copy_list:a,can_copy_num:x,challenge_type:y,course_data_list:z,no_copy_list:ne,no_copy_num:re,no_use_list:ue,no_use_num:oe,repeat_shixun_num:ve,student_count:be,total_num:We,use_num:Ae}=Ve;let He=x>0||et==="exercise";(0,b.useEffect)(()=>{(Ve==null?void 0:Ve.student_count)>0&&E(!0)},[Ve]),console.log("---11",Ye),(0,b.useEffect)(()=>{Ye||E(!1)},[Ye]);const he=()=>{if(et==="exercise"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(et==="exercise"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="shixun"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="shixun"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="subject"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="subject"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:de.orangeColor},be)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:de.orangeColor},Ae)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(et==="shixunpush"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="shixunpush"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},qe=()=>{if(et==="exercise"||et==="subject"||et==="exercisepush"||et==="shixunpush")return b.createElement("div",{style:{marginTop:20}},re>0&&b.createElement("div",null,b.createElement("span",{className:de.flex},b.createElement("img",{src:Ze,style:{width:14}}),b.createElement("span",{className:de.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:de.statusbody},et==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(et==="subject"||et==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",He&&b.createElement("span",{className:de.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),et==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",He&&b.createElement("span",{className:de.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),b.createElement("div",null,ne==null?void 0:ne.map((Ke,ht)=>b.createElement("a",{href:`/shixuns/${Ke.identifier}/challenges`,target:"_blank"},"\u300A",Ke==null?void 0:Ke.name,"\u300B",ht+1!==re&&"\u3001"))))),x>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:de.flex},b.createElement("img",{src:Ne,style:{width:14}}),b.createElement("span",{className:de.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:de.statusbody},et==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(et==="subject"||et==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),et==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),b.createElement("div",null,a==null?void 0:a.map((Ke,ht)=>b.createElement("a",{href:`/shixuns/${Ke.identifier}/challenges`,target:"_blank"},"\u300A",Ke==null?void 0:Ke.name,"\u300B",ht+1!==x&&"\u3001"))))));if(et==="shixun")return b.createElement("div",{style:{marginTop:20}},x>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return b.createElement(Be.default,{open:se,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!He&&"none"}},zIndex:1003,confirmLoading:Ye,okText:He?Xe:"\u6211\u77E5\u9053\u4E86",onOk:()=>ke(void 0,null,function*(){He?yield je([...a,...ue]):E(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},he(),qe()))}},69720:function(Qt,Gt,ee){"use strict";ee.d(Gt,{h:function(){return re}});var b=ee(59301),de=ee(57809),Be=ee(78241),Ne=ee(3113),Ze=ee(89780),ke=ee.n(Ze),le=ee(8336),st=ee(12469),et=Object.defineProperty,Ve=Object.defineProperties,je=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,E=(ue,oe,ve)=>oe in ue?et(ue,oe,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ue[oe]=ve,a=(ue,oe)=>{for(var ve in oe||(oe={}))Ye.call(oe,ve)&&E(ue,ve,oe[ve]);if(Xe)for(var ve of Xe(oe))se.call(oe,ve)&&E(ue,ve,oe[ve]);return ue},x=(ue,oe)=>Ve(ue,je(oe));const y=de.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},ne={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Gt.Z=({callback:ue,onCancel:oe})=>{const[ve,be]=(0,b.useState)("python");function We(He){be(ne[He][1])}function Ae(He){ue(He)}return b.createElement(Be.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ae,style:{width:500}}),b.createElement(Be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(de.default,{getPopupContainer:He=>He.parentNode,onChange:We},Object.keys(ne).map(He=>b.createElement(y,{key:He,value:He},ne[He][0])))),b.createElement(Be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(re,{mode:ve})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ne.ZP,{type:"ghost",onClick:oe},"\u53D6\u6D88")))};function re({value:ue,onChange:oe,mode:ve,options:be={}}){const We=(0,b.useRef)(),[Ae,He]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ae){let he=function(qe){const Ke=qe.getValue();oe&&oe(Ke)};return Ae.on("change",he),()=>{Ae.off("change",he)}}},[Ae,oe]),(0,b.useEffect)(()=>{Ae&&Ae.setOption("mode",ve)},[Ae,ve]),(0,b.useEffect)(()=>{Ae&&(ue!==Ae.getValue()||ue==="")&&setTimeout(()=>{Ae.setValue(ue||"")},300)},[Ae,ue]),(0,b.useEffect)(()=>{if(We.current&&!Ae){const he=ke().fromTextArea(We.current,a({mode:ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},be));He(he)}},[We.current,Ae]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:We}))}},39793:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Bn}});var b=ee(59301),de=ee(89780),Be=ee.n(de),Ne=ee(76374),Ze=ee(8336),ke=ee(6313),le=ee(25717),st=ee(99498),et=ee(25419),Ve=ee(67549),je=ee(91842),Xe=({value:vt="",className:Ft,showTextOnly:pt,showLines:Sn,style:Wn={}})=>{const An=(0,b.useMemo)(()=>"",[vt]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:An}}))},Ye=ee(59301),se=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(vt,Ft,pt)=>Ft in vt?se(vt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:pt}):vt[Ft]=pt,re=(vt,Ft)=>{for(var pt in Ft||(Ft={}))y.call(Ft,pt)&&ne(vt,pt,Ft[pt]);if(x)for(var pt of x(Ft))z.call(Ft,pt)&&ne(vt,pt,Ft[pt]);return vt},ue=(vt,Ft)=>E(vt,a(Ft));let oe=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function ve({onActionCallback:vt,title:Ft,icon:pt,actionName:Sn,className:Wn="",children:An}){function ka(){vt(Sn)}return Ye.createElement("a",{title:Ft,className:Wn,onClick:ka},Ye.createElement("i",{className:`${pt}`}),An)}var be=({watch:vt,showNullButton:Ft,showNullProgramButton:pt,onActionCallback:Sn,fullScreen:Wn,insertTemp:An,hidetoolBar:ka,extraUse:pa})=>{const _n=[...oe,{title:`${vt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${vt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ye.createElement("ul",{className:"markdown-toolbar-container"},!ka&&_n.map((Ea,Pa)=>Ye.createElement("li",{key:Pa},Ea.actionName?Ye.createElement(ve,ue(re({},Ea),{onActionCallback:Sn})):Ye.createElement("span",{className:"v-line"}))),Ft?Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,pt?Ye.createElement(Ye.Fragment,null,Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,An&&Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${An}`,onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),pa&&Ye.createElement("li",null,pa),Ye.createElement("li",{className:"btn-full-screen"},Ye.createElement(ve,{icon:`${Wn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Wn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Sn})))},We=ee(91558),Ae=ee(78241),He=ee(92832),he=ee(3113),qe=Object.defineProperty,Ke=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,gt=(vt,Ft,pt)=>Ft in vt?qe(vt,Ft,{enumerable:!0,configurable:!0,writable:!0,value:pt}):vt[Ft]=pt,mt=(vt,Ft)=>{for(var pt in Ft||(Ft={}))rt.call(Ft,pt)&&gt(vt,pt,Ft[pt]);if(Le)for(var pt of Le(Ft))ut.call(Ft,pt)&&gt(vt,pt,Ft[pt]);return vt},un=(vt,Ft)=>Ke(vt,ht(Ft));const Nt={labelCol:{span:4},wrapperCol:{span:20}};var rn=({callback:vt,onCancel:Ft})=>{function pt(Sn){vt(Sn)}return b.createElement(Ae.default,un(mt({},Nt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:pt,style:{width:500}}),b.createElement(Ae.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(He.default,null)),b.createElement(Ae.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(He.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(he.ZP,{type:"ghost",onClick:Ft},"\u53D6\u6D88")))},nn=ee(69720),Ue=ee(17077),dt=ee(43418),on=ee(95237),Vn=ee(9507),Zt=ee(59301),wn=({callback:vt,onCancel:Ft})=>{const pt=document.createElement("canvas"),Sn=pt.getContext("2d");pt.width=1e3,pt.height=800,Sn.fillStyle="#ffffff",Sn.fillRect(0,0,pt.width,pt.height);const Wn=pt.toDataURL("image/png");return Zt.createElement(dt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Zt.createElement(on.Z,{style:{height:"100vh"}},Zt.createElement(Vn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Wn,visible:!0,title:String(Date.now())},onOk:An=>{vt({src:An.url})},onClose:Ft})))},ze=ee(12378);function ct(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ct,go.CommandHandler),ct.prototype.canAlignSelection=function(){var vt=this.diagram;return!(vt===null||vt.isReadOnly||vt.isModelReadOnly||vt.selection.count<2)},ct.prototype.alignLeft=function(){var vt=this.diagram;vt.startTransaction("aligning left");var Ft=1/0;vt.selection.each(function(pt){pt instanceof go.Link||(Ft=Math.min(pt.position.x,Ft))}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(Ft,pt.position.y))}),vt.commitTransaction("aligning left")},ct.prototype.alignRight=function(){var vt=this.diagram;vt.startTransaction("aligning right");var Ft=-1/0;vt.selection.each(function(pt){if(!(pt instanceof go.Link)){var Sn=pt.actualBounds.x+pt.actualBounds.width;Ft=Math.max(Sn,Ft)}}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(Ft-pt.actualBounds.width,pt.position.y))}),vt.commitTransaction("aligning right")},ct.prototype.alignTop=function(){var vt=this.diagram;vt.startTransaction("alignTop");var Ft=1/0;vt.selection.each(function(pt){pt instanceof go.Link||(Ft=Math.min(pt.position.y,Ft))}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(pt.position.x,Ft))}),vt.commitTransaction("alignTop")},ct.prototype.alignBottom=function(){var vt=this.diagram;vt.startTransaction("aligning bottom");var Ft=-1/0;vt.selection.each(function(pt){if(!(pt instanceof go.Link)){var Sn=pt.actualBounds.y+pt.actualBounds.height;Ft=Math.max(Sn,Ft)}}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(pt.actualBounds.x,Ft-pt.actualBounds.height))}),vt.commitTransaction("aligning bottom")},ct.prototype.alignCenterX=function(){var vt=this.diagram,Ft=vt.selection.first();if(Ft){vt.startTransaction("aligning Center X");var pt=Ft.actualBounds.x+Ft.actualBounds.width/2;vt.selection.each(function(Sn){Sn instanceof go.Link||Sn.move(new go.Point(pt-Sn.actualBounds.width/2,Sn.actualBounds.y))}),vt.commitTransaction("aligning Center X")}},ct.prototype.alignCenterY=function(){var vt=this.diagram,Ft=vt.selection.first();if(Ft){vt.startTransaction("aligning Center Y");var pt=Ft.actualBounds.y+Ft.actualBounds.height/2;vt.selection.each(function(Sn){Sn instanceof go.Link||Sn.move(new go.Point(Sn.actualBounds.x,pt-Sn.actualBounds.height/2))}),vt.commitTransaction("aligning Center Y")}},ct.prototype.alignColumn=function(vt){var Ft=this.diagram;Ft.startTransaction("align Column"),vt===void 0&&(vt=0),vt=parseFloat(vt);var pt=new Array;Ft.selection.each(function(pa){pa instanceof go.Link||pt.push(pa)});for(var Sn=0;Sn<pt.length-1;Sn++){var Wn=pt[Sn],An=Wn.actualBounds.y+Wn.actualBounds.height+vt,ka=pt[Sn+1];ka.move(new go.Point(Wn.actualBounds.x,An))}Ft.commitTransaction("align Column")},ct.prototype.alignRow=function(vt){vt===void 0&&(vt=0),vt=parseFloat(vt);var Ft=this.diagram;Ft.startTransaction("align Row");var pt=new Array;Ft.selection.each(function(pa){pa instanceof go.Link||pt.push(pa)});for(var Sn=0;Sn<pt.length-1;Sn++){var Wn=pt[Sn],An=Wn.actualBounds.x+Wn.actualBounds.width+vt,ka=pt[Sn+1];ka.move(new go.Point(An,Wn.actualBounds.y))}Ft.commitTransaction("align Row")},ct.prototype.canRotate=function(vt){var Ft=this.diagram;return!(Ft===null||Ft.isReadOnly||Ft.isModelReadOnly||Ft.selection.count<1)},ct.prototype.rotate=function(vt){vt===void 0&&(vt=90);var Ft=this.diagram;Ft.startTransaction("rotate "+vt.toString());var Ft=this.diagram;Ft.selection.each(function(pt){pt instanceof go.Link||pt instanceof go.Group||(pt.angle+=vt)}),Ft.commitTransaction("rotate "+vt.toString())},ct.prototype.pullToFront=function(){var vt=this.diagram;vt.startTransaction("pullToFront");var Ft=new go.Map;vt.selection.each(function(pt){Ft.set(pt.layer,0)}),Ft.iteratorKeys.each(function(pt){var Sn=0;pt.parts.each(function(Wn){if(!Wn.isSelected){var An=Wn.zOrder;isNaN(An)?Wn.zOrder=0:Sn=Math.max(Sn,An)}}),Ft.set(pt,Sn)}),vt.selection.each(function(pt){ct._assignZOrder(pt,Ft.get(pt.layer)+1)}),vt.commitTransaction("pullToFront")},ct.prototype.pushToBack=function(){var vt=this.diagram;vt.startTransaction("pushToBack");var Ft=new go.Map;vt.selection.each(function(pt){Ft.set(pt.layer,0)}),Ft.iteratorKeys.each(function(pt){var Sn=0;pt.parts.each(function(Wn){if(!Wn.isSelected){var An=Wn.zOrder;isNaN(An)?Wn.zOrder=0:Sn=Math.min(Sn,An)}}),Ft.set(pt,Sn)}),vt.selection.each(function(pt){ct._assignZOrder(pt,Ft.get(pt.layer)-1-ct._findGroupDepth(pt))}),vt.commitTransaction("pushToBack")},ct._assignZOrder=function(vt,Ft,pt){pt===void 0&&(pt=vt),vt.layer===pt.layer&&(vt.zOrder=Ft),vt instanceof go.Group&&vt.memberParts.each(function(Sn){ct._assignZOrder(Sn,Ft+1,pt)})},ct._findGroupDepth=function(vt){if(vt instanceof go.Group){var Ft=0;return vt.memberParts.each(function(pt){Ft=Math.max(Ft,ct._findGroupDepth(pt))}),Ft+1}else return 0},ct.prototype.doKeyDown=function(){var vt=this.diagram;if(vt!==null){var Ft=vt.lastInput;if(Ft.key==="Up"||Ft.key==="Down"||Ft.key==="Left"||Ft.key==="Right"){var pt=this.arrowKeyBehavior;if(pt==="none")return;if(pt==="select"){this._arrowKeySelect();return}else if(pt==="move"){this._arrowKeyMove();return}else if(pt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},ct.prototype._getAllParts=function(){var vt=new Array;return this.diagram.nodes.each(function(Ft){vt.push(Ft)}),this.diagram.parts.each(function(Ft){vt.push(Ft)}),vt},ct.prototype._arrowKeyMove=function(){var vt=this.diagram,Ft=vt.lastInput,pt=0,Sn=0;if(Ft.control||Ft.meta)pt=1,Sn=1;else if(vt.grid!==null){var Wn=vt.grid.gridCellSize;Sn=Wn.width,pt=Wn.height}vt.startTransaction("arrowKeyMove"),vt.selection.each(function(An){Ft.key==="Up"?An.move(new go.Point(An.actualBounds.x,An.actualBounds.y-pt)):Ft.key==="Down"?An.move(new go.Point(An.actualBounds.x,An.actualBounds.y+pt)):Ft.key==="Left"?An.move(new go.Point(An.actualBounds.x-Sn,An.actualBounds.y)):Ft.key==="Right"&&An.move(new go.Point(An.actualBounds.x+Sn,An.actualBounds.y))}),vt.commitTransaction("arrowKeyMove")},ct.prototype._arrowKeySelect=function(){var vt=this.diagram,Ft=vt.lastInput,pt=null;Ft.key==="Up"?pt=this._findNearestPartTowards(270):Ft.key==="Down"?pt=this._findNearestPartTowards(90):Ft.key==="Left"?pt=this._findNearestPartTowards(180):Ft.key==="Right"&&(pt=this._findNearestPartTowards(0)),pt!==null&&(Ft.shift?pt.isSelected=!0:Ft.control||Ft.meta?pt.isSelected=!pt.isSelected:vt.select(pt))},ct.prototype._findNearestPartTowards=function(vt){var Ft=this.diagram.selection.first();if(Ft===null)return null;for(var pt=Ft.actualBounds.center,Sn=this._getAllParts(),Wn=1/0,An=Ft,ka=0;ka<Sn.length;ka++){var pa=Sn[ka];if(pa!==Ft&&pa.canSelect()){var _n=pa.actualBounds.center,Ea=pt.directionPoint(_n),Pa=this._angleCloseness(Ea,vt);if(Pa<=45){var Dn=pt.distanceSquaredPoint(_n);Dn*=1+Math.sin(Pa*Math.PI/180),Dn<Wn&&(Wn=Dn,An=pa)}}}return An},ct.prototype._angleCloseness=function(vt,Ft){return Math.min(Math.abs(Ft-vt),Math.min(Math.abs(Ft+360-vt),Math.abs(Ft-360-vt)))},ct.prototype._arrowKeyTree=function(){var vt=this.diagram,Ft=vt.selection.first();if(Ft instanceof go.Node){var pt=vt.lastInput;if(pt.key==="Right"){if(!Ft.isTreeLeaf)if(!Ft.isTreeExpanded)vt.commandHandler.canExpandTree(Ft)&&vt.commandHandler.expandTree(Ft);else{var Sn=this._sortTreeChildrenByY(Ft).first();Sn!==null&&vt.select(Sn)}}else if(pt.key==="Left")if(!Ft.isTreeLeaf&&Ft.isTreeExpanded)vt.commandHandler.canCollapseTree(Ft)&&vt.commandHandler.collapseTree(Ft);else{var Wn=Ft.findTreeParentNode();Wn!==null&&vt.select(Wn)}else if(pt.key==="Up"){var Wn=Ft.findTreeParentNode();if(Wn!==null){var An=this._sortTreeChildrenByY(Wn),ka=An.indexOf(Ft);if(ka>0){for(var pa=An.elt(ka-1);pa!==null&&pa.isTreeExpanded&&!pa.isTreeLeaf;){var _n=this._sortTreeChildrenByY(pa);pa=_n.last()}pa!==null&&vt.select(pa)}else vt.select(Wn)}}else if(pt.key==="Down")if(Ft.isTreeExpanded&&!Ft.isTreeLeaf){var Sn=this._sortTreeChildrenByY(Ft).first();Sn!==null&&vt.select(Sn)}else for(;Ft!==null;){var Wn=Ft.findTreeParentNode();if(Wn===null)break;var An=this._sortTreeChildrenByY(Wn),ka=An.indexOf(Ft);if(ka<An.length-1){vt.select(An.elt(ka+1));break}else Ft=Wn}var Ea=vt.selection.first();Ea!==null&&vt.scrollToRect(Ea.actualBounds)}},ct.prototype._sortTreeChildrenByY=function(vt){var Ft=new go.List().addAll(vt.findTreeChildrenNodes());return Ft.sort(function(pt,Sn){var Wn=pt.location,An=Sn.location;return Wn.y<An.y?-1:Wn.y>An.y?1:Wn.x<An.x?-1:Wn.x>An.x?1:0}),Ft},ct.prototype.copyToClipboard=function(vt){go.CommandHandler.prototype.copyToClipboard.call(this,vt),this._lastPasteOffset.set(this.pasteOffset)},ct.prototype.pasteFromClipboard=function(){var vt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(vt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),vt},Object.defineProperty(ct.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(vt){if(vt!=="move"&&vt!=="select"&&vt!=="scroll"&&vt!=="tree"&&vt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+vt);this._arrowKeyBehavior=vt}}),Object.defineProperty(ct.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(vt){if(!(vt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+vt);this._pasteOffset.set(vt)}});var kt=ct,ft=ee(63720),At=ee(43604),it=ee(38986),nt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},De=ee(59301),fe=(vt,Ft,pt)=>new Promise((Sn,Wn)=>{var An=_n=>{try{pa(pt.next(_n))}catch(Ea){Wn(Ea)}},ka=_n=>{try{pa(pt.throw(_n))}catch(Ea){Wn(Ea)}},pa=_n=>_n.done?Sn(_n.value):Promise.resolve(_n.value).then(An,ka);pa((pt=pt.apply(vt,Ft)).next())});function Je({onCancel:vt,callback:Ft}){let pt=(0,b.useRef)(),Sn=(0,b.useRef)(),Wn=(0,b.useRef)(),An=(0,b.useRef)(!1);const ka=(0,b.useRef)(!1),[pa,_n]=(0,b.useState)(0);function Ea(){const Dn=ze.bx.make,lr={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};pt.current=new ze.S0(Sn.current,{padding:20,grid:Dn(ze.s_,"Grid",Dn(ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Dn(ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:ha=>{var Ha=ha.diagram.commandHandler.addTopLevelParts(ha.diagram.selection,!0);Ha||ha.diagram.currentTool.doCancel()},commandHandler:Dn(kt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:ha=>{var Ha=ha.subject;Ha.location=Ha.location.copy().snapToGridPoint(ha.diagram.grid.gridOrigin,ha.diagram.grid.gridCellSize),setTimeout(()=>{ha.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:ha=>{var Ha=ha.subject;setTimeout(()=>{ha.diagram.commandHandler.editTextBlock()})},LinkRelinked:ha=>{var Ha=ha.parameter.part;Ha.invalidateConnectedLinks();var $a=ha.subject;ha.diagram.toolManager.linkingTool.isForwards?$a.toNode.invalidateConnectedLinks():$a.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),pt.current.nodeTemplate=Dn(ze.NB,"Auto",{locationSpot:ze.z6.Center,locationObjectName:"SHAPE",desiredSize:new ze.$u(120,60),minSize:new ze.$u(40,40),resizable:!0,resizeCellSize:new ze.$u(10,10),rotatable:!0},new ze.KX("location","loc",ze.E9.parse).makeTwoWay(ze.E9.stringify),new ze.KX("desiredSize","size",ze.$u.parse).makeTwoWay(ze.$u.stringify),Dn(ze.bn,{name:"SHAPE",fill:lr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ze.z6.AllSides,toSpot:ze.z6.AllSides},new ze.KX("figure"),new ze.KX("fill"),new ze.KX("stroke","borderColor"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Dn(ze.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Dn(ze.al,{margin:1,textAlign:"center",overflow:ze.al.OverflowEllipsis,editable:!0},new ze.KX("text").makeTwoWay(),new ze.KX("stroke","color"))),pt.current.nodeTemplate.toolTip=Dn("ToolTip",Dn(ze.s_,"Vertical",{maxSize:new ze.$u(200,NaN)},Dn(ze.al,{font:"bold 10pt sans-serif",textAlign:"center"},new ze.KX("text")),Dn(ze.al,{font:"10pt sans-serif",textAlign:"center"},new ze.KX("text","details"))));function Nr(ha,Ha){var $a=(La,Or)=>{La.handled=!0,La.diagram.model.commit(no=>{var xr=Or.part.adornedPart,Er=new ze.E9().setRectSpot(xr.actualBounds,ha);Er.subtract(xr.location),Er.scale(2,2),Er.x+=Math.sign(Er.x)*130,Er.y+=Math.sign(Er.y)*130,Er.add(xr.location),Er.snapToGridPoint(La.diagram.grid.gridOrigin,La.diagram.grid.gridCellSize);var Pr=no.copyNodeData(xr.data);no.setGroupKeyForNodeData(Pr,no.getGroupKeyForNodeData(xr.data)),no.addNodeData(Pr);var si={from:xr.key,to:no.getKeyForNodeData(Pr)};no.addLinkData(si);var ai=La.diagram.findNodeForData(Pr);ai.location=Er,La.diagram.select(ai),setTimeout(()=>{La.diagram.commandHandler.editTextBlock()},20)})};return Dn(ze.bn,{figure:Ha,alignment:ha,alignmentFocus:ha.opposite(),width:ha.equals(ze.z6.Top)||ha.equals(ze.z6.Bottom)?25:18,height:ha.equals(ze.z6.Top)||ha.equals(ze.z6.Bottom)?18:25,fill:"orange",stroke:lr.white,strokeWidth:4,mouseEnter:(La,Or)=>Or.fill="dodgerblue",mouseLeave:(La,Or)=>Or.fill="orange",isActionable:!0,click:$a,contextClick:$a})}function $r(ha){return Dn(ze.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Ha,$a)=>$a.fill="dodgerblue",mouseLeave:(Ha,$a)=>$a.fill="orange",click:(Ha,$a)=>{Ha.diagram.commandHandler.showContextMenu($a.part.adornedPart)}},ha||{})}pt.current.nodeTemplate.selectionAdornmentTemplate=Dn(ze.uz,"Spot",Dn(ze.Vm,{padding:10}),Nr(ze.z6.Top,"TriangleUp"),Nr(ze.z6.Left,"TriangleLeft"),Nr(ze.z6.Right,"TriangleRight"),Nr(ze.z6.Bottom,"TriangleDown"),$r({alignment:new ze.z6(.75,0)}));function Sr(ha,Ha){return($a,La)=>{$a.handled=!0,$a.diagram.model.commit(Or=>{Or.set(La.part.adornedPart.data,ha,Ha)})}}function $e(ha,Ha){return Ha||(Ha="color"),Dn(ze.bn,{width:16,height:16,stroke:"lightgray",fill:ha,margin:1,background:"transparent",mouseEnter:($a,La)=>La.stroke="dodgerblue",mouseLeave:($a,La)=>La.stroke="lightgray",click:Sr(Ha,ha),contextClick:Sr(Ha,ha)})}function bn(){return[Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",$e(lr.white,"fill"),$e(lr.beige,"fill"),$e(lr.extralightblue,"fill"),$e(lr.extralightred,"fill"))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",$e(lr.lightgray,"fill"),$e(lr.lightgreen,"fill"),$e(lr.lightblue,"fill"),$e(lr.lightred,"fill")))]}function Xt(){return[Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",$e(lr.black),$e(lr.green),$e(lr.blue),$e(lr.red))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",$e(lr.white),$e(lr.magenta),$e(lr.purple),$e(lr.orange)))]}function Nn(ha,Ha){return Ha||(Ha="thickness"),Dn(ze.bn,"LineH",{width:16,height:16,strokeWidth:ha,margin:1,background:"transparent",mouseEnter:($a,La)=>La.background="dodgerblue",mouseLeave:($a,La)=>La.background="transparent",click:Sr(Ha,ha),contextClick:Sr(Ha,ha)})}function Kn(ha,Ha){return Ha||(Ha="dash"),Dn(ze.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:ha,margin:1,background:"transparent",mouseEnter:($a,La)=>La.background="dodgerblue",mouseLeave:($a,La)=>La.background="transparent",click:Sr(Ha,ha),contextClick:Sr(Ha,ha)})}function ua(){return[Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Nn(1),Nn(2),Nn(3),Nn(4))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Kn(null),Kn([2,4]),Kn([4,4])))]}function Qn(ha,Ha){return Ha||(Ha="figure"),Dn(ze.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:ha,margin:1,background:"transparent",mouseEnter:($a,La)=>La.fill="dodgerblue",mouseLeave:($a,La)=>La.fill="lightgray",click:Sr(Ha,ha),contextClick:Sr(Ha,ha)})}pt.current.nodeTemplate.contextMenu=Dn("ContextMenu",Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Qn("Rectangle"),Qn("RoundedRectangle"),Qn("Ellipse"),Qn("Diamond"))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Qn("Parallelogram2"),Qn("ManualOperation"),Qn("Procedure"),Qn("Cylinder1"))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Qn("Terminator"),Qn("CreateRequest"),Qn("Document"),Qn("TriangleDown"))),bn(),Xt(),ua()),pt.current.groupTemplate=Dn(ze.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:ze.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(ha,Ha)=>{var $a=Ha.addMembers(Ha.diagram.selection,!0);$a||Ha.diagram.currentTool.doCancel()},avoidable:!1},new ze.KX("location","loc",ze.E9.parse).makeTwoWay(ze.E9.stringify),Dn(ze.s_,"Auto",{name:"BODY"},Dn(ze.bn,{parameter1:10,fill:lr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ze.z6.AllSides,toSpot:ze.z6.AllSides},new ze.KX("fill"),new ze.KX("stroke","color"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Dn(ze.Vm,{background:"transparent",margin:20})),Dn(ze.al,{alignment:ze.z6.Top,alignmentFocus:ze.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new ze.KX("text"),new ze.KX("stroke","color"))),pt.current.groupTemplate.selectionAdornmentTemplate=Dn(ze.uz,"Spot",Dn(ze.s_,"Auto",Dn(ze.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Dn(ze.Vm,{margin:1.5})),$r({alignment:ze.z6.TopRight,alignmentFocus:ze.z6.BottomRight})),pt.current.groupTemplate.contextMenu=Dn("ContextMenu",bn(),Xt(),ua()),pt.current.linkTemplate=Dn(ze.rU,{layerName:"Foreground",routing:ze.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new ze.KX("fromSpot","fromSpot",ze.z6.parse),new ze.KX("toSpot","toSpot",ze.z6.parse),new ze.KX("fromShortLength","dir",ha=>ha>=1?10:0),new ze.KX("toShortLength","dir",ha=>ha>=1?10:0),new ze.KX("points").makeTwoWay(),Dn(ze.bn,{strokeWidth:2},new ze.KX("stroke","color"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Dn(ze.bn,{segmentIndex:0,segmentOffset:new ze.E9(15,0),segmentOrientation:ze.rU.OrientAlong,alignmentFocus:ze.z6.Right,figure:"circle",width:10,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",ha=>ha===1)),Dn(ze.bn,{segmentIndex:-1,segmentOffset:new ze.E9(-10,6),segmentOrientation:ze.rU.OrientPlus90,alignmentFocus:ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",ha=>ha>=1),new ze.KX("width","thickness",ha=>7+3*ha),new ze.KX("height","thickness",ha=>7+3*ha),new ze.KX("segmentOffset","thickness",ha=>new ze.E9(-15,4+1.5*ha))),Dn(ze.bn,{segmentIndex:0,segmentOffset:new ze.E9(15,-6),segmentOrientation:ze.rU.OrientMinus90,alignmentFocus:ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",ha=>ha===2),new ze.KX("width","thickness",ha=>7+3*ha),new ze.KX("height","thickness",ha=>7+3*ha),new ze.KX("segmentOffset","thickness",ha=>new ze.E9(-15,4+1.5*ha))),Dn(ze.al,{alignmentFocus:new ze.z6(0,1,-4,0),editable:!0},new ze.KX("text").makeTwoWay(),new ze.KX("stroke","color"))),pt.current.linkTemplate.selectionAdornmentTemplate=Dn(ze.uz,Dn(ze.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:$n(2)},new ze.KX("pathPattern","thickness",$n)),$r({alignmentFocus:new ze.z6(0,0,-6,-4)}));function $n(ha){return Dn(ze.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(ha+4).toString()+" H3"})}function ur(ha){var Ha="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return ha===0?Ha="M0 0 M16 16 M0 8 L16 8":ha===2&&(Ha="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Dn(ze.bn,{geometryString:Ha,margin:2,background:"transparent",mouseEnter:($a,La)=>La.background="dodgerblue",mouseLeave:($a,La)=>La.background="transparent",click:Sr("dir",ha),contextClick:Sr("dir",ha)})}function da(ha){var Ha=($a,La)=>{$a.handled=!0,$a.diagram.model.commit(Or=>{var no=La.part.adornedPart;Or.set(no.data,ha?"toSpot":"fromSpot",ze.z6.stringify(ze.z6.AllSides)),(ha?no.toNode:no.fromNode).invalidateConnectedLinks()})};return Dn(ze.bn,{width:12,height:12,fill:"transparent",mouseEnter:($a,La)=>La.background="dodgerblue",mouseLeave:($a,La)=>La.background="transparent",click:Ha,contextClick:Ha})}function En(ha,Ha){var $a=0,La=ze.z6.RightSide;ha.equals(ze.z6.Top)?($a=270,La=ze.z6.TopSide):ha.equals(ze.z6.Left)?($a=180,La=ze.z6.LeftSide):ha.equals(ze.z6.Bottom)&&($a=90,La=ze.z6.BottomSide),Ha||($a-=180);var Or=(no,xr)=>{no.handled=!0,no.diagram.model.commit(Er=>{var Pr=xr.part.adornedPart;Er.set(Pr.data,Ha?"toSpot":"fromSpot",ze.z6.stringify(La)),(Ha?Pr.toNode:Pr.fromNode).invalidateConnectedLinks()})};return Dn(ze.bn,{alignment:ha,alignmentFocus:ha.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:$a,background:"transparent",mouseEnter:(no,xr)=>xr.background="dodgerblue",mouseLeave:(no,xr)=>xr.background="transparent",click:Or,contextClick:Or})}pt.current.linkTemplate.contextMenu=Dn("ContextMenu",Xt(),ua(),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",ur(0),ur(1),ur(2))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Dn(ze.s_,"Spot",da(!1),En(ze.z6.Top,!1),En(ze.z6.Left,!1),En(ze.z6.Right,!1),En(ze.z6.Bottom,!1)),Dn(ze.s_,"Spot",{margin:new ze.Zt(0,0,0,2)},da(!0),En(ze.z6.Top,!0),En(ze.z6.Left,!0),En(ze.z6.Right,!0),En(ze.z6.Bottom,!0)))));const dr=`{ "class": "GraphLinksModel",
"nodeDataArray": [
{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3},
{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"},
{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"},
{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"},
{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"},
{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3},
{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"}
],
"linkDataArray": [
{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1},
{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1},
{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]},
{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2},
{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"},
{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1},
{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]}
]}`;var Cr=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function Wr(ha){return console.log("shapeName:",ha),Cr.indexOf(ha)>=0}var Ir=new ze.YI(Wn.current,{maxSelectionCount:1,linkTemplate:Dn(ze.rU,{locationSpot:ze.z6.Center,selectionAdornmentTemplate:Dn(ze.uz,"Link",{locationSpot:ze.z6.Center},Dn(ze.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Dn(ze.bn,{toArrow:"Standard",stroke:null}))},{routing:ze.rU.AvoidsNodes,curve:ze.rU.JumpOver,corner:5,toShortLength:4},new ze.KX("points"),Dn(ze.bn,{isPanelMain:!0,strokeWidth:2}),Dn(ze.bn,{toArrow:"Standard",stroke:null})),model:new ze.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...ze.bn.getFigureGenerators().toArray().map(ha=>({text:"\u672A\u547D\u540D",size:"100 100",figure:ha.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return pt.current.addDiagramListener("TextEdited",function(ha){var Ha;const $a=ha.subject.part;var La=(Ha=document.activeElement)==null?void 0:Ha.value;typeof La=="string"&&La.trim()===""&&pt.current.model.commit(function(Or){Or.set($a.data,"text","\u672A\u547D\u540D"),pt.current.commandHandler.stopCommand()},"increment")}),Ir.nodeTemplate=Dn(ze.NB,"Auto",{locationSpot:ze.z6.Center},new ze.KX("location","location",ze.E9.parse).makeTwoWay(ze.E9.stringify),Dn(ze.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new ze.KX("stroke").makeTwoWay(),new ze.KX("fill").makeTwoWay(),new ze.KX("figure")),Dn(ze.al,{margin:new ze.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new ze.$u(16,16),maxSize:new ze.$u(10,NaN),textAlign:"center",editable:!0},new ze.KX("key").makeTwoWay())),setTimeout(()=>{pt.current.grid=Dn(ze.s_,"Grid",Dn(ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Dn(ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),pt.current.grid.visible=!0,pt.current.grid.gridCellStroke="darkgray",pt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=pt.current,pt.current}const Pa=()=>fe(this,null,function*(){var Dn=pt.current.makeImage();const lr=yield(0,it.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Dn.src}});Ft({src:lr.url})});return(0,b.useEffect)(()=>(setTimeout(()=>{Ea()},500),_n(pa+1),()=>{pt.current=null}),[]),De.createElement("div",{ref:ka,className:An.current?`${nt.maxH60} body-overflow-initial`:"body-overflow-initial"},De.createElement(dt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!pa,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:De.createElement(on.Z,null,De.createElement(At.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),De.createElement(At.Z,{onClick:()=>{var Dn,lr,Nr=pt.current.selection.first();if(An.current=!An.current,document.activeElement&&Nr){let $r=(lr=(Dn=document.activeElement)==null?void 0:Dn.value)==null?void 0:lr.trim();typeof $r=="string"&&pt.current.model.commit(function(Sr){Sr.set(Nr.data,"text",$r||"\u672A\u547D\u540D"),pt.current.commandHandler.stopCommand()},"increment")}_n(pa+1)}},De.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:vt},De.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:nt.flowChartWrp},De.createElement("div",{style:{display:"flex",height:"100%"}},De.createElement("div",{style:{width:"300px",height:"100%"}},De.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),De.createElement("div",{style:{height:"calc(100% - 50px)"},className:nt.myPaletteDiv,ref:Wn})),De.createElement("div",{style:{flex:1,position:"relative"}},De.createElement("div",{ref:Sn,style:{height:"80vh"}}))),De.createElement("div",{className:"tr"},De.createElement(he.ZP,{size:"large",onClick:Pa,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var It=Je,Oe=ee(5112),Ie=ee(5871);const St=Oe.ZP.Group,at={margin:"0 8px"};var Me=({callback:vt,onCancel:Ft})=>{function pt(Sn){vt(Sn)}return b.createElement(Ae.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:pt},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:at},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:at},"\u884C\u6570"),b.createElement(Ae.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(Ie.Z,null)),b.createElement("span",{style:at},"\u5217\u6570"),b.createElement(Ae.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(Ie.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:at},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Ae.default.Item,{name:"align"},b.createElement(St,null,b.createElement(Oe.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(Oe.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(Oe.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(Oe.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(he.ZP,{type:"ghost",onClick:Ft},"\u53D6\u6D88")))},yt=ee(78673),Fn=ee(43001),an=ee.n(Fn),sn=(0,b.forwardRef)(({use3d:vt,width:Ft,height:pt,callback:Sn,showSaveButton:Wn},An)=>{const ka=(0,b.useRef)(),pa=(0,b.useRef)(),[_n,Ea]=(0,b.useState)(!1),Pa=(0,b.useRef)({id:ka,appName:"graphing",width:Ft||1e3,height:pt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{pa.current=new(an())(Pa.current,!0),window.onload=function(){pa.current.inject("applet_container")}},[]);const Dn=()=>{var lr=window.ggbApplet.getPNGBase64(1,!0,72);return Sn&&Sn(lr),lr};return(0,b.useEffect)(()=>{Pa.current.appName=_n?"3D":"graphing",pa.current.inject("applet_container")},[_n]),(0,b.useEffect)(()=>{Ea(vt)},[vt]),(0,b.useImperativeHandle)(An,()=>({getImgData:Dn})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ka}),b.createElement(on.Z,{align:"middle"},b.createElement(At.Z,{flex:1},b.createElement(yt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:_n,onChange:lr=>Ea(lr)})),b.createElement(At.Z,null,b.createElement(he.ZP,{size:"large",onClick:Dn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),yn=ee(76562),Te=ee(1012),xt=ee(8591);const Ht="link",Bt="upload-image",Mt="add-flowchart",dn="draw-image",gn="add-flowchart",Ln="code-block",Jn="add-table",va="------------",Da={default:va,left:`:${va}`,center:`:${va}:`,right:`${va}:`};var Na=ee(37808),ar=(vt,Ft,pt)=>new Promise((Sn,Wn)=>{var An=_n=>{try{pa(pt.next(_n))}catch(Ea){Wn(Ea)}},ka=_n=>{try{pa(pt.throw(_n))}catch(Ea){Wn(Ea)}},pa=_n=>_n.done?Sn(_n.value):Promise.resolve(_n.value).then(An,ka);pa((pt=pt.apply(vt,Ft)).next())});function Ua(){}let fa=0;const yr=1e4,en="\u2581",On="@\u2581\u2581@",la="@\u2581@",xa=`
**\u6A21\u677F\u6807\u9898**
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Ge=["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 Ot(vt){return/^\d+$/.test(vt)?`${vt}px`:vt}const Vt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Wt={[Vt+"-B"]:"bold",[Vt+"-I"]:"italic"},Rn={[Ht]:"\u6DFB\u52A0\u94FE\u63A5",[Ln]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Bt]:"\u6DFB\u52A0\u56FE\u7247",[dn]:"\u6DFB\u52A0\u753B\u56FE",[Mt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Jn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Bn=({defaultValue:vt="",onChange:Ft,width:pt="100%",height:Sn=400,miniToolbar:Wn=!1,isFocus:An=!1,watch:ka,insertTemp:pa,mode:_n="markdown",id:Ea="markdown-editor-id",showResizeBar:Pa=!1,noStorage:Dn=!1,showNullButton:lr=!1,showNullProgramButton:Nr=!1,hidetoolBar:$r=!1,fullScreen:Sr=!1,onBlur:$e,onCMBeforeChange:bn,onFullScreen:Xt,className:Nn="",disablePaste:Kn=!1,disabled:ua=!1,disabledFill:Qn=!1,placeholder:$n="",values:ur="",extraUse:da})=>{const[En,dr]=(0,b.useState)(null),[Cr,Wr]=(0,b.useState)(vt),[Ir,ha]=(0,b.useState)(ka),[Ha,$a]=(0,b.useState)(Sr),[La,Or]=(0,b.useState)(""),[no,xr]=(0,b.useState)(0),[Er,Pr]=(0,b.useState)(Sn),[si,ai]=(0,b.useState)(!1),Bi=(0,b.useRef)((0,Te.Z)()),po=(0,b.useRef)(!1),yo=(0,b.useRef)(),[Go,Mo]=(0,b.useState)(0),[Do,gr]=(0,b.useState)(0),eo=(0,b.useRef)(),Qo=(0,b.useRef)(),Jo=(0,b.useRef)(),Io=(0,b.useRef)(),br=()=>ar(void 0,null,function*(){var kr;const Qa=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Bi.current}});(kr=Qa==null?void 0:Qa.attachments)!=null&&kr.length&&(console.log("cm:",En,eo),Qa.attachments.map(Ga=>{Ga.content_type.indexOf("image")>-1?En.replaceSelection(`![,](/api/attachments/${Ga.id}?type=${Ga.content_type})`):Ga.content_type.indexOf("video")>-1?En.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Ga.content_type.indexOf("pdf")>-1?En.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Ga.id}?type=${Ga.content_type}&disposition=inline" target="_blank">${Ga.name}</a>`):En.replaceSelection(`[${Ga.name}](${ENV.API_SERVER}/api/attachments/${Ga.id}?type=${Ga.content_type})`)}))});(0,b.useEffect)(()=>{const kr=window.scrollY||window.pageYOffset;Wr(ur),En==null||En.setValue(ur),window.scrollTo(0,kr)},[ur]),(0,b.useEffect)(()=>{Xt==null||Xt(Ha)},[Ha]),(0,b.useEffect)(()=>{if(eo.current){let kr=function(Ga,Ya){var uo;if(Kn){Ya.preventDefault();return}const we=Ya.clipboardData;if(we){const vn=we.types.toString(),Mn=we.items;if(vn==="Files"||we.types.indexOf("Files")>-1){if(Ya.preventDefault(),_n=="stex")return;try{let Sa=Mn[1];((uo=Mn[0])==null?void 0:uo.kind)==="file"&&(Sa=Mn[0]);const ln=Sa.getAsFile(),Ma=ln.name.split(".").pop();(0,Ue.I)(ln,Fa=>{var jn,Xn,sr;Fa.id?((jn=ln==null?void 0:ln.type)==null?void 0:jn.indexOf("image"))>-1?Qa.replaceSelection(`<img width="100%" src="/api/attachments/${Fa.id}?type=${Fa.content_type})" alt="" />`):((Xn=ln==null?void 0:ln.type)==null?void 0:Xn.indexOf("video"))>-1?Qa.replaceSelection(`<video width="100%" controls src="/api/attachments/${Fa.id}"></video>`):((sr=ln==null?void 0:ln.type)==null?void 0:sr.indexOf("pdf"))>-1?Qa.replaceSelection(`<a href="/api/attachments/${Fa.id}?type=${ln.type}&disposition=inline" target="_blank">${ln.name}</a>`):Ge.includes(Ma)?Qa.replaceSelection(`<a href="/api/attachments/${Fa.id}?type=office&disposition=inline" target="_blank">${ln.name}</a>`):Qa.replaceSelection(`[${ln.name}](/api/attachments/${Fa.id}?type=${Fa.content_type})`):(Fa==null?void 0:Fa.status)===401&&(xt.ZP.warning((Fa==null?void 0:Fa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Sa){xt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Qa=Be().fromTextArea(eo.current,{mode:_n,lineNumbers:!Wn,lineWrapping:!0,value:vt,autoCloseTags:!Nr,autoCloseBrackets:!0});return Qa.on("keyup",function(Ga,Ya){Ya.keyCode===8&&(Ga.getValue()==""?Qa.setOption("placeholder",$n):Qa.setOption("placeholder",null))}),Qa.on("keydown",function(Ga,Ya){if(Ya.keyCode===8){var uo=zr(Ga);uo&&Ya.preventDefault()}}),An&&Qa.focus(),Qa.on("paste",kr),Qa.on("dragleave",function(Ga,Ya){Qo.current.classList.remove("mouse-hover-md")}),ua&&Qa.on("beforeChange",function(Ga,Ya){(Ya.origin==="paste"||Ya.origin==="+input")&&Ya.cancel()}),dr(Qa),()=>{Qa.off("paste",kr)}}},[]);const ri=(0,b.useCallback)(()=>{if(Qo.current)try{}catch(kr){console.log(kr,"---- to set md editor body height")}},[Er,Qo,Ha]);(0,b.useEffect)(()=>{function kr(){let Qa=new Ne.Z(Ga=>{for(let Ya of Ga)(Ya.target.offsetHeight>0||Ya.target.offsetWidth>0)&&(ri(),En.setSize("100%","100%"),En.refresh())});return Qa.observe(eo.current.parentElement),Qa}if(En){const Qa=kr();return()=>{var Ga,Ya;(Ga=eo.current)!=null&&Ga.parentElement&&Qa.unobserve((Ya=eo.current)==null?void 0:Ya.parentElement)}}},[En,ri]),(0,b.useEffect)(()=>{if(En){let kr=[];for(const[Qa,Ga]of Object.entries(Wt)){let Ya={[Qa]:()=>{ko(Ga)}};kr.push(Ya),En.addKeyMap(Ya)}return yo.current=setInterval(()=>{po.current&&br()},4e3),()=>{clearInterval(yo.current);for(let Qa of kr)En.removeKeyMap(Qa)}}},[En]),(0,b.useEffect)(()=>{Sr!==Ha&&$a(Sr)},[Sr]),(0,Na.Z)(()=>{if(!Dn&&no>0){let kr=new Date().getTime(),Qa=window.sessionStorage.getItem(Ea);kr>=no+yr&&(!Qa||Qa!==Cr)&&(window.sessionStorage.setItem(Ea,Cr),ai(!0))}},yr),(0,b.useEffect)(()=>{ha(ka)},[En,ka]),(0,b.useEffect)(()=>{En&&An&&En.focus()},[En,An]),(0,b.useEffect)(()=>{if(Ir&&En){let kr=function(Ga){let Ya=Ga.target;if(Io.current){let uo=Ya.scrollTop/Ya.scrollHeight;Io.current.scrollTop=Io.current.scrollHeight*uo}};const Qa=En.getScrollerElement();return Qa.addEventListener("scroll",kr),()=>{Qa.removeEventListener("scroll",kr)}}},[En,Ir]),(0,b.useEffect)(()=>{if(En&&bn){let kr=function(Qa,Ga){bn(Qa,Ga)};return En.on("beforeChange",kr),()=>{En.off("beforeChange",kr)}}},[En,bn]),(0,b.useEffect)(()=>{if(En&&$e){let kr=function(){$e(En.getValue())};return En.on("blur",kr),()=>{En.off("blur",kr)}}},[En,$e]);function zr(kr,Qa){var Ga=kr.getDoc(),Ya=Ga.getCursor(),uo=Ga.getLine(Ya.line),we=uo.charAt(Ya.ch-1),vn=uo.lastIndexOf("@\u2581@",Ya.ch),Mn=uo.lastIndexOf("@\u2581\u2581@",Ya.ch),Sa=vn>Mn?vn:Mn,ln=vn>Mn?3:4;if(On.indexOf(we)===-1)return null;if(console.log("change1:",Qa,kr,uo,Ya,Sa,vn,Mn,we),Sa>=0&&Ya.ch-Sa<5){var Ma=Sa+ln;return Ga.replaceRange("",{line:Ya.line,ch:Sa},{line:Ya.line,ch:Ma}),{line:Ya.line,ch:Ma}}return null}(0,b.useEffect)(()=>{if(En){let kr=function(Qa,Ga){const Ya=Qa.getValue();Wr(Ya),xr(new Date().getTime()),Qa.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Ft&&(Nr?Ft(Ya,wi(Ya)):Ft(Ya))};return En.on("change",kr),()=>{En.off("change",kr)}}},[En,Ft]),(0,b.useEffect)(()=>{if(En)if(vt==null)En.setValue(""),Wr("");else{const kr=window.scrollY||window.pageYOffset;vt!==En.getValue()&&(En.setValue(vt),Wr(vt),En.setCursor(ua?1:En.lineCount(),0),window.scrollTo(0,kr))}},[En,vt]);const ko=(0,b.useCallback)(kr=>{const Qa=En.getCursor(),Ga=En.getSelection();let Ya=Ga.split(`
`);switch(kr){case"bold":return En.replaceSelection("**"+Ga+"**"),Ga===""&&En.setCursor(Qa.line,Qa.ch+2),En.focus();case"italic":return En.replaceSelection("*"+Ga+"*"),Ga===""&&En.setCursor(Qa.line,Qa.ch+1),En.focus();case"code":return En.replaceSelection("`"+Ga+"`"),Ga===""&&En.setCursor(Qa.line,Qa.ch+1),En.focus();case"inline-latex":return Or("inline-latex"),En.focus();case"latex":return En.replaceSelection("```latex\n"+Ga+"\n```"),En.setCursor(Qa.line+1,Ga.length+1),En.focus();case"line-break":return En.replaceSelection(`<br/>
`),En.focus();case"list-ul":return Ga===""?En.replaceSelection("- "+Ga):En.replaceSelection(Ya.map(uo=>uo===""?"":`- ${uo}`).join(`
`)),En.focus();case"list-ol":return Ga===""?En.replaceSelection("1. "+Ga):En.replaceSelection(Ya.map((uo,we)=>uo===""?"":`${we+1}. ${uo}`).join(`
`)),En.focus();case"add-null-ch":return Ga===""&&En.setCursor(Qa.line,Qa.ch),En.replaceSelection(en),En.focus();case"add-signal":return Ga===""&&En.setCursor(Qa.line,Qa.ch),En.replaceSelection(la),En.focus();case"add-multiple":return Ga===""&&En.setCursor(Qa.line,Qa.ch),En.replaceSelection(On),En.focus();case"inster-template-1":return Ga===""&&En.setCursor(Qa.line,Qa.ch),En.replaceSelection(xa),En.focus();case"eraser":return En.setValue(""),En.focus();case"trigger-watch":return ha(!Ir),En.focus();case"trigger-full-screen":return $a(!Ha),En.focus();case Ht:Or(Ht);return;case Ln:Or(Ln);return;case Bt:Or(Bt);return;case dn:Or(dn);return;case"maths-latex":Or("maths-latex");return;case Mt:Or(Mt);return;case Jn:Or(Jn);return;default:throw new Error}},[En,Ir,Ha]),co=(0,b.useCallback)((kr,Qa)=>{var Ga,Ya,uo,we,vn,Mn;switch(Or(""),La){case Ht:const{title:jn,link:Xn}=kr;return En.replaceSelection(`[${jn}](${Xn})`),En.focus();case Ln:const{language:sr,content:za}=kr;return En.replaceSelection(["```"+sr,za,"```"].join(`
`)),En.focus();case"maths-latex":for(var Sa=atob(kr),ln=new Uint8Array(Sa.length),Ma=0;Ma<Sa.length;Ma++)ln[Ma]=Sa.charCodeAt(Ma);var Fa=new Blob([ln],{type:"image/png"});(0,Ue.I)(Fa,al=>{al.id?En.replaceSelection(`![,](/api/attachments/${al.id}?type=${al.content_type})`):(al==null?void 0:al.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":En.replaceSelection("`$$"+kr+"$$`");break;case Bt:case dn:case gn:const{src:Ta,alt:Ja}=kr,Rr=Qa,bo=(uo=(Ya=(Ga=Rr==null?void 0:Rr.name)==null?void 0:Ga.split("."))==null?void 0:Ya.pop)==null?void 0:uo.call(Ya);return((we=Rr==null?void 0:Rr.type)==null?void 0:we.indexOf("image"))>-1||!(Rr!=null&&Rr.type)?Rr.align||Rr.width?En.replaceSelection(`<p style="text-align:${Rr.align||"initial"}"><img width="${Rr.width?Rr.width+"%":"initial"}" src="${Ta}" alt="${Ja||""}" /></p>`):En.replaceSelection(`<img width="100%" src="${Ta}" alt="${Ja||""}" />`):((vn=Rr==null?void 0:Rr.type)==null?void 0:vn.indexOf("video"))>-1?En.replaceSelection(`<video width="100%" controls src="${Ta}"></video>`):((Mn=Rr==null?void 0:Rr.type)==null?void 0:Mn.indexOf("pdf"))>-1?En.replaceSelection(`<a href="${Ta}?type=${Rr.type}&disposition=inline" target="_blank">${Rr.name}</a>`):Ge.includes(bo)?En.replaceSelection(`<a href="${Ta}?type=office&disposition=inline" target="_blank">${Rr.name}</a>`):En.replaceSelection(`[${Rr.name}](${Ta})`),En.focus();case Jn:const{row:Uo,col:Wo,align:_i}=kr;let Xi=`
`;for(let al=0;al<Uo;al++){let Zl=[],Nl=[];for(let ho=0;ho<Wo;ho++)al===1&&Nl.push(Da[_i]),Zl.push(" ");al===1&&(Xi+=`| ${Nl.join(" | ")} |
`),Xi+=`| ${Zl.join(Wo===1?"":" | ")} |
`}return En.replaceSelection(Xi+`
`),En.focus();default:throw new Error}},[En,La]),di=(0,b.useMemo)(()=>{switch(La){case Ht:return b.createElement(rn,{callback:co,onCancel:hi});case Ln:return b.createElement(nn.Z,{callback:co,onCancel:hi});case Bt:return b.createElement(Ue.Z,{callback:co,onCancel:hi});case Mt:return b.createElement(It,{callback:co,onCancel:hi});case Jn:return b.createElement(Me,{callback:co,onCancel:hi});case"maths-latex":return b.createElement(sn,{showSaveButton:!0,callback:co});case"inline-latex":return b.createElement(yn.Z,{showSaveButton:!0,callback:co});default:return null}},[La]);function hi(){Or("")}(0,b.useEffect)(()=>{if(Jo.current){let kr=function(vn){uo=!0,we=vn.pageY},Qa=function(){uo=!1},Ga=function(vn){if(uo){let Mn=vn.pageY-we;Mn<0&&(Mn=0),Mn>300&&(Mn=300);let Sa=Sn+Mn+"px";Pr(Sa)}},Ya=Jo.current,uo=!1,we=0;return Ya.addEventListener("mousedown",kr),document.addEventListener("mousemove",Ga),document.addEventListener("mouseup",Qa),()=>{Ya.removeEventListener("mousedown",kr),document.removeEventListener("mousemove",Ga),document.removeEventListener("mouseup",Qa)}}},[En,Jo]),(0,b.useEffect)(()=>{Pr(Sn)},[Sn]);const Qi=Ot(pt),tl=Ot(Er),nl={width:Qi,height:tl},Vo=(0,b.useMemo)(()=>{if(no){let kr=new Date(no),Qa=kr.getHours(),Ga=kr.getMinutes(),Ya=kr.getSeconds();return Qa=Qa<10?"0"+Qa:Qa,Ga=Ga<10?"0"+Ga:Ga,Ya=Ya<10?"0"+Ya:Ya,`${Qa}:${Ga}:${Ya}`}return 0},[no]),wi=kr=>{const Qa=[];if(Nr){let Ga=-1;kr=kr.replace(/(@▁▁@|@▁@)/g,function(Ya,uo,we){Qa.push({multiLine:Ya!==la})})}return Qa};function Vi(){window.sessionStorage.removeItem(Ea),ai(!1),xr(0)}function dl(){ai(!1),xr(0),En.setValue(window.sessionStorage.getItem(Ea))}(0,b.useEffect)(()=>{Rn[La]&&La!==dn&&La!==Mt&&setTimeout(()=>{const kr=document.getElementsByClassName("markdown-popup-form")[0],Qa=window.innerWidth/2-kr.offsetWidth/2,Ga=window.innerHeight/2-kr.offsetHeight/2;Mo(Qa),gr(Ga)},0)},[La]);const ml=kr=>{kr.preventDefault();const Qa=kr.clientX-Go,Ga=kr.clientY-Do;document.body.onmousemove=Ya=>{let uo=Ya.clientX-Qa,we=Ya.clientY-Ga;const vn=document.getElementsByClassName("markdown-popup-form")[0],Mn=window.innerWidth-vn.offsetWidth,Sa=window.innerHeight-vn.offsetHeight;uo=Math.max(0,Math.min(uo,Mn)),we=Math.max(0,Math.min(we,Sa)),yl(Ya.clientX,Ya.clientY,Qa,Ga)&&(Mo(uo),gr(we))},document.body.onmouseup=function(){document.body.onmousemove=null}},yl=(kr,Qa,Ga,Ya)=>{const uo=document.body.clientHeight,we=document.body.clientWidth;return kr<20&&Ga>kr||kr>we-20&&Ga<kr||Qa<20&&Ya>Qa||Qa>uo-20&&Ya<Qa?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return b.createElement(b.Fragment,null,b.createElement("div",{className:"markdown-editor-wrapper",ref:Qo},b.createElement("div",{className:`markdown-editor-container ${Nn} ${Ir?"on-preview":""} ${Wn?"mini":""} ${Ha?"full-screen":""}`,style:nl},b.createElement(be,{insertTemp:pa,watch:Ir,fullScreen:Ha,showNullButton:lr,showNullProgramButton:Nr,onActionCallback:ko,hidetoolBar:$r,extraUse:da}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:eo,placeholder:$n})),Ir?b.createElement("div",{ref:Io,className:"preview-container"},_n==="stex"&&b.createElement(Xe,{value:Cr}),_n!=="stex"&&b.createElement(je.Z,{disabledFill:Qn,showProgramFill:Nr,value:Cr})):null))),Pa?b.createElement("a",{ref:Jo,className:"editor-resize"}):null,La===dn&&b.createElement(wn,{callback:co,onCancel:hi}),La===Mt&&b.createElement(It,{callback:co,onCancel:hi}),b.createElement(We.Z,null,Rn[La]&&La!==dn&&La!==Mt?b.createElement(dt.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Go,top:Do},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:ml},Rn[La]),open:!0,onCancel:hi,footer:null,destroyOnClose:!0,width:La===Mt?"1200px":null,height:La===Mt?"80vh":null,className:"markdown-popup-form"},di):null))}},17077:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return ve},I:function(){return We}});var b=ee(78241),de=ee(8591),Be=ee(92832),Ne=ee(81327),Ze=ee(5871),ke=ee(5112),le=ee(3113),st=ee(46699),et=ee(59301),Ve=ee(48790),je=ee(59301),Xe=Object.defineProperty,Ye=Object.defineProperties,se=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,y=(Ae,He,he)=>He in Ae?Xe(Ae,He,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ae[He]=he,z=(Ae,He)=>{for(var he in He||(He={}))a.call(He,he)&&y(Ae,he,He[he]);if(E)for(var he of E(He))x.call(He,he)&&y(Ae,he,He[he]);return Ae},ne=(Ae,He)=>Ye(Ae,se(He));const{useForm:re}=b.default,ue={width:280,marginRight:10},oe={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:Ae,onCancel:He})=>{const[he]=re();let qe=(0,et.useRef)();function Ke(rt){qe.current.width=he.getFieldValue("width"),qe.current.align=he.getFieldValue("align"),Ae(rt,qe.current)}function ht(rt,ut){if(rt.status===-1){de.ZP.error(rt.message);return}he.setFieldsValue({src:`/api/attachments/${rt.id}`,type:ut.type})}function Le(rt){let ut=rt.target.files[0];qe.current=ut,We(ut,ht)}return je.createElement(b.default,ne(z({form:he},oe),{className:"upload-image-panel",onFinish:Ke,style:{width:470,overflow:"hidden"}}),je.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},je.createElement("div",{className:"flex-container"},je.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},je.createElement(Be.default,{style:ue})),je.createElement(be,{onFileChange:Le}))),je.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},je.createElement(Be.default,{style:{width:264}})),je.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},je.createElement(Ne.Z,null,je.createElement(b.default.Item,{name:"width",style:{margin:0}},je.createElement(Ze.Z,{style:{width:264}})),je.createElement("span",{className:"ml8"},"%"))),je.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},je.createElement(ke.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),je.createElement("aside",null,je.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},je.createElement(le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),je.createElement(le.ZP,{type:"default",onClick:He},"\u53D6\u6D88"))))};function be({onFileChange:Ae}){return je.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",je.createElement("input",{type:"file",onChange:Ae}))}function We(Ae,He){if(!Ae)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ve.bg)())throw de.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let he=new FormData;he.append("editormd-image-file",Ae),he.append("file_param_name","editormd-image-file"),he.append("byxhr","true");var qe=new window.XMLHttpRequest;qe.withCredentials=!0,qe.addEventListener("load",function(Ke){He(JSON.parse(Ke.target.responseText),Ae)},!1),qe.addEventListener("error",function(Ke){console.error(Ke)},!1),qe.open("POST",`${st.KI}/api/attachments.json`),qe.send(he)}},91558:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Be}});var b=ee(59301),de=ee(4676);class Be extends b.Component{constructor(Ze){super(Ze);const ke=window.document;this.node=ke.createElement("div"),ke.body.appendChild(this.node)}render(){const{children:Ze}=this.props;return(0,de.createPortal)(Ze,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},52843:function(Qt,Gt,ee){"use strict";ee.d(Gt,{i:function(){return ve},Z:function(){return We}});var b={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},de=ee(71418),Be=ee(6848),Ne=ee(92310),Ze=ee.n(Ne),ke=ee(51257),le=ee(28426),st=ee(48790),et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE+cIPEexg4+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIfG8eoxZP3SCJc+sEicEUhv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B6\u4E00\u6D41",ptimg:Ye,swimg:se},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:y},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:ne}];var We=({className:Ae,dataSource:He=[],col:he=4,right:qe,bottom:Ke=23,precision:ht=0,wrapWidth:Le=1200,trackEventItems:rt,loading:ut,onRemove:gt=()=>{},isCurrent:mt=!0,showAlias:un=!1})=>{const Nt=Math.floor((Le-(he-1)*qe)/he),rn=[{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(nn=>(window.ENV==="build"&&(nn.ptimg=`/react/build${nn.ptimg}`,nn.swimg=`/react/build${nn.swimg}`),nn));return oe.createElement(de.Z,{spinning:ut},oe.createElement("div",{className:Ze()(b.list,Ae)},!!(He!=null&&He.length)&&(He==null?void 0:He.map((nn,Ue)=>{const{name:dt,id:on,identifier:Vn,featured:Zt,school_name:wn,image_url:ze,excellent:ct,is_plan:kt,subject_tags:ft=[]}=nn,At=ft==null?void 0:ft.filter(it=>it!=="\u5FC5\u4FEE\u8BFE\u7A0B"&&it!=="\u9009\u4FEE\u8BFE\u7A0B");return oe.createElement("div",{key:on,className:b.wrap,style:{width:Nt,marginRight:(1+Ue)%he===0?0:qe+ht,marginBottom:Ke}},oe.createElement("a",{className:b.li,onClick:it=>{it.preventDefault(),it.stopPropagation(),rt&&(0,ke.L9)([rt]),(0,ke.xg)(`/paths/${Vn}`)}},oe.createElement("div",{className:b.img},oe.createElement("img",{className:b.cover,src:`${ze}`}),mt&&(0,st.bg)()&&(nn==null?void 0:nn.studying)&&oe.createElement("div",{className:`${b.movebq} user-path-items`,onClick:it=>{it.stopPropagation(),gt(nn)}},oe.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),oe.createElement("span",{className:"c-red"},"\u79FB\u9664")),At==null?void 0:At.map((it,nt)=>{var De,fe;if(nt===0){const It=(De=rn.find(Oe=>Oe.name==it))==null?void 0:De.swimg;return oe.createElement("img",{className:b.sign,src:It,style:{left:"-4px"}})}const Je=(fe=rn.find(It=>It.name==it))==null?void 0:fe.ptimg;return oe.createElement("img",{className:b.sign,src:Je,style:{left:`${48+52*(nt-1)+2*nt}px`}})}),((nn==null?void 0:nn.must)||nn.not_must)&&oe.createElement("img",{className:b.sign,src:nn.must?re:ue,style:{width:28,left:At!=null&&At.length?48+52*((At==null?void 0:At.length)-1)+2*(At==null?void 0:At.length):7}}),oe.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(nn==null?void 0:nn.excellent)&&oe.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"))),oe.createElement("div",{className:b.name},oe.createElement(Be.Z,{title:un&&(nn!=null&&nn.excellent_alias_name)?oe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${dt}`,oe.createElement("br",null),oe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${nn==null?void 0:nn.excellent_alias_name}`)):dt},oe.createElement("span",{className:b.e},un&&(nn==null?void 0:nn.excellent_alias_name)||dt))),oe.createElement("div",{className:b.tags},oe.createElement("div",null,oe.createElement(Be.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},oe.createElement("span",null,oe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),oe.createElement("span",null,nn.stages_count))),oe.createElement(Be.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},oe.createElement("span",null,oe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),oe.createElement("span",null,nn.members_count)))))))})),!He.length&&oe.createElement(le.Z,null)))}},9148:function(Qt,Gt,ee){"use strict";ee.d(Gt,{jL:function(){return Ze},w9:function(){return Nt},QD:function(){return yn},cQ:function(){return rt.Z},op:function(){return Me},O5:function(){return xa},_b:function(){return dn},t7:function(){return y},Gi:function(){return Vn},YG:function(){return dt},qp:function(){return je},vr:function(){return Ht},qE:function(){return an},Je:function(){return re},wb:function(){return Le},cq:function(){return ft},tp:function(){return se}});var b=ee(59301),de={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP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j9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ze=({dataSource:Ge=[],img:Ot,imgWidth:_t=346,title:Vt,sunTitle:Wt,bannerExtraContent:Rn})=>b.createElement("div",{className:de.banner},b.createElement("div",{className:de.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,Vt),b.createElement("span",null,Wt)),Ge.length>0&&b.createElement("div",{className:de.btns},Ge.map((Bn,vt)=>b.createElement("div",{key:vt,onClick:Bn.click},Bn.name,Bn.sign?b.createElement("img",{src:Be,width:39}):null))),Rn),Ot&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:Ot,width:_t}))),ke={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},le=ee(92310),st=ee.n(le),et=ee(89392),je=({dataSource:Ge=[],value:Ot,onChange:_t,onTitleChange:Vt,className:Wt,title:Rn,titleWidth:Bn=41,style:vt={},fontColor:Ft="#6A7283",showCount:pt})=>{const[Sn,Wn]=(0,b.useState)(0),[An,ka]=(0,b.useState)(!1),pa=(0,b.useRef)(null),_n=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var Ea;Ge.length!==0&&(((Ea=pa==null?void 0:pa.current)==null?void 0:Ea.clientHeight)>97?Wn(1):Wn(0)),Ge.length===0&&Wn(0),ka(!1)},[Ge]),b.createElement("div",{className:st()(ke.row,Wt),style:vt},b.createElement("div",{onClick:(0,et.throttle)(()=>Vt==null?void 0:Vt(),2e3),style:{width:Bn,marginTop:An?12:4},className:`${ke.title} ${Vt?"current":""}`},Rn),b.createElement("div",{className:An?`${ke.tagsWrap} ${ke.tagsBorderWrap}`:ke.tagsWrap},b.createElement("div",{className:ke.bar,ref:_n,style:Sn>0?{height:Sn===1?97:"auto",overflow:Sn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:ke.tag,ref:pa},Ge==null?void 0:Ge.map(Ea=>b.createElement("span",{onClick:()=>_t(Ea.id),key:Ea.id,style:{color:Ft},className:Ot===Ea.id?ke.active:""},b.createElement("span",{title:Ea.name,className:ke.name},Ea.name),!!pt&&b.createElement("span",{className:ke.num},Ea.count))))),!!Sn&&b.createElement(b.Fragment,null,Sn===1?b.createElement("div",{onClick:()=>{var Ea;Wn(2),((Ea=pa==null?void 0:pa.current)==null?void 0:Ea.clientHeight)>245?ka(!0):ka(!1)},className:ke.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{_n.current.scrollTop=0,Wn(1),ka(!1)},className:ke.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Xe={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},se=({dataSource:Ge=[],value:Ot,onChange:_t,className:Vt,style:Wt={}})=>b.createElement("div",{style:Wt,className:st()(Xe.tabs,Vt)},Ge.map(Rn=>b.createElement("span",{onClick:()=>_t(Rn.id),className:Ot===Rn.id?Xe.active:"",key:Rn.id},Rn.name))),E={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},a=ee(92832),y=({dataSource:Ge=[],value:Ot="",onChange:_t,onInputChange:Vt=()=>{},className:Wt,style:Rn={},placeholder:Bn,allowClear:vt=!1})=>{var Ft;const[pt,Sn]=(0,b.useState)(""),[Wn,An]=(0,b.useState)("");(0,b.useEffect)(()=>{var _n;let Ea=Ot;(_n=JSON.stringify(Ot))!=null&&_n.includes("{")&&(Sn(Ot.id),Ea=Ot.value||"");try{An(decodeURIComponent(Ea||""))}catch(Pa){An(decodeURIComponent(Ea||""))}},[Ot]);const ka=()=>{_t(encodeURIComponent(Wn),pt||null)},pa=_n=>{_n!==pt&&(Sn(_n),_t(encodeURIComponent(Wn),_n))};return b.createElement("div",{className:st()(E.input,Wt),style:Rn},!!Ge.length&&b.createElement("div",{className:E.dropdown},b.createElement("div",{className:E.text},(Ft=Ge.find(_n=>_n.id===pt))==null?void 0:Ft.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:E.b1}),b.createElement("b",{className:E.b2})),b.createElement("div",{className:E.menu},Ge.map((_n,Ea)=>b.createElement("div",{key:Ea,onClick:()=>pa(_n.id)},_n.name)))),b.createElement(a.default,{onPressEnter:ka,value:Wn,onChange:_n=>{An(_n.target.value),Vt(encodeURIComponent(_n.target.value),pt||null)},bordered:!1,placeholder:Bn}),b.createElement("i",{onClick:ka,className:"iconfont icon-sousuo9 font14 pl10 current"}))},z={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},re=({value:Ge,onChange:Ot,className:_t,total:Vt,pageSize:Wt,style:Rn={}})=>{const Bn=Ge<2,vt=Ge>=Math.ceil(Vt/Wt);return Vt<=Wt?b.createElement(b.Fragment,null):b.createElement("div",{className:st()(z.quickPager,_t),style:Rn},b.createElement("div",{onClick:()=>{Bn||Ot(Ge-1,"prev")},className:Bn?z.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{vt||Ot(Ge+1,"next")},className:vt?z.disabled:""},"\u4E0B\u4E00\u9875"))},ue={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},oe=ee(71418),ve=ee(6848),be=ee(13570),We=ee(346),Ae=ee(51257),He=ee(96908),he=ee(57177),qe=ee(81378),Ke=ee(28426),Le=({className:Ge,dataSource:Ot=[],col:_t=4,right:Vt,bottom:Wt=23,precision:Rn=0,wrapWidth:Bn=1200,trackEventItems:vt,loading:Ft})=>{const pt=Math.floor((Bn-(_t-1)*Vt)/_t);return b.createElement(oe.Z,{spinning:Ft},b.createElement("div",{className:st()(ue.list,Ge)},!!Ot.length&&Ot.map((Sn,Wn)=>{const{name:An,id:ka,identifier:pa,power:_n,cover_image_id:Ea,pic:Pa}=Sn;return b.createElement("div",{className:ue.wrap,key:ka,style:{width:pt,marginRight:(1+Wn)%_t===0?0:Vt+Rn,marginBottom:Wt}},b.createElement("a",{target:"_blank",href:`/shixuns/${pa}/challenges`,className:ue.li,onClick:Dn=>{Dn.preventDefault(),vt&&(0,Ae.L9)([vt]),_n&&(0,Ae.xg)(`/shixuns/${pa}/challenges`)}},b.createElement("div",{className:ue.img},b.createElement("img",{className:ue.cover,src:`${Pa}`}),Sn.is_jupyter&&b.createElement("img",{className:ue.sign,src:He}),Sn.is_jupyter_lab&&b.createElement("img",{className:ue.sign,src:he}),Sn.is_unity_3d&&b.createElement("img",{className:ue.sign,src:qe})),b.createElement("div",{className:ue.name},b.createElement(ve.Z,{title:An||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:ue.e},An||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:ue.tags},b.createElement(ve.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,Sn.challenges_count))),!!Sn.myshixuns_count&&b.createElement(ve.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,Sn.myshixuns_count))),b.createElement(ve.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,Sn.level))),b.createElement("div",{className:ue.rate},b.createElement(be.Z,{allowHalf:!0,disabled:!0,defaultValue:Sn.score_info}),b.createElement("span",null,"\xA0",Sn.score_info?`${Sn.score_info}\u5206`:"5\u5206")))),!_n&&b.createElement("div",{className:ue.lockWrap},b.createElement("img",{src:`${We.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Ot.length&&b.createElement(Ke.Z,null)))},rt=ee(52843),ut={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},gt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYC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GFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",mt=ee(59301),Nt=({className:Ge,dataSource:Ot=[],col:_t=4,right:Vt,bottom:Wt=23,precision:Rn=0,wrapWidth:Bn=1200,trackEventItems:vt,loading:Ft})=>{const pt=Math.floor((Bn-(_t-1)*Vt)/_t);return mt.createElement(oe.Z,{spinning:Ft},mt.createElement("div",{className:st()(ut.list,Ge)},!!Ot.length&&Ot.map((Sn,Wn)=>{const{subject_identifier:An,id:ka,identifier:pa,power:_n}=Sn,Ea=Sn.is_public!=0&&Sn.is_public;return mt.createElement("div",{className:ut.wrap,key:ka,style:{width:pt,marginRight:(1+Wn)%_t===0?0:Vt+Rn,marginBottom:Wt}},mt.createElement("a",{className:ut.li,onClick:Pa=>{Pa.preventDefault(),vt&&(0,Ae.L9)([vt]),(0,Ae.xg)(Sn.first_category_url)}},mt.createElement("div",{className:ut.top},mt.createElement(ve.Z,{title:Sn.name},mt.createElement("div",{className:ut.name},Sn.name)),mt.createElement("img",{className:ut.img,src:We.Z.IMG_SERVER+"/images/"+Sn.avatar_url}),mt.createElement("div",{className:ut.text,title:Sn.creator},Sn.creator),An&&mt.createElement("div",{className:ut.btns},mt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),mt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ea&&mt.createElement("div",{className:ut.sign},"\u516C\u5F00")),mt.createElement("div",{className:ut.bottom},Sn.visits>0&&mt.createElement(ve.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},mt.createElement("span",null,mt.createElement("i",{className:"iconfont icon-liulanyan"}),mt.createElement("span",null,Sn.visits))),Sn.course_members_count>0&&mt.createElement(ve.Z,{title:"\u6210\u5458",placement:"bottom"},mt.createElement("span",null,mt.createElement("i",{className:"iconfont icon-chengyuan"}),Sn.course_members_count)),Sn.tasks_count>0&&mt.createElement(ve.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},mt.createElement("span",null,mt.createElement("i",{className:"iconfont icon-zuoye"}),Sn.tasks_count)),Sn.is_end?mt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):mt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Sn.is_accessible&&mt.createElement("div",{className:ut.lockWrap},mt.createElement("img",{src:`${We.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),mt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Ot.length&&mt.createElement(Ke.Z,null)))},rn={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"},nn=ee(25690),dt=({dataSource:Ge=[],value:Ot,onChange:_t,className:Vt,style:Wt={},tabBarExtraContent:Rn})=>b.createElement("div",{className:st()(rn.tabs,Vt),style:Wt},b.createElement("div",{className:rn.tabsWrap},Ge.map((Bn,vt)=>b.createElement("aside",{className:rn.tab,onClick:()=>{_t(Bn.id),Bn.link&&nn.history.push(Bn.link)},key:vt},b.createElement("div",{className:Ot===Bn.id?rn.active:""},Bn.name),(Bn==null?void 0:Bn.resetCount)==null&&(Bn==null?void 0:Bn.total)!==void 0&&b.createElement("span",null,"\uFF08",Bn==null?void 0:Bn.total,"\uFF09"),(Bn==null?void 0:Bn.resetCount)!==void 0&&(Bn==null?void 0:Bn.total)!==void 0&&b.createElement(ve.Z,{title:(Bn==null?void 0:Bn.tip)!=null?Bn==null?void 0:Bn.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},Bn==null?void 0:Bn.resetCount),"/",b.createElement("span",null,Bn==null?void 0:Bn.total),"\uFF09"))))),b.createElement("div",{className:rn.tabBar},Rn)),Vn=({className:Ge,style:Ot={},children:_t})=>b.createElement("div",{className:st()(Ge),style:Ot},_t),Zt={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},wn=ee(38854),ze=ee(20834);const ct=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ft=({sortValue:Ge,dropValue:Ot,className:_t,onSort:Vt,onDrop:Wt,dataSource:Rn=ct})=>{var Bn;return b.createElement("div",{className:st()(Zt.orderWrap,_t)},b.createElement(wn.Z,{dropdownRender:()=>b.createElement(ze.default,null,Rn.map((vt,Ft)=>b.createElement(ze.default.Item,{key:Ft,onClick:()=>Wt(vt.id)},vt.name)))},b.createElement("span",{className:Zt.orderTextWrap},(Bn=Rn.find(vt=>Ot===vt.id))==null?void 0:Bn.name)),b.createElement("span",{className:Zt.orderIconWrap},b.createElement("span",{className:Zt.orderAsc},b.createElement("i",{className:Ge==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer}`,onClick:()=>Vt(Ge==="asc"?"desc":"asc")})),b.createElement("span",{className:Zt.orderDesc},b.createElement("i",{className:Ge==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer}`,onClick:()=>Vt(Ge==="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"},it=ee(3113),nt=Object.defineProperty,De=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,It=(Ge,Ot,_t)=>Ot in Ge?nt(Ge,Ot,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Ge[Ot]=_t,Oe=(Ge,Ot)=>{for(var _t in Ot||(Ot={}))fe.call(Ot,_t)&&It(Ge,_t,Ot[_t]);if(De)for(var _t of De(Ot))Je.call(Ot,_t)&&It(Ge,_t,Ot[_t]);return Ge},Ie=(Ge,Ot)=>{var _t={};for(var Vt in Ge)fe.call(Ge,Vt)&&Ot.indexOf(Vt)<0&&(_t[Vt]=Ge[Vt]);if(Ge!=null&&De)for(var Vt of De(Ge))Ot.indexOf(Vt)<0&&Je.call(Ge,Vt)&&(_t[Vt]=Ge[Vt]);return _t},St=(Ge,Ot,_t)=>new Promise((Vt,Wt)=>{var Rn=Ft=>{try{vt(_t.next(Ft))}catch(pt){Wt(pt)}},Bn=Ft=>{try{vt(_t.throw(Ft))}catch(pt){Wt(pt)}},vt=Ft=>Ft.done?Vt(Ft.value):Promise.resolve(Ft.value).then(Rn,Bn);vt((_t=_t.apply(Ge,Ot)).next())}),Me=Ge=>{var Ot=Ge,{className:_t,style:Vt,children:Wt,loading:Rn=!1,openLoading:Bn,onClick:vt=()=>{},size:Ft="middle",shape:pt="round"}=Ot,Sn=Ie(Ot,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Wn,An]=(0,b.useState)(!1);return b.createElement(it.ZP,Oe({onClick:(0,et.throttle)(ka=>St(void 0,null,function*(){Bn&&An(!0);try{yield vt(ka)}catch(pa){console.log("error",pa)}Bn&&An(!1)}),2e3,{leading:!0,trailing:!1}),className:st()(At.btn,At[`${Ft}-${pt}`],_t),style:Vt,size:Ft,shape:pt,loading:Wn||Rn},Sn),Wt)},yt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},an=({className:Ge,style:Ot,children:_t=null,onClick:Vt,title:Wt})=>b.createElement("div",{className:st()(yt.head,Ge),style:Ot},b.createElement("span",{className:"primary-hover",onClick:Vt},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:Wt},Wt),b.createElement("div",{className:yt.node},_t)),cn={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},yn=({confirmShow:Ge=!0,confirmTitle:Ot,confirmClick:_t,cancelShow:Vt=!0,cancelTitle:Wt,cancelClick:Rn,className:Bn,style:vt,confirmLoading:Ft=!1})=>b.createElement("div",{className:st()(cn.btns,Bn),style:vt},Ge&&b.createElement(it.ZP,{loading:Ft,onClick:_t,type:"primary",className:cn.confirm},Ot),Vt&&b.createElement(it.ZP,{onClick:Rn,className:cn.cancel},Wt)),Te={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Ht=({className:Ge,style:Ot={},LeftContent:_t,children:Vt,RightContent:Wt})=>b.createElement("div",{className:st()(Te.fixedBottom,Ge),style:Ot},b.createElement("div",{className:Te.wrap},b.createElement("div",{className:Te.left},_t),b.createElement("div",{className:Te.center},Vt),b.createElement("div",{className:Te.right},Wt))),Bt={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"},dn=({className:Ge,style:Ot={},dataSource:_t=[]})=>b.createElement("div",{className:st()(Bt.crumbs,Ge),style:Ot},_t.map((Vt,Wt)=>Wt<_t.length-1?b.createElement(b.Fragment,{key:Wt},Vt.path||Vt.onClick?b.createElement("span",{className:Bt.hover,onClick:Vt!=null&&Vt.onClick?Vt.onClick:()=>nn.history.push(Vt.path)},Vt.name):b.createElement("span",null,Vt.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:Wt,style:{color:"#5F6368"}},Vt.name))),gn=ee(31797),Ln=Object.defineProperty,Jn=Object.defineProperties,va=Object.getOwnPropertyDescriptors,Da=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable,Ua=(Ge,Ot,_t)=>Ot in Ge?Ln(Ge,Ot,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Ge[Ot]=_t,fa=(Ge,Ot)=>{for(var _t in Ot||(Ot={}))Na.call(Ot,_t)&&Ua(Ge,_t,Ot[_t]);if(Da)for(var _t of Da(Ot))ar.call(Ot,_t)&&Ua(Ge,_t,Ot[_t]);return Ge},yr=(Ge,Ot)=>Jn(Ge,va(Ot)),en=(Ge,Ot)=>{var _t={};for(var Vt in Ge)Na.call(Ge,Vt)&&Ot.indexOf(Vt)<0&&(_t[Vt]=Ge[Vt]);if(Ge!=null&&Da)for(var Vt of Da(Ge))Ot.indexOf(Vt)<0&&ar.call(Ge,Vt)&&(_t[Vt]=Ge[Vt]);return _t};const{Countdown:On}=gn.default;var xa=Ge=>{var Ot=Ge,{onChange:_t}=Ot,Vt=en(Ot,["onChange"]);const[Wt,Rn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof Wt=="number"&&Wt>=0&&_t(Wt)},[Wt]);const Bn=vt=>{const Ft=Math.floor(vt/1e3);Rn(Ft)};return b.createElement(On,yr(fa({},Vt),{onChange:Bn}))}},37808:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return de}});var b=ee(59301);function de(Be,Ne){const Ze=(0,b.useRef)();(0,b.useEffect)(()=>{Ze.current=Be}),(0,b.useEffect)(()=>{function ke(){Ze.current()}if(Ne!==null){let le=setInterval(ke,Ne);return()=>clearInterval(le)}},[Ne])}},23108:function(Qt,Gt,ee){"use strict";ee.r(Gt),ee.d(Gt,{default:function(){return Zr}});var b=ee(59301),de=ee(25690),Be=ee(78241),Ne=ee(8591),Ze=ee(66104),ke=ee(92832),le=ee(19842),st=ee(24905),et=ee(5112),Ve=ee(5871),je=ee(3113),Xe={flex_box_center:"flex_box_center___aPGWN",flex_space_between:"flex_space_between___MQNX5",flex_box_vertical_center:"flex_box_vertical_center___Z7QdK",flex_box_center_end:"flex_box_center_end___JQl5O",flex_box_column:"flex_box_column___IhYhx",bg:"bg___Kg8x_",title:"title___UhsVG",titleLeft:"titleLeft___NPVwn",titleRight:"titleRight___UGtmZ",formWrap:"formWrap___Jowb2",baseLineHeight:"baseLineHeight___N68WX",radioBtnWrapper:"radioBtnWrapper___bX7Pi",radiogroup:"radiogroup___ukf8u",easy:"easy___ZHYPU",medium:"medium___piewx",hard:"hard___HMXyt",selectdiv:"selectdiv___gkuBG",divitem:"divitem___vNm0q",bottmodiv:"bottmodiv___assW5",cancelBtn:"cancelBtn___Nl6Pi",confirmBtn:"confirmBtn___BNoFU",baseFormItem:"baseFormItem___ILZ2V",cascaderPopup:"cascaderPopup___QPxW3",addQuestionBtn:"addQuestionBtn___OjehS",concat:"concat___kliXB"},Ye=ee(43418),se=ee(5083),E=ee(61186),a=ee.n(E),x=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())});const y=({user:ce,dispatch:pe,classroomList:Pe,onModalOk:Lt,setsubloading:tn})=>{const wa=(0,de.useParams)(),[ma,Hn]=(0,b.useState)(),[jt,Yn]=(0,b.useState)(!1);function xn(Ct){return Ct&&Ct<a()().subtract(1,"days")}return b.createElement(Ye.default,{title:"\u6E29\u99A8\u63D0\u793A",afterClose:()=>{Yn(!1)},zIndex:8888,destroyOnClose:!0,footer:null,maskClosable:!1,keyboard:!1,open:Pe.actionTabs.key==="\u9884\u7EA6\u5F39\u7A97",onCancel:()=>{if(jt){Ne.ZP.warning("\u6B63\u5728\u8BF7\u6C42\u6570\u636E\u4E2D...");return}tn(!1),pe({type:"classroomList/setActionTabs",payload:{}})}},b.createElement("div",null,b.createElement("span",null,"EduCoder\u6CE8\u610F\u5230\u60A8\u7684\u8BFE\u5802\u4E2D\u5B66\u751F\u4EBA\u6570\u8F83\u591A\u3002\u4E3A\u66F4\u597D\u5730\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u670D\u52A1\uFF0C\u7ED9\u540C\u5B66\u4EEC\u5E26\u6765\u66F4\u597D\u7684\u8003\u8BD5\u4F53\u9A8C\uFF0C\u6211\u4EEC\u5C06\u63D0\u524D\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u51C6\u5907\u597D\u670D\u52A1\u5668\u8D44\u6E90\u3002 \u8BF7\u60A8\u544A\u77E5\u6211\u4EEC\uFF0C\u8FD9\u4EFD\u8BD5\u5377\u7684\u9884\u8BA1\u8003\u8BD5\u65F6\u95F4\u662F\uFF1A"),b.createElement("br",null),b.createElement(se.default,{popupStyle:{zIndex:9999},style:{marginTop:"10px",marginBottom:"10px"},disabledDate:xn,format:"YYYY-MM-DD HH:mm:ss",onChange:(Ct,mn)=>{Hn(mn)},showTime:{defaultValue:a()("00:00:00","HH:mm:ss")}}),b.createElement("br",null),b.createElement("span",null,"\u611F\u8C22\u60A8\u7684\u914D\u5408"),b.createElement("br",null),b.createElement("div",{style:{textAlign:"end"}},b.createElement(je.ZP,{loading:jt,type:"primary",onClick:()=>x(void 0,null,function*(){Yn(!0),Lt(ma,()=>{pe({type:"classroomList/setActionTabs",payload:{}})})})},"\u786E\u8BA4"))))};var z=(0,de.connect)(({user:ce,classroomList:pe})=>({user:ce,classroomList:pe}))(y),ne=ee(38986),re=ee(32134),ue=ee(12893),oe={wrap:"wrap___Ww0Ti",itemWarp:"itemWarp___LMLjd",addIcon:"addIcon___xmRLl",deleteIcon:"deleteIcon___gjwgO"},ve=ee(57809),be=Object.defineProperty,We=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,he=(ce,pe,Pe)=>pe in ce?be(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,qe=(ce,pe)=>{for(var Pe in pe||(pe={}))Ae.call(pe,Pe)&&he(ce,Pe,pe[Pe]);if(We)for(var Pe of We(pe))He.call(pe,Pe)&&he(ce,Pe,pe[Pe]);return ce},Ke=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())}),Le=({setitem:ce,item:pe,rz:Pe})=>{var Lt,tn,wa,ma,Hn,jt,Yn,xn;let[Ct,mn]=(0,b.useState)({zydatas:[],jbdatas:[],kcdatas:[],zsdatas:[],page:1,per_page:20});const[In]=Be.default.useForm(),[oa,zn]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Pe&&!oa&&(Ct.zydatas=Pe,mn(qe({},Ct)),zn(!0),pe!=null&&pe.ec_course_id&&ba())},[pe,Pe,oa]),console.log(Ct,"params");function ba(){return Ke(this,null,function*(){yield ta(pe==null?void 0:pe.ec_major_school_id),yield ia(pe==null?void 0:pe.ec_year_id),yield Ka(pe==null?void 0:pe.ec_course_id),In.setFieldsValue({ec_course_id:pe==null?void 0:pe.ec_course_id,ec_major_school_id:pe==null?void 0:pe.ec_major_school_id,ec_point_ids:pe==null?void 0:pe.ec_point_ids,ec_year_id:pe==null?void 0:pe.ec_year_id})})}function ta(Pn){return Ke(this,null,function*(){const ya=yield(0,ne.ZP)(`/api/ec_major_schools/${Pn}/ec_years/get_year_list.json`,{method:"get"});Ct.jbdatas=ya==null?void 0:ya.data,mn(qe({},Ct)),In.setFieldsValue({ec_year_id:"",ec_course_id:"",ec_point_ids:[]})})}function ia(Pn){return Ke(this,null,function*(){const ya=yield(0,ne.ZP)(`/api/ec_years/${Pn}/ec_courses/get_courses.json`,{method:"get"});Ct.kcdatas=ya==null?void 0:ya.data,mn(qe({},Ct)),In.setFieldsValue({ec_course_id:"",ec_point_ids:[]})})}const Ka=Pn=>Ke(void 0,null,function*(){const ya=yield(0,ne.ZP)(`/api/ec_courses/${Pn}/ec_points.json`,{method:"get",params:{ec_course_id:Pn}});Ct.zsdatas=ya==null?void 0:ya.data,mn(qe({},Ct))});return b.createElement("div",{className:oe.from},b.createElement(Be.default,{form:In,layout:"inline",onValuesChange:Pn=>{console.log("----",Pn),Pn.ec_major_school_id&&(Ct.jbdatas=[],Ct.kcdatas=[],Ct.zsdatas=[],mn(qe({},Ct)),ta(Pn.ec_major_school_id)),Pn.ec_year_id&&(Ct.kcdatas=[],Ct.zsdatas=[],mn(qe({},Ct)),ia(Pn.ec_year_id)),Pn.ec_course_id&&(Ct.zsdatas=[],mn(qe({},Ct)),Ka(Pn.ec_course_id))},onFinish:Pn=>Ke(void 0,null,function*(){ce(Pn)})},b.createElement(Be.default.Item,{name:"ec_major_school_id"},b.createElement(ve.default,{style:{width:160},disabled:((Lt=Ct.zydatas)==null?void 0:Lt.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A"},(tn=Ct==null?void 0:Ct.zydatas)==null?void 0:tn.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.ec_major_school_id},Pn==null?void 0:Pn.name)))),b.createElement(Be.default.Item,{name:"ec_year_id"},b.createElement(ve.default,{style:{width:160},disabled:((wa=Ct.jbdatas)==null?void 0:wa.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u5C4A\u522B"},(ma=Ct==null?void 0:Ct.jbdatas)==null?void 0:ma.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.ec_year_id},Pn==null?void 0:Pn.year)))),b.createElement(Be.default.Item,{name:"ec_course_id"},b.createElement(ve.default,{style:{width:208},disabled:((Hn=Ct.kcdatas)==null?void 0:Hn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B"},(jt=Ct==null?void 0:Ct.kcdatas)==null?void 0:jt.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.id},Pn==null?void 0:Pn.name)))),b.createElement(Be.default.Item,{name:"ec_point_ids"},b.createElement(ve.default,{onChange:()=>{In.submit()},style:{width:160},maxTagCount:1,maxTagTextLength:7,mode:"multiple",disabled:((Yn=Ct.zsdatas)==null?void 0:Yn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"},(xn=Ct==null?void 0:Ct.zsdatas)==null?void 0:xn.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.id},Pn==null?void 0:Pn.name))))))},rt=Object.defineProperty,ut=Object.defineProperties,gt=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,un=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,rn=(ce,pe,Pe)=>pe in ce?rt(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,nn=(ce,pe)=>{for(var Pe in pe||(pe={}))un.call(pe,Pe)&&rn(ce,Pe,pe[Pe]);if(mt)for(var Pe of mt(pe))Nt.call(pe,Pe)&&rn(ce,Pe,pe[Pe]);return ce},Ue=(ce,pe)=>ut(ce,gt(pe)),dt=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())});const on=({user:ce,exercise_id:pe=null,homework_common_id:Pe=null,setitem:Lt})=>{var tn,wa,ma;let[Hn,jt]=(0,b.useState)([{id:Math.random()}]),[Yn,xn]=(0,b.useState)(null);function Ct(){return dt(this,null,function*(){var In,oa,zn,ba;let ta=yield(0,ne.ZP)("/api/ec_courses/0/ec_points/get_work_points.json",{method:"get",params:{exercise_id:pe,homework_common_id:Pe}});if(((In=ta==null?void 0:ta.data)==null?void 0:In.length)>0){let ia=[];(oa=ta==null?void 0:ta.data)==null||oa.map(Ka=>{var Pn;(Pn=Ka==null?void 0:Ka.ec_point_ids)==null||Pn.map(ya=>{ia.push(ya)})}),Lt(Ue(nn({},(zn=ta==null?void 0:ta.data)==null?void 0:zn[0]),{ec_point_ids:ia})),jt((ba=ta==null?void 0:ta.data)==null?void 0:ba.map(Ka=>Ue(nn({},Ka),{id:Math.random()})))}})}(0,b.useEffect)(()=>{var In,oa;(oa=(In=ce==null?void 0:ce.userInfo)==null?void 0:In.course)!=null&&oa.course_school_id&&mn()},[(wa=(tn=ce==null?void 0:ce.userInfo)==null?void 0:tn.course)==null?void 0:wa.course_school_id]);function mn(){return dt(this,null,function*(){var In,oa;const zn=yield(0,ne.ZP)(`/api/schools/${(oa=(In=ce==null?void 0:ce.userInfo)==null?void 0:In.course)==null?void 0:oa.course_school_id}/ec_majors/get_major_list.json`,{method:"get"});xn(zn==null?void 0:zn.data),(Pe||pe)&&Ct()})}return console.log(Hn,Yn,"datas"),b.createElement("div",{style:{display:(ma=ce.userInfo.course)!=null&&ma.is_openengineering?"":"none"}},b.createElement("div",{className:oe.wrap},b.createElement("p",null,"\u5DE5\u7A0B\u8BA4\u8BC1",b.createElement("br",null),"\u8003\u6838\u77E5\u8BC6\u70B9"),b.createElement("div",{className:oe.itemWarp},Hn==null?void 0:Hn.map((In,oa)=>b.createElement("div",{key:In.id,style:{display:"flex",alignItems:"center",marginBottom:20}},b.createElement(Le,{rz:Yn,item:In,setitem:zn=>{zn=nn(nn({},Hn==null?void 0:Hn[oa]),zn),Hn.splice(oa,1,zn),jt([...Hn]);let ba=[];Hn==null||Hn.map(ta=>{var ia;(ia=ta==null?void 0:ta.ec_point_ids)==null||ia.map(Ka=>{ba.push(Ka)})}),Lt(Ue(nn({},zn),{ec_point_ids:ba}))}}),b.createElement(re.Z,{className:oe.addIcon,onClick:()=>{Hn.push({id:Math.random()}),jt([...Hn])}}),oa!=0&&b.createElement(ue.Z,{className:oe.deleteIcon,onClick:()=>{Hn.splice(oa,1);let zn=[];Hn==null||Hn.map(ba=>{var ta;(ta=ba==null?void 0:ba.ec_point_ids)==null||ta.map(ia=>{zn.push(ia)})}),Lt(Ue(nn({},Hn[oa-1]),{ec_point_ids:zn})),jt([...Hn])}}))))))};var Vn=(0,de.connect)(({user:ce})=>({user:ce}))(on),Zt=ee(20834),wn=ee(71418),ze=ee(38854),ct=ee(6848),kt=ee(43428),ft={flex_box_center:"flex_box_center___zCnVx",flex_space_between:"flex_space_between___BBiQD",flex_box_vertical_center:"flex_box_vertical_center___KzPui",flex_box_center_end:"flex_box_center_end___zJokd",flex_box_column:"flex_box_column___Grsys",moreSpan:"moreSpan___VJeLv",bg:"bg___oBBHW",title:"title___xV4Rt",bottomdiv:"bottomdiv___rPfwr",spanBtn:"spanBtn___eJxID",addQuestionBtn:"addQuestionBtn___RPRiP",saveBtn:"saveBtn___y9nNf",left:"left___Q3Qf4",leftAction:"leftAction___GT9yG",Button:"Button___r00OP",iconWrapper:"iconWrapper___wofW_",up:"up___a9RQm",down:"down___x6RAl",disabled:"disabled___mkEME",titleleft:"titleleft___WZ83K",more_style:"more_style___ZXYnN",qcount:"qcount___o6F1k",score:"score___Gy6jr",qtitle:"qtitle___KF7pa",qcountclick:"qcountclick___kvoyc",right:"right___Nfa70",edit:"edit___RVRSb",delete:"delete___J9BAT",yuanti:"yuanti___ljq8l",tianjia:"tianjia___s7Zu2",shixun:"shixun___YkjdZ",scoreByBlankRadio:"scoreByBlankRadio___QYQY5",modalconfirm:"modalconfirm___dmWFe",scoremodal:"scoremodal___CDA7w",close:"close___jdUWv",content:"content___HPqUf",items:"items___YkyQL",bottom:"bottom___mzpp4",yes:"yes___Xio6z",no:"no___hbicD",formcenter:"formcenter___kN8Ax",radiogroup:"radiogroup___htjtc",easy:"easy____g1mR",medium:"medium___vPAsn",hard:"hard___c6tcf",formcenterselect:"formcenterselect___B88vb",selectitems1:"selectitems1___Dzpho",selectitems:"selectitems___wUGKF",morebottom:"morebottom___F5cFQ",scoreinput:"scoreinput___S9Fbv",shake:"shake___IYp2E",titleTooltip:"titleTooltip___J0i26",exercise_styles:"exercise_styles___BJAZm"},At=ee(51257),it=ee(28426),nt=ee(70100),De=ee(57985),fe=ee(91842),Je=ee(59301),It=Object.defineProperty,Oe=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,yt=(ce,pe,Pe)=>pe in ce?It(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Fn=(ce,pe)=>{for(var Pe in pe||(pe={}))at.call(pe,Pe)&&yt(ce,Pe,pe[Pe]);if(St)for(var Pe of St(pe))Me.call(pe,Pe)&&yt(ce,Pe,pe[Pe]);return ce},an=(ce,pe)=>Oe(ce,Ie(pe)),cn=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())}),yn=({Itemid:ce,setqitem:pe,qitem:Pe,data:Lt,getdata:tn,bigitem:wa,setBigqitem:ma,isedit:Hn,handleEditing:jt})=>{const[Yn,xn]=(0,b.useState)([]),[Ct,mn]=(0,b.useState)(!1),In=(zn,ba,ta)=>{const ia=Array.from(zn),[Ka]=ia.splice(ba,1);return ia.splice(ta,0,Ka),ia};(0,b.useEffect)(()=>{Lt.length>0&&xn([...Lt])},[Lt]);const oa=(zn,ba)=>cn(void 0,null,function*(){if(!zn.destination)return;if(Hn){jt();return}const ta=In(ba,zn.source.index,zn.destination.index);mn(!0);let ia=yield(0,ne.ZP)(`/api/exercises/${ce}/adjust_position.json`,{method:"post",body:{id:ce,question_ids:ta==null?void 0:ta.map(Ka=>Ka.question_id)}});mn(!1),ia.status===0&&tn({id:ba==null?void 0:ba[zn.source.index].question_id})});return Je.createElement("div",null,Je.createElement(De.Z5,{onDragEnd:zn=>oa(zn,Yn)},Je.createElement(De.bK,{droppableId:"droppable"},(zn,ba)=>Je.createElement("div",Fn({ref:zn.innerRef},zn.droppableProps),Je.createElement(wn.Z,{spinning:Ct},Yn.map((ta,ia)=>Je.createElement(De._l,{key:ia,draggableId:ia.toString(),index:ia},(Ka,Pn)=>{var ya,ja;return Je.createElement("aside",Fn(Fn({ref:Ka.innerRef},Ka.draggableProps),Ka.dragHandleProps),Je.createElement(ct.Z,{title:Je.createElement(fe.Z,{value:(ta==null?void 0:ta.question_type)===8?(ya=ta==null?void 0:ta.program_attr)==null?void 0:ya.description:ta.question_title}),color:"#fff",placement:"left",overlayClassName:ft.titleTooltip},Je.createElement("div",{onClick:()=>{if(Hn){jt();return}pe(an(Fn({},ta),{index:ia+1})),ma(wa),(0,At.Vf)("#question-scroll-id")},className:`${ft.qcount} ${ta.question_id===(Pe==null?void 0:Pe.question_id)?ft.qcountclick:""}`},Je.createElement("span",{className:ft.score},ta==null?void 0:ta.question_score,"\u5206"),Je.createElement("span",{className:ft.qtitle},ia+1,"\u3001",Je.createElement(fe.Z,{value:(ta==null?void 0:ta.question_type)===8?(ja=ta==null?void 0:ta.program_attr)==null?void 0:ja.description:ta.question_title,showTextOnly:!0})))))}))),zn.placeholder))))},Te=ee(95237),xt=ee(81727),Ht=ee(78673),Bt=ee(61485),Mt=ee(22962),dn=ee(59301),gn=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())}),Jn=({form:ce,TagDiscipline:pe,exerciseitem:Pe,qitem:Lt,getTagData:tn})=>{var wa;const[ma,Hn]=(0,b.useState)(!0),[jt,Yn]=(0,b.useState)(!1),[xn,Ct]=(0,b.useState)(""),[mn,In]=(0,b.useState)([]),[oa,zn]=(0,b.useState)([]),[ba,ta]=(0,b.useState)(0);(0,b.useEffect)(()=>{Ka()},[]);const ia=Pn=>gn(void 0,null,function*(){const ya=yield(0,ne.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:Pn==null?void 0:Pn.sub_discipline_id}});zn(ya==null?void 0:ya.tag_disciplines)}),Ka=()=>gn(void 0,null,function*(){const Pn=yield(0,ne.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});In(Pn.disciplines||[]),Lt!=null&&Lt.sub_discipline_id&&ia(Lt),ta(Lt!=null&&Lt.sub_discipline_id?1:0),ce.setFieldsValue({difficulty:Lt.difficulty||2,tag_discipline_ids:Lt.tag_discipline_ids,repeat_answer:!Lt.repeat_answer,sub_discipline_id:Lt!=null&&Lt.sub_discipline_id?[Lt==null?void 0:Lt.discipline_id,Lt==null?void 0:Lt.sub_discipline_id]:[]})});return dn.createElement("div",null,dn.createElement("div",{style:{marginTop:30,height:ma?"100%":"0px",overflow:"hidden"}},dn.createElement(Be.default.Item,{className:ft.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},dn.createElement(et.ZP.Group,{className:ft.radiogroup},dn.createElement(et.ZP.Button,{className:ft.easy,value:1},"\u7B80\u5355"),dn.createElement(et.ZP.Button,{className:ft.medium,value:2},"\u9002\u4E2D"),dn.createElement(et.ZP.Button,{className:ft.hard,value:3},"\u56F0\u96BE"))),dn.createElement(Be.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:ft.formcenterselect},dn.createElement(le.Z,{className:ft.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:mn,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(Pn,ya)=>{ce.setFieldsValue({sub_discipline_id:Pn,tag_discipline_ids:[]}),ta(Pn?Pn.length:0),(Pn==null?void 0:Pn.length)>0&&(ia({sub_discipline_id:Pn[1]}),Pn[1]==(Lt==null?void 0:Lt.sub_discipline_id)&&ce.setFieldValue("tag_discipline_ids",Lt.tag_discipline_ids))},onClear:()=>{zn([]),ce.setFieldValue("tag_discipline_ids",[]),ta(0)}})),dn.createElement(Be.default.Item,{className:ft.formcenterselect},dn.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},dn.createElement(Be.default.Item,{name:"tag_discipline_ids"},dn.createElement(ve.default,{className:ft.selectitems,disabled:ba===0,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",listHeight:200,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",dropdownStyle:{zIndex:9},allowClear:!0,optionFilterProp:"children",filterOption:(Pn,ya)=>ya.key.indexOf(Pn.toLowerCase())>=0},oa==null?void 0:oa.map(Pn=>dn.createElement(ve.default.Option,{key:Pn.name+Pn.id,value:Pn.id},dn.createElement("div",{style:{display:"flex",alignItems:"center"}},dn.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Pn.name),(Pn==null?void 0:Pn.type)==="personal"&&dn.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),ba>0&&dn.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},dn.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),dn.createElement("a",{onClick:()=>{Yn(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),dn.createElement(Be.default.Item,{className:ft.formcenterselect},dn.createElement("div",{style:{display:"flex",alignItems:"center"}},dn.createElement(Be.default.Item,{name:"repeat_answer",valuePropName:"checked"},dn.createElement(Ht.Z,null)),dn.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"48px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",dn.createElement(ct.Z,{placement:"right",title:"\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u4F5C\u7B54\u5B8C\u6210\u8BE5\u9898\u5E76\u8FDB\u5165\u4E0B\u4E00\u9898\u4E4B\u540E\uFF0C\u4E0D\u5141\u8BB8\u518D\u4FEE\u6539\u8BE5\u9898\u7B54\u6848"},dn.createElement(Bt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),dn.createElement(Mt.Z,{open:jt,subDisciplineId:(wa=ce.getFieldValue("sub_discipline_id"))==null?void 0:wa[1],onCancel:()=>{Yn(!1)},onOkClick:Pn=>{zn(ya=>[...ya,Pn]),ce.setFieldValue("tag_discipline_ids",[...ce.getFieldValue("tag_discipline_ids"),Pn==null?void 0:Pn.id])}}))},va=ee(59301),Da=Object.defineProperty,Na=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,Ua=Object.getOwnPropertySymbols,fa=Object.prototype.hasOwnProperty,yr=Object.prototype.propertyIsEnumerable,en=(ce,pe,Pe)=>pe in ce?Da(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,On=(ce,pe)=>{for(var Pe in pe||(pe={}))fa.call(pe,Pe)&&en(ce,Pe,pe[Pe]);if(Ua)for(var Pe of Ua(pe))yr.call(pe,Pe)&&en(ce,Pe,pe[Pe]);return ce},la=(ce,pe)=>Na(ce,ar(pe)),xa=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())}),Ot=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Lt,seveeditor:tn,deleteitem:wa,getTagData:ma,init:Hn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm();(0,b.useEffect)(()=>{var mn;xn.setFieldsValue(la(On({},ce),{name:ce==null?void 0:ce.question_title,choices:(mn=ce==null?void 0:ce.question_choices)==null?void 0:mn.map(In=>la(On({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)}))},[ce]);const Ct=mn=>{if(!(mn!=null&&mn.length))return!1;const In=mn.map(zn=>{var ba;return(ba=zn.choice_text)==null?void 0:ba.trim().replace(/^\s+|\s+$/g,"")});return new Set(In).size!==In.length};return va.createElement("div",null,va.createElement(Be.default,{form:xn,colon:!1,onFinish:mn=>{var In,oa,zn,ba,ta;if(Ct(mn.choices)){Ne.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}let ia=(oa=(In=mn==null?void 0:mn.choices)==null?void 0:In.map)==null?void 0:oa.call(In,(Pn,ya)=>{if((Pn==null?void 0:Pn.standard_boolean)===1)return ya+1}),Ka=la(On({},mn),{item_type:ce==null?void 0:ce.question_type,question_choices:(ba=(zn=mn==null?void 0:mn.choices)==null?void 0:zn.map)==null?void 0:ba.call(zn,Pn=>Pn.choice_text),standard_answers:ia.filter(Pn=>Pn),choices:(ta=mn==null?void 0:mn.choices)==null?void 0:ta.map(Pn=>la(On({},Pn),{is_answer:Pn.standard_boolean}))});tn(On(On({},ce),Ka))},onFinishFailed:mn=>xa(void 0,null,function*(){var In,oa;Ne.ZP.error(mn.errorFields[0].errors[0]),xn.scrollToField((oa=(In=mn==null?void 0:mn.errorFields)==null?void 0:In[0])==null?void 0:oa.name,{behavior:"smooth",block:"center"})})},va.createElement("div",{style:{display:"flex",alignItems:"center"}},va.createElement("div",{style:{flex:1}},va.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),va.createElement("span",null,(ce==null?void 0:ce.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),((Yn=Lt==null?void 0:Lt.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&va.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},va.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),va.createElement(je.ZP,{onClick:()=>{var mn;ce.isadd?(pe(!1),Hn()):(xn.setFieldsValue(la(On({},ce),{name:ce==null?void 0:ce.question_title,choices:(mn=ce==null?void 0:ce.question_choices)==null?void 0:mn.map(In=>la(On({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),pe(!1))}},"\u53D6\u6D88"),va.createElement(ct.Z,{overlayClassName:ft.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:va.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},va.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},va.createElement(je.ZP,{type:"primary",className:"ml20",onClick:()=>xa(void 0,null,function*(){xn.submit()})},"\u4FDD\u5B58"))),va.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},va.createElement(Te.Z,{align:"middle"},va.createElement(Be.default.Item,{className:ft.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},va.createElement(Ve.Z,{onBlur:mn=>{mn.target.value==="0"&&Ne.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1}))),va.createElement(xt.u,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",titleKey:"question_title",choiceKey:"choices",analysisKey:"analysis",choiceOptionsPath:"choices",choiceTextKey:"choice_text",answerKey:"standard_boolean"}),va.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Lt,TagDiscipline:Pe,form:xn}))))},_t=ee(92046),Vt=ee(74716),Wt=ee(59301),Rn=Object.defineProperty,Bn=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,Ft=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,Wn=(ce,pe,Pe)=>pe in ce?Rn(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,An=(ce,pe)=>{for(var Pe in pe||(pe={}))pt.call(pe,Pe)&&Wn(ce,Pe,pe[Pe]);if(Ft)for(var Pe of Ft(pe))Sn.call(pe,Pe)&&Wn(ce,Pe,pe[Pe]);return ce},ka=(ce,pe)=>Bn(ce,vt(pe)),pa=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())}),Ea=({qitem:ce,TagDiscipline:pe,exerciseitem:Pe,setisedit:Lt,seveeditor:tn,deleteitem:wa,getTagData:ma,init:Hn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm(),Ct=Be.default.useWatch("use_blank_score",xn);return(0,b.useEffect)(()=>{xn.setFieldsValue(ka(An({},ce),{standard_answers:ce.standard_answers||[],name:ce.question_title,repeat_answer:!ce.repeat_answer}))},[ce]),Wt.createElement("div",null,Wt.createElement(Be.default,{form:xn,colon:!1,onValuesChange:(mn,In)=>{var oa,zn,ba,ta;if(mn!=null&&mn.standard_answers||mn!=null&&mn.use_blank_score){let ia=((oa=xn.getFieldValue("standard_answers"))==null?void 0:oa.length)>0&&((ba=(zn=xn.getFieldValue("standard_answers"))==null?void 0:zn.map(Ka=>Ka.score))==null?void 0:ba.filter(Ka=>Ka));(ia==null?void 0:ia.length)>0&&xn.setFieldsValue({question_score:(ia==null?void 0:ia.length)>0&&((ta=ia.reduce((Ka,Pn)=>Ka+Pn))==null?void 0:ta.toFixed(1))})}},onFinish:mn=>{tn(ka(An(An({},ce),mn),{item_type:ce==null?void 0:ce.question_type,standard_answers:mn.standard_answers,question_title:mn.name}))},onFinishFailed:mn=>pa(void 0,null,function*(){var In,oa;mn.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,At.pE)(),Ne.ZP.error(mn.errorFields[0].errors[0]),xn.scrollToField((oa=(In=mn==null?void 0:mn.errorFields)==null?void 0:In[0])==null?void 0:oa.name,{behavior:"smooth",block:"center"})})},Wt.createElement("div",{style:{display:"flex",alignItems:"center"}},Wt.createElement("div",{style:{flex:1}},Wt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Wt.createElement("span",null,"\u586B\u7A7A\u9898")),((Yn=Pe==null?void 0:Pe.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Wt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Wt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Wt.createElement(je.ZP,{onClick:()=>{ce.isadd?(Lt(!1),Hn()):(xn.setFieldsValue(ka(An({},ce),{standard_answers:ce.standard_answers||[],name:ce.question_title,repeat_answer:!ce.repeat_answer})),Lt(!1))}},"\u53D6\u6D88"),Wt.createElement(ct.Z,{overlayClassName:ft.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Wt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Wt.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Wt.createElement(je.ZP,{type:"primary",className:"ml20",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Wt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Wt.createElement(Te.Z,{align:"middle"},Ct?Wt.createElement(Vt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):Wt.createElement(Be.default.Item,{key:2,className:ft.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Wt.createElement(Ve.Z,{onBlur:mn=>{mn.target.value==="0"&&Ne.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle",max:100,min:.1})),Wt.createElement(Be.default.Item,{name:"use_blank_score",noStyle:!0},Wt.createElement(et.ZP.Group,{className:ft.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),Wt.createElement(ct.Z,{overlayInnerStyle:{width:460},title:Wt.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",Wt.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},Wt.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),Wt.createElement(_t.u,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:Ct,answerKey:"standard_answers"}),Wt.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Pe,TagDiscipline:pe,form:xn}))))},Pa=ee(14289),Dn=ee(59301),lr=Object.defineProperty,Nr=Object.defineProperties,$r=Object.getOwnPropertyDescriptors,Sr=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,Xt=(ce,pe,Pe)=>pe in ce?lr(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Nn=(ce,pe)=>{for(var Pe in pe||(pe={}))$e.call(pe,Pe)&&Xt(ce,Pe,pe[Pe]);if(Sr)for(var Pe of Sr(pe))bn.call(pe,Pe)&&Xt(ce,Pe,pe[Pe]);return ce},Kn=(ce,pe)=>Nr(ce,$r(pe)),ua=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())}),$n=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Lt,seveeditor:tn,deleteitem:wa,getTagData:ma,init:Hn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm();return(0,b.useEffect)(()=>{var Ct;xn.setFieldsValue(Kn(Nn({},ce),{name:ce.question_title,repeat_answer:!ce.repeat_answer,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(mn=>Kn(Nn({},mn),{is_answer:mn!=null&&mn.standard_boolean?1:0}))}))},[ce]),Dn.createElement("div",null,Dn.createElement(Be.default,{form:xn,colon:!1,onFinish:Ct=>{var mn,In,oa,zn;let ba=(In=(mn=Ct==null?void 0:Ct.choices)==null?void 0:mn.map)==null?void 0:In.call(mn,(ta,ia)=>{if((ta==null?void 0:ta.is_answer)===1)return ia+1});tn(Kn(Nn(Nn({},ce),Ct),{question_title:Ct.name,standard_answers:ba.filter(ta=>ta),question_choices:(zn=(oa=Ct==null?void 0:Ct.choices)==null?void 0:oa.map)==null?void 0:zn.call(oa,ta=>ta.choice_text)}))},onFinishFailed:Ct=>ua(void 0,null,function*(){var mn,In;Ne.ZP.error(Ct.errorFields[0].errors[0]),xn.scrollToField((In=(mn=Ct==null?void 0:Ct.errorFields)==null?void 0:mn[0])==null?void 0:In.name,{behavior:"smooth",block:"center"})})},Dn.createElement("div",{style:{display:"flex",alignItems:"center"}},Dn.createElement("div",{style:{flex:1}},Dn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Dn.createElement("span",null,"\u5224\u65AD\u9898")),((Yn=Lt==null?void 0:Lt.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Dn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Dn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Dn.createElement(je.ZP,{onClick:()=>{var Ct;ce.isadd?(pe(!1),Hn()):(xn.setFieldsValue(Kn(Nn({},ce),{name:ce.question_title,repeat_answer:!ce.repeat_answer,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(mn=>Kn(Nn({},mn),{is_answer:mn!=null&&mn.standard_boolean?1:0}))})),pe(!1))}},"\u53D6\u6D88"),Dn.createElement(ct.Z,{overlayClassName:ft.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Dn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Dn.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Dn.createElement(je.ZP,{type:"primary",className:"ml20",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Dn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Dn.createElement(Be.default.Item,{className:ft.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Dn.createElement(Ve.Z,{onBlur:Ct=>{Ct.target.value==="0"&&Ne.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),Dn.createElement(Pa.Z,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),Dn.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Lt,TagDiscipline:Pe,form:xn}))))},ur=ee(36381),da={wrap:"wrap___m6v_p",deleteIcon:"deleteIcon___hdYRw",keywordTag:"keywordTag___BLtdn",questionTitleEditorWrap:"questionTitleEditorWrap___fdaK7",choiceWrap:"choiceWrap___wkyUO",choiceIndex:"choiceIndex___tExMq",judgementIndex:"judgementIndex___RMhzJ",setAnswerBtn:"setAnswerBtn___bisIK",activeAnswer:"activeAnswer___MnyyC",activeJudgementAnswer:"activeJudgementAnswer___grGX5",actionWrapper:"actionWrapper___LUawU",addIcon:"addIcon___ckXqe",inputBorder:"inputBorder___nuo0O",placeholder:"placeholder___Dhdir",blankWrapper:"blankWrapper___cnidV",blankInput:"blankInput___iZ5BF",blankInputNumberWrapper:"blankInputNumberWrapper___zlXQc",addBtn:"addBtn___OdgAm",blankIndex:"blankIndex___g4Y7d",baseInputWrapper:"baseInputWrapper___DCOHd",collapseWrapper:"collapseWrapper___SyLrk",panelHeader:"panelHeader___E0il1",open:"open___IFH3V",close:"close___YpIA9",hide:"hide___Nl1W6",scoreByBlankRadio:"scoreByBlankRadio___jpG4i"},En=ee(39793),dr=Object.defineProperty,Cr=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,Ir=Object.getOwnPropertySymbols,ha=Object.prototype.hasOwnProperty,Ha=Object.prototype.propertyIsEnumerable,$a=(ce,pe,Pe)=>pe in ce?dr(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,La=(ce,pe)=>{for(var Pe in pe||(pe={}))ha.call(pe,Pe)&&$a(ce,Pe,pe[Pe]);if(Ir)for(var Pe of Ir(pe))Ha.call(pe,Pe)&&$a(ce,Pe,pe[Pe]);return ce},Or=(ce,pe)=>Cr(ce,Wr(pe)),no=(ce,pe)=>{var Pe={};for(var Lt in ce)ha.call(ce,Lt)&&pe.indexOf(Lt)<0&&(Pe[Lt]=ce[Lt]);if(ce!=null&&Ir)for(var Lt of Ir(ce))pe.indexOf(Lt)<0&&Ha.call(ce,Lt)&&(Pe[Lt]=ce[Lt]);return Pe};const xr=ce=>{var pe=ce,{value:Pe,onChange:Lt,scrollId:tn}=pe,wa=no(pe,["value","onChange","scrollId"]);return b.createElement("div",{id:tn||""},b.createElement(En.Z,Or(La({},wa),{defaultValue:Pe,onChange:(ma,Hn)=>{console.log("a:",ma,Hn),Hn!=null&&Hn.length?Lt(ma,Hn):Lt(ma)}})))},Er=({value:ce,onChange:pe,placeholder:Pe,height:Lt=140,isEdit:tn})=>tn?b.createElement(En.Z,{watch:!0,isFocus:!0,height:Lt,placeholder:Pe,defaultValue:ce,onChange:pe}):b.createElement("div",{style:{cursor:"pointer"}},ce?b.createElement(fe.Z,{className:da.inputBorder,value:ce}):b.createElement("div",{className:`${da.inputBorder} ${da.placeholder}`},Pe));var Pr=ee(43604),si=Object.defineProperty,ai=Object.defineProperties,Bi=Object.getOwnPropertyDescriptors,po=Object.getOwnPropertySymbols,yo=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,Mo=(ce,pe,Pe)=>pe in ce?si(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Do=(ce,pe)=>{for(var Pe in pe||(pe={}))yo.call(pe,Pe)&&Mo(ce,Pe,pe[Pe]);if(po)for(var Pe of po(pe))Go.call(pe,Pe)&&Mo(ce,Pe,pe[Pe]);return ce},gr=(ce,pe)=>ai(ce,Bi(pe)),eo=(ce,pe)=>{var Pe={};for(var Lt in ce)yo.call(ce,Lt)&&pe.indexOf(Lt)<0&&(Pe[Lt]=ce[Lt]);if(ce!=null&&po)for(var Lt of po(ce))pe.indexOf(Lt)<0&&Go.call(ce,Lt)&&(Pe[Lt]=ce[Lt]);return Pe};const Qo=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Jo=({value:ce,onChange:pe,choiceTextKey:Pe,answerKey:Lt,index:tn,isEdit:wa,setInputActive:ma,form:Hn,choiceOptionsPath:jt,allowChangeMode:Yn,showAddIcon:xn,addItem:Ct,deleteItem:mn})=>{const In=(ce==null?void 0:ce[Lt])===1,oa=()=>{const ba=Hn.getFieldValue(jt);Hn.setFieldValue(jt,ba.map(ta=>gr(Do({},ta),{[Lt]:0})))},zn=()=>{In?pe(gr(Do({},ce),{[Lt]:0})):(Yn||oa(),pe(gr(Do({},ce),{[Lt]:1})))};return b.createElement(Te.Z,{className:da.choiceWrap,align:"middle",wrap:!1},b.createElement(Pr.Z,{onClick:zn,className:`${da.choiceIndex} ${In?da.activeAnswer:""}`},Qo[tn]),b.createElement(Pr.Z,{flex:1,className:`${da.editorWrap} ml15`,onClick:ma},b.createElement(Er,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:wa,value:ce==null?void 0:ce[Pe],onChange:ba=>{pe(gr(Do({},ce),{[Pe]:ba}))}})),b.createElement(Pr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:zn,className:`${da.setAnswerBtn} ${In?da.activeAnswer:""}`},In?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),b.createElement(Pr.Z,{className:da.actionWrapper},b.createElement(ct.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},b.createElement(re.Z,{className:da.addIcon,onClick:Ct,style:{visibility:xn?"visible":"hidden"}})),b.createElement(ct.Z,{title:"\u5220\u9664"},b.createElement(ue.Z,{className:da.deleteIcon,onClick:mn,style:{visibility:tn>1?"visible":"hidden"}}))))},Io=({questionTitlePlaceholder:ce,titleKey:pe,choiceKey:Pe,analysisKey:Lt,choiceTextKey:tn,answerKey:wa,choiceOptionsPath:ma,allowChangeMode:Hn=!0,form:jt,showAnalysis:Yn=!0})=>{const[xn,Ct]=(0,b.useState)(),[mn,In]=(0,b.useState)(!1);return b.createElement("div",{className:da.wrap},b.createElement("div",{className:da.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:pe,labelCol:{span:24},rules:[{required:!0}]},b.createElement(xr,{scrollId:Array.isArray(pe)?pe.join("_"):`${pe}`,watch:!0,height:140,placeholder:ce}))),b.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),b.createElement(Be.default.List,{name:Pe,rules:[{validator(oa,zn){const ba=zn.some(ia=>ia[wa]===1),ta=zn.findIndex(ia=>{var Ka;return((Ka=ia[tn])==null?void 0:Ka.length)<=0});return ta!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${Qo[ta]}\u9009\u9879\u7684\u5185\u5BB9`)):ba?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(oa,{add:zn,remove:ba})=>b.createElement("div",{id:Array.isArray(ma)?ma.join("_"):`${ma}`},oa.map((ta,ia)=>{var Ka=ta,{key:Pn,name:ya}=Ka,ja=eo(Ka,["key","name"]);const qr=xn===Pn,cr=()=>{Ct(Pn)},li=ia<7&&ia===oa.length-1,Za=()=>zn({[tn]:"",[wa]:0}),Co=()=>ba(ya);return b.createElement(Be.default.Item,gr(Do({},ja),{key:Pn,name:ya,noStyle:!0}),b.createElement(Jo,{choiceTextKey:tn,answerKey:wa,index:ia,isEdit:qr,setInputActive:cr,form:jt,choiceOptionsPath:ma,allowChangeMode:Hn,showAddIcon:li,addItem:Za,deleteItem:Co}))}),oa.length<8&&b.createElement("div",{className:`${da.addBtn} mb30`,onClick:()=>zn({[tn]:"",[wa]:0})},"\u6DFB\u52A0\u9009\u9879"))),Yn&&b.createElement("div",{onClick:()=>In(!0)},b.createElement(Be.default.Item,{name:Lt,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:mn}))))};var br=ee(59301),ri=Object.defineProperty,zr=Object.defineProperties,ko=Object.getOwnPropertyDescriptors,co=Object.getOwnPropertySymbols,di=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,Qi=(ce,pe,Pe)=>pe in ce?ri(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,tl=(ce,pe)=>{for(var Pe in pe||(pe={}))di.call(pe,Pe)&&Qi(ce,Pe,pe[Pe]);if(co)for(var Pe of co(pe))hi.call(pe,Pe)&&Qi(ce,Pe,pe[Pe]);return ce},nl=(ce,pe)=>zr(ce,ko(pe)),Vo=(ce,pe)=>{var Pe={};for(var Lt in ce)di.call(ce,Lt)&&pe.indexOf(Lt)<0&&(Pe[Lt]=ce[Lt]);if(ce!=null&&co)for(var Lt of co(ce))pe.indexOf(Lt)<0&&hi.call(ce,Lt)&&(Pe[Lt]=ce[Lt]);return Pe};const wi=({value:ce,onChange:pe})=>{const Pe=tn=>{Ye.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:da.modal,onOk:()=>{const wa=[...ce];wa.splice(tn,1),pe(wa)}})},Lt=()=>{const tn=[...ce];tn.push(""),pe(tn)};return br.createElement(Te.Z,{className:"ml20"},br.createElement(Pr.Z,{flex:1},ce==null?void 0:ce.map((tn,wa)=>br.createElement(Te.Z,{key:`${tn}_${wa}`,align:"middle",className:"mb20"},br.createElement(ke.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:tn,autoSize:{maxRows:3},maxLength:1e3,onBlur:ma=>{const Hn=[...ce],jt=ma.target.value.trim();Hn[wa]=jt,pe(Hn)}}),br.createElement(ct.Z,{title:"\u5220\u9664"},br.createElement(ue.Z,{className:da.deleteIcon,style:{marginLeft:15,visibility:wa>0?"visible":"hidden"},onClick:()=>Pe(wa)}))))),br.createElement(Pr.Z,null,br.createElement("div",{className:`${da.addBtn}`,onClick:()=>{Lt()}},"\u65B0\u589E\u7B54\u6848")))},Vi=({value:ce=!0,onChange:pe})=>br.createElement(Ht.Z,{checked:!ce,onChange:Pe=>{pe(!Pe)}}),dl="\u2581",ml=({questionTitlePlaceholder:ce,form:pe,name:Pe,scoreByBlank:Lt,answerKey:tn,titleKey:wa="name",analysisKey:ma="analysis",isOrdered:Hn="is_ordered"})=>{var jt,Yn;const[xn,Ct]=(0,b.useState)(!1),mn=(Pn,ya)=>{const ja=ya.line;let qr=0;for(let li=0;li<ja;li++)qr+=Pn.getLine(li).split(dl).length-1;const cr=Pn.getLine(ja).substring(0,ya.ch);return qr+=cr.split(dl).length-1,qr},In=(Pn,ya,ja,qr)=>{const cr=Pn.getRange(ya.from,ya.to);let li=0;if(ya.text.forEach(Za=>{li+=Za.split(dl).length-1}),ya.origin!=="setValue"){if(cr&&cr.indexOf(dl)!==-1){const Za=cr.split(dl).length-1,Co=mn(Pn,ya.from);if(console.log(`\u5220\u9664${Za}\u4E2A\uFF0C \u524D\u9762\u6709${Co}\u4E2A\uFF0C\u65B0\u589E${li}\u4E2A`),Za>1){const Dr=Array.from({length:Za},(ao,So)=>Co+So);qr(Dr)}else qr(Co)}else if(li>0){const Za=mn(Pn,ya.from);console.log(`\u65B0\u589E${li}\u4E2A\uFF0C\u4E4B\u524D\u6709${Za}\u4E2A`),ja(li,Za)}}},oa=()=>{const Pn=pe.getFieldValue(["sub_item_banks",...tn]);pe.setFieldValue(["sub_item_banks",...tn],Pn==null?void 0:Pn.map((ya,ja)=>nl(tl({},ya),{position:ja+1})))},zn=(0,b.useRef)(),ba=(Pn,ya)=>{for(let ja=0;ja<Pn;ja++)zn.current({position:null,answer_text:[""]},ya+ja);oa()},ta=(0,b.useRef)(),ia=Pn=>{ta.current(Pn),oa()},Ka=(Yn=(jt=pe.getFieldValue("sub_item_banks"))==null?void 0:jt[tn==null?void 0:tn[0]])==null?void 0:Yn[tn==null?void 0:tn[1]];return console.log(pe==null?void 0:pe.getFieldValue(["sub_item_banks",...Lt])),br.createElement("div",{className:da.wrap},br.createElement("div",{className:da.questionTitleEditorWrap},br.createElement(Be.default.Item,{label:"\u9898\u5E72",name:wa,labelCol:{span:24},rules:[{required:!0}]},br.createElement(xr,{scrollId:"name",watch:!0,height:140,placeholder:ce,showNullButton:!0,onCMBeforeChange:(Pn,ya)=>{In(Pn,ya,ba,ia)}}))),br.createElement(Be.default.List,{name:tn,rules:[{validator(Pn,ya){if((ya==null?void 0:ya.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const ja of ya){const{answer_text:qr}=ja||{};if(qr!=null&&qr.some(cr=>(cr==null?void 0:cr.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Pn,{add:ya,remove:ja},{errors:qr})=>(zn.current=ya,ta.current=ja,br.createElement(br.Fragment,null,br.createElement(Be.default.Item,{label:br.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Pn!=null&&Pn.length)&&br.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Pn.map((cr,li)=>{var Za=cr,{key:Co,name:Dr}=Za,ao=Vo(Za,["key","name"]);return br.createElement(Te.Z,{className:"mb20",key:Co,align:"top"},br.createElement(Pr.Z,{flex:"0 0 auto",className:`${da.blankIndex} pt5`},"\u586B\u7A7A\u9879",li+1),br.createElement(Pr.Z,{flex:1},br.createElement(Te.Z,{align:"top",justify:"space-between"},br.createElement(Pr.Z,{flex:1},br.createElement(Be.default.Item,nl(tl({},ao),{name:[Dr,"answer_text"],noStyle:!0}),br.createElement(wi,null))),(pe==null?void 0:pe.getFieldValue(["sub_item_banks",...Lt]))&&br.createElement(Pr.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},br.createElement(Be.default.Item,nl(tl({},ao),{name:[Dr,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:da.blankInputNumberWrapper}),br.createElement(Ve.Z,{onChange:()=>{var So,Ei;let fi=pe==null?void 0:pe.getFieldValue(["sub_item_banks",tn==null?void 0:tn[0],"standard_answers"]),pr=0;for(let vo in fi)(So=fi[vo])!=null&&So.score&&(pr+=Number((Ei=fi[vo])==null?void 0:Ei.score));pe==null||pe.setFieldValue(["sub_item_banks",tn==null?void 0:tn[0],"question_score"],pr)},className:da.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),br.createElement(Be.default.Item,nl(tl({},ao),{name:[Dr,"position"],noStyle:!0}),br.createElement(ke.default,{type:"hidden"}))))})))),br.createElement(Te.Z,{align:"middle"},br.createElement(Be.default.Item,{name:[Pe,"downcase"],valuePropName:"checked"},br.createElement(Ht.Z,null)),br.createElement(Pr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),br.createElement(Te.Z,{align:"middle"},br.createElement(Be.default.Item,{name:[Pe,"no_space"],valuePropName:"checked"},br.createElement(Ht.Z,null)),br.createElement(Pr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Ka==null?void 0:Ka.length)>1&&br.createElement(Te.Z,{align:"middle",className:(Ka==null?void 0:Ka.length)>1?"mb30":`${da.hide}`},br.createElement(Be.default.Item,{name:Hn},br.createElement(Vi,null)),br.createElement(Pr.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),br.createElement("div",{onClick:()=>Ct(!0)},br.createElement(Be.default.Item,{name:ma,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},br.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:xn}))))};var yl=Object.defineProperty,kr=Object.defineProperties,Qa=Object.getOwnPropertyDescriptors,Ga=Object.getOwnPropertySymbols,Ya=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,we=(ce,pe,Pe)=>pe in ce?yl(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,vn=(ce,pe)=>{for(var Pe in pe||(pe={}))Ya.call(pe,Pe)&&we(ce,Pe,pe[Pe]);if(Ga)for(var Pe of Ga(pe))uo.call(pe,Pe)&&we(ce,Pe,pe[Pe]);return ce},Mn=(ce,pe)=>kr(ce,Qa(pe)),Sa=(ce,pe)=>{var Pe={};for(var Lt in ce)Ya.call(ce,Lt)&&pe.indexOf(Lt)<0&&(Pe[Lt]=ce[Lt]);if(ce!=null&&Ga)for(var Lt of Ga(ce))pe.indexOf(Lt)<0&&uo.call(ce,Lt)&&(Pe[Lt]=ce[Lt]);return Pe};const ln={\u6B63\u786E:"T",\u9519\u8BEF:"F"},Ma=({value:ce,onChange:pe,form:Pe,choiceKey:Lt})=>{const tn=(ce==null?void 0:ce.is_answer)===1,wa=ce==null?void 0:ce.choice_text,ma=()=>{var Hn;const jt=(Hn=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",...Lt]))==null?void 0:Hn.map(Yn=>({choice_text:Yn.choice_text,is_answer:0}));Pe==null||Pe.setFieldValue(["sub_item_banks",...Lt],jt),pe(Mn(vn({},ce),{is_answer:1}))};return b.createElement(Te.Z,{className:da.choiceWrap,align:"middle",wrap:!1},b.createElement(Pr.Z,{onClick:ma,className:`${da.choiceIndex} ${da.judgementIndex} ${tn?da.activeAnswer:""}`},ln[wa]),b.createElement(Pr.Z,{flex:1,className:`${da.editorWrap} ml15`},b.createElement("div",{className:`${da.inputBorder} ${da.placeholder} ${tn?da.activeJudgementAnswer:""}`},wa)),b.createElement(Pr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:ma,className:`${da.setAnswerBtn} ${tn?da.activeAnswer:""}`},tn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Fa=({questionTitlePlaceholder:ce,choiceKey:pe="choices",form:Pe,titleKey:Lt="name",analysisKey:tn="analysis"})=>{const[wa,ma]=(0,b.useState)(!1);return b.createElement("div",{className:da.wrap},b.createElement("div",{className:da.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Lt,labelCol:{span:24},rules:[{required:!0}]},b.createElement(xr,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),b.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},b.createElement(Be.default.List,{name:pe,rules:[{validator(Hn,jt){return jt.some(xn=>(xn==null?void 0:xn.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Hn=>b.createElement("div",{id:"choices"},Hn.map(jt=>{var Yn=jt,{key:xn,name:Ct}=Yn,mn=Sa(Yn,["key","name"]);return b.createElement(Be.default.Item,Mn(vn({},mn),{key:xn,name:Ct,noStyle:!0}),b.createElement(Ma,{form:Pe,choiceKey:pe}))})))),b.createElement("div",{onClick:()=>ma(!0)},b.createElement(Be.default.Item,{name:tn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:wa}))))};var jn=ee(12563),Xn=Object.defineProperty,sr=Object.defineProperties,za=Object.getOwnPropertyDescriptors,Ta=Object.getOwnPropertySymbols,Ja=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,bo=(ce,pe,Pe)=>pe in ce?Xn(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Uo=(ce,pe)=>{for(var Pe in pe||(pe={}))Ja.call(pe,Pe)&&bo(ce,Pe,pe[Pe]);if(Ta)for(var Pe of Ta(pe))Rr.call(pe,Pe)&&bo(ce,Pe,pe[Pe]);return ce},Wo=(ce,pe)=>sr(ce,za(pe)),_i=(ce,pe)=>{var Pe={};for(var Lt in ce)Ja.call(ce,Lt)&&pe.indexOf(Lt)<0&&(Pe[Lt]=ce[Lt]);if(ce!=null&&Ta)for(var Lt of Ta(ce))pe.indexOf(Lt)<0&&Rr.call(ce,Lt)&&(Pe[Lt]=ce[Lt]);return Pe};const Xi=ce=>{var pe=ce,{value:Pe,onChange:Lt}=pe,tn=_i(pe,["value","onChange"]);const wa=ma=>{Lt([ma])};return b.createElement(En.Z,Wo(Uo({},tn),{defaultValue:Pe==null?void 0:Pe[0],onChange:wa}))},al=ce=>{if(!ce)return!1;let pe=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return ce==="|"?(Ne.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Zl=({value:ce=[],onClose:pe})=>b.createElement(jn.default,{closable:!0,onClose:pe,className:da.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ce.join(" \u6216 "))),Nl=({questionTitlePlaceholder:ce,form:pe,showKeywords:Pe,isMustKeyWords:Lt=Pe,titleKey:tn="name",analysisKey:wa="analysis",answerTexts:ma="answer_texts",keywords:Hn="keywords",useKeywords:jt="use_keywords",indexs:Yn})=>{var xn,Ct,mn,In;const[oa,zn]=(0,b.useState)(!1),[ba,ta]=(0,b.useState)(""),ia=(Ct=(xn=pe.getFieldValue("sub_item_banks"))==null?void 0:xn[jt==null?void 0:jt[0]])==null?void 0:Ct[jt==null?void 0:jt[1]],Ka=(In=(mn=pe.getFieldValue("sub_item_banks"))==null?void 0:mn[jt==null?void 0:jt[0]])==null?void 0:In.question_score;return b.createElement("div",{className:da.wrap},b.createElement("div",{className:da.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:tn,labelCol:{span:24},rules:[{required:!0}]},b.createElement(xr,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),b.createElement(Be.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:ma,labelCol:{span:24}},b.createElement(Xi,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Pe&&!Lt&&b.createElement(Be.default.Item,{hidden:!0,name:jt,valuePropName:"checked"},b.createElement(Ht.Z,{defaultChecked:!0})),Pe&&Lt&&b.createElement(Te.Z,{align:"middle",className:"mb30"},b.createElement(Be.default.Item,{name:jt,valuePropName:"checked"},b.createElement(Ht.Z,null)),b.createElement(Pr.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(Pr.Z,null,b.createElement(ct.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},b.createElement(Bt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(ia||!Lt)&&b.createElement(Be.default.List,{name:Hn,rules:[{validator(Pn,ya){return Lt?ya!=null&&ya.length?(ya==null?void 0:ya.reduce((qr,cr)=>qr+cr.score,0))>parseFloat(Ka)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(Pn,{add:ya,remove:ja})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${da.title} mb10`},Lt?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(Te.Z,{align:"middle",className:"font14 mb30"},b.createElement(Pr.Z,{flex:1},b.createElement(ke.default,{value:ba,onChange:qr=>{ta(qr.target.value)},maxLength:50,allowClear:!0,onPressEnter:qr=>{var cr,li,Za,Co;const Dr=`${(cr=qr.target)==null?void 0:cr.value}`,ao=(Za=(li=Dr==null?void 0:Dr.split("|"))==null?void 0:li.filter(fi=>!!fi))==null?void 0:Za.map(fi=>fi==null?void 0:fi.trim()),So=pe.getFieldValue(["sub_item_banks",...Hn]),Ei=((Co=So==null?void 0:So.map(fi=>fi==null?void 0:fi.keyword))==null?void 0:Co.flat())||[];for(const fi of ao)if(Ei.includes(fi)){Ne.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}al(Dr)&&(ya({keyword:ao,score:1}),ta(""))},className:da.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),b.createElement(Pr.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Pn.map(qr=>{var cr=qr,{key:li,name:Za}=cr,Co=_i(cr,["key","name"]);return b.createElement(Te.Z,{key:li,className:"mb20",style:{marginRight:148}},b.createElement(Pr.Z,{flex:1},b.createElement(Te.Z,{align:"middle",justify:"space-between"},b.createElement(Be.default.Item,Wo(Uo({},Co),{name:[Za,"keyword"]}),b.createElement(Zl,{onClose:()=>ja(Za)})),Lt&&b.createElement(Be.default.Item,Wo(Uo({},Co),{name:[Za,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:da.blankInputNumberWrapper}),b.createElement(Ve.Z,{className:da.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>zn(!0)},b.createElement(Be.default.Item,{name:wa,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:oa}))))};var ho=ee(59301),bl=Object.defineProperty,eu=Object.defineProperties,Il=Object.getOwnPropertyDescriptors,Fl=Object.getOwnPropertySymbols,tu=Object.prototype.hasOwnProperty,Qu=Object.prototype.propertyIsEnumerable,su=(ce,pe,Pe)=>pe in ce?bl(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,mu=(ce,pe)=>{for(var Pe in pe||(pe={}))tu.call(pe,Pe)&&su(ce,Pe,pe[Pe]);if(Fl)for(var Pe of Fl(pe))Qu.call(pe,Pe)&&su(ce,Pe,pe[Pe]);return ce},Yu=(ce,pe)=>eu(ce,Il(pe)),El=(ce,pe)=>{var Pe={};for(var Lt in ce)tu.call(ce,Lt)&&pe.indexOf(Lt)<0&&(Pe[Lt]=ce[Lt]);if(ce!=null&&Fl)for(var Lt of Fl(ce))pe.indexOf(Lt)<0&&Qu.call(ce,Lt)&&(Pe[Lt]=ce[Lt]);return Pe};const{Panel:Ru}=ur.default,Mu=({questionTitlePlaceholder:ce,choiceKey:pe,form:Pe,withScore:Lt})=>{const tn=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}],[wa,ma]=(0,b.useState)(),[Hn,jt]=(0,b.useState)([]),Yn=Ct=>{jt(Ct)},xn=({value:Ct})=>ho.createElement("div",{style:{width:150,paddingLeft:11}},Ct);return ho.createElement("div",{className:da.wrap},ho.createElement("div",{className:da.questionTitleEditorWrap},ho.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},ho.createElement(xr,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),ho.createElement(Be.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),ho.createElement(Be.default.List,{name:"sub_item_banks",rules:[{validator(Ct,mn){return mn?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Ct,{add:mn,remove:In,move:oa})=>{const zn=Pe.getFieldValue("sub_item_banks");return ho.createElement(ho.Fragment,null,ho.createElement(ur.default,{className:Ct.length>0?da.collapseWrapper:"",bordered:!1,activeKey:Hn,onChange:Yn,expandIcon:({isActive:ba})=>ho.createElement("i",{className:`iconfont icon-weizhankai ${ba?da.open:da.close}`,style:{fontSize:14,transition:"all .2s"}})},Ct.map((ba,ta)=>{var ia=ba,{key:Ka,name:Pn}=ia,ya=El(ia,["key","name"]),ja,qr,cr,li,Za,Co,Dr,ao,So,Ei,fi,pr,vo,Ui;return ho.createElement(Ru,{className:da.panel,forceRender:!0,header:ho.createElement("div",{className:da.panelHeader},"\u7B2C",ta+1,"\u5C0F\u9898",ho.createElement("span",null,"\uFF08",((ja=zn==null?void 0:zn[Pn])==null?void 0:ja.question_type)==0?"\u5355\u9009\u9898":((qr=zn==null?void 0:zn[Pn])==null?void 0:qr.question_type)==1?"\u591A\u9009\u9898":((cr=zn==null?void 0:zn[Pn])==null?void 0:cr.question_type)==3?"\u586B\u7A7A\u9898":((li=zn==null?void 0:zn[Pn])==null?void 0:li.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:Pn,extra:ho.createElement(Te.Z,{align:"middle",onClick:Ri=>Ri.stopPropagation()},((Za=zn==null?void 0:zn[Pn])==null?void 0:Za.question_type)==3&&ho.createElement(ho.Fragment,null,ho.createElement(et.ZP.Group,{defaultValue:(Co=zn==null?void 0:zn[Pn])==null?void 0:Co.use_blank_score,className:ft.scoreByBlankRadio,style:{marginRight:20},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:Ri=>{var ea,xo,Mi,Zo,Fi;if(Pe==null||Pe.setFieldValue(["sub_item_banks",Pn,"use_blank_score"],(ea=Ri==null?void 0:Ri.target)==null?void 0:ea.value),(xo=Ri==null?void 0:Ri.target)!=null&&xo.value){let ki=0;for(let oi in(Mi=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",Pn]))==null?void 0:Mi.standard_answers)ki+=Number((Fi=(Zo=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",Pn]))==null?void 0:Zo.standard_answers[oi])==null?void 0:Fi.score);Pe==null||Pe.setFieldValue(["sub_item_banks",Pn,"question_score"],ki||"")}ma(new Date)}}),ho.createElement(ct.Z,{overlayInnerStyle:{width:460},title:ho.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",ho.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")},ho.createElement("i",{className:"icon-tishixiaowenhao font18 mr25 c-3061d0"}))),Lt&&ho.createElement(Be.default.Item,Yu(mu({},ya),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[Pn,"question_score"],className:da.blankInputNumberWrapper}),((Dr=zn==null?void 0:zn[Pn])==null?void 0:Dr.question_type)==3&&((ao=zn==null?void 0:zn[Pn])!=null&&ao.use_blank_score)?ho.createElement(xn,null):ho.createElement(Ve.Z,{className:da.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),ho.createElement(Te.Z,{align:"middle",className:"pl40",style:{width:82}},ta!==0&&ho.createElement("div",{onClick:()=>{var Ri;oa(ta,ta-1);const ea=(Ri=Pe.getFieldValue("sub_item_banks"))==null?void 0:Ri.map((xo,Mi)=>(Ct.map((Zo,Fi)=>{Mi===Fi&&(xo.q_position=Number(Zo.name)+1)}),xo));Pe.setFieldValue("sub_item_banks",ea)}},ho.createElement(ct.Z,{title:"\u4E0A\u79FB"},ho.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),ta<Ct.length-1&&ho.createElement("div",{onClick:()=>{var Ri;oa(ta,ta+1);const ea=(Ri=Pe.getFieldValue("sub_item_banks"))==null?void 0:Ri.map((xo,Mi)=>(Ct.map((Zo,Fi)=>{Mi===Fi&&(xo.q_position=Number(Zo.name)+1)}),xo));Pe.setFieldValue("sub_item_banks",ea)},className:ta===0?"":"ml10"},ho.createElement(ct.Z,{title:"\u4E0B\u79FB"},ho.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),ho.createElement(ct.Z,{title:"\u5220\u9664"},ho.createElement(ue.Z,{className:`${da.deleteIcon} ml40`,onClick:()=>In(Pn)})))},ho.createElement(Be.default.Item,Yu(mu({},ya),{name:Pn}),(((So=zn==null?void 0:zn[Pn])==null?void 0:So.question_type)==0||((Ei=zn==null?void 0:zn[Pn])==null?void 0:Ei.question_type)==1)&&ho.createElement(Io,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((fi=zn==null?void 0:zn[Pn])==null?void 0:fi.question_type)==1,form:Pe,choiceKey:[Pn,"choices"],titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],choiceOptionsPath:["sub_item_banks",Pn,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((pr=zn==null?void 0:zn[Pn])==null?void 0:pr.question_type)==3&&ho.createElement(ml,{form:Pe,name:Pn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[Pn,"use_blank_score"],titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],isOrdered:[Pn,"is_ordered"],answerKey:[Pn,"standard_answers"],key:wa}),((vo=zn==null?void 0:zn[Pn])==null?void 0:vo.question_type)==2&&ho.createElement(Fa,{form:Pe,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],choiceKey:[Pn,"choices"]}),((Ui=zn==null?void 0:zn[Pn])==null?void 0:Ui.question_type)==4&&ho.createElement(Nl,{showKeywords:!0,isMustKeyWords:!0,form:Pe,titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],answerTexts:[Pn,"answer_texts"],useKeywords:[Pn,"use_keywords"],keywords:[Pn,"keywords"],indexs:Pn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),Ct.length<20&&ho.createElement(ze.Z,{menu:{items:[{label:ho.createElement("div",{onClick:()=>{mn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),jt([Ct==null?void 0:Ct.length,...Hn])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:ho.createElement("div",{onClick:()=>{mn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),jt([Ct==null?void 0:Ct.length,...Hn])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:ho.createElement("div",{onClick:()=>{mn({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",question_type:2,item_type:"JUDGMENT"}),jt([Ct==null?void 0:Ct.length,...Hn])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:ho.createElement("div",{onClick:()=>{mn({name:"",analysis:"",is_ordered:!0,standard_answers:[],question_type:3,item_type:"COMPLETION",use_blank_score:!0,downcase:!0,no_space:!0}),jt([Ct==null?void 0:Ct.length,...Hn])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:ho.createElement("div",{onClick:()=>{mn({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),jt([Ct==null?void 0:Ct.length,...Hn])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(ba=>ba.show).map(ba=>({label:ba.label,key:ba.key}))}},ho.createElement("div",{className:`${da.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var rl=ee(59301),ku=Object.defineProperty,nu=Object.defineProperties,Ju=Object.getOwnPropertyDescriptors,bu=Object.getOwnPropertySymbols,Tu=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable,_u=(ce,pe,Pe)=>pe in ce?ku(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Cl=(ce,pe)=>{for(var Pe in pe||(pe={}))Tu.call(pe,Pe)&&_u(ce,Pe,pe[Pe]);if(bu)for(var Pe of bu(pe))Xu.call(pe,Pe)&&_u(ce,Pe,pe[Pe]);return ce},Wi=(ce,pe)=>nu(ce,Ju(pe)),Zu=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())}),au=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Lt,seveeditor:tn,deleteitem:wa,getTagData:ma,init:Hn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm();(0,b.useEffect)(()=>{var mn;xn.setFieldsValue(Wi(Cl({},ce),{name:ce.question_title,sub_item_banks:(mn=ce.sub_exercise_questions)==null?void 0:mn.map(In=>{var oa;return Wi(Cl({},In),{name:In.question_title,choices:(oa=In==null?void 0:In.question_choices)==null?void 0:oa.map(zn=>Wi(Cl({},zn),{is_answer:zn!=null&&zn.standard_boolean?1:0}))})}),repeat_answer:!ce.repeat_answer}))},[ce]);const Ct=mn=>{if(!(mn!=null&&mn.length))return!1;const In=mn.map(zn=>{var ba;return(ba=zn.choice_text)==null?void 0:ba.trim().replace(/^\s+|\s+$/g,"")});return new Set(In).size!==In.length};return rl.createElement("div",null,rl.createElement(Be.default,{form:xn,colon:!1,onValuesChange:(mn,In)=>{var oa,zn,ba,ta;if(mn!=null&&mn.sub_item_banks){let ia=((oa=xn.getFieldValue("sub_item_banks"))==null?void 0:oa.length)>0&&((ba=(zn=xn.getFieldValue("sub_item_banks"))==null?void 0:zn.map(Ka=>{var Pn;if(Ka.question_type==3&&(Ka!=null&&Ka.use_blank_score)){let ya=0;for(let ja in Ka==null?void 0:Ka.standard_answers)ya+=Number((Pn=Ka==null?void 0:Ka.standard_answers[ja])==null?void 0:Pn.score);return ya}else return Ka.question_score}))==null?void 0:ba.filter(Ka=>Ka));(ia==null?void 0:ia.length)>0&&xn.setFieldsValue({question_score:(ta=parseFloat(ia.reduce((Ka,Pn)=>parseFloat(Ka)+parseFloat(Pn))))==null?void 0:ta.toFixed(1)})}},onFinish:mn=>{var In,oa;if((In=mn.sub_item_banks)==null?void 0:In.some(ba=>ba.question_type===0||ba.question_type===1?Ct(ba.choices):!1)){Ne.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}tn(Wi(Cl(Cl({},ce),mn),{question_title:mn.name,sub_questions:(oa=mn==null?void 0:mn.sub_item_banks)==null?void 0:oa.map(ba=>{var ta,ia,Ka,Pn;return(ba==null?void 0:ba.question_type)==3?Wi(Cl({},ba),{question_title:ba.name,item_type:ba==null?void 0:ba.question_type}):Wi(Cl({},ba),{question_title:ba.name,question_choices:(ia=(ta=ba==null?void 0:ba.choices)==null?void 0:ta.map)==null?void 0:ia.call(ta,ya=>ya.choice_text),standard_answers:(Pn=(Ka=ba==null?void 0:ba.choices)==null?void 0:Ka.map)==null?void 0:Pn.call(Ka,(ya,ja)=>(ya==null?void 0:ya.is_answer)===1&&ja+1).filter(ya=>ya),item_type:ba==null?void 0:ba.question_type})})}))},onFinishFailed:mn=>Zu(void 0,null,function*(){var In,oa;Ne.ZP.error(mn.errorFields[0].errors[0]),xn.scrollToField((oa=(In=mn==null?void 0:mn.errorFields)==null?void 0:In[0])==null?void 0:oa.name,{behavior:"smooth",block:"center"})})},rl.createElement("div",{style:{display:"flex",alignItems:"center"}},rl.createElement("div",{style:{flex:1}},rl.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),rl.createElement("span",null,"\u7EC4\u5408\u9898")),((Yn=Lt==null?void 0:Lt.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&rl.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},rl.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),rl.createElement(je.ZP,{onClick:()=>{var mn;ce.isadd?(pe(!1),Hn()):(xn.setFieldsValue(Wi(Cl({},ce),{name:ce.question_title,sub_item_banks:(mn=ce.sub_exercise_questions)==null?void 0:mn.map(In=>{var oa;return Wi(Cl({},In),{name:In.question_title,choices:(oa=In==null?void 0:In.question_choices)==null?void 0:oa.map(zn=>Wi(Cl({},zn),{is_answer:zn!=null&&zn.standard_boolean?1:0}))})}),repeat_answer:!ce.repeat_answer})),pe(!1))}},"\u53D6\u6D88"),rl.createElement(ct.Z,{overlayClassName:ft.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:rl.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},rl.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},rl.createElement(je.ZP,{className:"ml20",type:"primary",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),rl.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},rl.createElement(Vt.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),rl.createElement(Mu,{form:xn,withScore:!0,choiceKey:"",questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),rl.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Lt,TagDiscipline:Pe,form:xn}))))},Di=ee(59301),Cu=Object.defineProperty,Hu=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Ol=Object.getOwnPropertySymbols,zu=Object.prototype.hasOwnProperty,xu=Object.prototype.propertyIsEnumerable,Fu=(ce,pe,Pe)=>pe in ce?Cu(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Bl=(ce,pe)=>{for(var Pe in pe||(pe={}))zu.call(pe,Pe)&&Fu(ce,Pe,pe[Pe]);if(Ol)for(var Pe of Ol(pe))xu.call(pe,Pe)&&Fu(ce,Pe,pe[Pe]);return ce},Hl=(ce,pe)=>Hu(ce,rs(pe)),os=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())}),ju=({qitem:ce,setqitem:pe,setisedit:Pe,TagDiscipline:Lt,exerciseitem:tn,seveeditor:wa,deleteitem:ma,showTip:Hn})=>{var jt,Yn;const[xn]=Be.default.useForm();return(0,b.useEffect)(()=>{var Ct,mn;xn.setFieldsValue(Hl(Bl({},ce),{name:ce==null?void 0:ce.question_title,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(In=>Hl(Bl({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),ce.shixun=(mn=ce==null?void 0:ce.shixun)==null?void 0:mn.map(In=>Hl(Bl({},In),{defaultscore:In.challenge_score}))},[]),Di.createElement("div",null,Di.createElement(Be.default,{form:xn,colon:!1,onFinish:Ct=>{var mn,In;let oa=Hl(Bl({},Ct),{question_scores:(mn=ce==null?void 0:ce.shixun)==null?void 0:mn.map(zn=>zn.challenge_score),item_type:ce==null?void 0:ce.question_type,choices:(In=Ct==null?void 0:Ct.choices)==null?void 0:In.map(zn=>Hl(Bl({},zn),{is_answer:zn.standard_boolean}))});wa(Bl(Bl({},ce),oa))},onFinishFailed:Ct=>os(void 0,null,function*(){var mn,In;Ne.ZP.error(Ct.errorFields[0].errors[0]),xn.scrollToField((In=(mn=Ct==null?void 0:Ct.errorFields)==null?void 0:mn[0])==null?void 0:In.name,{behavior:"smooth",block:"center"})})},Di.createElement("div",{style:{display:"flex",alignItems:"center"}},Di.createElement("div",{style:{flex:1}},Di.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Di.createElement("span",null,"\u5B9E\u8BAD\u9898")),((jt=tn==null?void 0:tn.exercise)==null?void 0:jt.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Di.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ma()}},Di.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Di.createElement(je.ZP,{onClick:()=>{var Ct,mn;xn.setFieldsValue(Hl(Bl({},ce),{name:ce==null?void 0:ce.question_title,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(In=>Hl(Bl({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),ce.shixun=(mn=ce==null?void 0:ce.shixun)==null?void 0:mn.map(In=>Hl(Bl({},In),{challenge_score:In.defaultscore})),pe(Bl({},ce)),Pe(!1)}},"\u53D6\u6D88"),Di.createElement(ct.Z,{overlayClassName:ft.shake,open:Hn,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Di.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Di.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")},Di.createElement(je.ZP,{className:"ml20",type:"primary",onClick:()=>os(void 0,null,function*(){var Ct,mn,In;if(((mn=(Ct=ce==null?void 0:ce.shixun)==null?void 0:Ct.map)==null?void 0:mn.call(Ct,oa=>oa.challenge_score).filter(oa=>oa).length)<((In=ce==null?void 0:ce.shixun)==null?void 0:In.length)){Ne.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}xn.submit()})},"\u4FDD\u5B58"))),Di.createElement(Vt.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Di.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Di.createElement(En.Z,{watch:!0,height:140,placeholder:"",defaultValue:ce.question_title}))),Di.createElement(Te.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Di.createElement("div",null,Di.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Di.createElement("a",{href:`/shixuns/${ce==null?void 0:ce.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Di.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(Yn=ce==null?void 0:ce.shixun)==null?void 0:Yn.map((Ct,mn)=>Di.createElement("div",{style:{display:"flex",marginBottom:20}},Di.createElement("div",{style:{flex:1}},mn+1,"\u3001",Ct.challenge_name),Di.createElement("div",null,Di.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Di.createElement(Ve.Z,{precision:1,value:Ct==null?void 0:Ct.challenge_score,onChange:In=>{const oa=JSON.parse(JSON.stringify((ce==null?void 0:ce.shixun)||[]));oa[mn].challenge_score=In;const zn=oa.every(ta=>!ta.challenge_score),ba=parseFloat(oa==null?void 0:oa.map(ta=>ta.challenge_score).reduce((ta,ia)=>parseFloat(ta||0)+parseFloat(ia||0)));xn.setFieldsValue({question_score:zn?"":ba.toFixed(1)}),pe(Hl(Bl({},ce),{shixun:oa}))},max:200,min:.1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},Ar={flex_box_center:"flex_box_center___Vhtb1",flex_space_between:"flex_space_between___k2ZrJ",flex_box_vertical_center:"flex_box_vertical_center___tn6Db",flex_box_center_end:"flex_box_center_end___k3eNX",flex_box_column:"flex_box_column___rsWbi",warp:"warp___UlRJc",indexTag:"indexTag___rjJ1u",normalWrap:"normalWrap___Qm4zY",redio:"redio___VW3yr",redioitem:"redioitem___jAPlJ",redioitemyes:"redioitemyes___VoiQ1",title:"title___Dt2dl",titleyes:"titleyes___Fjh3a",yestag:"yestag___CXrPv",checkbox:"checkbox___CgMU_",checkboxitem:"checkboxitem___PpJ9n",checkboxitemyes:"checkboxitemyes___pCfvZ",bottom:"bottom___BqrmJ",bottomitem:"bottomitem___Qk2rG",left:"left___l29lW",right:"right___nB1XE",completion:"completion___y1m7L",content:"content___AmQy4",items:"items___lIt8e",simple:"simple___zxJLH",shixunWrapper:"shixunWrapper___kAYdL",shixun:"shixun___UE6xS",score:"score___Px5Fq",qtitle:"qtitle___wG7Nn",program:"program___gzKdL",combination:"combination___R0ysn",qtype:"qtype___U0Suy",divname:"divname___guDo9"},Bu=ee(1710),Yl=ee(19105),zl=ee(24334),qa=ee(59301);const du=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],es=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}];var wu=({qitem:ce,exercise:pe})=>{var Pe,Lt,tn,wa,ma,Hn,jt,Yn,xn,Ct,mn,In,oa,zn,ba,ta,ia,Ka,Pn,ya,ja,qr,cr,li;return qa.createElement("div",{className:Ar.warp},((ce==null?void 0:ce.question_type)===0||(ce==null?void 0:ce.question_type)===2)&&qa.createElement("div",{className:Ar.normalWrap},(Pe=ce==null?void 0:ce.question_choices)==null?void 0:Pe.map((Za,Co)=>qa.createElement("div",{className:Ar.redio},!(Za!=null&&Za.standard_boolean)&&qa.createElement("span",{className:Ar.redioitem}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("i",{className:`${Ar.redioitemyes} icon-duigou1`}),qa.createElement("span",{className:`${Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},(ce==null?void 0:ce.question_type)===0?du[Co]:""),qa.createElement(fe.Z,{className:Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title,value:Za==null?void 0:Za.choice_text}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===1&&qa.createElement("div",{className:Ar.normalWrap},(Lt=ce==null?void 0:ce.question_choices)==null?void 0:Lt.map((Za,Co)=>qa.createElement("div",{className:Ar.checkbox},!(Za!=null&&Za.standard_boolean)&&qa.createElement("span",{className:Ar.checkboxitem}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("i",{className:`${Ar.checkboxitemyes} icon-duigou1`}),qa.createElement("span",{className:`${Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},du[Co]),qa.createElement(fe.Z,{className:Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title,value:Za==null?void 0:Za.choice_text}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===3&&qa.createElement("div",{className:Ar.completion},(tn=ce==null?void 0:ce.standard_answers)==null?void 0:tn.map((Za,Co)=>{var Dr;return qa.createElement(Te.Z,{align:"top"},qa.createElement("span",{className:Ar.title},"\u586B\u7A7A\u9879",Co+1),qa.createElement("div",{className:Ar.content},(Dr=Za.answer_text)==null?void 0:Dr.map((ao,So)=>qa.createElement("div",{key:So,className:Ar.items,style:(Za==null?void 0:Za.model)===2?{border:0,padding:0}:{}},(Za==null?void 0:Za.model)===1?qa.createElement("pre",{className:"mb0"},ao):qa.createElement(Yl.Z,{value:ao,disabled:!0})))))})),(ce==null?void 0:ce.question_type)===4&&qa.createElement("div",{className:Ar.simple},qa.createElement("div",{className:Ar.title},"\u53C2\u8003\u7B54\u6848"),qa.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(wa=ce==null?void 0:ce.answer_texts)!=null&&wa[0]?qa.createElement(fe.Z,{className:Ar.content,value:(ma=ce==null?void 0:ce.answer_texts)==null?void 0:ma[0]}):qa.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),qa.createElement("div",{className:"mt20 "},qa.createElement("span",{className:Ar.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),qa.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},ce!=null&&ce.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(ce==null?void 0:ce.question_type)===5&&qa.createElement("div",{className:Ar.shixunWrapper},(Hn=ce==null?void 0:ce.shixun)==null?void 0:Hn.map((Za,Co)=>{var Dr,ao;return qa.createElement("div",null,qa.createElement("div",{key:Co,className:`${Ar.shixun} mb30`},qa.createElement("span",{className:Ar.score},"\uFF08",Za==null?void 0:Za.challenge_score,"\u5206\uFF09"),qa.createElement("span",{className:Ar.qtitle},(ce==null?void 0:ce.index)+"."+(Co+1),"\u3001",Za==null?void 0:Za.challenge_name)),((ao=(Dr=pe==null?void 0:pe.editData)==null?void 0:Dr.exercise)==null?void 0:ao.show_challenge_task_pass)&&qa.createElement(fe.Z,{className:Ar.content,value:(Za==null?void 0:Za.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(ce==null?void 0:ce.question_type)===6&&qa.createElement("div",{className:Ar.program,style:{border:!((Yn=(jt=pe==null?void 0:pe.editData)==null?void 0:jt.exercise)!=null&&Yn.show_hack_sets)&&!((Ct=(xn=pe==null?void 0:pe.editData)==null?void 0:xn.exercise)!=null&&Ct.show_hack_description)&&"none"}},((In=(mn=pe==null?void 0:pe.editData)==null?void 0:mn.exercise)==null?void 0:In.show_hack_sets)&&qa.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},qa.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},qa.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),qa.createElement(Bu.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(Za,Co,Dr)=>Dr+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Za,Co,Dr)=>qa.createElement(ct.Z,{title:qa.createElement("pre",null,Za)},qa.createElement("div",{className:Ar.divname},Za))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(Za,Co,Dr)=>qa.createElement(ct.Z,{title:qa.createElement("pre",null,Za)}," ",qa.createElement("div",{className:Ar.divname},Za))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:ce==null?void 0:ce.hack_sets})),((zn=(oa=pe==null?void 0:pe.editData)==null?void 0:oa.exercise)==null?void 0:zn.show_hack_description)&&qa.createElement("div",null,qa.createElement(fe.Z,{className:Ar.content,value:(ce==null?void 0:ce.description)||"- -"}))),(ce==null?void 0:ce.question_type)===7&&((ba=ce==null?void 0:ce.sub_exercise_questions)==null?void 0:ba.map((Za,Co)=>{var Dr,ao,So,Ei,fi,pr;return qa.createElement("div",{key:Co},qa.createElement("div",{className:Ar.combination},qa.createElement("span",{className:Ar.score},Za==null?void 0:Za.question_score,"\u5206"),qa.createElement("span",{className:Ar.qtype},(Dr=es.find(vo=>vo.type==Za.question_type))==null?void 0:Dr.name),qa.createElement("span",{className:Ar.qtitle},Co+1,"\u3001",Za==null?void 0:Za.question_title)),(Za.question_type===0||Za.question_type===2)&&qa.createElement("div",{className:Ar.warp,style:{padding:"30px 58px",paddingBottom:0}},qa.createElement("div",null,(ao=Za==null?void 0:Za.question_choices)==null?void 0:ao.map((vo,Ui)=>qa.createElement("div",{className:Ar.redio,key:Ui},!(vo!=null&&vo.standard_boolean)&&qa.createElement("span",{className:Ar.redioitem}),(vo==null?void 0:vo.standard_boolean)&&qa.createElement("i",{className:`${Ar.redioitemyes} icon-duigou1`}),Za.question_type===2&&qa.createElement("span",{className:`${vo!=null&&vo.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},du[Ui]),qa.createElement(fe.Z,{className:vo!=null&&vo.standard_boolean?Ar.titleyes:Ar.title,value:vo==null?void 0:vo.choice_text}),(vo==null?void 0:vo.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848"))))),Za.question_type===1&&qa.createElement("div",{className:Ar.normalWrap},(So=Za==null?void 0:Za.question_choices)==null?void 0:So.map((vo,Ui)=>qa.createElement("div",{className:Ar.checkbox,key:Ui},!(vo!=null&&vo.standard_boolean)&&qa.createElement("span",{className:Ar.checkboxitem}),(vo==null?void 0:vo.standard_boolean)&&qa.createElement("i",{className:`${Ar.checkboxitemyes} icon-duigou1`}),qa.createElement("span",{className:`${vo!=null&&vo.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},du[Ui]),qa.createElement(fe.Z,{className:vo!=null&&vo.standard_boolean?Ar.titleyes:Ar.title,value:vo==null?void 0:vo.choice_text}),(vo==null?void 0:vo.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848")))),Za.question_type===3&&qa.createElement("div",{className:Ar.completion},(Ei=Za==null?void 0:Za.standard_answers)==null?void 0:Ei.map((vo,Ui)=>{var Ri;return qa.createElement(Te.Z,{align:"top"},qa.createElement("span",{className:Ar.title},"\u586B\u7A7A\u9879",Ui+1),qa.createElement("div",{className:Ar.content},(Ri=vo.answer_text)==null?void 0:Ri.map((ea,xo)=>qa.createElement("div",{key:xo,className:Ar.items},qa.createElement("pre",{className:"mb0"},ea)))))})),Za.question_type===4&&qa.createElement("div",{className:Ar.simple},qa.createElement("div",{className:Ar.title},"\u53C2\u8003\u7B54\u6848"),qa.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(fi=Za==null?void 0:Za.answer_texts)!=null&&fi[0]?qa.createElement(fe.Z,{className:Ar.content,value:(pr=Za==null?void 0:Za.answer_texts)==null?void 0:pr[0]}):qa.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),qa.createElement("div",{className:"mt20 "},qa.createElement("span",{className:Ar.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),qa.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},Za!=null&&Za.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(ce==null?void 0:ce.question_type)===8&&qa.createElement("div",null,qa.createElement(fe.Z,{disabledFill:!0,className:Ar.content,showProgramFill:!0,value:zl.Base64.decode(((ta=ce==null?void 0:ce.program_attr)==null?void 0:ta.code)||"")})),((ce==null?void 0:ce.question_type)<=4||[6,8].includes(ce==null?void 0:ce.question_type))&&qa.createElement("div",{className:Ar.bottom},qa.createElement("div",{className:`${Ar.bottomitem} mb30`},qa.createElement("span",{className:Ar.left},"\u89E3\u6790"),qa.createElement("span",{className:Ar.right},ce!=null&&ce.analysis?qa.createElement(fe.Z,{value:ce==null?void 0:ce.analysis}):qa.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),qa.createElement("div",{className:`${Ar.bottomitem} mb30`},qa.createElement("span",{className:Ar.left},"\u96BE\u5EA6"),qa.createElement("span",{className:Ar.right},(ce==null?void 0:ce.difficulty)===1?"\u7B80\u5355":(ce==null?void 0:ce.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),qa.createElement("div",{className:Ar.bottomitem},qa.createElement("span",{className:Ar.left},"\u77E5\u8BC6\u70B9"),qa.createElement(ct.Z,{title:((ia=ce==null?void 0:ce.tag_discipline_names)==null?void 0:ia.length)<=0||((Ka=ce==null?void 0:ce.tag_discipline_names)==null?void 0:Ka.length)==1&&["-"].includes(ce==null?void 0:ce.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(ya=(Pn=ce==null?void 0:ce.tag_discipline_names)==null?void 0:Pn.join("\uFF1B"))==null?void 0:ya.toString()},qa.createElement("span",{className:Ar.right},((ja=ce==null?void 0:ce.tag_discipline_names)==null?void 0:ja.length)<=0?qa.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((qr=ce==null?void 0:ce.tag_discipline_names)==null?void 0:qr.length)==1&&["-"].includes(ce==null?void 0:ce.tag_discipline_names[0])?qa.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(li=(cr=ce==null?void 0:ce.tag_discipline_names)==null?void 0:cr.join("\uFF1B"))==null?void 0:li.toString())))))},ts=ee(4881),cu=ee(44272),Yi=ee(59301),ls=Object.defineProperty,us=Object.defineProperties,ss=Object.getOwnPropertyDescriptors,Gu=Object.getOwnPropertySymbols,Jl=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,ru=(ce,pe,Pe)=>pe in ce?ls(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,fu=(ce,pe)=>{for(var Pe in pe||(pe={}))Jl.call(pe,Pe)&&ru(ce,Pe,pe[Pe]);if(Gu)for(var Pe of Gu(pe))Xl.call(pe,Pe)&&ru(ce,Pe,pe[Pe]);return ce},Wu=(ce,pe)=>us(ce,ss(pe)),me=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())}),ye=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Lt,seveeditor:tn,deleteitem:wa,getTagData:ma,init:Hn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm();return(0,b.useEffect)(()=>{xn.setFieldsValue(Wu(fu({},ce),{name:ce.question_title,answer_texts:ce.answer_texts,repeat_answer:!ce.repeat_answer}))},[ce]),Yi.createElement("div",null,Yi.createElement(Be.default,{form:xn,colon:!1,onFinish:Ct=>{tn(Wu(fu(fu({},ce),Ct),{answer_texts:Ct==null?void 0:Ct.answer_texts,question_title:Ct==null?void 0:Ct.name}))},onFinishFailed:Ct=>me(void 0,null,function*(){var mn,In;Ne.ZP.error(Ct.errorFields[0].errors[0]),xn.scrollToField((In=(mn=Ct==null?void 0:Ct.errorFields)==null?void 0:mn[0])==null?void 0:In.name,{behavior:"smooth",block:"center"})})},Yi.createElement("div",{style:{display:"flex",alignItems:"center"}},Yi.createElement("div",{style:{flex:1}},Yi.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Yi.createElement("span",null,"\u7B80\u7B54\u9898")),((Yn=Lt==null?void 0:Lt.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Yi.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Yi.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Yi.createElement(je.ZP,{onClick:()=>{ce.isadd?(pe(!1),Hn()):(xn.setFieldsValue(Wu(fu({},ce),{name:ce==null?void 0:ce.question_title,answer_texts:ce.answer_texts||[],repeat_answer:!(ce!=null&&ce.repeat_answer)})),pe(!1))}},"\u53D6\u6D88"),Yi.createElement(ct.Z,{overlayClassName:ft.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Yi.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Yi.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")},Yi.createElement(je.ZP,{type:"primary",className:"ml20",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Yi.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Yi.createElement(Be.default.Item,{className:ft.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Yi.createElement(Ve.Z,{onBlur:Ct=>{Ct.target.value==="0"&&Ne.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),Yi.createElement(cu.W,{form:xn,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),Yi.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Lt,TagDiscipline:Pe,form:xn}))))},tt=ee(59301),lt=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())}),Kt=({setScoreShow:ce,ScoreShow:pe,exerciseitem:Pe,getdata:Lt})=>{var tn,wa,ma;const[Hn,jt]=(0,b.useState)(!1);function Yn(){return lt(this,null,function*(){var xn,Ct,mn;let In=(Ct=(xn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:xn.filter(zn=>zn.Singlequestion))==null?void 0:Ct.map(zn=>({question_type:zn.question_type,score:zn.Singlequestion})),oa=yield(0,ne.ZP)(`/api/exercises/${(mn=Pe==null?void 0:Pe.exercise)==null?void 0:mn.id}/batch_set_score.json`,{method:"POST",body:{question_arr:In}});(oa==null?void 0:oa.status)===0&&Lt()})}return tt.createElement("div",null,pe&&tt.createElement(Ye.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:pe,width:640,centered:!0,zIndex:10,className:ft.scoremodal,onCancel:()=>{ce(!1)},onOk:()=>{var xn,Ct,mn;if(Pe!=null&&Pe.use_blank_score&&((mn=(Ct=(xn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:xn.filter(In=>In.name==="\u586B\u7A7A\u9898"))==null?void 0:Ct[0])!=null&&mn.Singlequestion)){jt(!0);return}Yn(),ce(!1)}},tt.createElement("div",{className:"c-black"},"\u603B\u5206",tt.createElement("span",{className:"ml10 c-light-primary"},(Pe==null?void 0:Pe.exercise_question_types.length)>0&&((tn=Pe==null?void 0:Pe.exercise_types)==null?void 0:tn.q_scores))),tt.createElement("div",{className:ft.content},tt.createElement("span",null,"\u9898\u578B\u540D\u79F0"),tt.createElement("span",null,"\u5C0F\u9898\u603B\u6570"),tt.createElement("span",null,"\u9898\u578B\u603B\u5206"),tt.createElement("span",null,"\u64CD\u4F5C")),(ma=(wa=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:wa.filter(xn=>xn.name!=="\u5B9E\u8BAD\u9898"&&xn.name!=="\u7EC4\u5408\u9898"))==null?void 0:ma.map(xn=>{var Ct;return tt.createElement("div",{className:ft.items},tt.createElement("span",null,xn==null?void 0:xn.name),tt.createElement("span",null,(Ct=xn==null?void 0:xn.items)==null?void 0:Ct.length),tt.createElement("span",null,xn==null?void 0:xn.score),tt.createElement("span",null,"\u6BCF\u9898",tt.createElement(Ve.Z,{max:100,precision:1,min:.1,onChange:mn=>{xn.Singlequestion=mn},style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),tt.createElement(Ye.default,{title:!1,footer:!1,centered:!0,zIndex:20,open:Hn,width:640,closable:!1,className:ft.scoremodal},tt.createElement("div",{style:{marginTop:40}},"\u586B\u7A7A\u9898\u4E2D\u5B58\u5728",tt.createElement("span",{style:{color:"#FA6400"}},"\u6309\u7A7A\u7ED9\u5206"),"\u7684\u5C0F\u9898\uFF0C\u82E5\u6279\u91CF\u8BBE\u7F6E\u5206\u503C\u4F1A\u7EDF\u4E00\u5C06\u586B\u7A7A\u9898\u6539\u4E3A\u6309\u9898\u7ED9\u5206"),tt.createElement("div",{className:ft.bottom},tt.createElement(je.ZP,{className:ft.no,onClick:()=>{jt(!1)}},"\u53D6\u6D88"),tt.createElement(je.ZP,{className:ft.yes,onClick:()=>{Yn(),jt(!1),ce(!1)}},"\u786E\u8BA4"))))},Zn=ee(99313),Tn=ee(98228),ra=ee(58421),Ca={flex_box_center:"flex_box_center___aDsO9",flex_space_between:"flex_space_between___5V4Xk",flex_box_vertical_center:"flex_box_vertical_center___rNdEP",flex_box_center_end:"flex_box_center_end___cKjnr",flex_box_column:"flex_box_column___glFYD",scoremodal:"scoremodal___PfqOf",selectWrapper:"selectWrapper___Mtqcz",selectWrappers:"selectWrappers___uX2K9",allqingchu:"allqingchu___IqL8g",title:"title___UgYfD",score:"score___LjJmD",close:"close___I0jAO",content:"content___4u86F",items:"items___mK2L5",bottom:"bottom___vQTEm",yes:"yes___j81JQ",no:"no___kiUH4",titlecount:"titlecount___lliQr",add:"add___QhDj8",search:"search___QCCaL",searchIcon:"searchIcon___oXRH5",tabWrap:"tabWrap___Cu_4D",previewModal:"previewModal___BVDlS"},ga=ee(55305),fn={flex_box_center:"flex_box_center___zojHa",flex_space_between:"flex_space_between___wmLZ4",flex_box_vertical_center:"flex_box_vertical_center___DszWW",flex_box_center_end:"flex_box_center_end___mVCv5",flex_box_column:"flex_box_column___fbC9t",warp:"warp___isAcM",shixunbutton:"shixunbutton___h3Ybb",redio:"redio___xDffb",redioitem:"redioitem___FFPtq",redioitemyes:"redioitemyes___pF7ID",title:"title___mnPZc",titleyes:"titleyes___wrtWQ",yestag:"yestag___D4krY",qcount:"qcount___W5pwO",score:"score___eKQzl",qtitle:"qtitle___lb8MD",checkbox:"checkbox___QpUm4",checkboxitem:"checkboxitem___Wm2SH",checkboxitemyes:"checkboxitemyes___VVVTe",bottom:"bottom___Mn_Bw",bottomitem:"bottomitem___JTyHT",left:"left___nQqpo",right:"right___v58qy",completion:"completion___BnZSp",content:"content___MU8hZ",items:"items___a7i54",simple:"simple___GDw3K",shixun:"shixun___DGzTe",combination:"combination___AG9cr"};const Ba=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var kn=({qitem:ce})=>{var pe,Pe,Lt,tn,wa,ma,Hn,jt,Yn,xn;return b.createElement("div",{className:fn.warp},b.createElement("div",{className:fn.mainPart},b.createElement("div",{className:fn.qcount},(ce==null?void 0:ce.question_type)===8&&b.createElement(fe.Z,{className:fn.content,showProgramFill:!0,value:(pe=ce==null?void 0:ce.program_attr)==null?void 0:pe.description}),(ce==null?void 0:ce.question_type)!=8&&b.createElement(fe.Z,{className:fn.qtitle,value:(ce==null?void 0:ce.name)||(ce==null?void 0:ce.title)})),((ce==null?void 0:ce.question_type)===0||(ce==null?void 0:ce.question_type)===2)&&b.createElement("div",null,(Pe=ce==null?void 0:ce.choices)==null?void 0:Pe.map((Ct,mn)=>b.createElement("div",{className:fn.redio},!(Ct!=null&&Ct.is_answer)&&b.createElement("span",{className:fn.redioitem}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("i",{className:`${fn.redioitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:Ct!=null&&Ct.is_answer?fn.titleyes:fn.title,value:Ba[mn]+(Ct==null?void 0:Ct.choice_text)}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("div",{className:fn.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===1&&b.createElement("div",null,(Lt=ce==null?void 0:ce.choices)==null?void 0:Lt.map((Ct,mn)=>b.createElement("div",{className:fn.checkbox},!(Ct!=null&&Ct.is_answer)&&b.createElement("span",{className:fn.checkboxitem}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("i",{className:`${fn.checkboxitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:Ct!=null&&Ct.is_answer?fn.titleyes:fn.title,value:Ba[mn]+(Ct==null?void 0:Ct.choice_text)}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("div",{className:fn.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===3&&b.createElement("div",{className:fn.completion},(tn=ce==null?void 0:ce.standard_answer)==null?void 0:tn.map((Ct,mn)=>{var In;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:fn.title},"\u586B\u7A7A\u9879",mn+1),b.createElement("div",{className:fn.content},(In=Ct==null?void 0:Ct.answer_text)==null?void 0:In.map((oa,zn)=>b.createElement("div",{className:fn.items},oa))))})),(ce==null?void 0:ce.question_type)===4&&b.createElement("div",{className:fn.simple},b.createElement("div",{className:fn.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(wa=ce==null?void 0:ce.answer_texts)!=null&&wa[0]?b.createElement(fe.Z,{className:fn.content,value:(ma=ce==null?void 0:ce.answer_texts)==null?void 0:ma[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(ce==null?void 0:ce.question_type)===5&&((Hn=ce==null?void 0:ce.challenge_names)==null?void 0:Hn.map((Ct,mn)=>b.createElement("div",{className:fn.shixun},b.createElement("span",{className:fn.qtitle},b.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,At.EM)(mn+1),"\u9898"),Ct)))),(ce==null?void 0:ce.question_type)===6&&b.createElement("div",{className:fn.simple},b.createElement(fe.Z,{className:fn.content,value:((jt=ce==null?void 0:ce.program_attr)==null?void 0:jt.description)||"- -"})),(ce==null?void 0:ce.question_type)===7&&((Yn=ce==null?void 0:ce.sub_item_banks)==null?void 0:Yn.map((Ct,mn)=>{var In,oa,zn,ba,ta;return b.createElement("div",null,b.createElement("div",{className:fn.combination},b.createElement("span",{className:fn.qtitle},Ct==null?void 0:Ct.name)),b.createElement("div",{className:fn.warp,style:{padding:"0px",paddingTop:20}},b.createElement("div",null,((Ct==null?void 0:Ct.item_type)=="SINGLE"||(Ct==null?void 0:Ct.item_type)=="JUDGMENT")&&((In=Ct==null?void 0:Ct.choices)==null?void 0:In.map((ia,Ka)=>b.createElement("div",{className:fn.redio},!(ia!=null&&ia.is_answer)&&b.createElement("span",{className:fn.redioitem}),(ia==null?void 0:ia.is_answer)&&b.createElement("i",{className:`${fn.redioitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:ia!=null&&ia.is_answer?fn.titleyes:fn.title,value:Ba[Ka]+(ia==null?void 0:ia.choice_text)}),(ia==null?void 0:ia.is_answer)&&b.createElement("div",{className:fn.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ct==null?void 0:Ct.item_type)=="MULTIPLE"&&((oa=Ct==null?void 0:Ct.choices)==null?void 0:oa.map((ia,Ka)=>b.createElement("div",{className:fn.checkbox},!(ia!=null&&ia.is_answer)&&b.createElement("span",{className:fn.checkboxitem}),(ia==null?void 0:ia.is_answer)&&b.createElement("i",{className:`${fn.checkboxitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:ia!=null&&ia.is_answer?fn.titleyes:fn.title,value:Ba[Ka]+(ia==null?void 0:ia.choice_text)}),(ia==null?void 0:ia.is_answer)&&b.createElement("div",{className:fn.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ct==null?void 0:Ct.item_type)=="COMPLETION"&&b.createElement("div",{className:fn.completion},(zn=Ct==null?void 0:Ct.standard_answer)==null?void 0:zn.map((ia,Ka)=>{var Pn;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:fn.title},"\u586B\u7A7A\u9879",Ka+1),b.createElement("div",{className:fn.content},(Pn=ia==null?void 0:ia.answer_text)==null?void 0:Pn.map((ya,ja)=>b.createElement("div",{className:fn.items},ya))))})),(Ct==null?void 0:Ct.item_type)=="SUBJECTIVE"&&b.createElement("div",{className:fn.simple},b.createElement("div",{className:fn.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(ba=Ct==null?void 0:Ct.answer_texts)!=null&&ba[0]?b.createElement(fe.Z,{className:fn.content,value:(ta=Ct==null?void 0:Ct.answer_texts)==null?void 0:ta[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(ce==null?void 0:ce.question_type)===8&&b.createElement("div",null,b.createElement(fe.Z,{disabledFill:!0,className:fn.content,showProgramFill:!0,value:zl.Base64.decode(((xn=ce==null?void 0:ce.program_attr)==null?void 0:xn.code)||"")})),(ce==null?void 0:ce.question_type)===5&&b.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},b.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u521B\u5EFA\u8005"),b.createElement("span",{style:{color:"#000000"}},(ce==null?void 0:ce.author_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u6240\u5C5E\u5355\u4F4D"),b.createElement("span",{style:{color:"#000000"}},(ce==null?void 0:ce.author_school_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{style:{color:"#000000"}},(ce==null?void 0:ce.study_count)||"0"))),b.createElement("a",{className:fn.shixunbutton,href:`/shixuns/${ce==null?void 0:ce.identifier}/challenges?exercise=true`,target:"_blank"},b.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((ce==null?void 0:ce.question_type)<=4||[6,8].includes(ce==null?void 0:ce.question_type))&&b.createElement("div",{className:fn.bottom},b.createElement("div",{className:fn.bottomitem},b.createElement("span",{className:fn.left},"\u89E3\u6790"),b.createElement("span",{className:fn.right},ce!=null&&ce.analysis?b.createElement(fe.Z,{value:ce==null?void 0:ce.analysis}):b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),b.createElement("div",{className:fn.bottomitem},b.createElement("span",{className:fn.left},"\u96BE\u5EA6"),b.createElement("span",{className:fn.right},(ce==null?void 0:ce.difficulty)===1?"\u7B80\u5355":(ce==null?void 0:ce.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),b.createElement("div",{className:fn.bottomitem},b.createElement("span",{className:fn.left},"\u77E5\u8BC6\u70B9"),b.createElement("span",{className:fn.right},ce!=null&&ce.tag_discipline?ce==null?void 0:ce.tag_discipline:b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},sa=ee(61250),Oa=ee(57149),Fr=ee(87444),vr=ee(94361),Br=ee(46722),jr=ee(3039),Lr=ee(75736),Gn=ee(59301),Ko=Object.defineProperty,mo=Object.defineProperties,Ho=Object.getOwnPropertyDescriptors,qo=Object.getOwnPropertySymbols,ii=Object.prototype.hasOwnProperty,Si=Object.prototype.propertyIsEnumerable,zi=(ce,pe,Pe)=>pe in ce?Ko(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,oo=(ce,pe)=>{for(var Pe in pe||(pe={}))ii.call(pe,Pe)&&zi(ce,Pe,pe[Pe]);if(qo)for(var Pe of qo(pe))Si.call(pe,Pe)&&zi(ce,Pe,pe[Pe]);return ce},Oo=(ce,pe)=>mo(ce,Ho(pe)),To=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())});const Ai=({setScoreShow:ce,ScoreShow:pe,onOk:Pe,isshixuns:Lt,isloadings:tn,dispatch:wa,shixunsDetail:ma,exercise:Hn})=>{var jt,Yn,xn;let[Ct,mn]=(0,b.useState)({type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]}),[In,oa]=(0,b.useState)([]),[zn,ba]=(0,b.useState)([]),[ta,ia]=(0,b.useState)([]),[Ka,Pn]=(0,b.useState)([]);const[ya,ja]=(0,b.useState)(!1),[qr]=Be.default.useForm(),[cr,li]=(0,b.useState)(),[Za,Co]=(0,b.useState)(!1);let[Dr,ao]=(0,b.useState)(Lt);const[So,Ei]=(0,b.useState)([]),[fi,pr]=(0,b.useState)(!0),[vo,Ui]=(0,b.useState)([]),[Ri,ea]=(0,b.useState)(0),[xo,Mi]=(0,b.useState)([]),Zo=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}],[Fi,ki]=(0,b.useState)({});(0,b.useEffect)(()=>{var na,er,Ro,Eo,zo,ci,ji,Yo,gl,vi;(((Ro=(er=(na=Hn==null?void 0:Hn.editData)==null?void 0:na.exercise)==null?void 0:er.exist_item_bank_ids)==null?void 0:Ro.length)>0||((ci=(zo=(Eo=Hn==null?void 0:Hn.editData)==null?void 0:Eo.exercise)==null?void 0:zo.exist_item_bank_shixun_ids)==null?void 0:ci.length)>0)&&Mi([...(Yo=(ji=Hn==null?void 0:Hn.editData)==null?void 0:ji.exercise)==null?void 0:Yo.exist_item_bank_ids,...(vi=(gl=Hn==null?void 0:Hn.editData)==null?void 0:gl.exercise)==null?void 0:vi.exist_item_bank_shixun_ids])},[(Yn=(jt=Hn==null?void 0:Hn.editData)==null?void 0:jt.exercise)==null?void 0:Yn.exist_item_bank_ids]);const oi=(0,b.useRef)(new Set),il=(0,b.useRef)(new Set);let[ll,jl]=(0,b.useState)({gg:{type:"1",page:1,updated_at:"",quotes:"",item_type:null,courseid:"",per_page:10,tag_discipline_id:null,difficulty:null,keyword:null},ttgx:{type:"3",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},scj:{type:"2",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null},wcjd:{type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},yx:{type:"5",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:null}});const Oi=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],cl=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],wl=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Gl,Ao]=(0,b.useState)(!1),Pi=()=>{qr.resetFields(),Dr=!1,ao(!1),Ao(!1),qr.submit()};(0,b.useEffect)(()=>{Ri>0&&setTimeout(()=>{ea(0)},2e3)},[Ri]),(0,b.useEffect)(()=>{pe&&(qr.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),fi&&Dr&&(qr.setFieldsValue({item_type:"SHIXUN"}),Ct.item_type="SHIXUN",mn(oo({},Ct)),pr(!1)),$i(Ct),hl(),Hi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[pe]);function $i(na){return To(this,null,function*(){var er,Ro,Eo;if(ja(!0),mn(na),(ta==null?void 0:ta.length)<=0&&na.type==="5"){Pn([]),ja(!1);return}let zo=na.type==="5"?ta==null?void 0:ta.filter(Yo=>!So.includes(Yo)):null,ci=na.type==="5"?ta==null?void 0:ta.filter(Yo=>So.includes(Yo)):null;na.group_id=((er=na.group_id)==null?void 0:er.map(Yo=>Yo==null?void 0:Yo.value))||null;let ji=yield(0,ne.ZP)("/api/item_banks.json",{method:"get",params:Oo(oo({},na),{discipline_id:((Ro=na==null?void 0:na.courseid)==null?void 0:Ro[0])||null,sub_discipline_id:((Eo=na==null?void 0:na.courseid)==null?void 0:Eo[1])||null,ids:zo,shixun_ids:ci,keyword:na.keyword?encodeURIComponent(na.keyword):na.keyword,include_shixuns:!0,type:na.type==="5"?null:na.type,clazz:na.type==="3"?"ItemBanksGroup":null})});Pn(ji),ja(!1)})}function Hi(na){return To(this,null,function*(){var er;let Ro=yield(0,ne.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:na}),Eo=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(er=Ro==null?void 0:Ro.data)==null?void 0:er.map(zo=>({title:zo.name,id:zo.id,pid:zo.id,value:zo.id,key:zo.id,isLeaf:!zo.have_child}))}];Ui(Eo)})}function hl(){return To(this,null,function*(){let na=yield(0,ne.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:Ct.type==="5"?null:Ct.type,clazz:"ItemBanksGroup"}});oa((0,ga.L)(na==null?void 0:na.disciplines))})}function ul(na){return To(this,null,function*(){var er,Ro,Eo,zo;ja(!0);let ci=(er=na.list)==null?void 0:er.filter(gl=>!So.includes(gl)),ji=(Ro=na.list)==null?void 0:Ro.filter(gl=>So.includes(gl));if(ci.length===0&&ji.length===0){ja(!1),Pn([]);return}let Yo=yield(0,ne.ZP)("/api/item_banks.json",{method:"get",params:Oo(oo({},na),{discipline_id:((Eo=na==null?void 0:na.courseid)==null?void 0:Eo[0])||null,sub_discipline_id:((zo=na==null?void 0:na.courseid)==null?void 0:zo[1])||null,ids:ci,shixun_ids:ji,type:na.type==="5"?null:na.type,clazz:na.type==="3"?"ItemBanksGroup":null})});ja(!1),Pn(Yo)})}const sl=(0,de.useParams)(),[Dl,Ml,fl,el]=(0,Fr.P)(),Wl=na=>To(void 0,null,function*(){const er=yield wa({type:"shixunsDetail/release",payload:{id:na}});let Ro=er==null?void 0:er.tag_position,Eo=(er==null?void 0:er.evaluation_set_position)||[],zo=er.status;return zo===0?(Ne.ZP.success("\u53D1\u5E03\u6210\u529F"),$i(Ct),!0):(zo===2?Ne.ZP.error(`\u7B2C${Eo.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):zo===3?Ne.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`):Ne.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),Xo=na=>(na==null?void 0:na.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",vu=(na,er,Ro)=>na.map(Eo=>Eo.key===er?oo(oo({},Eo),Ro):Eo.children?Oo(oo({},Eo),{children:vu(Eo.children,er,Ro)}):Eo),pu=na=>To(void 0,null,function*(){const{key:er}=na;let Ro=Ct.type;const Eo=yield(0,Br.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(er),type:Ro}),{data:zo,total_count:ci}=Eo||{};ci>0&&Ui(ji=>vu(ji,er,{children:zo.map(Yo=>({title:Yo.name,id:Yo.id,pid:Yo.id,value:Yo.id,key:Yo.id,isLeaf:!Yo.have_child}))}))});function Kl(na){console.log("----",Ct),na==="1"&&(ll.gg=oo({},Ct)),na==="2"&&(ll.scj=oo({},Ct)),na==="3"&&(ll.ttgx=oo({},Ct)),na==="0"&&(ll.wcjd=oo({},Ct)),na==="5"&&(ll.yx=oo({},Ct)),jl(oo({},ll))}function gu(){Ct.type==="1"&&(Ct=ll.gg),Ct.type==="2"&&(Ct=ll.scj),Ct.type==="3"&&(Ct=ll.ttgx),Ct.type==="0"&&(Ct=ll.wcjd),Ct.type==="5"&&(Ct=ll.yx),(Ct==null?void 0:Ct.item_type)==="SHIXUN"?(Dr=!0,ao(!0)):(Dr=!1,ao(!1)),qr.setFieldsValue(oo({},Ct)),mn(oo({},Ct)),$i(oo({},Ct))}return Gn.createElement("div",null,Gn.createElement(Ye.default,{title:!1,footer:!1,open:pe,width:1200,centered:!0,className:Ca.scoremodal,onCancel:()=>{ce(!1)}},Gn.createElement("div",{style:{display:"flex",alignItems:"center"}},Gn.createElement("div",{className:Ca.title},"\u9898\u5E93\u9009\u9898")),Gn.createElement(Zn.default,{className:Ca.tabWrap,activeKey:Ct.type,onChange:na=>{na==="3"?(Ct.show_all_share=!0,Hi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):Ct.show_all_share=null,na==="0"&&Hi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Kl(Ct.type),Ct.type=na,(Ct==null?void 0:Ct.item_type)==="SHIXUN"&&Ct.type!=="5"&&(Dr=!0,ao(!0)),Ao(!1),Ct.type==="5"&&(Dr=!1,ao(!1)),gu(),hl()},items:[{label:"\u516C\u5171",key:"1"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u6536\u85CF\u5939",key:"2"},{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:Gn.createElement("div",null,"\u5DF2\u9009",ta.length>0&&Gn.createElement("span",{className:Ca.titlecount},ta.length),Ri>0&&Gn.createElement("span",{className:Ca.add},"+",Ri)),key:"5"}]}),Gn.createElement(Be.default,{layout:"inline",form:qr,onValuesChange:(na,er)=>{var Ro,Eo;const zo=Object.values(er).some(ji=>ji!==null&&ji!==""&&ji!==void 0),ci=er.keyword==="";if(Ao(zo||!ci),Ct.page=1,Ct.keyword=(Eo=(Ro=Ct.keyword)==null?void 0:Ro.replace)==null?void 0:Eo.call(Ro,/^\s+|\s+$/g,""),(er==null?void 0:er.item_type)==="SHIXUN"){if(Ct.type==="5"?ao(!1):ao(!0),na.keyword||na.keyword==="")return;qr.submit()}else{if(na!=null&&na.courseid&&qr.setFieldsValue({tag_discipline_id:""}),ao(!1),na.keyword||na.keyword==="")return;qr.submit()}},onFinish:na=>{var er;Ct.type==="3"&&(!na.group_id||((er=na==null?void 0:na.group_id)==null?void 0:er.length)===0)?Ct.show_all_share=!0:Ct.show_all_share=null,mn(oo(oo({},Ct),na)),$i(oo(oo({},Ct),na))}},Gn.createElement(Be.default.Item,{name:"item_type"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle",allowClear:!0},Zo.map(na=>Gn.createElement(ve.default.Option,{key:na.value},na.name)))),Gn.createElement(Be.default.Item,{name:"courseid"},Gn.createElement(le.Z,{className:Ca.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:In})),!Dr&&Gn.createElement(Be.default.Item,{name:"tag_discipline_id"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(xn=Ka==null?void 0:Ka.tag_disciplines)==null?void 0:xn.map(na=>Gn.createElement(ve.default.Option,{key:na.id},na.name)))),Gn.createElement(Be.default.Item,{name:Dr?"diff":"difficulty"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Dr&&Oi.map(na=>Gn.createElement(ve.default.Option,{key:na.value},na.name)),Dr&&cl.map(na=>Gn.createElement(ve.default.Option,{key:na.value},na.name)))),Dr&&Gn.createElement(Be.default.Item,{name:"shixun_publish_status"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},wl.map(na=>Gn.createElement(ve.default.Option,{key:na.value},na.name)))),(Ct.type==="3"||Ct.type==="0")&&!Dr&&Gn.createElement(Be.default.Item,{name:"group_id"},Gn.createElement(Tn.default,{treeDataSimpleMode:!0,style:{width:118},className:Ca.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(na,er)=>er.title.toUpperCase().indexOf(na.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:pu,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:vo})),Gl&&Gn.createElement("span",{className:Ca.allqingchu,onClick:Pi},Gn.createElement("i",{className:"iconfont icon-guanbi4"}),Gn.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Gn.createElement(Be.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Gn.createElement(ke.default.Search,{className:Ca.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Gn.createElement("i",{className:`iconfont icon-sousuo9 font14 ${Ca.searchIcon}`,onClick:()=>qr.submit()}),onSearch:na=>{qr.submit()}}))),Gn.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Gn.createElement("div",{onClick:()=>{Ct.updated_at==="asc"?Ct.updated_at="desc":Ct.updated_at="asc",mn(Oo(oo({},Ct),{page:1})),$i(Oo(oo({},Ct),{page:1}))}}," ",Ct.updated_at?Gn.createElement("img",{src:Ct.updated_at==="asc"?sa.Z:Oa.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Gn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Gn.createElement("div",{onClick:()=>{Ct.quotes==="asc"?Ct.quotes="desc":Ct.quotes="asc",mn(Oo(oo({},Ct),{page:1})),$i(Oo(oo({},Ct),{page:1}))},style:{marginLeft:20}}," ",Ct.quotes?Gn.createElement("img",{src:Ct.quotes==="asc"?sa.Z:Oa.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Gn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Gn.createElement(Bu.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(Ka==null?void 0:Ka.items)||(Ka==null?void 0:Ka.shixun_list),pagination:!1,loading:ya,rowKey:na=>na.id,rowSelection:{type:"checkbox",selectedRowKeys:[...zn,...xo],getCheckboxProps:na=>({disabled:na.shixun_tag_num===1||(xo==null?void 0:xo.find(er=>na.id===er))}),onSelect(na,er,Ro){if(er)(Dr||na!=null&&na.challenge_names)&&Ei([...So,na.id]),ba([...zn,na.id]),na.identifier?oi.current.add(na.id):il.current.add(na.id),ea(1),ia([...ta,na.id]);else{na.identifier?oi.current.delete(na.id):il.current.delete(na.id);let Eo=ta.filter(zo=>zo!==na.id);if(ba(Eo),ia(Eo),Dr||na!=null&&na.challenge_names){let zo=So.filter(ci=>ci!==na.id);Ei([...zo])}if(Ct.type==="5"){ul(Oo(oo({},Ct),{list:[...Eo]}));return}}},onSelectAll(na,er,Ro){var Eo,zo;if(na){const ci=Ro.map(Yo=>Yo.id),ji=(zo=Ro==null?void 0:Ro.filter(Yo=>Yo==null?void 0:Yo.challenge_names))==null?void 0:zo.map(Yo=>Yo.id);Ei([...So,...ji]),ba([...zn,...ci]),ia([...ta,...ci]);for(const Yo of Ro)Yo.identifier?oi.current.add(Yo.id):il.current.add(Yo.id)}else{const ci=Ro.map(vi=>vi.id),ji=zn.filter(vi=>!ci.some(Pl=>Pl===vi)),Yo=(Eo=Ro==null?void 0:Ro.filter(vi=>vi==null?void 0:vi.challenge_names))==null?void 0:Eo.map(vi=>vi.id);ba([...ji]),ia([...ji]);let gl=So.filter(vi=>!Yo.some(Pl=>Pl===vi.id));Ei([...gl]),Ct.type==="5"&&ul(Oo(oo({},Ct),{list:[...ji]}));for(const vi of ci)vi.identifier?oi.current.delete(vi):il.current.delete(vi)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(na,er,Ro)=>{var Eo,zo;return Gn.createElement(ct.Z,{title:Xo(er)},Gn.createElement("div",null,Dr||er!=null&&er.challenge_names?"\u5B9E\u8BAD\u9898":(zo=(Eo=Zo==null?void 0:Zo.filter(ci=>ci.value===na))==null?void 0:Eo[0])==null?void 0:zo.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Dr?"30%":"60%",key:"name",render:(na,er,Ro)=>{var Eo;return Gn.createElement("div",{style:{display:"flex",alignItems:"center"}},Gn.createElement(ct.Z,{title:Xo(er)},Gn.createElement("span",null,Gn.createElement(fe.Z,{key:1,showLines:1,showTextOnly:!0,value:Dr||er!=null&&er.challenge_names?er!=null&&er.title||na===null?"--":na:(er==null?void 0:er.item_type)=="BPROGRAM"?(Eo=er==null?void 0:er.program_attr)==null?void 0:Eo.description:na}))),(er==null?void 0:er.high_resources_consume)&&Gn.createElement(vr.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Dr,render:(na,er,Ro)=>{var Eo;return Gn.createElement(ct.Z,{title:Xo(er)},Gn.createElement("span",null,na?(Eo=na==null?void 0:na.split("\u3001"))==null?void 0:Eo[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Dr,render:(na,er,Ro)=>Gn.createElement(ct.Z,{title:Xo(er)},Gn.createElement("span",null,na||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(na,er,Ro)=>{var Eo,zo,ci,ji;return Gn.createElement(ct.Z,{title:Xo(er)},Gn.createElement("div",null,Dr||er!=null&&er.challenge_names?(er==null?void 0:er.level)||((zo=(Eo=Oi==null?void 0:Oi.filter(Yo=>Yo.value===na))==null?void 0:Eo[0])==null?void 0:zo.name):(ji=(ci=Oi==null?void 0:Oi.filter(Yo=>Yo.value===na))==null?void 0:ci[0])==null?void 0:ji.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Dr,render:(na,er,Ro)=>Gn.createElement(ct.Z,{title:Xo(er)},Gn.createElement("div",null,na||"- -"))},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Dr,render:(na,er,Ro)=>Gn.createElement("span",null,na||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(na,er,Ro)=>Gn.createElement(ct.Z,{title:Xo(er)},Gn.createElement("div",null,Dr||er!=null&&er.challenge_names?(er==null?void 0:er.study_count)||(er==null?void 0:er.stu_num):na))},{title:Gn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Gn.createElement(ct.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Gn.createElement(Bt.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Dr,render:(na,er,Ro)=>Gn.createElement(ct.Z,{title:Xo(er)},Gn.createElement("div",null,na||"- -"))},{title:Gn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Gn.createElement(ct.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Gn.createElement(Bt.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Dr,render:(na,er,Ro)=>Gn.createElement("span",null,na||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(na,er,Ro)=>Gn.createElement(ct.Z,{title:Xo(er)},Gn.createElement("div",{style:{flex:1,textAlign:"start"}},Gn.createElement("a",{onClick:()=>{var Eo,zo;li(Oo(oo({},er),{question_type:Dr||er!=null&&er.challenge_names?5:(zo=(Eo=Zo==null?void 0:Zo.filter(ci=>ci.value===(er==null?void 0:er.item_type)))==null?void 0:Eo[0])==null?void 0:zo.question_type})),Co(!0)}},"\u67E5\u770B"),(er==null?void 0:er.shixun_tag_num)===1&&Gn.createElement("a",{style:{marginLeft:10},onClick:()=>{Ye.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Gn.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Gn.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${er==null?void 0:er.identifier}/challenges`)}},(er==null?void 0:er.shixun_name)||"--"),"\uFF1F"),onOk:()=>To(void 0,null,function*(){if(!Wl(er==null?void 0:er.identifier))return new Promise((Eo,zo)=>{zo()})})})}},"\u53D1\u5E03")))}].filter(na=>!na.hidden)}),Gn.createElement(ra.Z,{current:Ct.page,total:(Ka==null?void 0:Ka.items_count)||(Ka==null?void 0:Ka.shixuns_count),style:{marginBottom:20},defaultPageSize:Ct.per_page,showTotal:na=>Gn.createElement("span",null,"\u5171\xA0",Gn.createElement("span",{style:{color:"#165DFF"}},na),"\xA0\u6761\u6570\u636E"),pageSize:Ct.per_page,onChange:(na,er)=>{Ct.page=na,Ct.per_page=er,mn(oo({},Ct)),$i(oo({},Ct))}}),Gn.createElement("div",{className:Ca.bottom},Gn.createElement(je.ZP,{className:Ca.no,onClick:()=>{ce(!1)}},"\u53D6\u6D88"),Gn.createElement(je.ZP,{loading:tn,style:{width:tn&&75},className:Ca.yes,onClick:()=>To(void 0,null,function*(){if((ta==null?void 0:ta.length)<=0){Ne.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}let na=yield(0,Lr.Tr)({id:[...ta==null?void 0:ta.filter(er=>So.includes(er))],course_id:sl.coursesId,type:"shixun"});(na==null?void 0:na.student_count)===0?Pe([...il.current],[...ta==null?void 0:ta.filter(er=>So.includes(er))],!0,ta==null?void 0:ta.length):ki(na)})},"\u786E\u8BA4"))),Gn.createElement(Ye.default,{open:Za,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:Ca.previewModal,width:1e3,centered:!0,onCancel:()=>{Co(!1)},onOk:()=>{Co(!1)}},Gn.createElement(kn,{qitem:cr})),Gn.createElement(jr.Z,{resdata:Fi,type:"exercise",okloading:tn,oktext:(Fi==null?void 0:Fi.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:na=>To(void 0,null,function*(){const er=[],Ro=[];for(const Eo of Fi==null?void 0:Fi.can_copy_list)er.push(Eo.id);Ml(),yield Pe([...il.current],[...oi.current].filter(Eo=>!Ro.includes(Eo)),!0,ta==null?void 0:ta.length,er)})}))};var Ii=(0,de.connect)(({shixunsDetail:ce,exercise:pe})=>({shixunsDetail:ce,exercise:pe}))(Ai),pi=ee(68571),Lo=ee(59301),ol=Object.defineProperty,qi=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,Pt=(ce,pe,Pe)=>pe in ce?ol(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Et=(ce,pe)=>{for(var Pe in pe||(pe={}))Qe.call(pe,Pe)&&Pt(ce,Pe,pe[Pe]);if(Ce)for(var Pe of Ce(pe))ot.call(pe,Pe)&&Pt(ce,Pe,pe[Pe]);return ce},Ut=(ce,pe)=>qi(ce,Ee(pe)),Yt=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())}),Cn=({qitem:ce,TagDiscipline:pe,exerciseitem:Pe,setisedit:Lt,seveeditor:tn,deleteitem:wa,getTagData:ma,init:Hn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm(),Ct=!0;return(0,b.useEffect)(()=>{var mn,In,oa;xn.setFieldsValue(Ut(Et({},ce),{standard_answers:ce.standard_answer,difficulty:(ce==null?void 0:ce.difficult)||2,item_banks_group_id:ce.item_banks_group_id,hack:Ut(Et({},ce),{time_limit:(ce==null?void 0:ce.time_limit)||3}),hack_codes:{language:(mn=ce==null?void 0:ce.program_attr)==null?void 0:mn.language,code:zl.Base64.decode(((In=ce==null?void 0:ce.program_attr)==null?void 0:In.code)||"")},hack_sets:Et({},(oa=ce==null?void 0:ce.hack_sets)==null?void 0:oa[0]),repeat_answer:!ce.repeat_answer}))},[ce]),Lo.createElement("div",null,Lo.createElement(Be.default,{form:xn,colon:!1,onValuesChange:(mn,In)=>{var oa,zn,ba,ta;if(mn!=null&&mn.standard_answers){let ia=((oa=xn.getFieldValue("standard_answers"))==null?void 0:oa.length)>0&&((ba=(zn=xn.getFieldValue("standard_answers"))==null?void 0:zn.map(Ka=>Ka.score))==null?void 0:ba.filter(Ka=>Ka));(ia==null?void 0:ia.length)>0&&xn.setFieldsValue({question_score:(ia==null?void 0:ia.length)>0&&((ta=ia.reduce((Ka,Pn)=>Ka+Pn))==null?void 0:ta.toFixed(1))})}},onFinish:mn=>{var In;tn(Ut(Et(Et({},ce),mn),{item_type:ce==null?void 0:ce.question_type,standard_answers:(In=mn.standard_answers)==null?void 0:In.map((oa,zn)=>Ut(Et({},oa),{position:zn+1})),hack_codes:Ut(Et({},mn.hack_codes),{code:zl.Base64.encode(mn.hack_codes.code)}),standard_answer:void 0}))},onFinishFailed:mn=>Yt(void 0,null,function*(){var In,oa;Ne.ZP.error(mn.errorFields[0].errors[0]),xn.scrollToField((oa=(In=mn==null?void 0:mn.errorFields)==null?void 0:In[0])==null?void 0:oa.name,{behavior:"smooth",block:"center"})})},Lo.createElement("div",{style:{display:"flex",alignItems:"center"}},Lo.createElement("div",{style:{flex:1}},Lo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Lo.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),((Yn=Pe==null?void 0:Pe.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Lo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Lo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),Lo.createElement(je.ZP,{onClick:()=>{var mn,In,oa,zn;ce.isadd?(Lt(!1),Hn()):(xn.setFieldsValue(Ut(Et({},ce),{standard_answers:ce.standard_answer,difficulty:ce.difficult,item_banks_group_id:ce.item_banks_group_id,hack:Ut(Et({},ce),{sub_discipline_id:(mn=Pe==null?void 0:Pe.exercise)==null?void 0:mn.sub_discipline_id,tag_discipline_ids:[]}),hack_codes:{language:(In=ce==null?void 0:ce.program_attr)==null?void 0:In.language,code:zl.Base64.decode((oa=ce==null?void 0:ce.program_attr)==null?void 0:oa.code)},hack_sets:Et({},(zn=ce==null?void 0:ce.hack_sets)==null?void 0:zn[0]),repeat_answer:!ce.repeat_answer})),Lt(!1))}},"\u53D6\u6D88"),Lo.createElement(ct.Z,{overlayClassName:ft.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Lo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Lo.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")},Lo.createElement(je.ZP,{className:"ml20",type:"primary",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Lo.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Lo.createElement(Vt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),Lo.createElement(pi.t,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:Ct,hackidentifier:ce==null?void 0:ce.hack_identifier,answerKey:"standard_answers"}),Lo.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Pe,TagDiscipline:pe,form:xn}))))},pn=ee(346),hn=ee(78874),qn=ee(81722),aa=ee(89392),ca=ee(99909),Aa=ee(50043),zt=ee(59301),Xa=Object.defineProperty,_a=Object.defineProperties,rr=Object.getOwnPropertyDescriptors,Tr=Object.getOwnPropertySymbols,Ur=Object.prototype.hasOwnProperty,wr=Object.prototype.propertyIsEnumerable,Gr=(ce,pe,Pe)=>pe in ce?Xa(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Hr=(ce,pe)=>{for(var Pe in pe||(pe={}))Ur.call(pe,Pe)&&Gr(ce,Pe,pe[Pe]);if(Tr)for(var Pe of Tr(pe))wr.call(pe,Pe)&&Gr(ce,Pe,pe[Pe]);return ce},tr=(ce,pe)=>_a(ce,rr(pe)),nr=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())});const{confirm:fr}=Ye.default,Wa=[{name:"\u5355\u9009\u9898",id:0,count:"q_singles",score:"q_singles_scores",nameType:"SINGLE"},{name:"\u591A\u9009\u9898",id:1,count:"q_doubles",score:"q_doubles_scores",nameType:"MULTIPLE"},{name:"\u5224\u65AD\u9898",id:2,count:"q_judges",score:"q_judges_scores",nameType:"JUDGMENT"},{name:"\u586B\u7A7A\u9898",id:3,count:"q_nulls",score:"q_nulls_scores",nameType:"COMPLETION"},{name:"\u7B80\u7B54\u9898",id:4,count:"q_mains",score:"q_mains_scores",nameType:"SUBJECTIVE"},{name:"\u5B9E\u8BAD\u9898",id:5,count:"q_shixuns",score:"q_shixuns_scores",nameType:"PRACTICAL"},{name:"\u7F16\u7A0B\u9898",id:6,count:"q_pros",score:"q_pros_scores",nameType:"PROGRAM"},{name:"\u7EC4\u5408\u9898",id:7,count:"q_combinations",score:"q_combinations_scores",nameType:"COMBINATION"},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",id:8,count:"q_combinations",score:"q_combinations_scores",nameType:"BPROGRAM"}],or=({user:ce,dispatch:pe,itemid:Pe,setisedits:Lt,exercise:tn,setitemid:wa})=>{var ma,Hn,jt,Yn,xn,Ct,mn,In,oa,zn,ba,ta,ia,Ka,Pn,ya,ja,qr,cr,li,Za,Co,Dr,ao,So,Ei,fi;const[pr,vo]=(0,b.useState)(),[Ui,Ri]=(0,b.useState)(!1),[ea,xo]=(0,b.useState)(),[Mi,Zo]=(0,b.useState)(),Fi=(0,b.useRef)(),ki=(0,b.useRef)(),[oi,il]=(0,b.useState)(),[ll,jl]=(0,b.useState)(!1),[Oi,cl]=(0,b.useState)(!1),[wl,Gl]=(0,b.useState)(),[Ao,Pi]=(0,b.useState)(!1),[$i,Hi]=(0,b.useState)(!1),[hl,ul]=(0,b.useState)(!1),[sl,Dl]=(0,b.useState)(!1),[Ml,fl]=(0,b.useState)(!1),[el,Wl]=(0,b.useState)(!1),Xo=(0,de.useParams)(),[vu,pu]=(0,b.useState)(!1),[Kl]=Be.default.useForm(),[gu,na]=(0,b.useState)(!1),[er,Ro]=(0,b.useState)(!1),[Eo,zo]=(0,b.useState)(!1),[ci,ji]=(0,b.useState)(!1),Yo=(0,b.useRef)();(0,b.useEffect)(()=>{Pe&&vi()},[Pe]),(0,b.useEffect)(()=>{Lt(Oi)},[Oi]),(0,b.useEffect)(()=>{ea!=null&&ea.question_id&&(Zo(ea==null?void 0:ea.question_score),ki.current=ea==null?void 0:ea.question_id)},[ea]);const gl=Va=>nr(void 0,null,function*(){let io=yield pe({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:Va}});pe({type:"globalSetting/footerToggle",payload:!1}),Gl(io)});function vi(){return nr(this,null,function*(){var Va,io,$o,gi,ti,jo;jl(!0),Ri(!0);const Li=yield pe({type:"exercise/editExercise",payload:{categoryId:Pe}});jl(!1),Ri(!1),vo(Li),fl(!1),(Va=Li==null?void 0:Li.exercise)!=null&&Va.sub_discipline_id&&gl((io=Li==null?void 0:Li.exercise)==null?void 0:io.sub_discipline_id),xo(tr(Hr({},(ti=(gi=($o=Li==null?void 0:Li.exercise_question_types)==null?void 0:$o[0])==null?void 0:gi.items)==null?void 0:ti[0]),{index:1})),il(tr(Hr({},(jo=Li==null?void 0:Li.exercise_question_types)==null?void 0:jo[0]),{indexs:1}))})}function Pl(Va,io=!0){return nr(this,null,function*(){var $o,gi,ti,jo;io&&(jl(!0),Ri(!0));const Li=yield pe({type:"exercise/editExercise",payload:{categoryId:Pe}});vo(Li);let Ki=[];($o=Li==null?void 0:Li.exercise_question_types)==null||$o.map(Ll=>{var $l;($l=Ll==null?void 0:Ll.items)==null||$l.map((Eu,Du)=>{Ki.push(tr(Hr({},Eu),{index:Du+1}))})});let xl=(gi=Ki.filter(Ll=>Ll.question_id===(Va==null?void 0:Va.id)))==null?void 0:gi[0],Su=(jo=((ti=Li==null?void 0:Li.exercise_question_types)==null?void 0:ti.map((Ll,$l)=>{if((xl==null?void 0:xl.question_type)===(Ll==null?void 0:Ll.question_type))return tr(Hr({},Ll),{indexs:$l+1})})).filter(Ll=>Ll))==null?void 0:jo[0];il(Hr({},Su)),xo(Hr({},xl)),Zo(xl==null?void 0:xl.question_score),jl(!1),Ri(!1),fl(!1)})}function ou(Va){return nr(this,null,function*(){var io;let $o=tr(Hr({},Va),{repeat_answer:!Va.repeat_answer,difficulty:(Va==null?void 0:Va.difficulty)||2,item_type:Va.question_type,sub_discipline_id:((io=Va==null?void 0:Va.sub_discipline_id)==null?void 0:io[1])||"",tag_discipline_ids:[],hack:tr(Hr({},Va==null?void 0:Va.hack),{difficult:(Va==null?void 0:Va.difficulty)||2}),hack_identifier:sessionStorage.projectFill});Va.tag_discipline_ids&&($o.tag_discipline_ids=Array.isArray(Va.tag_discipline_ids)?Va.tag_discipline_ids:[Va.tag_discipline_ids]);let gi=Ml?`/api/exercises/${Pe}/exercise_questions`:`/api/exercise_questions/${Va==null?void 0:Va.question_id}.json`;if((Va==null?void 0:Va.is_my)===1){const ti=fr({title:"\u63D0\u793A",content:zt.createElement("div",null,zt.createElement("p",null,"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F"),zt.createElement("i",{className:"iconfont icon-guanbi",style:{position:"absolute",top:"20px",right:"20px",cursor:"pointer"},onClick:()=>{ti.destroy()}})),okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>nr(this,null,function*(){$o.is_cover=1;let jo=yield(0,ne.ZP)(gi,{method:Ml?"post":"PUT",body:Hr({},$o)});(jo==null?void 0:jo.status)===0&&(cl(!1),Pl({id:(jo==null?void 0:jo.exercise_question_id)||(Va==null?void 0:Va.question_id)})),ti.destroy()}),onCancel:()=>nr(this,null,function*(){let jo=yield(0,ne.ZP)(gi,{method:Ml?"post":"PUT",body:Hr({},$o)});(jo==null?void 0:jo.status)===0&&(cl(!1),Pl({id:(jo==null?void 0:jo.exercise_question_id)||(Va==null?void 0:Va.question_id)})),ti.destroy()})})}else{let ti=yield(0,ne.ZP)(gi,{method:Ml?"post":"PUT",body:Hr({},$o)});(ti==null?void 0:ti.status)===0&&(cl(!1),Pl({id:(ti==null?void 0:ti.exercise_question_id)||(Va==null?void 0:Va.question_id)}))}(0,At.Vf)("#question-scroll-id")})}function ei(Va){return nr(this,null,function*(){var io,$o;Ri(!0);let gi=yield(0,ne.ZP)(`/api/exercises/${Pe}/sort_question_type.json`,{method:"post",body:{question_type:Va}});if(Ri(!1),(gi==null?void 0:gi.status)===0){const ti=yield pe({type:"exercise/editExercise",payload:{categoryId:Pe}});vo(ti),fl(!1),(io=ti==null?void 0:ti.exercise)!=null&&io.sub_discipline_id&&gl(($o=ti==null?void 0:ti.exercise)==null?void 0:$o.sub_discipline_id)}})}const Gi=(Va,io,$o)=>nr(void 0,null,function*(){var gi;if(Va.length===0){Ne.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),$o();return}const ti={id:Xo==null?void 0:Xo.exerciseId,file:(gi=Va[0])==null?void 0:gi.file,sub_discipline_id:io};Vl(ti,`${pn.Z.API_SERVER}/api/courses/${Xo==null?void 0:Xo.coursesId}/exercises/import_exercise.json`,jo=>{var Li;if((jo==null?void 0:jo.status)===0){const Ki={};(Li=jo==null?void 0:jo.fail)==null||Li.forEach(Ul=>{var Su;((Su=Object.keys(Ki))==null?void 0:Su.includes(Ul.message))?Ki[Ul.message]=Ki[Ul.message]+1:Ki[Ul.message]=1});let xl=`\u6210\u529F\u5BFC\u5165${jo==null?void 0:jo.success}\u6761`;Object.keys(Ki).forEach(Ul=>{xl=xl+`,${Ul}${Ki[Ul]}\u6761`}),Ne.ZP.success(xl),Pi(!1),vi()}(jo==null?void 0:jo.status)===-1&&(Ne.ZP.error(jo==null?void 0:jo.message),$o())})}),Al=(Va,io)=>nr(void 0,null,function*(){const $o=yield(0,qn.zR)({score:(0,aa.round)(Va,1),question_id:io==null?void 0:io.question_id});if(($o==null?void 0:$o.status)===0){Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),Pl({id:ki.current},!1);return}($o==null?void 0:$o.status)===-1&&Zo(io==null?void 0:io.question_score)}),Sl=()=>{ji(!0)};(0,b.useEffect)(()=>{if(ci){const Va=setTimeout(()=>{ji(!1)},2e3);return()=>clearTimeout(Va)}},[ci]);const Vl=(Va,io,$o,gi,ti)=>{const jo=new FormData;Object.keys(Va).forEach(Ki=>{jo.append(Ki,Va[Ki])});const Li=new window.XMLHttpRequest;return Li.withCredentials=!0,Li.addEventListener("load",function(Ki){var xl;$o(JSON.parse((xl=Ki==null?void 0:Ki.target)==null?void 0:xl.response))},!1),Li.addEventListener("error",function(Ki){ti&&ti(Ki)},!1),Li.upload.onprogress=Ki=>{gi&&gi(Ki)},Li.open("POST",io),Li.send(jo),Li};function kl(){return nr(this,null,function*(){Ye.default.confirm({title:"\u63D0\u793A",content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",okText:"\u786E\u5B9A",centered:!0,className:ft.modalconfirm,onOk:()=>nr(this,null,function*(){if(ea.question_id){let Va=yield(0,ne.ZP)(`/api/exercise_questions/${ea.question_id}.json`,{method:"delete"});(Va==null?void 0:Va.status)===0&&(vi(),cl(!1))}else xo({}),cl(!1),vi()}),cancelText:"\u53D6\u6D88"})})}const Ku=Va=>nr(void 0,null,function*(){return yield(0,ne.ZP)(`/api/exercises/${Pe}/select_questions.json`,{method:"post",body:Hr({},Va)})}),{overflow:Vu,handleMouseEnter:Uu,handleMouseLeave:hu}=(0,hn.I)(),Es=(Va,io)=>zt.createElement(Zt.default,null,zt.createElement(Zt.default.Item,{key:"0",onClick:()=>vs(Va==null?void 0:Va.question_type)},zt.createElement("span",{className:ft.moreSpan},"\u65B0\u589E")),zt.createElement(Zt.default.Item,{key:"1",disabled:io===0,onClick:()=>nr(void 0,null,function*(){if(io===0)return;if(Oi){Sl();return}let $o=(0,At.rz)(pr==null?void 0:pr.exercise_question_types,io,io-1);yield ei($o.map(gi=>gi.name))})},zt.createElement("span",{className:ft.moreSpan},"\u4E0A\u79FB")),zt.createElement(Zt.default.Item,{key:"2",disabled:io===(pr==null?void 0:pr.exercise_question_types.length)-1,onClick:()=>nr(void 0,null,function*(){if(io===(pr==null?void 0:pr.exercise_question_types.length)-1)return;if(Oi){Sl();return}let $o=(0,At.rz)(pr==null?void 0:pr.exercise_question_types,io,io+1);yield ei($o.map(gi=>gi.name))})},zt.createElement("span",{className:ft.moreSpan},"\u4E0B\u79FB")),zt.createElement(Zt.default.Item,{key:"3",onClick:()=>{var $o;Kl.setFieldsValue({name:Va.name,item_type_en:($o=Wa.find(gi=>gi.id==Va.question_type))==null?void 0:$o.nameType}),na(!0)}},zt.createElement("span",{className:ft.moreSpan},"\u91CD\u547D\u540D"))),vs=Va=>{var io,$o,gi,ti,jo,Li,Ki,xl,Ul,Su,Ll,$l,Eu,Du,ps,hs,yi,Jr,No,bi,Ji,Pu,Ql,iu;if(Oi){Sl();return}if(fl(!0),Va===5){ul(!0),Dl(!0);return}if(Va===6){let ql=($o=(io=tn==null?void 0:tn.editData)==null?void 0:io.exercise)!=null&&$o.set_question_sub_discipline?`/problems/newcreate?express_id=${(gi=pr==null?void 0:pr.exercise)==null?void 0:gi.id}&callback_url=/classrooms/${Xo.coursesId}/exercise/add/${Pe}?type=2&discipline_id=${(jo=(ti=tn==null?void 0:tn.editData)==null?void 0:ti.exercise)==null?void 0:jo.discipline_id}&sub_discipline_id=${(Ki=(Li=tn==null?void 0:tn.editData)==null?void 0:Li.exercise)==null?void 0:Ki.sub_discipline_id}`:`/problems/newcreate?express_id=${(xl=pr==null?void 0:pr.exercise)==null?void 0:xl.id}&callback_url=/classrooms/${Xo.coursesId}/exercise/add/${Pe}?type=2`;de.history.push(ql);return}cl(!0),xo(Va===2?{question_type:Va,isadd:!0,repeat_answer:!0,choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],question_choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],difficulty:2,standard_answers:[],question_score:"",question_title:"",tag_discipline_ids:[],discipline_id:(Su=(Ul=tn==null?void 0:tn.editData)==null?void 0:Ul.exercise)!=null&&Su.set_question_sub_discipline?($l=(Ll=tn==null?void 0:tn.editData)==null?void 0:Ll.exercise)==null?void 0:$l.discipline_id:0,sub_discipline_id:(Du=(Eu=tn==null?void 0:tn.editData)==null?void 0:Eu.exercise)!=null&&Du.set_question_sub_discipline?(hs=(ps=tn==null?void 0:tn.editData)==null?void 0:ps.exercise)==null?void 0:hs.sub_discipline_id:0,analysis:""}:{question_type:Va,question_choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),standard_answers:[],repeat_answer:!0,difficulty:2,isadd:!0,tag_discipline_ids:[],question_score:"",analysis:"",sub_item_banks:[],is_ordered:!0,question_title:"",use_keywords:!1,keywords:[],use_blank_score:!0,allow_student_debug:!1,submit_rule:1,discipline_id:(Jr=(yi=tn==null?void 0:tn.editData)==null?void 0:yi.exercise)!=null&&Jr.set_question_sub_discipline?(bi=(No=tn==null?void 0:tn.editData)==null?void 0:No.exercise)==null?void 0:bi.discipline_id:0,sub_discipline_id:(Pu=(Ji=tn==null?void 0:tn.editData)==null?void 0:Ji.exercise)!=null&&Pu.set_question_sub_discipline?(iu=(Ql=tn==null?void 0:tn.editData)==null?void 0:Ql.exercise)==null?void 0:iu.sub_discipline_id:0,downcase:!0,no_space:!0})},ds=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{Pi(!0)}},{key:2,label:zt.createElement("div",null,zt.createElement("img",{width:26,style:{position:"absolute",top:-2},src:Aa.$}),zt.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),onClick:()=>{if(Oi){Sl();return}Ro(!0)}}];return console.log(oi==null?void 0:oi.question_type,ea==null?void 0:ea.question_type),zt.createElement("div",null,zt.createElement(wn.Z,{spinning:ll},zt.createElement("div",{className:ft.bg},((ma=pr==null?void 0:pr.exercise_types)==null?void 0:ma.q_counts)===0&&!Oi&&zt.createElement(it.Z,{styles:{marginTop:180},customText:zt.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",zt.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((Hn=pr==null?void 0:pr.exercise_types)==null?void 0:Hn.q_counts)>0||Oi)&&zt.createElement("div",{style:{textAlign:"center"}},zt.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},zt.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},zt.createElement("div",{className:ft.left},zt.createElement("div",{className:ft.leftAction},((jt=pr==null?void 0:pr.exercise)==null?void 0:jt.exercise_status)===1&&zt.createElement(je.ZP,{onClick:()=>{if(Oi){Sl();return}Hi(!0)},className:ft.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),zt.createElement("div",{className:ft.scrollWrapper,style:{overflow:Vu},onMouseEnter:Uu,onMouseLeave:hu},(Yn=pr==null?void 0:pr.exercise_question_types)==null?void 0:Yn.map((Va,io)=>zt.createElement("div",{key:io,className:"mb30"},zt.createElement("div",{className:ft.title},zt.createElement("div",{className:ft.titleleft},zt.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,At.EM)(io+1),"\u3001\u3010",Va.name,"\u3011"),zt.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",Va.count,"\u5C0F\u9898\uFF0C\u5171",Va.score,"\u5206\uFF09")),zt.createElement(ze.Z,{dropdownRender:()=>Es(Va,io),placement:"bottomLeft"},zt.createElement("div",{className:ft.more_style},zt.createElement("i",{className:"iconfont icon-sandian font12"})))),zt.createElement(yn,{handleEditing:Sl,isedit:Oi,setBigqitem:il,bigitem:tr(Hr({},Va),{indexs:io+1}),setqitem:$o=>nr(void 0,null,function*(){var gi;(gi=Fi.current)==null||gi.blur(),xo($o)}),qitem:ea,Itemid:Pe,getdata:Pl,data:Va.items})))))),zt.createElement("div",{id:"question-scroll-id",style:{overflow:Oi?"hidden":"auto"},className:ft.right},!(ea!=null&&ea.isadd)&&zt.createElement("div",{className:ft.title},!Oi&&zt.createElement("div",{style:{flex:1}},zt.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(oi==null?void 0:oi.indexs)&&(0,At.EM)(oi==null?void 0:oi.indexs),"\u3001\u3010",oi==null?void 0:oi.name,"\u3011"),zt.createElement(ct.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},zt.createElement("i",{className:`${ft.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var Va;Kl.setFieldsValue({name:oi.name,item_type_en:(Va=Wa.find(io=>io.id==oi.question_type))==null?void 0:Va.nameType}),na(!0)}})),zt.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",oi==null?void 0:oi.count,"\u5C0F\u9898\uFF0C\u5171",oi==null?void 0:oi.score,"\u5206\uFF09"),(ea==null?void 0:ea.question_type)===6&&zt.createElement("span",{onClick:()=>{Ye.default.destroyAll(),zo(2)},className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(ea==null?void 0:ea.question_type)===5&&zt.createElement(st.default,{defaultChecked:(Ct=(xn=tn==null?void 0:tn.editData)==null?void 0:xn.exercise)==null?void 0:Ct.show_challenge_task_pass,onChange:Va=>nr(void 0,null,function*(){let io=yield(0,ne.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:Va.target.checked}});(io==null?void 0:io.status)===0&&(Ne.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Pl({id:ki.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(ea==null?void 0:ea.question_type)===6&&zt.createElement("span",{style:{marginLeft:20},onClick:()=>{var Va,io,$o,gi;Ye.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:zt.createElement("div",null,(ea==null?void 0:ea.question_type)===6&&zt.createElement(st.default,{defaultChecked:(io=(Va=tn==null?void 0:tn.editData)==null?void 0:Va.exercise)==null?void 0:io.show_hack_sets,onChange:ti=>nr(void 0,null,function*(){let jo=yield(0,ne.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_sets:ti.target.checked}});(jo==null?void 0:jo.status)===0&&(Ne.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ye.default.destroyAll(),Pl({id:ki.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),zt.createElement("br",null),(ea==null?void 0:ea.question_type)===6&&zt.createElement(st.default,{defaultChecked:(gi=($o=tn==null?void 0:tn.editData)==null?void 0:$o.exercise)==null?void 0:gi.show_hack_description,onChange:ti=>nr(void 0,null,function*(){let jo=yield(0,ne.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_description:ti.target.checked}});(jo==null?void 0:jo.status)===0&&(Ne.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ye.default.destroyAll(),Pl({id:ki.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")),zt.createElement("div",{style:{display:"flex",alignItems:"center"}},(ea==null?void 0:ea.question_type)===5&&!Oi&&zt.createElement("a",{className:ft.shixun,href:`/shixuns/${ea==null?void 0:ea.shixun_identifier}/challenges?exercise=true`,target:"_blank"},zt.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!Oi&&((mn=pr==null?void 0:pr.exercise)==null?void 0:mn.exercise_status)==1&&[0,1,2,4,6].includes(ea==null?void 0:ea.question_type)&&zt.createElement(Be.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},zt.createElement(Ve.Z,{precision:1,ref:Fi,onChange:Va=>Zo(Va),value:Mi,onBlur:Va=>{Al(Va.target.value,ea)}})),!Oi&&((In=pr==null?void 0:pr.exercise)==null?void 0:In.exercise_status)==1&&zt.createElement(ct.Z,{title:"\u5220\u9664"},zt.createElement("i",{onClick:()=>{kl()},style:{marginRight:20},className:`${ft.delete} iconfont icon-shanchu13 mr8 ml8 `})),(ea==null?void 0:ea.question_type)!==5&&!Oi&&zt.createElement(zt.Fragment,null,(ea==null?void 0:ea.is_my)==1&&zt.createElement(ct.Z,{title:"\u67E5\u770B\u539F\u9898"},zt.createElement("i",{className:`${ft.yuanti} iconfont icon-chakanyuanti mr8 ml8`,onClick:()=>{(ea==null?void 0:ea.question_type)==6?window.open(`/problems/newedit/${ea==null?void 0:ea.item_bank_hack_identifier}`):(ea==null?void 0:ea.question_type)==8?window.open(`/problemset/edit/${ea==null?void 0:ea.item_bank_hack_identifier}?type=1`):window.open(`/problemset/edit/${ea==null?void 0:ea.item_bank_id}`)}})),zt.createElement(ct.Z,{title:"\u52A0\u5165\u6211\u7684\u9898\u5E93"},zt.createElement("i",{className:`${ft.tianjia} iconfont icon-jiarushitiku mr8 ml8`,onClick:()=>{Yo.current=[],Ye.default.confirm({centered:!0,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u52A0\u5165\u6211\u7684\u9898\u5E93",maskClosable:!0,className:"custom-modal-divider",icon:null,content:zt.createElement("div",{className:`font14 ${ft.overflow}`,style:{maxHeight:500,overflow:"auto"}},zt.createElement("p",{className:"c-grey-333"},"\u8BF7\u9009\u62E9\u52A0\u5165\u7684\u6587\u4EF6\u5939"),zt.createElement(wn.Z,{spinning:!1},zt.createElement(ca.Z,{defaultValue:!0,value:Yo.current,onChange:Va=>Yo.current=Va}))),onOk:()=>nr(void 0,null,function*(){var Va;(0,qn.$l)({id:ea==null?void 0:ea.question_id,group_id:((Va=Yo==null?void 0:Yo.current)==null?void 0:Va[0])||""}).then(io=>{(io==null?void 0:io.status)==0&&(Ne.ZP.success("\u52A0\u5165\u6210\u529F"),vi())})})})}}))),!Oi&&(((oa=pr==null?void 0:pr.exercise)==null?void 0:oa.exercise_status)==1||((zn=pr==null?void 0:pr.exercise)==null?void 0:zn.exercise_status)==2&&((ta=(ba=ce.userInfo)==null?void 0:ba.course)==null?void 0:ta.course_role)!=15||((ia=pr==null?void 0:pr.exercise)==null?void 0:ia.exercise_status)==3&&((Pn=(Ka=ce.userInfo)==null?void 0:Ka.course)==null?void 0:Pn.course_role)!=15||((ya=pr==null?void 0:pr.exercise)==null?void 0:ya.exercise_status)==4&&((qr=(ja=ce.userInfo)==null?void 0:ja.course)==null?void 0:qr.course_role)!=15)&&zt.createElement(ct.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},zt.createElement("i",{onClick:()=>{(ea==null?void 0:ea.question_type)===6?de.history.push(`/problems/newedit/${ea==null?void 0:ea.hack_identifier}?type=exercises&express_id=${Xo.exerciseId}&question_id=${ea==null?void 0:ea.question_id}&score=${ea==null?void 0:ea.question_score}&exercise=true&callback_url=/classrooms/${Xo.coursesId}/exercise/add/${Pe}?type=2`):cl(!0)},className:`${ft.edit} iconfont icon-bianji_Hover ml8`})))),!Oi&&zt.createElement("div",null,zt.createElement("div",{className:ft.qcount},zt.createElement("span",{className:ft.score},ea==null?void 0:ea.question_score,"\u5206"),zt.createElement(fe.Z,{className:ft.qtitle,value:(ea==null?void 0:ea.index)+`\u3001${(ea==null?void 0:ea.question_type)==8?(cr=ea==null?void 0:ea.program_attr)==null?void 0:cr.description:ea==null?void 0:ea.question_title}`}),(ea==null?void 0:ea.high_resources_consume)&&zt.createElement(vr.Z,{type:"shixun",style:{marginLeft:10}})),(ea==null?void 0:ea.question_type)===6&&zt.createElement(nt.Z,{onEdit:()=>zo(1),className:"mt10",dataSource:(ea==null?void 0:ea.languages)||[]}),zt.createElement(wu,{exercise:tn,TagDiscipline:wl,qitem:ea})),Oi&&zt.createElement("div",null,(ea==null?void 0:ea.question_type)<=1&&zt.createElement(Ot,{deleteitem:kl,getTagData:gl,seveeditor:ou,exerciseitem:pr,TagDiscipline:wl,setisedit:cl,qitem:ea,init:vi,showTip:ci}),(ea==null?void 0:ea.question_type)===5&&zt.createElement(ju,{setqitem:xo,deleteitem:kl,seveeditor:ou,exerciseitem:pr,TagDiscipline:wl,setisedit:cl,qitem:ea,showTip:ci}),(ea==null?void 0:ea.question_type)===3&&zt.createElement(Ea,{deleteitem:kl,getTagData:gl,seveeditor:ou,exerciseitem:pr,TagDiscipline:wl,setisedit:cl,qitem:ea,init:vi,showTip:ci}),(ea==null?void 0:ea.question_type)===2&&zt.createElement($n,{deleteitem:kl,getTagData:gl,seveeditor:ou,exerciseitem:pr,TagDiscipline:wl,setisedit:cl,qitem:ea,init:vi,showTip:ci}),(ea==null?void 0:ea.question_type)===4&&zt.createElement(ye,{deleteitem:kl,getTagData:gl,seveeditor:ou,exerciseitem:pr,TagDiscipline:wl,setisedit:cl,qitem:ea,init:vi,showTip:ci}),(ea==null?void 0:ea.question_type)===7&&zt.createElement(au,{deleteitem:kl,getTagData:gl,seveeditor:ou,exerciseitem:pr,TagDiscipline:wl,setisedit:cl,qitem:ea,init:vi,showTip:ci}),(ea==null?void 0:ea.question_type)===8&&zt.createElement(Cn,{deleteitem:kl,getTagData:gl,seveeditor:ou,exerciseitem:pr,TagDiscipline:wl,setisedit:cl,qitem:ea,init:vi,showTip:ci}))))))),zt.createElement("div",{className:ft.bottomdiv},zt.createElement("div",{className:ft.exercise_styles},((li=pr==null?void 0:pr.exercise)==null?void 0:li.exercise_status)==1&&zt.createElement(zt.Fragment,null,zt.createElement("span",{className:ft.spanBtn,onClick:()=>{if(Oi){Sl();return}ul(!0),Dl(!1)}},"\u9898\u5E93\u9009\u9898"),zt.createElement(ze.Z,{menu:{items:ds}},zt.createElement("span",{className:ft.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),zt.createElement("span",{className:ft.spanBtn,onClick:()=>nr(void 0,null,function*(){var Va;let io=yield(0,ne.ZP)(`/api/exercises/${Xo==null?void 0:Xo.exerciseId}/simulate_start_answer.json`,{method:"get",params:{coursesId:Xo==null?void 0:Xo.coursesId,categoryId:Xo==null?void 0:Xo.exerciseId}});(io==null?void 0:io.status)!=-1&&window.open(`/classrooms/${Xo==null?void 0:Xo.coursesId}/exercise/${Xo==null?void 0:Xo.exerciseId}/${(Va=ce.userInfo)==null?void 0:Va.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),zt.createElement("span",{className:ft.spanBtn,onClick:()=>{window.open(`/classrooms/${Xo==null?void 0:Xo.coursesId}/exercise/${Xo==null?void 0:Xo.exerciseId}/detail?random=false&tabs=2`)}},"\u8BD5\u5377\u9884\u89C8"),Wa==null?void 0:Wa.map(Va=>zt.createElement(je.ZP,{className:ft.addQuestionBtn,key:Va.id,type:"primary",onClick:()=>{vs(Va.id)}},Va.name))),((Za=pr==null?void 0:pr.exercise)==null?void 0:Za.exercise_status)!=1&&zt.createElement(zt.Fragment,null,zt.createElement("span",{style:{width:"1022px"}})),zt.createElement("span",{className:ft.saveBtn,onClick:()=>{var Va,io,$o;if(Oi){Sl();return}let gi=(io=(Va=pr==null?void 0:pr.exercise_question_types)==null?void 0:Va.filter(jo=>jo.question_type===5)[0])==null?void 0:io.items,ti=0;gi==null||gi.map(jo=>{jo.high_resources_consume&&(ti=ti+1)}),console.log(ti),ti>0?pe({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:ti,fn:()=>{var jo;((jo=pr==null?void 0:pr.exercise)==null?void 0:jo.exercise_status)==1?(Ne.ZP.success("\u4FDD\u5B58\u6210\u529F"),de.history.push(`/classrooms/${Xo==null?void 0:Xo.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Wl(!1)):de.history.back()}}}):(($o=pr==null?void 0:pr.exercise)==null?void 0:$o.exercise_status)==1?(Ne.ZP.success("\u4FDD\u5B58\u6210\u529F"),de.history.push(`/classrooms/${Xo==null?void 0:Xo.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Wl(!1)):de.history.back()}},zt.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),zt.createElement(Kt,{setScoreShow:Hi,ScoreShow:$i,exerciseitem:pr,getdata:vi}),hl&&zt.createElement(Ii,{setScoreShow:ul,isshixuns:sl,isloadings:vu,ScoreShow:hl,onOk:(Va,io,$o,gi,ti)=>nr(void 0,null,function*(){pu(!0);let Li=yield Ku({exam_id:Pe,item_bank_ids:Va,shixun_ids:io,shixun_copy_ids:ti});pu(!1),(Li==null?void 0:Li.status)===0&&Ye.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u65B0\u52FE\u9009\u7684\u8BD5\u9898\u5DF2\u7ECF\u6DFB\u52A0\u5230\u8BD5\u5377\uFF0C\u5982\u679C\u9700\u8981\u7EE7\u7EED\u6DFB\u52A0\u65B0\u8BD5\u9898\u8BF7\u70B9\u51FB\u201C\u7EE7\u7EED\u9009\u9898\u201D\uFF0C\u5C06\u56DE\u5230\u60A8\u4E0A\u6B21\u64CD\u4F5C\u7684\u9009\u9898\u9875\u9762",okText:"\u7EE7\u7EED\u9009\u9898",cancelText:"\u8FD4\u56DE\u8BD5\u5377",onOk:()=>{vi()},onCancel:()=>{ul(!1),vi()}})})}),zt.createElement(ts.Z,{sub_discipline_id:(Co=pr==null?void 0:pr.exercise)!=null&&Co.sub_discipline_id?[(Dr=pr==null?void 0:pr.exercise)==null?void 0:Dr.discipline_id,(ao=pr==null?void 0:pr.exercise)==null?void 0:ao.sub_discipline_id]:[],visible:Ao,onCancel:()=>Pi(!1),onOk:Gi}),zt.createElement(Ye.default,{title:"\u63D0\u793A",open:el,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:zt.createElement("div",null,zt.createElement(je.ZP,{onClick:()=>{Wl(!1),de.history.back()}},"\u7A0D\u540E\u518D\u8BF4"),zt.createElement(je.ZP,{type:"primary",onClick:()=>{de.history.push(`/classrooms/${Xo==null?void 0:Xo.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Wl(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{Wl(!1)}},zt.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),zt.createElement(Ye.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:gu,width:500,onOk:()=>Kl.submit(),onCancel:()=>na(!1)},zt.createElement(Be.default,{form:Kl,initialValues:{},onFinish:Va=>nr(void 0,null,function*(){(yield(0,qn.RK)(Hr({id:Pe},Va))).status==0&&(Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),vi(),na(!1))})},zt.createElement(Be.default.Item,{name:"name",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u578B\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"},{validator(Va,io){var $o,gi,ti,jo;const Li=($o=Wa==null?void 0:Wa.find(Ki=>Ki.nameType==Kl.getFieldValue("item_type_en")))==null?void 0:$o.id;return(jo=(ti=(gi=pr==null?void 0:pr.exercise_question_types)==null?void 0:gi.filter(Ki=>Ki.question_type!=Li))==null?void 0:ti.map(Ki=>Ki==null?void 0:Ki.name))!=null&&jo.includes(io)?Promise.reject(new Error("\u9898\u578B\u540D\u79F0\u5DF2\u5B58\u5728\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u9898\u578B\u540D\u79F0")):Promise.resolve()}}]},zt.createElement(ke.default,{size:"large",maxLength:10,showCount:!0})),zt.createElement(Be.default.Item,{hidden:!0,name:"item_type_en"},zt.createElement(ke.default,{size:"large"})))),zt.createElement(kt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:er},zt.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),zt.createElement(Aa.Z,{stickyTop:-24,subDisciplineId:(So=pr==null?void 0:pr.exercise)!=null&&So.sub_discipline_id?[(Ei=pr==null?void 0:pr.exercise)==null?void 0:Ei.discipline_id,(fi=pr==null?void 0:pr.exercise)==null?void 0:fi.sub_discipline_id]:[],onCancel:()=>Ro(!1),mode:3,gather:{exercise_id:Pe},onSuccess:()=>{Ro(!1),vi()}}),zt.createElement("div",{style:{height:70}})),zt.createElement(nt.Q,{visible:!!Eo,setVisible:zo,tip:Eo===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:Eo===1?ea==null?void 0:ea.languages:[],onOk:Va=>nr(void 0,null,function*(){const io={languages:Va};Eo===1?io.hack_id=ea==null?void 0:ea.hack_id:io.exercise_id=Pe,(yield(0,ne.ZP)("/api/problems/update_languages.json",{method:"post",body:io})).status===0&&(Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),Pl({id:ki.current}),zo(!1))})}))};var Kr=(0,de.connect)(({user:ce,exercise:pe,dispatch:Pe})=>({user:ce,exercise:pe,dispatch:Pe}))(or),Po=ee(50337),lo=ee(53311),Mr=ee(95024),fo=ee(87169),Fo=ee(52154),Ra=ee(59301),Bo=Object.defineProperty,Ci=Object.defineProperties,wo=Object.getOwnPropertyDescriptors,Xr=Object.getOwnPropertySymbols,xi=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable,mi=(ce,pe,Pe)=>pe in ce?Bo(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,_o=(ce,pe)=>{for(var Pe in pe||(pe={}))xi.call(pe,Pe)&&mi(ce,Pe,pe[Pe]);if(Xr)for(var Pe of Xr(pe))Qr.call(pe,Pe)&&mi(ce,Pe,pe[Pe]);return ce},Zi=(ce,pe)=>Ci(ce,wo(pe)),to=(ce,pe)=>{var Pe={};for(var Lt in ce)xi.call(ce,Lt)&&pe.indexOf(Lt)<0&&(Pe[Lt]=ce[Lt]);if(ce!=null&&Xr)for(var Lt of Xr(ce))pe.indexOf(Lt)<0&&Qr.call(ce,Lt)&&(Pe[Lt]=ce[Lt]);return Pe},_r=(ce,pe,Pe)=>new Promise((Lt,tn)=>{var wa=jt=>{try{Hn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{Hn(Pe.throw(jt))}catch(Yn){tn(Yn)}},Hn=jt=>jt.done?Lt(jt.value):Promise.resolve(jt.value).then(wa,ma);Hn((Pe=Pe.apply(ce,pe)).next())});const Yr=ce=>{var pe=ce,{classroomList:Pe,globalSetting:Lt,problemset:tn,loading:wa,exercise:ma,user:Hn,dispatch:jt}=pe,Yn=to(pe,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),xn,Ct,mn,In,oa,zn,ba,ta,ia,Ka,Pn,ya,ja,qr;const cr=(0,de.useParams)(),[li,Za]=(0,b.useState)(!1),{userInfo:Co}=Hn,[Dr]=Be.default.useForm();let[ao,So]=(0,b.useState)({});const[Ei,fi]=(0,b.useState)(1),[pr,vo]=(0,b.useState)(""),[Ui]=(0,de.useSearchParams)(),[Ri,ea]=(0,b.useState)(!1),[xo,Mi]=(0,b.useState)(!1),[Zo,Fi]=(0,b.useState)(!1),[ki,oi]=(0,b.useState)(""),[il,ll]=(0,b.useState)(!1),[jl,Oi]=(0,b.useState)(!1);(0,b.useEffect)(()=>{jt({type:"problemset/getEditDisciplines",payload:{source:"new_question",identifier:cr==null?void 0:cr.coursesId}}),jt({type:"globalSetting/footerToggle",payload:!1}),Dr.setFieldsValue({difficulty:2,courseid:[]})},[]),(0,b.useEffect)(()=>{cr.exerciseId&&_r(void 0,null,function*(){var Ao,Pi,$i;const Hi=yield jt({type:"exercise/editExercise",payload:{categoryId:cr.exerciseId}});(Hi==null?void 0:Hi.status)!==-1&&(((Ao=Hi==null?void 0:Hi.exercise)==null?void 0:Ao.exercise_status)===2||((Pi=Hi==null?void 0:Hi.exercise)==null?void 0:Pi.exercise_status)===3||(($i=Hi==null?void 0:Hi.exercise)==null?void 0:$i.exercise_status)===4?Fi(!0):Fi(!1))})},[cr]),(0,b.useEffect)(()=>{if(cr.exerciseId){let Ao=ma.editData.exercise;Oi(Ao==null?void 0:Ao.set_question_sub_discipline),Dr.setFieldsValue(Zi(_o({},Ao),{courseid:Ao!=null&&Ao.sub_discipline_id?[Ao==null?void 0:Ao.discipline_id,Ao==null?void 0:Ao.sub_discipline_id]:[]}))}},[ma]),(0,b.useEffect)(()=>{Ui.get("type")==="2"&&(vo(cr.exerciseId),fi(2))},[Ui.get("type")]),(0,b.useEffect)(()=>{var Ao;let Pi=(Ao=tn==null?void 0:tn.disciplinesData)==null?void 0:Ao.checked;Pi!=null&&Pi.sub_discipline_id&&Dr.setFieldsValue({courseid:[Pi==null?void 0:Pi.discipline_id,Pi==null?void 0:Pi.sub_discipline_id]})},[(xn=tn==null?void 0:tn.disciplinesData)==null?void 0:xn.checked]);function cl(Ao,Pi){return _r(this,null,function*(){var $i,Hi,hl,ul;yield Dr.validateFields();const sl=Dr.getFieldsValue(),{courseid:Dl}=sl,[Ml,fl]=Dl;sl.sub_discipline_id=fl,sl.is_md=!0,sl.time=parseInt(sl.time)>9999?9999:sl.time;const el=yield jt({type:"exercise/addExercise",payload:_o(_o({},sl),cr)});el.status===0?(yield(0,ne.ZP)(`/api/courses/${cr==null?void 0:cr.coursesId}/exercises/notice_at.json`,{method:"POST",body:{course_id:cr==null?void 0:cr.coursesId,id:($i=el==null?void 0:el.data)==null?void 0:$i.exercise_id,time:Ao}}),Gl((Hi=el.data)==null?void 0:Hi.exercise_id),vo((hl=el==null?void 0:el.data)==null?void 0:hl.exercise_id),fi(2),ea(!1),de.history.replace(`/classrooms/${cr.coursesId}/exercise/add/${(ul=el.data)==null?void 0:ul.exercise_id}?type=2`)):Ne.ZP.error(el.message),Pi()})}function wl(Ao){So(_o({},Ao))}function Gl(Ao){return _r(this,null,function*(){if(!(ao!=null&&ao.ec_point_ids))return;const Pi=_o({},ao);delete Pi.id;let $i=yield(0,ne.ZP)(`/api/ec_courses/${ao==null?void 0:ao.ec_course_id}/ec_points/set_work_points.json`,{method:"post",body:_o({exercise_id:Ao},Pi)})})}return Ra.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},Ra.createElement("section",{className:"edu-container"},Ra.createElement("section",{className:"animated fadeIn"},Ra.createElement("aside",{className:"mt10"},Co&&Ra.createElement(Ze.Z,{separator:">"},Ra.createElement(Ze.Z.Item,null,Ra.createElement(de.Link,{to:`/classrooms/${cr.coursesId}/exercise`},(Ct=Co==null?void 0:Co.course)==null?void 0:Ct.course_name)),Ra.createElement(Ze.Z.Item,null,Ra.createElement(de.Link,{to:`/classrooms/${cr.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")),Ra.createElement(Ze.Z.Item,null,cr.exerciseId?"\u7F16\u8F91\u8BD5\u5377":"\u65B0\u5EFA\u8BD5\u5377")))),cr.exerciseId&&Ra.createElement("div",{style:{display:"inline-flex",background:"rgba(233, 146, 55, 0.05)",borderRadius:4,height:40,lineHeight:"40px",width:"100%",padding:"0px 10px",alignItems:"center",marginTop:20}},Ra.createElement(fo.Z,{style:{marginRight:5,color:"#E99237"}}),Ra.createElement("span",{style:{flex:1,color:"#E99237"}},"\u53D1\u5E03\u540E\u7684\u8BD5\u5377\u4E0D\u5141\u8BB8\u8FDB\u884C\u589E\u52A0/\u5220\u9664\u8BD5\u9898\u548C\u4FEE\u6539\u5206\u503C\u7B49\u64CD\u4F5C\uFF0C\u82E5\u9700\u8981\u4E8C\u6B21\u4F7F\u7528\uFF0C\u53EF\u5C06\u8BD5\u5377\u52A0\u5165\u8BD5\u5377\u5E93\u4E2D\u8FDB\u884C\u7F16\u8F91"),Ra.createElement("span",{className:Xe.addQuestionBtn,onClick:()=>{jt({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[cr.exerciseId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),Ra.createElement(Mr.Z,{haveInit:!0,init:()=>{oi(new Date)}}),Ra.createElement("div",{className:"bg-white"},Ra.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},Ra.createElement("div",{onClick:()=>{if(xo){Ne.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u8BD5\u9898\u3002");return}fi(1)},className:Ei===1?Xe.selectdiv:Xe.divitem},Ra.createElement(Po.Z,{number:1,active:Ei===1,className:"mr10"}),Ra.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),Ra.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),Ra.createElement("div",{onClick:()=>{if(!cr.exerciseId&&!pr){Ne.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}fi(2),!pr&&vo(cr.exerciseId)},className:Ei!==1?Xe.selectdiv:Xe.divitem},Ra.createElement(Po.Z,{number:2,active:Ei!==1,className:"mr10"}),Ra.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),Ei===2&&Ra.createElement("div",{className:"tc"},Ra.createElement(lo.Z,{defaultValue:(In=(mn=ma==null?void 0:ma.editData)==null?void 0:mn.exercise)==null?void 0:In.exercise_name,onFinish:Ao=>_r(void 0,null,function*(){var Pi,$i,Hi,hl,ul,sl,Dl,Ml,fl,el,Wl,Xo;return Ao.trim()===(($i=(Pi=ma==null?void 0:ma.editData)==null?void 0:Pi.exercise)==null?void 0:$i.exercise_name)?!0:(yield(0,qn.wy)({exercise_name:Ao,exercise_description:(hl=(Hi=ma==null?void 0:ma.editData)==null?void 0:Hi.exercise)==null?void 0:hl.exercise_description,sub_discipline_id:(sl=(ul=ma==null?void 0:ma.editData)==null?void 0:ul.exercise)==null?void 0:sl.sub_discipline_id,time:(Ml=(Dl=ma==null?void 0:ma.editData)==null?void 0:Dl.exercise)==null?void 0:Ml.time,exerciseId:(el=(fl=ma.editData)==null?void 0:fl.exercise)==null?void 0:el.id,difficulty:(Xo=(Wl=ma.editData)==null?void 0:Wl.exercise)==null?void 0:Xo.difficulty})).status===0?(Dr.setFieldValue("exercise_name",Ao),!0):!1})}),Ra.createElement("div",{style:{fontSize:14}},Ra.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},((zn=(oa=ma==null?void 0:ma.editData)==null?void 0:oa.exercise)==null?void 0:zn.time)||"\u4E0D\u9650")),Ra.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},((ta=(ba=ma==null?void 0:ma.editData)==null?void 0:ba.exercise)==null?void 0:ta.difficulty)===1?"\u7B80\u5355":((Ka=(ia=ma==null?void 0:ma.editData)==null?void 0:ia.exercise)==null?void 0:Ka.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),Ra.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},((ya=(Pn=ma==null?void 0:ma.editData)==null?void 0:Pn.exercise_types)==null?void 0:ya.q_counts)||0)),Ra.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},(qr=(ja=ma==null?void 0:ma.editData)==null?void 0:ja.exercise_types)==null?void 0:qr.q_scores))))),Ei===1&&Ra.createElement("div",null,Ra.createElement("section",{className:[Xe.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},Ra.createElement(Be.default,{form:Dr,colon:!1,layout:"horizontal",labelCol:{span:4},wrapperCol:{span:20},initialValues:{time:60},onFinish:Ao=>_r(void 0,null,function*(){var Pi,$i,Hi,hl,ul;if(Za(!0),ea(!0),cr.exerciseId){Ao.exerciseId=($i=(Pi=ma.editData)==null?void 0:Pi.exercise)==null?void 0:$i.id,Ao.sub_discipline_id=Ao.courseid[Ao.courseid.length-1],yield(0,qn.wy)(Zi(_o({},Ao),{set_question_sub_discipline:jl})),fi(2),Gl(cr==null?void 0:cr.exerciseId),vo(cr.exerciseId),Za(!1),ea(!1);return}const sl=yield(0,ne.ZP)(`/api/courses/${cr==null?void 0:cr.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:cr==null?void 0:cr.coursesId}});if(sl!=null&&sl.alert)jt({type:"classroomList/setActionTabs",payload:{key:"\u9884\u7EA6\u5F39\u7A97"}});else{const{courseid:Dl}=Ao,[Ml,fl]=Dl;Ao.sub_discipline_id=fl,Ao.is_md=!0,Ao.time=parseInt(Ao.time)>9999?9999:Ao.time,Ao.set_question_sub_discipline=jl;const el=yield jt({type:"exercise/addExercise",payload:Zi(_o(_o({},Ao),cr),{category_id:Ui.get("catalogue")||null})});el.status===0&&(Gl((Hi=el.data)==null?void 0:Hi.exercise_id),de.history.replace(`/classrooms/${cr.coursesId}/exercise/add/${(hl=el.data)==null?void 0:hl.exercise_id}?type=2`),vo((ul=el==null?void 0:el.data)==null?void 0:ul.exercise_id),fi(2)),ea(!1)}Za(!1)}),className:Xe.formWrap},Ra.createElement(Be.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:Xe.baseLineHeight,rules:[{required:!0,validator:(Ao,Pi)=>{var $i;return(($i=Pi==null?void 0:Pi.replaceAll(" ",""))==null?void 0:$i.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},Ra.createElement(ke.default,{maxLength:60,className:Xe.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),Ra.createElement(Be.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"courseid",className:Xe.baseLineHeight},Ra.createElement(le.Z,{disabled:Zo,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:tn.courseOptions,className:Xe.baseFormItem,size:"large",popupClassName:Xe.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},allowClear:!0})),Ra.createElement("div",{className:Xe.concat},Ra.createElement("div",null,Ra.createElement(st.default,{checked:jl,onChange:Ao=>{Oi(Ao.target.checked)},style:{color:"#000"}},"\u8BBE\u7F6E\u8BE5\u65B9\u5411&\u8BFE\u7A0B\u4E3A\u8BD5\u9898\u6A21\u7248\uFF08\u521B\u5EFA\u65B0\u8BD5\u9898\u81EA\u52A8\u4F7F\u7528\u8BE5\u65B9\u5411&\u8BFE\u7A0B\uFF09")),Ra.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",Ra.createElement("a",{onClick:()=>ll(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),Ra.createElement(Be.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:Xe.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},Ra.createElement(et.ZP.Group,{className:Xe.radiogroup,disabled:Zo},Ra.createElement(et.ZP.Button,{className:Xe.easy,value:1},"\u7B80\u5355"),Ra.createElement(et.ZP.Button,{className:Xe.medium,value:2},"\u9002\u4E2D"),Ra.createElement(et.ZP.Button,{className:Xe.hard,value:3},"\u56F0\u96BE"))),Ra.createElement(Be.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:Xe.baseLineHeight},Ra.createElement("div",{style:{display:"flex",width:"100%"}},Ra.createElement(Be.default.Item,{name:"time",noStyle:!0},Ra.createElement(Ve.Z,{disabled:Zo,min:1,max:9999,className:Xe.baseFormItem,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),Ra.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),Ra.createElement(Be.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},Ra.createElement(ke.default.TextArea,{disabled:Zo,rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"}))),Ra.createElement(Vn,{exercise_id:cr==null?void 0:cr.exerciseId,setitem:wl})),Ra.createElement("div",{className:Xe.bottmodiv},Ra.createElement(je.ZP,{className:`${Xe.cancelBtn}`,type:"primary",onClick:()=>{de.history.back()}},"\u53D6\u6D88"),Ra.createElement(je.ZP,{loading:Ri,onClick:()=>{Dr.validateFields(),Dr.submit()},type:"primary",className:`${Xe.confirmBtn} ml20`},"\u4E0B\u4E00\u6B65")),Ra.createElement(z,{setsubloading:ea,onModalOk:cl})),Ei===2&&Ra.createElement("div",null,Ra.createElement(Kr,{key:ki,setisedits:Mi,setitemid:vo,itemid:pr}))),Ra.createElement(Fo.Z,{open:il,onCancel:()=>{ll(!1)}}))};var Zr=(0,de.connect)(({classroomList:ce,loading:pe,user:Pe,problemset:Lt,globalSetting:tn,exercise:wa})=>({classroomList:ce,globalSetting:tn,problemset:Lt,user:Pe,exercise:wa,loading:pe.effects}))(Yr)},4881:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return E}});var b=ee(59301),de=ee(8591),Be=ee(43418),Ne=ee(19842),Ze=ee(54580),ke=ee(3113),le=ee(346),st=ee(51257),et=ee(38986),Ve=ee(25690),je={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"},Xe=ee(59301),Ye=(a,x,y)=>new Promise((z,ne)=>{var re=ve=>{try{oe(y.next(ve))}catch(be){ne(be)}},ue=ve=>{try{oe(y.throw(ve))}catch(be){ne(be)}},oe=ve=>ve.done?z(ve.value):Promise.resolve(ve.value).then(re,ue);oe((y=y.apply(a,x)).next())}),E=({visible:a,onOk:x,onCancel:y,sub_discipline_id:z=[]})=>{const[ne,re]=(0,b.useState)([]),[ue,oe]=(0,b.useState)(!1),ve=(0,Ve.useParams)(),[be,We]=(0,b.useState)([]),[Ae,He]=(0,b.useState)([]);(0,b.useEffect)(()=>{a?he():(He([]),re([]),oe(!1))},[a]);const he=()=>Ye(void 0,null,function*(){const ut=yield(0,et.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});We(ut.disciplines||[]),He((z==null?void 0:z.length)>0?z:[])}),qe=()=>{if((Ae==null?void 0:Ae.length)===0)return de.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",Ae),oe(!0),x(ne,Ae[1],()=>{oe(!1)})},Ke=()=>{y()},ht=()=>{const ut=`${le.Z.API_SERVER}/api/courses/${ve.coursesId}/exercises/down_template`;(0,st.Nd)(null,ut)},Le=ut=>{const gt={name:ut.name,uid:ut.uid,file:ut};return re([gt]),!1},rt=()=>{re([])};return Xe.createElement(Be.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:qe,centered:!0,wrapClassName:je.customModal,onCancel:Ke,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:je.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:ue},Xe.createElement("div",{className:je.content},Xe.createElement("aside",null,Xe.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),Xe.createElement("ul",null,Xe.createElement("li",null,Xe.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),Xe.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:ht},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),Xe.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:ht,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),Xe.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),Xe.createElement("li",{className:je.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),Xe.createElement("li",{className:je.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),Xe.createElement("li",{className:je.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),Xe.createElement("li",{className:je.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),Xe.createElement("aside",{style:{marginTop:22}},Xe.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),Xe.createElement("ul",{style:{flex:1}},Xe.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&&Xe.createElement(Xe.Fragment,null,Xe.createElement(Ne.Z,{value:Ae,className:je.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:be,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(ut,gt)=>{He(ut||[])}}),Xe.createElement("br",null),Xe.createElement(Ze.default,{action:`${le.Z.API_SERVER}/api/attachments.json`,beforeUpload:Le,onRemove:rt,withCredentials:!0,fileList:ne,accept:".xls,.xlsx",showUploadList:!1},Xe.createElement(ke.ZP,{className:je.upload,type:"primary",icon:Xe.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),ne.map((ut,gt)=>Xe.createElement("div",{key:gt,className:je.fileList},Xe.createElement("span",{className:je.fileName},ut==null?void 0:ut.name),Xe.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:rt})))))))}},95024:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(43418),Be=ee(38986),Ne=ee(25690),Ze=ee(59301),ke=(st,et,Ve)=>new Promise((je,Xe)=>{var Ye=a=>{try{E(Ve.next(a))}catch(x){Xe(x)}},se=a=>{try{E(Ve.throw(a))}catch(x){Xe(x)}},E=a=>a.done?je(a.value):Promise.resolve(a.value).then(Ye,se);E((Ve=Ve.apply(st,et)).next())});const le=({exercise:st,dispatch:et,init:Ve,haveInit:je=!1})=>{const Xe=(0,Ne.useParams)(),[Ye,se]=(0,b.useState)(!1);let[E,a]=(0,b.useState)();const[x,y]=(0,b.useState)(!1),[z,ne]=(0,b.useState)(!1);(0,b.useEffect)(()=>{st.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&re()},[st.actionTabs]);function re(){return ke(this,null,function*(){var ue,oe;let ve=yield(0,Be.ZP)(`/api/courses/${Xe==null?void 0:Xe.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs}});if(((ue=ve==null?void 0:ve.cover_exercises)==null?void 0:ue.length)>0)se(!0),a((oe=ve==null?void 0:ve.cover_exercises)==null?void 0:oe[0]);else{let be=yield(0,Be.ZP)(`/api/courses/${Xe==null?void 0:Xe.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs}});et({type:"exercise/setActionTabs",payload:{key:""}}),(be==null?void 0:be.status)===0&&(je&&Ve(),de.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ne.history.push("/paperlibrary")}}))}})}return Ze.createElement("div",null,Ze.createElement(de.default,{open:Ye,centered:!0,onCancel:ue=>ke(void 0,null,function*(){if(ue.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){y(!0);let oe=yield(0,Be.ZP)(`/api/courses/${Xe==null?void 0:Xe.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs,update:1}});et({type:"exercise/setActionTabs",payload:{key:""}}),y(!1),(oe==null?void 0:oe.status)===0&&(je&&Ve(),se(!1),de.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ne.history.push("/paperlibrary")}}))}else se(!1)}),cancelButtonProps:{loading:x},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:z},onOk:()=>ke(void 0,null,function*(){ne(!0);let ue=yield(0,Be.ZP)(`/api/courses/${Xe==null?void 0:Xe.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs}});ne(!1),(ue==null?void 0:ue.status)===0&&(je&&Ve(),et({type:"exercise/setActionTabs",payload:{key:""}}),se(!1),de.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ne.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},Ze.createElement("div",null,Ze.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),Ze.createElement("div",null,Ze.createElement("div",null,"\u8BD5\u5377\uFF1A",E==null?void 0:E.origin_exercise_nam),Ze.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",Ze.createElement("a",{href:`/paperlibrary/see/${E==null?void 0:E.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},E==null?void 0:E.examination_bank_name))))))};Gt.Z=(0,Ne.connect)(({exercise:st})=>({exercise:st}))(le)},37345:function(Qt,Gt,ee){"use strict";ee.d(Gt,{h:function(){return b}});var b=(de=>(de[de.NOMATCH=-1]="NOMATCH",de[de.OK=0]="OK",de[de.TIMEOUT=2]="TIMEOUT",de[de.PODFAILURE=3]="PODFAILURE",de[de.COMPILEFAILURE=4]="COMPILEFAILURE",de[de.EXECUTEFAILURE=5]="EXECUTEFAILURE",de[de.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",de))(b||{})},81072:function(Qt,Gt,ee){"use strict";ee.d(Gt,{H7:function(){return E},MK:function(){return se},MU:function(){return Ve},X6:function(){return Xe},bM:function(){return et},fi:function(){return a},fu:function(){return st},n4:function(){return x},rX:function(){return Ye},vl:function(){return y},zO:function(){return je}});var b=ee(38986),de=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,ke=(z,ne,re)=>ne in z?de(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,le=(z,ne)=>{for(var re in ne||(ne={}))Ne.call(ne,re)&&ke(z,re,ne[re]);if(Be)for(var re of Be(ne))Ze.call(ne,re)&&ke(z,re,ne[re]);return z};function st(z,ne){return(0,b.U2)(`myproblems/${z}.json`,le({hidePopLogin:!0},ne||{}))}function et(z,ne){return(0,b.v_)(`myproblems/${z}/code_submit.json`,ne)}function Ve(z,ne){return(0,b.v_)(`myproblems/${z}/code_debug.json`,ne)}function je(z,ne){return ne.language&&(ne.language=encodeURIComponent(ne.language)),(0,b.U2)(`myproblems/${z}/submit_records.json`,ne)}function Xe(z){return(0,b.U2)("myproblems/record_detail.json",{id:z})}function Ye(z,ne){return(0,b.U2)(`myproblems/${z}/result.json`,{mode:ne})}function se(z,ne){return(0,b.v_)(`myproblems/${z}/add_notes.json`,ne)}function E(z,ne){return(0,b.v_)(`myproblems/${z}/restore_initial_code.json`,ne)}function a(z){return(0,b.v_)(`myproblems/${z}/sync_code.json`)}function x(z,ne){return(0,b.v_)(`myproblems/${z}/update_code.json`,ne)}function y(z,ne){return(0,b.v_)(`discusses/${z}/plus.json`,ne)}},53311:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(6848),Be=ee(92832),Ne=ee(8591),Ze=ee(2397),ke=ee(59301),le=(et,Ve,je)=>new Promise((Xe,Ye)=>{var se=x=>{try{a(je.next(x))}catch(y){Ye(y)}},E=x=>{try{a(je.throw(x))}catch(y){Ye(y)}},a=x=>x.done?Xe(x.value):Promise.resolve(x.value).then(se,E);a((je=je.apply(et,Ve)).next())});const st=({defaultValue:et,onFinish:Ve})=>{const[je,Xe]=(0,b.useState)(!1),[Ye,se]=(0,b.useState)(et);return(0,b.useEffect)(()=>{se(et)},[et]),ke.createElement("div",null,je?ke.createElement(Be.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Ye,onChange:E=>{se(E.target.value)},onBlur:()=>le(void 0,null,function*(){var E;if(((E=Ye==null?void 0:Ye.replaceAll(" ",""))==null?void 0:E.length)<=0){Ne.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve(Ye))&&Xe(!1)}),onPressEnter:()=>le(void 0,null,function*(){var E;if(((E=Ye==null?void 0:Ye.replaceAll(" ",""))==null?void 0:E.length)<=0){Ne.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve(Ye))&&Xe(!1)})}):ke.createElement("div",{className:Ze.Z.title},Ye,ke.createElement(de.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},ke.createElement("i",{className:`${Ze.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>Xe(!0)}))))};Gt.Z=st},52154:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ve}});var b=ee(43418),de={ul:"ul___TdfYY"},Be=ee(32637),Ne=ee(59301),Ze=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,st=(je,Xe)=>{var Ye={};for(var se in je)ke.call(je,se)&&Xe.indexOf(se)<0&&(Ye[se]=je[se]);if(je!=null&&Ze)for(var se of Ze(je))Xe.indexOf(se)<0&&le.call(je,se)&&(Ye[se]=je[se]);return Ye},Ve=je=>{var Xe=je,{open:Ye,onCancel:se}=Xe,E=st(Xe,["open","onCancel"]);return Ne.createElement(b.default,{centered:!0,open:Ye,title:Ne.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:se,footer:null},Ne.createElement("div",null,Ne.createElement("div",{className:"tc"},Ne.createElement("img",{className:"mt10",src:Be,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Ne.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Ne.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Ne.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Ne.createElement("ul",{className:de.ul},Ne.createElement("li",null,"1\u3001\u89E3\u7B54\u8001\u5E08\u7591\u60D1\u3001\u5E2E\u52A9\u8001\u5E08\u66F4\u5FEB\u719F\u6089\u548C\u4F7F\u7528\u5E73\u53F0\u6559\u5B66\u3002"),Ne.createElement("li",null,"2\u3001\u534F\u52A9\u8001\u5E08\u521B\u5EFA\u8BFE\u5802\u3001\u8BFE\u7A0B\u8BBE\u8BA1\u3001\u505A\u597D\u6559\u5B66\u5DE5\u4F5C\u3002"),Ne.createElement("li",null,"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5934\u6B4C\u5E73\u53F0C9\u9662\u6821\u3001985\u9AD8\u6821\u3001211\u9AD8\u6821\u3001\u53CC\u4E00\u6D41\u9AD8\u6821\u8001\u5E08\u7ECF\u5178\u5B9E\u8DF5\u6559\u5B66\u6848\u4F8B\u3002")))))}},78874:function(Qt,Gt,ee){"use strict";ee.d(Gt,{I:function(){return de}});var b=ee(59301);const de=()=>{const[Be,Ne]=(0,b.useState)("hidden");return{overflow:Be,handleMouseEnter:()=>Ne("auto"),handleMouseLeave:()=>Ne("hidden")}}},50371:function(Qt,Gt){"use strict";function ee(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let de=1;de<arguments.length;de++){const Be=de<0||arguments.length<=de?void 0:arguments[de];Be&&Object.keys(Be).forEach(Ne=>{const Ze=Be[Ne];Ze!==void 0&&(b[Ne]=Ze)})}return b}Gt.Z=ee},77578:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return b}});const b=de=>de?typeof de=="function"?de():de:null},13845:function(Qt,Gt,ee){"use strict";ee.d(Gt,{F:function(){return b},Z:function(){return de}});function b(Be){return Be!=null&&Be===Be.window}function de(Be,Ne){var Ze,ke;if(typeof window=="undefined")return 0;const le=Ne?"scrollTop":"scrollLeft";let st=0;return b(Be)?st=Be[Ne?"pageYOffset":"pageXOffset"]:Be instanceof Document?st=Be.documentElement[le]:(Be instanceof HTMLElement||Be)&&(st=Be[le]),Be&&!b(Be)&&typeof st!="number"&&(st=(ke=((Ze=Be.ownerDocument)!==null&&Ze!==void 0?Ze:Be).documentElement)===null||ke===void 0?void 0:ke[le]),st}},56762:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return de}});var b=ee(59301);function de(){const[,Be]=b.useReducer(Ne=>Ne+1,0);return Be}},68031:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ne}});var b=ee(16089);function de(Ze,ke,le,st){const et=le-ke;return Ze/=st/2,Ze<1?et/2*Ze*Ze*Ze+ke:et/2*((Ze-=2)*Ze*Ze+2)+ke}var Be=ee(13845);function Ne(Ze){let ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:le=()=>window,callback:st,duration:et=450}=ke,Ve=le(),je=(0,Be.Z)(Ve,!0),Xe=Date.now(),Ye=()=>{const E=Date.now()-Xe,a=de(E>et?et:E,je,Ze,et);(0,Be.F)(Ve)?Ve.scrollTo(window.pageXOffset,a):Ve instanceof Document||Ve.constructor.name==="HTMLDocument"?Ve.documentElement.scrollTop=a:Ve.scrollTop=a,E<et?(0,b.Z)(Ye):typeof st=="function"&&st()};(0,b.Z)(Ye)}},66104:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return ht}});var b=ee(92310),de=ee.n(b),Be=ee(11592),Ne=ee(26112),Ze=ee(59301),ke=ee(92343),le=ee(36355),st=ee(84105),et=ee(91857);const Ve=Le=>{let{children:rt}=Le;const{getPrefixCls:ut}=Ze.useContext(le.E_),gt=ut("breadcrumb");return Ze.createElement("li",{className:`${gt}-separator`,"aria-hidden":"true"},rt===""?rt:rt||"/")};Ve.__ANT_BREADCRUMB_SEPARATOR=!0;var je=Ve,Xe=function(Le,rt){var ut={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&rt.indexOf(gt)<0&&(ut[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,gt=Object.getOwnPropertySymbols(Le);mt<gt.length;mt++)rt.indexOf(gt[mt])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[mt])&&(ut[gt[mt]]=Le[gt[mt]]);return ut};function Ye(Le,rt){if(Le.title===void 0||Le.title===null)return null;const ut=Object.keys(rt).join("|");return typeof Le.title=="object"?Le.title:String(Le.title).replace(new RegExp(`:(${ut})`,"g"),(gt,mt)=>rt[mt]||gt)}function se(Le,rt,ut,gt){if(ut==null)return null;const{className:mt,onClick:un}=rt,Nt=Xe(rt,["className","onClick"]),rn=Object.assign(Object.assign({},(0,Ne.Z)(Nt,{data:!0,aria:!0})),{onClick:un});return gt!==void 0?Ze.createElement("a",Object.assign({},rn,{className:de()(`${Le}-link`,mt),href:gt}),ut):Ze.createElement("span",Object.assign({},rn,{className:de()(`${Le}-link`,mt)}),ut)}function E(Le,rt){return(gt,mt,un,Nt,rn)=>{if(rt)return rt(gt,mt,un,Nt);const nn=Ye(gt,mt);return se(Le,gt,nn,rn)}}var a=function(Le,rt){var ut={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&rt.indexOf(gt)<0&&(ut[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,gt=Object.getOwnPropertySymbols(Le);mt<gt.length;mt++)rt.indexOf(gt[mt])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[mt])&&(ut[gt[mt]]=Le[gt[mt]]);return ut};const x=Le=>{const{prefixCls:rt,separator:ut="/",children:gt,menu:mt,overlay:un,dropdownProps:Nt,href:rn}=Le,Ue=(dt=>{if(mt||un){const on=Object.assign({},Nt);if(mt){const Vn=mt||{},{items:Zt}=Vn,wn=a(Vn,["items"]);on.menu=Object.assign(Object.assign({},wn),{items:Zt==null?void 0:Zt.map((ze,ct)=>{var{key:kt,title:ft,label:At,path:it}=ze,nt=a(ze,["key","title","label","path"]);let De=At!=null?At:ft;return it&&(De=Ze.createElement("a",{href:`${rn}${it}`},De)),Object.assign(Object.assign({},nt),{key:kt!=null?kt:ct,label:De})})})}else un&&(on.overlay=un);return Ze.createElement(et.Z,Object.assign({placement:"bottom"},on),Ze.createElement("span",{className:`${rt}-overlay-link`},dt,Ze.createElement(st.Z,null)))}return dt})(gt);return Ue!=null?Ze.createElement(Ze.Fragment,null,Ze.createElement("li",null,Ue),ut&&Ze.createElement(je,null,ut)):null},y=Le=>{const{prefixCls:rt,children:ut,href:gt}=Le,mt=a(Le,["prefixCls","children","href"]),{getPrefixCls:un}=Ze.useContext(le.E_),Nt=un("breadcrumb",rt);return Ze.createElement(x,Object.assign({},mt,{prefixCls:Nt}),se(Nt,mt,ut,gt))};y.__ANT_BREADCRUMB_ITEM=!0;var z=y,ne=ee(17313),re=ee(83116),ue=ee(37613);const oe=Le=>{const{componentCls:rt,iconCls:ut}=Le;return{[rt]:Object.assign(Object.assign({},(0,ne.Wf)(Le)),{color:Le.itemColor,fontSize:Le.fontSize,[ut]:{fontSize:Le.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Le.linkColor,transition:`color ${Le.motionDurationMid}`,padding:`0 ${Le.paddingXXS}px`,borderRadius:Le.borderRadiusSM,height:Le.lineHeight*Le.fontSize,display:"inline-block",marginInline:-Le.marginXXS,"&:hover":{color:Le.linkHoverColor,backgroundColor:Le.colorBgTextHover}},(0,ne.Qy)(Le)),"li:last-child":{color:Le.lastItemColor},[`${rt}-separator`]:{marginInline:Le.separatorMargin,color:Le.separatorColor},[`${rt}-link`]:{[`
> ${ut} + span,
> ${ut} + a
`]:{marginInlineStart:Le.marginXXS}},[`${rt}-overlay-link`]:{borderRadius:Le.borderRadiusSM,height:Le.lineHeight*Le.fontSize,display:"inline-block",padding:`0 ${Le.paddingXXS}px`,marginInline:-Le.marginXXS,[`> ${ut}`]:{marginInlineStart:Le.marginXXS,fontSize:Le.fontSizeIcon},"&:hover":{color:Le.linkHoverColor,backgroundColor:Le.colorBgTextHover,a:{color:Le.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Le.componentCls}-rtl`]:{direction:"rtl"}})}};var ve=(0,re.Z)("Breadcrumb",Le=>{const rt=(0,ue.TS)(Le,{});return[oe(rt)]},Le=>({itemColor:Le.colorTextDescription,lastItemColor:Le.colorText,iconFontSize:Le.fontSize,linkColor:Le.colorTextDescription,linkHoverColor:Le.colorText,separatorColor:Le.colorTextDescription,separatorMargin:Le.marginXS})),be=function(Le,rt){var ut={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&rt.indexOf(gt)<0&&(ut[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,gt=Object.getOwnPropertySymbols(Le);mt<gt.length;mt++)rt.indexOf(gt[mt])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[mt])&&(ut[gt[mt]]=Le[gt[mt]]);return ut};function We(Le){const{breadcrumbName:rt,children:ut}=Le,gt=be(Le,["breadcrumbName","children"]),mt=Object.assign({title:rt},gt);return ut&&(mt.menu={items:ut.map(un=>{var{breadcrumbName:Nt}=un,rn=be(un,["breadcrumbName"]);return Object.assign(Object.assign({},rn),{title:Nt})})}),mt}function Ae(Le,rt){return(0,Ze.useMemo)(()=>Le||(rt?rt.map(We):null),[Le,rt])}var He=function(Le,rt){var ut={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&rt.indexOf(gt)<0&&(ut[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,gt=Object.getOwnPropertySymbols(Le);mt<gt.length;mt++)rt.indexOf(gt[mt])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[mt])&&(ut[gt[mt]]=Le[gt[mt]]);return ut};const he=(Le,rt)=>{if(rt===void 0)return rt;let ut=(rt||"").replace(/^\//,"");return Object.keys(Le).forEach(gt=>{ut=ut.replace(`:${gt}`,Le[gt])}),ut},qe=Le=>{const{prefixCls:rt,separator:ut="/",style:gt,className:mt,rootClassName:un,routes:Nt,items:rn,children:nn,itemRender:Ue,params:dt={}}=Le,on=He(Le,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Vn,direction:Zt,breadcrumb:wn}=Ze.useContext(le.E_);let ze;const ct=Vn("breadcrumb",rt),[kt,ft]=ve(ct),At=Ae(rn,Nt),it=E(ct,Ue);if(At&&At.length>0){const fe=[],Je=rn||Nt;ze=At.map((It,Oe)=>{const{path:Ie,key:St,type:at,menu:Me,overlay:yt,onClick:Fn,className:an,separator:cn,dropdownProps:sn}=It,yn=he(dt,Ie);yn!==void 0&&fe.push(yn);const Te=St!=null?St:Oe;if(at==="separator")return Ze.createElement(je,{key:Te},cn);const xt={},Ht=Oe===At.length-1;Me?xt.menu=Me:yt&&(xt.overlay=yt);let{href:Bt}=It;return fe.length&&yn!==void 0&&(Bt=`#/${fe.join("/")}`),Ze.createElement(x,Object.assign({key:Te},xt,(0,Ne.Z)(It,{data:!0,aria:!0}),{className:an,dropdownProps:sn,href:Bt,separator:Ht?"":ut,onClick:Fn,prefixCls:ct}),it(It,dt,Je,fe,Bt))})}else if(nn){const fe=(0,Be.Z)(nn).length;ze=(0,Be.Z)(nn).map((Je,It)=>{if(!Je)return Je;const Oe=It===fe-1;return(0,ke.Tm)(Je,{separator:Oe?"":ut,key:It})})}const nt=de()(ct,wn==null?void 0:wn.className,{[`${ct}-rtl`]:Zt==="rtl"},mt,un,ft),De=Object.assign(Object.assign({},wn==null?void 0:wn.style),gt);return kt(Ze.createElement("nav",Object.assign({className:nt,style:De},on),Ze.createElement("ol",null,ze)))};qe.Item=z,qe.Separator=je;var Ke=qe,ht=Ke},19842:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return xa}});var b=ee(95190),de=ee(59301),Be=ee(33853),Ne=ee(58617),Ze=ee(38819),ke=ee(92310),le=ee.n(ke),st=ee(14809),et=ee(50298),Ve=ee(62646),je=ee(77861),Xe=ee(17115),Ye=ee(90782),se=ee(6089),E=ee(18929),a=de.createContext(null),x=a,y=ee(93664),z=ee(4635),ne=ee(20439),re="__rc_cascader_search_mark__",ue=function(Ot,_t,Vt){var Wt=Vt.label;return _t.some(function(Rn){return String(Rn[Wt]).toLowerCase().includes(Ot.toLowerCase())})},oe=function(Ot,_t,Vt,Wt){return _t.map(function(Rn){return Rn[Wt.label]}).join(" / ")},ve=function(Ge,Ot,_t,Vt,Wt,Rn){var Bn=Wt.filter,vt=Bn===void 0?ue:Bn,Ft=Wt.render,pt=Ft===void 0?oe:Ft,Sn=Wt.limit,Wn=Sn===void 0?50:Sn,An=Wt.sort;return de.useMemo(function(){var ka=[];if(!Ge)return[];function pa(_n,Ea){var Pa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;_n.forEach(function(Dn){if(!(!An&&Wn!==!1&&Wn>0&&ka.length>=Wn)){var lr=[].concat((0,b.Z)(Ea),[Dn]),Nr=Dn[_t.children],$r=Pa||Dn.disabled;if((!Nr||Nr.length===0||Rn)&&vt(Ge,lr,{label:_t.label})){var Sr;ka.push((0,ne.Z)((0,ne.Z)({},Dn),{},(Sr={disabled:$r},(0,z.Z)(Sr,_t.label,pt(Ge,lr,Vt,_t)),(0,z.Z)(Sr,re,lr),(0,z.Z)(Sr,_t.children,void 0),Sr)))}Nr&&pa(Dn[_t.children],lr,$r)}})}return pa(Ot,[]),An&&ka.sort(function(_n,Ea){return An(_n[re],Ea[re],Ge,_t)}),Wn!==!1&&Wn>0?ka.slice(0,Wn):ka},[Ge,Ot,_t,Vt,pt,Rn,vt,An,Wn])},be="__RC_CASCADER_SPLIT__",We="SHOW_PARENT",Ae="SHOW_CHILD";function He(Ge){return Ge.join(be)}function he(Ge){return Ge.map(He)}function qe(Ge){return Ge.split(be)}function Ke(Ge){var Ot=Ge||{},_t=Ot.label,Vt=Ot.value,Wt=Ot.children,Rn=Vt||"value";return{label:_t||"label",value:Rn,key:Rn,children:Wt||"children"}}function ht(Ge,Ot){var _t,Vt;return(_t=Ge.isLeaf)!==null&&_t!==void 0?_t:!((Vt=Ge[Ot.children])!==null&&Vt!==void 0&&Vt.length)}function Le(Ge){var Ot=Ge.parentElement;if(Ot){var _t=Ge.offsetTop-Ot.offsetTop;_t-Ot.scrollTop<0?Ot.scrollTo({top:_t}):_t+Ge.offsetHeight-Ot.scrollTop>Ot.offsetHeight&&Ot.scrollTo({top:_t+Ge.offsetHeight-Ot.offsetHeight})}}function rt(Ge,Ot){return Ge.map(function(_t){var Vt;return(Vt=_t[re])===null||Vt===void 0?void 0:Vt.map(function(Wt){return Wt[Ot.value]})})}function ut(Ge,Ot,_t){var Vt=new Set(Ge),Wt=Ot();return Ge.filter(function(Rn){var Bn=Wt[Rn],vt=Bn?Bn.parent:null,Ft=Bn?Bn.children:null;return Bn&&Bn.node.disabled?!0:_t===Ae?!(Ft&&Ft.some(function(pt){return pt.key&&Vt.has(pt.key)})):!(vt&&!vt.node.disabled&&Vt.has(vt.key))})}function gt(Ge,Ot,_t){for(var Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Wt=Ot,Rn=[],Bn=function(){var pt,Sn,Wn,An=Ge[vt],ka=(pt=Wt)===null||pt===void 0?void 0:pt.findIndex(function(_n){var Ea=_n[_t.value];return Vt?String(Ea)===String(An):Ea===An}),pa=ka!==-1?(Sn=Wt)===null||Sn===void 0?void 0:Sn[ka]:null;Rn.push({value:(Wn=pa==null?void 0:pa[_t.value])!==null&&Wn!==void 0?Wn:An,index:ka,option:pa}),Wt=pa==null?void 0:pa[_t.children]},vt=0;vt<Ge.length;vt+=1)Bn();return Rn}var mt=function(Ge,Ot,_t,Vt,Wt){return de.useMemo(function(){var Rn=Wt||function(Bn){var vt=Vt?Bn.slice(-1):Bn,Ft=" / ";return vt.every(function(pt){return["string","number"].includes((0,y.Z)(pt))})?vt.join(Ft):vt.reduce(function(pt,Sn,Wn){var An=de.isValidElement(Sn)?de.cloneElement(Sn,{key:Wn}):Sn;return Wn===0?[An]:[].concat((0,b.Z)(pt),[Ft,An])},[])};return Ge.map(function(Bn){var vt,Ft,pt=gt(Bn,Ot,_t),Sn=Rn(pt.map(function(An){var ka,pa=An.option,_n=An.value;return(ka=pa==null?void 0:pa[_t.label])!==null&&ka!==void 0?ka:_n}),pt.map(function(An){var ka=An.option;return ka})),Wn=He(Bn);return{label:Sn,value:Wn,key:Wn,valueCells:Bn,disabled:(vt=pt[pt.length-1])===null||vt===void 0||(Ft=vt.option)===null||Ft===void 0?void 0:Ft.disabled}})},[Ge,Ot,_t,Wt,Vt])},un=ee(71430),Nt=function(Ge,Ot){var _t=de.useRef({options:null,info:null}),Vt=de.useCallback(function(){return _t.current.options!==Ge&&(_t.current.options=Ge,_t.current.info=(0,un.I8)(Ge,{fieldNames:Ot,initWrapper:function(Rn){return(0,ne.Z)((0,ne.Z)({},Rn),{},{pathKeyEntities:{}})},processEntity:function(Rn,Bn){var vt=Rn.nodes.map(function(Ft){return Ft[Ot.value]}).join(be);Bn.pathKeyEntities[vt]=Rn,Rn.key=vt}})),_t.current.info.pathKeyEntities},[Ot,Ge]);return Vt},rn=function(Ge,Ot){return de.useCallback(function(_t){var Vt=[],Wt=[];return _t.forEach(function(Rn){var Bn=gt(Rn,Ge,Ot);Bn.every(function(vt){return vt.option})?Wt.push(Rn):Vt.push(Rn)}),[Wt,Vt]},[Ge,Ot])},nn=ee(48736);function Ue(Ge){return de.useMemo(function(){if(!Ge)return[!1,{}];var Ot={matchInputWidth:!0,limit:50};return Ge&&(0,y.Z)(Ge)==="object"&&(Ot=(0,ne.Z)((0,ne.Z)({},Ot),Ge)),Ot.limit<=0&&delete Ot.limit,[!0,Ot]},[Ge])}var dt=de.memo(function(Ge){var Ot=Ge.children;return Ot},function(Ge,Ot){return!Ot.open}),on=dt;function Vn(Ge){var Ot,_t=Ge.prefixCls,Vt=Ge.checked,Wt=Ge.halfChecked,Rn=Ge.disabled,Bn=Ge.onClick,vt=Ge.disableCheckbox,Ft=de.useContext(x),pt=Ft.checkable,Sn=typeof pt!="boolean"?pt:null;return de.createElement("span",{className:le()("".concat(_t),(Ot={},(0,z.Z)(Ot,"".concat(_t,"-checked"),Vt),(0,z.Z)(Ot,"".concat(_t,"-indeterminate"),!Vt&&Wt),(0,z.Z)(Ot,"".concat(_t,"-disabled"),Rn||vt),Ot)),onClick:Bn},Sn)}var Zt="__cascader_fix_label__";function wn(Ge){var Ot=Ge.prefixCls,_t=Ge.multiple,Vt=Ge.options,Wt=Ge.activeValue,Rn=Ge.prevValuePath,Bn=Ge.onToggleOpen,vt=Ge.onSelect,Ft=Ge.onActive,pt=Ge.checkedSet,Sn=Ge.halfCheckedSet,Wn=Ge.loadingKeys,An=Ge.isSelectable,ka=Ge.searchValue,pa="".concat(Ot,"-menu"),_n="".concat(Ot,"-menu-item"),Ea=de.useContext(x),Pa=Ea.fieldNames,Dn=Ea.changeOnSelect,lr=Ea.expandTrigger,Nr=Ea.expandIcon,$r=Ea.loadingIcon,Sr=Ea.dropdownMenuColumnStyle,$e=lr==="hover",bn=de.useMemo(function(){return Vt.map(function(Xt){var Nn,Kn=Xt.disabled,ua=Xt.disableCheckbox,Qn=Xt[re],$n=(Nn=Xt[Zt])!==null&&Nn!==void 0?Nn:Xt[Pa.label],ur=Xt[Pa.value],da=ht(Xt,Pa),En=Qn?Qn.map(function(ha){return ha[Pa.value]}):[].concat((0,b.Z)(Rn),[ur]),dr=He(En),Cr=Wn.includes(dr),Wr=pt.has(dr),Ir=Sn.has(dr);return{disabled:Kn,label:$n,value:ur,isLeaf:da,isLoading:Cr,checked:Wr,halfChecked:Ir,option:Xt,disableCheckbox:ua,fullPath:En,fullPathKey:dr}})},[Vt,pt,Pa,Sn,Wn,Rn]);return de.createElement("ul",{className:pa,role:"menu"},bn.map(function(Xt){var Nn,Kn=Xt.disabled,ua=Xt.label,Qn=Xt.value,$n=Xt.isLeaf,ur=Xt.isLoading,da=Xt.checked,En=Xt.halfChecked,dr=Xt.option,Cr=Xt.fullPath,Wr=Xt.fullPathKey,Ir=Xt.disableCheckbox,ha=function(){if(!(Kn||ka)){var Or=(0,b.Z)(Cr);$e&&$n&&Or.pop(),Ft(Or)}},Ha=function(){An(dr)&&vt(Cr,$n)},$a;return typeof dr.title=="string"?$a=dr.title:typeof ua=="string"&&($a=ua),de.createElement("li",{key:Wr,className:le()(_n,(Nn={},(0,z.Z)(Nn,"".concat(_n,"-expand"),!$n),(0,z.Z)(Nn,"".concat(_n,"-active"),Wt===Qn||Wt===Wr),(0,z.Z)(Nn,"".concat(_n,"-disabled"),Kn),(0,z.Z)(Nn,"".concat(_n,"-loading"),ur),Nn)),style:Sr,role:"menuitemcheckbox",title:$a,"aria-checked":da,"data-path-key":Wr,onClick:function(){ha(),!Ir&&(!_t||$n)&&Ha()},onDoubleClick:function(){Dn&&Bn(!1)},onMouseEnter:function(){$e&&ha()},onMouseDown:function(Or){Or.preventDefault()}},_t&&de.createElement(Vn,{prefixCls:"".concat(Ot,"-checkbox"),checked:da,halfChecked:En,disabled:Kn||Ir,disableCheckbox:Ir,onClick:function(Or){Ir||(Or.stopPropagation(),Ha())}}),de.createElement("div",{className:"".concat(_n,"-content")},ua),!ur&&Nr&&!$n&&de.createElement("div",{className:"".concat(_n,"-expand-icon")},Nr),ur&&$r&&de.createElement("div",{className:"".concat(_n,"-loading-icon")},$r))}))}var ze=function(){var Ge=(0,je.lk)(),Ot=Ge.multiple,_t=Ge.open,Vt=de.useContext(x),Wt=Vt.values,Rn=de.useState([]),Bn=(0,et.Z)(Rn,2),vt=Bn[0],Ft=Bn[1];return de.useEffect(function(){if(_t&&!Ot){var pt=Wt[0];Ft(pt||[])}},[_t]),[vt,Ft]},ct=ee(10228),kt=function(Ge,Ot,_t,Vt,Wt,Rn){var Bn=(0,je.lk)(),vt=Bn.direction,Ft=Bn.searchValue,pt=Bn.toggleOpen,Sn=Bn.open,Wn=vt==="rtl",An=de.useMemo(function(){for(var Sr=-1,$e=Ot,bn=[],Xt=[],Nn=Vt.length,Kn=rt(Ot,_t),ua=function(dr){var Cr=$e.findIndex(function(Wr,Ir){return(Kn[Ir]?He(Kn[Ir]):Wr[_t.value])===Vt[dr]});if(Cr===-1)return"break";Sr=Cr,bn.push(Sr),Xt.push(Vt[dr]),$e=$e[Sr][_t.children]},Qn=0;Qn<Nn&&$e;Qn+=1){var $n=ua(Qn);if($n==="break")break}for(var ur=Ot,da=0;da<bn.length-1;da+=1)ur=ur[bn[da]][_t.children];return[Xt,Sr,ur,Kn]},[Vt,_t,Ot]),ka=(0,et.Z)(An,4),pa=ka[0],_n=ka[1],Ea=ka[2],Pa=ka[3],Dn=function($e){Wt($e)},lr=function($e){var bn=Ea.length,Xt=_n;Xt===-1&&$e<0&&(Xt=bn);for(var Nn=0;Nn<bn;Nn+=1){Xt=(Xt+$e+bn)%bn;var Kn=Ea[Xt];if(Kn&&!Kn.disabled){var ua=pa.slice(0,-1).concat(Pa[Xt]?He(Pa[Xt]):Kn[_t.value]);Dn(ua);return}}},Nr=function(){if(pa.length>1){var $e=pa.slice(0,-1);Dn($e)}else pt(!1)},$r=function(){var $e,bn=(($e=Ea[_n])===null||$e===void 0?void 0:$e[_t.children])||[],Xt=bn.find(function(Kn){return!Kn.disabled});if(Xt){var Nn=[].concat((0,b.Z)(pa),[Xt[_t.value]]);Dn(Nn)}};de.useImperativeHandle(Ge,function(){return{onKeyDown:function($e){var bn=$e.which;switch(bn){case ct.Z.UP:case ct.Z.DOWN:{var Xt=0;bn===ct.Z.UP?Xt=-1:bn===ct.Z.DOWN&&(Xt=1),Xt!==0&&lr(Xt);break}case ct.Z.LEFT:{if(Ft)break;Wn?$r():Nr();break}case ct.Z.RIGHT:{if(Ft)break;Wn?Nr():$r();break}case ct.Z.BACKSPACE:{Ft||Nr();break}case ct.Z.ENTER:{if(pa.length){var Nn=Ea[_n],Kn=(Nn==null?void 0:Nn[re])||[];Kn.length?Rn(Kn.map(function(ua){return ua[_t.value]}),Kn[Kn.length-1]):Rn(pa,Ea[_n])}break}case ct.Z.ESC:pt(!1),Sn&&$e.stopPropagation()}},onKeyUp:function(){}}})},ft=de.forwardRef(function(Ge,Ot){var _t,Vt,Wt,Rn,Bn=(0,je.lk)(),vt=Bn.prefixCls,Ft=Bn.multiple,pt=Bn.searchValue,Sn=Bn.toggleOpen,Wn=Bn.notFoundContent,An=Bn.direction,ka=Bn.open,pa=de.useRef(),_n=An==="rtl",Ea=de.useContext(x),Pa=Ea.options,Dn=Ea.values,lr=Ea.halfValues,Nr=Ea.fieldNames,$r=Ea.changeOnSelect,Sr=Ea.onSelect,$e=Ea.searchOptions,bn=Ea.dropdownPrefixCls,Xt=Ea.loadData,Nn=Ea.expandTrigger,Kn=bn||vt,ua=de.useState([]),Qn=(0,et.Z)(ua,2),$n=Qn[0],ur=Qn[1],da=function(yo){if(!(!Xt||pt)){var Go=gt(yo,Pa,Nr),Mo=Go.map(function(eo){var Qo=eo.option;return Qo}),Do=Mo[Mo.length-1];if(Do&&!ht(Do,Nr)){var gr=He(yo);ur(function(eo){return[].concat((0,b.Z)(eo),[gr])}),Xt(Mo)}}};de.useEffect(function(){$n.length&&$n.forEach(function(po){var yo=qe(po),Go=gt(yo,Pa,Nr,!0).map(function(Do){var gr=Do.option;return gr}),Mo=Go[Go.length-1];(!Mo||Mo[Nr.children]||ht(Mo,Nr))&&ur(function(Do){return Do.filter(function(gr){return gr!==po})})})},[Pa,$n,Nr]);var En=de.useMemo(function(){return new Set(he(Dn))},[Dn]),dr=de.useMemo(function(){return new Set(he(lr))},[lr]),Cr=ze(),Wr=(0,et.Z)(Cr,2),Ir=Wr[0],ha=Wr[1],Ha=function(yo){ha(yo),da(yo)},$a=function(yo){var Go=yo.disabled,Mo=ht(yo,Nr);return!Go&&(Mo||$r||Ft)},La=function(yo,Go){var Mo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Sr(yo),!Ft&&(Go||$r&&(Nn==="hover"||Mo))&&Sn(!1)},Or=de.useMemo(function(){return pt?$e:Pa},[pt,$e,Pa]),no=de.useMemo(function(){for(var po=[{options:Or}],yo=Or,Go=rt(yo,Nr),Mo=function(){var Qo=Ir[Do],Jo=yo.find(function(br,ri){return(Go[ri]?He(Go[ri]):br[Nr.value])===Qo}),Io=Jo==null?void 0:Jo[Nr.children];if(!(Io!=null&&Io.length))return"break";yo=Io,po.push({options:Io})},Do=0;Do<Ir.length;Do+=1){var gr=Mo();if(gr==="break")break}return po},[Or,Ir,Nr]),xr=function(yo,Go){$a(Go)&&La(yo,ht(Go,Nr),!0)};kt(Ot,Or,Nr,Ir,Ha,xr),de.useEffect(function(){for(var po=0;po<Ir.length;po+=1){var yo,Go=Ir.slice(0,po+1),Mo=He(Go),Do=(yo=pa.current)===null||yo===void 0?void 0:yo.querySelector('li[data-path-key="'.concat(Mo.replace(/\\{0,2}"/g,'\\"'),'"]'));Do&&Le(Do)}},[Ir]);var Er=!((_t=no[0])!==null&&_t!==void 0&&(Vt=_t.options)!==null&&Vt!==void 0&&Vt.length),Pr=[(Wt={},(0,z.Z)(Wt,Nr.value,"__EMPTY__"),(0,z.Z)(Wt,Zt,Wn),(0,z.Z)(Wt,"disabled",!0),Wt)],si=(0,ne.Z)((0,ne.Z)({},Ge),{},{multiple:!Er&&Ft,onSelect:La,onActive:Ha,onToggleOpen:Sn,checkedSet:En,halfCheckedSet:dr,loadingKeys:$n,isSelectable:$a}),ai=Er?[{options:Pr}]:no,Bi=ai.map(function(po,yo){var Go=Ir.slice(0,yo),Mo=Ir[yo];return de.createElement(wn,(0,st.Z)({key:yo},si,{searchValue:pt,prefixCls:Kn,options:po.options,prevValuePath:Go,activeValue:Mo}))});return de.createElement(on,{open:ka},de.createElement("div",{className:le()("".concat(Kn,"-menus"),(Rn={},(0,z.Z)(Rn,"".concat(Kn,"-menu-empty"),Er),(0,z.Z)(Rn,"".concat(Kn,"-rtl"),_n),Rn)),ref:pa},Bi))}),At=ft;function it(Ge){var Ot=Ge.onPopupVisibleChange,_t=Ge.popupVisible,Vt=Ge.popupClassName,Wt=Ge.popupPlacement;warning(!Ot,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(_t===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Vt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(Wt===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function nt(Ge,Ot){if(Ge){var _t=function Vt(Wt){for(var Rn=0;Rn<Wt.length;Rn++){var Bn=Wt[Rn];if(Bn[Ot==null?void 0:Ot.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(Bn[Ot==null?void 0:Ot.children])&&Vt(Bn[Ot==null?void 0:Ot.children]))return!0}};_t(Ge)}}var De=null,fe=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function Je(Ge){return Array.isArray(Ge)&&Array.isArray(Ge[0])}function It(Ge){return Ge?Je(Ge)?Ge:(Ge.length===0?[]:[Ge]).map(function(Ot){return Array.isArray(Ot)?Ot:[Ot]}):[]}var Oe=de.forwardRef(function(Ge,Ot){var _t=Ge.id,Vt=Ge.prefixCls,Wt=Vt===void 0?"rc-cascader":Vt,Rn=Ge.fieldNames,Bn=Ge.defaultValue,vt=Ge.value,Ft=Ge.changeOnSelect,pt=Ge.onChange,Sn=Ge.displayRender,Wn=Ge.checkable,An=Ge.autoClearSearchValue,ka=An===void 0?!0:An,pa=Ge.searchValue,_n=Ge.onSearch,Ea=Ge.showSearch,Pa=Ge.expandTrigger,Dn=Ge.options,lr=Ge.dropdownPrefixCls,Nr=Ge.loadData,$r=Ge.popupVisible,Sr=Ge.open,$e=Ge.popupClassName,bn=Ge.dropdownClassName,Xt=Ge.dropdownMenuColumnStyle,Nn=Ge.popupPlacement,Kn=Ge.placement,ua=Ge.onDropdownVisibleChange,Qn=Ge.onPopupVisibleChange,$n=Ge.expandIcon,ur=$n===void 0?">":$n,da=Ge.loadingIcon,En=Ge.children,dr=Ge.dropdownMatchSelectWidth,Cr=dr===void 0?!1:dr,Wr=Ge.showCheckedStrategy,Ir=Wr===void 0?We:Wr,ha=(0,Ve.Z)(Ge,fe),Ha=(0,Xe.ZP)(_t),$a=!!Wn,La=(0,E.Z)(Bn,{value:vt,postState:It}),Or=(0,et.Z)(La,2),no=Or[0],xr=Or[1],Er=de.useMemo(function(){return Ke(Rn)},[JSON.stringify(Rn)]),Pr=de.useMemo(function(){return Dn||[]},[Dn]),si=Nt(Pr,Er),ai=de.useCallback(function(Qa){var Ga=si();return Qa.map(function(Ya){var uo=Ga[Ya].nodes;return uo.map(function(we){return we[Er.value]})})},[si,Er]),Bi=(0,E.Z)("",{value:pa,postState:function(Ga){return Ga||""}}),po=(0,et.Z)(Bi,2),yo=po[0],Go=po[1],Mo=function(Ga,Ya){Go(Ga),Ya.source!=="blur"&&_n&&_n(Ga)},Do=Ue(Ea),gr=(0,et.Z)(Do,2),eo=gr[0],Qo=gr[1],Jo=ve(yo,Pr,Er,lr||Wt,Qo,Ft),Io=rn(Pr,Er),br=de.useMemo(function(){var Qa=Io(no),Ga=(0,et.Z)(Qa,2),Ya=Ga[0],uo=Ga[1];if(!$a||!no.length)return[Ya,[],uo];var we=he(Ya),vn=si(),Mn=(0,Ye.S)(we,!0,vn),Sa=Mn.checkedKeys,ln=Mn.halfCheckedKeys;return[ai(Sa),ai(ln),uo]},[$a,no,si,ai,Io]),ri=(0,et.Z)(br,3),zr=ri[0],ko=ri[1],co=ri[2],di=de.useMemo(function(){var Qa=he(zr),Ga=ut(Qa,si,Ir);return[].concat((0,b.Z)(co),(0,b.Z)(ai(Ga)))},[zr,si,ai,co,Ir]),hi=mt(di,Pr,Er,$a,Sn),Qi=(0,se.Z)(function(Qa){if(xr(Qa),pt){var Ga=It(Qa),Ya=Ga.map(function(vn){return gt(vn,Pr,Er).map(function(Mn){return Mn.option})}),uo=$a?Ga:Ga[0],we=$a?Ya:Ya[0];pt(uo,we)}}),tl=(0,se.Z)(function(Qa){if((!$a||ka)&&Go(""),!$a)Qi(Qa);else{var Ga=He(Qa),Ya=he(zr),uo=he(ko),we=Ya.includes(Ga),vn=co.some(function(za){return He(za)===Ga}),Mn=zr,Sa=co;if(vn&&!we)Sa=co.filter(function(za){return He(za)!==Ga});else{var ln=we?Ya.filter(function(za){return za!==Ga}):[].concat((0,b.Z)(Ya),[Ga]),Ma=si(),Fa;if(we){var jn=(0,Ye.S)(ln,{checked:!1,halfCheckedKeys:uo},Ma);Fa=jn.checkedKeys}else{var Xn=(0,Ye.S)(ln,!0,Ma);Fa=Xn.checkedKeys}var sr=ut(Fa,si,Ir);Mn=ai(sr)}Qi([].concat((0,b.Z)(Sa),(0,b.Z)(Mn)))}}),nl=function(Ga,Ya){if(Ya.type==="clear"){Qi([]);return}var uo=Ya.values[0],we=uo.valueCells;tl(we)},Vo=Sr!==void 0?Sr:$r,wi=bn||$e,Vi=Kn||Nn,dl=function(Ga){ua==null||ua(Ga),Qn==null||Qn(Ga)},ml=de.useMemo(function(){return{options:Pr,fieldNames:Er,values:zr,halfValues:ko,changeOnSelect:Ft,onSelect:tl,checkable:Wn,searchOptions:Jo,dropdownPrefixCls:lr,loadData:Nr,expandTrigger:Pa,expandIcon:ur,loadingIcon:da,dropdownMenuColumnStyle:Xt}},[Pr,Er,zr,ko,Ft,tl,Wn,Jo,lr,Nr,Pa,ur,da,Xt]),yl=!(yo?Jo:Pr).length,kr=yo&&Qo.matchInputWidth||yl?{}:{minWidth:"auto"};return de.createElement(x.Provider,{value:ml},de.createElement(je.Ac,(0,st.Z)({},ha,{ref:Ot,id:Ha,prefixCls:Wt,autoClearSearchValue:ka,dropdownMatchSelectWidth:Cr,dropdownStyle:kr,displayValues:hi,onDisplayValuesChange:nl,mode:$a?"multiple":void 0,searchValue:yo,onSearch:Mo,showSearch:eo,OptionList:At,emptyOptions:yl,open:Vo,dropdownClassName:wi,placement:Vi,onDropdownVisibleChange:dl,getRawInputElement:function(){return En}})))});Oe.SHOW_PARENT=We,Oe.SHOW_CHILD=Ae;var Ie=Oe,St=Ie,at=ee(2738),Me=ee(62892),yt=ee(53487),Fn=ee(19080),an=ee(36355),cn=ee(93891),sn=ee(1684),yn=ee(19716),Te=ee(32441),xt=ee(14154),Ht=ee(58582),Bt=ee(84443),Mt=ee(66339),dn=ee(33234),gn=ee(98447),Ln=ee(17313),Jn=ee(74207),va=ee(83116);const Da=Ge=>{const{prefixCls:Ot,componentCls:_t,antCls:Vt}=Ge,Wt=`${_t}-menu-item`,Rn=`
&${Wt}-expand ${Wt}-expand-icon,
${Wt}-loading-icon
`;return[{[_t]:{width:Ge.controlWidth}},{[`${_t}-dropdown`]:[(0,gn.C2)(`${Ot}-checkbox`,Ge),{[`&${Vt}-select-dropdown`]:{padding:0}},{[_t]:{"&-checkbox":{top:0,marginInlineEnd:Ge.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${_t}-menu-empty`]:{[`${_t}-menu`]:{width:"100%",height:"auto",[Wt]:{color:Ge.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Ge.controlItemWidth,height:Ge.dropdownHeight,margin:0,padding:Ge.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Ge.lineWidth}px ${Ge.lineType} ${Ge.colorSplit}`},"&-item":Object.assign(Object.assign({},Ln.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Ge.optionPadding,lineHeight:Ge.lineHeight,cursor:"pointer",transition:`all ${Ge.motionDurationMid}`,borderRadius:Ge.borderRadiusSM,"&:hover":{background:Ge.controlItemBgHover},"&-disabled":{color:Ge.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Rn]:{color:Ge.colorTextDisabled}},[`&-active:not(${Wt}-disabled)`]:{"&, &:hover":{fontWeight:Ge.optionSelectedFontWeight,backgroundColor:Ge.optionSelectedBg}},"&-content":{flex:"auto"},[Rn]:{marginInlineStart:Ge.paddingXXS,color:Ge.colorTextDescription,fontSize:Ge.fontSizeIcon},"&-keyword":{color:Ge.colorHighlight}})}}}]},{[`${_t}-dropdown-rtl`]:{direction:"rtl"}},(0,Jn.c)(Ge)]};var Na=(0,va.Z)("Cascader",Ge=>[Da(Ge)],Ge=>{const Ot=Math.round((Ge.controlHeight-Ge.fontSize*Ge.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Ge.controlItemBgActive,optionSelectedFontWeight:Ge.fontWeightStrong,optionPadding:`${Ot}px ${Ge.paddingSM}px`,menuPadding:Ge.paddingXXS}}),ar=function(Ge,Ot){var _t={};for(var Vt in Ge)Object.prototype.hasOwnProperty.call(Ge,Vt)&&Ot.indexOf(Vt)<0&&(_t[Vt]=Ge[Vt]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wt=0,Vt=Object.getOwnPropertySymbols(Ge);Wt<Vt.length;Wt++)Ot.indexOf(Vt[Wt])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Vt[Wt])&&(_t[Vt[Wt]]=Ge[Vt[Wt]]);return _t};const{SHOW_CHILD:Ua,SHOW_PARENT:fa}=St;function yr(Ge,Ot,_t){const Vt=Ge.toLowerCase().split(Ot).reduce((Bn,vt,Ft)=>Ft===0?[vt]:[].concat((0,b.Z)(Bn),[Ot,vt]),[]),Wt=[];let Rn=0;return Vt.forEach((Bn,vt)=>{const Ft=Rn+Bn.length;let pt=Ge.slice(Rn,Ft);Rn=Ft,vt%2===1&&(pt=de.createElement("span",{className:`${_t}-menu-item-keyword`,key:`separator-${vt}`},pt)),Wt.push(pt)}),Wt}const en=(Ge,Ot,_t,Vt)=>{const Wt=[],Rn=Ge.toLowerCase();return Ot.forEach((Bn,vt)=>{vt!==0&&Wt.push(" / ");let Ft=Bn[Vt.label];const pt=typeof Ft;(pt==="string"||pt==="number")&&(Ft=yr(String(Ft),Rn,_t)),Wt.push(Ft)}),Wt},On=de.forwardRef((Ge,Ot)=>{const{prefixCls:_t,size:Vt,disabled:Wt,className:Rn,rootClassName:Bn,multiple:vt,bordered:Ft=!0,transitionName:pt,choiceTransitionName:Sn="",popupClassName:Wn,dropdownClassName:An,expandIcon:ka,placement:pa,showSearch:_n,allowClear:Ea=!0,notFoundContent:Pa,direction:Dn,getPopupContainer:lr,status:Nr,showArrow:$r,builtinPlacements:Sr,style:$e}=Ge,bn=ar(Ge,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Xt=(0,at.Z)(bn,["suffixIcon"]),{getPopupContainer:Nn,getPrefixCls:Kn,renderEmpty:ua,direction:Qn,popupOverflow:$n,cascader:ur}=de.useContext(an.E_),da=Dn||Qn,En=da==="rtl",{status:dr,hasFeedback:Cr,isFormItemInput:Wr,feedbackIcon:Ir}=de.useContext(Te.aM),ha=(0,Fn.F)(dr,Nr),Ha=Pa||(ua==null?void 0:ua("Cascader"))||de.createElement(cn.Z,{componentName:"Cascader"}),$a=Kn(),La=Kn("select",_t),Or=Kn("cascader",_t),[no,xr]=(0,xt.Z)(La),[Er]=Na(Or),{compactSize:Pr,compactItemClassnames:si}=(0,dn.ri)(La,Dn),ai=le()(Wn||An,`${Or}-dropdown`,{[`${Or}-dropdown-rtl`]:da==="rtl"},Bn,xr),Bi=de.useMemo(()=>{if(!_n)return _n;let co={render:en};return typeof _n=="object"&&(co=Object.assign(Object.assign({},co),_n)),co},[_n]),po=(0,yn.Z)(co=>{var di;return(di=Vt!=null?Vt:Pr)!==null&&di!==void 0?di:co}),yo=de.useContext(sn.Z),Go=Wt!=null?Wt:yo;let Mo=ka;ka||(Mo=En?de.createElement(Be.Z,null):de.createElement(Ze.Z,null));const Do=de.createElement("span",{className:`${La}-menu-item-loading-icon`},de.createElement(Ne.Z,{spin:!0})),gr=de.useMemo(()=>vt?de.createElement("span",{className:`${Or}-checkbox-inner`}):!1,[vt]),eo=(0,Bt.Z)(Ge.suffixIcon,$r),{suffixIcon:Qo,removeIcon:Jo,clearIcon:Io}=(0,Mt.Z)(Object.assign(Object.assign({},Ge),{hasFeedback:Cr,feedbackIcon:Ir,showSuffixIcon:eo,multiple:vt,prefixCls:La,componentName:"Cascader"})),br=de.useMemo(()=>pa!==void 0?pa:En?"bottomRight":"bottomLeft",[pa,En]),ri=(0,Ht.Z)(Sr,$n),zr=Ea===!0?{clearIcon:Io}:Ea,ko=de.createElement(St,Object.assign({prefixCls:La,className:le()(!_t&&Or,{[`${La}-lg`]:po==="large",[`${La}-sm`]:po==="small",[`${La}-rtl`]:En,[`${La}-borderless`]:!Ft,[`${La}-in-form-item`]:Wr},(0,Fn.Z)(La,ha,Cr),si,ur==null?void 0:ur.className,Rn,Bn,xr),disabled:Go,style:Object.assign(Object.assign({},ur==null?void 0:ur.style),$e)},Xt,{builtinPlacements:ri,direction:da,placement:br,notFoundContent:Ha,allowClear:zr,showSearch:Bi,expandIcon:Mo,suffixIcon:Qo,removeIcon:Jo,loadingIcon:Do,checkable:gr,dropdownClassName:ai,dropdownPrefixCls:_t||Or,choiceTransitionName:(0,Me.m)($a,"",Sn),transitionName:(0,Me.m)($a,"slide-up",pt),getPopupContainer:lr||Nn,ref:Ot}));return Er(no(ko))}),la=(0,yt.Z)(On);On.SHOW_PARENT=fa,On.SHOW_CHILD=Ua,On._InternalPanelDoNotUseOrYouWillBeFired=la;var xa=On},24905:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return ve}});var b=ee(92310),de=ee.n(b),Be=ee(5630),Ne=ee(59301),Ze=ee(36355),ke=ee(1684),le=ee(32441),et=Ne.createContext(null),Ve=ee(98447),je=ee(14088),Xe=ee(4572),Ye=function(be,We){var Ae={};for(var He in be)Object.prototype.hasOwnProperty.call(be,He)&&We.indexOf(He)<0&&(Ae[He]=be[He]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,He=Object.getOwnPropertySymbols(be);he<He.length;he++)We.indexOf(He[he])<0&&Object.prototype.propertyIsEnumerable.call(be,He[he])&&(Ae[He[he]]=be[He[he]]);return Ae};const se=(be,We)=>{var Ae;const{prefixCls:He,className:he,rootClassName:qe,children:Ke,indeterminate:ht=!1,style:Le,onMouseEnter:rt,onMouseLeave:ut,skipGroup:gt=!1,disabled:mt}=be,un=Ye(be,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Nt,direction:rn,checkbox:nn}=Ne.useContext(Ze.E_),Ue=Ne.useContext(et),{isFormItemInput:dt}=Ne.useContext(le.aM),on=Ne.useContext(ke.Z),Vn=(Ae=(Ue==null?void 0:Ue.disabled)||mt)!==null&&Ae!==void 0?Ae:on,Zt=Ne.useRef(un.value);Ne.useEffect(()=>{Ue==null||Ue.registerValue(un.value)},[]),Ne.useEffect(()=>{if(!gt)return un.value!==Zt.current&&(Ue==null||Ue.cancelValue(Zt.current),Ue==null||Ue.registerValue(un.value),Zt.current=un.value),()=>Ue==null?void 0:Ue.cancelValue(un.value)},[un.value]);const wn=Nt("checkbox",He),[ze,ct]=(0,Ve.ZP)(wn),kt=Object.assign({},un);Ue&&!gt&&(kt.onChange=function(){un.onChange&&un.onChange.apply(un,arguments),Ue.toggleOption&&Ue.toggleOption({label:Ke,value:un.value})},kt.name=Ue.name,kt.checked=Ue.value.includes(un.value));const ft=de()(`${wn}-wrapper`,{[`${wn}-rtl`]:rn==="rtl",[`${wn}-wrapper-checked`]:kt.checked,[`${wn}-wrapper-disabled`]:Vn,[`${wn}-wrapper-in-form-item`]:dt},nn==null?void 0:nn.className,he,qe,ct),At=de()({[`${wn}-indeterminate`]:ht},Xe.A,ct),it=ht?"mixed":void 0;return ze(Ne.createElement(je.Z,{component:"Checkbox",disabled:Vn},Ne.createElement("label",{className:ft,style:Object.assign(Object.assign({},nn==null?void 0:nn.style),Le),onMouseEnter:rt,onMouseLeave:ut},Ne.createElement(Be.Z,Object.assign({"aria-checked":it},kt,{prefixCls:wn,className:At,disabled:Vn,ref:We})),Ke!==void 0&&Ne.createElement("span",null,Ke))))};var a=Ne.forwardRef(se),x=ee(95190),y=ee(2738),z=function(be,We){var Ae={};for(var He in be)Object.prototype.hasOwnProperty.call(be,He)&&We.indexOf(He)<0&&(Ae[He]=be[He]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,He=Object.getOwnPropertySymbols(be);he<He.length;he++)We.indexOf(He[he])<0&&Object.prototype.propertyIsEnumerable.call(be,He[he])&&(Ae[He[he]]=be[He[he]]);return Ae};const ne=(be,We)=>{const{defaultValue:Ae,children:He,options:he=[],prefixCls:qe,className:Ke,rootClassName:ht,style:Le,onChange:rt}=be,ut=z(be,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:gt,direction:mt}=Ne.useContext(Ze.E_),[un,Nt]=Ne.useState(ut.value||Ae||[]),[rn,nn]=Ne.useState([]);Ne.useEffect(()=>{"value"in ut&&Nt(ut.value||[])},[ut.value]);const Ue=Ne.useMemo(()=>he.map(nt=>typeof nt=="string"||typeof nt=="number"?{label:nt,value:nt}:nt),[he]),dt=nt=>{nn(De=>De.filter(fe=>fe!==nt))},on=nt=>{nn(De=>[].concat((0,x.Z)(De),[nt]))},Vn=nt=>{const De=un.indexOf(nt.value),fe=(0,x.Z)(un);De===-1?fe.push(nt.value):fe.splice(De,1),"value"in ut||Nt(fe),rt==null||rt(fe.filter(Je=>rn.includes(Je)).sort((Je,It)=>{const Oe=Ue.findIndex(St=>St.value===Je),Ie=Ue.findIndex(St=>St.value===It);return Oe-Ie}))},Zt=gt("checkbox",qe),wn=`${Zt}-group`,[ze,ct]=(0,Ve.ZP)(Zt),kt=(0,y.Z)(ut,["value","disabled"]),ft=he.length?Ue.map(nt=>Ne.createElement(a,{prefixCls:Zt,key:nt.value.toString(),disabled:"disabled"in nt?nt.disabled:ut.disabled,value:nt.value,checked:un.includes(nt.value),onChange:nt.onChange,className:`${wn}-item`,style:nt.style,title:nt.title},nt.label)):He,At={toggleOption:Vn,value:un,disabled:ut.disabled,name:ut.name,registerValue:on,cancelValue:dt},it=de()(wn,{[`${wn}-rtl`]:mt==="rtl"},Ke,ht,ct);return ze(Ne.createElement("div",Object.assign({className:it,style:Le},kt,{ref:We}),Ne.createElement(et.Provider,{value:At},ft)))},re=Ne.forwardRef(ne);var ue=Ne.memo(re);const oe=a;oe.Group=ue,oe.__ANT_CHECKBOX=!0;var ve=oe},98447:function(Qt,Gt,ee){"use strict";ee.d(Gt,{C2:function(){return Ze}});var b=ee(17313),de=ee(37613),Be=ee(83116);const Ne=ke=>{const{checkboxCls:le}=ke,st=`${le}-wrapper`;return[{[`${le}-group`]:Object.assign(Object.assign({},(0,b.Wf)(ke)),{display:"inline-flex",flexWrap:"wrap",columnGap:ke.marginXS,[`> ${ke.antCls}-row`]:{flex:1}}),[st]:Object.assign(Object.assign({},(0,b.Wf)(ke)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${st}`]:{marginInlineStart:0},[`&${st}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[le]:Object.assign(Object.assign({},(0,b.Wf)(ke)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ke.borderRadiusSM,alignSelf:"center",[`${le}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${le}-inner`]:Object.assign({},(0,b.oN)(ke))},[`${le}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ke.checkboxSize,height:ke.checkboxSize,direction:"ltr",backgroundColor:ke.colorBgContainer,border:`${ke.lineWidth}px ${ke.lineType} ${ke.colorBorder}`,borderRadius:ke.borderRadiusSM,borderCollapse:"separate",transition:`all ${ke.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ke.checkboxSize/14*5,height:ke.checkboxSize/14*8,border:`${ke.lineWidthBold}px solid ${ke.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ke.motionDurationFast} ${ke.motionEaseInBack}, opacity ${ke.motionDurationFast}`}},"& + span":{paddingInlineStart:ke.paddingXS,paddingInlineEnd:ke.paddingXS}})},{[`
${st}:not(${st}-disabled),
${le}:not(${le}-disabled)
`]:{[`&:hover ${le}-inner`]:{borderColor:ke.colorPrimary}},[`${st}:not(${st}-disabled)`]:{[`&:hover ${le}-checked:not(${le}-disabled) ${le}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${le}-checked:not(${le}-disabled):after`]:{borderColor:ke.colorPrimaryHover}}},{[`${le}-checked`]:{[`${le}-inner`]:{backgroundColor:ke.colorPrimary,borderColor:ke.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ke.motionDurationMid} ${ke.motionEaseOutBack} ${ke.motionDurationFast}`}}},[`
${st}-checked:not(${st}-disabled),
${le}-checked:not(${le}-disabled)
`]:{[`&:hover ${le}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"}}},{[le]:{"&-indeterminate":{[`${le}-inner`]:{backgroundColor:ke.colorBgContainer,borderColor:ke.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ke.fontSizeLG/2,height:ke.fontSizeLG/2,backgroundColor:ke.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${st}-disabled`]:{cursor:"not-allowed"},[`${le}-disabled`]:{[`&, ${le}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${le}-inner`]:{background:ke.colorBgContainerDisabled,borderColor:ke.colorBorder,"&:after":{borderColor:ke.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ke.colorTextDisabled},[`&${le}-indeterminate ${le}-inner::after`]:{background:ke.colorTextDisabled}}}]};function Ze(ke,le){const st=(0,de.TS)(le,{checkboxCls:`.${ke}`,checkboxSize:le.controlInteractiveSize});return[Ne(st)]}Gt.ZP=(0,Be.Z)("Checkbox",(ke,le)=>{let{prefixCls:st}=le;return[Ze(st,ke)]})},36381:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return kt}});var b=ee(38819),de=ee(92310),Be=ee.n(de),Ne=ee(14809),Ze=ee(95190),ke=ee(50298),le=ee(93664),st=ee(18929),et=ee(48736),Ve=ee(59301),je=ee(62646),Xe=ee(11592),Ye=ee(4635),se=ee(77900),E=ee(10228),a=Ve.forwardRef(function(ft,At){var it=ft.prefixCls,nt=ft.forceRender,De=ft.className,fe=ft.style,Je=ft.children,It=ft.isActive,Oe=ft.role,Ie=Ve.useState(It||nt),St=(0,ke.Z)(Ie,2),at=St[0],Me=St[1];return Ve.useEffect(function(){(nt||It)&&Me(!0)},[nt,It]),at?Ve.createElement("div",{ref:At,className:Be()("".concat(it,"-content"),(0,Ye.Z)((0,Ye.Z)({},"".concat(it,"-content-active"),It),"".concat(it,"-content-inactive"),!It),De),style:fe,role:Oe},Ve.createElement("div",{className:"".concat(it,"-content-box")},Je)):null});a.displayName="PanelContent";var x=a,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=Ve.forwardRef(function(ft,At){var it=ft.showArrow,nt=it===void 0?!0:it,De=ft.headerClass,fe=ft.isActive,Je=ft.onItemClick,It=ft.forceRender,Oe=ft.className,Ie=ft.prefixCls,St=ft.collapsible,at=ft.accordion,Me=ft.panelKey,yt=ft.extra,Fn=ft.header,an=ft.expandIcon,cn=ft.openMotion,sn=ft.destroyInactivePanel,yn=ft.children,Te=(0,je.Z)(ft,y),xt=St==="disabled",Ht=St==="header",Bt=St==="icon",Mt=yt!=null&&typeof yt!="boolean",dn=function(){Je==null||Je(Me)},gn=function(ar){(ar.key==="Enter"||ar.keyCode===E.Z.ENTER||ar.which===E.Z.ENTER)&&dn()},Ln=typeof an=="function"?an(ft):Ve.createElement("i",{className:"arrow"});Ln&&(Ln=Ve.createElement("div",{className:"".concat(Ie,"-expand-icon"),onClick:["header","icon"].includes(St)?dn:void 0},Ln));var Jn=Be()((0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},"".concat(Ie,"-item"),!0),"".concat(Ie,"-item-active"),fe),"".concat(Ie,"-item-disabled"),xt),Oe),va=Be()(De,(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},"".concat(Ie,"-header"),!0),"".concat(Ie,"-header-collapsible-only"),Ht),"".concat(Ie,"-icon-collapsible-only"),Bt)),Da={className:va,"aria-expanded":fe,"aria-disabled":xt,onKeyDown:gn};return!Ht&&!Bt&&(Da.onClick=dn,Da.role=at?"tab":"button",Da.tabIndex=xt?-1:0),Ve.createElement("div",(0,Ne.Z)({},Te,{ref:At,className:Jn}),Ve.createElement("div",Da,nt&&Ln,Ve.createElement("span",{className:"".concat(Ie,"-header-text"),onClick:St==="header"?dn:void 0},Fn),Mt&&Ve.createElement("div",{className:"".concat(Ie,"-extra")},yt)),Ve.createElement(se.default,(0,Ne.Z)({visible:fe,leavedClassName:"".concat(Ie,"-content-hidden")},cn,{forceRender:It,removeOnLeave:sn}),function(Na,ar){var Ua=Na.className,fa=Na.style;return Ve.createElement(x,{ref:ar,prefixCls:Ie,className:Ua,style:fa,isActive:fe,forceRender:It,role:at?"tabpanel":void 0},yn)}))}),ne=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ue=function(At,it){var nt=it.prefixCls,De=it.accordion,fe=it.collapsible,Je=it.destroyInactivePanel,It=it.onItemClick,Oe=it.activeKey,Ie=it.openMotion,St=it.expandIcon;return At.map(function(at,Me){var yt=at.children,Fn=at.label,an=at.key,cn=at.collapsible,sn=at.onItemClick,yn=at.destroyInactivePanel,Te=(0,je.Z)(at,re),xt=String(an!=null?an:Me),Ht=cn!=null?cn:fe,Bt=yn!=null?yn:Je,Mt=function(Ln){Ht!=="disabled"&&(It(Ln),sn==null||sn(Ln))},dn=!1;return De?dn=Oe[0]===xt:dn=Oe.indexOf(xt)>-1,Ve.createElement(ne,(0,Ne.Z)({},Te,{prefixCls:nt,key:xt,panelKey:xt,isActive:dn,accordion:De,openMotion:Ie,expandIcon:St,header:Fn,collapsible:Ht,onItemClick:Mt,destroyInactivePanel:Bt}),yt)})},oe=function(At,it,nt){if(!At)return null;var De=nt.prefixCls,fe=nt.accordion,Je=nt.collapsible,It=nt.destroyInactivePanel,Oe=nt.onItemClick,Ie=nt.activeKey,St=nt.openMotion,at=nt.expandIcon,Me=At.key||String(it),yt=At.props,Fn=yt.header,an=yt.headerClass,cn=yt.destroyInactivePanel,sn=yt.collapsible,yn=yt.onItemClick,Te=!1;fe?Te=Ie[0]===Me:Te=Ie.indexOf(Me)>-1;var xt=sn!=null?sn:Je,Ht=function(dn){xt!=="disabled"&&(Oe(dn),yn==null||yn(dn))},Bt={key:Me,panelKey:Me,header:Fn,headerClass:an,isActive:Te,prefixCls:De,destroyInactivePanel:cn!=null?cn:It,openMotion:St,accordion:fe,children:At.props.children,onItemClick:Ht,expandIcon:at,collapsible:xt};return typeof At.type=="string"?At:(Object.keys(Bt).forEach(function(Mt){typeof Bt[Mt]=="undefined"&&delete Bt[Mt]}),Ve.cloneElement(At,Bt))};function ve(ft,At,it){return Array.isArray(ft)?ue(ft,it):(0,Xe.Z)(At).map(function(nt,De){return oe(nt,De,it)})}var be=ve,We=ee(26112);function Ae(ft){var At=ft;if(!Array.isArray(At)){var it=(0,le.Z)(At);At=it==="number"||it==="string"?[At]:[]}return At.map(function(nt){return String(nt)})}var He=Ve.forwardRef(function(ft,At){var it=ft.prefixCls,nt=it===void 0?"rc-collapse":it,De=ft.destroyInactivePanel,fe=De===void 0?!1:De,Je=ft.style,It=ft.accordion,Oe=ft.className,Ie=ft.children,St=ft.collapsible,at=ft.openMotion,Me=ft.expandIcon,yt=ft.activeKey,Fn=ft.defaultActiveKey,an=ft.onChange,cn=ft.items,sn=Be()(nt,Oe),yn=(0,st.Z)([],{value:yt,onChange:function(gn){return an==null?void 0:an(gn)},defaultValue:Fn,postState:Ae}),Te=(0,ke.Z)(yn,2),xt=Te[0],Ht=Te[1],Bt=function(gn){return Ht(function(){if(It)return xt[0]===gn?[]:[gn];var Ln=xt.indexOf(gn),Jn=Ln>-1;return Jn?xt.filter(function(va){return va!==gn}):[].concat((0,Ze.Z)(xt),[gn])})};(0,et.ZP)(!Ie,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Mt=be(cn,Ie,{prefixCls:nt,accordion:It,openMotion:at,expandIcon:Me,collapsible:St,destroyInactivePanel:fe,onItemClick:Bt,activeKey:xt});return Ve.createElement("div",(0,Ne.Z)({ref:At,className:sn,style:Je,role:It?"tablist":void 0},(0,We.Z)(ft,{aria:!0,data:!0})),Mt)}),he=Object.assign(He,{Panel:ne}),qe=he,Ke=he.Panel,ht=ee(2738),Le=ee(62892),rt=ee(92343),ut=ee(36355),gt=ee(19716),un=Ve.forwardRef((ft,At)=>{const{getPrefixCls:it}=Ve.useContext(ut.E_),{prefixCls:nt,className:De,showArrow:fe=!0}=ft,Je=it("collapse",nt),It=Be()({[`${Je}-no-arrow`]:!fe},De);return Ve.createElement(qe.Panel,Object.assign({ref:At},ft,{prefixCls:Je,className:It}))}),Nt=ee(17313),rn=ee(8378),nn=ee(83116),Ue=ee(37613);const dt=ft=>{const{componentCls:At,contentBg:it,padding:nt,headerBg:De,headerPadding:fe,collapseHeaderPaddingSM:Je,collapseHeaderPaddingLG:It,collapsePanelBorderRadius:Oe,lineWidth:Ie,lineType:St,colorBorder:at,colorText:Me,colorTextHeading:yt,colorTextDisabled:Fn,fontSize:an,fontSizeLG:cn,lineHeight:sn,marginSM:yn,paddingSM:Te,paddingLG:xt,paddingXS:Ht,motionDurationSlow:Bt,fontSizeIcon:Mt,contentPadding:dn}=ft,gn=`${Ie}px ${St} ${at}`;return{[At]:Object.assign(Object.assign({},(0,Nt.Wf)(ft)),{backgroundColor:De,border:gn,borderBottom:0,borderRadius:`${Oe}px`,"&-rtl":{direction:"rtl"},[`& > ${At}-item`]:{borderBottom:gn,"&:last-child":{[`
&,
& > ${At}-header`]:{borderRadius:`0 0 ${Oe}px ${Oe}px`}},[`> ${At}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:fe,color:yt,lineHeight:sn,cursor:"pointer",transition:`all ${Bt}, visibility 0s`,[`> ${At}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${At}-expand-icon`]:{height:an*sn,display:"flex",alignItems:"center",paddingInlineEnd:yn},[`${At}-arrow`]:Object.assign(Object.assign({},(0,Nt.Ro)()),{fontSize:Mt,svg:{transition:`transform ${Bt}`}}),[`${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:Me,backgroundColor:it,borderTop:gn,[`& > ${At}-content-box`]:{padding:dn},"&-hidden":{display:"none"}},"&-small":{[`> ${At}-item`]:{[`> ${At}-header`]:{padding:Je,paddingInlineStart:Ht,[`> ${At}-expand-icon`]:{marginInlineStart:Te-Ht}},[`> ${At}-content > ${At}-content-box`]:{padding:Te}}},"&-large":{[`> ${At}-item`]:{fontSize:cn,[`> ${At}-header`]:{padding:It,paddingInlineStart:nt,[`> ${At}-expand-icon`]:{height:cn*sn,marginInlineStart:xt-nt}},[`> ${At}-content > ${At}-content-box`]:{padding:xt}}},[`${At}-item:last-child`]:{[`> ${At}-content`]:{borderRadius:`0 0 ${Oe}px ${Oe}px`}},[`& ${At}-item-disabled > ${At}-header`]:{"\n &,\n & > .arrow\n ":{color:Fn,cursor:"not-allowed"}},[`&${At}-icon-position-end`]:{[`& > ${At}-item`]:{[`> ${At}-header`]:{[`${At}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:yn}}}}})}},on=ft=>{const{componentCls:At}=ft,it=`> ${At}-item > ${At}-header ${At}-arrow svg`;return{[`${At}-rtl`]:{[it]:{transform:"rotate(180deg)"}}}},Vn=ft=>{const{componentCls:At,headerBg:it,paddingXXS:nt,colorBorder:De}=ft;return{[`${At}-borderless`]:{backgroundColor:it,border:0,[`> ${At}-item`]:{borderBottom:`1px solid ${De}`},[`
> ${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:nt}}}},Zt=ft=>{const{componentCls:At,paddingSM:it}=ft;return{[`${At}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${At}-item`]:{borderBottom:0,[`> ${At}-content`]:{backgroundColor:"transparent",border:0,[`> ${At}-content-box`]:{paddingBlock:it}}}}}};var wn=(0,nn.Z)("Collapse",ft=>{const At=(0,Ue.TS)(ft,{collapseHeaderPaddingSM:`${ft.paddingXS}px ${ft.paddingSM}px`,collapseHeaderPaddingLG:`${ft.padding}px ${ft.paddingLG}px`,collapsePanelBorderRadius:ft.borderRadiusLG});return[dt(At),Vn(At),Zt(At),on(At),(0,rn.Z)(At)]},ft=>({headerPadding:`${ft.paddingSM}px ${ft.padding}px`,headerBg:ft.colorFillAlter,contentPadding:`${ft.padding}px 16px`,contentBg:ft.colorBgContainer})),ct=Object.assign(Ve.forwardRef((ft,At)=>{const{getPrefixCls:it,direction:nt,collapse:De}=Ve.useContext(ut.E_),{prefixCls:fe,className:Je,rootClassName:It,style:Oe,bordered:Ie=!0,ghost:St,size:at,expandIconPosition:Me="start",children:yt,expandIcon:Fn}=ft,an=(0,gt.Z)(gn=>{var Ln;return(Ln=at!=null?at:gn)!==null&&Ln!==void 0?Ln:"middle"}),cn=it("collapse",fe),sn=it(),[yn,Te]=wn(cn),xt=Ve.useMemo(()=>Me==="left"?"start":Me==="right"?"end":Me,[Me]),Ht=function(){let gn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Ln=Fn?Fn(gn):Ve.createElement(b.Z,{rotate:gn.isActive?90:void 0});return(0,rt.Tm)(Ln,()=>({className:Be()(Ln.props.className,`${cn}-arrow`)}))},Bt=Be()(`${cn}-icon-position-${xt}`,{[`${cn}-borderless`]:!Ie,[`${cn}-rtl`]:nt==="rtl",[`${cn}-ghost`]:!!St,[`${cn}-${an}`]:an!=="middle"},De==null?void 0:De.className,Je,It,Te),Mt=Object.assign(Object.assign({},(0,Le.Z)(sn)),{motionAppear:!1,leavedClassName:`${cn}-content-hidden`}),dn=Ve.useMemo(()=>yt?(0,Xe.Z)(yt).map((gn,Ln)=>{var Jn,va;if(!((Jn=gn.props)===null||Jn===void 0)&&Jn.disabled){const Da=(va=gn.key)!==null&&va!==void 0?va:String(Ln),{disabled:Na,collapsible:ar}=gn.props,Ua=Object.assign(Object.assign({},(0,ht.Z)(gn.props,["disabled"])),{key:Da,collapsible:ar!=null?ar:Na?"disabled":void 0});return(0,rt.Tm)(gn,Ua)}return gn}):null,[yt]);return yn(Ve.createElement(qe,Object.assign({ref:At,openMotion:Mt},(0,ht.Z)(ft,["rootClassName"]),{expandIcon:Ht,prefixCls:cn,className:Bt,style:Object.assign(Object.assign({},De==null?void 0:De.style),Oe)}),dn))}),{Panel:un}),kt=ct},5083:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return Wu}});var b=ee(61186),de=ee.n(b),Be=ee(48736),Ne=ee(90111),Ze=ee.n(Ne),ke=ee(58319),le=ee.n(ke),st=ee(23250),et=ee.n(st),Ve=ee(74959),je=ee.n(Ve),Xe=ee(10238),Ye=ee.n(Xe),se=ee(33656),E=ee.n(se);de().extend(E()),de().extend(Ye()),de().extend(Ze()),de().extend(le()),de().extend(et()),de().extend(je()),de().extend(function(me,Se){var ye=Se.prototype,tt=ye.format;ye.format=function(qt){var Kt=(qt||"").replace("Wo","wo");return tt.bind(this)(Kt)}});var a={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},x=function(Se){var ye=a[Se];return ye||Se.split("_")[0]},y=function(){(0,Be.ET)(!1,"Not match any format. Please help to fire a issue about this.")},z={getNow:function(){return de()()},getFixedDate:function(Se){return de()(Se,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(Se){return Se.endOf("month")},getWeekDay:function(Se){var ye=Se.locale("en");return ye.weekday()+ye.localeData().firstDayOfWeek()},getYear:function(Se){return Se.year()},getMonth:function(Se){return Se.month()},getDate:function(Se){return Se.date()},getHour:function(Se){return Se.hour()},getMinute:function(Se){return Se.minute()},getSecond:function(Se){return Se.second()},addYear:function(Se,ye){return Se.add(ye,"year")},addMonth:function(Se,ye){return Se.add(ye,"month")},addDate:function(Se,ye){return Se.add(ye,"day")},setYear:function(Se,ye){return Se.year(ye)},setMonth:function(Se,ye){return Se.month(ye)},setDate:function(Se,ye){return Se.date(ye)},setHour:function(Se,ye){return Se.hour(ye)},setMinute:function(Se,ye){return Se.minute(ye)},setSecond:function(Se,ye){return Se.second(ye)},isAfter:function(Se,ye){return Se.isAfter(ye)},isValidate:function(Se){return Se.isValid()},locale:{getWeekFirstDay:function(Se){return de()().locale(x(Se)).localeData().firstDayOfWeek()},getWeekFirstDate:function(Se,ye){return ye.locale(x(Se)).weekday(0)},getWeek:function(Se,ye){return ye.locale(x(Se)).week()},getShortWeekDays:function(Se){return de()().locale(x(Se)).localeData().weekdaysMin()},getShortMonths:function(Se){return de()().locale(x(Se)).localeData().monthsShort()},format:function(Se,ye,tt){return ye.locale(x(Se)).format(tt)},parse:function(Se,ye,tt){for(var lt=x(Se),qt=0;qt<tt.length;qt+=1){var Kt=tt[qt],Zn=ye;if(Kt.includes("wo")||Kt.includes("Wo")){for(var Tn=Zn.split("-")[0],ra=Zn.split("-")[1],Ca=de()(Tn,"YYYY").startOf("year").locale(lt),ga=0;ga<=52;ga+=1){var fn=Ca.add(ga,"week");if(fn.format("Wo")===ra)return fn}return y(),null}var Ba=de()(Zn,Kt,!0).locale(lt);if(Ba.isValid())return Ba}return ye&&y(),null}}},ne=z,re=ee(53487),ue=ee(14809),oe=ee(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},be=ve,We=ee(7657),Ae=function(Se,ye){return oe.createElement(We.Z,(0,ue.Z)({},Se,{ref:ye,icon:be}))},He=oe.forwardRef(Ae),he=He,qe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},Ke=qe,ht=function(Se,ye){return oe.createElement(We.Z,(0,ue.Z)({},Se,{ref:ye,icon:Ke}))},Le=oe.forwardRef(ht),rt=Le,ut=ee(19248),gt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},mt=gt,un=function(Se,ye){return oe.createElement(We.Z,(0,ue.Z)({},Se,{ref:ye,icon:mt}))},Nt=oe.forwardRef(un),rn=Nt,nn=ee(92310),Ue=ee.n(nn),dt=ee(99153),on=ee(84851),Vn=ee(13028),Zt=ee(19257),wn=ee(93046),ze=ee(4635),ct=ee(20439),kt=ee(50298),ft=ee(18929),At=ee(26112),it=ee(80547),nt=ee(13697),De=10,fe=De*10,Je=7;function It(me,Se){if(!me&&!Se)return!0;if(!me||!Se)return!1}function Oe(me,Se,ye){var tt=It(Se,ye);if(typeof tt=="boolean")return tt;var lt=Math.floor(me.getYear(Se)/10),qt=Math.floor(me.getYear(ye)/10);return lt===qt}function Ie(me,Se,ye){var tt=It(Se,ye);return typeof tt=="boolean"?tt:me.getYear(Se)===me.getYear(ye)}function St(me,Se){var ye=Math.floor(me.getMonth(Se)/3);return ye+1}function at(me,Se,ye){var tt=It(Se,ye);return typeof tt=="boolean"?tt:Ie(me,Se,ye)&&St(me,Se)===St(me,ye)}function Me(me,Se,ye){var tt=It(Se,ye);return typeof tt=="boolean"?tt:Ie(me,Se,ye)&&me.getMonth(Se)===me.getMonth(ye)}function yt(me,Se,ye){var tt=It(Se,ye);return typeof tt=="boolean"?tt:me.getYear(Se)===me.getYear(ye)&&me.getMonth(Se)===me.getMonth(ye)&&me.getDate(Se)===me.getDate(ye)}function Fn(me,Se,ye){var tt=It(Se,ye);return typeof tt=="boolean"?tt:me.getHour(Se)===me.getHour(ye)&&me.getMinute(Se)===me.getMinute(ye)&&me.getSecond(Se)===me.getSecond(ye)}function an(me,Se,ye,tt){var lt=It(ye,tt);return typeof lt=="boolean"?lt:Ie(me,ye,tt)&&me.locale.getWeek(Se,ye)===me.locale.getWeek(Se,tt)}function cn(me,Se,ye){return yt(me,Se,ye)&&Fn(me,Se,ye)}function sn(me,Se,ye,tt){return!Se||!ye||!tt?!1:!yt(me,Se,tt)&&!yt(me,ye,tt)&&me.isAfter(tt,Se)&&me.isAfter(ye,tt)}function yn(me,Se,ye){var tt=Se.locale.getWeekFirstDay(me),lt=Se.setDate(ye,1),qt=Se.getWeekDay(lt),Kt=Se.addDate(lt,tt-qt);return Se.getMonth(Kt)===Se.getMonth(ye)&&Se.getDate(Kt)>1&&(Kt=Se.addDate(Kt,-7)),Kt}function Te(me,Se,ye){var tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Se){case"year":return ye.addYear(me,tt*10);case"quarter":case"month":return ye.addYear(me,tt);default:return ye.addMonth(me,tt)}}function xt(me,Se){var ye=Se.generateConfig,tt=Se.locale,lt=Se.format;return typeof lt=="function"?lt(me):ye.locale.format(tt.locale,me,lt)}function Ht(me,Se){var ye=Se.generateConfig,tt=Se.locale,lt=Se.formatList;return!me||typeof lt[0]=="function"?null:ye.locale.parse(tt.locale,me,lt)}function Bt(me){var Se=me.cellDate,ye=me.mode,tt=me.disabledDate,lt=me.generateConfig;if(!tt)return!1;var qt=function(Ia,kn,sa){for(var Oa=kn;Oa<=sa;){var Fr=void 0;switch(Ia){case"date":{if(Fr=lt.setDate(Se,Oa),!tt(Fr))return!1;break}case"month":{if(Fr=lt.setMonth(Se,Oa),!Bt({cellDate:Fr,mode:"month",generateConfig:lt,disabledDate:tt}))return!1;break}case"year":{if(Fr=lt.setYear(Se,Oa),!Bt({cellDate:Fr,mode:"year",generateConfig:lt,disabledDate:tt}))return!1;break}}Oa+=1}return!0};switch(ye){case"date":case"week":return tt(Se);case"month":{var Kt=1,Zn=lt.getDate(lt.getEndDate(Se));return qt("date",Kt,Zn)}case"quarter":{var Tn=Math.floor(lt.getMonth(Se)/3)*3,ra=Tn+2;return qt("month",Tn,ra)}case"year":return qt("month",0,11);case"decade":{var Ca=lt.getYear(Se),ga=Math.floor(Ca/De)*De,fn=ga+De-1;return qt("year",ga,fn)}}}function Mt(me,Se){var ye=Se.formatList,tt=Se.generateConfig,lt=Se.locale;return(0,it.Z)(function(){if(!me)return[[""],""];for(var qt="",Kt=[],Zn=0;Zn<ye.length;Zn+=1){var Tn=ye[Zn],ra=xt(me,{generateConfig:tt,locale:lt,format:Tn});Kt.push(ra),Zn===0&&(qt=ra)}return[Kt,qt]},[me,ye,lt],function(qt,Kt){return!cn(tt,qt[0],Kt[0])||!(0,nt.Z)(qt[1],Kt[1],!0)||!(0,nt.Z)(qt[2],Kt[2],!0)})}function dn(me,Se){var ye=Se.formatList,tt=Se.generateConfig,lt=Se.locale,qt=(0,oe.useState)(null),Kt=(0,kt.Z)(qt,2),Zn=Kt[0],Tn=Kt[1],ra=(0,oe.useRef)(null);function Ca(sa){var Oa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(ra.current),Oa){Tn(sa);return}ra.current=requestAnimationFrame(function(){Tn(sa)})}var ga=Mt(Zn,{formatList:ye,generateConfig:tt,locale:lt}),fn=(0,kt.Z)(ga,2),Ba=fn[1];function Ia(sa){Ca(sa)}function kn(){var sa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ca(null,sa)}return(0,oe.useEffect)(function(){kn(!0)},[me]),(0,oe.useEffect)(function(){return function(){return cancelAnimationFrame(ra.current)}},[]),[Ba,Ia,kn]}var gn=ee(10228),Ln=ee(16089),Jn=ee(95190),va=ee(29194),Da=new Map;function Na(me,Se){var ye;function tt(){(0,va.Z)(me)?Se():ye=(0,Ln.Z)(function(){tt()})}return tt(),function(){Ln.Z.cancel(ye)}}function ar(me,Se,ye){if(Da.get(me)&&cancelAnimationFrame(Da.get(me)),ye<=0){Da.set(me,requestAnimationFrame(function(){me.scrollTop=Se}));return}var tt=Se-me.scrollTop,lt=tt/ye*10;Da.set(me,requestAnimationFrame(function(){me.scrollTop+=lt,me.scrollTop!==Se&&ar(me,Se,ye-10)}))}function Ua(me,Se){var ye=Se.onLeftRight,tt=Se.onCtrlLeftRight,lt=Se.onUpDown,qt=Se.onPageUpDown,Kt=Se.onEnter,Zn=me.which,Tn=me.ctrlKey,ra=me.metaKey;switch(Zn){case gn.Z.LEFT:if(Tn||ra){if(tt)return tt(-1),!0}else if(ye)return ye(-1),!0;break;case gn.Z.RIGHT:if(Tn||ra){if(tt)return tt(1),!0}else if(ye)return ye(1),!0;break;case gn.Z.UP:if(lt)return lt(-1),!0;break;case gn.Z.DOWN:if(lt)return lt(1),!0;break;case gn.Z.PAGE_UP:if(qt)return qt(-1),!0;break;case gn.Z.PAGE_DOWN:if(qt)return qt(1),!0;break;case gn.Z.ENTER:if(Kt)return Kt(),!0;break}return!1}function fa(me,Se,ye,tt){var lt=me;if(!lt)switch(Se){case"time":lt=tt?"hh:mm:ss a":"HH:mm:ss";break;case"week":lt="gggg-wo";break;case"month":lt="YYYY-MM";break;case"quarter":lt="YYYY-[Q]Q";break;case"year":lt="YYYY";break;default:lt=ye?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return lt}function yr(me,Se,ye){var tt=me==="time"?8:10,lt=typeof Se=="function"?Se(ye.getNow()).length:Se.length;return Math.max(tt,lt)+2}var en=null,On=new Set;function la(me){return!en&&typeof window!="undefined"&&window.addEventListener&&(en=function(ye){(0,Jn.Z)(On).forEach(function(tt){tt(ye)})},window.addEventListener("mousedown",en)),On.add(me),function(){On.delete(me),On.size===0&&(window.removeEventListener("mousedown",en),en=null)}}function xa(me){var Se=me.target;if(me.composed&&Se.shadowRoot){var ye;return((ye=me.composedPath)===null||ye===void 0?void 0:ye.call(me)[0])||Se}return Se}var Ge=function(Se){return Se==="month"||Se==="date"?"year":Se},Ot=function(Se){return Se==="date"?"month":Se},_t=function(Se){return Se==="month"||Se==="date"?"quarter":Se},Vt=function(Se){return Se==="date"?"week":Se},Wt={year:Ge,month:Ot,quarter:_t,week:Vt,time:null,date:null};function Rn(me,Se){return me.some(function(ye){return ye&&ye.contains(Se)})}function Bn(me){var Se=me.open,ye=me.value,tt=me.isClickOutside,lt=me.triggerOpen,qt=me.forwardKeyDown,Kt=me.onKeyDown,Zn=me.blurToCancel,Tn=me.onSubmit,ra=me.onCancel,Ca=me.onFocus,ga=me.onBlur,fn=me.changeOnBlur,Ba=(0,oe.useState)(!1),Ia=(0,kt.Z)(Ba,2),kn=Ia[0],sa=Ia[1],Oa=(0,oe.useState)(!1),Fr=(0,kt.Z)(Oa,2),vr=Fr[0],Br=Fr[1],jr=(0,oe.useRef)(!1),Lr=(0,oe.useRef)(!1),Gn=(0,oe.useRef)(!1),Ko={onMouseDown:function(){sa(!0),lt(!0)},onKeyDown:function(Ho){var qo=function(){Gn.current=!0};if(Kt(Ho,qo),!Gn.current){switch(Ho.which){case gn.Z.ENTER:{Se?Tn()!==!1&&sa(!0):lt(!0),Ho.preventDefault();return}case gn.Z.TAB:{kn&&Se&&!Ho.shiftKey?(sa(!1),Ho.preventDefault()):!kn&&Se&&!qt(Ho)&&Ho.shiftKey&&(sa(!0),Ho.preventDefault());return}case gn.Z.ESC:{sa(!0),ra();return}}!Se&&![gn.Z.SHIFT].includes(Ho.which)?lt(!0):kn||qt(Ho)}},onFocus:function(Ho){sa(!0),Br(!0),Ca&&Ca(Ho)},onBlur:function(Ho){if(jr.current||!tt(document.activeElement)){jr.current=!1;return}Zn?setTimeout(function(){for(var qo=document,ii=qo.activeElement;ii&&ii.shadowRoot;)ii=ii.shadowRoot.activeElement;tt(ii)&&ra()},0):Se&&(lt(!1),Lr.current&&Tn()),Br(!1),ga==null||ga(Ho)}};return(0,oe.useEffect)(function(){Lr.current=!1},[Se]),(0,oe.useEffect)(function(){Lr.current=!0},[ye]),(0,oe.useEffect)(function(){return la(function(mo){var Ho=xa(mo),qo=tt(Ho);Se&&(qo?!fn&&(!vr||qo)&&lt(!1):(jr.current=!0,(0,Ln.Z)(function(){jr.current=!1})))})}),[Ko,{focused:vr,typing:kn}]}function vt(me,Se){return oe.useMemo(function(){return me||(Se?((0,Be.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(Se).map(function(ye){var tt=(0,kt.Z)(ye,2),lt=tt[0],qt=tt[1];return{label:lt,value:qt}})):[])},[me,Se])}var Ft=ee(34280);function pt(me){var Se=me.valueTexts,ye=me.onTextChange,tt=oe.useState(""),lt=(0,kt.Z)(tt,2),qt=lt[0],Kt=lt[1],Zn=oe.useRef([]);Zn.current=Se;function Tn(Ca){Kt(Ca),ye(Ca)}function ra(){Kt(Zn.current[0])}return(0,Ft.Z)(function(){Se.every(function(Ca){return Ca!==qt})&&ra()},[Se.join("||")]),[qt,Tn,ra]}var Sn=oe.createContext({}),Wn=Sn,An=ee(93664);function ka(me){var Se=me.cellRender,ye=me.monthCellRender,tt=me.dateRender,lt=oe.useMemo(function(){if(Se)return Se;if(!(!ye&&!tt))return function(qt,Kt){var Zn=qt;return tt&&Kt.type==="date"?tt(Zn,Kt.today):ye&&Kt.type==="month"?ye(Zn,Kt.locale):Kt.originNode}},[Se,ye,tt]);return lt}function pa(me,Se){for(var ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",tt=String(me);tt.length<Se;)tt="".concat(ye).concat(me);return tt}var _n=function(){for(var Se=arguments.length,ye=new Array(Se),tt=0;tt<Se;tt++)ye[tt]=arguments[tt];return ye};function Ea(me){return me==null?[]:Array.isArray(me)?me:[me]}function Pa(me,Se){return me?me[Se]:null}function Dn(me,Se,ye){var tt=[Pa(me,0),Pa(me,1)];return tt[ye]=typeof Se=="function"?Se(tt[ye]):Se,!tt[0]&&!tt[1]?null:tt}function lr(me){return typeof me=="function"?me():me}function Nr(me){var Se=me.cellPrefixCls,ye=me.generateConfig,tt=me.rangedValue,lt=me.hoverRangedValue,qt=me.isInView,Kt=me.isSameCell,Zn=me.offsetCell,Tn=me.today,ra=me.value;function Ca(ga){var fn,Ba=Zn(ga,-1),Ia=Zn(ga,1),kn=Pa(tt,0),sa=Pa(tt,1),Oa=Pa(lt,0),Fr=Pa(lt,1),vr=sn(ye,Oa,Fr,ga);function Br(Ho){return Kt(kn,Ho)}function jr(Ho){return Kt(sa,Ho)}var Lr=Kt(Oa,ga),Gn=Kt(Fr,ga),Ko=(vr||Gn)&&(!qt(Ba)||jr(Ba)),mo=(vr||Lr)&&(!qt(Ia)||Br(Ia));return fn={},(0,ze.Z)(fn,"".concat(Se,"-in-view"),qt(ga)),(0,ze.Z)(fn,"".concat(Se,"-in-range"),sn(ye,kn,sa,ga)),(0,ze.Z)(fn,"".concat(Se,"-range-start"),Br(ga)),(0,ze.Z)(fn,"".concat(Se,"-range-end"),jr(ga)),(0,ze.Z)(fn,"".concat(Se,"-range-start-single"),Br(ga)&&!sa),(0,ze.Z)(fn,"".concat(Se,"-range-end-single"),jr(ga)&&!kn),(0,ze.Z)(fn,"".concat(Se,"-range-start-near-hover"),Br(ga)&&(Kt(Ba,Oa)||sn(ye,Oa,Fr,Ba))),(0,ze.Z)(fn,"".concat(Se,"-range-end-near-hover"),jr(ga)&&(Kt(Ia,Fr)||sn(ye,Oa,Fr,Ia))),(0,ze.Z)(fn,"".concat(Se,"-range-hover"),vr),(0,ze.Z)(fn,"".concat(Se,"-range-hover-start"),Lr),(0,ze.Z)(fn,"".concat(Se,"-range-hover-end"),Gn),(0,ze.Z)(fn,"".concat(Se,"-range-hover-edge-start"),Ko),(0,ze.Z)(fn,"".concat(Se,"-range-hover-edge-end"),mo),(0,ze.Z)(fn,"".concat(Se,"-range-hover-edge-start-near-range"),Ko&&Kt(Ba,sa)),(0,ze.Z)(fn,"".concat(Se,"-range-hover-edge-end-near-range"),mo&&Kt(Ia,kn)),(0,ze.Z)(fn,"".concat(Se,"-today"),Kt(Tn,ga)),(0,ze.Z)(fn,"".concat(Se,"-selected"),Kt(ra,ga)),fn}return Ca}var $r=oe.createContext({}),Sr=$r;function $e(me,Se,ye,tt,lt){var qt=me.setHour(Se,ye);return qt=me.setMinute(qt,tt),qt=me.setSecond(qt,lt),qt}function bn(me,Se,ye){if(!ye)return Se;var tt=Se;return tt=me.setHour(tt,me.getHour(ye)),tt=me.setMinute(tt,me.getMinute(ye)),tt=me.setSecond(tt,me.getSecond(ye)),tt}function Xt(me,Se,ye,tt,lt,qt){var Kt=Math.floor(me/tt)*tt;if(Kt<me)return[Kt,60-lt,60-qt];var Zn=Math.floor(Se/lt)*lt;if(Zn<Se)return[Kt,Zn,60-qt];var Tn=Math.floor(ye/qt)*qt;return[Kt,Zn,Tn]}function Nn(me,Se){var ye=me.getYear(Se),tt=me.getMonth(Se)+1,lt=me.getEndDate(me.getFixedDate("".concat(ye,"-").concat(tt,"-01"))),qt=me.getDate(lt),Kt=tt<10?"0".concat(tt):"".concat(tt);return"".concat(ye,"-").concat(Kt,"-").concat(qt)}function Kn(me){for(var Se=me.prefixCls,ye=me.disabledDate,tt=me.onSelect,lt=me.picker,qt=me.rowNum,Kt=me.colNum,Zn=me.prefixColumn,Tn=me.rowClassName,ra=me.baseDate,Ca=me.getCellClassName,ga=me.getCellText,fn=me.getCellNode,Ba=me.getCellDate,Ia=me.generateConfig,kn=me.titleCell,sa=me.headerCells,Oa=oe.useContext(Wn),Fr=Oa.onDateMouseEnter,vr=Oa.onDateMouseLeave,Br=Oa.mode,jr="".concat(Se,"-cell"),Lr=[],Gn=0;Gn<qt;Gn+=1){for(var Ko=[],mo=void 0,Ho=function(){var Si,zi=Gn*Kt+qo,oo=Ba(ra,zi),Oo=Bt({cellDate:oo,mode:Br,disabledDate:ye,generateConfig:Ia});qo===0&&(mo=oo,Zn&&Ko.push(Zn(mo)));var To=kn&&kn(oo),Ai=oe.createElement("div",{className:"".concat(jr,"-inner")},ga(oo));Ko.push(oe.createElement("td",{key:qo,title:To,className:Ue()(jr,(0,ct.Z)((Si={},(0,ze.Z)(Si,"".concat(jr,"-disabled"),Oo),(0,ze.Z)(Si,"".concat(jr,"-start"),ga(oo)===1||lt==="year"&&Number(To)%10===0),(0,ze.Z)(Si,"".concat(jr,"-end"),To===Nn(Ia,oo)||lt==="year"&&Number(To)%10===9),Si),Ca(oo))),onClick:function(){Oo||tt(oo)},onMouseEnter:function(){!Oo&&Fr&&Fr(oo)},onMouseLeave:function(){!Oo&&vr&&vr(oo)}},fn?fn(oo,Ai):Ai))},qo=0;qo<Kt;qo+=1)Ho();Lr.push(oe.createElement("tr",{key:Gn,className:Tn&&Tn(mo)},Ko))}return oe.createElement("div",{className:"".concat(Se,"-body")},oe.createElement("table",{className:"".concat(Se,"-content")},sa&&oe.createElement("thead",null,oe.createElement("tr",null,sa)),oe.createElement("tbody",null,Lr)))}function ua(me){var Se=me.prefixCls,ye=me.generateConfig,tt=me.prefixColumn,lt=me.locale,qt=me.rowCount,Kt=me.viewDate,Zn=me.value,Tn=me.cellRender,ra=me.isSameCell,Ca=oe.useContext(Sr),ga=Ca.rangedValue,fn=Ca.hoverRangedValue,Ba=yn(lt.locale,ye,Kt),Ia="".concat(Se,"-cell"),kn=ye.locale.getWeekFirstDay(lt.locale),sa=ye.getNow(),Oa=[],Fr=lt.shortWeekDays||(ye.locale.getShortWeekDays?ye.locale.getShortWeekDays(lt.locale):[]);tt&&Oa.push(oe.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var vr=0;vr<Je;vr+=1)Oa.push(oe.createElement("th",{key:vr},Fr[(vr+kn)%Je]));var Br=Nr({cellPrefixCls:Ia,today:sa,value:Zn,generateConfig:ye,rangedValue:tt?null:ga,hoverRangedValue:tt?null:fn,isSameCell:ra||function(Lr,Gn){return yt(ye,Lr,Gn)},isInView:function(Gn){return Me(ye,Gn,Kt)},offsetCell:function(Gn,Ko){return ye.addDate(Gn,Ko)}}),jr=Tn?function(Lr,Gn){return Tn(Lr,{originNode:Gn,today:sa,type:"date",locale:lt})}:void 0;return oe.createElement(Kn,(0,ue.Z)({},me,{rowNum:qt,colNum:Je,baseDate:Ba,getCellNode:jr,getCellText:ye.getDate,getCellClassName:Br,getCellDate:ye.addDate,titleCell:function(Gn){return xt(Gn,{locale:lt,format:"YYYY-MM-DD",generateConfig:ye})},headerCells:Oa}))}var Qn=ua,$n={visibility:"hidden"};function ur(me){var Se=me.prefixCls,ye=me.prevIcon,tt=ye===void 0?"\u2039":ye,lt=me.nextIcon,qt=lt===void 0?"\u203A":lt,Kt=me.superPrevIcon,Zn=Kt===void 0?"\xAB":Kt,Tn=me.superNextIcon,ra=Tn===void 0?"\xBB":Tn,Ca=me.onSuperPrev,ga=me.onSuperNext,fn=me.onPrev,Ba=me.onNext,Ia=me.children,kn=oe.useContext(Wn),sa=kn.hideNextBtn,Oa=kn.hidePrevBtn;return oe.createElement("div",{className:Se},Ca&&oe.createElement("button",{type:"button",onClick:Ca,tabIndex:-1,className:"".concat(Se,"-super-prev-btn"),style:Oa?$n:{}},Zn),fn&&oe.createElement("button",{type:"button",onClick:fn,tabIndex:-1,className:"".concat(Se,"-prev-btn"),style:Oa?$n:{}},tt),oe.createElement("div",{className:"".concat(Se,"-view")},Ia),Ba&&oe.createElement("button",{type:"button",onClick:Ba,tabIndex:-1,className:"".concat(Se,"-next-btn"),style:sa?$n:{}},qt),ga&&oe.createElement("button",{type:"button",onClick:ga,tabIndex:-1,className:"".concat(Se,"-super-next-btn"),style:sa?$n:{}},ra))}var da=ur;function En(me){var Se=me.prefixCls,ye=me.generateConfig,tt=me.locale,lt=me.viewDate,qt=me.onNextMonth,Kt=me.onPrevMonth,Zn=me.onNextYear,Tn=me.onPrevYear,ra=me.onYearClick,Ca=me.onMonthClick,ga=oe.useContext(Wn),fn=ga.hideHeader;if(fn)return null;var Ba="".concat(Se,"-header"),Ia=tt.shortMonths||(ye.locale.getShortMonths?ye.locale.getShortMonths(tt.locale):[]),kn=ye.getMonth(lt),sa=oe.createElement("button",{type:"button",key:"year",onClick:ra,tabIndex:-1,className:"".concat(Se,"-year-btn")},xt(lt,{locale:tt,format:tt.yearFormat,generateConfig:ye})),Oa=oe.createElement("button",{type:"button",key:"month",onClick:Ca,tabIndex:-1,className:"".concat(Se,"-month-btn")},tt.monthFormat?xt(lt,{locale:tt,format:tt.monthFormat,generateConfig:ye}):Ia[kn]),Fr=tt.monthBeforeYear?[Oa,sa]:[sa,Oa];return oe.createElement(da,(0,ue.Z)({},me,{prefixCls:Ba,onSuperPrev:Tn,onPrev:Kt,onNext:qt,onSuperNext:Zn}),Fr)}var dr=En,Cr=6;function Wr(me){var Se=me.prefixCls,ye=me.panelName,tt=ye===void 0?"date":ye,lt=me.keyboardConfig,qt=me.active,Kt=me.operationRef,Zn=me.generateConfig,Tn=me.value,ra=me.viewDate,Ca=me.onViewDateChange,ga=me.onPanelChange,fn=me.onSelect,Ba="".concat(Se,"-").concat(tt,"-panel");Kt.current={onKeyDown:function(Oa){return Ua(Oa,(0,ct.Z)({onLeftRight:function(vr){fn(Zn.addDate(Tn||ra,vr),"key")},onCtrlLeftRight:function(vr){fn(Zn.addYear(Tn||ra,vr),"key")},onUpDown:function(vr){fn(Zn.addDate(Tn||ra,vr*Je),"key")},onPageUpDown:function(vr){fn(Zn.addMonth(Tn||ra,vr),"key")}},lt))}};var Ia=function(Oa){var Fr=Zn.addYear(ra,Oa);Ca(Fr),ga(null,Fr)},kn=function(Oa){var Fr=Zn.addMonth(ra,Oa);Ca(Fr),ga(null,Fr)};return oe.createElement("div",{className:Ue()(Ba,(0,ze.Z)({},"".concat(Ba,"-active"),qt))},oe.createElement(dr,(0,ue.Z)({},me,{prefixCls:Se,value:Tn,viewDate:ra,onPrevYear:function(){Ia(-1)},onNextYear:function(){Ia(1)},onPrevMonth:function(){kn(-1)},onNextMonth:function(){kn(1)},onMonthClick:function(){ga("month",ra)},onYearClick:function(){ga("year",ra)}})),oe.createElement(Qn,(0,ue.Z)({},me,{onSelect:function(Oa){return fn(Oa,"mouse")},prefixCls:Se,value:Tn,viewDate:ra,rowCount:Cr})))}var Ir=Wr;function ha(me){var Se=oe.useContext(Wn),ye=Se.hideHeader;if(ye)return null;var tt=me.prefixCls,lt=me.generateConfig,qt=me.locale,Kt=me.value,Zn=me.format,Tn="".concat(tt,"-header");return oe.createElement(da,{prefixCls:Tn},Kt?xt(Kt,{locale:qt,format:Zn,generateConfig:lt}):"\xA0")}var Ha=ha;function $a(me){var Se=me.value,ye=me.generateConfig,tt=me.disabledMinutes,lt=me.disabledSeconds,qt=me.minutes,Kt=me.seconds,Zn=me.use12Hours,Tn=function(Ca,ga,fn,Ba){var Ia=ye.getNow(),kn=Se||Ia,sa=ga<0?ye.getHour(Ia):ga,Oa=fn<0?ye.getMinute(Ia):fn,Fr=Ba<0?ye.getSecond(Ia):Ba,vr=tt&&tt(sa);if(vr!=null&&vr.includes(Oa)){var Br=qt.find(function(Gn){return!vr.includes(Gn.value)});if(Br)Oa=Br.value;else return null}var jr=lt&&lt(sa,Oa);if(jr!=null&&jr.includes(Fr)){var Lr=Kt.find(function(Gn){return!jr.includes(Gn.value)});if(Lr)Fr=Lr.value;else return null}return kn=$e(ye,kn,!Zn||!Ca?sa:sa+12,Oa,Fr),kn};return Tn}function La(me){var Se=me.prefixCls,ye=me.units,tt=me.onSelect,lt=me.value,qt=me.active,Kt=me.hideDisabledOptions,Zn=me.info,Tn=me.type,ra="".concat(Se,"-cell"),Ca=oe.useContext(Wn),ga=Ca.open,fn=(0,oe.useRef)(null),Ba=(0,oe.useRef)(new Map),Ia=(0,oe.useRef)();return(0,oe.useLayoutEffect)(function(){var kn=Ba.current.get(lt);kn&&ga!==!1&&ar(fn.current,kn.offsetTop,120)},[lt]),(0,oe.useLayoutEffect)(function(){if(ga){var kn=Ba.current.get(lt);kn&&(Ia.current=Na(kn,function(){ar(fn.current,kn.offsetTop,0)}))}return function(){var sa;(sa=Ia.current)===null||sa===void 0||sa.call(Ia)}},[ga]),oe.createElement("ul",{className:Ue()("".concat(Se,"-column"),(0,ze.Z)({},"".concat(Se,"-column-active"),qt)),ref:fn,style:{position:"relative"}},ye.map(function(kn){var sa;return Kt&&kn.disabled?null:oe.createElement("li",{key:kn.value,ref:function(Fr){Ba.current.set(kn.value,Fr)},className:Ue()(ra,(sa={},(0,ze.Z)(sa,"".concat(ra,"-disabled"),kn.disabled),(0,ze.Z)(sa,"".concat(ra,"-selected"),lt===kn.value),sa)),onClick:function(){kn.disabled||tt(kn.value)}},Zn.cellRender?Zn.cellRender(kn.value,{today:Zn.today,locale:Zn.locale,originNode:oe.createElement("div",{className:"".concat(ra,"-inner")},kn.label),type:"time",subType:Tn}):oe.createElement("div",{className:"".concat(ra,"-inner")},kn.label))}))}var Or=La;function no(me,Se){if(me.length!==Se.length)return!0;for(var ye=0;ye<me.length;ye+=1)if(me[ye].disabled!==Se[ye].disabled)return!0;return!1}function xr(me,Se,ye,tt){for(var lt=[],qt=ye>=1?ye|0:1,Kt=me;Kt<=Se;Kt+=qt)lt.push({label:pa(Kt,2),value:Kt,disabled:(tt||[]).includes(Kt)});return lt}function Er(me){var Se=me.generateConfig,ye=me.prefixCls,tt=me.operationRef,lt=me.activeColumnIndex,qt=me.value,Kt=me.showHour,Zn=me.showMinute,Tn=me.showSecond,ra=me.use12Hours,Ca=me.hourStep,ga=Ca===void 0?1:Ca,fn=me.minuteStep,Ba=fn===void 0?1:fn,Ia=me.secondStep,kn=Ia===void 0?1:Ia,sa=me.disabledHours,Oa=me.disabledMinutes,Fr=me.disabledSeconds,vr=me.disabledTime,Br=me.hideDisabledOptions,jr=me.onSelect,Lr=me.cellRender,Gn=me.locale,Ko=[],mo="".concat(ye,"-content"),Ho="".concat(ye,"-time-panel"),qo,ii=qt?Se.getHour(qt):-1,Si=ii,zi=qt?Se.getMinute(qt):-1,oo=qt?Se.getSecond(qt):-1,Oo=Se.getNow(),To=oe.useMemo(function(){if(vr){var pn=vr(Oo);return[pn.disabledHours,pn.disabledMinutes,pn.disabledSeconds]}return[sa,Oa,Fr]},[sa,Oa,Fr,vr,Oo]),Ai=(0,kt.Z)(To,3),Ii=Ai[0],pi=Ai[1],Lo=Ai[2],ol=xr(0,23,ga,Ii&&Ii()),qi=(0,it.Z)(function(){return ol},ol,no);ra&&(qo=Si>=12,Si%=12);var Ee=oe.useMemo(function(){if(!ra)return[!1,!1];var pn=[!0,!0];return qi.forEach(function(hn){var qn=hn.disabled,aa=hn.value;qn||(aa>=12?pn[1]=!1:pn[0]=!1)}),pn},[ra,qi]),Ce=(0,kt.Z)(Ee,2),Qe=Ce[0],ot=Ce[1],Pt=oe.useMemo(function(){return ra?qi.filter(qo?function(pn){return pn.value>=12}:function(pn){return pn.value<12}).map(function(pn){var hn=pn.value%12,qn=hn===0?"12":pa(hn,2);return(0,ct.Z)((0,ct.Z)({},pn),{},{label:qn,value:hn})}):qi},[ra,qo,qi]),Et=xr(0,59,Ba,pi&&pi(ii)),Ut=xr(0,59,kn,Lo&&Lo(ii,zi)),Yt=$a({value:qt,generateConfig:Se,disabledMinutes:pi,disabledSeconds:Lo,minutes:Et,seconds:Ut,use12Hours:ra});tt.current={onUpDown:function(hn){var qn=Ko[lt];if(qn)for(var aa=qn.units.findIndex(function(Xa){return Xa.value===qn.value}),ca=qn.units.length,Aa=1;Aa<ca;Aa+=1){var zt=qn.units[(aa+hn*Aa+ca)%ca];if(zt.disabled!==!0){qn.onSelect(zt.value);break}}}};function $t(pn,hn,qn,aa,ca){pn!==!1&&Ko.push({node:oe.cloneElement(hn,{prefixCls:Ho,value:qn,active:lt===Ko.length,onSelect:ca,units:aa,hideDisabledOptions:Br}),onSelect:ca,value:qn,units:aa})}$t(Kt,oe.createElement(Or,{key:"hour",type:"hour",info:{today:Oo,locale:Gn,cellRender:Lr}}),Si,Pt,function(pn){jr(Yt(qo,pn,zi,oo),"mouse")}),$t(Zn,oe.createElement(Or,{key:"minute",type:"minute",info:{today:Oo,locale:Gn,cellRender:Lr}}),zi,Et,function(pn){jr(Yt(qo,Si,pn,oo),"mouse")}),$t(Tn,oe.createElement(Or,{key:"second",type:"second",info:{today:Oo,locale:Gn,cellRender:Lr}}),oo,Ut,function(pn){jr(Yt(qo,Si,zi,pn),"mouse")});var Cn=-1;return typeof qo=="boolean"&&(Cn=qo?1:0),$t(ra===!0,oe.createElement(Or,{key:"meridiem",type:"meridiem",info:{today:Oo,locale:Gn,cellRender:Lr}}),Cn,[{label:"AM",value:0,disabled:Qe},{label:"PM",value:1,disabled:ot}],function(pn){jr(Yt(!!pn,Si,zi,oo),"mouse")}),oe.createElement("div",{className:mo},Ko.map(function(pn){var hn=pn.node;return hn}))}var Pr=Er,si=function(Se){return Se.filter(function(ye){return ye!==!1}).length};function ai(me){var Se=me.generateConfig,ye=me.format,tt=ye===void 0?"HH:mm:ss":ye,lt=me.prefixCls,qt=me.active,Kt=me.operationRef,Zn=me.showHour,Tn=me.showMinute,ra=me.showSecond,Ca=me.use12Hours,ga=Ca===void 0?!1:Ca,fn=me.onSelect,Ba=me.value,Ia="".concat(lt,"-time-panel"),kn=oe.useRef(),sa=oe.useState(-1),Oa=(0,kt.Z)(sa,2),Fr=Oa[0],vr=Oa[1],Br=si([Zn,Tn,ra,ga]);return Kt.current={onKeyDown:function(Lr){return Ua(Lr,{onLeftRight:function(Ko){vr((Fr+Ko+Br)%Br)},onUpDown:function(Ko){Fr===-1?vr(0):kn.current&&kn.current.onUpDown(Ko)},onEnter:function(){fn(Ba||Se.getNow(),"key"),vr(-1)}})},onBlur:function(){vr(-1)}},oe.createElement("div",{className:Ue()(Ia,(0,ze.Z)({},"".concat(Ia,"-active"),qt))},oe.createElement(Ha,(0,ue.Z)({},me,{format:tt,prefixCls:lt})),oe.createElement(Pr,(0,ue.Z)({},me,{prefixCls:lt,activeColumnIndex:Fr,operationRef:kn})))}var Bi=ai,po=_n("date","time");function yo(me){var Se=me.prefixCls,ye=me.operationRef,tt=me.generateConfig,lt=me.value,qt=me.defaultValue,Kt=me.disabledTime,Zn=me.showTime,Tn=me.onSelect,ra=me.cellRender,Ca="".concat(Se,"-datetime-panel"),ga=oe.useState(null),fn=(0,kt.Z)(ga,2),Ba=fn[0],Ia=fn[1],kn=oe.useRef({}),sa=oe.useRef({}),Oa=(0,An.Z)(Zn)==="object"?(0,ct.Z)({},Zn):{};function Fr(Lr){var Gn=po.indexOf(Ba)+Lr,Ko=po[Gn]||null;return Ko}var vr=function(Gn){sa.current.onBlur&&sa.current.onBlur(Gn),Ia(null)};ye.current={onKeyDown:function(Gn){if(Gn.which===gn.Z.TAB){var Ko=Fr(Gn.shiftKey?-1:1);return Ia(Ko),Ko&&Gn.preventDefault(),!0}if(Ba){var mo=Ba==="date"?kn:sa;return mo.current&&mo.current.onKeyDown&&mo.current.onKeyDown(Gn),!0}return[gn.Z.LEFT,gn.Z.RIGHT,gn.Z.UP,gn.Z.DOWN].includes(Gn.which)?(Ia("date"),!0):!1},onBlur:vr,onClose:vr};var Br=function(Gn,Ko){var mo=Gn;Ko==="date"&&!lt&&Oa.defaultValue?(mo=tt.setHour(mo,tt.getHour(Oa.defaultValue)),mo=tt.setMinute(mo,tt.getMinute(Oa.defaultValue)),mo=tt.setSecond(mo,tt.getSecond(Oa.defaultValue))):Ko==="time"&&!lt&&qt&&(mo=tt.setYear(mo,tt.getYear(qt)),mo=tt.setMonth(mo,tt.getMonth(qt)),mo=tt.setDate(mo,tt.getDate(qt))),Tn&&Tn(mo,"mouse")},jr=Kt?Kt(lt||null):{};return oe.createElement("div",{className:Ue()(Ca,(0,ze.Z)({},"".concat(Ca,"-active"),Ba))},oe.createElement(Ir,(0,ue.Z)({},me,{cellRender:ra,operationRef:kn,active:Ba==="date",onSelect:function(Gn){Br(bn(tt,Gn,!lt&&(0,An.Z)(Zn)==="object"?Zn.defaultValue:null),"date")}})),oe.createElement(Bi,(0,ue.Z)({},me,{cellRender:ra?function(Lr,Gn){return ra(Lr,(0,ct.Z)((0,ct.Z)({},Gn),{},{type:"time"}))}:void 0,format:void 0},Oa,jr,{disabledTime:null,defaultValue:void 0,operationRef:sa,active:Ba==="time",onSelect:function(Gn){Br(Gn,"time")}})))}var Go=yo;function Mo(me){var Se=me.prefixCls,ye=me.generateConfig,tt=me.viewDate,lt=me.onPrevDecades,qt=me.onNextDecades,Kt=oe.useContext(Wn),Zn=Kt.hideHeader;if(Zn)return null;var Tn="".concat(Se,"-header"),ra=ye.getYear(tt),Ca=Math.floor(ra/fe)*fe,ga=Ca+fe-1;return oe.createElement(da,(0,ue.Z)({},me,{prefixCls:Tn,onSuperPrev:lt,onSuperNext:qt}),Ca,"-",ga)}var Do=Mo,gr=3,eo=4;function Qo(me){var Se=De-1,ye=me.prefixCls,tt=me.viewDate,lt=me.generateConfig,qt=me.cellRender,Kt=me.locale,Zn="".concat(ye,"-cell"),Tn=lt.getYear(tt),ra=Math.floor(Tn/De)*De,Ca=Math.floor(Tn/fe)*fe,ga=Ca+fe-1,fn=lt.setYear(tt,Ca-Math.ceil((gr*eo*De-fe)/2)),Ba=function(sa){var Oa,Fr=lt.getYear(sa),vr=Fr+Se;return Oa={},(0,ze.Z)(Oa,"".concat(Zn,"-in-view"),Ca<=Fr&&vr<=ga),(0,ze.Z)(Oa,"".concat(Zn,"-selected"),Fr===ra),Oa},Ia=qt?function(kn,sa){return qt(kn,{originNode:sa,today:lt.getNow(),type:"decade",locale:Kt})}:void 0;return oe.createElement(Kn,(0,ue.Z)({},me,{rowNum:eo,colNum:gr,baseDate:fn,getCellNode:Ia,getCellText:function(sa){var Oa=lt.getYear(sa);return"".concat(Oa,"-").concat(Oa+Se)},getCellClassName:Ba,getCellDate:function(sa,Oa){return lt.addYear(sa,Oa*De)}}))}var Jo=Qo;function Io(me){var Se=me.prefixCls,ye=me.onViewDateChange,tt=me.generateConfig,lt=me.viewDate,qt=me.operationRef,Kt=me.onSelect,Zn=me.onPanelChange,Tn="".concat(Se,"-decade-panel");qt.current={onKeyDown:function(fn){return Ua(fn,{onLeftRight:function(Ia){Kt(tt.addYear(lt,Ia*De),"key")},onCtrlLeftRight:function(Ia){Kt(tt.addYear(lt,Ia*fe),"key")},onUpDown:function(Ia){Kt(tt.addYear(lt,Ia*De*gr),"key")},onEnter:function(){Zn("year",lt)}})}};var ra=function(fn){var Ba=tt.addYear(lt,fn*fe);ye(Ba),Zn(null,Ba)},Ca=function(fn){Kt(fn,"mouse"),Zn("year",fn)};return oe.createElement("div",{className:Tn},oe.createElement(Do,(0,ue.Z)({},me,{prefixCls:Se,onPrevDecades:function(){ra(-1)},onNextDecades:function(){ra(1)}})),oe.createElement(Jo,(0,ue.Z)({},me,{prefixCls:Se,onSelect:Ca})))}var br=Io;function ri(me){var Se=me.prefixCls,ye=me.generateConfig,tt=me.locale,lt=me.viewDate,qt=me.onNextYear,Kt=me.onPrevYear,Zn=me.onYearClick,Tn=oe.useContext(Wn),ra=Tn.hideHeader;if(ra)return null;var Ca="".concat(Se,"-header");return oe.createElement(da,(0,ue.Z)({},me,{prefixCls:Ca,onSuperPrev:Kt,onSuperNext:qt}),oe.createElement("button",{type:"button",onClick:Zn,className:"".concat(Se,"-year-btn")},xt(lt,{locale:tt,format:tt.yearFormat,generateConfig:ye})))}var zr=ri,ko=3,co=4;function di(me){var Se=me.prefixCls,ye=me.locale,tt=me.value,lt=me.viewDate,qt=me.generateConfig,Kt=me.cellRender,Zn=oe.useContext(Sr),Tn=Zn.rangedValue,ra=Zn.hoverRangedValue,Ca="".concat(Se,"-cell"),ga=Nr({cellPrefixCls:Ca,value:tt,generateConfig:qt,rangedValue:Tn,hoverRangedValue:ra,isSameCell:function(sa,Oa){return Me(qt,sa,Oa)},isInView:function(){return!0},offsetCell:function(sa,Oa){return qt.addMonth(sa,Oa)}}),fn=ye.shortMonths||(qt.locale.getShortMonths?qt.locale.getShortMonths(ye.locale):[]),Ba=qt.setMonth(lt,0),Ia=Kt?function(kn,sa){return Kt(kn,{originNode:sa,locale:ye,today:qt.getNow(),type:"month"})}:void 0;return oe.createElement(Kn,(0,ue.Z)({},me,{rowNum:co,colNum:ko,baseDate:Ba,getCellNode:Ia,getCellText:function(sa){return ye.monthFormat?xt(sa,{locale:ye,format:ye.monthFormat,generateConfig:qt}):fn[qt.getMonth(sa)]},getCellClassName:ga,getCellDate:qt.addMonth,titleCell:function(sa){return xt(sa,{locale:ye,format:"YYYY-MM",generateConfig:qt})}}))}var hi=di;function Qi(me){var Se=me.prefixCls,ye=me.operationRef,tt=me.onViewDateChange,lt=me.generateConfig,qt=me.value,Kt=me.viewDate,Zn=me.onPanelChange,Tn=me.onSelect,ra="".concat(Se,"-month-panel");ye.current={onKeyDown:function(fn){return Ua(fn,{onLeftRight:function(Ia){Tn(lt.addMonth(qt||Kt,Ia),"key")},onCtrlLeftRight:function(Ia){Tn(lt.addYear(qt||Kt,Ia),"key")},onUpDown:function(Ia){Tn(lt.addMonth(qt||Kt,Ia*ko),"key")},onEnter:function(){Zn("date",qt||Kt)}})}};var Ca=function(fn){var Ba=lt.addYear(Kt,fn);tt(Ba),Zn(null,Ba)};return oe.createElement("div",{className:ra},oe.createElement(zr,(0,ue.Z)({},me,{prefixCls:Se,onPrevYear:function(){Ca(-1)},onNextYear:function(){Ca(1)},onYearClick:function(){Zn("year",Kt)}})),oe.createElement(hi,(0,ue.Z)({},me,{prefixCls:Se,onSelect:function(fn){Tn(fn,"mouse"),Zn("date",fn)}})))}var tl=Qi;function nl(me){var Se=me.prefixCls,ye=me.generateConfig,tt=me.locale,lt=me.viewDate,qt=me.onNextYear,Kt=me.onPrevYear,Zn=me.onYearClick,Tn=oe.useContext(Wn),ra=Tn.hideHeader;if(ra)return null;var Ca="".concat(Se,"-header");return oe.createElement(da,(0,ue.Z)({},me,{prefixCls:Ca,onSuperPrev:Kt,onSuperNext:qt}),oe.createElement("button",{type:"button",onClick:Zn,className:"".concat(Se,"-year-btn")},xt(lt,{locale:tt,format:tt.yearFormat,generateConfig:ye})))}var Vo=nl,wi=4,Vi=1;function dl(me){var Se=me.prefixCls,ye=me.locale,tt=me.value,lt=me.viewDate,qt=me.generateConfig,Kt=me.cellRender,Zn=oe.useContext(Sr),Tn=Zn.rangedValue,ra=Zn.hoverRangedValue,Ca="".concat(Se,"-cell"),ga=Nr({cellPrefixCls:Ca,value:tt,generateConfig:qt,rangedValue:Tn,hoverRangedValue:ra,isSameCell:function(kn,sa){return at(qt,kn,sa)},isInView:function(){return!0},offsetCell:function(kn,sa){return qt.addMonth(kn,sa*3)}}),fn=qt.setDate(qt.setMonth(lt,0),1),Ba=Kt?function(Ia,kn){return Kt(Ia,{originNode:kn,locale:ye,today:qt.getNow(),type:"quarter"})}:void 0;return oe.createElement(Kn,(0,ue.Z)({},me,{rowNum:Vi,colNum:wi,baseDate:fn,getCellNode:Ba,getCellText:function(kn){return xt(kn,{locale:ye,format:ye.quarterFormat||"[Q]Q",generateConfig:qt})},getCellClassName:ga,getCellDate:function(kn,sa){return qt.addMonth(kn,sa*3)},titleCell:function(kn){return xt(kn,{locale:ye,format:"YYYY-[Q]Q",generateConfig:qt})}}))}var ml=dl;function yl(me){var Se=me.prefixCls,ye=me.operationRef,tt=me.onViewDateChange,lt=me.generateConfig,qt=me.value,Kt=me.viewDate,Zn=me.onPanelChange,Tn=me.onSelect,ra="".concat(Se,"-quarter-panel");ye.current={onKeyDown:function(fn){return Ua(fn,{onLeftRight:function(Ia){Tn(lt.addMonth(qt||Kt,Ia*3),"key")},onCtrlLeftRight:function(Ia){Tn(lt.addYear(qt||Kt,Ia),"key")},onUpDown:function(Ia){Tn(lt.addYear(qt||Kt,Ia),"key")}})}};var Ca=function(fn){var Ba=lt.addYear(Kt,fn);tt(Ba),Zn(null,Ba)};return oe.createElement("div",{className:ra},oe.createElement(Vo,(0,ue.Z)({},me,{prefixCls:Se,onPrevYear:function(){Ca(-1)},onNextYear:function(){Ca(1)},onYearClick:function(){Zn("year",Kt)}})),oe.createElement(ml,(0,ue.Z)({},me,{prefixCls:Se,onSelect:function(fn){Tn(fn,"mouse")}})))}var kr=yl;function Qa(me){var Se=me.prefixCls,ye=me.generateConfig,tt=me.locale,lt=me.value,qt=me.disabledDate,Kt=me.onSelect,Zn=oe.useContext(Sr),Tn=Zn.rangedValue,ra=Zn.hoverRangedValue,Ca=oe.useContext(Wn),ga=Ca.onDateMouseEnter,fn=Ca.onDateMouseLeave,Ba=(ra==null?void 0:ra[0])||(Tn==null?void 0:Tn[0]),Ia=(ra==null?void 0:ra[1])||(Tn==null?void 0:Tn[1]),kn="".concat(Se,"-cell"),sa=function(Br){var jr=Bt({cellDate:Br,mode:"week",disabledDate:qt,generateConfig:ye});return oe.createElement("td",{key:"week",className:Ue()(kn,"".concat(kn,"-week")),onClick:function(){jr||Kt(Br,"mouse")},onMouseEnter:function(){!jr&&ga&&ga(Br)},onMouseLeave:function(){!jr&&fn&&fn(Br)}},oe.createElement("div",{className:"".concat(kn,"-inner")},ye.locale.getWeek(tt.locale,Br)))},Oa="".concat(Se,"-week-panel-row"),Fr=function(Br){var jr,Lr=an(ye,tt.locale,Ba,Br),Gn=an(ye,tt.locale,Ia,Br);return Ue()(Oa,(jr={},(0,ze.Z)(jr,"".concat(Oa,"-selected"),!Tn&&an(ye,tt.locale,lt,Br)),(0,ze.Z)(jr,"".concat(Oa,"-range-start"),Lr),(0,ze.Z)(jr,"".concat(Oa,"-range-end"),Gn),(0,ze.Z)(jr,"".concat(Oa,"-range-hover"),!Lr&&!Gn&&sn(ye,Ba,Ia,Br)),jr))};return oe.createElement(Ir,(0,ue.Z)({},me,{panelName:"week",prefixColumn:sa,rowClassName:Fr,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var Ga=Qa,Ya=10;function uo(me){var Se=me.prefixCls,ye=me.generateConfig,tt=me.viewDate,lt=me.onPrevDecade,qt=me.onNextDecade,Kt=me.onDecadeClick,Zn=oe.useContext(Wn),Tn=Zn.hideHeader;if(Tn)return null;var ra="".concat(Se,"-header"),Ca=ye.getYear(tt),ga=Math.floor(Ca/Ya)*Ya,fn=ga+Ya-1;return oe.createElement(da,(0,ue.Z)({},me,{prefixCls:ra,onSuperPrev:lt,onSuperNext:qt}),oe.createElement("button",{type:"button",onClick:Kt,className:"".concat(Se,"-decade-btn")},ga,"-",fn))}var we=uo,vn=3,Mn=4;function Sa(me){var Se=me.prefixCls,ye=me.value,tt=me.viewDate,lt=me.locale,qt=me.generateConfig,Kt=me.cellRender,Zn=oe.useContext(Sr),Tn=Zn.rangedValue,ra=Zn.hoverRangedValue,Ca="".concat(Se,"-cell"),ga=qt.getYear(tt),fn=Math.floor(ga/Ya)*Ya,Ba=fn+Ya-1,Ia=qt.setYear(tt,fn-Math.ceil((vn*Mn-Ya)/2)),kn=qt.getNow(),sa=function(Br){var jr=qt.getYear(Br);return fn<=jr&&jr<=Ba},Oa=Nr({cellPrefixCls:Ca,value:ye,generateConfig:qt,rangedValue:Tn,hoverRangedValue:ra,isSameCell:function(Br,jr){return Ie(qt,Br,jr)},isInView:sa,offsetCell:function(Br,jr){return qt.addYear(Br,jr)}}),Fr=Kt?function(vr,Br){return Kt(vr,{originNode:Br,today:kn,type:"year",locale:lt})}:void 0;return oe.createElement(Kn,(0,ue.Z)({},me,{rowNum:Mn,colNum:vn,baseDate:Ia,getCellNode:Fr,getCellText:qt.getYear,getCellClassName:Oa,getCellDate:qt.addYear,titleCell:function(Br){return xt(Br,{locale:lt,format:"YYYY",generateConfig:qt})}}))}var ln=Sa;function Ma(me){var Se=me.prefixCls,ye=me.operationRef,tt=me.onViewDateChange,lt=me.generateConfig,qt=me.value,Kt=me.viewDate,Zn=me.sourceMode,Tn=me.onSelect,ra=me.onPanelChange,Ca="".concat(Se,"-year-panel");ye.current={onKeyDown:function(Ba){return Ua(Ba,{onLeftRight:function(kn){Tn(lt.addYear(qt||Kt,kn),"key")},onCtrlLeftRight:function(kn){Tn(lt.addYear(qt||Kt,kn*Ya),"key")},onUpDown:function(kn){Tn(lt.addYear(qt||Kt,kn*vn),"key")},onEnter:function(){ra(Zn==="date"?"date":"month",qt||Kt)}})}};var ga=function(Ba){var Ia=lt.addYear(Kt,Ba*10);tt(Ia),ra(null,Ia)};return oe.createElement("div",{className:Ca},oe.createElement(we,(0,ue.Z)({},me,{prefixCls:Se,onPrevDecade:function(){ga(-1)},onNextDecade:function(){ga(1)},onDecadeClick:function(){ra("decade",Kt)}})),oe.createElement(ln,(0,ue.Z)({},me,{prefixCls:Se,onSelect:function(Ba){ra(Zn==="date"?"date":"month",Ba),Tn(Ba,"mouse")}})))}var Fa=Ma;function jn(me,Se,ye){return ye?oe.createElement("div",{className:"".concat(me,"-footer-extra")},ye(Se)):null}function Xn(me){var Se=me.prefixCls,ye=me.components,tt=ye===void 0?{}:ye,lt=me.needConfirmButton,qt=me.onNow,Kt=me.onOk,Zn=me.okDisabled,Tn=me.showNow,ra=me.locale,Ca,ga;if(lt){var fn=tt.button||"button";qt&&Tn!==!1&&(Ca=oe.createElement("li",{className:"".concat(Se,"-now")},oe.createElement("a",{className:"".concat(Se,"-now-btn"),onClick:qt},ra.now))),ga=lt&&oe.createElement("li",{className:"".concat(Se,"-ok")},oe.createElement(fn,{disabled:Zn,onClick:Kt},ra.ok))}return!Ca&&!ga?null:oe.createElement("ul",{className:"".concat(Se,"-ranges")},Ca,ga)}var sr=["date","month"];function za(me){var Se,ye=me,tt=ye.prefixCls,lt=tt===void 0?"rc-picker":tt,qt=ye.className,Kt=ye.style,Zn=ye.locale,Tn=ye.generateConfig,ra=ye.value,Ca=ye.defaultValue,ga=ye.pickerValue,fn=ye.defaultPickerValue,Ba=ye.disabledDate,Ia=ye.mode,kn=ye.picker,sa=kn===void 0?"date":kn,Oa=ye.tabIndex,Fr=Oa===void 0?0:Oa,vr=ye.showNow,Br=ye.showTime,jr=ye.showToday,Lr=ye.renderExtraFooter,Gn=ye.hideHeader,Ko=ye.onSelect,mo=ye.onChange,Ho=ye.onPanelChange,qo=ye.onMouseDown,ii=ye.onPickerValueChange,Si=ye.onOk,zi=ye.components,oo=ye.direction,Oo=ye.hourStep,To=Oo===void 0?1:Oo,Ai=ye.minuteStep,Ii=Ai===void 0?1:Ai,pi=ye.secondStep,Lo=pi===void 0?1:pi,ol=ye.dateRender,qi=ye.monthCellRender,Ee=ye.cellRender,Ce=sa==="date"&&!!Br||sa==="time",Qe=24%To===0,ot=60%Ii===0,Pt=60%Lo===0,Et=oe.useContext(Wn),Ut=Et.operationRef,Yt=Et.onSelect,$t=Et.hideRanges,Cn=Et.defaultOpenValue,pn=oe.useContext(Sr),hn=pn.inRange,qn=pn.panelPosition,aa=pn.rangedValue,ca=pn.hoverRangedValue,Aa=oe.useRef({}),zt=oe.useRef(!0),Xa=(0,ft.Z)(null,{value:ra,defaultValue:Ca,postState:function(pe){return!pe&&Cn&&sa==="time"?Cn:pe}}),_a=(0,kt.Z)(Xa,2),rr=_a[0],Tr=_a[1],Ur=(0,ft.Z)(null,{value:ga,defaultValue:fn||rr,postState:function(pe){var Pe=Tn.getNow();if(!pe)return Pe;if(!rr&&Br){var Lt=(0,An.Z)(Br)==="object"?Br.defaultValue:Ca;return bn(Tn,Array.isArray(pe)?pe[0]:pe,Lt||Pe)}return Array.isArray(pe)?pe[0]:pe}}),wr=(0,kt.Z)(Ur,2),Gr=wr[0],Hr=wr[1],tr=function(pe){Hr(pe),ii&&ii(pe)},nr=function(pe){var Pe=Wt[sa];return Pe?Pe(pe):pe},fr=(0,ft.Z)(function(){return sa==="time"?"time":nr("date")},{value:Ia}),Wa=(0,kt.Z)(fr,2),or=Wa[0],Kr=Wa[1];oe.useEffect(function(){Kr(sa)},[sa]);var Po=oe.useState(function(){return or}),lo=(0,kt.Z)(Po,2),Mr=lo[0],fo=lo[1],Fo=function(pe,Pe){var Lt=nr(pe||or);fo(or),Kr(Lt),Ho&&(or!==Lt||cn(Tn,Gr,Gr))&&Ho(Pe,Lt)},Ra=function(pe,Pe){var Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(or===sa||Lt)&&(Tr(pe),Ko&&Ko(pe),Yt&&Yt(pe,Pe),mo&&!cn(Tn,pe,rr)&&!(Ba!=null&&Ba(pe))&&mo(pe))},Bo=function(pe){if(sr.includes(or)){var Pe,Lt,tn=or==="date";switch(pe===gn.Z.PAGE_UP||pe===gn.Z.PAGE_DOWN?Lt=tn?Tn.addMonth:Tn.addYear:Lt=tn?Tn.addDate:Tn.addMonth,pe){case gn.Z.LEFT:case gn.Z.PAGE_UP:Pe=Lt(Gr,-1);break;case gn.Z.RIGHT:case gn.Z.PAGE_DOWN:Pe=Lt(Gr,1);break;case gn.Z.UP:case gn.Z.DOWN:Pe=Lt(Gr,Number("".concat(pe===gn.Z.UP?"-":"").concat(tn?Je:ko)));break}if(Pe)return!(Ba!=null&&Ba(Pe))}return!0},Ci=function(pe){if(Aa.current&&Aa.current.onKeyDown){var Pe=!0,Lt=pe.which;if([gn.Z.LEFT,gn.Z.RIGHT,gn.Z.UP,gn.Z.DOWN,gn.Z.PAGE_UP,gn.Z.PAGE_DOWN,gn.Z.ENTER].includes(Lt)&&(pe.preventDefault(),Lt!==gn.Z.ENTER&&Fr===0&&(Pe=Bo(Lt))),Pe)return Aa.current.onKeyDown(pe)}return(0,Be.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},wo=function(pe){Aa.current&&Aa.current.onBlur&&Aa.current.onBlur(pe)};Ut&&qn!=="right"&&(Ut.current={onKeyDown:Ci,onClose:function(){Aa.current&&Aa.current.onClose&&Aa.current.onClose()}}),oe.useEffect(function(){ra&&!zt.current&&Hr(ra)},[ra]),oe.useEffect(function(){zt.current=!1},[]);var Xr,xi=ka({cellRender:Ee,monthCellRender:qi,dateRender:ol}),Qr=(0,ct.Z)((0,ct.Z)({},me),{},{cellRender:xi,operationRef:Aa,prefixCls:lt,viewDate:Gr,value:rr,onViewDateChange:tr,sourceMode:Mr,onPanelChange:Fo,disabledDate:Ba});switch(delete Qr.onChange,delete Qr.onSelect,or){case"decade":Xr=oe.createElement(br,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"year":Xr=oe.createElement(Fa,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"month":Xr=oe.createElement(tl,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"quarter":Xr=oe.createElement(kr,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"week":Xr=oe.createElement(Ga,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"time":delete Qr.showTime,Xr=oe.createElement(Bi,(0,ue.Z)({},Qr,(0,An.Z)(Br)==="object"?Br:null,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;default:Br?Xr=oe.createElement(Go,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}})):Xr=oe.createElement(Ir,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}))}var mi,_o,Zi=function(){var pe=Tn.getNow(),Pe=Xt(Tn.getHour(pe),Tn.getMinute(pe),Tn.getSecond(pe),Qe?To:1,ot?Ii:1,Pt?Lo:1),Lt=$e(Tn,pe,Pe[0],Pe[1],Pe[2]);Ra(Lt,"submit")};$t||(mi=jn(lt,or,Lr),Br&&or!=="date"?_o=null:_o=Xn({prefixCls:lt,components:zi,needConfirmButton:Ce,okDisabled:!rr||Ba&&Ba(rr),locale:Zn,showNow:vr,onNow:Ce&&Zi,onOk:function(){rr&&(Ra(rr,"submit",!0),Si&&Si(rr))}}));var to;if(jr&&or==="date"&&sa==="date"&&!Br){var _r=Tn.getNow(),Yr="".concat(lt,"-today-btn"),Zr=Ba&&Ba(_r);to=oe.createElement("a",{className:Ue()(Yr,Zr&&"".concat(Yr,"-disabled")),"aria-disabled":Zr,onClick:function(){Zr||Ra(_r,"mouse",!0)}},Zn.today)}return oe.createElement(Wn.Provider,{value:(0,ct.Z)((0,ct.Z)({},Et),{},{mode:or,hideHeader:"hideHeader"in me?Gn:Et.hideHeader,hidePrevBtn:hn&&qn==="right",hideNextBtn:hn&&qn==="left"})},oe.createElement("div",{tabIndex:Fr,className:Ue()("".concat(lt,"-panel"),qt,(Se={},(0,ze.Z)(Se,"".concat(lt,"-panel-has-range"),aa&&aa[0]&&aa[1]),(0,ze.Z)(Se,"".concat(lt,"-panel-has-range-hover"),ca&&ca[0]&&ca[1]),(0,ze.Z)(Se,"".concat(lt,"-panel-rtl"),oo==="rtl"),Se)),style:Kt,onKeyDown:Ci,onBlur:wo,onMouseDown:qo},Xr,mi||_o||to?oe.createElement("div",{className:"".concat(lt,"-footer")},mi,_o,to):null))}var Ta=za,Ja=ee(35593),Rr={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function bo(me){var Se,ye=me.prefixCls,tt=me.popupElement,lt=me.popupStyle,qt=me.visible,Kt=me.dropdownClassName,Zn=me.dropdownAlign,Tn=me.transitionName,ra=me.getPopupContainer,Ca=me.children,ga=me.range,fn=me.popupPlacement,Ba=me.direction,Ia="".concat(ye,"-dropdown"),kn=function(){return fn!==void 0?fn:Ba==="rtl"?"bottomRight":"bottomLeft"};return oe.createElement(Ja.Z,{showAction:[],hideAction:[],popupPlacement:kn(),builtinPlacements:Rr,prefixCls:Ia,popupTransitionName:Tn,popup:tt,popupAlign:Zn,popupVisible:qt,popupClassName:Ue()(Kt,(Se={},(0,ze.Z)(Se,"".concat(Ia,"-range"),ga),(0,ze.Z)(Se,"".concat(Ia,"-rtl"),Ba==="rtl"),Se)),popupStyle:lt,getPopupContainer:ra},Ca)}var Uo=bo;function Wo(me){var Se=me.prefixCls,ye=me.presets,tt=me.onClick,lt=me.onHover;return ye.length?oe.createElement("div",{className:"".concat(Se,"-presets")},oe.createElement("ul",null,ye.map(function(qt,Kt){var Zn=qt.label,Tn=qt.value;return oe.createElement("li",{key:Kt,onClick:function(){return tt==null?void 0:tt(lr(Tn))},onMouseEnter:function(){return lt==null?void 0:lt(lr(Tn))},onMouseLeave:function(){return lt==null?void 0:lt(null)}},Zn)}))):null}function _i(me){var Se=me.picker,ye=me.disabledHours,tt=me.disabledMinutes,lt=me.disabledSeconds;Se==="time"&&(ye||tt||lt)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Xi(me,Se,ye){var tt=(0,An.Z)(Se)==="object"?Se.clearIcon:ye;return tt||oe.createElement("span",{className:"".concat(me,"-clear-btn")})}function al(me){var Se,ye=me,tt=ye.prefixCls,lt=tt===void 0?"rc-picker":tt,qt=ye.id,Kt=ye.name,Zn=ye.tabIndex,Tn=ye.style,ra=ye.className,Ca=ye.dropdownClassName,ga=ye.dropdownAlign,fn=ye.popupStyle,Ba=ye.transitionName,Ia=ye.generateConfig,kn=ye.locale,sa=ye.inputReadOnly,Oa=ye.allowClear,Fr=ye.autoFocus,vr=ye.showTime,Br=ye.picker,jr=Br===void 0?"date":Br,Lr=ye.format,Gn=ye.use12Hours,Ko=ye.value,mo=ye.defaultValue,Ho=ye.presets,qo=ye.open,ii=ye.defaultOpen,Si=ye.defaultOpenValue,zi=ye.suffixIcon,oo=ye.clearIcon,Oo=ye.disabled,To=ye.disabledDate,Ai=ye.placeholder,Ii=ye.getPopupContainer,pi=ye.pickerRef,Lo=ye.panelRender,ol=ye.onChange,qi=ye.onOpenChange,Ee=ye.onFocus,Ce=ye.onBlur,Qe=ye.onMouseDown,ot=ye.onMouseUp,Pt=ye.onMouseEnter,Et=ye.onMouseLeave,Ut=ye.onContextMenu,Yt=ye.onClick,$t=ye.onKeyDown,Cn=ye.onSelect,pn=ye.direction,hn=ye.autoComplete,qn=hn===void 0?"off":hn,aa=ye.inputRender,ca=ye.changeOnBlur,Aa=oe.useRef(null),zt=jr==="date"&&!!vr||jr==="time",Xa=vt(Ho),_a=Ea(fa(Lr,jr,vr,Gn)),rr=oe.useRef(null),Tr=oe.useRef(null),Ur=oe.useRef(null),wr=(0,ft.Z)(null,{value:Ko,defaultValue:mo}),Gr=(0,kt.Z)(wr,2),Hr=Gr[0],tr=Gr[1],nr=oe.useState(Hr),fr=(0,kt.Z)(nr,2),Wa=fr[0],or=fr[1],Kr=oe.useRef(null),Po=(0,ft.Z)(!1,{value:qo,defaultValue:ii,postState:function(ja){return Oo?!1:ja},onChange:function(ja){qi&&qi(ja),!ja&&Kr.current&&Kr.current.onClose&&Kr.current.onClose()}}),lo=(0,kt.Z)(Po,2),Mr=lo[0],fo=lo[1],Fo=Mt(Wa,{formatList:_a,generateConfig:Ia,locale:kn}),Ra=(0,kt.Z)(Fo,2),Bo=Ra[0],Ci=Ra[1],wo=pt({valueTexts:Bo,onTextChange:function(ja){var qr=Ht(ja,{locale:kn,formatList:_a,generateConfig:Ia});qr&&(!To||!To(qr))&&or(qr)}}),Xr=(0,kt.Z)(wo,3),xi=Xr[0],Qr=Xr[1],mi=Xr[2],_o=function(ja){or(ja),tr(ja),ol&&!cn(Ia,Hr,ja)&&ol(ja,ja?xt(ja,{generateConfig:Ia,locale:kn,format:_a[0]}):"")},Zi=function(ja){Oo&&ja||fo(ja)},to=function(ja){return Mr&&Kr.current&&Kr.current.onKeyDown?Kr.current.onKeyDown(ja):((0,Be.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},_r=function(){for(var ja=arguments.length,qr=new Array(ja),cr=0;cr<ja;cr++)qr[cr]=arguments[cr];Yt==null||Yt.apply(void 0,qr),Aa.current&&(Aa.current.focus(),Zi(!0))},Yr=function(ja){ca&&_o(Wa),Ce==null||Ce(ja)},Zr=Bn({blurToCancel:zt,open:Mr,value:xi,triggerOpen:Zi,forwardKeyDown:to,isClickOutside:function(ja){return!Rn([rr.current,Tr.current,Ur.current],ja)},onSubmit:function(){return!Wa||To&&To(Wa)?!1:(_o(Wa),Zi(!1),mi(),!0)},onCancel:function(){Zi(!1),or(Hr),mi()},onKeyDown:function(ja,qr){$t==null||$t(ja,qr)},onFocus:Ee,onBlur:Yr,changeOnBlur:ca}),ce=(0,kt.Z)(Zr,2),pe=ce[0],Pe=ce[1],Lt=Pe.focused,tn=Pe.typing;oe.useEffect(function(){Mr||(or(Hr),!Bo.length||Bo[0]===""?Qr(""):Ci!==xi&&mi())},[Mr,Bo]),oe.useEffect(function(){Mr||mi()},[jr]),oe.useEffect(function(){or(Hr)},[Hr]),pi&&(pi.current={focus:function(){var ja;(ja=Aa.current)===null||ja===void 0||ja.focus()},blur:function(){var ja;(ja=Aa.current)===null||ja===void 0||ja.blur()}});var wa=dn(xi,{formatList:_a,generateConfig:Ia,locale:kn}),ma=(0,kt.Z)(wa,3),Hn=ma[0],jt=ma[1],Yn=ma[2],xn=(0,ct.Z)((0,ct.Z)({},me),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Ct=oe.createElement("div",{className:"".concat(lt,"-panel-layout")},oe.createElement(Wo,{prefixCls:lt,presets:Xa,onClick:function(ja){_o(ja),Zi(!1)}}),oe.createElement(Ta,(0,ue.Z)({},xn,{generateConfig:Ia,className:Ue()((0,ze.Z)({},"".concat(lt,"-panel-focused"),!tn)),value:Wa,locale:kn,tabIndex:-1,onSelect:function(ja){Cn==null||Cn(ja),or(ja)},direction:pn,onPanelChange:function(ja,qr){var cr=me.onPanelChange;Yn(!0),cr==null||cr(ja,qr)}})));Lo&&(Ct=Lo(Ct));var mn=oe.createElement("div",{className:"".concat(lt,"-panel-container"),ref:rr,onMouseDown:function(ja){ja.preventDefault()}},Ct),In;zi&&(In=oe.createElement("span",{className:"".concat(lt,"-suffix"),onMouseDown:function(ja){ja.preventDefault()}},zi));var oa=Xi(lt,Oa,oo),zn=oe.createElement("span",{onMouseDown:function(ja){ja.preventDefault(),ja.stopPropagation()},onMouseUp:function(ja){ja.preventDefault(),ja.stopPropagation(),_o(null),Zi(!1)},className:"".concat(lt,"-clear"),role:"button"},oa),ba=!!Oa&&Hr&&!Oo,ta=(0,ct.Z)((0,ct.Z)((0,ct.Z)({id:qt,tabIndex:Zn,disabled:Oo,readOnly:sa||typeof _a[0]=="function"||!tn,value:Hn||xi,onChange:function(ja){Qr(ja.target.value)},autoFocus:Fr,placeholder:Ai,ref:Aa,title:xi},pe),{},{size:yr(jr,_a[0],Ia),name:Kt},(0,At.Z)(me,{aria:!0,data:!0})),{},{autoComplete:qn}),ia=aa?aa(ta):oe.createElement("input",ta),Ka=function(ja,qr){(qr==="submit"||qr!=="key"&&!zt)&&(_o(ja),Zi(!1))},Pn=pn==="rtl"?"bottomRight":"bottomLeft";return oe.createElement(Wn.Provider,{value:{operationRef:Kr,hideHeader:jr==="time",onSelect:Ka,open:Mr,defaultOpenValue:Si,onDateMouseEnter:jt,onDateMouseLeave:Yn}},oe.createElement(Uo,{visible:Mr,popupElement:mn,popupStyle:fn,prefixCls:lt,dropdownClassName:Ca,dropdownAlign:ga,getPopupContainer:Ii,transitionName:Ba,popupPlacement:Pn,direction:pn},oe.createElement("div",{ref:Ur,className:Ue()(lt,ra,(Se={},(0,ze.Z)(Se,"".concat(lt,"-disabled"),Oo),(0,ze.Z)(Se,"".concat(lt,"-focused"),Lt),(0,ze.Z)(Se,"".concat(lt,"-rtl"),pn==="rtl"),Se)),style:Tn,onMouseDown:Qe,onMouseUp:ot,onMouseEnter:Pt,onMouseLeave:Et,onContextMenu:Ut,onClick:_r},oe.createElement("div",{className:Ue()("".concat(lt,"-input"),(0,ze.Z)({},"".concat(lt,"-input-placeholder"),!!Hn)),ref:Tr},ia,In,ba&&zn))))}var Zl=function(me){(0,Zt.Z)(ye,me);var Se=(0,wn.Z)(ye);function ye(){var tt;(0,dt.Z)(this,ye);for(var lt=arguments.length,qt=new Array(lt),Kt=0;Kt<lt;Kt++)qt[Kt]=arguments[Kt];return tt=Se.call.apply(Se,[this].concat(qt)),(0,ze.Z)((0,Vn.Z)(tt),"pickerRef",oe.createRef()),(0,ze.Z)((0,Vn.Z)(tt),"focus",function(){tt.pickerRef.current&&tt.pickerRef.current.focus()}),(0,ze.Z)((0,Vn.Z)(tt),"blur",function(){tt.pickerRef.current&&tt.pickerRef.current.blur()}),tt}return(0,on.Z)(ye,[{key:"render",value:function(){return oe.createElement(al,(0,ue.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ye}(oe.Component),Nl=Zl;function ho(me,Se){var ye=me.picker,tt=me.locale,lt=me.selectedValue,qt=me.disabledDate,Kt=me.disabled,Zn=me.generateConfig,Tn=Pa(lt,0),ra=Pa(lt,1);function Ca(kn){return Zn.locale.getWeekFirstDate(tt.locale,kn)}function ga(kn){var sa=Zn.getYear(kn),Oa=Zn.getMonth(kn);return sa*100+Oa}function fn(kn){var sa=Zn.getYear(kn),Oa=St(Zn,kn);return sa*10+Oa}var Ba=oe.useCallback(function(kn){if(Kt[0]||qt&&qt(kn))return!0;if(Kt[1]&&ra)return!yt(Zn,kn,ra)&&Zn.isAfter(kn,ra);if(!Se&&ra)switch(ye){case"quarter":return fn(kn)>fn(ra);case"month":return ga(kn)>ga(ra);case"week":return Ca(kn)>Ca(ra);default:return!yt(Zn,kn,ra)&&Zn.isAfter(kn,ra)}return!1},[qt,Kt[1],ra,Se]),Ia=oe.useCallback(function(kn){if(Kt[1]||qt&&qt(kn))return!0;if(Kt[0]&&Tn)return!yt(Zn,kn,ra)&&Zn.isAfter(Tn,kn);if(!Se&&Tn)switch(ye){case"quarter":return fn(kn)<fn(Tn);case"month":return ga(kn)<ga(Tn);case"week":return Ca(kn)<Ca(Tn);default:return!yt(Zn,kn,Tn)&&Zn.isAfter(Tn,kn)}return!1},[qt,Kt[0],Tn,Se]);return[Ba,Ia]}var bl=ee(70425),eu=ee(6089);function Il(me,Se,ye,tt,lt,qt,Kt,Zn,Tn,ra){var Ca=oe.useState(!1),ga=(0,kt.Z)(Ca,2),fn=ga[0],Ba=ga[1],Ia=(0,bl.useMergedState)(me||!1,{value:Se}),kn=(0,kt.Z)(Ia,2),sa=kn[0],Oa=kn[1],Fr=(0,bl.useMergedState)(me||!1,{value:Se,onChange:function(To){ra==null||ra(To)}}),vr=(0,kt.Z)(Fr,2),Br=vr[0],jr=vr[1],Lr=(0,bl.useMergedState)(0,{value:ye}),Gn=(0,kt.Z)(Lr,2),Ko=Gn[0],mo=Gn[1],Ho=oe.useState(null),qo=(0,kt.Z)(Ho,2),ii=qo[0],Si=qo[1];oe.useEffect(function(){Br&&Ba(!0)},[Br]);var zi=function(To){return To===0?1:0},oo=(0,eu.Z)(function(Oo,To,Ai){if(To===!1)jr(Oo);else if(Oo){mo(To),jr(Oo);var Ii=zi(To);!Br||![Kt,Zn][Ii]?Si(Ii):(Ba(!1),ii!==null&&Si(null))}else if(Ai==="confirm"||Ai==="blur"&&tt){var pi=sa?zi(To):ii;pi!==null&&(Ba(!1),mo(pi)),Si(null),pi!==null&&!Tn[pi]?(0,Ln.Z)(function(){var Lo,ol=[lt,qt][pi];(Lo=ol.current)===null||Lo===void 0||Lo.focus()}):jr(!1)}else jr(!1),Oa(!1)});return[Br,Ko,fn,oo]}function Fl(me,Se,ye,tt){var lt=Te(me,ye,tt,1);function qt(Kt){return Kt(me,Se)?"same":Kt(lt,Se)?"closing":"far"}switch(ye){case"year":return qt(function(Kt,Zn){return Oe(tt,Kt,Zn)});case"quarter":case"month":return qt(function(Kt,Zn){return Ie(tt,Kt,Zn)});default:return qt(function(Kt,Zn){return Me(tt,Kt,Zn)})}}function tu(me,Se,ye,tt){var lt=Pa(me,0),qt=Pa(me,1);if(Se===0)return lt;if(lt&&qt){var Kt=Fl(lt,qt,ye,tt);switch(Kt){case"same":return lt;case"closing":return lt;default:return Te(qt,ye,tt,-1)}}return lt}function Qu(me){var Se=me.values,ye=me.picker,tt=me.defaultDates,lt=me.generateConfig,qt=oe.useState(function(){return[Pa(tt,0),Pa(tt,1)]}),Kt=(0,kt.Z)(qt,2),Zn=Kt[0],Tn=Kt[1],ra=oe.useState(null),Ca=(0,kt.Z)(ra,2),ga=Ca[0],fn=Ca[1],Ba=Pa(Se,0),Ia=Pa(Se,1);function kn(Oa){return Zn[Oa]?Zn[Oa]:Pa(ga,Oa)||tu(Se,Oa,ye,lt)||Ba||Ia||lt.getNow()}function sa(Oa,Fr){if(Oa){var vr=Dn(ga,Oa,Fr);Tn(Dn(Zn,null,Fr)||[null,null]);var Br=(Fr+1)%2;Pa(Se,Br)||(vr=Dn(vr,Oa,Br)),fn(vr)}else(Ba||Ia)&&fn(null)}return[kn,sa]}function su(me,Se){return me&&me[0]&&me[1]&&Se.isAfter(me[0],me[1])?[me[1],me[0]]:me}function mu(me,Se,ye,tt){return!!(me||tt&&tt[Se]||ye[(Se+1)%2])}function Yu(me){var Se,ye,tt,lt=me,qt=lt.prefixCls,Kt=qt===void 0?"rc-picker":qt,Zn=lt.id,Tn=lt.style,ra=lt.className,Ca=lt.popupStyle,ga=lt.dropdownClassName,fn=lt.transitionName,Ba=lt.dropdownAlign,Ia=lt.getPopupContainer,kn=lt.generateConfig,sa=lt.locale,Oa=lt.placeholder,Fr=lt.autoFocus,vr=lt.disabled,Br=lt.format,jr=lt.picker,Lr=jr===void 0?"date":jr,Gn=lt.showTime,Ko=lt.use12Hours,mo=lt.separator,Ho=mo===void 0?"~":mo,qo=lt.value,ii=lt.defaultValue,Si=lt.defaultPickerValue,zi=lt.open,oo=lt.defaultOpen,Oo=lt.disabledDate,To=lt.disabledTime,Ai=lt.dateRender,Ii=lt.monthCellRender,pi=lt.cellRender,Lo=lt.panelRender,ol=lt.presets,qi=lt.ranges,Ee=lt.allowEmpty,Ce=lt.allowClear,Qe=lt.suffixIcon,ot=lt.clearIcon,Pt=lt.pickerRef,Et=lt.inputReadOnly,Ut=lt.mode,Yt=lt.renderExtraFooter,$t=lt.onChange,Cn=lt.onOpenChange,pn=lt.onPanelChange,hn=lt.onCalendarChange,qn=lt.onFocus,aa=lt.onBlur,ca=lt.onMouseDown,Aa=lt.onMouseUp,zt=lt.onMouseEnter,Xa=lt.onMouseLeave,_a=lt.onClick,rr=lt.onOk,Tr=lt.onKeyDown,Ur=lt.components,wr=lt.order,Gr=lt.direction,Hr=lt.activePickerIndex,tr=lt.autoComplete,nr=tr===void 0?"off":tr,fr=lt.changeOnBlur,Wa=Lr==="date"&&!!Gn||Lr==="time",or=(0,oe.useRef)(null),Kr=(0,oe.useRef)(null),Po=(0,oe.useRef)(null),lo=(0,oe.useRef)(null),Mr=(0,oe.useRef)(null),fo=(0,oe.useRef)(null),Fo=(0,oe.useRef)(null),Ra=(0,oe.useRef)(null),Bo=Ea(fa(Br,Lr,Gn,Ko)),Ci=(0,oe.useRef)(null),wo=oe.useMemo(function(){return Array.isArray(vr)?vr:[vr||!1,vr||!1]},[vr]),Xr=(0,ft.Z)(null,{value:qo,defaultValue:ii,postState:function(Jr){return Lr==="time"&&!wr?Jr:su(Jr,kn)}}),xi=(0,kt.Z)(Xr,2),Qr=xi[0],mi=xi[1],_o=Qu({values:Qr,picker:Lr,defaultDates:Si,generateConfig:kn}),Zi=(0,kt.Z)(_o,2),to=Zi[0],_r=Zi[1],Yr=(0,ft.Z)(Qr,{postState:function(Jr){var No=Jr;if(wo[0]&&wo[1])return No;for(var bi=0;bi<2;bi+=1)wo[bi]&&!No&&!Pa(No,bi)&&!Pa(Ee,bi)&&(No=Dn(No,kn.getNow(),bi));return No}}),Zr=(0,kt.Z)(Yr,2),ce=Zr[0],pe=Zr[1],Pe=(0,ft.Z)([Lr,Lr],{value:Ut}),Lt=(0,kt.Z)(Pe,2),tn=Lt[0],wa=Lt[1];(0,oe.useEffect)(function(){wa([Lr,Lr])},[Lr]);var ma=function(Jr,No){wa(Jr),pn&&pn(No,Jr)},Hn=Il(oo,zi,Hr,fr,fo,Fo,Pa(ce,0),Pa(ce,1),wo,Cn),jt=(0,kt.Z)(Hn,4),Yn=jt[0],xn=jt[1],Ct=jt[2],mn=jt[3],In=Yn&&xn===0,oa=Yn&&xn===1,zn=ho({picker:Lr,selectedValue:ce,locale:sa,disabled:wo,disabledDate:Oo,generateConfig:kn},!Yn||Ct),ba=(0,kt.Z)(zn,2),ta=ba[0],ia=ba[1],Ka=(0,oe.useState)(0),Pn=(0,kt.Z)(Ka,2),ya=Pn[0],ja=Pn[1];(0,oe.useEffect)(function(){!Yn&&or.current&&ja(or.current.offsetWidth)},[Yn]);function qr(yi){mn(!0,yi,"open"),(0,Ln.Z)(function(){var Jr,No=[fo,Fo][yi];(Jr=No.current)===null||Jr===void 0||Jr.focus()},0)}function cr(yi,Jr){var No=yi,bi=Pa(No,0),Ji=Pa(No,1);bi&&Ji&&kn.isAfter(bi,Ji)&&(Lr==="week"&&!an(kn,sa.locale,bi,Ji)||Lr==="quarter"&&!at(kn,bi,Ji)||Lr!=="week"&&Lr!=="quarter"&&Lr!=="time"&&!yt(kn,bi,Ji)?Jr===0?(No=[bi,null],Ji=null):(bi=null,No=[null,Ji]):(Lr!=="time"||wr!==!1)&&(No=su(No,kn))),pe(No);var Pu=No&&No[0]?xt(No[0],{generateConfig:kn,locale:sa,format:Bo[0]}):"",Ql=No&&No[1]?xt(No[1],{generateConfig:kn,locale:sa,format:Bo[0]}):"";if(hn){var iu={range:Jr===0?"start":"end"};hn(No,[Pu,Ql],iu)}var ql=mu(bi,0,wo,Ee),cs=mu(Ji,1,wo,Ee),$u=No===null||ql&&cs;$u&&(mi(No),$t&&(!cn(kn,Pa(Qr,0),bi)||!cn(kn,Pa(Qr,1),Ji))&&$t(No,[Pu,Ql]))}var li=function(Jr){return Yn&&Ci.current&&Ci.current.onKeyDown?Ci.current.onKeyDown(Jr):((0,Be.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Za={formatList:Bo,generateConfig:kn,locale:sa},Co=Mt(Pa(ce,0),Za),Dr=(0,kt.Z)(Co,2),ao=Dr[0],So=Dr[1],Ei=Mt(Pa(ce,1),Za),fi=(0,kt.Z)(Ei,2),pr=fi[0],vo=fi[1],Ui=function(Jr,No){var bi=Ht(Jr,{locale:sa,formatList:Bo,generateConfig:kn}),Ji=No===0?ta:ia;bi&&!Ji(bi)&&(pe(Dn(ce,bi,No)),_r(bi,No))},Ri=pt({valueTexts:ao,onTextChange:function(Jr){return Ui(Jr,0)}}),ea=(0,kt.Z)(Ri,3),xo=ea[0],Mi=ea[1],Zo=ea[2],Fi=pt({valueTexts:pr,onTextChange:function(Jr){return Ui(Jr,1)}}),ki=(0,kt.Z)(Fi,3),oi=ki[0],il=ki[1],ll=ki[2],jl=(0,oe.useState)(null),Oi=(0,kt.Z)(jl,2),cl=Oi[0],wl=Oi[1],Gl=(0,oe.useState)(null),Ao=(0,kt.Z)(Gl,2),Pi=Ao[0],$i=Ao[1],Hi=dn(xo,{formatList:Bo,generateConfig:kn,locale:sa}),hl=(0,kt.Z)(Hi,3),ul=hl[0],sl=hl[1],Dl=hl[2],Ml=dn(oi,{formatList:Bo,generateConfig:kn,locale:sa}),fl=(0,kt.Z)(Ml,3),el=fl[0],Wl=fl[1],Xo=fl[2],vu=function(Jr){$i(Dn(ce,Jr,xn)),xn===0?sl(Jr):Wl(Jr)},pu=function(){$i(Dn(ce,null,xn)),xn===0?Dl():Xo()},Kl=oe.useState(Yn),gu=(0,kt.Z)(Kl,2),na=gu[0],er=gu[1];oe.useEffect(function(){er(Yn)},[Yn]);var Ro=function(Jr){if(fr&&na){var No=Pa(ce,xn);No&&cr(ce,xn)}return aa==null?void 0:aa(Jr)},Eo=function(Jr,No){return{blurToCancel:!fr&&Wa,forwardKeyDown:li,onBlur:Ro,isClickOutside:function(Ji){return!Rn([Kr.current,Po.current,lo.current,or.current],Ji)},onFocus:function(Ji){qn&&qn(Ji)},triggerOpen:function(Ji){Ji?mn(Ji,Jr,"open"):mn(Ji,Pa(ce,Jr)?Jr:!1,"blur")},onSubmit:function(){if(!ce||Oo&&Oo(ce[Jr]))return!1;cr(ce,Jr),No(),mn(!1,xn,"confirm")},onCancel:function(){mn(!1,Jr,"cancel"),pe(Qr),No()}}},zo={onKeyDown:function(Jr,No){Tr==null||Tr(Jr,No)},changeOnBlur:fr},ci=Bn((0,ct.Z)((0,ct.Z)({},Eo(0,Zo)),{},{open:In,value:xo},zo)),ji=(0,kt.Z)(ci,2),Yo=ji[0],gl=ji[1],vi=gl.focused,Pl=gl.typing,ou=Bn((0,ct.Z)((0,ct.Z)({},Eo(1,ll)),{},{open:oa,value:oi},zo)),ei=(0,kt.Z)(ou,2),Gi=ei[0],Al=ei[1],Sl=Al.focused,Vl=Al.typing,kl=function(Jr){_a&&_a(Jr),!Yn&&!fo.current.contains(Jr.target)&&!Fo.current.contains(Jr.target)&&(wo[0]?wo[1]||qr(1):qr(0))},Ku=function(Jr){ca&&ca(Jr),Yn&&(vi||Sl)&&!fo.current.contains(Jr.target)&&!Fo.current.contains(Jr.target)&&Jr.preventDefault()},Vu=Qr&&Qr[0]?xt(Qr[0],{locale:sa,format:"YYYYMMDDHHmmss",generateConfig:kn}):"",Uu=Qr&&Qr[1]?xt(Qr[1],{locale:sa,format:"YYYYMMDDHHmmss",generateConfig:kn}):"";(0,oe.useEffect)(function(){Yn||(pe(Qr),!ao.length||ao[0]===""?Mi(""):So!==xo&&Zo(),!pr.length||pr[0]===""?il(""):vo!==oi&&ll())},[Yn,ao,pr]),(0,oe.useEffect)(function(){pe(Qr)},[Vu,Uu]);var hu=ka({cellRender:pi,monthCellRender:Ii,dateRender:Ai}),Es=oe.useMemo(function(){if(hu)return function(yi,Jr){return hu(yi,(0,ct.Z)((0,ct.Z)({},Jr),{},{range:xn?"end":"start"}))}},[xn,hu]);Pt&&(Pt.current={focus:function(){fo.current&&fo.current.focus()},blur:function(){fo.current&&fo.current.blur(),Fo.current&&Fo.current.blur()}});var vs=vt(ol,qi);function ds(){var yi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Jr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},No=null;Yn&&Pi&&Pi[0]&&Pi[1]&&kn.isAfter(Pi[1],Pi[0])&&(No=Pi);var bi=Gn;if(Gn&&(0,An.Z)(Gn)==="object"&&Gn.defaultValue){var Ji=Gn.defaultValue;bi=(0,ct.Z)((0,ct.Z)({},Gn),{},{defaultValue:Pa(Ji,xn)||void 0})}return oe.createElement(Sr.Provider,{value:{inRange:!0,panelPosition:yi,rangedValue:cl||ce,hoverRangedValue:No}},oe.createElement(Ta,(0,ue.Z)({},me,Jr,{cellRender:Es,showTime:bi,mode:tn[xn],generateConfig:kn,style:void 0,direction:Gr,disabledDate:xn===0?ta:ia,disabledTime:function(Ql){return To?To(Ql,xn===0?"start":"end"):!1},className:Ue()((0,ze.Z)({},"".concat(Kt,"-panel-focused"),xn===0?!Pl:!Vl)),value:Pa(ce,xn),locale:sa,tabIndex:-1,onPanelChange:function(Ql,iu){xn===0&&Dl(!0),xn===1&&Xo(!0),ma(Dn(tn,iu,xn),Dn(ce,Ql,xn));var ql=Ql;yi==="right"&&tn[xn]===iu&&(ql=Te(ql,iu,kn,-1)),_r(ql,xn)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:xn===0?Pa(ce,1):Pa(ce,0)})))}var Va=0,io=0;if(xn&&Po.current&&Mr.current&&Kr.current&&Ra.current){Va=Po.current.offsetWidth+Mr.current.offsetWidth;var $o=Ra.current.offsetLeft>Va?Ra.current.offsetLeft-Va:Ra.current.offsetLeft,gi=Kr.current.offsetWidth,ti=Ra.current.offsetWidth;gi&&ti&&Va>gi-ti-(Gr==="rtl"?0:$o)&&(io=Va)}var jo=Gr==="rtl"?{right:Va}:{left:Va};function Li(){var yi,Jr=jn(Kt,tn[xn],Yt),No=Xn({prefixCls:Kt,components:Ur,needConfirmButton:Wa,okDisabled:!Pa(ce,xn)||Oo&&Oo(ce[xn]),locale:sa,onOk:function(){var lu=Pa(ce,xn);lu&&(cr(ce,xn),rr==null||rr(ce),mn(!1,xn,"confirm"))}});if(Lr!=="time"&&!Gn){var bi=to(xn),Ji=Te(bi,Lr,kn),Pu=tn[xn],Ql=Pu===Lr,iu=ds(Ql?"left":!1,{pickerValue:bi,onPickerValueChange:function(lu){_r(lu,xn)}}),ql=ds("right",{pickerValue:Ji,onPickerValueChange:function(lu){_r(Te(lu,Lr,kn,-1),xn)}});Gr==="rtl"?yi=oe.createElement(oe.Fragment,null,ql,Ql&&iu):yi=oe.createElement(oe.Fragment,null,iu,Ql&&ql)}else yi=ds();var cs=oe.createElement("div",{className:"".concat(Kt,"-panel-layout")},oe.createElement(Wo,{prefixCls:Kt,presets:vs,onClick:function(lu){cr(lu,null),mn(!1,xn,"preset")},onHover:function(lu){wl(lu)}}),oe.createElement("div",null,oe.createElement("div",{className:"".concat(Kt,"-panels")},yi),(Jr||No)&&oe.createElement("div",{className:"".concat(Kt,"-footer")},Jr,No)));return Lo&&(cs=Lo(cs)),oe.createElement("div",{className:"".concat(Kt,"-panel-container"),style:{marginLeft:io},ref:Kr,onMouseDown:function(lu){lu.preventDefault()}},cs)}var Ki=oe.createElement("div",{className:Ue()("".concat(Kt,"-range-wrapper"),"".concat(Kt,"-").concat(Lr,"-range-wrapper")),style:{minWidth:ya}},oe.createElement("div",{ref:Ra,className:"".concat(Kt,"-range-arrow"),style:jo}),Li()),xl;Qe&&(xl=oe.createElement("span",{className:"".concat(Kt,"-suffix"),onMouseDown:function(Jr){Jr.preventDefault()}},Qe));var Ul=Xi(Kt,Ce,ot),Su=oe.createElement("span",{onMouseDown:function(Jr){Jr.preventDefault(),Jr.stopPropagation()},onMouseUp:function(Jr){Jr.preventDefault(),Jr.stopPropagation();var No=Qr;wo[0]||(No=Dn(No,null,0)),wo[1]||(No=Dn(No,null,1)),cr(No,null),mn(!1,xn,"clear")},className:"".concat(Kt,"-clear"),role:"button"},Ul),Ll=Ce&&(Pa(Qr,0)&&!wo[0]||Pa(Qr,1)&&!wo[1]),$l={size:yr(Lr,Bo[0],kn)},Eu=0,Du=0;Po.current&&lo.current&&Mr.current&&(xn===0?Du=Po.current.offsetWidth:(Eu=Va,Du=lo.current.offsetWidth));var ps=Gr==="rtl"?{right:Eu}:{left:Eu},hs=function(Jr,No){var bi=Dn(ce,Jr,xn);if(No==="submit"||No!=="key"&&!Wa){cr(bi,xn),xn===0?Dl():Xo();var Ji=xn===0?1:0;wo[Ji]?mn(!1,!1,"confirm"):mn(!1,xn,"confirm")}else pe(bi)};return oe.createElement(Wn.Provider,{value:{operationRef:Ci,hideHeader:Lr==="time",onDateMouseEnter:vu,onDateMouseLeave:pu,hideRanges:!0,onSelect:hs,open:Yn}},oe.createElement(Uo,{visible:Yn,popupElement:Ki,popupStyle:Ca,prefixCls:Kt,dropdownClassName:ga,dropdownAlign:Ba,getPopupContainer:Ia,transitionName:fn,range:!0,direction:Gr},oe.createElement("div",(0,ue.Z)({ref:or,className:Ue()(Kt,"".concat(Kt,"-range"),ra,(Se={},(0,ze.Z)(Se,"".concat(Kt,"-disabled"),wo[0]&&wo[1]),(0,ze.Z)(Se,"".concat(Kt,"-focused"),xn===0?vi:Sl),(0,ze.Z)(Se,"".concat(Kt,"-rtl"),Gr==="rtl"),Se)),style:Tn,onClick:kl,onMouseEnter:zt,onMouseLeave:Xa,onMouseDown:Ku,onMouseUp:Aa},(0,At.Z)(me,{aria:!0,data:!0})),oe.createElement("div",{className:Ue()("".concat(Kt,"-input"),(ye={},(0,ze.Z)(ye,"".concat(Kt,"-input-active"),xn===0),(0,ze.Z)(ye,"".concat(Kt,"-input-placeholder"),!!ul),ye)),ref:Po},oe.createElement("input",(0,ue.Z)({id:Zn,disabled:wo[0],readOnly:Et||typeof Bo[0]=="function"||!Pl,value:ul||xo,onChange:function(Jr){Mi(Jr.target.value)},autoFocus:Fr,placeholder:Pa(Oa,0)||"",ref:fo},Yo,$l,{autoComplete:nr}))),oe.createElement("div",{className:"".concat(Kt,"-range-separator"),ref:Mr},Ho),oe.createElement("div",{className:Ue()("".concat(Kt,"-input"),(tt={},(0,ze.Z)(tt,"".concat(Kt,"-input-active"),xn===1),(0,ze.Z)(tt,"".concat(Kt,"-input-placeholder"),!!el),tt)),ref:lo},oe.createElement("input",(0,ue.Z)({disabled:wo[1],readOnly:Et||typeof Bo[0]=="function"||!Vl,value:el||oi,onChange:function(Jr){il(Jr.target.value)},placeholder:Pa(Oa,1)||"",ref:Fo},Gi,$l,{autoComplete:nr}))),oe.createElement("div",{className:"".concat(Kt,"-active-bar"),style:(0,ct.Z)((0,ct.Z)({},ps),{},{width:Du,position:"absolute"})}),xl,Ll&&Su)))}var El=function(me){(0,Zt.Z)(ye,me);var Se=(0,wn.Z)(ye);function ye(){var tt;(0,dt.Z)(this,ye);for(var lt=arguments.length,qt=new Array(lt),Kt=0;Kt<lt;Kt++)qt[Kt]=arguments[Kt];return tt=Se.call.apply(Se,[this].concat(qt)),(0,ze.Z)((0,Vn.Z)(tt),"pickerRef",oe.createRef()),(0,ze.Z)((0,Vn.Z)(tt),"focus",function(){tt.pickerRef.current&&tt.pickerRef.current.focus()}),(0,ze.Z)((0,Vn.Z)(tt),"blur",function(){tt.pickerRef.current&&tt.pickerRef.current.blur()}),tt}return(0,on.Z)(ye,[{key:"render",value:function(){return oe.createElement(Yu,(0,ue.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),ye}(oe.Component),Ru=El,Mu=Nl,rl=ee(19080),ku=ee(36355),nu=ee(1684),Ju=ee(19716),bu=ee(32441),Tu=ee(9763),Xu=ee(33234),_u=ee(48183),Cl=ee(64993),Wi=ee(9937),Zu=ee(17313),fs=ee(47585),au=ee(74207),Di=ee(13826),Cu=ee(92899),Hu=ee(37613),rs=ee(83116);const Ol=(me,Se,ye,tt)=>{const{lineHeight:lt}=me,qt=Math.floor(ye*lt)+2,Kt=Math.max((Se-qt)/2,0),Zn=Math.max(Se-qt-Kt,0);return{padding:`${Kt}px ${tt}px ${Zn}px`}},zu=me=>{const{componentCls:Se,pickerCellCls:ye,pickerCellInnerCls:tt,cellHeight:lt,motionDurationSlow:qt,borderRadiusSM:Kt,motionDurationMid:Zn,cellHoverBg:Tn,lineWidth:ra,lineType:Ca,colorPrimary:ga,cellActiveWithRangeBg:fn,colorTextLightSolid:Ba,controlHeightSM:Ia,cellRangeBorderColor:kn,pickerCellBorderGap:sa,cellHoverWithRangeBg:Oa,cellWidth:Fr,colorTextDisabled:vr,cellBgDisabled:Br}=me;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:lt,transform:"translateY(-50%)",transition:`all ${qt}`,content:'""'},[tt]:{position:"relative",zIndex:2,display:"inline-block",minWidth:lt,height:lt,lineHeight:`${lt}px`,borderRadius:Kt,transition:`background ${Zn}, border ${Zn}`},"&-range-hover-start, &-range-hover-end":{[tt]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${ye}-in-view),
&:hover:not(${ye}-selected):not(${ye}-range-start):not(${ye}-range-end):not(${ye}-range-hover-start):not(${ye}-range-hover-end)`]:{[tt]:{background:Tn}},[`&-in-view${ye}-today ${tt}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${ra}px ${Ca} ${ga}`,borderRadius:Kt,content:'""'}},[`&-in-view${ye}-in-range`]:{position:"relative","&::before":{background:fn}},[`&-in-view${ye}-selected ${tt},
&-in-view${ye}-range-start ${tt},
&-in-view${ye}-range-end ${tt}`]:{color:Ba,background:ga},[`&-in-view${ye}-range-start:not(${ye}-range-start-single),
&-in-view${ye}-range-end:not(${ye}-range-end-single)`]:{"&::before":{background:fn}},[`&-in-view${ye}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${ye}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${ye}-range-hover-start:not(${ye}-in-range):not(${ye}-range-start):not(${ye}-range-end),
&-in-view${ye}-range-hover-end:not(${ye}-in-range):not(${ye}-range-start):not(${ye}-range-end),
&-in-view${ye}-range-hover-start${ye}-range-start-single,
&-in-view${ye}-range-hover-start${ye}-range-start${ye}-range-end${ye}-range-end-near-hover,
&-in-view${ye}-range-hover-end${ye}-range-start${ye}-range-end${ye}-range-start-near-hover,
&-in-view${ye}-range-hover-end${ye}-range-end-single,
&-in-view${ye}-range-hover:not(${ye}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Ia,borderTop:`${ra}px dashed ${kn}`,borderBottom:`${ra}px dashed ${kn}`,transform:"translateY(-50%)",transition:`all ${qt}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:sa},[`&-in-view${ye}-in-range${ye}-range-hover::before,
&-in-view${ye}-in-range${ye}-range-hover-start::before,
&-in-view${ye}-in-range${ye}-range-hover-end::before,
&-in-view${ye}-range-start${ye}-range-hover::before,
&-in-view${ye}-range-end${ye}-range-hover::before,
&-in-view${ye}-range-start:not(${ye}-range-start-single)${ye}-range-hover-start::before,
&-in-view${ye}-range-end:not(${ye}-range-end-single)${ye}-range-hover-end::before,
${Se}-panel
> :not(${Se}-date-panel)
&-in-view${ye}-in-range${ye}-range-hover-start::before,
${Se}-panel
> :not(${Se}-date-panel)
&-in-view${ye}-in-range${ye}-range-hover-end::before`]:{background:Oa},[`&-in-view${ye}-range-start:not(${ye}-range-start-single):not(${ye}-range-end) ${tt}`]:{borderStartStartRadius:Kt,borderEndStartRadius:Kt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${ye}-range-end:not(${ye}-range-end-single):not(${ye}-range-start) ${tt}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Kt,borderEndEndRadius:Kt},[`&-range-hover${ye}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${ye}-range-hover:first-child::after,
tr > &-in-view${ye}-range-hover-end:first-child::after,
&-in-view${ye}-start${ye}-range-hover-edge-start${ye}-range-hover-edge-start-near-range::after,
&-in-view${ye}-range-hover-edge-start:not(${ye}-range-hover-edge-start-near-range)::after,
&-in-view${ye}-range-hover-start::after`]:{insetInlineStart:(Fr-lt)/2,borderInlineStart:`${ra}px dashed ${kn}`,borderStartStartRadius:Kt,borderEndStartRadius:Kt},[`tr > &-in-view${ye}-range-hover:last-child::after,
tr > &-in-view${ye}-range-hover-start:last-child::after,
&-in-view${ye}-end${ye}-range-hover-edge-end${ye}-range-hover-edge-end-near-range::after,
&-in-view${ye}-range-hover-edge-end:not(${ye}-range-hover-edge-end-near-range)::after,
&-in-view${ye}-range-hover-end::after`]:{insetInlineEnd:(Fr-lt)/2,borderInlineEnd:`${ra}px dashed ${kn}`,borderStartEndRadius:Kt,borderEndEndRadius:Kt},"&-disabled":{color:vr,pointerEvents:"none",[tt]:{background:"transparent"},"&::before":{background:Br}},[`&-disabled${ye}-today ${tt}::before`]:{borderColor:vr}}},xu=me=>{const{componentCls:Se,pickerCellCls:ye,pickerCellInnerCls:tt,pickerYearMonthCellWidth:lt,pickerControlIconSize:qt,cellWidth:Kt,paddingSM:Zn,paddingXS:Tn,paddingXXS:ra,colorBgContainer:Ca,lineWidth:ga,lineType:fn,borderRadiusLG:Ba,colorPrimary:Ia,colorTextHeading:kn,colorSplit:sa,pickerControlIconBorderWidth:Oa,colorIcon:Fr,textHeight:vr,motionDurationMid:Br,colorIconHover:jr,fontWeightStrong:Lr,cellHeight:Gn,pickerCellPaddingVertical:Ko,colorTextDisabled:mo,colorText:Ho,fontSize:qo,cellHoverWithRangeBg:ii,motionDurationSlow:Si,withoutTimeCellHeight:zi,pickerQuarterPanelContentHeight:oo,colorLink:Oo,colorLinkActive:To,colorLinkHover:Ai,cellRangeBorderColor:Ii,borderRadiusSM:pi,colorTextLightSolid:Lo,cellHoverBg:ol,timeColumnHeight:qi,timeColumnWidth:Ee,timeCellHeight:Ce,controlItemBgActive:Qe,marginXXS:ot,pickerDatePanelPaddingHorizontal:Pt}=me,Et=Kt*7+Pt*2,Ut=(Et-Tn*2)/3-lt-Zn,Yt=(Et-Tn*2)/4-lt;return{[Se]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Ca,border:`${ga}px ${fn} ${sa}`,borderRadius:Ba,outline:"none","&-focused":{borderColor:Ia},"&-rtl":{direction:"rtl",[`${Se}-prev-icon,
${Se}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Se}-next-icon,
${Se}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:Et},"&-header":{display:"flex",padding:`0 ${Tn}px`,color:kn,borderBottom:`${ga}px ${fn} ${sa}`,"> *":{flex:"none"},button:{padding:0,color:Fr,lineHeight:`${vr}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Br}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:qo,"&:hover":{color:jr}},"&-view":{flex:"auto",fontWeight:Lr,lineHeight:`${vr}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Tn},"&:hover":{color:Ia}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:qt,height:qt,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:qt,height:qt,border:"0 solid currentcolor",borderBlockStartWidth:Oa,borderBlockEndWidth:0,borderInlineStartWidth:Oa,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(qt/2),insetInlineStart:Math.ceil(qt/2),display:"inline-block",width:qt,height:qt,border:"0 solid currentcolor",borderBlockStartWidth:Oa,borderBlockEndWidth:0,borderInlineStartWidth:Oa,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:Gn,fontWeight:"normal"},th:{height:Gn+Ko*2,color:Ho,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Ko}px 0`,color:mo,cursor:"pointer","&-in-view":{color:Ho}},zu(me)),[`&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-start ${tt},
&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-end ${tt}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:ii,transition:`all ${Si}`,content:'""'}},[`&-date-panel
${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-start
${tt}::after`]:{insetInlineEnd:-(Kt-Gn)/2,insetInlineStart:0},[`&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-end ${tt}::after`]:{insetInlineEnd:0,insetInlineStart:-(Kt-Gn)/2},[`&-range-hover${Se}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-content`]:{height:zi*4},[tt]:{padding:`0 ${Tn}px`}},"&-quarter-panel":{[`${Se}-content`]:{height:oo},[`${Se}-cell-range-hover-start::after`]:{insetInlineStart:Yt,borderInlineStart:`${ga}px dashed ${Ii}`,[`${Se}-panel-rtl &`]:{insetInlineEnd:Yt,borderInlineEnd:`${ga}px dashed ${Ii}`}},[`${Se}-cell-range-hover-end::after`]:{insetInlineEnd:Yt,borderInlineEnd:`${ga}px dashed ${Ii}`,[`${Se}-panel-rtl &`]:{insetInlineStart:Yt,borderInlineStart:`${ga}px dashed ${Ii}`}}},[`&-panel ${Se}-footer`]:{borderTop:`${ga}px ${fn} ${sa}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${vr-2*ga}px`,textAlign:"center","&-extra":{padding:`0 ${Zn}px`,lineHeight:`${vr-2*ga}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${ga}px ${fn} ${sa}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Oo,"&:hover":{color:Ai},"&:active":{color:To},[`&${Se}-today-btn-disabled`]:{color:mo,cursor:"not-allowed"}},"&-decade-panel":{[tt]:{padding:`0 ${Tn/2}px`},[`${Se}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-body`]:{padding:`0 ${Tn}px`},[tt]:{width:lt},[`${Se}-cell-range-hover-start::after`]:{borderStartStartRadius:pi,borderEndStartRadius:pi,borderStartEndRadius:0,borderEndEndRadius:0,[`${Se}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:pi,borderEndEndRadius:pi}},[`${Se}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:pi,borderEndEndRadius:pi,[`${Se}-panel-rtl &`]:{borderStartStartRadius:pi,borderEndStartRadius:pi,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${Se}-cell-range-hover-start::after`]:{insetInlineStart:Ut,borderInlineStart:`${ga}px dashed ${Ii}`,[`${Se}-panel-rtl &`]:{insetInlineEnd:Ut,borderInlineEnd:`${ga}px dashed ${Ii}`}},[`${Se}-cell-range-hover-end::after`]:{insetInlineEnd:Ut,borderInlineEnd:`${ga}px dashed ${Ii}`,[`${Se}-panel-rtl &`]:{insetInlineStart:Ut,borderInlineStart:`${ga}px dashed ${Ii}`}}},"&-week-panel":{[`${Se}-body`]:{padding:`${Tn}px ${Zn}px`},[`${Se}-cell`]:{[`&:hover ${tt},
&-selected ${tt},
${tt}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Br}`},"&:first-child:before":{borderStartStartRadius:pi,borderEndStartRadius:pi},"&:last-child:before":{borderStartEndRadius:pi,borderEndEndRadius:pi}},"&:hover td":{"&:before":{background:ol}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${ye}`]:{"&:before":{background:Ia},[`&${Se}-cell-week`]:{color:new Cl.C(Lo).setAlpha(.5).toHexString()},[tt]:{color:Lo}}},"&-range-hover td:before":{background:Qe}}},"&-date-panel":{[`${Se}-body`]:{padding:`${Tn}px ${Pt}px`},[`${Se}-content`]:{width:Kt*7,th:{width:Kt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${Se}-time-panel`]:{borderInlineStart:`${ga}px ${fn} ${sa}`},[`${Se}-date-panel,
${Se}-time-panel`]:{transition:`opacity ${Si}`},"&-active":{[`${Se}-date-panel,
${Se}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${Se}-content`]:{display:"flex",flex:"auto",height:qi},"&-column":{flex:"1 0 auto",width:Ee,margin:`${ra}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Br}`,overflowX:"hidden","&::after":{display:"block",height:qi-Ce,content:'""'},"&:not(:first-child)":{borderInlineStart:`${ga}px ${fn} ${sa}`},"&-active":{background:new Cl.C(Qe).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Se}-time-panel-cell`]:{marginInline:ot,[`${Se}-time-panel-cell-inner`]:{display:"block",width:Ee-2*ot,height:Ce,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Ee-Ce)/2,color:Ho,lineHeight:`${Ce}px`,borderRadius:pi,cursor:"pointer",transition:`background ${Br}`,"&:hover":{background:ol}},"&-selected":{[`${Se}-time-panel-cell-inner`]:{background:Qe}},"&-disabled":{[`${Se}-time-panel-cell-inner`]:{color:mo,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${Se}-time-panel-column:after`]:{height:qi-Ce+ra*2}}}},Fu=me=>{const{componentCls:Se,colorBgContainer:ye,colorError:tt,errorActiveShadow:lt,colorWarning:qt,warningActiveShadow:Kt}=me;return{[`${Se}:not(${Se}-disabled)`]:{[`&${Se}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:ye,borderColor:tt},[`&${Se}-focused, &:focus`]:Object.assign({},(0,Wi.M1)((0,Hu.TS)(me,{activeBorderColor:tt,activeShadow:lt}))),[`${Se}-active-bar`]:{background:tt}},[`&${Se}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:ye,borderColor:qt},[`&${Se}-focused, &:focus`]:Object.assign({},(0,Wi.M1)((0,Hu.TS)(me,{activeBorderColor:qt,activeShadow:Kt}))),[`${Se}-active-bar`]:{background:qt}}}}},Bl=me=>{const{componentCls:Se,antCls:ye,controlHeight:tt,fontSize:lt,paddingInline:qt,colorBgContainer:Kt,lineWidth:Zn,lineType:Tn,colorBorder:ra,borderRadius:Ca,motionDurationMid:ga,colorBgContainerDisabled:fn,colorTextDisabled:Ba,colorTextPlaceholder:Ia,controlHeightLG:kn,fontSizeLG:sa,controlHeightSM:Oa,paddingInlineSM:Fr,paddingXS:vr,marginXS:Br,colorTextDescription:jr,lineWidthBold:Lr,lineHeight:Gn,colorPrimary:Ko,motionDurationSlow:mo,zIndexPopup:Ho,paddingXXS:qo,paddingSM:ii,textHeight:Si,cellActiveWithRangeBg:zi,colorPrimaryBorder:oo,sizePopupArrow:Oo,borderRadiusXS:To,borderRadiusOuter:Ai,colorBgElevated:Ii,borderRadiusLG:pi,boxShadowSecondary:Lo,borderRadiusSM:ol,colorSplit:qi,cellHoverBg:Ee,presetsWidth:Ce,presetsMaxWidth:Qe,boxShadowPopoverArrow:ot,colorTextQuaternary:Pt}=me;return[{[Se]:Object.assign(Object.assign(Object.assign({},(0,Zu.Wf)(me)),Ol(me,tt,lt,qt)),{position:"relative",display:"inline-flex",alignItems:"center",background:Kt,lineHeight:1,border:`${Zn}px ${Tn} ${ra}`,borderRadius:Ca,transition:`border ${ga}, box-shadow ${ga}`,"&:hover, &-focused":Object.assign({},(0,Wi.pU)(me)),"&-focused":Object.assign({},(0,Wi.M1)(me)),[`&${Se}-disabled`]:{background:fn,borderColor:ra,cursor:"not-allowed",[`${Se}-suffix`]:{color:Pt}},[`&${Se}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${Se}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,Wi.ik)(me)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${Se}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Ia}}},"&-large":Object.assign(Object.assign({},Ol(me,kn,sa,qt)),{[`${Se}-input > input`]:{fontSize:sa}}),"&-small":Object.assign({},Ol(me,Oa,lt,Fr)),[`${Se}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:vr/2,color:Ba,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Br}}},[`${Se}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Ba,lineHeight:1,background:Kt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${ga}, color ${ga}`,"> *":{verticalAlign:"top"},"&:hover":{color:jr}},[`${Se}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:sa,color:Ba,fontSize:sa,verticalAlign:"top",cursor:"default",[`${Se}-focused &`]:{color:jr},[`${Se}-range-separator &`]:{[`${Se}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Se}-clear`]:{insetInlineEnd:qt},"&:hover":{[`${Se}-clear`]:{opacity:1}},[`${Se}-active-bar`]:{bottom:-Zn,height:Lr,marginInlineStart:qt,background:Ko,opacity:0,transition:`all ${mo} ease-out`,pointerEvents:"none"},[`&${Se}-focused`]:{[`${Se}-active-bar`]:{opacity:1}},[`${Se}-range-separator`]:{alignItems:"center",padding:`0 ${vr}px`,lineHeight:1},[`&${Se}-small`]:{[`${Se}-clear`]:{insetInlineEnd:Fr},[`${Se}-active-bar`]:{marginInlineStart:Fr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Zu.Wf)(me)),xu(me)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Ho,[`&${Se}-dropdown-hidden`]:{display:"none"},[`&${Se}-dropdown-placement-bottomLeft`]:{[`${Se}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Se}-dropdown-placement-topLeft`]:{[`${Se}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${ye}-slide-up-enter${ye}-slide-up-enter-active${Se}-dropdown-placement-topLeft,
&${ye}-slide-up-enter${ye}-slide-up-enter-active${Se}-dropdown-placement-topRight,
&${ye}-slide-up-appear${ye}-slide-up-appear-active${Se}-dropdown-placement-topLeft,
&${ye}-slide-up-appear${ye}-slide-up-appear-active${Se}-dropdown-placement-topRight`]:{animationName:Di.Qt},[`&${ye}-slide-up-enter${ye}-slide-up-enter-active${Se}-dropdown-placement-bottomLeft,
&${ye}-slide-up-enter${ye}-slide-up-enter-active${Se}-dropdown-placement-bottomRight,
&${ye}-slide-up-appear${ye}-slide-up-appear-active${Se}-dropdown-placement-bottomLeft,
&${ye}-slide-up-appear${ye}-slide-up-appear-active${Se}-dropdown-placement-bottomRight`]:{animationName:Di.fJ},[`&${ye}-slide-up-leave${ye}-slide-up-leave-active${Se}-dropdown-placement-topLeft,
&${ye}-slide-up-leave${ye}-slide-up-leave-active${Se}-dropdown-placement-topRight`]:{animationName:Di.ly},[`&${ye}-slide-up-leave${ye}-slide-up-leave-active${Se}-dropdown-placement-bottomLeft,
&${ye}-slide-up-leave${ye}-slide-up-leave-active${Se}-dropdown-placement-bottomRight`]:{animationName:Di.Uw},[`${Se}-panel > ${Se}-time-panel`]:{paddingTop:qo},[`${Se}-ranges`]:{marginBottom:0,padding:`${qo}px ${ii}px`,overflow:"hidden",lineHeight:`${Si-2*Zn-vr/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${Se}-preset > ${ye}-tag-blue`]:{color:Ko,background:zi,borderColor:oo,cursor:"pointer"},[`${Se}-ok`]:{marginInlineStart:"auto"}},[`${Se}-range-wrapper`]:{display:"flex",position:"relative"},[`${Se}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:qt*1.5,transition:`left ${mo} ease-out`},(0,fs.r)(Oo,To,Ai,Ii,ot)),[`${Se}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Ii,borderRadius:pi,boxShadow:Lo,transition:`margin ${mo}`,[`${Se}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Se}-presets`]:{display:"flex",flexDirection:"column",minWidth:Ce,maxWidth:Qe,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:vr,borderInlineEnd:`${Zn}px ${Tn} ${qi}`,li:Object.assign(Object.assign({},Zu.vS),{borderRadius:ol,paddingInline:vr,paddingBlock:(Oa-Math.round(lt*Gn))/2,cursor:"pointer",transition:`all ${mo}`,"+ li":{marginTop:Br},"&:hover":{background:Ee}})}},[`${Se}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${Se}-panel`]:{borderWidth:`0 0 ${Zn}px`},"&:last-child":{[`${Se}-panel`]:{borderWidth:0}}},[`${Se}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Se}-content,
table`]:{textAlign:"center"},"&-focused":{borderColor:ra}}}}),"&-dropdown-range":{padding:`${Oo*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Se}-separator`]:{transform:"rotate(180deg)"},[`${Se}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Di.oN)(me,"slide-up"),(0,Di.oN)(me,"slide-down"),(0,Cu.Fm)(me,"move-up"),(0,Cu.Fm)(me,"move-down")]},Hl=me=>{const{componentCls:Se,controlHeightLG:ye,paddingXXS:tt,padding:lt}=me;return{pickerCellCls:`${Se}-cell`,pickerCellInnerCls:`${Se}-cell-inner`,pickerYearMonthCellWidth:ye*1.5,pickerQuarterPanelContentHeight:ye*1.4,pickerCellPaddingVertical:tt+tt/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:lt+tt/2}},os=me=>({cellHoverBg:me.controlItemBgHover,cellActiveWithRangeBg:me.controlItemBgActive,cellHoverWithRangeBg:new Cl.C(me.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Cl.C(me.colorPrimary).lighten(20).toHexString(),cellBgDisabled:me.colorBgContainerDisabled,timeColumnWidth:me.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:me.controlHeightSM*1.5,cellHeight:me.controlHeightSM,textHeight:me.controlHeightLG,withoutTimeCellHeight:me.controlHeightLG*1.65});var qu=(0,rs.Z)("DatePicker",me=>{const Se=(0,Hu.TS)((0,Wi.e5)(me),Hl(me));return[Bl(Se),Fu(Se),(0,au.c)(me,{focusElCls:`${me.componentCls}-focused`})]},me=>Object.assign(Object.assign(Object.assign({},(0,Wi.TM)(me)),os(me)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:me.zIndexPopupBase+50}));function ju(me,Se,ye){return ye!==void 0?ye:Se==="year"&&me.lang.yearPlaceholder?me.lang.yearPlaceholder:Se==="quarter"&&me.lang.quarterPlaceholder?me.lang.quarterPlaceholder:Se==="month"&&me.lang.monthPlaceholder?me.lang.monthPlaceholder:Se==="week"&&me.lang.weekPlaceholder?me.lang.weekPlaceholder:Se==="time"&&me.timePickerLocale.placeholder?me.timePickerLocale.placeholder:me.lang.placeholder}function Ar(me,Se,ye){return ye!==void 0?ye:Se==="year"&&me.lang.yearPlaceholder?me.lang.rangeYearPlaceholder:Se==="quarter"&&me.lang.quarterPlaceholder?me.lang.rangeQuarterPlaceholder:Se==="month"&&me.lang.monthPlaceholder?me.lang.rangeMonthPlaceholder:Se==="week"&&me.lang.weekPlaceholder?me.lang.rangeWeekPlaceholder:Se==="time"&&me.timePickerLocale.placeholder?me.timePickerLocale.rangePlaceholder:me.lang.rangePlaceholder}function Bu(me,Se){const ye={adjustX:1,adjustY:1};switch(Se){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:ye};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:ye};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:ye};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:ye};default:return{points:me==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:ye}}}function Yl(me){return me?Array.isArray(me)?me:[me]:[]}function zl(me){const{format:Se,picker:ye,showHour:tt,showMinute:lt,showSecond:qt,use12Hours:Kt}=me,Zn=Yl(Se)[0],Tn=Object.assign({},me);return Se&&Array.isArray(Se)&&(Tn.format=Zn),Zn&&typeof Zn=="string"&&(!Zn.includes("s")&&qt===void 0&&(Tn.showSecond=!1),!Zn.includes("m")&&lt===void 0&&(Tn.showMinute=!1),!Zn.includes("H")&&!Zn.includes("h")&&!Zn.includes("K")&&!Zn.includes("k")&&tt===void 0&&(Tn.showHour=!1),(Zn.includes("a")||Zn.includes("A"))&&Kt===void 0&&(Tn.use12Hours=!0)),ye==="time"?Tn:(typeof Zn=="function"&&delete Tn.format,{showTime:Tn})}function qa(me,Se,ye){if(me===!1)return!1;const tt={clearIcon:Se!=null?Se:ye};return typeof me=="object"?Object.assign(Object.assign({},tt),me):tt}var du=ee(3113);function es(me){return oe.createElement(du.ZP,Object.assign({size:"small",type:"primary"},me))}var wu={button:es},ts=function(me,Se){var ye={};for(var tt in me)Object.prototype.hasOwnProperty.call(me,tt)&&Se.indexOf(tt)<0&&(ye[tt]=me[tt]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,tt=Object.getOwnPropertySymbols(me);lt<tt.length;lt++)Se.indexOf(tt[lt])<0&&Object.prototype.propertyIsEnumerable.call(me,tt[lt])&&(ye[tt[lt]]=me[tt[lt]]);return ye};function cu(me){return(0,oe.forwardRef)((ye,tt)=>{const{prefixCls:lt,getPopupContainer:qt,className:Kt,placement:Zn,size:Tn,disabled:ra,bordered:Ca=!0,placeholder:ga,popupClassName:fn,dropdownClassName:Ba,status:Ia,clearIcon:kn,allowClear:sa,rootClassName:Oa}=ye,Fr=ts(ye,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),vr=oe.useRef(null),{getPrefixCls:Br,direction:jr,getPopupContainer:Lr}=(0,oe.useContext)(ku.E_),Gn=Br("picker",lt),{compactSize:Ko,compactItemClassnames:mo}=(0,Xu.ri)(Gn,jr),{format:Ho,showTime:qo,picker:ii}=ye,Si=Br(),[zi,oo]=qu(Gn),Oo=Object.assign(Object.assign({},qo?zl(Object.assign({format:Ho,picker:ii},qo)):{}),ii==="time"?zl(Object.assign(Object.assign({format:Ho},ye),{picker:ii})):{}),To=(0,Ju.Z)(ot=>{var Pt;return(Pt=Tn!=null?Tn:Ko)!==null&&Pt!==void 0?Pt:ot}),Ai=oe.useContext(nu.Z),Ii=ra!=null?ra:Ai,pi=(0,oe.useContext)(bu.aM),{hasFeedback:Lo,status:ol,feedbackIcon:qi}=pi,Ee=oe.createElement(oe.Fragment,null,ii==="time"?oe.createElement(rt,null):oe.createElement(he,null),Lo&&qi);(0,oe.useImperativeHandle)(tt,()=>({focus:()=>{var ot;return(ot=vr.current)===null||ot===void 0?void 0:ot.focus()},blur:()=>{var ot;return(ot=vr.current)===null||ot===void 0?void 0:ot.blur()}}));const[Ce]=(0,Tu.Z)("Calendar",_u.Z),Qe=Object.assign(Object.assign({},Ce),ye.locale);return zi(oe.createElement(Ru,Object.assign({separator:oe.createElement("span",{"aria-label":"to",className:`${Gn}-separator`},oe.createElement(rn,null)),disabled:Ii,ref:vr,dropdownAlign:Bu(jr,Zn),placeholder:Ar(Qe,ii,ga),suffixIcon:Ee,prevIcon:oe.createElement("span",{className:`${Gn}-prev-icon`}),nextIcon:oe.createElement("span",{className:`${Gn}-next-icon`}),superPrevIcon:oe.createElement("span",{className:`${Gn}-super-prev-icon`}),superNextIcon:oe.createElement("span",{className:`${Gn}-super-next-icon`}),transitionName:`${Si}-slide-up`},Fr,Oo,{className:Ue()({[`${Gn}-${To}`]:To,[`${Gn}-borderless`]:!Ca},(0,rl.Z)(Gn,(0,rl.F)(ol,Ia),Lo),oo,mo,Kt,Oa),locale:Qe.lang,prefixCls:Gn,getPopupContainer:qt||Lr,generateConfig:me,components:wu,direction:jr,dropdownClassName:Ue()(oo,fn||Ba,Oa),allowClear:qa(sa,kn,oe.createElement(ut.Z,null))})))})}var Yi=function(me,Se){var ye={};for(var tt in me)Object.prototype.hasOwnProperty.call(me,tt)&&Se.indexOf(tt)<0&&(ye[tt]=me[tt]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,tt=Object.getOwnPropertySymbols(me);lt<tt.length;lt++)Se.indexOf(tt[lt])<0&&Object.prototype.propertyIsEnumerable.call(me,tt[lt])&&(ye[tt[lt]]=me[tt[lt]]);return ye};function ls(me){function Se(Tn,ra){const Ca=ra==="TimePicker"?"timePicker":"datePicker",ga=(0,oe.forwardRef)((fn,Ba)=>{const{prefixCls:Ia,getPopupContainer:kn,style:sa,className:Oa,rootClassName:Fr,size:vr,bordered:Br=!0,placement:jr,placeholder:Lr,popupClassName:Gn,dropdownClassName:Ko,disabled:mo,status:Ho,clearIcon:qo,allowClear:ii}=fn,Si=Yi(fn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:zi,direction:oo,getPopupContainer:Oo,[Ca]:To}=(0,oe.useContext)(ku.E_),Ai=zi("picker",Ia),{compactSize:Ii,compactItemClassnames:pi}=(0,Xu.ri)(Ai,oo),Lo=oe.useRef(null),{format:ol,showTime:qi}=fn,[Ee,Ce]=qu(Ai);(0,oe.useImperativeHandle)(Ba,()=>({focus:()=>{var zt;return(zt=Lo.current)===null||zt===void 0?void 0:zt.focus()},blur:()=>{var zt;return(zt=Lo.current)===null||zt===void 0?void 0:zt.blur()}}));const Qe={showToday:!0};let ot={};Tn&&(ot.picker=Tn);const Pt=Tn||fn.picker;ot=Object.assign(Object.assign(Object.assign({},ot),qi?zl(Object.assign({format:ol,picker:Pt},qi)):{}),Pt==="time"?zl(Object.assign(Object.assign({format:ol},fn),{picker:Pt})):{});const Et=zi(),Ut=(0,Ju.Z)(zt=>{var Xa;return(Xa=vr!=null?vr:Ii)!==null&&Xa!==void 0?Xa:zt}),Yt=oe.useContext(nu.Z),$t=mo!=null?mo:Yt,Cn=(0,oe.useContext)(bu.aM),{hasFeedback:pn,status:hn,feedbackIcon:qn}=Cn,aa=oe.createElement(oe.Fragment,null,Pt==="time"?oe.createElement(rt,null):oe.createElement(he,null),pn&&qn),[ca]=(0,Tu.Z)("DatePicker",_u.Z),Aa=Object.assign(Object.assign({},ca),fn.locale);return Ee(oe.createElement(Mu,Object.assign({ref:Lo,placeholder:ju(Aa,Pt,Lr),suffixIcon:aa,dropdownAlign:Bu(oo,jr),prevIcon:oe.createElement("span",{className:`${Ai}-prev-icon`}),nextIcon:oe.createElement("span",{className:`${Ai}-next-icon`}),superPrevIcon:oe.createElement("span",{className:`${Ai}-super-prev-icon`}),superNextIcon:oe.createElement("span",{className:`${Ai}-super-next-icon`}),transitionName:`${Et}-slide-up`},Qe,Si,ot,{locale:Aa.lang,className:Ue()({[`${Ai}-${Ut}`]:Ut,[`${Ai}-borderless`]:!Br},(0,rl.Z)(Ai,(0,rl.F)(hn,Ho),pn),Ce,pi,To==null?void 0:To.className,Oa,Fr),style:Object.assign(Object.assign({},To==null?void 0:To.style),sa),prefixCls:Ai,getPopupContainer:kn||Oo,generateConfig:me,components:wu,direction:oo,disabled:$t,dropdownClassName:Ue()(Ce,Fr,Gn||Ko),allowClear:qa(ii,qo,oe.createElement(ut.Z,null))})))});return ra&&(ga.displayName=ra),ga}const ye=Se(),tt=Se("week","WeekPicker"),lt=Se("month","MonthPicker"),qt=Se("year","YearPicker"),Kt=Se("time","TimePicker"),Zn=Se("quarter","QuarterPicker");return{DatePicker:ye,WeekPicker:tt,MonthPicker:lt,YearPicker:qt,TimePicker:Kt,QuarterPicker:Zn}}const us=null;function ss(me){const{DatePicker:Se,WeekPicker:ye,MonthPicker:tt,YearPicker:lt,TimePicker:qt,QuarterPicker:Kt}=ls(me),Zn=cu(me),Tn=Se;return Tn.WeekPicker=ye,Tn.MonthPicker=tt,Tn.YearPicker=lt,Tn.RangePicker=Zn,Tn.TimePicker=qt,Tn.QuarterPicker=Kt,Tn}var Gu=ss;const Jl=Gu(ne);function Xl(me){const Se=Bu(me.direction,me.placement);return Se.overflow.adjustY=!1,Se.overflow.adjustX=!1,Object.assign(Object.assign({},me),{dropdownAlign:Se})}const ru=(0,re.Z)(Jl,"picker",null,Xl);Jl._InternalPanelDoNotUseOrYouWillBeFired=ru;const fu=(0,re.Z)(Jl.RangePicker,"picker",null,Xl);Jl._InternalRangePanelDoNotUseOrYouWillBeFired=fu,Jl.generatePicker=Gu;var Wu=Jl},43428:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return ze}});var b=ee(92310),de=ee.n(b),Be=ee(20439),Ne=ee(50298),Ze=ee(43403),ke=ee(34280),le=ee(59301),st=le.createContext(null),et=le.createContext({}),Ve=st,je=ee(4635),Xe=ee(14809),Ye=ee(77900),se=ee(10228),E=ee(26112),a=ee(70425),x=function(kt){var ft=kt.prefixCls,At=kt.className,it=kt.style,nt=kt.children,De=kt.containerRef,fe=kt.id,Je=kt.onMouseEnter,It=kt.onMouseOver,Oe=kt.onMouseLeave,Ie=kt.onClick,St=kt.onKeyDown,at=kt.onKeyUp,Me={onMouseEnter:Je,onMouseOver:It,onMouseLeave:Oe,onClick:Ie,onKeyDown:St,onKeyUp:at},yt=le.useContext(et),Fn=yt.panel,an=(0,a.useComposeRef)(Fn,De);return le.createElement(le.Fragment,null,le.createElement("div",(0,Xe.Z)({id:fe,className:de()("".concat(ft,"-content"),At),style:(0,Be.Z)({},it),"aria-modal":"true",role:"dialog",ref:an},Me),nt))},y=x,z=ee(48736);function ne(ct){return typeof ct=="string"&&String(Number(ct))===ct?((0,z.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(ct)):ct}function re(ct){warning(!("wrapperClassName"in ct),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!ct.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ue={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function oe(ct,kt){var ft,At,it,nt,De=ct.prefixCls,fe=ct.open,Je=ct.placement,It=ct.inline,Oe=ct.push,Ie=ct.forceRender,St=ct.autoFocus,at=ct.keyboard,Me=ct.rootClassName,yt=ct.rootStyle,Fn=ct.zIndex,an=ct.className,cn=ct.id,sn=ct.style,yn=ct.motion,Te=ct.width,xt=ct.height,Ht=ct.children,Bt=ct.contentWrapperStyle,Mt=ct.mask,dn=ct.maskClosable,gn=ct.maskMotion,Ln=ct.maskClassName,Jn=ct.maskStyle,va=ct.afterOpenChange,Da=ct.onClose,Na=ct.onMouseEnter,ar=ct.onMouseOver,Ua=ct.onMouseLeave,fa=ct.onClick,yr=ct.onKeyDown,en=ct.onKeyUp,On=le.useRef(),la=le.useRef(),xa=le.useRef();le.useImperativeHandle(kt,function(){return On.current});var Ge=function(Ea){var Pa=Ea.keyCode,Dn=Ea.shiftKey;switch(Pa){case se.Z.TAB:{if(Pa===se.Z.TAB){if(!Dn&&document.activeElement===xa.current){var lr;(lr=la.current)===null||lr===void 0||lr.focus({preventScroll:!0})}else if(Dn&&document.activeElement===la.current){var Nr;(Nr=xa.current)===null||Nr===void 0||Nr.focus({preventScroll:!0})}}break}case se.Z.ESC:{Da&&at&&(Ea.stopPropagation(),Da(Ea));break}}};le.useEffect(function(){if(fe&&St){var _n;(_n=On.current)===null||_n===void 0||_n.focus({preventScroll:!0})}},[fe]);var Ot=le.useState(!1),_t=(0,Ne.Z)(Ot,2),Vt=_t[0],Wt=_t[1],Rn=le.useContext(Ve),Bn;Oe===!1?Bn={distance:0}:Oe===!0?Bn={}:Bn=Oe||{};var vt=(ft=(At=(it=Bn)===null||it===void 0?void 0:it.distance)!==null&&At!==void 0?At:Rn==null?void 0:Rn.pushDistance)!==null&&ft!==void 0?ft:180,Ft=le.useMemo(function(){return{pushDistance:vt,push:function(){Wt(!0)},pull:function(){Wt(!1)}}},[vt]);le.useEffect(function(){if(fe){var _n;Rn==null||(_n=Rn.push)===null||_n===void 0||_n.call(Rn)}else{var Ea;Rn==null||(Ea=Rn.pull)===null||Ea===void 0||Ea.call(Rn)}},[fe]),le.useEffect(function(){return function(){var _n;Rn==null||(_n=Rn.pull)===null||_n===void 0||_n.call(Rn)}},[]);var pt=Mt&&le.createElement(Ye.default,(0,Xe.Z)({key:"mask"},gn,{visible:fe}),function(_n,Ea){var Pa=_n.className,Dn=_n.style;return le.createElement("div",{className:de()("".concat(De,"-mask"),Pa,Ln),style:(0,Be.Z)((0,Be.Z)({},Dn),Jn),onClick:dn&&fe?Da:void 0,ref:Ea})}),Sn=typeof yn=="function"?yn(Je):yn,Wn={};if(Vt&&vt)switch(Je){case"top":Wn.transform="translateY(".concat(vt,"px)");break;case"bottom":Wn.transform="translateY(".concat(-vt,"px)");break;case"left":Wn.transform="translateX(".concat(vt,"px)");break;default:Wn.transform="translateX(".concat(-vt,"px)");break}Je==="left"||Je==="right"?Wn.width=ne(Te):Wn.height=ne(xt);var An={onMouseEnter:Na,onMouseOver:ar,onMouseLeave:Ua,onClick:fa,onKeyDown:yr,onKeyUp:en},ka=le.createElement(Ye.default,(0,Xe.Z)({key:"panel"},Sn,{visible:fe,forceRender:Ie,onVisibleChanged:function(Ea){va==null||va(Ea)},removeOnLeave:!1,leavedClassName:"".concat(De,"-content-wrapper-hidden")}),function(_n,Ea){var Pa=_n.className,Dn=_n.style;return le.createElement("div",(0,Xe.Z)({className:de()("".concat(De,"-content-wrapper"),Pa),style:(0,Be.Z)((0,Be.Z)((0,Be.Z)({},Wn),Dn),Bt)},(0,E.Z)(ct,{data:!0})),le.createElement(y,(0,Xe.Z)({id:cn,containerRef:Ea,prefixCls:De,className:an,style:sn},An),Ht))}),pa=(0,Be.Z)({},yt);return Fn&&(pa.zIndex=Fn),le.createElement(Ve.Provider,{value:Ft},le.createElement("div",{className:de()(De,"".concat(De,"-").concat(Je),Me,(nt={},(0,je.Z)(nt,"".concat(De,"-open"),fe),(0,je.Z)(nt,"".concat(De,"-inline"),It),nt)),style:pa,tabIndex:-1,ref:On,onKeyDown:Ge},pt,le.createElement("div",{tabIndex:0,ref:la,style:ue,"aria-hidden":"true","data-sentinel":"start"}),ka,le.createElement("div",{tabIndex:0,ref:xa,style:ue,"aria-hidden":"true","data-sentinel":"end"})))}var ve=le.forwardRef(oe),be=ve,We=function(kt){var ft=kt.open,At=ft===void 0?!1:ft,it=kt.prefixCls,nt=it===void 0?"rc-drawer":it,De=kt.placement,fe=De===void 0?"right":De,Je=kt.autoFocus,It=Je===void 0?!0:Je,Oe=kt.keyboard,Ie=Oe===void 0?!0:Oe,St=kt.width,at=St===void 0?378:St,Me=kt.mask,yt=Me===void 0?!0:Me,Fn=kt.maskClosable,an=Fn===void 0?!0:Fn,cn=kt.getContainer,sn=kt.forceRender,yn=kt.afterOpenChange,Te=kt.destroyOnClose,xt=kt.onMouseEnter,Ht=kt.onMouseOver,Bt=kt.onMouseLeave,Mt=kt.onClick,dn=kt.onKeyDown,gn=kt.onKeyUp,Ln=kt.panelRef,Jn=le.useState(!1),va=(0,Ne.Z)(Jn,2),Da=va[0],Na=va[1],ar=le.useState(!1),Ua=(0,Ne.Z)(ar,2),fa=Ua[0],yr=Ua[1];(0,ke.Z)(function(){yr(!0)},[]);var en=fa?At:!1,On=le.useRef(),la=le.useRef();(0,ke.Z)(function(){en&&(la.current=document.activeElement)},[en]);var xa=function(Wt){var Rn;if(Na(Wt),yn==null||yn(Wt),!Wt&&la.current&&!((Rn=On.current)!==null&&Rn!==void 0&&Rn.contains(la.current))){var Bn;(Bn=la.current)===null||Bn===void 0||Bn.focus({preventScroll:!0})}},Ge=le.useMemo(function(){return{panel:Ln}},[Ln]);if(!sn&&!Da&&!en&&Te)return null;var Ot={onMouseEnter:xt,onMouseOver:Ht,onMouseLeave:Bt,onClick:Mt,onKeyDown:dn,onKeyUp:gn},_t=(0,Be.Z)((0,Be.Z)({},kt),{},{open:en,prefixCls:nt,placement:fe,autoFocus:It,keyboard:Ie,width:at,mask:yt,maskClosable:an,inline:cn===!1,afterOpenChange:xa,ref:On},Ot);return le.createElement(et.Provider,{value:Ge},le.createElement(Ze.Z,{open:en||sn||Da,autoDestroy:!1,getContainer:cn,autoLock:yt&&(en||Da)},le.createElement(be,_t)))},Ae=We,He=Ae,he=ee(62892),qe=ee(36355),Ke=ee(32441),ht=ee(47729),rt=ct=>{const{prefixCls:kt,title:ft,footer:At,extra:it,closeIcon:nt,closable:De,onClose:fe,headerStyle:Je,drawerStyle:It,bodyStyle:Oe,footerStyle:Ie,children:St}=ct,at=le.useCallback(cn=>le.createElement("button",{type:"button",onClick:fe,"aria-label":"Close",className:`${kt}-close`},cn),[fe]),[Me,yt]=(0,ht.Z)(De,nt,at,void 0,!0),Fn=le.useMemo(()=>!ft&&!Me?null:le.createElement("div",{style:Je,className:de()(`${kt}-header`,{[`${kt}-header-close-only`]:Me&&!ft&&!it})},le.createElement("div",{className:`${kt}-header-title`},yt,ft&&le.createElement("div",{className:`${kt}-title`},ft)),it&&le.createElement("div",{className:`${kt}-extra`},it)),[Me,yt,it,Je,kt,ft]),an=le.useMemo(()=>{if(!At)return null;const cn=`${kt}-footer`;return le.createElement("div",{className:cn,style:Ie},At)},[At,Ie,kt]);return le.createElement("div",{className:`${kt}-wrapper-body`,style:It},Fn,le.createElement("div",{className:`${kt}-body`,style:Oe},St),an)},ut=ee(33234),gt=ee(83116),mt=ee(37613),Nt=ct=>{const{componentCls:kt,motionDurationSlow:ft}=ct,At={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${ft}`}}};return{[kt]:{[`${kt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${ft}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${kt}-panel-motion`]:{"&-left":[At,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[At,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[At,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[At,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const rn=ct=>{const{componentCls:kt,zIndexPopup:ft,colorBgMask:At,colorBgElevated:it,motionDurationSlow:nt,motionDurationMid:De,padding:fe,paddingLG:Je,fontSizeLG:It,lineHeightLG:Oe,lineWidth:Ie,lineType:St,colorSplit:at,marginSM:Me,colorIcon:yt,colorIconHover:Fn,colorText:an,fontWeightStrong:cn,footerPaddingBlock:sn,footerPaddingInline:yn}=ct,Te=`${kt}-content-wrapper`;return{[kt]:{position:"fixed",inset:0,zIndex:ft,pointerEvents:"none","&-pure":{position:"relative",background:it,[`&${kt}-left`]:{boxShadow:ct.boxShadowDrawerLeft},[`&${kt}-right`]:{boxShadow:ct.boxShadowDrawerRight},[`&${kt}-top`]:{boxShadow:ct.boxShadowDrawerUp},[`&${kt}-bottom`]:{boxShadow:ct.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${kt}-mask`]:{position:"absolute",inset:0,zIndex:ft,background:At,pointerEvents:"auto"},[Te]:{position:"absolute",zIndex:ft,maxWidth:"100vw",transition:`all ${nt}`,"&-hidden":{display:"none"}},[`&-left > ${Te}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ct.boxShadowDrawerLeft},[`&-right > ${Te}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ct.boxShadowDrawerRight},[`&-top > ${Te}`]:{top:0,insetInline:0,boxShadow:ct.boxShadowDrawerUp},[`&-bottom > ${Te}`]:{bottom:0,insetInline:0,boxShadow:ct.boxShadowDrawerDown},[`${kt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:it,pointerEvents:"auto"},[`${kt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${kt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${fe}px ${Je}px`,fontSize:It,lineHeight:Oe,borderBottom:`${Ie}px ${St} ${at}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${kt}-extra`]:{flex:"none"},[`${kt}-close`]:{display:"inline-block",marginInlineEnd:Me,color:yt,fontWeight:cn,fontSize:It,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${De}`,textRendering:"auto","&:focus, &:hover":{color:Fn,textDecoration:"none"}},[`${kt}-title`]:{flex:1,margin:0,color:an,fontWeight:ct.fontWeightStrong,fontSize:It,lineHeight:Oe},[`${kt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Je,overflow:"auto"},[`${kt}-footer`]:{flexShrink:0,padding:`${sn}px ${yn}px`,borderTop:`${Ie}px ${St} ${at}`},"&-rtl":{direction:"rtl"}}}};var nn=(0,gt.Z)("Drawer",ct=>{const kt=(0,mt.TS)(ct,{});return[rn(kt),Nt(kt)]},ct=>({zIndexPopup:ct.zIndexPopupBase,footerPaddingBlock:ct.paddingXS,footerPaddingInline:ct.padding})),Ue=ee(11575),dt=function(ct,kt){var ft={};for(var At in ct)Object.prototype.hasOwnProperty.call(ct,At)&&kt.indexOf(At)<0&&(ft[At]=ct[At]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,At=Object.getOwnPropertySymbols(ct);it<At.length;it++)kt.indexOf(At[it])<0&&Object.prototype.propertyIsEnumerable.call(ct,At[it])&&(ft[At[it]]=ct[At[it]]);return ft};const on=null,Vn={distance:180},Zt=ct=>{var kt;const{rootClassName:ft,width:At,height:it,size:nt="default",mask:De=!0,push:fe=Vn,open:Je,afterOpenChange:It,onClose:Oe,prefixCls:Ie,getContainer:St,style:at,className:Me,visible:yt,afterVisibleChange:Fn}=ct,an=dt(ct,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:cn,getPrefixCls:sn,direction:yn,drawer:Te}=le.useContext(qe.E_),xt=sn("drawer",Ie),[Ht,Bt]=nn(xt),Mt=St===void 0&&cn?()=>cn(document.body):St,dn=de()({"no-mask":!De,[`${xt}-rtl`]:yn==="rtl"},ft,Bt),gn=le.useMemo(()=>At!=null?At:nt==="large"?736:378,[At,nt]),Ln=le.useMemo(()=>it!=null?it:nt==="large"?736:378,[it,nt]),Jn={motionName:(0,he.m)(xt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},va=Na=>({motionName:(0,he.m)(xt,`panel-motion-${Na}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Da=(0,Ue.H)();return Ht(le.createElement(ut.BR,null,le.createElement(Ke.Ux,{status:!0,override:!0},le.createElement(He,Object.assign({prefixCls:xt,onClose:Oe,maskMotion:Jn,motion:va},an,{open:Je!=null?Je:yt,mask:De,push:fe,width:gn,height:Ln,style:Object.assign(Object.assign({},Te==null?void 0:Te.style),at),className:de()(Te==null?void 0:Te.className,Me),rootClassName:dn,getContainer:Mt,afterOpenChange:It!=null?It:Fn,panelRef:Da}),le.createElement(rt,Object.assign({prefixCls:xt},an,{onClose:Oe}))))))},wn=ct=>{const{prefixCls:kt,style:ft,className:At,placement:it="right"}=ct,nt=dt(ct,["prefixCls","style","className","placement"]),{getPrefixCls:De}=le.useContext(qe.E_),fe=De("drawer",kt),[Je,It]=nn(fe),Oe=de()(fe,`${fe}-pure`,`${fe}-${it}`,It,At);return Je(le.createElement("div",{className:Oe,style:ft},le.createElement(rt,Object.assign({prefixCls:fe},nt))))};Zt._InternalPanelDoNotUseOrYouWillBeFired=wn;var ze=Zt},91857:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(38819),Be=ee(92310),Ne=ee.n(Be),Ze=ee(31561),ke=ee(70425),le=ee(18929),st=ee(2738),et=ee(79676),Ve=ee(53487),je=ee(92343),Xe=ee(36355),Ye=ee(20834),se=ee(40875),E=ee(88088),a=ee(47211);const x=null,y=ue=>{const{menu:oe,arrow:ve,prefixCls:be,children:We,trigger:Ae,disabled:He,dropdownRender:he,getPopupContainer:qe,overlayClassName:Ke,rootClassName:ht,open:Le,onOpenChange:rt,visible:ut,onVisibleChange:gt,mouseEnterDelay:mt=.15,mouseLeaveDelay:un=.1,autoAdjustOverflow:Nt=!0,placement:rn="",overlay:nn,transitionName:Ue}=ue,{getPopupContainer:dt,getPrefixCls:on,direction:Vn}=b.useContext(Xe.E_),Zt=b.useMemo(()=>{const Me=on();return Ue!==void 0?Ue:rn.includes("top")?`${Me}-slide-down`:`${Me}-slide-up`},[on,rn,Ue]),wn=b.useMemo(()=>rn?rn.includes("Center")?rn.slice(0,rn.indexOf("Center")):rn:Vn==="rtl"?"bottomRight":"bottomLeft",[rn,Vn]),ze=on("dropdown",be),[ct,kt]=(0,a.Z)(ze),[,ft]=(0,E.Z)(),At=b.Children.only(We),it=(0,je.Tm)(At,{className:Ne()(`${ze}-trigger`,{[`${ze}-rtl`]:Vn==="rtl"},At.props.className),disabled:He}),nt=He?[]:Ae;let De;nt&&nt.includes("contextMenu")&&(De=!0);const[fe,Je]=(0,le.Z)(!1,{value:Le!=null?Le:ut}),It=(0,ke.useEvent)(Me=>{rt==null||rt(Me),gt==null||gt(Me),Je(Me)}),Oe=Ne()(Ke,ht,kt,{[`${ze}-rtl`]:Vn==="rtl"}),Ie=(0,et.Z)({arrowPointAtCenter:typeof ve=="object"&&ve.pointAtCenter,autoAdjustOverflow:Nt,offset:ft.marginXXS,arrowWidth:ve?ft.sizePopupArrow:0,borderRadius:ft.borderRadius}),St=b.useCallback(()=>{Je(!1)},[]),at=()=>{let Me;return oe!=null&&oe.items?Me=b.createElement(Ye.default,Object.assign({},oe)):typeof nn=="function"?Me=nn():Me=nn,he&&(Me=he(Me)),Me=b.Children.only(typeof Me=="string"?b.createElement("span",null,Me):Me),b.createElement(se.J,{prefixCls:`${ze}-menu`,expandIcon:b.createElement("span",{className:`${ze}-menu-submenu-arrow`},b.createElement(de.Z,{className:`${ze}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:St,validator:yt=>{let{mode:Fn}=yt}},Me)};return ct(b.createElement(Ze.Z,Object.assign({alignPoint:De},(0,st.Z)(ue,["rootClassName"]),{mouseEnterDelay:mt,mouseLeaveDelay:un,visible:fe,builtinPlacements:Ie,arrow:!!ve,overlayClassName:Oe,prefixCls:ze,getPopupContainer:qe||dt,transitionName:Zt,trigger:nt,overlay:at,placement:wn,onVisibleChange:It}),it))};function z(ue){return Object.assign(Object.assign({},ue),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,Ve.Z)(y,"dropdown",ue=>ue,z),re=ue=>b.createElement(ne,Object.assign({},ue),b.createElement("span",null));y._InternalPanelDoNotUseOrYouWillBeFired=re,Gt.Z=y},38854:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return E}});var b=ee(91857),de=ee(92310),Be=ee.n(de),Ne=ee(59301),Ze=ee(18785),ke=ee(3113),le=ee(36355),st=ee(81327),et=ee(33234),Ve=ee(47211),je=function(a,x){var y={};for(var z in a)Object.prototype.hasOwnProperty.call(a,z)&&x.indexOf(z)<0&&(y[z]=a[z]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,z=Object.getOwnPropertySymbols(a);ne<z.length;ne++)x.indexOf(z[ne])<0&&Object.prototype.propertyIsEnumerable.call(a,z[ne])&&(y[z[ne]]=a[z[ne]]);return y};const Xe=a=>{const{getPopupContainer:x,getPrefixCls:y,direction:z}=Ne.useContext(le.E_),{prefixCls:ne,type:re="default",danger:ue,disabled:oe,loading:ve,onClick:be,htmlType:We,children:Ae,className:He,menu:he,arrow:qe,autoFocus:Ke,overlay:ht,trigger:Le,align:rt,open:ut,onOpenChange:gt,placement:mt,getPopupContainer:un,href:Nt,icon:rn=Ne.createElement(Ze.Z,null),title:nn,buttonsRender:Ue=at=>at,mouseEnterDelay:dt,mouseLeaveDelay:on,overlayClassName:Vn,overlayStyle:Zt,destroyPopupOnHide:wn,dropdownRender:ze}=a,ct=je(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"]),kt=y("dropdown",ne),ft=`${kt}-button`,[At,it]=(0,Ve.Z)(kt),nt={menu:he,arrow:qe,autoFocus:Ke,align:rt,disabled:oe,trigger:oe?[]:Le,onOpenChange:gt,getPopupContainer:un||x,mouseEnterDelay:dt,mouseLeaveDelay:on,overlayClassName:Vn,overlayStyle:Zt,destroyPopupOnHide:wn,dropdownRender:ze},{compactSize:De,compactItemClassnames:fe}=(0,et.ri)(kt,z),Je=Be()(ft,fe,He,it);"overlay"in a&&(nt.overlay=ht),"open"in a&&(nt.open=ut),"placement"in a?nt.placement=mt:nt.placement=z==="rtl"?"bottomLeft":"bottomRight";const It=Ne.createElement(ke.ZP,{type:re,danger:ue,disabled:oe,loading:ve,onClick:be,htmlType:We,href:Nt,title:nn},Ae),Oe=Ne.createElement(ke.ZP,{type:re,danger:ue,icon:rn}),[Ie,St]=Ue([It,Oe]);return At(Ne.createElement(st.Z.Compact,Object.assign({className:Je,size:De,block:!0},ct),Ie,Ne.createElement(b.Z,Object.assign({},nt),St)))};Xe.__ANT_BUTTON=!0;var Ye=Xe;const se=b.Z;se.Button=Ye;var E=se},47211:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return je}});var b=ee(17313),de=ee(13826),Be=ee(92899),Ne=ee(29878),Ze=ee(19447),ke=ee(83116),le=ee(37613),et=Xe=>{const{componentCls:Ye,menuCls:se,colorError:E,colorTextLightSolid:a}=Xe,x=`${se}-item`;return{[`${Ye}, ${Ye}-menu-submenu`]:{[`${se} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:E,"&:hover":{color:a,backgroundColor:E}}}}}};const Ve=Xe=>{const{componentCls:Ye,menuCls:se,zIndexPopup:E,dropdownArrowDistance:a,sizePopupArrow:x,antCls:y,iconCls:z,motionDurationMid:ne,dropdownPaddingVertical:re,fontSize:ue,dropdownEdgeChildPadding:oe,colorTextDisabled:ve,fontSizeIcon:be,controlPaddingHorizontal:We,colorBgElevated:Ae}=Xe;return[{[Ye]:Object.assign(Object.assign({},(0,b.Wf)(Xe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,display:"block","&::before":{position:"absolute",insetBlock:-a+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${y}-btn`]:{[`& > ${z}-down, & > ${y}-btn-icon > ${z}-down`]:{fontSize:be}},[`${Ye}-wrap`]:{position:"relative",[`${y}-btn > ${z}-down`]:{fontSize:be},[`${z}-down::before`]:{transition:`transform ${ne}`}},[`${Ye}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${y}-slide-down-enter${y}-slide-down-enter-active${Ye}-placement-bottomLeft,
&${y}-slide-down-appear${y}-slide-down-appear-active${Ye}-placement-bottomLeft,
&${y}-slide-down-enter${y}-slide-down-enter-active${Ye}-placement-bottom,
&${y}-slide-down-appear${y}-slide-down-appear-active${Ye}-placement-bottom,
&${y}-slide-down-enter${y}-slide-down-enter-active${Ye}-placement-bottomRight,
&${y}-slide-down-appear${y}-slide-down-appear-active${Ye}-placement-bottomRight`]:{animationName:de.fJ},[`&${y}-slide-up-enter${y}-slide-up-enter-active${Ye}-placement-topLeft,
&${y}-slide-up-appear${y}-slide-up-appear-active${Ye}-placement-topLeft,
&${y}-slide-up-enter${y}-slide-up-enter-active${Ye}-placement-top,
&${y}-slide-up-appear${y}-slide-up-appear-active${Ye}-placement-top,
&${y}-slide-up-enter${y}-slide-up-enter-active${Ye}-placement-topRight,
&${y}-slide-up-appear${y}-slide-up-appear-active${Ye}-placement-topRight`]:{animationName:de.Qt},[`&${y}-slide-down-leave${y}-slide-down-leave-active${Ye}-placement-bottomLeft,
&${y}-slide-down-leave${y}-slide-down-leave-active${Ye}-placement-bottom,
&${y}-slide-down-leave${y}-slide-down-leave-active${Ye}-placement-bottomRight`]:{animationName:de.Uw},[`&${y}-slide-up-leave${y}-slide-up-leave-active${Ye}-placement-topLeft,
&${y}-slide-up-leave${y}-slide-up-leave-active${Ye}-placement-top,
&${y}-slide-up-leave${y}-slide-up-leave-active${Ye}-placement-topRight`]:{animationName:de.ly}})},(0,Ze.ZP)(Xe,{colorBg:Ae,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ye} ${se}`]:{position:"relative",margin:0},[`${se}-submenu-popup`]:{position:"absolute",zIndex:E,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ye}, ${Ye}-menu-submenu`]:{[se]:Object.assign(Object.assign({padding:oe,listStyleType:"none",backgroundColor:Ae,backgroundClip:"padding-box",borderRadius:Xe.borderRadiusLG,outline:"none",boxShadow:Xe.boxShadowSecondary},(0,b.Qy)(Xe)),{[`${se}-item-group-title`]:{padding:`${re}px ${We}px`,color:Xe.colorTextDescription,transition:`all ${ne}`},[`${se}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${se}-item-icon`]:{minWidth:ue,marginInlineEnd:Xe.marginXS,fontSize:Xe.fontSizeSM},[`${se}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ne}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${se}-item, ${se}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${We}px`,color:Xe.colorText,fontWeight:"normal",fontSize:ue,lineHeight:Xe.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:Xe.borderRadiusSM,"&:hover, &-active":{backgroundColor:Xe.controlItemBgHover}},(0,b.Qy)(Xe)),{"&-selected":{color:Xe.colorPrimary,backgroundColor:Xe.controlItemBgActive,"&:hover, &-active":{backgroundColor:Xe.controlItemBgActiveHover}},"&-disabled":{color:ve,cursor:"not-allowed","&:hover":{color:ve,backgroundColor:Ae,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Xe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Xe.colorSplit},[`${Ye}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Xe.paddingXS,[`${Ye}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Xe.colorTextDescription,fontSize:be,fontStyle:"normal"}}}),[`${se}-item-group-list`]:{margin:`0 ${Xe.marginXS}px`,padding:0,listStyle:"none"},[`${se}-submenu-title`]:{paddingInlineEnd:We+Xe.fontSizeSM},[`${se}-submenu-vertical`]:{position:"relative"},[`${se}-submenu${se}-submenu-disabled ${Ye}-menu-submenu-title`]:{[`&, ${Ye}-menu-submenu-arrow-icon`]:{color:ve,backgroundColor:Ae,cursor:"not-allowed"}},[`${se}-submenu-selected ${Ye}-menu-submenu-title`]:{color:Xe.colorPrimary}})}},[(0,de.oN)(Xe,"slide-up"),(0,de.oN)(Xe,"slide-down"),(0,Be.Fm)(Xe,"move-up"),(0,Be.Fm)(Xe,"move-down"),(0,Ne._y)(Xe,"zoom-big")]]};var je=(0,ke.Z)("Dropdown",(Xe,Ye)=>{let{rootPrefixCls:se}=Ye;const{marginXXS:E,sizePopupArrow:a,controlHeight:x,fontSize:y,lineHeight:z,paddingXXS:ne,componentCls:re,borderRadiusLG:ue}=Xe,oe=(x-y*z)/2,{dropdownArrowOffset:ve}=(0,Ze.fS)({contentRadius:ue}),be=(0,le.TS)(Xe,{menuCls:`${re}-menu`,rootPrefixCls:se,dropdownArrowDistance:a/2+E,dropdownArrowOffset:ve,dropdownPaddingVertical:oe,dropdownEdgeChildPadding:ne});return[Ve(be),et(be)]},Xe=>({zIndexPopup:Xe.zIndexPopupBase+50}))},8628:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(34280),Be=ee(56762),Ne=ee(69507);function Ze(){let ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const le=(0,b.useRef)({}),st=(0,Be.Z)(),et=(0,Ne.ZP)();return(0,de.Z)(()=>{const Ve=et.subscribe(je=>{le.current=je,ke&&st()});return()=>et.unsubscribe(Ve)},[]),le.current}Gt.Z=Ze},45818:function(Qt,Gt,ee){"use strict";ee.d(Gt,{D:function(){return ne},Z:function(){return oe}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(be,We){return de.createElement(Ze.Z,(0,b.Z)({},be,{ref:We,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(33853),Ve=ee(38819),je=ee(92310),Xe=ee.n(je),Ye=ee(2738),E=ve=>!isNaN(parseFloat(ve))&&isFinite(ve),a=ee(36355),x=ee(84966),y=function(ve,be){var We={};for(var Ae in ve)Object.prototype.hasOwnProperty.call(ve,Ae)&&be.indexOf(Ae)<0&&(We[Ae]=ve[Ae]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Ae=Object.getOwnPropertySymbols(ve);He<Ae.length;He++)be.indexOf(Ae[He])<0&&Object.prototype.propertyIsEnumerable.call(ve,Ae[He])&&(We[Ae[He]]=ve[Ae[He]]);return We};const z={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ne=de.createContext({}),re=(()=>{let ve=0;return function(){let be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ve+=1,`${be}${ve}`}})();var oe=de.forwardRef((ve,be)=>{const{prefixCls:We,className:Ae,trigger:He,children:he,defaultCollapsed:qe=!1,theme:Ke="dark",style:ht={},collapsible:Le=!1,reverseArrow:rt=!1,width:ut=200,collapsedWidth:gt=80,zeroWidthTriggerStyle:mt,breakpoint:un,onCollapse:Nt,onBreakpoint:rn}=ve,nn=y(ve,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ue}=(0,de.useContext)(x.Gs),[dt,on]=(0,de.useState)("collapsed"in ve?ve.collapsed:qe),[Vn,Zt]=(0,de.useState)(!1);(0,de.useEffect)(()=>{"collapsed"in ve&&on(ve.collapsed)},[ve.collapsed]);const wn=(it,nt)=>{"collapsed"in ve||on(it),Nt==null||Nt(it,nt)},ze=(0,de.useRef)();ze.current=it=>{Zt(it.matches),rn==null||rn(it.matches),dt!==it.matches&&wn(it.matches,"responsive")},(0,de.useEffect)(()=>{function it(De){return ze.current(De)}let nt;if(typeof window!="undefined"){const{matchMedia:De}=window;if(De&&un&&un in z){nt=De(`(max-width: ${z[un]})`);try{nt.addEventListener("change",it)}catch(fe){nt.addListener(it)}it(nt)}}return()=>{try{nt==null||nt.removeEventListener("change",it)}catch(De){nt==null||nt.removeListener(it)}}},[un]),(0,de.useEffect)(()=>{const it=re("ant-sider-");return Ue.addSider(it),()=>Ue.removeSider(it)},[]);const ct=()=>{wn(!dt,"clickTrigger")},{getPrefixCls:kt}=(0,de.useContext)(a.E_),ft=()=>{const it=kt("layout-sider",We),nt=(0,Ye.Z)(nn,["collapsed"]),De=dt?gt:ut,fe=E(De)?`${De}px`:String(De),Je=parseFloat(String(gt||0))===0?de.createElement("span",{onClick:ct,className:Xe()(`${it}-zero-width-trigger`,`${it}-zero-width-trigger-${rt?"right":"left"}`),style:mt},He||de.createElement(st,null)):null,Ie={expanded:rt?de.createElement(Ve.Z,null):de.createElement(et.Z,null),collapsed:rt?de.createElement(et.Z,null):de.createElement(Ve.Z,null)}[dt?"collapsed":"expanded"],St=He!==null?Je||de.createElement("div",{className:`${it}-trigger`,onClick:ct,style:{width:fe}},He||Ie):null,at=Object.assign(Object.assign({},ht),{flex:`0 0 ${fe}`,maxWidth:fe,minWidth:fe,width:fe}),Me=Xe()(it,`${it}-${Ke}`,{[`${it}-collapsed`]:!!dt,[`${it}-has-trigger`]:Le&&He!==null&&!Je,[`${it}-below`]:!!Vn,[`${it}-zero-width`]:parseFloat(fe)===0},Ae);return de.createElement("aside",Object.assign({className:Me},nt,{style:at,ref:be}),de.createElement("div",{className:`${it}-children`},he),Le||Vn&&Je?St:null)},At=de.useMemo(()=>({siderCollapsed:dt}),[dt]);return de.createElement(ne.Provider,{value:At},ft())})},84966:function(Qt,Gt,ee){"use strict";ee.d(Gt,{VY:function(){return ne},$_:function(){return z},h4:function(){return y},Gs:function(){return Ye},ZP:function(){return re}});var b=ee(95190),de=ee(92310),Be=ee.n(de),Ne=ee(2738),Ze=ee(59301),ke=ee(36355),le=ee(83116),et=ue=>{const{componentCls:oe,bodyBg:ve,lightSiderBg:be,lightTriggerBg:We,lightTriggerColor:Ae}=ue;return{[`${oe}-sider-light`]:{background:be,[`${oe}-sider-trigger`]:{color:Ae,background:We},[`${oe}-sider-zero-width-trigger`]:{color:Ae,background:We,border:`1px solid ${ve}`,borderInlineStart:0}}}};const Ve=ue=>{const{antCls:oe,componentCls:ve,colorText:be,triggerColor:We,footerBg:Ae,triggerBg:He,headerHeight:he,headerPadding:qe,headerColor:Ke,footerPadding:ht,triggerHeight:Le,zeroTriggerHeight:rt,zeroTriggerWidth:ut,motionDurationMid:gt,motionDurationSlow:mt,fontSize:un,borderRadius:Nt,bodyBg:rn,headerBg:nn,siderBg:Ue}=ue;return{[ve]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:rn,"&, *":{boxSizing:"border-box"},[`&${ve}-has-sider`]:{flexDirection:"row",[`> ${ve}, > ${ve}-content`]:{width:0}},[`${ve}-header, &${ve}-footer`]:{flex:"0 0 auto"},[`${ve}-sider`]:{position:"relative",minWidth:0,background:Ue,transition:`all ${gt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${oe}-menu${oe}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Le},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Le,color:We,lineHeight:`${Le}px`,textAlign:"center",background:He,cursor:"pointer",transition:`all ${gt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:he,insetInlineEnd:-ut,zIndex:1,width:ut,height:rt,color:We,fontSize:ue.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ue,borderStartStartRadius:0,borderStartEndRadius:Nt,borderEndEndRadius:Nt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${mt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${mt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-ut,borderStartStartRadius:Nt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Nt}}}}},et(ue)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:he,padding:qe,color:Ke,lineHeight:`${he}px`,background:nn,[`${oe}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:ht,color:be,fontSize:un,background:Ae},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var je=(0,le.Z)("Layout",ue=>[Ve(ue)],ue=>{const{colorBgLayout:oe,controlHeight:ve,controlHeightLG:be,colorText:We,controlHeightSM:Ae,marginXXS:He,colorTextLightSolid:he,colorBgContainer:qe}=ue,Ke=be*1.25;return{colorBgHeader:"#001529",colorBgBody:oe,colorBgTrigger:"#002140",bodyBg:oe,headerBg:"#001529",headerHeight:ve*2,headerPadding:`0 ${Ke}px`,headerColor:We,footerPadding:`${Ae}px ${Ke}px`,footerBg:oe,siderBg:"#001529",triggerHeight:be+He*2,triggerBg:"#002140",triggerColor:he,zeroTriggerWidth:be,zeroTriggerHeight:be,lightSiderBg:qe,lightTriggerBg:qe,lightTriggerColor:We}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Xe=function(ue,oe){var ve={};for(var be in ue)Object.prototype.hasOwnProperty.call(ue,be)&&oe.indexOf(be)<0&&(ve[be]=ue[be]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,be=Object.getOwnPropertySymbols(ue);We<be.length;We++)oe.indexOf(be[We])<0&&Object.prototype.propertyIsEnumerable.call(ue,be[We])&&(ve[be[We]]=ue[be[We]]);return ve};const Ye=Ze.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function se(ue){let{suffixCls:oe,tagName:ve,displayName:be}=ue;return We=>Ze.forwardRef((He,he)=>Ze.createElement(We,Object.assign({ref:he,suffixCls:oe,tagName:ve},He)))}const E=Ze.forwardRef((ue,oe)=>{const{prefixCls:ve,suffixCls:be,className:We,tagName:Ae}=ue,He=Xe(ue,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:he}=Ze.useContext(ke.E_),qe=he("layout",ve),[Ke,ht]=je(qe),Le=be?`${qe}-${be}`:qe;return Ke(Ze.createElement(Ae,Object.assign({className:Be()(ve||Le,We,ht),ref:oe},He)))}),a=Ze.forwardRef((ue,oe)=>{const{direction:ve}=Ze.useContext(ke.E_),[be,We]=Ze.useState([]),{prefixCls:Ae,className:He,rootClassName:he,children:qe,hasSider:Ke,tagName:ht,style:Le}=ue,rt=Xe(ue,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),ut=(0,Ne.Z)(rt,["suffixCls"]),{getPrefixCls:gt,layout:mt}=Ze.useContext(ke.E_),un=gt("layout",Ae),[Nt,rn]=je(un),nn=Be()(un,{[`${un}-has-sider`]:typeof Ke=="boolean"?Ke:be.length>0,[`${un}-rtl`]:ve==="rtl"},mt==null?void 0:mt.className,He,he,rn),Ue=Ze.useMemo(()=>({siderHook:{addSider:dt=>{We(on=>[].concat((0,b.Z)(on),[dt]))},removeSider:dt=>{We(on=>on.filter(Vn=>Vn!==dt))}}}),[]);return Nt(Ze.createElement(Ye.Provider,{value:Ue},Ze.createElement(ht,Object.assign({ref:oe,className:nn,style:Object.assign(Object.assign({},mt==null?void 0:mt.style),Le)},ut),qe)))}),x=se({tagName:"div",displayName:"Layout"})(a),y=se({suffixCls:"header",tagName:"header",displayName:"Header"})(E),z=se({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(E),ne=se({suffixCls:"content",tagName:"main",displayName:"Content"})(E);var re=x},40875:function(Qt,Gt,ee){"use strict";ee.d(Gt,{J:function(){return ke}});var b=ee(59301),de=ee(33234),Be=ee(70425),Ne=function(le,st){var et={};for(var Ve in le)Object.prototype.hasOwnProperty.call(le,Ve)&&st.indexOf(Ve)<0&&(et[Ve]=le[Ve]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Ve=Object.getOwnPropertySymbols(le);je<Ve.length;je++)st.indexOf(Ve[je])<0&&Object.prototype.propertyIsEnumerable.call(le,Ve[je])&&(et[Ve[je]]=le[Ve[je]]);return et};const Ze=b.createContext(null),ke=b.forwardRef((le,st)=>{const{children:et}=le,Ve=Ne(le,["children"]),je=b.useContext(Ze),Xe=b.useMemo(()=>Object.assign(Object.assign({},je),Ve),[je,Ve.prefixCls,Ve.mode,Ve.selectable]);return b.createElement(Ze.Provider,{value:Xe},b.createElement(de.BR,null,(0,Be.supportNodeRef)(et)?b.cloneElement(et,{ref:st}):et))});Gt.Z=Ze},20834:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return At}});var b=ee(15285),de=ee(59301),Be=ee(45818),Ne=ee(92310),Ze=ee.n(Ne),ke=ee(36355),le=function(it,nt){var De={};for(var fe in it)Object.prototype.hasOwnProperty.call(it,fe)&&nt.indexOf(fe)<0&&(De[fe]=it[fe]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,fe=Object.getOwnPropertySymbols(it);Je<fe.length;Je++)nt.indexOf(fe[Je])<0&&Object.prototype.propertyIsEnumerable.call(it,fe[Je])&&(De[fe[Je]]=it[fe[Je]]);return De},et=it=>{const{prefixCls:nt,className:De,dashed:fe}=it,Je=le(it,["prefixCls","className","dashed"]),{getPrefixCls:It}=de.useContext(ke.E_),Oe=It("menu",nt),Ie=Ze()({[`${Oe}-item-divider-dashed`]:!!fe},De);return de.createElement(b.iz,Object.assign({className:Ie},Je))},Ve=ee(11592),je=ee(2738),Xe=ee(6848),Ye=ee(92343),E=(0,de.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=it=>{var nt;const{className:De,children:fe,icon:Je,title:It,danger:Oe}=it,{prefixCls:Ie,firstLevel:St,direction:at,disableMenuItemTitleTooltip:Me,inlineCollapsed:yt}=de.useContext(E),Fn=xt=>{const Ht=de.createElement("span",{className:`${Ie}-title-content`},fe);return(!Je||(0,Ye.l$)(fe)&&fe.type==="span")&&fe&&xt&&St&&typeof fe=="string"?de.createElement("div",{className:`${Ie}-inline-collapsed-noicon`},fe.charAt(0)):Ht},{siderCollapsed:an}=de.useContext(Be.D);let cn=It;typeof It=="undefined"?cn=St?fe:"":It===!1&&(cn="");const sn={title:cn};!an&&!yt&&(sn.title=null,sn.open=!1);const yn=(0,Ve.Z)(fe).length;let Te=de.createElement(b.ck,Object.assign({},(0,je.Z)(it,["title","icon","danger"]),{className:Ze()({[`${Ie}-item-danger`]:Oe,[`${Ie}-item-only-child`]:(Je?yn+1:yn)===1},De),title:typeof It=="string"?It:void 0}),(0,Ye.Tm)(Je,{className:Ze()((0,Ye.l$)(Je)?(nt=Je.props)===null||nt===void 0?void 0:nt.className:"",`${Ie}-item-icon`)}),Fn(yt));return Me||(Te=de.createElement(Xe.Z,Object.assign({},sn,{placement:at==="rtl"?"left":"right",overlayClassName:`${Ie}-inline-collapsed-tooltip`}),Te)),Te},z=it=>{var nt;const{popupClassName:De,icon:fe,title:Je,theme:It}=it,Oe=de.useContext(E),{prefixCls:Ie,inlineCollapsed:St,theme:at}=Oe,Me=(0,b.Xl)();let yt;if(!fe)yt=St&&!Me.length&&Je&&typeof Je=="string"?de.createElement("div",{className:`${Ie}-inline-collapsed-noicon`},Je.charAt(0)):de.createElement("span",{className:`${Ie}-title-content`},Je);else{const an=(0,Ye.l$)(Je)&&Je.type==="span";yt=de.createElement(de.Fragment,null,(0,Ye.Tm)(fe,{className:Ze()((0,Ye.l$)(fe)?(nt=fe.props)===null||nt===void 0?void 0:nt.className:"",`${Ie}-item-icon`)}),an?Je:de.createElement("span",{className:`${Ie}-title-content`},Je))}const Fn=de.useMemo(()=>Object.assign(Object.assign({},Oe),{firstLevel:!1}),[Oe]);return de.createElement(E.Provider,{value:Fn},de.createElement(b.Wd,Object.assign({},(0,je.Z)(it,["icon"]),{title:yt,popupClassName:Ze()(Ie,De,`${Ie}-${It||at}`)})))},ne=ee(18785),re=ee(70425),ue=ee(62892),oe=ee(40875),ve=function(it,nt){var De={};for(var fe in it)Object.prototype.hasOwnProperty.call(it,fe)&&nt.indexOf(fe)<0&&(De[fe]=it[fe]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,fe=Object.getOwnPropertySymbols(it);Je<fe.length;Je++)nt.indexOf(fe[Je])<0&&Object.prototype.propertyIsEnumerable.call(it,fe[Je])&&(De[fe[Je]]=it[fe[Je]]);return De};function be(it){return(it||[]).map((nt,De)=>{if(nt&&typeof nt=="object"){const fe=nt,{label:Je,children:It,key:Oe,type:Ie}=fe,St=ve(fe,["label","children","key","type"]),at=Oe!=null?Oe:`tmp-${De}`;return It||Ie==="group"?Ie==="group"?de.createElement(b.BW,Object.assign({key:at},St,{title:Je}),be(It)):de.createElement(z,Object.assign({key:at},St,{title:Je}),be(It)):Ie==="divider"?de.createElement(et,Object.assign({key:at},St)):de.createElement(x,Object.assign({key:at},St),Je)}return null}).filter(nt=>nt)}function We(it){return de.useMemo(()=>it&&be(it),[it])}var Ae=ee(64993),He=ee(17313),he=ee(8378),qe=ee(13826),Ke=ee(29878),ht=ee(83116),Le=ee(37613),ut=it=>{const{componentCls:nt,motionDurationSlow:De,horizontalLineHeight:fe,colorSplit:Je,lineWidth:It,lineType:Oe,itemPaddingInline:Ie}=it;return{[`${nt}-horizontal`]:{lineHeight:fe,border:0,borderBottom:`${It}px ${Oe} ${Je}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${nt}-item, ${nt}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ie},[`> ${nt}-item:hover,
> ${nt}-item-active,
> ${nt}-submenu ${nt}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${nt}-item, ${nt}-submenu-title`]:{transition:[`border-color ${De}`,`background ${De}`].join(",")},[`${nt}-submenu-arrow`]:{display:"none"}}}},mt=it=>{let{componentCls:nt,menuArrowOffset:De}=it;return{[`${nt}-rtl`]:{direction:"rtl"},[`${nt}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${nt}-rtl${nt}-vertical,
${nt}-submenu-rtl ${nt}-vertical`]:{[`${nt}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${De})`},"&::after":{transform:`rotate(45deg) translateY(${De})`}}}}};const un=it=>Object.assign({},(0,He.oN)(it));var rn=(it,nt)=>{const{componentCls:De,itemColor:fe,itemSelectedColor:Je,groupTitleColor:It,itemBg:Oe,subMenuItemBg:Ie,itemSelectedBg:St,activeBarHeight:at,activeBarWidth:Me,activeBarBorderWidth:yt,motionDurationSlow:Fn,motionEaseInOut:an,motionEaseOut:cn,itemPaddingInline:sn,motionDurationMid:yn,itemHoverColor:Te,lineType:xt,colorSplit:Ht,itemDisabledColor:Bt,dangerItemColor:Mt,dangerItemHoverColor:dn,dangerItemSelectedColor:gn,dangerItemActiveBg:Ln,dangerItemSelectedBg:Jn,itemHoverBg:va,itemActiveBg:Da,menuSubMenuBg:Na,horizontalItemSelectedColor:ar,horizontalItemSelectedBg:Ua,horizontalItemBorderRadius:fa,horizontalItemHoverBg:yr,popupBg:en}=it;return{[`${De}-${nt}, ${De}-${nt} > ${De}`]:{color:fe,background:Oe,[`&${De}-root:focus-visible`]:Object.assign({},un(it)),[`${De}-item-group-title`]:{color:It},[`${De}-submenu-selected`]:{[`> ${De}-submenu-title`]:{color:Je}},[`${De}-item-disabled, ${De}-submenu-disabled`]:{color:`${Bt} !important`},[`${De}-item:not(${De}-item-selected):not(${De}-submenu-selected)`]:{[`&:hover, > ${De}-submenu-title:hover`]:{color:Te}},[`&:not(${De}-horizontal)`]:{[`${De}-item:not(${De}-item-selected)`]:{"&:hover":{backgroundColor:va},"&:active":{backgroundColor:Da}},[`${De}-submenu-title`]:{"&:hover":{backgroundColor:va},"&:active":{backgroundColor:Da}}},[`${De}-item-danger`]:{color:Mt,[`&${De}-item:hover`]:{[`&:not(${De}-item-selected):not(${De}-submenu-selected)`]:{color:dn}},[`&${De}-item:active`]:{background:Ln}},[`${De}-item a`]:{"&, &:hover":{color:"inherit"}},[`${De}-item-selected`]:{color:Je,[`&${De}-item-danger`]:{color:gn},"a, a:hover":{color:"inherit"}},[`& ${De}-item-selected`]:{backgroundColor:St,[`&${De}-item-danger`]:{backgroundColor:Jn}},[`${De}-item, ${De}-submenu-title`]:{[`&:not(${De}-item-disabled):focus-visible`]:Object.assign({},un(it))},[`&${De}-submenu > ${De}`]:{backgroundColor:Na},[`&${De}-popup > ${De}`]:{backgroundColor:en},[`&${De}-horizontal`]:Object.assign(Object.assign({},nt==="dark"?{borderBottom:0}:{}),{[`> ${De}-item, > ${De}-submenu`]:{top:yt,marginTop:-yt,marginBottom:0,borderRadius:fa,"&::after":{position:"absolute",insetInline:sn,bottom:0,borderBottom:`${at}px solid transparent`,transition:`border-color ${Fn} ${an}`,content:'""'},"&:hover, &-active, &-open":{background:yr,"&::after":{borderBottomWidth:at,borderBottomColor:ar}},"&-selected":{color:ar,backgroundColor:Ua,"&:hover":{backgroundColor:Ua},"&::after":{borderBottomWidth:at,borderBottomColor:ar}}}}),[`&${De}-root`]:{[`&${De}-inline, &${De}-vertical`]:{borderInlineEnd:`${yt}px ${xt} ${Ht}`}},[`&${De}-inline`]:{[`${De}-sub${De}-inline`]:{background:Ie},[`${De}-item, ${De}-submenu-title`]:yt&&Me?{width:`calc(100% + ${yt}px)`}:{},[`${De}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Me}px solid ${Je}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${yn} ${cn}`,`opacity ${yn} ${cn}`].join(","),content:'""'},[`&${De}-item-danger`]:{"&::after":{borderInlineEndColor:gn}}},[`${De}-selected, ${De}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${yn} ${an}`,`opacity ${yn} ${an}`].join(",")}}}}}};const nn=it=>{const{componentCls:nt,itemHeight:De,itemMarginInline:fe,padding:Je,menuArrowSize:It,marginXS:Oe,itemMarginBlock:Ie}=it,St=Je+It+Oe;return{[`${nt}-item`]:{position:"relative",overflow:"hidden"},[`${nt}-item, ${nt}-submenu-title`]:{height:De,lineHeight:`${De}px`,paddingInline:Je,overflow:"hidden",textOverflow:"ellipsis",marginInline:fe,marginBlock:Ie,width:`calc(100% - ${fe*2}px)`},[`> ${nt}-item,
> ${nt}-submenu > ${nt}-submenu-title`]:{height:De,lineHeight:`${De}px`},[`${nt}-item-group-list ${nt}-submenu-title,
${nt}-submenu-title`]:{paddingInlineEnd:St}}};var dt=it=>{const{componentCls:nt,iconCls:De,itemHeight:fe,colorTextLightSolid:Je,dropdownWidth:It,controlHeightLG:Oe,motionDurationMid:Ie,motionEaseOut:St,paddingXL:at,itemMarginInline:Me,fontSizeLG:yt,motionDurationSlow:Fn,paddingXS:an,boxShadowSecondary:cn,collapsedWidth:sn,collapsedIconSize:yn}=it,Te={height:fe,lineHeight:`${fe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[nt]:{"&-inline, &-vertical":Object.assign({[`&${nt}-root`]:{boxShadow:"none"}},nn(it))},[`${nt}-submenu-popup`]:{[`${nt}-vertical`]:Object.assign(Object.assign({},nn(it)),{boxShadow:cn})}},{[`${nt}-submenu-popup ${nt}-vertical${nt}-sub`]:{minWidth:It,maxHeight:`calc(100vh - ${Oe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${nt}-inline`]:{width:"100%",[`&${nt}-root`]:{[`${nt}-item, ${nt}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Fn}`,`background ${Fn}`,`padding ${Ie} ${St}`].join(","),[`> ${nt}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${nt}-sub${nt}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${nt}-submenu > ${nt}-submenu-title`]:Te,[`& ${nt}-item-group-title`]:{paddingInlineStart:at}},[`${nt}-item`]:Te}},{[`${nt}-inline-collapsed`]:{width:sn,[`&${nt}-root`]:{[`${nt}-item, ${nt}-submenu ${nt}-submenu-title`]:{[`> ${nt}-inline-collapsed-noicon`]:{fontSize:yt,textAlign:"center"}}},[`> ${nt}-item,
> ${nt}-item-group > ${nt}-item-group-list > ${nt}-item,
> ${nt}-item-group > ${nt}-item-group-list > ${nt}-submenu > ${nt}-submenu-title,
> ${nt}-submenu > ${nt}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${yt/2}px - ${Me}px)`,textOverflow:"clip",[`
${nt}-submenu-arrow,
${nt}-submenu-expand-icon
`]:{opacity:0},[`${nt}-item-icon, ${De}`]:{margin:0,fontSize:yn,lineHeight:`${fe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${nt}-item-icon, ${De}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${nt}-item-icon, ${De}`]:{display:"none"},"a, a:hover":{color:Je}},[`${nt}-item-group-title`]:Object.assign(Object.assign({},He.vS),{paddingInline:an})}}]};const on=it=>{const{componentCls:nt,motionDurationSlow:De,motionDurationMid:fe,motionEaseInOut:Je,motionEaseOut:It,iconCls:Oe,iconSize:Ie,iconMarginInlineEnd:St}=it;return{[`${nt}-item, ${nt}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${De}`,`background ${De}`,`padding ${De} ${Je}`].join(","),[`${nt}-item-icon, ${Oe}`]:{minWidth:Ie,fontSize:Ie,transition:[`font-size ${fe} ${It}`,`margin ${De} ${Je}`,`color ${De}`].join(","),"+ span":{marginInlineStart:St,opacity:1,transition:[`opacity ${De} ${Je}`,`margin ${De}`,`color ${De}`].join(",")}},[`${nt}-item-icon`]:Object.assign({},(0,He.Ro)()),[`&${nt}-item-only-child`]:{[`> ${Oe}, > ${nt}-item-icon`]:{marginInlineEnd:0}}},[`${nt}-item-disabled, ${nt}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${nt}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Vn=it=>{const{componentCls:nt,motionDurationSlow:De,motionEaseInOut:fe,borderRadius:Je,menuArrowSize:It,menuArrowOffset:Oe}=it;return{[`${nt}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:it.margin,width:It,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${De} ${fe}, opacity ${De}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:It*.6,height:It*.15,backgroundColor:"currentcolor",borderRadius:Je,transition:[`background ${De} ${fe}`,`transform ${De} ${fe}`,`top ${De} ${fe}`,`color ${De} ${fe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Oe})`},"&::after":{transform:`rotate(-45deg) translateY(${Oe})`}}}}},Zt=it=>{const{antCls:nt,componentCls:De,fontSize:fe,motionDurationSlow:Je,motionDurationMid:It,motionEaseInOut:Oe,paddingXS:Ie,padding:St,colorSplit:at,lineWidth:Me,zIndexPopup:yt,borderRadiusLG:Fn,subMenuItemBorderRadius:an,menuArrowSize:cn,menuArrowOffset:sn,lineType:yn,menuPanelMaskInset:Te,groupTitleLineHeight:xt,groupTitleFontSize:Ht}=it;return[{"":{[`${De}`]:Object.assign(Object.assign({},(0,He.dF)()),{"&-hidden":{display:"none"}})},[`${De}-submenu-hidden`]:{display:"none"}},{[De]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,He.Wf)(it)),(0,He.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:fe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Je} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${De}-item`]:{flex:"none"}},[`${De}-item, ${De}-submenu, ${De}-submenu-title`]:{borderRadius:it.itemBorderRadius},[`${De}-item-group-title`]:{padding:`${Ie}px ${St}px`,fontSize:Ht,lineHeight:xt,transition:`all ${Je}`},[`&-horizontal ${De}-submenu`]:{transition:[`border-color ${Je} ${Oe}`,`background ${Je} ${Oe}`].join(",")},[`${De}-submenu, ${De}-submenu-inline`]:{transition:[`border-color ${Je} ${Oe}`,`background ${Je} ${Oe}`,`padding ${It} ${Oe}`].join(",")},[`${De}-submenu ${De}-sub`]:{cursor:"initial",transition:[`background ${Je} ${Oe}`,`padding ${Je} ${Oe}`].join(",")},[`${De}-title-content`]:{transition:`color ${Je}`},[`${De}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${De}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:at,borderStyle:yn,borderWidth:0,borderTopWidth:Me,marginBlock:Me,padding:0,"&-dashed":{borderStyle:"dashed"}}}),on(it)),{[`${De}-item-group`]:{[`${De}-item-group-list`]:{margin:0,padding:0,[`${De}-item, ${De}-submenu-title`]:{paddingInline:`${fe*2}px ${St}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:yt,borderRadius:Fn,boxShadow:"none",transformOrigin:"0 0",[`&${De}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Te}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Te},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:it.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:it.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:it.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:it.paddingXS},[`> ${De}`]:Object.assign(Object.assign(Object.assign({borderRadius:Fn},on(it)),Vn(it)),{[`${De}-item, ${De}-submenu > ${De}-submenu-title`]:{borderRadius:an},[`${De}-submenu-title::after`]:{transition:`transform ${Je} ${Oe}`}})}}),Vn(it)),{[`&-inline-collapsed ${De}-submenu-arrow,
&-inline ${De}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${sn})`},"&::after":{transform:`rotate(45deg) translateX(-${sn})`}},[`${De}-submenu-open${De}-submenu-inline > ${De}-submenu-title > ${De}-submenu-arrow`]:{transform:`translateY(-${cn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${sn})`},"&::before":{transform:`rotate(45deg) translateX(${sn})`}}})},{[`${nt}-layout-header`]:{[De]:{lineHeight:"inherit"}}}]};var wn=(it,nt)=>(0,ht.Z)("Menu",fe=>{if(nt===!1)return[];const{colorBgElevated:Je,colorPrimary:It,colorTextLightSolid:Oe,controlHeightLG:Ie,fontSize:St,darkItemColor:at,darkDangerItemColor:Me,darkItemBg:yt,darkSubMenuItemBg:Fn,darkItemSelectedColor:an,darkItemSelectedBg:cn,darkDangerItemSelectedBg:sn,darkItemHoverBg:yn,darkGroupTitleColor:Te,darkItemHoverColor:xt,darkItemDisabledColor:Ht,darkDangerItemHoverColor:Bt,darkDangerItemSelectedColor:Mt,darkDangerItemActiveBg:dn}=fe,gn=St/7*5,Ln=(0,Le.TS)(fe,{menuArrowSize:gn,menuHorizontalHeight:Ie*1.15,menuArrowOffset:`${gn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Je}),Jn=(0,Le.TS)(Ln,{itemColor:at,itemHoverColor:xt,groupTitleColor:Te,itemSelectedColor:an,itemBg:yt,popupBg:yt,subMenuItemBg:Fn,itemActiveBg:"transparent",itemSelectedBg:cn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:yn,itemDisabledColor:Ht,dangerItemColor:Me,dangerItemHoverColor:Bt,dangerItemSelectedColor:Mt,dangerItemActiveBg:dn,dangerItemSelectedBg:sn,menuSubMenuBg:Fn,horizontalItemSelectedColor:Oe,horizontalItemSelectedBg:It});return[Zt(Ln),ut(Ln),dt(Ln),rn(Ln,"light"),rn(Jn,"dark"),mt(Ln),(0,he.Z)(Ln),(0,qe.oN)(Ln,"slide-up"),(0,qe.oN)(Ln,"slide-down"),(0,Ke._y)(Ln,"zoom-big")]},fe=>{const{colorPrimary:Je,colorError:It,colorTextDisabled:Oe,colorErrorBg:Ie,colorText:St,colorTextDescription:at,colorBgContainer:Me,colorFillAlter:yt,colorFillContent:Fn,lineWidth:an,lineWidthBold:cn,controlItemBgActive:sn,colorBgTextHover:yn,controlHeightLG:Te,lineHeight:xt,colorBgElevated:Ht,marginXXS:Bt,padding:Mt,fontSize:dn,controlHeightSM:gn,fontSizeLG:Ln,colorTextLightSolid:Jn,colorErrorHover:va}=fe,Da=new Ae.C(Jn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:fe.zIndexPopupBase+50,radiusItem:fe.borderRadiusLG,itemBorderRadius:fe.borderRadiusLG,radiusSubMenuItem:fe.borderRadiusSM,subMenuItemBorderRadius:fe.borderRadiusSM,colorItemText:St,itemColor:St,colorItemTextHover:St,itemHoverColor:St,colorItemTextHoverHorizontal:Je,horizontalItemHoverColor:Je,colorGroupTitle:at,groupTitleColor:at,colorItemTextSelected:Je,itemSelectedColor:Je,colorItemTextSelectedHorizontal:Je,horizontalItemSelectedColor:Je,colorItemBg:Me,itemBg:Me,colorItemBgHover:yn,itemHoverBg:yn,colorItemBgActive:Fn,itemActiveBg:sn,colorSubItemBg:yt,subMenuItemBg:yt,colorItemBgSelected:sn,itemSelectedBg:sn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:cn,activeBarHeight:cn,colorActiveBarBorderSize:an,activeBarBorderWidth:an,colorItemTextDisabled:Oe,itemDisabledColor:Oe,colorDangerItemText:It,dangerItemColor:It,colorDangerItemTextHover:It,dangerItemHoverColor:It,colorDangerItemTextSelected:It,dangerItemSelectedColor:It,colorDangerItemBgActive:Ie,dangerItemActiveBg:Ie,colorDangerItemBgSelected:Ie,dangerItemSelectedBg:Ie,itemMarginInline:fe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Te,groupTitleLineHeight:xt,collapsedWidth:Te*2,popupBg:Ht,itemMarginBlock:Bt,itemPaddingInline:Mt,horizontalLineHeight:`${Te*1.15}px`,iconSize:dn,iconMarginInlineEnd:gn-dn,collapsedIconSize:Ln,groupTitleFontSize:dn,darkItemDisabledColor:new Ae.C(Jn).setAlpha(.25).toRgbString(),darkItemColor:Da,darkDangerItemColor:It,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Jn,darkItemSelectedBg:Je,darkDangerItemSelectedBg:It,darkItemHoverBg:"transparent",darkGroupTitleColor:Da,darkItemHoverColor:Jn,darkDangerItemHoverColor:va,darkDangerItemSelectedColor:Jn,darkDangerItemActiveBg:It}},{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"]]})(it),ze=function(it,nt){var De={};for(var fe in it)Object.prototype.hasOwnProperty.call(it,fe)&&nt.indexOf(fe)<0&&(De[fe]=it[fe]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,fe=Object.getOwnPropertySymbols(it);Je<fe.length;Je++)nt.indexOf(fe[Je])<0&&Object.prototype.propertyIsEnumerable.call(it,fe[Je])&&(De[fe[Je]]=it[fe[Je]]);return De},kt=(0,de.forwardRef)((it,nt)=>{var De,fe;const Je=de.useContext(oe.Z),It=Je||{},{getPrefixCls:Oe,getPopupContainer:Ie,direction:St,menu:at}=de.useContext(ke.E_),Me=Oe(),{prefixCls:yt,className:Fn,style:an,theme:cn="light",expandIcon:sn,_internalDisableMenuItemTitleTooltip:yn,inlineCollapsed:Te,siderCollapsed:xt,items:Ht,children:Bt,rootClassName:Mt,mode:dn,selectable:gn,onClick:Ln,overflowedIndicatorPopupClassName:Jn}=it,va=ze(it,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Da=(0,je.Z)(va,["collapsedWidth"]),Na=We(Ht)||Bt;(De=It.validator)===null||De===void 0||De.call(It,{mode:dn});const ar=(0,re.useEvent)(function(){var Vt;Ln==null||Ln.apply(void 0,arguments),(Vt=It.onClick)===null||Vt===void 0||Vt.call(It)}),Ua=It.mode||dn,fa=gn!=null?gn:It.selectable,yr=de.useMemo(()=>xt!==void 0?xt:Te,[Te,xt]),en={horizontal:{motionName:`${Me}-slide-up`},inline:(0,ue.Z)(Me),other:{motionName:`${Me}-zoom-big`}},On=Oe("menu",yt||It.prefixCls),[la,xa]=wn(On,!Je),Ge=Ze()(`${On}-${cn}`,at==null?void 0:at.className,Fn);let Ot;if(typeof sn=="function")Ot=sn;else if(sn===null||sn===!1)Ot=null;else if(It.expandIcon===null||It.expandIcon===!1)Ot=null;else{const Vt=sn!=null?sn:It.expandIcon;Ot=(0,Ye.Tm)(Vt,{className:Ze()(`${On}-submenu-expand-icon`,(0,Ye.l$)(Vt)?(fe=Vt.props)===null||fe===void 0?void 0:fe.className:"")})}const _t=de.useMemo(()=>({prefixCls:On,inlineCollapsed:yr||!1,direction:St,firstLevel:!0,theme:cn,mode:Ua,disableMenuItemTitleTooltip:yn}),[On,yr,St,yn,cn]);return la(de.createElement(oe.Z.Provider,{value:null},de.createElement(E.Provider,{value:_t},de.createElement(b.ZP,Object.assign({getPopupContainer:Ie,overflowedIndicator:de.createElement(ne.Z,null),overflowedIndicatorPopupClassName:Ze()(On,`${On}-${cn}`,Jn),mode:Ua,selectable:fa,onClick:ar},Da,{inlineCollapsed:yr,style:Object.assign(Object.assign({},at==null?void 0:at.style),an),className:Ge,prefixCls:On,direction:St,defaultMotions:en,expandIcon:Ot,ref:nt,rootClassName:Ze()(Mt,xa)}),Na))))});const ft=(0,de.forwardRef)((it,nt)=>{const De=(0,de.useRef)(null),fe=de.useContext(Be.D);return(0,de.useImperativeHandle)(nt,()=>({menu:De.current,focus:Je=>{var It;(It=De.current)===null||It===void 0||It.focus(Je)}})),de.createElement(kt,Object.assign({ref:De},it,fe))});ft.Item=x,ft.SubMenu=z,ft.Divider=et,ft.ItemGroup=b.BW;var At=ft},58421:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return It}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Ne=Be,Ze=ee(7657),ke=function(Ie,St){return de.createElement(Ze.Z,(0,b.Z)({},Ie,{ref:St,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(49198),Ve=ee(33853),je=ee(38819),Xe=ee(92310),Ye=ee.n(Xe),se=ee(4635),E=ee(20439),a=ee(99153),x=ee(84851),y=ee(19257),z=ee(93046),ne=ee(26112),re={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ue=re,oe=ee(91735),ve=function(Oe){(0,y.Z)(St,Oe);var Ie=(0,z.Z)(St);function St(){var at;(0,a.Z)(this,St);for(var Me=arguments.length,yt=new Array(Me),Fn=0;Fn<Me;Fn++)yt[Fn]=arguments[Fn];return at=Ie.call.apply(Ie,[this].concat(yt)),at.state={goInputText:""},at.getValidValue=function(){var an=at.state.goInputText;return!an||Number.isNaN(an)?void 0:Number(an)},at.buildOptionText=function(an){return"".concat(an," ").concat(at.props.locale.items_per_page)},at.changeSize=function(an){at.props.changeSize(Number(an))},at.handleChange=function(an){at.setState({goInputText:an.target.value})},at.handleBlur=function(an){var cn=at.props,sn=cn.goButton,yn=cn.quickGo,Te=cn.rootPrefixCls,xt=at.state.goInputText;sn||xt===""||(at.setState({goInputText:""}),!(an.relatedTarget&&(an.relatedTarget.className.indexOf("".concat(Te,"-item-link"))>=0||an.relatedTarget.className.indexOf("".concat(Te,"-item"))>=0))&&yn(at.getValidValue()))},at.go=function(an){var cn=at.state.goInputText;cn!==""&&(an.keyCode===ue.ENTER||an.type==="click")&&(at.setState({goInputText:""}),at.props.quickGo(at.getValidValue()))},at}return(0,x.Z)(St,[{key:"getPageSizeOptions",value:function(){var Me=this.props,yt=Me.pageSize,Fn=Me.pageSizeOptions;return Fn.some(function(an){return an.toString()===yt.toString()})?Fn:Fn.concat([yt.toString()]).sort(function(an,cn){var sn=Number.isNaN(Number(an))?0:Number(an),yn=Number.isNaN(Number(cn))?0:Number(cn);return sn-yn})}},{key:"render",value:function(){var Me=this,yt=this.props,Fn=yt.pageSize,an=yt.locale,cn=yt.rootPrefixCls,sn=yt.changeSize,yn=yt.quickGo,Te=yt.goButton,xt=yt.selectComponentClass,Ht=yt.buildOptionText,Bt=yt.selectPrefixCls,Mt=yt.disabled,dn=this.state.goInputText,gn="".concat(cn,"-options"),Ln=xt,Jn=null,va=null,Da=null;if(!sn&&!yn)return null;var Na=this.getPageSizeOptions();if(sn&&Ln){var ar=Na.map(function(Ua,fa){return de.createElement(Ln.Option,{key:fa,value:Ua.toString()},(Ht||Me.buildOptionText)(Ua))});Jn=de.createElement(Ln,{disabled:Mt,prefixCls:Bt,showSearch:!1,className:"".concat(gn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Fn||Na[0]).toString(),onChange:this.changeSize,getPopupContainer:function(fa){return fa.parentNode},"aria-label":an.page_size,defaultOpen:!1},ar)}return yn&&(Te&&(Da=typeof Te=="boolean"?de.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Mt,className:"".concat(gn,"-quick-jumper-button")},an.jump_to_confirm):de.createElement("span",{onClick:this.go,onKeyUp:this.go},Te)),va=de.createElement("div",{className:"".concat(gn,"-quick-jumper")},an.jump_to,de.createElement("input",{disabled:Mt,type:"text",value:dn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":an.page}),an.page,Da)),de.createElement("li",{className:"".concat(gn)},Jn,va)}}]),St}(de.Component);ve.defaultProps={pageSizeOptions:["10","20","50","100"]};var be=ve,We=function(Ie){var St,at=Ie.rootPrefixCls,Me=Ie.page,yt=Ie.active,Fn=Ie.className,an=Ie.showTitle,cn=Ie.onClick,sn=Ie.onKeyPress,yn=Ie.itemRender,Te="".concat(at,"-item"),xt=Ye()(Te,"".concat(Te,"-").concat(Me),(St={},(0,se.Z)(St,"".concat(Te,"-active"),yt),(0,se.Z)(St,"".concat(Te,"-disabled"),!Me),(0,se.Z)(St,Ie.className,Fn),St)),Ht=function(){cn(Me)},Bt=function(gn){sn(gn,cn,Me)},Mt=yn(Me,"page",de.createElement("a",{rel:"nofollow"},Me));return Mt?de.createElement("li",{title:an?Me.toString():null,className:xt,onClick:Ht,onKeyPress:Bt,tabIndex:0},Mt):null},Ae=We;function He(){}function he(Oe){var Ie=Number(Oe);return typeof Ie=="number"&&!Number.isNaN(Ie)&&isFinite(Ie)&&Math.floor(Ie)===Ie}var qe=function(Ie,St,at){return at};function Ke(Oe,Ie,St){var at=typeof Oe=="undefined"?Ie.pageSize:Oe;return Math.floor((St.total-1)/at)+1}var ht=function(Oe){(0,y.Z)(St,Oe);var Ie=(0,z.Z)(St);function St(at){var Me;(0,a.Z)(this,St),Me=Ie.call(this,at),Me.paginationNode=de.createRef(),Me.getJumpPrevPage=function(){return Math.max(1,Me.state.current-(Me.props.showLessItems?3:5))},Me.getJumpNextPage=function(){return Math.min(Ke(void 0,Me.state,Me.props),Me.state.current+(Me.props.showLessItems?3:5))},Me.getItemIcon=function(sn,yn){var Te=Me.props.prefixCls,xt=sn||de.createElement("button",{type:"button","aria-label":yn,className:"".concat(Te,"-item-link")});return typeof sn=="function"&&(xt=de.createElement(sn,(0,E.Z)({},Me.props))),xt},Me.isValid=function(sn){var yn=Me.props.total;return he(sn)&&sn!==Me.state.current&&he(yn)&&yn>0},Me.shouldDisplayQuickJumper=function(){var sn=Me.props,yn=sn.showQuickJumper,Te=sn.total,xt=Me.state.pageSize;return Te<=xt?!1:yn},Me.handleKeyDown=function(sn){(sn.keyCode===ue.ARROW_UP||sn.keyCode===ue.ARROW_DOWN)&&sn.preventDefault()},Me.handleKeyUp=function(sn){var yn=Me.getValidValue(sn),Te=Me.state.currentInputValue;yn!==Te&&Me.setState({currentInputValue:yn}),sn.keyCode===ue.ENTER?Me.handleChange(yn):sn.keyCode===ue.ARROW_UP?Me.handleChange(yn-1):sn.keyCode===ue.ARROW_DOWN&&Me.handleChange(yn+1)},Me.handleBlur=function(sn){var yn=Me.getValidValue(sn);Me.handleChange(yn)},Me.changePageSize=function(sn){var yn=Me.state.current,Te=Ke(sn,Me.state,Me.props);yn=yn>Te?Te:yn,Te===0&&(yn=Me.state.current),typeof sn=="number"&&("pageSize"in Me.props||Me.setState({pageSize:sn}),"current"in Me.props||Me.setState({current:yn,currentInputValue:yn})),Me.props.onShowSizeChange(yn,sn),"onChange"in Me.props&&Me.props.onChange&&Me.props.onChange(yn,sn)},Me.handleChange=function(sn){var yn=Me.props,Te=yn.disabled,xt=yn.onChange,Ht=Me.state,Bt=Ht.pageSize,Mt=Ht.current,dn=Ht.currentInputValue;if(Me.isValid(sn)&&!Te){var gn=Ke(void 0,Me.state,Me.props),Ln=sn;return sn>gn?Ln=gn:sn<1&&(Ln=1),"current"in Me.props||Me.setState({current:Ln}),Ln!==dn&&Me.setState({currentInputValue:Ln}),xt(Ln,Bt),Ln}return Mt},Me.prev=function(){Me.hasPrev()&&Me.handleChange(Me.state.current-1)},Me.next=function(){Me.hasNext()&&Me.handleChange(Me.state.current+1)},Me.jumpPrev=function(){Me.handleChange(Me.getJumpPrevPage())},Me.jumpNext=function(){Me.handleChange(Me.getJumpNextPage())},Me.hasPrev=function(){return Me.state.current>1},Me.hasNext=function(){return Me.state.current<Ke(void 0,Me.state,Me.props)},Me.runIfEnter=function(sn,yn){if(sn.key==="Enter"||sn.charCode===13){for(var Te=arguments.length,xt=new Array(Te>2?Te-2:0),Ht=2;Ht<Te;Ht++)xt[Ht-2]=arguments[Ht];yn.apply(void 0,xt)}},Me.runIfEnterPrev=function(sn){Me.runIfEnter(sn,Me.prev)},Me.runIfEnterNext=function(sn){Me.runIfEnter(sn,Me.next)},Me.runIfEnterJumpPrev=function(sn){Me.runIfEnter(sn,Me.jumpPrev)},Me.runIfEnterJumpNext=function(sn){Me.runIfEnter(sn,Me.jumpNext)},Me.handleGoTO=function(sn){(sn.keyCode===ue.ENTER||sn.type==="click")&&Me.handleChange(Me.state.currentInputValue)},Me.renderPrev=function(sn){var yn=Me.props,Te=yn.prevIcon,xt=yn.itemRender,Ht=xt(sn,"prev",Me.getItemIcon(Te,"prev page")),Bt=!Me.hasPrev();return(0,de.isValidElement)(Ht)?(0,de.cloneElement)(Ht,{disabled:Bt}):Ht},Me.renderNext=function(sn){var yn=Me.props,Te=yn.nextIcon,xt=yn.itemRender,Ht=xt(sn,"next",Me.getItemIcon(Te,"next page")),Bt=!Me.hasNext();return(0,de.isValidElement)(Ht)?(0,de.cloneElement)(Ht,{disabled:Bt}):Ht};var yt=at.onChange!==He,Fn="current"in at;Fn&&!yt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var an=at.defaultCurrent;"current"in at&&(an=at.current);var cn=at.defaultPageSize;return"pageSize"in at&&(cn=at.pageSize),an=Math.min(an,Ke(cn,void 0,at)),Me.state={current:an,currentInputValue:an,pageSize:cn},Me}return(0,x.Z)(St,[{key:"componentDidUpdate",value:function(Me,yt){var Fn=this.props.prefixCls;if(yt.current!==this.state.current&&this.paginationNode.current){var an=this.paginationNode.current.querySelector(".".concat(Fn,"-item-").concat(yt.current));if(an&&document.activeElement===an){var cn;an==null||(cn=an.blur)===null||cn===void 0||cn.call(an)}}}},{key:"getValidValue",value:function(Me){var yt=Me.target.value,Fn=Ke(void 0,this.state,this.props),an=this.state.currentInputValue,cn;return yt===""?cn=yt:Number.isNaN(Number(yt))?cn=an:yt>=Fn?cn=Fn:cn=Number(yt),cn}},{key:"getShowSizeChanger",value:function(){var Me=this.props,yt=Me.showSizeChanger,Fn=Me.total,an=Me.totalBoundaryShowSizeChanger;return typeof yt!="undefined"?yt:Fn>an}},{key:"render",value:function(){var Me=this.props,yt=Me.prefixCls,Fn=Me.className,an=Me.style,cn=Me.disabled,sn=Me.hideOnSinglePage,yn=Me.total,Te=Me.locale,xt=Me.showQuickJumper,Ht=Me.showLessItems,Bt=Me.showTitle,Mt=Me.showTotal,dn=Me.simple,gn=Me.itemRender,Ln=Me.showPrevNextJumpers,Jn=Me.jumpPrevIcon,va=Me.jumpNextIcon,Da=Me.selectComponentClass,Na=Me.selectPrefixCls,ar=Me.pageSizeOptions,Ua=this.state,fa=Ua.current,yr=Ua.pageSize,en=Ua.currentInputValue;if(sn===!0&&yn<=yr)return null;var On=Ke(void 0,this.state,this.props),la=[],xa=null,Ge=null,Ot=null,_t=null,Vt=null,Wt=xt&&xt.goButton,Rn=Ht?1:2,Bn=fa-1>0?fa-1:0,vt=fa+1<On?fa+1:On,Ft=(0,ne.Z)(this.props,{aria:!0,data:!0}),pt=Mt&&de.createElement("li",{className:"".concat(yt,"-total-text")},Mt(yn,[yn===0?0:(fa-1)*yr+1,fa*yr>yn?yn:fa*yr]));if(dn){Wt&&(typeof Wt=="boolean"?Vt=de.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Te.jump_to_confirm):Vt=de.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Wt),Vt=de.createElement("li",{title:Bt?"".concat(Te.jump_to).concat(fa,"/").concat(On):null,className:"".concat(yt,"-simple-pager")},Vt));var Sn=this.renderPrev(Bn);return de.createElement("ul",(0,b.Z)({className:Ye()(yt,"".concat(yt,"-simple"),(0,se.Z)({},"".concat(yt,"-disabled"),cn),Fn),style:an,ref:this.paginationNode},Ft),pt,Sn?de.createElement("li",{title:Bt?Te.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ye()("".concat(yt,"-prev"),(0,se.Z)({},"".concat(yt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Sn):null,de.createElement("li",{title:Bt?"".concat(fa,"/").concat(On):null,className:"".concat(yt,"-simple-pager")},de.createElement("input",{type:"text",value:en,disabled:cn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),de.createElement("span",{className:"".concat(yt,"-slash")},"/"),On),de.createElement("li",{title:Bt?Te.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ye()("".concat(yt,"-next"),(0,se.Z)({},"".concat(yt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(vt)),Vt)}if(On<=3+Rn*2){var Wn={locale:Te,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Bt,itemRender:gn};On||la.push(de.createElement(Ae,(0,b.Z)({},Wn,{key:"noPager",page:1,className:"".concat(yt,"-item-disabled")})));for(var An=1;An<=On;An+=1){var ka=fa===An;la.push(de.createElement(Ae,(0,b.Z)({},Wn,{key:An,page:An,active:ka})))}}else{var pa=Ht?Te.prev_3:Te.prev_5,_n=Ht?Te.next_3:Te.next_5,Ea=gn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Jn,"prev page")),Pa=gn(this.getJumpNextPage(),"jump-next",this.getItemIcon(va,"next page"));Ln&&(xa=Ea?de.createElement("li",{title:Bt?pa:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ye()("".concat(yt,"-jump-prev"),(0,se.Z)({},"".concat(yt,"-jump-prev-custom-icon"),!!Jn))},Ea):null,Ge=Pa?de.createElement("li",{title:Bt?_n:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ye()("".concat(yt,"-jump-next"),(0,se.Z)({},"".concat(yt,"-jump-next-custom-icon"),!!va))},Pa):null),_t=de.createElement(Ae,{locale:Te,last:!0,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:On,page:On,active:!1,showTitle:Bt,itemRender:gn}),Ot=de.createElement(Ae,{locale:Te,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Bt,itemRender:gn});var Dn=Math.max(1,fa-Rn),lr=Math.min(fa+Rn,On);fa-1<=Rn&&(lr=1+Rn*2),On-fa<=Rn&&(Dn=On-Rn*2);for(var Nr=Dn;Nr<=lr;Nr+=1){var $r=fa===Nr;la.push(de.createElement(Ae,{locale:Te,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Nr,page:Nr,active:$r,showTitle:Bt,itemRender:gn}))}fa-1>=Rn*2&&fa!==3&&(la[0]=(0,de.cloneElement)(la[0],{className:"".concat(yt,"-item-after-jump-prev")}),la.unshift(xa)),On-fa>=Rn*2&&fa!==On-2&&(la[la.length-1]=(0,de.cloneElement)(la[la.length-1],{className:"".concat(yt,"-item-before-jump-next")}),la.push(Ge)),Dn!==1&&la.unshift(Ot),lr!==On&&la.push(_t)}var Sr=!this.hasPrev()||!On,$e=!this.hasNext()||!On,bn=this.renderPrev(Bn),Xt=this.renderNext(vt);return de.createElement("ul",(0,b.Z)({className:Ye()(yt,Fn,(0,se.Z)({},"".concat(yt,"-disabled"),cn)),style:an,ref:this.paginationNode},Ft),pt,bn?de.createElement("li",{title:Bt?Te.prev_page:null,onClick:this.prev,tabIndex:Sr?null:0,onKeyPress:this.runIfEnterPrev,className:Ye()("".concat(yt,"-prev"),(0,se.Z)({},"".concat(yt,"-disabled"),Sr)),"aria-disabled":Sr},bn):null,la,Xt?de.createElement("li",{title:Bt?Te.next_page:null,onClick:this.next,tabIndex:$e?null:0,onKeyPress:this.runIfEnterNext,className:Ye()("".concat(yt,"-next"),(0,se.Z)({},"".concat(yt,"-disabled"),$e)),"aria-disabled":$e},Xt):null,de.createElement(be,{disabled:cn,locale:Te,rootPrefixCls:yt,selectComponentClass:Da,selectPrefixCls:Na,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:fa,pageSize:yr,pageSizeOptions:ar,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Wt}))}}],[{key:"getDerivedStateFromProps",value:function(Me,yt){var Fn={};if("current"in Me&&(Fn.current=Me.current,Me.current!==yt.current&&(Fn.currentInputValue=Fn.current)),"pageSize"in Me&&Me.pageSize!==yt.pageSize){var an=yt.current,cn=Ke(Me.pageSize,yt,Me);an=an>cn?cn:an,"current"in Me||(Fn.current=an,Fn.currentInputValue=an),Fn.pageSize=Me.pageSize}return Fn}}]),St}(de.Component);ht.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:He,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:He,locale:oe.Z,style:{},itemRender:qe,totalBoundaryShowSizeChanger:50};var Le=ht,rt=ee(22075),ut=ee(36355),gt=ee(19716),mt=ee(8628),un=ee(9763),Nt=ee(57809);const rn=Oe=>de.createElement(Nt.default,Object.assign({},Oe,{showSearch:!0,size:"small"})),nn=Oe=>de.createElement(Nt.default,Object.assign({},Oe,{showSearch:!0,size:"middle"}));rn.Option=Nt.default.Option,nn.Option=Nt.default.Option;var Ue=ee(9937),dt=ee(17313),on=ee(83116),Vn=ee(37613);const Zt=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ie}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ie}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ie}-disabled`]:{cursor:"not-allowed",[`${Ie}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Oe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Oe.colorBorder,backgroundColor:Oe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Oe.itemActiveBgDisabled},a:{color:Oe.itemActiveColorDisabled}}},[`${Ie}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ie}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ie}-simple-pager`]:{color:Oe.colorTextDisabled},[`${Ie}-jump-prev, ${Ie}-jump-next`]:{[`${Ie}-item-link-icon`]:{opacity:0},[`${Ie}-item-ellipsis`]:{opacity:1}}},[`&${Ie}-simple`]:{[`${Ie}-prev, ${Ie}-next`]:{[`&${Ie}-disabled ${Ie}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},wn=Oe=>{const{componentCls:Ie}=Oe;return{[`&${Ie}-mini ${Ie}-total-text, &${Ie}-mini ${Ie}-simple-pager`]:{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`},[`&${Ie}-mini ${Ie}-item`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:`${Oe.itemSizeSM-2}px`},[`&${Ie}-mini:not(${Ie}-disabled) ${Ie}-item:not(${Ie}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},[`&${Ie}-mini ${Ie}-prev, &${Ie}-mini ${Ie}-next`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:`${Oe.itemSizeSM}px`},[`&${Ie}-mini:not(${Ie}-disabled)`]:{[`${Ie}-prev, ${Ie}-next`]:{[`&:hover ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${Ie}-disabled:hover ${Ie}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Ie}-mini ${Ie}-prev ${Ie}-item-link,
&${Ie}-mini ${Ie}-next ${Ie}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`}},[`&${Ie}-mini ${Ie}-jump-prev, &${Ie}-mini ${Ie}-jump-next`]:{height:Oe.itemSizeSM,marginInlineEnd:0,lineHeight:`${Oe.itemSizeSM}px`},[`&${Ie}-mini ${Ie}-options`]:{marginInlineStart:Oe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Oe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Ue.x0)(Oe)),{width:Oe.paginationMiniQuickJumperInputWidth,height:Oe.controlHeightSM})}}}},ze=Oe=>{const{componentCls:Ie}=Oe;return{[`
&${Ie}-simple ${Ie}-prev,
&${Ie}-simple ${Ie}-next
`]:{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`,verticalAlign:"top",[`${Ie}-item-link`]:{height:Oe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive},"&::after":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`}}},[`&${Ie}-simple ${Ie}-simple-pager`]:{display:"inline-block",height:Oe.itemSizeSM,marginInlineEnd:Oe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Oe.marginXS,padding:`0 ${Oe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Oe.itemInputBg,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,borderRadius:Oe.borderRadius,outline:"none",transition:`border-color ${Oe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Oe.colorPrimary},"&:focus":{borderColor:Oe.colorPrimaryHover,boxShadow:`${Oe.inputOutlineOffset}px 0 ${Oe.controlOutlineWidth}px ${Oe.controlOutline}`},"&[disabled]":{color:Oe.colorTextDisabled,backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,cursor:"not-allowed"}}}}},ct=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}-jump-prev, ${Ie}-jump-next`]:{outline:0,[`${Ie}-item-container`]:{position:"relative",[`${Ie}-item-link-icon`]:{color:Oe.colorPrimary,fontSize:Oe.fontSizeSM,opacity:0,transition:`all ${Oe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ie}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Oe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Oe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Oe.paginationEllipsisTextIndent,opacity:1,transition:`all ${Oe.motionDurationMid}`}},"&:hover":{[`${Ie}-item-link-icon`]:{opacity:1},[`${Ie}-item-ellipsis`]:{opacity:0}}},[`
${Ie}-prev,
${Ie}-jump-prev,
${Ie}-jump-next
`]:{marginInlineEnd:Oe.marginXS},[`
${Ie}-prev,
${Ie}-next,
${Ie}-jump-prev,
${Ie}-jump-next
`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,color:Oe.colorText,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Oe.borderRadius,cursor:"pointer",transition:`all ${Oe.motionDurationMid}`},[`${Ie}-prev, ${Ie}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Oe.colorText,cursor:"pointer",userSelect:"none"},[`${Ie}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Oe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:"none",transition:`all ${Oe.motionDurationMid}`},[`&:hover ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${Ie}-disabled:hover`]:{[`${Ie}-item-link`]:{backgroundColor:"transparent"}}},[`${Ie}-slash`]:{marginInlineEnd:Oe.paginationSlashMarginInlineEnd,marginInlineStart:Oe.paginationSlashMarginInlineStart},[`${Ie}-options`]:{display:"inline-block",marginInlineStart:Oe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Oe.controlHeight,marginInlineStart:Oe.marginXS,lineHeight:`${Oe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Ue.ik)(Oe)),{width:Oe.controlHeightLG*1.25,height:Oe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Oe.marginXS,marginInlineEnd:Oe.marginXS})}}}},kt=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}-item`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,marginInlineEnd:Oe.marginXS,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Oe.paginationItemPaddingInline}px`,color:Oe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ie}-item-active)`]:{"&:hover":{transition:`all ${Oe.motionDurationMid}`,backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},"&-active":{fontWeight:Oe.fontWeightStrong,backgroundColor:Oe.itemActiveBg,borderColor:Oe.colorPrimary,a:{color:Oe.colorPrimary},"&:hover":{borderColor:Oe.colorPrimaryHover},"&:hover a":{color:Oe.colorPrimaryHover}}}}},ft=Oe=>{const{componentCls:Ie}=Oe;return{[Ie]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,dt.Wf)(Oe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ie}-total-text`]:{display:"inline-block",height:Oe.itemSize,marginInlineEnd:Oe.marginXS,lineHeight:`${Oe.itemSize-2}px`,verticalAlign:"middle"}}),kt(Oe)),ct(Oe)),ze(Oe)),wn(Oe)),Zt(Oe)),{[`@media only screen and (max-width: ${Oe.screenLG}px)`]:{[`${Ie}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Oe.screenSM}px)`]:{[`${Ie}-options`]:{display:"none"}}}),[`&${Oe.componentCls}-rtl`]:{direction:"rtl"}}},At=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}${Ie}-disabled:not(${Ie}-mini)`]:{"&, &:hover":{[`${Ie}-item-link`]:{borderColor:Oe.colorBorder}},"&:focus-visible":{[`${Ie}-item-link`]:{borderColor:Oe.colorBorder}},[`${Ie}-item, ${Ie}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,[`&:hover:not(${Ie}-item-active)`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,a:{color:Oe.colorTextDisabled}},[`&${Ie}-item-active`]:{backgroundColor:Oe.itemActiveBgDisabled}},[`${Ie}-prev, ${Ie}-next`]:{"&:hover button":{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,color:Oe.colorTextDisabled},[`${Ie}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder}}},[`${Ie}:not(${Ie}-mini)`]:{[`${Ie}-prev, ${Ie}-next`]:{"&:hover button":{borderColor:Oe.colorPrimaryHover,backgroundColor:Oe.itemBg},[`${Ie}-item-link`]:{backgroundColor:Oe.itemLinkBg,borderColor:Oe.colorBorder},[`&:hover ${Ie}-item-link`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,color:Oe.colorPrimary},[`&${Ie}-disabled`]:{[`${Ie}-item-link`]:{borderColor:Oe.colorBorder,color:Oe.colorTextDisabled}}},[`${Ie}-item`]:{backgroundColor:Oe.itemBg,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,[`&:hover:not(${Ie}-item-active)`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,a:{color:Oe.colorPrimary}},"&-active":{borderColor:Oe.colorPrimary}}}}},it=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}:not(${Ie}-disabled)`]:{[`${Ie}-item`]:Object.assign({},(0,dt.Qy)(Oe)),[`${Ie}-jump-prev, ${Ie}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ie}-item-link-icon`]:{opacity:1},[`${Ie}-item-ellipsis`]:{opacity:0}},(0,dt.oN)(Oe))},[`${Ie}-prev, ${Ie}-next`]:{[`&:focus-visible ${Ie}-item-link`]:Object.assign({},(0,dt.oN)(Oe))}}}};var nt=(0,on.Z)("Pagination",Oe=>{const Ie=(0,Vn.TS)(Oe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Oe.marginXXS/2,paginationMiniQuickJumperInputWidth:Oe.controlHeightLG*1.1,paginationItemPaddingInline:Oe.marginXXS*1.5,paginationEllipsisLetterSpacing:Oe.marginXXS/2,paginationSlashMarginInlineStart:Oe.marginXXS,paginationSlashMarginInlineEnd:Oe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ue.e5)(Oe),(0,Ue.TM)(Oe));return[ft(Ie),it(Ie),Oe.wireframe&&At(Ie)]},Oe=>({itemBg:Oe.colorBgContainer,itemSize:Oe.controlHeight,itemSizeSM:Oe.controlHeightSM,itemActiveBg:Oe.colorBgContainer,itemLinkBg:Oe.colorBgContainer,itemActiveColorDisabled:Oe.colorTextDisabled,itemActiveBgDisabled:Oe.controlItemBgActiveDisabled,itemInputBg:Oe.colorBgContainer,miniOptionsSizeChangerTop:0})),De=function(Oe,Ie){var St={};for(var at in Oe)Object.prototype.hasOwnProperty.call(Oe,at)&&Ie.indexOf(at)<0&&(St[at]=Oe[at]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,at=Object.getOwnPropertySymbols(Oe);Me<at.length;Me++)Ie.indexOf(at[Me])<0&&Object.prototype.propertyIsEnumerable.call(Oe,at[Me])&&(St[at[Me]]=Oe[at[Me]]);return St},Je=Oe=>{const{prefixCls:Ie,selectPrefixCls:St,className:at,rootClassName:Me,style:yt,size:Fn,locale:an,selectComponentClass:cn,responsive:sn,showSizeChanger:yn}=Oe,Te=De(Oe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:xt}=(0,mt.Z)(sn),{getPrefixCls:Ht,direction:Bt,pagination:Mt={}}=de.useContext(ut.E_),dn=Ht("pagination",Ie),[gn,Ln]=nt(dn),Jn=yn!=null?yn:Mt.showSizeChanger,va=de.useMemo(()=>{const On=de.createElement("span",{className:`${dn}-item-ellipsis`},"\u2022\u2022\u2022"),la=de.createElement("button",{className:`${dn}-item-link`,type:"button",tabIndex:-1},Bt==="rtl"?de.createElement(je.Z,null):de.createElement(Ve.Z,null)),xa=de.createElement("button",{className:`${dn}-item-link`,type:"button",tabIndex:-1},Bt==="rtl"?de.createElement(Ve.Z,null):de.createElement(je.Z,null)),Ge=de.createElement("a",{className:`${dn}-item-link`},de.createElement("div",{className:`${dn}-item-container`},Bt==="rtl"?de.createElement(et.Z,{className:`${dn}-item-link-icon`}):de.createElement(st,{className:`${dn}-item-link-icon`}),On)),Ot=de.createElement("a",{className:`${dn}-item-link`},de.createElement("div",{className:`${dn}-item-container`},Bt==="rtl"?de.createElement(st,{className:`${dn}-item-link-icon`}):de.createElement(et.Z,{className:`${dn}-item-link-icon`}),On));return{prevIcon:la,nextIcon:xa,jumpPrevIcon:Ge,jumpNextIcon:Ot}},[Bt,dn]),[Da]=(0,un.Z)("Pagination",rt.Z),Na=Object.assign(Object.assign({},Da),an),ar=(0,gt.Z)(Fn),Ua=ar==="small"||!!(xt&&!ar&&sn),fa=Ht("select",St),yr=Ye()({[`${dn}-mini`]:Ua,[`${dn}-rtl`]:Bt==="rtl"},Mt==null?void 0:Mt.className,at,Me,Ln),en=Object.assign(Object.assign({},Mt==null?void 0:Mt.style),yt);return gn(de.createElement(Le,Object.assign({},va,Te,{style:en,prefixCls:dn,selectPrefixCls:fa,className:yr,selectComponentClass:cn||(Ua?rn:nn),locale:Na,showSizeChanger:Jn})))},It=Je},39722:function(Qt,Gt,ee){"use strict";ee.d(Gt,{t5:function(){return Ve}});var b=ee(92310),de=ee.n(b),Be=ee(55477),Ne=ee(59301),Ze=ee(36355),ke=ee(77578),le=ee(17356),st=function(Xe,Ye){var se={};for(var E in Xe)Object.prototype.hasOwnProperty.call(Xe,E)&&Ye.indexOf(E)<0&&(se[E]=Xe[E]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(Xe);a<E.length;a++)Ye.indexOf(E[a])<0&&Object.prototype.propertyIsEnumerable.call(Xe,E[a])&&(se[E[a]]=Xe[E[a]]);return se};const et=(Xe,Ye,se)=>{if(!(!Ye&&!se))return Ne.createElement(Ne.Fragment,null,Ye&&Ne.createElement("div",{className:`${Xe}-title`},(0,ke.Z)(Ye)),Ne.createElement("div",{className:`${Xe}-inner-content`},(0,ke.Z)(se)))},Ve=Xe=>{const{hashId:Ye,prefixCls:se,className:E,style:a,placement:x="top",title:y,content:z,children:ne}=Xe;return Ne.createElement("div",{className:de()(Ye,se,`${se}-pure`,`${se}-placement-${x}`,E),style:a},Ne.createElement("div",{className:`${se}-arrow`}),Ne.createElement(Be.G,Object.assign({},Xe,{className:Ye,prefixCls:se}),ne||et(se,y,z)))},je=Xe=>{const{prefixCls:Ye}=Xe,se=st(Xe,["prefixCls"]),{getPrefixCls:E}=Ne.useContext(Ze.E_),a=E("popover",Ye),[x,y]=(0,le.Z)(a);return x(Ne.createElement(Ve,Object.assign({},se,{prefixCls:a,hashId:y})))};Gt.ZP=je},60324:function(Qt,Gt,ee){"use strict";var b=ee(92310),de=ee.n(b),Be=ee(59301),Ne=ee(77578),Ze=ee(62892),ke=ee(36355),le=ee(6848),st=ee(39722),et=ee(17356),Ve=function(Ye,se){var E={};for(var a in Ye)Object.prototype.hasOwnProperty.call(Ye,a)&&se.indexOf(a)<0&&(E[a]=Ye[a]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Ye);x<a.length;x++)se.indexOf(a[x])<0&&Object.prototype.propertyIsEnumerable.call(Ye,a[x])&&(E[a[x]]=Ye[a[x]]);return E};const je=Ye=>{let{title:se,content:E,prefixCls:a}=Ye;return Be.createElement(Be.Fragment,null,se&&Be.createElement("div",{className:`${a}-title`},(0,Ne.Z)(se)),Be.createElement("div",{className:`${a}-inner-content`},(0,Ne.Z)(E)))},Xe=Be.forwardRef((Ye,se)=>{const{prefixCls:E,title:a,content:x,overlayClassName:y,placement:z="top",trigger:ne="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:ue=.1,overlayStyle:oe={}}=Ye,ve=Ve(Ye,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:be}=Be.useContext(ke.E_),We=be("popover",E),[Ae,He]=(0,et.Z)(We),he=be(),qe=de()(y,He);return Ae(Be.createElement(le.Z,Object.assign({placement:z,trigger:ne,mouseEnterDelay:re,mouseLeaveDelay:ue,overlayStyle:oe},ve,{prefixCls:We,overlayClassName:qe,ref:se,overlay:a||x?Be.createElement(je,{prefixCls:We,title:a,content:x}):null,transitionName:(0,Ze.m)(he,"zoom-big",ve.transitionName),"data-popover-inject":!0})))});Xe._InternalPanelDoNotUseOrYouWillBeFired=st.ZP,Gt.Z=Xe},17356:function(Qt,Gt,ee){"use strict";var b=ee(17313),de=ee(29878),Be=ee(19447),Ne=ee(33166),Ze=ee(83116),ke=ee(37613);const le=Ve=>{const{componentCls:je,popoverColor:Xe,minWidth:Ye,fontWeightStrong:se,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:y,zIndexPopup:z,marginXS:ne,colorBgElevated:re,popoverBg:ue}=Ve;return[{[je]:Object.assign(Object.assign({},(0,b.Wf)(Ve)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":re,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${je}-content`]:{position:"relative"},[`${je}-inner`]:{backgroundColor:ue,backgroundClip:"padding-box",borderRadius:y,boxShadow:a,padding:E},[`${je}-title`]:{minWidth:Ye,marginBottom:ne,color:x,fontWeight:se},[`${je}-inner-content`]:{color:Xe}})},(0,Be.ZP)(Ve,{colorBg:"var(--antd-arrow-background-color)"}),{[`${je}-pure`]:{position:"relative",maxWidth:"none",margin:Ve.sizePopupArrow,display:"inline-block",[`${je}-content`]:{display:"inline-block"}}}]},st=Ve=>{const{componentCls:je}=Ve;return{[je]:Ne.i.map(Xe=>{const Ye=Ve[`${Xe}6`];return{[`&${je}-${Xe}`]:{"--antd-arrow-background-color":Ye,[`${je}-inner`]:{backgroundColor:Ye},[`${je}-arrow`]:{background:"transparent"}}}})}},et=Ve=>{const{componentCls:je,lineWidth:Xe,lineType:Ye,colorSplit:se,paddingSM:E,controlHeight:a,fontSize:x,lineHeight:y,padding:z}=Ve,ne=a-Math.round(x*y),re=ne/2,ue=ne/2-Xe,oe=z;return{[je]:{[`${je}-inner`]:{padding:0},[`${je}-title`]:{margin:0,padding:`${re}px ${oe}px ${ue}px`,borderBottom:`${Xe}px ${Ye} ${se}`},[`${je}-inner-content`]:{padding:`${E}px ${oe}px`}}}};Gt.Z=(0,Ze.Z)("Popover",Ve=>{const{colorBgElevated:je,colorText:Xe,wireframe:Ye}=Ve,se=(0,ke.TS)(Ve,{popoverPadding:12,popoverBg:je,popoverColor:Xe});return[le(se),st(se),Ye&&et(se),(0,de._y)(se,"zoom-big")]},Ve=>({width:177,minWidth:177,zIndexPopup:Ve.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return yn}});var b=ee(59301),de=ee(29679),Be=ee(40001),Ne=ee(19248),Ze=ee(99267),ke=ee(92310),le=ee.n(ke),st=ee(2738),et=ee(36355),Ve=ee(14809),je=ee(20439),Xe=ee(62646),Ye={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},se=function(){var xt=(0,b.useRef)([]),Ht=(0,b.useRef)(null);return(0,b.useEffect)(function(){var Bt=Date.now(),Mt=!1;xt.current.forEach(function(dn){if(dn){Mt=!0;var gn=dn.style;gn.transitionDuration=".3s, .3s, .3s, .06s",Ht.current&&Bt-Ht.current<100&&(gn.transitionDuration="0s, 0s")}}),Mt&&(Ht.current=Date.now())}),xt.current},E=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(xt){var Ht=(0,je.Z)((0,je.Z)({},Ye),xt),Bt=Ht.className,Mt=Ht.percent,dn=Ht.prefixCls,gn=Ht.strokeColor,Ln=Ht.strokeLinecap,Jn=Ht.strokeWidth,va=Ht.style,Da=Ht.trailColor,Na=Ht.trailWidth,ar=Ht.transition,Ua=(0,Xe.Z)(Ht,E);delete Ua.gapPosition;var fa=Array.isArray(Mt)?Mt:[Mt],yr=Array.isArray(gn)?gn:[gn],en=se(),On=Jn/2,la=100-Jn/2,xa="M ".concat(Ln==="round"?On:0,",").concat(On,`
L `).concat(Ln==="round"?la:100,",").concat(On),Ge="0 0 100 ".concat(Jn),Ot=0;return b.createElement("svg",(0,Ve.Z)({className:le()("".concat(dn,"-line"),Bt),viewBox:Ge,preserveAspectRatio:"none",style:va},Ua),b.createElement("path",{className:"".concat(dn,"-line-trail"),d:xa,strokeLinecap:Ln,stroke:Da,strokeWidth:Na||Jn,fillOpacity:"0"}),fa.map(function(_t,Vt){var Wt=1;switch(Ln){case"round":Wt=1-Jn/100;break;case"square":Wt=1-Jn/2/100;break;default:Wt=1;break}var Rn={strokeDasharray:"".concat(_t*Wt,"px, 100px"),strokeDashoffset:"-".concat(Ot,"px"),transition:ar||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Bn=yr[Vt]||yr[yr.length-1];return Ot+=_t,b.createElement("path",{key:Vt,className:"".concat(dn,"-line-path"),d:xa,strokeLinecap:Ln,stroke:Bn,strokeWidth:Jn,fillOpacity:"0",ref:function(Ft){en[Vt]=Ft},style:Rn})}))},x=a,y=ee(93664),z=ee(50298),ne=ee(47273),re=0,ue=(0,ne.Z)();function oe(){var Te;return ue?(Te=re,re+=1):Te="TEST_OR_SSR",Te}var ve=function(Te){var xt=b.useState(),Ht=(0,z.Z)(xt,2),Bt=Ht[0],Mt=Ht[1];return b.useEffect(function(){Mt("rc_progress_".concat(oe()))},[]),Te||Bt},be=function(xt){var Ht=xt.bg,Bt=xt.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:Ht}},Bt)};function We(Te,xt){return Object.keys(Te).map(function(Ht){var Bt=parseFloat(Ht),Mt="".concat(Math.floor(Bt*xt),"%");return"".concat(Te[Ht]," ").concat(Mt)})}var Ae=b.forwardRef(function(Te,xt){var Ht=Te.prefixCls,Bt=Te.color,Mt=Te.gradientId,dn=Te.radius,gn=Te.style,Ln=Te.ptg,Jn=Te.strokeLinecap,va=Te.strokeWidth,Da=Te.size,Na=Te.gapDegree,ar=Bt&&(0,y.Z)(Bt)==="object",Ua=ar?"#FFF":void 0,fa=Da/2,yr=b.createElement("circle",{className:"".concat(Ht,"-circle-path"),r:dn,cx:fa,cy:fa,stroke:Ua,strokeLinecap:Jn,strokeWidth:va,opacity:Ln===0?0:1,style:gn,ref:xt});if(!ar)return yr;var en="".concat(Mt,"-conic"),On=Na?"".concat(180+Na/2,"deg"):"0deg",la=We(Bt,(360-Na)/360),xa=We(Bt,1),Ge="conic-gradient(from ".concat(On,", ").concat(la.join(", "),")"),Ot="linear-gradient(to ".concat(Na?"bottom":"top",", ").concat(xa.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:en},yr),b.createElement("foreignObject",{x:0,y:0,width:Da,height:Da,mask:"url(#".concat(en,")")},b.createElement(be,{bg:Ot},b.createElement(be,{bg:Ge}))))}),He=Ae,he=100,qe=function(xt,Ht,Bt,Mt,dn,gn,Ln,Jn,va,Da){var Na=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,ar=Bt/100*360*((360-gn)/360),Ua=gn===0?0:{bottom:0,top:180,left:90,right:-90}[Ln],fa=(100-Mt)/100*Ht;va==="round"&&Mt!==100&&(fa+=Da/2,fa>=Ht&&(fa=Ht-.01));var yr=he/2;return{stroke:typeof Jn=="string"?Jn:void 0,strokeDasharray:"".concat(Ht,"px ").concat(xt),strokeDashoffset:fa+Na,transform:"rotate(".concat(dn+ar+Ua,"deg)"),transformOrigin:"".concat(yr,"px ").concat(yr,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Ke=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ht(Te){var xt=Te!=null?Te:[];return Array.isArray(xt)?xt:[xt]}var Le=function(xt){var Ht=(0,je.Z)((0,je.Z)({},Ye),xt),Bt=Ht.id,Mt=Ht.prefixCls,dn=Ht.steps,gn=Ht.strokeWidth,Ln=Ht.trailWidth,Jn=Ht.gapDegree,va=Jn===void 0?0:Jn,Da=Ht.gapPosition,Na=Ht.trailColor,ar=Ht.strokeLinecap,Ua=Ht.style,fa=Ht.className,yr=Ht.strokeColor,en=Ht.percent,On=(0,Xe.Z)(Ht,Ke),la=he/2,xa=ve(Bt),Ge="".concat(xa,"-gradient"),Ot=la-gn/2,_t=Math.PI*2*Ot,Vt=va>0?90+va/2:-90,Wt=_t*((360-va)/360),Rn=(0,y.Z)(dn)==="object"?dn:{count:dn,space:2},Bn=Rn.count,vt=Rn.space,Ft=ht(en),pt=ht(yr),Sn=pt.find(function(Pa){return Pa&&(0,y.Z)(Pa)==="object"}),Wn=Sn&&(0,y.Z)(Sn)==="object",An=Wn?"butt":ar,ka=qe(_t,Wt,0,100,Vt,va,Da,Na,An,gn),pa=se(),_n=function(){var Dn=0;return Ft.map(function(lr,Nr){var $r=pt[Nr]||pt[pt.length-1],Sr=qe(_t,Wt,Dn,lr,Vt,va,Da,$r,An,gn);return Dn+=lr,b.createElement(He,{key:Nr,color:$r,ptg:lr,radius:Ot,prefixCls:Mt,gradientId:Ge,style:Sr,strokeLinecap:An,strokeWidth:gn,gapDegree:va,ref:function(bn){pa[Nr]=bn},size:he})}).reverse()},Ea=function(){var Dn=Math.round(Bn*(Ft[0]/100)),lr=100/Bn,Nr=0;return new Array(Bn).fill(null).map(function($r,Sr){var $e=Sr<=Dn-1?pt[0]:Na,bn=$e&&(0,y.Z)($e)==="object"?"url(#".concat(Ge,")"):void 0,Xt=qe(_t,Wt,Nr,lr,Vt,va,Da,$e,"butt",gn,vt);return Nr+=(Wt-Xt.strokeDashoffset+vt)*100/Wt,b.createElement("circle",{key:Sr,className:"".concat(Mt,"-circle-path"),r:Ot,cx:la,cy:la,stroke:bn,strokeWidth:gn,opacity:1,style:Xt,ref:function(Kn){pa[Sr]=Kn}})})};return b.createElement("svg",(0,Ve.Z)({className:le()("".concat(Mt,"-circle"),fa),viewBox:"0 0 ".concat(he," ").concat(he),style:Ua,id:Bt,role:"presentation"},On),!Bn&&b.createElement("circle",{className:"".concat(Mt,"-circle-trail"),r:Ot,cx:la,cy:la,stroke:Na,strokeLinecap:An,strokeWidth:Ln||gn,style:ka}),Bn?Ea():_n())},rt=Le,ut={Line:x,Circle:rt},gt=ee(6848),mt=ee(30071);function un(Te){return!Te||Te<0?0:Te>100?100:Te}function Nt(Te){let{success:xt,successPercent:Ht}=Te,Bt=Ht;return xt&&"progress"in xt&&(Bt=xt.progress),xt&&"percent"in xt&&(Bt=xt.percent),Bt}const rn=Te=>{let{percent:xt,success:Ht,successPercent:Bt}=Te;const Mt=un(Nt({success:Ht,successPercent:Bt}));return[Mt,un(un(xt)-Mt)]},nn=Te=>{let{success:xt={},strokeColor:Ht}=Te;const{strokeColor:Bt}=xt;return[Bt||mt.presetPrimaryColors.green,Ht||null]},Ue=(Te,xt,Ht)=>{var Bt,Mt,dn,gn;let Ln=-1,Jn=-1;if(xt==="step"){const va=Ht.steps,Da=Ht.strokeWidth;typeof Te=="string"||typeof Te=="undefined"?(Ln=Te==="small"?2:14,Jn=Da!=null?Da:8):typeof Te=="number"?[Ln,Jn]=[Te,Te]:[Ln=14,Jn=8]=Te,Ln*=va}else if(xt==="line"){const va=Ht==null?void 0:Ht.strokeWidth;typeof Te=="string"||typeof Te=="undefined"?Jn=va||(Te==="small"?6:8):typeof Te=="number"?[Ln,Jn]=[Te,Te]:[Ln=-1,Jn=8]=Te}else(xt==="circle"||xt==="dashboard")&&(typeof Te=="string"||typeof Te=="undefined"?[Ln,Jn]=Te==="small"?[60,60]:[120,120]:typeof Te=="number"?[Ln,Jn]=[Te,Te]:(Ln=(Mt=(Bt=Te[0])!==null&&Bt!==void 0?Bt:Te[1])!==null&&Mt!==void 0?Mt:120,Jn=(gn=(dn=Te[0])!==null&&dn!==void 0?dn:Te[1])!==null&&gn!==void 0?gn:120));return[Ln,Jn]},dt=3,on=Te=>dt/Te*100;var Zt=Te=>{const{prefixCls:xt,trailColor:Ht=null,strokeLinecap:Bt="round",gapPosition:Mt,gapDegree:dn,width:gn=120,type:Ln,children:Jn,success:va,size:Da=gn}=Te,[Na,ar]=Ue(Da,"circle");let{strokeWidth:Ua}=Te;Ua===void 0&&(Ua=Math.max(on(Na),6));const fa={width:Na,height:ar,fontSize:Na*.15+6},yr=b.useMemo(()=>{if(dn||dn===0)return dn;if(Ln==="dashboard")return 75},[dn,Ln]),en=Mt||Ln==="dashboard"&&"bottom"||void 0,On=Object.prototype.toString.call(Te.strokeColor)==="[object Object]",la=nn({success:va,strokeColor:Te.strokeColor}),xa=le()(`${xt}-inner`,{[`${xt}-circle-gradient`]:On}),Ge=b.createElement(rt,{percent:rn(Te),strokeWidth:Ua,trailWidth:Ua,strokeColor:la,strokeLinecap:Bt,trailColor:Ht,prefixCls:xt,gapDegree:yr,gapPosition:en});return b.createElement("div",{className:xa,style:fa},Na<=20?b.createElement(gt.Z,{title:Jn},b.createElement("span",null,Ge)):b.createElement(b.Fragment,null,Ge,Jn))},wn=function(Te,xt){var Ht={};for(var Bt in Te)Object.prototype.hasOwnProperty.call(Te,Bt)&&xt.indexOf(Bt)<0&&(Ht[Bt]=Te[Bt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,Bt=Object.getOwnPropertySymbols(Te);Mt<Bt.length;Mt++)xt.indexOf(Bt[Mt])<0&&Object.prototype.propertyIsEnumerable.call(Te,Bt[Mt])&&(Ht[Bt[Mt]]=Te[Bt[Mt]]);return Ht};const ze=Te=>{let xt=[];return Object.keys(Te).forEach(Ht=>{const Bt=parseFloat(Ht.replace(/%/g,""));isNaN(Bt)||xt.push({key:Bt,value:Te[Ht]})}),xt=xt.sort((Ht,Bt)=>Ht.key-Bt.key),xt.map(Ht=>{let{key:Bt,value:Mt}=Ht;return`${Mt} ${Bt}%`}).join(", ")},ct=(Te,xt)=>{const{from:Ht=mt.presetPrimaryColors.blue,to:Bt=mt.presetPrimaryColors.blue,direction:Mt=xt==="rtl"?"to left":"to right"}=Te,dn=wn(Te,["from","to","direction"]);if(Object.keys(dn).length!==0){const gn=ze(dn);return{backgroundImage:`linear-gradient(${Mt}, ${gn})`}}return{backgroundImage:`linear-gradient(${Mt}, ${Ht}, ${Bt})`}};var ft=Te=>{const{prefixCls:xt,direction:Ht,percent:Bt,size:Mt,strokeWidth:dn,strokeColor:gn,strokeLinecap:Ln="round",children:Jn,trailColor:va=null,success:Da}=Te,Na=gn&&typeof gn!="string"?ct(gn,Ht):{backgroundColor:gn},ar=Ln==="square"||Ln==="butt"?0:void 0,Ua={backgroundColor:va||void 0,borderRadius:ar},fa=Mt!=null?Mt:[-1,dn||(Mt==="small"?6:8)],[yr,en]=Ue(fa,"line",{strokeWidth:dn}),On=Object.assign({width:`${un(Bt)}%`,height:en,borderRadius:ar},Na),la=Nt(Te),xa={width:`${un(la)}%`,height:en,borderRadius:ar,backgroundColor:Da==null?void 0:Da.strokeColor},Ge={width:yr<0?"100%":yr,height:en};return b.createElement(b.Fragment,null,b.createElement("div",{className:`${xt}-outer`,style:Ge},b.createElement("div",{className:`${xt}-inner`,style:Ua},b.createElement("div",{className:`${xt}-bg`,style:On}),la!==void 0?b.createElement("div",{className:`${xt}-success-bg`,style:xa}):null)),Jn)},it=Te=>{const{size:xt,steps:Ht,percent:Bt=0,strokeWidth:Mt=8,strokeColor:dn,trailColor:gn=null,prefixCls:Ln,children:Jn}=Te,va=Math.round(Ht*(Bt/100)),Da=xt==="small"?2:14,Na=xt!=null?xt:[Da,Mt],[ar,Ua]=Ue(Na,"step",{steps:Ht,strokeWidth:Mt}),fa=ar/Ht,yr=new Array(Ht);for(let en=0;en<Ht;en++){const On=Array.isArray(dn)?dn[en]:dn;yr[en]=b.createElement("div",{key:en,className:le()(`${Ln}-steps-item`,{[`${Ln}-steps-item-active`]:en<=va-1}),style:{backgroundColor:en<=va-1?On:gn,width:fa,height:Ua}})}return b.createElement("div",{className:`${Ln}-steps-outer`},yr,Jn)},nt=ee(93083),De=ee(17313),fe=ee(83116),Je=ee(37613);const It=Te=>{const xt=Te?"100%":"-100%";return new nt.Keyframes(`antProgress${Te?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${xt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${xt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Oe=Te=>{const{componentCls:xt,iconCls:Ht}=Te;return{[xt]:Object.assign(Object.assign({},(0,De.Wf)(Te)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Te.fontSize,marginInlineEnd:Te.marginXS,marginBottom:Te.marginXS},[`${xt}-outer`]:{display:"inline-block",width:"100%"},[`&${xt}-show-info`]:{[`${xt}-outer`]:{marginInlineEnd:`calc(-2em - ${Te.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Te.paddingXS}px)`}},[`${xt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Te.remainingColor,borderRadius:Te.lineBorderRadius},[`${xt}-inner:not(${xt}-circle-gradient)`]:{[`${xt}-circle-path`]:{stroke:Te.defaultColor}},[`${xt}-success-bg, ${xt}-bg`]:{position:"relative",backgroundColor:Te.defaultColor,borderRadius:Te.lineBorderRadius,transition:`all ${Te.motionDurationSlow} ${Te.motionEaseInOutCirc}`},[`${xt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Te.colorSuccess},[`${xt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Te.marginXS,color:Te.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ht]:{fontSize:Te.fontSize}},[`&${xt}-status-active`]:{[`${xt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Te.colorBgContainer,borderRadius:Te.lineBorderRadius,opacity:0,animationName:It(),animationDuration:Te.progressActiveMotionDuration,animationTimingFunction:Te.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${xt}-rtl${xt}-status-active`]:{[`${xt}-bg::before`]:{animationName:It(!0)}},[`&${xt}-status-exception`]:{[`${xt}-bg`]:{backgroundColor:Te.colorError},[`${xt}-text`]:{color:Te.colorError}},[`&${xt}-status-exception ${xt}-inner:not(${xt}-circle-gradient)`]:{[`${xt}-circle-path`]:{stroke:Te.colorError}},[`&${xt}-status-success`]:{[`${xt}-bg`]:{backgroundColor:Te.colorSuccess},[`${xt}-text`]:{color:Te.colorSuccess}},[`&${xt}-status-success ${xt}-inner:not(${xt}-circle-gradient)`]:{[`${xt}-circle-path`]:{stroke:Te.colorSuccess}}})}},Ie=Te=>{const{componentCls:xt,iconCls:Ht}=Te;return{[xt]:{[`${xt}-circle-trail`]:{stroke:Te.remainingColor},[`&${xt}-circle ${xt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${xt}-circle ${xt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Te.circleTextColor,fontSize:Te.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ht]:{fontSize:`${Te.fontSize/Te.fontSizeSM}em`}},[`${xt}-circle&-status-exception`]:{[`${xt}-text`]:{color:Te.colorError}},[`${xt}-circle&-status-success`]:{[`${xt}-text`]:{color:Te.colorSuccess}}},[`${xt}-inline-circle`]:{lineHeight:1,[`${xt}-inner`]:{verticalAlign:"bottom"}}}},St=Te=>{const{componentCls:xt}=Te;return{[xt]:{[`${xt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Te.progressStepMinWidth,marginInlineEnd:Te.progressStepMarginInlineEnd,backgroundColor:Te.remainingColor,transition:`all ${Te.motionDurationSlow}`,"&-active":{backgroundColor:Te.defaultColor}}}}}},at=Te=>{const{componentCls:xt,iconCls:Ht}=Te;return{[xt]:{[`${xt}-small&-line, ${xt}-small&-line ${xt}-text ${Ht}`]:{fontSize:Te.fontSizeSM}}}};var Me=(0,fe.Z)("Progress",Te=>{const xt=Te.marginXXS/2,Ht=(0,Je.TS)(Te,{progressStepMarginInlineEnd:xt,progressStepMinWidth:xt,progressActiveMotionDuration:"2.4s"});return[Oe(Ht),Ie(Ht),St(Ht),at(Ht)]},Te=>({circleTextColor:Te.colorText,defaultColor:Te.colorInfo,remainingColor:Te.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),yt=function(Te,xt){var Ht={};for(var Bt in Te)Object.prototype.hasOwnProperty.call(Te,Bt)&&xt.indexOf(Bt)<0&&(Ht[Bt]=Te[Bt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,Bt=Object.getOwnPropertySymbols(Te);Mt<Bt.length;Mt++)xt.indexOf(Bt[Mt])<0&&Object.prototype.propertyIsEnumerable.call(Te,Bt[Mt])&&(Ht[Bt[Mt]]=Te[Bt[Mt]]);return Ht};const Fn=null,an=["normal","exception","active","success"];var sn=b.forwardRef((Te,xt)=>{const{prefixCls:Ht,className:Bt,rootClassName:Mt,steps:dn,strokeColor:gn,percent:Ln=0,size:Jn="default",showInfo:va=!0,type:Da="line",status:Na,format:ar,style:Ua}=Te,fa=yt(Te,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),yr=b.useMemo(()=>{var Ft,pt;const Sn=Nt(Te);return parseInt(Sn!==void 0?(Ft=Sn!=null?Sn:0)===null||Ft===void 0?void 0:Ft.toString():(pt=Ln!=null?Ln:0)===null||pt===void 0?void 0:pt.toString(),10)},[Ln,Te.success,Te.successPercent]),en=b.useMemo(()=>!an.includes(Na)&&yr>=100?"success":Na||"normal",[Na,yr]),{getPrefixCls:On,direction:la,progress:xa}=b.useContext(et.E_),Ge=On("progress",Ht),[Ot,_t]=Me(Ge),Vt=b.useMemo(()=>{if(!va)return null;const Ft=Nt(Te);let pt;const Sn=ar||(An=>`${An}%`),Wn=Da==="line";return ar||en!=="exception"&&en!=="success"?pt=Sn(un(Ln),un(Ft)):en==="exception"?pt=Wn?b.createElement(Ne.Z,null):b.createElement(Ze.Z,null):en==="success"&&(pt=Wn?b.createElement(de.Z,null):b.createElement(Be.Z,null)),b.createElement("span",{className:`${Ge}-text`,title:typeof pt=="string"?pt:void 0},pt)},[va,Ln,yr,en,Da,Ge,ar]),Wt=Array.isArray(gn)?gn[0]:gn,Rn=typeof gn=="string"||Array.isArray(gn)?gn:void 0;let Bn;Da==="line"?Bn=dn?b.createElement(it,Object.assign({},Te,{strokeColor:Rn,prefixCls:Ge,steps:dn}),Vt):b.createElement(ft,Object.assign({},Te,{strokeColor:Wt,prefixCls:Ge,direction:la}),Vt):(Da==="circle"||Da==="dashboard")&&(Bn=b.createElement(Zt,Object.assign({},Te,{strokeColor:Wt,prefixCls:Ge,progressStatus:en}),Vt));const vt=le()(Ge,`${Ge}-status-${en}`,`${Ge}-${Da==="dashboard"&&"circle"||dn&&"steps"||Da}`,{[`${Ge}-inline-circle`]:Da==="circle"&&Ue(Jn,"circle")[0]<=20,[`${Ge}-show-info`]:va,[`${Ge}-${Jn}`]:typeof Jn=="string",[`${Ge}-rtl`]:la==="rtl"},xa==null?void 0:xa.className,Bt,Mt,_t);return Ot(b.createElement("div",Object.assign({ref:xt,style:Object.assign(Object.assign({},xa==null?void 0:xa.style),Ua),className:vt,role:"progressbar","aria-valuenow":yr},(0,st.Z)(fa,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Bn))}),yn=sn},13570:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return un}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Ne=Be,Ze=ee(7657),ke=function(rn,nn){return de.createElement(Ze.Z,(0,b.Z)({},rn,{ref:nn,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(92310),Ve=ee.n(et),je=ee(4635),Xe=ee(50298),Ye=ee(62646),se=ee(18929),E=ee(10228),a=ee(26112);function x(Nt,rn){var nn=Nt.disabled,Ue=Nt.prefixCls,dt=Nt.character,on=Nt.characterRender,Vn=Nt.index,Zt=Nt.count,wn=Nt.value,ze=Nt.allowHalf,ct=Nt.focused,kt=Nt.onHover,ft=Nt.onClick,At=function(Ie){kt(Ie,Vn)},it=function(Ie){ft(Ie,Vn)},nt=function(Ie){Ie.keyCode===E.Z.ENTER&&ft(Ie,Vn)},De=Vn+1,fe=new Set([Ue]);wn===0&&Vn===0&&ct?fe.add("".concat(Ue,"-focused")):ze&&wn+.5>=De&&wn<De?(fe.add("".concat(Ue,"-half")),fe.add("".concat(Ue,"-active")),ct&&fe.add("".concat(Ue,"-focused"))):(De<=wn?fe.add("".concat(Ue,"-full")):fe.add("".concat(Ue,"-zero")),De===wn&&ct&&fe.add("".concat(Ue,"-focused")));var Je=typeof dt=="function"?dt(Nt):dt,It=de.createElement("li",{className:Ve()(Array.from(fe)),ref:rn},de.createElement("div",{onClick:nn?null:it,onKeyDown:nn?null:nt,onMouseMove:nn?null:At,role:"radio","aria-checked":wn>Vn?"true":"false","aria-posinset":Vn+1,"aria-setsize":Zt,tabIndex:nn?-1:0},de.createElement("div",{className:"".concat(Ue,"-first")},Je),de.createElement("div",{className:"".concat(Ue,"-second")},Je)));return on&&(It=on(It,Nt)),It}var y=de.forwardRef(x);function z(){var Nt=de.useRef({});function rn(Ue){return Nt.current[Ue]}function nn(Ue){return function(dt){Nt.current[Ue]=dt}}return[rn,nn]}function ne(Nt){var rn=Nt.pageXOffset,nn="scrollLeft";if(typeof rn!="number"){var Ue=Nt.document;rn=Ue.documentElement[nn],typeof rn!="number"&&(rn=Ue.body[nn])}return rn}function re(Nt){var rn,nn,Ue=Nt.ownerDocument,dt=Ue.body,on=Ue&&Ue.documentElement,Vn=Nt.getBoundingClientRect();return rn=Vn.left,nn=Vn.top,rn-=on.clientLeft||dt.clientLeft||0,nn-=on.clientTop||dt.clientTop||0,{left:rn,top:nn}}function ue(Nt){var rn=re(Nt),nn=Nt.ownerDocument,Ue=nn.defaultView||nn.parentWindow;return rn.left+=ne(Ue),rn.left}var oe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ve(Nt,rn){var nn,Ue=Nt.prefixCls,dt=Ue===void 0?"rc-rate":Ue,on=Nt.className,Vn=Nt.defaultValue,Zt=Nt.value,wn=Nt.count,ze=wn===void 0?5:wn,ct=Nt.allowHalf,kt=ct===void 0?!1:ct,ft=Nt.allowClear,At=ft===void 0?!0:ft,it=Nt.character,nt=it===void 0?"\u2605":it,De=Nt.characterRender,fe=Nt.disabled,Je=Nt.direction,It=Je===void 0?"ltr":Je,Oe=Nt.tabIndex,Ie=Oe===void 0?0:Oe,St=Nt.autoFocus,at=Nt.onHoverChange,Me=Nt.onChange,yt=Nt.onFocus,Fn=Nt.onBlur,an=Nt.onKeyDown,cn=Nt.onMouseLeave,sn=(0,Ye.Z)(Nt,oe),yn=z(),Te=(0,Xe.Z)(yn,2),xt=Te[0],Ht=Te[1],Bt=de.useRef(null),Mt=function(){if(!fe){var An;(An=Bt.current)===null||An===void 0||An.focus()}};de.useImperativeHandle(rn,function(){return{focus:Mt,blur:function(){if(!fe){var An;(An=Bt.current)===null||An===void 0||An.blur()}}}});var dn=(0,se.Z)(Vn||0,{value:Zt}),gn=(0,Xe.Z)(dn,2),Ln=gn[0],Jn=gn[1],va=(0,se.Z)(null),Da=(0,Xe.Z)(va,2),Na=Da[0],ar=Da[1],Ua=function(An,ka){var pa=It==="rtl",_n=An+1;if(kt){var Ea=xt(An),Pa=ue(Ea),Dn=Ea.clientWidth;(pa&&ka-Pa>Dn/2||!pa&&ka-Pa<Dn/2)&&(_n-=.5)}return _n},fa=function(An){Jn(An),Me==null||Me(An)},yr=de.useState(!1),en=(0,Xe.Z)(yr,2),On=en[0],la=en[1],xa=function(){la(!0),yt==null||yt()},Ge=function(){la(!1),Fn==null||Fn()},Ot=de.useState(null),_t=(0,Xe.Z)(Ot,2),Vt=_t[0],Wt=_t[1],Rn=function(An,ka){var pa=Ua(ka,An.pageX);pa!==Na&&(Wt(pa),ar(null)),at==null||at(pa)},Bn=function(An){fe||(Wt(null),ar(null),at==null||at(void 0)),An&&(cn==null||cn(An))},vt=function(An,ka){var pa=Ua(ka,An.pageX),_n=!1;At&&(_n=pa===Ln),Bn(),fa(_n?0:pa),ar(_n?pa:null)},Ft=function(An){var ka=An.keyCode,pa=It==="rtl",_n=Ln;ka===E.Z.RIGHT&&_n<ze&&!pa?(kt?_n+=.5:_n+=1,fa(_n),An.preventDefault()):ka===E.Z.LEFT&&_n>0&&!pa||ka===E.Z.RIGHT&&_n>0&&pa?(kt?_n-=.5:_n-=1,fa(_n),An.preventDefault()):ka===E.Z.LEFT&&_n<ze&&pa&&(kt?_n+=.5:_n+=1,fa(_n),An.preventDefault()),an==null||an(An)};de.useEffect(function(){St&&!fe&&Mt()},[]);var pt=new Array(ze).fill(0).map(function(Wn,An){return de.createElement(y,{ref:Ht(An),index:An,count:ze,disabled:fe,prefixCls:"".concat(dt,"-star"),allowHalf:kt,value:Vt===null?Ln:Vt,onClick:vt,onHover:Rn,key:Wn||An,character:nt,characterRender:De,focused:On})}),Sn=Ve()(dt,on,(nn={},(0,je.Z)(nn,"".concat(dt,"-disabled"),fe),(0,je.Z)(nn,"".concat(dt,"-rtl"),It==="rtl"),nn));return de.createElement("ul",(0,b.Z)({className:Sn,onMouseLeave:Bn,tabIndex:fe?-1:Ie,onFocus:fe?null:xa,onBlur:fe?null:Ge,onKeyDown:fe?null:Ft,ref:Bt,role:"radiogroup"},(0,a.Z)(sn,{aria:!0,data:!0,attr:!0})),pt)}var be=de.forwardRef(ve),We=be,Ae=ee(36355),He=ee(6848),he=ee(17313),qe=ee(83116),Ke=ee(37613);const ht=Nt=>{const{componentCls:rn}=Nt;return{[`${rn}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Nt.marginXS},"> div":{transition:`all ${Nt.motionDurationMid}, outline 0s`,"&:hover":{transform:Nt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Nt.lineWidth}px dashed ${Nt.starColor}`,transform:Nt.starHoverScale}},"&-first, &-second":{color:Nt.starBg,transition:`all ${Nt.motionDurationMid}`,userSelect:"none",[Nt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${rn}-star-first, &-half ${rn}-star-second`]:{opacity:1},[`&-half ${rn}-star-first, &-full ${rn}-star-second`]:{color:"inherit"}}}},Le=Nt=>({[`&-rtl${Nt.componentCls}`]:{direction:"rtl"}}),rt=Nt=>{const{componentCls:rn}=Nt;return{[rn]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,he.Wf)(Nt)),{display:"inline-block",margin:0,padding:0,color:Nt.starColor,fontSize:Nt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${rn} ${rn}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),ht(Nt)),{[`+ ${rn}-text`]:{display:"inline-block",marginInlineStart:Nt.marginXS,fontSize:Nt.fontSize}}),Le(Nt))}};var ut=(0,qe.Z)("Rate",Nt=>{const rn=(0,Ke.TS)(Nt,{});return[rt(rn)]},Nt=>({starColor:Nt.yellow6,starSize:Nt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Nt.colorFillContent})),gt=function(Nt,rn){var nn={};for(var Ue in Nt)Object.prototype.hasOwnProperty.call(Nt,Ue)&&rn.indexOf(Ue)<0&&(nn[Ue]=Nt[Ue]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,Ue=Object.getOwnPropertySymbols(Nt);dt<Ue.length;dt++)rn.indexOf(Ue[dt])<0&&Object.prototype.propertyIsEnumerable.call(Nt,Ue[dt])&&(nn[Ue[dt]]=Nt[Ue[dt]]);return nn},un=de.forwardRef((Nt,rn)=>{const{prefixCls:nn,className:Ue,rootClassName:dt,style:on,tooltips:Vn,character:Zt=de.createElement(st,null)}=Nt,wn=gt(Nt,["prefixCls","className","rootClassName","style","tooltips","character"]),ze=(fe,Je)=>{let{index:It}=Je;return Vn?de.createElement(He.Z,{title:Vn[It]},fe):fe},{getPrefixCls:ct,direction:kt,rate:ft}=de.useContext(Ae.E_),At=ct("rate",nn),[it,nt]=ut(At),De=Object.assign(Object.assign({},ft==null?void 0:ft.style),on);return it(de.createElement(We,Object.assign({ref:rn,character:Zt,characterRender:ze},wn,{className:Ve()(Ue,dt,nt,ft==null?void 0:ft.className),style:De,prefixCls:At,direction:kt})))})},61621:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return nt}});var b=ee(92310),de=ee.n(b),Be=ee(59301),Ne=ee(36355),Ze=ee(2738),le=De=>{const{prefixCls:fe,className:Je,style:It,size:Oe,shape:Ie}=De,St=de()({[`${fe}-lg`]:Oe==="large",[`${fe}-sm`]:Oe==="small"}),at=de()({[`${fe}-circle`]:Ie==="circle",[`${fe}-square`]:Ie==="square",[`${fe}-round`]:Ie==="round"}),Me=Be.useMemo(()=>typeof Oe=="number"?{width:Oe,height:Oe,lineHeight:`${Oe}px`}:{},[Oe]);return Be.createElement("span",{className:de()(fe,St,at,Je),style:Object.assign(Object.assign({},Me),It)})},st=ee(93083),et=ee(83116),Ve=ee(37613);const je=new st.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Xe=De=>({height:De,lineHeight:`${De}px`}),Ye=De=>Object.assign({width:De},Xe(De)),se=De=>({background:De.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:je,animationDuration:De.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),E=De=>Object.assign({width:De*5,minWidth:De*5},Xe(De)),a=De=>{const{skeletonAvatarCls:fe,gradientFromColor:Je,controlHeight:It,controlHeightLG:Oe,controlHeightSM:Ie}=De;return{[`${fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Je},Ye(It)),[`${fe}${fe}-circle`]:{borderRadius:"50%"},[`${fe}${fe}-lg`]:Object.assign({},Ye(Oe)),[`${fe}${fe}-sm`]:Object.assign({},Ye(Ie))}},x=De=>{const{controlHeight:fe,borderRadiusSM:Je,skeletonInputCls:It,controlHeightLG:Oe,controlHeightSM:Ie,gradientFromColor:St}=De;return{[`${It}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:St,borderRadius:Je},E(fe)),[`${It}-lg`]:Object.assign({},E(Oe)),[`${It}-sm`]:Object.assign({},E(Ie))}},y=De=>Object.assign({width:De},Xe(De)),z=De=>{const{skeletonImageCls:fe,imageSizeBase:Je,gradientFromColor:It,borderRadiusSM:Oe}=De;return{[`${fe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:It,borderRadius:Oe},y(Je*2)),{[`${fe}-path`]:{fill:"#bfbfbf"},[`${fe}-svg`]:Object.assign(Object.assign({},y(Je)),{maxWidth:Je*4,maxHeight:Je*4}),[`${fe}-svg${fe}-svg-circle`]:{borderRadius:"50%"}}),[`${fe}${fe}-circle`]:{borderRadius:"50%"}}},ne=(De,fe,Je)=>{const{skeletonButtonCls:It}=De;return{[`${Je}${It}-circle`]:{width:fe,minWidth:fe,borderRadius:"50%"},[`${Je}${It}-round`]:{borderRadius:fe}}},re=De=>Object.assign({width:De*2,minWidth:De*2},Xe(De)),ue=De=>{const{borderRadiusSM:fe,skeletonButtonCls:Je,controlHeight:It,controlHeightLG:Oe,controlHeightSM:Ie,gradientFromColor:St}=De;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:St,borderRadius:fe,width:It*2,minWidth:It*2},re(It))},ne(De,It,Je)),{[`${Je}-lg`]:Object.assign({},re(Oe))}),ne(De,Oe,`${Je}-lg`)),{[`${Je}-sm`]:Object.assign({},re(Ie))}),ne(De,Ie,`${Je}-sm`))},oe=De=>{const{componentCls:fe,skeletonAvatarCls:Je,skeletonTitleCls:It,skeletonParagraphCls:Oe,skeletonButtonCls:Ie,skeletonInputCls:St,skeletonImageCls:at,controlHeight:Me,controlHeightLG:yt,controlHeightSM:Fn,gradientFromColor:an,padding:cn,marginSM:sn,borderRadius:yn,titleHeight:Te,blockRadius:xt,paragraphLiHeight:Ht,controlHeightXS:Bt,paragraphMarginTop:Mt}=De;return{[`${fe}`]:{display:"table",width:"100%",[`${fe}-header`]:{display:"table-cell",paddingInlineEnd:cn,verticalAlign:"top",[`${Je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:an},Ye(Me)),[`${Je}-circle`]:{borderRadius:"50%"},[`${Je}-lg`]:Object.assign({},Ye(yt)),[`${Je}-sm`]:Object.assign({},Ye(Fn))},[`${fe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${It}`]:{width:"100%",height:Te,background:an,borderRadius:xt,[`+ ${Oe}`]:{marginBlockStart:Fn}},[`${Oe}`]:{padding:0,"> li":{width:"100%",height:Ht,listStyle:"none",background:an,borderRadius:xt,"+ li":{marginBlockStart:Bt}}},[`${Oe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${fe}-content`]:{[`${It}, ${Oe} > li`]:{borderRadius:yn}}},[`${fe}-with-avatar ${fe}-content`]:{[`${It}`]:{marginBlockStart:sn,[`+ ${Oe}`]:{marginBlockStart:Mt}}},[`${fe}${fe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ue(De)),a(De)),x(De)),z(De)),[`${fe}${fe}-block`]:{width:"100%",[`${Ie}`]:{width:"100%"},[`${St}`]:{width:"100%"}},[`${fe}${fe}-active`]:{[`
${It},
${Oe} > li,
${Je},
${Ie},
${St},
${at}
`]:Object.assign({},se(De))}}};var ve=(0,et.Z)("Skeleton",De=>{const{componentCls:fe}=De,Je=(0,Ve.TS)(De,{skeletonAvatarCls:`${fe}-avatar`,skeletonTitleCls:`${fe}-title`,skeletonParagraphCls:`${fe}-paragraph`,skeletonButtonCls:`${fe}-button`,skeletonInputCls:`${fe}-input`,skeletonImageCls:`${fe}-image`,imageSizeBase:De.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${De.gradientFromColor} 25%, ${De.gradientToColor} 37%, ${De.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[oe(Je)]},De=>{const{colorFillContent:fe,colorFill:Je}=De,It=fe,Oe=Je;return{color:It,colorGradientEnd:Oe,gradientFromColor:It,gradientToColor:Oe,titleHeight:De.controlHeight/2,blockRadius:De.borderRadiusSM,paragraphMarginTop:De.marginLG+De.marginXXS,paragraphLiHeight:De.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),We=De=>{const{prefixCls:fe,className:Je,rootClassName:It,active:Oe,shape:Ie="circle",size:St="default"}=De,{getPrefixCls:at}=Be.useContext(Ne.E_),Me=at("skeleton",fe),[yt,Fn]=ve(Me),an=(0,Ze.Z)(De,["prefixCls","className"]),cn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe},Je,It,Fn);return yt(Be.createElement("div",{className:cn},Be.createElement(le,Object.assign({prefixCls:`${Me}-avatar`,shape:Ie,size:St},an))))},He=De=>{const{prefixCls:fe,className:Je,rootClassName:It,active:Oe,block:Ie=!1,size:St="default"}=De,{getPrefixCls:at}=Be.useContext(Ne.E_),Me=at("skeleton",fe),[yt,Fn]=ve(Me),an=(0,Ze.Z)(De,["prefixCls"]),cn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe,[`${Me}-block`]:Ie},Je,It,Fn);return yt(Be.createElement("div",{className:cn},Be.createElement(le,Object.assign({prefixCls:`${Me}-button`,size:St},an))))};const he="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Ke=De=>{const{prefixCls:fe,className:Je,rootClassName:It,style:Oe,active:Ie}=De,{getPrefixCls:St}=Be.useContext(Ne.E_),at=St("skeleton",fe),[Me,yt]=ve(at),Fn=de()(at,`${at}-element`,{[`${at}-active`]:Ie},Je,It,yt);return Me(Be.createElement("div",{className:Fn},Be.createElement("div",{className:de()(`${at}-image`,Je),style:Oe},Be.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${at}-image-svg`},Be.createElement("path",{d:he,className:`${at}-image-path`})))))},Le=De=>{const{prefixCls:fe,className:Je,rootClassName:It,active:Oe,block:Ie,size:St="default"}=De,{getPrefixCls:at}=Be.useContext(Ne.E_),Me=at("skeleton",fe),[yt,Fn]=ve(Me),an=(0,Ze.Z)(De,["prefixCls"]),cn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe,[`${Me}-block`]:Ie},Je,It,Fn);return yt(Be.createElement("div",{className:cn},Be.createElement(le,Object.assign({prefixCls:`${Me}-input`,size:St},an))))},rt=ee(14809),ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},gt=ut,mt=ee(7657),un=function(fe,Je){return Be.createElement(mt.Z,(0,rt.Z)({},fe,{ref:Je,icon:gt}))},Nt=Be.forwardRef(un),rn=Nt,Ue=De=>{const{prefixCls:fe,className:Je,rootClassName:It,style:Oe,active:Ie,children:St}=De,{getPrefixCls:at}=Be.useContext(Ne.E_),Me=at("skeleton",fe),[yt,Fn]=ve(Me),an=de()(Me,`${Me}-element`,{[`${Me}-active`]:Ie},Fn,Je,It),cn=St!=null?St:Be.createElement(rn,null);return yt(Be.createElement("div",{className:an},Be.createElement("div",{className:de()(`${Me}-image`,Je),style:Oe},cn)))},dt=ee(95190),Vn=De=>{const fe=at=>{const{width:Me,rows:yt=2}=De;if(Array.isArray(Me))return Me[at];if(yt-1===at)return Me},{prefixCls:Je,className:It,style:Oe,rows:Ie}=De,St=(0,dt.Z)(Array(Ie)).map((at,Me)=>Be.createElement("li",{key:Me,style:{width:fe(Me)}}));return Be.createElement("ul",{className:de()(Je,It),style:Oe},St)},wn=De=>{let{prefixCls:fe,className:Je,width:It,style:Oe}=De;return Be.createElement("h3",{className:de()(fe,Je),style:Object.assign({width:It},Oe)})};function ze(De){return De&&typeof De=="object"?De:{}}function ct(De,fe){return De&&!fe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function kt(De,fe){return!De&&fe?{width:"38%"}:De&&fe?{width:"50%"}:{}}function ft(De,fe){const Je={};return(!De||!fe)&&(Je.width="61%"),!De&&fe?Je.rows=3:Je.rows=2,Je}const At=De=>{const{prefixCls:fe,loading:Je,className:It,rootClassName:Oe,style:Ie,children:St,avatar:at=!1,title:Me=!0,paragraph:yt=!0,active:Fn,round:an}=De,{getPrefixCls:cn,direction:sn,skeleton:yn}=Be.useContext(Ne.E_),Te=cn("skeleton",fe),[xt,Ht]=ve(Te);if(Je||!("loading"in De)){const Bt=!!at,Mt=!!Me,dn=!!yt;let gn;if(Bt){const va=Object.assign(Object.assign({prefixCls:`${Te}-avatar`},ct(Mt,dn)),ze(at));gn=Be.createElement("div",{className:`${Te}-header`},Be.createElement(le,Object.assign({},va)))}let Ln;if(Mt||dn){let va;if(Mt){const Na=Object.assign(Object.assign({prefixCls:`${Te}-title`},kt(Bt,dn)),ze(Me));va=Be.createElement(wn,Object.assign({},Na))}let Da;if(dn){const Na=Object.assign(Object.assign({prefixCls:`${Te}-paragraph`},ft(Bt,Mt)),ze(yt));Da=Be.createElement(Vn,Object.assign({},Na))}Ln=Be.createElement("div",{className:`${Te}-content`},va,Da)}const Jn=de()(Te,{[`${Te}-with-avatar`]:Bt,[`${Te}-active`]:Fn,[`${Te}-rtl`]:sn==="rtl",[`${Te}-round`]:an},yn==null?void 0:yn.className,It,Oe,Ht);return xt(Be.createElement("div",{className:Jn,style:Object.assign(Object.assign({},yn==null?void 0:yn.style),Ie)},gn,Ln))}return typeof St!="undefined"?St:null};At.Button=He,At.Avatar=We,At.Input=Le,At.Image=Ke,At.Node=Ue;var it=At,nt=it},31797:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return ve}});var b=ee(59301),de=ee(56762),Be=ee(92343),Ne=ee(92310),Ze=ee.n(Ne),ke=ee(36355),le=ee(61621),et=be=>{const{value:We,formatter:Ae,precision:He,decimalSeparator:he,groupSeparator:qe="",prefixCls:Ke}=be;let ht;if(typeof Ae=="function")ht=Ae(We);else{const Le=String(We),rt=Le.match(/^(-?)(\d*)(\.(\d+))?$/);if(!rt||Le==="-")ht=Le;else{const ut=rt[1];let gt=rt[2]||"0",mt=rt[4]||"";gt=gt.replace(/\B(?=(\d{3})+(?!\d))/g,qe),typeof He=="number"&&(mt=mt.padEnd(He,"0").slice(0,He>0?He:0)),mt&&(mt=`${he}${mt}`),ht=[b.createElement("span",{key:"int",className:`${Ke}-content-value-int`},ut,gt),mt&&b.createElement("span",{key:"decimal",className:`${Ke}-content-value-decimal`},mt)]}}return b.createElement("span",{className:`${Ke}-content-value`},ht)},Ve=ee(17313),je=ee(83116),Xe=ee(37613);const Ye=be=>{const{componentCls:We,marginXXS:Ae,padding:He,colorTextDescription:he,titleFontSize:qe,colorTextHeading:Ke,contentFontSize:ht,fontFamily:Le}=be;return{[`${We}`]:Object.assign(Object.assign({},(0,Ve.Wf)(be)),{[`${We}-title`]:{marginBottom:Ae,color:he,fontSize:qe},[`${We}-skeleton`]:{paddingTop:He},[`${We}-content`]:{color:Ke,fontSize:ht,fontFamily:Le,[`${We}-content-value`]:{display:"inline-block",direction:"ltr"},[`${We}-content-prefix, ${We}-content-suffix`]:{display:"inline-block"},[`${We}-content-prefix`]:{marginInlineEnd:Ae},[`${We}-content-suffix`]:{marginInlineStart:Ae}}})}};var se=(0,je.Z)("Statistic",be=>{const We=(0,Xe.TS)(be,{});return[Ye(We)]},be=>{const{fontSizeHeading3:We,fontSize:Ae}=be;return{titleFontSize:Ae,contentFontSize:We}}),a=be=>{const{prefixCls:We,className:Ae,rootClassName:He,style:he,valueStyle:qe,value:Ke=0,title:ht,valueRender:Le,prefix:rt,suffix:ut,loading:gt=!1,onMouseEnter:mt,onMouseLeave:un,decimalSeparator:Nt=".",groupSeparator:rn=","}=be,{getPrefixCls:nn,direction:Ue,statistic:dt}=b.useContext(ke.E_),on=nn("statistic",We),[Vn,Zt]=se(on),wn=b.createElement(et,Object.assign({decimalSeparator:Nt,groupSeparator:rn,prefixCls:on},be,{value:Ke})),ze=Ze()(on,{[`${on}-rtl`]:Ue==="rtl"},dt==null?void 0:dt.className,Ae,He,Zt);return Vn(b.createElement("div",{className:ze,style:Object.assign(Object.assign({},dt==null?void 0:dt.style),he),onMouseEnter:mt,onMouseLeave:un},ht&&b.createElement("div",{className:`${on}-title`},ht),b.createElement(le.Z,{paragraph:!1,loading:gt,className:`${on}-skeleton`},b.createElement("div",{style:qe,className:`${on}-content`},rt&&b.createElement("span",{className:`${on}-content-prefix`},rt),Le?Le(wn):wn,ut&&b.createElement("span",{className:`${on}-content-suffix`},ut)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function y(be,We){let Ae=be;const He=/\[[^\]]*]/g,he=(We.match(He)||[]).map(Le=>Le.slice(1,-1)),qe=We.replace(He,"[]"),Ke=x.reduce((Le,rt)=>{let[ut,gt]=rt;if(Le.includes(ut)){const mt=Math.floor(Ae/gt);return Ae-=mt*gt,Le.replace(new RegExp(`${ut}+`,"g"),un=>{const Nt=un.length;return mt.toString().padStart(Nt,"0")})}return Le},qe);let ht=0;return Ke.replace(He,()=>{const Le=he[ht];return ht+=1,Le})}function z(be,We){const{format:Ae=""}=We,He=new Date(be).getTime(),he=Date.now(),qe=Math.max(He-he,0);return y(qe,Ae)}const ne=1e3/30;function re(be){return new Date(be).getTime()}const ue=be=>{const{value:We,format:Ae="HH:mm:ss",onChange:He,onFinish:he}=be,qe=(0,de.Z)(),Ke=b.useRef(null),ht=()=>{he==null||he(),Ke.current&&(clearInterval(Ke.current),Ke.current=null)},Le=()=>{const gt=re(We);gt>=Date.now()&&(Ke.current=setInterval(()=>{qe(),He==null||He(gt-Date.now()),gt<Date.now()&&ht()},ne))};b.useEffect(()=>(Le(),()=>{Ke.current&&(clearInterval(Ke.current),Ke.current=null)}),[We]);const rt=(gt,mt)=>z(gt,Object.assign(Object.assign({},mt),{format:Ae})),ut=gt=>(0,Be.Tm)(gt,{title:void 0});return b.createElement(a,Object.assign({},be,{valueRender:ut,formatter:rt}))};var oe=b.memo(ue);a.Countdown=oe;var ve=a},15969:function(Qt,Gt,ee){"use strict";ee.d(Gt,{N:function(){return b}});const b=de=>({color:de.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${de.motionDurationSlow}`,"&:focus, &:hover":{color:de.colorLinkHover},"&:active":{color:de.colorLinkActive}})},1710:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return qi}});var b={},de="rc-table-internal-hook",Be=ee(50298),Ne=ee(6089),Ze=ee(34280),ke=ee(13697),le=ee(59301),st=ee(4676);function et(Ee){var Ce=le.createContext(void 0),Qe=function(Pt){var Et=Pt.value,Ut=Pt.children,Yt=le.useRef(Et);Yt.current=Et;var $t=le.useState(function(){return{getValue:function(){return Yt.current},listeners:new Set}}),Cn=(0,Be.Z)($t,1),pn=Cn[0];return(0,Ze.Z)(function(){(0,st.unstable_batchedUpdates)(function(){pn.listeners.forEach(function(hn){hn(Et)})})},[Et]),le.createElement(Ce.Provider,{value:pn},Ut)};return{Context:Ce,Provider:Qe,defaultValue:Ee}}function Ve(Ee,Ce){var Qe=(0,Ne.Z)(typeof Ce=="function"?Ce:function(hn){if(Ce===void 0)return hn;if(!Array.isArray(Ce))return hn[Ce];var qn={};return Ce.forEach(function(aa){qn[aa]=hn[aa]}),qn}),ot=le.useContext(Ee==null?void 0:Ee.Context),Pt=ot||{},Et=Pt.listeners,Ut=Pt.getValue,Yt=le.useRef();Yt.current=Qe(ot?Ut():Ee==null?void 0:Ee.defaultValue);var $t=le.useState({}),Cn=(0,Be.Z)($t,2),pn=Cn[1];return(0,Ze.Z)(function(){if(!ot)return;function hn(qn){var aa=Qe(qn);(0,ke.Z)(Yt.current,aa,!0)||pn({})}return Et.add(hn),function(){Et.delete(hn)}},[ot]),Yt.current}var je=ee(14809),Xe=ee(8654);function Ye(){var Ee=le.createContext(null);function Ce(){return le.useContext(Ee)}function Qe(Pt,Et){var Ut=(0,Xe.Yr)(Pt),Yt=function(Cn,pn){var hn=Ut?{ref:pn}:{},qn=le.useRef(0),aa=le.useRef(Cn),ca=Ce();return ca!==null?le.createElement(Pt,(0,je.Z)({},Cn,hn)):((!Et||Et(aa.current,Cn))&&(qn.current+=1),aa.current=Cn,le.createElement(Ee.Provider,{value:qn.current},le.createElement(Pt,(0,je.Z)({},Cn,hn))))};return Ut?le.forwardRef(Yt):Yt}function ot(Pt,Et){var Ut=(0,Xe.Yr)(Pt),Yt=function(Cn,pn){var hn=Ut?{ref:pn}:{};return Ce(),le.createElement(Pt,(0,je.Z)({},Cn,hn))};return Ut?le.memo(le.forwardRef(Yt),Et):le.memo(Yt,Et)}return{makeImmutable:Qe,responseImmutable:ot,useImmutableMark:Ce}}var se=Ye(),E=se.makeImmutable,a=se.responseImmutable,x=se.useImmutableMark,y=Ye(),z=y.makeImmutable,ne=y.responseImmutable,re=y.useImmutableMark,ue=et(),oe=ue;function ve(Ee,Ce){var Qe=le.useRef(0);Qe.current+=1;var ot=le.useRef(Ee),Pt=[];Object.keys(Ee||{}).map(function(Ut){var Yt;(Ee==null?void 0:Ee[Ut])!==((Yt=ot.current)===null||Yt===void 0?void 0:Yt[Ut])&&Pt.push(Ut)}),ot.current=Ee;var Et=le.useRef([]);return Pt.length&&(Et.current=Pt),le.useDebugValue(Qe.current),le.useDebugValue(Et.current.join(", ")),Ce&&console.log("".concat(Ce,":"),Qe.current,Et.current),Qe.current}var be=null,We=le.memo(function(){var Ee=ve();return le.createElement("h1",null,"Render Times: ",Ee)});We.displayName="RenderBlock";var Ae=ee(93664),He=ee(20439),he=ee(4635),qe=ee(92310),Ke=ee.n(qe),ht=ee(80547),Le=ee(97938),rt=ee(48736),ut=le.createContext({renderWithProps:!1}),gt=ut,mt="RC_TABLE_KEY";function un(Ee){return Ee==null?[]:Array.isArray(Ee)?Ee:[Ee]}function Nt(Ee){var Ce=[],Qe={};return Ee.forEach(function(ot){for(var Pt=ot||{},Et=Pt.key,Ut=Pt.dataIndex,Yt=Et||un(Ut).join("-")||mt;Qe[Yt];)Yt="".concat(Yt,"_next");Qe[Yt]=!0,Ce.push(Yt)}),Ce}function rn(Ee){return Ee!=null}function nn(Ee){return Ee&&(0,Ae.Z)(Ee)==="object"&&!Array.isArray(Ee)&&!le.isValidElement(Ee)}function Ue(Ee,Ce,Qe,ot,Pt,Et){var Ut=le.useContext(gt),Yt=re(),$t=(0,ht.Z)(function(){if(rn(ot))return[ot];var Cn=Ce==null||Ce===""?[]:Array.isArray(Ce)?Ce:[Ce],pn=(0,Le.Z)(Ee,Cn),hn=pn,qn=void 0;if(Pt){var aa=Pt(pn,Ee,Qe);nn(aa)?(hn=aa.children,qn=aa.props,Ut.renderWithProps=!0):hn=aa}return[hn,qn]},[Yt,Ee,ot,Ce,Pt,Qe],function(Cn,pn){if(Et){var hn=(0,Be.Z)(Cn,2),qn=hn[1],aa=(0,Be.Z)(pn,2),ca=aa[1];return Et(ca,qn)}return Ut.renderWithProps?!0:!(0,ke.Z)(Cn,pn,!0)});return $t}function dt(Ee,Ce,Qe,ot){var Pt=Ee+Ce-1;return Ee<=ot&&Pt>=Qe}function on(Ee,Ce){return Ve(oe,function(Qe){var ot=dt(Ee,Ce||1,Qe.hoverStartRow,Qe.hoverEndRow);return[ot,Qe.onHover]})}var Vn=function(Ce){var Qe=Ce.ellipsis,ot=Ce.rowType,Pt=Ce.children,Et,Ut=Qe===!0?{showTitle:!0}:Qe;return Ut&&(Ut.showTitle||ot==="header")&&(typeof Pt=="string"||typeof Pt=="number"?Et=Pt.toString():le.isValidElement(Pt)&&typeof Pt.props.children=="string"&&(Et=Pt.props.children)),Et};function Zt(Ee){var Ce,Qe,ot,Pt,Et,Ut,Yt,$t,Cn=Ee.component,pn=Ee.children,hn=Ee.ellipsis,qn=Ee.scope,aa=Ee.prefixCls,ca=Ee.className,Aa=Ee.align,zt=Ee.record,Xa=Ee.render,_a=Ee.dataIndex,rr=Ee.renderIndex,Tr=Ee.shouldCellUpdate,Ur=Ee.index,wr=Ee.rowType,Gr=Ee.colSpan,Hr=Ee.rowSpan,tr=Ee.fixLeft,nr=Ee.fixRight,fr=Ee.firstFixLeft,Wa=Ee.lastFixLeft,or=Ee.firstFixRight,Kr=Ee.lastFixRight,Po=Ee.appendNode,lo=Ee.additionalProps,Mr=lo===void 0?{}:lo,fo=Ee.isSticky,Fo="".concat(aa,"-cell"),Ra=Ve(oe,["supportSticky","allColumnsFixedLeft"]),Bo=Ra.supportSticky,Ci=Ra.allColumnsFixedLeft,wo=Ue(zt,_a,rr,pn,Xa,Tr),Xr=(0,Be.Z)(wo,2),xi=Xr[0],Qr=Xr[1],mi={},_o=typeof tr=="number"&&Bo,Zi=typeof nr=="number"&&Bo;_o&&(mi.position="sticky",mi.left=tr),Zi&&(mi.position="sticky",mi.right=nr);var to=(Ce=(Qe=(ot=Qr==null?void 0:Qr.colSpan)!==null&&ot!==void 0?ot:Mr.colSpan)!==null&&Qe!==void 0?Qe:Gr)!==null&&Ce!==void 0?Ce:1,_r=(Pt=(Et=(Ut=Qr==null?void 0:Qr.rowSpan)!==null&&Ut!==void 0?Ut:Mr.rowSpan)!==null&&Et!==void 0?Et:Hr)!==null&&Pt!==void 0?Pt:1,Yr=on(Ur,_r),Zr=(0,Be.Z)(Yr,2),ce=Zr[0],pe=Zr[1],Pe=function(xn){var Ct;zt&&pe(Ur,Ur+_r-1),Mr==null||(Ct=Mr.onMouseEnter)===null||Ct===void 0||Ct.call(Mr,xn)},Lt=function(xn){var Ct;zt&&pe(-1,-1),Mr==null||(Ct=Mr.onMouseLeave)===null||Ct===void 0||Ct.call(Mr,xn)};if(to===0||_r===0)return null;var tn=(Yt=Mr.title)!==null&&Yt!==void 0?Yt:Vn({rowType:wr,ellipsis:hn,children:xi}),wa=Ke()(Fo,ca,($t={},(0,he.Z)($t,"".concat(Fo,"-fix-left"),_o&&Bo),(0,he.Z)($t,"".concat(Fo,"-fix-left-first"),fr&&Bo),(0,he.Z)($t,"".concat(Fo,"-fix-left-last"),Wa&&Bo),(0,he.Z)($t,"".concat(Fo,"-fix-left-all"),Wa&&Ci&&Bo),(0,he.Z)($t,"".concat(Fo,"-fix-right"),Zi&&Bo),(0,he.Z)($t,"".concat(Fo,"-fix-right-first"),or&&Bo),(0,he.Z)($t,"".concat(Fo,"-fix-right-last"),Kr&&Bo),(0,he.Z)($t,"".concat(Fo,"-ellipsis"),hn),(0,he.Z)($t,"".concat(Fo,"-with-append"),Po),(0,he.Z)($t,"".concat(Fo,"-fix-sticky"),(_o||Zi)&&fo&&Bo),(0,he.Z)($t,"".concat(Fo,"-row-hover"),!Qr&&ce),$t),Mr.className,Qr==null?void 0:Qr.className),ma={};Aa&&(ma.textAlign=Aa);var Hn=(0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)({},mi),Mr.style),ma),Qr==null?void 0:Qr.style),jt=xi;return(0,Ae.Z)(jt)==="object"&&!Array.isArray(jt)&&!le.isValidElement(jt)&&(jt=null),hn&&(Wa||or)&&(jt=le.createElement("span",{className:"".concat(Fo,"-content")},jt)),le.createElement(Cn,(0,je.Z)({},Qr,Mr,{className:wa,style:Hn,title:tn,scope:qn,onMouseEnter:Pe,onMouseLeave:Lt,colSpan:to!==1?to:null,rowSpan:_r!==1?_r:null}),Po,jt)}var wn=le.memo(Zt);function ze(Ee,Ce,Qe,ot,Pt,Et){var Ut=Qe[Ee]||{},Yt=Qe[Ce]||{},$t,Cn;Ut.fixed==="left"?$t=ot.left[Pt==="rtl"?Ce:Ee]:Yt.fixed==="right"&&(Cn=ot.right[Pt==="rtl"?Ee:Ce]);var pn=!1,hn=!1,qn=!1,aa=!1,ca=Qe[Ce+1],Aa=Qe[Ee-1],zt=!(Et!=null&&Et.children);if(Pt==="rtl"){if($t!==void 0){var Xa=Aa&&Aa.fixed==="left";aa=!Xa&&zt}else if(Cn!==void 0){var _a=ca&&ca.fixed==="right";qn=!_a&&zt}}else if($t!==void 0){var rr=ca&&ca.fixed==="left";pn=!rr&&zt}else if(Cn!==void 0){var Tr=Aa&&Aa.fixed==="right";hn=!Tr&&zt}return{fixLeft:$t,fixRight:Cn,lastFixLeft:pn,firstFixRight:hn,lastFixRight:qn,firstFixLeft:aa,isSticky:ot.isSticky}}var ct=le.createContext({}),kt=ct;function ft(Ee){var Ce=Ee.className,Qe=Ee.index,ot=Ee.children,Pt=Ee.colSpan,Et=Pt===void 0?1:Pt,Ut=Ee.rowSpan,Yt=Ee.align,$t=Ve(oe,["prefixCls","direction"]),Cn=$t.prefixCls,pn=$t.direction,hn=le.useContext(kt),qn=hn.scrollColumnIndex,aa=hn.stickyOffsets,ca=hn.flattenColumns,Aa=hn.columns,zt=Qe+Et-1,Xa=zt+1===qn?Et+1:Et,_a=ze(Qe,Qe+Xa-1,ca,aa,pn,Aa==null?void 0:Aa[Qe]);return le.createElement(wn,(0,je.Z)({className:Ce,index:Qe,component:"td",prefixCls:Cn,record:null,dataIndex:null,align:Yt,colSpan:Xa,rowSpan:Ut,render:function(){return ot}},_a))}var At=ee(62646),it=["children"];function nt(Ee){var Ce=Ee.children,Qe=(0,At.Z)(Ee,it);return le.createElement("tr",Qe,Ce)}function De(Ee){var Ce=Ee.children;return Ce}De.Row=nt,De.Cell=ft;var fe=De;function Je(Ee){var Ce=Ee.children,Qe=Ee.stickyOffsets,ot=Ee.flattenColumns,Pt=Ee.columns,Et=Ve(oe,"prefixCls"),Ut=ot.length-1,Yt=ot[Ut],$t=le.useMemo(function(){return{stickyOffsets:Qe,flattenColumns:ot,scrollColumnIndex:Yt!=null&&Yt.scrollbar?Ut:null,columns:Pt}},[Yt,ot,Ut,Qe,Pt]);return le.createElement(kt.Provider,{value:$t},le.createElement("tfoot",{className:"".concat(Et,"-summary")},Ce))}var It=ne(Je),Oe=fe,Ie=ee(70425),St=ee(29301),at=ee(29194),Me=ee(24514),yt=ee(75152),Fn=ee(26112);function an(Ee,Ce,Qe,ot,Pt,Et,Ut){Ee.push({record:Ce,indent:Qe,index:Ut});var Yt=Et(Ce),$t=Pt==null?void 0:Pt.has(Yt);if(Ce&&Array.isArray(Ce[ot])&&$t)for(var Cn=0;Cn<Ce[ot].length;Cn+=1)an(Ee,Ce[ot][Cn],Qe+1,ot,Pt,Et,Cn)}function cn(Ee,Ce,Qe,ot){var Pt=le.useMemo(function(){if(Qe!=null&&Qe.size){for(var Et=[],Ut=0;Ut<(Ee==null?void 0:Ee.length);Ut+=1){var Yt=Ee[Ut];an(Et,Yt,0,Ce,Qe,ot,Ut)}return Et}return Ee==null?void 0:Ee.map(function($t,Cn){return{record:$t,indent:0,index:Cn}})},[Ee,Ce,Qe,ot]);return Pt}function sn(Ee){var Ce=Ee.prefixCls,Qe=Ee.children,ot=Ee.component,Pt=Ee.cellComponent,Et=Ee.className,Ut=Ee.expanded,Yt=Ee.colSpan,$t=Ee.isEmpty,Cn=Ve(oe,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),pn=Cn.scrollbarSize,hn=Cn.fixHeader,qn=Cn.fixColumn,aa=Cn.componentWidth,ca=Cn.horizonScroll,Aa=Qe;return($t?ca&&aa:qn)&&(Aa=le.createElement("div",{style:{width:aa-(hn?pn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Ce,"-expanded-row-fixed")},Aa)),le.createElement(ot,{className:Et,style:{display:Ut?null:"none"}},le.createElement(wn,{component:Pt,prefixCls:Ce,colSpan:Yt},Aa))}var yn=sn;function Te(Ee,Ce,Qe,ot){var Pt=Ve(oe,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Et=Pt.flattenColumns,Ut=Pt.expandableType,Yt=Pt.expandedKeys,$t=Pt.childrenColumnName,Cn=Pt.onTriggerExpand,pn=Pt.rowExpandable,hn=Pt.onRow,qn=Pt.expandRowByClick,aa=Pt.rowClassName,ca=Ut==="nest",Aa=Ut==="row"&&(!pn||pn(Ee)),zt=Aa||ca,Xa=Yt&&Yt.has(Ce),_a=$t&&Ee&&Ee[$t],rr=(0,Ie.useEvent)(Cn),Tr=hn==null?void 0:hn(Ee,Qe),Ur=Tr==null?void 0:Tr.onClick,wr=function(nr){qn&&zt&&Cn(Ee,nr);for(var fr=arguments.length,Wa=new Array(fr>1?fr-1:0),or=1;or<fr;or++)Wa[or-1]=arguments[or];Ur==null||Ur.apply(void 0,[nr].concat(Wa))},Gr;typeof aa=="string"?Gr=aa:typeof aa=="function"&&(Gr=aa(Ee,Qe,ot));var Hr=Nt(Et);return(0,He.Z)((0,He.Z)({},Pt),{},{columnsKey:Hr,nestExpandable:ca,expanded:Xa,hasNestChildren:_a,record:Ee,onTriggerExpand:rr,rowSupportExpand:Aa,expandable:zt,rowProps:(0,He.Z)((0,He.Z)({},Tr),{},{className:Ke()(Gr,Tr==null?void 0:Tr.className),onClick:wr})})}function xt(Ee,Ce,Qe,ot,Pt){var Et=Ee.record,Ut=Ee.prefixCls,Yt=Ee.columnsKey,$t=Ee.fixedInfoList,Cn=Ee.expandIconColumnIndex,pn=Ee.nestExpandable,hn=Ee.indentSize,qn=Ee.expandIcon,aa=Ee.expanded,ca=Ee.hasNestChildren,Aa=Ee.onTriggerExpand,zt=Yt[Qe],Xa=$t[Qe],_a;Qe===(Cn||0)&&pn&&(_a=le.createElement(le.Fragment,null,le.createElement("span",{style:{paddingLeft:"".concat(hn*ot,"px")},className:"".concat(Ut,"-row-indent indent-level-").concat(ot)}),qn({prefixCls:Ut,expanded:aa,expandable:ca,record:Et,onExpand:Aa})));var rr;return Ce.onCell&&(rr=Ce.onCell(Et,Pt)),{key:zt,fixedInfo:Xa,appendCellNode:_a,additionalCellProps:rr||{}}}function Ht(Ee){var Ce=Ee.className,Qe=Ee.style,ot=Ee.record,Pt=Ee.index,Et=Ee.renderIndex,Ut=Ee.rowKey,Yt=Ee.indent,$t=Yt===void 0?0:Yt,Cn=Ee.rowComponent,pn=Ee.cellComponent,hn=Ee.scopeCellComponent,qn=Te(ot,Ut,Pt,$t),aa=qn.prefixCls,ca=qn.flattenColumns,Aa=qn.expandedRowClassName,zt=qn.expandedRowRender,Xa=qn.rowProps,_a=qn.expanded,rr=qn.rowSupportExpand,Tr=le.useState(!1),Ur=(0,Be.Z)(Tr,2),wr=Ur[0],Gr=Ur[1];le.useEffect(function(){_a&&Gr(!0)},[_a]);var Hr=le.createElement(Cn,(0,je.Z)({},Xa,{"data-row-key":Ut,className:Ke()(Ce,"".concat(aa,"-row"),"".concat(aa,"-row-level-").concat($t),Xa==null?void 0:Xa.className),style:(0,He.Z)((0,He.Z)({},Qe),Xa==null?void 0:Xa.style)}),ca.map(function(Wa,or){var Kr=Wa.render,Po=Wa.dataIndex,lo=Wa.className,Mr=xt(qn,Wa,or,$t,Pt),fo=Mr.key,Fo=Mr.fixedInfo,Ra=Mr.appendCellNode,Bo=Mr.additionalCellProps;return le.createElement(wn,(0,je.Z)({className:lo,ellipsis:Wa.ellipsis,align:Wa.align,scope:Wa.rowScope,component:Wa.rowScope?hn:pn,prefixCls:aa,key:fo,record:ot,index:Pt,renderIndex:Et,dataIndex:Po,render:Kr,shouldCellUpdate:Wa.shouldCellUpdate},Fo,{appendNode:Ra,additionalProps:Bo}))})),tr;if(rr&&(wr||_a)){var nr=zt(ot,Pt,$t+1,_a),fr=Aa&&Aa(ot,Pt,$t);tr=le.createElement(yn,{expanded:_a,className:Ke()("".concat(aa,"-expanded-row"),"".concat(aa,"-expanded-row-level-").concat($t+1),fr),prefixCls:aa,component:Cn,cellComponent:pn,colSpan:ca.length,isEmpty:!1},nr)}return le.createElement(le.Fragment,null,Hr,tr)}Ht.displayName="BodyRow";var Bt=ne(Ht);function Mt(Ee){var Ce=Ee.columnKey,Qe=Ee.onColumnResize,ot=le.useRef();return le.useEffect(function(){ot.current&&Qe(Ce,ot.current.offsetWidth)},[]),le.createElement(St.Z,{data:Ce},le.createElement("td",{ref:ot,style:{padding:0,border:0,height:0}},le.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function dn(Ee){var Ce=Ee.prefixCls,Qe=Ee.columnsKey,ot=Ee.onColumnResize;return le.createElement("tr",{"aria-hidden":"true",className:"".concat(Ce,"-measure-row"),style:{height:0,fontSize:0}},le.createElement(St.Z.Collection,{onBatchResize:function(Et){Et.forEach(function(Ut){var Yt=Ut.data,$t=Ut.size;ot(Yt,$t.offsetWidth)})}},Qe.map(function(Pt){return le.createElement(Mt,{key:Pt,columnKey:Pt,onColumnResize:ot})})))}function gn(Ee){var Ce=Ee.data,Qe=Ee.measureColumnWidth,ot=Ve(oe,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Pt=ot.prefixCls,Et=ot.getComponent,Ut=ot.onColumnResize,Yt=ot.flattenColumns,$t=ot.getRowKey,Cn=ot.expandedKeys,pn=ot.childrenColumnName,hn=ot.emptyNode,qn=cn(Ce,pn,Cn,$t),aa=le.useRef({renderWithProps:!1}),ca=Et(["body","wrapper"],"tbody"),Aa=Et(["body","row"],"tr"),zt=Et(["body","cell"],"td"),Xa=Et(["body","cell"],"th"),_a;Ce.length?_a=qn.map(function(Tr,Ur){var wr=Tr.record,Gr=Tr.indent,Hr=Tr.index,tr=$t(wr,Ur);return le.createElement(Bt,{key:tr,rowKey:tr,record:wr,index:Ur,renderIndex:Hr,rowComponent:Aa,cellComponent:zt,scopeCellComponent:Xa,getRowKey:$t,indent:Gr})}):_a=le.createElement(yn,{expanded:!0,className:"".concat(Pt,"-placeholder"),prefixCls:Pt,component:Aa,cellComponent:zt,colSpan:Yt.length,isEmpty:!0},hn);var rr=Nt(Yt);return le.createElement(gt.Provider,{value:aa.current},le.createElement(ca,{className:"".concat(Pt,"-tbody")},Qe&&le.createElement(dn,{prefixCls:Pt,columnsKey:rr,onColumnResize:Ut}),_a))}gn.displayName="Body";var Ln=ne(gn),Jn=["expandable"],va="RC_TABLE_INTERNAL_COL_DEFINE";function Da(Ee){var Ce=Ee.expandable,Qe=(0,At.Z)(Ee,Jn),ot;return"expandable"in Ee?ot=(0,He.Z)((0,He.Z)({},Qe),Ce):ot=Qe,ot.showExpandColumn===!1&&(ot.expandIconColumnIndex=-1),ot}var Na=["columnType"];function ar(Ee){for(var Ce=Ee.colWidths,Qe=Ee.columns,ot=Ee.columCount,Pt=[],Et=ot||Qe.length,Ut=!1,Yt=Et-1;Yt>=0;Yt-=1){var $t=Ce[Yt],Cn=Qe&&Qe[Yt],pn=Cn&&Cn[va];if($t||pn||Ut){var hn=pn||{},qn=hn.columnType,aa=(0,At.Z)(hn,Na);Pt.unshift(le.createElement("col",(0,je.Z)({key:Yt,style:{width:$t}},aa))),Ut=!0}}return le.createElement("colgroup",null,Pt)}var Ua=ar,fa=ee(95190),yr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function en(Ee,Ce){return(0,le.useMemo)(function(){for(var Qe=[],ot=0;ot<Ce;ot+=1){var Pt=Ee[ot];if(Pt!==void 0)Qe[ot]=Pt;else return null}return Qe},[Ee.join("_"),Ce])}var On=le.forwardRef(function(Ee,Ce){var Qe=Ee.className,ot=Ee.noData,Pt=Ee.columns,Et=Ee.flattenColumns,Ut=Ee.colWidths,Yt=Ee.columCount,$t=Ee.stickyOffsets,Cn=Ee.direction,pn=Ee.fixHeader,hn=Ee.stickyTopOffset,qn=Ee.stickyBottomOffset,aa=Ee.stickyClassName,ca=Ee.onScroll,Aa=Ee.maxContentScroll,zt=Ee.children,Xa=(0,At.Z)(Ee,yr),_a=Ve(oe,["prefixCls","scrollbarSize","isSticky"]),rr=_a.prefixCls,Tr=_a.scrollbarSize,Ur=_a.isSticky,wr=Ur&&!pn?0:Tr,Gr=le.useRef(null),Hr=le.useCallback(function(lo){(0,Xe.mH)(Ce,lo),(0,Xe.mH)(Gr,lo)},[]);le.useEffect(function(){var lo;function Mr(fo){var Fo=fo,Ra=Fo.currentTarget,Bo=Fo.deltaX;Bo&&(ca({currentTarget:Ra,scrollLeft:Ra.scrollLeft+Bo}),fo.preventDefault())}return(lo=Gr.current)===null||lo===void 0||lo.addEventListener("wheel",Mr),function(){var fo;(fo=Gr.current)===null||fo===void 0||fo.removeEventListener("wheel",Mr)}},[]);var tr=le.useMemo(function(){return Et.every(function(lo){return lo.width})},[Et]),nr=Et[Et.length-1],fr={fixed:nr?nr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(rr,"-cell-scrollbar")}}},Wa=(0,le.useMemo)(function(){return wr?[].concat((0,fa.Z)(Pt),[fr]):Pt},[wr,Pt]),or=(0,le.useMemo)(function(){return wr?[].concat((0,fa.Z)(Et),[fr]):Et},[wr,Et]),Kr=(0,le.useMemo)(function(){var lo=$t.right,Mr=$t.left;return(0,He.Z)((0,He.Z)({},$t),{},{left:Cn==="rtl"?[].concat((0,fa.Z)(Mr.map(function(fo){return fo+wr})),[0]):Mr,right:Cn==="rtl"?lo:[].concat((0,fa.Z)(lo.map(function(fo){return fo+wr})),[0]),isSticky:Ur})},[wr,$t,Ur]),Po=en(Ut,Yt);return le.createElement("div",{style:(0,He.Z)({overflow:"hidden"},Ur?{top:hn,bottom:qn}:{}),ref:Hr,className:Ke()(Qe,(0,he.Z)({},aa,!!aa))},le.createElement("table",{style:{tableLayout:"fixed",visibility:ot||Po?null:"hidden"}},(!ot||!Aa||tr)&&le.createElement(Ua,{colWidths:Po?[].concat((0,fa.Z)(Po),[wr]):[],columCount:Yt+1,columns:or}),zt((0,He.Z)((0,He.Z)({},Xa),{},{stickyOffsets:Kr,columns:Wa,flattenColumns:or}))))});On.displayName="FixedHolder";var la=le.memo(On);function xa(Ee){var Ce=Ee.cells,Qe=Ee.stickyOffsets,ot=Ee.flattenColumns,Pt=Ee.rowComponent,Et=Ee.cellComponent,Ut=Ee.tdCellComponent,Yt=Ee.onHeaderRow,$t=Ee.index,Cn=Ve(oe,["prefixCls","direction"]),pn=Cn.prefixCls,hn=Cn.direction,qn;Yt&&(qn=Yt(Ce.map(function(ca){return ca.column}),$t));var aa=Nt(Ce.map(function(ca){return ca.column}));return le.createElement(Pt,qn,Ce.map(function(ca,Aa){var zt=ca.column,Xa=ze(ca.colStart,ca.colEnd,ot,Qe,hn,zt),_a;return zt&&zt.onHeaderCell&&(_a=ca.column.onHeaderCell(zt)),le.createElement(wn,(0,je.Z)({},ca,{scope:zt.title?ca.colSpan>1?"colgroup":"col":null,ellipsis:zt.ellipsis,align:zt.align,component:zt.title?Et:Ut,prefixCls:pn,key:aa[Aa]},Xa,{additionalProps:_a,rowType:"header"}))}))}xa.displayName="HeaderRow";var Ge=xa;function Ot(Ee){var Ce=[];function Qe(Ut,Yt){var $t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ce[$t]=Ce[$t]||[];var Cn=Yt,pn=Ut.filter(Boolean).map(function(hn){var qn={key:hn.key,className:hn.className||"",children:hn.title,column:hn,colStart:Cn},aa=1,ca=hn.children;return ca&&ca.length>0&&(aa=Qe(ca,Cn,$t+1).reduce(function(Aa,zt){return Aa+zt},0),qn.hasSubColumns=!0),"colSpan"in hn&&(aa=hn.colSpan),"rowSpan"in hn&&(qn.rowSpan=hn.rowSpan),qn.colSpan=aa,qn.colEnd=qn.colStart+aa-1,Ce[$t].push(qn),Cn+=aa,aa});return pn}Qe(Ee,0);for(var ot=Ce.length,Pt=function(Yt){Ce[Yt].forEach(function($t){!("rowSpan"in $t)&&!$t.hasSubColumns&&($t.rowSpan=ot-Yt)})},Et=0;Et<ot;Et+=1)Pt(Et);return Ce}function _t(Ee){var Ce=Ee.stickyOffsets,Qe=Ee.columns,ot=Ee.flattenColumns,Pt=Ee.onHeaderRow,Et=Ve(oe,["prefixCls","getComponent"]),Ut=Et.prefixCls,Yt=Et.getComponent,$t=le.useMemo(function(){return Ot(Qe)},[Qe]),Cn=Yt(["header","wrapper"],"thead"),pn=Yt(["header","row"],"tr"),hn=Yt(["header","cell"],"th"),qn=Yt(["header","cell"],"td");return le.createElement(Cn,{className:"".concat(Ut,"-thead")},$t.map(function(aa,ca){var Aa=le.createElement(Ge,{key:ca,flattenColumns:ot,cells:aa,stickyOffsets:Ce,rowComponent:pn,cellComponent:hn,tdCellComponent:qn,onHeaderRow:Pt,index:ca});return Aa}))}var Vt=ne(_t),Wt=ee(11592);function Rn(Ee){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ce=="number"?Ce:Ce.endsWith("%")?Ee*parseFloat(Ce)/100:null}function Bn(Ee,Ce){return le.useMemo(function(){if(Ce&&Ce>0){var Qe=0,ot=0;Ee.forEach(function(Cn){var pn=Rn(Ce,Cn.width);pn?Qe+=pn:ot+=1});var Pt=Ce-Qe,Et=ot,Ut=Pt/ot,Yt=0,$t=Ee.map(function(Cn){var pn=(0,He.Z)({},Cn),hn=Rn(Ce,pn.width);if(hn)pn.width=hn;else{var qn=Math.floor(Ut);pn.width=Et===1?Pt:qn,Pt-=qn,Et-=1}return Yt+=pn.width,pn});return[$t,Yt]}return[Ee,Ce]},[Ee,Ce])}var vt=["children"],Ft=["fixed"];function pt(Ee){return(0,Wt.Z)(Ee).filter(function(Ce){return le.isValidElement(Ce)}).map(function(Ce){var Qe=Ce.key,ot=Ce.props,Pt=ot.children,Et=(0,At.Z)(ot,vt),Ut=(0,He.Z)({key:Qe},Et);return Pt&&(Ut.children=pt(Pt)),Ut})}function Sn(Ee){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ee.filter(function(Qe){return Qe&&(0,Ae.Z)(Qe)==="object"}).reduce(function(Qe,ot,Pt){var Et=ot.fixed,Ut=Et===!0?"left":Et,Yt="".concat(Ce,"-").concat(Pt),$t=ot.children;return $t&&$t.length>0?[].concat((0,fa.Z)(Qe),(0,fa.Z)(Sn($t,Yt).map(function(Cn){return(0,He.Z)({fixed:Ut},Cn)}))):[].concat((0,fa.Z)(Qe),[(0,He.Z)((0,He.Z)({key:Yt},ot),{},{fixed:Ut})])},[])}function Wn(Ee){for(var Ce=!0,Qe=0;Qe<Ee.length;Qe+=1){var ot=Ee[Qe];if(Ce&&ot.fixed!=="left")Ce=!1;else if(!Ce&&ot.fixed==="left"){warning(!1,"Index ".concat(Qe-1," of `columns` missing `fixed='left'` prop."));break}}for(var Pt=!0,Et=Ee.length-1;Et>=0;Et-=1){var Ut=Ee[Et];if(Pt&&Ut.fixed!=="right")Pt=!1;else if(!Pt&&Ut.fixed==="right"){warning(!1,"Index ".concat(Et+1," of `columns` missing `fixed='right'` prop."));break}}}function An(Ee){return Ee.map(function(Ce){var Qe=Ce.fixed,ot=(0,At.Z)(Ce,Ft),Pt=Qe;return Qe==="left"?Pt="right":Qe==="right"&&(Pt="left"),(0,He.Z)({fixed:Pt},ot)})}function ka(Ee,Ce){var Qe=Ee.prefixCls,ot=Ee.columns,Pt=Ee.children,Et=Ee.expandable,Ut=Ee.expandedKeys,Yt=Ee.columnTitle,$t=Ee.getRowKey,Cn=Ee.onTriggerExpand,pn=Ee.expandIcon,hn=Ee.rowExpandable,qn=Ee.expandIconColumnIndex,aa=Ee.direction,ca=Ee.expandRowByClick,Aa=Ee.columnWidth,zt=Ee.fixed,Xa=Ee.scrollWidth,_a=le.useMemo(function(){return ot||pt(Pt)},[ot,Pt]),rr=le.useMemo(function(){if(Et){var nr,fr=_a.slice();if(!fr.includes(b)){var Wa=qn||0;Wa>=0&&fr.splice(Wa,0,b)}var or=fr.indexOf(b);fr=fr.filter(function(Mr,fo){return Mr!==b||fo===or});var Kr=_a[or],Po;(zt==="left"||zt)&&!qn?Po="left":(zt==="right"||zt)&&qn===_a.length?Po="right":Po=Kr?Kr.fixed:null;var lo=(nr={},(0,he.Z)(nr,va,{className:"".concat(Qe,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,he.Z)(nr,"title",Yt),(0,he.Z)(nr,"fixed",Po),(0,he.Z)(nr,"className","".concat(Qe,"-row-expand-icon-cell")),(0,he.Z)(nr,"width",Aa),(0,he.Z)(nr,"render",function(fo,Fo,Ra){var Bo=$t(Fo,Ra),Ci=Ut.has(Bo),wo=hn?hn(Fo):!0,Xr=pn({prefixCls:Qe,expanded:Ci,expandable:wo,record:Fo,onExpand:Cn});return ca?le.createElement("span",{onClick:function(Qr){return Qr.stopPropagation()}},Xr):Xr}),nr);return fr.map(function(Mr){return Mr===b?lo:Mr})}return _a.filter(function(Mr){return Mr!==b})},[Et,_a,$t,Ut,pn,aa]),Tr=le.useMemo(function(){var nr=rr;return Ce&&(nr=Ce(nr)),nr.length||(nr=[{render:function(){return null}}]),nr},[Ce,rr,aa]),Ur=le.useMemo(function(){return aa==="rtl"?An(Sn(Tr)):Sn(Tr)},[Tr,aa,Xa]),wr=Bn(Ur,Xa),Gr=(0,Be.Z)(wr,2),Hr=Gr[0],tr=Gr[1];return[Tr,Hr,tr]}var pa=ka;function _n(Ee){var Ce,Qe=Ee.prefixCls,ot=Ee.record,Pt=Ee.onExpand,Et=Ee.expanded,Ut=Ee.expandable,Yt="".concat(Qe,"-row-expand-icon");if(!Ut)return le.createElement("span",{className:Ke()(Yt,"".concat(Qe,"-row-spaced"))});var $t=function(pn){Pt(ot,pn),pn.stopPropagation()};return le.createElement("span",{className:Ke()(Yt,(Ce={},(0,he.Z)(Ce,"".concat(Qe,"-row-expanded"),Et),(0,he.Z)(Ce,"".concat(Qe,"-row-collapsed"),!Et),Ce)),onClick:$t})}function Ea(Ee,Ce,Qe){var ot=[];function Pt(Et){(Et||[]).forEach(function(Ut,Yt){ot.push(Ce(Ut,Yt)),Pt(Ut[Qe])})}return Pt(Ee),ot}function Pa(Ee,Ce,Qe){var ot=Da(Ee),Pt=ot.expandIcon,Et=ot.expandedRowKeys,Ut=ot.defaultExpandedRowKeys,Yt=ot.defaultExpandAllRows,$t=ot.expandedRowRender,Cn=ot.onExpand,pn=ot.onExpandedRowsChange,hn=ot.childrenColumnName,qn=Pt||_n,aa=hn||"children",ca=le.useMemo(function(){return $t?"row":Ee.expandable&&Ee.internalHooks===de&&Ee.expandable.__PARENT_RENDER_ICON__||Ce.some(function(Ur){return Ur&&(0,Ae.Z)(Ur)==="object"&&Ur[aa]})?"nest":!1},[!!$t,Ce]),Aa=le.useState(function(){return Ut||(Yt?Ea(Ce,Qe,aa):[])}),zt=(0,Be.Z)(Aa,2),Xa=zt[0],_a=zt[1],rr=le.useMemo(function(){return new Set(Et||Xa||[])},[Et,Xa]),Tr=le.useCallback(function(Ur){var wr=Qe(Ur,Ce.indexOf(Ur)),Gr,Hr=rr.has(wr);Hr?(rr.delete(wr),Gr=(0,fa.Z)(rr)):Gr=[].concat((0,fa.Z)(rr),[wr]),_a(Gr),Cn&&Cn(!Hr,Ur),pn&&pn(Gr)},[Qe,rr,Ce,Cn,pn]);return[ot,ca,rr,qn,aa,Tr]}function Dn(Ee,Ce,Qe,ot){var Pt=Ee.map(function(Et,Ut){return ze(Ut,Ut,Ee,Ce,Qe,ot==null?void 0:ot[Ut])});return(0,ht.Z)(function(){return Pt},[Pt],function(Et,Ut){return!(0,ke.Z)(Et,Ut)})}function lr(Ee){var Ce=(0,le.useRef)(Ee),Qe=(0,le.useState)({}),ot=(0,Be.Z)(Qe,2),Pt=ot[1],Et=(0,le.useRef)(null),Ut=(0,le.useRef)([]);function Yt($t){Ut.current.push($t);var Cn=Promise.resolve();Et.current=Cn,Cn.then(function(){if(Et.current===Cn){var pn=Ut.current,hn=Ce.current;Ut.current=[],pn.forEach(function(qn){Ce.current=qn(Ce.current)}),Et.current=null,hn!==Ce.current&&Pt({})}})}return(0,le.useEffect)(function(){return function(){Et.current=null}},[]),[Ce.current,Yt]}function Nr(Ee){var Ce=(0,le.useRef)(Ee||null),Qe=(0,le.useRef)();function ot(){window.clearTimeout(Qe.current)}function Pt(Ut){Ce.current=Ut,ot(),Qe.current=window.setTimeout(function(){Ce.current=null,Qe.current=void 0},100)}function Et(){return Ce.current}return(0,le.useEffect)(function(){return ot},[]),[Pt,Et]}function $r(){var Ee=le.useState(-1),Ce=(0,Be.Z)(Ee,2),Qe=Ce[0],ot=Ce[1],Pt=le.useState(-1),Et=(0,Be.Z)(Pt,2),Ut=Et[0],Yt=Et[1],$t=le.useCallback(function(Cn,pn){ot(Cn),Yt(pn)},[]);return[Qe,Ut,$t]}var Sr=ee(47273),$e=(0,Sr.Z)()?window:null;function bn(Ee,Ce){var Qe=(0,Ae.Z)(Ee)==="object"?Ee:{},ot=Qe.offsetHeader,Pt=ot===void 0?0:ot,Et=Qe.offsetSummary,Ut=Et===void 0?0:Et,Yt=Qe.offsetScroll,$t=Yt===void 0?0:Yt,Cn=Qe.getContainer,pn=Cn===void 0?function(){return $e}:Cn,hn=pn()||$e;return le.useMemo(function(){var qn=!!Ee;return{isSticky:qn,stickyClassName:qn?"".concat(Ce,"-sticky-holder"):"",offsetHeader:Pt,offsetSummary:Ut,offsetScroll:$t,container:hn}},[$t,Pt,Ut,Ce,hn])}function Xt(Ee,Ce,Qe){var ot=(0,le.useMemo)(function(){for(var Pt=[],Et=[],Ut=0,Yt=0,$t=0;$t<Ce;$t+=1)if(Qe==="rtl"){Et[$t]=Yt,Yt+=Ee[$t]||0;var Cn=Ce-$t-1;Pt[Cn]=Ut,Ut+=Ee[Cn]||0}else{Pt[$t]=Ut,Ut+=Ee[$t]||0;var pn=Ce-$t-1;Et[pn]=Yt,Yt+=Ee[pn]||0}return{left:Pt,right:Et}},[Ee,Ce,Qe]);return ot}var Nn=Xt;function Kn(Ee){var Ce=Ee.className,Qe=Ee.children;return le.createElement("div",{className:Ce},Qe)}var ua=Kn,Qn=ee(8224),$n=ee(55468),ur=function(Ce,Qe){var ot,Pt,Et=Ce.scrollBodyRef,Ut=Ce.onScroll,Yt=Ce.offsetScroll,$t=Ce.container,Cn=Ve(oe,"prefixCls"),pn=((ot=Et.current)===null||ot===void 0?void 0:ot.scrollWidth)||0,hn=((Pt=Et.current)===null||Pt===void 0?void 0:Pt.clientWidth)||0,qn=pn&&hn*(hn/pn),aa=le.useRef(),ca=lr({scrollLeft:0,isHiddenScrollBar:!1}),Aa=(0,Be.Z)(ca,2),zt=Aa[0],Xa=Aa[1],_a=le.useRef({delta:0,x:0}),rr=le.useState(!1),Tr=(0,Be.Z)(rr,2),Ur=Tr[0],wr=Tr[1],Gr=function(){wr(!1)},Hr=function(or){or.persist(),_a.current.delta=or.pageX-zt.scrollLeft,_a.current.x=0,wr(!0),or.preventDefault()},tr=function(or){var Kr,Po=or||((Kr=window)===null||Kr===void 0?void 0:Kr.event),lo=Po.buttons;if(!Ur||lo===0){Ur&&wr(!1);return}var Mr=_a.current.x+or.pageX-_a.current.x-_a.current.delta;Mr<=0&&(Mr=0),Mr+qn>=hn&&(Mr=hn-qn),Ut({scrollLeft:Mr/hn*(pn+2)}),_a.current.x=or.pageX},nr=function(){if(Et.current){var or=(0,$n.os)(Et.current).top,Kr=or+Et.current.offsetHeight,Po=$t===window?document.documentElement.scrollTop+window.innerHeight:(0,$n.os)($t).top+$t.clientHeight;Kr-(0,yt.Z)()<=Po||or>=Po-Yt?Xa(function(lo){return(0,He.Z)((0,He.Z)({},lo),{},{isHiddenScrollBar:!0})}):Xa(function(lo){return(0,He.Z)((0,He.Z)({},lo),{},{isHiddenScrollBar:!1})})}},fr=function(or){Xa(function(Kr){return(0,He.Z)((0,He.Z)({},Kr),{},{scrollLeft:or/pn*hn||0})})};return le.useImperativeHandle(Qe,function(){return{setScrollLeft:fr}}),le.useEffect(function(){var Wa=(0,Qn.Z)(document.body,"mouseup",Gr,!1),or=(0,Qn.Z)(document.body,"mousemove",tr,!1);return nr(),function(){Wa.remove(),or.remove()}},[qn,Ur]),le.useEffect(function(){var Wa=(0,Qn.Z)($t,"scroll",nr,!1),or=(0,Qn.Z)(window,"resize",nr,!1);return function(){Wa.remove(),or.remove()}},[$t]),le.useEffect(function(){zt.isHiddenScrollBar||Xa(function(Wa){var or=Et.current;return or?(0,He.Z)((0,He.Z)({},Wa),{},{scrollLeft:or.scrollLeft/or.scrollWidth*or.clientWidth}):Wa})},[zt.isHiddenScrollBar]),pn<=hn||!qn||zt.isHiddenScrollBar?null:le.createElement("div",{style:{height:(0,yt.Z)(),width:hn,bottom:Yt},className:"".concat(Cn,"-sticky-scroll")},le.createElement("div",{onMouseDown:Hr,ref:aa,className:Ke()("".concat(Cn,"-sticky-scroll-bar"),(0,he.Z)({},"".concat(Cn,"-sticky-scroll-bar-active"),Ur)),style:{width:"".concat(qn,"px"),transform:"translate3d(".concat(zt.scrollLeft,"px, 0, 0)")}}))},da=le.forwardRef(ur);function En(Ee){return null}var dr=En;function Cr(Ee){return null}var Wr=Cr,Ir="rc-table",ha=[],Ha={};function $a(){return"No Data"}function La(Ee){var Ce,Qe=(0,He.Z)({rowKey:"key",prefixCls:Ir,emptyText:$a},Ee),ot=Qe.prefixCls,Pt=Qe.className,Et=Qe.rowClassName,Ut=Qe.style,Yt=Qe.data,$t=Qe.rowKey,Cn=Qe.scroll,pn=Qe.tableLayout,hn=Qe.direction,qn=Qe.title,aa=Qe.footer,ca=Qe.summary,Aa=Qe.caption,zt=Qe.id,Xa=Qe.showHeader,_a=Qe.components,rr=Qe.emptyText,Tr=Qe.onRow,Ur=Qe.onHeaderRow,wr=Qe.internalHooks,Gr=Qe.transformColumns,Hr=Qe.internalRefs,tr=Qe.tailor,nr=Qe.sticky,fr=Yt||ha,Wa=!!fr.length,or=wr===de,Kr=le.useCallback(function(ei,Gi){return(0,Le.Z)(_a,ei)||Gi},[_a]),Po=le.useMemo(function(){return typeof $t=="function"?$t:function(ei){var Gi=ei&&ei[$t];return Gi}},[$t]),lo=Kr(["body"]),Mr=$r(),fo=(0,Be.Z)(Mr,3),Fo=fo[0],Ra=fo[1],Bo=fo[2],Ci=Pa(Qe,fr,Po),wo=(0,Be.Z)(Ci,6),Xr=wo[0],xi=wo[1],Qr=wo[2],mi=wo[3],_o=wo[4],Zi=wo[5],to=Cn==null?void 0:Cn.x,_r=le.useState(0),Yr=(0,Be.Z)(_r,2),Zr=Yr[0],ce=Yr[1],pe=pa((0,He.Z)((0,He.Z)((0,He.Z)({},Qe),Xr),{},{expandable:!!Xr.expandedRowRender,columnTitle:Xr.columnTitle,expandedKeys:Qr,getRowKey:Po,onTriggerExpand:Zi,expandIcon:mi,expandIconColumnIndex:Xr.expandIconColumnIndex,direction:hn,scrollWidth:or&&tr&&typeof to=="number"?to:null}),or?Gr:null),Pe=(0,Be.Z)(pe,3),Lt=Pe[0],tn=Pe[1],wa=Pe[2],ma=wa!=null?wa:to,Hn=le.useMemo(function(){return{columns:Lt,flattenColumns:tn}},[Lt,tn]),jt=le.useRef(),Yn=le.useRef(),xn=le.useRef(),Ct=le.useRef(),mn=le.useRef(),In=le.useState(!1),oa=(0,Be.Z)(In,2),zn=oa[0],ba=oa[1],ta=le.useState(!1),ia=(0,Be.Z)(ta,2),Ka=ia[0],Pn=ia[1],ya=lr(new Map),ja=(0,Be.Z)(ya,2),qr=ja[0],cr=ja[1],li=Nt(tn),Za=li.map(function(ei){return qr.get(ei)}),Co=le.useMemo(function(){return Za},[Za.join("_")]),Dr=Nn(Co,tn.length,hn),ao=Cn&&rn(Cn.y),So=Cn&&rn(ma)||!!Xr.fixed,Ei=So&&tn.some(function(ei){var Gi=ei.fixed;return Gi}),fi=le.useRef(),pr=bn(nr,ot),vo=pr.isSticky,Ui=pr.offsetHeader,Ri=pr.offsetSummary,ea=pr.offsetScroll,xo=pr.stickyClassName,Mi=pr.container,Zo=le.useMemo(function(){return ca==null?void 0:ca(fr)},[ca,fr]),Fi=(ao||vo)&&le.isValidElement(Zo)&&Zo.type===fe&&Zo.props.fixed,ki,oi,il;ao&&(oi={overflowY:"scroll",maxHeight:Cn.y}),So&&(ki={overflowX:"auto"},ao||(oi={overflowY:"hidden"}),il={width:ma===!0?"auto":ma,minWidth:"100%"});var ll=le.useCallback(function(ei,Gi){(0,at.Z)(jt.current)&&cr(function(Al){if(Al.get(ei)!==Gi){var Sl=new Map(Al);return Sl.set(ei,Gi),Sl}return Al})},[]),jl=Nr(null),Oi=(0,Be.Z)(jl,2),cl=Oi[0],wl=Oi[1];function Gl(ei,Gi){Gi&&(typeof Gi=="function"?Gi(ei):Gi.scrollLeft!==ei&&(Gi.scrollLeft=ei,Gi.scrollLeft!==ei&&setTimeout(function(){Gi.scrollLeft=ei},0)))}var Ao=(0,Ne.Z)(function(ei){var Gi=ei.currentTarget,Al=ei.scrollLeft,Sl=hn==="rtl",Vl=typeof Al=="number"?Al:Gi.scrollLeft,kl=Gi||Ha;if(!wl()||wl()===kl){var Ku;cl(kl),Gl(Vl,Yn.current),Gl(Vl,xn.current),Gl(Vl,mn.current),Gl(Vl,(Ku=fi.current)===null||Ku===void 0?void 0:Ku.setScrollLeft)}var Vu=Gi||Yn.current;if(Vu){var Uu=Vu.scrollWidth,hu=Vu.clientWidth;if(Uu===hu){ba(!1),Pn(!1);return}Sl?(ba(-Vl<Uu-hu),Pn(-Vl>0)):(ba(Vl>0),Pn(Vl<Uu-hu))}}),Pi=function(){So&&xn.current?Ao({currentTarget:xn.current}):(ba(!1),Pn(!1))},$i=function(Gi){var Al=Gi.width;Al!==Zr&&(Pi(),ce(jt.current?jt.current.offsetWidth:Al))},Hi=le.useRef(!1);le.useEffect(function(){Hi.current&&Pi()},[So,Yt,Lt.length]),le.useEffect(function(){Hi.current=!0},[]);var hl=le.useState(0),ul=(0,Be.Z)(hl,2),sl=ul[0],Dl=ul[1],Ml=le.useState(!0),fl=(0,Be.Z)(Ml,2),el=fl[0],Wl=fl[1];le.useEffect(function(){(!tr||!or)&&(xn.current instanceof Element?Dl((0,yt.o)(xn.current).width):Dl((0,yt.o)(Ct.current).width)),Wl((0,Me.G)("position","sticky"))},[]),le.useEffect(function(){or&&Hr&&(Hr.body.current=xn.current)});var Xo=le.useCallback(function(ei){return le.createElement(le.Fragment,null,le.createElement(Vt,ei),Fi==="top"&&le.createElement(It,ei,Zo))},[Fi,Zo]),vu=le.useCallback(function(ei){return le.createElement(It,ei,Zo)},[Zo]),pu=Kr(["table"],"table"),Kl=le.useMemo(function(){return pn||(Ei?ma==="max-content"?"auto":"fixed":ao||vo||tn.some(function(ei){var Gi=ei.ellipsis;return Gi})?"fixed":"auto")},[ao,Ei,tn,pn,vo]),gu,na={colWidths:Co,columCount:tn.length,stickyOffsets:Dr,onHeaderRow:Ur,fixHeader:ao,scroll:Cn},er=le.useMemo(function(){return Wa?null:typeof rr=="function"?rr():rr},[Wa,rr]),Ro=le.createElement(Ln,{data:fr,measureColumnWidth:ao||So||vo}),Eo=le.createElement(Ua,{colWidths:tn.map(function(ei){var Gi=ei.width;return Gi}),columns:tn}),zo=Aa!=null?le.createElement("caption",{className:"".concat(ot,"-caption")},Aa):void 0,ci=(0,Fn.Z)(Qe,{data:!0}),ji=(0,Fn.Z)(Qe,{aria:!0});if(ao||vo){var Yo;typeof lo=="function"?(Yo=lo(fr,{scrollbarSize:sl,ref:xn,onScroll:Ao}),na.colWidths=tn.map(function(ei,Gi){var Al=ei.width,Sl=Gi===tn.length-1?Al-sl:Al;return typeof Sl=="number"&&!Number.isNaN(Sl)?Sl:0})):Yo=le.createElement("div",{style:(0,He.Z)((0,He.Z)({},ki),oi),onScroll:Ao,ref:xn,className:Ke()("".concat(ot,"-body"))},le.createElement(pu,(0,je.Z)({style:(0,He.Z)((0,He.Z)({},il),{},{tableLayout:Kl})},ji),zo,Eo,Ro,!Fi&&Zo&&le.createElement(It,{stickyOffsets:Dr,flattenColumns:tn,columns:Lt},Zo)));var gl=(0,He.Z)((0,He.Z)((0,He.Z)({noData:!fr.length,maxContentScroll:So&&ma==="max-content"},na),Hn),{},{direction:hn,stickyClassName:xo,onScroll:Ao});gu=le.createElement(le.Fragment,null,Xa!==!1&&le.createElement(la,(0,je.Z)({},gl,{stickyTopOffset:Ui,className:"".concat(ot,"-header"),ref:Yn}),Xo),Yo,Fi&&Fi!=="top"&&le.createElement(la,(0,je.Z)({},gl,{stickyBottomOffset:Ri,className:"".concat(ot,"-summary"),ref:mn}),vu),vo&&le.createElement(da,{ref:fi,offsetScroll:ea,scrollBodyRef:xn,onScroll:Ao,container:Mi}))}else gu=le.createElement("div",{style:(0,He.Z)((0,He.Z)({},ki),oi),className:Ke()("".concat(ot,"-content")),onScroll:Ao,ref:xn},le.createElement(pu,(0,je.Z)({style:(0,He.Z)((0,He.Z)({},il),{},{tableLayout:Kl})},ji),zo,Eo,Xa!==!1&&le.createElement(Vt,(0,je.Z)({},na,Hn)),Ro,Zo&&le.createElement(It,{stickyOffsets:Dr,flattenColumns:tn,columns:Lt},Zo)));var vi=le.createElement("div",(0,je.Z)({className:Ke()(ot,Pt,(Ce={},(0,he.Z)(Ce,"".concat(ot,"-rtl"),hn==="rtl"),(0,he.Z)(Ce,"".concat(ot,"-ping-left"),zn),(0,he.Z)(Ce,"".concat(ot,"-ping-right"),Ka),(0,he.Z)(Ce,"".concat(ot,"-layout-fixed"),pn==="fixed"),(0,he.Z)(Ce,"".concat(ot,"-fixed-header"),ao),(0,he.Z)(Ce,"".concat(ot,"-fixed-column"),Ei),(0,he.Z)(Ce,"".concat(ot,"-scroll-horizontal"),So),(0,he.Z)(Ce,"".concat(ot,"-has-fix-left"),tn[0]&&tn[0].fixed),(0,he.Z)(Ce,"".concat(ot,"-has-fix-right"),tn[tn.length-1]&&tn[tn.length-1].fixed==="right"),Ce)),style:Ut,id:zt,ref:jt},ci),qn&&le.createElement(ua,{className:"".concat(ot,"-title")},qn(fr)),le.createElement("div",{ref:Ct,className:"".concat(ot,"-container")},gu),aa&&le.createElement(ua,{className:"".concat(ot,"-footer")},aa(fr)));So&&(vi=le.createElement(St.Z,{onResize:$i},vi));var Pl=Dn(tn,Dr,hn,Lt),ou=le.useMemo(function(){return{scrollX:ma,prefixCls:ot,getComponent:Kr,scrollbarSize:sl,direction:hn,fixedInfoList:Pl,isSticky:vo,supportSticky:el,componentWidth:Zr,fixHeader:ao,fixColumn:Ei,horizonScroll:So,tableLayout:Kl,rowClassName:Et,expandedRowClassName:Xr.expandedRowClassName,expandIcon:mi,expandableType:xi,expandRowByClick:Xr.expandRowByClick,expandedRowRender:Xr.expandedRowRender,onTriggerExpand:Zi,expandIconColumnIndex:Xr.expandIconColumnIndex,indentSize:Xr.indentSize,allColumnsFixedLeft:tn.every(function(ei){return ei.fixed==="left"}),emptyNode:er,columns:Lt,flattenColumns:tn,onColumnResize:ll,hoverStartRow:Fo,hoverEndRow:Ra,onHover:Bo,rowExpandable:Xr.rowExpandable,onRow:Tr,getRowKey:Po,expandedKeys:Qr,childrenColumnName:_o}},[ma,ot,Kr,sl,hn,Pl,vo,el,Zr,ao,Ei,So,Kl,Et,Xr.expandedRowClassName,mi,xi,Xr.expandRowByClick,Xr.expandedRowRender,Zi,Xr.expandIconColumnIndex,Xr.indentSize,er,Lt,tn,ll,Fo,Ra,Bo,Xr.rowExpandable,Tr,Po,Qr,_o]);return le.createElement(oe.Provider,{value:ou},vi)}function Or(Ee){return z(La,Ee)}var no=Or();no.EXPAND_COLUMN=b,no.INTERNAL_HOOKS=de,no.Column=dr,no.ColumnGroup=Wr,no.Summary=Oe;var xr=no,Er=ee(6790),Pr=et(null),si=et(null);function ai(Ee,Ce,Qe){var ot=Ce||1;return Qe[Ee+ot]-(Qe[Ee]||0)}function Bi(Ee){var Ce=Ee.rowInfo,Qe=Ee.column,ot=Ee.colIndex,Pt=Ee.indent,Et=Ee.index,Ut=Ee.renderIndex,Yt=Ee.record,$t=Ee.style,Cn=Ee.className,pn=Ee.inverse,hn=Ee.getHeight,qn=Qe.render,aa=Qe.dataIndex,ca=Qe.className,Aa=Qe.width,zt=Ve(si,["columnsOffset"]),Xa=zt.columnsOffset,_a=xt(Ce,Qe,ot,Pt,Et),rr=_a.key,Tr=_a.fixedInfo,Ur=_a.appendCellNode,wr=_a.additionalCellProps,Gr=wr.style,Hr=wr.colSpan,tr=Hr===void 0?1:Hr,nr=wr.rowSpan,fr=nr===void 0?1:nr,Wa=ot-1,or=ai(Wa,tr,Xa),Kr=tr>1?Aa-or:0,Po=(0,He.Z)((0,He.Z)((0,He.Z)({},Gr),$t),{},{flex:"0 0 ".concat(or,"px"),width:"".concat(or,"px"),marginRight:Kr,pointerEvents:"auto"}),lo=le.useMemo(function(){return pn?fr<=1:tr===0||fr===0||fr>1},[fr,tr,pn]);lo?Po.visibility="hidden":pn&&(Po.height=hn==null?void 0:hn(fr));var Mr=lo?function(){return null}:qn,fo={};return(fr===0||tr===0)&&(fo.rowSpan=1,fo.colSpan=1),le.createElement(wn,(0,je.Z)({className:Ke()(ca,Cn),ellipsis:Qe.ellipsis,align:Qe.align,scope:Qe.rowScope,component:"div",prefixCls:Ce.prefixCls,key:rr,record:Yt,index:Et,renderIndex:Ut,dataIndex:aa,render:Mr,shouldCellUpdate:Qe.shouldCellUpdate},Tr,{appendNode:Ur,additionalProps:(0,He.Z)((0,He.Z)({},wr),{},{style:Po},fo)}))}var po=Bi,yo=["data","index","className","rowKey","style","extra","getHeight"],Go=le.forwardRef(function(Ee,Ce){var Qe=Ee.data,ot=Ee.index,Pt=Ee.className,Et=Ee.rowKey,Ut=Ee.style,Yt=Ee.extra,$t=Ee.getHeight,Cn=(0,At.Z)(Ee,yo),pn=Qe.record,hn=Qe.indent,qn=Qe.index,aa=Ve(oe,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ca=aa.scrollX,Aa=aa.flattenColumns,zt=aa.prefixCls,Xa=aa.fixColumn,_a=aa.componentWidth,rr=Te(pn,Et,ot,hn),Tr=rr.rowSupportExpand,Ur=rr.expanded,wr=rr.rowProps,Gr=rr.expandedRowRender,Hr=rr.expandedRowClassName,tr;if(Tr&&Ur){var nr=Gr(pn,ot,hn+1,Ur),fr=Hr==null?void 0:Hr(pn,ot,hn),Wa={};Xa&&(Wa={style:(0,he.Z)({},"--virtual-width","".concat(_a,"px"))});var or="".concat(zt,"-expanded-row-cell");tr=le.createElement("div",{className:Ke()("".concat(zt,"-expanded-row"),"".concat(zt,"-expanded-row-level-").concat(hn+1),fr)},le.createElement(wn,{component:"div",prefixCls:zt,className:Ke()(or,(0,he.Z)({},"".concat(or,"-fixed"),Xa)),additionalProps:Wa},nr))}var Kr=(0,He.Z)((0,He.Z)({},Ut),{},{width:ca});Yt&&(Kr.position="absolute",Kr.pointerEvents="none");var Po=le.createElement("div",(0,je.Z)({},wr,Cn,{ref:Tr?null:Ce,className:Ke()(Pt,"".concat(zt,"-row"),wr==null?void 0:wr.className,(0,he.Z)({},"".concat(zt,"-row-extra"),Yt)),style:(0,He.Z)((0,He.Z)({},Kr),wr==null?void 0:wr.style)}),Aa.map(function(lo,Mr){return le.createElement(po,{key:Mr,rowInfo:rr,column:lo,colIndex:Mr,indent:hn,index:ot,renderIndex:qn,record:pn,inverse:Yt,getHeight:$t})}));return Tr?le.createElement("div",{ref:Ce},Po,tr):Po}),Mo=ne(Go),Do=Mo,gr=le.forwardRef(function(Ee,Ce){var Qe=Ee.data,ot=Ee.onScroll,Pt=Ve(oe,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Et=Pt.flattenColumns,Ut=Pt.onColumnResize,Yt=Pt.getRowKey,$t=Pt.expandedKeys,Cn=Pt.prefixCls,pn=Pt.childrenColumnName,hn=Pt.emptyNode,qn=Pt.scrollX,aa=Ve(Pr),ca=aa.scrollY,Aa=aa.listItemHeight,zt=le.useRef(),Xa=cn(Qe,pn,$t,Yt),_a=le.useMemo(function(){var tr=0;return Et.map(function(nr){var fr=nr.width,Wa=nr.key;return tr+=fr,[Wa,fr,tr]})},[Et]),rr=le.useMemo(function(){return _a.map(function(tr){return tr[2]})},[_a]);le.useEffect(function(){_a.forEach(function(tr){var nr=(0,Be.Z)(tr,2),fr=nr[0],Wa=nr[1];Ut(fr,Wa)})},[_a]),le.useImperativeHandle(Ce,function(){var tr={};return Object.defineProperty(tr,"scrollLeft",{get:function(){var fr;return((fr=zt.current)===null||fr===void 0?void 0:fr.getScrollInfo().x)||0},set:function(fr){var Wa;(Wa=zt.current)===null||Wa===void 0||Wa.scrollTo({left:fr})}}),tr});var Tr=function(nr,fr){var Wa,or=(Wa=Xa[fr])===null||Wa===void 0?void 0:Wa.record,Kr=nr.onCell;if(Kr){var Po,lo=Kr(or,fr);return(Po=lo==null?void 0:lo.rowSpan)!==null&&Po!==void 0?Po:1}return 1},Ur=function(nr){var fr=nr.start,Wa=nr.end,or=nr.getSize,Kr=nr.offsetY;if(Wa<0)return null;for(var Po=Et.filter(function(to){return Tr(to,fr)===0}),lo=fr,Mr=function(_r){if(Po=Po.filter(function(Yr){return Tr(Yr,_r)===0}),!Po.length)return lo=_r,"break"},fo=fr;fo>=0;fo-=1){var Fo=Mr(fo);if(Fo==="break")break}for(var Ra=Et.filter(function(to){return Tr(to,Wa)!==1}),Bo=Wa,Ci=function(_r){if(Ra=Ra.filter(function(Yr){return Tr(Yr,_r)!==1}),!Ra.length)return Bo=Math.max(_r-1,Wa),"break"},wo=Wa;wo<Xa.length;wo+=1){var Xr=Ci(wo);if(Xr==="break")break}for(var xi=[],Qr=function(_r){var Yr=Xa[_r];if(!Yr)return"continue";Et.some(function(Zr){return Tr(Zr,_r)>1})&&xi.push(_r)},mi=lo;mi<=Bo;mi+=1)var _o=Qr(mi);var Zi=xi.map(function(to){var _r=Xa[to],Yr=Yt(_r.record,to),Zr=function(Pe){var Lt=to+Pe-1,tn=Yt(Xa[Lt].record,Lt),wa=or(Yr,tn);return wa.bottom-wa.top},ce=or(Yr);return le.createElement(Do,{key:to,data:_r,rowKey:Yr,index:to,style:{top:-Kr+ce.top},extra:!0,getHeight:Zr})});return Zi},wr=le.useMemo(function(){return{columnsOffset:rr}},[rr]),Gr="".concat(Cn,"-tbody"),Hr;return Xa.length?Hr=le.createElement(Er.Z,{fullHeight:!1,ref:zt,className:Ke()(Gr,"".concat(Gr,"-virtual")),height:ca,itemHeight:Aa||24,data:Xa,itemKey:function(nr){return Yt(nr.record)},scrollWidth:qn,onVirtualScroll:function(nr){var fr=nr.x;ot({scrollLeft:fr})},extraRender:Ur},function(tr,nr,fr){var Wa=Yt(tr.record,nr);return le.createElement(Do,(0,je.Z)({data:tr,rowKey:Wa,index:nr},fr))}):Hr=le.createElement("div",{className:Ke()("".concat(Cn,"-placeholder"))},le.createElement(wn,{component:"div",prefixCls:Cn},hn)),le.createElement(si.Provider,{value:wr},Hr)}),eo=ne(gr),Qo=eo,Jo=function(Ce,Qe){var ot=Qe.ref,Pt=Qe.onScroll;return le.createElement(Qo,{ref:ot,data:Ce,onScroll:Pt})},Io=100;function br(Ee){var Ce=Ee.columns,Qe=Ee.scroll,ot=Ee.prefixCls,Pt=ot===void 0?Ir:ot,Et=Ee.className,Ut=Ee.listItemHeight,Yt=Qe||{},$t=Yt.x,Cn=Yt.y;typeof $t!="number"&&($t=((Ce||[]).length+1)*Io),typeof Cn!="number"&&(Cn=500);var pn=le.useMemo(function(){return{scrollY:Cn,listItemHeight:Ut}},[Cn,Ut]);return le.createElement(Pr.Provider,{value:pn},le.createElement(xr,(0,je.Z)({},Ee,{className:Ke()(Et,"".concat(Pt,"-virtual")),scroll:(0,He.Z)((0,He.Z)({},Qe),{},{x:$t}),components:{body:Jo},columns:Ce,internalHooks:de,tailor:!0})))}function ri(Ee){return z(br,Ee)}var zr=ri(),ko=null;function co(Ee){return null}var di=co;function hi(Ee){return null}var Qi=hi,tl=ee(2738),nl=ee(68031),Vo=ee(36355),wi=ee(93891),Vi=ee(19716),dl=ee(8628),ml=ee(31724),yl=ee(58421),kr=ee(71418),Qa=ee(88088);function Ga(Ee){return function(Qe){let{prefixCls:ot,onExpand:Pt,record:Et,expanded:Ut,expandable:Yt}=Qe;const $t=`${ot}-row-expand-icon`;return le.createElement("button",{type:"button",onClick:Cn=>{Pt(Et,Cn),Cn.stopPropagation()},className:Ke()($t,{[`${$t}-spaced`]:!Yt,[`${$t}-expanded`]:Yt&&Ut,[`${$t}-collapsed`]:Yt&&!Ut}),"aria-label":Ut?Ee.collapse:Ee.expand,"aria-expanded":Ut})}}var Ya=Ga;function uo(Ee,Ce){return"key"in Ee&&Ee.key!==void 0&&Ee.key!==null?Ee.key:Ee.dataIndex?Array.isArray(Ee.dataIndex)?Ee.dataIndex.join("."):Ee.dataIndex:Ce}function we(Ee,Ce){return Ce?`${Ce}-${Ee}`:`${Ee}`}function vn(Ee,Ce){return typeof Ee=="function"?Ee(Ce):Ee}function Mn(Ee,Ce){const Qe=vn(Ee,Ce);return Object.prototype.toString.call(Qe)==="[object Object]"?"":Qe}var Sa={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},ln=Sa,Ma=ee(7657),Fa=function(Ce,Qe){return le.createElement(Ma.Z,(0,je.Z)({},Ce,{ref:Qe,icon:ln}))},jn=le.forwardRef(Fa),Xn=jn,sr=ee(56762);function za(Ee){const Ce=le.useRef(Ee),Qe=(0,sr.Z)();return[()=>Ce.current,ot=>{Ce.current=ot,Qe()}]}var Ta=ee(3113),Ja=ee(24905),Rr=ee(38854),bo=ee(64165),Uo=ee(20834),Wo=ee(40875),_i=ee(5112),Xi=ee(17574),al=ee(47472),Zl=ee(92832);function Nl(Ee){let{value:Ce,onChange:Qe,filterSearch:ot,tablePrefixCls:Pt,locale:Et}=Ee;return ot?le.createElement("div",{className:`${Pt}-filter-dropdown-search`},le.createElement(Zl.default,{prefix:le.createElement(al.Z,null),placeholder:Et.filterSearchPlaceholder,onChange:Qe,value:Ce,htmlSize:1,className:`${Pt}-filter-dropdown-search-input`})):null}var ho=Nl,bl=ee(10228);const eu=Ee=>{const{keyCode:Ce}=Ee;Ce===bl.Z.ENTER&&Ee.stopPropagation()};var Fl=le.forwardRef((Ee,Ce)=>le.createElement("div",{className:Ee.className,onClick:Qe=>Qe.stopPropagation(),onKeyDown:eu,ref:Ce},Ee.children));function tu(Ee){let Ce=[];return(Ee||[]).forEach(Qe=>{let{value:ot,children:Pt}=Qe;Ce.push(ot),Pt&&(Ce=[].concat((0,fa.Z)(Ce),(0,fa.Z)(tu(Pt))))}),Ce}function Qu(Ee){return Ee.some(Ce=>{let{children:Qe}=Ce;return Qe})}function su(Ee,Ce){return typeof Ce=="string"||typeof Ce=="number"?Ce==null?void 0:Ce.toString().toLowerCase().includes(Ee.trim().toLowerCase()):!1}function mu(Ee){let{filters:Ce,prefixCls:Qe,filteredKeys:ot,filterMultiple:Pt,searchValue:Et,filterSearch:Ut}=Ee;return Ce.map((Yt,$t)=>{const Cn=String(Yt.value);if(Yt.children)return{key:Cn||$t,label:Yt.text,popupClassName:`${Qe}-dropdown-submenu`,children:mu({filters:Yt.children,prefixCls:Qe,filteredKeys:ot,filterMultiple:Pt,searchValue:Et,filterSearch:Ut})};const pn=Pt?Ja.default:_i.ZP,hn={key:Yt.value!==void 0?Cn:$t,label:le.createElement(le.Fragment,null,le.createElement(pn,{checked:ot.includes(Cn)}),le.createElement("span",null,Yt.text))};return Et.trim()?typeof Ut=="function"?Ut(Et,Yt)?hn:null:su(Et,Yt.text)?hn:null:hn})}function Yu(Ee){var Ce,Qe;const{tablePrefixCls:ot,prefixCls:Pt,column:Et,dropdownPrefixCls:Ut,columnKey:Yt,filterMultiple:$t,filterMode:Cn="menu",filterSearch:pn=!1,filterState:hn,triggerFilter:qn,locale:aa,children:ca,getPopupContainer:Aa}=Ee,{filterDropdownOpen:zt,onFilterDropdownOpenChange:Xa,filterResetToDefaultFilteredValue:_a,defaultFilteredValue:rr,filterDropdownVisible:Tr,onFilterDropdownVisibleChange:Ur}=Et,[wr,Gr]=le.useState(!1),Hr=!!(hn&&(!((Ce=hn.filteredKeys)===null||Ce===void 0)&&Ce.length||hn.forceFiltered)),tr=pe=>{Gr(pe),Xa==null||Xa(pe),Ur==null||Ur(pe)},nr=(Qe=zt!=null?zt:Tr)!==null&&Qe!==void 0?Qe:wr,fr=hn==null?void 0:hn.filteredKeys,[Wa,or]=za(fr||[]),Kr=pe=>{let{selectedKeys:Pe}=pe;or(Pe)},Po=(pe,Pe)=>{let{node:Lt,checked:tn}=Pe;Kr($t?{selectedKeys:pe}:{selectedKeys:tn&&Lt.key?[Lt.key]:[]})};le.useEffect(()=>{wr&&Kr({selectedKeys:fr||[]})},[fr]);const[lo,Mr]=le.useState([]),fo=pe=>{Mr(pe)},[Fo,Ra]=le.useState(""),Bo=pe=>{const{value:Pe}=pe.target;Ra(Pe)};le.useEffect(()=>{wr||Ra("")},[wr]);const Ci=pe=>{const Pe=pe&&pe.length?pe:null;if(Pe===null&&(!hn||!hn.filteredKeys)||(0,ke.Z)(Pe,hn==null?void 0:hn.filteredKeys,!0))return null;qn({column:Et,key:Yt,filteredKeys:Pe})},wo=()=>{tr(!1),Ci(Wa())},Xr=function(){let{confirm:pe,closeDropdown:Pe}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};pe&&Ci([]),Pe&&tr(!1),Ra(""),or(_a?(rr||[]).map(Lt=>String(Lt)):[])},xi=function(){let{closeDropdown:pe}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};pe&&tr(!1),Ci(Wa())},Qr=pe=>{pe&&fr!==void 0&&or(fr||[]),tr(pe),!pe&&!Et.filterDropdown&&wo()},mi=Ke()({[`${Ut}-menu-without-submenu`]:!Qu(Et.filters||[])}),_o=pe=>{if(pe.target.checked){const Pe=tu(Et==null?void 0:Et.filters).map(Lt=>String(Lt));or(Pe)}else or([])},Zi=pe=>{let{filters:Pe}=pe;return(Pe||[]).map((Lt,tn)=>{const wa=String(Lt.value),ma={title:Lt.text,key:Lt.value!==void 0?wa:tn};return Lt.children&&(ma.children=Zi({filters:Lt.children})),ma})},to=pe=>{var Pe;return Object.assign(Object.assign({},pe),{text:pe.title,value:pe.key,children:((Pe=pe.children)===null||Pe===void 0?void 0:Pe.map(Lt=>to(Lt)))||[]})};let _r;if(typeof Et.filterDropdown=="function")_r=Et.filterDropdown({prefixCls:`${Ut}-custom`,setSelectedKeys:pe=>Kr({selectedKeys:pe}),selectedKeys:Wa(),confirm:xi,clearFilters:Xr,filters:Et.filters,visible:nr,close:()=>{tr(!1)}});else if(Et.filterDropdown)_r=Et.filterDropdown;else{const pe=Wa()||[],Pe=()=>(Et.filters||[]).length===0?le.createElement(bo.Z,{image:bo.Z.PRESENTED_IMAGE_SIMPLE,description:aa.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Cn==="tree"?le.createElement(le.Fragment,null,le.createElement(ho,{filterSearch:pn,value:Fo,onChange:Bo,tablePrefixCls:ot,locale:aa}),le.createElement("div",{className:`${ot}-filter-dropdown-tree`},$t?le.createElement(Ja.default,{checked:pe.length===tu(Et.filters).length,indeterminate:pe.length>0&&pe.length<tu(Et.filters).length,className:`${ot}-filter-dropdown-checkall`,onChange:_o},aa.filterCheckall):null,le.createElement(Xi.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:$t,checkStrictly:!$t,className:`${Ut}-menu`,onCheck:Po,checkedKeys:pe,selectedKeys:pe,showIcon:!1,treeData:Zi({filters:Et.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Fo.trim()?tn=>typeof pn=="function"?pn(Fo,to(tn)):su(Fo,tn.title):void 0}))):le.createElement(le.Fragment,null,le.createElement(ho,{filterSearch:pn,value:Fo,onChange:Bo,tablePrefixCls:ot,locale:aa}),le.createElement(Uo.default,{selectable:!0,multiple:$t,prefixCls:`${Ut}-menu`,className:mi,onSelect:Kr,onDeselect:Kr,selectedKeys:pe,getPopupContainer:Aa,openKeys:lo,onOpenChange:fo,items:mu({filters:Et.filters||[],filterSearch:pn,prefixCls:Pt,filteredKeys:Wa(),filterMultiple:$t,searchValue:Fo})})),Lt=()=>_a?(0,ke.Z)((rr||[]).map(tn=>String(tn)),pe,!0):pe.length===0;_r=le.createElement(le.Fragment,null,Pe(),le.createElement("div",{className:`${Pt}-dropdown-btns`},le.createElement(Ta.ZP,{type:"link",size:"small",disabled:Lt(),onClick:()=>Xr()},aa.filterReset),le.createElement(Ta.ZP,{type:"primary",size:"small",onClick:wo},aa.filterConfirm)))}Et.filterDropdown&&(_r=le.createElement(Wo.J,{selectable:void 0},_r));const Yr=()=>le.createElement(Fl,{className:`${Pt}-dropdown`},_r);let Zr;typeof Et.filterIcon=="function"?Zr=Et.filterIcon(Hr):Et.filterIcon?Zr=Et.filterIcon:Zr=le.createElement(Xn,null);const{direction:ce}=le.useContext(Vo.E_);return le.createElement("div",{className:`${Pt}-column`},le.createElement("span",{className:`${ot}-column-title`},ca),le.createElement(Rr.Z,{dropdownRender:Yr,trigger:["click"],open:nr,onOpenChange:Qr,getPopupContainer:Aa,placement:ce==="rtl"?"bottomLeft":"bottomRight"},le.createElement("span",{role:"button",tabIndex:-1,className:Ke()(`${Pt}-trigger`,{active:Hr}),onClick:pe=>{pe.stopPropagation()}},Zr)))}var El=Yu;function Ru(Ee,Ce,Qe){let ot=[];return(Ee||[]).forEach((Pt,Et)=>{var Ut;const Yt=we(Et,Qe);if(Pt.filters||"filterDropdown"in Pt||"onFilter"in Pt)if("filteredValue"in Pt){let $t=Pt.filteredValue;"filterDropdown"in Pt||($t=(Ut=$t==null?void 0:$t.map(String))!==null&&Ut!==void 0?Ut:$t),ot.push({column:Pt,key:uo(Pt,Yt),filteredKeys:$t,forceFiltered:Pt.filtered})}else ot.push({column:Pt,key:uo(Pt,Yt),filteredKeys:Ce&&Pt.defaultFilteredValue?Pt.defaultFilteredValue:void 0,forceFiltered:Pt.filtered});"children"in Pt&&(ot=[].concat((0,fa.Z)(ot),(0,fa.Z)(Ru(Pt.children,Ce,Yt))))}),ot}function Mu(Ee,Ce,Qe,ot,Pt,Et,Ut,Yt){return Qe.map(($t,Cn)=>{const pn=we(Cn,Yt),{filterMultiple:hn=!0,filterMode:qn,filterSearch:aa}=$t;let ca=$t;if(ca.filters||ca.filterDropdown){const Aa=uo(ca,pn),zt=ot.find(Xa=>{let{key:_a}=Xa;return Aa===_a});ca=Object.assign(Object.assign({},ca),{title:Xa=>le.createElement(El,{tablePrefixCls:Ee,prefixCls:`${Ee}-filter`,dropdownPrefixCls:Ce,column:ca,columnKey:Aa,filterState:zt,filterMultiple:hn,filterMode:qn,filterSearch:aa,triggerFilter:Et,locale:Pt,getPopupContainer:Ut},vn($t.title,Xa))})}return"children"in ca&&(ca=Object.assign(Object.assign({},ca),{children:Mu(Ee,Ce,ca.children,ot,Pt,Et,Ut,pn)})),ca})}function rl(Ee){const Ce={};return Ee.forEach(Qe=>{let{key:ot,filteredKeys:Pt,column:Et}=Qe;const{filters:Ut,filterDropdown:Yt}=Et;if(Yt)Ce[ot]=Pt||null;else if(Array.isArray(Pt)){const $t=tu(Ut);Ce[ot]=$t.filter(Cn=>Pt.includes(String(Cn)))}else Ce[ot]=null}),Ce}function ku(Ee,Ce){return Ce.reduce((Qe,ot)=>{const{column:{onFilter:Pt,filters:Et},filteredKeys:Ut}=ot;return Pt&&Ut&&Ut.length?Qe.filter(Yt=>Ut.some($t=>{const Cn=tu(Et),pn=Cn.findIndex(qn=>String(qn)===String($t)),hn=pn!==-1?Cn[pn]:$t;return Pt(hn,Yt)})):Qe},Ee)}const nu=Ee=>Ee.flatMap(Ce=>"children"in Ce?[Ce].concat((0,fa.Z)(nu(Ce.children||[]))):[Ce]);function Ju(Ee){let{prefixCls:Ce,dropdownPrefixCls:Qe,mergedColumns:ot,onFilterChange:Pt,getPopupContainer:Et,locale:Ut}=Ee;const Yt=le.useMemo(()=>nu(ot||[]),[ot]),[$t,Cn]=le.useState(()=>Ru(Yt,!0)),pn=le.useMemo(()=>{const ca=Ru(Yt,!1);if(ca.length===0)return ca;let Aa=!0,zt=!0;if(ca.forEach(Xa=>{let{filteredKeys:_a}=Xa;_a!==void 0?Aa=!1:zt=!1}),Aa){const Xa=(Yt||[]).map((_a,rr)=>uo(_a,we(rr)));return $t.filter(_a=>{let{key:rr}=_a;return Xa.includes(rr)}).map(_a=>{const rr=Yt[Xa.findIndex(Tr=>Tr===_a.key)];return Object.assign(Object.assign({},_a),{column:Object.assign(Object.assign({},_a.column),rr),forceFiltered:rr.filtered})})}return ca},[Yt,$t]),hn=le.useMemo(()=>rl(pn),[pn]),qn=ca=>{const Aa=pn.filter(zt=>{let{key:Xa}=zt;return Xa!==ca.key});Aa.push(ca),Cn(Aa),Pt(rl(Aa),Aa)};return[ca=>Mu(Ce,Qe,ca,pn,Ut,qn,Et),pn,hn]}var bu=Ju;function Tu(Ee,Ce,Qe){const ot=le.useRef({});function Pt(Et){if(!ot.current||ot.current.data!==Ee||ot.current.childrenColumnName!==Ce||ot.current.getRowKey!==Qe){let Yt=function($t){$t.forEach((Cn,pn)=>{const hn=Qe(Cn,pn);Ut.set(hn,Cn),Cn&&typeof Cn=="object"&&Ce in Cn&&Yt(Cn[Ce]||[])})};const Ut=new Map;Yt(Ee),ot.current={data:Ee,childrenColumnName:Ce,kvMap:Ut,getRowKey:Qe}}return ot.current.kvMap.get(Et)}return[Pt]}var Xu=ee(50371),_u=function(Ee,Ce){var Qe={};for(var ot in Ee)Object.prototype.hasOwnProperty.call(Ee,ot)&&Ce.indexOf(ot)<0&&(Qe[ot]=Ee[ot]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,ot=Object.getOwnPropertySymbols(Ee);Pt<ot.length;Pt++)Ce.indexOf(ot[Pt])<0&&Object.prototype.propertyIsEnumerable.call(Ee,ot[Pt])&&(Qe[ot[Pt]]=Ee[ot[Pt]]);return Qe};const Cl=10;function Wi(Ee,Ce){const Qe={current:Ee.current,pageSize:Ee.pageSize};return Object.keys(Ce&&typeof Ce=="object"?Ce:{}).forEach(Pt=>{const Et=Ee[Pt];typeof Et!="function"&&(Qe[Pt]=Et)}),Qe}function Zu(Ee,Ce,Qe){const ot=Qe&&typeof Qe=="object"?Qe:{},{total:Pt=0}=ot,Et=_u(ot,["total"]),[Ut,Yt]=(0,le.useState)(()=>({current:"defaultCurrent"in Et?Et.defaultCurrent:1,pageSize:"defaultPageSize"in Et?Et.defaultPageSize:Cl})),$t=(0,Xu.Z)(Ut,Et,{total:Pt>0?Pt:Ee}),Cn=Math.ceil((Pt||Ee)/$t.pageSize);$t.current>Cn&&($t.current=Cn||1);const pn=(qn,aa)=>{Yt({current:qn!=null?qn:1,pageSize:aa||$t.pageSize})},hn=(qn,aa)=>{var ca;Qe&&((ca=Qe.onChange)===null||ca===void 0||ca.call(Qe,qn,aa)),pn(qn,aa),Ce(qn,aa||($t==null?void 0:$t.pageSize))};return Qe===!1?[{},()=>{}]:[Object.assign(Object.assign({},$t),{onChange:hn}),pn]}var fs=Zu,au=ee(84105),Di=ee(35654),Cu=ee(90782),Hu=ee(71430),rs=ee(18929);const Ol={},zu="SELECT_ALL",xu="SELECT_INVERT",Fu="SELECT_NONE",Bl=[],Hl=(Ee,Ce)=>{let Qe=[];return(Ce||[]).forEach(ot=>{Qe.push(ot),ot&&typeof ot=="object"&&Ee in ot&&(Qe=[].concat((0,fa.Z)(Qe),(0,fa.Z)(Hl(Ee,ot[Ee]))))}),Qe};var qu=(Ee,Ce)=>{const{preserveSelectedRowKeys:Qe,selectedRowKeys:ot,defaultSelectedRowKeys:Pt,getCheckboxProps:Et,onChange:Ut,onSelect:Yt,onSelectAll:$t,onSelectInvert:Cn,onSelectNone:pn,onSelectMultiple:hn,columnWidth:qn,type:aa,selections:ca,fixed:Aa,renderCell:zt,hideSelectAll:Xa,checkStrictly:_a=!0}=Ce||{},{prefixCls:rr,data:Tr,pageData:Ur,getRecordByKey:wr,getRowKey:Gr,expandType:Hr,childrenColumnName:tr,locale:nr,getPopupContainer:fr}=Ee,[Wa,or]=(0,rs.Z)(ot||Pt||Bl,{value:ot}),Kr=le.useRef(new Map),Po=(0,le.useCallback)(to=>{if(Qe){const _r=new Map;to.forEach(Yr=>{let Zr=wr(Yr);!Zr&&Kr.current.has(Yr)&&(Zr=Kr.current.get(Yr)),_r.set(Yr,Zr)}),Kr.current=_r}},[wr,Qe]);le.useEffect(()=>{Po(Wa)},[Wa]);const{keyEntities:lo}=(0,le.useMemo)(()=>{if(_a)return{keyEntities:null};let to=Tr;if(Qe){const _r=new Set(Tr.map((Zr,ce)=>Gr(Zr,ce))),Yr=Array.from(Kr.current).reduce((Zr,ce)=>{let[pe,Pe]=ce;return _r.has(pe)?Zr:Zr.concat(Pe)},[]);to=[].concat((0,fa.Z)(to),(0,fa.Z)(Yr))}return(0,Hu.I8)(to,{externalGetKey:Gr,childrenPropName:tr})},[Tr,Gr,_a,tr,Qe]),Mr=(0,le.useMemo)(()=>Hl(tr,Ur),[tr,Ur]),fo=(0,le.useMemo)(()=>{const to=new Map;return Mr.forEach((_r,Yr)=>{const Zr=Gr(_r,Yr),ce=(Et?Et(_r):null)||{};to.set(Zr,ce)}),to},[Mr,Gr,Et]),Fo=(0,le.useCallback)(to=>{var _r;return!!(!((_r=fo.get(Gr(to)))===null||_r===void 0)&&_r.disabled)},[fo,Gr]),[Ra,Bo]=(0,le.useMemo)(()=>{if(_a)return[Wa||[],[]];const{checkedKeys:to,halfCheckedKeys:_r}=(0,Cu.S)(Wa,!0,lo,Fo);return[to||[],_r]},[Wa,_a,lo,Fo]),Ci=(0,le.useMemo)(()=>{const to=aa==="radio"?Ra.slice(0,1):Ra;return new Set(to)},[Ra,aa]),wo=(0,le.useMemo)(()=>aa==="radio"?new Set:new Set(Bo),[Bo,aa]),[Xr,xi]=(0,le.useState)(null);le.useEffect(()=>{Ce||or(Bl)},[!!Ce]);const Qr=(0,le.useCallback)((to,_r)=>{let Yr,Zr;Po(to),Qe?(Yr=to,Zr=to.map(ce=>Kr.current.get(ce))):(Yr=[],Zr=[],to.forEach(ce=>{const pe=wr(ce);pe!==void 0&&(Yr.push(ce),Zr.push(pe))})),or(Yr),Ut==null||Ut(Yr,Zr,{type:_r})},[or,wr,Ut,Qe]),mi=(0,le.useCallback)((to,_r,Yr,Zr)=>{if(Yt){const ce=Yr.map(pe=>wr(pe));Yt(wr(to),_r,ce,Zr)}Qr(Yr,"single")},[Yt,wr,Qr]),_o=(0,le.useMemo)(()=>!ca||Xa?null:(ca===!0?[zu,xu,Fu]:ca).map(_r=>_r===zu?{key:"all",text:nr.selectionAll,onSelect(){Qr(Tr.map((Yr,Zr)=>Gr(Yr,Zr)).filter(Yr=>{const Zr=fo.get(Yr);return!(Zr!=null&&Zr.disabled)||Ci.has(Yr)}),"all")}}:_r===xu?{key:"invert",text:nr.selectInvert,onSelect(){const Yr=new Set(Ci);Ur.forEach((ce,pe)=>{const Pe=Gr(ce,pe),Lt=fo.get(Pe);Lt!=null&&Lt.disabled||(Yr.has(Pe)?Yr.delete(Pe):Yr.add(Pe))});const Zr=Array.from(Yr);Cn&&Cn(Zr),Qr(Zr,"invert")}}:_r===Fu?{key:"none",text:nr.selectNone,onSelect(){pn==null||pn(),Qr(Array.from(Ci).filter(Yr=>{const Zr=fo.get(Yr);return Zr==null?void 0:Zr.disabled}),"none")}}:_r).map(_r=>Object.assign(Object.assign({},_r),{onSelect:function(){for(var Yr,Zr,ce=arguments.length,pe=new Array(ce),Pe=0;Pe<ce;Pe++)pe[Pe]=arguments[Pe];(Zr=_r.onSelect)===null||Zr===void 0||(Yr=Zr).call.apply(Yr,[_r].concat(pe)),xi(null)}})),[ca,Ci,Ur,Gr,Cn,Qr]);return[(0,le.useCallback)(to=>{var _r;if(!Ce)return to.filter(In=>In!==Ol);let Yr=(0,fa.Z)(to);const Zr=new Set(Ci),ce=Mr.map(Gr).filter(In=>!fo.get(In).disabled),pe=ce.every(In=>Zr.has(In)),Pe=ce.some(In=>Zr.has(In)),Lt=()=>{const In=[];pe?ce.forEach(zn=>{Zr.delete(zn),In.push(zn)}):ce.forEach(zn=>{Zr.has(zn)||(Zr.add(zn),In.push(zn))});const oa=Array.from(Zr);$t==null||$t(!pe,oa.map(zn=>wr(zn)),In.map(zn=>wr(zn))),Qr(oa,"all"),xi(null)};let tn;if(aa!=="radio"){let In;if(_o){const ia={getPopupContainer:fr,items:_o.map((Ka,Pn)=>{const{key:ya,text:ja,onSelect:qr}=Ka;return{key:ya!=null?ya:Pn,onClick:()=>{qr==null||qr(ce)},label:ja}})};In=le.createElement("div",{className:`${rr}-selection-extra`},le.createElement(Rr.Z,{menu:ia,getPopupContainer:fr},le.createElement("span",null,le.createElement(au.Z,null))))}const oa=Mr.map((ia,Ka)=>{const Pn=Gr(ia,Ka),ya=fo.get(Pn)||{};return Object.assign({checked:Zr.has(Pn)},ya)}).filter(ia=>{let{disabled:Ka}=ia;return Ka}),zn=!!oa.length&&oa.length===Mr.length,ba=zn&&oa.every(ia=>{let{checked:Ka}=ia;return Ka}),ta=zn&&oa.some(ia=>{let{checked:Ka}=ia;return Ka});tn=!Xa&&le.createElement("div",{className:`${rr}-selection`},le.createElement(Ja.default,{checked:zn?ba:!!Mr.length&&pe,indeterminate:zn?!ba&&ta:!pe&&Pe,onChange:Lt,disabled:Mr.length===0||zn,"aria-label":In?"Custom selection":"Select all",skipGroup:!0}),In)}let wa;aa==="radio"?wa=(In,oa,zn)=>{const ba=Gr(oa,zn),ta=Zr.has(ba);return{node:le.createElement(_i.ZP,Object.assign({},fo.get(ba),{checked:ta,onClick:ia=>ia.stopPropagation(),onChange:ia=>{Zr.has(ba)||mi(ba,!0,[ba],ia.nativeEvent)}})),checked:ta}}:wa=(In,oa,zn)=>{var ba;const ta=Gr(oa,zn),ia=Zr.has(ta),Ka=wo.has(ta),Pn=fo.get(ta);let ya;return Hr==="nest"?ya=Ka:ya=(ba=Pn==null?void 0:Pn.indeterminate)!==null&&ba!==void 0?ba:Ka,{node:le.createElement(Ja.default,Object.assign({},Pn,{indeterminate:ya,checked:ia,skipGroup:!0,onClick:ja=>ja.stopPropagation(),onChange:ja=>{let{nativeEvent:qr}=ja;const{shiftKey:cr}=qr;let li=-1,Za=-1;if(cr&&_a){const Co=new Set([Xr,ta]);ce.some((Dr,ao)=>{if(Co.has(Dr))if(li===-1)li=ao;else return Za=ao,!0;return!1})}if(Za!==-1&&li!==Za&&_a){const Co=ce.slice(li,Za+1),Dr=[];ia?Co.forEach(So=>{Zr.has(So)&&(Dr.push(So),Zr.delete(So))}):Co.forEach(So=>{Zr.has(So)||(Dr.push(So),Zr.add(So))});const ao=Array.from(Zr);hn==null||hn(!ia,ao.map(So=>wr(So)),Dr.map(So=>wr(So))),Qr(ao,"multiple")}else{const Co=Ra;if(_a){const Dr=ia?(0,Di._5)(Co,ta):(0,Di.L0)(Co,ta);mi(ta,!ia,Dr,qr)}else{const Dr=(0,Cu.S)([].concat((0,fa.Z)(Co),[ta]),!0,lo,Fo),{checkedKeys:ao,halfCheckedKeys:So}=Dr;let Ei=ao;if(ia){const fi=new Set(ao);fi.delete(ta),Ei=(0,Cu.S)(Array.from(fi),{checked:!1,halfCheckedKeys:So},lo,Fo).checkedKeys}mi(ta,!ia,Ei,qr)}}xi(ia?null:ta)}})),checked:ia}};const ma=(In,oa,zn)=>{const{node:ba,checked:ta}=wa(In,oa,zn);return zt?zt(ta,oa,zn,ba):ba};if(!Yr.includes(Ol))if(Yr.findIndex(In=>{var oa;return((oa=In[va])===null||oa===void 0?void 0:oa.columnType)==="EXPAND_COLUMN"})===0){const[In,...oa]=Yr;Yr=[In,Ol].concat((0,fa.Z)(oa))}else Yr=[Ol].concat((0,fa.Z)(Yr));const Hn=Yr.indexOf(Ol);Yr=Yr.filter((In,oa)=>In!==Ol||oa===Hn);const jt=Yr[Hn-1],Yn=Yr[Hn+1];let xn=Aa;xn===void 0&&((Yn==null?void 0:Yn.fixed)!==void 0?xn=Yn.fixed:(jt==null?void 0:jt.fixed)!==void 0&&(xn=jt.fixed)),xn&&jt&&((_r=jt[va])===null||_r===void 0?void 0:_r.columnType)==="EXPAND_COLUMN"&&jt.fixed===void 0&&(jt.fixed=xn);const Ct=Ke()(`${rr}-selection-col`,{[`${rr}-selection-col-with-dropdown`]:ca&&aa==="checkbox"}),mn={fixed:xn,width:qn,className:`${rr}-selection-column`,title:Ce.columnTitle||tn,render:ma,onCell:Ce.onCell,[va]:{className:Ct}};return Yr.map(In=>In===Ol?mn:In)},[Gr,Mr,Ce,Ra,Ci,wo,qn,_o,Hr,Xr,fo,hn,mi,Fo]),Ci]},ju=ee(89489),Ar=ee(59477),Bu=ee(6848);const Yl="ascend",zl="descend";function qa(Ee){return typeof Ee.sorter=="object"&&typeof Ee.sorter.multiple=="number"?Ee.sorter.multiple:!1}function du(Ee){return typeof Ee=="function"?Ee:Ee&&typeof Ee=="object"&&Ee.compare?Ee.compare:!1}function es(Ee,Ce){return Ce?Ee[Ee.indexOf(Ce)+1]:Ee[0]}function is(Ee,Ce,Qe){let ot=[];function Pt(Et,Ut){ot.push({column:Et,key:uo(Et,Ut),multiplePriority:qa(Et),sortOrder:Et.sortOrder})}return(Ee||[]).forEach((Et,Ut)=>{const Yt=we(Ut,Qe);Et.children?("sortOrder"in Et&&Pt(Et,Yt),ot=[].concat((0,fa.Z)(ot),(0,fa.Z)(is(Et.children,Ce,Yt)))):Et.sorter&&("sortOrder"in Et?Pt(Et,Yt):Ce&&Et.defaultSortOrder&&ot.push({column:Et,key:uo(Et,Yt),multiplePriority:qa(Et),sortOrder:Et.defaultSortOrder}))}),ot}function wu(Ee,Ce,Qe,ot,Pt,Et,Ut,Yt){return(Ce||[]).map(($t,Cn)=>{const pn=we(Cn,Yt);let hn=$t;if(hn.sorter){const qn=hn.sortDirections||Pt,aa=hn.showSorterTooltip===void 0?Ut:hn.showSorterTooltip,ca=uo(hn,pn),Aa=Qe.find(Hr=>{let{key:tr}=Hr;return tr===ca}),zt=Aa?Aa.sortOrder:null,Xa=es(qn,zt);let _a;if($t.sortIcon)_a=$t.sortIcon({sortOrder:zt});else{const Hr=qn.includes(Yl)&&le.createElement(Ar.Z,{className:Ke()(`${Ee}-column-sorter-up`,{active:zt===Yl})}),tr=qn.includes(zl)&&le.createElement(ju.Z,{className:Ke()(`${Ee}-column-sorter-down`,{active:zt===zl})});_a=le.createElement("span",{className:Ke()(`${Ee}-column-sorter`,{[`${Ee}-column-sorter-full`]:!!(Hr&&tr)})},le.createElement("span",{className:`${Ee}-column-sorter-inner`,"aria-hidden":"true"},Hr,tr))}const{cancelSort:rr,triggerAsc:Tr,triggerDesc:Ur}=Et||{};let wr=rr;Xa===zl?wr=Ur:Xa===Yl&&(wr=Tr);const Gr=typeof aa=="object"?aa:{title:wr};hn=Object.assign(Object.assign({},hn),{className:Ke()(hn.className,{[`${Ee}-column-sort`]:zt}),title:Hr=>{const tr=le.createElement("div",{className:`${Ee}-column-sorters`},le.createElement("span",{className:`${Ee}-column-title`},vn($t.title,Hr)),_a);return aa?le.createElement(Bu.Z,Object.assign({},Gr),tr):tr},onHeaderCell:Hr=>{const tr=$t.onHeaderCell&&$t.onHeaderCell(Hr)||{},nr=tr.onClick,fr=tr.onKeyDown;tr.onClick=Kr=>{ot({column:$t,key:ca,sortOrder:Xa,multiplePriority:qa($t)}),nr==null||nr(Kr)},tr.onKeyDown=Kr=>{Kr.keyCode===bl.Z.ENTER&&(ot({column:$t,key:ca,sortOrder:Xa,multiplePriority:qa($t)}),fr==null||fr(Kr))};const Wa=Mn($t.title,{}),or=Wa==null?void 0:Wa.toString();return zt?tr["aria-sort"]=zt==="ascend"?"ascending":"descending":tr["aria-label"]=or||"",tr.className=Ke()(tr.className,`${Ee}-column-has-sorters`),tr.tabIndex=0,$t.ellipsis&&(tr.title=(Wa!=null?Wa:"").toString()),tr}})}return"children"in hn&&(hn=Object.assign(Object.assign({},hn),{children:wu(Ee,hn.children,Qe,ot,Pt,Et,Ut,pn)})),hn})}function ts(Ee){const{column:Ce,sortOrder:Qe}=Ee;return{column:Ce,order:Qe,field:Ce.dataIndex,columnKey:Ce.key}}function cu(Ee){const Ce=Ee.filter(Qe=>{let{sortOrder:ot}=Qe;return ot}).map(ts);return Ce.length===0&&Ee.length?Object.assign(Object.assign({},ts(Ee[Ee.length-1])),{column:void 0}):Ce.length<=1?Ce[0]||{}:Ce}function Yi(Ee,Ce,Qe){const ot=Ce.slice().sort((Ut,Yt)=>Yt.multiplePriority-Ut.multiplePriority),Pt=Ee.slice(),Et=ot.filter(Ut=>{let{column:{sorter:Yt},sortOrder:$t}=Ut;return du(Yt)&&$t});return Et.length?Pt.sort((Ut,Yt)=>{for(let $t=0;$t<Et.length;$t+=1){const Cn=Et[$t],{column:{sorter:pn},sortOrder:hn}=Cn,qn=du(pn);if(qn&&hn){const aa=qn(Ut,Yt,hn);if(aa!==0)return hn===Yl?aa:-aa}}return 0}).map(Ut=>{const Yt=Ut[Qe];return Yt?Object.assign(Object.assign({},Ut),{[Qe]:Yi(Yt,Ce,Qe)}):Ut}):Pt}function ls(Ee){let{prefixCls:Ce,mergedColumns:Qe,onSorterChange:ot,sortDirections:Pt,tableLocale:Et,showSorterTooltip:Ut}=Ee;const[Yt,$t]=le.useState(is(Qe,!0)),Cn=le.useMemo(()=>{let ca=!0;const Aa=is(Qe,!1);if(!Aa.length)return Yt;const zt=[];function Xa(rr){ca?zt.push(rr):zt.push(Object.assign(Object.assign({},rr),{sortOrder:null}))}let _a=null;return Aa.forEach(rr=>{_a===null?(Xa(rr),rr.sortOrder&&(rr.multiplePriority===!1?ca=!1:_a=!0)):(_a&&rr.multiplePriority!==!1||(ca=!1),Xa(rr))}),zt},[Qe,Yt]),pn=le.useMemo(()=>{const ca=Cn.map(Aa=>{let{column:zt,sortOrder:Xa}=Aa;return{column:zt,order:Xa}});return{sortColumns:ca,sortColumn:ca[0]&&ca[0].column,sortOrder:ca[0]&&ca[0].order}},[Cn]);function hn(ca){let Aa;ca.multiplePriority===!1||!Cn.length||Cn[0].multiplePriority===!1?Aa=[ca]:Aa=[].concat((0,fa.Z)(Cn.filter(zt=>{let{key:Xa}=zt;return Xa!==ca.key})),[ca]),$t(Aa),ot(cu(Aa),Aa)}return[ca=>wu(Ce,ca,Cn,hn,Pt,Et,Ut),Cn,pn,()=>cu(Cn)]}function us(Ee,Ce){return Ee.map(Qe=>{const ot=Object.assign({},Qe);return ot.title=vn(Qe.title,Ce),"children"in ot&&(ot.children=us(ot.children,Ce)),ot})}function ss(Ee){return[le.useCallback(Qe=>us(Qe,Ee),[Ee])]}var Gu=Or((Ee,Ce)=>{const{_renderTimes:Qe}=Ee,{_renderTimes:ot}=Ce;return Qe!==ot}),Jl=ri((Ee,Ce)=>{const{_renderTimes:Qe}=Ee,{_renderTimes:ot}=Ce;return Qe!==ot}),Xl=ee(64993),ru=ee(17313),fu=ee(83116),Wu=ee(37613),Se=Ee=>{const{componentCls:Ce}=Ee,Qe=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`,ot=(Pt,Et,Ut)=>({[`&${Ce}-${Pt}`]:{[`> ${Ce}-container`]:{[`> ${Ce}-content, > ${Ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ce}-expanded-row-fixed`]:{margin:`-${Et}px -${Ut+Ee.lineWidth}px`}}}}}});return{[`${Ce}-wrapper`]:{[`${Ce}${Ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ce}-title`]:{border:Qe,borderBottom:0},[`> ${Ce}-container`]:{borderInlineStart:Qe,borderTop:Qe,[`
> ${Ce}-content,
> ${Ce}-header,
> ${Ce}-body,
> ${Ce}-summary
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:Qe},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Qe},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ce}-cell-fix-right-first::after`]:{borderInlineEnd:Qe}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ce}-expanded-row-fixed`]:{margin:`-${Ee.tablePaddingVertical}px -${Ee.tablePaddingHorizontal+Ee.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ee.lineWidth,bottom:0,borderInlineEnd:Qe,content:'""'}}}}}},[`&${Ce}-scroll-horizontal`]:{[`> ${Ce}-container > ${Ce}-body`]:{"> table > tbody":{[`
> tr${Ce}-expanded-row,
> tr${Ce}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},ot("middle",Ee.tablePaddingVerticalMiddle,Ee.tablePaddingHorizontalMiddle)),ot("small",Ee.tablePaddingVerticalSmall,Ee.tablePaddingHorizontalSmall)),{[`> ${Ce}-footer`]:{border:Qe,borderTop:0}}),[`${Ce}-cell`]:{[`${Ce}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ee.lineWidth}px 0 ${Ee.lineWidth}px ${Ee.tableHeaderBg}`}},[`${Ce}-bordered ${Ce}-cell-scrollbar`]:{borderInlineEnd:Qe}}}},tt=Ee=>{const{componentCls:Ce}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-cell-ellipsis`]:Object.assign(Object.assign({},ru.vS),{wordBreak:"keep-all",[`
&${Ce}-cell-fix-left-last,
&${Ce}-cell-fix-right-first
`]:{overflow:"visible",[`${Ce}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ce}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},qt=Ee=>{const{componentCls:Ce}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody > tr${Ce}-placeholder`]:{textAlign:"center",color:Ee.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ee.colorBgContainer}}}}},Kt=ee(15969),Tn=Ee=>{const{componentCls:Ce,antCls:Qe,controlInteractiveSize:ot,motionDurationSlow:Pt,lineWidth:Et,paddingXS:Ut,lineType:Yt,tableBorderColor:$t,tableExpandIconBg:Cn,tableExpandColumnWidth:pn,borderRadius:hn,fontSize:qn,fontSizeSM:aa,lineHeight:ca,tablePaddingVertical:Aa,tablePaddingHorizontal:zt,tableExpandedRowBg:Xa,paddingXXS:_a}=Ee,rr=ot/2-Et,Tr=rr*2+Et*3,Ur=`${Et}px ${Yt} ${$t}`,wr=_a-Et;return{[`${Ce}-wrapper`]:{[`${Ce}-expand-icon-col`]:{width:pn},[`${Ce}-row-expand-icon-cell`]:{textAlign:"center",[`${Ce}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ce}-row-indent`]:{height:1,float:"left"},[`${Ce}-row-expand-icon`]:Object.assign(Object.assign({},(0,Kt.N)(Ee)),{position:"relative",float:"left",boxSizing:"border-box",width:Tr,height:Tr,padding:0,color:"inherit",lineHeight:`${Tr}px`,background:Cn,border:Ur,borderRadius:hn,transform:`scale(${ot/Tr})`,transition:`all ${Pt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Pt} ease-out`,content:'""'},"&::before":{top:rr,insetInlineEnd:wr,insetInlineStart:wr,height:Et},"&::after":{top:wr,bottom:wr,insetInlineStart:rr,width:Et,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Ce}-row-indent + ${Ce}-row-expand-icon`]:{marginTop:(qn*ca-Et*3)/2-Math.ceil((aa*1.4-Et*3)/2),marginInlineEnd:Ut},[`tr${Ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Xa}},[`${Qe}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ce}-expanded-row-fixed`]:{position:"relative",margin:`-${Aa}px -${zt}px`,padding:`${Aa}px ${zt}px`}}}},Ca=Ee=>{const{componentCls:Ce,antCls:Qe,iconCls:ot,tableFilterDropdownWidth:Pt,tableFilterDropdownSearchWidth:Et,paddingXXS:Ut,paddingXS:Yt,colorText:$t,lineWidth:Cn,lineType:pn,tableBorderColor:hn,tableHeaderIconColor:qn,fontSizeSM:aa,tablePaddingHorizontal:ca,borderRadius:Aa,motionDurationSlow:zt,colorTextDescription:Xa,colorPrimary:_a,tableHeaderFilterActiveBg:rr,colorTextDisabled:Tr,tableFilterDropdownBg:Ur,tableFilterDropdownHeight:wr,controlItemBgHover:Gr,controlItemBgActive:Hr,boxShadowSecondary:tr,filterDropdownMenuBg:nr}=Ee,fr=`${Qe}-dropdown`,Wa=`${Ce}-filter-dropdown`,or=`${Qe}-tree`,Kr=`${Cn}px ${pn} ${hn}`;return[{[`${Ce}-wrapper`]:{[`${Ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Ut,marginInline:`${Ut}px ${-ca/2}px`,padding:`0 ${Ut}px`,color:qn,fontSize:aa,borderRadius:Aa,cursor:"pointer",transition:`all ${zt}`,"&:hover":{color:Xa,background:rr},"&.active":{color:_a}}}},{[`${Qe}-dropdown`]:{[Wa]:Object.assign(Object.assign({},(0,ru.Wf)(Ee)),{minWidth:Pt,backgroundColor:Ur,borderRadius:Aa,boxShadow:tr,overflow:"hidden",[`${fr}-menu`]:{maxHeight:wr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:nr,"&:empty::after":{display:"block",padding:`${Yt}px 0`,color:Tr,fontSize:aa,textAlign:"center",content:'"Not Found"'}},[`${Wa}-tree`]:{paddingBlock:`${Yt}px 0`,paddingInline:Yt,[or]:{padding:0},[`${or}-treenode ${or}-node-content-wrapper:hover`]:{backgroundColor:Gr},[`${or}-treenode-checkbox-checked ${or}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Hr}}},[`${Wa}-search`]:{padding:Yt,borderBottom:Kr,"&-input":{input:{minWidth:Et},[ot]:{color:Tr}}},[`${Wa}-checkall`]:{width:"100%",marginBottom:Ut,marginInlineStart:Ut},[`${Wa}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Yt-Cn}px ${Yt}px`,overflow:"hidden",borderTop:Kr}})}},{[`${Qe}-dropdown ${Wa}, ${Wa}-submenu`]:{[`${Qe}-checkbox-wrapper + span`]:{paddingInlineStart:Yt,color:$t},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},fn=Ee=>{const{componentCls:Ce,lineWidth:Qe,colorSplit:ot,motionDurationSlow:Pt,zIndexTableFixed:Et,tableBg:Ut,zIndexTableSticky:Yt}=Ee,$t=ot;return{[`${Ce}-wrapper`]:{[`
${Ce}-cell-fix-left,
${Ce}-cell-fix-right
`]:{position:"sticky !important",zIndex:Et,background:Ut},[`
${Ce}-cell-fix-left-first::after,
${Ce}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Qe,width:30,transform:"translateX(100%)",transition:`box-shadow ${Pt}`,content:'""',pointerEvents:"none"},[`${Ce}-cell-fix-left-all::after`]:{display:"none"},[`
${Ce}-cell-fix-right-first::after,
${Ce}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-Qe,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Pt}`,content:'""',pointerEvents:"none"},[`${Ce}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Yt+1,width:30,transition:`box-shadow ${Pt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ce}-ping-left`]:{[`&:not(${Ce}-has-fix-left) ${Ce}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${$t}`}},[`
${Ce}-cell-fix-left-first::after,
${Ce}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${$t}`},[`${Ce}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ce}-ping-right`]:{[`&:not(${Ce}-has-fix-right) ${Ce}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${$t}`}},[`
${Ce}-cell-fix-right-first::after,
${Ce}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${$t}`}}}}},Ia=Ee=>{const{componentCls:Ce,antCls:Qe}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-pagination${Qe}-pagination`]:{margin:`${Ee.margin}px 0`},[`${Ce}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ee.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},sa=Ee=>{const{componentCls:Ce,tableRadius:Qe}=Ee;return{[`${Ce}-wrapper`]:{[Ce]:{[`${Ce}-title, ${Ce}-header`]:{borderRadius:`${Qe}px ${Qe}px 0 0`},[`${Ce}-title + ${Ce}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ce}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:Qe,borderStartEndRadius:Qe,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Qe},"> *:last-child":{borderStartEndRadius:Qe}}},"&-footer":{borderRadius:`0 0 ${Qe}px ${Qe}px`}}}}},Fr=Ee=>{const{componentCls:Ce}=Ee;return{[`${Ce}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ce}-pagination-left`]:{justifyContent:"flex-end"},[`${Ce}-pagination-right`]:{justifyContent:"flex-start"},[`${Ce}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ce}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ce}-row-indent`]:{float:"right"}}}}},Br=Ee=>{const{componentCls:Ce,antCls:Qe,iconCls:ot,fontSizeIcon:Pt,padding:Et,paddingXS:Ut,tableHeaderIconColor:Yt,tableHeaderIconColorHover:$t,tableSelectionColumnWidth:Cn}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-selection-col`]:{width:Cn,[`&${Ce}-selection-col-with-dropdown`]:{width:Cn+Pt+Et/4}},[`${Ce}-bordered ${Ce}-selection-col`]:{width:Cn+Ut*2,[`&${Ce}-selection-col-with-dropdown`]:{width:Cn+Pt+Et/4+Ut*2}},[`
table tr th${Ce}-selection-column,
table tr td${Ce}-selection-column
`]:{paddingInlineEnd:Ee.paddingXS,paddingInlineStart:Ee.paddingXS,textAlign:"center",[`${Qe}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ce}-selection-column${Ce}-cell-fix-left`]:{zIndex:Ee.zIndexTableFixed+1},[`table tr th${Ce}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ce}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ce}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ee.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ee.tablePaddingHorizontal/4}px`,[ot]:{color:Yt,fontSize:Pt,verticalAlign:"baseline","&:hover":{color:$t}}}}}},Lr=Ee=>{const{componentCls:Ce}=Ee,Qe=(ot,Pt,Et,Ut)=>({[`${Ce}${Ce}-${ot}`]:{fontSize:Ut,[`
${Ce}-title,
${Ce}-footer,
${Ce}-cell,
${Ce}-thead > tr > th,
${Ce}-tbody > tr > th,
${Ce}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${Pt}px ${Et}px`},[`${Ce}-filter-trigger`]:{marginInlineEnd:`-${Et/2}px`},[`${Ce}-expanded-row-fixed`]:{margin:`-${Pt}px -${Et}px`},[`${Ce}-tbody`]:{[`${Ce}-wrapper:only-child ${Ce}`]:{marginBlock:`-${Pt}px`,marginInline:`${Ee.tableExpandColumnWidth-Et}px -${Et}px`}},[`${Ce}-selection-column`]:{paddingInlineStart:`${Et/4}px`}}});return{[`${Ce}-wrapper`]:Object.assign(Object.assign({},Qe("middle",Ee.tablePaddingVerticalMiddle,Ee.tablePaddingHorizontalMiddle,Ee.tableFontSizeMiddle)),Qe("small",Ee.tablePaddingVerticalSmall,Ee.tablePaddingHorizontalSmall,Ee.tableFontSizeSmall))}},Ko=Ee=>{const{componentCls:Ce,marginXXS:Qe,fontSizeIcon:ot,tableHeaderIconColor:Pt,tableHeaderIconColorHover:Et}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-thead th${Ce}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ee.motionDurationSlow}`,"&:hover":{background:Ee.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ee.colorPrimary},[`
&${Ce}-cell-fix-left:hover,
&${Ce}-cell-fix-right:hover
`]:{background:Ee.tableFixedHeaderSortActiveBg}},[`${Ce}-thead th${Ce}-column-sort`]:{background:Ee.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ce}-column-sort`]:{background:Ee.tableBodySortBg},[`${Ce}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Ce}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ce}-column-sorter`]:{marginInlineStart:Qe,color:Pt,fontSize:0,transition:`color ${Ee.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ot,"&.active":{color:Ee.colorPrimary}},[`${Ce}-column-sorter-up + ${Ce}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ce}-column-sorters:hover ${Ce}-column-sorter`]:{color:Et}}}},Ho=Ee=>{const{componentCls:Ce,opacityLoading:Qe,tableScrollThumbBg:ot,tableScrollThumbBgHover:Pt,tableScrollThumbSize:Et,tableScrollBg:Ut,zIndexTableSticky:Yt,stickyScrollBarBorderRadius:$t}=Ee,Cn=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`;return{[`${Ce}-wrapper`]:{[`${Ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:Yt,background:Ee.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Et}px !important`,zIndex:Yt,display:"flex",alignItems:"center",background:Ut,borderTop:Cn,opacity:Qe,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Et,backgroundColor:ot,borderRadius:$t,transition:`all ${Ee.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Pt}}}}}}},ii=Ee=>{const{componentCls:Ce,lineWidth:Qe,tableBorderColor:ot}=Ee,Pt=`${Qe}px ${Ee.lineType} ${ot}`;return{[`${Ce}-wrapper`]:{[`${Ce}-summary`]:{position:"relative",zIndex:Ee.zIndexTableFixed,background:Ee.tableBg,"> tr":{"> th, > td":{borderBottom:Pt}}},[`div${Ce}-summary`]:{boxShadow:`0 -${Qe}px 0 ${ot}`}}}},zi=Ee=>{const{componentCls:Ce}=Ee,Qe=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`,ot=`${Ce}-expanded-row-cell`;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody-virtual`]:{[`${Ce}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ce}-cell`]:{borderBottom:Qe},[`${Ce}-expanded-row`]:{[`${ot}${ot}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ee.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ce}-bordered`]:{[`${Ce}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Qe,position:"absolute"},[`${Ce}-cell`]:{borderInlineEnd:Qe,[`&${Ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ee.lineWidth,borderInlineStart:Qe}}}}}}};const oo=Ee=>{const{componentCls:Ce,fontWeightStrong:Qe,tablePaddingVertical:ot,tablePaddingHorizontal:Pt,lineWidth:Et,lineType:Ut,tableBorderColor:Yt,tableFontSize:$t,tableBg:Cn,tableRadius:pn,tableHeaderTextColor:hn,motionDurationMid:qn,tableHeaderBg:aa,tableHeaderCellSplitColor:ca,tableRowHoverBg:Aa,tableSelectedRowBg:zt,tableSelectedRowHoverBg:Xa,tableFooterTextColor:_a,tableFooterBg:rr,paddingContentVerticalLG:Tr}=Ee,Ur=`${Et}px ${Ut} ${Yt}`;return{[`${Ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ru.dF)()),{[Ce]:Object.assign(Object.assign({},(0,ru.Wf)(Ee)),{fontSize:$t,background:Cn,borderRadius:`${pn}px ${pn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${pn}px ${pn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${Ce}-cell,
${Ce}-thead > tr > th,
${Ce}-tbody > tr > th,
${Ce}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${Tr}px ${Pt}px`,overflowWrap:"break-word"},[`${Ce}-title`]:{padding:`${ot}px ${Pt}px`},[`${Ce}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:hn,fontWeight:Qe,textAlign:"start",background:aa,borderBottom:Ur,transition:`background ${qn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ce}-selection-column):not(${Ce}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:ca,transform:"translateY(-50%)",transition:`background-color ${qn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ce}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${qn}, border-color ${qn}`,borderBottom:Ur,[`
> ${Ce}-wrapper:only-child,
> ${Ce}-expanded-row-fixed > ${Ce}-wrapper:only-child
`]:{[Ce]:{marginBlock:`-${ot}px`,marginInline:`${Ee.tableExpandColumnWidth-Pt}px -${Pt}px`,[`${Ce}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:hn,fontWeight:Qe,textAlign:"start",background:aa,borderBottom:Ur,transition:`background ${qn} ease`},[`
&${Ce}-row:hover > th,
&${Ce}-row:hover > td,
> th${Ce}-cell-row-hover,
> td${Ce}-cell-row-hover
`]:{background:Aa},[`&${Ce}-row-selected`]:{"> th, > td":{background:zt},"&:hover > th, &:hover > td":{background:Xa}}}},[`${Ce}-footer`]:{padding:`${ot}px ${Pt}px`,color:_a,background:rr}})}};var Oo=(0,fu.Z)("Table",Ee=>{const{colorTextHeading:Ce,colorSplit:Qe,colorIcon:ot,colorIconHover:Pt,opacityLoading:Et,colorBgContainer:Ut,controlInteractiveSize:Yt,headerBg:$t,headerColor:Cn,headerSortActiveBg:pn,headerSortHoverBg:hn,bodySortBg:qn,rowHoverBg:aa,rowSelectedBg:ca,rowSelectedHoverBg:Aa,rowExpandedBg:zt,cellPaddingBlock:Xa,cellPaddingInline:_a,cellPaddingBlockMD:rr,cellPaddingInlineMD:Tr,cellPaddingBlockSM:Ur,cellPaddingInlineSM:wr,borderColor:Gr,footerBg:Hr,footerColor:tr,headerBorderRadius:nr,cellFontSize:fr,cellFontSizeMD:Wa,cellFontSizeSM:or,headerSplitColor:Kr,fixedHeaderSortActiveBg:Po,headerFilterHoverBg:lo,filterDropdownBg:Mr,expandIconBg:fo,selectionColumnWidth:Fo,stickyScrollBarBg:Ra}=Ee,Bo=new Xl.C(ot),Ci=new Xl.C(Pt),wo=2,Xr=(0,Wu.TS)(Ee,{tableFontSize:fr,tableBg:Ut,tableRadius:nr,tablePaddingVertical:Xa,tablePaddingHorizontal:_a,tablePaddingVerticalMiddle:rr,tablePaddingHorizontalMiddle:Tr,tablePaddingVerticalSmall:Ur,tablePaddingHorizontalSmall:wr,tableBorderColor:Gr,tableHeaderTextColor:Cn,tableHeaderBg:$t,tableFooterTextColor:tr,tableFooterBg:Hr,tableHeaderCellSplitColor:Kr,tableHeaderSortBg:pn,tableHeaderSortHoverBg:hn,tableHeaderIconColor:Bo.clone().setAlpha(Bo.getAlpha()*Et).toRgbString(),tableHeaderIconColorHover:Ci.clone().setAlpha(Ci.getAlpha()*Et).toRgbString(),tableBodySortBg:qn,tableFixedHeaderSortActiveBg:Po,tableHeaderFilterActiveBg:lo,tableFilterDropdownBg:Mr,tableRowHoverBg:aa,tableSelectedRowBg:ca,tableSelectedRowHoverBg:Aa,zIndexTableFixed:wo,zIndexTableSticky:wo+1,tableFontSizeMiddle:Wa,tableFontSizeSmall:or,tableSelectionColumnWidth:Fo,tableExpandIconBg:fo,tableExpandColumnWidth:Yt+2*Ee.padding,tableExpandedRowBg:zt,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ra,tableScrollThumbBgHover:Ce,tableScrollBg:Qe});return[oo(Xr),Ia(Xr),ii(Xr),Ko(Xr),Ca(Xr),Se(Xr),sa(Xr),Tn(Xr),ii(Xr),qt(Xr),Br(Xr),fn(Xr),Ho(Xr),tt(Xr),Lr(Xr),Fr(Xr),zi(Xr)]},Ee=>{const{colorFillAlter:Ce,colorBgContainer:Qe,colorTextHeading:ot,colorFillSecondary:Pt,colorFillContent:Et,controlItemBgActive:Ut,controlItemBgActiveHover:Yt,padding:$t,paddingSM:Cn,paddingXS:pn,colorBorderSecondary:hn,borderRadiusLG:qn,fontSize:aa,controlHeight:ca,colorTextPlaceholder:Aa}=Ee,zt=new Xl.C(Pt).onBackground(Qe).toHexShortString(),Xa=new Xl.C(Et).onBackground(Qe).toHexShortString(),_a=new Xl.C(Ce).onBackground(Qe).toHexShortString();return{headerBg:_a,headerColor:ot,headerSortActiveBg:zt,headerSortHoverBg:Xa,bodySortBg:_a,rowHoverBg:_a,rowSelectedBg:Ut,rowSelectedHoverBg:Yt,rowExpandedBg:Ce,cellPaddingBlock:$t,cellPaddingInline:$t,cellPaddingBlockMD:Cn,cellPaddingInlineMD:pn,cellPaddingBlockSM:pn,cellPaddingInlineSM:pn,borderColor:hn,headerBorderRadius:qn,footerBg:_a,footerColor:ot,cellFontSize:aa,cellFontSizeMD:aa,cellFontSizeSM:aa,headerSplitColor:hn,fixedHeaderSortActiveBg:zt,headerFilterHoverBg:Et,filterDropdownMenuBg:Qe,filterDropdownBg:Qe,expandIconBg:Qe,selectionColumnWidth:ca,stickyScrollBarBg:Aa,stickyScrollBarBorderRadius:100}});const To=[],Ai=(Ee,Ce)=>{const{prefixCls:Qe,className:ot,rootClassName:Pt,style:Et,size:Ut,bordered:Yt,dropdownPrefixCls:$t,dataSource:Cn,pagination:pn,rowSelection:hn,rowKey:qn="key",rowClassName:aa,columns:ca,children:Aa,childrenColumnName:zt,onChange:Xa,getPopupContainer:_a,loading:rr,expandIcon:Tr,expandable:Ur,expandedRowRender:wr,expandIconColumnIndex:Gr,indentSize:Hr,scroll:tr,sortDirections:nr,locale:fr,showSorterTooltip:Wa=!0,virtual:or}=Ee,Kr=le.useMemo(()=>ca||pt(Aa),[ca,Aa]),Po=le.useMemo(()=>Kr.some(ea=>ea.responsive),[Kr]),lo=(0,dl.Z)(Po),Mr=le.useMemo(()=>{const ea=new Set(Object.keys(lo).filter(xo=>lo[xo]));return Kr.filter(xo=>!xo.responsive||xo.responsive.some(Mi=>ea.has(Mi)))},[Kr,lo]),fo=(0,tl.Z)(Ee,["className","style","columns"]),{locale:Fo=ml.Z,direction:Ra,table:Bo,renderEmpty:Ci,getPrefixCls:wo,getPopupContainer:Xr}=le.useContext(Vo.E_),xi=(0,Vi.Z)(Ut),Qr=Object.assign(Object.assign({},Fo.Table),fr),mi=Cn||To,_o=wo("table",Qe),Zi=wo("dropdown",$t),to=Object.assign({childrenColumnName:zt,expandIconColumnIndex:Gr},Ur),{childrenColumnName:_r="children"}=to,Yr=le.useMemo(()=>mi.some(ea=>ea==null?void 0:ea[_r])?"nest":wr||Ur&&Ur.expandedRowRender?"row":null,[mi]),Zr={body:le.useRef()},ce=le.useMemo(()=>typeof qn=="function"?qn:ea=>ea==null?void 0:ea[qn],[qn]),[pe]=Tu(mi,_r,ce),Pe={},Lt=function(ea,xo){let Mi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Zo,Fi,ki;const oi=Object.assign(Object.assign({},Pe),ea);Mi&&((Zo=Pe.resetPagination)===null||Zo===void 0||Zo.call(Pe),!((Fi=oi.pagination)===null||Fi===void 0)&&Fi.current&&(oi.pagination.current=1),pn&&pn.onChange&&pn.onChange(1,(ki=oi.pagination)===null||ki===void 0?void 0:ki.pageSize)),tr&&tr.scrollToFirstRowOnChange!==!1&&Zr.body.current&&(0,nl.Z)(0,{getContainer:()=>Zr.body.current}),Xa==null||Xa(oi.pagination,oi.filters,oi.sorter,{currentDataSource:ku(Yi(mi,oi.sorterStates,_r),oi.filterStates),action:xo})},tn=(ea,xo)=>{Lt({sorter:ea,sorterStates:xo},"sort",!1)},[wa,ma,Hn,jt]=ls({prefixCls:_o,mergedColumns:Mr,onSorterChange:tn,sortDirections:nr||["ascend","descend"],tableLocale:Qr,showSorterTooltip:Wa}),Yn=le.useMemo(()=>Yi(mi,ma,_r),[mi,ma]);Pe.sorter=jt(),Pe.sorterStates=ma;const xn=(ea,xo)=>{Lt({filters:ea,filterStates:xo},"filter",!0)},[Ct,mn,In]=bu({prefixCls:_o,locale:Qr,dropdownPrefixCls:Zi,mergedColumns:Mr,onFilterChange:xn,getPopupContainer:_a||Xr}),oa=ku(Yn,mn);Pe.filters=In,Pe.filterStates=mn;const zn=le.useMemo(()=>{const ea={};return Object.keys(In).forEach(xo=>{In[xo]!==null&&(ea[xo]=In[xo])}),Object.assign(Object.assign({},Hn),{filters:ea})},[Hn,In]),[ba]=ss(zn),ta=(ea,xo)=>{Lt({pagination:Object.assign(Object.assign({},Pe.pagination),{current:ea,pageSize:xo})},"paginate")},[ia,Ka]=fs(oa.length,ta,pn);Pe.pagination=pn===!1?{}:Wi(ia,pn),Pe.resetPagination=Ka;const Pn=le.useMemo(()=>{if(pn===!1||!ia.pageSize)return oa;const{current:ea=1,total:xo,pageSize:Mi=Cl}=ia;return oa.length<xo?oa.length>Mi?oa.slice((ea-1)*Mi,ea*Mi):oa:oa.slice((ea-1)*Mi,ea*Mi)},[!!pn,oa,ia&&ia.current,ia&&ia.pageSize,ia&&ia.total]),[ya,ja]=qu({prefixCls:_o,data:oa,pageData:Pn,getRowKey:ce,getRecordByKey:pe,expandType:Yr,childrenColumnName:_r,locale:Qr,getPopupContainer:_a||Xr},hn),qr=(ea,xo,Mi)=>{let Zo;return typeof aa=="function"?Zo=Ke()(aa(ea,xo,Mi)):Zo=Ke()(aa),Ke()({[`${_o}-row-selected`]:ja.has(ce(ea,xo))},Zo)};to.__PARENT_RENDER_ICON__=to.expandIcon,to.expandIcon=to.expandIcon||Tr||Ya(Qr),Yr==="nest"&&to.expandIconColumnIndex===void 0?to.expandIconColumnIndex=hn?1:0:to.expandIconColumnIndex>0&&hn&&(to.expandIconColumnIndex-=1),typeof to.indentSize!="number"&&(to.indentSize=typeof Hr=="number"?Hr:15);const cr=le.useCallback(ea=>ba(ya(Ct(wa(ea)))),[wa,Ct,ya]);let li,Za;if(pn!==!1&&(ia!=null&&ia.total)){let ea;ia.size?ea=ia.size:ea=xi==="small"||xi==="middle"?"small":void 0;const xo=Fi=>le.createElement(yl.Z,Object.assign({},ia,{className:Ke()(`${_o}-pagination ${_o}-pagination-${Fi}`,ia.className),size:ea})),Mi=Ra==="rtl"?"left":"right",{position:Zo}=ia;if(Zo!==null&&Array.isArray(Zo)){const Fi=Zo.find(il=>il.includes("top")),ki=Zo.find(il=>il.includes("bottom")),oi=Zo.every(il=>`${il}`=="none");!Fi&&!ki&&!oi&&(Za=xo(Mi)),Fi&&(li=xo(Fi.toLowerCase().replace("top",""))),ki&&(Za=xo(ki.toLowerCase().replace("bottom","")))}else Za=xo(Mi)}let Co;typeof rr=="boolean"?Co={spinning:rr}:typeof rr=="object"&&(Co=Object.assign({spinning:!0},rr));const[Dr,ao]=Oo(_o),[,So]=(0,Qa.Z)(),Ei=Ke()(`${_o}-wrapper`,Bo==null?void 0:Bo.className,{[`${_o}-wrapper-rtl`]:Ra==="rtl"},ot,Pt,ao),fi=Object.assign(Object.assign({},Bo==null?void 0:Bo.style),Et),pr=fr&&fr.emptyText||(Ci==null?void 0:Ci("Table"))||le.createElement(wi.Z,{componentName:"Table"}),vo=or?Jl:Gu,Ui={},Ri=le.useMemo(()=>{const{fontSize:ea,lineHeight:xo,padding:Mi,paddingXS:Zo,paddingSM:Fi}=So,ki=Math.floor(ea*xo);switch(xi){case"large":return Mi*2+ki;case"small":return Zo*2+ki;default:return Fi*2+ki}},[So,xi]);return or&&(Ui.listItemHeight=Ri),Dr(le.createElement("div",{ref:Ce,className:Ei,style:fi},le.createElement(kr.Z,Object.assign({spinning:!1},Co),li,le.createElement(vo,Object.assign({},Ui,fo,{columns:Mr,direction:Ra,expandable:to,prefixCls:_o,className:Ke()({[`${_o}-middle`]:xi==="middle",[`${_o}-small`]:xi==="small",[`${_o}-bordered`]:Yt,[`${_o}-empty`]:mi.length===0}),data:Pn,rowKey:ce,rowClassName:qr,emptyText:pr,internalHooks:de,internalRefs:Zr,transformColumns:cr})),Za)))};var Ii=le.forwardRef(Ai);const pi=(Ee,Ce)=>{const Qe=le.useRef(0);return Qe.current+=1,le.createElement(Ii,Object.assign({},Ee,{ref:Ce,_renderTimes:Qe.current}))},Lo=le.forwardRef(pi);Lo.SELECTION_COLUMN=Ol,Lo.EXPAND_COLUMN=b,Lo.SELECTION_ALL=zu,Lo.SELECTION_INVERT=xu,Lo.SELECTION_NONE=Fu,Lo.Column=di,Lo.ColumnGroup=Qi,Lo.Summary=Oe;var ol=Lo,qi=ol},12563:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return He}});var b=ee(59301),de=ee(99267),Be=ee(92310),Ne=ee.n(Be),Ze=ee(36785),ke=ee(47729),le=ee(14088),st=ee(36355),et=ee(17313),Ve=ee(37613),je=ee(83116);const Xe=he=>{const{paddingXXS:qe,lineWidth:Ke,tagPaddingHorizontal:ht,componentCls:Le}=he,rt=ht-Ke,ut=qe-Ke;return{[Le]:Object.assign(Object.assign({},(0,et.Wf)(he)),{display:"inline-block",height:"auto",marginInlineEnd:he.marginXS,paddingInline:rt,fontSize:he.tagFontSize,lineHeight:he.tagLineHeight,whiteSpace:"nowrap",background:he.defaultBg,border:`${he.lineWidth}px ${he.lineType} ${he.colorBorder}`,borderRadius:he.borderRadiusSM,opacity:1,transition:`all ${he.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Le}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:he.defaultColor},[`${Le}-close-icon`]:{marginInlineStart:ut,color:he.colorTextDescription,fontSize:he.tagIconSize,cursor:"pointer",transition:`all ${he.motionDurationMid}`,"&:hover":{color:he.colorTextHeading}},[`&${Le}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${he.iconCls}-close, ${he.iconCls}-close:hover`]:{color:he.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Le}-checkable-checked):hover`]:{color:he.colorPrimary,backgroundColor:he.colorFillSecondary},"&:active, &-checked":{color:he.colorTextLightSolid},"&-checked":{backgroundColor:he.colorPrimary,"&:hover":{backgroundColor:he.colorPrimaryHover}},"&:active":{backgroundColor:he.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${he.iconCls} + span, > span + ${he.iconCls}`]:{marginInlineStart:rt}}),[`${Le}-borderless`]:{borderColor:"transparent",background:he.tagBorderlessBg}}},Ye=he=>{const{lineWidth:qe,fontSizeIcon:Ke}=he,ht=he.fontSizeSM,Le=`${he.lineHeightSM*ht}px`;return(0,Ve.TS)(he,{tagFontSize:ht,tagLineHeight:Le,tagIconSize:Ke-2*qe,tagPaddingHorizontal:8,tagBorderlessBg:he.colorFillTertiary})},se=he=>({defaultBg:he.colorFillQuaternary,defaultColor:he.colorText});var E=(0,je.Z)("Tag",he=>{const qe=Ye(he);return Xe(qe)},se),a=function(he,qe){var Ke={};for(var ht in he)Object.prototype.hasOwnProperty.call(he,ht)&&qe.indexOf(ht)<0&&(Ke[ht]=he[ht]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ht=Object.getOwnPropertySymbols(he);Le<ht.length;Le++)qe.indexOf(ht[Le])<0&&Object.prototype.propertyIsEnumerable.call(he,ht[Le])&&(Ke[ht[Le]]=he[ht[Le]]);return Ke},y=he=>{const{prefixCls:qe,style:Ke,className:ht,checked:Le,onChange:rt,onClick:ut}=he,gt=a(he,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:mt,tag:un}=b.useContext(st.E_),Nt=on=>{rt==null||rt(!Le),ut==null||ut(on)},rn=mt("tag",qe),[nn,Ue]=E(rn),dt=Ne()(rn,`${rn}-checkable`,{[`${rn}-checkable-checked`]:Le},un==null?void 0:un.className,ht,Ue);return nn(b.createElement("span",Object.assign({},gt,{style:Object.assign(Object.assign({},Ke),un==null?void 0:un.style),className:dt,onClick:Nt})))},z=ee(45157);const ne=he=>(0,z.Z)(he,(qe,Ke)=>{let{textColor:ht,lightBorderColor:Le,lightColor:rt,darkColor:ut}=Ke;return{[`${he.componentCls}-${qe}`]:{color:ht,background:rt,borderColor:Le,"&-inverse":{color:he.colorTextLightSolid,background:ut,borderColor:ut},[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,je.b)(["Tag","preset"],he=>{const qe=Ye(he);return ne(qe)},se);function ue(he){return typeof he!="string"?he:he.charAt(0).toUpperCase()+he.slice(1)}const oe=(he,qe,Ke)=>{const ht=ue(Ke);return{[`${he.componentCls}-${qe}`]:{color:he[`color${Ke}`],background:he[`color${ht}Bg`],borderColor:he[`color${ht}Border`],[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ve=(0,je.b)(["Tag","status"],he=>{const qe=Ye(he);return[oe(qe,"success","Success"),oe(qe,"processing","Info"),oe(qe,"error","Error"),oe(qe,"warning","Warning")]},se),be=function(he,qe){var Ke={};for(var ht in he)Object.prototype.hasOwnProperty.call(he,ht)&&qe.indexOf(ht)<0&&(Ke[ht]=he[ht]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ht=Object.getOwnPropertySymbols(he);Le<ht.length;Le++)qe.indexOf(ht[Le])<0&&Object.prototype.propertyIsEnumerable.call(he,ht[Le])&&(Ke[ht[Le]]=he[ht[Le]]);return Ke};const We=(he,qe)=>{const{prefixCls:Ke,className:ht,rootClassName:Le,style:rt,children:ut,icon:gt,color:mt,onClose:un,closeIcon:Nt,closable:rn,bordered:nn=!0}=he,Ue=be(he,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:dt,direction:on,tag:Vn}=b.useContext(st.E_),[Zt,wn]=b.useState(!0);b.useEffect(()=>{"visible"in Ue&&wn(Ue.visible)},[Ue.visible]);const ze=(0,Ze.o2)(mt),ct=(0,Ze.yT)(mt),kt=ze||ct,ft=Object.assign(Object.assign({backgroundColor:mt&&!kt?mt:void 0},Vn==null?void 0:Vn.style),rt),At=dt("tag",Ke),[it,nt]=E(At),De=Ne()(At,Vn==null?void 0:Vn.className,{[`${At}-${mt}`]:kt,[`${At}-has-color`]:mt&&!kt,[`${At}-hidden`]:!Zt,[`${At}-rtl`]:on==="rtl",[`${At}-borderless`]:!nn},ht,Le,nt),fe=at=>{at.stopPropagation(),un==null||un(at),!at.defaultPrevented&&wn(!1)},[,Je]=(0,ke.Z)(rn,Nt,at=>at===null?b.createElement(de.Z,{className:`${At}-close-icon`,onClick:fe}):b.createElement("span",{className:`${At}-close-icon`,onClick:fe},at),null,!1),It=typeof Ue.onClick=="function"||ut&&ut.type==="a",Oe=gt||null,Ie=Oe?b.createElement(b.Fragment,null,Oe,ut&&b.createElement("span",null,ut)):ut,St=b.createElement("span",Object.assign({},Ue,{ref:qe,className:De,style:ft}),Ie,Je,ze&&b.createElement(re,{key:"preset",prefixCls:At}),ct&&b.createElement(ve,{key:"status",prefixCls:At}));return it(It?b.createElement(le.Z,{component:"Tag"},St):St)},Ae=b.forwardRef(We);Ae.CheckableTag=y;var He=Ae},98228:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return yr}});var b=ee(92310),de=ee.n(b),Be=ee(14809),Ne=ee(95190),Ze=ee(20439),ke=ee(50298),le=ee(62646),st=ee(93664),et=ee(77861),Ve=ee(17115),je=ee(90782),Xe=ee(18929),Ye=ee(48736),se=ee(59301),E=function(en){var On=se.useRef({valueLabels:new Map});return se.useMemo(function(){var la=On.current.valueLabels,xa=new Map,Ge=en.map(function(Ot){var _t,Vt=Ot.value,Wt=(_t=Ot.label)!==null&&_t!==void 0?_t:la.get(Vt);return xa.set(Vt,Wt),(0,Ze.Z)((0,Ze.Z)({},Ot),{},{label:Wt})});return On.current.valueLabels=xa,[Ge]},[en])},a=function(en,On,la,xa){return se.useMemo(function(){var Ge=en.map(function(Wt){var Rn=Wt.value;return Rn}),Ot=On.map(function(Wt){var Rn=Wt.value;return Rn}),_t=Ge.filter(function(Wt){return!xa[Wt]});if(la){var Vt=(0,je.S)(Ge,!0,xa);Ge=Vt.checkedKeys,Ot=Vt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ne.Z)(_t),(0,Ne.Z)(Ge)))),Ot]},[en,On,la,xa])},x=ee(71430),y=function(en,On){return se.useMemo(function(){var la=(0,x.I8)(en,{fieldNames:On,initWrapper:function(Ge){return(0,Ze.Z)((0,Ze.Z)({},Ge),{},{valueEntities:new Map})},processEntity:function(Ge,Ot){var _t=Ge.node[On.value];if(0)var Vt;Ot.valueEntities.set(_t,Ge)}});return la},[en,On])},z=ee(4635),ne=ee(11592),re=function(){return null},ue=re,oe=["children","value"];function ve(en){return(0,ne.Z)(en).map(function(On){if(!se.isValidElement(On)||!On.type)return null;var la=On,xa=la.key,Ge=la.props,Ot=Ge.children,_t=Ge.value,Vt=(0,le.Z)(Ge,oe),Wt=(0,Ze.Z)({key:xa,value:_t},Vt),Rn=ve(Ot);return Rn.length&&(Wt.children=Rn),Wt}).filter(function(On){return On})}function be(en){if(!en)return en;var On=(0,Ze.Z)({},en);return"props"in On||Object.defineProperty(On,"props",{get:function(){return(0,Ye.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),On}}),On}function We(en,On,la,xa,Ge,Ot){var _t=null,Vt=null;function Wt(){function Rn(Bn){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Bn.map(function(pt,Sn){var Wn="".concat(vt,"-").concat(Sn),An=pt[Ot.value],ka=la.includes(An),pa=Rn(pt[Ot.children]||[],Wn,ka),_n=se.createElement(ue,pt,pa.map(function(Pa){return Pa.node}));if(On===An&&(_t=_n),ka){var Ea={pos:Wn,node:_n,children:pa};return Ft||Vt.push(Ea),Ea}return null}).filter(function(pt){return pt})}Vt||(Vt=[],Rn(xa),Vt.sort(function(Bn,vt){var Ft=Bn.node.props.value,pt=vt.node.props.value,Sn=la.indexOf(Ft),Wn=la.indexOf(pt);return Sn-Wn}))}Object.defineProperty(en,"triggerNode",{get:function(){return(0,Ye.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Wt(),_t}}),Object.defineProperty(en,"allCheckedNodes",{get:function(){return(0,Ye.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Wt(),Ge?Vt:Vt.map(function(Bn){var vt=Bn.node;return vt})}})}var Ae=function(en,On,la){var xa=la.treeNodeFilterProp,Ge=la.filterTreeNode,Ot=la.fieldNames,_t=Ot.children;return se.useMemo(function(){if(!On||Ge===!1)return en;var Vt;if(typeof Ge=="function")Vt=Ge;else{var Wt=On.toUpperCase();Vt=function(vt,Ft){var pt=Ft[xa];return String(pt).toUpperCase().includes(Wt)}}function Rn(Bn){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Bn.reduce(function(Ft,pt){var Sn=pt[_t],Wn=vt||Vt(On,be(pt)),An=Rn(Sn||[],Wn);return(Wn||An.length)&&Ft.push((0,Ze.Z)((0,Ze.Z)({},pt),{},(0,z.Z)({isLeaf:void 0},_t,An))),Ft},[])}return Rn(en)},[en,On,_t,xa,Ge])};function He(en){var On=se.useRef();On.current=en;var la=se.useCallback(function(){return On.current.apply(On,arguments)},[]);return la}function he(en,On){var la=On.id,xa=On.pId,Ge=On.rootPId,Ot={},_t=[],Vt=en.map(function(Wt){var Rn=(0,Ze.Z)({},Wt),Bn=Rn[la];return Ot[Bn]=Rn,Rn.key=Rn.key||Bn,Rn});return Vt.forEach(function(Wt){var Rn=Wt[xa],Bn=Ot[Rn];Bn&&(Bn.children=Bn.children||[],Bn.children.push(Wt)),(Rn===Ge||!Bn&&Ge===null)&&_t.push(Wt)}),_t}function qe(en,On,la){return se.useMemo(function(){return en?la?he(en,(0,Ze.Z)({id:"id",pId:"pId",rootPId:null},la!==!0?la:{})):en:ve(On)},[On,la,en])}var Ke=se.createContext(null),ht=Ke,Le=ee(10228),rt=ee(80547),ut=ee(79556),gt=se.createContext(null),mt=gt;function un(en){return Array.isArray(en)?en:en!==void 0?[en]:[]}function Nt(en){var On=en||{},la=On.label,xa=On.value,Ge=On.children,Ot=xa||"value";return{_title:la?[la]:["title","label"],value:Ot,key:Ot,children:Ge||"children"}}function rn(en){return!en||en.disabled||en.disableCheckbox||en.checkable===!1}function nn(en,On){var la=[];function xa(Ge){Ge.forEach(function(Ot){var _t=Ot[On.children];_t&&(la.push(Ot[On.value]),xa(_t))})}return xa(en),la}function Ue(en){return en==null}var dt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},on=function(On,la){var xa=(0,et.lk)(),Ge=xa.prefixCls,Ot=xa.multiple,_t=xa.searchValue,Vt=xa.toggleOpen,Wt=xa.open,Rn=xa.notFoundContent,Bn=se.useContext(mt),vt=Bn.virtual,Ft=Bn.listHeight,pt=Bn.listItemHeight,Sn=Bn.treeData,Wn=Bn.fieldNames,An=Bn.onSelect,ka=Bn.dropdownMatchSelectWidth,pa=Bn.treeExpandAction,_n=se.useContext(ht),Ea=_n.checkable,Pa=_n.checkedKeys,Dn=_n.halfCheckedKeys,lr=_n.treeExpandedKeys,Nr=_n.treeDefaultExpandAll,$r=_n.treeDefaultExpandedKeys,Sr=_n.onTreeExpand,$e=_n.treeIcon,bn=_n.showTreeIcon,Xt=_n.switcherIcon,Nn=_n.treeLine,Kn=_n.treeNodeFilterProp,ua=_n.loadData,Qn=_n.treeLoadedKeys,$n=_n.treeMotion,ur=_n.onTreeLoad,da=_n.keyEntities,En=se.useRef(),dr=(0,rt.Z)(function(){return Sn},[Wt,Sn],function(eo,Qo){return Qo[0]&&eo[1]!==Qo[1]}),Cr=se.useState(null),Wr=(0,ke.Z)(Cr,2),Ir=Wr[0],ha=Wr[1],Ha=da[Ir],$a=se.useMemo(function(){return Ea?{checked:Pa,halfChecked:Dn}:null},[Ea,Pa,Dn]);se.useEffect(function(){if(Wt&&!Ot&&Pa.length){var eo;(eo=En.current)===null||eo===void 0||eo.scrollTo({key:Pa[0]}),ha(Pa[0])}},[Wt]);var La=String(_t).toLowerCase(),Or=function(Qo){return La?String(Qo[Kn]).toLowerCase().includes(La):!1},no=se.useState($r),xr=(0,ke.Z)(no,2),Er=xr[0],Pr=xr[1],si=se.useState(null),ai=(0,ke.Z)(si,2),Bi=ai[0],po=ai[1],yo=se.useMemo(function(){return lr?(0,Ne.Z)(lr):_t?Bi:Er},[Er,Bi,lr,_t]);se.useEffect(function(){_t&&po(nn(Sn,Wn))},[_t]);var Go=function(Qo){Pr(Qo),po(Qo),Sr&&Sr(Qo)},Mo=function(Qo){Qo.preventDefault()},Do=function(Qo,Jo){var Io=Jo.node;Ea&&rn(Io)||(An(Io.key,{selected:!Pa.includes(Io.key)}),Ot||Vt(!1))};if(se.useImperativeHandle(la,function(){var eo;return{scrollTo:(eo=En.current)===null||eo===void 0?void 0:eo.scrollTo,onKeyDown:function(Jo){var Io,br=Jo.which;switch(br){case Le.Z.UP:case Le.Z.DOWN:case Le.Z.LEFT:case Le.Z.RIGHT:(Io=En.current)===null||Io===void 0||Io.onKeyDown(Jo);break;case Le.Z.ENTER:{if(Ha){var ri=(Ha==null?void 0:Ha.node)||{},zr=ri.selectable,ko=ri.value;zr!==!1&&Do(null,{node:{key:Ir},selected:!Pa.includes(ko)})}break}case Le.Z.ESC:Vt(!1)}},onKeyUp:function(){}}}),dr.length===0)return se.createElement("div",{role:"listbox",className:"".concat(Ge,"-empty"),onMouseDown:Mo},Rn);var gr={fieldNames:Wn};return Qn&&(gr.loadedKeys=Qn),yo&&(gr.expandedKeys=yo),se.createElement("div",{onMouseDown:Mo},Ha&&Wt&&se.createElement("span",{style:dt,"aria-live":"assertive"},Ha.node.value),se.createElement(ut.Z,(0,Be.Z)({ref:En,focusable:!1,prefixCls:"".concat(Ge,"-tree"),treeData:dr,height:Ft,itemHeight:pt,virtual:vt!==!1&&ka!==!1,multiple:Ot,icon:$e,showIcon:bn,switcherIcon:Xt,showLine:Nn,loadData:_t?null:ua,motion:$n,activeKey:Ir,checkable:Ea,checkStrictly:!0,checkedKeys:$a,selectedKeys:Ea?[]:Pa,defaultExpandAll:Nr},gr,{onActiveChange:ha,onSelect:Do,onCheck:Do,onExpand:Go,onLoad:ur,filterTreeNode:Or,expandAction:pa})))},Vn=se.forwardRef(on);Vn.displayName="OptionList";var Zt=Vn,wn="SHOW_ALL",ze="SHOW_PARENT",ct="SHOW_CHILD";function kt(en,On,la,xa){var Ge=new Set(en);return On===ct?en.filter(function(Ot){var _t=la[Ot];return!(_t&&_t.children&&_t.children.some(function(Vt){var Wt=Vt.node;return Ge.has(Wt[xa.value])})&&_t.children.every(function(Vt){var Wt=Vt.node;return rn(Wt)||Ge.has(Wt[xa.value])}))}):On===ze?en.filter(function(Ot){var _t=la[Ot],Vt=_t?_t.parent:null;return!(Vt&&!rn(Vt.node)&&Ge.has(Vt.key))}):en}function ft(en){var On=en.searchPlaceholder,la=en.treeCheckStrictly,xa=en.treeCheckable,Ge=en.labelInValue,Ot=en.value,_t=en.multiple;warning(!On,"`searchPlaceholder` has been removed."),la&&Ge===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ge||la)&&warning(toArray(Ot).every(function(Vt){return Vt&&_typeof(Vt)==="object"&&"value"in Vt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),la||_t||xa?warning(!Ot||Array.isArray(Ot),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Ot),"`value` should not be array when `TreeSelect` is single mode.")}var At=null,it=["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 nt(en){return!en||(0,st.Z)(en)!=="object"}var De=se.forwardRef(function(en,On){var la=en.id,xa=en.prefixCls,Ge=xa===void 0?"rc-tree-select":xa,Ot=en.value,_t=en.defaultValue,Vt=en.onChange,Wt=en.onSelect,Rn=en.onDeselect,Bn=en.searchValue,vt=en.inputValue,Ft=en.onSearch,pt=en.autoClearSearchValue,Sn=pt===void 0?!0:pt,Wn=en.filterTreeNode,An=en.treeNodeFilterProp,ka=An===void 0?"value":An,pa=en.showCheckedStrategy,_n=en.treeNodeLabelProp,Ea=en.multiple,Pa=en.treeCheckable,Dn=en.treeCheckStrictly,lr=en.labelInValue,Nr=en.fieldNames,$r=en.treeDataSimpleMode,Sr=en.treeData,$e=en.children,bn=en.loadData,Xt=en.treeLoadedKeys,Nn=en.onTreeLoad,Kn=en.treeDefaultExpandAll,ua=en.treeExpandedKeys,Qn=en.treeDefaultExpandedKeys,$n=en.onTreeExpand,ur=en.treeExpandAction,da=en.virtual,En=en.listHeight,dr=En===void 0?200:En,Cr=en.listItemHeight,Wr=Cr===void 0?20:Cr,Ir=en.onDropdownVisibleChange,ha=en.dropdownMatchSelectWidth,Ha=ha===void 0?!0:ha,$a=en.treeLine,La=en.treeIcon,Or=en.showTreeIcon,no=en.switcherIcon,xr=en.treeMotion,Er=(0,le.Z)(en,it),Pr=(0,Ve.ZP)(la),si=Pa&&!Dn,ai=Pa||Dn,Bi=Dn||lr,po=ai||Ea,yo=(0,Xe.Z)(_t,{value:Ot}),Go=(0,ke.Z)(yo,2),Mo=Go[0],Do=Go[1],gr=se.useMemo(function(){return Pa?pa||ct:wn},[pa,Pa]),eo=se.useMemo(function(){return Nt(Nr)},[JSON.stringify(Nr)]),Qo=(0,Xe.Z)("",{value:Bn!==void 0?Bn:vt,postState:function(Ta){return Ta||""}}),Jo=(0,ke.Z)(Qo,2),Io=Jo[0],br=Jo[1],ri=function(Ta){br(Ta),Ft==null||Ft(Ta)},zr=qe(Sr,$e,$r),ko=y(zr,eo),co=ko.keyEntities,di=ko.valueEntities,hi=se.useCallback(function(za){var Ta=[],Ja=[];return za.forEach(function(Rr){di.has(Rr)?Ja.push(Rr):Ta.push(Rr)}),{missingRawValues:Ta,existRawValues:Ja}},[di]),Qi=Ae(zr,Io,{fieldNames:eo,treeNodeFilterProp:ka,filterTreeNode:Wn}),tl=se.useCallback(function(za){if(za){if(_n)return za[_n];for(var Ta=eo._title,Ja=0;Ja<Ta.length;Ja+=1){var Rr=za[Ta[Ja]];if(Rr!==void 0)return Rr}}},[eo,_n]),nl=se.useCallback(function(za){var Ta=un(za);return Ta.map(function(Ja){return nt(Ja)?{value:Ja}:Ja})},[]),Vo=se.useCallback(function(za){var Ta=nl(za);return Ta.map(function(Ja){var Rr=Ja.label,bo=Ja.value,Uo=Ja.halfChecked,Wo,_i=di.get(bo);if(_i){var Xi;Rr=(Xi=Rr)!==null&&Xi!==void 0?Xi:tl(_i.node),Wo=_i.node.disabled}else if(Rr===void 0){var al=nl(Mo).find(function(Zl){return Zl.value===bo});Rr=al.label}return{label:Rr,value:bo,halfChecked:Uo,disabled:Wo}})},[di,tl,nl,Mo]),wi=se.useMemo(function(){return nl(Mo)},[nl,Mo]),Vi=se.useMemo(function(){var za=[],Ta=[];return wi.forEach(function(Ja){Ja.halfChecked?Ta.push(Ja):za.push(Ja)}),[za,Ta]},[wi]),dl=(0,ke.Z)(Vi,2),ml=dl[0],yl=dl[1],kr=se.useMemo(function(){return ml.map(function(za){return za.value})},[ml]),Qa=a(ml,yl,si,co),Ga=(0,ke.Z)(Qa,2),Ya=Ga[0],uo=Ga[1],we=se.useMemo(function(){var za=kt(Ya,gr,co,eo),Ta=za.map(function(Uo){var Wo,_i,Xi;return(Wo=(_i=co[Uo])===null||_i===void 0||(Xi=_i.node)===null||Xi===void 0?void 0:Xi[eo.value])!==null&&Wo!==void 0?Wo:Uo}),Ja=Ta.map(function(Uo){var Wo=ml.find(function(_i){return _i.value===Uo});return{value:Uo,label:Wo==null?void 0:Wo.label}}),Rr=Vo(Ja),bo=Rr[0];return!po&&bo&&Ue(bo.value)&&Ue(bo.label)?[]:Rr.map(function(Uo){var Wo;return(0,Ze.Z)((0,Ze.Z)({},Uo),{},{label:(Wo=Uo.label)!==null&&Wo!==void 0?Wo:Uo.value})})},[eo,po,Ya,ml,Vo,gr,co]),vn=E(we),Mn=(0,ke.Z)(vn,1),Sa=Mn[0],ln=He(function(za,Ta,Ja){var Rr=Vo(za);if(Do(Rr),Sn&&br(""),Vt){var bo=za;if(si){var Uo=kt(za,gr,co,eo);bo=Uo.map(function(Il){var Fl=di.get(Il);return Fl?Fl.node[eo.value]:Il})}var Wo=Ta||{triggerValue:void 0,selected:void 0},_i=Wo.triggerValue,Xi=Wo.selected,al=bo;if(Dn){var Zl=yl.filter(function(Il){return!bo.includes(Il.value)});al=[].concat((0,Ne.Z)(al),(0,Ne.Z)(Zl))}var Nl=Vo(al),ho={preValue:ml,triggerValue:_i},bl=!0;(Dn||Ja==="selection"&&!Xi)&&(bl=!1),We(ho,_i,za,zr,bl,eo),ai?ho.checked=Xi:ho.selected=Xi;var eu=Bi?Nl:Nl.map(function(Il){return Il.value});Vt(po?eu:eu[0],Bi?null:Nl.map(function(Il){return Il.label}),ho)}}),Ma=se.useCallback(function(za,Ta){var Ja,Rr=Ta.selected,bo=Ta.source,Uo=co[za],Wo=Uo==null?void 0:Uo.node,_i=(Ja=Wo==null?void 0:Wo[eo.value])!==null&&Ja!==void 0?Ja:za;if(!po)ln([_i],{selected:!0,triggerValue:_i},"option");else{var Xi=Rr?[].concat((0,Ne.Z)(kr),[_i]):Ya.filter(function(Fl){return Fl!==_i});if(si){var al=hi(Xi),Zl=al.missingRawValues,Nl=al.existRawValues,ho=Nl.map(function(Fl){return di.get(Fl).key}),bl;if(Rr){var eu=(0,je.S)(ho,!0,co);bl=eu.checkedKeys}else{var Il=(0,je.S)(ho,{checked:!1,halfCheckedKeys:uo},co);bl=Il.checkedKeys}Xi=[].concat((0,Ne.Z)(Zl),(0,Ne.Z)(bl.map(function(Fl){return co[Fl].node[eo.value]})))}ln(Xi,{selected:Rr,triggerValue:_i},bo||"option")}Rr||!po?Wt==null||Wt(_i,be(Wo)):Rn==null||Rn(_i,be(Wo))},[hi,di,co,eo,po,kr,ln,si,Wt,Rn,Ya,uo]),Fa=se.useCallback(function(za){if(Ir){var Ta={};Object.defineProperty(Ta,"documentClickClose",{get:function(){return(0,Ye.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Ir(za,Ta)}},[Ir]),jn=He(function(za,Ta){var Ja=za.map(function(Rr){return Rr.value});if(Ta.type==="clear"){ln(Ja,{},"selection");return}Ta.values.length&&Ma(Ta.values[0].value,{selected:!1,source:"selection"})}),Xn=se.useMemo(function(){return{virtual:da,dropdownMatchSelectWidth:Ha,listHeight:dr,listItemHeight:Wr,treeData:Qi,fieldNames:eo,onSelect:Ma,treeExpandAction:ur}},[da,Ha,dr,Wr,Qi,eo,Ma,ur]),sr=se.useMemo(function(){return{checkable:ai,loadData:bn,treeLoadedKeys:Xt,onTreeLoad:Nn,checkedKeys:Ya,halfCheckedKeys:uo,treeDefaultExpandAll:Kn,treeExpandedKeys:ua,treeDefaultExpandedKeys:Qn,onTreeExpand:$n,treeIcon:La,treeMotion:xr,showTreeIcon:Or,switcherIcon:no,treeLine:$a,treeNodeFilterProp:ka,keyEntities:co}},[ai,bn,Xt,Nn,Ya,uo,Kn,ua,Qn,$n,La,xr,Or,no,$a,ka,co]);return se.createElement(mt.Provider,{value:Xn},se.createElement(ht.Provider,{value:sr},se.createElement(et.Ac,(0,Be.Z)({ref:On},Er,{id:Pr,prefixCls:Ge,mode:po?"multiple":void 0,displayValues:Sa,onDisplayValuesChange:jn,searchValue:Io,onSearch:ri,OptionList:Zt,emptyOptions:!zr.length,onDropdownVisibleChange:Fa,dropdownMatchSelectWidth:Ha}))))}),fe=De;fe.TreeNode=ue,fe.SHOW_ALL=wn,fe.SHOW_PARENT=ze,fe.SHOW_CHILD=ct;var Je=fe,It=Je,Oe=ee(2738),Ie=ee(53487),St=ee(62892),at=ee(19080),Me=ee(36355),yt=ee(1684),Fn=ee(93891),an=ee(19716),cn=ee(32441),sn=ee(14154),yn=ee(58582),Te=ee(84443),xt=ee(66339),Ht=ee(33234),Bt=ee(71997),Mt=ee(98447),dn=ee(37613),gn=ee(83116),Ln=ee(20648);const Jn=en=>{const{componentCls:On,treePrefixCls:la,colorBgElevated:xa}=en,Ge=`.${la}`;return[{[`${On}-dropdown`]:[{padding:`${en.paddingXS}px ${en.paddingXS/2}px`},(0,Ln.Yk)(la,(0,dn.TS)(en,{colorBgContainer:xa})),{[Ge]:{borderRadius:0,[`${Ge}-list-holder-inner`]:{alignItems:"stretch",[`${Ge}-treenode`]:{[`${Ge}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Mt.C2)(`${la}-checkbox`,en),{"&-rtl":{direction:"rtl",[`${Ge}-switcher${Ge}-switcher_close`]:{[`${Ge}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function va(en,On){return(0,gn.Z)("TreeSelect",la=>{const xa=(0,dn.TS)(la,{treePrefixCls:On});return[Jn(xa)]},Ln.TM)(en)}var Da=function(en,On){var la={};for(var xa in en)Object.prototype.hasOwnProperty.call(en,xa)&&On.indexOf(xa)<0&&(la[xa]=en[xa]);if(en!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,xa=Object.getOwnPropertySymbols(en);Ge<xa.length;Ge++)On.indexOf(xa[Ge])<0&&Object.prototype.propertyIsEnumerable.call(en,xa[Ge])&&(la[xa[Ge]]=en[xa[Ge]]);return la};const Na=(en,On)=>{var la,{prefixCls:xa,size:Ge,disabled:Ot,bordered:_t=!0,className:Vt,rootClassName:Wt,treeCheckable:Rn,multiple:Bn,listHeight:vt=256,listItemHeight:Ft=26,placement:pt,notFoundContent:Sn,switcherIcon:Wn,treeLine:An,getPopupContainer:ka,popupClassName:pa,dropdownClassName:_n,treeIcon:Ea=!1,transitionName:Pa,choiceTransitionName:Dn="",status:lr,treeExpandAction:Nr,builtinPlacements:$r,dropdownMatchSelectWidth:Sr,popupMatchSelectWidth:$e,allowClear:bn}=en,Xt=Da(en,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:Nn,getPrefixCls:Kn,renderEmpty:ua,direction:Qn,virtual:$n,popupMatchSelectWidth:ur,popupOverflow:da}=se.useContext(Me.E_),En=Kn(),dr=Kn("select",xa),Cr=Kn("select-tree",xa),Wr=Kn("tree-select",xa),{compactSize:Ir,compactItemClassnames:ha}=(0,Ht.ri)(dr,Qn),[Ha,$a]=(0,sn.Z)(dr),[La]=va(Wr,Cr),Or=de()(pa||_n,`${Wr}-dropdown`,{[`${Wr}-dropdown-rtl`]:Qn==="rtl"},Wt,$a),no=!!(Rn||Bn),xr=(0,Te.Z)(Xt.suffixIcon,Xt.showArrow),Er=(la=$e!=null?$e:Sr)!==null&&la!==void 0?la:ur,{status:Pr,hasFeedback:si,isFormItemInput:ai,feedbackIcon:Bi}=se.useContext(cn.aM),po=(0,at.F)(Pr,lr),{suffixIcon:yo,removeIcon:Go,clearIcon:Mo}=(0,xt.Z)(Object.assign(Object.assign({},Xt),{multiple:no,showSuffixIcon:xr,hasFeedback:si,feedbackIcon:Bi,prefixCls:dr,componentName:"TreeSelect"})),Do=bn===!0?{clearIcon:Mo}:bn;let gr;Sn!==void 0?gr=Sn:gr=(ua==null?void 0:ua("Select"))||se.createElement(Fn.Z,{componentName:"Select"});const eo=(0,Oe.Z)(Xt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Qo=se.useMemo(()=>pt!==void 0?pt:Qn==="rtl"?"bottomRight":"bottomLeft",[pt,Qn]),Jo=(0,yn.Z)($r,da),Io=(0,an.Z)(di=>{var hi;return(hi=Ge!=null?Ge:Ir)!==null&&hi!==void 0?hi:di}),br=se.useContext(yt.Z),ri=Ot!=null?Ot:br,zr=de()(!xa&&Wr,{[`${dr}-lg`]:Io==="large",[`${dr}-sm`]:Io==="small",[`${dr}-rtl`]:Qn==="rtl",[`${dr}-borderless`]:!_t,[`${dr}-in-form-item`]:ai},(0,at.Z)(dr,po,si),ha,Vt,Wt,$a),ko=di=>se.createElement(Bt.Z,{prefixCls:Cr,switcherIcon:Wn,treeNodeProps:di,showLine:An}),co=se.createElement(It,Object.assign({virtual:$n,disabled:ri},eo,{dropdownMatchSelectWidth:Er,builtinPlacements:Jo,ref:On,prefixCls:dr,className:zr,listHeight:vt,listItemHeight:Ft,treeCheckable:Rn&&se.createElement("span",{className:`${dr}-tree-checkbox-inner`}),treeLine:!!An,suffixIcon:yo,multiple:no,placement:Qo,removeIcon:Go,allowClear:Do,switcherIcon:ko,showTreeIcon:Ea,notFoundContent:gr,getPopupContainer:ka||Nn,treeMotion:null,dropdownClassName:Or,choiceTransitionName:(0,St.m)(En,"",Dn),transitionName:(0,St.m)(En,"slide-up",Pa),treeExpandAction:Nr}));return Ha(La(co))},Ua=se.forwardRef(Na),fa=(0,Ie.Z)(Ua);Ua.TreeNode=ue,Ua.SHOW_ALL=wn,Ua.SHOW_PARENT=ze,Ua.SHOW_CHILD=ct,Ua._InternalPanelDoNotUseOrYouWillBeFired=fa;var yr=Ua},17574:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return mt}});var b=ee(79556),de=ee(95190),Be=ee(52671),Ne=ee(8657),Ze=ee(14809),ke=ee(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},st=le,et=ee(7657),Ve=function(Nt,rn){return ke.createElement(et.Z,(0,Ze.Z)({},Nt,{ref:rn,icon:st}))},je=ke.forwardRef(Ve),Xe=je,Ye=ee(92310),se=ee.n(Ye),E=ee(35654),a=ee(71430),x=ee(36355),y=ee(56082),z=ee(62892),ne=ee(20648);const re=4;function ue(un){const{dropPosition:Nt,dropLevelOffset:rn,prefixCls:nn,indent:Ue,direction:dt="ltr"}=un,on=dt==="ltr"?"left":"right",Vn=dt==="ltr"?"right":"left",Zt={[on]:-rn*Ue+re,[Vn]:0};switch(Nt){case-1:Zt.top=-3;break;case 1:Zt.bottom=-3;break;default:Zt.bottom=-3,Zt[on]=Ue+re;break}return ke.createElement("div",{style:Zt,className:`${nn}-drop-indicator`})}var oe=ee(71997),be=ke.forwardRef((un,Nt)=>{const{getPrefixCls:rn,direction:nn,virtual:Ue,tree:dt}=ke.useContext(x.E_),{prefixCls:on,className:Vn,showIcon:Zt=!1,showLine:wn,switcherIcon:ze,blockNode:ct=!1,children:kt,checkable:ft=!1,selectable:At=!0,draggable:it,motion:nt,style:De}=un,fe=rn("tree",on),Je=rn(),It=nt!=null?nt:Object.assign(Object.assign({},(0,z.Z)(Je)),{motionAppear:!1}),Oe=Object.assign(Object.assign({},un),{checkable:ft,selectable:At,showIcon:Zt,motion:It,blockNode:ct,showLine:!!wn,dropIndicatorRender:ue}),[Ie,St]=(0,ne.ZP)(fe),at=ke.useMemo(()=>{if(!it)return!1;let yt={};switch(typeof it){case"function":yt.nodeDraggable=it;break;case"object":yt=Object.assign({},it);break;default:break}return yt.icon!==!1&&(yt.icon=yt.icon||ke.createElement(y.Z,null)),yt},[it]),Me=yt=>ke.createElement(oe.Z,{prefixCls:fe,switcherIcon:ze,treeNodeProps:yt,showLine:wn});return Ie(ke.createElement(b.Z,Object.assign({itemHeight:20,ref:Nt,virtual:Ue},Oe,{style:Object.assign(Object.assign({},dt==null?void 0:dt.style),De),prefixCls:fe,className:se()({[`${fe}-icon-hide`]:!Zt,[`${fe}-block-node`]:ct,[`${fe}-unselectable`]:!At,[`${fe}-rtl`]:nn==="rtl"},dt==null?void 0:dt.className,Vn,St),direction:nn,checkable:ft&&ke.createElement("span",{className:`${fe}-checkbox-inner`}),selectable:At,switcherIcon:Me,draggable:at}),kt))}),We;(function(un){un[un.None=0]="None",un[un.Start=1]="Start",un[un.End=2]="End"})(We||(We={}));function Ae(un,Nt){function rn(nn){const{key:Ue,children:dt}=nn;Nt(Ue,nn)!==!1&&Ae(dt||[],Nt)}un.forEach(rn)}function He(un){let{treeData:Nt,expandedKeys:rn,startKey:nn,endKey:Ue}=un;const dt=[];let on=We.None;if(nn&&nn===Ue)return[nn];if(!nn||!Ue)return[];function Vn(Zt){return Zt===nn||Zt===Ue}return Ae(Nt,Zt=>{if(on===We.End)return!1;if(Vn(Zt)){if(dt.push(Zt),on===We.None)on=We.Start;else if(on===We.Start)return on=We.End,!1}else on===We.Start&&dt.push(Zt);return rn.includes(Zt)}),dt}function he(un,Nt){const rn=(0,de.Z)(Nt),nn=[];return Ae(un,(Ue,dt)=>{const on=rn.indexOf(Ue);return on!==-1&&(nn.push(dt),rn.splice(on,1)),!!rn.length}),nn}var qe=function(un,Nt){var rn={};for(var nn in un)Object.prototype.hasOwnProperty.call(un,nn)&&Nt.indexOf(nn)<0&&(rn[nn]=un[nn]);if(un!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,nn=Object.getOwnPropertySymbols(un);Ue<nn.length;Ue++)Nt.indexOf(nn[Ue])<0&&Object.prototype.propertyIsEnumerable.call(un,nn[Ue])&&(rn[nn[Ue]]=un[nn[Ue]]);return rn};function Ke(un){const{isLeaf:Nt,expanded:rn}=un;return Nt?ke.createElement(Be.Z,null):rn?ke.createElement(Ne.Z,null):ke.createElement(Xe,null)}function ht(un){let{treeData:Nt,children:rn}=un;return Nt||(0,a.zn)(rn)}const Le=(un,Nt)=>{var{defaultExpandAll:rn,defaultExpandParent:nn,defaultExpandedKeys:Ue}=un,dt=qe(un,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const on=ke.useRef(),Vn=ke.useRef(),Zt=()=>{const{keyEntities:at}=(0,a.I8)(ht(dt));let Me;return rn?Me=Object.keys(at):nn?Me=(0,E.r7)(dt.expandedKeys||Ue||[],at):Me=dt.expandedKeys||Ue,Me},[wn,ze]=ke.useState(dt.selectedKeys||dt.defaultSelectedKeys||[]),[ct,kt]=ke.useState(()=>Zt());ke.useEffect(()=>{"selectedKeys"in dt&&ze(dt.selectedKeys)},[dt.selectedKeys]),ke.useEffect(()=>{"expandedKeys"in dt&&kt(dt.expandedKeys)},[dt.expandedKeys]);const ft=(at,Me)=>{var yt;return"expandedKeys"in dt||kt(at),(yt=dt.onExpand)===null||yt===void 0?void 0:yt.call(dt,at,Me)},At=(at,Me)=>{var yt;const{multiple:Fn}=dt,{node:an,nativeEvent:cn}=Me,{key:sn=""}=an,yn=ht(dt),Te=Object.assign(Object.assign({},Me),{selected:!0}),xt=(cn==null?void 0:cn.ctrlKey)||(cn==null?void 0:cn.metaKey),Ht=cn==null?void 0:cn.shiftKey;let Bt;Fn&&xt?(Bt=at,on.current=sn,Vn.current=Bt,Te.selectedNodes=he(yn,Bt)):Fn&&Ht?(Bt=Array.from(new Set([].concat((0,de.Z)(Vn.current||[]),(0,de.Z)(He({treeData:yn,expandedKeys:ct,startKey:sn,endKey:on.current}))))),Te.selectedNodes=he(yn,Bt)):(Bt=[sn],on.current=sn,Vn.current=Bt,Te.selectedNodes=he(yn,Bt)),(yt=dt.onSelect)===null||yt===void 0||yt.call(dt,Bt,Te),"selectedKeys"in dt||ze(Bt)},{getPrefixCls:it,direction:nt}=ke.useContext(x.E_),{prefixCls:De,className:fe,showIcon:Je=!0,expandAction:It="click"}=dt,Oe=qe(dt,["prefixCls","className","showIcon","expandAction"]),Ie=it("tree",De),St=se()(`${Ie}-directory`,{[`${Ie}-directory-rtl`]:nt==="rtl"},fe);return ke.createElement(be,Object.assign({icon:Ke,ref:Nt,blockNode:!0},Oe,{showIcon:Je,expandAction:It,prefixCls:Ie,className:St,expandedKeys:ct,selectedKeys:wn,onSelect:At,onExpand:ft}))};var ut=ke.forwardRef(Le);const gt=be;gt.DirectoryTree=ut,gt.TreeNode=b.O;var mt=gt},20648:function(Qt,Gt,ee){"use strict";ee.d(Gt,{TM:function(){return Ye},Yk:function(){return Xe}});var b=ee(93083),de=ee(98447),Be=ee(17313),Ne=ee(8378),Ze=ee(37613),ke=ee(83116);const le=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),st=(se,E)=>({[`.${se}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${E.motionDurationSlow}`}}}),et=(se,E)=>({[`.${se}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:E.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${E.lineWidthBold}px solid ${E.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ve=(se,E)=>{const{treeCls:a,treeNodeCls:x,treeNodePadding:y,titleHeight:z,nodeSelectedBg:ne,nodeHoverBg:re}=E,ue=E.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Be.Wf)(E)),{background:E.colorBgContainer,borderRadius:E.borderRadius,transition:`background-color ${E.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Be.oN)(E)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:y,insetInlineStart:0,border:`1px solid ${E.colorPrimary}`,opacity:0,animationName:le,animationDuration:E.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${y}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:E.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Be.oN)(E)),[`&:not(${x}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${E.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},st(se,E)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:E.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-y,marginInlineStart:-1,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${E.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ue},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${E.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:E.borderRadius,cursor:"pointer",transition:`all ${E.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:re},[`&${a}-node-selected`]:{backgroundColor:ne},[`${a}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},et(se,E)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${E.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-y,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},je=se=>{const{treeCls:E,treeNodeCls:a,treeNodePadding:x,directoryNodeSelectedBg:y,directoryNodeSelectedColor:z}=se;return{[`${E}${E}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${se.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:se.controlItemBgHover}},"> *":{zIndex:1},[`${E}-switcher`]:{transition:`color ${se.motionDurationMid}`},[`${E}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${E}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:y},[`${E}-switcher`]:{color:z},[`${E}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},Xe=(se,E)=>{const a=`.${se}`,x=`${a}-treenode`,y=E.paddingXS/2,z=(0,Ze.TS)(E,{treeCls:a,treeNodeCls:x,treeNodePadding:y});return[Ve(se,z),je(z)]},Ye=se=>{const{controlHeightSM:E}=se;return{titleHeight:E,nodeHoverBg:se.controlItemBgHover,nodeSelectedBg:se.controlItemBgActive}};Gt.ZP=(0,ke.Z)("Tree",(se,E)=>{let{prefixCls:a}=E;return[{[se.componentCls]:(0,de.C2)(`${a}-checkbox`,se)},Xe(a,se),(0,Ne.Z)(se)]},se=>{const{colorTextLightSolid:E,colorPrimary:a}=se;return Object.assign(Object.assign({},Ye(se)),{directoryNodeSelectedColor:E,directoryNodeSelectedBg:a})})},71997:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return x}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Ne=Be,Ze=ee(7657),ke=function(z,ne){return de.createElement(Ze.Z,(0,b.Z)({},z,{ref:ne,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(52671),Ve=ee(58617),je=ee(15075),Xe=ee(43531),Ye=ee(92310),se=ee.n(Ye),E=ee(92343),x=y=>{const{prefixCls:z,switcherIcon:ne,treeNodeProps:re,showLine:ue}=y,{isLeaf:oe,expanded:ve,loading:be}=re;if(be)return de.createElement(Ve.Z,{className:`${z}-switcher-loading-icon`});let We;if(ue&&typeof ue=="object"&&(We=ue.showLeafIcon),oe){if(!ue)return null;if(typeof We!="boolean"&&We){const he=typeof We=="function"?We(re):We,qe=`${z}-switcher-line-custom-icon`;return(0,E.l$)(he)?(0,E.Tm)(he,{className:se()(he.props.className||"",qe)}):he}return We?de.createElement(et.Z,{className:`${z}-switcher-line-icon`}):de.createElement("span",{className:`${z}-switcher-leaf-line`})}const Ae=`${z}-switcher-icon`,He=typeof ne=="function"?ne(re):ne;return(0,E.l$)(He)?(0,E.Tm)(He,{className:se()(He.props.className||"",Ae)}):He!==void 0?He:ue?ve?de.createElement(je.Z,{className:`${z}-switcher-line-icon`}):de.createElement(Xe.Z,{className:`${z}-switcher-line-icon`}):de.createElement(st,{className:Ae})}},54580:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return Sr}});var b=ee(59301),de=ee(95190),Be=ee(92310),Ne=ee.n(Be),Ze=ee(14809),ke=ee(99153),le=ee(84851),st=ee(19257),et=ee(93046),Ve=ee(4635),je=ee(62646),Xe=ee(70539),Ye=ee(93664),se=ee(95764),E=ee(26112);function a($e,bn){var Xt="cannot ".concat($e.method," ").concat($e.action," ").concat(bn.status,"'"),Nn=new Error(Xt);return Nn.status=bn.status,Nn.method=$e.method,Nn.url=$e.action,Nn}function x($e){var bn=$e.responseText||$e.response;if(!bn)return bn;try{return JSON.parse(bn)}catch(Xt){return bn}}function y($e){var bn=new XMLHttpRequest;$e.onProgress&&bn.upload&&(bn.upload.onprogress=function(ua){ua.total>0&&(ua.percent=ua.loaded/ua.total*100),$e.onProgress(ua)});var Xt=new FormData;$e.data&&Object.keys($e.data).forEach(function(Kn){var ua=$e.data[Kn];if(Array.isArray(ua)){ua.forEach(function(Qn){Xt.append("".concat(Kn,"[]"),Qn)});return}Xt.append(Kn,ua)}),$e.file instanceof Blob?Xt.append($e.filename,$e.file,$e.file.name):Xt.append($e.filename,$e.file),bn.onerror=function(ua){$e.onError(ua)},bn.onload=function(){return bn.status<200||bn.status>=300?$e.onError(a($e,bn),x(bn)):$e.onSuccess(x(bn),bn)},bn.open($e.method,$e.action,!0),$e.withCredentials&&"withCredentials"in bn&&(bn.withCredentials=!0);var Nn=$e.headers||{};return Nn["X-Requested-With"]!==null&&bn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Nn).forEach(function(Kn){Nn[Kn]!==null&&bn.setRequestHeader(Kn,Nn[Kn])}),bn.send(Xt),{abort:function(){bn.abort()}}}var z=+new Date,ne=0;function re(){return"rc-upload-".concat(z,"-").concat(++ne)}var ue=ee(48736),oe=function($e,bn){if($e&&bn){var Xt=Array.isArray(bn)?bn:bn.split(","),Nn=$e.name||"",Kn=$e.type||"",ua=Kn.replace(/\/.*$/,"");return Xt.some(function(Qn){var $n=Qn.trim();if(/^\*(\/\*)?$/.test(Qn))return!0;if($n.charAt(0)==="."){var ur=Nn.toLowerCase(),da=$n.toLowerCase(),En=[da];return(da===".jpg"||da===".jpeg")&&(En=[".jpg",".jpeg"]),En.some(function(dr){return ur.endsWith(dr)})}return/\/\*$/.test($n)?ua===$n.replace(/\/.*$/,""):Kn===$n?!0:/^\w+$/.test($n)?((0,ue.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat($n,"'.Skip for check.")),!0):!1})}return!0};function ve($e,bn){var Xt=$e.createReader(),Nn=[];function Kn(){Xt.readEntries(function(ua){var Qn=Array.prototype.slice.apply(ua);Nn=Nn.concat(Qn);var $n=!Qn.length;$n?bn(Nn):Kn()})}Kn()}var be=function(bn,Xt,Nn){var Kn=function ua(Qn,$n){Qn&&(Qn.path=$n||"",Qn.isFile?Qn.file(function(ur){Nn(ur)&&(Qn.fullPath&&!ur.webkitRelativePath&&(Object.defineProperties(ur,{webkitRelativePath:{writable:!0}}),ur.webkitRelativePath=Qn.fullPath.replace(/^\//,""),Object.defineProperties(ur,{webkitRelativePath:{writable:!1}})),Xt([ur]))}):Qn.isDirectory&&ve(Qn,function(ur){ur.forEach(function(da){ua(da,"".concat($n).concat(Qn.name,"/"))})}))};bn.forEach(function(ua){Kn(ua.webkitGetAsEntry())})},We=be,Ae=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],He=function($e){(0,st.Z)(Xt,$e);var bn=(0,et.Z)(Xt);function Xt(){var Nn;(0,ke.Z)(this,Xt);for(var Kn=arguments.length,ua=new Array(Kn),Qn=0;Qn<Kn;Qn++)ua[Qn]=arguments[Qn];return Nn=bn.call.apply(bn,[this].concat(ua)),Nn.state={uid:re()},Nn.reqs={},Nn.fileInput=void 0,Nn._isMounted=void 0,Nn.onChange=function($n){var ur=Nn.props,da=ur.accept,En=ur.directory,dr=$n.target.files,Cr=(0,de.Z)(dr).filter(function(Wr){return!En||oe(Wr,da)});Nn.uploadFiles(Cr),Nn.reset()},Nn.onClick=function($n){var ur=Nn.fileInput;if(ur){var da=$n.target,En=Nn.props.onClick;if(da&&da.tagName==="BUTTON"){var dr=ur.parentNode;dr.focus(),da.blur()}ur.click(),En&&En($n)}},Nn.onKeyDown=function($n){$n.key==="Enter"&&Nn.onClick($n)},Nn.onFileDrop=function($n){var ur=Nn.props.multiple;if($n.preventDefault(),$n.type!=="dragover")if(Nn.props.directory)We(Array.prototype.slice.call($n.dataTransfer.items),Nn.uploadFiles,function(En){return oe(En,Nn.props.accept)});else{var da=(0,de.Z)($n.dataTransfer.files).filter(function(En){return oe(En,Nn.props.accept)});ur===!1&&(da=da.slice(0,1)),Nn.uploadFiles(da)}},Nn.uploadFiles=function($n){var ur=(0,de.Z)($n),da=ur.map(function(En){return En.uid=re(),Nn.processFile(En,ur)});Promise.all(da).then(function(En){var dr=Nn.props.onBatchStart;dr==null||dr(En.map(function(Cr){var Wr=Cr.origin,Ir=Cr.parsedFile;return{file:Wr,parsedFile:Ir}})),En.filter(function(Cr){return Cr.parsedFile!==null}).forEach(function(Cr){Nn.post(Cr)})})},Nn.processFile=function(){var $n=(0,se.Z)((0,Xe.Z)().mark(function ur(da,En){var dr,Cr,Wr,Ir,ha,Ha,$a,La,Or;return(0,Xe.Z)().wrap(function(xr){for(;;)switch(xr.prev=xr.next){case 0:if(dr=Nn.props.beforeUpload,Cr=da,!dr){xr.next=14;break}return xr.prev=3,xr.next=6,dr(da,En);case 6:Cr=xr.sent,xr.next=12;break;case 9:xr.prev=9,xr.t0=xr.catch(3),Cr=!1;case 12:if(Cr!==!1){xr.next=14;break}return xr.abrupt("return",{origin:da,parsedFile:null,action:null,data:null});case 14:if(Wr=Nn.props.action,typeof Wr!="function"){xr.next=21;break}return xr.next=18,Wr(da);case 18:Ir=xr.sent,xr.next=22;break;case 21:Ir=Wr;case 22:if(ha=Nn.props.data,typeof ha!="function"){xr.next=29;break}return xr.next=26,ha(da);case 26:Ha=xr.sent,xr.next=30;break;case 29:Ha=ha;case 30:return $a=((0,Ye.Z)(Cr)==="object"||typeof Cr=="string")&&Cr?Cr:da,$a instanceof File?La=$a:La=new File([$a],da.name,{type:da.type}),Or=La,Or.uid=da.uid,xr.abrupt("return",{origin:da,data:Ha,parsedFile:Or,action:Ir});case 35:case"end":return xr.stop()}},ur,null,[[3,9]])}));return function(ur,da){return $n.apply(this,arguments)}}(),Nn.saveFileInput=function($n){Nn.fileInput=$n},Nn}return(0,le.Z)(Xt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Kn){var ua=this,Qn=Kn.data,$n=Kn.origin,ur=Kn.action,da=Kn.parsedFile;if(this._isMounted){var En=this.props,dr=En.onStart,Cr=En.customRequest,Wr=En.name,Ir=En.headers,ha=En.withCredentials,Ha=En.method,$a=$n.uid,La=Cr||y,Or={action:ur,filename:Wr,data:Qn,file:da,headers:Ir,withCredentials:ha,method:Ha||"post",onProgress:function(xr){var Er=ua.props.onProgress;Er==null||Er(xr,da)},onSuccess:function(xr,Er){var Pr=ua.props.onSuccess;Pr==null||Pr(xr,da,Er),delete ua.reqs[$a]},onError:function(xr,Er){var Pr=ua.props.onError;Pr==null||Pr(xr,Er,da),delete ua.reqs[$a]}};dr($n),this.reqs[$a]=La(Or)}}},{key:"reset",value:function(){this.setState({uid:re()})}},{key:"abort",value:function(Kn){var ua=this.reqs;if(Kn){var Qn=Kn.uid?Kn.uid:Kn;ua[Qn]&&ua[Qn].abort&&ua[Qn].abort(),delete ua[Qn]}else Object.keys(ua).forEach(function($n){ua[$n]&&ua[$n].abort&&ua[$n].abort(),delete ua[$n]})}},{key:"render",value:function(){var Kn=this.props,ua=Kn.component,Qn=Kn.prefixCls,$n=Kn.className,ur=Kn.disabled,da=Kn.id,En=Kn.style,dr=Kn.multiple,Cr=Kn.accept,Wr=Kn.capture,Ir=Kn.children,ha=Kn.directory,Ha=Kn.openFileDialogOnClick,$a=Kn.onMouseEnter,La=Kn.onMouseLeave,Or=(0,je.Z)(Kn,Ae),no=Ne()((0,Ve.Z)((0,Ve.Z)((0,Ve.Z)({},Qn,!0),"".concat(Qn,"-disabled"),ur),$n,$n)),xr=ha?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},Er=ur?{}:{onClick:Ha?this.onClick:function(){},onKeyDown:Ha?this.onKeyDown:function(){},onMouseEnter:$a,onMouseLeave:La,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return b.createElement(ua,(0,Ze.Z)({},Er,{className:no,role:"button",style:En}),b.createElement("input",(0,Ze.Z)({},(0,E.Z)(Or,{aria:!0,data:!0}),{id:da,disabled:ur,type:"file",ref:this.saveFileInput,onClick:function(si){return si.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Cr},xr,{multiple:dr,onChange:this.onChange},Wr!=null?{capture:Wr}:{})),Ir)}}]),Xt}(b.Component),he=He;function qe(){}var Ke=function($e){(0,st.Z)(Xt,$e);var bn=(0,et.Z)(Xt);function Xt(){var Nn;(0,ke.Z)(this,Xt);for(var Kn=arguments.length,ua=new Array(Kn),Qn=0;Qn<Kn;Qn++)ua[Qn]=arguments[Qn];return Nn=bn.call.apply(bn,[this].concat(ua)),Nn.uploader=void 0,Nn.saveUploader=function($n){Nn.uploader=$n},Nn}return(0,le.Z)(Xt,[{key:"abort",value:function(Kn){this.uploader.abort(Kn)}},{key:"render",value:function(){return b.createElement(he,(0,Ze.Z)({},this.props,{ref:this.saveUploader}))}}]),Xt}(b.Component);Ke.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:qe,onError:qe,onSuccess:qe,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var ht=Ke,Le=ht,rt=ee(18929),ut=ee(4676),gt=ee(36355),mt=ee(1684),un=ee(9763),Nt=ee(31724),rn={icon:function(bn,Xt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Xt}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:bn}}]}},name:"file",theme:"twotone"},nn=rn,Ue=ee(7657),dt=function(bn,Xt){return b.createElement(Ue.Z,(0,Ze.Z)({},bn,{ref:Xt,icon:nn}))},on=b.forwardRef(dt),Vn=on,Zt=ee(58617),wn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},ze=wn,ct=function(bn,Xt){return b.createElement(Ue.Z,(0,Ze.Z)({},bn,{ref:Xt,icon:ze}))},kt=b.forwardRef(ct),ft=kt,At={icon:function(bn,Xt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:bn}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Xt}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:Xt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Xt}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:bn}}]}},name:"picture",theme:"twotone"},it=At,nt=function(bn,Xt){return b.createElement(Ue.Z,(0,Ze.Z)({},bn,{ref:Xt,icon:it}))},De=b.forwardRef(nt),fe=De,Je=ee(77900),It=ee(56762),Oe=ee(62892),Ie=ee(92343),St=ee(3113);function at($e){return Object.assign(Object.assign({},$e),{lastModified:$e.lastModified,lastModifiedDate:$e.lastModifiedDate,name:$e.name,size:$e.size,type:$e.type,uid:$e.uid,percent:0,originFileObj:$e})}function Me($e,bn){const Xt=(0,de.Z)(bn),Nn=Xt.findIndex(Kn=>{let{uid:ua}=Kn;return ua===$e.uid});return Nn===-1?Xt.push($e):Xt[Nn]=$e,Xt}function yt($e,bn){const Xt=$e.uid!==void 0?"uid":"name";return bn.filter(Nn=>Nn[Xt]===$e[Xt])[0]}function Fn($e,bn){const Xt=$e.uid!==void 0?"uid":"name",Nn=bn.filter(Kn=>Kn[Xt]!==$e[Xt]);return Nn.length===bn.length?null:Nn}const an=function(){const bn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Nn=bn[bn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Nn)||[""])[0]},cn=$e=>$e.indexOf("image/")===0,sn=$e=>{if($e.type&&!$e.thumbUrl)return cn($e.type);const bn=$e.thumbUrl||$e.url||"",Xt=an(bn);return/^data:image\//.test(bn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Xt)?!0:!(/^data:/.test(bn)||Xt)},yn=200;function Te($e){return new Promise(bn=>{if(!$e.type||!cn($e.type)){bn("");return}const Xt=document.createElement("canvas");Xt.width=yn,Xt.height=yn,Xt.style.cssText=`position: fixed; left: 0; top: 0; width: ${yn}px; height: ${yn}px; z-index: 9999; display: none;`,document.body.appendChild(Xt);const Nn=Xt.getContext("2d"),Kn=new Image;if(Kn.onload=()=>{const{width:ua,height:Qn}=Kn;let $n=yn,ur=yn,da=0,En=0;ua>Qn?(ur=Qn*(yn/ua),En=-(ur-$n)/2):($n=ua*(yn/Qn),da=-($n-ur)/2),Nn.drawImage(Kn,da,En,$n,ur);const dr=Xt.toDataURL();document.body.removeChild(Xt),window.URL.revokeObjectURL(Kn.src),bn(dr)},Kn.crossOrigin="anonymous",$e.type.startsWith("image/svg+xml")){const ua=new FileReader;ua.onload=()=>{ua.result&&(Kn.src=ua.result)},ua.readAsDataURL($e)}else if($e.type.startsWith("image/gif")){const ua=new FileReader;ua.onload=()=>{ua.result&&bn(ua.result)},ua.readAsDataURL($e)}else Kn.src=window.URL.createObjectURL($e)})}var xt=ee(26227),Ht=ee(41464),Bt=ee(15277),Mt=ee(93948),dn=ee(6848),Ln=b.forwardRef(($e,bn)=>{let{prefixCls:Xt,className:Nn,style:Kn,locale:ua,listType:Qn,file:$n,items:ur,progress:da,iconRender:En,actionIconRender:dr,itemRender:Cr,isImgUrl:Wr,showPreviewIcon:Ir,showRemoveIcon:ha,showDownloadIcon:Ha,previewIcon:$a,removeIcon:La,downloadIcon:Or,onPreview:no,onDownload:xr,onClose:Er}=$e;var Pr,si;const{status:ai}=$n,[Bi,po]=b.useState(ai);b.useEffect(()=>{ai!=="removed"&&po(ai)},[ai]);const[yo,Go]=b.useState(!1);b.useEffect(()=>{const Vo=setTimeout(()=>{Go(!0)},300);return()=>{clearTimeout(Vo)}},[]);const Mo=En($n);let Do=b.createElement("div",{className:`${Xt}-icon`},Mo);if(Qn==="picture"||Qn==="picture-card"||Qn==="picture-circle")if(Bi==="uploading"||!$n.thumbUrl&&!$n.url){const Vo=Ne()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:Bi!=="uploading"});Do=b.createElement("div",{className:Vo},Mo)}else{const Vo=Wr!=null&&Wr($n)?b.createElement("img",{src:$n.thumbUrl||$n.url,alt:$n.name,className:`${Xt}-list-item-image`,crossOrigin:$n.crossOrigin}):Mo,wi=Ne()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:Wr&&!Wr($n)});Do=b.createElement("a",{className:wi,onClick:Vi=>no($n,Vi),href:$n.url||$n.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Vo)}const gr=Ne()(`${Xt}-list-item`,`${Xt}-list-item-${Bi}`),eo=typeof $n.linkProps=="string"?JSON.parse($n.linkProps):$n.linkProps,Qo=ha?dr((typeof La=="function"?La($n):La)||b.createElement(xt.Z,null),()=>Er($n),Xt,ua.removeFile):null,Jo=Ha&&Bi==="done"?dr((typeof Or=="function"?Or($n):Or)||b.createElement(Ht.Z,null),()=>xr($n),Xt,ua.downloadFile):null,Io=Qn!=="picture-card"&&Qn!=="picture-circle"&&b.createElement("span",{key:"download-delete",className:Ne()(`${Xt}-list-item-actions`,{picture:Qn==="picture"})},Jo,Qo),br=Ne()(`${Xt}-list-item-name`),ri=$n.url?[b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:br,title:$n.name},eo,{href:$n.url,onClick:Vo=>no($n,Vo)}),$n.name),Io]:[b.createElement("span",{key:"view",className:br,onClick:Vo=>no($n,Vo),title:$n.name},$n.name),Io],zr={pointerEvents:"none",opacity:.5},ko=Ir?b.createElement("a",{href:$n.url||$n.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:$n.url||$n.thumbUrl?void 0:zr,onClick:Vo=>no($n,Vo),title:ua.previewFile},typeof $a=="function"?$a($n):$a||b.createElement(Bt.Z,null)):null,co=(Qn==="picture-card"||Qn==="picture-circle")&&Bi!=="uploading"&&b.createElement("span",{className:`${Xt}-list-item-actions`},ko,Bi==="done"&&Jo,Qo),{getPrefixCls:di}=b.useContext(gt.E_),hi=di(),Qi=b.createElement("div",{className:gr},Do,ri,co,yo&&b.createElement(Je.default,{motionName:`${hi}-fade`,visible:Bi==="uploading",motionDeadline:2e3},Vo=>{let{className:wi}=Vo;const Vi="percent"in $n?b.createElement(Mt.Z,Object.assign({},da,{type:"line",percent:$n.percent,"aria-label":$n["aria-label"],"aria-labelledby":$n["aria-labelledby"]})):null;return b.createElement("div",{className:Ne()(`${Xt}-list-item-progress`,wi)},Vi)})),tl=$n.response&&typeof $n.response=="string"?$n.response:((Pr=$n.error)===null||Pr===void 0?void 0:Pr.statusText)||((si=$n.error)===null||si===void 0?void 0:si.message)||ua.uploadError,nl=Bi==="error"?b.createElement(dn.Z,{title:tl,getPopupContainer:Vo=>Vo.parentNode},Qi):Qi;return b.createElement("div",{className:Ne()(`${Xt}-list-item-container`,Nn),style:Kn,ref:bn},Cr?Cr(nl,$n,ur,{download:xr.bind(null,$n),preview:no.bind(null,$n),remove:Er.bind(null,$n)}):nl)});const Jn=($e,bn)=>{const{listType:Xt="text",previewFile:Nn=Te,onPreview:Kn,onDownload:ua,onRemove:Qn,locale:$n,iconRender:ur,isImageUrl:da=sn,prefixCls:En,items:dr=[],showPreviewIcon:Cr=!0,showRemoveIcon:Wr=!0,showDownloadIcon:Ir=!1,removeIcon:ha,previewIcon:Ha,downloadIcon:$a,progress:La={size:[-1,2],showInfo:!1},appendAction:Or,appendActionVisible:no=!0,itemRender:xr,disabled:Er}=$e,Pr=(0,It.Z)(),[si,ai]=b.useState(!1);b.useEffect(()=>{Xt!=="picture"&&Xt!=="picture-card"&&Xt!=="picture-circle"||(dr||[]).forEach(zr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(zr.originFileObj instanceof File||zr.originFileObj instanceof Blob)||zr.thumbUrl!==void 0||(zr.thumbUrl="",Nn&&Nn(zr.originFileObj).then(ko=>{zr.thumbUrl=ko||"",Pr()}))})},[Xt,dr,Nn]),b.useEffect(()=>{ai(!0)},[]);const Bi=(zr,ko)=>{if(Kn)return ko==null||ko.preventDefault(),Kn(zr)},po=zr=>{typeof ua=="function"?ua(zr):zr.url&&window.open(zr.url)},yo=zr=>{Qn==null||Qn(zr)},Go=zr=>{if(ur)return ur(zr,Xt);const ko=zr.status==="uploading",co=da&&da(zr)?b.createElement(fe,null):b.createElement(Vn,null);let di=ko?b.createElement(Zt.Z,null):b.createElement(ft,null);return Xt==="picture"?di=ko?b.createElement(Zt.Z,null):co:(Xt==="picture-card"||Xt==="picture-circle")&&(di=ko?$n.uploading:co),di},Mo=(zr,ko,co,di)=>{const hi={type:"text",size:"small",title:di,onClick:Qi=>{ko(),(0,Ie.l$)(zr)&&zr.props.onClick&&zr.props.onClick(Qi)},className:`${co}-list-item-action`,disabled:Er};if((0,Ie.l$)(zr)){const Qi=(0,Ie.Tm)(zr,Object.assign(Object.assign({},zr.props),{onClick:()=>{}}));return b.createElement(St.ZP,Object.assign({},hi,{icon:Qi}))}return b.createElement(St.ZP,Object.assign({},hi),b.createElement("span",null,zr))};b.useImperativeHandle(bn,()=>({handlePreview:Bi,handleDownload:po}));const{getPrefixCls:Do}=b.useContext(gt.E_),gr=Do("upload",En),eo=Do(),Qo=Ne()(`${gr}-list`,`${gr}-list-${Xt}`),Jo=(0,de.Z)(dr.map(zr=>({key:zr.uid,file:zr})));let br={motionDeadline:2e3,motionName:`${gr}-${Xt==="picture-card"||Xt==="picture-circle"?"animate-inline":"animate"}`,keys:Jo,motionAppear:si};const ri=b.useMemo(()=>{const zr=Object.assign({},(0,Oe.Z)(eo));return delete zr.onAppearEnd,delete zr.onEnterEnd,delete zr.onLeaveEnd,zr},[eo]);return Xt!=="picture-card"&&Xt!=="picture-circle"&&(br=Object.assign(Object.assign({},ri),br)),b.createElement("div",{className:Qo},b.createElement(Je.CSSMotionList,Object.assign({},br,{component:!1}),zr=>{let{key:ko,file:co,className:di,style:hi}=zr;return b.createElement(Ln,{key:ko,locale:$n,prefixCls:gr,className:di,style:hi,file:co,items:dr,progress:La,listType:Xt,isImgUrl:da,showPreviewIcon:Cr,showRemoveIcon:Wr,showDownloadIcon:Ir,removeIcon:ha,previewIcon:Ha,downloadIcon:$a,iconRender:Go,actionIconRender:Mo,itemRender:xr,onPreview:Bi,onDownload:po,onClose:yo})}),Or&&b.createElement(Je.default,Object.assign({},br,{visible:no,forceRender:!0}),zr=>{let{className:ko,style:co}=zr;return(0,Ie.Tm)(Or,di=>({className:Ne()(di.className,ko),style:Object.assign(Object.assign(Object.assign({},co),{pointerEvents:ko?"none":void 0}),di.style)}))}))};var Da=b.forwardRef(Jn),Na=ee(17313),ar=ee(8378),Ua=ee(83116),fa=ee(37613),en=$e=>{const{componentCls:bn,iconCls:Xt}=$e;return{[`${bn}-wrapper`]:{[`${bn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:$e.colorFillAlter,border:`${$e.lineWidth}px dashed ${$e.colorBorder}`,borderRadius:$e.borderRadiusLG,cursor:"pointer",transition:`border-color ${$e.motionDurationSlow}`,[bn]:{padding:`${$e.padding}px 0`},[`${bn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${bn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${bn}-disabled):hover`]:{borderColor:$e.colorPrimaryHover},[`p${bn}-drag-icon`]:{marginBottom:$e.margin,[Xt]:{color:$e.colorPrimary,fontSize:$e.uploadThumbnailSize}},[`p${bn}-text`]:{margin:`0 0 ${$e.marginXXS}px`,color:$e.colorTextHeading,fontSize:$e.fontSizeLG},[`p${bn}-hint`]:{color:$e.colorTextDescription,fontSize:$e.fontSize},[`&${bn}-disabled`]:{cursor:"not-allowed",[`p${bn}-drag-icon ${Xt},
p${bn}-text,
p${bn}-hint
`]:{color:$e.colorTextDisabled}}}}}},la=$e=>{const{componentCls:bn,antCls:Xt,iconCls:Nn,fontSize:Kn,lineHeight:ua}=$e,Qn=`${bn}-list-item`,$n=`${Qn}-actions`,ur=`${Qn}-action`,da=Math.round(Kn*ua);return{[`${bn}-wrapper`]:{[`${bn}-list`]:Object.assign(Object.assign({},(0,Na.dF)()),{lineHeight:$e.lineHeight,[Qn]:{position:"relative",height:$e.lineHeight*Kn,marginTop:$e.marginXS,fontSize:Kn,display:"flex",alignItems:"center",transition:`background-color ${$e.motionDurationSlow}`,"&:hover":{backgroundColor:$e.controlItemBgHover},[`${Qn}-name`]:Object.assign(Object.assign({},Na.vS),{padding:`0 ${$e.paddingXS}px`,lineHeight:ua,flex:"auto",transition:`all ${$e.motionDurationSlow}`}),[$n]:{[ur]:{opacity:0},[`${ur}${Xt}-btn-sm`]:{height:da,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${ur}:focus-visible,
&.picture ${ur}
`]:{opacity:1},[Nn]:{color:$e.actionsColor,transition:`all ${$e.motionDurationSlow}`},[`&:hover ${Nn}`]:{color:$e.colorText}},[`${bn}-icon ${Nn}`]:{color:$e.colorTextDescription,fontSize:Kn},[`${Qn}-progress`]:{position:"absolute",bottom:-$e.uploadProgressOffset,width:"100%",paddingInlineStart:Kn+$e.paddingXS,fontSize:Kn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Qn}:hover ${ur}`]:{opacity:1,color:$e.colorText},[`${Qn}-error`]:{color:$e.colorError,[`${Qn}-name, ${bn}-icon ${Nn}`]:{color:$e.colorError},[$n]:{[`${Nn}, ${Nn}:hover`]:{color:$e.colorError},[ur]:{opacity:1}}},[`${bn}-list-item-container`]:{transition:`opacity ${$e.motionDurationSlow}, height ${$e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},xa=ee(93083),Ge=ee(1950);const Ot=new xa.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),_t=new xa.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Wt=$e=>{const{componentCls:bn}=$e,Xt=`${bn}-animate-inline`;return[{[`${bn}-wrapper`]:{[`${Xt}-appear, ${Xt}-enter, ${Xt}-leave`]:{animationDuration:$e.motionDurationSlow,animationTimingFunction:$e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Xt}-appear, ${Xt}-enter`]:{animationName:Ot},[`${Xt}-leave`]:{animationName:_t}}},{[`${bn}-wrapper`]:(0,Ge.J$)($e)},Ot,_t]},Rn=ee(30071),Bn=ee(64993);const vt=$e=>{const{componentCls:bn,iconCls:Xt,uploadThumbnailSize:Nn,uploadProgressOffset:Kn}=$e,ua=`${bn}-list`,Qn=`${ua}-item`;return{[`${bn}-wrapper`]:{[`
${ua}${ua}-picture,
${ua}${ua}-picture-card,
${ua}${ua}-picture-circle
`]:{[Qn]:{position:"relative",height:Nn+$e.lineWidth*2+$e.paddingXS*2,padding:$e.paddingXS,border:`${$e.lineWidth}px ${$e.lineType} ${$e.colorBorder}`,borderRadius:$e.borderRadiusLG,"&:hover":{background:"transparent"},[`${Qn}-thumbnail`]:Object.assign(Object.assign({},Na.vS),{width:Nn,height:Nn,lineHeight:`${Nn+$e.paddingSM}px`,textAlign:"center",flex:"none",[Xt]:{fontSize:$e.fontSizeHeading2,color:$e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Qn}-progress`]:{bottom:Kn,width:`calc(100% - ${$e.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Nn+$e.paddingXS}},[`${Qn}-error`]:{borderColor:$e.colorError,[`${Qn}-thumbnail ${Xt}`]:{[`svg path[fill='${Rn.blue[0]}']`]:{fill:$e.colorErrorBg},[`svg path[fill='${Rn.blue.primary}']`]:{fill:$e.colorError}}},[`${Qn}-uploading`]:{borderStyle:"dashed",[`${Qn}-name`]:{marginBottom:Kn}}},[`${ua}${ua}-picture-circle ${Qn}`]:{[`&, &::before, ${Qn}-thumbnail`]:{borderRadius:"50%"}}}}},Ft=$e=>{const{componentCls:bn,iconCls:Xt,fontSizeLG:Nn,colorTextLightSolid:Kn}=$e,ua=`${bn}-list`,Qn=`${ua}-item`,$n=$e.uploadPicCardSize;return{[`
${bn}-wrapper${bn}-picture-card-wrapper,
${bn}-wrapper${bn}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,Na.dF)()),{display:"inline-block",width:"100%",[`${bn}${bn}-select`]:{width:$n,height:$n,marginInlineEnd:$e.marginXS,marginBottom:$e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:$e.colorFillAlter,border:`${$e.lineWidth}px dashed ${$e.colorBorder}`,borderRadius:$e.borderRadiusLG,cursor:"pointer",transition:`border-color ${$e.motionDurationSlow}`,[`> ${bn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${bn}-disabled):hover`]:{borderColor:$e.colorPrimary}},[`${ua}${ua}-picture-card, ${ua}${ua}-picture-circle`]:{[`${ua}-item-container`]:{display:"inline-block",width:$n,height:$n,marginBlock:`0 ${$e.marginXS}px`,marginInline:`0 ${$e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Qn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${$e.paddingXS*2}px)`,height:`calc(100% - ${$e.paddingXS*2}px)`,backgroundColor:$e.colorBgMask,opacity:0,transition:`all ${$e.motionDurationSlow}`,content:'" "'}},[`${Qn}:hover`]:{[`&::before, ${Qn}-actions`]:{opacity:1}},[`${Qn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${$e.motionDurationSlow}`,[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{zIndex:10,width:Nn,margin:`0 ${$e.marginXXS}px`,fontSize:Nn,cursor:"pointer",transition:`all ${$e.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Qn}-actions, ${Qn}-actions:hover`]:{[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{color:new Bn.C(Kn).setAlpha(.65).toRgbString(),"&:hover":{color:Kn}}},[`${Qn}-thumbnail, ${Qn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Qn}-name`]:{display:"none",textAlign:"center"},[`${Qn}-file + ${Qn}-name`]:{position:"absolute",bottom:$e.margin,display:"block",width:`calc(100% - ${$e.paddingXS*2}px)`},[`${Qn}-uploading`]:{[`&${Qn}`]:{backgroundColor:$e.colorFillAlter},[`&::before, ${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{display:"none"}},[`${Qn}-progress`]:{bottom:$e.marginXL,width:`calc(100% - ${$e.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${bn}-wrapper${bn}-picture-circle-wrapper`]:{[`${bn}${bn}-select`]:{borderRadius:"50%"}}}};var Sn=$e=>{const{componentCls:bn}=$e;return{[`${bn}-rtl`]:{direction:"rtl"}}};const Wn=$e=>{const{componentCls:bn,colorTextDisabled:Xt}=$e;return{[`${bn}-wrapper`]:Object.assign(Object.assign({},(0,Na.Wf)($e)),{[bn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${bn}-select`]:{display:"inline-block"},[`${bn}-disabled`]:{color:Xt,cursor:"not-allowed"}})}};var An=(0,Ua.Z)("Upload",$e=>{const{fontSizeHeading3:bn,fontSize:Xt,lineHeight:Nn,lineWidth:Kn,controlHeightLG:ua}=$e,Qn=Math.round(Xt*Nn),$n=(0,fa.TS)($e,{uploadThumbnailSize:bn*2,uploadProgressOffset:Qn/2+Kn,uploadPicCardSize:ua*2.55});return[Wn($n),en($n),vt($n),Ft($n),la($n),Wt($n),Sn($n),(0,ar.Z)($n)]},$e=>({actionsColor:$e.colorTextDescription})),ka=function($e,bn,Xt,Nn){function Kn(ua){return ua instanceof Xt?ua:new Xt(function(Qn){Qn(ua)})}return new(Xt||(Xt=Promise))(function(ua,Qn){function $n(En){try{da(Nn.next(En))}catch(dr){Qn(dr)}}function ur(En){try{da(Nn.throw(En))}catch(dr){Qn(dr)}}function da(En){En.done?ua(En.value):Kn(En.value).then($n,ur)}da((Nn=Nn.apply($e,bn||[])).next())})};const pa=`__LIST_IGNORE_${Date.now()}__`,_n=($e,bn)=>{const{fileList:Xt,defaultFileList:Nn,onRemove:Kn,showUploadList:ua=!0,listType:Qn="text",onPreview:$n,onDownload:ur,onChange:da,onDrop:En,previewFile:dr,disabled:Cr,locale:Wr,iconRender:Ir,isImageUrl:ha,progress:Ha,prefixCls:$a,className:La,type:Or="select",children:no,style:xr,itemRender:Er,maxCount:Pr,data:si={},multiple:ai=!1,action:Bi="",accept:po="",supportServerRender:yo=!0,rootClassName:Go}=$e,Mo=b.useContext(mt.Z),Do=Cr!=null?Cr:Mo,[gr,eo]=(0,rt.Z)(Nn||[],{value:Xt,postState:jn=>jn!=null?jn:[]}),[Qo,Jo]=b.useState("drop"),Io=b.useRef(null);b.useMemo(()=>{const jn=Date.now();(Xt||[]).forEach((Xn,sr)=>{!Xn.uid&&!Object.isFrozen(Xn)&&(Xn.uid=`__AUTO__${jn}_${sr}__`)})},[Xt]);const br=(jn,Xn,sr)=>{let za=(0,de.Z)(Xn),Ta=!1;Pr===1?za=za.slice(-1):Pr&&(Ta=za.length>Pr,za=za.slice(0,Pr)),(0,ut.flushSync)(()=>{eo(za)});const Ja={file:jn,fileList:za};sr&&(Ja.event=sr),(!Ta||za.some(Rr=>Rr.uid===jn.uid))&&(0,ut.flushSync)(()=>{da==null||da(Ja)})},ri=(jn,Xn)=>ka(void 0,void 0,void 0,function*(){const{beforeUpload:sr,transformFile:za}=$e;let Ta=jn;if(sr){const Ja=yield sr(jn,Xn);if(Ja===!1)return!1;if(delete jn[pa],Ja===pa)return Object.defineProperty(jn,pa,{value:!0,configurable:!0}),!1;typeof Ja=="object"&&Ja&&(Ta=Ja)}return za&&(Ta=yield za(Ta)),Ta}),zr=jn=>{const Xn=jn.filter(Ta=>!Ta.file[pa]);if(!Xn.length)return;const sr=Xn.map(Ta=>at(Ta.file));let za=(0,de.Z)(gr);sr.forEach(Ta=>{za=Me(Ta,za)}),sr.forEach((Ta,Ja)=>{let Rr=Ta;if(Xn[Ja].parsedFile)Ta.status="uploading";else{const{originFileObj:bo}=Ta;let Uo;try{Uo=new File([bo],bo.name,{type:bo.type})}catch(Wo){Uo=new Blob([bo],{type:bo.type}),Uo.name=bo.name,Uo.lastModifiedDate=new Date,Uo.lastModified=new Date().getTime()}Uo.uid=Ta.uid,Rr=Uo}br(Rr,za)})},ko=(jn,Xn,sr)=>{try{typeof jn=="string"&&(jn=JSON.parse(jn))}catch(Ja){}if(!yt(Xn,gr))return;const za=at(Xn);za.status="done",za.percent=100,za.response=jn,za.xhr=sr;const Ta=Me(za,gr);br(za,Ta)},co=(jn,Xn)=>{if(!yt(Xn,gr))return;const sr=at(Xn);sr.status="uploading",sr.percent=jn.percent;const za=Me(sr,gr);br(sr,za,jn)},di=(jn,Xn,sr)=>{if(!yt(sr,gr))return;const za=at(sr);za.error=jn,za.response=Xn,za.status="error";const Ta=Me(za,gr);br(za,Ta)},hi=jn=>{let Xn;Promise.resolve(typeof Kn=="function"?Kn(jn):Kn).then(sr=>{var za;if(sr===!1)return;const Ta=Fn(jn,gr);Ta&&(Xn=Object.assign(Object.assign({},jn),{status:"removed"}),gr==null||gr.forEach(Ja=>{const Rr=Xn.uid!==void 0?"uid":"name";Ja[Rr]===Xn[Rr]&&!Object.isFrozen(Ja)&&(Ja.status="removed")}),(za=Io.current)===null||za===void 0||za.abort(Xn),br(Xn,Ta))})},Qi=jn=>{Jo(jn.type),jn.type==="drop"&&(En==null||En(jn))};b.useImperativeHandle(bn,()=>({onBatchStart:zr,onSuccess:ko,onProgress:co,onError:di,fileList:gr,upload:Io.current}));const{getPrefixCls:tl,direction:nl,upload:Vo}=b.useContext(gt.E_),wi=tl("upload",$a),Vi=Object.assign(Object.assign({onBatchStart:zr,onError:di,onProgress:co,onSuccess:ko},$e),{data:si,multiple:ai,action:Bi,accept:po,supportServerRender:yo,prefixCls:wi,disabled:Do,beforeUpload:ri,onChange:void 0});delete Vi.className,delete Vi.style,(!no||Do)&&delete Vi.id;const[dl,ml]=An(wi),[yl]=(0,un.Z)("Upload",Nt.Z.Upload),{showRemoveIcon:kr,showPreviewIcon:Qa,showDownloadIcon:Ga,removeIcon:Ya,previewIcon:uo,downloadIcon:we}=typeof ua=="boolean"?{}:ua,vn=(jn,Xn)=>ua?b.createElement(Da,{prefixCls:wi,listType:Qn,items:gr,previewFile:dr,onPreview:$n,onDownload:ur,onRemove:hi,showRemoveIcon:!Do&&kr,showPreviewIcon:Qa,showDownloadIcon:Ga,removeIcon:Ya,previewIcon:uo,downloadIcon:we,iconRender:Ir,locale:Object.assign(Object.assign({},yl),Wr),isImageUrl:ha,progress:Ha,appendAction:jn,appendActionVisible:Xn,itemRender:Er,disabled:Do}):jn,Mn=Ne()(`${wi}-wrapper`,La,Go,ml,Vo==null?void 0:Vo.className,{[`${wi}-rtl`]:nl==="rtl",[`${wi}-picture-card-wrapper`]:Qn==="picture-card",[`${wi}-picture-circle-wrapper`]:Qn==="picture-circle"}),Sa=Object.assign(Object.assign({},Vo==null?void 0:Vo.style),xr);if(Or==="drag"){const jn=Ne()(ml,wi,`${wi}-drag`,{[`${wi}-drag-uploading`]:gr.some(Xn=>Xn.status==="uploading"),[`${wi}-drag-hover`]:Qo==="dragover",[`${wi}-disabled`]:Do,[`${wi}-rtl`]:nl==="rtl"});return dl(b.createElement("span",{className:Mn},b.createElement("div",{className:jn,style:Sa,onDrop:Qi,onDragOver:Qi,onDragLeave:Qi},b.createElement(Le,Object.assign({},Vi,{ref:Io,className:`${wi}-btn`}),b.createElement("div",{className:`${wi}-drag-container`},no))),vn()))}const ln=Ne()(wi,`${wi}-select`,{[`${wi}-disabled`]:Do}),Fa=(jn=>b.createElement("div",{className:ln,style:jn},b.createElement(Le,Object.assign({},Vi,{ref:Io}))))(no?void 0:{display:"none"});return dl(Qn==="picture-card"||Qn==="picture-circle"?b.createElement("span",{className:Mn},vn(Fa,!!no)):b.createElement("span",{className:Mn},Fa,vn()))};var Pa=b.forwardRef(_n),Dn=function($e,bn){var Xt={};for(var Nn in $e)Object.prototype.hasOwnProperty.call($e,Nn)&&bn.indexOf(Nn)<0&&(Xt[Nn]=$e[Nn]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kn=0,Nn=Object.getOwnPropertySymbols($e);Kn<Nn.length;Kn++)bn.indexOf(Nn[Kn])<0&&Object.prototype.propertyIsEnumerable.call($e,Nn[Kn])&&(Xt[Nn[Kn]]=$e[Nn[Kn]]);return Xt},Nr=b.forwardRef(($e,bn)=>{var{style:Xt,height:Nn}=$e,Kn=Dn($e,["style","height"]);return b.createElement(Pa,Object.assign({ref:bn},Kn,{type:"drag",style:Object.assign(Object.assign({},Xt),{height:Nn})}))});const $r=Pa;$r.Dragger=Nr,$r.LIST_IGNORE=pa;var Sr=$r},24334:function(Qt,Gt,ee){var b,de;(function(Be,Ne){Qt.exports=Ne(Be)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ee.g!="undefined"?ee.g:this,function(Be){"use strict";Be=Be||{};var Ne=Be.Base64,Ze="2.6.4",ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=function(Ke){for(var ht={},Le=0,rt=Ke.length;Le<rt;Le++)ht[Ke.charAt(Le)]=Le;return ht}(ke),st=String.fromCharCode,et=function(Ke){if(Ke.length<2){var ht=Ke.charCodeAt(0);return ht<128?Ke:ht<2048?st(192|ht>>>6)+st(128|ht&63):st(224|ht>>>12&15)+st(128|ht>>>6&63)+st(128|ht&63)}else{var ht=65536+(Ke.charCodeAt(0)-55296)*1024+(Ke.charCodeAt(1)-56320);return st(240|ht>>>18&7)+st(128|ht>>>12&63)+st(128|ht>>>6&63)+st(128|ht&63)}},Ve=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,je=function(Ke){return Ke.replace(Ve,et)},Xe=function(Ke){var ht=[0,2,1][Ke.length%3],Le=Ke.charCodeAt(0)<<16|(Ke.length>1?Ke.charCodeAt(1):0)<<8|(Ke.length>2?Ke.charCodeAt(2):0),rt=[ke.charAt(Le>>>18),ke.charAt(Le>>>12&63),ht>=2?"=":ke.charAt(Le>>>6&63),ht>=1?"=":ke.charAt(Le&63)];return rt.join("")},Ye=Be.btoa&&typeof Be.btoa=="function"?function(Ke){return Be.btoa(Ke)}:function(Ke){if(Ke.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ke.replace(/[\s\S]{1,3}/g,Xe)},se=function(Ke){return Ye(je(String(Ke)))},E=function(Ke){return Ke.replace(/[+\/]/g,function(ht){return ht=="+"?"-":"_"}).replace(/=/g,"")},a=function(Ke,ht){return ht?E(se(Ke)):se(Ke)},x=function(Ke){return a(Ke,!0)},y;Be.Uint8Array&&(y=function(Ke,ht){for(var Le="",rt=0,ut=Ke.length;rt<ut;rt+=3){var gt=Ke[rt],mt=Ke[rt+1],un=Ke[rt+2],Nt=gt<<16|mt<<8|un;Le+=ke.charAt(Nt>>>18)+ke.charAt(Nt>>>12&63)+(typeof mt!="undefined"?ke.charAt(Nt>>>6&63):"=")+(typeof un!="undefined"?ke.charAt(Nt&63):"=")}return ht?E(Le):Le});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ne=function(Ke){switch(Ke.length){case 4:var ht=(7&Ke.charCodeAt(0))<<18|(63&Ke.charCodeAt(1))<<12|(63&Ke.charCodeAt(2))<<6|63&Ke.charCodeAt(3),Le=ht-65536;return st((Le>>>10)+55296)+st((Le&1023)+56320);case 3:return st((15&Ke.charCodeAt(0))<<12|(63&Ke.charCodeAt(1))<<6|63&Ke.charCodeAt(2));default:return st((31&Ke.charCodeAt(0))<<6|63&Ke.charCodeAt(1))}},re=function(Ke){return Ke.replace(z,ne)},ue=function(Ke){var ht=Ke.length,Le=ht%4,rt=(ht>0?le[Ke.charAt(0)]<<18:0)|(ht>1?le[Ke.charAt(1)]<<12:0)|(ht>2?le[Ke.charAt(2)]<<6:0)|(ht>3?le[Ke.charAt(3)]:0),ut=[st(rt>>>16),st(rt>>>8&255),st(rt&255)];return ut.length-=[0,0,2,1][Le],ut.join("")},oe=Be.atob&&typeof Be.atob=="function"?function(Ke){return Be.atob(Ke)}:function(Ke){return Ke.replace(/\S{1,4}/g,ue)},ve=function(Ke){return oe(String(Ke).replace(/[^A-Za-z0-9\+\/]/g,""))},be=function(Ke){return re(oe(Ke))},We=function(Ke){return String(Ke).replace(/[-_]/g,function(ht){return ht=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ae=function(Ke){return be(We(Ke))},He;Be.Uint8Array&&(He=function(Ke){return Uint8Array.from(ve(We(Ke)),function(ht){return ht.charCodeAt(0)})});var he=function(){var Ke=Be.Base64;return Be.Base64=Ne,Ke};if(Be.Base64={VERSION:Ze,atob:ve,btoa:Ye,fromBase64:Ae,toBase64:a,utob:je,encode:a,encodeURI:x,btou:re,decode:Ae,noConflict:he,fromUint8Array:y,toUint8Array:He},typeof Object.defineProperty=="function"){var qe=function(Ke){return{value:Ke,enumerable:!1,writable:!0,configurable:!0}};Be.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",qe(function(){return Ae(this)})),Object.defineProperty(String.prototype,"toBase64",qe(function(Ke){return a(this,Ke)})),Object.defineProperty(String.prototype,"toBase64URI",qe(function(){return a(this,!0)}))}}return Be.Meteor&&(Base64=Be.Base64),Qt.exports?Qt.exports.Base64=Be.Base64:(b=[],de=function(){return Be.Base64}.apply(Gt,b),de!==void 0&&(Qt.exports=de)),{Base64:Be.Base64}})},39417:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return be}});var b=ee(14809),de=ee(4635),Be=ee(62646),Ne=ee(20439),Ze=ee(99153),ke=ee(84851),le=ee(13028),st=ee(19257),et=ee(93046),Ve=ee(92310),je=ee.n(Ve),Xe=ee(26112),Ye=ee(59301),se=ee(39378),E=function(Ae){for(var He=Ae.prefixCls,he=Ae.level,qe=Ae.isStart,Ke=Ae.isEnd,ht="".concat(He,"-indent-unit"),Le=[],rt=0;rt<he;rt+=1){var ut;Le.push(Ye.createElement("span",{key:rt,className:je()(ht,(ut={},(0,de.Z)(ut,"".concat(ht,"-start"),qe[rt]),(0,de.Z)(ut,"".concat(ht,"-end"),Ke[rt]),ut))}))}return Ye.createElement("span",{"aria-hidden":"true",className:"".concat(He,"-indent")},Le)},a=Ye.memo(E),x=ee(67841),y=ee(71430),z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ne="open",re="close",ue="---",oe=function(We){(0,st.Z)(He,We);var Ae=(0,et.Z)(He);function He(){var he;(0,Ze.Z)(this,He);for(var qe=arguments.length,Ke=new Array(qe),ht=0;ht<qe;ht++)Ke[ht]=arguments[ht];return he=Ae.call.apply(Ae,[this].concat(Ke)),he.state={dragNodeHighlight:!1},he.selectHandle=void 0,he.cacheIndent=void 0,he.onSelectorClick=function(Le){var rt=he.props.context.onNodeClick;rt(Le,(0,y.F)(he.props)),he.isSelectable()?he.onSelect(Le):he.onCheck(Le)},he.onSelectorDoubleClick=function(Le){var rt=he.props.context.onNodeDoubleClick;rt(Le,(0,y.F)(he.props))},he.onSelect=function(Le){if(!he.isDisabled()){var rt=he.props.context.onNodeSelect;rt(Le,(0,y.F)(he.props))}},he.onCheck=function(Le){if(!he.isDisabled()){var rt=he.props,ut=rt.disableCheckbox,gt=rt.checked,mt=he.props.context.onNodeCheck;if(!(!he.isCheckable()||ut)){var un=!gt;mt(Le,(0,y.F)(he.props),un)}}},he.onMouseEnter=function(Le){var rt=he.props.context.onNodeMouseEnter;rt(Le,(0,y.F)(he.props))},he.onMouseLeave=function(Le){var rt=he.props.context.onNodeMouseLeave;rt(Le,(0,y.F)(he.props))},he.onContextMenu=function(Le){var rt=he.props.context.onNodeContextMenu;rt(Le,(0,y.F)(he.props))},he.onDragStart=function(Le){var rt=he.props.context.onNodeDragStart;Le.stopPropagation(),he.setState({dragNodeHighlight:!0}),rt(Le,(0,le.Z)(he));try{Le.dataTransfer.setData("text/plain","")}catch(ut){}},he.onDragEnter=function(Le){var rt=he.props.context.onNodeDragEnter;Le.preventDefault(),Le.stopPropagation(),rt(Le,(0,le.Z)(he))},he.onDragOver=function(Le){var rt=he.props.context.onNodeDragOver;Le.preventDefault(),Le.stopPropagation(),rt(Le,(0,le.Z)(he))},he.onDragLeave=function(Le){var rt=he.props.context.onNodeDragLeave;Le.stopPropagation(),rt(Le,(0,le.Z)(he))},he.onDragEnd=function(Le){var rt=he.props.context.onNodeDragEnd;Le.stopPropagation(),he.setState({dragNodeHighlight:!1}),rt(Le,(0,le.Z)(he))},he.onDrop=function(Le){var rt=he.props.context.onNodeDrop;Le.preventDefault(),Le.stopPropagation(),he.setState({dragNodeHighlight:!1}),rt(Le,(0,le.Z)(he))},he.onExpand=function(Le){var rt=he.props,ut=rt.loading,gt=rt.context.onNodeExpand;ut||gt(Le,(0,y.F)(he.props))},he.setSelectHandle=function(Le){he.selectHandle=Le},he.getNodeState=function(){var Le=he.props.expanded;return he.isLeaf()?null:Le?ne:re},he.hasChildren=function(){var Le=he.props.eventKey,rt=he.props.context.keyEntities,ut=(0,x.Z)(rt,Le)||{},gt=ut.children;return!!(gt||[]).length},he.isLeaf=function(){var Le=he.props,rt=Le.isLeaf,ut=Le.loaded,gt=he.props.context.loadData,mt=he.hasChildren();return rt===!1?!1:rt||!gt&&!mt||gt&&ut&&!mt},he.isDisabled=function(){var Le=he.props.disabled,rt=he.props.context.disabled;return!!(rt||Le)},he.isCheckable=function(){var Le=he.props.checkable,rt=he.props.context.checkable;return!rt||Le===!1?!1:rt},he.syncLoadData=function(Le){var rt=Le.expanded,ut=Le.loading,gt=Le.loaded,mt=he.props.context,un=mt.loadData,Nt=mt.onNodeLoad;ut||un&&rt&&!he.isLeaf()&&!he.hasChildren()&&!gt&&Nt((0,y.F)(he.props))},he.isDraggable=function(){var Le=he.props,rt=Le.data,ut=Le.context.draggable;return!!(ut&&(!ut.nodeDraggable||ut.nodeDraggable(rt)))},he.renderDragHandler=function(){var Le=he.props.context,rt=Le.draggable,ut=Le.prefixCls;return rt!=null&&rt.icon?Ye.createElement("span",{className:"".concat(ut,"-draggable-icon")},rt.icon):null},he.renderSwitcherIconDom=function(Le){var rt=he.props.switcherIcon,ut=he.props.context.switcherIcon,gt=rt||ut;return typeof gt=="function"?gt((0,Ne.Z)((0,Ne.Z)({},he.props),{},{isLeaf:Le})):gt},he.renderSwitcher=function(){var Le=he.props.expanded,rt=he.props.context.prefixCls;if(he.isLeaf()){var ut=he.renderSwitcherIconDom(!0);return ut!==!1?Ye.createElement("span",{className:je()("".concat(rt,"-switcher"),"".concat(rt,"-switcher-noop"))},ut):null}var gt=je()("".concat(rt,"-switcher"),"".concat(rt,"-switcher_").concat(Le?ne:re)),mt=he.renderSwitcherIconDom(!1);return mt!==!1?Ye.createElement("span",{onClick:he.onExpand,className:gt},mt):null},he.renderCheckbox=function(){var Le=he.props,rt=Le.checked,ut=Le.halfChecked,gt=Le.disableCheckbox,mt=he.props.context.prefixCls,un=he.isDisabled(),Nt=he.isCheckable();if(!Nt)return null;var rn=typeof Nt!="boolean"?Nt:null;return Ye.createElement("span",{className:je()("".concat(mt,"-checkbox"),rt&&"".concat(mt,"-checkbox-checked"),!rt&&ut&&"".concat(mt,"-checkbox-indeterminate"),(un||gt)&&"".concat(mt,"-checkbox-disabled")),onClick:he.onCheck},rn)},he.renderIcon=function(){var Le=he.props.loading,rt=he.props.context.prefixCls;return Ye.createElement("span",{className:je()("".concat(rt,"-iconEle"),"".concat(rt,"-icon__").concat(he.getNodeState()||"docu"),Le&&"".concat(rt,"-icon_loading"))})},he.renderSelector=function(){var Le=he.state.dragNodeHighlight,rt=he.props,ut=rt.title,gt=ut===void 0?ue:ut,mt=rt.selected,un=rt.icon,Nt=rt.loading,rn=rt.data,nn=he.props.context,Ue=nn.prefixCls,dt=nn.showIcon,on=nn.icon,Vn=nn.loadData,Zt=nn.titleRender,wn=he.isDisabled(),ze="".concat(Ue,"-node-content-wrapper"),ct;if(dt){var kt=un||on;ct=kt?Ye.createElement("span",{className:je()("".concat(Ue,"-iconEle"),"".concat(Ue,"-icon__customize"))},typeof kt=="function"?kt(he.props):kt):he.renderIcon()}else Vn&&Nt&&(ct=he.renderIcon());var ft;typeof gt=="function"?ft=gt(rn):Zt?ft=Zt(rn):ft=gt;var At=Ye.createElement("span",{className:"".concat(Ue,"-title")},ft);return Ye.createElement("span",{ref:he.setSelectHandle,title:typeof gt=="string"?gt:"",className:je()("".concat(ze),"".concat(ze,"-").concat(he.getNodeState()||"normal"),!wn&&(mt||Le)&&"".concat(Ue,"-node-selected")),onMouseEnter:he.onMouseEnter,onMouseLeave:he.onMouseLeave,onContextMenu:he.onContextMenu,onClick:he.onSelectorClick,onDoubleClick:he.onSelectorDoubleClick},ct,At,he.renderDropIndicator())},he.renderDropIndicator=function(){var Le=he.props,rt=Le.disabled,ut=Le.eventKey,gt=he.props.context,mt=gt.draggable,un=gt.dropLevelOffset,Nt=gt.dropPosition,rn=gt.prefixCls,nn=gt.indent,Ue=gt.dropIndicatorRender,dt=gt.dragOverNodeKey,on=gt.direction,Vn=!!mt,Zt=!rt&&Vn&&dt===ut,wn=nn!=null?nn:he.cacheIndent;return he.cacheIndent=nn,Zt?Ue({dropPosition:Nt,dropLevelOffset:un,indent:wn,prefixCls:rn,direction:on}):null},he}return(0,ke.Z)(He,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var qe=this.props.selectable,Ke=this.props.context.selectable;return typeof qe=="boolean"?qe:Ke}},{key:"render",value:function(){var qe,Ke=this.props,ht=Ke.eventKey,Le=Ke.className,rt=Ke.style,ut=Ke.dragOver,gt=Ke.dragOverGapTop,mt=Ke.dragOverGapBottom,un=Ke.isLeaf,Nt=Ke.isStart,rn=Ke.isEnd,nn=Ke.expanded,Ue=Ke.selected,dt=Ke.checked,on=Ke.halfChecked,Vn=Ke.loading,Zt=Ke.domRef,wn=Ke.active,ze=Ke.data,ct=Ke.onMouseMove,kt=Ke.selectable,ft=(0,Be.Z)(Ke,z),At=this.props.context,it=At.prefixCls,nt=At.filterTreeNode,De=At.keyEntities,fe=At.dropContainerKey,Je=At.dropTargetKey,It=At.draggingNodeKey,Oe=this.isDisabled(),Ie=(0,Xe.Z)(ft,{aria:!0,data:!0}),St=(0,x.Z)(De,ht)||{},at=St.level,Me=rn[rn.length-1],yt=this.isDraggable(),Fn=!Oe&&yt,an=It===ht,cn=kt!==void 0?{"aria-selected":!!kt}:void 0;return Ye.createElement("div",(0,b.Z)({ref:Zt,className:je()(Le,"".concat(it,"-treenode"),(qe={},(0,de.Z)(qe,"".concat(it,"-treenode-disabled"),Oe),(0,de.Z)(qe,"".concat(it,"-treenode-switcher-").concat(nn?"open":"close"),!un),(0,de.Z)(qe,"".concat(it,"-treenode-checkbox-checked"),dt),(0,de.Z)(qe,"".concat(it,"-treenode-checkbox-indeterminate"),on),(0,de.Z)(qe,"".concat(it,"-treenode-selected"),Ue),(0,de.Z)(qe,"".concat(it,"-treenode-loading"),Vn),(0,de.Z)(qe,"".concat(it,"-treenode-active"),wn),(0,de.Z)(qe,"".concat(it,"-treenode-leaf-last"),Me),(0,de.Z)(qe,"".concat(it,"-treenode-draggable"),yt),(0,de.Z)(qe,"dragging",an),(0,de.Z)(qe,"drop-target",Je===ht),(0,de.Z)(qe,"drop-container",fe===ht),(0,de.Z)(qe,"drag-over",!Oe&&ut),(0,de.Z)(qe,"drag-over-gap-top",!Oe&&gt),(0,de.Z)(qe,"drag-over-gap-bottom",!Oe&&mt),(0,de.Z)(qe,"filter-node",nt&&nt((0,y.F)(this.props))),qe)),style:rt,draggable:Fn,"aria-grabbed":an,onDragStart:Fn?this.onDragStart:void 0,onDragEnter:yt?this.onDragEnter:void 0,onDragOver:yt?this.onDragOver:void 0,onDragLeave:yt?this.onDragLeave:void 0,onDrop:yt?this.onDrop:void 0,onDragEnd:yt?this.onDragEnd:void 0,onMouseMove:ct},cn,Ie),Ye.createElement(a,{prefixCls:it,level:at,isStart:Nt,isEnd:rn}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),He}(Ye.Component),ve=function(Ae){return Ye.createElement(se.k.Consumer,null,function(He){return Ye.createElement(oe,(0,b.Z)({},Ae,{context:He}))})};ve.displayName="TreeNode",ve.isTreeNode=1;var be=ve},39378:function(Qt,Gt,ee){"use strict";ee.d(Gt,{k:function(){return de}});var b=ee(59301),de=b.createContext(null)},79556:function(Qt,Gt,ee){"use strict";ee.d(Gt,{O:function(){return be.Z},Z:function(){return At}});var b=ee(14809),de=ee(4635),Be=ee(93664),Ne=ee(20439),Ze=ee(95190),ke=ee(99153),le=ee(84851),st=ee(13028),et=ee(19257),Ve=ee(93046),je=ee(92310),Xe=ee.n(je),Ye=ee(10228),se=ee(26112),E=ee(48736),a=ee(59301),x=ee(39378);function y(it){var nt=it.dropPosition,De=it.dropLevelOffset,fe=it.indent,Je={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(nt){case-1:Je.top=0,Je.left=-De*fe;break;case 1:Je.bottom=0,Je.left=-De*fe;break;case 0:Je.bottom=0,Je.left=fe;break}return a.createElement("div",{style:Je})}function z(it){if(it==null)throw new TypeError("Cannot destructure "+it)}var ne=ee(50298),re=ee(62646),ue=ee(34280),oe=ee(6790),ve=ee(77900),be=ee(39417);function We(it,nt){var De=a.useState(!1),fe=(0,ne.Z)(De,2),Je=fe[0],It=fe[1];a.useLayoutEffect(function(){if(Je)return it(),function(){nt()}},[Je]),a.useLayoutEffect(function(){return It(!0),function(){It(!1)}},[])}var Ae=ee(71430),He=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],he=function(nt,De){var fe=nt.className,Je=nt.style,It=nt.motion,Oe=nt.motionNodes,Ie=nt.motionType,St=nt.onMotionStart,at=nt.onMotionEnd,Me=nt.active,yt=nt.treeNodeRequiredProps,Fn=(0,re.Z)(nt,He),an=a.useState(!0),cn=(0,ne.Z)(an,2),sn=cn[0],yn=cn[1],Te=a.useContext(x.k),xt=Te.prefixCls,Ht=Oe&&Ie!=="hide";(0,ue.Z)(function(){Oe&&Ht!==sn&&yn(Ht)},[Oe]);var Bt=function(){Oe&&St()},Mt=a.useRef(!1),dn=function(){Oe&&!Mt.current&&(Mt.current=!0,at())};We(Bt,dn);var gn=function(Jn){Ht===Jn&&dn()};return Oe?a.createElement(ve.default,(0,b.Z)({ref:De,visible:sn},It,{motionAppear:Ie==="show",onVisibleChanged:gn}),function(Ln,Jn){var va=Ln.className,Da=Ln.style;return a.createElement("div",{ref:Jn,className:Xe()("".concat(xt,"-treenode-motion"),va),style:Da},Oe.map(function(Na){var ar=(0,b.Z)({},(z(Na.data),Na.data)),Ua=Na.title,fa=Na.key,yr=Na.isStart,en=Na.isEnd;delete ar.children;var On=(0,Ae.H8)(fa,yt);return a.createElement(be.Z,(0,b.Z)({},ar,On,{title:Ua,active:Me,data:Na.data,key:fa,isStart:yr,isEnd:en}))}))}):a.createElement(be.Z,(0,b.Z)({domRef:De,className:fe,style:Je},Fn,{active:Me}))};he.displayName="MotionTreeNode";var qe=a.forwardRef(he),Ke=qe;function ht(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],De=it.length,fe=nt.length;if(Math.abs(De-fe)!==1)return{add:!1,key:null};function Je(It,Oe){var Ie=new Map;It.forEach(function(at){Ie.set(at,!0)});var St=Oe.filter(function(at){return!Ie.has(at)});return St.length===1?St[0]:null}return De<fe?{add:!0,key:Je(it,nt)}:{add:!1,key:Je(nt,it)}}function Le(it,nt,De){var fe=it.findIndex(function(Ie){return Ie.key===De}),Je=it[fe+1],It=nt.findIndex(function(Ie){return Ie.key===De});if(Je){var Oe=nt.findIndex(function(Ie){return Ie.key===Je.key});return nt.slice(It+1,Oe)}return nt.slice(It+1)}var rt=["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"],ut={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},gt=function(){},mt="RC_TREE_MOTION_".concat(Math.random()),un={key:mt},Nt={key:mt,level:0,index:0,pos:"0",node:un,nodes:[un]},rn={parent:null,children:[],pos:Nt.pos,data:un,title:null,key:mt,isStart:[],isEnd:[]};function nn(it,nt,De,fe){return nt===!1||!De?it:it.slice(0,Math.ceil(De/fe)+1)}function Ue(it){var nt=it.key,De=it.pos;return(0,Ae.km)(nt,De)}function dt(it){for(var nt=String(it.data.key),De=it;De.parent;)De=De.parent,nt="".concat(De.data.key," > ").concat(nt);return nt}var on=a.forwardRef(function(it,nt){var De=it.prefixCls,fe=it.data,Je=it.selectable,It=it.checkable,Oe=it.expandedKeys,Ie=it.selectedKeys,St=it.checkedKeys,at=it.loadedKeys,Me=it.loadingKeys,yt=it.halfCheckedKeys,Fn=it.keyEntities,an=it.disabled,cn=it.dragging,sn=it.dragOverNodeKey,yn=it.dropPosition,Te=it.motion,xt=it.height,Ht=it.itemHeight,Bt=it.virtual,Mt=it.focusable,dn=it.activeItem,gn=it.focused,Ln=it.tabIndex,Jn=it.onKeyDown,va=it.onFocus,Da=it.onBlur,Na=it.onActiveChange,ar=it.onListChangeStart,Ua=it.onListChangeEnd,fa=(0,re.Z)(it,rt),yr=a.useRef(null),en=a.useRef(null);a.useImperativeHandle(nt,function(){return{scrollTo:function(Sr){yr.current.scrollTo(Sr)},getIndentWidth:function(){return en.current.offsetWidth}}});var On=a.useState(Oe),la=(0,ne.Z)(On,2),xa=la[0],Ge=la[1],Ot=a.useState(fe),_t=(0,ne.Z)(Ot,2),Vt=_t[0],Wt=_t[1],Rn=a.useState(fe),Bn=(0,ne.Z)(Rn,2),vt=Bn[0],Ft=Bn[1],pt=a.useState([]),Sn=(0,ne.Z)(pt,2),Wn=Sn[0],An=Sn[1],ka=a.useState(null),pa=(0,ne.Z)(ka,2),_n=pa[0],Ea=pa[1],Pa=a.useRef(fe);Pa.current=fe;function Dn(){var $r=Pa.current;Wt($r),Ft($r),An([]),Ea(null),Ua()}(0,ue.Z)(function(){Ge(Oe);var $r=ht(xa,Oe);if($r.key!==null)if($r.add){var Sr=Vt.findIndex(function(ua){var Qn=ua.key;return Qn===$r.key}),$e=nn(Le(Vt,fe,$r.key),Bt,xt,Ht),bn=Vt.slice();bn.splice(Sr+1,0,rn),Ft(bn),An($e),Ea("show")}else{var Xt=fe.findIndex(function(ua){var Qn=ua.key;return Qn===$r.key}),Nn=nn(Le(fe,Vt,$r.key),Bt,xt,Ht),Kn=fe.slice();Kn.splice(Xt+1,0,rn),Ft(Kn),An(Nn),Ea("hide")}else Vt!==fe&&(Wt(fe),Ft(fe))},[Oe,fe]),a.useEffect(function(){cn||Dn()},[cn]);var lr=Te?vt:fe,Nr={expandedKeys:Oe,selectedKeys:Ie,loadedKeys:at,loadingKeys:Me,checkedKeys:St,halfCheckedKeys:yt,dragOverNodeKey:sn,dropPosition:yn,keyEntities:Fn};return a.createElement(a.Fragment,null,gn&&dn&&a.createElement("span",{style:ut,"aria-live":"assertive"},dt(dn)),a.createElement("div",null,a.createElement("input",{style:ut,disabled:Mt===!1||an,tabIndex:Mt!==!1?Ln:null,onKeyDown:Jn,onFocus:va,onBlur:Da,value:"",onChange:gt,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(De,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(De,"-indent")},a.createElement("div",{ref:en,className:"".concat(De,"-indent-unit")}))),a.createElement(oe.Z,(0,b.Z)({},fa,{data:lr,itemKey:Ue,height:xt,fullHeight:!1,virtual:Bt,itemHeight:Ht,prefixCls:"".concat(De,"-list"),ref:yr,onVisibleChange:function(Sr,$e){var bn=new Set(Sr),Xt=$e.filter(function(Nn){return!bn.has(Nn)});Xt.some(function(Nn){return Ue(Nn)===mt})&&Dn()}}),function($r){var Sr=$r.pos,$e=(0,b.Z)({},(z($r.data),$r.data)),bn=$r.title,Xt=$r.key,Nn=$r.isStart,Kn=$r.isEnd,ua=(0,Ae.km)(Xt,Sr);delete $e.key,delete $e.children;var Qn=(0,Ae.H8)(ua,Nr);return a.createElement(Ke,(0,b.Z)({},$e,Qn,{title:bn,active:!!dn&&Xt===dn.key,pos:Sr,data:$r.data,isStart:Nn,isEnd:Kn,motion:Te,motionNodes:Xt===mt?Wn:null,motionType:_n,onMotionStart:ar,onMotionEnd:Dn,treeNodeRequiredProps:Nr,onMouseMove:function(){Na(null)}}))}))});on.displayName="NodeList";var Vn=on,Zt=ee(35654),wn=ee(90782),ze=ee(67841),ct=10,kt=function(it){(0,et.Z)(De,it);var nt=(0,Ve.Z)(De);function De(){var fe;(0,ke.Z)(this,De);for(var Je=arguments.length,It=new Array(Je),Oe=0;Oe<Je;Oe++)It[Oe]=arguments[Oe];return fe=nt.call.apply(nt,[this].concat(It)),fe.destroyed=!1,fe.delayedDragEnterLogic=void 0,fe.loadingRetryTimes={},fe.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Ae.w$)()},fe.dragStartMousePosition=null,fe.dragNode=void 0,fe.currentMouseOverDroppableNodeKey=null,fe.listRef=a.createRef(),fe.onNodeDragStart=function(Ie,St){var at=fe.state,Me=at.expandedKeys,yt=at.keyEntities,Fn=fe.props.onDragStart,an=St.props.eventKey;fe.dragNode=St,fe.dragStartMousePosition={x:Ie.clientX,y:Ie.clientY};var cn=(0,Zt._5)(Me,an);fe.setState({draggingNodeKey:an,dragChildrenKeys:(0,Zt.wA)(an,yt),indent:fe.listRef.current.getIndentWidth()}),fe.setExpandedKeys(cn),window.addEventListener("dragend",fe.onWindowDragEnd),Fn==null||Fn({event:Ie,node:(0,Ae.F)(St.props)})},fe.onNodeDragEnter=function(Ie,St){var at=fe.state,Me=at.expandedKeys,yt=at.keyEntities,Fn=at.dragChildrenKeys,an=at.flattenNodes,cn=at.indent,sn=fe.props,yn=sn.onDragEnter,Te=sn.onExpand,xt=sn.allowDrop,Ht=sn.direction,Bt=St.props,Mt=Bt.pos,dn=Bt.eventKey,gn=(0,st.Z)(fe),Ln=gn.dragNode;if(fe.currentMouseOverDroppableNodeKey!==dn&&(fe.currentMouseOverDroppableNodeKey=dn),!Ln){fe.resetDragState();return}var Jn=(0,Zt.OM)(Ie,Ln,St,cn,fe.dragStartMousePosition,xt,an,yt,Me,Ht),va=Jn.dropPosition,Da=Jn.dropLevelOffset,Na=Jn.dropTargetKey,ar=Jn.dropContainerKey,Ua=Jn.dropTargetPos,fa=Jn.dropAllowed,yr=Jn.dragOverNodeKey;if(Fn.indexOf(Na)!==-1||!fa){fe.resetDragState();return}if(fe.delayedDragEnterLogic||(fe.delayedDragEnterLogic={}),Object.keys(fe.delayedDragEnterLogic).forEach(function(en){clearTimeout(fe.delayedDragEnterLogic[en])}),Ln.props.eventKey!==St.props.eventKey&&(Ie.persist(),fe.delayedDragEnterLogic[Mt]=window.setTimeout(function(){if(fe.state.draggingNodeKey!==null){var en=(0,Ze.Z)(Me),On=(0,ze.Z)(yt,St.props.eventKey);On&&(On.children||[]).length&&(en=(0,Zt.L0)(Me,St.props.eventKey)),"expandedKeys"in fe.props||fe.setExpandedKeys(en),Te==null||Te(en,{node:(0,Ae.F)(St.props),expanded:!0,nativeEvent:Ie.nativeEvent})}},800)),Ln.props.eventKey===Na&&Da===0){fe.resetDragState();return}fe.setState({dragOverNodeKey:yr,dropPosition:va,dropLevelOffset:Da,dropTargetKey:Na,dropContainerKey:ar,dropTargetPos:Ua,dropAllowed:fa}),yn==null||yn({event:Ie,node:(0,Ae.F)(St.props),expandedKeys:Me})},fe.onNodeDragOver=function(Ie,St){var at=fe.state,Me=at.dragChildrenKeys,yt=at.flattenNodes,Fn=at.keyEntities,an=at.expandedKeys,cn=at.indent,sn=fe.props,yn=sn.onDragOver,Te=sn.allowDrop,xt=sn.direction,Ht=(0,st.Z)(fe),Bt=Ht.dragNode;if(Bt){var Mt=(0,Zt.OM)(Ie,Bt,St,cn,fe.dragStartMousePosition,Te,yt,Fn,an,xt),dn=Mt.dropPosition,gn=Mt.dropLevelOffset,Ln=Mt.dropTargetKey,Jn=Mt.dropContainerKey,va=Mt.dropAllowed,Da=Mt.dropTargetPos,Na=Mt.dragOverNodeKey;Me.indexOf(Ln)!==-1||!va||(Bt.props.eventKey===Ln&&gn===0?fe.state.dropPosition===null&&fe.state.dropLevelOffset===null&&fe.state.dropTargetKey===null&&fe.state.dropContainerKey===null&&fe.state.dropTargetPos===null&&fe.state.dropAllowed===!1&&fe.state.dragOverNodeKey===null||fe.resetDragState():dn===fe.state.dropPosition&&gn===fe.state.dropLevelOffset&&Ln===fe.state.dropTargetKey&&Jn===fe.state.dropContainerKey&&Da===fe.state.dropTargetPos&&va===fe.state.dropAllowed&&Na===fe.state.dragOverNodeKey||fe.setState({dropPosition:dn,dropLevelOffset:gn,dropTargetKey:Ln,dropContainerKey:Jn,dropTargetPos:Da,dropAllowed:va,dragOverNodeKey:Na}),yn==null||yn({event:Ie,node:(0,Ae.F)(St.props)}))}},fe.onNodeDragLeave=function(Ie,St){fe.currentMouseOverDroppableNodeKey===St.props.eventKey&&!Ie.currentTarget.contains(Ie.relatedTarget)&&(fe.resetDragState(),fe.currentMouseOverDroppableNodeKey=null);var at=fe.props.onDragLeave;at==null||at({event:Ie,node:(0,Ae.F)(St.props)})},fe.onWindowDragEnd=function(Ie){fe.onNodeDragEnd(Ie,null,!0),window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDragEnd=function(Ie,St){var at=fe.props.onDragEnd;fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),at==null||at({event:Ie,node:(0,Ae.F)(St.props)}),fe.dragNode=null,window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDrop=function(Ie,St){var at,Me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,yt=fe.state,Fn=yt.dragChildrenKeys,an=yt.dropPosition,cn=yt.dropTargetKey,sn=yt.dropTargetPos,yn=yt.dropAllowed;if(yn){var Te=fe.props.onDrop;if(fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),cn!==null){var xt=(0,Ne.Z)((0,Ne.Z)({},(0,Ae.H8)(cn,fe.getTreeNodeRequiredProps())),{},{active:((at=fe.getActiveItem())===null||at===void 0?void 0:at.key)===cn,data:(0,ze.Z)(fe.state.keyEntities,cn).node}),Ht=Fn.indexOf(cn)!==-1;(0,E.ZP)(!Ht,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Bt=(0,Zt.yx)(sn),Mt={event:Ie,node:(0,Ae.F)(xt),dragNode:fe.dragNode?(0,Ae.F)(fe.dragNode.props):null,dragNodesKeys:[fe.dragNode.props.eventKey].concat(Fn),dropToGap:an!==0,dropPosition:an+Number(Bt[Bt.length-1])};Me||Te==null||Te(Mt),fe.dragNode=null}}},fe.cleanDragState=function(){var Ie=fe.state.draggingNodeKey;Ie!==null&&fe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),fe.dragStartMousePosition=null,fe.currentMouseOverDroppableNodeKey=null},fe.triggerExpandActionExpand=function(Ie,St){var at=fe.state,Me=at.expandedKeys,yt=at.flattenNodes,Fn=St.expanded,an=St.key,cn=St.isLeaf;if(!(cn||Ie.shiftKey||Ie.metaKey||Ie.ctrlKey)){var sn=yt.filter(function(Te){return Te.key===an})[0],yn=(0,Ae.F)((0,Ne.Z)((0,Ne.Z)({},(0,Ae.H8)(an,fe.getTreeNodeRequiredProps())),{},{data:sn.data}));fe.setExpandedKeys(Fn?(0,Zt._5)(Me,an):(0,Zt.L0)(Me,an)),fe.onNodeExpand(Ie,yn)}},fe.onNodeClick=function(Ie,St){var at=fe.props,Me=at.onClick,yt=at.expandAction;yt==="click"&&fe.triggerExpandActionExpand(Ie,St),Me==null||Me(Ie,St)},fe.onNodeDoubleClick=function(Ie,St){var at=fe.props,Me=at.onDoubleClick,yt=at.expandAction;yt==="doubleClick"&&fe.triggerExpandActionExpand(Ie,St),Me==null||Me(Ie,St)},fe.onNodeSelect=function(Ie,St){var at=fe.state.selectedKeys,Me=fe.state,yt=Me.keyEntities,Fn=Me.fieldNames,an=fe.props,cn=an.onSelect,sn=an.multiple,yn=St.selected,Te=St[Fn.key],xt=!yn;xt?sn?at=(0,Zt.L0)(at,Te):at=[Te]:at=(0,Zt._5)(at,Te);var Ht=at.map(function(Bt){var Mt=(0,ze.Z)(yt,Bt);return Mt?Mt.node:null}).filter(function(Bt){return Bt});fe.setUncontrolledState({selectedKeys:at}),cn==null||cn(at,{event:"select",selected:xt,node:St,selectedNodes:Ht,nativeEvent:Ie.nativeEvent})},fe.onNodeCheck=function(Ie,St,at){var Me=fe.state,yt=Me.keyEntities,Fn=Me.checkedKeys,an=Me.halfCheckedKeys,cn=fe.props,sn=cn.checkStrictly,yn=cn.onCheck,Te=St.key,xt,Ht={event:"check",node:St,checked:at,nativeEvent:Ie.nativeEvent};if(sn){var Bt=at?(0,Zt.L0)(Fn,Te):(0,Zt._5)(Fn,Te),Mt=(0,Zt._5)(an,Te);xt={checked:Bt,halfChecked:Mt},Ht.checkedNodes=Bt.map(function(Da){return(0,ze.Z)(yt,Da)}).filter(function(Da){return Da}).map(function(Da){return Da.node}),fe.setUncontrolledState({checkedKeys:Bt})}else{var dn=(0,wn.S)([].concat((0,Ze.Z)(Fn),[Te]),!0,yt),gn=dn.checkedKeys,Ln=dn.halfCheckedKeys;if(!at){var Jn=new Set(gn);Jn.delete(Te);var va=(0,wn.S)(Array.from(Jn),{checked:!1,halfCheckedKeys:Ln},yt);gn=va.checkedKeys,Ln=va.halfCheckedKeys}xt=gn,Ht.checkedNodes=[],Ht.checkedNodesPositions=[],Ht.halfCheckedKeys=Ln,gn.forEach(function(Da){var Na=(0,ze.Z)(yt,Da);if(Na){var ar=Na.node,Ua=Na.pos;Ht.checkedNodes.push(ar),Ht.checkedNodesPositions.push({node:ar,pos:Ua})}}),fe.setUncontrolledState({checkedKeys:gn},!1,{halfCheckedKeys:Ln})}yn==null||yn(xt,Ht)},fe.onNodeLoad=function(Ie){var St=Ie.key,at=new Promise(function(Me,yt){fe.setState(function(Fn){var an=Fn.loadedKeys,cn=an===void 0?[]:an,sn=Fn.loadingKeys,yn=sn===void 0?[]:sn,Te=fe.props,xt=Te.loadData,Ht=Te.onLoad;if(!xt||cn.indexOf(St)!==-1||yn.indexOf(St)!==-1)return null;var Bt=xt(Ie);return Bt.then(function(){var Mt=fe.state.loadedKeys,dn=(0,Zt.L0)(Mt,St);Ht==null||Ht(dn,{event:"load",node:Ie}),fe.setUncontrolledState({loadedKeys:dn}),fe.setState(function(gn){return{loadingKeys:(0,Zt._5)(gn.loadingKeys,St)}}),Me()}).catch(function(Mt){if(fe.setState(function(gn){return{loadingKeys:(0,Zt._5)(gn.loadingKeys,St)}}),fe.loadingRetryTimes[St]=(fe.loadingRetryTimes[St]||0)+1,fe.loadingRetryTimes[St]>=ct){var dn=fe.state.loadedKeys;(0,E.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),fe.setUncontrolledState({loadedKeys:(0,Zt.L0)(dn,St)}),Me()}yt(Mt)}),{loadingKeys:(0,Zt.L0)(yn,St)}})});return at.catch(function(){}),at},fe.onNodeMouseEnter=function(Ie,St){var at=fe.props.onMouseEnter;at==null||at({event:Ie,node:St})},fe.onNodeMouseLeave=function(Ie,St){var at=fe.props.onMouseLeave;at==null||at({event:Ie,node:St})},fe.onNodeContextMenu=function(Ie,St){var at=fe.props.onRightClick;at&&(Ie.preventDefault(),at({event:Ie,node:St}))},fe.onFocus=function(){var Ie=fe.props.onFocus;fe.setState({focused:!0});for(var St=arguments.length,at=new Array(St),Me=0;Me<St;Me++)at[Me]=arguments[Me];Ie==null||Ie.apply(void 0,at)},fe.onBlur=function(){var Ie=fe.props.onBlur;fe.setState({focused:!1}),fe.onActiveChange(null);for(var St=arguments.length,at=new Array(St),Me=0;Me<St;Me++)at[Me]=arguments[Me];Ie==null||Ie.apply(void 0,at)},fe.getTreeNodeRequiredProps=function(){var Ie=fe.state,St=Ie.expandedKeys,at=Ie.selectedKeys,Me=Ie.loadedKeys,yt=Ie.loadingKeys,Fn=Ie.checkedKeys,an=Ie.halfCheckedKeys,cn=Ie.dragOverNodeKey,sn=Ie.dropPosition,yn=Ie.keyEntities;return{expandedKeys:St||[],selectedKeys:at||[],loadedKeys:Me||[],loadingKeys:yt||[],checkedKeys:Fn||[],halfCheckedKeys:an||[],dragOverNodeKey:cn,dropPosition:sn,keyEntities:yn}},fe.setExpandedKeys=function(Ie){var St=fe.state,at=St.treeData,Me=St.fieldNames,yt=(0,Ae.oH)(at,Ie,Me);fe.setUncontrolledState({expandedKeys:Ie,flattenNodes:yt},!0)},fe.onNodeExpand=function(Ie,St){var at=fe.state.expandedKeys,Me=fe.state,yt=Me.listChanging,Fn=Me.fieldNames,an=fe.props,cn=an.onExpand,sn=an.loadData,yn=St.expanded,Te=St[Fn.key];if(!yt){var xt=at.indexOf(Te),Ht=!yn;if((0,E.ZP)(yn&&xt!==-1||!yn&&xt===-1,"Expand state not sync with index check"),Ht?at=(0,Zt.L0)(at,Te):at=(0,Zt._5)(at,Te),fe.setExpandedKeys(at),cn==null||cn(at,{node:St,expanded:Ht,nativeEvent:Ie.nativeEvent}),Ht&&sn){var Bt=fe.onNodeLoad(St);Bt&&Bt.then(function(){var Mt=(0,Ae.oH)(fe.state.treeData,at,Fn);fe.setUncontrolledState({flattenNodes:Mt})}).catch(function(){var Mt=fe.state.expandedKeys,dn=(0,Zt._5)(Mt,Te);fe.setExpandedKeys(dn)})}}},fe.onListChangeStart=function(){fe.setUncontrolledState({listChanging:!0})},fe.onListChangeEnd=function(){setTimeout(function(){fe.setUncontrolledState({listChanging:!1})})},fe.onActiveChange=function(Ie){var St=fe.state.activeKey,at=fe.props.onActiveChange;St!==Ie&&(fe.setState({activeKey:Ie}),Ie!==null&&fe.scrollTo({key:Ie}),at==null||at(Ie))},fe.getActiveItem=function(){var Ie=fe.state,St=Ie.activeKey,at=Ie.flattenNodes;return St===null?null:at.find(function(Me){var yt=Me.key;return yt===St})||null},fe.offsetActiveKey=function(Ie){var St=fe.state,at=St.flattenNodes,Me=St.activeKey,yt=at.findIndex(function(cn){var sn=cn.key;return sn===Me});yt===-1&&Ie<0&&(yt=at.length),yt=(yt+Ie+at.length)%at.length;var Fn=at[yt];if(Fn){var an=Fn.key;fe.onActiveChange(an)}else fe.onActiveChange(null)},fe.onKeyDown=function(Ie){var St=fe.state,at=St.activeKey,Me=St.expandedKeys,yt=St.checkedKeys,Fn=St.fieldNames,an=fe.props,cn=an.onKeyDown,sn=an.checkable,yn=an.selectable;switch(Ie.which){case Ye.Z.UP:{fe.offsetActiveKey(-1),Ie.preventDefault();break}case Ye.Z.DOWN:{fe.offsetActiveKey(1),Ie.preventDefault();break}}var Te=fe.getActiveItem();if(Te&&Te.data){var xt=fe.getTreeNodeRequiredProps(),Ht=Te.data.isLeaf===!1||!!(Te.data[Fn.children]||[]).length,Bt=(0,Ae.F)((0,Ne.Z)((0,Ne.Z)({},(0,Ae.H8)(at,xt)),{},{data:Te.data,active:!0}));switch(Ie.which){case Ye.Z.LEFT:{Ht&&Me.includes(at)?fe.onNodeExpand({},Bt):Te.parent&&fe.onActiveChange(Te.parent.key),Ie.preventDefault();break}case Ye.Z.RIGHT:{Ht&&!Me.includes(at)?fe.onNodeExpand({},Bt):Te.children&&Te.children.length&&fe.onActiveChange(Te.children[0].key),Ie.preventDefault();break}case Ye.Z.ENTER:case Ye.Z.SPACE:{sn&&!Bt.disabled&&Bt.checkable!==!1&&!Bt.disableCheckbox?fe.onNodeCheck({},Bt,!yt.includes(at)):!sn&&yn&&!Bt.disabled&&Bt.selectable!==!1&&fe.onNodeSelect({},Bt);break}}}cn==null||cn(Ie)},fe.setUncontrolledState=function(Ie){var St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!fe.destroyed){var Me=!1,yt=!0,Fn={};Object.keys(Ie).forEach(function(an){if(an in fe.props){yt=!1;return}Me=!0,Fn[an]=Ie[an]}),Me&&(!St||yt)&&fe.setState((0,Ne.Z)((0,Ne.Z)({},Fn),at))}},fe.scrollTo=function(Ie){fe.listRef.current.scrollTo(Ie)},fe}return(0,le.Z)(De,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Je=this.props.activeKey;Je!==void 0&&Je!==this.state.activeKey&&(this.setState({activeKey:Je}),Je!==null&&this.scrollTo({key:Je}))}},{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 Je,It=this.state,Oe=It.focused,Ie=It.flattenNodes,St=It.keyEntities,at=It.draggingNodeKey,Me=It.activeKey,yt=It.dropLevelOffset,Fn=It.dropContainerKey,an=It.dropTargetKey,cn=It.dropPosition,sn=It.dragOverNodeKey,yn=It.indent,Te=this.props,xt=Te.prefixCls,Ht=Te.className,Bt=Te.style,Mt=Te.showLine,dn=Te.focusable,gn=Te.tabIndex,Ln=gn===void 0?0:gn,Jn=Te.selectable,va=Te.showIcon,Da=Te.icon,Na=Te.switcherIcon,ar=Te.draggable,Ua=Te.checkable,fa=Te.checkStrictly,yr=Te.disabled,en=Te.motion,On=Te.loadData,la=Te.filterTreeNode,xa=Te.height,Ge=Te.itemHeight,Ot=Te.virtual,_t=Te.titleRender,Vt=Te.dropIndicatorRender,Wt=Te.onContextMenu,Rn=Te.onScroll,Bn=Te.direction,vt=Te.rootClassName,Ft=Te.rootStyle,pt=(0,se.Z)(this.props,{aria:!0,data:!0}),Sn;return ar&&((0,Be.Z)(ar)==="object"?Sn=ar:typeof ar=="function"?Sn={nodeDraggable:ar}:Sn={}),a.createElement(x.k.Provider,{value:{prefixCls:xt,selectable:Jn,showIcon:va,icon:Da,switcherIcon:Na,draggable:Sn,draggingNodeKey:at,checkable:Ua,checkStrictly:fa,disabled:yr,keyEntities:St,dropLevelOffset:yt,dropContainerKey:Fn,dropTargetKey:an,dropPosition:cn,dragOverNodeKey:sn,indent:yn,direction:Bn,dropIndicatorRender:Vt,loadData:On,filterTreeNode:la,titleRender:_t,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{role:"tree",className:Xe()(xt,Ht,vt,(Je={},(0,de.Z)(Je,"".concat(xt,"-show-line"),Mt),(0,de.Z)(Je,"".concat(xt,"-focused"),Oe),(0,de.Z)(Je,"".concat(xt,"-active-focused"),Me!==null),Je)),style:Ft},a.createElement(Vn,(0,b.Z)({ref:this.listRef,prefixCls:xt,style:Bt,data:Ie,disabled:yr,selectable:Jn,checkable:!!Ua,motion:en,dragging:at!==null,height:xa,itemHeight:Ge,virtual:Ot,focusable:dn,focused:Oe,tabIndex:Ln,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Wt,onScroll:Rn},this.getTreeNodeRequiredProps(),pt))))}}],[{key:"getDerivedStateFromProps",value:function(Je,It){var Oe=It.prevProps,Ie={prevProps:Je};function St(dn){return!Oe&&dn in Je||Oe&&Oe[dn]!==Je[dn]}var at,Me=It.fieldNames;if(St("fieldNames")&&(Me=(0,Ae.w$)(Je.fieldNames),Ie.fieldNames=Me),St("treeData")?at=Je.treeData:St("children")&&((0,E.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),at=(0,Ae.zn)(Je.children)),at){Ie.treeData=at;var yt=(0,Ae.I8)(at,{fieldNames:Me});Ie.keyEntities=(0,Ne.Z)((0,de.Z)({},mt,Nt),yt.keyEntities)}var Fn=Ie.keyEntities||It.keyEntities;if(St("expandedKeys")||Oe&&St("autoExpandParent"))Ie.expandedKeys=Je.autoExpandParent||!Oe&&Je.defaultExpandParent?(0,Zt.r7)(Je.expandedKeys,Fn):Je.expandedKeys;else if(!Oe&&Je.defaultExpandAll){var an=(0,Ne.Z)({},Fn);delete an[mt],Ie.expandedKeys=Object.keys(an).map(function(dn){return an[dn].key})}else!Oe&&Je.defaultExpandedKeys&&(Ie.expandedKeys=Je.autoExpandParent||Je.defaultExpandParent?(0,Zt.r7)(Je.defaultExpandedKeys,Fn):Je.defaultExpandedKeys);if(Ie.expandedKeys||delete Ie.expandedKeys,at||Ie.expandedKeys){var cn=(0,Ae.oH)(at||It.treeData,Ie.expandedKeys||It.expandedKeys,Me);Ie.flattenNodes=cn}if(Je.selectable&&(St("selectedKeys")?Ie.selectedKeys=(0,Zt.BT)(Je.selectedKeys,Je):!Oe&&Je.defaultSelectedKeys&&(Ie.selectedKeys=(0,Zt.BT)(Je.defaultSelectedKeys,Je))),Je.checkable){var sn;if(St("checkedKeys")?sn=(0,Zt.E6)(Je.checkedKeys)||{}:!Oe&&Je.defaultCheckedKeys?sn=(0,Zt.E6)(Je.defaultCheckedKeys)||{}:at&&(sn=(0,Zt.E6)(Je.checkedKeys)||{checkedKeys:It.checkedKeys,halfCheckedKeys:It.halfCheckedKeys}),sn){var yn=sn,Te=yn.checkedKeys,xt=Te===void 0?[]:Te,Ht=yn.halfCheckedKeys,Bt=Ht===void 0?[]:Ht;if(!Je.checkStrictly){var Mt=(0,wn.S)(xt,!0,Fn);xt=Mt.checkedKeys,Bt=Mt.halfCheckedKeys}Ie.checkedKeys=xt,Ie.halfCheckedKeys=Bt}}return St("loadedKeys")&&(Ie.loadedKeys=Je.loadedKeys),Ie}}]),De}(a.Component);kt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:y,allowDrop:function(){return!0},expandAction:!1},kt.TreeNode=be.Z;var ft=kt,At=ft},35654:function(Qt,Gt,ee){"use strict";ee.d(Gt,{BT:function(){return a},E6:function(){return z},L0:function(){return Ve},OM:function(){return E},_5:function(){return et},r7:function(){return ne},wA:function(){return Xe},yx:function(){return je}});var b=ee(95190),de=ee(93664),Be=ee(48736),Ne=ee(59301),Ze=ee(39417),ke=ee(67841),le=ee(71430),st=null;function et(re,ue){if(!re)return[];var oe=re.slice(),ve=oe.indexOf(ue);return ve>=0&&oe.splice(ve,1),oe}function Ve(re,ue){var oe=(re||[]).slice();return oe.indexOf(ue)===-1&&oe.push(ue),oe}function je(re){return re.split("-")}function Xe(re,ue){var oe=[],ve=(0,ke.Z)(ue,re);function be(){var We=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];We.forEach(function(Ae){var He=Ae.key,he=Ae.children;oe.push(He),be(he)})}return be(ve.children),oe}function Ye(re){if(re.parent){var ue=je(re.pos);return Number(ue[ue.length-1])===re.parent.children.length-1}return!1}function se(re){var ue=je(re.pos);return Number(ue[ue.length-1])===0}function E(re,ue,oe,ve,be,We,Ae,He,he,qe){var Ke,ht=re.clientX,Le=re.clientY,rt=re.target.getBoundingClientRect(),ut=rt.top,gt=rt.height,mt=(qe==="rtl"?-1:1)*(((be==null?void 0:be.x)||0)-ht),un=(mt-12)/ve,Nt=(0,ke.Z)(He,oe.props.eventKey);if(Le<ut+gt/2){var rn=Ae.findIndex(function(At){return At.key===Nt.key}),nn=rn<=0?0:rn-1,Ue=Ae[nn].key;Nt=(0,ke.Z)(He,Ue)}var dt=Nt.key,on=Nt,Vn=Nt.key,Zt=0,wn=0;if(!he.includes(dt))for(var ze=0;ze<un&&Ye(Nt);ze+=1)Nt=Nt.parent,wn+=1;var ct=ue.props.data,kt=Nt.node,ft=!0;return se(Nt)&&Nt.level===0&&Le<ut+gt/2&&We({dragNode:ct,dropNode:kt,dropPosition:-1})&&Nt.key===oe.props.eventKey?Zt=-1:(on.children||[]).length&&he.includes(Vn)?We({dragNode:ct,dropNode:kt,dropPosition:0})?Zt=0:ft=!1:wn===0?un>-1.5?We({dragNode:ct,dropNode:kt,dropPosition:1})?Zt=1:ft=!1:We({dragNode:ct,dropNode:kt,dropPosition:0})?Zt=0:We({dragNode:ct,dropNode:kt,dropPosition:1})?Zt=1:ft=!1:We({dragNode:ct,dropNode:kt,dropPosition:1})?Zt=1:ft=!1,{dropPosition:Zt,dropLevelOffset:wn,dropTargetKey:Nt.key,dropTargetPos:Nt.pos,dragOverNodeKey:Vn,dropContainerKey:Zt===0?null:((Ke=Nt.parent)===null||Ke===void 0?void 0:Ke.key)||null,dropAllowed:ft}}function a(re,ue){if(re){var oe=ue.multiple;return oe?re.slice():re.length?[re[0]]:re}}var x=function(ue){return ue};function y(re,ue){if(!re)return[];var oe=ue||{},ve=oe.processProps,be=ve===void 0?x:ve,We=Array.isArray(re)?re:[re];return We.map(function(Ae){var He=Ae.children,he=_objectWithoutProperties(Ae,st),qe=y(He,ue);return React.createElement(TreeNode,_extends({key:he.key},be(he)),qe)})}function z(re){if(!re)return null;var ue;if(Array.isArray(re))ue={checkedKeys:re,halfCheckedKeys:void 0};else if((0,de.Z)(re)==="object")ue={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,Be.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ue}function ne(re,ue){var oe=new Set;function ve(be){if(!oe.has(be)){var We=(0,ke.Z)(ue,be);if(We){oe.add(be);var Ae=We.parent,He=We.node;He.disabled||Ae&&ve(Ae.key)}}}return(re||[]).forEach(function(be){ve(be)}),(0,b.Z)(oe)}},90782:function(Qt,Gt,ee){"use strict";ee.d(Gt,{S:function(){return le}});var b=ee(48736),de=ee(67841);function Be(st,et){var Ve=new Set;return st.forEach(function(je){et.has(je)||Ve.add(je)}),Ve}function Ne(st){var et=st||{},Ve=et.disabled,je=et.disableCheckbox,Xe=et.checkable;return!!(Ve||je)||Xe===!1}function Ze(st,et,Ve,je){for(var Xe=new Set(st),Ye=new Set,se=0;se<=Ve;se+=1){var E=et.get(se)||new Set;E.forEach(function(z){var ne=z.key,re=z.node,ue=z.children,oe=ue===void 0?[]:ue;Xe.has(ne)&&!je(re)&&oe.filter(function(ve){return!je(ve.node)}).forEach(function(ve){Xe.add(ve.key)})})}for(var a=new Set,x=Ve;x>=0;x-=1){var y=et.get(x)||new Set;y.forEach(function(z){var ne=z.parent,re=z.node;if(!(je(re)||!z.parent||a.has(z.parent.key))){if(je(z.parent.node)){a.add(ne.key);return}var ue=!0,oe=!1;(ne.children||[]).filter(function(ve){return!je(ve.node)}).forEach(function(ve){var be=ve.key,We=Xe.has(be);ue&&!We&&(ue=!1),!oe&&(We||Ye.has(be))&&(oe=!0)}),ue&&Xe.add(ne.key),oe&&Ye.add(ne.key),a.add(ne.key)}})}return{checkedKeys:Array.from(Xe),halfCheckedKeys:Array.from(Be(Ye,Xe))}}function ke(st,et,Ve,je,Xe){for(var Ye=new Set(st),se=new Set(et),E=0;E<=je;E+=1){var a=Ve.get(E)||new Set;a.forEach(function(ne){var re=ne.key,ue=ne.node,oe=ne.children,ve=oe===void 0?[]:oe;!Ye.has(re)&&!se.has(re)&&!Xe(ue)&&ve.filter(function(be){return!Xe(be.node)}).forEach(function(be){Ye.delete(be.key)})})}se=new Set;for(var x=new Set,y=je;y>=0;y-=1){var z=Ve.get(y)||new Set;z.forEach(function(ne){var re=ne.parent,ue=ne.node;if(!(Xe(ue)||!ne.parent||x.has(ne.parent.key))){if(Xe(ne.parent.node)){x.add(re.key);return}var oe=!0,ve=!1;(re.children||[]).filter(function(be){return!Xe(be.node)}).forEach(function(be){var We=be.key,Ae=Ye.has(We);oe&&!Ae&&(oe=!1),!ve&&(Ae||se.has(We))&&(ve=!0)}),oe||Ye.delete(re.key),ve&&se.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(Ye),halfCheckedKeys:Array.from(Be(se,Ye))}}function le(st,et,Ve,je){var Xe=[],Ye;je?Ye=je:Ye=Ne;var se=new Set(st.filter(function(y){var z=!!(0,de.Z)(Ve,y);return z||Xe.push(y),z})),E=new Map,a=0;Object.keys(Ve).forEach(function(y){var z=Ve[y],ne=z.level,re=E.get(ne);re||(re=new Set,E.set(ne,re)),re.add(z),a=Math.max(a,ne)}),(0,b.ZP)(!Xe.length,"Tree missing follow keys: ".concat(Xe.slice(0,100).map(function(y){return"'".concat(y,"'")}).join(", ")));var x;return et===!0?x=Ze(se,E,a,Ye):x=ke(se,et.halfCheckedKeys,E,a,Ye),x}},67841:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return b}});function b(de,Be){return de[Be]}},71430:function(Qt,Gt,ee){"use strict";ee.d(Gt,{F:function(){return ne},H8:function(){return z},I8:function(){return y},km:function(){return Xe},oH:function(){return a},w$:function(){return Ye},zn:function(){return E}});var b=ee(93664),de=ee(95190),Be=ee(20439),Ne=ee(62646),Ze=ee(11592),ke=ee(2738),le=ee(48736),st=ee(67841),et=["children"];function Ve(re,ue){return"".concat(re,"-").concat(ue)}function je(re){return re&&re.type&&re.type.isTreeNode}function Xe(re,ue){return re!=null?re:ue}function Ye(re){var ue=re||{},oe=ue.title,ve=ue._title,be=ue.key,We=ue.children,Ae=oe||"title";return{title:Ae,_title:ve||[Ae],key:be||"key",children:We||"children"}}function se(re,ue){var oe=new Map;function ve(be){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(be||[]).forEach(function(Ae){var He=Ae[ue.key],he=Ae[ue.children];warning(He!=null,"Tree node must have a certain key: [".concat(We).concat(He,"]"));var qe=String(He);warning(!oe.has(qe)||He===null||He===void 0,"Same 'key' exist in the Tree: ".concat(qe)),oe.set(qe,!0),ve(he,"".concat(We).concat(qe," > "))})}ve(re)}function E(re){function ue(oe){var ve=(0,Ze.Z)(oe);return ve.map(function(be){if(!je(be))return(0,le.ZP)(!be,"Tree/TreeNode can only accept TreeNode as children."),null;var We=be.key,Ae=be.props,He=Ae.children,he=(0,Ne.Z)(Ae,et),qe=(0,Be.Z)({key:We},he),Ke=ue(He);return Ke.length&&(qe.children=Ke),qe}).filter(function(be){return be})}return ue(re)}function a(re,ue,oe){var ve=Ye(oe),be=ve._title,We=ve.key,Ae=ve.children,He=new Set(ue===!0?[]:ue),he=[];function qe(Ke){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ke.map(function(Le,rt){for(var ut=Ve(ht?ht.pos:"0",rt),gt=Xe(Le[We],ut),mt,un=0;un<be.length;un+=1){var Nt=be[un];if(Le[Nt]!==void 0){mt=Le[Nt];break}}var rn=(0,Be.Z)((0,Be.Z)({},(0,ke.Z)(Le,[].concat((0,de.Z)(be),[We,Ae]))),{},{title:mt,key:gt,parent:ht,pos:ut,children:null,data:Le,isStart:[].concat((0,de.Z)(ht?ht.isStart:[]),[rt===0]),isEnd:[].concat((0,de.Z)(ht?ht.isEnd:[]),[rt===Ke.length-1])});return he.push(rn),ue===!0||He.has(gt)?rn.children=qe(Le[Ae]||[],rn):rn.children=[],rn})}return qe(re),he}function x(re,ue,oe){var ve={};(0,b.Z)(oe)==="object"?ve=oe:ve={externalGetKey:oe},ve=ve||{};var be=ve,We=be.childrenPropName,Ae=be.externalGetKey,He=be.fieldNames,he=Ye(He),qe=he.key,Ke=he.children,ht=We||Ke,Le;Ae?typeof Ae=="string"?Le=function(gt){return gt[Ae]}:typeof Ae=="function"&&(Le=function(gt){return Ae(gt)}):Le=function(gt,mt){return Xe(gt[qe],mt)};function rt(ut,gt,mt,un){var Nt=ut?ut[ht]:re,rn=ut?Ve(mt.pos,gt):"0",nn=ut?[].concat((0,de.Z)(un),[ut]):[];if(ut){var Ue=Le(ut,rn),dt={node:ut,index:gt,pos:rn,key:Ue,parentPos:mt.node?mt.pos:null,level:mt.level+1,nodes:nn};ue(dt)}Nt&&Nt.forEach(function(on,Vn){rt(on,Vn,{node:ut,pos:rn,level:mt?mt.level+1:-1},nn)})}rt(null)}function y(re){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},oe=ue.initWrapper,ve=ue.processEntity,be=ue.onProcessFinished,We=ue.externalGetKey,Ae=ue.childrenPropName,He=ue.fieldNames,he=arguments.length>2?arguments[2]:void 0,qe=We||he,Ke={},ht={},Le={posEntities:Ke,keyEntities:ht};return oe&&(Le=oe(Le)||Le),x(re,function(rt){var ut=rt.node,gt=rt.index,mt=rt.pos,un=rt.key,Nt=rt.parentPos,rn=rt.level,nn=rt.nodes,Ue={node:ut,nodes:nn,index:gt,key:un,pos:mt,level:rn},dt=Xe(un,mt);Ke[mt]=Ue,ht[dt]=Ue,Ue.parent=Ke[Nt],Ue.parent&&(Ue.parent.children=Ue.parent.children||[],Ue.parent.children.push(Ue)),ve&&ve(Ue,Le)},{externalGetKey:qe,childrenPropName:Ae,fieldNames:He}),be&&be(Le),Le}function z(re,ue){var oe=ue.expandedKeys,ve=ue.selectedKeys,be=ue.loadedKeys,We=ue.loadingKeys,Ae=ue.checkedKeys,He=ue.halfCheckedKeys,he=ue.dragOverNodeKey,qe=ue.dropPosition,Ke=ue.keyEntities,ht=(0,st.Z)(Ke,re),Le={eventKey:re,expanded:oe.indexOf(re)!==-1,selected:ve.indexOf(re)!==-1,loaded:be.indexOf(re)!==-1,loading:We.indexOf(re)!==-1,checked:Ae.indexOf(re)!==-1,halfChecked:He.indexOf(re)!==-1,pos:String(ht?ht.pos:""),dragOver:he===re&&qe===0,dragOverGapTop:he===re&&qe===-1,dragOverGapBottom:he===re&&qe===1};return Le}function ne(re){var ue=re.data,oe=re.expanded,ve=re.selected,be=re.checked,We=re.loaded,Ae=re.loading,He=re.halfChecked,he=re.dragOver,qe=re.dragOverGapTop,Ke=re.dragOverGapBottom,ht=re.pos,Le=re.active,rt=re.eventKey,ut=(0,Be.Z)((0,Be.Z)({},ue),{},{expanded:oe,selected:ve,checked:be,loaded:We,loading:Ae,halfChecked:He,dragOver:he,dragOverGapTop:qe,dragOverGapBottom:Ke,pos:ht,active:Le,key:rt});return"props"in ut||Object.defineProperty(ut,"props",{get:function(){return(0,le.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),re}}),ut}},8224:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return de}});var b=ee(4676);function de(Be,Ne,Ze,ke){var le=b.unstable_batchedUpdates?function(et){b.unstable_batchedUpdates(Ze,et)}:Ze;return Be!=null&&Be.addEventListener&&Be.addEventListener(Ne,le,ke),{remove:function(){Be!=null&&Be.removeEventListener&&Be.removeEventListener(Ne,le,ke)}}}},55468:function(Qt,Gt,ee){"use strict";ee.d(Gt,{g1:function(){return je},os:function(){return Ye}});var b=/margin|padding|width|height|max|min|offset/,de={left:!0,top:!0},Be={cssFloat:1,styleFloat:1,float:1};function Ne(se){return se.nodeType===1?se.ownerDocument.defaultView.getComputedStyle(se,null):{}}function Ze(se,E,a){if(E=E.toLowerCase(),a==="auto"){if(E==="height")return se.offsetHeight;if(E==="width")return se.offsetWidth}return E in de||(de[E]=b.test(E)),de[E]?parseFloat(a)||0:a}function ke(se,E){var a=arguments.length,x=Ne(se);return E=Be[E]?"cssFloat"in se.style?"cssFloat":"styleFloat":E,a===1?x:Ze(se,E,x[E]||se.style[E])}function le(se,E,a){var x=arguments.length;if(E=Be[E]?"cssFloat"in se.style?"cssFloat":"styleFloat":E,x===3)return typeof a=="number"&&b.test(E)&&(a="".concat(a,"px")),se.style[E]=a,a;for(var y in E)E.hasOwnProperty(y)&&le(se,y,E[y]);return Ne(se)}function st(se){return se===document.body?document.documentElement.clientWidth:se.offsetWidth}function et(se){return se===document.body?window.innerHeight||document.documentElement.clientHeight:se.offsetHeight}function Ve(){var se=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),E=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:se,height:E}}function je(){var se=document.documentElement.clientWidth,E=window.innerHeight||document.documentElement.clientHeight;return{width:se,height:E}}function Xe(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ye(se){var E=se.getBoundingClientRect(),a=document.documentElement;return{left:E.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:E.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},24514:function(Qt,Gt,ee){"use strict";ee.d(Gt,{G:function(){return Ne}});var b=ee(47273),de=function(ke){if((0,b.Z)()&&window.document.documentElement){var le=Array.isArray(ke)?ke:[ke],st=window.document.documentElement;return le.some(function(et){return et in st.style})}return!1},Be=function(ke,le){if(!de(ke))return!1;var st=document.createElement("div"),et=st.style[ke];return st.style[ke]=le,st.style[ke]!==et};function Ne(Ze,ke){return!Array.isArray(Ze)&&ke!==void 0?Be(Ze,ke):de(Ze)}},57985:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z5:function(){return iu},_l:function(){return jd},bK:function(){return qs}});var b=ee(59301),de=ee(2386);function Be(te,ae){te.prototype=Object.create(ae.prototype),te.prototype.constructor=te,(0,de.Z)(te,ae)}var Ne=ee(14809),Ze=ee(59781),ke=b.createContext(null),le=null;function st(te){te()}var et=st,Ve=function(ae){return et=ae},je=function(){return et};function Xe(){var te=je(),ae=null,ie=null;return{clear:function(){ae=null,ie=null},notify:function(){te(function(){for(var xe=ae;xe;)xe.callback(),xe=xe.next})},get:function(){for(var xe=[],Fe=ae;Fe;)xe.push(Fe),Fe=Fe.next;return xe},subscribe:function(xe){var Fe=!0,Re=ie={callback:xe,next:null,prev:ie};return Re.prev?Re.prev.next=Re:ae=Re,function(){!Fe||ae===null||(Fe=!1,Re.next?Re.next.prev=Re.prev:ie=Re.prev,Re.prev?Re.prev.next=Re.next:ae=Re.next)}}}}var Ye={notify:function(){},get:function(){return[]}};function se(te,ae){var ie,ge=Ye;function xe(wt){return bt(),ge.subscribe(wt)}function Fe(){ge.notify()}function Re(){Rt.onStateChange&&Rt.onStateChange()}function _e(){return!!ie}function bt(){ie||(ie=ae?ae.addNestedSub(Re):te.subscribe(Re),ge=Xe())}function Tt(){ie&&(ie(),ie=void 0,ge.clear(),ge=Ye)}var Rt={addNestedSub:xe,notifyNestedSubs:Fe,handleChangeWrapper:Re,isSubscribed:_e,trySubscribe:bt,tryUnsubscribe:Tt,getListeners:function(){return ge}};return Rt}var E=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect;function a(te){var ae=te.store,ie=te.context,ge=te.children,xe=(0,b.useMemo)(function(){var _e=se(ae);return{store:ae,subscription:_e}},[ae]),Fe=(0,b.useMemo)(function(){return ae.getState()},[ae]);E(function(){var _e=xe.subscription;return _e.onStateChange=_e.notifyNestedSubs,_e.trySubscribe(),Fe!==ae.getState()&&_e.notifyNestedSubs(),function(){_e.tryUnsubscribe(),_e.onStateChange=null}},[xe,Fe]);var Re=ie||ke;return b.createElement(Re.Provider,{value:xe},ge)}var x=a,y=ee(74126),z=ee(94266),ne=ee.n(z),re=ee(53410),ue=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],oe=["reactReduxForwardedRef"],ve=[],be=[null,null],We=function(ae){try{return JSON.stringify(ae)}catch(ie){return String(ae)}};function Ae(te,ae){var ie=te[1];return[ae.payload,ie+1]}function He(te,ae,ie){E(function(){return te.apply(void 0,ae)},ie)}function he(te,ae,ie,ge,xe,Fe,Re){te.current=ge,ae.current=xe,ie.current=!1,Fe.current&&(Fe.current=null,Re())}function qe(te,ae,ie,ge,xe,Fe,Re,_e,bt,Tt){if(te){var Rt=!1,wt=null,Dt=function(){if(!Rt){var ir=ae.getState(),mr,hr;try{mr=ge(ir,xe.current)}catch(Vr){hr=Vr,wt=Vr}hr||(wt=null),mr===Fe.current?Re.current||bt():(Fe.current=mr,_e.current=mr,Re.current=!0,Tt({type:"STORE_UPDATED",payload:{error:hr}}))}};ie.onStateChange=Dt,ie.trySubscribe(),Dt();var Jt=function(){if(Rt=!0,ie.tryUnsubscribe(),ie.onStateChange=null,wt)throw wt};return Jt}}var Ke=function(){return[null,0]};function ht(te,ae){ae===void 0&&(ae={});var ie=ae,ge=ie.getDisplayName,xe=ge===void 0?function(ni){return"ConnectAdvanced("+ni+")"}:ge,Fe=ie.methodName,Re=Fe===void 0?"connectAdvanced":Fe,_e=ie.renderCountProp,bt=_e===void 0?void 0:_e,Tt=ie.shouldHandleStateChanges,Rt=Tt===void 0?!0:Tt,wt=ie.storeKey,Dt=wt===void 0?"store":wt,Jt=ie.withRef,Un=Jt===void 0?!1:Jt,ir=ie.forwardRef,mr=ir===void 0?!1:ir,hr=ie.context,Vr=hr===void 0?ke:hr,ro=(0,y.Z)(ie,ue);if(0)var so;var ui=Vr;return function(Ni){var vl=Ni.displayName||Ni.name||"Component",Ti=xe(vl),pl=(0,Ne.Z)({},ro,{getDisplayName:xe,methodName:Re,renderCountProp:bt,shouldHandleStateChanges:Rt,storeKey:Dt,displayName:Ti,wrappedComponentName:vl,WrappedComponent:Ni}),Rl=ro.pure;function Tl(_l){return te(_l.dispatch,pl)}var Au=Rl?b.useMemo:function(_l){return _l()};function yu(_l){var ns=(0,b.useMemo)(function(){var bs=_l.reactReduxForwardedRef,Hs=(0,y.Z)(_l,oe);return[_l.context,bs,Hs]},[_l]),Iu=ns[0],Ps=ns[1],gs=ns[2],as=(0,b.useMemo)(function(){return Iu&&Iu.Consumer&&(0,re.isContextConsumer)(b.createElement(Iu.Consumer,null))?Iu:ui},[Iu,ui]),Ou=(0,b.useContext)(as),ms=!!_l.store&&!!_l.store.getState&&!!_l.store.dispatch,Fs=!!Ou&&!!Ou.store,Lu=ms?_l.store:Ou.store,ys=(0,b.useMemo)(function(){return Tl(Lu)},[Lu]),Bs=(0,b.useMemo)(function(){if(!Rt)return be;var bs=se(Lu,ms?null:Ou.subscription),Hs=bs.notifyNestedSubs.bind(bs);return[bs,Hs]},[Lu,ms,Ou]),Ss=Bs[0],ws=Bs[1],Ds=(0,b.useMemo)(function(){return ms?Ou:(0,Ne.Z)({},Ou,{subscription:Ss})},[ms,Ou,Ss]),ed=(0,b.useReducer)(Ae,ve,Ke),$d=ed[0],As=$d[0],Qd=ed[1];if(As&&As.error)throw As.error;var td=(0,b.useRef)(),Ts=(0,b.useRef)(gs),Ns=(0,b.useRef)(),nd=(0,b.useRef)(!1),_s=Au(function(){return Ns.current&&gs===Ts.current?Ns.current:ys(Lu.getState(),gs)},[Lu,As,gs]);He(he,[Ts,td,nd,gs,_s,Ns,ws]),He(qe,[Rt,Lu,Ss,ys,Ts,td,nd,Ns,ws,Qd],[Lu,Ss,ys]);var Zs=(0,b.useMemo)(function(){return b.createElement(Ni,(0,Ne.Z)({},_s,{ref:Ps}))},[Ps,Ni,_s]),Yd=(0,b.useMemo)(function(){return Rt?b.createElement(as.Provider,{value:Ds},Zs):Zs},[as,Zs,Ds]);return Yd}var uu=Rl?b.memo(yu):yu;if(uu.WrappedComponent=Ni,uu.displayName=yu.displayName=Ti,mr){var Nu=b.forwardRef(function(ns,Iu){return b.createElement(uu,(0,Ne.Z)({},ns,{reactReduxForwardedRef:Iu}))});return Nu.displayName=Ti,Nu.WrappedComponent=Ni,ne()(Nu,Ni)}return ne()(uu,Ni)}}function Le(te,ae){return te===ae?te!==0||ae!==0||1/te===1/ae:te!==te&&ae!==ae}function rt(te,ae){if(Le(te,ae))return!0;if(typeof te!="object"||te===null||typeof ae!="object"||ae===null)return!1;var ie=Object.keys(te),ge=Object.keys(ae);if(ie.length!==ge.length)return!1;for(var xe=0;xe<ie.length;xe++)if(!Object.prototype.hasOwnProperty.call(ae,ie[xe])||!Le(te[ie[xe]],ae[ie[xe]]))return!1;return!0}function ut(te,ae){var ie={},ge=function(Re){var _e=te[Re];typeof _e=="function"&&(ie[Re]=function(){return ae(_e.apply(void 0,arguments))})};for(var xe in te)ge(xe);return ie}function gt(te){return function(ie,ge){var xe=te(ie,ge);function Fe(){return xe}return Fe.dependsOnOwnProps=!1,Fe}}function mt(te){return te.dependsOnOwnProps!==null&&te.dependsOnOwnProps!==void 0?!!te.dependsOnOwnProps:te.length!==1}function un(te,ae){return function(ge,xe){var Fe=xe.displayName,Re=function(bt,Tt){return Re.dependsOnOwnProps?Re.mapToProps(bt,Tt):Re.mapToProps(bt)};return Re.dependsOnOwnProps=!0,Re.mapToProps=function(bt,Tt){Re.mapToProps=te,Re.dependsOnOwnProps=mt(te);var Rt=Re(bt,Tt);return typeof Rt=="function"&&(Re.mapToProps=Rt,Re.dependsOnOwnProps=mt(Rt),Rt=Re(bt,Tt)),Rt},Re}}function Nt(te){return typeof te=="function"?un(te,"mapDispatchToProps"):void 0}function rn(te){return te?void 0:gt(function(ae){return{dispatch:ae}})}function nn(te){return te&&typeof te=="object"?gt(function(ae){return ut(te,ae)}):void 0}var Ue=[Nt,rn,nn];function dt(te){return typeof te=="function"?un(te,"mapStateToProps"):void 0}function on(te){return te?void 0:gt(function(){return{}})}var Vn=[dt,on];function Zt(te,ae,ie){return(0,Ne.Z)({},ie,te,ae)}function wn(te){return function(ie,ge){var xe=ge.displayName,Fe=ge.pure,Re=ge.areMergedPropsEqual,_e=!1,bt;return function(Rt,wt,Dt){var Jt=te(Rt,wt,Dt);return _e?(!Fe||!Re(Jt,bt))&&(bt=Jt):(_e=!0,bt=Jt),bt}}}function ze(te){return typeof te=="function"?wn(te):void 0}function ct(te){return te?void 0:function(){return Zt}}var kt=[ze,ct],ft=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function At(te,ae,ie,ge){return function(Fe,Re){return ie(te(Fe,Re),ae(ge,Re),Re)}}function it(te,ae,ie,ge,xe){var Fe=xe.areStatesEqual,Re=xe.areOwnPropsEqual,_e=xe.areStatePropsEqual,bt=!1,Tt,Rt,wt,Dt,Jt;function Un(ro,so){return Tt=ro,Rt=so,wt=te(Tt,Rt),Dt=ae(ge,Rt),Jt=ie(wt,Dt,Rt),bt=!0,Jt}function ir(){return wt=te(Tt,Rt),ae.dependsOnOwnProps&&(Dt=ae(ge,Rt)),Jt=ie(wt,Dt,Rt),Jt}function mr(){return te.dependsOnOwnProps&&(wt=te(Tt,Rt)),ae.dependsOnOwnProps&&(Dt=ae(ge,Rt)),Jt=ie(wt,Dt,Rt),Jt}function hr(){var ro=te(Tt,Rt),so=!_e(ro,wt);return wt=ro,so&&(Jt=ie(wt,Dt,Rt)),Jt}function Vr(ro,so){var ui=!Re(so,Rt),ni=!Fe(ro,Tt,so,Rt);return Tt=ro,Rt=so,ui&&ni?ir():ui?mr():ni?hr():Jt}return function(so,ui){return bt?Vr(so,ui):Un(so,ui)}}function nt(te,ae){var ie=ae.initMapStateToProps,ge=ae.initMapDispatchToProps,xe=ae.initMergeProps,Fe=(0,y.Z)(ae,ft),Re=ie(te,Fe),_e=ge(te,Fe),bt=xe(te,Fe),Tt=Fe.pure?it:At;return Tt(Re,_e,bt,te,Fe)}var De=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function fe(te,ae,ie){for(var ge=ae.length-1;ge>=0;ge--){var xe=ae[ge](te);if(xe)return xe}return function(Fe,Re){throw new Error("Invalid value of type "+typeof te+" for "+ie+" argument when connecting component "+Re.wrappedComponentName+".")}}function Je(te,ae){return te===ae}function It(te){var ae=te===void 0?{}:te,ie=ae.connectHOC,ge=ie===void 0?ht:ie,xe=ae.mapStateToPropsFactories,Fe=xe===void 0?Vn:xe,Re=ae.mapDispatchToPropsFactories,_e=Re===void 0?Ue:Re,bt=ae.mergePropsFactories,Tt=bt===void 0?kt:bt,Rt=ae.selectorFactory,wt=Rt===void 0?nt:Rt;return function(Jt,Un,ir,mr){mr===void 0&&(mr={});var hr=mr,Vr=hr.pure,ro=Vr===void 0?!0:Vr,so=hr.areStatesEqual,ui=so===void 0?Je:so,ni=hr.areOwnPropsEqual,Ni=ni===void 0?rt:ni,vl=hr.areStatePropsEqual,Ti=vl===void 0?rt:vl,pl=hr.areMergedPropsEqual,Rl=pl===void 0?rt:pl,Tl=(0,y.Z)(hr,De),Au=fe(Jt,Fe,"mapStateToProps"),yu=fe(Un,_e,"mapDispatchToProps"),uu=fe(ir,Tt,"mergeProps");return ge(wt,(0,Ne.Z)({methodName:"connect",getDisplayName:function(_l){return"Connect("+_l+")"},shouldHandleStateChanges:!!Jt,initMapStateToProps:Au,initMapDispatchToProps:yu,initMergeProps:uu,pure:ro,areStatesEqual:ui,areOwnPropsEqual:Ni,areStatePropsEqual:Ti,areMergedPropsEqual:Rl},Tl))}}var Oe=It();function Ie(){var te=useContext(ReactReduxContext);return te}function St(te){te===void 0&&(te=ReactReduxContext);var ae=te===ReactReduxContext?useDefaultReduxContext:function(){return useContext(te)};return function(){var ge=ae(),xe=ge.store;return xe}}var at=null;function Me(te){te===void 0&&(te=ReactReduxContext);var ae=te===ReactReduxContext?useDefaultStore:createStoreHook(te);return function(){var ge=ae();return ge.dispatch}}var yt=null,Fn=function(ae,ie){return ae===ie};function an(te,ae,ie,ge){var xe=useReducer(function(Un){return Un+1},0),Fe=xe[1],Re=useMemo(function(){return createSubscription(ie,ge)},[ie,ge]),_e=useRef(),bt=useRef(),Tt=useRef(),Rt=useRef(),wt=ie.getState(),Dt;try{if(te!==bt.current||wt!==Tt.current||_e.current){var Jt=te(wt);Rt.current===void 0||!ae(Jt,Rt.current)?Dt=Jt:Dt=Rt.current}else Dt=Rt.current}catch(Un){throw _e.current&&(Un.message+=`
The error may be correlated with this previous error:
`+_e.current.stack+`
`),Un}return useIsomorphicLayoutEffect(function(){bt.current=te,Tt.current=wt,Rt.current=Dt,_e.current=void 0}),useIsomorphicLayoutEffect(function(){function Un(){try{var ir=ie.getState();if(ir===Tt.current)return;var mr=bt.current(ir);if(ae(mr,Rt.current))return;Rt.current=mr,Tt.current=ir}catch(hr){_e.current=hr}Fe()}return Re.onStateChange=Un,Re.trySubscribe(),Un(),function(){return Re.tryUnsubscribe()}},[ie,Re]),Dt}function cn(te){te===void 0&&(te=ReactReduxContext);var ae=te===ReactReduxContext?useDefaultReduxContext:function(){return useContext(te)};return function(ge,xe){xe===void 0&&(xe=Fn);var Fe=ae(),Re=Fe.store,_e=Fe.subscription,bt=an(ge,xe,Re,_e);return useDebugValue(bt),bt}}var sn=null,yn=ee(4676);Ve(yn.unstable_batchedUpdates);function Te(te,ae){if(te.length!==ae.length)return!1;for(var ie=0;ie<te.length;ie++)if(te[ie]!==ae[ie])return!1;return!0}function xt(te,ae){var ie=(0,b.useState)(function(){return{inputs:ae,result:te()}})[0],ge=(0,b.useRef)(!0),xe=(0,b.useRef)(ie),Fe=ge.current||!!(ae&&xe.current.inputs&&Te(ae,xe.current.inputs)),Re=Fe?xe.current:{inputs:ae,result:te()};return(0,b.useEffect)(function(){ge.current=!1,xe.current=Re},[Re]),Re.result}function Ht(te,ae){return xt(function(){return te},ae)}var Bt=xt,Mt=Ht,dn=!0,gn="Invariant failed";function Ln(te,ae){if(!te){if(dn)throw new Error(gn);var ie=typeof ae=="function"?ae():ae,ge=ie?"".concat(gn,": ").concat(ie):gn;throw new Error(ge)}}var Jn=function(ae){var ie=ae.top,ge=ae.right,xe=ae.bottom,Fe=ae.left,Re=ge-Fe,_e=xe-ie,bt={top:ie,right:ge,bottom:xe,left:Fe,width:Re,height:_e,x:Fe,y:ie,center:{x:(ge+Fe)/2,y:(xe+ie)/2}};return bt},va=function(ae,ie){return{top:ae.top-ie.top,left:ae.left-ie.left,bottom:ae.bottom+ie.bottom,right:ae.right+ie.right}},Da=function(ae,ie){return{top:ae.top+ie.top,left:ae.left+ie.left,bottom:ae.bottom-ie.bottom,right:ae.right-ie.right}},Na=function(ae,ie){return{top:ae.top+ie.y,left:ae.left+ie.x,bottom:ae.bottom+ie.y,right:ae.right+ie.x}},ar={top:0,right:0,bottom:0,left:0},Ua=function(ae){var ie=ae.borderBox,ge=ae.margin,xe=ge===void 0?ar:ge,Fe=ae.border,Re=Fe===void 0?ar:Fe,_e=ae.padding,bt=_e===void 0?ar:_e,Tt=Jn(va(ie,xe)),Rt=Jn(Da(ie,Re)),wt=Jn(Da(Rt,bt));return{marginBox:Tt,borderBox:Jn(ie),paddingBox:Rt,contentBox:wt,margin:xe,border:Re,padding:bt}},fa=function(ae){var ie=ae.slice(0,-2),ge=ae.slice(-2);if(ge!=="px")return 0;var xe=Number(ie);return isNaN(xe)&&Ln(!1),xe},yr=function(){return{x:window.pageXOffset,y:window.pageYOffset}},en=function(ae,ie){var ge=ae.borderBox,xe=ae.border,Fe=ae.margin,Re=ae.padding,_e=Na(ge,ie);return Ua({borderBox:_e,border:xe,margin:Fe,padding:Re})},On=function(ae,ie){return ie===void 0&&(ie=yr()),en(ae,ie)},la=function(ae,ie){var ge={top:fa(ie.marginTop),right:fa(ie.marginRight),bottom:fa(ie.marginBottom),left:fa(ie.marginLeft)},xe={top:fa(ie.paddingTop),right:fa(ie.paddingRight),bottom:fa(ie.paddingBottom),left:fa(ie.paddingLeft)},Fe={top:fa(ie.borderTopWidth),right:fa(ie.borderRightWidth),bottom:fa(ie.borderBottomWidth),left:fa(ie.borderLeftWidth)};return Ua({borderBox:ae,margin:ge,padding:xe,border:Fe})},xa=function(ae){var ie=ae.getBoundingClientRect(),ge=window.getComputedStyle(ae);return la(ie,ge)},Ge=Number.isNaN||function(ae){return typeof ae=="number"&&ae!==ae};function Ot(te,ae){return!!(te===ae||Ge(te)&&Ge(ae))}function _t(te,ae){if(te.length!==ae.length)return!1;for(var ie=0;ie<te.length;ie++)if(!Ot(te[ie],ae[ie]))return!1;return!0}function Vt(te,ae){ae===void 0&&(ae=_t);var ie,ge=[],xe,Fe=!1;function Re(){for(var _e=[],bt=0;bt<arguments.length;bt++)_e[bt]=arguments[bt];return Fe&&ie===this&&ae(_e,ge)||(xe=te.apply(this,_e),Fe=!0,ie=this,ge=_e),xe}return Re}var Wt=Vt,Rn=function(ae){var ie=[],ge=null,xe=function(){for(var Re=arguments.length,_e=new Array(Re),bt=0;bt<Re;bt++)_e[bt]=arguments[bt];ie=_e,!ge&&(ge=requestAnimationFrame(function(){ge=null,ae.apply(void 0,ie)}))};return xe.cancel=function(){ge&&(cancelAnimationFrame(ge),ge=null)},xe},Bn=Rn,vt=!0,Ft=/[ \t]{2,}/g,pt=/^[ \t]*/gm,Sn=function(ae){return ae.replace(Ft," ").replace(pt,"").trim()},Wn=function(ae){return Sn(`
%creact-beautiful-dnd
%c`+Sn(ae)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},An=function(ae){return[Wn(ae),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},ka="__react-beautiful-dnd-disable-dev-warnings";function pa(te,ae){var ie;vt||typeof window!="undefined"&&window[ka]||(ie=console)[te].apply(ie,An(ae))}var _n=pa.bind(null,"warn"),Ea=pa.bind(null,"error");function Pa(){}function Dn(te,ae){return(0,Ne.Z)({},te,{},ae)}function lr(te,ae,ie){var ge=ae.map(function(xe){var Fe=Dn(ie,xe.options);return te.addEventListener(xe.eventName,xe.fn,Fe),function(){te.removeEventListener(xe.eventName,xe.fn,Fe)}});return function(){ge.forEach(function(Fe){Fe()})}}var Nr=!0,$r="Invariant failed";function Sr(te){this.message=te}Sr.prototype.toString=function(){return this.message};function $e(te,ae){if(!te)throw Nr?new Sr($r):new Sr($r+": "+(ae||""))}var bn=function(te){Be(ae,te);function ae(){for(var ge,xe=arguments.length,Fe=new Array(xe),Re=0;Re<xe;Re++)Fe[Re]=arguments[Re];return ge=te.call.apply(te,[this].concat(Fe))||this,ge.callbacks=null,ge.unbind=Pa,ge.onWindowError=function(_e){var bt=ge.getCallbacks();bt.isDragging()&&bt.tryAbort();var Tt=_e.error;Tt instanceof Sr&&_e.preventDefault()},ge.getCallbacks=function(){if(!ge.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return ge.callbacks},ge.setCallbacks=function(_e){ge.callbacks=_e},ge}var ie=ae.prototype;return ie.componentDidMount=function(){this.unbind=lr(window,[{eventName:"error",fn:this.onWindowError}])},ie.componentWillUnmount=function(){this.unbind()},ie.componentDidCatch=function(xe){if(xe instanceof Sr){this.setState({});return}throw xe},ie.render=function(){return this.props.children(this.setCallbacks)},ae}(b.Component),Xt=`
Press space bar to start a drag.
When dragging you can use the arrow keys to move the item around and escape to cancel.
Some screen readers may require you to be in focus mode or to use your pass through key
`,Nn=function(ae){return ae+1},Kn=function(ae){return`
You have lifted an item in position `+Nn(ae.source.index)+`
`},ua=function(ae,ie){var ge=ae.droppableId===ie.droppableId,xe=Nn(ae.index),Fe=Nn(ie.index);return ge?`
You have moved the item from position `+xe+`
to position `+Fe+`
`:`
You have moved the item from position `+xe+`
in list `+ae.droppableId+`
to list `+ie.droppableId+`
in position `+Fe+`
`},Qn=function(ae,ie,ge){var xe=ie.droppableId===ge.droppableId;return xe?`
The item `+ae+`
has been combined with `+ge.draggableId:`
The item `+ae+`
in list `+ie.droppableId+`
has been combined with `+ge.draggableId+`
in list `+ge.droppableId+`
`},$n=function(ae){var ie=ae.destination;if(ie)return ua(ae.source,ie);var ge=ae.combine;return ge?Qn(ae.draggableId,ae.source,ge):"You are over an area that cannot be dropped on"},ur=function(ae){return`
The item has returned to its starting position
of `+Nn(ae.index)+`
`},da=function(ae){if(ae.reason==="CANCEL")return`
Movement cancelled.
`+ur(ae.source)+`
`;var ie=ae.destination,ge=ae.combine;return ie?`
You have dropped the item.
`+ua(ae.source,ie)+`
`:ge?`
You have dropped the item.
`+Qn(ae.draggableId,ae.source,ge)+`
`:`
The item has been dropped while not over a drop area.
`+ur(ae.source)+`
`},En={dragHandleUsageInstructions:Xt,onDragStart:Kn,onDragUpdate:$n,onDragEnd:da},dr={x:0,y:0},Cr=function(ae,ie){return{x:ae.x+ie.x,y:ae.y+ie.y}},Wr=function(ae,ie){return{x:ae.x-ie.x,y:ae.y-ie.y}},Ir=function(ae,ie){return ae.x===ie.x&&ae.y===ie.y},ha=function(ae){return{x:ae.x!==0?-ae.x:0,y:ae.y!==0?-ae.y:0}},Ha=function(ae,ie,ge){var xe;return ge===void 0&&(ge=0),xe={},xe[ae]=ie,xe[ae==="x"?"y":"x"]=ge,xe},$a=function(ae,ie){return Math.sqrt(Math.pow(ie.x-ae.x,2)+Math.pow(ie.y-ae.y,2))},La=function(ae,ie){return Math.min.apply(Math,ie.map(function(ge){return $a(ae,ge)}))},Or=function(ae){return function(ie){return{x:ae(ie.x),y:ae(ie.y)}}},no=function(te,ae){var ie=Jn({top:Math.max(ae.top,te.top),right:Math.min(ae.right,te.right),bottom:Math.min(ae.bottom,te.bottom),left:Math.max(ae.left,te.left)});return ie.width<=0||ie.height<=0?null:ie},xr=function(ae,ie){return{top:ae.top+ie.y,left:ae.left+ie.x,bottom:ae.bottom+ie.y,right:ae.right+ie.x}},Er=function(ae){return[{x:ae.left,y:ae.top},{x:ae.right,y:ae.top},{x:ae.left,y:ae.bottom},{x:ae.right,y:ae.bottom}]},Pr={top:0,right:0,bottom:0,left:0},si=function(ae,ie){return ie?xr(ae,ie.scroll.diff.displacement):ae},ai=function(ae,ie,ge){if(ge&&ge.increasedBy){var xe;return(0,Ne.Z)({},ae,(xe={},xe[ie.end]=ae[ie.end]+ge.increasedBy[ie.line],xe))}return ae},Bi=function(ae,ie){return ie&&ie.shouldClipSubject?no(ie.pageMarginBox,ae):Jn(ae)},po=function(te){var ae=te.page,ie=te.withPlaceholder,ge=te.axis,xe=te.frame,Fe=si(ae.marginBox,xe),Re=ai(Fe,ge,ie),_e=Bi(Re,xe);return{page:ae,withPlaceholder:ie,active:_e}},yo=function(te,ae){te.frame||$e(!1);var ie=te.frame,ge=Wr(ae,ie.scroll.initial),xe=ha(ge),Fe=(0,Ne.Z)({},ie,{scroll:{initial:ie.scroll.initial,current:ae,diff:{value:ge,displacement:xe},max:ie.scroll.max}}),Re=po({page:te.subject.page,withPlaceholder:te.subject.withPlaceholder,axis:te.axis,frame:Fe}),_e=(0,Ne.Z)({},te,{frame:Fe,subject:Re});return _e};function Go(te){return Number.isInteger?Number.isInteger(te):typeof te=="number"&&isFinite(te)&&Math.floor(te)===te}function Mo(te){return Object.values?Object.values(te):Object.keys(te).map(function(ae){return te[ae]})}function Do(te,ae){if(te.findIndex)return te.findIndex(ae);for(var ie=0;ie<te.length;ie++)if(ae(te[ie]))return ie;return-1}function gr(te,ae){if(te.find)return te.find(ae);var ie=Do(te,ae);if(ie!==-1)return te[ie]}function eo(te){return Array.prototype.slice.call(te)}var Qo=Wt(function(te){return te.reduce(function(ae,ie){return ae[ie.descriptor.id]=ie,ae},{})}),Jo=Wt(function(te){return te.reduce(function(ae,ie){return ae[ie.descriptor.id]=ie,ae},{})}),Io=Wt(function(te){return Mo(te)}),br=Wt(function(te){return Mo(te)}),ri=Wt(function(te,ae){var ie=br(ae).filter(function(ge){return te===ge.descriptor.droppableId}).sort(function(ge,xe){return ge.descriptor.index-xe.descriptor.index});return ie});function zr(te){return te.at&&te.at.type==="REORDER"?te.at.destination:null}function ko(te){return te.at&&te.at.type==="COMBINE"?te.at.combine:null}var co=Wt(function(te,ae){return ae.filter(function(ie){return ie.descriptor.id!==te.descriptor.id})}),di=function(te){var ae=te.isMovingForward,ie=te.draggable,ge=te.destination,xe=te.insideDestination,Fe=te.previousImpact;if(!ge.isCombineEnabled)return null;var Re=zr(Fe);if(!Re)return null;function _e(ir){var mr={type:"COMBINE",combine:{draggableId:ir,droppableId:ge.descriptor.id}};return(0,Ne.Z)({},Fe,{at:mr})}var bt=Fe.displaced.all,Tt=bt.length?bt[0]:null;if(ae)return Tt?_e(Tt):null;var Rt=co(ie,xe);if(!Tt){if(!Rt.length)return null;var wt=Rt[Rt.length-1];return _e(wt.descriptor.id)}var Dt=Do(Rt,function(ir){return ir.descriptor.id===Tt});Dt===-1&&$e(!1);var Jt=Dt-1;if(Jt<0)return null;var Un=Rt[Jt];return _e(Un.descriptor.id)},hi=function(te,ae){return te.descriptor.droppableId===ae.descriptor.id},Qi={point:dr,value:0},tl={invisible:{},visible:{},all:[]},nl={displaced:tl,displacedBy:Qi,at:null},Vo=function(te,ae){return function(ie){return te<=ie&&ie<=ae}},wi=function(te){var ae=Vo(te.top,te.bottom),ie=Vo(te.left,te.right);return function(ge){var xe=ae(ge.top)&&ae(ge.bottom)&&ie(ge.left)&&ie(ge.right);if(xe)return!0;var Fe=ae(ge.top)||ae(ge.bottom),Re=ie(ge.left)||ie(ge.right),_e=Fe&&Re;if(_e)return!0;var bt=ge.top<te.top&&ge.bottom>te.bottom,Tt=ge.left<te.left&&ge.right>te.right,Rt=bt&&Tt;if(Rt)return!0;var wt=bt&&Re||Tt&&Fe;return wt}},Vi=function(te){var ae=Vo(te.top,te.bottom),ie=Vo(te.left,te.right);return function(ge){var xe=ae(ge.top)&&ae(ge.bottom)&&ie(ge.left)&&ie(ge.right);return xe}},dl={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ml={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},yl=function(te){return function(ae){var ie=Vo(ae.top,ae.bottom),ge=Vo(ae.left,ae.right);return function(xe){return te===dl?ie(xe.top)&&ie(xe.bottom):ge(xe.left)&&ge(xe.right)}}},kr=function(ae,ie){var ge=ie.frame?ie.frame.scroll.diff.displacement:dr;return xr(ae,ge)},Qa=function(ae,ie,ge){return ie.subject.active?ge(ie.subject.active)(ae):!1},Ga=function(ae,ie,ge){return ge(ie)(ae)},Ya=function(ae){var ie=ae.target,ge=ae.destination,xe=ae.viewport,Fe=ae.withDroppableDisplacement,Re=ae.isVisibleThroughFrameFn,_e=Fe?kr(ie,ge):ie;return Qa(_e,ge,Re)&&Ga(_e,xe,Re)},uo=function(ae){return Ya((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:wi}))},we=function(ae){return Ya((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:Vi}))},vn=function(ae){return Ya((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:yl(ae.destination.axis)}))},Mn=function(ae,ie,ge){if(typeof ge=="boolean")return ge;if(!ie)return!0;var xe=ie.invisible,Fe=ie.visible;if(xe[ae])return!1;var Re=Fe[ae];return Re?Re.shouldAnimate:!0};function Sa(te,ae){var ie=te.page.marginBox,ge={top:ae.point.y,right:0,bottom:0,left:ae.point.x};return Jn(va(ie,ge))}function ln(te){var ae=te.afterDragging,ie=te.destination,ge=te.displacedBy,xe=te.viewport,Fe=te.forceShouldAnimate,Re=te.last;return ae.reduce(function(bt,Tt){var Rt=Sa(Tt,ge),wt=Tt.descriptor.id;bt.all.push(wt);var Dt=uo({target:Rt,destination:ie,viewport:xe,withDroppableDisplacement:!0});if(!Dt)return bt.invisible[Tt.descriptor.id]=!0,bt;var Jt=Mn(wt,Re,Fe),Un={draggableId:wt,shouldAnimate:Jt};return bt.visible[wt]=Un,bt},{all:[],visible:{},invisible:{}})}function Ma(te,ae){if(!te.length)return 0;var ie=te[te.length-1].descriptor.index;return ae.inHomeList?ie:ie+1}function Fa(te){var ae=te.insideDestination,ie=te.inHomeList,ge=te.displacedBy,xe=te.destination,Fe=Ma(ae,{inHomeList:ie});return{displaced:tl,displacedBy:ge,at:{type:"REORDER",destination:{droppableId:xe.descriptor.id,index:Fe}}}}function jn(te){var ae=te.draggable,ie=te.insideDestination,ge=te.destination,xe=te.viewport,Fe=te.displacedBy,Re=te.last,_e=te.index,bt=te.forceShouldAnimate,Tt=hi(ae,ge);if(_e==null)return Fa({insideDestination:ie,inHomeList:Tt,displacedBy:Fe,destination:ge});var Rt=gr(ie,function(ir){return ir.descriptor.index===_e});if(!Rt)return Fa({insideDestination:ie,inHomeList:Tt,displacedBy:Fe,destination:ge});var wt=co(ae,ie),Dt=ie.indexOf(Rt),Jt=wt.slice(Dt),Un=ln({afterDragging:Jt,destination:ge,displacedBy:Fe,last:Re,viewport:xe.frame,forceShouldAnimate:bt});return{displaced:Un,displacedBy:Fe,at:{type:"REORDER",destination:{droppableId:ge.descriptor.id,index:_e}}}}function Xn(te,ae){return!!ae.effected[te]}var sr=function(te){var ae=te.isMovingForward,ie=te.destination,ge=te.draggables,xe=te.combine,Fe=te.afterCritical;if(!ie.isCombineEnabled)return null;var Re=xe.draggableId,_e=ge[Re],bt=_e.descriptor.index,Tt=Xn(Re,Fe);return Tt?ae?bt:bt-1:ae?bt+1:bt},za=function(te){var ae=te.isMovingForward,ie=te.isInHomeList,ge=te.insideDestination,xe=te.location;if(!ge.length)return null;var Fe=xe.index,Re=ae?Fe+1:Fe-1,_e=ge[0].descriptor.index,bt=ge[ge.length-1].descriptor.index,Tt=ie?bt:bt+1;return Re<_e||Re>Tt?null:Re},Ta=function(te){var ae=te.isMovingForward,ie=te.isInHomeList,ge=te.draggable,xe=te.draggables,Fe=te.destination,Re=te.insideDestination,_e=te.previousImpact,bt=te.viewport,Tt=te.afterCritical,Rt=_e.at;if(Rt||$e(!1),Rt.type==="REORDER"){var wt=za({isMovingForward:ae,isInHomeList:ie,location:Rt.destination,insideDestination:Re});return wt==null?null:jn({draggable:ge,insideDestination:Re,destination:Fe,viewport:bt,last:_e.displaced,displacedBy:_e.displacedBy,index:wt})}var Dt=sr({isMovingForward:ae,destination:Fe,displaced:_e.displaced,draggables:xe,combine:Rt.combine,afterCritical:Tt});return Dt==null?null:jn({draggable:ge,insideDestination:Re,destination:Fe,viewport:bt,last:_e.displaced,displacedBy:_e.displacedBy,index:Dt})},Ja=function(te){var ae=te.displaced,ie=te.afterCritical,ge=te.combineWith,xe=te.displacedBy,Fe=!!(ae.visible[ge]||ae.invisible[ge]);return Xn(ge,ie)?Fe?dr:ha(xe.point):Fe?xe.point:dr},Rr=function(te){var ae=te.afterCritical,ie=te.impact,ge=te.draggables,xe=ko(ie);xe||$e(!1);var Fe=xe.draggableId,Re=ge[Fe].page.borderBox.center,_e=Ja({displaced:ie.displaced,afterCritical:ae,combineWith:Fe,displacedBy:ie.displacedBy});return Cr(Re,_e)},bo=function(ae,ie){return ie.margin[ae.start]+ie.borderBox[ae.size]/2},Uo=function(ae,ie){return ie.margin[ae.end]+ie.borderBox[ae.size]/2},Wo=function(ae,ie,ge){return ie[ae.crossAxisStart]+ge.margin[ae.crossAxisStart]+ge.borderBox[ae.crossAxisSize]/2},_i=function(ae){var ie=ae.axis,ge=ae.moveRelativeTo,xe=ae.isMoving;return Ha(ie.line,ge.marginBox[ie.end]+bo(ie,xe),Wo(ie,ge.marginBox,xe))},Xi=function(ae){var ie=ae.axis,ge=ae.moveRelativeTo,xe=ae.isMoving;return Ha(ie.line,ge.marginBox[ie.start]-Uo(ie,xe),Wo(ie,ge.marginBox,xe))},al=function(ae){var ie=ae.axis,ge=ae.moveInto,xe=ae.isMoving;return Ha(ie.line,ge.contentBox[ie.start]+bo(ie,xe),Wo(ie,ge.contentBox,xe))},Zl=function(te){var ae=te.impact,ie=te.draggable,ge=te.draggables,xe=te.droppable,Fe=te.afterCritical,Re=ri(xe.descriptor.id,ge),_e=ie.page,bt=xe.axis;if(!Re.length)return al({axis:bt,moveInto:xe.page,isMoving:_e});var Tt=ae.displaced,Rt=ae.displacedBy,wt=Tt.all[0];if(wt){var Dt=ge[wt];if(Xn(wt,Fe))return Xi({axis:bt,moveRelativeTo:Dt.page,isMoving:_e});var Jt=en(Dt.page,Rt.point);return Xi({axis:bt,moveRelativeTo:Jt,isMoving:_e})}var Un=Re[Re.length-1];if(Un.descriptor.id===ie.descriptor.id)return _e.borderBox.center;if(Xn(Un.descriptor.id,Fe)){var ir=en(Un.page,ha(Fe.displacedBy.point));return _i({axis:bt,moveRelativeTo:ir,isMoving:_e})}return _i({axis:bt,moveRelativeTo:Un.page,isMoving:_e})},Nl=function(te,ae){var ie=te.frame;return ie?Cr(ae,ie.scroll.diff.displacement):ae},ho=function(ae){var ie=ae.impact,ge=ae.draggable,xe=ae.droppable,Fe=ae.draggables,Re=ae.afterCritical,_e=ge.page.borderBox.center,bt=ie.at;return!xe||!bt?_e:bt.type==="REORDER"?Zl({impact:ie,draggable:ge,draggables:Fe,droppable:xe,afterCritical:Re}):Rr({impact:ie,draggables:Fe,afterCritical:Re})},bl=function(te){var ae=ho(te),ie=te.droppable,ge=ie?Nl(ie,ae):ae;return ge},eu=function(te,ae){var ie=Wr(ae,te.scroll.initial),ge=ha(ie),xe=Jn({top:ae.y,bottom:ae.y+te.frame.height,left:ae.x,right:ae.x+te.frame.width}),Fe={frame:xe,scroll:{initial:te.scroll.initial,max:te.scroll.max,current:ae,diff:{value:ie,displacement:ge}}};return Fe};function Il(te,ae){return te.map(function(ie){return ae[ie]})}function Fl(te,ae){for(var ie=0;ie<ae.length;ie++){var ge=ae[ie].visible[te];if(ge)return ge}return null}var tu=function(te){var ae=te.impact,ie=te.viewport,ge=te.destination,xe=te.draggables,Fe=te.maxScrollChange,Re=eu(ie,Cr(ie.scroll.current,Fe)),_e=ge.frame?yo(ge,Cr(ge.frame.scroll.current,Fe)):ge,bt=ae.displaced,Tt=ln({afterDragging:Il(bt.all,xe),destination:ge,displacedBy:ae.displacedBy,viewport:Re.frame,last:bt,forceShouldAnimate:!1}),Rt=ln({afterDragging:Il(bt.all,xe),destination:_e,displacedBy:ae.displacedBy,viewport:ie.frame,last:bt,forceShouldAnimate:!1}),wt={},Dt={},Jt=[bt,Tt,Rt];bt.all.forEach(function(ir){var mr=Fl(ir,Jt);if(mr){Dt[ir]=mr;return}wt[ir]=!0});var Un=(0,Ne.Z)({},ae,{displaced:{all:bt.all,invisible:wt,visible:Dt}});return Un},Qu=function(te,ae){return Cr(te.scroll.diff.displacement,ae)},su=function(te){var ae=te.pageBorderBoxCenter,ie=te.draggable,ge=te.viewport,xe=Qu(ge,ae),Fe=Wr(xe,ie.page.borderBox.center);return Cr(ie.client.borderBox.center,Fe)},mu=function(te){var ae=te.draggable,ie=te.destination,ge=te.newPageBorderBoxCenter,xe=te.viewport,Fe=te.withDroppableDisplacement,Re=te.onlyOnMainAxis,_e=Re===void 0?!1:Re,bt=Wr(ge,ae.page.borderBox.center),Tt=xr(ae.page.borderBox,bt),Rt={target:Tt,destination:ie,withDroppableDisplacement:Fe,viewport:xe};return _e?vn(Rt):we(Rt)},Yu=function(te){var ae=te.isMovingForward,ie=te.draggable,ge=te.destination,xe=te.draggables,Fe=te.previousImpact,Re=te.viewport,_e=te.previousPageBorderBoxCenter,bt=te.previousClientSelection,Tt=te.afterCritical;if(!ge.isEnabled)return null;var Rt=ri(ge.descriptor.id,xe),wt=hi(ie,ge),Dt=di({isMovingForward:ae,draggable:ie,destination:ge,insideDestination:Rt,previousImpact:Fe})||Ta({isMovingForward:ae,isInHomeList:wt,draggable:ie,draggables:xe,destination:ge,insideDestination:Rt,previousImpact:Fe,viewport:Re,afterCritical:Tt});if(!Dt)return null;var Jt=bl({impact:Dt,draggable:ie,droppable:ge,draggables:xe,afterCritical:Tt}),Un=mu({draggable:ie,destination:ge,newPageBorderBoxCenter:Jt,viewport:Re.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(Un){var ir=su({pageBorderBoxCenter:Jt,draggable:ie,viewport:Re});return{clientSelection:ir,impact:Dt,scrollJumpRequest:null}}var mr=Wr(Jt,_e),hr=tu({impact:Dt,viewport:Re,destination:ge,draggables:xe,maxScrollChange:mr});return{clientSelection:bt,impact:hr,scrollJumpRequest:mr}},El=function(ae){var ie=ae.subject.active;return ie||$e(!1),ie},Ru=function(te){var ae=te.isMovingForward,ie=te.pageBorderBoxCenter,ge=te.source,xe=te.droppables,Fe=te.viewport,Re=ge.subject.active;if(!Re)return null;var _e=ge.axis,bt=Vo(Re[_e.start],Re[_e.end]),Tt=Io(xe).filter(function(wt){return wt!==ge}).filter(function(wt){return wt.isEnabled}).filter(function(wt){return!!wt.subject.active}).filter(function(wt){return wi(Fe.frame)(El(wt))}).filter(function(wt){var Dt=El(wt);return ae?Re[_e.crossAxisEnd]<Dt[_e.crossAxisEnd]:Dt[_e.crossAxisStart]<Re[_e.crossAxisStart]}).filter(function(wt){var Dt=El(wt),Jt=Vo(Dt[_e.start],Dt[_e.end]);return bt(Dt[_e.start])||bt(Dt[_e.end])||Jt(Re[_e.start])||Jt(Re[_e.end])}).sort(function(wt,Dt){var Jt=El(wt)[_e.crossAxisStart],Un=El(Dt)[_e.crossAxisStart];return ae?Jt-Un:Un-Jt}).filter(function(wt,Dt,Jt){return El(wt)[_e.crossAxisStart]===El(Jt[0])[_e.crossAxisStart]});if(!Tt.length)return null;if(Tt.length===1)return Tt[0];var Rt=Tt.filter(function(wt){var Dt=Vo(El(wt)[_e.start],El(wt)[_e.end]);return Dt(ie[_e.line])});return Rt.length===1?Rt[0]:Rt.length>1?Rt.sort(function(wt,Dt){return El(wt)[_e.start]-El(Dt)[_e.start]})[0]:Tt.sort(function(wt,Dt){var Jt=La(ie,Er(El(wt))),Un=La(ie,Er(El(Dt)));return Jt!==Un?Jt-Un:El(wt)[_e.start]-El(Dt)[_e.start]})[0]},Mu=function(ae,ie){var ge=ae.page.borderBox.center;return Xn(ae.descriptor.id,ie)?Wr(ge,ie.displacedBy.point):ge},rl=function(ae,ie){var ge=ae.page.borderBox;return Xn(ae.descriptor.id,ie)?xr(ge,ha(ie.displacedBy.point)):ge},ku=function(te){var ae=te.pageBorderBoxCenter,ie=te.viewport,ge=te.destination,xe=te.insideDestination,Fe=te.afterCritical,Re=xe.filter(function(_e){return we({target:rl(_e,Fe),destination:ge,viewport:ie.frame,withDroppableDisplacement:!0})}).sort(function(_e,bt){var Tt=$a(ae,Nl(ge,Mu(_e,Fe))),Rt=$a(ae,Nl(ge,Mu(bt,Fe)));return Tt<Rt?-1:Rt<Tt?1:_e.descriptor.index-bt.descriptor.index});return Re[0]||null},nu=Wt(function(ae,ie){var ge=ie[ae.line];return{value:ge,point:Ha(ae.line,ge)}}),Ju=function(ae,ie,ge){var xe=ae.axis;if(ae.descriptor.mode==="virtual")return Ha(xe.line,ie[xe.line]);var Fe=ae.subject.page.contentBox[xe.size],Re=ri(ae.descriptor.id,ge),_e=Re.reduce(function(Rt,wt){return Rt+wt.client.marginBox[xe.size]},0),bt=_e+ie[xe.line],Tt=bt-Fe;return Tt<=0?null:Ha(xe.line,Tt)},bu=function(ae,ie){return(0,Ne.Z)({},ae,{scroll:(0,Ne.Z)({},ae.scroll,{max:ie})})},Tu=function(ae,ie,ge){var xe=ae.frame;hi(ie,ae)&&$e(!1),ae.subject.withPlaceholder&&$e(!1);var Fe=nu(ae.axis,ie.displaceBy).point,Re=Ju(ae,Fe,ge),_e={placeholderSize:Fe,increasedBy:Re,oldFrameMaxScroll:ae.frame?ae.frame.scroll.max:null};if(!xe){var bt=po({page:ae.subject.page,withPlaceholder:_e,axis:ae.axis,frame:ae.frame});return(0,Ne.Z)({},ae,{subject:bt})}var Tt=Re?Cr(xe.scroll.max,Re):xe.scroll.max,Rt=bu(xe,Tt),wt=po({page:ae.subject.page,withPlaceholder:_e,axis:ae.axis,frame:Rt});return(0,Ne.Z)({},ae,{subject:wt,frame:Rt})},Xu=function(ae){var ie=ae.subject.withPlaceholder;ie||$e(!1);var ge=ae.frame;if(!ge){var xe=po({page:ae.subject.page,axis:ae.axis,frame:null,withPlaceholder:null});return(0,Ne.Z)({},ae,{subject:xe})}var Fe=ie.oldFrameMaxScroll;Fe||$e(!1);var Re=bu(ge,Fe),_e=po({page:ae.subject.page,axis:ae.axis,frame:Re,withPlaceholder:null});return(0,Ne.Z)({},ae,{subject:_e,frame:Re})},_u=function(te){var ae=te.previousPageBorderBoxCenter,ie=te.moveRelativeTo,ge=te.insideDestination,xe=te.draggable,Fe=te.draggables,Re=te.destination,_e=te.viewport,bt=te.afterCritical;if(!ie){if(ge.length)return null;var Tt={displaced:tl,displacedBy:Qi,at:{type:"REORDER",destination:{droppableId:Re.descriptor.id,index:0}}},Rt=bl({impact:Tt,draggable:xe,droppable:Re,draggables:Fe,afterCritical:bt}),wt=hi(xe,Re)?Re:Tu(Re,xe,Fe),Dt=mu({draggable:xe,destination:wt,newPageBorderBoxCenter:Rt,viewport:_e.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Dt?Tt:null}var Jt=ae[Re.axis.line]<=ie.page.borderBox.center[Re.axis.line],Un=function(){var mr=ie.descriptor.index;return ie.descriptor.id===xe.descriptor.id||Jt?mr:mr+1}(),ir=nu(Re.axis,xe.displaceBy);return jn({draggable:xe,insideDestination:ge,destination:Re,viewport:_e,displacedBy:ir,last:tl,index:Un})},Cl=function(te){var ae=te.isMovingForward,ie=te.previousPageBorderBoxCenter,ge=te.draggable,xe=te.isOver,Fe=te.draggables,Re=te.droppables,_e=te.viewport,bt=te.afterCritical,Tt=Ru({isMovingForward:ae,pageBorderBoxCenter:ie,source:xe,droppables:Re,viewport:_e});if(!Tt)return null;var Rt=ri(Tt.descriptor.id,Fe),wt=ku({pageBorderBoxCenter:ie,viewport:_e,destination:Tt,insideDestination:Rt,afterCritical:bt}),Dt=_u({previousPageBorderBoxCenter:ie,destination:Tt,draggable:ge,draggables:Fe,moveRelativeTo:wt,insideDestination:Rt,viewport:_e,afterCritical:bt});if(!Dt)return null;var Jt=bl({impact:Dt,draggable:ge,droppable:Tt,draggables:Fe,afterCritical:bt}),Un=su({pageBorderBoxCenter:Jt,draggable:ge,viewport:_e});return{clientSelection:Un,impact:Dt,scrollJumpRequest:null}},Wi=function(te){var ae=te.at;return ae?ae.type==="REORDER"?ae.destination.droppableId:ae.combine.droppableId:null},Zu=function(ae,ie){var ge=Wi(ae);return ge?ie[ge]:null},fs=function(te){var ae=te.state,ie=te.type,ge=Zu(ae.impact,ae.dimensions.droppables),xe=!!ge,Fe=ae.dimensions.droppables[ae.critical.droppable.id],Re=ge||Fe,_e=Re.axis.direction,bt=_e==="vertical"&&(ie==="MOVE_UP"||ie==="MOVE_DOWN")||_e==="horizontal"&&(ie==="MOVE_LEFT"||ie==="MOVE_RIGHT");if(bt&&!xe)return null;var Tt=ie==="MOVE_DOWN"||ie==="MOVE_RIGHT",Rt=ae.dimensions.draggables[ae.critical.draggable.id],wt=ae.current.page.borderBoxCenter,Dt=ae.dimensions,Jt=Dt.draggables,Un=Dt.droppables;return bt?Yu({isMovingForward:Tt,previousPageBorderBoxCenter:wt,draggable:Rt,destination:Re,draggables:Jt,viewport:ae.viewport,previousClientSelection:ae.current.client.selection,previousImpact:ae.impact,afterCritical:ae.afterCritical}):Cl({isMovingForward:Tt,previousPageBorderBoxCenter:wt,draggable:Rt,isOver:Re,draggables:Jt,droppables:Un,viewport:ae.viewport,afterCritical:ae.afterCritical})};function au(te){return te.phase==="DRAGGING"||te.phase==="COLLECTING"}function Di(te){var ae=Vo(te.top,te.bottom),ie=Vo(te.left,te.right);return function(xe){return ae(xe.y)&&ie(xe.x)}}function Cu(te,ae){return te.left<ae.right&&te.right>ae.left&&te.top<ae.bottom&&te.bottom>ae.top}function Hu(te){var ae=te.pageBorderBox,ie=te.draggable,ge=te.candidates,xe=ie.page.borderBox.center,Fe=ge.map(function(Re){var _e=Re.axis,bt=Ha(Re.axis.line,ae.center[_e.line],Re.page.borderBox.center[_e.crossAxisLine]);return{id:Re.descriptor.id,distance:$a(xe,bt)}}).sort(function(Re,_e){return _e.distance-Re.distance});return Fe[0]?Fe[0].id:null}function rs(te){var ae=te.pageBorderBox,ie=te.draggable,ge=te.droppables,xe=Io(ge).filter(function(Fe){if(!Fe.isEnabled)return!1;var Re=Fe.subject.active;if(!Re||!Cu(ae,Re))return!1;if(Di(Re)(ae.center))return!0;var _e=Fe.axis,bt=Re.center[_e.crossAxisLine],Tt=ae[_e.crossAxisStart],Rt=ae[_e.crossAxisEnd],wt=Vo(Re[_e.crossAxisStart],Re[_e.crossAxisEnd]),Dt=wt(Tt),Jt=wt(Rt);return!Dt&&!Jt?!0:Dt?Tt<bt:Rt>bt});return xe.length?xe.length===1?xe[0].descriptor.id:Hu({pageBorderBox:ae,draggable:ie,candidates:xe}):null}var Ol=function(ae,ie){return Jn(xr(ae,ie))},zu=function(te,ae){var ie=te.frame;return ie?Ol(ae,ie.scroll.diff.value):ae};function xu(te){var ae=te.displaced,ie=te.id;return!!(ae.visible[ie]||ae.invisible[ie])}function Fu(te){var ae=te.draggable,ie=te.closest,ge=te.inHomeList;return ie?ge&&ie.descriptor.index>ae.descriptor.index?ie.descriptor.index-1:ie.descriptor.index:null}var Bl=function(te){var ae=te.pageBorderBoxWithDroppableScroll,ie=te.draggable,ge=te.destination,xe=te.insideDestination,Fe=te.last,Re=te.viewport,_e=te.afterCritical,bt=ge.axis,Tt=nu(ge.axis,ie.displaceBy),Rt=Tt.value,wt=ae[bt.start],Dt=ae[bt.end],Jt=co(ie,xe),Un=gr(Jt,function(mr){var hr=mr.descriptor.id,Vr=mr.page.borderBox.center[bt.line],ro=Xn(hr,_e),so=xu({displaced:Fe,id:hr});return ro?so?Dt<=Vr:wt<Vr-Rt:so?Dt<=Vr+Rt:wt<Vr}),ir=Fu({draggable:ie,closest:Un,inHomeList:hi(ie,ge)});return jn({draggable:ie,insideDestination:xe,destination:ge,viewport:Re,last:Fe,displacedBy:Tt,index:ir})},Hl=4,os=function(te){var ae=te.draggable,ie=te.pageBorderBoxWithDroppableScroll,ge=te.previousImpact,xe=te.destination,Fe=te.insideDestination,Re=te.afterCritical;if(!xe.isCombineEnabled)return null;var _e=xe.axis,bt=nu(xe.axis,ae.displaceBy),Tt=bt.value,Rt=ie[_e.start],wt=ie[_e.end],Dt=co(ae,Fe),Jt=gr(Dt,function(ir){var mr=ir.descriptor.id,hr=ir.page.borderBox,Vr=hr[_e.size],ro=Vr/Hl,so=Xn(mr,Re),ui=xu({displaced:ge.displaced,id:mr});return so?ui?wt>hr[_e.start]+ro&&wt<hr[_e.end]-ro:Rt>hr[_e.start]-Tt+ro&&Rt<hr[_e.end]-Tt-ro:ui?wt>hr[_e.start]+Tt+ro&&wt<hr[_e.end]+Tt-ro:Rt>hr[_e.start]+ro&&Rt<hr[_e.end]-ro});if(!Jt)return null;var Un={displacedBy:bt,displaced:ge.displaced,at:{type:"COMBINE",combine:{draggableId:Jt.descriptor.id,droppableId:xe.descriptor.id}}};return Un},qu=function(te){var ae=te.pageOffset,ie=te.draggable,ge=te.draggables,xe=te.droppables,Fe=te.previousImpact,Re=te.viewport,_e=te.afterCritical,bt=Ol(ie.page.borderBox,ae),Tt=rs({pageBorderBox:bt,draggable:ie,droppables:xe});if(!Tt)return nl;var Rt=xe[Tt],wt=ri(Rt.descriptor.id,ge),Dt=zu(Rt,bt);return os({pageBorderBoxWithDroppableScroll:Dt,draggable:ie,previousImpact:Fe,destination:Rt,insideDestination:wt,afterCritical:_e})||Bl({pageBorderBoxWithDroppableScroll:Dt,draggable:ie,destination:Rt,insideDestination:wt,last:Fe.displaced,viewport:Re,afterCritical:_e})},ju=function(te,ae){var ie;return(0,Ne.Z)({},te,(ie={},ie[ae.descriptor.id]=ae,ie))},Ar=function(ae){var ie=ae.previousImpact,ge=ae.impact,xe=ae.droppables,Fe=Wi(ie),Re=Wi(ge);if(!Fe||Fe===Re)return xe;var _e=xe[Fe];if(!_e.subject.withPlaceholder)return xe;var bt=Xu(_e);return ju(xe,bt)},Bu=function(te){var ae=te.draggable,ie=te.draggables,ge=te.droppables,xe=te.previousImpact,Fe=te.impact,Re=Ar({previousImpact:xe,impact:Fe,droppables:ge}),_e=Wi(Fe);if(!_e)return Re;var bt=ge[_e];if(hi(ae,bt)||bt.subject.withPlaceholder)return Re;var Tt=Tu(bt,ae,ie);return ju(Re,Tt)},Yl=function(te){var ae=te.state,ie=te.clientSelection,ge=te.dimensions,xe=te.viewport,Fe=te.impact,Re=te.scrollJumpRequest,_e=xe||ae.viewport,bt=ge||ae.dimensions,Tt=ie||ae.current.client.selection,Rt=Wr(Tt,ae.initial.client.selection),wt={offset:Rt,selection:Tt,borderBoxCenter:Cr(ae.initial.client.borderBoxCenter,Rt)},Dt={selection:Cr(wt.selection,_e.scroll.current),borderBoxCenter:Cr(wt.borderBoxCenter,_e.scroll.current),offset:Cr(wt.offset,_e.scroll.diff.value)},Jt={client:wt,page:Dt};if(ae.phase==="COLLECTING")return(0,Ne.Z)({phase:"COLLECTING"},ae,{dimensions:bt,viewport:_e,current:Jt});var Un=bt.draggables[ae.critical.draggable.id],ir=Fe||qu({pageOffset:Dt.offset,draggable:Un,draggables:bt.draggables,droppables:bt.droppables,previousImpact:ae.impact,viewport:_e,afterCritical:ae.afterCritical}),mr=Bu({draggable:Un,impact:ir,previousImpact:ae.impact,draggables:bt.draggables,droppables:bt.droppables}),hr=(0,Ne.Z)({},ae,{current:Jt,dimensions:{draggables:bt.draggables,droppables:mr},impact:ir,viewport:_e,scrollJumpRequest:Re||null,forceShouldAnimate:Re?!1:null});return hr};function zl(te,ae){return te.map(function(ie){return ae[ie]})}var qa=function(te){var ae=te.impact,ie=te.viewport,ge=te.draggables,xe=te.destination,Fe=te.forceShouldAnimate,Re=ae.displaced,_e=zl(Re.all,ge),bt=ln({afterDragging:_e,destination:xe,displacedBy:ae.displacedBy,viewport:ie.frame,forceShouldAnimate:Fe,last:Re});return(0,Ne.Z)({},ae,{displaced:bt})},du=function(te){var ae=te.impact,ie=te.draggable,ge=te.droppable,xe=te.draggables,Fe=te.viewport,Re=te.afterCritical,_e=bl({impact:ae,draggable:ie,draggables:xe,droppable:ge,afterCritical:Re});return su({pageBorderBoxCenter:_e,draggable:ie,viewport:Fe})},es=function(te){var ae=te.state,ie=te.dimensions,ge=te.viewport;ae.movementMode!=="SNAP"&&$e(!1);var xe=ae.impact,Fe=ge||ae.viewport,Re=ie||ae.dimensions,_e=Re.draggables,bt=Re.droppables,Tt=_e[ae.critical.draggable.id],Rt=Wi(xe);Rt||$e(!1);var wt=bt[Rt],Dt=qa({impact:xe,viewport:Fe,destination:wt,draggables:_e}),Jt=du({impact:Dt,draggable:Tt,droppable:wt,draggables:_e,viewport:Fe,afterCritical:ae.afterCritical});return Yl({impact:Dt,clientSelection:Jt,state:ae,dimensions:Re,viewport:Fe})},is=function(te){return{index:te.index,droppableId:te.droppableId}},wu=function(te){var ae=te.draggable,ie=te.home,ge=te.draggables,xe=te.viewport,Fe=nu(ie.axis,ae.displaceBy),Re=ri(ie.descriptor.id,ge),_e=Re.indexOf(ae);_e===-1&&$e(!1);var bt=Re.slice(_e+1),Tt=bt.reduce(function(Jt,Un){return Jt[Un.descriptor.id]=!0,Jt},{}),Rt={inVirtualList:ie.descriptor.mode==="virtual",displacedBy:Fe,effected:Tt},wt=ln({afterDragging:bt,destination:ie,displacedBy:Fe,last:null,viewport:xe.frame,forceShouldAnimate:!1}),Dt={displaced:wt,displacedBy:Fe,at:{type:"REORDER",destination:is(ae.descriptor)}};return{impact:Dt,afterCritical:Rt}},ts=function(te,ae){return{draggables:te.draggables,droppables:ju(te.droppables,ae)}},cu=function(ae){},Yi=function(ae){},ls=function(te){var ae=te.draggable,ie=te.offset,ge=te.initialWindowScroll,xe=en(ae.client,ie),Fe=On(xe,ge),Re=(0,Ne.Z)({},ae,{placeholder:(0,Ne.Z)({},ae.placeholder,{client:xe}),client:xe,page:Fe});return Re},us=function(te){var ae=te.frame;return ae||$e(!1),ae},ss=function(te){var ae=te.additions,ie=te.updatedDroppables,ge=te.viewport,xe=ge.scroll.diff.value;return ae.map(function(Fe){var Re=Fe.descriptor.droppableId,_e=ie[Re],bt=us(_e),Tt=bt.scroll.diff.value,Rt=Cr(xe,Tt),wt=ls({draggable:Fe,offset:Rt,initialWindowScroll:ge.scroll.initial});return wt})},Gu=function(te){var ae=te.state,ie=te.published;cu();var ge=ie.modified.map(function(ro){var so=ae.dimensions.droppables[ro.droppableId],ui=yo(so,ro.scroll);return ui}),xe=(0,Ne.Z)({},ae.dimensions.droppables,{},Qo(ge)),Fe=Jo(ss({additions:ie.additions,updatedDroppables:xe,viewport:ae.viewport})),Re=(0,Ne.Z)({},ae.dimensions.draggables,{},Fe);ie.removals.forEach(function(ro){delete Re[ro]});var _e={droppables:xe,draggables:Re},bt=Wi(ae.impact),Tt=bt?_e.droppables[bt]:null,Rt=_e.draggables[ae.critical.draggable.id],wt=_e.droppables[ae.critical.droppable.id],Dt=wu({draggable:Rt,home:wt,draggables:Re,viewport:ae.viewport}),Jt=Dt.impact,Un=Dt.afterCritical,ir=Tt&&Tt.isCombineEnabled?ae.impact:Jt,mr=qu({pageOffset:ae.current.page.offset,draggable:_e.draggables[ae.critical.draggable.id],draggables:_e.draggables,droppables:_e.droppables,previousImpact:ir,viewport:ae.viewport,afterCritical:Un});Yi();var hr=(0,Ne.Z)({phase:"DRAGGING"},ae,{phase:"DRAGGING",impact:mr,onLiftImpact:Jt,dimensions:_e,afterCritical:Un,forceShouldAnimate:!1});if(ae.phase==="COLLECTING")return hr;var Vr=(0,Ne.Z)({phase:"DROP_PENDING"},hr,{phase:"DROP_PENDING",reason:ae.reason,isWaiting:!1});return Vr},Jl=function(ae){return ae.movementMode==="SNAP"},Xl=function(ae,ie,ge){var xe=ts(ae.dimensions,ie);return!Jl(ae)||ge?Yl({state:ae,dimensions:xe}):es({state:ae,dimensions:xe})};function ru(te){return te.isDragging&&te.movementMode==="SNAP"?(0,Ne.Z)({phase:"DRAGGING"},te,{scrollJumpRequest:null}):te}var fu={phase:"IDLE",completed:null,shouldFlush:!1},Wu=function(te,ae){if(te===void 0&&(te=fu),ae.type==="FLUSH")return(0,Ne.Z)({},fu,{shouldFlush:!0});if(ae.type==="INITIAL_PUBLISH"){te.phase!=="IDLE"&&$e(!1);var ie=ae.payload,ge=ie.critical,xe=ie.clientSelection,Fe=ie.viewport,Re=ie.dimensions,_e=ie.movementMode,bt=Re.draggables[ge.draggable.id],Tt=Re.droppables[ge.droppable.id],Rt={selection:xe,borderBoxCenter:bt.client.borderBox.center,offset:dr},wt={client:Rt,page:{selection:Cr(Rt.selection,Fe.scroll.initial),borderBoxCenter:Cr(Rt.selection,Fe.scroll.initial),offset:Cr(Rt.selection,Fe.scroll.diff.value)}},Dt=Io(Re.droppables).every(function(Ds){return!Ds.isFixedOnPage}),Jt=wu({draggable:bt,home:Tt,draggables:Re.draggables,viewport:Fe}),Un=Jt.impact,ir=Jt.afterCritical,mr={phase:"DRAGGING",isDragging:!0,critical:ge,movementMode:_e,dimensions:Re,initial:wt,current:wt,isWindowScrollAllowed:Dt,impact:Un,afterCritical:ir,onLiftImpact:Un,viewport:Fe,scrollJumpRequest:null,forceShouldAnimate:null};return mr}if(ae.type==="COLLECTION_STARTING"){if(te.phase==="COLLECTING"||te.phase==="DROP_PENDING")return te;te.phase!=="DRAGGING"&&$e(!1);var hr=(0,Ne.Z)({phase:"COLLECTING"},te,{phase:"COLLECTING"});return hr}if(ae.type==="PUBLISH_WHILE_DRAGGING")return te.phase==="COLLECTING"||te.phase==="DROP_PENDING"||$e(!1),Gu({state:te,published:ae.payload});if(ae.type==="MOVE"){if(te.phase==="DROP_PENDING")return te;au(te)||$e(!1);var Vr=ae.payload.client;return Ir(Vr,te.current.client.selection)?te:Yl({state:te,clientSelection:Vr,impact:Jl(te)?te.impact:null})}if(ae.type==="UPDATE_DROPPABLE_SCROLL"){if(te.phase==="DROP_PENDING"||te.phase==="COLLECTING")return ru(te);au(te)||$e(!1);var ro=ae.payload,so=ro.id,ui=ro.newScroll,ni=te.dimensions.droppables[so];if(!ni)return te;var Ni=yo(ni,ui);return Xl(te,Ni,!1)}if(ae.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(te.phase==="DROP_PENDING")return te;au(te)||$e(!1);var vl=ae.payload,Ti=vl.id,pl=vl.isEnabled,Rl=te.dimensions.droppables[Ti];Rl||$e(!1),Rl.isEnabled===pl&&$e(!1);var Tl=(0,Ne.Z)({},Rl,{isEnabled:pl});return Xl(te,Tl,!0)}if(ae.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(te.phase==="DROP_PENDING")return te;au(te)||$e(!1);var Au=ae.payload,yu=Au.id,uu=Au.isCombineEnabled,Nu=te.dimensions.droppables[yu];Nu||$e(!1),Nu.isCombineEnabled===uu&&$e(!1);var _l=(0,Ne.Z)({},Nu,{isCombineEnabled:uu});return Xl(te,_l,!0)}if(ae.type==="MOVE_BY_WINDOW_SCROLL"){if(te.phase==="DROP_PENDING"||te.phase==="DROP_ANIMATING")return te;au(te)||$e(!1),te.isWindowScrollAllowed||$e(!1);var ns=ae.payload.newScroll;if(Ir(te.viewport.scroll.current,ns))return ru(te);var Iu=eu(te.viewport,ns);return Jl(te)?es({state:te,viewport:Iu}):Yl({state:te,viewport:Iu})}if(ae.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!au(te))return te;var Ps=ae.payload.maxScroll;if(Ir(Ps,te.viewport.scroll.max))return te;var gs=(0,Ne.Z)({},te.viewport,{scroll:(0,Ne.Z)({},te.viewport.scroll,{max:Ps})});return(0,Ne.Z)({phase:"DRAGGING"},te,{viewport:gs})}if(ae.type==="MOVE_UP"||ae.type==="MOVE_DOWN"||ae.type==="MOVE_LEFT"||ae.type==="MOVE_RIGHT"){if(te.phase==="COLLECTING"||te.phase==="DROP_PENDING")return te;te.phase!=="DRAGGING"&&$e(!1);var as=fs({state:te,type:ae.type});return as?Yl({state:te,impact:as.impact,clientSelection:as.clientSelection,scrollJumpRequest:as.scrollJumpRequest}):te}if(ae.type==="DROP_PENDING"){var Ou=ae.payload.reason;te.phase!=="COLLECTING"&&$e(!1);var ms=(0,Ne.Z)({phase:"DROP_PENDING"},te,{phase:"DROP_PENDING",isWaiting:!0,reason:Ou});return ms}if(ae.type==="DROP_ANIMATE"){var Fs=ae.payload,Lu=Fs.completed,ys=Fs.dropDuration,Bs=Fs.newHomeClientOffset;te.phase==="DRAGGING"||te.phase==="DROP_PENDING"||$e(!1);var Ss={phase:"DROP_ANIMATING",completed:Lu,dropDuration:ys,newHomeClientOffset:Bs,dimensions:te.dimensions};return Ss}if(ae.type==="DROP_COMPLETE"){var ws=ae.payload.completed;return{phase:"IDLE",completed:ws,shouldFlush:!1}}return te},me=function(ae){return{type:"BEFORE_INITIAL_CAPTURE",payload:ae}},Se=function(ae){return{type:"LIFT",payload:ae}},ye=function(ae){return{type:"INITIAL_PUBLISH",payload:ae}},tt=function(ae){return{type:"PUBLISH_WHILE_DRAGGING",payload:ae}},lt=function(){return{type:"COLLECTION_STARTING",payload:null}},qt=function(ae){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ae}},Kt=function(ae){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ae}},Zn=function(ae){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ae}},Tn=function(ae){return{type:"MOVE",payload:ae}},ra=function(ae){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ae}},Ca=function(ae){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ae}},ga=function(){return{type:"MOVE_UP",payload:null}},fn=function(){return{type:"MOVE_DOWN",payload:null}},Ba=function(){return{type:"MOVE_RIGHT",payload:null}},Ia=function(){return{type:"MOVE_LEFT",payload:null}},kn=function(){return{type:"FLUSH",payload:null}},sa=function(ae){return{type:"DROP_ANIMATE",payload:ae}},Oa=function(ae){return{type:"DROP_COMPLETE",payload:ae}},Fr=function(ae){return{type:"DROP",payload:ae}},vr=function(ae){return{type:"DROP_PENDING",payload:ae}},Br=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function jr(te){if(!(te.length<=1)){for(var ae=te.map(function(_e){return _e.descriptor.index}),ie={},ge=1;ge<ae.length;ge++){var xe=ae[ge],Fe=ae[ge-1];xe!==Fe+1&&(ie[xe]=!0)}if(Object.keys(ie).length)var Re=ae.map(function(_e){var bt=!!ie[_e];return bt?"[\u{1F525}"+_e+"]":""+_e}).join(", ")}}function Lr(te,ae){if(0)var ie}var Gn=function(te){return function(ae){var ie=ae.getState,ge=ae.dispatch;return function(xe){return function(Fe){if(Fe.type!=="LIFT"){xe(Fe);return}var Re=Fe.payload,_e=Re.id,bt=Re.clientSelection,Tt=Re.movementMode,Rt=ie();Rt.phase==="DROP_ANIMATING"&&ge(Oa({completed:Rt.completed})),ie().phase!=="IDLE"&&$e(!1),ge(kn()),ge(me({draggableId:_e,movementMode:Tt}));var wt={shouldPublishImmediately:Tt==="SNAP"},Dt={draggableId:_e,scrollOptions:wt},Jt=te.startPublishing(Dt),Un=Jt.critical,ir=Jt.dimensions,mr=Jt.viewport;Lr(Un,ir),ge(ye({critical:Un,dimensions:ir,clientSelection:bt,movementMode:Tt,viewport:mr}))}}}},Ko=function(te){return function(){return function(ae){return function(ie){ie.type==="INITIAL_PUBLISH"&&te.dragging(),ie.type==="DROP_ANIMATE"&&te.dropping(ie.payload.completed.result.reason),(ie.type==="FLUSH"||ie.type==="DROP_COMPLETE")&&te.resting(),ae(ie)}}}},mo={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Ho={opacity:{drop:0,combining:.7},scale:{drop:.75}},qo={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},ii=qo.outOfTheWay+"s "+mo.outOfTheWay,Si={fluid:"opacity "+ii,snap:"transform "+ii+", opacity "+ii,drop:function(ae){var ie=ae+"s "+mo.drop;return"transform "+ie+", opacity "+ie},outOfTheWay:"transform "+ii,placeholder:"height "+ii+", width "+ii+", margin "+ii},zi=function(ae){return Ir(ae,dr)?null:"translate("+ae.x+"px, "+ae.y+"px)"},oo={moveTo:zi,drop:function(ae,ie){var ge=zi(ae);return ge?ie?ge+" scale("+Ho.scale.drop+")":ge:null}},Oo=qo.minDropTime,To=qo.maxDropTime,Ai=To-Oo,Ii=1500,pi=.6,Lo=function(te){var ae=te.current,ie=te.destination,ge=te.reason,xe=$a(ae,ie);if(xe<=0)return Oo;if(xe>=Ii)return To;var Fe=xe/Ii,Re=Oo+Ai*Fe,_e=ge==="CANCEL"?Re*pi:Re;return Number(_e.toFixed(2))},ol=function(te){var ae=te.impact,ie=te.draggable,ge=te.dimensions,xe=te.viewport,Fe=te.afterCritical,Re=ge.draggables,_e=ge.droppables,bt=Wi(ae),Tt=bt?_e[bt]:null,Rt=_e[ie.descriptor.droppableId],wt=du({impact:ae,draggable:ie,draggables:Re,afterCritical:Fe,droppable:Tt||Rt,viewport:xe}),Dt=Wr(wt,ie.client.borderBox.center);return Dt},qi=function(te){var ae=te.draggables,ie=te.reason,ge=te.lastImpact,xe=te.home,Fe=te.viewport,Re=te.onLiftImpact;if(!ge.at||ie!=="DROP"){var _e=qa({draggables:ae,impact:Re,destination:xe,viewport:Fe,forceShouldAnimate:!0});return{impact:_e,didDropInsideDroppable:!1}}if(ge.at.type==="REORDER")return{impact:ge,didDropInsideDroppable:!0};var bt=(0,Ne.Z)({},ge,{displaced:tl});return{impact:bt,didDropInsideDroppable:!0}},Ee=function(te){var ae=te.getState,ie=te.dispatch;return function(ge){return function(xe){if(xe.type!=="DROP"){ge(xe);return}var Fe=ae(),Re=xe.payload.reason;if(Fe.phase==="COLLECTING"){ie(vr({reason:Re}));return}if(Fe.phase!=="IDLE"){var _e=Fe.phase==="DROP_PENDING"&&Fe.isWaiting;_e&&$e(!1),Fe.phase==="DRAGGING"||Fe.phase==="DROP_PENDING"||$e(!1);var bt=Fe.critical,Tt=Fe.dimensions,Rt=Tt.draggables[Fe.critical.draggable.id],wt=qi({reason:Re,lastImpact:Fe.impact,afterCritical:Fe.afterCritical,onLiftImpact:Fe.onLiftImpact,home:Fe.dimensions.droppables[Fe.critical.droppable.id],viewport:Fe.viewport,draggables:Fe.dimensions.draggables}),Dt=wt.impact,Jt=wt.didDropInsideDroppable,Un=Jt?zr(Dt):null,ir=Jt?ko(Dt):null,mr={index:bt.draggable.index,droppableId:bt.droppable.id},hr={draggableId:Rt.descriptor.id,type:Rt.descriptor.type,source:mr,reason:Re,mode:Fe.movementMode,destination:Un,combine:ir},Vr=ol({impact:Dt,draggable:Rt,dimensions:Tt,viewport:Fe.viewport,afterCritical:Fe.afterCritical}),ro={critical:Fe.critical,afterCritical:Fe.afterCritical,result:hr,impact:Dt},so=!Ir(Fe.current.client.offset,Vr)||!!hr.combine;if(!so){ie(Oa({completed:ro}));return}var ui=Lo({current:Fe.current.client.offset,destination:Vr,reason:Re}),ni={newHomeClientOffset:Vr,dropDuration:ui,completed:ro};ie(sa(ni))}}}},Ce=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Qe(te){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(ie){ie.target!==window&&ie.target!==window.document||te()}}}function ot(te){var ae=te.onWindowScroll;function ie(){ae(Ce())}var ge=Bn(ie),xe=Qe(ge),Fe=Pa;function Re(){return Fe!==Pa}function _e(){Re()&&$e(!1),Fe=lr(window,[xe])}function bt(){Re()||$e(!1),ge.cancel(),Fe(),Fe=Pa}return{start:_e,stop:bt,isActive:Re}}var Pt=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},Et=function(te){var ae=ot({onWindowScroll:function(ge){te.dispatch(ra({newScroll:ge}))}});return function(ie){return function(ge){!ae.isActive()&&ge.type==="INITIAL_PUBLISH"&&ae.start(),ae.isActive()&&Pt(ge)&&ae.stop(),ie(ge)}}},Ut=function(te){var ae=!1,ie=!1,ge=setTimeout(function(){ie=!0}),xe=function(Re){ae||ie||(ae=!0,te(Re),clearTimeout(ge))};return xe.wasCalled=function(){return ae},xe},Yt=function(){var te=[],ae=function(Fe){var Re=Do(te,function(Tt){return Tt.timerId===Fe});Re===-1&&$e(!1);var _e=te.splice(Re,1),bt=_e[0];bt.callback()},ie=function(Fe){var Re=setTimeout(function(){return ae(Re)}),_e={timerId:Re,callback:Fe};te.push(_e)},ge=function(){if(te.length){var Fe=[].concat(te);te.length=0,Fe.forEach(function(Re){clearTimeout(Re.timerId),Re.callback()})}};return{add:ie,flush:ge}},$t=function(ae,ie){return ae==null&&ie==null?!0:ae==null||ie==null?!1:ae.droppableId===ie.droppableId&&ae.index===ie.index},Cn=function(ae,ie){return ae==null&&ie==null?!0:ae==null||ie==null?!1:ae.draggableId===ie.draggableId&&ae.droppableId===ie.droppableId},pn=function(ae,ie){if(ae===ie)return!0;var ge=ae.draggable.id===ie.draggable.id&&ae.draggable.droppableId===ie.draggable.droppableId&&ae.draggable.type===ie.draggable.type&&ae.draggable.index===ie.draggable.index,xe=ae.droppable.id===ie.droppable.id&&ae.droppable.type===ie.droppable.type;return ge&&xe},hn=function(ae,ie){cu(),ie(),Yi()},qn=function(ae,ie){return{draggableId:ae.draggable.id,type:ae.droppable.type,source:{droppableId:ae.droppable.id,index:ae.draggable.index},mode:ie}},aa=function(ae,ie,ge,xe){if(!ae){ge(xe(ie));return}var Fe=Ut(ge),Re={announce:Fe};ae(ie,Re),Fe.wasCalled()||ge(xe(ie))},ca=function(te,ae){var ie=Yt(),ge=null,xe=function(Dt,Jt){ge&&$e(!1),hn("onBeforeCapture",function(){var Un=te().onBeforeCapture;if(Un){var ir={draggableId:Dt,mode:Jt};Un(ir)}})},Fe=function(Dt,Jt){ge&&$e(!1),hn("onBeforeDragStart",function(){var Un=te().onBeforeDragStart;Un&&Un(qn(Dt,Jt))})},Re=function(Dt,Jt){ge&&$e(!1);var Un=qn(Dt,Jt);ge={mode:Jt,lastCritical:Dt,lastLocation:Un.source,lastCombine:null},ie.add(function(){hn("onDragStart",function(){return aa(te().onDragStart,Un,ae,En.onDragStart)})})},_e=function(Dt,Jt){var Un=zr(Jt),ir=ko(Jt);ge||$e(!1);var mr=!pn(Dt,ge.lastCritical);mr&&(ge.lastCritical=Dt);var hr=!$t(ge.lastLocation,Un);hr&&(ge.lastLocation=Un);var Vr=!Cn(ge.lastCombine,ir);if(Vr&&(ge.lastCombine=ir),!(!mr&&!hr&&!Vr)){var ro=(0,Ne.Z)({},qn(Dt,ge.mode),{combine:ir,destination:Un});ie.add(function(){hn("onDragUpdate",function(){return aa(te().onDragUpdate,ro,ae,En.onDragUpdate)})})}},bt=function(){ge||$e(!1),ie.flush()},Tt=function(Dt){ge||$e(!1),ge=null,hn("onDragEnd",function(){return aa(te().onDragEnd,Dt,ae,En.onDragEnd)})},Rt=function(){if(ge){var Dt=(0,Ne.Z)({},qn(ge.lastCritical,ge.mode),{combine:null,destination:null,reason:"CANCEL"});Tt(Dt)}};return{beforeCapture:xe,beforeStart:Fe,start:Re,update:_e,flush:bt,drop:Tt,abort:Rt}},Aa=function(te,ae){var ie=ca(te,ae);return function(ge){return function(xe){return function(Fe){if(Fe.type==="BEFORE_INITIAL_CAPTURE"){ie.beforeCapture(Fe.payload.draggableId,Fe.payload.movementMode);return}if(Fe.type==="INITIAL_PUBLISH"){var Re=Fe.payload.critical;ie.beforeStart(Re,Fe.payload.movementMode),xe(Fe),ie.start(Re,Fe.payload.movementMode);return}if(Fe.type==="DROP_COMPLETE"){var _e=Fe.payload.completed.result;ie.flush(),xe(Fe),ie.drop(_e);return}if(xe(Fe),Fe.type==="FLUSH"){ie.abort();return}var bt=ge.getState();bt.phase==="DRAGGING"&&ie.update(bt.critical,bt.impact)}}}},zt=function(te){return function(ae){return function(ie){if(ie.type!=="DROP_ANIMATION_FINISHED"){ae(ie);return}var ge=te.getState();ge.phase!=="DROP_ANIMATING"&&$e(!1),te.dispatch(Oa({completed:ge.completed}))}}},Xa=function(te){var ae=null,ie=null;function ge(){ie&&(cancelAnimationFrame(ie),ie=null),ae&&(ae(),ae=null)}return function(xe){return function(Fe){if((Fe.type==="FLUSH"||Fe.type==="DROP_COMPLETE"||Fe.type==="DROP_ANIMATION_FINISHED")&&ge(),xe(Fe),Fe.type==="DROP_ANIMATE"){var Re={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var bt=te.getState();bt.phase==="DROP_ANIMATING"&&te.dispatch(Br())}};ie=requestAnimationFrame(function(){ie=null,ae=lr(window,[Re])})}}}},_a=function(te){return function(){return function(ae){return function(ie){(ie.type==="DROP_COMPLETE"||ie.type==="FLUSH"||ie.type==="DROP_ANIMATE")&&te.stopPublishing(),ae(ie)}}}},rr=function(te){var ae=!1;return function(){return function(ie){return function(ge){if(ge.type==="INITIAL_PUBLISH"){ae=!0,te.tryRecordFocus(ge.payload.critical.draggable.id),ie(ge),te.tryRestoreFocusRecorded();return}if(ie(ge),!!ae){if(ge.type==="FLUSH"){ae=!1,te.tryRestoreFocusRecorded();return}if(ge.type==="DROP_COMPLETE"){ae=!1;var xe=ge.payload.completed.result;xe.combine&&te.tryShiftRecord(xe.draggableId,xe.combine.draggableId),te.tryRestoreFocusRecorded()}}}}}},Tr=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},Ur=function(te){return function(ae){return function(ie){return function(ge){if(Tr(ge)){te.stop(),ie(ge);return}if(ge.type==="INITIAL_PUBLISH"){ie(ge);var xe=ae.getState();xe.phase!=="DRAGGING"&&$e(!1),te.start(xe);return}ie(ge),te.scroll(ae.getState())}}}},wr=function(te){return function(ae){return function(ie){if(ae(ie),ie.type==="PUBLISH_WHILE_DRAGGING"){var ge=te.getState();ge.phase==="DROP_PENDING"&&(ge.isWaiting||te.dispatch(Fr({reason:ge.reason})))}}}},Gr=Ze.qC,Hr=function(te){var ae=te.dimensionMarshal,ie=te.focusMarshal,ge=te.styleMarshal,xe=te.getResponders,Fe=te.announce,Re=te.autoScroller;return(0,Ze.MT)(Wu,Gr((0,Ze.md)(Ko(ge),_a(ae),Gn(ae),Ee,zt,Xa,wr,Ur(Re),Et,rr(ie),Aa(xe,Fe))))},tr=function(){return{additions:{},removals:{},modified:{}}};function nr(te){var ae=te.registry,ie=te.callbacks,ge=tr(),xe=null,Fe=function(){xe||(ie.collectionStarting(),xe=requestAnimationFrame(function(){xe=null,cu();var Rt=ge,wt=Rt.additions,Dt=Rt.removals,Jt=Rt.modified,Un=Object.keys(wt).map(function(hr){return ae.draggable.getById(hr).getDimension(dr)}).sort(function(hr,Vr){return hr.descriptor.index-Vr.descriptor.index}),ir=Object.keys(Jt).map(function(hr){var Vr=ae.droppable.getById(hr),ro=Vr.callbacks.getScrollWhileDragging();return{droppableId:hr,scroll:ro}}),mr={additions:Un,removals:Object.keys(Dt),modified:ir};ge=tr(),Yi(),ie.publish(mr)}))},Re=function(Rt){var wt=Rt.descriptor.id;ge.additions[wt]=Rt,ge.modified[Rt.descriptor.droppableId]=!0,ge.removals[wt]&&delete ge.removals[wt],Fe()},_e=function(Rt){var wt=Rt.descriptor;ge.removals[wt.id]=!0,ge.modified[wt.droppableId]=!0,ge.additions[wt.id]&&delete ge.additions[wt.id],Fe()},bt=function(){xe&&(cancelAnimationFrame(xe),xe=null,ge=tr())};return{add:Re,remove:_e,stop:bt}}var fr=function(te){var ae=te.scrollHeight,ie=te.scrollWidth,ge=te.height,xe=te.width,Fe=Wr({x:ie,y:ae},{x:xe,y:ge}),Re={x:Math.max(0,Fe.x),y:Math.max(0,Fe.y)};return Re},Wa=function(){var te=document.documentElement;return te||$e(!1),te},or=function(){var te=Wa(),ae=fr({scrollHeight:te.scrollHeight,scrollWidth:te.scrollWidth,width:te.clientWidth,height:te.clientHeight});return ae},Kr=function(){var te=Ce(),ae=or(),ie=te.y,ge=te.x,xe=Wa(),Fe=xe.clientWidth,Re=xe.clientHeight,_e=ge+Fe,bt=ie+Re,Tt=Jn({top:ie,left:ge,right:_e,bottom:bt}),Rt={frame:Tt,scroll:{initial:te,current:te,max:ae,diff:{value:dr,displacement:dr}}};return Rt},Po=function(te){var ae=te.critical,ie=te.scrollOptions,ge=te.registry;cu();var xe=Kr(),Fe=xe.scroll.current,Re=ae.droppable,_e=ge.droppable.getAllByType(Re.type).map(function(wt){return wt.callbacks.getDimensionAndWatchScroll(Fe,ie)}),bt=ge.draggable.getAllByType(ae.draggable.type).map(function(wt){return wt.getDimension(Fe)}),Tt={draggables:Jo(bt),droppables:Qo(_e)};Yi();var Rt={dimensions:Tt,critical:ae,viewport:xe};return Rt};function lo(te,ae,ie){if(ie.descriptor.id===ae.id||ie.descriptor.type!==ae.type)return!1;var ge=te.droppable.getById(ie.descriptor.droppableId);return ge.descriptor.mode==="virtual"}var Mr=function(te,ae){var ie=null,ge=nr({callbacks:{publish:ae.publishWhileDragging,collectionStarting:ae.collectionStarting},registry:te}),xe=function(Jt,Un){te.droppable.exists(Jt)||$e(!1),ie&&ae.updateDroppableIsEnabled({id:Jt,isEnabled:Un})},Fe=function(Jt,Un){ie&&(te.droppable.exists(Jt)||$e(!1),ae.updateDroppableIsCombineEnabled({id:Jt,isCombineEnabled:Un}))},Re=function(Jt,Un){ie&&(te.droppable.exists(Jt)||$e(!1),ae.updateDroppableScroll({id:Jt,newScroll:Un}))},_e=function(Jt,Un){ie&&te.droppable.getById(Jt).callbacks.scroll(Un)},bt=function(){if(ie){ge.stop();var Jt=ie.critical.droppable;te.droppable.getAllByType(Jt.type).forEach(function(Un){return Un.callbacks.dragStopped()}),ie.unsubscribe(),ie=null}},Tt=function(Jt){ie||$e(!1);var Un=ie.critical.draggable;Jt.type==="ADDITION"&&lo(te,Un,Jt.value)&&ge.add(Jt.value),Jt.type==="REMOVAL"&&lo(te,Un,Jt.value)&&ge.remove(Jt.value)},Rt=function(Jt){ie&&$e(!1);var Un=te.draggable.getById(Jt.draggableId),ir=te.droppable.getById(Un.descriptor.droppableId),mr={draggable:Un.descriptor,droppable:ir.descriptor},hr=te.subscribe(Tt);return ie={critical:mr,unsubscribe:hr},Po({critical:mr,registry:te,scrollOptions:Jt.scrollOptions})},wt={updateDroppableIsEnabled:xe,updateDroppableIsCombineEnabled:Fe,scrollDroppable:_e,updateDroppableScroll:Re,startPublishing:Rt,stopPublishing:bt};return wt},fo=function(te,ae){return te.phase==="IDLE"?!0:te.phase!=="DROP_ANIMATING"||te.completed.result.draggableId===ae?!1:te.completed.result.reason==="DROP"},Fo=function(te){window.scrollBy(te.x,te.y)},Ra=Wt(function(te){return Io(te).filter(function(ae){return!(!ae.isEnabled||!ae.frame)})}),Bo=function(ae,ie){var ge=gr(Ra(ie),function(xe){return xe.frame||$e(!1),Di(xe.frame.pageMarginBox)(ae)});return ge},Ci=function(te){var ae=te.center,ie=te.destination,ge=te.droppables;if(ie){var xe=ge[ie];return xe.frame?xe:null}var Fe=Bo(ae,ge);return Fe},wo={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ae){return Math.pow(ae,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Xr=function(te,ae){var ie=te[ae.size]*wo.startFromPercentage,ge=te[ae.size]*wo.maxScrollAtPercentage,xe={startScrollingFrom:ie,maxScrollValueAt:ge};return xe},xi=function(te){var ae=te.startOfRange,ie=te.endOfRange,ge=te.current,xe=ie-ae;if(xe===0)return 0;var Fe=ge-ae,Re=Fe/xe;return Re},Qr=1,mi=function(te,ae){if(te>ae.startScrollingFrom)return 0;if(te<=ae.maxScrollValueAt)return wo.maxPixelScroll;if(te===ae.startScrollingFrom)return Qr;var ie=xi({startOfRange:ae.maxScrollValueAt,endOfRange:ae.startScrollingFrom,current:te}),ge=1-ie,xe=wo.maxPixelScroll*wo.ease(ge);return Math.ceil(xe)},_o=wo.durationDampening.accelerateAt,Zi=wo.durationDampening.stopDampeningAt,to=function(te,ae){var ie=ae,ge=Zi,xe=Date.now(),Fe=xe-ie;if(Fe>=Zi)return te;if(Fe<_o)return Qr;var Re=xi({startOfRange:_o,endOfRange:ge,current:Fe}),_e=te*wo.ease(Re);return Math.ceil(_e)},_r=function(te){var ae=te.distanceToEdge,ie=te.thresholds,ge=te.dragStartTime,xe=te.shouldUseTimeDampening,Fe=mi(ae,ie);return Fe===0?0:xe?Math.max(to(Fe,ge),Qr):Fe},Yr=function(te){var ae=te.container,ie=te.distanceToEdges,ge=te.dragStartTime,xe=te.axis,Fe=te.shouldUseTimeDampening,Re=Xr(ae,xe),_e=ie[xe.end]<ie[xe.start];return _e?_r({distanceToEdge:ie[xe.end],thresholds:Re,dragStartTime:ge,shouldUseTimeDampening:Fe}):-1*_r({distanceToEdge:ie[xe.start],thresholds:Re,dragStartTime:ge,shouldUseTimeDampening:Fe})},Zr=function(te){var ae=te.container,ie=te.subject,ge=te.proposedScroll,xe=ie.height>ae.height,Fe=ie.width>ae.width;return!Fe&&!xe?ge:Fe&&xe?null:{x:Fe?0:ge.x,y:xe?0:ge.y}},ce=Or(function(te){return te===0?0:te}),pe=function(te){var ae=te.dragStartTime,ie=te.container,ge=te.subject,xe=te.center,Fe=te.shouldUseTimeDampening,Re={top:xe.y-ie.top,right:ie.right-xe.x,bottom:ie.bottom-xe.y,left:xe.x-ie.left},_e=Yr({container:ie,distanceToEdges:Re,dragStartTime:ae,axis:dl,shouldUseTimeDampening:Fe}),bt=Yr({container:ie,distanceToEdges:Re,dragStartTime:ae,axis:ml,shouldUseTimeDampening:Fe}),Tt=ce({x:bt,y:_e});if(Ir(Tt,dr))return null;var Rt=Zr({container:ie,subject:ge,proposedScroll:Tt});return Rt?Ir(Rt,dr)?null:Rt:null},Pe=Or(function(te){return te===0?0:te>0?1:-1}),Lt=function(){var te=function(ie,ge){return ie<0?ie:ie>ge?ie-ge:0};return function(ae){var ie=ae.current,ge=ae.max,xe=ae.change,Fe=Cr(ie,xe),Re={x:te(Fe.x,ge.x),y:te(Fe.y,ge.y)};return Ir(Re,dr)?null:Re}}(),tn=function(ae){var ie=ae.max,ge=ae.current,xe=ae.change,Fe={x:Math.max(ge.x,ie.x),y:Math.max(ge.y,ie.y)},Re=Pe(xe),_e=Lt({max:Fe,current:ge,change:Re});return!_e||Re.x!==0&&_e.x===0||Re.y!==0&&_e.y===0},wa=function(ae,ie){return tn({current:ae.scroll.current,max:ae.scroll.max,change:ie})},ma=function(ae,ie){if(!wa(ae,ie))return null;var ge=ae.scroll.max,xe=ae.scroll.current;return Lt({current:xe,max:ge,change:ie})},Hn=function(ae,ie){var ge=ae.frame;return ge?tn({current:ge.scroll.current,max:ge.scroll.max,change:ie}):!1},jt=function(ae,ie){var ge=ae.frame;return!ge||!Hn(ae,ie)?null:Lt({current:ge.scroll.current,max:ge.scroll.max,change:ie})},Yn=function(te){var ae=te.viewport,ie=te.subject,ge=te.center,xe=te.dragStartTime,Fe=te.shouldUseTimeDampening,Re=pe({dragStartTime:xe,container:ae.frame,subject:ie,center:ge,shouldUseTimeDampening:Fe});return Re&&wa(ae,Re)?Re:null},xn=function(te){var ae=te.droppable,ie=te.subject,ge=te.center,xe=te.dragStartTime,Fe=te.shouldUseTimeDampening,Re=ae.frame;if(!Re)return null;var _e=pe({dragStartTime:xe,container:Re.pageMarginBox,subject:ie,center:ge,shouldUseTimeDampening:Fe});return _e&&Hn(ae,_e)?_e:null},Ct=function(te){var ae=te.state,ie=te.dragStartTime,ge=te.shouldUseTimeDampening,xe=te.scrollWindow,Fe=te.scrollDroppable,Re=ae.current.page.borderBoxCenter,_e=ae.dimensions.draggables[ae.critical.draggable.id],bt=_e.page.marginBox;if(ae.isWindowScrollAllowed){var Tt=ae.viewport,Rt=Yn({dragStartTime:ie,viewport:Tt,subject:bt,center:Re,shouldUseTimeDampening:ge});if(Rt){xe(Rt);return}}var wt=Ci({center:Re,destination:Wi(ae.impact),droppables:ae.dimensions.droppables});if(wt){var Dt=xn({dragStartTime:ie,droppable:wt,subject:bt,center:Re,shouldUseTimeDampening:ge});Dt&&Fe(wt.descriptor.id,Dt)}},mn=function(te){var ae=te.scrollWindow,ie=te.scrollDroppable,ge=Bn(ae),xe=Bn(ie),Fe=null,Re=function(Rt){Fe||$e(!1);var wt=Fe,Dt=wt.shouldUseTimeDampening,Jt=wt.dragStartTime;Ct({state:Rt,scrollWindow:ge,scrollDroppable:xe,dragStartTime:Jt,shouldUseTimeDampening:Dt})},_e=function(Rt){cu(),Fe&&$e(!1);var wt=Date.now(),Dt=!1,Jt=function(){Dt=!0};Ct({state:Rt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Jt,scrollDroppable:Jt}),Fe={dragStartTime:wt,shouldUseTimeDampening:Dt},Yi(),Dt&&Re(Rt)},bt=function(){Fe&&(ge.cancel(),xe.cancel(),Fe=null)};return{start:_e,stop:bt,scroll:Re}},In=function(te){var ae=te.move,ie=te.scrollDroppable,ge=te.scrollWindow,xe=function(Tt,Rt){var wt=Cr(Tt.current.client.selection,Rt);ae({client:wt})},Fe=function(Tt,Rt){if(!Hn(Tt,Rt))return Rt;var wt=jt(Tt,Rt);if(!wt)return ie(Tt.descriptor.id,Rt),null;var Dt=Wr(Rt,wt);ie(Tt.descriptor.id,Dt);var Jt=Wr(Rt,Dt);return Jt},Re=function(Tt,Rt,wt){if(!Tt||!wa(Rt,wt))return wt;var Dt=ma(Rt,wt);if(!Dt)return ge(wt),null;var Jt=Wr(wt,Dt);ge(Jt);var Un=Wr(wt,Jt);return Un},_e=function(Tt){var Rt=Tt.scrollJumpRequest;if(Rt){var wt=Wi(Tt.impact);wt||$e(!1);var Dt=Fe(Tt.dimensions.droppables[wt],Rt);if(Dt){var Jt=Tt.viewport,Un=Re(Tt.isWindowScrollAllowed,Jt,Dt);Un&&xe(Tt,Un)}}};return _e},oa=function(te){var ae=te.scrollDroppable,ie=te.scrollWindow,ge=te.move,xe=mn({scrollWindow:ie,scrollDroppable:ae}),Fe=In({move:ge,scrollWindow:ie,scrollDroppable:ae}),Re=function(Tt){if(Tt.phase==="DRAGGING"){if(Tt.movementMode==="FLUID"){xe.scroll(Tt);return}Tt.scrollJumpRequest&&Fe(Tt)}},_e={scroll:Re,start:xe.start,stop:xe.stop};return _e},zn="data-rbd",ba=function(){var te=zn+"-drag-handle";return{base:te,draggableId:te+"-draggable-id",contextId:te+"-context-id"}}(),ta=function(){var te=zn+"-draggable";return{base:te,contextId:te+"-context-id",id:te+"-id"}}(),ia=function(){var te=zn+"-droppable";return{base:te,contextId:te+"-context-id",id:te+"-id"}}(),Ka={contextId:zn+"-scroll-container-context-id"},Pn=function(ae){return function(ie){return"["+ie+'="'+ae+'"]'}},ya=function(ae,ie){return ae.map(function(ge){var xe=ge.styles[ie];return xe?ge.selector+" { "+xe+" }":""}).join(" ")},ja="pointer-events: none;",qr=function(te){var ae=Pn(te),ie=function(){var _e=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:ae(ba.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:_e,dragging:ja,dropAnimating:_e}}}(),ge=function(){var _e=`
transition: `+Si.outOfTheWay+`;
`;return{selector:ae(ta.contextId),styles:{dragging:_e,dropAnimating:_e,userCancel:_e}}}(),xe={selector:ae(ia.contextId),styles:{always:"overflow-anchor: none;"}},Fe={selector:"body",styles:{dragging:`
cursor: grabbing;
cursor: -webkit-grabbing;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
overflow-anchor: none;
`}},Re=[ge,ie,xe,Fe];return{always:ya(Re,"always"),resting:ya(Re,"resting"),dragging:ya(Re,"dragging"),dropAnimating:ya(Re,"dropAnimating"),userCancel:ya(Re,"userCancel")}},cr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,li=function(){var ae=document.querySelector("head");return ae||$e(!1),ae},Za=function(ae){var ie=document.createElement("style");return ae&&ie.setAttribute("nonce",ae),ie.type="text/css",ie};function Co(te,ae){var ie=Bt(function(){return qr(te)},[te]),ge=(0,b.useRef)(null),xe=(0,b.useRef)(null),Fe=Mt(Wt(function(wt){var Dt=xe.current;Dt||$e(!1),Dt.textContent=wt}),[]),Re=Mt(function(wt){var Dt=ge.current;Dt||$e(!1),Dt.textContent=wt},[]);cr(function(){!ge.current&&!xe.current||$e(!1);var wt=Za(ae),Dt=Za(ae);return ge.current=wt,xe.current=Dt,wt.setAttribute(zn+"-always",te),Dt.setAttribute(zn+"-dynamic",te),li().appendChild(wt),li().appendChild(Dt),Re(ie.always),Fe(ie.resting),function(){var Jt=function(ir){var mr=ir.current;mr||$e(!1),li().removeChild(mr),ir.current=null};Jt(ge),Jt(xe)}},[ae,Re,Fe,ie.always,ie.resting,te]);var _e=Mt(function(){return Fe(ie.dragging)},[Fe,ie.dragging]),bt=Mt(function(wt){if(wt==="DROP"){Fe(ie.dropAnimating);return}Fe(ie.userCancel)},[Fe,ie.dropAnimating,ie.userCancel]),Tt=Mt(function(){xe.current&&Fe(ie.resting)},[Fe,ie.resting]),Rt=Bt(function(){return{dragging:_e,dropping:bt,resting:Tt}},[_e,bt,Tt]);return Rt}var Dr=function(te){return te&&te.ownerDocument?te.ownerDocument.defaultView:window};function ao(te){return te instanceof Dr(te).HTMLElement}function So(te,ae){var ie="["+ba.contextId+'="'+te+'"]',ge=eo(document.querySelectorAll(ie));if(!ge.length)return null;var xe=gr(ge,function(Fe){return Fe.getAttribute(ba.draggableId)===ae});return!xe||!ao(xe)?null:xe}function Ei(te){var ae=(0,b.useRef)({}),ie=(0,b.useRef)(null),ge=(0,b.useRef)(null),xe=(0,b.useRef)(!1),Fe=Mt(function(Dt,Jt){var Un={id:Dt,focus:Jt};return ae.current[Dt]=Un,function(){var mr=ae.current,hr=mr[Dt];hr!==Un&&delete mr[Dt]}},[]),Re=Mt(function(Dt){var Jt=So(te,Dt);Jt&&Jt!==document.activeElement&&Jt.focus()},[te]),_e=Mt(function(Dt,Jt){ie.current===Dt&&(ie.current=Jt)},[]),bt=Mt(function(){ge.current||xe.current&&(ge.current=requestAnimationFrame(function(){ge.current=null;var Dt=ie.current;Dt&&Re(Dt)}))},[Re]),Tt=Mt(function(Dt){ie.current=null;var Jt=document.activeElement;Jt&&Jt.getAttribute(ba.draggableId)===Dt&&(ie.current=Dt)},[]);cr(function(){return xe.current=!0,function(){xe.current=!1;var Dt=ge.current;Dt&&cancelAnimationFrame(Dt)}},[]);var Rt=Bt(function(){return{register:Fe,tryRecordFocus:Tt,tryRestoreFocusRecorded:bt,tryShiftRecord:_e}},[Fe,Tt,bt,_e]);return Rt}function fi(){var te={draggables:{},droppables:{}},ae=[];function ie(wt){return ae.push(wt),function(){var Jt=ae.indexOf(wt);Jt!==-1&&ae.splice(Jt,1)}}function ge(wt){ae.length&&ae.forEach(function(Dt){return Dt(wt)})}function xe(wt){return te.draggables[wt]||null}function Fe(wt){var Dt=xe(wt);return Dt||$e(!1),Dt}var Re={register:function(Dt){te.draggables[Dt.descriptor.id]=Dt,ge({type:"ADDITION",value:Dt})},update:function(Dt,Jt){var Un=te.draggables[Jt.descriptor.id];Un&&Un.uniqueId===Dt.uniqueId&&(delete te.draggables[Jt.descriptor.id],te.draggables[Dt.descriptor.id]=Dt)},unregister:function(Dt){var Jt=Dt.descriptor.id,Un=xe(Jt);Un&&Dt.uniqueId===Un.uniqueId&&(delete te.draggables[Jt],ge({type:"REMOVAL",value:Dt}))},getById:Fe,findById:xe,exists:function(Dt){return!!xe(Dt)},getAllByType:function(Dt){return Mo(te.draggables).filter(function(Jt){return Jt.descriptor.type===Dt})}};function _e(wt){return te.droppables[wt]||null}function bt(wt){var Dt=_e(wt);return Dt||$e(!1),Dt}var Tt={register:function(Dt){te.droppables[Dt.descriptor.id]=Dt},unregister:function(Dt){var Jt=_e(Dt.descriptor.id);Jt&&Dt.uniqueId===Jt.uniqueId&&delete te.droppables[Dt.descriptor.id]},getById:bt,findById:_e,exists:function(Dt){return!!_e(Dt)},getAllByType:function(Dt){return Mo(te.droppables).filter(function(Jt){return Jt.descriptor.type===Dt})}};function Rt(){te.draggables={},te.droppables={},ae.length=0}return{draggable:Re,droppable:Tt,subscribe:ie,clean:Rt}}function pr(){var te=Bt(fi,[]);return(0,b.useEffect)(function(){return function(){requestAnimationFrame(te.clean)}},[te]),te}var vo=b.createContext(null),Ui=function(){var te=document.body;return te||$e(!1),te},Ri={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},ea=function(ae){return"rbd-announcement-"+ae};function xo(te){var ae=Bt(function(){return ea(te)},[te]),ie=(0,b.useRef)(null);(0,b.useEffect)(function(){var Fe=document.createElement("div");return ie.current=Fe,Fe.id=ae,Fe.setAttribute("aria-live","assertive"),Fe.setAttribute("aria-atomic","true"),(0,Ne.Z)(Fe.style,Ri),Ui().appendChild(Fe),function(){setTimeout(function(){var bt=Ui();bt.contains(Fe)&&bt.removeChild(Fe),Fe===ie.current&&(ie.current=null)})}},[ae]);var ge=Mt(function(xe){var Fe=ie.current;if(Fe){Fe.textContent=xe;return}},[]);return ge}var Mi=0,Zo={separator:"::"};function Fi(){Mi=0}function ki(te,ae){return ae===void 0&&(ae=Zo),Bt(function(){return""+te+ae.separator+Mi++},[ae.separator,te])}function oi(te){var ae=te.contextId,ie=te.uniqueId;return"rbd-hidden-text-"+ae+"-"+ie}function il(te){var ae=te.contextId,ie=te.text,ge=ki("hidden-text",{separator:"-"}),xe=Bt(function(){return oi({contextId:ae,uniqueId:ge})},[ge,ae]);return(0,b.useEffect)(function(){var Re=document.createElement("div");return Re.id=xe,Re.textContent=ie,Re.style.display="none",Ui().appendChild(Re),function(){var bt=Ui();bt.contains(Re)&&bt.removeChild(Re)}},[xe,ie]),xe}var ll=b.createContext(null),jl={react:"^16.8.5","react-dom":"^16.8.5"},Oi=/(\d+)\.(\d+)\.(\d+)/,cl=function(ae){var ie=Oi.exec(ae);ie==null&&$e(!1);var ge=Number(ie[1]),xe=Number(ie[2]),Fe=Number(ie[3]);return{major:ge,minor:xe,patch:Fe,raw:ae}},wl=function(ae,ie){return ie.major>ae.major?!0:ie.major<ae.major?!1:ie.minor>ae.minor?!0:ie.minor<ae.minor?!1:ie.patch>=ae.patch},Gl=function(te,ae){var ie=cl(te),ge=cl(ae);wl(ie,ge)},Ao=`
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
`,Pi=function(te){var ae=te.doctype;ae&&(ae.name.toLowerCase(),ae.publicId)};function $i(te){}function Hi(te,ae){}function hl(){Hi(function(){Gl(jl.react,b.version),Pi(document)},[])}function ul(te){var ae=(0,b.useRef)(te);return(0,b.useEffect)(function(){ae.current=te}),ae}function sl(){var te=null;function ae(){return!!te}function ie(Re){return Re===te}function ge(Re){te&&$e(!1);var _e={abandon:Re};return te=_e,_e}function xe(){te||$e(!1),te=null}function Fe(){te&&(te.abandon(),xe())}return{isClaimed:ae,isActive:ie,claim:ge,release:xe,tryAbandon:Fe}}var Dl=9,Ml=13,fl=27,el=32,Wl=33,Xo=34,vu=35,pu=36,Kl=37,gu=38,na=39,er=40,Ro,Eo=(Ro={},Ro[Ml]=!0,Ro[Dl]=!0,Ro),zo=function(te){Eo[te.keyCode]&&te.preventDefault()},ci=function(){var te="visibilitychange";if(typeof document=="undefined")return te;var ae=[te,"ms"+te,"webkit"+te,"moz"+te,"o"+te],ie=gr(ae,function(ge){return"on"+ge in document});return ie||te}(),ji=0,Yo=5;function gl(te,ae){return Math.abs(ae.x-te.x)>=Yo||Math.abs(ae.y-te.y)>=Yo}var vi={type:"IDLE"};function Pl(te){var ae=te.cancel,ie=te.completed,ge=te.getPhase,xe=te.setPhase;return[{eventName:"mousemove",fn:function(Re){var _e=Re.button,bt=Re.clientX,Tt=Re.clientY;if(_e===ji){var Rt={x:bt,y:Tt},wt=ge();if(wt.type==="DRAGGING"){Re.preventDefault(),wt.actions.move(Rt);return}wt.type!=="PENDING"&&$e(!1);var Dt=wt.point;if(gl(Dt,Rt)){Re.preventDefault();var Jt=wt.actions.fluidLift(Rt);xe({type:"DRAGGING",actions:Jt})}}}},{eventName:"mouseup",fn:function(Re){var _e=ge();if(_e.type!=="DRAGGING"){ae();return}Re.preventDefault(),_e.actions.drop({shouldBlockNextClick:!0}),ie()}},{eventName:"mousedown",fn:function(Re){ge().type==="DRAGGING"&&Re.preventDefault(),ae()}},{eventName:"keydown",fn:function(Re){var _e=ge();if(_e.type==="PENDING"){ae();return}if(Re.keyCode===fl){Re.preventDefault(),ae();return}zo(Re)}},{eventName:"resize",fn:ae},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){ge().type==="PENDING"&&ae()}},{eventName:"webkitmouseforcedown",fn:function(Re){var _e=ge();if(_e.type==="IDLE"&&$e(!1),_e.actions.shouldRespectForcePress()){ae();return}Re.preventDefault()}},{eventName:ci,fn:ae}]}function ou(te){var ae=(0,b.useRef)(vi),ie=(0,b.useRef)(Pa),ge=Bt(function(){return{eventName:"mousedown",fn:function(wt){if(!wt.defaultPrevented&&wt.button===ji&&!(wt.ctrlKey||wt.metaKey||wt.shiftKey||wt.altKey)){var Dt=te.findClosestDraggableId(wt);if(Dt){var Jt=te.tryGetLock(Dt,Re,{sourceEvent:wt});if(Jt){wt.preventDefault();var Un={x:wt.clientX,y:wt.clientY};ie.current(),Tt(Jt,Un)}}}}}},[te]),xe=Bt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(wt){if(!wt.defaultPrevented){var Dt=te.findClosestDraggableId(wt);if(Dt){var Jt=te.findOptionsForDraggable(Dt);Jt&&(Jt.shouldRespectForcePress||te.canGetLock(Dt)&&wt.preventDefault())}}}}},[te]),Fe=Mt(function(){var wt={passive:!1,capture:!0};ie.current=lr(window,[xe,ge],wt)},[xe,ge]),Re=Mt(function(){var Rt=ae.current;Rt.type!=="IDLE"&&(ae.current=vi,ie.current(),Fe())},[Fe]),_e=Mt(function(){var Rt=ae.current;Re(),Rt.type==="DRAGGING"&&Rt.actions.cancel({shouldBlockNextClick:!0}),Rt.type==="PENDING"&&Rt.actions.abort()},[Re]),bt=Mt(function(){var wt={capture:!0,passive:!1},Dt=Pl({cancel:_e,completed:Re,getPhase:function(){return ae.current},setPhase:function(Un){ae.current=Un}});ie.current=lr(window,Dt,wt)},[_e,Re]),Tt=Mt(function(wt,Dt){ae.current.type!=="IDLE"&&$e(!1),ae.current={type:"PENDING",point:Dt,actions:wt},bt()},[bt]);cr(function(){return Fe(),function(){ie.current()}},[Fe])}var ei;function Gi(){}var Al=(ei={},ei[Xo]=!0,ei[Wl]=!0,ei[pu]=!0,ei[vu]=!0,ei);function Sl(te,ae){function ie(){ae(),te.cancel()}function ge(){ae(),te.drop()}return[{eventName:"keydown",fn:function(Fe){if(Fe.keyCode===fl){Fe.preventDefault(),ie();return}if(Fe.keyCode===el){Fe.preventDefault(),ge();return}if(Fe.keyCode===er){Fe.preventDefault(),te.moveDown();return}if(Fe.keyCode===gu){Fe.preventDefault(),te.moveUp();return}if(Fe.keyCode===na){Fe.preventDefault(),te.moveRight();return}if(Fe.keyCode===Kl){Fe.preventDefault(),te.moveLeft();return}if(Al[Fe.keyCode]){Fe.preventDefault();return}zo(Fe)}},{eventName:"mousedown",fn:ie},{eventName:"mouseup",fn:ie},{eventName:"click",fn:ie},{eventName:"touchstart",fn:ie},{eventName:"resize",fn:ie},{eventName:"wheel",fn:ie,options:{passive:!0}},{eventName:ci,fn:ie}]}function Vl(te){var ae=(0,b.useRef)(Gi),ie=Bt(function(){return{eventName:"keydown",fn:function(Fe){if(Fe.defaultPrevented||Fe.keyCode!==el)return;var Re=te.findClosestDraggableId(Fe);if(!Re)return;var _e=te.tryGetLock(Re,Rt,{sourceEvent:Fe});if(!_e)return;Fe.preventDefault();var bt=!0,Tt=_e.snapLift();ae.current();function Rt(){bt||$e(!1),bt=!1,ae.current(),ge()}ae.current=lr(window,Sl(Tt,Rt),{capture:!0,passive:!1})}}},[te]),ge=Mt(function(){var Fe={passive:!1,capture:!0};ae.current=lr(window,[ie],Fe)},[ie]);cr(function(){return ge(),function(){ae.current()}},[ge])}var kl={type:"IDLE"},Ku=120,Vu=.15;function Uu(te){var ae=te.cancel,ie=te.getPhase;return[{eventName:"orientationchange",fn:ae},{eventName:"resize",fn:ae},{eventName:"contextmenu",fn:function(xe){xe.preventDefault()}},{eventName:"keydown",fn:function(xe){if(ie().type!=="DRAGGING"){ae();return}xe.keyCode===fl&&xe.preventDefault(),ae()}},{eventName:ci,fn:ae}]}function hu(te){var ae=te.cancel,ie=te.completed,ge=te.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Fe){var Re=ge();if(Re.type!=="DRAGGING"){ae();return}Re.hasMoved=!0;var _e=Fe.touches[0],bt=_e.clientX,Tt=_e.clientY,Rt={x:bt,y:Tt};Fe.preventDefault(),Re.actions.move(Rt)}},{eventName:"touchend",fn:function(Fe){var Re=ge();if(Re.type!=="DRAGGING"){ae();return}Fe.preventDefault(),Re.actions.drop({shouldBlockNextClick:!0}),ie()}},{eventName:"touchcancel",fn:function(Fe){if(ge().type!=="DRAGGING"){ae();return}Fe.preventDefault(),ae()}},{eventName:"touchforcechange",fn:function(Fe){var Re=ge();Re.type==="IDLE"&&$e(!1);var _e=Fe.touches[0];if(_e){var bt=_e.force>=Vu;if(bt){var Tt=Re.actions.shouldRespectForcePress();if(Re.type==="PENDING"){Tt&&ae();return}if(Tt){if(Re.hasMoved){Fe.preventDefault();return}ae();return}Fe.preventDefault()}}}},{eventName:ci,fn:ae}]}function Es(te){var ae=(0,b.useRef)(kl),ie=(0,b.useRef)(Pa),ge=Mt(function(){return ae.current},[]),xe=Mt(function(Jt){ae.current=Jt},[]),Fe=Bt(function(){return{eventName:"touchstart",fn:function(Jt){if(!Jt.defaultPrevented){var Un=te.findClosestDraggableId(Jt);if(Un){var ir=te.tryGetLock(Un,_e,{sourceEvent:Jt});if(ir){var mr=Jt.touches[0],hr=mr.clientX,Vr=mr.clientY,ro={x:hr,y:Vr};ie.current(),wt(ir,ro)}}}}}},[te]),Re=Mt(function(){var Jt={capture:!0,passive:!1};ie.current=lr(window,[Fe],Jt)},[Fe]),_e=Mt(function(){var Dt=ae.current;Dt.type!=="IDLE"&&(Dt.type==="PENDING"&&clearTimeout(Dt.longPressTimerId),xe(kl),ie.current(),Re())},[Re,xe]),bt=Mt(function(){var Dt=ae.current;_e(),Dt.type==="DRAGGING"&&Dt.actions.cancel({shouldBlockNextClick:!0}),Dt.type==="PENDING"&&Dt.actions.abort()},[_e]),Tt=Mt(function(){var Jt={capture:!0,passive:!1},Un={cancel:bt,completed:_e,getPhase:ge},ir=lr(window,hu(Un),Jt),mr=lr(window,Uu(Un),Jt);ie.current=function(){ir(),mr()}},[bt,ge,_e]),Rt=Mt(function(){var Jt=ge();Jt.type!=="PENDING"&&$e(!1);var Un=Jt.actions.fluidLift(Jt.point);xe({type:"DRAGGING",actions:Un,hasMoved:!1})},[ge,xe]),wt=Mt(function(Jt,Un){ge().type!=="IDLE"&&$e(!1);var ir=setTimeout(Rt,Ku);xe({type:"PENDING",point:Un,actions:Jt,longPressTimerId:ir}),Tt()},[Tt,ge,xe,Rt]);cr(function(){return Re(),function(){ie.current();var Un=ge();Un.type==="PENDING"&&(clearTimeout(Un.longPressTimerId),xe(kl))}},[ge,Re,xe]),cr(function(){var Jt=lr(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Jt},[])}function vs(te){}var ds={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Va(te,ae){if(ae==null)return!1;var ie=!!ds[ae.tagName.toLowerCase()];if(ie)return!0;var ge=ae.getAttribute("contenteditable");return ge==="true"||ge===""?!0:ae===te?!1:Va(te,ae.parentElement)}function io(te,ae){var ie=ae.target;return ao(ie)?Va(te,ie):!1}var $o=function(te){return Jn(te.getBoundingClientRect()).center};function gi(te){return te instanceof Dr(te).Element}var ti=function(){var te="matches";if(typeof document=="undefined")return te;var ae=[te,"msMatchesSelector","webkitMatchesSelector"],ie=gr(ae,function(ge){return ge in Element.prototype});return ie||te}();function jo(te,ae){return te==null?null:te[ti](ae)?te:jo(te.parentElement,ae)}function Li(te,ae){return te.closest?te.closest(ae):jo(te,ae)}function Ki(te){return"["+ba.contextId+'="'+te+'"]'}function xl(te,ae){var ie=ae.target;if(!gi(ie))return null;var ge=Ki(te),xe=Li(ie,ge);return!xe||!ao(xe)?null:xe}function Ul(te,ae){var ie=xl(te,ae);return ie?ie.getAttribute(ba.draggableId):null}function Su(te,ae){var ie="["+ta.contextId+'="'+te+'"]',ge=eo(document.querySelectorAll(ie)),xe=gr(ge,function(Fe){return Fe.getAttribute(ta.id)===ae});return!xe||!ao(xe)?null:xe}function Ll(te){te.preventDefault()}function $l(te){var ae=te.expected,ie=te.phase,ge=te.isLockActive,xe=te.shouldWarn;return!(!ge()||ae!==ie)}function Eu(te){var ae=te.lockAPI,ie=te.store,ge=te.registry,xe=te.draggableId;if(ae.isClaimed())return!1;var Fe=ge.draggable.findById(xe);return!(!Fe||!Fe.options.isEnabled||!fo(ie.getState(),xe))}function Du(te){var ae=te.lockAPI,ie=te.contextId,ge=te.store,xe=te.registry,Fe=te.draggableId,Re=te.forceSensorStop,_e=te.sourceEvent,bt=Eu({lockAPI:ae,store:ge,registry:xe,draggableId:Fe});if(!bt)return null;var Tt=xe.draggable.getById(Fe),Rt=Su(ie,Tt.descriptor.id);if(!Rt||_e&&!Tt.options.canDragInteractiveElements&&io(Rt,_e))return null;var wt=ae.claim(Re||Pa),Dt="PRE_DRAG";function Jt(){return Tt.options.shouldRespectForcePress}function Un(){return ae.isActive(wt)}function ir(ni,Ni){$l({expected:ni,phase:Dt,isLockActive:Un,shouldWarn:!0})&&ge.dispatch(Ni())}var mr=ir.bind(null,"DRAGGING");function hr(ni){function Ni(){ae.release(),Dt="COMPLETED"}Dt!=="PRE_DRAG"&&(Ni(),Dt!=="PRE_DRAG"&&$e(!1)),ge.dispatch(Se(ni.liftActionArgs)),Dt="DRAGGING";function vl(Ti,pl){if(pl===void 0&&(pl={shouldBlockNextClick:!1}),ni.cleanup(),pl.shouldBlockNextClick){var Rl=lr(window,[{eventName:"click",fn:Ll,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(Rl)}Ni(),ge.dispatch(Fr({reason:Ti}))}return(0,Ne.Z)({isActive:function(){return $l({expected:"DRAGGING",phase:Dt,isLockActive:Un,shouldWarn:!1})},shouldRespectForcePress:Jt,drop:function(pl){return vl("DROP",pl)},cancel:function(pl){return vl("CANCEL",pl)}},ni.actions)}function Vr(ni){var Ni=Bn(function(Ti){mr(function(){return Tn({client:Ti})})}),vl=hr({liftActionArgs:{id:Fe,clientSelection:ni,movementMode:"FLUID"},cleanup:function(){return Ni.cancel()},actions:{move:Ni}});return(0,Ne.Z)({},vl,{move:Ni})}function ro(){var ni={moveUp:function(){return mr(ga)},moveRight:function(){return mr(Ba)},moveDown:function(){return mr(fn)},moveLeft:function(){return mr(Ia)}};return hr({liftActionArgs:{id:Fe,clientSelection:$o(Rt),movementMode:"SNAP"},cleanup:Pa,actions:ni})}function so(){var ni=$l({expected:"PRE_DRAG",phase:Dt,isLockActive:Un,shouldWarn:!0});ni&&ae.release()}var ui={isActive:function(){return $l({expected:"PRE_DRAG",phase:Dt,isLockActive:Un,shouldWarn:!1})},shouldRespectForcePress:Jt,fluidLift:Vr,snapLift:ro,abort:so};return ui}var ps=[ou,Vl,Es];function hs(te){var ae=te.contextId,ie=te.store,ge=te.registry,xe=te.customSensors,Fe=te.enableDefaultSensors,Re=[].concat(Fe?ps:[],xe||[]),_e=(0,b.useState)(function(){return sl()})[0],bt=Mt(function(Vr,ro){Vr.isDragging&&!ro.isDragging&&_e.tryAbandon()},[_e]);cr(function(){var Vr=ie.getState(),ro=ie.subscribe(function(){var so=ie.getState();bt(Vr,so),Vr=so});return ro},[_e,ie,bt]),cr(function(){return _e.tryAbandon},[_e.tryAbandon]);var Tt=Mt(function(hr){return Eu({lockAPI:_e,registry:ge,store:ie,draggableId:hr})},[_e,ge,ie]),Rt=Mt(function(hr,Vr,ro){return Du({lockAPI:_e,registry:ge,contextId:ae,store:ie,draggableId:hr,forceSensorStop:Vr,sourceEvent:ro&&ro.sourceEvent?ro.sourceEvent:null})},[ae,_e,ge,ie]),wt=Mt(function(hr){return Ul(ae,hr)},[ae]),Dt=Mt(function(hr){var Vr=ge.draggable.findById(hr);return Vr?Vr.options:null},[ge.draggable]),Jt=Mt(function(){_e.isClaimed()&&(_e.tryAbandon(),ie.getState().phase!=="IDLE"&&ie.dispatch(kn()))},[_e,ie]),Un=Mt(_e.isClaimed,[_e]),ir=Bt(function(){return{canGetLock:Tt,tryGetLock:Rt,findClosestDraggableId:wt,findOptionsForDraggable:Dt,tryReleaseLock:Jt,isLockClaimed:Un}},[Tt,Rt,wt,Dt,Jt,Un]);vs(Re);for(var mr=0;mr<Re.length;mr++)Re[mr](ir)}var yi=function(ae){return{onBeforeCapture:ae.onBeforeCapture,onBeforeDragStart:ae.onBeforeDragStart,onDragStart:ae.onDragStart,onDragEnd:ae.onDragEnd,onDragUpdate:ae.onDragUpdate}};function Jr(te){return te.current||$e(!1),te.current}function No(te){var ae=te.contextId,ie=te.setCallbacks,ge=te.sensors,xe=te.nonce,Fe=te.dragHandleUsageInstructions,Re=(0,b.useRef)(null);hl();var _e=ul(te),bt=Mt(function(){return yi(_e.current)},[_e]),Tt=xo(ae),Rt=il({contextId:ae,text:Fe}),wt=Co(ae,xe),Dt=Mt(function(Ti){Jr(Re).dispatch(Ti)},[]),Jt=Bt(function(){return(0,Ze.DE)({publishWhileDragging:tt,updateDroppableScroll:qt,updateDroppableIsEnabled:Kt,updateDroppableIsCombineEnabled:Zn,collectionStarting:lt},Dt)},[Dt]),Un=pr(),ir=Bt(function(){return Mr(Un,Jt)},[Un,Jt]),mr=Bt(function(){return oa((0,Ne.Z)({scrollWindow:Fo,scrollDroppable:ir.scrollDroppable},(0,Ze.DE)({move:Tn},Dt)))},[ir.scrollDroppable,Dt]),hr=Ei(ae),Vr=Bt(function(){return Hr({announce:Tt,autoScroller:mr,dimensionMarshal:ir,focusMarshal:hr,getResponders:bt,styleMarshal:wt})},[Tt,mr,ir,hr,bt,wt]);Re.current=Vr;var ro=Mt(function(){var Ti=Jr(Re),pl=Ti.getState();pl.phase!=="IDLE"&&Ti.dispatch(kn())},[]),so=Mt(function(){var Ti=Jr(Re).getState();return Ti.isDragging||Ti.phase==="DROP_ANIMATING"},[]),ui=Bt(function(){return{isDragging:so,tryAbort:ro}},[so,ro]);ie(ui);var ni=Mt(function(Ti){return fo(Jr(Re).getState(),Ti)},[]),Ni=Mt(function(){return au(Jr(Re).getState())},[]),vl=Bt(function(){return{marshal:ir,focus:hr,contextId:ae,canLift:ni,isMovementAllowed:Ni,dragHandleUsageInstructionsId:Rt,registry:Un}},[ae,ir,Rt,hr,ni,Ni,Un]);return hs({contextId:ae,store:Vr,registry:Un,customSensors:ge,enableDefaultSensors:te.enableDefaultSensors!==!1}),(0,b.useEffect)(function(){return ro},[ro]),b.createElement(ll.Provider,{value:vl},b.createElement(x,{context:vo,store:Vr},te.children))}var bi=0;function Ji(){bi=0}function Pu(){return Bt(function(){return""+bi++},[])}function Ql(){Ji(),Fi()}function iu(te){var ae=Pu(),ie=te.dragHandleUsageInstructions||En.dragHandleUsageInstructions;return b.createElement(bn,null,function(ge){return b.createElement(No,{nonce:te.nonce,contextId:ae,setCallbacks:ge,dragHandleUsageInstructions:ie,enableDefaultSensors:te.enableDefaultSensors,sensors:te.sensors,onBeforeCapture:te.onBeforeCapture,onBeforeDragStart:te.onBeforeDragStart,onDragStart:te.onDragStart,onDragUpdate:te.onDragUpdate,onDragEnd:te.onDragEnd},te.children)})}var ql=function(ae){return function(ie){return ae===ie}},cs=ql("scroll"),$u=ql("auto"),lu=ql("visible"),zs=function(ae,ie){return ie(ae.overflowX)||ie(ae.overflowY)},ad=function(ae,ie){return ie(ae.overflowX)&&ie(ae.overflowY)},js=function(ae){var ie=window.getComputedStyle(ae),ge={overflowX:ie.overflowX,overflowY:ie.overflowY};return zs(ge,cs)||zs(ge,$u)},rd=function(){return!1;var ae,ie,ge,xe},Gs=function te(ae){return ae==null?null:ae===document.body?rd()?ae:null:ae===document.documentElement?null:js(ae)?ae:te(ae.parentElement)},Jd=function(te){if(te)var ae=Gs(te.parentElement)},Is=function(te){return{x:te.scrollLeft,y:te.scrollTop}},od=function te(ae){if(!ae)return!1;var ie=window.getComputedStyle(ae);return ie.position==="fixed"?!0:te(ae.parentElement)},id=function(te){var ae=Gs(te),ie=od(te);return{closestScrollable:ae,isFixedOnPage:ie}},ld=function(te){var ae=te.descriptor,ie=te.isEnabled,ge=te.isCombineEnabled,xe=te.isFixedOnPage,Fe=te.direction,Re=te.client,_e=te.page,bt=te.closest,Tt=function(){if(!bt)return null;var Jt=bt.scrollSize,Un=bt.client,ir=fr({scrollHeight:Jt.scrollHeight,scrollWidth:Jt.scrollWidth,height:Un.paddingBox.height,width:Un.paddingBox.width});return{pageMarginBox:bt.page.marginBox,frameClient:Un,scrollSize:Jt,shouldClipSubject:bt.shouldClipSubject,scroll:{initial:bt.scroll,current:bt.scroll,max:ir,diff:{value:dr,displacement:dr}}}}(),Rt=Fe==="vertical"?dl:ml,wt=po({page:_e,withPlaceholder:null,axis:Rt,frame:Tt}),Dt={descriptor:ae,isCombineEnabled:ge,isFixedOnPage:xe,axis:Rt,isEnabled:ie,client:Re,page:_e,frame:Tt,subject:wt};return Dt},ud=function(ae,ie){var ge=xa(ae);if(!ie||ae!==ie)return ge;var xe=ge.paddingBox.top-ie.scrollTop,Fe=ge.paddingBox.left-ie.scrollLeft,Re=xe+ie.scrollHeight,_e=Fe+ie.scrollWidth,bt={top:xe,right:_e,bottom:Re,left:Fe},Tt=va(bt,ge.border),Rt=Ua({borderBox:Tt,margin:ge.margin,border:ge.border,padding:ge.padding});return Rt},sd=function(te){var ae=te.ref,ie=te.descriptor,ge=te.env,xe=te.windowScroll,Fe=te.direction,Re=te.isDropDisabled,_e=te.isCombineEnabled,bt=te.shouldClipSubject,Tt=ge.closestScrollable,Rt=ud(ae,Tt),wt=On(Rt,xe),Dt=function(){if(!Tt)return null;var Un=xa(Tt),ir={scrollHeight:Tt.scrollHeight,scrollWidth:Tt.scrollWidth};return{client:Un,page:On(Un,xe),scroll:Is(Tt),scrollSize:ir,shouldClipSubject:bt}}(),Jt=ld({descriptor:ie,isEnabled:!Re,isCombineEnabled:_e,isFixedOnPage:ge.isFixedOnPage,direction:Fe,client:Rt,page:wt,closest:Dt});return Jt},dd={passive:!1},cd={passive:!0},Ws=function(te){return te.shouldPublishImmediately?dd:cd};function Cs(te){var ae=(0,b.useContext)(te);return ae||$e(!1),ae}var xs=function(ae){return ae&&ae.env.closestScrollable||null};function gd(te){var ae=(0,b.useRef)(null),ie=Cs(ll),ge=ki("droppable"),xe=ie.registry,Fe=ie.marshal,Re=ul(te),_e=Bt(function(){return{id:te.droppableId,type:te.type,mode:te.mode}},[te.droppableId,te.mode,te.type]),bt=(0,b.useRef)(_e),Tt=Bt(function(){return Wt(function(so,ui){ae.current||$e(!1);var ni={x:so,y:ui};Fe.updateDroppableScroll(_e.id,ni)})},[_e.id,Fe]),Rt=Mt(function(){var so=ae.current;return!so||!so.env.closestScrollable?dr:Is(so.env.closestScrollable)},[]),wt=Mt(function(){var so=Rt();Tt(so.x,so.y)},[Rt,Tt]),Dt=Bt(function(){return Bn(wt)},[wt]),Jt=Mt(function(){var so=ae.current,ui=xs(so);so&&ui||$e(!1);var ni=so.scrollOptions;if(ni.shouldPublishImmediately){wt();return}Dt()},[Dt,wt]),Un=Mt(function(so,ui){ae.current&&$e(!1);var ni=Re.current,Ni=ni.getDroppableRef();Ni||$e(!1);var vl=id(Ni),Ti={ref:Ni,descriptor:_e,env:vl,scrollOptions:ui};ae.current=Ti;var pl=sd({ref:Ni,descriptor:_e,env:vl,windowScroll:so,direction:ni.direction,isDropDisabled:ni.isDropDisabled,isCombineEnabled:ni.isCombineEnabled,shouldClipSubject:!ni.ignoreContainerClipping}),Rl=vl.closestScrollable;return Rl&&(Rl.setAttribute(Ka.contextId,ie.contextId),Rl.addEventListener("scroll",Jt,Ws(Ti.scrollOptions))),pl},[ie.contextId,_e,Jt,Re]),ir=Mt(function(){var so=ae.current,ui=xs(so);return so&&ui||$e(!1),Is(ui)},[]),mr=Mt(function(){var so=ae.current;so||$e(!1);var ui=xs(so);ae.current=null,ui&&(Dt.cancel(),ui.removeAttribute(Ka.contextId),ui.removeEventListener("scroll",Jt,Ws(so.scrollOptions)))},[Jt,Dt]),hr=Mt(function(so){var ui=ae.current;ui||$e(!1);var ni=xs(ui);ni||$e(!1),ni.scrollTop+=so.y,ni.scrollLeft+=so.x},[]),Vr=Bt(function(){return{getDimensionAndWatchScroll:Un,getScrollWhileDragging:ir,dragStopped:mr,scroll:hr}},[mr,Un,ir,hr]),ro=Bt(function(){return{uniqueId:ge,descriptor:_e,callbacks:Vr}},[Vr,_e,ge]);cr(function(){return bt.current=ro.descriptor,xe.droppable.register(ro),function(){ae.current&&mr(),xe.droppable.unregister(ro)}},[Vr,_e,mr,ro,Fe,xe.droppable]),cr(function(){ae.current&&Fe.updateDroppableIsEnabled(bt.current.id,!te.isDropDisabled)},[te.isDropDisabled,Fe]),cr(function(){ae.current&&Fe.updateDroppableIsCombineEnabled(bt.current.id,te.isCombineEnabled)},[te.isCombineEnabled,Fe])}function Os(){}var Ks={width:0,height:0,margin:Pr},md=function(ae){var ie=ae.isAnimatingOpenOnMount,ge=ae.placeholder,xe=ae.animate;return ie||xe==="close"?Ks:{height:ge.client.borderBox.height,width:ge.client.borderBox.width,margin:ge.client.margin}},fd=function(ae){var ie=ae.isAnimatingOpenOnMount,ge=ae.placeholder,xe=ae.animate,Fe=md({isAnimatingOpenOnMount:ie,placeholder:ge,animate:xe});return{display:ge.display,boxSizing:"border-box",width:Fe.width,height:Fe.height,marginTop:Fe.margin.top,marginRight:Fe.margin.right,marginBottom:Fe.margin.bottom,marginLeft:Fe.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:xe!=="none"?Si.placeholder:null}};function vd(te){var ae=(0,b.useRef)(null),ie=Mt(function(){ae.current&&(clearTimeout(ae.current),ae.current=null)},[]),ge=te.animate,xe=te.onTransitionEnd,Fe=te.onClose,Re=te.contextId,_e=(0,b.useState)(te.animate==="open"),bt=_e[0],Tt=_e[1];(0,b.useEffect)(function(){return bt?ge!=="open"?(ie(),Tt(!1),Os):ae.current?Os:(ae.current=setTimeout(function(){ae.current=null,Tt(!1)}),ie):Os},[ge,bt,ie]);var Rt=Mt(function(Dt){Dt.propertyName==="height"&&(xe(),ge==="close"&&Fe())},[ge,Fe,xe]),wt=fd({isAnimatingOpenOnMount:bt,animate:te.animate,placeholder:te.placeholder});return b.createElement(te.placeholder.tagName,{style:wt,"data-rbd-placeholder-context-id":Re,onTransitionEnd:Rt,ref:te.innerRef})}var pd=b.memo(vd),Ls=b.createContext(null);function Vs(te){te&&ao(te)||$e(!1)}function Rs(te){return typeof te=="boolean"}function Ms(te,ae){ae.forEach(function(ie){return ie(te)})}var hd=[function(ae){var ie=ae.props;ie.droppableId||$e(!1),typeof ie.droppableId!="string"&&$e(!1)},function(ae){var ie=ae.props;Rs(ie.isDropDisabled)||$e(!1),Rs(ie.isCombineEnabled)||$e(!1),Rs(ie.ignoreContainerClipping)||$e(!1)},function(ae){var ie=ae.getDroppableRef;Vs(ie())}],Sd=[function(ae){var ie=ae.props,ge=ae.getPlaceholderRef;if(ie.placeholder)var xe=ge()}],Ed=[function(ae){var ie=ae.props;ie.renderClone||$e(!1)},function(ae){var ie=ae.getPlaceholderRef;ie()&&$e(!1)}];function Pd(te){Hi(function(){Ms(te,hd),te.props.mode==="standard"&&Ms(te,Sd),te.props.mode==="virtual"&&Ms(te,Ed)})}var yd=function(te){Be(ae,te);function ae(){for(var ge,xe=arguments.length,Fe=new Array(xe),Re=0;Re<xe;Re++)Fe[Re]=arguments[Re];return ge=te.call.apply(te,[this].concat(Fe))||this,ge.state={isVisible:!!ge.props.on,data:ge.props.on,animate:ge.props.shouldAnimate&&ge.props.on?"open":"none"},ge.onClose=function(){ge.state.animate==="close"&&ge.setState({isVisible:!1})},ge}ae.getDerivedStateFromProps=function(xe,Fe){return xe.shouldAnimate?xe.on?{isVisible:!0,data:xe.on,animate:"open"}:Fe.isVisible?{isVisible:!0,data:Fe.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!xe.on,data:xe.on,animate:"none"}};var ie=ae.prototype;return ie.render=function(){if(!this.state.isVisible)return null;var xe={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(xe)},ae}(b.PureComponent),Us={dragging:5e3,dropAnimating:4500},bd=function(ae,ie){return ie?Si.drop(ie.duration):ae?Si.snap:Si.fluid},Cd=function(ae,ie){return ae?ie?Ho.opacity.drop:Ho.opacity.combining:null},xd=function(ae){return ae.forceShouldAnimate!=null?ae.forceShouldAnimate:ae.mode==="SNAP"};function Fd(te){var ae=te.dimension,ie=ae.client,ge=te.offset,xe=te.combineWith,Fe=te.dropping,Re=!!xe,_e=xd(te),bt=!!Fe,Tt=bt?oo.drop(ge,Re):oo.moveTo(ge),Rt={position:"fixed",top:ie.marginBox.top,left:ie.marginBox.left,boxSizing:"border-box",width:ie.borderBox.width,height:ie.borderBox.height,transition:bd(_e,Fe),transform:Tt,opacity:Cd(Re,bt),zIndex:bt?Us.dropAnimating:Us.dragging,pointerEvents:"none"};return Rt}function Bd(te){return{transform:oo.moveTo(te.offset),transition:te.shouldAnimateDisplacement?null:"none"}}function wd(te){return te.type==="DRAGGING"?Fd(te):Bd(te)}function Dd(te,ae,ie){ie===void 0&&(ie=dr);var ge=window.getComputedStyle(ae),xe=ae.getBoundingClientRect(),Fe=la(xe,ge),Re=On(Fe,ie),_e={client:Fe,tagName:ae.tagName.toLowerCase(),display:ge.display},bt={x:Fe.marginBox.width,y:Fe.marginBox.height},Tt={descriptor:te,placeholder:_e,displaceBy:bt,client:Fe,page:Re};return Tt}function Ad(te){var ae=ki("draggable"),ie=te.descriptor,ge=te.registry,xe=te.getDraggableRef,Fe=te.canDragInteractiveElements,Re=te.shouldRespectForcePress,_e=te.isEnabled,bt=Bt(function(){return{canDragInteractiveElements:Fe,shouldRespectForcePress:Re,isEnabled:_e}},[Fe,_e,Re]),Tt=Mt(function(Jt){var Un=xe();return Un||$e(!1),Dd(ie,Un,Jt)},[ie,xe]),Rt=Bt(function(){return{uniqueId:ae,descriptor:ie,options:bt,getDimension:Tt}},[ie,Tt,bt,ae]),wt=(0,b.useRef)(Rt),Dt=(0,b.useRef)(!0);cr(function(){return ge.draggable.register(wt.current),function(){return ge.draggable.unregister(wt.current)}},[ge.draggable]),cr(function(){if(Dt.current){Dt.current=!1;return}var Jt=wt.current;wt.current=Rt,ge.draggable.update(Rt,Jt)},[Rt,ge.draggable])}function Nd(te,ae,ie){Hi(function(){function ge(Fe){return"Draggable[id: "+Fe+"]: "}var xe=te.draggableId;xe||$e(!1),typeof xe!="string"&&$e(!1),Go(te.index)||$e(!1),te.mapped.type!=="DRAGGING"&&(Vs(ie()),te.isEnabled&&(So(ae,xe)||$e(!1)))})}function Id(te){}function Od(te){te.preventDefault()}function Ld(te){var ae=(0,b.useRef)(null),ie=Mt(function(Ti){ae.current=Ti},[]),ge=Mt(function(){return ae.current},[]),xe=Cs(ll),Fe=xe.contextId,Re=xe.dragHandleUsageInstructionsId,_e=xe.registry,bt=Cs(Ls),Tt=bt.type,Rt=bt.droppableId,wt=Bt(function(){return{id:te.draggableId,index:te.index,type:Tt,droppableId:Rt}},[te.draggableId,te.index,Tt,Rt]),Dt=te.children,Jt=te.draggableId,Un=te.isEnabled,ir=te.shouldRespectForcePress,mr=te.canDragInteractiveElements,hr=te.isClone,Vr=te.mapped,ro=te.dropAnimationFinished;if(Nd(te,Fe,ge),Id(hr),!hr){var so=Bt(function(){return{descriptor:wt,registry:_e,getDraggableRef:ge,canDragInteractiveElements:mr,shouldRespectForcePress:ir,isEnabled:Un}},[wt,_e,ge,mr,ir,Un]);Ad(so)}var ui=Bt(function(){return Un?{tabIndex:0,role:"button","aria-describedby":Re,"data-rbd-drag-handle-draggable-id":Jt,"data-rbd-drag-handle-context-id":Fe,draggable:!1,onDragStart:Od}:null},[Fe,Re,Jt,Un]),ni=Mt(function(Ti){Vr.type==="DRAGGING"&&Vr.dropping&&Ti.propertyName==="transform"&&ro()},[ro,Vr]),Ni=Bt(function(){var Ti=wd(Vr),pl=Vr.type==="DRAGGING"&&Vr.dropping?ni:null,Rl={innerRef:ie,draggableProps:{"data-rbd-draggable-context-id":Fe,"data-rbd-draggable-id":Jt,style:Ti,onTransitionEnd:pl},dragHandleProps:ui};return Rl},[Fe,ui,Jt,Vr,ni,ie]),vl=Bt(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(Ni,Vr.snapshot,vl)}var $s=function(te,ae){return te===ae},Qs=function(te){var ae=te.combine,ie=te.destination;return ie?ie.droppableId:ae?ae.droppableId:null},Rd=function(ae){return ae.combine?ae.combine.draggableId:null},Md=function(ae){return ae.at&&ae.at.type==="COMBINE"?ae.at.combine.draggableId:null};function kd(){var te=Wt(function(xe,Fe){return{x:xe,y:Fe}}),ae=Wt(function(xe,Fe,Re,_e,bt){return{isDragging:!0,isClone:Fe,isDropAnimating:!!bt,dropAnimation:bt,mode:xe,draggingOver:Re,combineWith:_e,combineTargetFor:null}}),ie=Wt(function(xe,Fe,Re,_e,bt,Tt,Rt){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:bt,combineWith:Tt,mode:Fe,offset:xe,dimension:Re,forceShouldAnimate:Rt,snapshot:ae(Fe,_e,bt,Tt,null)}}}),ge=function(Fe,Re){if(Fe.isDragging){if(Fe.critical.draggable.id!==Re.draggableId)return null;var _e=Fe.current.client.offset,bt=Fe.dimensions.draggables[Re.draggableId],Tt=Wi(Fe.impact),Rt=Md(Fe.impact),wt=Fe.forceShouldAnimate;return ie(te(_e.x,_e.y),Fe.movementMode,bt,Re.isClone,Tt,Rt,wt)}if(Fe.phase==="DROP_ANIMATING"){var Dt=Fe.completed;if(Dt.result.draggableId!==Re.draggableId)return null;var Jt=Re.isClone,Un=Fe.dimensions.draggables[Re.draggableId],ir=Dt.result,mr=ir.mode,hr=Qs(ir),Vr=Rd(ir),ro=Fe.dropDuration,so={duration:ro,curve:mo.drop,moveTo:Fe.newHomeClientOffset,opacity:Vr?Ho.opacity.drop:null,scale:Vr?Ho.scale.drop:null};return{mapped:{type:"DRAGGING",offset:Fe.newHomeClientOffset,dimension:Un,dropping:so,draggingOver:hr,combineWith:Vr,mode:mr,forceShouldAnimate:null,snapshot:ae(mr,Jt,hr,Vr,so)}}}return null};return ge}function Ys(te){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:te,combineWith:null}}var Td={mapped:{type:"SECONDARY",offset:dr,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Ys(null)}};function _d(){var te=Wt(function(Re,_e){return{x:Re,y:_e}}),ae=Wt(Ys),ie=Wt(function(Re,_e,bt){return _e===void 0&&(_e=null),{mapped:{type:"SECONDARY",offset:Re,combineTargetFor:_e,shouldAnimateDisplacement:bt,snapshot:ae(_e)}}}),ge=function(_e){return _e?ie(dr,_e,!0):null},xe=function(_e,bt,Tt,Rt){var wt=Tt.displaced.visible[_e],Dt=!!(Rt.inVirtualList&&Rt.effected[_e]),Jt=ko(Tt),Un=Jt&&Jt.draggableId===_e?bt:null;if(!wt){if(!Dt)return ge(Un);if(Tt.displaced.invisible[_e])return null;var ir=ha(Rt.displacedBy.point),mr=te(ir.x,ir.y);return ie(mr,Un,!0)}if(Dt)return ge(Un);var hr=Tt.displacedBy.point,Vr=te(hr.x,hr.y);return ie(Vr,Un,wt.shouldAnimate)},Fe=function(_e,bt){if(_e.isDragging)return _e.critical.draggable.id===bt.draggableId?null:xe(bt.draggableId,_e.critical.draggable.id,_e.impact,_e.afterCritical);if(_e.phase==="DROP_ANIMATING"){var Tt=_e.completed;return Tt.result.draggableId===bt.draggableId?null:xe(bt.draggableId,Tt.result.draggableId,Tt.impact,Tt.afterCritical)}return null};return Fe}var Zd=function(){var ae=kd(),ie=_d(),ge=function(Fe,Re){return ae(Fe,Re)||ie(Fe,Re)||Td};return ge},Hd={dropAnimationFinished:Br},zd=Oe(Zd,Hd,null,{context:vo,pure:!0,areStatePropsEqual:$s})(Ld);function Js(te){var ae=Cs(Ls),ie=ae.isUsingCloneFor;return ie===te.draggableId&&!te.isClone?null:b.createElement(zd,te)}function jd(te){var ae=typeof te.isDragDisabled=="boolean"?!te.isDragDisabled:!0,ie=!!te.disableInteractiveElementBlocking,ge=!!te.shouldRespectForcePress;return b.createElement(Js,(0,Ne.Z)({},te,{isClone:!1,isEnabled:ae,canDragInteractiveElements:ie,shouldRespectForcePress:ge}))}function Gd(te){var ae=(0,b.useContext)(ll);ae||$e(!1);var ie=ae.contextId,ge=ae.isMovementAllowed,xe=(0,b.useRef)(null),Fe=(0,b.useRef)(null),Re=te.children,_e=te.droppableId,bt=te.type,Tt=te.mode,Rt=te.direction,wt=te.ignoreContainerClipping,Dt=te.isDropDisabled,Jt=te.isCombineEnabled,Un=te.snapshot,ir=te.useClone,mr=te.updateViewportMaxScroll,hr=te.getContainerForClone,Vr=Mt(function(){return xe.current},[]),ro=Mt(function(Tl){xe.current=Tl},[]),so=Mt(function(){return Fe.current},[]),ui=Mt(function(Tl){Fe.current=Tl},[]);Pd({props:te,getDroppableRef:Vr,getPlaceholderRef:so});var ni=Mt(function(){ge()&&mr({maxScroll:or()})},[ge,mr]);gd({droppableId:_e,type:bt,mode:Tt,direction:Rt,isDropDisabled:Dt,isCombineEnabled:Jt,ignoreContainerClipping:wt,getDroppableRef:Vr});var Ni=b.createElement(yd,{on:te.placeholder,shouldAnimate:te.shouldAnimatePlaceholder},function(Tl){var Au=Tl.onClose,yu=Tl.data,uu=Tl.animate;return b.createElement(pd,{placeholder:yu,onClose:Au,innerRef:ui,animate:uu,contextId:ie,onTransitionEnd:ni})}),vl=Bt(function(){return{innerRef:ro,placeholder:Ni,droppableProps:{"data-rbd-droppable-id":_e,"data-rbd-droppable-context-id":ie}}},[ie,_e,Ni,ro]),Ti=ir?ir.dragging.draggableId:null,pl=Bt(function(){return{droppableId:_e,type:bt,isUsingCloneFor:Ti}},[_e,Ti,bt]);function Rl(){if(!ir)return null;var Tl=ir.dragging,Au=ir.render,yu=b.createElement(Js,{draggableId:Tl.draggableId,index:Tl.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(uu,Nu){return Au(uu,Nu,Tl)});return yn.createPortal(yu,hr())}return b.createElement(Ls.Provider,{value:pl},Re(vl,Un),Rl())}var ks=function(ae,ie){return ae===ie.droppable.type},Xs=function(ae,ie){return ie.draggables[ae.draggable.id]},Wd=function(){var ae={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},ie=(0,Ne.Z)({},ae,{shouldAnimatePlaceholder:!1}),ge=Wt(function(Re){return{draggableId:Re.id,type:Re.type,source:{index:Re.index,droppableId:Re.droppableId}}}),xe=Wt(function(Re,_e,bt,Tt,Rt,wt){var Dt=Rt.descriptor.id,Jt=Rt.descriptor.droppableId===Re;if(Jt){var Un=wt?{render:wt,dragging:ge(Rt.descriptor)}:null,ir={isDraggingOver:bt,draggingOverWith:bt?Dt:null,draggingFromThisWith:Dt,isUsingPlaceholder:!0};return{placeholder:Rt.placeholder,shouldAnimatePlaceholder:!1,snapshot:ir,useClone:Un}}if(!_e)return ie;if(!Tt)return ae;var mr={isDraggingOver:bt,draggingOverWith:Dt,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Rt.placeholder,shouldAnimatePlaceholder:!0,snapshot:mr,useClone:null}}),Fe=function(_e,bt){var Tt=bt.droppableId,Rt=bt.type,wt=!bt.isDropDisabled,Dt=bt.renderClone;if(_e.isDragging){var Jt=_e.critical;if(!ks(Rt,Jt))return ie;var Un=Xs(Jt,_e.dimensions),ir=Wi(_e.impact)===Tt;return xe(Tt,wt,ir,ir,Un,Dt)}if(_e.phase==="DROP_ANIMATING"){var mr=_e.completed;if(!ks(Rt,mr.critical))return ie;var hr=Xs(mr.critical,_e.dimensions);return xe(Tt,wt,Qs(mr.result)===Tt,Wi(mr.impact)===Tt,hr,Dt)}if(_e.phase==="IDLE"&&_e.completed&&!_e.shouldFlush){var Vr=_e.completed;if(!ks(Rt,Vr.critical))return ie;var ro=Wi(Vr.impact)===Tt,so=!!(Vr.impact.at&&Vr.impact.at.type==="COMBINE"),ui=Vr.critical.droppable.id===Tt;return ro?so?ae:ie:ui?ae:ie}return ie};return Fe},Kd={updateViewportMaxScroll:Ca};function Vd(){return document.body||$e(!1),document.body}var Ud={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Vd},qs=Oe(Wd,Kd,null,{context:vo,pure:!0,areStatePropsEqual:$s})(Gd);qs.defaultProps=Ud},38486:function(Qt,Gt){"use strict";var ee;var b=60103,de=60106,Be=60107,Ne=60108,Ze=60114,ke=60109,le=60110,st=60112,et=60113,Ve=60120,je=60115,Xe=60116,Ye=60121,se=60122,E=60117,a=60129,x=60131;if(typeof Symbol=="function"&&Symbol.for){var y=Symbol.for;b=y("react.element"),de=y("react.portal"),Be=y("react.fragment"),Ne=y("react.strict_mode"),Ze=y("react.profiler"),ke=y("react.provider"),le=y("react.context"),st=y("react.forward_ref"),et=y("react.suspense"),Ve=y("react.suspense_list"),je=y("react.memo"),Xe=y("react.lazy"),Ye=y("react.block"),se=y("react.server.block"),E=y("react.fundamental"),a=y("react.debug_trace_mode"),x=y("react.legacy_hidden")}function z(qe){if(typeof qe=="object"&&qe!==null){var Ke=qe.$$typeof;switch(Ke){case b:switch(qe=qe.type,qe){case Be:case Ze:case Ne:case et:case Ve:return qe;default:switch(qe=qe&&qe.$$typeof,qe){case le:case st:case Xe:case je:case ke:return qe;default:return Ke}}case de:return Ke}}}var ne=ke,re=b,ue=st,oe=Be,ve=Xe,be=je,We=de,Ae=Ze,He=Ne,he=et;ee=le,ee=ne,ee=re,ee=ue,ee=oe,ee=ve,ee=be,ee=We,ee=Ae,ee=He,ee=he,ee=function(){return!1},ee=function(){return!1},Gt.isContextConsumer=function(qe){return z(qe)===le},ee=function(qe){return z(qe)===ke},ee=function(qe){return typeof qe=="object"&&qe!==null&&qe.$$typeof===b},ee=function(qe){return z(qe)===st},ee=function(qe){return z(qe)===Be},ee=function(qe){return z(qe)===Xe},ee=function(qe){return z(qe)===je},ee=function(qe){return z(qe)===de},ee=function(qe){return z(qe)===Ze},ee=function(qe){return z(qe)===Ne},ee=function(qe){return z(qe)===et},ee=function(qe){return typeof qe=="string"||typeof qe=="function"||qe===Be||qe===Ze||qe===a||qe===Ne||qe===et||qe===Ve||qe===x||typeof qe=="object"&&qe!==null&&(qe.$$typeof===Xe||qe.$$typeof===je||qe.$$typeof===ke||qe.$$typeof===le||qe.$$typeof===st||qe.$$typeof===E||qe.$$typeof===Ye||qe[0]===se)},ee=z},53410:function(Qt,Gt,ee){"use strict";Qt.exports=ee(38486)},32637:function(Qt,Gt,ee){"use strict";Qt.exports=ee.p+"static/AssistantCode3.a8740efb.jpeg"},73631:function(Qt){"use strict";Qt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwYkWnLYifTyBzq5XNK8YNwbbvYP381ZuaVlN1+HJwAc4d1QYaA+gDsHYANrhGHTdCMtSDMILtwSMDn7ZiANPKwyjeQ0Reo4r1gEoEwRkDb7spdPcBeocMk1Cv00oii5L+fgPwcR/zHfb3AJY2sEpUVLOUhB/l+w7I1iS9TYDFrM3AzhqGDstPZ3li2Z12U2WLvk4fGJh+F0elYN8ZrbWiA7igAP4WR6sFzDAKPgPHP0VnlMsFS5IyyIGoeAamCKybYI5UQLWVE2fgGI/s72wqQXRd9jyxiHgGJtihFxGQm8Qd5XvtF3fEQOrQH9mDm1Z9hyJuEphXIq9uSWSQqv8a4RbAUTFdcs7gifwplYGjT3wzbPFz6Q70EZv8WZoxMP66ApMc86inirNBA8njcFIuvOTXhowPyzuQJiukzi3hQgS7b+I9nJtQn/AHsLGsvlcPPWsAAAAASUVORK5CYII="},5623:function(Qt){"use strict";Qt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAedJREFUOBGtVDtLA0EQ/jY5z7dgEBVJLHyAitpYWQqKjVZa5BfEKpWlWPgrLG0UEdTexkILRUQiSBBBCAhGUINFHia53Dm7ufXcvfgIOHA3O69vvtnbPeY4ThD/KIF/xBJQhg/wbmkZtj0KMKbEGNIweg4xuPmq+DWDKSOfz2/AqaxpOVWzip8HC2xTsydfjoMHhMd2VMDjkSswTPqSucOhh3PmupaIediBOnL52UTLENC7QCV1bC9vkjkF3i4WVUDeORIF2sf5ymOk7mY1pr87hoHEhekHDLYQOfck8c6c6OeYfPHN3LyOxEB2KwQru0LrBvTPdaGRipj7ISUzqUWJ/moiRyc1tUXAQP42Tsa6sEIRCtwDRXqESDYS8RuG5iyRMEWFAat4CbvsAmgFmukmeYofJYeSAimab0L4DfQNHiF1laFAyMv840o2zN3Q1FMuIOIWStF9OtAxH4xkIC8NZyN9SnIOsNISkLRd3EWlFBP0lQJtDzVTyc8mBKB3U65nUnBYmDaFAr98BFGqvYKtwOMZHRsp1vsedVxV8bQRJXu5BbKWa6sAmK1lj2FiOoLcS5LYNX/N+3ktp+GapFJMeoDccdI9gEJ2nW5HhJjKuXmktih7yjJoC8VVwNpldXnr+KX8DfcD09mnwzz7SXEAAAAASUVORK5CYII="},96908:function(Qt){"use strict";Qt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPK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