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(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(71409),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,_e=ee(7657),ke=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(ke),it=le},59477:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(71409),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,_e=ee(7657),ke=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(ke),it=le},26227:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(71409),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,_e=ee(7657),ke=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(ke),it=le},49198:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(71409),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,_e=ee(7657),ke=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(ke),it=le},41464:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(71409),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,_e=ee(7657),ke=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(ke),it=le},87169:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(71409),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,_e=ee(7657),ke=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(ke),it=le},52671:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(71409),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,_e=ee(7657),ke=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(ke),it=le},8657:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(71409),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,_e=ee(7657),ke=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(ke),it=le},56082:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(71409),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,_e=ee(7657),ke=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(ke),it=le},33853:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(71409),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,_e=ee(7657),ke=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(ke),it=le},12893:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(71409),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,_e=ee(7657),ke=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(ke),it=le},15075:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(71409),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,_e=ee(7657),ke=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(ke),it=le},32134:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(71409),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,_e=ee(7657),ke=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(ke),it=le},43531:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(71409),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,_e=ee(7657),ke=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(ke),it=le},38819:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(71409),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,_e=ee(7657),ke=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(ke),it=le},99587:function(Vt,jt){"use strict";jt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},8423:function(Vt,jt){"use strict";jt.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(Vt,jt){"use strict";jt.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(Vt,jt,ee){"use strict";var b=ee(59301),de=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,ke=(qe,Ke,je)=>Ke in qe?de(qe,Ke,{enumerable:!0,configurable:!0,writable:!0,value:je}):qe[Ke]=je,le=(qe,Ke)=>{for(var je in Ke||(Ke={}))Ne.call(Ke,je)&&ke(qe,je,Ke[je]);if(Be)for(var je of Be(Ke))_e.call(Ke,je)&&ke(qe,je,Ke[je]);return qe};const it=qe=>React.createElement("svg",le({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},qe),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"}));jt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},61250:function(Vt,jt,ee){"use strict";var b=ee(59301),de=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,ke=(qe,Ke,je)=>Ke in qe?de(qe,Ke,{enumerable:!0,configurable:!0,writable:!0,value:je}):qe[Ke]=je,le=(qe,Ke)=>{for(var je in Ke||(Ke={}))Ne.call(Ke,je)&&ke(qe,je,Ke[je]);if(Be)for(var je of Be(Ke))_e.call(Ke,je)&&ke(qe,je,Ke[je]);return qe};const it=qe=>React.createElement("svg",le({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},qe),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"}));jt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},63720:function(){"use strict";function Vt(ue,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=ue,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(Vt.prototype,"name",{get:function(){return this._name},set:function(ue){if(typeof ue!="string"||ue==="")throw new Error("Shape name must be a valid string.");this._name=ue}}),Object.defineProperty(Vt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ue){if(typeof ue!="number"||isNaN(ue))throw new Error("The default value must be a real number, not: "+ue);this._defaultValue=ue}}),Object.defineProperty(Vt.prototype,"minimum",{get:function(){return this._minimum},set:function(ue){if(typeof ue!="number"||isNaN(ue))throw new Error("Minimum must be a real number, not: "+ue);this._minimum=ue}}),Object.defineProperty(Vt.prototype,"maximum",{get:function(){return this._maximum},set:function(ue){if(typeof ue!="number"||isNaN(ue))throw new Error("Maximum must be a real number, not: "+ue);this._maximum=ue}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ue,E){var a=go.Shape._FigureParameters[ue];return a?a[E]:null},go.Shape.setFigureParameter=function(ue,E,a){if(!(a instanceof Vt))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[ue];x||(x=[],go.Shape._FigureParameters[ue]=x),x[E]=a};var jt=[];function ee(ue,E){var a=jt.pop();return a===void 0?new go.Point(ue,E):(a.x=ue,a.y=E,a)}function b(){var ue=jt.pop();return ue===void 0?new go.Point:ue}function de(ue){jt.push(ue)}function Be(ue,E,a,x,y,z,te,re,se){se||(se=new go.Point);var ie=ue-a,ve=y-te,ye=NaN,Ge=NaN;if(ie===0)if(ve===0)ue===a&&(ye=ue,Ge=E);else{var Ae=(z-re)/ve,ze=z-Ae*y;ye=ue,Ge=Ae*ye+ze}else if(ve===0){var he=(E-x)/ie,Qe=E-he*ue;ye=y,Ge=he*ye+Qe}else{var he=(E-x)/ie,Ae=(z-re)/ve,Qe=E-he*ue,ze=z-Ae*y;ye=(ze-Qe)/(he-Ae),Ge=he*ye+Qe}return se.x=ye,se.y=Ge,se}function Ne(ue,E,a,x,y,z,te,re,se,ie,ve,ye,Ge,Ae){var ze=1-se,he=se,Qe=ue*ze+a*he,We=E*ze+x*he,ft=a*ze+y*he,Le=x*ze+z*he,ot=y*ze+te*he,dt=z*ze+re*he,gt=Qe*ze+ft*he,Dt=We*ze+Le*he,sn=ft*ze+ot*he,Ft=Le*ze+dt*he,on=gt*ze+sn*he,cn=Dt*ze+Ft*he;ie.x=Qe,ie.y=We,ve.x=gt,ve.y=Dt,ye.x=on,ye.y=cn,Ge.x=sn,Ge.y=Ft,Ae.x=ot,Ae.y=dt}var _e=new go.Spot(.156,.156),ke=new go.Spot(.844,.844),le=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Vt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ue,E,a){var x=ue?ue.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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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=_e,y.spot2=ke,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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 Vt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ue,E,a){var x=ue?ue.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 Vt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ue,E,a){var x=ue?ue.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 Vt("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ue,E,a){var x=ue?ue.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 Vt("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ue,E,a){var x=ue?ue.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 Vt("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ue,E,a){var x=ue?ue.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 it=[];function qe(){var ue=it.pop();return ue===void 0?[]:ue}function Ke(ue){ue.length=0,it.push(ue)}function je(ue){for(var E=qe(),a=.5,x=.5,y=Math.PI*1.5,z=0,te=0;te<ue;te++)z=2*Math.PI/ue*te+y,E[te]=new go.Point(x+a*Math.cos(z),x+a*Math.sin(z));return E.push(E[0]),E}function Je(ue){var E=Ye(ue),a=qe();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 Ke(E),a}function Ye(ue){for(var E=je(ue),a=qe(),x=Math.floor(E.length/2),y=E.length-1,z=ue%2===0?2:1,te=0;te<y;te++){var re=E[te],se=E[te+1],ie=E[(x+te-1)%y],ve=E[(x+te+z)%y];a[te*2]=re,a[te*2+1]=Be(re.x,re.y,ie.x,ie.y,se.x,se.y,ve.x,ve.y,new go.Point)}return a[a.length]=a[0],Ke(E),a}go.Shape.defineFigureGenerator("Pentagon",function(ue,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 te=1;te<5;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ke(x),y.spot1=new go.Spot(.2,.22),y.spot2=new go.Spot(.8,.9),y}),go.Shape.defineFigureGenerator("Hexagon",function(ue,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 te=1;te<6;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ke(x),y.spot1=new go.Spot(.07,.25),y.spot2=new go.Spot(.93,.75),y}),go.Shape.defineFigureGenerator("Heptagon",function(ue,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 te=1;te<7;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ke(x),y.spot1=new go.Spot(.2,.15),y.spot2=new go.Spot(.8,.85),y}),go.Shape.defineFigureGenerator("Octagon",function(ue,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 te=1;te<8;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ke(x),y.spot1=new go.Spot(.15,.15),y.spot2=new go.Spot(.85,.85),y}),go.Shape.defineFigureGenerator("Nonagon",function(ue,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 te=1;te<9;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ke(x),y.spot1=new go.Spot(.17,.13),y.spot2=new go.Spot(.82,.82),y}),go.Shape.defineFigureGenerator("Decagon",function(ue,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 te=1;te<10;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ke(x),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("Dodecagon",function(ue,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 te=1;te<12;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ke(x),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("FivePointedStar",function(ue,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 te=1;te<10;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ke(x),y.spot1=new go.Spot(.266,.333),y.spot2=new go.Spot(.733,.733),y}),go.Shape.defineFigureGenerator("SixPointedStar",function(ue,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 te=1;te<12;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ke(x),y.spot1=new go.Spot(.17,.25),y.spot2=new go.Spot(.83,.75),y}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ue,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 te=1;te<14;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ke(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("EightPointedStar",function(ue,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 te=1;te<16;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ke(x),y.spot1=new go.Spot(.25,.25),y.spot2=new go.Spot(.75,.75),y}),go.Shape.defineFigureGenerator("NinePointedStar",function(ue,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 te=1;te<18;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ke(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("TenPointedStar",function(ue,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 te=1;te<20;te++)z.add(new go.PathSegment(go.PathSegment.Line,x[te].x*E,x[te].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*E,x[0].y*a).close()),Ke(x),y.spot1=new go.Spot(.281,.261),y.spot2=new go.Spot(.723,.748),y}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ue,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 te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Ke(x),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ue,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 te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Ke(x),y.spot1=new go.Spot(.17,.222),y.spot2=new go.Spot(.833,.777),y}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ue,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 te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Ke(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ue,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 te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Ke(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ue,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 te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Ke(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ue,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 te=1;te<x.length;te+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*E,x[te+2].y*a,x[te].x*E,x[te].y*a,x[te+1].x*E,x[te+1].y*a));return z.segments.last().close(),Ke(x),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.setFigureParameter("FramedRectangle",0,new Vt("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Vt("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ue,E,a){var x=ue?ue.parameter1:NaN,y=ue?ue.parameter2:NaN;isNaN(x)&&(x=8),isNaN(y)&&(y=8);var z=new go.Geometry,te=new go.PathFigure(0,0,!0);return z.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x<E/2&&y<a/2&&(te.add(new go.PathSegment(go.PathSegment.Move,x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,a-y)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,a-y)),te.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 Vt("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ue,E,a){var x=ue?ue.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var y=E/2,z=new go.Geometry,te=new go.PathFigure(E,E/2,!0);z.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,0,360,y,y,y,y).close());var re=Math.max(y-x,0);return re>0&&(te.add(new go.PathSegment(go.PathSegment.Move,E/2+re,E/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,re,re).close())),z.spot1=_e,z.spot2=ke,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ue,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(ue,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 Vt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Vt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ue,E,a){var x=ue?ue.parameter1:NaN,y=ue?ue.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var z=x%360;z<0&&(z+=360);var te=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,te,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ue,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 Vt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ue,E,a){var x=ue?ue.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,E)/2,z=E/2,te=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,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,te+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,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,te-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Vt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ue,E,a){var x=ue?ue.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,E)/2,z=E/2,te=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,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te-y)).add(new go.PathSegment(go.PathSegment.Line,E,te+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,te+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,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te+y)).add(new go.PathSegment(go.PathSegment.Line,0,te-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,te-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new Vt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ue,E,a){var x=ue?ue.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,te=a/2,re=Math.atan2(a,E),se=x-Math.min(Math.cos(re)*x/2,z),ie=x-Math.min(Math.sin(re)*x/2,te),y=new go.Geometry,ve=new go.PathFigure(se,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-se,0)),ve.add(new go.PathSegment(go.PathSegment.Line,E,ie)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*E,te)),ve.add(new go.PathSegment(go.PathSegment.Line,E,a-ie)),ve.add(new go.PathSegment(go.PathSegment.Line,E-se,a)),ve.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),ve.add(new go.PathSegment(go.PathSegment.Line,se,a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,a-ie)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ie).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new Vt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ue,E,a){var x=ue?ue.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 Vt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ue,E,a){var x=ue?ue.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 Vt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ue,E,a){var x=ue?ue.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(ue,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(ue,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(ue,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(ue,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(ue,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,te=.3,re=0,se=z*le;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+re)*a,(.5-z+te)*E,(.5+se+re)*a,(.5-se+te)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+re)*a,(.5+se+te)*E,(.5+z+re)*a,(.5+z+te)*E,(.5+se+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+re)*a,(1-.5+z+te)*E,(.5-se+re)*a,(.5+se+te)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-se+te)*E,(.5-z+re)*a,(.5-z+te+.05)*E,(.5-se+re-.02)*a)),z=.2,te=0,re=-.3,se=z*le,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+re)*a,(.5+se+te)*E,(.5+z+re)*a,(.5+z+te)*E,(.5+se+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+re)*a,(1-.5+z+te)*E,(.5-se+re)*a,(.5+se+te)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+re)*a,(.5-se+te)*E,(.5-z+re)*a,(.5-z+te)*E,(.5-se+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-se+te)*E,(.5+z+re)*a,(.5-z+te)*E,(.5+se+re)*a,(.5-se+te)*E,(.5+z+re)*a)),z=.2,te=-.3,re=0,se=z*le,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+re)*a,(1-.5+z+te-.05)*E,(.5-se+re-.02)*a,(.5+se+te)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+re)*a,(.5-se+te)*E,(.5-z+re)*a,(.5-z+te)*E,(.5-se+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+re)*a,(.5-z+te)*E,(.5+se+re)*a,(.5-se+te)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+se+te)*E,(.5+z+re)*a,(.5+z+te)*E,(.5+se+re)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ue,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,te=.5,re=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(te+z)*E,re*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*te,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((te+z)*E,re*a,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*te,a*re,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ue,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(ue,E,a){var x=new go.Geometry,y=le*.5,z=.5,te=.5,re=.5,se=new go.PathFigure(te*E,(re-z)*a);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a)),z=.4,y=le*.4;var ie=b(),ve=b(),ye=b(),Ge=b();Ne(te,re-z,te+y,re-z,te+z,re-y,te+z,re,.42,ie,ve,ye,Ge,Ge);var Ae=b(),ze=b(),he=b();Ne(te,re-z,te+y,re-z,te+z,re-y,te+z,re,.58,Ge,Ge,he,Ae,ze);var Qe=b(),We=b(),ft=b();Ne(te,re+z,te-y,re+z,te-z,re+y,te-z,re,.42,Qe,We,ft,Ge,Ge);var Le=b(),ot=b(),dt=b();return Ne(te,re+z,te-y,re+z,te-z,re+y,te-z,re,.58,Ge,Ge,dt,Le,ot),se.add(new go.PathSegment(go.PathSegment.Move,dt.x*E,dt.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,Le.x*E,Le.y*a,ot.x*E,ot.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-y)*a,(te-y)*E,(re-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ye.x*E,ye.y*a,ie.x*E,ie.y*a,ve.x*E,ve.y*a)),se.add(new go.PathSegment(go.PathSegment.Line,dt.x*E,dt.y*a).close()),se.add(new go.PathSegment(go.PathSegment.Move,ft.x*E,ft.y*a)),se.add(new go.PathSegment(go.PathSegment.Line,he.x*E,he.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,Ae.x*E,Ae.y*a,ze.x*E,ze.y*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+y)*a,(te+y)*E,(re+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,ft.x*E,ft.y*a,Qe.x*E,Qe.y*a,We.x*E,We.y*a).close()),de(ie),de(ve),de(ye),de(Ge),de(Ae),de(ze),de(he),de(Qe),de(We),de(ft),de(Le),de(ot),de(dt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ue,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 Vt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ue,E,a){var x=ue?ue.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(ue,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(ue,E,a){var x=new go.Geometry,y=le*.4,z=.4,te=.5,re=.5,se=b(),ie=b(),ve=b(),ye=b(),Ge=new go.PathFigure((te-z)*E,re*a,!1);x.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-y)*a,(te-y)*E,(re-z)*a)),Ne(te,re-z,te+y,re-z,te+z,re-y,te+z,re,.44,ve,ye,ie,se,se),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,ve.x*E,ve.y*a,ye.x*E,ye.y*a));var Ae=ee(ie.x,ie.y);Ne(te,re-z,te+y,re-z,te+z,re-y,te+z,re,.56,se,se,ie,ve,ye);var ze=ee(ie.x,ie.y);Ge.add(new go.PathSegment(go.PathSegment.Line,(Ae.x*.1+.95*.9)*E,Ae.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*E,Ae.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,E,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,(ze.x*.1+.9)*E,.15*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,(ze.x*.1+.9)*E,(ze.y*.1+.05*.9)*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,ze.x*E,ze.y*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,ve.x*E,ve.y*a,ye.x*E,ye.y*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+y)*a,(te+y)*E,(re+z)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-y)*E,(re+z)*a,(te-z)*E,(re+y)*a)),z=.35,y=le*.35;var he=new go.PathFigure(te*E,(re-z)*a,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a));var Qe=new go.PathFigure((te-z)*E,re*a,!1);return x.add(Qe),de(se),de(ie),de(ve),de(ye),de(Ae),de(ze),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(ue,E,a){var x=new go.Geometry,y=.375,z=0,te=-.125,re=y*le,se=new go.PathFigure((.525+z)*E,(.5+y+te)*a,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+te)*a,(.5+re+z)*E,(.5+y+te)*a,(.5+y+z)*E,(.5+re+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+te)*a,(1-.5+y+z)*E,(.5-re+te)*a,(.5+re+z)*E,(.5-y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-re+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-re+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+y+te)*a,(.5-y+z)*E,(.5+re+te)*a,(.5-re+z)*E,(.5+y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),se.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),se.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),se.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),se.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),se.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,z=0,te=-.125,re=y*le;var se=new go.PathFigure((1-.5+y+z)*E,(.5+te)*a,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+y+te)*a,(.5+y+z)*E,(.5+re+te)*a,(.5+re+z)*E,(.5+y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-re+z)*E,(.5+y+te)*a,(.5-y+z)*E,(.5+re+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-re+te)*a,(.5-re+z)*E,(.5-y+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+te)*a,(.5+re+z)*E,(.5-y+te)*a,(1-.5+y+z)*E,(.5-re+te)*a));var se=new go.PathFigure((.525+z)*E,(.5+y+te)*a,!1);return x.add(se),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(ue,E,a){var x=ue?ue.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(ue,E,a){var x=ue?ue.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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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 Vt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Vt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ue,E,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=.3);var y=ue?ue.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-x)*E,te=(.5-y/2)*a,re=(.5+y/2)*a,se=new go.Geometry,ie=new go.PathFigure(0,te,!0);se.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,te)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,re)),ie.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),se.spot1=new go.Spot(0,te/a);var ve=Be(0,re/a,1,re/a,z/E,1,1,.5,b());return se.spot2=new go.Spot(ve.x,ve.y),de(ve),se}),go.Shape.setFigureParameter("Arrow2",0,new Vt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Vt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ue,E,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var y=ue?ue.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var z=E-x,te=(a-y)/2,re=te+y,se=new go.Geometry,ie=new go.PathFigure(0,te,!0);se.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,te)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,re)),ie.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),se.spot1=new go.Spot(0,te/a);var ve=Be(0,re/a,1,re/a,z/E,1,1,.5,b());return se.spot2=new go.Spot(ve.x,ve.y),de(ve),se}),go.Shape.defineFigureGenerator("Chevron",function(ue,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(ue,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 Vt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ue,E,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.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 se=Be(0,.5,.3,0,0,y/a,.1,y/a,b());return te.spot1=new go.Spot(se.x,se.y),se=Be(.7,1,1,.5,0,z/a,1,z/a,se),te.spot2=new go.Spot(se.x,se.y),de(se),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Vt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Vt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ue,E,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=40);var y=ue?ue.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,te=z+x,re=(a-y)/2,se=re+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,te=z+x,re=0,se=a):(z=0,te=a,re=0,se=a));var ie=new go.Geometry,ve=new go.PathFigure(E,.5*a,!0);ie.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,se)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,se)),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 ye=Be(0,.5,.3,re/a,0,z/a,1,z/a,b());return ie.spot1=new go.Spot(ye.x,ye.y),ye=Be(.7,se/a,1,.5,0,te/a,1,te/a,ye),ie.spot2=new go.Spot(ye.x,ye.y),de(ye),ie}),go.Shape.setFigureParameter("IBeamArrow",0,new Vt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ue,E,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.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()),te.spot1=new go.Spot(0,y/a);var se=Be(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),de(se),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new Vt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Vt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ue,E,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=40);var y=ue?ue.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,te=z+x,re=(a-y)/2,se=re+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,te=z+x,re=0,se=a):(z=0,te=a,re=0,se=a));var ie=new go.Geometry,ve=new go.PathFigure(E,.5*a,!0);ie.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,se)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,se)),ve.add(new go.PathSegment(go.PathSegment.Line,0,se)),ve.add(new go.PathSegment(go.PathSegment.Line,0,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close()),ie.spot1=new go.Spot(0,z/a);var ye=Be(.7,se/a,1,.5,0,te/a,1,te/a,b());return ie.spot2=new go.Spot(ye.x,ye.y),de(ye),ie}),go.Shape.setFigureParameter("Pointer",0,new Vt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ue,E,a){var x=ue?ue.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 te=Be(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(te.x,te.y),de(te),y}),go.Shape.setFigureParameter("RoundedPointer",0,new Vt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ue,E,a){var x=ue?ue.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 te=Be(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(te.x,te.y),de(te),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new Vt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ue,E,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.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()),te.spot1=new go.Spot(.2,.3);var se=Be(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),de(se),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Vt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ue,E,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=50);var y=(a-x)/2,z=y+x;x>a&&(y=0,z=a);var te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.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()),te.spot1=new go.Spot(.2,y/a);var se=Be(.7,1,1,.5,0,z/a,1,z/a,b());return te.spot2=new go.Spot(se.x,se.y),de(se),te}),go.Shape.setFigureParameter("SquareArrow",0,new Vt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ue,E,a){var x=ue?ue.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(ue,E,a){var x=new go.Geometry,y=le*.5,z=le*.1,te=new go.PathFigure(0,.9*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),te.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(ue,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(ue,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(ue,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(ue,E,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=le*.5,te=new go.PathFigure(0,x,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,le*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,le*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-le*x,(.5+z)*E,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-le*x)),te.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(ue,E,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=le*.5,te=new go.PathFigure(0,a-x,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,le*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,le*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-le*x,(.5+z)*E,a)),te.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(ue,E,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=le*.5,te=new go.PathFigure(x,0,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-le*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-le*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,le*x,a,0,(.5+z)*a)),te.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(ue,E,a){var x=ue?ue.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=le*.5,te=new go.PathFigure(E-x,0,!0);y.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-le*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-le*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,le*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,le*x,0)),te.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(ue,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(ue,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(ue,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(ue,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(ue,E,a){var x=new go.Geometry,y=.2,z=.1,te=le*y,re=le*z,se=.5,ie=.1,ve=new go.PathFigure(se*E,(ie+z)*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se-y)*E,ie*a,(se-te)*E,(ie+z)*a,(se-y)*E,(ie+re)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-z)*a,(se-y)*E,(ie-re)*a,(se-te)*E,(ie-z)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se+y)*E,ie*a,(se+te)*E,(ie-z)*a,(se+y)*E,(ie-re)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+z)*a,(se+y)*E,(ie+re)*a,(se+te)*E,(ie+z)*a));var ye=.05,Ge=le*ye;se=.05,ie=.25;var Ae=new go.PathFigure(.5*E,.2*a,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),se=.95,ie=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,(se+ye)*E,ie*a,(se+Ge)*E,(ie-ye)*a,(se+ye)*E,(ie-Ge)*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)),ye=.025,Ge=le*ye,se=.825,ie=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-ye)*a,(se+ye)*E,(ie-Ge)*a,(se+Ge)*E,(ie-ye)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(se-ye)*E,ie*a,(se-Ge)*E,(ie-ye)*a,(se-ye)*E,(ie-Ge)*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)),ye=.05,Ge=le*ye,se=.5,ie=.7,Ae.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-ye)*a,(se+ye)*E,(ie-Ge)*a,(se+Ge)*E,(ie-ye)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(se-ye)*E,ie*a,(se-Ge)*E,(ie-ye)*a,(se-ye)*E,(ie-Ge)*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)),ye=.025,Ge=le*ye,se=.175,ie=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-ye)*a,(se+ye)*E,(ie-Ge)*a,(se+Ge)*E,(ie-ye)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(se-ye)*E,ie*a,(se-Ge)*E,(ie-ye)*a,(se-ye)*E,(ie-Ge)*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)),ye=.05,Ge=le*ye,se=.05,ie=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-ye)*a,(se-ye)*E,(ie-Ge)*a,(se-Ge)*E,(ie-ye)*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 Vt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ue,E,a){var x=ue?ue.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(ue,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(ue,E,a){var x=new go.Geometry,y=ue?ue.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 te=new go.PathFigure(0,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("Database",function(ue,E,a){var x=new go.Geometry,y=le*.5,z=le*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),te.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(ue,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(ue,E,a){var x=new go.Geometry,y=le*.5,z=le*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-y)*E,0)),te.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(ue,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(ue,E,a){var x=new go.Geometry,y=ue?ue.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var z=le*.2,te=new go.PathFigure(0,.2*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),te.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(ue,E,a){var x=new go.Geometry,y=ue?ue.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 te=new go.PathFigure(0,y*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("Document",function(ue,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(ue,E,a){var x=new go.Geometry,y=ue?ue.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 te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ue,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(ue,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(ue,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 te=new go.PathFigure(E,.5*a,!1);return x.add(te),te.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(ue,E,a){var x=new go.Geometry,y=ue?ue.parameter1:NaN,z=ue?ue.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.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(ue,E,a){var x=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=le*.5,re=.5,se=new go.PathFigure(E,re*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,re*E,a,E,(re+te)*a,(re+te)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,re*a,(re-te)*E,a,0,(re+te)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,re*E,0,0,(re-te)*a,(re-te)*E,0)),se.add(new go.PathSegment(go.PathSegment.Bezier,E,re*a,(re+te)*E,0,E,(re-te)*a));var ie=new go.PathFigure((z+y)*E,(z+y)*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),ie.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(z+y)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ue,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(ue,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(ue,E,a){var x=new go.Geometry,y=le*.5,z=.5,te=new go.PathFigure(.5*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+y)*a,(z+y)*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.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(ue,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(ue,E,a){var x=new go.Geometry,y=ue?ue.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(ue,E,a){var x=new go.Geometry,y=ue?ue.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(ue,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(ue,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(ue,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(ue,E,a){var x=new go.Geometry,y=ue?ue.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.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(ue,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(ue,E,a){var x=new go.Geometry,y=le*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.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(ue,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(ue,E,a){var x=new go.Geometry,y=ue?ue.parameter1:NaN,z=ue?ue.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ue,E,a){var x=new go.Geometry,y=ue?ue.parameter1:NaN,z=ue?ue.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ue,E,a){var x=new go.Geometry,y=ue?ue.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 te=new go.PathFigure((1-y)*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(ue,E,a){var x=new go.Geometry,y=ue?ue.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 te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ue,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(ue,E,a){var x=new go.Geometry,y=ue?ue.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 te=new go.PathFigure(y*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),te.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(ue,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(ue,E,a){var x=new go.Geometry,y=ue?ue.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(ue,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(ue,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(ue,E,a){var x=new go.Geometry,y=le*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),te.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 se=new go.PathFigure(.8*E,.75*a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),se.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),se.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(ue,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(ue,E,a){var x=new go.Geometry,y=le*.1,z=.1,te=.9,re=.5,se=new go.PathFigure(.8*E,.5*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,0,a)),se.add(new go.PathSegment(go.PathSegment.Line,0,0)),se.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var ie=new go.PathFigure((te+z)*E,re*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+y)*a,(te+y)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-y)*E,(re+z)*a,(te-z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-y)*a,(te-y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+y)*E,(re-z)*a,(te+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(ue,E,a){var x=new go.Geometry,y=le*.5,z=le*.4,te=le*.1,re=.1,se=.9,ie=.5,ve=new go.PathFigure(.8*E,.5*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var ye=new go.PathFigure((se+re)*E,ie*a,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+re)*a,(se+re)*E,(ie+te)*a,(se+te)*E,(ie+re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*E,ie*a,(se-te)*E,(ie+re)*a,(se-re)*E,(ie+te)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-re)*a,(se-re)*E,(ie-te)*a,(se-te)*E,(ie-re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*E,ie*a,(se+te)*E,(ie-re)*a,(se+re)*E,(ie-te)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ue,E,a){var x=new go.Geometry,y=.5,z=le*y,te=0,re=.5,se=new go.PathFigure(.8*E,.5*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(re+z)*a,(te+z)*E,(re+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=le*.1,te=.9,re=.5;var ie=new go.PathFigure((te-y)*E,re*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-y)*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,re*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+y)*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,re*a,(te-z)*E,(re+y)*a,(te-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(ue,E,a){var x=new go.Geometry,y=.5,z=le*y,te=0,re=.5,se=new go.PathFigure(0,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z+z)*E,(re-y)*a,.8*E,(re-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(re+z)*a,(te+z+z)*E,(re+y)*a)),se.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(ue,E,a){var x=new go.Geometry,y=.5,z=le*y,te=.2,re=.5,se=new go.PathFigure(.1*E,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(re+z)*a,(te+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=le*.1,te=.9,re=.5;var ve=new go.PathFigure((te-y)*E,re*a,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-y)*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,re*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+y)*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,re*a,(te-z)*E,(re+y)*a,(te-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(ue,E,a){var x=new go.Geometry,y=.5,z=le*y,te=.2,re=.5,se=new go.PathFigure(.1*E,0,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.2*E,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z)*E,(re-y)*a,.9*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(re+z)*a,(te+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ue,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(ue,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(ue,E,a){var x=new go.Geometry,y=le*.1,z=.1,te=.1,re=.5,se=new go.PathFigure((te-y*.5)*E,a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.3,se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.5,se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.7,se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+y)*E,a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-y)*E,a,(te-z)*E,0)),te=.9,se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y*.5)*E,a,(te+z)*E,0,(te+y)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ue,E,a){var x=new go.Geometry,y=le*.5,z=.5,te=.5,re=.5,se=new go.PathFigure((te-z)*E,re*a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-y)*a,(te-y)*E,(re-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+y)*E,(re-z)*a,(te+z)*E,(re-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+y)*a,(te+y)*E,(re+z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-y)*E,(re+z)*a,(te-z)*E,(re+y)*a)),se.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*E,re*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*E,re*a,te*E,(re-z)*a,te*E,(re+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ue,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(ue,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(ue,E,a){var x=new go.Geometry,y=E,z=a;E=E*.38,a=a*.6;var te=le*.8,re=.8,se=0,ie=.5,ve=(y-E)/2,ye=(z-a)/2,Ge=new go.PathFigure(se*E+ve,(ie+re)*a+ye,!0);x.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*E+ve,ie*a+ye,(se-te)*E+ve,(ie+re)*a+ye,(se-re)*E+ve,(ie+te)*a+ye)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,se*E+ve,(ie-re)*a+ye,(se-re)*E+ve,(ie-te)*a+ye,(se-te)*E+ve,(ie-re)*a+ye)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(se-re+te*.5)*E+ve,ie*a+ye,se*E+ve,(ie-re)*a+ye,(se-re+te*.5)*E+ve,(ie-te)*a+ye)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,se*E+ve,(ie+re)*a+ye,(se-re+te*.5)*E+ve,(ie+te)*a+ye,se*E+ve,(ie+re)*a+ye).close()),te=le*.4,re=.4,se=.2,ie=.5;var Ae=new go.PathFigure(se*E+ve,(ie+re)*a+ye,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*E+ve,ie*a+ye,(se-te)*E+ve,(ie+re)*a+ye,(se-re)*E+ve,(ie+te)*a+ye)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,se*E+ve,(ie-re)*a+ye,(se-re)*E+ve,(ie-te)*a+ye,(se-te)*E+ve,(ie-re)*a+ye)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(se-re+te*.5)*E+ve,ie*a+ye,se*E+ve,(ie-re)*a+ye,(se-re+te*.5)*E+ve,(ie-te)*a+ye)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,se*E+ve,(ie+re)*a+ye,(se-re+te*.5)*E+ve,(ie+te)*a+ye,se*E+ve,(ie+re)*a+ye).close()),te=le*.2,re=.2,se=.5,ie=.5;var ze=new go.PathFigure((se-re)*E+ve,ie*a+ye,!0);x.add(ze),ze.add(new go.PathSegment(go.PathSegment.Bezier,se*E+ve,(ie-re)*a+ye,(se-re)*E+ve,(ie-te)*a+ye,(se-te)*E+ve,(ie-re)*a+ye)),ze.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*E+ve,ie*a+ye,(se+te)*E+ve,(ie-re)*a+ye,(se+re)*E+ve,(ie-te)*a+ye)),ze.add(new go.PathSegment(go.PathSegment.Bezier,se*E+ve,(ie+re)*a+ye,(se+re)*E+ve,(ie+te)*a+ye,(se+te)*E+ve,(ie+re)*a+ye)),ze.add(new go.PathSegment(go.PathSegment.Bezier,(se-re)*E+ve,ie*a+ye,(se-te)*E+ve,(ie+re)*a+ye,(se-re)*E+ve,(ie+te)*a+ye)),te=le*.4,re=.4,se=.8,ie=.5;var he=new go.PathFigure(se*E+ve,(ie-re)*a+ye,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*E+ve,ie*a+ye,(se+te)*E+ve,(ie-re)*a+ye,(se+re)*E+ve,(ie-te)*a+ye)),he.add(new go.PathSegment(go.PathSegment.Bezier,se*E+ve,(ie+re)*a+ye,(se+re)*E+ve,(ie+te)*a+ye,(se+te)*E+ve,(ie+re)*a+ye)),he.add(new go.PathSegment(go.PathSegment.Bezier,(se+re-te*.5)*E+ve,ie*a+ye,se*E+ve,(ie+re)*a+ye,(se+re-te*.5)*E+ve,(ie+te)*a+ye)),he.add(new go.PathSegment(go.PathSegment.Bezier,se*E+ve,(ie-re)*a+ye,(se+re-te*.5)*E+ve,(ie-te)*a+ye,se*E+ve,(ie-re)*a+ye).close()),te=le*.8,re=.8,se=1,ie=.5;var Qe=new go.PathFigure(se*E+ve,(ie-re)*a+ye,!0);return x.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(se+re)*E+ve,ie*a+ye,(se+te)*E+ve,(ie-re)*a+ye,(se+re)*E+ve,(ie-te)*a+ye)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,se*E+ve,(ie+re)*a+ye,(se+re)*E+ve,(ie+te)*a+ye,(se+te)*E+ve,(ie+re)*a+ye)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(se+re-te*.5)*E+ve,ie*a+ye,se*E+ve,(ie+re)*a+ye,(se+re-te*.5)*E+ve,(ie+te)*a+ye)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,se*E+ve,(ie-re)*a+ye,(se+re-te*.5)*E+ve,(ie-te)*a+ye,se*E+ve,(ie-re)*a+ye).close()),x}),go.Shape.defineFigureGenerator("Email",function(ue,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(ue,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 te=new go.PathFigure(.6*E,a,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),te.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(ue,E,a){var x=new go.Geometry,y=le*.4,z=.4,te=.5,re=.5,se=b(),ie=b(),ve=b(),ye=b();Ne(te,re-z,te+y,re-z,te+z,re-y,te+z,re,.5,se,se,ie,ve,ye);var Ge=ee(ie.x,ie.y),Ae=new go.PathFigure(ie.x*E,ie.y*a,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,ve.x*E,ve.y*a,ye.x*E,ye.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+y)*a,(te+y)*E,(re+z)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-y)*E,(re+z)*a,(te-z)*E,(re+y)*a)),Ne(te-z,re,te-z,re-y,te-y,re-z,te,re-z,.5,ve,ye,ie,se,se),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,ve.x*E,ve.y*a,ye.x*E,ye.y*a)),y=le*.3,z=.3,Ne(te-z,re,te-z,re-y,te-y,re-z,te,re-z,.5,ve,ye,ie,se,se),Ae.add(new go.PathSegment(go.PathSegment.Line,ie.x*E,ie.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,ye.x*E,ye.y*a,ve.x*E,ve.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),Ne(te,re-z,te+y,re-z,te+z,re-y,te+z,re,.5,se,se,ie,ve,ye),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,ye.x*E,ye.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(se),de(ie),de(ve),de(ye),de(Ge),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ue,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(te,re,se){te.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*E,(.8+se)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*E,(.5+se)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*E,(.5+se)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*E,(.8+se)*a).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ue,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(ue,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(ue,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(ue,E,a){var x=new go.Geometry,y=.5,z=0,te=0,re=y*le,se=.4*Math.SQRT2/2+.5,ie=.5-.5*Math.SQRT2/2,ve=1,ye=.5,Ge=.5,Ae=0,ze=new go.PathFigure(se*E,(1-ie)*a,!1);return x.add(ze),ze.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,ye*a,ve*E,.7*a,ve*E,ye*a)),ze.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+z)*E,(Ae+z)*a,(.5+y+z)*E,(.5-re+z)*a,(.5+re+z)*E,(.5-y+z)*a)),ze.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-re+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-re+te)*a)),ze.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-y+z)*E,(.5+re+te)*a,(.5-re+z)*E,.9*a)),ze.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),ze.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),ze.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ue,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(ue,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(ue,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 te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ue,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(ue,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(ue,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(ue,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 te=.5-.285,re=.5,se=te,ie=Math.PI/4,ve=4*(1-Math.cos(ie))/(3*Math.sin(ie)),ye=ve*.5,Ge=te,Ae=te,ze=ve*Ge,he=ve*Ae;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-Ge)*E,se*a,(re-(ze+Ge)/2)*E,(se+(Ae+he)/2)*a,(re-Ge)*E,(se+he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(se-Ae)*a,(re-Ge)*E,(se-he)*a,(re-ze)*E,(se-Ae)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+Ge)*E,se*a,(re+ze)*E,(se-Ae)*a,(re+Ge)*E,(se-he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(re+Ge)*E,(se+he)*a,(re+(ze+Ge)/2)*E,(se+(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 We=new go.PathFigure(.8*E,a,!1);return x.add(We),We.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ue,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(ue,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(ue,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 te=new go.PathFigure(.1*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ue,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(ue,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 te=new go.PathFigure(.675*E,.575*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),te.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ue,E,a){var x=new go.Geometry,y=.5,z=le*.5,te=new go.PathFigure(E,y*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+z)*a,(y+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-z)*E,a,0,(y+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-z)*a,(y-z)*E,0)),te.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(ue,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(ue,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 te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(ue,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 te=new go.PathFigure(0,.6*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ue,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(ue,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(ue,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(ue,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(ue,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 te=.1,re=le*.1,se=.2,ie=.9,ve=new go.PathFigure((se-te)*E,ie*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-te)*a,(se-te)*E,(ie-re)*a,(se-re)*E,(ie-te)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se+te)*E,ie*a,(se+re)*E,(ie-te)*a,(se+te)*E,(ie-re)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+te)*a,(se+te)*E,(ie+re)*a,(se+re)*E,(ie+te)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(se-te)*E,ie*a,(se-re)*E,(ie+te)*a,(se-te)*E,(ie+re)*a).close()),te=.1,re=le*.1,se=.8,ie=.9;var ye=new go.PathFigure((se-te)*E,ie*a,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-te)*a,(se-te)*E,(ie-re)*a,(se-re)*E,(ie-te)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(se+te)*E,ie*a,(se+re)*E,(ie-te)*a,(se+te)*E,(ie-re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie+te)*a,(se+te)*E,(ie+re)*a,(se+re)*E,(ie+te)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(se-te)*E,ie*a,(se-re)*E,(ie+te)*a,(se-te)*E,(ie+re)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ue,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(ue,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 te=new go.PathFigure(.5*E,.8*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),te.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 se=.1,ie=le*.1,ve=.1,ye=.9,Ge=new go.PathFigure((ve-se)*E,ye*a,!0);x.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(ye-se)*a,(ve-se)*E,(ye-ie)*a,(ve-ie)*E,(ye-se)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*E,ye*a,(ve+ie)*E,(ye-se)*a,(ve+se)*E,(ye-ie)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(ye+se)*a,(ve+se)*E,(ye+ie)*a,(ve+ie)*E,(ye+se)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*E,ye*a,(ve-ie)*E,(ye+se)*a,(ve-se)*E,(ye+ie)*a)),se=.1,ie=le*.1,ve=.4,ye=.9;var Ae=new go.PathFigure((ve-se)*E,ye*a,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(ye-se)*a,(ve-se)*E,(ye-ie)*a,(ve-ie)*E,(ye-se)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*E,ye*a,(ve+ie)*E,(ye-se)*a,(ve+se)*E,(ye-ie)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(ye+se)*a,(ve+se)*E,(ye+ie)*a,(ve+ie)*E,(ye+se)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ve-se)*E,ye*a,(ve-ie)*E,(ye+se)*a,(ve-se)*E,(ye+ie)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ue,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 te=new go.PathFigure(.55*E,.4*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var ve=.05,ye=le*.05,Ge=.175,Ae=.95,re=new go.PathFigure((Ge-ve)*E,Ae*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(Ae-ve)*a,(Ge-ve)*E,(Ae-ye)*a,(Ge-ye)*E,(Ae-ve)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ve)*E,Ae*a,(Ge+ye)*E,(Ae-ve)*a,(Ge+ve)*E,(Ae-ye)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(Ae+ve)*a,(Ge+ve)*E,(Ae+ye)*a,(Ge+ye)*E,(Ae+ve)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ve)*E,Ae*a,(Ge-ye)*E,(Ae+ve)*a,(Ge-ve)*E,(Ae+ye)*a));var ve=.05,ye=le*.05,Ge=.375,Ae=.95,se=new go.PathFigure((Ge-ve)*E,Ae*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(Ae-ve)*a,(Ge-ve)*E,(Ae-ye)*a,(Ge-ye)*E,(Ae-ve)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ve)*E,Ae*a,(Ge+ye)*E,(Ae-ve)*a,(Ge+ve)*E,(Ae-ye)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(Ae+ve)*a,(Ge+ve)*E,(Ae+ye)*a,(Ge+ye)*E,(Ae+ve)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ve)*E,Ae*a,(Ge-ye)*E,(Ae+ve)*a,(Ge-ve)*E,(Ae+ye)*a));var ve=.05,ye=le*.05,Ge=.625,Ae=.95,ie=new go.PathFigure((Ge-ve)*E,Ae*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(Ae-ve)*a,(Ge-ve)*E,(Ae-ye)*a,(Ge-ye)*E,(Ae-ve)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ve)*E,Ae*a,(Ge+ye)*E,(Ae-ve)*a,(Ge+ve)*E,(Ae-ye)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(Ae+ve)*a,(Ge+ve)*E,(Ae+ye)*a,(Ge+ye)*E,(Ae+ve)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ve)*E,Ae*a,(Ge-ye)*E,(Ae+ve)*a,(Ge-ve)*E,(Ae+ye)*a));var ve=.05,ye=le*.05,Ge=.825,Ae=.95,ze=new go.PathFigure((Ge-ve)*E,Ae*a,!0);x.add(ze),ze.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(Ae-ve)*a,(Ge-ve)*E,(Ae-ye)*a,(Ge-ye)*E,(Ae-ve)*a)),ze.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ve)*E,Ae*a,(Ge+ye)*E,(Ae-ve)*a,(Ge+ve)*E,(Ae-ye)*a)),ze.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(Ae+ve)*a,(Ge+ve)*E,(Ae+ye)*a,(Ge+ye)*E,(Ae+ve)*a)),ze.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ve)*E,Ae*a,(Ge-ye)*E,(Ae+ve)*a,(Ge-ve)*E,(Ae+ye)*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(ue,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 te=new go.PathFigure(.15*E,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var re=.05,se=le*.05,ie=.35,ve=.775,ye=new go.PathFigure((ie-re)*E,ve*a,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ve-re)*a,(ie-re)*E,(ve-se)*a,(ie-se)*E,(ve-re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E,ve*a,(ie+se)*E,(ve-re)*a,(ie+re)*E,(ve-se)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ve+re)*a,(ie+re)*E,(ve+se)*a,(ie+se)*E,(ve+re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E,ve*a,(ie-se)*E,(ve+re)*a,(ie-re)*E,(ve+se)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,E,a){var x=new go.Geometry,y=.3,z=le*.3,te=.5,re=.7,se=new go.PathFigure((te-y)*E,re*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-y)*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,re*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+y)*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,re*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a));var ie=new go.PathFigure(0,.7*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ue,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(ue,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(ue,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(ue,E,a){var x=new go.Geometry,y=.5,z=le*.5,te=.5,re=.5,se=new go.PathFigure((te-y)*E,re*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-y)*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,re*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+y)*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,re*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a));var ie=new go.PathFigure(.15*E,.5*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(ue,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(ue,E,a){var x=new go.Geometry,y=.5,z=le*.5,te=.5,re=.5,se=new go.PathFigure((te-y)*E,re*a,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-y)*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,re*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+y)*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,re*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a).close()),y=.05,z=le*.05,te=.5,re=.8;var ie=new go.PathFigure((te-y)*E,re*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-y)*a,(te-y)*E,(re-z)*a,(te-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*E,re*a,(te+z)*E,(re-y)*a,(te+y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+y)*a,(te+y)*E,(re+z)*a,(te+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*E,re*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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(ue,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 te=new go.PathFigure(.402*E,.85*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),te.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 se=new go.PathFigure(.5*E,.1*a,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),se.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ue,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(ue,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 te=new go.PathFigure(E*.408,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),te.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 se=new go.PathFigure(E*.816,a,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),se.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),se.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ue,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 te=new go.PathFigure(E*.055,.13*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),te.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 se=new go.PathFigure(E*1,0,!0);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),se.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),se.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ue,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(ue,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(ue,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 te=new go.PathFigure(E*.11,a*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),te.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 se=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),se.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),se.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ue,E,a){var x=new go.Geometry,y=8,z=y*le,te=new go.PathFigure(y,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.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 se=new go.PathFigure(E*.83,a*1,!1);x.add(se),se.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),se.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),se.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var ie=new go.PathFigure(E*.78,a*.05,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ue,E,a){var x=ue?ue.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,te=new go.Geometry,re=new go.PathFigure(x,0,!0);return te.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?(te.spot1=new go.Spot(0,0,y,y),te.spot2=new go.Spot(1,.8,-y,-y)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(ue,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(ue,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(ue,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 te=new go.PathFigure(E*.28,a*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),te.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ue,E,a){var x=new go.Geometry,y=15,z=y*le,te=new go.PathFigure(E*.62,a*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),te.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),te.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(ue,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 te=new go.PathFigure(E*.4,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),te.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ue,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(ue,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 te=new go.PathFigure(E*.5,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ue,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(ue,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(ue,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 Vt={},jt="5.0",ee={},b=null,de=!1,Be=!1,Ne=null,_e=!1,ke=null,le=null,it=0;it<arguments.length;it++){var qe=arguments[it];if(qe!==null)switch(typeof qe){case"number":jt=qe.toFixed(1);break;case"string":qe.match(new RegExp("^[0-9]\\.[0-9]+$"))?jt=qe:Ne=qe;break;case"object":typeof qe.is3D!="undefined"?b=qe:ee=qe;break;case"boolean":de=qe,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 Ke="",je="",Je=!1,Ye=null,ue=null,E=null,a=!1,x=null,y=null,z=null,te=null,re=null;ee.height!==void 0&&(ee.height=Math.round(ee.height)),ee.width!==void 0&&(ee.width=Math.round(ee.width));var se=function(Ve){return parseFloat(Ve)>4?parseFloat(Ve):5};Vt.setHTML5Codebase=function(Ve,at){le=Ve,Ft(Ve,at)},Vt.setJavaCodebase=Vt.setJavaCodebaseVersion=Vt.isCompiledInstalled=Vt.setPreCompiledScriptPath=Vt.setPreCompiledResourcePath=function(){},Vt.setHTML5CodebaseVersion=function(Ve,at){var rn=parseFloat(Ve);if(rn!==NaN&&rn<5){console.log("The GeoGebra HTML5 codebase version "+rn+" is deprecated. Using version latest instead.");return}ke=Ve,sn(Ve,at)},Vt.getHTML5CodebaseVersion=function(){return ue},Vt.getParameters=function(){return ee},Vt.setFontsCSSURL=function(Ve){te=Ve},Vt.setGiacJSURL=function(Ve){},Vt.setJNLPFile=function(Ve){Ke=Ve},Vt.setJNLPBaseDir=function(Ve){},Vt.inject=function(){function Ve(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var at="auto",rn=ee.id,Kn,Gt=!1,wn=0;wn<arguments.length;wn++){var He=arguments[wn];typeof He=="string"?(He=He.toLowerCase(),He.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?at=He:rn=arguments[wn]):typeof He=="boolean"?Gt=He:He instanceof HTMLElement&&(Kn=He)}ct();function ct(){if(!_e){setTimeout(ct,200);return}at=gt(at);var Lt=Kn||document.getElementById(rn);if(!Lt){console.log("possibly bug on ajax loading? ");return}if(Vt.removeExistingApplet(Lt,!1),ee.width===void 0&&Lt.clientWidth&&(ee.width=Lt.clientWidth),ee.height===void 0&&Lt.clientHeight&&(ee.height=Lt.clientHeight),!(ee.width&&ee.height)&&at==="html5"&&(delete ee.width,delete ee.height),Ye=at,at==="screenshot")We(Lt,ee);else{var mt=!1;ee.hasOwnProperty("playButton")&&ee.playButton||ee.hasOwnProperty("clickToLoad")&&ee.clickToLoad?mt=!0:ee.hasOwnProperty("playButtonAutoDecide")&&ee.playButtonAutoDecide&&(mt=(!ie()||Ve())&&ve()),mt?(Ye="screenshot",Le(Lt,ee,Gt,at)):Qe(Lt,ee,Gt)}}};function ie(){try{return window.self!==window.top}catch(Ve){return!0}}function ve(){return ee.hasOwnProperty("screenshotGenerator")&&ee.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Vt.getViews=function(){return b},Vt.isJavaInstalled=function(){return!1};var ye=function(Ve){var at=function(wn){var He=JSON.parse(wn),ct=function(Nt){return Nt.type=="G"||Nt.type=="E"},Lt=He.elements?He.elements.filter(ct)[0]:He;if(!Lt||!Lt.url){rn();return}ee.fileName=Lt.url,Ge(Lt.settings||{}),b.is3D=!0;var mt="https://www.geogebra.org/images/";Vt.setPreviewImage(x||Lt.previewUrl,mt+"GeoGebra_loading.png",mt+"applet_play.png"),Ve()},rn=function(){ee.onError&&ee.onError(),on("Error: Fetching material (id "+ee.material_id+") failed.",ee)},Kn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Gt="/materials/"+ee.material_id+"?scope=basic";Ae("https://"+Kn+"/api/proxy.php?path="+encodeURIComponent(Gt),at,rn)};function Ge(Ve){var at=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(rn){Ve[rn]=!!Ve[rn]}),at.forEach(function(rn){ee[rn]===void 0&&Ve[rn]!==void 0&&(ee[rn]=Ve[rn])}),ee.showToolBarHelp===void 0&&(ee.showToolBarHelp=ee.showToolBar)}function Ae(Ve,at,rn){var Kn=new XMLHttpRequest;Kn.open("GET",Ve),Kn.onload=function(){at(Kn.responseText)},Kn.onerror=rn,Kn.send()}Vt.isHTML5Installed=function(){return!0},Vt.getLoadedAppletType=function(){return Ye},Vt.setPreviewImage=function(Ve,at,rn){x=Ve,y=at,z=rn},Vt.removeExistingApplet=function(Ve,at){var rn;typeof Ve=="string"&&(Ve=document.getElementById(Ve)),Ye=null;var Kn=null;for(rn=0;rn<Ve.childNodes.length;rn++){var Gt=Ve.childNodes[rn],wn=Gt.className;wn==="applet_screenshot"?at?(Gt.style.display="block",Ye="screenshot"):Gt.style.display="none":wn!=="applet_scaler prerender"&&(Ve.removeChild(Gt),Kn=wn&&wn.indexOf("appletParameters")!=-1?Gt.id:null,rn--)}var He=ee.id!==void 0?ee.id:Kn,ct=window[He];ct&&typeof ct.getBase64=="function"&&(ct.remove(),window[He]=null)},Vt.refreshHitPoints=function(){if(se(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Ve=Vt.getAppletObject();return Ve&&typeof Ve.recalculateEnvironments=="function"?(Ve.recalculateEnvironments(),!0):!1},Vt.startAnimation=function(){var Ve=Vt.getAppletObject();return Ve&&typeof Ve.startAnimation=="function"?(Ve.startAnimation(),!0):!1},Vt.stopAnimation=function(){var Ve=Vt.getAppletObject();return Ve&&typeof Ve.stopAnimation=="function"?(Ve.stopAnimation(),!0):!1},Vt.getAppletObject=function(){var Ve=ee.id!==void 0?ee.id:"ggbApplet";return window[Ve]},Vt.resize=function(){};var ze=function(Ve,at,rn){var Kn=document.createElement("param");Kn.setAttribute("name",at),Kn.setAttribute("value",rn),Ve.appendChild(Kn)},he=function(Ve){return Ve&&Ve!=="false"},Qe=function(Ve,at,rn){se(ue)<=4.2&&(rn=!0);var Kn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ue||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Kn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Gt=document.createElement("div");Gt.classList.add("appletParameters","notranslate");var wn=at.width,He=at.height;if(at.disableAutoScale=at.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():at.disableAutoScale,at.width!==void 0)if(se(ue)<=4.4)he(at.showToolBar)&&(at.height-=7),he(at.showAlgebraInput)&&(at.height-=37),at.width<605&&he(at.showToolBar)&&(at.width=605,wn=605);else{var ct=100;(he(at.showToolBar)||he(at.showMenuBar))&&(at.hasOwnProperty("customToolBar")&&(at.customToolbar=at.customToolBar),ct=he(at.showMenuBar)?245:155),wn<ct&&(at.width=ct,wn=ct)}Gt.style.border="none",Gt.style.display="inline-block";for(var Lt in at)at.hasOwnProperty(Lt)&&Lt!=="appletOnLoad"&&Gt.setAttribute("data-param-"+Lt,at[Lt]);te&&Gt.setAttribute("data-param-fontscssurl",te),Vt.resize=function(){GGBAppletUtils.responsiveResize(Ve,at)},window.addEventListener("resize",function(Me){Vt.resize()});var mt=typeof at.appletOnLoad=="function"?at.appletOnLoad:function(){};if(!rn&&at.width!==void 0){at.hasOwnProperty("showSplash")||Gt.setAttribute("data-param-showSplash","false");var Nt=Ve.querySelector(".applet_scaler.prerender"),st=Nt!==null;if(st)var nt=Nt.querySelector(".ggb_preview");else{var nt=dt(wn,He,at.borderColor,!1);Nt=document.createElement("div"),Nt.className="applet_scaler",Nt.style.position="relative",Nt.style.display="block",Nt.style.width=wn+"px",Nt.style.height=He+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Nt,"66%"),se(ue)>=5?(at.appletOnLoad=function(Me){var St=Ve.querySelector(".ggb_preview");St&&St.parentNode.removeChild(St),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Nt),window.GGBT_wsf_view&&$(window).trigger("resize"),mt(Me)},st||Nt.appendChild(nt)):Gt.appendChild(nt),Nt.appendChild(Gt),st||Ve.appendChild(Nt),setTimeout(function(){Vt.resize()},1)}else{var De=document.createElement("div");De.className="applet_scaler",De.style.position="relative",De.style.display="block",De.appendChild(Gt),Ve.appendChild(De),at.appletOnLoad=function(Me){Vt.resize(),mt(Me)}}function fe(Me,St){St&&typeof St.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Me,St.appletOnLoad):renderGGBElement(Me),on("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",St)}function Xe(Me,St){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Me,params:St}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Bn){fe(Bn.article,Bn.params)}),html5AppletsToProcess=null)},se(ue)<5&&(Me.className+=" geogebraweb")):fe(Me,St)}if(Kn){scriptLoadStarted=!0;for(var Rt=0;Rt<Gt.childNodes.length;Rt++){var Oe=Gt.childNodes[Rt].tagName;Oe==="TABLE"&&(Gt.removeChild(Gt.childNodes[Rt]),Rt--)}if(ggbHTML5LoadedScript!==null){var Ie=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ie!=null&&Ie.parentNode.removeChild(Ie)}var vt=document.createElement("script"),et=function(){Xe(Gt,at)};vt.src=je+E,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=ue,ggbHTML5LoadedScript=vt.src,on("GeoGebra HTML5 codebase loaded: '"+je+"'.",at),!le&&(!ke||ke=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),et()):je.requirejs?__webpack_require__.e(7963).then(function(){var Me=[__webpack_require__(87963)];et.apply(null,Me)}.bind(this)).catch(__webpack_require__.oe):(vt.onload=et,Ve.appendChild(vt))}else Xe(Gt,at);at.height=He,at.width=wn},We=function(Ve,at,rn){var Kn=dt(at.width,at.height,at.borderColor,rn),Gt=document.createElement("div");Gt.style.position="relative",Gt.style.display="block",Gt.style.width=at.width+"px",Gt.style.height=at.height+"px",Gt.className="applet_screenshot applet_scaler"+(rn?" applet_screenshot_play":""),Gt.appendChild(Kn);var wn=GGBAppletUtils.getScale(at,Ve,rn);rn?(Ve.appendChild(ot()),window.GGBT_wsf_view||(Ve.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Gt,"66%"),Ve.appendChild(Gt),wn!==1&&!isNaN(wn)&&(GGBAppletUtils.scaleElement(Gt,wn),Gt.style.width=at.width+"px",Gt.style.height=at.height+"px",Gt.parentNode.style.width=at.width*wn+"px",Gt.parentNode.style.height=at.height*wn+"px"),Vt.resize=function(){ft(Ve,Kn,Gt,rn)},window.addEventListener("resize",function(He){Vt.resize()}),Vt.resize()};function ft(Ve,at,rn,Kn){if(Ve.contains(at)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ve.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ve)}var Gt=GGBAppletUtils.getScale(ee,Ve,Kn);rn.parentNode!==null&&(!isNaN(Gt)&&Gt!==1?(GGBAppletUtils.scaleElement(rn,Gt),rn.parentNode.style.width=ee.width*Gt+"px",rn.parentNode.style.height=ee.height*Gt+"px"):(GGBAppletUtils.scaleElement(rn,1),rn.parentNode.style.width=ee.width+"px",rn.parentNode.style.height=ee.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Ve),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Vt.onExitFullscreen=function(Ve,at){at.appendChild(Ve)};var Le=function(Ve,at,rn,Kn){We(Ve,at,!0);for(var Gt=function(){var ct=[];for(He=0;He<Ve.childNodes.length;He++)ct.push(Ve.childNodes[He]);if(window.GGBT_wsf_view){var Lt=window.GGBT_wsf_view.renderFullScreen(Ve,at.id),mt=document.getElementById("fullscreencontainer"),Nt=jQuery(Ve).find(".fullscreencontent");Nt.length>0?(Lt.remove(),Nt.attr("id","fullscreencontent").show(),jQuery(mt).append(Nt),window.dispatchEvent(new Event("resize"))):Qe(Lt,at,!1),window.GGBT_wsf_view.launchFullScreen(mt)}else Ye=Kn,Qe(Ve,at,!1);if(!window.GGBT_wsf_view)for(He=0;He<ct.length;He++)Ve.removeChild(ct[He])},wn=Ve.getElementsByClassName("ggb_preview_play"),He=0;He<wn.length;He++)wn[He].addEventListener("click",Gt,!1),wn[He].addEventListener("ontouchstart",Gt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ve),ve()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},ot=function(){var Ve=document.createElement("div");if(Ve.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var at='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',rn=document.createElement("style");rn.styleSheet?rn.styleSheet.cssText=at:rn.appendChild(document.createTextNode(at)),document.getElementsByTagName("head")[0].appendChild(rn)}return Ve},dt=function(Ve,at,rn,Kn){var Gt=document.createElement("div");Gt.className="ggb_preview",Gt.style.position="absolute",Gt.style.zIndex="90",Gt.style.width=Ve-2+"px",Gt.style.height=at-2+"px",Gt.style.top="0px",Gt.style.left="0px",Gt.style.overflow="hidden",Gt.style.backgroundColor="white";var wn="lightgrey";rn!==void 0&&(rn==="none"?wn="transparent":wn=rn),Gt.style.border="1px solid "+wn;var He=document.createElement("img");if(He.style.position="relative",He.style.zIndex="1000",He.style.top="-1px",He.style.left="-1px",x!==null&&He.setAttribute("src",x),He.style.opacity=.7,y!==null){var ct,Lt,mt;if(!Kn){ct=document.createElement("img"),ct.style.position="absolute",ct.style.zIndex="1001",ct.style.opacity=1,He.style.opacity=.3,Lt=360,Lt>Ve/4*3&&(Lt=Ve/4*3),mt=Lt/5.8,ct.setAttribute("src",y),ct.setAttribute("width",Lt),ct.setAttribute("height",mt);var Nt=(Ve-Lt)/2,st=(at-mt)/2;ct.style.left=Nt+"px",ct.style.top=st+"px",Gt.appendChild(ct)}}return Gt.appendChild(He),Gt},gt=function(Ve){return Ve=Ve.toLowerCase(),Ve==="html5"||Ve==="screenshot"?Ve:"html5"},Dt=["web","webSimple","web3d","tablet","tablet3d","phone"],sn=function(Ve,at){if(ue=Ve,at){Ft(ue,!0);return}var rn=!de;if(rn){var Kn=se(ue);!isNaN(Kn)&&Kn<4.4&&(rn=!1)}var Gt,wn;window.location.protocol.substr(0,4)==="http"?Gt=window.location.protocol:Gt="http:";var He=ue.indexOf("//");He>0?wn=ue:He===0?wn=Gt+ue:wn="https://www.geogebra.org/apps/5.2.814.0/";for(var ct in Dt)if(ue.slice(Dt[ct].length*-1)===Dt[ct]||ue.slice((Dt[ct].length+1)*-1)===Dt[ct]+"/"){Ft(wn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&rn&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!he(ee.showToolBar)&&!he(ee.showMenuBar)&&!he(ee.showAlgebraInput)&&!he(ee.enableRightClick)&&(!ee.appName||ee.appName=="classic")?wn+="webSimple/":wn+="web3d/",Ft(wn,!1)},Ft=function(Ve,at){if(Ve.requirejs){je=Ve;return}Ve.slice(-1)!=="/"&&(Ve+="/"),je=Ve,at===null&&(at=Ve.indexOf("http")===-1),Je=at,E="web.nocache.js",a=!1;var rn=je.split("/");rn.length>1&&(!at&&rn[rn.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):Dt.indexOf(rn[rn.length-2])>=0&&(E=rn[rn.length-2]+".nocache.js")),rn=Ve.split("/"),ue=rn[rn.length-3],ue.substr(0,4)==="test"?ue=ue.substr(4,1)+"."+ue.substr(5,1):(ue.substr(0,3)==="war"||ue.substr(0,4)==="beta")&&(ue="5.0");var Kn=parseFloat(ue);Kn!==NaN&&Kn<5&&Ve.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Kn+" is deprecated. Using version latest instead."),sn("5.0",at))},on=function(Ve,at){window.console&&window.console.log&&(!at||typeof at.showLogging=="undefined"||at.showLogging&&at.showLogging!=="false")&&console.log(Ve)};ee.material_id!==void 0?ye(cn):cn();function cn(){var Ve=jt;ke!==null?Ve=ke:parseFloat(Ve)<5&&(Ve="5.0"),sn(Ve,!1),le!==null&&Ft(le,Je),_e=!0}return Vt},GGBAppletUtils=function(){"use strict";function Vt(){return window.GGBT_wsf_edit!==void 0}function jt(_e,ke){ke!=1?(_e.style.transformOrigin="0% 0% 0px",_e.style.webkitTransformOrigin="0% 0% 0px",_e.style.transform="scale("+ke+","+ke+")",_e.style.webkitTransform="scale("+ke+","+ke+")",_e.style.maxWidth="initial",_e.querySelector(".ggb_preview")!==null&&(_e.querySelector(".ggb_preview").style.maxWidth="initial"),_e.querySelectorAll(".ggb_preview img")[0]!==void 0&&(_e.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),_e.querySelectorAll(".ggb_preview img")[1]!==void 0&&(_e.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(_e.style.transform="none",_e.style.webkitTransform="none")}function ee(_e,ke,le,it,qe,Ke){var je=null;if(Ke!=null&&Ke!="")for(var Je=_e.parentNode;Je!=null;)if((" "+Je.className+" ").indexOf(" "+Ke+" ")>-1){je=Je;break}else Je=Je.parentNode;var Ye=0,ue=0,E=0,a=0,x=0,y=0,z=0;if(je)Ye=je.offsetWidth,ue=Math.max(it?je.offsetWidth:0,je.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ye=Math.min(window.innerWidth,document.documentElement.clientWidth),ue=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Ye):(Ye=window.innerWidth,ue=window.innerHeight,E=window.innerWidth),_e){var te=_e.getBoundingClientRect();te.left>0&&te.left<=Ye&&(qe===void 0||!qe)&&(document.dir==="rtl"?(x=Ye-te.width-te.left,y=E<=480?10:30):(y=te.left,x=E<=480?10:30),a=y+x)}if(_e&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=_e.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return _e&&((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)&&(ue-=z)),{width:Ye,height:ue}}function b(_e,ke,le,it,qe){if(_e.isScreenshoGenerator)return 1;var Ke=it!==void 0&&it,je=_e.noScaleMargin!=null&&_e.noScaleMargin,Je=function(re){return re&&re!=="false"},Ye=Je(_e.autoHeight),ue=ee(ke,_e.width,le,Ye,Ke&&window.GGBT_wsf_view||je,qe),E=parseInt(ue.width),a=_e.width,x=_e.height;if(a===void 0){var y=ke.querySelector(".appletParameters");y&&(a=y.offsetWidth,x=y.offsetHeight)}var z=E/a,te=Ke?1:ue.height/x;return le!==void 0&&!le&&(z=Math.min(1,z),te=Math.min(1,te)),Math.min(z,te)}function de(_e,ke,le){var it=1,qe,Ke=!1;if(_e.hasOwnProperty("allowUpscale")&&(Ke=_e.allowUpscale),_e.hasOwnProperty("scale")&&(it=parseFloat(_e.scale),(isNaN(it)||it===null||it===0)&&(it=1),it>1&&(Ke=!0)),ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ke=!0),!(_e.hasOwnProperty("disableAutoScale")&&_e.disableAutoScale))qe=b(_e,ke,Ke,le,_e.scaleContainerClass);else return it;return Ke&&(!_e.hasOwnProperty("scale")||it===1)?qe:Math.min(it,qe)}function Be(_e){var ke=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),it=_e.getBoundingClientRect(),qe=(ke-it.width)/2,Ke=(le-it.height)/2;Ke<0&&(Ke=0),_e.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(qe<40?_e.style.left="40px":_e.style.left=qe+"px",_e.style.top=Ke+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ke<40?_e.style.top="40px":_e.style.top=Ke+"px",_e.style.left=qe+"px")}function Ne(_e,ke){var le=_e.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(_e)}if(le.parentElement&&/fullscreen/.test(le.parentElement.className))return;var it=de(ke,_e);Vt()&&le.setAttribute("data-param-scale",it);for(var qe=null,Ke=0;Ke<_e.childNodes.length;Ke++)if(_e.childNodes[Ke].className!==void 0&&_e.childNodes[Ke].className.match(/^applet_scaler/)){qe=_e.childNodes[Ke];break}if(qe!==null&&qe.querySelector(".noscale")!==null)return;var je=ke.id!==void 0?ke.id:"ggbApplet",Je=window[je];(Je==null||!Je.recalculateEnvironments)&&qe!==null&&!qe.className.match(/fullscreen/)&&(qe.parentNode.style.transform="",!isNaN(it)&&it!==1?(qe.parentNode.style.width=ke.width*it+"px",qe.parentNode.style.height=ke.height*it+"px",jt(qe,it)):(jt(qe,1),qe.parentNode.style.width=ke.width+"px",qe.parentNode.style.height=ke.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Be(_e),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(le).parents(".content-added-content"))}}return{responsiveResize:Ne,isFlexibleWorksheetEditor:Vt,positionCenter:Be,getScale:de,scaleElement:jt}}();__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 Vt=n.location.search;return Vt.indexOf(J)!=-1||Vt.indexOf(K)!=-1}function q(Vt,jt){}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(Vt){var jt=s[L].bindings;s[L].bindings=function(){for(var ee=jt?jt():{},b=Vt[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 Vt=o.createElement(Q);if(Vt.id=L,Vt.style.cssText=R+S,Vt.tabIndex=-1,o.body.appendChild(Vt),t=Vt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var jt=document.compatMode==U?V:W;t.write(jt+X),t.close()}}}function w(Vt){function jt(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),_e&&clearInterval(_e)}}o.addEventListener&&o.addEventListener(Z,Ne,!1);var _e=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)}jt(function(){ee(Vt)})}webModule.__startLoadingFragment=function(Vt){return C(Vt)},webModule.__installRunAsyncCode=function(Vt){var jt=u(),ee=jt.body,b=jt.createElement(_);b.language=ab,b.text=Vt,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(Vt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Vt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Vt){var jt=c[Vt];return jt==null?null:jt},r=d,webModule.__errFn=e}function B(){function Vt(_e){var ke=_e.lastIndexOf(rb);ke==-1&&(ke=_e.length);var le=_e.indexOf(sb);le==-1&&(le=_e.length);var it=_e.lastIndexOf(tb,Math.min(le,ke));return it>=O?_e.substring(O,it+P):W}function jt(_e){if(!_e.match(/^\w+:\/\//)){var ke=o.createElement(ub);ke.src=_e+vb,_e=Vt(ke.src)}return _e}function ee(){var _e=__gwt_getMetaProperty(wb);return _e!=null?_e:W}function b(){for(var _e=o.getElementsByTagName(_),ke=O;ke<_e.length;++ke)if(_e[ke].src.indexOf(xb)!=-1)return Vt(_e[ke].src);return W}function de(){var _e=o.getElementsByTagName(yb);return _e.length>O?_e[_e.length-P].href:W}function Be(){var _e=o.location;return _e.href==_e.protocol+zb+_e.host+_e.pathname+_e.search+_e.hash}var Ne=ee();return Ne==W&&(Ne=b()),Ne==W&&(Ne=de()),Ne==W&&Be()&&(Ne=Vt(o.location.href)),Ne=jt(Ne),Ne}function C(Vt){return Vt.match(/^\//)||Vt.match(/^[a-zA-Z]+:\/\//)?Vt:webModule.__moduleBase+Vt}function D(){var Vt=[],jt=O,ee=[],b=[];function de(_e){var ke=b[_e](),le=ee[_e];if(ke in le)return ke;var it=[];for(var qe in le)it[le[qe]]=qe;throw r&&r(_e,it,ke),null}if(__gwt_isKnownPropertyValue=function(_e,ke){return ke in ee[_e]},webModule.__getPropMap=function(){var _e={};for(var ke in ee)ee.hasOwnProperty(ke)&&(_e[ke]=de(ke));return _e},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&&(jt=parseInt(Be.substring(Ne+P),$),Be=Be.substring(O,Ne))}catch(_e){}return webModule.__softPermutationId=jt,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(Vt,jt,ee){"use strict";ee.d(jt,{Ax:function(){return Ne},Ds:function(){return _e},KI:function(){return le},SI:function(){return Be},f1:function(){return de}});var b=ee(346);function de(it){let qe=!0;if(it.length>0){for(let Ke=0;Ke<it.length;Ke++)if(it[Ke].compile_success==0||!it[Ke].compile_success){qe=!1;break}}else qe=!1;return qe}function Be(it,qe=""){let Ke=[];for(let je=0;je<it.length;je++){let Je=it[je],Ye=qe?`${qe}/${Je.name}`:`${Je.name}`;Ke.push({title:Je.name,type:Je.type,isLeaf:Je.type!=="tree",key:Ye})}return Ke}function Ne(it,qe,Ke){for(let je=0;je<it.length;je++){let Je=it[je];if(Je.key===qe){Je.children=Ke;break}Je.children&&Ne(Je.children,qe,Ke)}return it}function _e(it,qe,Ke){let je;return function(){let Je=this,Ye=arguments,ue=function(){je=null,Ke||it.apply(Je,Ye)},E=Ke&&!je;clearTimeout(je),je=setTimeout(ue,qe),E&&it.apply(Je,Ye)}}const ke=!0,le=b.Z.API_SERVER},99909:function(Vt,jt,ee){"use strict";ee.d(jt,{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"},_e=Object.defineProperty,ke=Object.defineProperties,le=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,je=(y,z,te)=>z in y?_e(y,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):y[z]=te,Je=(y,z)=>{for(var te in z||(z={}))qe.call(z,te)&&je(y,te,z[te]);if(it)for(var te of it(z))Ke.call(z,te)&&je(y,te,z[te]);return y},Ye=(y,z)=>ke(y,le(z)),ue=(y,z)=>{var te={};for(var re in y)qe.call(y,re)&&z.indexOf(re)<0&&(te[re]=y[re]);if(y!=null&&it)for(var re of it(y))z.indexOf(re)<0&&Ke.call(y,re)&&(te[re]=y[re]);return te},E=(y,z,te)=>new Promise((re,se)=>{var ie=Ge=>{try{ye(te.next(Ge))}catch(Ae){se(Ae)}},ve=Ge=>{try{ye(te.throw(Ge))}catch(Ae){se(Ae)}},ye=Ge=>Ge.done?re(Ge.value):Promise.resolve(Ge.value).then(ie,ve);ye((te=te.apply(y,z)).next())}),x=y=>{var z=y,{value:te,onChange:re,defaultValue:se,disabled:ie}=z,ve=ue(z,["value","onChange","defaultValue","disabled"]);const[ye,Ge]=(0,b.useState)([]),[Ae,ze]=(0,b.useState)("1");(0,b.useEffect)(()=>{he()},[]);const he=()=>E(void 0,null,function*(){const ft=yield(0,Be.NZ)({});if(ft!=null&&ft.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(ft.data||[])}];Ge(Le),ze("2")}}),Qe=ft=>{function Le(ot){const dt=ot.children,gt=Array.isArray(dt)&&dt.length>0,Dt=ot==null?void 0:ot.group_id;return{title:b.createElement("div",{title:ot==null?void 0:ot.name,className:Ne.name},ot==null?void 0:ot.name),value:Dt,key:Dt,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:gt?dt==null?void 0:dt.map(sn=>Le(sn)):[]}}return ft==null?void 0:ft.map(ot=>Le(ot))},We=se?{defaultExpandedKeys:[0],defaultSelectedKeys:[0]}:{selectedKeys:te,defaultExpandedKeys:te};return b.createElement("div",{className:Ne.customTree},b.createElement(de.default,Je(Ye(Je({key:Ae},We),{showIcon:!0,treeData:ye,onSelect:re,disabled:ie}),ve)))}},50337:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Ne}});var b=ee(59301),de={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Ne=({number:_e,active:ke,className:le})=>b.createElement("div",{className:`${de.digitalLabel} ${ke?de.active:""} ${le}`},_e)},38518:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return y}});var b=ee(59301),de=ee(17574),Be={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Ne=ee(73631),_e=ee(5623),ke=ee(46722),le=Object.defineProperty,it=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,Ye=(z,te,re)=>te in z?le(z,te,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[te]=re,ue=(z,te)=>{for(var re in te||(te={}))je.call(te,re)&&Ye(z,re,te[re]);if(Ke)for(var re of Ke(te))Je.call(te,re)&&Ye(z,re,te[re]);return z},E=(z,te)=>it(z,qe(te)),a=(z,te,re)=>new Promise((se,ie)=>{var ve=Ae=>{try{Ge(re.next(Ae))}catch(ze){ie(ze)}},ye=Ae=>{try{Ge(re.throw(Ae))}catch(ze){ie(ze)}},Ge=Ae=>Ae.done?se(Ae.value):Promise.resolve(Ae.value).then(ve,ye);Ge((re=re.apply(z,te)).next())}),y=({value:z,onChange:te,scrollId:re})=>{const[se,ie]=(0,b.useState)([]);(0,b.useEffect)(()=>{ve()},[]);const ve=()=>a(void 0,null,function*(){const Qe=yield(0,ke.NZ)({});if(Qe!=null&&Qe.data){const We=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:b.createElement("img",{src:Ne,className:Be.folderIcon}),isLeaf:!1,children:ye(Qe.data||[])}];ie(We)}}),ye=Qe=>Qe.map(We=>({title:We.name,key:We.group_id,icon:b.createElement("img",{src:Ne,className:Be.folderIcon}),isLeaf:We.children.length===0,children:ye(We.children)})),Ge=(Qe,We,ft)=>Qe.map(Le=>Le.key===We?ue(ue({},Le),ft):Le.children?E(ue({},Le),{children:Ge(Le.children,We,ft)}):Le),Ae=(Qe,We,ft)=>Qe.map(Le=>{if(Le.key===We)return E(ue({},Le),{icon:ft?b.createElement("img",{src:_e,className:Be.folderIcon}):b.createElement("img",{src:Ne,className:Be.folderIcon})});if(Le.children)return E(ue({},Le),{children:Ae(Le.children,We,ft)})}),ze=(Qe,We)=>{ie(ft=>Ae(ft,We.node.key,We.expanded))},he=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return se.length>0&&b.createElement("div",{id:re||""},b.createElement(de.default,ue({showLine:{showLeafIcon:!1},showIcon:!0,treeData:se,className:Be.folderWrapper,onSelect:te,onExpand:ze},he)))}},94361:function(Vt,jt,ee){"use strict";ee.d(jt,{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:it})=>{const qe=Ne.createElement("div",{className:de.wrap,onClick:Ke=>{Ke.preventDefault(),Ke.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:qe},Ne.createElement("span",{className:de.text,style:it},"\u9AD8\u6D88\u8017"))}},9507:function(Vt,jt,ee){"use strict";ee.d(jt,{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),_e=ee(71418),ke=ee(2859),le=ee(38986),it=ee(51257),qe=(Je,Ye,ue)=>new Promise((E,a)=>{var x=te=>{try{z(ue.next(te))}catch(re){a(re)}},y=te=>{try{z(ue.throw(te))}catch(re){a(re)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,y);z((ue=ue.apply(Je,Ye)).next())}),je=({data:Je,className:Ye,fullWidth:ue,style:E={},onClose:a,onOk:x,showFullTools:y,noAssociationId:z})=>{const te=(0,b.useRef)(null),re=(0,b.useRef)(null),se=(0,b.useRef)(null),ie=(0,b.useRef)(null),[ve,ye]=(0,b.useState)(!1),[Ge,Ae]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>{se.current||(se.current=document.createElement("style"),document.head.appendChild(se.current)),Je!=null&&Je.visible?(document.body.setAttribute("data-custom","y-hidden"),se.current.innerHTML=" html { overflow-y: hidden; }",Je!=null&&Je.src&&ze()):(document.body.removeAttribute("data-custom"),se.current&&(document.head.removeChild(se.current),se.current=null))},[Je==null?void 0:Je.visible]);const ze=()=>qe(void 0,null,function*(){ye(!0),Ae("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Le=yield(0,it.ZJ)(Je==null?void 0:Je.src);te.current.src="",te.current.src=Le,te.current.onload=function(){ft()},ye(!1),Ae("")}),he=()=>{document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",a()},Qe=Le=>qe(void 0,null,function*(){ye(!0),Ae("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ot=yield(0,le.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Je.title,file:Le.dataUrl}});ot!=null&&ot.id&&!z?(yield(0,le.ZP)(`/api/attachments/${Je.id}/add_subitem.json`,{method:"post",body:{subitem_id:ot==null?void 0:ot.id,settings:JSON.stringify(Le.state)}})).status===0&&x():ot!=null&&ot.id&&x(ot),document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",ye(!1),Ae("")}),We=()=>{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(dt=>{const gt=document.querySelector(dt.name);gt&&gt.setAttribute("title",dt.title)})},ft=()=>{re.current=new ke.hP(te.current),re.current.targetRoot=ie.current,re.current.addEventListener("render",Qe),re.current.addEventListener("beforeclose",he),y&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),Je!=null&&Je.snapshotData&&re.current.restoreState(Je.snapshotData),setTimeout(()=>{window.scrollTo(0,0),We()},300)};return b.createElement(b.Fragment,null,(Je==null?void 0:Je.visible)&&b.createElement(_e.Z,{spinning:ve,tip:Ge,style:{position:"absolute"}},b.createElement("div",{ref:ie,className:Ne()(de.imageDimensions,Ye,ue?de.fullWidth:""),style:E},b.createElement("img",{className:de.img,ref:te}))))}},50043:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return nt},$:function(){return st}});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),_e=ee(78241),ke=ee(8591),le=ee(43418),it=ee(5871),qe=ee(95237),Ke=ee(24905),je=ee(38854),Je=ee(54580),Ye=ee(3113),ue=ee(93948),E=ee(19842),a=ee(92832),x=ee(5112),y=ee(6848),z=ee(43604),te=ee(92427),re=ee(346),se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMSMSrHCKXHCpQhYhCNB5AYqRQGq1AiKgEEAiokAJFFIoipcVE5EYFyn23IGCJgoTDQimWSJSzCIKIcglUEIGu2bdv3+77vo+XfPl2Z2Zn5z8zuzsjSPDJ0tZV2ftfGog0BG0Q1AbuRABCgJDBvxorWqDE5xkZh+4porNGjRXNyKvlMuCbf2OXDPRIWYHnnQJKqaSQOimFos3s67HmG1NCupzxWDcgD2Qjf0P1qT/fqGAcGh4Yb4x1ZZSsCySy3oAV4LnOCByi9Pl7CQ00HPvIDb0cz8sUqSUFLqgQkJRjPCavzEFUZoaecz2oNjYAjXGJgEQi5Bio1kYiZYDEOEt5z4+ecZ4D2I2kGePl0eWlkUJkVxp/+yvkpOa5IDOtxxIAiE2nuEg5RhjZ2EiFhgYpF6ZfTNq662KzI+TpgOGJPJFaMjwEJCc06YZgtY5AENLMA7HpCcVTYfd0TR/yi+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{et(Xe.next(Me))}catch(St){Oe(St)}},vt=Me=>{try{et(Xe.throw(Me))}catch(St){Oe(St)}},et=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(Ie,vt);et((Xe=Xe.apply(De,fe)).next())}),gt=b.memo(({tagName:De="div",value:fe="",className:Xe,style:Rt={},onBlur:Oe,id:Ie})=>{const vt=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(!vt.current)return;ot(void 0,null,function*(){const St=vt.current;St.innerHTML="";const Bn=fe==null?void 0:fe.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const nn of Bn)if(nn.startsWith("$$")&&nn.endsWith("$$")||nn.startsWith("`$$")&&nn.endsWith("$$`")){const fn=nn.startsWith("`$$")?nn.slice(3,-3):nn.slice(2,-2),ln=document.createElement("span");ln.setAttribute("contentEditable","false"),ln.setAttribute("title",nn),ln.className="edu_latex",St.appendChild(ln),Le().render(fn,ln,{throwOnError:!1})}else{const fn=nn==null?void 0:nn.replace(/<[^>]*>/g,ln=>ln.startsWith("<img")?ln:ln.replace(/</g,"&lt;"));St.insertAdjacentHTML("beforeend",fn)}})},[Ie]);const et=()=>{var Me,St;if(Oe&&vt.current){const nn=vt.current.cloneNode(!0),fn=nn.querySelectorAll("span.edu_latex");for(let ln of fn){const Cn=ln.getAttribute("title"),Ze=document.createTextNode(Cn||""),yt=ln;(St=(Me=yt.parentNode)==null?void 0:Me.replaceChild)==null||St.call(Me,Ze,yt)}Oe(nn.innerHTML)}};return b.createElement(b.Fragment,null,b.createElement(De,{ref:vt,contentEditable:!0,className:Xe,style:Rt,onBlur:et}))}),Dt=ee(49535),sn=Object.defineProperty,Ft=Object.defineProperties,on=Object.getOwnPropertyDescriptors,cn=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,rn=(De,fe,Xe)=>fe in De?sn(De,fe,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):De[fe]=Xe,Kn=(De,fe)=>{for(var Xe in fe||(fe={}))Ve.call(fe,Xe)&&rn(De,Xe,fe[Xe]);if(cn)for(var Xe of cn(fe))at.call(fe,Xe)&&rn(De,Xe,fe[Xe]);return De},Gt=(De,fe)=>Ft(De,on(fe)),wn=(De,fe,Xe)=>new Promise((Rt,Oe)=>{var Ie=Me=>{try{et(Xe.next(Me))}catch(St){Oe(St)}},vt=Me=>{try{et(Xe.throw(Me))}catch(St){Oe(St)}},et=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(Ie,vt);et((Xe=Xe.apply(De,fe)).next())});const He=De=>{De.preventDefault();let Xe=(De.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,Xe)},ct=De=>{De.key==="Enter"&&De.preventDefault()},Lt=({children:De,style:fe})=>b.createElement("div",{className:de.leftBox,style:fe,onPaste:He},De),mt=({children:De,style:fe,className:Xe})=>b.createElement("div",{className:Ne()(de.rightBox,Xe),style:fe,onPaste:He},De),Nt=({className:De,style:fe={},width:Xe=1200,onCancel:Rt=()=>{},onSuccess:Oe=()=>{},gather:Ie={},mode:vt=1,stickyTop:et=0,subDisciplineId:Me=[],hideWordFeatures:St,dataSource:Bn=[],customLeftHeadNode:nn,customRightHeadNode:fn,customLeftContent:ln,hideRecognition:Cn=!1,onExchange:Ze,isSingleSelection:yt=!1,underpinBackgroundStyle:Zt={},headExtraNode:Bt,isRefreshItemBank:Mt=!1,okText:dn="\u786E\u5B9A\u5BFC\u5165"})=>{var gn;const[Dn,Jn]=(0,b.useState)(1),[ha,Ra]=(0,b.useState)(0),[_a,gr]=(0,b.useState)(""),[ar,pa]=(0,b.useState)(!1),[Br,qt]=(0,b.useState)([]),[An,oa]=(0,b.useState)([]),[Da,ut]=(0,b.useState)(!1),[bn,Ln]=(0,b.useState)(!1),[zn,pn]=(0,b.useState)(!1),[ia,Sa]=(0,b.useState)(!1),[It,kt]=(0,b.useState)([]),[bt,Qn]=(0,b.useState)(1),[Yn,Gn]=(0,b.useState)(!1),[ir,Ba]=(0,b.useState)(!1),[Xn,Ua]=(0,b.useState)(!0),[wa,Nn]=(0,b.useState)(0),[mr,Nr]=(0,b.useState)(1),[Vr,xr]=(0,b.useState)(""),[$e,Pn]=(0,b.useState)([]),[Jt,In]=(0,b.useState)(0),[Wn,la]=(0,b.useState)(0),[Ct,xt]=(0,b.useState)(0),[an,tn]=(0,b.useState)(0),[Kt,xa]=(0,b.useState)(0),[Ea]=_e.default.useForm(),[Qa]=_e.default.useForm(),za=(0,b.useRef)(null),$n=(0,b.useRef)(null),na=(0,b.useRef)(),ba=["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"],Pa=["C","C++","Java","Python","JavaScript","Ruby"];(0,b.useEffect)(()=>{Bn!=null&&Bn.length&&Pl(Bn)},[Bn]),(0,b.useEffect)(()=>{Dn===2&&za.current.focus()},[Dn]),(0,b.useEffect)(()=>{zn&&Tr()},[zn]);const vr=()=>{if(Dn===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)})})},Tr=()=>wn(void 0,null,function*(){const we=yield(0,Ge.ZP)("/api/disciplines.json",{method:"get",params:{source:vt===1?"new_question":"subject"}});kt(we.disciplines||[])}),Ya=we=>{const hn=[],Rn=(ya,un)=>{ya.length>=2&&hn.push(ya.join(""));for(let Za=un;Za<we.length;Za++)ya.push(we[Za]),Rn(ya,Za+1),ya.pop()};return Rn([],0),hn},lr=we=>(we=we||"",we=String(we),we=we.replace(/\s+/g,""),we),hr=we=>(we=we||"",we=String(we),we=we.replace(/<div>/g,""),we=we.replace(/<br>/g,`
`),we=we.replace(/<\/div>/g,`
`),we=ri(we),we),Po=we=>we.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),ri=we=>we.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"),xi=we=>{var hn;const Rn=we.clipboardData;if(Rn){const ya=Rn.types.toString(),un=Rn.items;if(ya==="Files"||Rn.types.indexOf("Files")>-1){we.preventDefault();try{let Za=un[1];((hn=un[0])==null?void 0:hn.kind)==="file"&&(Za=un[0]);const Na=Za.getAsFile();(0,We.I)(Na,Hn=>{var qn;if(Hn.id){if(((qn=Na==null?void 0:Na.type)==null?void 0:qn.indexOf("image"))>-1){const pr=`<img src='${re.Z.API_SERVER}${Hn.url}'>`;document.execCommand("insertText",!1,pr)}}else(Hn==null?void 0:Hn.status)===401&&(document.location.href="/user/login")})}catch(Za){ke.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function ho(we,hn){return wn(this,null,function*(){if(typeof we=="string")return yield hn(we);if(typeof we!="object"||we===null)return we;if(Array.isArray(we))return yield Promise.all(we.map(un=>wn(this,null,function*(){return yield ho(un,hn)})));const Rn={};for(const ya in we)if(Object.prototype.hasOwnProperty.call(we,ya)){const un=we[ya];typeof un=="string"?Rn[ya]=yield hn(un):typeof un=="object"?Rn[ya]=yield ho(un,hn):Rn[ya]=un}return Rn})}const bo=()=>wn(void 0,null,function*(){var we;pa(!0),gr("\u5904\u7406\u4E2D"),yield new Promise(ya=>setTimeout(ya,1e3));let hn=(we=$n.current)==null?void 0:we.querySelectorAll('[data-text="edit"]'),Rn="";try{hn.forEach(function(ya){var un,Za,Na,Hn;const qn=ya.cloneNode(!0),pr=qn.querySelectorAll("span.edu_latex");for(let Ha of pr){const tr=Ha.getAttribute("title"),Mr=document.createTextNode(tr),Co=Ha;(Za=(un=Co.parentNode)==null?void 0:un.replaceChild)==null||Za.call(un,Mr,Co)}const Wa=qn.querySelectorAll("span[style]");for(let Ha of Wa)if(Ha.style.fontFamily){const tr=Ha.innerHTML,Mr=document.createTextNode(tr),Co=Ha;(Hn=(Na=Co.parentNode)==null?void 0:Na.replaceChild)==null||Hn.call(Na,Mr,Co)}qn==null||qn.childNodes.forEach(function(Ha){Ha.nodeType===Node.ELEMENT_NODE&&Ha.localName!=="h5"&&Ha.localName!=="h4"?Rn+=`<p>${Ha.innerHTML}</p>`:Ha.nodeType===Node.TEXT_NODE&&(Rn+=`<p>${Ha.textContent}</p>`)})}),_r("/api/intelligent_imports/import.json",{html:ri(Rn)})}catch(ya){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",ya)}}),Wo=we=>{let hn=we.filter(Rn=>!!(Rn!=null&&Rn.type));return hn=hn.map(Rn=>{var ya;const un=(ya=Wi.find(Na=>Na.id===(Rn==null?void 0:Rn.type)))==null?void 0:ya.deal,Za=Gt(Kn({},Rn),{id:String(Math.random()).slice(-6),knowledgePoint:lr(Rn==null?void 0:Rn.knowledgePoint)});return un?un(Za):Za}),hn},ko=()=>{if(Dn===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:bo})},No=()=>b.createElement("div",{className:de.row},b.createElement("div",{className:de.leftLayout},b.createElement(Lt,{style:{height:675}},Dn===1&&b.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>Jn(2)},b.createElement("div",{style:{color:"#9096A3",fontSize:12}},"1.\u672C\u529F\u80FD\u652F\u6301\u5BFC\u5165\u7684\u9898\u578B\uFF1A\u5355\u9009\u9898\u3001\u591A\u9009\u9898\u3001\u586B\u7A7A\u9898\u3001\u5224\u65AD\u9898\u3001\u7B80\u7B54\u9898\u3001 \u7EC4\u5408\u9898\u3001\u7F16\u7A0B\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u3002",b.createElement("br",null),"2.\u82E5\u8981\u5BFC\u5165\u7EC4\u5408\u9898\uFF0C\u8BF7\u5728\u9898\u76EE\u524D\u540E\u4F7F\u7528\u4E00\u5BF9\u201C","{{\u201D\u3001\u201C}}","\u201D\u5C06\u5185\u5BB9\u6807\u51FA\uFF1B\u5927\u9898\u9898\u5E72\u548C\u5C0F\u9898\u9898\u5E72\u4E4B\u95F4\u4E0D\u9700\u8981\u7A7A\u884C\uFF1B\u5927\u9898\u548C\u5C0F\u9898\u9898\u5E72\u90FD\u9700\u6807\u6CE8\u9898\u53F7\uFF1B\u5C0F\u9898\u7B54\u6848\u53EF\u8DDF\u5728\u5C0F\u9898\u9898\u5E72\u540E\uFF0C\u5E76\u7528\u7A7A\u683C\u4E0E\u9898\u5E72\u5185\u5BB9\u9694\u5F00\u3002\u8303\u4F8B\u53EF\u53C2\u8003\u63A8\u8350\u683C\u5F0F\u3002",b.createElement("br",null),"3.\u5BFC\u5165\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u516C\u5F0F\u3002\u9898\u76EE\u7ED3\u6784\u652F\u6301\u8BC6\u522B\u7B54\u6848\u3001\u89E3\u6790\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9\u3002",b.createElement("br",null),"4.\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u4FEE\u6539\u9898\u76EE\u5185\u5BB9\u540E\u91CD\u65B0\u8BC6\u522B\uFF0C\u6216\u4E0B\u8F7D\u63A8\u8350\u683C\u5F0F\uFF0C\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u5BFC\u5165\u8BC6\u522B\u3002",b.createElement("br",null)),b.createElement("div",{className:de.imgBox,style:{marginTop:75}},b.createElement("img",{width:56,src:ie}),b.createElement("span",null,"\u7F16\u8F91\u533A"))),Dn===2&&b.createElement("div",{"data-text":"edit",onBlur:()=>{za.current.innerHTML||Jn(1)},ref:za,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")))),Er=(we,hn,Rn,ya)=>{var un;console.log(we,hn,Rn,ya,"onDataChange\u4FEE\u6539\u6570\u503C");const Za=JSON.parse(JSON.stringify(An));ya===void 0?Za[hn][we]=Rn:Za[hn].questions[ya][we]=Rn;const Na=Kn({},Za[hn]),Hn=(un=Wi.find(qn=>qn.id===(Na==null?void 0:Na.type)))==null?void 0:un.deal;Za[hn]=Hn(Na),oa(Za)},to=(we,hn,Rn)=>{var ya;const un=Rn!==void 0,Za=(ya=Wi.find(qn=>qn.id===(we==null?void 0:we.type)))==null?void 0:ya.type,Na=`${hn+1}.${Rn===void 0?"":Rn+1+"."}`,Hn=`${(we==null?void 0:we.type)==="7"?"{{":""}${Na}\u3010${Za}\u3011${(we==null?void 0:we.question)||""}`;return b.createElement(b.Fragment,null,un&&b.createElement("h4",{contentEditable:!0}),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",value:Hn}))},Yo=(we,hn)=>wn(void 0,null,function*(){var Rn;const ya=yield Ze(we,hn),un=(Rn=ya==null?void 0:ya.data)==null?void 0:Rn.content;if(un!=null&&un.length){const Za=Wo(un)[0];Br.splice(hn,1,Za),An.splice(hn,1,Za),qt([...Br]),oa([...An])}}),Jo=(we,hn,Rn)=>{var ya;const un=Rn!==void 0,Za=(ya=Wi.find(Hn=>Hn.id===(we==null?void 0:we.type)))==null?void 0:ya.type,Na=`${hn+1}.${Rn===void 0?"":Rn+1+"."}`;return un?b.createElement("div",{style:{padding:"10px 18px"}},`${Na}\u3010${Za}\u3011`,b.createElement(gt,{id:we==null?void 0:we.id,tagName:"span",className:de.edit,onBlur:Hn=>Er("question",hn,Hn,Rn),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"},`${Na}\u3010${Za}\u3011`),vt!==1&&b.createElement(it.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:Hn=>Er("score",hn,Hn,Rn),value:we==null?void 0:we.score}),b.createElement(qe.Z,{align:"middle",style:{marginLeft:"auto"}},!!Ze&&b.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Yo(we,hn)},b.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),b.createElement(Ke.default,{onChange:Hn=>Er("checked",hn,Hn.target.checked,Rn),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:Hn=>Er("question",hn,Hn,Rn),value:we==null?void 0:we.question}))},Lo=(we,hn,Rn)=>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${hn||""}`,tagName:"p"}),!Rn&&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"}),!Rn&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(we==null?void 0:we.knowledgePoint)||""}`,tagName:"p"})),wr=(we,hn,Rn,ya)=>{const un=ya!==void 0,Za=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Na=un&&!we.last&&!we.errorMsg?{marginBottom:10}:{},Hn=Za.map(qn=>({key:qn,label:qn,onClick:()=>Er("difficulty",Rn,qn,ya)}));return b.createElement("div",{className:de.liWrap,style:Na},["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:qn=>Er("answer",Rn,[qn],ya),value:hn})),!un&&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:Hn}},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:qn=>Er("analyze",Rn,qn,ya),value:we==null?void 0:we.analyze})),!un&&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:qn=>Er("knowledgePoint",Rn,lr(hr(qn)),ya)})))},oi=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))),Gr=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))),To=(we,hn,Rn,ya)=>{let un="flex";return(yt&&wa!==ya||Da&&!(Rn!=null&&Rn.errorMsg))&&(un="none"),b.createElement("div",{className:de.row,style:{display:un}},b.createElement("div",{className:de.leftLayout},ln||b.createElement(Lt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},we))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:Rn!=null&&Rn.errorMsg?de.error:""},hn)))},Wi=[{id:"0",type:"\u5355\u9009\u9898",element:(we,hn,Rn)=>{var ya,un;const Za=Rn!==void 0;let Na=(ya=we==null?void 0:we.answer)==null?void 0:ya[0];const Hn=b.createElement(b.Fragment,null,to(we,hn,Rn),(un=we==null?void 0:we.options)==null?void 0:un.map((Ha,tr)=>b.createElement(gt,{id:we==null?void 0:we.id,key:tr,value:`${ba[tr]}.${Ha}`,tagName:"p"})),Lo(we,Na,Za),oi(we));let qn=Za?we:An[hn];const pr=qn==null?void 0:qn.options,Wa=b.createElement(b.Fragment,null,Jo(qn,hn,Rn),pr==null?void 0:pr.map((Ha,tr)=>{var Mr;return b.createElement("div",{key:tr,className:de.option},b.createElement("aside",{className:((Mr=qn==null?void 0:qn.answer)==null?void 0:Mr[0])===ba[tr]?de.active:"",onClick:()=>Er("answer",hn,[ba[tr]],Rn)},ba[tr]),b.createElement(gt,{id:qn==null?void 0:qn.id,tagName:"div",className:`${de.text}`,onBlur:Co=>{pr[tr]=Co,Er("options",hn,pr,Rn)},value:Ha}))}),wr(qn,"",hn,Rn),Gr(qn));return Za?[Hn,Wa]:To(Hn,Wa,qn,hn)},deal:we=>{var hn,Rn,ya;we.score=we.score===void 0?2:we.score;let un=lr((hn=we==null?void 0:we.answer)==null?void 0:hn[0]).toUpperCase();we.answer=un?[un]:[];let Za=[];if(!(we!=null&&we.options))Za.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=(Rn=we.options)==null?void 0:Rn.slice(0,8);const Na=we.options.map(qn=>qn==null?void 0:qn.trim().replace(/^\s+|\s+$/g,""));new Set(Na).size!==Na.length&&Za.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return un||Za.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),un&&(ba.slice(0,((ya=we==null?void 0:we.options)==null?void 0:ya.length)||8).includes(un)||Za.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")),lr(we==null?void 0:we.question)||Za.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Za.join(`
`),we}},{id:"1",type:"\u591A\u9009\u9898",element:(we,hn,Rn)=>{var ya,un;const Za=Rn!==void 0;let Na=(ya=we==null?void 0:we.answer)==null?void 0:ya[0];const Hn=b.createElement(b.Fragment,null,to(we,hn,Rn),(un=we==null?void 0:we.options)==null?void 0:un.map((Ha,tr)=>b.createElement(gt,{id:we==null?void 0:we.id,key:tr,value:`${ba[tr]}.${Ha}`,tagName:"p"})),Lo(we,Na,Za),oi(we));let qn=Za?we:An[hn];const pr=qn==null?void 0:qn.options,Wa=b.createElement(b.Fragment,null,Jo(qn,hn,Rn),pr==null?void 0:pr.map((Ha,tr)=>{var Mr,Co;return b.createElement("div",{key:tr,className:de.option},b.createElement("aside",{className:(Co=(Mr=qn==null?void 0:qn.answer)==null?void 0:Mr[0])!=null&&Co.includes(ba[tr])?de.active:"",onClick:()=>{var Uo;let Ko=((Uo=qn==null?void 0:qn.answer)==null?void 0:Uo[0])||"";const Ti=ba[tr];Ko.includes(Ti)?Ko=Ko.replace(new RegExp(Ti,"g"),""):Ko+=Ti,Ko=Ko.split("").sort().join(""),Er("answer",hn,[Ko],Rn)}},ba[tr]),b.createElement(gt,{id:qn==null?void 0:qn.id,tagName:"div",className:`${de.text}`,onBlur:Uo=>{pr[tr]=Uo,Er("options",hn,pr,Rn)},value:Ha}))}),wr(qn,"",hn,Rn),Gr(qn));return Za?[Hn,Wa]:To(Hn,Wa,qn,hn)},deal:we=>{var hn,Rn,ya;we.score=we.score===void 0?2:we.score;let un=lr((hn=we==null?void 0:we.answer)==null?void 0:hn[0]).toUpperCase().split("").sort().join("");we.answer=un?[un]:[];let Za=[];if(!(we!=null&&we.options))Za.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=(Rn=we.options)==null?void 0:Rn.slice(0,8);const Na=we.options.map(qn=>qn==null?void 0:qn.trim().replace(/^\s+|\s+$/g,""));new Set(Na).size!==Na.length&&Za.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(un||Za.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),un){const Na=ba.slice(0,((ya=we==null?void 0:we.options)==null?void 0:ya.length)||8);Ya(Na).includes(un)||Za.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 lr(we==null?void 0:we.question)||Za.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Za.join(`
`),we}},{id:"2",type:"\u5224\u65AD\u9898",element:(we,hn,Rn)=>{var ya,un;const Za=Rn!==void 0;let Na=(ya=we==null?void 0:we.answer)==null?void 0:ya[0];const Hn=b.createElement(b.Fragment,null,to(we,hn,Rn),Lo(we,Na,Za),oi(we));let qn=Za?we:An[hn];const pr=["\u6B63\u786E","\u9519\u8BEF"];let Wa=((un=qn==null?void 0:qn.answer)==null?void 0:un[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(Wa)?Wa="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(Wa)&&(Wa="\u9519\u8BEF");const Ha=b.createElement(b.Fragment,null,Jo(qn,hn,Rn),pr==null?void 0:pr.map((tr,Mr)=>b.createElement("div",{key:Mr,className:de.option},b.createElement("aside",{style:{borderRadius:2},className:Wa===tr?de.active:"",onClick:()=>Er("answer",hn,[tr],Rn)},tr==="\u6B63\u786E"?"T":"F"),b.createElement("div",{style:{pointerEvents:"none"},className:`${de.text}`},tr))),wr(qn,"",hn,Rn),Gr(qn));return Za?[Hn,Ha]:To(Hn,Ha,qn,hn)},deal:we=>{var hn;we.score=we.score===void 0?2:we.score;let Rn=lr((hn=we==null?void 0:we.answer)==null?void 0:hn[0]);we.answer=Rn?[Rn]:[];let ya=[];return Rn||ya.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),Rn&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(Rn)&&ya.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"),lr(we==null?void 0:we.question)||ya.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=ya.join(`
`),we}},{id:"3",type:"\u586B\u7A7A\u9898",element:(we,hn,Rn)=>{var ya,un;const Za=Rn!==void 0,Na=b.createElement(b.Fragment,null,to(we,hn,Rn),(ya=we==null?void 0:we.answer)==null?void 0:ya.map((pr,Wa)=>b.createElement(gt,{id:we==null?void 0:we.id,key:Wa,tagName:"p",value:`\u7B54\u6848${Wa+1}\uFF1A${pr.text||""}`})),Lo(we,"",Za),oi(we));let Hn=Za?we:An[hn];const qn=b.createElement(b.Fragment,null,Jo(Hn,hn,Rn),(un=Hn==null?void 0:Hn.answer)==null?void 0:un.map((pr,Wa)=>b.createElement("div",{key:Wa,className:de.option},b.createElement("aside",{className:de.fill},"\u586B\u7A7A\u9879",Wa+1),pr.model===1&&b.createElement(gt,{id:Hn==null?void 0:Hn.id,tagName:"div",onBlur:Ha=>{Hn.answer[Wa].latex=hr(Ha),Er("answer",hn,Hn.answer,Rn)},className:`${de.text}`,value:pr.latex}),pr.model===2&&b.createElement(Qe.Z,{value:pr.latex,onChange:Ha=>{Hn.answer[Wa].latex=Ha,Er("answer",hn,Hn.answer,Rn)}}))),wr(Hn,"",hn,Rn),Gr(Hn));return Za?[Na,qn]:To(Na,qn,Hn,hn)},deal:we=>{var hn,Rn,ya,un;we.score=we.score===void 0?2:we.score,we.question=(hn=we.question)==null?void 0:hn.replaceAll("\u2581","_");const Za=(Rn=we.answer)==null?void 0:Rn.map(Hn=>{if(Object.prototype.toString.call(Hn)==="[object Object]")return Hn;const qn={model:1,text:Hn,latex:Hn};return Hn.startsWith("$$")&&Hn.endsWith("$$")||Hn.startsWith("`$$")&&Hn.endsWith("$$`")?(qn.model=2,qn.latex=Hn.slice(2,-2)):qn.latex=hr(Hn),qn});we.answer=Za;let Na=[];return Za||Na.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),lr(we==null?void 0:we.question)?we!=null&&we.question.includes("_")?(ya=we==null?void 0:we.answer)!=null&&ya.length&&((we==null?void 0:we.question.match(/_+/g))||[]).length!==((un=we==null?void 0:we.answer)==null?void 0:un.length)&&Na.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Na.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Na.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Na.join(`
`),we}},{id:"4",type:"\u7B80\u7B54\u9898",element:(we,hn,Rn)=>{var ya,un;const Za=Rn!==void 0;let Na=(ya=we==null?void 0:we.answer)==null?void 0:ya[0];const Hn=b.createElement(b.Fragment,null,to(we,hn,Rn),Lo(we,Na,Za),oi(we));let qn=Za?we:An[hn];const pr=b.createElement(b.Fragment,null,Jo(qn,hn,Rn),wr(qn,(un=qn==null?void 0:qn.answer)==null?void 0:un[0],hn,Rn),Gr(qn));return Za?[Hn,pr]:To(Hn,pr,qn,hn)},deal:we=>{we.score=we.score===void 0?5:we.score;let hn=[];return lr(we==null?void 0:we.question)||hn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=hn.join(`
`),we}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(we,hn)=>{var Rn,ya;const un=An[hn],Za=Pa.slice(0,4).map(Na=>({key:Na,label:Na,onClick:()=>Er("platform",hn,Na)}));return b.createElement("div",{className:de.row,style:{display:Da?un!=null&&un.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:de.leftLayout},b.createElement(Lt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},to(we,hn),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(we==null?void 0:we.description)||""}`,tagName:"p"}),Lo(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"}),(Rn=we==null?void 0:we.inputs)==null?void 0:Rn.map((Na,Hn)=>{var qn;return b.createElement(b.Fragment,{key:Hn},b.createElement("h4",null),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${Hn+1})\u8F93\u5165\uFF1A${Na||""}`,tagName:"div"}),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${Hn+1})\u8F93\u51FA\uFF1A${((qn=we==null?void 0:we.outputs)==null?void 0:qn[Hn])||""}`,tagName:"div"}))}),oi(we)))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:un!=null&&un.errorMsg?de.error:""},Jo(un,hn),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:un==null?void 0:un.id,value:un==null?void 0:un.description,tagName:"div",onBlur:Na=>Er("description",hn,Na)}))),wr(un,"",hn),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:un==null?void 0:un.id,value:un==null?void 0:un.timeLimit,tagName:"div",onBlur:Na=>Er("timeLimit",hn,hr(Na))})),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:Za}},b.createElement("span",{className:"c-light-primary"},un==null?void 0:un.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:un==null?void 0:un.id,value:(un==null?void 0:un.code)||"",onBlur:Na=>Er("code",hn,hr(Na)),tagName:"div"}))),(ya=un==null?void 0:un.inputs)==null?void 0:ya.map((Na,Hn)=>{var qn;return b.createElement("div",{className:de.liWrap,key:Hn},b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",Hn+1,")\u8F93\u5165\uFF1A"),b.createElement(gt,{id:un==null?void 0:un.id,value:Na||"",className:de.edit,onBlur:pr=>{const Wa=[...(un==null?void 0:un.inputs)||[]];Wa[Hn]=hr(pr),Er("inputs",hn,Wa)},tagName:"div"})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",Hn+1,")\u8F93\u51FA\uFF1A"),b.createElement(gt,{id:un==null?void 0:un.id,value:((qn=un==null?void 0:un.outputs)==null?void 0:qn[Hn])||"",className:de.edit,onBlur:pr=>{const Wa=[...(un==null?void 0:un.outputs)||[]];Wa[Hn]=hr(pr),Er("outputs",hn,Wa)},tagName:"div"})))}),Gr(un))))},deal:we=>{var hn,Rn,ya;we.score=we.score===void 0?10:we.score,we.code=(hn=we.code)==null?void 0:hn.trim();let un=[];lr(we==null?void 0:we.question)?((Rn=we==null?void 0:we.question)==null?void 0:Rn.length)>60&&un.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):un.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),lr(we==null?void 0:we.description)||un.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const Za=lr(String((we==null?void 0:we.timeLimit)||""));if(we.timeLimit=Za,(!Za||Za&&!["3","4","5","6","7","8","9","10"].includes(Za))&&un.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),we.platform=lr(we==null?void 0:we.platform),we!=null&&we.platform){const Na=["c","c++","java","python"],Hn=(ya=we==null?void 0:we.platform)==null?void 0:ya.toLowerCase(),qn=Na.findIndex(pr=>pr===Hn);qn>-1?we.platform=Pa[qn]:un.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else un.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=[],un.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 Na=Math.min(we.inputs.length,we.outputs.length);we.inputs=we.inputs.slice(0,Na),we.outputs=we.outputs.slice(0,Na),we.outputs.some(Hn=>!lr(Hn))&&un.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return we.errorMsg=un.join(`
`),we}},{id:"7",type:"\u7EC4\u5408\u9898",element:(we,hn)=>{var Rn,ya;const un=An[hn];return b.createElement("div",{className:de.row,style:{display:Da?un!=null&&un.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:de.leftLayout},b.createElement(Lt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},to(we,hn),Lo(we),(Rn=we==null?void 0:we.questions)==null?void 0:Rn.map((Za,Na)=>{var Hn;const qn=(Hn=Wi.find(pr=>pr.id===(Za==null?void 0:Za.type)))==null?void 0:Hn.element;return b.createElement(b.Fragment,{key:`left-${we.id}-${Na}`},qn(Za,hn,Na)[0])}),oi(we),b.createElement("p",{contentEditable:!0},"}}")))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:un!=null&&un.errorMsg?de.error:""},Jo(un,hn),wr(un,"",hn),(ya=un==null?void 0:un.questions)==null?void 0:ya.map((Za,Na)=>{var Hn;const qn=(Hn=Wi.find(pr=>pr.id===(Za==null?void 0:Za.type)))==null?void 0:Hn.element;return b.createElement(b.Fragment,{key:`right-${un.id}-${Na}`},qn(Za,hn,Na)[1])}),Gr(un))))},deal:we=>{var hn,Rn,ya,un,Za;const Na=Wo,Hn=[...Wi],qn=Hn.findIndex(tr=>tr.id==="0"),pr=Hn.findIndex(tr=>tr.id==="1");if(qn!==-1){const tr=Hn[qn].deal;Hn[qn].deal=Mr=>{const Co=tr(Mr);return Co.errorMsg&&(Co.errorMsg=Co.errorMsg.split(`
`).filter(Uo=>Uo!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),Co}}if(pr!==-1){const tr=Hn[pr].deal;Hn[pr].deal=Mr=>{const Co=tr(Mr);return Co.errorMsg&&(Co.errorMsg=Co.errorMsg.split(`
`).filter(Uo=>Uo!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),Co}}we.questions=(hn=we.questions)!=null&&hn.length?Wo(we.questions.slice(0,20)):[],we.questions=(Rn=we.questions)==null?void 0:Rn.map((tr,Mr)=>{var Co;if(tr.type==="0"||tr.type==="1"){const Uo=(Co=tr.options)==null?void 0:Co.map(Ko=>Ko==null?void 0:Ko.trim().replace(/^\s+|\s+$/g,""));Uo&&new Set(Uo).size!==Uo.length&&(tr.errorMsg=(tr.errorMsg?tr.errorMsg+`
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Gt(Kn({},tr),{last:Mr===we.questions.length-1})});const Wa=(ya=we.questions)==null?void 0:ya.reduce((tr,Mr)=>{const Co=parseFloat(Mr.score);return isNaN(Co)?tr:tr+Co},0);we.score=Wa;let Ha=[];return(un=we.questions)!=null&&un.length?we.errorMsg=((Za=we.questions)==null?void 0:Za.findIndex(tr=>!!tr.errorMsg))>-1:Ha.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),lr(we==null?void 0:we.question)||Ha.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ha.length&&(we.errorMsg=Ha.join(`
`)),we}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(we,hn)=>{var Rn,ya;const un=An[hn],Za=Pa.map(Na=>({key:Na,label:Na,onClick:()=>Er("platform",hn,Na)}));return b.createElement("div",{className:de.row,style:{display:Da?un!=null&&un.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:de.leftLayout},b.createElement(Lt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},to(we,hn),Lo(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"}),(Rn=we==null?void 0:we.answer)==null?void 0:Rn.map((Na,Hn)=>b.createElement(gt,{key:Hn,id:we==null?void 0:we.id,value:`\u7B54\u6848${Hn+1}\uFF1A${Na||""}`,tagName:"p"})),oi(we)))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:un!=null&&un.errorMsg?de.error:""},Jo(un,hn),wr(un,"",hn),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:un==null?void 0:un.id,value:un==null?void 0:un.timeLimit,tagName:"div",onBlur:Na=>Er("timeLimit",hn,hr(Na))})),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:Za}},b.createElement("span",{className:"c-light-primary"},un==null?void 0:un.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:un==null?void 0:un.id,value:(un==null?void 0:un.code)||"",onBlur:Na=>Er("code",hn,hr(Na)),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:un==null?void 0:un.id,value:(un==null?void 0:un.input)||"",onBlur:Na=>Er("input",hn,hr(Na)),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:un==null?void 0:un.id,value:(un==null?void 0:un.output)||"",onBlur:Na=>Er("output",hn,hr(Na)),tagName:"div"}))),b.createElement("div",{className:de.liWrap},(ya=un==null?void 0:un.answer)==null?void 0:ya.map((Na,Hn)=>b.createElement("div",{className:de.li,key:Hn},b.createElement("aside",null,"\u7B54\u6848",Hn+1,"\uFF1A"),b.createElement(gt,{id:un==null?void 0:un.id,value:Na||"",className:de.edit,onBlur:qn=>{const pr=[...(un==null?void 0:un.answer)||[]];pr[Hn]=hr(qn),Er("output",hn,pr)},tagName:"div"})))),Gr(un))))},deal:we=>{var hn,Rn,ya,un,Za,Na,Hn,qn;we.score=we.score===void 0?10:we.score,we.code=(ya=(Rn=(hn=we.code)==null?void 0:hn.trim())==null?void 0:Rn.replace(/@_@/g,"@\u2581@"))==null?void 0:ya.replace(/@__@/g,"@\u2581\u2581@");let pr=[];if(lr(we==null?void 0:we.question)||pr.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),lr(we==null?void 0:we.code)?/@▁@|@▁▁@/.test(we==null?void 0:we.code)?(un=we==null?void 0:we.answer)!=null&&un.length&&((Za=we==null?void 0:we.code.match(/@▁@|@▁▁@/g))==null?void 0:Za.length)!==((Na=we==null?void 0:we.answer)==null?void 0:Na.length)&&pr.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):pr.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"):pr.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),we!=null&&we.answer?(Hn=we.answer)!=null&&Hn.some(Ha=>!lr(Ha))&&pr.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):pr.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),we.platform=lr(we==null?void 0:we.platform),we!=null&&we.platform){const Ha=["c","c++","java","python","javascript","ruby"],tr=(qn=we==null?void 0:we.platform)==null?void 0:qn.toLowerCase(),Mr=Ha.findIndex(Co=>Co===tr);Mr>-1?we.platform=Pa[Mr]:pr.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else pr.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");lr(we==null?void 0:we.output)||pr.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const Wa=lr(String((we==null?void 0:we.timeLimit)||""));return we.timeLimit=Wa,(!Wa||Wa&&!["3","4","5","6","7","8","9","10"].includes(Wa))&&pr.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),we.errorMsg=pr.join(`
`),we}}],dl=()=>b.createElement(b.Fragment,null,Br.filter(we=>{var hn;return!!((hn=Wi.find(ya=>ya.id===(we==null?void 0:we.type)))==null?void 0:hn.element)}).map((we,hn)=>{var Rn;const ya=(Rn=Wi.find(un=>un.id===(we==null?void 0:we.type)))==null?void 0:Rn.element;return b.createElement(b.Fragment,{key:we.id},ya(we,hn))})),gl=()=>wn(void 0,null,function*(){const we=An.filter(hn=>!hn.checked);if(Dn!==3||!we.length){ke.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}Ea.setFieldsValue({sub_discipline_id:Me}),pn(!0)}),Pl=we=>wn(void 0,null,function*(){const hn=Wo(we);qt(hn),oa(JSON.parse(JSON.stringify(hn))),Jn(3),pa(!1),Gn(!1),ut(!1)});(0,b.useEffect)(()=>{if(Xn)return;const we=()=>{Ra(hn=>hn>=90?(clearInterval(na.current),90):hn+1)};return na.current=setInterval(we,5e4/90),()=>clearInterval(na.current)},[Xn]);const _r=(we,hn)=>{Ua(!1);const Rn=new FormData;Object.keys(hn).forEach(un=>{Rn.append(un,hn[un])});const ya=new window.XMLHttpRequest;ya.withCredentials=!0,ya.addEventListener("load",function(un){return wn(this,null,function*(){var Za,Na;try{const Hn=JSON.parse((Za=un==null?void 0:un.target)==null?void 0:Za.response);if(Ua(!0),Ra(100),yield new Promise(qn=>setTimeout(()=>qn(),780)),Hn.status===0){if(!((Na=Hn==null?void 0:Hn.data)!=null&&Na.length)){ke.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),pa(!1);return}Pl((Hn==null?void 0:Hn.data)||[])}else pa(!1),ke.ZP.warning(Hn==null?void 0:Hn.message)}catch(Hn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",Hn)}})}),ya.addEventListener("error",()=>{pa(!1)}),ya.open("POST",`${re.Z.API_SERVER}${we}`),ya.send(Rn)},qa=we=>wn(void 0,null,function*(){const hn=we.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(hn)==-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()):(pa(!0),gr("\u5904\u7406\u4E2D"),_r("/api/intelligent_imports/import.json",{file:we}),Promise.reject())}),Va=we=>wn(void 0,null,function*(){const hn=we.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(hn)==-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:()=>Pn([we])}):Pn([we]),Promise.reject())});let er=[{key:1,label:b.createElement(Je.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:qa},b.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];const so=[An.length,(gn=An.filter(we=>!!(we!=null&&we.errorMsg)))==null?void 0:gn.length];return b.createElement("div",{className:Ne()(de.intelligentBox,"intelligent-body-curb",De),style:Gt(Kn({},fe),{width:Xe}),ref:$n},b.createElement("div",{className:de.underpin},b.createElement("b",{style:Zt}),b.createElement("b",{style:Zt})),b.createElement("div",{className:de.head,style:{top:et}},b.createElement("div",{className:de.leftLayout},nn||b.createElement(b.Fragment,null,b.createElement(qe.Z,{align:"middle"},b.createElement("div",{className:de.title},"\u8BD5\u9898\u7F16\u8F91"),!St&&b.createElement(te.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(te.op,{onClick:vr,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!St&&b.createElement(je.Z,{overlayClassName:de.menu,menu:{items:er}},b.createElement(te.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(qe.Z,{className:de.rightLayout,style:{alignItems:"start"}},fn||b.createElement(b.Fragment,null,b.createElement("div",{className:de.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Dn)&&b.createElement(Ke.default,{className:"ml20",checked:Da,onChange:we=>ut(we.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Dn)&&b.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",b.createElement("span",{className:"ml5 mr5 c-light-primary"},so[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",b.createElement("span",{className:"ml5 mr5 c-red-e53"},so[1]),"\u9898")),yt&&b.createElement("div",{className:de.tabs},Br==null?void 0:Br.map((we,hn)=>b.createElement("div",{onClick:()=>{Nn(hn)},className:wa===hn&&de.active,key:hn},"\u65B0\u9898",hn+1)))),b.createElement("div",{className:de.centerBox},b.createElement("img",{className:"mb10",src:ye,width:56}),!Cn&&b.createElement(te.op,{onClick:ko},"\u8BC6\u522B"))),[1,2].includes(Dn)&&No(),[3].includes(Dn)&&dl(),b.createElement("div",{className:"pb10"}),b.createElement("div",{className:de.buttonFixed},b.createElement("div",{className:de.buttonWrap},b.createElement(Ye.ZP,{size:"middle",className:`${de.button} mr20`,onClick:Rt},"\u53D6\u6D88"),b.createElement(Ye.ZP,{size:"middle",type:"primary",className:`${de.button}`,onClick:gl},dn))),b.createElement(le.default,{centered:!0,closable:!1,destroyOnClose:!0,open:ar,title:null,footer:null,width:320,afterClose:()=>Ra(0)},b.createElement(qe.Z,{align:"middle",style:{flexDirection:"column"}},b.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},_a,b.createElement("span",{className:de.dotLoading},b.createElement("span",null,"."),b.createElement("span",null,"."),b.createElement("span",null,"."))),b.createElement(ue.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:ha}),b.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",b.createElement("span",{className:"ml5 c-light-primary"},ha,"%")))),b.createElement(le.default,{centered:!0,open:zn,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:bn,width:480,onCancel:()=>pn(!1),onOk:()=>Ea.submit(),afterClose:()=>{Ea.resetFields()}},b.createElement(_e.default,{style:{maxHeight:550},form:Ea,layout:"horizontal",colon:!1,size:"large",onFinish:we=>wn(void 0,null,function*(){var hn,Rn,ya,un,Za;const Na=An.filter(pr=>!pr.checked&&!pr.errorMsg);Ln(!0);const Hn=()=>wn(void 0,null,function*(){var pr,Wa;const Ha=yield(0,Ge.ZP)("/api/intelligent_imports/save.json",{method:"post",body:Gt(Kn(Kn({},Ie),we),{list:Na,mode:vt})});Ha.status===0&&(Mt&&((pr=Ha==null?void 0:Ha.data)!=null&&pr.success)&&window.location.pathname==="/problemset"&&(Dt.Z.publish("refresh-item-bank",we.group_id),yield new Promise(tr=>setTimeout(()=>tr(),1500))),ke.ZP.success(`\u6210\u529F\u5BFC\u5165${(Wa=Ha==null?void 0:Ha.data)==null?void 0:Wa.success}\u9053\u8BD5\u9898`,3),Oe(),pn(!1)),Ln(!1)});if(vt!==1){yield Hn();return}const qn=yield(0,Ge.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:An,mode:vt}});if(qn.status===0){if(!((hn=qn==null?void 0:qn.data)!=null&&hn.error_size)){yield Hn();return}le.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{Ln(!1)},title:"\u63D0\u793A",content:b.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",b.createElement("span",{className:"c-light-primary ml5 mr5"},(Rn=qn==null?void 0:qn.data)==null?void 0:Rn.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",b.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(ya=qn==null?void 0:qn.data)==null?void 0:ya.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",b.createElement("span",{className:"ml5 mr5"},(Za=(un=qn==null?void 0:qn.data)==null?void 0:un.index)==null?void 0:Za.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:Hn})}})},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(_e.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:It})),vt===1&&b.createElement(_e.default.Item,{label:b.createElement(qe.Z,{align:"middle",style:{justifyContent:"space-between"}},b.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),b.createElement("div",{onClick:()=>Sa(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},b.createElement("img",{className:"mr5 primary-hover",src:ze}),"\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:bt})))),b.createElement(le.default,{centered:!0,open:ia,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:ir,onCancel:()=>Sa(!1),onOk:()=>Qa.submit(),afterClose:()=>{Qa.resetFields()}},b.createElement(_e.default,{style:{maxHeight:550},form:Qa,layout:"horizontal",colon:!1,size:"large",onFinish:we=>wn(void 0,null,function*(){var hn;Ba(!0),(yield(0,Ge.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:we.name,parent_id:(hn=we==null?void 0:we.parent_id)==null?void 0:hn[0]}})).status===0?(Qn(bt+1),setTimeout(()=>{ke.ZP.success("\u64CD\u4F5C\u6210\u529F"),Sa(!1),Ba(!1)},1e3)):Ba(!1)})},b.createElement(_e.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(_e.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:Yn,title:"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898",width:814,okText:"\u751F\u6210\u8BD5\u9898",onCancel:()=>Gn(!1),onOk:()=>{if(mr===1&&!lr(Vr)){ke.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(mr===2&&!lr(Vr)&&!($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:Jt||0},{name:"\u591A\u9009\u9898",num:Wn||0},{name:"\u5224\u65AD\u9898",num:Ct||0},{name:"\u586B\u7A7A\u9898",num:an||0},{name:"\u7B80\u7B54\u9898",num:Kt||0}];if(we.reduce((ya,un)=>ya+un.num,0)===0){ke.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}console.log(mr,Jt,Wn),pa(!0),gr("\u5904\u7406\u4E2D");const Rn={type:mr,query:Vr,item_types:JSON.stringify(we)};mr===2&&(Rn.file=($e==null?void 0:$e[0])||null),_r("/api/intelligent_imports/large_model_intelligent_qa.json",Rn)}},b.createElement(qe.Z,{align:"middle",className:"mb10 c-black"},b.createElement("div",{className:"mr10"},"\u51FA\u9898\u8981\u6C42"),b.createElement(x.ZP.Group,{value:mr,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:Vr,placeholder:mr===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=>{xr(we.target.value)}}),mr===2&&b.createElement(b.Fragment,null,b.createElement(Je.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:$e,beforeUpload:Va,className:"mb20",onRemove:()=>Pn([])},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(te.op,{style:{borderRadius:2}},b.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),b.createElement("div",{style:{height:20}})),b.createElement(qe.Z,{align:"middle",className:"c-black"},b.createElement("div",{className:"mb10"},"\u51FA\u9898\u6570\u91CF"),b.createElement(qe.Z,{gutter:16},b.createElement(z.Z,null,b.createElement("label",null,"\u5355\u9009\u9898"),b.createElement(it.Z,{min:0,max:10,value:Jt,onChange:In,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u591A\u9009\u9898"),b.createElement(it.Z,{min:0,max:10,value:Wn,onChange:la,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u5224\u65AD\u9898"),b.createElement(it.Z,{min:0,max:10,value:Ct,onChange:xt,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u586B\u7A7A\u9898"),b.createElement(it.Z,{min:0,max:10,value:an,onChange:tn,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u7B80\u7B54\u9898"),b.createElement(it.Z,{min:0,max:10,value:Kt,onChange:xa,style:{marginLeft:"8px"}}))))))},st=se;var nt=Nt},19105:function(Vt,jt,ee){"use strict";var b=ee(59301),de=ee(99587),Be=ee(48136),Ne=ee(76562),_e=ee(43418),ke=ee(59301);const le=(0,b.forwardRef)(({callback:it,width:qe,onChange:Ke,disabled:je,readOnly:Je,type:Ye="",value:ue="",style:E={}},a)=>{const x=(0,b.useRef)(),y=(0,b.useRef)(),[z,te]=(0,b.useState)(0),[re,se]=(0,b.useState)(0),[ie,ve]=(0,b.useState)(!1),ye=()=>{var he=document.createElement("div");he.innerHTML=x.current.getValue();var Qe=he.innerText;return it&&it(Qe),Qe};(0,b.useImperativeHandle)(a,()=>({getData:ye}));const Ge=he=>{he.preventDefault();const Qe=he.clientX-z,We=he.clientY-re;document.body.onmousemove=ft=>{let Le=ft.clientX-Qe,ot=ft.clientY-We;const dt=document.getElementsByClassName("markdown-popup-form")[0],gt=window.innerWidth-dt.offsetWidth,Dt=window.innerHeight-dt.offsetHeight;Le=Math.max(0,Math.min(Le,gt)),ot=Math.max(0,Math.min(ot,Dt)),Ae(ft.clientX,ft.clientY,Qe,We)&&(te(Le),se(ot))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ae=(he,Qe,We,ft)=>{const Le=document.body.clientHeight,ot=document.body.clientWidth;return he<20&&We>he||he>ot-20&&We<he||Qe<20&&ft>Qe||Qe>Le-20&&ft<Qe?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,b.useEffect)(()=>{ie&&setTimeout(()=>{const he=document.getElementsByClassName("markdown-popup-form")[0],Qe=window.innerWidth/2-he.offsetWidth/2,We=window.innerHeight/2-he.offsetHeight/2;te(Qe),se(We)},0)},[ie]);const ze=()=>{je||Je||ve(!0)};return ke.createElement("div",{style:E},ke.createElement("div",{style:{width:qe||"100%",position:"relative"},className:`${de.Z.mathFillWrap} ${je||Je?"cursorDefault":""}`,onClick:()=>ze()},ke.createElement("math-field",{disabled:je,locale:"zh_cn",class:`${de.Z.mathField} ${Ye}`,readOnly:Je,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:ue?18:14},value:ue||""})),ke.createElement(_e.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:re},title:ke.createElement("div",{style:{cursor:"move"},onMouseDown:Ge},"\u8F93\u5165\u516C\u5F0F"),open:ie,onOk:()=>{const he=y.current.getData();x.current.setValue(he),Ke(he),ve(!1)},onCancel:()=>{ve(!1)},destroyOnClose:!0,className:"markdown-popup-form"},ke.createElement(Ne.Z,{value:ue,ref:y,onChange:Ke,showSaveButton:!1})))});jt.Z=le},76562:function(Vt,jt,ee){"use strict";var b=ee(59301),de=ee(95237),Be=ee(43604),Ne=ee(99313),_e=ee(3113),ke=ee(91842),le=ee(99587),it=ee(48136),qe=ee(59301);const Ke=(0,b.forwardRef)(({callback:je,showSaveButton:Je,value:Ye=""},ue)=>{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:qe.createElement(de.Z,{className:le.Z.lists,gutter:[10,10]},a.map((re,se)=>qe.createElement(Be.Z,{flex:"110px",className:le.Z.item},qe.createElement("div",null,qe.createElement(ke.Z,{value:`$$${re.value}$$`}),re.name),qe.createElement("div",{className:le.Z.children},re.children.map((ie,ve)=>qe.createElement("div",{key:ve},qe.createElement("h1",null,ie.name),qe.createElement(de.Z,{gutter:[10,10]},ie.data.map((ye,Ge)=>qe.createElement(Be.Z,{key:Ge,onClick:()=>y(ye),className:le.Z.diamond},qe.createElement(ke.Z,{value:"`$$"+ye.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:qe.createElement(de.Z,{className:le.Z.lists,gutter:[10,10]},x.map((re,se)=>qe.createElement(Be.Z,{flex:"110px",className:le.Z.item},qe.createElement("div",null,qe.createElement(ke.Z,{value:"`$$"+re.value+"$$`"}),re.name),qe.createElement("div",{className:le.Z.children},re.children.map((ie,ve)=>qe.createElement("div",{key:ve},ie.name&&qe.createElement("h1",null,ie.name),qe.createElement(de.Z,{gutter:[10,10]},ie.data.map((ye,Ge)=>qe.createElement(Be.Z,{key:Ge,onClick:()=>y(ye),className:le.Z.diamond},qe.createElement(ke.Z,{value:"`$$"+ye.value+"$$`"}))))))))))}],te=()=>{var re=document.createElement("div");re.innerHTML=E.current.getValue();var se=re.innerText;return je&&je(se),se};return(0,b.useImperativeHandle)(ue,()=>({getData:te})),qe.createElement("div",{className:le.Z.mathWrap},qe.createElement(Ne.default,{defaultActiveKey:"1",items:z}),qe.createElement("math-field",{locale:"zh_cn",className:le.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Ye||""),Je&&qe.createElement("div",{className:le.Z.button},qe.createElement(_e.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});jt.Z=Ke},22962:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Je}});var b=ee(59301),de=ee(78241),Be=ee(43418),Ne=ee(92832),_e=ee(87169),ke=ee(38986),le={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},it=ee(52154),qe=ee(59301),Ke=(Ye,ue,E)=>new Promise((a,x)=>{var y=re=>{try{te(E.next(re))}catch(se){x(se)}},z=re=>{try{te(E.throw(re))}catch(se){x(se)}},te=re=>re.done?a(re.value):Promise.resolve(re.value).then(y,z);te((E=E.apply(Ye,ue)).next())}),Je=({type:Ye="subject",open:ue,onCancel:E,onOkClick:a,subDisciplineId:x})=>{const[y]=de.default.useForm(),[z,te]=(0,b.useState)([]),[re,se]=(0,b.useState)(!1);(0,b.useEffect)(()=>{},[]);const ie=()=>Ke(void 0,null,function*(){if(Ye){const ve=yield(0,ke.ZP)("/api/disciplines.json",{method:"get",params:{source:Ye}});te(ve.disciplines||[])}});return qe.createElement(Be.default,{title:qe.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:ue,width:558,centered:!0,className:le.publicQuest,onCancel:()=>{E(),y.resetFields()},onOk:()=>{y.validateFields().then(ve=>Ke(void 0,null,function*(){const ye=yield(0,ke.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:ve==null?void 0:ve.name,sub_discipline_id:x}});(ye==null?void 0:ye.status)===0&&a({name:ve==null?void 0:ve.name,id:ye==null?void 0:ye.tag_discipline_id,public:!1,type:"personal"}),y.resetFields(),E()}))}},qe.createElement("div",{className:le.publicQuestContent},qe.createElement("div",{className:le.public_tips},qe.createElement(_e.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"),qe.createElement(de.default,{labelAlign:"left",form:y,colon:!1},qe.createElement(de.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},qe.createElement(Ne.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),qe.createElement(it.Z,{open:re,onCancel:()=>{se(!1)}})))}},70100:function(Vt,jt,ee){"use strict";ee.d(jt,{Q:function(){return qe},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),_e=ee(43418),ke=ee(8591),le=ee(24905),it=(Je,Ye,ue)=>new Promise((E,a)=>{var x=te=>{try{z(ue.next(te))}catch(re){a(re)}},y=te=>{try{z(ue.throw(te))}catch(re){a(re)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,y);z((ue=ue.apply(Je,Ye)).next())});const qe=({title:Je="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Ye=[],visible:ue,setVisible:E,tip:a,onOk:x})=>{const[y,z]=(0,b.useState)([]),[te,re]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{ue&&z(Ye)},[ue]),b.createElement(_e.default,{centered:!0,open:ue,title:Je,confirmLoading:te,width:564,onOk:()=>it(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:se=>{z(se)}})))};var je=({title:Je="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Ye,style:ue={},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:ue},!!Je&&b.createElement("div",{className:de.text},Je),b.createElement("div",{className:de.tagWrap},a==null?void 0:a.map(y=>b.createElement(b.Fragment,{key:y},x[y]))),!!E&&b.createElement("div",{onClick:E,className:`iconfont icon-bianji_Hover ${de.edit}`}))}},68571:function(Vt,jt,ee){"use strict";ee.d(jt,{t:function(){return st}});var b=ee(59301),de=ee(92832),Be=ee(78241),Ne=ee(43418),_e=ee(95237),ke=ee(43604),le=ee(5871),it=ee(57809),qe=ee(5112),Ke=ee(31457),je=ee(25690),Je=ee(8423),Ye=ee(8591),ue=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),te=ee(39793),re=ee(56102),se=ee(37345),ie=ee(59301),ve=Object.defineProperty,ye=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,ze=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,We=(nt,De)=>{for(var fe in De||(De={}))ze.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},ft=(nt,De)=>ye(nt,Ge(De)),Le=(nt,De,fe)=>new Promise((Xe,Rt)=>{var Oe=et=>{try{vt(fe.next(et))}catch(Me){Rt(Me)}},Ie=et=>{try{vt(fe.throw(et))}catch(Me){Rt(Me)}},vt=et=>et.done?Xe(et.value):Promise.resolve(et.value).then(Oe,Ie);vt((fe=fe.apply(nt,De)).next())}),dt=({buttonProps:nt,buttonText:De,form:fe,hackIdentifier:Xe="",answerKey:Rt,data:Oe})=>{const[Ie,vt]=(0,b.useState)(!1),[et,Me]=(0,b.useState)(!1),[St,Bn]=(0,b.useState)(!1),[nn,fn]=(0,b.useState)({}),[ln,Cn]=(0,b.useState)(""),[Ze,yt]=(0,b.useState)(""),Zt=(0,b.useRef)(Xe),Bt=(0,b.useRef)(""),Mt=(0,b.useRef)(!1);(0,b.useEffect)(()=>{St&&Jn()},[St]),(0,b.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const dn=()=>new Date().getTime(),gn=Oe==null?void 0:Oe.code,Dn=()=>{var _a,gr;let ar=gn?Oe==null?void 0:Oe.code:(_a=fe.getFieldValue("hack_codes"))==null?void 0:_a.code,pa=gn?Oe==null?void 0:Oe.answer_content:fe.getFieldValue(Rt),Br=gn?Oe==null?void 0:Oe.input:(gr=fe.getFieldValue("hack_sets"))==null?void 0:gr.input;pa==null||pa.forEach(qt=>{const An=qt.value||qt.answer_text||"";ar=ar.replace(/(@▁@|@▁▁@)/,An)}),yt(Br),Cn(ar),fn({}),Bn(!0)},Jn=()=>Le(void 0,null,function*(){var _a,gr,ar,pa;const Br=dn(),qt=gn?Oe==null?void 0:Oe.time_limit:(_a=fe.getFieldsValue())==null?void 0:_a.hack.time_limit,An=gn?(gr=Oe==null?void 0:Oe.answer_content)==null?void 0:gr.length:(pa=(ar=fe.getFieldsValue())==null?void 0:ar.standard_answers)==null?void 0:pa.length;vt(!0),yield(0,z.bM)(Bt.current,{test_hack_code:ln,test_input:Ze});function oa(){return Le(this,null,function*(){const{status:Da,data:ut}=yield(0,z.rX)(Bt.current,"submit"),Ln=dn()-Br>(qt+3)*1e3*An;if(Mt.current){if(Ln){Ye.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),vt(!1);return}if(Da===0){vt(!1),fn(ft(We({},ut),{showText:!0}));return}setTimeout(oa,1e3)}})}oa()}),ha=()=>Le(void 0,null,function*(){var _a,gr,ar,pa,Br,qt,An;if(!Oe){try{yield fe.validateFields()}catch(bn){(ar=(gr=(_a=bn==null?void 0:bn.errorFields)==null?void 0:_a[0])==null?void 0:gr.name)!=null&&ar.includes("standard_answers")?Ye.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ye.ZP.error(bn.errorFields[0].errors[0]),fe.scrollToField(bn.errorFields[0].name,{behavior:"smooth",block:"center"});return}Me(!0);let Da="";const ut=fe.getFieldsValue();Zt.current?Da=yield(0,y.ZP)(`/api/problems/${Zt.current}.json`,{method:"put",body:ft(We({},ut),{hack:ft(We({},ut==null?void 0:ut.hack),{sub_discipline_id:(An=(qt=ut==null?void 0:ut.hack)==null?void 0:qt.sub_discipline_id)==null?void 0:An[1],difficult:ut.difficulty,item_banks_group_id:ut.item_banks_group_id}),hack_codes:ft(We({},ut.hack_codes),{code:a.Base64.encode(ut.hack_codes.code)}),update_hack_sets:[We({},ut.hack_sets)],is_blank:!0})}):(Da=yield(0,y.ZP)("/api/problems.json",{method:"post",body:ft(We({},ut),{hack:ft(We({},ut==null?void 0:ut.hack),{sub_discipline_id:(Br=(pa=ut==null?void 0:ut.hack)==null?void 0:pa.sub_discipline_id)==null?void 0:Br[1],difficult:ut.difficulty,item_banks_group_id:ut.item_banks_group_id}),hack_codes:ft(We({},ut.hack_codes),{code:a.Base64.encode(ut.hack_codes.code)}),hack_sets:[We({},ut.hack_sets)],is_blank:!0})}),Zt.current=Da==null?void 0:Da.identifier,sessionStorage.projectFill=Da==null?void 0:Da.identifier)}const oa=yield(0,y.ZP)(`/api/problems/${Zt.current}/start.json`,{method:"get"});if((oa==null?void 0:oa.status)===0){Bt.current=oa==null?void 0:oa.identifier,Mt.current=!0,Me(!1),Dn();return}Me(!1)}),Ra=_a=>{const{status:gr,error_msg:ar,execute_time:pa,output:Br,input:qt,expected_output:An}=_a;let oa=null;switch(gr){case se.h.OK:oa=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",pa/1e3,"\u79D2"),ie.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case se.h.NOMATCH:oa=ie.createElement(ie.Fragment,null,ie.createElement("div",null,"\u8F93\u5165\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},qt),ie.createElement("div",null,"\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},Br&&a.Base64.decode(Br)),ie.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},An&&a.Base64.decode(An)));break;case se.h.EXECUTEFAILURE:oa=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,qt)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode(ar)));break;case se.h.COMPILEFAILURE:oa=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,qt)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode(ar)));break;case se.h.PODFAILURE:oa=ie.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case se.h.TIMEOUT:oa=ie.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ie.createElement(ie.Fragment,null," ",oa," ")};return ie.createElement("div",null,ie.createElement(ue.ZP,ft(We({loading:et},nt),{onClick:ha}),De),ie.createElement(Ne.default,{open:St,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,Bn(!1)}},ie.createElement("div",{className:x.result},ie.createElement("div",{className:x.left},ie.createElement("div",{className:"mb20"},ie.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Oe&&ie.createElement(re.CopyToClipboard,{text:ln,onCopy:()=>Ye.ZP.success("\u590D\u5236\u6210\u529F")},ie.createElement("span",{style:{float:"right"},className:"current c-light-primary"},ie.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),ie.createElement(te.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:ln,onChange:_a=>Cn(_a)})),ie.createElement("div",{className:x.right},ie.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),ie.createElement("div",{className:x.box},ie.createElement("div",{className:x.li},ie.createElement(de.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:Ze,onChange:_a=>yt(_a.target.value),bordered:!1,style:{height:180}}))),ie.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),ie.createElement("div",{className:x.box},ie.createElement(E.Z,{spinning:Ie,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ie.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},Ra(nn))))))))},gt=ee(87169),Dt=ee(59301),sn=Object.defineProperty,Ft=Object.defineProperties,on=Object.getOwnPropertyDescriptors,cn=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,rn=(nt,De,fe)=>De in nt?sn(nt,De,{enumerable:!0,configurable:!0,writable:!0,value:fe}):nt[De]=fe,Kn=(nt,De)=>{for(var fe in De||(De={}))Ve.call(De,fe)&&rn(nt,fe,De[fe]);if(cn)for(var fe of cn(De))at.call(De,fe)&&rn(nt,fe,De[fe]);return nt},Gt=(nt,De)=>Ft(nt,on(De)),wn=(nt,De)=>{var fe={};for(var Xe in nt)Ve.call(nt,Xe)&&De.indexOf(Xe)<0&&(fe[Xe]=nt[Xe]);if(nt!=null&&cn)for(var Xe of cn(nt))De.indexOf(Xe)<0&&at.call(nt,Xe)&&(fe[Xe]=nt[Xe]);return fe};const{TextArea:He}=de.default,ct=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Lt=({value:nt,onChange:De})=>Dt.createElement(Switch,{checked:nt,onChange:fe=>{De(fe)}}),mt="@\u2581@",Nt="@\u2581\u2581@",st=({questionTitlePlaceholder:nt,form:De,scoreByBlank:fe=!1,hackidentifier:Xe,answerKey:Rt})=>{const[Oe,Ie]=(0,b.useState)(!1),[vt,et]=(0,b.useState)(!1),St=(0,je.useParams)().type==="edit",Bn=(Bt,Mt)=>{const dn=Mt.line;let gn=0;for(let Jn=0;Jn<dn;Jn++)gn+=Bt.getLine(Jn).split(mt).length-1;for(let Jn=0;Jn<dn;Jn++)gn+=Bt.getLine(Jn).split(Nt).length-1;const Dn=Bt.getLine(dn).substring(0,Mt.ch);return gn+=Dn.split(mt).length-1,gn+=Dn.split(Nt).length-1,gn},nn=(Bt,Mt,dn,gn)=>{const Dn=Bt.getRange(Mt.from,Mt.to);let Jn=0;if(Mt.text.forEach(ha=>{Jn+=ha.split(mt).length-1}),Mt.text.forEach(ha=>{Jn+=ha.split(Nt).length-1}),Mt.origin!=="setValue"){if(Dn&&(Dn.indexOf(mt)!==-1||Dn.indexOf(Nt)!==-1)){const ha=Dn.split(mt).length-1+Dn.split(Nt).length-1,Ra=Bn(Bt,Mt.from);if(console.log(`\u5220\u9664${ha}\u4E2A\uFF0C \u524D\u9762\u6709${Ra}\u4E2A\uFF0C\u65B0\u589E${Jn}\u4E2A`),ha>1){const _a=Array.from({length:ha},(gr,ar)=>Ra+ar);gn(_a)}else gn(Ra)}else if(Jn>0){const ha=Bn(Bt,Mt.from);console.log(`\u65B0\u589E${Jn}\u4E2A\uFF0C\u4E4B\u524D\u6709${ha}\u4E2A`),dn(Jn,ha)}}},fn=()=>{const Bt=De.getFieldValue(Rt);De.setFieldsValue({[Rt]:Bt==null?void 0:Bt.map((Mt,dn)=>Gt(Kn({},Mt),{position:dn+1}))})},ln=(0,b.useRef)(),Cn=(Bt,Mt)=>{for(let dn=0;dn<Bt;dn++)ln.current({position:null,answer_text:""},Mt+dn);fn()},Ze=(0,b.useRef)(),yt=Bt=>{Ze.current(Bt),fn()},Zt=Be.default.useWatch(Rt,De);return Dt.createElement("div",{className:Je.Z.wrap},Dt.createElement(Be.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},Dt.createElement(Ke.h,{scrollId:"name",watch:!0,height:140})),Dt.createElement("div",{className:Je.Z.questionTitleEditorWrap},Dt.createElement(Be.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},Dt.createElement(Ke.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(Bt,Mt)=>{const dn=De.getFieldValue(Rt);console.log("--preAnswerData",dn,Mt),De.setFieldsValue({[Rt]:dn==null?void 0:dn.map((gn,Dn)=>{var Jn;return Gt(Kn({},gn),{position:Dn+1,multi_line:(Jn=Mt==null?void 0:Mt[Dn])==null?void 0:Jn.multiLine})})})},placeholder:nt,onCMBeforeChange:(Bt,Mt)=>{nn(Bt,Mt,Cn,yt)}}))),Dt.createElement(Be.default.List,{name:Rt,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})=>(ln.current=Mt,Ze.current=dn,Dt.createElement(Dt.Fragment,null,Dt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},Dt.createElement(Be.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),Dt.createElement("div",{onClick:()=>{Ne.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:Dt.createElement("div",null,Dt.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",Dt.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),Dt.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"}},Dt.createElement(gt.Z,{style:{marginRight:3,color:"#3061D0"}}),Dt.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),Bt.map((Dn,Jn)=>{var ha=Dn,{key:Ra,name:_a}=ha,gr=wn(ha,["key","name"]),ar,pa;return Dt.createElement(_e.Z,{className:"mb20",key:Ra,align:"middle",wrap:!1},Dt.createElement(ke.Z,{flex:"0 0 auto",className:`${Je.Z.blankIndex}`},"\u586B\u7A7A\u9879",Jn+1),Dt.createElement(ke.Z,{flex:1},Dt.createElement(_e.Z,{align:"top",justify:"space-between",wrap:!1},Dt.createElement(ke.Z,null,Dt.createElement(Be.default.Item,Gt(Kn({},gr),{name:[_a,"answer_text"],noStyle:!0}),(ar=Zt==null?void 0:Zt[_a])!=null&&ar.multi_line||(pa=Zt==null?void 0:Zt[_a])!=null&&pa.multiLine?Dt.createElement(He,{spellCheck:!1,style:{marginLeft:10,width:550}}):Dt.createElement(de.default,{style:{marginLeft:10,width:550},className:Je.Z.blankInput,size:"large",maxLength:1e3,onBlur:Br=>{}}))),fe&&Dt.createElement(ke.Z,{flex:"224px"},Dt.createElement(Be.default.Item,Gt(Kn({},gr),{name:[_a,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),Dt.createElement(le.Z,{size:"large",className:Je.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),Dt.createElement("div",{onClick:()=>Ie(!0)},Dt.createElement(Be.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Dt.createElement(Ke.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Oe}))),Dt.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"}]},Dt.createElement(it.default,{size:"large"},ct.map(Bt=>Dt.createElement(it.default.Option,{key:Bt.title,value:Bt.key}," ",Bt.title)))),Dt.createElement(Be.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},Dt.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},Dt.createElement(le.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),Dt.createElement("span",{className:"ml10 font14"},"\u79D2")),Dt.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"}]},Dt.createElement(qe.ZP.Group,{style:{marginTop:-10}},Dt.createElement(qe.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),Dt.createElement(qe.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),Dt.createElement(qe.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),Dt.createElement(Be.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),Dt.createElement("div",{style:{background:"#F6F7F9",padding:15}},Dt.createElement(Be.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},Dt.createElement(He,{rows:4})),Dt.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"}]},Dt.createElement(He,{rows:4}))),Dt.createElement(dt,{form:De,answerKey:Rt,hackIdentifier:Xe,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:Dt.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(Vt,jt,ee){"use strict";ee.d(jt,{u:function(){return ie}});var b=ee(59301),de=ee(95237),Be=ee(43604),Ne=ee(6848),_e=ee(78241),ke=ee(8423),le=ee(32134),it=ee(12893),qe=ee(31457),Ke=ee(59301),je=Object.defineProperty,Je=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(ve,ye,Ge)=>ye in ve?je(ve,ye,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):ve[ye]=Ge,y=(ve,ye)=>{for(var Ge in ye||(ye={}))E.call(ye,Ge)&&x(ve,Ge,ye[Ge]);if(ue)for(var Ge of ue(ye))a.call(ye,Ge)&&x(ve,Ge,ye[Ge]);return ve},z=(ve,ye)=>Je(ve,Ye(ye)),te=(ve,ye)=>{var Ge={};for(var Ae in ve)E.call(ve,Ae)&&ye.indexOf(Ae)<0&&(Ge[Ae]=ve[Ae]);if(ve!=null&&ue)for(var Ae of ue(ve))ye.indexOf(Ae)<0&&a.call(ve,Ae)&&(Ge[Ae]=ve[Ae]);return Ge};const re=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],se=({value:ve,onChange:ye,choiceTextKey:Ge,answerKey:Ae,index:ze,isEdit:he,setInputActive:Qe,form:We,choiceOptionsPath:ft,allowChangeMode:Le,showAddIcon:ot,addItem:dt,deleteItem:gt})=>{console.log(ve,"value");const Dt=(ve==null?void 0:ve[Ae])===1,sn=()=>{const on=We.getFieldValue(ft);We.setFieldValue(ft,on.map(cn=>z(y({},cn),{[Ae]:0})))},Ft=()=>{Dt?ye(z(y({},ve),{[Ae]:0})):(Le||sn(),ye(z(y({},ve),{[Ae]:1})))};return Ke.createElement(de.Z,{className:ke.Z.choiceWrap,align:"middle",wrap:!1},Ke.createElement(Be.Z,{onClick:Ft,className:`${ke.Z.choiceIndex} ${Dt?ke.Z.activeAnswer:""}`},re[ze]),Ke.createElement(Be.Z,{flex:1,className:`${ke.Z.editorWrap} ml15`,onClick:Qe},Ke.createElement(qe.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:he,value:ve==null?void 0:ve[Ge],onChange:on=>{ye(z(y({},ve),{[Ge]:on}))}})),Ke.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},Ke.createElement("div",{onClick:Ft,className:`${ke.Z.setAnswerBtn} ${Dt?ke.Z.activeAnswer:""}`},Dt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Ke.createElement(Be.Z,{className:ke.Z.actionWrapper},Ke.createElement(Ne.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Ke.createElement(le.Z,{className:ke.Z.addIcon,onClick:dt,style:{visibility:ot?"visible":"hidden"}})),Ke.createElement(Ne.Z,{title:"\u5220\u9664"},Ke.createElement(it.Z,{className:ke.Z.deleteIcon,onClick:gt,style:{visibility:ze>1?"visible":"hidden"}}))))},ie=({questionTitlePlaceholder:ve,titleKey:ye,choiceKey:Ge,analysisKey:Ae,choiceTextKey:ze,answerKey:he,choiceOptionsPath:Qe,allowChangeMode:We=!0,form:ft,showAnalysis:Le=!0})=>{const[ot,dt]=(0,b.useState)(),[gt,Dt]=(0,b.useState)(!1);return Ke.createElement("div",{className:ke.Z.wrap},Ke.createElement("div",{className:ke.Z.questionTitleEditorWrap},Ke.createElement(_e.default.Item,{label:"\u9898\u5E72",name:ye,labelCol:{span:24},rules:[{required:!0}]},Ke.createElement(qe.h,{scrollId:Array.isArray(ye)?ye.join("_"):`${ye}`,watch:!0,height:140,placeholder:ve}))),Ke.createElement(_e.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Ke.createElement(_e.default.List,{name:Ge,rules:[{validator(sn,Ft){const on=Ft.some(Ve=>Ve[he]===1),cn=Ft.findIndex(Ve=>{var at;return((at=Ve[ze])==null?void 0:at.length)<=0});return cn!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[cn]}\u9009\u9879\u7684\u5185\u5BB9`)):on?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(sn,{add:Ft,remove:on})=>Ke.createElement("div",{id:Array.isArray(Qe)?Qe.join("_"):`${Qe}`},sn.map((cn,Ve)=>{var at=cn,{key:rn,name:Kn}=at,Gt=te(at,["key","name"]);const wn=ot===rn,He=()=>{dt(rn)},ct=Ve<7&&Ve===sn.length-1,Lt=()=>Ft({[ze]:"",[he]:0}),mt=()=>on(Kn);return Ke.createElement(_e.default.Item,z(y({},Gt),{key:rn,name:Kn,className:ke.Z.choiceListWrap,rules:[{validator(Nt,st){return st!=null&&st.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[Ve]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Ke.createElement(se,{choiceTextKey:ze,answerKey:he,index:Ve,isEdit:wn,setInputActive:He,form:ft,choiceOptionsPath:Qe,allowChangeMode:We,showAddIcon:ct,addItem:Lt,deleteItem:mt}))}),sn.length<8&&Ke.createElement("div",{className:`${ke.Z.addBtn} mb30`,onClick:()=>Ft({[ze]:"",[he]:0})},"\u6DFB\u52A0\u9009\u9879"))),Le&&Ke.createElement("div",{onClick:()=>Dt(!0)},Ke.createElement(_e.default.Item,{name:Ae,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ke.createElement(qe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:gt}))))}},92046:function(Vt,jt,ee){"use strict";ee.d(jt,{u:function(){return We}});var b=ee(59301),de=ee(43418),Be=ee(95237),Ne=ee(43604),_e=ee(92832),ke=ee(6848),le=ee(78673),it=ee(78241),qe=ee(5112),Ke=ee(5871),je=ee(31457),Je=ee(12893),Ye=ee(61485),ue=ee(8423),E=ee(19105),a=ee(59301),x=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ie=(ft,Le,ot)=>Le in ft?x(ft,Le,{enumerable:!0,configurable:!0,writable:!0,value:ot}):ft[Le]=ot,ve=(ft,Le)=>{for(var ot in Le||(Le={}))re.call(Le,ot)&&ie(ft,ot,Le[ot]);if(te)for(var ot of te(Le))se.call(Le,ot)&&ie(ft,ot,Le[ot]);return ft},ye=(ft,Le)=>y(ft,z(Le)),Ge=(ft,Le)=>{var ot={};for(var dt in ft)re.call(ft,dt)&&Le.indexOf(dt)<0&&(ot[dt]=ft[dt]);if(ft!=null&&te)for(var dt of te(ft))Le.indexOf(dt)<0&&se.call(ft,dt)&&(ot[dt]=ft[dt]);return ot};const Ae=({value:ft,onChange:Le})=>{const ot=gt=>{de.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:ue.Z.modal,onOk:()=>{const Dt=[...ft];Dt.splice(gt,1),Le(Dt)}})},dt=()=>{const gt=[...ft];gt.push(""),Le(gt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Ne.Z,{flex:1},ft==null?void 0:ft.map((gt,Dt)=>a.createElement(Be.Z,{key:`${gt}_${Dt}`,className:"mb20"},a.createElement(_e.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:gt,autoSize:{maxRows:3},maxLength:1e3,onBlur:sn=>{const Ft=[...ft],on=sn.target.value.trim();Ft[Dt]=on,Le(Ft)}}),a.createElement(ke.Z,{title:"\u5220\u9664"},a.createElement(Je.Z,{className:ue.Z.deleteIcon,style:{marginLeft:15,visibility:Dt>0?"visible":"hidden"},onClick:()=>ot(Dt)}))))),a.createElement(Ne.Z,null,a.createElement("div",{className:`${ue.Z.addBtn}`,onClick:()=>{dt()}},"\u65B0\u589E\u7B54\u6848")))},ze=({value:ft,onChange:Le})=>{const ot=gt=>{de.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:ue.Z.modal,onOk:()=>{const Dt=[...ft];Dt.splice(gt,1),Le(Dt)}})},dt=()=>{const gt=[...ft];gt.push(""),Le(gt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Ne.Z,{flex:1},ft==null?void 0:ft.map((gt,Dt)=>a.createElement(Be.Z,{key:`${gt}_${Dt}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:gt,style:{flex:1},onChange:sn=>{const Ft=[...ft];Ft[Dt]=sn,Le(Ft)}}),a.createElement(ke.Z,{title:"\u5220\u9664"},a.createElement(Je.Z,{className:ue.Z.deleteIcon,style:{marginLeft:15,visibility:Dt>0?"visible":"hidden"},onClick:()=>ot(Dt)}))))),a.createElement(Ne.Z,null,a.createElement("div",{className:`${ue.Z.addBtn}`,onClick:()=>{dt()}},"\u65B0\u589E\u7B54\u6848")))},he=({value:ft=!0,onChange:Le})=>a.createElement(le.Z,{checked:!ft,onChange:ot=>{Le(!ot)}}),Qe="\u2581",We=({questionTitlePlaceholder:ft,form:Le,scoreByBlank:ot=!1,answerKey:dt})=>{const[gt,Dt]=(0,b.useState)(!1),sn=(Gt,wn)=>{const He=wn.line;let ct=0;for(let mt=0;mt<He;mt++)ct+=Gt.getLine(mt).split(Qe).length-1;const Lt=Gt.getLine(He).substring(0,wn.ch);return ct+=Lt.split(Qe).length-1,ct},Ft=(Gt,wn,He,ct)=>{const Lt=Gt.getRange(wn.from,wn.to);let mt=0;if(wn.text.forEach(Nt=>{mt+=Nt.split(Qe).length-1}),wn.origin!=="setValue"){if(Lt&&Lt.indexOf(Qe)!==-1){const Nt=Lt.split(Qe).length-1,st=sn(Gt,wn.from);if(console.log(`\u5220\u9664${Nt}\u4E2A\uFF0C \u524D\u9762\u6709${st}\u4E2A\uFF0C\u65B0\u589E${mt}\u4E2A`),Nt>1){const nt=Array.from({length:Nt},(De,fe)=>st+fe);ct(nt)}else ct(st)}else if(mt>0){const Nt=sn(Gt,wn.from);console.log(`\u65B0\u589E${mt}\u4E2A\uFF0C\u4E4B\u524D\u6709${Nt}\u4E2A`),He(mt,Nt)}}},on=()=>{const Gt=Le.getFieldValue(dt);Le.setFieldsValue({[dt]:Gt.map((wn,He)=>ye(ve({},wn),{position:He+1}))})},cn=(0,b.useRef)(),Ve=(Gt,wn)=>{for(let He=0;He<Gt;He++)cn.current({position:null,answer_text:[""],model:1},wn+He);on()},at=(0,b.useRef)(),rn=Gt=>{at.current(Gt),on()},Kn=it.default.useWatch(dt,Le);return a.createElement("div",{className:ue.Z.wrap},a.createElement("div",{className:ue.Z.questionTitleEditorWrap},a.createElement(it.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(je.h,{scrollId:"name",watch:!0,height:140,placeholder:ft,showNullButton:!0,onCMBeforeChange:(Gt,wn)=>{Ft(Gt,wn,Ve,rn)}}))),a.createElement(it.default.List,{name:dt,rules:[{validator(Gt,wn){if(!(wn!=null&&wn.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const He of wn){const{answer_text:ct}=He||{};if(ct!=null&&ct.some(Lt=>(Lt==null?void 0:Lt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Gt,{add:wn,remove:He},{errors:ct})=>(cn.current=wn,at.current=He,a.createElement(a.Fragment,null,a.createElement(it.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Gt!=null&&Gt.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}}),Gt.map((Lt,mt)=>{var Nt=Lt,{key:st,name:nt}=Nt,De=Ge(Nt,["key","name"]),fe,Xe;return a.createElement("div",{style:{marginBottom:10},key:st},a.createElement(Be.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Ne.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${ue.Z.blankIndex}`},"\u586B\u7A7A\u9879",mt+1),a.createElement(it.default.Item,ye(ve({},De),{name:[nt,"model"],noStyle:!0}),a.createElement(qe.ZP.Group,{onChange:()=>{const Rt=Le.getFieldValue(dt);Le.setFieldsValue({[dt]:Rt.map((Oe,Ie)=>ye(ve({},Oe),{answer_text:nt===Ie?[""]:Oe.answer_text}))})}},a.createElement(qe.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(qe.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(it.default.Item,ye(ve({},De),{name:[nt,"answer_text"],noStyle:!0}),((Xe=(fe=Le.getFieldValue(dt))==null?void 0:fe[nt])==null?void 0:Xe.model)===1?a.createElement(Ae,null):a.createElement(ze,null))),ot&&a.createElement(Ne.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(it.default.Item,ye(ve({},De),{name:[nt,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ue.Z.blankInputNumberWrapper}),a.createElement(Ke.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(it.default.Item,ye(ve({},De),{name:[nt,"position"],noStyle:!0}),a.createElement(_e.default,{type:"hidden"})))))})))),a.createElement(Be.Z,{align:"middle"},a.createElement(it.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(it.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")),(Kn==null?void 0:Kn.length)>1&&a.createElement(Be.Z,{align:"middle",className:(Kn==null?void 0:Kn.length)>1?"mb30":`${ue.Z.hide}`},a.createElement(it.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:()=>Dt(!0)},a.createElement(it.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(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return te}});var b=ee(59301),de=ee(95237),Be=ee(43604),Ne=ee(78241),_e=ee(8423),ke=ee(31457),le=ee(59301),it=Object.defineProperty,qe=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,ue=(re,se,ie)=>se in re?it(re,se,{enumerable:!0,configurable:!0,writable:!0,value:ie}):re[se]=ie,E=(re,se)=>{for(var ie in se||(se={}))Je.call(se,ie)&&ue(re,ie,se[ie]);if(je)for(var ie of je(se))Ye.call(se,ie)&&ue(re,ie,se[ie]);return re},a=(re,se)=>qe(re,Ke(se)),x=(re,se)=>{var ie={};for(var ve in re)Je.call(re,ve)&&se.indexOf(ve)<0&&(ie[ve]=re[ve]);if(re!=null&&je)for(var ve of je(re))se.indexOf(ve)<0&&Ye.call(re,ve)&&(ie[ve]=re[ve]);return ie};const y={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:re,onChange:se,form:ie})=>{const ve=(re==null?void 0:re.is_answer)===1,ye=re==null?void 0:re.choice_text,Ge=()=>{const Ae=ie.getFieldsValue().choices.map(ze=>({choice_text:ze.choice_text,is_answer:0}));ie.setFieldsValue({choices:Ae}),se(a(E({},re),{is_answer:1}))};return le.createElement(de.Z,{className:_e.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},le.createElement(Be.Z,{onClick:Ge,className:`${_e.Z.choiceIndex} ${_e.Z.judgementIndex} ${ve?_e.Z.activeAnswer:""}`},y[ye]),le.createElement(Be.Z,{flex:1,className:`${_e.Z.editorWrap} ml15`},le.createElement("div",{className:`${_e.Z.inputBorder} ${_e.Z.placeholder} ${ve?_e.Z.activeJudgementAnswer:""}`},ye)),le.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},le.createElement("div",{onClick:Ge,className:`${_e.Z.setAnswerBtn} ${ve?_e.Z.activeAnswer:""}`},ve?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},te=({questionTitlePlaceholder:re,choiceKey:se,form:ie})=>{const[ve,ye]=(0,b.useState)(!1);return le.createElement("div",{className:_e.Z.wrap},le.createElement("div",{className:_e.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(Ge,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"))}}]},Ge=>le.createElement("div",{id:"choices"},Ge.map(Ae=>{var ze=Ae,{key:he,name:Qe}=ze,We=x(ze,["key","name"]);return le.createElement(Ne.default.Item,a(E({},We),{key:he,name:Qe,noStyle:!0}),le.createElement(z,{form:ie}))})))),le.createElement("div",{onClick:()=>ye(!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(Vt,jt,ee){"use strict";ee.d(jt,{h:function(){return E},x:function(){return a}});var b=ee(39793),de=ee(8423),Be=ee(91842),Ne=ee(59301),_e=Object.defineProperty,ke=Object.defineProperties,le=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,je=(x,y,z)=>y in x?_e(x,y,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[y]=z,Je=(x,y)=>{for(var z in y||(y={}))qe.call(y,z)&&je(x,z,y[z]);if(it)for(var z of it(y))Ke.call(y,z)&&je(x,z,y[z]);return x},Ye=(x,y)=>ke(x,le(y)),ue=(x,y)=>{var z={};for(var te in x)qe.call(x,te)&&y.indexOf(te)<0&&(z[te]=x[te]);if(x!=null&&it)for(var te of it(x))y.indexOf(te)<0&&Ke.call(x,te)&&(z[te]=x[te]);return z};const E=x=>{var y=x,{value:z,onChange:te,scrollId:re}=y,se=ue(y,["value","onChange","scrollId"]);return Ne.createElement("div",{id:re||""},Ne.createElement(b.Z,Ye(Je({},se),{defaultValue:z,onChange:(ie,ve)=>{ve!=null&&ve.length?te(ie,ve):te(ie)}})))},a=({value:x,onChange:y,placeholder:z,height:te=140,isEdit:re,miniToolbar:se,watch:ie=!0})=>re?Ne.createElement(b.Z,{watch:ie,isFocus:!0,height:te||void 0,placeholder:z,defaultValue:x,onChange:y,miniToolbar:se}):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(Vt,jt,ee){"use strict";ee.d(jt,{W:function(){return ze}});var b=ee(59301),de=ee(8591),Be=ee(12563),Ne=ee(78241),_e=ee(78673),ke=ee(95237),le=ee(43604),it=ee(6848),qe=ee(92832),Ke=ee(5871),je=ee(8423),Je=ee(31457),Ye=ee(39793),ue=ee(61485),E=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,re=(he,Qe,We)=>Qe in he?E(he,Qe,{enumerable:!0,configurable:!0,writable:!0,value:We}):he[Qe]=We,se=(he,Qe)=>{for(var We in Qe||(Qe={}))z.call(Qe,We)&&re(he,We,Qe[We]);if(y)for(var We of y(Qe))te.call(Qe,We)&&re(he,We,Qe[We]);return he},ie=(he,Qe)=>a(he,x(Qe)),ve=(he,Qe)=>{var We={};for(var ft in he)z.call(he,ft)&&Qe.indexOf(ft)<0&&(We[ft]=he[ft]);if(he!=null&&y)for(var ft of y(he))Qe.indexOf(ft)<0&&te.call(he,ft)&&(We[ft]=he[ft]);return We};const ye=he=>{var Qe=he,{value:We,onChange:ft}=Qe,Le=ve(Qe,["value","onChange"]);const ot=dt=>{ft([dt])};return b.createElement(Ye.Z,ie(se({},Le),{defaultValue:We==null?void 0:We[0],onChange:ot}))},Ge=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 "))),ze=({questionTitlePlaceholder:he,form:Qe,showKeywords:We,isMustKeyWords:ft=We})=>{const[Le,ot]=(0,b.useState)(!1),[dt,gt]=(0,b.useState)(""),Dt=Ne.default.useWatch("use_keywords",Qe),sn=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(Je.h,{scrollId:"name",watch:!0,height:140,placeholder:he}))),b.createElement(Ne.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},b.createElement(ye,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),We&&!ft&&b.createElement(Ne.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},b.createElement(_e.Z,{defaultChecked:!0})),We&&ft&&b.createElement(ke.Z,{align:"middle",className:"mb30"},b.createElement(Ne.default.Item,{name:"use_keywords",valuePropName:"checked"},b.createElement(_e.Z,null)),b.createElement(le.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(le.Z,null,b.createElement(it.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(ue.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Dt||!ft)&&b.createElement(Ne.default.List,{name:"keywords",rules:[{validator(Ft,on){return ft?on!=null&&on.length?(on==null?void 0:on.reduce((Ve,at)=>Ve+at.score,0))>parseFloat(sn)?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()}}]},(Ft,{add:on,remove:cn})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${je.Z.title} mb10`},ft?"\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(qe.default,{value:dt,onChange:Ve=>{gt(Ve.target.value)},maxLength:50,allowClear:!0,onPressEnter:Ve=>{var at,rn,Kn,Gt;const wn=`${(at=Ve.target)==null?void 0:at.value}`,He=(Kn=(rn=wn==null?void 0:wn.split("|"))==null?void 0:rn.filter(mt=>!!mt))==null?void 0:Kn.map(mt=>mt==null?void 0:mt.trim()),ct=Qe.getFieldValue("keywords"),Lt=((Gt=ct==null?void 0:ct.map(mt=>mt==null?void 0:mt.keyword))==null?void 0:Gt.flat())||[];for(const mt of He)if(Lt.includes(mt)){de.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Ge(wn)&&(on({keyword:He,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")),Ft.map(Ve=>{var at=Ve,{key:rn,name:Kn}=at,Gt=ve(at,["key","name"]);return b.createElement(ke.Z,{key:rn,className:"mb20",style:{marginRight:148}},b.createElement(le.Z,{flex:1},b.createElement(ke.Z,{align:"middle",justify:"space-between"},b.createElement(Ne.default.Item,ie(se({},Gt),{name:[Kn,"keyword"]}),b.createElement(Ae,{onClose:()=>cn(Kn)})),ft&&b.createElement(Ne.default.Item,ie(se({},Gt),{name:[Kn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:je.Z.blankInputNumberWrapper}),b.createElement(Ke.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:()=>ot(!0)},b.createElement(Ne.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Je.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Le}))))}},74716:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return _e}});var b={text:"text___bQulM",sup:"sup___rX_Y3"},de=ee(78241),Be=ee(59301),_e=({text:ke,name:le="question_score"})=>{const it=({value:qe})=>Be.createElement("div",{className:b.text},Be.createElement("span",{className:b.sup},"*"),Be.createElement("span",{className:"mr10"},"\u5206\u503C"),Be.createElement("span",null,qe||"--"),Be.createElement("span",{className:"c-grey-999"},ke));return Be.createElement(de.default.Item,{noStyle:!0,name:le},Be.createElement(it,null))}},87444:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Ge},P:function(){return ie}});var b=ee(59301),de=ee(78241),Be=ee(43418),Ne=ee(5112),_e=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"},it=ee(75736),qe=Object.defineProperty,Ke=Object.defineProperties,je=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,E=(Ae,ze,he)=>ze in Ae?qe(Ae,ze,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ae[ze]=he,a=(Ae,ze)=>{for(var he in ze||(ze={}))Ye.call(ze,he)&&E(Ae,he,ze[he]);if(Je)for(var he of Je(ze))ue.call(ze,he)&&E(Ae,he,ze[he]);return Ae},x=(Ae,ze)=>Ke(Ae,je(ze)),y=(Ae,ze)=>{var he={};for(var Qe in Ae)Ye.call(Ae,Qe)&&ze.indexOf(Qe)<0&&(he[Qe]=Ae[Qe]);if(Ae!=null&&Je)for(var Qe of Je(Ae))ze.indexOf(Qe)<0&&ue.call(Ae,Qe)&&(he[Qe]=Ae[Qe]);return he},z=(Ae,ze,he)=>new Promise((Qe,We)=>{var ft=dt=>{try{ot(he.next(dt))}catch(gt){We(gt)}},Le=dt=>{try{ot(he.throw(dt))}catch(gt){We(gt)}},ot=dt=>dt.done?Qe(dt.value):Promise.resolve(dt.value).then(ft,Le);ot((he=he.apply(Ae,ze)).next())});const te=({studentNames:Ae,total:ze})=>{const he=["","\u4E00","\u4E24","\u4E09"];return ze>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},ze),"\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[ze],"\u540D\u5B66\u751F")},re=({used:Ae,copy:ze,canNotCopy:he,studentNames:Qe,studentCount:We,inPaper:ft,is_random:Le=!1,position:ot=""})=>{const dt=()=>{if(ze>0&&he>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},ze),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",b.createElement("span",{className:le.orangeColor},he),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(ze>0&&he===0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},ze),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(ze===0&&he>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},he),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},gt=ot||(ft?"\u8BD5\u5377":"\u8BFE\u7A0B");return b.createElement("span",null,b.createElement(te,{studentNames:Qe,total:We}),"\u5B66\u4E60\u8FC7",gt,"\u4E2D\u7684",b.createElement("span",{className:le.orangeColor},Ae),"\u4E2A\u9879\u76EE\uFF0C",dt(),"\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")},se=({onCancel:Ae,onOk:ze,visible:he,inPaper:Qe,renderData:We,type:ft,isMultipleCourse:Le=!1})=>{const[ot]=de.default.useForm(),[dt,gt]=(0,b.useState)(1),[Dt,sn]=(0,b.useState)(!1),Ft=(0,b.useMemo)(()=>(We==null?void 0:We.total_num)===1&&(We==null?void 0:We.can_copy_num)===1,[We]),on=(0,b.useMemo)(()=>{var cn;return(cn=We==null?void 0:We.course_data_list)==null?void 0:cn.filter(Ve=>Ve.is_show)},[We]);return b.createElement(b.Fragment,null,Ft?b.createElement(Be.default,{centered:!0,closable:!0,open:he,destroyOnClose:!0,title:"\u63D0\u793A",className:le.antdModal,width:682,confirmLoading:Dt,onCancel:Ae,onOk:()=>z(void 0,null,function*(){var cn;sn(!0);let Ve=dt;if(Le){const at=a({},ot.getFieldsValue());Ve=(cn=We==null?void 0:We.course_data_list)==null?void 0:cn.map(rn=>at[rn.id]!==void 0?x(a({},rn),{is_copy:at[rn.id]}):rn)}yield ze(Ve),sn(!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(te,{studentNames:We==null?void 0:We.student_names,total:We==null?void 0:We.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),Le?b.createElement(de.default,{form:ot,preserve:!1},on==null?void 0:on.map(cn=>b.createElement(b.Fragment,{key:cn.id},b.createElement("h3",{className:"ml15 mb5"},cn.name),b.createElement(de.default.Item,{name:cn.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:dt,onChange:cn=>gt(cn.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:Dt,title:"\u63D0\u793A",width:682,onCancel:Ae,onOk:()=>z(void 0,null,function*(){var cn;sn(!0);let Ve=0;if(Le){const at=a({},ot.getFieldsValue());Ve=(cn=We==null?void 0:We.course_data_list)==null?void 0:cn.map(rn=>at[rn.id]!==void 0?x(a({},rn),{is_use:at[rn.id]}):rn)}yield ze(Ve),sn(!1)})},b.createElement("div",{className:le.content},b.createElement(te,{studentNames:We==null?void 0:We.student_names,total:We==null?void 0:We.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",Le?b.createElement(de.default,{form:ot,preserve:!1},b.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),on==null?void 0:on.map(cn=>b.createElement(b.Fragment,{key:cn.id},b.createElement("h3",{className:"ml15 mb5"},cn.name),b.createElement(de.default.Item,{name:cn.id,initialValue:1},b.createElement(Ne.ZP.Group,{className:le.content},b.createElement(Ne.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),b.createElement(Ne.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):b.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",b.createElement("span",{className:le.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},ie=function(){const[Ae,ze]=(0,b.useState)(!1),[he,Qe]=(0,b.useState)();return[Ae,()=>ze(!1),he,Le=>z(this,null,function*(){var ot;const dt=Le,{isImportMultipleCourse:gt=!1}=dt,Dt=y(dt,["isImportMultipleCourse"]);console.log(Le);const sn=(Le==null?void 0:Le.result)||(yield(0,it.Tr)(Dt));return"status"in sn?!1:gt?((ot=sn==null?void 0:sn.course_data_list)==null?void 0:ot.some(on=>on.is_show))?(Qe(sn),ze(!0),!0):sn.course_data_list||[]:sn.student_count===0?!1:(Qe(sn),ze(!0),!0)})]},ve=Ae=>{const[ze]=de.default.useForm(),[he,Qe]=(0,b.useState)(!1),{onCancel:We,onOk:ft,visible:Le,inPaper:ot=!1,renderData:dt,type:gt,isMultipleCourse:Dt=!1,position:sn}=Ae;let Ft=(0,b.useMemo)(()=>ot?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:le.tableCell,render(Ve,at){return b.createElement("a",{href:`/shixuns/${at.identifier}/challenges`,target:"_blank"},Ve)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:(Ve,at)=>b.createElement(b.Fragment,null,b.createElement(de.default.Item,{name:[`${gt==="subject"?at.stage_shixun_id:at.shixun_course_id||at.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"?at==null?void 0:at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(_e.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:le.tableCell,render(Ve,at){return b.createElement("a",{href:`/shixuns/${at.identifier}/challenges`,target:"_blank"},Ve)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Ve,at)=>b.createElement(de.default.Item,{name:[`${gt==="subject"?at.stage_shixun_id:at.shixun_course_id||at.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:(Ve,at)=>b.createElement(de.default.Item,{name:[`${gt==="subject"?at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_copy"],initialValue:1},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426")))}],[ot]),on=(0,b.useMemo)(()=>ot?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:le.tableCell,align:"center",ellipsis:!0,render:(Ve,at)=>b.createElement(b.Fragment,null,b.createElement("a",{href:`/shixuns/${at.identifier}/challenges`,target:"_blank"},Ve),b.createElement(de.default.Item,{name:[`${gt==="subject"?at==null?void 0:at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(_e.default,{type:"hidden"})),b.createElement(de.default.Item,{name:[`${gt==="subject"?at==null?void 0:at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(_e.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:le.tableCell,ellipsis:!0,align:"center",render:(Ve,at)=>b.createElement("a",{href:`/shixuns/${at.identifier}/challenges`,target:"_blank"},Ve)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:(Ve,at)=>b.createElement(b.Fragment,null,b.createElement(de.default.Item,{name:[`${gt==="subject"?at==null?void 0:at.stage_shixun_id:at.shixun_course_id||at.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"?at==null?void 0:at.stage_shixun_id:at.shixun_course_id||at.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(_e.default,{type:"hidden"})))}],[ot]);if(Dt){const Ve={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:le.tableCell,render:(at,rn)=>b.createElement("a",{href:`/classrooms/${rn.course_id}`},at)};Ft=[Ve,...Ft],on=[Ve,...on]}const cn=(0,b.useMemo)(()=>re({used:dt==null?void 0:dt.repeat_shixun_num,copy:dt==null?void 0:dt.can_copy_num,canNotCopy:dt==null?void 0:dt.no_copy_num,studentNames:dt==null?void 0:dt.student_names,studentCount:dt==null?void 0:dt.student_count,is_random:dt==null?void 0:dt.is_random,inPaper:ot,position:sn}),[dt,ot,sn]);return b.createElement(Be.default,{title:"\u63D0\u793A",centered:!0,open:Le,confirmLoading:he,onOk:()=>z(void 0,null,function*(){Qe(!0);const Ve=ze.getFieldsValue(),at=Object.keys(Ve).map(rn=>({id:parseInt(rn.split("_")[0]),course_id:parseInt(rn.split("_")[1]),is_use:Ve[rn].is_use,is_copy:Ve[rn].is_copy}));yield ft(at),Qe(!1)}),onCancel:We,width:880,okText:"\u786E\u8BA4",className:le.antdModal,destroyOnClose:!0},b.createElement(de.default,{form:ze,preserve:!1},b.createElement("div",{className:le.brief},cn),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")),(dt==null?void 0:dt.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:Ft,className:le.antdTable,dataSource:dt==null?void 0:dt.can_copy_list,rowKey:gt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(dt==null?void 0:dt.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:on,className:le.antdTable,dataSource:dt==null?void 0:dt.no_copy_list,rowKey:gt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(dt==null?void 0:dt.no_use_list.length)>0&&(dt==null?void 0:dt.no_use_list.map(Ve=>b.createElement("div",{key:gt==="subject"?Ve.stage_shixun_id:Ve.shixun_course_id||Ve.id},b.createElement(de.default.Item,{name:[`${gt==="subject"?Ve==null?void 0:Ve.stage_shixun_id:Ve.shixun_course_id||Ve.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(_e.default,{type:"hidden"})),b.createElement(de.default.Item,{name:[`${gt==="subject"?Ve==null?void 0:Ve.stage_shixun_id:Ve.shixun_course_id||Ve.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(_e.default,{type:"hidden"})))))))};var Ge=Ae=>{const{modalType:ze}=Ae;return ze==="multiple"?b.createElement(ve,a({},Ae)):b.createElement(se,a({},Ae))}},3039:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});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,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AA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ke=(qe,Ke,je)=>new Promise((Je,Ye)=>{var ue=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?Je(x.value):Promise.resolve(x.value).then(ue,E);a((je=je.apply(qe,Ke)).next())}),it=({type:qe,resdata:Ke,onok:je,oktext:Je,okloading:Ye})=>{const[ue,E]=(0,b.useState)(!1),{can_copy_list:a,can_copy_num:x,challenge_type:y,course_data_list:z,no_copy_list:te,no_copy_num:re,no_use_list:se,no_use_num:ie,repeat_shixun_num:ve,student_count:ye,total_num:Ge,use_num:Ae}=Ke;let ze=x>0||qe==="exercise";(0,b.useEffect)(()=>{(Ke==null?void 0:Ke.student_count)>0&&E(!0)},[Ke]),console.log("---11",Ye),(0,b.useEffect)(()=>{Ye||E(!1)},[Ye]);const he=()=>{if(qe==="exercise"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},ye),"\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(qe==="exercise"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},ye),"\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(qe==="shixun"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},ye),"\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(qe==="shixun"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},ye),"\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(qe==="subject"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},ye),"\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(qe==="subject"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:de.orangeColor},ye)," \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(qe==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},ye),"\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(qe==="shixunpush"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},ye),"\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(qe==="shixunpush"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},ye),"\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(qe==="exercise"||qe==="subject"||qe==="exercisepush"||qe==="shixunpush")return b.createElement("div",{style:{marginTop:20}},re>0&&b.createElement("div",null,b.createElement("span",{className:de.flex},b.createElement("img",{src:_e,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},qe==="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"),(qe==="subject"||qe==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ze&&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"),qe==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",ze&&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,te==null?void 0:te.map((We,ft)=>b.createElement("a",{href:`/shixuns/${We.identifier}/challenges`,target:"_blank"},"\u300A",We==null?void 0:We.name,"\u300B",ft+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},qe==="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"),(qe==="subject"||qe==="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"),qe==="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((We,ft)=>b.createElement("a",{href:`/shixuns/${We.identifier}/challenges`,target:"_blank"},"\u300A",We==null?void 0:We.name,"\u300B",ft+1!==x&&"\u3001"))))));if(qe==="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:ue,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!ze&&"none"}},zIndex:1003,confirmLoading:Ye,okText:ze?Je:"\u6211\u77E5\u9053\u4E86",onOk:()=>ke(void 0,null,function*(){ze?yield je([...a,...se]):E(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},he(),Qe()))}},69720:function(Vt,jt,ee){"use strict";ee.d(jt,{h:function(){return re}});var b=ee(59301),de=ee(57809),Be=ee(78241),Ne=ee(3113),_e=ee(89780),ke=ee.n(_e),le=ee(8336),it=ee(12469),qe=Object.defineProperty,Ke=Object.defineProperties,je=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,E=(se,ie,ve)=>ie in se?qe(se,ie,{enumerable:!0,configurable:!0,writable:!0,value:ve}):se[ie]=ve,a=(se,ie)=>{for(var ve in ie||(ie={}))Ye.call(ie,ve)&&E(se,ve,ie[ve]);if(Je)for(var ve of Je(ie))ue.call(ie,ve)&&E(se,ve,ie[ve]);return se},x=(se,ie)=>Ke(se,je(ie));const y=de.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};jt.Z=({callback:se,onCancel:ie})=>{const[ve,ye]=(0,b.useState)("python");function Ge(ze){ye(te[ze][1])}function Ae(ze){se(ze)}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:ze=>ze.parentNode,onChange:Ge},Object.keys(te).map(ze=>b.createElement(y,{key:ze,value:ze},te[ze][0])))),b.createElement(Be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(re,{mode:ve})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ne.ZP,{type:"ghost",onClick:ie},"\u53D6\u6D88")))};function re({value:se,onChange:ie,mode:ve,options:ye={}}){const Ge=(0,b.useRef)(),[Ae,ze]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ae){let he=function(Qe){const We=Qe.getValue();ie&&ie(We)};return Ae.on("change",he),()=>{Ae.off("change",he)}}},[Ae,ie]),(0,b.useEffect)(()=>{Ae&&Ae.setOption("mode",ve)},[Ae,ve]),(0,b.useEffect)(()=>{Ae&&(se!==Ae.getValue()||se==="")&&setTimeout(()=>{Ae.setValue(se||"")},300)},[Ae,se]),(0,b.useEffect)(()=>{if(Ge.current&&!Ae){const he=ke().fromTextArea(Ge.current,a({mode:ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ye));ze(he)}},[Ge.current,Ae]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:Ge}))}},39793:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Sa}});var b=ee(59301),de=ee(89780),Be=ee.n(de),Ne=ee(76374),_e=ee(8336),ke=ee(6313),le=ee(25717),it=ee(99498),qe=ee(25419),Ke=ee(67549),je=ee(91842),Je=({value:It="",className:kt,showTextOnly:bt,showLines:Qn,style:Yn={}})=>{const Gn=(0,b.useMemo)(()=>"",[It]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:Gn}}))},Ye=ee(59301),ue=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(It,kt,bt)=>kt in It?ue(It,kt,{enumerable:!0,configurable:!0,writable:!0,value:bt}):It[kt]=bt,re=(It,kt)=>{for(var bt in kt||(kt={}))y.call(kt,bt)&&te(It,bt,kt[bt]);if(x)for(var bt of x(kt))z.call(kt,bt)&&te(It,bt,kt[bt]);return It},se=(It,kt)=>E(It,a(kt));let ie=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function ve({onActionCallback:It,title:kt,icon:bt,actionName:Qn,className:Yn="",children:Gn}){function ir(){It(Qn)}return Ye.createElement("a",{title:kt,className:Yn,onClick:ir},Ye.createElement("i",{className:`${bt}`}),Gn)}var ye=({watch:It,showNullButton:kt,showNullProgramButton:bt,onActionCallback:Qn,fullScreen:Yn,insertTemp:Gn,hidetoolBar:ir,extraUse:Ba})=>{const Xn=[...ie,{title:`${It?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${It?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ye.createElement("ul",{className:"markdown-toolbar-container"},!ir&&Xn.map((Ua,wa)=>Ye.createElement("li",{key:wa},Ua.actionName?Ye.createElement(ve,se(re({},Ua),{onActionCallback:Qn})):Ye.createElement("span",{className:"v-line"}))),kt?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:Qn},Ye.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,bt?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:Qn},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:Qn},Ye.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Gn&&Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Gn}`,onActionCallback:Qn},Ye.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Ba&&Ye.createElement("li",null,Ba),Ye.createElement("li",{className:"btn-full-screen"},Ye.createElement(ve,{icon:`${Yn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Yn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Qn})))},Ge=ee(91558),Ae=ee(78241),ze=ee(92832),he=ee(3113),Qe=Object.defineProperty,We=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,gt=(It,kt,bt)=>kt in It?Qe(It,kt,{enumerable:!0,configurable:!0,writable:!0,value:bt}):It[kt]=bt,Dt=(It,kt)=>{for(var bt in kt||(kt={}))ot.call(kt,bt)&&gt(It,bt,kt[bt]);if(Le)for(var bt of Le(kt))dt.call(kt,bt)&&gt(It,bt,kt[bt]);return It},sn=(It,kt)=>We(It,ft(kt));const Ft={labelCol:{span:4},wrapperCol:{span:20}};var on=({callback:It,onCancel:kt})=>{function bt(Qn){It(Qn)}return b.createElement(Ae.default,sn(Dt({},Ft),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:bt,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(ze.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(ze.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:kt},"\u53D6\u6D88")))},cn=ee(69720),Ve=ee(17077),at=ee(43418),rn=ee(95237),Kn=ee(9507),Gt=ee(59301),wn=({callback:It,onCancel:kt})=>{const bt=document.createElement("canvas"),Qn=bt.getContext("2d");bt.width=1e3,bt.height=800,Qn.fillStyle="#ffffff",Qn.fillRect(0,0,bt.width,bt.height);const Yn=bt.toDataURL("image/png");return Gt.createElement(at.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Gt.createElement(rn.Z,{style:{height:"100vh"}},Gt.createElement(Kn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Yn,visible:!0,title:String(Date.now())},onOk:Gn=>{It({src:Gn.url})},onClose:kt})))},He=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 It=this.diagram;return!(It===null||It.isReadOnly||It.isModelReadOnly||It.selection.count<2)},ct.prototype.alignLeft=function(){var It=this.diagram;It.startTransaction("aligning left");var kt=1/0;It.selection.each(function(bt){bt instanceof go.Link||(kt=Math.min(bt.position.x,kt))}),It.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(kt,bt.position.y))}),It.commitTransaction("aligning left")},ct.prototype.alignRight=function(){var It=this.diagram;It.startTransaction("aligning right");var kt=-1/0;It.selection.each(function(bt){if(!(bt instanceof go.Link)){var Qn=bt.actualBounds.x+bt.actualBounds.width;kt=Math.max(Qn,kt)}}),It.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(kt-bt.actualBounds.width,bt.position.y))}),It.commitTransaction("aligning right")},ct.prototype.alignTop=function(){var It=this.diagram;It.startTransaction("alignTop");var kt=1/0;It.selection.each(function(bt){bt instanceof go.Link||(kt=Math.min(bt.position.y,kt))}),It.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(bt.position.x,kt))}),It.commitTransaction("alignTop")},ct.prototype.alignBottom=function(){var It=this.diagram;It.startTransaction("aligning bottom");var kt=-1/0;It.selection.each(function(bt){if(!(bt instanceof go.Link)){var Qn=bt.actualBounds.y+bt.actualBounds.height;kt=Math.max(Qn,kt)}}),It.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(bt.actualBounds.x,kt-bt.actualBounds.height))}),It.commitTransaction("aligning bottom")},ct.prototype.alignCenterX=function(){var It=this.diagram,kt=It.selection.first();if(kt){It.startTransaction("aligning Center X");var bt=kt.actualBounds.x+kt.actualBounds.width/2;It.selection.each(function(Qn){Qn instanceof go.Link||Qn.move(new go.Point(bt-Qn.actualBounds.width/2,Qn.actualBounds.y))}),It.commitTransaction("aligning Center X")}},ct.prototype.alignCenterY=function(){var It=this.diagram,kt=It.selection.first();if(kt){It.startTransaction("aligning Center Y");var bt=kt.actualBounds.y+kt.actualBounds.height/2;It.selection.each(function(Qn){Qn instanceof go.Link||Qn.move(new go.Point(Qn.actualBounds.x,bt-Qn.actualBounds.height/2))}),It.commitTransaction("aligning Center Y")}},ct.prototype.alignColumn=function(It){var kt=this.diagram;kt.startTransaction("align Column"),It===void 0&&(It=0),It=parseFloat(It);var bt=new Array;kt.selection.each(function(Ba){Ba instanceof go.Link||bt.push(Ba)});for(var Qn=0;Qn<bt.length-1;Qn++){var Yn=bt[Qn],Gn=Yn.actualBounds.y+Yn.actualBounds.height+It,ir=bt[Qn+1];ir.move(new go.Point(Yn.actualBounds.x,Gn))}kt.commitTransaction("align Column")},ct.prototype.alignRow=function(It){It===void 0&&(It=0),It=parseFloat(It);var kt=this.diagram;kt.startTransaction("align Row");var bt=new Array;kt.selection.each(function(Ba){Ba instanceof go.Link||bt.push(Ba)});for(var Qn=0;Qn<bt.length-1;Qn++){var Yn=bt[Qn],Gn=Yn.actualBounds.x+Yn.actualBounds.width+It,ir=bt[Qn+1];ir.move(new go.Point(Gn,Yn.actualBounds.y))}kt.commitTransaction("align Row")},ct.prototype.canRotate=function(It){var kt=this.diagram;return!(kt===null||kt.isReadOnly||kt.isModelReadOnly||kt.selection.count<1)},ct.prototype.rotate=function(It){It===void 0&&(It=90);var kt=this.diagram;kt.startTransaction("rotate "+It.toString());var kt=this.diagram;kt.selection.each(function(bt){bt instanceof go.Link||bt instanceof go.Group||(bt.angle+=It)}),kt.commitTransaction("rotate "+It.toString())},ct.prototype.pullToFront=function(){var It=this.diagram;It.startTransaction("pullToFront");var kt=new go.Map;It.selection.each(function(bt){kt.set(bt.layer,0)}),kt.iteratorKeys.each(function(bt){var Qn=0;bt.parts.each(function(Yn){if(!Yn.isSelected){var Gn=Yn.zOrder;isNaN(Gn)?Yn.zOrder=0:Qn=Math.max(Qn,Gn)}}),kt.set(bt,Qn)}),It.selection.each(function(bt){ct._assignZOrder(bt,kt.get(bt.layer)+1)}),It.commitTransaction("pullToFront")},ct.prototype.pushToBack=function(){var It=this.diagram;It.startTransaction("pushToBack");var kt=new go.Map;It.selection.each(function(bt){kt.set(bt.layer,0)}),kt.iteratorKeys.each(function(bt){var Qn=0;bt.parts.each(function(Yn){if(!Yn.isSelected){var Gn=Yn.zOrder;isNaN(Gn)?Yn.zOrder=0:Qn=Math.min(Qn,Gn)}}),kt.set(bt,Qn)}),It.selection.each(function(bt){ct._assignZOrder(bt,kt.get(bt.layer)-1-ct._findGroupDepth(bt))}),It.commitTransaction("pushToBack")},ct._assignZOrder=function(It,kt,bt){bt===void 0&&(bt=It),It.layer===bt.layer&&(It.zOrder=kt),It instanceof go.Group&&It.memberParts.each(function(Qn){ct._assignZOrder(Qn,kt+1,bt)})},ct._findGroupDepth=function(It){if(It instanceof go.Group){var kt=0;return It.memberParts.each(function(bt){kt=Math.max(kt,ct._findGroupDepth(bt))}),kt+1}else return 0},ct.prototype.doKeyDown=function(){var It=this.diagram;if(It!==null){var kt=It.lastInput;if(kt.key==="Up"||kt.key==="Down"||kt.key==="Left"||kt.key==="Right"){var bt=this.arrowKeyBehavior;if(bt==="none")return;if(bt==="select"){this._arrowKeySelect();return}else if(bt==="move"){this._arrowKeyMove();return}else if(bt==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},ct.prototype._getAllParts=function(){var It=new Array;return this.diagram.nodes.each(function(kt){It.push(kt)}),this.diagram.parts.each(function(kt){It.push(kt)}),It},ct.prototype._arrowKeyMove=function(){var It=this.diagram,kt=It.lastInput,bt=0,Qn=0;if(kt.control||kt.meta)bt=1,Qn=1;else if(It.grid!==null){var Yn=It.grid.gridCellSize;Qn=Yn.width,bt=Yn.height}It.startTransaction("arrowKeyMove"),It.selection.each(function(Gn){kt.key==="Up"?Gn.move(new go.Point(Gn.actualBounds.x,Gn.actualBounds.y-bt)):kt.key==="Down"?Gn.move(new go.Point(Gn.actualBounds.x,Gn.actualBounds.y+bt)):kt.key==="Left"?Gn.move(new go.Point(Gn.actualBounds.x-Qn,Gn.actualBounds.y)):kt.key==="Right"&&Gn.move(new go.Point(Gn.actualBounds.x+Qn,Gn.actualBounds.y))}),It.commitTransaction("arrowKeyMove")},ct.prototype._arrowKeySelect=function(){var It=this.diagram,kt=It.lastInput,bt=null;kt.key==="Up"?bt=this._findNearestPartTowards(270):kt.key==="Down"?bt=this._findNearestPartTowards(90):kt.key==="Left"?bt=this._findNearestPartTowards(180):kt.key==="Right"&&(bt=this._findNearestPartTowards(0)),bt!==null&&(kt.shift?bt.isSelected=!0:kt.control||kt.meta?bt.isSelected=!bt.isSelected:It.select(bt))},ct.prototype._findNearestPartTowards=function(It){var kt=this.diagram.selection.first();if(kt===null)return null;for(var bt=kt.actualBounds.center,Qn=this._getAllParts(),Yn=1/0,Gn=kt,ir=0;ir<Qn.length;ir++){var Ba=Qn[ir];if(Ba!==kt&&Ba.canSelect()){var Xn=Ba.actualBounds.center,Ua=bt.directionPoint(Xn),wa=this._angleCloseness(Ua,It);if(wa<=45){var Nn=bt.distanceSquaredPoint(Xn);Nn*=1+Math.sin(wa*Math.PI/180),Nn<Yn&&(Yn=Nn,Gn=Ba)}}}return Gn},ct.prototype._angleCloseness=function(It,kt){return Math.min(Math.abs(kt-It),Math.min(Math.abs(kt+360-It),Math.abs(kt-360-It)))},ct.prototype._arrowKeyTree=function(){var It=this.diagram,kt=It.selection.first();if(kt instanceof go.Node){var bt=It.lastInput;if(bt.key==="Right"){if(!kt.isTreeLeaf)if(!kt.isTreeExpanded)It.commandHandler.canExpandTree(kt)&&It.commandHandler.expandTree(kt);else{var Qn=this._sortTreeChildrenByY(kt).first();Qn!==null&&It.select(Qn)}}else if(bt.key==="Left")if(!kt.isTreeLeaf&&kt.isTreeExpanded)It.commandHandler.canCollapseTree(kt)&&It.commandHandler.collapseTree(kt);else{var Yn=kt.findTreeParentNode();Yn!==null&&It.select(Yn)}else if(bt.key==="Up"){var Yn=kt.findTreeParentNode();if(Yn!==null){var Gn=this._sortTreeChildrenByY(Yn),ir=Gn.indexOf(kt);if(ir>0){for(var Ba=Gn.elt(ir-1);Ba!==null&&Ba.isTreeExpanded&&!Ba.isTreeLeaf;){var Xn=this._sortTreeChildrenByY(Ba);Ba=Xn.last()}Ba!==null&&It.select(Ba)}else It.select(Yn)}}else if(bt.key==="Down")if(kt.isTreeExpanded&&!kt.isTreeLeaf){var Qn=this._sortTreeChildrenByY(kt).first();Qn!==null&&It.select(Qn)}else for(;kt!==null;){var Yn=kt.findTreeParentNode();if(Yn===null)break;var Gn=this._sortTreeChildrenByY(Yn),ir=Gn.indexOf(kt);if(ir<Gn.length-1){It.select(Gn.elt(ir+1));break}else kt=Yn}var Ua=It.selection.first();Ua!==null&&It.scrollToRect(Ua.actualBounds)}},ct.prototype._sortTreeChildrenByY=function(It){var kt=new go.List().addAll(It.findTreeChildrenNodes());return kt.sort(function(bt,Qn){var Yn=bt.location,Gn=Qn.location;return Yn.y<Gn.y?-1:Yn.y>Gn.y?1:Yn.x<Gn.x?-1:Yn.x>Gn.x?1:0}),kt},ct.prototype.copyToClipboard=function(It){go.CommandHandler.prototype.copyToClipboard.call(this,It),this._lastPasteOffset.set(this.pasteOffset)},ct.prototype.pasteFromClipboard=function(){var It=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(It,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),It},Object.defineProperty(ct.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(It){if(It!=="move"&&It!=="select"&&It!=="scroll"&&It!=="tree"&&It!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+It);this._arrowKeyBehavior=It}}),Object.defineProperty(ct.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(It){if(!(It instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+It);this._pasteOffset.set(It)}});var Lt=ct,mt=ee(63720),Nt=ee(43604),st=ee(38986),nt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},De=ee(59301),fe=(It,kt,bt)=>new Promise((Qn,Yn)=>{var Gn=Xn=>{try{Ba(bt.next(Xn))}catch(Ua){Yn(Ua)}},ir=Xn=>{try{Ba(bt.throw(Xn))}catch(Ua){Yn(Ua)}},Ba=Xn=>Xn.done?Qn(Xn.value):Promise.resolve(Xn.value).then(Gn,ir);Ba((bt=bt.apply(It,kt)).next())});function Xe({onCancel:It,callback:kt}){let bt=(0,b.useRef)(),Qn=(0,b.useRef)(),Yn=(0,b.useRef)(),Gn=(0,b.useRef)(!1);const ir=(0,b.useRef)(!1),[Ba,Xn]=(0,b.useState)(0);function Ua(){const Nn=He.bx.make,mr={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"};bt.current=new He.S0(Qn.current,{padding:20,grid:Nn(He.s_,"Grid",Nn(He.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Nn(He.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:$n=>{var na=$n.diagram.commandHandler.addTopLevelParts($n.diagram.selection,!0);na||$n.diagram.currentTool.doCancel()},commandHandler:Nn(Lt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:$n=>{var na=$n.subject;na.location=na.location.copy().snapToGridPoint($n.diagram.grid.gridOrigin,$n.diagram.grid.gridCellSize),setTimeout(()=>{$n.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:$n=>{var na=$n.subject;setTimeout(()=>{$n.diagram.commandHandler.editTextBlock()})},LinkRelinked:$n=>{var na=$n.parameter.part;na.invalidateConnectedLinks();var ba=$n.subject;$n.diagram.toolManager.linkingTool.isForwards?ba.toNode.invalidateConnectedLinks():ba.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),bt.current.nodeTemplate=Nn(He.NB,"Auto",{locationSpot:He.z6.Center,locationObjectName:"SHAPE",desiredSize:new He.$u(120,60),minSize:new He.$u(40,40),resizable:!0,resizeCellSize:new He.$u(10,10),rotatable:!0},new He.KX("location","loc",He.E9.parse).makeTwoWay(He.E9.stringify),new He.KX("desiredSize","size",He.$u.parse).makeTwoWay(He.$u.stringify),Nn(He.bn,{name:"SHAPE",fill:mr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:He.z6.AllSides,toSpot:He.z6.AllSides},new He.KX("figure"),new He.KX("fill"),new He.KX("stroke","borderColor"),new He.KX("strokeWidth","thickness"),new He.KX("strokeDashArray","dash")),Nn(He.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Nn(He.al,{margin:1,textAlign:"center",overflow:He.al.OverflowEllipsis,editable:!0},new He.KX("text").makeTwoWay(),new He.KX("stroke","color"))),bt.current.nodeTemplate.toolTip=Nn("ToolTip",Nn(He.s_,"Vertical",{maxSize:new He.$u(200,NaN)},Nn(He.al,{font:"bold 10pt sans-serif",textAlign:"center"},new He.KX("text")),Nn(He.al,{font:"10pt sans-serif",textAlign:"center"},new He.KX("text","details"))));function Nr($n,na){var ba=(Pa,vr)=>{Pa.handled=!0,Pa.diagram.model.commit(Tr=>{var Ya=vr.part.adornedPart,lr=new He.E9().setRectSpot(Ya.actualBounds,$n);lr.subtract(Ya.location),lr.scale(2,2),lr.x+=Math.sign(lr.x)*130,lr.y+=Math.sign(lr.y)*130,lr.add(Ya.location),lr.snapToGridPoint(Pa.diagram.grid.gridOrigin,Pa.diagram.grid.gridCellSize);var hr=Tr.copyNodeData(Ya.data);Tr.setGroupKeyForNodeData(hr,Tr.getGroupKeyForNodeData(Ya.data)),Tr.addNodeData(hr);var Po={from:Ya.key,to:Tr.getKeyForNodeData(hr)};Tr.addLinkData(Po);var ri=Pa.diagram.findNodeForData(hr);ri.location=lr,Pa.diagram.select(ri),setTimeout(()=>{Pa.diagram.commandHandler.editTextBlock()},20)})};return Nn(He.bn,{figure:na,alignment:$n,alignmentFocus:$n.opposite(),width:$n.equals(He.z6.Top)||$n.equals(He.z6.Bottom)?25:18,height:$n.equals(He.z6.Top)||$n.equals(He.z6.Bottom)?18:25,fill:"orange",stroke:mr.white,strokeWidth:4,mouseEnter:(Pa,vr)=>vr.fill="dodgerblue",mouseLeave:(Pa,vr)=>vr.fill="orange",isActionable:!0,click:ba,contextClick:ba})}function Vr($n){return Nn(He.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:(na,ba)=>ba.fill="dodgerblue",mouseLeave:(na,ba)=>ba.fill="orange",click:(na,ba)=>{na.diagram.commandHandler.showContextMenu(ba.part.adornedPart)}},$n||{})}bt.current.nodeTemplate.selectionAdornmentTemplate=Nn(He.uz,"Spot",Nn(He.Vm,{padding:10}),Nr(He.z6.Top,"TriangleUp"),Nr(He.z6.Left,"TriangleLeft"),Nr(He.z6.Right,"TriangleRight"),Nr(He.z6.Bottom,"TriangleDown"),Vr({alignment:new He.z6(.75,0)}));function xr($n,na){return(ba,Pa)=>{ba.handled=!0,ba.diagram.model.commit(vr=>{vr.set(Pa.part.adornedPart.data,$n,na)})}}function $e($n,na){return na||(na="color"),Nn(He.bn,{width:16,height:16,stroke:"lightgray",fill:$n,margin:1,background:"transparent",mouseEnter:(ba,Pa)=>Pa.stroke="dodgerblue",mouseLeave:(ba,Pa)=>Pa.stroke="lightgray",click:xr(na,$n),contextClick:xr(na,$n)})}function Pn(){return[Nn("ContextMenuButton",Nn(He.s_,"Horizontal",$e(mr.white,"fill"),$e(mr.beige,"fill"),$e(mr.extralightblue,"fill"),$e(mr.extralightred,"fill"))),Nn("ContextMenuButton",Nn(He.s_,"Horizontal",$e(mr.lightgray,"fill"),$e(mr.lightgreen,"fill"),$e(mr.lightblue,"fill"),$e(mr.lightred,"fill")))]}function Jt(){return[Nn("ContextMenuButton",Nn(He.s_,"Horizontal",$e(mr.black),$e(mr.green),$e(mr.blue),$e(mr.red))),Nn("ContextMenuButton",Nn(He.s_,"Horizontal",$e(mr.white),$e(mr.magenta),$e(mr.purple),$e(mr.orange)))]}function In($n,na){return na||(na="thickness"),Nn(He.bn,"LineH",{width:16,height:16,strokeWidth:$n,margin:1,background:"transparent",mouseEnter:(ba,Pa)=>Pa.background="dodgerblue",mouseLeave:(ba,Pa)=>Pa.background="transparent",click:xr(na,$n),contextClick:xr(na,$n)})}function Wn($n,na){return na||(na="dash"),Nn(He.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:$n,margin:1,background:"transparent",mouseEnter:(ba,Pa)=>Pa.background="dodgerblue",mouseLeave:(ba,Pa)=>Pa.background="transparent",click:xr(na,$n),contextClick:xr(na,$n)})}function la(){return[Nn("ContextMenuButton",Nn(He.s_,"Horizontal",In(1),In(2),In(3),In(4))),Nn("ContextMenuButton",Nn(He.s_,"Horizontal",Wn(null),Wn([2,4]),Wn([4,4])))]}function Ct($n,na){return na||(na="figure"),Nn(He.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:$n,margin:1,background:"transparent",mouseEnter:(ba,Pa)=>Pa.fill="dodgerblue",mouseLeave:(ba,Pa)=>Pa.fill="lightgray",click:xr(na,$n),contextClick:xr(na,$n)})}bt.current.nodeTemplate.contextMenu=Nn("ContextMenu",Nn("ContextMenuButton",Nn(He.s_,"Horizontal",Ct("Rectangle"),Ct("RoundedRectangle"),Ct("Ellipse"),Ct("Diamond"))),Nn("ContextMenuButton",Nn(He.s_,"Horizontal",Ct("Parallelogram2"),Ct("ManualOperation"),Ct("Procedure"),Ct("Cylinder1"))),Nn("ContextMenuButton",Nn(He.s_,"Horizontal",Ct("Terminator"),Ct("CreateRequest"),Ct("Document"),Ct("TriangleDown"))),Pn(),Jt(),la()),bt.current.groupTemplate=Nn(He.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:He.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:($n,na)=>{var ba=na.addMembers(na.diagram.selection,!0);ba||na.diagram.currentTool.doCancel()},avoidable:!1},new He.KX("location","loc",He.E9.parse).makeTwoWay(He.E9.stringify),Nn(He.s_,"Auto",{name:"BODY"},Nn(He.bn,{parameter1:10,fill:mr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:He.z6.AllSides,toSpot:He.z6.AllSides},new He.KX("fill"),new He.KX("stroke","color"),new He.KX("strokeWidth","thickness"),new He.KX("strokeDashArray","dash")),Nn(He.Vm,{background:"transparent",margin:20})),Nn(He.al,{alignment:He.z6.Top,alignmentFocus:He.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new He.KX("text"),new He.KX("stroke","color"))),bt.current.groupTemplate.selectionAdornmentTemplate=Nn(He.uz,"Spot",Nn(He.s_,"Auto",Nn(He.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Nn(He.Vm,{margin:1.5})),Vr({alignment:He.z6.TopRight,alignmentFocus:He.z6.BottomRight})),bt.current.groupTemplate.contextMenu=Nn("ContextMenu",Pn(),Jt(),la()),bt.current.linkTemplate=Nn(He.rU,{layerName:"Foreground",routing:He.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new He.KX("fromSpot","fromSpot",He.z6.parse),new He.KX("toSpot","toSpot",He.z6.parse),new He.KX("fromShortLength","dir",$n=>$n>=1?10:0),new He.KX("toShortLength","dir",$n=>$n>=1?10:0),new He.KX("points").makeTwoWay(),Nn(He.bn,{strokeWidth:2},new He.KX("stroke","color"),new He.KX("strokeWidth","thickness"),new He.KX("strokeDashArray","dash")),Nn(He.bn,{segmentIndex:0,segmentOffset:new He.E9(15,0),segmentOrientation:He.rU.OrientAlong,alignmentFocus:He.z6.Right,figure:"circle",width:10,strokeWidth:0},new He.KX("fill","color"),new He.KX("visible","dir",$n=>$n===1)),Nn(He.bn,{segmentIndex:-1,segmentOffset:new He.E9(-10,6),segmentOrientation:He.rU.OrientPlus90,alignmentFocus:He.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new He.KX("fill","color"),new He.KX("visible","dir",$n=>$n>=1),new He.KX("width","thickness",$n=>7+3*$n),new He.KX("height","thickness",$n=>7+3*$n),new He.KX("segmentOffset","thickness",$n=>new He.E9(-15,4+1.5*$n))),Nn(He.bn,{segmentIndex:0,segmentOffset:new He.E9(15,-6),segmentOrientation:He.rU.OrientMinus90,alignmentFocus:He.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new He.KX("fill","color"),new He.KX("visible","dir",$n=>$n===2),new He.KX("width","thickness",$n=>7+3*$n),new He.KX("height","thickness",$n=>7+3*$n),new He.KX("segmentOffset","thickness",$n=>new He.E9(-15,4+1.5*$n))),Nn(He.al,{alignmentFocus:new He.z6(0,1,-4,0),editable:!0},new He.KX("text").makeTwoWay(),new He.KX("stroke","color"))),bt.current.linkTemplate.selectionAdornmentTemplate=Nn(He.uz,Nn(He.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:xt(2)},new He.KX("pathPattern","thickness",xt)),Vr({alignmentFocus:new He.z6(0,0,-6,-4)}));function xt($n){return Nn(He.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+($n+4).toString()+" H3"})}function an($n){var na="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return $n===0?na="M0 0 M16 16 M0 8 L16 8":$n===2&&(na="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Nn(He.bn,{geometryString:na,margin:2,background:"transparent",mouseEnter:(ba,Pa)=>Pa.background="dodgerblue",mouseLeave:(ba,Pa)=>Pa.background="transparent",click:xr("dir",$n),contextClick:xr("dir",$n)})}function tn($n){var na=(ba,Pa)=>{ba.handled=!0,ba.diagram.model.commit(vr=>{var Tr=Pa.part.adornedPart;vr.set(Tr.data,$n?"toSpot":"fromSpot",He.z6.stringify(He.z6.AllSides)),($n?Tr.toNode:Tr.fromNode).invalidateConnectedLinks()})};return Nn(He.bn,{width:12,height:12,fill:"transparent",mouseEnter:(ba,Pa)=>Pa.background="dodgerblue",mouseLeave:(ba,Pa)=>Pa.background="transparent",click:na,contextClick:na})}function Kt($n,na){var ba=0,Pa=He.z6.RightSide;$n.equals(He.z6.Top)?(ba=270,Pa=He.z6.TopSide):$n.equals(He.z6.Left)?(ba=180,Pa=He.z6.LeftSide):$n.equals(He.z6.Bottom)&&(ba=90,Pa=He.z6.BottomSide),na||(ba-=180);var vr=(Tr,Ya)=>{Tr.handled=!0,Tr.diagram.model.commit(lr=>{var hr=Ya.part.adornedPart;lr.set(hr.data,na?"toSpot":"fromSpot",He.z6.stringify(Pa)),(na?hr.toNode:hr.fromNode).invalidateConnectedLinks()})};return Nn(He.bn,{alignment:$n,alignmentFocus:$n.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:ba,background:"transparent",mouseEnter:(Tr,Ya)=>Ya.background="dodgerblue",mouseLeave:(Tr,Ya)=>Ya.background="transparent",click:vr,contextClick:vr})}bt.current.linkTemplate.contextMenu=Nn("ContextMenu",Jt(),la(),Nn("ContextMenuButton",Nn(He.s_,"Horizontal",an(0),an(1),an(2))),Nn("ContextMenuButton",Nn(He.s_,"Horizontal",Nn(He.s_,"Spot",tn(!1),Kt(He.z6.Top,!1),Kt(He.z6.Left,!1),Kt(He.z6.Right,!1),Kt(He.z6.Bottom,!1)),Nn(He.s_,"Spot",{margin:new He.Zt(0,0,0,2)},tn(!0),Kt(He.z6.Top,!0),Kt(He.z6.Left,!0),Kt(He.z6.Right,!0),Kt(He.z6.Bottom,!0)))));const xa=`{ "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 Ea=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function Qa($n){return console.log("shapeName:",$n),Ea.indexOf($n)>=0}var za=new He.YI(Yn.current,{maxSelectionCount:1,linkTemplate:Nn(He.rU,{locationSpot:He.z6.Center,selectionAdornmentTemplate:Nn(He.uz,"Link",{locationSpot:He.z6.Center},Nn(He.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Nn(He.bn,{toArrow:"Standard",stroke:null}))},{routing:He.rU.AvoidsNodes,curve:He.rU.JumpOver,corner:5,toShortLength:4},new He.KX("points"),Nn(He.bn,{isPanelMain:!0,strokeWidth:2}),Nn(He.bn,{toArrow:"Standard",stroke:null})),model:new He.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...He.bn.getFigureGenerators().toArray().map($n=>({text:"\u672A\u547D\u540D",size:"100 100",figure:$n.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return bt.current.addDiagramListener("TextEdited",function($n){var na;const ba=$n.subject.part;var Pa=(na=document.activeElement)==null?void 0:na.value;typeof Pa=="string"&&Pa.trim()===""&&bt.current.model.commit(function(vr){vr.set(ba.data,"text","\u672A\u547D\u540D"),bt.current.commandHandler.stopCommand()},"increment")}),za.nodeTemplate=Nn(He.NB,"Auto",{locationSpot:He.z6.Center},new He.KX("location","location",He.E9.parse).makeTwoWay(He.E9.stringify),Nn(He.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 He.KX("stroke").makeTwoWay(),new He.KX("fill").makeTwoWay(),new He.KX("figure")),Nn(He.al,{margin:new He.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new He.$u(16,16),maxSize:new He.$u(10,NaN),textAlign:"center",editable:!0},new He.KX("key").makeTwoWay())),setTimeout(()=>{bt.current.grid=Nn(He.s_,"Grid",Nn(He.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Nn(He.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),bt.current.grid.visible=!0,bt.current.grid.gridCellStroke="darkgray",bt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=bt.current,bt.current}const wa=()=>fe(this,null,function*(){var Nn=bt.current.makeImage();const mr=yield(0,st.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Nn.src}});kt({src:mr.url})});return(0,b.useEffect)(()=>(setTimeout(()=>{Ua()},500),Xn(Ba+1),()=>{bt.current=null}),[]),De.createElement("div",{ref:ir,className:Gn.current?`${nt.maxH60} body-overflow-initial`:"body-overflow-initial"},De.createElement(at.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Ba,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:De.createElement(rn.Z,null,De.createElement(Nt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),De.createElement(Nt.Z,{onClick:()=>{var Nn,mr,Nr=bt.current.selection.first();if(Gn.current=!Gn.current,document.activeElement&&Nr){let Vr=(mr=(Nn=document.activeElement)==null?void 0:Nn.value)==null?void 0:mr.trim();typeof Vr=="string"&&bt.current.model.commit(function(xr){xr.set(Nr.data,"text",Vr||"\u672A\u547D\u540D"),bt.current.commandHandler.stopCommand()},"increment")}Xn(Ba+1)}},De.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:It},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:Yn})),De.createElement("div",{style:{flex:1,position:"relative"}},De.createElement("div",{ref:Qn,style:{height:"80vh"}}))),De.createElement("div",{className:"tr"},De.createElement(he.ZP,{size:"large",onClick:wa,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Rt=Xe,Oe=ee(5112),Ie=ee(5871);const vt=Oe.ZP.Group,et={margin:"0 8px"};var Me=({callback:It,onCancel:kt})=>{function bt(Qn){It(Qn)}return b.createElement(Ae.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:bt},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:et},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:et},"\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:et},"\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:et},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Ae.default.Item,{name:"align"},b.createElement(vt,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:kt},"\u53D6\u6D88")))},St=ee(78673),Bn=ee(43001),nn=ee.n(Bn),ln=(0,b.forwardRef)(({use3d:It,width:kt,height:bt,callback:Qn,showSaveButton:Yn},Gn)=>{const ir=(0,b.useRef)(),Ba=(0,b.useRef)(),[Xn,Ua]=(0,b.useState)(!1),wa=(0,b.useRef)({id:ir,appName:"graphing",width:kt||1e3,height:bt||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)(()=>{Ba.current=new(nn())(wa.current,!0),window.onload=function(){Ba.current.inject("applet_container")}},[]);const Nn=()=>{var mr=window.ggbApplet.getPNGBase64(1,!0,72);return Qn&&Qn(mr),mr};return(0,b.useEffect)(()=>{wa.current.appName=Xn?"3D":"graphing",Ba.current.inject("applet_container")},[Xn]),(0,b.useEffect)(()=>{Ua(It)},[It]),(0,b.useImperativeHandle)(Gn,()=>({getImgData:Nn})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ir}),b.createElement(rn.Z,{align:"middle"},b.createElement(Nt.Z,{flex:1},b.createElement(St.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Xn,onChange:mr=>Ua(mr)})),b.createElement(Nt.Z,null,b.createElement(he.ZP,{size:"large",onClick:Nn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Cn=ee(76562),Ze=ee(1012),yt=ee(8591);const Zt="link",Bt="upload-image",Mt="add-flowchart",dn="draw-image",gn="add-flowchart",Dn="code-block",Jn="add-table",ha="------------",Ra={default:ha,left:`:${ha}`,center:`:${ha}:`,right:`${ha}:`};var _a=ee(37808),gr=(It,kt,bt)=>new Promise((Qn,Yn)=>{var Gn=Xn=>{try{Ba(bt.next(Xn))}catch(Ua){Yn(Ua)}},ir=Xn=>{try{Ba(bt.throw(Xn))}catch(Ua){Yn(Ua)}},Ba=Xn=>Xn.done?Qn(Xn.value):Promise.resolve(Xn.value).then(Gn,ir);Ba((bt=bt.apply(It,kt)).next())});function ar(){}let pa=0;const Br=1e4,qt="\u2581",An="@\u2581\u2581@",oa="@\u2581@",Da=`
**\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`,ut=["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 bn(It){return/^\d+$/.test(It)?`${It}px`:It}const zn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",pn={[zn+"-B"]:"bold",[zn+"-I"]:"italic"},ia={[Zt]:"\u6DFB\u52A0\u94FE\u63A5",[Dn]:"\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 Sa=({defaultValue:It="",onChange:kt,width:bt="100%",height:Qn=400,miniToolbar:Yn=!1,isFocus:Gn=!1,watch:ir,insertTemp:Ba,mode:Xn="markdown",id:Ua="markdown-editor-id",showResizeBar:wa=!1,noStorage:Nn=!1,showNullButton:mr=!1,showNullProgramButton:Nr=!1,hidetoolBar:Vr=!1,fullScreen:xr=!1,onBlur:$e,onCMBeforeChange:Pn,onFullScreen:Jt,className:In="",disablePaste:Wn=!1,disabled:la=!1,disabledFill:Ct=!1,placeholder:xt="",values:an="",extraUse:tn})=>{const[Kt,xa]=(0,b.useState)(null),[Ea,Qa]=(0,b.useState)(It),[za,$n]=(0,b.useState)(ir),[na,ba]=(0,b.useState)(xr),[Pa,vr]=(0,b.useState)(""),[Tr,Ya]=(0,b.useState)(0),[lr,hr]=(0,b.useState)(Qn),[Po,ri]=(0,b.useState)(!1),xi=(0,b.useRef)((0,Ze.Z)()),ho=(0,b.useRef)(!1),bo=(0,b.useRef)(),[Wo,ko]=(0,b.useState)(0),[No,Er]=(0,b.useState)(0),to=(0,b.useRef)(),Yo=(0,b.useRef)(),Jo=(0,b.useRef)(),Lo=(0,b.useRef)(),wr=()=>gr(void 0,null,function*(){var _r;const qa=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:xi.current}});(_r=qa==null?void 0:qa.attachments)!=null&&_r.length&&(console.log("cm:",Kt,to),qa.attachments.map(Va=>{Va.content_type.indexOf("image")>-1?Kt.replaceSelection(`![,](/api/attachments/${Va.id}?type=${Va.content_type})`):Va.content_type.indexOf("video")>-1?Kt.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Va.content_type.indexOf("pdf")>-1?Kt.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Va.id}?type=${Va.content_type}&disposition=inline" target="_blank">${Va.name}</a>`):Kt.replaceSelection(`[${Va.name}](${ENV.API_SERVER}/api/attachments/${Va.id}?type=${Va.content_type})`)}))});(0,b.useEffect)(()=>{const _r=window.scrollY||window.pageYOffset;Qa(an),Kt==null||Kt.setValue(an),window.scrollTo(0,_r)},[an]),(0,b.useEffect)(()=>{Jt==null||Jt(na)},[na]),(0,b.useEffect)(()=>{if(to.current){let _r=function(Va,er){var so;if(Wn){er.preventDefault();return}const we=er.clipboardData;if(we){const hn=we.types.toString(),Rn=we.items;if(hn==="Files"||we.types.indexOf("Files")>-1){if(er.preventDefault(),Xn=="stex")return;try{let ya=Rn[1];((so=Rn[0])==null?void 0:so.kind)==="file"&&(ya=Rn[0]);const un=ya.getAsFile(),Za=un.name.split(".").pop();(0,Ve.I)(un,Na=>{var Hn,qn,pr;Na.id?((Hn=un==null?void 0:un.type)==null?void 0:Hn.indexOf("image"))>-1?qa.replaceSelection(`<img width="100%" src="/api/attachments/${Na.id}?type=${Na.content_type})" alt="" />`):((qn=un==null?void 0:un.type)==null?void 0:qn.indexOf("video"))>-1?qa.replaceSelection(`<video width="100%" controls src="/api/attachments/${Na.id}"></video>`):((pr=un==null?void 0:un.type)==null?void 0:pr.indexOf("pdf"))>-1?qa.replaceSelection(`<a href="/api/attachments/${Na.id}?type=${un.type}&disposition=inline" target="_blank">${un.name}</a>`):ut.includes(Za)?qa.replaceSelection(`<a href="/api/attachments/${Na.id}?type=office&disposition=inline" target="_blank">${un.name}</a>`):qa.replaceSelection(`[${un.name}](/api/attachments/${Na.id}?type=${Na.content_type})`):(Na==null?void 0:Na.status)===401&&(yt.ZP.warning((Na==null?void 0:Na.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(ya){yt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const qa=Be().fromTextArea(to.current,{mode:Xn,lineNumbers:!Yn,lineWrapping:!0,value:It,autoCloseTags:!Nr,autoCloseBrackets:!0});return qa.on("keyup",function(Va,er){er.keyCode===8&&(Va.getValue()==""?qa.setOption("placeholder",xt):qa.setOption("placeholder",null))}),qa.on("keydown",function(Va,er){if(er.keyCode===8){var so=Gr(Va);so&&er.preventDefault()}}),Gn&&qa.focus(),qa.on("paste",_r),qa.on("dragleave",function(Va,er){Yo.current.classList.remove("mouse-hover-md")}),la&&qa.on("beforeChange",function(Va,er){(er.origin==="paste"||er.origin==="+input")&&er.cancel()}),xa(qa),()=>{qa.off("paste",_r)}}},[]);const oi=(0,b.useCallback)(()=>{if(Yo.current)try{}catch(_r){console.log(_r,"---- to set md editor body height")}},[lr,Yo,na]);(0,b.useEffect)(()=>{function _r(){let qa=new Ne.Z(Va=>{for(let er of Va)(er.target.offsetHeight>0||er.target.offsetWidth>0)&&(oi(),Kt.setSize("100%","100%"),Kt.refresh())});return qa.observe(to.current.parentElement),qa}if(Kt){const qa=_r();return()=>{var Va,er;(Va=to.current)!=null&&Va.parentElement&&qa.unobserve((er=to.current)==null?void 0:er.parentElement)}}},[Kt,oi]),(0,b.useEffect)(()=>{if(Kt){let _r=[];for(const[qa,Va]of Object.entries(pn)){let er={[qa]:()=>{To(Va)}};_r.push(er),Kt.addKeyMap(er)}return bo.current=setInterval(()=>{ho.current&&wr()},4e3),()=>{clearInterval(bo.current);for(let qa of _r)Kt.removeKeyMap(qa)}}},[Kt]),(0,b.useEffect)(()=>{xr!==na&&ba(xr)},[xr]),(0,_a.Z)(()=>{if(!Nn&&Tr>0){let _r=new Date().getTime(),qa=window.sessionStorage.getItem(Ua);_r>=Tr+Br&&(!qa||qa!==Ea)&&(window.sessionStorage.setItem(Ua,Ea),ri(!0))}},Br),(0,b.useEffect)(()=>{$n(ir)},[Kt,ir]),(0,b.useEffect)(()=>{Kt&&Gn&&Kt.focus()},[Kt,Gn]),(0,b.useEffect)(()=>{if(za&&Kt){let _r=function(Va){let er=Va.target;if(Lo.current){let so=er.scrollTop/er.scrollHeight;Lo.current.scrollTop=Lo.current.scrollHeight*so}};const qa=Kt.getScrollerElement();return qa.addEventListener("scroll",_r),()=>{qa.removeEventListener("scroll",_r)}}},[Kt,za]),(0,b.useEffect)(()=>{if(Kt&&Pn){let _r=function(qa,Va){Pn(qa,Va)};return Kt.on("beforeChange",_r),()=>{Kt.off("beforeChange",_r)}}},[Kt,Pn]),(0,b.useEffect)(()=>{if(Kt&&$e){let _r=function(){$e(Kt.getValue())};return Kt.on("blur",_r),()=>{Kt.off("blur",_r)}}},[Kt,$e]);function Gr(_r,qa){var Va=_r.getDoc(),er=Va.getCursor(),so=Va.getLine(er.line),we=so.charAt(er.ch-1),hn=so.lastIndexOf("@\u2581@",er.ch),Rn=so.lastIndexOf("@\u2581\u2581@",er.ch),ya=hn>Rn?hn:Rn,un=hn>Rn?3:4;if(An.indexOf(we)===-1)return null;if(console.log("change1:",qa,_r,so,er,ya,hn,Rn,we),ya>=0&&er.ch-ya<5){var Za=ya+un;return Va.replaceRange("",{line:er.line,ch:ya},{line:er.line,ch:Za}),{line:er.line,ch:Za}}return null}(0,b.useEffect)(()=>{if(Kt){let _r=function(qa,Va){const er=qa.getValue();Qa(er),Ya(new Date().getTime()),qa.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),kt&&(Nr?kt(er,Fi(er)):kt(er))};return Kt.on("change",_r),()=>{Kt.off("change",_r)}}},[Kt,kt]),(0,b.useEffect)(()=>{if(Kt)if(It==null)Kt.setValue(""),Qa("");else{const _r=window.scrollY||window.pageYOffset;It!==Kt.getValue()&&(Kt.setValue(It),Qa(It),Kt.setCursor(la?1:Kt.lineCount(),0),window.scrollTo(0,_r))}},[Kt,It]);const To=(0,b.useCallback)(_r=>{const qa=Kt.getCursor(),Va=Kt.getSelection();let er=Va.split(`
`);switch(_r){case"bold":return Kt.replaceSelection("**"+Va+"**"),Va===""&&Kt.setCursor(qa.line,qa.ch+2),Kt.focus();case"italic":return Kt.replaceSelection("*"+Va+"*"),Va===""&&Kt.setCursor(qa.line,qa.ch+1),Kt.focus();case"code":return Kt.replaceSelection("`"+Va+"`"),Va===""&&Kt.setCursor(qa.line,qa.ch+1),Kt.focus();case"inline-latex":return vr("inline-latex"),Kt.focus();case"latex":return Kt.replaceSelection("```latex\n"+Va+"\n```"),Kt.setCursor(qa.line+1,Va.length+1),Kt.focus();case"line-break":return Kt.replaceSelection(`<br/>
`),Kt.focus();case"list-ul":return Va===""?Kt.replaceSelection("- "+Va):Kt.replaceSelection(er.map(so=>so===""?"":`- ${so}`).join(`
`)),Kt.focus();case"list-ol":return Va===""?Kt.replaceSelection("1. "+Va):Kt.replaceSelection(er.map((so,we)=>so===""?"":`${we+1}. ${so}`).join(`
`)),Kt.focus();case"add-null-ch":return Va===""&&Kt.setCursor(qa.line,qa.ch),Kt.replaceSelection(qt),Kt.focus();case"add-signal":return Va===""&&Kt.setCursor(qa.line,qa.ch),Kt.replaceSelection(oa),Kt.focus();case"add-multiple":return Va===""&&Kt.setCursor(qa.line,qa.ch),Kt.replaceSelection(An),Kt.focus();case"inster-template-1":return Va===""&&Kt.setCursor(qa.line,qa.ch),Kt.replaceSelection(Da),Kt.focus();case"eraser":return Kt.setValue(""),Kt.focus();case"trigger-watch":return $n(!za),Kt.focus();case"trigger-full-screen":return ba(!na),Kt.focus();case Zt:vr(Zt);return;case Dn:vr(Dn);return;case Bt:vr(Bt);return;case dn:vr(dn);return;case"maths-latex":vr("maths-latex");return;case Mt:vr(Mt);return;case Jn:vr(Jn);return;default:throw new Error}},[Kt,za,na]),mo=(0,b.useCallback)((_r,qa)=>{var Va,er,so,we,hn,Rn;switch(vr(""),Pa){case Zt:const{title:Hn,link:qn}=_r;return Kt.replaceSelection(`[${Hn}](${qn})`),Kt.focus();case Dn:const{language:pr,content:Wa}=_r;return Kt.replaceSelection(["```"+pr,Wa,"```"].join(`
`)),Kt.focus();case"maths-latex":for(var ya=atob(_r),un=new Uint8Array(ya.length),Za=0;Za<ya.length;Za++)un[Za]=ya.charCodeAt(Za);var Na=new Blob([un],{type:"image/png"});(0,Ve.I)(Na,al=>{al.id?Kt.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":Kt.replaceSelection("`$$"+_r+"$$`");break;case Bt:case dn:case gn:const{src:Ha,alt:tr}=_r,Mr=qa,Co=(so=(er=(Va=Mr==null?void 0:Mr.name)==null?void 0:Va.split("."))==null?void 0:er.pop)==null?void 0:so.call(er);return((we=Mr==null?void 0:Mr.type)==null?void 0:we.indexOf("image"))>-1||!(Mr!=null&&Mr.type)?Mr.align||Mr.width?Kt.replaceSelection(`<p style="text-align:${Mr.align||"initial"}"><img width="${Mr.width?Mr.width+"%":"initial"}" src="${Ha}" alt="${tr||""}" /></p>`):Kt.replaceSelection(`<img width="100%" src="${Ha}" alt="${tr||""}" />`):((hn=Mr==null?void 0:Mr.type)==null?void 0:hn.indexOf("video"))>-1?Kt.replaceSelection(`<video width="100%" controls src="${Ha}"></video>`):((Rn=Mr==null?void 0:Mr.type)==null?void 0:Rn.indexOf("pdf"))>-1?Kt.replaceSelection(`<a href="${Ha}?type=${Mr.type}&disposition=inline" target="_blank">${Mr.name}</a>`):ut.includes(Co)?Kt.replaceSelection(`<a href="${Ha}?type=office&disposition=inline" target="_blank">${Mr.name}</a>`):Kt.replaceSelection(`[${Mr.name}](${Ha})`),Kt.focus();case Jn:const{row:Uo,col:Ko,align:Ti}=_r;let Ji=`
`;for(let al=0;al<Uo;al++){let Zl=[],Al=[];for(let So=0;So<Ko;So++)al===1&&Al.push(Ra[Ti]),Zl.push(" ");al===1&&(Ji+=`| ${Al.join(" | ")} |
`),Ji+=`| ${Zl.join(Ko===1?"":" | ")} |
`}return Kt.replaceSelection(Ji+`
`),Kt.focus();default:throw new Error}},[Kt,Pa]),di=(0,b.useMemo)(()=>{switch(Pa){case Zt:return b.createElement(on,{callback:mo,onCancel:vi});case Dn:return b.createElement(cn.Z,{callback:mo,onCancel:vi});case Bt:return b.createElement(Ve.Z,{callback:mo,onCancel:vi});case Mt:return b.createElement(Rt,{callback:mo,onCancel:vi});case Jn:return b.createElement(Me,{callback:mo,onCancel:vi});case"maths-latex":return b.createElement(ln,{showSaveButton:!0,callback:mo});case"inline-latex":return b.createElement(Cn.Z,{showSaveButton:!0,callback:mo});default:return null}},[Pa]);function vi(){vr("")}(0,b.useEffect)(()=>{if(Jo.current){let _r=function(hn){so=!0,we=hn.pageY},qa=function(){so=!1},Va=function(hn){if(so){let Rn=hn.pageY-we;Rn<0&&(Rn=0),Rn>300&&(Rn=300);let ya=Qn+Rn+"px";hr(ya)}},er=Jo.current,so=!1,we=0;return er.addEventListener("mousedown",_r),document.addEventListener("mousemove",Va),document.addEventListener("mouseup",qa),()=>{er.removeEventListener("mousedown",_r),document.removeEventListener("mousemove",Va),document.removeEventListener("mouseup",qa)}}},[Kt,Jo]),(0,b.useEffect)(()=>{hr(Qn)},[Qn]);const Ui=bn(bt),tl=bn(lr),nl={width:Ui,height:tl},$o=(0,b.useMemo)(()=>{if(Tr){let _r=new Date(Tr),qa=_r.getHours(),Va=_r.getMinutes(),er=_r.getSeconds();return qa=qa<10?"0"+qa:qa,Va=Va<10?"0"+Va:Va,er=er<10?"0"+er:er,`${qa}:${Va}:${er}`}return 0},[Tr]),Fi=_r=>{const qa=[];if(Nr){let Va=-1;_r=_r.replace(/(@▁▁@|@▁@)/g,function(er,so,we){qa.push({multiLine:er!==oa})})}return qa};function Wi(){window.sessionStorage.removeItem(Ua),ri(!1),Ya(0)}function dl(){ri(!1),Ya(0),Kt.setValue(window.sessionStorage.getItem(Ua))}(0,b.useEffect)(()=>{ia[Pa]&&Pa!==dn&&Pa!==Mt&&setTimeout(()=>{const _r=document.getElementsByClassName("markdown-popup-form")[0],qa=window.innerWidth/2-_r.offsetWidth/2,Va=window.innerHeight/2-_r.offsetHeight/2;ko(qa),Er(Va)},0)},[Pa]);const gl=_r=>{_r.preventDefault();const qa=_r.clientX-Wo,Va=_r.clientY-No;document.body.onmousemove=er=>{let so=er.clientX-qa,we=er.clientY-Va;const hn=document.getElementsByClassName("markdown-popup-form")[0],Rn=window.innerWidth-hn.offsetWidth,ya=window.innerHeight-hn.offsetHeight;so=Math.max(0,Math.min(so,Rn)),we=Math.max(0,Math.min(we,ya)),Pl(er.clientX,er.clientY,qa,Va)&&(ko(so),Er(we))},document.body.onmouseup=function(){document.body.onmousemove=null}},Pl=(_r,qa,Va,er)=>{const so=document.body.clientHeight,we=document.body.clientWidth;return _r<20&&Va>_r||_r>we-20&&Va<_r||qa<20&&er>qa||qa>so-20&&er<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:Yo},b.createElement("div",{className:`markdown-editor-container ${In} ${za?"on-preview":""} ${Yn?"mini":""} ${na?"full-screen":""}`,style:nl},b.createElement(ye,{insertTemp:Ba,watch:za,fullScreen:na,showNullButton:mr,showNullProgramButton:Nr,onActionCallback:To,hidetoolBar:Vr,extraUse:tn}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:to,placeholder:xt})),za?b.createElement("div",{ref:Lo,className:"preview-container"},Xn==="stex"&&b.createElement(Je,{value:Ea}),Xn!=="stex"&&b.createElement(je.Z,{disabledFill:Ct,showProgramFill:Nr,value:Ea})):null))),wa?b.createElement("a",{ref:Jo,className:"editor-resize"}):null,Pa===dn&&b.createElement(wn,{callback:mo,onCancel:vi}),Pa===Mt&&b.createElement(Rt,{callback:mo,onCancel:vi}),b.createElement(Ge.Z,null,ia[Pa]&&Pa!==dn&&Pa!==Mt?b.createElement(at.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Wo,top:No},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:gl},ia[Pa]),open:!0,onCancel:vi,footer:null,destroyOnClose:!0,width:Pa===Mt?"1200px":null,height:Pa===Mt?"80vh":null,className:"markdown-popup-form"},di):null))}},17077:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return ve},I:function(){return Ge}});var b=ee(78241),de=ee(8591),Be=ee(92832),Ne=ee(81327),_e=ee(5871),ke=ee(5112),le=ee(3113),it=ee(46699),qe=ee(59301),Ke=ee(48790),je=ee(59301),Je=Object.defineProperty,Ye=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,y=(Ae,ze,he)=>ze in Ae?Je(Ae,ze,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ae[ze]=he,z=(Ae,ze)=>{for(var he in ze||(ze={}))a.call(ze,he)&&y(Ae,he,ze[he]);if(E)for(var he of E(ze))x.call(ze,he)&&y(Ae,he,ze[he]);return Ae},te=(Ae,ze)=>Ye(Ae,ue(ze));const{useForm:re}=b.default,se={width:280,marginRight:10},ie={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:Ae,onCancel:ze})=>{const[he]=re();let Qe=(0,qe.useRef)();function We(ot){Qe.current.width=he.getFieldValue("width"),Qe.current.align=he.getFieldValue("align"),Ae(ot,Qe.current)}function ft(ot,dt){if(ot.status===-1){de.ZP.error(ot.message);return}he.setFieldsValue({src:`/api/attachments/${ot.id}`,type:dt.type})}function Le(ot){let dt=ot.target.files[0];Qe.current=dt,Ge(dt,ft)}return je.createElement(b.default,te(z({form:he},ie),{className:"upload-image-panel",onFinish:We,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:se})),je.createElement(ye,{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(_e.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:ze},"\u53D6\u6D88"))))};function ye({onFileChange:Ae}){return je.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",je.createElement("input",{type:"file",onChange:Ae}))}function Ge(Ae,ze){if(!Ae)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ke.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(We){ze(JSON.parse(We.target.responseText),Ae)},!1),Qe.addEventListener("error",function(We){console.error(We)},!1),Qe.open("POST",`${it.KI}/api/attachments.json`),Qe.send(he)}},91558:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Be}});var b=ee(59301),de=ee(4676);class Be extends b.Component{constructor(_e){super(_e);const ke=window.document;this.node=ke.createElement("div"),ke.body.appendChild(this.node)}render(){const{children:_e}=this.props;return(0,de.createPortal)(_e,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},7501:function(Vt,jt,ee){"use strict";ee.d(jt,{i:function(){return se},Z:function(){return ve}});var b={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},de=ee(71418),Be=ee(6848),Ne=ee(92310),_e=ee.n(Ne),ke=ee(51257),le=ee(28426),it=ee(48790),qe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE+cIPEexg4+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIfG8eoxZP3SCJc+sEicEUhvLBLrQsXw+r5Ognn8LGk4IoPiiQhB1vzCQ+XjHNeP2/AUkZU8JpgCRWr1yxinFy9bu+IyYZrAH8sP3ECsVOBwx1nGCPGyTN8kDg/ReYxDaFf41Vkr46F0C8MLRihmCFCyT6zNDyUYI9wu8J1+cB0+XuDPemndz/GJMcZvDyq5NJjrsz2cbuTrNPuLCgTGIXLFZ6IDa5wPeCZSwUuXoMN6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ptimg:Ye,swimg:ue},{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:te}];var ve=({className:ye,dataSource:Ge=[],col:Ae=4,right:ze,bottom:he=23,precision:Qe=0,wrapWidth:We=1200,trackEventItems:ft,loading:Le,onRemove:ot=()=>{},isCurrent:dt=!0,showAlias:gt=!1})=>{const Dt=Math.floor((We-(Ae-1)*ze)/Ae),sn=[{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(Ft=>(window.ENV==="build"&&(Ft.ptimg=`/react/build${Ft.ptimg}`,Ft.swimg=`/react/build${Ft.swimg}`),Ft));return re.createElement(de.Z,{spinning:Le},re.createElement("div",{className:_e()(b.list,ye)},!!(Ge!=null&&Ge.length)&&(Ge==null?void 0:Ge.map((Ft,on)=>{var cn;const{name:Ve,id:at,identifier:rn,featured:Kn,school_name:Gt,image_url:wn,excellent:He,is_plan:ct}=Ft;return re.createElement("div",{key:at,className:b.wrap,style:{width:Dt,marginRight:(1+on)%Ae===0?0:ze+Qe,marginBottom:he}},re.createElement("a",{className:b.li,onClick:Lt=>{Lt.preventDefault(),Lt.stopPropagation(),ft&&(0,ke.L9)([ft]),(0,ke.xg)(`/paths/${rn}`)}},re.createElement("div",{className:b.img},re.createElement("img",{className:b.cover,src:`${wn}`}),dt&&(0,it.bg)()&&(Ft==null?void 0:Ft.studying)&&re.createElement("div",{className:`${b.movebq} user-path-items`,onClick:Lt=>{Lt.stopPropagation(),ot(Ft)}},re.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),re.createElement("span",{className:"c-red"},"\u79FB\u9664")),(cn=Ft==null?void 0:Ft.subject_tags)==null?void 0:cn.map((Lt,mt)=>{var Nt,st;if(mt===0){const De=(Nt=sn.find(fe=>fe.name==Lt))==null?void 0:Nt.swimg;return re.createElement("img",{className:b.sign,src:De,style:{left:"-4px"}})}const nt=(st=sn.find(De=>De.name==Lt))==null?void 0:st.ptimg;return re.createElement("img",{className:b.sign,src:nt,style:{left:`${48+52*(mt-1)+2*mt}px`}})}),re.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Ft==null?void 0:Ft.excellent)&&re.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:b.name},re.createElement(Be.Z,{title:gt&&(Ft!=null&&Ft.excellent_alias_name)?re.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ve}`,re.createElement("br",null),re.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ft==null?void 0:Ft.excellent_alias_name}`)):Ve},re.createElement("span",{className:b.e},gt&&(Ft==null?void 0:Ft.excellent_alias_name)||Ve))),re.createElement("div",{className:b.tags},re.createElement("div",null,re.createElement(Be.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),re.createElement("span",null,Ft.stages_count))),re.createElement(Be.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),re.createElement("span",null,Ft.members_count)))))))})),!Ge.length&&re.createElement(le.Z,null)))}},92427:function(Vt,jt,ee){"use strict";ee.d(jt,{jL:function(){return _e},w9:function(){return Kn},QD:function(){return gn},cQ:function(){return on.Z},op:function(){return Ze},O5:function(){return Sa},_b:function(){return gr},t7:function(){return ve},Gi:function(){return mt},YG:function(){return ct},qp:function(){return x},vr:function(){return ha},qE:function(){return Bt},Je:function(){return Ae},wb:function(){return Ft},cq:function(){return Xe},tp:function(){return te},Si:function(){return bt},k8:function(){return la},Du:function(){return wa}});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/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2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0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",_e=({dataSource:Ct=[],img:xt,imgWidth:an=346,title:tn,sunTitle:Kt,bannerExtraContent:xa})=>b.createElement("div",{className:de.banner},b.createElement("div",{className:de.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,tn),b.createElement("span",null,Kt)),Ct.length>0&&b.createElement("div",{className:de.btns},Ct.map((Ea,Qa)=>b.createElement("div",{key:Qa,onClick:Ea.click},Ea.name,Ea.sign?b.createElement("img",{src:Be,width:39}):null))),xa),xt&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:xt,width:an}))),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),it=ee.n(le),qe=ee(89392),Ke=Object.defineProperty,je=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,ue=(Ct,xt,an)=>xt in Ct?Ke(Ct,xt,{enumerable:!0,configurable:!0,writable:!0,value:an}):Ct[xt]=an,E=(Ct,xt)=>{for(var an in xt||(xt={}))Je.call(xt,an)&&ue(Ct,an,xt[an]);if(je)for(var an of je(xt))Ye.call(xt,an)&&ue(Ct,an,xt[an]);return Ct},x=({dataSource:Ct=[],value:xt,onChange:an,onTitleChange:tn,className:Kt,title:xa,titleWidth:Ea=41,style:Qa={},fontColor:za="#6A7283",showCount:$n,classNameActive:na,styleItem:ba={}})=>{const[Pa,vr]=(0,b.useState)(0),[Tr,Ya]=(0,b.useState)(!1),lr=(0,b.useRef)(null),hr=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var Po;Ct.length!==0&&(((Po=lr==null?void 0:lr.current)==null?void 0:Po.clientHeight)>97?vr(1):vr(0)),Ct.length===0&&vr(0),Ya(!1)},[Ct]),b.createElement("div",{className:it()(ke.row,Kt),style:Qa},b.createElement("div",{onClick:(0,qe.throttle)(()=>tn==null?void 0:tn(),2e3),style:{width:Ea,marginTop:Tr?12:4},className:`${ke.title} ${tn?"current":""}`},xa),b.createElement("div",{className:Tr?`${ke.tagsWrap} ${ke.tagsBorderWrap}`:ke.tagsWrap},b.createElement("div",{className:ke.bar,ref:hr,style:Pa>0?{height:Pa===1?97:"auto",overflow:Pa===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:ke.tag,ref:lr},Ct==null?void 0:Ct.map(Po=>b.createElement("span",{onClick:()=>an(Po.id),key:Po.id,style:E(E({color:za},ba),(Po==null?void 0:Po.style)||{}),className:xt===Po.id?it()(na||ke.active,Po.classNameActive):""},b.createElement("span",{title:Po.name,className:ke.name},Po.name),!!$n&&b.createElement("span",{className:ke.num},Po.count))))),!!Pa&&b.createElement(b.Fragment,null,Pa===1?b.createElement("div",{onClick:()=>{var Po;vr(2),((Po=lr==null?void 0:lr.current)==null?void 0:Po.clientHeight)>245?Ya(!0):Ya(!1)},className:ke.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{hr.current.scrollTop=0,vr(1),Ya(!1)},className:ke.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},y={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"},te=({dataSource:Ct=[],value:xt,onChange:an,className:tn,style:Kt={}})=>b.createElement("div",{style:Kt,className:it()(y.tabs,tn)},Ct.map(xa=>b.createElement("span",{onClick:()=>an(xa.id),className:xt===xa.id?y.active:"",key:xa.id},xa.name))),re={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"},se=ee(92832),ve=({dataSource:Ct=[],value:xt="",onChange:an,onInputChange:tn=()=>{},className:Kt,style:xa={},placeholder:Ea,allowClear:Qa=!1})=>{var za;const[$n,na]=(0,b.useState)(""),[ba,Pa]=(0,b.useState)("");(0,b.useEffect)(()=>{var Ya;let lr=xt;(Ya=JSON.stringify(xt))!=null&&Ya.includes("{")&&(na(xt.id),lr=xt.value||"");try{Pa(decodeURIComponent(lr||""))}catch(hr){Pa(decodeURIComponent(lr||""))}},[xt]);const vr=()=>{an(encodeURIComponent(ba),$n||null)},Tr=Ya=>{Ya!==$n&&(na(Ya),an(encodeURIComponent(ba),Ya))};return b.createElement("div",{className:it()(re.input,Kt),style:xa},!!Ct.length&&b.createElement("div",{className:re.dropdown},b.createElement("div",{className:re.text},(za=Ct.find(Ya=>Ya.id===$n))==null?void 0:za.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:re.b1}),b.createElement("b",{className:re.b2})),b.createElement("div",{className:re.menu},Ct.map((Ya,lr)=>b.createElement("div",{key:lr,onClick:()=>Tr(Ya.id)},Ya.name)))),b.createElement(se.default,{onPressEnter:vr,value:ba,onChange:Ya=>{Pa(Ya.target.value),tn(encodeURIComponent(Ya.target.value),$n||null)},bordered:!1,placeholder:Ea}),b.createElement("i",{onClick:vr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ye={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"},Ae=({value:Ct,onChange:xt,className:an,total:tn,pageSize:Kt,style:xa={}})=>{const Ea=Ct<2,Qa=Ct>=Math.ceil(tn/Kt);return tn<=Kt?b.createElement(b.Fragment,null):b.createElement("div",{className:it()(ye.quickPager,an),style:xa},b.createElement("div",{onClick:()=>{Ea||xt(Ct-1,"prev")},className:Ea?ye.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{Qa||xt(Ct+1,"next")},className:Qa?ye.disabled:""},"\u4E0B\u4E00\u9875"))},ze={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"},he=ee(71418),Qe=ee(6848),We=ee(13570),ft=ee(346),Le=ee(51257),ot=ee(96908),dt=ee(57177),gt=ee(81378),Dt=ee(28426),Ft=({className:Ct,dataSource:xt=[],col:an=4,right:tn,bottom:Kt=23,precision:xa=0,wrapWidth:Ea=1200,trackEventItems:Qa,loading:za})=>{const $n=Math.floor((Ea-(an-1)*tn)/an);return b.createElement(he.Z,{spinning:za},b.createElement("div",{className:it()(ze.list,Ct)},!!xt.length&&xt.map((na,ba)=>{const{name:Pa,id:vr,identifier:Tr,power:Ya,cover_image_id:lr,pic:hr}=na;return b.createElement("div",{className:ze.wrap,key:vr,style:{width:$n,marginRight:(1+ba)%an===0?0:tn+xa,marginBottom:Kt}},b.createElement("a",{target:"_blank",href:`/shixuns/${Tr}/challenges`,className:ze.li,onClick:Po=>{Po.preventDefault(),Qa&&(0,Le.L9)([Qa]),Ya&&(0,Le.xg)(`/shixuns/${Tr}/challenges`)}},b.createElement("div",{className:ze.img},b.createElement("img",{className:ze.cover,src:`${hr}`}),na.is_jupyter&&b.createElement("img",{className:ze.sign,src:ot}),na.is_jupyter_lab&&b.createElement("img",{className:ze.sign,src:dt}),na.is_unity_3d&&b.createElement("img",{className:ze.sign,src:gt})),b.createElement("div",{className:ze.name},b.createElement(Qe.Z,{title:Pa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:ze.e},Pa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:ze.tags},b.createElement(Qe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,na.challenges_count))),!!na.myshixuns_count&&b.createElement(Qe.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,na.myshixuns_count))),b.createElement(Qe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,na.level))),b.createElement("div",{className:ze.rate},b.createElement(We.Z,{allowHalf:!0,disabled:!0,defaultValue:na.score_info}),b.createElement("span",null,"\xA0",na.score_info?`${na.score_info}\u5206`:"5\u5206")))),!Ya&&b.createElement("div",{className:ze.lockWrap},b.createElement("img",{src:`${ft.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")))}),!xt.length&&b.createElement(Dt.Z,null)))},on=ee(7501),cn={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"},Ve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvU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3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",at=ee(59301),Kn=({className:Ct,dataSource:xt=[],col:an=4,right:tn,bottom:Kt=23,precision:xa=0,wrapWidth:Ea=1200,trackEventItems:Qa,loading:za})=>{const $n=Math.floor((Ea-(an-1)*tn)/an);return at.createElement(he.Z,{spinning:za},at.createElement("div",{className:it()(cn.list,Ct)},!!xt.length&&xt.map((na,ba)=>{const{subject_identifier:Pa,id:vr,identifier:Tr,power:Ya}=na,lr=na.is_public!=0&&na.is_public;return at.createElement("div",{className:cn.wrap,key:vr,style:{width:$n,marginRight:(1+ba)%an===0?0:tn+xa,marginBottom:Kt}},at.createElement("a",{className:cn.li,onClick:hr=>{hr.preventDefault(),Qa&&(0,Le.L9)([Qa]),(0,Le.xg)(na.first_category_url)}},at.createElement("div",{className:cn.top},at.createElement(Qe.Z,{title:na.name},at.createElement("div",{className:cn.name},na.name)),at.createElement("img",{className:cn.img,src:ft.Z.IMG_SERVER+"/images/"+na.avatar_url}),at.createElement("div",{className:cn.text,title:na.creator},na.creator),Pa&&at.createElement("div",{className:cn.btns},at.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),at.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),lr&&at.createElement("div",{className:cn.sign},"\u516C\u5F00")),at.createElement("div",{className:cn.bottom},na.visits>0&&at.createElement(Qe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},at.createElement("span",null,at.createElement("i",{className:"iconfont icon-liulanyan"}),at.createElement("span",null,na.visits))),na.course_members_count>0&&at.createElement(Qe.Z,{title:"\u6210\u5458",placement:"bottom"},at.createElement("span",null,at.createElement("i",{className:"iconfont icon-chengyuan"}),na.course_members_count)),na.tasks_count>0&&at.createElement(Qe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},at.createElement("span",null,at.createElement("i",{className:"iconfont icon-zuoye"}),na.tasks_count)),na.is_end?at.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):at.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!na.is_accessible&&at.createElement("div",{className:cn.lockWrap},at.createElement("img",{src:`${ft.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),at.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!xt.length&&at.createElement(Dt.Z,null)))},Gt={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"},wn=ee(25690),ct=({dataSource:Ct=[],value:xt,onChange:an,className:tn,style:Kt={},tabBarExtraContent:xa})=>b.createElement("div",{className:it()(Gt.tabs,tn),style:Kt},b.createElement("div",{className:Gt.tabsWrap},Ct.map((Ea,Qa)=>b.createElement("aside",{className:Gt.tab,onClick:()=>{an(Ea.id),Ea.link&&wn.history.push(Ea.link)},key:Qa},b.createElement("div",{className:xt===Ea.id?Gt.active:""},Ea.name),(Ea==null?void 0:Ea.resetCount)==null&&(Ea==null?void 0:Ea.total)!==void 0&&b.createElement("span",null,"\uFF08",Ea==null?void 0:Ea.total,"\uFF09"),(Ea==null?void 0:Ea.resetCount)!==void 0&&(Ea==null?void 0:Ea.total)!==void 0&&b.createElement(Qe.Z,{title:(Ea==null?void 0:Ea.tip)!=null?Ea==null?void 0:Ea.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},Ea==null?void 0:Ea.resetCount),"/",b.createElement("span",null,Ea==null?void 0:Ea.total),"\uFF09"))))),b.createElement("div",{className:Gt.tabBar},xa)),mt=({className:Ct,style:xt={},children:an})=>b.createElement("div",{className:it()(Ct),style:xt},an),Nt={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"},st=ee(38854),nt=ee(20834);const De=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Xe=({sortValue:Ct,dropValue:xt,className:an,onSort:tn,onDrop:Kt,dataSource:xa=De})=>{var Ea;return b.createElement("div",{className:it()(Nt.orderWrap,an)},b.createElement(st.Z,{dropdownRender:()=>b.createElement(nt.default,null,xa.map((Qa,za)=>b.createElement(nt.default.Item,{key:za,onClick:()=>Kt(Qa.id)},Qa.name)))},b.createElement("span",{className:Nt.orderTextWrap},(Ea=xa.find(Qa=>xt===Qa.id))==null?void 0:Ea.name)),b.createElement("span",{className:Nt.orderIconWrap},b.createElement("span",{className:Nt.orderAsc},b.createElement("i",{className:Ct==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Nt.cursorPointer} ${Nt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Nt.cursorPointer}`,onClick:()=>tn(Ct==="asc"?"desc":"asc")})),b.createElement("span",{className:Nt.orderDesc},b.createElement("i",{className:Ct==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Nt.cursorPointer} ${Nt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Nt.cursorPointer}`,onClick:()=>tn(Ct==="asc"?"desc":"asc")}))))},Rt={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",ThemeOne:"ThemeOne___iCQio"},Oe=ee(3113),Ie=ee(32162),vt=Object.defineProperty,et=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Bn=(Ct,xt,an)=>xt in Ct?vt(Ct,xt,{enumerable:!0,configurable:!0,writable:!0,value:an}):Ct[xt]=an,nn=(Ct,xt)=>{for(var an in xt||(xt={}))Me.call(xt,an)&&Bn(Ct,an,xt[an]);if(et)for(var an of et(xt))St.call(xt,an)&&Bn(Ct,an,xt[an]);return Ct},fn=(Ct,xt)=>{var an={};for(var tn in Ct)Me.call(Ct,tn)&&xt.indexOf(tn)<0&&(an[tn]=Ct[tn]);if(Ct!=null&&et)for(var tn of et(Ct))xt.indexOf(tn)<0&&St.call(Ct,tn)&&(an[tn]=Ct[tn]);return an},ln=(Ct,xt,an)=>new Promise((tn,Kt)=>{var xa=za=>{try{Qa(an.next(za))}catch($n){Kt($n)}},Ea=za=>{try{Qa(an.throw(za))}catch($n){Kt($n)}},Qa=za=>za.done?tn(za.value):Promise.resolve(za.value).then(xa,Ea);Qa((an=an.apply(Ct,xt)).next())}),Ze=Ct=>{var xt=Ct,{className:an,style:tn,children:Kt,loading:xa=!1,openLoading:Ea,onClick:Qa=()=>{},size:za="middle",shape:$n="round",theme:na}=xt,ba=fn(xt,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Pa,vr]=(0,b.useState)(!1),Tr=(0,b.useMemo)(()=>{switch(na){case Ie.Fy.THEMEONE:return Rt.ThemeOne;case Ie.Fy.DEFAULT:default:return Rt.btn}},[na]);return b.createElement(Oe.ZP,nn({onClick:(0,qe.throttle)(Ya=>ln(void 0,null,function*(){Ea&&vr(!0);try{yield Qa(Ya)}catch(lr){console.log("error",lr)}Ea&&vr(!1)}),2e3,{leading:!0,trailing:!1}),className:it()(Tr,Rt[`${za}-${$n}`],an),style:tn,size:za,shape:$n,loading:Pa||xa},ba),Kt)},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"},Bt=({className:Ct,style:xt,children:an=null,onClick:tn,title:Kt})=>b.createElement("div",{className:it()(yt.head,Ct),style:xt},b.createElement("span",{className:"primary-hover",onClick:tn},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:Kt},Kt),b.createElement("div",{className:yt.node},an)),Mt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},gn=({confirmShow:Ct=!0,confirmTitle:xt,confirmClick:an,cancelShow:tn=!0,cancelTitle:Kt,cancelClick:xa,className:Ea,style:Qa,confirmLoading:za=!1})=>b.createElement("div",{className:it()(Mt.btns,Ea),style:Qa},Ct&&b.createElement(Oe.ZP,{loading:za,onClick:an,type:"primary",className:Mt.confirm},xt),tn&&b.createElement(Oe.ZP,{onClick:xa,className:Mt.cancel},Kt)),Dn={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"},ha=({className:Ct,style:xt={},LeftContent:an,children:tn,RightContent:Kt})=>b.createElement("div",{className:it()(Dn.fixedBottom,Ct),style:xt},b.createElement("div",{className:Dn.wrap},b.createElement("div",{className:Dn.left},an),b.createElement("div",{className:Dn.center},tn),b.createElement("div",{className:Dn.right},Kt))),Ra={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"},gr=({className:Ct,style:xt={},dataSource:an=[]})=>b.createElement("div",{className:it()(Ra.crumbs,Ct),style:xt},an.map((tn,Kt)=>Kt<an.length-1?b.createElement(b.Fragment,{key:Kt},tn.path||tn.onClick?b.createElement("span",{className:Ra.hover,onClick:tn!=null&&tn.onClick?tn.onClick:()=>wn.history.push(tn.path)},tn.name):b.createElement("span",null,tn.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:Kt,style:{color:"#5F6368"}},tn.name))),ar=ee(31797),pa=Object.defineProperty,Br=Object.defineProperties,qt=Object.getOwnPropertyDescriptors,An=Object.getOwnPropertySymbols,oa=Object.prototype.hasOwnProperty,Da=Object.prototype.propertyIsEnumerable,ut=(Ct,xt,an)=>xt in Ct?pa(Ct,xt,{enumerable:!0,configurable:!0,writable:!0,value:an}):Ct[xt]=an,bn=(Ct,xt)=>{for(var an in xt||(xt={}))oa.call(xt,an)&&ut(Ct,an,xt[an]);if(An)for(var an of An(xt))Da.call(xt,an)&&ut(Ct,an,xt[an]);return Ct},Ln=(Ct,xt)=>Br(Ct,qt(xt)),zn=(Ct,xt)=>{var an={};for(var tn in Ct)oa.call(Ct,tn)&&xt.indexOf(tn)<0&&(an[tn]=Ct[tn]);if(Ct!=null&&An)for(var tn of An(Ct))xt.indexOf(tn)<0&&Da.call(Ct,tn)&&(an[tn]=Ct[tn]);return an};const{Countdown:pn}=ar.default;var Sa=Ct=>{var xt=Ct,{onChange:an}=xt,tn=zn(xt,["onChange"]);const[Kt,xa]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof Kt=="number"&&Kt>=0&&an(Kt)},[Kt]);const Ea=Qa=>{const za=Math.floor(Qa/1e3);xa(za)};return b.createElement(pn,Ln(bn({},tn),{onChange:Ea}))},It={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},bt=({DataProps:Ct,className:xt,style:an={}})=>{var tn;return b.createElement("div",{className:it()("rounded-40px bg-white py-10px px-30px flex gap-22px current",It.ClassRoomItem,xt),style:an,onClick:()=>{(0,Le.xg)(Ct==null?void 0:Ct.first_category_url)}},b.createElement("div",{className:"flex flex-col item-center"},b.createElement("img",{src:`${(tn=ft.Z)==null?void 0:tn.IMG_SERVER}/images/${Ct==null?void 0:Ct.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Ct==null?void 0:Ct.subject_identifier)&&b.createElement("div",{className:"mt-40px"},b.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),b.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),b.createElement("div",{className:"flex-1 flex flex-col gap-10px"},b.createElement("div",{className:"multi_ellipsis2"},!!(Ct!=null&&Ct.is_public)&&b.createElement("div",{className:"c-white rounded-4px py-4px px-10px mr-4px",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-block"}},"\u516C\u5F00"),b.createElement("span",{className:it()("text-16px font-medium",It.TitleDom)},Ct==null?void 0:Ct.name)),b.createElement("div",{className:"c-grey-333 font-medium"},Ct==null?void 0:Ct.creator),b.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Ct==null?void 0:Ct.course_members_count),b.createElement("div",{className:"c-grey-333 flex item-center justify-between"},b.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Ct==null?void 0:Ct.tasks_count),Ct!=null&&Ct.is_end?b.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):b.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Qn=Object.defineProperty,Yn=Object.getOwnPropertySymbols,Gn=Object.prototype.hasOwnProperty,ir=Object.prototype.propertyIsEnumerable,Ba=(Ct,xt,an)=>xt in Ct?Qn(Ct,xt,{enumerable:!0,configurable:!0,writable:!0,value:an}):Ct[xt]=an,Xn=(Ct,xt)=>{for(var an in xt||(xt={}))Gn.call(xt,an)&&Ba(Ct,an,xt[an]);if(Yn)for(var an of Yn(xt))ir.call(xt,an)&&Ba(Ct,an,xt[an]);return Ct},wa=({DataProps:Ct=[],selectValue:xt,onChange:an,className:tn,style:Kt={},extra:xa,classNameItem:Ea,styleItem:Qa={},barHidden:za})=>{const[$n,na]=(0,b.useState)();return(0,b.useEffect)(()=>{na(Array.isArray(xt)?xt:[xt])},[xt]),b.createElement("div",{className:it()("flex px-20px py-10px gap-40px",tn),style:Xn({borderBottom:"1px solid #D3F0FF"},Kt)},Ct==null?void 0:Ct.map(ba=>b.createElement("div",{key:ba==null?void 0:ba.id,className:it()("flex item-center justify-center current c-grey-333 text-16 relative",Ea,ba==null?void 0:ba.className),style:Xn(Xn({color:$n!=null&&$n.includes(ba==null?void 0:ba.id)?"#1890FF":""},Qa),(ba==null?void 0:ba.style)||{}),onClick:Pa=>{an==null||an({domEvent:Pa,item:ba})}},ba==null?void 0:ba.name,!za&&($n==null?void 0:$n.includes(ba==null?void 0:ba.id))&&b.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),b.createElement("div",{className:"ml-auto"},xa))},Nn=Object.defineProperty,mr=Object.defineProperties,Nr=Object.getOwnPropertyDescriptors,Vr=Object.getOwnPropertySymbols,xr=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,Pn=(Ct,xt,an)=>xt in Ct?Nn(Ct,xt,{enumerable:!0,configurable:!0,writable:!0,value:an}):Ct[xt]=an,Jt=(Ct,xt)=>{for(var an in xt||(xt={}))xr.call(xt,an)&&Pn(Ct,an,xt[an]);if(Vr)for(var an of Vr(xt))$e.call(xt,an)&&Pn(Ct,an,xt[an]);return Ct},In=(Ct,xt)=>mr(Ct,Nr(xt)),la=({value:Ct,onChange:xt,onInputChange:an,className:tn,style:Kt={},InputProps:xa})=>{const[Ea,Qa]=(0,b.useState)(Ct);return b.createElement("div",{className:it()("flex item-center rounded-full px-10px py-2px",tn),style:Jt({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},Kt)},b.createElement(se.default,In(Jt({bordered:!1},xa),{onChange:za=>{Qa(za.target.value),an==null||an(encodeURIComponent(za.target.value))},onPressEnter:za=>{xt==null||xt({domEvent:za,item:{value:Ea}})}})),b.createElement("img",{className:"h-22px current",src:ee(25365),height:22,width:19,onClick:za=>{xt==null||xt({domEvent:za,item:{value:Ea}})}}))}},37808:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return de}});var b=ee(59301);function de(Be,Ne){const _e=(0,b.useRef)();(0,b.useEffect)(()=>{_e.current=Be}),(0,b.useEffect)(()=>{function ke(){_e.current()}if(Ne!==null){let le=setInterval(ke,Ne);return()=>clearInterval(le)}},[Ne])}},23108:function(Vt,jt,ee){"use strict";ee.r(jt),ee.d(jt,{default:function(){return Hr}});var b=ee(59301),de=ee(25690),Be=ee(78241),Ne=ee(8591),_e=ee(66104),ke=ee(92832),le=ee(19842),it=ee(24905),qe=ee(5112),Ke=ee(5871),je=ee(3113),Je={flex_box_center:"flex_box_center___aPGWN",flex_space_between:"flex_space_between___MQNX5",flex_box_vertical_center:"flex_box_vertical_center___Z7QdK",flex_box_center_end:"flex_box_center_end___JQl5O",flex_box_column:"flex_box_column___IhYhx",bg:"bg___Kg8x_",title:"title___UhsVG",titleLeft:"titleLeft___NPVwn",titleRight:"titleRight___UGtmZ",formWrap:"formWrap___Jowb2",baseLineHeight:"baseLineHeight___N68WX",radioBtnWrapper:"radioBtnWrapper___bX7Pi",radiogroup:"radiogroup___ukf8u",easy:"easy___ZHYPU",medium:"medium___piewx",hard:"hard___HMXyt",selectdiv:"selectdiv___gkuBG",divitem:"divitem___vNm0q",bottmodiv:"bottmodiv___assW5",cancelBtn:"cancelBtn___Nl6Pi",confirmBtn:"confirmBtn___BNoFU",baseFormItem:"baseFormItem___ILZ2V",cascaderPopup:"cascaderPopup___QPxW3",addQuestionBtn:"addQuestionBtn___OjehS",concat:"concat___kliXB"},Ye=ee(43418),ue=ee(5083),E=ee(61186),a=ee.n(E),x=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())});const y=({user:ce,dispatch:pe,classroomList:Pe,onModalOk:Ot,setsubloading:en})=>{const Oa=(0,de.useParams)(),[va,_n]=(0,b.useState)(),[Ht,Un]=(0,b.useState)(!1);function Fn(Pt){return Pt&&Pt<a()().subtract(1,"days")}return b.createElement(Ye.default,{title:"\u6E29\u99A8\u63D0\u793A",afterClose:()=>{Un(!1)},zIndex:8888,destroyOnClose:!0,footer:null,maskClosable:!1,keyboard:!1,open:Pe.actionTabs.key==="\u9884\u7EA6\u5F39\u7A97",onCancel:()=>{if(Ht){Ne.ZP.warning("\u6B63\u5728\u8BF7\u6C42\u6570\u636E\u4E2D...");return}en(!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(ue.default,{popupStyle:{zIndex:9999},style:{marginTop:"10px",marginBottom:"10px"},disabledDate:Fn,format:"YYYY-MM-DD HH:mm:ss",onChange:(Pt,mn)=>{_n(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:Ht,type:"primary",onClick:()=>x(void 0,null,function*(){Un(!0),Ot(va,()=>{pe({type:"classroomList/setActionTabs",payload:{}})})})},"\u786E\u8BA4"))))};var z=(0,de.connect)(({user:ce,classroomList:pe})=>({user:ce,classroomList:pe}))(y),te=ee(38986),re=ee(32134),se=ee(12893),ie={wrap:"wrap___Ww0Ti",itemWarp:"itemWarp___LMLjd",addIcon:"addIcon___xmRLl",deleteIcon:"deleteIcon___gjwgO"},ve=ee(57809),ye=Object.defineProperty,Ge=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,he=(ce,pe,Pe)=>pe in ce?ye(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(Ge)for(var Pe of Ge(pe))ze.call(pe,Pe)&&he(ce,Pe,pe[Pe]);return ce},We=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())}),Le=({setitem:ce,item:pe,rz:Pe})=>{var Ot,en,Oa,va,_n,Ht,Un,Fn;let[Pt,mn]=(0,b.useState)({zydatas:[],jbdatas:[],kcdatas:[],zsdatas:[],page:1,per_page:20});const[On]=Be.default.useForm(),[sa,Zn]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Pe&&!sa&&(Pt.zydatas=Pe,mn(Qe({},Pt)),Zn(!0),pe!=null&&pe.ec_course_id&&Fa())},[pe,Pe,sa]),console.log(Pt,"params");function Fa(){return We(this,null,function*(){yield aa(pe==null?void 0:pe.ec_major_school_id),yield da(pe==null?void 0:pe.ec_year_id),yield Ja(pe==null?void 0:pe.ec_course_id),On.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 aa(yn){return We(this,null,function*(){const Ca=yield(0,te.ZP)(`/api/ec_major_schools/${yn}/ec_years/get_year_list.json`,{method:"get"});Pt.jbdatas=Ca==null?void 0:Ca.data,mn(Qe({},Pt)),On.setFieldsValue({ec_year_id:"",ec_course_id:"",ec_point_ids:[]})})}function da(yn){return We(this,null,function*(){const Ca=yield(0,te.ZP)(`/api/ec_years/${yn}/ec_courses/get_courses.json`,{method:"get"});Pt.kcdatas=Ca==null?void 0:Ca.data,mn(Qe({},Pt)),On.setFieldsValue({ec_course_id:"",ec_point_ids:[]})})}const Ja=yn=>We(void 0,null,function*(){const Ca=yield(0,te.ZP)(`/api/ec_courses/${yn}/ec_points.json`,{method:"get",params:{ec_course_id:yn}});Pt.zsdatas=Ca==null?void 0:Ca.data,mn(Qe({},Pt))});return b.createElement("div",{className:ie.from},b.createElement(Be.default,{form:On,layout:"inline",onValuesChange:yn=>{console.log("----",yn),yn.ec_major_school_id&&(Pt.jbdatas=[],Pt.kcdatas=[],Pt.zsdatas=[],mn(Qe({},Pt)),aa(yn.ec_major_school_id)),yn.ec_year_id&&(Pt.kcdatas=[],Pt.zsdatas=[],mn(Qe({},Pt)),da(yn.ec_year_id)),yn.ec_course_id&&(Pt.zsdatas=[],mn(Qe({},Pt)),Ja(yn.ec_course_id))},onFinish:yn=>We(void 0,null,function*(){ce(yn)})},b.createElement(Be.default.Item,{name:"ec_major_school_id"},b.createElement(ve.default,{style:{width:160},disabled:((Ot=Pt.zydatas)==null?void 0:Ot.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A"},(en=Pt==null?void 0:Pt.zydatas)==null?void 0:en.map((yn,Ca)=>b.createElement(ve.default.Option,{key:Ca,value:yn==null?void 0:yn.ec_major_school_id},yn==null?void 0:yn.name)))),b.createElement(Be.default.Item,{name:"ec_year_id"},b.createElement(ve.default,{style:{width:160},disabled:((Oa=Pt.jbdatas)==null?void 0:Oa.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u5C4A\u522B"},(va=Pt==null?void 0:Pt.jbdatas)==null?void 0:va.map((yn,Ca)=>b.createElement(ve.default.Option,{key:Ca,value:yn==null?void 0:yn.ec_year_id},yn==null?void 0:yn.year)))),b.createElement(Be.default.Item,{name:"ec_course_id"},b.createElement(ve.default,{style:{width:208},disabled:((_n=Pt.kcdatas)==null?void 0:_n.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B"},(Ht=Pt==null?void 0:Pt.kcdatas)==null?void 0:Ht.map((yn,Ca)=>b.createElement(ve.default.Option,{key:Ca,value:yn==null?void 0:yn.id},yn==null?void 0:yn.name)))),b.createElement(Be.default.Item,{name:"ec_point_ids"},b.createElement(ve.default,{onChange:()=>{On.submit()},style:{width:160},maxTagCount:1,maxTagTextLength:7,mode:"multiple",disabled:((Un=Pt.zsdatas)==null?void 0:Un.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"},(Fn=Pt==null?void 0:Pt.zsdatas)==null?void 0:Fn.map((yn,Ca)=>b.createElement(ve.default.Option,{key:Ca,value:yn==null?void 0:yn.id},yn==null?void 0:yn.name))))))},ot=Object.defineProperty,dt=Object.defineProperties,gt=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,on=(ce,pe,Pe)=>pe in ce?ot(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,cn=(ce,pe)=>{for(var Pe in pe||(pe={}))sn.call(pe,Pe)&&on(ce,Pe,pe[Pe]);if(Dt)for(var Pe of Dt(pe))Ft.call(pe,Pe)&&on(ce,Pe,pe[Pe]);return ce},Ve=(ce,pe)=>dt(ce,gt(pe)),at=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())});const rn=({user:ce,exercise_id:pe=null,homework_common_id:Pe=null,setitem:Ot})=>{var en,Oa,va;let[_n,Ht]=(0,b.useState)([{id:Math.random()}]),[Un,Fn]=(0,b.useState)(null);function Pt(){return at(this,null,function*(){var On,sa,Zn,Fa;let aa=yield(0,te.ZP)("/api/ec_courses/0/ec_points/get_work_points.json",{method:"get",params:{exercise_id:pe,homework_common_id:Pe}});if(((On=aa==null?void 0:aa.data)==null?void 0:On.length)>0){let da=[];(sa=aa==null?void 0:aa.data)==null||sa.map(Ja=>{var yn;(yn=Ja==null?void 0:Ja.ec_point_ids)==null||yn.map(Ca=>{da.push(Ca)})}),Ot(Ve(cn({},(Zn=aa==null?void 0:aa.data)==null?void 0:Zn[0]),{ec_point_ids:da})),Ht((Fa=aa==null?void 0:aa.data)==null?void 0:Fa.map(Ja=>Ve(cn({},Ja),{id:Math.random()})))}})}(0,b.useEffect)(()=>{var On,sa;(sa=(On=ce==null?void 0:ce.userInfo)==null?void 0:On.course)!=null&&sa.course_school_id&&mn()},[(Oa=(en=ce==null?void 0:ce.userInfo)==null?void 0:en.course)==null?void 0:Oa.course_school_id]);function mn(){return at(this,null,function*(){var On,sa;const Zn=yield(0,te.ZP)(`/api/schools/${(sa=(On=ce==null?void 0:ce.userInfo)==null?void 0:On.course)==null?void 0:sa.course_school_id}/ec_majors/get_major_list.json`,{method:"get"});Fn(Zn==null?void 0:Zn.data),(Pe||pe)&&Pt()})}return console.log(_n,Un,"datas"),b.createElement("div",{style:{display:(va=ce.userInfo.course)!=null&&va.is_openengineering?"":"none"}},b.createElement("div",{className:ie.wrap},b.createElement("p",null,"\u5DE5\u7A0B\u8BA4\u8BC1",b.createElement("br",null),"\u8003\u6838\u77E5\u8BC6\u70B9"),b.createElement("div",{className:ie.itemWarp},_n==null?void 0:_n.map((On,sa)=>b.createElement("div",{key:On.id,style:{display:"flex",alignItems:"center",marginBottom:20}},b.createElement(Le,{rz:Un,item:On,setitem:Zn=>{Zn=cn(cn({},_n==null?void 0:_n[sa]),Zn),_n.splice(sa,1,Zn),Ht([..._n]);let Fa=[];_n==null||_n.map(aa=>{var da;(da=aa==null?void 0:aa.ec_point_ids)==null||da.map(Ja=>{Fa.push(Ja)})}),Ot(Ve(cn({},Zn),{ec_point_ids:Fa}))}}),b.createElement(re.Z,{className:ie.addIcon,onClick:()=>{_n.push({id:Math.random()}),Ht([..._n])}}),sa!=0&&b.createElement(se.Z,{className:ie.deleteIcon,onClick:()=>{_n.splice(sa,1);let Zn=[];_n==null||_n.map(Fa=>{var aa;(aa=Fa==null?void 0:Fa.ec_point_ids)==null||aa.map(da=>{Zn.push(da)})}),Ot(Ve(cn({},_n[sa-1]),{ec_point_ids:Zn})),Ht([..._n])}}))))))};var Kn=(0,de.connect)(({user:ce})=>({user:ce}))(rn),Gt=ee(20834),wn=ee(71418),He=ee(38854),ct=ee(6848),Lt=ee(43428),mt={flex_box_center:"flex_box_center___zCnVx",flex_space_between:"flex_space_between___BBiQD",flex_box_vertical_center:"flex_box_vertical_center___KzPui",flex_box_center_end:"flex_box_center_end___zJokd",flex_box_column:"flex_box_column___Grsys",moreSpan:"moreSpan___VJeLv",bg:"bg___oBBHW",title:"title___xV4Rt",bottomdiv:"bottomdiv___rPfwr",spanBtn:"spanBtn___eJxID",addQuestionBtn:"addQuestionBtn___RPRiP",saveBtn:"saveBtn___y9nNf",left:"left___Q3Qf4",leftAction:"leftAction___GT9yG",Button:"Button___r00OP",iconWrapper:"iconWrapper___wofW_",up:"up___a9RQm",down:"down___x6RAl",disabled:"disabled___mkEME",titleleft:"titleleft___WZ83K",more_style:"more_style___ZXYnN",qcount:"qcount___o6F1k",score:"score___Gy6jr",qtitle:"qtitle___KF7pa",qcountclick:"qcountclick___kvoyc",right:"right___Nfa70",edit:"edit___RVRSb",delete:"delete___J9BAT",yuanti:"yuanti___ljq8l",tianjia:"tianjia___s7Zu2",shixun:"shixun___YkjdZ",scoreByBlankRadio:"scoreByBlankRadio___QYQY5",modalconfirm:"modalconfirm___dmWFe",scoremodal:"scoremodal___CDA7w",close:"close___jdUWv",content:"content___HPqUf",items:"items___YkyQL",bottom:"bottom___mzpp4",yes:"yes___Xio6z",no:"no___hbicD",formcenter:"formcenter___kN8Ax",radiogroup:"radiogroup___htjtc",easy:"easy____g1mR",medium:"medium___vPAsn",hard:"hard___c6tcf",formcenterselect:"formcenterselect___B88vb",selectitems1:"selectitems1___Dzpho",selectitems:"selectitems___wUGKF",morebottom:"morebottom___F5cFQ",scoreinput:"scoreinput___S9Fbv",shake:"shake___IYp2E",titleTooltip:"titleTooltip___J0i26",exercise_styles:"exercise_styles___BJAZm"},Nt=ee(51257),st=ee(28426),nt=ee(70100),De=ee(71426),fe=ee(91842),Xe=ee(59301),Rt=Object.defineProperty,Oe=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,vt=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,St=(ce,pe,Pe)=>pe in ce?Rt(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Bn=(ce,pe)=>{for(var Pe in pe||(pe={}))et.call(pe,Pe)&&St(ce,Pe,pe[Pe]);if(vt)for(var Pe of vt(pe))Me.call(pe,Pe)&&St(ce,Pe,pe[Pe]);return ce},nn=(ce,pe)=>Oe(ce,Ie(pe)),fn=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())}),Cn=({Itemid:ce,setqitem:pe,qitem:Pe,data:Ot,getdata:en,bigitem:Oa,setBigqitem:va,isedit:_n,handleEditing:Ht})=>{const[Un,Fn]=(0,b.useState)([]),[Pt,mn]=(0,b.useState)(!1),On=(Zn,Fa,aa)=>{const da=Array.from(Zn),[Ja]=da.splice(Fa,1);return da.splice(aa,0,Ja),da};(0,b.useEffect)(()=>{Ot.length>0&&Fn([...Ot])},[Ot]);const sa=(Zn,Fa)=>fn(void 0,null,function*(){if(!Zn.destination)return;if(_n){Ht();return}const aa=On(Fa,Zn.source.index,Zn.destination.index);mn(!0);let da=yield(0,te.ZP)(`/api/exercises/${ce}/adjust_position.json`,{method:"post",body:{id:ce,question_ids:aa==null?void 0:aa.map(Ja=>Ja.question_id)}});mn(!1),da.status===0&&en({id:Fa==null?void 0:Fa[Zn.source.index].question_id})});return Xe.createElement("div",null,Xe.createElement(De.Z5,{onDragEnd:Zn=>sa(Zn,Un)},Xe.createElement(De.bK,{droppableId:"droppable"},(Zn,Fa)=>Xe.createElement("div",Bn({ref:Zn.innerRef},Zn.droppableProps),Xe.createElement(wn.Z,{spinning:Pt},Un.map((aa,da)=>Xe.createElement(De._l,{key:da,draggableId:da.toString(),index:da},(Ja,yn)=>{var Ca,Ka;return Xe.createElement("aside",Bn(Bn({ref:Ja.innerRef},Ja.draggableProps),Ja.dragHandleProps),Xe.createElement(ct.Z,{title:Xe.createElement(fe.Z,{value:(aa==null?void 0:aa.question_type)===8?(Ca=aa==null?void 0:aa.program_attr)==null?void 0:Ca.description:aa.question_title}),color:"#fff",placement:"left",overlayClassName:mt.titleTooltip},Xe.createElement("div",{onClick:()=>{if(_n){Ht();return}pe(nn(Bn({},aa),{index:da+1})),va(Oa),(0,Nt.Vf)("#question-scroll-id")},className:`${mt.qcount} ${aa.question_id===(Pe==null?void 0:Pe.question_id)?mt.qcountclick:""}`},Xe.createElement("span",{className:mt.score},aa==null?void 0:aa.question_score,"\u5206"),Xe.createElement("span",{className:mt.qtitle},da+1,"\u3001",Xe.createElement(fe.Z,{value:(aa==null?void 0:aa.question_type)===8?(Ka=aa==null?void 0:aa.program_attr)==null?void 0:Ka.description:aa.question_title,showTextOnly:!0})))))}))),Zn.placeholder))))},Ze=ee(95237),yt=ee(81727),Zt=ee(78673),Bt=ee(61485),Mt=ee(22962),dn=ee(59301),gn=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())}),Jn=({form:ce,TagDiscipline:pe,exerciseitem:Pe,qitem:Ot,getTagData:en})=>{var Oa;const[va,_n]=(0,b.useState)(!0),[Ht,Un]=(0,b.useState)(!1),[Fn,Pt]=(0,b.useState)(""),[mn,On]=(0,b.useState)([]),[sa,Zn]=(0,b.useState)([]),[Fa,aa]=(0,b.useState)(0);(0,b.useEffect)(()=>{Ja()},[]);const da=yn=>gn(void 0,null,function*(){const Ca=yield(0,te.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:yn==null?void 0:yn.sub_discipline_id}});Zn(Ca==null?void 0:Ca.tag_disciplines)}),Ja=()=>gn(void 0,null,function*(){const yn=yield(0,te.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});On(yn.disciplines||[]),Ot!=null&&Ot.sub_discipline_id&&da(Ot),aa(Ot!=null&&Ot.sub_discipline_id?1:0),ce.setFieldsValue({difficulty:Ot.difficulty||2,tag_discipline_ids:Ot.tag_discipline_ids,repeat_answer:!Ot.repeat_answer,sub_discipline_id:Ot!=null&&Ot.sub_discipline_id?[Ot==null?void 0:Ot.discipline_id,Ot==null?void 0:Ot.sub_discipline_id]:[]})});return dn.createElement("div",null,dn.createElement("div",{style:{marginTop:30,height:va?"100%":"0px",overflow:"hidden"}},dn.createElement(Be.default.Item,{className:mt.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},dn.createElement(qe.ZP.Group,{className:mt.radiogroup},dn.createElement(qe.ZP.Button,{className:mt.easy,value:1},"\u7B80\u5355"),dn.createElement(qe.ZP.Button,{className:mt.medium,value:2},"\u9002\u4E2D"),dn.createElement(qe.ZP.Button,{className:mt.hard,value:3},"\u56F0\u96BE"))),dn.createElement(Be.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:mt.formcenterselect},dn.createElement(le.Z,{className:mt.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:mn,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(yn,Ca)=>{ce.setFieldsValue({sub_discipline_id:yn,tag_discipline_ids:[]}),aa(yn?yn.length:0),(yn==null?void 0:yn.length)>0&&(da({sub_discipline_id:yn[1]}),yn[1]==(Ot==null?void 0:Ot.sub_discipline_id)&&ce.setFieldValue("tag_discipline_ids",Ot.tag_discipline_ids))},onClear:()=>{Zn([]),ce.setFieldValue("tag_discipline_ids",[]),aa(0)}})),dn.createElement(Be.default.Item,{className:mt.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:mt.selectitems,disabled:Fa===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:(yn,Ca)=>Ca.key.indexOf(yn.toLowerCase())>=0},sa==null?void 0:sa.map(yn=>dn.createElement(ve.default.Option,{key:yn.name+yn.id,value:yn.id},dn.createElement("div",{style:{display:"flex",alignItems:"center"}},dn.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},yn.name),(yn==null?void 0:yn.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")))))),Fa>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:()=>{Un(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),dn.createElement(Be.default.Item,{className:mt.formcenterselect},dn.createElement("div",{style:{display:"flex",alignItems:"center"}},dn.createElement(Be.default.Item,{name:"repeat_answer",valuePropName:"checked"},dn.createElement(Zt.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:Ht,subDisciplineId:(Oa=ce.getFieldValue("sub_discipline_id"))==null?void 0:Oa[1],onCancel:()=>{Un(!1)},onOkClick:yn=>{Zn(Ca=>[...Ca,yn]),ce.setFieldValue("tag_discipline_ids",[...ce.getFieldValue("tag_discipline_ids"),yn==null?void 0:yn.id])}}))},ha=ee(59301),Ra=Object.defineProperty,_a=Object.defineProperties,gr=Object.getOwnPropertyDescriptors,ar=Object.getOwnPropertySymbols,pa=Object.prototype.hasOwnProperty,Br=Object.prototype.propertyIsEnumerable,qt=(ce,pe,Pe)=>pe in ce?Ra(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,An=(ce,pe)=>{for(var Pe in pe||(pe={}))pa.call(pe,Pe)&&qt(ce,Pe,pe[Pe]);if(ar)for(var Pe of ar(pe))Br.call(pe,Pe)&&qt(ce,Pe,pe[Pe]);return ce},oa=(ce,pe)=>_a(ce,gr(pe)),Da=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())}),bn=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:en,deleteitem:Oa,getTagData:va,init:_n,showTip:Ht=!1})=>{var Un;const[Fn]=Be.default.useForm();(0,b.useEffect)(()=>{var mn;Fn.setFieldsValue(oa(An({},ce),{name:ce==null?void 0:ce.question_title,choices:(mn=ce==null?void 0:ce.question_choices)==null?void 0:mn.map(On=>oa(An({},On),{standard_boolean:On!=null&&On.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)}))},[ce]);const Pt=mn=>{if(!(mn!=null&&mn.length))return!1;const On=mn.map(Zn=>{var Fa;return(Fa=Zn.choice_text)==null?void 0:Fa.trim().replace(/^\s+|\s+$/g,"")});return new Set(On).size!==On.length};return ha.createElement("div",null,ha.createElement(Be.default,{form:Fn,colon:!1,onFinish:mn=>{var On,sa,Zn,Fa,aa;if(Pt(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 da=(sa=(On=mn==null?void 0:mn.choices)==null?void 0:On.map)==null?void 0:sa.call(On,(yn,Ca)=>{if((yn==null?void 0:yn.standard_boolean)===1)return Ca+1}),Ja=oa(An({},mn),{item_type:ce==null?void 0:ce.question_type,question_choices:(Fa=(Zn=mn==null?void 0:mn.choices)==null?void 0:Zn.map)==null?void 0:Fa.call(Zn,yn=>yn.choice_text),standard_answers:da.filter(yn=>yn),choices:(aa=mn==null?void 0:mn.choices)==null?void 0:aa.map(yn=>oa(An({},yn),{is_answer:yn.standard_boolean}))});en(An(An({},ce),Ja))},onFinishFailed:mn=>Da(void 0,null,function*(){var On,sa;Ne.ZP.error(mn.errorFields[0].errors[0]),Fn.scrollToField((sa=(On=mn==null?void 0:mn.errorFields)==null?void 0:On[0])==null?void 0:sa.name,{behavior:"smooth",block:"center"})})},ha.createElement("div",{style:{display:"flex",alignItems:"center"}},ha.createElement("div",{style:{flex:1}},ha.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),ha.createElement("span",null,(ce==null?void 0:ce.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),((Un=Ot==null?void 0:Ot.exercise)==null?void 0:Un.exercise_status)==1&&!(ce!=null&&ce.isadd)&&ha.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Oa()}},ha.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),ha.createElement(je.ZP,{onClick:()=>{var mn;ce.isadd?(pe(!1),_n()):(Fn.setFieldsValue(oa(An({},ce),{name:ce==null?void 0:ce.question_title,choices:(mn=ce==null?void 0:ce.question_choices)==null?void 0:mn.map(On=>oa(An({},On),{standard_boolean:On!=null&&On.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),pe(!1))}},"\u53D6\u6D88"),ha.createElement(ct.Z,{overlayClassName:mt.shake,open:Ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:ha.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},ha.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")},ha.createElement(je.ZP,{type:"primary",className:"ml20",onClick:()=>Da(void 0,null,function*(){Fn.submit()})},"\u4FDD\u5B58"))),ha.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},ha.createElement(Ze.Z,{align:"middle"},ha.createElement(Be.default.Item,{className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},ha.createElement(Ke.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}))),ha.createElement(yt.u,{form:Fn,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"}),ha.createElement(Jn,{getTagData:va,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:Fn}))))},Ln=ee(92046),zn=ee(74716),pn=ee(59301),ia=Object.defineProperty,Sa=Object.defineProperties,It=Object.getOwnPropertyDescriptors,kt=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,Qn=Object.prototype.propertyIsEnumerable,Yn=(ce,pe,Pe)=>pe in ce?ia(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Gn=(ce,pe)=>{for(var Pe in pe||(pe={}))bt.call(pe,Pe)&&Yn(ce,Pe,pe[Pe]);if(kt)for(var Pe of kt(pe))Qn.call(pe,Pe)&&Yn(ce,Pe,pe[Pe]);return ce},ir=(ce,pe)=>Sa(ce,It(pe)),Ba=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())}),Ua=({qitem:ce,TagDiscipline:pe,exerciseitem:Pe,setisedit:Ot,seveeditor:en,deleteitem:Oa,getTagData:va,init:_n,showTip:Ht=!1})=>{var Un;const[Fn]=Be.default.useForm(),Pt=Be.default.useWatch("use_blank_score",Fn);return(0,b.useEffect)(()=>{Fn.setFieldsValue(ir(Gn({},ce),{standard_answers:ce.standard_answers||[],name:ce.question_title,repeat_answer:!ce.repeat_answer}))},[ce]),pn.createElement("div",null,pn.createElement(Be.default,{form:Fn,colon:!1,onValuesChange:(mn,On)=>{var sa,Zn,Fa,aa;if(mn!=null&&mn.standard_answers||mn!=null&&mn.use_blank_score){let da=((sa=Fn.getFieldValue("standard_answers"))==null?void 0:sa.length)>0&&((Fa=(Zn=Fn.getFieldValue("standard_answers"))==null?void 0:Zn.map(Ja=>Ja.score))==null?void 0:Fa.filter(Ja=>Ja));(da==null?void 0:da.length)>0&&Fn.setFieldsValue({question_score:(da==null?void 0:da.length)>0&&((aa=da.reduce((Ja,yn)=>Ja+yn))==null?void 0:aa.toFixed(1))})}},onFinish:mn=>{en(ir(Gn(Gn({},ce),mn),{item_type:ce==null?void 0:ce.question_type,standard_answers:mn.standard_answers,question_title:mn.name}))},onFinishFailed:mn=>Ba(void 0,null,function*(){var On,sa;mn.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,Nt.pE)(),Ne.ZP.error(mn.errorFields[0].errors[0]),Fn.scrollToField((sa=(On=mn==null?void 0:mn.errorFields)==null?void 0:On[0])==null?void 0:sa.name,{behavior:"smooth",block:"center"})})},pn.createElement("div",{style:{display:"flex",alignItems:"center"}},pn.createElement("div",{style:{flex:1}},pn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),pn.createElement("span",null,"\u586B\u7A7A\u9898")),((Un=Pe==null?void 0:Pe.exercise)==null?void 0:Un.exercise_status)==1&&!(ce!=null&&ce.isadd)&&pn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Oa()}},pn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),pn.createElement(je.ZP,{onClick:()=>{ce.isadd?(Ot(!1),_n()):(Fn.setFieldsValue(ir(Gn({},ce),{standard_answers:ce.standard_answers||[],name:ce.question_title,repeat_answer:!ce.repeat_answer})),Ot(!1))}},"\u53D6\u6D88"),pn.createElement(ct.Z,{overlayClassName:mt.shake,open:Ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:pn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},pn.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")},pn.createElement(je.ZP,{type:"primary",className:"ml20",onClick:()=>{Fn.submit()}},"\u4FDD\u5B58"))),pn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},pn.createElement(Ze.Z,{align:"middle"},Pt?pn.createElement(zn.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):pn.createElement(Be.default.Item,{key:2,className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},pn.createElement(Ke.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})),pn.createElement(Be.default.Item,{name:"use_blank_score",noStyle:!0},pn.createElement(qe.ZP.Group,{className:mt.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),pn.createElement(ct.Z,{overlayInnerStyle:{width:460},title:pn.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",pn.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")},pn.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),pn.createElement(Ln.u,{form:Fn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:Pt,answerKey:"standard_answers"}),pn.createElement(Jn,{getTagData:va,qitem:ce,exerciseitem:Pe,TagDiscipline:pe,form:Fn}))))},wa=ee(14289),Nn=ee(59301),mr=Object.defineProperty,Nr=Object.defineProperties,Vr=Object.getOwnPropertyDescriptors,xr=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,Pn=Object.prototype.propertyIsEnumerable,Jt=(ce,pe,Pe)=>pe in ce?mr(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,In=(ce,pe)=>{for(var Pe in pe||(pe={}))$e.call(pe,Pe)&&Jt(ce,Pe,pe[Pe]);if(xr)for(var Pe of xr(pe))Pn.call(pe,Pe)&&Jt(ce,Pe,pe[Pe]);return ce},Wn=(ce,pe)=>Nr(ce,Vr(pe)),la=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())}),xt=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:en,deleteitem:Oa,getTagData:va,init:_n,showTip:Ht=!1})=>{var Un;const[Fn]=Be.default.useForm();return(0,b.useEffect)(()=>{var Pt;Fn.setFieldsValue(Wn(In({},ce),{name:ce.question_title,repeat_answer:!ce.repeat_answer,choices:(Pt=ce==null?void 0:ce.question_choices)==null?void 0:Pt.map(mn=>Wn(In({},mn),{is_answer:mn!=null&&mn.standard_boolean?1:0}))}))},[ce]),Nn.createElement("div",null,Nn.createElement(Be.default,{form:Fn,colon:!1,onFinish:Pt=>{var mn,On,sa,Zn;let Fa=(On=(mn=Pt==null?void 0:Pt.choices)==null?void 0:mn.map)==null?void 0:On.call(mn,(aa,da)=>{if((aa==null?void 0:aa.is_answer)===1)return da+1});en(Wn(In(In({},ce),Pt),{question_title:Pt.name,standard_answers:Fa.filter(aa=>aa),question_choices:(Zn=(sa=Pt==null?void 0:Pt.choices)==null?void 0:sa.map)==null?void 0:Zn.call(sa,aa=>aa.choice_text)}))},onFinishFailed:Pt=>la(void 0,null,function*(){var mn,On;Ne.ZP.error(Pt.errorFields[0].errors[0]),Fn.scrollToField((On=(mn=Pt==null?void 0:Pt.errorFields)==null?void 0:mn[0])==null?void 0:On.name,{behavior:"smooth",block:"center"})})},Nn.createElement("div",{style:{display:"flex",alignItems:"center"}},Nn.createElement("div",{style:{flex:1}},Nn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Nn.createElement("span",null,"\u5224\u65AD\u9898")),((Un=Ot==null?void 0:Ot.exercise)==null?void 0:Un.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Nn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Oa()}},Nn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Nn.createElement(je.ZP,{onClick:()=>{var Pt;ce.isadd?(pe(!1),_n()):(Fn.setFieldsValue(Wn(In({},ce),{name:ce.question_title,repeat_answer:!ce.repeat_answer,choices:(Pt=ce==null?void 0:ce.question_choices)==null?void 0:Pt.map(mn=>Wn(In({},mn),{is_answer:mn!=null&&mn.standard_boolean?1:0}))})),pe(!1))}},"\u53D6\u6D88"),Nn.createElement(ct.Z,{overlayClassName:mt.shake,open:Ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Nn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Nn.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")},Nn.createElement(je.ZP,{type:"primary",className:"ml20",onClick:()=>{Fn.submit()}},"\u4FDD\u5B58"))),Nn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Nn.createElement(Be.default.Item,{className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Nn.createElement(Ke.Z,{onBlur:Pt=>{Pt.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})),Nn.createElement(wa.Z,{form:Fn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),Nn.createElement(Jn,{getTagData:va,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:Fn}))))},an=ee(36381),tn={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"},Kt=ee(39793),xa=Object.defineProperty,Ea=Object.defineProperties,Qa=Object.getOwnPropertyDescriptors,za=Object.getOwnPropertySymbols,$n=Object.prototype.hasOwnProperty,na=Object.prototype.propertyIsEnumerable,ba=(ce,pe,Pe)=>pe in ce?xa(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Pa=(ce,pe)=>{for(var Pe in pe||(pe={}))$n.call(pe,Pe)&&ba(ce,Pe,pe[Pe]);if(za)for(var Pe of za(pe))na.call(pe,Pe)&&ba(ce,Pe,pe[Pe]);return ce},vr=(ce,pe)=>Ea(ce,Qa(pe)),Tr=(ce,pe)=>{var Pe={};for(var Ot in ce)$n.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&za)for(var Ot of za(ce))pe.indexOf(Ot)<0&&na.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Ya=ce=>{var pe=ce,{value:Pe,onChange:Ot,scrollId:en}=pe,Oa=Tr(pe,["value","onChange","scrollId"]);return b.createElement("div",{id:en||""},b.createElement(Kt.Z,vr(Pa({},Oa),{defaultValue:Pe,onChange:(va,_n)=>{console.log("a:",va,_n),_n!=null&&_n.length?Ot(va,_n):Ot(va)}})))},lr=({value:ce,onChange:pe,placeholder:Pe,height:Ot=140,isEdit:en})=>en?b.createElement(Kt.Z,{watch:!0,isFocus:!0,height:Ot,placeholder:Pe,defaultValue:ce,onChange:pe}):b.createElement("div",{style:{cursor:"pointer"}},ce?b.createElement(fe.Z,{className:tn.inputBorder,value:ce}):b.createElement("div",{className:`${tn.inputBorder} ${tn.placeholder}`},Pe));var hr=ee(43604),Po=Object.defineProperty,ri=Object.defineProperties,xi=Object.getOwnPropertyDescriptors,ho=Object.getOwnPropertySymbols,bo=Object.prototype.hasOwnProperty,Wo=Object.prototype.propertyIsEnumerable,ko=(ce,pe,Pe)=>pe in ce?Po(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,No=(ce,pe)=>{for(var Pe in pe||(pe={}))bo.call(pe,Pe)&&ko(ce,Pe,pe[Pe]);if(ho)for(var Pe of ho(pe))Wo.call(pe,Pe)&&ko(ce,Pe,pe[Pe]);return ce},Er=(ce,pe)=>ri(ce,xi(pe)),to=(ce,pe)=>{var Pe={};for(var Ot in ce)bo.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&ho)for(var Ot of ho(ce))pe.indexOf(Ot)<0&&Wo.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Yo=["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:Ot,index:en,isEdit:Oa,setInputActive:va,form:_n,choiceOptionsPath:Ht,allowChangeMode:Un,showAddIcon:Fn,addItem:Pt,deleteItem:mn})=>{const On=(ce==null?void 0:ce[Ot])===1,sa=()=>{const Fa=_n.getFieldValue(Ht);_n.setFieldValue(Ht,Fa.map(aa=>Er(No({},aa),{[Ot]:0})))},Zn=()=>{On?pe(Er(No({},ce),{[Ot]:0})):(Un||sa(),pe(Er(No({},ce),{[Ot]:1})))};return b.createElement(Ze.Z,{className:tn.choiceWrap,align:"middle",wrap:!1},b.createElement(hr.Z,{onClick:Zn,className:`${tn.choiceIndex} ${On?tn.activeAnswer:""}`},Yo[en]),b.createElement(hr.Z,{flex:1,className:`${tn.editorWrap} ml15`,onClick:va},b.createElement(lr,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Oa,value:ce==null?void 0:ce[Pe],onChange:Fa=>{pe(Er(No({},ce),{[Pe]:Fa}))}})),b.createElement(hr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:Zn,className:`${tn.setAnswerBtn} ${On?tn.activeAnswer:""}`},On?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),b.createElement(hr.Z,{className:tn.actionWrapper},b.createElement(ct.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},b.createElement(re.Z,{className:tn.addIcon,onClick:Pt,style:{visibility:Fn?"visible":"hidden"}})),b.createElement(ct.Z,{title:"\u5220\u9664"},b.createElement(se.Z,{className:tn.deleteIcon,onClick:mn,style:{visibility:en>1?"visible":"hidden"}}))))},Lo=({questionTitlePlaceholder:ce,titleKey:pe,choiceKey:Pe,analysisKey:Ot,choiceTextKey:en,answerKey:Oa,choiceOptionsPath:va,allowChangeMode:_n=!0,form:Ht,showAnalysis:Un=!0})=>{const[Fn,Pt]=(0,b.useState)(),[mn,On]=(0,b.useState)(!1);return b.createElement("div",{className:tn.wrap},b.createElement("div",{className:tn.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:pe,labelCol:{span:24},rules:[{required:!0}]},b.createElement(Ya,{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(sa,Zn){const Fa=Zn.some(da=>da[Oa]===1),aa=Zn.findIndex(da=>{var Ja;return((Ja=da[en])==null?void 0:Ja.length)<=0});return aa!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${Yo[aa]}\u9009\u9879\u7684\u5185\u5BB9`)):Fa?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(sa,{add:Zn,remove:Fa})=>b.createElement("div",{id:Array.isArray(va)?va.join("_"):`${va}`},sa.map((aa,da)=>{var Ja=aa,{key:yn,name:Ca}=Ja,Ka=to(Ja,["key","name"]);const eo=Fn===yn,Sr=()=>{Pt(yn)},ui=da<7&&da===sa.length-1,Ga=()=>Zn({[en]:"",[Oa]:0}),xo=()=>Fa(Ca);return b.createElement(Be.default.Item,Er(No({},Ka),{key:yn,name:Ca,noStyle:!0}),b.createElement(Jo,{choiceTextKey:en,answerKey:Oa,index:da,isEdit:eo,setInputActive:Sr,form:Ht,choiceOptionsPath:va,allowChangeMode:_n,showAddIcon:ui,addItem:Ga,deleteItem:xo}))}),sa.length<8&&b.createElement("div",{className:`${tn.addBtn} mb30`,onClick:()=>Zn({[en]:"",[Oa]:0})},"\u6DFB\u52A0\u9009\u9879"))),Un&&b.createElement("div",{onClick:()=>On(!0)},b.createElement(Be.default.Item,{name:Ot,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(lr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:mn}))))};var wr=ee(59301),oi=Object.defineProperty,Gr=Object.defineProperties,To=Object.getOwnPropertyDescriptors,mo=Object.getOwnPropertySymbols,di=Object.prototype.hasOwnProperty,vi=Object.prototype.propertyIsEnumerable,Ui=(ce,pe,Pe)=>pe in ce?oi(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,tl=(ce,pe)=>{for(var Pe in pe||(pe={}))di.call(pe,Pe)&&Ui(ce,Pe,pe[Pe]);if(mo)for(var Pe of mo(pe))vi.call(pe,Pe)&&Ui(ce,Pe,pe[Pe]);return ce},nl=(ce,pe)=>Gr(ce,To(pe)),$o=(ce,pe)=>{var Pe={};for(var Ot in ce)di.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&mo)for(var Ot of mo(ce))pe.indexOf(Ot)<0&&vi.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Fi=({value:ce,onChange:pe})=>{const Pe=en=>{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:tn.modal,onOk:()=>{const Oa=[...ce];Oa.splice(en,1),pe(Oa)}})},Ot=()=>{const en=[...ce];en.push(""),pe(en)};return wr.createElement(Ze.Z,{className:"ml20"},wr.createElement(hr.Z,{flex:1},ce==null?void 0:ce.map((en,Oa)=>wr.createElement(Ze.Z,{key:`${en}_${Oa}`,align:"middle",className:"mb20"},wr.createElement(ke.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:en,autoSize:{maxRows:3},maxLength:1e3,onBlur:va=>{const _n=[...ce],Ht=va.target.value.trim();_n[Oa]=Ht,pe(_n)}}),wr.createElement(ct.Z,{title:"\u5220\u9664"},wr.createElement(se.Z,{className:tn.deleteIcon,style:{marginLeft:15,visibility:Oa>0?"visible":"hidden"},onClick:()=>Pe(Oa)}))))),wr.createElement(hr.Z,null,wr.createElement("div",{className:`${tn.addBtn}`,onClick:()=>{Ot()}},"\u65B0\u589E\u7B54\u6848")))},Wi=({value:ce=!0,onChange:pe})=>wr.createElement(Zt.Z,{checked:!ce,onChange:Pe=>{pe(!Pe)}}),dl="\u2581",gl=({questionTitlePlaceholder:ce,form:pe,name:Pe,scoreByBlank:Ot,answerKey:en,titleKey:Oa="name",analysisKey:va="analysis",isOrdered:_n="is_ordered"})=>{var Ht,Un;const[Fn,Pt]=(0,b.useState)(!1),mn=(yn,Ca)=>{const Ka=Ca.line;let eo=0;for(let ui=0;ui<Ka;ui++)eo+=yn.getLine(ui).split(dl).length-1;const Sr=yn.getLine(Ka).substring(0,Ca.ch);return eo+=Sr.split(dl).length-1,eo},On=(yn,Ca,Ka,eo)=>{const Sr=yn.getRange(Ca.from,Ca.to);let ui=0;if(Ca.text.forEach(Ga=>{ui+=Ga.split(dl).length-1}),Ca.origin!=="setValue"){if(Sr&&Sr.indexOf(dl)!==-1){const Ga=Sr.split(dl).length-1,xo=mn(yn,Ca.from);if(console.log(`\u5220\u9664${Ga}\u4E2A\uFF0C \u524D\u9762\u6709${xo}\u4E2A\uFF0C\u65B0\u589E${ui}\u4E2A`),Ga>1){const Dr=Array.from({length:Ga},(ao,Eo)=>xo+Eo);eo(Dr)}else eo(xo)}else if(ui>0){const Ga=mn(yn,Ca.from);console.log(`\u65B0\u589E${ui}\u4E2A\uFF0C\u4E4B\u524D\u6709${Ga}\u4E2A`),Ka(ui,Ga)}}},sa=()=>{const yn=pe.getFieldValue(["sub_item_banks",...en]);pe.setFieldValue(["sub_item_banks",...en],yn==null?void 0:yn.map((Ca,Ka)=>nl(tl({},Ca),{position:Ka+1})))},Zn=(0,b.useRef)(),Fa=(yn,Ca)=>{for(let Ka=0;Ka<yn;Ka++)Zn.current({position:null,answer_text:[""]},Ca+Ka);sa()},aa=(0,b.useRef)(),da=yn=>{aa.current(yn),sa()},Ja=(Un=(Ht=pe.getFieldValue("sub_item_banks"))==null?void 0:Ht[en==null?void 0:en[0]])==null?void 0:Un[en==null?void 0:en[1]];return console.log(pe==null?void 0:pe.getFieldValue(["sub_item_banks",...Ot])),wr.createElement("div",{className:tn.wrap},wr.createElement("div",{className:tn.questionTitleEditorWrap},wr.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Oa,labelCol:{span:24},rules:[{required:!0}]},wr.createElement(Ya,{scrollId:"name",watch:!0,height:140,placeholder:ce,showNullButton:!0,onCMBeforeChange:(yn,Ca)=>{On(yn,Ca,Fa,da)}}))),wr.createElement(Be.default.List,{name:en,rules:[{validator(yn,Ca){if((Ca==null?void 0:Ca.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Ka of Ca){const{answer_text:eo}=Ka||{};if(eo!=null&&eo.some(Sr=>(Sr==null?void 0:Sr.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(yn,{add:Ca,remove:Ka},{errors:eo})=>(Zn.current=Ca,aa.current=Ka,wr.createElement(wr.Fragment,null,wr.createElement(Be.default.Item,{label:wr.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(yn!=null&&yn.length)&&wr.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),yn.map((Sr,ui)=>{var Ga=Sr,{key:xo,name:Dr}=Ga,ao=$o(Ga,["key","name"]);return wr.createElement(Ze.Z,{className:"mb20",key:xo,align:"top"},wr.createElement(hr.Z,{flex:"0 0 auto",className:`${tn.blankIndex} pt5`},"\u586B\u7A7A\u9879",ui+1),wr.createElement(hr.Z,{flex:1},wr.createElement(Ze.Z,{align:"top",justify:"space-between"},wr.createElement(hr.Z,{flex:1},wr.createElement(Be.default.Item,nl(tl({},ao),{name:[Dr,"answer_text"],noStyle:!0}),wr.createElement(Fi,null))),(pe==null?void 0:pe.getFieldValue(["sub_item_banks",...Ot]))&&wr.createElement(hr.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},wr.createElement(Be.default.Item,nl(tl({},ao),{name:[Dr,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:tn.blankInputNumberWrapper}),wr.createElement(Ke.Z,{onChange:()=>{var Eo,hi;let mi=pe==null?void 0:pe.getFieldValue(["sub_item_banks",en==null?void 0:en[0],"standard_answers"]),Cr=0;for(let po in mi)(Eo=mi[po])!=null&&Eo.score&&(Cr+=Number((hi=mi[po])==null?void 0:hi.score));pe==null||pe.setFieldValue(["sub_item_banks",en==null?void 0:en[0],"question_score"],Cr)},className:tn.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),wr.createElement(Be.default.Item,nl(tl({},ao),{name:[Dr,"position"],noStyle:!0}),wr.createElement(ke.default,{type:"hidden"}))))})))),wr.createElement(Ze.Z,{align:"middle"},wr.createElement(Be.default.Item,{name:[Pe,"downcase"],valuePropName:"checked"},wr.createElement(Zt.Z,null)),wr.createElement(hr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),wr.createElement(Ze.Z,{align:"middle"},wr.createElement(Be.default.Item,{name:[Pe,"no_space"],valuePropName:"checked"},wr.createElement(Zt.Z,null)),wr.createElement(hr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Ja==null?void 0:Ja.length)>1&&wr.createElement(Ze.Z,{align:"middle",className:(Ja==null?void 0:Ja.length)>1?"mb30":`${tn.hide}`},wr.createElement(Be.default.Item,{name:_n},wr.createElement(Wi,null)),wr.createElement(hr.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")),wr.createElement("div",{onClick:()=>Pt(!0)},wr.createElement(Be.default.Item,{name:va,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},wr.createElement(lr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Fn}))))};var Pl=Object.defineProperty,_r=Object.defineProperties,qa=Object.getOwnPropertyDescriptors,Va=Object.getOwnPropertySymbols,er=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable,we=(ce,pe,Pe)=>pe in ce?Pl(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,hn=(ce,pe)=>{for(var Pe in pe||(pe={}))er.call(pe,Pe)&&we(ce,Pe,pe[Pe]);if(Va)for(var Pe of Va(pe))so.call(pe,Pe)&&we(ce,Pe,pe[Pe]);return ce},Rn=(ce,pe)=>_r(ce,qa(pe)),ya=(ce,pe)=>{var Pe={};for(var Ot in ce)er.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&Va)for(var Ot of Va(ce))pe.indexOf(Ot)<0&&so.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const un={\u6B63\u786E:"T",\u9519\u8BEF:"F"},Za=({value:ce,onChange:pe,form:Pe,choiceKey:Ot})=>{const en=(ce==null?void 0:ce.is_answer)===1,Oa=ce==null?void 0:ce.choice_text,va=()=>{var _n;const Ht=(_n=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",...Ot]))==null?void 0:_n.map(Un=>({choice_text:Un.choice_text,is_answer:0}));Pe==null||Pe.setFieldValue(["sub_item_banks",...Ot],Ht),pe(Rn(hn({},ce),{is_answer:1}))};return b.createElement(Ze.Z,{className:tn.choiceWrap,align:"middle",wrap:!1},b.createElement(hr.Z,{onClick:va,className:`${tn.choiceIndex} ${tn.judgementIndex} ${en?tn.activeAnswer:""}`},un[Oa]),b.createElement(hr.Z,{flex:1,className:`${tn.editorWrap} ml15`},b.createElement("div",{className:`${tn.inputBorder} ${tn.placeholder} ${en?tn.activeJudgementAnswer:""}`},Oa)),b.createElement(hr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:va,className:`${tn.setAnswerBtn} ${en?tn.activeAnswer:""}`},en?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Na=({questionTitlePlaceholder:ce,choiceKey:pe="choices",form:Pe,titleKey:Ot="name",analysisKey:en="analysis"})=>{const[Oa,va]=(0,b.useState)(!1);return b.createElement("div",{className:tn.wrap},b.createElement("div",{className:tn.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Ot,labelCol:{span:24},rules:[{required:!0}]},b.createElement(Ya,{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(_n,Ht){return Ht.some(Fn=>(Fn==null?void 0:Fn.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},_n=>b.createElement("div",{id:"choices"},_n.map(Ht=>{var Un=Ht,{key:Fn,name:Pt}=Un,mn=ya(Un,["key","name"]);return b.createElement(Be.default.Item,Rn(hn({},mn),{key:Fn,name:Pt,noStyle:!0}),b.createElement(Za,{form:Pe,choiceKey:pe}))})))),b.createElement("div",{onClick:()=>va(!0)},b.createElement(Be.default.Item,{name:en,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(lr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Oa}))))};var Hn=ee(12563),qn=Object.defineProperty,pr=Object.defineProperties,Wa=Object.getOwnPropertyDescriptors,Ha=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,Mr=Object.prototype.propertyIsEnumerable,Co=(ce,pe,Pe)=>pe in ce?qn(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Uo=(ce,pe)=>{for(var Pe in pe||(pe={}))tr.call(pe,Pe)&&Co(ce,Pe,pe[Pe]);if(Ha)for(var Pe of Ha(pe))Mr.call(pe,Pe)&&Co(ce,Pe,pe[Pe]);return ce},Ko=(ce,pe)=>pr(ce,Wa(pe)),Ti=(ce,pe)=>{var Pe={};for(var Ot in ce)tr.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&Ha)for(var Ot of Ha(ce))pe.indexOf(Ot)<0&&Mr.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Ji=ce=>{var pe=ce,{value:Pe,onChange:Ot}=pe,en=Ti(pe,["value","onChange"]);const Oa=va=>{Ot([va])};return b.createElement(Kt.Z,Ko(Uo({},en),{defaultValue:Pe==null?void 0:Pe[0],onChange:Oa}))},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(Hn.default,{closable:!0,onClose:pe,className:tn.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ce.join(" \u6216 "))),Al=({questionTitlePlaceholder:ce,form:pe,showKeywords:Pe,isMustKeyWords:Ot=Pe,titleKey:en="name",analysisKey:Oa="analysis",answerTexts:va="answer_texts",keywords:_n="keywords",useKeywords:Ht="use_keywords",indexs:Un})=>{var Fn,Pt,mn,On;const[sa,Zn]=(0,b.useState)(!1),[Fa,aa]=(0,b.useState)(""),da=(Pt=(Fn=pe.getFieldValue("sub_item_banks"))==null?void 0:Fn[Ht==null?void 0:Ht[0]])==null?void 0:Pt[Ht==null?void 0:Ht[1]],Ja=(On=(mn=pe.getFieldValue("sub_item_banks"))==null?void 0:mn[Ht==null?void 0:Ht[0]])==null?void 0:On.question_score;return b.createElement("div",{className:tn.wrap},b.createElement("div",{className:tn.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:en,labelCol:{span:24},rules:[{required:!0}]},b.createElement(Ya,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),b.createElement(Be.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:va,labelCol:{span:24}},b.createElement(Ji,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Pe&&!Ot&&b.createElement(Be.default.Item,{hidden:!0,name:Ht,valuePropName:"checked"},b.createElement(Zt.Z,{defaultChecked:!0})),Pe&&Ot&&b.createElement(Ze.Z,{align:"middle",className:"mb30"},b.createElement(Be.default.Item,{name:Ht,valuePropName:"checked"},b.createElement(Zt.Z,null)),b.createElement(hr.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(hr.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"}})))),(da||!Ot)&&b.createElement(Be.default.List,{name:_n,rules:[{validator(yn,Ca){return Ot?Ca!=null&&Ca.length?(Ca==null?void 0:Ca.reduce((eo,Sr)=>eo+Sr.score,0))>parseFloat(Ja)?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()}}]},(yn,{add:Ca,remove:Ka})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${tn.title} mb10`},Ot?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(Ze.Z,{align:"middle",className:"font14 mb30"},b.createElement(hr.Z,{flex:1},b.createElement(ke.default,{value:Fa,onChange:eo=>{aa(eo.target.value)},maxLength:50,allowClear:!0,onPressEnter:eo=>{var Sr,ui,Ga,xo;const Dr=`${(Sr=eo.target)==null?void 0:Sr.value}`,ao=(Ga=(ui=Dr==null?void 0:Dr.split("|"))==null?void 0:ui.filter(mi=>!!mi))==null?void 0:Ga.map(mi=>mi==null?void 0:mi.trim()),Eo=pe.getFieldValue(["sub_item_banks",..._n]),hi=((xo=Eo==null?void 0:Eo.map(mi=>mi==null?void 0:mi.keyword))==null?void 0:xo.flat())||[];for(const mi of ao)if(hi.includes(mi)){Ne.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}al(Dr)&&(Ca({keyword:ao,score:1}),aa(""))},className:tn.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(hr.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),yn.map(eo=>{var Sr=eo,{key:ui,name:Ga}=Sr,xo=Ti(Sr,["key","name"]);return b.createElement(Ze.Z,{key:ui,className:"mb20",style:{marginRight:148}},b.createElement(hr.Z,{flex:1},b.createElement(Ze.Z,{align:"middle",justify:"space-between"},b.createElement(Be.default.Item,Ko(Uo({},xo),{name:[Ga,"keyword"]}),b.createElement(Zl,{onClose:()=>Ka(Ga)})),Ot&&b.createElement(Be.default.Item,Ko(Uo({},xo),{name:[Ga,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:tn.blankInputNumberWrapper}),b.createElement(Ke.Z,{className:tn.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:Oa,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(lr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:sa}))))};var So=ee(59301),yl=Object.defineProperty,eu=Object.defineProperties,Nl=Object.getOwnPropertyDescriptors,xl=Object.getOwnPropertySymbols,tu=Object.prototype.hasOwnProperty,Qu=Object.prototype.propertyIsEnumerable,su=(ce,pe,Pe)=>pe in ce?yl(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,mu=(ce,pe)=>{for(var Pe in pe||(pe={}))tu.call(pe,Pe)&&su(ce,Pe,pe[Pe]);if(xl)for(var Pe of xl(pe))Qu.call(pe,Pe)&&su(ce,Pe,pe[Pe]);return ce},Yu=(ce,pe)=>eu(ce,Nl(pe)),El=(ce,pe)=>{var Pe={};for(var Ot in ce)tu.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&xl)for(var Ot of xl(ce))pe.indexOf(Ot)<0&&Qu.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const{Panel:Ru}=an.default,Mu=({questionTitlePlaceholder:ce,choiceKey:pe,form:Pe,withScore:Ot})=>{const en=[{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"}],[Oa,va]=(0,b.useState)(),[_n,Ht]=(0,b.useState)([]),Un=Pt=>{Ht(Pt)},Fn=({value:Pt})=>So.createElement("div",{style:{width:150,paddingLeft:11}},Pt);return So.createElement("div",{className:tn.wrap},So.createElement("div",{className:tn.questionTitleEditorWrap},So.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},So.createElement(Ya,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),So.createElement(Be.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),So.createElement(Be.default.List,{name:"sub_item_banks",rules:[{validator(Pt,mn){return mn?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Pt,{add:mn,remove:On,move:sa})=>{const Zn=Pe.getFieldValue("sub_item_banks");return So.createElement(So.Fragment,null,So.createElement(an.default,{className:Pt.length>0?tn.collapseWrapper:"",bordered:!1,activeKey:_n,onChange:Un,expandIcon:({isActive:Fa})=>So.createElement("i",{className:`iconfont icon-weizhankai ${Fa?tn.open:tn.close}`,style:{fontSize:14,transition:"all .2s"}})},Pt.map((Fa,aa)=>{var da=Fa,{key:Ja,name:yn}=da,Ca=El(da,["key","name"]),Ka,eo,Sr,ui,Ga,xo,Dr,ao,Eo,hi,mi,Cr,po,Ki;return So.createElement(Ru,{className:tn.panel,forceRender:!0,header:So.createElement("div",{className:tn.panelHeader},"\u7B2C",aa+1,"\u5C0F\u9898",So.createElement("span",null,"\uFF08",((Ka=Zn==null?void 0:Zn[yn])==null?void 0:Ka.question_type)==0?"\u5355\u9009\u9898":((eo=Zn==null?void 0:Zn[yn])==null?void 0:eo.question_type)==1?"\u591A\u9009\u9898":((Sr=Zn==null?void 0:Zn[yn])==null?void 0:Sr.question_type)==3?"\u586B\u7A7A\u9898":((ui=Zn==null?void 0:Zn[yn])==null?void 0:ui.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:yn,extra:So.createElement(Ze.Z,{align:"middle",onClick:Li=>Li.stopPropagation()},((Ga=Zn==null?void 0:Zn[yn])==null?void 0:Ga.question_type)==3&&So.createElement(So.Fragment,null,So.createElement(qe.ZP.Group,{defaultValue:(xo=Zn==null?void 0:Zn[yn])==null?void 0:xo.use_blank_score,className:mt.scoreByBlankRadio,style:{marginRight:20},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:Li=>{var ta,Fo,Ri,zo,Ci;if(Pe==null||Pe.setFieldValue(["sub_item_banks",yn,"use_blank_score"],(ta=Li==null?void 0:Li.target)==null?void 0:ta.value),(Fo=Li==null?void 0:Li.target)!=null&&Fo.value){let Mi=0;for(let ii in(Ri=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",yn]))==null?void 0:Ri.standard_answers)Mi+=Number((Ci=(zo=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",yn]))==null?void 0:zo.standard_answers[ii])==null?void 0:Ci.score);Pe==null||Pe.setFieldValue(["sub_item_banks",yn,"question_score"],Mi||"")}va(new Date)}}),So.createElement(ct.Z,{overlayInnerStyle:{width:460},title:So.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",So.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},So.createElement("i",{className:"icon-tishixiaowenhao font18 mr25 c-3061d0"}))),Ot&&So.createElement(Be.default.Item,Yu(mu({},Ca),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[yn,"question_score"],className:tn.blankInputNumberWrapper}),((Dr=Zn==null?void 0:Zn[yn])==null?void 0:Dr.question_type)==3&&((ao=Zn==null?void 0:Zn[yn])!=null&&ao.use_blank_score)?So.createElement(Fn,null):So.createElement(Ke.Z,{className:tn.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),So.createElement(Ze.Z,{align:"middle",className:"pl40",style:{width:82}},aa!==0&&So.createElement("div",{onClick:()=>{var Li;sa(aa,aa-1);const ta=(Li=Pe.getFieldValue("sub_item_banks"))==null?void 0:Li.map((Fo,Ri)=>(Pt.map((zo,Ci)=>{Ri===Ci&&(Fo.q_position=Number(zo.name)+1)}),Fo));Pe.setFieldValue("sub_item_banks",ta)}},So.createElement(ct.Z,{title:"\u4E0A\u79FB"},So.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),aa<Pt.length-1&&So.createElement("div",{onClick:()=>{var Li;sa(aa,aa+1);const ta=(Li=Pe.getFieldValue("sub_item_banks"))==null?void 0:Li.map((Fo,Ri)=>(Pt.map((zo,Ci)=>{Ri===Ci&&(Fo.q_position=Number(zo.name)+1)}),Fo));Pe.setFieldValue("sub_item_banks",ta)},className:aa===0?"":"ml10"},So.createElement(ct.Z,{title:"\u4E0B\u79FB"},So.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),So.createElement(ct.Z,{title:"\u5220\u9664"},So.createElement(se.Z,{className:`${tn.deleteIcon} ml40`,onClick:()=>On(yn)})))},So.createElement(Be.default.Item,Yu(mu({},Ca),{name:yn}),(((Eo=Zn==null?void 0:Zn[yn])==null?void 0:Eo.question_type)==0||((hi=Zn==null?void 0:Zn[yn])==null?void 0:hi.question_type)==1)&&So.createElement(Lo,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((mi=Zn==null?void 0:Zn[yn])==null?void 0:mi.question_type)==1,form:Pe,choiceKey:[yn,"choices"],titleKey:[yn,"name"],analysisKey:[yn,"analysis"],choiceOptionsPath:["sub_item_banks",yn,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Cr=Zn==null?void 0:Zn[yn])==null?void 0:Cr.question_type)==3&&So.createElement(gl,{form:Pe,name:yn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[yn,"use_blank_score"],titleKey:[yn,"name"],analysisKey:[yn,"analysis"],isOrdered:[yn,"is_ordered"],answerKey:[yn,"standard_answers"],key:Oa}),((po=Zn==null?void 0:Zn[yn])==null?void 0:po.question_type)==2&&So.createElement(Na,{form:Pe,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[yn,"name"],analysisKey:[yn,"analysis"],choiceKey:[yn,"choices"]}),((Ki=Zn==null?void 0:Zn[yn])==null?void 0:Ki.question_type)==4&&So.createElement(Al,{showKeywords:!0,isMustKeyWords:!0,form:Pe,titleKey:[yn,"name"],analysisKey:[yn,"analysis"],answerTexts:[yn,"answer_texts"],useKeywords:[yn,"use_keywords"],keywords:[yn,"keywords"],indexs:yn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),Pt.length<20&&So.createElement(He.Z,{menu:{items:[{label:So.createElement("div",{onClick:()=>{mn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),Ht([Pt==null?void 0:Pt.length,..._n])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:So.createElement("div",{onClick:()=>{mn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),Ht([Pt==null?void 0:Pt.length,..._n])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:So.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"}),Ht([Pt==null?void 0:Pt.length,..._n])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:So.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}),Ht([Pt==null?void 0:Pt.length,..._n])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:So.createElement("div",{onClick:()=>{mn({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),Ht([Pt==null?void 0:Pt.length,..._n])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(Fa=>Fa.show).map(Fa=>({label:Fa.label,key:Fa.key}))}},So.createElement("div",{className:`${tn.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var rl=ee(59301),ku=Object.defineProperty,nu=Object.defineProperties,Ju=Object.getOwnPropertyDescriptors,bu=Object.getOwnPropertySymbols,Tu=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable,_u=(ce,pe,Pe)=>pe in ce?ku(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,bl=(ce,pe)=>{for(var Pe in pe||(pe={}))Tu.call(pe,Pe)&&_u(ce,Pe,pe[Pe]);if(bu)for(var Pe of bu(pe))Xu.call(pe,Pe)&&_u(ce,Pe,pe[Pe]);return ce},ji=(ce,pe)=>nu(ce,Ju(pe)),Zu=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())}),au=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:en,deleteitem:Oa,getTagData:va,init:_n,showTip:Ht=!1})=>{var Un;const[Fn]=Be.default.useForm();(0,b.useEffect)(()=>{var mn;Fn.setFieldsValue(ji(bl({},ce),{name:ce.question_title,sub_item_banks:(mn=ce.sub_exercise_questions)==null?void 0:mn.map(On=>{var sa;return ji(bl({},On),{name:On.question_title,choices:(sa=On==null?void 0:On.question_choices)==null?void 0:sa.map(Zn=>ji(bl({},Zn),{is_answer:Zn!=null&&Zn.standard_boolean?1:0}))})}),repeat_answer:!ce.repeat_answer}))},[ce]);const Pt=mn=>{if(!(mn!=null&&mn.length))return!1;const On=mn.map(Zn=>{var Fa;return(Fa=Zn.choice_text)==null?void 0:Fa.trim().replace(/^\s+|\s+$/g,"")});return new Set(On).size!==On.length};return rl.createElement("div",null,rl.createElement(Be.default,{form:Fn,colon:!1,onValuesChange:(mn,On)=>{var sa,Zn,Fa,aa;if(mn!=null&&mn.sub_item_banks){let da=((sa=Fn.getFieldValue("sub_item_banks"))==null?void 0:sa.length)>0&&((Fa=(Zn=Fn.getFieldValue("sub_item_banks"))==null?void 0:Zn.map(Ja=>{var yn;if(Ja.question_type==3&&(Ja!=null&&Ja.use_blank_score)){let Ca=0;for(let Ka in Ja==null?void 0:Ja.standard_answers)Ca+=Number((yn=Ja==null?void 0:Ja.standard_answers[Ka])==null?void 0:yn.score);return Ca}else return Ja.question_score}))==null?void 0:Fa.filter(Ja=>Ja));(da==null?void 0:da.length)>0&&Fn.setFieldsValue({question_score:(aa=parseFloat(da.reduce((Ja,yn)=>parseFloat(Ja)+parseFloat(yn))))==null?void 0:aa.toFixed(1)})}},onFinish:mn=>{var On,sa;if((On=mn.sub_item_banks)==null?void 0:On.some(Fa=>Fa.question_type===0||Fa.question_type===1?Pt(Fa.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}en(ji(bl(bl({},ce),mn),{question_title:mn.name,sub_questions:(sa=mn==null?void 0:mn.sub_item_banks)==null?void 0:sa.map(Fa=>{var aa,da,Ja,yn;return(Fa==null?void 0:Fa.question_type)==3?ji(bl({},Fa),{question_title:Fa.name,item_type:Fa==null?void 0:Fa.question_type}):ji(bl({},Fa),{question_title:Fa.name,question_choices:(da=(aa=Fa==null?void 0:Fa.choices)==null?void 0:aa.map)==null?void 0:da.call(aa,Ca=>Ca.choice_text),standard_answers:(yn=(Ja=Fa==null?void 0:Fa.choices)==null?void 0:Ja.map)==null?void 0:yn.call(Ja,(Ca,Ka)=>(Ca==null?void 0:Ca.is_answer)===1&&Ka+1).filter(Ca=>Ca),item_type:Fa==null?void 0:Fa.question_type})})}))},onFinishFailed:mn=>Zu(void 0,null,function*(){var On,sa;Ne.ZP.error(mn.errorFields[0].errors[0]),Fn.scrollToField((sa=(On=mn==null?void 0:mn.errorFields)==null?void 0:On[0])==null?void 0:sa.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")),((Un=Ot==null?void 0:Ot.exercise)==null?void 0:Un.exercise_status)==1&&!(ce!=null&&ce.isadd)&&rl.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Oa()}},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),_n()):(Fn.setFieldsValue(ji(bl({},ce),{name:ce.question_title,sub_item_banks:(mn=ce.sub_exercise_questions)==null?void 0:mn.map(On=>{var sa;return ji(bl({},On),{name:On.question_title,choices:(sa=On==null?void 0:On.question_choices)==null?void 0:sa.map(Zn=>ji(bl({},Zn),{is_answer:Zn!=null&&Zn.standard_boolean?1:0}))})}),repeat_answer:!ce.repeat_answer})),pe(!1))}},"\u53D6\u6D88"),rl.createElement(ct.Z,{overlayClassName:mt.shake,open:Ht,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:()=>{Fn.submit()}},"\u4FDD\u5B58"))),rl.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},rl.createElement(zn.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),rl.createElement(Mu,{form:Fn,withScore:!0,choiceKey:"",questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),rl.createElement(Jn,{getTagData:va,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:Fn}))))},Bi=ee(59301),Cu=Object.defineProperty,zu=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertySymbols,Hu=Object.prototype.hasOwnProperty,xu=Object.prototype.propertyIsEnumerable,Fu=(ce,pe,Pe)=>pe in ce?Cu(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Fl=(ce,pe)=>{for(var Pe in pe||(pe={}))Hu.call(pe,Pe)&&Fu(ce,Pe,pe[Pe]);if(Il)for(var Pe of Il(pe))xu.call(pe,Pe)&&Fu(ce,Pe,pe[Pe]);return ce},zl=(ce,pe)=>zu(ce,rs(pe)),os=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())}),ju=({qitem:ce,setqitem:pe,setisedit:Pe,TagDiscipline:Ot,exerciseitem:en,seveeditor:Oa,deleteitem:va,showTip:_n})=>{var Ht,Un;const[Fn]=Be.default.useForm();return(0,b.useEffect)(()=>{var Pt,mn;Fn.setFieldsValue(zl(Fl({},ce),{name:ce==null?void 0:ce.question_title,choices:(Pt=ce==null?void 0:ce.question_choices)==null?void 0:Pt.map(On=>zl(Fl({},On),{standard_boolean:On!=null&&On.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(On=>zl(Fl({},On),{defaultscore:On.challenge_score}))},[]),Bi.createElement("div",null,Bi.createElement(Be.default,{form:Fn,colon:!1,onFinish:Pt=>{var mn,On;let sa=zl(Fl({},Pt),{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:(On=Pt==null?void 0:Pt.choices)==null?void 0:On.map(Zn=>zl(Fl({},Zn),{is_answer:Zn.standard_boolean}))});Oa(Fl(Fl({},ce),sa))},onFinishFailed:Pt=>os(void 0,null,function*(){var mn,On;Ne.ZP.error(Pt.errorFields[0].errors[0]),Fn.scrollToField((On=(mn=Pt==null?void 0:Pt.errorFields)==null?void 0:mn[0])==null?void 0:On.name,{behavior:"smooth",block:"center"})})},Bi.createElement("div",{style:{display:"flex",alignItems:"center"}},Bi.createElement("div",{style:{flex:1}},Bi.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Bi.createElement("span",null,"\u5B9E\u8BAD\u9898")),((Ht=en==null?void 0:en.exercise)==null?void 0:Ht.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Bi.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{va()}},Bi.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Bi.createElement(je.ZP,{onClick:()=>{var Pt,mn;Fn.setFieldsValue(zl(Fl({},ce),{name:ce==null?void 0:ce.question_title,choices:(Pt=ce==null?void 0:ce.question_choices)==null?void 0:Pt.map(On=>zl(Fl({},On),{standard_boolean:On!=null&&On.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(On=>zl(Fl({},On),{challenge_score:On.defaultscore})),pe(Fl({},ce)),Pe(!1)}},"\u53D6\u6D88"),Bi.createElement(ct.Z,{overlayClassName:mt.shake,open:_n,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Bi.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Bi.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Bi.createElement(je.ZP,{className:"ml20",type:"primary",onClick:()=>os(void 0,null,function*(){var Pt,mn,On;if(((mn=(Pt=ce==null?void 0:ce.shixun)==null?void 0:Pt.map)==null?void 0:mn.call(Pt,sa=>sa.challenge_score).filter(sa=>sa).length)<((On=ce==null?void 0:ce.shixun)==null?void 0:On.length)){Ne.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}Fn.submit()})},"\u4FDD\u5B58"))),Bi.createElement(zn.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Bi.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Bi.createElement(Kt.Z,{watch:!0,height:140,placeholder:"",defaultValue:ce.question_title}))),Bi.createElement(Ze.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Bi.createElement("div",null,Bi.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Bi.createElement("a",{href:`/shixuns/${ce==null?void 0:ce.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Bi.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(Un=ce==null?void 0:ce.shixun)==null?void 0:Un.map((Pt,mn)=>Bi.createElement("div",{style:{display:"flex",marginBottom:20}},Bi.createElement("div",{style:{flex:1}},mn+1,"\u3001",Pt.challenge_name),Bi.createElement("div",null,Bi.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Bi.createElement(Ke.Z,{precision:1,value:Pt==null?void 0:Pt.challenge_score,onChange:On=>{const sa=JSON.parse(JSON.stringify((ce==null?void 0:ce.shixun)||[]));sa[mn].challenge_score=On;const Zn=sa.every(aa=>!aa.challenge_score),Fa=parseFloat(sa==null?void 0:sa.map(aa=>aa.challenge_score).reduce((aa,da)=>parseFloat(aa||0)+parseFloat(da||0)));Fn.setFieldsValue({question_score:Zn?"":Fa.toFixed(1)}),pe(zl(Fl({},ce),{shixun:sa}))},max:200,min:.1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},Lr={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),Hl=ee(24334),rr=ee(59301);const du=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],es=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}];var wu=({qitem:ce,exercise:pe})=>{var Pe,Ot,en,Oa,va,_n,Ht,Un,Fn,Pt,mn,On,sa,Zn,Fa,aa,da,Ja,yn,Ca,Ka,eo,Sr,ui;return rr.createElement("div",{className:Lr.warp},((ce==null?void 0:ce.question_type)===0||(ce==null?void 0:ce.question_type)===2)&&rr.createElement("div",{className:Lr.normalWrap},(Pe=ce==null?void 0:ce.question_choices)==null?void 0:Pe.map((Ga,xo)=>rr.createElement("div",{className:Lr.redio},!(Ga!=null&&Ga.standard_boolean)&&rr.createElement("span",{className:Lr.redioitem}),(Ga==null?void 0:Ga.standard_boolean)&&rr.createElement("i",{className:`${Lr.redioitemyes} icon-duigou1`}),rr.createElement("span",{className:`${Ga!=null&&Ga.standard_boolean?Lr.titleyes:Lr.title} ${Lr.indexTag}`},(ce==null?void 0:ce.question_type)===0?du[xo]:""),rr.createElement(fe.Z,{className:Ga!=null&&Ga.standard_boolean?Lr.titleyes:Lr.title,value:Ga==null?void 0:Ga.choice_text}),(Ga==null?void 0:Ga.standard_boolean)&&rr.createElement("div",{className:Lr.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===1&&rr.createElement("div",{className:Lr.normalWrap},(Ot=ce==null?void 0:ce.question_choices)==null?void 0:Ot.map((Ga,xo)=>rr.createElement("div",{className:Lr.checkbox},!(Ga!=null&&Ga.standard_boolean)&&rr.createElement("span",{className:Lr.checkboxitem}),(Ga==null?void 0:Ga.standard_boolean)&&rr.createElement("i",{className:`${Lr.checkboxitemyes} icon-duigou1`}),rr.createElement("span",{className:`${Ga!=null&&Ga.standard_boolean?Lr.titleyes:Lr.title} ${Lr.indexTag}`},du[xo]),rr.createElement(fe.Z,{className:Ga!=null&&Ga.standard_boolean?Lr.titleyes:Lr.title,value:Ga==null?void 0:Ga.choice_text}),(Ga==null?void 0:Ga.standard_boolean)&&rr.createElement("div",{className:Lr.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===3&&rr.createElement("div",{className:Lr.completion},(en=ce==null?void 0:ce.standard_answers)==null?void 0:en.map((Ga,xo)=>{var Dr;return rr.createElement(Ze.Z,{align:"top"},rr.createElement("span",{className:Lr.title},"\u586B\u7A7A\u9879",xo+1),rr.createElement("div",{className:Lr.content},(Dr=Ga.answer_text)==null?void 0:Dr.map((ao,Eo)=>rr.createElement("div",{key:Eo,className:Lr.items,style:(Ga==null?void 0:Ga.model)===2?{border:0,padding:0}:{}},(Ga==null?void 0:Ga.model)===1?rr.createElement("pre",{className:"mb0"},ao):rr.createElement(Yl.Z,{value:ao,disabled:!0})))))})),(ce==null?void 0:ce.question_type)===4&&rr.createElement("div",{className:Lr.simple},rr.createElement("div",{className:Lr.title},"\u53C2\u8003\u7B54\u6848"),rr.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Oa=ce==null?void 0:ce.answer_texts)!=null&&Oa[0]?rr.createElement(fe.Z,{className:Lr.content,value:(va=ce==null?void 0:ce.answer_texts)==null?void 0:va[0]}):rr.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),rr.createElement("div",{className:"mt20 "},rr.createElement("span",{className:Lr.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),rr.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&&rr.createElement("div",{className:Lr.shixunWrapper},(_n=ce==null?void 0:ce.shixun)==null?void 0:_n.map((Ga,xo)=>{var Dr,ao;return rr.createElement("div",null,rr.createElement("div",{key:xo,className:`${Lr.shixun} mb30`},rr.createElement("span",{className:Lr.score},"\uFF08",Ga==null?void 0:Ga.challenge_score,"\u5206\uFF09"),rr.createElement("span",{className:Lr.qtitle},(ce==null?void 0:ce.index)+"."+(xo+1),"\u3001",Ga==null?void 0:Ga.challenge_name)),((ao=(Dr=pe==null?void 0:pe.editData)==null?void 0:Dr.exercise)==null?void 0:ao.show_challenge_task_pass)&&rr.createElement(fe.Z,{className:Lr.content,value:(Ga==null?void 0:Ga.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(ce==null?void 0:ce.question_type)===6&&rr.createElement("div",{className:Lr.program,style:{border:!((Un=(Ht=pe==null?void 0:pe.editData)==null?void 0:Ht.exercise)!=null&&Un.show_hack_sets)&&!((Pt=(Fn=pe==null?void 0:pe.editData)==null?void 0:Fn.exercise)!=null&&Pt.show_hack_description)&&"none"}},((On=(mn=pe==null?void 0:pe.editData)==null?void 0:mn.exercise)==null?void 0:On.show_hack_sets)&&rr.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},rr.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},rr.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),rr.createElement(Bu.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(Ga,xo,Dr)=>Dr+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Ga,xo,Dr)=>rr.createElement(ct.Z,{title:rr.createElement("pre",null,Ga)},rr.createElement("div",{className:Lr.divname},Ga))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(Ga,xo,Dr)=>rr.createElement(ct.Z,{title:rr.createElement("pre",null,Ga)}," ",rr.createElement("div",{className:Lr.divname},Ga))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:ce==null?void 0:ce.hack_sets})),((Zn=(sa=pe==null?void 0:pe.editData)==null?void 0:sa.exercise)==null?void 0:Zn.show_hack_description)&&rr.createElement("div",null,rr.createElement(fe.Z,{className:Lr.content,value:(ce==null?void 0:ce.description)||"- -"}))),(ce==null?void 0:ce.question_type)===7&&((Fa=ce==null?void 0:ce.sub_exercise_questions)==null?void 0:Fa.map((Ga,xo)=>{var Dr,ao,Eo,hi,mi,Cr;return rr.createElement("div",{key:xo},rr.createElement("div",{className:Lr.combination},rr.createElement("span",{className:Lr.score},Ga==null?void 0:Ga.question_score,"\u5206"),rr.createElement("span",{className:Lr.qtype},(Dr=es.find(po=>po.type==Ga.question_type))==null?void 0:Dr.name),rr.createElement("span",{className:Lr.qtitle},xo+1,"\u3001",Ga==null?void 0:Ga.question_title)),(Ga.question_type===0||Ga.question_type===2)&&rr.createElement("div",{className:Lr.warp,style:{padding:"30px 58px",paddingBottom:0}},rr.createElement("div",null,(ao=Ga==null?void 0:Ga.question_choices)==null?void 0:ao.map((po,Ki)=>rr.createElement("div",{className:Lr.redio,key:Ki},!(po!=null&&po.standard_boolean)&&rr.createElement("span",{className:Lr.redioitem}),(po==null?void 0:po.standard_boolean)&&rr.createElement("i",{className:`${Lr.redioitemyes} icon-duigou1`}),Ga.question_type===2&&rr.createElement("span",{className:`${po!=null&&po.standard_boolean?Lr.titleyes:Lr.title} ${Lr.indexTag}`},du[Ki]),rr.createElement(fe.Z,{className:po!=null&&po.standard_boolean?Lr.titleyes:Lr.title,value:po==null?void 0:po.choice_text}),(po==null?void 0:po.standard_boolean)&&rr.createElement("div",{className:Lr.yestag},"\u6B63\u786E\u7B54\u6848"))))),Ga.question_type===1&&rr.createElement("div",{className:Lr.normalWrap},(Eo=Ga==null?void 0:Ga.question_choices)==null?void 0:Eo.map((po,Ki)=>rr.createElement("div",{className:Lr.checkbox,key:Ki},!(po!=null&&po.standard_boolean)&&rr.createElement("span",{className:Lr.checkboxitem}),(po==null?void 0:po.standard_boolean)&&rr.createElement("i",{className:`${Lr.checkboxitemyes} icon-duigou1`}),rr.createElement("span",{className:`${po!=null&&po.standard_boolean?Lr.titleyes:Lr.title} ${Lr.indexTag}`},du[Ki]),rr.createElement(fe.Z,{className:po!=null&&po.standard_boolean?Lr.titleyes:Lr.title,value:po==null?void 0:po.choice_text}),(po==null?void 0:po.standard_boolean)&&rr.createElement("div",{className:Lr.yestag},"\u6B63\u786E\u7B54\u6848")))),Ga.question_type===3&&rr.createElement("div",{className:Lr.completion},(hi=Ga==null?void 0:Ga.standard_answers)==null?void 0:hi.map((po,Ki)=>{var Li;return rr.createElement(Ze.Z,{align:"top"},rr.createElement("span",{className:Lr.title},"\u586B\u7A7A\u9879",Ki+1),rr.createElement("div",{className:Lr.content},(Li=po.answer_text)==null?void 0:Li.map((ta,Fo)=>rr.createElement("div",{key:Fo,className:Lr.items},rr.createElement("pre",{className:"mb0"},ta)))))})),Ga.question_type===4&&rr.createElement("div",{className:Lr.simple},rr.createElement("div",{className:Lr.title},"\u53C2\u8003\u7B54\u6848"),rr.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(mi=Ga==null?void 0:Ga.answer_texts)!=null&&mi[0]?rr.createElement(fe.Z,{className:Lr.content,value:(Cr=Ga==null?void 0:Ga.answer_texts)==null?void 0:Cr[0]}):rr.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),rr.createElement("div",{className:"mt20 "},rr.createElement("span",{className:Lr.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),rr.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},Ga!=null&&Ga.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(ce==null?void 0:ce.question_type)===8&&rr.createElement("div",null,rr.createElement(fe.Z,{disabledFill:!0,className:Lr.content,showProgramFill:!0,value:Hl.Base64.decode(((aa=ce==null?void 0:ce.program_attr)==null?void 0:aa.code)||"")})),((ce==null?void 0:ce.question_type)<=4||[6,8].includes(ce==null?void 0:ce.question_type))&&rr.createElement("div",{className:Lr.bottom},rr.createElement("div",{className:`${Lr.bottomitem} mb30`},rr.createElement("span",{className:Lr.left},"\u89E3\u6790"),rr.createElement("span",{className:Lr.right},ce!=null&&ce.analysis?rr.createElement(fe.Z,{value:ce==null?void 0:ce.analysis}):rr.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),rr.createElement("div",{className:`${Lr.bottomitem} mb30`},rr.createElement("span",{className:Lr.left},"\u96BE\u5EA6"),rr.createElement("span",{className:Lr.right},(ce==null?void 0:ce.difficulty)===1?"\u7B80\u5355":(ce==null?void 0:ce.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),rr.createElement("div",{className:Lr.bottomitem},rr.createElement("span",{className:Lr.left},"\u77E5\u8BC6\u70B9"),rr.createElement(ct.Z,{title:((da=ce==null?void 0:ce.tag_discipline_names)==null?void 0:da.length)<=0||((Ja=ce==null?void 0:ce.tag_discipline_names)==null?void 0:Ja.length)==1&&["-"].includes(ce==null?void 0:ce.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(Ca=(yn=ce==null?void 0:ce.tag_discipline_names)==null?void 0:yn.join("\uFF1B"))==null?void 0:Ca.toString()},rr.createElement("span",{className:Lr.right},((Ka=ce==null?void 0:ce.tag_discipline_names)==null?void 0:Ka.length)<=0?rr.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((eo=ce==null?void 0:ce.tag_discipline_names)==null?void 0:eo.length)==1&&["-"].includes(ce==null?void 0:ce.tag_discipline_names[0])?rr.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(ui=(Sr=ce==null?void 0:ce.tag_discipline_names)==null?void 0:Sr.join("\uFF1B"))==null?void 0:ui.toString())))))},ts=ee(4881),cu=ee(44272),Qi=ee(59301),ls=Object.defineProperty,us=Object.defineProperties,ss=Object.getOwnPropertyDescriptors,Gu=Object.getOwnPropertySymbols,Jl=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,ru=(ce,pe,Pe)=>pe in ce?ls(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,fu=(ce,pe)=>{for(var Pe in pe||(pe={}))Jl.call(pe,Pe)&&ru(ce,Pe,pe[Pe]);if(Gu)for(var Pe of Gu(pe))Xl.call(pe,Pe)&&ru(ce,Pe,pe[Pe]);return ce},Wu=(ce,pe)=>us(ce,ss(pe)),me=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())}),be=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:en,deleteitem:Oa,getTagData:va,init:_n,showTip:Ht=!1})=>{var Un;const[Fn]=Be.default.useForm();return(0,b.useEffect)(()=>{Fn.setFieldsValue(Wu(fu({},ce),{name:ce.question_title,answer_texts:ce.answer_texts,repeat_answer:!ce.repeat_answer}))},[ce]),Qi.createElement("div",null,Qi.createElement(Be.default,{form:Fn,colon:!1,onFinish:Pt=>{en(Wu(fu(fu({},ce),Pt),{answer_texts:Pt==null?void 0:Pt.answer_texts,question_title:Pt==null?void 0:Pt.name}))},onFinishFailed:Pt=>me(void 0,null,function*(){var mn,On;Ne.ZP.error(Pt.errorFields[0].errors[0]),Fn.scrollToField((On=(mn=Pt==null?void 0:Pt.errorFields)==null?void 0:mn[0])==null?void 0:On.name,{behavior:"smooth",block:"center"})})},Qi.createElement("div",{style:{display:"flex",alignItems:"center"}},Qi.createElement("div",{style:{flex:1}},Qi.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Qi.createElement("span",null,"\u7B80\u7B54\u9898")),((Un=Ot==null?void 0:Ot.exercise)==null?void 0:Un.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Qi.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Oa()}},Qi.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Qi.createElement(je.ZP,{onClick:()=>{ce.isadd?(pe(!1),_n()):(Fn.setFieldsValue(Wu(fu({},ce),{name:ce==null?void 0:ce.question_title,answer_texts:ce.answer_texts||[],repeat_answer:!(ce!=null&&ce.repeat_answer)})),pe(!1))}},"\u53D6\u6D88"),Qi.createElement(ct.Z,{overlayClassName:mt.shake,open:Ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Qi.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Qi.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Qi.createElement(je.ZP,{type:"primary",className:"ml20",onClick:()=>{Fn.submit()}},"\u4FDD\u5B58"))),Qi.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Qi.createElement(Be.default.Item,{className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Qi.createElement(Ke.Z,{onBlur:Pt=>{Pt.target.value==="0"&&Ne.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),Qi.createElement(cu.W,{form:Fn,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),Qi.createElement(Jn,{getTagData:va,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:Fn}))))},tt=ee(59301),lt=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())}),Wt=({setScoreShow:ce,ScoreShow:pe,exerciseitem:Pe,getdata:Ot})=>{var en,Oa,va;const[_n,Ht]=(0,b.useState)(!1);function Un(){return lt(this,null,function*(){var Fn,Pt,mn;let On=(Pt=(Fn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Fn.filter(Zn=>Zn.Singlequestion))==null?void 0:Pt.map(Zn=>({question_type:Zn.question_type,score:Zn.Singlequestion})),sa=yield(0,te.ZP)(`/api/exercises/${(mn=Pe==null?void 0:Pe.exercise)==null?void 0:mn.id}/batch_set_score.json`,{method:"POST",body:{question_arr:On}});(sa==null?void 0:sa.status)===0&&Ot()})}return tt.createElement("div",null,pe&&tt.createElement(Ye.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:pe,width:640,centered:!0,zIndex:10,className:mt.scoremodal,onCancel:()=>{ce(!1)},onOk:()=>{var Fn,Pt,mn;if(Pe!=null&&Pe.use_blank_score&&((mn=(Pt=(Fn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Fn.filter(On=>On.name==="\u586B\u7A7A\u9898"))==null?void 0:Pt[0])!=null&&mn.Singlequestion)){Ht(!0);return}Un(),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&&((en=Pe==null?void 0:Pe.exercise_types)==null?void 0:en.q_scores))),tt.createElement("div",{className:mt.content},tt.createElement("span",null,"\u9898\u578B\u540D\u79F0"),tt.createElement("span",null,"\u5C0F\u9898\u603B\u6570"),tt.createElement("span",null,"\u9898\u578B\u603B\u5206"),tt.createElement("span",null,"\u64CD\u4F5C")),(va=(Oa=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:Oa.filter(Fn=>Fn.name!=="\u5B9E\u8BAD\u9898"&&Fn.name!=="\u7EC4\u5408\u9898"))==null?void 0:va.map(Fn=>{var Pt;return tt.createElement("div",{className:mt.items},tt.createElement("span",null,Fn==null?void 0:Fn.name),tt.createElement("span",null,(Pt=Fn==null?void 0:Fn.items)==null?void 0:Pt.length),tt.createElement("span",null,Fn==null?void 0:Fn.score),tt.createElement("span",null,"\u6BCF\u9898",tt.createElement(Ke.Z,{max:100,precision:1,min:.1,onChange:mn=>{Fn.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:_n,width:640,closable:!1,className:mt.scoremodal},tt.createElement("div",{style:{marginTop:40}},"\u586B\u7A7A\u9898\u4E2D\u5B58\u5728",tt.createElement("span",{style:{color:"#FA6400"}},"\u6309\u7A7A\u7ED9\u5206"),"\u7684\u5C0F\u9898\uFF0C\u82E5\u6279\u91CF\u8BBE\u7F6E\u5206\u503C\u4F1A\u7EDF\u4E00\u5C06\u586B\u7A7A\u9898\u6539\u4E3A\u6309\u9898\u7ED9\u5206"),tt.createElement("div",{className:mt.bottom},tt.createElement(je.ZP,{className:mt.no,onClick:()=>{Ht(!1)}},"\u53D6\u6D88"),tt.createElement(je.ZP,{className:mt.yes,onClick:()=>{Un(),Ht(!1),ce(!1)}},"\u786E\u8BA4"))))},Tn=ee(99313),kn=ee(98228),ua=ee(58421),Aa={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"},fa=ee(55305),vn={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 Ia=["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 Mn=({qitem:ce})=>{var pe,Pe,Ot,en,Oa,va,_n,Ht,Un,Fn;return b.createElement("div",{className:vn.warp},b.createElement("div",{className:vn.mainPart},b.createElement("div",{className:vn.qcount},(ce==null?void 0:ce.question_type)===8&&b.createElement(fe.Z,{className:vn.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:vn.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((Pt,mn)=>b.createElement("div",{className:vn.redio},!(Pt!=null&&Pt.is_answer)&&b.createElement("span",{className:vn.redioitem}),(Pt==null?void 0:Pt.is_answer)&&b.createElement("i",{className:`${vn.redioitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:Pt!=null&&Pt.is_answer?vn.titleyes:vn.title,value:Ia[mn]+(Pt==null?void 0:Pt.choice_text)}),(Pt==null?void 0:Pt.is_answer)&&b.createElement("div",{className:vn.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===1&&b.createElement("div",null,(Ot=ce==null?void 0:ce.choices)==null?void 0:Ot.map((Pt,mn)=>b.createElement("div",{className:vn.checkbox},!(Pt!=null&&Pt.is_answer)&&b.createElement("span",{className:vn.checkboxitem}),(Pt==null?void 0:Pt.is_answer)&&b.createElement("i",{className:`${vn.checkboxitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:Pt!=null&&Pt.is_answer?vn.titleyes:vn.title,value:Ia[mn]+(Pt==null?void 0:Pt.choice_text)}),(Pt==null?void 0:Pt.is_answer)&&b.createElement("div",{className:vn.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===3&&b.createElement("div",{className:vn.completion},(en=ce==null?void 0:ce.standard_answer)==null?void 0:en.map((Pt,mn)=>{var On;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:vn.title},"\u586B\u7A7A\u9879",mn+1),b.createElement("div",{className:vn.content},(On=Pt==null?void 0:Pt.answer_text)==null?void 0:On.map((sa,Zn)=>b.createElement("div",{className:vn.items},sa))))})),(ce==null?void 0:ce.question_type)===4&&b.createElement("div",{className:vn.simple},b.createElement("div",{className:vn.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Oa=ce==null?void 0:ce.answer_texts)!=null&&Oa[0]?b.createElement(fe.Z,{className:vn.content,value:(va=ce==null?void 0:ce.answer_texts)==null?void 0:va[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(ce==null?void 0:ce.question_type)===5&&((_n=ce==null?void 0:ce.challenge_names)==null?void 0:_n.map((Pt,mn)=>b.createElement("div",{className:vn.shixun},b.createElement("span",{className:vn.qtitle},b.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,Nt.EM)(mn+1),"\u9898"),Pt)))),(ce==null?void 0:ce.question_type)===6&&b.createElement("div",{className:vn.simple},b.createElement(fe.Z,{className:vn.content,value:((Ht=ce==null?void 0:ce.program_attr)==null?void 0:Ht.description)||"- -"})),(ce==null?void 0:ce.question_type)===7&&((Un=ce==null?void 0:ce.sub_item_banks)==null?void 0:Un.map((Pt,mn)=>{var On,sa,Zn,Fa,aa;return b.createElement("div",null,b.createElement("div",{className:vn.combination},b.createElement("span",{className:vn.qtitle},Pt==null?void 0:Pt.name)),b.createElement("div",{className:vn.warp,style:{padding:"0px",paddingTop:20}},b.createElement("div",null,((Pt==null?void 0:Pt.item_type)=="SINGLE"||(Pt==null?void 0:Pt.item_type)=="JUDGMENT")&&((On=Pt==null?void 0:Pt.choices)==null?void 0:On.map((da,Ja)=>b.createElement("div",{className:vn.redio},!(da!=null&&da.is_answer)&&b.createElement("span",{className:vn.redioitem}),(da==null?void 0:da.is_answer)&&b.createElement("i",{className:`${vn.redioitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:da!=null&&da.is_answer?vn.titleyes:vn.title,value:Ia[Ja]+(da==null?void 0:da.choice_text)}),(da==null?void 0:da.is_answer)&&b.createElement("div",{className:vn.yestag},"\u6B63\u786E\u7B54\u6848")))),(Pt==null?void 0:Pt.item_type)=="MULTIPLE"&&((sa=Pt==null?void 0:Pt.choices)==null?void 0:sa.map((da,Ja)=>b.createElement("div",{className:vn.checkbox},!(da!=null&&da.is_answer)&&b.createElement("span",{className:vn.checkboxitem}),(da==null?void 0:da.is_answer)&&b.createElement("i",{className:`${vn.checkboxitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:da!=null&&da.is_answer?vn.titleyes:vn.title,value:Ia[Ja]+(da==null?void 0:da.choice_text)}),(da==null?void 0:da.is_answer)&&b.createElement("div",{className:vn.yestag},"\u6B63\u786E\u7B54\u6848")))),(Pt==null?void 0:Pt.item_type)=="COMPLETION"&&b.createElement("div",{className:vn.completion},(Zn=Pt==null?void 0:Pt.standard_answer)==null?void 0:Zn.map((da,Ja)=>{var yn;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:vn.title},"\u586B\u7A7A\u9879",Ja+1),b.createElement("div",{className:vn.content},(yn=da==null?void 0:da.answer_text)==null?void 0:yn.map((Ca,Ka)=>b.createElement("div",{className:vn.items},Ca))))})),(Pt==null?void 0:Pt.item_type)=="SUBJECTIVE"&&b.createElement("div",{className:vn.simple},b.createElement("div",{className:vn.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Fa=Pt==null?void 0:Pt.answer_texts)!=null&&Fa[0]?b.createElement(fe.Z,{className:vn.content,value:(aa=Pt==null?void 0:Pt.answer_texts)==null?void 0:aa[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:vn.content,showProgramFill:!0,value:Hl.Base64.decode(((Fn=ce==null?void 0:ce.program_attr)==null?void 0:Fn.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:vn.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:vn.bottom},b.createElement("div",{className:vn.bottomitem},b.createElement("span",{className:vn.left},"\u89E3\u6790"),b.createElement("span",{className:vn.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:vn.bottomitem},b.createElement("span",{className:vn.left},"\u96BE\u5EA6"),b.createElement("span",{className:vn.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:vn.bottomitem},b.createElement("span",{className:vn.left},"\u77E5\u8BC6\u70B9"),b.createElement("span",{className:vn.right},ce!=null&&ce.tag_discipline?ce==null?void 0:ce.tag_discipline:b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},ga=ee(61250),ka=ee(57149),Ar=ee(87444),br=ee(94361),Ir=ee(46722),Wr=ee(3039),Rr=ee(75736),jn=ee(59301),Vo=Object.defineProperty,fo=Object.defineProperties,Ho=Object.getOwnPropertyDescriptors,ei=Object.getOwnPropertySymbols,li=Object.prototype.hasOwnProperty,pi=Object.prototype.propertyIsEnumerable,zi=(ce,pe,Pe)=>pe in ce?Vo(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,oo=(ce,pe)=>{for(var Pe in pe||(pe={}))li.call(pe,Pe)&&zi(ce,Pe,pe[Pe]);if(ei)for(var Pe of ei(pe))pi.call(pe,Pe)&&zi(ce,Pe,pe[Pe]);return ce},Ro=(ce,pe)=>fo(ce,Ho(pe)),_o=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())});const wi=({setScoreShow:ce,ScoreShow:pe,onOk:Pe,isshixuns:Ot,isloadings:en,dispatch:Oa,shixunsDetail:va,exercise:_n})=>{var Ht,Un,Fn;let[Pt,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:[]}),[On,sa]=(0,b.useState)([]),[Zn,Fa]=(0,b.useState)([]),[aa,da]=(0,b.useState)([]),[Ja,yn]=(0,b.useState)([]);const[Ca,Ka]=(0,b.useState)(!1),[eo]=Be.default.useForm(),[Sr,ui]=(0,b.useState)(),[Ga,xo]=(0,b.useState)(!1);let[Dr,ao]=(0,b.useState)(Ot);const[Eo,hi]=(0,b.useState)([]),[mi,Cr]=(0,b.useState)(!0),[po,Ki]=(0,b.useState)([]),[Li,ta]=(0,b.useState)(0),[Fo,Ri]=(0,b.useState)([]),zo=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}],[Ci,Mi]=(0,b.useState)({});(0,b.useEffect)(()=>{var ca,or,jo,uo,Bo,qo,Vi,Di,fl,el;(((jo=(or=(ca=_n==null?void 0:_n.editData)==null?void 0:ca.exercise)==null?void 0:or.exist_item_bank_ids)==null?void 0:jo.length)>0||((qo=(Bo=(uo=_n==null?void 0:_n.editData)==null?void 0:uo.exercise)==null?void 0:Bo.exist_item_bank_shixun_ids)==null?void 0:qo.length)>0)&&Ri([...(Di=(Vi=_n==null?void 0:_n.editData)==null?void 0:Vi.exercise)==null?void 0:Di.exist_item_bank_ids,...(el=(fl=_n==null?void 0:_n.editData)==null?void 0:fl.exercise)==null?void 0:el.exist_item_bank_shixun_ids])},[(Un=(Ht=_n==null?void 0:_n.editData)==null?void 0:Ht.exercise)==null?void 0:Un.exist_item_bank_ids]);const ii=(0,b.useRef)(new Set),il=(0,b.useRef)(new Set);let[ll,jl]=(0,b.useState)({gg:{type:"1",page:1,updated_at:"",quotes:"",item_type:null,courseid:"",per_page:10,tag_discipline_id:null,difficulty:null,keyword:null},ttgx:{type:"3",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},scj:{type:"2",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null},wcjd:{type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},yx:{type:"5",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:null}});const Ii=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],cl=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],Bl=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Gl,Io]=(0,b.useState)(!1),Si=()=>{eo.resetFields(),Dr=!1,ao(!1),Io(!1),eo.submit()};(0,b.useEffect)(()=>{Li>0&&setTimeout(()=>{ta(0)},2e3)},[Li]),(0,b.useEffect)(()=>{pe&&(eo.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),mi&&Dr&&(eo.setFieldsValue({item_type:"SHIXUN"}),Pt.item_type="SHIXUN",mn(oo({},Pt)),Cr(!1)),$i(Pt),hl(),Zi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[pe]);function $i(ca){return _o(this,null,function*(){var or,jo,uo;if(Ka(!0),mn(ca),(aa==null?void 0:aa.length)<=0&&ca.type==="5"){yn([]),Ka(!1);return}let Bo=ca.type==="5"?aa==null?void 0:aa.filter(Di=>!Eo.includes(Di)):null,qo=ca.type==="5"?aa==null?void 0:aa.filter(Di=>Eo.includes(Di)):null;ca.group_id=((or=ca.group_id)==null?void 0:or.map(Di=>Di==null?void 0:Di.value))||null;let Vi=yield(0,te.ZP)("/api/item_banks.json",{method:"get",params:Ro(oo({},ca),{discipline_id:((jo=ca==null?void 0:ca.courseid)==null?void 0:jo[0])||null,sub_discipline_id:((uo=ca==null?void 0:ca.courseid)==null?void 0:uo[1])||null,ids:Bo,shixun_ids:qo,keyword:ca.keyword?encodeURIComponent(ca.keyword):ca.keyword,include_shixuns:!0,type:ca.type==="5"?null:ca.type,clazz:ca.type==="3"?"ItemBanksGroup":null})});yn(Vi),Ka(!1)})}function Zi(ca){return _o(this,null,function*(){var or;let jo=yield(0,te.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:ca}),uo=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(or=jo==null?void 0:jo.data)==null?void 0:or.map(Bo=>({title:Bo.name,id:Bo.id,pid:Bo.id,value:Bo.id,key:Bo.id,isLeaf:!Bo.have_child}))}];Ki(uo)})}function hl(){return _o(this,null,function*(){let ca=yield(0,te.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:Pt.type==="5"?null:Pt.type,clazz:"ItemBanksGroup"}});sa((0,fa.L)(ca==null?void 0:ca.disciplines))})}function ul(ca){return _o(this,null,function*(){var or,jo,uo,Bo;Ka(!0);let qo=(or=ca.list)==null?void 0:or.filter(fl=>!Eo.includes(fl)),Vi=(jo=ca.list)==null?void 0:jo.filter(fl=>Eo.includes(fl));if(qo.length===0&&Vi.length===0){Ka(!1),yn([]);return}let Di=yield(0,te.ZP)("/api/item_banks.json",{method:"get",params:Ro(oo({},ca),{discipline_id:((uo=ca==null?void 0:ca.courseid)==null?void 0:uo[0])||null,sub_discipline_id:((Bo=ca==null?void 0:ca.courseid)==null?void 0:Bo[1])||null,ids:qo,shixun_ids:Vi,type:ca.type==="5"?null:ca.type,clazz:ca.type==="3"?"ItemBanksGroup":null})});Ka(!1),yn(Di)})}const sl=(0,de.useParams)(),[wl,Rl,ml,qi]=(0,Ar.P)(),Wl=ca=>_o(void 0,null,function*(){const or=yield Oa({type:"shixunsDetail/release",payload:{id:ca}});let jo=or==null?void 0:or.tag_position,uo=(or==null?void 0:or.evaluation_set_position)||[],Bo=or.status;return Bo===0?(Ne.ZP.success("\u53D1\u5E03\u6210\u529F"),$i(Pt),!0):(Bo===2?Ne.ZP.error(`\u7B2C${uo.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):Bo===3?Ne.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${jo.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=ca=>(ca==null?void 0:ca.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=(ca,or,jo)=>ca.map(uo=>uo.key===or?oo(oo({},uo),jo):uo.children?Ro(oo({},uo),{children:vu(uo.children,or,jo)}):uo),pu=ca=>_o(void 0,null,function*(){const{key:or}=ca;let jo=Pt.type;const uo=yield(0,Ir.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(or),type:jo}),{data:Bo,total_count:qo}=uo||{};qo>0&&Ki(Vi=>vu(Vi,or,{children:Bo.map(Di=>({title:Di.name,id:Di.id,pid:Di.id,value:Di.id,key:Di.id,isLeaf:!Di.have_child}))}))});function Kl(ca){console.log("----",Pt),ca==="1"&&(ll.gg=oo({},Pt)),ca==="2"&&(ll.scj=oo({},Pt)),ca==="3"&&(ll.ttgx=oo({},Pt)),ca==="0"&&(ll.wcjd=oo({},Pt)),ca==="5"&&(ll.yx=oo({},Pt)),jl(oo({},ll))}function gu(){Pt.type==="1"&&(Pt=ll.gg),Pt.type==="2"&&(Pt=ll.scj),Pt.type==="3"&&(Pt=ll.ttgx),Pt.type==="0"&&(Pt=ll.wcjd),Pt.type==="5"&&(Pt=ll.yx),(Pt==null?void 0:Pt.item_type)==="SHIXUN"?(Dr=!0,ao(!0)):(Dr=!1,ao(!1)),eo.setFieldsValue(oo({},Pt)),mn(oo({},Pt)),$i(oo({},Pt))}return jn.createElement("div",null,jn.createElement(Ye.default,{title:!1,footer:!1,open:pe,width:1200,centered:!0,className:Aa.scoremodal,onCancel:()=>{ce(!1)}},jn.createElement("div",{style:{display:"flex",alignItems:"center"}},jn.createElement("div",{className:Aa.title},"\u9898\u5E93\u9009\u9898")),jn.createElement(Tn.default,{className:Aa.tabWrap,activeKey:Pt.type,onChange:ca=>{ca==="3"?(Pt.show_all_share=!0,Zi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):Pt.show_all_share=null,ca==="0"&&Zi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Kl(Pt.type),Pt.type=ca,(Pt==null?void 0:Pt.item_type)==="SHIXUN"&&Pt.type!=="5"&&(Dr=!0,ao(!0)),Io(!1),Pt.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:jn.createElement("div",null,"\u5DF2\u9009",aa.length>0&&jn.createElement("span",{className:Aa.titlecount},aa.length),Li>0&&jn.createElement("span",{className:Aa.add},"+",Li)),key:"5"}]}),jn.createElement(Be.default,{layout:"inline",form:eo,onValuesChange:(ca,or)=>{var jo,uo;const Bo=Object.values(or).some(Vi=>Vi!==null&&Vi!==""&&Vi!==void 0),qo=or.keyword==="";if(Io(Bo||!qo),Pt.page=1,Pt.keyword=(uo=(jo=Pt.keyword)==null?void 0:jo.replace)==null?void 0:uo.call(jo,/^\s+|\s+$/g,""),(or==null?void 0:or.item_type)==="SHIXUN"){if(Pt.type==="5"?ao(!1):ao(!0),ca.keyword||ca.keyword==="")return;eo.submit()}else{if(ca!=null&&ca.courseid&&eo.setFieldsValue({tag_discipline_id:""}),ao(!1),ca.keyword||ca.keyword==="")return;eo.submit()}},onFinish:ca=>{var or;Pt.type==="3"&&(!ca.group_id||((or=ca==null?void 0:ca.group_id)==null?void 0:or.length)===0)?Pt.show_all_share=!0:Pt.show_all_share=null,mn(oo(oo({},Pt),ca)),$i(oo(oo({},Pt),ca))}},jn.createElement(Be.default.Item,{name:"item_type"},jn.createElement(ve.default,{className:Aa.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle",allowClear:!0},zo.map(ca=>jn.createElement(ve.default.Option,{key:ca.value},ca.name)))),jn.createElement(Be.default.Item,{name:"courseid"},jn.createElement(le.Z,{className:Aa.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:On})),!Dr&&jn.createElement(Be.default.Item,{name:"tag_discipline_id"},jn.createElement(ve.default,{className:Aa.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(Fn=Ja==null?void 0:Ja.tag_disciplines)==null?void 0:Fn.map(ca=>jn.createElement(ve.default.Option,{key:ca.id},ca.name)))),jn.createElement(Be.default.Item,{name:Dr?"diff":"difficulty"},jn.createElement(ve.default,{className:Aa.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Dr&&Ii.map(ca=>jn.createElement(ve.default.Option,{key:ca.value},ca.name)),Dr&&cl.map(ca=>jn.createElement(ve.default.Option,{key:ca.value},ca.name)))),Dr&&jn.createElement(Be.default.Item,{name:"shixun_publish_status"},jn.createElement(ve.default,{className:Aa.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Bl.map(ca=>jn.createElement(ve.default.Option,{key:ca.value},ca.name)))),(Pt.type==="3"||Pt.type==="0")&&!Dr&&jn.createElement(Be.default.Item,{name:"group_id"},jn.createElement(kn.default,{treeDataSimpleMode:!0,style:{width:118},className:Aa.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(ca,or)=>or.title.toUpperCase().indexOf(ca.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:pu,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:po})),Gl&&jn.createElement("span",{className:Aa.allqingchu,onClick:Si},jn.createElement("i",{className:"iconfont icon-guanbi4"}),jn.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),jn.createElement(Be.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},jn.createElement(ke.default.Search,{className:Aa.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:jn.createElement("i",{className:`iconfont icon-sousuo9 font14 ${Aa.searchIcon}`,onClick:()=>eo.submit()}),onSearch:ca=>{eo.submit()}}))),jn.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},jn.createElement("div",{onClick:()=>{Pt.updated_at==="asc"?Pt.updated_at="desc":Pt.updated_at="asc",mn(Ro(oo({},Pt),{page:1})),$i(Ro(oo({},Pt),{page:1}))}}," ",Pt.updated_at?jn.createElement("img",{src:Pt.updated_at==="asc"?ga.Z:ka.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):jn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),jn.createElement("div",{onClick:()=>{Pt.quotes==="asc"?Pt.quotes="desc":Pt.quotes="asc",mn(Ro(oo({},Pt),{page:1})),$i(Ro(oo({},Pt),{page:1}))},style:{marginLeft:20}}," ",Pt.quotes?jn.createElement("img",{src:Pt.quotes==="asc"?ga.Z:ka.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):jn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),jn.createElement(Bu.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(Ja==null?void 0:Ja.items)||(Ja==null?void 0:Ja.shixun_list),pagination:!1,loading:Ca,rowKey:ca=>ca.id,rowSelection:{type:"checkbox",selectedRowKeys:[...Zn,...Fo],getCheckboxProps:ca=>({disabled:ca.shixun_tag_num===1||(Fo==null?void 0:Fo.find(or=>ca.id===or))}),onSelect(ca,or,jo){if(or)Dr&&hi([...Eo,ca.id]),Fa([...Zn,ca.id]),ca.identifier?ii.current.add(ca.id):il.current.add(ca.id),ta(1),da([...aa,ca.id]);else{ca.identifier?ii.current.delete(ca.id):il.current.delete(ca.id);let uo=aa.filter(Bo=>Bo!==ca.id);if(Fa(uo),da(uo),Dr){let Bo=Eo.filter(qo=>qo!==ca.id);hi([...Bo])}if(Pt.type==="5"){ul(Ro(oo({},Pt),{list:[...uo]}));return}}},onSelectAll(ca,or,jo){if(ca){const uo=jo.map(Bo=>Bo.id);Dr&&hi([...Eo,...uo]),Fa([...Zn,...uo]),da([...aa,...uo]);for(const Bo of jo)Bo.identifier?ii.current.add(Bo.id):il.current.add(Bo.id)}else{const uo=jo.map(qo=>qo.id),Bo=Zn.filter(qo=>!uo.some(Vi=>Vi===qo));if(Fa([...Bo]),da([...Bo]),Dr){let qo=Eo.filter(Vi=>!uo.some(Di=>Di===Vi.id));hi([...qo])}Pt.type==="5"&&ul(Ro(oo({},Pt),{list:[...Bo]}));for(const qo of uo)qo.identifier?ii.current.delete(qo):il.current.delete(qo)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(ca,or,jo)=>{var uo,Bo;return jn.createElement(ct.Z,{title:Xo(or)},jn.createElement("div",null,Dr||or!=null&&or.challenge_names?"\u5B9E\u8BAD\u9898":(Bo=(uo=zo==null?void 0:zo.filter(qo=>qo.value===ca))==null?void 0:uo[0])==null?void 0:Bo.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Dr?"30%":"60%",key:"name",render:(ca,or,jo)=>{var uo;return jn.createElement("div",{style:{display:"flex",alignItems:"center"}},jn.createElement(ct.Z,{title:Xo(or)},jn.createElement("span",null,jn.createElement(fe.Z,{key:1,showLines:1,showTextOnly:!0,value:Dr||or!=null&&or.challenge_names?or!=null&&or.title||ca===null?"--":ca:(or==null?void 0:or.item_type)=="BPROGRAM"?(uo=or==null?void 0:or.program_attr)==null?void 0:uo.description:ca}))),(or==null?void 0:or.high_resources_consume)&&jn.createElement(br.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Dr,render:(ca,or,jo)=>{var uo;return jn.createElement(ct.Z,{title:Xo(or)},jn.createElement("span",null,ca?(uo=ca==null?void 0:ca.split("\u3001"))==null?void 0:uo[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Dr,render:(ca,or,jo)=>jn.createElement(ct.Z,{title:Xo(or)},jn.createElement("span",null,ca||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(ca,or,jo)=>{var uo,Bo,qo,Vi;return jn.createElement(ct.Z,{title:Xo(or)},jn.createElement("div",null,Dr||or!=null&&or.challenge_names?(or==null?void 0:or.level)||((Bo=(uo=Ii==null?void 0:Ii.filter(Di=>Di.value===ca))==null?void 0:uo[0])==null?void 0:Bo.name):(Vi=(qo=Ii==null?void 0:Ii.filter(Di=>Di.value===ca))==null?void 0:qo[0])==null?void 0:Vi.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Dr,render:(ca,or,jo)=>jn.createElement(ct.Z,{title:Xo(or)},jn.createElement("div",null,ca||"- -"))},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Dr,render:(ca,or,jo)=>jn.createElement("span",null,ca||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(ca,or,jo)=>jn.createElement(ct.Z,{title:Xo(or)},jn.createElement("div",null,Dr||or!=null&&or.challenge_names?(or==null?void 0:or.study_count)||(or==null?void 0:or.stu_num):ca))},{title:jn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",jn.createElement(ct.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},jn.createElement(Bt.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Dr,render:(ca,or,jo)=>jn.createElement(ct.Z,{title:Xo(or)},jn.createElement("div",null,ca||"- -"))},{title:jn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",jn.createElement(ct.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},jn.createElement(Bt.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Dr,render:(ca,or,jo)=>jn.createElement("span",null,ca||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(ca,or,jo)=>jn.createElement(ct.Z,{title:Xo(or)},jn.createElement("div",{style:{flex:1,textAlign:"start"}},jn.createElement("a",{onClick:()=>{var uo,Bo;ui(Ro(oo({},or),{question_type:Dr||or!=null&&or.challenge_names?5:(Bo=(uo=zo==null?void 0:zo.filter(qo=>qo.value===(or==null?void 0:or.item_type)))==null?void 0:uo[0])==null?void 0:Bo.question_type})),xo(!0)}},"\u67E5\u770B"),(or==null?void 0:or.shixun_tag_num)===1&&jn.createElement("a",{style:{marginLeft:10},onClick:()=>{Ye.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:jn.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",jn.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${or==null?void 0:or.identifier}/challenges`)}},(or==null?void 0:or.shixun_name)||"--"),"\uFF1F"),onOk:()=>_o(void 0,null,function*(){if(!Wl(or==null?void 0:or.identifier))return new Promise((uo,Bo)=>{Bo()})})})}},"\u53D1\u5E03")))}].filter(ca=>!ca.hidden)}),jn.createElement(ua.Z,{current:Pt.page,total:(Ja==null?void 0:Ja.items_count)||(Ja==null?void 0:Ja.shixuns_count),style:{marginBottom:20},defaultPageSize:Pt.per_page,showTotal:ca=>jn.createElement("span",null,"\u5171\xA0",jn.createElement("span",{style:{color:"#165DFF"}},ca),"\xA0\u6761\u6570\u636E"),pageSize:Pt.per_page,onChange:(ca,or)=>{Pt.page=ca,Pt.per_page=or,mn(oo({},Pt)),$i(oo({},Pt))}}),jn.createElement("div",{className:Aa.bottom},jn.createElement(je.ZP,{className:Aa.no,onClick:()=>{ce(!1)}},"\u53D6\u6D88"),jn.createElement(je.ZP,{loading:en,style:{width:en&&75},className:Aa.yes,onClick:()=>_o(void 0,null,function*(){if((aa==null?void 0:aa.length)<=0){Ne.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}let ca=yield(0,Rr.Tr)({id:[...aa==null?void 0:aa.filter(or=>Eo.includes(or))],course_id:sl.coursesId,type:"shixun"});(ca==null?void 0:ca.student_count)===0?Pe([...il.current],[...aa==null?void 0:aa.filter(or=>Eo.includes(or))],!0,aa==null?void 0:aa.length):Mi(ca)})},"\u786E\u8BA4"))),jn.createElement(Ye.default,{open:Ga,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:Aa.previewModal,width:1e3,centered:!0,onCancel:()=>{xo(!1)},onOk:()=>{xo(!1)}},jn.createElement(Mn,{qitem:Sr})),jn.createElement(Wr.Z,{resdata:Ci,type:"exercise",okloading:en,oktext:(Ci==null?void 0:Ci.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:ca=>_o(void 0,null,function*(){const or=[],jo=[];for(const uo of Ci==null?void 0:Ci.can_copy_list)or.push(uo.id);Rl(),yield Pe([...il.current],[...ii.current].filter(uo=>!jo.includes(uo)),!0,aa==null?void 0:aa.length,or)})}))};var Ni=(0,de.connect)(({shixunsDetail:ce,exercise:pe})=>({shixunsDetail:ce,exercise:pe}))(wi),fi=ee(68571),Mo=ee(59301),ol=Object.defineProperty,Xi=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,ht=(ce,pe,Pe)=>pe in ce?ol(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,pt=(ce,pe)=>{for(var Pe in pe||(pe={}))Ue.call(pe,Pe)&&ht(ce,Pe,pe[Pe]);if(Ce)for(var Pe of Ce(pe))rt.call(pe,Pe)&&ht(ce,Pe,pe[Pe]);return ce},$t=(ce,pe)=>Xi(ce,Ee(pe)),Qt=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())}),xn=({qitem:ce,TagDiscipline:pe,exerciseitem:Pe,setisedit:Ot,seveeditor:en,deleteitem:Oa,getTagData:va,init:_n,showTip:Ht=!1})=>{var Un;const[Fn]=Be.default.useForm(),Pt=!0;return(0,b.useEffect)(()=>{var mn,On,sa;Fn.setFieldsValue($t(pt({},ce),{standard_answers:ce.standard_answer,difficulty:(ce==null?void 0:ce.difficult)||2,item_banks_group_id:ce.item_banks_group_id,hack:$t(pt({},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:Hl.Base64.decode(((On=ce==null?void 0:ce.program_attr)==null?void 0:On.code)||"")},hack_sets:pt({},(sa=ce==null?void 0:ce.hack_sets)==null?void 0:sa[0]),repeat_answer:!ce.repeat_answer}))},[ce]),Mo.createElement("div",null,Mo.createElement(Be.default,{form:Fn,colon:!1,onValuesChange:(mn,On)=>{var sa,Zn,Fa,aa;if(mn!=null&&mn.standard_answers){let da=((sa=Fn.getFieldValue("standard_answers"))==null?void 0:sa.length)>0&&((Fa=(Zn=Fn.getFieldValue("standard_answers"))==null?void 0:Zn.map(Ja=>Ja.score))==null?void 0:Fa.filter(Ja=>Ja));(da==null?void 0:da.length)>0&&Fn.setFieldsValue({question_score:(da==null?void 0:da.length)>0&&((aa=da.reduce((Ja,yn)=>Ja+yn))==null?void 0:aa.toFixed(1))})}},onFinish:mn=>{var On;en($t(pt(pt({},ce),mn),{item_type:ce==null?void 0:ce.question_type,standard_answers:(On=mn.standard_answers)==null?void 0:On.map((sa,Zn)=>$t(pt({},sa),{position:Zn+1})),hack_codes:$t(pt({},mn.hack_codes),{code:Hl.Base64.encode(mn.hack_codes.code)}),standard_answer:void 0}))},onFinishFailed:mn=>Qt(void 0,null,function*(){var On,sa;Ne.ZP.error(mn.errorFields[0].errors[0]),Fn.scrollToField((sa=(On=mn==null?void 0:mn.errorFields)==null?void 0:On[0])==null?void 0:sa.name,{behavior:"smooth",block:"center"})})},Mo.createElement("div",{style:{display:"flex",alignItems:"center"}},Mo.createElement("div",{style:{flex:1}},Mo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Mo.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),((Un=Pe==null?void 0:Pe.exercise)==null?void 0:Un.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Mo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Oa()}},Mo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),Mo.createElement(je.ZP,{onClick:()=>{var mn,On,sa,Zn;ce.isadd?(Ot(!1),_n()):(Fn.setFieldsValue($t(pt({},ce),{standard_answers:ce.standard_answer,difficulty:ce.difficult,item_banks_group_id:ce.item_banks_group_id,hack:$t(pt({},ce),{sub_discipline_id:(mn=Pe==null?void 0:Pe.exercise)==null?void 0:mn.sub_discipline_id,tag_discipline_ids:[]}),hack_codes:{language:(On=ce==null?void 0:ce.program_attr)==null?void 0:On.language,code:Hl.Base64.decode((sa=ce==null?void 0:ce.program_attr)==null?void 0:sa.code)},hack_sets:pt({},(Zn=ce==null?void 0:ce.hack_sets)==null?void 0:Zn[0]),repeat_answer:!ce.repeat_answer})),Ot(!1))}},"\u53D6\u6D88"),Mo.createElement(ct.Z,{overlayClassName:mt.shake,open:Ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Mo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Mo.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")},Mo.createElement(je.ZP,{className:"ml20",type:"primary",onClick:()=>{Fn.submit()}},"\u4FDD\u5B58"))),Mo.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Mo.createElement(zn.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),Mo.createElement(fi.t,{form:Fn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:Pt,hackidentifier:ce==null?void 0:ce.hack_identifier,answerKey:"standard_answers"}),Mo.createElement(Jn,{getTagData:va,qitem:ce,exerciseitem:Pe,TagDiscipline:pe,form:Fn}))))},Sn=ee(346),En=ee(78874),ea=ee(81722),ra=ee(89392),ma=ee(99909),La=ee(50043),zt=ee(59301),nr=Object.defineProperty,ja=Object.defineProperties,dr=Object.getOwnPropertyDescriptors,Zr=Object.getOwnPropertySymbols,Qr=Object.prototype.hasOwnProperty,Or=Object.prototype.propertyIsEnumerable,Kr=(ce,pe,Pe)=>pe in ce?nr(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,jr=(ce,pe)=>{for(var Pe in pe||(pe={}))Qr.call(pe,Pe)&&Kr(ce,Pe,pe[Pe]);if(Zr)for(var Pe of Zr(pe))Or.call(pe,Pe)&&Kr(ce,Pe,pe[Pe]);return ce},ur=(ce,pe)=>ja(ce,dr(pe)),sr=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())});const{confirm:yr}=Ye.default,$a=[{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"}],cr=({user:ce,dispatch:pe,itemid:Pe,setisedits:Ot,exercise:en,setitemid:Oa})=>{var va,_n,Ht,Un,Fn,Pt,mn,On,sa,Zn,Fa,aa,da,Ja,yn,Ca,Ka,eo,Sr,ui,Ga,xo,Dr,ao,Eo,hi,mi;const[Cr,po]=(0,b.useState)(),[Ki,Li]=(0,b.useState)(!1),[ta,Fo]=(0,b.useState)(),[Ri,zo]=(0,b.useState)(),Ci=(0,b.useRef)(),Mi=(0,b.useRef)(),[ii,il]=(0,b.useState)(),[ll,jl]=(0,b.useState)(!1),[Ii,cl]=(0,b.useState)(!1),[Bl,Gl]=(0,b.useState)(),[Io,Si]=(0,b.useState)(!1),[$i,Zi]=(0,b.useState)(!1),[hl,ul]=(0,b.useState)(!1),[sl,wl]=(0,b.useState)(!1),[Rl,ml]=(0,b.useState)(!1),[qi,Wl]=(0,b.useState)(!1),Xo=(0,de.useParams)(),[vu,pu]=(0,b.useState)(!1),[Kl]=Be.default.useForm(),[gu,ca]=(0,b.useState)(!1),[or,jo]=(0,b.useState)(!1),[uo,Bo]=(0,b.useState)(!1),[qo,Vi]=(0,b.useState)(!1),Di=(0,b.useRef)();(0,b.useEffect)(()=>{Pe&&el()},[Pe]),(0,b.useEffect)(()=>{Ot(Ii)},[Ii]),(0,b.useEffect)(()=>{ta!=null&&ta.question_id&&(zo(ta==null?void 0:ta.question_score),Mi.current=ta==null?void 0:ta.question_id)},[ta]);const fl=Xa=>sr(void 0,null,function*(){let io=yield pe({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:Xa}});pe({type:"globalSetting/footerToggle",payload:!1}),Gl(io)});function el(){return sr(this,null,function*(){var Xa,io,Qo,ci,ni,Go;jl(!0),Li(!0);const Oi=yield pe({type:"exercise/editExercise",payload:{categoryId:Pe}});jl(!1),Li(!1),po(Oi),ml(!1),(Xa=Oi==null?void 0:Oi.exercise)!=null&&Xa.sub_discipline_id&&fl((io=Oi==null?void 0:Oi.exercise)==null?void 0:io.sub_discipline_id),Fo(ur(jr({},(ni=(ci=(Qo=Oi==null?void 0:Oi.exercise_question_types)==null?void 0:Qo[0])==null?void 0:ci.items)==null?void 0:ni[0]),{index:1})),il(ur(jr({},(Go=Oi==null?void 0:Oi.exercise_question_types)==null?void 0:Go[0]),{indexs:1}))})}function Ml(Xa,io=!0){return sr(this,null,function*(){var Qo,ci,ni,Go;io&&(jl(!0),Li(!0));const Oi=yield pe({type:"exercise/editExercise",payload:{categoryId:Pe}});po(Oi);let Gi=[];(Qo=Oi==null?void 0:Oi.exercise_question_types)==null||Qo.map(Ol=>{var Ul;(Ul=Ol==null?void 0:Ol.items)==null||Ul.map((Eu,Du)=>{Gi.push(ur(jr({},Eu),{index:Du+1}))})});let Cl=(ci=Gi.filter(Ol=>Ol.question_id===(Xa==null?void 0:Xa.id)))==null?void 0:ci[0],Su=(Go=((ni=Oi==null?void 0:Oi.exercise_question_types)==null?void 0:ni.map((Ol,Ul)=>{if((Cl==null?void 0:Cl.question_type)===(Ol==null?void 0:Ol.question_type))return ur(jr({},Ol),{indexs:Ul+1})})).filter(Ol=>Ol))==null?void 0:Go[0];il(jr({},Su)),Fo(jr({},Cl)),zo(Cl==null?void 0:Cl.question_score),jl(!1),Li(!1),ml(!1)})}function ou(Xa){return sr(this,null,function*(){var io;let Qo=ur(jr({},Xa),{repeat_answer:!Xa.repeat_answer,difficulty:(Xa==null?void 0:Xa.difficulty)||2,item_type:Xa.question_type,sub_discipline_id:((io=Xa==null?void 0:Xa.sub_discipline_id)==null?void 0:io[1])||"",tag_discipline_ids:[],hack:ur(jr({},Xa==null?void 0:Xa.hack),{difficult:(Xa==null?void 0:Xa.difficulty)||2}),hack_identifier:sessionStorage.projectFill});Xa.tag_discipline_ids&&(Qo.tag_discipline_ids=Array.isArray(Xa.tag_discipline_ids)?Xa.tag_discipline_ids:[Xa.tag_discipline_ids]);let ci=Rl?`/api/exercises/${Pe}/exercise_questions`:`/api/exercise_questions/${Xa==null?void 0:Xa.question_id}.json`;if((Xa==null?void 0:Xa.is_my)===1){const ni=yr({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:()=>{ni.destroy()}})),okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>sr(this,null,function*(){Qo.is_cover=1;let Go=yield(0,te.ZP)(ci,{method:Rl?"post":"PUT",body:jr({},Qo)});(Go==null?void 0:Go.status)===0&&(cl(!1),Ml({id:(Go==null?void 0:Go.exercise_question_id)||(Xa==null?void 0:Xa.question_id)})),ni.destroy()}),onCancel:()=>sr(this,null,function*(){let Go=yield(0,te.ZP)(ci,{method:Rl?"post":"PUT",body:jr({},Qo)});(Go==null?void 0:Go.status)===0&&(cl(!1),Ml({id:(Go==null?void 0:Go.exercise_question_id)||(Xa==null?void 0:Xa.question_id)})),ni.destroy()})})}else{let ni=yield(0,te.ZP)(ci,{method:Rl?"post":"PUT",body:jr({},Qo)});(ni==null?void 0:ni.status)===0&&(cl(!1),Ml({id:(ni==null?void 0:ni.exercise_question_id)||(Xa==null?void 0:Xa.question_id)}))}(0,Nt.Vf)("#question-scroll-id")})}function ti(Xa){return sr(this,null,function*(){var io,Qo;Li(!0);let ci=yield(0,te.ZP)(`/api/exercises/${Pe}/sort_question_type.json`,{method:"post",body:{question_type:Xa}});if(Li(!1),(ci==null?void 0:ci.status)===0){const ni=yield pe({type:"exercise/editExercise",payload:{categoryId:Pe}});po(ni),ml(!1),(io=ni==null?void 0:ni.exercise)!=null&&io.sub_discipline_id&&fl((Qo=ni==null?void 0:ni.exercise)==null?void 0:Qo.sub_discipline_id)}})}const Hi=(Xa,io,Qo)=>sr(void 0,null,function*(){var ci;if(Xa.length===0){Ne.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),Qo();return}const ni={id:Xo==null?void 0:Xo.exerciseId,file:(ci=Xa[0])==null?void 0:ci.file,sub_discipline_id:io};Vl(ni,`${Sn.Z.API_SERVER}/api/courses/${Xo==null?void 0:Xo.coursesId}/exercises/import_exercise.json`,Go=>{var Oi;if((Go==null?void 0:Go.status)===0){const Gi={};(Oi=Go==null?void 0:Go.fail)==null||Oi.forEach($l=>{var Su;((Su=Object.keys(Gi))==null?void 0:Su.includes($l.message))?Gi[$l.message]=Gi[$l.message]+1:Gi[$l.message]=1});let Cl=`\u6210\u529F\u5BFC\u5165${Go==null?void 0:Go.success}\u6761`;Object.keys(Gi).forEach($l=>{Cl=Cl+`,${$l}${Gi[$l]}\u6761`}),Ne.ZP.success(Cl),Si(!1),el()}(Go==null?void 0:Go.status)===-1&&(Ne.ZP.error(Go==null?void 0:Go.message),Qo())})}),Dl=(Xa,io)=>sr(void 0,null,function*(){const Qo=yield(0,ea.zR)({score:(0,ra.round)(Xa,1),question_id:io==null?void 0:io.question_id});if((Qo==null?void 0:Qo.status)===0){Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),Ml({id:Mi.current},!1);return}(Qo==null?void 0:Qo.status)===-1&&zo(io==null?void 0:io.question_score)}),Sl=()=>{Vi(!0)};(0,b.useEffect)(()=>{if(qo){const Xa=setTimeout(()=>{Vi(!1)},2e3);return()=>clearTimeout(Xa)}},[qo]);const Vl=(Xa,io,Qo,ci,ni)=>{const Go=new FormData;Object.keys(Xa).forEach(Gi=>{Go.append(Gi,Xa[Gi])});const Oi=new window.XMLHttpRequest;return Oi.withCredentials=!0,Oi.addEventListener("load",function(Gi){var Cl;Qo(JSON.parse((Cl=Gi==null?void 0:Gi.target)==null?void 0:Cl.response))},!1),Oi.addEventListener("error",function(Gi){ni&&ni(Gi)},!1),Oi.upload.onprogress=Gi=>{ci&&ci(Gi)},Oi.open("POST",io),Oi.send(Go),Oi};function kl(){return sr(this,null,function*(){Ye.default.confirm({title:"\u63D0\u793A",content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",okText:"\u786E\u5B9A",centered:!0,className:mt.modalconfirm,onOk:()=>sr(this,null,function*(){if(ta.question_id){let Xa=yield(0,te.ZP)(`/api/exercise_questions/${ta.question_id}.json`,{method:"delete"});(Xa==null?void 0:Xa.status)===0&&(el(),cl(!1))}else Fo({}),cl(!1),el()}),cancelText:"\u53D6\u6D88"})})}const Ku=Xa=>sr(void 0,null,function*(){return yield(0,te.ZP)(`/api/exercises/${Pe}/select_questions.json`,{method:"post",body:jr({},Xa)})}),{overflow:Vu,handleMouseEnter:$u,handleMouseLeave:hu}=(0,En.I)(),Es=(Xa,io)=>zt.createElement(Gt.default,null,zt.createElement(Gt.default.Item,{key:"0",onClick:()=>vs(Xa==null?void 0:Xa.question_type)},zt.createElement("span",{className:mt.moreSpan},"\u65B0\u589E")),zt.createElement(Gt.default.Item,{key:"1",disabled:io===0,onClick:()=>sr(void 0,null,function*(){if(io===0)return;if(Ii){Sl();return}let Qo=(0,Nt.rz)(Cr==null?void 0:Cr.exercise_question_types,io,io-1);yield ti(Qo.map(ci=>ci.name))})},zt.createElement("span",{className:mt.moreSpan},"\u4E0A\u79FB")),zt.createElement(Gt.default.Item,{key:"2",disabled:io===(Cr==null?void 0:Cr.exercise_question_types.length)-1,onClick:()=>sr(void 0,null,function*(){if(io===(Cr==null?void 0:Cr.exercise_question_types.length)-1)return;if(Ii){Sl();return}let Qo=(0,Nt.rz)(Cr==null?void 0:Cr.exercise_question_types,io,io+1);yield ti(Qo.map(ci=>ci.name))})},zt.createElement("span",{className:mt.moreSpan},"\u4E0B\u79FB")),zt.createElement(Gt.default.Item,{key:"3",onClick:()=>{var Qo;Kl.setFieldsValue({name:Xa.name,item_type_en:(Qo=$a.find(ci=>ci.id==Xa.question_type))==null?void 0:Qo.nameType}),ca(!0)}},zt.createElement("span",{className:mt.moreSpan},"\u91CD\u547D\u540D"))),vs=Xa=>{var io,Qo,ci,ni,Go,Oi,Gi,Cl,$l,Su,Ol,Ul,Eu,Du,ps,hs,Ei,Xr,Oo,Pi,Yi,Pu,Ql,iu;if(Ii){Sl();return}if(ml(!0),Xa===5){ul(!0),wl(!0);return}if(Xa===6){let ql=(Qo=(io=en==null?void 0:en.editData)==null?void 0:io.exercise)!=null&&Qo.set_question_sub_discipline?`/problems/newcreate?express_id=${(ci=Cr==null?void 0:Cr.exercise)==null?void 0:ci.id}&callback_url=/classrooms/${Xo.coursesId}/exercise/add/${Pe}?type=2&discipline_id=${(Go=(ni=en==null?void 0:en.editData)==null?void 0:ni.exercise)==null?void 0:Go.discipline_id}&sub_discipline_id=${(Gi=(Oi=en==null?void 0:en.editData)==null?void 0:Oi.exercise)==null?void 0:Gi.sub_discipline_id}`:`/problems/newcreate?express_id=${(Cl=Cr==null?void 0:Cr.exercise)==null?void 0:Cl.id}&callback_url=/classrooms/${Xo.coursesId}/exercise/add/${Pe}?type=2`;de.history.push(ql);return}cl(!0),Fo(Xa===2?{question_type:Xa,isadd:!0,repeat_answer:!0,choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],question_choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],difficulty:2,standard_answers:[],question_score:"",question_title:"",tag_discipline_ids:[],discipline_id:(Su=($l=en==null?void 0:en.editData)==null?void 0:$l.exercise)!=null&&Su.set_question_sub_discipline?(Ul=(Ol=en==null?void 0:en.editData)==null?void 0:Ol.exercise)==null?void 0:Ul.discipline_id:0,sub_discipline_id:(Du=(Eu=en==null?void 0:en.editData)==null?void 0:Eu.exercise)!=null&&Du.set_question_sub_discipline?(hs=(ps=en==null?void 0:en.editData)==null?void 0:ps.exercise)==null?void 0:hs.sub_discipline_id:0,analysis:""}:{question_type:Xa,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:(Xr=(Ei=en==null?void 0:en.editData)==null?void 0:Ei.exercise)!=null&&Xr.set_question_sub_discipline?(Pi=(Oo=en==null?void 0:en.editData)==null?void 0:Oo.exercise)==null?void 0:Pi.discipline_id:0,sub_discipline_id:(Pu=(Yi=en==null?void 0:en.editData)==null?void 0:Yi.exercise)!=null&&Pu.set_question_sub_discipline?(iu=(Ql=en==null?void 0:en.editData)==null?void 0:Ql.exercise)==null?void 0:iu.sub_discipline_id:0,downcase:!0,no_space:!0})},ds=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{Si(!0)}},{key:2,label:zt.createElement("div",null,zt.createElement("img",{width:26,style:{position:"absolute",top:-2},src:La.$}),zt.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),onClick:()=>{if(Ii){Sl();return}jo(!0)}}];return console.log(ii==null?void 0:ii.question_type,ta==null?void 0:ta.question_type),zt.createElement("div",null,zt.createElement(wn.Z,{spinning:ll},zt.createElement("div",{className:mt.bg},((va=Cr==null?void 0:Cr.exercise_types)==null?void 0:va.q_counts)===0&&!Ii&&zt.createElement(st.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~")}),(((_n=Cr==null?void 0:Cr.exercise_types)==null?void 0:_n.q_counts)>0||Ii)&&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:mt.left},zt.createElement("div",{className:mt.leftAction},((Ht=Cr==null?void 0:Cr.exercise)==null?void 0:Ht.exercise_status)===1&&zt.createElement(je.ZP,{onClick:()=>{if(Ii){Sl();return}Zi(!0)},className:mt.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),zt.createElement("div",{className:mt.scrollWrapper,style:{overflow:Vu},onMouseEnter:$u,onMouseLeave:hu},(Un=Cr==null?void 0:Cr.exercise_question_types)==null?void 0:Un.map((Xa,io)=>zt.createElement("div",{key:io,className:"mb30"},zt.createElement("div",{className:mt.title},zt.createElement("div",{className:mt.titleleft},zt.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,Nt.EM)(io+1),"\u3001\u3010",Xa.name,"\u3011"),zt.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",Xa.count,"\u5C0F\u9898\uFF0C\u5171",Xa.score,"\u5206\uFF09")),zt.createElement(He.Z,{dropdownRender:()=>Es(Xa,io),placement:"bottomLeft"},zt.createElement("div",{className:mt.more_style},zt.createElement("i",{className:"iconfont icon-sandian font12"})))),zt.createElement(Cn,{handleEditing:Sl,isedit:Ii,setBigqitem:il,bigitem:ur(jr({},Xa),{indexs:io+1}),setqitem:Qo=>sr(void 0,null,function*(){var ci;(ci=Ci.current)==null||ci.blur(),Fo(Qo)}),qitem:ta,Itemid:Pe,getdata:Ml,data:Xa.items})))))),zt.createElement("div",{id:"question-scroll-id",style:{overflow:Ii?"hidden":"auto"},className:mt.right},!(ta!=null&&ta.isadd)&&zt.createElement("div",{className:mt.title},!Ii&&zt.createElement("div",{style:{flex:1}},zt.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(ii==null?void 0:ii.indexs)&&(0,Nt.EM)(ii==null?void 0:ii.indexs),"\u3001\u3010",ii==null?void 0:ii.name,"\u3011"),zt.createElement(ct.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},zt.createElement("i",{className:`${mt.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var Xa;Kl.setFieldsValue({name:ii.name,item_type_en:(Xa=$a.find(io=>io.id==ii.question_type))==null?void 0:Xa.nameType}),ca(!0)}})),zt.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",ii==null?void 0:ii.count,"\u5C0F\u9898\uFF0C\u5171",ii==null?void 0:ii.score,"\u5206\uFF09"),(ta==null?void 0:ta.question_type)===6&&zt.createElement("span",{onClick:()=>{Ye.default.destroyAll(),Bo(2)},className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(ta==null?void 0:ta.question_type)===5&&zt.createElement(it.default,{defaultChecked:(Pt=(Fn=en==null?void 0:en.editData)==null?void 0:Fn.exercise)==null?void 0:Pt.show_challenge_task_pass,onChange:Xa=>sr(void 0,null,function*(){let io=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:Xa.target.checked}});(io==null?void 0:io.status)===0&&(Ne.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ml({id:Mi.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(ta==null?void 0:ta.question_type)===6&&zt.createElement("span",{style:{marginLeft:20},onClick:()=>{var Xa,io,Qo,ci;Ye.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:zt.createElement("div",null,(ta==null?void 0:ta.question_type)===6&&zt.createElement(it.default,{defaultChecked:(io=(Xa=en==null?void 0:en.editData)==null?void 0:Xa.exercise)==null?void 0:io.show_hack_sets,onChange:ni=>sr(void 0,null,function*(){let Go=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_sets:ni.target.checked}});(Go==null?void 0:Go.status)===0&&(Ne.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ye.default.destroyAll(),Ml({id:Mi.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),zt.createElement("br",null),(ta==null?void 0:ta.question_type)===6&&zt.createElement(it.default,{defaultChecked:(ci=(Qo=en==null?void 0:en.editData)==null?void 0:Qo.exercise)==null?void 0:ci.show_hack_description,onChange:ni=>sr(void 0,null,function*(){let Go=yield(0,te.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_description:ni.target.checked}});(Go==null?void 0:Go.status)===0&&(Ne.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ye.default.destroyAll(),Ml({id:Mi.current}))}),style:{marginBottom:10}},"\u5C55\u793A\u8BD5\u9898\u63CF\u8FF0"))})},className:"current c-light-primary font14 bold-400"},"\u7F16\u7A0B\u9898\u663E\u793A\u8BBE\u7F6E")),zt.createElement("div",{style:{display:"flex",alignItems:"center"}},(ta==null?void 0:ta.question_type)===5&&!Ii&&zt.createElement("a",{className:mt.shixun,href:`/shixuns/${ta==null?void 0:ta.shixun_identifier}/challenges?exercise=true`,target:"_blank"},zt.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!Ii&&((mn=Cr==null?void 0:Cr.exercise)==null?void 0:mn.exercise_status)==1&&[0,1,2,4,6].includes(ta==null?void 0:ta.question_type)&&zt.createElement(Be.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},zt.createElement(Ke.Z,{precision:1,ref:Ci,onChange:Xa=>zo(Xa),value:Ri,onBlur:Xa=>{Dl(Xa.target.value,ta)}})),!Ii&&((On=Cr==null?void 0:Cr.exercise)==null?void 0:On.exercise_status)==1&&zt.createElement(ct.Z,{title:"\u5220\u9664"},zt.createElement("i",{onClick:()=>{kl()},style:{marginRight:20},className:`${mt.delete} iconfont icon-shanchu13 mr8 ml8 `})),(ta==null?void 0:ta.question_type)!==5&&!Ii&&zt.createElement(zt.Fragment,null,(ta==null?void 0:ta.is_my)==1&&zt.createElement(ct.Z,{title:"\u67E5\u770B\u539F\u9898"},zt.createElement("i",{className:`${mt.yuanti} iconfont icon-chakanyuanti mr8 ml8`,onClick:()=>{(ta==null?void 0:ta.question_type)==6?window.open(`/problems/newedit/${ta==null?void 0:ta.item_bank_hack_identifier}`):(ta==null?void 0:ta.question_type)==8?window.open(`/problemset/edit/${ta==null?void 0:ta.item_bank_hack_identifier}?type=1`):window.open(`/problemset/edit/${ta==null?void 0:ta.item_bank_id}`)}})),zt.createElement(ct.Z,{title:"\u52A0\u5165\u6211\u7684\u9898\u5E93"},zt.createElement("i",{className:`${mt.tianjia} iconfont icon-jiarushitiku mr8 ml8`,onClick:()=>{Di.current=[],Ye.default.confirm({centered:!0,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u52A0\u5165\u6211\u7684\u9898\u5E93",maskClosable:!0,className:"custom-modal-divider",icon:null,content:zt.createElement("div",{className:`font14 ${mt.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(ma.Z,{defaultValue:!0,value:Di.current,onChange:Xa=>Di.current=Xa}))),onOk:()=>sr(void 0,null,function*(){var Xa;(0,ea.$l)({id:ta==null?void 0:ta.question_id,group_id:((Xa=Di==null?void 0:Di.current)==null?void 0:Xa[0])||""}).then(io=>{(io==null?void 0:io.status)==0&&(Ne.ZP.success("\u52A0\u5165\u6210\u529F"),el())})})})}}))),!Ii&&(((sa=Cr==null?void 0:Cr.exercise)==null?void 0:sa.exercise_status)==1||((Zn=Cr==null?void 0:Cr.exercise)==null?void 0:Zn.exercise_status)==2&&((aa=(Fa=ce.userInfo)==null?void 0:Fa.course)==null?void 0:aa.course_role)!=15||((da=Cr==null?void 0:Cr.exercise)==null?void 0:da.exercise_status)==3&&((yn=(Ja=ce.userInfo)==null?void 0:Ja.course)==null?void 0:yn.course_role)!=15||((Ca=Cr==null?void 0:Cr.exercise)==null?void 0:Ca.exercise_status)==4&&((eo=(Ka=ce.userInfo)==null?void 0:Ka.course)==null?void 0:eo.course_role)!=15)&&zt.createElement(ct.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},zt.createElement("i",{onClick:()=>{(ta==null?void 0:ta.question_type)===6?de.history.push(`/problems/newedit/${ta==null?void 0:ta.hack_identifier}?type=exercises&express_id=${Xo.exerciseId}&question_id=${ta==null?void 0:ta.question_id}&score=${ta==null?void 0:ta.question_score}&exercise=true&callback_url=/classrooms/${Xo.coursesId}/exercise/add/${Pe}?type=2`):cl(!0)},className:`${mt.edit} iconfont icon-bianji_Hover ml8`})))),!Ii&&zt.createElement("div",null,zt.createElement("div",{className:mt.qcount},zt.createElement("span",{className:mt.score},ta==null?void 0:ta.question_score,"\u5206"),zt.createElement(fe.Z,{className:mt.qtitle,value:(ta==null?void 0:ta.index)+`\u3001${(ta==null?void 0:ta.question_type)==8?(Sr=ta==null?void 0:ta.program_attr)==null?void 0:Sr.description:ta==null?void 0:ta.question_title}`}),(ta==null?void 0:ta.high_resources_consume)&&zt.createElement(br.Z,{type:"shixun",style:{marginLeft:10}})),(ta==null?void 0:ta.question_type)===6&&zt.createElement(nt.Z,{onEdit:()=>Bo(1),className:"mt10",dataSource:(ta==null?void 0:ta.languages)||[]}),zt.createElement(wu,{exercise:en,TagDiscipline:Bl,qitem:ta})),Ii&&zt.createElement("div",null,(ta==null?void 0:ta.question_type)<=1&&zt.createElement(bn,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:Cr,TagDiscipline:Bl,setisedit:cl,qitem:ta,init:el,showTip:qo}),(ta==null?void 0:ta.question_type)===5&&zt.createElement(ju,{setqitem:Fo,deleteitem:kl,seveeditor:ou,exerciseitem:Cr,TagDiscipline:Bl,setisedit:cl,qitem:ta,showTip:qo}),(ta==null?void 0:ta.question_type)===3&&zt.createElement(Ua,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:Cr,TagDiscipline:Bl,setisedit:cl,qitem:ta,init:el,showTip:qo}),(ta==null?void 0:ta.question_type)===2&&zt.createElement(xt,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:Cr,TagDiscipline:Bl,setisedit:cl,qitem:ta,init:el,showTip:qo}),(ta==null?void 0:ta.question_type)===4&&zt.createElement(be,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:Cr,TagDiscipline:Bl,setisedit:cl,qitem:ta,init:el,showTip:qo}),(ta==null?void 0:ta.question_type)===7&&zt.createElement(au,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:Cr,TagDiscipline:Bl,setisedit:cl,qitem:ta,init:el,showTip:qo}),(ta==null?void 0:ta.question_type)===8&&zt.createElement(xn,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:Cr,TagDiscipline:Bl,setisedit:cl,qitem:ta,init:el,showTip:qo}))))))),zt.createElement("div",{className:mt.bottomdiv},zt.createElement("div",{className:mt.exercise_styles},((ui=Cr==null?void 0:Cr.exercise)==null?void 0:ui.exercise_status)==1&&zt.createElement(zt.Fragment,null,zt.createElement("span",{className:mt.spanBtn,onClick:()=>{if(Ii){Sl();return}ul(!0),wl(!1)}},"\u9898\u5E93\u9009\u9898"),zt.createElement(He.Z,{menu:{items:ds}},zt.createElement("span",{className:mt.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),zt.createElement("span",{className:mt.spanBtn,onClick:()=>sr(void 0,null,function*(){var Xa;let io=yield(0,te.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}/${(Xa=ce.userInfo)==null?void 0:Xa.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),zt.createElement("span",{className:mt.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"),$a==null?void 0:$a.map(Xa=>zt.createElement(je.ZP,{className:mt.addQuestionBtn,key:Xa.id,type:"primary",onClick:()=>{vs(Xa.id)}},Xa.name))),((Ga=Cr==null?void 0:Cr.exercise)==null?void 0:Ga.exercise_status)!=1&&zt.createElement(zt.Fragment,null,zt.createElement("span",{style:{width:"1022px"}})),zt.createElement("span",{className:mt.saveBtn,onClick:()=>{var Xa,io,Qo;if(Ii){Sl();return}let ci=(io=(Xa=Cr==null?void 0:Cr.exercise_question_types)==null?void 0:Xa.filter(Go=>Go.question_type===5)[0])==null?void 0:io.items,ni=0;ci==null||ci.map(Go=>{Go.high_resources_consume&&(ni=ni+1)}),console.log(ni),ni>0?pe({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:ni,fn:()=>{var Go;((Go=Cr==null?void 0:Cr.exercise)==null?void 0:Go.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()}}}):((Qo=Cr==null?void 0:Cr.exercise)==null?void 0:Qo.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(Wt,{setScoreShow:Zi,ScoreShow:$i,exerciseitem:Cr,getdata:el}),hl&&zt.createElement(Ni,{setScoreShow:ul,isshixuns:sl,isloadings:vu,ScoreShow:hl,onOk:(Xa,io,Qo,ci,ni)=>sr(void 0,null,function*(){pu(!0);let Oi=yield Ku({exam_id:Pe,item_bank_ids:Xa,shixun_ids:io,shixun_copy_ids:ni});pu(!1),(Oi==null?void 0:Oi.status)===0&&Ye.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u65B0\u52FE\u9009\u7684\u8BD5\u9898\u5DF2\u7ECF\u6DFB\u52A0\u5230\u8BD5\u5377\uFF0C\u5982\u679C\u9700\u8981\u7EE7\u7EED\u6DFB\u52A0\u65B0\u8BD5\u9898\u8BF7\u70B9\u51FB\u201C\u7EE7\u7EED\u9009\u9898\u201D\uFF0C\u5C06\u56DE\u5230\u60A8\u4E0A\u6B21\u64CD\u4F5C\u7684\u9009\u9898\u9875\u9762",okText:"\u7EE7\u7EED\u9009\u9898",cancelText:"\u8FD4\u56DE\u8BD5\u5377",onOk:()=>{el()},onCancel:()=>{ul(!1),el()}})})}),zt.createElement(ts.Z,{sub_discipline_id:(xo=Cr==null?void 0:Cr.exercise)!=null&&xo.sub_discipline_id?[(Dr=Cr==null?void 0:Cr.exercise)==null?void 0:Dr.discipline_id,(ao=Cr==null?void 0:Cr.exercise)==null?void 0:ao.sub_discipline_id]:[],visible:Io,onCancel:()=>Si(!1),onOk:Hi}),zt.createElement(Ye.default,{title:"\u63D0\u793A",open:qi,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:()=>ca(!1)},zt.createElement(Be.default,{form:Kl,initialValues:{},onFinish:Xa=>sr(void 0,null,function*(){(yield(0,ea.RK)(jr({id:Pe},Xa))).status==0&&(Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),el(),ca(!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(Xa,io){var Qo,ci,ni,Go;const Oi=(Qo=$a==null?void 0:$a.find(Gi=>Gi.nameType==Kl.getFieldValue("item_type_en")))==null?void 0:Qo.id;return(Go=(ni=(ci=Cr==null?void 0:Cr.exercise_question_types)==null?void 0:ci.filter(Gi=>Gi.question_type!=Oi))==null?void 0:ni.map(Gi=>Gi==null?void 0:Gi.name))!=null&&Go.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(Lt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:or},zt.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),zt.createElement(La.Z,{stickyTop:-24,subDisciplineId:(Eo=Cr==null?void 0:Cr.exercise)!=null&&Eo.sub_discipline_id?[(hi=Cr==null?void 0:Cr.exercise)==null?void 0:hi.discipline_id,(mi=Cr==null?void 0:Cr.exercise)==null?void 0:mi.sub_discipline_id]:[],onCancel:()=>jo(!1),mode:3,gather:{exercise_id:Pe},onSuccess:()=>{jo(!1),el()}}),zt.createElement("div",{style:{height:70}})),zt.createElement(nt.Q,{visible:!!uo,setVisible:Bo,tip:uo===2&&"\u8BBE\u7F6E\u5DF2\u6DFB\u52A0\u5728\u8BD5\u5377\u4E2D\u7684\u7F16\u7A0B\u9898\u6240\u5141\u8BB8\u4F7F\u7528\u7684\u7F16\u7A0B\u8BED\u8A00",dataSource:uo===1?ta==null?void 0:ta.languages:[],onOk:Xa=>sr(void 0,null,function*(){const io={languages:Xa};uo===1?io.hack_id=ta==null?void 0:ta.hack_id:io.exercise_id=Pe,(yield(0,te.ZP)("/api/problems/update_languages.json",{method:"post",body:io})).status===0&&(Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),Ml({id:Mi.current}),Bo(!1))})}))};var $r=(0,de.connect)(({user:ce,exercise:pe,dispatch:Pe})=>({user:ce,exercise:pe,dispatch:Pe}))(cr),yo=ee(50337),lo=ee(53311),kr=ee(95024),vo=ee(87169),wo=ee(52154),Ta=ee(59301),Do=Object.defineProperty,yi=Object.defineProperties,Ao=Object.getOwnPropertyDescriptors,qr=Object.getOwnPropertySymbols,bi=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable,gi=(ce,pe,Pe)=>pe in ce?Do(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Zo=(ce,pe)=>{for(var Pe in pe||(pe={}))bi.call(pe,Pe)&&gi(ce,Pe,pe[Pe]);if(qr)for(var Pe of qr(pe))Yr.call(pe,Pe)&&gi(ce,Pe,pe[Pe]);return ce},_i=(ce,pe)=>yi(ce,Ao(pe)),no=(ce,pe)=>{var Pe={};for(var Ot in ce)bi.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&qr)for(var Ot of qr(ce))pe.indexOf(Ot)<0&&Yr.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe},zr=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=Ht=>{try{_n(Pe.next(Ht))}catch(Un){en(Un)}},va=Ht=>{try{_n(Pe.throw(Ht))}catch(Un){en(Un)}},_n=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())});const Jr=ce=>{var pe=ce,{classroomList:Pe,globalSetting:Ot,problemset:en,loading:Oa,exercise:va,user:_n,dispatch:Ht}=pe,Un=no(pe,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),Fn,Pt,mn,On,sa,Zn,Fa,aa,da,Ja,yn,Ca,Ka,eo;const Sr=(0,de.useParams)(),[ui,Ga]=(0,b.useState)(!1),{userInfo:xo}=_n,[Dr]=Be.default.useForm();let[ao,Eo]=(0,b.useState)({});const[hi,mi]=(0,b.useState)(1),[Cr,po]=(0,b.useState)(""),[Ki]=(0,de.useSearchParams)(),[Li,ta]=(0,b.useState)(!1),[Fo,Ri]=(0,b.useState)(!1),[zo,Ci]=(0,b.useState)(!1),[Mi,ii]=(0,b.useState)(""),[il,ll]=(0,b.useState)(!1),[jl,Ii]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Ht({type:"problemset/getEditDisciplines",payload:{source:"new_question",identifier:Sr==null?void 0:Sr.coursesId}}),Ht({type:"globalSetting/footerToggle",payload:!1}),Dr.setFieldsValue({difficulty:2,courseid:[]})},[]),(0,b.useEffect)(()=>{Sr.exerciseId&&zr(void 0,null,function*(){var Io,Si,$i;const Zi=yield Ht({type:"exercise/editExercise",payload:{categoryId:Sr.exerciseId}});(Zi==null?void 0:Zi.status)!==-1&&(((Io=Zi==null?void 0:Zi.exercise)==null?void 0:Io.exercise_status)===2||((Si=Zi==null?void 0:Zi.exercise)==null?void 0:Si.exercise_status)===3||(($i=Zi==null?void 0:Zi.exercise)==null?void 0:$i.exercise_status)===4?Ci(!0):Ci(!1))})},[Sr]),(0,b.useEffect)(()=>{if(Sr.exerciseId){let Io=va.editData.exercise;Ii(Io==null?void 0:Io.set_question_sub_discipline),Dr.setFieldsValue(_i(Zo({},Io),{courseid:Io!=null&&Io.sub_discipline_id?[Io==null?void 0:Io.discipline_id,Io==null?void 0:Io.sub_discipline_id]:[]}))}},[va]),(0,b.useEffect)(()=>{Ki.get("type")==="2"&&(po(Sr.exerciseId),mi(2))},[Ki.get("type")]),(0,b.useEffect)(()=>{var Io;let Si=(Io=en==null?void 0:en.disciplinesData)==null?void 0:Io.checked;Si!=null&&Si.sub_discipline_id&&Dr.setFieldsValue({courseid:[Si==null?void 0:Si.discipline_id,Si==null?void 0:Si.sub_discipline_id]})},[(Fn=en==null?void 0:en.disciplinesData)==null?void 0:Fn.checked]);function cl(Io,Si){return zr(this,null,function*(){var $i,Zi,hl,ul;yield Dr.validateFields();const sl=Dr.getFieldsValue(),{courseid:wl}=sl,[Rl,ml]=wl;sl.sub_discipline_id=ml,sl.is_md=!0,sl.time=parseInt(sl.time)>9999?9999:sl.time;const qi=yield Ht({type:"exercise/addExercise",payload:Zo(Zo({},sl),Sr)});qi.status===0?(yield(0,te.ZP)(`/api/courses/${Sr==null?void 0:Sr.coursesId}/exercises/notice_at.json`,{method:"POST",body:{course_id:Sr==null?void 0:Sr.coursesId,id:($i=qi==null?void 0:qi.data)==null?void 0:$i.exercise_id,time:Io}}),Gl((Zi=qi.data)==null?void 0:Zi.exercise_id),po((hl=qi==null?void 0:qi.data)==null?void 0:hl.exercise_id),mi(2),ta(!1),de.history.replace(`/classrooms/${Sr.coursesId}/exercise/add/${(ul=qi.data)==null?void 0:ul.exercise_id}?type=2`)):Ne.ZP.error(qi.message),Si()})}function Bl(Io){Eo(Zo({},Io))}function Gl(Io){return zr(this,null,function*(){if(!(ao!=null&&ao.ec_point_ids))return;const Si=Zo({},ao);delete Si.id;let $i=yield(0,te.ZP)(`/api/ec_courses/${ao==null?void 0:ao.ec_course_id}/ec_points/set_work_points.json`,{method:"post",body:Zo({exercise_id:Io},Si)})})}return Ta.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},Ta.createElement("section",{className:"edu-container"},Ta.createElement("section",{className:"animated fadeIn"},Ta.createElement("aside",{className:"mt10"},xo&&Ta.createElement(_e.Z,{separator:">"},Ta.createElement(_e.Z.Item,null,Ta.createElement(de.Link,{to:`/classrooms/${Sr.coursesId}/exercise`},(Pt=xo==null?void 0:xo.course)==null?void 0:Pt.course_name)),Ta.createElement(_e.Z.Item,null,Ta.createElement(de.Link,{to:`/classrooms/${Sr.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")),Ta.createElement(_e.Z.Item,null,Sr.exerciseId?"\u7F16\u8F91\u8BD5\u5377":"\u65B0\u5EFA\u8BD5\u5377")))),Sr.exerciseId&&Ta.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}},Ta.createElement(vo.Z,{style:{marginRight:5,color:"#E99237"}}),Ta.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"),Ta.createElement("span",{className:Je.addQuestionBtn,onClick:()=>{Ht({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[Sr.exerciseId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),Ta.createElement(kr.Z,{haveInit:!0,init:()=>{ii(new Date)}}),Ta.createElement("div",{className:"bg-white"},Ta.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},Ta.createElement("div",{onClick:()=>{if(Fo){Ne.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u8BD5\u9898\u3002");return}mi(1)},className:hi===1?Je.selectdiv:Je.divitem},Ta.createElement(yo.Z,{number:1,active:hi===1,className:"mr10"}),Ta.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),Ta.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),Ta.createElement("div",{onClick:()=>{if(!Sr.exerciseId&&!Cr){Ne.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}mi(2),!Cr&&po(Sr.exerciseId)},className:hi!==1?Je.selectdiv:Je.divitem},Ta.createElement(yo.Z,{number:2,active:hi!==1,className:"mr10"}),Ta.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),hi===2&&Ta.createElement("div",{className:"tc"},Ta.createElement(lo.Z,{defaultValue:(On=(mn=va==null?void 0:va.editData)==null?void 0:mn.exercise)==null?void 0:On.exercise_name,onFinish:Io=>zr(void 0,null,function*(){var Si,$i,Zi,hl,ul,sl,wl,Rl,ml,qi,Wl,Xo;return Io.trim()===(($i=(Si=va==null?void 0:va.editData)==null?void 0:Si.exercise)==null?void 0:$i.exercise_name)?!0:(yield(0,ea.wy)({exercise_name:Io,exercise_description:(hl=(Zi=va==null?void 0:va.editData)==null?void 0:Zi.exercise)==null?void 0:hl.exercise_description,sub_discipline_id:(sl=(ul=va==null?void 0:va.editData)==null?void 0:ul.exercise)==null?void 0:sl.sub_discipline_id,time:(Rl=(wl=va==null?void 0:va.editData)==null?void 0:wl.exercise)==null?void 0:Rl.time,exerciseId:(qi=(ml=va.editData)==null?void 0:ml.exercise)==null?void 0:qi.id,difficulty:(Xo=(Wl=va.editData)==null?void 0:Wl.exercise)==null?void 0:Xo.difficulty})).status===0?(Dr.setFieldValue("exercise_name",Io),!0):!1})}),Ta.createElement("div",{style:{fontSize:14}},Ta.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",Ta.createElement("span",{style:{color:"#000000",marginLeft:8}},((Zn=(sa=va==null?void 0:va.editData)==null?void 0:sa.exercise)==null?void 0:Zn.time)||"\u4E0D\u9650")),Ta.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",Ta.createElement("span",{style:{color:"#000000",marginLeft:8}},((aa=(Fa=va==null?void 0:va.editData)==null?void 0:Fa.exercise)==null?void 0:aa.difficulty)===1?"\u7B80\u5355":((Ja=(da=va==null?void 0:va.editData)==null?void 0:da.exercise)==null?void 0:Ja.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),Ta.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",Ta.createElement("span",{style:{color:"#000000",marginLeft:8}},((Ca=(yn=va==null?void 0:va.editData)==null?void 0:yn.exercise_types)==null?void 0:Ca.q_counts)||0)),Ta.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",Ta.createElement("span",{style:{color:"#000000",marginLeft:8}},(eo=(Ka=va==null?void 0:va.editData)==null?void 0:Ka.exercise_types)==null?void 0:eo.q_scores))))),hi===1&&Ta.createElement("div",null,Ta.createElement("section",{className:[Je.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},Ta.createElement(Be.default,{form:Dr,colon:!1,layout:"horizontal",labelCol:{span:4},wrapperCol:{span:20},initialValues:{time:60},onFinish:Io=>zr(void 0,null,function*(){var Si,$i,Zi,hl,ul;if(Ga(!0),ta(!0),Sr.exerciseId){Io.exerciseId=($i=(Si=va.editData)==null?void 0:Si.exercise)==null?void 0:$i.id,Io.sub_discipline_id=Io.courseid[Io.courseid.length-1],yield(0,ea.wy)(_i(Zo({},Io),{set_question_sub_discipline:jl})),mi(2),Gl(Sr==null?void 0:Sr.exerciseId),po(Sr.exerciseId),Ga(!1),ta(!1);return}const sl=yield(0,te.ZP)(`/api/courses/${Sr==null?void 0:Sr.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:Sr==null?void 0:Sr.coursesId}});if(sl!=null&&sl.alert)Ht({type:"classroomList/setActionTabs",payload:{key:"\u9884\u7EA6\u5F39\u7A97"}});else{const{courseid:wl}=Io,[Rl,ml]=wl;Io.sub_discipline_id=ml,Io.is_md=!0,Io.time=parseInt(Io.time)>9999?9999:Io.time,Io.set_question_sub_discipline=jl;const qi=yield Ht({type:"exercise/addExercise",payload:_i(Zo(Zo({},Io),Sr),{category_id:Ki.get("catalogue")||null})});qi.status===0&&(Gl((Zi=qi.data)==null?void 0:Zi.exercise_id),de.history.replace(`/classrooms/${Sr.coursesId}/exercise/add/${(hl=qi.data)==null?void 0:hl.exercise_id}?type=2`),po((ul=qi==null?void 0:qi.data)==null?void 0:ul.exercise_id),mi(2)),ta(!1)}Ga(!1)}),className:Je.formWrap},Ta.createElement(Be.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:Je.baseLineHeight,rules:[{required:!0,validator:(Io,Si)=>{var $i;return(($i=Si==null?void 0:Si.replaceAll(" ",""))==null?void 0:$i.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},Ta.createElement(ke.default,{maxLength:60,className:Je.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),Ta.createElement(Be.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"courseid",className:Je.baseLineHeight},Ta.createElement(le.Z,{disabled:zo,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:en.courseOptions,className:Je.baseFormItem,size:"large",popupClassName:Je.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},allowClear:!0})),Ta.createElement("div",{className:Je.concat},Ta.createElement("div",null,Ta.createElement(it.default,{checked:jl,onChange:Io=>{Ii(Io.target.checked)},style:{color:"#000"}},"\u8BBE\u7F6E\u8BE5\u65B9\u5411&\u8BFE\u7A0B\u4E3A\u8BD5\u9898\u6A21\u7248\uFF08\u521B\u5EFA\u65B0\u8BD5\u9898\u81EA\u52A8\u4F7F\u7528\u8BE5\u65B9\u5411&\u8BFE\u7A0B\uFF09")),Ta.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",Ta.createElement("a",{onClick:()=>ll(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),Ta.createElement(Be.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:Je.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},Ta.createElement(qe.ZP.Group,{className:Je.radiogroup,disabled:zo},Ta.createElement(qe.ZP.Button,{className:Je.easy,value:1},"\u7B80\u5355"),Ta.createElement(qe.ZP.Button,{className:Je.medium,value:2},"\u9002\u4E2D"),Ta.createElement(qe.ZP.Button,{className:Je.hard,value:3},"\u56F0\u96BE"))),Ta.createElement(Be.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:Je.baseLineHeight},Ta.createElement("div",{style:{display:"flex",width:"100%"}},Ta.createElement(Be.default.Item,{name:"time",noStyle:!0},Ta.createElement(Ke.Z,{disabled:zo,min:1,max:9999,className:Je.baseFormItem,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),Ta.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),Ta.createElement(Be.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},Ta.createElement(ke.default.TextArea,{disabled:zo,rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"}))),Ta.createElement(Kn,{exercise_id:Sr==null?void 0:Sr.exerciseId,setitem:Bl})),Ta.createElement("div",{className:Je.bottmodiv},Ta.createElement(je.ZP,{className:`${Je.cancelBtn}`,type:"primary",onClick:()=>{de.history.back()}},"\u53D6\u6D88"),Ta.createElement(je.ZP,{loading:Li,onClick:()=>{Dr.validateFields(),Dr.submit()},type:"primary",className:`${Je.confirmBtn} ml20`},"\u4E0B\u4E00\u6B65")),Ta.createElement(z,{setsubloading:ta,onModalOk:cl})),hi===2&&Ta.createElement("div",null,Ta.createElement($r,{key:Mi,setisedits:Ri,setitemid:po,itemid:Cr}))),Ta.createElement(wo.Z,{open:il,onCancel:()=>{ll(!1)}}))};var Hr=(0,de.connect)(({classroomList:ce,loading:pe,user:Pe,problemset:Ot,globalSetting:en,exercise:Oa})=>({classroomList:ce,globalSetting:en,problemset:Ot,user:Pe,exercise:Oa,loading:pe.effects}))(Jr)},4881:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return E}});var b=ee(59301),de=ee(8591),Be=ee(43418),Ne=ee(19842),_e=ee(54580),ke=ee(3113),le=ee(346),it=ee(51257),qe=ee(38986),Ke=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"},Je=ee(59301),Ye=(a,x,y)=>new Promise((z,te)=>{var re=ve=>{try{ie(y.next(ve))}catch(ye){te(ye)}},se=ve=>{try{ie(y.throw(ve))}catch(ye){te(ye)}},ie=ve=>ve.done?z(ve.value):Promise.resolve(ve.value).then(re,se);ie((y=y.apply(a,x)).next())}),E=({visible:a,onOk:x,onCancel:y,sub_discipline_id:z=[]})=>{const[te,re]=(0,b.useState)([]),[se,ie]=(0,b.useState)(!1),ve=(0,Ke.useParams)(),[ye,Ge]=(0,b.useState)([]),[Ae,ze]=(0,b.useState)([]);(0,b.useEffect)(()=>{a?he():(ze([]),re([]),ie(!1))},[a]);const he=()=>Ye(void 0,null,function*(){const dt=yield(0,qe.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});Ge(dt.disciplines||[]),ze((z==null?void 0:z.length)>0?z:[])}),Qe=()=>{if((Ae==null?void 0:Ae.length)===0)return de.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",Ae),ie(!0),x(te,Ae[1],()=>{ie(!1)})},We=()=>{y()},ft=()=>{const dt=`${le.Z.API_SERVER}/api/courses/${ve.coursesId}/exercises/down_template`;(0,it.Nd)(null,dt)},Le=dt=>{const gt={name:dt.name,uid:dt.uid,file:dt};return re([gt]),!1},ot=()=>{re([])};return Je.createElement(Be.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:Qe,centered:!0,wrapClassName:je.customModal,onCancel:We,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:je.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:se},Je.createElement("div",{className:je.content},Je.createElement("aside",null,Je.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),Je.createElement("ul",null,Je.createElement("li",null,Je.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),Je.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:ft},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),Je.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:ft,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),Je.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),Je.createElement("li",{className:je.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),Je.createElement("li",{className:je.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),Je.createElement("li",{className:je.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),Je.createElement("li",{className:je.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),Je.createElement("aside",{style:{marginTop:22}},Je.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),Je.createElement("ul",{style:{flex:1}},Je.createElement("li",{style:{color:"#5F6367"}},"\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF0C\u4E0A\u4F20\u7F16\u8F91\u597D\u7684\u8BD5\u9898\u6587\u6863\uFF0C\u786E\u5B9A\u5BFC\u5165"),a&&Je.createElement(Je.Fragment,null,Je.createElement(Ne.Z,{value:Ae,className:je.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:ye,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(dt,gt)=>{ze(dt||[])}}),Je.createElement("br",null),Je.createElement(_e.default,{action:`${le.Z.API_SERVER}/api/attachments.json`,beforeUpload:Le,onRemove:ot,withCredentials:!0,fileList:te,accept:".xls,.xlsx",showUploadList:!1},Je.createElement(ke.ZP,{className:je.upload,type:"primary",icon:Je.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),te.map((dt,gt)=>Je.createElement("div",{key:gt,className:je.fileList},Je.createElement("span",{className:je.fileName},dt==null?void 0:dt.name),Je.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:ot})))))))}},95024:function(Vt,jt,ee){"use strict";var b=ee(59301),de=ee(43418),Be=ee(38986),Ne=ee(25690),_e=ee(59301),ke=(it,qe,Ke)=>new Promise((je,Je)=>{var Ye=a=>{try{E(Ke.next(a))}catch(x){Je(x)}},ue=a=>{try{E(Ke.throw(a))}catch(x){Je(x)}},E=a=>a.done?je(a.value):Promise.resolve(a.value).then(Ye,ue);E((Ke=Ke.apply(it,qe)).next())});const le=({exercise:it,dispatch:qe,init:Ke,haveInit:je=!1})=>{const Je=(0,Ne.useParams)(),[Ye,ue]=(0,b.useState)(!1);let[E,a]=(0,b.useState)();const[x,y]=(0,b.useState)(!1),[z,te]=(0,b.useState)(!1);(0,b.useEffect)(()=>{it.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&re()},[it.actionTabs]);function re(){return ke(this,null,function*(){var se,ie;let ve=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:it.actionTabs.selectArrs}});if(((se=ve==null?void 0:ve.cover_exercises)==null?void 0:se.length)>0)ue(!0),a((ie=ve==null?void 0:ve.cover_exercises)==null?void 0:ie[0]);else{let ye=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:it.actionTabs.selectArrs}});qe({type:"exercise/setActionTabs",payload:{key:""}}),(ye==null?void 0:ye.status)===0&&(je&&Ke(),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 _e.createElement("div",null,_e.createElement(de.default,{open:Ye,centered:!0,onCancel:se=>ke(void 0,null,function*(){if(se.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){y(!0);let ie=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:it.actionTabs.selectArrs,update:1}});qe({type:"exercise/setActionTabs",payload:{key:""}}),y(!1),(ie==null?void 0:ie.status)===0&&(je&&Ke(),ue(!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 ue(!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*(){te(!0);let se=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:it.actionTabs.selectArrs}});te(!1),(se==null?void 0:se.status)===0&&(je&&Ke(),qe({type:"exercise/setActionTabs",payload:{key:""}}),ue(!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"},_e.createElement("div",null,_e.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"),_e.createElement("div",null,_e.createElement("div",null,"\u8BD5\u5377\uFF1A",E==null?void 0:E.origin_exercise_nam),_e.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",_e.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))))))};jt.Z=(0,Ne.connect)(({exercise:it})=>({exercise:it}))(le)},37345:function(Vt,jt,ee){"use strict";ee.d(jt,{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(Vt,jt,ee){"use strict";ee.d(jt,{H7:function(){return E},MK:function(){return ue},MU:function(){return Ke},X6:function(){return Je},bM:function(){return qe},fi:function(){return a},fu:function(){return it},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,_e=Object.prototype.propertyIsEnumerable,ke=(z,te,re)=>te in z?de(z,te,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[te]=re,le=(z,te)=>{for(var re in te||(te={}))Ne.call(te,re)&&ke(z,re,te[re]);if(Be)for(var re of Be(te))_e.call(te,re)&&ke(z,re,te[re]);return z};function it(z,te){return(0,b.U2)(`myproblems/${z}.json`,le({hidePopLogin:!0},te||{}))}function qe(z,te){return(0,b.v_)(`myproblems/${z}/code_submit.json`,te)}function Ke(z,te){return(0,b.v_)(`myproblems/${z}/code_debug.json`,te)}function je(z,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,b.U2)(`myproblems/${z}/submit_records.json`,te)}function Je(z){return(0,b.U2)("myproblems/record_detail.json",{id:z})}function Ye(z,te){return(0,b.U2)(`myproblems/${z}/result.json`,{mode:te})}function ue(z,te){return(0,b.v_)(`myproblems/${z}/add_notes.json`,te)}function E(z,te){return(0,b.v_)(`myproblems/${z}/restore_initial_code.json`,te)}function a(z){return(0,b.v_)(`myproblems/${z}/sync_code.json`)}function x(z,te){return(0,b.v_)(`myproblems/${z}/update_code.json`,te)}function y(z,te){return(0,b.v_)(`discusses/${z}/plus.json`,te)}},53311:function(Vt,jt,ee){"use strict";var b=ee(59301),de=ee(6848),Be=ee(92832),Ne=ee(8591),_e=ee(2397),ke=ee(59301),le=(qe,Ke,je)=>new Promise((Je,Ye)=>{var ue=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?Je(x.value):Promise.resolve(x.value).then(ue,E);a((je=je.apply(qe,Ke)).next())});const it=({defaultValue:qe,onFinish:Ke})=>{const[je,Je]=(0,b.useState)(!1),[Ye,ue]=(0,b.useState)(qe);return(0,b.useEffect)(()=>{ue(qe)},[qe]),ke.createElement("div",null,je?ke.createElement(Be.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Ye,onChange:E=>{ue(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 Ke(Ye))&&Je(!1)}),onPressEnter:()=>le(void 0,null,function*(){var E;if(((E=Ye==null?void 0:Ye.replaceAll(" ",""))==null?void 0:E.length)<=0){Ne.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ke(Ye))&&Je(!1)})}):ke.createElement("div",{className:_e.Z.title},Ye,ke.createElement(de.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},ke.createElement("i",{className:`${_e.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>Je(!0)}))))};jt.Z=it},52154:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Ke}});var b=ee(43418),de={ul:"ul___TdfYY"},Be=ee(32637),Ne=ee(59301),_e=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,it=(je,Je)=>{var Ye={};for(var ue in je)ke.call(je,ue)&&Je.indexOf(ue)<0&&(Ye[ue]=je[ue]);if(je!=null&&_e)for(var ue of _e(je))Je.indexOf(ue)<0&&le.call(je,ue)&&(Ye[ue]=je[ue]);return Ye},Ke=je=>{var Je=je,{open:Ye,onCancel:ue}=Je,E=it(Je,["open","onCancel"]);return Ne.createElement(b.default,{centered:!0,open:Ye,title:Ne.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:ue,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(Vt,jt,ee){"use strict";ee.d(jt,{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(Vt,jt){"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 _e=Be[Ne];_e!==void 0&&(b[Ne]=_e)})}return b}jt.Z=ee},77578:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return b}});const b=de=>de?typeof de=="function"?de():de:null},13845:function(Vt,jt,ee){"use strict";ee.d(jt,{F:function(){return b},Z:function(){return de}});function b(Be){return Be!=null&&Be===Be.window}function de(Be,Ne){var _e,ke;if(typeof window=="undefined")return 0;const le=Ne?"scrollTop":"scrollLeft";let it=0;return b(Be)?it=Be[Ne?"pageYOffset":"pageXOffset"]:Be instanceof Document?it=Be.documentElement[le]:(Be instanceof HTMLElement||Be)&&(it=Be[le]),Be&&!b(Be)&&typeof it!="number"&&(it=(ke=((_e=Be.ownerDocument)!==null&&_e!==void 0?_e:Be).documentElement)===null||ke===void 0?void 0:ke[le]),it}},56762:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return de}});var b=ee(59301);function de(){const[,Be]=b.useReducer(Ne=>Ne+1,0);return Be}},68031:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Ne}});var b=ee(16089);function de(_e,ke,le,it){const qe=le-ke;return _e/=it/2,_e<1?qe/2*_e*_e*_e+ke:qe/2*((_e-=2)*_e*_e+2)+ke}var Be=ee(13845);function Ne(_e){let ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:le=()=>window,callback:it,duration:qe=450}=ke,Ke=le(),je=(0,Be.Z)(Ke,!0),Je=Date.now(),Ye=()=>{const E=Date.now()-Je,a=de(E>qe?qe:E,je,_e,qe);(0,Be.F)(Ke)?Ke.scrollTo(window.pageXOffset,a):Ke instanceof Document||Ke.constructor.name==="HTMLDocument"?Ke.documentElement.scrollTop=a:Ke.scrollTop=a,E<qe?(0,b.Z)(Ye):typeof it=="function"&&it()};(0,b.Z)(Ye)}},66104:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return ft}});var b=ee(92310),de=ee.n(b),Be=ee(11592),Ne=ee(26112),_e=ee(59301),ke=ee(92343),le=ee(36355),it=ee(84105),qe=ee(91857);const Ke=Le=>{let{children:ot}=Le;const{getPrefixCls:dt}=_e.useContext(le.E_),gt=dt("breadcrumb");return _e.createElement("li",{className:`${gt}-separator`,"aria-hidden":"true"},ot===""?ot:ot||"/")};Ke.__ANT_BREADCRUMB_SEPARATOR=!0;var je=Ke,Je=function(Le,ot){var dt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(dt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,gt=Object.getOwnPropertySymbols(Le);Dt<gt.length;Dt++)ot.indexOf(gt[Dt])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[Dt])&&(dt[gt[Dt]]=Le[gt[Dt]]);return dt};function Ye(Le,ot){if(Le.title===void 0||Le.title===null)return null;const dt=Object.keys(ot).join("|");return typeof Le.title=="object"?Le.title:String(Le.title).replace(new RegExp(`:(${dt})`,"g"),(gt,Dt)=>ot[Dt]||gt)}function ue(Le,ot,dt,gt){if(dt==null)return null;const{className:Dt,onClick:sn}=ot,Ft=Je(ot,["className","onClick"]),on=Object.assign(Object.assign({},(0,Ne.Z)(Ft,{data:!0,aria:!0})),{onClick:sn});return gt!==void 0?_e.createElement("a",Object.assign({},on,{className:de()(`${Le}-link`,Dt),href:gt}),dt):_e.createElement("span",Object.assign({},on,{className:de()(`${Le}-link`,Dt)}),dt)}function E(Le,ot){return(gt,Dt,sn,Ft,on)=>{if(ot)return ot(gt,Dt,sn,Ft);const cn=Ye(gt,Dt);return ue(Le,gt,cn,on)}}var a=function(Le,ot){var dt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(dt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,gt=Object.getOwnPropertySymbols(Le);Dt<gt.length;Dt++)ot.indexOf(gt[Dt])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[Dt])&&(dt[gt[Dt]]=Le[gt[Dt]]);return dt};const x=Le=>{const{prefixCls:ot,separator:dt="/",children:gt,menu:Dt,overlay:sn,dropdownProps:Ft,href:on}=Le,Ve=(at=>{if(Dt||sn){const rn=Object.assign({},Ft);if(Dt){const Kn=Dt||{},{items:Gt}=Kn,wn=a(Kn,["items"]);rn.menu=Object.assign(Object.assign({},wn),{items:Gt==null?void 0:Gt.map((He,ct)=>{var{key:Lt,title:mt,label:Nt,path:st}=He,nt=a(He,["key","title","label","path"]);let De=Nt!=null?Nt:mt;return st&&(De=_e.createElement("a",{href:`${on}${st}`},De)),Object.assign(Object.assign({},nt),{key:Lt!=null?Lt:ct,label:De})})})}else sn&&(rn.overlay=sn);return _e.createElement(qe.Z,Object.assign({placement:"bottom"},rn),_e.createElement("span",{className:`${ot}-overlay-link`},at,_e.createElement(it.Z,null)))}return at})(gt);return Ve!=null?_e.createElement(_e.Fragment,null,_e.createElement("li",null,Ve),dt&&_e.createElement(je,null,dt)):null},y=Le=>{const{prefixCls:ot,children:dt,href:gt}=Le,Dt=a(Le,["prefixCls","children","href"]),{getPrefixCls:sn}=_e.useContext(le.E_),Ft=sn("breadcrumb",ot);return _e.createElement(x,Object.assign({},Dt,{prefixCls:Ft}),ue(Ft,Dt,dt,gt))};y.__ANT_BREADCRUMB_ITEM=!0;var z=y,te=ee(17313),re=ee(83116),se=ee(37613);const ie=Le=>{const{componentCls:ot,iconCls:dt}=Le;return{[ot]:Object.assign(Object.assign({},(0,te.Wf)(Le)),{color:Le.itemColor,fontSize:Le.fontSize,[dt]:{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,te.Qy)(Le)),"li:last-child":{color:Le.lastItemColor},[`${ot}-separator`]:{marginInline:Le.separatorMargin,color:Le.separatorColor},[`${ot}-link`]:{[`
> ${dt} + span,
> ${dt} + a
`]:{marginInlineStart:Le.marginXXS}},[`${ot}-overlay-link`]:{borderRadius:Le.borderRadiusSM,height:Le.lineHeight*Le.fontSize,display:"inline-block",padding:`0 ${Le.paddingXXS}px`,marginInline:-Le.marginXXS,[`> ${dt}`]:{marginInlineStart:Le.marginXXS,fontSize:Le.fontSizeIcon},"&:hover":{color:Le.linkHoverColor,backgroundColor:Le.colorBgTextHover,a:{color:Le.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Le.componentCls}-rtl`]:{direction:"rtl"}})}};var ve=(0,re.Z)("Breadcrumb",Le=>{const ot=(0,se.TS)(Le,{});return[ie(ot)]},Le=>({itemColor:Le.colorTextDescription,lastItemColor:Le.colorText,iconFontSize:Le.fontSize,linkColor:Le.colorTextDescription,linkHoverColor:Le.colorText,separatorColor:Le.colorTextDescription,separatorMargin:Le.marginXS})),ye=function(Le,ot){var dt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(dt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,gt=Object.getOwnPropertySymbols(Le);Dt<gt.length;Dt++)ot.indexOf(gt[Dt])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[Dt])&&(dt[gt[Dt]]=Le[gt[Dt]]);return dt};function Ge(Le){const{breadcrumbName:ot,children:dt}=Le,gt=ye(Le,["breadcrumbName","children"]),Dt=Object.assign({title:ot},gt);return dt&&(Dt.menu={items:dt.map(sn=>{var{breadcrumbName:Ft}=sn,on=ye(sn,["breadcrumbName"]);return Object.assign(Object.assign({},on),{title:Ft})})}),Dt}function Ae(Le,ot){return(0,_e.useMemo)(()=>Le||(ot?ot.map(Ge):null),[Le,ot])}var ze=function(Le,ot){var dt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(dt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,gt=Object.getOwnPropertySymbols(Le);Dt<gt.length;Dt++)ot.indexOf(gt[Dt])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[Dt])&&(dt[gt[Dt]]=Le[gt[Dt]]);return dt};const he=(Le,ot)=>{if(ot===void 0)return ot;let dt=(ot||"").replace(/^\//,"");return Object.keys(Le).forEach(gt=>{dt=dt.replace(`:${gt}`,Le[gt])}),dt},Qe=Le=>{const{prefixCls:ot,separator:dt="/",style:gt,className:Dt,rootClassName:sn,routes:Ft,items:on,children:cn,itemRender:Ve,params:at={}}=Le,rn=ze(Le,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Kn,direction:Gt,breadcrumb:wn}=_e.useContext(le.E_);let He;const ct=Kn("breadcrumb",ot),[Lt,mt]=ve(ct),Nt=Ae(on,Ft),st=E(ct,Ve);if(Nt&&Nt.length>0){const fe=[],Xe=on||Ft;He=Nt.map((Rt,Oe)=>{const{path:Ie,key:vt,type:et,menu:Me,overlay:St,onClick:Bn,className:nn,separator:fn,dropdownProps:ln}=Rt,Cn=he(at,Ie);Cn!==void 0&&fe.push(Cn);const Ze=vt!=null?vt:Oe;if(et==="separator")return _e.createElement(je,{key:Ze},fn);const yt={},Zt=Oe===Nt.length-1;Me?yt.menu=Me:St&&(yt.overlay=St);let{href:Bt}=Rt;return fe.length&&Cn!==void 0&&(Bt=`#/${fe.join("/")}`),_e.createElement(x,Object.assign({key:Ze},yt,(0,Ne.Z)(Rt,{data:!0,aria:!0}),{className:nn,dropdownProps:ln,href:Bt,separator:Zt?"":dt,onClick:Bn,prefixCls:ct}),st(Rt,at,Xe,fe,Bt))})}else if(cn){const fe=(0,Be.Z)(cn).length;He=(0,Be.Z)(cn).map((Xe,Rt)=>{if(!Xe)return Xe;const Oe=Rt===fe-1;return(0,ke.Tm)(Xe,{separator:Oe?"":dt,key:Rt})})}const nt=de()(ct,wn==null?void 0:wn.className,{[`${ct}-rtl`]:Gt==="rtl"},Dt,sn,mt),De=Object.assign(Object.assign({},wn==null?void 0:wn.style),gt);return Lt(_e.createElement("nav",Object.assign({className:nt,style:De},rn),_e.createElement("ol",null,He)))};Qe.Item=z,Qe.Separator=je;var We=Qe,ft=We},19842:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Da}});var b=ee(62730),de=ee(59301),Be=ee(33853),Ne=ee(58617),_e=ee(38819),ke=ee(92310),le=ee.n(ke),it=ee(71409),qe=ee(11036),Ke=ee(39224),je=ee(77861),Je=ee(17115),Ye=ee(90782),ue=ee(6089),E=ee(18929),a=de.createContext(null),x=a,y=ee(28788),z=ee(87075),te=ee(89490),re="__rc_cascader_search_mark__",se=function(bn,Ln,zn){var pn=zn.label;return Ln.some(function(ia){return String(ia[pn]).toLowerCase().includes(bn.toLowerCase())})},ie=function(bn,Ln,zn,pn){return Ln.map(function(ia){return ia[pn.label]}).join(" / ")},ve=function(ut,bn,Ln,zn,pn,ia){var Sa=pn.filter,It=Sa===void 0?se:Sa,kt=pn.render,bt=kt===void 0?ie:kt,Qn=pn.limit,Yn=Qn===void 0?50:Qn,Gn=pn.sort;return de.useMemo(function(){var ir=[];if(!ut)return[];function Ba(Xn,Ua){var wa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Xn.forEach(function(Nn){if(!(!Gn&&Yn!==!1&&Yn>0&&ir.length>=Yn)){var mr=[].concat((0,b.Z)(Ua),[Nn]),Nr=Nn[Ln.children],Vr=wa||Nn.disabled;if((!Nr||Nr.length===0||ia)&&It(ut,mr,{label:Ln.label})){var xr;ir.push((0,te.Z)((0,te.Z)({},Nn),{},(xr={disabled:Vr},(0,z.Z)(xr,Ln.label,bt(ut,mr,zn,Ln)),(0,z.Z)(xr,re,mr),(0,z.Z)(xr,Ln.children,void 0),xr)))}Nr&&Ba(Nn[Ln.children],mr,Vr)}})}return Ba(bn,[]),Gn&&ir.sort(function(Xn,Ua){return Gn(Xn[re],Ua[re],ut,Ln)}),Yn!==!1&&Yn>0?ir.slice(0,Yn):ir},[ut,bn,Ln,zn,bt,ia,It,Gn,Yn])},ye="__RC_CASCADER_SPLIT__",Ge="SHOW_PARENT",Ae="SHOW_CHILD";function ze(ut){return ut.join(ye)}function he(ut){return ut.map(ze)}function Qe(ut){return ut.split(ye)}function We(ut){var bn=ut||{},Ln=bn.label,zn=bn.value,pn=bn.children,ia=zn||"value";return{label:Ln||"label",value:ia,key:ia,children:pn||"children"}}function ft(ut,bn){var Ln,zn;return(Ln=ut.isLeaf)!==null&&Ln!==void 0?Ln:!((zn=ut[bn.children])!==null&&zn!==void 0&&zn.length)}function Le(ut){var bn=ut.parentElement;if(bn){var Ln=ut.offsetTop-bn.offsetTop;Ln-bn.scrollTop<0?bn.scrollTo({top:Ln}):Ln+ut.offsetHeight-bn.scrollTop>bn.offsetHeight&&bn.scrollTo({top:Ln+ut.offsetHeight-bn.offsetHeight})}}function ot(ut,bn){return ut.map(function(Ln){var zn;return(zn=Ln[re])===null||zn===void 0?void 0:zn.map(function(pn){return pn[bn.value]})})}function dt(ut,bn,Ln){var zn=new Set(ut),pn=bn();return ut.filter(function(ia){var Sa=pn[ia],It=Sa?Sa.parent:null,kt=Sa?Sa.children:null;return Sa&&Sa.node.disabled?!0:Ln===Ae?!(kt&&kt.some(function(bt){return bt.key&&zn.has(bt.key)})):!(It&&!It.node.disabled&&zn.has(It.key))})}function gt(ut,bn,Ln){for(var zn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,pn=bn,ia=[],Sa=function(){var bt,Qn,Yn,Gn=ut[It],ir=(bt=pn)===null||bt===void 0?void 0:bt.findIndex(function(Xn){var Ua=Xn[Ln.value];return zn?String(Ua)===String(Gn):Ua===Gn}),Ba=ir!==-1?(Qn=pn)===null||Qn===void 0?void 0:Qn[ir]:null;ia.push({value:(Yn=Ba==null?void 0:Ba[Ln.value])!==null&&Yn!==void 0?Yn:Gn,index:ir,option:Ba}),pn=Ba==null?void 0:Ba[Ln.children]},It=0;It<ut.length;It+=1)Sa();return ia}var Dt=function(ut,bn,Ln,zn,pn){return de.useMemo(function(){var ia=pn||function(Sa){var It=zn?Sa.slice(-1):Sa,kt=" / ";return It.every(function(bt){return["string","number"].includes((0,y.Z)(bt))})?It.join(kt):It.reduce(function(bt,Qn,Yn){var Gn=de.isValidElement(Qn)?de.cloneElement(Qn,{key:Yn}):Qn;return Yn===0?[Gn]:[].concat((0,b.Z)(bt),[kt,Gn])},[])};return ut.map(function(Sa){var It,kt,bt=gt(Sa,bn,Ln),Qn=ia(bt.map(function(Gn){var ir,Ba=Gn.option,Xn=Gn.value;return(ir=Ba==null?void 0:Ba[Ln.label])!==null&&ir!==void 0?ir:Xn}),bt.map(function(Gn){var ir=Gn.option;return ir})),Yn=ze(Sa);return{label:Qn,value:Yn,key:Yn,valueCells:Sa,disabled:(It=bt[bt.length-1])===null||It===void 0||(kt=It.option)===null||kt===void 0?void 0:kt.disabled}})},[ut,bn,Ln,pn,zn])},sn=ee(71430),Ft=function(ut,bn){var Ln=de.useRef({options:null,info:null}),zn=de.useCallback(function(){return Ln.current.options!==ut&&(Ln.current.options=ut,Ln.current.info=(0,sn.I8)(ut,{fieldNames:bn,initWrapper:function(ia){return(0,te.Z)((0,te.Z)({},ia),{},{pathKeyEntities:{}})},processEntity:function(ia,Sa){var It=ia.nodes.map(function(kt){return kt[bn.value]}).join(ye);Sa.pathKeyEntities[It]=ia,ia.key=It}})),Ln.current.info.pathKeyEntities},[bn,ut]);return zn},on=function(ut,bn){return de.useCallback(function(Ln){var zn=[],pn=[];return Ln.forEach(function(ia){var Sa=gt(ia,ut,bn);Sa.every(function(It){return It.option})?pn.push(ia):zn.push(ia)}),[pn,zn]},[ut,bn])},cn=ee(48736);function Ve(ut){return de.useMemo(function(){if(!ut)return[!1,{}];var bn={matchInputWidth:!0,limit:50};return ut&&(0,y.Z)(ut)==="object"&&(bn=(0,te.Z)((0,te.Z)({},bn),ut)),bn.limit<=0&&delete bn.limit,[!0,bn]},[ut])}var at=de.memo(function(ut){var bn=ut.children;return bn},function(ut,bn){return!bn.open}),rn=at;function Kn(ut){var bn,Ln=ut.prefixCls,zn=ut.checked,pn=ut.halfChecked,ia=ut.disabled,Sa=ut.onClick,It=ut.disableCheckbox,kt=de.useContext(x),bt=kt.checkable,Qn=typeof bt!="boolean"?bt:null;return de.createElement("span",{className:le()("".concat(Ln),(bn={},(0,z.Z)(bn,"".concat(Ln,"-checked"),zn),(0,z.Z)(bn,"".concat(Ln,"-indeterminate"),!zn&&pn),(0,z.Z)(bn,"".concat(Ln,"-disabled"),ia||It),bn)),onClick:Sa},Qn)}var Gt="__cascader_fix_label__";function wn(ut){var bn=ut.prefixCls,Ln=ut.multiple,zn=ut.options,pn=ut.activeValue,ia=ut.prevValuePath,Sa=ut.onToggleOpen,It=ut.onSelect,kt=ut.onActive,bt=ut.checkedSet,Qn=ut.halfCheckedSet,Yn=ut.loadingKeys,Gn=ut.isSelectable,ir=ut.searchValue,Ba="".concat(bn,"-menu"),Xn="".concat(bn,"-menu-item"),Ua=de.useContext(x),wa=Ua.fieldNames,Nn=Ua.changeOnSelect,mr=Ua.expandTrigger,Nr=Ua.expandIcon,Vr=Ua.loadingIcon,xr=Ua.dropdownMenuColumnStyle,$e=mr==="hover",Pn=de.useMemo(function(){return zn.map(function(Jt){var In,Wn=Jt.disabled,la=Jt.disableCheckbox,Ct=Jt[re],xt=(In=Jt[Gt])!==null&&In!==void 0?In:Jt[wa.label],an=Jt[wa.value],tn=ft(Jt,wa),Kt=Ct?Ct.map(function($n){return $n[wa.value]}):[].concat((0,b.Z)(ia),[an]),xa=ze(Kt),Ea=Yn.includes(xa),Qa=bt.has(xa),za=Qn.has(xa);return{disabled:Wn,label:xt,value:an,isLeaf:tn,isLoading:Ea,checked:Qa,halfChecked:za,option:Jt,disableCheckbox:la,fullPath:Kt,fullPathKey:xa}})},[zn,bt,wa,Qn,Yn,ia]);return de.createElement("ul",{className:Ba,role:"menu"},Pn.map(function(Jt){var In,Wn=Jt.disabled,la=Jt.label,Ct=Jt.value,xt=Jt.isLeaf,an=Jt.isLoading,tn=Jt.checked,Kt=Jt.halfChecked,xa=Jt.option,Ea=Jt.fullPath,Qa=Jt.fullPathKey,za=Jt.disableCheckbox,$n=function(){if(!(Wn||ir)){var vr=(0,b.Z)(Ea);$e&&xt&&vr.pop(),kt(vr)}},na=function(){Gn(xa)&&It(Ea,xt)},ba;return typeof xa.title=="string"?ba=xa.title:typeof la=="string"&&(ba=la),de.createElement("li",{key:Qa,className:le()(Xn,(In={},(0,z.Z)(In,"".concat(Xn,"-expand"),!xt),(0,z.Z)(In,"".concat(Xn,"-active"),pn===Ct||pn===Qa),(0,z.Z)(In,"".concat(Xn,"-disabled"),Wn),(0,z.Z)(In,"".concat(Xn,"-loading"),an),In)),style:xr,role:"menuitemcheckbox",title:ba,"aria-checked":tn,"data-path-key":Qa,onClick:function(){$n(),!za&&(!Ln||xt)&&na()},onDoubleClick:function(){Nn&&Sa(!1)},onMouseEnter:function(){$e&&$n()},onMouseDown:function(vr){vr.preventDefault()}},Ln&&de.createElement(Kn,{prefixCls:"".concat(bn,"-checkbox"),checked:tn,halfChecked:Kt,disabled:Wn||za,disableCheckbox:za,onClick:function(vr){za||(vr.stopPropagation(),na())}}),de.createElement("div",{className:"".concat(Xn,"-content")},la),!an&&Nr&&!xt&&de.createElement("div",{className:"".concat(Xn,"-expand-icon")},Nr),an&&Vr&&de.createElement("div",{className:"".concat(Xn,"-loading-icon")},Vr))}))}var He=function(){var ut=(0,je.lk)(),bn=ut.multiple,Ln=ut.open,zn=de.useContext(x),pn=zn.values,ia=de.useState([]),Sa=(0,qe.Z)(ia,2),It=Sa[0],kt=Sa[1];return de.useEffect(function(){if(Ln&&!bn){var bt=pn[0];kt(bt||[])}},[Ln]),[It,kt]},ct=ee(10228),Lt=function(ut,bn,Ln,zn,pn,ia){var Sa=(0,je.lk)(),It=Sa.direction,kt=Sa.searchValue,bt=Sa.toggleOpen,Qn=Sa.open,Yn=It==="rtl",Gn=de.useMemo(function(){for(var xr=-1,$e=bn,Pn=[],Jt=[],In=zn.length,Wn=ot(bn,Ln),la=function(xa){var Ea=$e.findIndex(function(Qa,za){return(Wn[za]?ze(Wn[za]):Qa[Ln.value])===zn[xa]});if(Ea===-1)return"break";xr=Ea,Pn.push(xr),Jt.push(zn[xa]),$e=$e[xr][Ln.children]},Ct=0;Ct<In&&$e;Ct+=1){var xt=la(Ct);if(xt==="break")break}for(var an=bn,tn=0;tn<Pn.length-1;tn+=1)an=an[Pn[tn]][Ln.children];return[Jt,xr,an,Wn]},[zn,Ln,bn]),ir=(0,qe.Z)(Gn,4),Ba=ir[0],Xn=ir[1],Ua=ir[2],wa=ir[3],Nn=function($e){pn($e)},mr=function($e){var Pn=Ua.length,Jt=Xn;Jt===-1&&$e<0&&(Jt=Pn);for(var In=0;In<Pn;In+=1){Jt=(Jt+$e+Pn)%Pn;var Wn=Ua[Jt];if(Wn&&!Wn.disabled){var la=Ba.slice(0,-1).concat(wa[Jt]?ze(wa[Jt]):Wn[Ln.value]);Nn(la);return}}},Nr=function(){if(Ba.length>1){var $e=Ba.slice(0,-1);Nn($e)}else bt(!1)},Vr=function(){var $e,Pn=(($e=Ua[Xn])===null||$e===void 0?void 0:$e[Ln.children])||[],Jt=Pn.find(function(Wn){return!Wn.disabled});if(Jt){var In=[].concat((0,b.Z)(Ba),[Jt[Ln.value]]);Nn(In)}};de.useImperativeHandle(ut,function(){return{onKeyDown:function($e){var Pn=$e.which;switch(Pn){case ct.Z.UP:case ct.Z.DOWN:{var Jt=0;Pn===ct.Z.UP?Jt=-1:Pn===ct.Z.DOWN&&(Jt=1),Jt!==0&&mr(Jt);break}case ct.Z.LEFT:{if(kt)break;Yn?Vr():Nr();break}case ct.Z.RIGHT:{if(kt)break;Yn?Nr():Vr();break}case ct.Z.BACKSPACE:{kt||Nr();break}case ct.Z.ENTER:{if(Ba.length){var In=Ua[Xn],Wn=(In==null?void 0:In[re])||[];Wn.length?ia(Wn.map(function(la){return la[Ln.value]}),Wn[Wn.length-1]):ia(Ba,Ua[Xn])}break}case ct.Z.ESC:bt(!1),Qn&&$e.stopPropagation()}},onKeyUp:function(){}}})},mt=de.forwardRef(function(ut,bn){var Ln,zn,pn,ia,Sa=(0,je.lk)(),It=Sa.prefixCls,kt=Sa.multiple,bt=Sa.searchValue,Qn=Sa.toggleOpen,Yn=Sa.notFoundContent,Gn=Sa.direction,ir=Sa.open,Ba=de.useRef(),Xn=Gn==="rtl",Ua=de.useContext(x),wa=Ua.options,Nn=Ua.values,mr=Ua.halfValues,Nr=Ua.fieldNames,Vr=Ua.changeOnSelect,xr=Ua.onSelect,$e=Ua.searchOptions,Pn=Ua.dropdownPrefixCls,Jt=Ua.loadData,In=Ua.expandTrigger,Wn=Pn||It,la=de.useState([]),Ct=(0,qe.Z)(la,2),xt=Ct[0],an=Ct[1],tn=function(bo){if(!(!Jt||bt)){var Wo=gt(bo,wa,Nr),ko=Wo.map(function(to){var Yo=to.option;return Yo}),No=ko[ko.length-1];if(No&&!ft(No,Nr)){var Er=ze(bo);an(function(to){return[].concat((0,b.Z)(to),[Er])}),Jt(ko)}}};de.useEffect(function(){xt.length&&xt.forEach(function(ho){var bo=Qe(ho),Wo=gt(bo,wa,Nr,!0).map(function(No){var Er=No.option;return Er}),ko=Wo[Wo.length-1];(!ko||ko[Nr.children]||ft(ko,Nr))&&an(function(No){return No.filter(function(Er){return Er!==ho})})})},[wa,xt,Nr]);var Kt=de.useMemo(function(){return new Set(he(Nn))},[Nn]),xa=de.useMemo(function(){return new Set(he(mr))},[mr]),Ea=He(),Qa=(0,qe.Z)(Ea,2),za=Qa[0],$n=Qa[1],na=function(bo){$n(bo),tn(bo)},ba=function(bo){var Wo=bo.disabled,ko=ft(bo,Nr);return!Wo&&(ko||Vr||kt)},Pa=function(bo,Wo){var ko=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;xr(bo),!kt&&(Wo||Vr&&(In==="hover"||ko))&&Qn(!1)},vr=de.useMemo(function(){return bt?$e:wa},[bt,$e,wa]),Tr=de.useMemo(function(){for(var ho=[{options:vr}],bo=vr,Wo=ot(bo,Nr),ko=function(){var Yo=za[No],Jo=bo.find(function(wr,oi){return(Wo[oi]?ze(Wo[oi]):wr[Nr.value])===Yo}),Lo=Jo==null?void 0:Jo[Nr.children];if(!(Lo!=null&&Lo.length))return"break";bo=Lo,ho.push({options:Lo})},No=0;No<za.length;No+=1){var Er=ko();if(Er==="break")break}return ho},[vr,za,Nr]),Ya=function(bo,Wo){ba(Wo)&&Pa(bo,ft(Wo,Nr),!0)};Lt(bn,vr,Nr,za,na,Ya),de.useEffect(function(){for(var ho=0;ho<za.length;ho+=1){var bo,Wo=za.slice(0,ho+1),ko=ze(Wo),No=(bo=Ba.current)===null||bo===void 0?void 0:bo.querySelector('li[data-path-key="'.concat(ko.replace(/\\{0,2}"/g,'\\"'),'"]'));No&&Le(No)}},[za]);var lr=!((Ln=Tr[0])!==null&&Ln!==void 0&&(zn=Ln.options)!==null&&zn!==void 0&&zn.length),hr=[(pn={},(0,z.Z)(pn,Nr.value,"__EMPTY__"),(0,z.Z)(pn,Gt,Yn),(0,z.Z)(pn,"disabled",!0),pn)],Po=(0,te.Z)((0,te.Z)({},ut),{},{multiple:!lr&&kt,onSelect:Pa,onActive:na,onToggleOpen:Qn,checkedSet:Kt,halfCheckedSet:xa,loadingKeys:xt,isSelectable:ba}),ri=lr?[{options:hr}]:Tr,xi=ri.map(function(ho,bo){var Wo=za.slice(0,bo),ko=za[bo];return de.createElement(wn,(0,it.Z)({key:bo},Po,{searchValue:bt,prefixCls:Wn,options:ho.options,prevValuePath:Wo,activeValue:ko}))});return de.createElement(rn,{open:ir},de.createElement("div",{className:le()("".concat(Wn,"-menus"),(ia={},(0,z.Z)(ia,"".concat(Wn,"-menu-empty"),lr),(0,z.Z)(ia,"".concat(Wn,"-rtl"),Xn),ia)),ref:Ba},xi))}),Nt=mt;function st(ut){var bn=ut.onPopupVisibleChange,Ln=ut.popupVisible,zn=ut.popupClassName,pn=ut.popupPlacement;warning(!bn,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(Ln===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(zn===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(pn===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function nt(ut,bn){if(ut){var Ln=function zn(pn){for(var ia=0;ia<pn.length;ia++){var Sa=pn[ia];if(Sa[bn==null?void 0:bn.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(Sa[bn==null?void 0:bn.children])&&zn(Sa[bn==null?void 0:bn.children]))return!0}};Ln(ut)}}var De=null,fe=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function Xe(ut){return Array.isArray(ut)&&Array.isArray(ut[0])}function Rt(ut){return ut?Xe(ut)?ut:(ut.length===0?[]:[ut]).map(function(bn){return Array.isArray(bn)?bn:[bn]}):[]}var Oe=de.forwardRef(function(ut,bn){var Ln=ut.id,zn=ut.prefixCls,pn=zn===void 0?"rc-cascader":zn,ia=ut.fieldNames,Sa=ut.defaultValue,It=ut.value,kt=ut.changeOnSelect,bt=ut.onChange,Qn=ut.displayRender,Yn=ut.checkable,Gn=ut.autoClearSearchValue,ir=Gn===void 0?!0:Gn,Ba=ut.searchValue,Xn=ut.onSearch,Ua=ut.showSearch,wa=ut.expandTrigger,Nn=ut.options,mr=ut.dropdownPrefixCls,Nr=ut.loadData,Vr=ut.popupVisible,xr=ut.open,$e=ut.popupClassName,Pn=ut.dropdownClassName,Jt=ut.dropdownMenuColumnStyle,In=ut.popupPlacement,Wn=ut.placement,la=ut.onDropdownVisibleChange,Ct=ut.onPopupVisibleChange,xt=ut.expandIcon,an=xt===void 0?">":xt,tn=ut.loadingIcon,Kt=ut.children,xa=ut.dropdownMatchSelectWidth,Ea=xa===void 0?!1:xa,Qa=ut.showCheckedStrategy,za=Qa===void 0?Ge:Qa,$n=(0,Ke.Z)(ut,fe),na=(0,Je.ZP)(Ln),ba=!!Yn,Pa=(0,E.Z)(Sa,{value:It,postState:Rt}),vr=(0,qe.Z)(Pa,2),Tr=vr[0],Ya=vr[1],lr=de.useMemo(function(){return We(ia)},[JSON.stringify(ia)]),hr=de.useMemo(function(){return Nn||[]},[Nn]),Po=Ft(hr,lr),ri=de.useCallback(function(qa){var Va=Po();return qa.map(function(er){var so=Va[er].nodes;return so.map(function(we){return we[lr.value]})})},[Po,lr]),xi=(0,E.Z)("",{value:Ba,postState:function(Va){return Va||""}}),ho=(0,qe.Z)(xi,2),bo=ho[0],Wo=ho[1],ko=function(Va,er){Wo(Va),er.source!=="blur"&&Xn&&Xn(Va)},No=Ve(Ua),Er=(0,qe.Z)(No,2),to=Er[0],Yo=Er[1],Jo=ve(bo,hr,lr,mr||pn,Yo,kt),Lo=on(hr,lr),wr=de.useMemo(function(){var qa=Lo(Tr),Va=(0,qe.Z)(qa,2),er=Va[0],so=Va[1];if(!ba||!Tr.length)return[er,[],so];var we=he(er),hn=Po(),Rn=(0,Ye.S)(we,!0,hn),ya=Rn.checkedKeys,un=Rn.halfCheckedKeys;return[ri(ya),ri(un),so]},[ba,Tr,Po,ri,Lo]),oi=(0,qe.Z)(wr,3),Gr=oi[0],To=oi[1],mo=oi[2],di=de.useMemo(function(){var qa=he(Gr),Va=dt(qa,Po,za);return[].concat((0,b.Z)(mo),(0,b.Z)(ri(Va)))},[Gr,Po,ri,mo,za]),vi=Dt(di,hr,lr,ba,Qn),Ui=(0,ue.Z)(function(qa){if(Ya(qa),bt){var Va=Rt(qa),er=Va.map(function(hn){return gt(hn,hr,lr).map(function(Rn){return Rn.option})}),so=ba?Va:Va[0],we=ba?er:er[0];bt(so,we)}}),tl=(0,ue.Z)(function(qa){if((!ba||ir)&&Wo(""),!ba)Ui(qa);else{var Va=ze(qa),er=he(Gr),so=he(To),we=er.includes(Va),hn=mo.some(function(Wa){return ze(Wa)===Va}),Rn=Gr,ya=mo;if(hn&&!we)ya=mo.filter(function(Wa){return ze(Wa)!==Va});else{var un=we?er.filter(function(Wa){return Wa!==Va}):[].concat((0,b.Z)(er),[Va]),Za=Po(),Na;if(we){var Hn=(0,Ye.S)(un,{checked:!1,halfCheckedKeys:so},Za);Na=Hn.checkedKeys}else{var qn=(0,Ye.S)(un,!0,Za);Na=qn.checkedKeys}var pr=dt(Na,Po,za);Rn=ri(pr)}Ui([].concat((0,b.Z)(ya),(0,b.Z)(Rn)))}}),nl=function(Va,er){if(er.type==="clear"){Ui([]);return}var so=er.values[0],we=so.valueCells;tl(we)},$o=xr!==void 0?xr:Vr,Fi=Pn||$e,Wi=Wn||In,dl=function(Va){la==null||la(Va),Ct==null||Ct(Va)},gl=de.useMemo(function(){return{options:hr,fieldNames:lr,values:Gr,halfValues:To,changeOnSelect:kt,onSelect:tl,checkable:Yn,searchOptions:Jo,dropdownPrefixCls:mr,loadData:Nr,expandTrigger:wa,expandIcon:an,loadingIcon:tn,dropdownMenuColumnStyle:Jt}},[hr,lr,Gr,To,kt,tl,Yn,Jo,mr,Nr,wa,an,tn,Jt]),Pl=!(bo?Jo:hr).length,_r=bo&&Yo.matchInputWidth||Pl?{}:{minWidth:"auto"};return de.createElement(x.Provider,{value:gl},de.createElement(je.Ac,(0,it.Z)({},$n,{ref:bn,id:na,prefixCls:pn,autoClearSearchValue:ir,dropdownMatchSelectWidth:Ea,dropdownStyle:_r,displayValues:vi,onDisplayValuesChange:nl,mode:ba?"multiple":void 0,searchValue:bo,onSearch:ko,showSearch:to,OptionList:Nt,emptyOptions:Pl,open:$o,dropdownClassName:Fi,placement:Wi,onDropdownVisibleChange:dl,getRawInputElement:function(){return Kt}})))});Oe.SHOW_PARENT=Ge,Oe.SHOW_CHILD=Ae;var Ie=Oe,vt=Ie,et=ee(2738),Me=ee(62892),St=ee(53487),Bn=ee(19080),nn=ee(36355),fn=ee(93891),ln=ee(1684),Cn=ee(19716),Ze=ee(32441),yt=ee(14154),Zt=ee(58582),Bt=ee(84443),Mt=ee(66339),dn=ee(33234),gn=ee(98447),Dn=ee(17313),Jn=ee(74207),ha=ee(83116);const Ra=ut=>{const{prefixCls:bn,componentCls:Ln,antCls:zn}=ut,pn=`${Ln}-menu-item`,ia=`
&${pn}-expand ${pn}-expand-icon,
${pn}-loading-icon
`;return[{[Ln]:{width:ut.controlWidth}},{[`${Ln}-dropdown`]:[(0,gn.C2)(`${bn}-checkbox`,ut),{[`&${zn}-select-dropdown`]:{padding:0}},{[Ln]:{"&-checkbox":{top:0,marginInlineEnd:ut.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Ln}-menu-empty`]:{[`${Ln}-menu`]:{width:"100%",height:"auto",[pn]:{color:ut.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:ut.controlItemWidth,height:ut.dropdownHeight,margin:0,padding:ut.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${ut.lineWidth}px ${ut.lineType} ${ut.colorSplit}`},"&-item":Object.assign(Object.assign({},Dn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:ut.optionPadding,lineHeight:ut.lineHeight,cursor:"pointer",transition:`all ${ut.motionDurationMid}`,borderRadius:ut.borderRadiusSM,"&:hover":{background:ut.controlItemBgHover},"&-disabled":{color:ut.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[ia]:{color:ut.colorTextDisabled}},[`&-active:not(${pn}-disabled)`]:{"&, &:hover":{fontWeight:ut.optionSelectedFontWeight,backgroundColor:ut.optionSelectedBg}},"&-content":{flex:"auto"},[ia]:{marginInlineStart:ut.paddingXXS,color:ut.colorTextDescription,fontSize:ut.fontSizeIcon},"&-keyword":{color:ut.colorHighlight}})}}}]},{[`${Ln}-dropdown-rtl`]:{direction:"rtl"}},(0,Jn.c)(ut)]};var _a=(0,ha.Z)("Cascader",ut=>[Ra(ut)],ut=>{const bn=Math.round((ut.controlHeight-ut.fontSize*ut.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:ut.controlItemBgActive,optionSelectedFontWeight:ut.fontWeightStrong,optionPadding:`${bn}px ${ut.paddingSM}px`,menuPadding:ut.paddingXXS}}),gr=function(ut,bn){var Ln={};for(var zn in ut)Object.prototype.hasOwnProperty.call(ut,zn)&&bn.indexOf(zn)<0&&(Ln[zn]=ut[zn]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pn=0,zn=Object.getOwnPropertySymbols(ut);pn<zn.length;pn++)bn.indexOf(zn[pn])<0&&Object.prototype.propertyIsEnumerable.call(ut,zn[pn])&&(Ln[zn[pn]]=ut[zn[pn]]);return Ln};const{SHOW_CHILD:ar,SHOW_PARENT:pa}=vt;function Br(ut,bn,Ln){const zn=ut.toLowerCase().split(bn).reduce((Sa,It,kt)=>kt===0?[It]:[].concat((0,b.Z)(Sa),[bn,It]),[]),pn=[];let ia=0;return zn.forEach((Sa,It)=>{const kt=ia+Sa.length;let bt=ut.slice(ia,kt);ia=kt,It%2===1&&(bt=de.createElement("span",{className:`${Ln}-menu-item-keyword`,key:`separator-${It}`},bt)),pn.push(bt)}),pn}const qt=(ut,bn,Ln,zn)=>{const pn=[],ia=ut.toLowerCase();return bn.forEach((Sa,It)=>{It!==0&&pn.push(" / ");let kt=Sa[zn.label];const bt=typeof kt;(bt==="string"||bt==="number")&&(kt=Br(String(kt),ia,Ln)),pn.push(kt)}),pn},An=de.forwardRef((ut,bn)=>{const{prefixCls:Ln,size:zn,disabled:pn,className:ia,rootClassName:Sa,multiple:It,bordered:kt=!0,transitionName:bt,choiceTransitionName:Qn="",popupClassName:Yn,dropdownClassName:Gn,expandIcon:ir,placement:Ba,showSearch:Xn,allowClear:Ua=!0,notFoundContent:wa,direction:Nn,getPopupContainer:mr,status:Nr,showArrow:Vr,builtinPlacements:xr,style:$e}=ut,Pn=gr(ut,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Jt=(0,et.Z)(Pn,["suffixIcon"]),{getPopupContainer:In,getPrefixCls:Wn,renderEmpty:la,direction:Ct,popupOverflow:xt,cascader:an}=de.useContext(nn.E_),tn=Nn||Ct,Kt=tn==="rtl",{status:xa,hasFeedback:Ea,isFormItemInput:Qa,feedbackIcon:za}=de.useContext(Ze.aM),$n=(0,Bn.F)(xa,Nr),na=wa||(la==null?void 0:la("Cascader"))||de.createElement(fn.Z,{componentName:"Cascader"}),ba=Wn(),Pa=Wn("select",Ln),vr=Wn("cascader",Ln),[Tr,Ya]=(0,yt.Z)(Pa),[lr]=_a(vr),{compactSize:hr,compactItemClassnames:Po}=(0,dn.ri)(Pa,Nn),ri=le()(Yn||Gn,`${vr}-dropdown`,{[`${vr}-dropdown-rtl`]:tn==="rtl"},Sa,Ya),xi=de.useMemo(()=>{if(!Xn)return Xn;let mo={render:qt};return typeof Xn=="object"&&(mo=Object.assign(Object.assign({},mo),Xn)),mo},[Xn]),ho=(0,Cn.Z)(mo=>{var di;return(di=zn!=null?zn:hr)!==null&&di!==void 0?di:mo}),bo=de.useContext(ln.Z),Wo=pn!=null?pn:bo;let ko=ir;ir||(ko=Kt?de.createElement(Be.Z,null):de.createElement(_e.Z,null));const No=de.createElement("span",{className:`${Pa}-menu-item-loading-icon`},de.createElement(Ne.Z,{spin:!0})),Er=de.useMemo(()=>It?de.createElement("span",{className:`${vr}-checkbox-inner`}):!1,[It]),to=(0,Bt.Z)(ut.suffixIcon,Vr),{suffixIcon:Yo,removeIcon:Jo,clearIcon:Lo}=(0,Mt.Z)(Object.assign(Object.assign({},ut),{hasFeedback:Ea,feedbackIcon:za,showSuffixIcon:to,multiple:It,prefixCls:Pa,componentName:"Cascader"})),wr=de.useMemo(()=>Ba!==void 0?Ba:Kt?"bottomRight":"bottomLeft",[Ba,Kt]),oi=(0,Zt.Z)(xr,xt),Gr=Ua===!0?{clearIcon:Lo}:Ua,To=de.createElement(vt,Object.assign({prefixCls:Pa,className:le()(!Ln&&vr,{[`${Pa}-lg`]:ho==="large",[`${Pa}-sm`]:ho==="small",[`${Pa}-rtl`]:Kt,[`${Pa}-borderless`]:!kt,[`${Pa}-in-form-item`]:Qa},(0,Bn.Z)(Pa,$n,Ea),Po,an==null?void 0:an.className,ia,Sa,Ya),disabled:Wo,style:Object.assign(Object.assign({},an==null?void 0:an.style),$e)},Jt,{builtinPlacements:oi,direction:tn,placement:wr,notFoundContent:na,allowClear:Gr,showSearch:xi,expandIcon:ko,suffixIcon:Yo,removeIcon:Jo,loadingIcon:No,checkable:Er,dropdownClassName:ri,dropdownPrefixCls:Ln||vr,choiceTransitionName:(0,Me.m)(ba,"",Qn),transitionName:(0,Me.m)(ba,"slide-up",bt),getPopupContainer:mr||In,ref:bn}));return lr(Tr(To))}),oa=(0,St.Z)(An);An.SHOW_PARENT=pa,An.SHOW_CHILD=ar,An._InternalPanelDoNotUseOrYouWillBeFired=oa;var Da=An},24905:function(Vt,jt,ee){"use strict";ee.d(jt,{default:function(){return ve}});var b=ee(92310),de=ee.n(b),Be=ee(5630),Ne=ee(59301),_e=ee(36355),ke=ee(1684),le=ee(32441),qe=Ne.createContext(null),Ke=ee(98447),je=ee(14088),Je=ee(4572),Ye=function(ye,Ge){var Ae={};for(var ze in ye)Object.prototype.hasOwnProperty.call(ye,ze)&&Ge.indexOf(ze)<0&&(Ae[ze]=ye[ze]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ze=Object.getOwnPropertySymbols(ye);he<ze.length;he++)Ge.indexOf(ze[he])<0&&Object.prototype.propertyIsEnumerable.call(ye,ze[he])&&(Ae[ze[he]]=ye[ze[he]]);return Ae};const ue=(ye,Ge)=>{var Ae;const{prefixCls:ze,className:he,rootClassName:Qe,children:We,indeterminate:ft=!1,style:Le,onMouseEnter:ot,onMouseLeave:dt,skipGroup:gt=!1,disabled:Dt}=ye,sn=Ye(ye,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ft,direction:on,checkbox:cn}=Ne.useContext(_e.E_),Ve=Ne.useContext(qe),{isFormItemInput:at}=Ne.useContext(le.aM),rn=Ne.useContext(ke.Z),Kn=(Ae=(Ve==null?void 0:Ve.disabled)||Dt)!==null&&Ae!==void 0?Ae:rn,Gt=Ne.useRef(sn.value);Ne.useEffect(()=>{Ve==null||Ve.registerValue(sn.value)},[]),Ne.useEffect(()=>{if(!gt)return sn.value!==Gt.current&&(Ve==null||Ve.cancelValue(Gt.current),Ve==null||Ve.registerValue(sn.value),Gt.current=sn.value),()=>Ve==null?void 0:Ve.cancelValue(sn.value)},[sn.value]);const wn=Ft("checkbox",ze),[He,ct]=(0,Ke.ZP)(wn),Lt=Object.assign({},sn);Ve&&!gt&&(Lt.onChange=function(){sn.onChange&&sn.onChange.apply(sn,arguments),Ve.toggleOption&&Ve.toggleOption({label:We,value:sn.value})},Lt.name=Ve.name,Lt.checked=Ve.value.includes(sn.value));const mt=de()(`${wn}-wrapper`,{[`${wn}-rtl`]:on==="rtl",[`${wn}-wrapper-checked`]:Lt.checked,[`${wn}-wrapper-disabled`]:Kn,[`${wn}-wrapper-in-form-item`]:at},cn==null?void 0:cn.className,he,Qe,ct),Nt=de()({[`${wn}-indeterminate`]:ft},Je.A,ct),st=ft?"mixed":void 0;return He(Ne.createElement(je.Z,{component:"Checkbox",disabled:Kn},Ne.createElement("label",{className:mt,style:Object.assign(Object.assign({},cn==null?void 0:cn.style),Le),onMouseEnter:ot,onMouseLeave:dt},Ne.createElement(Be.Z,Object.assign({"aria-checked":st},Lt,{prefixCls:wn,className:Nt,disabled:Kn,ref:Ge})),We!==void 0&&Ne.createElement("span",null,We))))};var a=Ne.forwardRef(ue),x=ee(62730),y=ee(2738),z=function(ye,Ge){var Ae={};for(var ze in ye)Object.prototype.hasOwnProperty.call(ye,ze)&&Ge.indexOf(ze)<0&&(Ae[ze]=ye[ze]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ze=Object.getOwnPropertySymbols(ye);he<ze.length;he++)Ge.indexOf(ze[he])<0&&Object.prototype.propertyIsEnumerable.call(ye,ze[he])&&(Ae[ze[he]]=ye[ze[he]]);return Ae};const te=(ye,Ge)=>{const{defaultValue:Ae,children:ze,options:he=[],prefixCls:Qe,className:We,rootClassName:ft,style:Le,onChange:ot}=ye,dt=z(ye,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:gt,direction:Dt}=Ne.useContext(_e.E_),[sn,Ft]=Ne.useState(dt.value||Ae||[]),[on,cn]=Ne.useState([]);Ne.useEffect(()=>{"value"in dt&&Ft(dt.value||[])},[dt.value]);const Ve=Ne.useMemo(()=>he.map(nt=>typeof nt=="string"||typeof nt=="number"?{label:nt,value:nt}:nt),[he]),at=nt=>{cn(De=>De.filter(fe=>fe!==nt))},rn=nt=>{cn(De=>[].concat((0,x.Z)(De),[nt]))},Kn=nt=>{const De=sn.indexOf(nt.value),fe=(0,x.Z)(sn);De===-1?fe.push(nt.value):fe.splice(De,1),"value"in dt||Ft(fe),ot==null||ot(fe.filter(Xe=>on.includes(Xe)).sort((Xe,Rt)=>{const Oe=Ve.findIndex(vt=>vt.value===Xe),Ie=Ve.findIndex(vt=>vt.value===Rt);return Oe-Ie}))},Gt=gt("checkbox",Qe),wn=`${Gt}-group`,[He,ct]=(0,Ke.ZP)(Gt),Lt=(0,y.Z)(dt,["value","disabled"]),mt=he.length?Ve.map(nt=>Ne.createElement(a,{prefixCls:Gt,key:nt.value.toString(),disabled:"disabled"in nt?nt.disabled:dt.disabled,value:nt.value,checked:sn.includes(nt.value),onChange:nt.onChange,className:`${wn}-item`,style:nt.style,title:nt.title},nt.label)):ze,Nt={toggleOption:Kn,value:sn,disabled:dt.disabled,name:dt.name,registerValue:rn,cancelValue:at},st=de()(wn,{[`${wn}-rtl`]:Dt==="rtl"},We,ft,ct);return He(Ne.createElement("div",Object.assign({className:st,style:Le},Lt,{ref:Ge}),Ne.createElement(qe.Provider,{value:Nt},mt)))},re=Ne.forwardRef(te);var se=Ne.memo(re);const ie=a;ie.Group=se,ie.__ANT_CHECKBOX=!0;var ve=ie},98447:function(Vt,jt,ee){"use strict";ee.d(jt,{C2:function(){return _e}});var b=ee(17313),de=ee(37613),Be=ee(83116);const Ne=ke=>{const{checkboxCls:le}=ke,it=`${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}}),[it]: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'"},[`& + ${it}`]:{marginInlineStart:0},[`&${it}-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}})},{[`
${it}:not(${it}-disabled),
${le}:not(${le}-disabled)
`]:{[`&:hover ${le}-inner`]:{borderColor:ke.colorPrimary}},[`${it}:not(${it}-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}`}}},[`
${it}-checked:not(${it}-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:'""'}}}}},{[`${it}-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 _e(ke,le){const it=(0,de.TS)(le,{checkboxCls:`.${ke}`,checkboxSize:le.controlInteractiveSize});return[Ne(it)]}jt.ZP=(0,Be.Z)("Checkbox",(ke,le)=>{let{prefixCls:it}=le;return[_e(it,ke)]})},36381:function(Vt,jt,ee){"use strict";ee.d(jt,{default:function(){return Lt}});var b=ee(38819),de=ee(92310),Be=ee.n(de),Ne=ee(71409),_e=ee(62730),ke=ee(11036),le=ee(28788),it=ee(18929),qe=ee(48736),Ke=ee(59301),je=ee(39224),Je=ee(11592),Ye=ee(87075),ue=ee(77900),E=ee(10228),a=Ke.forwardRef(function(mt,Nt){var st=mt.prefixCls,nt=mt.forceRender,De=mt.className,fe=mt.style,Xe=mt.children,Rt=mt.isActive,Oe=mt.role,Ie=Ke.useState(Rt||nt),vt=(0,ke.Z)(Ie,2),et=vt[0],Me=vt[1];return Ke.useEffect(function(){(nt||Rt)&&Me(!0)},[nt,Rt]),et?Ke.createElement("div",{ref:Nt,className:Be()("".concat(st,"-content"),(0,Ye.Z)((0,Ye.Z)({},"".concat(st,"-content-active"),Rt),"".concat(st,"-content-inactive"),!Rt),De),style:fe,role:Oe},Ke.createElement("div",{className:"".concat(st,"-content-box")},Xe)):null});a.displayName="PanelContent";var x=a,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=Ke.forwardRef(function(mt,Nt){var st=mt.showArrow,nt=st===void 0?!0:st,De=mt.headerClass,fe=mt.isActive,Xe=mt.onItemClick,Rt=mt.forceRender,Oe=mt.className,Ie=mt.prefixCls,vt=mt.collapsible,et=mt.accordion,Me=mt.panelKey,St=mt.extra,Bn=mt.header,nn=mt.expandIcon,fn=mt.openMotion,ln=mt.destroyInactivePanel,Cn=mt.children,Ze=(0,je.Z)(mt,y),yt=vt==="disabled",Zt=vt==="header",Bt=vt==="icon",Mt=St!=null&&typeof St!="boolean",dn=function(){Xe==null||Xe(Me)},gn=function(gr){(gr.key==="Enter"||gr.keyCode===E.Z.ENTER||gr.which===E.Z.ENTER)&&dn()},Dn=typeof nn=="function"?nn(mt):Ke.createElement("i",{className:"arrow"});Dn&&(Dn=Ke.createElement("div",{className:"".concat(Ie,"-expand-icon"),onClick:["header","icon"].includes(vt)?dn:void 0},Dn));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"),yt),Oe),ha=Be()(De,(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},"".concat(Ie,"-header"),!0),"".concat(Ie,"-header-collapsible-only"),Zt),"".concat(Ie,"-icon-collapsible-only"),Bt)),Ra={className:ha,"aria-expanded":fe,"aria-disabled":yt,onKeyDown:gn};return!Zt&&!Bt&&(Ra.onClick=dn,Ra.role=et?"tab":"button",Ra.tabIndex=yt?-1:0),Ke.createElement("div",(0,Ne.Z)({},Ze,{ref:Nt,className:Jn}),Ke.createElement("div",Ra,nt&&Dn,Ke.createElement("span",{className:"".concat(Ie,"-header-text"),onClick:vt==="header"?dn:void 0},Bn),Mt&&Ke.createElement("div",{className:"".concat(Ie,"-extra")},St)),Ke.createElement(ue.default,(0,Ne.Z)({visible:fe,leavedClassName:"".concat(Ie,"-content-hidden")},fn,{forceRender:Rt,removeOnLeave:ln}),function(_a,gr){var ar=_a.className,pa=_a.style;return Ke.createElement(x,{ref:gr,prefixCls:Ie,className:ar,style:pa,isActive:fe,forceRender:Rt,role:et?"tabpanel":void 0},Cn)}))}),te=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],se=function(Nt,st){var nt=st.prefixCls,De=st.accordion,fe=st.collapsible,Xe=st.destroyInactivePanel,Rt=st.onItemClick,Oe=st.activeKey,Ie=st.openMotion,vt=st.expandIcon;return Nt.map(function(et,Me){var St=et.children,Bn=et.label,nn=et.key,fn=et.collapsible,ln=et.onItemClick,Cn=et.destroyInactivePanel,Ze=(0,je.Z)(et,re),yt=String(nn!=null?nn:Me),Zt=fn!=null?fn:fe,Bt=Cn!=null?Cn:Xe,Mt=function(Dn){Zt!=="disabled"&&(Rt(Dn),ln==null||ln(Dn))},dn=!1;return De?dn=Oe[0]===yt:dn=Oe.indexOf(yt)>-1,Ke.createElement(te,(0,Ne.Z)({},Ze,{prefixCls:nt,key:yt,panelKey:yt,isActive:dn,accordion:De,openMotion:Ie,expandIcon:vt,header:Bn,collapsible:Zt,onItemClick:Mt,destroyInactivePanel:Bt}),St)})},ie=function(Nt,st,nt){if(!Nt)return null;var De=nt.prefixCls,fe=nt.accordion,Xe=nt.collapsible,Rt=nt.destroyInactivePanel,Oe=nt.onItemClick,Ie=nt.activeKey,vt=nt.openMotion,et=nt.expandIcon,Me=Nt.key||String(st),St=Nt.props,Bn=St.header,nn=St.headerClass,fn=St.destroyInactivePanel,ln=St.collapsible,Cn=St.onItemClick,Ze=!1;fe?Ze=Ie[0]===Me:Ze=Ie.indexOf(Me)>-1;var yt=ln!=null?ln:Xe,Zt=function(dn){yt!=="disabled"&&(Oe(dn),Cn==null||Cn(dn))},Bt={key:Me,panelKey:Me,header:Bn,headerClass:nn,isActive:Ze,prefixCls:De,destroyInactivePanel:fn!=null?fn:Rt,openMotion:vt,accordion:fe,children:Nt.props.children,onItemClick:Zt,expandIcon:et,collapsible:yt};return typeof Nt.type=="string"?Nt:(Object.keys(Bt).forEach(function(Mt){typeof Bt[Mt]=="undefined"&&delete Bt[Mt]}),Ke.cloneElement(Nt,Bt))};function ve(mt,Nt,st){return Array.isArray(mt)?se(mt,st):(0,Je.Z)(Nt).map(function(nt,De){return ie(nt,De,st)})}var ye=ve,Ge=ee(26112);function Ae(mt){var Nt=mt;if(!Array.isArray(Nt)){var st=(0,le.Z)(Nt);Nt=st==="number"||st==="string"?[Nt]:[]}return Nt.map(function(nt){return String(nt)})}var ze=Ke.forwardRef(function(mt,Nt){var st=mt.prefixCls,nt=st===void 0?"rc-collapse":st,De=mt.destroyInactivePanel,fe=De===void 0?!1:De,Xe=mt.style,Rt=mt.accordion,Oe=mt.className,Ie=mt.children,vt=mt.collapsible,et=mt.openMotion,Me=mt.expandIcon,St=mt.activeKey,Bn=mt.defaultActiveKey,nn=mt.onChange,fn=mt.items,ln=Be()(nt,Oe),Cn=(0,it.Z)([],{value:St,onChange:function(gn){return nn==null?void 0:nn(gn)},defaultValue:Bn,postState:Ae}),Ze=(0,ke.Z)(Cn,2),yt=Ze[0],Zt=Ze[1],Bt=function(gn){return Zt(function(){if(Rt)return yt[0]===gn?[]:[gn];var Dn=yt.indexOf(gn),Jn=Dn>-1;return Jn?yt.filter(function(ha){return ha!==gn}):[].concat((0,_e.Z)(yt),[gn])})};(0,qe.ZP)(!Ie,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Mt=ye(fn,Ie,{prefixCls:nt,accordion:Rt,openMotion:et,expandIcon:Me,collapsible:vt,destroyInactivePanel:fe,onItemClick:Bt,activeKey:yt});return Ke.createElement("div",(0,Ne.Z)({ref:Nt,className:ln,style:Xe,role:Rt?"tablist":void 0},(0,Ge.Z)(mt,{aria:!0,data:!0})),Mt)}),he=Object.assign(ze,{Panel:te}),Qe=he,We=he.Panel,ft=ee(2738),Le=ee(62892),ot=ee(92343),dt=ee(36355),gt=ee(19716),sn=Ke.forwardRef((mt,Nt)=>{const{getPrefixCls:st}=Ke.useContext(dt.E_),{prefixCls:nt,className:De,showArrow:fe=!0}=mt,Xe=st("collapse",nt),Rt=Be()({[`${Xe}-no-arrow`]:!fe},De);return Ke.createElement(Qe.Panel,Object.assign({ref:Nt},mt,{prefixCls:Xe,className:Rt}))}),Ft=ee(17313),on=ee(8378),cn=ee(83116),Ve=ee(37613);const at=mt=>{const{componentCls:Nt,contentBg:st,padding:nt,headerBg:De,headerPadding:fe,collapseHeaderPaddingSM:Xe,collapseHeaderPaddingLG:Rt,collapsePanelBorderRadius:Oe,lineWidth:Ie,lineType:vt,colorBorder:et,colorText:Me,colorTextHeading:St,colorTextDisabled:Bn,fontSize:nn,fontSizeLG:fn,lineHeight:ln,marginSM:Cn,paddingSM:Ze,paddingLG:yt,paddingXS:Zt,motionDurationSlow:Bt,fontSizeIcon:Mt,contentPadding:dn}=mt,gn=`${Ie}px ${vt} ${et}`;return{[Nt]:Object.assign(Object.assign({},(0,Ft.Wf)(mt)),{backgroundColor:De,border:gn,borderBottom:0,borderRadius:`${Oe}px`,"&-rtl":{direction:"rtl"},[`& > ${Nt}-item`]:{borderBottom:gn,"&:last-child":{[`
&,
& > ${Nt}-header`]:{borderRadius:`0 0 ${Oe}px ${Oe}px`}},[`> ${Nt}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:fe,color:St,lineHeight:ln,cursor:"pointer",transition:`all ${Bt}, visibility 0s`,[`> ${Nt}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Nt}-expand-icon`]:{height:nn*ln,display:"flex",alignItems:"center",paddingInlineEnd:Cn},[`${Nt}-arrow`]:Object.assign(Object.assign({},(0,Ft.Ro)()),{fontSize:Mt,svg:{transition:`transform ${Bt}`}}),[`${Nt}-header-text`]:{marginInlineEnd:"auto"}},[`${Nt}-header-collapsible-only`]:{cursor:"default",[`${Nt}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Nt}-icon-collapsible-only`]:{cursor:"default",[`${Nt}-expand-icon`]:{cursor:"pointer"}}},[`${Nt}-content`]:{color:Me,backgroundColor:st,borderTop:gn,[`& > ${Nt}-content-box`]:{padding:dn},"&-hidden":{display:"none"}},"&-small":{[`> ${Nt}-item`]:{[`> ${Nt}-header`]:{padding:Xe,paddingInlineStart:Zt,[`> ${Nt}-expand-icon`]:{marginInlineStart:Ze-Zt}},[`> ${Nt}-content > ${Nt}-content-box`]:{padding:Ze}}},"&-large":{[`> ${Nt}-item`]:{fontSize:fn,[`> ${Nt}-header`]:{padding:Rt,paddingInlineStart:nt,[`> ${Nt}-expand-icon`]:{height:fn*ln,marginInlineStart:yt-nt}},[`> ${Nt}-content > ${Nt}-content-box`]:{padding:yt}}},[`${Nt}-item:last-child`]:{[`> ${Nt}-content`]:{borderRadius:`0 0 ${Oe}px ${Oe}px`}},[`& ${Nt}-item-disabled > ${Nt}-header`]:{"\n &,\n & > .arrow\n ":{color:Bn,cursor:"not-allowed"}},[`&${Nt}-icon-position-end`]:{[`& > ${Nt}-item`]:{[`> ${Nt}-header`]:{[`${Nt}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Cn}}}}})}},rn=mt=>{const{componentCls:Nt}=mt,st=`> ${Nt}-item > ${Nt}-header ${Nt}-arrow svg`;return{[`${Nt}-rtl`]:{[st]:{transform:"rotate(180deg)"}}}},Kn=mt=>{const{componentCls:Nt,headerBg:st,paddingXXS:nt,colorBorder:De}=mt;return{[`${Nt}-borderless`]:{backgroundColor:st,border:0,[`> ${Nt}-item`]:{borderBottom:`1px solid ${De}`},[`
> ${Nt}-item:last-child,
> ${Nt}-item:last-child ${Nt}-header
`]:{borderRadius:0},[`> ${Nt}-item:last-child`]:{borderBottom:0},[`> ${Nt}-item > ${Nt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Nt}-item > ${Nt}-content > ${Nt}-content-box`]:{paddingTop:nt}}}},Gt=mt=>{const{componentCls:Nt,paddingSM:st}=mt;return{[`${Nt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Nt}-item`]:{borderBottom:0,[`> ${Nt}-content`]:{backgroundColor:"transparent",border:0,[`> ${Nt}-content-box`]:{paddingBlock:st}}}}}};var wn=(0,cn.Z)("Collapse",mt=>{const Nt=(0,Ve.TS)(mt,{collapseHeaderPaddingSM:`${mt.paddingXS}px ${mt.paddingSM}px`,collapseHeaderPaddingLG:`${mt.padding}px ${mt.paddingLG}px`,collapsePanelBorderRadius:mt.borderRadiusLG});return[at(Nt),Kn(Nt),Gt(Nt),rn(Nt),(0,on.Z)(Nt)]},mt=>({headerPadding:`${mt.paddingSM}px ${mt.padding}px`,headerBg:mt.colorFillAlter,contentPadding:`${mt.padding}px 16px`,contentBg:mt.colorBgContainer})),ct=Object.assign(Ke.forwardRef((mt,Nt)=>{const{getPrefixCls:st,direction:nt,collapse:De}=Ke.useContext(dt.E_),{prefixCls:fe,className:Xe,rootClassName:Rt,style:Oe,bordered:Ie=!0,ghost:vt,size:et,expandIconPosition:Me="start",children:St,expandIcon:Bn}=mt,nn=(0,gt.Z)(gn=>{var Dn;return(Dn=et!=null?et:gn)!==null&&Dn!==void 0?Dn:"middle"}),fn=st("collapse",fe),ln=st(),[Cn,Ze]=wn(fn),yt=Ke.useMemo(()=>Me==="left"?"start":Me==="right"?"end":Me,[Me]),Zt=function(){let gn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Dn=Bn?Bn(gn):Ke.createElement(b.Z,{rotate:gn.isActive?90:void 0});return(0,ot.Tm)(Dn,()=>({className:Be()(Dn.props.className,`${fn}-arrow`)}))},Bt=Be()(`${fn}-icon-position-${yt}`,{[`${fn}-borderless`]:!Ie,[`${fn}-rtl`]:nt==="rtl",[`${fn}-ghost`]:!!vt,[`${fn}-${nn}`]:nn!=="middle"},De==null?void 0:De.className,Xe,Rt,Ze),Mt=Object.assign(Object.assign({},(0,Le.Z)(ln)),{motionAppear:!1,leavedClassName:`${fn}-content-hidden`}),dn=Ke.useMemo(()=>St?(0,Je.Z)(St).map((gn,Dn)=>{var Jn,ha;if(!((Jn=gn.props)===null||Jn===void 0)&&Jn.disabled){const Ra=(ha=gn.key)!==null&&ha!==void 0?ha:String(Dn),{disabled:_a,collapsible:gr}=gn.props,ar=Object.assign(Object.assign({},(0,ft.Z)(gn.props,["disabled"])),{key:Ra,collapsible:gr!=null?gr:_a?"disabled":void 0});return(0,ot.Tm)(gn,ar)}return gn}):null,[St]);return Cn(Ke.createElement(Qe,Object.assign({ref:Nt,openMotion:Mt},(0,ft.Z)(mt,["rootClassName"]),{expandIcon:Zt,prefixCls:fn,className:Bt,style:Object.assign(Object.assign({},De==null?void 0:De.style),Oe)}),dn))}),{Panel:sn}),Lt=ct},5083:function(Vt,jt,ee){"use strict";ee.d(jt,{default:function(){return Wu}});var b=ee(61186),de=ee.n(b),Be=ee(48736),Ne=ee(90111),_e=ee.n(Ne),ke=ee(58319),le=ee.n(ke),it=ee(23250),qe=ee.n(it),Ke=ee(74959),je=ee.n(Ke),Je=ee(10238),Ye=ee.n(Je),ue=ee(33656),E=ee.n(ue);de().extend(E()),de().extend(Ye()),de().extend(_e()),de().extend(le()),de().extend(qe()),de().extend(je()),de().extend(function(me,Se){var be=Se.prototype,tt=be.format;be.format=function(Xt){var Wt=(Xt||"").replace("Wo","wo");return tt.bind(this)(Wt)}});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 be=a[Se];return be||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 be=Se.locale("en");return be.weekday()+be.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,be){return Se.add(be,"year")},addMonth:function(Se,be){return Se.add(be,"month")},addDate:function(Se,be){return Se.add(be,"day")},setYear:function(Se,be){return Se.year(be)},setMonth:function(Se,be){return Se.month(be)},setDate:function(Se,be){return Se.date(be)},setHour:function(Se,be){return Se.hour(be)},setMinute:function(Se,be){return Se.minute(be)},setSecond:function(Se,be){return Se.second(be)},isAfter:function(Se,be){return Se.isAfter(be)},isValidate:function(Se){return Se.isValid()},locale:{getWeekFirstDay:function(Se){return de()().locale(x(Se)).localeData().firstDayOfWeek()},getWeekFirstDate:function(Se,be){return be.locale(x(Se)).weekday(0)},getWeek:function(Se,be){return be.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,be,tt){return be.locale(x(Se)).format(tt)},parse:function(Se,be,tt){for(var lt=x(Se),Xt=0;Xt<tt.length;Xt+=1){var Wt=tt[Xt],Tn=be;if(Wt.includes("wo")||Wt.includes("Wo")){for(var kn=Tn.split("-")[0],ua=Tn.split("-")[1],Aa=de()(kn,"YYYY").startOf("year").locale(lt),fa=0;fa<=52;fa+=1){var vn=Aa.add(fa,"week");if(vn.format("Wo")===ua)return vn}return y(),null}var Ia=de()(Tn,Wt,!0).locale(lt);if(Ia.isValid())return Ia}return be&&y(),null}}},te=z,re=ee(53487),se=ee(71409),ie=ee(59301),ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},ye=ve,Ge=ee(7657),Ae=function(Se,be){return ie.createElement(Ge.Z,(0,se.Z)({},Se,{ref:be,icon:ye}))},ze=ie.forwardRef(Ae),he=ze,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"},We=Qe,ft=function(Se,be){return ie.createElement(Ge.Z,(0,se.Z)({},Se,{ref:be,icon:We}))},Le=ie.forwardRef(ft),ot=Le,dt=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"},Dt=gt,sn=function(Se,be){return ie.createElement(Ge.Z,(0,se.Z)({},Se,{ref:be,icon:Dt}))},Ft=ie.forwardRef(sn),on=Ft,cn=ee(92310),Ve=ee.n(cn),at=ee(16552),rn=ee(19210),Kn=ee(90264),Gt=ee(46654),wn=ee(37205),He=ee(87075),ct=ee(89490),Lt=ee(11036),mt=ee(18929),Nt=ee(26112),st=ee(80547),nt=ee(13697),De=10,fe=De*10,Xe=7;function Rt(me,Se){if(!me&&!Se)return!0;if(!me||!Se)return!1}function Oe(me,Se,be){var tt=Rt(Se,be);if(typeof tt=="boolean")return tt;var lt=Math.floor(me.getYear(Se)/10),Xt=Math.floor(me.getYear(be)/10);return lt===Xt}function Ie(me,Se,be){var tt=Rt(Se,be);return typeof tt=="boolean"?tt:me.getYear(Se)===me.getYear(be)}function vt(me,Se){var be=Math.floor(me.getMonth(Se)/3);return be+1}function et(me,Se,be){var tt=Rt(Se,be);return typeof tt=="boolean"?tt:Ie(me,Se,be)&&vt(me,Se)===vt(me,be)}function Me(me,Se,be){var tt=Rt(Se,be);return typeof tt=="boolean"?tt:Ie(me,Se,be)&&me.getMonth(Se)===me.getMonth(be)}function St(me,Se,be){var tt=Rt(Se,be);return typeof tt=="boolean"?tt:me.getYear(Se)===me.getYear(be)&&me.getMonth(Se)===me.getMonth(be)&&me.getDate(Se)===me.getDate(be)}function Bn(me,Se,be){var tt=Rt(Se,be);return typeof tt=="boolean"?tt:me.getHour(Se)===me.getHour(be)&&me.getMinute(Se)===me.getMinute(be)&&me.getSecond(Se)===me.getSecond(be)}function nn(me,Se,be,tt){var lt=Rt(be,tt);return typeof lt=="boolean"?lt:Ie(me,be,tt)&&me.locale.getWeek(Se,be)===me.locale.getWeek(Se,tt)}function fn(me,Se,be){return St(me,Se,be)&&Bn(me,Se,be)}function ln(me,Se,be,tt){return!Se||!be||!tt?!1:!St(me,Se,tt)&&!St(me,be,tt)&&me.isAfter(tt,Se)&&me.isAfter(be,tt)}function Cn(me,Se,be){var tt=Se.locale.getWeekFirstDay(me),lt=Se.setDate(be,1),Xt=Se.getWeekDay(lt),Wt=Se.addDate(lt,tt-Xt);return Se.getMonth(Wt)===Se.getMonth(be)&&Se.getDate(Wt)>1&&(Wt=Se.addDate(Wt,-7)),Wt}function Ze(me,Se,be){var tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Se){case"year":return be.addYear(me,tt*10);case"quarter":case"month":return be.addYear(me,tt);default:return be.addMonth(me,tt)}}function yt(me,Se){var be=Se.generateConfig,tt=Se.locale,lt=Se.format;return typeof lt=="function"?lt(me):be.locale.format(tt.locale,me,lt)}function Zt(me,Se){var be=Se.generateConfig,tt=Se.locale,lt=Se.formatList;return!me||typeof lt[0]=="function"?null:be.locale.parse(tt.locale,me,lt)}function Bt(me){var Se=me.cellDate,be=me.mode,tt=me.disabledDate,lt=me.generateConfig;if(!tt)return!1;var Xt=function(Ma,Mn,ga){for(var ka=Mn;ka<=ga;){var Ar=void 0;switch(Ma){case"date":{if(Ar=lt.setDate(Se,ka),!tt(Ar))return!1;break}case"month":{if(Ar=lt.setMonth(Se,ka),!Bt({cellDate:Ar,mode:"month",generateConfig:lt,disabledDate:tt}))return!1;break}case"year":{if(Ar=lt.setYear(Se,ka),!Bt({cellDate:Ar,mode:"year",generateConfig:lt,disabledDate:tt}))return!1;break}}ka+=1}return!0};switch(be){case"date":case"week":return tt(Se);case"month":{var Wt=1,Tn=lt.getDate(lt.getEndDate(Se));return Xt("date",Wt,Tn)}case"quarter":{var kn=Math.floor(lt.getMonth(Se)/3)*3,ua=kn+2;return Xt("month",kn,ua)}case"year":return Xt("month",0,11);case"decade":{var Aa=lt.getYear(Se),fa=Math.floor(Aa/De)*De,vn=fa+De-1;return Xt("year",fa,vn)}}}function Mt(me,Se){var be=Se.formatList,tt=Se.generateConfig,lt=Se.locale;return(0,st.Z)(function(){if(!me)return[[""],""];for(var Xt="",Wt=[],Tn=0;Tn<be.length;Tn+=1){var kn=be[Tn],ua=yt(me,{generateConfig:tt,locale:lt,format:kn});Wt.push(ua),Tn===0&&(Xt=ua)}return[Wt,Xt]},[me,be,lt],function(Xt,Wt){return!fn(tt,Xt[0],Wt[0])||!(0,nt.Z)(Xt[1],Wt[1],!0)||!(0,nt.Z)(Xt[2],Wt[2],!0)})}function dn(me,Se){var be=Se.formatList,tt=Se.generateConfig,lt=Se.locale,Xt=(0,ie.useState)(null),Wt=(0,Lt.Z)(Xt,2),Tn=Wt[0],kn=Wt[1],ua=(0,ie.useRef)(null);function Aa(ga){var ka=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(ua.current),ka){kn(ga);return}ua.current=requestAnimationFrame(function(){kn(ga)})}var fa=Mt(Tn,{formatList:be,generateConfig:tt,locale:lt}),vn=(0,Lt.Z)(fa,2),Ia=vn[1];function Ma(ga){Aa(ga)}function Mn(){var ga=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Aa(null,ga)}return(0,ie.useEffect)(function(){Mn(!0)},[me]),(0,ie.useEffect)(function(){return function(){return cancelAnimationFrame(ua.current)}},[]),[Ia,Ma,Mn]}var gn=ee(10228),Dn=ee(16089),Jn=ee(62730),ha=ee(29194),Ra=new Map;function _a(me,Se){var be;function tt(){(0,ha.Z)(me)?Se():be=(0,Dn.Z)(function(){tt()})}return tt(),function(){Dn.Z.cancel(be)}}function gr(me,Se,be){if(Ra.get(me)&&cancelAnimationFrame(Ra.get(me)),be<=0){Ra.set(me,requestAnimationFrame(function(){me.scrollTop=Se}));return}var tt=Se-me.scrollTop,lt=tt/be*10;Ra.set(me,requestAnimationFrame(function(){me.scrollTop+=lt,me.scrollTop!==Se&&gr(me,Se,be-10)}))}function ar(me,Se){var be=Se.onLeftRight,tt=Se.onCtrlLeftRight,lt=Se.onUpDown,Xt=Se.onPageUpDown,Wt=Se.onEnter,Tn=me.which,kn=me.ctrlKey,ua=me.metaKey;switch(Tn){case gn.Z.LEFT:if(kn||ua){if(tt)return tt(-1),!0}else if(be)return be(-1),!0;break;case gn.Z.RIGHT:if(kn||ua){if(tt)return tt(1),!0}else if(be)return be(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(Xt)return Xt(-1),!0;break;case gn.Z.PAGE_DOWN:if(Xt)return Xt(1),!0;break;case gn.Z.ENTER:if(Wt)return Wt(),!0;break}return!1}function pa(me,Se,be,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=be?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return lt}function Br(me,Se,be){var tt=me==="time"?8:10,lt=typeof Se=="function"?Se(be.getNow()).length:Se.length;return Math.max(tt,lt)+2}var qt=null,An=new Set;function oa(me){return!qt&&typeof window!="undefined"&&window.addEventListener&&(qt=function(be){(0,Jn.Z)(An).forEach(function(tt){tt(be)})},window.addEventListener("mousedown",qt)),An.add(me),function(){An.delete(me),An.size===0&&(window.removeEventListener("mousedown",qt),qt=null)}}function Da(me){var Se=me.target;if(me.composed&&Se.shadowRoot){var be;return((be=me.composedPath)===null||be===void 0?void 0:be.call(me)[0])||Se}return Se}var ut=function(Se){return Se==="month"||Se==="date"?"year":Se},bn=function(Se){return Se==="date"?"month":Se},Ln=function(Se){return Se==="month"||Se==="date"?"quarter":Se},zn=function(Se){return Se==="date"?"week":Se},pn={year:ut,month:bn,quarter:Ln,week:zn,time:null,date:null};function ia(me,Se){return me.some(function(be){return be&&be.contains(Se)})}function Sa(me){var Se=me.open,be=me.value,tt=me.isClickOutside,lt=me.triggerOpen,Xt=me.forwardKeyDown,Wt=me.onKeyDown,Tn=me.blurToCancel,kn=me.onSubmit,ua=me.onCancel,Aa=me.onFocus,fa=me.onBlur,vn=me.changeOnBlur,Ia=(0,ie.useState)(!1),Ma=(0,Lt.Z)(Ia,2),Mn=Ma[0],ga=Ma[1],ka=(0,ie.useState)(!1),Ar=(0,Lt.Z)(ka,2),br=Ar[0],Ir=Ar[1],Wr=(0,ie.useRef)(!1),Rr=(0,ie.useRef)(!1),jn=(0,ie.useRef)(!1),Vo={onMouseDown:function(){ga(!0),lt(!0)},onKeyDown:function(Ho){var ei=function(){jn.current=!0};if(Wt(Ho,ei),!jn.current){switch(Ho.which){case gn.Z.ENTER:{Se?kn()!==!1&&ga(!0):lt(!0),Ho.preventDefault();return}case gn.Z.TAB:{Mn&&Se&&!Ho.shiftKey?(ga(!1),Ho.preventDefault()):!Mn&&Se&&!Xt(Ho)&&Ho.shiftKey&&(ga(!0),Ho.preventDefault());return}case gn.Z.ESC:{ga(!0),ua();return}}!Se&&![gn.Z.SHIFT].includes(Ho.which)?lt(!0):Mn||Xt(Ho)}},onFocus:function(Ho){ga(!0),Ir(!0),Aa&&Aa(Ho)},onBlur:function(Ho){if(Wr.current||!tt(document.activeElement)){Wr.current=!1;return}Tn?setTimeout(function(){for(var ei=document,li=ei.activeElement;li&&li.shadowRoot;)li=li.shadowRoot.activeElement;tt(li)&&ua()},0):Se&&(lt(!1),Rr.current&&kn()),Ir(!1),fa==null||fa(Ho)}};return(0,ie.useEffect)(function(){Rr.current=!1},[Se]),(0,ie.useEffect)(function(){Rr.current=!0},[be]),(0,ie.useEffect)(function(){return oa(function(fo){var Ho=Da(fo),ei=tt(Ho);Se&&(ei?!vn&&(!br||ei)&&lt(!1):(Wr.current=!0,(0,Dn.Z)(function(){Wr.current=!1})))})}),[Vo,{focused:br,typing:Mn}]}function It(me,Se){return ie.useMemo(function(){return me||(Se?((0,Be.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(Se).map(function(be){var tt=(0,Lt.Z)(be,2),lt=tt[0],Xt=tt[1];return{label:lt,value:Xt}})):[])},[me,Se])}var kt=ee(34280);function bt(me){var Se=me.valueTexts,be=me.onTextChange,tt=ie.useState(""),lt=(0,Lt.Z)(tt,2),Xt=lt[0],Wt=lt[1],Tn=ie.useRef([]);Tn.current=Se;function kn(Aa){Wt(Aa),be(Aa)}function ua(){Wt(Tn.current[0])}return(0,kt.Z)(function(){Se.every(function(Aa){return Aa!==Xt})&&ua()},[Se.join("||")]),[Xt,kn,ua]}var Qn=ie.createContext({}),Yn=Qn,Gn=ee(28788);function ir(me){var Se=me.cellRender,be=me.monthCellRender,tt=me.dateRender,lt=ie.useMemo(function(){if(Se)return Se;if(!(!be&&!tt))return function(Xt,Wt){var Tn=Xt;return tt&&Wt.type==="date"?tt(Tn,Wt.today):be&&Wt.type==="month"?be(Tn,Wt.locale):Wt.originNode}},[Se,be,tt]);return lt}function Ba(me,Se){for(var be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",tt=String(me);tt.length<Se;)tt="".concat(be).concat(me);return tt}var Xn=function(){for(var Se=arguments.length,be=new Array(Se),tt=0;tt<Se;tt++)be[tt]=arguments[tt];return be};function Ua(me){return me==null?[]:Array.isArray(me)?me:[me]}function wa(me,Se){return me?me[Se]:null}function Nn(me,Se,be){var tt=[wa(me,0),wa(me,1)];return tt[be]=typeof Se=="function"?Se(tt[be]):Se,!tt[0]&&!tt[1]?null:tt}function mr(me){return typeof me=="function"?me():me}function Nr(me){var Se=me.cellPrefixCls,be=me.generateConfig,tt=me.rangedValue,lt=me.hoverRangedValue,Xt=me.isInView,Wt=me.isSameCell,Tn=me.offsetCell,kn=me.today,ua=me.value;function Aa(fa){var vn,Ia=Tn(fa,-1),Ma=Tn(fa,1),Mn=wa(tt,0),ga=wa(tt,1),ka=wa(lt,0),Ar=wa(lt,1),br=ln(be,ka,Ar,fa);function Ir(Ho){return Wt(Mn,Ho)}function Wr(Ho){return Wt(ga,Ho)}var Rr=Wt(ka,fa),jn=Wt(Ar,fa),Vo=(br||jn)&&(!Xt(Ia)||Wr(Ia)),fo=(br||Rr)&&(!Xt(Ma)||Ir(Ma));return vn={},(0,He.Z)(vn,"".concat(Se,"-in-view"),Xt(fa)),(0,He.Z)(vn,"".concat(Se,"-in-range"),ln(be,Mn,ga,fa)),(0,He.Z)(vn,"".concat(Se,"-range-start"),Ir(fa)),(0,He.Z)(vn,"".concat(Se,"-range-end"),Wr(fa)),(0,He.Z)(vn,"".concat(Se,"-range-start-single"),Ir(fa)&&!ga),(0,He.Z)(vn,"".concat(Se,"-range-end-single"),Wr(fa)&&!Mn),(0,He.Z)(vn,"".concat(Se,"-range-start-near-hover"),Ir(fa)&&(Wt(Ia,ka)||ln(be,ka,Ar,Ia))),(0,He.Z)(vn,"".concat(Se,"-range-end-near-hover"),Wr(fa)&&(Wt(Ma,Ar)||ln(be,ka,Ar,Ma))),(0,He.Z)(vn,"".concat(Se,"-range-hover"),br),(0,He.Z)(vn,"".concat(Se,"-range-hover-start"),Rr),(0,He.Z)(vn,"".concat(Se,"-range-hover-end"),jn),(0,He.Z)(vn,"".concat(Se,"-range-hover-edge-start"),Vo),(0,He.Z)(vn,"".concat(Se,"-range-hover-edge-end"),fo),(0,He.Z)(vn,"".concat(Se,"-range-hover-edge-start-near-range"),Vo&&Wt(Ia,ga)),(0,He.Z)(vn,"".concat(Se,"-range-hover-edge-end-near-range"),fo&&Wt(Ma,Mn)),(0,He.Z)(vn,"".concat(Se,"-today"),Wt(kn,fa)),(0,He.Z)(vn,"".concat(Se,"-selected"),Wt(ua,fa)),vn}return Aa}var Vr=ie.createContext({}),xr=Vr;function $e(me,Se,be,tt,lt){var Xt=me.setHour(Se,be);return Xt=me.setMinute(Xt,tt),Xt=me.setSecond(Xt,lt),Xt}function Pn(me,Se,be){if(!be)return Se;var tt=Se;return tt=me.setHour(tt,me.getHour(be)),tt=me.setMinute(tt,me.getMinute(be)),tt=me.setSecond(tt,me.getSecond(be)),tt}function Jt(me,Se,be,tt,lt,Xt){var Wt=Math.floor(me/tt)*tt;if(Wt<me)return[Wt,60-lt,60-Xt];var Tn=Math.floor(Se/lt)*lt;if(Tn<Se)return[Wt,Tn,60-Xt];var kn=Math.floor(be/Xt)*Xt;return[Wt,Tn,kn]}function In(me,Se){var be=me.getYear(Se),tt=me.getMonth(Se)+1,lt=me.getEndDate(me.getFixedDate("".concat(be,"-").concat(tt,"-01"))),Xt=me.getDate(lt),Wt=tt<10?"0".concat(tt):"".concat(tt);return"".concat(be,"-").concat(Wt,"-").concat(Xt)}function Wn(me){for(var Se=me.prefixCls,be=me.disabledDate,tt=me.onSelect,lt=me.picker,Xt=me.rowNum,Wt=me.colNum,Tn=me.prefixColumn,kn=me.rowClassName,ua=me.baseDate,Aa=me.getCellClassName,fa=me.getCellText,vn=me.getCellNode,Ia=me.getCellDate,Ma=me.generateConfig,Mn=me.titleCell,ga=me.headerCells,ka=ie.useContext(Yn),Ar=ka.onDateMouseEnter,br=ka.onDateMouseLeave,Ir=ka.mode,Wr="".concat(Se,"-cell"),Rr=[],jn=0;jn<Xt;jn+=1){for(var Vo=[],fo=void 0,Ho=function(){var pi,zi=jn*Wt+ei,oo=Ia(ua,zi),Ro=Bt({cellDate:oo,mode:Ir,disabledDate:be,generateConfig:Ma});ei===0&&(fo=oo,Tn&&Vo.push(Tn(fo)));var _o=Mn&&Mn(oo),wi=ie.createElement("div",{className:"".concat(Wr,"-inner")},fa(oo));Vo.push(ie.createElement("td",{key:ei,title:_o,className:Ve()(Wr,(0,ct.Z)((pi={},(0,He.Z)(pi,"".concat(Wr,"-disabled"),Ro),(0,He.Z)(pi,"".concat(Wr,"-start"),fa(oo)===1||lt==="year"&&Number(_o)%10===0),(0,He.Z)(pi,"".concat(Wr,"-end"),_o===In(Ma,oo)||lt==="year"&&Number(_o)%10===9),pi),Aa(oo))),onClick:function(){Ro||tt(oo)},onMouseEnter:function(){!Ro&&Ar&&Ar(oo)},onMouseLeave:function(){!Ro&&br&&br(oo)}},vn?vn(oo,wi):wi))},ei=0;ei<Wt;ei+=1)Ho();Rr.push(ie.createElement("tr",{key:jn,className:kn&&kn(fo)},Vo))}return ie.createElement("div",{className:"".concat(Se,"-body")},ie.createElement("table",{className:"".concat(Se,"-content")},ga&&ie.createElement("thead",null,ie.createElement("tr",null,ga)),ie.createElement("tbody",null,Rr)))}function la(me){var Se=me.prefixCls,be=me.generateConfig,tt=me.prefixColumn,lt=me.locale,Xt=me.rowCount,Wt=me.viewDate,Tn=me.value,kn=me.cellRender,ua=me.isSameCell,Aa=ie.useContext(xr),fa=Aa.rangedValue,vn=Aa.hoverRangedValue,Ia=Cn(lt.locale,be,Wt),Ma="".concat(Se,"-cell"),Mn=be.locale.getWeekFirstDay(lt.locale),ga=be.getNow(),ka=[],Ar=lt.shortWeekDays||(be.locale.getShortWeekDays?be.locale.getShortWeekDays(lt.locale):[]);tt&&ka.push(ie.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var br=0;br<Xe;br+=1)ka.push(ie.createElement("th",{key:br},Ar[(br+Mn)%Xe]));var Ir=Nr({cellPrefixCls:Ma,today:ga,value:Tn,generateConfig:be,rangedValue:tt?null:fa,hoverRangedValue:tt?null:vn,isSameCell:ua||function(Rr,jn){return St(be,Rr,jn)},isInView:function(jn){return Me(be,jn,Wt)},offsetCell:function(jn,Vo){return be.addDate(jn,Vo)}}),Wr=kn?function(Rr,jn){return kn(Rr,{originNode:jn,today:ga,type:"date",locale:lt})}:void 0;return ie.createElement(Wn,(0,se.Z)({},me,{rowNum:Xt,colNum:Xe,baseDate:Ia,getCellNode:Wr,getCellText:be.getDate,getCellClassName:Ir,getCellDate:be.addDate,titleCell:function(jn){return yt(jn,{locale:lt,format:"YYYY-MM-DD",generateConfig:be})},headerCells:ka}))}var Ct=la,xt={visibility:"hidden"};function an(me){var Se=me.prefixCls,be=me.prevIcon,tt=be===void 0?"\u2039":be,lt=me.nextIcon,Xt=lt===void 0?"\u203A":lt,Wt=me.superPrevIcon,Tn=Wt===void 0?"\xAB":Wt,kn=me.superNextIcon,ua=kn===void 0?"\xBB":kn,Aa=me.onSuperPrev,fa=me.onSuperNext,vn=me.onPrev,Ia=me.onNext,Ma=me.children,Mn=ie.useContext(Yn),ga=Mn.hideNextBtn,ka=Mn.hidePrevBtn;return ie.createElement("div",{className:Se},Aa&&ie.createElement("button",{type:"button",onClick:Aa,tabIndex:-1,className:"".concat(Se,"-super-prev-btn"),style:ka?xt:{}},Tn),vn&&ie.createElement("button",{type:"button",onClick:vn,tabIndex:-1,className:"".concat(Se,"-prev-btn"),style:ka?xt:{}},tt),ie.createElement("div",{className:"".concat(Se,"-view")},Ma),Ia&&ie.createElement("button",{type:"button",onClick:Ia,tabIndex:-1,className:"".concat(Se,"-next-btn"),style:ga?xt:{}},Xt),fa&&ie.createElement("button",{type:"button",onClick:fa,tabIndex:-1,className:"".concat(Se,"-super-next-btn"),style:ga?xt:{}},ua))}var tn=an;function Kt(me){var Se=me.prefixCls,be=me.generateConfig,tt=me.locale,lt=me.viewDate,Xt=me.onNextMonth,Wt=me.onPrevMonth,Tn=me.onNextYear,kn=me.onPrevYear,ua=me.onYearClick,Aa=me.onMonthClick,fa=ie.useContext(Yn),vn=fa.hideHeader;if(vn)return null;var Ia="".concat(Se,"-header"),Ma=tt.shortMonths||(be.locale.getShortMonths?be.locale.getShortMonths(tt.locale):[]),Mn=be.getMonth(lt),ga=ie.createElement("button",{type:"button",key:"year",onClick:ua,tabIndex:-1,className:"".concat(Se,"-year-btn")},yt(lt,{locale:tt,format:tt.yearFormat,generateConfig:be})),ka=ie.createElement("button",{type:"button",key:"month",onClick:Aa,tabIndex:-1,className:"".concat(Se,"-month-btn")},tt.monthFormat?yt(lt,{locale:tt,format:tt.monthFormat,generateConfig:be}):Ma[Mn]),Ar=tt.monthBeforeYear?[ka,ga]:[ga,ka];return ie.createElement(tn,(0,se.Z)({},me,{prefixCls:Ia,onSuperPrev:kn,onPrev:Wt,onNext:Xt,onSuperNext:Tn}),Ar)}var xa=Kt,Ea=6;function Qa(me){var Se=me.prefixCls,be=me.panelName,tt=be===void 0?"date":be,lt=me.keyboardConfig,Xt=me.active,Wt=me.operationRef,Tn=me.generateConfig,kn=me.value,ua=me.viewDate,Aa=me.onViewDateChange,fa=me.onPanelChange,vn=me.onSelect,Ia="".concat(Se,"-").concat(tt,"-panel");Wt.current={onKeyDown:function(ka){return ar(ka,(0,ct.Z)({onLeftRight:function(br){vn(Tn.addDate(kn||ua,br),"key")},onCtrlLeftRight:function(br){vn(Tn.addYear(kn||ua,br),"key")},onUpDown:function(br){vn(Tn.addDate(kn||ua,br*Xe),"key")},onPageUpDown:function(br){vn(Tn.addMonth(kn||ua,br),"key")}},lt))}};var Ma=function(ka){var Ar=Tn.addYear(ua,ka);Aa(Ar),fa(null,Ar)},Mn=function(ka){var Ar=Tn.addMonth(ua,ka);Aa(Ar),fa(null,Ar)};return ie.createElement("div",{className:Ve()(Ia,(0,He.Z)({},"".concat(Ia,"-active"),Xt))},ie.createElement(xa,(0,se.Z)({},me,{prefixCls:Se,value:kn,viewDate:ua,onPrevYear:function(){Ma(-1)},onNextYear:function(){Ma(1)},onPrevMonth:function(){Mn(-1)},onNextMonth:function(){Mn(1)},onMonthClick:function(){fa("month",ua)},onYearClick:function(){fa("year",ua)}})),ie.createElement(Ct,(0,se.Z)({},me,{onSelect:function(ka){return vn(ka,"mouse")},prefixCls:Se,value:kn,viewDate:ua,rowCount:Ea})))}var za=Qa;function $n(me){var Se=ie.useContext(Yn),be=Se.hideHeader;if(be)return null;var tt=me.prefixCls,lt=me.generateConfig,Xt=me.locale,Wt=me.value,Tn=me.format,kn="".concat(tt,"-header");return ie.createElement(tn,{prefixCls:kn},Wt?yt(Wt,{locale:Xt,format:Tn,generateConfig:lt}):"\xA0")}var na=$n;function ba(me){var Se=me.value,be=me.generateConfig,tt=me.disabledMinutes,lt=me.disabledSeconds,Xt=me.minutes,Wt=me.seconds,Tn=me.use12Hours,kn=function(Aa,fa,vn,Ia){var Ma=be.getNow(),Mn=Se||Ma,ga=fa<0?be.getHour(Ma):fa,ka=vn<0?be.getMinute(Ma):vn,Ar=Ia<0?be.getSecond(Ma):Ia,br=tt&&tt(ga);if(br!=null&&br.includes(ka)){var Ir=Xt.find(function(jn){return!br.includes(jn.value)});if(Ir)ka=Ir.value;else return null}var Wr=lt&&lt(ga,ka);if(Wr!=null&&Wr.includes(Ar)){var Rr=Wt.find(function(jn){return!Wr.includes(jn.value)});if(Rr)Ar=Rr.value;else return null}return Mn=$e(be,Mn,!Tn||!Aa?ga:ga+12,ka,Ar),Mn};return kn}function Pa(me){var Se=me.prefixCls,be=me.units,tt=me.onSelect,lt=me.value,Xt=me.active,Wt=me.hideDisabledOptions,Tn=me.info,kn=me.type,ua="".concat(Se,"-cell"),Aa=ie.useContext(Yn),fa=Aa.open,vn=(0,ie.useRef)(null),Ia=(0,ie.useRef)(new Map),Ma=(0,ie.useRef)();return(0,ie.useLayoutEffect)(function(){var Mn=Ia.current.get(lt);Mn&&fa!==!1&&gr(vn.current,Mn.offsetTop,120)},[lt]),(0,ie.useLayoutEffect)(function(){if(fa){var Mn=Ia.current.get(lt);Mn&&(Ma.current=_a(Mn,function(){gr(vn.current,Mn.offsetTop,0)}))}return function(){var ga;(ga=Ma.current)===null||ga===void 0||ga.call(Ma)}},[fa]),ie.createElement("ul",{className:Ve()("".concat(Se,"-column"),(0,He.Z)({},"".concat(Se,"-column-active"),Xt)),ref:vn,style:{position:"relative"}},be.map(function(Mn){var ga;return Wt&&Mn.disabled?null:ie.createElement("li",{key:Mn.value,ref:function(Ar){Ia.current.set(Mn.value,Ar)},className:Ve()(ua,(ga={},(0,He.Z)(ga,"".concat(ua,"-disabled"),Mn.disabled),(0,He.Z)(ga,"".concat(ua,"-selected"),lt===Mn.value),ga)),onClick:function(){Mn.disabled||tt(Mn.value)}},Tn.cellRender?Tn.cellRender(Mn.value,{today:Tn.today,locale:Tn.locale,originNode:ie.createElement("div",{className:"".concat(ua,"-inner")},Mn.label),type:"time",subType:kn}):ie.createElement("div",{className:"".concat(ua,"-inner")},Mn.label))}))}var vr=Pa;function Tr(me,Se){if(me.length!==Se.length)return!0;for(var be=0;be<me.length;be+=1)if(me[be].disabled!==Se[be].disabled)return!0;return!1}function Ya(me,Se,be,tt){for(var lt=[],Xt=be>=1?be|0:1,Wt=me;Wt<=Se;Wt+=Xt)lt.push({label:Ba(Wt,2),value:Wt,disabled:(tt||[]).includes(Wt)});return lt}function lr(me){var Se=me.generateConfig,be=me.prefixCls,tt=me.operationRef,lt=me.activeColumnIndex,Xt=me.value,Wt=me.showHour,Tn=me.showMinute,kn=me.showSecond,ua=me.use12Hours,Aa=me.hourStep,fa=Aa===void 0?1:Aa,vn=me.minuteStep,Ia=vn===void 0?1:vn,Ma=me.secondStep,Mn=Ma===void 0?1:Ma,ga=me.disabledHours,ka=me.disabledMinutes,Ar=me.disabledSeconds,br=me.disabledTime,Ir=me.hideDisabledOptions,Wr=me.onSelect,Rr=me.cellRender,jn=me.locale,Vo=[],fo="".concat(be,"-content"),Ho="".concat(be,"-time-panel"),ei,li=Xt?Se.getHour(Xt):-1,pi=li,zi=Xt?Se.getMinute(Xt):-1,oo=Xt?Se.getSecond(Xt):-1,Ro=Se.getNow(),_o=ie.useMemo(function(){if(br){var Sn=br(Ro);return[Sn.disabledHours,Sn.disabledMinutes,Sn.disabledSeconds]}return[ga,ka,Ar]},[ga,ka,Ar,br,Ro]),wi=(0,Lt.Z)(_o,3),Ni=wi[0],fi=wi[1],Mo=wi[2],ol=Ya(0,23,fa,Ni&&Ni()),Xi=(0,st.Z)(function(){return ol},ol,Tr);ua&&(ei=pi>=12,pi%=12);var Ee=ie.useMemo(function(){if(!ua)return[!1,!1];var Sn=[!0,!0];return Xi.forEach(function(En){var ea=En.disabled,ra=En.value;ea||(ra>=12?Sn[1]=!1:Sn[0]=!1)}),Sn},[ua,Xi]),Ce=(0,Lt.Z)(Ee,2),Ue=Ce[0],rt=Ce[1],ht=ie.useMemo(function(){return ua?Xi.filter(ei?function(Sn){return Sn.value>=12}:function(Sn){return Sn.value<12}).map(function(Sn){var En=Sn.value%12,ea=En===0?"12":Ba(En,2);return(0,ct.Z)((0,ct.Z)({},Sn),{},{label:ea,value:En})}):Xi},[ua,ei,Xi]),pt=Ya(0,59,Ia,fi&&fi(li)),$t=Ya(0,59,Mn,Mo&&Mo(li,zi)),Qt=ba({value:Xt,generateConfig:Se,disabledMinutes:fi,disabledSeconds:Mo,minutes:pt,seconds:$t,use12Hours:ua});tt.current={onUpDown:function(En){var ea=Vo[lt];if(ea)for(var ra=ea.units.findIndex(function(nr){return nr.value===ea.value}),ma=ea.units.length,La=1;La<ma;La+=1){var zt=ea.units[(ra+En*La+ma)%ma];if(zt.disabled!==!0){ea.onSelect(zt.value);break}}}};function Ut(Sn,En,ea,ra,ma){Sn!==!1&&Vo.push({node:ie.cloneElement(En,{prefixCls:Ho,value:ea,active:lt===Vo.length,onSelect:ma,units:ra,hideDisabledOptions:Ir}),onSelect:ma,value:ea,units:ra})}Ut(Wt,ie.createElement(vr,{key:"hour",type:"hour",info:{today:Ro,locale:jn,cellRender:Rr}}),pi,ht,function(Sn){Wr(Qt(ei,Sn,zi,oo),"mouse")}),Ut(Tn,ie.createElement(vr,{key:"minute",type:"minute",info:{today:Ro,locale:jn,cellRender:Rr}}),zi,pt,function(Sn){Wr(Qt(ei,pi,Sn,oo),"mouse")}),Ut(kn,ie.createElement(vr,{key:"second",type:"second",info:{today:Ro,locale:jn,cellRender:Rr}}),oo,$t,function(Sn){Wr(Qt(ei,pi,zi,Sn),"mouse")});var xn=-1;return typeof ei=="boolean"&&(xn=ei?1:0),Ut(ua===!0,ie.createElement(vr,{key:"meridiem",type:"meridiem",info:{today:Ro,locale:jn,cellRender:Rr}}),xn,[{label:"AM",value:0,disabled:Ue},{label:"PM",value:1,disabled:rt}],function(Sn){Wr(Qt(!!Sn,pi,zi,oo),"mouse")}),ie.createElement("div",{className:fo},Vo.map(function(Sn){var En=Sn.node;return En}))}var hr=lr,Po=function(Se){return Se.filter(function(be){return be!==!1}).length};function ri(me){var Se=me.generateConfig,be=me.format,tt=be===void 0?"HH:mm:ss":be,lt=me.prefixCls,Xt=me.active,Wt=me.operationRef,Tn=me.showHour,kn=me.showMinute,ua=me.showSecond,Aa=me.use12Hours,fa=Aa===void 0?!1:Aa,vn=me.onSelect,Ia=me.value,Ma="".concat(lt,"-time-panel"),Mn=ie.useRef(),ga=ie.useState(-1),ka=(0,Lt.Z)(ga,2),Ar=ka[0],br=ka[1],Ir=Po([Tn,kn,ua,fa]);return Wt.current={onKeyDown:function(Rr){return ar(Rr,{onLeftRight:function(Vo){br((Ar+Vo+Ir)%Ir)},onUpDown:function(Vo){Ar===-1?br(0):Mn.current&&Mn.current.onUpDown(Vo)},onEnter:function(){vn(Ia||Se.getNow(),"key"),br(-1)}})},onBlur:function(){br(-1)}},ie.createElement("div",{className:Ve()(Ma,(0,He.Z)({},"".concat(Ma,"-active"),Xt))},ie.createElement(na,(0,se.Z)({},me,{format:tt,prefixCls:lt})),ie.createElement(hr,(0,se.Z)({},me,{prefixCls:lt,activeColumnIndex:Ar,operationRef:Mn})))}var xi=ri,ho=Xn("date","time");function bo(me){var Se=me.prefixCls,be=me.operationRef,tt=me.generateConfig,lt=me.value,Xt=me.defaultValue,Wt=me.disabledTime,Tn=me.showTime,kn=me.onSelect,ua=me.cellRender,Aa="".concat(Se,"-datetime-panel"),fa=ie.useState(null),vn=(0,Lt.Z)(fa,2),Ia=vn[0],Ma=vn[1],Mn=ie.useRef({}),ga=ie.useRef({}),ka=(0,Gn.Z)(Tn)==="object"?(0,ct.Z)({},Tn):{};function Ar(Rr){var jn=ho.indexOf(Ia)+Rr,Vo=ho[jn]||null;return Vo}var br=function(jn){ga.current.onBlur&&ga.current.onBlur(jn),Ma(null)};be.current={onKeyDown:function(jn){if(jn.which===gn.Z.TAB){var Vo=Ar(jn.shiftKey?-1:1);return Ma(Vo),Vo&&jn.preventDefault(),!0}if(Ia){var fo=Ia==="date"?Mn:ga;return fo.current&&fo.current.onKeyDown&&fo.current.onKeyDown(jn),!0}return[gn.Z.LEFT,gn.Z.RIGHT,gn.Z.UP,gn.Z.DOWN].includes(jn.which)?(Ma("date"),!0):!1},onBlur:br,onClose:br};var Ir=function(jn,Vo){var fo=jn;Vo==="date"&&!lt&&ka.defaultValue?(fo=tt.setHour(fo,tt.getHour(ka.defaultValue)),fo=tt.setMinute(fo,tt.getMinute(ka.defaultValue)),fo=tt.setSecond(fo,tt.getSecond(ka.defaultValue))):Vo==="time"&&!lt&&Xt&&(fo=tt.setYear(fo,tt.getYear(Xt)),fo=tt.setMonth(fo,tt.getMonth(Xt)),fo=tt.setDate(fo,tt.getDate(Xt))),kn&&kn(fo,"mouse")},Wr=Wt?Wt(lt||null):{};return ie.createElement("div",{className:Ve()(Aa,(0,He.Z)({},"".concat(Aa,"-active"),Ia))},ie.createElement(za,(0,se.Z)({},me,{cellRender:ua,operationRef:Mn,active:Ia==="date",onSelect:function(jn){Ir(Pn(tt,jn,!lt&&(0,Gn.Z)(Tn)==="object"?Tn.defaultValue:null),"date")}})),ie.createElement(xi,(0,se.Z)({},me,{cellRender:ua?function(Rr,jn){return ua(Rr,(0,ct.Z)((0,ct.Z)({},jn),{},{type:"time"}))}:void 0,format:void 0},ka,Wr,{disabledTime:null,defaultValue:void 0,operationRef:ga,active:Ia==="time",onSelect:function(jn){Ir(jn,"time")}})))}var Wo=bo;function ko(me){var Se=me.prefixCls,be=me.generateConfig,tt=me.viewDate,lt=me.onPrevDecades,Xt=me.onNextDecades,Wt=ie.useContext(Yn),Tn=Wt.hideHeader;if(Tn)return null;var kn="".concat(Se,"-header"),ua=be.getYear(tt),Aa=Math.floor(ua/fe)*fe,fa=Aa+fe-1;return ie.createElement(tn,(0,se.Z)({},me,{prefixCls:kn,onSuperPrev:lt,onSuperNext:Xt}),Aa,"-",fa)}var No=ko,Er=3,to=4;function Yo(me){var Se=De-1,be=me.prefixCls,tt=me.viewDate,lt=me.generateConfig,Xt=me.cellRender,Wt=me.locale,Tn="".concat(be,"-cell"),kn=lt.getYear(tt),ua=Math.floor(kn/De)*De,Aa=Math.floor(kn/fe)*fe,fa=Aa+fe-1,vn=lt.setYear(tt,Aa-Math.ceil((Er*to*De-fe)/2)),Ia=function(ga){var ka,Ar=lt.getYear(ga),br=Ar+Se;return ka={},(0,He.Z)(ka,"".concat(Tn,"-in-view"),Aa<=Ar&&br<=fa),(0,He.Z)(ka,"".concat(Tn,"-selected"),Ar===ua),ka},Ma=Xt?function(Mn,ga){return Xt(Mn,{originNode:ga,today:lt.getNow(),type:"decade",locale:Wt})}:void 0;return ie.createElement(Wn,(0,se.Z)({},me,{rowNum:to,colNum:Er,baseDate:vn,getCellNode:Ma,getCellText:function(ga){var ka=lt.getYear(ga);return"".concat(ka,"-").concat(ka+Se)},getCellClassName:Ia,getCellDate:function(ga,ka){return lt.addYear(ga,ka*De)}}))}var Jo=Yo;function Lo(me){var Se=me.prefixCls,be=me.onViewDateChange,tt=me.generateConfig,lt=me.viewDate,Xt=me.operationRef,Wt=me.onSelect,Tn=me.onPanelChange,kn="".concat(Se,"-decade-panel");Xt.current={onKeyDown:function(vn){return ar(vn,{onLeftRight:function(Ma){Wt(tt.addYear(lt,Ma*De),"key")},onCtrlLeftRight:function(Ma){Wt(tt.addYear(lt,Ma*fe),"key")},onUpDown:function(Ma){Wt(tt.addYear(lt,Ma*De*Er),"key")},onEnter:function(){Tn("year",lt)}})}};var ua=function(vn){var Ia=tt.addYear(lt,vn*fe);be(Ia),Tn(null,Ia)},Aa=function(vn){Wt(vn,"mouse"),Tn("year",vn)};return ie.createElement("div",{className:kn},ie.createElement(No,(0,se.Z)({},me,{prefixCls:Se,onPrevDecades:function(){ua(-1)},onNextDecades:function(){ua(1)}})),ie.createElement(Jo,(0,se.Z)({},me,{prefixCls:Se,onSelect:Aa})))}var wr=Lo;function oi(me){var Se=me.prefixCls,be=me.generateConfig,tt=me.locale,lt=me.viewDate,Xt=me.onNextYear,Wt=me.onPrevYear,Tn=me.onYearClick,kn=ie.useContext(Yn),ua=kn.hideHeader;if(ua)return null;var Aa="".concat(Se,"-header");return ie.createElement(tn,(0,se.Z)({},me,{prefixCls:Aa,onSuperPrev:Wt,onSuperNext:Xt}),ie.createElement("button",{type:"button",onClick:Tn,className:"".concat(Se,"-year-btn")},yt(lt,{locale:tt,format:tt.yearFormat,generateConfig:be})))}var Gr=oi,To=3,mo=4;function di(me){var Se=me.prefixCls,be=me.locale,tt=me.value,lt=me.viewDate,Xt=me.generateConfig,Wt=me.cellRender,Tn=ie.useContext(xr),kn=Tn.rangedValue,ua=Tn.hoverRangedValue,Aa="".concat(Se,"-cell"),fa=Nr({cellPrefixCls:Aa,value:tt,generateConfig:Xt,rangedValue:kn,hoverRangedValue:ua,isSameCell:function(ga,ka){return Me(Xt,ga,ka)},isInView:function(){return!0},offsetCell:function(ga,ka){return Xt.addMonth(ga,ka)}}),vn=be.shortMonths||(Xt.locale.getShortMonths?Xt.locale.getShortMonths(be.locale):[]),Ia=Xt.setMonth(lt,0),Ma=Wt?function(Mn,ga){return Wt(Mn,{originNode:ga,locale:be,today:Xt.getNow(),type:"month"})}:void 0;return ie.createElement(Wn,(0,se.Z)({},me,{rowNum:mo,colNum:To,baseDate:Ia,getCellNode:Ma,getCellText:function(ga){return be.monthFormat?yt(ga,{locale:be,format:be.monthFormat,generateConfig:Xt}):vn[Xt.getMonth(ga)]},getCellClassName:fa,getCellDate:Xt.addMonth,titleCell:function(ga){return yt(ga,{locale:be,format:"YYYY-MM",generateConfig:Xt})}}))}var vi=di;function Ui(me){var Se=me.prefixCls,be=me.operationRef,tt=me.onViewDateChange,lt=me.generateConfig,Xt=me.value,Wt=me.viewDate,Tn=me.onPanelChange,kn=me.onSelect,ua="".concat(Se,"-month-panel");be.current={onKeyDown:function(vn){return ar(vn,{onLeftRight:function(Ma){kn(lt.addMonth(Xt||Wt,Ma),"key")},onCtrlLeftRight:function(Ma){kn(lt.addYear(Xt||Wt,Ma),"key")},onUpDown:function(Ma){kn(lt.addMonth(Xt||Wt,Ma*To),"key")},onEnter:function(){Tn("date",Xt||Wt)}})}};var Aa=function(vn){var Ia=lt.addYear(Wt,vn);tt(Ia),Tn(null,Ia)};return ie.createElement("div",{className:ua},ie.createElement(Gr,(0,se.Z)({},me,{prefixCls:Se,onPrevYear:function(){Aa(-1)},onNextYear:function(){Aa(1)},onYearClick:function(){Tn("year",Wt)}})),ie.createElement(vi,(0,se.Z)({},me,{prefixCls:Se,onSelect:function(vn){kn(vn,"mouse"),Tn("date",vn)}})))}var tl=Ui;function nl(me){var Se=me.prefixCls,be=me.generateConfig,tt=me.locale,lt=me.viewDate,Xt=me.onNextYear,Wt=me.onPrevYear,Tn=me.onYearClick,kn=ie.useContext(Yn),ua=kn.hideHeader;if(ua)return null;var Aa="".concat(Se,"-header");return ie.createElement(tn,(0,se.Z)({},me,{prefixCls:Aa,onSuperPrev:Wt,onSuperNext:Xt}),ie.createElement("button",{type:"button",onClick:Tn,className:"".concat(Se,"-year-btn")},yt(lt,{locale:tt,format:tt.yearFormat,generateConfig:be})))}var $o=nl,Fi=4,Wi=1;function dl(me){var Se=me.prefixCls,be=me.locale,tt=me.value,lt=me.viewDate,Xt=me.generateConfig,Wt=me.cellRender,Tn=ie.useContext(xr),kn=Tn.rangedValue,ua=Tn.hoverRangedValue,Aa="".concat(Se,"-cell"),fa=Nr({cellPrefixCls:Aa,value:tt,generateConfig:Xt,rangedValue:kn,hoverRangedValue:ua,isSameCell:function(Mn,ga){return et(Xt,Mn,ga)},isInView:function(){return!0},offsetCell:function(Mn,ga){return Xt.addMonth(Mn,ga*3)}}),vn=Xt.setDate(Xt.setMonth(lt,0),1),Ia=Wt?function(Ma,Mn){return Wt(Ma,{originNode:Mn,locale:be,today:Xt.getNow(),type:"quarter"})}:void 0;return ie.createElement(Wn,(0,se.Z)({},me,{rowNum:Wi,colNum:Fi,baseDate:vn,getCellNode:Ia,getCellText:function(Mn){return yt(Mn,{locale:be,format:be.quarterFormat||"[Q]Q",generateConfig:Xt})},getCellClassName:fa,getCellDate:function(Mn,ga){return Xt.addMonth(Mn,ga*3)},titleCell:function(Mn){return yt(Mn,{locale:be,format:"YYYY-[Q]Q",generateConfig:Xt})}}))}var gl=dl;function Pl(me){var Se=me.prefixCls,be=me.operationRef,tt=me.onViewDateChange,lt=me.generateConfig,Xt=me.value,Wt=me.viewDate,Tn=me.onPanelChange,kn=me.onSelect,ua="".concat(Se,"-quarter-panel");be.current={onKeyDown:function(vn){return ar(vn,{onLeftRight:function(Ma){kn(lt.addMonth(Xt||Wt,Ma*3),"key")},onCtrlLeftRight:function(Ma){kn(lt.addYear(Xt||Wt,Ma),"key")},onUpDown:function(Ma){kn(lt.addYear(Xt||Wt,Ma),"key")}})}};var Aa=function(vn){var Ia=lt.addYear(Wt,vn);tt(Ia),Tn(null,Ia)};return ie.createElement("div",{className:ua},ie.createElement($o,(0,se.Z)({},me,{prefixCls:Se,onPrevYear:function(){Aa(-1)},onNextYear:function(){Aa(1)},onYearClick:function(){Tn("year",Wt)}})),ie.createElement(gl,(0,se.Z)({},me,{prefixCls:Se,onSelect:function(vn){kn(vn,"mouse")}})))}var _r=Pl;function qa(me){var Se=me.prefixCls,be=me.generateConfig,tt=me.locale,lt=me.value,Xt=me.disabledDate,Wt=me.onSelect,Tn=ie.useContext(xr),kn=Tn.rangedValue,ua=Tn.hoverRangedValue,Aa=ie.useContext(Yn),fa=Aa.onDateMouseEnter,vn=Aa.onDateMouseLeave,Ia=(ua==null?void 0:ua[0])||(kn==null?void 0:kn[0]),Ma=(ua==null?void 0:ua[1])||(kn==null?void 0:kn[1]),Mn="".concat(Se,"-cell"),ga=function(Ir){var Wr=Bt({cellDate:Ir,mode:"week",disabledDate:Xt,generateConfig:be});return ie.createElement("td",{key:"week",className:Ve()(Mn,"".concat(Mn,"-week")),onClick:function(){Wr||Wt(Ir,"mouse")},onMouseEnter:function(){!Wr&&fa&&fa(Ir)},onMouseLeave:function(){!Wr&&vn&&vn(Ir)}},ie.createElement("div",{className:"".concat(Mn,"-inner")},be.locale.getWeek(tt.locale,Ir)))},ka="".concat(Se,"-week-panel-row"),Ar=function(Ir){var Wr,Rr=nn(be,tt.locale,Ia,Ir),jn=nn(be,tt.locale,Ma,Ir);return Ve()(ka,(Wr={},(0,He.Z)(Wr,"".concat(ka,"-selected"),!kn&&nn(be,tt.locale,lt,Ir)),(0,He.Z)(Wr,"".concat(ka,"-range-start"),Rr),(0,He.Z)(Wr,"".concat(ka,"-range-end"),jn),(0,He.Z)(Wr,"".concat(ka,"-range-hover"),!Rr&&!jn&&ln(be,Ia,Ma,Ir)),Wr))};return ie.createElement(za,(0,se.Z)({},me,{panelName:"week",prefixColumn:ga,rowClassName:Ar,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var Va=qa,er=10;function so(me){var Se=me.prefixCls,be=me.generateConfig,tt=me.viewDate,lt=me.onPrevDecade,Xt=me.onNextDecade,Wt=me.onDecadeClick,Tn=ie.useContext(Yn),kn=Tn.hideHeader;if(kn)return null;var ua="".concat(Se,"-header"),Aa=be.getYear(tt),fa=Math.floor(Aa/er)*er,vn=fa+er-1;return ie.createElement(tn,(0,se.Z)({},me,{prefixCls:ua,onSuperPrev:lt,onSuperNext:Xt}),ie.createElement("button",{type:"button",onClick:Wt,className:"".concat(Se,"-decade-btn")},fa,"-",vn))}var we=so,hn=3,Rn=4;function ya(me){var Se=me.prefixCls,be=me.value,tt=me.viewDate,lt=me.locale,Xt=me.generateConfig,Wt=me.cellRender,Tn=ie.useContext(xr),kn=Tn.rangedValue,ua=Tn.hoverRangedValue,Aa="".concat(Se,"-cell"),fa=Xt.getYear(tt),vn=Math.floor(fa/er)*er,Ia=vn+er-1,Ma=Xt.setYear(tt,vn-Math.ceil((hn*Rn-er)/2)),Mn=Xt.getNow(),ga=function(Ir){var Wr=Xt.getYear(Ir);return vn<=Wr&&Wr<=Ia},ka=Nr({cellPrefixCls:Aa,value:be,generateConfig:Xt,rangedValue:kn,hoverRangedValue:ua,isSameCell:function(Ir,Wr){return Ie(Xt,Ir,Wr)},isInView:ga,offsetCell:function(Ir,Wr){return Xt.addYear(Ir,Wr)}}),Ar=Wt?function(br,Ir){return Wt(br,{originNode:Ir,today:Mn,type:"year",locale:lt})}:void 0;return ie.createElement(Wn,(0,se.Z)({},me,{rowNum:Rn,colNum:hn,baseDate:Ma,getCellNode:Ar,getCellText:Xt.getYear,getCellClassName:ka,getCellDate:Xt.addYear,titleCell:function(Ir){return yt(Ir,{locale:lt,format:"YYYY",generateConfig:Xt})}}))}var un=ya;function Za(me){var Se=me.prefixCls,be=me.operationRef,tt=me.onViewDateChange,lt=me.generateConfig,Xt=me.value,Wt=me.viewDate,Tn=me.sourceMode,kn=me.onSelect,ua=me.onPanelChange,Aa="".concat(Se,"-year-panel");be.current={onKeyDown:function(Ia){return ar(Ia,{onLeftRight:function(Mn){kn(lt.addYear(Xt||Wt,Mn),"key")},onCtrlLeftRight:function(Mn){kn(lt.addYear(Xt||Wt,Mn*er),"key")},onUpDown:function(Mn){kn(lt.addYear(Xt||Wt,Mn*hn),"key")},onEnter:function(){ua(Tn==="date"?"date":"month",Xt||Wt)}})}};var fa=function(Ia){var Ma=lt.addYear(Wt,Ia*10);tt(Ma),ua(null,Ma)};return ie.createElement("div",{className:Aa},ie.createElement(we,(0,se.Z)({},me,{prefixCls:Se,onPrevDecade:function(){fa(-1)},onNextDecade:function(){fa(1)},onDecadeClick:function(){ua("decade",Wt)}})),ie.createElement(un,(0,se.Z)({},me,{prefixCls:Se,onSelect:function(Ia){ua(Tn==="date"?"date":"month",Ia),kn(Ia,"mouse")}})))}var Na=Za;function Hn(me,Se,be){return be?ie.createElement("div",{className:"".concat(me,"-footer-extra")},be(Se)):null}function qn(me){var Se=me.prefixCls,be=me.components,tt=be===void 0?{}:be,lt=me.needConfirmButton,Xt=me.onNow,Wt=me.onOk,Tn=me.okDisabled,kn=me.showNow,ua=me.locale,Aa,fa;if(lt){var vn=tt.button||"button";Xt&&kn!==!1&&(Aa=ie.createElement("li",{className:"".concat(Se,"-now")},ie.createElement("a",{className:"".concat(Se,"-now-btn"),onClick:Xt},ua.now))),fa=lt&&ie.createElement("li",{className:"".concat(Se,"-ok")},ie.createElement(vn,{disabled:Tn,onClick:Wt},ua.ok))}return!Aa&&!fa?null:ie.createElement("ul",{className:"".concat(Se,"-ranges")},Aa,fa)}var pr=["date","month"];function Wa(me){var Se,be=me,tt=be.prefixCls,lt=tt===void 0?"rc-picker":tt,Xt=be.className,Wt=be.style,Tn=be.locale,kn=be.generateConfig,ua=be.value,Aa=be.defaultValue,fa=be.pickerValue,vn=be.defaultPickerValue,Ia=be.disabledDate,Ma=be.mode,Mn=be.picker,ga=Mn===void 0?"date":Mn,ka=be.tabIndex,Ar=ka===void 0?0:ka,br=be.showNow,Ir=be.showTime,Wr=be.showToday,Rr=be.renderExtraFooter,jn=be.hideHeader,Vo=be.onSelect,fo=be.onChange,Ho=be.onPanelChange,ei=be.onMouseDown,li=be.onPickerValueChange,pi=be.onOk,zi=be.components,oo=be.direction,Ro=be.hourStep,_o=Ro===void 0?1:Ro,wi=be.minuteStep,Ni=wi===void 0?1:wi,fi=be.secondStep,Mo=fi===void 0?1:fi,ol=be.dateRender,Xi=be.monthCellRender,Ee=be.cellRender,Ce=ga==="date"&&!!Ir||ga==="time",Ue=24%_o===0,rt=60%Ni===0,ht=60%Mo===0,pt=ie.useContext(Yn),$t=pt.operationRef,Qt=pt.onSelect,Ut=pt.hideRanges,xn=pt.defaultOpenValue,Sn=ie.useContext(xr),En=Sn.inRange,ea=Sn.panelPosition,ra=Sn.rangedValue,ma=Sn.hoverRangedValue,La=ie.useRef({}),zt=ie.useRef(!0),nr=(0,mt.Z)(null,{value:ua,defaultValue:Aa,postState:function(pe){return!pe&&xn&&ga==="time"?xn:pe}}),ja=(0,Lt.Z)(nr,2),dr=ja[0],Zr=ja[1],Qr=(0,mt.Z)(null,{value:fa,defaultValue:vn||dr,postState:function(pe){var Pe=kn.getNow();if(!pe)return Pe;if(!dr&&Ir){var Ot=(0,Gn.Z)(Ir)==="object"?Ir.defaultValue:Aa;return Pn(kn,Array.isArray(pe)?pe[0]:pe,Ot||Pe)}return Array.isArray(pe)?pe[0]:pe}}),Or=(0,Lt.Z)(Qr,2),Kr=Or[0],jr=Or[1],ur=function(pe){jr(pe),li&&li(pe)},sr=function(pe){var Pe=pn[ga];return Pe?Pe(pe):pe},yr=(0,mt.Z)(function(){return ga==="time"?"time":sr("date")},{value:Ma}),$a=(0,Lt.Z)(yr,2),cr=$a[0],$r=$a[1];ie.useEffect(function(){$r(ga)},[ga]);var yo=ie.useState(function(){return cr}),lo=(0,Lt.Z)(yo,2),kr=lo[0],vo=lo[1],wo=function(pe,Pe){var Ot=sr(pe||cr);vo(cr),$r(Ot),Ho&&(cr!==Ot||fn(kn,Kr,Kr))&&Ho(Pe,Ot)},Ta=function(pe,Pe){var Ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(cr===ga||Ot)&&(Zr(pe),Vo&&Vo(pe),Qt&&Qt(pe,Pe),fo&&!fn(kn,pe,dr)&&!(Ia!=null&&Ia(pe))&&fo(pe))},Do=function(pe){if(pr.includes(cr)){var Pe,Ot,en=cr==="date";switch(pe===gn.Z.PAGE_UP||pe===gn.Z.PAGE_DOWN?Ot=en?kn.addMonth:kn.addYear:Ot=en?kn.addDate:kn.addMonth,pe){case gn.Z.LEFT:case gn.Z.PAGE_UP:Pe=Ot(Kr,-1);break;case gn.Z.RIGHT:case gn.Z.PAGE_DOWN:Pe=Ot(Kr,1);break;case gn.Z.UP:case gn.Z.DOWN:Pe=Ot(Kr,Number("".concat(pe===gn.Z.UP?"-":"").concat(en?Xe:To)));break}if(Pe)return!(Ia!=null&&Ia(Pe))}return!0},yi=function(pe){if(La.current&&La.current.onKeyDown){var Pe=!0,Ot=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(Ot)&&(pe.preventDefault(),Ot!==gn.Z.ENTER&&Ar===0&&(Pe=Do(Ot))),Pe)return La.current.onKeyDown(pe)}return(0,Be.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Ao=function(pe){La.current&&La.current.onBlur&&La.current.onBlur(pe)};$t&&ea!=="right"&&($t.current={onKeyDown:yi,onClose:function(){La.current&&La.current.onClose&&La.current.onClose()}}),ie.useEffect(function(){ua&&!zt.current&&jr(ua)},[ua]),ie.useEffect(function(){zt.current=!1},[]);var qr,bi=ir({cellRender:Ee,monthCellRender:Xi,dateRender:ol}),Yr=(0,ct.Z)((0,ct.Z)({},me),{},{cellRender:bi,operationRef:La,prefixCls:lt,viewDate:Kr,value:dr,onViewDateChange:ur,sourceMode:kr,onPanelChange:wo,disabledDate:Ia});switch(delete Yr.onChange,delete Yr.onSelect,cr){case"decade":qr=ie.createElement(wr,(0,se.Z)({},Yr,{onSelect:function(pe,Pe){ur(pe),Ta(pe,Pe)}}));break;case"year":qr=ie.createElement(Na,(0,se.Z)({},Yr,{onSelect:function(pe,Pe){ur(pe),Ta(pe,Pe)}}));break;case"month":qr=ie.createElement(tl,(0,se.Z)({},Yr,{onSelect:function(pe,Pe){ur(pe),Ta(pe,Pe)}}));break;case"quarter":qr=ie.createElement(_r,(0,se.Z)({},Yr,{onSelect:function(pe,Pe){ur(pe),Ta(pe,Pe)}}));break;case"week":qr=ie.createElement(Va,(0,se.Z)({},Yr,{onSelect:function(pe,Pe){ur(pe),Ta(pe,Pe)}}));break;case"time":delete Yr.showTime,qr=ie.createElement(xi,(0,se.Z)({},Yr,(0,Gn.Z)(Ir)==="object"?Ir:null,{onSelect:function(pe,Pe){ur(pe),Ta(pe,Pe)}}));break;default:Ir?qr=ie.createElement(Wo,(0,se.Z)({},Yr,{onSelect:function(pe,Pe){ur(pe),Ta(pe,Pe)}})):qr=ie.createElement(za,(0,se.Z)({},Yr,{onSelect:function(pe,Pe){ur(pe),Ta(pe,Pe)}}))}var gi,Zo,_i=function(){var pe=kn.getNow(),Pe=Jt(kn.getHour(pe),kn.getMinute(pe),kn.getSecond(pe),Ue?_o:1,rt?Ni:1,ht?Mo:1),Ot=$e(kn,pe,Pe[0],Pe[1],Pe[2]);Ta(Ot,"submit")};Ut||(gi=Hn(lt,cr,Rr),Ir&&cr!=="date"?Zo=null:Zo=qn({prefixCls:lt,components:zi,needConfirmButton:Ce,okDisabled:!dr||Ia&&Ia(dr),locale:Tn,showNow:br,onNow:Ce&&_i,onOk:function(){dr&&(Ta(dr,"submit",!0),pi&&pi(dr))}}));var no;if(Wr&&cr==="date"&&ga==="date"&&!Ir){var zr=kn.getNow(),Jr="".concat(lt,"-today-btn"),Hr=Ia&&Ia(zr);no=ie.createElement("a",{className:Ve()(Jr,Hr&&"".concat(Jr,"-disabled")),"aria-disabled":Hr,onClick:function(){Hr||Ta(zr,"mouse",!0)}},Tn.today)}return ie.createElement(Yn.Provider,{value:(0,ct.Z)((0,ct.Z)({},pt),{},{mode:cr,hideHeader:"hideHeader"in me?jn:pt.hideHeader,hidePrevBtn:En&&ea==="right",hideNextBtn:En&&ea==="left"})},ie.createElement("div",{tabIndex:Ar,className:Ve()("".concat(lt,"-panel"),Xt,(Se={},(0,He.Z)(Se,"".concat(lt,"-panel-has-range"),ra&&ra[0]&&ra[1]),(0,He.Z)(Se,"".concat(lt,"-panel-has-range-hover"),ma&&ma[0]&&ma[1]),(0,He.Z)(Se,"".concat(lt,"-panel-rtl"),oo==="rtl"),Se)),style:Wt,onKeyDown:yi,onBlur:Ao,onMouseDown:ei},qr,gi||Zo||no?ie.createElement("div",{className:"".concat(lt,"-footer")},gi,Zo,no):null))}var Ha=Wa,tr=ee(35593),Mr={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 Co(me){var Se,be=me.prefixCls,tt=me.popupElement,lt=me.popupStyle,Xt=me.visible,Wt=me.dropdownClassName,Tn=me.dropdownAlign,kn=me.transitionName,ua=me.getPopupContainer,Aa=me.children,fa=me.range,vn=me.popupPlacement,Ia=me.direction,Ma="".concat(be,"-dropdown"),Mn=function(){return vn!==void 0?vn:Ia==="rtl"?"bottomRight":"bottomLeft"};return ie.createElement(tr.Z,{showAction:[],hideAction:[],popupPlacement:Mn(),builtinPlacements:Mr,prefixCls:Ma,popupTransitionName:kn,popup:tt,popupAlign:Tn,popupVisible:Xt,popupClassName:Ve()(Wt,(Se={},(0,He.Z)(Se,"".concat(Ma,"-range"),fa),(0,He.Z)(Se,"".concat(Ma,"-rtl"),Ia==="rtl"),Se)),popupStyle:lt,getPopupContainer:ua},Aa)}var Uo=Co;function Ko(me){var Se=me.prefixCls,be=me.presets,tt=me.onClick,lt=me.onHover;return be.length?ie.createElement("div",{className:"".concat(Se,"-presets")},ie.createElement("ul",null,be.map(function(Xt,Wt){var Tn=Xt.label,kn=Xt.value;return ie.createElement("li",{key:Wt,onClick:function(){return tt==null?void 0:tt(mr(kn))},onMouseEnter:function(){return lt==null?void 0:lt(mr(kn))},onMouseLeave:function(){return lt==null?void 0:lt(null)}},Tn)}))):null}function Ti(me){var Se=me.picker,be=me.disabledHours,tt=me.disabledMinutes,lt=me.disabledSeconds;Se==="time"&&(be||tt||lt)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Ji(me,Se,be){var tt=(0,Gn.Z)(Se)==="object"?Se.clearIcon:be;return tt||ie.createElement("span",{className:"".concat(me,"-clear-btn")})}function al(me){var Se,be=me,tt=be.prefixCls,lt=tt===void 0?"rc-picker":tt,Xt=be.id,Wt=be.name,Tn=be.tabIndex,kn=be.style,ua=be.className,Aa=be.dropdownClassName,fa=be.dropdownAlign,vn=be.popupStyle,Ia=be.transitionName,Ma=be.generateConfig,Mn=be.locale,ga=be.inputReadOnly,ka=be.allowClear,Ar=be.autoFocus,br=be.showTime,Ir=be.picker,Wr=Ir===void 0?"date":Ir,Rr=be.format,jn=be.use12Hours,Vo=be.value,fo=be.defaultValue,Ho=be.presets,ei=be.open,li=be.defaultOpen,pi=be.defaultOpenValue,zi=be.suffixIcon,oo=be.clearIcon,Ro=be.disabled,_o=be.disabledDate,wi=be.placeholder,Ni=be.getPopupContainer,fi=be.pickerRef,Mo=be.panelRender,ol=be.onChange,Xi=be.onOpenChange,Ee=be.onFocus,Ce=be.onBlur,Ue=be.onMouseDown,rt=be.onMouseUp,ht=be.onMouseEnter,pt=be.onMouseLeave,$t=be.onContextMenu,Qt=be.onClick,Ut=be.onKeyDown,xn=be.onSelect,Sn=be.direction,En=be.autoComplete,ea=En===void 0?"off":En,ra=be.inputRender,ma=be.changeOnBlur,La=ie.useRef(null),zt=Wr==="date"&&!!br||Wr==="time",nr=It(Ho),ja=Ua(pa(Rr,Wr,br,jn)),dr=ie.useRef(null),Zr=ie.useRef(null),Qr=ie.useRef(null),Or=(0,mt.Z)(null,{value:Vo,defaultValue:fo}),Kr=(0,Lt.Z)(Or,2),jr=Kr[0],ur=Kr[1],sr=ie.useState(jr),yr=(0,Lt.Z)(sr,2),$a=yr[0],cr=yr[1],$r=ie.useRef(null),yo=(0,mt.Z)(!1,{value:ei,defaultValue:li,postState:function(Ka){return Ro?!1:Ka},onChange:function(Ka){Xi&&Xi(Ka),!Ka&&$r.current&&$r.current.onClose&&$r.current.onClose()}}),lo=(0,Lt.Z)(yo,2),kr=lo[0],vo=lo[1],wo=Mt($a,{formatList:ja,generateConfig:Ma,locale:Mn}),Ta=(0,Lt.Z)(wo,2),Do=Ta[0],yi=Ta[1],Ao=bt({valueTexts:Do,onTextChange:function(Ka){var eo=Zt(Ka,{locale:Mn,formatList:ja,generateConfig:Ma});eo&&(!_o||!_o(eo))&&cr(eo)}}),qr=(0,Lt.Z)(Ao,3),bi=qr[0],Yr=qr[1],gi=qr[2],Zo=function(Ka){cr(Ka),ur(Ka),ol&&!fn(Ma,jr,Ka)&&ol(Ka,Ka?yt(Ka,{generateConfig:Ma,locale:Mn,format:ja[0]}):"")},_i=function(Ka){Ro&&Ka||vo(Ka)},no=function(Ka){return kr&&$r.current&&$r.current.onKeyDown?$r.current.onKeyDown(Ka):((0,Be.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},zr=function(){for(var Ka=arguments.length,eo=new Array(Ka),Sr=0;Sr<Ka;Sr++)eo[Sr]=arguments[Sr];Qt==null||Qt.apply(void 0,eo),La.current&&(La.current.focus(),_i(!0))},Jr=function(Ka){ma&&Zo($a),Ce==null||Ce(Ka)},Hr=Sa({blurToCancel:zt,open:kr,value:bi,triggerOpen:_i,forwardKeyDown:no,isClickOutside:function(Ka){return!ia([dr.current,Zr.current,Qr.current],Ka)},onSubmit:function(){return!$a||_o&&_o($a)?!1:(Zo($a),_i(!1),gi(),!0)},onCancel:function(){_i(!1),cr(jr),gi()},onKeyDown:function(Ka,eo){Ut==null||Ut(Ka,eo)},onFocus:Ee,onBlur:Jr,changeOnBlur:ma}),ce=(0,Lt.Z)(Hr,2),pe=ce[0],Pe=ce[1],Ot=Pe.focused,en=Pe.typing;ie.useEffect(function(){kr||(cr(jr),!Do.length||Do[0]===""?Yr(""):yi!==bi&&gi())},[kr,Do]),ie.useEffect(function(){kr||gi()},[Wr]),ie.useEffect(function(){cr(jr)},[jr]),fi&&(fi.current={focus:function(){var Ka;(Ka=La.current)===null||Ka===void 0||Ka.focus()},blur:function(){var Ka;(Ka=La.current)===null||Ka===void 0||Ka.blur()}});var Oa=dn(bi,{formatList:ja,generateConfig:Ma,locale:Mn}),va=(0,Lt.Z)(Oa,3),_n=va[0],Ht=va[1],Un=va[2],Fn=(0,ct.Z)((0,ct.Z)({},me),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Pt=ie.createElement("div",{className:"".concat(lt,"-panel-layout")},ie.createElement(Ko,{prefixCls:lt,presets:nr,onClick:function(Ka){Zo(Ka),_i(!1)}}),ie.createElement(Ha,(0,se.Z)({},Fn,{generateConfig:Ma,className:Ve()((0,He.Z)({},"".concat(lt,"-panel-focused"),!en)),value:$a,locale:Mn,tabIndex:-1,onSelect:function(Ka){xn==null||xn(Ka),cr(Ka)},direction:Sn,onPanelChange:function(Ka,eo){var Sr=me.onPanelChange;Un(!0),Sr==null||Sr(Ka,eo)}})));Mo&&(Pt=Mo(Pt));var mn=ie.createElement("div",{className:"".concat(lt,"-panel-container"),ref:dr,onMouseDown:function(Ka){Ka.preventDefault()}},Pt),On;zi&&(On=ie.createElement("span",{className:"".concat(lt,"-suffix"),onMouseDown:function(Ka){Ka.preventDefault()}},zi));var sa=Ji(lt,ka,oo),Zn=ie.createElement("span",{onMouseDown:function(Ka){Ka.preventDefault(),Ka.stopPropagation()},onMouseUp:function(Ka){Ka.preventDefault(),Ka.stopPropagation(),Zo(null),_i(!1)},className:"".concat(lt,"-clear"),role:"button"},sa),Fa=!!ka&&jr&&!Ro,aa=(0,ct.Z)((0,ct.Z)((0,ct.Z)({id:Xt,tabIndex:Tn,disabled:Ro,readOnly:ga||typeof ja[0]=="function"||!en,value:_n||bi,onChange:function(Ka){Yr(Ka.target.value)},autoFocus:Ar,placeholder:wi,ref:La,title:bi},pe),{},{size:Br(Wr,ja[0],Ma),name:Wt},(0,Nt.Z)(me,{aria:!0,data:!0})),{},{autoComplete:ea}),da=ra?ra(aa):ie.createElement("input",aa),Ja=function(Ka,eo){(eo==="submit"||eo!=="key"&&!zt)&&(Zo(Ka),_i(!1))},yn=Sn==="rtl"?"bottomRight":"bottomLeft";return ie.createElement(Yn.Provider,{value:{operationRef:$r,hideHeader:Wr==="time",onSelect:Ja,open:kr,defaultOpenValue:pi,onDateMouseEnter:Ht,onDateMouseLeave:Un}},ie.createElement(Uo,{visible:kr,popupElement:mn,popupStyle:vn,prefixCls:lt,dropdownClassName:Aa,dropdownAlign:fa,getPopupContainer:Ni,transitionName:Ia,popupPlacement:yn,direction:Sn},ie.createElement("div",{ref:Qr,className:Ve()(lt,ua,(Se={},(0,He.Z)(Se,"".concat(lt,"-disabled"),Ro),(0,He.Z)(Se,"".concat(lt,"-focused"),Ot),(0,He.Z)(Se,"".concat(lt,"-rtl"),Sn==="rtl"),Se)),style:kn,onMouseDown:Ue,onMouseUp:rt,onMouseEnter:ht,onMouseLeave:pt,onContextMenu:$t,onClick:zr},ie.createElement("div",{className:Ve()("".concat(lt,"-input"),(0,He.Z)({},"".concat(lt,"-input-placeholder"),!!_n)),ref:Zr},da,On,Fa&&Zn))))}var Zl=function(me){(0,Gt.Z)(be,me);var Se=(0,wn.Z)(be);function be(){var tt;(0,at.Z)(this,be);for(var lt=arguments.length,Xt=new Array(lt),Wt=0;Wt<lt;Wt++)Xt[Wt]=arguments[Wt];return tt=Se.call.apply(Se,[this].concat(Xt)),(0,He.Z)((0,Kn.Z)(tt),"pickerRef",ie.createRef()),(0,He.Z)((0,Kn.Z)(tt),"focus",function(){tt.pickerRef.current&&tt.pickerRef.current.focus()}),(0,He.Z)((0,Kn.Z)(tt),"blur",function(){tt.pickerRef.current&&tt.pickerRef.current.blur()}),tt}return(0,rn.Z)(be,[{key:"render",value:function(){return ie.createElement(al,(0,se.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),be}(ie.Component),Al=Zl;function So(me,Se){var be=me.picker,tt=me.locale,lt=me.selectedValue,Xt=me.disabledDate,Wt=me.disabled,Tn=me.generateConfig,kn=wa(lt,0),ua=wa(lt,1);function Aa(Mn){return Tn.locale.getWeekFirstDate(tt.locale,Mn)}function fa(Mn){var ga=Tn.getYear(Mn),ka=Tn.getMonth(Mn);return ga*100+ka}function vn(Mn){var ga=Tn.getYear(Mn),ka=vt(Tn,Mn);return ga*10+ka}var Ia=ie.useCallback(function(Mn){if(Wt[0]||Xt&&Xt(Mn))return!0;if(Wt[1]&&ua)return!St(Tn,Mn,ua)&&Tn.isAfter(Mn,ua);if(!Se&&ua)switch(be){case"quarter":return vn(Mn)>vn(ua);case"month":return fa(Mn)>fa(ua);case"week":return Aa(Mn)>Aa(ua);default:return!St(Tn,Mn,ua)&&Tn.isAfter(Mn,ua)}return!1},[Xt,Wt[1],ua,Se]),Ma=ie.useCallback(function(Mn){if(Wt[1]||Xt&&Xt(Mn))return!0;if(Wt[0]&&kn)return!St(Tn,Mn,ua)&&Tn.isAfter(kn,Mn);if(!Se&&kn)switch(be){case"quarter":return vn(Mn)<vn(kn);case"month":return fa(Mn)<fa(kn);case"week":return Aa(Mn)<Aa(kn);default:return!St(Tn,Mn,kn)&&Tn.isAfter(kn,Mn)}return!1},[Xt,Wt[0],kn,Se]);return[Ia,Ma]}var yl=ee(70425),eu=ee(6089);function Nl(me,Se,be,tt,lt,Xt,Wt,Tn,kn,ua){var Aa=ie.useState(!1),fa=(0,Lt.Z)(Aa,2),vn=fa[0],Ia=fa[1],Ma=(0,yl.useMergedState)(me||!1,{value:Se}),Mn=(0,Lt.Z)(Ma,2),ga=Mn[0],ka=Mn[1],Ar=(0,yl.useMergedState)(me||!1,{value:Se,onChange:function(_o){ua==null||ua(_o)}}),br=(0,Lt.Z)(Ar,2),Ir=br[0],Wr=br[1],Rr=(0,yl.useMergedState)(0,{value:be}),jn=(0,Lt.Z)(Rr,2),Vo=jn[0],fo=jn[1],Ho=ie.useState(null),ei=(0,Lt.Z)(Ho,2),li=ei[0],pi=ei[1];ie.useEffect(function(){Ir&&Ia(!0)},[Ir]);var zi=function(_o){return _o===0?1:0},oo=(0,eu.Z)(function(Ro,_o,wi){if(_o===!1)Wr(Ro);else if(Ro){fo(_o),Wr(Ro);var Ni=zi(_o);!Ir||![Wt,Tn][Ni]?pi(Ni):(Ia(!1),li!==null&&pi(null))}else if(wi==="confirm"||wi==="blur"&&tt){var fi=ga?zi(_o):li;fi!==null&&(Ia(!1),fo(fi)),pi(null),fi!==null&&!kn[fi]?(0,Dn.Z)(function(){var Mo,ol=[lt,Xt][fi];(Mo=ol.current)===null||Mo===void 0||Mo.focus()}):Wr(!1)}else Wr(!1),ka(!1)});return[Ir,Vo,vn,oo]}function xl(me,Se,be,tt){var lt=Ze(me,be,tt,1);function Xt(Wt){return Wt(me,Se)?"same":Wt(lt,Se)?"closing":"far"}switch(be){case"year":return Xt(function(Wt,Tn){return Oe(tt,Wt,Tn)});case"quarter":case"month":return Xt(function(Wt,Tn){return Ie(tt,Wt,Tn)});default:return Xt(function(Wt,Tn){return Me(tt,Wt,Tn)})}}function tu(me,Se,be,tt){var lt=wa(me,0),Xt=wa(me,1);if(Se===0)return lt;if(lt&&Xt){var Wt=xl(lt,Xt,be,tt);switch(Wt){case"same":return lt;case"closing":return lt;default:return Ze(Xt,be,tt,-1)}}return lt}function Qu(me){var Se=me.values,be=me.picker,tt=me.defaultDates,lt=me.generateConfig,Xt=ie.useState(function(){return[wa(tt,0),wa(tt,1)]}),Wt=(0,Lt.Z)(Xt,2),Tn=Wt[0],kn=Wt[1],ua=ie.useState(null),Aa=(0,Lt.Z)(ua,2),fa=Aa[0],vn=Aa[1],Ia=wa(Se,0),Ma=wa(Se,1);function Mn(ka){return Tn[ka]?Tn[ka]:wa(fa,ka)||tu(Se,ka,be,lt)||Ia||Ma||lt.getNow()}function ga(ka,Ar){if(ka){var br=Nn(fa,ka,Ar);kn(Nn(Tn,null,Ar)||[null,null]);var Ir=(Ar+1)%2;wa(Se,Ir)||(br=Nn(br,ka,Ir)),vn(br)}else(Ia||Ma)&&vn(null)}return[Mn,ga]}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,be,tt){return!!(me||tt&&tt[Se]||be[(Se+1)%2])}function Yu(me){var Se,be,tt,lt=me,Xt=lt.prefixCls,Wt=Xt===void 0?"rc-picker":Xt,Tn=lt.id,kn=lt.style,ua=lt.className,Aa=lt.popupStyle,fa=lt.dropdownClassName,vn=lt.transitionName,Ia=lt.dropdownAlign,Ma=lt.getPopupContainer,Mn=lt.generateConfig,ga=lt.locale,ka=lt.placeholder,Ar=lt.autoFocus,br=lt.disabled,Ir=lt.format,Wr=lt.picker,Rr=Wr===void 0?"date":Wr,jn=lt.showTime,Vo=lt.use12Hours,fo=lt.separator,Ho=fo===void 0?"~":fo,ei=lt.value,li=lt.defaultValue,pi=lt.defaultPickerValue,zi=lt.open,oo=lt.defaultOpen,Ro=lt.disabledDate,_o=lt.disabledTime,wi=lt.dateRender,Ni=lt.monthCellRender,fi=lt.cellRender,Mo=lt.panelRender,ol=lt.presets,Xi=lt.ranges,Ee=lt.allowEmpty,Ce=lt.allowClear,Ue=lt.suffixIcon,rt=lt.clearIcon,ht=lt.pickerRef,pt=lt.inputReadOnly,$t=lt.mode,Qt=lt.renderExtraFooter,Ut=lt.onChange,xn=lt.onOpenChange,Sn=lt.onPanelChange,En=lt.onCalendarChange,ea=lt.onFocus,ra=lt.onBlur,ma=lt.onMouseDown,La=lt.onMouseUp,zt=lt.onMouseEnter,nr=lt.onMouseLeave,ja=lt.onClick,dr=lt.onOk,Zr=lt.onKeyDown,Qr=lt.components,Or=lt.order,Kr=lt.direction,jr=lt.activePickerIndex,ur=lt.autoComplete,sr=ur===void 0?"off":ur,yr=lt.changeOnBlur,$a=Rr==="date"&&!!jn||Rr==="time",cr=(0,ie.useRef)(null),$r=(0,ie.useRef)(null),yo=(0,ie.useRef)(null),lo=(0,ie.useRef)(null),kr=(0,ie.useRef)(null),vo=(0,ie.useRef)(null),wo=(0,ie.useRef)(null),Ta=(0,ie.useRef)(null),Do=Ua(pa(Ir,Rr,jn,Vo)),yi=(0,ie.useRef)(null),Ao=ie.useMemo(function(){return Array.isArray(br)?br:[br||!1,br||!1]},[br]),qr=(0,mt.Z)(null,{value:ei,defaultValue:li,postState:function(Xr){return Rr==="time"&&!Or?Xr:su(Xr,Mn)}}),bi=(0,Lt.Z)(qr,2),Yr=bi[0],gi=bi[1],Zo=Qu({values:Yr,picker:Rr,defaultDates:pi,generateConfig:Mn}),_i=(0,Lt.Z)(Zo,2),no=_i[0],zr=_i[1],Jr=(0,mt.Z)(Yr,{postState:function(Xr){var Oo=Xr;if(Ao[0]&&Ao[1])return Oo;for(var Pi=0;Pi<2;Pi+=1)Ao[Pi]&&!Oo&&!wa(Oo,Pi)&&!wa(Ee,Pi)&&(Oo=Nn(Oo,Mn.getNow(),Pi));return Oo}}),Hr=(0,Lt.Z)(Jr,2),ce=Hr[0],pe=Hr[1],Pe=(0,mt.Z)([Rr,Rr],{value:$t}),Ot=(0,Lt.Z)(Pe,2),en=Ot[0],Oa=Ot[1];(0,ie.useEffect)(function(){Oa([Rr,Rr])},[Rr]);var va=function(Xr,Oo){Oa(Xr),Sn&&Sn(Oo,Xr)},_n=Nl(oo,zi,jr,yr,vo,wo,wa(ce,0),wa(ce,1),Ao,xn),Ht=(0,Lt.Z)(_n,4),Un=Ht[0],Fn=Ht[1],Pt=Ht[2],mn=Ht[3],On=Un&&Fn===0,sa=Un&&Fn===1,Zn=So({picker:Rr,selectedValue:ce,locale:ga,disabled:Ao,disabledDate:Ro,generateConfig:Mn},!Un||Pt),Fa=(0,Lt.Z)(Zn,2),aa=Fa[0],da=Fa[1],Ja=(0,ie.useState)(0),yn=(0,Lt.Z)(Ja,2),Ca=yn[0],Ka=yn[1];(0,ie.useEffect)(function(){!Un&&cr.current&&Ka(cr.current.offsetWidth)},[Un]);function eo(Ei){mn(!0,Ei,"open"),(0,Dn.Z)(function(){var Xr,Oo=[vo,wo][Ei];(Xr=Oo.current)===null||Xr===void 0||Xr.focus()},0)}function Sr(Ei,Xr){var Oo=Ei,Pi=wa(Oo,0),Yi=wa(Oo,1);Pi&&Yi&&Mn.isAfter(Pi,Yi)&&(Rr==="week"&&!nn(Mn,ga.locale,Pi,Yi)||Rr==="quarter"&&!et(Mn,Pi,Yi)||Rr!=="week"&&Rr!=="quarter"&&Rr!=="time"&&!St(Mn,Pi,Yi)?Xr===0?(Oo=[Pi,null],Yi=null):(Pi=null,Oo=[null,Yi]):(Rr!=="time"||Or!==!1)&&(Oo=su(Oo,Mn))),pe(Oo);var Pu=Oo&&Oo[0]?yt(Oo[0],{generateConfig:Mn,locale:ga,format:Do[0]}):"",Ql=Oo&&Oo[1]?yt(Oo[1],{generateConfig:Mn,locale:ga,format:Do[0]}):"";if(En){var iu={range:Xr===0?"start":"end"};En(Oo,[Pu,Ql],iu)}var ql=mu(Pi,0,Ao,Ee),cs=mu(Yi,1,Ao,Ee),Uu=Oo===null||ql&&cs;Uu&&(gi(Oo),Ut&&(!fn(Mn,wa(Yr,0),Pi)||!fn(Mn,wa(Yr,1),Yi))&&Ut(Oo,[Pu,Ql]))}var ui=function(Xr){return Un&&yi.current&&yi.current.onKeyDown?yi.current.onKeyDown(Xr):((0,Be.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Ga={formatList:Do,generateConfig:Mn,locale:ga},xo=Mt(wa(ce,0),Ga),Dr=(0,Lt.Z)(xo,2),ao=Dr[0],Eo=Dr[1],hi=Mt(wa(ce,1),Ga),mi=(0,Lt.Z)(hi,2),Cr=mi[0],po=mi[1],Ki=function(Xr,Oo){var Pi=Zt(Xr,{locale:ga,formatList:Do,generateConfig:Mn}),Yi=Oo===0?aa:da;Pi&&!Yi(Pi)&&(pe(Nn(ce,Pi,Oo)),zr(Pi,Oo))},Li=bt({valueTexts:ao,onTextChange:function(Xr){return Ki(Xr,0)}}),ta=(0,Lt.Z)(Li,3),Fo=ta[0],Ri=ta[1],zo=ta[2],Ci=bt({valueTexts:Cr,onTextChange:function(Xr){return Ki(Xr,1)}}),Mi=(0,Lt.Z)(Ci,3),ii=Mi[0],il=Mi[1],ll=Mi[2],jl=(0,ie.useState)(null),Ii=(0,Lt.Z)(jl,2),cl=Ii[0],Bl=Ii[1],Gl=(0,ie.useState)(null),Io=(0,Lt.Z)(Gl,2),Si=Io[0],$i=Io[1],Zi=dn(Fo,{formatList:Do,generateConfig:Mn,locale:ga}),hl=(0,Lt.Z)(Zi,3),ul=hl[0],sl=hl[1],wl=hl[2],Rl=dn(ii,{formatList:Do,generateConfig:Mn,locale:ga}),ml=(0,Lt.Z)(Rl,3),qi=ml[0],Wl=ml[1],Xo=ml[2],vu=function(Xr){$i(Nn(ce,Xr,Fn)),Fn===0?sl(Xr):Wl(Xr)},pu=function(){$i(Nn(ce,null,Fn)),Fn===0?wl():Xo()},Kl=ie.useState(Un),gu=(0,Lt.Z)(Kl,2),ca=gu[0],or=gu[1];ie.useEffect(function(){or(Un)},[Un]);var jo=function(Xr){if(yr&&ca){var Oo=wa(ce,Fn);Oo&&Sr(ce,Fn)}return ra==null?void 0:ra(Xr)},uo=function(Xr,Oo){return{blurToCancel:!yr&&$a,forwardKeyDown:ui,onBlur:jo,isClickOutside:function(Yi){return!ia([$r.current,yo.current,lo.current,cr.current],Yi)},onFocus:function(Yi){ea&&ea(Yi)},triggerOpen:function(Yi){Yi?mn(Yi,Xr,"open"):mn(Yi,wa(ce,Xr)?Xr:!1,"blur")},onSubmit:function(){if(!ce||Ro&&Ro(ce[Xr]))return!1;Sr(ce,Xr),Oo(),mn(!1,Fn,"confirm")},onCancel:function(){mn(!1,Xr,"cancel"),pe(Yr),Oo()}}},Bo={onKeyDown:function(Xr,Oo){Zr==null||Zr(Xr,Oo)},changeOnBlur:yr},qo=Sa((0,ct.Z)((0,ct.Z)({},uo(0,zo)),{},{open:On,value:Fo},Bo)),Vi=(0,Lt.Z)(qo,2),Di=Vi[0],fl=Vi[1],el=fl.focused,Ml=fl.typing,ou=Sa((0,ct.Z)((0,ct.Z)({},uo(1,ll)),{},{open:sa,value:ii},Bo)),ti=(0,Lt.Z)(ou,2),Hi=ti[0],Dl=ti[1],Sl=Dl.focused,Vl=Dl.typing,kl=function(Xr){ja&&ja(Xr),!Un&&!vo.current.contains(Xr.target)&&!wo.current.contains(Xr.target)&&(Ao[0]?Ao[1]||eo(1):eo(0))},Ku=function(Xr){ma&&ma(Xr),Un&&(el||Sl)&&!vo.current.contains(Xr.target)&&!wo.current.contains(Xr.target)&&Xr.preventDefault()},Vu=Yr&&Yr[0]?yt(Yr[0],{locale:ga,format:"YYYYMMDDHHmmss",generateConfig:Mn}):"",$u=Yr&&Yr[1]?yt(Yr[1],{locale:ga,format:"YYYYMMDDHHmmss",generateConfig:Mn}):"";(0,ie.useEffect)(function(){Un||(pe(Yr),!ao.length||ao[0]===""?Ri(""):Eo!==Fo&&zo(),!Cr.length||Cr[0]===""?il(""):po!==ii&&ll())},[Un,ao,Cr]),(0,ie.useEffect)(function(){pe(Yr)},[Vu,$u]);var hu=ir({cellRender:fi,monthCellRender:Ni,dateRender:wi}),Es=ie.useMemo(function(){if(hu)return function(Ei,Xr){return hu(Ei,(0,ct.Z)((0,ct.Z)({},Xr),{},{range:Fn?"end":"start"}))}},[Fn,hu]);ht&&(ht.current={focus:function(){vo.current&&vo.current.focus()},blur:function(){vo.current&&vo.current.blur(),wo.current&&wo.current.blur()}});var vs=It(ol,Xi);function ds(){var Ei=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Xr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Oo=null;Un&&Si&&Si[0]&&Si[1]&&Mn.isAfter(Si[1],Si[0])&&(Oo=Si);var Pi=jn;if(jn&&(0,Gn.Z)(jn)==="object"&&jn.defaultValue){var Yi=jn.defaultValue;Pi=(0,ct.Z)((0,ct.Z)({},jn),{},{defaultValue:wa(Yi,Fn)||void 0})}return ie.createElement(xr.Provider,{value:{inRange:!0,panelPosition:Ei,rangedValue:cl||ce,hoverRangedValue:Oo}},ie.createElement(Ha,(0,se.Z)({},me,Xr,{cellRender:Es,showTime:Pi,mode:en[Fn],generateConfig:Mn,style:void 0,direction:Kr,disabledDate:Fn===0?aa:da,disabledTime:function(Ql){return _o?_o(Ql,Fn===0?"start":"end"):!1},className:Ve()((0,He.Z)({},"".concat(Wt,"-panel-focused"),Fn===0?!Ml:!Vl)),value:wa(ce,Fn),locale:ga,tabIndex:-1,onPanelChange:function(Ql,iu){Fn===0&&wl(!0),Fn===1&&Xo(!0),va(Nn(en,iu,Fn),Nn(ce,Ql,Fn));var ql=Ql;Ei==="right"&&en[Fn]===iu&&(ql=Ze(ql,iu,Mn,-1)),zr(ql,Fn)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Fn===0?wa(ce,1):wa(ce,0)})))}var Xa=0,io=0;if(Fn&&yo.current&&kr.current&&$r.current&&Ta.current){Xa=yo.current.offsetWidth+kr.current.offsetWidth;var Qo=Ta.current.offsetLeft>Xa?Ta.current.offsetLeft-Xa:Ta.current.offsetLeft,ci=$r.current.offsetWidth,ni=Ta.current.offsetWidth;ci&&ni&&Xa>ci-ni-(Kr==="rtl"?0:Qo)&&(io=Xa)}var Go=Kr==="rtl"?{right:Xa}:{left:Xa};function Oi(){var Ei,Xr=Hn(Wt,en[Fn],Qt),Oo=qn({prefixCls:Wt,components:Qr,needConfirmButton:$a,okDisabled:!wa(ce,Fn)||Ro&&Ro(ce[Fn]),locale:ga,onOk:function(){var lu=wa(ce,Fn);lu&&(Sr(ce,Fn),dr==null||dr(ce),mn(!1,Fn,"confirm"))}});if(Rr!=="time"&&!jn){var Pi=no(Fn),Yi=Ze(Pi,Rr,Mn),Pu=en[Fn],Ql=Pu===Rr,iu=ds(Ql?"left":!1,{pickerValue:Pi,onPickerValueChange:function(lu){zr(lu,Fn)}}),ql=ds("right",{pickerValue:Yi,onPickerValueChange:function(lu){zr(Ze(lu,Rr,Mn,-1),Fn)}});Kr==="rtl"?Ei=ie.createElement(ie.Fragment,null,ql,Ql&&iu):Ei=ie.createElement(ie.Fragment,null,iu,Ql&&ql)}else Ei=ds();var cs=ie.createElement("div",{className:"".concat(Wt,"-panel-layout")},ie.createElement(Ko,{prefixCls:Wt,presets:vs,onClick:function(lu){Sr(lu,null),mn(!1,Fn,"preset")},onHover:function(lu){Bl(lu)}}),ie.createElement("div",null,ie.createElement("div",{className:"".concat(Wt,"-panels")},Ei),(Xr||Oo)&&ie.createElement("div",{className:"".concat(Wt,"-footer")},Xr,Oo)));return Mo&&(cs=Mo(cs)),ie.createElement("div",{className:"".concat(Wt,"-panel-container"),style:{marginLeft:io},ref:$r,onMouseDown:function(lu){lu.preventDefault()}},cs)}var Gi=ie.createElement("div",{className:Ve()("".concat(Wt,"-range-wrapper"),"".concat(Wt,"-").concat(Rr,"-range-wrapper")),style:{minWidth:Ca}},ie.createElement("div",{ref:Ta,className:"".concat(Wt,"-range-arrow"),style:Go}),Oi()),Cl;Ue&&(Cl=ie.createElement("span",{className:"".concat(Wt,"-suffix"),onMouseDown:function(Xr){Xr.preventDefault()}},Ue));var $l=Ji(Wt,Ce,rt),Su=ie.createElement("span",{onMouseDown:function(Xr){Xr.preventDefault(),Xr.stopPropagation()},onMouseUp:function(Xr){Xr.preventDefault(),Xr.stopPropagation();var Oo=Yr;Ao[0]||(Oo=Nn(Oo,null,0)),Ao[1]||(Oo=Nn(Oo,null,1)),Sr(Oo,null),mn(!1,Fn,"clear")},className:"".concat(Wt,"-clear"),role:"button"},$l),Ol=Ce&&(wa(Yr,0)&&!Ao[0]||wa(Yr,1)&&!Ao[1]),Ul={size:Br(Rr,Do[0],Mn)},Eu=0,Du=0;yo.current&&lo.current&&kr.current&&(Fn===0?Du=yo.current.offsetWidth:(Eu=Xa,Du=lo.current.offsetWidth));var ps=Kr==="rtl"?{right:Eu}:{left:Eu},hs=function(Xr,Oo){var Pi=Nn(ce,Xr,Fn);if(Oo==="submit"||Oo!=="key"&&!$a){Sr(Pi,Fn),Fn===0?wl():Xo();var Yi=Fn===0?1:0;Ao[Yi]?mn(!1,!1,"confirm"):mn(!1,Fn,"confirm")}else pe(Pi)};return ie.createElement(Yn.Provider,{value:{operationRef:yi,hideHeader:Rr==="time",onDateMouseEnter:vu,onDateMouseLeave:pu,hideRanges:!0,onSelect:hs,open:Un}},ie.createElement(Uo,{visible:Un,popupElement:Gi,popupStyle:Aa,prefixCls:Wt,dropdownClassName:fa,dropdownAlign:Ia,getPopupContainer:Ma,transitionName:vn,range:!0,direction:Kr},ie.createElement("div",(0,se.Z)({ref:cr,className:Ve()(Wt,"".concat(Wt,"-range"),ua,(Se={},(0,He.Z)(Se,"".concat(Wt,"-disabled"),Ao[0]&&Ao[1]),(0,He.Z)(Se,"".concat(Wt,"-focused"),Fn===0?el:Sl),(0,He.Z)(Se,"".concat(Wt,"-rtl"),Kr==="rtl"),Se)),style:kn,onClick:kl,onMouseEnter:zt,onMouseLeave:nr,onMouseDown:Ku,onMouseUp:La},(0,Nt.Z)(me,{aria:!0,data:!0})),ie.createElement("div",{className:Ve()("".concat(Wt,"-input"),(be={},(0,He.Z)(be,"".concat(Wt,"-input-active"),Fn===0),(0,He.Z)(be,"".concat(Wt,"-input-placeholder"),!!ul),be)),ref:yo},ie.createElement("input",(0,se.Z)({id:Tn,disabled:Ao[0],readOnly:pt||typeof Do[0]=="function"||!Ml,value:ul||Fo,onChange:function(Xr){Ri(Xr.target.value)},autoFocus:Ar,placeholder:wa(ka,0)||"",ref:vo},Di,Ul,{autoComplete:sr}))),ie.createElement("div",{className:"".concat(Wt,"-range-separator"),ref:kr},Ho),ie.createElement("div",{className:Ve()("".concat(Wt,"-input"),(tt={},(0,He.Z)(tt,"".concat(Wt,"-input-active"),Fn===1),(0,He.Z)(tt,"".concat(Wt,"-input-placeholder"),!!qi),tt)),ref:lo},ie.createElement("input",(0,se.Z)({disabled:Ao[1],readOnly:pt||typeof Do[0]=="function"||!Vl,value:qi||ii,onChange:function(Xr){il(Xr.target.value)},placeholder:wa(ka,1)||"",ref:wo},Hi,Ul,{autoComplete:sr}))),ie.createElement("div",{className:"".concat(Wt,"-active-bar"),style:(0,ct.Z)((0,ct.Z)({},ps),{},{width:Du,position:"absolute"})}),Cl,Ol&&Su)))}var El=function(me){(0,Gt.Z)(be,me);var Se=(0,wn.Z)(be);function be(){var tt;(0,at.Z)(this,be);for(var lt=arguments.length,Xt=new Array(lt),Wt=0;Wt<lt;Wt++)Xt[Wt]=arguments[Wt];return tt=Se.call.apply(Se,[this].concat(Xt)),(0,He.Z)((0,Kn.Z)(tt),"pickerRef",ie.createRef()),(0,He.Z)((0,Kn.Z)(tt),"focus",function(){tt.pickerRef.current&&tt.pickerRef.current.focus()}),(0,He.Z)((0,Kn.Z)(tt),"blur",function(){tt.pickerRef.current&&tt.pickerRef.current.blur()}),tt}return(0,rn.Z)(be,[{key:"render",value:function(){return ie.createElement(Yu,(0,se.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),be}(ie.Component),Ru=El,Mu=Al,rl=ee(19080),ku=ee(36355),nu=ee(1684),Ju=ee(19716),bu=ee(32441),Tu=ee(9763),Xu=ee(33234),_u=ee(48183),bl=ee(64993),ji=ee(9937),Zu=ee(17313),fs=ee(47585),au=ee(74207),Bi=ee(13826),Cu=ee(92899),zu=ee(37613),rs=ee(83116);const Il=(me,Se,be,tt)=>{const{lineHeight:lt}=me,Xt=Math.floor(be*lt)+2,Wt=Math.max((Se-Xt)/2,0),Tn=Math.max(Se-Xt-Wt,0);return{padding:`${Wt}px ${tt}px ${Tn}px`}},Hu=me=>{const{componentCls:Se,pickerCellCls:be,pickerCellInnerCls:tt,cellHeight:lt,motionDurationSlow:Xt,borderRadiusSM:Wt,motionDurationMid:Tn,cellHoverBg:kn,lineWidth:ua,lineType:Aa,colorPrimary:fa,cellActiveWithRangeBg:vn,colorTextLightSolid:Ia,controlHeightSM:Ma,cellRangeBorderColor:Mn,pickerCellBorderGap:ga,cellHoverWithRangeBg:ka,cellWidth:Ar,colorTextDisabled:br,cellBgDisabled:Ir}=me;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:lt,transform:"translateY(-50%)",transition:`all ${Xt}`,content:'""'},[tt]:{position:"relative",zIndex:2,display:"inline-block",minWidth:lt,height:lt,lineHeight:`${lt}px`,borderRadius:Wt,transition:`background ${Tn}, border ${Tn}`},"&-range-hover-start, &-range-hover-end":{[tt]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${be}-in-view),
&:hover:not(${be}-selected):not(${be}-range-start):not(${be}-range-end):not(${be}-range-hover-start):not(${be}-range-hover-end)`]:{[tt]:{background:kn}},[`&-in-view${be}-today ${tt}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${ua}px ${Aa} ${fa}`,borderRadius:Wt,content:'""'}},[`&-in-view${be}-in-range`]:{position:"relative","&::before":{background:vn}},[`&-in-view${be}-selected ${tt},
&-in-view${be}-range-start ${tt},
&-in-view${be}-range-end ${tt}`]:{color:Ia,background:fa},[`&-in-view${be}-range-start:not(${be}-range-start-single),
&-in-view${be}-range-end:not(${be}-range-end-single)`]:{"&::before":{background:vn}},[`&-in-view${be}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${be}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${be}-range-hover-start:not(${be}-in-range):not(${be}-range-start):not(${be}-range-end),
&-in-view${be}-range-hover-end:not(${be}-in-range):not(${be}-range-start):not(${be}-range-end),
&-in-view${be}-range-hover-start${be}-range-start-single,
&-in-view${be}-range-hover-start${be}-range-start${be}-range-end${be}-range-end-near-hover,
&-in-view${be}-range-hover-end${be}-range-start${be}-range-end${be}-range-start-near-hover,
&-in-view${be}-range-hover-end${be}-range-end-single,
&-in-view${be}-range-hover:not(${be}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Ma,borderTop:`${ua}px dashed ${Mn}`,borderBottom:`${ua}px dashed ${Mn}`,transform:"translateY(-50%)",transition:`all ${Xt}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:ga},[`&-in-view${be}-in-range${be}-range-hover::before,
&-in-view${be}-in-range${be}-range-hover-start::before,
&-in-view${be}-in-range${be}-range-hover-end::before,
&-in-view${be}-range-start${be}-range-hover::before,
&-in-view${be}-range-end${be}-range-hover::before,
&-in-view${be}-range-start:not(${be}-range-start-single)${be}-range-hover-start::before,
&-in-view${be}-range-end:not(${be}-range-end-single)${be}-range-hover-end::before,
${Se}-panel
> :not(${Se}-date-panel)
&-in-view${be}-in-range${be}-range-hover-start::before,
${Se}-panel
> :not(${Se}-date-panel)
&-in-view${be}-in-range${be}-range-hover-end::before`]:{background:ka},[`&-in-view${be}-range-start:not(${be}-range-start-single):not(${be}-range-end) ${tt}`]:{borderStartStartRadius:Wt,borderEndStartRadius:Wt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${be}-range-end:not(${be}-range-end-single):not(${be}-range-start) ${tt}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Wt,borderEndEndRadius:Wt},[`&-range-hover${be}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${be}-range-hover:first-child::after,
tr > &-in-view${be}-range-hover-end:first-child::after,
&-in-view${be}-start${be}-range-hover-edge-start${be}-range-hover-edge-start-near-range::after,
&-in-view${be}-range-hover-edge-start:not(${be}-range-hover-edge-start-near-range)::after,
&-in-view${be}-range-hover-start::after`]:{insetInlineStart:(Ar-lt)/2,borderInlineStart:`${ua}px dashed ${Mn}`,borderStartStartRadius:Wt,borderEndStartRadius:Wt},[`tr > &-in-view${be}-range-hover:last-child::after,
tr > &-in-view${be}-range-hover-start:last-child::after,
&-in-view${be}-end${be}-range-hover-edge-end${be}-range-hover-edge-end-near-range::after,
&-in-view${be}-range-hover-edge-end:not(${be}-range-hover-edge-end-near-range)::after,
&-in-view${be}-range-hover-end::after`]:{insetInlineEnd:(Ar-lt)/2,borderInlineEnd:`${ua}px dashed ${Mn}`,borderStartEndRadius:Wt,borderEndEndRadius:Wt},"&-disabled":{color:br,pointerEvents:"none",[tt]:{background:"transparent"},"&::before":{background:Ir}},[`&-disabled${be}-today ${tt}::before`]:{borderColor:br}}},xu=me=>{const{componentCls:Se,pickerCellCls:be,pickerCellInnerCls:tt,pickerYearMonthCellWidth:lt,pickerControlIconSize:Xt,cellWidth:Wt,paddingSM:Tn,paddingXS:kn,paddingXXS:ua,colorBgContainer:Aa,lineWidth:fa,lineType:vn,borderRadiusLG:Ia,colorPrimary:Ma,colorTextHeading:Mn,colorSplit:ga,pickerControlIconBorderWidth:ka,colorIcon:Ar,textHeight:br,motionDurationMid:Ir,colorIconHover:Wr,fontWeightStrong:Rr,cellHeight:jn,pickerCellPaddingVertical:Vo,colorTextDisabled:fo,colorText:Ho,fontSize:ei,cellHoverWithRangeBg:li,motionDurationSlow:pi,withoutTimeCellHeight:zi,pickerQuarterPanelContentHeight:oo,colorLink:Ro,colorLinkActive:_o,colorLinkHover:wi,cellRangeBorderColor:Ni,borderRadiusSM:fi,colorTextLightSolid:Mo,cellHoverBg:ol,timeColumnHeight:Xi,timeColumnWidth:Ee,timeCellHeight:Ce,controlItemBgActive:Ue,marginXXS:rt,pickerDatePanelPaddingHorizontal:ht}=me,pt=Wt*7+ht*2,$t=(pt-kn*2)/3-lt-Tn,Qt=(pt-kn*2)/4-lt;return{[Se]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Aa,border:`${fa}px ${vn} ${ga}`,borderRadius:Ia,outline:"none","&-focused":{borderColor:Ma},"&-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:pt},"&-header":{display:"flex",padding:`0 ${kn}px`,color:Mn,borderBottom:`${fa}px ${vn} ${ga}`,"> *":{flex:"none"},button:{padding:0,color:Ar,lineHeight:`${br}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${Ir}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:ei,"&:hover":{color:Wr}},"&-view":{flex:"auto",fontWeight:Rr,lineHeight:`${br}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:kn},"&:hover":{color:Ma}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:Xt,height:Xt,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:Xt,height:Xt,border:"0 solid currentcolor",borderBlockStartWidth:ka,borderBlockEndWidth:0,borderInlineStartWidth:ka,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(Xt/2),insetInlineStart:Math.ceil(Xt/2),display:"inline-block",width:Xt,height:Xt,border:"0 solid currentcolor",borderBlockStartWidth:ka,borderBlockEndWidth:0,borderInlineStartWidth:ka,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:jn,fontWeight:"normal"},th:{height:jn+Vo*2,color:Ho,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Vo}px 0`,color:fo,cursor:"pointer","&-in-view":{color:Ho}},Hu(me)),[`&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-start ${tt},
&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-end ${tt}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:li,transition:`all ${pi}`,content:'""'}},[`&-date-panel
${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-start
${tt}::after`]:{insetInlineEnd:-(Wt-jn)/2,insetInlineStart:0},[`&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-end ${tt}::after`]:{insetInlineEnd:0,insetInlineStart:-(Wt-jn)/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 ${kn}px`}},"&-quarter-panel":{[`${Se}-content`]:{height:oo},[`${Se}-cell-range-hover-start::after`]:{insetInlineStart:Qt,borderInlineStart:`${fa}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineEnd:Qt,borderInlineEnd:`${fa}px dashed ${Ni}`}},[`${Se}-cell-range-hover-end::after`]:{insetInlineEnd:Qt,borderInlineEnd:`${fa}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineStart:Qt,borderInlineStart:`${fa}px dashed ${Ni}`}}},[`&-panel ${Se}-footer`]:{borderTop:`${fa}px ${vn} ${ga}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${br-2*fa}px`,textAlign:"center","&-extra":{padding:`0 ${Tn}px`,lineHeight:`${br-2*fa}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${fa}px ${vn} ${ga}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Ro,"&:hover":{color:wi},"&:active":{color:_o},[`&${Se}-today-btn-disabled`]:{color:fo,cursor:"not-allowed"}},"&-decade-panel":{[tt]:{padding:`0 ${kn/2}px`},[`${Se}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-body`]:{padding:`0 ${kn}px`},[tt]:{width:lt},[`${Se}-cell-range-hover-start::after`]:{borderStartStartRadius:fi,borderEndStartRadius:fi,borderStartEndRadius:0,borderEndEndRadius:0,[`${Se}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:fi,borderEndEndRadius:fi}},[`${Se}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:fi,borderEndEndRadius:fi,[`${Se}-panel-rtl &`]:{borderStartStartRadius:fi,borderEndStartRadius:fi,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${Se}-cell-range-hover-start::after`]:{insetInlineStart:$t,borderInlineStart:`${fa}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineEnd:$t,borderInlineEnd:`${fa}px dashed ${Ni}`}},[`${Se}-cell-range-hover-end::after`]:{insetInlineEnd:$t,borderInlineEnd:`${fa}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineStart:$t,borderInlineStart:`${fa}px dashed ${Ni}`}}},"&-week-panel":{[`${Se}-body`]:{padding:`${kn}px ${Tn}px`},[`${Se}-cell`]:{[`&:hover ${tt},
&-selected ${tt},
${tt}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Ir}`},"&:first-child:before":{borderStartStartRadius:fi,borderEndStartRadius:fi},"&:last-child:before":{borderStartEndRadius:fi,borderEndEndRadius:fi}},"&:hover td":{"&:before":{background:ol}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${be}`]:{"&:before":{background:Ma},[`&${Se}-cell-week`]:{color:new bl.C(Mo).setAlpha(.5).toHexString()},[tt]:{color:Mo}}},"&-range-hover td:before":{background:Ue}}},"&-date-panel":{[`${Se}-body`]:{padding:`${kn}px ${ht}px`},[`${Se}-content`]:{width:Wt*7,th:{width:Wt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${Se}-time-panel`]:{borderInlineStart:`${fa}px ${vn} ${ga}`},[`${Se}-date-panel,
${Se}-time-panel`]:{transition:`opacity ${pi}`},"&-active":{[`${Se}-date-panel,
${Se}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${Se}-content`]:{display:"flex",flex:"auto",height:Xi},"&-column":{flex:"1 0 auto",width:Ee,margin:`${ua}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Ir}`,overflowX:"hidden","&::after":{display:"block",height:Xi-Ce,content:'""'},"&:not(:first-child)":{borderInlineStart:`${fa}px ${vn} ${ga}`},"&-active":{background:new bl.C(Ue).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Se}-time-panel-cell`]:{marginInline:rt,[`${Se}-time-panel-cell-inner`]:{display:"block",width:Ee-2*rt,height:Ce,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Ee-Ce)/2,color:Ho,lineHeight:`${Ce}px`,borderRadius:fi,cursor:"pointer",transition:`background ${Ir}`,"&:hover":{background:ol}},"&-selected":{[`${Se}-time-panel-cell-inner`]:{background:Ue}},"&-disabled":{[`${Se}-time-panel-cell-inner`]:{color:fo,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${Se}-time-panel-column:after`]:{height:Xi-Ce+ua*2}}}},Fu=me=>{const{componentCls:Se,colorBgContainer:be,colorError:tt,errorActiveShadow:lt,colorWarning:Xt,warningActiveShadow:Wt}=me;return{[`${Se}:not(${Se}-disabled)`]:{[`&${Se}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:be,borderColor:tt},[`&${Se}-focused, &:focus`]:Object.assign({},(0,ji.M1)((0,zu.TS)(me,{activeBorderColor:tt,activeShadow:lt}))),[`${Se}-active-bar`]:{background:tt}},[`&${Se}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:be,borderColor:Xt},[`&${Se}-focused, &:focus`]:Object.assign({},(0,ji.M1)((0,zu.TS)(me,{activeBorderColor:Xt,activeShadow:Wt}))),[`${Se}-active-bar`]:{background:Xt}}}}},Fl=me=>{const{componentCls:Se,antCls:be,controlHeight:tt,fontSize:lt,paddingInline:Xt,colorBgContainer:Wt,lineWidth:Tn,lineType:kn,colorBorder:ua,borderRadius:Aa,motionDurationMid:fa,colorBgContainerDisabled:vn,colorTextDisabled:Ia,colorTextPlaceholder:Ma,controlHeightLG:Mn,fontSizeLG:ga,controlHeightSM:ka,paddingInlineSM:Ar,paddingXS:br,marginXS:Ir,colorTextDescription:Wr,lineWidthBold:Rr,lineHeight:jn,colorPrimary:Vo,motionDurationSlow:fo,zIndexPopup:Ho,paddingXXS:ei,paddingSM:li,textHeight:pi,cellActiveWithRangeBg:zi,colorPrimaryBorder:oo,sizePopupArrow:Ro,borderRadiusXS:_o,borderRadiusOuter:wi,colorBgElevated:Ni,borderRadiusLG:fi,boxShadowSecondary:Mo,borderRadiusSM:ol,colorSplit:Xi,cellHoverBg:Ee,presetsWidth:Ce,presetsMaxWidth:Ue,boxShadowPopoverArrow:rt,colorTextQuaternary:ht}=me;return[{[Se]:Object.assign(Object.assign(Object.assign({},(0,Zu.Wf)(me)),Il(me,tt,lt,Xt)),{position:"relative",display:"inline-flex",alignItems:"center",background:Wt,lineHeight:1,border:`${Tn}px ${kn} ${ua}`,borderRadius:Aa,transition:`border ${fa}, box-shadow ${fa}`,"&:hover, &-focused":Object.assign({},(0,ji.pU)(me)),"&-focused":Object.assign({},(0,ji.M1)(me)),[`&${Se}-disabled`]:{background:vn,borderColor:ua,cursor:"not-allowed",[`${Se}-suffix`]:{color:ht}},[`&${Se}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${Se}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,ji.ik)(me)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${Se}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Ma}}},"&-large":Object.assign(Object.assign({},Il(me,Mn,ga,Xt)),{[`${Se}-input > input`]:{fontSize:ga}}),"&-small":Object.assign({},Il(me,ka,lt,Ar)),[`${Se}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:br/2,color:Ia,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Ir}}},[`${Se}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Ia,lineHeight:1,background:Wt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${fa}, color ${fa}`,"> *":{verticalAlign:"top"},"&:hover":{color:Wr}},[`${Se}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:ga,color:Ia,fontSize:ga,verticalAlign:"top",cursor:"default",[`${Se}-focused &`]:{color:Wr},[`${Se}-range-separator &`]:{[`${Se}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Se}-clear`]:{insetInlineEnd:Xt},"&:hover":{[`${Se}-clear`]:{opacity:1}},[`${Se}-active-bar`]:{bottom:-Tn,height:Rr,marginInlineStart:Xt,background:Vo,opacity:0,transition:`all ${fo} ease-out`,pointerEvents:"none"},[`&${Se}-focused`]:{[`${Se}-active-bar`]:{opacity:1}},[`${Se}-range-separator`]:{alignItems:"center",padding:`0 ${br}px`,lineHeight:1},[`&${Se}-small`]:{[`${Se}-clear`]:{insetInlineEnd:Ar},[`${Se}-active-bar`]:{marginInlineStart:Ar}}},"&-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)"}},[`&${be}-slide-up-enter${be}-slide-up-enter-active${Se}-dropdown-placement-topLeft,
&${be}-slide-up-enter${be}-slide-up-enter-active${Se}-dropdown-placement-topRight,
&${be}-slide-up-appear${be}-slide-up-appear-active${Se}-dropdown-placement-topLeft,
&${be}-slide-up-appear${be}-slide-up-appear-active${Se}-dropdown-placement-topRight`]:{animationName:Bi.Qt},[`&${be}-slide-up-enter${be}-slide-up-enter-active${Se}-dropdown-placement-bottomLeft,
&${be}-slide-up-enter${be}-slide-up-enter-active${Se}-dropdown-placement-bottomRight,
&${be}-slide-up-appear${be}-slide-up-appear-active${Se}-dropdown-placement-bottomLeft,
&${be}-slide-up-appear${be}-slide-up-appear-active${Se}-dropdown-placement-bottomRight`]:{animationName:Bi.fJ},[`&${be}-slide-up-leave${be}-slide-up-leave-active${Se}-dropdown-placement-topLeft,
&${be}-slide-up-leave${be}-slide-up-leave-active${Se}-dropdown-placement-topRight`]:{animationName:Bi.ly},[`&${be}-slide-up-leave${be}-slide-up-leave-active${Se}-dropdown-placement-bottomLeft,
&${be}-slide-up-leave${be}-slide-up-leave-active${Se}-dropdown-placement-bottomRight`]:{animationName:Bi.Uw},[`${Se}-panel > ${Se}-time-panel`]:{paddingTop:ei},[`${Se}-ranges`]:{marginBottom:0,padding:`${ei}px ${li}px`,overflow:"hidden",lineHeight:`${pi-2*Tn-br/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${Se}-preset > ${be}-tag-blue`]:{color:Vo,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:Xt*1.5,transition:`left ${fo} ease-out`},(0,fs.r)(Ro,_o,wi,Ni,rt)),[`${Se}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Ni,borderRadius:fi,boxShadow:Mo,transition:`margin ${fo}`,[`${Se}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Se}-presets`]:{display:"flex",flexDirection:"column",minWidth:Ce,maxWidth:Ue,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:br,borderInlineEnd:`${Tn}px ${kn} ${Xi}`,li:Object.assign(Object.assign({},Zu.vS),{borderRadius:ol,paddingInline:br,paddingBlock:(ka-Math.round(lt*jn))/2,cursor:"pointer",transition:`all ${fo}`,"+ li":{marginTop:Ir},"&:hover":{background:Ee}})}},[`${Se}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${Se}-panel`]:{borderWidth:`0 0 ${Tn}px`},"&:last-child":{[`${Se}-panel`]:{borderWidth:0}}},[`${Se}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Se}-content,
table`]:{textAlign:"center"},"&-focused":{borderColor:ua}}}}),"&-dropdown-range":{padding:`${Ro*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Se}-separator`]:{transform:"rotate(180deg)"},[`${Se}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Bi.oN)(me,"slide-up"),(0,Bi.oN)(me,"slide-down"),(0,Cu.Fm)(me,"move-up"),(0,Cu.Fm)(me,"move-down")]},zl=me=>{const{componentCls:Se,controlHeightLG:be,paddingXXS:tt,padding:lt}=me;return{pickerCellCls:`${Se}-cell`,pickerCellInnerCls:`${Se}-cell-inner`,pickerYearMonthCellWidth:be*1.5,pickerQuarterPanelContentHeight:be*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 bl.C(me.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new bl.C(me.colorPrimary).lighten(20).toHexString(),cellBgDisabled:me.colorBgContainerDisabled,timeColumnWidth:me.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:me.controlHeightSM*1.5,cellHeight:me.controlHeightSM,textHeight:me.controlHeightLG,withoutTimeCellHeight:me.controlHeightLG*1.65});var qu=(0,rs.Z)("DatePicker",me=>{const Se=(0,zu.TS)((0,ji.e5)(me),zl(me));return[Fl(Se),Fu(Se),(0,au.c)(me,{focusElCls:`${me.componentCls}-focused`})]},me=>Object.assign(Object.assign(Object.assign({},(0,ji.TM)(me)),os(me)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:me.zIndexPopupBase+50}));function ju(me,Se,be){return be!==void 0?be: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 Lr(me,Se,be){return be!==void 0?be: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 be={adjustX:1,adjustY:1};switch(Se){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:be};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:be};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:be};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:be};default:return{points:me==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:be}}}function Yl(me){return me?Array.isArray(me)?me:[me]:[]}function Hl(me){const{format:Se,picker:be,showHour:tt,showMinute:lt,showSecond:Xt,use12Hours:Wt}=me,Tn=Yl(Se)[0],kn=Object.assign({},me);return Se&&Array.isArray(Se)&&(kn.format=Tn),Tn&&typeof Tn=="string"&&(!Tn.includes("s")&&Xt===void 0&&(kn.showSecond=!1),!Tn.includes("m")&&lt===void 0&&(kn.showMinute=!1),!Tn.includes("H")&&!Tn.includes("h")&&!Tn.includes("K")&&!Tn.includes("k")&&tt===void 0&&(kn.showHour=!1),(Tn.includes("a")||Tn.includes("A"))&&Wt===void 0&&(kn.use12Hours=!0)),be==="time"?kn:(typeof Tn=="function"&&delete kn.format,{showTime:kn})}function rr(me,Se,be){if(me===!1)return!1;const tt={clearIcon:Se!=null?Se:be};return typeof me=="object"?Object.assign(Object.assign({},tt),me):tt}var du=ee(3113);function es(me){return ie.createElement(du.ZP,Object.assign({size:"small",type:"primary"},me))}var wu={button:es},ts=function(me,Se){var be={};for(var tt in me)Object.prototype.hasOwnProperty.call(me,tt)&&Se.indexOf(tt)<0&&(be[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])&&(be[tt[lt]]=me[tt[lt]]);return be};function cu(me){return(0,ie.forwardRef)((be,tt)=>{const{prefixCls:lt,getPopupContainer:Xt,className:Wt,placement:Tn,size:kn,disabled:ua,bordered:Aa=!0,placeholder:fa,popupClassName:vn,dropdownClassName:Ia,status:Ma,clearIcon:Mn,allowClear:ga,rootClassName:ka}=be,Ar=ts(be,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),br=ie.useRef(null),{getPrefixCls:Ir,direction:Wr,getPopupContainer:Rr}=(0,ie.useContext)(ku.E_),jn=Ir("picker",lt),{compactSize:Vo,compactItemClassnames:fo}=(0,Xu.ri)(jn,Wr),{format:Ho,showTime:ei,picker:li}=be,pi=Ir(),[zi,oo]=qu(jn),Ro=Object.assign(Object.assign({},ei?Hl(Object.assign({format:Ho,picker:li},ei)):{}),li==="time"?Hl(Object.assign(Object.assign({format:Ho},be),{picker:li})):{}),_o=(0,Ju.Z)(rt=>{var ht;return(ht=kn!=null?kn:Vo)!==null&&ht!==void 0?ht:rt}),wi=ie.useContext(nu.Z),Ni=ua!=null?ua:wi,fi=(0,ie.useContext)(bu.aM),{hasFeedback:Mo,status:ol,feedbackIcon:Xi}=fi,Ee=ie.createElement(ie.Fragment,null,li==="time"?ie.createElement(ot,null):ie.createElement(he,null),Mo&&Xi);(0,ie.useImperativeHandle)(tt,()=>({focus:()=>{var rt;return(rt=br.current)===null||rt===void 0?void 0:rt.focus()},blur:()=>{var rt;return(rt=br.current)===null||rt===void 0?void 0:rt.blur()}}));const[Ce]=(0,Tu.Z)("Calendar",_u.Z),Ue=Object.assign(Object.assign({},Ce),be.locale);return zi(ie.createElement(Ru,Object.assign({separator:ie.createElement("span",{"aria-label":"to",className:`${jn}-separator`},ie.createElement(on,null)),disabled:Ni,ref:br,dropdownAlign:Bu(Wr,Tn),placeholder:Lr(Ue,li,fa),suffixIcon:Ee,prevIcon:ie.createElement("span",{className:`${jn}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${jn}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${jn}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${jn}-super-next-icon`}),transitionName:`${pi}-slide-up`},Ar,Ro,{className:Ve()({[`${jn}-${_o}`]:_o,[`${jn}-borderless`]:!Aa},(0,rl.Z)(jn,(0,rl.F)(ol,Ma),Mo),oo,fo,Wt,ka),locale:Ue.lang,prefixCls:jn,getPopupContainer:Xt||Rr,generateConfig:me,components:wu,direction:Wr,dropdownClassName:Ve()(oo,vn||Ia,ka),allowClear:rr(ga,Mn,ie.createElement(dt.Z,null))})))})}var Qi=function(me,Se){var be={};for(var tt in me)Object.prototype.hasOwnProperty.call(me,tt)&&Se.indexOf(tt)<0&&(be[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])&&(be[tt[lt]]=me[tt[lt]]);return be};function ls(me){function Se(kn,ua){const Aa=ua==="TimePicker"?"timePicker":"datePicker",fa=(0,ie.forwardRef)((vn,Ia)=>{const{prefixCls:Ma,getPopupContainer:Mn,style:ga,className:ka,rootClassName:Ar,size:br,bordered:Ir=!0,placement:Wr,placeholder:Rr,popupClassName:jn,dropdownClassName:Vo,disabled:fo,status:Ho,clearIcon:ei,allowClear:li}=vn,pi=Qi(vn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:zi,direction:oo,getPopupContainer:Ro,[Aa]:_o}=(0,ie.useContext)(ku.E_),wi=zi("picker",Ma),{compactSize:Ni,compactItemClassnames:fi}=(0,Xu.ri)(wi,oo),Mo=ie.useRef(null),{format:ol,showTime:Xi}=vn,[Ee,Ce]=qu(wi);(0,ie.useImperativeHandle)(Ia,()=>({focus:()=>{var zt;return(zt=Mo.current)===null||zt===void 0?void 0:zt.focus()},blur:()=>{var zt;return(zt=Mo.current)===null||zt===void 0?void 0:zt.blur()}}));const Ue={showToday:!0};let rt={};kn&&(rt.picker=kn);const ht=kn||vn.picker;rt=Object.assign(Object.assign(Object.assign({},rt),Xi?Hl(Object.assign({format:ol,picker:ht},Xi)):{}),ht==="time"?Hl(Object.assign(Object.assign({format:ol},vn),{picker:ht})):{});const pt=zi(),$t=(0,Ju.Z)(zt=>{var nr;return(nr=br!=null?br:Ni)!==null&&nr!==void 0?nr:zt}),Qt=ie.useContext(nu.Z),Ut=fo!=null?fo:Qt,xn=(0,ie.useContext)(bu.aM),{hasFeedback:Sn,status:En,feedbackIcon:ea}=xn,ra=ie.createElement(ie.Fragment,null,ht==="time"?ie.createElement(ot,null):ie.createElement(he,null),Sn&&ea),[ma]=(0,Tu.Z)("DatePicker",_u.Z),La=Object.assign(Object.assign({},ma),vn.locale);return Ee(ie.createElement(Mu,Object.assign({ref:Mo,placeholder:ju(La,ht,Rr),suffixIcon:ra,dropdownAlign:Bu(oo,Wr),prevIcon:ie.createElement("span",{className:`${wi}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${wi}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${wi}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${wi}-super-next-icon`}),transitionName:`${pt}-slide-up`},Ue,pi,rt,{locale:La.lang,className:Ve()({[`${wi}-${$t}`]:$t,[`${wi}-borderless`]:!Ir},(0,rl.Z)(wi,(0,rl.F)(En,Ho),Sn),Ce,fi,_o==null?void 0:_o.className,ka,Ar),style:Object.assign(Object.assign({},_o==null?void 0:_o.style),ga),prefixCls:wi,getPopupContainer:Mn||Ro,generateConfig:me,components:wu,direction:oo,disabled:Ut,dropdownClassName:Ve()(Ce,Ar,jn||Vo),allowClear:rr(li,ei,ie.createElement(dt.Z,null))})))});return ua&&(fa.displayName=ua),fa}const be=Se(),tt=Se("week","WeekPicker"),lt=Se("month","MonthPicker"),Xt=Se("year","YearPicker"),Wt=Se("time","TimePicker"),Tn=Se("quarter","QuarterPicker");return{DatePicker:be,WeekPicker:tt,MonthPicker:lt,YearPicker:Xt,TimePicker:Wt,QuarterPicker:Tn}}const us=null;function ss(me){const{DatePicker:Se,WeekPicker:be,MonthPicker:tt,YearPicker:lt,TimePicker:Xt,QuarterPicker:Wt}=ls(me),Tn=cu(me),kn=Se;return kn.WeekPicker=be,kn.MonthPicker=tt,kn.YearPicker=lt,kn.RangePicker=Tn,kn.TimePicker=Xt,kn.QuarterPicker=Wt,kn}var Gu=ss;const Jl=Gu(te);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(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return He}});var b=ee(92310),de=ee.n(b),Be=ee(89490),Ne=ee(11036),_e=ee(43403),ke=ee(34280),le=ee(59301),it=le.createContext(null),qe=le.createContext({}),Ke=it,je=ee(87075),Je=ee(71409),Ye=ee(77900),ue=ee(10228),E=ee(26112),a=ee(70425),x=function(Lt){var mt=Lt.prefixCls,Nt=Lt.className,st=Lt.style,nt=Lt.children,De=Lt.containerRef,fe=Lt.id,Xe=Lt.onMouseEnter,Rt=Lt.onMouseOver,Oe=Lt.onMouseLeave,Ie=Lt.onClick,vt=Lt.onKeyDown,et=Lt.onKeyUp,Me={onMouseEnter:Xe,onMouseOver:Rt,onMouseLeave:Oe,onClick:Ie,onKeyDown:vt,onKeyUp:et},St=le.useContext(qe),Bn=St.panel,nn=(0,a.useComposeRef)(Bn,De);return le.createElement(le.Fragment,null,le.createElement("div",(0,Je.Z)({id:fe,className:de()("".concat(mt,"-content"),Nt),style:(0,Be.Z)({},st),"aria-modal":"true",role:"dialog",ref:nn},Me),nt))},y=x,z=ee(48736);function te(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 se={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ie(ct,Lt){var mt,Nt,st,nt,De=ct.prefixCls,fe=ct.open,Xe=ct.placement,Rt=ct.inline,Oe=ct.push,Ie=ct.forceRender,vt=ct.autoFocus,et=ct.keyboard,Me=ct.rootClassName,St=ct.rootStyle,Bn=ct.zIndex,nn=ct.className,fn=ct.id,ln=ct.style,Cn=ct.motion,Ze=ct.width,yt=ct.height,Zt=ct.children,Bt=ct.contentWrapperStyle,Mt=ct.mask,dn=ct.maskClosable,gn=ct.maskMotion,Dn=ct.maskClassName,Jn=ct.maskStyle,ha=ct.afterOpenChange,Ra=ct.onClose,_a=ct.onMouseEnter,gr=ct.onMouseOver,ar=ct.onMouseLeave,pa=ct.onClick,Br=ct.onKeyDown,qt=ct.onKeyUp,An=le.useRef(),oa=le.useRef(),Da=le.useRef();le.useImperativeHandle(Lt,function(){return An.current});var ut=function(Ua){var wa=Ua.keyCode,Nn=Ua.shiftKey;switch(wa){case ue.Z.TAB:{if(wa===ue.Z.TAB){if(!Nn&&document.activeElement===Da.current){var mr;(mr=oa.current)===null||mr===void 0||mr.focus({preventScroll:!0})}else if(Nn&&document.activeElement===oa.current){var Nr;(Nr=Da.current)===null||Nr===void 0||Nr.focus({preventScroll:!0})}}break}case ue.Z.ESC:{Ra&&et&&(Ua.stopPropagation(),Ra(Ua));break}}};le.useEffect(function(){if(fe&&vt){var Xn;(Xn=An.current)===null||Xn===void 0||Xn.focus({preventScroll:!0})}},[fe]);var bn=le.useState(!1),Ln=(0,Ne.Z)(bn,2),zn=Ln[0],pn=Ln[1],ia=le.useContext(Ke),Sa;Oe===!1?Sa={distance:0}:Oe===!0?Sa={}:Sa=Oe||{};var It=(mt=(Nt=(st=Sa)===null||st===void 0?void 0:st.distance)!==null&&Nt!==void 0?Nt:ia==null?void 0:ia.pushDistance)!==null&&mt!==void 0?mt:180,kt=le.useMemo(function(){return{pushDistance:It,push:function(){pn(!0)},pull:function(){pn(!1)}}},[It]);le.useEffect(function(){if(fe){var Xn;ia==null||(Xn=ia.push)===null||Xn===void 0||Xn.call(ia)}else{var Ua;ia==null||(Ua=ia.pull)===null||Ua===void 0||Ua.call(ia)}},[fe]),le.useEffect(function(){return function(){var Xn;ia==null||(Xn=ia.pull)===null||Xn===void 0||Xn.call(ia)}},[]);var bt=Mt&&le.createElement(Ye.default,(0,Je.Z)({key:"mask"},gn,{visible:fe}),function(Xn,Ua){var wa=Xn.className,Nn=Xn.style;return le.createElement("div",{className:de()("".concat(De,"-mask"),wa,Dn),style:(0,Be.Z)((0,Be.Z)({},Nn),Jn),onClick:dn&&fe?Ra:void 0,ref:Ua})}),Qn=typeof Cn=="function"?Cn(Xe):Cn,Yn={};if(zn&&It)switch(Xe){case"top":Yn.transform="translateY(".concat(It,"px)");break;case"bottom":Yn.transform="translateY(".concat(-It,"px)");break;case"left":Yn.transform="translateX(".concat(It,"px)");break;default:Yn.transform="translateX(".concat(-It,"px)");break}Xe==="left"||Xe==="right"?Yn.width=te(Ze):Yn.height=te(yt);var Gn={onMouseEnter:_a,onMouseOver:gr,onMouseLeave:ar,onClick:pa,onKeyDown:Br,onKeyUp:qt},ir=le.createElement(Ye.default,(0,Je.Z)({key:"panel"},Qn,{visible:fe,forceRender:Ie,onVisibleChanged:function(Ua){ha==null||ha(Ua)},removeOnLeave:!1,leavedClassName:"".concat(De,"-content-wrapper-hidden")}),function(Xn,Ua){var wa=Xn.className,Nn=Xn.style;return le.createElement("div",(0,Je.Z)({className:de()("".concat(De,"-content-wrapper"),wa),style:(0,Be.Z)((0,Be.Z)((0,Be.Z)({},Yn),Nn),Bt)},(0,E.Z)(ct,{data:!0})),le.createElement(y,(0,Je.Z)({id:fn,containerRef:Ua,prefixCls:De,className:nn,style:ln},Gn),Zt))}),Ba=(0,Be.Z)({},St);return Bn&&(Ba.zIndex=Bn),le.createElement(Ke.Provider,{value:kt},le.createElement("div",{className:de()(De,"".concat(De,"-").concat(Xe),Me,(nt={},(0,je.Z)(nt,"".concat(De,"-open"),fe),(0,je.Z)(nt,"".concat(De,"-inline"),Rt),nt)),style:Ba,tabIndex:-1,ref:An,onKeyDown:ut},bt,le.createElement("div",{tabIndex:0,ref:oa,style:se,"aria-hidden":"true","data-sentinel":"start"}),ir,le.createElement("div",{tabIndex:0,ref:Da,style:se,"aria-hidden":"true","data-sentinel":"end"})))}var ve=le.forwardRef(ie),ye=ve,Ge=function(Lt){var mt=Lt.open,Nt=mt===void 0?!1:mt,st=Lt.prefixCls,nt=st===void 0?"rc-drawer":st,De=Lt.placement,fe=De===void 0?"right":De,Xe=Lt.autoFocus,Rt=Xe===void 0?!0:Xe,Oe=Lt.keyboard,Ie=Oe===void 0?!0:Oe,vt=Lt.width,et=vt===void 0?378:vt,Me=Lt.mask,St=Me===void 0?!0:Me,Bn=Lt.maskClosable,nn=Bn===void 0?!0:Bn,fn=Lt.getContainer,ln=Lt.forceRender,Cn=Lt.afterOpenChange,Ze=Lt.destroyOnClose,yt=Lt.onMouseEnter,Zt=Lt.onMouseOver,Bt=Lt.onMouseLeave,Mt=Lt.onClick,dn=Lt.onKeyDown,gn=Lt.onKeyUp,Dn=Lt.panelRef,Jn=le.useState(!1),ha=(0,Ne.Z)(Jn,2),Ra=ha[0],_a=ha[1],gr=le.useState(!1),ar=(0,Ne.Z)(gr,2),pa=ar[0],Br=ar[1];(0,ke.Z)(function(){Br(!0)},[]);var qt=pa?Nt:!1,An=le.useRef(),oa=le.useRef();(0,ke.Z)(function(){qt&&(oa.current=document.activeElement)},[qt]);var Da=function(pn){var ia;if(_a(pn),Cn==null||Cn(pn),!pn&&oa.current&&!((ia=An.current)!==null&&ia!==void 0&&ia.contains(oa.current))){var Sa;(Sa=oa.current)===null||Sa===void 0||Sa.focus({preventScroll:!0})}},ut=le.useMemo(function(){return{panel:Dn}},[Dn]);if(!ln&&!Ra&&!qt&&Ze)return null;var bn={onMouseEnter:yt,onMouseOver:Zt,onMouseLeave:Bt,onClick:Mt,onKeyDown:dn,onKeyUp:gn},Ln=(0,Be.Z)((0,Be.Z)({},Lt),{},{open:qt,prefixCls:nt,placement:fe,autoFocus:Rt,keyboard:Ie,width:et,mask:St,maskClosable:nn,inline:fn===!1,afterOpenChange:Da,ref:An},bn);return le.createElement(qe.Provider,{value:ut},le.createElement(_e.Z,{open:qt||ln||Ra,autoDestroy:!1,getContainer:fn,autoLock:St&&(qt||Ra)},le.createElement(ye,Ln)))},Ae=Ge,ze=Ae,he=ee(62892),Qe=ee(36355),We=ee(32441),ft=ee(47729),ot=ct=>{const{prefixCls:Lt,title:mt,footer:Nt,extra:st,closeIcon:nt,closable:De,onClose:fe,headerStyle:Xe,drawerStyle:Rt,bodyStyle:Oe,footerStyle:Ie,children:vt}=ct,et=le.useCallback(fn=>le.createElement("button",{type:"button",onClick:fe,"aria-label":"Close",className:`${Lt}-close`},fn),[fe]),[Me,St]=(0,ft.Z)(De,nt,et,void 0,!0),Bn=le.useMemo(()=>!mt&&!Me?null:le.createElement("div",{style:Xe,className:de()(`${Lt}-header`,{[`${Lt}-header-close-only`]:Me&&!mt&&!st})},le.createElement("div",{className:`${Lt}-header-title`},St,mt&&le.createElement("div",{className:`${Lt}-title`},mt)),st&&le.createElement("div",{className:`${Lt}-extra`},st)),[Me,St,st,Xe,Lt,mt]),nn=le.useMemo(()=>{if(!Nt)return null;const fn=`${Lt}-footer`;return le.createElement("div",{className:fn,style:Ie},Nt)},[Nt,Ie,Lt]);return le.createElement("div",{className:`${Lt}-wrapper-body`,style:Rt},Bn,le.createElement("div",{className:`${Lt}-body`,style:Oe},vt),nn)},dt=ee(33234),gt=ee(83116),Dt=ee(37613),Ft=ct=>{const{componentCls:Lt,motionDurationSlow:mt}=ct,Nt={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${mt}`}}};return{[Lt]:{[`${Lt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${mt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Lt}-panel-motion`]:{"&-left":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const on=ct=>{const{componentCls:Lt,zIndexPopup:mt,colorBgMask:Nt,colorBgElevated:st,motionDurationSlow:nt,motionDurationMid:De,padding:fe,paddingLG:Xe,fontSizeLG:Rt,lineHeightLG:Oe,lineWidth:Ie,lineType:vt,colorSplit:et,marginSM:Me,colorIcon:St,colorIconHover:Bn,colorText:nn,fontWeightStrong:fn,footerPaddingBlock:ln,footerPaddingInline:Cn}=ct,Ze=`${Lt}-content-wrapper`;return{[Lt]:{position:"fixed",inset:0,zIndex:mt,pointerEvents:"none","&-pure":{position:"relative",background:st,[`&${Lt}-left`]:{boxShadow:ct.boxShadowDrawerLeft},[`&${Lt}-right`]:{boxShadow:ct.boxShadowDrawerRight},[`&${Lt}-top`]:{boxShadow:ct.boxShadowDrawerUp},[`&${Lt}-bottom`]:{boxShadow:ct.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Lt}-mask`]:{position:"absolute",inset:0,zIndex:mt,background:Nt,pointerEvents:"auto"},[Ze]:{position:"absolute",zIndex:mt,maxWidth:"100vw",transition:`all ${nt}`,"&-hidden":{display:"none"}},[`&-left > ${Ze}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ct.boxShadowDrawerLeft},[`&-right > ${Ze}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ct.boxShadowDrawerRight},[`&-top > ${Ze}`]:{top:0,insetInline:0,boxShadow:ct.boxShadowDrawerUp},[`&-bottom > ${Ze}`]:{bottom:0,insetInline:0,boxShadow:ct.boxShadowDrawerDown},[`${Lt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:st,pointerEvents:"auto"},[`${Lt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Lt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${fe}px ${Xe}px`,fontSize:Rt,lineHeight:Oe,borderBottom:`${Ie}px ${vt} ${et}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Lt}-extra`]:{flex:"none"},[`${Lt}-close`]:{display:"inline-block",marginInlineEnd:Me,color:St,fontWeight:fn,fontSize:Rt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${De}`,textRendering:"auto","&:focus, &:hover":{color:Bn,textDecoration:"none"}},[`${Lt}-title`]:{flex:1,margin:0,color:nn,fontWeight:ct.fontWeightStrong,fontSize:Rt,lineHeight:Oe},[`${Lt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Xe,overflow:"auto"},[`${Lt}-footer`]:{flexShrink:0,padding:`${ln}px ${Cn}px`,borderTop:`${Ie}px ${vt} ${et}`},"&-rtl":{direction:"rtl"}}}};var cn=(0,gt.Z)("Drawer",ct=>{const Lt=(0,Dt.TS)(ct,{});return[on(Lt),Ft(Lt)]},ct=>({zIndexPopup:ct.zIndexPopupBase,footerPaddingBlock:ct.paddingXS,footerPaddingInline:ct.padding})),Ve=ee(11575),at=function(ct,Lt){var mt={};for(var Nt in ct)Object.prototype.hasOwnProperty.call(ct,Nt)&&Lt.indexOf(Nt)<0&&(mt[Nt]=ct[Nt]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,Nt=Object.getOwnPropertySymbols(ct);st<Nt.length;st++)Lt.indexOf(Nt[st])<0&&Object.prototype.propertyIsEnumerable.call(ct,Nt[st])&&(mt[Nt[st]]=ct[Nt[st]]);return mt};const rn=null,Kn={distance:180},Gt=ct=>{var Lt;const{rootClassName:mt,width:Nt,height:st,size:nt="default",mask:De=!0,push:fe=Kn,open:Xe,afterOpenChange:Rt,onClose:Oe,prefixCls:Ie,getContainer:vt,style:et,className:Me,visible:St,afterVisibleChange:Bn}=ct,nn=at(ct,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:fn,getPrefixCls:ln,direction:Cn,drawer:Ze}=le.useContext(Qe.E_),yt=ln("drawer",Ie),[Zt,Bt]=cn(yt),Mt=vt===void 0&&fn?()=>fn(document.body):vt,dn=de()({"no-mask":!De,[`${yt}-rtl`]:Cn==="rtl"},mt,Bt),gn=le.useMemo(()=>Nt!=null?Nt:nt==="large"?736:378,[Nt,nt]),Dn=le.useMemo(()=>st!=null?st:nt==="large"?736:378,[st,nt]),Jn={motionName:(0,he.m)(yt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},ha=_a=>({motionName:(0,he.m)(yt,`panel-motion-${_a}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Ra=(0,Ve.H)();return Zt(le.createElement(dt.BR,null,le.createElement(We.Ux,{status:!0,override:!0},le.createElement(ze,Object.assign({prefixCls:yt,onClose:Oe,maskMotion:Jn,motion:ha},nn,{open:Xe!=null?Xe:St,mask:De,push:fe,width:gn,height:Dn,style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),et),className:de()(Ze==null?void 0:Ze.className,Me),rootClassName:dn,getContainer:Mt,afterOpenChange:Rt!=null?Rt:Bn,panelRef:Ra}),le.createElement(ot,Object.assign({prefixCls:yt},nn,{onClose:Oe}))))))},wn=ct=>{const{prefixCls:Lt,style:mt,className:Nt,placement:st="right"}=ct,nt=at(ct,["prefixCls","style","className","placement"]),{getPrefixCls:De}=le.useContext(Qe.E_),fe=De("drawer",Lt),[Xe,Rt]=cn(fe),Oe=de()(fe,`${fe}-pure`,`${fe}-${st}`,Rt,Nt);return Xe(le.createElement("div",{className:Oe,style:mt},le.createElement(ot,Object.assign({prefixCls:fe},nt))))};Gt._InternalPanelDoNotUseOrYouWillBeFired=wn;var He=Gt},91857:function(Vt,jt,ee){"use strict";var b=ee(59301),de=ee(38819),Be=ee(92310),Ne=ee.n(Be),_e=ee(31561),ke=ee(70425),le=ee(18929),it=ee(2738),qe=ee(79676),Ke=ee(53487),je=ee(92343),Je=ee(36355),Ye=ee(20834),ue=ee(40875),E=ee(88088),a=ee(47211);const x=null,y=se=>{const{menu:ie,arrow:ve,prefixCls:ye,children:Ge,trigger:Ae,disabled:ze,dropdownRender:he,getPopupContainer:Qe,overlayClassName:We,rootClassName:ft,open:Le,onOpenChange:ot,visible:dt,onVisibleChange:gt,mouseEnterDelay:Dt=.15,mouseLeaveDelay:sn=.1,autoAdjustOverflow:Ft=!0,placement:on="",overlay:cn,transitionName:Ve}=se,{getPopupContainer:at,getPrefixCls:rn,direction:Kn}=b.useContext(Je.E_),Gt=b.useMemo(()=>{const Me=rn();return Ve!==void 0?Ve:on.includes("top")?`${Me}-slide-down`:`${Me}-slide-up`},[rn,on,Ve]),wn=b.useMemo(()=>on?on.includes("Center")?on.slice(0,on.indexOf("Center")):on:Kn==="rtl"?"bottomRight":"bottomLeft",[on,Kn]),He=rn("dropdown",ye),[ct,Lt]=(0,a.Z)(He),[,mt]=(0,E.Z)(),Nt=b.Children.only(Ge),st=(0,je.Tm)(Nt,{className:Ne()(`${He}-trigger`,{[`${He}-rtl`]:Kn==="rtl"},Nt.props.className),disabled:ze}),nt=ze?[]:Ae;let De;nt&&nt.includes("contextMenu")&&(De=!0);const[fe,Xe]=(0,le.Z)(!1,{value:Le!=null?Le:dt}),Rt=(0,ke.useEvent)(Me=>{ot==null||ot(Me),gt==null||gt(Me),Xe(Me)}),Oe=Ne()(We,ft,Lt,{[`${He}-rtl`]:Kn==="rtl"}),Ie=(0,qe.Z)({arrowPointAtCenter:typeof ve=="object"&&ve.pointAtCenter,autoAdjustOverflow:Ft,offset:mt.marginXXS,arrowWidth:ve?mt.sizePopupArrow:0,borderRadius:mt.borderRadius}),vt=b.useCallback(()=>{Xe(!1)},[]),et=()=>{let Me;return ie!=null&&ie.items?Me=b.createElement(Ye.default,Object.assign({},ie)):typeof cn=="function"?Me=cn():Me=cn,he&&(Me=he(Me)),Me=b.Children.only(typeof Me=="string"?b.createElement("span",null,Me):Me),b.createElement(ue.J,{prefixCls:`${He}-menu`,expandIcon:b.createElement("span",{className:`${He}-menu-submenu-arrow`},b.createElement(de.Z,{className:`${He}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:vt,validator:St=>{let{mode:Bn}=St}},Me)};return ct(b.createElement(_e.Z,Object.assign({alignPoint:De},(0,it.Z)(se,["rootClassName"]),{mouseEnterDelay:Dt,mouseLeaveDelay:sn,visible:fe,builtinPlacements:Ie,arrow:!!ve,overlayClassName:Oe,prefixCls:He,getPopupContainer:Qe||at,transitionName:Gt,trigger:nt,overlay:et,placement:wn,onVisibleChange:Rt}),st))};function z(se){return Object.assign(Object.assign({},se),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const te=(0,Ke.Z)(y,"dropdown",se=>se,z),re=se=>b.createElement(te,Object.assign({},se),b.createElement("span",null));y._InternalPanelDoNotUseOrYouWillBeFired=re,jt.Z=y},38854:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return E}});var b=ee(91857),de=ee(92310),Be=ee.n(de),Ne=ee(59301),_e=ee(18785),ke=ee(3113),le=ee(36355),it=ee(81327),qe=ee(33234),Ke=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 te=0,z=Object.getOwnPropertySymbols(a);te<z.length;te++)x.indexOf(z[te])<0&&Object.prototype.propertyIsEnumerable.call(a,z[te])&&(y[z[te]]=a[z[te]]);return y};const Je=a=>{const{getPopupContainer:x,getPrefixCls:y,direction:z}=Ne.useContext(le.E_),{prefixCls:te,type:re="default",danger:se,disabled:ie,loading:ve,onClick:ye,htmlType:Ge,children:Ae,className:ze,menu:he,arrow:Qe,autoFocus:We,overlay:ft,trigger:Le,align:ot,open:dt,onOpenChange:gt,placement:Dt,getPopupContainer:sn,href:Ft,icon:on=Ne.createElement(_e.Z,null),title:cn,buttonsRender:Ve=et=>et,mouseEnterDelay:at,mouseLeaveDelay:rn,overlayClassName:Kn,overlayStyle:Gt,destroyPopupOnHide:wn,dropdownRender:He}=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"]),Lt=y("dropdown",te),mt=`${Lt}-button`,[Nt,st]=(0,Ke.Z)(Lt),nt={menu:he,arrow:Qe,autoFocus:We,align:ot,disabled:ie,trigger:ie?[]:Le,onOpenChange:gt,getPopupContainer:sn||x,mouseEnterDelay:at,mouseLeaveDelay:rn,overlayClassName:Kn,overlayStyle:Gt,destroyPopupOnHide:wn,dropdownRender:He},{compactSize:De,compactItemClassnames:fe}=(0,qe.ri)(Lt,z),Xe=Be()(mt,fe,ze,st);"overlay"in a&&(nt.overlay=ft),"open"in a&&(nt.open=dt),"placement"in a?nt.placement=Dt:nt.placement=z==="rtl"?"bottomLeft":"bottomRight";const Rt=Ne.createElement(ke.ZP,{type:re,danger:se,disabled:ie,loading:ve,onClick:ye,htmlType:Ge,href:Ft,title:cn},Ae),Oe=Ne.createElement(ke.ZP,{type:re,danger:se,icon:on}),[Ie,vt]=Ve([Rt,Oe]);return Nt(Ne.createElement(it.Z.Compact,Object.assign({className:Xe,size:De,block:!0},ct),Ie,Ne.createElement(b.Z,Object.assign({},nt),vt)))};Je.__ANT_BUTTON=!0;var Ye=Je;const ue=b.Z;ue.Button=Ye;var E=ue},47211:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return je}});var b=ee(17313),de=ee(13826),Be=ee(92899),Ne=ee(29878),_e=ee(19447),ke=ee(83116),le=ee(37613),qe=Je=>{const{componentCls:Ye,menuCls:ue,colorError:E,colorTextLightSolid:a}=Je,x=`${ue}-item`;return{[`${Ye}, ${Ye}-menu-submenu`]:{[`${ue} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:E,"&:hover":{color:a,backgroundColor:E}}}}}};const Ke=Je=>{const{componentCls:Ye,menuCls:ue,zIndexPopup:E,dropdownArrowDistance:a,sizePopupArrow:x,antCls:y,iconCls:z,motionDurationMid:te,dropdownPaddingVertical:re,fontSize:se,dropdownEdgeChildPadding:ie,colorTextDisabled:ve,fontSizeIcon:ye,controlPaddingHorizontal:Ge,colorBgElevated:Ae}=Je;return[{[Ye]:Object.assign(Object.assign({},(0,b.Wf)(Je)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,display:"block","&::before":{position:"absolute",insetBlock:-a+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${y}-btn`]:{[`& > ${z}-down, & > ${y}-btn-icon > ${z}-down`]:{fontSize:ye}},[`${Ye}-wrap`]:{position:"relative",[`${y}-btn > ${z}-down`]:{fontSize:ye},[`${z}-down::before`]:{transition:`transform ${te}`}},[`${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,_e.ZP)(Je,{colorBg:Ae,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ye} ${ue}`]:{position:"relative",margin:0},[`${ue}-submenu-popup`]:{position:"absolute",zIndex:E,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ye}, ${Ye}-menu-submenu`]:{[ue]:Object.assign(Object.assign({padding:ie,listStyleType:"none",backgroundColor:Ae,backgroundClip:"padding-box",borderRadius:Je.borderRadiusLG,outline:"none",boxShadow:Je.boxShadowSecondary},(0,b.Qy)(Je)),{[`${ue}-item-group-title`]:{padding:`${re}px ${Ge}px`,color:Je.colorTextDescription,transition:`all ${te}`},[`${ue}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ue}-item-icon`]:{minWidth:se,marginInlineEnd:Je.marginXS,fontSize:Je.fontSizeSM},[`${ue}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ue}-item, ${ue}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${Ge}px`,color:Je.colorText,fontWeight:"normal",fontSize:se,lineHeight:Je.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:Je.borderRadiusSM,"&:hover, &-active":{backgroundColor:Je.controlItemBgHover}},(0,b.Qy)(Je)),{"&-selected":{color:Je.colorPrimary,backgroundColor:Je.controlItemBgActive,"&:hover, &-active":{backgroundColor:Je.controlItemBgActiveHover}},"&-disabled":{color:ve,cursor:"not-allowed","&:hover":{color:ve,backgroundColor:Ae,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Je.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Je.colorSplit},[`${Ye}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Je.paddingXS,[`${Ye}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Je.colorTextDescription,fontSize:ye,fontStyle:"normal"}}}),[`${ue}-item-group-list`]:{margin:`0 ${Je.marginXS}px`,padding:0,listStyle:"none"},[`${ue}-submenu-title`]:{paddingInlineEnd:Ge+Je.fontSizeSM},[`${ue}-submenu-vertical`]:{position:"relative"},[`${ue}-submenu${ue}-submenu-disabled ${Ye}-menu-submenu-title`]:{[`&, ${Ye}-menu-submenu-arrow-icon`]:{color:ve,backgroundColor:Ae,cursor:"not-allowed"}},[`${ue}-submenu-selected ${Ye}-menu-submenu-title`]:{color:Je.colorPrimary}})}},[(0,de.oN)(Je,"slide-up"),(0,de.oN)(Je,"slide-down"),(0,Be.Fm)(Je,"move-up"),(0,Be.Fm)(Je,"move-down"),(0,Ne._y)(Je,"zoom-big")]]};var je=(0,ke.Z)("Dropdown",(Je,Ye)=>{let{rootPrefixCls:ue}=Ye;const{marginXXS:E,sizePopupArrow:a,controlHeight:x,fontSize:y,lineHeight:z,paddingXXS:te,componentCls:re,borderRadiusLG:se}=Je,ie=(x-y*z)/2,{dropdownArrowOffset:ve}=(0,_e.fS)({contentRadius:se}),ye=(0,le.TS)(Je,{menuCls:`${re}-menu`,rootPrefixCls:ue,dropdownArrowDistance:a/2+E,dropdownArrowOffset:ve,dropdownPaddingVertical:ie,dropdownEdgeChildPadding:te});return[Ke(ye),qe(ye)]},Je=>({zIndexPopup:Je.zIndexPopupBase+50}))},8628:function(Vt,jt,ee){"use strict";var b=ee(59301),de=ee(34280),Be=ee(56762),Ne=ee(69507);function _e(){let ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const le=(0,b.useRef)({}),it=(0,Be.Z)(),qe=(0,Ne.ZP)();return(0,de.Z)(()=>{const Ke=qe.subscribe(je=>{le.current=je,ke&&it()});return()=>qe.unsubscribe(Ke)},[]),le.current}jt.Z=_e},45818:function(Vt,jt,ee){"use strict";ee.d(jt,{D:function(){return te},Z:function(){return ie}});var b=ee(71409),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,_e=ee(7657),ke=function(ye,Ge){return de.createElement(_e.Z,(0,b.Z)({},ye,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),it=le,qe=ee(33853),Ke=ee(38819),je=ee(92310),Je=ee.n(je),Ye=ee(2738),E=ve=>!isNaN(parseFloat(ve))&&isFinite(ve),a=ee(36355),x=ee(84966),y=function(ve,ye){var Ge={};for(var Ae in ve)Object.prototype.hasOwnProperty.call(ve,Ae)&&ye.indexOf(Ae)<0&&(Ge[Ae]=ve[Ae]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Ae=Object.getOwnPropertySymbols(ve);ze<Ae.length;ze++)ye.indexOf(Ae[ze])<0&&Object.prototype.propertyIsEnumerable.call(ve,Ae[ze])&&(Ge[Ae[ze]]=ve[Ae[ze]]);return Ge};const z={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},te=de.createContext({}),re=(()=>{let ve=0;return function(){let ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ve+=1,`${ye}${ve}`}})();var ie=de.forwardRef((ve,ye)=>{const{prefixCls:Ge,className:Ae,trigger:ze,children:he,defaultCollapsed:Qe=!1,theme:We="dark",style:ft={},collapsible:Le=!1,reverseArrow:ot=!1,width:dt=200,collapsedWidth:gt=80,zeroWidthTriggerStyle:Dt,breakpoint:sn,onCollapse:Ft,onBreakpoint:on}=ve,cn=y(ve,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ve}=(0,de.useContext)(x.Gs),[at,rn]=(0,de.useState)("collapsed"in ve?ve.collapsed:Qe),[Kn,Gt]=(0,de.useState)(!1);(0,de.useEffect)(()=>{"collapsed"in ve&&rn(ve.collapsed)},[ve.collapsed]);const wn=(st,nt)=>{"collapsed"in ve||rn(st),Ft==null||Ft(st,nt)},He=(0,de.useRef)();He.current=st=>{Gt(st.matches),on==null||on(st.matches),at!==st.matches&&wn(st.matches,"responsive")},(0,de.useEffect)(()=>{function st(De){return He.current(De)}let nt;if(typeof window!="undefined"){const{matchMedia:De}=window;if(De&&sn&&sn in z){nt=De(`(max-width: ${z[sn]})`);try{nt.addEventListener("change",st)}catch(fe){nt.addListener(st)}st(nt)}}return()=>{try{nt==null||nt.removeEventListener("change",st)}catch(De){nt==null||nt.removeListener(st)}}},[sn]),(0,de.useEffect)(()=>{const st=re("ant-sider-");return Ve.addSider(st),()=>Ve.removeSider(st)},[]);const ct=()=>{wn(!at,"clickTrigger")},{getPrefixCls:Lt}=(0,de.useContext)(a.E_),mt=()=>{const st=Lt("layout-sider",Ge),nt=(0,Ye.Z)(cn,["collapsed"]),De=at?gt:dt,fe=E(De)?`${De}px`:String(De),Xe=parseFloat(String(gt||0))===0?de.createElement("span",{onClick:ct,className:Je()(`${st}-zero-width-trigger`,`${st}-zero-width-trigger-${ot?"right":"left"}`),style:Dt},ze||de.createElement(it,null)):null,Ie={expanded:ot?de.createElement(Ke.Z,null):de.createElement(qe.Z,null),collapsed:ot?de.createElement(qe.Z,null):de.createElement(Ke.Z,null)}[at?"collapsed":"expanded"],vt=ze!==null?Xe||de.createElement("div",{className:`${st}-trigger`,onClick:ct,style:{width:fe}},ze||Ie):null,et=Object.assign(Object.assign({},ft),{flex:`0 0 ${fe}`,maxWidth:fe,minWidth:fe,width:fe}),Me=Je()(st,`${st}-${We}`,{[`${st}-collapsed`]:!!at,[`${st}-has-trigger`]:Le&&ze!==null&&!Xe,[`${st}-below`]:!!Kn,[`${st}-zero-width`]:parseFloat(fe)===0},Ae);return de.createElement("aside",Object.assign({className:Me},nt,{style:et,ref:ye}),de.createElement("div",{className:`${st}-children`},he),Le||Kn&&Xe?vt:null)},Nt=de.useMemo(()=>({siderCollapsed:at}),[at]);return de.createElement(te.Provider,{value:Nt},mt())})},84966:function(Vt,jt,ee){"use strict";ee.d(jt,{VY:function(){return te},$_:function(){return z},h4:function(){return y},Gs:function(){return Ye},ZP:function(){return re}});var b=ee(62730),de=ee(92310),Be=ee.n(de),Ne=ee(2738),_e=ee(59301),ke=ee(36355),le=ee(83116),qe=se=>{const{componentCls:ie,bodyBg:ve,lightSiderBg:ye,lightTriggerBg:Ge,lightTriggerColor:Ae}=se;return{[`${ie}-sider-light`]:{background:ye,[`${ie}-sider-trigger`]:{color:Ae,background:Ge},[`${ie}-sider-zero-width-trigger`]:{color:Ae,background:Ge,border:`1px solid ${ve}`,borderInlineStart:0}}}};const Ke=se=>{const{antCls:ie,componentCls:ve,colorText:ye,triggerColor:Ge,footerBg:Ae,triggerBg:ze,headerHeight:he,headerPadding:Qe,headerColor:We,footerPadding:ft,triggerHeight:Le,zeroTriggerHeight:ot,zeroTriggerWidth:dt,motionDurationMid:gt,motionDurationSlow:Dt,fontSize:sn,borderRadius:Ft,bodyBg:on,headerBg:cn,siderBg:Ve}=se;return{[ve]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:on,"&, *":{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:Ve,transition:`all ${gt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ie}-menu${ie}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Le},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Le,color:Ge,lineHeight:`${Le}px`,textAlign:"center",background:ze,cursor:"pointer",transition:`all ${gt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:he,insetInlineEnd:-dt,zIndex:1,width:dt,height:ot,color:Ge,fontSize:se.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ve,borderStartStartRadius:0,borderStartEndRadius:Ft,borderEndEndRadius:Ft,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Dt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Dt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-dt,borderStartStartRadius:Ft,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Ft}}}}},qe(se)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:he,padding:Qe,color:We,lineHeight:`${he}px`,background:cn,[`${ie}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:ft,color:ye,fontSize:sn,background:Ae},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var je=(0,le.Z)("Layout",se=>[Ke(se)],se=>{const{colorBgLayout:ie,controlHeight:ve,controlHeightLG:ye,colorText:Ge,controlHeightSM:Ae,marginXXS:ze,colorTextLightSolid:he,colorBgContainer:Qe}=se,We=ye*1.25;return{colorBgHeader:"#001529",colorBgBody:ie,colorBgTrigger:"#002140",bodyBg:ie,headerBg:"#001529",headerHeight:ve*2,headerPadding:`0 ${We}px`,headerColor:Ge,footerPadding:`${Ae}px ${We}px`,footerBg:ie,siderBg:"#001529",triggerHeight:ye+ze*2,triggerBg:"#002140",triggerColor:he,zeroTriggerWidth:ye,zeroTriggerHeight:ye,lightSiderBg:Qe,lightTriggerBg:Qe,lightTriggerColor:Ge}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Je=function(se,ie){var ve={};for(var ye in se)Object.prototype.hasOwnProperty.call(se,ye)&&ie.indexOf(ye)<0&&(ve[ye]=se[ye]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,ye=Object.getOwnPropertySymbols(se);Ge<ye.length;Ge++)ie.indexOf(ye[Ge])<0&&Object.prototype.propertyIsEnumerable.call(se,ye[Ge])&&(ve[ye[Ge]]=se[ye[Ge]]);return ve};const Ye=_e.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ue(se){let{suffixCls:ie,tagName:ve,displayName:ye}=se;return Ge=>_e.forwardRef((ze,he)=>_e.createElement(Ge,Object.assign({ref:he,suffixCls:ie,tagName:ve},ze)))}const E=_e.forwardRef((se,ie)=>{const{prefixCls:ve,suffixCls:ye,className:Ge,tagName:Ae}=se,ze=Je(se,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:he}=_e.useContext(ke.E_),Qe=he("layout",ve),[We,ft]=je(Qe),Le=ye?`${Qe}-${ye}`:Qe;return We(_e.createElement(Ae,Object.assign({className:Be()(ve||Le,Ge,ft),ref:ie},ze)))}),a=_e.forwardRef((se,ie)=>{const{direction:ve}=_e.useContext(ke.E_),[ye,Ge]=_e.useState([]),{prefixCls:Ae,className:ze,rootClassName:he,children:Qe,hasSider:We,tagName:ft,style:Le}=se,ot=Je(se,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),dt=(0,Ne.Z)(ot,["suffixCls"]),{getPrefixCls:gt,layout:Dt}=_e.useContext(ke.E_),sn=gt("layout",Ae),[Ft,on]=je(sn),cn=Be()(sn,{[`${sn}-has-sider`]:typeof We=="boolean"?We:ye.length>0,[`${sn}-rtl`]:ve==="rtl"},Dt==null?void 0:Dt.className,ze,he,on),Ve=_e.useMemo(()=>({siderHook:{addSider:at=>{Ge(rn=>[].concat((0,b.Z)(rn),[at]))},removeSider:at=>{Ge(rn=>rn.filter(Kn=>Kn!==at))}}}),[]);return Ft(_e.createElement(Ye.Provider,{value:Ve},_e.createElement(ft,Object.assign({ref:ie,className:cn,style:Object.assign(Object.assign({},Dt==null?void 0:Dt.style),Le)},dt),Qe)))}),x=ue({tagName:"div",displayName:"Layout"})(a),y=ue({suffixCls:"header",tagName:"header",displayName:"Header"})(E),z=ue({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(E),te=ue({suffixCls:"content",tagName:"main",displayName:"Content"})(E);var re=x},40875:function(Vt,jt,ee){"use strict";ee.d(jt,{J:function(){return ke}});var b=ee(59301),de=ee(33234),Be=ee(70425),Ne=function(le,it){var qe={};for(var Ke in le)Object.prototype.hasOwnProperty.call(le,Ke)&&it.indexOf(Ke)<0&&(qe[Ke]=le[Ke]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Ke=Object.getOwnPropertySymbols(le);je<Ke.length;je++)it.indexOf(Ke[je])<0&&Object.prototype.propertyIsEnumerable.call(le,Ke[je])&&(qe[Ke[je]]=le[Ke[je]]);return qe};const _e=b.createContext(null),ke=b.forwardRef((le,it)=>{const{children:qe}=le,Ke=Ne(le,["children"]),je=b.useContext(_e),Je=b.useMemo(()=>Object.assign(Object.assign({},je),Ke),[je,Ke.prefixCls,Ke.mode,Ke.selectable]);return b.createElement(_e.Provider,{value:Je},b.createElement(de.BR,null,(0,Be.supportNodeRef)(qe)?b.cloneElement(qe,{ref:it}):qe))});jt.Z=_e},20834:function(Vt,jt,ee){"use strict";ee.d(jt,{default:function(){return Nt}});var b=ee(15285),de=ee(59301),Be=ee(45818),Ne=ee(92310),_e=ee.n(Ne),ke=ee(36355),le=function(st,nt){var De={};for(var fe in st)Object.prototype.hasOwnProperty.call(st,fe)&&nt.indexOf(fe)<0&&(De[fe]=st[fe]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fe=Object.getOwnPropertySymbols(st);Xe<fe.length;Xe++)nt.indexOf(fe[Xe])<0&&Object.prototype.propertyIsEnumerable.call(st,fe[Xe])&&(De[fe[Xe]]=st[fe[Xe]]);return De},qe=st=>{const{prefixCls:nt,className:De,dashed:fe}=st,Xe=le(st,["prefixCls","className","dashed"]),{getPrefixCls:Rt}=de.useContext(ke.E_),Oe=Rt("menu",nt),Ie=_e()({[`${Oe}-item-divider-dashed`]:!!fe},De);return de.createElement(b.iz,Object.assign({className:Ie},Xe))},Ke=ee(11592),je=ee(2738),Je=ee(6848),Ye=ee(92343),E=(0,de.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=st=>{var nt;const{className:De,children:fe,icon:Xe,title:Rt,danger:Oe}=st,{prefixCls:Ie,firstLevel:vt,direction:et,disableMenuItemTitleTooltip:Me,inlineCollapsed:St}=de.useContext(E),Bn=yt=>{const Zt=de.createElement("span",{className:`${Ie}-title-content`},fe);return(!Xe||(0,Ye.l$)(fe)&&fe.type==="span")&&fe&&yt&&vt&&typeof fe=="string"?de.createElement("div",{className:`${Ie}-inline-collapsed-noicon`},fe.charAt(0)):Zt},{siderCollapsed:nn}=de.useContext(Be.D);let fn=Rt;typeof Rt=="undefined"?fn=vt?fe:"":Rt===!1&&(fn="");const ln={title:fn};!nn&&!St&&(ln.title=null,ln.open=!1);const Cn=(0,Ke.Z)(fe).length;let Ze=de.createElement(b.ck,Object.assign({},(0,je.Z)(st,["title","icon","danger"]),{className:_e()({[`${Ie}-item-danger`]:Oe,[`${Ie}-item-only-child`]:(Xe?Cn+1:Cn)===1},De),title:typeof Rt=="string"?Rt:void 0}),(0,Ye.Tm)(Xe,{className:_e()((0,Ye.l$)(Xe)?(nt=Xe.props)===null||nt===void 0?void 0:nt.className:"",`${Ie}-item-icon`)}),Bn(St));return Me||(Ze=de.createElement(Je.Z,Object.assign({},ln,{placement:et==="rtl"?"left":"right",overlayClassName:`${Ie}-inline-collapsed-tooltip`}),Ze)),Ze},z=st=>{var nt;const{popupClassName:De,icon:fe,title:Xe,theme:Rt}=st,Oe=de.useContext(E),{prefixCls:Ie,inlineCollapsed:vt,theme:et}=Oe,Me=(0,b.Xl)();let St;if(!fe)St=vt&&!Me.length&&Xe&&typeof Xe=="string"?de.createElement("div",{className:`${Ie}-inline-collapsed-noicon`},Xe.charAt(0)):de.createElement("span",{className:`${Ie}-title-content`},Xe);else{const nn=(0,Ye.l$)(Xe)&&Xe.type==="span";St=de.createElement(de.Fragment,null,(0,Ye.Tm)(fe,{className:_e()((0,Ye.l$)(fe)?(nt=fe.props)===null||nt===void 0?void 0:nt.className:"",`${Ie}-item-icon`)}),nn?Xe:de.createElement("span",{className:`${Ie}-title-content`},Xe))}const Bn=de.useMemo(()=>Object.assign(Object.assign({},Oe),{firstLevel:!1}),[Oe]);return de.createElement(E.Provider,{value:Bn},de.createElement(b.Wd,Object.assign({},(0,je.Z)(st,["icon"]),{title:St,popupClassName:_e()(Ie,De,`${Ie}-${Rt||et}`)})))},te=ee(18785),re=ee(70425),se=ee(62892),ie=ee(40875),ve=function(st,nt){var De={};for(var fe in st)Object.prototype.hasOwnProperty.call(st,fe)&&nt.indexOf(fe)<0&&(De[fe]=st[fe]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fe=Object.getOwnPropertySymbols(st);Xe<fe.length;Xe++)nt.indexOf(fe[Xe])<0&&Object.prototype.propertyIsEnumerable.call(st,fe[Xe])&&(De[fe[Xe]]=st[fe[Xe]]);return De};function ye(st){return(st||[]).map((nt,De)=>{if(nt&&typeof nt=="object"){const fe=nt,{label:Xe,children:Rt,key:Oe,type:Ie}=fe,vt=ve(fe,["label","children","key","type"]),et=Oe!=null?Oe:`tmp-${De}`;return Rt||Ie==="group"?Ie==="group"?de.createElement(b.BW,Object.assign({key:et},vt,{title:Xe}),ye(Rt)):de.createElement(z,Object.assign({key:et},vt,{title:Xe}),ye(Rt)):Ie==="divider"?de.createElement(qe,Object.assign({key:et},vt)):de.createElement(x,Object.assign({key:et},vt),Xe)}return null}).filter(nt=>nt)}function Ge(st){return de.useMemo(()=>st&&ye(st),[st])}var Ae=ee(64993),ze=ee(17313),he=ee(8378),Qe=ee(13826),We=ee(29878),ft=ee(83116),Le=ee(37613),dt=st=>{const{componentCls:nt,motionDurationSlow:De,horizontalLineHeight:fe,colorSplit:Xe,lineWidth:Rt,lineType:Oe,itemPaddingInline:Ie}=st;return{[`${nt}-horizontal`]:{lineHeight:fe,border:0,borderBottom:`${Rt}px ${Oe} ${Xe}`,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"}}}},Dt=st=>{let{componentCls:nt,menuArrowOffset:De}=st;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 sn=st=>Object.assign({},(0,ze.oN)(st));var on=(st,nt)=>{const{componentCls:De,itemColor:fe,itemSelectedColor:Xe,groupTitleColor:Rt,itemBg:Oe,subMenuItemBg:Ie,itemSelectedBg:vt,activeBarHeight:et,activeBarWidth:Me,activeBarBorderWidth:St,motionDurationSlow:Bn,motionEaseInOut:nn,motionEaseOut:fn,itemPaddingInline:ln,motionDurationMid:Cn,itemHoverColor:Ze,lineType:yt,colorSplit:Zt,itemDisabledColor:Bt,dangerItemColor:Mt,dangerItemHoverColor:dn,dangerItemSelectedColor:gn,dangerItemActiveBg:Dn,dangerItemSelectedBg:Jn,itemHoverBg:ha,itemActiveBg:Ra,menuSubMenuBg:_a,horizontalItemSelectedColor:gr,horizontalItemSelectedBg:ar,horizontalItemBorderRadius:pa,horizontalItemHoverBg:Br,popupBg:qt}=st;return{[`${De}-${nt}, ${De}-${nt} > ${De}`]:{color:fe,background:Oe,[`&${De}-root:focus-visible`]:Object.assign({},sn(st)),[`${De}-item-group-title`]:{color:Rt},[`${De}-submenu-selected`]:{[`> ${De}-submenu-title`]:{color:Xe}},[`${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:Ze}},[`&:not(${De}-horizontal)`]:{[`${De}-item:not(${De}-item-selected)`]:{"&:hover":{backgroundColor:ha},"&:active":{backgroundColor:Ra}},[`${De}-submenu-title`]:{"&:hover":{backgroundColor:ha},"&:active":{backgroundColor:Ra}}},[`${De}-item-danger`]:{color:Mt,[`&${De}-item:hover`]:{[`&:not(${De}-item-selected):not(${De}-submenu-selected)`]:{color:dn}},[`&${De}-item:active`]:{background:Dn}},[`${De}-item a`]:{"&, &:hover":{color:"inherit"}},[`${De}-item-selected`]:{color:Xe,[`&${De}-item-danger`]:{color:gn},"a, a:hover":{color:"inherit"}},[`& ${De}-item-selected`]:{backgroundColor:vt,[`&${De}-item-danger`]:{backgroundColor:Jn}},[`${De}-item, ${De}-submenu-title`]:{[`&:not(${De}-item-disabled):focus-visible`]:Object.assign({},sn(st))},[`&${De}-submenu > ${De}`]:{backgroundColor:_a},[`&${De}-popup > ${De}`]:{backgroundColor:qt},[`&${De}-horizontal`]:Object.assign(Object.assign({},nt==="dark"?{borderBottom:0}:{}),{[`> ${De}-item, > ${De}-submenu`]:{top:St,marginTop:-St,marginBottom:0,borderRadius:pa,"&::after":{position:"absolute",insetInline:ln,bottom:0,borderBottom:`${et}px solid transparent`,transition:`border-color ${Bn} ${nn}`,content:'""'},"&:hover, &-active, &-open":{background:Br,"&::after":{borderBottomWidth:et,borderBottomColor:gr}},"&-selected":{color:gr,backgroundColor:ar,"&:hover":{backgroundColor:ar},"&::after":{borderBottomWidth:et,borderBottomColor:gr}}}}),[`&${De}-root`]:{[`&${De}-inline, &${De}-vertical`]:{borderInlineEnd:`${St}px ${yt} ${Zt}`}},[`&${De}-inline`]:{[`${De}-sub${De}-inline`]:{background:Ie},[`${De}-item, ${De}-submenu-title`]:St&&Me?{width:`calc(100% + ${St}px)`}:{},[`${De}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Me}px solid ${Xe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Cn} ${fn}`,`opacity ${Cn} ${fn}`].join(","),content:'""'},[`&${De}-item-danger`]:{"&::after":{borderInlineEndColor:gn}}},[`${De}-selected, ${De}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Cn} ${nn}`,`opacity ${Cn} ${nn}`].join(",")}}}}}};const cn=st=>{const{componentCls:nt,itemHeight:De,itemMarginInline:fe,padding:Xe,menuArrowSize:Rt,marginXS:Oe,itemMarginBlock:Ie}=st,vt=Xe+Rt+Oe;return{[`${nt}-item`]:{position:"relative",overflow:"hidden"},[`${nt}-item, ${nt}-submenu-title`]:{height:De,lineHeight:`${De}px`,paddingInline:Xe,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:vt}}};var at=st=>{const{componentCls:nt,iconCls:De,itemHeight:fe,colorTextLightSolid:Xe,dropdownWidth:Rt,controlHeightLG:Oe,motionDurationMid:Ie,motionEaseOut:vt,paddingXL:et,itemMarginInline:Me,fontSizeLG:St,motionDurationSlow:Bn,paddingXS:nn,boxShadowSecondary:fn,collapsedWidth:ln,collapsedIconSize:Cn}=st,Ze={height:fe,lineHeight:`${fe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[nt]:{"&-inline, &-vertical":Object.assign({[`&${nt}-root`]:{boxShadow:"none"}},cn(st))},[`${nt}-submenu-popup`]:{[`${nt}-vertical`]:Object.assign(Object.assign({},cn(st)),{boxShadow:fn})}},{[`${nt}-submenu-popup ${nt}-vertical${nt}-sub`]:{minWidth:Rt,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 ${Bn}`,`background ${Bn}`,`padding ${Ie} ${vt}`].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`]:Ze,[`& ${nt}-item-group-title`]:{paddingInlineStart:et}},[`${nt}-item`]:Ze}},{[`${nt}-inline-collapsed`]:{width:ln,[`&${nt}-root`]:{[`${nt}-item, ${nt}-submenu ${nt}-submenu-title`]:{[`> ${nt}-inline-collapsed-noicon`]:{fontSize:St,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% - ${St/2}px - ${Me}px)`,textOverflow:"clip",[`
${nt}-submenu-arrow,
${nt}-submenu-expand-icon
`]:{opacity:0},[`${nt}-item-icon, ${De}`]:{margin:0,fontSize:Cn,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:Xe}},[`${nt}-item-group-title`]:Object.assign(Object.assign({},ze.vS),{paddingInline:nn})}}]};const rn=st=>{const{componentCls:nt,motionDurationSlow:De,motionDurationMid:fe,motionEaseInOut:Xe,motionEaseOut:Rt,iconCls:Oe,iconSize:Ie,iconMarginInlineEnd:vt}=st;return{[`${nt}-item, ${nt}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${De}`,`background ${De}`,`padding ${De} ${Xe}`].join(","),[`${nt}-item-icon, ${Oe}`]:{minWidth:Ie,fontSize:Ie,transition:[`font-size ${fe} ${Rt}`,`margin ${De} ${Xe}`,`color ${De}`].join(","),"+ span":{marginInlineStart:vt,opacity:1,transition:[`opacity ${De} ${Xe}`,`margin ${De}`,`color ${De}`].join(",")}},[`${nt}-item-icon`]:Object.assign({},(0,ze.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"}}}},Kn=st=>{const{componentCls:nt,motionDurationSlow:De,motionEaseInOut:fe,borderRadius:Xe,menuArrowSize:Rt,menuArrowOffset:Oe}=st;return{[`${nt}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:st.margin,width:Rt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${De} ${fe}, opacity ${De}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Rt*.6,height:Rt*.15,backgroundColor:"currentcolor",borderRadius:Xe,transition:[`background ${De} ${fe}`,`transform ${De} ${fe}`,`top ${De} ${fe}`,`color ${De} ${fe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Oe})`},"&::after":{transform:`rotate(-45deg) translateY(${Oe})`}}}}},Gt=st=>{const{antCls:nt,componentCls:De,fontSize:fe,motionDurationSlow:Xe,motionDurationMid:Rt,motionEaseInOut:Oe,paddingXS:Ie,padding:vt,colorSplit:et,lineWidth:Me,zIndexPopup:St,borderRadiusLG:Bn,subMenuItemBorderRadius:nn,menuArrowSize:fn,menuArrowOffset:ln,lineType:Cn,menuPanelMaskInset:Ze,groupTitleLineHeight:yt,groupTitleFontSize:Zt}=st;return[{"":{[`${De}`]:Object.assign(Object.assign({},(0,ze.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,ze.Wf)(st)),(0,ze.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:fe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Xe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${De}-item`]:{flex:"none"}},[`${De}-item, ${De}-submenu, ${De}-submenu-title`]:{borderRadius:st.itemBorderRadius},[`${De}-item-group-title`]:{padding:`${Ie}px ${vt}px`,fontSize:Zt,lineHeight:yt,transition:`all ${Xe}`},[`&-horizontal ${De}-submenu`]:{transition:[`border-color ${Xe} ${Oe}`,`background ${Xe} ${Oe}`].join(",")},[`${De}-submenu, ${De}-submenu-inline`]:{transition:[`border-color ${Xe} ${Oe}`,`background ${Xe} ${Oe}`,`padding ${Rt} ${Oe}`].join(",")},[`${De}-submenu ${De}-sub`]:{cursor:"initial",transition:[`background ${Xe} ${Oe}`,`padding ${Xe} ${Oe}`].join(",")},[`${De}-title-content`]:{transition:`color ${Xe}`},[`${De}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${De}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:et,borderStyle:Cn,borderWidth:0,borderTopWidth:Me,marginBlock:Me,padding:0,"&-dashed":{borderStyle:"dashed"}}}),rn(st)),{[`${De}-item-group`]:{[`${De}-item-group-list`]:{margin:0,padding:0,[`${De}-item, ${De}-submenu-title`]:{paddingInline:`${fe*2}px ${vt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:St,borderRadius:Bn,boxShadow:"none",transformOrigin:"0 0",[`&${De}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Ze}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Ze},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:st.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:st.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:st.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:st.paddingXS},[`> ${De}`]:Object.assign(Object.assign(Object.assign({borderRadius:Bn},rn(st)),Kn(st)),{[`${De}-item, ${De}-submenu > ${De}-submenu-title`]:{borderRadius:nn},[`${De}-submenu-title::after`]:{transition:`transform ${Xe} ${Oe}`}})}}),Kn(st)),{[`&-inline-collapsed ${De}-submenu-arrow,
&-inline ${De}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${ln})`},"&::after":{transform:`rotate(45deg) translateX(-${ln})`}},[`${De}-submenu-open${De}-submenu-inline > ${De}-submenu-title > ${De}-submenu-arrow`]:{transform:`translateY(-${fn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${ln})`},"&::before":{transform:`rotate(45deg) translateX(${ln})`}}})},{[`${nt}-layout-header`]:{[De]:{lineHeight:"inherit"}}}]};var wn=(st,nt)=>(0,ft.Z)("Menu",fe=>{if(nt===!1)return[];const{colorBgElevated:Xe,colorPrimary:Rt,colorTextLightSolid:Oe,controlHeightLG:Ie,fontSize:vt,darkItemColor:et,darkDangerItemColor:Me,darkItemBg:St,darkSubMenuItemBg:Bn,darkItemSelectedColor:nn,darkItemSelectedBg:fn,darkDangerItemSelectedBg:ln,darkItemHoverBg:Cn,darkGroupTitleColor:Ze,darkItemHoverColor:yt,darkItemDisabledColor:Zt,darkDangerItemHoverColor:Bt,darkDangerItemSelectedColor:Mt,darkDangerItemActiveBg:dn}=fe,gn=vt/7*5,Dn=(0,Le.TS)(fe,{menuArrowSize:gn,menuHorizontalHeight:Ie*1.15,menuArrowOffset:`${gn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Xe}),Jn=(0,Le.TS)(Dn,{itemColor:et,itemHoverColor:yt,groupTitleColor:Ze,itemSelectedColor:nn,itemBg:St,popupBg:St,subMenuItemBg:Bn,itemActiveBg:"transparent",itemSelectedBg:fn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Cn,itemDisabledColor:Zt,dangerItemColor:Me,dangerItemHoverColor:Bt,dangerItemSelectedColor:Mt,dangerItemActiveBg:dn,dangerItemSelectedBg:ln,menuSubMenuBg:Bn,horizontalItemSelectedColor:Oe,horizontalItemSelectedBg:Rt});return[Gt(Dn),dt(Dn),at(Dn),on(Dn,"light"),on(Jn,"dark"),Dt(Dn),(0,he.Z)(Dn),(0,Qe.oN)(Dn,"slide-up"),(0,Qe.oN)(Dn,"slide-down"),(0,We._y)(Dn,"zoom-big")]},fe=>{const{colorPrimary:Xe,colorError:Rt,colorTextDisabled:Oe,colorErrorBg:Ie,colorText:vt,colorTextDescription:et,colorBgContainer:Me,colorFillAlter:St,colorFillContent:Bn,lineWidth:nn,lineWidthBold:fn,controlItemBgActive:ln,colorBgTextHover:Cn,controlHeightLG:Ze,lineHeight:yt,colorBgElevated:Zt,marginXXS:Bt,padding:Mt,fontSize:dn,controlHeightSM:gn,fontSizeLG:Dn,colorTextLightSolid:Jn,colorErrorHover:ha}=fe,Ra=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:vt,itemColor:vt,colorItemTextHover:vt,itemHoverColor:vt,colorItemTextHoverHorizontal:Xe,horizontalItemHoverColor:Xe,colorGroupTitle:et,groupTitleColor:et,colorItemTextSelected:Xe,itemSelectedColor:Xe,colorItemTextSelectedHorizontal:Xe,horizontalItemSelectedColor:Xe,colorItemBg:Me,itemBg:Me,colorItemBgHover:Cn,itemHoverBg:Cn,colorItemBgActive:Bn,itemActiveBg:ln,colorSubItemBg:St,subMenuItemBg:St,colorItemBgSelected:ln,itemSelectedBg:ln,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:fn,activeBarHeight:fn,colorActiveBarBorderSize:nn,activeBarBorderWidth:nn,colorItemTextDisabled:Oe,itemDisabledColor:Oe,colorDangerItemText:Rt,dangerItemColor:Rt,colorDangerItemTextHover:Rt,dangerItemHoverColor:Rt,colorDangerItemTextSelected:Rt,dangerItemSelectedColor:Rt,colorDangerItemBgActive:Ie,dangerItemActiveBg:Ie,colorDangerItemBgSelected:Ie,dangerItemSelectedBg:Ie,itemMarginInline:fe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ze,groupTitleLineHeight:yt,collapsedWidth:Ze*2,popupBg:Zt,itemMarginBlock:Bt,itemPaddingInline:Mt,horizontalLineHeight:`${Ze*1.15}px`,iconSize:dn,iconMarginInlineEnd:gn-dn,collapsedIconSize:Dn,groupTitleFontSize:dn,darkItemDisabledColor:new Ae.C(Jn).setAlpha(.25).toRgbString(),darkItemColor:Ra,darkDangerItemColor:Rt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Jn,darkItemSelectedBg:Xe,darkDangerItemSelectedBg:Rt,darkItemHoverBg:"transparent",darkGroupTitleColor:Ra,darkItemHoverColor:Jn,darkDangerItemHoverColor:ha,darkDangerItemSelectedColor:Jn,darkDangerItemActiveBg:Rt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(st),He=function(st,nt){var De={};for(var fe in st)Object.prototype.hasOwnProperty.call(st,fe)&&nt.indexOf(fe)<0&&(De[fe]=st[fe]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fe=Object.getOwnPropertySymbols(st);Xe<fe.length;Xe++)nt.indexOf(fe[Xe])<0&&Object.prototype.propertyIsEnumerable.call(st,fe[Xe])&&(De[fe[Xe]]=st[fe[Xe]]);return De},Lt=(0,de.forwardRef)((st,nt)=>{var De,fe;const Xe=de.useContext(ie.Z),Rt=Xe||{},{getPrefixCls:Oe,getPopupContainer:Ie,direction:vt,menu:et}=de.useContext(ke.E_),Me=Oe(),{prefixCls:St,className:Bn,style:nn,theme:fn="light",expandIcon:ln,_internalDisableMenuItemTitleTooltip:Cn,inlineCollapsed:Ze,siderCollapsed:yt,items:Zt,children:Bt,rootClassName:Mt,mode:dn,selectable:gn,onClick:Dn,overflowedIndicatorPopupClassName:Jn}=st,ha=He(st,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Ra=(0,je.Z)(ha,["collapsedWidth"]),_a=Ge(Zt)||Bt;(De=Rt.validator)===null||De===void 0||De.call(Rt,{mode:dn});const gr=(0,re.useEvent)(function(){var zn;Dn==null||Dn.apply(void 0,arguments),(zn=Rt.onClick)===null||zn===void 0||zn.call(Rt)}),ar=Rt.mode||dn,pa=gn!=null?gn:Rt.selectable,Br=de.useMemo(()=>yt!==void 0?yt:Ze,[Ze,yt]),qt={horizontal:{motionName:`${Me}-slide-up`},inline:(0,se.Z)(Me),other:{motionName:`${Me}-zoom-big`}},An=Oe("menu",St||Rt.prefixCls),[oa,Da]=wn(An,!Xe),ut=_e()(`${An}-${fn}`,et==null?void 0:et.className,Bn);let bn;if(typeof ln=="function")bn=ln;else if(ln===null||ln===!1)bn=null;else if(Rt.expandIcon===null||Rt.expandIcon===!1)bn=null;else{const zn=ln!=null?ln:Rt.expandIcon;bn=(0,Ye.Tm)(zn,{className:_e()(`${An}-submenu-expand-icon`,(0,Ye.l$)(zn)?(fe=zn.props)===null||fe===void 0?void 0:fe.className:"")})}const Ln=de.useMemo(()=>({prefixCls:An,inlineCollapsed:Br||!1,direction:vt,firstLevel:!0,theme:fn,mode:ar,disableMenuItemTitleTooltip:Cn}),[An,Br,vt,Cn,fn]);return oa(de.createElement(ie.Z.Provider,{value:null},de.createElement(E.Provider,{value:Ln},de.createElement(b.ZP,Object.assign({getPopupContainer:Ie,overflowedIndicator:de.createElement(te.Z,null),overflowedIndicatorPopupClassName:_e()(An,`${An}-${fn}`,Jn),mode:ar,selectable:pa,onClick:gr},Ra,{inlineCollapsed:Br,style:Object.assign(Object.assign({},et==null?void 0:et.style),nn),className:ut,prefixCls:An,direction:vt,defaultMotions:qt,expandIcon:bn,ref:nt,rootClassName:_e()(Mt,Da)}),_a))))});const mt=(0,de.forwardRef)((st,nt)=>{const De=(0,de.useRef)(null),fe=de.useContext(Be.D);return(0,de.useImperativeHandle)(nt,()=>({menu:De.current,focus:Xe=>{var Rt;(Rt=De.current)===null||Rt===void 0||Rt.focus(Xe)}})),de.createElement(Lt,Object.assign({ref:De},st,fe))});mt.Item=x,mt.SubMenu=z,mt.Divider=qe,mt.ItemGroup=b.BW;var Nt=mt},58421:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Rt}});var b=ee(71409),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,_e=ee(7657),ke=function(Ie,vt){return de.createElement(_e.Z,(0,b.Z)({},Ie,{ref:vt,icon:Ne}))},le=de.forwardRef(ke),it=le,qe=ee(49198),Ke=ee(33853),je=ee(38819),Je=ee(92310),Ye=ee.n(Je),ue=ee(87075),E=ee(89490),a=ee(16552),x=ee(19210),y=ee(46654),z=ee(37205),te=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},se=re,ie=ee(91735),ve=function(Oe){(0,y.Z)(vt,Oe);var Ie=(0,z.Z)(vt);function vt(){var et;(0,a.Z)(this,vt);for(var Me=arguments.length,St=new Array(Me),Bn=0;Bn<Me;Bn++)St[Bn]=arguments[Bn];return et=Ie.call.apply(Ie,[this].concat(St)),et.state={goInputText:""},et.getValidValue=function(){var nn=et.state.goInputText;return!nn||Number.isNaN(nn)?void 0:Number(nn)},et.buildOptionText=function(nn){return"".concat(nn," ").concat(et.props.locale.items_per_page)},et.changeSize=function(nn){et.props.changeSize(Number(nn))},et.handleChange=function(nn){et.setState({goInputText:nn.target.value})},et.handleBlur=function(nn){var fn=et.props,ln=fn.goButton,Cn=fn.quickGo,Ze=fn.rootPrefixCls,yt=et.state.goInputText;ln||yt===""||(et.setState({goInputText:""}),!(nn.relatedTarget&&(nn.relatedTarget.className.indexOf("".concat(Ze,"-item-link"))>=0||nn.relatedTarget.className.indexOf("".concat(Ze,"-item"))>=0))&&Cn(et.getValidValue()))},et.go=function(nn){var fn=et.state.goInputText;fn!==""&&(nn.keyCode===se.ENTER||nn.type==="click")&&(et.setState({goInputText:""}),et.props.quickGo(et.getValidValue()))},et}return(0,x.Z)(vt,[{key:"getPageSizeOptions",value:function(){var Me=this.props,St=Me.pageSize,Bn=Me.pageSizeOptions;return Bn.some(function(nn){return nn.toString()===St.toString()})?Bn:Bn.concat([St.toString()]).sort(function(nn,fn){var ln=Number.isNaN(Number(nn))?0:Number(nn),Cn=Number.isNaN(Number(fn))?0:Number(fn);return ln-Cn})}},{key:"render",value:function(){var Me=this,St=this.props,Bn=St.pageSize,nn=St.locale,fn=St.rootPrefixCls,ln=St.changeSize,Cn=St.quickGo,Ze=St.goButton,yt=St.selectComponentClass,Zt=St.buildOptionText,Bt=St.selectPrefixCls,Mt=St.disabled,dn=this.state.goInputText,gn="".concat(fn,"-options"),Dn=yt,Jn=null,ha=null,Ra=null;if(!ln&&!Cn)return null;var _a=this.getPageSizeOptions();if(ln&&Dn){var gr=_a.map(function(ar,pa){return de.createElement(Dn.Option,{key:pa,value:ar.toString()},(Zt||Me.buildOptionText)(ar))});Jn=de.createElement(Dn,{disabled:Mt,prefixCls:Bt,showSearch:!1,className:"".concat(gn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Bn||_a[0]).toString(),onChange:this.changeSize,getPopupContainer:function(pa){return pa.parentNode},"aria-label":nn.page_size,defaultOpen:!1},gr)}return Cn&&(Ze&&(Ra=typeof Ze=="boolean"?de.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Mt,className:"".concat(gn,"-quick-jumper-button")},nn.jump_to_confirm):de.createElement("span",{onClick:this.go,onKeyUp:this.go},Ze)),ha=de.createElement("div",{className:"".concat(gn,"-quick-jumper")},nn.jump_to,de.createElement("input",{disabled:Mt,type:"text",value:dn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":nn.page}),nn.page,Ra)),de.createElement("li",{className:"".concat(gn)},Jn,ha)}}]),vt}(de.Component);ve.defaultProps={pageSizeOptions:["10","20","50","100"]};var ye=ve,Ge=function(Ie){var vt,et=Ie.rootPrefixCls,Me=Ie.page,St=Ie.active,Bn=Ie.className,nn=Ie.showTitle,fn=Ie.onClick,ln=Ie.onKeyPress,Cn=Ie.itemRender,Ze="".concat(et,"-item"),yt=Ye()(Ze,"".concat(Ze,"-").concat(Me),(vt={},(0,ue.Z)(vt,"".concat(Ze,"-active"),St),(0,ue.Z)(vt,"".concat(Ze,"-disabled"),!Me),(0,ue.Z)(vt,Ie.className,Bn),vt)),Zt=function(){fn(Me)},Bt=function(gn){ln(gn,fn,Me)},Mt=Cn(Me,"page",de.createElement("a",{rel:"nofollow"},Me));return Mt?de.createElement("li",{title:nn?Me.toString():null,className:yt,onClick:Zt,onKeyPress:Bt,tabIndex:0},Mt):null},Ae=Ge;function ze(){}function he(Oe){var Ie=Number(Oe);return typeof Ie=="number"&&!Number.isNaN(Ie)&&isFinite(Ie)&&Math.floor(Ie)===Ie}var Qe=function(Ie,vt,et){return et};function We(Oe,Ie,vt){var et=typeof Oe=="undefined"?Ie.pageSize:Oe;return Math.floor((vt.total-1)/et)+1}var ft=function(Oe){(0,y.Z)(vt,Oe);var Ie=(0,z.Z)(vt);function vt(et){var Me;(0,a.Z)(this,vt),Me=Ie.call(this,et),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(We(void 0,Me.state,Me.props),Me.state.current+(Me.props.showLessItems?3:5))},Me.getItemIcon=function(ln,Cn){var Ze=Me.props.prefixCls,yt=ln||de.createElement("button",{type:"button","aria-label":Cn,className:"".concat(Ze,"-item-link")});return typeof ln=="function"&&(yt=de.createElement(ln,(0,E.Z)({},Me.props))),yt},Me.isValid=function(ln){var Cn=Me.props.total;return he(ln)&&ln!==Me.state.current&&he(Cn)&&Cn>0},Me.shouldDisplayQuickJumper=function(){var ln=Me.props,Cn=ln.showQuickJumper,Ze=ln.total,yt=Me.state.pageSize;return Ze<=yt?!1:Cn},Me.handleKeyDown=function(ln){(ln.keyCode===se.ARROW_UP||ln.keyCode===se.ARROW_DOWN)&&ln.preventDefault()},Me.handleKeyUp=function(ln){var Cn=Me.getValidValue(ln),Ze=Me.state.currentInputValue;Cn!==Ze&&Me.setState({currentInputValue:Cn}),ln.keyCode===se.ENTER?Me.handleChange(Cn):ln.keyCode===se.ARROW_UP?Me.handleChange(Cn-1):ln.keyCode===se.ARROW_DOWN&&Me.handleChange(Cn+1)},Me.handleBlur=function(ln){var Cn=Me.getValidValue(ln);Me.handleChange(Cn)},Me.changePageSize=function(ln){var Cn=Me.state.current,Ze=We(ln,Me.state,Me.props);Cn=Cn>Ze?Ze:Cn,Ze===0&&(Cn=Me.state.current),typeof ln=="number"&&("pageSize"in Me.props||Me.setState({pageSize:ln}),"current"in Me.props||Me.setState({current:Cn,currentInputValue:Cn})),Me.props.onShowSizeChange(Cn,ln),"onChange"in Me.props&&Me.props.onChange&&Me.props.onChange(Cn,ln)},Me.handleChange=function(ln){var Cn=Me.props,Ze=Cn.disabled,yt=Cn.onChange,Zt=Me.state,Bt=Zt.pageSize,Mt=Zt.current,dn=Zt.currentInputValue;if(Me.isValid(ln)&&!Ze){var gn=We(void 0,Me.state,Me.props),Dn=ln;return ln>gn?Dn=gn:ln<1&&(Dn=1),"current"in Me.props||Me.setState({current:Dn}),Dn!==dn&&Me.setState({currentInputValue:Dn}),yt(Dn,Bt),Dn}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<We(void 0,Me.state,Me.props)},Me.runIfEnter=function(ln,Cn){if(ln.key==="Enter"||ln.charCode===13){for(var Ze=arguments.length,yt=new Array(Ze>2?Ze-2:0),Zt=2;Zt<Ze;Zt++)yt[Zt-2]=arguments[Zt];Cn.apply(void 0,yt)}},Me.runIfEnterPrev=function(ln){Me.runIfEnter(ln,Me.prev)},Me.runIfEnterNext=function(ln){Me.runIfEnter(ln,Me.next)},Me.runIfEnterJumpPrev=function(ln){Me.runIfEnter(ln,Me.jumpPrev)},Me.runIfEnterJumpNext=function(ln){Me.runIfEnter(ln,Me.jumpNext)},Me.handleGoTO=function(ln){(ln.keyCode===se.ENTER||ln.type==="click")&&Me.handleChange(Me.state.currentInputValue)},Me.renderPrev=function(ln){var Cn=Me.props,Ze=Cn.prevIcon,yt=Cn.itemRender,Zt=yt(ln,"prev",Me.getItemIcon(Ze,"prev page")),Bt=!Me.hasPrev();return(0,de.isValidElement)(Zt)?(0,de.cloneElement)(Zt,{disabled:Bt}):Zt},Me.renderNext=function(ln){var Cn=Me.props,Ze=Cn.nextIcon,yt=Cn.itemRender,Zt=yt(ln,"next",Me.getItemIcon(Ze,"next page")),Bt=!Me.hasNext();return(0,de.isValidElement)(Zt)?(0,de.cloneElement)(Zt,{disabled:Bt}):Zt};var St=et.onChange!==ze,Bn="current"in et;Bn&&!St&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var nn=et.defaultCurrent;"current"in et&&(nn=et.current);var fn=et.defaultPageSize;return"pageSize"in et&&(fn=et.pageSize),nn=Math.min(nn,We(fn,void 0,et)),Me.state={current:nn,currentInputValue:nn,pageSize:fn},Me}return(0,x.Z)(vt,[{key:"componentDidUpdate",value:function(Me,St){var Bn=this.props.prefixCls;if(St.current!==this.state.current&&this.paginationNode.current){var nn=this.paginationNode.current.querySelector(".".concat(Bn,"-item-").concat(St.current));if(nn&&document.activeElement===nn){var fn;nn==null||(fn=nn.blur)===null||fn===void 0||fn.call(nn)}}}},{key:"getValidValue",value:function(Me){var St=Me.target.value,Bn=We(void 0,this.state,this.props),nn=this.state.currentInputValue,fn;return St===""?fn=St:Number.isNaN(Number(St))?fn=nn:St>=Bn?fn=Bn:fn=Number(St),fn}},{key:"getShowSizeChanger",value:function(){var Me=this.props,St=Me.showSizeChanger,Bn=Me.total,nn=Me.totalBoundaryShowSizeChanger;return typeof St!="undefined"?St:Bn>nn}},{key:"render",value:function(){var Me=this.props,St=Me.prefixCls,Bn=Me.className,nn=Me.style,fn=Me.disabled,ln=Me.hideOnSinglePage,Cn=Me.total,Ze=Me.locale,yt=Me.showQuickJumper,Zt=Me.showLessItems,Bt=Me.showTitle,Mt=Me.showTotal,dn=Me.simple,gn=Me.itemRender,Dn=Me.showPrevNextJumpers,Jn=Me.jumpPrevIcon,ha=Me.jumpNextIcon,Ra=Me.selectComponentClass,_a=Me.selectPrefixCls,gr=Me.pageSizeOptions,ar=this.state,pa=ar.current,Br=ar.pageSize,qt=ar.currentInputValue;if(ln===!0&&Cn<=Br)return null;var An=We(void 0,this.state,this.props),oa=[],Da=null,ut=null,bn=null,Ln=null,zn=null,pn=yt&&yt.goButton,ia=Zt?1:2,Sa=pa-1>0?pa-1:0,It=pa+1<An?pa+1:An,kt=(0,te.Z)(this.props,{aria:!0,data:!0}),bt=Mt&&de.createElement("li",{className:"".concat(St,"-total-text")},Mt(Cn,[Cn===0?0:(pa-1)*Br+1,pa*Br>Cn?Cn:pa*Br]));if(dn){pn&&(typeof pn=="boolean"?zn=de.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ze.jump_to_confirm):zn=de.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},pn),zn=de.createElement("li",{title:Bt?"".concat(Ze.jump_to).concat(pa,"/").concat(An):null,className:"".concat(St,"-simple-pager")},zn));var Qn=this.renderPrev(Sa);return de.createElement("ul",(0,b.Z)({className:Ye()(St,"".concat(St,"-simple"),(0,ue.Z)({},"".concat(St,"-disabled"),fn),Bn),style:nn,ref:this.paginationNode},kt),bt,Qn?de.createElement("li",{title:Bt?Ze.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ye()("".concat(St,"-prev"),(0,ue.Z)({},"".concat(St,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Qn):null,de.createElement("li",{title:Bt?"".concat(pa,"/").concat(An):null,className:"".concat(St,"-simple-pager")},de.createElement("input",{type:"text",value:qt,disabled:fn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),de.createElement("span",{className:"".concat(St,"-slash")},"/"),An),de.createElement("li",{title:Bt?Ze.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ye()("".concat(St,"-next"),(0,ue.Z)({},"".concat(St,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(It)),zn)}if(An<=3+ia*2){var Yn={locale:Ze,rootPrefixCls:St,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Bt,itemRender:gn};An||oa.push(de.createElement(Ae,(0,b.Z)({},Yn,{key:"noPager",page:1,className:"".concat(St,"-item-disabled")})));for(var Gn=1;Gn<=An;Gn+=1){var ir=pa===Gn;oa.push(de.createElement(Ae,(0,b.Z)({},Yn,{key:Gn,page:Gn,active:ir})))}}else{var Ba=Zt?Ze.prev_3:Ze.prev_5,Xn=Zt?Ze.next_3:Ze.next_5,Ua=gn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Jn,"prev page")),wa=gn(this.getJumpNextPage(),"jump-next",this.getItemIcon(ha,"next page"));Dn&&(Da=Ua?de.createElement("li",{title:Bt?Ba:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ye()("".concat(St,"-jump-prev"),(0,ue.Z)({},"".concat(St,"-jump-prev-custom-icon"),!!Jn))},Ua):null,ut=wa?de.createElement("li",{title:Bt?Xn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ye()("".concat(St,"-jump-next"),(0,ue.Z)({},"".concat(St,"-jump-next-custom-icon"),!!ha))},wa):null),Ln=de.createElement(Ae,{locale:Ze,last:!0,rootPrefixCls:St,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:An,page:An,active:!1,showTitle:Bt,itemRender:gn}),bn=de.createElement(Ae,{locale:Ze,rootPrefixCls:St,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Bt,itemRender:gn});var Nn=Math.max(1,pa-ia),mr=Math.min(pa+ia,An);pa-1<=ia&&(mr=1+ia*2),An-pa<=ia&&(Nn=An-ia*2);for(var Nr=Nn;Nr<=mr;Nr+=1){var Vr=pa===Nr;oa.push(de.createElement(Ae,{locale:Ze,rootPrefixCls:St,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Nr,page:Nr,active:Vr,showTitle:Bt,itemRender:gn}))}pa-1>=ia*2&&pa!==3&&(oa[0]=(0,de.cloneElement)(oa[0],{className:"".concat(St,"-item-after-jump-prev")}),oa.unshift(Da)),An-pa>=ia*2&&pa!==An-2&&(oa[oa.length-1]=(0,de.cloneElement)(oa[oa.length-1],{className:"".concat(St,"-item-before-jump-next")}),oa.push(ut)),Nn!==1&&oa.unshift(bn),mr!==An&&oa.push(Ln)}var xr=!this.hasPrev()||!An,$e=!this.hasNext()||!An,Pn=this.renderPrev(Sa),Jt=this.renderNext(It);return de.createElement("ul",(0,b.Z)({className:Ye()(St,Bn,(0,ue.Z)({},"".concat(St,"-disabled"),fn)),style:nn,ref:this.paginationNode},kt),bt,Pn?de.createElement("li",{title:Bt?Ze.prev_page:null,onClick:this.prev,tabIndex:xr?null:0,onKeyPress:this.runIfEnterPrev,className:Ye()("".concat(St,"-prev"),(0,ue.Z)({},"".concat(St,"-disabled"),xr)),"aria-disabled":xr},Pn):null,oa,Jt?de.createElement("li",{title:Bt?Ze.next_page:null,onClick:this.next,tabIndex:$e?null:0,onKeyPress:this.runIfEnterNext,className:Ye()("".concat(St,"-next"),(0,ue.Z)({},"".concat(St,"-disabled"),$e)),"aria-disabled":$e},Jt):null,de.createElement(ye,{disabled:fn,locale:Ze,rootPrefixCls:St,selectComponentClass:Ra,selectPrefixCls:_a,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:pa,pageSize:Br,pageSizeOptions:gr,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:pn}))}}],[{key:"getDerivedStateFromProps",value:function(Me,St){var Bn={};if("current"in Me&&(Bn.current=Me.current,Me.current!==St.current&&(Bn.currentInputValue=Bn.current)),"pageSize"in Me&&Me.pageSize!==St.pageSize){var nn=St.current,fn=We(Me.pageSize,St,Me);nn=nn>fn?fn:nn,"current"in Me||(Bn.current=nn,Bn.currentInputValue=nn),Bn.pageSize=Me.pageSize}return Bn}}]),vt}(de.Component);ft.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:ze,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:ze,locale:ie.Z,style:{},itemRender:Qe,totalBoundaryShowSizeChanger:50};var Le=ft,ot=ee(22075),dt=ee(36355),gt=ee(19716),Dt=ee(8628),sn=ee(9763),Ft=ee(57809);const on=Oe=>de.createElement(Ft.default,Object.assign({},Oe,{showSearch:!0,size:"small"})),cn=Oe=>de.createElement(Ft.default,Object.assign({},Oe,{showSearch:!0,size:"middle"}));on.Option=Ft.default.Option,cn.Option=Ft.default.Option;var Ve=ee(9937),at=ee(17313),rn=ee(83116),Kn=ee(37613);const Gt=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,Ve.x0)(Oe)),{width:Oe.paginationMiniQuickJumperInputWidth,height:Oe.controlHeightSM})}}}},He=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,Ve.ik)(Oe)),{width:Oe.controlHeightLG*1.25,height:Oe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Oe.marginXS,marginInlineEnd:Oe.marginXS})}}}},Lt=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}-item`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,marginInlineEnd:Oe.marginXS,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Oe.paginationItemPaddingInline}px`,color:Oe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ie}-item-active)`]:{"&:hover":{transition:`all ${Oe.motionDurationMid}`,backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},"&-active":{fontWeight:Oe.fontWeightStrong,backgroundColor:Oe.itemActiveBg,borderColor:Oe.colorPrimary,a:{color:Oe.colorPrimary},"&:hover":{borderColor:Oe.colorPrimaryHover},"&:hover a":{color:Oe.colorPrimaryHover}}}}},mt=Oe=>{const{componentCls:Ie}=Oe;return{[Ie]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,at.Wf)(Oe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ie}-total-text`]:{display:"inline-block",height:Oe.itemSize,marginInlineEnd:Oe.marginXS,lineHeight:`${Oe.itemSize-2}px`,verticalAlign:"middle"}}),Lt(Oe)),ct(Oe)),He(Oe)),wn(Oe)),Gt(Oe)),{[`@media only screen and (max-width: ${Oe.screenLG}px)`]:{[`${Ie}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Oe.screenSM}px)`]:{[`${Ie}-options`]:{display:"none"}}}),[`&${Oe.componentCls}-rtl`]:{direction:"rtl"}}},Nt=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}${Ie}-disabled:not(${Ie}-mini)`]:{"&, &:hover":{[`${Ie}-item-link`]:{borderColor:Oe.colorBorder}},"&:focus-visible":{[`${Ie}-item-link`]:{borderColor:Oe.colorBorder}},[`${Ie}-item, ${Ie}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,[`&:hover:not(${Ie}-item-active)`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,a:{color:Oe.colorTextDisabled}},[`&${Ie}-item-active`]:{backgroundColor:Oe.itemActiveBgDisabled}},[`${Ie}-prev, ${Ie}-next`]:{"&:hover button":{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,color:Oe.colorTextDisabled},[`${Ie}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder}}},[`${Ie}:not(${Ie}-mini)`]:{[`${Ie}-prev, ${Ie}-next`]:{"&:hover button":{borderColor:Oe.colorPrimaryHover,backgroundColor:Oe.itemBg},[`${Ie}-item-link`]:{backgroundColor:Oe.itemLinkBg,borderColor:Oe.colorBorder},[`&:hover ${Ie}-item-link`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,color:Oe.colorPrimary},[`&${Ie}-disabled`]:{[`${Ie}-item-link`]:{borderColor:Oe.colorBorder,color:Oe.colorTextDisabled}}},[`${Ie}-item`]:{backgroundColor:Oe.itemBg,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,[`&:hover:not(${Ie}-item-active)`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,a:{color:Oe.colorPrimary}},"&-active":{borderColor:Oe.colorPrimary}}}}},st=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}:not(${Ie}-disabled)`]:{[`${Ie}-item`]:Object.assign({},(0,at.Qy)(Oe)),[`${Ie}-jump-prev, ${Ie}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ie}-item-link-icon`]:{opacity:1},[`${Ie}-item-ellipsis`]:{opacity:0}},(0,at.oN)(Oe))},[`${Ie}-prev, ${Ie}-next`]:{[`&:focus-visible ${Ie}-item-link`]:Object.assign({},(0,at.oN)(Oe))}}}};var nt=(0,rn.Z)("Pagination",Oe=>{const Ie=(0,Kn.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,Ve.e5)(Oe),(0,Ve.TM)(Oe));return[mt(Ie),st(Ie),Oe.wireframe&&Nt(Ie)]},Oe=>({itemBg:Oe.colorBgContainer,itemSize:Oe.controlHeight,itemSizeSM:Oe.controlHeightSM,itemActiveBg:Oe.colorBgContainer,itemLinkBg:Oe.colorBgContainer,itemActiveColorDisabled:Oe.colorTextDisabled,itemActiveBgDisabled:Oe.controlItemBgActiveDisabled,itemInputBg:Oe.colorBgContainer,miniOptionsSizeChangerTop:0})),De=function(Oe,Ie){var vt={};for(var et in Oe)Object.prototype.hasOwnProperty.call(Oe,et)&&Ie.indexOf(et)<0&&(vt[et]=Oe[et]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,et=Object.getOwnPropertySymbols(Oe);Me<et.length;Me++)Ie.indexOf(et[Me])<0&&Object.prototype.propertyIsEnumerable.call(Oe,et[Me])&&(vt[et[Me]]=Oe[et[Me]]);return vt},Xe=Oe=>{const{prefixCls:Ie,selectPrefixCls:vt,className:et,rootClassName:Me,style:St,size:Bn,locale:nn,selectComponentClass:fn,responsive:ln,showSizeChanger:Cn}=Oe,Ze=De(Oe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:yt}=(0,Dt.Z)(ln),{getPrefixCls:Zt,direction:Bt,pagination:Mt={}}=de.useContext(dt.E_),dn=Zt("pagination",Ie),[gn,Dn]=nt(dn),Jn=Cn!=null?Cn:Mt.showSizeChanger,ha=de.useMemo(()=>{const An=de.createElement("span",{className:`${dn}-item-ellipsis`},"\u2022\u2022\u2022"),oa=de.createElement("button",{className:`${dn}-item-link`,type:"button",tabIndex:-1},Bt==="rtl"?de.createElement(je.Z,null):de.createElement(Ke.Z,null)),Da=de.createElement("button",{className:`${dn}-item-link`,type:"button",tabIndex:-1},Bt==="rtl"?de.createElement(Ke.Z,null):de.createElement(je.Z,null)),ut=de.createElement("a",{className:`${dn}-item-link`},de.createElement("div",{className:`${dn}-item-container`},Bt==="rtl"?de.createElement(qe.Z,{className:`${dn}-item-link-icon`}):de.createElement(it,{className:`${dn}-item-link-icon`}),An)),bn=de.createElement("a",{className:`${dn}-item-link`},de.createElement("div",{className:`${dn}-item-container`},Bt==="rtl"?de.createElement(it,{className:`${dn}-item-link-icon`}):de.createElement(qe.Z,{className:`${dn}-item-link-icon`}),An));return{prevIcon:oa,nextIcon:Da,jumpPrevIcon:ut,jumpNextIcon:bn}},[Bt,dn]),[Ra]=(0,sn.Z)("Pagination",ot.Z),_a=Object.assign(Object.assign({},Ra),nn),gr=(0,gt.Z)(Bn),ar=gr==="small"||!!(yt&&!gr&&ln),pa=Zt("select",vt),Br=Ye()({[`${dn}-mini`]:ar,[`${dn}-rtl`]:Bt==="rtl"},Mt==null?void 0:Mt.className,et,Me,Dn),qt=Object.assign(Object.assign({},Mt==null?void 0:Mt.style),St);return gn(de.createElement(Le,Object.assign({},ha,Ze,{style:qt,prefixCls:dn,selectPrefixCls:pa,className:Br,selectComponentClass:fn||(ar?on:cn),locale:_a,showSizeChanger:Jn})))},Rt=Xe},39722:function(Vt,jt,ee){"use strict";ee.d(jt,{t5:function(){return Ke}});var b=ee(92310),de=ee.n(b),Be=ee(55477),Ne=ee(59301),_e=ee(36355),ke=ee(77578),le=ee(17356),it=function(Je,Ye){var ue={};for(var E in Je)Object.prototype.hasOwnProperty.call(Je,E)&&Ye.indexOf(E)<0&&(ue[E]=Je[E]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(Je);a<E.length;a++)Ye.indexOf(E[a])<0&&Object.prototype.propertyIsEnumerable.call(Je,E[a])&&(ue[E[a]]=Je[E[a]]);return ue};const qe=(Je,Ye,ue)=>{if(!(!Ye&&!ue))return Ne.createElement(Ne.Fragment,null,Ye&&Ne.createElement("div",{className:`${Je}-title`},(0,ke.Z)(Ye)),Ne.createElement("div",{className:`${Je}-inner-content`},(0,ke.Z)(ue)))},Ke=Je=>{const{hashId:Ye,prefixCls:ue,className:E,style:a,placement:x="top",title:y,content:z,children:te}=Je;return Ne.createElement("div",{className:de()(Ye,ue,`${ue}-pure`,`${ue}-placement-${x}`,E),style:a},Ne.createElement("div",{className:`${ue}-arrow`}),Ne.createElement(Be.G,Object.assign({},Je,{className:Ye,prefixCls:ue}),te||qe(ue,y,z)))},je=Je=>{const{prefixCls:Ye}=Je,ue=it(Je,["prefixCls"]),{getPrefixCls:E}=Ne.useContext(_e.E_),a=E("popover",Ye),[x,y]=(0,le.Z)(a);return x(Ne.createElement(Ke,Object.assign({},ue,{prefixCls:a,hashId:y})))};jt.ZP=je},60324:function(Vt,jt,ee){"use strict";var b=ee(92310),de=ee.n(b),Be=ee(59301),Ne=ee(77578),_e=ee(62892),ke=ee(36355),le=ee(6848),it=ee(39722),qe=ee(17356),Ke=function(Ye,ue){var E={};for(var a in Ye)Object.prototype.hasOwnProperty.call(Ye,a)&&ue.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++)ue.indexOf(a[x])<0&&Object.prototype.propertyIsEnumerable.call(Ye,a[x])&&(E[a[x]]=Ye[a[x]]);return E};const je=Ye=>{let{title:ue,content:E,prefixCls:a}=Ye;return Be.createElement(Be.Fragment,null,ue&&Be.createElement("div",{className:`${a}-title`},(0,Ne.Z)(ue)),Be.createElement("div",{className:`${a}-inner-content`},(0,Ne.Z)(E)))},Je=Be.forwardRef((Ye,ue)=>{const{prefixCls:E,title:a,content:x,overlayClassName:y,placement:z="top",trigger:te="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:se=.1,overlayStyle:ie={}}=Ye,ve=Ke(Ye,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:ye}=Be.useContext(ke.E_),Ge=ye("popover",E),[Ae,ze]=(0,qe.Z)(Ge),he=ye(),Qe=de()(y,ze);return Ae(Be.createElement(le.Z,Object.assign({placement:z,trigger:te,mouseEnterDelay:re,mouseLeaveDelay:se,overlayStyle:ie},ve,{prefixCls:Ge,overlayClassName:Qe,ref:ue,overlay:a||x?Be.createElement(je,{prefixCls:Ge,title:a,content:x}):null,transitionName:(0,_e.m)(he,"zoom-big",ve.transitionName),"data-popover-inject":!0})))});Je._InternalPanelDoNotUseOrYouWillBeFired=it.ZP,jt.Z=Je},17356:function(Vt,jt,ee){"use strict";var b=ee(17313),de=ee(29878),Be=ee(19447),Ne=ee(33166),_e=ee(83116),ke=ee(37613);const le=Ke=>{const{componentCls:je,popoverColor:Je,minWidth:Ye,fontWeightStrong:ue,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:y,zIndexPopup:z,marginXS:te,colorBgElevated:re,popoverBg:se}=Ke;return[{[je]:Object.assign(Object.assign({},(0,b.Wf)(Ke)),{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:se,backgroundClip:"padding-box",borderRadius:y,boxShadow:a,padding:E},[`${je}-title`]:{minWidth:Ye,marginBottom:te,color:x,fontWeight:ue},[`${je}-inner-content`]:{color:Je}})},(0,Be.ZP)(Ke,{colorBg:"var(--antd-arrow-background-color)"}),{[`${je}-pure`]:{position:"relative",maxWidth:"none",margin:Ke.sizePopupArrow,display:"inline-block",[`${je}-content`]:{display:"inline-block"}}}]},it=Ke=>{const{componentCls:je}=Ke;return{[je]:Ne.i.map(Je=>{const Ye=Ke[`${Je}6`];return{[`&${je}-${Je}`]:{"--antd-arrow-background-color":Ye,[`${je}-inner`]:{backgroundColor:Ye},[`${je}-arrow`]:{background:"transparent"}}}})}},qe=Ke=>{const{componentCls:je,lineWidth:Je,lineType:Ye,colorSplit:ue,paddingSM:E,controlHeight:a,fontSize:x,lineHeight:y,padding:z}=Ke,te=a-Math.round(x*y),re=te/2,se=te/2-Je,ie=z;return{[je]:{[`${je}-inner`]:{padding:0},[`${je}-title`]:{margin:0,padding:`${re}px ${ie}px ${se}px`,borderBottom:`${Je}px ${Ye} ${ue}`},[`${je}-inner-content`]:{padding:`${E}px ${ie}px`}}}};jt.Z=(0,_e.Z)("Popover",Ke=>{const{colorBgElevated:je,colorText:Je,wireframe:Ye}=Ke,ue=(0,ke.TS)(Ke,{popoverPadding:12,popoverBg:je,popoverColor:Je});return[le(ue),it(ue),Ye&&qe(ue),(0,de._y)(ue,"zoom-big")]},Ke=>({width:177,minWidth:177,zIndexPopup:Ke.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Cn}});var b=ee(59301),de=ee(29679),Be=ee(40001),Ne=ee(19248),_e=ee(99267),ke=ee(92310),le=ee.n(ke),it=ee(2738),qe=ee(36355),Ke=ee(71409),je=ee(89490),Je=ee(39224),Ye={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ue=function(){var yt=(0,b.useRef)([]),Zt=(0,b.useRef)(null);return(0,b.useEffect)(function(){var Bt=Date.now(),Mt=!1;yt.current.forEach(function(dn){if(dn){Mt=!0;var gn=dn.style;gn.transitionDuration=".3s, .3s, .3s, .06s",Zt.current&&Bt-Zt.current<100&&(gn.transitionDuration="0s, 0s")}}),Mt&&(Zt.current=Date.now())}),yt.current},E=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(yt){var Zt=(0,je.Z)((0,je.Z)({},Ye),yt),Bt=Zt.className,Mt=Zt.percent,dn=Zt.prefixCls,gn=Zt.strokeColor,Dn=Zt.strokeLinecap,Jn=Zt.strokeWidth,ha=Zt.style,Ra=Zt.trailColor,_a=Zt.trailWidth,gr=Zt.transition,ar=(0,Je.Z)(Zt,E);delete ar.gapPosition;var pa=Array.isArray(Mt)?Mt:[Mt],Br=Array.isArray(gn)?gn:[gn],qt=ue(),An=Jn/2,oa=100-Jn/2,Da="M ".concat(Dn==="round"?An:0,",").concat(An,`
L `).concat(Dn==="round"?oa:100,",").concat(An),ut="0 0 100 ".concat(Jn),bn=0;return b.createElement("svg",(0,Ke.Z)({className:le()("".concat(dn,"-line"),Bt),viewBox:ut,preserveAspectRatio:"none",style:ha},ar),b.createElement("path",{className:"".concat(dn,"-line-trail"),d:Da,strokeLinecap:Dn,stroke:Ra,strokeWidth:_a||Jn,fillOpacity:"0"}),pa.map(function(Ln,zn){var pn=1;switch(Dn){case"round":pn=1-Jn/100;break;case"square":pn=1-Jn/2/100;break;default:pn=1;break}var ia={strokeDasharray:"".concat(Ln*pn,"px, 100px"),strokeDashoffset:"-".concat(bn,"px"),transition:gr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Sa=Br[zn]||Br[Br.length-1];return bn+=Ln,b.createElement("path",{key:zn,className:"".concat(dn,"-line-path"),d:Da,strokeLinecap:Dn,stroke:Sa,strokeWidth:Jn,fillOpacity:"0",ref:function(kt){qt[zn]=kt},style:ia})}))},x=a,y=ee(28788),z=ee(11036),te=ee(47273),re=0,se=(0,te.Z)();function ie(){var Ze;return se?(Ze=re,re+=1):Ze="TEST_OR_SSR",Ze}var ve=function(Ze){var yt=b.useState(),Zt=(0,z.Z)(yt,2),Bt=Zt[0],Mt=Zt[1];return b.useEffect(function(){Mt("rc_progress_".concat(ie()))},[]),Ze||Bt},ye=function(yt){var Zt=yt.bg,Bt=yt.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:Zt}},Bt)};function Ge(Ze,yt){return Object.keys(Ze).map(function(Zt){var Bt=parseFloat(Zt),Mt="".concat(Math.floor(Bt*yt),"%");return"".concat(Ze[Zt]," ").concat(Mt)})}var Ae=b.forwardRef(function(Ze,yt){var Zt=Ze.prefixCls,Bt=Ze.color,Mt=Ze.gradientId,dn=Ze.radius,gn=Ze.style,Dn=Ze.ptg,Jn=Ze.strokeLinecap,ha=Ze.strokeWidth,Ra=Ze.size,_a=Ze.gapDegree,gr=Bt&&(0,y.Z)(Bt)==="object",ar=gr?"#FFF":void 0,pa=Ra/2,Br=b.createElement("circle",{className:"".concat(Zt,"-circle-path"),r:dn,cx:pa,cy:pa,stroke:ar,strokeLinecap:Jn,strokeWidth:ha,opacity:Dn===0?0:1,style:gn,ref:yt});if(!gr)return Br;var qt="".concat(Mt,"-conic"),An=_a?"".concat(180+_a/2,"deg"):"0deg",oa=Ge(Bt,(360-_a)/360),Da=Ge(Bt,1),ut="conic-gradient(from ".concat(An,", ").concat(oa.join(", "),")"),bn="linear-gradient(to ".concat(_a?"bottom":"top",", ").concat(Da.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:qt},Br),b.createElement("foreignObject",{x:0,y:0,width:Ra,height:Ra,mask:"url(#".concat(qt,")")},b.createElement(ye,{bg:bn},b.createElement(ye,{bg:ut}))))}),ze=Ae,he=100,Qe=function(yt,Zt,Bt,Mt,dn,gn,Dn,Jn,ha,Ra){var _a=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,gr=Bt/100*360*((360-gn)/360),ar=gn===0?0:{bottom:0,top:180,left:90,right:-90}[Dn],pa=(100-Mt)/100*Zt;ha==="round"&&Mt!==100&&(pa+=Ra/2,pa>=Zt&&(pa=Zt-.01));var Br=he/2;return{stroke:typeof Jn=="string"?Jn:void 0,strokeDasharray:"".concat(Zt,"px ").concat(yt),strokeDashoffset:pa+_a,transform:"rotate(".concat(dn+gr+ar,"deg)"),transformOrigin:"".concat(Br,"px ").concat(Br,"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}},We=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ft(Ze){var yt=Ze!=null?Ze:[];return Array.isArray(yt)?yt:[yt]}var Le=function(yt){var Zt=(0,je.Z)((0,je.Z)({},Ye),yt),Bt=Zt.id,Mt=Zt.prefixCls,dn=Zt.steps,gn=Zt.strokeWidth,Dn=Zt.trailWidth,Jn=Zt.gapDegree,ha=Jn===void 0?0:Jn,Ra=Zt.gapPosition,_a=Zt.trailColor,gr=Zt.strokeLinecap,ar=Zt.style,pa=Zt.className,Br=Zt.strokeColor,qt=Zt.percent,An=(0,Je.Z)(Zt,We),oa=he/2,Da=ve(Bt),ut="".concat(Da,"-gradient"),bn=oa-gn/2,Ln=Math.PI*2*bn,zn=ha>0?90+ha/2:-90,pn=Ln*((360-ha)/360),ia=(0,y.Z)(dn)==="object"?dn:{count:dn,space:2},Sa=ia.count,It=ia.space,kt=ft(qt),bt=ft(Br),Qn=bt.find(function(wa){return wa&&(0,y.Z)(wa)==="object"}),Yn=Qn&&(0,y.Z)(Qn)==="object",Gn=Yn?"butt":gr,ir=Qe(Ln,pn,0,100,zn,ha,Ra,_a,Gn,gn),Ba=ue(),Xn=function(){var Nn=0;return kt.map(function(mr,Nr){var Vr=bt[Nr]||bt[bt.length-1],xr=Qe(Ln,pn,Nn,mr,zn,ha,Ra,Vr,Gn,gn);return Nn+=mr,b.createElement(ze,{key:Nr,color:Vr,ptg:mr,radius:bn,prefixCls:Mt,gradientId:ut,style:xr,strokeLinecap:Gn,strokeWidth:gn,gapDegree:ha,ref:function(Pn){Ba[Nr]=Pn},size:he})}).reverse()},Ua=function(){var Nn=Math.round(Sa*(kt[0]/100)),mr=100/Sa,Nr=0;return new Array(Sa).fill(null).map(function(Vr,xr){var $e=xr<=Nn-1?bt[0]:_a,Pn=$e&&(0,y.Z)($e)==="object"?"url(#".concat(ut,")"):void 0,Jt=Qe(Ln,pn,Nr,mr,zn,ha,Ra,$e,"butt",gn,It);return Nr+=(pn-Jt.strokeDashoffset+It)*100/pn,b.createElement("circle",{key:xr,className:"".concat(Mt,"-circle-path"),r:bn,cx:oa,cy:oa,stroke:Pn,strokeWidth:gn,opacity:1,style:Jt,ref:function(Wn){Ba[xr]=Wn}})})};return b.createElement("svg",(0,Ke.Z)({className:le()("".concat(Mt,"-circle"),pa),viewBox:"0 0 ".concat(he," ").concat(he),style:ar,id:Bt,role:"presentation"},An),!Sa&&b.createElement("circle",{className:"".concat(Mt,"-circle-trail"),r:bn,cx:oa,cy:oa,stroke:_a,strokeLinecap:Gn,strokeWidth:Dn||gn,style:ir}),Sa?Ua():Xn())},ot=Le,dt={Line:x,Circle:ot},gt=ee(6848),Dt=ee(30071);function sn(Ze){return!Ze||Ze<0?0:Ze>100?100:Ze}function Ft(Ze){let{success:yt,successPercent:Zt}=Ze,Bt=Zt;return yt&&"progress"in yt&&(Bt=yt.progress),yt&&"percent"in yt&&(Bt=yt.percent),Bt}const on=Ze=>{let{percent:yt,success:Zt,successPercent:Bt}=Ze;const Mt=sn(Ft({success:Zt,successPercent:Bt}));return[Mt,sn(sn(yt)-Mt)]},cn=Ze=>{let{success:yt={},strokeColor:Zt}=Ze;const{strokeColor:Bt}=yt;return[Bt||Dt.presetPrimaryColors.green,Zt||null]},Ve=(Ze,yt,Zt)=>{var Bt,Mt,dn,gn;let Dn=-1,Jn=-1;if(yt==="step"){const ha=Zt.steps,Ra=Zt.strokeWidth;typeof Ze=="string"||typeof Ze=="undefined"?(Dn=Ze==="small"?2:14,Jn=Ra!=null?Ra:8):typeof Ze=="number"?[Dn,Jn]=[Ze,Ze]:[Dn=14,Jn=8]=Ze,Dn*=ha}else if(yt==="line"){const ha=Zt==null?void 0:Zt.strokeWidth;typeof Ze=="string"||typeof Ze=="undefined"?Jn=ha||(Ze==="small"?6:8):typeof Ze=="number"?[Dn,Jn]=[Ze,Ze]:[Dn=-1,Jn=8]=Ze}else(yt==="circle"||yt==="dashboard")&&(typeof Ze=="string"||typeof Ze=="undefined"?[Dn,Jn]=Ze==="small"?[60,60]:[120,120]:typeof Ze=="number"?[Dn,Jn]=[Ze,Ze]:(Dn=(Mt=(Bt=Ze[0])!==null&&Bt!==void 0?Bt:Ze[1])!==null&&Mt!==void 0?Mt:120,Jn=(gn=(dn=Ze[0])!==null&&dn!==void 0?dn:Ze[1])!==null&&gn!==void 0?gn:120));return[Dn,Jn]},at=3,rn=Ze=>at/Ze*100;var Gt=Ze=>{const{prefixCls:yt,trailColor:Zt=null,strokeLinecap:Bt="round",gapPosition:Mt,gapDegree:dn,width:gn=120,type:Dn,children:Jn,success:ha,size:Ra=gn}=Ze,[_a,gr]=Ve(Ra,"circle");let{strokeWidth:ar}=Ze;ar===void 0&&(ar=Math.max(rn(_a),6));const pa={width:_a,height:gr,fontSize:_a*.15+6},Br=b.useMemo(()=>{if(dn||dn===0)return dn;if(Dn==="dashboard")return 75},[dn,Dn]),qt=Mt||Dn==="dashboard"&&"bottom"||void 0,An=Object.prototype.toString.call(Ze.strokeColor)==="[object Object]",oa=cn({success:ha,strokeColor:Ze.strokeColor}),Da=le()(`${yt}-inner`,{[`${yt}-circle-gradient`]:An}),ut=b.createElement(ot,{percent:on(Ze),strokeWidth:ar,trailWidth:ar,strokeColor:oa,strokeLinecap:Bt,trailColor:Zt,prefixCls:yt,gapDegree:Br,gapPosition:qt});return b.createElement("div",{className:Da,style:pa},_a<=20?b.createElement(gt.Z,{title:Jn},b.createElement("span",null,ut)):b.createElement(b.Fragment,null,ut,Jn))},wn=function(Ze,yt){var Zt={};for(var Bt in Ze)Object.prototype.hasOwnProperty.call(Ze,Bt)&&yt.indexOf(Bt)<0&&(Zt[Bt]=Ze[Bt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,Bt=Object.getOwnPropertySymbols(Ze);Mt<Bt.length;Mt++)yt.indexOf(Bt[Mt])<0&&Object.prototype.propertyIsEnumerable.call(Ze,Bt[Mt])&&(Zt[Bt[Mt]]=Ze[Bt[Mt]]);return Zt};const He=Ze=>{let yt=[];return Object.keys(Ze).forEach(Zt=>{const Bt=parseFloat(Zt.replace(/%/g,""));isNaN(Bt)||yt.push({key:Bt,value:Ze[Zt]})}),yt=yt.sort((Zt,Bt)=>Zt.key-Bt.key),yt.map(Zt=>{let{key:Bt,value:Mt}=Zt;return`${Mt} ${Bt}%`}).join(", ")},ct=(Ze,yt)=>{const{from:Zt=Dt.presetPrimaryColors.blue,to:Bt=Dt.presetPrimaryColors.blue,direction:Mt=yt==="rtl"?"to left":"to right"}=Ze,dn=wn(Ze,["from","to","direction"]);if(Object.keys(dn).length!==0){const gn=He(dn);return{backgroundImage:`linear-gradient(${Mt}, ${gn})`}}return{backgroundImage:`linear-gradient(${Mt}, ${Zt}, ${Bt})`}};var mt=Ze=>{const{prefixCls:yt,direction:Zt,percent:Bt,size:Mt,strokeWidth:dn,strokeColor:gn,strokeLinecap:Dn="round",children:Jn,trailColor:ha=null,success:Ra}=Ze,_a=gn&&typeof gn!="string"?ct(gn,Zt):{backgroundColor:gn},gr=Dn==="square"||Dn==="butt"?0:void 0,ar={backgroundColor:ha||void 0,borderRadius:gr},pa=Mt!=null?Mt:[-1,dn||(Mt==="small"?6:8)],[Br,qt]=Ve(pa,"line",{strokeWidth:dn}),An=Object.assign({width:`${sn(Bt)}%`,height:qt,borderRadius:gr},_a),oa=Ft(Ze),Da={width:`${sn(oa)}%`,height:qt,borderRadius:gr,backgroundColor:Ra==null?void 0:Ra.strokeColor},ut={width:Br<0?"100%":Br,height:qt};return b.createElement(b.Fragment,null,b.createElement("div",{className:`${yt}-outer`,style:ut},b.createElement("div",{className:`${yt}-inner`,style:ar},b.createElement("div",{className:`${yt}-bg`,style:An}),oa!==void 0?b.createElement("div",{className:`${yt}-success-bg`,style:Da}):null)),Jn)},st=Ze=>{const{size:yt,steps:Zt,percent:Bt=0,strokeWidth:Mt=8,strokeColor:dn,trailColor:gn=null,prefixCls:Dn,children:Jn}=Ze,ha=Math.round(Zt*(Bt/100)),Ra=yt==="small"?2:14,_a=yt!=null?yt:[Ra,Mt],[gr,ar]=Ve(_a,"step",{steps:Zt,strokeWidth:Mt}),pa=gr/Zt,Br=new Array(Zt);for(let qt=0;qt<Zt;qt++){const An=Array.isArray(dn)?dn[qt]:dn;Br[qt]=b.createElement("div",{key:qt,className:le()(`${Dn}-steps-item`,{[`${Dn}-steps-item-active`]:qt<=ha-1}),style:{backgroundColor:qt<=ha-1?An:gn,width:pa,height:ar}})}return b.createElement("div",{className:`${Dn}-steps-outer`},Br,Jn)},nt=ee(93083),De=ee(17313),fe=ee(83116),Xe=ee(37613);const Rt=Ze=>{const yt=Ze?"100%":"-100%";return new nt.Keyframes(`antProgress${Ze?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${yt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${yt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Oe=Ze=>{const{componentCls:yt,iconCls:Zt}=Ze;return{[yt]:Object.assign(Object.assign({},(0,De.Wf)(Ze)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Ze.fontSize,marginInlineEnd:Ze.marginXS,marginBottom:Ze.marginXS},[`${yt}-outer`]:{display:"inline-block",width:"100%"},[`&${yt}-show-info`]:{[`${yt}-outer`]:{marginInlineEnd:`calc(-2em - ${Ze.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Ze.paddingXS}px)`}},[`${yt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Ze.remainingColor,borderRadius:Ze.lineBorderRadius},[`${yt}-inner:not(${yt}-circle-gradient)`]:{[`${yt}-circle-path`]:{stroke:Ze.defaultColor}},[`${yt}-success-bg, ${yt}-bg`]:{position:"relative",backgroundColor:Ze.defaultColor,borderRadius:Ze.lineBorderRadius,transition:`all ${Ze.motionDurationSlow} ${Ze.motionEaseInOutCirc}`},[`${yt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Ze.colorSuccess},[`${yt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Ze.marginXS,color:Ze.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Zt]:{fontSize:Ze.fontSize}},[`&${yt}-status-active`]:{[`${yt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Ze.colorBgContainer,borderRadius:Ze.lineBorderRadius,opacity:0,animationName:Rt(),animationDuration:Ze.progressActiveMotionDuration,animationTimingFunction:Ze.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${yt}-rtl${yt}-status-active`]:{[`${yt}-bg::before`]:{animationName:Rt(!0)}},[`&${yt}-status-exception`]:{[`${yt}-bg`]:{backgroundColor:Ze.colorError},[`${yt}-text`]:{color:Ze.colorError}},[`&${yt}-status-exception ${yt}-inner:not(${yt}-circle-gradient)`]:{[`${yt}-circle-path`]:{stroke:Ze.colorError}},[`&${yt}-status-success`]:{[`${yt}-bg`]:{backgroundColor:Ze.colorSuccess},[`${yt}-text`]:{color:Ze.colorSuccess}},[`&${yt}-status-success ${yt}-inner:not(${yt}-circle-gradient)`]:{[`${yt}-circle-path`]:{stroke:Ze.colorSuccess}}})}},Ie=Ze=>{const{componentCls:yt,iconCls:Zt}=Ze;return{[yt]:{[`${yt}-circle-trail`]:{stroke:Ze.remainingColor},[`&${yt}-circle ${yt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${yt}-circle ${yt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Ze.circleTextColor,fontSize:Ze.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Zt]:{fontSize:`${Ze.fontSize/Ze.fontSizeSM}em`}},[`${yt}-circle&-status-exception`]:{[`${yt}-text`]:{color:Ze.colorError}},[`${yt}-circle&-status-success`]:{[`${yt}-text`]:{color:Ze.colorSuccess}}},[`${yt}-inline-circle`]:{lineHeight:1,[`${yt}-inner`]:{verticalAlign:"bottom"}}}},vt=Ze=>{const{componentCls:yt}=Ze;return{[yt]:{[`${yt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Ze.progressStepMinWidth,marginInlineEnd:Ze.progressStepMarginInlineEnd,backgroundColor:Ze.remainingColor,transition:`all ${Ze.motionDurationSlow}`,"&-active":{backgroundColor:Ze.defaultColor}}}}}},et=Ze=>{const{componentCls:yt,iconCls:Zt}=Ze;return{[yt]:{[`${yt}-small&-line, ${yt}-small&-line ${yt}-text ${Zt}`]:{fontSize:Ze.fontSizeSM}}}};var Me=(0,fe.Z)("Progress",Ze=>{const yt=Ze.marginXXS/2,Zt=(0,Xe.TS)(Ze,{progressStepMarginInlineEnd:yt,progressStepMinWidth:yt,progressActiveMotionDuration:"2.4s"});return[Oe(Zt),Ie(Zt),vt(Zt),et(Zt)]},Ze=>({circleTextColor:Ze.colorText,defaultColor:Ze.colorInfo,remainingColor:Ze.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),St=function(Ze,yt){var Zt={};for(var Bt in Ze)Object.prototype.hasOwnProperty.call(Ze,Bt)&&yt.indexOf(Bt)<0&&(Zt[Bt]=Ze[Bt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,Bt=Object.getOwnPropertySymbols(Ze);Mt<Bt.length;Mt++)yt.indexOf(Bt[Mt])<0&&Object.prototype.propertyIsEnumerable.call(Ze,Bt[Mt])&&(Zt[Bt[Mt]]=Ze[Bt[Mt]]);return Zt};const Bn=null,nn=["normal","exception","active","success"];var ln=b.forwardRef((Ze,yt)=>{const{prefixCls:Zt,className:Bt,rootClassName:Mt,steps:dn,strokeColor:gn,percent:Dn=0,size:Jn="default",showInfo:ha=!0,type:Ra="line",status:_a,format:gr,style:ar}=Ze,pa=St(Ze,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Br=b.useMemo(()=>{var kt,bt;const Qn=Ft(Ze);return parseInt(Qn!==void 0?(kt=Qn!=null?Qn:0)===null||kt===void 0?void 0:kt.toString():(bt=Dn!=null?Dn:0)===null||bt===void 0?void 0:bt.toString(),10)},[Dn,Ze.success,Ze.successPercent]),qt=b.useMemo(()=>!nn.includes(_a)&&Br>=100?"success":_a||"normal",[_a,Br]),{getPrefixCls:An,direction:oa,progress:Da}=b.useContext(qe.E_),ut=An("progress",Zt),[bn,Ln]=Me(ut),zn=b.useMemo(()=>{if(!ha)return null;const kt=Ft(Ze);let bt;const Qn=gr||(Gn=>`${Gn}%`),Yn=Ra==="line";return gr||qt!=="exception"&&qt!=="success"?bt=Qn(sn(Dn),sn(kt)):qt==="exception"?bt=Yn?b.createElement(Ne.Z,null):b.createElement(_e.Z,null):qt==="success"&&(bt=Yn?b.createElement(de.Z,null):b.createElement(Be.Z,null)),b.createElement("span",{className:`${ut}-text`,title:typeof bt=="string"?bt:void 0},bt)},[ha,Dn,Br,qt,Ra,ut,gr]),pn=Array.isArray(gn)?gn[0]:gn,ia=typeof gn=="string"||Array.isArray(gn)?gn:void 0;let Sa;Ra==="line"?Sa=dn?b.createElement(st,Object.assign({},Ze,{strokeColor:ia,prefixCls:ut,steps:dn}),zn):b.createElement(mt,Object.assign({},Ze,{strokeColor:pn,prefixCls:ut,direction:oa}),zn):(Ra==="circle"||Ra==="dashboard")&&(Sa=b.createElement(Gt,Object.assign({},Ze,{strokeColor:pn,prefixCls:ut,progressStatus:qt}),zn));const It=le()(ut,`${ut}-status-${qt}`,`${ut}-${Ra==="dashboard"&&"circle"||dn&&"steps"||Ra}`,{[`${ut}-inline-circle`]:Ra==="circle"&&Ve(Jn,"circle")[0]<=20,[`${ut}-show-info`]:ha,[`${ut}-${Jn}`]:typeof Jn=="string",[`${ut}-rtl`]:oa==="rtl"},Da==null?void 0:Da.className,Bt,Mt,Ln);return bn(b.createElement("div",Object.assign({ref:yt,style:Object.assign(Object.assign({},Da==null?void 0:Da.style),ar),className:It,role:"progressbar","aria-valuenow":Br},(0,it.Z)(pa,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Sa))}),Cn=ln},13570:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return sn}});var b=ee(71409),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,_e=ee(7657),ke=function(on,cn){return de.createElement(_e.Z,(0,b.Z)({},on,{ref:cn,icon:Ne}))},le=de.forwardRef(ke),it=le,qe=ee(92310),Ke=ee.n(qe),je=ee(87075),Je=ee(11036),Ye=ee(39224),ue=ee(18929),E=ee(10228),a=ee(26112);function x(Ft,on){var cn=Ft.disabled,Ve=Ft.prefixCls,at=Ft.character,rn=Ft.characterRender,Kn=Ft.index,Gt=Ft.count,wn=Ft.value,He=Ft.allowHalf,ct=Ft.focused,Lt=Ft.onHover,mt=Ft.onClick,Nt=function(Ie){Lt(Ie,Kn)},st=function(Ie){mt(Ie,Kn)},nt=function(Ie){Ie.keyCode===E.Z.ENTER&&mt(Ie,Kn)},De=Kn+1,fe=new Set([Ve]);wn===0&&Kn===0&&ct?fe.add("".concat(Ve,"-focused")):He&&wn+.5>=De&&wn<De?(fe.add("".concat(Ve,"-half")),fe.add("".concat(Ve,"-active")),ct&&fe.add("".concat(Ve,"-focused"))):(De<=wn?fe.add("".concat(Ve,"-full")):fe.add("".concat(Ve,"-zero")),De===wn&&ct&&fe.add("".concat(Ve,"-focused")));var Xe=typeof at=="function"?at(Ft):at,Rt=de.createElement("li",{className:Ke()(Array.from(fe)),ref:on},de.createElement("div",{onClick:cn?null:st,onKeyDown:cn?null:nt,onMouseMove:cn?null:Nt,role:"radio","aria-checked":wn>Kn?"true":"false","aria-posinset":Kn+1,"aria-setsize":Gt,tabIndex:cn?-1:0},de.createElement("div",{className:"".concat(Ve,"-first")},Xe),de.createElement("div",{className:"".concat(Ve,"-second")},Xe)));return rn&&(Rt=rn(Rt,Ft)),Rt}var y=de.forwardRef(x);function z(){var Ft=de.useRef({});function on(Ve){return Ft.current[Ve]}function cn(Ve){return function(at){Ft.current[Ve]=at}}return[on,cn]}function te(Ft){var on=Ft.pageXOffset,cn="scrollLeft";if(typeof on!="number"){var Ve=Ft.document;on=Ve.documentElement[cn],typeof on!="number"&&(on=Ve.body[cn])}return on}function re(Ft){var on,cn,Ve=Ft.ownerDocument,at=Ve.body,rn=Ve&&Ve.documentElement,Kn=Ft.getBoundingClientRect();return on=Kn.left,cn=Kn.top,on-=rn.clientLeft||at.clientLeft||0,cn-=rn.clientTop||at.clientTop||0,{left:on,top:cn}}function se(Ft){var on=re(Ft),cn=Ft.ownerDocument,Ve=cn.defaultView||cn.parentWindow;return on.left+=te(Ve),on.left}var ie=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ve(Ft,on){var cn,Ve=Ft.prefixCls,at=Ve===void 0?"rc-rate":Ve,rn=Ft.className,Kn=Ft.defaultValue,Gt=Ft.value,wn=Ft.count,He=wn===void 0?5:wn,ct=Ft.allowHalf,Lt=ct===void 0?!1:ct,mt=Ft.allowClear,Nt=mt===void 0?!0:mt,st=Ft.character,nt=st===void 0?"\u2605":st,De=Ft.characterRender,fe=Ft.disabled,Xe=Ft.direction,Rt=Xe===void 0?"ltr":Xe,Oe=Ft.tabIndex,Ie=Oe===void 0?0:Oe,vt=Ft.autoFocus,et=Ft.onHoverChange,Me=Ft.onChange,St=Ft.onFocus,Bn=Ft.onBlur,nn=Ft.onKeyDown,fn=Ft.onMouseLeave,ln=(0,Ye.Z)(Ft,ie),Cn=z(),Ze=(0,Je.Z)(Cn,2),yt=Ze[0],Zt=Ze[1],Bt=de.useRef(null),Mt=function(){if(!fe){var Gn;(Gn=Bt.current)===null||Gn===void 0||Gn.focus()}};de.useImperativeHandle(on,function(){return{focus:Mt,blur:function(){if(!fe){var Gn;(Gn=Bt.current)===null||Gn===void 0||Gn.blur()}}}});var dn=(0,ue.Z)(Kn||0,{value:Gt}),gn=(0,Je.Z)(dn,2),Dn=gn[0],Jn=gn[1],ha=(0,ue.Z)(null),Ra=(0,Je.Z)(ha,2),_a=Ra[0],gr=Ra[1],ar=function(Gn,ir){var Ba=Rt==="rtl",Xn=Gn+1;if(Lt){var Ua=yt(Gn),wa=se(Ua),Nn=Ua.clientWidth;(Ba&&ir-wa>Nn/2||!Ba&&ir-wa<Nn/2)&&(Xn-=.5)}return Xn},pa=function(Gn){Jn(Gn),Me==null||Me(Gn)},Br=de.useState(!1),qt=(0,Je.Z)(Br,2),An=qt[0],oa=qt[1],Da=function(){oa(!0),St==null||St()},ut=function(){oa(!1),Bn==null||Bn()},bn=de.useState(null),Ln=(0,Je.Z)(bn,2),zn=Ln[0],pn=Ln[1],ia=function(Gn,ir){var Ba=ar(ir,Gn.pageX);Ba!==_a&&(pn(Ba),gr(null)),et==null||et(Ba)},Sa=function(Gn){fe||(pn(null),gr(null),et==null||et(void 0)),Gn&&(fn==null||fn(Gn))},It=function(Gn,ir){var Ba=ar(ir,Gn.pageX),Xn=!1;Nt&&(Xn=Ba===Dn),Sa(),pa(Xn?0:Ba),gr(Xn?Ba:null)},kt=function(Gn){var ir=Gn.keyCode,Ba=Rt==="rtl",Xn=Dn;ir===E.Z.RIGHT&&Xn<He&&!Ba?(Lt?Xn+=.5:Xn+=1,pa(Xn),Gn.preventDefault()):ir===E.Z.LEFT&&Xn>0&&!Ba||ir===E.Z.RIGHT&&Xn>0&&Ba?(Lt?Xn-=.5:Xn-=1,pa(Xn),Gn.preventDefault()):ir===E.Z.LEFT&&Xn<He&&Ba&&(Lt?Xn+=.5:Xn+=1,pa(Xn),Gn.preventDefault()),nn==null||nn(Gn)};de.useEffect(function(){vt&&!fe&&Mt()},[]);var bt=new Array(He).fill(0).map(function(Yn,Gn){return de.createElement(y,{ref:Zt(Gn),index:Gn,count:He,disabled:fe,prefixCls:"".concat(at,"-star"),allowHalf:Lt,value:zn===null?Dn:zn,onClick:It,onHover:ia,key:Yn||Gn,character:nt,characterRender:De,focused:An})}),Qn=Ke()(at,rn,(cn={},(0,je.Z)(cn,"".concat(at,"-disabled"),fe),(0,je.Z)(cn,"".concat(at,"-rtl"),Rt==="rtl"),cn));return de.createElement("ul",(0,b.Z)({className:Qn,onMouseLeave:Sa,tabIndex:fe?-1:Ie,onFocus:fe?null:Da,onBlur:fe?null:ut,onKeyDown:fe?null:kt,ref:Bt,role:"radiogroup"},(0,a.Z)(ln,{aria:!0,data:!0,attr:!0})),bt)}var ye=de.forwardRef(ve),Ge=ye,Ae=ee(36355),ze=ee(6848),he=ee(17313),Qe=ee(83116),We=ee(37613);const ft=Ft=>{const{componentCls:on}=Ft;return{[`${on}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ft.marginXS},"> div":{transition:`all ${Ft.motionDurationMid}, outline 0s`,"&:hover":{transform:Ft.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Ft.lineWidth}px dashed ${Ft.starColor}`,transform:Ft.starHoverScale}},"&-first, &-second":{color:Ft.starBg,transition:`all ${Ft.motionDurationMid}`,userSelect:"none",[Ft.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${on}-star-first, &-half ${on}-star-second`]:{opacity:1},[`&-half ${on}-star-first, &-full ${on}-star-second`]:{color:"inherit"}}}},Le=Ft=>({[`&-rtl${Ft.componentCls}`]:{direction:"rtl"}}),ot=Ft=>{const{componentCls:on}=Ft;return{[on]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,he.Wf)(Ft)),{display:"inline-block",margin:0,padding:0,color:Ft.starColor,fontSize:Ft.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${on} ${on}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),ft(Ft)),{[`+ ${on}-text`]:{display:"inline-block",marginInlineStart:Ft.marginXS,fontSize:Ft.fontSize}}),Le(Ft))}};var dt=(0,Qe.Z)("Rate",Ft=>{const on=(0,We.TS)(Ft,{});return[ot(on)]},Ft=>({starColor:Ft.yellow6,starSize:Ft.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ft.colorFillContent})),gt=function(Ft,on){var cn={};for(var Ve in Ft)Object.prototype.hasOwnProperty.call(Ft,Ve)&&on.indexOf(Ve)<0&&(cn[Ve]=Ft[Ve]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,Ve=Object.getOwnPropertySymbols(Ft);at<Ve.length;at++)on.indexOf(Ve[at])<0&&Object.prototype.propertyIsEnumerable.call(Ft,Ve[at])&&(cn[Ve[at]]=Ft[Ve[at]]);return cn},sn=de.forwardRef((Ft,on)=>{const{prefixCls:cn,className:Ve,rootClassName:at,style:rn,tooltips:Kn,character:Gt=de.createElement(it,null)}=Ft,wn=gt(Ft,["prefixCls","className","rootClassName","style","tooltips","character"]),He=(fe,Xe)=>{let{index:Rt}=Xe;return Kn?de.createElement(ze.Z,{title:Kn[Rt]},fe):fe},{getPrefixCls:ct,direction:Lt,rate:mt}=de.useContext(Ae.E_),Nt=ct("rate",cn),[st,nt]=dt(Nt),De=Object.assign(Object.assign({},mt==null?void 0:mt.style),rn);return st(de.createElement(Ge,Object.assign({ref:on,character:Gt,characterRender:He},wn,{className:Ke()(Ve,at,nt,mt==null?void 0:mt.className),style:De,prefixCls:Nt,direction:Lt})))})},61621:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return nt}});var b=ee(92310),de=ee.n(b),Be=ee(59301),Ne=ee(36355),_e=ee(2738),le=De=>{const{prefixCls:fe,className:Xe,style:Rt,size:Oe,shape:Ie}=De,vt=de()({[`${fe}-lg`]:Oe==="large",[`${fe}-sm`]:Oe==="small"}),et=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,vt,et,Xe),style:Object.assign(Object.assign({},Me),Rt)})},it=ee(93083),qe=ee(83116),Ke=ee(37613);const je=new it.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Je=De=>({height:De,lineHeight:`${De}px`}),Ye=De=>Object.assign({width:De},Je(De)),ue=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},Je(De)),a=De=>{const{skeletonAvatarCls:fe,gradientFromColor:Xe,controlHeight:Rt,controlHeightLG:Oe,controlHeightSM:Ie}=De;return{[`${fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Xe},Ye(Rt)),[`${fe}${fe}-circle`]:{borderRadius:"50%"},[`${fe}${fe}-lg`]:Object.assign({},Ye(Oe)),[`${fe}${fe}-sm`]:Object.assign({},Ye(Ie))}},x=De=>{const{controlHeight:fe,borderRadiusSM:Xe,skeletonInputCls:Rt,controlHeightLG:Oe,controlHeightSM:Ie,gradientFromColor:vt}=De;return{[`${Rt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:vt,borderRadius:Xe},E(fe)),[`${Rt}-lg`]:Object.assign({},E(Oe)),[`${Rt}-sm`]:Object.assign({},E(Ie))}},y=De=>Object.assign({width:De},Je(De)),z=De=>{const{skeletonImageCls:fe,imageSizeBase:Xe,gradientFromColor:Rt,borderRadiusSM:Oe}=De;return{[`${fe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Rt,borderRadius:Oe},y(Xe*2)),{[`${fe}-path`]:{fill:"#bfbfbf"},[`${fe}-svg`]:Object.assign(Object.assign({},y(Xe)),{maxWidth:Xe*4,maxHeight:Xe*4}),[`${fe}-svg${fe}-svg-circle`]:{borderRadius:"50%"}}),[`${fe}${fe}-circle`]:{borderRadius:"50%"}}},te=(De,fe,Xe)=>{const{skeletonButtonCls:Rt}=De;return{[`${Xe}${Rt}-circle`]:{width:fe,minWidth:fe,borderRadius:"50%"},[`${Xe}${Rt}-round`]:{borderRadius:fe}}},re=De=>Object.assign({width:De*2,minWidth:De*2},Je(De)),se=De=>{const{borderRadiusSM:fe,skeletonButtonCls:Xe,controlHeight:Rt,controlHeightLG:Oe,controlHeightSM:Ie,gradientFromColor:vt}=De;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:vt,borderRadius:fe,width:Rt*2,minWidth:Rt*2},re(Rt))},te(De,Rt,Xe)),{[`${Xe}-lg`]:Object.assign({},re(Oe))}),te(De,Oe,`${Xe}-lg`)),{[`${Xe}-sm`]:Object.assign({},re(Ie))}),te(De,Ie,`${Xe}-sm`))},ie=De=>{const{componentCls:fe,skeletonAvatarCls:Xe,skeletonTitleCls:Rt,skeletonParagraphCls:Oe,skeletonButtonCls:Ie,skeletonInputCls:vt,skeletonImageCls:et,controlHeight:Me,controlHeightLG:St,controlHeightSM:Bn,gradientFromColor:nn,padding:fn,marginSM:ln,borderRadius:Cn,titleHeight:Ze,blockRadius:yt,paragraphLiHeight:Zt,controlHeightXS:Bt,paragraphMarginTop:Mt}=De;return{[`${fe}`]:{display:"table",width:"100%",[`${fe}-header`]:{display:"table-cell",paddingInlineEnd:fn,verticalAlign:"top",[`${Xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:nn},Ye(Me)),[`${Xe}-circle`]:{borderRadius:"50%"},[`${Xe}-lg`]:Object.assign({},Ye(St)),[`${Xe}-sm`]:Object.assign({},Ye(Bn))},[`${fe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Rt}`]:{width:"100%",height:Ze,background:nn,borderRadius:yt,[`+ ${Oe}`]:{marginBlockStart:Bn}},[`${Oe}`]:{padding:0,"> li":{width:"100%",height:Zt,listStyle:"none",background:nn,borderRadius:yt,"+ li":{marginBlockStart:Bt}}},[`${Oe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${fe}-content`]:{[`${Rt}, ${Oe} > li`]:{borderRadius:Cn}}},[`${fe}-with-avatar ${fe}-content`]:{[`${Rt}`]:{marginBlockStart:ln,[`+ ${Oe}`]:{marginBlockStart:Mt}}},[`${fe}${fe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},se(De)),a(De)),x(De)),z(De)),[`${fe}${fe}-block`]:{width:"100%",[`${Ie}`]:{width:"100%"},[`${vt}`]:{width:"100%"}},[`${fe}${fe}-active`]:{[`
${Rt},
${Oe} > li,
${Xe},
${Ie},
${vt},
${et}
`]:Object.assign({},ue(De))}}};var ve=(0,qe.Z)("Skeleton",De=>{const{componentCls:fe}=De,Xe=(0,Ke.TS)(De,{skeletonAvatarCls:`${fe}-avatar`,skeletonTitleCls:`${fe}-title`,skeletonParagraphCls:`${fe}-paragraph`,skeletonButtonCls:`${fe}-button`,skeletonInputCls:`${fe}-input`,skeletonImageCls:`${fe}-image`,imageSizeBase:De.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${De.gradientFromColor} 25%, ${De.gradientToColor} 37%, ${De.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ie(Xe)]},De=>{const{colorFillContent:fe,colorFill:Xe}=De,Rt=fe,Oe=Xe;return{color:Rt,colorGradientEnd:Oe,gradientFromColor:Rt,gradientToColor:Oe,titleHeight:De.controlHeight/2,blockRadius:De.borderRadiusSM,paragraphMarginTop:De.marginLG+De.marginXXS,paragraphLiHeight:De.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ge=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,active:Oe,shape:Ie="circle",size:vt="default"}=De,{getPrefixCls:et}=Be.useContext(Ne.E_),Me=et("skeleton",fe),[St,Bn]=ve(Me),nn=(0,_e.Z)(De,["prefixCls","className"]),fn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe},Xe,Rt,Bn);return St(Be.createElement("div",{className:fn},Be.createElement(le,Object.assign({prefixCls:`${Me}-avatar`,shape:Ie,size:vt},nn))))},ze=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,active:Oe,block:Ie=!1,size:vt="default"}=De,{getPrefixCls:et}=Be.useContext(Ne.E_),Me=et("skeleton",fe),[St,Bn]=ve(Me),nn=(0,_e.Z)(De,["prefixCls"]),fn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe,[`${Me}-block`]:Ie},Xe,Rt,Bn);return St(Be.createElement("div",{className:fn},Be.createElement(le,Object.assign({prefixCls:`${Me}-button`,size:vt},nn))))};const he="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var We=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,style:Oe,active:Ie}=De,{getPrefixCls:vt}=Be.useContext(Ne.E_),et=vt("skeleton",fe),[Me,St]=ve(et),Bn=de()(et,`${et}-element`,{[`${et}-active`]:Ie},Xe,Rt,St);return Me(Be.createElement("div",{className:Bn},Be.createElement("div",{className:de()(`${et}-image`,Xe),style:Oe},Be.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${et}-image-svg`},Be.createElement("path",{d:he,className:`${et}-image-path`})))))},Le=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,active:Oe,block:Ie,size:vt="default"}=De,{getPrefixCls:et}=Be.useContext(Ne.E_),Me=et("skeleton",fe),[St,Bn]=ve(Me),nn=(0,_e.Z)(De,["prefixCls"]),fn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe,[`${Me}-block`]:Ie},Xe,Rt,Bn);return St(Be.createElement("div",{className:fn},Be.createElement(le,Object.assign({prefixCls:`${Me}-input`,size:vt},nn))))},ot=ee(71409),dt={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=dt,Dt=ee(7657),sn=function(fe,Xe){return Be.createElement(Dt.Z,(0,ot.Z)({},fe,{ref:Xe,icon:gt}))},Ft=Be.forwardRef(sn),on=Ft,Ve=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,style:Oe,active:Ie,children:vt}=De,{getPrefixCls:et}=Be.useContext(Ne.E_),Me=et("skeleton",fe),[St,Bn]=ve(Me),nn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Ie},Bn,Xe,Rt),fn=vt!=null?vt:Be.createElement(on,null);return St(Be.createElement("div",{className:nn},Be.createElement("div",{className:de()(`${Me}-image`,Xe),style:Oe},fn)))},at=ee(62730),Kn=De=>{const fe=et=>{const{width:Me,rows:St=2}=De;if(Array.isArray(Me))return Me[et];if(St-1===et)return Me},{prefixCls:Xe,className:Rt,style:Oe,rows:Ie}=De,vt=(0,at.Z)(Array(Ie)).map((et,Me)=>Be.createElement("li",{key:Me,style:{width:fe(Me)}}));return Be.createElement("ul",{className:de()(Xe,Rt),style:Oe},vt)},wn=De=>{let{prefixCls:fe,className:Xe,width:Rt,style:Oe}=De;return Be.createElement("h3",{className:de()(fe,Xe),style:Object.assign({width:Rt},Oe)})};function He(De){return De&&typeof De=="object"?De:{}}function ct(De,fe){return De&&!fe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Lt(De,fe){return!De&&fe?{width:"38%"}:De&&fe?{width:"50%"}:{}}function mt(De,fe){const Xe={};return(!De||!fe)&&(Xe.width="61%"),!De&&fe?Xe.rows=3:Xe.rows=2,Xe}const Nt=De=>{const{prefixCls:fe,loading:Xe,className:Rt,rootClassName:Oe,style:Ie,children:vt,avatar:et=!1,title:Me=!0,paragraph:St=!0,active:Bn,round:nn}=De,{getPrefixCls:fn,direction:ln,skeleton:Cn}=Be.useContext(Ne.E_),Ze=fn("skeleton",fe),[yt,Zt]=ve(Ze);if(Xe||!("loading"in De)){const Bt=!!et,Mt=!!Me,dn=!!St;let gn;if(Bt){const ha=Object.assign(Object.assign({prefixCls:`${Ze}-avatar`},ct(Mt,dn)),He(et));gn=Be.createElement("div",{className:`${Ze}-header`},Be.createElement(le,Object.assign({},ha)))}let Dn;if(Mt||dn){let ha;if(Mt){const _a=Object.assign(Object.assign({prefixCls:`${Ze}-title`},Lt(Bt,dn)),He(Me));ha=Be.createElement(wn,Object.assign({},_a))}let Ra;if(dn){const _a=Object.assign(Object.assign({prefixCls:`${Ze}-paragraph`},mt(Bt,Mt)),He(St));Ra=Be.createElement(Kn,Object.assign({},_a))}Dn=Be.createElement("div",{className:`${Ze}-content`},ha,Ra)}const Jn=de()(Ze,{[`${Ze}-with-avatar`]:Bt,[`${Ze}-active`]:Bn,[`${Ze}-rtl`]:ln==="rtl",[`${Ze}-round`]:nn},Cn==null?void 0:Cn.className,Rt,Oe,Zt);return yt(Be.createElement("div",{className:Jn,style:Object.assign(Object.assign({},Cn==null?void 0:Cn.style),Ie)},gn,Dn))}return typeof vt!="undefined"?vt:null};Nt.Button=ze,Nt.Avatar=Ge,Nt.Input=Le,Nt.Image=We,Nt.Node=Ve;var st=Nt,nt=st},31797:function(Vt,jt,ee){"use strict";ee.d(jt,{default:function(){return ve}});var b=ee(59301),de=ee(56762),Be=ee(92343),Ne=ee(92310),_e=ee.n(Ne),ke=ee(36355),le=ee(61621),qe=ye=>{const{value:Ge,formatter:Ae,precision:ze,decimalSeparator:he,groupSeparator:Qe="",prefixCls:We}=ye;let ft;if(typeof Ae=="function")ft=Ae(Ge);else{const Le=String(Ge),ot=Le.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ot||Le==="-")ft=Le;else{const dt=ot[1];let gt=ot[2]||"0",Dt=ot[4]||"";gt=gt.replace(/\B(?=(\d{3})+(?!\d))/g,Qe),typeof ze=="number"&&(Dt=Dt.padEnd(ze,"0").slice(0,ze>0?ze:0)),Dt&&(Dt=`${he}${Dt}`),ft=[b.createElement("span",{key:"int",className:`${We}-content-value-int`},dt,gt),Dt&&b.createElement("span",{key:"decimal",className:`${We}-content-value-decimal`},Dt)]}}return b.createElement("span",{className:`${We}-content-value`},ft)},Ke=ee(17313),je=ee(83116),Je=ee(37613);const Ye=ye=>{const{componentCls:Ge,marginXXS:Ae,padding:ze,colorTextDescription:he,titleFontSize:Qe,colorTextHeading:We,contentFontSize:ft,fontFamily:Le}=ye;return{[`${Ge}`]:Object.assign(Object.assign({},(0,Ke.Wf)(ye)),{[`${Ge}-title`]:{marginBottom:Ae,color:he,fontSize:Qe},[`${Ge}-skeleton`]:{paddingTop:ze},[`${Ge}-content`]:{color:We,fontSize:ft,fontFamily:Le,[`${Ge}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ge}-content-prefix, ${Ge}-content-suffix`]:{display:"inline-block"},[`${Ge}-content-prefix`]:{marginInlineEnd:Ae},[`${Ge}-content-suffix`]:{marginInlineStart:Ae}}})}};var ue=(0,je.Z)("Statistic",ye=>{const Ge=(0,Je.TS)(ye,{});return[Ye(Ge)]},ye=>{const{fontSizeHeading3:Ge,fontSize:Ae}=ye;return{titleFontSize:Ae,contentFontSize:Ge}}),a=ye=>{const{prefixCls:Ge,className:Ae,rootClassName:ze,style:he,valueStyle:Qe,value:We=0,title:ft,valueRender:Le,prefix:ot,suffix:dt,loading:gt=!1,onMouseEnter:Dt,onMouseLeave:sn,decimalSeparator:Ft=".",groupSeparator:on=","}=ye,{getPrefixCls:cn,direction:Ve,statistic:at}=b.useContext(ke.E_),rn=cn("statistic",Ge),[Kn,Gt]=ue(rn),wn=b.createElement(qe,Object.assign({decimalSeparator:Ft,groupSeparator:on,prefixCls:rn},ye,{value:We})),He=_e()(rn,{[`${rn}-rtl`]:Ve==="rtl"},at==null?void 0:at.className,Ae,ze,Gt);return Kn(b.createElement("div",{className:He,style:Object.assign(Object.assign({},at==null?void 0:at.style),he),onMouseEnter:Dt,onMouseLeave:sn},ft&&b.createElement("div",{className:`${rn}-title`},ft),b.createElement(le.Z,{paragraph:!1,loading:gt,className:`${rn}-skeleton`},b.createElement("div",{style:Qe,className:`${rn}-content`},ot&&b.createElement("span",{className:`${rn}-content-prefix`},ot),Le?Le(wn):wn,dt&&b.createElement("span",{className:`${rn}-content-suffix`},dt)))))};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(ye,Ge){let Ae=ye;const ze=/\[[^\]]*]/g,he=(Ge.match(ze)||[]).map(Le=>Le.slice(1,-1)),Qe=Ge.replace(ze,"[]"),We=x.reduce((Le,ot)=>{let[dt,gt]=ot;if(Le.includes(dt)){const Dt=Math.floor(Ae/gt);return Ae-=Dt*gt,Le.replace(new RegExp(`${dt}+`,"g"),sn=>{const Ft=sn.length;return Dt.toString().padStart(Ft,"0")})}return Le},Qe);let ft=0;return We.replace(ze,()=>{const Le=he[ft];return ft+=1,Le})}function z(ye,Ge){const{format:Ae=""}=Ge,ze=new Date(ye).getTime(),he=Date.now(),Qe=Math.max(ze-he,0);return y(Qe,Ae)}const te=1e3/30;function re(ye){return new Date(ye).getTime()}const se=ye=>{const{value:Ge,format:Ae="HH:mm:ss",onChange:ze,onFinish:he}=ye,Qe=(0,de.Z)(),We=b.useRef(null),ft=()=>{he==null||he(),We.current&&(clearInterval(We.current),We.current=null)},Le=()=>{const gt=re(Ge);gt>=Date.now()&&(We.current=setInterval(()=>{Qe(),ze==null||ze(gt-Date.now()),gt<Date.now()&&ft()},te))};b.useEffect(()=>(Le(),()=>{We.current&&(clearInterval(We.current),We.current=null)}),[Ge]);const ot=(gt,Dt)=>z(gt,Object.assign(Object.assign({},Dt),{format:Ae})),dt=gt=>(0,Be.Tm)(gt,{title:void 0});return b.createElement(a,Object.assign({},ye,{valueRender:dt,formatter:ot}))};var ie=b.memo(se);a.Countdown=ie;var ve=a},15969:function(Vt,jt,ee){"use strict";ee.d(jt,{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(Vt,jt,ee){"use strict";ee.d(jt,{default:function(){return Xi}});var b={},de="rc-table-internal-hook",Be=ee(11036),Ne=ee(6089),_e=ee(34280),ke=ee(13697),le=ee(59301),it=ee(4676);function qe(Ee){var Ce=le.createContext(void 0),Ue=function(ht){var pt=ht.value,$t=ht.children,Qt=le.useRef(pt);Qt.current=pt;var Ut=le.useState(function(){return{getValue:function(){return Qt.current},listeners:new Set}}),xn=(0,Be.Z)(Ut,1),Sn=xn[0];return(0,_e.Z)(function(){(0,it.unstable_batchedUpdates)(function(){Sn.listeners.forEach(function(En){En(pt)})})},[pt]),le.createElement(Ce.Provider,{value:Sn},$t)};return{Context:Ce,Provider:Ue,defaultValue:Ee}}function Ke(Ee,Ce){var Ue=(0,Ne.Z)(typeof Ce=="function"?Ce:function(En){if(Ce===void 0)return En;if(!Array.isArray(Ce))return En[Ce];var ea={};return Ce.forEach(function(ra){ea[ra]=En[ra]}),ea}),rt=le.useContext(Ee==null?void 0:Ee.Context),ht=rt||{},pt=ht.listeners,$t=ht.getValue,Qt=le.useRef();Qt.current=Ue(rt?$t():Ee==null?void 0:Ee.defaultValue);var Ut=le.useState({}),xn=(0,Be.Z)(Ut,2),Sn=xn[1];return(0,_e.Z)(function(){if(!rt)return;function En(ea){var ra=Ue(ea);(0,ke.Z)(Qt.current,ra,!0)||Sn({})}return pt.add(En),function(){pt.delete(En)}},[rt]),Qt.current}var je=ee(71409),Je=ee(8654);function Ye(){var Ee=le.createContext(null);function Ce(){return le.useContext(Ee)}function Ue(ht,pt){var $t=(0,Je.Yr)(ht),Qt=function(xn,Sn){var En=$t?{ref:Sn}:{},ea=le.useRef(0),ra=le.useRef(xn),ma=Ce();return ma!==null?le.createElement(ht,(0,je.Z)({},xn,En)):((!pt||pt(ra.current,xn))&&(ea.current+=1),ra.current=xn,le.createElement(Ee.Provider,{value:ea.current},le.createElement(ht,(0,je.Z)({},xn,En))))};return $t?le.forwardRef(Qt):Qt}function rt(ht,pt){var $t=(0,Je.Yr)(ht),Qt=function(xn,Sn){var En=$t?{ref:Sn}:{};return Ce(),le.createElement(ht,(0,je.Z)({},xn,En))};return $t?le.memo(le.forwardRef(Qt),pt):le.memo(Qt,pt)}return{makeImmutable:Ue,responseImmutable:rt,useImmutableMark:Ce}}var ue=Ye(),E=ue.makeImmutable,a=ue.responseImmutable,x=ue.useImmutableMark,y=Ye(),z=y.makeImmutable,te=y.responseImmutable,re=y.useImmutableMark,se=qe(),ie=se;function ve(Ee,Ce){var Ue=le.useRef(0);Ue.current+=1;var rt=le.useRef(Ee),ht=[];Object.keys(Ee||{}).map(function($t){var Qt;(Ee==null?void 0:Ee[$t])!==((Qt=rt.current)===null||Qt===void 0?void 0:Qt[$t])&&ht.push($t)}),rt.current=Ee;var pt=le.useRef([]);return ht.length&&(pt.current=ht),le.useDebugValue(Ue.current),le.useDebugValue(pt.current.join(", ")),Ce&&console.log("".concat(Ce,":"),Ue.current,pt.current),Ue.current}var ye=null,Ge=le.memo(function(){var Ee=ve();return le.createElement("h1",null,"Render Times: ",Ee)});Ge.displayName="RenderBlock";var Ae=ee(28788),ze=ee(89490),he=ee(87075),Qe=ee(92310),We=ee.n(Qe),ft=ee(80547),Le=ee(97938),ot=ee(48736),dt=le.createContext({renderWithProps:!1}),gt=dt,Dt="RC_TABLE_KEY";function sn(Ee){return Ee==null?[]:Array.isArray(Ee)?Ee:[Ee]}function Ft(Ee){var Ce=[],Ue={};return Ee.forEach(function(rt){for(var ht=rt||{},pt=ht.key,$t=ht.dataIndex,Qt=pt||sn($t).join("-")||Dt;Ue[Qt];)Qt="".concat(Qt,"_next");Ue[Qt]=!0,Ce.push(Qt)}),Ce}function on(Ee){return Ee!=null}function cn(Ee){return Ee&&(0,Ae.Z)(Ee)==="object"&&!Array.isArray(Ee)&&!le.isValidElement(Ee)}function Ve(Ee,Ce,Ue,rt,ht,pt){var $t=le.useContext(gt),Qt=re(),Ut=(0,ft.Z)(function(){if(on(rt))return[rt];var xn=Ce==null||Ce===""?[]:Array.isArray(Ce)?Ce:[Ce],Sn=(0,Le.Z)(Ee,xn),En=Sn,ea=void 0;if(ht){var ra=ht(Sn,Ee,Ue);cn(ra)?(En=ra.children,ea=ra.props,$t.renderWithProps=!0):En=ra}return[En,ea]},[Qt,Ee,rt,Ce,ht,Ue],function(xn,Sn){if(pt){var En=(0,Be.Z)(xn,2),ea=En[1],ra=(0,Be.Z)(Sn,2),ma=ra[1];return pt(ma,ea)}return $t.renderWithProps?!0:!(0,ke.Z)(xn,Sn,!0)});return Ut}function at(Ee,Ce,Ue,rt){var ht=Ee+Ce-1;return Ee<=rt&&ht>=Ue}function rn(Ee,Ce){return Ke(ie,function(Ue){var rt=at(Ee,Ce||1,Ue.hoverStartRow,Ue.hoverEndRow);return[rt,Ue.onHover]})}var Kn=function(Ce){var Ue=Ce.ellipsis,rt=Ce.rowType,ht=Ce.children,pt,$t=Ue===!0?{showTitle:!0}:Ue;return $t&&($t.showTitle||rt==="header")&&(typeof ht=="string"||typeof ht=="number"?pt=ht.toString():le.isValidElement(ht)&&typeof ht.props.children=="string"&&(pt=ht.props.children)),pt};function Gt(Ee){var Ce,Ue,rt,ht,pt,$t,Qt,Ut,xn=Ee.component,Sn=Ee.children,En=Ee.ellipsis,ea=Ee.scope,ra=Ee.prefixCls,ma=Ee.className,La=Ee.align,zt=Ee.record,nr=Ee.render,ja=Ee.dataIndex,dr=Ee.renderIndex,Zr=Ee.shouldCellUpdate,Qr=Ee.index,Or=Ee.rowType,Kr=Ee.colSpan,jr=Ee.rowSpan,ur=Ee.fixLeft,sr=Ee.fixRight,yr=Ee.firstFixLeft,$a=Ee.lastFixLeft,cr=Ee.firstFixRight,$r=Ee.lastFixRight,yo=Ee.appendNode,lo=Ee.additionalProps,kr=lo===void 0?{}:lo,vo=Ee.isSticky,wo="".concat(ra,"-cell"),Ta=Ke(ie,["supportSticky","allColumnsFixedLeft"]),Do=Ta.supportSticky,yi=Ta.allColumnsFixedLeft,Ao=Ve(zt,ja,dr,Sn,nr,Zr),qr=(0,Be.Z)(Ao,2),bi=qr[0],Yr=qr[1],gi={},Zo=typeof ur=="number"&&Do,_i=typeof sr=="number"&&Do;Zo&&(gi.position="sticky",gi.left=ur),_i&&(gi.position="sticky",gi.right=sr);var no=(Ce=(Ue=(rt=Yr==null?void 0:Yr.colSpan)!==null&&rt!==void 0?rt:kr.colSpan)!==null&&Ue!==void 0?Ue:Kr)!==null&&Ce!==void 0?Ce:1,zr=(ht=(pt=($t=Yr==null?void 0:Yr.rowSpan)!==null&&$t!==void 0?$t:kr.rowSpan)!==null&&pt!==void 0?pt:jr)!==null&&ht!==void 0?ht:1,Jr=rn(Qr,zr),Hr=(0,Be.Z)(Jr,2),ce=Hr[0],pe=Hr[1],Pe=function(Fn){var Pt;zt&&pe(Qr,Qr+zr-1),kr==null||(Pt=kr.onMouseEnter)===null||Pt===void 0||Pt.call(kr,Fn)},Ot=function(Fn){var Pt;zt&&pe(-1,-1),kr==null||(Pt=kr.onMouseLeave)===null||Pt===void 0||Pt.call(kr,Fn)};if(no===0||zr===0)return null;var en=(Qt=kr.title)!==null&&Qt!==void 0?Qt:Kn({rowType:Or,ellipsis:En,children:bi}),Oa=We()(wo,ma,(Ut={},(0,he.Z)(Ut,"".concat(wo,"-fix-left"),Zo&&Do),(0,he.Z)(Ut,"".concat(wo,"-fix-left-first"),yr&&Do),(0,he.Z)(Ut,"".concat(wo,"-fix-left-last"),$a&&Do),(0,he.Z)(Ut,"".concat(wo,"-fix-left-all"),$a&&yi&&Do),(0,he.Z)(Ut,"".concat(wo,"-fix-right"),_i&&Do),(0,he.Z)(Ut,"".concat(wo,"-fix-right-first"),cr&&Do),(0,he.Z)(Ut,"".concat(wo,"-fix-right-last"),$r&&Do),(0,he.Z)(Ut,"".concat(wo,"-ellipsis"),En),(0,he.Z)(Ut,"".concat(wo,"-with-append"),yo),(0,he.Z)(Ut,"".concat(wo,"-fix-sticky"),(Zo||_i)&&vo&&Do),(0,he.Z)(Ut,"".concat(wo,"-row-hover"),!Yr&&ce),Ut),kr.className,Yr==null?void 0:Yr.className),va={};La&&(va.textAlign=La);var _n=(0,ze.Z)((0,ze.Z)((0,ze.Z)((0,ze.Z)({},gi),kr.style),va),Yr==null?void 0:Yr.style),Ht=bi;return(0,Ae.Z)(Ht)==="object"&&!Array.isArray(Ht)&&!le.isValidElement(Ht)&&(Ht=null),En&&($a||cr)&&(Ht=le.createElement("span",{className:"".concat(wo,"-content")},Ht)),le.createElement(xn,(0,je.Z)({},Yr,kr,{className:Oa,style:_n,title:en,scope:ea,onMouseEnter:Pe,onMouseLeave:Ot,colSpan:no!==1?no:null,rowSpan:zr!==1?zr:null}),yo,Ht)}var wn=le.memo(Gt);function He(Ee,Ce,Ue,rt,ht,pt){var $t=Ue[Ee]||{},Qt=Ue[Ce]||{},Ut,xn;$t.fixed==="left"?Ut=rt.left[ht==="rtl"?Ce:Ee]:Qt.fixed==="right"&&(xn=rt.right[ht==="rtl"?Ee:Ce]);var Sn=!1,En=!1,ea=!1,ra=!1,ma=Ue[Ce+1],La=Ue[Ee-1],zt=!(pt!=null&&pt.children);if(ht==="rtl"){if(Ut!==void 0){var nr=La&&La.fixed==="left";ra=!nr&&zt}else if(xn!==void 0){var ja=ma&&ma.fixed==="right";ea=!ja&&zt}}else if(Ut!==void 0){var dr=ma&&ma.fixed==="left";Sn=!dr&&zt}else if(xn!==void 0){var Zr=La&&La.fixed==="right";En=!Zr&&zt}return{fixLeft:Ut,fixRight:xn,lastFixLeft:Sn,firstFixRight:En,lastFixRight:ea,firstFixLeft:ra,isSticky:rt.isSticky}}var ct=le.createContext({}),Lt=ct;function mt(Ee){var Ce=Ee.className,Ue=Ee.index,rt=Ee.children,ht=Ee.colSpan,pt=ht===void 0?1:ht,$t=Ee.rowSpan,Qt=Ee.align,Ut=Ke(ie,["prefixCls","direction"]),xn=Ut.prefixCls,Sn=Ut.direction,En=le.useContext(Lt),ea=En.scrollColumnIndex,ra=En.stickyOffsets,ma=En.flattenColumns,La=En.columns,zt=Ue+pt-1,nr=zt+1===ea?pt+1:pt,ja=He(Ue,Ue+nr-1,ma,ra,Sn,La==null?void 0:La[Ue]);return le.createElement(wn,(0,je.Z)({className:Ce,index:Ue,component:"td",prefixCls:xn,record:null,dataIndex:null,align:Qt,colSpan:nr,rowSpan:$t,render:function(){return rt}},ja))}var Nt=ee(39224),st=["children"];function nt(Ee){var Ce=Ee.children,Ue=(0,Nt.Z)(Ee,st);return le.createElement("tr",Ue,Ce)}function De(Ee){var Ce=Ee.children;return Ce}De.Row=nt,De.Cell=mt;var fe=De;function Xe(Ee){var Ce=Ee.children,Ue=Ee.stickyOffsets,rt=Ee.flattenColumns,ht=Ee.columns,pt=Ke(ie,"prefixCls"),$t=rt.length-1,Qt=rt[$t],Ut=le.useMemo(function(){return{stickyOffsets:Ue,flattenColumns:rt,scrollColumnIndex:Qt!=null&&Qt.scrollbar?$t:null,columns:ht}},[Qt,rt,$t,Ue,ht]);return le.createElement(Lt.Provider,{value:Ut},le.createElement("tfoot",{className:"".concat(pt,"-summary")},Ce))}var Rt=te(Xe),Oe=fe,Ie=ee(70425),vt=ee(29301),et=ee(29194),Me=ee(24514),St=ee(75152),Bn=ee(26112);function nn(Ee,Ce,Ue,rt,ht,pt,$t){Ee.push({record:Ce,indent:Ue,index:$t});var Qt=pt(Ce),Ut=ht==null?void 0:ht.has(Qt);if(Ce&&Array.isArray(Ce[rt])&&Ut)for(var xn=0;xn<Ce[rt].length;xn+=1)nn(Ee,Ce[rt][xn],Ue+1,rt,ht,pt,xn)}function fn(Ee,Ce,Ue,rt){var ht=le.useMemo(function(){if(Ue!=null&&Ue.size){for(var pt=[],$t=0;$t<(Ee==null?void 0:Ee.length);$t+=1){var Qt=Ee[$t];nn(pt,Qt,0,Ce,Ue,rt,$t)}return pt}return Ee==null?void 0:Ee.map(function(Ut,xn){return{record:Ut,indent:0,index:xn}})},[Ee,Ce,Ue,rt]);return ht}function ln(Ee){var Ce=Ee.prefixCls,Ue=Ee.children,rt=Ee.component,ht=Ee.cellComponent,pt=Ee.className,$t=Ee.expanded,Qt=Ee.colSpan,Ut=Ee.isEmpty,xn=Ke(ie,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Sn=xn.scrollbarSize,En=xn.fixHeader,ea=xn.fixColumn,ra=xn.componentWidth,ma=xn.horizonScroll,La=Ue;return(Ut?ma&&ra:ea)&&(La=le.createElement("div",{style:{width:ra-(En?Sn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Ce,"-expanded-row-fixed")},La)),le.createElement(rt,{className:pt,style:{display:$t?null:"none"}},le.createElement(wn,{component:ht,prefixCls:Ce,colSpan:Qt},La))}var Cn=ln;function Ze(Ee,Ce,Ue,rt){var ht=Ke(ie,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),pt=ht.flattenColumns,$t=ht.expandableType,Qt=ht.expandedKeys,Ut=ht.childrenColumnName,xn=ht.onTriggerExpand,Sn=ht.rowExpandable,En=ht.onRow,ea=ht.expandRowByClick,ra=ht.rowClassName,ma=$t==="nest",La=$t==="row"&&(!Sn||Sn(Ee)),zt=La||ma,nr=Qt&&Qt.has(Ce),ja=Ut&&Ee&&Ee[Ut],dr=(0,Ie.useEvent)(xn),Zr=En==null?void 0:En(Ee,Ue),Qr=Zr==null?void 0:Zr.onClick,Or=function(sr){ea&&zt&&xn(Ee,sr);for(var yr=arguments.length,$a=new Array(yr>1?yr-1:0),cr=1;cr<yr;cr++)$a[cr-1]=arguments[cr];Qr==null||Qr.apply(void 0,[sr].concat($a))},Kr;typeof ra=="string"?Kr=ra:typeof ra=="function"&&(Kr=ra(Ee,Ue,rt));var jr=Ft(pt);return(0,ze.Z)((0,ze.Z)({},ht),{},{columnsKey:jr,nestExpandable:ma,expanded:nr,hasNestChildren:ja,record:Ee,onTriggerExpand:dr,rowSupportExpand:La,expandable:zt,rowProps:(0,ze.Z)((0,ze.Z)({},Zr),{},{className:We()(Kr,Zr==null?void 0:Zr.className),onClick:Or})})}function yt(Ee,Ce,Ue,rt,ht){var pt=Ee.record,$t=Ee.prefixCls,Qt=Ee.columnsKey,Ut=Ee.fixedInfoList,xn=Ee.expandIconColumnIndex,Sn=Ee.nestExpandable,En=Ee.indentSize,ea=Ee.expandIcon,ra=Ee.expanded,ma=Ee.hasNestChildren,La=Ee.onTriggerExpand,zt=Qt[Ue],nr=Ut[Ue],ja;Ue===(xn||0)&&Sn&&(ja=le.createElement(le.Fragment,null,le.createElement("span",{style:{paddingLeft:"".concat(En*rt,"px")},className:"".concat($t,"-row-indent indent-level-").concat(rt)}),ea({prefixCls:$t,expanded:ra,expandable:ma,record:pt,onExpand:La})));var dr;return Ce.onCell&&(dr=Ce.onCell(pt,ht)),{key:zt,fixedInfo:nr,appendCellNode:ja,additionalCellProps:dr||{}}}function Zt(Ee){var Ce=Ee.className,Ue=Ee.style,rt=Ee.record,ht=Ee.index,pt=Ee.renderIndex,$t=Ee.rowKey,Qt=Ee.indent,Ut=Qt===void 0?0:Qt,xn=Ee.rowComponent,Sn=Ee.cellComponent,En=Ee.scopeCellComponent,ea=Ze(rt,$t,ht,Ut),ra=ea.prefixCls,ma=ea.flattenColumns,La=ea.expandedRowClassName,zt=ea.expandedRowRender,nr=ea.rowProps,ja=ea.expanded,dr=ea.rowSupportExpand,Zr=le.useState(!1),Qr=(0,Be.Z)(Zr,2),Or=Qr[0],Kr=Qr[1];le.useEffect(function(){ja&&Kr(!0)},[ja]);var jr=le.createElement(xn,(0,je.Z)({},nr,{"data-row-key":$t,className:We()(Ce,"".concat(ra,"-row"),"".concat(ra,"-row-level-").concat(Ut),nr==null?void 0:nr.className),style:(0,ze.Z)((0,ze.Z)({},Ue),nr==null?void 0:nr.style)}),ma.map(function($a,cr){var $r=$a.render,yo=$a.dataIndex,lo=$a.className,kr=yt(ea,$a,cr,Ut,ht),vo=kr.key,wo=kr.fixedInfo,Ta=kr.appendCellNode,Do=kr.additionalCellProps;return le.createElement(wn,(0,je.Z)({className:lo,ellipsis:$a.ellipsis,align:$a.align,scope:$a.rowScope,component:$a.rowScope?En:Sn,prefixCls:ra,key:vo,record:rt,index:ht,renderIndex:pt,dataIndex:yo,render:$r,shouldCellUpdate:$a.shouldCellUpdate},wo,{appendNode:Ta,additionalProps:Do}))})),ur;if(dr&&(Or||ja)){var sr=zt(rt,ht,Ut+1,ja),yr=La&&La(rt,ht,Ut);ur=le.createElement(Cn,{expanded:ja,className:We()("".concat(ra,"-expanded-row"),"".concat(ra,"-expanded-row-level-").concat(Ut+1),yr),prefixCls:ra,component:xn,cellComponent:Sn,colSpan:ma.length,isEmpty:!1},sr)}return le.createElement(le.Fragment,null,jr,ur)}Zt.displayName="BodyRow";var Bt=te(Zt);function Mt(Ee){var Ce=Ee.columnKey,Ue=Ee.onColumnResize,rt=le.useRef();return le.useEffect(function(){rt.current&&Ue(Ce,rt.current.offsetWidth)},[]),le.createElement(vt.Z,{data:Ce},le.createElement("td",{ref:rt,style:{padding:0,border:0,height:0}},le.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function dn(Ee){var Ce=Ee.prefixCls,Ue=Ee.columnsKey,rt=Ee.onColumnResize;return le.createElement("tr",{"aria-hidden":"true",className:"".concat(Ce,"-measure-row"),style:{height:0,fontSize:0}},le.createElement(vt.Z.Collection,{onBatchResize:function(pt){pt.forEach(function($t){var Qt=$t.data,Ut=$t.size;rt(Qt,Ut.offsetWidth)})}},Ue.map(function(ht){return le.createElement(Mt,{key:ht,columnKey:ht,onColumnResize:rt})})))}function gn(Ee){var Ce=Ee.data,Ue=Ee.measureColumnWidth,rt=Ke(ie,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ht=rt.prefixCls,pt=rt.getComponent,$t=rt.onColumnResize,Qt=rt.flattenColumns,Ut=rt.getRowKey,xn=rt.expandedKeys,Sn=rt.childrenColumnName,En=rt.emptyNode,ea=fn(Ce,Sn,xn,Ut),ra=le.useRef({renderWithProps:!1}),ma=pt(["body","wrapper"],"tbody"),La=pt(["body","row"],"tr"),zt=pt(["body","cell"],"td"),nr=pt(["body","cell"],"th"),ja;Ce.length?ja=ea.map(function(Zr,Qr){var Or=Zr.record,Kr=Zr.indent,jr=Zr.index,ur=Ut(Or,Qr);return le.createElement(Bt,{key:ur,rowKey:ur,record:Or,index:Qr,renderIndex:jr,rowComponent:La,cellComponent:zt,scopeCellComponent:nr,getRowKey:Ut,indent:Kr})}):ja=le.createElement(Cn,{expanded:!0,className:"".concat(ht,"-placeholder"),prefixCls:ht,component:La,cellComponent:zt,colSpan:Qt.length,isEmpty:!0},En);var dr=Ft(Qt);return le.createElement(gt.Provider,{value:ra.current},le.createElement(ma,{className:"".concat(ht,"-tbody")},Ue&&le.createElement(dn,{prefixCls:ht,columnsKey:dr,onColumnResize:$t}),ja))}gn.displayName="Body";var Dn=te(gn),Jn=["expandable"],ha="RC_TABLE_INTERNAL_COL_DEFINE";function Ra(Ee){var Ce=Ee.expandable,Ue=(0,Nt.Z)(Ee,Jn),rt;return"expandable"in Ee?rt=(0,ze.Z)((0,ze.Z)({},Ue),Ce):rt=Ue,rt.showExpandColumn===!1&&(rt.expandIconColumnIndex=-1),rt}var _a=["columnType"];function gr(Ee){for(var Ce=Ee.colWidths,Ue=Ee.columns,rt=Ee.columCount,ht=[],pt=rt||Ue.length,$t=!1,Qt=pt-1;Qt>=0;Qt-=1){var Ut=Ce[Qt],xn=Ue&&Ue[Qt],Sn=xn&&xn[ha];if(Ut||Sn||$t){var En=Sn||{},ea=En.columnType,ra=(0,Nt.Z)(En,_a);ht.unshift(le.createElement("col",(0,je.Z)({key:Qt,style:{width:Ut}},ra))),$t=!0}}return le.createElement("colgroup",null,ht)}var ar=gr,pa=ee(62730),Br=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function qt(Ee,Ce){return(0,le.useMemo)(function(){for(var Ue=[],rt=0;rt<Ce;rt+=1){var ht=Ee[rt];if(ht!==void 0)Ue[rt]=ht;else return null}return Ue},[Ee.join("_"),Ce])}var An=le.forwardRef(function(Ee,Ce){var Ue=Ee.className,rt=Ee.noData,ht=Ee.columns,pt=Ee.flattenColumns,$t=Ee.colWidths,Qt=Ee.columCount,Ut=Ee.stickyOffsets,xn=Ee.direction,Sn=Ee.fixHeader,En=Ee.stickyTopOffset,ea=Ee.stickyBottomOffset,ra=Ee.stickyClassName,ma=Ee.onScroll,La=Ee.maxContentScroll,zt=Ee.children,nr=(0,Nt.Z)(Ee,Br),ja=Ke(ie,["prefixCls","scrollbarSize","isSticky"]),dr=ja.prefixCls,Zr=ja.scrollbarSize,Qr=ja.isSticky,Or=Qr&&!Sn?0:Zr,Kr=le.useRef(null),jr=le.useCallback(function(lo){(0,Je.mH)(Ce,lo),(0,Je.mH)(Kr,lo)},[]);le.useEffect(function(){var lo;function kr(vo){var wo=vo,Ta=wo.currentTarget,Do=wo.deltaX;Do&&(ma({currentTarget:Ta,scrollLeft:Ta.scrollLeft+Do}),vo.preventDefault())}return(lo=Kr.current)===null||lo===void 0||lo.addEventListener("wheel",kr),function(){var vo;(vo=Kr.current)===null||vo===void 0||vo.removeEventListener("wheel",kr)}},[]);var ur=le.useMemo(function(){return pt.every(function(lo){return lo.width})},[pt]),sr=pt[pt.length-1],yr={fixed:sr?sr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(dr,"-cell-scrollbar")}}},$a=(0,le.useMemo)(function(){return Or?[].concat((0,pa.Z)(ht),[yr]):ht},[Or,ht]),cr=(0,le.useMemo)(function(){return Or?[].concat((0,pa.Z)(pt),[yr]):pt},[Or,pt]),$r=(0,le.useMemo)(function(){var lo=Ut.right,kr=Ut.left;return(0,ze.Z)((0,ze.Z)({},Ut),{},{left:xn==="rtl"?[].concat((0,pa.Z)(kr.map(function(vo){return vo+Or})),[0]):kr,right:xn==="rtl"?lo:[].concat((0,pa.Z)(lo.map(function(vo){return vo+Or})),[0]),isSticky:Qr})},[Or,Ut,Qr]),yo=qt($t,Qt);return le.createElement("div",{style:(0,ze.Z)({overflow:"hidden"},Qr?{top:En,bottom:ea}:{}),ref:jr,className:We()(Ue,(0,he.Z)({},ra,!!ra))},le.createElement("table",{style:{tableLayout:"fixed",visibility:rt||yo?null:"hidden"}},(!rt||!La||ur)&&le.createElement(ar,{colWidths:yo?[].concat((0,pa.Z)(yo),[Or]):[],columCount:Qt+1,columns:cr}),zt((0,ze.Z)((0,ze.Z)({},nr),{},{stickyOffsets:$r,columns:$a,flattenColumns:cr}))))});An.displayName="FixedHolder";var oa=le.memo(An);function Da(Ee){var Ce=Ee.cells,Ue=Ee.stickyOffsets,rt=Ee.flattenColumns,ht=Ee.rowComponent,pt=Ee.cellComponent,$t=Ee.tdCellComponent,Qt=Ee.onHeaderRow,Ut=Ee.index,xn=Ke(ie,["prefixCls","direction"]),Sn=xn.prefixCls,En=xn.direction,ea;Qt&&(ea=Qt(Ce.map(function(ma){return ma.column}),Ut));var ra=Ft(Ce.map(function(ma){return ma.column}));return le.createElement(ht,ea,Ce.map(function(ma,La){var zt=ma.column,nr=He(ma.colStart,ma.colEnd,rt,Ue,En,zt),ja;return zt&&zt.onHeaderCell&&(ja=ma.column.onHeaderCell(zt)),le.createElement(wn,(0,je.Z)({},ma,{scope:zt.title?ma.colSpan>1?"colgroup":"col":null,ellipsis:zt.ellipsis,align:zt.align,component:zt.title?pt:$t,prefixCls:Sn,key:ra[La]},nr,{additionalProps:ja,rowType:"header"}))}))}Da.displayName="HeaderRow";var ut=Da;function bn(Ee){var Ce=[];function Ue($t,Qt){var Ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ce[Ut]=Ce[Ut]||[];var xn=Qt,Sn=$t.filter(Boolean).map(function(En){var ea={key:En.key,className:En.className||"",children:En.title,column:En,colStart:xn},ra=1,ma=En.children;return ma&&ma.length>0&&(ra=Ue(ma,xn,Ut+1).reduce(function(La,zt){return La+zt},0),ea.hasSubColumns=!0),"colSpan"in En&&(ra=En.colSpan),"rowSpan"in En&&(ea.rowSpan=En.rowSpan),ea.colSpan=ra,ea.colEnd=ea.colStart+ra-1,Ce[Ut].push(ea),xn+=ra,ra});return Sn}Ue(Ee,0);for(var rt=Ce.length,ht=function(Qt){Ce[Qt].forEach(function(Ut){!("rowSpan"in Ut)&&!Ut.hasSubColumns&&(Ut.rowSpan=rt-Qt)})},pt=0;pt<rt;pt+=1)ht(pt);return Ce}function Ln(Ee){var Ce=Ee.stickyOffsets,Ue=Ee.columns,rt=Ee.flattenColumns,ht=Ee.onHeaderRow,pt=Ke(ie,["prefixCls","getComponent"]),$t=pt.prefixCls,Qt=pt.getComponent,Ut=le.useMemo(function(){return bn(Ue)},[Ue]),xn=Qt(["header","wrapper"],"thead"),Sn=Qt(["header","row"],"tr"),En=Qt(["header","cell"],"th"),ea=Qt(["header","cell"],"td");return le.createElement(xn,{className:"".concat($t,"-thead")},Ut.map(function(ra,ma){var La=le.createElement(ut,{key:ma,flattenColumns:rt,cells:ra,stickyOffsets:Ce,rowComponent:Sn,cellComponent:En,tdCellComponent:ea,onHeaderRow:ht,index:ma});return La}))}var zn=te(Ln),pn=ee(11592);function ia(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 Sa(Ee,Ce){return le.useMemo(function(){if(Ce&&Ce>0){var Ue=0,rt=0;Ee.forEach(function(xn){var Sn=ia(Ce,xn.width);Sn?Ue+=Sn:rt+=1});var ht=Ce-Ue,pt=rt,$t=ht/rt,Qt=0,Ut=Ee.map(function(xn){var Sn=(0,ze.Z)({},xn),En=ia(Ce,Sn.width);if(En)Sn.width=En;else{var ea=Math.floor($t);Sn.width=pt===1?ht:ea,ht-=ea,pt-=1}return Qt+=Sn.width,Sn});return[Ut,Qt]}return[Ee,Ce]},[Ee,Ce])}var It=["children"],kt=["fixed"];function bt(Ee){return(0,pn.Z)(Ee).filter(function(Ce){return le.isValidElement(Ce)}).map(function(Ce){var Ue=Ce.key,rt=Ce.props,ht=rt.children,pt=(0,Nt.Z)(rt,It),$t=(0,ze.Z)({key:Ue},pt);return ht&&($t.children=bt(ht)),$t})}function Qn(Ee){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ee.filter(function(Ue){return Ue&&(0,Ae.Z)(Ue)==="object"}).reduce(function(Ue,rt,ht){var pt=rt.fixed,$t=pt===!0?"left":pt,Qt="".concat(Ce,"-").concat(ht),Ut=rt.children;return Ut&&Ut.length>0?[].concat((0,pa.Z)(Ue),(0,pa.Z)(Qn(Ut,Qt).map(function(xn){return(0,ze.Z)({fixed:$t},xn)}))):[].concat((0,pa.Z)(Ue),[(0,ze.Z)((0,ze.Z)({key:Qt},rt),{},{fixed:$t})])},[])}function Yn(Ee){for(var Ce=!0,Ue=0;Ue<Ee.length;Ue+=1){var rt=Ee[Ue];if(Ce&&rt.fixed!=="left")Ce=!1;else if(!Ce&&rt.fixed==="left"){warning(!1,"Index ".concat(Ue-1," of `columns` missing `fixed='left'` prop."));break}}for(var ht=!0,pt=Ee.length-1;pt>=0;pt-=1){var $t=Ee[pt];if(ht&&$t.fixed!=="right")ht=!1;else if(!ht&&$t.fixed==="right"){warning(!1,"Index ".concat(pt+1," of `columns` missing `fixed='right'` prop."));break}}}function Gn(Ee){return Ee.map(function(Ce){var Ue=Ce.fixed,rt=(0,Nt.Z)(Ce,kt),ht=Ue;return Ue==="left"?ht="right":Ue==="right"&&(ht="left"),(0,ze.Z)({fixed:ht},rt)})}function ir(Ee,Ce){var Ue=Ee.prefixCls,rt=Ee.columns,ht=Ee.children,pt=Ee.expandable,$t=Ee.expandedKeys,Qt=Ee.columnTitle,Ut=Ee.getRowKey,xn=Ee.onTriggerExpand,Sn=Ee.expandIcon,En=Ee.rowExpandable,ea=Ee.expandIconColumnIndex,ra=Ee.direction,ma=Ee.expandRowByClick,La=Ee.columnWidth,zt=Ee.fixed,nr=Ee.scrollWidth,ja=le.useMemo(function(){return rt||bt(ht)},[rt,ht]),dr=le.useMemo(function(){if(pt){var sr,yr=ja.slice();if(!yr.includes(b)){var $a=ea||0;$a>=0&&yr.splice($a,0,b)}var cr=yr.indexOf(b);yr=yr.filter(function(kr,vo){return kr!==b||vo===cr});var $r=ja[cr],yo;(zt==="left"||zt)&&!ea?yo="left":(zt==="right"||zt)&&ea===ja.length?yo="right":yo=$r?$r.fixed:null;var lo=(sr={},(0,he.Z)(sr,ha,{className:"".concat(Ue,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,he.Z)(sr,"title",Qt),(0,he.Z)(sr,"fixed",yo),(0,he.Z)(sr,"className","".concat(Ue,"-row-expand-icon-cell")),(0,he.Z)(sr,"width",La),(0,he.Z)(sr,"render",function(vo,wo,Ta){var Do=Ut(wo,Ta),yi=$t.has(Do),Ao=En?En(wo):!0,qr=Sn({prefixCls:Ue,expanded:yi,expandable:Ao,record:wo,onExpand:xn});return ma?le.createElement("span",{onClick:function(Yr){return Yr.stopPropagation()}},qr):qr}),sr);return yr.map(function(kr){return kr===b?lo:kr})}return ja.filter(function(kr){return kr!==b})},[pt,ja,Ut,$t,Sn,ra]),Zr=le.useMemo(function(){var sr=dr;return Ce&&(sr=Ce(sr)),sr.length||(sr=[{render:function(){return null}}]),sr},[Ce,dr,ra]),Qr=le.useMemo(function(){return ra==="rtl"?Gn(Qn(Zr)):Qn(Zr)},[Zr,ra,nr]),Or=Sa(Qr,nr),Kr=(0,Be.Z)(Or,2),jr=Kr[0],ur=Kr[1];return[Zr,jr,ur]}var Ba=ir;function Xn(Ee){var Ce,Ue=Ee.prefixCls,rt=Ee.record,ht=Ee.onExpand,pt=Ee.expanded,$t=Ee.expandable,Qt="".concat(Ue,"-row-expand-icon");if(!$t)return le.createElement("span",{className:We()(Qt,"".concat(Ue,"-row-spaced"))});var Ut=function(Sn){ht(rt,Sn),Sn.stopPropagation()};return le.createElement("span",{className:We()(Qt,(Ce={},(0,he.Z)(Ce,"".concat(Ue,"-row-expanded"),pt),(0,he.Z)(Ce,"".concat(Ue,"-row-collapsed"),!pt),Ce)),onClick:Ut})}function Ua(Ee,Ce,Ue){var rt=[];function ht(pt){(pt||[]).forEach(function($t,Qt){rt.push(Ce($t,Qt)),ht($t[Ue])})}return ht(Ee),rt}function wa(Ee,Ce,Ue){var rt=Ra(Ee),ht=rt.expandIcon,pt=rt.expandedRowKeys,$t=rt.defaultExpandedRowKeys,Qt=rt.defaultExpandAllRows,Ut=rt.expandedRowRender,xn=rt.onExpand,Sn=rt.onExpandedRowsChange,En=rt.childrenColumnName,ea=ht||Xn,ra=En||"children",ma=le.useMemo(function(){return Ut?"row":Ee.expandable&&Ee.internalHooks===de&&Ee.expandable.__PARENT_RENDER_ICON__||Ce.some(function(Qr){return Qr&&(0,Ae.Z)(Qr)==="object"&&Qr[ra]})?"nest":!1},[!!Ut,Ce]),La=le.useState(function(){return $t||(Qt?Ua(Ce,Ue,ra):[])}),zt=(0,Be.Z)(La,2),nr=zt[0],ja=zt[1],dr=le.useMemo(function(){return new Set(pt||nr||[])},[pt,nr]),Zr=le.useCallback(function(Qr){var Or=Ue(Qr,Ce.indexOf(Qr)),Kr,jr=dr.has(Or);jr?(dr.delete(Or),Kr=(0,pa.Z)(dr)):Kr=[].concat((0,pa.Z)(dr),[Or]),ja(Kr),xn&&xn(!jr,Qr),Sn&&Sn(Kr)},[Ue,dr,Ce,xn,Sn]);return[rt,ma,dr,ea,ra,Zr]}function Nn(Ee,Ce,Ue,rt){var ht=Ee.map(function(pt,$t){return He($t,$t,Ee,Ce,Ue,rt==null?void 0:rt[$t])});return(0,ft.Z)(function(){return ht},[ht],function(pt,$t){return!(0,ke.Z)(pt,$t)})}function mr(Ee){var Ce=(0,le.useRef)(Ee),Ue=(0,le.useState)({}),rt=(0,Be.Z)(Ue,2),ht=rt[1],pt=(0,le.useRef)(null),$t=(0,le.useRef)([]);function Qt(Ut){$t.current.push(Ut);var xn=Promise.resolve();pt.current=xn,xn.then(function(){if(pt.current===xn){var Sn=$t.current,En=Ce.current;$t.current=[],Sn.forEach(function(ea){Ce.current=ea(Ce.current)}),pt.current=null,En!==Ce.current&&ht({})}})}return(0,le.useEffect)(function(){return function(){pt.current=null}},[]),[Ce.current,Qt]}function Nr(Ee){var Ce=(0,le.useRef)(Ee||null),Ue=(0,le.useRef)();function rt(){window.clearTimeout(Ue.current)}function ht($t){Ce.current=$t,rt(),Ue.current=window.setTimeout(function(){Ce.current=null,Ue.current=void 0},100)}function pt(){return Ce.current}return(0,le.useEffect)(function(){return rt},[]),[ht,pt]}function Vr(){var Ee=le.useState(-1),Ce=(0,Be.Z)(Ee,2),Ue=Ce[0],rt=Ce[1],ht=le.useState(-1),pt=(0,Be.Z)(ht,2),$t=pt[0],Qt=pt[1],Ut=le.useCallback(function(xn,Sn){rt(xn),Qt(Sn)},[]);return[Ue,$t,Ut]}var xr=ee(47273),$e=(0,xr.Z)()?window:null;function Pn(Ee,Ce){var Ue=(0,Ae.Z)(Ee)==="object"?Ee:{},rt=Ue.offsetHeader,ht=rt===void 0?0:rt,pt=Ue.offsetSummary,$t=pt===void 0?0:pt,Qt=Ue.offsetScroll,Ut=Qt===void 0?0:Qt,xn=Ue.getContainer,Sn=xn===void 0?function(){return $e}:xn,En=Sn()||$e;return le.useMemo(function(){var ea=!!Ee;return{isSticky:ea,stickyClassName:ea?"".concat(Ce,"-sticky-holder"):"",offsetHeader:ht,offsetSummary:$t,offsetScroll:Ut,container:En}},[Ut,ht,$t,Ce,En])}function Jt(Ee,Ce,Ue){var rt=(0,le.useMemo)(function(){for(var ht=[],pt=[],$t=0,Qt=0,Ut=0;Ut<Ce;Ut+=1)if(Ue==="rtl"){pt[Ut]=Qt,Qt+=Ee[Ut]||0;var xn=Ce-Ut-1;ht[xn]=$t,$t+=Ee[xn]||0}else{ht[Ut]=$t,$t+=Ee[Ut]||0;var Sn=Ce-Ut-1;pt[Sn]=Qt,Qt+=Ee[Sn]||0}return{left:ht,right:pt}},[Ee,Ce,Ue]);return rt}var In=Jt;function Wn(Ee){var Ce=Ee.className,Ue=Ee.children;return le.createElement("div",{className:Ce},Ue)}var la=Wn,Ct=ee(8224),xt=ee(55468),an=function(Ce,Ue){var rt,ht,pt=Ce.scrollBodyRef,$t=Ce.onScroll,Qt=Ce.offsetScroll,Ut=Ce.container,xn=Ke(ie,"prefixCls"),Sn=((rt=pt.current)===null||rt===void 0?void 0:rt.scrollWidth)||0,En=((ht=pt.current)===null||ht===void 0?void 0:ht.clientWidth)||0,ea=Sn&&En*(En/Sn),ra=le.useRef(),ma=mr({scrollLeft:0,isHiddenScrollBar:!1}),La=(0,Be.Z)(ma,2),zt=La[0],nr=La[1],ja=le.useRef({delta:0,x:0}),dr=le.useState(!1),Zr=(0,Be.Z)(dr,2),Qr=Zr[0],Or=Zr[1],Kr=function(){Or(!1)},jr=function(cr){cr.persist(),ja.current.delta=cr.pageX-zt.scrollLeft,ja.current.x=0,Or(!0),cr.preventDefault()},ur=function(cr){var $r,yo=cr||(($r=window)===null||$r===void 0?void 0:$r.event),lo=yo.buttons;if(!Qr||lo===0){Qr&&Or(!1);return}var kr=ja.current.x+cr.pageX-ja.current.x-ja.current.delta;kr<=0&&(kr=0),kr+ea>=En&&(kr=En-ea),$t({scrollLeft:kr/En*(Sn+2)}),ja.current.x=cr.pageX},sr=function(){if(pt.current){var cr=(0,xt.os)(pt.current).top,$r=cr+pt.current.offsetHeight,yo=Ut===window?document.documentElement.scrollTop+window.innerHeight:(0,xt.os)(Ut).top+Ut.clientHeight;$r-(0,St.Z)()<=yo||cr>=yo-Qt?nr(function(lo){return(0,ze.Z)((0,ze.Z)({},lo),{},{isHiddenScrollBar:!0})}):nr(function(lo){return(0,ze.Z)((0,ze.Z)({},lo),{},{isHiddenScrollBar:!1})})}},yr=function(cr){nr(function($r){return(0,ze.Z)((0,ze.Z)({},$r),{},{scrollLeft:cr/Sn*En||0})})};return le.useImperativeHandle(Ue,function(){return{setScrollLeft:yr}}),le.useEffect(function(){var $a=(0,Ct.Z)(document.body,"mouseup",Kr,!1),cr=(0,Ct.Z)(document.body,"mousemove",ur,!1);return sr(),function(){$a.remove(),cr.remove()}},[ea,Qr]),le.useEffect(function(){var $a=(0,Ct.Z)(Ut,"scroll",sr,!1),cr=(0,Ct.Z)(window,"resize",sr,!1);return function(){$a.remove(),cr.remove()}},[Ut]),le.useEffect(function(){zt.isHiddenScrollBar||nr(function($a){var cr=pt.current;return cr?(0,ze.Z)((0,ze.Z)({},$a),{},{scrollLeft:cr.scrollLeft/cr.scrollWidth*cr.clientWidth}):$a})},[zt.isHiddenScrollBar]),Sn<=En||!ea||zt.isHiddenScrollBar?null:le.createElement("div",{style:{height:(0,St.Z)(),width:En,bottom:Qt},className:"".concat(xn,"-sticky-scroll")},le.createElement("div",{onMouseDown:jr,ref:ra,className:We()("".concat(xn,"-sticky-scroll-bar"),(0,he.Z)({},"".concat(xn,"-sticky-scroll-bar-active"),Qr)),style:{width:"".concat(ea,"px"),transform:"translate3d(".concat(zt.scrollLeft,"px, 0, 0)")}}))},tn=le.forwardRef(an);function Kt(Ee){return null}var xa=Kt;function Ea(Ee){return null}var Qa=Ea,za="rc-table",$n=[],na={};function ba(){return"No Data"}function Pa(Ee){var Ce,Ue=(0,ze.Z)({rowKey:"key",prefixCls:za,emptyText:ba},Ee),rt=Ue.prefixCls,ht=Ue.className,pt=Ue.rowClassName,$t=Ue.style,Qt=Ue.data,Ut=Ue.rowKey,xn=Ue.scroll,Sn=Ue.tableLayout,En=Ue.direction,ea=Ue.title,ra=Ue.footer,ma=Ue.summary,La=Ue.caption,zt=Ue.id,nr=Ue.showHeader,ja=Ue.components,dr=Ue.emptyText,Zr=Ue.onRow,Qr=Ue.onHeaderRow,Or=Ue.internalHooks,Kr=Ue.transformColumns,jr=Ue.internalRefs,ur=Ue.tailor,sr=Ue.sticky,yr=Qt||$n,$a=!!yr.length,cr=Or===de,$r=le.useCallback(function(ti,Hi){return(0,Le.Z)(ja,ti)||Hi},[ja]),yo=le.useMemo(function(){return typeof Ut=="function"?Ut:function(ti){var Hi=ti&&ti[Ut];return Hi}},[Ut]),lo=$r(["body"]),kr=Vr(),vo=(0,Be.Z)(kr,3),wo=vo[0],Ta=vo[1],Do=vo[2],yi=wa(Ue,yr,yo),Ao=(0,Be.Z)(yi,6),qr=Ao[0],bi=Ao[1],Yr=Ao[2],gi=Ao[3],Zo=Ao[4],_i=Ao[5],no=xn==null?void 0:xn.x,zr=le.useState(0),Jr=(0,Be.Z)(zr,2),Hr=Jr[0],ce=Jr[1],pe=Ba((0,ze.Z)((0,ze.Z)((0,ze.Z)({},Ue),qr),{},{expandable:!!qr.expandedRowRender,columnTitle:qr.columnTitle,expandedKeys:Yr,getRowKey:yo,onTriggerExpand:_i,expandIcon:gi,expandIconColumnIndex:qr.expandIconColumnIndex,direction:En,scrollWidth:cr&&ur&&typeof no=="number"?no:null}),cr?Kr:null),Pe=(0,Be.Z)(pe,3),Ot=Pe[0],en=Pe[1],Oa=Pe[2],va=Oa!=null?Oa:no,_n=le.useMemo(function(){return{columns:Ot,flattenColumns:en}},[Ot,en]),Ht=le.useRef(),Un=le.useRef(),Fn=le.useRef(),Pt=le.useRef(),mn=le.useRef(),On=le.useState(!1),sa=(0,Be.Z)(On,2),Zn=sa[0],Fa=sa[1],aa=le.useState(!1),da=(0,Be.Z)(aa,2),Ja=da[0],yn=da[1],Ca=mr(new Map),Ka=(0,Be.Z)(Ca,2),eo=Ka[0],Sr=Ka[1],ui=Ft(en),Ga=ui.map(function(ti){return eo.get(ti)}),xo=le.useMemo(function(){return Ga},[Ga.join("_")]),Dr=In(xo,en.length,En),ao=xn&&on(xn.y),Eo=xn&&on(va)||!!qr.fixed,hi=Eo&&en.some(function(ti){var Hi=ti.fixed;return Hi}),mi=le.useRef(),Cr=Pn(sr,rt),po=Cr.isSticky,Ki=Cr.offsetHeader,Li=Cr.offsetSummary,ta=Cr.offsetScroll,Fo=Cr.stickyClassName,Ri=Cr.container,zo=le.useMemo(function(){return ma==null?void 0:ma(yr)},[ma,yr]),Ci=(ao||po)&&le.isValidElement(zo)&&zo.type===fe&&zo.props.fixed,Mi,ii,il;ao&&(ii={overflowY:"scroll",maxHeight:xn.y}),Eo&&(Mi={overflowX:"auto"},ao||(ii={overflowY:"hidden"}),il={width:va===!0?"auto":va,minWidth:"100%"});var ll=le.useCallback(function(ti,Hi){(0,et.Z)(Ht.current)&&Sr(function(Dl){if(Dl.get(ti)!==Hi){var Sl=new Map(Dl);return Sl.set(ti,Hi),Sl}return Dl})},[]),jl=Nr(null),Ii=(0,Be.Z)(jl,2),cl=Ii[0],Bl=Ii[1];function Gl(ti,Hi){Hi&&(typeof Hi=="function"?Hi(ti):Hi.scrollLeft!==ti&&(Hi.scrollLeft=ti,Hi.scrollLeft!==ti&&setTimeout(function(){Hi.scrollLeft=ti},0)))}var Io=(0,Ne.Z)(function(ti){var Hi=ti.currentTarget,Dl=ti.scrollLeft,Sl=En==="rtl",Vl=typeof Dl=="number"?Dl:Hi.scrollLeft,kl=Hi||na;if(!Bl()||Bl()===kl){var Ku;cl(kl),Gl(Vl,Un.current),Gl(Vl,Fn.current),Gl(Vl,mn.current),Gl(Vl,(Ku=mi.current)===null||Ku===void 0?void 0:Ku.setScrollLeft)}var Vu=Hi||Un.current;if(Vu){var $u=Vu.scrollWidth,hu=Vu.clientWidth;if($u===hu){Fa(!1),yn(!1);return}Sl?(Fa(-Vl<$u-hu),yn(-Vl>0)):(Fa(Vl>0),yn(Vl<$u-hu))}}),Si=function(){Eo&&Fn.current?Io({currentTarget:Fn.current}):(Fa(!1),yn(!1))},$i=function(Hi){var Dl=Hi.width;Dl!==Hr&&(Si(),ce(Ht.current?Ht.current.offsetWidth:Dl))},Zi=le.useRef(!1);le.useEffect(function(){Zi.current&&Si()},[Eo,Qt,Ot.length]),le.useEffect(function(){Zi.current=!0},[]);var hl=le.useState(0),ul=(0,Be.Z)(hl,2),sl=ul[0],wl=ul[1],Rl=le.useState(!0),ml=(0,Be.Z)(Rl,2),qi=ml[0],Wl=ml[1];le.useEffect(function(){(!ur||!cr)&&(Fn.current instanceof Element?wl((0,St.o)(Fn.current).width):wl((0,St.o)(Pt.current).width)),Wl((0,Me.G)("position","sticky"))},[]),le.useEffect(function(){cr&&jr&&(jr.body.current=Fn.current)});var Xo=le.useCallback(function(ti){return le.createElement(le.Fragment,null,le.createElement(zn,ti),Ci==="top"&&le.createElement(Rt,ti,zo))},[Ci,zo]),vu=le.useCallback(function(ti){return le.createElement(Rt,ti,zo)},[zo]),pu=$r(["table"],"table"),Kl=le.useMemo(function(){return Sn||(hi?va==="max-content"?"auto":"fixed":ao||po||en.some(function(ti){var Hi=ti.ellipsis;return Hi})?"fixed":"auto")},[ao,hi,en,Sn,po]),gu,ca={colWidths:xo,columCount:en.length,stickyOffsets:Dr,onHeaderRow:Qr,fixHeader:ao,scroll:xn},or=le.useMemo(function(){return $a?null:typeof dr=="function"?dr():dr},[$a,dr]),jo=le.createElement(Dn,{data:yr,measureColumnWidth:ao||Eo||po}),uo=le.createElement(ar,{colWidths:en.map(function(ti){var Hi=ti.width;return Hi}),columns:en}),Bo=La!=null?le.createElement("caption",{className:"".concat(rt,"-caption")},La):void 0,qo=(0,Bn.Z)(Ue,{data:!0}),Vi=(0,Bn.Z)(Ue,{aria:!0});if(ao||po){var Di;typeof lo=="function"?(Di=lo(yr,{scrollbarSize:sl,ref:Fn,onScroll:Io}),ca.colWidths=en.map(function(ti,Hi){var Dl=ti.width,Sl=Hi===en.length-1?Dl-sl:Dl;return typeof Sl=="number"&&!Number.isNaN(Sl)?Sl:0})):Di=le.createElement("div",{style:(0,ze.Z)((0,ze.Z)({},Mi),ii),onScroll:Io,ref:Fn,className:We()("".concat(rt,"-body"))},le.createElement(pu,(0,je.Z)({style:(0,ze.Z)((0,ze.Z)({},il),{},{tableLayout:Kl})},Vi),Bo,uo,jo,!Ci&&zo&&le.createElement(Rt,{stickyOffsets:Dr,flattenColumns:en,columns:Ot},zo)));var fl=(0,ze.Z)((0,ze.Z)((0,ze.Z)({noData:!yr.length,maxContentScroll:Eo&&va==="max-content"},ca),_n),{},{direction:En,stickyClassName:Fo,onScroll:Io});gu=le.createElement(le.Fragment,null,nr!==!1&&le.createElement(oa,(0,je.Z)({},fl,{stickyTopOffset:Ki,className:"".concat(rt,"-header"),ref:Un}),Xo),Di,Ci&&Ci!=="top"&&le.createElement(oa,(0,je.Z)({},fl,{stickyBottomOffset:Li,className:"".concat(rt,"-summary"),ref:mn}),vu),po&&le.createElement(tn,{ref:mi,offsetScroll:ta,scrollBodyRef:Fn,onScroll:Io,container:Ri}))}else gu=le.createElement("div",{style:(0,ze.Z)((0,ze.Z)({},Mi),ii),className:We()("".concat(rt,"-content")),onScroll:Io,ref:Fn},le.createElement(pu,(0,je.Z)({style:(0,ze.Z)((0,ze.Z)({},il),{},{tableLayout:Kl})},Vi),Bo,uo,nr!==!1&&le.createElement(zn,(0,je.Z)({},ca,_n)),jo,zo&&le.createElement(Rt,{stickyOffsets:Dr,flattenColumns:en,columns:Ot},zo)));var el=le.createElement("div",(0,je.Z)({className:We()(rt,ht,(Ce={},(0,he.Z)(Ce,"".concat(rt,"-rtl"),En==="rtl"),(0,he.Z)(Ce,"".concat(rt,"-ping-left"),Zn),(0,he.Z)(Ce,"".concat(rt,"-ping-right"),Ja),(0,he.Z)(Ce,"".concat(rt,"-layout-fixed"),Sn==="fixed"),(0,he.Z)(Ce,"".concat(rt,"-fixed-header"),ao),(0,he.Z)(Ce,"".concat(rt,"-fixed-column"),hi),(0,he.Z)(Ce,"".concat(rt,"-scroll-horizontal"),Eo),(0,he.Z)(Ce,"".concat(rt,"-has-fix-left"),en[0]&&en[0].fixed),(0,he.Z)(Ce,"".concat(rt,"-has-fix-right"),en[en.length-1]&&en[en.length-1].fixed==="right"),Ce)),style:$t,id:zt,ref:Ht},qo),ea&&le.createElement(la,{className:"".concat(rt,"-title")},ea(yr)),le.createElement("div",{ref:Pt,className:"".concat(rt,"-container")},gu),ra&&le.createElement(la,{className:"".concat(rt,"-footer")},ra(yr)));Eo&&(el=le.createElement(vt.Z,{onResize:$i},el));var Ml=Nn(en,Dr,En,Ot),ou=le.useMemo(function(){return{scrollX:va,prefixCls:rt,getComponent:$r,scrollbarSize:sl,direction:En,fixedInfoList:Ml,isSticky:po,supportSticky:qi,componentWidth:Hr,fixHeader:ao,fixColumn:hi,horizonScroll:Eo,tableLayout:Kl,rowClassName:pt,expandedRowClassName:qr.expandedRowClassName,expandIcon:gi,expandableType:bi,expandRowByClick:qr.expandRowByClick,expandedRowRender:qr.expandedRowRender,onTriggerExpand:_i,expandIconColumnIndex:qr.expandIconColumnIndex,indentSize:qr.indentSize,allColumnsFixedLeft:en.every(function(ti){return ti.fixed==="left"}),emptyNode:or,columns:Ot,flattenColumns:en,onColumnResize:ll,hoverStartRow:wo,hoverEndRow:Ta,onHover:Do,rowExpandable:qr.rowExpandable,onRow:Zr,getRowKey:yo,expandedKeys:Yr,childrenColumnName:Zo}},[va,rt,$r,sl,En,Ml,po,qi,Hr,ao,hi,Eo,Kl,pt,qr.expandedRowClassName,gi,bi,qr.expandRowByClick,qr.expandedRowRender,_i,qr.expandIconColumnIndex,qr.indentSize,or,Ot,en,ll,wo,Ta,Do,qr.rowExpandable,Zr,yo,Yr,Zo]);return le.createElement(ie.Provider,{value:ou},el)}function vr(Ee){return z(Pa,Ee)}var Tr=vr();Tr.EXPAND_COLUMN=b,Tr.INTERNAL_HOOKS=de,Tr.Column=xa,Tr.ColumnGroup=Qa,Tr.Summary=Oe;var Ya=Tr,lr=ee(65283),hr=qe(null),Po=qe(null);function ri(Ee,Ce,Ue){var rt=Ce||1;return Ue[Ee+rt]-(Ue[Ee]||0)}function xi(Ee){var Ce=Ee.rowInfo,Ue=Ee.column,rt=Ee.colIndex,ht=Ee.indent,pt=Ee.index,$t=Ee.renderIndex,Qt=Ee.record,Ut=Ee.style,xn=Ee.className,Sn=Ee.inverse,En=Ee.getHeight,ea=Ue.render,ra=Ue.dataIndex,ma=Ue.className,La=Ue.width,zt=Ke(Po,["columnsOffset"]),nr=zt.columnsOffset,ja=yt(Ce,Ue,rt,ht,pt),dr=ja.key,Zr=ja.fixedInfo,Qr=ja.appendCellNode,Or=ja.additionalCellProps,Kr=Or.style,jr=Or.colSpan,ur=jr===void 0?1:jr,sr=Or.rowSpan,yr=sr===void 0?1:sr,$a=rt-1,cr=ri($a,ur,nr),$r=ur>1?La-cr:0,yo=(0,ze.Z)((0,ze.Z)((0,ze.Z)({},Kr),Ut),{},{flex:"0 0 ".concat(cr,"px"),width:"".concat(cr,"px"),marginRight:$r,pointerEvents:"auto"}),lo=le.useMemo(function(){return Sn?yr<=1:ur===0||yr===0||yr>1},[yr,ur,Sn]);lo?yo.visibility="hidden":Sn&&(yo.height=En==null?void 0:En(yr));var kr=lo?function(){return null}:ea,vo={};return(yr===0||ur===0)&&(vo.rowSpan=1,vo.colSpan=1),le.createElement(wn,(0,je.Z)({className:We()(ma,xn),ellipsis:Ue.ellipsis,align:Ue.align,scope:Ue.rowScope,component:"div",prefixCls:Ce.prefixCls,key:dr,record:Qt,index:pt,renderIndex:$t,dataIndex:ra,render:kr,shouldCellUpdate:Ue.shouldCellUpdate},Zr,{appendNode:Qr,additionalProps:(0,ze.Z)((0,ze.Z)({},Or),{},{style:yo},vo)}))}var ho=xi,bo=["data","index","className","rowKey","style","extra","getHeight"],Wo=le.forwardRef(function(Ee,Ce){var Ue=Ee.data,rt=Ee.index,ht=Ee.className,pt=Ee.rowKey,$t=Ee.style,Qt=Ee.extra,Ut=Ee.getHeight,xn=(0,Nt.Z)(Ee,bo),Sn=Ue.record,En=Ue.indent,ea=Ue.index,ra=Ke(ie,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ma=ra.scrollX,La=ra.flattenColumns,zt=ra.prefixCls,nr=ra.fixColumn,ja=ra.componentWidth,dr=Ze(Sn,pt,rt,En),Zr=dr.rowSupportExpand,Qr=dr.expanded,Or=dr.rowProps,Kr=dr.expandedRowRender,jr=dr.expandedRowClassName,ur;if(Zr&&Qr){var sr=Kr(Sn,rt,En+1,Qr),yr=jr==null?void 0:jr(Sn,rt,En),$a={};nr&&($a={style:(0,he.Z)({},"--virtual-width","".concat(ja,"px"))});var cr="".concat(zt,"-expanded-row-cell");ur=le.createElement("div",{className:We()("".concat(zt,"-expanded-row"),"".concat(zt,"-expanded-row-level-").concat(En+1),yr)},le.createElement(wn,{component:"div",prefixCls:zt,className:We()(cr,(0,he.Z)({},"".concat(cr,"-fixed"),nr)),additionalProps:$a},sr))}var $r=(0,ze.Z)((0,ze.Z)({},$t),{},{width:ma});Qt&&($r.position="absolute",$r.pointerEvents="none");var yo=le.createElement("div",(0,je.Z)({},Or,xn,{ref:Zr?null:Ce,className:We()(ht,"".concat(zt,"-row"),Or==null?void 0:Or.className,(0,he.Z)({},"".concat(zt,"-row-extra"),Qt)),style:(0,ze.Z)((0,ze.Z)({},$r),Or==null?void 0:Or.style)}),La.map(function(lo,kr){return le.createElement(ho,{key:kr,rowInfo:dr,column:lo,colIndex:kr,indent:En,index:rt,renderIndex:ea,record:Sn,inverse:Qt,getHeight:Ut})}));return Zr?le.createElement("div",{ref:Ce},yo,ur):yo}),ko=te(Wo),No=ko,Er=le.forwardRef(function(Ee,Ce){var Ue=Ee.data,rt=Ee.onScroll,ht=Ke(ie,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),pt=ht.flattenColumns,$t=ht.onColumnResize,Qt=ht.getRowKey,Ut=ht.expandedKeys,xn=ht.prefixCls,Sn=ht.childrenColumnName,En=ht.emptyNode,ea=ht.scrollX,ra=Ke(hr),ma=ra.scrollY,La=ra.listItemHeight,zt=le.useRef(),nr=fn(Ue,Sn,Ut,Qt),ja=le.useMemo(function(){var ur=0;return pt.map(function(sr){var yr=sr.width,$a=sr.key;return ur+=yr,[$a,yr,ur]})},[pt]),dr=le.useMemo(function(){return ja.map(function(ur){return ur[2]})},[ja]);le.useEffect(function(){ja.forEach(function(ur){var sr=(0,Be.Z)(ur,2),yr=sr[0],$a=sr[1];$t(yr,$a)})},[ja]),le.useImperativeHandle(Ce,function(){var ur={};return Object.defineProperty(ur,"scrollLeft",{get:function(){var yr;return((yr=zt.current)===null||yr===void 0?void 0:yr.getScrollInfo().x)||0},set:function(yr){var $a;($a=zt.current)===null||$a===void 0||$a.scrollTo({left:yr})}}),ur});var Zr=function(sr,yr){var $a,cr=($a=nr[yr])===null||$a===void 0?void 0:$a.record,$r=sr.onCell;if($r){var yo,lo=$r(cr,yr);return(yo=lo==null?void 0:lo.rowSpan)!==null&&yo!==void 0?yo:1}return 1},Qr=function(sr){var yr=sr.start,$a=sr.end,cr=sr.getSize,$r=sr.offsetY;if($a<0)return null;for(var yo=pt.filter(function(no){return Zr(no,yr)===0}),lo=yr,kr=function(zr){if(yo=yo.filter(function(Jr){return Zr(Jr,zr)===0}),!yo.length)return lo=zr,"break"},vo=yr;vo>=0;vo-=1){var wo=kr(vo);if(wo==="break")break}for(var Ta=pt.filter(function(no){return Zr(no,$a)!==1}),Do=$a,yi=function(zr){if(Ta=Ta.filter(function(Jr){return Zr(Jr,zr)!==1}),!Ta.length)return Do=Math.max(zr-1,$a),"break"},Ao=$a;Ao<nr.length;Ao+=1){var qr=yi(Ao);if(qr==="break")break}for(var bi=[],Yr=function(zr){var Jr=nr[zr];if(!Jr)return"continue";pt.some(function(Hr){return Zr(Hr,zr)>1})&&bi.push(zr)},gi=lo;gi<=Do;gi+=1)var Zo=Yr(gi);var _i=bi.map(function(no){var zr=nr[no],Jr=Qt(zr.record,no),Hr=function(Pe){var Ot=no+Pe-1,en=Qt(nr[Ot].record,Ot),Oa=cr(Jr,en);return Oa.bottom-Oa.top},ce=cr(Jr);return le.createElement(No,{key:no,data:zr,rowKey:Jr,index:no,style:{top:-$r+ce.top},extra:!0,getHeight:Hr})});return _i},Or=le.useMemo(function(){return{columnsOffset:dr}},[dr]),Kr="".concat(xn,"-tbody"),jr;return nr.length?jr=le.createElement(lr.Z,{fullHeight:!1,ref:zt,className:We()(Kr,"".concat(Kr,"-virtual")),height:ma,itemHeight:La||24,data:nr,itemKey:function(sr){return Qt(sr.record)},scrollWidth:ea,onVirtualScroll:function(sr){var yr=sr.x;rt({scrollLeft:yr})},extraRender:Qr},function(ur,sr,yr){var $a=Qt(ur.record,sr);return le.createElement(No,(0,je.Z)({data:ur,rowKey:$a,index:sr},yr))}):jr=le.createElement("div",{className:We()("".concat(xn,"-placeholder"))},le.createElement(wn,{component:"div",prefixCls:xn},En)),le.createElement(Po.Provider,{value:Or},jr)}),to=te(Er),Yo=to,Jo=function(Ce,Ue){var rt=Ue.ref,ht=Ue.onScroll;return le.createElement(Yo,{ref:rt,data:Ce,onScroll:ht})},Lo=100;function wr(Ee){var Ce=Ee.columns,Ue=Ee.scroll,rt=Ee.prefixCls,ht=rt===void 0?za:rt,pt=Ee.className,$t=Ee.listItemHeight,Qt=Ue||{},Ut=Qt.x,xn=Qt.y;typeof Ut!="number"&&(Ut=((Ce||[]).length+1)*Lo),typeof xn!="number"&&(xn=500);var Sn=le.useMemo(function(){return{scrollY:xn,listItemHeight:$t}},[xn,$t]);return le.createElement(hr.Provider,{value:Sn},le.createElement(Ya,(0,je.Z)({},Ee,{className:We()(pt,"".concat(ht,"-virtual")),scroll:(0,ze.Z)((0,ze.Z)({},Ue),{},{x:Ut}),components:{body:Jo},columns:Ce,internalHooks:de,tailor:!0})))}function oi(Ee){return z(wr,Ee)}var Gr=oi(),To=null;function mo(Ee){return null}var di=mo;function vi(Ee){return null}var Ui=vi,tl=ee(2738),nl=ee(68031),$o=ee(36355),Fi=ee(93891),Wi=ee(19716),dl=ee(8628),gl=ee(31724),Pl=ee(58421),_r=ee(71418),qa=ee(88088);function Va(Ee){return function(Ue){let{prefixCls:rt,onExpand:ht,record:pt,expanded:$t,expandable:Qt}=Ue;const Ut=`${rt}-row-expand-icon`;return le.createElement("button",{type:"button",onClick:xn=>{ht(pt,xn),xn.stopPropagation()},className:We()(Ut,{[`${Ut}-spaced`]:!Qt,[`${Ut}-expanded`]:Qt&&$t,[`${Ut}-collapsed`]:Qt&&!$t}),"aria-label":$t?Ee.collapse:Ee.expand,"aria-expanded":$t})}}var er=Va;function so(Ee,Ce){return"key"in Ee&&Ee.key!==void 0&&Ee.key!==null?Ee.key:Ee.dataIndex?Array.isArray(Ee.dataIndex)?Ee.dataIndex.join("."):Ee.dataIndex:Ce}function we(Ee,Ce){return Ce?`${Ce}-${Ee}`:`${Ee}`}function hn(Ee,Ce){return typeof Ee=="function"?Ee(Ce):Ee}function Rn(Ee,Ce){const Ue=hn(Ee,Ce);return Object.prototype.toString.call(Ue)==="[object Object]"?"":Ue}var ya={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"},un=ya,Za=ee(7657),Na=function(Ce,Ue){return le.createElement(Za.Z,(0,je.Z)({},Ce,{ref:Ue,icon:un}))},Hn=le.forwardRef(Na),qn=Hn,pr=ee(56762);function Wa(Ee){const Ce=le.useRef(Ee),Ue=(0,pr.Z)();return[()=>Ce.current,rt=>{Ce.current=rt,Ue()}]}var Ha=ee(3113),tr=ee(24905),Mr=ee(38854),Co=ee(64165),Uo=ee(20834),Ko=ee(40875),Ti=ee(5112),Ji=ee(17574),al=ee(47472),Zl=ee(92832);function Al(Ee){let{value:Ce,onChange:Ue,filterSearch:rt,tablePrefixCls:ht,locale:pt}=Ee;return rt?le.createElement("div",{className:`${ht}-filter-dropdown-search`},le.createElement(Zl.default,{prefix:le.createElement(al.Z,null),placeholder:pt.filterSearchPlaceholder,onChange:Ue,value:Ce,htmlSize:1,className:`${ht}-filter-dropdown-search-input`})):null}var So=Al,yl=ee(10228);const eu=Ee=>{const{keyCode:Ce}=Ee;Ce===yl.Z.ENTER&&Ee.stopPropagation()};var xl=le.forwardRef((Ee,Ce)=>le.createElement("div",{className:Ee.className,onClick:Ue=>Ue.stopPropagation(),onKeyDown:eu,ref:Ce},Ee.children));function tu(Ee){let Ce=[];return(Ee||[]).forEach(Ue=>{let{value:rt,children:ht}=Ue;Ce.push(rt),ht&&(Ce=[].concat((0,pa.Z)(Ce),(0,pa.Z)(tu(ht))))}),Ce}function Qu(Ee){return Ee.some(Ce=>{let{children:Ue}=Ce;return Ue})}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:Ue,filteredKeys:rt,filterMultiple:ht,searchValue:pt,filterSearch:$t}=Ee;return Ce.map((Qt,Ut)=>{const xn=String(Qt.value);if(Qt.children)return{key:xn||Ut,label:Qt.text,popupClassName:`${Ue}-dropdown-submenu`,children:mu({filters:Qt.children,prefixCls:Ue,filteredKeys:rt,filterMultiple:ht,searchValue:pt,filterSearch:$t})};const Sn=ht?tr.default:Ti.ZP,En={key:Qt.value!==void 0?xn:Ut,label:le.createElement(le.Fragment,null,le.createElement(Sn,{checked:rt.includes(xn)}),le.createElement("span",null,Qt.text))};return pt.trim()?typeof $t=="function"?$t(pt,Qt)?En:null:su(pt,Qt.text)?En:null:En})}function Yu(Ee){var Ce,Ue;const{tablePrefixCls:rt,prefixCls:ht,column:pt,dropdownPrefixCls:$t,columnKey:Qt,filterMultiple:Ut,filterMode:xn="menu",filterSearch:Sn=!1,filterState:En,triggerFilter:ea,locale:ra,children:ma,getPopupContainer:La}=Ee,{filterDropdownOpen:zt,onFilterDropdownOpenChange:nr,filterResetToDefaultFilteredValue:ja,defaultFilteredValue:dr,filterDropdownVisible:Zr,onFilterDropdownVisibleChange:Qr}=pt,[Or,Kr]=le.useState(!1),jr=!!(En&&(!((Ce=En.filteredKeys)===null||Ce===void 0)&&Ce.length||En.forceFiltered)),ur=pe=>{Kr(pe),nr==null||nr(pe),Qr==null||Qr(pe)},sr=(Ue=zt!=null?zt:Zr)!==null&&Ue!==void 0?Ue:Or,yr=En==null?void 0:En.filteredKeys,[$a,cr]=Wa(yr||[]),$r=pe=>{let{selectedKeys:Pe}=pe;cr(Pe)},yo=(pe,Pe)=>{let{node:Ot,checked:en}=Pe;$r(Ut?{selectedKeys:pe}:{selectedKeys:en&&Ot.key?[Ot.key]:[]})};le.useEffect(()=>{Or&&$r({selectedKeys:yr||[]})},[yr]);const[lo,kr]=le.useState([]),vo=pe=>{kr(pe)},[wo,Ta]=le.useState(""),Do=pe=>{const{value:Pe}=pe.target;Ta(Pe)};le.useEffect(()=>{Or||Ta("")},[Or]);const yi=pe=>{const Pe=pe&&pe.length?pe:null;if(Pe===null&&(!En||!En.filteredKeys)||(0,ke.Z)(Pe,En==null?void 0:En.filteredKeys,!0))return null;ea({column:pt,key:Qt,filteredKeys:Pe})},Ao=()=>{ur(!1),yi($a())},qr=function(){let{confirm:pe,closeDropdown:Pe}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};pe&&yi([]),Pe&&ur(!1),Ta(""),cr(ja?(dr||[]).map(Ot=>String(Ot)):[])},bi=function(){let{closeDropdown:pe}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};pe&&ur(!1),yi($a())},Yr=pe=>{pe&&yr!==void 0&&cr(yr||[]),ur(pe),!pe&&!pt.filterDropdown&&Ao()},gi=We()({[`${$t}-menu-without-submenu`]:!Qu(pt.filters||[])}),Zo=pe=>{if(pe.target.checked){const Pe=tu(pt==null?void 0:pt.filters).map(Ot=>String(Ot));cr(Pe)}else cr([])},_i=pe=>{let{filters:Pe}=pe;return(Pe||[]).map((Ot,en)=>{const Oa=String(Ot.value),va={title:Ot.text,key:Ot.value!==void 0?Oa:en};return Ot.children&&(va.children=_i({filters:Ot.children})),va})},no=pe=>{var Pe;return Object.assign(Object.assign({},pe),{text:pe.title,value:pe.key,children:((Pe=pe.children)===null||Pe===void 0?void 0:Pe.map(Ot=>no(Ot)))||[]})};let zr;if(typeof pt.filterDropdown=="function")zr=pt.filterDropdown({prefixCls:`${$t}-custom`,setSelectedKeys:pe=>$r({selectedKeys:pe}),selectedKeys:$a(),confirm:bi,clearFilters:qr,filters:pt.filters,visible:sr,close:()=>{ur(!1)}});else if(pt.filterDropdown)zr=pt.filterDropdown;else{const pe=$a()||[],Pe=()=>(pt.filters||[]).length===0?le.createElement(Co.Z,{image:Co.Z.PRESENTED_IMAGE_SIMPLE,description:ra.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):xn==="tree"?le.createElement(le.Fragment,null,le.createElement(So,{filterSearch:Sn,value:wo,onChange:Do,tablePrefixCls:rt,locale:ra}),le.createElement("div",{className:`${rt}-filter-dropdown-tree`},Ut?le.createElement(tr.default,{checked:pe.length===tu(pt.filters).length,indeterminate:pe.length>0&&pe.length<tu(pt.filters).length,className:`${rt}-filter-dropdown-checkall`,onChange:Zo},ra.filterCheckall):null,le.createElement(Ji.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:Ut,checkStrictly:!Ut,className:`${$t}-menu`,onCheck:yo,checkedKeys:pe,selectedKeys:pe,showIcon:!1,treeData:_i({filters:pt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:wo.trim()?en=>typeof Sn=="function"?Sn(wo,no(en)):su(wo,en.title):void 0}))):le.createElement(le.Fragment,null,le.createElement(So,{filterSearch:Sn,value:wo,onChange:Do,tablePrefixCls:rt,locale:ra}),le.createElement(Uo.default,{selectable:!0,multiple:Ut,prefixCls:`${$t}-menu`,className:gi,onSelect:$r,onDeselect:$r,selectedKeys:pe,getPopupContainer:La,openKeys:lo,onOpenChange:vo,items:mu({filters:pt.filters||[],filterSearch:Sn,prefixCls:ht,filteredKeys:$a(),filterMultiple:Ut,searchValue:wo})})),Ot=()=>ja?(0,ke.Z)((dr||[]).map(en=>String(en)),pe,!0):pe.length===0;zr=le.createElement(le.Fragment,null,Pe(),le.createElement("div",{className:`${ht}-dropdown-btns`},le.createElement(Ha.ZP,{type:"link",size:"small",disabled:Ot(),onClick:()=>qr()},ra.filterReset),le.createElement(Ha.ZP,{type:"primary",size:"small",onClick:Ao},ra.filterConfirm)))}pt.filterDropdown&&(zr=le.createElement(Ko.J,{selectable:void 0},zr));const Jr=()=>le.createElement(xl,{className:`${ht}-dropdown`},zr);let Hr;typeof pt.filterIcon=="function"?Hr=pt.filterIcon(jr):pt.filterIcon?Hr=pt.filterIcon:Hr=le.createElement(qn,null);const{direction:ce}=le.useContext($o.E_);return le.createElement("div",{className:`${ht}-column`},le.createElement("span",{className:`${rt}-column-title`},ma),le.createElement(Mr.Z,{dropdownRender:Jr,trigger:["click"],open:sr,onOpenChange:Yr,getPopupContainer:La,placement:ce==="rtl"?"bottomLeft":"bottomRight"},le.createElement("span",{role:"button",tabIndex:-1,className:We()(`${ht}-trigger`,{active:jr}),onClick:pe=>{pe.stopPropagation()}},Hr)))}var El=Yu;function Ru(Ee,Ce,Ue){let rt=[];return(Ee||[]).forEach((ht,pt)=>{var $t;const Qt=we(pt,Ue);if(ht.filters||"filterDropdown"in ht||"onFilter"in ht)if("filteredValue"in ht){let Ut=ht.filteredValue;"filterDropdown"in ht||(Ut=($t=Ut==null?void 0:Ut.map(String))!==null&&$t!==void 0?$t:Ut),rt.push({column:ht,key:so(ht,Qt),filteredKeys:Ut,forceFiltered:ht.filtered})}else rt.push({column:ht,key:so(ht,Qt),filteredKeys:Ce&&ht.defaultFilteredValue?ht.defaultFilteredValue:void 0,forceFiltered:ht.filtered});"children"in ht&&(rt=[].concat((0,pa.Z)(rt),(0,pa.Z)(Ru(ht.children,Ce,Qt))))}),rt}function Mu(Ee,Ce,Ue,rt,ht,pt,$t,Qt){return Ue.map((Ut,xn)=>{const Sn=we(xn,Qt),{filterMultiple:En=!0,filterMode:ea,filterSearch:ra}=Ut;let ma=Ut;if(ma.filters||ma.filterDropdown){const La=so(ma,Sn),zt=rt.find(nr=>{let{key:ja}=nr;return La===ja});ma=Object.assign(Object.assign({},ma),{title:nr=>le.createElement(El,{tablePrefixCls:Ee,prefixCls:`${Ee}-filter`,dropdownPrefixCls:Ce,column:ma,columnKey:La,filterState:zt,filterMultiple:En,filterMode:ea,filterSearch:ra,triggerFilter:pt,locale:ht,getPopupContainer:$t},hn(Ut.title,nr))})}return"children"in ma&&(ma=Object.assign(Object.assign({},ma),{children:Mu(Ee,Ce,ma.children,rt,ht,pt,$t,Sn)})),ma})}function rl(Ee){const Ce={};return Ee.forEach(Ue=>{let{key:rt,filteredKeys:ht,column:pt}=Ue;const{filters:$t,filterDropdown:Qt}=pt;if(Qt)Ce[rt]=ht||null;else if(Array.isArray(ht)){const Ut=tu($t);Ce[rt]=Ut.filter(xn=>ht.includes(String(xn)))}else Ce[rt]=null}),Ce}function ku(Ee,Ce){return Ce.reduce((Ue,rt)=>{const{column:{onFilter:ht,filters:pt},filteredKeys:$t}=rt;return ht&&$t&&$t.length?Ue.filter(Qt=>$t.some(Ut=>{const xn=tu(pt),Sn=xn.findIndex(ea=>String(ea)===String(Ut)),En=Sn!==-1?xn[Sn]:Ut;return ht(En,Qt)})):Ue},Ee)}const nu=Ee=>Ee.flatMap(Ce=>"children"in Ce?[Ce].concat((0,pa.Z)(nu(Ce.children||[]))):[Ce]);function Ju(Ee){let{prefixCls:Ce,dropdownPrefixCls:Ue,mergedColumns:rt,onFilterChange:ht,getPopupContainer:pt,locale:$t}=Ee;const Qt=le.useMemo(()=>nu(rt||[]),[rt]),[Ut,xn]=le.useState(()=>Ru(Qt,!0)),Sn=le.useMemo(()=>{const ma=Ru(Qt,!1);if(ma.length===0)return ma;let La=!0,zt=!0;if(ma.forEach(nr=>{let{filteredKeys:ja}=nr;ja!==void 0?La=!1:zt=!1}),La){const nr=(Qt||[]).map((ja,dr)=>so(ja,we(dr)));return Ut.filter(ja=>{let{key:dr}=ja;return nr.includes(dr)}).map(ja=>{const dr=Qt[nr.findIndex(Zr=>Zr===ja.key)];return Object.assign(Object.assign({},ja),{column:Object.assign(Object.assign({},ja.column),dr),forceFiltered:dr.filtered})})}return ma},[Qt,Ut]),En=le.useMemo(()=>rl(Sn),[Sn]),ea=ma=>{const La=Sn.filter(zt=>{let{key:nr}=zt;return nr!==ma.key});La.push(ma),xn(La),ht(rl(La),La)};return[ma=>Mu(Ce,Ue,ma,Sn,$t,ea,pt),Sn,En]}var bu=Ju;function Tu(Ee,Ce,Ue){const rt=le.useRef({});function ht(pt){if(!rt.current||rt.current.data!==Ee||rt.current.childrenColumnName!==Ce||rt.current.getRowKey!==Ue){let Qt=function(Ut){Ut.forEach((xn,Sn)=>{const En=Ue(xn,Sn);$t.set(En,xn),xn&&typeof xn=="object"&&Ce in xn&&Qt(xn[Ce]||[])})};const $t=new Map;Qt(Ee),rt.current={data:Ee,childrenColumnName:Ce,kvMap:$t,getRowKey:Ue}}return rt.current.kvMap.get(pt)}return[ht]}var Xu=ee(50371),_u=function(Ee,Ce){var Ue={};for(var rt in Ee)Object.prototype.hasOwnProperty.call(Ee,rt)&&Ce.indexOf(rt)<0&&(Ue[rt]=Ee[rt]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,rt=Object.getOwnPropertySymbols(Ee);ht<rt.length;ht++)Ce.indexOf(rt[ht])<0&&Object.prototype.propertyIsEnumerable.call(Ee,rt[ht])&&(Ue[rt[ht]]=Ee[rt[ht]]);return Ue};const bl=10;function ji(Ee,Ce){const Ue={current:Ee.current,pageSize:Ee.pageSize};return Object.keys(Ce&&typeof Ce=="object"?Ce:{}).forEach(ht=>{const pt=Ee[ht];typeof pt!="function"&&(Ue[ht]=pt)}),Ue}function Zu(Ee,Ce,Ue){const rt=Ue&&typeof Ue=="object"?Ue:{},{total:ht=0}=rt,pt=_u(rt,["total"]),[$t,Qt]=(0,le.useState)(()=>({current:"defaultCurrent"in pt?pt.defaultCurrent:1,pageSize:"defaultPageSize"in pt?pt.defaultPageSize:bl})),Ut=(0,Xu.Z)($t,pt,{total:ht>0?ht:Ee}),xn=Math.ceil((ht||Ee)/Ut.pageSize);Ut.current>xn&&(Ut.current=xn||1);const Sn=(ea,ra)=>{Qt({current:ea!=null?ea:1,pageSize:ra||Ut.pageSize})},En=(ea,ra)=>{var ma;Ue&&((ma=Ue.onChange)===null||ma===void 0||ma.call(Ue,ea,ra)),Sn(ea,ra),Ce(ea,ra||(Ut==null?void 0:Ut.pageSize))};return Ue===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ut),{onChange:En}),Sn]}var fs=Zu,au=ee(84105),Bi=ee(35654),Cu=ee(90782),zu=ee(71430),rs=ee(18929);const Il={},Hu="SELECT_ALL",xu="SELECT_INVERT",Fu="SELECT_NONE",Fl=[],zl=(Ee,Ce)=>{let Ue=[];return(Ce||[]).forEach(rt=>{Ue.push(rt),rt&&typeof rt=="object"&&Ee in rt&&(Ue=[].concat((0,pa.Z)(Ue),(0,pa.Z)(zl(Ee,rt[Ee]))))}),Ue};var qu=(Ee,Ce)=>{const{preserveSelectedRowKeys:Ue,selectedRowKeys:rt,defaultSelectedRowKeys:ht,getCheckboxProps:pt,onChange:$t,onSelect:Qt,onSelectAll:Ut,onSelectInvert:xn,onSelectNone:Sn,onSelectMultiple:En,columnWidth:ea,type:ra,selections:ma,fixed:La,renderCell:zt,hideSelectAll:nr,checkStrictly:ja=!0}=Ce||{},{prefixCls:dr,data:Zr,pageData:Qr,getRecordByKey:Or,getRowKey:Kr,expandType:jr,childrenColumnName:ur,locale:sr,getPopupContainer:yr}=Ee,[$a,cr]=(0,rs.Z)(rt||ht||Fl,{value:rt}),$r=le.useRef(new Map),yo=(0,le.useCallback)(no=>{if(Ue){const zr=new Map;no.forEach(Jr=>{let Hr=Or(Jr);!Hr&&$r.current.has(Jr)&&(Hr=$r.current.get(Jr)),zr.set(Jr,Hr)}),$r.current=zr}},[Or,Ue]);le.useEffect(()=>{yo($a)},[$a]);const{keyEntities:lo}=(0,le.useMemo)(()=>{if(ja)return{keyEntities:null};let no=Zr;if(Ue){const zr=new Set(Zr.map((Hr,ce)=>Kr(Hr,ce))),Jr=Array.from($r.current).reduce((Hr,ce)=>{let[pe,Pe]=ce;return zr.has(pe)?Hr:Hr.concat(Pe)},[]);no=[].concat((0,pa.Z)(no),(0,pa.Z)(Jr))}return(0,zu.I8)(no,{externalGetKey:Kr,childrenPropName:ur})},[Zr,Kr,ja,ur,Ue]),kr=(0,le.useMemo)(()=>zl(ur,Qr),[ur,Qr]),vo=(0,le.useMemo)(()=>{const no=new Map;return kr.forEach((zr,Jr)=>{const Hr=Kr(zr,Jr),ce=(pt?pt(zr):null)||{};no.set(Hr,ce)}),no},[kr,Kr,pt]),wo=(0,le.useCallback)(no=>{var zr;return!!(!((zr=vo.get(Kr(no)))===null||zr===void 0)&&zr.disabled)},[vo,Kr]),[Ta,Do]=(0,le.useMemo)(()=>{if(ja)return[$a||[],[]];const{checkedKeys:no,halfCheckedKeys:zr}=(0,Cu.S)($a,!0,lo,wo);return[no||[],zr]},[$a,ja,lo,wo]),yi=(0,le.useMemo)(()=>{const no=ra==="radio"?Ta.slice(0,1):Ta;return new Set(no)},[Ta,ra]),Ao=(0,le.useMemo)(()=>ra==="radio"?new Set:new Set(Do),[Do,ra]),[qr,bi]=(0,le.useState)(null);le.useEffect(()=>{Ce||cr(Fl)},[!!Ce]);const Yr=(0,le.useCallback)((no,zr)=>{let Jr,Hr;yo(no),Ue?(Jr=no,Hr=no.map(ce=>$r.current.get(ce))):(Jr=[],Hr=[],no.forEach(ce=>{const pe=Or(ce);pe!==void 0&&(Jr.push(ce),Hr.push(pe))})),cr(Jr),$t==null||$t(Jr,Hr,{type:zr})},[cr,Or,$t,Ue]),gi=(0,le.useCallback)((no,zr,Jr,Hr)=>{if(Qt){const ce=Jr.map(pe=>Or(pe));Qt(Or(no),zr,ce,Hr)}Yr(Jr,"single")},[Qt,Or,Yr]),Zo=(0,le.useMemo)(()=>!ma||nr?null:(ma===!0?[Hu,xu,Fu]:ma).map(zr=>zr===Hu?{key:"all",text:sr.selectionAll,onSelect(){Yr(Zr.map((Jr,Hr)=>Kr(Jr,Hr)).filter(Jr=>{const Hr=vo.get(Jr);return!(Hr!=null&&Hr.disabled)||yi.has(Jr)}),"all")}}:zr===xu?{key:"invert",text:sr.selectInvert,onSelect(){const Jr=new Set(yi);Qr.forEach((ce,pe)=>{const Pe=Kr(ce,pe),Ot=vo.get(Pe);Ot!=null&&Ot.disabled||(Jr.has(Pe)?Jr.delete(Pe):Jr.add(Pe))});const Hr=Array.from(Jr);xn&&xn(Hr),Yr(Hr,"invert")}}:zr===Fu?{key:"none",text:sr.selectNone,onSelect(){Sn==null||Sn(),Yr(Array.from(yi).filter(Jr=>{const Hr=vo.get(Jr);return Hr==null?void 0:Hr.disabled}),"none")}}:zr).map(zr=>Object.assign(Object.assign({},zr),{onSelect:function(){for(var Jr,Hr,ce=arguments.length,pe=new Array(ce),Pe=0;Pe<ce;Pe++)pe[Pe]=arguments[Pe];(Hr=zr.onSelect)===null||Hr===void 0||(Jr=Hr).call.apply(Jr,[zr].concat(pe)),bi(null)}})),[ma,yi,Qr,Kr,xn,Yr]);return[(0,le.useCallback)(no=>{var zr;if(!Ce)return no.filter(On=>On!==Il);let Jr=(0,pa.Z)(no);const Hr=new Set(yi),ce=kr.map(Kr).filter(On=>!vo.get(On).disabled),pe=ce.every(On=>Hr.has(On)),Pe=ce.some(On=>Hr.has(On)),Ot=()=>{const On=[];pe?ce.forEach(Zn=>{Hr.delete(Zn),On.push(Zn)}):ce.forEach(Zn=>{Hr.has(Zn)||(Hr.add(Zn),On.push(Zn))});const sa=Array.from(Hr);Ut==null||Ut(!pe,sa.map(Zn=>Or(Zn)),On.map(Zn=>Or(Zn))),Yr(sa,"all"),bi(null)};let en;if(ra!=="radio"){let On;if(Zo){const da={getPopupContainer:yr,items:Zo.map((Ja,yn)=>{const{key:Ca,text:Ka,onSelect:eo}=Ja;return{key:Ca!=null?Ca:yn,onClick:()=>{eo==null||eo(ce)},label:Ka}})};On=le.createElement("div",{className:`${dr}-selection-extra`},le.createElement(Mr.Z,{menu:da,getPopupContainer:yr},le.createElement("span",null,le.createElement(au.Z,null))))}const sa=kr.map((da,Ja)=>{const yn=Kr(da,Ja),Ca=vo.get(yn)||{};return Object.assign({checked:Hr.has(yn)},Ca)}).filter(da=>{let{disabled:Ja}=da;return Ja}),Zn=!!sa.length&&sa.length===kr.length,Fa=Zn&&sa.every(da=>{let{checked:Ja}=da;return Ja}),aa=Zn&&sa.some(da=>{let{checked:Ja}=da;return Ja});en=!nr&&le.createElement("div",{className:`${dr}-selection`},le.createElement(tr.default,{checked:Zn?Fa:!!kr.length&&pe,indeterminate:Zn?!Fa&&aa:!pe&&Pe,onChange:Ot,disabled:kr.length===0||Zn,"aria-label":On?"Custom selection":"Select all",skipGroup:!0}),On)}let Oa;ra==="radio"?Oa=(On,sa,Zn)=>{const Fa=Kr(sa,Zn),aa=Hr.has(Fa);return{node:le.createElement(Ti.ZP,Object.assign({},vo.get(Fa),{checked:aa,onClick:da=>da.stopPropagation(),onChange:da=>{Hr.has(Fa)||gi(Fa,!0,[Fa],da.nativeEvent)}})),checked:aa}}:Oa=(On,sa,Zn)=>{var Fa;const aa=Kr(sa,Zn),da=Hr.has(aa),Ja=Ao.has(aa),yn=vo.get(aa);let Ca;return jr==="nest"?Ca=Ja:Ca=(Fa=yn==null?void 0:yn.indeterminate)!==null&&Fa!==void 0?Fa:Ja,{node:le.createElement(tr.default,Object.assign({},yn,{indeterminate:Ca,checked:da,skipGroup:!0,onClick:Ka=>Ka.stopPropagation(),onChange:Ka=>{let{nativeEvent:eo}=Ka;const{shiftKey:Sr}=eo;let ui=-1,Ga=-1;if(Sr&&ja){const xo=new Set([qr,aa]);ce.some((Dr,ao)=>{if(xo.has(Dr))if(ui===-1)ui=ao;else return Ga=ao,!0;return!1})}if(Ga!==-1&&ui!==Ga&&ja){const xo=ce.slice(ui,Ga+1),Dr=[];da?xo.forEach(Eo=>{Hr.has(Eo)&&(Dr.push(Eo),Hr.delete(Eo))}):xo.forEach(Eo=>{Hr.has(Eo)||(Dr.push(Eo),Hr.add(Eo))});const ao=Array.from(Hr);En==null||En(!da,ao.map(Eo=>Or(Eo)),Dr.map(Eo=>Or(Eo))),Yr(ao,"multiple")}else{const xo=Ta;if(ja){const Dr=da?(0,Bi._5)(xo,aa):(0,Bi.L0)(xo,aa);gi(aa,!da,Dr,eo)}else{const Dr=(0,Cu.S)([].concat((0,pa.Z)(xo),[aa]),!0,lo,wo),{checkedKeys:ao,halfCheckedKeys:Eo}=Dr;let hi=ao;if(da){const mi=new Set(ao);mi.delete(aa),hi=(0,Cu.S)(Array.from(mi),{checked:!1,halfCheckedKeys:Eo},lo,wo).checkedKeys}gi(aa,!da,hi,eo)}}bi(da?null:aa)}})),checked:da}};const va=(On,sa,Zn)=>{const{node:Fa,checked:aa}=Oa(On,sa,Zn);return zt?zt(aa,sa,Zn,Fa):Fa};if(!Jr.includes(Il))if(Jr.findIndex(On=>{var sa;return((sa=On[ha])===null||sa===void 0?void 0:sa.columnType)==="EXPAND_COLUMN"})===0){const[On,...sa]=Jr;Jr=[On,Il].concat((0,pa.Z)(sa))}else Jr=[Il].concat((0,pa.Z)(Jr));const _n=Jr.indexOf(Il);Jr=Jr.filter((On,sa)=>On!==Il||sa===_n);const Ht=Jr[_n-1],Un=Jr[_n+1];let Fn=La;Fn===void 0&&((Un==null?void 0:Un.fixed)!==void 0?Fn=Un.fixed:(Ht==null?void 0:Ht.fixed)!==void 0&&(Fn=Ht.fixed)),Fn&&Ht&&((zr=Ht[ha])===null||zr===void 0?void 0:zr.columnType)==="EXPAND_COLUMN"&&Ht.fixed===void 0&&(Ht.fixed=Fn);const Pt=We()(`${dr}-selection-col`,{[`${dr}-selection-col-with-dropdown`]:ma&&ra==="checkbox"}),mn={fixed:Fn,width:ea,className:`${dr}-selection-column`,title:Ce.columnTitle||en,render:va,onCell:Ce.onCell,[ha]:{className:Pt}};return Jr.map(On=>On===Il?mn:On)},[Kr,kr,Ce,Ta,yi,Ao,ea,Zo,jr,qr,vo,En,gi,wo]),yi]},ju=ee(89489),Lr=ee(59477),Bu=ee(6848);const Yl="ascend",Hl="descend";function rr(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,Ue){let rt=[];function ht(pt,$t){rt.push({column:pt,key:so(pt,$t),multiplePriority:rr(pt),sortOrder:pt.sortOrder})}return(Ee||[]).forEach((pt,$t)=>{const Qt=we($t,Ue);pt.children?("sortOrder"in pt&&ht(pt,Qt),rt=[].concat((0,pa.Z)(rt),(0,pa.Z)(is(pt.children,Ce,Qt)))):pt.sorter&&("sortOrder"in pt?ht(pt,Qt):Ce&&pt.defaultSortOrder&&rt.push({column:pt,key:so(pt,Qt),multiplePriority:rr(pt),sortOrder:pt.defaultSortOrder}))}),rt}function wu(Ee,Ce,Ue,rt,ht,pt,$t,Qt){return(Ce||[]).map((Ut,xn)=>{const Sn=we(xn,Qt);let En=Ut;if(En.sorter){const ea=En.sortDirections||ht,ra=En.showSorterTooltip===void 0?$t:En.showSorterTooltip,ma=so(En,Sn),La=Ue.find(jr=>{let{key:ur}=jr;return ur===ma}),zt=La?La.sortOrder:null,nr=es(ea,zt);let ja;if(Ut.sortIcon)ja=Ut.sortIcon({sortOrder:zt});else{const jr=ea.includes(Yl)&&le.createElement(Lr.Z,{className:We()(`${Ee}-column-sorter-up`,{active:zt===Yl})}),ur=ea.includes(Hl)&&le.createElement(ju.Z,{className:We()(`${Ee}-column-sorter-down`,{active:zt===Hl})});ja=le.createElement("span",{className:We()(`${Ee}-column-sorter`,{[`${Ee}-column-sorter-full`]:!!(jr&&ur)})},le.createElement("span",{className:`${Ee}-column-sorter-inner`,"aria-hidden":"true"},jr,ur))}const{cancelSort:dr,triggerAsc:Zr,triggerDesc:Qr}=pt||{};let Or=dr;nr===Hl?Or=Qr:nr===Yl&&(Or=Zr);const Kr=typeof ra=="object"?ra:{title:Or};En=Object.assign(Object.assign({},En),{className:We()(En.className,{[`${Ee}-column-sort`]:zt}),title:jr=>{const ur=le.createElement("div",{className:`${Ee}-column-sorters`},le.createElement("span",{className:`${Ee}-column-title`},hn(Ut.title,jr)),ja);return ra?le.createElement(Bu.Z,Object.assign({},Kr),ur):ur},onHeaderCell:jr=>{const ur=Ut.onHeaderCell&&Ut.onHeaderCell(jr)||{},sr=ur.onClick,yr=ur.onKeyDown;ur.onClick=$r=>{rt({column:Ut,key:ma,sortOrder:nr,multiplePriority:rr(Ut)}),sr==null||sr($r)},ur.onKeyDown=$r=>{$r.keyCode===yl.Z.ENTER&&(rt({column:Ut,key:ma,sortOrder:nr,multiplePriority:rr(Ut)}),yr==null||yr($r))};const $a=Rn(Ut.title,{}),cr=$a==null?void 0:$a.toString();return zt?ur["aria-sort"]=zt==="ascend"?"ascending":"descending":ur["aria-label"]=cr||"",ur.className=We()(ur.className,`${Ee}-column-has-sorters`),ur.tabIndex=0,Ut.ellipsis&&(ur.title=($a!=null?$a:"").toString()),ur}})}return"children"in En&&(En=Object.assign(Object.assign({},En),{children:wu(Ee,En.children,Ue,rt,ht,pt,$t,Sn)})),En})}function ts(Ee){const{column:Ce,sortOrder:Ue}=Ee;return{column:Ce,order:Ue,field:Ce.dataIndex,columnKey:Ce.key}}function cu(Ee){const Ce=Ee.filter(Ue=>{let{sortOrder:rt}=Ue;return rt}).map(ts);return Ce.length===0&&Ee.length?Object.assign(Object.assign({},ts(Ee[Ee.length-1])),{column:void 0}):Ce.length<=1?Ce[0]||{}:Ce}function Qi(Ee,Ce,Ue){const rt=Ce.slice().sort(($t,Qt)=>Qt.multiplePriority-$t.multiplePriority),ht=Ee.slice(),pt=rt.filter($t=>{let{column:{sorter:Qt},sortOrder:Ut}=$t;return du(Qt)&&Ut});return pt.length?ht.sort(($t,Qt)=>{for(let Ut=0;Ut<pt.length;Ut+=1){const xn=pt[Ut],{column:{sorter:Sn},sortOrder:En}=xn,ea=du(Sn);if(ea&&En){const ra=ea($t,Qt,En);if(ra!==0)return En===Yl?ra:-ra}}return 0}).map($t=>{const Qt=$t[Ue];return Qt?Object.assign(Object.assign({},$t),{[Ue]:Qi(Qt,Ce,Ue)}):$t}):ht}function ls(Ee){let{prefixCls:Ce,mergedColumns:Ue,onSorterChange:rt,sortDirections:ht,tableLocale:pt,showSorterTooltip:$t}=Ee;const[Qt,Ut]=le.useState(is(Ue,!0)),xn=le.useMemo(()=>{let ma=!0;const La=is(Ue,!1);if(!La.length)return Qt;const zt=[];function nr(dr){ma?zt.push(dr):zt.push(Object.assign(Object.assign({},dr),{sortOrder:null}))}let ja=null;return La.forEach(dr=>{ja===null?(nr(dr),dr.sortOrder&&(dr.multiplePriority===!1?ma=!1:ja=!0)):(ja&&dr.multiplePriority!==!1||(ma=!1),nr(dr))}),zt},[Ue,Qt]),Sn=le.useMemo(()=>{const ma=xn.map(La=>{let{column:zt,sortOrder:nr}=La;return{column:zt,order:nr}});return{sortColumns:ma,sortColumn:ma[0]&&ma[0].column,sortOrder:ma[0]&&ma[0].order}},[xn]);function En(ma){let La;ma.multiplePriority===!1||!xn.length||xn[0].multiplePriority===!1?La=[ma]:La=[].concat((0,pa.Z)(xn.filter(zt=>{let{key:nr}=zt;return nr!==ma.key})),[ma]),Ut(La),rt(cu(La),La)}return[ma=>wu(Ce,ma,xn,En,ht,pt,$t),xn,Sn,()=>cu(xn)]}function us(Ee,Ce){return Ee.map(Ue=>{const rt=Object.assign({},Ue);return rt.title=hn(Ue.title,Ce),"children"in rt&&(rt.children=us(rt.children,Ce)),rt})}function ss(Ee){return[le.useCallback(Ue=>us(Ue,Ee),[Ee])]}var Gu=vr((Ee,Ce)=>{const{_renderTimes:Ue}=Ee,{_renderTimes:rt}=Ce;return Ue!==rt}),Jl=oi((Ee,Ce)=>{const{_renderTimes:Ue}=Ee,{_renderTimes:rt}=Ce;return Ue!==rt}),Xl=ee(64993),ru=ee(17313),fu=ee(83116),Wu=ee(37613),Se=Ee=>{const{componentCls:Ce}=Ee,Ue=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`,rt=(ht,pt,$t)=>({[`&${Ce}-${ht}`]:{[`> ${Ce}-container`]:{[`> ${Ce}-content, > ${Ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ce}-expanded-row-fixed`]:{margin:`-${pt}px -${$t+Ee.lineWidth}px`}}}}}});return{[`${Ce}-wrapper`]:{[`${Ce}${Ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ce}-title`]:{border:Ue,borderBottom:0},[`> ${Ce}-container`]:{borderInlineStart:Ue,borderTop:Ue,[`
> ${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:Ue},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Ue},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ce}-cell-fix-right-first::after`]:{borderInlineEnd:Ue}},"\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:Ue,content:'""'}}}}}},[`&${Ce}-scroll-horizontal`]:{[`> ${Ce}-container > ${Ce}-body`]:{"> table > tbody":{[`
> tr${Ce}-expanded-row,
> tr${Ce}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},rt("middle",Ee.tablePaddingVerticalMiddle,Ee.tablePaddingHorizontalMiddle)),rt("small",Ee.tablePaddingVerticalSmall,Ee.tablePaddingHorizontalSmall)),{[`> ${Ce}-footer`]:{border:Ue,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:Ue}}}},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"}})}}},Xt=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}}}}},Wt=ee(15969),kn=Ee=>{const{componentCls:Ce,antCls:Ue,controlInteractiveSize:rt,motionDurationSlow:ht,lineWidth:pt,paddingXS:$t,lineType:Qt,tableBorderColor:Ut,tableExpandIconBg:xn,tableExpandColumnWidth:Sn,borderRadius:En,fontSize:ea,fontSizeSM:ra,lineHeight:ma,tablePaddingVertical:La,tablePaddingHorizontal:zt,tableExpandedRowBg:nr,paddingXXS:ja}=Ee,dr=rt/2-pt,Zr=dr*2+pt*3,Qr=`${pt}px ${Qt} ${Ut}`,Or=ja-pt;return{[`${Ce}-wrapper`]:{[`${Ce}-expand-icon-col`]:{width:Sn},[`${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,Wt.N)(Ee)),{position:"relative",float:"left",boxSizing:"border-box",width:Zr,height:Zr,padding:0,color:"inherit",lineHeight:`${Zr}px`,background:xn,border:Qr,borderRadius:En,transform:`scale(${rt/Zr})`,transition:`all ${ht}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ht} ease-out`,content:'""'},"&::before":{top:dr,insetInlineEnd:Or,insetInlineStart:Or,height:pt},"&::after":{top:Or,bottom:Or,insetInlineStart:dr,width:pt,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:(ea*ma-pt*3)/2-Math.ceil((ra*1.4-pt*3)/2),marginInlineEnd:$t},[`tr${Ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:nr}},[`${Ue}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ce}-expanded-row-fixed`]:{position:"relative",margin:`-${La}px -${zt}px`,padding:`${La}px ${zt}px`}}}},Aa=Ee=>{const{componentCls:Ce,antCls:Ue,iconCls:rt,tableFilterDropdownWidth:ht,tableFilterDropdownSearchWidth:pt,paddingXXS:$t,paddingXS:Qt,colorText:Ut,lineWidth:xn,lineType:Sn,tableBorderColor:En,tableHeaderIconColor:ea,fontSizeSM:ra,tablePaddingHorizontal:ma,borderRadius:La,motionDurationSlow:zt,colorTextDescription:nr,colorPrimary:ja,tableHeaderFilterActiveBg:dr,colorTextDisabled:Zr,tableFilterDropdownBg:Qr,tableFilterDropdownHeight:Or,controlItemBgHover:Kr,controlItemBgActive:jr,boxShadowSecondary:ur,filterDropdownMenuBg:sr}=Ee,yr=`${Ue}-dropdown`,$a=`${Ce}-filter-dropdown`,cr=`${Ue}-tree`,$r=`${xn}px ${Sn} ${En}`;return[{[`${Ce}-wrapper`]:{[`${Ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-$t,marginInline:`${$t}px ${-ma/2}px`,padding:`0 ${$t}px`,color:ea,fontSize:ra,borderRadius:La,cursor:"pointer",transition:`all ${zt}`,"&:hover":{color:nr,background:dr},"&.active":{color:ja}}}},{[`${Ue}-dropdown`]:{[$a]:Object.assign(Object.assign({},(0,ru.Wf)(Ee)),{minWidth:ht,backgroundColor:Qr,borderRadius:La,boxShadow:ur,overflow:"hidden",[`${yr}-menu`]:{maxHeight:Or,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:sr,"&:empty::after":{display:"block",padding:`${Qt}px 0`,color:Zr,fontSize:ra,textAlign:"center",content:'"Not Found"'}},[`${$a}-tree`]:{paddingBlock:`${Qt}px 0`,paddingInline:Qt,[cr]:{padding:0},[`${cr}-treenode ${cr}-node-content-wrapper:hover`]:{backgroundColor:Kr},[`${cr}-treenode-checkbox-checked ${cr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:jr}}},[`${$a}-search`]:{padding:Qt,borderBottom:$r,"&-input":{input:{minWidth:pt},[rt]:{color:Zr}}},[`${$a}-checkall`]:{width:"100%",marginBottom:$t,marginInlineStart:$t},[`${$a}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Qt-xn}px ${Qt}px`,overflow:"hidden",borderTop:$r}})}},{[`${Ue}-dropdown ${$a}, ${$a}-submenu`]:{[`${Ue}-checkbox-wrapper + span`]:{paddingInlineStart:Qt,color:Ut},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},vn=Ee=>{const{componentCls:Ce,lineWidth:Ue,colorSplit:rt,motionDurationSlow:ht,zIndexTableFixed:pt,tableBg:$t,zIndexTableSticky:Qt}=Ee,Ut=rt;return{[`${Ce}-wrapper`]:{[`
${Ce}-cell-fix-left,
${Ce}-cell-fix-right
`]:{position:"sticky !important",zIndex:pt,background:$t},[`
${Ce}-cell-fix-left-first::after,
${Ce}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Ue,width:30,transform:"translateX(100%)",transition:`box-shadow ${ht}`,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:-Ue,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${ht}`,content:'""',pointerEvents:"none"},[`${Ce}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Qt+1,width:30,transition:`box-shadow ${ht}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ce}-ping-left`]:{[`&:not(${Ce}-has-fix-left) ${Ce}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Ut}`}},[`
${Ce}-cell-fix-left-first::after,
${Ce}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Ut}`},[`${Ce}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ce}-ping-right`]:{[`&:not(${Ce}-has-fix-right) ${Ce}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Ut}`}},[`
${Ce}-cell-fix-right-first::after,
${Ce}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Ut}`}}}}},Ma=Ee=>{const{componentCls:Ce,antCls:Ue}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-pagination${Ue}-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"}}}}},ga=Ee=>{const{componentCls:Ce,tableRadius:Ue}=Ee;return{[`${Ce}-wrapper`]:{[Ce]:{[`${Ce}-title, ${Ce}-header`]:{borderRadius:`${Ue}px ${Ue}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:Ue,borderStartEndRadius:Ue,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Ue},"> *:last-child":{borderStartEndRadius:Ue}}},"&-footer":{borderRadius:`0 0 ${Ue}px ${Ue}px`}}}}},Ar=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"}}}}},Ir=Ee=>{const{componentCls:Ce,antCls:Ue,iconCls:rt,fontSizeIcon:ht,padding:pt,paddingXS:$t,tableHeaderIconColor:Qt,tableHeaderIconColorHover:Ut,tableSelectionColumnWidth:xn}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-selection-col`]:{width:xn,[`&${Ce}-selection-col-with-dropdown`]:{width:xn+ht+pt/4}},[`${Ce}-bordered ${Ce}-selection-col`]:{width:xn+$t*2,[`&${Ce}-selection-col-with-dropdown`]:{width:xn+ht+pt/4+$t*2}},[`
table tr th${Ce}-selection-column,
table tr td${Ce}-selection-column
`]:{paddingInlineEnd:Ee.paddingXS,paddingInlineStart:Ee.paddingXS,textAlign:"center",[`${Ue}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ce}-selection-column${Ce}-cell-fix-left`]:{zIndex:Ee.zIndexTableFixed+1},[`table tr th${Ce}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ce}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ce}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ee.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ee.tablePaddingHorizontal/4}px`,[rt]:{color:Qt,fontSize:ht,verticalAlign:"baseline","&:hover":{color:Ut}}}}}},Rr=Ee=>{const{componentCls:Ce}=Ee,Ue=(rt,ht,pt,$t)=>({[`${Ce}${Ce}-${rt}`]:{fontSize:$t,[`
${Ce}-title,
${Ce}-footer,
${Ce}-cell,
${Ce}-thead > tr > th,
${Ce}-tbody > tr > th,
${Ce}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${ht}px ${pt}px`},[`${Ce}-filter-trigger`]:{marginInlineEnd:`-${pt/2}px`},[`${Ce}-expanded-row-fixed`]:{margin:`-${ht}px -${pt}px`},[`${Ce}-tbody`]:{[`${Ce}-wrapper:only-child ${Ce}`]:{marginBlock:`-${ht}px`,marginInline:`${Ee.tableExpandColumnWidth-pt}px -${pt}px`}},[`${Ce}-selection-column`]:{paddingInlineStart:`${pt/4}px`}}});return{[`${Ce}-wrapper`]:Object.assign(Object.assign({},Ue("middle",Ee.tablePaddingVerticalMiddle,Ee.tablePaddingHorizontalMiddle,Ee.tableFontSizeMiddle)),Ue("small",Ee.tablePaddingVerticalSmall,Ee.tablePaddingHorizontalSmall,Ee.tableFontSizeSmall))}},Vo=Ee=>{const{componentCls:Ce,marginXXS:Ue,fontSizeIcon:rt,tableHeaderIconColor:ht,tableHeaderIconColorHover:pt}=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:Ue,color:ht,fontSize:0,transition:`color ${Ee.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:rt,"&.active":{color:Ee.colorPrimary}},[`${Ce}-column-sorter-up + ${Ce}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ce}-column-sorters:hover ${Ce}-column-sorter`]:{color:pt}}}},Ho=Ee=>{const{componentCls:Ce,opacityLoading:Ue,tableScrollThumbBg:rt,tableScrollThumbBgHover:ht,tableScrollThumbSize:pt,tableScrollBg:$t,zIndexTableSticky:Qt,stickyScrollBarBorderRadius:Ut}=Ee,xn=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`;return{[`${Ce}-wrapper`]:{[`${Ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:Qt,background:Ee.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${pt}px !important`,zIndex:Qt,display:"flex",alignItems:"center",background:$t,borderTop:xn,opacity:Ue,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:pt,backgroundColor:rt,borderRadius:Ut,transition:`all ${Ee.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ht}}}}}}},li=Ee=>{const{componentCls:Ce,lineWidth:Ue,tableBorderColor:rt}=Ee,ht=`${Ue}px ${Ee.lineType} ${rt}`;return{[`${Ce}-wrapper`]:{[`${Ce}-summary`]:{position:"relative",zIndex:Ee.zIndexTableFixed,background:Ee.tableBg,"> tr":{"> th, > td":{borderBottom:ht}}},[`div${Ce}-summary`]:{boxShadow:`0 -${Ue}px 0 ${rt}`}}}},zi=Ee=>{const{componentCls:Ce}=Ee,Ue=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`,rt=`${Ce}-expanded-row-cell`;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody-virtual`]:{[`${Ce}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ce}-cell`]:{borderBottom:Ue},[`${Ce}-expanded-row`]:{[`${rt}${rt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ee.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ce}-bordered`]:{[`${Ce}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Ue,position:"absolute"},[`${Ce}-cell`]:{borderInlineEnd:Ue,[`&${Ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ee.lineWidth,borderInlineStart:Ue}}}}}}};const oo=Ee=>{const{componentCls:Ce,fontWeightStrong:Ue,tablePaddingVertical:rt,tablePaddingHorizontal:ht,lineWidth:pt,lineType:$t,tableBorderColor:Qt,tableFontSize:Ut,tableBg:xn,tableRadius:Sn,tableHeaderTextColor:En,motionDurationMid:ea,tableHeaderBg:ra,tableHeaderCellSplitColor:ma,tableRowHoverBg:La,tableSelectedRowBg:zt,tableSelectedRowHoverBg:nr,tableFooterTextColor:ja,tableFooterBg:dr,paddingContentVerticalLG:Zr}=Ee,Qr=`${pt}px ${$t} ${Qt}`;return{[`${Ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ru.dF)()),{[Ce]:Object.assign(Object.assign({},(0,ru.Wf)(Ee)),{fontSize:Ut,background:xn,borderRadius:`${Sn}px ${Sn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Sn}px ${Sn}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:`${Zr}px ${ht}px`,overflowWrap:"break-word"},[`${Ce}-title`]:{padding:`${rt}px ${ht}px`},[`${Ce}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:En,fontWeight:Ue,textAlign:"start",background:ra,borderBottom:Qr,transition:`background ${ea} 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:ma,transform:"translateY(-50%)",transition:`background-color ${ea}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ce}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${ea}, border-color ${ea}`,borderBottom:Qr,[`
> ${Ce}-wrapper:only-child,
> ${Ce}-expanded-row-fixed > ${Ce}-wrapper:only-child
`]:{[Ce]:{marginBlock:`-${rt}px`,marginInline:`${Ee.tableExpandColumnWidth-ht}px -${ht}px`,[`${Ce}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:En,fontWeight:Ue,textAlign:"start",background:ra,borderBottom:Qr,transition:`background ${ea} ease`},[`
&${Ce}-row:hover > th,
&${Ce}-row:hover > td,
> th${Ce}-cell-row-hover,
> td${Ce}-cell-row-hover
`]:{background:La},[`&${Ce}-row-selected`]:{"> th, > td":{background:zt},"&:hover > th, &:hover > td":{background:nr}}}},[`${Ce}-footer`]:{padding:`${rt}px ${ht}px`,color:ja,background:dr}})}};var Ro=(0,fu.Z)("Table",Ee=>{const{colorTextHeading:Ce,colorSplit:Ue,colorIcon:rt,colorIconHover:ht,opacityLoading:pt,colorBgContainer:$t,controlInteractiveSize:Qt,headerBg:Ut,headerColor:xn,headerSortActiveBg:Sn,headerSortHoverBg:En,bodySortBg:ea,rowHoverBg:ra,rowSelectedBg:ma,rowSelectedHoverBg:La,rowExpandedBg:zt,cellPaddingBlock:nr,cellPaddingInline:ja,cellPaddingBlockMD:dr,cellPaddingInlineMD:Zr,cellPaddingBlockSM:Qr,cellPaddingInlineSM:Or,borderColor:Kr,footerBg:jr,footerColor:ur,headerBorderRadius:sr,cellFontSize:yr,cellFontSizeMD:$a,cellFontSizeSM:cr,headerSplitColor:$r,fixedHeaderSortActiveBg:yo,headerFilterHoverBg:lo,filterDropdownBg:kr,expandIconBg:vo,selectionColumnWidth:wo,stickyScrollBarBg:Ta}=Ee,Do=new Xl.C(rt),yi=new Xl.C(ht),Ao=2,qr=(0,Wu.TS)(Ee,{tableFontSize:yr,tableBg:$t,tableRadius:sr,tablePaddingVertical:nr,tablePaddingHorizontal:ja,tablePaddingVerticalMiddle:dr,tablePaddingHorizontalMiddle:Zr,tablePaddingVerticalSmall:Qr,tablePaddingHorizontalSmall:Or,tableBorderColor:Kr,tableHeaderTextColor:xn,tableHeaderBg:Ut,tableFooterTextColor:ur,tableFooterBg:jr,tableHeaderCellSplitColor:$r,tableHeaderSortBg:Sn,tableHeaderSortHoverBg:En,tableHeaderIconColor:Do.clone().setAlpha(Do.getAlpha()*pt).toRgbString(),tableHeaderIconColorHover:yi.clone().setAlpha(yi.getAlpha()*pt).toRgbString(),tableBodySortBg:ea,tableFixedHeaderSortActiveBg:yo,tableHeaderFilterActiveBg:lo,tableFilterDropdownBg:kr,tableRowHoverBg:ra,tableSelectedRowBg:ma,tableSelectedRowHoverBg:La,zIndexTableFixed:Ao,zIndexTableSticky:Ao+1,tableFontSizeMiddle:$a,tableFontSizeSmall:cr,tableSelectionColumnWidth:wo,tableExpandIconBg:vo,tableExpandColumnWidth:Qt+2*Ee.padding,tableExpandedRowBg:zt,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ta,tableScrollThumbBgHover:Ce,tableScrollBg:Ue});return[oo(qr),Ma(qr),li(qr),Vo(qr),Aa(qr),Se(qr),ga(qr),kn(qr),li(qr),Xt(qr),Ir(qr),vn(qr),Ho(qr),tt(qr),Rr(qr),Ar(qr),zi(qr)]},Ee=>{const{colorFillAlter:Ce,colorBgContainer:Ue,colorTextHeading:rt,colorFillSecondary:ht,colorFillContent:pt,controlItemBgActive:$t,controlItemBgActiveHover:Qt,padding:Ut,paddingSM:xn,paddingXS:Sn,colorBorderSecondary:En,borderRadiusLG:ea,fontSize:ra,controlHeight:ma,colorTextPlaceholder:La}=Ee,zt=new Xl.C(ht).onBackground(Ue).toHexShortString(),nr=new Xl.C(pt).onBackground(Ue).toHexShortString(),ja=new Xl.C(Ce).onBackground(Ue).toHexShortString();return{headerBg:ja,headerColor:rt,headerSortActiveBg:zt,headerSortHoverBg:nr,bodySortBg:ja,rowHoverBg:ja,rowSelectedBg:$t,rowSelectedHoverBg:Qt,rowExpandedBg:Ce,cellPaddingBlock:Ut,cellPaddingInline:Ut,cellPaddingBlockMD:xn,cellPaddingInlineMD:Sn,cellPaddingBlockSM:Sn,cellPaddingInlineSM:Sn,borderColor:En,headerBorderRadius:ea,footerBg:ja,footerColor:rt,cellFontSize:ra,cellFontSizeMD:ra,cellFontSizeSM:ra,headerSplitColor:En,fixedHeaderSortActiveBg:zt,headerFilterHoverBg:pt,filterDropdownMenuBg:Ue,filterDropdownBg:Ue,expandIconBg:Ue,selectionColumnWidth:ma,stickyScrollBarBg:La,stickyScrollBarBorderRadius:100}});const _o=[],wi=(Ee,Ce)=>{const{prefixCls:Ue,className:rt,rootClassName:ht,style:pt,size:$t,bordered:Qt,dropdownPrefixCls:Ut,dataSource:xn,pagination:Sn,rowSelection:En,rowKey:ea="key",rowClassName:ra,columns:ma,children:La,childrenColumnName:zt,onChange:nr,getPopupContainer:ja,loading:dr,expandIcon:Zr,expandable:Qr,expandedRowRender:Or,expandIconColumnIndex:Kr,indentSize:jr,scroll:ur,sortDirections:sr,locale:yr,showSorterTooltip:$a=!0,virtual:cr}=Ee,$r=le.useMemo(()=>ma||bt(La),[ma,La]),yo=le.useMemo(()=>$r.some(ta=>ta.responsive),[$r]),lo=(0,dl.Z)(yo),kr=le.useMemo(()=>{const ta=new Set(Object.keys(lo).filter(Fo=>lo[Fo]));return $r.filter(Fo=>!Fo.responsive||Fo.responsive.some(Ri=>ta.has(Ri)))},[$r,lo]),vo=(0,tl.Z)(Ee,["className","style","columns"]),{locale:wo=gl.Z,direction:Ta,table:Do,renderEmpty:yi,getPrefixCls:Ao,getPopupContainer:qr}=le.useContext($o.E_),bi=(0,Wi.Z)($t),Yr=Object.assign(Object.assign({},wo.Table),yr),gi=xn||_o,Zo=Ao("table",Ue),_i=Ao("dropdown",Ut),no=Object.assign({childrenColumnName:zt,expandIconColumnIndex:Kr},Qr),{childrenColumnName:zr="children"}=no,Jr=le.useMemo(()=>gi.some(ta=>ta==null?void 0:ta[zr])?"nest":Or||Qr&&Qr.expandedRowRender?"row":null,[gi]),Hr={body:le.useRef()},ce=le.useMemo(()=>typeof ea=="function"?ea:ta=>ta==null?void 0:ta[ea],[ea]),[pe]=Tu(gi,zr,ce),Pe={},Ot=function(ta,Fo){let Ri=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var zo,Ci,Mi;const ii=Object.assign(Object.assign({},Pe),ta);Ri&&((zo=Pe.resetPagination)===null||zo===void 0||zo.call(Pe),!((Ci=ii.pagination)===null||Ci===void 0)&&Ci.current&&(ii.pagination.current=1),Sn&&Sn.onChange&&Sn.onChange(1,(Mi=ii.pagination)===null||Mi===void 0?void 0:Mi.pageSize)),ur&&ur.scrollToFirstRowOnChange!==!1&&Hr.body.current&&(0,nl.Z)(0,{getContainer:()=>Hr.body.current}),nr==null||nr(ii.pagination,ii.filters,ii.sorter,{currentDataSource:ku(Qi(gi,ii.sorterStates,zr),ii.filterStates),action:Fo})},en=(ta,Fo)=>{Ot({sorter:ta,sorterStates:Fo},"sort",!1)},[Oa,va,_n,Ht]=ls({prefixCls:Zo,mergedColumns:kr,onSorterChange:en,sortDirections:sr||["ascend","descend"],tableLocale:Yr,showSorterTooltip:$a}),Un=le.useMemo(()=>Qi(gi,va,zr),[gi,va]);Pe.sorter=Ht(),Pe.sorterStates=va;const Fn=(ta,Fo)=>{Ot({filters:ta,filterStates:Fo},"filter",!0)},[Pt,mn,On]=bu({prefixCls:Zo,locale:Yr,dropdownPrefixCls:_i,mergedColumns:kr,onFilterChange:Fn,getPopupContainer:ja||qr}),sa=ku(Un,mn);Pe.filters=On,Pe.filterStates=mn;const Zn=le.useMemo(()=>{const ta={};return Object.keys(On).forEach(Fo=>{On[Fo]!==null&&(ta[Fo]=On[Fo])}),Object.assign(Object.assign({},_n),{filters:ta})},[_n,On]),[Fa]=ss(Zn),aa=(ta,Fo)=>{Ot({pagination:Object.assign(Object.assign({},Pe.pagination),{current:ta,pageSize:Fo})},"paginate")},[da,Ja]=fs(sa.length,aa,Sn);Pe.pagination=Sn===!1?{}:ji(da,Sn),Pe.resetPagination=Ja;const yn=le.useMemo(()=>{if(Sn===!1||!da.pageSize)return sa;const{current:ta=1,total:Fo,pageSize:Ri=bl}=da;return sa.length<Fo?sa.length>Ri?sa.slice((ta-1)*Ri,ta*Ri):sa:sa.slice((ta-1)*Ri,ta*Ri)},[!!Sn,sa,da&&da.current,da&&da.pageSize,da&&da.total]),[Ca,Ka]=qu({prefixCls:Zo,data:sa,pageData:yn,getRowKey:ce,getRecordByKey:pe,expandType:Jr,childrenColumnName:zr,locale:Yr,getPopupContainer:ja||qr},En),eo=(ta,Fo,Ri)=>{let zo;return typeof ra=="function"?zo=We()(ra(ta,Fo,Ri)):zo=We()(ra),We()({[`${Zo}-row-selected`]:Ka.has(ce(ta,Fo))},zo)};no.__PARENT_RENDER_ICON__=no.expandIcon,no.expandIcon=no.expandIcon||Zr||er(Yr),Jr==="nest"&&no.expandIconColumnIndex===void 0?no.expandIconColumnIndex=En?1:0:no.expandIconColumnIndex>0&&En&&(no.expandIconColumnIndex-=1),typeof no.indentSize!="number"&&(no.indentSize=typeof jr=="number"?jr:15);const Sr=le.useCallback(ta=>Fa(Ca(Pt(Oa(ta)))),[Oa,Pt,Ca]);let ui,Ga;if(Sn!==!1&&(da!=null&&da.total)){let ta;da.size?ta=da.size:ta=bi==="small"||bi==="middle"?"small":void 0;const Fo=Ci=>le.createElement(Pl.Z,Object.assign({},da,{className:We()(`${Zo}-pagination ${Zo}-pagination-${Ci}`,da.className),size:ta})),Ri=Ta==="rtl"?"left":"right",{position:zo}=da;if(zo!==null&&Array.isArray(zo)){const Ci=zo.find(il=>il.includes("top")),Mi=zo.find(il=>il.includes("bottom")),ii=zo.every(il=>`${il}`=="none");!Ci&&!Mi&&!ii&&(Ga=Fo(Ri)),Ci&&(ui=Fo(Ci.toLowerCase().replace("top",""))),Mi&&(Ga=Fo(Mi.toLowerCase().replace("bottom","")))}else Ga=Fo(Ri)}let xo;typeof dr=="boolean"?xo={spinning:dr}:typeof dr=="object"&&(xo=Object.assign({spinning:!0},dr));const[Dr,ao]=Ro(Zo),[,Eo]=(0,qa.Z)(),hi=We()(`${Zo}-wrapper`,Do==null?void 0:Do.className,{[`${Zo}-wrapper-rtl`]:Ta==="rtl"},rt,ht,ao),mi=Object.assign(Object.assign({},Do==null?void 0:Do.style),pt),Cr=yr&&yr.emptyText||(yi==null?void 0:yi("Table"))||le.createElement(Fi.Z,{componentName:"Table"}),po=cr?Jl:Gu,Ki={},Li=le.useMemo(()=>{const{fontSize:ta,lineHeight:Fo,padding:Ri,paddingXS:zo,paddingSM:Ci}=Eo,Mi=Math.floor(ta*Fo);switch(bi){case"large":return Ri*2+Mi;case"small":return zo*2+Mi;default:return Ci*2+Mi}},[Eo,bi]);return cr&&(Ki.listItemHeight=Li),Dr(le.createElement("div",{ref:Ce,className:hi,style:mi},le.createElement(_r.Z,Object.assign({spinning:!1},xo),ui,le.createElement(po,Object.assign({},Ki,vo,{columns:kr,direction:Ta,expandable:no,prefixCls:Zo,className:We()({[`${Zo}-middle`]:bi==="middle",[`${Zo}-small`]:bi==="small",[`${Zo}-bordered`]:Qt,[`${Zo}-empty`]:gi.length===0}),data:yn,rowKey:ce,rowClassName:eo,emptyText:Cr,internalHooks:de,internalRefs:Hr,transformColumns:Sr})),Ga)))};var Ni=le.forwardRef(wi);const fi=(Ee,Ce)=>{const Ue=le.useRef(0);return Ue.current+=1,le.createElement(Ni,Object.assign({},Ee,{ref:Ce,_renderTimes:Ue.current}))},Mo=le.forwardRef(fi);Mo.SELECTION_COLUMN=Il,Mo.EXPAND_COLUMN=b,Mo.SELECTION_ALL=Hu,Mo.SELECTION_INVERT=xu,Mo.SELECTION_NONE=Fu,Mo.Column=di,Mo.ColumnGroup=Ui,Mo.Summary=Oe;var ol=Mo,Xi=ol},12563:function(Vt,jt,ee){"use strict";ee.d(jt,{default:function(){return ze}});var b=ee(59301),de=ee(99267),Be=ee(92310),Ne=ee.n(Be),_e=ee(36785),ke=ee(47729),le=ee(14088),it=ee(36355),qe=ee(17313),Ke=ee(37613),je=ee(83116);const Je=he=>{const{paddingXXS:Qe,lineWidth:We,tagPaddingHorizontal:ft,componentCls:Le}=he,ot=ft-We,dt=Qe-We;return{[Le]:Object.assign(Object.assign({},(0,qe.Wf)(he)),{display:"inline-block",height:"auto",marginInlineEnd:he.marginXS,paddingInline:ot,fontSize:he.tagFontSize,lineHeight:he.tagLineHeight,whiteSpace:"nowrap",background:he.defaultBg,border:`${he.lineWidth}px ${he.lineType} ${he.colorBorder}`,borderRadius:he.borderRadiusSM,opacity:1,transition:`all ${he.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Le}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:he.defaultColor},[`${Le}-close-icon`]:{marginInlineStart:dt,color:he.colorTextDescription,fontSize:he.tagIconSize,cursor:"pointer",transition:`all ${he.motionDurationMid}`,"&:hover":{color:he.colorTextHeading}},[`&${Le}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${he.iconCls}-close, ${he.iconCls}-close:hover`]:{color:he.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Le}-checkable-checked):hover`]:{color:he.colorPrimary,backgroundColor:he.colorFillSecondary},"&:active, &-checked":{color:he.colorTextLightSolid},"&-checked":{backgroundColor:he.colorPrimary,"&:hover":{backgroundColor:he.colorPrimaryHover}},"&:active":{backgroundColor:he.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${he.iconCls} + span, > span + ${he.iconCls}`]:{marginInlineStart:ot}}),[`${Le}-borderless`]:{borderColor:"transparent",background:he.tagBorderlessBg}}},Ye=he=>{const{lineWidth:Qe,fontSizeIcon:We}=he,ft=he.fontSizeSM,Le=`${he.lineHeightSM*ft}px`;return(0,Ke.TS)(he,{tagFontSize:ft,tagLineHeight:Le,tagIconSize:We-2*Qe,tagPaddingHorizontal:8,tagBorderlessBg:he.colorFillTertiary})},ue=he=>({defaultBg:he.colorFillQuaternary,defaultColor:he.colorText});var E=(0,je.Z)("Tag",he=>{const Qe=Ye(he);return Je(Qe)},ue),a=function(he,Qe){var We={};for(var ft in he)Object.prototype.hasOwnProperty.call(he,ft)&&Qe.indexOf(ft)<0&&(We[ft]=he[ft]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ft=Object.getOwnPropertySymbols(he);Le<ft.length;Le++)Qe.indexOf(ft[Le])<0&&Object.prototype.propertyIsEnumerable.call(he,ft[Le])&&(We[ft[Le]]=he[ft[Le]]);return We},y=he=>{const{prefixCls:Qe,style:We,className:ft,checked:Le,onChange:ot,onClick:dt}=he,gt=a(he,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Dt,tag:sn}=b.useContext(it.E_),Ft=rn=>{ot==null||ot(!Le),dt==null||dt(rn)},on=Dt("tag",Qe),[cn,Ve]=E(on),at=Ne()(on,`${on}-checkable`,{[`${on}-checkable-checked`]:Le},sn==null?void 0:sn.className,ft,Ve);return cn(b.createElement("span",Object.assign({},gt,{style:Object.assign(Object.assign({},We),sn==null?void 0:sn.style),className:at,onClick:Ft})))},z=ee(45157);const te=he=>(0,z.Z)(he,(Qe,We)=>{let{textColor:ft,lightBorderColor:Le,lightColor:ot,darkColor:dt}=We;return{[`${he.componentCls}-${Qe}`]:{color:ft,background:ot,borderColor:Le,"&-inverse":{color:he.colorTextLightSolid,background:dt,borderColor:dt},[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,je.b)(["Tag","preset"],he=>{const Qe=Ye(he);return te(Qe)},ue);function se(he){return typeof he!="string"?he:he.charAt(0).toUpperCase()+he.slice(1)}const ie=(he,Qe,We)=>{const ft=se(We);return{[`${he.componentCls}-${Qe}`]:{color:he[`color${We}`],background:he[`color${ft}Bg`],borderColor:he[`color${ft}Border`],[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ve=(0,je.b)(["Tag","status"],he=>{const Qe=Ye(he);return[ie(Qe,"success","Success"),ie(Qe,"processing","Info"),ie(Qe,"error","Error"),ie(Qe,"warning","Warning")]},ue),ye=function(he,Qe){var We={};for(var ft in he)Object.prototype.hasOwnProperty.call(he,ft)&&Qe.indexOf(ft)<0&&(We[ft]=he[ft]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ft=Object.getOwnPropertySymbols(he);Le<ft.length;Le++)Qe.indexOf(ft[Le])<0&&Object.prototype.propertyIsEnumerable.call(he,ft[Le])&&(We[ft[Le]]=he[ft[Le]]);return We};const Ge=(he,Qe)=>{const{prefixCls:We,className:ft,rootClassName:Le,style:ot,children:dt,icon:gt,color:Dt,onClose:sn,closeIcon:Ft,closable:on,bordered:cn=!0}=he,Ve=ye(he,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:at,direction:rn,tag:Kn}=b.useContext(it.E_),[Gt,wn]=b.useState(!0);b.useEffect(()=>{"visible"in Ve&&wn(Ve.visible)},[Ve.visible]);const He=(0,_e.o2)(Dt),ct=(0,_e.yT)(Dt),Lt=He||ct,mt=Object.assign(Object.assign({backgroundColor:Dt&&!Lt?Dt:void 0},Kn==null?void 0:Kn.style),ot),Nt=at("tag",We),[st,nt]=E(Nt),De=Ne()(Nt,Kn==null?void 0:Kn.className,{[`${Nt}-${Dt}`]:Lt,[`${Nt}-has-color`]:Dt&&!Lt,[`${Nt}-hidden`]:!Gt,[`${Nt}-rtl`]:rn==="rtl",[`${Nt}-borderless`]:!cn},ft,Le,nt),fe=et=>{et.stopPropagation(),sn==null||sn(et),!et.defaultPrevented&&wn(!1)},[,Xe]=(0,ke.Z)(on,Ft,et=>et===null?b.createElement(de.Z,{className:`${Nt}-close-icon`,onClick:fe}):b.createElement("span",{className:`${Nt}-close-icon`,onClick:fe},et),null,!1),Rt=typeof Ve.onClick=="function"||dt&&dt.type==="a",Oe=gt||null,Ie=Oe?b.createElement(b.Fragment,null,Oe,dt&&b.createElement("span",null,dt)):dt,vt=b.createElement("span",Object.assign({},Ve,{ref:Qe,className:De,style:mt}),Ie,Xe,He&&b.createElement(re,{key:"preset",prefixCls:Nt}),ct&&b.createElement(ve,{key:"status",prefixCls:Nt}));return st(Rt?b.createElement(le.Z,{component:"Tag"},vt):vt)},Ae=b.forwardRef(Ge);Ae.CheckableTag=y;var ze=Ae},98228:function(Vt,jt,ee){"use strict";ee.d(jt,{default:function(){return Br}});var b=ee(92310),de=ee.n(b),Be=ee(71409),Ne=ee(62730),_e=ee(89490),ke=ee(11036),le=ee(39224),it=ee(28788),qe=ee(77861),Ke=ee(17115),je=ee(90782),Je=ee(18929),Ye=ee(48736),ue=ee(59301),E=function(qt){var An=ue.useRef({valueLabels:new Map});return ue.useMemo(function(){var oa=An.current.valueLabels,Da=new Map,ut=qt.map(function(bn){var Ln,zn=bn.value,pn=(Ln=bn.label)!==null&&Ln!==void 0?Ln:oa.get(zn);return Da.set(zn,pn),(0,_e.Z)((0,_e.Z)({},bn),{},{label:pn})});return An.current.valueLabels=Da,[ut]},[qt])},a=function(qt,An,oa,Da){return ue.useMemo(function(){var ut=qt.map(function(pn){var ia=pn.value;return ia}),bn=An.map(function(pn){var ia=pn.value;return ia}),Ln=ut.filter(function(pn){return!Da[pn]});if(oa){var zn=(0,je.S)(ut,!0,Da);ut=zn.checkedKeys,bn=zn.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ne.Z)(Ln),(0,Ne.Z)(ut)))),bn]},[qt,An,oa,Da])},x=ee(71430),y=function(qt,An){return ue.useMemo(function(){var oa=(0,x.I8)(qt,{fieldNames:An,initWrapper:function(ut){return(0,_e.Z)((0,_e.Z)({},ut),{},{valueEntities:new Map})},processEntity:function(ut,bn){var Ln=ut.node[An.value];if(0)var zn;bn.valueEntities.set(Ln,ut)}});return oa},[qt,An])},z=ee(87075),te=ee(11592),re=function(){return null},se=re,ie=["children","value"];function ve(qt){return(0,te.Z)(qt).map(function(An){if(!ue.isValidElement(An)||!An.type)return null;var oa=An,Da=oa.key,ut=oa.props,bn=ut.children,Ln=ut.value,zn=(0,le.Z)(ut,ie),pn=(0,_e.Z)({key:Da,value:Ln},zn),ia=ve(bn);return ia.length&&(pn.children=ia),pn}).filter(function(An){return An})}function ye(qt){if(!qt)return qt;var An=(0,_e.Z)({},qt);return"props"in An||Object.defineProperty(An,"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."),An}}),An}function Ge(qt,An,oa,Da,ut,bn){var Ln=null,zn=null;function pn(){function ia(Sa){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Sa.map(function(bt,Qn){var Yn="".concat(It,"-").concat(Qn),Gn=bt[bn.value],ir=oa.includes(Gn),Ba=ia(bt[bn.children]||[],Yn,ir),Xn=ue.createElement(se,bt,Ba.map(function(wa){return wa.node}));if(An===Gn&&(Ln=Xn),ir){var Ua={pos:Yn,node:Xn,children:Ba};return kt||zn.push(Ua),Ua}return null}).filter(function(bt){return bt})}zn||(zn=[],ia(Da),zn.sort(function(Sa,It){var kt=Sa.node.props.value,bt=It.node.props.value,Qn=oa.indexOf(kt),Yn=oa.indexOf(bt);return Qn-Yn}))}Object.defineProperty(qt,"triggerNode",{get:function(){return(0,Ye.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),pn(),Ln}}),Object.defineProperty(qt,"allCheckedNodes",{get:function(){return(0,Ye.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),pn(),ut?zn:zn.map(function(Sa){var It=Sa.node;return It})}})}var Ae=function(qt,An,oa){var Da=oa.treeNodeFilterProp,ut=oa.filterTreeNode,bn=oa.fieldNames,Ln=bn.children;return ue.useMemo(function(){if(!An||ut===!1)return qt;var zn;if(typeof ut=="function")zn=ut;else{var pn=An.toUpperCase();zn=function(It,kt){var bt=kt[Da];return String(bt).toUpperCase().includes(pn)}}function ia(Sa){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Sa.reduce(function(kt,bt){var Qn=bt[Ln],Yn=It||zn(An,ye(bt)),Gn=ia(Qn||[],Yn);return(Yn||Gn.length)&&kt.push((0,_e.Z)((0,_e.Z)({},bt),{},(0,z.Z)({isLeaf:void 0},Ln,Gn))),kt},[])}return ia(qt)},[qt,An,Ln,Da,ut])};function ze(qt){var An=ue.useRef();An.current=qt;var oa=ue.useCallback(function(){return An.current.apply(An,arguments)},[]);return oa}function he(qt,An){var oa=An.id,Da=An.pId,ut=An.rootPId,bn={},Ln=[],zn=qt.map(function(pn){var ia=(0,_e.Z)({},pn),Sa=ia[oa];return bn[Sa]=ia,ia.key=ia.key||Sa,ia});return zn.forEach(function(pn){var ia=pn[Da],Sa=bn[ia];Sa&&(Sa.children=Sa.children||[],Sa.children.push(pn)),(ia===ut||!Sa&&ut===null)&&Ln.push(pn)}),Ln}function Qe(qt,An,oa){return ue.useMemo(function(){return qt?oa?he(qt,(0,_e.Z)({id:"id",pId:"pId",rootPId:null},oa!==!0?oa:{})):qt:ve(An)},[An,oa,qt])}var We=ue.createContext(null),ft=We,Le=ee(10228),ot=ee(80547),dt=ee(97401),gt=ue.createContext(null),Dt=gt;function sn(qt){return Array.isArray(qt)?qt:qt!==void 0?[qt]:[]}function Ft(qt){var An=qt||{},oa=An.label,Da=An.value,ut=An.children,bn=Da||"value";return{_title:oa?[oa]:["title","label"],value:bn,key:bn,children:ut||"children"}}function on(qt){return!qt||qt.disabled||qt.disableCheckbox||qt.checkable===!1}function cn(qt,An){var oa=[];function Da(ut){ut.forEach(function(bn){var Ln=bn[An.children];Ln&&(oa.push(bn[An.value]),Da(Ln))})}return Da(qt),oa}function Ve(qt){return qt==null}var at={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},rn=function(An,oa){var Da=(0,qe.lk)(),ut=Da.prefixCls,bn=Da.multiple,Ln=Da.searchValue,zn=Da.toggleOpen,pn=Da.open,ia=Da.notFoundContent,Sa=ue.useContext(Dt),It=Sa.virtual,kt=Sa.listHeight,bt=Sa.listItemHeight,Qn=Sa.treeData,Yn=Sa.fieldNames,Gn=Sa.onSelect,ir=Sa.dropdownMatchSelectWidth,Ba=Sa.treeExpandAction,Xn=ue.useContext(ft),Ua=Xn.checkable,wa=Xn.checkedKeys,Nn=Xn.halfCheckedKeys,mr=Xn.treeExpandedKeys,Nr=Xn.treeDefaultExpandAll,Vr=Xn.treeDefaultExpandedKeys,xr=Xn.onTreeExpand,$e=Xn.treeIcon,Pn=Xn.showTreeIcon,Jt=Xn.switcherIcon,In=Xn.treeLine,Wn=Xn.treeNodeFilterProp,la=Xn.loadData,Ct=Xn.treeLoadedKeys,xt=Xn.treeMotion,an=Xn.onTreeLoad,tn=Xn.keyEntities,Kt=ue.useRef(),xa=(0,ot.Z)(function(){return Qn},[pn,Qn],function(to,Yo){return Yo[0]&&to[1]!==Yo[1]}),Ea=ue.useState(null),Qa=(0,ke.Z)(Ea,2),za=Qa[0],$n=Qa[1],na=tn[za],ba=ue.useMemo(function(){return Ua?{checked:wa,halfChecked:Nn}:null},[Ua,wa,Nn]);ue.useEffect(function(){if(pn&&!bn&&wa.length){var to;(to=Kt.current)===null||to===void 0||to.scrollTo({key:wa[0]}),$n(wa[0])}},[pn]);var Pa=String(Ln).toLowerCase(),vr=function(Yo){return Pa?String(Yo[Wn]).toLowerCase().includes(Pa):!1},Tr=ue.useState(Vr),Ya=(0,ke.Z)(Tr,2),lr=Ya[0],hr=Ya[1],Po=ue.useState(null),ri=(0,ke.Z)(Po,2),xi=ri[0],ho=ri[1],bo=ue.useMemo(function(){return mr?(0,Ne.Z)(mr):Ln?xi:lr},[lr,xi,mr,Ln]);ue.useEffect(function(){Ln&&ho(cn(Qn,Yn))},[Ln]);var Wo=function(Yo){hr(Yo),ho(Yo),xr&&xr(Yo)},ko=function(Yo){Yo.preventDefault()},No=function(Yo,Jo){var Lo=Jo.node;Ua&&on(Lo)||(Gn(Lo.key,{selected:!wa.includes(Lo.key)}),bn||zn(!1))};if(ue.useImperativeHandle(oa,function(){var to;return{scrollTo:(to=Kt.current)===null||to===void 0?void 0:to.scrollTo,onKeyDown:function(Jo){var Lo,wr=Jo.which;switch(wr){case Le.Z.UP:case Le.Z.DOWN:case Le.Z.LEFT:case Le.Z.RIGHT:(Lo=Kt.current)===null||Lo===void 0||Lo.onKeyDown(Jo);break;case Le.Z.ENTER:{if(na){var oi=(na==null?void 0:na.node)||{},Gr=oi.selectable,To=oi.value;Gr!==!1&&No(null,{node:{key:za},selected:!wa.includes(To)})}break}case Le.Z.ESC:zn(!1)}},onKeyUp:function(){}}}),xa.length===0)return ue.createElement("div",{role:"listbox",className:"".concat(ut,"-empty"),onMouseDown:ko},ia);var Er={fieldNames:Yn};return Ct&&(Er.loadedKeys=Ct),bo&&(Er.expandedKeys=bo),ue.createElement("div",{onMouseDown:ko},na&&pn&&ue.createElement("span",{style:at,"aria-live":"assertive"},na.node.value),ue.createElement(dt.Z,(0,Be.Z)({ref:Kt,focusable:!1,prefixCls:"".concat(ut,"-tree"),treeData:xa,height:kt,itemHeight:bt,virtual:It!==!1&&ir!==!1,multiple:bn,icon:$e,showIcon:Pn,switcherIcon:Jt,showLine:In,loadData:Ln?null:la,motion:xt,activeKey:za,checkable:Ua,checkStrictly:!0,checkedKeys:ba,selectedKeys:Ua?[]:wa,defaultExpandAll:Nr},Er,{onActiveChange:$n,onSelect:No,onCheck:No,onExpand:Wo,onLoad:an,filterTreeNode:vr,expandAction:Ba})))},Kn=ue.forwardRef(rn);Kn.displayName="OptionList";var Gt=Kn,wn="SHOW_ALL",He="SHOW_PARENT",ct="SHOW_CHILD";function Lt(qt,An,oa,Da){var ut=new Set(qt);return An===ct?qt.filter(function(bn){var Ln=oa[bn];return!(Ln&&Ln.children&&Ln.children.some(function(zn){var pn=zn.node;return ut.has(pn[Da.value])})&&Ln.children.every(function(zn){var pn=zn.node;return on(pn)||ut.has(pn[Da.value])}))}):An===He?qt.filter(function(bn){var Ln=oa[bn],zn=Ln?Ln.parent:null;return!(zn&&!on(zn.node)&&ut.has(zn.key))}):qt}function mt(qt){var An=qt.searchPlaceholder,oa=qt.treeCheckStrictly,Da=qt.treeCheckable,ut=qt.labelInValue,bn=qt.value,Ln=qt.multiple;warning(!An,"`searchPlaceholder` has been removed."),oa&&ut===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(ut||oa)&&warning(toArray(bn).every(function(zn){return zn&&_typeof(zn)==="object"&&"value"in zn}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),oa||Ln||Da?warning(!bn||Array.isArray(bn),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(bn),"`value` should not be array when `TreeSelect` is single mode.")}var Nt=null,st=["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(qt){return!qt||(0,it.Z)(qt)!=="object"}var De=ue.forwardRef(function(qt,An){var oa=qt.id,Da=qt.prefixCls,ut=Da===void 0?"rc-tree-select":Da,bn=qt.value,Ln=qt.defaultValue,zn=qt.onChange,pn=qt.onSelect,ia=qt.onDeselect,Sa=qt.searchValue,It=qt.inputValue,kt=qt.onSearch,bt=qt.autoClearSearchValue,Qn=bt===void 0?!0:bt,Yn=qt.filterTreeNode,Gn=qt.treeNodeFilterProp,ir=Gn===void 0?"value":Gn,Ba=qt.showCheckedStrategy,Xn=qt.treeNodeLabelProp,Ua=qt.multiple,wa=qt.treeCheckable,Nn=qt.treeCheckStrictly,mr=qt.labelInValue,Nr=qt.fieldNames,Vr=qt.treeDataSimpleMode,xr=qt.treeData,$e=qt.children,Pn=qt.loadData,Jt=qt.treeLoadedKeys,In=qt.onTreeLoad,Wn=qt.treeDefaultExpandAll,la=qt.treeExpandedKeys,Ct=qt.treeDefaultExpandedKeys,xt=qt.onTreeExpand,an=qt.treeExpandAction,tn=qt.virtual,Kt=qt.listHeight,xa=Kt===void 0?200:Kt,Ea=qt.listItemHeight,Qa=Ea===void 0?20:Ea,za=qt.onDropdownVisibleChange,$n=qt.dropdownMatchSelectWidth,na=$n===void 0?!0:$n,ba=qt.treeLine,Pa=qt.treeIcon,vr=qt.showTreeIcon,Tr=qt.switcherIcon,Ya=qt.treeMotion,lr=(0,le.Z)(qt,st),hr=(0,Ke.ZP)(oa),Po=wa&&!Nn,ri=wa||Nn,xi=Nn||mr,ho=ri||Ua,bo=(0,Je.Z)(Ln,{value:bn}),Wo=(0,ke.Z)(bo,2),ko=Wo[0],No=Wo[1],Er=ue.useMemo(function(){return wa?Ba||ct:wn},[Ba,wa]),to=ue.useMemo(function(){return Ft(Nr)},[JSON.stringify(Nr)]),Yo=(0,Je.Z)("",{value:Sa!==void 0?Sa:It,postState:function(Ha){return Ha||""}}),Jo=(0,ke.Z)(Yo,2),Lo=Jo[0],wr=Jo[1],oi=function(Ha){wr(Ha),kt==null||kt(Ha)},Gr=Qe(xr,$e,Vr),To=y(Gr,to),mo=To.keyEntities,di=To.valueEntities,vi=ue.useCallback(function(Wa){var Ha=[],tr=[];return Wa.forEach(function(Mr){di.has(Mr)?tr.push(Mr):Ha.push(Mr)}),{missingRawValues:Ha,existRawValues:tr}},[di]),Ui=Ae(Gr,Lo,{fieldNames:to,treeNodeFilterProp:ir,filterTreeNode:Yn}),tl=ue.useCallback(function(Wa){if(Wa){if(Xn)return Wa[Xn];for(var Ha=to._title,tr=0;tr<Ha.length;tr+=1){var Mr=Wa[Ha[tr]];if(Mr!==void 0)return Mr}}},[to,Xn]),nl=ue.useCallback(function(Wa){var Ha=sn(Wa);return Ha.map(function(tr){return nt(tr)?{value:tr}:tr})},[]),$o=ue.useCallback(function(Wa){var Ha=nl(Wa);return Ha.map(function(tr){var Mr=tr.label,Co=tr.value,Uo=tr.halfChecked,Ko,Ti=di.get(Co);if(Ti){var Ji;Mr=(Ji=Mr)!==null&&Ji!==void 0?Ji:tl(Ti.node),Ko=Ti.node.disabled}else if(Mr===void 0){var al=nl(ko).find(function(Zl){return Zl.value===Co});Mr=al.label}return{label:Mr,value:Co,halfChecked:Uo,disabled:Ko}})},[di,tl,nl,ko]),Fi=ue.useMemo(function(){return nl(ko)},[nl,ko]),Wi=ue.useMemo(function(){var Wa=[],Ha=[];return Fi.forEach(function(tr){tr.halfChecked?Ha.push(tr):Wa.push(tr)}),[Wa,Ha]},[Fi]),dl=(0,ke.Z)(Wi,2),gl=dl[0],Pl=dl[1],_r=ue.useMemo(function(){return gl.map(function(Wa){return Wa.value})},[gl]),qa=a(gl,Pl,Po,mo),Va=(0,ke.Z)(qa,2),er=Va[0],so=Va[1],we=ue.useMemo(function(){var Wa=Lt(er,Er,mo,to),Ha=Wa.map(function(Uo){var Ko,Ti,Ji;return(Ko=(Ti=mo[Uo])===null||Ti===void 0||(Ji=Ti.node)===null||Ji===void 0?void 0:Ji[to.value])!==null&&Ko!==void 0?Ko:Uo}),tr=Ha.map(function(Uo){var Ko=gl.find(function(Ti){return Ti.value===Uo});return{value:Uo,label:Ko==null?void 0:Ko.label}}),Mr=$o(tr),Co=Mr[0];return!ho&&Co&&Ve(Co.value)&&Ve(Co.label)?[]:Mr.map(function(Uo){var Ko;return(0,_e.Z)((0,_e.Z)({},Uo),{},{label:(Ko=Uo.label)!==null&&Ko!==void 0?Ko:Uo.value})})},[to,ho,er,gl,$o,Er,mo]),hn=E(we),Rn=(0,ke.Z)(hn,1),ya=Rn[0],un=ze(function(Wa,Ha,tr){var Mr=$o(Wa);if(No(Mr),Qn&&wr(""),zn){var Co=Wa;if(Po){var Uo=Lt(Wa,Er,mo,to);Co=Uo.map(function(Nl){var xl=di.get(Nl);return xl?xl.node[to.value]:Nl})}var Ko=Ha||{triggerValue:void 0,selected:void 0},Ti=Ko.triggerValue,Ji=Ko.selected,al=Co;if(Nn){var Zl=Pl.filter(function(Nl){return!Co.includes(Nl.value)});al=[].concat((0,Ne.Z)(al),(0,Ne.Z)(Zl))}var Al=$o(al),So={preValue:gl,triggerValue:Ti},yl=!0;(Nn||tr==="selection"&&!Ji)&&(yl=!1),Ge(So,Ti,Wa,Gr,yl,to),ri?So.checked=Ji:So.selected=Ji;var eu=xi?Al:Al.map(function(Nl){return Nl.value});zn(ho?eu:eu[0],xi?null:Al.map(function(Nl){return Nl.label}),So)}}),Za=ue.useCallback(function(Wa,Ha){var tr,Mr=Ha.selected,Co=Ha.source,Uo=mo[Wa],Ko=Uo==null?void 0:Uo.node,Ti=(tr=Ko==null?void 0:Ko[to.value])!==null&&tr!==void 0?tr:Wa;if(!ho)un([Ti],{selected:!0,triggerValue:Ti},"option");else{var Ji=Mr?[].concat((0,Ne.Z)(_r),[Ti]):er.filter(function(xl){return xl!==Ti});if(Po){var al=vi(Ji),Zl=al.missingRawValues,Al=al.existRawValues,So=Al.map(function(xl){return di.get(xl).key}),yl;if(Mr){var eu=(0,je.S)(So,!0,mo);yl=eu.checkedKeys}else{var Nl=(0,je.S)(So,{checked:!1,halfCheckedKeys:so},mo);yl=Nl.checkedKeys}Ji=[].concat((0,Ne.Z)(Zl),(0,Ne.Z)(yl.map(function(xl){return mo[xl].node[to.value]})))}un(Ji,{selected:Mr,triggerValue:Ti},Co||"option")}Mr||!ho?pn==null||pn(Ti,ye(Ko)):ia==null||ia(Ti,ye(Ko))},[vi,di,mo,to,ho,_r,un,Po,pn,ia,er,so]),Na=ue.useCallback(function(Wa){if(za){var Ha={};Object.defineProperty(Ha,"documentClickClose",{get:function(){return(0,Ye.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),za(Wa,Ha)}},[za]),Hn=ze(function(Wa,Ha){var tr=Wa.map(function(Mr){return Mr.value});if(Ha.type==="clear"){un(tr,{},"selection");return}Ha.values.length&&Za(Ha.values[0].value,{selected:!1,source:"selection"})}),qn=ue.useMemo(function(){return{virtual:tn,dropdownMatchSelectWidth:na,listHeight:xa,listItemHeight:Qa,treeData:Ui,fieldNames:to,onSelect:Za,treeExpandAction:an}},[tn,na,xa,Qa,Ui,to,Za,an]),pr=ue.useMemo(function(){return{checkable:ri,loadData:Pn,treeLoadedKeys:Jt,onTreeLoad:In,checkedKeys:er,halfCheckedKeys:so,treeDefaultExpandAll:Wn,treeExpandedKeys:la,treeDefaultExpandedKeys:Ct,onTreeExpand:xt,treeIcon:Pa,treeMotion:Ya,showTreeIcon:vr,switcherIcon:Tr,treeLine:ba,treeNodeFilterProp:ir,keyEntities:mo}},[ri,Pn,Jt,In,er,so,Wn,la,Ct,xt,Pa,Ya,vr,Tr,ba,ir,mo]);return ue.createElement(Dt.Provider,{value:qn},ue.createElement(ft.Provider,{value:pr},ue.createElement(qe.Ac,(0,Be.Z)({ref:An},lr,{id:hr,prefixCls:ut,mode:ho?"multiple":void 0,displayValues:ya,onDisplayValuesChange:Hn,searchValue:Lo,onSearch:oi,OptionList:Gt,emptyOptions:!Gr.length,onDropdownVisibleChange:Na,dropdownMatchSelectWidth:na}))))}),fe=De;fe.TreeNode=se,fe.SHOW_ALL=wn,fe.SHOW_PARENT=He,fe.SHOW_CHILD=ct;var Xe=fe,Rt=Xe,Oe=ee(2738),Ie=ee(53487),vt=ee(62892),et=ee(19080),Me=ee(36355),St=ee(1684),Bn=ee(93891),nn=ee(19716),fn=ee(32441),ln=ee(14154),Cn=ee(58582),Ze=ee(84443),yt=ee(66339),Zt=ee(33234),Bt=ee(71997),Mt=ee(98447),dn=ee(37613),gn=ee(83116),Dn=ee(20648);const Jn=qt=>{const{componentCls:An,treePrefixCls:oa,colorBgElevated:Da}=qt,ut=`.${oa}`;return[{[`${An}-dropdown`]:[{padding:`${qt.paddingXS}px ${qt.paddingXS/2}px`},(0,Dn.Yk)(oa,(0,dn.TS)(qt,{colorBgContainer:Da})),{[ut]:{borderRadius:0,[`${ut}-list-holder-inner`]:{alignItems:"stretch",[`${ut}-treenode`]:{[`${ut}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Mt.C2)(`${oa}-checkbox`,qt),{"&-rtl":{direction:"rtl",[`${ut}-switcher${ut}-switcher_close`]:{[`${ut}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function ha(qt,An){return(0,gn.Z)("TreeSelect",oa=>{const Da=(0,dn.TS)(oa,{treePrefixCls:An});return[Jn(Da)]},Dn.TM)(qt)}var Ra=function(qt,An){var oa={};for(var Da in qt)Object.prototype.hasOwnProperty.call(qt,Da)&&An.indexOf(Da)<0&&(oa[Da]=qt[Da]);if(qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Da=Object.getOwnPropertySymbols(qt);ut<Da.length;ut++)An.indexOf(Da[ut])<0&&Object.prototype.propertyIsEnumerable.call(qt,Da[ut])&&(oa[Da[ut]]=qt[Da[ut]]);return oa};const _a=(qt,An)=>{var oa,{prefixCls:Da,size:ut,disabled:bn,bordered:Ln=!0,className:zn,rootClassName:pn,treeCheckable:ia,multiple:Sa,listHeight:It=256,listItemHeight:kt=26,placement:bt,notFoundContent:Qn,switcherIcon:Yn,treeLine:Gn,getPopupContainer:ir,popupClassName:Ba,dropdownClassName:Xn,treeIcon:Ua=!1,transitionName:wa,choiceTransitionName:Nn="",status:mr,treeExpandAction:Nr,builtinPlacements:Vr,dropdownMatchSelectWidth:xr,popupMatchSelectWidth:$e,allowClear:Pn}=qt,Jt=Ra(qt,["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:In,getPrefixCls:Wn,renderEmpty:la,direction:Ct,virtual:xt,popupMatchSelectWidth:an,popupOverflow:tn}=ue.useContext(Me.E_),Kt=Wn(),xa=Wn("select",Da),Ea=Wn("select-tree",Da),Qa=Wn("tree-select",Da),{compactSize:za,compactItemClassnames:$n}=(0,Zt.ri)(xa,Ct),[na,ba]=(0,ln.Z)(xa),[Pa]=ha(Qa,Ea),vr=de()(Ba||Xn,`${Qa}-dropdown`,{[`${Qa}-dropdown-rtl`]:Ct==="rtl"},pn,ba),Tr=!!(ia||Sa),Ya=(0,Ze.Z)(Jt.suffixIcon,Jt.showArrow),lr=(oa=$e!=null?$e:xr)!==null&&oa!==void 0?oa:an,{status:hr,hasFeedback:Po,isFormItemInput:ri,feedbackIcon:xi}=ue.useContext(fn.aM),ho=(0,et.F)(hr,mr),{suffixIcon:bo,removeIcon:Wo,clearIcon:ko}=(0,yt.Z)(Object.assign(Object.assign({},Jt),{multiple:Tr,showSuffixIcon:Ya,hasFeedback:Po,feedbackIcon:xi,prefixCls:xa,componentName:"TreeSelect"})),No=Pn===!0?{clearIcon:ko}:Pn;let Er;Qn!==void 0?Er=Qn:Er=(la==null?void 0:la("Select"))||ue.createElement(Bn.Z,{componentName:"Select"});const to=(0,Oe.Z)(Jt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Yo=ue.useMemo(()=>bt!==void 0?bt:Ct==="rtl"?"bottomRight":"bottomLeft",[bt,Ct]),Jo=(0,Cn.Z)(Vr,tn),Lo=(0,nn.Z)(di=>{var vi;return(vi=ut!=null?ut:za)!==null&&vi!==void 0?vi:di}),wr=ue.useContext(St.Z),oi=bn!=null?bn:wr,Gr=de()(!Da&&Qa,{[`${xa}-lg`]:Lo==="large",[`${xa}-sm`]:Lo==="small",[`${xa}-rtl`]:Ct==="rtl",[`${xa}-borderless`]:!Ln,[`${xa}-in-form-item`]:ri},(0,et.Z)(xa,ho,Po),$n,zn,pn,ba),To=di=>ue.createElement(Bt.Z,{prefixCls:Ea,switcherIcon:Yn,treeNodeProps:di,showLine:Gn}),mo=ue.createElement(Rt,Object.assign({virtual:xt,disabled:oi},to,{dropdownMatchSelectWidth:lr,builtinPlacements:Jo,ref:An,prefixCls:xa,className:Gr,listHeight:It,listItemHeight:kt,treeCheckable:ia&&ue.createElement("span",{className:`${xa}-tree-checkbox-inner`}),treeLine:!!Gn,suffixIcon:bo,multiple:Tr,placement:Yo,removeIcon:Wo,allowClear:No,switcherIcon:To,showTreeIcon:Ua,notFoundContent:Er,getPopupContainer:ir||In,treeMotion:null,dropdownClassName:vr,choiceTransitionName:(0,vt.m)(Kt,"",Nn),transitionName:(0,vt.m)(Kt,"slide-up",wa),treeExpandAction:Nr}));return na(Pa(mo))},ar=ue.forwardRef(_a),pa=(0,Ie.Z)(ar);ar.TreeNode=se,ar.SHOW_ALL=wn,ar.SHOW_PARENT=He,ar.SHOW_CHILD=ct,ar._InternalPanelDoNotUseOrYouWillBeFired=pa;var Br=ar},17574:function(Vt,jt,ee){"use strict";ee.d(jt,{default:function(){return Dt}});var b=ee(97401),de=ee(62730),Be=ee(52671),Ne=ee(8657),_e=ee(71409),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"},it=le,qe=ee(7657),Ke=function(Ft,on){return ke.createElement(qe.Z,(0,_e.Z)({},Ft,{ref:on,icon:it}))},je=ke.forwardRef(Ke),Je=je,Ye=ee(92310),ue=ee.n(Ye),E=ee(35654),a=ee(71430),x=ee(36355),y=ee(56082),z=ee(62892),te=ee(20648);const re=4;function se(sn){const{dropPosition:Ft,dropLevelOffset:on,prefixCls:cn,indent:Ve,direction:at="ltr"}=sn,rn=at==="ltr"?"left":"right",Kn=at==="ltr"?"right":"left",Gt={[rn]:-on*Ve+re,[Kn]:0};switch(Ft){case-1:Gt.top=-3;break;case 1:Gt.bottom=-3;break;default:Gt.bottom=-3,Gt[rn]=Ve+re;break}return ke.createElement("div",{style:Gt,className:`${cn}-drop-indicator`})}var ie=ee(71997),ye=ke.forwardRef((sn,Ft)=>{const{getPrefixCls:on,direction:cn,virtual:Ve,tree:at}=ke.useContext(x.E_),{prefixCls:rn,className:Kn,showIcon:Gt=!1,showLine:wn,switcherIcon:He,blockNode:ct=!1,children:Lt,checkable:mt=!1,selectable:Nt=!0,draggable:st,motion:nt,style:De}=sn,fe=on("tree",rn),Xe=on(),Rt=nt!=null?nt:Object.assign(Object.assign({},(0,z.Z)(Xe)),{motionAppear:!1}),Oe=Object.assign(Object.assign({},sn),{checkable:mt,selectable:Nt,showIcon:Gt,motion:Rt,blockNode:ct,showLine:!!wn,dropIndicatorRender:se}),[Ie,vt]=(0,te.ZP)(fe),et=ke.useMemo(()=>{if(!st)return!1;let St={};switch(typeof st){case"function":St.nodeDraggable=st;break;case"object":St=Object.assign({},st);break;default:break}return St.icon!==!1&&(St.icon=St.icon||ke.createElement(y.Z,null)),St},[st]),Me=St=>ke.createElement(ie.Z,{prefixCls:fe,switcherIcon:He,treeNodeProps:St,showLine:wn});return Ie(ke.createElement(b.Z,Object.assign({itemHeight:20,ref:Ft,virtual:Ve},Oe,{style:Object.assign(Object.assign({},at==null?void 0:at.style),De),prefixCls:fe,className:ue()({[`${fe}-icon-hide`]:!Gt,[`${fe}-block-node`]:ct,[`${fe}-unselectable`]:!Nt,[`${fe}-rtl`]:cn==="rtl"},at==null?void 0:at.className,Kn,vt),direction:cn,checkable:mt&&ke.createElement("span",{className:`${fe}-checkbox-inner`}),selectable:Nt,switcherIcon:Me,draggable:et}),Lt))}),Ge;(function(sn){sn[sn.None=0]="None",sn[sn.Start=1]="Start",sn[sn.End=2]="End"})(Ge||(Ge={}));function Ae(sn,Ft){function on(cn){const{key:Ve,children:at}=cn;Ft(Ve,cn)!==!1&&Ae(at||[],Ft)}sn.forEach(on)}function ze(sn){let{treeData:Ft,expandedKeys:on,startKey:cn,endKey:Ve}=sn;const at=[];let rn=Ge.None;if(cn&&cn===Ve)return[cn];if(!cn||!Ve)return[];function Kn(Gt){return Gt===cn||Gt===Ve}return Ae(Ft,Gt=>{if(rn===Ge.End)return!1;if(Kn(Gt)){if(at.push(Gt),rn===Ge.None)rn=Ge.Start;else if(rn===Ge.Start)return rn=Ge.End,!1}else rn===Ge.Start&&at.push(Gt);return on.includes(Gt)}),at}function he(sn,Ft){const on=(0,de.Z)(Ft),cn=[];return Ae(sn,(Ve,at)=>{const rn=on.indexOf(Ve);return rn!==-1&&(cn.push(at),on.splice(rn,1)),!!on.length}),cn}var Qe=function(sn,Ft){var on={};for(var cn in sn)Object.prototype.hasOwnProperty.call(sn,cn)&&Ft.indexOf(cn)<0&&(on[cn]=sn[cn]);if(sn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,cn=Object.getOwnPropertySymbols(sn);Ve<cn.length;Ve++)Ft.indexOf(cn[Ve])<0&&Object.prototype.propertyIsEnumerable.call(sn,cn[Ve])&&(on[cn[Ve]]=sn[cn[Ve]]);return on};function We(sn){const{isLeaf:Ft,expanded:on}=sn;return Ft?ke.createElement(Be.Z,null):on?ke.createElement(Ne.Z,null):ke.createElement(Je,null)}function ft(sn){let{treeData:Ft,children:on}=sn;return Ft||(0,a.zn)(on)}const Le=(sn,Ft)=>{var{defaultExpandAll:on,defaultExpandParent:cn,defaultExpandedKeys:Ve}=sn,at=Qe(sn,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const rn=ke.useRef(),Kn=ke.useRef(),Gt=()=>{const{keyEntities:et}=(0,a.I8)(ft(at));let Me;return on?Me=Object.keys(et):cn?Me=(0,E.r7)(at.expandedKeys||Ve||[],et):Me=at.expandedKeys||Ve,Me},[wn,He]=ke.useState(at.selectedKeys||at.defaultSelectedKeys||[]),[ct,Lt]=ke.useState(()=>Gt());ke.useEffect(()=>{"selectedKeys"in at&&He(at.selectedKeys)},[at.selectedKeys]),ke.useEffect(()=>{"expandedKeys"in at&&Lt(at.expandedKeys)},[at.expandedKeys]);const mt=(et,Me)=>{var St;return"expandedKeys"in at||Lt(et),(St=at.onExpand)===null||St===void 0?void 0:St.call(at,et,Me)},Nt=(et,Me)=>{var St;const{multiple:Bn}=at,{node:nn,nativeEvent:fn}=Me,{key:ln=""}=nn,Cn=ft(at),Ze=Object.assign(Object.assign({},Me),{selected:!0}),yt=(fn==null?void 0:fn.ctrlKey)||(fn==null?void 0:fn.metaKey),Zt=fn==null?void 0:fn.shiftKey;let Bt;Bn&&yt?(Bt=et,rn.current=ln,Kn.current=Bt,Ze.selectedNodes=he(Cn,Bt)):Bn&&Zt?(Bt=Array.from(new Set([].concat((0,de.Z)(Kn.current||[]),(0,de.Z)(ze({treeData:Cn,expandedKeys:ct,startKey:ln,endKey:rn.current}))))),Ze.selectedNodes=he(Cn,Bt)):(Bt=[ln],rn.current=ln,Kn.current=Bt,Ze.selectedNodes=he(Cn,Bt)),(St=at.onSelect)===null||St===void 0||St.call(at,Bt,Ze),"selectedKeys"in at||He(Bt)},{getPrefixCls:st,direction:nt}=ke.useContext(x.E_),{prefixCls:De,className:fe,showIcon:Xe=!0,expandAction:Rt="click"}=at,Oe=Qe(at,["prefixCls","className","showIcon","expandAction"]),Ie=st("tree",De),vt=ue()(`${Ie}-directory`,{[`${Ie}-directory-rtl`]:nt==="rtl"},fe);return ke.createElement(ye,Object.assign({icon:We,ref:Ft,blockNode:!0},Oe,{showIcon:Xe,expandAction:Rt,prefixCls:Ie,className:vt,expandedKeys:ct,selectedKeys:wn,onSelect:Nt,onExpand:mt}))};var dt=ke.forwardRef(Le);const gt=ye;gt.DirectoryTree=dt,gt.TreeNode=b.O;var Dt=gt},20648:function(Vt,jt,ee){"use strict";ee.d(jt,{TM:function(){return Ye},Yk:function(){return Je}});var b=ee(93083),de=ee(98447),Be=ee(17313),Ne=ee(8378),_e=ee(37613),ke=ee(83116);const le=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),it=(ue,E)=>({[`.${ue}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${E.motionDurationSlow}`}}}),qe=(ue,E)=>({[`.${ue}-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:'""'}}}),Ke=(ue,E)=>{const{treeCls:a,treeNodeCls:x,treeNodePadding:y,titleHeight:z,nodeSelectedBg:te,nodeHoverBg:re}=E,se=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({},it(ue,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:se},[`${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:te},[`${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"},qe(ue,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=ue=>{const{treeCls:E,treeNodeCls:a,treeNodePadding:x,directoryNodeSelectedBg:y,directoryNodeSelectedColor:z}=ue;return{[`${E}${E}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${ue.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ue.controlItemBgHover}},"> *":{zIndex:1},[`${E}-switcher`]:{transition:`color ${ue.motionDurationMid}`},[`${E}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${E}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:y},[`${E}-switcher`]:{color:z},[`${E}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},Je=(ue,E)=>{const a=`.${ue}`,x=`${a}-treenode`,y=E.paddingXS/2,z=(0,_e.TS)(E,{treeCls:a,treeNodeCls:x,treeNodePadding:y});return[Ke(ue,z),je(z)]},Ye=ue=>{const{controlHeightSM:E}=ue;return{titleHeight:E,nodeHoverBg:ue.controlItemBgHover,nodeSelectedBg:ue.controlItemBgActive}};jt.ZP=(0,ke.Z)("Tree",(ue,E)=>{let{prefixCls:a}=E;return[{[ue.componentCls]:(0,de.C2)(`${a}-checkbox`,ue)},Je(a,ue),(0,Ne.Z)(ue)]},ue=>{const{colorTextLightSolid:E,colorPrimary:a}=ue;return Object.assign(Object.assign({},Ye(ue)),{directoryNodeSelectedColor:E,directoryNodeSelectedBg:a})})},71997:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return x}});var b=ee(71409),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,_e=ee(7657),ke=function(z,te){return de.createElement(_e.Z,(0,b.Z)({},z,{ref:te,icon:Ne}))},le=de.forwardRef(ke),it=le,qe=ee(52671),Ke=ee(58617),je=ee(15075),Je=ee(43531),Ye=ee(92310),ue=ee.n(Ye),E=ee(92343),x=y=>{const{prefixCls:z,switcherIcon:te,treeNodeProps:re,showLine:se}=y,{isLeaf:ie,expanded:ve,loading:ye}=re;if(ye)return de.createElement(Ke.Z,{className:`${z}-switcher-loading-icon`});let Ge;if(se&&typeof se=="object"&&(Ge=se.showLeafIcon),ie){if(!se)return null;if(typeof Ge!="boolean"&&Ge){const he=typeof Ge=="function"?Ge(re):Ge,Qe=`${z}-switcher-line-custom-icon`;return(0,E.l$)(he)?(0,E.Tm)(he,{className:ue()(he.props.className||"",Qe)}):he}return Ge?de.createElement(qe.Z,{className:`${z}-switcher-line-icon`}):de.createElement("span",{className:`${z}-switcher-leaf-line`})}const Ae=`${z}-switcher-icon`,ze=typeof te=="function"?te(re):te;return(0,E.l$)(ze)?(0,E.Tm)(ze,{className:ue()(ze.props.className||"",Ae)}):ze!==void 0?ze:se?ve?de.createElement(je.Z,{className:`${z}-switcher-line-icon`}):de.createElement(Je.Z,{className:`${z}-switcher-line-icon`}):de.createElement(it,{className:Ae})}},54580:function(Vt,jt,ee){"use strict";ee.d(jt,{default:function(){return xr}});var b=ee(59301),de=ee(62730),Be=ee(92310),Ne=ee.n(Be),_e=ee(71409),ke=ee(16552),le=ee(19210),it=ee(46654),qe=ee(37205),Ke=ee(87075),je=ee(39224),Je=ee(58676),Ye=ee(28788),ue=ee(93195),E=ee(26112);function a($e,Pn){var Jt="cannot ".concat($e.method," ").concat($e.action," ").concat(Pn.status,"'"),In=new Error(Jt);return In.status=Pn.status,In.method=$e.method,In.url=$e.action,In}function x($e){var Pn=$e.responseText||$e.response;if(!Pn)return Pn;try{return JSON.parse(Pn)}catch(Jt){return Pn}}function y($e){var Pn=new XMLHttpRequest;$e.onProgress&&Pn.upload&&(Pn.upload.onprogress=function(la){la.total>0&&(la.percent=la.loaded/la.total*100),$e.onProgress(la)});var Jt=new FormData;$e.data&&Object.keys($e.data).forEach(function(Wn){var la=$e.data[Wn];if(Array.isArray(la)){la.forEach(function(Ct){Jt.append("".concat(Wn,"[]"),Ct)});return}Jt.append(Wn,la)}),$e.file instanceof Blob?Jt.append($e.filename,$e.file,$e.file.name):Jt.append($e.filename,$e.file),Pn.onerror=function(la){$e.onError(la)},Pn.onload=function(){return Pn.status<200||Pn.status>=300?$e.onError(a($e,Pn),x(Pn)):$e.onSuccess(x(Pn),Pn)},Pn.open($e.method,$e.action,!0),$e.withCredentials&&"withCredentials"in Pn&&(Pn.withCredentials=!0);var In=$e.headers||{};return In["X-Requested-With"]!==null&&Pn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(In).forEach(function(Wn){In[Wn]!==null&&Pn.setRequestHeader(Wn,In[Wn])}),Pn.send(Jt),{abort:function(){Pn.abort()}}}var z=+new Date,te=0;function re(){return"rc-upload-".concat(z,"-").concat(++te)}var se=ee(48736),ie=function($e,Pn){if($e&&Pn){var Jt=Array.isArray(Pn)?Pn:Pn.split(","),In=$e.name||"",Wn=$e.type||"",la=Wn.replace(/\/.*$/,"");return Jt.some(function(Ct){var xt=Ct.trim();if(/^\*(\/\*)?$/.test(Ct))return!0;if(xt.charAt(0)==="."){var an=In.toLowerCase(),tn=xt.toLowerCase(),Kt=[tn];return(tn===".jpg"||tn===".jpeg")&&(Kt=[".jpg",".jpeg"]),Kt.some(function(xa){return an.endsWith(xa)})}return/\/\*$/.test(xt)?la===xt.replace(/\/.*$/,""):Wn===xt?!0:/^\w+$/.test(xt)?((0,se.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(xt,"'.Skip for check.")),!0):!1})}return!0};function ve($e,Pn){var Jt=$e.createReader(),In=[];function Wn(){Jt.readEntries(function(la){var Ct=Array.prototype.slice.apply(la);In=In.concat(Ct);var xt=!Ct.length;xt?Pn(In):Wn()})}Wn()}var ye=function(Pn,Jt,In){var Wn=function la(Ct,xt){Ct&&(Ct.path=xt||"",Ct.isFile?Ct.file(function(an){In(an)&&(Ct.fullPath&&!an.webkitRelativePath&&(Object.defineProperties(an,{webkitRelativePath:{writable:!0}}),an.webkitRelativePath=Ct.fullPath.replace(/^\//,""),Object.defineProperties(an,{webkitRelativePath:{writable:!1}})),Jt([an]))}):Ct.isDirectory&&ve(Ct,function(an){an.forEach(function(tn){la(tn,"".concat(xt).concat(Ct.name,"/"))})}))};Pn.forEach(function(la){Wn(la.webkitGetAsEntry())})},Ge=ye,Ae=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],ze=function($e){(0,it.Z)(Jt,$e);var Pn=(0,qe.Z)(Jt);function Jt(){var In;(0,ke.Z)(this,Jt);for(var Wn=arguments.length,la=new Array(Wn),Ct=0;Ct<Wn;Ct++)la[Ct]=arguments[Ct];return In=Pn.call.apply(Pn,[this].concat(la)),In.state={uid:re()},In.reqs={},In.fileInput=void 0,In._isMounted=void 0,In.onChange=function(xt){var an=In.props,tn=an.accept,Kt=an.directory,xa=xt.target.files,Ea=(0,de.Z)(xa).filter(function(Qa){return!Kt||ie(Qa,tn)});In.uploadFiles(Ea),In.reset()},In.onClick=function(xt){var an=In.fileInput;if(an){var tn=xt.target,Kt=In.props.onClick;if(tn&&tn.tagName==="BUTTON"){var xa=an.parentNode;xa.focus(),tn.blur()}an.click(),Kt&&Kt(xt)}},In.onKeyDown=function(xt){xt.key==="Enter"&&In.onClick(xt)},In.onFileDrop=function(xt){var an=In.props.multiple;if(xt.preventDefault(),xt.type!=="dragover")if(In.props.directory)Ge(Array.prototype.slice.call(xt.dataTransfer.items),In.uploadFiles,function(Kt){return ie(Kt,In.props.accept)});else{var tn=(0,de.Z)(xt.dataTransfer.files).filter(function(Kt){return ie(Kt,In.props.accept)});an===!1&&(tn=tn.slice(0,1)),In.uploadFiles(tn)}},In.uploadFiles=function(xt){var an=(0,de.Z)(xt),tn=an.map(function(Kt){return Kt.uid=re(),In.processFile(Kt,an)});Promise.all(tn).then(function(Kt){var xa=In.props.onBatchStart;xa==null||xa(Kt.map(function(Ea){var Qa=Ea.origin,za=Ea.parsedFile;return{file:Qa,parsedFile:za}})),Kt.filter(function(Ea){return Ea.parsedFile!==null}).forEach(function(Ea){In.post(Ea)})})},In.processFile=function(){var xt=(0,ue.Z)((0,Je.Z)().mark(function an(tn,Kt){var xa,Ea,Qa,za,$n,na,ba,Pa,vr;return(0,Je.Z)().wrap(function(Ya){for(;;)switch(Ya.prev=Ya.next){case 0:if(xa=In.props.beforeUpload,Ea=tn,!xa){Ya.next=14;break}return Ya.prev=3,Ya.next=6,xa(tn,Kt);case 6:Ea=Ya.sent,Ya.next=12;break;case 9:Ya.prev=9,Ya.t0=Ya.catch(3),Ea=!1;case 12:if(Ea!==!1){Ya.next=14;break}return Ya.abrupt("return",{origin:tn,parsedFile:null,action:null,data:null});case 14:if(Qa=In.props.action,typeof Qa!="function"){Ya.next=21;break}return Ya.next=18,Qa(tn);case 18:za=Ya.sent,Ya.next=22;break;case 21:za=Qa;case 22:if($n=In.props.data,typeof $n!="function"){Ya.next=29;break}return Ya.next=26,$n(tn);case 26:na=Ya.sent,Ya.next=30;break;case 29:na=$n;case 30:return ba=((0,Ye.Z)(Ea)==="object"||typeof Ea=="string")&&Ea?Ea:tn,ba instanceof File?Pa=ba:Pa=new File([ba],tn.name,{type:tn.type}),vr=Pa,vr.uid=tn.uid,Ya.abrupt("return",{origin:tn,data:na,parsedFile:vr,action:za});case 35:case"end":return Ya.stop()}},an,null,[[3,9]])}));return function(an,tn){return xt.apply(this,arguments)}}(),In.saveFileInput=function(xt){In.fileInput=xt},In}return(0,le.Z)(Jt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Wn){var la=this,Ct=Wn.data,xt=Wn.origin,an=Wn.action,tn=Wn.parsedFile;if(this._isMounted){var Kt=this.props,xa=Kt.onStart,Ea=Kt.customRequest,Qa=Kt.name,za=Kt.headers,$n=Kt.withCredentials,na=Kt.method,ba=xt.uid,Pa=Ea||y,vr={action:an,filename:Qa,data:Ct,file:tn,headers:za,withCredentials:$n,method:na||"post",onProgress:function(Ya){var lr=la.props.onProgress;lr==null||lr(Ya,tn)},onSuccess:function(Ya,lr){var hr=la.props.onSuccess;hr==null||hr(Ya,tn,lr),delete la.reqs[ba]},onError:function(Ya,lr){var hr=la.props.onError;hr==null||hr(Ya,lr,tn),delete la.reqs[ba]}};xa(xt),this.reqs[ba]=Pa(vr)}}},{key:"reset",value:function(){this.setState({uid:re()})}},{key:"abort",value:function(Wn){var la=this.reqs;if(Wn){var Ct=Wn.uid?Wn.uid:Wn;la[Ct]&&la[Ct].abort&&la[Ct].abort(),delete la[Ct]}else Object.keys(la).forEach(function(xt){la[xt]&&la[xt].abort&&la[xt].abort(),delete la[xt]})}},{key:"render",value:function(){var Wn=this.props,la=Wn.component,Ct=Wn.prefixCls,xt=Wn.className,an=Wn.disabled,tn=Wn.id,Kt=Wn.style,xa=Wn.multiple,Ea=Wn.accept,Qa=Wn.capture,za=Wn.children,$n=Wn.directory,na=Wn.openFileDialogOnClick,ba=Wn.onMouseEnter,Pa=Wn.onMouseLeave,vr=(0,je.Z)(Wn,Ae),Tr=Ne()((0,Ke.Z)((0,Ke.Z)((0,Ke.Z)({},Ct,!0),"".concat(Ct,"-disabled"),an),xt,xt)),Ya=$n?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},lr=an?{}:{onClick:na?this.onClick:function(){},onKeyDown:na?this.onKeyDown:function(){},onMouseEnter:ba,onMouseLeave:Pa,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return b.createElement(la,(0,_e.Z)({},lr,{className:Tr,role:"button",style:Kt}),b.createElement("input",(0,_e.Z)({},(0,E.Z)(vr,{aria:!0,data:!0}),{id:tn,disabled:an,type:"file",ref:this.saveFileInput,onClick:function(Po){return Po.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Ea},Ya,{multiple:xa,onChange:this.onChange},Qa!=null?{capture:Qa}:{})),za)}}]),Jt}(b.Component),he=ze;function Qe(){}var We=function($e){(0,it.Z)(Jt,$e);var Pn=(0,qe.Z)(Jt);function Jt(){var In;(0,ke.Z)(this,Jt);for(var Wn=arguments.length,la=new Array(Wn),Ct=0;Ct<Wn;Ct++)la[Ct]=arguments[Ct];return In=Pn.call.apply(Pn,[this].concat(la)),In.uploader=void 0,In.saveUploader=function(xt){In.uploader=xt},In}return(0,le.Z)(Jt,[{key:"abort",value:function(Wn){this.uploader.abort(Wn)}},{key:"render",value:function(){return b.createElement(he,(0,_e.Z)({},this.props,{ref:this.saveUploader}))}}]),Jt}(b.Component);We.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 ft=We,Le=ft,ot=ee(18929),dt=ee(4676),gt=ee(36355),Dt=ee(1684),sn=ee(9763),Ft=ee(31724),on={icon:function(Pn,Jt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Jt}},{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:Pn}}]}},name:"file",theme:"twotone"},cn=on,Ve=ee(7657),at=function(Pn,Jt){return b.createElement(Ve.Z,(0,_e.Z)({},Pn,{ref:Jt,icon:cn}))},rn=b.forwardRef(at),Kn=rn,Gt=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"},He=wn,ct=function(Pn,Jt){return b.createElement(Ve.Z,(0,_e.Z)({},Pn,{ref:Jt,icon:He}))},Lt=b.forwardRef(ct),mt=Lt,Nt={icon:function(Pn,Jt){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:Pn}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Jt}},{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:Jt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Jt}},{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:Pn}}]}},name:"picture",theme:"twotone"},st=Nt,nt=function(Pn,Jt){return b.createElement(Ve.Z,(0,_e.Z)({},Pn,{ref:Jt,icon:st}))},De=b.forwardRef(nt),fe=De,Xe=ee(77900),Rt=ee(56762),Oe=ee(62892),Ie=ee(92343),vt=ee(3113);function et($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,Pn){const Jt=(0,de.Z)(Pn),In=Jt.findIndex(Wn=>{let{uid:la}=Wn;return la===$e.uid});return In===-1?Jt.push($e):Jt[In]=$e,Jt}function St($e,Pn){const Jt=$e.uid!==void 0?"uid":"name";return Pn.filter(In=>In[Jt]===$e[Jt])[0]}function Bn($e,Pn){const Jt=$e.uid!==void 0?"uid":"name",In=Pn.filter(Wn=>Wn[Jt]!==$e[Jt]);return In.length===Pn.length?null:In}const nn=function(){const Pn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),In=Pn[Pn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(In)||[""])[0]},fn=$e=>$e.indexOf("image/")===0,ln=$e=>{if($e.type&&!$e.thumbUrl)return fn($e.type);const Pn=$e.thumbUrl||$e.url||"",Jt=nn(Pn);return/^data:image\//.test(Pn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Jt)?!0:!(/^data:/.test(Pn)||Jt)},Cn=200;function Ze($e){return new Promise(Pn=>{if(!$e.type||!fn($e.type)){Pn("");return}const Jt=document.createElement("canvas");Jt.width=Cn,Jt.height=Cn,Jt.style.cssText=`position: fixed; left: 0; top: 0; width: ${Cn}px; height: ${Cn}px; z-index: 9999; display: none;`,document.body.appendChild(Jt);const In=Jt.getContext("2d"),Wn=new Image;if(Wn.onload=()=>{const{width:la,height:Ct}=Wn;let xt=Cn,an=Cn,tn=0,Kt=0;la>Ct?(an=Ct*(Cn/la),Kt=-(an-xt)/2):(xt=la*(Cn/Ct),tn=-(xt-an)/2),In.drawImage(Wn,tn,Kt,xt,an);const xa=Jt.toDataURL();document.body.removeChild(Jt),window.URL.revokeObjectURL(Wn.src),Pn(xa)},Wn.crossOrigin="anonymous",$e.type.startsWith("image/svg+xml")){const la=new FileReader;la.onload=()=>{la.result&&(Wn.src=la.result)},la.readAsDataURL($e)}else if($e.type.startsWith("image/gif")){const la=new FileReader;la.onload=()=>{la.result&&Pn(la.result)},la.readAsDataURL($e)}else Wn.src=window.URL.createObjectURL($e)})}var yt=ee(26227),Zt=ee(41464),Bt=ee(15277),Mt=ee(93948),dn=ee(6848),Dn=b.forwardRef(($e,Pn)=>{let{prefixCls:Jt,className:In,style:Wn,locale:la,listType:Ct,file:xt,items:an,progress:tn,iconRender:Kt,actionIconRender:xa,itemRender:Ea,isImgUrl:Qa,showPreviewIcon:za,showRemoveIcon:$n,showDownloadIcon:na,previewIcon:ba,removeIcon:Pa,downloadIcon:vr,onPreview:Tr,onDownload:Ya,onClose:lr}=$e;var hr,Po;const{status:ri}=xt,[xi,ho]=b.useState(ri);b.useEffect(()=>{ri!=="removed"&&ho(ri)},[ri]);const[bo,Wo]=b.useState(!1);b.useEffect(()=>{const $o=setTimeout(()=>{Wo(!0)},300);return()=>{clearTimeout($o)}},[]);const ko=Kt(xt);let No=b.createElement("div",{className:`${Jt}-icon`},ko);if(Ct==="picture"||Ct==="picture-card"||Ct==="picture-circle")if(xi==="uploading"||!xt.thumbUrl&&!xt.url){const $o=Ne()(`${Jt}-list-item-thumbnail`,{[`${Jt}-list-item-file`]:xi!=="uploading"});No=b.createElement("div",{className:$o},ko)}else{const $o=Qa!=null&&Qa(xt)?b.createElement("img",{src:xt.thumbUrl||xt.url,alt:xt.name,className:`${Jt}-list-item-image`,crossOrigin:xt.crossOrigin}):ko,Fi=Ne()(`${Jt}-list-item-thumbnail`,{[`${Jt}-list-item-file`]:Qa&&!Qa(xt)});No=b.createElement("a",{className:Fi,onClick:Wi=>Tr(xt,Wi),href:xt.url||xt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},$o)}const Er=Ne()(`${Jt}-list-item`,`${Jt}-list-item-${xi}`),to=typeof xt.linkProps=="string"?JSON.parse(xt.linkProps):xt.linkProps,Yo=$n?xa((typeof Pa=="function"?Pa(xt):Pa)||b.createElement(yt.Z,null),()=>lr(xt),Jt,la.removeFile):null,Jo=na&&xi==="done"?xa((typeof vr=="function"?vr(xt):vr)||b.createElement(Zt.Z,null),()=>Ya(xt),Jt,la.downloadFile):null,Lo=Ct!=="picture-card"&&Ct!=="picture-circle"&&b.createElement("span",{key:"download-delete",className:Ne()(`${Jt}-list-item-actions`,{picture:Ct==="picture"})},Jo,Yo),wr=Ne()(`${Jt}-list-item-name`),oi=xt.url?[b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:wr,title:xt.name},to,{href:xt.url,onClick:$o=>Tr(xt,$o)}),xt.name),Lo]:[b.createElement("span",{key:"view",className:wr,onClick:$o=>Tr(xt,$o),title:xt.name},xt.name),Lo],Gr={pointerEvents:"none",opacity:.5},To=za?b.createElement("a",{href:xt.url||xt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:xt.url||xt.thumbUrl?void 0:Gr,onClick:$o=>Tr(xt,$o),title:la.previewFile},typeof ba=="function"?ba(xt):ba||b.createElement(Bt.Z,null)):null,mo=(Ct==="picture-card"||Ct==="picture-circle")&&xi!=="uploading"&&b.createElement("span",{className:`${Jt}-list-item-actions`},To,xi==="done"&&Jo,Yo),{getPrefixCls:di}=b.useContext(gt.E_),vi=di(),Ui=b.createElement("div",{className:Er},No,oi,mo,bo&&b.createElement(Xe.default,{motionName:`${vi}-fade`,visible:xi==="uploading",motionDeadline:2e3},$o=>{let{className:Fi}=$o;const Wi="percent"in xt?b.createElement(Mt.Z,Object.assign({},tn,{type:"line",percent:xt.percent,"aria-label":xt["aria-label"],"aria-labelledby":xt["aria-labelledby"]})):null;return b.createElement("div",{className:Ne()(`${Jt}-list-item-progress`,Fi)},Wi)})),tl=xt.response&&typeof xt.response=="string"?xt.response:((hr=xt.error)===null||hr===void 0?void 0:hr.statusText)||((Po=xt.error)===null||Po===void 0?void 0:Po.message)||la.uploadError,nl=xi==="error"?b.createElement(dn.Z,{title:tl,getPopupContainer:$o=>$o.parentNode},Ui):Ui;return b.createElement("div",{className:Ne()(`${Jt}-list-item-container`,In),style:Wn,ref:Pn},Ea?Ea(nl,xt,an,{download:Ya.bind(null,xt),preview:Tr.bind(null,xt),remove:lr.bind(null,xt)}):nl)});const Jn=($e,Pn)=>{const{listType:Jt="text",previewFile:In=Ze,onPreview:Wn,onDownload:la,onRemove:Ct,locale:xt,iconRender:an,isImageUrl:tn=ln,prefixCls:Kt,items:xa=[],showPreviewIcon:Ea=!0,showRemoveIcon:Qa=!0,showDownloadIcon:za=!1,removeIcon:$n,previewIcon:na,downloadIcon:ba,progress:Pa={size:[-1,2],showInfo:!1},appendAction:vr,appendActionVisible:Tr=!0,itemRender:Ya,disabled:lr}=$e,hr=(0,Rt.Z)(),[Po,ri]=b.useState(!1);b.useEffect(()=>{Jt!=="picture"&&Jt!=="picture-card"&&Jt!=="picture-circle"||(xa||[]).forEach(Gr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Gr.originFileObj instanceof File||Gr.originFileObj instanceof Blob)||Gr.thumbUrl!==void 0||(Gr.thumbUrl="",In&&In(Gr.originFileObj).then(To=>{Gr.thumbUrl=To||"",hr()}))})},[Jt,xa,In]),b.useEffect(()=>{ri(!0)},[]);const xi=(Gr,To)=>{if(Wn)return To==null||To.preventDefault(),Wn(Gr)},ho=Gr=>{typeof la=="function"?la(Gr):Gr.url&&window.open(Gr.url)},bo=Gr=>{Ct==null||Ct(Gr)},Wo=Gr=>{if(an)return an(Gr,Jt);const To=Gr.status==="uploading",mo=tn&&tn(Gr)?b.createElement(fe,null):b.createElement(Kn,null);let di=To?b.createElement(Gt.Z,null):b.createElement(mt,null);return Jt==="picture"?di=To?b.createElement(Gt.Z,null):mo:(Jt==="picture-card"||Jt==="picture-circle")&&(di=To?xt.uploading:mo),di},ko=(Gr,To,mo,di)=>{const vi={type:"text",size:"small",title:di,onClick:Ui=>{To(),(0,Ie.l$)(Gr)&&Gr.props.onClick&&Gr.props.onClick(Ui)},className:`${mo}-list-item-action`,disabled:lr};if((0,Ie.l$)(Gr)){const Ui=(0,Ie.Tm)(Gr,Object.assign(Object.assign({},Gr.props),{onClick:()=>{}}));return b.createElement(vt.ZP,Object.assign({},vi,{icon:Ui}))}return b.createElement(vt.ZP,Object.assign({},vi),b.createElement("span",null,Gr))};b.useImperativeHandle(Pn,()=>({handlePreview:xi,handleDownload:ho}));const{getPrefixCls:No}=b.useContext(gt.E_),Er=No("upload",Kt),to=No(),Yo=Ne()(`${Er}-list`,`${Er}-list-${Jt}`),Jo=(0,de.Z)(xa.map(Gr=>({key:Gr.uid,file:Gr})));let wr={motionDeadline:2e3,motionName:`${Er}-${Jt==="picture-card"||Jt==="picture-circle"?"animate-inline":"animate"}`,keys:Jo,motionAppear:Po};const oi=b.useMemo(()=>{const Gr=Object.assign({},(0,Oe.Z)(to));return delete Gr.onAppearEnd,delete Gr.onEnterEnd,delete Gr.onLeaveEnd,Gr},[to]);return Jt!=="picture-card"&&Jt!=="picture-circle"&&(wr=Object.assign(Object.assign({},oi),wr)),b.createElement("div",{className:Yo},b.createElement(Xe.CSSMotionList,Object.assign({},wr,{component:!1}),Gr=>{let{key:To,file:mo,className:di,style:vi}=Gr;return b.createElement(Dn,{key:To,locale:xt,prefixCls:Er,className:di,style:vi,file:mo,items:xa,progress:Pa,listType:Jt,isImgUrl:tn,showPreviewIcon:Ea,showRemoveIcon:Qa,showDownloadIcon:za,removeIcon:$n,previewIcon:na,downloadIcon:ba,iconRender:Wo,actionIconRender:ko,itemRender:Ya,onPreview:xi,onDownload:ho,onClose:bo})}),vr&&b.createElement(Xe.default,Object.assign({},wr,{visible:Tr,forceRender:!0}),Gr=>{let{className:To,style:mo}=Gr;return(0,Ie.Tm)(vr,di=>({className:Ne()(di.className,To),style:Object.assign(Object.assign(Object.assign({},mo),{pointerEvents:To?"none":void 0}),di.style)}))}))};var Ra=b.forwardRef(Jn),_a=ee(17313),gr=ee(8378),ar=ee(83116),pa=ee(37613),qt=$e=>{const{componentCls:Pn,iconCls:Jt}=$e;return{[`${Pn}-wrapper`]:{[`${Pn}-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}`,[Pn]:{padding:`${$e.padding}px 0`},[`${Pn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Pn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Pn}-disabled):hover`]:{borderColor:$e.colorPrimaryHover},[`p${Pn}-drag-icon`]:{marginBottom:$e.margin,[Jt]:{color:$e.colorPrimary,fontSize:$e.uploadThumbnailSize}},[`p${Pn}-text`]:{margin:`0 0 ${$e.marginXXS}px`,color:$e.colorTextHeading,fontSize:$e.fontSizeLG},[`p${Pn}-hint`]:{color:$e.colorTextDescription,fontSize:$e.fontSize},[`&${Pn}-disabled`]:{cursor:"not-allowed",[`p${Pn}-drag-icon ${Jt},
p${Pn}-text,
p${Pn}-hint
`]:{color:$e.colorTextDisabled}}}}}},oa=$e=>{const{componentCls:Pn,antCls:Jt,iconCls:In,fontSize:Wn,lineHeight:la}=$e,Ct=`${Pn}-list-item`,xt=`${Ct}-actions`,an=`${Ct}-action`,tn=Math.round(Wn*la);return{[`${Pn}-wrapper`]:{[`${Pn}-list`]:Object.assign(Object.assign({},(0,_a.dF)()),{lineHeight:$e.lineHeight,[Ct]:{position:"relative",height:$e.lineHeight*Wn,marginTop:$e.marginXS,fontSize:Wn,display:"flex",alignItems:"center",transition:`background-color ${$e.motionDurationSlow}`,"&:hover":{backgroundColor:$e.controlItemBgHover},[`${Ct}-name`]:Object.assign(Object.assign({},_a.vS),{padding:`0 ${$e.paddingXS}px`,lineHeight:la,flex:"auto",transition:`all ${$e.motionDurationSlow}`}),[xt]:{[an]:{opacity:0},[`${an}${Jt}-btn-sm`]:{height:tn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${an}:focus-visible,
&.picture ${an}
`]:{opacity:1},[In]:{color:$e.actionsColor,transition:`all ${$e.motionDurationSlow}`},[`&:hover ${In}`]:{color:$e.colorText}},[`${Pn}-icon ${In}`]:{color:$e.colorTextDescription,fontSize:Wn},[`${Ct}-progress`]:{position:"absolute",bottom:-$e.uploadProgressOffset,width:"100%",paddingInlineStart:Wn+$e.paddingXS,fontSize:Wn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Ct}:hover ${an}`]:{opacity:1,color:$e.colorText},[`${Ct}-error`]:{color:$e.colorError,[`${Ct}-name, ${Pn}-icon ${In}`]:{color:$e.colorError},[xt]:{[`${In}, ${In}:hover`]:{color:$e.colorError},[an]:{opacity:1}}},[`${Pn}-list-item-container`]:{transition:`opacity ${$e.motionDurationSlow}, height ${$e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Da=ee(93083),ut=ee(1950);const bn=new Da.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Ln=new Da.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var pn=$e=>{const{componentCls:Pn}=$e,Jt=`${Pn}-animate-inline`;return[{[`${Pn}-wrapper`]:{[`${Jt}-appear, ${Jt}-enter, ${Jt}-leave`]:{animationDuration:$e.motionDurationSlow,animationTimingFunction:$e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Jt}-appear, ${Jt}-enter`]:{animationName:bn},[`${Jt}-leave`]:{animationName:Ln}}},{[`${Pn}-wrapper`]:(0,ut.J$)($e)},bn,Ln]},ia=ee(30071),Sa=ee(64993);const It=$e=>{const{componentCls:Pn,iconCls:Jt,uploadThumbnailSize:In,uploadProgressOffset:Wn}=$e,la=`${Pn}-list`,Ct=`${la}-item`;return{[`${Pn}-wrapper`]:{[`
${la}${la}-picture,
${la}${la}-picture-card,
${la}${la}-picture-circle
`]:{[Ct]:{position:"relative",height:In+$e.lineWidth*2+$e.paddingXS*2,padding:$e.paddingXS,border:`${$e.lineWidth}px ${$e.lineType} ${$e.colorBorder}`,borderRadius:$e.borderRadiusLG,"&:hover":{background:"transparent"},[`${Ct}-thumbnail`]:Object.assign(Object.assign({},_a.vS),{width:In,height:In,lineHeight:`${In+$e.paddingSM}px`,textAlign:"center",flex:"none",[Jt]:{fontSize:$e.fontSizeHeading2,color:$e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Ct}-progress`]:{bottom:Wn,width:`calc(100% - ${$e.paddingSM*2}px)`,marginTop:0,paddingInlineStart:In+$e.paddingXS}},[`${Ct}-error`]:{borderColor:$e.colorError,[`${Ct}-thumbnail ${Jt}`]:{[`svg path[fill='${ia.blue[0]}']`]:{fill:$e.colorErrorBg},[`svg path[fill='${ia.blue.primary}']`]:{fill:$e.colorError}}},[`${Ct}-uploading`]:{borderStyle:"dashed",[`${Ct}-name`]:{marginBottom:Wn}}},[`${la}${la}-picture-circle ${Ct}`]:{[`&, &::before, ${Ct}-thumbnail`]:{borderRadius:"50%"}}}}},kt=$e=>{const{componentCls:Pn,iconCls:Jt,fontSizeLG:In,colorTextLightSolid:Wn}=$e,la=`${Pn}-list`,Ct=`${la}-item`,xt=$e.uploadPicCardSize;return{[`
${Pn}-wrapper${Pn}-picture-card-wrapper,
${Pn}-wrapper${Pn}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,_a.dF)()),{display:"inline-block",width:"100%",[`${Pn}${Pn}-select`]:{width:xt,height:xt,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}`,[`> ${Pn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Pn}-disabled):hover`]:{borderColor:$e.colorPrimary}},[`${la}${la}-picture-card, ${la}${la}-picture-circle`]:{[`${la}-item-container`]:{display:"inline-block",width:xt,height:xt,marginBlock:`0 ${$e.marginXS}px`,marginInline:`0 ${$e.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Ct]:{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:'" "'}},[`${Ct}:hover`]:{[`&::before, ${Ct}-actions`]:{opacity:1}},[`${Ct}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${$e.motionDurationSlow}`,[`${Jt}-eye, ${Jt}-download, ${Jt}-delete`]:{zIndex:10,width:In,margin:`0 ${$e.marginXXS}px`,fontSize:In,cursor:"pointer",transition:`all ${$e.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Ct}-actions, ${Ct}-actions:hover`]:{[`${Jt}-eye, ${Jt}-download, ${Jt}-delete`]:{color:new Sa.C(Wn).setAlpha(.65).toRgbString(),"&:hover":{color:Wn}}},[`${Ct}-thumbnail, ${Ct}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Ct}-name`]:{display:"none",textAlign:"center"},[`${Ct}-file + ${Ct}-name`]:{position:"absolute",bottom:$e.margin,display:"block",width:`calc(100% - ${$e.paddingXS*2}px)`},[`${Ct}-uploading`]:{[`&${Ct}`]:{backgroundColor:$e.colorFillAlter},[`&::before, ${Jt}-eye, ${Jt}-download, ${Jt}-delete`]:{display:"none"}},[`${Ct}-progress`]:{bottom:$e.marginXL,width:`calc(100% - ${$e.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Pn}-wrapper${Pn}-picture-circle-wrapper`]:{[`${Pn}${Pn}-select`]:{borderRadius:"50%"}}}};var Qn=$e=>{const{componentCls:Pn}=$e;return{[`${Pn}-rtl`]:{direction:"rtl"}}};const Yn=$e=>{const{componentCls:Pn,colorTextDisabled:Jt}=$e;return{[`${Pn}-wrapper`]:Object.assign(Object.assign({},(0,_a.Wf)($e)),{[Pn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Pn}-select`]:{display:"inline-block"},[`${Pn}-disabled`]:{color:Jt,cursor:"not-allowed"}})}};var Gn=(0,ar.Z)("Upload",$e=>{const{fontSizeHeading3:Pn,fontSize:Jt,lineHeight:In,lineWidth:Wn,controlHeightLG:la}=$e,Ct=Math.round(Jt*In),xt=(0,pa.TS)($e,{uploadThumbnailSize:Pn*2,uploadProgressOffset:Ct/2+Wn,uploadPicCardSize:la*2.55});return[Yn(xt),qt(xt),It(xt),kt(xt),oa(xt),pn(xt),Qn(xt),(0,gr.Z)(xt)]},$e=>({actionsColor:$e.colorTextDescription})),ir=function($e,Pn,Jt,In){function Wn(la){return la instanceof Jt?la:new Jt(function(Ct){Ct(la)})}return new(Jt||(Jt=Promise))(function(la,Ct){function xt(Kt){try{tn(In.next(Kt))}catch(xa){Ct(xa)}}function an(Kt){try{tn(In.throw(Kt))}catch(xa){Ct(xa)}}function tn(Kt){Kt.done?la(Kt.value):Wn(Kt.value).then(xt,an)}tn((In=In.apply($e,Pn||[])).next())})};const Ba=`__LIST_IGNORE_${Date.now()}__`,Xn=($e,Pn)=>{const{fileList:Jt,defaultFileList:In,onRemove:Wn,showUploadList:la=!0,listType:Ct="text",onPreview:xt,onDownload:an,onChange:tn,onDrop:Kt,previewFile:xa,disabled:Ea,locale:Qa,iconRender:za,isImageUrl:$n,progress:na,prefixCls:ba,className:Pa,type:vr="select",children:Tr,style:Ya,itemRender:lr,maxCount:hr,data:Po={},multiple:ri=!1,action:xi="",accept:ho="",supportServerRender:bo=!0,rootClassName:Wo}=$e,ko=b.useContext(Dt.Z),No=Ea!=null?Ea:ko,[Er,to]=(0,ot.Z)(In||[],{value:Jt,postState:Hn=>Hn!=null?Hn:[]}),[Yo,Jo]=b.useState("drop"),Lo=b.useRef(null);b.useMemo(()=>{const Hn=Date.now();(Jt||[]).forEach((qn,pr)=>{!qn.uid&&!Object.isFrozen(qn)&&(qn.uid=`__AUTO__${Hn}_${pr}__`)})},[Jt]);const wr=(Hn,qn,pr)=>{let Wa=(0,de.Z)(qn),Ha=!1;hr===1?Wa=Wa.slice(-1):hr&&(Ha=Wa.length>hr,Wa=Wa.slice(0,hr)),(0,dt.flushSync)(()=>{to(Wa)});const tr={file:Hn,fileList:Wa};pr&&(tr.event=pr),(!Ha||Wa.some(Mr=>Mr.uid===Hn.uid))&&(0,dt.flushSync)(()=>{tn==null||tn(tr)})},oi=(Hn,qn)=>ir(void 0,void 0,void 0,function*(){const{beforeUpload:pr,transformFile:Wa}=$e;let Ha=Hn;if(pr){const tr=yield pr(Hn,qn);if(tr===!1)return!1;if(delete Hn[Ba],tr===Ba)return Object.defineProperty(Hn,Ba,{value:!0,configurable:!0}),!1;typeof tr=="object"&&tr&&(Ha=tr)}return Wa&&(Ha=yield Wa(Ha)),Ha}),Gr=Hn=>{const qn=Hn.filter(Ha=>!Ha.file[Ba]);if(!qn.length)return;const pr=qn.map(Ha=>et(Ha.file));let Wa=(0,de.Z)(Er);pr.forEach(Ha=>{Wa=Me(Ha,Wa)}),pr.forEach((Ha,tr)=>{let Mr=Ha;if(qn[tr].parsedFile)Ha.status="uploading";else{const{originFileObj:Co}=Ha;let Uo;try{Uo=new File([Co],Co.name,{type:Co.type})}catch(Ko){Uo=new Blob([Co],{type:Co.type}),Uo.name=Co.name,Uo.lastModifiedDate=new Date,Uo.lastModified=new Date().getTime()}Uo.uid=Ha.uid,Mr=Uo}wr(Mr,Wa)})},To=(Hn,qn,pr)=>{try{typeof Hn=="string"&&(Hn=JSON.parse(Hn))}catch(tr){}if(!St(qn,Er))return;const Wa=et(qn);Wa.status="done",Wa.percent=100,Wa.response=Hn,Wa.xhr=pr;const Ha=Me(Wa,Er);wr(Wa,Ha)},mo=(Hn,qn)=>{if(!St(qn,Er))return;const pr=et(qn);pr.status="uploading",pr.percent=Hn.percent;const Wa=Me(pr,Er);wr(pr,Wa,Hn)},di=(Hn,qn,pr)=>{if(!St(pr,Er))return;const Wa=et(pr);Wa.error=Hn,Wa.response=qn,Wa.status="error";const Ha=Me(Wa,Er);wr(Wa,Ha)},vi=Hn=>{let qn;Promise.resolve(typeof Wn=="function"?Wn(Hn):Wn).then(pr=>{var Wa;if(pr===!1)return;const Ha=Bn(Hn,Er);Ha&&(qn=Object.assign(Object.assign({},Hn),{status:"removed"}),Er==null||Er.forEach(tr=>{const Mr=qn.uid!==void 0?"uid":"name";tr[Mr]===qn[Mr]&&!Object.isFrozen(tr)&&(tr.status="removed")}),(Wa=Lo.current)===null||Wa===void 0||Wa.abort(qn),wr(qn,Ha))})},Ui=Hn=>{Jo(Hn.type),Hn.type==="drop"&&(Kt==null||Kt(Hn))};b.useImperativeHandle(Pn,()=>({onBatchStart:Gr,onSuccess:To,onProgress:mo,onError:di,fileList:Er,upload:Lo.current}));const{getPrefixCls:tl,direction:nl,upload:$o}=b.useContext(gt.E_),Fi=tl("upload",ba),Wi=Object.assign(Object.assign({onBatchStart:Gr,onError:di,onProgress:mo,onSuccess:To},$e),{data:Po,multiple:ri,action:xi,accept:ho,supportServerRender:bo,prefixCls:Fi,disabled:No,beforeUpload:oi,onChange:void 0});delete Wi.className,delete Wi.style,(!Tr||No)&&delete Wi.id;const[dl,gl]=Gn(Fi),[Pl]=(0,sn.Z)("Upload",Ft.Z.Upload),{showRemoveIcon:_r,showPreviewIcon:qa,showDownloadIcon:Va,removeIcon:er,previewIcon:so,downloadIcon:we}=typeof la=="boolean"?{}:la,hn=(Hn,qn)=>la?b.createElement(Ra,{prefixCls:Fi,listType:Ct,items:Er,previewFile:xa,onPreview:xt,onDownload:an,onRemove:vi,showRemoveIcon:!No&&_r,showPreviewIcon:qa,showDownloadIcon:Va,removeIcon:er,previewIcon:so,downloadIcon:we,iconRender:za,locale:Object.assign(Object.assign({},Pl),Qa),isImageUrl:$n,progress:na,appendAction:Hn,appendActionVisible:qn,itemRender:lr,disabled:No}):Hn,Rn=Ne()(`${Fi}-wrapper`,Pa,Wo,gl,$o==null?void 0:$o.className,{[`${Fi}-rtl`]:nl==="rtl",[`${Fi}-picture-card-wrapper`]:Ct==="picture-card",[`${Fi}-picture-circle-wrapper`]:Ct==="picture-circle"}),ya=Object.assign(Object.assign({},$o==null?void 0:$o.style),Ya);if(vr==="drag"){const Hn=Ne()(gl,Fi,`${Fi}-drag`,{[`${Fi}-drag-uploading`]:Er.some(qn=>qn.status==="uploading"),[`${Fi}-drag-hover`]:Yo==="dragover",[`${Fi}-disabled`]:No,[`${Fi}-rtl`]:nl==="rtl"});return dl(b.createElement("span",{className:Rn},b.createElement("div",{className:Hn,style:ya,onDrop:Ui,onDragOver:Ui,onDragLeave:Ui},b.createElement(Le,Object.assign({},Wi,{ref:Lo,className:`${Fi}-btn`}),b.createElement("div",{className:`${Fi}-drag-container`},Tr))),hn()))}const un=Ne()(Fi,`${Fi}-select`,{[`${Fi}-disabled`]:No}),Na=(Hn=>b.createElement("div",{className:un,style:Hn},b.createElement(Le,Object.assign({},Wi,{ref:Lo}))))(Tr?void 0:{display:"none"});return dl(Ct==="picture-card"||Ct==="picture-circle"?b.createElement("span",{className:Rn},hn(Na,!!Tr)):b.createElement("span",{className:Rn},Na,hn()))};var wa=b.forwardRef(Xn),Nn=function($e,Pn){var Jt={};for(var In in $e)Object.prototype.hasOwnProperty.call($e,In)&&Pn.indexOf(In)<0&&(Jt[In]=$e[In]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wn=0,In=Object.getOwnPropertySymbols($e);Wn<In.length;Wn++)Pn.indexOf(In[Wn])<0&&Object.prototype.propertyIsEnumerable.call($e,In[Wn])&&(Jt[In[Wn]]=$e[In[Wn]]);return Jt},Nr=b.forwardRef(($e,Pn)=>{var{style:Jt,height:In}=$e,Wn=Nn($e,["style","height"]);return b.createElement(wa,Object.assign({ref:Pn},Wn,{type:"drag",style:Object.assign(Object.assign({},Jt),{height:In})}))});const Vr=wa;Vr.Dragger=Nr,Vr.LIST_IGNORE=Ba;var xr=Vr},24334:function(Vt,jt,ee){var b,de;(function(Be,Ne){Vt.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,_e="2.6.4",ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=function(We){for(var ft={},Le=0,ot=We.length;Le<ot;Le++)ft[We.charAt(Le)]=Le;return ft}(ke),it=String.fromCharCode,qe=function(We){if(We.length<2){var ft=We.charCodeAt(0);return ft<128?We:ft<2048?it(192|ft>>>6)+it(128|ft&63):it(224|ft>>>12&15)+it(128|ft>>>6&63)+it(128|ft&63)}else{var ft=65536+(We.charCodeAt(0)-55296)*1024+(We.charCodeAt(1)-56320);return it(240|ft>>>18&7)+it(128|ft>>>12&63)+it(128|ft>>>6&63)+it(128|ft&63)}},Ke=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,je=function(We){return We.replace(Ke,qe)},Je=function(We){var ft=[0,2,1][We.length%3],Le=We.charCodeAt(0)<<16|(We.length>1?We.charCodeAt(1):0)<<8|(We.length>2?We.charCodeAt(2):0),ot=[ke.charAt(Le>>>18),ke.charAt(Le>>>12&63),ft>=2?"=":ke.charAt(Le>>>6&63),ft>=1?"=":ke.charAt(Le&63)];return ot.join("")},Ye=Be.btoa&&typeof Be.btoa=="function"?function(We){return Be.btoa(We)}:function(We){if(We.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return We.replace(/[\s\S]{1,3}/g,Je)},ue=function(We){return Ye(je(String(We)))},E=function(We){return We.replace(/[+\/]/g,function(ft){return ft=="+"?"-":"_"}).replace(/=/g,"")},a=function(We,ft){return ft?E(ue(We)):ue(We)},x=function(We){return a(We,!0)},y;Be.Uint8Array&&(y=function(We,ft){for(var Le="",ot=0,dt=We.length;ot<dt;ot+=3){var gt=We[ot],Dt=We[ot+1],sn=We[ot+2],Ft=gt<<16|Dt<<8|sn;Le+=ke.charAt(Ft>>>18)+ke.charAt(Ft>>>12&63)+(typeof Dt!="undefined"?ke.charAt(Ft>>>6&63):"=")+(typeof sn!="undefined"?ke.charAt(Ft&63):"=")}return ft?E(Le):Le});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(We){switch(We.length){case 4:var ft=(7&We.charCodeAt(0))<<18|(63&We.charCodeAt(1))<<12|(63&We.charCodeAt(2))<<6|63&We.charCodeAt(3),Le=ft-65536;return it((Le>>>10)+55296)+it((Le&1023)+56320);case 3:return it((15&We.charCodeAt(0))<<12|(63&We.charCodeAt(1))<<6|63&We.charCodeAt(2));default:return it((31&We.charCodeAt(0))<<6|63&We.charCodeAt(1))}},re=function(We){return We.replace(z,te)},se=function(We){var ft=We.length,Le=ft%4,ot=(ft>0?le[We.charAt(0)]<<18:0)|(ft>1?le[We.charAt(1)]<<12:0)|(ft>2?le[We.charAt(2)]<<6:0)|(ft>3?le[We.charAt(3)]:0),dt=[it(ot>>>16),it(ot>>>8&255),it(ot&255)];return dt.length-=[0,0,2,1][Le],dt.join("")},ie=Be.atob&&typeof Be.atob=="function"?function(We){return Be.atob(We)}:function(We){return We.replace(/\S{1,4}/g,se)},ve=function(We){return ie(String(We).replace(/[^A-Za-z0-9\+\/]/g,""))},ye=function(We){return re(ie(We))},Ge=function(We){return String(We).replace(/[-_]/g,function(ft){return ft=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ae=function(We){return ye(Ge(We))},ze;Be.Uint8Array&&(ze=function(We){return Uint8Array.from(ve(Ge(We)),function(ft){return ft.charCodeAt(0)})});var he=function(){var We=Be.Base64;return Be.Base64=Ne,We};if(Be.Base64={VERSION:_e,atob:ve,btoa:Ye,fromBase64:Ae,toBase64:a,utob:je,encode:a,encodeURI:x,btou:re,decode:Ae,noConflict:he,fromUint8Array:y,toUint8Array:ze},typeof Object.defineProperty=="function"){var Qe=function(We){return{value:We,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(We){return a(this,We)})),Object.defineProperty(String.prototype,"toBase64URI",Qe(function(){return a(this,!0)}))}}return Be.Meteor&&(Base64=Be.Base64),Vt.exports?Vt.exports.Base64=Be.Base64:(b=[],de=function(){return Be.Base64}.apply(jt,b),de!==void 0&&(Vt.exports=de)),{Base64:Be.Base64}})},39417:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return ye}});var b=ee(71409),de=ee(87075),Be=ee(39224),Ne=ee(89490),_e=ee(16552),ke=ee(19210),le=ee(90264),it=ee(46654),qe=ee(37205),Ke=ee(92310),je=ee.n(Ke),Je=ee(26112),Ye=ee(59301),ue=ee(39378),E=function(Ae){for(var ze=Ae.prefixCls,he=Ae.level,Qe=Ae.isStart,We=Ae.isEnd,ft="".concat(ze,"-indent-unit"),Le=[],ot=0;ot<he;ot+=1){var dt;Le.push(Ye.createElement("span",{key:ot,className:je()(ft,(dt={},(0,de.Z)(dt,"".concat(ft,"-start"),Qe[ot]),(0,de.Z)(dt,"".concat(ft,"-end"),We[ot]),dt))}))}return Ye.createElement("span",{"aria-hidden":"true",className:"".concat(ze,"-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"],te="open",re="close",se="---",ie=function(Ge){(0,it.Z)(ze,Ge);var Ae=(0,qe.Z)(ze);function ze(){var he;(0,_e.Z)(this,ze);for(var Qe=arguments.length,We=new Array(Qe),ft=0;ft<Qe;ft++)We[ft]=arguments[ft];return he=Ae.call.apply(Ae,[this].concat(We)),he.state={dragNodeHighlight:!1},he.selectHandle=void 0,he.cacheIndent=void 0,he.onSelectorClick=function(Le){var ot=he.props.context.onNodeClick;ot(Le,(0,y.F)(he.props)),he.isSelectable()?he.onSelect(Le):he.onCheck(Le)},he.onSelectorDoubleClick=function(Le){var ot=he.props.context.onNodeDoubleClick;ot(Le,(0,y.F)(he.props))},he.onSelect=function(Le){if(!he.isDisabled()){var ot=he.props.context.onNodeSelect;ot(Le,(0,y.F)(he.props))}},he.onCheck=function(Le){if(!he.isDisabled()){var ot=he.props,dt=ot.disableCheckbox,gt=ot.checked,Dt=he.props.context.onNodeCheck;if(!(!he.isCheckable()||dt)){var sn=!gt;Dt(Le,(0,y.F)(he.props),sn)}}},he.onMouseEnter=function(Le){var ot=he.props.context.onNodeMouseEnter;ot(Le,(0,y.F)(he.props))},he.onMouseLeave=function(Le){var ot=he.props.context.onNodeMouseLeave;ot(Le,(0,y.F)(he.props))},he.onContextMenu=function(Le){var ot=he.props.context.onNodeContextMenu;ot(Le,(0,y.F)(he.props))},he.onDragStart=function(Le){var ot=he.props.context.onNodeDragStart;Le.stopPropagation(),he.setState({dragNodeHighlight:!0}),ot(Le,(0,le.Z)(he));try{Le.dataTransfer.setData("text/plain","")}catch(dt){}},he.onDragEnter=function(Le){var ot=he.props.context.onNodeDragEnter;Le.preventDefault(),Le.stopPropagation(),ot(Le,(0,le.Z)(he))},he.onDragOver=function(Le){var ot=he.props.context.onNodeDragOver;Le.preventDefault(),Le.stopPropagation(),ot(Le,(0,le.Z)(he))},he.onDragLeave=function(Le){var ot=he.props.context.onNodeDragLeave;Le.stopPropagation(),ot(Le,(0,le.Z)(he))},he.onDragEnd=function(Le){var ot=he.props.context.onNodeDragEnd;Le.stopPropagation(),he.setState({dragNodeHighlight:!1}),ot(Le,(0,le.Z)(he))},he.onDrop=function(Le){var ot=he.props.context.onNodeDrop;Le.preventDefault(),Le.stopPropagation(),he.setState({dragNodeHighlight:!1}),ot(Le,(0,le.Z)(he))},he.onExpand=function(Le){var ot=he.props,dt=ot.loading,gt=ot.context.onNodeExpand;dt||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?te:re},he.hasChildren=function(){var Le=he.props.eventKey,ot=he.props.context.keyEntities,dt=(0,x.Z)(ot,Le)||{},gt=dt.children;return!!(gt||[]).length},he.isLeaf=function(){var Le=he.props,ot=Le.isLeaf,dt=Le.loaded,gt=he.props.context.loadData,Dt=he.hasChildren();return ot===!1?!1:ot||!gt&&!Dt||gt&&dt&&!Dt},he.isDisabled=function(){var Le=he.props.disabled,ot=he.props.context.disabled;return!!(ot||Le)},he.isCheckable=function(){var Le=he.props.checkable,ot=he.props.context.checkable;return!ot||Le===!1?!1:ot},he.syncLoadData=function(Le){var ot=Le.expanded,dt=Le.loading,gt=Le.loaded,Dt=he.props.context,sn=Dt.loadData,Ft=Dt.onNodeLoad;dt||sn&&ot&&!he.isLeaf()&&!he.hasChildren()&&!gt&&Ft((0,y.F)(he.props))},he.isDraggable=function(){var Le=he.props,ot=Le.data,dt=Le.context.draggable;return!!(dt&&(!dt.nodeDraggable||dt.nodeDraggable(ot)))},he.renderDragHandler=function(){var Le=he.props.context,ot=Le.draggable,dt=Le.prefixCls;return ot!=null&&ot.icon?Ye.createElement("span",{className:"".concat(dt,"-draggable-icon")},ot.icon):null},he.renderSwitcherIconDom=function(Le){var ot=he.props.switcherIcon,dt=he.props.context.switcherIcon,gt=ot||dt;return typeof gt=="function"?gt((0,Ne.Z)((0,Ne.Z)({},he.props),{},{isLeaf:Le})):gt},he.renderSwitcher=function(){var Le=he.props.expanded,ot=he.props.context.prefixCls;if(he.isLeaf()){var dt=he.renderSwitcherIconDom(!0);return dt!==!1?Ye.createElement("span",{className:je()("".concat(ot,"-switcher"),"".concat(ot,"-switcher-noop"))},dt):null}var gt=je()("".concat(ot,"-switcher"),"".concat(ot,"-switcher_").concat(Le?te:re)),Dt=he.renderSwitcherIconDom(!1);return Dt!==!1?Ye.createElement("span",{onClick:he.onExpand,className:gt},Dt):null},he.renderCheckbox=function(){var Le=he.props,ot=Le.checked,dt=Le.halfChecked,gt=Le.disableCheckbox,Dt=he.props.context.prefixCls,sn=he.isDisabled(),Ft=he.isCheckable();if(!Ft)return null;var on=typeof Ft!="boolean"?Ft:null;return Ye.createElement("span",{className:je()("".concat(Dt,"-checkbox"),ot&&"".concat(Dt,"-checkbox-checked"),!ot&&dt&&"".concat(Dt,"-checkbox-indeterminate"),(sn||gt)&&"".concat(Dt,"-checkbox-disabled")),onClick:he.onCheck},on)},he.renderIcon=function(){var Le=he.props.loading,ot=he.props.context.prefixCls;return Ye.createElement("span",{className:je()("".concat(ot,"-iconEle"),"".concat(ot,"-icon__").concat(he.getNodeState()||"docu"),Le&&"".concat(ot,"-icon_loading"))})},he.renderSelector=function(){var Le=he.state.dragNodeHighlight,ot=he.props,dt=ot.title,gt=dt===void 0?se:dt,Dt=ot.selected,sn=ot.icon,Ft=ot.loading,on=ot.data,cn=he.props.context,Ve=cn.prefixCls,at=cn.showIcon,rn=cn.icon,Kn=cn.loadData,Gt=cn.titleRender,wn=he.isDisabled(),He="".concat(Ve,"-node-content-wrapper"),ct;if(at){var Lt=sn||rn;ct=Lt?Ye.createElement("span",{className:je()("".concat(Ve,"-iconEle"),"".concat(Ve,"-icon__customize"))},typeof Lt=="function"?Lt(he.props):Lt):he.renderIcon()}else Kn&&Ft&&(ct=he.renderIcon());var mt;typeof gt=="function"?mt=gt(on):Gt?mt=Gt(on):mt=gt;var Nt=Ye.createElement("span",{className:"".concat(Ve,"-title")},mt);return Ye.createElement("span",{ref:he.setSelectHandle,title:typeof gt=="string"?gt:"",className:je()("".concat(He),"".concat(He,"-").concat(he.getNodeState()||"normal"),!wn&&(Dt||Le)&&"".concat(Ve,"-node-selected")),onMouseEnter:he.onMouseEnter,onMouseLeave:he.onMouseLeave,onContextMenu:he.onContextMenu,onClick:he.onSelectorClick,onDoubleClick:he.onSelectorDoubleClick},ct,Nt,he.renderDropIndicator())},he.renderDropIndicator=function(){var Le=he.props,ot=Le.disabled,dt=Le.eventKey,gt=he.props.context,Dt=gt.draggable,sn=gt.dropLevelOffset,Ft=gt.dropPosition,on=gt.prefixCls,cn=gt.indent,Ve=gt.dropIndicatorRender,at=gt.dragOverNodeKey,rn=gt.direction,Kn=!!Dt,Gt=!ot&&Kn&&at===dt,wn=cn!=null?cn:he.cacheIndent;return he.cacheIndent=cn,Gt?Ve({dropPosition:Ft,dropLevelOffset:sn,indent:wn,prefixCls:on,direction:rn}):null},he}return(0,ke.Z)(ze,[{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,We=this.props.context.selectable;return typeof Qe=="boolean"?Qe:We}},{key:"render",value:function(){var Qe,We=this.props,ft=We.eventKey,Le=We.className,ot=We.style,dt=We.dragOver,gt=We.dragOverGapTop,Dt=We.dragOverGapBottom,sn=We.isLeaf,Ft=We.isStart,on=We.isEnd,cn=We.expanded,Ve=We.selected,at=We.checked,rn=We.halfChecked,Kn=We.loading,Gt=We.domRef,wn=We.active,He=We.data,ct=We.onMouseMove,Lt=We.selectable,mt=(0,Be.Z)(We,z),Nt=this.props.context,st=Nt.prefixCls,nt=Nt.filterTreeNode,De=Nt.keyEntities,fe=Nt.dropContainerKey,Xe=Nt.dropTargetKey,Rt=Nt.draggingNodeKey,Oe=this.isDisabled(),Ie=(0,Je.Z)(mt,{aria:!0,data:!0}),vt=(0,x.Z)(De,ft)||{},et=vt.level,Me=on[on.length-1],St=this.isDraggable(),Bn=!Oe&&St,nn=Rt===ft,fn=Lt!==void 0?{"aria-selected":!!Lt}:void 0;return Ye.createElement("div",(0,b.Z)({ref:Gt,className:je()(Le,"".concat(st,"-treenode"),(Qe={},(0,de.Z)(Qe,"".concat(st,"-treenode-disabled"),Oe),(0,de.Z)(Qe,"".concat(st,"-treenode-switcher-").concat(cn?"open":"close"),!sn),(0,de.Z)(Qe,"".concat(st,"-treenode-checkbox-checked"),at),(0,de.Z)(Qe,"".concat(st,"-treenode-checkbox-indeterminate"),rn),(0,de.Z)(Qe,"".concat(st,"-treenode-selected"),Ve),(0,de.Z)(Qe,"".concat(st,"-treenode-loading"),Kn),(0,de.Z)(Qe,"".concat(st,"-treenode-active"),wn),(0,de.Z)(Qe,"".concat(st,"-treenode-leaf-last"),Me),(0,de.Z)(Qe,"".concat(st,"-treenode-draggable"),St),(0,de.Z)(Qe,"dragging",nn),(0,de.Z)(Qe,"drop-target",Xe===ft),(0,de.Z)(Qe,"drop-container",fe===ft),(0,de.Z)(Qe,"drag-over",!Oe&&dt),(0,de.Z)(Qe,"drag-over-gap-top",!Oe&&gt),(0,de.Z)(Qe,"drag-over-gap-bottom",!Oe&&Dt),(0,de.Z)(Qe,"filter-node",nt&&nt((0,y.F)(this.props))),Qe)),style:ot,draggable:Bn,"aria-grabbed":nn,onDragStart:Bn?this.onDragStart:void 0,onDragEnter:St?this.onDragEnter:void 0,onDragOver:St?this.onDragOver:void 0,onDragLeave:St?this.onDragLeave:void 0,onDrop:St?this.onDrop:void 0,onDragEnd:St?this.onDragEnd:void 0,onMouseMove:ct},fn,Ie),Ye.createElement(a,{prefixCls:st,level:et,isStart:Ft,isEnd:on}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),ze}(Ye.Component),ve=function(Ae){return Ye.createElement(ue.k.Consumer,null,function(ze){return Ye.createElement(ie,(0,b.Z)({},Ae,{context:ze}))})};ve.displayName="TreeNode",ve.isTreeNode=1;var ye=ve},39378:function(Vt,jt,ee){"use strict";ee.d(jt,{k:function(){return de}});var b=ee(59301),de=b.createContext(null)},97401:function(Vt,jt,ee){"use strict";ee.d(jt,{O:function(){return ye.Z},Z:function(){return Nt}});var b=ee(71409),de=ee(87075),Be=ee(28788),Ne=ee(89490),_e=ee(62730),ke=ee(16552),le=ee(19210),it=ee(90264),qe=ee(46654),Ke=ee(37205),je=ee(92310),Je=ee.n(je),Ye=ee(10228),ue=ee(26112),E=ee(48736),a=ee(59301),x=ee(39378);function y(st){var nt=st.dropPosition,De=st.dropLevelOffset,fe=st.indent,Xe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(nt){case-1:Xe.top=0,Xe.left=-De*fe;break;case 1:Xe.bottom=0,Xe.left=-De*fe;break;case 0:Xe.bottom=0,Xe.left=fe;break}return a.createElement("div",{style:Xe})}function z(st){if(st==null)throw new TypeError("Cannot destructure "+st)}var te=ee(11036),re=ee(39224),se=ee(34280),ie=ee(65283),ve=ee(77900),ye=ee(39417);function Ge(st,nt){var De=a.useState(!1),fe=(0,te.Z)(De,2),Xe=fe[0],Rt=fe[1];a.useLayoutEffect(function(){if(Xe)return st(),function(){nt()}},[Xe]),a.useLayoutEffect(function(){return Rt(!0),function(){Rt(!1)}},[])}var Ae=ee(71430),ze=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],he=function(nt,De){var fe=nt.className,Xe=nt.style,Rt=nt.motion,Oe=nt.motionNodes,Ie=nt.motionType,vt=nt.onMotionStart,et=nt.onMotionEnd,Me=nt.active,St=nt.treeNodeRequiredProps,Bn=(0,re.Z)(nt,ze),nn=a.useState(!0),fn=(0,te.Z)(nn,2),ln=fn[0],Cn=fn[1],Ze=a.useContext(x.k),yt=Ze.prefixCls,Zt=Oe&&Ie!=="hide";(0,se.Z)(function(){Oe&&Zt!==ln&&Cn(Zt)},[Oe]);var Bt=function(){Oe&&vt()},Mt=a.useRef(!1),dn=function(){Oe&&!Mt.current&&(Mt.current=!0,et())};Ge(Bt,dn);var gn=function(Jn){Zt===Jn&&dn()};return Oe?a.createElement(ve.default,(0,b.Z)({ref:De,visible:ln},Rt,{motionAppear:Ie==="show",onVisibleChanged:gn}),function(Dn,Jn){var ha=Dn.className,Ra=Dn.style;return a.createElement("div",{ref:Jn,className:Je()("".concat(yt,"-treenode-motion"),ha),style:Ra},Oe.map(function(_a){var gr=(0,b.Z)({},(z(_a.data),_a.data)),ar=_a.title,pa=_a.key,Br=_a.isStart,qt=_a.isEnd;delete gr.children;var An=(0,Ae.H8)(pa,St);return a.createElement(ye.Z,(0,b.Z)({},gr,An,{title:ar,active:Me,data:_a.data,key:pa,isStart:Br,isEnd:qt}))}))}):a.createElement(ye.Z,(0,b.Z)({domRef:De,className:fe,style:Xe},Bn,{active:Me}))};he.displayName="MotionTreeNode";var Qe=a.forwardRef(he),We=Qe;function ft(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],De=st.length,fe=nt.length;if(Math.abs(De-fe)!==1)return{add:!1,key:null};function Xe(Rt,Oe){var Ie=new Map;Rt.forEach(function(et){Ie.set(et,!0)});var vt=Oe.filter(function(et){return!Ie.has(et)});return vt.length===1?vt[0]:null}return De<fe?{add:!0,key:Xe(st,nt)}:{add:!1,key:Xe(nt,st)}}function Le(st,nt,De){var fe=st.findIndex(function(Ie){return Ie.key===De}),Xe=st[fe+1],Rt=nt.findIndex(function(Ie){return Ie.key===De});if(Xe){var Oe=nt.findIndex(function(Ie){return Ie.key===Xe.key});return nt.slice(Rt+1,Oe)}return nt.slice(Rt+1)}var ot=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],dt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},gt=function(){},Dt="RC_TREE_MOTION_".concat(Math.random()),sn={key:Dt},Ft={key:Dt,level:0,index:0,pos:"0",node:sn,nodes:[sn]},on={parent:null,children:[],pos:Ft.pos,data:sn,title:null,key:Dt,isStart:[],isEnd:[]};function cn(st,nt,De,fe){return nt===!1||!De?st:st.slice(0,Math.ceil(De/fe)+1)}function Ve(st){var nt=st.key,De=st.pos;return(0,Ae.km)(nt,De)}function at(st){for(var nt=String(st.data.key),De=st;De.parent;)De=De.parent,nt="".concat(De.data.key," > ").concat(nt);return nt}var rn=a.forwardRef(function(st,nt){var De=st.prefixCls,fe=st.data,Xe=st.selectable,Rt=st.checkable,Oe=st.expandedKeys,Ie=st.selectedKeys,vt=st.checkedKeys,et=st.loadedKeys,Me=st.loadingKeys,St=st.halfCheckedKeys,Bn=st.keyEntities,nn=st.disabled,fn=st.dragging,ln=st.dragOverNodeKey,Cn=st.dropPosition,Ze=st.motion,yt=st.height,Zt=st.itemHeight,Bt=st.virtual,Mt=st.focusable,dn=st.activeItem,gn=st.focused,Dn=st.tabIndex,Jn=st.onKeyDown,ha=st.onFocus,Ra=st.onBlur,_a=st.onActiveChange,gr=st.onListChangeStart,ar=st.onListChangeEnd,pa=(0,re.Z)(st,ot),Br=a.useRef(null),qt=a.useRef(null);a.useImperativeHandle(nt,function(){return{scrollTo:function(xr){Br.current.scrollTo(xr)},getIndentWidth:function(){return qt.current.offsetWidth}}});var An=a.useState(Oe),oa=(0,te.Z)(An,2),Da=oa[0],ut=oa[1],bn=a.useState(fe),Ln=(0,te.Z)(bn,2),zn=Ln[0],pn=Ln[1],ia=a.useState(fe),Sa=(0,te.Z)(ia,2),It=Sa[0],kt=Sa[1],bt=a.useState([]),Qn=(0,te.Z)(bt,2),Yn=Qn[0],Gn=Qn[1],ir=a.useState(null),Ba=(0,te.Z)(ir,2),Xn=Ba[0],Ua=Ba[1],wa=a.useRef(fe);wa.current=fe;function Nn(){var Vr=wa.current;pn(Vr),kt(Vr),Gn([]),Ua(null),ar()}(0,se.Z)(function(){ut(Oe);var Vr=ft(Da,Oe);if(Vr.key!==null)if(Vr.add){var xr=zn.findIndex(function(la){var Ct=la.key;return Ct===Vr.key}),$e=cn(Le(zn,fe,Vr.key),Bt,yt,Zt),Pn=zn.slice();Pn.splice(xr+1,0,on),kt(Pn),Gn($e),Ua("show")}else{var Jt=fe.findIndex(function(la){var Ct=la.key;return Ct===Vr.key}),In=cn(Le(fe,zn,Vr.key),Bt,yt,Zt),Wn=fe.slice();Wn.splice(Jt+1,0,on),kt(Wn),Gn(In),Ua("hide")}else zn!==fe&&(pn(fe),kt(fe))},[Oe,fe]),a.useEffect(function(){fn||Nn()},[fn]);var mr=Ze?It:fe,Nr={expandedKeys:Oe,selectedKeys:Ie,loadedKeys:et,loadingKeys:Me,checkedKeys:vt,halfCheckedKeys:St,dragOverNodeKey:ln,dropPosition:Cn,keyEntities:Bn};return a.createElement(a.Fragment,null,gn&&dn&&a.createElement("span",{style:dt,"aria-live":"assertive"},at(dn)),a.createElement("div",null,a.createElement("input",{style:dt,disabled:Mt===!1||nn,tabIndex:Mt!==!1?Dn:null,onKeyDown:Jn,onFocus:ha,onBlur:Ra,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:qt,className:"".concat(De,"-indent-unit")}))),a.createElement(ie.Z,(0,b.Z)({},pa,{data:mr,itemKey:Ve,height:yt,fullHeight:!1,virtual:Bt,itemHeight:Zt,prefixCls:"".concat(De,"-list"),ref:Br,onVisibleChange:function(xr,$e){var Pn=new Set(xr),Jt=$e.filter(function(In){return!Pn.has(In)});Jt.some(function(In){return Ve(In)===Dt})&&Nn()}}),function(Vr){var xr=Vr.pos,$e=(0,b.Z)({},(z(Vr.data),Vr.data)),Pn=Vr.title,Jt=Vr.key,In=Vr.isStart,Wn=Vr.isEnd,la=(0,Ae.km)(Jt,xr);delete $e.key,delete $e.children;var Ct=(0,Ae.H8)(la,Nr);return a.createElement(We,(0,b.Z)({},$e,Ct,{title:Pn,active:!!dn&&Jt===dn.key,pos:xr,data:Vr.data,isStart:In,isEnd:Wn,motion:Ze,motionNodes:Jt===Dt?Yn:null,motionType:Xn,onMotionStart:gr,onMotionEnd:Nn,treeNodeRequiredProps:Nr,onMouseMove:function(){_a(null)}}))}))});rn.displayName="NodeList";var Kn=rn,Gt=ee(35654),wn=ee(90782),He=ee(67841),ct=10,Lt=function(st){(0,qe.Z)(De,st);var nt=(0,Ke.Z)(De);function De(){var fe;(0,ke.Z)(this,De);for(var Xe=arguments.length,Rt=new Array(Xe),Oe=0;Oe<Xe;Oe++)Rt[Oe]=arguments[Oe];return fe=nt.call.apply(nt,[this].concat(Rt)),fe.destroyed=!1,fe.delayedDragEnterLogic=void 0,fe.loadingRetryTimes={},fe.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Ae.w$)()},fe.dragStartMousePosition=null,fe.dragNode=void 0,fe.currentMouseOverDroppableNodeKey=null,fe.listRef=a.createRef(),fe.onNodeDragStart=function(Ie,vt){var et=fe.state,Me=et.expandedKeys,St=et.keyEntities,Bn=fe.props.onDragStart,nn=vt.props.eventKey;fe.dragNode=vt,fe.dragStartMousePosition={x:Ie.clientX,y:Ie.clientY};var fn=(0,Gt._5)(Me,nn);fe.setState({draggingNodeKey:nn,dragChildrenKeys:(0,Gt.wA)(nn,St),indent:fe.listRef.current.getIndentWidth()}),fe.setExpandedKeys(fn),window.addEventListener("dragend",fe.onWindowDragEnd),Bn==null||Bn({event:Ie,node:(0,Ae.F)(vt.props)})},fe.onNodeDragEnter=function(Ie,vt){var et=fe.state,Me=et.expandedKeys,St=et.keyEntities,Bn=et.dragChildrenKeys,nn=et.flattenNodes,fn=et.indent,ln=fe.props,Cn=ln.onDragEnter,Ze=ln.onExpand,yt=ln.allowDrop,Zt=ln.direction,Bt=vt.props,Mt=Bt.pos,dn=Bt.eventKey,gn=(0,it.Z)(fe),Dn=gn.dragNode;if(fe.currentMouseOverDroppableNodeKey!==dn&&(fe.currentMouseOverDroppableNodeKey=dn),!Dn){fe.resetDragState();return}var Jn=(0,Gt.OM)(Ie,Dn,vt,fn,fe.dragStartMousePosition,yt,nn,St,Me,Zt),ha=Jn.dropPosition,Ra=Jn.dropLevelOffset,_a=Jn.dropTargetKey,gr=Jn.dropContainerKey,ar=Jn.dropTargetPos,pa=Jn.dropAllowed,Br=Jn.dragOverNodeKey;if(Bn.indexOf(_a)!==-1||!pa){fe.resetDragState();return}if(fe.delayedDragEnterLogic||(fe.delayedDragEnterLogic={}),Object.keys(fe.delayedDragEnterLogic).forEach(function(qt){clearTimeout(fe.delayedDragEnterLogic[qt])}),Dn.props.eventKey!==vt.props.eventKey&&(Ie.persist(),fe.delayedDragEnterLogic[Mt]=window.setTimeout(function(){if(fe.state.draggingNodeKey!==null){var qt=(0,_e.Z)(Me),An=(0,He.Z)(St,vt.props.eventKey);An&&(An.children||[]).length&&(qt=(0,Gt.L0)(Me,vt.props.eventKey)),"expandedKeys"in fe.props||fe.setExpandedKeys(qt),Ze==null||Ze(qt,{node:(0,Ae.F)(vt.props),expanded:!0,nativeEvent:Ie.nativeEvent})}},800)),Dn.props.eventKey===_a&&Ra===0){fe.resetDragState();return}fe.setState({dragOverNodeKey:Br,dropPosition:ha,dropLevelOffset:Ra,dropTargetKey:_a,dropContainerKey:gr,dropTargetPos:ar,dropAllowed:pa}),Cn==null||Cn({event:Ie,node:(0,Ae.F)(vt.props),expandedKeys:Me})},fe.onNodeDragOver=function(Ie,vt){var et=fe.state,Me=et.dragChildrenKeys,St=et.flattenNodes,Bn=et.keyEntities,nn=et.expandedKeys,fn=et.indent,ln=fe.props,Cn=ln.onDragOver,Ze=ln.allowDrop,yt=ln.direction,Zt=(0,it.Z)(fe),Bt=Zt.dragNode;if(Bt){var Mt=(0,Gt.OM)(Ie,Bt,vt,fn,fe.dragStartMousePosition,Ze,St,Bn,nn,yt),dn=Mt.dropPosition,gn=Mt.dropLevelOffset,Dn=Mt.dropTargetKey,Jn=Mt.dropContainerKey,ha=Mt.dropAllowed,Ra=Mt.dropTargetPos,_a=Mt.dragOverNodeKey;Me.indexOf(Dn)!==-1||!ha||(Bt.props.eventKey===Dn&&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&&Dn===fe.state.dropTargetKey&&Jn===fe.state.dropContainerKey&&Ra===fe.state.dropTargetPos&&ha===fe.state.dropAllowed&&_a===fe.state.dragOverNodeKey||fe.setState({dropPosition:dn,dropLevelOffset:gn,dropTargetKey:Dn,dropContainerKey:Jn,dropTargetPos:Ra,dropAllowed:ha,dragOverNodeKey:_a}),Cn==null||Cn({event:Ie,node:(0,Ae.F)(vt.props)}))}},fe.onNodeDragLeave=function(Ie,vt){fe.currentMouseOverDroppableNodeKey===vt.props.eventKey&&!Ie.currentTarget.contains(Ie.relatedTarget)&&(fe.resetDragState(),fe.currentMouseOverDroppableNodeKey=null);var et=fe.props.onDragLeave;et==null||et({event:Ie,node:(0,Ae.F)(vt.props)})},fe.onWindowDragEnd=function(Ie){fe.onNodeDragEnd(Ie,null,!0),window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDragEnd=function(Ie,vt){var et=fe.props.onDragEnd;fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),et==null||et({event:Ie,node:(0,Ae.F)(vt.props)}),fe.dragNode=null,window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDrop=function(Ie,vt){var et,Me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,St=fe.state,Bn=St.dragChildrenKeys,nn=St.dropPosition,fn=St.dropTargetKey,ln=St.dropTargetPos,Cn=St.dropAllowed;if(Cn){var Ze=fe.props.onDrop;if(fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),fn!==null){var yt=(0,Ne.Z)((0,Ne.Z)({},(0,Ae.H8)(fn,fe.getTreeNodeRequiredProps())),{},{active:((et=fe.getActiveItem())===null||et===void 0?void 0:et.key)===fn,data:(0,He.Z)(fe.state.keyEntities,fn).node}),Zt=Bn.indexOf(fn)!==-1;(0,E.ZP)(!Zt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Bt=(0,Gt.yx)(ln),Mt={event:Ie,node:(0,Ae.F)(yt),dragNode:fe.dragNode?(0,Ae.F)(fe.dragNode.props):null,dragNodesKeys:[fe.dragNode.props.eventKey].concat(Bn),dropToGap:nn!==0,dropPosition:nn+Number(Bt[Bt.length-1])};Me||Ze==null||Ze(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,vt){var et=fe.state,Me=et.expandedKeys,St=et.flattenNodes,Bn=vt.expanded,nn=vt.key,fn=vt.isLeaf;if(!(fn||Ie.shiftKey||Ie.metaKey||Ie.ctrlKey)){var ln=St.filter(function(Ze){return Ze.key===nn})[0],Cn=(0,Ae.F)((0,Ne.Z)((0,Ne.Z)({},(0,Ae.H8)(nn,fe.getTreeNodeRequiredProps())),{},{data:ln.data}));fe.setExpandedKeys(Bn?(0,Gt._5)(Me,nn):(0,Gt.L0)(Me,nn)),fe.onNodeExpand(Ie,Cn)}},fe.onNodeClick=function(Ie,vt){var et=fe.props,Me=et.onClick,St=et.expandAction;St==="click"&&fe.triggerExpandActionExpand(Ie,vt),Me==null||Me(Ie,vt)},fe.onNodeDoubleClick=function(Ie,vt){var et=fe.props,Me=et.onDoubleClick,St=et.expandAction;St==="doubleClick"&&fe.triggerExpandActionExpand(Ie,vt),Me==null||Me(Ie,vt)},fe.onNodeSelect=function(Ie,vt){var et=fe.state.selectedKeys,Me=fe.state,St=Me.keyEntities,Bn=Me.fieldNames,nn=fe.props,fn=nn.onSelect,ln=nn.multiple,Cn=vt.selected,Ze=vt[Bn.key],yt=!Cn;yt?ln?et=(0,Gt.L0)(et,Ze):et=[Ze]:et=(0,Gt._5)(et,Ze);var Zt=et.map(function(Bt){var Mt=(0,He.Z)(St,Bt);return Mt?Mt.node:null}).filter(function(Bt){return Bt});fe.setUncontrolledState({selectedKeys:et}),fn==null||fn(et,{event:"select",selected:yt,node:vt,selectedNodes:Zt,nativeEvent:Ie.nativeEvent})},fe.onNodeCheck=function(Ie,vt,et){var Me=fe.state,St=Me.keyEntities,Bn=Me.checkedKeys,nn=Me.halfCheckedKeys,fn=fe.props,ln=fn.checkStrictly,Cn=fn.onCheck,Ze=vt.key,yt,Zt={event:"check",node:vt,checked:et,nativeEvent:Ie.nativeEvent};if(ln){var Bt=et?(0,Gt.L0)(Bn,Ze):(0,Gt._5)(Bn,Ze),Mt=(0,Gt._5)(nn,Ze);yt={checked:Bt,halfChecked:Mt},Zt.checkedNodes=Bt.map(function(Ra){return(0,He.Z)(St,Ra)}).filter(function(Ra){return Ra}).map(function(Ra){return Ra.node}),fe.setUncontrolledState({checkedKeys:Bt})}else{var dn=(0,wn.S)([].concat((0,_e.Z)(Bn),[Ze]),!0,St),gn=dn.checkedKeys,Dn=dn.halfCheckedKeys;if(!et){var Jn=new Set(gn);Jn.delete(Ze);var ha=(0,wn.S)(Array.from(Jn),{checked:!1,halfCheckedKeys:Dn},St);gn=ha.checkedKeys,Dn=ha.halfCheckedKeys}yt=gn,Zt.checkedNodes=[],Zt.checkedNodesPositions=[],Zt.halfCheckedKeys=Dn,gn.forEach(function(Ra){var _a=(0,He.Z)(St,Ra);if(_a){var gr=_a.node,ar=_a.pos;Zt.checkedNodes.push(gr),Zt.checkedNodesPositions.push({node:gr,pos:ar})}}),fe.setUncontrolledState({checkedKeys:gn},!1,{halfCheckedKeys:Dn})}Cn==null||Cn(yt,Zt)},fe.onNodeLoad=function(Ie){var vt=Ie.key,et=new Promise(function(Me,St){fe.setState(function(Bn){var nn=Bn.loadedKeys,fn=nn===void 0?[]:nn,ln=Bn.loadingKeys,Cn=ln===void 0?[]:ln,Ze=fe.props,yt=Ze.loadData,Zt=Ze.onLoad;if(!yt||fn.indexOf(vt)!==-1||Cn.indexOf(vt)!==-1)return null;var Bt=yt(Ie);return Bt.then(function(){var Mt=fe.state.loadedKeys,dn=(0,Gt.L0)(Mt,vt);Zt==null||Zt(dn,{event:"load",node:Ie}),fe.setUncontrolledState({loadedKeys:dn}),fe.setState(function(gn){return{loadingKeys:(0,Gt._5)(gn.loadingKeys,vt)}}),Me()}).catch(function(Mt){if(fe.setState(function(gn){return{loadingKeys:(0,Gt._5)(gn.loadingKeys,vt)}}),fe.loadingRetryTimes[vt]=(fe.loadingRetryTimes[vt]||0)+1,fe.loadingRetryTimes[vt]>=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,Gt.L0)(dn,vt)}),Me()}St(Mt)}),{loadingKeys:(0,Gt.L0)(Cn,vt)}})});return et.catch(function(){}),et},fe.onNodeMouseEnter=function(Ie,vt){var et=fe.props.onMouseEnter;et==null||et({event:Ie,node:vt})},fe.onNodeMouseLeave=function(Ie,vt){var et=fe.props.onMouseLeave;et==null||et({event:Ie,node:vt})},fe.onNodeContextMenu=function(Ie,vt){var et=fe.props.onRightClick;et&&(Ie.preventDefault(),et({event:Ie,node:vt}))},fe.onFocus=function(){var Ie=fe.props.onFocus;fe.setState({focused:!0});for(var vt=arguments.length,et=new Array(vt),Me=0;Me<vt;Me++)et[Me]=arguments[Me];Ie==null||Ie.apply(void 0,et)},fe.onBlur=function(){var Ie=fe.props.onBlur;fe.setState({focused:!1}),fe.onActiveChange(null);for(var vt=arguments.length,et=new Array(vt),Me=0;Me<vt;Me++)et[Me]=arguments[Me];Ie==null||Ie.apply(void 0,et)},fe.getTreeNodeRequiredProps=function(){var Ie=fe.state,vt=Ie.expandedKeys,et=Ie.selectedKeys,Me=Ie.loadedKeys,St=Ie.loadingKeys,Bn=Ie.checkedKeys,nn=Ie.halfCheckedKeys,fn=Ie.dragOverNodeKey,ln=Ie.dropPosition,Cn=Ie.keyEntities;return{expandedKeys:vt||[],selectedKeys:et||[],loadedKeys:Me||[],loadingKeys:St||[],checkedKeys:Bn||[],halfCheckedKeys:nn||[],dragOverNodeKey:fn,dropPosition:ln,keyEntities:Cn}},fe.setExpandedKeys=function(Ie){var vt=fe.state,et=vt.treeData,Me=vt.fieldNames,St=(0,Ae.oH)(et,Ie,Me);fe.setUncontrolledState({expandedKeys:Ie,flattenNodes:St},!0)},fe.onNodeExpand=function(Ie,vt){var et=fe.state.expandedKeys,Me=fe.state,St=Me.listChanging,Bn=Me.fieldNames,nn=fe.props,fn=nn.onExpand,ln=nn.loadData,Cn=vt.expanded,Ze=vt[Bn.key];if(!St){var yt=et.indexOf(Ze),Zt=!Cn;if((0,E.ZP)(Cn&&yt!==-1||!Cn&&yt===-1,"Expand state not sync with index check"),Zt?et=(0,Gt.L0)(et,Ze):et=(0,Gt._5)(et,Ze),fe.setExpandedKeys(et),fn==null||fn(et,{node:vt,expanded:Zt,nativeEvent:Ie.nativeEvent}),Zt&&ln){var Bt=fe.onNodeLoad(vt);Bt&&Bt.then(function(){var Mt=(0,Ae.oH)(fe.state.treeData,et,Bn);fe.setUncontrolledState({flattenNodes:Mt})}).catch(function(){var Mt=fe.state.expandedKeys,dn=(0,Gt._5)(Mt,Ze);fe.setExpandedKeys(dn)})}}},fe.onListChangeStart=function(){fe.setUncontrolledState({listChanging:!0})},fe.onListChangeEnd=function(){setTimeout(function(){fe.setUncontrolledState({listChanging:!1})})},fe.onActiveChange=function(Ie){var vt=fe.state.activeKey,et=fe.props.onActiveChange;vt!==Ie&&(fe.setState({activeKey:Ie}),Ie!==null&&fe.scrollTo({key:Ie}),et==null||et(Ie))},fe.getActiveItem=function(){var Ie=fe.state,vt=Ie.activeKey,et=Ie.flattenNodes;return vt===null?null:et.find(function(Me){var St=Me.key;return St===vt})||null},fe.offsetActiveKey=function(Ie){var vt=fe.state,et=vt.flattenNodes,Me=vt.activeKey,St=et.findIndex(function(fn){var ln=fn.key;return ln===Me});St===-1&&Ie<0&&(St=et.length),St=(St+Ie+et.length)%et.length;var Bn=et[St];if(Bn){var nn=Bn.key;fe.onActiveChange(nn)}else fe.onActiveChange(null)},fe.onKeyDown=function(Ie){var vt=fe.state,et=vt.activeKey,Me=vt.expandedKeys,St=vt.checkedKeys,Bn=vt.fieldNames,nn=fe.props,fn=nn.onKeyDown,ln=nn.checkable,Cn=nn.selectable;switch(Ie.which){case Ye.Z.UP:{fe.offsetActiveKey(-1),Ie.preventDefault();break}case Ye.Z.DOWN:{fe.offsetActiveKey(1),Ie.preventDefault();break}}var Ze=fe.getActiveItem();if(Ze&&Ze.data){var yt=fe.getTreeNodeRequiredProps(),Zt=Ze.data.isLeaf===!1||!!(Ze.data[Bn.children]||[]).length,Bt=(0,Ae.F)((0,Ne.Z)((0,Ne.Z)({},(0,Ae.H8)(et,yt)),{},{data:Ze.data,active:!0}));switch(Ie.which){case Ye.Z.LEFT:{Zt&&Me.includes(et)?fe.onNodeExpand({},Bt):Ze.parent&&fe.onActiveChange(Ze.parent.key),Ie.preventDefault();break}case Ye.Z.RIGHT:{Zt&&!Me.includes(et)?fe.onNodeExpand({},Bt):Ze.children&&Ze.children.length&&fe.onActiveChange(Ze.children[0].key),Ie.preventDefault();break}case Ye.Z.ENTER:case Ye.Z.SPACE:{ln&&!Bt.disabled&&Bt.checkable!==!1&&!Bt.disableCheckbox?fe.onNodeCheck({},Bt,!St.includes(et)):!ln&&Cn&&!Bt.disabled&&Bt.selectable!==!1&&fe.onNodeSelect({},Bt);break}}}fn==null||fn(Ie)},fe.setUncontrolledState=function(Ie){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!fe.destroyed){var Me=!1,St=!0,Bn={};Object.keys(Ie).forEach(function(nn){if(nn in fe.props){St=!1;return}Me=!0,Bn[nn]=Ie[nn]}),Me&&(!vt||St)&&fe.setState((0,Ne.Z)((0,Ne.Z)({},Bn),et))}},fe.scrollTo=function(Ie){fe.listRef.current.scrollTo(Ie)},fe}return(0,le.Z)(De,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Xe=this.props.activeKey;Xe!==void 0&&Xe!==this.state.activeKey&&(this.setState({activeKey:Xe}),Xe!==null&&this.scrollTo({key:Xe}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Xe,Rt=this.state,Oe=Rt.focused,Ie=Rt.flattenNodes,vt=Rt.keyEntities,et=Rt.draggingNodeKey,Me=Rt.activeKey,St=Rt.dropLevelOffset,Bn=Rt.dropContainerKey,nn=Rt.dropTargetKey,fn=Rt.dropPosition,ln=Rt.dragOverNodeKey,Cn=Rt.indent,Ze=this.props,yt=Ze.prefixCls,Zt=Ze.className,Bt=Ze.style,Mt=Ze.showLine,dn=Ze.focusable,gn=Ze.tabIndex,Dn=gn===void 0?0:gn,Jn=Ze.selectable,ha=Ze.showIcon,Ra=Ze.icon,_a=Ze.switcherIcon,gr=Ze.draggable,ar=Ze.checkable,pa=Ze.checkStrictly,Br=Ze.disabled,qt=Ze.motion,An=Ze.loadData,oa=Ze.filterTreeNode,Da=Ze.height,ut=Ze.itemHeight,bn=Ze.virtual,Ln=Ze.titleRender,zn=Ze.dropIndicatorRender,pn=Ze.onContextMenu,ia=Ze.onScroll,Sa=Ze.direction,It=Ze.rootClassName,kt=Ze.rootStyle,bt=(0,ue.Z)(this.props,{aria:!0,data:!0}),Qn;return gr&&((0,Be.Z)(gr)==="object"?Qn=gr:typeof gr=="function"?Qn={nodeDraggable:gr}:Qn={}),a.createElement(x.k.Provider,{value:{prefixCls:yt,selectable:Jn,showIcon:ha,icon:Ra,switcherIcon:_a,draggable:Qn,draggingNodeKey:et,checkable:ar,checkStrictly:pa,disabled:Br,keyEntities:vt,dropLevelOffset:St,dropContainerKey:Bn,dropTargetKey:nn,dropPosition:fn,dragOverNodeKey:ln,indent:Cn,direction:Sa,dropIndicatorRender:zn,loadData:An,filterTreeNode:oa,titleRender:Ln,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{role:"tree",className:Je()(yt,Zt,It,(Xe={},(0,de.Z)(Xe,"".concat(yt,"-show-line"),Mt),(0,de.Z)(Xe,"".concat(yt,"-focused"),Oe),(0,de.Z)(Xe,"".concat(yt,"-active-focused"),Me!==null),Xe)),style:kt},a.createElement(Kn,(0,b.Z)({ref:this.listRef,prefixCls:yt,style:Bt,data:Ie,disabled:Br,selectable:Jn,checkable:!!ar,motion:qt,dragging:et!==null,height:Da,itemHeight:ut,virtual:bn,focusable:dn,focused:Oe,tabIndex:Dn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:pn,onScroll:ia},this.getTreeNodeRequiredProps(),bt))))}}],[{key:"getDerivedStateFromProps",value:function(Xe,Rt){var Oe=Rt.prevProps,Ie={prevProps:Xe};function vt(dn){return!Oe&&dn in Xe||Oe&&Oe[dn]!==Xe[dn]}var et,Me=Rt.fieldNames;if(vt("fieldNames")&&(Me=(0,Ae.w$)(Xe.fieldNames),Ie.fieldNames=Me),vt("treeData")?et=Xe.treeData:vt("children")&&((0,E.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),et=(0,Ae.zn)(Xe.children)),et){Ie.treeData=et;var St=(0,Ae.I8)(et,{fieldNames:Me});Ie.keyEntities=(0,Ne.Z)((0,de.Z)({},Dt,Ft),St.keyEntities)}var Bn=Ie.keyEntities||Rt.keyEntities;if(vt("expandedKeys")||Oe&&vt("autoExpandParent"))Ie.expandedKeys=Xe.autoExpandParent||!Oe&&Xe.defaultExpandParent?(0,Gt.r7)(Xe.expandedKeys,Bn):Xe.expandedKeys;else if(!Oe&&Xe.defaultExpandAll){var nn=(0,Ne.Z)({},Bn);delete nn[Dt],Ie.expandedKeys=Object.keys(nn).map(function(dn){return nn[dn].key})}else!Oe&&Xe.defaultExpandedKeys&&(Ie.expandedKeys=Xe.autoExpandParent||Xe.defaultExpandParent?(0,Gt.r7)(Xe.defaultExpandedKeys,Bn):Xe.defaultExpandedKeys);if(Ie.expandedKeys||delete Ie.expandedKeys,et||Ie.expandedKeys){var fn=(0,Ae.oH)(et||Rt.treeData,Ie.expandedKeys||Rt.expandedKeys,Me);Ie.flattenNodes=fn}if(Xe.selectable&&(vt("selectedKeys")?Ie.selectedKeys=(0,Gt.BT)(Xe.selectedKeys,Xe):!Oe&&Xe.defaultSelectedKeys&&(Ie.selectedKeys=(0,Gt.BT)(Xe.defaultSelectedKeys,Xe))),Xe.checkable){var ln;if(vt("checkedKeys")?ln=(0,Gt.E6)(Xe.checkedKeys)||{}:!Oe&&Xe.defaultCheckedKeys?ln=(0,Gt.E6)(Xe.defaultCheckedKeys)||{}:et&&(ln=(0,Gt.E6)(Xe.checkedKeys)||{checkedKeys:Rt.checkedKeys,halfCheckedKeys:Rt.halfCheckedKeys}),ln){var Cn=ln,Ze=Cn.checkedKeys,yt=Ze===void 0?[]:Ze,Zt=Cn.halfCheckedKeys,Bt=Zt===void 0?[]:Zt;if(!Xe.checkStrictly){var Mt=(0,wn.S)(yt,!0,Bn);yt=Mt.checkedKeys,Bt=Mt.halfCheckedKeys}Ie.checkedKeys=yt,Ie.halfCheckedKeys=Bt}}return vt("loadedKeys")&&(Ie.loadedKeys=Xe.loadedKeys),Ie}}]),De}(a.Component);Lt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:y,allowDrop:function(){return!0},expandAction:!1},Lt.TreeNode=ye.Z;var mt=Lt,Nt=mt},35654:function(Vt,jt,ee){"use strict";ee.d(jt,{BT:function(){return a},E6:function(){return z},L0:function(){return Ke},OM:function(){return E},_5:function(){return qe},r7:function(){return te},wA:function(){return Je},yx:function(){return je}});var b=ee(62730),de=ee(28788),Be=ee(48736),Ne=ee(59301),_e=ee(39417),ke=ee(67841),le=ee(71430),it=null;function qe(re,se){if(!re)return[];var ie=re.slice(),ve=ie.indexOf(se);return ve>=0&&ie.splice(ve,1),ie}function Ke(re,se){var ie=(re||[]).slice();return ie.indexOf(se)===-1&&ie.push(se),ie}function je(re){return re.split("-")}function Je(re,se){var ie=[],ve=(0,ke.Z)(se,re);function ye(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ge.forEach(function(Ae){var ze=Ae.key,he=Ae.children;ie.push(ze),ye(he)})}return ye(ve.children),ie}function Ye(re){if(re.parent){var se=je(re.pos);return Number(se[se.length-1])===re.parent.children.length-1}return!1}function ue(re){var se=je(re.pos);return Number(se[se.length-1])===0}function E(re,se,ie,ve,ye,Ge,Ae,ze,he,Qe){var We,ft=re.clientX,Le=re.clientY,ot=re.target.getBoundingClientRect(),dt=ot.top,gt=ot.height,Dt=(Qe==="rtl"?-1:1)*(((ye==null?void 0:ye.x)||0)-ft),sn=(Dt-12)/ve,Ft=(0,ke.Z)(ze,ie.props.eventKey);if(Le<dt+gt/2){var on=Ae.findIndex(function(Nt){return Nt.key===Ft.key}),cn=on<=0?0:on-1,Ve=Ae[cn].key;Ft=(0,ke.Z)(ze,Ve)}var at=Ft.key,rn=Ft,Kn=Ft.key,Gt=0,wn=0;if(!he.includes(at))for(var He=0;He<sn&&Ye(Ft);He+=1)Ft=Ft.parent,wn+=1;var ct=se.props.data,Lt=Ft.node,mt=!0;return ue(Ft)&&Ft.level===0&&Le<dt+gt/2&&Ge({dragNode:ct,dropNode:Lt,dropPosition:-1})&&Ft.key===ie.props.eventKey?Gt=-1:(rn.children||[]).length&&he.includes(Kn)?Ge({dragNode:ct,dropNode:Lt,dropPosition:0})?Gt=0:mt=!1:wn===0?sn>-1.5?Ge({dragNode:ct,dropNode:Lt,dropPosition:1})?Gt=1:mt=!1:Ge({dragNode:ct,dropNode:Lt,dropPosition:0})?Gt=0:Ge({dragNode:ct,dropNode:Lt,dropPosition:1})?Gt=1:mt=!1:Ge({dragNode:ct,dropNode:Lt,dropPosition:1})?Gt=1:mt=!1,{dropPosition:Gt,dropLevelOffset:wn,dropTargetKey:Ft.key,dropTargetPos:Ft.pos,dragOverNodeKey:Kn,dropContainerKey:Gt===0?null:((We=Ft.parent)===null||We===void 0?void 0:We.key)||null,dropAllowed:mt}}function a(re,se){if(re){var ie=se.multiple;return ie?re.slice():re.length?[re[0]]:re}}var x=function(se){return se};function y(re,se){if(!re)return[];var ie=se||{},ve=ie.processProps,ye=ve===void 0?x:ve,Ge=Array.isArray(re)?re:[re];return Ge.map(function(Ae){var ze=Ae.children,he=_objectWithoutProperties(Ae,it),Qe=y(ze,se);return React.createElement(TreeNode,_extends({key:he.key},ye(he)),Qe)})}function z(re){if(!re)return null;var se;if(Array.isArray(re))se={checkedKeys:re,halfCheckedKeys:void 0};else if((0,de.Z)(re)==="object")se={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 se}function te(re,se){var ie=new Set;function ve(ye){if(!ie.has(ye)){var Ge=(0,ke.Z)(se,ye);if(Ge){ie.add(ye);var Ae=Ge.parent,ze=Ge.node;ze.disabled||Ae&&ve(Ae.key)}}}return(re||[]).forEach(function(ye){ve(ye)}),(0,b.Z)(ie)}},90782:function(Vt,jt,ee){"use strict";ee.d(jt,{S:function(){return le}});var b=ee(48736),de=ee(67841);function Be(it,qe){var Ke=new Set;return it.forEach(function(je){qe.has(je)||Ke.add(je)}),Ke}function Ne(it){var qe=it||{},Ke=qe.disabled,je=qe.disableCheckbox,Je=qe.checkable;return!!(Ke||je)||Je===!1}function _e(it,qe,Ke,je){for(var Je=new Set(it),Ye=new Set,ue=0;ue<=Ke;ue+=1){var E=qe.get(ue)||new Set;E.forEach(function(z){var te=z.key,re=z.node,se=z.children,ie=se===void 0?[]:se;Je.has(te)&&!je(re)&&ie.filter(function(ve){return!je(ve.node)}).forEach(function(ve){Je.add(ve.key)})})}for(var a=new Set,x=Ke;x>=0;x-=1){var y=qe.get(x)||new Set;y.forEach(function(z){var te=z.parent,re=z.node;if(!(je(re)||!z.parent||a.has(z.parent.key))){if(je(z.parent.node)){a.add(te.key);return}var se=!0,ie=!1;(te.children||[]).filter(function(ve){return!je(ve.node)}).forEach(function(ve){var ye=ve.key,Ge=Je.has(ye);se&&!Ge&&(se=!1),!ie&&(Ge||Ye.has(ye))&&(ie=!0)}),se&&Je.add(te.key),ie&&Ye.add(te.key),a.add(te.key)}})}return{checkedKeys:Array.from(Je),halfCheckedKeys:Array.from(Be(Ye,Je))}}function ke(it,qe,Ke,je,Je){for(var Ye=new Set(it),ue=new Set(qe),E=0;E<=je;E+=1){var a=Ke.get(E)||new Set;a.forEach(function(te){var re=te.key,se=te.node,ie=te.children,ve=ie===void 0?[]:ie;!Ye.has(re)&&!ue.has(re)&&!Je(se)&&ve.filter(function(ye){return!Je(ye.node)}).forEach(function(ye){Ye.delete(ye.key)})})}ue=new Set;for(var x=new Set,y=je;y>=0;y-=1){var z=Ke.get(y)||new Set;z.forEach(function(te){var re=te.parent,se=te.node;if(!(Je(se)||!te.parent||x.has(te.parent.key))){if(Je(te.parent.node)){x.add(re.key);return}var ie=!0,ve=!1;(re.children||[]).filter(function(ye){return!Je(ye.node)}).forEach(function(ye){var Ge=ye.key,Ae=Ye.has(Ge);ie&&!Ae&&(ie=!1),!ve&&(Ae||ue.has(Ge))&&(ve=!0)}),ie||Ye.delete(re.key),ve&&ue.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(Ye),halfCheckedKeys:Array.from(Be(ue,Ye))}}function le(it,qe,Ke,je){var Je=[],Ye;je?Ye=je:Ye=Ne;var ue=new Set(it.filter(function(y){var z=!!(0,de.Z)(Ke,y);return z||Je.push(y),z})),E=new Map,a=0;Object.keys(Ke).forEach(function(y){var z=Ke[y],te=z.level,re=E.get(te);re||(re=new Set,E.set(te,re)),re.add(z),a=Math.max(a,te)}),(0,b.ZP)(!Je.length,"Tree missing follow keys: ".concat(Je.slice(0,100).map(function(y){return"'".concat(y,"'")}).join(", ")));var x;return qe===!0?x=_e(ue,E,a,Ye):x=ke(ue,qe.halfCheckedKeys,E,a,Ye),x}},67841:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return b}});function b(de,Be){return de[Be]}},71430:function(Vt,jt,ee){"use strict";ee.d(jt,{F:function(){return te},H8:function(){return z},I8:function(){return y},km:function(){return Je},oH:function(){return a},w$:function(){return Ye},zn:function(){return E}});var b=ee(28788),de=ee(62730),Be=ee(89490),Ne=ee(39224),_e=ee(11592),ke=ee(2738),le=ee(48736),it=ee(67841),qe=["children"];function Ke(re,se){return"".concat(re,"-").concat(se)}function je(re){return re&&re.type&&re.type.isTreeNode}function Je(re,se){return re!=null?re:se}function Ye(re){var se=re||{},ie=se.title,ve=se._title,ye=se.key,Ge=se.children,Ae=ie||"title";return{title:Ae,_title:ve||[Ae],key:ye||"key",children:Ge||"children"}}function ue(re,se){var ie=new Map;function ve(ye){var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ye||[]).forEach(function(Ae){var ze=Ae[se.key],he=Ae[se.children];warning(ze!=null,"Tree node must have a certain key: [".concat(Ge).concat(ze,"]"));var Qe=String(ze);warning(!ie.has(Qe)||ze===null||ze===void 0,"Same 'key' exist in the Tree: ".concat(Qe)),ie.set(Qe,!0),ve(he,"".concat(Ge).concat(Qe," > "))})}ve(re)}function E(re){function se(ie){var ve=(0,_e.Z)(ie);return ve.map(function(ye){if(!je(ye))return(0,le.ZP)(!ye,"Tree/TreeNode can only accept TreeNode as children."),null;var Ge=ye.key,Ae=ye.props,ze=Ae.children,he=(0,Ne.Z)(Ae,qe),Qe=(0,Be.Z)({key:Ge},he),We=se(ze);return We.length&&(Qe.children=We),Qe}).filter(function(ye){return ye})}return se(re)}function a(re,se,ie){var ve=Ye(ie),ye=ve._title,Ge=ve.key,Ae=ve.children,ze=new Set(se===!0?[]:se),he=[];function Qe(We){var ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return We.map(function(Le,ot){for(var dt=Ke(ft?ft.pos:"0",ot),gt=Je(Le[Ge],dt),Dt,sn=0;sn<ye.length;sn+=1){var Ft=ye[sn];if(Le[Ft]!==void 0){Dt=Le[Ft];break}}var on=(0,Be.Z)((0,Be.Z)({},(0,ke.Z)(Le,[].concat((0,de.Z)(ye),[Ge,Ae]))),{},{title:Dt,key:gt,parent:ft,pos:dt,children:null,data:Le,isStart:[].concat((0,de.Z)(ft?ft.isStart:[]),[ot===0]),isEnd:[].concat((0,de.Z)(ft?ft.isEnd:[]),[ot===We.length-1])});return he.push(on),se===!0||ze.has(gt)?on.children=Qe(Le[Ae]||[],on):on.children=[],on})}return Qe(re),he}function x(re,se,ie){var ve={};(0,b.Z)(ie)==="object"?ve=ie:ve={externalGetKey:ie},ve=ve||{};var ye=ve,Ge=ye.childrenPropName,Ae=ye.externalGetKey,ze=ye.fieldNames,he=Ye(ze),Qe=he.key,We=he.children,ft=Ge||We,Le;Ae?typeof Ae=="string"?Le=function(gt){return gt[Ae]}:typeof Ae=="function"&&(Le=function(gt){return Ae(gt)}):Le=function(gt,Dt){return Je(gt[Qe],Dt)};function ot(dt,gt,Dt,sn){var Ft=dt?dt[ft]:re,on=dt?Ke(Dt.pos,gt):"0",cn=dt?[].concat((0,de.Z)(sn),[dt]):[];if(dt){var Ve=Le(dt,on),at={node:dt,index:gt,pos:on,key:Ve,parentPos:Dt.node?Dt.pos:null,level:Dt.level+1,nodes:cn};se(at)}Ft&&Ft.forEach(function(rn,Kn){ot(rn,Kn,{node:dt,pos:on,level:Dt?Dt.level+1:-1},cn)})}ot(null)}function y(re){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ie=se.initWrapper,ve=se.processEntity,ye=se.onProcessFinished,Ge=se.externalGetKey,Ae=se.childrenPropName,ze=se.fieldNames,he=arguments.length>2?arguments[2]:void 0,Qe=Ge||he,We={},ft={},Le={posEntities:We,keyEntities:ft};return ie&&(Le=ie(Le)||Le),x(re,function(ot){var dt=ot.node,gt=ot.index,Dt=ot.pos,sn=ot.key,Ft=ot.parentPos,on=ot.level,cn=ot.nodes,Ve={node:dt,nodes:cn,index:gt,key:sn,pos:Dt,level:on},at=Je(sn,Dt);We[Dt]=Ve,ft[at]=Ve,Ve.parent=We[Ft],Ve.parent&&(Ve.parent.children=Ve.parent.children||[],Ve.parent.children.push(Ve)),ve&&ve(Ve,Le)},{externalGetKey:Qe,childrenPropName:Ae,fieldNames:ze}),ye&&ye(Le),Le}function z(re,se){var ie=se.expandedKeys,ve=se.selectedKeys,ye=se.loadedKeys,Ge=se.loadingKeys,Ae=se.checkedKeys,ze=se.halfCheckedKeys,he=se.dragOverNodeKey,Qe=se.dropPosition,We=se.keyEntities,ft=(0,it.Z)(We,re),Le={eventKey:re,expanded:ie.indexOf(re)!==-1,selected:ve.indexOf(re)!==-1,loaded:ye.indexOf(re)!==-1,loading:Ge.indexOf(re)!==-1,checked:Ae.indexOf(re)!==-1,halfChecked:ze.indexOf(re)!==-1,pos:String(ft?ft.pos:""),dragOver:he===re&&Qe===0,dragOverGapTop:he===re&&Qe===-1,dragOverGapBottom:he===re&&Qe===1};return Le}function te(re){var se=re.data,ie=re.expanded,ve=re.selected,ye=re.checked,Ge=re.loaded,Ae=re.loading,ze=re.halfChecked,he=re.dragOver,Qe=re.dragOverGapTop,We=re.dragOverGapBottom,ft=re.pos,Le=re.active,ot=re.eventKey,dt=(0,Be.Z)((0,Be.Z)({},se),{},{expanded:ie,selected:ve,checked:ye,loaded:Ge,loading:Ae,halfChecked:ze,dragOver:he,dragOverGapTop:Qe,dragOverGapBottom:We,pos:ft,active:Le,key:ot});return"props"in dt||Object.defineProperty(dt,"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}}),dt}},8224:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return de}});var b=ee(4676);function de(Be,Ne,_e,ke){var le=b.unstable_batchedUpdates?function(qe){b.unstable_batchedUpdates(_e,qe)}:_e;return Be!=null&&Be.addEventListener&&Be.addEventListener(Ne,le,ke),{remove:function(){Be!=null&&Be.removeEventListener&&Be.removeEventListener(Ne,le,ke)}}}},55468:function(Vt,jt,ee){"use strict";ee.d(jt,{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(ue){return ue.nodeType===1?ue.ownerDocument.defaultView.getComputedStyle(ue,null):{}}function _e(ue,E,a){if(E=E.toLowerCase(),a==="auto"){if(E==="height")return ue.offsetHeight;if(E==="width")return ue.offsetWidth}return E in de||(de[E]=b.test(E)),de[E]?parseFloat(a)||0:a}function ke(ue,E){var a=arguments.length,x=Ne(ue);return E=Be[E]?"cssFloat"in ue.style?"cssFloat":"styleFloat":E,a===1?x:_e(ue,E,x[E]||ue.style[E])}function le(ue,E,a){var x=arguments.length;if(E=Be[E]?"cssFloat"in ue.style?"cssFloat":"styleFloat":E,x===3)return typeof a=="number"&&b.test(E)&&(a="".concat(a,"px")),ue.style[E]=a,a;for(var y in E)E.hasOwnProperty(y)&&le(ue,y,E[y]);return Ne(ue)}function it(ue){return ue===document.body?document.documentElement.clientWidth:ue.offsetWidth}function qe(ue){return ue===document.body?window.innerHeight||document.documentElement.clientHeight:ue.offsetHeight}function Ke(){var ue=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),E=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ue,height:E}}function je(){var ue=document.documentElement.clientWidth,E=window.innerHeight||document.documentElement.clientHeight;return{width:ue,height:E}}function Je(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ye(ue){var E=ue.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(Vt,jt,ee){"use strict";ee.d(jt,{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],it=window.document.documentElement;return le.some(function(qe){return qe in it.style})}return!1},Be=function(ke,le){if(!de(ke))return!1;var it=document.createElement("div"),qe=it.style[ke];return it.style[ke]=le,it.style[ke]!==qe};function Ne(_e,ke){return!Array.isArray(_e)&&ke!==void 0?Be(_e,ke):de(_e)}},71426:function(Vt,jt,ee){"use strict";ee.d(jt,{Z5:function(){return iu},_l:function(){return jd},bK:function(){return qs}});var b=ee(59301),de=ee(51317);function Be(ne,ae){ne.prototype=Object.create(ae.prototype),ne.prototype.constructor=ne,(0,de.Z)(ne,ae)}var Ne=ee(71409),_e=ee(59781),ke=b.createContext(null),le=null;function it(ne){ne()}var qe=it,Ke=function(ae){return qe=ae},je=function(){return qe};function Je(){var ne=je(),ae=null,oe=null;return{clear:function(){ae=null,oe=null},notify:function(){ne(function(){for(var xe=ae;xe;)xe.callback(),xe=xe.next})},get:function(){for(var xe=[],Fe=ae;Fe;)xe.push(Fe),Fe=Fe.next;return xe},subscribe:function(xe){var Fe=!0,Re=oe={callback:xe,next:null,prev:oe};return Re.prev?Re.prev.next=Re:ae=Re,function(){!Fe||ae===null||(Fe=!1,Re.next?Re.next.prev=Re.prev:oe=Re.prev,Re.prev?Re.prev.next=Re.next:ae=Re.next)}}}}var Ye={notify:function(){},get:function(){return[]}};function ue(ne,ae){var oe,ge=Ye;function xe(wt){return Et(),ge.subscribe(wt)}function Fe(){ge.notify()}function Re(){Tt.onStateChange&&Tt.onStateChange()}function Te(){return!!oe}function Et(){oe||(oe=ae?ae.addNestedSub(Re):ne.subscribe(Re),ge=Je())}function _t(){oe&&(oe(),oe=void 0,ge.clear(),ge=Ye)}var Tt={addNestedSub:xe,notifyNestedSubs:Fe,handleChangeWrapper:Re,isSubscribed:Te,trySubscribe:Et,tryUnsubscribe:_t,getListeners:function(){return ge}};return Tt}var E=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect;function a(ne){var ae=ne.store,oe=ne.context,ge=ne.children,xe=(0,b.useMemo)(function(){var Te=ue(ae);return{store:ae,subscription:Te}},[ae]),Fe=(0,b.useMemo)(function(){return ae.getState()},[ae]);E(function(){var Te=xe.subscription;return Te.onStateChange=Te.notifyNestedSubs,Te.trySubscribe(),Fe!==ae.getState()&&Te.notifyNestedSubs(),function(){Te.tryUnsubscribe(),Te.onStateChange=null}},[xe,Fe]);var Re=oe||ke;return b.createElement(Re.Provider,{value:xe},ge)}var x=a,y=ee(91204),z=ee(94266),te=ee.n(z),re=ee(53410),se=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ie=["reactReduxForwardedRef"],ve=[],ye=[null,null],Ge=function(ae){try{return JSON.stringify(ae)}catch(oe){return String(ae)}};function Ae(ne,ae){var oe=ne[1];return[ae.payload,oe+1]}function ze(ne,ae,oe){E(function(){return ne.apply(void 0,ae)},oe)}function he(ne,ae,oe,ge,xe,Fe,Re){ne.current=ge,ae.current=xe,oe.current=!1,Fe.current&&(Fe.current=null,Re())}function Qe(ne,ae,oe,ge,xe,Fe,Re,Te,Et,_t){if(ne){var Tt=!1,wt=null,At=function(){if(!Tt){var fr=ae.getState(),Pr,Fr;try{Pr=ge(fr,xe.current)}catch(Ur){Fr=Ur,wt=Ur}Fr||(wt=null),Pr===Fe.current?Re.current||Et():(Fe.current=Pr,Te.current=Pr,Re.current=!0,_t({type:"STORE_UPDATED",payload:{error:Fr}}))}};oe.onStateChange=At,oe.trySubscribe(),At();var Yt=function(){if(Tt=!0,oe.tryUnsubscribe(),oe.onStateChange=null,wt)throw wt};return Yt}}var We=function(){return[null,0]};function ft(ne,ae){ae===void 0&&(ae={});var oe=ae,ge=oe.getDisplayName,xe=ge===void 0?function(ai){return"ConnectAdvanced("+ai+")"}:ge,Fe=oe.methodName,Re=Fe===void 0?"connectAdvanced":Fe,Te=oe.renderCountProp,Et=Te===void 0?void 0:Te,_t=oe.shouldHandleStateChanges,Tt=_t===void 0?!0:_t,wt=oe.storeKey,At=wt===void 0?"store":wt,Yt=oe.withRef,Vn=Yt===void 0?!1:Yt,fr=oe.forwardRef,Pr=fr===void 0?!1:fr,Fr=oe.context,Ur=Fr===void 0?ke:Fr,ro=(0,y.Z)(oe,se);if(0)var co;var si=Ur;return function(Ai){var vl=Ai.displayName||Ai.name||"Component",ki=xe(vl),pl=(0,Ne.Z)({},ro,{getDisplayName:xe,methodName:Re,renderCountProp:Et,shouldHandleStateChanges:Tt,storeKey:At,displayName:ki,wrappedComponentName:vl,WrappedComponent:Ai}),Ll=ro.pure;function Tl(_l){return ne(_l.dispatch,pl)}var Au=Ll?b.useMemo:function(_l){return _l()};function yu(_l){var ns=(0,b.useMemo)(function(){var bs=_l.reactReduxForwardedRef,zs=(0,y.Z)(_l,ie);return[_l.context,bs,zs]},[_l]),Iu=ns[0],Ps=ns[1],gs=ns[2],as=(0,b.useMemo)(function(){return Iu&&Iu.Consumer&&(0,re.isContextConsumer)(b.createElement(Iu.Consumer,null))?Iu:si},[Iu,si]),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(!Tt)return ye;var bs=ue(Lu,ms?null:Ou.subscription),zs=bs.notifyNestedSubs.bind(bs);return[bs,zs]},[Lu,ms,Ou]),Ss=Bs[0],ws=Bs[1],Ds=(0,b.useMemo)(function(){return ms?Ou:(0,Ne.Z)({},Ou,{subscription:Ss})},[ms,Ou,Ss]),ed=(0,b.useReducer)(Ae,ve,We),Ud=ed[0],As=Ud[0],Qd=ed[1];if(As&&As.error)throw As.error;var td=(0,b.useRef)(),Ts=(0,b.useRef)(gs),Ns=(0,b.useRef)(),nd=(0,b.useRef)(!1),_s=Au(function(){return Ns.current&&gs===Ts.current?Ns.current:ys(Lu.getState(),gs)},[Lu,As,gs]);ze(he,[Ts,td,nd,gs,_s,Ns,ws]),ze(Qe,[Tt,Lu,Ss,ys,Ts,td,nd,Ns,ws,Qd],[Lu,Ss,ys]);var Zs=(0,b.useMemo)(function(){return b.createElement(Ai,(0,Ne.Z)({},_s,{ref:Ps}))},[Ps,Ai,_s]),Yd=(0,b.useMemo)(function(){return Tt?b.createElement(as.Provider,{value:Ds},Zs):Zs},[as,Zs,Ds]);return Yd}var uu=Ll?b.memo(yu):yu;if(uu.WrappedComponent=Ai,uu.displayName=yu.displayName=ki,Pr){var Nu=b.forwardRef(function(ns,Iu){return b.createElement(uu,(0,Ne.Z)({},ns,{reactReduxForwardedRef:Iu}))});return Nu.displayName=ki,Nu.WrappedComponent=Ai,te()(Nu,Ai)}return te()(uu,Ai)}}function Le(ne,ae){return ne===ae?ne!==0||ae!==0||1/ne===1/ae:ne!==ne&&ae!==ae}function ot(ne,ae){if(Le(ne,ae))return!0;if(typeof ne!="object"||ne===null||typeof ae!="object"||ae===null)return!1;var oe=Object.keys(ne),ge=Object.keys(ae);if(oe.length!==ge.length)return!1;for(var xe=0;xe<oe.length;xe++)if(!Object.prototype.hasOwnProperty.call(ae,oe[xe])||!Le(ne[oe[xe]],ae[oe[xe]]))return!1;return!0}function dt(ne,ae){var oe={},ge=function(Re){var Te=ne[Re];typeof Te=="function"&&(oe[Re]=function(){return ae(Te.apply(void 0,arguments))})};for(var xe in ne)ge(xe);return oe}function gt(ne){return function(oe,ge){var xe=ne(oe,ge);function Fe(){return xe}return Fe.dependsOnOwnProps=!1,Fe}}function Dt(ne){return ne.dependsOnOwnProps!==null&&ne.dependsOnOwnProps!==void 0?!!ne.dependsOnOwnProps:ne.length!==1}function sn(ne,ae){return function(ge,xe){var Fe=xe.displayName,Re=function(Et,_t){return Re.dependsOnOwnProps?Re.mapToProps(Et,_t):Re.mapToProps(Et)};return Re.dependsOnOwnProps=!0,Re.mapToProps=function(Et,_t){Re.mapToProps=ne,Re.dependsOnOwnProps=Dt(ne);var Tt=Re(Et,_t);return typeof Tt=="function"&&(Re.mapToProps=Tt,Re.dependsOnOwnProps=Dt(Tt),Tt=Re(Et,_t)),Tt},Re}}function Ft(ne){return typeof ne=="function"?sn(ne,"mapDispatchToProps"):void 0}function on(ne){return ne?void 0:gt(function(ae){return{dispatch:ae}})}function cn(ne){return ne&&typeof ne=="object"?gt(function(ae){return dt(ne,ae)}):void 0}var Ve=[Ft,on,cn];function at(ne){return typeof ne=="function"?sn(ne,"mapStateToProps"):void 0}function rn(ne){return ne?void 0:gt(function(){return{}})}var Kn=[at,rn];function Gt(ne,ae,oe){return(0,Ne.Z)({},oe,ne,ae)}function wn(ne){return function(oe,ge){var xe=ge.displayName,Fe=ge.pure,Re=ge.areMergedPropsEqual,Te=!1,Et;return function(Tt,wt,At){var Yt=ne(Tt,wt,At);return Te?(!Fe||!Re(Yt,Et))&&(Et=Yt):(Te=!0,Et=Yt),Et}}}function He(ne){return typeof ne=="function"?wn(ne):void 0}function ct(ne){return ne?void 0:function(){return Gt}}var Lt=[He,ct],mt=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Nt(ne,ae,oe,ge){return function(Fe,Re){return oe(ne(Fe,Re),ae(ge,Re),Re)}}function st(ne,ae,oe,ge,xe){var Fe=xe.areStatesEqual,Re=xe.areOwnPropsEqual,Te=xe.areStatePropsEqual,Et=!1,_t,Tt,wt,At,Yt;function Vn(ro,co){return _t=ro,Tt=co,wt=ne(_t,Tt),At=ae(ge,Tt),Yt=oe(wt,At,Tt),Et=!0,Yt}function fr(){return wt=ne(_t,Tt),ae.dependsOnOwnProps&&(At=ae(ge,Tt)),Yt=oe(wt,At,Tt),Yt}function Pr(){return ne.dependsOnOwnProps&&(wt=ne(_t,Tt)),ae.dependsOnOwnProps&&(At=ae(ge,Tt)),Yt=oe(wt,At,Tt),Yt}function Fr(){var ro=ne(_t,Tt),co=!Te(ro,wt);return wt=ro,co&&(Yt=oe(wt,At,Tt)),Yt}function Ur(ro,co){var si=!Re(co,Tt),ai=!Fe(ro,_t,co,Tt);return _t=ro,Tt=co,si&&ai?fr():si?Pr():ai?Fr():Yt}return function(co,si){return Et?Ur(co,si):Vn(co,si)}}function nt(ne,ae){var oe=ae.initMapStateToProps,ge=ae.initMapDispatchToProps,xe=ae.initMergeProps,Fe=(0,y.Z)(ae,mt),Re=oe(ne,Fe),Te=ge(ne,Fe),Et=xe(ne,Fe),_t=Fe.pure?st:Nt;return _t(Re,Te,Et,ne,Fe)}var De=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function fe(ne,ae,oe){for(var ge=ae.length-1;ge>=0;ge--){var xe=ae[ge](ne);if(xe)return xe}return function(Fe,Re){throw new Error("Invalid value of type "+typeof ne+" for "+oe+" argument when connecting component "+Re.wrappedComponentName+".")}}function Xe(ne,ae){return ne===ae}function Rt(ne){var ae=ne===void 0?{}:ne,oe=ae.connectHOC,ge=oe===void 0?ft:oe,xe=ae.mapStateToPropsFactories,Fe=xe===void 0?Kn:xe,Re=ae.mapDispatchToPropsFactories,Te=Re===void 0?Ve:Re,Et=ae.mergePropsFactories,_t=Et===void 0?Lt:Et,Tt=ae.selectorFactory,wt=Tt===void 0?nt:Tt;return function(Yt,Vn,fr,Pr){Pr===void 0&&(Pr={});var Fr=Pr,Ur=Fr.pure,ro=Ur===void 0?!0:Ur,co=Fr.areStatesEqual,si=co===void 0?Xe:co,ai=Fr.areOwnPropsEqual,Ai=ai===void 0?ot:ai,vl=Fr.areStatePropsEqual,ki=vl===void 0?ot:vl,pl=Fr.areMergedPropsEqual,Ll=pl===void 0?ot:pl,Tl=(0,y.Z)(Fr,De),Au=fe(Yt,Fe,"mapStateToProps"),yu=fe(Vn,Te,"mapDispatchToProps"),uu=fe(fr,_t,"mergeProps");return ge(wt,(0,Ne.Z)({methodName:"connect",getDisplayName:function(_l){return"Connect("+_l+")"},shouldHandleStateChanges:!!Yt,initMapStateToProps:Au,initMapDispatchToProps:yu,initMergeProps:uu,pure:ro,areStatesEqual:si,areOwnPropsEqual:Ai,areStatePropsEqual:ki,areMergedPropsEqual:Ll},Tl))}}var Oe=Rt();function Ie(){var ne=useContext(ReactReduxContext);return ne}function vt(ne){ne===void 0&&(ne=ReactReduxContext);var ae=ne===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ne)};return function(){var ge=ae(),xe=ge.store;return xe}}var et=null;function Me(ne){ne===void 0&&(ne=ReactReduxContext);var ae=ne===ReactReduxContext?useDefaultStore:createStoreHook(ne);return function(){var ge=ae();return ge.dispatch}}var St=null,Bn=function(ae,oe){return ae===oe};function nn(ne,ae,oe,ge){var xe=useReducer(function(Vn){return Vn+1},0),Fe=xe[1],Re=useMemo(function(){return createSubscription(oe,ge)},[oe,ge]),Te=useRef(),Et=useRef(),_t=useRef(),Tt=useRef(),wt=oe.getState(),At;try{if(ne!==Et.current||wt!==_t.current||Te.current){var Yt=ne(wt);Tt.current===void 0||!ae(Yt,Tt.current)?At=Yt:At=Tt.current}else At=Tt.current}catch(Vn){throw Te.current&&(Vn.message+=`
The error may be correlated with this previous error:
`+Te.current.stack+`
`),Vn}return useIsomorphicLayoutEffect(function(){Et.current=ne,_t.current=wt,Tt.current=At,Te.current=void 0}),useIsomorphicLayoutEffect(function(){function Vn(){try{var fr=oe.getState();if(fr===_t.current)return;var Pr=Et.current(fr);if(ae(Pr,Tt.current))return;Tt.current=Pr,_t.current=fr}catch(Fr){Te.current=Fr}Fe()}return Re.onStateChange=Vn,Re.trySubscribe(),Vn(),function(){return Re.tryUnsubscribe()}},[oe,Re]),At}function fn(ne){ne===void 0&&(ne=ReactReduxContext);var ae=ne===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ne)};return function(ge,xe){xe===void 0&&(xe=Bn);var Fe=ae(),Re=Fe.store,Te=Fe.subscription,Et=nn(ge,xe,Re,Te);return useDebugValue(Et),Et}}var ln=null,Cn=ee(4676);Ke(Cn.unstable_batchedUpdates);function Ze(ne,ae){if(ne.length!==ae.length)return!1;for(var oe=0;oe<ne.length;oe++)if(ne[oe]!==ae[oe])return!1;return!0}function yt(ne,ae){var oe=(0,b.useState)(function(){return{inputs:ae,result:ne()}})[0],ge=(0,b.useRef)(!0),xe=(0,b.useRef)(oe),Fe=ge.current||!!(ae&&xe.current.inputs&&Ze(ae,xe.current.inputs)),Re=Fe?xe.current:{inputs:ae,result:ne()};return(0,b.useEffect)(function(){ge.current=!1,xe.current=Re},[Re]),Re.result}function Zt(ne,ae){return yt(function(){return ne},ae)}var Bt=yt,Mt=Zt,dn=!0,gn="Invariant failed";function Dn(ne,ae){if(!ne){if(dn)throw new Error(gn);var oe=typeof ae=="function"?ae():ae,ge=oe?"".concat(gn,": ").concat(oe):gn;throw new Error(ge)}}var Jn=function(ae){var oe=ae.top,ge=ae.right,xe=ae.bottom,Fe=ae.left,Re=ge-Fe,Te=xe-oe,Et={top:oe,right:ge,bottom:xe,left:Fe,width:Re,height:Te,x:Fe,y:oe,center:{x:(ge+Fe)/2,y:(xe+oe)/2}};return Et},ha=function(ae,oe){return{top:ae.top-oe.top,left:ae.left-oe.left,bottom:ae.bottom+oe.bottom,right:ae.right+oe.right}},Ra=function(ae,oe){return{top:ae.top+oe.top,left:ae.left+oe.left,bottom:ae.bottom-oe.bottom,right:ae.right-oe.right}},_a=function(ae,oe){return{top:ae.top+oe.y,left:ae.left+oe.x,bottom:ae.bottom+oe.y,right:ae.right+oe.x}},gr={top:0,right:0,bottom:0,left:0},ar=function(ae){var oe=ae.borderBox,ge=ae.margin,xe=ge===void 0?gr:ge,Fe=ae.border,Re=Fe===void 0?gr:Fe,Te=ae.padding,Et=Te===void 0?gr:Te,_t=Jn(ha(oe,xe)),Tt=Jn(Ra(oe,Re)),wt=Jn(Ra(Tt,Et));return{marginBox:_t,borderBox:Jn(oe),paddingBox:Tt,contentBox:wt,margin:xe,border:Re,padding:Et}},pa=function(ae){var oe=ae.slice(0,-2),ge=ae.slice(-2);if(ge!=="px")return 0;var xe=Number(oe);return isNaN(xe)&&Dn(!1),xe},Br=function(){return{x:window.pageXOffset,y:window.pageYOffset}},qt=function(ae,oe){var ge=ae.borderBox,xe=ae.border,Fe=ae.margin,Re=ae.padding,Te=_a(ge,oe);return ar({borderBox:Te,border:xe,margin:Fe,padding:Re})},An=function(ae,oe){return oe===void 0&&(oe=Br()),qt(ae,oe)},oa=function(ae,oe){var ge={top:pa(oe.marginTop),right:pa(oe.marginRight),bottom:pa(oe.marginBottom),left:pa(oe.marginLeft)},xe={top:pa(oe.paddingTop),right:pa(oe.paddingRight),bottom:pa(oe.paddingBottom),left:pa(oe.paddingLeft)},Fe={top:pa(oe.borderTopWidth),right:pa(oe.borderRightWidth),bottom:pa(oe.borderBottomWidth),left:pa(oe.borderLeftWidth)};return ar({borderBox:ae,margin:ge,padding:xe,border:Fe})},Da=function(ae){var oe=ae.getBoundingClientRect(),ge=window.getComputedStyle(ae);return oa(oe,ge)},ut=Number.isNaN||function(ae){return typeof ae=="number"&&ae!==ae};function bn(ne,ae){return!!(ne===ae||ut(ne)&&ut(ae))}function Ln(ne,ae){if(ne.length!==ae.length)return!1;for(var oe=0;oe<ne.length;oe++)if(!bn(ne[oe],ae[oe]))return!1;return!0}function zn(ne,ae){ae===void 0&&(ae=Ln);var oe,ge=[],xe,Fe=!1;function Re(){for(var Te=[],Et=0;Et<arguments.length;Et++)Te[Et]=arguments[Et];return Fe&&oe===this&&ae(Te,ge)||(xe=ne.apply(this,Te),Fe=!0,oe=this,ge=Te),xe}return Re}var pn=zn,ia=function(ae){var oe=[],ge=null,xe=function(){for(var Re=arguments.length,Te=new Array(Re),Et=0;Et<Re;Et++)Te[Et]=arguments[Et];oe=Te,!ge&&(ge=requestAnimationFrame(function(){ge=null,ae.apply(void 0,oe)}))};return xe.cancel=function(){ge&&(cancelAnimationFrame(ge),ge=null)},xe},Sa=ia,It=!0,kt=/[ \t]{2,}/g,bt=/^[ \t]*/gm,Qn=function(ae){return ae.replace(kt," ").replace(bt,"").trim()},Yn=function(ae){return Qn(`
%creact-beautiful-dnd
%c`+Qn(ae)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},Gn=function(ae){return[Yn(ae),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},ir="__react-beautiful-dnd-disable-dev-warnings";function Ba(ne,ae){var oe;It||typeof window!="undefined"&&window[ir]||(oe=console)[ne].apply(oe,Gn(ae))}var Xn=Ba.bind(null,"warn"),Ua=Ba.bind(null,"error");function wa(){}function Nn(ne,ae){return(0,Ne.Z)({},ne,{},ae)}function mr(ne,ae,oe){var ge=ae.map(function(xe){var Fe=Nn(oe,xe.options);return ne.addEventListener(xe.eventName,xe.fn,Fe),function(){ne.removeEventListener(xe.eventName,xe.fn,Fe)}});return function(){ge.forEach(function(Fe){Fe()})}}var Nr=!0,Vr="Invariant failed";function xr(ne){this.message=ne}xr.prototype.toString=function(){return this.message};function $e(ne,ae){if(!ne)throw Nr?new xr(Vr):new xr(Vr+": "+(ae||""))}var Pn=function(ne){Be(ae,ne);function ae(){for(var ge,xe=arguments.length,Fe=new Array(xe),Re=0;Re<xe;Re++)Fe[Re]=arguments[Re];return ge=ne.call.apply(ne,[this].concat(Fe))||this,ge.callbacks=null,ge.unbind=wa,ge.onWindowError=function(Te){var Et=ge.getCallbacks();Et.isDragging()&&Et.tryAbort();var _t=Te.error;_t instanceof xr&&Te.preventDefault()},ge.getCallbacks=function(){if(!ge.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return ge.callbacks},ge.setCallbacks=function(Te){ge.callbacks=Te},ge}var oe=ae.prototype;return oe.componentDidMount=function(){this.unbind=mr(window,[{eventName:"error",fn:this.onWindowError}])},oe.componentWillUnmount=function(){this.unbind()},oe.componentDidCatch=function(xe){if(xe instanceof xr){this.setState({});return}throw xe},oe.render=function(){return this.props.children(this.setCallbacks)},ae}(b.Component),Jt=`
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
`,In=function(ae){return ae+1},Wn=function(ae){return`
You have lifted an item in position `+In(ae.source.index)+`
`},la=function(ae,oe){var ge=ae.droppableId===oe.droppableId,xe=In(ae.index),Fe=In(oe.index);return ge?`
You have moved the item from position `+xe+`
to position `+Fe+`
`:`
You have moved the item from position `+xe+`
in list `+ae.droppableId+`
to list `+oe.droppableId+`
in position `+Fe+`
`},Ct=function(ae,oe,ge){var xe=oe.droppableId===ge.droppableId;return xe?`
The item `+ae+`
has been combined with `+ge.draggableId:`
The item `+ae+`
in list `+oe.droppableId+`
has been combined with `+ge.draggableId+`
in list `+ge.droppableId+`
`},xt=function(ae){var oe=ae.destination;if(oe)return la(ae.source,oe);var ge=ae.combine;return ge?Ct(ae.draggableId,ae.source,ge):"You are over an area that cannot be dropped on"},an=function(ae){return`
The item has returned to its starting position
of `+In(ae.index)+`
`},tn=function(ae){if(ae.reason==="CANCEL")return`
Movement cancelled.
`+an(ae.source)+`
`;var oe=ae.destination,ge=ae.combine;return oe?`
You have dropped the item.
`+la(ae.source,oe)+`
`:ge?`
You have dropped the item.
`+Ct(ae.draggableId,ae.source,ge)+`
`:`
The item has been dropped while not over a drop area.
`+an(ae.source)+`
`},Kt={dragHandleUsageInstructions:Jt,onDragStart:Wn,onDragUpdate:xt,onDragEnd:tn},xa={x:0,y:0},Ea=function(ae,oe){return{x:ae.x+oe.x,y:ae.y+oe.y}},Qa=function(ae,oe){return{x:ae.x-oe.x,y:ae.y-oe.y}},za=function(ae,oe){return ae.x===oe.x&&ae.y===oe.y},$n=function(ae){return{x:ae.x!==0?-ae.x:0,y:ae.y!==0?-ae.y:0}},na=function(ae,oe,ge){var xe;return ge===void 0&&(ge=0),xe={},xe[ae]=oe,xe[ae==="x"?"y":"x"]=ge,xe},ba=function(ae,oe){return Math.sqrt(Math.pow(oe.x-ae.x,2)+Math.pow(oe.y-ae.y,2))},Pa=function(ae,oe){return Math.min.apply(Math,oe.map(function(ge){return ba(ae,ge)}))},vr=function(ae){return function(oe){return{x:ae(oe.x),y:ae(oe.y)}}},Tr=function(ne,ae){var oe=Jn({top:Math.max(ae.top,ne.top),right:Math.min(ae.right,ne.right),bottom:Math.min(ae.bottom,ne.bottom),left:Math.max(ae.left,ne.left)});return oe.width<=0||oe.height<=0?null:oe},Ya=function(ae,oe){return{top:ae.top+oe.y,left:ae.left+oe.x,bottom:ae.bottom+oe.y,right:ae.right+oe.x}},lr=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}]},hr={top:0,right:0,bottom:0,left:0},Po=function(ae,oe){return oe?Ya(ae,oe.scroll.diff.displacement):ae},ri=function(ae,oe,ge){if(ge&&ge.increasedBy){var xe;return(0,Ne.Z)({},ae,(xe={},xe[oe.end]=ae[oe.end]+ge.increasedBy[oe.line],xe))}return ae},xi=function(ae,oe){return oe&&oe.shouldClipSubject?Tr(oe.pageMarginBox,ae):Jn(ae)},ho=function(ne){var ae=ne.page,oe=ne.withPlaceholder,ge=ne.axis,xe=ne.frame,Fe=Po(ae.marginBox,xe),Re=ri(Fe,ge,oe),Te=xi(Re,xe);return{page:ae,withPlaceholder:oe,active:Te}},bo=function(ne,ae){ne.frame||$e(!1);var oe=ne.frame,ge=Qa(ae,oe.scroll.initial),xe=$n(ge),Fe=(0,Ne.Z)({},oe,{scroll:{initial:oe.scroll.initial,current:ae,diff:{value:ge,displacement:xe},max:oe.scroll.max}}),Re=ho({page:ne.subject.page,withPlaceholder:ne.subject.withPlaceholder,axis:ne.axis,frame:Fe}),Te=(0,Ne.Z)({},ne,{frame:Fe,subject:Re});return Te};function Wo(ne){return Number.isInteger?Number.isInteger(ne):typeof ne=="number"&&isFinite(ne)&&Math.floor(ne)===ne}function ko(ne){return Object.values?Object.values(ne):Object.keys(ne).map(function(ae){return ne[ae]})}function No(ne,ae){if(ne.findIndex)return ne.findIndex(ae);for(var oe=0;oe<ne.length;oe++)if(ae(ne[oe]))return oe;return-1}function Er(ne,ae){if(ne.find)return ne.find(ae);var oe=No(ne,ae);if(oe!==-1)return ne[oe]}function to(ne){return Array.prototype.slice.call(ne)}var Yo=pn(function(ne){return ne.reduce(function(ae,oe){return ae[oe.descriptor.id]=oe,ae},{})}),Jo=pn(function(ne){return ne.reduce(function(ae,oe){return ae[oe.descriptor.id]=oe,ae},{})}),Lo=pn(function(ne){return ko(ne)}),wr=pn(function(ne){return ko(ne)}),oi=pn(function(ne,ae){var oe=wr(ae).filter(function(ge){return ne===ge.descriptor.droppableId}).sort(function(ge,xe){return ge.descriptor.index-xe.descriptor.index});return oe});function Gr(ne){return ne.at&&ne.at.type==="REORDER"?ne.at.destination:null}function To(ne){return ne.at&&ne.at.type==="COMBINE"?ne.at.combine:null}var mo=pn(function(ne,ae){return ae.filter(function(oe){return oe.descriptor.id!==ne.descriptor.id})}),di=function(ne){var ae=ne.isMovingForward,oe=ne.draggable,ge=ne.destination,xe=ne.insideDestination,Fe=ne.previousImpact;if(!ge.isCombineEnabled)return null;var Re=Gr(Fe);if(!Re)return null;function Te(fr){var Pr={type:"COMBINE",combine:{draggableId:fr,droppableId:ge.descriptor.id}};return(0,Ne.Z)({},Fe,{at:Pr})}var Et=Fe.displaced.all,_t=Et.length?Et[0]:null;if(ae)return _t?Te(_t):null;var Tt=mo(oe,xe);if(!_t){if(!Tt.length)return null;var wt=Tt[Tt.length-1];return Te(wt.descriptor.id)}var At=No(Tt,function(fr){return fr.descriptor.id===_t});At===-1&&$e(!1);var Yt=At-1;if(Yt<0)return null;var Vn=Tt[Yt];return Te(Vn.descriptor.id)},vi=function(ne,ae){return ne.descriptor.droppableId===ae.descriptor.id},Ui={point:xa,value:0},tl={invisible:{},visible:{},all:[]},nl={displaced:tl,displacedBy:Ui,at:null},$o=function(ne,ae){return function(oe){return ne<=oe&&oe<=ae}},Fi=function(ne){var ae=$o(ne.top,ne.bottom),oe=$o(ne.left,ne.right);return function(ge){var xe=ae(ge.top)&&ae(ge.bottom)&&oe(ge.left)&&oe(ge.right);if(xe)return!0;var Fe=ae(ge.top)||ae(ge.bottom),Re=oe(ge.left)||oe(ge.right),Te=Fe&&Re;if(Te)return!0;var Et=ge.top<ne.top&&ge.bottom>ne.bottom,_t=ge.left<ne.left&&ge.right>ne.right,Tt=Et&&_t;if(Tt)return!0;var wt=Et&&Re||_t&&Fe;return wt}},Wi=function(ne){var ae=$o(ne.top,ne.bottom),oe=$o(ne.left,ne.right);return function(ge){var xe=ae(ge.top)&&ae(ge.bottom)&&oe(ge.left)&&oe(ge.right);return xe}},dl={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},gl={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Pl=function(ne){return function(ae){var oe=$o(ae.top,ae.bottom),ge=$o(ae.left,ae.right);return function(xe){return ne===dl?oe(xe.top)&&oe(xe.bottom):ge(xe.left)&&ge(xe.right)}}},_r=function(ae,oe){var ge=oe.frame?oe.frame.scroll.diff.displacement:xa;return Ya(ae,ge)},qa=function(ae,oe,ge){return oe.subject.active?ge(oe.subject.active)(ae):!1},Va=function(ae,oe,ge){return ge(oe)(ae)},er=function(ae){var oe=ae.target,ge=ae.destination,xe=ae.viewport,Fe=ae.withDroppableDisplacement,Re=ae.isVisibleThroughFrameFn,Te=Fe?_r(oe,ge):oe;return qa(Te,ge,Re)&&Va(Te,xe,Re)},so=function(ae){return er((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:Fi}))},we=function(ae){return er((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:Wi}))},hn=function(ae){return er((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:Pl(ae.destination.axis)}))},Rn=function(ae,oe,ge){if(typeof ge=="boolean")return ge;if(!oe)return!0;var xe=oe.invisible,Fe=oe.visible;if(xe[ae])return!1;var Re=Fe[ae];return Re?Re.shouldAnimate:!0};function ya(ne,ae){var oe=ne.page.marginBox,ge={top:ae.point.y,right:0,bottom:0,left:ae.point.x};return Jn(ha(oe,ge))}function un(ne){var ae=ne.afterDragging,oe=ne.destination,ge=ne.displacedBy,xe=ne.viewport,Fe=ne.forceShouldAnimate,Re=ne.last;return ae.reduce(function(Et,_t){var Tt=ya(_t,ge),wt=_t.descriptor.id;Et.all.push(wt);var At=so({target:Tt,destination:oe,viewport:xe,withDroppableDisplacement:!0});if(!At)return Et.invisible[_t.descriptor.id]=!0,Et;var Yt=Rn(wt,Re,Fe),Vn={draggableId:wt,shouldAnimate:Yt};return Et.visible[wt]=Vn,Et},{all:[],visible:{},invisible:{}})}function Za(ne,ae){if(!ne.length)return 0;var oe=ne[ne.length-1].descriptor.index;return ae.inHomeList?oe:oe+1}function Na(ne){var ae=ne.insideDestination,oe=ne.inHomeList,ge=ne.displacedBy,xe=ne.destination,Fe=Za(ae,{inHomeList:oe});return{displaced:tl,displacedBy:ge,at:{type:"REORDER",destination:{droppableId:xe.descriptor.id,index:Fe}}}}function Hn(ne){var ae=ne.draggable,oe=ne.insideDestination,ge=ne.destination,xe=ne.viewport,Fe=ne.displacedBy,Re=ne.last,Te=ne.index,Et=ne.forceShouldAnimate,_t=vi(ae,ge);if(Te==null)return Na({insideDestination:oe,inHomeList:_t,displacedBy:Fe,destination:ge});var Tt=Er(oe,function(fr){return fr.descriptor.index===Te});if(!Tt)return Na({insideDestination:oe,inHomeList:_t,displacedBy:Fe,destination:ge});var wt=mo(ae,oe),At=oe.indexOf(Tt),Yt=wt.slice(At),Vn=un({afterDragging:Yt,destination:ge,displacedBy:Fe,last:Re,viewport:xe.frame,forceShouldAnimate:Et});return{displaced:Vn,displacedBy:Fe,at:{type:"REORDER",destination:{droppableId:ge.descriptor.id,index:Te}}}}function qn(ne,ae){return!!ae.effected[ne]}var pr=function(ne){var ae=ne.isMovingForward,oe=ne.destination,ge=ne.draggables,xe=ne.combine,Fe=ne.afterCritical;if(!oe.isCombineEnabled)return null;var Re=xe.draggableId,Te=ge[Re],Et=Te.descriptor.index,_t=qn(Re,Fe);return _t?ae?Et:Et-1:ae?Et+1:Et},Wa=function(ne){var ae=ne.isMovingForward,oe=ne.isInHomeList,ge=ne.insideDestination,xe=ne.location;if(!ge.length)return null;var Fe=xe.index,Re=ae?Fe+1:Fe-1,Te=ge[0].descriptor.index,Et=ge[ge.length-1].descriptor.index,_t=oe?Et:Et+1;return Re<Te||Re>_t?null:Re},Ha=function(ne){var ae=ne.isMovingForward,oe=ne.isInHomeList,ge=ne.draggable,xe=ne.draggables,Fe=ne.destination,Re=ne.insideDestination,Te=ne.previousImpact,Et=ne.viewport,_t=ne.afterCritical,Tt=Te.at;if(Tt||$e(!1),Tt.type==="REORDER"){var wt=Wa({isMovingForward:ae,isInHomeList:oe,location:Tt.destination,insideDestination:Re});return wt==null?null:Hn({draggable:ge,insideDestination:Re,destination:Fe,viewport:Et,last:Te.displaced,displacedBy:Te.displacedBy,index:wt})}var At=pr({isMovingForward:ae,destination:Fe,displaced:Te.displaced,draggables:xe,combine:Tt.combine,afterCritical:_t});return At==null?null:Hn({draggable:ge,insideDestination:Re,destination:Fe,viewport:Et,last:Te.displaced,displacedBy:Te.displacedBy,index:At})},tr=function(ne){var ae=ne.displaced,oe=ne.afterCritical,ge=ne.combineWith,xe=ne.displacedBy,Fe=!!(ae.visible[ge]||ae.invisible[ge]);return qn(ge,oe)?Fe?xa:$n(xe.point):Fe?xe.point:xa},Mr=function(ne){var ae=ne.afterCritical,oe=ne.impact,ge=ne.draggables,xe=To(oe);xe||$e(!1);var Fe=xe.draggableId,Re=ge[Fe].page.borderBox.center,Te=tr({displaced:oe.displaced,afterCritical:ae,combineWith:Fe,displacedBy:oe.displacedBy});return Ea(Re,Te)},Co=function(ae,oe){return oe.margin[ae.start]+oe.borderBox[ae.size]/2},Uo=function(ae,oe){return oe.margin[ae.end]+oe.borderBox[ae.size]/2},Ko=function(ae,oe,ge){return oe[ae.crossAxisStart]+ge.margin[ae.crossAxisStart]+ge.borderBox[ae.crossAxisSize]/2},Ti=function(ae){var oe=ae.axis,ge=ae.moveRelativeTo,xe=ae.isMoving;return na(oe.line,ge.marginBox[oe.end]+Co(oe,xe),Ko(oe,ge.marginBox,xe))},Ji=function(ae){var oe=ae.axis,ge=ae.moveRelativeTo,xe=ae.isMoving;return na(oe.line,ge.marginBox[oe.start]-Uo(oe,xe),Ko(oe,ge.marginBox,xe))},al=function(ae){var oe=ae.axis,ge=ae.moveInto,xe=ae.isMoving;return na(oe.line,ge.contentBox[oe.start]+Co(oe,xe),Ko(oe,ge.contentBox,xe))},Zl=function(ne){var ae=ne.impact,oe=ne.draggable,ge=ne.draggables,xe=ne.droppable,Fe=ne.afterCritical,Re=oi(xe.descriptor.id,ge),Te=oe.page,Et=xe.axis;if(!Re.length)return al({axis:Et,moveInto:xe.page,isMoving:Te});var _t=ae.displaced,Tt=ae.displacedBy,wt=_t.all[0];if(wt){var At=ge[wt];if(qn(wt,Fe))return Ji({axis:Et,moveRelativeTo:At.page,isMoving:Te});var Yt=qt(At.page,Tt.point);return Ji({axis:Et,moveRelativeTo:Yt,isMoving:Te})}var Vn=Re[Re.length-1];if(Vn.descriptor.id===oe.descriptor.id)return Te.borderBox.center;if(qn(Vn.descriptor.id,Fe)){var fr=qt(Vn.page,$n(Fe.displacedBy.point));return Ti({axis:Et,moveRelativeTo:fr,isMoving:Te})}return Ti({axis:Et,moveRelativeTo:Vn.page,isMoving:Te})},Al=function(ne,ae){var oe=ne.frame;return oe?Ea(ae,oe.scroll.diff.displacement):ae},So=function(ae){var oe=ae.impact,ge=ae.draggable,xe=ae.droppable,Fe=ae.draggables,Re=ae.afterCritical,Te=ge.page.borderBox.center,Et=oe.at;return!xe||!Et?Te:Et.type==="REORDER"?Zl({impact:oe,draggable:ge,draggables:Fe,droppable:xe,afterCritical:Re}):Mr({impact:oe,draggables:Fe,afterCritical:Re})},yl=function(ne){var ae=So(ne),oe=ne.droppable,ge=oe?Al(oe,ae):ae;return ge},eu=function(ne,ae){var oe=Qa(ae,ne.scroll.initial),ge=$n(oe),xe=Jn({top:ae.y,bottom:ae.y+ne.frame.height,left:ae.x,right:ae.x+ne.frame.width}),Fe={frame:xe,scroll:{initial:ne.scroll.initial,max:ne.scroll.max,current:ae,diff:{value:oe,displacement:ge}}};return Fe};function Nl(ne,ae){return ne.map(function(oe){return ae[oe]})}function xl(ne,ae){for(var oe=0;oe<ae.length;oe++){var ge=ae[oe].visible[ne];if(ge)return ge}return null}var tu=function(ne){var ae=ne.impact,oe=ne.viewport,ge=ne.destination,xe=ne.draggables,Fe=ne.maxScrollChange,Re=eu(oe,Ea(oe.scroll.current,Fe)),Te=ge.frame?bo(ge,Ea(ge.frame.scroll.current,Fe)):ge,Et=ae.displaced,_t=un({afterDragging:Nl(Et.all,xe),destination:ge,displacedBy:ae.displacedBy,viewport:Re.frame,last:Et,forceShouldAnimate:!1}),Tt=un({afterDragging:Nl(Et.all,xe),destination:Te,displacedBy:ae.displacedBy,viewport:oe.frame,last:Et,forceShouldAnimate:!1}),wt={},At={},Yt=[Et,_t,Tt];Et.all.forEach(function(fr){var Pr=xl(fr,Yt);if(Pr){At[fr]=Pr;return}wt[fr]=!0});var Vn=(0,Ne.Z)({},ae,{displaced:{all:Et.all,invisible:wt,visible:At}});return Vn},Qu=function(ne,ae){return Ea(ne.scroll.diff.displacement,ae)},su=function(ne){var ae=ne.pageBorderBoxCenter,oe=ne.draggable,ge=ne.viewport,xe=Qu(ge,ae),Fe=Qa(xe,oe.page.borderBox.center);return Ea(oe.client.borderBox.center,Fe)},mu=function(ne){var ae=ne.draggable,oe=ne.destination,ge=ne.newPageBorderBoxCenter,xe=ne.viewport,Fe=ne.withDroppableDisplacement,Re=ne.onlyOnMainAxis,Te=Re===void 0?!1:Re,Et=Qa(ge,ae.page.borderBox.center),_t=Ya(ae.page.borderBox,Et),Tt={target:_t,destination:oe,withDroppableDisplacement:Fe,viewport:xe};return Te?hn(Tt):we(Tt)},Yu=function(ne){var ae=ne.isMovingForward,oe=ne.draggable,ge=ne.destination,xe=ne.draggables,Fe=ne.previousImpact,Re=ne.viewport,Te=ne.previousPageBorderBoxCenter,Et=ne.previousClientSelection,_t=ne.afterCritical;if(!ge.isEnabled)return null;var Tt=oi(ge.descriptor.id,xe),wt=vi(oe,ge),At=di({isMovingForward:ae,draggable:oe,destination:ge,insideDestination:Tt,previousImpact:Fe})||Ha({isMovingForward:ae,isInHomeList:wt,draggable:oe,draggables:xe,destination:ge,insideDestination:Tt,previousImpact:Fe,viewport:Re,afterCritical:_t});if(!At)return null;var Yt=yl({impact:At,draggable:oe,droppable:ge,draggables:xe,afterCritical:_t}),Vn=mu({draggable:oe,destination:ge,newPageBorderBoxCenter:Yt,viewport:Re.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(Vn){var fr=su({pageBorderBoxCenter:Yt,draggable:oe,viewport:Re});return{clientSelection:fr,impact:At,scrollJumpRequest:null}}var Pr=Qa(Yt,Te),Fr=tu({impact:At,viewport:Re,destination:ge,draggables:xe,maxScrollChange:Pr});return{clientSelection:Et,impact:Fr,scrollJumpRequest:Pr}},El=function(ae){var oe=ae.subject.active;return oe||$e(!1),oe},Ru=function(ne){var ae=ne.isMovingForward,oe=ne.pageBorderBoxCenter,ge=ne.source,xe=ne.droppables,Fe=ne.viewport,Re=ge.subject.active;if(!Re)return null;var Te=ge.axis,Et=$o(Re[Te.start],Re[Te.end]),_t=Lo(xe).filter(function(wt){return wt!==ge}).filter(function(wt){return wt.isEnabled}).filter(function(wt){return!!wt.subject.active}).filter(function(wt){return Fi(Fe.frame)(El(wt))}).filter(function(wt){var At=El(wt);return ae?Re[Te.crossAxisEnd]<At[Te.crossAxisEnd]:At[Te.crossAxisStart]<Re[Te.crossAxisStart]}).filter(function(wt){var At=El(wt),Yt=$o(At[Te.start],At[Te.end]);return Et(At[Te.start])||Et(At[Te.end])||Yt(Re[Te.start])||Yt(Re[Te.end])}).sort(function(wt,At){var Yt=El(wt)[Te.crossAxisStart],Vn=El(At)[Te.crossAxisStart];return ae?Yt-Vn:Vn-Yt}).filter(function(wt,At,Yt){return El(wt)[Te.crossAxisStart]===El(Yt[0])[Te.crossAxisStart]});if(!_t.length)return null;if(_t.length===1)return _t[0];var Tt=_t.filter(function(wt){var At=$o(El(wt)[Te.start],El(wt)[Te.end]);return At(oe[Te.line])});return Tt.length===1?Tt[0]:Tt.length>1?Tt.sort(function(wt,At){return El(wt)[Te.start]-El(At)[Te.start]})[0]:_t.sort(function(wt,At){var Yt=Pa(oe,lr(El(wt))),Vn=Pa(oe,lr(El(At)));return Yt!==Vn?Yt-Vn:El(wt)[Te.start]-El(At)[Te.start]})[0]},Mu=function(ae,oe){var ge=ae.page.borderBox.center;return qn(ae.descriptor.id,oe)?Qa(ge,oe.displacedBy.point):ge},rl=function(ae,oe){var ge=ae.page.borderBox;return qn(ae.descriptor.id,oe)?Ya(ge,$n(oe.displacedBy.point)):ge},ku=function(ne){var ae=ne.pageBorderBoxCenter,oe=ne.viewport,ge=ne.destination,xe=ne.insideDestination,Fe=ne.afterCritical,Re=xe.filter(function(Te){return we({target:rl(Te,Fe),destination:ge,viewport:oe.frame,withDroppableDisplacement:!0})}).sort(function(Te,Et){var _t=ba(ae,Al(ge,Mu(Te,Fe))),Tt=ba(ae,Al(ge,Mu(Et,Fe)));return _t<Tt?-1:Tt<_t?1:Te.descriptor.index-Et.descriptor.index});return Re[0]||null},nu=pn(function(ae,oe){var ge=oe[ae.line];return{value:ge,point:na(ae.line,ge)}}),Ju=function(ae,oe,ge){var xe=ae.axis;if(ae.descriptor.mode==="virtual")return na(xe.line,oe[xe.line]);var Fe=ae.subject.page.contentBox[xe.size],Re=oi(ae.descriptor.id,ge),Te=Re.reduce(function(Tt,wt){return Tt+wt.client.marginBox[xe.size]},0),Et=Te+oe[xe.line],_t=Et-Fe;return _t<=0?null:na(xe.line,_t)},bu=function(ae,oe){return(0,Ne.Z)({},ae,{scroll:(0,Ne.Z)({},ae.scroll,{max:oe})})},Tu=function(ae,oe,ge){var xe=ae.frame;vi(oe,ae)&&$e(!1),ae.subject.withPlaceholder&&$e(!1);var Fe=nu(ae.axis,oe.displaceBy).point,Re=Ju(ae,Fe,ge),Te={placeholderSize:Fe,increasedBy:Re,oldFrameMaxScroll:ae.frame?ae.frame.scroll.max:null};if(!xe){var Et=ho({page:ae.subject.page,withPlaceholder:Te,axis:ae.axis,frame:ae.frame});return(0,Ne.Z)({},ae,{subject:Et})}var _t=Re?Ea(xe.scroll.max,Re):xe.scroll.max,Tt=bu(xe,_t),wt=ho({page:ae.subject.page,withPlaceholder:Te,axis:ae.axis,frame:Tt});return(0,Ne.Z)({},ae,{subject:wt,frame:Tt})},Xu=function(ae){var oe=ae.subject.withPlaceholder;oe||$e(!1);var ge=ae.frame;if(!ge){var xe=ho({page:ae.subject.page,axis:ae.axis,frame:null,withPlaceholder:null});return(0,Ne.Z)({},ae,{subject:xe})}var Fe=oe.oldFrameMaxScroll;Fe||$e(!1);var Re=bu(ge,Fe),Te=ho({page:ae.subject.page,axis:ae.axis,frame:Re,withPlaceholder:null});return(0,Ne.Z)({},ae,{subject:Te,frame:Re})},_u=function(ne){var ae=ne.previousPageBorderBoxCenter,oe=ne.moveRelativeTo,ge=ne.insideDestination,xe=ne.draggable,Fe=ne.draggables,Re=ne.destination,Te=ne.viewport,Et=ne.afterCritical;if(!oe){if(ge.length)return null;var _t={displaced:tl,displacedBy:Ui,at:{type:"REORDER",destination:{droppableId:Re.descriptor.id,index:0}}},Tt=yl({impact:_t,draggable:xe,droppable:Re,draggables:Fe,afterCritical:Et}),wt=vi(xe,Re)?Re:Tu(Re,xe,Fe),At=mu({draggable:xe,destination:wt,newPageBorderBoxCenter:Tt,viewport:Te.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return At?_t:null}var Yt=ae[Re.axis.line]<=oe.page.borderBox.center[Re.axis.line],Vn=function(){var Pr=oe.descriptor.index;return oe.descriptor.id===xe.descriptor.id||Yt?Pr:Pr+1}(),fr=nu(Re.axis,xe.displaceBy);return Hn({draggable:xe,insideDestination:ge,destination:Re,viewport:Te,displacedBy:fr,last:tl,index:Vn})},bl=function(ne){var ae=ne.isMovingForward,oe=ne.previousPageBorderBoxCenter,ge=ne.draggable,xe=ne.isOver,Fe=ne.draggables,Re=ne.droppables,Te=ne.viewport,Et=ne.afterCritical,_t=Ru({isMovingForward:ae,pageBorderBoxCenter:oe,source:xe,droppables:Re,viewport:Te});if(!_t)return null;var Tt=oi(_t.descriptor.id,Fe),wt=ku({pageBorderBoxCenter:oe,viewport:Te,destination:_t,insideDestination:Tt,afterCritical:Et}),At=_u({previousPageBorderBoxCenter:oe,destination:_t,draggable:ge,draggables:Fe,moveRelativeTo:wt,insideDestination:Tt,viewport:Te,afterCritical:Et});if(!At)return null;var Yt=yl({impact:At,draggable:ge,droppable:_t,draggables:Fe,afterCritical:Et}),Vn=su({pageBorderBoxCenter:Yt,draggable:ge,viewport:Te});return{clientSelection:Vn,impact:At,scrollJumpRequest:null}},ji=function(ne){var ae=ne.at;return ae?ae.type==="REORDER"?ae.destination.droppableId:ae.combine.droppableId:null},Zu=function(ae,oe){var ge=ji(ae);return ge?oe[ge]:null},fs=function(ne){var ae=ne.state,oe=ne.type,ge=Zu(ae.impact,ae.dimensions.droppables),xe=!!ge,Fe=ae.dimensions.droppables[ae.critical.droppable.id],Re=ge||Fe,Te=Re.axis.direction,Et=Te==="vertical"&&(oe==="MOVE_UP"||oe==="MOVE_DOWN")||Te==="horizontal"&&(oe==="MOVE_LEFT"||oe==="MOVE_RIGHT");if(Et&&!xe)return null;var _t=oe==="MOVE_DOWN"||oe==="MOVE_RIGHT",Tt=ae.dimensions.draggables[ae.critical.draggable.id],wt=ae.current.page.borderBoxCenter,At=ae.dimensions,Yt=At.draggables,Vn=At.droppables;return Et?Yu({isMovingForward:_t,previousPageBorderBoxCenter:wt,draggable:Tt,destination:Re,draggables:Yt,viewport:ae.viewport,previousClientSelection:ae.current.client.selection,previousImpact:ae.impact,afterCritical:ae.afterCritical}):bl({isMovingForward:_t,previousPageBorderBoxCenter:wt,draggable:Tt,isOver:Re,draggables:Yt,droppables:Vn,viewport:ae.viewport,afterCritical:ae.afterCritical})};function au(ne){return ne.phase==="DRAGGING"||ne.phase==="COLLECTING"}function Bi(ne){var ae=$o(ne.top,ne.bottom),oe=$o(ne.left,ne.right);return function(xe){return ae(xe.y)&&oe(xe.x)}}function Cu(ne,ae){return ne.left<ae.right&&ne.right>ae.left&&ne.top<ae.bottom&&ne.bottom>ae.top}function zu(ne){var ae=ne.pageBorderBox,oe=ne.draggable,ge=ne.candidates,xe=oe.page.borderBox.center,Fe=ge.map(function(Re){var Te=Re.axis,Et=na(Re.axis.line,ae.center[Te.line],Re.page.borderBox.center[Te.crossAxisLine]);return{id:Re.descriptor.id,distance:ba(xe,Et)}}).sort(function(Re,Te){return Te.distance-Re.distance});return Fe[0]?Fe[0].id:null}function rs(ne){var ae=ne.pageBorderBox,oe=ne.draggable,ge=ne.droppables,xe=Lo(ge).filter(function(Fe){if(!Fe.isEnabled)return!1;var Re=Fe.subject.active;if(!Re||!Cu(ae,Re))return!1;if(Bi(Re)(ae.center))return!0;var Te=Fe.axis,Et=Re.center[Te.crossAxisLine],_t=ae[Te.crossAxisStart],Tt=ae[Te.crossAxisEnd],wt=$o(Re[Te.crossAxisStart],Re[Te.crossAxisEnd]),At=wt(_t),Yt=wt(Tt);return!At&&!Yt?!0:At?_t<Et:Tt>Et});return xe.length?xe.length===1?xe[0].descriptor.id:zu({pageBorderBox:ae,draggable:oe,candidates:xe}):null}var Il=function(ae,oe){return Jn(Ya(ae,oe))},Hu=function(ne,ae){var oe=ne.frame;return oe?Il(ae,oe.scroll.diff.value):ae};function xu(ne){var ae=ne.displaced,oe=ne.id;return!!(ae.visible[oe]||ae.invisible[oe])}function Fu(ne){var ae=ne.draggable,oe=ne.closest,ge=ne.inHomeList;return oe?ge&&oe.descriptor.index>ae.descriptor.index?oe.descriptor.index-1:oe.descriptor.index:null}var Fl=function(ne){var ae=ne.pageBorderBoxWithDroppableScroll,oe=ne.draggable,ge=ne.destination,xe=ne.insideDestination,Fe=ne.last,Re=ne.viewport,Te=ne.afterCritical,Et=ge.axis,_t=nu(ge.axis,oe.displaceBy),Tt=_t.value,wt=ae[Et.start],At=ae[Et.end],Yt=mo(oe,xe),Vn=Er(Yt,function(Pr){var Fr=Pr.descriptor.id,Ur=Pr.page.borderBox.center[Et.line],ro=qn(Fr,Te),co=xu({displaced:Fe,id:Fr});return ro?co?At<=Ur:wt<Ur-Tt:co?At<=Ur+Tt:wt<Ur}),fr=Fu({draggable:oe,closest:Vn,inHomeList:vi(oe,ge)});return Hn({draggable:oe,insideDestination:xe,destination:ge,viewport:Re,last:Fe,displacedBy:_t,index:fr})},zl=4,os=function(ne){var ae=ne.draggable,oe=ne.pageBorderBoxWithDroppableScroll,ge=ne.previousImpact,xe=ne.destination,Fe=ne.insideDestination,Re=ne.afterCritical;if(!xe.isCombineEnabled)return null;var Te=xe.axis,Et=nu(xe.axis,ae.displaceBy),_t=Et.value,Tt=oe[Te.start],wt=oe[Te.end],At=mo(ae,Fe),Yt=Er(At,function(fr){var Pr=fr.descriptor.id,Fr=fr.page.borderBox,Ur=Fr[Te.size],ro=Ur/zl,co=qn(Pr,Re),si=xu({displaced:ge.displaced,id:Pr});return co?si?wt>Fr[Te.start]+ro&&wt<Fr[Te.end]-ro:Tt>Fr[Te.start]-_t+ro&&Tt<Fr[Te.end]-_t-ro:si?wt>Fr[Te.start]+_t+ro&&wt<Fr[Te.end]+_t-ro:Tt>Fr[Te.start]+ro&&Tt<Fr[Te.end]-ro});if(!Yt)return null;var Vn={displacedBy:Et,displaced:ge.displaced,at:{type:"COMBINE",combine:{draggableId:Yt.descriptor.id,droppableId:xe.descriptor.id}}};return Vn},qu=function(ne){var ae=ne.pageOffset,oe=ne.draggable,ge=ne.draggables,xe=ne.droppables,Fe=ne.previousImpact,Re=ne.viewport,Te=ne.afterCritical,Et=Il(oe.page.borderBox,ae),_t=rs({pageBorderBox:Et,draggable:oe,droppables:xe});if(!_t)return nl;var Tt=xe[_t],wt=oi(Tt.descriptor.id,ge),At=Hu(Tt,Et);return os({pageBorderBoxWithDroppableScroll:At,draggable:oe,previousImpact:Fe,destination:Tt,insideDestination:wt,afterCritical:Te})||Fl({pageBorderBoxWithDroppableScroll:At,draggable:oe,destination:Tt,insideDestination:wt,last:Fe.displaced,viewport:Re,afterCritical:Te})},ju=function(ne,ae){var oe;return(0,Ne.Z)({},ne,(oe={},oe[ae.descriptor.id]=ae,oe))},Lr=function(ae){var oe=ae.previousImpact,ge=ae.impact,xe=ae.droppables,Fe=ji(oe),Re=ji(ge);if(!Fe||Fe===Re)return xe;var Te=xe[Fe];if(!Te.subject.withPlaceholder)return xe;var Et=Xu(Te);return ju(xe,Et)},Bu=function(ne){var ae=ne.draggable,oe=ne.draggables,ge=ne.droppables,xe=ne.previousImpact,Fe=ne.impact,Re=Lr({previousImpact:xe,impact:Fe,droppables:ge}),Te=ji(Fe);if(!Te)return Re;var Et=ge[Te];if(vi(ae,Et)||Et.subject.withPlaceholder)return Re;var _t=Tu(Et,ae,oe);return ju(Re,_t)},Yl=function(ne){var ae=ne.state,oe=ne.clientSelection,ge=ne.dimensions,xe=ne.viewport,Fe=ne.impact,Re=ne.scrollJumpRequest,Te=xe||ae.viewport,Et=ge||ae.dimensions,_t=oe||ae.current.client.selection,Tt=Qa(_t,ae.initial.client.selection),wt={offset:Tt,selection:_t,borderBoxCenter:Ea(ae.initial.client.borderBoxCenter,Tt)},At={selection:Ea(wt.selection,Te.scroll.current),borderBoxCenter:Ea(wt.borderBoxCenter,Te.scroll.current),offset:Ea(wt.offset,Te.scroll.diff.value)},Yt={client:wt,page:At};if(ae.phase==="COLLECTING")return(0,Ne.Z)({phase:"COLLECTING"},ae,{dimensions:Et,viewport:Te,current:Yt});var Vn=Et.draggables[ae.critical.draggable.id],fr=Fe||qu({pageOffset:At.offset,draggable:Vn,draggables:Et.draggables,droppables:Et.droppables,previousImpact:ae.impact,viewport:Te,afterCritical:ae.afterCritical}),Pr=Bu({draggable:Vn,impact:fr,previousImpact:ae.impact,draggables:Et.draggables,droppables:Et.droppables}),Fr=(0,Ne.Z)({},ae,{current:Yt,dimensions:{draggables:Et.draggables,droppables:Pr},impact:fr,viewport:Te,scrollJumpRequest:Re||null,forceShouldAnimate:Re?!1:null});return Fr};function Hl(ne,ae){return ne.map(function(oe){return ae[oe]})}var rr=function(ne){var ae=ne.impact,oe=ne.viewport,ge=ne.draggables,xe=ne.destination,Fe=ne.forceShouldAnimate,Re=ae.displaced,Te=Hl(Re.all,ge),Et=un({afterDragging:Te,destination:xe,displacedBy:ae.displacedBy,viewport:oe.frame,forceShouldAnimate:Fe,last:Re});return(0,Ne.Z)({},ae,{displaced:Et})},du=function(ne){var ae=ne.impact,oe=ne.draggable,ge=ne.droppable,xe=ne.draggables,Fe=ne.viewport,Re=ne.afterCritical,Te=yl({impact:ae,draggable:oe,draggables:xe,droppable:ge,afterCritical:Re});return su({pageBorderBoxCenter:Te,draggable:oe,viewport:Fe})},es=function(ne){var ae=ne.state,oe=ne.dimensions,ge=ne.viewport;ae.movementMode!=="SNAP"&&$e(!1);var xe=ae.impact,Fe=ge||ae.viewport,Re=oe||ae.dimensions,Te=Re.draggables,Et=Re.droppables,_t=Te[ae.critical.draggable.id],Tt=ji(xe);Tt||$e(!1);var wt=Et[Tt],At=rr({impact:xe,viewport:Fe,destination:wt,draggables:Te}),Yt=du({impact:At,draggable:_t,droppable:wt,draggables:Te,viewport:Fe,afterCritical:ae.afterCritical});return Yl({impact:At,clientSelection:Yt,state:ae,dimensions:Re,viewport:Fe})},is=function(ne){return{index:ne.index,droppableId:ne.droppableId}},wu=function(ne){var ae=ne.draggable,oe=ne.home,ge=ne.draggables,xe=ne.viewport,Fe=nu(oe.axis,ae.displaceBy),Re=oi(oe.descriptor.id,ge),Te=Re.indexOf(ae);Te===-1&&$e(!1);var Et=Re.slice(Te+1),_t=Et.reduce(function(Yt,Vn){return Yt[Vn.descriptor.id]=!0,Yt},{}),Tt={inVirtualList:oe.descriptor.mode==="virtual",displacedBy:Fe,effected:_t},wt=un({afterDragging:Et,destination:oe,displacedBy:Fe,last:null,viewport:xe.frame,forceShouldAnimate:!1}),At={displaced:wt,displacedBy:Fe,at:{type:"REORDER",destination:is(ae.descriptor)}};return{impact:At,afterCritical:Tt}},ts=function(ne,ae){return{draggables:ne.draggables,droppables:ju(ne.droppables,ae)}},cu=function(ae){},Qi=function(ae){},ls=function(ne){var ae=ne.draggable,oe=ne.offset,ge=ne.initialWindowScroll,xe=qt(ae.client,oe),Fe=An(xe,ge),Re=(0,Ne.Z)({},ae,{placeholder:(0,Ne.Z)({},ae.placeholder,{client:xe}),client:xe,page:Fe});return Re},us=function(ne){var ae=ne.frame;return ae||$e(!1),ae},ss=function(ne){var ae=ne.additions,oe=ne.updatedDroppables,ge=ne.viewport,xe=ge.scroll.diff.value;return ae.map(function(Fe){var Re=Fe.descriptor.droppableId,Te=oe[Re],Et=us(Te),_t=Et.scroll.diff.value,Tt=Ea(xe,_t),wt=ls({draggable:Fe,offset:Tt,initialWindowScroll:ge.scroll.initial});return wt})},Gu=function(ne){var ae=ne.state,oe=ne.published;cu();var ge=oe.modified.map(function(ro){var co=ae.dimensions.droppables[ro.droppableId],si=bo(co,ro.scroll);return si}),xe=(0,Ne.Z)({},ae.dimensions.droppables,{},Yo(ge)),Fe=Jo(ss({additions:oe.additions,updatedDroppables:xe,viewport:ae.viewport})),Re=(0,Ne.Z)({},ae.dimensions.draggables,{},Fe);oe.removals.forEach(function(ro){delete Re[ro]});var Te={droppables:xe,draggables:Re},Et=ji(ae.impact),_t=Et?Te.droppables[Et]:null,Tt=Te.draggables[ae.critical.draggable.id],wt=Te.droppables[ae.critical.droppable.id],At=wu({draggable:Tt,home:wt,draggables:Re,viewport:ae.viewport}),Yt=At.impact,Vn=At.afterCritical,fr=_t&&_t.isCombineEnabled?ae.impact:Yt,Pr=qu({pageOffset:ae.current.page.offset,draggable:Te.draggables[ae.critical.draggable.id],draggables:Te.draggables,droppables:Te.droppables,previousImpact:fr,viewport:ae.viewport,afterCritical:Vn});Qi();var Fr=(0,Ne.Z)({phase:"DRAGGING"},ae,{phase:"DRAGGING",impact:Pr,onLiftImpact:Yt,dimensions:Te,afterCritical:Vn,forceShouldAnimate:!1});if(ae.phase==="COLLECTING")return Fr;var Ur=(0,Ne.Z)({phase:"DROP_PENDING"},Fr,{phase:"DROP_PENDING",reason:ae.reason,isWaiting:!1});return Ur},Jl=function(ae){return ae.movementMode==="SNAP"},Xl=function(ae,oe,ge){var xe=ts(ae.dimensions,oe);return!Jl(ae)||ge?Yl({state:ae,dimensions:xe}):es({state:ae,dimensions:xe})};function ru(ne){return ne.isDragging&&ne.movementMode==="SNAP"?(0,Ne.Z)({phase:"DRAGGING"},ne,{scrollJumpRequest:null}):ne}var fu={phase:"IDLE",completed:null,shouldFlush:!1},Wu=function(ne,ae){if(ne===void 0&&(ne=fu),ae.type==="FLUSH")return(0,Ne.Z)({},fu,{shouldFlush:!0});if(ae.type==="INITIAL_PUBLISH"){ne.phase!=="IDLE"&&$e(!1);var oe=ae.payload,ge=oe.critical,xe=oe.clientSelection,Fe=oe.viewport,Re=oe.dimensions,Te=oe.movementMode,Et=Re.draggables[ge.draggable.id],_t=Re.droppables[ge.droppable.id],Tt={selection:xe,borderBoxCenter:Et.client.borderBox.center,offset:xa},wt={client:Tt,page:{selection:Ea(Tt.selection,Fe.scroll.initial),borderBoxCenter:Ea(Tt.selection,Fe.scroll.initial),offset:Ea(Tt.selection,Fe.scroll.diff.value)}},At=Lo(Re.droppables).every(function(Ds){return!Ds.isFixedOnPage}),Yt=wu({draggable:Et,home:_t,draggables:Re.draggables,viewport:Fe}),Vn=Yt.impact,fr=Yt.afterCritical,Pr={phase:"DRAGGING",isDragging:!0,critical:ge,movementMode:Te,dimensions:Re,initial:wt,current:wt,isWindowScrollAllowed:At,impact:Vn,afterCritical:fr,onLiftImpact:Vn,viewport:Fe,scrollJumpRequest:null,forceShouldAnimate:null};return Pr}if(ae.type==="COLLECTION_STARTING"){if(ne.phase==="COLLECTING"||ne.phase==="DROP_PENDING")return ne;ne.phase!=="DRAGGING"&&$e(!1);var Fr=(0,Ne.Z)({phase:"COLLECTING"},ne,{phase:"COLLECTING"});return Fr}if(ae.type==="PUBLISH_WHILE_DRAGGING")return ne.phase==="COLLECTING"||ne.phase==="DROP_PENDING"||$e(!1),Gu({state:ne,published:ae.payload});if(ae.type==="MOVE"){if(ne.phase==="DROP_PENDING")return ne;au(ne)||$e(!1);var Ur=ae.payload.client;return za(Ur,ne.current.client.selection)?ne:Yl({state:ne,clientSelection:Ur,impact:Jl(ne)?ne.impact:null})}if(ae.type==="UPDATE_DROPPABLE_SCROLL"){if(ne.phase==="DROP_PENDING"||ne.phase==="COLLECTING")return ru(ne);au(ne)||$e(!1);var ro=ae.payload,co=ro.id,si=ro.newScroll,ai=ne.dimensions.droppables[co];if(!ai)return ne;var Ai=bo(ai,si);return Xl(ne,Ai,!1)}if(ae.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ne.phase==="DROP_PENDING")return ne;au(ne)||$e(!1);var vl=ae.payload,ki=vl.id,pl=vl.isEnabled,Ll=ne.dimensions.droppables[ki];Ll||$e(!1),Ll.isEnabled===pl&&$e(!1);var Tl=(0,Ne.Z)({},Ll,{isEnabled:pl});return Xl(ne,Tl,!0)}if(ae.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ne.phase==="DROP_PENDING")return ne;au(ne)||$e(!1);var Au=ae.payload,yu=Au.id,uu=Au.isCombineEnabled,Nu=ne.dimensions.droppables[yu];Nu||$e(!1),Nu.isCombineEnabled===uu&&$e(!1);var _l=(0,Ne.Z)({},Nu,{isCombineEnabled:uu});return Xl(ne,_l,!0)}if(ae.type==="MOVE_BY_WINDOW_SCROLL"){if(ne.phase==="DROP_PENDING"||ne.phase==="DROP_ANIMATING")return ne;au(ne)||$e(!1),ne.isWindowScrollAllowed||$e(!1);var ns=ae.payload.newScroll;if(za(ne.viewport.scroll.current,ns))return ru(ne);var Iu=eu(ne.viewport,ns);return Jl(ne)?es({state:ne,viewport:Iu}):Yl({state:ne,viewport:Iu})}if(ae.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!au(ne))return ne;var Ps=ae.payload.maxScroll;if(za(Ps,ne.viewport.scroll.max))return ne;var gs=(0,Ne.Z)({},ne.viewport,{scroll:(0,Ne.Z)({},ne.viewport.scroll,{max:Ps})});return(0,Ne.Z)({phase:"DRAGGING"},ne,{viewport:gs})}if(ae.type==="MOVE_UP"||ae.type==="MOVE_DOWN"||ae.type==="MOVE_LEFT"||ae.type==="MOVE_RIGHT"){if(ne.phase==="COLLECTING"||ne.phase==="DROP_PENDING")return ne;ne.phase!=="DRAGGING"&&$e(!1);var as=fs({state:ne,type:ae.type});return as?Yl({state:ne,impact:as.impact,clientSelection:as.clientSelection,scrollJumpRequest:as.scrollJumpRequest}):ne}if(ae.type==="DROP_PENDING"){var Ou=ae.payload.reason;ne.phase!=="COLLECTING"&&$e(!1);var ms=(0,Ne.Z)({phase:"DROP_PENDING"},ne,{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;ne.phase==="DRAGGING"||ne.phase==="DROP_PENDING"||$e(!1);var Ss={phase:"DROP_ANIMATING",completed:Lu,dropDuration:ys,newHomeClientOffset:Bs,dimensions:ne.dimensions};return Ss}if(ae.type==="DROP_COMPLETE"){var ws=ae.payload.completed;return{phase:"IDLE",completed:ws,shouldFlush:!1}}return ne},me=function(ae){return{type:"BEFORE_INITIAL_CAPTURE",payload:ae}},Se=function(ae){return{type:"LIFT",payload:ae}},be=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}},Xt=function(ae){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ae}},Wt=function(ae){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ae}},Tn=function(ae){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ae}},kn=function(ae){return{type:"MOVE",payload:ae}},ua=function(ae){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ae}},Aa=function(ae){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ae}},fa=function(){return{type:"MOVE_UP",payload:null}},vn=function(){return{type:"MOVE_DOWN",payload:null}},Ia=function(){return{type:"MOVE_RIGHT",payload:null}},Ma=function(){return{type:"MOVE_LEFT",payload:null}},Mn=function(){return{type:"FLUSH",payload:null}},ga=function(ae){return{type:"DROP_ANIMATE",payload:ae}},ka=function(ae){return{type:"DROP_COMPLETE",payload:ae}},Ar=function(ae){return{type:"DROP",payload:ae}},br=function(ae){return{type:"DROP_PENDING",payload:ae}},Ir=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Wr(ne){if(!(ne.length<=1)){for(var ae=ne.map(function(Te){return Te.descriptor.index}),oe={},ge=1;ge<ae.length;ge++){var xe=ae[ge],Fe=ae[ge-1];xe!==Fe+1&&(oe[xe]=!0)}if(Object.keys(oe).length)var Re=ae.map(function(Te){var Et=!!oe[Te];return Et?"[\u{1F525}"+Te+"]":""+Te}).join(", ")}}function Rr(ne,ae){if(0)var oe}var jn=function(ne){return function(ae){var oe=ae.getState,ge=ae.dispatch;return function(xe){return function(Fe){if(Fe.type!=="LIFT"){xe(Fe);return}var Re=Fe.payload,Te=Re.id,Et=Re.clientSelection,_t=Re.movementMode,Tt=oe();Tt.phase==="DROP_ANIMATING"&&ge(ka({completed:Tt.completed})),oe().phase!=="IDLE"&&$e(!1),ge(Mn()),ge(me({draggableId:Te,movementMode:_t}));var wt={shouldPublishImmediately:_t==="SNAP"},At={draggableId:Te,scrollOptions:wt},Yt=ne.startPublishing(At),Vn=Yt.critical,fr=Yt.dimensions,Pr=Yt.viewport;Rr(Vn,fr),ge(be({critical:Vn,dimensions:fr,clientSelection:Et,movementMode:_t,viewport:Pr}))}}}},Vo=function(ne){return function(){return function(ae){return function(oe){oe.type==="INITIAL_PUBLISH"&&ne.dragging(),oe.type==="DROP_ANIMATE"&&ne.dropping(oe.payload.completed.result.reason),(oe.type==="FLUSH"||oe.type==="DROP_COMPLETE")&&ne.resting(),ae(oe)}}}},fo={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Ho={opacity:{drop:0,combining:.7},scale:{drop:.75}},ei={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},li=ei.outOfTheWay+"s "+fo.outOfTheWay,pi={fluid:"opacity "+li,snap:"transform "+li+", opacity "+li,drop:function(ae){var oe=ae+"s "+fo.drop;return"transform "+oe+", opacity "+oe},outOfTheWay:"transform "+li,placeholder:"height "+li+", width "+li+", margin "+li},zi=function(ae){return za(ae,xa)?null:"translate("+ae.x+"px, "+ae.y+"px)"},oo={moveTo:zi,drop:function(ae,oe){var ge=zi(ae);return ge?oe?ge+" scale("+Ho.scale.drop+")":ge:null}},Ro=ei.minDropTime,_o=ei.maxDropTime,wi=_o-Ro,Ni=1500,fi=.6,Mo=function(ne){var ae=ne.current,oe=ne.destination,ge=ne.reason,xe=ba(ae,oe);if(xe<=0)return Ro;if(xe>=Ni)return _o;var Fe=xe/Ni,Re=Ro+wi*Fe,Te=ge==="CANCEL"?Re*fi:Re;return Number(Te.toFixed(2))},ol=function(ne){var ae=ne.impact,oe=ne.draggable,ge=ne.dimensions,xe=ne.viewport,Fe=ne.afterCritical,Re=ge.draggables,Te=ge.droppables,Et=ji(ae),_t=Et?Te[Et]:null,Tt=Te[oe.descriptor.droppableId],wt=du({impact:ae,draggable:oe,draggables:Re,afterCritical:Fe,droppable:_t||Tt,viewport:xe}),At=Qa(wt,oe.client.borderBox.center);return At},Xi=function(ne){var ae=ne.draggables,oe=ne.reason,ge=ne.lastImpact,xe=ne.home,Fe=ne.viewport,Re=ne.onLiftImpact;if(!ge.at||oe!=="DROP"){var Te=rr({draggables:ae,impact:Re,destination:xe,viewport:Fe,forceShouldAnimate:!0});return{impact:Te,didDropInsideDroppable:!1}}if(ge.at.type==="REORDER")return{impact:ge,didDropInsideDroppable:!0};var Et=(0,Ne.Z)({},ge,{displaced:tl});return{impact:Et,didDropInsideDroppable:!0}},Ee=function(ne){var ae=ne.getState,oe=ne.dispatch;return function(ge){return function(xe){if(xe.type!=="DROP"){ge(xe);return}var Fe=ae(),Re=xe.payload.reason;if(Fe.phase==="COLLECTING"){oe(br({reason:Re}));return}if(Fe.phase!=="IDLE"){var Te=Fe.phase==="DROP_PENDING"&&Fe.isWaiting;Te&&$e(!1),Fe.phase==="DRAGGING"||Fe.phase==="DROP_PENDING"||$e(!1);var Et=Fe.critical,_t=Fe.dimensions,Tt=_t.draggables[Fe.critical.draggable.id],wt=Xi({reason:Re,lastImpact:Fe.impact,afterCritical:Fe.afterCritical,onLiftImpact:Fe.onLiftImpact,home:Fe.dimensions.droppables[Fe.critical.droppable.id],viewport:Fe.viewport,draggables:Fe.dimensions.draggables}),At=wt.impact,Yt=wt.didDropInsideDroppable,Vn=Yt?Gr(At):null,fr=Yt?To(At):null,Pr={index:Et.draggable.index,droppableId:Et.droppable.id},Fr={draggableId:Tt.descriptor.id,type:Tt.descriptor.type,source:Pr,reason:Re,mode:Fe.movementMode,destination:Vn,combine:fr},Ur=ol({impact:At,draggable:Tt,dimensions:_t,viewport:Fe.viewport,afterCritical:Fe.afterCritical}),ro={critical:Fe.critical,afterCritical:Fe.afterCritical,result:Fr,impact:At},co=!za(Fe.current.client.offset,Ur)||!!Fr.combine;if(!co){oe(ka({completed:ro}));return}var si=Mo({current:Fe.current.client.offset,destination:Ur,reason:Re}),ai={newHomeClientOffset:Ur,dropDuration:si,completed:ro};oe(ga(ai))}}}},Ce=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ue(ne){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(oe){oe.target!==window&&oe.target!==window.document||ne()}}}function rt(ne){var ae=ne.onWindowScroll;function oe(){ae(Ce())}var ge=Sa(oe),xe=Ue(ge),Fe=wa;function Re(){return Fe!==wa}function Te(){Re()&&$e(!1),Fe=mr(window,[xe])}function Et(){Re()||$e(!1),ge.cancel(),Fe(),Fe=wa}return{start:Te,stop:Et,isActive:Re}}var ht=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},pt=function(ne){var ae=rt({onWindowScroll:function(ge){ne.dispatch(ua({newScroll:ge}))}});return function(oe){return function(ge){!ae.isActive()&&ge.type==="INITIAL_PUBLISH"&&ae.start(),ae.isActive()&&ht(ge)&&ae.stop(),oe(ge)}}},$t=function(ne){var ae=!1,oe=!1,ge=setTimeout(function(){oe=!0}),xe=function(Re){ae||oe||(ae=!0,ne(Re),clearTimeout(ge))};return xe.wasCalled=function(){return ae},xe},Qt=function(){var ne=[],ae=function(Fe){var Re=No(ne,function(_t){return _t.timerId===Fe});Re===-1&&$e(!1);var Te=ne.splice(Re,1),Et=Te[0];Et.callback()},oe=function(Fe){var Re=setTimeout(function(){return ae(Re)}),Te={timerId:Re,callback:Fe};ne.push(Te)},ge=function(){if(ne.length){var Fe=[].concat(ne);ne.length=0,Fe.forEach(function(Re){clearTimeout(Re.timerId),Re.callback()})}};return{add:oe,flush:ge}},Ut=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.droppableId===oe.droppableId&&ae.index===oe.index},xn=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.draggableId===oe.draggableId&&ae.droppableId===oe.droppableId},Sn=function(ae,oe){if(ae===oe)return!0;var ge=ae.draggable.id===oe.draggable.id&&ae.draggable.droppableId===oe.draggable.droppableId&&ae.draggable.type===oe.draggable.type&&ae.draggable.index===oe.draggable.index,xe=ae.droppable.id===oe.droppable.id&&ae.droppable.type===oe.droppable.type;return ge&&xe},En=function(ae,oe){cu(),oe(),Qi()},ea=function(ae,oe){return{draggableId:ae.draggable.id,type:ae.droppable.type,source:{droppableId:ae.droppable.id,index:ae.draggable.index},mode:oe}},ra=function(ae,oe,ge,xe){if(!ae){ge(xe(oe));return}var Fe=$t(ge),Re={announce:Fe};ae(oe,Re),Fe.wasCalled()||ge(xe(oe))},ma=function(ne,ae){var oe=Qt(),ge=null,xe=function(At,Yt){ge&&$e(!1),En("onBeforeCapture",function(){var Vn=ne().onBeforeCapture;if(Vn){var fr={draggableId:At,mode:Yt};Vn(fr)}})},Fe=function(At,Yt){ge&&$e(!1),En("onBeforeDragStart",function(){var Vn=ne().onBeforeDragStart;Vn&&Vn(ea(At,Yt))})},Re=function(At,Yt){ge&&$e(!1);var Vn=ea(At,Yt);ge={mode:Yt,lastCritical:At,lastLocation:Vn.source,lastCombine:null},oe.add(function(){En("onDragStart",function(){return ra(ne().onDragStart,Vn,ae,Kt.onDragStart)})})},Te=function(At,Yt){var Vn=Gr(Yt),fr=To(Yt);ge||$e(!1);var Pr=!Sn(At,ge.lastCritical);Pr&&(ge.lastCritical=At);var Fr=!Ut(ge.lastLocation,Vn);Fr&&(ge.lastLocation=Vn);var Ur=!xn(ge.lastCombine,fr);if(Ur&&(ge.lastCombine=fr),!(!Pr&&!Fr&&!Ur)){var ro=(0,Ne.Z)({},ea(At,ge.mode),{combine:fr,destination:Vn});oe.add(function(){En("onDragUpdate",function(){return ra(ne().onDragUpdate,ro,ae,Kt.onDragUpdate)})})}},Et=function(){ge||$e(!1),oe.flush()},_t=function(At){ge||$e(!1),ge=null,En("onDragEnd",function(){return ra(ne().onDragEnd,At,ae,Kt.onDragEnd)})},Tt=function(){if(ge){var At=(0,Ne.Z)({},ea(ge.lastCritical,ge.mode),{combine:null,destination:null,reason:"CANCEL"});_t(At)}};return{beforeCapture:xe,beforeStart:Fe,start:Re,update:Te,flush:Et,drop:_t,abort:Tt}},La=function(ne,ae){var oe=ma(ne,ae);return function(ge){return function(xe){return function(Fe){if(Fe.type==="BEFORE_INITIAL_CAPTURE"){oe.beforeCapture(Fe.payload.draggableId,Fe.payload.movementMode);return}if(Fe.type==="INITIAL_PUBLISH"){var Re=Fe.payload.critical;oe.beforeStart(Re,Fe.payload.movementMode),xe(Fe),oe.start(Re,Fe.payload.movementMode);return}if(Fe.type==="DROP_COMPLETE"){var Te=Fe.payload.completed.result;oe.flush(),xe(Fe),oe.drop(Te);return}if(xe(Fe),Fe.type==="FLUSH"){oe.abort();return}var Et=ge.getState();Et.phase==="DRAGGING"&&oe.update(Et.critical,Et.impact)}}}},zt=function(ne){return function(ae){return function(oe){if(oe.type!=="DROP_ANIMATION_FINISHED"){ae(oe);return}var ge=ne.getState();ge.phase!=="DROP_ANIMATING"&&$e(!1),ne.dispatch(ka({completed:ge.completed}))}}},nr=function(ne){var ae=null,oe=null;function ge(){oe&&(cancelAnimationFrame(oe),oe=null),ae&&(ae(),ae=null)}return function(xe){return function(Fe){if((Fe.type==="FLUSH"||Fe.type==="DROP_COMPLETE"||Fe.type==="DROP_ANIMATION_FINISHED")&&ge(),xe(Fe),Fe.type==="DROP_ANIMATE"){var Re={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Et=ne.getState();Et.phase==="DROP_ANIMATING"&&ne.dispatch(Ir())}};oe=requestAnimationFrame(function(){oe=null,ae=mr(window,[Re])})}}}},ja=function(ne){return function(){return function(ae){return function(oe){(oe.type==="DROP_COMPLETE"||oe.type==="FLUSH"||oe.type==="DROP_ANIMATE")&&ne.stopPublishing(),ae(oe)}}}},dr=function(ne){var ae=!1;return function(){return function(oe){return function(ge){if(ge.type==="INITIAL_PUBLISH"){ae=!0,ne.tryRecordFocus(ge.payload.critical.draggable.id),oe(ge),ne.tryRestoreFocusRecorded();return}if(oe(ge),!!ae){if(ge.type==="FLUSH"){ae=!1,ne.tryRestoreFocusRecorded();return}if(ge.type==="DROP_COMPLETE"){ae=!1;var xe=ge.payload.completed.result;xe.combine&&ne.tryShiftRecord(xe.draggableId,xe.combine.draggableId),ne.tryRestoreFocusRecorded()}}}}}},Zr=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},Qr=function(ne){return function(ae){return function(oe){return function(ge){if(Zr(ge)){ne.stop(),oe(ge);return}if(ge.type==="INITIAL_PUBLISH"){oe(ge);var xe=ae.getState();xe.phase!=="DRAGGING"&&$e(!1),ne.start(xe);return}oe(ge),ne.scroll(ae.getState())}}}},Or=function(ne){return function(ae){return function(oe){if(ae(oe),oe.type==="PUBLISH_WHILE_DRAGGING"){var ge=ne.getState();ge.phase==="DROP_PENDING"&&(ge.isWaiting||ne.dispatch(Ar({reason:ge.reason})))}}}},Kr=_e.qC,jr=function(ne){var ae=ne.dimensionMarshal,oe=ne.focusMarshal,ge=ne.styleMarshal,xe=ne.getResponders,Fe=ne.announce,Re=ne.autoScroller;return(0,_e.MT)(Wu,Kr((0,_e.md)(Vo(ge),ja(ae),jn(ae),Ee,zt,nr,Or,Qr(Re),pt,dr(oe),La(xe,Fe))))},ur=function(){return{additions:{},removals:{},modified:{}}};function sr(ne){var ae=ne.registry,oe=ne.callbacks,ge=ur(),xe=null,Fe=function(){xe||(oe.collectionStarting(),xe=requestAnimationFrame(function(){xe=null,cu();var Tt=ge,wt=Tt.additions,At=Tt.removals,Yt=Tt.modified,Vn=Object.keys(wt).map(function(Fr){return ae.draggable.getById(Fr).getDimension(xa)}).sort(function(Fr,Ur){return Fr.descriptor.index-Ur.descriptor.index}),fr=Object.keys(Yt).map(function(Fr){var Ur=ae.droppable.getById(Fr),ro=Ur.callbacks.getScrollWhileDragging();return{droppableId:Fr,scroll:ro}}),Pr={additions:Vn,removals:Object.keys(At),modified:fr};ge=ur(),Qi(),oe.publish(Pr)}))},Re=function(Tt){var wt=Tt.descriptor.id;ge.additions[wt]=Tt,ge.modified[Tt.descriptor.droppableId]=!0,ge.removals[wt]&&delete ge.removals[wt],Fe()},Te=function(Tt){var wt=Tt.descriptor;ge.removals[wt.id]=!0,ge.modified[wt.droppableId]=!0,ge.additions[wt.id]&&delete ge.additions[wt.id],Fe()},Et=function(){xe&&(cancelAnimationFrame(xe),xe=null,ge=ur())};return{add:Re,remove:Te,stop:Et}}var yr=function(ne){var ae=ne.scrollHeight,oe=ne.scrollWidth,ge=ne.height,xe=ne.width,Fe=Qa({x:oe,y:ae},{x:xe,y:ge}),Re={x:Math.max(0,Fe.x),y:Math.max(0,Fe.y)};return Re},$a=function(){var ne=document.documentElement;return ne||$e(!1),ne},cr=function(){var ne=$a(),ae=yr({scrollHeight:ne.scrollHeight,scrollWidth:ne.scrollWidth,width:ne.clientWidth,height:ne.clientHeight});return ae},$r=function(){var ne=Ce(),ae=cr(),oe=ne.y,ge=ne.x,xe=$a(),Fe=xe.clientWidth,Re=xe.clientHeight,Te=ge+Fe,Et=oe+Re,_t=Jn({top:oe,left:ge,right:Te,bottom:Et}),Tt={frame:_t,scroll:{initial:ne,current:ne,max:ae,diff:{value:xa,displacement:xa}}};return Tt},yo=function(ne){var ae=ne.critical,oe=ne.scrollOptions,ge=ne.registry;cu();var xe=$r(),Fe=xe.scroll.current,Re=ae.droppable,Te=ge.droppable.getAllByType(Re.type).map(function(wt){return wt.callbacks.getDimensionAndWatchScroll(Fe,oe)}),Et=ge.draggable.getAllByType(ae.draggable.type).map(function(wt){return wt.getDimension(Fe)}),_t={draggables:Jo(Et),droppables:Yo(Te)};Qi();var Tt={dimensions:_t,critical:ae,viewport:xe};return Tt};function lo(ne,ae,oe){if(oe.descriptor.id===ae.id||oe.descriptor.type!==ae.type)return!1;var ge=ne.droppable.getById(oe.descriptor.droppableId);return ge.descriptor.mode==="virtual"}var kr=function(ne,ae){var oe=null,ge=sr({callbacks:{publish:ae.publishWhileDragging,collectionStarting:ae.collectionStarting},registry:ne}),xe=function(Yt,Vn){ne.droppable.exists(Yt)||$e(!1),oe&&ae.updateDroppableIsEnabled({id:Yt,isEnabled:Vn})},Fe=function(Yt,Vn){oe&&(ne.droppable.exists(Yt)||$e(!1),ae.updateDroppableIsCombineEnabled({id:Yt,isCombineEnabled:Vn}))},Re=function(Yt,Vn){oe&&(ne.droppable.exists(Yt)||$e(!1),ae.updateDroppableScroll({id:Yt,newScroll:Vn}))},Te=function(Yt,Vn){oe&&ne.droppable.getById(Yt).callbacks.scroll(Vn)},Et=function(){if(oe){ge.stop();var Yt=oe.critical.droppable;ne.droppable.getAllByType(Yt.type).forEach(function(Vn){return Vn.callbacks.dragStopped()}),oe.unsubscribe(),oe=null}},_t=function(Yt){oe||$e(!1);var Vn=oe.critical.draggable;Yt.type==="ADDITION"&&lo(ne,Vn,Yt.value)&&ge.add(Yt.value),Yt.type==="REMOVAL"&&lo(ne,Vn,Yt.value)&&ge.remove(Yt.value)},Tt=function(Yt){oe&&$e(!1);var Vn=ne.draggable.getById(Yt.draggableId),fr=ne.droppable.getById(Vn.descriptor.droppableId),Pr={draggable:Vn.descriptor,droppable:fr.descriptor},Fr=ne.subscribe(_t);return oe={critical:Pr,unsubscribe:Fr},yo({critical:Pr,registry:ne,scrollOptions:Yt.scrollOptions})},wt={updateDroppableIsEnabled:xe,updateDroppableIsCombineEnabled:Fe,scrollDroppable:Te,updateDroppableScroll:Re,startPublishing:Tt,stopPublishing:Et};return wt},vo=function(ne,ae){return ne.phase==="IDLE"?!0:ne.phase!=="DROP_ANIMATING"||ne.completed.result.draggableId===ae?!1:ne.completed.result.reason==="DROP"},wo=function(ne){window.scrollBy(ne.x,ne.y)},Ta=pn(function(ne){return Lo(ne).filter(function(ae){return!(!ae.isEnabled||!ae.frame)})}),Do=function(ae,oe){var ge=Er(Ta(oe),function(xe){return xe.frame||$e(!1),Bi(xe.frame.pageMarginBox)(ae)});return ge},yi=function(ne){var ae=ne.center,oe=ne.destination,ge=ne.droppables;if(oe){var xe=ge[oe];return xe.frame?xe:null}var Fe=Do(ae,ge);return Fe},Ao={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ae){return Math.pow(ae,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},qr=function(ne,ae){var oe=ne[ae.size]*Ao.startFromPercentage,ge=ne[ae.size]*Ao.maxScrollAtPercentage,xe={startScrollingFrom:oe,maxScrollValueAt:ge};return xe},bi=function(ne){var ae=ne.startOfRange,oe=ne.endOfRange,ge=ne.current,xe=oe-ae;if(xe===0)return 0;var Fe=ge-ae,Re=Fe/xe;return Re},Yr=1,gi=function(ne,ae){if(ne>ae.startScrollingFrom)return 0;if(ne<=ae.maxScrollValueAt)return Ao.maxPixelScroll;if(ne===ae.startScrollingFrom)return Yr;var oe=bi({startOfRange:ae.maxScrollValueAt,endOfRange:ae.startScrollingFrom,current:ne}),ge=1-oe,xe=Ao.maxPixelScroll*Ao.ease(ge);return Math.ceil(xe)},Zo=Ao.durationDampening.accelerateAt,_i=Ao.durationDampening.stopDampeningAt,no=function(ne,ae){var oe=ae,ge=_i,xe=Date.now(),Fe=xe-oe;if(Fe>=_i)return ne;if(Fe<Zo)return Yr;var Re=bi({startOfRange:Zo,endOfRange:ge,current:Fe}),Te=ne*Ao.ease(Re);return Math.ceil(Te)},zr=function(ne){var ae=ne.distanceToEdge,oe=ne.thresholds,ge=ne.dragStartTime,xe=ne.shouldUseTimeDampening,Fe=gi(ae,oe);return Fe===0?0:xe?Math.max(no(Fe,ge),Yr):Fe},Jr=function(ne){var ae=ne.container,oe=ne.distanceToEdges,ge=ne.dragStartTime,xe=ne.axis,Fe=ne.shouldUseTimeDampening,Re=qr(ae,xe),Te=oe[xe.end]<oe[xe.start];return Te?zr({distanceToEdge:oe[xe.end],thresholds:Re,dragStartTime:ge,shouldUseTimeDampening:Fe}):-1*zr({distanceToEdge:oe[xe.start],thresholds:Re,dragStartTime:ge,shouldUseTimeDampening:Fe})},Hr=function(ne){var ae=ne.container,oe=ne.subject,ge=ne.proposedScroll,xe=oe.height>ae.height,Fe=oe.width>ae.width;return!Fe&&!xe?ge:Fe&&xe?null:{x:Fe?0:ge.x,y:xe?0:ge.y}},ce=vr(function(ne){return ne===0?0:ne}),pe=function(ne){var ae=ne.dragStartTime,oe=ne.container,ge=ne.subject,xe=ne.center,Fe=ne.shouldUseTimeDampening,Re={top:xe.y-oe.top,right:oe.right-xe.x,bottom:oe.bottom-xe.y,left:xe.x-oe.left},Te=Jr({container:oe,distanceToEdges:Re,dragStartTime:ae,axis:dl,shouldUseTimeDampening:Fe}),Et=Jr({container:oe,distanceToEdges:Re,dragStartTime:ae,axis:gl,shouldUseTimeDampening:Fe}),_t=ce({x:Et,y:Te});if(za(_t,xa))return null;var Tt=Hr({container:oe,subject:ge,proposedScroll:_t});return Tt?za(Tt,xa)?null:Tt:null},Pe=vr(function(ne){return ne===0?0:ne>0?1:-1}),Ot=function(){var ne=function(oe,ge){return oe<0?oe:oe>ge?oe-ge:0};return function(ae){var oe=ae.current,ge=ae.max,xe=ae.change,Fe=Ea(oe,xe),Re={x:ne(Fe.x,ge.x),y:ne(Fe.y,ge.y)};return za(Re,xa)?null:Re}}(),en=function(ae){var oe=ae.max,ge=ae.current,xe=ae.change,Fe={x:Math.max(ge.x,oe.x),y:Math.max(ge.y,oe.y)},Re=Pe(xe),Te=Ot({max:Fe,current:ge,change:Re});return!Te||Re.x!==0&&Te.x===0||Re.y!==0&&Te.y===0},Oa=function(ae,oe){return en({current:ae.scroll.current,max:ae.scroll.max,change:oe})},va=function(ae,oe){if(!Oa(ae,oe))return null;var ge=ae.scroll.max,xe=ae.scroll.current;return Ot({current:xe,max:ge,change:oe})},_n=function(ae,oe){var ge=ae.frame;return ge?en({current:ge.scroll.current,max:ge.scroll.max,change:oe}):!1},Ht=function(ae,oe){var ge=ae.frame;return!ge||!_n(ae,oe)?null:Ot({current:ge.scroll.current,max:ge.scroll.max,change:oe})},Un=function(ne){var ae=ne.viewport,oe=ne.subject,ge=ne.center,xe=ne.dragStartTime,Fe=ne.shouldUseTimeDampening,Re=pe({dragStartTime:xe,container:ae.frame,subject:oe,center:ge,shouldUseTimeDampening:Fe});return Re&&Oa(ae,Re)?Re:null},Fn=function(ne){var ae=ne.droppable,oe=ne.subject,ge=ne.center,xe=ne.dragStartTime,Fe=ne.shouldUseTimeDampening,Re=ae.frame;if(!Re)return null;var Te=pe({dragStartTime:xe,container:Re.pageMarginBox,subject:oe,center:ge,shouldUseTimeDampening:Fe});return Te&&_n(ae,Te)?Te:null},Pt=function(ne){var ae=ne.state,oe=ne.dragStartTime,ge=ne.shouldUseTimeDampening,xe=ne.scrollWindow,Fe=ne.scrollDroppable,Re=ae.current.page.borderBoxCenter,Te=ae.dimensions.draggables[ae.critical.draggable.id],Et=Te.page.marginBox;if(ae.isWindowScrollAllowed){var _t=ae.viewport,Tt=Un({dragStartTime:oe,viewport:_t,subject:Et,center:Re,shouldUseTimeDampening:ge});if(Tt){xe(Tt);return}}var wt=yi({center:Re,destination:ji(ae.impact),droppables:ae.dimensions.droppables});if(wt){var At=Fn({dragStartTime:oe,droppable:wt,subject:Et,center:Re,shouldUseTimeDampening:ge});At&&Fe(wt.descriptor.id,At)}},mn=function(ne){var ae=ne.scrollWindow,oe=ne.scrollDroppable,ge=Sa(ae),xe=Sa(oe),Fe=null,Re=function(Tt){Fe||$e(!1);var wt=Fe,At=wt.shouldUseTimeDampening,Yt=wt.dragStartTime;Pt({state:Tt,scrollWindow:ge,scrollDroppable:xe,dragStartTime:Yt,shouldUseTimeDampening:At})},Te=function(Tt){cu(),Fe&&$e(!1);var wt=Date.now(),At=!1,Yt=function(){At=!0};Pt({state:Tt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Yt,scrollDroppable:Yt}),Fe={dragStartTime:wt,shouldUseTimeDampening:At},Qi(),At&&Re(Tt)},Et=function(){Fe&&(ge.cancel(),xe.cancel(),Fe=null)};return{start:Te,stop:Et,scroll:Re}},On=function(ne){var ae=ne.move,oe=ne.scrollDroppable,ge=ne.scrollWindow,xe=function(_t,Tt){var wt=Ea(_t.current.client.selection,Tt);ae({client:wt})},Fe=function(_t,Tt){if(!_n(_t,Tt))return Tt;var wt=Ht(_t,Tt);if(!wt)return oe(_t.descriptor.id,Tt),null;var At=Qa(Tt,wt);oe(_t.descriptor.id,At);var Yt=Qa(Tt,At);return Yt},Re=function(_t,Tt,wt){if(!_t||!Oa(Tt,wt))return wt;var At=va(Tt,wt);if(!At)return ge(wt),null;var Yt=Qa(wt,At);ge(Yt);var Vn=Qa(wt,Yt);return Vn},Te=function(_t){var Tt=_t.scrollJumpRequest;if(Tt){var wt=ji(_t.impact);wt||$e(!1);var At=Fe(_t.dimensions.droppables[wt],Tt);if(At){var Yt=_t.viewport,Vn=Re(_t.isWindowScrollAllowed,Yt,At);Vn&&xe(_t,Vn)}}};return Te},sa=function(ne){var ae=ne.scrollDroppable,oe=ne.scrollWindow,ge=ne.move,xe=mn({scrollWindow:oe,scrollDroppable:ae}),Fe=On({move:ge,scrollWindow:oe,scrollDroppable:ae}),Re=function(_t){if(_t.phase==="DRAGGING"){if(_t.movementMode==="FLUID"){xe.scroll(_t);return}_t.scrollJumpRequest&&Fe(_t)}},Te={scroll:Re,start:xe.start,stop:xe.stop};return Te},Zn="data-rbd",Fa=function(){var ne=Zn+"-drag-handle";return{base:ne,draggableId:ne+"-draggable-id",contextId:ne+"-context-id"}}(),aa=function(){var ne=Zn+"-draggable";return{base:ne,contextId:ne+"-context-id",id:ne+"-id"}}(),da=function(){var ne=Zn+"-droppable";return{base:ne,contextId:ne+"-context-id",id:ne+"-id"}}(),Ja={contextId:Zn+"-scroll-container-context-id"},yn=function(ae){return function(oe){return"["+oe+'="'+ae+'"]'}},Ca=function(ae,oe){return ae.map(function(ge){var xe=ge.styles[oe];return xe?ge.selector+" { "+xe+" }":""}).join(" ")},Ka="pointer-events: none;",eo=function(ne){var ae=yn(ne),oe=function(){var Te=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:ae(Fa.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:Te,dragging:Ka,dropAnimating:Te}}}(),ge=function(){var Te=`
transition: `+pi.outOfTheWay+`;
`;return{selector:ae(aa.contextId),styles:{dragging:Te,dropAnimating:Te,userCancel:Te}}}(),xe={selector:ae(da.contextId),styles:{always:"overflow-anchor: none;"}},Fe={selector:"body",styles:{dragging:`
cursor: grabbing;
cursor: -webkit-grabbing;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
overflow-anchor: none;
`}},Re=[ge,oe,xe,Fe];return{always:Ca(Re,"always"),resting:Ca(Re,"resting"),dragging:Ca(Re,"dragging"),dropAnimating:Ca(Re,"dropAnimating"),userCancel:Ca(Re,"userCancel")}},Sr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,ui=function(){var ae=document.querySelector("head");return ae||$e(!1),ae},Ga=function(ae){var oe=document.createElement("style");return ae&&oe.setAttribute("nonce",ae),oe.type="text/css",oe};function xo(ne,ae){var oe=Bt(function(){return eo(ne)},[ne]),ge=(0,b.useRef)(null),xe=(0,b.useRef)(null),Fe=Mt(pn(function(wt){var At=xe.current;At||$e(!1),At.textContent=wt}),[]),Re=Mt(function(wt){var At=ge.current;At||$e(!1),At.textContent=wt},[]);Sr(function(){!ge.current&&!xe.current||$e(!1);var wt=Ga(ae),At=Ga(ae);return ge.current=wt,xe.current=At,wt.setAttribute(Zn+"-always",ne),At.setAttribute(Zn+"-dynamic",ne),ui().appendChild(wt),ui().appendChild(At),Re(oe.always),Fe(oe.resting),function(){var Yt=function(fr){var Pr=fr.current;Pr||$e(!1),ui().removeChild(Pr),fr.current=null};Yt(ge),Yt(xe)}},[ae,Re,Fe,oe.always,oe.resting,ne]);var Te=Mt(function(){return Fe(oe.dragging)},[Fe,oe.dragging]),Et=Mt(function(wt){if(wt==="DROP"){Fe(oe.dropAnimating);return}Fe(oe.userCancel)},[Fe,oe.dropAnimating,oe.userCancel]),_t=Mt(function(){xe.current&&Fe(oe.resting)},[Fe,oe.resting]),Tt=Bt(function(){return{dragging:Te,dropping:Et,resting:_t}},[Te,Et,_t]);return Tt}var Dr=function(ne){return ne&&ne.ownerDocument?ne.ownerDocument.defaultView:window};function ao(ne){return ne instanceof Dr(ne).HTMLElement}function Eo(ne,ae){var oe="["+Fa.contextId+'="'+ne+'"]',ge=to(document.querySelectorAll(oe));if(!ge.length)return null;var xe=Er(ge,function(Fe){return Fe.getAttribute(Fa.draggableId)===ae});return!xe||!ao(xe)?null:xe}function hi(ne){var ae=(0,b.useRef)({}),oe=(0,b.useRef)(null),ge=(0,b.useRef)(null),xe=(0,b.useRef)(!1),Fe=Mt(function(At,Yt){var Vn={id:At,focus:Yt};return ae.current[At]=Vn,function(){var Pr=ae.current,Fr=Pr[At];Fr!==Vn&&delete Pr[At]}},[]),Re=Mt(function(At){var Yt=Eo(ne,At);Yt&&Yt!==document.activeElement&&Yt.focus()},[ne]),Te=Mt(function(At,Yt){oe.current===At&&(oe.current=Yt)},[]),Et=Mt(function(){ge.current||xe.current&&(ge.current=requestAnimationFrame(function(){ge.current=null;var At=oe.current;At&&Re(At)}))},[Re]),_t=Mt(function(At){oe.current=null;var Yt=document.activeElement;Yt&&Yt.getAttribute(Fa.draggableId)===At&&(oe.current=At)},[]);Sr(function(){return xe.current=!0,function(){xe.current=!1;var At=ge.current;At&&cancelAnimationFrame(At)}},[]);var Tt=Bt(function(){return{register:Fe,tryRecordFocus:_t,tryRestoreFocusRecorded:Et,tryShiftRecord:Te}},[Fe,_t,Et,Te]);return Tt}function mi(){var ne={draggables:{},droppables:{}},ae=[];function oe(wt){return ae.push(wt),function(){var Yt=ae.indexOf(wt);Yt!==-1&&ae.splice(Yt,1)}}function ge(wt){ae.length&&ae.forEach(function(At){return At(wt)})}function xe(wt){return ne.draggables[wt]||null}function Fe(wt){var At=xe(wt);return At||$e(!1),At}var Re={register:function(At){ne.draggables[At.descriptor.id]=At,ge({type:"ADDITION",value:At})},update:function(At,Yt){var Vn=ne.draggables[Yt.descriptor.id];Vn&&Vn.uniqueId===At.uniqueId&&(delete ne.draggables[Yt.descriptor.id],ne.draggables[At.descriptor.id]=At)},unregister:function(At){var Yt=At.descriptor.id,Vn=xe(Yt);Vn&&At.uniqueId===Vn.uniqueId&&(delete ne.draggables[Yt],ge({type:"REMOVAL",value:At}))},getById:Fe,findById:xe,exists:function(At){return!!xe(At)},getAllByType:function(At){return ko(ne.draggables).filter(function(Yt){return Yt.descriptor.type===At})}};function Te(wt){return ne.droppables[wt]||null}function Et(wt){var At=Te(wt);return At||$e(!1),At}var _t={register:function(At){ne.droppables[At.descriptor.id]=At},unregister:function(At){var Yt=Te(At.descriptor.id);Yt&&At.uniqueId===Yt.uniqueId&&delete ne.droppables[At.descriptor.id]},getById:Et,findById:Te,exists:function(At){return!!Te(At)},getAllByType:function(At){return ko(ne.droppables).filter(function(Yt){return Yt.descriptor.type===At})}};function Tt(){ne.draggables={},ne.droppables={},ae.length=0}return{draggable:Re,droppable:_t,subscribe:oe,clean:Tt}}function Cr(){var ne=Bt(mi,[]);return(0,b.useEffect)(function(){return function(){requestAnimationFrame(ne.clean)}},[ne]),ne}var po=b.createContext(null),Ki=function(){var ne=document.body;return ne||$e(!1),ne},Li={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},ta=function(ae){return"rbd-announcement-"+ae};function Fo(ne){var ae=Bt(function(){return ta(ne)},[ne]),oe=(0,b.useRef)(null);(0,b.useEffect)(function(){var Fe=document.createElement("div");return oe.current=Fe,Fe.id=ae,Fe.setAttribute("aria-live","assertive"),Fe.setAttribute("aria-atomic","true"),(0,Ne.Z)(Fe.style,Li),Ki().appendChild(Fe),function(){setTimeout(function(){var Et=Ki();Et.contains(Fe)&&Et.removeChild(Fe),Fe===oe.current&&(oe.current=null)})}},[ae]);var ge=Mt(function(xe){var Fe=oe.current;if(Fe){Fe.textContent=xe;return}},[]);return ge}var Ri=0,zo={separator:"::"};function Ci(){Ri=0}function Mi(ne,ae){return ae===void 0&&(ae=zo),Bt(function(){return""+ne+ae.separator+Ri++},[ae.separator,ne])}function ii(ne){var ae=ne.contextId,oe=ne.uniqueId;return"rbd-hidden-text-"+ae+"-"+oe}function il(ne){var ae=ne.contextId,oe=ne.text,ge=Mi("hidden-text",{separator:"-"}),xe=Bt(function(){return ii({contextId:ae,uniqueId:ge})},[ge,ae]);return(0,b.useEffect)(function(){var Re=document.createElement("div");return Re.id=xe,Re.textContent=oe,Re.style.display="none",Ki().appendChild(Re),function(){var Et=Ki();Et.contains(Re)&&Et.removeChild(Re)}},[xe,oe]),xe}var ll=b.createContext(null),jl={react:"^16.8.5","react-dom":"^16.8.5"},Ii=/(\d+)\.(\d+)\.(\d+)/,cl=function(ae){var oe=Ii.exec(ae);oe==null&&$e(!1);var ge=Number(oe[1]),xe=Number(oe[2]),Fe=Number(oe[3]);return{major:ge,minor:xe,patch:Fe,raw:ae}},Bl=function(ae,oe){return oe.major>ae.major?!0:oe.major<ae.major?!1:oe.minor>ae.minor?!0:oe.minor<ae.minor?!1:oe.patch>=ae.patch},Gl=function(ne,ae){var oe=cl(ne),ge=cl(ae);Bl(oe,ge)},Io=`
We expect a html5 doctype: <!doctype html>
This is to ensure consistent browser layout and measurement
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
`,Si=function(ne){var ae=ne.doctype;ae&&(ae.name.toLowerCase(),ae.publicId)};function $i(ne){}function Zi(ne,ae){}function hl(){Zi(function(){Gl(jl.react,b.version),Si(document)},[])}function ul(ne){var ae=(0,b.useRef)(ne);return(0,b.useEffect)(function(){ae.current=ne}),ae}function sl(){var ne=null;function ae(){return!!ne}function oe(Re){return Re===ne}function ge(Re){ne&&$e(!1);var Te={abandon:Re};return ne=Te,Te}function xe(){ne||$e(!1),ne=null}function Fe(){ne&&(ne.abandon(),xe())}return{isClaimed:ae,isActive:oe,claim:ge,release:xe,tryAbandon:Fe}}var wl=9,Rl=13,ml=27,qi=32,Wl=33,Xo=34,vu=35,pu=36,Kl=37,gu=38,ca=39,or=40,jo,uo=(jo={},jo[Rl]=!0,jo[wl]=!0,jo),Bo=function(ne){uo[ne.keyCode]&&ne.preventDefault()},qo=function(){var ne="visibilitychange";if(typeof document=="undefined")return ne;var ae=[ne,"ms"+ne,"webkit"+ne,"moz"+ne,"o"+ne],oe=Er(ae,function(ge){return"on"+ge in document});return oe||ne}(),Vi=0,Di=5;function fl(ne,ae){return Math.abs(ae.x-ne.x)>=Di||Math.abs(ae.y-ne.y)>=Di}var el={type:"IDLE"};function Ml(ne){var ae=ne.cancel,oe=ne.completed,ge=ne.getPhase,xe=ne.setPhase;return[{eventName:"mousemove",fn:function(Re){var Te=Re.button,Et=Re.clientX,_t=Re.clientY;if(Te===Vi){var Tt={x:Et,y:_t},wt=ge();if(wt.type==="DRAGGING"){Re.preventDefault(),wt.actions.move(Tt);return}wt.type!=="PENDING"&&$e(!1);var At=wt.point;if(fl(At,Tt)){Re.preventDefault();var Yt=wt.actions.fluidLift(Tt);xe({type:"DRAGGING",actions:Yt})}}}},{eventName:"mouseup",fn:function(Re){var Te=ge();if(Te.type!=="DRAGGING"){ae();return}Re.preventDefault(),Te.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"mousedown",fn:function(Re){ge().type==="DRAGGING"&&Re.preventDefault(),ae()}},{eventName:"keydown",fn:function(Re){var Te=ge();if(Te.type==="PENDING"){ae();return}if(Re.keyCode===ml){Re.preventDefault(),ae();return}Bo(Re)}},{eventName:"resize",fn:ae},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){ge().type==="PENDING"&&ae()}},{eventName:"webkitmouseforcedown",fn:function(Re){var Te=ge();if(Te.type==="IDLE"&&$e(!1),Te.actions.shouldRespectForcePress()){ae();return}Re.preventDefault()}},{eventName:qo,fn:ae}]}function ou(ne){var ae=(0,b.useRef)(el),oe=(0,b.useRef)(wa),ge=Bt(function(){return{eventName:"mousedown",fn:function(wt){if(!wt.defaultPrevented&&wt.button===Vi&&!(wt.ctrlKey||wt.metaKey||wt.shiftKey||wt.altKey)){var At=ne.findClosestDraggableId(wt);if(At){var Yt=ne.tryGetLock(At,Re,{sourceEvent:wt});if(Yt){wt.preventDefault();var Vn={x:wt.clientX,y:wt.clientY};oe.current(),_t(Yt,Vn)}}}}}},[ne]),xe=Bt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(wt){if(!wt.defaultPrevented){var At=ne.findClosestDraggableId(wt);if(At){var Yt=ne.findOptionsForDraggable(At);Yt&&(Yt.shouldRespectForcePress||ne.canGetLock(At)&&wt.preventDefault())}}}}},[ne]),Fe=Mt(function(){var wt={passive:!1,capture:!0};oe.current=mr(window,[xe,ge],wt)},[xe,ge]),Re=Mt(function(){var Tt=ae.current;Tt.type!=="IDLE"&&(ae.current=el,oe.current(),Fe())},[Fe]),Te=Mt(function(){var Tt=ae.current;Re(),Tt.type==="DRAGGING"&&Tt.actions.cancel({shouldBlockNextClick:!0}),Tt.type==="PENDING"&&Tt.actions.abort()},[Re]),Et=Mt(function(){var wt={capture:!0,passive:!1},At=Ml({cancel:Te,completed:Re,getPhase:function(){return ae.current},setPhase:function(Vn){ae.current=Vn}});oe.current=mr(window,At,wt)},[Te,Re]),_t=Mt(function(wt,At){ae.current.type!=="IDLE"&&$e(!1),ae.current={type:"PENDING",point:At,actions:wt},Et()},[Et]);Sr(function(){return Fe(),function(){oe.current()}},[Fe])}var ti;function Hi(){}var Dl=(ti={},ti[Xo]=!0,ti[Wl]=!0,ti[pu]=!0,ti[vu]=!0,ti);function Sl(ne,ae){function oe(){ae(),ne.cancel()}function ge(){ae(),ne.drop()}return[{eventName:"keydown",fn:function(Fe){if(Fe.keyCode===ml){Fe.preventDefault(),oe();return}if(Fe.keyCode===qi){Fe.preventDefault(),ge();return}if(Fe.keyCode===or){Fe.preventDefault(),ne.moveDown();return}if(Fe.keyCode===gu){Fe.preventDefault(),ne.moveUp();return}if(Fe.keyCode===ca){Fe.preventDefault(),ne.moveRight();return}if(Fe.keyCode===Kl){Fe.preventDefault(),ne.moveLeft();return}if(Dl[Fe.keyCode]){Fe.preventDefault();return}Bo(Fe)}},{eventName:"mousedown",fn:oe},{eventName:"mouseup",fn:oe},{eventName:"click",fn:oe},{eventName:"touchstart",fn:oe},{eventName:"resize",fn:oe},{eventName:"wheel",fn:oe,options:{passive:!0}},{eventName:qo,fn:oe}]}function Vl(ne){var ae=(0,b.useRef)(Hi),oe=Bt(function(){return{eventName:"keydown",fn:function(Fe){if(Fe.defaultPrevented||Fe.keyCode!==qi)return;var Re=ne.findClosestDraggableId(Fe);if(!Re)return;var Te=ne.tryGetLock(Re,Tt,{sourceEvent:Fe});if(!Te)return;Fe.preventDefault();var Et=!0,_t=Te.snapLift();ae.current();function Tt(){Et||$e(!1),Et=!1,ae.current(),ge()}ae.current=mr(window,Sl(_t,Tt),{capture:!0,passive:!1})}}},[ne]),ge=Mt(function(){var Fe={passive:!1,capture:!0};ae.current=mr(window,[oe],Fe)},[oe]);Sr(function(){return ge(),function(){ae.current()}},[ge])}var kl={type:"IDLE"},Ku=120,Vu=.15;function $u(ne){var ae=ne.cancel,oe=ne.getPhase;return[{eventName:"orientationchange",fn:ae},{eventName:"resize",fn:ae},{eventName:"contextmenu",fn:function(xe){xe.preventDefault()}},{eventName:"keydown",fn:function(xe){if(oe().type!=="DRAGGING"){ae();return}xe.keyCode===ml&&xe.preventDefault(),ae()}},{eventName:qo,fn:ae}]}function hu(ne){var ae=ne.cancel,oe=ne.completed,ge=ne.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Fe){var Re=ge();if(Re.type!=="DRAGGING"){ae();return}Re.hasMoved=!0;var Te=Fe.touches[0],Et=Te.clientX,_t=Te.clientY,Tt={x:Et,y:_t};Fe.preventDefault(),Re.actions.move(Tt)}},{eventName:"touchend",fn:function(Fe){var Re=ge();if(Re.type!=="DRAGGING"){ae();return}Fe.preventDefault(),Re.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"touchcancel",fn:function(Fe){if(ge().type!=="DRAGGING"){ae();return}Fe.preventDefault(),ae()}},{eventName:"touchforcechange",fn:function(Fe){var Re=ge();Re.type==="IDLE"&&$e(!1);var Te=Fe.touches[0];if(Te){var Et=Te.force>=Vu;if(Et){var _t=Re.actions.shouldRespectForcePress();if(Re.type==="PENDING"){_t&&ae();return}if(_t){if(Re.hasMoved){Fe.preventDefault();return}ae();return}Fe.preventDefault()}}}},{eventName:qo,fn:ae}]}function Es(ne){var ae=(0,b.useRef)(kl),oe=(0,b.useRef)(wa),ge=Mt(function(){return ae.current},[]),xe=Mt(function(Yt){ae.current=Yt},[]),Fe=Bt(function(){return{eventName:"touchstart",fn:function(Yt){if(!Yt.defaultPrevented){var Vn=ne.findClosestDraggableId(Yt);if(Vn){var fr=ne.tryGetLock(Vn,Te,{sourceEvent:Yt});if(fr){var Pr=Yt.touches[0],Fr=Pr.clientX,Ur=Pr.clientY,ro={x:Fr,y:Ur};oe.current(),wt(fr,ro)}}}}}},[ne]),Re=Mt(function(){var Yt={capture:!0,passive:!1};oe.current=mr(window,[Fe],Yt)},[Fe]),Te=Mt(function(){var At=ae.current;At.type!=="IDLE"&&(At.type==="PENDING"&&clearTimeout(At.longPressTimerId),xe(kl),oe.current(),Re())},[Re,xe]),Et=Mt(function(){var At=ae.current;Te(),At.type==="DRAGGING"&&At.actions.cancel({shouldBlockNextClick:!0}),At.type==="PENDING"&&At.actions.abort()},[Te]),_t=Mt(function(){var Yt={capture:!0,passive:!1},Vn={cancel:Et,completed:Te,getPhase:ge},fr=mr(window,hu(Vn),Yt),Pr=mr(window,$u(Vn),Yt);oe.current=function(){fr(),Pr()}},[Et,ge,Te]),Tt=Mt(function(){var Yt=ge();Yt.type!=="PENDING"&&$e(!1);var Vn=Yt.actions.fluidLift(Yt.point);xe({type:"DRAGGING",actions:Vn,hasMoved:!1})},[ge,xe]),wt=Mt(function(Yt,Vn){ge().type!=="IDLE"&&$e(!1);var fr=setTimeout(Tt,Ku);xe({type:"PENDING",point:Vn,actions:Yt,longPressTimerId:fr}),_t()},[_t,ge,xe,Tt]);Sr(function(){return Re(),function(){oe.current();var Vn=ge();Vn.type==="PENDING"&&(clearTimeout(Vn.longPressTimerId),xe(kl))}},[ge,Re,xe]),Sr(function(){var Yt=mr(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Yt},[])}function vs(ne){}var ds={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Xa(ne,ae){if(ae==null)return!1;var oe=!!ds[ae.tagName.toLowerCase()];if(oe)return!0;var ge=ae.getAttribute("contenteditable");return ge==="true"||ge===""?!0:ae===ne?!1:Xa(ne,ae.parentElement)}function io(ne,ae){var oe=ae.target;return ao(oe)?Xa(ne,oe):!1}var Qo=function(ne){return Jn(ne.getBoundingClientRect()).center};function ci(ne){return ne instanceof Dr(ne).Element}var ni=function(){var ne="matches";if(typeof document=="undefined")return ne;var ae=[ne,"msMatchesSelector","webkitMatchesSelector"],oe=Er(ae,function(ge){return ge in Element.prototype});return oe||ne}();function Go(ne,ae){return ne==null?null:ne[ni](ae)?ne:Go(ne.parentElement,ae)}function Oi(ne,ae){return ne.closest?ne.closest(ae):Go(ne,ae)}function Gi(ne){return"["+Fa.contextId+'="'+ne+'"]'}function Cl(ne,ae){var oe=ae.target;if(!ci(oe))return null;var ge=Gi(ne),xe=Oi(oe,ge);return!xe||!ao(xe)?null:xe}function $l(ne,ae){var oe=Cl(ne,ae);return oe?oe.getAttribute(Fa.draggableId):null}function Su(ne,ae){var oe="["+aa.contextId+'="'+ne+'"]',ge=to(document.querySelectorAll(oe)),xe=Er(ge,function(Fe){return Fe.getAttribute(aa.id)===ae});return!xe||!ao(xe)?null:xe}function Ol(ne){ne.preventDefault()}function Ul(ne){var ae=ne.expected,oe=ne.phase,ge=ne.isLockActive,xe=ne.shouldWarn;return!(!ge()||ae!==oe)}function Eu(ne){var ae=ne.lockAPI,oe=ne.store,ge=ne.registry,xe=ne.draggableId;if(ae.isClaimed())return!1;var Fe=ge.draggable.findById(xe);return!(!Fe||!Fe.options.isEnabled||!vo(oe.getState(),xe))}function Du(ne){var ae=ne.lockAPI,oe=ne.contextId,ge=ne.store,xe=ne.registry,Fe=ne.draggableId,Re=ne.forceSensorStop,Te=ne.sourceEvent,Et=Eu({lockAPI:ae,store:ge,registry:xe,draggableId:Fe});if(!Et)return null;var _t=xe.draggable.getById(Fe),Tt=Su(oe,_t.descriptor.id);if(!Tt||Te&&!_t.options.canDragInteractiveElements&&io(Tt,Te))return null;var wt=ae.claim(Re||wa),At="PRE_DRAG";function Yt(){return _t.options.shouldRespectForcePress}function Vn(){return ae.isActive(wt)}function fr(ai,Ai){Ul({expected:ai,phase:At,isLockActive:Vn,shouldWarn:!0})&&ge.dispatch(Ai())}var Pr=fr.bind(null,"DRAGGING");function Fr(ai){function Ai(){ae.release(),At="COMPLETED"}At!=="PRE_DRAG"&&(Ai(),At!=="PRE_DRAG"&&$e(!1)),ge.dispatch(Se(ai.liftActionArgs)),At="DRAGGING";function vl(ki,pl){if(pl===void 0&&(pl={shouldBlockNextClick:!1}),ai.cleanup(),pl.shouldBlockNextClick){var Ll=mr(window,[{eventName:"click",fn:Ol,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(Ll)}Ai(),ge.dispatch(Ar({reason:ki}))}return(0,Ne.Z)({isActive:function(){return Ul({expected:"DRAGGING",phase:At,isLockActive:Vn,shouldWarn:!1})},shouldRespectForcePress:Yt,drop:function(pl){return vl("DROP",pl)},cancel:function(pl){return vl("CANCEL",pl)}},ai.actions)}function Ur(ai){var Ai=Sa(function(ki){Pr(function(){return kn({client:ki})})}),vl=Fr({liftActionArgs:{id:Fe,clientSelection:ai,movementMode:"FLUID"},cleanup:function(){return Ai.cancel()},actions:{move:Ai}});return(0,Ne.Z)({},vl,{move:Ai})}function ro(){var ai={moveUp:function(){return Pr(fa)},moveRight:function(){return Pr(Ia)},moveDown:function(){return Pr(vn)},moveLeft:function(){return Pr(Ma)}};return Fr({liftActionArgs:{id:Fe,clientSelection:Qo(Tt),movementMode:"SNAP"},cleanup:wa,actions:ai})}function co(){var ai=Ul({expected:"PRE_DRAG",phase:At,isLockActive:Vn,shouldWarn:!0});ai&&ae.release()}var si={isActive:function(){return Ul({expected:"PRE_DRAG",phase:At,isLockActive:Vn,shouldWarn:!1})},shouldRespectForcePress:Yt,fluidLift:Ur,snapLift:ro,abort:co};return si}var ps=[ou,Vl,Es];function hs(ne){var ae=ne.contextId,oe=ne.store,ge=ne.registry,xe=ne.customSensors,Fe=ne.enableDefaultSensors,Re=[].concat(Fe?ps:[],xe||[]),Te=(0,b.useState)(function(){return sl()})[0],Et=Mt(function(Ur,ro){Ur.isDragging&&!ro.isDragging&&Te.tryAbandon()},[Te]);Sr(function(){var Ur=oe.getState(),ro=oe.subscribe(function(){var co=oe.getState();Et(Ur,co),Ur=co});return ro},[Te,oe,Et]),Sr(function(){return Te.tryAbandon},[Te.tryAbandon]);var _t=Mt(function(Fr){return Eu({lockAPI:Te,registry:ge,store:oe,draggableId:Fr})},[Te,ge,oe]),Tt=Mt(function(Fr,Ur,ro){return Du({lockAPI:Te,registry:ge,contextId:ae,store:oe,draggableId:Fr,forceSensorStop:Ur,sourceEvent:ro&&ro.sourceEvent?ro.sourceEvent:null})},[ae,Te,ge,oe]),wt=Mt(function(Fr){return $l(ae,Fr)},[ae]),At=Mt(function(Fr){var Ur=ge.draggable.findById(Fr);return Ur?Ur.options:null},[ge.draggable]),Yt=Mt(function(){Te.isClaimed()&&(Te.tryAbandon(),oe.getState().phase!=="IDLE"&&oe.dispatch(Mn()))},[Te,oe]),Vn=Mt(Te.isClaimed,[Te]),fr=Bt(function(){return{canGetLock:_t,tryGetLock:Tt,findClosestDraggableId:wt,findOptionsForDraggable:At,tryReleaseLock:Yt,isLockClaimed:Vn}},[_t,Tt,wt,At,Yt,Vn]);vs(Re);for(var Pr=0;Pr<Re.length;Pr++)Re[Pr](fr)}var Ei=function(ae){return{onBeforeCapture:ae.onBeforeCapture,onBeforeDragStart:ae.onBeforeDragStart,onDragStart:ae.onDragStart,onDragEnd:ae.onDragEnd,onDragUpdate:ae.onDragUpdate}};function Xr(ne){return ne.current||$e(!1),ne.current}function Oo(ne){var ae=ne.contextId,oe=ne.setCallbacks,ge=ne.sensors,xe=ne.nonce,Fe=ne.dragHandleUsageInstructions,Re=(0,b.useRef)(null);hl();var Te=ul(ne),Et=Mt(function(){return Ei(Te.current)},[Te]),_t=Fo(ae),Tt=il({contextId:ae,text:Fe}),wt=xo(ae,xe),At=Mt(function(ki){Xr(Re).dispatch(ki)},[]),Yt=Bt(function(){return(0,_e.DE)({publishWhileDragging:tt,updateDroppableScroll:Xt,updateDroppableIsEnabled:Wt,updateDroppableIsCombineEnabled:Tn,collectionStarting:lt},At)},[At]),Vn=Cr(),fr=Bt(function(){return kr(Vn,Yt)},[Vn,Yt]),Pr=Bt(function(){return sa((0,Ne.Z)({scrollWindow:wo,scrollDroppable:fr.scrollDroppable},(0,_e.DE)({move:kn},At)))},[fr.scrollDroppable,At]),Fr=hi(ae),Ur=Bt(function(){return jr({announce:_t,autoScroller:Pr,dimensionMarshal:fr,focusMarshal:Fr,getResponders:Et,styleMarshal:wt})},[_t,Pr,fr,Fr,Et,wt]);Re.current=Ur;var ro=Mt(function(){var ki=Xr(Re),pl=ki.getState();pl.phase!=="IDLE"&&ki.dispatch(Mn())},[]),co=Mt(function(){var ki=Xr(Re).getState();return ki.isDragging||ki.phase==="DROP_ANIMATING"},[]),si=Bt(function(){return{isDragging:co,tryAbort:ro}},[co,ro]);oe(si);var ai=Mt(function(ki){return vo(Xr(Re).getState(),ki)},[]),Ai=Mt(function(){return au(Xr(Re).getState())},[]),vl=Bt(function(){return{marshal:fr,focus:Fr,contextId:ae,canLift:ai,isMovementAllowed:Ai,dragHandleUsageInstructionsId:Tt,registry:Vn}},[ae,fr,Tt,Fr,ai,Ai,Vn]);return hs({contextId:ae,store:Ur,registry:Vn,customSensors:ge,enableDefaultSensors:ne.enableDefaultSensors!==!1}),(0,b.useEffect)(function(){return ro},[ro]),b.createElement(ll.Provider,{value:vl},b.createElement(x,{context:po,store:Ur},ne.children))}var Pi=0;function Yi(){Pi=0}function Pu(){return Bt(function(){return""+Pi++},[])}function Ql(){Yi(),Ci()}function iu(ne){var ae=Pu(),oe=ne.dragHandleUsageInstructions||Kt.dragHandleUsageInstructions;return b.createElement(Pn,null,function(ge){return b.createElement(Oo,{nonce:ne.nonce,contextId:ae,setCallbacks:ge,dragHandleUsageInstructions:oe,enableDefaultSensors:ne.enableDefaultSensors,sensors:ne.sensors,onBeforeCapture:ne.onBeforeCapture,onBeforeDragStart:ne.onBeforeDragStart,onDragStart:ne.onDragStart,onDragUpdate:ne.onDragUpdate,onDragEnd:ne.onDragEnd},ne.children)})}var ql=function(ae){return function(oe){return ae===oe}},cs=ql("scroll"),Uu=ql("auto"),lu=ql("visible"),Hs=function(ae,oe){return oe(ae.overflowX)||oe(ae.overflowY)},ad=function(ae,oe){return oe(ae.overflowX)&&oe(ae.overflowY)},js=function(ae){var oe=window.getComputedStyle(ae),ge={overflowX:oe.overflowX,overflowY:oe.overflowY};return Hs(ge,cs)||Hs(ge,Uu)},rd=function(){return!1;var ae,oe,ge,xe},Gs=function ne(ae){return ae==null?null:ae===document.body?rd()?ae:null:ae===document.documentElement?null:js(ae)?ae:ne(ae.parentElement)},Jd=function(ne){if(ne)var ae=Gs(ne.parentElement)},Is=function(ne){return{x:ne.scrollLeft,y:ne.scrollTop}},od=function ne(ae){if(!ae)return!1;var oe=window.getComputedStyle(ae);return oe.position==="fixed"?!0:ne(ae.parentElement)},id=function(ne){var ae=Gs(ne),oe=od(ne);return{closestScrollable:ae,isFixedOnPage:oe}},ld=function(ne){var ae=ne.descriptor,oe=ne.isEnabled,ge=ne.isCombineEnabled,xe=ne.isFixedOnPage,Fe=ne.direction,Re=ne.client,Te=ne.page,Et=ne.closest,_t=function(){if(!Et)return null;var Yt=Et.scrollSize,Vn=Et.client,fr=yr({scrollHeight:Yt.scrollHeight,scrollWidth:Yt.scrollWidth,height:Vn.paddingBox.height,width:Vn.paddingBox.width});return{pageMarginBox:Et.page.marginBox,frameClient:Vn,scrollSize:Yt,shouldClipSubject:Et.shouldClipSubject,scroll:{initial:Et.scroll,current:Et.scroll,max:fr,diff:{value:xa,displacement:xa}}}}(),Tt=Fe==="vertical"?dl:gl,wt=ho({page:Te,withPlaceholder:null,axis:Tt,frame:_t}),At={descriptor:ae,isCombineEnabled:ge,isFixedOnPage:xe,axis:Tt,isEnabled:oe,client:Re,page:Te,frame:_t,subject:wt};return At},ud=function(ae,oe){var ge=Da(ae);if(!oe||ae!==oe)return ge;var xe=ge.paddingBox.top-oe.scrollTop,Fe=ge.paddingBox.left-oe.scrollLeft,Re=xe+oe.scrollHeight,Te=Fe+oe.scrollWidth,Et={top:xe,right:Te,bottom:Re,left:Fe},_t=ha(Et,ge.border),Tt=ar({borderBox:_t,margin:ge.margin,border:ge.border,padding:ge.padding});return Tt},sd=function(ne){var ae=ne.ref,oe=ne.descriptor,ge=ne.env,xe=ne.windowScroll,Fe=ne.direction,Re=ne.isDropDisabled,Te=ne.isCombineEnabled,Et=ne.shouldClipSubject,_t=ge.closestScrollable,Tt=ud(ae,_t),wt=An(Tt,xe),At=function(){if(!_t)return null;var Vn=Da(_t),fr={scrollHeight:_t.scrollHeight,scrollWidth:_t.scrollWidth};return{client:Vn,page:An(Vn,xe),scroll:Is(_t),scrollSize:fr,shouldClipSubject:Et}}(),Yt=ld({descriptor:oe,isEnabled:!Re,isCombineEnabled:Te,isFixedOnPage:ge.isFixedOnPage,direction:Fe,client:Tt,page:wt,closest:At});return Yt},dd={passive:!1},cd={passive:!0},Ws=function(ne){return ne.shouldPublishImmediately?dd:cd};function Cs(ne){var ae=(0,b.useContext)(ne);return ae||$e(!1),ae}var xs=function(ae){return ae&&ae.env.closestScrollable||null};function gd(ne){var ae=(0,b.useRef)(null),oe=Cs(ll),ge=Mi("droppable"),xe=oe.registry,Fe=oe.marshal,Re=ul(ne),Te=Bt(function(){return{id:ne.droppableId,type:ne.type,mode:ne.mode}},[ne.droppableId,ne.mode,ne.type]),Et=(0,b.useRef)(Te),_t=Bt(function(){return pn(function(co,si){ae.current||$e(!1);var ai={x:co,y:si};Fe.updateDroppableScroll(Te.id,ai)})},[Te.id,Fe]),Tt=Mt(function(){var co=ae.current;return!co||!co.env.closestScrollable?xa:Is(co.env.closestScrollable)},[]),wt=Mt(function(){var co=Tt();_t(co.x,co.y)},[Tt,_t]),At=Bt(function(){return Sa(wt)},[wt]),Yt=Mt(function(){var co=ae.current,si=xs(co);co&&si||$e(!1);var ai=co.scrollOptions;if(ai.shouldPublishImmediately){wt();return}At()},[At,wt]),Vn=Mt(function(co,si){ae.current&&$e(!1);var ai=Re.current,Ai=ai.getDroppableRef();Ai||$e(!1);var vl=id(Ai),ki={ref:Ai,descriptor:Te,env:vl,scrollOptions:si};ae.current=ki;var pl=sd({ref:Ai,descriptor:Te,env:vl,windowScroll:co,direction:ai.direction,isDropDisabled:ai.isDropDisabled,isCombineEnabled:ai.isCombineEnabled,shouldClipSubject:!ai.ignoreContainerClipping}),Ll=vl.closestScrollable;return Ll&&(Ll.setAttribute(Ja.contextId,oe.contextId),Ll.addEventListener("scroll",Yt,Ws(ki.scrollOptions))),pl},[oe.contextId,Te,Yt,Re]),fr=Mt(function(){var co=ae.current,si=xs(co);return co&&si||$e(!1),Is(si)},[]),Pr=Mt(function(){var co=ae.current;co||$e(!1);var si=xs(co);ae.current=null,si&&(At.cancel(),si.removeAttribute(Ja.contextId),si.removeEventListener("scroll",Yt,Ws(co.scrollOptions)))},[Yt,At]),Fr=Mt(function(co){var si=ae.current;si||$e(!1);var ai=xs(si);ai||$e(!1),ai.scrollTop+=co.y,ai.scrollLeft+=co.x},[]),Ur=Bt(function(){return{getDimensionAndWatchScroll:Vn,getScrollWhileDragging:fr,dragStopped:Pr,scroll:Fr}},[Pr,Vn,fr,Fr]),ro=Bt(function(){return{uniqueId:ge,descriptor:Te,callbacks:Ur}},[Ur,Te,ge]);Sr(function(){return Et.current=ro.descriptor,xe.droppable.register(ro),function(){ae.current&&Pr(),xe.droppable.unregister(ro)}},[Ur,Te,Pr,ro,Fe,xe.droppable]),Sr(function(){ae.current&&Fe.updateDroppableIsEnabled(Et.current.id,!ne.isDropDisabled)},[ne.isDropDisabled,Fe]),Sr(function(){ae.current&&Fe.updateDroppableIsCombineEnabled(Et.current.id,ne.isCombineEnabled)},[ne.isCombineEnabled,Fe])}function Os(){}var Ks={width:0,height:0,margin:hr},md=function(ae){var oe=ae.isAnimatingOpenOnMount,ge=ae.placeholder,xe=ae.animate;return oe||xe==="close"?Ks:{height:ge.client.borderBox.height,width:ge.client.borderBox.width,margin:ge.client.margin}},fd=function(ae){var oe=ae.isAnimatingOpenOnMount,ge=ae.placeholder,xe=ae.animate,Fe=md({isAnimatingOpenOnMount:oe,placeholder:ge,animate:xe});return{display:ge.display,boxSizing:"border-box",width:Fe.width,height:Fe.height,marginTop:Fe.margin.top,marginRight:Fe.margin.right,marginBottom:Fe.margin.bottom,marginLeft:Fe.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:xe!=="none"?pi.placeholder:null}};function vd(ne){var ae=(0,b.useRef)(null),oe=Mt(function(){ae.current&&(clearTimeout(ae.current),ae.current=null)},[]),ge=ne.animate,xe=ne.onTransitionEnd,Fe=ne.onClose,Re=ne.contextId,Te=(0,b.useState)(ne.animate==="open"),Et=Te[0],_t=Te[1];(0,b.useEffect)(function(){return Et?ge!=="open"?(oe(),_t(!1),Os):ae.current?Os:(ae.current=setTimeout(function(){ae.current=null,_t(!1)}),oe):Os},[ge,Et,oe]);var Tt=Mt(function(At){At.propertyName==="height"&&(xe(),ge==="close"&&Fe())},[ge,Fe,xe]),wt=fd({isAnimatingOpenOnMount:Et,animate:ne.animate,placeholder:ne.placeholder});return b.createElement(ne.placeholder.tagName,{style:wt,"data-rbd-placeholder-context-id":Re,onTransitionEnd:Tt,ref:ne.innerRef})}var pd=b.memo(vd),Ls=b.createContext(null);function Vs(ne){ne&&ao(ne)||$e(!1)}function Rs(ne){return typeof ne=="boolean"}function Ms(ne,ae){ae.forEach(function(oe){return oe(ne)})}var hd=[function(ae){var oe=ae.props;oe.droppableId||$e(!1),typeof oe.droppableId!="string"&&$e(!1)},function(ae){var oe=ae.props;Rs(oe.isDropDisabled)||$e(!1),Rs(oe.isCombineEnabled)||$e(!1),Rs(oe.ignoreContainerClipping)||$e(!1)},function(ae){var oe=ae.getDroppableRef;Vs(oe())}],Sd=[function(ae){var oe=ae.props,ge=ae.getPlaceholderRef;if(oe.placeholder)var xe=ge()}],Ed=[function(ae){var oe=ae.props;oe.renderClone||$e(!1)},function(ae){var oe=ae.getPlaceholderRef;oe()&&$e(!1)}];function Pd(ne){Zi(function(){Ms(ne,hd),ne.props.mode==="standard"&&Ms(ne,Sd),ne.props.mode==="virtual"&&Ms(ne,Ed)})}var yd=function(ne){Be(ae,ne);function ae(){for(var ge,xe=arguments.length,Fe=new Array(xe),Re=0;Re<xe;Re++)Fe[Re]=arguments[Re];return ge=ne.call.apply(ne,[this].concat(Fe))||this,ge.state={isVisible:!!ge.props.on,data:ge.props.on,animate:ge.props.shouldAnimate&&ge.props.on?"open":"none"},ge.onClose=function(){ge.state.animate==="close"&&ge.setState({isVisible:!1})},ge}ae.getDerivedStateFromProps=function(xe,Fe){return xe.shouldAnimate?xe.on?{isVisible:!0,data:xe.on,animate:"open"}:Fe.isVisible?{isVisible:!0,data:Fe.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!xe.on,data:xe.on,animate:"none"}};var oe=ae.prototype;return oe.render=function(){if(!this.state.isVisible)return null;var xe={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(xe)},ae}(b.PureComponent),$s={dragging:5e3,dropAnimating:4500},bd=function(ae,oe){return oe?pi.drop(oe.duration):ae?pi.snap:pi.fluid},Cd=function(ae,oe){return ae?oe?Ho.opacity.drop:Ho.opacity.combining:null},xd=function(ae){return ae.forceShouldAnimate!=null?ae.forceShouldAnimate:ae.mode==="SNAP"};function Fd(ne){var ae=ne.dimension,oe=ae.client,ge=ne.offset,xe=ne.combineWith,Fe=ne.dropping,Re=!!xe,Te=xd(ne),Et=!!Fe,_t=Et?oo.drop(ge,Re):oo.moveTo(ge),Tt={position:"fixed",top:oe.marginBox.top,left:oe.marginBox.left,boxSizing:"border-box",width:oe.borderBox.width,height:oe.borderBox.height,transition:bd(Te,Fe),transform:_t,opacity:Cd(Re,Et),zIndex:Et?$s.dropAnimating:$s.dragging,pointerEvents:"none"};return Tt}function Bd(ne){return{transform:oo.moveTo(ne.offset),transition:ne.shouldAnimateDisplacement?null:"none"}}function wd(ne){return ne.type==="DRAGGING"?Fd(ne):Bd(ne)}function Dd(ne,ae,oe){oe===void 0&&(oe=xa);var ge=window.getComputedStyle(ae),xe=ae.getBoundingClientRect(),Fe=oa(xe,ge),Re=An(Fe,oe),Te={client:Fe,tagName:ae.tagName.toLowerCase(),display:ge.display},Et={x:Fe.marginBox.width,y:Fe.marginBox.height},_t={descriptor:ne,placeholder:Te,displaceBy:Et,client:Fe,page:Re};return _t}function Ad(ne){var ae=Mi("draggable"),oe=ne.descriptor,ge=ne.registry,xe=ne.getDraggableRef,Fe=ne.canDragInteractiveElements,Re=ne.shouldRespectForcePress,Te=ne.isEnabled,Et=Bt(function(){return{canDragInteractiveElements:Fe,shouldRespectForcePress:Re,isEnabled:Te}},[Fe,Te,Re]),_t=Mt(function(Yt){var Vn=xe();return Vn||$e(!1),Dd(oe,Vn,Yt)},[oe,xe]),Tt=Bt(function(){return{uniqueId:ae,descriptor:oe,options:Et,getDimension:_t}},[oe,_t,Et,ae]),wt=(0,b.useRef)(Tt),At=(0,b.useRef)(!0);Sr(function(){return ge.draggable.register(wt.current),function(){return ge.draggable.unregister(wt.current)}},[ge.draggable]),Sr(function(){if(At.current){At.current=!1;return}var Yt=wt.current;wt.current=Tt,ge.draggable.update(Tt,Yt)},[Tt,ge.draggable])}function Nd(ne,ae,oe){Zi(function(){function ge(Fe){return"Draggable[id: "+Fe+"]: "}var xe=ne.draggableId;xe||$e(!1),typeof xe!="string"&&$e(!1),Wo(ne.index)||$e(!1),ne.mapped.type!=="DRAGGING"&&(Vs(oe()),ne.isEnabled&&(Eo(ae,xe)||$e(!1)))})}function Id(ne){}function Od(ne){ne.preventDefault()}function Ld(ne){var ae=(0,b.useRef)(null),oe=Mt(function(ki){ae.current=ki},[]),ge=Mt(function(){return ae.current},[]),xe=Cs(ll),Fe=xe.contextId,Re=xe.dragHandleUsageInstructionsId,Te=xe.registry,Et=Cs(Ls),_t=Et.type,Tt=Et.droppableId,wt=Bt(function(){return{id:ne.draggableId,index:ne.index,type:_t,droppableId:Tt}},[ne.draggableId,ne.index,_t,Tt]),At=ne.children,Yt=ne.draggableId,Vn=ne.isEnabled,fr=ne.shouldRespectForcePress,Pr=ne.canDragInteractiveElements,Fr=ne.isClone,Ur=ne.mapped,ro=ne.dropAnimationFinished;if(Nd(ne,Fe,ge),Id(Fr),!Fr){var co=Bt(function(){return{descriptor:wt,registry:Te,getDraggableRef:ge,canDragInteractiveElements:Pr,shouldRespectForcePress:fr,isEnabled:Vn}},[wt,Te,ge,Pr,fr,Vn]);Ad(co)}var si=Bt(function(){return Vn?{tabIndex:0,role:"button","aria-describedby":Re,"data-rbd-drag-handle-draggable-id":Yt,"data-rbd-drag-handle-context-id":Fe,draggable:!1,onDragStart:Od}:null},[Fe,Re,Yt,Vn]),ai=Mt(function(ki){Ur.type==="DRAGGING"&&Ur.dropping&&ki.propertyName==="transform"&&ro()},[ro,Ur]),Ai=Bt(function(){var ki=wd(Ur),pl=Ur.type==="DRAGGING"&&Ur.dropping?ai:null,Ll={innerRef:oe,draggableProps:{"data-rbd-draggable-context-id":Fe,"data-rbd-draggable-id":Yt,style:ki,onTransitionEnd:pl},dragHandleProps:si};return Ll},[Fe,si,Yt,Ur,ai,oe]),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 At(Ai,Ur.snapshot,vl)}var Us=function(ne,ae){return ne===ae},Qs=function(ne){var ae=ne.combine,oe=ne.destination;return oe?oe.droppableId:ae?ae.droppableId:null},Rd=function(ae){return ae.combine?ae.combine.draggableId:null},Md=function(ae){return ae.at&&ae.at.type==="COMBINE"?ae.at.combine.draggableId:null};function kd(){var ne=pn(function(xe,Fe){return{x:xe,y:Fe}}),ae=pn(function(xe,Fe,Re,Te,Et){return{isDragging:!0,isClone:Fe,isDropAnimating:!!Et,dropAnimation:Et,mode:xe,draggingOver:Re,combineWith:Te,combineTargetFor:null}}),oe=pn(function(xe,Fe,Re,Te,Et,_t,Tt){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:Et,combineWith:_t,mode:Fe,offset:xe,dimension:Re,forceShouldAnimate:Tt,snapshot:ae(Fe,Te,Et,_t,null)}}}),ge=function(Fe,Re){if(Fe.isDragging){if(Fe.critical.draggable.id!==Re.draggableId)return null;var Te=Fe.current.client.offset,Et=Fe.dimensions.draggables[Re.draggableId],_t=ji(Fe.impact),Tt=Md(Fe.impact),wt=Fe.forceShouldAnimate;return oe(ne(Te.x,Te.y),Fe.movementMode,Et,Re.isClone,_t,Tt,wt)}if(Fe.phase==="DROP_ANIMATING"){var At=Fe.completed;if(At.result.draggableId!==Re.draggableId)return null;var Yt=Re.isClone,Vn=Fe.dimensions.draggables[Re.draggableId],fr=At.result,Pr=fr.mode,Fr=Qs(fr),Ur=Rd(fr),ro=Fe.dropDuration,co={duration:ro,curve:fo.drop,moveTo:Fe.newHomeClientOffset,opacity:Ur?Ho.opacity.drop:null,scale:Ur?Ho.scale.drop:null};return{mapped:{type:"DRAGGING",offset:Fe.newHomeClientOffset,dimension:Vn,dropping:co,draggingOver:Fr,combineWith:Ur,mode:Pr,forceShouldAnimate:null,snapshot:ae(Pr,Yt,Fr,Ur,co)}}}return null};return ge}function Ys(ne){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:ne,combineWith:null}}var Td={mapped:{type:"SECONDARY",offset:xa,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Ys(null)}};function _d(){var ne=pn(function(Re,Te){return{x:Re,y:Te}}),ae=pn(Ys),oe=pn(function(Re,Te,Et){return Te===void 0&&(Te=null),{mapped:{type:"SECONDARY",offset:Re,combineTargetFor:Te,shouldAnimateDisplacement:Et,snapshot:ae(Te)}}}),ge=function(Te){return Te?oe(xa,Te,!0):null},xe=function(Te,Et,_t,Tt){var wt=_t.displaced.visible[Te],At=!!(Tt.inVirtualList&&Tt.effected[Te]),Yt=To(_t),Vn=Yt&&Yt.draggableId===Te?Et:null;if(!wt){if(!At)return ge(Vn);if(_t.displaced.invisible[Te])return null;var fr=$n(Tt.displacedBy.point),Pr=ne(fr.x,fr.y);return oe(Pr,Vn,!0)}if(At)return ge(Vn);var Fr=_t.displacedBy.point,Ur=ne(Fr.x,Fr.y);return oe(Ur,Vn,wt.shouldAnimate)},Fe=function(Te,Et){if(Te.isDragging)return Te.critical.draggable.id===Et.draggableId?null:xe(Et.draggableId,Te.critical.draggable.id,Te.impact,Te.afterCritical);if(Te.phase==="DROP_ANIMATING"){var _t=Te.completed;return _t.result.draggableId===Et.draggableId?null:xe(Et.draggableId,_t.result.draggableId,_t.impact,_t.afterCritical)}return null};return Fe}var Zd=function(){var ae=kd(),oe=_d(),ge=function(Fe,Re){return ae(Fe,Re)||oe(Fe,Re)||Td};return ge},zd={dropAnimationFinished:Ir},Hd=Oe(Zd,zd,null,{context:po,pure:!0,areStatePropsEqual:Us})(Ld);function Js(ne){var ae=Cs(Ls),oe=ae.isUsingCloneFor;return oe===ne.draggableId&&!ne.isClone?null:b.createElement(Hd,ne)}function jd(ne){var ae=typeof ne.isDragDisabled=="boolean"?!ne.isDragDisabled:!0,oe=!!ne.disableInteractiveElementBlocking,ge=!!ne.shouldRespectForcePress;return b.createElement(Js,(0,Ne.Z)({},ne,{isClone:!1,isEnabled:ae,canDragInteractiveElements:oe,shouldRespectForcePress:ge}))}function Gd(ne){var ae=(0,b.useContext)(ll);ae||$e(!1);var oe=ae.contextId,ge=ae.isMovementAllowed,xe=(0,b.useRef)(null),Fe=(0,b.useRef)(null),Re=ne.children,Te=ne.droppableId,Et=ne.type,_t=ne.mode,Tt=ne.direction,wt=ne.ignoreContainerClipping,At=ne.isDropDisabled,Yt=ne.isCombineEnabled,Vn=ne.snapshot,fr=ne.useClone,Pr=ne.updateViewportMaxScroll,Fr=ne.getContainerForClone,Ur=Mt(function(){return xe.current},[]),ro=Mt(function(Tl){xe.current=Tl},[]),co=Mt(function(){return Fe.current},[]),si=Mt(function(Tl){Fe.current=Tl},[]);Pd({props:ne,getDroppableRef:Ur,getPlaceholderRef:co});var ai=Mt(function(){ge()&&Pr({maxScroll:cr()})},[ge,Pr]);gd({droppableId:Te,type:Et,mode:_t,direction:Tt,isDropDisabled:At,isCombineEnabled:Yt,ignoreContainerClipping:wt,getDroppableRef:Ur});var Ai=b.createElement(yd,{on:ne.placeholder,shouldAnimate:ne.shouldAnimatePlaceholder},function(Tl){var Au=Tl.onClose,yu=Tl.data,uu=Tl.animate;return b.createElement(pd,{placeholder:yu,onClose:Au,innerRef:si,animate:uu,contextId:oe,onTransitionEnd:ai})}),vl=Bt(function(){return{innerRef:ro,placeholder:Ai,droppableProps:{"data-rbd-droppable-id":Te,"data-rbd-droppable-context-id":oe}}},[oe,Te,Ai,ro]),ki=fr?fr.dragging.draggableId:null,pl=Bt(function(){return{droppableId:Te,type:Et,isUsingCloneFor:ki}},[Te,ki,Et]);function Ll(){if(!fr)return null;var Tl=fr.dragging,Au=fr.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 Cn.createPortal(yu,Fr())}return b.createElement(Ls.Provider,{value:pl},Re(vl,Vn),Ll())}var ks=function(ae,oe){return ae===oe.droppable.type},Xs=function(ae,oe){return oe.draggables[ae.draggable.id]},Wd=function(){var ae={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},oe=(0,Ne.Z)({},ae,{shouldAnimatePlaceholder:!1}),ge=pn(function(Re){return{draggableId:Re.id,type:Re.type,source:{index:Re.index,droppableId:Re.droppableId}}}),xe=pn(function(Re,Te,Et,_t,Tt,wt){var At=Tt.descriptor.id,Yt=Tt.descriptor.droppableId===Re;if(Yt){var Vn=wt?{render:wt,dragging:ge(Tt.descriptor)}:null,fr={isDraggingOver:Et,draggingOverWith:Et?At:null,draggingFromThisWith:At,isUsingPlaceholder:!0};return{placeholder:Tt.placeholder,shouldAnimatePlaceholder:!1,snapshot:fr,useClone:Vn}}if(!Te)return oe;if(!_t)return ae;var Pr={isDraggingOver:Et,draggingOverWith:At,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Tt.placeholder,shouldAnimatePlaceholder:!0,snapshot:Pr,useClone:null}}),Fe=function(Te,Et){var _t=Et.droppableId,Tt=Et.type,wt=!Et.isDropDisabled,At=Et.renderClone;if(Te.isDragging){var Yt=Te.critical;if(!ks(Tt,Yt))return oe;var Vn=Xs(Yt,Te.dimensions),fr=ji(Te.impact)===_t;return xe(_t,wt,fr,fr,Vn,At)}if(Te.phase==="DROP_ANIMATING"){var Pr=Te.completed;if(!ks(Tt,Pr.critical))return oe;var Fr=Xs(Pr.critical,Te.dimensions);return xe(_t,wt,Qs(Pr.result)===_t,ji(Pr.impact)===_t,Fr,At)}if(Te.phase==="IDLE"&&Te.completed&&!Te.shouldFlush){var Ur=Te.completed;if(!ks(Tt,Ur.critical))return oe;var ro=ji(Ur.impact)===_t,co=!!(Ur.impact.at&&Ur.impact.at.type==="COMBINE"),si=Ur.critical.droppable.id===_t;return ro?co?ae:oe:si?ae:oe}return oe};return Fe},Kd={updateViewportMaxScroll:Aa};function Vd(){return document.body||$e(!1),document.body}var $d={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Vd},qs=Oe(Wd,Kd,null,{context:po,pure:!0,areStatePropsEqual:Us})(Gd);qs.defaultProps=$d},38486:function(Vt,jt){"use strict";var ee;var b=60103,de=60106,Be=60107,Ne=60108,_e=60114,ke=60109,le=60110,it=60112,qe=60113,Ke=60120,je=60115,Je=60116,Ye=60121,ue=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"),_e=y("react.profiler"),ke=y("react.provider"),le=y("react.context"),it=y("react.forward_ref"),qe=y("react.suspense"),Ke=y("react.suspense_list"),je=y("react.memo"),Je=y("react.lazy"),Ye=y("react.block"),ue=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 We=Qe.$$typeof;switch(We){case b:switch(Qe=Qe.type,Qe){case Be:case _e:case Ne:case qe:case Ke:return Qe;default:switch(Qe=Qe&&Qe.$$typeof,Qe){case le:case it:case Je:case je:case ke:return Qe;default:return We}}case de:return We}}}var te=ke,re=b,se=it,ie=Be,ve=Je,ye=je,Ge=de,Ae=_e,ze=Ne,he=qe;ee=le,ee=te,ee=re,ee=se,ee=ie,ee=ve,ee=ye,ee=Ge,ee=Ae,ee=ze,ee=he,ee=function(){return!1},ee=function(){return!1},jt.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)===it},ee=function(Qe){return z(Qe)===Be},ee=function(Qe){return z(Qe)===Je},ee=function(Qe){return z(Qe)===je},ee=function(Qe){return z(Qe)===de},ee=function(Qe){return z(Qe)===_e},ee=function(Qe){return z(Qe)===Ne},ee=function(Qe){return z(Qe)===qe},ee=function(Qe){return typeof Qe=="string"||typeof Qe=="function"||Qe===Be||Qe===_e||Qe===a||Qe===Ne||Qe===qe||Qe===Ke||Qe===x||typeof Qe=="object"&&Qe!==null&&(Qe.$$typeof===Je||Qe.$$typeof===je||Qe.$$typeof===ke||Qe.$$typeof===le||Qe.$$typeof===it||Qe.$$typeof===E||Qe.$$typeof===Ye||Qe[0]===ue)},ee=z},53410:function(Vt,jt,ee){"use strict";Vt.exports=ee(38486)},32637:function(Vt,jt,ee){"use strict";Vt.exports=ee.p+"static/AssistantCode3.a8740efb.jpeg"},73631:function(Vt){"use strict";Vt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOL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