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.4 MiB

(self.webpackChunk=self.webpackChunk||[]).push([[292],{89489:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Ne=Be,_e=ee(7657),Te=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(Te),it=le},59477:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Ne=Be,_e=ee(7657),Te=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(Te),it=le},26227:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"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),Te=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(Te),it=le},49198:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"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),Te=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(Te),it=le},41464:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"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),Te=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(Te),it=le},87169:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"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),Te=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(Te),it=le},52671:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"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),Te=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(Te),it=le},8657:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"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),Te=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(Te),it=le},56082:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"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),Te=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(Te),it=le},33853:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"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),Te=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(Te),it=le},12893:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"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),Te=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(Te),it=le},15075:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"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),Te=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(Te),it=le},32134:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"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),Te=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(Te),it=le},43531:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"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),Te=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(Te),it=le},38819:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return it}});var b=ee(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"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),Te=function(Ke,je){return de.createElement(_e.Z,(0,b.Z)({},Ke,{ref:je,icon:Ne}))},le=de.forwardRef(Te),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,Te=(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)&&Te(qe,je,Ke[je]);if(Be)for(var je of Be(Ke))_e.call(Ke,je)&&Te(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,Te=(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)&&Te(qe,je,Ke[je]);if(Be)for(var je of Be(Ke))_e.call(Ke,je)&&Te(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 De=(z-re)/ve,He=z-De*y;ye=ue,Ge=De*ye+He}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,De=(z-re)/ve,Qe=E-he*ue,He=z-De*y;ye=(He-Qe)/(he-De),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,De){var He=1-se,he=se,Qe=ue*He+a*he,We=E*He+x*he,ft=a*He+y*he,Le=x*He+z*he,ot=y*He+te*he,dt=z*He+re*he,gt=Qe*He+ft*he,wt=We*He+Le*he,sn=ft*He+ot*he,Ft=Le*He+dt*he,on=gt*He+sn*he,cn=wt*He+Ft*he;ie.x=Qe,ie.y=We,ve.x=gt,ve.y=wt,ye.x=on,ye.y=cn,Ge.x=sn,Ge.y=Ft,De.x=ot,De.y=dt}var _e=new go.Spot(.156,.156),Te=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=Te,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=Te,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 De=b(),He=b(),he=b();Ne(te,re-z,te+y,re-z,te+z,re-y,te+z,re,.58,Ge,Ge,he,De,He);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,De.x*E,De.y*a,He.x*E,He.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(De),de(He),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 De=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 He=ee(ie.x,ie.y);Ge.add(new go.PathSegment(go.PathSegment.Line,(De.x*.1+.95*.9)*E,De.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*E,De.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,(He.x*.1+.9)*E,.15*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,(He.x*.1+.9)*E,(He.y*.1+.05*.9)*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,He.x*E,He.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(De),de(He),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(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 De=new go.PathFigure(.5*E,.2*a,!0);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),se=.95,ie=.25,De.add(new go.PathSegment(go.PathSegment.Bezier,(se+ye)*E,ie*a,(se+Ge)*E,(ie-ye)*a,(se+ye)*E,(ie-Ge)*a)),De.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),ye=.025,Ge=le*ye,se=.825,ie=.35,De.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-ye)*a,(se+ye)*E,(ie-Ge)*a,(se+Ge)*E,(ie-ye)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(se-ye)*E,ie*a,(se-Ge)*E,(ie-ye)*a,(se-ye)*E,(ie-Ge)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),ye=.05,Ge=le*ye,se=.5,ie=.7,De.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-ye)*a,(se+ye)*E,(ie-Ge)*a,(se+Ge)*E,(ie-ye)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(se-ye)*E,ie*a,(se-Ge)*E,(ie-ye)*a,(se-ye)*E,(ie-Ge)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),De.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),ye=.025,Ge=le*ye,se=.175,ie=.35,De.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-ye)*a,(se+ye)*E,(ie-Ge)*a,(se+Ge)*E,(ie-ye)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(se-ye)*E,ie*a,(se-Ge)*E,(ie-ye)*a,(se-ye)*E,(ie-Ge)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ye=.05,Ge=le*ye,se=.05,ie=.25,De.add(new go.PathSegment(go.PathSegment.Bezier,se*E,(ie-ye)*a,(se-ye)*E,(ie-Ge)*a,(se-Ge)*E,(ie-ye)*a)),De.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 De=new go.PathFigure(se*E+ve,(ie+re)*a+ye,!0);x.add(De),De.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)),De.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)),De.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)),De.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 He=new go.PathFigure((se-re)*E+ve,ie*a+ye,!0);x.add(He),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)*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)*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),De=new go.PathFigure(ie.x*E,ie.y*a,!0);x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,ve.x*E,ve.y*a,ye.x*E,ye.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+y)*a,(te+y)*E,(re+z)*a)),De.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),De.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),De.add(new go.PathSegment(go.PathSegment.Line,ie.x*E,ie.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,ye.x*E,ye.y*a,ve.x*E,ve.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te-z)*E,(re+y)*a,(te-y)*E,(re+z)*a)),De.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),De.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 De=new go.PathFigure(.45*E,0,!0);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),De.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,De=0,He=new go.PathFigure(se*E,(1-ie)*a,!1);return x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,ye*a,ve*E,.7*a,ve*E,ye*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+z)*E,(De+z)*a,(.5+y+z)*E,(.5-re+z)*a,(.5+re+z)*E,(.5-y+z)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+te)*a,(.5-re+z)*E,(.5-y+te)*a,(.5-y+z)*E,(.5-re+te)*a)),He.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)),He.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),He.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),He.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(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,De=te,He=ve*Ge,he=ve*De;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-Ge)*E,se*a,(re-(He+Ge)/2)*E,(se+(De+he)/2)*a,(re-Ge)*E,(se+he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(se-De)*a,(re-Ge)*E,(se-he)*a,(re-He)*E,(se-De)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+Ge)*E,se*a,(re+He)*E,(se-De)*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+(He+Ge)/2)*E,(se+(De+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 De=new go.PathFigure((ve-se)*E,ye*a,!0);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(ye-se)*a,(ve-se)*E,(ye-ie)*a,(ve-ie)*E,(ye-se)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ve+se)*E,ye*a,(ve+ie)*E,(ye-se)*a,(ve+se)*E,(ye-ie)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(ye+se)*a,(ve+se)*E,(ye+ie)*a,(ve+ie)*E,(ye+se)*a)),De.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,De=.95,re=new go.PathFigure((Ge-ve)*E,De*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(De-ve)*a,(Ge-ve)*E,(De-ye)*a,(Ge-ye)*E,(De-ve)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ve)*E,De*a,(Ge+ye)*E,(De-ve)*a,(Ge+ve)*E,(De-ye)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(De+ve)*a,(Ge+ve)*E,(De+ye)*a,(Ge+ye)*E,(De+ve)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ve)*E,De*a,(Ge-ye)*E,(De+ve)*a,(Ge-ve)*E,(De+ye)*a));var ve=.05,ye=le*.05,Ge=.375,De=.95,se=new go.PathFigure((Ge-ve)*E,De*a,!0);x.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(De-ve)*a,(Ge-ve)*E,(De-ye)*a,(Ge-ye)*E,(De-ve)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ve)*E,De*a,(Ge+ye)*E,(De-ve)*a,(Ge+ve)*E,(De-ye)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(De+ve)*a,(Ge+ve)*E,(De+ye)*a,(Ge+ye)*E,(De+ve)*a)),se.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ve)*E,De*a,(Ge-ye)*E,(De+ve)*a,(Ge-ve)*E,(De+ye)*a));var ve=.05,ye=le*.05,Ge=.625,De=.95,ie=new go.PathFigure((Ge-ve)*E,De*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(De-ve)*a,(Ge-ve)*E,(De-ye)*a,(Ge-ye)*E,(De-ve)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ve)*E,De*a,(Ge+ye)*E,(De-ve)*a,(Ge+ve)*E,(De-ye)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(De+ve)*a,(Ge+ve)*E,(De+ye)*a,(Ge+ye)*E,(De+ve)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ve)*E,De*a,(Ge-ye)*E,(De+ve)*a,(Ge-ve)*E,(De+ye)*a));var ve=.05,ye=le*.05,Ge=.825,De=.95,He=new go.PathFigure((Ge-ve)*E,De*a,!0);x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(De-ve)*a,(Ge-ve)*E,(De-ye)*a,(Ge-ye)*E,(De-ve)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+ve)*E,De*a,(Ge+ye)*E,(De-ve)*a,(Ge+ve)*E,(De-ye)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,Ge*E,(De+ve)*a,(Ge+ve)*E,(De+ye)*a,(Ge+ye)*E,(De+ve)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-ve)*E,De*a,(Ge-ye)*E,(De+ve)*a,(Ge-ve)*E,(De+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,Te=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}Te=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,Bn=0;Bn<arguments.length;Bn++){var ze=arguments[Bn];typeof ze=="string"?(ze=ze.toLowerCase(),ze.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?at=ze:rn=arguments[Bn]):typeof ze=="boolean"?Gt=ze:ze instanceof HTMLElement&&(Kn=ze)}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(Bn){var ze=JSON.parse(Bn),ct=function(Nt){return Nt.type=="G"||Nt.type=="E"},Lt=ze.elements?ze.elements.filter(ct)[0]:ze;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";De("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 De(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],Bn=Gt.className;Bn==="applet_screenshot"?at?(Gt.style.display="block",Ye="screenshot"):Gt.style.display="none":Bn!=="applet_scaler prerender"&&(Ve.removeChild(Gt),Kn=Bn&&Bn.indexOf("appletParameters")!=-1?Gt.id:null,rn--)}var ze=ee.id!==void 0?ee.id:Kn,ct=window[ze];ct&&typeof ct.getBase64=="function"&&(ct.remove(),window[ze]=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 He=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 Bn=at.width,ze=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,Bn=605);else{var ct=100;(he(at.showToolBar)||he(at.showMenuBar))&&(at.hasOwnProperty("customToolBar")&&(at.customToolbar=at.customToolBar),ct=he(at.showMenuBar)?245:155),Bn<ct&&(at.width=ct,Bn=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(Bn,ze,at.borderColor,!1);Nt=document.createElement("div"),Nt.className="applet_scaler",Nt.style.position="relative",Nt.style.display="block",Nt.style.width=Bn+"px",Nt.style.height=ze+"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 we=document.createElement("div");we.className="applet_scaler",we.style.position="relative",we.style.display="block",we.appendChild(Gt),Ve.appendChild(we),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(An){fe(An.article,An.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&&(!Te||Te=="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=ze,at.width=Bn},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 Bn=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),Bn!==1&&!isNaN(Bn)&&(GGBAppletUtils.scaleElement(Gt,Bn),Gt.style.width=at.width+"px",Gt.style.height=at.height+"px",Gt.parentNode.style.width=at.width*Bn+"px",Gt.parentNode.style.height=at.height*Bn+"px"),Vt.resize=function(){ft(Ve,Kn,Gt,rn)},window.addEventListener("resize",function(ze){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(ze=0;ze<Ve.childNodes.length;ze++)ct.push(Ve.childNodes[ze]);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(ze=0;ze<ct.length;ze++)Ve.removeChild(ct[ze])},Bn=Ve.getElementsByClassName("ggb_preview_play"),ze=0;ze<Bn.length;ze++)Bn[ze].addEventListener("click",Gt,!1),Bn[ze].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 Bn="lightgrey";rn!==void 0&&(rn==="none"?Bn="transparent":Bn=rn),Gt.style.border="1px solid "+Bn;var ze=document.createElement("img");if(ze.style.position="relative",ze.style.zIndex="1000",ze.style.top="-1px",ze.style.left="-1px",x!==null&&ze.setAttribute("src",x),ze.style.opacity=.7,y!==null){var ct,Lt,mt;if(!Kn){ct=document.createElement("img"),ct.style.position="absolute",ct.style.zIndex="1001",ct.style.opacity=1,ze.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(ze),Gt},gt=function(Ve){return Ve=Ve.toLowerCase(),Ve==="html5"||Ve==="screenshot"?Ve:"html5"},wt=["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,Bn;window.location.protocol.substr(0,4)==="http"?Gt=window.location.protocol:Gt="http:";var ze=ue.indexOf("//");ze>0?Bn=ue:ze===0?Bn=Gt+ue:Bn="https://www.geogebra.org/apps/5.2.814.0/";for(var ct in wt)if(ue.slice(wt[ct].length*-1)===wt[ct]||ue.slice((wt[ct].length+1)*-1)===wt[ct]+"/"){Ft(Bn,!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")?Bn+="webSimple/":Bn+="web3d/",Ft(Bn,!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):wt.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;Te!==null?Ve=Te: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,Te){Te!=1?(_e.style.transformOrigin="0% 0% 0px",_e.style.webkitTransformOrigin="0% 0% 0px",_e.style.transform="scale("+Te+","+Te+")",_e.style.webkitTransform="scale("+Te+","+Te+")",_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,Te,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)&&Te>0&&Te+a<Ye?Ye=Te: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,Te,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(Te,_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=Te.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,Te,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)),Te&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ke=!0),!(_e.hasOwnProperty("disableAutoScale")&&_e.disableAutoScale))qe=b(_e,Te,Ke,le,_e.scaleContainerClass);else return it;return Ke&&(!_e.hasOwnProperty("scale")||it===1)?qe:Math.min(it,qe)}function Be(_e){var Te=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),it=_e.getBoundingClientRect(),qe=(Te-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,Te){var le=_e.querySelector(".appletParameters");if(le){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Te.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(Te,_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=Te.id!==void 0?Te.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=Te.width*it+"px",qe.parentNode.style.height=Te.height*it+"px",jt(qe,it)):(jt(qe,1),qe.parentNode.style.width=Te.width+"px",qe.parentNode.style.height=Te.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 Te=_e.lastIndexOf(rb);Te==-1&&(Te=_e.length);var le=_e.indexOf(sb);le==-1&&(le=_e.length);var it=_e.lastIndexOf(tb,Math.min(le,Te));return it>=O?_e.substring(O,it+P):W}function jt(_e){if(!_e.match(/^\w+:\/\//)){var Te=o.createElement(ub);Te.src=_e+vb,_e=Vt(Te.src)}return _e}function ee(){var _e=__gwt_getMetaProperty(wb);return _e!=null?_e:W}function b(){for(var _e=o.getElementsByTagName(_),Te=O;Te<_e.length;++Te)if(_e[Te].src.indexOf(xb)!=-1)return Vt(_e[Te].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 Te=b[_e](),le=ee[_e];if(Te in le)return Te;var it=[];for(var qe in le)it[le[qe]]=qe;throw r&&r(_e,it,Te),null}if(__gwt_isKnownPropertyValue=function(_e,Te){return Te in ee[_e]},webModule.__getPropMap=function(){var _e={};for(var Te in ee)ee.hasOwnProperty(Te)&&(_e[Te]=de(Te));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 Te=!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,Te=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)=>Te(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(De){se(De)}},ve=Ge=>{try{ye(te.throw(Ge))}catch(De){se(De)}},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)([]),[De,He]=(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),He("2")}}),Qe=ft=>{function Le(ot){const dt=ot.children,gt=Array.isArray(dt)&&dt.length>0,wt=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:wt,key:wt,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:De},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:Te,className:le})=>b.createElement("div",{className:`${de.digitalLabel} ${Te?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),Te=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=De=>{try{Ge(re.next(De))}catch(He){ie(He)}},ye=De=>{try{Ge(re.throw(De))}catch(He){ie(He)}},Ge=De=>De.done?se(De.value):Promise.resolve(De.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,Te.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),De=(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:De(Le.children,We,ft)})}),He=(Qe,We)=>{ie(ft=>De(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:He},he)))}},94361:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Te}});var b=ee(60324),de={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Be=ee(32637),Ne=ee(59301),Te=({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),Te=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,De]=(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&&He()):(document.body.removeAttribute("data-custom"),se.current&&(document.head.removeChild(se.current),se.current=null))},[Je==null?void 0:Je.visible]);const He=()=>qe(void 0,null,function*(){ye(!0),De("\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),De("")}),he=()=>{document.body.removeAttribute("data-custom"),se.current.innerHTML=" ",a()},Qe=Le=>qe(void 0,null,function*(){ye(!0),De("\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),De("")}),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 Te.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),Te=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+Vvy4F9CyG5BaQviV9nKBeOwNrXoNdOSKqqqSe2wJZ3dfS9JP0LM+MmyJt63iEfaj6m11w5DUWdo+c1yUtX6SfkrNZVOXNpP1I2Cg+qApV1KN6wc+WQ31nTh+63/K05sHc+JLeEjKW3BnT+CKxKh66L4P4WWu7ySVj1sh63GwNN0u36IwVQMk6HPWMHVKmmeceLoOR9exnpFC2nHs2F/LDxqwi5PBIdJTA6ASClbE4XOHsIhjsR3DIByhboCPVYZg2qvAHST21tlA8oA9pnQYuemqwOff5TcPMqpK2Ae5ra9Wd/hvU9ocZDkLbW0ktz4PBynU1+OgZnzh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JG5lbJUgjd0nMGhH3GJJTATBwwLuib7+tUxq7IffenD2xupwlcFxUfO43xCN6y4BcCuFTCrx2U8XOHN9dabmCbr6/NDq4RjO2fdLo1MfOy2Gw+mrb+Z6OC9qpUDA4fzn8ICbfb4wXm4XI4EKQE0MrS+GO8zOvXxwauew/iTQhBWNnhEhN9KLM19boyRQA6apSMS2t84fe7yRTCYPHhKTQFM2NPsCsNKfddTGYjgJ1ARpNCahOiJF9sXiTIkEGjWh3xy4lINS5EigPkPzSQlVEmheg/4MSKA+O9PJ/a/QIfoKNS1Cqz/9E6OFLRQhuo0IhQa9SdCNvB63UKRoKS0UGtQnQYvZ6sxCk/D1OIke6IbG1z8T8f1Al7ZUhE+g0paK+vRpU5O+ROObmvSnTsk6gVBsKyQV+gSCEEgbe/X5o5NYgW6/u5m+Q1vr0SJ0C+gKpJdbdIkHnNMRSK+XBSwBU05VIL3giaHdhayKQHrFugsCsCX9CKRDDrCUu5jvJJCOGeki/CBK00E/QVA0WIOO2jIIP4jW8/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",Ge=ee(38986),De=ee(38518),He=ee(5623),he=ee(8944),Qe=ee(19105),We=ee(17077),ft=ee(15342),Le=ee.n(ft),ot=(we,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(we,fe)).next())}),gt=b.memo(({tagName:we="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 An=fe==null?void 0:fe.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const nn of An)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(we,{ref:vt,contentEditable:!0,className:Xe,style:Rt,onBlur:et}))}),wt=ee(49535),sn=Object.defineProperty,Ft=Object.defineProperties,on=Object.getOwnPropertyDescriptors,cn=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,rn=(we,fe,Xe)=>fe in we?sn(we,fe,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):we[fe]=Xe,Kn=(we,fe)=>{for(var Xe in fe||(fe={}))Ve.call(fe,Xe)&&rn(we,Xe,fe[Xe]);if(cn)for(var Xe of cn(fe))at.call(fe,Xe)&&rn(we,Xe,fe[Xe]);return we},Gt=(we,fe)=>Ft(we,on(fe)),Bn=(we,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(we,fe)).next())});const ze=we=>{we.preventDefault();let Xe=(we.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,Xe)},ct=we=>{we.key==="Enter"&&we.preventDefault()},Lt=({children:we,style:fe})=>b.createElement("div",{className:de.leftBox,style:fe,onPaste:ze},we),mt=({children:we,style:fe,className:Xe})=>b.createElement("div",{className:Ne()(de.rightBox,Xe),style:fe,onPaste:ze},we),Nt=({className:we,style:fe={},width:Xe=1200,onCancel:Rt=()=>{},onSuccess:Oe=()=>{},gather:Ie={},mode:vt=1,stickyTop:et=0,subDisciplineId:Me=[],hideWordFeatures:St,dataSource:An=[],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[wn,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)([]),[Dn,oa]=(0,b.useState)([]),[wa,ut]=(0,b.useState)(!1),[bn,Ln]=(0,b.useState)(!1),[Hn,pn]=(0,b.useState)(!1),[ia,Sa]=(0,b.useState)(!1),[It,Tt]=(0,b.useState)([]),[bt,Qn]=(0,b.useState)(1),[Yn,Gn]=(0,b.useState)(!1),[ir,Ba]=(0,b.useState)(!1),[Xn,$a]=(0,b.useState)(!0),[Aa,Nn]=(0,b.useState)(0),[mr,Nr]=(0,b.useState)(1),[Vr,xr]=(0,b.useState)(""),[Ue,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(),Ha=(0,b.useRef)(null),Un=(0,b.useRef)(null),na=(0,b.useRef)(),ya=["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)(()=>{An!=null&&An.length&&Pl(An)},[An]),(0,b.useEffect)(()=>{wn===2&&Ha.current.focus()},[wn]),(0,b.useEffect)(()=>{Hn&&kr()},[Hn]);const vr=()=>{if(wn===1){Te.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:()=>Bn(void 0,null,function*(){Jn(1)})})},kr=()=>Bn(void 0,null,function*(){const Ae=yield(0,Ge.ZP)("/api/disciplines.json",{method:"get",params:{source:vt===1?"new_question":"subject"}});Tt(Ae.disciplines||[])}),Ya=Ae=>{const hn=[],Rn=(ba,un)=>{ba.length>=2&&hn.push(ba.join(""));for(let Za=un;Za<Ae.length;Za++)ba.push(Ae[Za]),Rn(ba,Za+1),ba.pop()};return Rn([],0),hn},lr=Ae=>(Ae=Ae||"",Ae=String(Ae),Ae=Ae.replace(/\s+/g,""),Ae),hr=Ae=>(Ae=Ae||"",Ae=String(Ae),Ae=Ae.replace(/<div>/g,""),Ae=Ae.replace(/<br>/g,`
`),Ae=Ae.replace(/<\/div>/g,`
`),Ae=ri(Ae),Ae),Po=Ae=>Ae.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),ri=Ae=>Ae.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"),xi=Ae=>{var hn;const Rn=Ae.clipboardData;if(Rn){const ba=Rn.types.toString(),un=Rn.items;if(ba==="Files"||Rn.types.indexOf("Files")>-1){Ae.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,zn=>{var qn;if(zn.id){if(((qn=Na==null?void 0:Na.type)==null?void 0:qn.indexOf("image"))>-1){const pr=`<img src='${re.Z.API_SERVER}${zn.url}'>`;document.execCommand("insertText",!1,pr)}}else(zn==null?void 0:zn.status)===401&&(document.location.href="/user/login")})}catch(Za){Te.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function ho(Ae,hn){return Bn(this,null,function*(){if(typeof Ae=="string")return yield hn(Ae);if(typeof Ae!="object"||Ae===null)return Ae;if(Array.isArray(Ae))return yield Promise.all(Ae.map(un=>Bn(this,null,function*(){return yield ho(un,hn)})));const Rn={};for(const ba in Ae)if(Object.prototype.hasOwnProperty.call(Ae,ba)){const un=Ae[ba];typeof un=="string"?Rn[ba]=yield hn(un):typeof un=="object"?Rn[ba]=yield ho(un,hn):Rn[ba]=un}return Rn})}const bo=()=>Bn(void 0,null,function*(){var Ae;pa(!0),gr("\u5904\u7406\u4E2D"),yield new Promise(ba=>setTimeout(ba,1e3));let hn=(Ae=Un.current)==null?void 0:Ae.querySelectorAll('[data-text="edit"]'),Rn="";try{hn.forEach(function(ba){var un,Za,Na,zn;const qn=ba.cloneNode(!0),pr=qn.querySelectorAll("span.edu_latex");for(let za of pr){const tr=za.getAttribute("title"),Mr=document.createTextNode(tr),Co=za;(Za=(un=Co.parentNode)==null?void 0:un.replaceChild)==null||Za.call(un,Mr,Co)}const Wa=qn.querySelectorAll("span[style]");for(let za of Wa)if(za.style.fontFamily){const tr=za.innerHTML,Mr=document.createTextNode(tr),Co=za;(zn=(Na=Co.parentNode)==null?void 0:Na.replaceChild)==null||zn.call(Na,Mr,Co)}qn==null||qn.childNodes.forEach(function(za){za.nodeType===Node.ELEMENT_NODE&&za.localName!=="h5"&&za.localName!=="h4"?Rn+=`<p>${za.innerHTML}</p>`:za.nodeType===Node.TEXT_NODE&&(Rn+=`<p>${za.textContent}</p>`)})}),_r("/api/intelligent_imports/import.json",{html:ri(Rn)})}catch(ba){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",ba)}}),Wo=Ae=>{let hn=Ae.filter(Rn=>!!(Rn!=null&&Rn.type));return hn=hn.map(Rn=>{var ba;const un=(ba=Wi.find(Na=>Na.id===(Rn==null?void 0:Rn.type)))==null?void 0:ba.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},To=()=>{if(wn===1){Te.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}},wn===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"))),wn===2&&b.createElement("div",{"data-text":"edit",onBlur:()=>{Ha.current.innerHTML||Jn(1)},ref:Ha,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=(Ae,hn,Rn,ba)=>{var un;console.log(Ae,hn,Rn,ba,"onDataChange\u4FEE\u6539\u6570\u503C");const Za=JSON.parse(JSON.stringify(Dn));ba===void 0?Za[hn][Ae]=Rn:Za[hn].questions[ba][Ae]=Rn;const Na=Kn({},Za[hn]),zn=(un=Wi.find(qn=>qn.id===(Na==null?void 0:Na.type)))==null?void 0:un.deal;Za[hn]=zn(Na),oa(Za)},to=(Ae,hn,Rn)=>{var ba;const un=Rn!==void 0,Za=(ba=Wi.find(qn=>qn.id===(Ae==null?void 0:Ae.type)))==null?void 0:ba.type,Na=`${hn+1}.${Rn===void 0?"":Rn+1+"."}`,zn=`${(Ae==null?void 0:Ae.type)==="7"?"{{":""}${Na}\u3010${Za}\u3011${(Ae==null?void 0:Ae.question)||""}`;return b.createElement(b.Fragment,null,un&&b.createElement("h4",{contentEditable:!0}),b.createElement(gt,{id:Ae==null?void 0:Ae.id,tagName:"div",value:zn}))},Yo=(Ae,hn)=>Bn(void 0,null,function*(){var Rn;const ba=yield Ze(Ae,hn),un=(Rn=ba==null?void 0:ba.data)==null?void 0:Rn.content;if(un!=null&&un.length){const Za=Wo(un)[0];Br.splice(hn,1,Za),Dn.splice(hn,1,Za),qt([...Br]),oa([...Dn])}}),Jo=(Ae,hn,Rn)=>{var ba;const un=Rn!==void 0,Za=(ba=Wi.find(zn=>zn.id===(Ae==null?void 0:Ae.type)))==null?void 0:ba.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:Ae==null?void 0:Ae.id,tagName:"span",className:de.edit,onBlur:zn=>Er("question",hn,zn,Rn),value:(Ae==null?void 0:Ae.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:(Ae==null?void 0:Ae.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:zn=>Er("score",hn,zn,Rn),value:Ae==null?void 0:Ae.score}),b.createElement(qe.Z,{align:"middle",style:{marginLeft:"auto"}},!!Ze&&b.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Yo(Ae,hn)},b.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),b.createElement(Ke.default,{onChange:zn=>Er("checked",hn,zn.target.checked,Rn),checked:!!(Ae!=null&&Ae.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),b.createElement(gt,{id:Ae==null?void 0:Ae.id,tagName:"div",style:{padding:"10px 18px"},className:de.edit,onBlur:zn=>Er("question",hn,zn,Rn),value:Ae==null?void 0:Ae.question}))},Lo=(Ae,hn,Rn)=>b.createElement(b.Fragment,null,["0","1","2","4"].includes(Ae==null?void 0:Ae.type)&&b.createElement(gt,{id:Ae==null?void 0:Ae.id,value:`\u7B54\u6848\uFF1A${hn||""}`,tagName:"p"}),!Rn&&b.createElement(gt,{id:Ae==null?void 0:Ae.id,value:`\u96BE\u5EA6\uFF1A${(Ae==null?void 0:Ae.difficulty)||""}`,tagName:"p"}),(Ae==null?void 0:Ae.type)!=="7"&&b.createElement(gt,{id:Ae==null?void 0:Ae.id,value:`\u89E3\u6790\uFF1A${(Ae==null?void 0:Ae.analyze)||""}`,tagName:"p"}),!Rn&&b.createElement(gt,{id:Ae==null?void 0:Ae.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(Ae==null?void 0:Ae.knowledgePoint)||""}`,tagName:"p"})),Ar=(Ae,hn,Rn,ba)=>{const un=ba!==void 0,Za=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Na=un&&!Ae.last&&!Ae.errorMsg?{marginBottom:10}:{},zn=Za.map(qn=>({key:qn,label:qn,onClick:()=>Er("difficulty",Rn,qn,ba)}));return b.createElement("div",{className:de.liWrap,style:Na},["4"].includes(Ae==null?void 0:Ae.type)&&b.createElement("div",{className:de.li},b.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),b.createElement(gt,{id:Ae==null?void 0:Ae.id,tagName:"div",className:`${de.edit} c-black`,onBlur:qn=>Er("answer",Rn,[qn],ba),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:zn}},b.createElement("span",{className:"c-light-primary"},Ae==null?void 0:Ae.difficulty,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(Ae==null?void 0:Ae.type)!=="7"&&b.createElement("div",{className:de.li},b.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),b.createElement(gt,{id:Ae==null?void 0:Ae.id,tagName:"div",className:`${de.edit} c-grey-333`,onBlur:qn=>Er("analyze",Rn,qn,ba),value:Ae==null?void 0:Ae.analyze})),!un&&b.createElement("div",{onKeyDown:ct,className:de.li},b.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),b.createElement(gt,{id:Ae==null?void 0:Ae.id,tagName:"div",value:(Ae==null?void 0:Ae.knowledgePoint)||"",className:`${de.edit} c-grey-333`,onBlur:qn=>Er("knowledgePoint",Rn,lr(hr(qn)),ba)})))},oi=Ae=>b.createElement(b.Fragment,null,typeof(Ae==null?void 0:Ae.errorMsg)=="string"&&!!(Ae!=null&&Ae.errorMsg)&&b.createElement("h5",{contentEditable:!1},b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,Ae==null?void 0:Ae.errorMsg))),Gr=Ae=>b.createElement(b.Fragment,null,typeof(Ae==null?void 0:Ae.errorMsg)=="string"&&!!(Ae!=null&&Ae.errorMsg)&&b.createElement("h5",null,b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,Ae==null?void 0:Ae.errorMsg))),ko=(Ae,hn,Rn,ba)=>{let un="flex";return(yt&&Aa!==ba||wa&&!(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},Ae))),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:(Ae,hn,Rn)=>{var ba,un;const Za=Rn!==void 0;let Na=(ba=Ae==null?void 0:Ae.answer)==null?void 0:ba[0];const zn=b.createElement(b.Fragment,null,to(Ae,hn,Rn),(un=Ae==null?void 0:Ae.options)==null?void 0:un.map((za,tr)=>b.createElement(gt,{id:Ae==null?void 0:Ae.id,key:tr,value:`${ya[tr]}.${za}`,tagName:"p"})),Lo(Ae,Na,Za),oi(Ae));let qn=Za?Ae:Dn[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((za,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])===ya[tr]?de.active:"",onClick:()=>Er("answer",hn,[ya[tr]],Rn)},ya[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:za}))}),Ar(qn,"",hn,Rn),Gr(qn));return Za?[zn,Wa]:ko(zn,Wa,qn,hn)},deal:Ae=>{var hn,Rn,ba;Ae.score=Ae.score===void 0?2:Ae.score;let un=lr((hn=Ae==null?void 0:Ae.answer)==null?void 0:hn[0]).toUpperCase();Ae.answer=un?[un]:[];let Za=[];if(!(Ae!=null&&Ae.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{Ae.options=(Rn=Ae.options)==null?void 0:Rn.slice(0,8);const Na=Ae.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&&(ya.slice(0,((ba=Ae==null?void 0:Ae.options)==null?void 0:ba.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(Ae==null?void 0:Ae.question)||Za.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ae.errorMsg=Za.join(`
`),Ae}},{id:"1",type:"\u591A\u9009\u9898",element:(Ae,hn,Rn)=>{var ba,un;const Za=Rn!==void 0;let Na=(ba=Ae==null?void 0:Ae.answer)==null?void 0:ba[0];const zn=b.createElement(b.Fragment,null,to(Ae,hn,Rn),(un=Ae==null?void 0:Ae.options)==null?void 0:un.map((za,tr)=>b.createElement(gt,{id:Ae==null?void 0:Ae.id,key:tr,value:`${ya[tr]}.${za}`,tagName:"p"})),Lo(Ae,Na,Za),oi(Ae));let qn=Za?Ae:Dn[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((za,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(ya[tr])?de.active:"",onClick:()=>{var $o;let Ko=(($o=qn==null?void 0:qn.answer)==null?void 0:$o[0])||"";const ki=ya[tr];Ko.includes(ki)?Ko=Ko.replace(new RegExp(ki,"g"),""):Ko+=ki,Ko=Ko.split("").sort().join(""),Er("answer",hn,[Ko],Rn)}},ya[tr]),b.createElement(gt,{id:qn==null?void 0:qn.id,tagName:"div",className:`${de.text}`,onBlur:$o=>{pr[tr]=$o,Er("options",hn,pr,Rn)},value:za}))}),Ar(qn,"",hn,Rn),Gr(qn));return Za?[zn,Wa]:ko(zn,Wa,qn,hn)},deal:Ae=>{var hn,Rn,ba;Ae.score=Ae.score===void 0?2:Ae.score;let un=lr((hn=Ae==null?void 0:Ae.answer)==null?void 0:hn[0]).toUpperCase().split("").sort().join("");Ae.answer=un?[un]:[];let Za=[];if(!(Ae!=null&&Ae.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{Ae.options=(Rn=Ae.options)==null?void 0:Rn.slice(0,8);const Na=Ae.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=ya.slice(0,((ba=Ae==null?void 0:Ae.options)==null?void 0:ba.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(Ae==null?void 0:Ae.question)||Za.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ae.errorMsg=Za.join(`
`),Ae}},{id:"2",type:"\u5224\u65AD\u9898",element:(Ae,hn,Rn)=>{var ba,un;const Za=Rn!==void 0;let Na=(ba=Ae==null?void 0:Ae.answer)==null?void 0:ba[0];const zn=b.createElement(b.Fragment,null,to(Ae,hn,Rn),Lo(Ae,Na,Za),oi(Ae));let qn=Za?Ae:Dn[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 za=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))),Ar(qn,"",hn,Rn),Gr(qn));return Za?[zn,za]:ko(zn,za,qn,hn)},deal:Ae=>{var hn;Ae.score=Ae.score===void 0?2:Ae.score;let Rn=lr((hn=Ae==null?void 0:Ae.answer)==null?void 0:hn[0]);Ae.answer=Rn?[Rn]:[];let ba=[];return Rn||ba.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)&&ba.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(Ae==null?void 0:Ae.question)||ba.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ae.errorMsg=ba.join(`
`),Ae}},{id:"3",type:"\u586B\u7A7A\u9898",element:(Ae,hn,Rn)=>{var ba,un;const Za=Rn!==void 0,Na=b.createElement(b.Fragment,null,to(Ae,hn,Rn),(ba=Ae==null?void 0:Ae.answer)==null?void 0:ba.map((pr,Wa)=>b.createElement(gt,{id:Ae==null?void 0:Ae.id,key:Wa,tagName:"p",value:`\u7B54\u6848${Wa+1}\uFF1A${pr.text||""}`})),Lo(Ae,"",Za),oi(Ae));let zn=Za?Ae:Dn[hn];const qn=b.createElement(b.Fragment,null,Jo(zn,hn,Rn),(un=zn==null?void 0:zn.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:zn==null?void 0:zn.id,tagName:"div",onBlur:za=>{zn.answer[Wa].latex=hr(za),Er("answer",hn,zn.answer,Rn)},className:`${de.text}`,value:pr.latex}),pr.model===2&&b.createElement(Qe.Z,{value:pr.latex,onChange:za=>{zn.answer[Wa].latex=za,Er("answer",hn,zn.answer,Rn)}}))),Ar(zn,"",hn,Rn),Gr(zn));return Za?[Na,qn]:ko(Na,qn,zn,hn)},deal:Ae=>{var hn,Rn,ba,un;Ae.score=Ae.score===void 0?2:Ae.score,Ae.question=(hn=Ae.question)==null?void 0:hn.replaceAll("\u2581","_");const Za=(Rn=Ae.answer)==null?void 0:Rn.map(zn=>{if(Object.prototype.toString.call(zn)==="[object Object]")return zn;const qn={model:1,text:zn,latex:zn};return zn.startsWith("$$")&&zn.endsWith("$$")||zn.startsWith("`$$")&&zn.endsWith("$$`")?(qn.model=2,qn.latex=zn.slice(2,-2)):qn.latex=hr(zn),qn});Ae.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(Ae==null?void 0:Ae.question)?Ae!=null&&Ae.question.includes("_")?(ba=Ae==null?void 0:Ae.answer)!=null&&ba.length&&((Ae==null?void 0:Ae.question.match(/_+/g))||[]).length!==((un=Ae==null?void 0:Ae.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"),Ae.errorMsg=Na.join(`
`),Ae}},{id:"4",type:"\u7B80\u7B54\u9898",element:(Ae,hn,Rn)=>{var ba,un;const Za=Rn!==void 0;let Na=(ba=Ae==null?void 0:Ae.answer)==null?void 0:ba[0];const zn=b.createElement(b.Fragment,null,to(Ae,hn,Rn),Lo(Ae,Na,Za),oi(Ae));let qn=Za?Ae:Dn[hn];const pr=b.createElement(b.Fragment,null,Jo(qn,hn,Rn),Ar(qn,(un=qn==null?void 0:qn.answer)==null?void 0:un[0],hn,Rn),Gr(qn));return Za?[zn,pr]:ko(zn,pr,qn,hn)},deal:Ae=>{Ae.score=Ae.score===void 0?5:Ae.score;let hn=[];return lr(Ae==null?void 0:Ae.question)||hn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ae.errorMsg=hn.join(`
`),Ae}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(Ae,hn)=>{var Rn,ba;const un=Dn[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:wa?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(Ae,hn),b.createElement(gt,{id:Ae==null?void 0:Ae.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(Ae==null?void 0:Ae.description)||""}`,tagName:"p"}),Lo(Ae),b.createElement(gt,{id:Ae==null?void 0:Ae.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${Ae==null?void 0:Ae.timeLimit}`,tagName:"p"}),b.createElement(gt,{id:Ae==null?void 0:Ae.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(Ae==null?void 0:Ae.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(gt,{id:Ae==null?void 0:Ae.id,value:(Ae==null?void 0:Ae.code)||"",tagName:"div"}),(Rn=Ae==null?void 0:Ae.inputs)==null?void 0:Rn.map((Na,zn)=>{var qn;return b.createElement(b.Fragment,{key:zn},b.createElement("h4",null),b.createElement(gt,{id:Ae==null?void 0:Ae.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${zn+1})\u8F93\u5165\uFF1A${Na||""}`,tagName:"div"}),b.createElement(gt,{id:Ae==null?void 0:Ae.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${zn+1})\u8F93\u51FA\uFF1A${((qn=Ae==null?void 0:Ae.outputs)==null?void 0:qn[zn])||""}`,tagName:"div"}))}),oi(Ae)))),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)}))),Ar(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"}))),(ba=un==null?void 0:un.inputs)==null?void 0:ba.map((Na,zn)=>{var qn;return b.createElement("div",{className:de.liWrap,key:zn},b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",zn+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[zn]=hr(pr),Er("inputs",hn,Wa)},tagName:"div"})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",zn+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[zn])||"",className:de.edit,onBlur:pr=>{const Wa=[...(un==null?void 0:un.outputs)||[]];Wa[zn]=hr(pr),Er("outputs",hn,Wa)},tagName:"div"})))}),Gr(un))))},deal:Ae=>{var hn,Rn,ba;Ae.score=Ae.score===void 0?10:Ae.score,Ae.code=(hn=Ae.code)==null?void 0:hn.trim();let un=[];lr(Ae==null?void 0:Ae.question)?((Rn=Ae==null?void 0:Ae.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(Ae==null?void 0:Ae.description)||un.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const Za=lr(String((Ae==null?void 0:Ae.timeLimit)||""));if(Ae.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"),Ae.platform=lr(Ae==null?void 0:Ae.platform),Ae!=null&&Ae.platform){const Na=["c","c++","java","python"],zn=(ba=Ae==null?void 0:Ae.platform)==null?void 0:ba.toLowerCase(),qn=Na.findIndex(pr=>pr===zn);qn>-1?Ae.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(!(Ae!=null&&Ae.inputs)||!(Ae!=null&&Ae.outputs))Ae.inputs=[],Ae.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(Ae.inputs.length,Ae.outputs.length);Ae.inputs=Ae.inputs.slice(0,Na),Ae.outputs=Ae.outputs.slice(0,Na),Ae.outputs.some(zn=>!lr(zn))&&un.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return Ae.errorMsg=un.join(`
`),Ae}},{id:"7",type:"\u7EC4\u5408\u9898",element:(Ae,hn)=>{var Rn,ba;const un=Dn[hn];return b.createElement("div",{className:de.row,style:{display:wa?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(Ae,hn),Lo(Ae),(Rn=Ae==null?void 0:Ae.questions)==null?void 0:Rn.map((Za,Na)=>{var zn;const qn=(zn=Wi.find(pr=>pr.id===(Za==null?void 0:Za.type)))==null?void 0:zn.element;return b.createElement(b.Fragment,{key:`left-${Ae.id}-${Na}`},qn(Za,hn,Na)[0])}),oi(Ae),b.createElement("p",{contentEditable:!0},"}}")))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:un!=null&&un.errorMsg?de.error:""},Jo(un,hn),Ar(un,"",hn),(ba=un==null?void 0:un.questions)==null?void 0:ba.map((Za,Na)=>{var zn;const qn=(zn=Wi.find(pr=>pr.id===(Za==null?void 0:Za.type)))==null?void 0:zn.element;return b.createElement(b.Fragment,{key:`right-${un.id}-${Na}`},qn(Za,hn,Na)[1])}),Gr(un))))},deal:Ae=>{var hn,Rn,ba,un,Za;const Na=Wo,zn=[...Wi],qn=zn.findIndex(tr=>tr.id==="0"),pr=zn.findIndex(tr=>tr.id==="1");if(qn!==-1){const tr=zn[qn].deal;zn[qn].deal=Mr=>{const Co=tr(Mr);return Co.errorMsg&&(Co.errorMsg=Co.errorMsg.split(`
`).filter($o=>$o!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),Co}}if(pr!==-1){const tr=zn[pr].deal;zn[pr].deal=Mr=>{const Co=tr(Mr);return Co.errorMsg&&(Co.errorMsg=Co.errorMsg.split(`
`).filter($o=>$o!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),Co}}Ae.questions=(hn=Ae.questions)!=null&&hn.length?Wo(Ae.questions.slice(0,20)):[],Ae.questions=(Rn=Ae.questions)==null?void 0:Rn.map((tr,Mr)=>{var Co;if(tr.type==="0"||tr.type==="1"){const $o=(Co=tr.options)==null?void 0:Co.map(Ko=>Ko==null?void 0:Ko.trim().replace(/^\s+|\s+$/g,""));$o&&new Set($o).size!==$o.length&&(tr.errorMsg=(tr.errorMsg?tr.errorMsg+`
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Gt(Kn({},tr),{last:Mr===Ae.questions.length-1})});const Wa=(ba=Ae.questions)==null?void 0:ba.reduce((tr,Mr)=>{const Co=parseFloat(Mr.score);return isNaN(Co)?tr:tr+Co},0);Ae.score=Wa;let za=[];return(un=Ae.questions)!=null&&un.length?Ae.errorMsg=((Za=Ae.questions)==null?void 0:Za.findIndex(tr=>!!tr.errorMsg))>-1:za.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),lr(Ae==null?void 0:Ae.question)||za.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),za.length&&(Ae.errorMsg=za.join(`
`)),Ae}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(Ae,hn)=>{var Rn,ba;const un=Dn[hn],Za=Pa.map(Na=>({key:Na,label:Na,onClick:()=>Er("platform",hn,Na)}));return b.createElement("div",{className:de.row,style:{display:wa?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(Ae,hn),Lo(Ae),b.createElement(gt,{id:Ae==null?void 0:Ae.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${Ae==null?void 0:Ae.timeLimit}`,tagName:"p"}),b.createElement(gt,{id:Ae==null?void 0:Ae.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(Ae==null?void 0:Ae.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(gt,{id:Ae==null?void 0:Ae.id,value:(Ae==null?void 0:Ae.code)||"",tagName:"div"}),b.createElement("h4",null),b.createElement(gt,{id:Ae==null?void 0:Ae.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(Ae==null?void 0:Ae.input)||""}`,tagName:"p"}),b.createElement(gt,{id:Ae==null?void 0:Ae.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(Ae==null?void 0:Ae.output)||""}`,tagName:"p"}),(Rn=Ae==null?void 0:Ae.answer)==null?void 0:Rn.map((Na,zn)=>b.createElement(gt,{key:zn,id:Ae==null?void 0:Ae.id,value:`\u7B54\u6848${zn+1}\uFF1A${Na||""}`,tagName:"p"})),oi(Ae)))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:un!=null&&un.errorMsg?de.error:""},Jo(un,hn),Ar(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},(ba=un==null?void 0:un.answer)==null?void 0:ba.map((Na,zn)=>b.createElement("div",{className:de.li,key:zn},b.createElement("aside",null,"\u7B54\u6848",zn+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[zn]=hr(qn),Er("output",hn,pr)},tagName:"div"})))),Gr(un))))},deal:Ae=>{var hn,Rn,ba,un,Za,Na,zn,qn;Ae.score=Ae.score===void 0?10:Ae.score,Ae.code=(ba=(Rn=(hn=Ae.code)==null?void 0:hn.trim())==null?void 0:Rn.replace(/@_@/g,"@\u2581@"))==null?void 0:ba.replace(/@__@/g,"@\u2581\u2581@");let pr=[];if(lr(Ae==null?void 0:Ae.question)||pr.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),lr(Ae==null?void 0:Ae.code)?/@▁@|@▁▁@/.test(Ae==null?void 0:Ae.code)?(un=Ae==null?void 0:Ae.answer)!=null&&un.length&&((Za=Ae==null?void 0:Ae.code.match(/@▁@|@▁▁@/g))==null?void 0:Za.length)!==((Na=Ae==null?void 0:Ae.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"),Ae!=null&&Ae.answer?(zn=Ae.answer)!=null&&zn.some(za=>!lr(za))&&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"),Ae.platform=lr(Ae==null?void 0:Ae.platform),Ae!=null&&Ae.platform){const za=["c","c++","java","python","javascript","ruby"],tr=(qn=Ae==null?void 0:Ae.platform)==null?void 0:qn.toLowerCase(),Mr=za.findIndex(Co=>Co===tr);Mr>-1?Ae.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(Ae==null?void 0:Ae.output)||pr.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const Wa=lr(String((Ae==null?void 0:Ae.timeLimit)||""));return Ae.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"),Ae.errorMsg=pr.join(`
`),Ae}}],dl=()=>b.createElement(b.Fragment,null,Br.filter(Ae=>{var hn;return!!((hn=Wi.find(ba=>ba.id===(Ae==null?void 0:Ae.type)))==null?void 0:hn.element)}).map((Ae,hn)=>{var Rn;const ba=(Rn=Wi.find(un=>un.id===(Ae==null?void 0:Ae.type)))==null?void 0:Rn.element;return b.createElement(b.Fragment,{key:Ae.id},ba(Ae,hn))})),gl=()=>Bn(void 0,null,function*(){const Ae=Dn.filter(hn=>!hn.checked);if(wn!==3||!Ae.length){Te.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}Ea.setFieldsValue({sub_discipline_id:Me}),pn(!0)}),Pl=Ae=>Bn(void 0,null,function*(){const hn=Wo(Ae);qt(hn),oa(JSON.parse(JSON.stringify(hn))),Jn(3),pa(!1),Gn(!1),ut(!1)});(0,b.useEffect)(()=>{if(Xn)return;const Ae=()=>{Ra(hn=>hn>=90?(clearInterval(na.current),90):hn+1)};return na.current=setInterval(Ae,5e4/90),()=>clearInterval(na.current)},[Xn]);const _r=(Ae,hn)=>{$a(!1);const Rn=new FormData;Object.keys(hn).forEach(un=>{Rn.append(un,hn[un])});const ba=new window.XMLHttpRequest;ba.withCredentials=!0,ba.addEventListener("load",function(un){return Bn(this,null,function*(){var Za,Na;try{const zn=JSON.parse((Za=un==null?void 0:un.target)==null?void 0:Za.response);if($a(!0),Ra(100),yield new Promise(qn=>setTimeout(()=>qn(),780)),zn.status===0){if(!((Na=zn==null?void 0:zn.data)!=null&&Na.length)){Te.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),pa(!1);return}Pl((zn==null?void 0:zn.data)||[])}else pa(!1),Te.ZP.warning(zn==null?void 0:zn.message)}catch(zn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",zn)}})}),ba.addEventListener("error",()=>{pa(!1)}),ba.open("POST",`${re.Z.API_SERVER}${Ae}`),ba.send(Rn)},qa=Ae=>Bn(void 0,null,function*(){const hn=Ae.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(hn)==-1?(Te.ZP.error(`${Ae.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:Ae}),Promise.reject())}),Va=Ae=>Bn(void 0,null,function*(){const hn=Ae.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(hn)==-1?(Te.ZP.warning("\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"),Promise.reject()):Ae.size/1024/1024>200?(Te.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(Ue!=null&&Ue.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([Ae])}):Pn([Ae]),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=[Dn.length,(gn=Dn.filter(Ae=>!!(Ae!=null&&Ae.errorMsg)))==null?void 0:gn.length];return b.createElement("div",{className:Ne()(de.intelligentBox,"intelligent-body-curb",we),style:Gt(Kn({},fe),{width:Xe}),ref:Un},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(wn)&&b.createElement(Ke.default,{className:"ml20",checked:wa,onChange:Ae=>ut(Ae.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(wn)&&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((Ae,hn)=>b.createElement("div",{onClick:()=>{Nn(hn)},className:Aa===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:To},"\u8BC6\u522B"))),[1,2].includes(wn)&&No(),[3].includes(wn)&&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:Hn,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:Ae=>Bn(void 0,null,function*(){var hn,Rn,ba,un,Za;const Na=Dn.filter(pr=>!pr.checked&&!pr.errorMsg);Ln(!0);const zn=()=>Bn(void 0,null,function*(){var pr,Wa;const za=yield(0,Ge.ZP)("/api/intelligent_imports/save.json",{method:"post",body:Gt(Kn(Kn({},Ie),Ae),{list:Na,mode:vt})});za.status===0&&(Mt&&((pr=za==null?void 0:za.data)!=null&&pr.success)&&window.location.pathname==="/problemset"&&(wt.Z.publish("refresh-item-bank",Ae.group_id),yield new Promise(tr=>setTimeout(()=>tr(),1500))),Te.ZP.success(`\u6210\u529F\u5BFC\u5165${(Wa=za==null?void 0:za.data)==null?void 0:Wa.success}\u9053\u8BD5\u9898`,3),Oe(),pn(!1)),Ln(!1)});if(vt!==1){yield zn();return}const qn=yield(0,Ge.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:Dn,mode:vt}});if(qn.status===0){if(!((hn=qn==null?void 0:qn.data)!=null&&hn.error_size)){yield zn();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"},(ba=qn==null?void 0:qn.data)==null?void 0:ba.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:zn})}})},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:He}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},b.createElement(De.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:Ae=>Bn(void 0,null,function*(){var hn;Ba(!0),(yield(0,Ge.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:Ae.name,parent_id:(hn=Ae==null?void 0:Ae.parent_id)==null?void 0:hn[0]}})).status===0?(Qn(bt+1),setTimeout(()=>{Te.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(De.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)){Te.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(mr===2&&!lr(Vr)&&!(Ue!=null&&Ue.length)){Te.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const Ae=[{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(Ae.reduce((ba,un)=>ba+un.num,0)===0){Te.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(Ae)};mr===2&&(Rn.file=(Ue==null?void 0:Ue[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:Ae=>Nr(Ae.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:Ae=>{xr(Ae.target.value)}}),mr===2&&b.createElement(b.Fragment,null,b.createElement(Je.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:Ue,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),Te=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,wt=window.innerHeight-dt.offsetHeight;Le=Math.max(0,Math.min(Le,gt)),ot=Math.max(0,Math.min(ot,wt)),De(ft.clientX,ft.clientY,Qe,We)&&(te(Le),se(ot))},document.body.onmouseup=function(){document.body.onmousemove=null}},De=(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 He=()=>{je||Je||ve(!0)};return Te.createElement("div",{style:E},Te.createElement("div",{style:{width:qe||"100%",position:"relative"},className:`${de.Z.mathFillWrap} ${je||Je?"cursorDefault":""}`,onClick:()=>He()},Te.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||""})),Te.createElement(_e.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:re},title:Te.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"},Te.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),Te=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(Te.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(Te.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(Te.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(Te.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),Te=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,Te.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,Te.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),Te=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){Te.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),Te=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,De=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Qe=(nt,we,fe)=>we in nt?ve(nt,we,{enumerable:!0,configurable:!0,writable:!0,value:fe}):nt[we]=fe,We=(nt,we)=>{for(var fe in we||(we={}))He.call(we,fe)&&Qe(nt,fe,we[fe]);if(De)for(var fe of De(we))he.call(we,fe)&&Qe(nt,fe,we[fe]);return nt},ft=(nt,we)=>ye(nt,Ge(we)),Le=(nt,we,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,we)).next())}),dt=({buttonProps:nt,buttonText:we,form:fe,hackIdentifier:Xe="",answerKey:Rt,data:Oe})=>{const[Ie,vt]=(0,b.useState)(!1),[et,Me]=(0,b.useState)(!1),[St,An]=(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,wn=()=>{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 Dn=qt.value||qt.answer_text||"";ar=ar.replace(/(@▁@|@▁▁@)/,Dn)}),yt(Br),Cn(ar),fn({}),An(!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,Dn=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:wa,data:ut}=yield(0,z.rX)(Bt.current,"submit"),Ln=dn()-Br>(qt+3)*1e3*Dn;if(Mt.current){if(Ln){Ye.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),vt(!1);return}if(wa===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,Dn;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 wa="";const ut=fe.getFieldsValue();Zt.current?wa=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:(Dn=(qt=ut==null?void 0:ut.hack)==null?void 0:qt.sub_discipline_id)==null?void 0:Dn[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})}):(wa=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=wa==null?void 0:wa.identifier,sessionStorage.projectFill=wa==null?void 0:wa.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),wn();return}Me(!1)}),Ra=_a=>{const{status:gr,error_msg:ar,execute_time:pa,output:Br,input:qt,expected_output:Dn}=_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"}},Dn&&a.Base64.decode(Dn)));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}),we),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,An(!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),wt=ee(59301),sn=Object.defineProperty,Ft=Object.defineProperties,on=Object.getOwnPropertyDescriptors,cn=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,rn=(nt,we,fe)=>we in nt?sn(nt,we,{enumerable:!0,configurable:!0,writable:!0,value:fe}):nt[we]=fe,Kn=(nt,we)=>{for(var fe in we||(we={}))Ve.call(we,fe)&&rn(nt,fe,we[fe]);if(cn)for(var fe of cn(we))at.call(we,fe)&&rn(nt,fe,we[fe]);return nt},Gt=(nt,we)=>Ft(nt,on(we)),Bn=(nt,we)=>{var fe={};for(var Xe in nt)Ve.call(nt,Xe)&&we.indexOf(Xe)<0&&(fe[Xe]=nt[Xe]);if(nt!=null&&cn)for(var Xe of cn(nt))we.indexOf(Xe)<0&&at.call(nt,Xe)&&(fe[Xe]=nt[Xe]);return fe};const{TextArea:ze}=de.default,ct=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Lt=({value:nt,onChange:we})=>wt.createElement(Switch,{checked:nt,onChange:fe=>{we(fe)}}),mt="@\u2581@",Nt="@\u2581\u2581@",st=({questionTitlePlaceholder:nt,form:we,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",An=(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 wn=Bt.getLine(dn).substring(0,Mt.ch);return gn+=wn.split(mt).length-1,gn+=wn.split(Nt).length-1,gn},nn=(Bt,Mt,dn,gn)=>{const wn=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(wn&&(wn.indexOf(mt)!==-1||wn.indexOf(Nt)!==-1)){const ha=wn.split(mt).length-1+wn.split(Nt).length-1,Ra=An(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=An(Bt,Mt.from);console.log(`\u65B0\u589E${Jn}\u4E2A\uFF0C\u4E4B\u524D\u6709${ha}\u4E2A`),dn(Jn,ha)}}},fn=()=>{const Bt=we.getFieldValue(Rt);we.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,we);return wt.createElement("div",{className:Je.Z.wrap},wt.createElement(Be.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},wt.createElement(Ke.h,{scrollId:"name",watch:!0,height:140})),wt.createElement("div",{className:Je.Z.questionTitleEditorWrap},wt.createElement(Be.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},wt.createElement(Ke.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(Bt,Mt)=>{const dn=we.getFieldValue(Rt);console.log("--preAnswerData",dn,Mt),we.setFieldsValue({[Rt]:dn==null?void 0:dn.map((gn,wn)=>{var Jn;return Gt(Kn({},gn),{position:wn+1,multi_line:(Jn=Mt==null?void 0:Mt[wn])==null?void 0:Jn.multiLine})})})},placeholder:nt,onCMBeforeChange:(Bt,Mt)=>{nn(Bt,Mt,Cn,yt)}}))),wt.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,wt.createElement(wt.Fragment,null,wt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},wt.createElement(Be.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),wt.createElement("div",{onClick:()=>{Ne.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:wt.createElement("div",null,wt.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",wt.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),wt.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"}},wt.createElement(gt.Z,{style:{marginRight:3,color:"#3061D0"}}),wt.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),Bt.map((wn,Jn)=>{var ha=wn,{key:Ra,name:_a}=ha,gr=Bn(ha,["key","name"]),ar,pa;return wt.createElement(_e.Z,{className:"mb20",key:Ra,align:"middle",wrap:!1},wt.createElement(Te.Z,{flex:"0 0 auto",className:`${Je.Z.blankIndex}`},"\u586B\u7A7A\u9879",Jn+1),wt.createElement(Te.Z,{flex:1},wt.createElement(_e.Z,{align:"top",justify:"space-between",wrap:!1},wt.createElement(Te.Z,null,wt.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?wt.createElement(ze,{spellCheck:!1,style:{marginLeft:10,width:550}}):wt.createElement(de.default,{style:{marginLeft:10,width:550},className:Je.Z.blankInput,size:"large",maxLength:1e3,onBlur:Br=>{}}))),fe&&wt.createElement(Te.Z,{flex:"224px"},wt.createElement(Be.default.Item,Gt(Kn({},gr),{name:[_a,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),wt.createElement(le.Z,{size:"large",className:Je.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),wt.createElement("div",{onClick:()=>Ie(!0)},wt.createElement(Be.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},wt.createElement(Ke.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Oe}))),wt.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"}]},wt.createElement(it.default,{size:"large"},ct.map(Bt=>wt.createElement(it.default.Option,{key:Bt.title,value:Bt.key}," ",Bt.title)))),wt.createElement(Be.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},wt.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},wt.createElement(le.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),wt.createElement("span",{className:"ml10 font14"},"\u79D2")),wt.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"}]},wt.createElement(qe.ZP.Group,{style:{marginTop:-10}},wt.createElement(qe.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),wt.createElement(qe.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),wt.createElement(qe.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),wt.createElement(Be.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),wt.createElement("div",{style:{background:"#F6F7F9",padding:15}},wt.createElement(Be.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},wt.createElement(ze,{rows:4})),wt.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"}]},wt.createElement(ze,{rows:4}))),wt.createElement(dt,{form:we,answerKey:Rt,hackIdentifier:Xe,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:wt.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),Te=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 De in ve)E.call(ve,De)&&ye.indexOf(De)<0&&(Ge[De]=ve[De]);if(ve!=null&&ue)for(var De of ue(ve))ye.indexOf(De)<0&&a.call(ve,De)&&(Ge[De]=ve[De]);return Ge};const re=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],se=({value:ve,onChange:ye,choiceTextKey:Ge,answerKey:De,index:He,isEdit:he,setInputActive:Qe,form:We,choiceOptionsPath:ft,allowChangeMode:Le,showAddIcon:ot,addItem:dt,deleteItem:gt})=>{console.log(ve,"value");const wt=(ve==null?void 0:ve[De])===1,sn=()=>{const on=We.getFieldValue(ft);We.setFieldValue(ft,on.map(cn=>z(y({},cn),{[De]:0})))},Ft=()=>{wt?ye(z(y({},ve),{[De]:0})):(Le||sn(),ye(z(y({},ve),{[De]:1})))};return Ke.createElement(de.Z,{className:Te.Z.choiceWrap,align:"middle",wrap:!1},Ke.createElement(Be.Z,{onClick:Ft,className:`${Te.Z.choiceIndex} ${wt?Te.Z.activeAnswer:""}`},re[He]),Ke.createElement(Be.Z,{flex:1,className:`${Te.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:`${Te.Z.setAnswerBtn} ${wt?Te.Z.activeAnswer:""}`},wt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Ke.createElement(Be.Z,{className:Te.Z.actionWrapper},Ke.createElement(Ne.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Ke.createElement(le.Z,{className:Te.Z.addIcon,onClick:dt,style:{visibility:ot?"visible":"hidden"}})),Ke.createElement(Ne.Z,{title:"\u5220\u9664"},Ke.createElement(it.Z,{className:Te.Z.deleteIcon,onClick:gt,style:{visibility:He>1?"visible":"hidden"}}))))},ie=({questionTitlePlaceholder:ve,titleKey:ye,choiceKey:Ge,analysisKey:De,choiceTextKey:He,answerKey:he,choiceOptionsPath:Qe,allowChangeMode:We=!0,form:ft,showAnalysis:Le=!0})=>{const[ot,dt]=(0,b.useState)(),[gt,wt]=(0,b.useState)(!1);return Ke.createElement("div",{className:Te.Z.wrap},Ke.createElement("div",{className:Te.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[He])==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 Bn=ot===rn,ze=()=>{dt(rn)},ct=Ve<7&&Ve===sn.length-1,Lt=()=>Ft({[He]:"",[he]:0}),mt=()=>on(Kn);return Ke.createElement(_e.default.Item,z(y({},Gt),{key:rn,name:Kn,className:Te.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:He,answerKey:he,index:Ve,isEdit:Bn,setInputActive:ze,form:ft,choiceOptionsPath:Qe,allowChangeMode:We,showAddIcon:ct,addItem:Lt,deleteItem:mt}))}),sn.length<8&&Ke.createElement("div",{className:`${Te.Z.addBtn} mb30`,onClick:()=>Ft({[He]:"",[he]:0})},"\u6DFB\u52A0\u9009\u9879"))),Le&&Ke.createElement("div",{onClick:()=>wt(!0)},Ke.createElement(_e.default.Item,{name:De,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),Te=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 De=({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 wt=[...ft];wt.splice(gt,1),Le(wt)}})},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,wt)=>a.createElement(Be.Z,{key:`${gt}_${wt}`,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[wt]=on,Le(Ft)}}),a.createElement(Te.Z,{title:"\u5220\u9664"},a.createElement(Je.Z,{className:ue.Z.deleteIcon,style:{marginLeft:15,visibility:wt>0?"visible":"hidden"},onClick:()=>ot(wt)}))))),a.createElement(Ne.Z,null,a.createElement("div",{className:`${ue.Z.addBtn}`,onClick:()=>{dt()}},"\u65B0\u589E\u7B54\u6848")))},He=({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 wt=[...ft];wt.splice(gt,1),Le(wt)}})},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,wt)=>a.createElement(Be.Z,{key:`${gt}_${wt}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:gt,style:{flex:1},onChange:sn=>{const Ft=[...ft];Ft[wt]=sn,Le(Ft)}}),a.createElement(Te.Z,{title:"\u5220\u9664"},a.createElement(Je.Z,{className:ue.Z.deleteIcon,style:{marginLeft:15,visibility:wt>0?"visible":"hidden"},onClick:()=>ot(wt)}))))),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,wt]=(0,b.useState)(!1),sn=(Gt,Bn)=>{const ze=Bn.line;let ct=0;for(let mt=0;mt<ze;mt++)ct+=Gt.getLine(mt).split(Qe).length-1;const Lt=Gt.getLine(ze).substring(0,Bn.ch);return ct+=Lt.split(Qe).length-1,ct},Ft=(Gt,Bn,ze,ct)=>{const Lt=Gt.getRange(Bn.from,Bn.to);let mt=0;if(Bn.text.forEach(Nt=>{mt+=Nt.split(Qe).length-1}),Bn.origin!=="setValue"){if(Lt&&Lt.indexOf(Qe)!==-1){const Nt=Lt.split(Qe).length-1,st=sn(Gt,Bn.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},(we,fe)=>st+fe);ct(nt)}else ct(st)}else if(mt>0){const Nt=sn(Gt,Bn.from);console.log(`\u65B0\u589E${mt}\u4E2A\uFF0C\u4E4B\u524D\u6709${Nt}\u4E2A`),ze(mt,Nt)}}},on=()=>{const Gt=Le.getFieldValue(dt);Le.setFieldsValue({[dt]:Gt.map((Bn,ze)=>ye(ve({},Bn),{position:ze+1}))})},cn=(0,b.useRef)(),Ve=(Gt,Bn)=>{for(let ze=0;ze<Gt;ze++)cn.current({position:null,answer_text:[""],model:1},Bn+ze);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,Bn)=>{Ft(Gt,Bn,Ve,rn)}}))),a.createElement(it.default.List,{name:dt,rules:[{validator(Gt,Bn){if(!(Bn!=null&&Bn.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const ze of Bn){const{answer_text:ct}=ze||{};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:Bn,remove:ze},{errors:ct})=>(cn.current=Bn,at.current=ze,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,we=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({},we),{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(Te.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(Te.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({},we),{name:[nt,"answer_text"],noStyle:!0}),((Xe=(fe=Le.getFieldValue(dt))==null?void 0:fe[nt])==null?void 0:Xe.model)===1?a.createElement(De,null):a.createElement(He,null))),ot&&a.createElement(Ne.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(it.default.Item,ye(ve({},we),{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({},we),{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:()=>wt(!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),Te=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 De=ie.getFieldsValue().choices.map(He=>({choice_text:He.choice_text,is_answer:0}));ie.setFieldsValue({choices:De}),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(Te.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,De){return De.some(he=>(he==null?void 0:he.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Ge=>le.createElement("div",{id:"choices"},Ge.map(De=>{var He=De,{key:he,name:Qe}=He,We=x(He,["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(Te.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,Te=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)=>Te(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 He}});var b=ee(59301),de=ee(8591),Be=ee(12563),Ne=ee(78241),_e=ee(78673),Te=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},De=({value:he=[],onClose:Qe})=>b.createElement(Be.default,{closable:!0,onClose:Qe,className:je.Z.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},he.join(" \u6216 "))),He=({questionTitlePlaceholder:he,form:Qe,showKeywords:We,isMustKeyWords:ft=We})=>{const[Le,ot]=(0,b.useState)(!1),[dt,gt]=(0,b.useState)(""),wt=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(Te.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"}})))),(wt||!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(Te.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 Bn=`${(at=Ve.target)==null?void 0:at.value}`,ze=(Kn=(rn=Bn==null?void 0:Bn.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 ze)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(Bn)&&(on({keyword:ze,score:1}),gt(""))},className:je.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),b.createElement(le.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Ft.map(Ve=>{var at=Ve,{key:rn,name:Kn}=at,Gt=ve(at,["key","name"]);return b.createElement(Te.Z,{key:rn,className:"mb20",style:{marginRight:148}},b.createElement(le.Z,{flex:1},b.createElement(Te.Z,{align:"middle",justify:"space-between"},b.createElement(Ne.default.Item,ie(se({},Gt),{name:[Kn,"keyword"]}),b.createElement(De,{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:Te,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"},Te));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),Te=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=(De,He,he)=>He in De?qe(De,He,{enumerable:!0,configurable:!0,writable:!0,value:he}):De[He]=he,a=(De,He)=>{for(var he in He||(He={}))Ye.call(He,he)&&E(De,he,He[he]);if(Je)for(var he of Je(He))ue.call(He,he)&&E(De,he,He[he]);return De},x=(De,He)=>Ke(De,je(He)),y=(De,He)=>{var he={};for(var Qe in De)Ye.call(De,Qe)&&He.indexOf(Qe)<0&&(he[Qe]=De[Qe]);if(De!=null&&Je)for(var Qe of Je(De))He.indexOf(Qe)<0&&ue.call(De,Qe)&&(he[Qe]=De[Qe]);return he},z=(De,He,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(De,He)).next())});const te=({studentNames:De,total:He})=>{const he=["","\u4E00","\u4E24","\u4E09"];return He>3?b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:le.orangeColor},De==null?void 0:De.join("\u3001")),"\u7B49",b.createElement("span",{className:le.orangeColor},He),"\u540D\u5B66\u751F"):b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:le.orangeColor},De==null?void 0:De.join("\u3001")),he[He],"\u540D\u5B66\u751F")},re=({used:De,copy:He,canNotCopy:he,studentNames:Qe,studentCount:We,inPaper:ft,is_random:Le=!1,position:ot=""})=>{const dt=()=>{if(He>0&&he>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},He),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",b.createElement("span",{className:le.orangeColor},he),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(He>0&&he===0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},He),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(He===0&&he>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},he),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},gt=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},De),"\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:De,onOk:He,visible:he,inPaper:Qe,renderData:We,type:ft,isMultipleCourse:Le=!1})=>{const[ot]=de.default.useForm(),[dt,gt]=(0,b.useState)(1),[wt,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:wt,onCancel:De,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 He(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:wt,title:"\u63D0\u793A",width:682,onCancel:De,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 He(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[De,He]=(0,b.useState)(!1),[he,Qe]=(0,b.useState)();return[De,()=>He(!1),he,Le=>z(this,null,function*(){var ot;const dt=Le,{isImportMultipleCourse:gt=!1}=dt,wt=y(dt,["isImportMultipleCourse"]);console.log(Le);const sn=(Le==null?void 0:Le.result)||(yield(0,it.Tr)(wt));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),He(!0),!0):sn.course_data_list||[]:sn.student_count===0?!1:(Qe(sn),He(!0),!0)})]},ve=De=>{const[He]=de.default.useForm(),[he,Qe]=(0,b.useState)(!1),{onCancel:We,onOk:ft,visible:Le,inPaper:ot=!1,renderData:dt,type:gt,isMultipleCourse:wt=!1,position:sn}=De;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(wt){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=He.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:He,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(Te.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(Te.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=De=>{const{modalType:He}=De;return He==="multiple"?b.createElement(ve,a({},De)):b.createElement(se,a({},De))}},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,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",_e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Te=(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:De}=Ke;let He=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},De),"\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},De),"\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},De),"\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},De)," \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},De),"\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},De),"\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},De),"\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",He&&b.createElement("span",{className:de.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),qe==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",He&&b.createElement("span",{className:de.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),b.createElement("div",null,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:!He&&"none"}},zIndex:1003,confirmLoading:Ye,okText:He?Je:"\u6211\u77E5\u9053\u4E86",onOk:()=>Te(void 0,null,function*(){He?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),Te=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(He){ye(te[He][1])}function De(He){se(He)}return b.createElement(Be.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:De,style:{width:500}}),b.createElement(Be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(de.default,{getPopupContainer:He=>He.parentNode,onChange:Ge},Object.keys(te).map(He=>b.createElement(y,{key:He,value:He},te[He][0])))),b.createElement(Be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(re,{mode:ve})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ne.ZP,{type:"ghost",onClick:ie},"\u53D6\u6D88")))};function re({value:se,onChange:ie,mode:ve,options:ye={}}){const Ge=(0,b.useRef)(),[De,He]=(0,b.useState)();return(0,b.useEffect)(()=>{if(De){let he=function(Qe){const We=Qe.getValue();ie&&ie(We)};return De.on("change",he),()=>{De.off("change",he)}}},[De,ie]),(0,b.useEffect)(()=>{De&&De.setOption("mode",ve)},[De,ve]),(0,b.useEffect)(()=>{De&&(se!==De.getValue()||se==="")&&setTimeout(()=>{De.setValue(se||"")},300)},[De,se]),(0,b.useEffect)(()=>{if(Ge.current&&!De){const he=Te().fromTextArea(Ge.current,a({mode:ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ye));He(he)}},[Ge.current,De]),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),Te=ee(6313),le=ee(25717),it=ee(99498),qe=ee(25419),Ke=ee(67549),je=ee(91842),Je=({value:It="",className:Tt,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,Tt,bt)=>Tt in It?ue(It,Tt,{enumerable:!0,configurable:!0,writable:!0,value:bt}):It[Tt]=bt,re=(It,Tt)=>{for(var bt in Tt||(Tt={}))y.call(Tt,bt)&&te(It,bt,Tt[bt]);if(x)for(var bt of x(Tt))z.call(Tt,bt)&&te(It,bt,Tt[bt]);return It},se=(It,Tt)=>E(It,a(Tt));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:Tt,icon:bt,actionName:Qn,className:Yn="",children:Gn}){function ir(){It(Qn)}return Ye.createElement("a",{title:Tt,className:Yn,onClick:ir},Ye.createElement("i",{className:`${bt}`}),Gn)}var ye=({watch:It,showNullButton:Tt,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(($a,Aa)=>Ye.createElement("li",{key:Aa},$a.actionName?Ye.createElement(ve,se(re({},$a),{onActionCallback:Qn})):Ye.createElement("span",{className:"v-line"}))),Tt?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),De=ee(78241),He=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,Tt,bt)=>Tt in It?Qe(It,Tt,{enumerable:!0,configurable:!0,writable:!0,value:bt}):It[Tt]=bt,wt=(It,Tt)=>{for(var bt in Tt||(Tt={}))ot.call(Tt,bt)&&gt(It,bt,Tt[bt]);if(Le)for(var bt of Le(Tt))dt.call(Tt,bt)&&gt(It,bt,Tt[bt]);return It},sn=(It,Tt)=>We(It,ft(Tt));const Ft={labelCol:{span:4},wrapperCol:{span:20}};var on=({callback:It,onCancel:Tt})=>{function bt(Qn){It(Qn)}return b.createElement(De.default,sn(wt({},Ft),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:bt,style:{width:500}}),b.createElement(De.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(He.default,null)),b.createElement(De.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(He.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(he.ZP,{type:"ghost",onClick:Tt},"\u53D6\u6D88")))},cn=ee(69720),Ve=ee(17077),at=ee(43418),rn=ee(95237),Kn=ee(9507),Gt=ee(59301),Bn=({callback:It,onCancel:Tt})=>{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:Tt})))},ze=ee(12378);function ct(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ct,go.CommandHandler),ct.prototype.canAlignSelection=function(){var 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 Tt=1/0;It.selection.each(function(bt){bt instanceof go.Link||(Tt=Math.min(bt.position.x,Tt))}),It.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(Tt,bt.position.y))}),It.commitTransaction("aligning left")},ct.prototype.alignRight=function(){var It=this.diagram;It.startTransaction("aligning right");var Tt=-1/0;It.selection.each(function(bt){if(!(bt instanceof go.Link)){var Qn=bt.actualBounds.x+bt.actualBounds.width;Tt=Math.max(Qn,Tt)}}),It.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(Tt-bt.actualBounds.width,bt.position.y))}),It.commitTransaction("aligning right")},ct.prototype.alignTop=function(){var It=this.diagram;It.startTransaction("alignTop");var Tt=1/0;It.selection.each(function(bt){bt instanceof go.Link||(Tt=Math.min(bt.position.y,Tt))}),It.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(bt.position.x,Tt))}),It.commitTransaction("alignTop")},ct.prototype.alignBottom=function(){var It=this.diagram;It.startTransaction("aligning bottom");var Tt=-1/0;It.selection.each(function(bt){if(!(bt instanceof go.Link)){var Qn=bt.actualBounds.y+bt.actualBounds.height;Tt=Math.max(Qn,Tt)}}),It.selection.each(function(bt){bt instanceof go.Link||bt.move(new go.Point(bt.actualBounds.x,Tt-bt.actualBounds.height))}),It.commitTransaction("aligning bottom")},ct.prototype.alignCenterX=function(){var It=this.diagram,Tt=It.selection.first();if(Tt){It.startTransaction("aligning Center X");var bt=Tt.actualBounds.x+Tt.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,Tt=It.selection.first();if(Tt){It.startTransaction("aligning Center Y");var bt=Tt.actualBounds.y+Tt.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 Tt=this.diagram;Tt.startTransaction("align Column"),It===void 0&&(It=0),It=parseFloat(It);var bt=new Array;Tt.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))}Tt.commitTransaction("align Column")},ct.prototype.alignRow=function(It){It===void 0&&(It=0),It=parseFloat(It);var Tt=this.diagram;Tt.startTransaction("align Row");var bt=new Array;Tt.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))}Tt.commitTransaction("align Row")},ct.prototype.canRotate=function(It){var Tt=this.diagram;return!(Tt===null||Tt.isReadOnly||Tt.isModelReadOnly||Tt.selection.count<1)},ct.prototype.rotate=function(It){It===void 0&&(It=90);var Tt=this.diagram;Tt.startTransaction("rotate "+It.toString());var Tt=this.diagram;Tt.selection.each(function(bt){bt instanceof go.Link||bt instanceof go.Group||(bt.angle+=It)}),Tt.commitTransaction("rotate "+It.toString())},ct.prototype.pullToFront=function(){var It=this.diagram;It.startTransaction("pullToFront");var Tt=new go.Map;It.selection.each(function(bt){Tt.set(bt.layer,0)}),Tt.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)}}),Tt.set(bt,Qn)}),It.selection.each(function(bt){ct._assignZOrder(bt,Tt.get(bt.layer)+1)}),It.commitTransaction("pullToFront")},ct.prototype.pushToBack=function(){var It=this.diagram;It.startTransaction("pushToBack");var Tt=new go.Map;It.selection.each(function(bt){Tt.set(bt.layer,0)}),Tt.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)}}),Tt.set(bt,Qn)}),It.selection.each(function(bt){ct._assignZOrder(bt,Tt.get(bt.layer)-1-ct._findGroupDepth(bt))}),It.commitTransaction("pushToBack")},ct._assignZOrder=function(It,Tt,bt){bt===void 0&&(bt=It),It.layer===bt.layer&&(It.zOrder=Tt),It instanceof go.Group&&It.memberParts.each(function(Qn){ct._assignZOrder(Qn,Tt+1,bt)})},ct._findGroupDepth=function(It){if(It instanceof go.Group){var Tt=0;return It.memberParts.each(function(bt){Tt=Math.max(Tt,ct._findGroupDepth(bt))}),Tt+1}else return 0},ct.prototype.doKeyDown=function(){var It=this.diagram;if(It!==null){var Tt=It.lastInput;if(Tt.key==="Up"||Tt.key==="Down"||Tt.key==="Left"||Tt.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(Tt){It.push(Tt)}),this.diagram.parts.each(function(Tt){It.push(Tt)}),It},ct.prototype._arrowKeyMove=function(){var It=this.diagram,Tt=It.lastInput,bt=0,Qn=0;if(Tt.control||Tt.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){Tt.key==="Up"?Gn.move(new go.Point(Gn.actualBounds.x,Gn.actualBounds.y-bt)):Tt.key==="Down"?Gn.move(new go.Point(Gn.actualBounds.x,Gn.actualBounds.y+bt)):Tt.key==="Left"?Gn.move(new go.Point(Gn.actualBounds.x-Qn,Gn.actualBounds.y)):Tt.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,Tt=It.lastInput,bt=null;Tt.key==="Up"?bt=this._findNearestPartTowards(270):Tt.key==="Down"?bt=this._findNearestPartTowards(90):Tt.key==="Left"?bt=this._findNearestPartTowards(180):Tt.key==="Right"&&(bt=this._findNearestPartTowards(0)),bt!==null&&(Tt.shift?bt.isSelected=!0:Tt.control||Tt.meta?bt.isSelected=!bt.isSelected:It.select(bt))},ct.prototype._findNearestPartTowards=function(It){var Tt=this.diagram.selection.first();if(Tt===null)return null;for(var bt=Tt.actualBounds.center,Qn=this._getAllParts(),Yn=1/0,Gn=Tt,ir=0;ir<Qn.length;ir++){var Ba=Qn[ir];if(Ba!==Tt&&Ba.canSelect()){var Xn=Ba.actualBounds.center,$a=bt.directionPoint(Xn),Aa=this._angleCloseness($a,It);if(Aa<=45){var Nn=bt.distanceSquaredPoint(Xn);Nn*=1+Math.sin(Aa*Math.PI/180),Nn<Yn&&(Yn=Nn,Gn=Ba)}}}return Gn},ct.prototype._angleCloseness=function(It,Tt){return Math.min(Math.abs(Tt-It),Math.min(Math.abs(Tt+360-It),Math.abs(Tt-360-It)))},ct.prototype._arrowKeyTree=function(){var It=this.diagram,Tt=It.selection.first();if(Tt instanceof go.Node){var bt=It.lastInput;if(bt.key==="Right"){if(!Tt.isTreeLeaf)if(!Tt.isTreeExpanded)It.commandHandler.canExpandTree(Tt)&&It.commandHandler.expandTree(Tt);else{var Qn=this._sortTreeChildrenByY(Tt).first();Qn!==null&&It.select(Qn)}}else if(bt.key==="Left")if(!Tt.isTreeLeaf&&Tt.isTreeExpanded)It.commandHandler.canCollapseTree(Tt)&&It.commandHandler.collapseTree(Tt);else{var Yn=Tt.findTreeParentNode();Yn!==null&&It.select(Yn)}else if(bt.key==="Up"){var Yn=Tt.findTreeParentNode();if(Yn!==null){var Gn=this._sortTreeChildrenByY(Yn),ir=Gn.indexOf(Tt);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(Tt.isTreeExpanded&&!Tt.isTreeLeaf){var Qn=this._sortTreeChildrenByY(Tt).first();Qn!==null&&It.select(Qn)}else for(;Tt!==null;){var Yn=Tt.findTreeParentNode();if(Yn===null)break;var Gn=this._sortTreeChildrenByY(Yn),ir=Gn.indexOf(Tt);if(ir<Gn.length-1){It.select(Gn.elt(ir+1));break}else Tt=Yn}var $a=It.selection.first();$a!==null&&It.scrollToRect($a.actualBounds)}},ct.prototype._sortTreeChildrenByY=function(It){var Tt=new go.List().addAll(It.findTreeChildrenNodes());return Tt.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}),Tt},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"},we=ee(59301),fe=(It,Tt,bt)=>new Promise((Qn,Yn)=>{var Gn=Xn=>{try{Ba(bt.next(Xn))}catch($a){Yn($a)}},ir=Xn=>{try{Ba(bt.throw(Xn))}catch($a){Yn($a)}},Ba=Xn=>Xn.done?Qn(Xn.value):Promise.resolve(Xn.value).then(Gn,ir);Ba((bt=bt.apply(It,Tt)).next())});function Xe({onCancel:It,callback:Tt}){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 $a(){const Nn=ze.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 ze.S0(Qn.current,{padding:20,grid:Nn(ze.s_,"Grid",Nn(ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Nn(ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Un=>{var na=Un.diagram.commandHandler.addTopLevelParts(Un.diagram.selection,!0);na||Un.diagram.currentTool.doCancel()},commandHandler:Nn(Lt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Un=>{var na=Un.subject;na.location=na.location.copy().snapToGridPoint(Un.diagram.grid.gridOrigin,Un.diagram.grid.gridCellSize),setTimeout(()=>{Un.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Un=>{var na=Un.subject;setTimeout(()=>{Un.diagram.commandHandler.editTextBlock()})},LinkRelinked:Un=>{var na=Un.parameter.part;na.invalidateConnectedLinks();var ya=Un.subject;Un.diagram.toolManager.linkingTool.isForwards?ya.toNode.invalidateConnectedLinks():ya.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),bt.current.nodeTemplate=Nn(ze.NB,"Auto",{locationSpot:ze.z6.Center,locationObjectName:"SHAPE",desiredSize:new ze.$u(120,60),minSize:new ze.$u(40,40),resizable:!0,resizeCellSize:new ze.$u(10,10),rotatable:!0},new ze.KX("location","loc",ze.E9.parse).makeTwoWay(ze.E9.stringify),new ze.KX("desiredSize","size",ze.$u.parse).makeTwoWay(ze.$u.stringify),Nn(ze.bn,{name:"SHAPE",fill:mr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ze.z6.AllSides,toSpot:ze.z6.AllSides},new ze.KX("figure"),new ze.KX("fill"),new ze.KX("stroke","borderColor"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Nn(ze.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Nn(ze.al,{margin:1,textAlign:"center",overflow:ze.al.OverflowEllipsis,editable:!0},new ze.KX("text").makeTwoWay(),new ze.KX("stroke","color"))),bt.current.nodeTemplate.toolTip=Nn("ToolTip",Nn(ze.s_,"Vertical",{maxSize:new ze.$u(200,NaN)},Nn(ze.al,{font:"bold 10pt sans-serif",textAlign:"center"},new ze.KX("text")),Nn(ze.al,{font:"10pt sans-serif",textAlign:"center"},new ze.KX("text","details"))));function Nr(Un,na){var ya=(Pa,vr)=>{Pa.handled=!0,Pa.diagram.model.commit(kr=>{var Ya=vr.part.adornedPart,lr=new ze.E9().setRectSpot(Ya.actualBounds,Un);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=kr.copyNodeData(Ya.data);kr.setGroupKeyForNodeData(hr,kr.getGroupKeyForNodeData(Ya.data)),kr.addNodeData(hr);var Po={from:Ya.key,to:kr.getKeyForNodeData(hr)};kr.addLinkData(Po);var ri=Pa.diagram.findNodeForData(hr);ri.location=lr,Pa.diagram.select(ri),setTimeout(()=>{Pa.diagram.commandHandler.editTextBlock()},20)})};return Nn(ze.bn,{figure:na,alignment:Un,alignmentFocus:Un.opposite(),width:Un.equals(ze.z6.Top)||Un.equals(ze.z6.Bottom)?25:18,height:Un.equals(ze.z6.Top)||Un.equals(ze.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:ya,contextClick:ya})}function Vr(Un){return Nn(ze.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(na,ya)=>ya.fill="dodgerblue",mouseLeave:(na,ya)=>ya.fill="orange",click:(na,ya)=>{na.diagram.commandHandler.showContextMenu(ya.part.adornedPart)}},Un||{})}bt.current.nodeTemplate.selectionAdornmentTemplate=Nn(ze.uz,"Spot",Nn(ze.Vm,{padding:10}),Nr(ze.z6.Top,"TriangleUp"),Nr(ze.z6.Left,"TriangleLeft"),Nr(ze.z6.Right,"TriangleRight"),Nr(ze.z6.Bottom,"TriangleDown"),Vr({alignment:new ze.z6(.75,0)}));function xr(Un,na){return(ya,Pa)=>{ya.handled=!0,ya.diagram.model.commit(vr=>{vr.set(Pa.part.adornedPart.data,Un,na)})}}function Ue(Un,na){return na||(na="color"),Nn(ze.bn,{width:16,height:16,stroke:"lightgray",fill:Un,margin:1,background:"transparent",mouseEnter:(ya,Pa)=>Pa.stroke="dodgerblue",mouseLeave:(ya,Pa)=>Pa.stroke="lightgray",click:xr(na,Un),contextClick:xr(na,Un)})}function Pn(){return[Nn("ContextMenuButton",Nn(ze.s_,"Horizontal",Ue(mr.white,"fill"),Ue(mr.beige,"fill"),Ue(mr.extralightblue,"fill"),Ue(mr.extralightred,"fill"))),Nn("ContextMenuButton",Nn(ze.s_,"Horizontal",Ue(mr.lightgray,"fill"),Ue(mr.lightgreen,"fill"),Ue(mr.lightblue,"fill"),Ue(mr.lightred,"fill")))]}function Jt(){return[Nn("ContextMenuButton",Nn(ze.s_,"Horizontal",Ue(mr.black),Ue(mr.green),Ue(mr.blue),Ue(mr.red))),Nn("ContextMenuButton",Nn(ze.s_,"Horizontal",Ue(mr.white),Ue(mr.magenta),Ue(mr.purple),Ue(mr.orange)))]}function In(Un,na){return na||(na="thickness"),Nn(ze.bn,"LineH",{width:16,height:16,strokeWidth:Un,margin:1,background:"transparent",mouseEnter:(ya,Pa)=>Pa.background="dodgerblue",mouseLeave:(ya,Pa)=>Pa.background="transparent",click:xr(na,Un),contextClick:xr(na,Un)})}function Wn(Un,na){return na||(na="dash"),Nn(ze.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Un,margin:1,background:"transparent",mouseEnter:(ya,Pa)=>Pa.background="dodgerblue",mouseLeave:(ya,Pa)=>Pa.background="transparent",click:xr(na,Un),contextClick:xr(na,Un)})}function la(){return[Nn("ContextMenuButton",Nn(ze.s_,"Horizontal",In(1),In(2),In(3),In(4))),Nn("ContextMenuButton",Nn(ze.s_,"Horizontal",Wn(null),Wn([2,4]),Wn([4,4])))]}function Ct(Un,na){return na||(na="figure"),Nn(ze.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Un,margin:1,background:"transparent",mouseEnter:(ya,Pa)=>Pa.fill="dodgerblue",mouseLeave:(ya,Pa)=>Pa.fill="lightgray",click:xr(na,Un),contextClick:xr(na,Un)})}bt.current.nodeTemplate.contextMenu=Nn("ContextMenu",Nn("ContextMenuButton",Nn(ze.s_,"Horizontal",Ct("Rectangle"),Ct("RoundedRectangle"),Ct("Ellipse"),Ct("Diamond"))),Nn("ContextMenuButton",Nn(ze.s_,"Horizontal",Ct("Parallelogram2"),Ct("ManualOperation"),Ct("Procedure"),Ct("Cylinder1"))),Nn("ContextMenuButton",Nn(ze.s_,"Horizontal",Ct("Terminator"),Ct("CreateRequest"),Ct("Document"),Ct("TriangleDown"))),Pn(),Jt(),la()),bt.current.groupTemplate=Nn(ze.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:ze.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Un,na)=>{var ya=na.addMembers(na.diagram.selection,!0);ya||na.diagram.currentTool.doCancel()},avoidable:!1},new ze.KX("location","loc",ze.E9.parse).makeTwoWay(ze.E9.stringify),Nn(ze.s_,"Auto",{name:"BODY"},Nn(ze.bn,{parameter1:10,fill:mr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ze.z6.AllSides,toSpot:ze.z6.AllSides},new ze.KX("fill"),new ze.KX("stroke","color"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Nn(ze.Vm,{background:"transparent",margin:20})),Nn(ze.al,{alignment:ze.z6.Top,alignmentFocus:ze.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new ze.KX("text"),new ze.KX("stroke","color"))),bt.current.groupTemplate.selectionAdornmentTemplate=Nn(ze.uz,"Spot",Nn(ze.s_,"Auto",Nn(ze.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Nn(ze.Vm,{margin:1.5})),Vr({alignment:ze.z6.TopRight,alignmentFocus:ze.z6.BottomRight})),bt.current.groupTemplate.contextMenu=Nn("ContextMenu",Pn(),Jt(),la()),bt.current.linkTemplate=Nn(ze.rU,{layerName:"Foreground",routing:ze.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new ze.KX("fromSpot","fromSpot",ze.z6.parse),new ze.KX("toSpot","toSpot",ze.z6.parse),new ze.KX("fromShortLength","dir",Un=>Un>=1?10:0),new ze.KX("toShortLength","dir",Un=>Un>=1?10:0),new ze.KX("points").makeTwoWay(),Nn(ze.bn,{strokeWidth:2},new ze.KX("stroke","color"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Nn(ze.bn,{segmentIndex:0,segmentOffset:new ze.E9(15,0),segmentOrientation:ze.rU.OrientAlong,alignmentFocus:ze.z6.Right,figure:"circle",width:10,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",Un=>Un===1)),Nn(ze.bn,{segmentIndex:-1,segmentOffset:new ze.E9(-10,6),segmentOrientation:ze.rU.OrientPlus90,alignmentFocus:ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",Un=>Un>=1),new ze.KX("width","thickness",Un=>7+3*Un),new ze.KX("height","thickness",Un=>7+3*Un),new ze.KX("segmentOffset","thickness",Un=>new ze.E9(-15,4+1.5*Un))),Nn(ze.bn,{segmentIndex:0,segmentOffset:new ze.E9(15,-6),segmentOrientation:ze.rU.OrientMinus90,alignmentFocus:ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",Un=>Un===2),new ze.KX("width","thickness",Un=>7+3*Un),new ze.KX("height","thickness",Un=>7+3*Un),new ze.KX("segmentOffset","thickness",Un=>new ze.E9(-15,4+1.5*Un))),Nn(ze.al,{alignmentFocus:new ze.z6(0,1,-4,0),editable:!0},new ze.KX("text").makeTwoWay(),new ze.KX("stroke","color"))),bt.current.linkTemplate.selectionAdornmentTemplate=Nn(ze.uz,Nn(ze.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:xt(2)},new ze.KX("pathPattern","thickness",xt)),Vr({alignmentFocus:new ze.z6(0,0,-6,-4)}));function xt(Un){return Nn(ze.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Un+4).toString()+" H3"})}function an(Un){var na="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Un===0?na="M0 0 M16 16 M0 8 L16 8":Un===2&&(na="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Nn(ze.bn,{geometryString:na,margin:2,background:"transparent",mouseEnter:(ya,Pa)=>Pa.background="dodgerblue",mouseLeave:(ya,Pa)=>Pa.background="transparent",click:xr("dir",Un),contextClick:xr("dir",Un)})}function tn(Un){var na=(ya,Pa)=>{ya.handled=!0,ya.diagram.model.commit(vr=>{var kr=Pa.part.adornedPart;vr.set(kr.data,Un?"toSpot":"fromSpot",ze.z6.stringify(ze.z6.AllSides)),(Un?kr.toNode:kr.fromNode).invalidateConnectedLinks()})};return Nn(ze.bn,{width:12,height:12,fill:"transparent",mouseEnter:(ya,Pa)=>Pa.background="dodgerblue",mouseLeave:(ya,Pa)=>Pa.background="transparent",click:na,contextClick:na})}function Kt(Un,na){var ya=0,Pa=ze.z6.RightSide;Un.equals(ze.z6.Top)?(ya=270,Pa=ze.z6.TopSide):Un.equals(ze.z6.Left)?(ya=180,Pa=ze.z6.LeftSide):Un.equals(ze.z6.Bottom)&&(ya=90,Pa=ze.z6.BottomSide),na||(ya-=180);var vr=(kr,Ya)=>{kr.handled=!0,kr.diagram.model.commit(lr=>{var hr=Ya.part.adornedPart;lr.set(hr.data,na?"toSpot":"fromSpot",ze.z6.stringify(Pa)),(na?hr.toNode:hr.fromNode).invalidateConnectedLinks()})};return Nn(ze.bn,{alignment:Un,alignmentFocus:Un.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:ya,background:"transparent",mouseEnter:(kr,Ya)=>Ya.background="dodgerblue",mouseLeave:(kr,Ya)=>Ya.background="transparent",click:vr,contextClick:vr})}bt.current.linkTemplate.contextMenu=Nn("ContextMenu",Jt(),la(),Nn("ContextMenuButton",Nn(ze.s_,"Horizontal",an(0),an(1),an(2))),Nn("ContextMenuButton",Nn(ze.s_,"Horizontal",Nn(ze.s_,"Spot",tn(!1),Kt(ze.z6.Top,!1),Kt(ze.z6.Left,!1),Kt(ze.z6.Right,!1),Kt(ze.z6.Bottom,!1)),Nn(ze.s_,"Spot",{margin:new ze.Zt(0,0,0,2)},tn(!0),Kt(ze.z6.Top,!0),Kt(ze.z6.Left,!0),Kt(ze.z6.Right,!0),Kt(ze.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(Un){return console.log("shapeName:",Un),Ea.indexOf(Un)>=0}var Ha=new ze.YI(Yn.current,{maxSelectionCount:1,linkTemplate:Nn(ze.rU,{locationSpot:ze.z6.Center,selectionAdornmentTemplate:Nn(ze.uz,"Link",{locationSpot:ze.z6.Center},Nn(ze.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Nn(ze.bn,{toArrow:"Standard",stroke:null}))},{routing:ze.rU.AvoidsNodes,curve:ze.rU.JumpOver,corner:5,toShortLength:4},new ze.KX("points"),Nn(ze.bn,{isPanelMain:!0,strokeWidth:2}),Nn(ze.bn,{toArrow:"Standard",stroke:null})),model:new ze.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...ze.bn.getFigureGenerators().toArray().map(Un=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Un.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return bt.current.addDiagramListener("TextEdited",function(Un){var na;const ya=Un.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(ya.data,"text","\u672A\u547D\u540D"),bt.current.commandHandler.stopCommand()},"increment")}),Ha.nodeTemplate=Nn(ze.NB,"Auto",{locationSpot:ze.z6.Center},new ze.KX("location","location",ze.E9.parse).makeTwoWay(ze.E9.stringify),Nn(ze.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new ze.KX("stroke").makeTwoWay(),new ze.KX("fill").makeTwoWay(),new ze.KX("figure")),Nn(ze.al,{margin:new ze.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new ze.$u(16,16),maxSize:new ze.$u(10,NaN),textAlign:"center",editable:!0},new ze.KX("key").makeTwoWay())),setTimeout(()=>{bt.current.grid=Nn(ze.s_,"Grid",Nn(ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Nn(ze.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 Aa=()=>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}});Tt({src:mr.url})});return(0,b.useEffect)(()=>(setTimeout(()=>{$a()},500),Xn(Ba+1),()=>{bt.current=null}),[]),we.createElement("div",{ref:ir,className:Gn.current?`${nt.maxH60} body-overflow-initial`:"body-overflow-initial"},we.createElement(at.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Ba,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:we.createElement(rn.Z,null,we.createElement(Nt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),we.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)}},we.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:It},we.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:nt.flowChartWrp},we.createElement("div",{style:{display:"flex",height:"100%"}},we.createElement("div",{style:{width:"300px",height:"100%"}},we.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),we.createElement("div",{style:{height:"calc(100% - 50px)"},className:nt.myPaletteDiv,ref:Yn})),we.createElement("div",{style:{flex:1,position:"relative"}},we.createElement("div",{ref:Qn,style:{height:"80vh"}}))),we.createElement("div",{className:"tr"},we.createElement(he.ZP,{size:"large",onClick:Aa,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:Tt})=>{function bt(Qn){It(Qn)}return b.createElement(De.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(De.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(De.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(De.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:Tt},"\u53D6\u6D88")))},St=ee(78673),An=ee(43001),nn=ee.n(An),ln=(0,b.forwardRef)(({use3d:It,width:Tt,height:bt,callback:Qn,showSaveButton:Yn},Gn)=>{const ir=(0,b.useRef)(),Ba=(0,b.useRef)(),[Xn,$a]=(0,b.useState)(!1),Aa=(0,b.useRef)({id:ir,appName:"graphing",width:Tt||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())(Aa.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)(()=>{Aa.current.appName=Xn?"3D":"graphing",Ba.current.inject("applet_container")},[Xn]),(0,b.useEffect)(()=>{$a(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=>$a(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",wn="code-block",Jn="add-table",ha="------------",Ra={default:ha,left:`:${ha}`,center:`:${ha}:`,right:`${ha}:`};var _a=ee(37808),gr=(It,Tt,bt)=>new Promise((Qn,Yn)=>{var Gn=Xn=>{try{Ba(bt.next(Xn))}catch($a){Yn($a)}},ir=Xn=>{try{Ba(bt.throw(Xn))}catch($a){Yn($a)}},Ba=Xn=>Xn.done?Qn(Xn.value):Promise.resolve(Xn.value).then(Gn,ir);Ba((bt=bt.apply(It,Tt)).next())});function ar(){}let pa=0;const Br=1e4,qt="\u2581",Dn="@\u2581\u2581@",oa="@\u2581@",wa=`
**\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 Hn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",pn={[Hn+"-B"]:"bold",[Hn+"-I"]:"italic"},ia={[Zt]:"\u6DFB\u52A0\u94FE\u63A5",[wn]:"\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:Tt,width:bt="100%",height:Qn=400,miniToolbar:Yn=!1,isFocus:Gn=!1,watch:ir,insertTemp:Ba,mode:Xn="markdown",id:$a="markdown-editor-id",showResizeBar:Aa=!1,noStorage:Nn=!1,showNullButton:mr=!1,showNullProgramButton:Nr=!1,hidetoolBar:Vr=!1,fullScreen:xr=!1,onBlur:Ue,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),[Ha,Un]=(0,b.useState)(ir),[na,ya]=(0,b.useState)(xr),[Pa,vr]=(0,b.useState)(""),[kr,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,To]=(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)(),Ar=()=>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 Ae=er.clipboardData;if(Ae){const hn=Ae.types.toString(),Rn=Ae.items;if(hn==="Files"||Ae.types.indexOf("Files")>-1){if(er.preventDefault(),Xn=="stex")return;try{let ba=Rn[1];((so=Rn[0])==null?void 0:so.kind)==="file"&&(ba=Rn[0]);const un=ba.getAsFile(),Za=un.name.split(".").pop();(0,Ve.I)(un,Na=>{var zn,qn,pr;Na.id?((zn=un==null?void 0:un.type)==null?void 0:zn.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(ba){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]:()=>{ko(Va)}};_r.push(er),Kt.addKeyMap(er)}return bo.current=setInterval(()=>{ho.current&&Ar()},4e3),()=>{clearInterval(bo.current);for(let qa of _r)Kt.removeKeyMap(qa)}}},[Kt]),(0,b.useEffect)(()=>{xr!==na&&ya(xr)},[xr]),(0,_a.Z)(()=>{if(!Nn&&kr>0){let _r=new Date().getTime(),qa=window.sessionStorage.getItem($a);_r>=kr+Br&&(!qa||qa!==Ea)&&(window.sessionStorage.setItem($a,Ea),ri(!0))}},Br),(0,b.useEffect)(()=>{Un(ir)},[Kt,ir]),(0,b.useEffect)(()=>{Kt&&Gn&&Kt.focus()},[Kt,Gn]),(0,b.useEffect)(()=>{if(Ha&&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,Ha]),(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&&Ue){let _r=function(){Ue(Kt.getValue())};return Kt.on("blur",_r),()=>{Kt.off("blur",_r)}}},[Kt,Ue]);function Gr(_r,qa){var Va=_r.getDoc(),er=Va.getCursor(),so=Va.getLine(er.line),Ae=so.charAt(er.ch-1),hn=so.lastIndexOf("@\u2581@",er.ch),Rn=so.lastIndexOf("@\u2581\u2581@",er.ch),ba=hn>Rn?hn:Rn,un=hn>Rn?3:4;if(Dn.indexOf(Ae)===-1)return null;if(console.log("change1:",qa,_r,so,er,ba,hn,Rn,Ae),ba>=0&&er.ch-ba<5){var Za=ba+un;return Va.replaceRange("",{line:er.line,ch:ba},{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")),Tt&&(Nr?Tt(er,Fi(er)):Tt(er))};return Kt.on("change",_r),()=>{Kt.off("change",_r)}}},[Kt,Tt]),(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 ko=(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,Ae)=>so===""?"":`${Ae+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(Dn),Kt.focus();case"inster-template-1":return Va===""&&Kt.setCursor(qa.line,qa.ch),Kt.replaceSelection(wa),Kt.focus();case"eraser":return Kt.setValue(""),Kt.focus();case"trigger-watch":return Un(!Ha),Kt.focus();case"trigger-full-screen":return ya(!na),Kt.focus();case Zt:vr(Zt);return;case wn:vr(wn);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,Ha,na]),mo=(0,b.useCallback)((_r,qa)=>{var Va,er,so,Ae,hn,Rn;switch(vr(""),Pa){case Zt:const{title:zn,link:qn}=_r;return Kt.replaceSelection(`[${zn}](${qn})`),Kt.focus();case wn:const{language:pr,content:Wa}=_r;return Kt.replaceSelection(["```"+pr,Wa,"```"].join(`
`)),Kt.focus();case"maths-latex":for(var ba=atob(_r),un=new Uint8Array(ba.length),Za=0;Za<ba.length;Za++)un[Za]=ba.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:za,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((Ae=Mr==null?void 0:Mr.type)==null?void 0:Ae.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="${za}" alt="${tr||""}" /></p>`):Kt.replaceSelection(`<img width="100%" src="${za}" alt="${tr||""}" />`):((hn=Mr==null?void 0:Mr.type)==null?void 0:hn.indexOf("video"))>-1?Kt.replaceSelection(`<video width="100%" controls src="${za}"></video>`):((Rn=Mr==null?void 0:Mr.type)==null?void 0:Rn.indexOf("pdf"))>-1?Kt.replaceSelection(`<a href="${za}?type=${Mr.type}&disposition=inline" target="_blank">${Mr.name}</a>`):ut.includes(Co)?Kt.replaceSelection(`<a href="${za}?type=office&disposition=inline" target="_blank">${Mr.name}</a>`):Kt.replaceSelection(`[${Mr.name}](${za})`),Kt.focus();case Jn:const{row:$o,col:Ko,align:ki}=_r;let Ji=`
`;for(let al=0;al<$o;al++){let Zl=[],Dl=[];for(let So=0;So<Ko;So++)al===1&&Dl.push(Ra[ki]),Zl.push(" ");al===1&&(Ji+=`| ${Dl.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 wn: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,Ae=hn.pageY},qa=function(){so=!1},Va=function(hn){if(so){let Rn=hn.pageY-Ae;Rn<0&&(Rn=0),Rn>300&&(Rn=300);let ba=Qn+Rn+"px";hr(ba)}},er=Jo.current,so=!1,Ae=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 $i=bn(bt),tl=bn(lr),nl={width:$i,height:tl},Uo=(0,b.useMemo)(()=>{if(kr){let _r=new Date(kr),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},[kr]),Fi=_r=>{const qa=[];if(Nr){let Va=-1;_r=_r.replace(/(@▁▁@|@▁@)/g,function(er,so,Ae){qa.push({multiLine:er!==oa})})}return qa};function Wi(){window.sessionStorage.removeItem($a),ri(!1),Ya(0)}function dl(){ri(!1),Ya(0),Kt.setValue(window.sessionStorage.getItem($a))}(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;To(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,Ae=er.clientY-Va;const hn=document.getElementsByClassName("markdown-popup-form")[0],Rn=window.innerWidth-hn.offsetWidth,ba=window.innerHeight-hn.offsetHeight;so=Math.max(0,Math.min(so,Rn)),Ae=Math.max(0,Math.min(Ae,ba)),Pl(er.clientX,er.clientY,qa,Va)&&(To(so),Er(Ae))},document.body.onmouseup=function(){document.body.onmousemove=null}},Pl=(_r,qa,Va,er)=>{const so=document.body.clientHeight,Ae=document.body.clientWidth;return _r<20&&Va>_r||_r>Ae-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} ${Ha?"on-preview":""} ${Yn?"mini":""} ${na?"full-screen":""}`,style:nl},b.createElement(ye,{insertTemp:Ba,watch:Ha,fullScreen:na,showNullButton:mr,showNullProgramButton:Nr,onActionCallback:ko,hidetoolBar:Vr,extraUse:tn}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:to,placeholder:xt})),Ha?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))),Aa?b.createElement("a",{ref:Jo,className:"editor-resize"}):null,Pa===dn&&b.createElement(Bn,{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),Te=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=(De,He,he)=>He in De?Je(De,He,{enumerable:!0,configurable:!0,writable:!0,value:he}):De[He]=he,z=(De,He)=>{for(var he in He||(He={}))a.call(He,he)&&y(De,he,He[he]);if(E)for(var he of E(He))x.call(He,he)&&y(De,he,He[he]);return De},te=(De,He)=>Ye(De,ue(He));const{useForm:re}=b.default,se={width:280,marginRight:10},ie={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:De,onCancel:He})=>{const[he]=re();let Qe=(0,qe.useRef)();function We(ot){Qe.current.width=he.getFieldValue("width"),Qe.current.align=he.getFieldValue("align"),De(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(Te.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),je.createElement("aside",null,je.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},je.createElement(le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),je.createElement(le.ZP,{type:"default",onClick:He},"\u53D6\u6D88"))))};function ye({onFileChange:De}){return je.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",je.createElement("input",{type:"file",onChange:De}))}function Ge(De,He){if(!De)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",De),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){He(JSON.parse(We.target.responseText),De)},!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 Te=window.document;this.node=Te.createElement("div"),Te.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),Te=ee(51257),le=ee(28426),it=ee(48790),qe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X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vj7tAPq5cMEjq+x8ZJJ5AcRDceZL3LHhhINn/lUUySVsXSIJlbgvNCx4WHv3+VWPXvL6sZt8/v/t/ZcDiwhxFgaLp8YdFs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",re=ee(59301);const se=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:qe,swimg:Ke},{name:"101\u8BA1\u5212",ptimg:je,swimg:Je},{name:"\u56FD\u5BB6\u4E00\u6D41",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:De=4,right:He,bottom:he=23,precision:Qe=0,wrapWidth:We=1200,trackEventItems:ft,loading:Le,onRemove:ot=()=>{},isCurrent:dt=!0,showAlias:gt=!1})=>{const wt=Math.floor((We-(De-1)*He)/De),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:Bn,excellent:ze,is_plan:ct}=Ft;return re.createElement("div",{key:at,className:b.wrap,style:{width:wt,marginRight:(1+on)%De===0?0:He+Qe,marginBottom:he}},re.createElement("a",{className:b.li,onClick:Lt=>{Lt.preventDefault(),Lt.stopPropagation(),ft&&(0,Te.L9)([ft]),(0,Te.xg)(`/paths/${rn}`)}},re.createElement("div",{className:b.img},re.createElement("img",{className:b.cover,src:`${Bn}`}),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 we=(Nt=sn.find(fe=>fe.name==Lt))==null?void 0:Nt.swimg;return re.createElement("img",{className:b.sign,src:we,style:{left:"-4px"}})}const nt=(st=sn.find(we=>we.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 De},wb:function(){return Ft},cq:function(){return Xe},tp:function(){return te},Si:function(){return bt},k8:function(){return la},Du:function(){return Aa}});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+ooMm7gBhS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KuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+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}))),Te={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},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:Ha="#6A7283",showCount:Un,classNameActive:na,styleItem:ya={}})=>{const[Pa,vr]=(0,b.useState)(0),[kr,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()(Te.row,Kt),style:Qa},b.createElement("div",{onClick:(0,qe.throttle)(()=>tn==null?void 0:tn(),2e3),style:{width:Ea,marginTop:kr?12:4},className:`${Te.title} ${tn?"current":""}`},xa),b.createElement("div",{className:kr?`${Te.tagsWrap} ${Te.tagsBorderWrap}`:Te.tagsWrap},b.createElement("div",{className:Te.bar,ref:hr,style:Pa>0?{height:Pa===1?97:"auto",overflow:Pa===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:Te.tag,ref:lr},Ct==null?void 0:Ct.map(Po=>b.createElement("span",{onClick:()=>an(Po.id),key:Po.id,style:E(E({color:Ha},ya),(Po==null?void 0:Po.style)||{}),className:xt===Po.id?it()(na||Te.active,Po.classNameActive):""},b.createElement("span",{title:Po.name,className:Te.name},Po.name),!!Un&&b.createElement("span",{className:Te.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:Te.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:Te.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 Ha;const[Un,na]=(0,b.useState)(""),[ya,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(ya),Un||null)},kr=Ya=>{Ya!==Un&&(na(Ya),an(encodeURIComponent(ya),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},(Ha=Ct.find(Ya=>Ya.id===Un))==null?void 0:Ha.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:()=>kr(Ya.id)},Ya.name)))),b.createElement(se.default,{onPressEnter:vr,value:ya,onChange:Ya=>{Pa(Ya.target.value),tn(encodeURIComponent(Ya.target.value),Un||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"},De=({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"))},He={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),wt=ee(28426),Ft=({className:Ct,dataSource:xt=[],col:an=4,right:tn,bottom:Kt=23,precision:xa=0,wrapWidth:Ea=1200,trackEventItems:Qa,loading:Ha})=>{const Un=Math.floor((Ea-(an-1)*tn)/an);return b.createElement(he.Z,{spinning:Ha},b.createElement("div",{className:it()(He.list,Ct)},!!xt.length&&xt.map((na,ya)=>{const{name:Pa,id:vr,identifier:kr,power:Ya,cover_image_id:lr,pic:hr}=na;return b.createElement("div",{className:He.wrap,key:vr,style:{width:Un,marginRight:(1+ya)%an===0?0:tn+xa,marginBottom:Kt}},b.createElement("a",{target:"_blank",href:`/shixuns/${kr}/challenges`,className:He.li,onClick:Po=>{Po.preventDefault(),Qa&&(0,Le.L9)([Qa]),Ya&&(0,Le.xg)(`/shixuns/${kr}/challenges`)}},b.createElement("div",{className:He.img},b.createElement("img",{className:He.cover,src:`${hr}`}),na.is_jupyter&&b.createElement("img",{className:He.sign,src:ot}),na.is_jupyter_lab&&b.createElement("img",{className:He.sign,src:dt}),na.is_unity_3d&&b.createElement("img",{className:He.sign,src:gt})),b.createElement("div",{className:He.name},b.createElement(Qe.Z,{title:Pa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:He.e},Pa||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:He.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:He.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:He.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(wt.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,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbS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gOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/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:Ha})=>{const Un=Math.floor((Ea-(an-1)*tn)/an);return at.createElement(he.Z,{spinning:Ha},at.createElement("div",{className:it()(cn.list,Ct)},!!xt.length&&xt.map((na,ya)=>{const{subject_identifier:Pa,id:vr,identifier:kr,power:Ya}=na,lr=na.is_public!=0&&na.is_public;return at.createElement("div",{className:cn.wrap,key:vr,style:{width:Un,marginRight:(1+ya)%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(wt.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"},Bn=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&&Bn.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 we=[{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=we})=>{var Ea;return b.createElement("div",{className:it()(Nt.orderWrap,an)},b.createElement(st.Z,{dropdownRender:()=>b.createElement(nt.default,null,xa.map((Qa,Ha)=>b.createElement(nt.default.Item,{key:Ha,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,An=(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)&&An(Ct,an,xt[an]);if(et)for(var an of et(xt))St.call(xt,an)&&An(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=Ha=>{try{Qa(an.next(Ha))}catch(Un){Kt(Un)}},Ea=Ha=>{try{Qa(an.throw(Ha))}catch(Un){Kt(Un)}},Qa=Ha=>Ha.done?tn(Ha.value):Promise.resolve(Ha.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:Ha="middle",shape:Un="round",theme:na}=xt,ya=fn(xt,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Pa,vr]=(0,b.useState)(!1),kr=(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()(kr,Rt[`${Ha}-${Un}`],an),style:tn,size:Ha,shape:Un,loading:Pa||xa},ya),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:Ha=!1})=>b.createElement("div",{className:it()(Mt.btns,Ea),style:Qa},Ct&&b.createElement(Oe.ZP,{loading:Ha,onClick:an,type:"primary",className:Mt.confirm},xt),tn&&b.createElement(Oe.ZP,{onClick:xa,className:Mt.cancel},Kt)),wn={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()(wn.fixedBottom,Ct),style:xt},b.createElement("div",{className:wn.wrap},b.createElement("div",{className:wn.left},an),b.createElement("div",{className:wn.center},tn),b.createElement("div",{className:wn.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:()=>Bn.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,Dn=Object.getOwnPropertySymbols,oa=Object.prototype.hasOwnProperty,wa=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(Dn)for(var an of Dn(xt))wa.call(xt,an)&&ut(Ct,an,xt[an]);return Ct},Ln=(Ct,xt)=>Br(Ct,qt(xt)),Hn=(Ct,xt)=>{var an={};for(var tn in Ct)oa.call(Ct,tn)&&xt.indexOf(tn)<0&&(an[tn]=Ct[tn]);if(Ct!=null&&Dn)for(var tn of Dn(Ct))xt.indexOf(tn)<0&&wa.call(Ct,tn)&&(an[tn]=Ct[tn]);return an};const{Countdown:pn}=ar.default;var Sa=Ct=>{var xt=Ct,{onChange:an}=xt,tn=Hn(xt,["onChange"]);const[Kt,xa]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof Kt=="number"&&Kt>=0&&an(Kt)},[Kt]);const Ea=Qa=>{const Ha=Math.floor(Qa/1e3);xa(Ha)};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 pb-30px px-30px flex gap-22px current h-full",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 justify-between gap-10px"},b.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Ct!=null&&Ct.is_public)&&b.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\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},Aa=({DataProps:Ct=[],selectValue:xt,onChange:an,className:tn,style:Kt={},extra:xa,classNameItem:Ea,styleItem:Qa={},barHidden:Ha})=>{const[Un,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(ya=>b.createElement("div",{key:ya==null?void 0:ya.id,className:it()("flex item-center justify-center current c-grey-333 text-16 relative",Ea,ya==null?void 0:ya.className),style:Xn(Xn({color:Un!=null&&Un.includes(ya==null?void 0:ya.id)?"#1890FF":"",minWidth:88},Qa),(ya==null?void 0:ya.style)||{}),onClick:Pa=>{an==null||an({domEvent:Pa,item:ya}),ya!=null&&ya.link&&Bn.history.push(ya==null?void 0:ya.link)}},ya==null?void 0:ya.name,!Ha&&(Un==null?void 0:Un.includes(ya==null?void 0:ya.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,Ue=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))Ue.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:Ha=>{Qa(Ha.target.value),an==null||an(encodeURIComponent(Ha.target.value))},onPressEnter:Ha=>{xt==null||xt({domEvent:Ha,item:{value:Ea}})}})),b.createElement("img",{className:"h-22px current",src:ee(25365),height:22,onClick:Ha=>{xt==null||xt({domEvent:Ha,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 Te(){_e.current()}if(Ne!==null){let le=setInterval(Te,Ne);return()=>clearInterval(le)}},[Ne])}},23108:function(Vt,jt,ee){"use strict";ee.r(jt),ee.d(jt,{default:function(){return zr}});var b=ee(59301),de=ee(25690),Be=ee(78241),Ne=ee(8591),_e=ee(66104),Te=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=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.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)(),[zt,$n]=(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:()=>{$n(!1)},zIndex:8888,destroyOnClose:!0,footer:null,maskClosable:!1,keyboard:!1,open:Pe.actionTabs.key==="\u9884\u7EA6\u5F39\u7A97",onCancel:()=>{if(zt){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,"\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:zt,type:"primary",onClick:()=>x(void 0,null,function*(){$n(!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,De=Object.prototype.hasOwnProperty,He=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={}))De.call(pe,Pe)&&he(ce,Pe,pe[Pe]);if(Ge)for(var Pe of Ge(pe))He.call(pe,Pe)&&he(ce,Pe,pe[Pe]);return ce},We=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())}),Le=({setitem:ce,item:pe,rz:Pe})=>{var Ot,en,Oa,va,_n,zt,$n,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"},(zt=Pt==null?void 0:Pt.kcdatas)==null?void 0:zt.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:(($n=Pt.zsdatas)==null?void 0:$n.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,wt=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(wt)for(var Pe of wt(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=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.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,zt]=(0,b.useState)([{id:Math.random()}]),[$n,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})),zt((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,$n,"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:$n,item:On,setitem:Zn=>{Zn=cn(cn({},_n==null?void 0:_n[sa]),Zn),_n.splice(sa,1,Zn),zt([..._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()}),zt([..._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})),zt([..._n])}}))))))};var Kn=(0,de.connect)(({user:ce})=>({user:ce}))(rn),Gt=ee(20834),Bn=ee(71418),ze=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),we=ee(57985),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,An=(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=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.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:zt})=>{const[$n,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){zt();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(we.Z5,{onDragEnd:Zn=>sa(Zn,$n)},Xe.createElement(we.bK,{droppableId:"droppable"},(Zn,Fa)=>Xe.createElement("div",An({ref:Zn.innerRef},Zn.droppableProps),Xe.createElement(Bn.Z,{spinning:Pt},$n.map((aa,da)=>Xe.createElement(we._l,{key:da,draggableId:da.toString(),index:da},(Ja,yn)=>{var Ca,Ka;return Xe.createElement("aside",An(An({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){zt();return}pe(nn(An({},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=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.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),[zt,$n]=(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:()=>{$n(!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:zt,subDisciplineId:(Oa=ce.getFieldValue("sub_discipline_id"))==null?void 0:Oa[1],onCancel:()=>{$n(!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,Dn=(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)),wa=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.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:zt=!1})=>{var $n;const[Fn]=Be.default.useForm();(0,b.useEffect)(()=>{var mn;Fn.setFieldsValue(oa(Dn({},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(Dn({},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(Dn({},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(Dn({},yn),{is_answer:yn.standard_boolean}))});en(Dn(Dn({},ce),Ja))},onFinishFailed:mn=>wa(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")),(($n=Ot==null?void 0:Ot.exercise)==null?void 0:$n.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(Dn({},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(Dn({},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:zt,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:()=>wa(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),Hn=ee(74716),pn=ee(59301),ia=Object.defineProperty,Sa=Object.defineProperties,It=Object.getOwnPropertyDescriptors,Tt=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(Tt)for(var Pe of Tt(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=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())}),$a=({qitem:ce,TagDiscipline:pe,exerciseitem:Pe,setisedit:Ot,seveeditor:en,deleteitem:Oa,getTagData:va,init:_n,showTip:zt=!1})=>{var $n;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")),(($n=Pe==null?void 0:Pe.exercise)==null?void 0:$n.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:zt,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(Hn.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}))))},Aa=ee(14289),Nn=ee(59301),mr=Object.defineProperty,Nr=Object.defineProperties,Vr=Object.getOwnPropertyDescriptors,xr=Object.getOwnPropertySymbols,Ue=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={}))Ue.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=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.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:zt=!1})=>{var $n;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")),(($n=Ot==null?void 0:Ot.exercise)==null?void 0:$n.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:zt,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(Aa.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,Ha=Object.getOwnPropertySymbols,Un=Object.prototype.hasOwnProperty,na=Object.prototype.propertyIsEnumerable,ya=(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={}))Un.call(pe,Pe)&&ya(ce,Pe,pe[Pe]);if(Ha)for(var Pe of Ha(pe))na.call(pe,Pe)&&ya(ce,Pe,pe[Pe]);return ce},vr=(ce,pe)=>Ea(ce,Qa(pe)),kr=(ce,pe)=>{var Pe={};for(var Ot in ce)Un.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&&na.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Ya=ce=>{var pe=ce,{value:Pe,onChange:Ot,scrollId:en}=pe,Oa=kr(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,To=(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)&&To(ce,Pe,pe[Pe]);if(ho)for(var Pe of ho(pe))Wo.call(pe,Pe)&&To(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:zt,allowChangeMode:$n,showAddIcon:Fn,addItem:Pt,deleteItem:mn})=>{const On=(ce==null?void 0:ce[Ot])===1,sa=()=>{const Fa=_n.getFieldValue(zt);_n.setFieldValue(zt,Fa.map(aa=>Er(No({},aa),{[Ot]:0})))},Zn=()=>{On?pe(Er(No({},ce),{[Ot]:0})):($n||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:zt,showAnalysis:$n=!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:zt,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"))),$n&&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 Ar=ee(59301),oi=Object.defineProperty,Gr=Object.defineProperties,ko=Object.getOwnPropertyDescriptors,mo=Object.getOwnPropertySymbols,di=Object.prototype.hasOwnProperty,vi=Object.prototype.propertyIsEnumerable,$i=(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)&&$i(ce,Pe,pe[Pe]);if(mo)for(var Pe of mo(pe))vi.call(pe,Pe)&&$i(ce,Pe,pe[Pe]);return ce},nl=(ce,pe)=>Gr(ce,ko(pe)),Uo=(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 Ar.createElement(Ze.Z,{className:"ml20"},Ar.createElement(hr.Z,{flex:1},ce==null?void 0:ce.map((en,Oa)=>Ar.createElement(Ze.Z,{key:`${en}_${Oa}`,align:"middle",className:"mb20"},Ar.createElement(Te.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:en,autoSize:{maxRows:3},maxLength:1e3,onBlur:va=>{const _n=[...ce],zt=va.target.value.trim();_n[Oa]=zt,pe(_n)}}),Ar.createElement(ct.Z,{title:"\u5220\u9664"},Ar.createElement(se.Z,{className:tn.deleteIcon,style:{marginLeft:15,visibility:Oa>0?"visible":"hidden"},onClick:()=>Pe(Oa)}))))),Ar.createElement(hr.Z,null,Ar.createElement("div",{className:`${tn.addBtn}`,onClick:()=>{Ot()}},"\u65B0\u589E\u7B54\u6848")))},Wi=({value:ce=!0,onChange:pe})=>Ar.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 zt,$n;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 wr=Array.from({length:Ga},(ao,Eo)=>xo+Eo);eo(wr)}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=($n=(zt=pe.getFieldValue("sub_item_banks"))==null?void 0:zt[en==null?void 0:en[0]])==null?void 0:$n[en==null?void 0:en[1]];return console.log(pe==null?void 0:pe.getFieldValue(["sub_item_banks",...Ot])),Ar.createElement("div",{className:tn.wrap},Ar.createElement("div",{className:tn.questionTitleEditorWrap},Ar.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Oa,labelCol:{span:24},rules:[{required:!0}]},Ar.createElement(Ya,{scrollId:"name",watch:!0,height:140,placeholder:ce,showNullButton:!0,onCMBeforeChange:(yn,Ca)=>{On(yn,Ca,Fa,da)}}))),Ar.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,Ar.createElement(Ar.Fragment,null,Ar.createElement(Be.default.Item,{label:Ar.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(yn!=null&&yn.length)&&Ar.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:wr}=Ga,ao=Uo(Ga,["key","name"]);return Ar.createElement(Ze.Z,{className:"mb20",key:xo,align:"top"},Ar.createElement(hr.Z,{flex:"0 0 auto",className:`${tn.blankIndex} pt5`},"\u586B\u7A7A\u9879",ui+1),Ar.createElement(hr.Z,{flex:1},Ar.createElement(Ze.Z,{align:"top",justify:"space-between"},Ar.createElement(hr.Z,{flex:1},Ar.createElement(Be.default.Item,nl(tl({},ao),{name:[wr,"answer_text"],noStyle:!0}),Ar.createElement(Fi,null))),(pe==null?void 0:pe.getFieldValue(["sub_item_banks",...Ot]))&&Ar.createElement(hr.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},Ar.createElement(Be.default.Item,nl(tl({},ao),{name:[wr,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:tn.blankInputNumberWrapper}),Ar.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"})))),Ar.createElement(Be.default.Item,nl(tl({},ao),{name:[wr,"position"],noStyle:!0}),Ar.createElement(Te.default,{type:"hidden"}))))})))),Ar.createElement(Ze.Z,{align:"middle"},Ar.createElement(Be.default.Item,{name:[Pe,"downcase"],valuePropName:"checked"},Ar.createElement(Zt.Z,null)),Ar.createElement(hr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Ar.createElement(Ze.Z,{align:"middle"},Ar.createElement(Be.default.Item,{name:[Pe,"no_space"],valuePropName:"checked"},Ar.createElement(Zt.Z,null)),Ar.createElement(hr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Ja==null?void 0:Ja.length)>1&&Ar.createElement(Ze.Z,{align:"middle",className:(Ja==null?void 0:Ja.length)>1?"mb30":`${tn.hide}`},Ar.createElement(Be.default.Item,{name:_n},Ar.createElement(Wi,null)),Ar.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")),Ar.createElement("div",{onClick:()=>Pt(!0)},Ar.createElement(Be.default.Item,{name:va,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ar.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,Ae=(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)&&Ae(ce,Pe,pe[Pe]);if(Va)for(var Pe of Va(pe))so.call(pe,Pe)&&Ae(ce,Pe,pe[Pe]);return ce},Rn=(ce,pe)=>_r(ce,qa(pe)),ba=(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 zt=(_n=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",...Ot]))==null?void 0:_n.map($n=>({choice_text:$n.choice_text,is_answer:0}));Pe==null||Pe.setFieldValue(["sub_item_banks",...Ot],zt),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,zt){return zt.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(zt=>{var $n=zt,{key:Fn,name:Pt}=$n,mn=ba($n,["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 zn=ee(12563),qn=Object.defineProperty,pr=Object.defineProperties,Wa=Object.getOwnPropertyDescriptors,za=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,$o=(ce,pe)=>{for(var Pe in pe||(pe={}))tr.call(pe,Pe)&&Co(ce,Pe,pe[Pe]);if(za)for(var Pe of za(pe))Mr.call(pe,Pe)&&Co(ce,Pe,pe[Pe]);return ce},Ko=(ce,pe)=>pr(ce,Wa(pe)),ki=(ce,pe)=>{var Pe={};for(var Ot in ce)tr.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&&Mr.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Ji=ce=>{var pe=ce,{value:Pe,onChange:Ot}=pe,en=ki(pe,["value","onChange"]);const Oa=va=>{Ot([va])};return b.createElement(Kt.Z,Ko($o({},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(zn.default,{closable:!0,onClose:pe,className:tn.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ce.join(" \u6216 "))),Dl=({questionTitlePlaceholder:ce,form:pe,showKeywords:Pe,isMustKeyWords:Ot=Pe,titleKey:en="name",analysisKey:Oa="analysis",answerTexts:va="answer_texts",keywords:_n="keywords",useKeywords:zt="use_keywords",indexs:$n})=>{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[zt==null?void 0:zt[0]])==null?void 0:Pt[zt==null?void 0:zt[1]],Ja=(On=(mn=pe.getFieldValue("sub_item_banks"))==null?void 0:mn[zt==null?void 0:zt[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:zt,valuePropName:"checked"},b.createElement(Zt.Z,{defaultChecked:!0})),Pe&&Ot&&b.createElement(Ze.Z,{align:"middle",className:"mb30"},b.createElement(Be.default.Item,{name:zt,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(Te.default,{value:Fa,onChange:eo=>{aa(eo.target.value)},maxLength:50,allowClear:!0,onPressEnter:eo=>{var Sr,ui,Ga,xo;const wr=`${(Sr=eo.target)==null?void 0:Sr.value}`,ao=(Ga=(ui=wr==null?void 0:wr.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(wr)&&(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=ki(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($o({},xo),{name:[Ga,"keyword"]}),b.createElement(Zl,{onClose:()=>Ka(Ga)})),Ot&&b.createElement(Be.default.Item,Ko($o({},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,zt]=(0,b.useState)([]),$n=Pt=>{zt(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:$n,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,wr,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,Ho,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=(Ho=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",yn]))==null?void 0:Ho.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}),((wr=Zn==null?void 0:Zn[yn])==null?void 0:wr.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((Ho,Ci)=>{Ri===Ci&&(Fo.q_position=Number(Ho.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((Ho,Ci)=>{Ri===Ci&&(Fo.q_position=Number(Ho.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(Dl,{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(ze.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"}),zt([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"}),zt([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"}),zt([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}),zt([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"}),zt([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),Tu=Object.defineProperty,nu=Object.defineProperties,Ju=Object.getOwnPropertyDescriptors,bu=Object.getOwnPropertySymbols,ku=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable,_u=(ce,pe,Pe)=>pe in ce?Tu(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,bl=(ce,pe)=>{for(var Pe in pe||(pe={}))ku.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=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.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:zt=!1})=>{var $n;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")),(($n=Ot==null?void 0:Ot.exercise)==null?void 0:$n.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:zt,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(Hn.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,Hu=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertySymbols,zu=Object.prototype.hasOwnProperty,xu=Object.prototype.propertyIsEnumerable,Fu=(ce,pe,Pe)=>pe in ce?Cu(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Fl=(ce,pe)=>{for(var Pe in pe||(pe={}))zu.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},Hl=(ce,pe)=>Hu(ce,rs(pe)),os=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.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 zt,$n;const[Fn]=Be.default.useForm();return(0,b.useEffect)(()=>{var Pt,mn;Fn.setFieldsValue(Hl(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=>Hl(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=>Hl(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=Hl(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=>Hl(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")),((zt=en==null?void 0:en.exercise)==null?void 0:zt.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(Hl(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=>Hl(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=>Hl(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(Hn.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")),($n=ce==null?void 0:ce.shixun)==null?void 0:$n.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(Hl(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),zl=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 Au=({qitem:ce,exercise:pe})=>{var Pe,Ot,en,Oa,va,_n,zt,$n,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 wr;return rr.createElement(Ze.Z,{align:"top"},rr.createElement("span",{className:Lr.title},"\u586B\u7A7A\u9879",xo+1),rr.createElement("div",{className:Lr.content},(wr=Ga.answer_text)==null?void 0:wr.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 wr,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=(wr=pe==null?void 0:pe.editData)==null?void 0:wr.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:!(($n=(zt=pe==null?void 0:pe.editData)==null?void 0:zt.exercise)!=null&&$n.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,wr)=>wr+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Ga,xo,wr)=>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,wr)=>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 wr,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},(wr=es.find(po=>po.type==Ga.question_type))==null?void 0:wr.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:zl.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=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.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:zt=!1})=>{var $n;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")),(($n=Ot==null?void 0:Ot.exercise)==null?void 0:$n.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:zt,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=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.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,zt]=(0,b.useState)(!1);function $n(){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)){zt(!0);return}$n(),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:()=>{zt(!1)}},"\u53D6\u6D88"),tt.createElement(je.ZP,{className:mt.yes,onClick:()=>{$n(),zt(!1),ce(!1)}},"\u786E\u8BA4"))))},kn=ee(99313),Tn=ee(98228),ua=ee(58421),Da={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,zt,$n,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:((zt=ce==null?void 0:ce.program_attr)==null?void 0:zt.description)||"- -"})),(ce==null?void 0:ce.question_type)===7&&(($n=ce==null?void 0:ce.sub_item_banks)==null?void 0:$n.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:zl.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),Ta=ee(57149),Dr=ee(87444),br=ee(94361),Ir=ee(46722),Wr=ee(3039),Rr=ee(75736),jn=ee(59301),Vo=Object.defineProperty,fo=Object.defineProperties,zo=Object.getOwnPropertyDescriptors,ei=Object.getOwnPropertySymbols,li=Object.prototype.hasOwnProperty,pi=Object.prototype.propertyIsEnumerable,Hi=(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)&&Hi(ce,Pe,pe[Pe]);if(ei)for(var Pe of ei(pe))pi.call(pe,Pe)&&Hi(ce,Pe,pe[Pe]);return ce},Ro=(ce,pe)=>fo(ce,zo(pe)),_o=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())});const Ai=({setScoreShow:ce,ScoreShow:pe,onOk:Pe,isshixuns:Ot,isloadings:en,dispatch:Oa,shixunsDetail:va,exercise:_n})=>{var zt,$n,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[wr,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)([]),Ho=[{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,wi,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([...(wi=(Vi=_n==null?void 0:_n.editData)==null?void 0:Vi.exercise)==null?void 0:wi.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])},[($n=(zt=_n==null?void 0:_n.editData)==null?void 0:zt.exercise)==null?void 0:$n.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(),wr=!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&&wr&&(eo.setFieldsValue({item_type:"SHIXUN"}),Pt.item_type="SHIXUN",mn(oo({},Pt)),Cr(!1)),Ui(Pt),hl(),Zi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[pe]);function Ui(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(wi=>!Eo.includes(wi)):null,qo=ca.type==="5"?aa==null?void 0:aa.filter(wi=>Eo.includes(wi)):null;ca.group_id=((or=ca.group_id)==null?void 0:or.map(wi=>wi==null?void 0:wi.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 wi=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(wi)})}const sl=(0,de.useParams)(),[Al,Rl,ml,qi]=(0,Dr.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"),Ui(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(wi=>({title:wi.name,id:wi.id,pid:wi.id,value:wi.id,key:wi.id,isLeaf:!wi.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"?(wr=!0,ao(!0)):(wr=!1,ao(!1)),eo.setFieldsValue(oo({},Pt)),mn(oo({},Pt)),Ui(oo({},Pt))}return jn.createElement("div",null,jn.createElement(Ye.default,{title:!1,footer:!1,open:pe,width:1200,centered:!0,className:Da.scoremodal,onCancel:()=>{ce(!1)}},jn.createElement("div",{style:{display:"flex",alignItems:"center"}},jn.createElement("div",{className:Da.title},"\u9898\u5E93\u9009\u9898")),jn.createElement(kn.default,{className:Da.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"&&(wr=!0,ao(!0)),Io(!1),Pt.type==="5"&&(wr=!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:Da.titlecount},aa.length),Li>0&&jn.createElement("span",{className:Da.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)),Ui(oo(oo({},Pt),ca))}},jn.createElement(Be.default.Item,{name:"item_type"},jn.createElement(ve.default,{className:Da.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle",allowClear:!0},Ho.map(ca=>jn.createElement(ve.default.Option,{key:ca.value},ca.name)))),jn.createElement(Be.default.Item,{name:"courseid"},jn.createElement(le.Z,{className:Da.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:On})),!wr&&jn.createElement(Be.default.Item,{name:"tag_discipline_id"},jn.createElement(ve.default,{className:Da.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:wr?"diff":"difficulty"},jn.createElement(ve.default,{className:Da.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!wr&&Ii.map(ca=>jn.createElement(ve.default.Option,{key:ca.value},ca.name)),wr&&cl.map(ca=>jn.createElement(ve.default.Option,{key:ca.value},ca.name)))),wr&&jn.createElement(Be.default.Item,{name:"shixun_publish_status"},jn.createElement(ve.default,{className:Da.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")&&!wr&&jn.createElement(Be.default.Item,{name:"group_id"},jn.createElement(Tn.default,{treeDataSimpleMode:!0,style:{width:118},className:Da.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:Da.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(Te.default.Search,{className:Da.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:jn.createElement("i",{className:`iconfont icon-sousuo9 font14 ${Da.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})),Ui(Ro(oo({},Pt),{page:1}))}}," ",Pt.updated_at?jn.createElement("img",{src:Pt.updated_at==="asc"?ga.Z:Ta.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})),Ui(Ro(oo({},Pt),{page:1}))},style:{marginLeft:20}}," ",Pt.quotes?jn.createElement("img",{src:Pt.quotes==="asc"?ga.Z:Ta.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)wr&&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),wr){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);wr&&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]),wr){let qo=Eo.filter(Vi=>!uo.some(wi=>wi===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,wr||or!=null&&or.challenge_names?"\u5B9E\u8BAD\u9898":(Bo=(uo=Ho==null?void 0:Ho.filter(qo=>qo.value===ca))==null?void 0:uo[0])==null?void 0:Bo.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:wr?"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:wr||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:!wr,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:!wr,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,wr||or!=null&&or.challenge_names?(or==null?void 0:or.level)||((Bo=(uo=Ii==null?void 0:Ii.filter(wi=>wi.value===ca))==null?void 0:uo[0])==null?void 0:Bo.name):(Vi=(qo=Ii==null?void 0:Ii.filter(wi=>wi.value===ca))==null?void 0:qo[0])==null?void 0:Vi.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!wr,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:!wr,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,wr||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:!wr,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:!wr,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:wr||or!=null&&or.challenge_names?5:(Bo=(uo=Ho==null?void 0:Ho.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)),Ui(oo({},Pt))}}),jn.createElement("div",{className:Da.bottom},jn.createElement(je.ZP,{className:Da.no,onClick:()=>{ce(!1)}},"\u53D6\u6D88"),jn.createElement(je.ZP,{loading:en,style:{width:en&&75},className:Da.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:Da.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}))(Ai),fi=ee(68571),Mo=ee(59301),ol=Object.defineProperty,Xi=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,$e=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={}))$e.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},Ut=(ce,pe)=>Xi(ce,Ee(pe)),Qt=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.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:zt=!1})=>{var $n;const[Fn]=Be.default.useForm(),Pt=!0;return(0,b.useEffect)(()=>{var mn,On,sa;Fn.setFieldsValue(Ut(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:Ut(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:zl.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(Ut(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)=>Ut(pt({},sa),{position:Zn+1})),hack_codes:Ut(pt({},mn.hack_codes),{code:zl.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")),(($n=Pe==null?void 0:Pe.exercise)==null?void 0:$n.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(Ut(pt({},ce),{standard_answers:ce.standard_answer,difficulty:ce.difficult,item_banks_group_id:ce.item_banks_group_id,hack:Ut(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:zl.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:zt,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(Hn.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),Ht=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=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.value).then(Oa,va);_n((Pe=Pe.apply(ce,pe)).next())});const{confirm:yr}=Ye.default,Ua=[{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,zt,$n,Fn,Pt,mn,On,sa,Zn,Fa,aa,da,Ja,yn,Ca,Ka,eo,Sr,ui,Ga,xo,wr,ao,Eo,hi,mi;const[Cr,po]=(0,b.useState)(),[Ki,Li]=(0,b.useState)(!1),[ta,Fo]=(0,b.useState)(),[Ri,Ho]=(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),[Ui,Zi]=(0,b.useState)(!1),[hl,ul]=(0,b.useState)(!1),[sl,Al]=(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),wi=(0,b.useRef)();(0,b.useEffect)(()=>{Pe&&el()},[Pe]),(0,b.useEffect)(()=>{Ot(Ii)},[Ii]),(0,b.useEffect)(()=>{ta!=null&&ta.question_id&&(Ho(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 $l;($l=Ol==null?void 0:Ol.items)==null||$l.map((Eu,wu)=>{Gi.push(ur(jr({},Eu),{index:wu+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,$l)=>{if((Cl==null?void 0:Cl.question_type)===(Ol==null?void 0:Ol.question_type))return ur(jr({},Ol),{indexs:$l+1})})).filter(Ol=>Ol))==null?void 0:Go[0];il(jr({},Su)),Fo(jr({},Cl)),Ho(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:Ht.createElement("div",null,Ht.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"),Ht.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 zi=(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(Ul=>{var Su;((Su=Object.keys(Gi))==null?void 0:Su.includes(Ul.message))?Gi[Ul.message]=Gi[Ul.message]+1:Gi[Ul.message]=1});let Cl=`\u6210\u529F\u5BFC\u5165${Go==null?void 0:Go.success}\u6761`;Object.keys(Gi).forEach(Ul=>{Cl=Cl+`,${Ul}${Gi[Ul]}\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())})}),wl=(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&&Ho(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 Tl(){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:Uu,handleMouseLeave:hu}=(0,En.I)(),Es=(Xa,io)=>Ht.createElement(Gt.default,null,Ht.createElement(Gt.default.Item,{key:"0",onClick:()=>vs(Xa==null?void 0:Xa.question_type)},Ht.createElement("span",{className:mt.moreSpan},"\u65B0\u589E")),Ht.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))})},Ht.createElement("span",{className:mt.moreSpan},"\u4E0A\u79FB")),Ht.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))})},Ht.createElement("span",{className:mt.moreSpan},"\u4E0B\u79FB")),Ht.createElement(Gt.default.Item,{key:"3",onClick:()=>{var Qo;Kl.setFieldsValue({name:Xa.name,item_type_en:(Qo=Ua.find(ci=>ci.id==Xa.question_type))==null?void 0:Qo.nameType}),ca(!0)}},Ht.createElement("span",{className:mt.moreSpan},"\u91CD\u547D\u540D"))),vs=Xa=>{var io,Qo,ci,ni,Go,Oi,Gi,Cl,Ul,Su,Ol,$l,Eu,wu,ps,hs,Ei,Xr,Oo,Pi,Yi,Pu,Ql,iu;if(Ii){Sl();return}if(ml(!0),Xa===5){ul(!0),Al(!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=(Ul=en==null?void 0:en.editData)==null?void 0:Ul.exercise)!=null&&Su.set_question_sub_discipline?($l=(Ol=en==null?void 0:en.editData)==null?void 0:Ol.exercise)==null?void 0:$l.discipline_id:0,sub_discipline_id:(wu=(Eu=en==null?void 0:en.editData)==null?void 0:Eu.exercise)!=null&&wu.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:Ht.createElement("div",null,Ht.createElement("img",{width:26,style:{position:"absolute",top:-2},src:La.$}),Ht.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),Ht.createElement("div",null,Ht.createElement(Bn.Z,{spinning:ll},Ht.createElement("div",{className:mt.bg},((va=Cr==null?void 0:Cr.exercise_types)==null?void 0:va.q_counts)===0&&!Ii&&Ht.createElement(st.Z,{styles:{marginTop:180},customText:Ht.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",Ht.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)&&Ht.createElement("div",{style:{textAlign:"center"}},Ht.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},Ht.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},Ht.createElement("div",{className:mt.left},Ht.createElement("div",{className:mt.leftAction},((zt=Cr==null?void 0:Cr.exercise)==null?void 0:zt.exercise_status)===1&&Ht.createElement(je.ZP,{onClick:()=>{if(Ii){Sl();return}Zi(!0)},className:mt.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),Ht.createElement("div",{className:mt.scrollWrapper,style:{overflow:Vu},onMouseEnter:Uu,onMouseLeave:hu},($n=Cr==null?void 0:Cr.exercise_question_types)==null?void 0:$n.map((Xa,io)=>Ht.createElement("div",{key:io,className:"mb30"},Ht.createElement("div",{className:mt.title},Ht.createElement("div",{className:mt.titleleft},Ht.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,Nt.EM)(io+1),"\u3001\u3010",Xa.name,"\u3011"),Ht.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",Xa.count,"\u5C0F\u9898\uFF0C\u5171",Xa.score,"\u5206\uFF09")),Ht.createElement(ze.Z,{dropdownRender:()=>Es(Xa,io),placement:"bottomLeft"},Ht.createElement("div",{className:mt.more_style},Ht.createElement("i",{className:"iconfont icon-sandian font12"})))),Ht.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})))))),Ht.createElement("div",{id:"question-scroll-id",style:{overflow:Ii?"hidden":"auto"},className:mt.right},!(ta!=null&&ta.isadd)&&Ht.createElement("div",{className:mt.title},!Ii&&Ht.createElement("div",{style:{flex:1}},Ht.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"),Ht.createElement(ct.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},Ht.createElement("i",{className:`${mt.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var Xa;Kl.setFieldsValue({name:ii.name,item_type_en:(Xa=Ua.find(io=>io.id==ii.question_type))==null?void 0:Xa.nameType}),ca(!0)}})),Ht.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&&Ht.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&&Ht.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&&Ht.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:Ht.createElement("div",null,(ta==null?void 0:ta.question_type)===6&&Ht.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"),Ht.createElement("br",null),(ta==null?void 0:ta.question_type)===6&&Ht.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")),Ht.createElement("div",{style:{display:"flex",alignItems:"center"}},(ta==null?void 0:ta.question_type)===5&&!Ii&&Ht.createElement("a",{className:mt.shixun,href:`/shixuns/${ta==null?void 0:ta.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Ht.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)&&Ht.createElement(Be.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},Ht.createElement(Ke.Z,{precision:1,ref:Ci,onChange:Xa=>Ho(Xa),value:Ri,onBlur:Xa=>{wl(Xa.target.value,ta)}})),!Ii&&((On=Cr==null?void 0:Cr.exercise)==null?void 0:On.exercise_status)==1&&Ht.createElement(ct.Z,{title:"\u5220\u9664"},Ht.createElement("i",{onClick:()=>{Tl()},style:{marginRight:20},className:`${mt.delete} iconfont icon-shanchu13 mr8 ml8 `})),(ta==null?void 0:ta.question_type)!==5&&!Ii&&Ht.createElement(Ht.Fragment,null,(ta==null?void 0:ta.is_my)==1&&Ht.createElement(ct.Z,{title:"\u67E5\u770B\u539F\u9898"},Ht.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}`)}})),Ht.createElement(ct.Z,{title:"\u52A0\u5165\u6211\u7684\u9898\u5E93"},Ht.createElement("i",{className:`${mt.tianjia} iconfont icon-jiarushitiku mr8 ml8`,onClick:()=>{wi.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:Ht.createElement("div",{className:`font14 ${mt.overflow}`,style:{maxHeight:500,overflow:"auto"}},Ht.createElement("p",{className:"c-grey-333"},"\u8BF7\u9009\u62E9\u52A0\u5165\u7684\u6587\u4EF6\u5939"),Ht.createElement(Bn.Z,{spinning:!1},Ht.createElement(ma.Z,{defaultValue:!0,value:wi.current,onChange:Xa=>wi.current=Xa}))),onOk:()=>sr(void 0,null,function*(){var Xa;(0,ea.$l)({id:ta==null?void 0:ta.question_id,group_id:((Xa=wi==null?void 0:wi.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)&&Ht.createElement(ct.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},Ht.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&&Ht.createElement("div",null,Ht.createElement("div",{className:mt.qcount},Ht.createElement("span",{className:mt.score},ta==null?void 0:ta.question_score,"\u5206"),Ht.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)&&Ht.createElement(br.Z,{type:"shixun",style:{marginLeft:10}})),(ta==null?void 0:ta.question_type)===6&&Ht.createElement(nt.Z,{onEdit:()=>Bo(1),className:"mt10",dataSource:(ta==null?void 0:ta.languages)||[]}),Ht.createElement(Au,{exercise:en,TagDiscipline:Bl,qitem:ta})),Ii&&Ht.createElement("div",null,(ta==null?void 0:ta.question_type)<=1&&Ht.createElement(bn,{deleteitem:Tl,getTagData:fl,seveeditor:ou,exerciseitem:Cr,TagDiscipline:Bl,setisedit:cl,qitem:ta,init:el,showTip:qo}),(ta==null?void 0:ta.question_type)===5&&Ht.createElement(ju,{setqitem:Fo,deleteitem:Tl,seveeditor:ou,exerciseitem:Cr,TagDiscipline:Bl,setisedit:cl,qitem:ta,showTip:qo}),(ta==null?void 0:ta.question_type)===3&&Ht.createElement($a,{deleteitem:Tl,getTagData:fl,seveeditor:ou,exerciseitem:Cr,TagDiscipline:Bl,setisedit:cl,qitem:ta,init:el,showTip:qo}),(ta==null?void 0:ta.question_type)===2&&Ht.createElement(xt,{deleteitem:Tl,getTagData:fl,seveeditor:ou,exerciseitem:Cr,TagDiscipline:Bl,setisedit:cl,qitem:ta,init:el,showTip:qo}),(ta==null?void 0:ta.question_type)===4&&Ht.createElement(be,{deleteitem:Tl,getTagData:fl,seveeditor:ou,exerciseitem:Cr,TagDiscipline:Bl,setisedit:cl,qitem:ta,init:el,showTip:qo}),(ta==null?void 0:ta.question_type)===7&&Ht.createElement(au,{deleteitem:Tl,getTagData:fl,seveeditor:ou,exerciseitem:Cr,TagDiscipline:Bl,setisedit:cl,qitem:ta,init:el,showTip:qo}),(ta==null?void 0:ta.question_type)===8&&Ht.createElement(xn,{deleteitem:Tl,getTagData:fl,seveeditor:ou,exerciseitem:Cr,TagDiscipline:Bl,setisedit:cl,qitem:ta,init:el,showTip:qo}))))))),Ht.createElement("div",{className:mt.bottomdiv},Ht.createElement("div",{className:mt.exercise_styles},((ui=Cr==null?void 0:Cr.exercise)==null?void 0:ui.exercise_status)==1&&Ht.createElement(Ht.Fragment,null,Ht.createElement("span",{className:mt.spanBtn,onClick:()=>{if(Ii){Sl();return}ul(!0),Al(!1)}},"\u9898\u5E93\u9009\u9898"),Ht.createElement(ze.Z,{menu:{items:ds}},Ht.createElement("span",{className:mt.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),Ht.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"),Ht.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"),Ua==null?void 0:Ua.map(Xa=>Ht.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&&Ht.createElement(Ht.Fragment,null,Ht.createElement("span",{style:{width:"1022px"}})),Ht.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()}},Ht.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),Ht.createElement(Wt,{setScoreShow:Zi,ScoreShow:Ui,exerciseitem:Cr,getdata:el}),hl&&Ht.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()}})})}),Ht.createElement(ts.Z,{sub_discipline_id:(xo=Cr==null?void 0:Cr.exercise)!=null&&xo.sub_discipline_id?[(wr=Cr==null?void 0:Cr.exercise)==null?void 0:wr.discipline_id,(ao=Cr==null?void 0:Cr.exercise)==null?void 0:ao.sub_discipline_id]:[],visible:Io,onCancel:()=>Si(!1),onOk:zi}),Ht.createElement(Ye.default,{title:"\u63D0\u793A",open:qi,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:Ht.createElement("div",null,Ht.createElement(je.ZP,{onClick:()=>{Wl(!1),de.history.back()}},"\u7A0D\u540E\u518D\u8BF4"),Ht.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)}},Ht.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")),Ht.createElement(Ye.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:gu,width:500,onOk:()=>Kl.submit(),onCancel:()=>ca(!1)},Ht.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))})},Ht.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=Ua==null?void 0:Ua.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()}}]},Ht.createElement(Te.default,{size:"large",maxLength:10,showCount:!0})),Ht.createElement(Be.default.Item,{hidden:!0,name:"item_type_en"},Ht.createElement(Te.default,{size:"large"})))),Ht.createElement(Lt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:or},Ht.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),Ht.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()}}),Ht.createElement("div",{style:{height:70}})),Ht.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 Ur=(0,de.connect)(({user:ce,exercise:pe,dispatch:Pe})=>({user:ce,exercise:pe,dispatch:Pe}))(cr),yo=ee(50337),lo=ee(53311),Tr=ee(95024),vo=ee(87169),Ao=ee(52154),ka=ee(59301),wo=Object.defineProperty,yi=Object.defineProperties,Do=Object.getOwnPropertyDescriptors,qr=Object.getOwnPropertySymbols,bi=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable,gi=(ce,pe,Pe)=>pe in ce?wo(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,Do(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},Hr=(ce,pe,Pe)=>new Promise((Ot,en)=>{var Oa=zt=>{try{_n(Pe.next(zt))}catch($n){en($n)}},va=zt=>{try{_n(Pe.throw(zt))}catch($n){en($n)}},_n=zt=>zt.done?Ot(zt.value):Promise.resolve(zt.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:zt}=pe,$n=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,[wr]=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),[Ho,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)(()=>{zt({type:"problemset/getEditDisciplines",payload:{source:"new_question",identifier:Sr==null?void 0:Sr.coursesId}}),zt({type:"globalSetting/footerToggle",payload:!1}),wr.setFieldsValue({difficulty:2,courseid:[]})},[]),(0,b.useEffect)(()=>{Sr.exerciseId&&Hr(void 0,null,function*(){var Io,Si,Ui;const Zi=yield zt({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||((Ui=Zi==null?void 0:Zi.exercise)==null?void 0:Ui.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),wr.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&&wr.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 Hr(this,null,function*(){var Ui,Zi,hl,ul;yield wr.validateFields();const sl=wr.getFieldsValue(),{courseid:Al}=sl,[Rl,ml]=Al;sl.sub_discipline_id=ml,sl.is_md=!0,sl.time=parseInt(sl.time)>9999?9999:sl.time;const qi=yield zt({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:(Ui=qi==null?void 0:qi.data)==null?void 0:Ui.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 Hr(this,null,function*(){if(!(ao!=null&&ao.ec_point_ids))return;const Si=Zo({},ao);delete Si.id;let Ui=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 ka.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},ka.createElement("section",{className:"edu-container"},ka.createElement("section",{className:"animated fadeIn"},ka.createElement("aside",{className:"mt10"},xo&&ka.createElement(_e.Z,{separator:">"},ka.createElement(_e.Z.Item,null,ka.createElement(de.Link,{to:`/classrooms/${Sr.coursesId}/exercise`},(Pt=xo==null?void 0:xo.course)==null?void 0:Pt.course_name)),ka.createElement(_e.Z.Item,null,ka.createElement(de.Link,{to:`/classrooms/${Sr.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")),ka.createElement(_e.Z.Item,null,Sr.exerciseId?"\u7F16\u8F91\u8BD5\u5377":"\u65B0\u5EFA\u8BD5\u5377")))),Sr.exerciseId&&ka.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}},ka.createElement(vo.Z,{style:{marginRight:5,color:"#E99237"}}),ka.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"),ka.createElement("span",{className:Je.addQuestionBtn,onClick:()=>{zt({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[Sr.exerciseId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),ka.createElement(Tr.Z,{haveInit:!0,init:()=>{ii(new Date)}}),ka.createElement("div",{className:"bg-white"},ka.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},ka.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},ka.createElement(yo.Z,{number:1,active:hi===1,className:"mr10"}),ka.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),ka.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),ka.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},ka.createElement(yo.Z,{number:2,active:hi!==1,className:"mr10"}),ka.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),hi===2&&ka.createElement("div",{className:"tc"},ka.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=>Hr(void 0,null,function*(){var Si,Ui,Zi,hl,ul,sl,Al,Rl,ml,qi,Wl,Xo;return Io.trim()===((Ui=(Si=va==null?void 0:va.editData)==null?void 0:Si.exercise)==null?void 0:Ui.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=(Al=va==null?void 0:va.editData)==null?void 0:Al.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?(wr.setFieldValue("exercise_name",Io),!0):!1})}),ka.createElement("div",{style:{fontSize:14}},ka.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",ka.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")),ka.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",ka.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")),ka.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",ka.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)),ka.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",ka.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&&ka.createElement("div",null,ka.createElement("section",{className:[Je.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},ka.createElement(Be.default,{form:wr,colon:!1,layout:"horizontal",labelCol:{span:4},wrapperCol:{span:20},initialValues:{time:60},onFinish:Io=>Hr(void 0,null,function*(){var Si,Ui,Zi,hl,ul;if(Ga(!0),ta(!0),Sr.exerciseId){Io.exerciseId=(Ui=(Si=va.editData)==null?void 0:Si.exercise)==null?void 0:Ui.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)zt({type:"classroomList/setActionTabs",payload:{key:"\u9884\u7EA6\u5F39\u7A97"}});else{const{courseid:Al}=Io,[Rl,ml]=Al;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 zt({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},ka.createElement(Be.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:Je.baseLineHeight,rules:[{required:!0,validator:(Io,Si)=>{var Ui;return((Ui=Si==null?void 0:Si.replaceAll(" ",""))==null?void 0:Ui.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},ka.createElement(Te.default,{maxLength:60,className:Je.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),ka.createElement(Be.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"courseid",className:Je.baseLineHeight},ka.createElement(le.Z,{disabled:Ho,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})),ka.createElement("div",{className:Je.concat},ka.createElement("div",null,ka.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")),ka.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",ka.createElement("a",{onClick:()=>ll(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),ka.createElement(Be.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:Je.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},ka.createElement(qe.ZP.Group,{className:Je.radiogroup,disabled:Ho},ka.createElement(qe.ZP.Button,{className:Je.easy,value:1},"\u7B80\u5355"),ka.createElement(qe.ZP.Button,{className:Je.medium,value:2},"\u9002\u4E2D"),ka.createElement(qe.ZP.Button,{className:Je.hard,value:3},"\u56F0\u96BE"))),ka.createElement(Be.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:Je.baseLineHeight},ka.createElement("div",{style:{display:"flex",width:"100%"}},ka.createElement(Be.default.Item,{name:"time",noStyle:!0},ka.createElement(Ke.Z,{disabled:Ho,min:1,max:9999,className:Je.baseFormItem,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),ka.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),ka.createElement(Be.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},ka.createElement(Te.default.TextArea,{disabled:Ho,rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"}))),ka.createElement(Kn,{exercise_id:Sr==null?void 0:Sr.exerciseId,setitem:Bl})),ka.createElement("div",{className:Je.bottmodiv},ka.createElement(je.ZP,{className:`${Je.cancelBtn}`,type:"primary",onClick:()=>{de.history.back()}},"\u53D6\u6D88"),ka.createElement(je.ZP,{loading:Li,onClick:()=>{wr.validateFields(),wr.submit()},type:"primary",className:`${Je.confirmBtn} ml20`},"\u4E0B\u4E00\u6B65")),ka.createElement(z,{setsubloading:ta,onModalOk:cl})),hi===2&&ka.createElement("div",null,ka.createElement(Ur,{key:Mi,setisedits:Ri,setitemid:po,itemid:Cr}))),ka.createElement(Ao.Z,{open:il,onCancel:()=>{ll(!1)}}))};var zr=(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),Te=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)([]),[De,He]=(0,b.useState)([]);(0,b.useEffect)(()=>{a?he():(He([]),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||[]),He((z==null?void 0:z.length)>0?z:[])}),Qe=()=>{if((De==null?void 0:De.length)===0)return de.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",De),ie(!0),x(te,De[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:De,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)=>{He(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(Te.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),Te=(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 Te(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=>Te(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:()=>Te(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,Te=(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)&&Te(z,re,te[re]);if(Be)for(var re of Be(te))_e.call(te,re)&&Te(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),Te=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]),Te.createElement("div",null,je?Te.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)})}):Te.createElement("div",{className:_e.Z.title},Ye,Te.createElement(de.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},Te.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,Te=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,it=(je,Je)=>{var Ye={};for(var ue in je)Te.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\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,Te;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=(Te=((_e=Be.ownerDocument)!==null&&_e!==void 0?_e:Be).documentElement)===null||Te===void 0?void 0:Te[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,Te,le,it){const qe=le-Te;return _e/=it/2,_e<1?qe/2*_e*_e*_e+Te:qe/2*((_e-=2)*_e*_e+2)+Te}var Be=ee(13845);function Ne(_e){let Te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:le=()=>window,callback:it,duration:qe=450}=Te,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),Te=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 wt=0,gt=Object.getOwnPropertySymbols(Le);wt<gt.length;wt++)ot.indexOf(gt[wt])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[wt])&&(dt[gt[wt]]=Le[gt[wt]]);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,wt)=>ot[wt]||gt)}function ue(Le,ot,dt,gt){if(dt==null)return null;const{className:wt,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`,wt),href:gt}),dt):_e.createElement("span",Object.assign({},on,{className:de()(`${Le}-link`,wt)}),dt)}function E(Le,ot){return(gt,wt,sn,Ft,on)=>{if(ot)return ot(gt,wt,sn,Ft);const cn=Ye(gt,wt);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 wt=0,gt=Object.getOwnPropertySymbols(Le);wt<gt.length;wt++)ot.indexOf(gt[wt])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[wt])&&(dt[gt[wt]]=Le[gt[wt]]);return dt};const x=Le=>{const{prefixCls:ot,separator:dt="/",children:gt,menu:wt,overlay:sn,dropdownProps:Ft,href:on}=Le,Ve=(at=>{if(wt||sn){const rn=Object.assign({},Ft);if(wt){const Kn=wt||{},{items:Gt}=Kn,Bn=a(Kn,["items"]);rn.menu=Object.assign(Object.assign({},Bn),{items:Gt==null?void 0:Gt.map((ze,ct)=>{var{key:Lt,title:mt,label:Nt,path:st}=ze,nt=a(ze,["key","title","label","path"]);let we=Nt!=null?Nt:mt;return st&&(we=_e.createElement("a",{href:`${on}${st}`},we)),Object.assign(Object.assign({},nt),{key:Lt!=null?Lt:ct,label:we})})})}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,wt=a(Le,["prefixCls","children","href"]),{getPrefixCls:sn}=_e.useContext(le.E_),Ft=sn("breadcrumb",ot);return _e.createElement(x,Object.assign({},wt,{prefixCls:Ft}),ue(Ft,wt,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 wt=0,gt=Object.getOwnPropertySymbols(Le);wt<gt.length;wt++)ot.indexOf(gt[wt])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[wt])&&(dt[gt[wt]]=Le[gt[wt]]);return dt};function Ge(Le){const{breadcrumbName:ot,children:dt}=Le,gt=ye(Le,["breadcrumbName","children"]),wt=Object.assign({title:ot},gt);return dt&&(wt.menu={items:dt.map(sn=>{var{breadcrumbName:Ft}=sn,on=ye(sn,["breadcrumbName"]);return Object.assign(Object.assign({},on),{title:Ft})})}),wt}function De(Le,ot){return(0,_e.useMemo)(()=>Le||(ot?ot.map(Ge):null),[Le,ot])}var He=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 wt=0,gt=Object.getOwnPropertySymbols(Le);wt<gt.length;wt++)ot.indexOf(gt[wt])<0&&Object.prototype.propertyIsEnumerable.call(Le,gt[wt])&&(dt[gt[wt]]=Le[gt[wt]]);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:wt,rootClassName:sn,routes:Ft,items:on,children:cn,itemRender:Ve,params:at={}}=Le,rn=He(Le,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Kn,direction:Gt,breadcrumb:Bn}=_e.useContext(le.E_);let ze;const ct=Kn("breadcrumb",ot),[Lt,mt]=ve(ct),Nt=De(on,Ft),st=E(ct,Ve);if(Nt&&Nt.length>0){const fe=[],Xe=on||Ft;ze=Nt.map((Rt,Oe)=>{const{path:Ie,key:vt,type:et,menu:Me,overlay:St,onClick:An,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:An,prefixCls:ct}),st(Rt,at,Xe,fe,Bt))})}else if(cn){const fe=(0,Be.Z)(cn).length;ze=(0,Be.Z)(cn).map((Xe,Rt)=>{if(!Xe)return Xe;const Oe=Rt===fe-1;return(0,Te.Tm)(Xe,{separator:Oe?"":dt,key:Rt})})}const nt=de()(ct,Bn==null?void 0:Bn.className,{[`${ct}-rtl`]:Gt==="rtl"},wt,sn,mt),we=Object.assign(Object.assign({},Bn==null?void 0:Bn.style),gt);return Lt(_e.createElement("nav",Object.assign({className:nt,style:we},rn),_e.createElement("ol",null,ze)))};Qe.Item=z,Qe.Separator=je;var We=Qe,ft=We},19842:function(Vt,jt,ee){"use strict";ee.d(jt,{Z:function(){return wa}});var b=ee(95190),de=ee(59301),Be=ee(33853),Ne=ee(58617),_e=ee(38819),Te=ee(92310),le=ee.n(Te),it=ee(14809),qe=ee(50298),Ke=ee(62646),je=ee(77861),Je=ee(17115),Ye=ee(90782),ue=ee(6089),E=ee(18929),a=de.createContext(null),x=a,y=ee(93664),z=ee(4635),te=ee(20439),re="__rc_cascader_search_mark__",se=function(bn,Ln,Hn){var pn=Hn.label;return Ln.some(function(ia){return String(ia[pn]).toLowerCase().includes(bn.toLowerCase())})},ie=function(bn,Ln,Hn,pn){return Ln.map(function(ia){return ia[pn.label]}).join(" / ")},ve=function(ut,bn,Ln,Hn,pn,ia){var Sa=pn.filter,It=Sa===void 0?se:Sa,Tt=pn.render,bt=Tt===void 0?ie:Tt,Qn=pn.limit,Yn=Qn===void 0?50:Qn,Gn=pn.sort;return de.useMemo(function(){var ir=[];if(!ut)return[];function Ba(Xn,$a){var Aa=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)($a),[Nn]),Nr=Nn[Ln.children],Vr=Aa||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,Hn,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,$a){return Gn(Xn[re],$a[re],ut,Ln)}),Yn!==!1&&Yn>0?ir.slice(0,Yn):ir},[ut,bn,Ln,Hn,bt,ia,It,Gn,Yn])},ye="__RC_CASCADER_SPLIT__",Ge="SHOW_PARENT",De="SHOW_CHILD";function He(ut){return ut.join(ye)}function he(ut){return ut.map(He)}function Qe(ut){return ut.split(ye)}function We(ut){var bn=ut||{},Ln=bn.label,Hn=bn.value,pn=bn.children,ia=Hn||"value";return{label:Ln||"label",value:ia,key:ia,children:pn||"children"}}function ft(ut,bn){var Ln,Hn;return(Ln=ut.isLeaf)!==null&&Ln!==void 0?Ln:!((Hn=ut[bn.children])!==null&&Hn!==void 0&&Hn.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 Hn;return(Hn=Ln[re])===null||Hn===void 0?void 0:Hn.map(function(pn){return pn[bn.value]})})}function dt(ut,bn,Ln){var Hn=new Set(ut),pn=bn();return ut.filter(function(ia){var Sa=pn[ia],It=Sa?Sa.parent:null,Tt=Sa?Sa.children:null;return Sa&&Sa.node.disabled?!0:Ln===De?!(Tt&&Tt.some(function(bt){return bt.key&&Hn.has(bt.key)})):!(It&&!It.node.disabled&&Hn.has(It.key))})}function gt(ut,bn,Ln){for(var Hn=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 $a=Xn[Ln.value];return Hn?String($a)===String(Gn):$a===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 wt=function(ut,bn,Ln,Hn,pn){return de.useMemo(function(){var ia=pn||function(Sa){var It=Hn?Sa.slice(-1):Sa,Tt=" / ";return It.every(function(bt){return["string","number"].includes((0,y.Z)(bt))})?It.join(Tt):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),[Tt,Gn])},[])};return ut.map(function(Sa){var It,Tt,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=He(Sa);return{label:Qn,value:Yn,key:Yn,valueCells:Sa,disabled:(It=bt[bt.length-1])===null||It===void 0||(Tt=It.option)===null||Tt===void 0?void 0:Tt.disabled}})},[ut,bn,Ln,pn,Hn])},sn=ee(71430),Ft=function(ut,bn){var Ln=de.useRef({options:null,info:null}),Hn=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(Tt){return Tt[bn.value]}).join(ye);Sa.pathKeyEntities[It]=ia,ia.key=It}})),Ln.current.info.pathKeyEntities},[bn,ut]);return Hn},on=function(ut,bn){return de.useCallback(function(Ln){var Hn=[],pn=[];return Ln.forEach(function(ia){var Sa=gt(ia,ut,bn);Sa.every(function(It){return It.option})?pn.push(ia):Hn.push(ia)}),[pn,Hn]},[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,Hn=ut.checked,pn=ut.halfChecked,ia=ut.disabled,Sa=ut.onClick,It=ut.disableCheckbox,Tt=de.useContext(x),bt=Tt.checkable,Qn=typeof bt!="boolean"?bt:null;return de.createElement("span",{className:le()("".concat(Ln),(bn={},(0,z.Z)(bn,"".concat(Ln,"-checked"),Hn),(0,z.Z)(bn,"".concat(Ln,"-indeterminate"),!Hn&&pn),(0,z.Z)(bn,"".concat(Ln,"-disabled"),ia||It),bn)),onClick:Sa},Qn)}var Gt="__cascader_fix_label__";function Bn(ut){var bn=ut.prefixCls,Ln=ut.multiple,Hn=ut.options,pn=ut.activeValue,ia=ut.prevValuePath,Sa=ut.onToggleOpen,It=ut.onSelect,Tt=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"),$a=de.useContext(x),Aa=$a.fieldNames,Nn=$a.changeOnSelect,mr=$a.expandTrigger,Nr=$a.expandIcon,Vr=$a.loadingIcon,xr=$a.dropdownMenuColumnStyle,Ue=mr==="hover",Pn=de.useMemo(function(){return Hn.map(function(Jt){var In,Wn=Jt.disabled,la=Jt.disableCheckbox,Ct=Jt[re],xt=(In=Jt[Gt])!==null&&In!==void 0?In:Jt[Aa.label],an=Jt[Aa.value],tn=ft(Jt,Aa),Kt=Ct?Ct.map(function(Un){return Un[Aa.value]}):[].concat((0,b.Z)(ia),[an]),xa=He(Kt),Ea=Yn.includes(xa),Qa=bt.has(xa),Ha=Qn.has(xa);return{disabled:Wn,label:xt,value:an,isLeaf:tn,isLoading:Ea,checked:Qa,halfChecked:Ha,option:Jt,disableCheckbox:la,fullPath:Kt,fullPathKey:xa}})},[Hn,bt,Aa,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,Ha=Jt.disableCheckbox,Un=function(){if(!(Wn||ir)){var vr=(0,b.Z)(Ea);Ue&&xt&&vr.pop(),Tt(vr)}},na=function(){Gn(xa)&&It(Ea,xt)},ya;return typeof xa.title=="string"?ya=xa.title:typeof la=="string"&&(ya=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:ya,"aria-checked":tn,"data-path-key":Qa,onClick:function(){Un(),!Ha&&(!Ln||xt)&&na()},onDoubleClick:function(){Nn&&Sa(!1)},onMouseEnter:function(){Ue&&Un()},onMouseDown:function(vr){vr.preventDefault()}},Ln&&de.createElement(Kn,{prefixCls:"".concat(bn,"-checkbox"),checked:tn,halfChecked:Kt,disabled:Wn||Ha,disableCheckbox:Ha,onClick:function(vr){Ha||(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 ze=function(){var ut=(0,je.lk)(),bn=ut.multiple,Ln=ut.open,Hn=de.useContext(x),pn=Hn.values,ia=de.useState([]),Sa=(0,qe.Z)(ia,2),It=Sa[0],Tt=Sa[1];return de.useEffect(function(){if(Ln&&!bn){var bt=pn[0];Tt(bt||[])}},[Ln]),[It,Tt]},ct=ee(10228),Lt=function(ut,bn,Ln,Hn,pn,ia){var Sa=(0,je.lk)(),It=Sa.direction,Tt=Sa.searchValue,bt=Sa.toggleOpen,Qn=Sa.open,Yn=It==="rtl",Gn=de.useMemo(function(){for(var xr=-1,Ue=bn,Pn=[],Jt=[],In=Hn.length,Wn=ot(bn,Ln),la=function(xa){var Ea=Ue.findIndex(function(Qa,Ha){return(Wn[Ha]?He(Wn[Ha]):Qa[Ln.value])===Hn[xa]});if(Ea===-1)return"break";xr=Ea,Pn.push(xr),Jt.push(Hn[xa]),Ue=Ue[xr][Ln.children]},Ct=0;Ct<In&&Ue;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]},[Hn,Ln,bn]),ir=(0,qe.Z)(Gn,4),Ba=ir[0],Xn=ir[1],$a=ir[2],Aa=ir[3],Nn=function(Ue){pn(Ue)},mr=function(Ue){var Pn=$a.length,Jt=Xn;Jt===-1&&Ue<0&&(Jt=Pn);for(var In=0;In<Pn;In+=1){Jt=(Jt+Ue+Pn)%Pn;var Wn=$a[Jt];if(Wn&&!Wn.disabled){var la=Ba.slice(0,-1).concat(Aa[Jt]?He(Aa[Jt]):Wn[Ln.value]);Nn(la);return}}},Nr=function(){if(Ba.length>1){var Ue=Ba.slice(0,-1);Nn(Ue)}else bt(!1)},Vr=function(){var Ue,Pn=((Ue=$a[Xn])===null||Ue===void 0?void 0:Ue[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(Ue){var Pn=Ue.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(Tt)break;Yn?Vr():Nr();break}case ct.Z.RIGHT:{if(Tt)break;Yn?Nr():Vr();break}case ct.Z.BACKSPACE:{Tt||Nr();break}case ct.Z.ENTER:{if(Ba.length){var In=$a[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,$a[Xn])}break}case ct.Z.ESC:bt(!1),Qn&&Ue.stopPropagation()}},onKeyUp:function(){}}})},mt=de.forwardRef(function(ut,bn){var Ln,Hn,pn,ia,Sa=(0,je.lk)(),It=Sa.prefixCls,Tt=Sa.multiple,bt=Sa.searchValue,Qn=Sa.toggleOpen,Yn=Sa.notFoundContent,Gn=Sa.direction,ir=Sa.open,Ba=de.useRef(),Xn=Gn==="rtl",$a=de.useContext(x),Aa=$a.options,Nn=$a.values,mr=$a.halfValues,Nr=$a.fieldNames,Vr=$a.changeOnSelect,xr=$a.onSelect,Ue=$a.searchOptions,Pn=$a.dropdownPrefixCls,Jt=$a.loadData,In=$a.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,Aa,Nr),To=Wo.map(function(to){var Yo=to.option;return Yo}),No=To[To.length-1];if(No&&!ft(No,Nr)){var Er=He(bo);an(function(to){return[].concat((0,b.Z)(to),[Er])}),Jt(To)}}};de.useEffect(function(){xt.length&&xt.forEach(function(ho){var bo=Qe(ho),Wo=gt(bo,Aa,Nr,!0).map(function(No){var Er=No.option;return Er}),To=Wo[Wo.length-1];(!To||To[Nr.children]||ft(To,Nr))&&an(function(No){return No.filter(function(Er){return Er!==ho})})})},[Aa,xt,Nr]);var Kt=de.useMemo(function(){return new Set(he(Nn))},[Nn]),xa=de.useMemo(function(){return new Set(he(mr))},[mr]),Ea=ze(),Qa=(0,qe.Z)(Ea,2),Ha=Qa[0],Un=Qa[1],na=function(bo){Un(bo),tn(bo)},ya=function(bo){var Wo=bo.disabled,To=ft(bo,Nr);return!Wo&&(To||Vr||Tt)},Pa=function(bo,Wo){var To=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;xr(bo),!Tt&&(Wo||Vr&&(In==="hover"||To))&&Qn(!1)},vr=de.useMemo(function(){return bt?Ue:Aa},[bt,Ue,Aa]),kr=de.useMemo(function(){for(var ho=[{options:vr}],bo=vr,Wo=ot(bo,Nr),To=function(){var Yo=Ha[No],Jo=bo.find(function(Ar,oi){return(Wo[oi]?He(Wo[oi]):Ar[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<Ha.length;No+=1){var Er=To();if(Er==="break")break}return ho},[vr,Ha,Nr]),Ya=function(bo,Wo){ya(Wo)&&Pa(bo,ft(Wo,Nr),!0)};Lt(bn,vr,Nr,Ha,na,Ya),de.useEffect(function(){for(var ho=0;ho<Ha.length;ho+=1){var bo,Wo=Ha.slice(0,ho+1),To=He(Wo),No=(bo=Ba.current)===null||bo===void 0?void 0:bo.querySelector('li[data-path-key="'.concat(To.replace(/\\{0,2}"/g,'\\"'),'"]'));No&&Le(No)}},[Ha]);var lr=!((Ln=kr[0])!==null&&Ln!==void 0&&(Hn=Ln.options)!==null&&Hn!==void 0&&Hn.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&&Tt,onSelect:Pa,onActive:na,onToggleOpen:Qn,checkedSet:Kt,halfCheckedSet:xa,loadingKeys:xt,isSelectable:ya}),ri=lr?[{options:hr}]:kr,xi=ri.map(function(ho,bo){var Wo=Ha.slice(0,bo),To=Ha[bo];return de.createElement(Bn,(0,it.Z)({key:bo},Po,{searchValue:bt,prefixCls:Wn,options:ho.options,prevValuePath:Wo,activeValue:To}))});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,Hn=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(Hn===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 Hn(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])&&Hn(Sa[bn==null?void 0:bn.children]))return!0}};Ln(ut)}}var we=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,Hn=ut.prefixCls,pn=Hn===void 0?"rc-cascader":Hn,ia=ut.fieldNames,Sa=ut.defaultValue,It=ut.value,Tt=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,$a=ut.showSearch,Aa=ut.expandTrigger,Nn=ut.options,mr=ut.dropdownPrefixCls,Nr=ut.loadData,Vr=ut.popupVisible,xr=ut.open,Ue=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,Ha=Qa===void 0?Ge:Qa,Un=(0,Ke.Z)(ut,fe),na=(0,Je.ZP)(Ln),ya=!!Yn,Pa=(0,E.Z)(Sa,{value:It,postState:Rt}),vr=(0,qe.Z)(Pa,2),kr=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(Ae){return Ae[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],To=function(Va,er){Wo(Va),er.source!=="blur"&&Xn&&Xn(Va)},No=Ve($a),Er=(0,qe.Z)(No,2),to=Er[0],Yo=Er[1],Jo=ve(bo,hr,lr,mr||pn,Yo,Tt),Lo=on(hr,lr),Ar=de.useMemo(function(){var qa=Lo(kr),Va=(0,qe.Z)(qa,2),er=Va[0],so=Va[1];if(!ya||!kr.length)return[er,[],so];var Ae=he(er),hn=Po(),Rn=(0,Ye.S)(Ae,!0,hn),ba=Rn.checkedKeys,un=Rn.halfCheckedKeys;return[ri(ba),ri(un),so]},[ya,kr,Po,ri,Lo]),oi=(0,qe.Z)(Ar,3),Gr=oi[0],ko=oi[1],mo=oi[2],di=de.useMemo(function(){var qa=he(Gr),Va=dt(qa,Po,Ha);return[].concat((0,b.Z)(mo),(0,b.Z)(ri(Va)))},[Gr,Po,ri,mo,Ha]),vi=wt(di,hr,lr,ya,Qn),$i=(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=ya?Va:Va[0],Ae=ya?er:er[0];bt(so,Ae)}}),tl=(0,ue.Z)(function(qa){if((!ya||ir)&&Wo(""),!ya)$i(qa);else{var Va=He(qa),er=he(Gr),so=he(ko),Ae=er.includes(Va),hn=mo.some(function(Wa){return He(Wa)===Va}),Rn=Gr,ba=mo;if(hn&&!Ae)ba=mo.filter(function(Wa){return He(Wa)!==Va});else{var un=Ae?er.filter(function(Wa){return Wa!==Va}):[].concat((0,b.Z)(er),[Va]),Za=Po(),Na;if(Ae){var zn=(0,Ye.S)(un,{checked:!1,halfCheckedKeys:so},Za);Na=zn.checkedKeys}else{var qn=(0,Ye.S)(un,!0,Za);Na=qn.checkedKeys}var pr=dt(Na,Po,Ha);Rn=ri(pr)}$i([].concat((0,b.Z)(ba),(0,b.Z)(Rn)))}}),nl=function(Va,er){if(er.type==="clear"){$i([]);return}var so=er.values[0],Ae=so.valueCells;tl(Ae)},Uo=xr!==void 0?xr:Vr,Fi=Pn||Ue,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:ko,changeOnSelect:Tt,onSelect:tl,checkable:Yn,searchOptions:Jo,dropdownPrefixCls:mr,loadData:Nr,expandTrigger:Aa,expandIcon:an,loadingIcon:tn,dropdownMenuColumnStyle:Jt}},[hr,lr,Gr,ko,Tt,tl,Yn,Jo,mr,Nr,Aa,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)({},Un,{ref:bn,id:na,prefixCls:pn,autoClearSearchValue:ir,dropdownMatchSelectWidth:Ea,dropdownStyle:_r,displayValues:vi,onDisplayValuesChange:nl,mode:ya?"multiple":void 0,searchValue:bo,onSearch:To,showSearch:to,OptionList:Nt,emptyOptions:Pl,open:Uo,dropdownClassName:Fi,placement:Wi,onDropdownVisibleChange:dl,getRawInputElement:function(){return Kt}})))});Oe.SHOW_PARENT=Ge,Oe.SHOW_CHILD=De;var Ie=Oe,vt=Ie,et=ee(2738),Me=ee(62892),St=ee(53487),An=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),wn=ee(17313),Jn=ee(74207),ha=ee(83116);const Ra=ut=>{const{prefixCls:bn,componentCls:Ln,antCls:Hn}=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),{[`&${Hn}-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({},wn.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 Hn in ut)Object.prototype.hasOwnProperty.call(ut,Hn)&&bn.indexOf(Hn)<0&&(Ln[Hn]=ut[Hn]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pn=0,Hn=Object.getOwnPropertySymbols(ut);pn<Hn.length;pn++)bn.indexOf(Hn[pn])<0&&Object.prototype.propertyIsEnumerable.call(ut,Hn[pn])&&(Ln[Hn[pn]]=ut[Hn[pn]]);return Ln};const{SHOW_CHILD:ar,SHOW_PARENT:pa}=vt;function Br(ut,bn,Ln){const Hn=ut.toLowerCase().split(bn).reduce((Sa,It,Tt)=>Tt===0?[It]:[].concat((0,b.Z)(Sa),[bn,It]),[]),pn=[];let ia=0;return Hn.forEach((Sa,It)=>{const Tt=ia+Sa.length;let bt=ut.slice(ia,Tt);ia=Tt,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,Hn)=>{const pn=[],ia=ut.toLowerCase();return bn.forEach((Sa,It)=>{It!==0&&pn.push(" / ");let Tt=Sa[Hn.label];const bt=typeof Tt;(bt==="string"||bt==="number")&&(Tt=Br(String(Tt),ia,Ln)),pn.push(Tt)}),pn},Dn=de.forwardRef((ut,bn)=>{const{prefixCls:Ln,size:Hn,disabled:pn,className:ia,rootClassName:Sa,multiple:It,bordered:Tt=!0,transitionName:bt,choiceTransitionName:Qn="",popupClassName:Yn,dropdownClassName:Gn,expandIcon:ir,placement:Ba,showSearch:Xn,allowClear:$a=!0,notFoundContent:Aa,direction:Nn,getPopupContainer:mr,status:Nr,showArrow:Vr,builtinPlacements:xr,style:Ue}=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:Ha}=de.useContext(Ze.aM),Un=(0,An.F)(xa,Nr),na=Aa||(la==null?void 0:la("Cascader"))||de.createElement(fn.Z,{componentName:"Cascader"}),ya=Wn(),Pa=Wn("select",Ln),vr=Wn("cascader",Ln),[kr,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=Hn!=null?Hn:hr)!==null&&di!==void 0?di:mo}),bo=de.useContext(ln.Z),Wo=pn!=null?pn:bo;let To=ir;ir||(To=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:Ha,showSuffixIcon:to,multiple:It,prefixCls:Pa,componentName:"Cascader"})),Ar=de.useMemo(()=>Ba!==void 0?Ba:Kt?"bottomRight":"bottomLeft",[Ba,Kt]),oi=(0,Zt.Z)(xr,xt),Gr=$a===!0?{clearIcon:Lo}:$a,ko=de.createElement(vt,Object.assign({prefixCls:Pa,className:le()(!Ln&&vr,{[`${Pa}-lg`]:ho==="large",[`${Pa}-sm`]:ho==="small",[`${Pa}-rtl`]:Kt,[`${Pa}-borderless`]:!Tt,[`${Pa}-in-form-item`]:Qa},(0,An.Z)(Pa,Un,Ea),Po,an==null?void 0:an.className,ia,Sa,Ya),disabled:Wo,style:Object.assign(Object.assign({},an==null?void 0:an.style),Ue)},Jt,{builtinPlacements:oi,direction:tn,placement:Ar,notFoundContent:na,allowClear:Gr,showSearch:xi,expandIcon:To,suffixIcon:Yo,removeIcon:Jo,loadingIcon:No,checkable:Er,dropdownClassName:ri,dropdownPrefixCls:Ln||vr,choiceTransitionName:(0,Me.m)(ya,"",Qn),transitionName:(0,Me.m)(ya,"slide-up",bt),getPopupContainer:mr||In,ref:bn}));return lr(kr(ko))}),oa=(0,St.Z)(Dn);Dn.SHOW_PARENT=pa,Dn.SHOW_CHILD=ar,Dn._InternalPanelDoNotUseOrYouWillBeFired=oa;var wa=Dn},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),Te=ee(1684),le=ee(32441),qe=Ne.createContext(null),Ke=ee(98447),je=ee(14088),Je=ee(4572),Ye=function(ye,Ge){var De={};for(var He in ye)Object.prototype.hasOwnProperty.call(ye,He)&&Ge.indexOf(He)<0&&(De[He]=ye[He]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,He=Object.getOwnPropertySymbols(ye);he<He.length;he++)Ge.indexOf(He[he])<0&&Object.prototype.propertyIsEnumerable.call(ye,He[he])&&(De[He[he]]=ye[He[he]]);return De};const ue=(ye,Ge)=>{var De;const{prefixCls:He,className:he,rootClassName:Qe,children:We,indeterminate:ft=!1,style:Le,onMouseEnter:ot,onMouseLeave:dt,skipGroup:gt=!1,disabled:wt}=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(Te.Z),Kn=(De=(Ve==null?void 0:Ve.disabled)||wt)!==null&&De!==void 0?De: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 Bn=Ft("checkbox",He),[ze,ct]=(0,Ke.ZP)(Bn),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()(`${Bn}-wrapper`,{[`${Bn}-rtl`]:on==="rtl",[`${Bn}-wrapper-checked`]:Lt.checked,[`${Bn}-wrapper-disabled`]:Kn,[`${Bn}-wrapper-in-form-item`]:at},cn==null?void 0:cn.className,he,Qe,ct),Nt=de()({[`${Bn}-indeterminate`]:ft},Je.A,ct),st=ft?"mixed":void 0;return ze(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:Bn,className:Nt,disabled:Kn,ref:Ge})),We!==void 0&&Ne.createElement("span",null,We))))};var a=Ne.forwardRef(ue),x=ee(95190),y=ee(2738),z=function(ye,Ge){var De={};for(var He in ye)Object.prototype.hasOwnProperty.call(ye,He)&&Ge.indexOf(He)<0&&(De[He]=ye[He]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,He=Object.getOwnPropertySymbols(ye);he<He.length;he++)Ge.indexOf(He[he])<0&&Object.prototype.propertyIsEnumerable.call(ye,He[he])&&(De[He[he]]=ye[He[he]]);return De};const te=(ye,Ge)=>{const{defaultValue:De,children:He,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:wt}=Ne.useContext(_e.E_),[sn,Ft]=Ne.useState(dt.value||De||[]),[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(we=>we.filter(fe=>fe!==nt))},rn=nt=>{cn(we=>[].concat((0,x.Z)(we),[nt]))},Kn=nt=>{const we=sn.indexOf(nt.value),fe=(0,x.Z)(sn);we===-1?fe.push(nt.value):fe.splice(we,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),Bn=`${Gt}-group`,[ze,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:`${Bn}-item`,style:nt.style,title:nt.title},nt.label)):He,Nt={toggleOption:Kn,value:sn,disabled:dt.disabled,name:dt.name,registerValue:rn,cancelValue:at},st=de()(Bn,{[`${Bn}-rtl`]:wt==="rtl"},We,ft,ct);return ze(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=Te=>{const{checkboxCls:le}=Te,it=`${le}-wrapper`;return[{[`${le}-group`]:Object.assign(Object.assign({},(0,b.Wf)(Te)),{display:"inline-flex",flexWrap:"wrap",columnGap:Te.marginXS,[`> ${Te.antCls}-row`]:{flex:1}}),[it]:Object.assign(Object.assign({},(0,b.Wf)(Te)),{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)(Te)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Te.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)(Te))},[`${le}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Te.checkboxSize,height:Te.checkboxSize,direction:"ltr",backgroundColor:Te.colorBgContainer,border:`${Te.lineWidth}px ${Te.lineType} ${Te.colorBorder}`,borderRadius:Te.borderRadiusSM,borderCollapse:"separate",transition:`all ${Te.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Te.checkboxSize/14*5,height:Te.checkboxSize/14*8,border:`${Te.lineWidthBold}px solid ${Te.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Te.motionDurationFast} ${Te.motionEaseInBack}, opacity ${Te.motionDurationFast}`}},"& + span":{paddingInlineStart:Te.paddingXS,paddingInlineEnd:Te.paddingXS}})},{[`
${it}:not(${it}-disabled),
${le}:not(${le}-disabled)
`]:{[`&:hover ${le}-inner`]:{borderColor:Te.colorPrimary}},[`${it}:not(${it}-disabled)`]:{[`&:hover ${le}-checked:not(${le}-disabled) ${le}-inner`]:{backgroundColor:Te.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${le}-checked:not(${le}-disabled):after`]:{borderColor:Te.colorPrimaryHover}}},{[`${le}-checked`]:{[`${le}-inner`]:{backgroundColor:Te.colorPrimary,borderColor:Te.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Te.motionDurationMid} ${Te.motionEaseOutBack} ${Te.motionDurationFast}`}}},[`
${it}-checked:not(${it}-disabled),
${le}-checked:not(${le}-disabled)
`]:{[`&:hover ${le}-inner`]:{backgroundColor:Te.colorPrimaryHover,borderColor:"transparent"}}},{[le]:{"&-indeterminate":{[`${le}-inner`]:{backgroundColor:Te.colorBgContainer,borderColor:Te.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Te.fontSizeLG/2,height:Te.fontSizeLG/2,backgroundColor:Te.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${it}-disabled`]:{cursor:"not-allowed"},[`${le}-disabled`]:{[`&, ${le}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${le}-inner`]:{background:Te.colorBgContainerDisabled,borderColor:Te.colorBorder,"&:after":{borderColor:Te.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Te.colorTextDisabled},[`&${le}-indeterminate ${le}-inner::after`]:{background:Te.colorTextDisabled}}}]};function _e(Te,le){const it=(0,de.TS)(le,{checkboxCls:`.${Te}`,checkboxSize:le.controlInteractiveSize});return[Ne(it)]}jt.ZP=(0,Be.Z)("Checkbox",(Te,le)=>{let{prefixCls:it}=le;return[_e(it,Te)]})},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(14809),_e=ee(95190),Te=ee(50298),le=ee(93664),it=ee(18929),qe=ee(48736),Ke=ee(59301),je=ee(62646),Je=ee(11592),Ye=ee(4635),ue=ee(77900),E=ee(10228),a=Ke.forwardRef(function(mt,Nt){var st=mt.prefixCls,nt=mt.forceRender,we=mt.className,fe=mt.style,Xe=mt.children,Rt=mt.isActive,Oe=mt.role,Ie=Ke.useState(Rt||nt),vt=(0,Te.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),we),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,we=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,An=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()},wn=typeof nn=="function"?nn(mt):Ke.createElement("i",{className:"arrow"});wn&&(wn=Ke.createElement("div",{className:"".concat(Ie,"-expand-icon"),onClick:["header","icon"].includes(vt)?dn:void 0},wn));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()(we,(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&&wn,Ke.createElement("span",{className:"".concat(Ie,"-header-text"),onClick:vt==="header"?dn:void 0},An),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,we=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,An=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(wn){Zt!=="disabled"&&(Rt(wn),ln==null||ln(wn))},dn=!1;return we?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:we,openMotion:Ie,expandIcon:vt,header:An,collapsible:Zt,onItemClick:Mt,destroyInactivePanel:Bt}),St)})},ie=function(Nt,st,nt){if(!Nt)return null;var we=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,An=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:An,headerClass:nn,isActive:Ze,prefixCls:we,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,we){return ie(nt,we,st)})}var ye=ve,Ge=ee(26112);function De(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 He=Ke.forwardRef(function(mt,Nt){var st=mt.prefixCls,nt=st===void 0?"rc-collapse":st,we=mt.destroyInactivePanel,fe=we===void 0?!1:we,Xe=mt.style,Rt=mt.accordion,Oe=mt.className,Ie=mt.children,vt=mt.collapsible,et=mt.openMotion,Me=mt.expandIcon,St=mt.activeKey,An=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:An,postState:De}),Ze=(0,Te.Z)(Cn,2),yt=Ze[0],Zt=Ze[1],Bt=function(gn){return Zt(function(){if(Rt)return yt[0]===gn?[]:[gn];var wn=yt.indexOf(gn),Jn=wn>-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(He,{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:we,showArrow:fe=!0}=mt,Xe=st("collapse",nt),Rt=Be()({[`${Xe}-no-arrow`]:!fe},we);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:we,headerPadding:fe,collapseHeaderPaddingSM:Xe,collapseHeaderPaddingLG:Rt,collapsePanelBorderRadius:Oe,lineWidth:Ie,lineType:vt,colorBorder:et,colorText:Me,colorTextHeading:St,colorTextDisabled:An,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:we,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:An,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:we}=mt;return{[`${Nt}-borderless`]:{backgroundColor:st,border:0,[`> ${Nt}-item`]:{borderBottom:`1px solid ${we}`},[`
> ${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 Bn=(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:we}=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:An}=mt,nn=(0,gt.Z)(gn=>{var wn;return(wn=et!=null?et:gn)!==null&&wn!==void 0?wn:"middle"}),fn=st("collapse",fe),ln=st(),[Cn,Ze]=Bn(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 wn=An?An(gn):Ke.createElement(b.Z,{rotate:gn.isActive?90:void 0});return(0,ot.Tm)(wn,()=>({className:Be()(wn.props.className,`${fn}-arrow`)}))},Bt=Be()(`${fn}-icon-position-${yt}`,{[`${fn}-borderless`]:!Ie,[`${fn}-rtl`]:nt==="rtl",[`${fn}-ghost`]:!!vt,[`${fn}-${nn}`]:nn!=="middle"},we==null?void 0:we.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,wn)=>{var Jn,ha;if(!((Jn=gn.props)===null||Jn===void 0)&&Jn.disabled){const Ra=(ha=gn.key)!==null&&ha!==void 0?ha:String(wn),{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({},we==null?void 0:we.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),Te=ee(58319),le=ee.n(Te),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],kn=be;if(Wt.includes("wo")||Wt.includes("Wo")){for(var Tn=kn.split("-")[0],ua=kn.split("-")[1],Da=de()(Tn,"YYYY").startOf("year").locale(lt),fa=0;fa<=52;fa+=1){var vn=Da.add(fa,"week");if(vn.format("Wo")===ua)return vn}return y(),null}var Ia=de()(kn,Wt,!0).locale(lt);if(Ia.isValid())return Ia}return be&&y(),null}}},te=z,re=ee(53487),se=ee(14809),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),De=function(Se,be){return ie.createElement(Ge.Z,(0,se.Z)({},Se,{ref:be,icon:ye}))},He=ie.forwardRef(De),he=He,Qe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},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"},wt=gt,sn=function(Se,be){return ie.createElement(Ge.Z,(0,se.Z)({},Se,{ref:be,icon:wt}))},Ft=ie.forwardRef(sn),on=Ft,cn=ee(92310),Ve=ee.n(cn),at=ee(99153),rn=ee(84851),Kn=ee(13028),Gt=ee(19257),Bn=ee(93046),ze=ee(4635),ct=ee(20439),Lt=ee(50298),mt=ee(18929),Nt=ee(26112),st=ee(80547),nt=ee(13697),we=10,fe=we*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 An(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)&&An(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 Ta=Mn;Ta<=ga;){var Dr=void 0;switch(Ma){case"date":{if(Dr=lt.setDate(Se,Ta),!tt(Dr))return!1;break}case"month":{if(Dr=lt.setMonth(Se,Ta),!Bt({cellDate:Dr,mode:"month",generateConfig:lt,disabledDate:tt}))return!1;break}case"year":{if(Dr=lt.setYear(Se,Ta),!Bt({cellDate:Dr,mode:"year",generateConfig:lt,disabledDate:tt}))return!1;break}}Ta+=1}return!0};switch(be){case"date":case"week":return tt(Se);case"month":{var Wt=1,kn=lt.getDate(lt.getEndDate(Se));return Xt("date",Wt,kn)}case"quarter":{var Tn=Math.floor(lt.getMonth(Se)/3)*3,ua=Tn+2;return Xt("month",Tn,ua)}case"year":return Xt("month",0,11);case"decade":{var Da=lt.getYear(Se),fa=Math.floor(Da/we)*we,vn=fa+we-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=[],kn=0;kn<be.length;kn+=1){var Tn=be[kn],ua=yt(me,{generateConfig:tt,locale:lt,format:Tn});Wt.push(ua),kn===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),kn=Wt[0],Tn=Wt[1],ua=(0,ie.useRef)(null);function Da(ga){var Ta=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(ua.current),Ta){Tn(ga);return}ua.current=requestAnimationFrame(function(){Tn(ga)})}var fa=Mt(kn,{formatList:be,generateConfig:tt,locale:lt}),vn=(0,Lt.Z)(fa,2),Ia=vn[1];function Ma(ga){Da(ga)}function Mn(){var ga=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Da(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),wn=ee(16089),Jn=ee(95190),ha=ee(29194),Ra=new Map;function _a(me,Se){var be;function tt(){(0,ha.Z)(me)?Se():be=(0,wn.Z)(function(){tt()})}return tt(),function(){wn.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,kn=me.which,Tn=me.ctrlKey,ua=me.metaKey;switch(kn){case gn.Z.LEFT:if(Tn||ua){if(tt)return tt(-1),!0}else if(be)return be(-1),!0;break;case gn.Z.RIGHT:if(Tn||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,Dn=new Set;function oa(me){return!qt&&typeof window!="undefined"&&window.addEventListener&&(qt=function(be){(0,Jn.Z)(Dn).forEach(function(tt){tt(be)})},window.addEventListener("mousedown",qt)),Dn.add(me),function(){Dn.delete(me),Dn.size===0&&(window.removeEventListener("mousedown",qt),qt=null)}}function wa(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},Hn=function(Se){return Se==="date"?"week":Se},pn={year:ut,month:bn,quarter:Ln,week:Hn,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,kn=me.blurToCancel,Tn=me.onSubmit,ua=me.onCancel,Da=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],Ta=(0,ie.useState)(!1),Dr=(0,Lt.Z)(Ta,2),br=Dr[0],Ir=Dr[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(zo){var ei=function(){jn.current=!0};if(Wt(zo,ei),!jn.current){switch(zo.which){case gn.Z.ENTER:{Se?Tn()!==!1&&ga(!0):lt(!0),zo.preventDefault();return}case gn.Z.TAB:{Mn&&Se&&!zo.shiftKey?(ga(!1),zo.preventDefault()):!Mn&&Se&&!Xt(zo)&&zo.shiftKey&&(ga(!0),zo.preventDefault());return}case gn.Z.ESC:{ga(!0),ua();return}}!Se&&![gn.Z.SHIFT].includes(zo.which)?lt(!0):Mn||Xt(zo)}},onFocus:function(zo){ga(!0),Ir(!0),Da&&Da(zo)},onBlur:function(zo){if(Wr.current||!tt(document.activeElement)){Wr.current=!1;return}kn?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&&Tn()),Ir(!1),fa==null||fa(zo)}};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 zo=wa(fo),ei=tt(zo);Se&&(ei?!vn&&(!br||ei)&&lt(!1):(Wr.current=!0,(0,wn.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 Tt=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],kn=ie.useRef([]);kn.current=Se;function Tn(Da){Wt(Da),be(Da)}function ua(){Wt(kn.current[0])}return(0,Tt.Z)(function(){Se.every(function(Da){return Da!==Xt})&&ua()},[Se.join("||")]),[Xt,Tn,ua]}var Qn=ie.createContext({}),Yn=Qn,Gn=ee(93664);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 kn=Xt;return tt&&Wt.type==="date"?tt(kn,Wt.today):be&&Wt.type==="month"?be(kn,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 $a(me){return me==null?[]:Array.isArray(me)?me:[me]}function Aa(me,Se){return me?me[Se]:null}function Nn(me,Se,be){var tt=[Aa(me,0),Aa(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,kn=me.offsetCell,Tn=me.today,ua=me.value;function Da(fa){var vn,Ia=kn(fa,-1),Ma=kn(fa,1),Mn=Aa(tt,0),ga=Aa(tt,1),Ta=Aa(lt,0),Dr=Aa(lt,1),br=ln(be,Ta,Dr,fa);function Ir(zo){return Wt(Mn,zo)}function Wr(zo){return Wt(ga,zo)}var Rr=Wt(Ta,fa),jn=Wt(Dr,fa),Vo=(br||jn)&&(!Xt(Ia)||Wr(Ia)),fo=(br||Rr)&&(!Xt(Ma)||Ir(Ma));return vn={},(0,ze.Z)(vn,"".concat(Se,"-in-view"),Xt(fa)),(0,ze.Z)(vn,"".concat(Se,"-in-range"),ln(be,Mn,ga,fa)),(0,ze.Z)(vn,"".concat(Se,"-range-start"),Ir(fa)),(0,ze.Z)(vn,"".concat(Se,"-range-end"),Wr(fa)),(0,ze.Z)(vn,"".concat(Se,"-range-start-single"),Ir(fa)&&!ga),(0,ze.Z)(vn,"".concat(Se,"-range-end-single"),Wr(fa)&&!Mn),(0,ze.Z)(vn,"".concat(Se,"-range-start-near-hover"),Ir(fa)&&(Wt(Ia,Ta)||ln(be,Ta,Dr,Ia))),(0,ze.Z)(vn,"".concat(Se,"-range-end-near-hover"),Wr(fa)&&(Wt(Ma,Dr)||ln(be,Ta,Dr,Ma))),(0,ze.Z)(vn,"".concat(Se,"-range-hover"),br),(0,ze.Z)(vn,"".concat(Se,"-range-hover-start"),Rr),(0,ze.Z)(vn,"".concat(Se,"-range-hover-end"),jn),(0,ze.Z)(vn,"".concat(Se,"-range-hover-edge-start"),Vo),(0,ze.Z)(vn,"".concat(Se,"-range-hover-edge-end"),fo),(0,ze.Z)(vn,"".concat(Se,"-range-hover-edge-start-near-range"),Vo&&Wt(Ia,ga)),(0,ze.Z)(vn,"".concat(Se,"-range-hover-edge-end-near-range"),fo&&Wt(Ma,Mn)),(0,ze.Z)(vn,"".concat(Se,"-today"),Wt(Tn,fa)),(0,ze.Z)(vn,"".concat(Se,"-selected"),Wt(ua,fa)),vn}return Da}var Vr=ie.createContext({}),xr=Vr;function Ue(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 kn=Math.floor(Se/lt)*lt;if(kn<Se)return[Wt,kn,60-Xt];var Tn=Math.floor(be/Xt)*Xt;return[Wt,kn,Tn]}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,kn=me.prefixColumn,Tn=me.rowClassName,ua=me.baseDate,Da=me.getCellClassName,fa=me.getCellText,vn=me.getCellNode,Ia=me.getCellDate,Ma=me.generateConfig,Mn=me.titleCell,ga=me.headerCells,Ta=ie.useContext(Yn),Dr=Ta.onDateMouseEnter,br=Ta.onDateMouseLeave,Ir=Ta.mode,Wr="".concat(Se,"-cell"),Rr=[],jn=0;jn<Xt;jn+=1){for(var Vo=[],fo=void 0,zo=function(){var pi,Hi=jn*Wt+ei,oo=Ia(ua,Hi),Ro=Bt({cellDate:oo,mode:Ir,disabledDate:be,generateConfig:Ma});ei===0&&(fo=oo,kn&&Vo.push(kn(fo)));var _o=Mn&&Mn(oo),Ai=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,ze.Z)(pi,"".concat(Wr,"-disabled"),Ro),(0,ze.Z)(pi,"".concat(Wr,"-start"),fa(oo)===1||lt==="year"&&Number(_o)%10===0),(0,ze.Z)(pi,"".concat(Wr,"-end"),_o===In(Ma,oo)||lt==="year"&&Number(_o)%10===9),pi),Da(oo))),onClick:function(){Ro||tt(oo)},onMouseEnter:function(){!Ro&&Dr&&Dr(oo)},onMouseLeave:function(){!Ro&&br&&br(oo)}},vn?vn(oo,Ai):Ai))},ei=0;ei<Wt;ei+=1)zo();Rr.push(ie.createElement("tr",{key:jn,className:Tn&&Tn(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,kn=me.value,Tn=me.cellRender,ua=me.isSameCell,Da=ie.useContext(xr),fa=Da.rangedValue,vn=Da.hoverRangedValue,Ia=Cn(lt.locale,be,Wt),Ma="".concat(Se,"-cell"),Mn=be.locale.getWeekFirstDay(lt.locale),ga=be.getNow(),Ta=[],Dr=lt.shortWeekDays||(be.locale.getShortWeekDays?be.locale.getShortWeekDays(lt.locale):[]);tt&&Ta.push(ie.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var br=0;br<Xe;br+=1)Ta.push(ie.createElement("th",{key:br},Dr[(br+Mn)%Xe]));var Ir=Nr({cellPrefixCls:Ma,today:ga,value:kn,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=Tn?function(Rr,jn){return Tn(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:Ta}))}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,kn=Wt===void 0?"\xAB":Wt,Tn=me.superNextIcon,ua=Tn===void 0?"\xBB":Tn,Da=me.onSuperPrev,fa=me.onSuperNext,vn=me.onPrev,Ia=me.onNext,Ma=me.children,Mn=ie.useContext(Yn),ga=Mn.hideNextBtn,Ta=Mn.hidePrevBtn;return ie.createElement("div",{className:Se},Da&&ie.createElement("button",{type:"button",onClick:Da,tabIndex:-1,className:"".concat(Se,"-super-prev-btn"),style:Ta?xt:{}},kn),vn&&ie.createElement("button",{type:"button",onClick:vn,tabIndex:-1,className:"".concat(Se,"-prev-btn"),style:Ta?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,kn=me.onNextYear,Tn=me.onPrevYear,ua=me.onYearClick,Da=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})),Ta=ie.createElement("button",{type:"button",key:"month",onClick:Da,tabIndex:-1,className:"".concat(Se,"-month-btn")},tt.monthFormat?yt(lt,{locale:tt,format:tt.monthFormat,generateConfig:be}):Ma[Mn]),Dr=tt.monthBeforeYear?[Ta,ga]:[ga,Ta];return ie.createElement(tn,(0,se.Z)({},me,{prefixCls:Ia,onSuperPrev:Tn,onPrev:Wt,onNext:Xt,onSuperNext:kn}),Dr)}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,kn=me.generateConfig,Tn=me.value,ua=me.viewDate,Da=me.onViewDateChange,fa=me.onPanelChange,vn=me.onSelect,Ia="".concat(Se,"-").concat(tt,"-panel");Wt.current={onKeyDown:function(Ta){return ar(Ta,(0,ct.Z)({onLeftRight:function(br){vn(kn.addDate(Tn||ua,br),"key")},onCtrlLeftRight:function(br){vn(kn.addYear(Tn||ua,br),"key")},onUpDown:function(br){vn(kn.addDate(Tn||ua,br*Xe),"key")},onPageUpDown:function(br){vn(kn.addMonth(Tn||ua,br),"key")}},lt))}};var Ma=function(Ta){var Dr=kn.addYear(ua,Ta);Da(Dr),fa(null,Dr)},Mn=function(Ta){var Dr=kn.addMonth(ua,Ta);Da(Dr),fa(null,Dr)};return ie.createElement("div",{className:Ve()(Ia,(0,ze.Z)({},"".concat(Ia,"-active"),Xt))},ie.createElement(xa,(0,se.Z)({},me,{prefixCls:Se,value:Tn,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(Ta){return vn(Ta,"mouse")},prefixCls:Se,value:Tn,viewDate:ua,rowCount:Ea})))}var Ha=Qa;function Un(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,kn=me.format,Tn="".concat(tt,"-header");return ie.createElement(tn,{prefixCls:Tn},Wt?yt(Wt,{locale:Xt,format:kn,generateConfig:lt}):"\xA0")}var na=Un;function ya(me){var Se=me.value,be=me.generateConfig,tt=me.disabledMinutes,lt=me.disabledSeconds,Xt=me.minutes,Wt=me.seconds,kn=me.use12Hours,Tn=function(Da,fa,vn,Ia){var Ma=be.getNow(),Mn=Se||Ma,ga=fa<0?be.getHour(Ma):fa,Ta=vn<0?be.getMinute(Ma):vn,Dr=Ia<0?be.getSecond(Ma):Ia,br=tt&&tt(ga);if(br!=null&&br.includes(Ta)){var Ir=Xt.find(function(jn){return!br.includes(jn.value)});if(Ir)Ta=Ir.value;else return null}var Wr=lt&&lt(ga,Ta);if(Wr!=null&&Wr.includes(Dr)){var Rr=Wt.find(function(jn){return!Wr.includes(jn.value)});if(Rr)Dr=Rr.value;else return null}return Mn=Ue(be,Mn,!kn||!Da?ga:ga+12,Ta,Dr),Mn};return Tn}function Pa(me){var Se=me.prefixCls,be=me.units,tt=me.onSelect,lt=me.value,Xt=me.active,Wt=me.hideDisabledOptions,kn=me.info,Tn=me.type,ua="".concat(Se,"-cell"),Da=ie.useContext(Yn),fa=Da.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,ze.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(Dr){Ia.current.set(Mn.value,Dr)},className:Ve()(ua,(ga={},(0,ze.Z)(ga,"".concat(ua,"-disabled"),Mn.disabled),(0,ze.Z)(ga,"".concat(ua,"-selected"),lt===Mn.value),ga)),onClick:function(){Mn.disabled||tt(Mn.value)}},kn.cellRender?kn.cellRender(Mn.value,{today:kn.today,locale:kn.locale,originNode:ie.createElement("div",{className:"".concat(ua,"-inner")},Mn.label),type:"time",subType:Tn}):ie.createElement("div",{className:"".concat(ua,"-inner")},Mn.label))}))}var vr=Pa;function kr(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,kn=me.showMinute,Tn=me.showSecond,ua=me.use12Hours,Da=me.hourStep,fa=Da===void 0?1:Da,vn=me.minuteStep,Ia=vn===void 0?1:vn,Ma=me.secondStep,Mn=Ma===void 0?1:Ma,ga=me.disabledHours,Ta=me.disabledMinutes,Dr=me.disabledSeconds,br=me.disabledTime,Ir=me.hideDisabledOptions,Wr=me.onSelect,Rr=me.cellRender,jn=me.locale,Vo=[],fo="".concat(be,"-content"),zo="".concat(be,"-time-panel"),ei,li=Xt?Se.getHour(Xt):-1,pi=li,Hi=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,Ta,Dr]},[ga,Ta,Dr,br,Ro]),Ai=(0,Lt.Z)(_o,3),Ni=Ai[0],fi=Ai[1],Mo=Ai[2],ol=Ya(0,23,fa,Ni&&Ni()),Xi=(0,st.Z)(function(){return ol},ol,kr);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),$e=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)),Ut=Ya(0,59,Mn,Mo&&Mo(li,Hi)),Qt=ya({value:Xt,generateConfig:Se,disabledMinutes:fi,disabledSeconds:Mo,minutes:pt,seconds:Ut,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 Ht=ea.units[(ra+En*La+ma)%ma];if(Ht.disabled!==!0){ea.onSelect(Ht.value);break}}}};function $t(Sn,En,ea,ra,ma){Sn!==!1&&Vo.push({node:ie.cloneElement(En,{prefixCls:zo,value:ea,active:lt===Vo.length,onSelect:ma,units:ra,hideDisabledOptions:Ir}),onSelect:ma,value:ea,units:ra})}$t(Wt,ie.createElement(vr,{key:"hour",type:"hour",info:{today:Ro,locale:jn,cellRender:Rr}}),pi,ht,function(Sn){Wr(Qt(ei,Sn,Hi,oo),"mouse")}),$t(kn,ie.createElement(vr,{key:"minute",type:"minute",info:{today:Ro,locale:jn,cellRender:Rr}}),Hi,pt,function(Sn){Wr(Qt(ei,pi,Sn,oo),"mouse")}),$t(Tn,ie.createElement(vr,{key:"second",type:"second",info:{today:Ro,locale:jn,cellRender:Rr}}),oo,Ut,function(Sn){Wr(Qt(ei,pi,Hi,Sn),"mouse")});var xn=-1;return typeof ei=="boolean"&&(xn=ei?1:0),$t(ua===!0,ie.createElement(vr,{key:"meridiem",type:"meridiem",info:{today:Ro,locale:jn,cellRender:Rr}}),xn,[{label:"AM",value:0,disabled:$e},{label:"PM",value:1,disabled:rt}],function(Sn){Wr(Qt(!!Sn,pi,Hi,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,kn=me.showHour,Tn=me.showMinute,ua=me.showSecond,Da=me.use12Hours,fa=Da===void 0?!1:Da,vn=me.onSelect,Ia=me.value,Ma="".concat(lt,"-time-panel"),Mn=ie.useRef(),ga=ie.useState(-1),Ta=(0,Lt.Z)(ga,2),Dr=Ta[0],br=Ta[1],Ir=Po([kn,Tn,ua,fa]);return Wt.current={onKeyDown:function(Rr){return ar(Rr,{onLeftRight:function(Vo){br((Dr+Vo+Ir)%Ir)},onUpDown:function(Vo){Dr===-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,ze.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:Dr,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,kn=me.showTime,Tn=me.onSelect,ua=me.cellRender,Da="".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({}),Ta=(0,Gn.Z)(kn)==="object"?(0,ct.Z)({},kn):{};function Dr(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=Dr(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&&Ta.defaultValue?(fo=tt.setHour(fo,tt.getHour(Ta.defaultValue)),fo=tt.setMinute(fo,tt.getMinute(Ta.defaultValue)),fo=tt.setSecond(fo,tt.getSecond(Ta.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))),Tn&&Tn(fo,"mouse")},Wr=Wt?Wt(lt||null):{};return ie.createElement("div",{className:Ve()(Da,(0,ze.Z)({},"".concat(Da,"-active"),Ia))},ie.createElement(Ha,(0,se.Z)({},me,{cellRender:ua,operationRef:Mn,active:Ia==="date",onSelect:function(jn){Ir(Pn(tt,jn,!lt&&(0,Gn.Z)(kn)==="object"?kn.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},Ta,Wr,{disabledTime:null,defaultValue:void 0,operationRef:ga,active:Ia==="time",onSelect:function(jn){Ir(jn,"time")}})))}var Wo=bo;function To(me){var Se=me.prefixCls,be=me.generateConfig,tt=me.viewDate,lt=me.onPrevDecades,Xt=me.onNextDecades,Wt=ie.useContext(Yn),kn=Wt.hideHeader;if(kn)return null;var Tn="".concat(Se,"-header"),ua=be.getYear(tt),Da=Math.floor(ua/fe)*fe,fa=Da+fe-1;return ie.createElement(tn,(0,se.Z)({},me,{prefixCls:Tn,onSuperPrev:lt,onSuperNext:Xt}),Da,"-",fa)}var No=To,Er=3,to=4;function Yo(me){var Se=we-1,be=me.prefixCls,tt=me.viewDate,lt=me.generateConfig,Xt=me.cellRender,Wt=me.locale,kn="".concat(be,"-cell"),Tn=lt.getYear(tt),ua=Math.floor(Tn/we)*we,Da=Math.floor(Tn/fe)*fe,fa=Da+fe-1,vn=lt.setYear(tt,Da-Math.ceil((Er*to*we-fe)/2)),Ia=function(ga){var Ta,Dr=lt.getYear(ga),br=Dr+Se;return Ta={},(0,ze.Z)(Ta,"".concat(kn,"-in-view"),Da<=Dr&&br<=fa),(0,ze.Z)(Ta,"".concat(kn,"-selected"),Dr===ua),Ta},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 Ta=lt.getYear(ga);return"".concat(Ta,"-").concat(Ta+Se)},getCellClassName:Ia,getCellDate:function(ga,Ta){return lt.addYear(ga,Ta*we)}}))}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,kn=me.onPanelChange,Tn="".concat(Se,"-decade-panel");Xt.current={onKeyDown:function(vn){return ar(vn,{onLeftRight:function(Ma){Wt(tt.addYear(lt,Ma*we),"key")},onCtrlLeftRight:function(Ma){Wt(tt.addYear(lt,Ma*fe),"key")},onUpDown:function(Ma){Wt(tt.addYear(lt,Ma*we*Er),"key")},onEnter:function(){kn("year",lt)}})}};var ua=function(vn){var Ia=tt.addYear(lt,vn*fe);be(Ia),kn(null,Ia)},Da=function(vn){Wt(vn,"mouse"),kn("year",vn)};return ie.createElement("div",{className:Tn},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:Da})))}var Ar=Lo;function oi(me){var Se=me.prefixCls,be=me.generateConfig,tt=me.locale,lt=me.viewDate,Xt=me.onNextYear,Wt=me.onPrevYear,kn=me.onYearClick,Tn=ie.useContext(Yn),ua=Tn.hideHeader;if(ua)return null;var Da="".concat(Se,"-header");return ie.createElement(tn,(0,se.Z)({},me,{prefixCls:Da,onSuperPrev:Wt,onSuperNext:Xt}),ie.createElement("button",{type:"button",onClick:kn,className:"".concat(Se,"-year-btn")},yt(lt,{locale:tt,format:tt.yearFormat,generateConfig:be})))}var Gr=oi,ko=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,kn=ie.useContext(xr),Tn=kn.rangedValue,ua=kn.hoverRangedValue,Da="".concat(Se,"-cell"),fa=Nr({cellPrefixCls:Da,value:tt,generateConfig:Xt,rangedValue:Tn,hoverRangedValue:ua,isSameCell:function(ga,Ta){return Me(Xt,ga,Ta)},isInView:function(){return!0},offsetCell:function(ga,Ta){return Xt.addMonth(ga,Ta)}}),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:ko,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 $i(me){var Se=me.prefixCls,be=me.operationRef,tt=me.onViewDateChange,lt=me.generateConfig,Xt=me.value,Wt=me.viewDate,kn=me.onPanelChange,Tn=me.onSelect,ua="".concat(Se,"-month-panel");be.current={onKeyDown:function(vn){return ar(vn,{onLeftRight:function(Ma){Tn(lt.addMonth(Xt||Wt,Ma),"key")},onCtrlLeftRight:function(Ma){Tn(lt.addYear(Xt||Wt,Ma),"key")},onUpDown:function(Ma){Tn(lt.addMonth(Xt||Wt,Ma*ko),"key")},onEnter:function(){kn("date",Xt||Wt)}})}};var Da=function(vn){var Ia=lt.addYear(Wt,vn);tt(Ia),kn(null,Ia)};return ie.createElement("div",{className:ua},ie.createElement(Gr,(0,se.Z)({},me,{prefixCls:Se,onPrevYear:function(){Da(-1)},onNextYear:function(){Da(1)},onYearClick:function(){kn("year",Wt)}})),ie.createElement(vi,(0,se.Z)({},me,{prefixCls:Se,onSelect:function(vn){Tn(vn,"mouse"),kn("date",vn)}})))}var tl=$i;function nl(me){var Se=me.prefixCls,be=me.generateConfig,tt=me.locale,lt=me.viewDate,Xt=me.onNextYear,Wt=me.onPrevYear,kn=me.onYearClick,Tn=ie.useContext(Yn),ua=Tn.hideHeader;if(ua)return null;var Da="".concat(Se,"-header");return ie.createElement(tn,(0,se.Z)({},me,{prefixCls:Da,onSuperPrev:Wt,onSuperNext:Xt}),ie.createElement("button",{type:"button",onClick:kn,className:"".concat(Se,"-year-btn")},yt(lt,{locale:tt,format:tt.yearFormat,generateConfig:be})))}var Uo=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,kn=ie.useContext(xr),Tn=kn.rangedValue,ua=kn.hoverRangedValue,Da="".concat(Se,"-cell"),fa=Nr({cellPrefixCls:Da,value:tt,generateConfig:Xt,rangedValue:Tn,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,kn=me.onPanelChange,Tn=me.onSelect,ua="".concat(Se,"-quarter-panel");be.current={onKeyDown:function(vn){return ar(vn,{onLeftRight:function(Ma){Tn(lt.addMonth(Xt||Wt,Ma*3),"key")},onCtrlLeftRight:function(Ma){Tn(lt.addYear(Xt||Wt,Ma),"key")},onUpDown:function(Ma){Tn(lt.addYear(Xt||Wt,Ma),"key")}})}};var Da=function(vn){var Ia=lt.addYear(Wt,vn);tt(Ia),kn(null,Ia)};return ie.createElement("div",{className:ua},ie.createElement(Uo,(0,se.Z)({},me,{prefixCls:Se,onPrevYear:function(){Da(-1)},onNextYear:function(){Da(1)},onYearClick:function(){kn("year",Wt)}})),ie.createElement(gl,(0,se.Z)({},me,{prefixCls:Se,onSelect:function(vn){Tn(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,kn=ie.useContext(xr),Tn=kn.rangedValue,ua=kn.hoverRangedValue,Da=ie.useContext(Yn),fa=Da.onDateMouseEnter,vn=Da.onDateMouseLeave,Ia=(ua==null?void 0:ua[0])||(Tn==null?void 0:Tn[0]),Ma=(ua==null?void 0:ua[1])||(Tn==null?void 0:Tn[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)))},Ta="".concat(Se,"-week-panel-row"),Dr=function(Ir){var Wr,Rr=nn(be,tt.locale,Ia,Ir),jn=nn(be,tt.locale,Ma,Ir);return Ve()(Ta,(Wr={},(0,ze.Z)(Wr,"".concat(Ta,"-selected"),!Tn&&nn(be,tt.locale,lt,Ir)),(0,ze.Z)(Wr,"".concat(Ta,"-range-start"),Rr),(0,ze.Z)(Wr,"".concat(Ta,"-range-end"),jn),(0,ze.Z)(Wr,"".concat(Ta,"-range-hover"),!Rr&&!jn&&ln(be,Ia,Ma,Ir)),Wr))};return ie.createElement(Ha,(0,se.Z)({},me,{panelName:"week",prefixColumn:ga,rowClassName:Dr,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,kn=ie.useContext(Yn),Tn=kn.hideHeader;if(Tn)return null;var ua="".concat(Se,"-header"),Da=be.getYear(tt),fa=Math.floor(Da/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 Ae=so,hn=3,Rn=4;function ba(me){var Se=me.prefixCls,be=me.value,tt=me.viewDate,lt=me.locale,Xt=me.generateConfig,Wt=me.cellRender,kn=ie.useContext(xr),Tn=kn.rangedValue,ua=kn.hoverRangedValue,Da="".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},Ta=Nr({cellPrefixCls:Da,value:be,generateConfig:Xt,rangedValue:Tn,hoverRangedValue:ua,isSameCell:function(Ir,Wr){return Ie(Xt,Ir,Wr)},isInView:ga,offsetCell:function(Ir,Wr){return Xt.addYear(Ir,Wr)}}),Dr=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:Dr,getCellText:Xt.getYear,getCellClassName:Ta,getCellDate:Xt.addYear,titleCell:function(Ir){return yt(Ir,{locale:lt,format:"YYYY",generateConfig:Xt})}}))}var un=ba;function Za(me){var Se=me.prefixCls,be=me.operationRef,tt=me.onViewDateChange,lt=me.generateConfig,Xt=me.value,Wt=me.viewDate,kn=me.sourceMode,Tn=me.onSelect,ua=me.onPanelChange,Da="".concat(Se,"-year-panel");be.current={onKeyDown:function(Ia){return ar(Ia,{onLeftRight:function(Mn){Tn(lt.addYear(Xt||Wt,Mn),"key")},onCtrlLeftRight:function(Mn){Tn(lt.addYear(Xt||Wt,Mn*er),"key")},onUpDown:function(Mn){Tn(lt.addYear(Xt||Wt,Mn*hn),"key")},onEnter:function(){ua(kn==="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:Da},ie.createElement(Ae,(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(kn==="date"?"date":"month",Ia),Tn(Ia,"mouse")}})))}var Na=Za;function zn(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,kn=me.okDisabled,Tn=me.showNow,ua=me.locale,Da,fa;if(lt){var vn=tt.button||"button";Xt&&Tn!==!1&&(Da=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:kn,onClick:Wt},ua.ok))}return!Da&&!fa?null:ie.createElement("ul",{className:"".concat(Se,"-ranges")},Da,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,kn=be.locale,Tn=be.generateConfig,ua=be.value,Da=be.defaultValue,fa=be.pickerValue,vn=be.defaultPickerValue,Ia=be.disabledDate,Ma=be.mode,Mn=be.picker,ga=Mn===void 0?"date":Mn,Ta=be.tabIndex,Dr=Ta===void 0?0:Ta,br=be.showNow,Ir=be.showTime,Wr=be.showToday,Rr=be.renderExtraFooter,jn=be.hideHeader,Vo=be.onSelect,fo=be.onChange,zo=be.onPanelChange,ei=be.onMouseDown,li=be.onPickerValueChange,pi=be.onOk,Hi=be.components,oo=be.direction,Ro=be.hourStep,_o=Ro===void 0?1:Ro,Ai=be.minuteStep,Ni=Ai===void 0?1:Ai,fi=be.secondStep,Mo=fi===void 0?1:fi,ol=be.dateRender,Xi=be.monthCellRender,Ee=be.cellRender,Ce=ga==="date"&&!!Ir||ga==="time",$e=24%_o===0,rt=60%Ni===0,ht=60%Mo===0,pt=ie.useContext(Yn),Ut=pt.operationRef,Qt=pt.onSelect,$t=pt.hideRanges,xn=pt.defaultOpenValue,Sn=ie.useContext(xr),En=Sn.inRange,ea=Sn.panelPosition,ra=Sn.rangedValue,ma=Sn.hoverRangedValue,La=ie.useRef({}),Ht=ie.useRef(!0),nr=(0,mt.Z)(null,{value:ua,defaultValue:Da,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=Tn.getNow();if(!pe)return Pe;if(!dr&&Ir){var Ot=(0,Gn.Z)(Ir)==="object"?Ir.defaultValue:Da;return Pn(Tn,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}),Ua=(0,Lt.Z)(yr,2),cr=Ua[0],Ur=Ua[1];ie.useEffect(function(){Ur(ga)},[ga]);var yo=ie.useState(function(){return cr}),lo=(0,Lt.Z)(yo,2),Tr=lo[0],vo=lo[1],Ao=function(pe,Pe){var Ot=sr(pe||cr);vo(cr),Ur(Ot),zo&&(cr!==Ot||fn(Tn,Kr,Kr))&&zo(Pe,Ot)},ka=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(Tn,pe,dr)&&!(Ia!=null&&Ia(pe))&&fo(pe))},wo=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?Tn.addMonth:Tn.addYear:Ot=en?Tn.addDate:Tn.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:ko)));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&&Dr===0&&(Pe=wo(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},Do=function(pe){La.current&&La.current.onBlur&&La.current.onBlur(pe)};Ut&&ea!=="right"&&(Ut.current={onKeyDown:yi,onClose:function(){La.current&&La.current.onClose&&La.current.onClose()}}),ie.useEffect(function(){ua&&!Ht.current&&jr(ua)},[ua]),ie.useEffect(function(){Ht.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:Tr,onPanelChange:Ao,disabledDate:Ia});switch(delete Yr.onChange,delete Yr.onSelect,cr){case"decade":qr=ie.createElement(Ar,(0,se.Z)({},Yr,{onSelect:function(pe,Pe){ur(pe),ka(pe,Pe)}}));break;case"year":qr=ie.createElement(Na,(0,se.Z)({},Yr,{onSelect:function(pe,Pe){ur(pe),ka(pe,Pe)}}));break;case"month":qr=ie.createElement(tl,(0,se.Z)({},Yr,{onSelect:function(pe,Pe){ur(pe),ka(pe,Pe)}}));break;case"quarter":qr=ie.createElement(_r,(0,se.Z)({},Yr,{onSelect:function(pe,Pe){ur(pe),ka(pe,Pe)}}));break;case"week":qr=ie.createElement(Va,(0,se.Z)({},Yr,{onSelect:function(pe,Pe){ur(pe),ka(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),ka(pe,Pe)}}));break;default:Ir?qr=ie.createElement(Wo,(0,se.Z)({},Yr,{onSelect:function(pe,Pe){ur(pe),ka(pe,Pe)}})):qr=ie.createElement(Ha,(0,se.Z)({},Yr,{onSelect:function(pe,Pe){ur(pe),ka(pe,Pe)}}))}var gi,Zo,_i=function(){var pe=Tn.getNow(),Pe=Jt(Tn.getHour(pe),Tn.getMinute(pe),Tn.getSecond(pe),$e?_o:1,rt?Ni:1,ht?Mo:1),Ot=Ue(Tn,pe,Pe[0],Pe[1],Pe[2]);ka(Ot,"submit")};$t||(gi=zn(lt,cr,Rr),Ir&&cr!=="date"?Zo=null:Zo=qn({prefixCls:lt,components:Hi,needConfirmButton:Ce,okDisabled:!dr||Ia&&Ia(dr),locale:kn,showNow:br,onNow:Ce&&_i,onOk:function(){dr&&(ka(dr,"submit",!0),pi&&pi(dr))}}));var no;if(Wr&&cr==="date"&&ga==="date"&&!Ir){var Hr=Tn.getNow(),Jr="".concat(lt,"-today-btn"),zr=Ia&&Ia(Hr);no=ie.createElement("a",{className:Ve()(Jr,zr&&"".concat(Jr,"-disabled")),"aria-disabled":zr,onClick:function(){zr||ka(Hr,"mouse",!0)}},kn.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:Dr,className:Ve()("".concat(lt,"-panel"),Xt,(Se={},(0,ze.Z)(Se,"".concat(lt,"-panel-has-range"),ra&&ra[0]&&ra[1]),(0,ze.Z)(Se,"".concat(lt,"-panel-has-range-hover"),ma&&ma[0]&&ma[1]),(0,ze.Z)(Se,"".concat(lt,"-panel-rtl"),oo==="rtl"),Se)),style:Wt,onKeyDown:yi,onBlur:Do,onMouseDown:ei},qr,gi||Zo||no?ie.createElement("div",{className:"".concat(lt,"-footer")},gi,Zo,no):null))}var za=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,kn=me.dropdownAlign,Tn=me.transitionName,ua=me.getPopupContainer,Da=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:Tn,popup:tt,popupAlign:kn,popupVisible:Xt,popupClassName:Ve()(Wt,(Se={},(0,ze.Z)(Se,"".concat(Ma,"-range"),fa),(0,ze.Z)(Se,"".concat(Ma,"-rtl"),Ia==="rtl"),Se)),popupStyle:lt,getPopupContainer:ua},Da)}var $o=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 kn=Xt.label,Tn=Xt.value;return ie.createElement("li",{key:Wt,onClick:function(){return tt==null?void 0:tt(mr(Tn))},onMouseEnter:function(){return lt==null?void 0:lt(mr(Tn))},onMouseLeave:function(){return lt==null?void 0:lt(null)}},kn)}))):null}function ki(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,kn=be.tabIndex,Tn=be.style,ua=be.className,Da=be.dropdownClassName,fa=be.dropdownAlign,vn=be.popupStyle,Ia=be.transitionName,Ma=be.generateConfig,Mn=be.locale,ga=be.inputReadOnly,Ta=be.allowClear,Dr=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,zo=be.presets,ei=be.open,li=be.defaultOpen,pi=be.defaultOpenValue,Hi=be.suffixIcon,oo=be.clearIcon,Ro=be.disabled,_o=be.disabledDate,Ai=be.placeholder,Ni=be.getPopupContainer,fi=be.pickerRef,Mo=be.panelRender,ol=be.onChange,Xi=be.onOpenChange,Ee=be.onFocus,Ce=be.onBlur,$e=be.onMouseDown,rt=be.onMouseUp,ht=be.onMouseEnter,pt=be.onMouseLeave,Ut=be.onContextMenu,Qt=be.onClick,$t=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),Ht=Wr==="date"&&!!br||Wr==="time",nr=It(zo),ja=$a(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),Ua=yr[0],cr=yr[1],Ur=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&&Ur.current&&Ur.current.onClose&&Ur.current.onClose()}}),lo=(0,Lt.Z)(yo,2),Tr=lo[0],vo=lo[1],Ao=Mt(Ua,{formatList:ja,generateConfig:Ma,locale:Mn}),ka=(0,Lt.Z)(Ao,2),wo=ka[0],yi=ka[1],Do=bt({valueTexts:wo,onTextChange:function(Ka){var eo=Zt(Ka,{locale:Mn,formatList:ja,generateConfig:Ma});eo&&(!_o||!_o(eo))&&cr(eo)}}),qr=(0,Lt.Z)(Do,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 Tr&&Ur.current&&Ur.current.onKeyDown?Ur.current.onKeyDown(Ka):((0,Be.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Hr=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(Ua),Ce==null||Ce(Ka)},zr=Sa({blurToCancel:Ht,open:Tr,value:bi,triggerOpen:_i,forwardKeyDown:no,isClickOutside:function(Ka){return!ia([dr.current,Zr.current,Qr.current],Ka)},onSubmit:function(){return!Ua||_o&&_o(Ua)?!1:(Zo(Ua),_i(!1),gi(),!0)},onCancel:function(){_i(!1),cr(jr),gi()},onKeyDown:function(Ka,eo){$t==null||$t(Ka,eo)},onFocus:Ee,onBlur:Jr,changeOnBlur:ma}),ce=(0,Lt.Z)(zr,2),pe=ce[0],Pe=ce[1],Ot=Pe.focused,en=Pe.typing;ie.useEffect(function(){Tr||(cr(jr),!wo.length||wo[0]===""?Yr(""):yi!==bi&&gi())},[Tr,wo]),ie.useEffect(function(){Tr||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],zt=va[1],$n=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(za,(0,se.Z)({},Fn,{generateConfig:Ma,className:Ve()((0,ze.Z)({},"".concat(lt,"-panel-focused"),!en)),value:Ua,locale:Mn,tabIndex:-1,onSelect:function(Ka){xn==null||xn(Ka),cr(Ka)},direction:Sn,onPanelChange:function(Ka,eo){var Sr=me.onPanelChange;$n(!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;Hi&&(On=ie.createElement("span",{className:"".concat(lt,"-suffix"),onMouseDown:function(Ka){Ka.preventDefault()}},Hi));var sa=Ji(lt,Ta,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=!!Ta&&jr&&!Ro,aa=(0,ct.Z)((0,ct.Z)((0,ct.Z)({id:Xt,tabIndex:kn,disabled:Ro,readOnly:ga||typeof ja[0]=="function"||!en,value:_n||bi,onChange:function(Ka){Yr(Ka.target.value)},autoFocus:Dr,placeholder:Ai,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"&&!Ht)&&(Zo(Ka),_i(!1))},yn=Sn==="rtl"?"bottomRight":"bottomLeft";return ie.createElement(Yn.Provider,{value:{operationRef:Ur,hideHeader:Wr==="time",onSelect:Ja,open:Tr,defaultOpenValue:pi,onDateMouseEnter:zt,onDateMouseLeave:$n}},ie.createElement($o,{visible:Tr,popupElement:mn,popupStyle:vn,prefixCls:lt,dropdownClassName:Da,dropdownAlign:fa,getPopupContainer:Ni,transitionName:Ia,popupPlacement:yn,direction:Sn},ie.createElement("div",{ref:Qr,className:Ve()(lt,ua,(Se={},(0,ze.Z)(Se,"".concat(lt,"-disabled"),Ro),(0,ze.Z)(Se,"".concat(lt,"-focused"),Ot),(0,ze.Z)(Se,"".concat(lt,"-rtl"),Sn==="rtl"),Se)),style:Tn,onMouseDown:$e,onMouseUp:rt,onMouseEnter:ht,onMouseLeave:pt,onContextMenu:Ut,onClick:Hr},ie.createElement("div",{className:Ve()("".concat(lt,"-input"),(0,ze.Z)({},"".concat(lt,"-input-placeholder"),!!_n)),ref:Zr},da,On,Fa&&Zn))))}var Zl=function(me){(0,Gt.Z)(be,me);var Se=(0,Bn.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,ze.Z)((0,Kn.Z)(tt),"pickerRef",ie.createRef()),(0,ze.Z)((0,Kn.Z)(tt),"focus",function(){tt.pickerRef.current&&tt.pickerRef.current.focus()}),(0,ze.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),Dl=Zl;function So(me,Se){var be=me.picker,tt=me.locale,lt=me.selectedValue,Xt=me.disabledDate,Wt=me.disabled,kn=me.generateConfig,Tn=Aa(lt,0),ua=Aa(lt,1);function Da(Mn){return kn.locale.getWeekFirstDate(tt.locale,Mn)}function fa(Mn){var ga=kn.getYear(Mn),Ta=kn.getMonth(Mn);return ga*100+Ta}function vn(Mn){var ga=kn.getYear(Mn),Ta=vt(kn,Mn);return ga*10+Ta}var Ia=ie.useCallback(function(Mn){if(Wt[0]||Xt&&Xt(Mn))return!0;if(Wt[1]&&ua)return!St(kn,Mn,ua)&&kn.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 Da(Mn)>Da(ua);default:return!St(kn,Mn,ua)&&kn.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]&&Tn)return!St(kn,Mn,ua)&&kn.isAfter(Tn,Mn);if(!Se&&Tn)switch(be){case"quarter":return vn(Mn)<vn(Tn);case"month":return fa(Mn)<fa(Tn);case"week":return Da(Mn)<Da(Tn);default:return!St(kn,Mn,Tn)&&kn.isAfter(Tn,Mn)}return!1},[Xt,Wt[0],Tn,Se]);return[Ia,Ma]}var yl=ee(70425),eu=ee(6089);function Nl(me,Se,be,tt,lt,Xt,Wt,kn,Tn,ua){var Da=ie.useState(!1),fa=(0,Lt.Z)(Da,2),vn=fa[0],Ia=fa[1],Ma=(0,yl.useMergedState)(me||!1,{value:Se}),Mn=(0,Lt.Z)(Ma,2),ga=Mn[0],Ta=Mn[1],Dr=(0,yl.useMergedState)(me||!1,{value:Se,onChange:function(_o){ua==null||ua(_o)}}),br=(0,Lt.Z)(Dr,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],zo=ie.useState(null),ei=(0,Lt.Z)(zo,2),li=ei[0],pi=ei[1];ie.useEffect(function(){Ir&&Ia(!0)},[Ir]);var Hi=function(_o){return _o===0?1:0},oo=(0,eu.Z)(function(Ro,_o,Ai){if(_o===!1)Wr(Ro);else if(Ro){fo(_o),Wr(Ro);var Ni=Hi(_o);!Ir||![Wt,kn][Ni]?pi(Ni):(Ia(!1),li!==null&&pi(null))}else if(Ai==="confirm"||Ai==="blur"&&tt){var fi=ga?Hi(_o):li;fi!==null&&(Ia(!1),fo(fi)),pi(null),fi!==null&&!Tn[fi]?(0,wn.Z)(function(){var Mo,ol=[lt,Xt][fi];(Mo=ol.current)===null||Mo===void 0||Mo.focus()}):Wr(!1)}else Wr(!1),Ta(!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,kn){return Oe(tt,Wt,kn)});case"quarter":case"month":return Xt(function(Wt,kn){return Ie(tt,Wt,kn)});default:return Xt(function(Wt,kn){return Me(tt,Wt,kn)})}}function tu(me,Se,be,tt){var lt=Aa(me,0),Xt=Aa(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[Aa(tt,0),Aa(tt,1)]}),Wt=(0,Lt.Z)(Xt,2),kn=Wt[0],Tn=Wt[1],ua=ie.useState(null),Da=(0,Lt.Z)(ua,2),fa=Da[0],vn=Da[1],Ia=Aa(Se,0),Ma=Aa(Se,1);function Mn(Ta){return kn[Ta]?kn[Ta]:Aa(fa,Ta)||tu(Se,Ta,be,lt)||Ia||Ma||lt.getNow()}function ga(Ta,Dr){if(Ta){var br=Nn(fa,Ta,Dr);Tn(Nn(kn,null,Dr)||[null,null]);var Ir=(Dr+1)%2;Aa(Se,Ir)||(br=Nn(br,Ta,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,kn=lt.id,Tn=lt.style,ua=lt.className,Da=lt.popupStyle,fa=lt.dropdownClassName,vn=lt.transitionName,Ia=lt.dropdownAlign,Ma=lt.getPopupContainer,Mn=lt.generateConfig,ga=lt.locale,Ta=lt.placeholder,Dr=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,zo=fo===void 0?"~":fo,ei=lt.value,li=lt.defaultValue,pi=lt.defaultPickerValue,Hi=lt.open,oo=lt.defaultOpen,Ro=lt.disabledDate,_o=lt.disabledTime,Ai=lt.dateRender,Ni=lt.monthCellRender,fi=lt.cellRender,Mo=lt.panelRender,ol=lt.presets,Xi=lt.ranges,Ee=lt.allowEmpty,Ce=lt.allowClear,$e=lt.suffixIcon,rt=lt.clearIcon,ht=lt.pickerRef,pt=lt.inputReadOnly,Ut=lt.mode,Qt=lt.renderExtraFooter,$t=lt.onChange,xn=lt.onOpenChange,Sn=lt.onPanelChange,En=lt.onCalendarChange,ea=lt.onFocus,ra=lt.onBlur,ma=lt.onMouseDown,La=lt.onMouseUp,Ht=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,Ua=Rr==="date"&&!!jn||Rr==="time",cr=(0,ie.useRef)(null),Ur=(0,ie.useRef)(null),yo=(0,ie.useRef)(null),lo=(0,ie.useRef)(null),Tr=(0,ie.useRef)(null),vo=(0,ie.useRef)(null),Ao=(0,ie.useRef)(null),ka=(0,ie.useRef)(null),wo=$a(pa(Ir,Rr,jn,Vo)),yi=(0,ie.useRef)(null),Do=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],Hr=_i[1],Jr=(0,mt.Z)(Yr,{postState:function(Xr){var Oo=Xr;if(Do[0]&&Do[1])return Oo;for(var Pi=0;Pi<2;Pi+=1)Do[Pi]&&!Oo&&!Aa(Oo,Pi)&&!Aa(Ee,Pi)&&(Oo=Nn(Oo,Mn.getNow(),Pi));return Oo}}),zr=(0,Lt.Z)(Jr,2),ce=zr[0],pe=zr[1],Pe=(0,mt.Z)([Rr,Rr],{value:Ut}),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,Hi,jr,yr,vo,Ao,Aa(ce,0),Aa(ce,1),Do,xn),zt=(0,Lt.Z)(_n,4),$n=zt[0],Fn=zt[1],Pt=zt[2],mn=zt[3],On=$n&&Fn===0,sa=$n&&Fn===1,Zn=So({picker:Rr,selectedValue:ce,locale:ga,disabled:Do,disabledDate:Ro,generateConfig:Mn},!$n||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(){!$n&&cr.current&&Ka(cr.current.offsetWidth)},[$n]);function eo(Ei){mn(!0,Ei,"open"),(0,wn.Z)(function(){var Xr,Oo=[vo,Ao][Ei];(Xr=Oo.current)===null||Xr===void 0||Xr.focus()},0)}function Sr(Ei,Xr){var Oo=Ei,Pi=Aa(Oo,0),Yi=Aa(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:wo[0]}):"",Ql=Oo&&Oo[1]?yt(Oo[1],{generateConfig:Mn,locale:ga,format:wo[0]}):"";if(En){var iu={range:Xr===0?"start":"end"};En(Oo,[Pu,Ql],iu)}var ql=mu(Pi,0,Do,Ee),cs=mu(Yi,1,Do,Ee),$u=Oo===null||ql&&cs;$u&&(gi(Oo),$t&&(!fn(Mn,Aa(Yr,0),Pi)||!fn(Mn,Aa(Yr,1),Yi))&&$t(Oo,[Pu,Ql]))}var ui=function(Xr){return $n&&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:wo,generateConfig:Mn,locale:ga},xo=Mt(Aa(ce,0),Ga),wr=(0,Lt.Z)(xo,2),ao=wr[0],Eo=wr[1],hi=Mt(Aa(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:wo,generateConfig:Mn}),Yi=Oo===0?aa:da;Pi&&!Yi(Pi)&&(pe(Nn(ce,Pi,Oo)),Hr(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],Ho=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],Ui=Io[1],Zi=dn(Fo,{formatList:wo,generateConfig:Mn,locale:ga}),hl=(0,Lt.Z)(Zi,3),ul=hl[0],sl=hl[1],Al=hl[2],Rl=dn(ii,{formatList:wo,generateConfig:Mn,locale:ga}),ml=(0,Lt.Z)(Rl,3),qi=ml[0],Wl=ml[1],Xo=ml[2],vu=function(Xr){Ui(Nn(ce,Xr,Fn)),Fn===0?sl(Xr):Wl(Xr)},pu=function(){Ui(Nn(ce,null,Fn)),Fn===0?Al():Xo()},Kl=ie.useState($n),gu=(0,Lt.Z)(Kl,2),ca=gu[0],or=gu[1];ie.useEffect(function(){or($n)},[$n]);var jo=function(Xr){if(yr&&ca){var Oo=Aa(ce,Fn);Oo&&Sr(ce,Fn)}return ra==null?void 0:ra(Xr)},uo=function(Xr,Oo){return{blurToCancel:!yr&&Ua,forwardKeyDown:ui,onBlur:jo,isClickOutside:function(Yi){return!ia([Ur.current,yo.current,lo.current,cr.current],Yi)},onFocus:function(Yi){ea&&ea(Yi)},triggerOpen:function(Yi){Yi?mn(Yi,Xr,"open"):mn(Yi,Aa(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,Ho)),{},{open:On,value:Fo},Bo)),Vi=(0,Lt.Z)(qo,2),wi=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),zi=ti[0],wl=ti[1],Sl=wl.focused,Vl=wl.typing,Tl=function(Xr){ja&&ja(Xr),!$n&&!vo.current.contains(Xr.target)&&!Ao.current.contains(Xr.target)&&(Do[0]?Do[1]||eo(1):eo(0))},Ku=function(Xr){ma&&ma(Xr),$n&&(el||Sl)&&!vo.current.contains(Xr.target)&&!Ao.current.contains(Xr.target)&&Xr.preventDefault()},Vu=Yr&&Yr[0]?yt(Yr[0],{locale:ga,format:"YYYYMMDDHHmmss",generateConfig:Mn}):"",Uu=Yr&&Yr[1]?yt(Yr[1],{locale:ga,format:"YYYYMMDDHHmmss",generateConfig:Mn}):"";(0,ie.useEffect)(function(){$n||(pe(Yr),!ao.length||ao[0]===""?Ri(""):Eo!==Fo&&Ho(),!Cr.length||Cr[0]===""?il(""):po!==ii&&ll())},[$n,ao,Cr]),(0,ie.useEffect)(function(){pe(Yr)},[Vu,Uu]);var hu=ir({cellRender:fi,monthCellRender:Ni,dateRender:Ai}),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(),Ao.current&&Ao.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;$n&&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:Aa(Yi,Fn)||void 0})}return ie.createElement(xr.Provider,{value:{inRange:!0,panelPosition:Ei,rangedValue:cl||ce,hoverRangedValue:Oo}},ie.createElement(za,(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,ze.Z)({},"".concat(Wt,"-panel-focused"),Fn===0?!Ml:!Vl)),value:Aa(ce,Fn),locale:ga,tabIndex:-1,onPanelChange:function(Ql,iu){Fn===0&&Al(!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)),Hr(ql,Fn)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Fn===0?Aa(ce,1):Aa(ce,0)})))}var Xa=0,io=0;if(Fn&&yo.current&&Tr.current&&Ur.current&&ka.current){Xa=yo.current.offsetWidth+Tr.current.offsetWidth;var Qo=ka.current.offsetLeft>Xa?ka.current.offsetLeft-Xa:ka.current.offsetLeft,ci=Ur.current.offsetWidth,ni=ka.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=zn(Wt,en[Fn],Qt),Oo=qn({prefixCls:Wt,components:Qr,needConfirmButton:Ua,okDisabled:!Aa(ce,Fn)||Ro&&Ro(ce[Fn]),locale:ga,onOk:function(){var lu=Aa(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){Hr(lu,Fn)}}),ql=ds("right",{pickerValue:Yi,onPickerValueChange:function(lu){Hr(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:Ur,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:ka,className:"".concat(Wt,"-range-arrow"),style:Go}),Oi()),Cl;$e&&(Cl=ie.createElement("span",{className:"".concat(Wt,"-suffix"),onMouseDown:function(Xr){Xr.preventDefault()}},$e));var Ul=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;Do[0]||(Oo=Nn(Oo,null,0)),Do[1]||(Oo=Nn(Oo,null,1)),Sr(Oo,null),mn(!1,Fn,"clear")},className:"".concat(Wt,"-clear"),role:"button"},Ul),Ol=Ce&&(Aa(Yr,0)&&!Do[0]||Aa(Yr,1)&&!Do[1]),$l={size:Br(Rr,wo[0],Mn)},Eu=0,wu=0;yo.current&&lo.current&&Tr.current&&(Fn===0?wu=yo.current.offsetWidth:(Eu=Xa,wu=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"&&!Ua){Sr(Pi,Fn),Fn===0?Al():Xo();var Yi=Fn===0?1:0;Do[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:$n}},ie.createElement($o,{visible:$n,popupElement:Gi,popupStyle:Da,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,ze.Z)(Se,"".concat(Wt,"-disabled"),Do[0]&&Do[1]),(0,ze.Z)(Se,"".concat(Wt,"-focused"),Fn===0?el:Sl),(0,ze.Z)(Se,"".concat(Wt,"-rtl"),Kr==="rtl"),Se)),style:Tn,onClick:Tl,onMouseEnter:Ht,onMouseLeave:nr,onMouseDown:Ku,onMouseUp:La},(0,Nt.Z)(me,{aria:!0,data:!0})),ie.createElement("div",{className:Ve()("".concat(Wt,"-input"),(be={},(0,ze.Z)(be,"".concat(Wt,"-input-active"),Fn===0),(0,ze.Z)(be,"".concat(Wt,"-input-placeholder"),!!ul),be)),ref:yo},ie.createElement("input",(0,se.Z)({id:kn,disabled:Do[0],readOnly:pt||typeof wo[0]=="function"||!Ml,value:ul||Fo,onChange:function(Xr){Ri(Xr.target.value)},autoFocus:Dr,placeholder:Aa(Ta,0)||"",ref:vo},wi,$l,{autoComplete:sr}))),ie.createElement("div",{className:"".concat(Wt,"-range-separator"),ref:Tr},zo),ie.createElement("div",{className:Ve()("".concat(Wt,"-input"),(tt={},(0,ze.Z)(tt,"".concat(Wt,"-input-active"),Fn===1),(0,ze.Z)(tt,"".concat(Wt,"-input-placeholder"),!!qi),tt)),ref:lo},ie.createElement("input",(0,se.Z)({disabled:Do[1],readOnly:pt||typeof wo[0]=="function"||!Vl,value:qi||ii,onChange:function(Xr){il(Xr.target.value)},placeholder:Aa(Ta,1)||"",ref:Ao},zi,$l,{autoComplete:sr}))),ie.createElement("div",{className:"".concat(Wt,"-active-bar"),style:(0,ct.Z)((0,ct.Z)({},ps),{},{width:wu,position:"absolute"})}),Cl,Ol&&Su)))}var El=function(me){(0,Gt.Z)(be,me);var Se=(0,Bn.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,ze.Z)((0,Kn.Z)(tt),"pickerRef",ie.createRef()),(0,ze.Z)((0,Kn.Z)(tt),"focus",function(){tt.pickerRef.current&&tt.pickerRef.current.focus()}),(0,ze.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=Dl,rl=ee(19080),Tu=ee(36355),nu=ee(1684),Ju=ee(19716),bu=ee(32441),ku=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),Hu=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),kn=Math.max(Se-Xt-Wt,0);return{padding:`${Wt}px ${tt}px ${kn}px`}},zu=me=>{const{componentCls:Se,pickerCellCls:be,pickerCellInnerCls:tt,cellHeight:lt,motionDurationSlow:Xt,borderRadiusSM:Wt,motionDurationMid:kn,cellHoverBg:Tn,lineWidth:ua,lineType:Da,colorPrimary:fa,cellActiveWithRangeBg:vn,colorTextLightSolid:Ia,controlHeightSM:Ma,cellRangeBorderColor:Mn,pickerCellBorderGap:ga,cellHoverWithRangeBg:Ta,cellWidth:Dr,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 ${kn}, border ${kn}`},"&-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:Tn}},[`&-in-view${be}-today ${tt}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${ua}px ${Da} ${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:Ta},[`&-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:(Dr-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:(Dr-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:kn,paddingXS:Tn,paddingXXS:ua,colorBgContainer:Da,lineWidth:fa,lineType:vn,borderRadiusLG:Ia,colorPrimary:Ma,colorTextHeading:Mn,colorSplit:ga,pickerControlIconBorderWidth:Ta,colorIcon:Dr,textHeight:br,motionDurationMid:Ir,colorIconHover:Wr,fontWeightStrong:Rr,cellHeight:jn,pickerCellPaddingVertical:Vo,colorTextDisabled:fo,colorText:zo,fontSize:ei,cellHoverWithRangeBg:li,motionDurationSlow:pi,withoutTimeCellHeight:Hi,pickerQuarterPanelContentHeight:oo,colorLink:Ro,colorLinkActive:_o,colorLinkHover:Ai,cellRangeBorderColor:Ni,borderRadiusSM:fi,colorTextLightSolid:Mo,cellHoverBg:ol,timeColumnHeight:Xi,timeColumnWidth:Ee,timeCellHeight:Ce,controlItemBgActive:$e,marginXXS:rt,pickerDatePanelPaddingHorizontal:ht}=me,pt=Wt*7+ht*2,Ut=(pt-Tn*2)/3-lt-kn,Qt=(pt-Tn*2)/4-lt;return{[Se]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Da,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 ${Tn}px`,color:Mn,borderBottom:`${fa}px ${vn} ${ga}`,"> *":{flex:"none"},button:{padding:0,color:Dr,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:Tn},"&: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:Ta,borderBlockEndWidth:0,borderInlineStartWidth:Ta,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:Ta,borderBlockEndWidth:0,borderInlineStartWidth:Ta,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:zo,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Vo}px 0`,color:fo,cursor:"pointer","&-in-view":{color:zo}},zu(me)),[`&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-start ${tt},
&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-end ${tt}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background: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:Hi*4},[tt]:{padding:`0 ${Tn}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 ${kn}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:Ai},"&:active":{color:_o},[`&${Se}-today-btn-disabled`]:{color:fo,cursor:"not-allowed"}},"&-decade-panel":{[tt]:{padding:`0 ${Tn/2}px`},[`${Se}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-body`]:{padding:`0 ${Tn}px`},[tt]:{width:lt},[`${Se}-cell-range-hover-start::after`]:{borderStartStartRadius: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:Ut,borderInlineStart:`${fa}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineEnd:Ut,borderInlineEnd:`${fa}px dashed ${Ni}`}},[`${Se}-cell-range-hover-end::after`]:{insetInlineEnd:Ut,borderInlineEnd:`${fa}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineStart:Ut,borderInlineStart:`${fa}px dashed ${Ni}`}}},"&-week-panel":{[`${Se}-body`]:{padding:`${Tn}px ${kn}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:$e}}},"&-date-panel":{[`${Se}-body`]:{padding:`${Tn}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($e).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:zo,lineHeight:`${Ce}px`,borderRadius:fi,cursor:"pointer",transition:`background ${Ir}`,"&:hover":{background:ol}},"&-selected":{[`${Se}-time-panel-cell-inner`]:{background:$e}},"&-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,Hu.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,Hu.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:kn,lineType:Tn,colorBorder:ua,borderRadius:Da,motionDurationMid:fa,colorBgContainerDisabled:vn,colorTextDisabled:Ia,colorTextPlaceholder:Ma,controlHeightLG:Mn,fontSizeLG:ga,controlHeightSM:Ta,paddingInlineSM:Dr,paddingXS:br,marginXS:Ir,colorTextDescription:Wr,lineWidthBold:Rr,lineHeight:jn,colorPrimary:Vo,motionDurationSlow:fo,zIndexPopup:zo,paddingXXS:ei,paddingSM:li,textHeight:pi,cellActiveWithRangeBg:Hi,colorPrimaryBorder:oo,sizePopupArrow:Ro,borderRadiusXS:_o,borderRadiusOuter:Ai,colorBgElevated:Ni,borderRadiusLG:fi,boxShadowSecondary:Mo,borderRadiusSM:ol,colorSplit:Xi,cellHoverBg:Ee,presetsWidth:Ce,presetsMaxWidth:$e,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:`${kn}px ${Tn} ${ua}`,borderRadius:Da,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,Ta,lt,Dr)),[`${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:-kn,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:Dr},[`${Se}-active-bar`]:{marginInlineStart:Dr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Zu.Wf)(me)),xu(me)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:zo,[`&${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*kn-br/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${Se}-preset > ${be}-tag-blue`]:{color:Vo,background:Hi,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,Ai,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:$e,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:br,borderInlineEnd:`${kn}px ${Tn} ${Xi}`,li:Object.assign(Object.assign({},Zu.vS),{borderRadius:ol,paddingInline:br,paddingBlock:(Ta-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 ${kn}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")]},Hl=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,Hu.TS)((0,ji.e5)(me),Hl(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 zl(me){const{format:Se,picker:be,showHour:tt,showMinute:lt,showSecond:Xt,use12Hours:Wt}=me,kn=Yl(Se)[0],Tn=Object.assign({},me);return Se&&Array.isArray(Se)&&(Tn.format=kn),kn&&typeof kn=="string"&&(!kn.includes("s")&&Xt===void 0&&(Tn.showSecond=!1),!kn.includes("m")&&lt===void 0&&(Tn.showMinute=!1),!kn.includes("H")&&!kn.includes("h")&&!kn.includes("K")&&!kn.includes("k")&&tt===void 0&&(Tn.showHour=!1),(kn.includes("a")||kn.includes("A"))&&Wt===void 0&&(Tn.use12Hours=!0)),be==="time"?Tn:(typeof kn=="function"&&delete Tn.format,{showTime:Tn})}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 Au={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:kn,size:Tn,disabled:ua,bordered:Da=!0,placeholder:fa,popupClassName:vn,dropdownClassName:Ia,status:Ma,clearIcon:Mn,allowClear:ga,rootClassName:Ta}=be,Dr=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)(Tu.E_),jn=Ir("picker",lt),{compactSize:Vo,compactItemClassnames:fo}=(0,Xu.ri)(jn,Wr),{format:zo,showTime:ei,picker:li}=be,pi=Ir(),[Hi,oo]=qu(jn),Ro=Object.assign(Object.assign({},ei?zl(Object.assign({format:zo,picker:li},ei)):{}),li==="time"?zl(Object.assign(Object.assign({format:zo},be),{picker:li})):{}),_o=(0,Ju.Z)(rt=>{var ht;return(ht=Tn!=null?Tn:Vo)!==null&&ht!==void 0?ht:rt}),Ai=ie.useContext(nu.Z),Ni=ua!=null?ua:Ai,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,ku.Z)("Calendar",_u.Z),$e=Object.assign(Object.assign({},Ce),be.locale);return Hi(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,kn),placeholder:Lr($e,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`},Dr,Ro,{className:Ve()({[`${jn}-${_o}`]:_o,[`${jn}-borderless`]:!Da},(0,rl.Z)(jn,(0,rl.F)(ol,Ma),Mo),oo,fo,Wt,Ta),locale:$e.lang,prefixCls:jn,getPopupContainer:Xt||Rr,generateConfig:me,components:Au,direction:Wr,dropdownClassName:Ve()(oo,vn||Ia,Ta),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(Tn,ua){const Da=ua==="TimePicker"?"timePicker":"datePicker",fa=(0,ie.forwardRef)((vn,Ia)=>{const{prefixCls:Ma,getPopupContainer:Mn,style:ga,className:Ta,rootClassName:Dr,size:br,bordered:Ir=!0,placement:Wr,placeholder:Rr,popupClassName:jn,dropdownClassName:Vo,disabled:fo,status:zo,clearIcon:ei,allowClear:li}=vn,pi=Qi(vn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Hi,direction:oo,getPopupContainer:Ro,[Da]:_o}=(0,ie.useContext)(Tu.E_),Ai=Hi("picker",Ma),{compactSize:Ni,compactItemClassnames:fi}=(0,Xu.ri)(Ai,oo),Mo=ie.useRef(null),{format:ol,showTime:Xi}=vn,[Ee,Ce]=qu(Ai);(0,ie.useImperativeHandle)(Ia,()=>({focus:()=>{var Ht;return(Ht=Mo.current)===null||Ht===void 0?void 0:Ht.focus()},blur:()=>{var Ht;return(Ht=Mo.current)===null||Ht===void 0?void 0:Ht.blur()}}));const $e={showToday:!0};let rt={};Tn&&(rt.picker=Tn);const ht=Tn||vn.picker;rt=Object.assign(Object.assign(Object.assign({},rt),Xi?zl(Object.assign({format:ol,picker:ht},Xi)):{}),ht==="time"?zl(Object.assign(Object.assign({format:ol},vn),{picker:ht})):{});const pt=Hi(),Ut=(0,Ju.Z)(Ht=>{var nr;return(nr=br!=null?br:Ni)!==null&&nr!==void 0?nr:Ht}),Qt=ie.useContext(nu.Z),$t=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,ku.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:`${Ai}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${Ai}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${Ai}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${Ai}-super-next-icon`}),transitionName:`${pt}-slide-up`},$e,pi,rt,{locale:La.lang,className:Ve()({[`${Ai}-${Ut}`]:Ut,[`${Ai}-borderless`]:!Ir},(0,rl.Z)(Ai,(0,rl.F)(En,zo),Sn),Ce,fi,_o==null?void 0:_o.className,Ta,Dr),style:Object.assign(Object.assign({},_o==null?void 0:_o.style),ga),prefixCls:Ai,getPopupContainer:Mn||Ro,generateConfig:me,components:Au,direction:oo,disabled:$t,dropdownClassName:Ve()(Ce,Dr,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"),kn=Se("quarter","QuarterPicker");return{DatePicker:be,WeekPicker:tt,MonthPicker:lt,YearPicker:Xt,TimePicker:Wt,QuarterPicker:kn}}const us=null;function ss(me){const{DatePicker:Se,WeekPicker:be,MonthPicker:tt,YearPicker:lt,TimePicker:Xt,QuarterPicker:Wt}=ls(me),kn=cu(me),Tn=Se;return Tn.WeekPicker=be,Tn.MonthPicker=tt,Tn.YearPicker=lt,Tn.RangePicker=kn,Tn.TimePicker=Xt,Tn.QuarterPicker=Wt,Tn}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 ze}});var b=ee(92310),de=ee.n(b),Be=ee(20439),Ne=ee(50298),_e=ee(43403),Te=ee(34280),le=ee(59301),it=le.createContext(null),qe=le.createContext({}),Ke=it,je=ee(4635),Je=ee(14809),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,we=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),An=St.panel,nn=(0,a.useComposeRef)(An,we);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,we=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,An=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,wn=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,Dn=le.useRef(),oa=le.useRef(),wa=le.useRef();le.useImperativeHandle(Lt,function(){return Dn.current});var ut=function($a){var Aa=$a.keyCode,Nn=$a.shiftKey;switch(Aa){case ue.Z.TAB:{if(Aa===ue.Z.TAB){if(!Nn&&document.activeElement===wa.current){var mr;(mr=oa.current)===null||mr===void 0||mr.focus({preventScroll:!0})}else if(Nn&&document.activeElement===oa.current){var Nr;(Nr=wa.current)===null||Nr===void 0||Nr.focus({preventScroll:!0})}}break}case ue.Z.ESC:{Ra&&et&&($a.stopPropagation(),Ra($a));break}}};le.useEffect(function(){if(fe&&vt){var Xn;(Xn=Dn.current)===null||Xn===void 0||Xn.focus({preventScroll:!0})}},[fe]);var bn=le.useState(!1),Ln=(0,Ne.Z)(bn,2),Hn=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,Tt=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 $a;ia==null||($a=ia.pull)===null||$a===void 0||$a.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,$a){var Aa=Xn.className,Nn=Xn.style;return le.createElement("div",{className:de()("".concat(we,"-mask"),Aa,wn),style:(0,Be.Z)((0,Be.Z)({},Nn),Jn),onClick:dn&&fe?Ra:void 0,ref:$a})}),Qn=typeof Cn=="function"?Cn(Xe):Cn,Yn={};if(Hn&&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($a){ha==null||ha($a)},removeOnLeave:!1,leavedClassName:"".concat(we,"-content-wrapper-hidden")}),function(Xn,$a){var Aa=Xn.className,Nn=Xn.style;return le.createElement("div",(0,Je.Z)({className:de()("".concat(we,"-content-wrapper"),Aa),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:$a,prefixCls:we,className:nn,style:ln},Gn),Zt))}),Ba=(0,Be.Z)({},St);return An&&(Ba.zIndex=An),le.createElement(Ke.Provider,{value:Tt},le.createElement("div",{className:de()(we,"".concat(we,"-").concat(Xe),Me,(nt={},(0,je.Z)(nt,"".concat(we,"-open"),fe),(0,je.Z)(nt,"".concat(we,"-inline"),Rt),nt)),style:Ba,tabIndex:-1,ref:Dn,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:wa,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,we=Lt.placement,fe=we===void 0?"right":we,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,An=Lt.maskClosable,nn=An===void 0?!0:An,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,wn=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,Te.Z)(function(){Br(!0)},[]);var qt=pa?Nt:!1,Dn=le.useRef(),oa=le.useRef();(0,Te.Z)(function(){qt&&(oa.current=document.activeElement)},[qt]);var wa=function(pn){var ia;if(_a(pn),Cn==null||Cn(pn),!pn&&oa.current&&!((ia=Dn.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:wn}},[wn]);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:wa,ref:Dn},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)))},De=Ge,He=De,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:we,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)(we,nt,et,void 0,!0),An=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},An,le.createElement("div",{className:`${Lt}-body`,style:Oe},vt),nn)},dt=ee(33234),gt=ee(83116),wt=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:we,padding:fe,paddingLG:Xe,fontSizeLG:Rt,lineHeightLG:Oe,lineWidth:Ie,lineType:vt,colorSplit:et,marginSM:Me,colorIcon:St,colorIconHover:An,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 ${we}`,textRendering:"auto","&:focus, &:hover":{color:An,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,wt.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:we=!0,push:fe=Kn,open:Xe,afterOpenChange:Rt,onClose:Oe,prefixCls:Ie,getContainer:vt,style:et,className:Me,visible:St,afterVisibleChange:An}=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":!we,[`${yt}-rtl`]:Cn==="rtl"},mt,Bt),gn=le.useMemo(()=>Nt!=null?Nt:nt==="large"?736:378,[Nt,nt]),wn=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(He,Object.assign({prefixCls:yt,onClose:Oe,maskMotion:Jn,motion:ha},nn,{open:Xe!=null?Xe:St,mask:we,push:fe,width:gn,height:wn,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:An,panelRef:Ra}),le.createElement(ot,Object.assign({prefixCls:yt},nn,{onClose:Oe}))))))},Bn=ct=>{const{prefixCls:Lt,style:mt,className:Nt,placement:st="right"}=ct,nt=at(ct,["prefixCls","style","className","placement"]),{getPrefixCls:we}=le.useContext(Qe.E_),fe=we("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=Bn;var ze=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),Te=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:De,disabled:He,dropdownRender:he,getPopupContainer:Qe,overlayClassName:We,rootClassName:ft,open:Le,onOpenChange:ot,visible:dt,onVisibleChange:gt,mouseEnterDelay:wt=.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]),Bn=b.useMemo(()=>on?on.includes("Center")?on.slice(0,on.indexOf("Center")):on:Kn==="rtl"?"bottomRight":"bottomLeft",[on,Kn]),ze=rn("dropdown",ye),[ct,Lt]=(0,a.Z)(ze),[,mt]=(0,E.Z)(),Nt=b.Children.only(Ge),st=(0,je.Tm)(Nt,{className:Ne()(`${ze}-trigger`,{[`${ze}-rtl`]:Kn==="rtl"},Nt.props.className),disabled:He}),nt=He?[]:De;let we;nt&&nt.includes("contextMenu")&&(we=!0);const[fe,Xe]=(0,le.Z)(!1,{value:Le!=null?Le:dt}),Rt=(0,Te.useEvent)(Me=>{ot==null||ot(Me),gt==null||gt(Me),Xe(Me)}),Oe=Ne()(We,ft,Lt,{[`${ze}-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:`${ze}-menu`,expandIcon:b.createElement("span",{className:`${ze}-menu-submenu-arrow`},b.createElement(de.Z,{className:`${ze}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:vt,validator:St=>{let{mode:An}=St}},Me)};return ct(b.createElement(_e.Z,Object.assign({alignPoint:we},(0,it.Z)(se,["rootClassName"]),{mouseEnterDelay:wt,mouseLeaveDelay:sn,visible:fe,builtinPlacements:Ie,arrow:!!ve,overlayClassName:Oe,prefixCls:ze,getPopupContainer:Qe||at,transitionName:Gt,trigger:nt,overlay:et,placement:Bn,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),Te=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:De,className:He,menu:he,arrow:Qe,autoFocus:We,overlay:ft,trigger:Le,align:ot,open:dt,onOpenChange:gt,placement:wt,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:Bn,dropdownRender:ze}=a,ct=je(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),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:Bn,dropdownRender:ze},{compactSize:we,compactItemClassnames:fe}=(0,qe.ri)(Lt,z),Xe=Be()(mt,fe,He,st);"overlay"in a&&(nt.overlay=ft),"open"in a&&(nt.open=dt),"placement"in a?nt.placement=wt:nt.placement=z==="rtl"?"bottomLeft":"bottomRight";const Rt=Ne.createElement(Te.ZP,{type:re,danger:se,disabled:ie,loading:ve,onClick:ye,htmlType:Ge,href:Ft,title:cn},De),Oe=Ne.createElement(Te.ZP,{type:re,danger:se,icon:on}),[Ie,vt]=Ve([Rt,Oe]);return Nt(Ne.createElement(it.Z.Compact,Object.assign({className:Xe,size:we,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),Te=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:De}=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:De,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:De,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:De,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:De,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,Te.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 Te=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,Te&&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(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Ne=Be,_e=ee(7657),Te=function(ye,Ge){return de.createElement(_e.Z,(0,b.Z)({},ye,{ref:Ge,icon:Ne}))},le=de.forwardRef(Te),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 De in ve)Object.prototype.hasOwnProperty.call(ve,De)&&ye.indexOf(De)<0&&(Ge[De]=ve[De]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,De=Object.getOwnPropertySymbols(ve);He<De.length;He++)ye.indexOf(De[He])<0&&Object.prototype.propertyIsEnumerable.call(ve,De[He])&&(Ge[De[He]]=ve[De[He]]);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:De,trigger:He,children:he,defaultCollapsed:Qe=!1,theme:We="dark",style:ft={},collapsible:Le=!1,reverseArrow:ot=!1,width:dt=200,collapsedWidth:gt=80,zeroWidthTriggerStyle:wt,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 Bn=(st,nt)=>{"collapsed"in ve||rn(st),Ft==null||Ft(st,nt)},ze=(0,de.useRef)();ze.current=st=>{Gt(st.matches),on==null||on(st.matches),at!==st.matches&&Bn(st.matches,"responsive")},(0,de.useEffect)(()=>{function st(we){return ze.current(we)}let nt;if(typeof window!="undefined"){const{matchMedia:we}=window;if(we&&sn&&sn in z){nt=we(`(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(we){nt==null||nt.removeListener(st)}}},[sn]),(0,de.useEffect)(()=>{const st=re("ant-sider-");return Ve.addSider(st),()=>Ve.removeSider(st)},[]);const ct=()=>{Bn(!at,"clickTrigger")},{getPrefixCls:Lt}=(0,de.useContext)(a.E_),mt=()=>{const st=Lt("layout-sider",Ge),nt=(0,Ye.Z)(cn,["collapsed"]),we=at?gt:dt,fe=E(we)?`${we}px`:String(we),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:wt},He||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=He!==null?Xe||de.createElement("div",{className:`${st}-trigger`,onClick:ct,style:{width:fe}},He||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&&He!==null&&!Xe,[`${st}-below`]:!!Kn,[`${st}-zero-width`]:parseFloat(fe)===0},De);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(95190),de=ee(92310),Be=ee.n(de),Ne=ee(2738),_e=ee(59301),Te=ee(36355),le=ee(83116),qe=se=>{const{componentCls:ie,bodyBg:ve,lightSiderBg:ye,lightTriggerBg:Ge,lightTriggerColor:De}=se;return{[`${ie}-sider-light`]:{background:ye,[`${ie}-sider-trigger`]:{color:De,background:Ge},[`${ie}-sider-zero-width-trigger`]:{color:De,background:Ge,border:`1px solid ${ve}`,borderInlineStart:0}}}};const Ke=se=>{const{antCls:ie,componentCls:ve,colorText:ye,triggerColor:Ge,footerBg:De,triggerBg:He,headerHeight:he,headerPadding:Qe,headerColor:We,footerPadding:ft,triggerHeight:Le,zeroTriggerHeight:ot,zeroTriggerWidth:dt,motionDurationMid:gt,motionDurationSlow:wt,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:He,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 ${wt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${wt}`,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:De},[`${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:De,marginXXS:He,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:`${De}px ${We}px`,footerBg:ie,siderBg:"#001529",triggerHeight:ye+He*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((He,he)=>_e.createElement(Ge,Object.assign({ref:he,suffixCls:ie,tagName:ve},He)))}const E=_e.forwardRef((se,ie)=>{const{prefixCls:ve,suffixCls:ye,className:Ge,tagName:De}=se,He=Je(se,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:he}=_e.useContext(Te.E_),Qe=he("layout",ve),[We,ft]=je(Qe),Le=ye?`${Qe}-${ye}`:Qe;return We(_e.createElement(De,Object.assign({className:Be()(ve||Le,Ge,ft),ref:ie},He)))}),a=_e.forwardRef((se,ie)=>{const{direction:ve}=_e.useContext(Te.E_),[ye,Ge]=_e.useState([]),{prefixCls:De,className:He,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:wt}=_e.useContext(Te.E_),sn=gt("layout",De),[Ft,on]=je(sn),cn=Be()(sn,{[`${sn}-has-sider`]:typeof We=="boolean"?We:ye.length>0,[`${sn}-rtl`]:ve==="rtl"},wt==null?void 0:wt.className,He,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({},wt==null?void 0:wt.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 Te}});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),Te=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),Te=ee(36355),le=function(st,nt){var we={};for(var fe in st)Object.prototype.hasOwnProperty.call(st,fe)&&nt.indexOf(fe)<0&&(we[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])&&(we[fe[Xe]]=st[fe[Xe]]);return we},qe=st=>{const{prefixCls:nt,className:we,dashed:fe}=st,Xe=le(st,["prefixCls","className","dashed"]),{getPrefixCls:Rt}=de.useContext(Te.E_),Oe=Rt("menu",nt),Ie=_e()({[`${Oe}-item-divider-dashed`]:!!fe},we);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:we,children:fe,icon:Xe,title:Rt,danger:Oe}=st,{prefixCls:Ie,firstLevel:vt,direction:et,disableMenuItemTitleTooltip:Me,inlineCollapsed:St}=de.useContext(E),An=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},we),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`)}),An(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:we,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 An=de.useMemo(()=>Object.assign(Object.assign({},Oe),{firstLevel:!1}),[Oe]);return de.createElement(E.Provider,{value:An},de.createElement(b.Wd,Object.assign({},(0,je.Z)(st,["icon"]),{title:St,popupClassName:_e()(Ie,we,`${Ie}-${Rt||et}`)})))},te=ee(18785),re=ee(70425),se=ee(62892),ie=ee(40875),ve=function(st,nt){var we={};for(var fe in st)Object.prototype.hasOwnProperty.call(st,fe)&&nt.indexOf(fe)<0&&(we[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])&&(we[fe[Xe]]=st[fe[Xe]]);return we};function ye(st){return(st||[]).map((nt,we)=>{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-${we}`;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 De=ee(64993),He=ee(17313),he=ee(8378),Qe=ee(13826),We=ee(29878),ft=ee(83116),Le=ee(37613),dt=st=>{const{componentCls:nt,motionDurationSlow:we,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 ${we}`,`background ${we}`].join(",")},[`${nt}-submenu-arrow`]:{display:"none"}}}},wt=st=>{let{componentCls:nt,menuArrowOffset:we}=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(-${we})`},"&::after":{transform:`rotate(45deg) translateY(${we})`}}}}};const sn=st=>Object.assign({},(0,He.oN)(st));var on=(st,nt)=>{const{componentCls:we,itemColor:fe,itemSelectedColor:Xe,groupTitleColor:Rt,itemBg:Oe,subMenuItemBg:Ie,itemSelectedBg:vt,activeBarHeight:et,activeBarWidth:Me,activeBarBorderWidth:St,motionDurationSlow:An,motionEaseInOut:nn,motionEaseOut:fn,itemPaddingInline:ln,motionDurationMid:Cn,itemHoverColor:Ze,lineType:yt,colorSplit:Zt,itemDisabledColor:Bt,dangerItemColor:Mt,dangerItemHoverColor:dn,dangerItemSelectedColor:gn,dangerItemActiveBg:wn,dangerItemSelectedBg:Jn,itemHoverBg:ha,itemActiveBg:Ra,menuSubMenuBg:_a,horizontalItemSelectedColor:gr,horizontalItemSelectedBg:ar,horizontalItemBorderRadius:pa,horizontalItemHoverBg:Br,popupBg:qt}=st;return{[`${we}-${nt}, ${we}-${nt} > ${we}`]:{color:fe,background:Oe,[`&${we}-root:focus-visible`]:Object.assign({},sn(st)),[`${we}-item-group-title`]:{color:Rt},[`${we}-submenu-selected`]:{[`> ${we}-submenu-title`]:{color:Xe}},[`${we}-item-disabled, ${we}-submenu-disabled`]:{color:`${Bt} !important`},[`${we}-item:not(${we}-item-selected):not(${we}-submenu-selected)`]:{[`&:hover, > ${we}-submenu-title:hover`]:{color:Ze}},[`&:not(${we}-horizontal)`]:{[`${we}-item:not(${we}-item-selected)`]:{"&:hover":{backgroundColor:ha},"&:active":{backgroundColor:Ra}},[`${we}-submenu-title`]:{"&:hover":{backgroundColor:ha},"&:active":{backgroundColor:Ra}}},[`${we}-item-danger`]:{color:Mt,[`&${we}-item:hover`]:{[`&:not(${we}-item-selected):not(${we}-submenu-selected)`]:{color:dn}},[`&${we}-item:active`]:{background:wn}},[`${we}-item a`]:{"&, &:hover":{color:"inherit"}},[`${we}-item-selected`]:{color:Xe,[`&${we}-item-danger`]:{color:gn},"a, a:hover":{color:"inherit"}},[`& ${we}-item-selected`]:{backgroundColor:vt,[`&${we}-item-danger`]:{backgroundColor:Jn}},[`${we}-item, ${we}-submenu-title`]:{[`&:not(${we}-item-disabled):focus-visible`]:Object.assign({},sn(st))},[`&${we}-submenu > ${we}`]:{backgroundColor:_a},[`&${we}-popup > ${we}`]:{backgroundColor:qt},[`&${we}-horizontal`]:Object.assign(Object.assign({},nt==="dark"?{borderBottom:0}:{}),{[`> ${we}-item, > ${we}-submenu`]:{top:St,marginTop:-St,marginBottom:0,borderRadius:pa,"&::after":{position:"absolute",insetInline:ln,bottom:0,borderBottom:`${et}px solid transparent`,transition:`border-color ${An} ${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}}}}),[`&${we}-root`]:{[`&${we}-inline, &${we}-vertical`]:{borderInlineEnd:`${St}px ${yt} ${Zt}`}},[`&${we}-inline`]:{[`${we}-sub${we}-inline`]:{background:Ie},[`${we}-item, ${we}-submenu-title`]:St&&Me?{width:`calc(100% + ${St}px)`}:{},[`${we}-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:'""'},[`&${we}-item-danger`]:{"&::after":{borderInlineEndColor:gn}}},[`${we}-selected, ${we}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Cn} ${nn}`,`opacity ${Cn} ${nn}`].join(",")}}}}}};const cn=st=>{const{componentCls:nt,itemHeight:we,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:we,lineHeight:`${we}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:we,lineHeight:`${we}px`},[`${nt}-item-group-list ${nt}-submenu-title,
${nt}-submenu-title`]:{paddingInlineEnd:vt}}};var at=st=>{const{componentCls:nt,iconCls:we,itemHeight:fe,colorTextLightSolid:Xe,dropdownWidth:Rt,controlHeightLG:Oe,motionDurationMid:Ie,motionEaseOut:vt,paddingXL:et,itemMarginInline:Me,fontSizeLG:St,motionDurationSlow:An,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 ${An}`,`background ${An}`,`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, ${we}`]:{margin:0,fontSize:Cn,lineHeight:`${fe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${nt}-item-icon, ${we}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${nt}-item-icon, ${we}`]:{display:"none"},"a, a:hover":{color:Xe}},[`${nt}-item-group-title`]:Object.assign(Object.assign({},He.vS),{paddingInline:nn})}}]};const rn=st=>{const{componentCls:nt,motionDurationSlow:we,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 ${we}`,`background ${we}`,`padding ${we} ${Xe}`].join(","),[`${nt}-item-icon, ${Oe}`]:{minWidth:Ie,fontSize:Ie,transition:[`font-size ${fe} ${Rt}`,`margin ${we} ${Xe}`,`color ${we}`].join(","),"+ span":{marginInlineStart:vt,opacity:1,transition:[`opacity ${we} ${Xe}`,`margin ${we}`,`color ${we}`].join(",")}},[`${nt}-item-icon`]:Object.assign({},(0,He.Ro)()),[`&${nt}-item-only-child`]:{[`> ${Oe}, > ${nt}-item-icon`]:{marginInlineEnd:0}}},[`${nt}-item-disabled, ${nt}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${nt}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Kn=st=>{const{componentCls:nt,motionDurationSlow:we,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 ${we} ${fe}, opacity ${we}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Rt*.6,height:Rt*.15,backgroundColor:"currentcolor",borderRadius:Xe,transition:[`background ${we} ${fe}`,`transform ${we} ${fe}`,`top ${we} ${fe}`,`color ${we} ${fe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Oe})`},"&::after":{transform:`rotate(-45deg) translateY(${Oe})`}}}}},Gt=st=>{const{antCls:nt,componentCls:we,fontSize:fe,motionDurationSlow:Xe,motionDurationMid:Rt,motionEaseInOut:Oe,paddingXS:Ie,padding:vt,colorSplit:et,lineWidth:Me,zIndexPopup:St,borderRadiusLG:An,subMenuItemBorderRadius:nn,menuArrowSize:fn,menuArrowOffset:ln,lineType:Cn,menuPanelMaskInset:Ze,groupTitleLineHeight:yt,groupTitleFontSize:Zt}=st;return[{"":{[`${we}`]:Object.assign(Object.assign({},(0,He.dF)()),{"&-hidden":{display:"none"}})},[`${we}-submenu-hidden`]:{display:"none"}},{[we]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,He.Wf)(st)),(0,He.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",[`${we}-item`]:{flex:"none"}},[`${we}-item, ${we}-submenu, ${we}-submenu-title`]:{borderRadius:st.itemBorderRadius},[`${we}-item-group-title`]:{padding:`${Ie}px ${vt}px`,fontSize:Zt,lineHeight:yt,transition:`all ${Xe}`},[`&-horizontal ${we}-submenu`]:{transition:[`border-color ${Xe} ${Oe}`,`background ${Xe} ${Oe}`].join(",")},[`${we}-submenu, ${we}-submenu-inline`]:{transition:[`border-color ${Xe} ${Oe}`,`background ${Xe} ${Oe}`,`padding ${Rt} ${Oe}`].join(",")},[`${we}-submenu ${we}-sub`]:{cursor:"initial",transition:[`background ${Xe} ${Oe}`,`padding ${Xe} ${Oe}`].join(",")},[`${we}-title-content`]:{transition:`color ${Xe}`},[`${we}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${we}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:et,borderStyle:Cn,borderWidth:0,borderTopWidth:Me,marginBlock:Me,padding:0,"&-dashed":{borderStyle:"dashed"}}}),rn(st)),{[`${we}-item-group`]:{[`${we}-item-group-list`]:{margin:0,padding:0,[`${we}-item, ${we}-submenu-title`]:{paddingInline:`${fe*2}px ${vt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:St,borderRadius:An,boxShadow:"none",transformOrigin:"0 0",[`&${we}-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},[`> ${we}`]:Object.assign(Object.assign(Object.assign({borderRadius:An},rn(st)),Kn(st)),{[`${we}-item, ${we}-submenu > ${we}-submenu-title`]:{borderRadius:nn},[`${we}-submenu-title::after`]:{transition:`transform ${Xe} ${Oe}`}})}}),Kn(st)),{[`&-inline-collapsed ${we}-submenu-arrow,
&-inline ${we}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${ln})`},"&::after":{transform:`rotate(45deg) translateX(-${ln})`}},[`${we}-submenu-open${we}-submenu-inline > ${we}-submenu-title > ${we}-submenu-arrow`]:{transform:`translateY(-${fn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${ln})`},"&::before":{transform:`rotate(45deg) translateX(${ln})`}}})},{[`${nt}-layout-header`]:{[we]:{lineHeight:"inherit"}}}]};var Bn=(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:An,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,wn=(0,Le.TS)(fe,{menuArrowSize:gn,menuHorizontalHeight:Ie*1.15,menuArrowOffset:`${gn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Xe}),Jn=(0,Le.TS)(wn,{itemColor:et,itemHoverColor:yt,groupTitleColor:Ze,itemSelectedColor:nn,itemBg:St,popupBg:St,subMenuItemBg:An,itemActiveBg:"transparent",itemSelectedBg:fn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Cn,itemDisabledColor:Zt,dangerItemColor:Me,dangerItemHoverColor:Bt,dangerItemSelectedColor:Mt,dangerItemActiveBg:dn,dangerItemSelectedBg:ln,menuSubMenuBg:An,horizontalItemSelectedColor:Oe,horizontalItemSelectedBg:Rt});return[Gt(wn),dt(wn),at(wn),on(wn,"light"),on(Jn,"dark"),wt(wn),(0,he.Z)(wn),(0,Qe.oN)(wn,"slide-up"),(0,Qe.oN)(wn,"slide-down"),(0,We._y)(wn,"zoom-big")]},fe=>{const{colorPrimary:Xe,colorError:Rt,colorTextDisabled:Oe,colorErrorBg:Ie,colorText:vt,colorTextDescription:et,colorBgContainer:Me,colorFillAlter:St,colorFillContent:An,lineWidth:nn,lineWidthBold:fn,controlItemBgActive:ln,colorBgTextHover:Cn,controlHeightLG:Ze,lineHeight:yt,colorBgElevated:Zt,marginXXS:Bt,padding:Mt,fontSize:dn,controlHeightSM:gn,fontSizeLG:wn,colorTextLightSolid:Jn,colorErrorHover:ha}=fe,Ra=new De.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:An,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:wn,groupTitleFontSize:dn,darkItemDisabledColor:new De.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),ze=function(st,nt){var we={};for(var fe in st)Object.prototype.hasOwnProperty.call(st,fe)&&nt.indexOf(fe)<0&&(we[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])&&(we[fe[Xe]]=st[fe[Xe]]);return we},Lt=(0,de.forwardRef)((st,nt)=>{var we,fe;const Xe=de.useContext(ie.Z),Rt=Xe||{},{getPrefixCls:Oe,getPopupContainer:Ie,direction:vt,menu:et}=de.useContext(Te.E_),Me=Oe(),{prefixCls:St,className:An,style:nn,theme:fn="light",expandIcon:ln,_internalDisableMenuItemTitleTooltip:Cn,inlineCollapsed:Ze,siderCollapsed:yt,items:Zt,children:Bt,rootClassName:Mt,mode:dn,selectable:gn,onClick:wn,overflowedIndicatorPopupClassName:Jn}=st,ha=ze(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;(we=Rt.validator)===null||we===void 0||we.call(Rt,{mode:dn});const gr=(0,re.useEvent)(function(){var Hn;wn==null||wn.apply(void 0,arguments),(Hn=Rt.onClick)===null||Hn===void 0||Hn.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`}},Dn=Oe("menu",St||Rt.prefixCls),[oa,wa]=Bn(Dn,!Xe),ut=_e()(`${Dn}-${fn}`,et==null?void 0:et.className,An);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 Hn=ln!=null?ln:Rt.expandIcon;bn=(0,Ye.Tm)(Hn,{className:_e()(`${Dn}-submenu-expand-icon`,(0,Ye.l$)(Hn)?(fe=Hn.props)===null||fe===void 0?void 0:fe.className:"")})}const Ln=de.useMemo(()=>({prefixCls:Dn,inlineCollapsed:Br||!1,direction:vt,firstLevel:!0,theme:fn,mode:ar,disableMenuItemTitleTooltip:Cn}),[Dn,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()(Dn,`${Dn}-${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:Dn,direction:vt,defaultMotions:qt,expandIcon:bn,ref:nt,rootClassName:_e()(Mt,wa)}),_a))))});const mt=(0,de.forwardRef)((st,nt)=>{const we=(0,de.useRef)(null),fe=de.useContext(Be.D);return(0,de.useImperativeHandle)(nt,()=>({menu:we.current,focus:Xe=>{var Rt;(Rt=we.current)===null||Rt===void 0||Rt.focus(Xe)}})),de.createElement(Lt,Object.assign({ref:we},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(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Ne=Be,_e=ee(7657),Te=function(Ie,vt){return de.createElement(_e.Z,(0,b.Z)({},Ie,{ref:vt,icon:Ne}))},le=de.forwardRef(Te),it=le,qe=ee(49198),Ke=ee(33853),je=ee(38819),Je=ee(92310),Ye=ee.n(Je),ue=ee(4635),E=ee(20439),a=ee(99153),x=ee(84851),y=ee(19257),z=ee(93046),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),An=0;An<Me;An++)St[An]=arguments[An];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,An=Me.pageSizeOptions;return An.some(function(nn){return nn.toString()===St.toString()})?An:An.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,An=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"),wn=yt,Jn=null,ha=null,Ra=null;if(!ln&&!Cn)return null;var _a=this.getPageSizeOptions();if(ln&&wn){var gr=_a.map(function(ar,pa){return de.createElement(wn.Option,{key:pa,value:ar.toString()},(Zt||Me.buildOptionText)(ar))});Jn=de.createElement(wn,{disabled:Mt,prefixCls:Bt,showSearch:!1,className:"".concat(gn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(An||_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,An=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,An),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},De=Ge;function He(){}function he(Oe){var Ie=Number(Oe);return typeof Ie=="number"&&!Number.isNaN(Ie)&&isFinite(Ie)&&Math.floor(Ie)===Ie}var Qe=function(Ie,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),wn=ln;return ln>gn?wn=gn:ln<1&&(wn=1),"current"in Me.props||Me.setState({current:wn}),wn!==dn&&Me.setState({currentInputValue:wn}),yt(wn,Bt),wn}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!==He,An="current"in et;An&&!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 An=this.props.prefixCls;if(St.current!==this.state.current&&this.paginationNode.current){var nn=this.paginationNode.current.querySelector(".".concat(An,"-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,An=We(void 0,this.state,this.props),nn=this.state.currentInputValue,fn;return St===""?fn=St:Number.isNaN(Number(St))?fn=nn:St>=An?fn=An:fn=Number(St),fn}},{key:"getShowSizeChanger",value:function(){var Me=this.props,St=Me.showSizeChanger,An=Me.total,nn=Me.totalBoundaryShowSizeChanger;return typeof St!="undefined"?St:An>nn}},{key:"render",value:function(){var Me=this.props,St=Me.prefixCls,An=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,wn=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 Dn=We(void 0,this.state,this.props),oa=[],wa=null,ut=null,bn=null,Ln=null,Hn=null,pn=yt&&yt.goButton,ia=Zt?1:2,Sa=pa-1>0?pa-1:0,It=pa+1<Dn?pa+1:Dn,Tt=(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"?Hn=de.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ze.jump_to_confirm):Hn=de.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},pn),Hn=de.createElement("li",{title:Bt?"".concat(Ze.jump_to).concat(pa,"/").concat(Dn):null,className:"".concat(St,"-simple-pager")},Hn));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),An),style:nn,ref:this.paginationNode},Tt),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(Dn):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")},"/"),Dn),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)),Hn)}if(Dn<=3+ia*2){var Yn={locale:Ze,rootPrefixCls:St,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Bt,itemRender:gn};Dn||oa.push(de.createElement(De,(0,b.Z)({},Yn,{key:"noPager",page:1,className:"".concat(St,"-item-disabled")})));for(var Gn=1;Gn<=Dn;Gn+=1){var ir=pa===Gn;oa.push(de.createElement(De,(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,$a=gn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Jn,"prev page")),Aa=gn(this.getJumpNextPage(),"jump-next",this.getItemIcon(ha,"next page"));wn&&(wa=$a?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))},$a):null,ut=Aa?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))},Aa):null),Ln=de.createElement(De,{locale:Ze,last:!0,rootPrefixCls:St,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Dn,page:Dn,active:!1,showTitle:Bt,itemRender:gn}),bn=de.createElement(De,{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,Dn);pa-1<=ia&&(mr=1+ia*2),Dn-pa<=ia&&(Nn=Dn-ia*2);for(var Nr=Nn;Nr<=mr;Nr+=1){var Vr=pa===Nr;oa.push(de.createElement(De,{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(wa)),Dn-pa>=ia*2&&pa!==Dn-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!==Dn&&oa.push(Ln)}var xr=!this.hasPrev()||!Dn,Ue=!this.hasNext()||!Dn,Pn=this.renderPrev(Sa),Jt=this.renderNext(It);return de.createElement("ul",(0,b.Z)({className:Ye()(St,An,(0,ue.Z)({},"".concat(St,"-disabled"),fn)),style:nn,ref:this.paginationNode},Tt),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:Ue?null:0,onKeyPress:this.runIfEnterNext,className:Ye()("".concat(St,"-next"),(0,ue.Z)({},"".concat(St,"-disabled"),Ue)),"aria-disabled":Ue},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 An={};if("current"in Me&&(An.current=Me.current,Me.current!==St.current&&(An.currentInputValue=An.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||(An.current=nn,An.currentInputValue=nn),An.pageSize=Me.pageSize}return An}}]),vt}(de.Component);ft.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:He,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:He,locale:ie.Z,style:{},itemRender:Qe,totalBoundaryShowSizeChanger:50};var Le=ft,ot=ee(22075),dt=ee(36355),gt=ee(19716),wt=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"}}}}}},Bn=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})}}}},ze=Oe=>{const{componentCls:Ie}=Oe;return{[`
&${Ie}-simple ${Ie}-prev,
&${Ie}-simple ${Ie}-next
`]:{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`,verticalAlign:"top",[`${Ie}-item-link`]:{height:Oe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive},"&::after":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`}}},[`&${Ie}-simple ${Ie}-simple-pager`]:{display:"inline-block",height:Oe.itemSizeSM,marginInlineEnd:Oe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Oe.marginXS,padding:`0 ${Oe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Oe.itemInputBg,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,borderRadius:Oe.borderRadius,outline:"none",transition:`border-color ${Oe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Oe.colorPrimary},"&:focus":{borderColor:Oe.colorPrimaryHover,boxShadow:`${Oe.inputOutlineOffset}px 0 ${Oe.controlOutlineWidth}px ${Oe.controlOutline}`},"&[disabled]":{color:Oe.colorTextDisabled,backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,cursor:"not-allowed"}}}}},ct=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}-jump-prev, ${Ie}-jump-next`]:{outline:0,[`${Ie}-item-container`]:{position:"relative",[`${Ie}-item-link-icon`]:{color:Oe.colorPrimary,fontSize:Oe.fontSizeSM,opacity:0,transition:`all ${Oe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ie}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Oe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Oe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Oe.paginationEllipsisTextIndent,opacity:1,transition:`all ${Oe.motionDurationMid}`}},"&:hover":{[`${Ie}-item-link-icon`]:{opacity:1},[`${Ie}-item-ellipsis`]:{opacity:0}}},[`
${Ie}-prev,
${Ie}-jump-prev,
${Ie}-jump-next
`]:{marginInlineEnd:Oe.marginXS},[`
${Ie}-prev,
${Ie}-next,
${Ie}-jump-prev,
${Ie}-jump-next
`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,color:Oe.colorText,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Oe.borderRadius,cursor:"pointer",transition:`all ${Oe.motionDurationMid}`},[`${Ie}-prev, ${Ie}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Oe.colorText,cursor:"pointer",userSelect:"none"},[`${Ie}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Oe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:"none",transition:`all ${Oe.motionDurationMid}`},[`&:hover ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${Ie}-disabled:hover`]:{[`${Ie}-item-link`]:{backgroundColor:"transparent"}}},[`${Ie}-slash`]:{marginInlineEnd:Oe.paginationSlashMarginInlineEnd,marginInlineStart:Oe.paginationSlashMarginInlineStart},[`${Ie}-options`]:{display:"inline-block",marginInlineStart:Oe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Oe.controlHeight,marginInlineStart:Oe.marginXS,lineHeight:`${Oe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,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)),ze(Oe)),Bn(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})),we=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:An,locale:nn,selectComponentClass:fn,responsive:ln,showSizeChanger:Cn}=Oe,Ze=we(Oe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:yt}=(0,wt.Z)(ln),{getPrefixCls:Zt,direction:Bt,pagination:Mt={}}=de.useContext(dt.E_),dn=Zt("pagination",Ie),[gn,wn]=nt(dn),Jn=Cn!=null?Cn:Mt.showSizeChanger,ha=de.useMemo(()=>{const Dn=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)),wa=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`}),Dn)),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`}),Dn));return{prevIcon:oa,nextIcon:wa,jumpPrevIcon:ut,jumpNextIcon:bn}},[Bt,dn]),[Ra]=(0,sn.Z)("Pagination",ot.Z),_a=Object.assign(Object.assign({},Ra),nn),gr=(0,gt.Z)(An),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,wn),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),Te=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,Te.Z)(Ye)),Ne.createElement("div",{className:`${Je}-inner-content`},(0,Te.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),Te=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(Te.E_),Ge=ye("popover",E),[De,He]=(0,qe.Z)(Ge),he=ye(),Qe=de()(y,He);return De(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),Te=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,Te.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),Te=ee(92310),le=ee.n(Te),it=ee(2738),qe=ee(36355),Ke=ee(14809),je=ee(20439),Je=ee(62646),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,wn=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(),Dn=Jn/2,oa=100-Jn/2,wa="M ".concat(wn==="round"?Dn:0,",").concat(Dn,`
L `).concat(wn==="round"?oa:100,",").concat(Dn),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:wa,strokeLinecap:wn,stroke:Ra,strokeWidth:_a||Jn,fillOpacity:"0"}),pa.map(function(Ln,Hn){var pn=1;switch(wn){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[Hn]||Br[Br.length-1];return bn+=Ln,b.createElement("path",{key:Hn,className:"".concat(dn,"-line-path"),d:wa,strokeLinecap:wn,stroke:Sa,strokeWidth:Jn,fillOpacity:"0",ref:function(Tt){qt[Hn]=Tt},style:ia})}))},x=a,y=ee(93664),z=ee(50298),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 De=b.forwardRef(function(Ze,yt){var Zt=Ze.prefixCls,Bt=Ze.color,Mt=Ze.gradientId,dn=Ze.radius,gn=Ze.style,wn=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:wn===0?0:1,style:gn,ref:yt});if(!gr)return Br;var qt="".concat(Mt,"-conic"),Dn=_a?"".concat(180+_a/2,"deg"):"0deg",oa=Ge(Bt,(360-_a)/360),wa=Ge(Bt,1),ut="conic-gradient(from ".concat(Dn,", ").concat(oa.join(", "),")"),bn="linear-gradient(to ".concat(_a?"bottom":"top",", ").concat(wa.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}))))}),He=De,he=100,Qe=function(yt,Zt,Bt,Mt,dn,gn,wn,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}[wn],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,wn=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,Dn=(0,Je.Z)(Zt,We),oa=he/2,wa=ve(Bt),ut="".concat(wa,"-gradient"),bn=oa-gn/2,Ln=Math.PI*2*bn,Hn=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,Tt=ft(qt),bt=ft(Br),Qn=bt.find(function(Aa){return Aa&&(0,y.Z)(Aa)==="object"}),Yn=Qn&&(0,y.Z)(Qn)==="object",Gn=Yn?"butt":gr,ir=Qe(Ln,pn,0,100,Hn,ha,Ra,_a,Gn,gn),Ba=ue(),Xn=function(){var Nn=0;return Tt.map(function(mr,Nr){var Vr=bt[Nr]||bt[bt.length-1],xr=Qe(Ln,pn,Nn,mr,Hn,ha,Ra,Vr,Gn,gn);return Nn+=mr,b.createElement(He,{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()},$a=function(){var Nn=Math.round(Sa*(Tt[0]/100)),mr=100/Sa,Nr=0;return new Array(Sa).fill(null).map(function(Vr,xr){var Ue=xr<=Nn-1?bt[0]:_a,Pn=Ue&&(0,y.Z)(Ue)==="object"?"url(#".concat(ut,")"):void 0,Jt=Qe(Ln,pn,Nr,mr,Hn,ha,Ra,Ue,"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"},Dn),!Sa&&b.createElement("circle",{className:"".concat(Mt,"-circle-trail"),r:bn,cx:oa,cy:oa,stroke:_a,strokeLinecap:Gn,strokeWidth:wn||gn,style:ir}),Sa?$a():Xn())},ot=Le,dt={Line:x,Circle:ot},gt=ee(6848),wt=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||wt.presetPrimaryColors.green,Zt||null]},Ve=(Ze,yt,Zt)=>{var Bt,Mt,dn,gn;let wn=-1,Jn=-1;if(yt==="step"){const ha=Zt.steps,Ra=Zt.strokeWidth;typeof Ze=="string"||typeof Ze=="undefined"?(wn=Ze==="small"?2:14,Jn=Ra!=null?Ra:8):typeof Ze=="number"?[wn,Jn]=[Ze,Ze]:[wn=14,Jn=8]=Ze,wn*=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"?[wn,Jn]=[Ze,Ze]:[wn=-1,Jn=8]=Ze}else(yt==="circle"||yt==="dashboard")&&(typeof Ze=="string"||typeof Ze=="undefined"?[wn,Jn]=Ze==="small"?[60,60]:[120,120]:typeof Ze=="number"?[wn,Jn]=[Ze,Ze]:(wn=(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[wn,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:wn,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(wn==="dashboard")return 75},[dn,wn]),qt=Mt||wn==="dashboard"&&"bottom"||void 0,Dn=Object.prototype.toString.call(Ze.strokeColor)==="[object Object]",oa=cn({success:ha,strokeColor:Ze.strokeColor}),wa=le()(`${yt}-inner`,{[`${yt}-circle-gradient`]:Dn}),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:wa,style:pa},_a<=20?b.createElement(gt.Z,{title:Jn},b.createElement("span",null,ut)):b.createElement(b.Fragment,null,ut,Jn))},Bn=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 ze=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=wt.presetPrimaryColors.blue,to:Bt=wt.presetPrimaryColors.blue,direction:Mt=yt==="rtl"?"to left":"to right"}=Ze,dn=Bn(Ze,["from","to","direction"]);if(Object.keys(dn).length!==0){const gn=ze(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:wn="round",children:Jn,trailColor:ha=null,success:Ra}=Ze,_a=gn&&typeof gn!="string"?ct(gn,Zt):{backgroundColor:gn},gr=wn==="square"||wn==="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}),Dn=Object.assign({width:`${sn(Bt)}%`,height:qt,borderRadius:gr},_a),oa=Ft(Ze),wa={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:Dn}),oa!==void 0?b.createElement("div",{className:`${yt}-success-bg`,style:wa}):null)),Jn)},st=Ze=>{const{size:yt,steps:Zt,percent:Bt=0,strokeWidth:Mt=8,strokeColor:dn,trailColor:gn=null,prefixCls:wn,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 Dn=Array.isArray(dn)?dn[qt]:dn;Br[qt]=b.createElement("div",{key:qt,className:le()(`${wn}-steps-item`,{[`${wn}-steps-item-active`]:qt<=ha-1}),style:{backgroundColor:qt<=ha-1?Dn:gn,width:pa,height:ar}})}return b.createElement("div",{className:`${wn}-steps-outer`},Br,Jn)},nt=ee(93083),we=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,we.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 An=null,nn=["normal","exception","active","success"];var ln=b.forwardRef((Ze,yt)=>{const{prefixCls:Zt,className:Bt,rootClassName:Mt,steps:dn,strokeColor:gn,percent:wn=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 Tt,bt;const Qn=Ft(Ze);return parseInt(Qn!==void 0?(Tt=Qn!=null?Qn:0)===null||Tt===void 0?void 0:Tt.toString():(bt=wn!=null?wn:0)===null||bt===void 0?void 0:bt.toString(),10)},[wn,Ze.success,Ze.successPercent]),qt=b.useMemo(()=>!nn.includes(_a)&&Br>=100?"success":_a||"normal",[_a,Br]),{getPrefixCls:Dn,direction:oa,progress:wa}=b.useContext(qe.E_),ut=Dn("progress",Zt),[bn,Ln]=Me(ut),Hn=b.useMemo(()=>{if(!ha)return null;const Tt=Ft(Ze);let bt;const Qn=gr||(Gn=>`${Gn}%`),Yn=Ra==="line";return gr||qt!=="exception"&&qt!=="success"?bt=Qn(sn(wn),sn(Tt)):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,wn,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}),Hn):b.createElement(mt,Object.assign({},Ze,{strokeColor:pn,prefixCls:ut,direction:oa}),Hn):(Ra==="circle"||Ra==="dashboard")&&(Sa=b.createElement(Gt,Object.assign({},Ze,{strokeColor:pn,prefixCls:ut,progressStatus:qt}),Hn));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"},wa==null?void 0:wa.className,Bt,Mt,Ln);return bn(b.createElement("div",Object.assign({ref:yt,style:Object.assign(Object.assign({},wa==null?void 0:wa.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(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Ne=Be,_e=ee(7657),Te=function(on,cn){return de.createElement(_e.Z,(0,b.Z)({},on,{ref:cn,icon:Ne}))},le=de.forwardRef(Te),it=le,qe=ee(92310),Ke=ee.n(qe),je=ee(4635),Je=ee(50298),Ye=ee(62646),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,Bn=Ft.value,ze=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)},we=Kn+1,fe=new Set([Ve]);Bn===0&&Kn===0&&ct?fe.add("".concat(Ve,"-focused")):ze&&Bn+.5>=we&&Bn<we?(fe.add("".concat(Ve,"-half")),fe.add("".concat(Ve,"-active")),ct&&fe.add("".concat(Ve,"-focused"))):(we<=Bn?fe.add("".concat(Ve,"-full")):fe.add("".concat(Ve,"-zero")),we===Bn&&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":Bn>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,Bn=Ft.count,ze=Bn===void 0?5:Bn,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,we=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,An=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),wn=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 $a=yt(Gn),Aa=se($a),Nn=$a.clientWidth;(Ba&&ir-Aa>Nn/2||!Ba&&ir-Aa<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),Dn=qt[0],oa=qt[1],wa=function(){oa(!0),St==null||St()},ut=function(){oa(!1),An==null||An()},bn=de.useState(null),Ln=(0,Je.Z)(bn,2),Hn=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===wn),Sa(),pa(Xn?0:Ba),gr(Xn?Ba:null)},Tt=function(Gn){var ir=Gn.keyCode,Ba=Rt==="rtl",Xn=wn;ir===E.Z.RIGHT&&Xn<ze&&!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<ze&&Ba&&(Lt?Xn+=.5:Xn+=1,pa(Xn),Gn.preventDefault()),nn==null||nn(Gn)};de.useEffect(function(){vt&&!fe&&Mt()},[]);var bt=new Array(ze).fill(0).map(function(Yn,Gn){return de.createElement(y,{ref:Zt(Gn),index:Gn,count:ze,disabled:fe,prefixCls:"".concat(at,"-star"),allowHalf:Lt,value:Hn===null?wn:Hn,onClick:It,onHover:ia,key:Yn||Gn,character:nt,characterRender:we,focused:Dn})}),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:wa,onBlur:fe?null:ut,onKeyDown:fe?null:Tt,ref:Bt,role:"radiogroup"},(0,a.Z)(ln,{aria:!0,data:!0,attr:!0})),bt)}var ye=de.forwardRef(ve),Ge=ye,De=ee(36355),He=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,Bn=gt(Ft,["prefixCls","className","rootClassName","style","tooltips","character"]),ze=(fe,Xe)=>{let{index:Rt}=Xe;return Kn?de.createElement(He.Z,{title:Kn[Rt]},fe):fe},{getPrefixCls:ct,direction:Lt,rate:mt}=de.useContext(De.E_),Nt=ct("rate",cn),[st,nt]=dt(Nt),we=Object.assign(Object.assign({},mt==null?void 0:mt.style),rn);return st(de.createElement(Ge,Object.assign({ref:on,character:Gt,characterRender:ze},Bn,{className:Ke()(Ve,at,nt,mt==null?void 0:mt.className),style:we,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=we=>{const{prefixCls:fe,className:Xe,style:Rt,size:Oe,shape:Ie}=we,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=we=>({height:we,lineHeight:`${we}px`}),Ye=we=>Object.assign({width:we},Je(we)),ue=we=>({background:we.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:je,animationDuration:we.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),E=we=>Object.assign({width:we*5,minWidth:we*5},Je(we)),a=we=>{const{skeletonAvatarCls:fe,gradientFromColor:Xe,controlHeight:Rt,controlHeightLG:Oe,controlHeightSM:Ie}=we;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=we=>{const{controlHeight:fe,borderRadiusSM:Xe,skeletonInputCls:Rt,controlHeightLG:Oe,controlHeightSM:Ie,gradientFromColor:vt}=we;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=we=>Object.assign({width:we},Je(we)),z=we=>{const{skeletonImageCls:fe,imageSizeBase:Xe,gradientFromColor:Rt,borderRadiusSM:Oe}=we;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=(we,fe,Xe)=>{const{skeletonButtonCls:Rt}=we;return{[`${Xe}${Rt}-circle`]:{width:fe,minWidth:fe,borderRadius:"50%"},[`${Xe}${Rt}-round`]:{borderRadius:fe}}},re=we=>Object.assign({width:we*2,minWidth:we*2},Je(we)),se=we=>{const{borderRadiusSM:fe,skeletonButtonCls:Xe,controlHeight:Rt,controlHeightLG:Oe,controlHeightSM:Ie,gradientFromColor:vt}=we;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(we,Rt,Xe)),{[`${Xe}-lg`]:Object.assign({},re(Oe))}),te(we,Oe,`${Xe}-lg`)),{[`${Xe}-sm`]:Object.assign({},re(Ie))}),te(we,Ie,`${Xe}-sm`))},ie=we=>{const{componentCls:fe,skeletonAvatarCls:Xe,skeletonTitleCls:Rt,skeletonParagraphCls:Oe,skeletonButtonCls:Ie,skeletonInputCls:vt,skeletonImageCls:et,controlHeight:Me,controlHeightLG:St,controlHeightSM:An,gradientFromColor:nn,padding:fn,marginSM:ln,borderRadius:Cn,titleHeight:Ze,blockRadius:yt,paragraphLiHeight:Zt,controlHeightXS:Bt,paragraphMarginTop:Mt}=we;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(An))},[`${fe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Rt}`]:{width:"100%",height:Ze,background:nn,borderRadius:yt,[`+ ${Oe}`]:{marginBlockStart:An}},[`${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(we)),a(we)),x(we)),z(we)),[`${fe}${fe}-block`]:{width:"100%",[`${Ie}`]:{width:"100%"},[`${vt}`]:{width:"100%"}},[`${fe}${fe}-active`]:{[`
${Rt},
${Oe} > li,
${Xe},
${Ie},
${vt},
${et}
`]:Object.assign({},ue(we))}}};var ve=(0,qe.Z)("Skeleton",we=>{const{componentCls:fe}=we,Xe=(0,Ke.TS)(we,{skeletonAvatarCls:`${fe}-avatar`,skeletonTitleCls:`${fe}-title`,skeletonParagraphCls:`${fe}-paragraph`,skeletonButtonCls:`${fe}-button`,skeletonInputCls:`${fe}-input`,skeletonImageCls:`${fe}-image`,imageSizeBase:we.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${we.gradientFromColor} 25%, ${we.gradientToColor} 37%, ${we.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ie(Xe)]},we=>{const{colorFillContent:fe,colorFill:Xe}=we,Rt=fe,Oe=Xe;return{color:Rt,colorGradientEnd:Oe,gradientFromColor:Rt,gradientToColor:Oe,titleHeight:we.controlHeight/2,blockRadius:we.borderRadiusSM,paragraphMarginTop:we.marginLG+we.marginXXS,paragraphLiHeight:we.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ge=we=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,active:Oe,shape:Ie="circle",size:vt="default"}=we,{getPrefixCls:et}=Be.useContext(Ne.E_),Me=et("skeleton",fe),[St,An]=ve(Me),nn=(0,_e.Z)(we,["prefixCls","className"]),fn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe},Xe,Rt,An);return St(Be.createElement("div",{className:fn},Be.createElement(le,Object.assign({prefixCls:`${Me}-avatar`,shape:Ie,size:vt},nn))))},He=we=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,active:Oe,block:Ie=!1,size:vt="default"}=we,{getPrefixCls:et}=Be.useContext(Ne.E_),Me=et("skeleton",fe),[St,An]=ve(Me),nn=(0,_e.Z)(we,["prefixCls"]),fn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe,[`${Me}-block`]:Ie},Xe,Rt,An);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=we=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,style:Oe,active:Ie}=we,{getPrefixCls:vt}=Be.useContext(Ne.E_),et=vt("skeleton",fe),[Me,St]=ve(et),An=de()(et,`${et}-element`,{[`${et}-active`]:Ie},Xe,Rt,St);return Me(Be.createElement("div",{className:An},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=we=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,active:Oe,block:Ie,size:vt="default"}=we,{getPrefixCls:et}=Be.useContext(Ne.E_),Me=et("skeleton",fe),[St,An]=ve(Me),nn=(0,_e.Z)(we,["prefixCls"]),fn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe,[`${Me}-block`]:Ie},Xe,Rt,An);return St(Be.createElement("div",{className:fn},Be.createElement(le,Object.assign({prefixCls:`${Me}-input`,size:vt},nn))))},ot=ee(14809),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,wt=ee(7657),sn=function(fe,Xe){return Be.createElement(wt.Z,(0,ot.Z)({},fe,{ref:Xe,icon:gt}))},Ft=Be.forwardRef(sn),on=Ft,Ve=we=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,style:Oe,active:Ie,children:vt}=we,{getPrefixCls:et}=Be.useContext(Ne.E_),Me=et("skeleton",fe),[St,An]=ve(Me),nn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Ie},An,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(95190),Kn=we=>{const fe=et=>{const{width:Me,rows:St=2}=we;if(Array.isArray(Me))return Me[et];if(St-1===et)return Me},{prefixCls:Xe,className:Rt,style:Oe,rows:Ie}=we,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)},Bn=we=>{let{prefixCls:fe,className:Xe,width:Rt,style:Oe}=we;return Be.createElement("h3",{className:de()(fe,Xe),style:Object.assign({width:Rt},Oe)})};function ze(we){return we&&typeof we=="object"?we:{}}function ct(we,fe){return we&&!fe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Lt(we,fe){return!we&&fe?{width:"38%"}:we&&fe?{width:"50%"}:{}}function mt(we,fe){const Xe={};return(!we||!fe)&&(Xe.width="61%"),!we&&fe?Xe.rows=3:Xe.rows=2,Xe}const Nt=we=>{const{prefixCls:fe,loading:Xe,className:Rt,rootClassName:Oe,style:Ie,children:vt,avatar:et=!1,title:Me=!0,paragraph:St=!0,active:An,round:nn}=we,{getPrefixCls:fn,direction:ln,skeleton:Cn}=Be.useContext(Ne.E_),Ze=fn("skeleton",fe),[yt,Zt]=ve(Ze);if(Xe||!("loading"in we)){const Bt=!!et,Mt=!!Me,dn=!!St;let gn;if(Bt){const ha=Object.assign(Object.assign({prefixCls:`${Ze}-avatar`},ct(Mt,dn)),ze(et));gn=Be.createElement("div",{className:`${Ze}-header`},Be.createElement(le,Object.assign({},ha)))}let wn;if(Mt||dn){let ha;if(Mt){const _a=Object.assign(Object.assign({prefixCls:`${Ze}-title`},Lt(Bt,dn)),ze(Me));ha=Be.createElement(Bn,Object.assign({},_a))}let Ra;if(dn){const _a=Object.assign(Object.assign({prefixCls:`${Ze}-paragraph`},mt(Bt,Mt)),ze(St));Ra=Be.createElement(Kn,Object.assign({},_a))}wn=Be.createElement("div",{className:`${Ze}-content`},ha,Ra)}const Jn=de()(Ze,{[`${Ze}-with-avatar`]:Bt,[`${Ze}-active`]:An,[`${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,wn))}return typeof vt!="undefined"?vt:null};Nt.Button=He,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),Te=ee(36355),le=ee(61621),qe=ye=>{const{value:Ge,formatter:De,precision:He,decimalSeparator:he,groupSeparator:Qe="",prefixCls:We}=ye;let ft;if(typeof De=="function")ft=De(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",wt=ot[4]||"";gt=gt.replace(/\B(?=(\d{3})+(?!\d))/g,Qe),typeof He=="number"&&(wt=wt.padEnd(He,"0").slice(0,He>0?He:0)),wt&&(wt=`${he}${wt}`),ft=[b.createElement("span",{key:"int",className:`${We}-content-value-int`},dt,gt),wt&&b.createElement("span",{key:"decimal",className:`${We}-content-value-decimal`},wt)]}}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:De,padding:He,colorTextDescription:he,titleFontSize:Qe,colorTextHeading:We,contentFontSize:ft,fontFamily:Le}=ye;return{[`${Ge}`]:Object.assign(Object.assign({},(0,Ke.Wf)(ye)),{[`${Ge}-title`]:{marginBottom:De,color:he,fontSize:Qe},[`${Ge}-skeleton`]:{paddingTop:He},[`${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:De},[`${Ge}-content-suffix`]:{marginInlineStart:De}}})}};var ue=(0,je.Z)("Statistic",ye=>{const Ge=(0,Je.TS)(ye,{});return[Ye(Ge)]},ye=>{const{fontSizeHeading3:Ge,fontSize:De}=ye;return{titleFontSize:De,contentFontSize:Ge}}),a=ye=>{const{prefixCls:Ge,className:De,rootClassName:He,style:he,valueStyle:Qe,value:We=0,title:ft,valueRender:Le,prefix:ot,suffix:dt,loading:gt=!1,onMouseEnter:wt,onMouseLeave:sn,decimalSeparator:Ft=".",groupSeparator:on=","}=ye,{getPrefixCls:cn,direction:Ve,statistic:at}=b.useContext(Te.E_),rn=cn("statistic",Ge),[Kn,Gt]=ue(rn),Bn=b.createElement(qe,Object.assign({decimalSeparator:Ft,groupSeparator:on,prefixCls:rn},ye,{value:We})),ze=_e()(rn,{[`${rn}-rtl`]:Ve==="rtl"},at==null?void 0:at.className,De,He,Gt);return Kn(b.createElement("div",{className:ze,style:Object.assign(Object.assign({},at==null?void 0:at.style),he),onMouseEnter:wt,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(Bn):Bn,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 De=ye;const He=/\[[^\]]*]/g,he=(Ge.match(He)||[]).map(Le=>Le.slice(1,-1)),Qe=Ge.replace(He,"[]"),We=x.reduce((Le,ot)=>{let[dt,gt]=ot;if(Le.includes(dt)){const wt=Math.floor(De/gt);return De-=wt*gt,Le.replace(new RegExp(`${dt}+`,"g"),sn=>{const Ft=sn.length;return wt.toString().padStart(Ft,"0")})}return Le},Qe);let ft=0;return We.replace(He,()=>{const Le=he[ft];return ft+=1,Le})}function z(ye,Ge){const{format:De=""}=Ge,He=new Date(ye).getTime(),he=Date.now(),Qe=Math.max(He-he,0);return y(Qe,De)}const te=1e3/30;function re(ye){return new Date(ye).getTime()}const se=ye=>{const{value:Ge,format:De="HH:mm:ss",onChange:He,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(),He==null||He(gt-Date.now()),gt<Date.now()&&ft()},te))};b.useEffect(()=>(Le(),()=>{We.current&&(clearInterval(We.current),We.current=null)}),[Ge]);const ot=(gt,wt)=>z(gt,Object.assign(Object.assign({},wt),{format:De})),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(50298),Ne=ee(6089),_e=ee(34280),Te=ee(13697),le=ee(59301),it=ee(4676);function qe(Ee){var Ce=le.createContext(void 0),$e=function(ht){var pt=ht.value,Ut=ht.children,Qt=le.useRef(pt);Qt.current=pt;var $t=le.useState(function(){return{getValue:function(){return Qt.current},listeners:new Set}}),xn=(0,Be.Z)($t,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},Ut)};return{Context:Ce,Provider:$e,defaultValue:Ee}}function Ke(Ee,Ce){var $e=(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,Ut=ht.getValue,Qt=le.useRef();Qt.current=$e(rt?Ut():Ee==null?void 0:Ee.defaultValue);var $t=le.useState({}),xn=(0,Be.Z)($t,2),Sn=xn[1];return(0,_e.Z)(function(){if(!rt)return;function En(ea){var ra=$e(ea);(0,Te.Z)(Qt.current,ra,!0)||Sn({})}return pt.add(En),function(){pt.delete(En)}},[rt]),Qt.current}var je=ee(14809),Je=ee(8654);function Ye(){var Ee=le.createContext(null);function Ce(){return le.useContext(Ee)}function $e(ht,pt){var Ut=(0,Je.Yr)(ht),Qt=function(xn,Sn){var En=Ut?{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 Ut?le.forwardRef(Qt):Qt}function rt(ht,pt){var Ut=(0,Je.Yr)(ht),Qt=function(xn,Sn){var En=Ut?{ref:Sn}:{};return Ce(),le.createElement(ht,(0,je.Z)({},xn,En))};return Ut?le.memo(le.forwardRef(Qt),pt):le.memo(Qt,pt)}return{makeImmutable:$e,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 $e=le.useRef(0);$e.current+=1;var rt=le.useRef(Ee),ht=[];Object.keys(Ee||{}).map(function(Ut){var Qt;(Ee==null?void 0:Ee[Ut])!==((Qt=rt.current)===null||Qt===void 0?void 0:Qt[Ut])&&ht.push(Ut)}),rt.current=Ee;var pt=le.useRef([]);return ht.length&&(pt.current=ht),le.useDebugValue($e.current),le.useDebugValue(pt.current.join(", ")),Ce&&console.log("".concat(Ce,":"),$e.current,pt.current),$e.current}var ye=null,Ge=le.memo(function(){var Ee=ve();return le.createElement("h1",null,"Render Times: ",Ee)});Ge.displayName="RenderBlock";var De=ee(93664),He=ee(20439),he=ee(4635),Qe=ee(92310),We=ee.n(Qe),ft=ee(80547),Le=ee(97938),ot=ee(48736),dt=le.createContext({renderWithProps:!1}),gt=dt,wt="RC_TABLE_KEY";function sn(Ee){return Ee==null?[]:Array.isArray(Ee)?Ee:[Ee]}function Ft(Ee){var Ce=[],$e={};return Ee.forEach(function(rt){for(var ht=rt||{},pt=ht.key,Ut=ht.dataIndex,Qt=pt||sn(Ut).join("-")||wt;$e[Qt];)Qt="".concat(Qt,"_next");$e[Qt]=!0,Ce.push(Qt)}),Ce}function on(Ee){return Ee!=null}function cn(Ee){return Ee&&(0,De.Z)(Ee)==="object"&&!Array.isArray(Ee)&&!le.isValidElement(Ee)}function Ve(Ee,Ce,$e,rt,ht,pt){var Ut=le.useContext(gt),Qt=re(),$t=(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,$e);cn(ra)?(En=ra.children,ea=ra.props,Ut.renderWithProps=!0):En=ra}return[En,ea]},[Qt,Ee,rt,Ce,ht,$e],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 Ut.renderWithProps?!0:!(0,Te.Z)(xn,Sn,!0)});return $t}function at(Ee,Ce,$e,rt){var ht=Ee+Ce-1;return Ee<=rt&&ht>=$e}function rn(Ee,Ce){return Ke(ie,function($e){var rt=at(Ee,Ce||1,$e.hoverStartRow,$e.hoverEndRow);return[rt,$e.onHover]})}var Kn=function(Ce){var $e=Ce.ellipsis,rt=Ce.rowType,ht=Ce.children,pt,Ut=$e===!0?{showTitle:!0}:$e;return Ut&&(Ut.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,$e,rt,ht,pt,Ut,Qt,$t,xn=Ee.component,Sn=Ee.children,En=Ee.ellipsis,ea=Ee.scope,ra=Ee.prefixCls,ma=Ee.className,La=Ee.align,Ht=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,Ua=Ee.lastFixLeft,cr=Ee.firstFixRight,Ur=Ee.lastFixRight,yo=Ee.appendNode,lo=Ee.additionalProps,Tr=lo===void 0?{}:lo,vo=Ee.isSticky,Ao="".concat(ra,"-cell"),ka=Ke(ie,["supportSticky","allColumnsFixedLeft"]),wo=ka.supportSticky,yi=ka.allColumnsFixedLeft,Do=Ve(Ht,ja,dr,Sn,nr,Zr),qr=(0,Be.Z)(Do,2),bi=qr[0],Yr=qr[1],gi={},Zo=typeof ur=="number"&&wo,_i=typeof sr=="number"&&wo;Zo&&(gi.position="sticky",gi.left=ur),_i&&(gi.position="sticky",gi.right=sr);var no=(Ce=($e=(rt=Yr==null?void 0:Yr.colSpan)!==null&&rt!==void 0?rt:Tr.colSpan)!==null&&$e!==void 0?$e:Kr)!==null&&Ce!==void 0?Ce:1,Hr=(ht=(pt=(Ut=Yr==null?void 0:Yr.rowSpan)!==null&&Ut!==void 0?Ut:Tr.rowSpan)!==null&&pt!==void 0?pt:jr)!==null&&ht!==void 0?ht:1,Jr=rn(Qr,Hr),zr=(0,Be.Z)(Jr,2),ce=zr[0],pe=zr[1],Pe=function(Fn){var Pt;Ht&&pe(Qr,Qr+Hr-1),Tr==null||(Pt=Tr.onMouseEnter)===null||Pt===void 0||Pt.call(Tr,Fn)},Ot=function(Fn){var Pt;Ht&&pe(-1,-1),Tr==null||(Pt=Tr.onMouseLeave)===null||Pt===void 0||Pt.call(Tr,Fn)};if(no===0||Hr===0)return null;var en=(Qt=Tr.title)!==null&&Qt!==void 0?Qt:Kn({rowType:Or,ellipsis:En,children:bi}),Oa=We()(Ao,ma,($t={},(0,he.Z)($t,"".concat(Ao,"-fix-left"),Zo&&wo),(0,he.Z)($t,"".concat(Ao,"-fix-left-first"),yr&&wo),(0,he.Z)($t,"".concat(Ao,"-fix-left-last"),Ua&&wo),(0,he.Z)($t,"".concat(Ao,"-fix-left-all"),Ua&&yi&&wo),(0,he.Z)($t,"".concat(Ao,"-fix-right"),_i&&wo),(0,he.Z)($t,"".concat(Ao,"-fix-right-first"),cr&&wo),(0,he.Z)($t,"".concat(Ao,"-fix-right-last"),Ur&&wo),(0,he.Z)($t,"".concat(Ao,"-ellipsis"),En),(0,he.Z)($t,"".concat(Ao,"-with-append"),yo),(0,he.Z)($t,"".concat(Ao,"-fix-sticky"),(Zo||_i)&&vo&&wo),(0,he.Z)($t,"".concat(Ao,"-row-hover"),!Yr&&ce),$t),Tr.className,Yr==null?void 0:Yr.className),va={};La&&(va.textAlign=La);var _n=(0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)({},gi),Tr.style),va),Yr==null?void 0:Yr.style),zt=bi;return(0,De.Z)(zt)==="object"&&!Array.isArray(zt)&&!le.isValidElement(zt)&&(zt=null),En&&(Ua||cr)&&(zt=le.createElement("span",{className:"".concat(Ao,"-content")},zt)),le.createElement(xn,(0,je.Z)({},Yr,Tr,{className:Oa,style:_n,title:en,scope:ea,onMouseEnter:Pe,onMouseLeave:Ot,colSpan:no!==1?no:null,rowSpan:Hr!==1?Hr:null}),yo,zt)}var Bn=le.memo(Gt);function ze(Ee,Ce,$e,rt,ht,pt){var Ut=$e[Ee]||{},Qt=$e[Ce]||{},$t,xn;Ut.fixed==="left"?$t=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=$e[Ce+1],La=$e[Ee-1],Ht=!(pt!=null&&pt.children);if(ht==="rtl"){if($t!==void 0){var nr=La&&La.fixed==="left";ra=!nr&&Ht}else if(xn!==void 0){var ja=ma&&ma.fixed==="right";ea=!ja&&Ht}}else if($t!==void 0){var dr=ma&&ma.fixed==="left";Sn=!dr&&Ht}else if(xn!==void 0){var Zr=La&&La.fixed==="right";En=!Zr&&Ht}return{fixLeft:$t,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,$e=Ee.index,rt=Ee.children,ht=Ee.colSpan,pt=ht===void 0?1:ht,Ut=Ee.rowSpan,Qt=Ee.align,$t=Ke(ie,["prefixCls","direction"]),xn=$t.prefixCls,Sn=$t.direction,En=le.useContext(Lt),ea=En.scrollColumnIndex,ra=En.stickyOffsets,ma=En.flattenColumns,La=En.columns,Ht=$e+pt-1,nr=Ht+1===ea?pt+1:pt,ja=ze($e,$e+nr-1,ma,ra,Sn,La==null?void 0:La[$e]);return le.createElement(Bn,(0,je.Z)({className:Ce,index:$e,component:"td",prefixCls:xn,record:null,dataIndex:null,align:Qt,colSpan:nr,rowSpan:Ut,render:function(){return rt}},ja))}var Nt=ee(62646),st=["children"];function nt(Ee){var Ce=Ee.children,$e=(0,Nt.Z)(Ee,st);return le.createElement("tr",$e,Ce)}function we(Ee){var Ce=Ee.children;return Ce}we.Row=nt,we.Cell=mt;var fe=we;function Xe(Ee){var Ce=Ee.children,$e=Ee.stickyOffsets,rt=Ee.flattenColumns,ht=Ee.columns,pt=Ke(ie,"prefixCls"),Ut=rt.length-1,Qt=rt[Ut],$t=le.useMemo(function(){return{stickyOffsets:$e,flattenColumns:rt,scrollColumnIndex:Qt!=null&&Qt.scrollbar?Ut:null,columns:ht}},[Qt,rt,Ut,$e,ht]);return le.createElement(Lt.Provider,{value:$t},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),An=ee(26112);function nn(Ee,Ce,$e,rt,ht,pt,Ut){Ee.push({record:Ce,indent:$e,index:Ut});var Qt=pt(Ce),$t=ht==null?void 0:ht.has(Qt);if(Ce&&Array.isArray(Ce[rt])&&$t)for(var xn=0;xn<Ce[rt].length;xn+=1)nn(Ee,Ce[rt][xn],$e+1,rt,ht,pt,xn)}function fn(Ee,Ce,$e,rt){var ht=le.useMemo(function(){if($e!=null&&$e.size){for(var pt=[],Ut=0;Ut<(Ee==null?void 0:Ee.length);Ut+=1){var Qt=Ee[Ut];nn(pt,Qt,0,Ce,$e,rt,Ut)}return pt}return Ee==null?void 0:Ee.map(function($t,xn){return{record:$t,indent:0,index:xn}})},[Ee,Ce,$e,rt]);return ht}function ln(Ee){var Ce=Ee.prefixCls,$e=Ee.children,rt=Ee.component,ht=Ee.cellComponent,pt=Ee.className,Ut=Ee.expanded,Qt=Ee.colSpan,$t=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=$e;return($t?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:Ut?null:"none"}},le.createElement(Bn,{component:ht,prefixCls:Ce,colSpan:Qt},La))}var Cn=ln;function Ze(Ee,Ce,$e,rt){var ht=Ke(ie,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),pt=ht.flattenColumns,Ut=ht.expandableType,Qt=ht.expandedKeys,$t=ht.childrenColumnName,xn=ht.onTriggerExpand,Sn=ht.rowExpandable,En=ht.onRow,ea=ht.expandRowByClick,ra=ht.rowClassName,ma=Ut==="nest",La=Ut==="row"&&(!Sn||Sn(Ee)),Ht=La||ma,nr=Qt&&Qt.has(Ce),ja=$t&&Ee&&Ee[$t],dr=(0,Ie.useEvent)(xn),Zr=En==null?void 0:En(Ee,$e),Qr=Zr==null?void 0:Zr.onClick,Or=function(sr){ea&&Ht&&xn(Ee,sr);for(var yr=arguments.length,Ua=new Array(yr>1?yr-1:0),cr=1;cr<yr;cr++)Ua[cr-1]=arguments[cr];Qr==null||Qr.apply(void 0,[sr].concat(Ua))},Kr;typeof ra=="string"?Kr=ra:typeof ra=="function"&&(Kr=ra(Ee,$e,rt));var jr=Ft(pt);return(0,He.Z)((0,He.Z)({},ht),{},{columnsKey:jr,nestExpandable:ma,expanded:nr,hasNestChildren:ja,record:Ee,onTriggerExpand:dr,rowSupportExpand:La,expandable:Ht,rowProps:(0,He.Z)((0,He.Z)({},Zr),{},{className:We()(Kr,Zr==null?void 0:Zr.className),onClick:Or})})}function yt(Ee,Ce,$e,rt,ht){var pt=Ee.record,Ut=Ee.prefixCls,Qt=Ee.columnsKey,$t=Ee.fixedInfoList,xn=Ee.expandIconColumnIndex,Sn=Ee.nestExpandable,En=Ee.indentSize,ea=Ee.expandIcon,ra=Ee.expanded,ma=Ee.hasNestChildren,La=Ee.onTriggerExpand,Ht=Qt[$e],nr=$t[$e],ja;$e===(xn||0)&&Sn&&(ja=le.createElement(le.Fragment,null,le.createElement("span",{style:{paddingLeft:"".concat(En*rt,"px")},className:"".concat(Ut,"-row-indent indent-level-").concat(rt)}),ea({prefixCls:Ut,expanded:ra,expandable:ma,record:pt,onExpand:La})));var dr;return Ce.onCell&&(dr=Ce.onCell(pt,ht)),{key:Ht,fixedInfo:nr,appendCellNode:ja,additionalCellProps:dr||{}}}function Zt(Ee){var Ce=Ee.className,$e=Ee.style,rt=Ee.record,ht=Ee.index,pt=Ee.renderIndex,Ut=Ee.rowKey,Qt=Ee.indent,$t=Qt===void 0?0:Qt,xn=Ee.rowComponent,Sn=Ee.cellComponent,En=Ee.scopeCellComponent,ea=Ze(rt,Ut,ht,$t),ra=ea.prefixCls,ma=ea.flattenColumns,La=ea.expandedRowClassName,Ht=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":Ut,className:We()(Ce,"".concat(ra,"-row"),"".concat(ra,"-row-level-").concat($t),nr==null?void 0:nr.className),style:(0,He.Z)((0,He.Z)({},$e),nr==null?void 0:nr.style)}),ma.map(function(Ua,cr){var Ur=Ua.render,yo=Ua.dataIndex,lo=Ua.className,Tr=yt(ea,Ua,cr,$t,ht),vo=Tr.key,Ao=Tr.fixedInfo,ka=Tr.appendCellNode,wo=Tr.additionalCellProps;return le.createElement(Bn,(0,je.Z)({className:lo,ellipsis:Ua.ellipsis,align:Ua.align,scope:Ua.rowScope,component:Ua.rowScope?En:Sn,prefixCls:ra,key:vo,record:rt,index:ht,renderIndex:pt,dataIndex:yo,render:Ur,shouldCellUpdate:Ua.shouldCellUpdate},Ao,{appendNode:ka,additionalProps:wo}))})),ur;if(dr&&(Or||ja)){var sr=Ht(rt,ht,$t+1,ja),yr=La&&La(rt,ht,$t);ur=le.createElement(Cn,{expanded:ja,className:We()("".concat(ra,"-expanded-row"),"".concat(ra,"-expanded-row-level-").concat($t+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,$e=Ee.onColumnResize,rt=le.useRef();return le.useEffect(function(){rt.current&&$e(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,$e=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(Ut){var Qt=Ut.data,$t=Ut.size;rt(Qt,$t.offsetWidth)})}},$e.map(function(ht){return le.createElement(Mt,{key:ht,columnKey:ht,onColumnResize:rt})})))}function gn(Ee){var Ce=Ee.data,$e=Ee.measureColumnWidth,rt=Ke(ie,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ht=rt.prefixCls,pt=rt.getComponent,Ut=rt.onColumnResize,Qt=rt.flattenColumns,$t=rt.getRowKey,xn=rt.expandedKeys,Sn=rt.childrenColumnName,En=rt.emptyNode,ea=fn(Ce,Sn,xn,$t),ra=le.useRef({renderWithProps:!1}),ma=pt(["body","wrapper"],"tbody"),La=pt(["body","row"],"tr"),Ht=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=$t(Or,Qr);return le.createElement(Bt,{key:ur,rowKey:ur,record:Or,index:Qr,renderIndex:jr,rowComponent:La,cellComponent:Ht,scopeCellComponent:nr,getRowKey:$t,indent:Kr})}):ja=le.createElement(Cn,{expanded:!0,className:"".concat(ht,"-placeholder"),prefixCls:ht,component:La,cellComponent:Ht,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")},$e&&le.createElement(dn,{prefixCls:ht,columnsKey:dr,onColumnResize:Ut}),ja))}gn.displayName="Body";var wn=te(gn),Jn=["expandable"],ha="RC_TABLE_INTERNAL_COL_DEFINE";function Ra(Ee){var Ce=Ee.expandable,$e=(0,Nt.Z)(Ee,Jn),rt;return"expandable"in Ee?rt=(0,He.Z)((0,He.Z)({},$e),Ce):rt=$e,rt.showExpandColumn===!1&&(rt.expandIconColumnIndex=-1),rt}var _a=["columnType"];function gr(Ee){for(var Ce=Ee.colWidths,$e=Ee.columns,rt=Ee.columCount,ht=[],pt=rt||$e.length,Ut=!1,Qt=pt-1;Qt>=0;Qt-=1){var $t=Ce[Qt],xn=$e&&$e[Qt],Sn=xn&&xn[ha];if($t||Sn||Ut){var En=Sn||{},ea=En.columnType,ra=(0,Nt.Z)(En,_a);ht.unshift(le.createElement("col",(0,je.Z)({key:Qt,style:{width:$t}},ra))),Ut=!0}}return le.createElement("colgroup",null,ht)}var ar=gr,pa=ee(95190),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 $e=[],rt=0;rt<Ce;rt+=1){var ht=Ee[rt];if(ht!==void 0)$e[rt]=ht;else return null}return $e},[Ee.join("_"),Ce])}var Dn=le.forwardRef(function(Ee,Ce){var $e=Ee.className,rt=Ee.noData,ht=Ee.columns,pt=Ee.flattenColumns,Ut=Ee.colWidths,Qt=Ee.columCount,$t=Ee.stickyOffsets,xn=Ee.direction,Sn=Ee.fixHeader,En=Ee.stickyTopOffset,ea=Ee.stickyBottomOffset,ra=Ee.stickyClassName,ma=Ee.onScroll,La=Ee.maxContentScroll,Ht=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 Tr(vo){var Ao=vo,ka=Ao.currentTarget,wo=Ao.deltaX;wo&&(ma({currentTarget:ka,scrollLeft:ka.scrollLeft+wo}),vo.preventDefault())}return(lo=Kr.current)===null||lo===void 0||lo.addEventListener("wheel",Tr),function(){var vo;(vo=Kr.current)===null||vo===void 0||vo.removeEventListener("wheel",Tr)}},[]);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")}}},Ua=(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]),Ur=(0,le.useMemo)(function(){var lo=$t.right,Tr=$t.left;return(0,He.Z)((0,He.Z)({},$t),{},{left:xn==="rtl"?[].concat((0,pa.Z)(Tr.map(function(vo){return vo+Or})),[0]):Tr,right:xn==="rtl"?lo:[].concat((0,pa.Z)(lo.map(function(vo){return vo+Or})),[0]),isSticky:Qr})},[Or,$t,Qr]),yo=qt(Ut,Qt);return le.createElement("div",{style:(0,He.Z)({overflow:"hidden"},Qr?{top:En,bottom:ea}:{}),ref:jr,className:We()($e,(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}),Ht((0,He.Z)((0,He.Z)({},nr),{},{stickyOffsets:Ur,columns:Ua,flattenColumns:cr}))))});Dn.displayName="FixedHolder";var oa=le.memo(Dn);function wa(Ee){var Ce=Ee.cells,$e=Ee.stickyOffsets,rt=Ee.flattenColumns,ht=Ee.rowComponent,pt=Ee.cellComponent,Ut=Ee.tdCellComponent,Qt=Ee.onHeaderRow,$t=Ee.index,xn=Ke(ie,["prefixCls","direction"]),Sn=xn.prefixCls,En=xn.direction,ea;Qt&&(ea=Qt(Ce.map(function(ma){return ma.column}),$t));var ra=Ft(Ce.map(function(ma){return ma.column}));return le.createElement(ht,ea,Ce.map(function(ma,La){var Ht=ma.column,nr=ze(ma.colStart,ma.colEnd,rt,$e,En,Ht),ja;return Ht&&Ht.onHeaderCell&&(ja=ma.column.onHeaderCell(Ht)),le.createElement(Bn,(0,je.Z)({},ma,{scope:Ht.title?ma.colSpan>1?"colgroup":"col":null,ellipsis:Ht.ellipsis,align:Ht.align,component:Ht.title?pt:Ut,prefixCls:Sn,key:ra[La]},nr,{additionalProps:ja,rowType:"header"}))}))}wa.displayName="HeaderRow";var ut=wa;function bn(Ee){var Ce=[];function $e(Ut,Qt){var $t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ce[$t]=Ce[$t]||[];var xn=Qt,Sn=Ut.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=$e(ma,xn,$t+1).reduce(function(La,Ht){return La+Ht},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[$t].push(ea),xn+=ra,ra});return Sn}$e(Ee,0);for(var rt=Ce.length,ht=function(Qt){Ce[Qt].forEach(function($t){!("rowSpan"in $t)&&!$t.hasSubColumns&&($t.rowSpan=rt-Qt)})},pt=0;pt<rt;pt+=1)ht(pt);return Ce}function Ln(Ee){var Ce=Ee.stickyOffsets,$e=Ee.columns,rt=Ee.flattenColumns,ht=Ee.onHeaderRow,pt=Ke(ie,["prefixCls","getComponent"]),Ut=pt.prefixCls,Qt=pt.getComponent,$t=le.useMemo(function(){return bn($e)},[$e]),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(Ut,"-thead")},$t.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 Hn=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 $e=0,rt=0;Ee.forEach(function(xn){var Sn=ia(Ce,xn.width);Sn?$e+=Sn:rt+=1});var ht=Ce-$e,pt=rt,Ut=ht/rt,Qt=0,$t=Ee.map(function(xn){var Sn=(0,He.Z)({},xn),En=ia(Ce,Sn.width);if(En)Sn.width=En;else{var ea=Math.floor(Ut);Sn.width=pt===1?ht:ea,ht-=ea,pt-=1}return Qt+=Sn.width,Sn});return[$t,Qt]}return[Ee,Ce]},[Ee,Ce])}var It=["children"],Tt=["fixed"];function bt(Ee){return(0,pn.Z)(Ee).filter(function(Ce){return le.isValidElement(Ce)}).map(function(Ce){var $e=Ce.key,rt=Ce.props,ht=rt.children,pt=(0,Nt.Z)(rt,It),Ut=(0,He.Z)({key:$e},pt);return ht&&(Ut.children=bt(ht)),Ut})}function Qn(Ee){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ee.filter(function($e){return $e&&(0,De.Z)($e)==="object"}).reduce(function($e,rt,ht){var pt=rt.fixed,Ut=pt===!0?"left":pt,Qt="".concat(Ce,"-").concat(ht),$t=rt.children;return $t&&$t.length>0?[].concat((0,pa.Z)($e),(0,pa.Z)(Qn($t,Qt).map(function(xn){return(0,He.Z)({fixed:Ut},xn)}))):[].concat((0,pa.Z)($e),[(0,He.Z)((0,He.Z)({key:Qt},rt),{},{fixed:Ut})])},[])}function Yn(Ee){for(var Ce=!0,$e=0;$e<Ee.length;$e+=1){var rt=Ee[$e];if(Ce&&rt.fixed!=="left")Ce=!1;else if(!Ce&&rt.fixed==="left"){warning(!1,"Index ".concat($e-1," of `columns` missing `fixed='left'` prop."));break}}for(var ht=!0,pt=Ee.length-1;pt>=0;pt-=1){var Ut=Ee[pt];if(ht&&Ut.fixed!=="right")ht=!1;else if(!ht&&Ut.fixed==="right"){warning(!1,"Index ".concat(pt+1," of `columns` missing `fixed='right'` prop."));break}}}function Gn(Ee){return Ee.map(function(Ce){var $e=Ce.fixed,rt=(0,Nt.Z)(Ce,Tt),ht=$e;return $e==="left"?ht="right":$e==="right"&&(ht="left"),(0,He.Z)({fixed:ht},rt)})}function ir(Ee,Ce){var $e=Ee.prefixCls,rt=Ee.columns,ht=Ee.children,pt=Ee.expandable,Ut=Ee.expandedKeys,Qt=Ee.columnTitle,$t=Ee.getRowKey,xn=Ee.onTriggerExpand,Sn=Ee.expandIcon,En=Ee.rowExpandable,ea=Ee.expandIconColumnIndex,ra=Ee.direction,ma=Ee.expandRowByClick,La=Ee.columnWidth,Ht=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 Ua=ea||0;Ua>=0&&yr.splice(Ua,0,b)}var cr=yr.indexOf(b);yr=yr.filter(function(Tr,vo){return Tr!==b||vo===cr});var Ur=ja[cr],yo;(Ht==="left"||Ht)&&!ea?yo="left":(Ht==="right"||Ht)&&ea===ja.length?yo="right":yo=Ur?Ur.fixed:null;var lo=(sr={},(0,he.Z)(sr,ha,{className:"".concat($e,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,he.Z)(sr,"title",Qt),(0,he.Z)(sr,"fixed",yo),(0,he.Z)(sr,"className","".concat($e,"-row-expand-icon-cell")),(0,he.Z)(sr,"width",La),(0,he.Z)(sr,"render",function(vo,Ao,ka){var wo=$t(Ao,ka),yi=Ut.has(wo),Do=En?En(Ao):!0,qr=Sn({prefixCls:$e,expanded:yi,expandable:Do,record:Ao,onExpand:xn});return ma?le.createElement("span",{onClick:function(Yr){return Yr.stopPropagation()}},qr):qr}),sr);return yr.map(function(Tr){return Tr===b?lo:Tr})}return ja.filter(function(Tr){return Tr!==b})},[pt,ja,$t,Ut,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,$e=Ee.prefixCls,rt=Ee.record,ht=Ee.onExpand,pt=Ee.expanded,Ut=Ee.expandable,Qt="".concat($e,"-row-expand-icon");if(!Ut)return le.createElement("span",{className:We()(Qt,"".concat($e,"-row-spaced"))});var $t=function(Sn){ht(rt,Sn),Sn.stopPropagation()};return le.createElement("span",{className:We()(Qt,(Ce={},(0,he.Z)(Ce,"".concat($e,"-row-expanded"),pt),(0,he.Z)(Ce,"".concat($e,"-row-collapsed"),!pt),Ce)),onClick:$t})}function $a(Ee,Ce,$e){var rt=[];function ht(pt){(pt||[]).forEach(function(Ut,Qt){rt.push(Ce(Ut,Qt)),ht(Ut[$e])})}return ht(Ee),rt}function Aa(Ee,Ce,$e){var rt=Ra(Ee),ht=rt.expandIcon,pt=rt.expandedRowKeys,Ut=rt.defaultExpandedRowKeys,Qt=rt.defaultExpandAllRows,$t=rt.expandedRowRender,xn=rt.onExpand,Sn=rt.onExpandedRowsChange,En=rt.childrenColumnName,ea=ht||Xn,ra=En||"children",ma=le.useMemo(function(){return $t?"row":Ee.expandable&&Ee.internalHooks===de&&Ee.expandable.__PARENT_RENDER_ICON__||Ce.some(function(Qr){return Qr&&(0,De.Z)(Qr)==="object"&&Qr[ra]})?"nest":!1},[!!$t,Ce]),La=le.useState(function(){return Ut||(Qt?$a(Ce,$e,ra):[])}),Ht=(0,Be.Z)(La,2),nr=Ht[0],ja=Ht[1],dr=le.useMemo(function(){return new Set(pt||nr||[])},[pt,nr]),Zr=le.useCallback(function(Qr){var Or=$e(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)},[$e,dr,Ce,xn,Sn]);return[rt,ma,dr,ea,ra,Zr]}function Nn(Ee,Ce,$e,rt){var ht=Ee.map(function(pt,Ut){return ze(Ut,Ut,Ee,Ce,$e,rt==null?void 0:rt[Ut])});return(0,ft.Z)(function(){return ht},[ht],function(pt,Ut){return!(0,Te.Z)(pt,Ut)})}function mr(Ee){var Ce=(0,le.useRef)(Ee),$e=(0,le.useState)({}),rt=(0,Be.Z)($e,2),ht=rt[1],pt=(0,le.useRef)(null),Ut=(0,le.useRef)([]);function Qt($t){Ut.current.push($t);var xn=Promise.resolve();pt.current=xn,xn.then(function(){if(pt.current===xn){var Sn=Ut.current,En=Ce.current;Ut.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),$e=(0,le.useRef)();function rt(){window.clearTimeout($e.current)}function ht(Ut){Ce.current=Ut,rt(),$e.current=window.setTimeout(function(){Ce.current=null,$e.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),$e=Ce[0],rt=Ce[1],ht=le.useState(-1),pt=(0,Be.Z)(ht,2),Ut=pt[0],Qt=pt[1],$t=le.useCallback(function(xn,Sn){rt(xn),Qt(Sn)},[]);return[$e,Ut,$t]}var xr=ee(47273),Ue=(0,xr.Z)()?window:null;function Pn(Ee,Ce){var $e=(0,De.Z)(Ee)==="object"?Ee:{},rt=$e.offsetHeader,ht=rt===void 0?0:rt,pt=$e.offsetSummary,Ut=pt===void 0?0:pt,Qt=$e.offsetScroll,$t=Qt===void 0?0:Qt,xn=$e.getContainer,Sn=xn===void 0?function(){return Ue}:xn,En=Sn()||Ue;return le.useMemo(function(){var ea=!!Ee;return{isSticky:ea,stickyClassName:ea?"".concat(Ce,"-sticky-holder"):"",offsetHeader:ht,offsetSummary:Ut,offsetScroll:$t,container:En}},[$t,ht,Ut,Ce,En])}function Jt(Ee,Ce,$e){var rt=(0,le.useMemo)(function(){for(var ht=[],pt=[],Ut=0,Qt=0,$t=0;$t<Ce;$t+=1)if($e==="rtl"){pt[$t]=Qt,Qt+=Ee[$t]||0;var xn=Ce-$t-1;ht[xn]=Ut,Ut+=Ee[xn]||0}else{ht[$t]=Ut,Ut+=Ee[$t]||0;var Sn=Ce-$t-1;pt[Sn]=Qt,Qt+=Ee[Sn]||0}return{left:ht,right:pt}},[Ee,Ce,$e]);return rt}var In=Jt;function Wn(Ee){var Ce=Ee.className,$e=Ee.children;return le.createElement("div",{className:Ce},$e)}var la=Wn,Ct=ee(8224),xt=ee(55468),an=function(Ce,$e){var rt,ht,pt=Ce.scrollBodyRef,Ut=Ce.onScroll,Qt=Ce.offsetScroll,$t=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),Ht=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-Ht.scrollLeft,ja.current.x=0,Or(!0),cr.preventDefault()},ur=function(cr){var Ur,yo=cr||((Ur=window)===null||Ur===void 0?void 0:Ur.event),lo=yo.buttons;if(!Qr||lo===0){Qr&&Or(!1);return}var Tr=ja.current.x+cr.pageX-ja.current.x-ja.current.delta;Tr<=0&&(Tr=0),Tr+ea>=En&&(Tr=En-ea),Ut({scrollLeft:Tr/En*(Sn+2)}),ja.current.x=cr.pageX},sr=function(){if(pt.current){var cr=(0,xt.os)(pt.current).top,Ur=cr+pt.current.offsetHeight,yo=$t===window?document.documentElement.scrollTop+window.innerHeight:(0,xt.os)($t).top+$t.clientHeight;Ur-(0,St.Z)()<=yo||cr>=yo-Qt?nr(function(lo){return(0,He.Z)((0,He.Z)({},lo),{},{isHiddenScrollBar:!0})}):nr(function(lo){return(0,He.Z)((0,He.Z)({},lo),{},{isHiddenScrollBar:!1})})}},yr=function(cr){nr(function(Ur){return(0,He.Z)((0,He.Z)({},Ur),{},{scrollLeft:cr/Sn*En||0})})};return le.useImperativeHandle($e,function(){return{setScrollLeft:yr}}),le.useEffect(function(){var Ua=(0,Ct.Z)(document.body,"mouseup",Kr,!1),cr=(0,Ct.Z)(document.body,"mousemove",ur,!1);return sr(),function(){Ua.remove(),cr.remove()}},[ea,Qr]),le.useEffect(function(){var Ua=(0,Ct.Z)($t,"scroll",sr,!1),cr=(0,Ct.Z)(window,"resize",sr,!1);return function(){Ua.remove(),cr.remove()}},[$t]),le.useEffect(function(){Ht.isHiddenScrollBar||nr(function(Ua){var cr=pt.current;return cr?(0,He.Z)((0,He.Z)({},Ua),{},{scrollLeft:cr.scrollLeft/cr.scrollWidth*cr.clientWidth}):Ua})},[Ht.isHiddenScrollBar]),Sn<=En||!ea||Ht.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(Ht.scrollLeft,"px, 0, 0)")}}))},tn=le.forwardRef(an);function Kt(Ee){return null}var xa=Kt;function Ea(Ee){return null}var Qa=Ea,Ha="rc-table",Un=[],na={};function ya(){return"No Data"}function Pa(Ee){var Ce,$e=(0,He.Z)({rowKey:"key",prefixCls:Ha,emptyText:ya},Ee),rt=$e.prefixCls,ht=$e.className,pt=$e.rowClassName,Ut=$e.style,Qt=$e.data,$t=$e.rowKey,xn=$e.scroll,Sn=$e.tableLayout,En=$e.direction,ea=$e.title,ra=$e.footer,ma=$e.summary,La=$e.caption,Ht=$e.id,nr=$e.showHeader,ja=$e.components,dr=$e.emptyText,Zr=$e.onRow,Qr=$e.onHeaderRow,Or=$e.internalHooks,Kr=$e.transformColumns,jr=$e.internalRefs,ur=$e.tailor,sr=$e.sticky,yr=Qt||Un,Ua=!!yr.length,cr=Or===de,Ur=le.useCallback(function(ti,zi){return(0,Le.Z)(ja,ti)||zi},[ja]),yo=le.useMemo(function(){return typeof $t=="function"?$t:function(ti){var zi=ti&&ti[$t];return zi}},[$t]),lo=Ur(["body"]),Tr=Vr(),vo=(0,Be.Z)(Tr,3),Ao=vo[0],ka=vo[1],wo=vo[2],yi=Aa($e,yr,yo),Do=(0,Be.Z)(yi,6),qr=Do[0],bi=Do[1],Yr=Do[2],gi=Do[3],Zo=Do[4],_i=Do[5],no=xn==null?void 0:xn.x,Hr=le.useState(0),Jr=(0,Be.Z)(Hr,2),zr=Jr[0],ce=Jr[1],pe=Ba((0,He.Z)((0,He.Z)((0,He.Z)({},$e),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]),zt=le.useRef(),$n=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("_")]),wr=In(xo,en.length,En),ao=xn&&on(xn.y),Eo=xn&&on(va)||!!qr.fixed,hi=Eo&&en.some(function(ti){var zi=ti.fixed;return zi}),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,Ho=le.useMemo(function(){return ma==null?void 0:ma(yr)},[ma,yr]),Ci=(ao||po)&&le.isValidElement(Ho)&&Ho.type===fe&&Ho.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,zi){(0,et.Z)(zt.current)&&Sr(function(wl){if(wl.get(ti)!==zi){var Sl=new Map(wl);return Sl.set(ti,zi),Sl}return wl})},[]),jl=Nr(null),Ii=(0,Be.Z)(jl,2),cl=Ii[0],Bl=Ii[1];function Gl(ti,zi){zi&&(typeof zi=="function"?zi(ti):zi.scrollLeft!==ti&&(zi.scrollLeft=ti,zi.scrollLeft!==ti&&setTimeout(function(){zi.scrollLeft=ti},0)))}var Io=(0,Ne.Z)(function(ti){var zi=ti.currentTarget,wl=ti.scrollLeft,Sl=En==="rtl",Vl=typeof wl=="number"?wl:zi.scrollLeft,Tl=zi||na;if(!Bl()||Bl()===Tl){var Ku;cl(Tl),Gl(Vl,$n.current),Gl(Vl,Fn.current),Gl(Vl,mn.current),Gl(Vl,(Ku=mi.current)===null||Ku===void 0?void 0:Ku.setScrollLeft)}var Vu=zi||$n.current;if(Vu){var Uu=Vu.scrollWidth,hu=Vu.clientWidth;if(Uu===hu){Fa(!1),yn(!1);return}Sl?(Fa(-Vl<Uu-hu),yn(-Vl>0)):(Fa(Vl>0),yn(Vl<Uu-hu))}}),Si=function(){Eo&&Fn.current?Io({currentTarget:Fn.current}):(Fa(!1),yn(!1))},Ui=function(zi){var wl=zi.width;wl!==zr&&(Si(),ce(zt.current?zt.current.offsetWidth:wl))},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],Al=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?Al((0,St.o)(Fn.current).width):Al((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(Hn,ti),Ci==="top"&&le.createElement(Rt,ti,Ho))},[Ci,Ho]),vu=le.useCallback(function(ti){return le.createElement(Rt,ti,Ho)},[Ho]),pu=Ur(["table"],"table"),Kl=le.useMemo(function(){return Sn||(hi?va==="max-content"?"auto":"fixed":ao||po||en.some(function(ti){var zi=ti.ellipsis;return zi})?"fixed":"auto")},[ao,hi,en,Sn,po]),gu,ca={colWidths:xo,columCount:en.length,stickyOffsets:wr,onHeaderRow:Qr,fixHeader:ao,scroll:xn},or=le.useMemo(function(){return Ua?null:typeof dr=="function"?dr():dr},[Ua,dr]),jo=le.createElement(wn,{data:yr,measureColumnWidth:ao||Eo||po}),uo=le.createElement(ar,{colWidths:en.map(function(ti){var zi=ti.width;return zi}),columns:en}),Bo=La!=null?le.createElement("caption",{className:"".concat(rt,"-caption")},La):void 0,qo=(0,An.Z)($e,{data:!0}),Vi=(0,An.Z)($e,{aria:!0});if(ao||po){var wi;typeof lo=="function"?(wi=lo(yr,{scrollbarSize:sl,ref:Fn,onScroll:Io}),ca.colWidths=en.map(function(ti,zi){var wl=ti.width,Sl=zi===en.length-1?wl-sl:wl;return typeof Sl=="number"&&!Number.isNaN(Sl)?Sl:0})):wi=le.createElement("div",{style:(0,He.Z)((0,He.Z)({},Mi),ii),onScroll:Io,ref:Fn,className:We()("".concat(rt,"-body"))},le.createElement(pu,(0,je.Z)({style:(0,He.Z)((0,He.Z)({},il),{},{tableLayout:Kl})},Vi),Bo,uo,jo,!Ci&&Ho&&le.createElement(Rt,{stickyOffsets:wr,flattenColumns:en,columns:Ot},Ho)));var fl=(0,He.Z)((0,He.Z)((0,He.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:$n}),Xo),wi,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,He.Z)((0,He.Z)({},Mi),ii),className:We()("".concat(rt,"-content")),onScroll:Io,ref:Fn},le.createElement(pu,(0,je.Z)({style:(0,He.Z)((0,He.Z)({},il),{},{tableLayout:Kl})},Vi),Bo,uo,nr!==!1&&le.createElement(Hn,(0,je.Z)({},ca,_n)),jo,Ho&&le.createElement(Rt,{stickyOffsets:wr,flattenColumns:en,columns:Ot},Ho)));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:Ut,id:Ht,ref:zt},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:Ui},el));var Ml=Nn(en,wr,En,Ot),ou=le.useMemo(function(){return{scrollX:va,prefixCls:rt,getComponent:Ur,scrollbarSize:sl,direction:En,fixedInfoList:Ml,isSticky:po,supportSticky:qi,componentWidth:zr,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:Ao,hoverEndRow:ka,onHover:wo,rowExpandable:qr.rowExpandable,onRow:Zr,getRowKey:yo,expandedKeys:Yr,childrenColumnName:Zo}},[va,rt,Ur,sl,En,Ml,po,qi,zr,ao,hi,Eo,Kl,pt,qr.expandedRowClassName,gi,bi,qr.expandRowByClick,qr.expandedRowRender,_i,qr.expandIconColumnIndex,qr.indentSize,or,Ot,en,ll,Ao,ka,wo,qr.rowExpandable,Zr,yo,Yr,Zo]);return le.createElement(ie.Provider,{value:ou},el)}function vr(Ee){return z(Pa,Ee)}var kr=vr();kr.EXPAND_COLUMN=b,kr.INTERNAL_HOOKS=de,kr.Column=xa,kr.ColumnGroup=Qa,kr.Summary=Oe;var Ya=kr,lr=ee(6790),hr=qe(null),Po=qe(null);function ri(Ee,Ce,$e){var rt=Ce||1;return $e[Ee+rt]-($e[Ee]||0)}function xi(Ee){var Ce=Ee.rowInfo,$e=Ee.column,rt=Ee.colIndex,ht=Ee.indent,pt=Ee.index,Ut=Ee.renderIndex,Qt=Ee.record,$t=Ee.style,xn=Ee.className,Sn=Ee.inverse,En=Ee.getHeight,ea=$e.render,ra=$e.dataIndex,ma=$e.className,La=$e.width,Ht=Ke(Po,["columnsOffset"]),nr=Ht.columnsOffset,ja=yt(Ce,$e,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,Ua=rt-1,cr=ri(Ua,ur,nr),Ur=ur>1?La-cr:0,yo=(0,He.Z)((0,He.Z)((0,He.Z)({},Kr),$t),{},{flex:"0 0 ".concat(cr,"px"),width:"".concat(cr,"px"),marginRight:Ur,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 Tr=lo?function(){return null}:ea,vo={};return(yr===0||ur===0)&&(vo.rowSpan=1,vo.colSpan=1),le.createElement(Bn,(0,je.Z)({className:We()(ma,xn),ellipsis:$e.ellipsis,align:$e.align,scope:$e.rowScope,component:"div",prefixCls:Ce.prefixCls,key:dr,record:Qt,index:pt,renderIndex:Ut,dataIndex:ra,render:Tr,shouldCellUpdate:$e.shouldCellUpdate},Zr,{appendNode:Qr,additionalProps:(0,He.Z)((0,He.Z)({},Or),{},{style:yo},vo)}))}var ho=xi,bo=["data","index","className","rowKey","style","extra","getHeight"],Wo=le.forwardRef(function(Ee,Ce){var $e=Ee.data,rt=Ee.index,ht=Ee.className,pt=Ee.rowKey,Ut=Ee.style,Qt=Ee.extra,$t=Ee.getHeight,xn=(0,Nt.Z)(Ee,bo),Sn=$e.record,En=$e.indent,ea=$e.index,ra=Ke(ie,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ma=ra.scrollX,La=ra.flattenColumns,Ht=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),Ua={};nr&&(Ua={style:(0,he.Z)({},"--virtual-width","".concat(ja,"px"))});var cr="".concat(Ht,"-expanded-row-cell");ur=le.createElement("div",{className:We()("".concat(Ht,"-expanded-row"),"".concat(Ht,"-expanded-row-level-").concat(En+1),yr)},le.createElement(Bn,{component:"div",prefixCls:Ht,className:We()(cr,(0,he.Z)({},"".concat(cr,"-fixed"),nr)),additionalProps:Ua},sr))}var Ur=(0,He.Z)((0,He.Z)({},Ut),{},{width:ma});Qt&&(Ur.position="absolute",Ur.pointerEvents="none");var yo=le.createElement("div",(0,je.Z)({},Or,xn,{ref:Zr?null:Ce,className:We()(ht,"".concat(Ht,"-row"),Or==null?void 0:Or.className,(0,he.Z)({},"".concat(Ht,"-row-extra"),Qt)),style:(0,He.Z)((0,He.Z)({},Ur),Or==null?void 0:Or.style)}),La.map(function(lo,Tr){return le.createElement(ho,{key:Tr,rowInfo:dr,column:lo,colIndex:Tr,indent:En,index:rt,renderIndex:ea,record:Sn,inverse:Qt,getHeight:$t})}));return Zr?le.createElement("div",{ref:Ce},yo,ur):yo}),To=te(Wo),No=To,Er=le.forwardRef(function(Ee,Ce){var $e=Ee.data,rt=Ee.onScroll,ht=Ke(ie,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),pt=ht.flattenColumns,Ut=ht.onColumnResize,Qt=ht.getRowKey,$t=ht.expandedKeys,xn=ht.prefixCls,Sn=ht.childrenColumnName,En=ht.emptyNode,ea=ht.scrollX,ra=Ke(hr),ma=ra.scrollY,La=ra.listItemHeight,Ht=le.useRef(),nr=fn($e,Sn,$t,Qt),ja=le.useMemo(function(){var ur=0;return pt.map(function(sr){var yr=sr.width,Ua=sr.key;return ur+=yr,[Ua,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],Ua=sr[1];Ut(yr,Ua)})},[ja]),le.useImperativeHandle(Ce,function(){var ur={};return Object.defineProperty(ur,"scrollLeft",{get:function(){var yr;return((yr=Ht.current)===null||yr===void 0?void 0:yr.getScrollInfo().x)||0},set:function(yr){var Ua;(Ua=Ht.current)===null||Ua===void 0||Ua.scrollTo({left:yr})}}),ur});var Zr=function(sr,yr){var Ua,cr=(Ua=nr[yr])===null||Ua===void 0?void 0:Ua.record,Ur=sr.onCell;if(Ur){var yo,lo=Ur(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,Ua=sr.end,cr=sr.getSize,Ur=sr.offsetY;if(Ua<0)return null;for(var yo=pt.filter(function(no){return Zr(no,yr)===0}),lo=yr,Tr=function(Hr){if(yo=yo.filter(function(Jr){return Zr(Jr,Hr)===0}),!yo.length)return lo=Hr,"break"},vo=yr;vo>=0;vo-=1){var Ao=Tr(vo);if(Ao==="break")break}for(var ka=pt.filter(function(no){return Zr(no,Ua)!==1}),wo=Ua,yi=function(Hr){if(ka=ka.filter(function(Jr){return Zr(Jr,Hr)!==1}),!ka.length)return wo=Math.max(Hr-1,Ua),"break"},Do=Ua;Do<nr.length;Do+=1){var qr=yi(Do);if(qr==="break")break}for(var bi=[],Yr=function(Hr){var Jr=nr[Hr];if(!Jr)return"continue";pt.some(function(zr){return Zr(zr,Hr)>1})&&bi.push(Hr)},gi=lo;gi<=wo;gi+=1)var Zo=Yr(gi);var _i=bi.map(function(no){var Hr=nr[no],Jr=Qt(Hr.record,no),zr=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:Hr,rowKey:Jr,index:no,style:{top:-Ur+ce.top},extra:!0,getHeight:zr})});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:Ht,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 Ua=Qt(ur.record,sr);return le.createElement(No,(0,je.Z)({data:ur,rowKey:Ua,index:sr},yr))}):jr=le.createElement("div",{className:We()("".concat(xn,"-placeholder"))},le.createElement(Bn,{component:"div",prefixCls:xn},En)),le.createElement(Po.Provider,{value:Or},jr)}),to=te(Er),Yo=to,Jo=function(Ce,$e){var rt=$e.ref,ht=$e.onScroll;return le.createElement(Yo,{ref:rt,data:Ce,onScroll:ht})},Lo=100;function Ar(Ee){var Ce=Ee.columns,$e=Ee.scroll,rt=Ee.prefixCls,ht=rt===void 0?Ha:rt,pt=Ee.className,Ut=Ee.listItemHeight,Qt=$e||{},$t=Qt.x,xn=Qt.y;typeof $t!="number"&&($t=((Ce||[]).length+1)*Lo),typeof xn!="number"&&(xn=500);var Sn=le.useMemo(function(){return{scrollY:xn,listItemHeight:Ut}},[xn,Ut]);return le.createElement(hr.Provider,{value:Sn},le.createElement(Ya,(0,je.Z)({},Ee,{className:We()(pt,"".concat(ht,"-virtual")),scroll:(0,He.Z)((0,He.Z)({},$e),{},{x:$t}),components:{body:Jo},columns:Ce,internalHooks:de,tailor:!0})))}function oi(Ee){return z(Ar,Ee)}var Gr=oi(),ko=null;function mo(Ee){return null}var di=mo;function vi(Ee){return null}var $i=vi,tl=ee(2738),nl=ee(68031),Uo=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($e){let{prefixCls:rt,onExpand:ht,record:pt,expanded:Ut,expandable:Qt}=$e;const $t=`${rt}-row-expand-icon`;return le.createElement("button",{type:"button",onClick:xn=>{ht(pt,xn),xn.stopPropagation()},className:We()($t,{[`${$t}-spaced`]:!Qt,[`${$t}-expanded`]:Qt&&Ut,[`${$t}-collapsed`]:Qt&&!Ut}),"aria-label":Ut?Ee.collapse:Ee.expand,"aria-expanded":Ut})}}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 Ae(Ee,Ce){return Ce?`${Ce}-${Ee}`:`${Ee}`}function hn(Ee,Ce){return typeof Ee=="function"?Ee(Ce):Ee}function Rn(Ee,Ce){const $e=hn(Ee,Ce);return Object.prototype.toString.call($e)==="[object Object]"?"":$e}var ba={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=ba,Za=ee(7657),Na=function(Ce,$e){return le.createElement(Za.Z,(0,je.Z)({},Ce,{ref:$e,icon:un}))},zn=le.forwardRef(Na),qn=zn,pr=ee(56762);function Wa(Ee){const Ce=le.useRef(Ee),$e=(0,pr.Z)();return[()=>Ce.current,rt=>{Ce.current=rt,$e()}]}var za=ee(3113),tr=ee(24905),Mr=ee(38854),Co=ee(64165),$o=ee(20834),Ko=ee(40875),ki=ee(5112),Ji=ee(17574),al=ee(47472),Zl=ee(92832);function Dl(Ee){let{value:Ce,onChange:$e,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:$e,value:Ce,htmlSize:1,className:`${ht}-filter-dropdown-search-input`})):null}var So=Dl,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:$e=>$e.stopPropagation(),onKeyDown:eu,ref:Ce},Ee.children));function tu(Ee){let Ce=[];return(Ee||[]).forEach($e=>{let{value:rt,children:ht}=$e;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:$e}=Ce;return $e})}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:$e,filteredKeys:rt,filterMultiple:ht,searchValue:pt,filterSearch:Ut}=Ee;return Ce.map((Qt,$t)=>{const xn=String(Qt.value);if(Qt.children)return{key:xn||$t,label:Qt.text,popupClassName:`${$e}-dropdown-submenu`,children:mu({filters:Qt.children,prefixCls:$e,filteredKeys:rt,filterMultiple:ht,searchValue:pt,filterSearch:Ut})};const Sn=ht?tr.default:ki.ZP,En={key:Qt.value!==void 0?xn:$t,label:le.createElement(le.Fragment,null,le.createElement(Sn,{checked:rt.includes(xn)}),le.createElement("span",null,Qt.text))};return pt.trim()?typeof Ut=="function"?Ut(pt,Qt)?En:null:su(pt,Qt.text)?En:null:En})}function Yu(Ee){var Ce,$e;const{tablePrefixCls:rt,prefixCls:ht,column:pt,dropdownPrefixCls:Ut,columnKey:Qt,filterMultiple:$t,filterMode:xn="menu",filterSearch:Sn=!1,filterState:En,triggerFilter:ea,locale:ra,children:ma,getPopupContainer:La}=Ee,{filterDropdownOpen:Ht,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=($e=Ht!=null?Ht:Zr)!==null&&$e!==void 0?$e:Or,yr=En==null?void 0:En.filteredKeys,[Ua,cr]=Wa(yr||[]),Ur=pe=>{let{selectedKeys:Pe}=pe;cr(Pe)},yo=(pe,Pe)=>{let{node:Ot,checked:en}=Pe;Ur($t?{selectedKeys:pe}:{selectedKeys:en&&Ot.key?[Ot.key]:[]})};le.useEffect(()=>{Or&&Ur({selectedKeys:yr||[]})},[yr]);const[lo,Tr]=le.useState([]),vo=pe=>{Tr(pe)},[Ao,ka]=le.useState(""),wo=pe=>{const{value:Pe}=pe.target;ka(Pe)};le.useEffect(()=>{Or||ka("")},[Or]);const yi=pe=>{const Pe=pe&&pe.length?pe:null;if(Pe===null&&(!En||!En.filteredKeys)||(0,Te.Z)(Pe,En==null?void 0:En.filteredKeys,!0))return null;ea({column:pt,key:Qt,filteredKeys:Pe})},Do=()=>{ur(!1),yi(Ua())},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),ka(""),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(Ua())},Yr=pe=>{pe&&yr!==void 0&&cr(yr||[]),ur(pe),!pe&&!pt.filterDropdown&&Do()},gi=We()({[`${Ut}-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 Hr;if(typeof pt.filterDropdown=="function")Hr=pt.filterDropdown({prefixCls:`${Ut}-custom`,setSelectedKeys:pe=>Ur({selectedKeys:pe}),selectedKeys:Ua(),confirm:bi,clearFilters:qr,filters:pt.filters,visible:sr,close:()=>{ur(!1)}});else if(pt.filterDropdown)Hr=pt.filterDropdown;else{const pe=Ua()||[],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:Ao,onChange:wo,tablePrefixCls:rt,locale:ra}),le.createElement("div",{className:`${rt}-filter-dropdown-tree`},$t?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:$t,checkStrictly:!$t,className:`${Ut}-menu`,onCheck:yo,checkedKeys:pe,selectedKeys:pe,showIcon:!1,treeData:_i({filters:pt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Ao.trim()?en=>typeof Sn=="function"?Sn(Ao,no(en)):su(Ao,en.title):void 0}))):le.createElement(le.Fragment,null,le.createElement(So,{filterSearch:Sn,value:Ao,onChange:wo,tablePrefixCls:rt,locale:ra}),le.createElement($o.default,{selectable:!0,multiple:$t,prefixCls:`${Ut}-menu`,className:gi,onSelect:Ur,onDeselect:Ur,selectedKeys:pe,getPopupContainer:La,openKeys:lo,onOpenChange:vo,items:mu({filters:pt.filters||[],filterSearch:Sn,prefixCls:ht,filteredKeys:Ua(),filterMultiple:$t,searchValue:Ao})})),Ot=()=>ja?(0,Te.Z)((dr||[]).map(en=>String(en)),pe,!0):pe.length===0;Hr=le.createElement(le.Fragment,null,Pe(),le.createElement("div",{className:`${ht}-dropdown-btns`},le.createElement(za.ZP,{type:"link",size:"small",disabled:Ot(),onClick:()=>qr()},ra.filterReset),le.createElement(za.ZP,{type:"primary",size:"small",onClick:Do},ra.filterConfirm)))}pt.filterDropdown&&(Hr=le.createElement(Ko.J,{selectable:void 0},Hr));const Jr=()=>le.createElement(xl,{className:`${ht}-dropdown`},Hr);let zr;typeof pt.filterIcon=="function"?zr=pt.filterIcon(jr):pt.filterIcon?zr=pt.filterIcon:zr=le.createElement(qn,null);const{direction:ce}=le.useContext(Uo.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()}},zr)))}var El=Yu;function Ru(Ee,Ce,$e){let rt=[];return(Ee||[]).forEach((ht,pt)=>{var Ut;const Qt=Ae(pt,$e);if(ht.filters||"filterDropdown"in ht||"onFilter"in ht)if("filteredValue"in ht){let $t=ht.filteredValue;"filterDropdown"in ht||($t=(Ut=$t==null?void 0:$t.map(String))!==null&&Ut!==void 0?Ut:$t),rt.push({column:ht,key:so(ht,Qt),filteredKeys:$t,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,$e,rt,ht,pt,Ut,Qt){return $e.map(($t,xn)=>{const Sn=Ae(xn,Qt),{filterMultiple:En=!0,filterMode:ea,filterSearch:ra}=$t;let ma=$t;if(ma.filters||ma.filterDropdown){const La=so(ma,Sn),Ht=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:Ht,filterMultiple:En,filterMode:ea,filterSearch:ra,triggerFilter:pt,locale:ht,getPopupContainer:Ut},hn($t.title,nr))})}return"children"in ma&&(ma=Object.assign(Object.assign({},ma),{children:Mu(Ee,Ce,ma.children,rt,ht,pt,Ut,Sn)})),ma})}function rl(Ee){const Ce={};return Ee.forEach($e=>{let{key:rt,filteredKeys:ht,column:pt}=$e;const{filters:Ut,filterDropdown:Qt}=pt;if(Qt)Ce[rt]=ht||null;else if(Array.isArray(ht)){const $t=tu(Ut);Ce[rt]=$t.filter(xn=>ht.includes(String(xn)))}else Ce[rt]=null}),Ce}function Tu(Ee,Ce){return Ce.reduce(($e,rt)=>{const{column:{onFilter:ht,filters:pt},filteredKeys:Ut}=rt;return ht&&Ut&&Ut.length?$e.filter(Qt=>Ut.some($t=>{const xn=tu(pt),Sn=xn.findIndex(ea=>String(ea)===String($t)),En=Sn!==-1?xn[Sn]:$t;return ht(En,Qt)})):$e},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:$e,mergedColumns:rt,onFilterChange:ht,getPopupContainer:pt,locale:Ut}=Ee;const Qt=le.useMemo(()=>nu(rt||[]),[rt]),[$t,xn]=le.useState(()=>Ru(Qt,!0)),Sn=le.useMemo(()=>{const ma=Ru(Qt,!1);if(ma.length===0)return ma;let La=!0,Ht=!0;if(ma.forEach(nr=>{let{filteredKeys:ja}=nr;ja!==void 0?La=!1:Ht=!1}),La){const nr=(Qt||[]).map((ja,dr)=>so(ja,Ae(dr)));return $t.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,$t]),En=le.useMemo(()=>rl(Sn),[Sn]),ea=ma=>{const La=Sn.filter(Ht=>{let{key:nr}=Ht;return nr!==ma.key});La.push(ma),xn(La),ht(rl(La),La)};return[ma=>Mu(Ce,$e,ma,Sn,Ut,ea,pt),Sn,En]}var bu=Ju;function ku(Ee,Ce,$e){const rt=le.useRef({});function ht(pt){if(!rt.current||rt.current.data!==Ee||rt.current.childrenColumnName!==Ce||rt.current.getRowKey!==$e){let Qt=function($t){$t.forEach((xn,Sn)=>{const En=$e(xn,Sn);Ut.set(En,xn),xn&&typeof xn=="object"&&Ce in xn&&Qt(xn[Ce]||[])})};const Ut=new Map;Qt(Ee),rt.current={data:Ee,childrenColumnName:Ce,kvMap:Ut,getRowKey:$e}}return rt.current.kvMap.get(pt)}return[ht]}var Xu=ee(50371),_u=function(Ee,Ce){var $e={};for(var rt in Ee)Object.prototype.hasOwnProperty.call(Ee,rt)&&Ce.indexOf(rt)<0&&($e[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])&&($e[rt[ht]]=Ee[rt[ht]]);return $e};const bl=10;function ji(Ee,Ce){const $e={current:Ee.current,pageSize:Ee.pageSize};return Object.keys(Ce&&typeof Ce=="object"?Ce:{}).forEach(ht=>{const pt=Ee[ht];typeof pt!="function"&&($e[ht]=pt)}),$e}function Zu(Ee,Ce,$e){const rt=$e&&typeof $e=="object"?$e:{},{total:ht=0}=rt,pt=_u(rt,["total"]),[Ut,Qt]=(0,le.useState)(()=>({current:"defaultCurrent"in pt?pt.defaultCurrent:1,pageSize:"defaultPageSize"in pt?pt.defaultPageSize:bl})),$t=(0,Xu.Z)(Ut,pt,{total:ht>0?ht:Ee}),xn=Math.ceil((ht||Ee)/$t.pageSize);$t.current>xn&&($t.current=xn||1);const Sn=(ea,ra)=>{Qt({current:ea!=null?ea:1,pageSize:ra||$t.pageSize})},En=(ea,ra)=>{var ma;$e&&((ma=$e.onChange)===null||ma===void 0||ma.call($e,ea,ra)),Sn(ea,ra),Ce(ea,ra||($t==null?void 0:$t.pageSize))};return $e===!1?[{},()=>{}]:[Object.assign(Object.assign({},$t),{onChange:En}),Sn]}var fs=Zu,au=ee(84105),Bi=ee(35654),Cu=ee(90782),Hu=ee(71430),rs=ee(18929);const Il={},zu="SELECT_ALL",xu="SELECT_INVERT",Fu="SELECT_NONE",Fl=[],Hl=(Ee,Ce)=>{let $e=[];return(Ce||[]).forEach(rt=>{$e.push(rt),rt&&typeof rt=="object"&&Ee in rt&&($e=[].concat((0,pa.Z)($e),(0,pa.Z)(Hl(Ee,rt[Ee]))))}),$e};var qu=(Ee,Ce)=>{const{preserveSelectedRowKeys:$e,selectedRowKeys:rt,defaultSelectedRowKeys:ht,getCheckboxProps:pt,onChange:Ut,onSelect:Qt,onSelectAll:$t,onSelectInvert:xn,onSelectNone:Sn,onSelectMultiple:En,columnWidth:ea,type:ra,selections:ma,fixed:La,renderCell:Ht,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,[Ua,cr]=(0,rs.Z)(rt||ht||Fl,{value:rt}),Ur=le.useRef(new Map),yo=(0,le.useCallback)(no=>{if($e){const Hr=new Map;no.forEach(Jr=>{let zr=Or(Jr);!zr&&Ur.current.has(Jr)&&(zr=Ur.current.get(Jr)),Hr.set(Jr,zr)}),Ur.current=Hr}},[Or,$e]);le.useEffect(()=>{yo(Ua)},[Ua]);const{keyEntities:lo}=(0,le.useMemo)(()=>{if(ja)return{keyEntities:null};let no=Zr;if($e){const Hr=new Set(Zr.map((zr,ce)=>Kr(zr,ce))),Jr=Array.from(Ur.current).reduce((zr,ce)=>{let[pe,Pe]=ce;return Hr.has(pe)?zr:zr.concat(Pe)},[]);no=[].concat((0,pa.Z)(no),(0,pa.Z)(Jr))}return(0,Hu.I8)(no,{externalGetKey:Kr,childrenPropName:ur})},[Zr,Kr,ja,ur,$e]),Tr=(0,le.useMemo)(()=>Hl(ur,Qr),[ur,Qr]),vo=(0,le.useMemo)(()=>{const no=new Map;return Tr.forEach((Hr,Jr)=>{const zr=Kr(Hr,Jr),ce=(pt?pt(Hr):null)||{};no.set(zr,ce)}),no},[Tr,Kr,pt]),Ao=(0,le.useCallback)(no=>{var Hr;return!!(!((Hr=vo.get(Kr(no)))===null||Hr===void 0)&&Hr.disabled)},[vo,Kr]),[ka,wo]=(0,le.useMemo)(()=>{if(ja)return[Ua||[],[]];const{checkedKeys:no,halfCheckedKeys:Hr}=(0,Cu.S)(Ua,!0,lo,Ao);return[no||[],Hr]},[Ua,ja,lo,Ao]),yi=(0,le.useMemo)(()=>{const no=ra==="radio"?ka.slice(0,1):ka;return new Set(no)},[ka,ra]),Do=(0,le.useMemo)(()=>ra==="radio"?new Set:new Set(wo),[wo,ra]),[qr,bi]=(0,le.useState)(null);le.useEffect(()=>{Ce||cr(Fl)},[!!Ce]);const Yr=(0,le.useCallback)((no,Hr)=>{let Jr,zr;yo(no),$e?(Jr=no,zr=no.map(ce=>Ur.current.get(ce))):(Jr=[],zr=[],no.forEach(ce=>{const pe=Or(ce);pe!==void 0&&(Jr.push(ce),zr.push(pe))})),cr(Jr),Ut==null||Ut(Jr,zr,{type:Hr})},[cr,Or,Ut,$e]),gi=(0,le.useCallback)((no,Hr,Jr,zr)=>{if(Qt){const ce=Jr.map(pe=>Or(pe));Qt(Or(no),Hr,ce,zr)}Yr(Jr,"single")},[Qt,Or,Yr]),Zo=(0,le.useMemo)(()=>!ma||nr?null:(ma===!0?[zu,xu,Fu]:ma).map(Hr=>Hr===zu?{key:"all",text:sr.selectionAll,onSelect(){Yr(Zr.map((Jr,zr)=>Kr(Jr,zr)).filter(Jr=>{const zr=vo.get(Jr);return!(zr!=null&&zr.disabled)||yi.has(Jr)}),"all")}}:Hr===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 zr=Array.from(Jr);xn&&xn(zr),Yr(zr,"invert")}}:Hr===Fu?{key:"none",text:sr.selectNone,onSelect(){Sn==null||Sn(),Yr(Array.from(yi).filter(Jr=>{const zr=vo.get(Jr);return zr==null?void 0:zr.disabled}),"none")}}:Hr).map(Hr=>Object.assign(Object.assign({},Hr),{onSelect:function(){for(var Jr,zr,ce=arguments.length,pe=new Array(ce),Pe=0;Pe<ce;Pe++)pe[Pe]=arguments[Pe];(zr=Hr.onSelect)===null||zr===void 0||(Jr=zr).call.apply(Jr,[Hr].concat(pe)),bi(null)}})),[ma,yi,Qr,Kr,xn,Yr]);return[(0,le.useCallback)(no=>{var Hr;if(!Ce)return no.filter(On=>On!==Il);let Jr=(0,pa.Z)(no);const zr=new Set(yi),ce=Tr.map(Kr).filter(On=>!vo.get(On).disabled),pe=ce.every(On=>zr.has(On)),Pe=ce.some(On=>zr.has(On)),Ot=()=>{const On=[];pe?ce.forEach(Zn=>{zr.delete(Zn),On.push(Zn)}):ce.forEach(Zn=>{zr.has(Zn)||(zr.add(Zn),On.push(Zn))});const sa=Array.from(zr);$t==null||$t(!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=Tr.map((da,Ja)=>{const yn=Kr(da,Ja),Ca=vo.get(yn)||{};return Object.assign({checked:zr.has(yn)},Ca)}).filter(da=>{let{disabled:Ja}=da;return Ja}),Zn=!!sa.length&&sa.length===Tr.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:!!Tr.length&&pe,indeterminate:Zn?!Fa&&aa:!pe&&Pe,onChange:Ot,disabled:Tr.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=zr.has(Fa);return{node:le.createElement(ki.ZP,Object.assign({},vo.get(Fa),{checked:aa,onClick:da=>da.stopPropagation(),onChange:da=>{zr.has(Fa)||gi(Fa,!0,[Fa],da.nativeEvent)}})),checked:aa}}:Oa=(On,sa,Zn)=>{var Fa;const aa=Kr(sa,Zn),da=zr.has(aa),Ja=Do.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((wr,ao)=>{if(xo.has(wr))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),wr=[];da?xo.forEach(Eo=>{zr.has(Eo)&&(wr.push(Eo),zr.delete(Eo))}):xo.forEach(Eo=>{zr.has(Eo)||(wr.push(Eo),zr.add(Eo))});const ao=Array.from(zr);En==null||En(!da,ao.map(Eo=>Or(Eo)),wr.map(Eo=>Or(Eo))),Yr(ao,"multiple")}else{const xo=ka;if(ja){const wr=da?(0,Bi._5)(xo,aa):(0,Bi.L0)(xo,aa);gi(aa,!da,wr,eo)}else{const wr=(0,Cu.S)([].concat((0,pa.Z)(xo),[aa]),!0,lo,Ao),{checkedKeys:ao,halfCheckedKeys:Eo}=wr;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,Ao).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 Ht?Ht(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 zt=Jr[_n-1],$n=Jr[_n+1];let Fn=La;Fn===void 0&&(($n==null?void 0:$n.fixed)!==void 0?Fn=$n.fixed:(zt==null?void 0:zt.fixed)!==void 0&&(Fn=zt.fixed)),Fn&&zt&&((Hr=zt[ha])===null||Hr===void 0?void 0:Hr.columnType)==="EXPAND_COLUMN"&&zt.fixed===void 0&&(zt.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,Tr,Ce,ka,yi,Do,ea,Zo,jr,qr,vo,En,gi,Ao]),yi]},ju=ee(89489),Lr=ee(59477),Bu=ee(6848);const Yl="ascend",zl="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,$e){let rt=[];function ht(pt,Ut){rt.push({column:pt,key:so(pt,Ut),multiplePriority:rr(pt),sortOrder:pt.sortOrder})}return(Ee||[]).forEach((pt,Ut)=>{const Qt=Ae(Ut,$e);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 Au(Ee,Ce,$e,rt,ht,pt,Ut,Qt){return(Ce||[]).map(($t,xn)=>{const Sn=Ae(xn,Qt);let En=$t;if(En.sorter){const ea=En.sortDirections||ht,ra=En.showSorterTooltip===void 0?Ut:En.showSorterTooltip,ma=so(En,Sn),La=$e.find(jr=>{let{key:ur}=jr;return ur===ma}),Ht=La?La.sortOrder:null,nr=es(ea,Ht);let ja;if($t.sortIcon)ja=$t.sortIcon({sortOrder:Ht});else{const jr=ea.includes(Yl)&&le.createElement(Lr.Z,{className:We()(`${Ee}-column-sorter-up`,{active:Ht===Yl})}),ur=ea.includes(zl)&&le.createElement(ju.Z,{className:We()(`${Ee}-column-sorter-down`,{active:Ht===zl})});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===zl?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`]:Ht}),title:jr=>{const ur=le.createElement("div",{className:`${Ee}-column-sorters`},le.createElement("span",{className:`${Ee}-column-title`},hn($t.title,jr)),ja);return ra?le.createElement(Bu.Z,Object.assign({},Kr),ur):ur},onHeaderCell:jr=>{const ur=$t.onHeaderCell&&$t.onHeaderCell(jr)||{},sr=ur.onClick,yr=ur.onKeyDown;ur.onClick=Ur=>{rt({column:$t,key:ma,sortOrder:nr,multiplePriority:rr($t)}),sr==null||sr(Ur)},ur.onKeyDown=Ur=>{Ur.keyCode===yl.Z.ENTER&&(rt({column:$t,key:ma,sortOrder:nr,multiplePriority:rr($t)}),yr==null||yr(Ur))};const Ua=Rn($t.title,{}),cr=Ua==null?void 0:Ua.toString();return Ht?ur["aria-sort"]=Ht==="ascend"?"ascending":"descending":ur["aria-label"]=cr||"",ur.className=We()(ur.className,`${Ee}-column-has-sorters`),ur.tabIndex=0,$t.ellipsis&&(ur.title=(Ua!=null?Ua:"").toString()),ur}})}return"children"in En&&(En=Object.assign(Object.assign({},En),{children:Au(Ee,En.children,$e,rt,ht,pt,Ut,Sn)})),En})}function ts(Ee){const{column:Ce,sortOrder:$e}=Ee;return{column:Ce,order:$e,field:Ce.dataIndex,columnKey:Ce.key}}function cu(Ee){const Ce=Ee.filter($e=>{let{sortOrder:rt}=$e;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,$e){const rt=Ce.slice().sort((Ut,Qt)=>Qt.multiplePriority-Ut.multiplePriority),ht=Ee.slice(),pt=rt.filter(Ut=>{let{column:{sorter:Qt},sortOrder:$t}=Ut;return du(Qt)&&$t});return pt.length?ht.sort((Ut,Qt)=>{for(let $t=0;$t<pt.length;$t+=1){const xn=pt[$t],{column:{sorter:Sn},sortOrder:En}=xn,ea=du(Sn);if(ea&&En){const ra=ea(Ut,Qt,En);if(ra!==0)return En===Yl?ra:-ra}}return 0}).map(Ut=>{const Qt=Ut[$e];return Qt?Object.assign(Object.assign({},Ut),{[$e]:Qi(Qt,Ce,$e)}):Ut}):ht}function ls(Ee){let{prefixCls:Ce,mergedColumns:$e,onSorterChange:rt,sortDirections:ht,tableLocale:pt,showSorterTooltip:Ut}=Ee;const[Qt,$t]=le.useState(is($e,!0)),xn=le.useMemo(()=>{let ma=!0;const La=is($e,!1);if(!La.length)return Qt;const Ht=[];function nr(dr){ma?Ht.push(dr):Ht.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))}),Ht},[$e,Qt]),Sn=le.useMemo(()=>{const ma=xn.map(La=>{let{column:Ht,sortOrder:nr}=La;return{column:Ht,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(Ht=>{let{key:nr}=Ht;return nr!==ma.key})),[ma]),$t(La),rt(cu(La),La)}return[ma=>Au(Ce,ma,xn,En,ht,pt,Ut),xn,Sn,()=>cu(xn)]}function us(Ee,Ce){return Ee.map($e=>{const rt=Object.assign({},$e);return rt.title=hn($e.title,Ce),"children"in rt&&(rt.children=us(rt.children,Ce)),rt})}function ss(Ee){return[le.useCallback($e=>us($e,Ee),[Ee])]}var Gu=vr((Ee,Ce)=>{const{_renderTimes:$e}=Ee,{_renderTimes:rt}=Ce;return $e!==rt}),Jl=oi((Ee,Ce)=>{const{_renderTimes:$e}=Ee,{_renderTimes:rt}=Ce;return $e!==rt}),Xl=ee(64993),ru=ee(17313),fu=ee(83116),Wu=ee(37613),Se=Ee=>{const{componentCls:Ce}=Ee,$e=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`,rt=(ht,pt,Ut)=>({[`&${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 -${Ut+Ee.lineWidth}px`}}}}}});return{[`${Ce}-wrapper`]:{[`${Ce}${Ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ce}-title`]:{border:$e,borderBottom:0},[`> ${Ce}-container`]:{borderInlineStart:$e,borderTop:$e,[`
> ${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:$e},"> thead":{"> tr:not(:last-child) > th":{borderBottom:$e},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ce}-cell-fix-right-first::after`]:{borderInlineEnd:$e}},"\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:$e,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:$e,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:$e}}}},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),Tn=Ee=>{const{componentCls:Ce,antCls:$e,controlInteractiveSize:rt,motionDurationSlow:ht,lineWidth:pt,paddingXS:Ut,lineType:Qt,tableBorderColor:$t,tableExpandIconBg:xn,tableExpandColumnWidth:Sn,borderRadius:En,fontSize:ea,fontSizeSM:ra,lineHeight:ma,tablePaddingVertical:La,tablePaddingHorizontal:Ht,tableExpandedRowBg:nr,paddingXXS:ja}=Ee,dr=rt/2-pt,Zr=dr*2+pt*3,Qr=`${pt}px ${Qt} ${$t}`,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:Ut},[`tr${Ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:nr}},[`${$e}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ce}-expanded-row-fixed`]:{position:"relative",margin:`-${La}px -${Ht}px`,padding:`${La}px ${Ht}px`}}}},Da=Ee=>{const{componentCls:Ce,antCls:$e,iconCls:rt,tableFilterDropdownWidth:ht,tableFilterDropdownSearchWidth:pt,paddingXXS:Ut,paddingXS:Qt,colorText:$t,lineWidth:xn,lineType:Sn,tableBorderColor:En,tableHeaderIconColor:ea,fontSizeSM:ra,tablePaddingHorizontal:ma,borderRadius:La,motionDurationSlow:Ht,colorTextDescription:nr,colorPrimary:ja,tableHeaderFilterActiveBg:dr,colorTextDisabled:Zr,tableFilterDropdownBg:Qr,tableFilterDropdownHeight:Or,controlItemBgHover:Kr,controlItemBgActive:jr,boxShadowSecondary:ur,filterDropdownMenuBg:sr}=Ee,yr=`${$e}-dropdown`,Ua=`${Ce}-filter-dropdown`,cr=`${$e}-tree`,Ur=`${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:-Ut,marginInline:`${Ut}px ${-ma/2}px`,padding:`0 ${Ut}px`,color:ea,fontSize:ra,borderRadius:La,cursor:"pointer",transition:`all ${Ht}`,"&:hover":{color:nr,background:dr},"&.active":{color:ja}}}},{[`${$e}-dropdown`]:{[Ua]: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"'}},[`${Ua}-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}}},[`${Ua}-search`]:{padding:Qt,borderBottom:Ur,"&-input":{input:{minWidth:pt},[rt]:{color:Zr}}},[`${Ua}-checkall`]:{width:"100%",marginBottom:Ut,marginInlineStart:Ut},[`${Ua}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Qt-xn}px ${Qt}px`,overflow:"hidden",borderTop:Ur}})}},{[`${$e}-dropdown ${Ua}, ${Ua}-submenu`]:{[`${$e}-checkbox-wrapper + span`]:{paddingInlineStart:Qt,color:$t},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},vn=Ee=>{const{componentCls:Ce,lineWidth:$e,colorSplit:rt,motionDurationSlow:ht,zIndexTableFixed:pt,tableBg:Ut,zIndexTableSticky:Qt}=Ee,$t=rt;return{[`${Ce}-wrapper`]:{[`
${Ce}-cell-fix-left,
${Ce}-cell-fix-right
`]:{position:"sticky !important",zIndex:pt,background:Ut},[`
${Ce}-cell-fix-left-first::after,
${Ce}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-$e,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:-$e,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 ${$t}`}},[`
${Ce}-cell-fix-left-first::after,
${Ce}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${$t}`},[`${Ce}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ce}-ping-right`]:{[`&:not(${Ce}-has-fix-right) ${Ce}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${$t}`}},[`
${Ce}-cell-fix-right-first::after,
${Ce}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${$t}`}}}}},Ma=Ee=>{const{componentCls:Ce,antCls:$e}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-pagination${$e}-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:$e}=Ee;return{[`${Ce}-wrapper`]:{[Ce]:{[`${Ce}-title, ${Ce}-header`]:{borderRadius:`${$e}px ${$e}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:$e,borderStartEndRadius:$e,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:$e},"> *:last-child":{borderStartEndRadius:$e}}},"&-footer":{borderRadius:`0 0 ${$e}px ${$e}px`}}}}},Dr=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:$e,iconCls:rt,fontSizeIcon:ht,padding:pt,paddingXS:Ut,tableHeaderIconColor:Qt,tableHeaderIconColorHover:$t,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+Ut*2,[`&${Ce}-selection-col-with-dropdown`]:{width:xn+ht+pt/4+Ut*2}},[`
table tr th${Ce}-selection-column,
table tr td${Ce}-selection-column
`]:{paddingInlineEnd:Ee.paddingXS,paddingInlineStart:Ee.paddingXS,textAlign:"center",[`${$e}-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:$t}}}}}},Rr=Ee=>{const{componentCls:Ce}=Ee,$e=(rt,ht,pt,Ut)=>({[`${Ce}${Ce}-${rt}`]:{fontSize:Ut,[`
${Ce}-title,
${Ce}-footer,
${Ce}-cell,
${Ce}-thead > tr > th,
${Ce}-tbody > tr > th,
${Ce}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${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({},$e("middle",Ee.tablePaddingVerticalMiddle,Ee.tablePaddingHorizontalMiddle,Ee.tableFontSizeMiddle)),$e("small",Ee.tablePaddingVerticalSmall,Ee.tablePaddingHorizontalSmall,Ee.tableFontSizeSmall))}},Vo=Ee=>{const{componentCls:Ce,marginXXS:$e,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:$e,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}}}},zo=Ee=>{const{componentCls:Ce,opacityLoading:$e,tableScrollThumbBg:rt,tableScrollThumbBgHover:ht,tableScrollThumbSize:pt,tableScrollBg:Ut,zIndexTableSticky:Qt,stickyScrollBarBorderRadius:$t}=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:Ut,borderTop:xn,opacity:$e,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:pt,backgroundColor:rt,borderRadius:$t,transition:`all ${Ee.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ht}}}}}}},li=Ee=>{const{componentCls:Ce,lineWidth:$e,tableBorderColor:rt}=Ee,ht=`${$e}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 -${$e}px 0 ${rt}`}}}},Hi=Ee=>{const{componentCls:Ce}=Ee,$e=`${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:$e},[`${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:$e,position:"absolute"},[`${Ce}-cell`]:{borderInlineEnd:$e,[`&${Ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ee.lineWidth,borderInlineStart:$e}}}}}}};const oo=Ee=>{const{componentCls:Ce,fontWeightStrong:$e,tablePaddingVertical:rt,tablePaddingHorizontal:ht,lineWidth:pt,lineType:Ut,tableBorderColor:Qt,tableFontSize:$t,tableBg:xn,tableRadius:Sn,tableHeaderTextColor:En,motionDurationMid:ea,tableHeaderBg:ra,tableHeaderCellSplitColor:ma,tableRowHoverBg:La,tableSelectedRowBg:Ht,tableSelectedRowHoverBg:nr,tableFooterTextColor:ja,tableFooterBg:dr,paddingContentVerticalLG:Zr}=Ee,Qr=`${pt}px ${Ut} ${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:$t,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:$e,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:$e,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:Ht},"&: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:$e,colorIcon:rt,colorIconHover:ht,opacityLoading:pt,colorBgContainer:Ut,controlInteractiveSize:Qt,headerBg:$t,headerColor:xn,headerSortActiveBg:Sn,headerSortHoverBg:En,bodySortBg:ea,rowHoverBg:ra,rowSelectedBg:ma,rowSelectedHoverBg:La,rowExpandedBg:Ht,cellPaddingBlock:nr,cellPaddingInline:ja,cellPaddingBlockMD:dr,cellPaddingInlineMD:Zr,cellPaddingBlockSM:Qr,cellPaddingInlineSM:Or,borderColor:Kr,footerBg:jr,footerColor:ur,headerBorderRadius:sr,cellFontSize:yr,cellFontSizeMD:Ua,cellFontSizeSM:cr,headerSplitColor:Ur,fixedHeaderSortActiveBg:yo,headerFilterHoverBg:lo,filterDropdownBg:Tr,expandIconBg:vo,selectionColumnWidth:Ao,stickyScrollBarBg:ka}=Ee,wo=new Xl.C(rt),yi=new Xl.C(ht),Do=2,qr=(0,Wu.TS)(Ee,{tableFontSize:yr,tableBg:Ut,tableRadius:sr,tablePaddingVertical:nr,tablePaddingHorizontal:ja,tablePaddingVerticalMiddle:dr,tablePaddingHorizontalMiddle:Zr,tablePaddingVerticalSmall:Qr,tablePaddingHorizontalSmall:Or,tableBorderColor:Kr,tableHeaderTextColor:xn,tableHeaderBg:$t,tableFooterTextColor:ur,tableFooterBg:jr,tableHeaderCellSplitColor:Ur,tableHeaderSortBg:Sn,tableHeaderSortHoverBg:En,tableHeaderIconColor:wo.clone().setAlpha(wo.getAlpha()*pt).toRgbString(),tableHeaderIconColorHover:yi.clone().setAlpha(yi.getAlpha()*pt).toRgbString(),tableBodySortBg:ea,tableFixedHeaderSortActiveBg:yo,tableHeaderFilterActiveBg:lo,tableFilterDropdownBg:Tr,tableRowHoverBg:ra,tableSelectedRowBg:ma,tableSelectedRowHoverBg:La,zIndexTableFixed:Do,zIndexTableSticky:Do+1,tableFontSizeMiddle:Ua,tableFontSizeSmall:cr,tableSelectionColumnWidth:Ao,tableExpandIconBg:vo,tableExpandColumnWidth:Qt+2*Ee.padding,tableExpandedRowBg:Ht,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ka,tableScrollThumbBgHover:Ce,tableScrollBg:$e});return[oo(qr),Ma(qr),li(qr),Vo(qr),Da(qr),Se(qr),ga(qr),Tn(qr),li(qr),Xt(qr),Ir(qr),vn(qr),zo(qr),tt(qr),Rr(qr),Dr(qr),Hi(qr)]},Ee=>{const{colorFillAlter:Ce,colorBgContainer:$e,colorTextHeading:rt,colorFillSecondary:ht,colorFillContent:pt,controlItemBgActive:Ut,controlItemBgActiveHover:Qt,padding:$t,paddingSM:xn,paddingXS:Sn,colorBorderSecondary:En,borderRadiusLG:ea,fontSize:ra,controlHeight:ma,colorTextPlaceholder:La}=Ee,Ht=new Xl.C(ht).onBackground($e).toHexShortString(),nr=new Xl.C(pt).onBackground($e).toHexShortString(),ja=new Xl.C(Ce).onBackground($e).toHexShortString();return{headerBg:ja,headerColor:rt,headerSortActiveBg:Ht,headerSortHoverBg:nr,bodySortBg:ja,rowHoverBg:ja,rowSelectedBg:Ut,rowSelectedHoverBg:Qt,rowExpandedBg:Ce,cellPaddingBlock:$t,cellPaddingInline:$t,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:Ht,headerFilterHoverBg:pt,filterDropdownMenuBg:$e,filterDropdownBg:$e,expandIconBg:$e,selectionColumnWidth:ma,stickyScrollBarBg:La,stickyScrollBarBorderRadius:100}});const _o=[],Ai=(Ee,Ce)=>{const{prefixCls:$e,className:rt,rootClassName:ht,style:pt,size:Ut,bordered:Qt,dropdownPrefixCls:$t,dataSource:xn,pagination:Sn,rowSelection:En,rowKey:ea="key",rowClassName:ra,columns:ma,children:La,childrenColumnName:Ht,onChange:nr,getPopupContainer:ja,loading:dr,expandIcon:Zr,expandable:Qr,expandedRowRender:Or,expandIconColumnIndex:Kr,indentSize:jr,scroll:ur,sortDirections:sr,locale:yr,showSorterTooltip:Ua=!0,virtual:cr}=Ee,Ur=le.useMemo(()=>ma||bt(La),[ma,La]),yo=le.useMemo(()=>Ur.some(ta=>ta.responsive),[Ur]),lo=(0,dl.Z)(yo),Tr=le.useMemo(()=>{const ta=new Set(Object.keys(lo).filter(Fo=>lo[Fo]));return Ur.filter(Fo=>!Fo.responsive||Fo.responsive.some(Ri=>ta.has(Ri)))},[Ur,lo]),vo=(0,tl.Z)(Ee,["className","style","columns"]),{locale:Ao=gl.Z,direction:ka,table:wo,renderEmpty:yi,getPrefixCls:Do,getPopupContainer:qr}=le.useContext(Uo.E_),bi=(0,Wi.Z)(Ut),Yr=Object.assign(Object.assign({},Ao.Table),yr),gi=xn||_o,Zo=Do("table",$e),_i=Do("dropdown",$t),no=Object.assign({childrenColumnName:Ht,expandIconColumnIndex:Kr},Qr),{childrenColumnName:Hr="children"}=no,Jr=le.useMemo(()=>gi.some(ta=>ta==null?void 0:ta[Hr])?"nest":Or||Qr&&Qr.expandedRowRender?"row":null,[gi]),zr={body:le.useRef()},ce=le.useMemo(()=>typeof ea=="function"?ea:ta=>ta==null?void 0:ta[ea],[ea]),[pe]=ku(gi,Hr,ce),Pe={},Ot=function(ta,Fo){let Ri=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ho,Ci,Mi;const ii=Object.assign(Object.assign({},Pe),ta);Ri&&((Ho=Pe.resetPagination)===null||Ho===void 0||Ho.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&&zr.body.current&&(0,nl.Z)(0,{getContainer:()=>zr.body.current}),nr==null||nr(ii.pagination,ii.filters,ii.sorter,{currentDataSource:Tu(Qi(gi,ii.sorterStates,Hr),ii.filterStates),action:Fo})},en=(ta,Fo)=>{Ot({sorter:ta,sorterStates:Fo},"sort",!1)},[Oa,va,_n,zt]=ls({prefixCls:Zo,mergedColumns:Tr,onSorterChange:en,sortDirections:sr||["ascend","descend"],tableLocale:Yr,showSorterTooltip:Ua}),$n=le.useMemo(()=>Qi(gi,va,Hr),[gi,va]);Pe.sorter=zt(),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:Tr,onFilterChange:Fn,getPopupContainer:ja||qr}),sa=Tu($n,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:Hr,locale:Yr,getPopupContainer:ja||qr},En),eo=(ta,Fo,Ri)=>{let Ho;return typeof ra=="function"?Ho=We()(ra(ta,Fo,Ri)):Ho=We()(ra),We()({[`${Zo}-row-selected`]:Ka.has(ce(ta,Fo))},Ho)};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=ka==="rtl"?"left":"right",{position:Ho}=da;if(Ho!==null&&Array.isArray(Ho)){const Ci=Ho.find(il=>il.includes("top")),Mi=Ho.find(il=>il.includes("bottom")),ii=Ho.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[wr,ao]=Ro(Zo),[,Eo]=(0,qa.Z)(),hi=We()(`${Zo}-wrapper`,wo==null?void 0:wo.className,{[`${Zo}-wrapper-rtl`]:ka==="rtl"},rt,ht,ao),mi=Object.assign(Object.assign({},wo==null?void 0:wo.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:Ho,paddingSM:Ci}=Eo,Mi=Math.floor(ta*Fo);switch(bi){case"large":return Ri*2+Mi;case"small":return Ho*2+Mi;default:return Ci*2+Mi}},[Eo,bi]);return cr&&(Ki.listItemHeight=Li),wr(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:Tr,direction:ka,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:zr,transformColumns:Sr})),Ga)))};var Ni=le.forwardRef(Ai);const fi=(Ee,Ce)=>{const $e=le.useRef(0);return $e.current+=1,le.createElement(Ni,Object.assign({},Ee,{ref:Ce,_renderTimes:$e.current}))},Mo=le.forwardRef(fi);Mo.SELECTION_COLUMN=Il,Mo.EXPAND_COLUMN=b,Mo.SELECTION_ALL=zu,Mo.SELECTION_INVERT=xu,Mo.SELECTION_NONE=Fu,Mo.Column=di,Mo.ColumnGroup=$i,Mo.Summary=Oe;var ol=Mo,Xi=ol},12563:function(Vt,jt,ee){"use strict";ee.d(jt,{default:function(){return He}});var b=ee(59301),de=ee(99267),Be=ee(92310),Ne=ee.n(Be),_e=ee(36785),Te=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:wt,tag:sn}=b.useContext(it.E_),Ft=rn=>{ot==null||ot(!Le),dt==null||dt(rn)},on=wt("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:wt,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,Bn]=b.useState(!0);b.useEffect(()=>{"visible"in Ve&&Bn(Ve.visible)},[Ve.visible]);const ze=(0,_e.o2)(wt),ct=(0,_e.yT)(wt),Lt=ze||ct,mt=Object.assign(Object.assign({backgroundColor:wt&&!Lt?wt:void 0},Kn==null?void 0:Kn.style),ot),Nt=at("tag",We),[st,nt]=E(Nt),we=Ne()(Nt,Kn==null?void 0:Kn.className,{[`${Nt}-${wt}`]:Lt,[`${Nt}-has-color`]:wt&&!Lt,[`${Nt}-hidden`]:!Gt,[`${Nt}-rtl`]:rn==="rtl",[`${Nt}-borderless`]:!cn},ft,Le,nt),fe=et=>{et.stopPropagation(),sn==null||sn(et),!et.defaultPrevented&&Bn(!1)},[,Xe]=(0,Te.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:we,style:mt}),Ie,Xe,ze&&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)},De=b.forwardRef(Ge);De.CheckableTag=y;var He=De},98228:function(Vt,jt,ee){"use strict";ee.d(jt,{default:function(){return Br}});var b=ee(92310),de=ee.n(b),Be=ee(14809),Ne=ee(95190),_e=ee(20439),Te=ee(50298),le=ee(62646),it=ee(93664),qe=ee(77861),Ke=ee(17115),je=ee(90782),Je=ee(18929),Ye=ee(48736),ue=ee(59301),E=function(qt){var Dn=ue.useRef({valueLabels:new Map});return ue.useMemo(function(){var oa=Dn.current.valueLabels,wa=new Map,ut=qt.map(function(bn){var Ln,Hn=bn.value,pn=(Ln=bn.label)!==null&&Ln!==void 0?Ln:oa.get(Hn);return wa.set(Hn,pn),(0,_e.Z)((0,_e.Z)({},bn),{},{label:pn})});return Dn.current.valueLabels=wa,[ut]},[qt])},a=function(qt,Dn,oa,wa){return ue.useMemo(function(){var ut=qt.map(function(pn){var ia=pn.value;return ia}),bn=Dn.map(function(pn){var ia=pn.value;return ia}),Ln=ut.filter(function(pn){return!wa[pn]});if(oa){var Hn=(0,je.S)(ut,!0,wa);ut=Hn.checkedKeys,bn=Hn.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ne.Z)(Ln),(0,Ne.Z)(ut)))),bn]},[qt,Dn,oa,wa])},x=ee(71430),y=function(qt,Dn){return ue.useMemo(function(){var oa=(0,x.I8)(qt,{fieldNames:Dn,initWrapper:function(ut){return(0,_e.Z)((0,_e.Z)({},ut),{},{valueEntities:new Map})},processEntity:function(ut,bn){var Ln=ut.node[Dn.value];if(0)var Hn;bn.valueEntities.set(Ln,ut)}});return oa},[qt,Dn])},z=ee(4635),te=ee(11592),re=function(){return null},se=re,ie=["children","value"];function ve(qt){return(0,te.Z)(qt).map(function(Dn){if(!ue.isValidElement(Dn)||!Dn.type)return null;var oa=Dn,wa=oa.key,ut=oa.props,bn=ut.children,Ln=ut.value,Hn=(0,le.Z)(ut,ie),pn=(0,_e.Z)({key:wa,value:Ln},Hn),ia=ve(bn);return ia.length&&(pn.children=ia),pn}).filter(function(Dn){return Dn})}function ye(qt){if(!qt)return qt;var Dn=(0,_e.Z)({},qt);return"props"in Dn||Object.defineProperty(Dn,"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."),Dn}}),Dn}function Ge(qt,Dn,oa,wa,ut,bn){var Ln=null,Hn=null;function pn(){function ia(Sa){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Tt=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(Aa){return Aa.node}));if(Dn===Gn&&(Ln=Xn),ir){var $a={pos:Yn,node:Xn,children:Ba};return Tt||Hn.push($a),$a}return null}).filter(function(bt){return bt})}Hn||(Hn=[],ia(wa),Hn.sort(function(Sa,It){var Tt=Sa.node.props.value,bt=It.node.props.value,Qn=oa.indexOf(Tt),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?Hn:Hn.map(function(Sa){var It=Sa.node;return It})}})}var De=function(qt,Dn,oa){var wa=oa.treeNodeFilterProp,ut=oa.filterTreeNode,bn=oa.fieldNames,Ln=bn.children;return ue.useMemo(function(){if(!Dn||ut===!1)return qt;var Hn;if(typeof ut=="function")Hn=ut;else{var pn=Dn.toUpperCase();Hn=function(It,Tt){var bt=Tt[wa];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(Tt,bt){var Qn=bt[Ln],Yn=It||Hn(Dn,ye(bt)),Gn=ia(Qn||[],Yn);return(Yn||Gn.length)&&Tt.push((0,_e.Z)((0,_e.Z)({},bt),{},(0,z.Z)({isLeaf:void 0},Ln,Gn))),Tt},[])}return ia(qt)},[qt,Dn,Ln,wa,ut])};function He(qt){var Dn=ue.useRef();Dn.current=qt;var oa=ue.useCallback(function(){return Dn.current.apply(Dn,arguments)},[]);return oa}function he(qt,Dn){var oa=Dn.id,wa=Dn.pId,ut=Dn.rootPId,bn={},Ln=[],Hn=qt.map(function(pn){var ia=(0,_e.Z)({},pn),Sa=ia[oa];return bn[Sa]=ia,ia.key=ia.key||Sa,ia});return Hn.forEach(function(pn){var ia=pn[wa],Sa=bn[ia];Sa&&(Sa.children=Sa.children||[],Sa.children.push(pn)),(ia===ut||!Sa&&ut===null)&&Ln.push(pn)}),Ln}function Qe(qt,Dn,oa){return ue.useMemo(function(){return qt?oa?he(qt,(0,_e.Z)({id:"id",pId:"pId",rootPId:null},oa!==!0?oa:{})):qt:ve(Dn)},[Dn,oa,qt])}var We=ue.createContext(null),ft=We,Le=ee(10228),ot=ee(80547),dt=ee(79556),gt=ue.createContext(null),wt=gt;function sn(qt){return Array.isArray(qt)?qt:qt!==void 0?[qt]:[]}function Ft(qt){var Dn=qt||{},oa=Dn.label,wa=Dn.value,ut=Dn.children,bn=wa||"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,Dn){var oa=[];function wa(ut){ut.forEach(function(bn){var Ln=bn[Dn.children];Ln&&(oa.push(bn[Dn.value]),wa(Ln))})}return wa(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(Dn,oa){var wa=(0,qe.lk)(),ut=wa.prefixCls,bn=wa.multiple,Ln=wa.searchValue,Hn=wa.toggleOpen,pn=wa.open,ia=wa.notFoundContent,Sa=ue.useContext(wt),It=Sa.virtual,Tt=Sa.listHeight,bt=Sa.listItemHeight,Qn=Sa.treeData,Yn=Sa.fieldNames,Gn=Sa.onSelect,ir=Sa.dropdownMatchSelectWidth,Ba=Sa.treeExpandAction,Xn=ue.useContext(ft),$a=Xn.checkable,Aa=Xn.checkedKeys,Nn=Xn.halfCheckedKeys,mr=Xn.treeExpandedKeys,Nr=Xn.treeDefaultExpandAll,Vr=Xn.treeDefaultExpandedKeys,xr=Xn.onTreeExpand,Ue=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,Te.Z)(Ea,2),Ha=Qa[0],Un=Qa[1],na=tn[Ha],ya=ue.useMemo(function(){return $a?{checked:Aa,halfChecked:Nn}:null},[$a,Aa,Nn]);ue.useEffect(function(){if(pn&&!bn&&Aa.length){var to;(to=Kt.current)===null||to===void 0||to.scrollTo({key:Aa[0]}),Un(Aa[0])}},[pn]);var Pa=String(Ln).toLowerCase(),vr=function(Yo){return Pa?String(Yo[Wn]).toLowerCase().includes(Pa):!1},kr=ue.useState(Vr),Ya=(0,Te.Z)(kr,2),lr=Ya[0],hr=Ya[1],Po=ue.useState(null),ri=(0,Te.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)},To=function(Yo){Yo.preventDefault()},No=function(Yo,Jo){var Lo=Jo.node;$a&&on(Lo)||(Gn(Lo.key,{selected:!Aa.includes(Lo.key)}),bn||Hn(!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,Ar=Jo.which;switch(Ar){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,ko=oi.value;Gr!==!1&&No(null,{node:{key:Ha},selected:!Aa.includes(ko)})}break}case Le.Z.ESC:Hn(!1)}},onKeyUp:function(){}}}),xa.length===0)return ue.createElement("div",{role:"listbox",className:"".concat(ut,"-empty"),onMouseDown:To},ia);var Er={fieldNames:Yn};return Ct&&(Er.loadedKeys=Ct),bo&&(Er.expandedKeys=bo),ue.createElement("div",{onMouseDown:To},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:Tt,itemHeight:bt,virtual:It!==!1&&ir!==!1,multiple:bn,icon:Ue,showIcon:Pn,switcherIcon:Jt,showLine:In,loadData:Ln?null:la,motion:xt,activeKey:Ha,checkable:$a,checkStrictly:!0,checkedKeys:ya,selectedKeys:$a?[]:Aa,defaultExpandAll:Nr},Er,{onActiveChange:Un,onSelect:No,onCheck:No,onExpand:Wo,onLoad:an,filterTreeNode:vr,expandAction:Ba})))},Kn=ue.forwardRef(rn);Kn.displayName="OptionList";var Gt=Kn,Bn="SHOW_ALL",ze="SHOW_PARENT",ct="SHOW_CHILD";function Lt(qt,Dn,oa,wa){var ut=new Set(qt);return Dn===ct?qt.filter(function(bn){var Ln=oa[bn];return!(Ln&&Ln.children&&Ln.children.some(function(Hn){var pn=Hn.node;return ut.has(pn[wa.value])})&&Ln.children.every(function(Hn){var pn=Hn.node;return on(pn)||ut.has(pn[wa.value])}))}):Dn===ze?qt.filter(function(bn){var Ln=oa[bn],Hn=Ln?Ln.parent:null;return!(Hn&&!on(Hn.node)&&ut.has(Hn.key))}):qt}function mt(qt){var Dn=qt.searchPlaceholder,oa=qt.treeCheckStrictly,wa=qt.treeCheckable,ut=qt.labelInValue,bn=qt.value,Ln=qt.multiple;warning(!Dn,"`searchPlaceholder` has been removed."),oa&&ut===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(ut||oa)&&warning(toArray(bn).every(function(Hn){return Hn&&_typeof(Hn)==="object"&&"value"in Hn}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),oa||Ln||wa?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 we=ue.forwardRef(function(qt,Dn){var oa=qt.id,wa=qt.prefixCls,ut=wa===void 0?"rc-tree-select":wa,bn=qt.value,Ln=qt.defaultValue,Hn=qt.onChange,pn=qt.onSelect,ia=qt.onDeselect,Sa=qt.searchValue,It=qt.inputValue,Tt=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,$a=qt.multiple,Aa=qt.treeCheckable,Nn=qt.treeCheckStrictly,mr=qt.labelInValue,Nr=qt.fieldNames,Vr=qt.treeDataSimpleMode,xr=qt.treeData,Ue=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,Ha=qt.onDropdownVisibleChange,Un=qt.dropdownMatchSelectWidth,na=Un===void 0?!0:Un,ya=qt.treeLine,Pa=qt.treeIcon,vr=qt.showTreeIcon,kr=qt.switcherIcon,Ya=qt.treeMotion,lr=(0,le.Z)(qt,st),hr=(0,Ke.ZP)(oa),Po=Aa&&!Nn,ri=Aa||Nn,xi=Nn||mr,ho=ri||$a,bo=(0,Je.Z)(Ln,{value:bn}),Wo=(0,Te.Z)(bo,2),To=Wo[0],No=Wo[1],Er=ue.useMemo(function(){return Aa?Ba||ct:Bn},[Ba,Aa]),to=ue.useMemo(function(){return Ft(Nr)},[JSON.stringify(Nr)]),Yo=(0,Je.Z)("",{value:Sa!==void 0?Sa:It,postState:function(za){return za||""}}),Jo=(0,Te.Z)(Yo,2),Lo=Jo[0],Ar=Jo[1],oi=function(za){Ar(za),Tt==null||Tt(za)},Gr=Qe(xr,Ue,Vr),ko=y(Gr,to),mo=ko.keyEntities,di=ko.valueEntities,vi=ue.useCallback(function(Wa){var za=[],tr=[];return Wa.forEach(function(Mr){di.has(Mr)?tr.push(Mr):za.push(Mr)}),{missingRawValues:za,existRawValues:tr}},[di]),$i=De(Gr,Lo,{fieldNames:to,treeNodeFilterProp:ir,filterTreeNode:Yn}),tl=ue.useCallback(function(Wa){if(Wa){if(Xn)return Wa[Xn];for(var za=to._title,tr=0;tr<za.length;tr+=1){var Mr=Wa[za[tr]];if(Mr!==void 0)return Mr}}},[to,Xn]),nl=ue.useCallback(function(Wa){var za=sn(Wa);return za.map(function(tr){return nt(tr)?{value:tr}:tr})},[]),Uo=ue.useCallback(function(Wa){var za=nl(Wa);return za.map(function(tr){var Mr=tr.label,Co=tr.value,$o=tr.halfChecked,Ko,ki=di.get(Co);if(ki){var Ji;Mr=(Ji=Mr)!==null&&Ji!==void 0?Ji:tl(ki.node),Ko=ki.node.disabled}else if(Mr===void 0){var al=nl(To).find(function(Zl){return Zl.value===Co});Mr=al.label}return{label:Mr,value:Co,halfChecked:$o,disabled:Ko}})},[di,tl,nl,To]),Fi=ue.useMemo(function(){return nl(To)},[nl,To]),Wi=ue.useMemo(function(){var Wa=[],za=[];return Fi.forEach(function(tr){tr.halfChecked?za.push(tr):Wa.push(tr)}),[Wa,za]},[Fi]),dl=(0,Te.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,Te.Z)(qa,2),er=Va[0],so=Va[1],Ae=ue.useMemo(function(){var Wa=Lt(er,Er,mo,to),za=Wa.map(function($o){var Ko,ki,Ji;return(Ko=(ki=mo[$o])===null||ki===void 0||(Ji=ki.node)===null||Ji===void 0?void 0:Ji[to.value])!==null&&Ko!==void 0?Ko:$o}),tr=za.map(function($o){var Ko=gl.find(function(ki){return ki.value===$o});return{value:$o,label:Ko==null?void 0:Ko.label}}),Mr=Uo(tr),Co=Mr[0];return!ho&&Co&&Ve(Co.value)&&Ve(Co.label)?[]:Mr.map(function($o){var Ko;return(0,_e.Z)((0,_e.Z)({},$o),{},{label:(Ko=$o.label)!==null&&Ko!==void 0?Ko:$o.value})})},[to,ho,er,gl,Uo,Er,mo]),hn=E(Ae),Rn=(0,Te.Z)(hn,1),ba=Rn[0],un=He(function(Wa,za,tr){var Mr=Uo(Wa);if(No(Mr),Qn&&Ar(""),Hn){var Co=Wa;if(Po){var $o=Lt(Wa,Er,mo,to);Co=$o.map(function(Nl){var xl=di.get(Nl);return xl?xl.node[to.value]:Nl})}var Ko=za||{triggerValue:void 0,selected:void 0},ki=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 Dl=Uo(al),So={preValue:gl,triggerValue:ki},yl=!0;(Nn||tr==="selection"&&!Ji)&&(yl=!1),Ge(So,ki,Wa,Gr,yl,to),ri?So.checked=Ji:So.selected=Ji;var eu=xi?Dl:Dl.map(function(Nl){return Nl.value});Hn(ho?eu:eu[0],xi?null:Dl.map(function(Nl){return Nl.label}),So)}}),Za=ue.useCallback(function(Wa,za){var tr,Mr=za.selected,Co=za.source,$o=mo[Wa],Ko=$o==null?void 0:$o.node,ki=(tr=Ko==null?void 0:Ko[to.value])!==null&&tr!==void 0?tr:Wa;if(!ho)un([ki],{selected:!0,triggerValue:ki},"option");else{var Ji=Mr?[].concat((0,Ne.Z)(_r),[ki]):er.filter(function(xl){return xl!==ki});if(Po){var al=vi(Ji),Zl=al.missingRawValues,Dl=al.existRawValues,So=Dl.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:ki},Co||"option")}Mr||!ho?pn==null||pn(ki,ye(Ko)):ia==null||ia(ki,ye(Ko))},[vi,di,mo,to,ho,_r,un,Po,pn,ia,er,so]),Na=ue.useCallback(function(Wa){if(Ha){var za={};Object.defineProperty(za,"documentClickClose",{get:function(){return(0,Ye.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Ha(Wa,za)}},[Ha]),zn=He(function(Wa,za){var tr=Wa.map(function(Mr){return Mr.value});if(za.type==="clear"){un(tr,{},"selection");return}za.values.length&&Za(za.values[0].value,{selected:!1,source:"selection"})}),qn=ue.useMemo(function(){return{virtual:tn,dropdownMatchSelectWidth:na,listHeight:xa,listItemHeight:Qa,treeData:$i,fieldNames:to,onSelect:Za,treeExpandAction:an}},[tn,na,xa,Qa,$i,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:kr,treeLine:ya,treeNodeFilterProp:ir,keyEntities:mo}},[ri,Pn,Jt,In,er,so,Wn,la,Ct,xt,Pa,Ya,vr,kr,ya,ir,mo]);return ue.createElement(wt.Provider,{value:qn},ue.createElement(ft.Provider,{value:pr},ue.createElement(qe.Ac,(0,Be.Z)({ref:Dn},lr,{id:hr,prefixCls:ut,mode:ho?"multiple":void 0,displayValues:ba,onDisplayValuesChange:zn,searchValue:Lo,onSearch:oi,OptionList:Gt,emptyOptions:!Gr.length,onDropdownVisibleChange:Na,dropdownMatchSelectWidth:na}))))}),fe=we;fe.TreeNode=se,fe.SHOW_ALL=Bn,fe.SHOW_PARENT=ze,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),An=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),wn=ee(20648);const Jn=qt=>{const{componentCls:Dn,treePrefixCls:oa,colorBgElevated:wa}=qt,ut=`.${oa}`;return[{[`${Dn}-dropdown`]:[{padding:`${qt.paddingXS}px ${qt.paddingXS/2}px`},(0,wn.Yk)(oa,(0,dn.TS)(qt,{colorBgContainer:wa})),{[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,Dn){return(0,gn.Z)("TreeSelect",oa=>{const wa=(0,dn.TS)(oa,{treePrefixCls:Dn});return[Jn(wa)]},wn.TM)(qt)}var Ra=function(qt,Dn){var oa={};for(var wa in qt)Object.prototype.hasOwnProperty.call(qt,wa)&&Dn.indexOf(wa)<0&&(oa[wa]=qt[wa]);if(qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,wa=Object.getOwnPropertySymbols(qt);ut<wa.length;ut++)Dn.indexOf(wa[ut])<0&&Object.prototype.propertyIsEnumerable.call(qt,wa[ut])&&(oa[wa[ut]]=qt[wa[ut]]);return oa};const _a=(qt,Dn)=>{var oa,{prefixCls:wa,size:ut,disabled:bn,bordered:Ln=!0,className:Hn,rootClassName:pn,treeCheckable:ia,multiple:Sa,listHeight:It=256,listItemHeight:Tt=26,placement:bt,notFoundContent:Qn,switcherIcon:Yn,treeLine:Gn,getPopupContainer:ir,popupClassName:Ba,dropdownClassName:Xn,treeIcon:$a=!1,transitionName:Aa,choiceTransitionName:Nn="",status:mr,treeExpandAction:Nr,builtinPlacements:Vr,dropdownMatchSelectWidth:xr,popupMatchSelectWidth:Ue,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",wa),Ea=Wn("select-tree",wa),Qa=Wn("tree-select",wa),{compactSize:Ha,compactItemClassnames:Un}=(0,Zt.ri)(xa,Ct),[na,ya]=(0,ln.Z)(xa),[Pa]=ha(Qa,Ea),vr=de()(Ba||Xn,`${Qa}-dropdown`,{[`${Qa}-dropdown-rtl`]:Ct==="rtl"},pn,ya),kr=!!(ia||Sa),Ya=(0,Ze.Z)(Jt.suffixIcon,Jt.showArrow),lr=(oa=Ue!=null?Ue: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:To}=(0,yt.Z)(Object.assign(Object.assign({},Jt),{multiple:kr,showSuffixIcon:Ya,hasFeedback:Po,feedbackIcon:xi,prefixCls:xa,componentName:"TreeSelect"})),No=Pn===!0?{clearIcon:To}:Pn;let Er;Qn!==void 0?Er=Qn:Er=(la==null?void 0:la("Select"))||ue.createElement(An.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:Ha)!==null&&vi!==void 0?vi:di}),Ar=ue.useContext(St.Z),oi=bn!=null?bn:Ar,Gr=de()(!wa&&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),Un,Hn,pn,ya),ko=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:Dn,prefixCls:xa,className:Gr,listHeight:It,listItemHeight:Tt,treeCheckable:ia&&ue.createElement("span",{className:`${xa}-tree-checkbox-inner`}),treeLine:!!Gn,suffixIcon:bo,multiple:kr,placement:Yo,removeIcon:Wo,allowClear:No,switcherIcon:ko,showTreeIcon:$a,notFoundContent:Er,getPopupContainer:ir||In,treeMotion:null,dropdownClassName:vr,choiceTransitionName:(0,vt.m)(Kt,"",Nn),transitionName:(0,vt.m)(Kt,"slide-up",Aa),treeExpandAction:Nr}));return na(Pa(mo))},ar=ue.forwardRef(_a),pa=(0,Ie.Z)(ar);ar.TreeNode=se,ar.SHOW_ALL=Bn,ar.SHOW_PARENT=ze,ar.SHOW_CHILD=ct,ar._InternalPanelDoNotUseOrYouWillBeFired=pa;var Br=ar},17574:function(Vt,jt,ee){"use strict";ee.d(jt,{default:function(){return wt}});var b=ee(79556),de=ee(95190),Be=ee(52671),Ne=ee(8657),_e=ee(14809),Te=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 Te.createElement(qe.Z,(0,_e.Z)({},Ft,{ref:on,icon:it}))},je=Te.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 Te.createElement("div",{style:Gt,className:`${cn}-drop-indicator`})}var ie=ee(71997),ye=Te.forwardRef((sn,Ft)=>{const{getPrefixCls:on,direction:cn,virtual:Ve,tree:at}=Te.useContext(x.E_),{prefixCls:rn,className:Kn,showIcon:Gt=!1,showLine:Bn,switcherIcon:ze,blockNode:ct=!1,children:Lt,checkable:mt=!1,selectable:Nt=!0,draggable:st,motion:nt,style:we}=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:!!Bn,dropIndicatorRender:se}),[Ie,vt]=(0,te.ZP)(fe),et=Te.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||Te.createElement(y.Z,null)),St},[st]),Me=St=>Te.createElement(ie.Z,{prefixCls:fe,switcherIcon:ze,treeNodeProps:St,showLine:Bn});return Ie(Te.createElement(b.Z,Object.assign({itemHeight:20,ref:Ft,virtual:Ve},Oe,{style:Object.assign(Object.assign({},at==null?void 0:at.style),we),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&&Te.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 De(sn,Ft){function on(cn){const{key:Ve,children:at}=cn;Ft(Ve,cn)!==!1&&De(at||[],Ft)}sn.forEach(on)}function He(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 De(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 De(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?Te.createElement(Be.Z,null):on?Te.createElement(Ne.Z,null):Te.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=Te.useRef(),Kn=Te.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},[Bn,ze]=Te.useState(at.selectedKeys||at.defaultSelectedKeys||[]),[ct,Lt]=Te.useState(()=>Gt());Te.useEffect(()=>{"selectedKeys"in at&&ze(at.selectedKeys)},[at.selectedKeys]),Te.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:An}=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;An&&yt?(Bt=et,rn.current=ln,Kn.current=Bt,Ze.selectedNodes=he(Cn,Bt)):An&&Zt?(Bt=Array.from(new Set([].concat((0,de.Z)(Kn.current||[]),(0,de.Z)(He({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||ze(Bt)},{getPrefixCls:st,direction:nt}=Te.useContext(x.E_),{prefixCls:we,className:fe,showIcon:Xe=!0,expandAction:Rt="click"}=at,Oe=Qe(at,["prefixCls","className","showIcon","expandAction"]),Ie=st("tree",we),vt=ue()(`${Ie}-directory`,{[`${Ie}-directory-rtl`]:nt==="rtl"},fe);return Te.createElement(ye,Object.assign({icon:We,ref:Ft,blockNode:!0},Oe,{showIcon:Xe,expandAction:Rt,prefixCls:Ie,className:vt,expandedKeys:ct,selectedKeys:Bn,onSelect:Nt,onExpand:mt}))};var dt=Te.forwardRef(Le);const gt=ye;gt.DirectoryTree=dt,gt.TreeNode=b.O;var wt=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),Te=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,Te.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(14809),de=ee(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Ne=Be,_e=ee(7657),Te=function(z,te){return de.createElement(_e.Z,(0,b.Z)({},z,{ref:te,icon:Ne}))},le=de.forwardRef(Te),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 De=`${z}-switcher-icon`,He=typeof te=="function"?te(re):te;return(0,E.l$)(He)?(0,E.Tm)(He,{className:ue()(He.props.className||"",De)}):He!==void 0?He:se?ve?de.createElement(je.Z,{className:`${z}-switcher-line-icon`}):de.createElement(Je.Z,{className:`${z}-switcher-line-icon`}):de.createElement(it,{className:De})}},54580:function(Vt,jt,ee){"use strict";ee.d(jt,{default:function(){return xr}});var b=ee(59301),de=ee(95190),Be=ee(92310),Ne=ee.n(Be),_e=ee(14809),Te=ee(99153),le=ee(84851),it=ee(19257),qe=ee(93046),Ke=ee(4635),je=ee(62646),Je=ee(70539),Ye=ee(93664),ue=ee(95764),E=ee(26112);function a(Ue,Pn){var Jt="cannot ".concat(Ue.method," ").concat(Ue.action," ").concat(Pn.status,"'"),In=new Error(Jt);return In.status=Pn.status,In.method=Ue.method,In.url=Ue.action,In}function x(Ue){var Pn=Ue.responseText||Ue.response;if(!Pn)return Pn;try{return JSON.parse(Pn)}catch(Jt){return Pn}}function y(Ue){var Pn=new XMLHttpRequest;Ue.onProgress&&Pn.upload&&(Pn.upload.onprogress=function(la){la.total>0&&(la.percent=la.loaded/la.total*100),Ue.onProgress(la)});var Jt=new FormData;Ue.data&&Object.keys(Ue.data).forEach(function(Wn){var la=Ue.data[Wn];if(Array.isArray(la)){la.forEach(function(Ct){Jt.append("".concat(Wn,"[]"),Ct)});return}Jt.append(Wn,la)}),Ue.file instanceof Blob?Jt.append(Ue.filename,Ue.file,Ue.file.name):Jt.append(Ue.filename,Ue.file),Pn.onerror=function(la){Ue.onError(la)},Pn.onload=function(){return Pn.status<200||Pn.status>=300?Ue.onError(a(Ue,Pn),x(Pn)):Ue.onSuccess(x(Pn),Pn)},Pn.open(Ue.method,Ue.action,!0),Ue.withCredentials&&"withCredentials"in Pn&&(Pn.withCredentials=!0);var In=Ue.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(Ue,Pn){if(Ue&&Pn){var Jt=Array.isArray(Pn)?Pn:Pn.split(","),In=Ue.name||"",Wn=Ue.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(Ue,Pn){var Jt=Ue.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,De=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],He=function(Ue){(0,it.Z)(Jt,Ue);var Pn=(0,qe.Z)(Jt);function Jt(){var In;(0,Te.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,Ha=Ea.parsedFile;return{file:Qa,parsedFile:Ha}})),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,Ha,Un,na,ya,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:Ha=Ya.sent,Ya.next=22;break;case 21:Ha=Qa;case 22:if(Un=In.props.data,typeof Un!="function"){Ya.next=29;break}return Ya.next=26,Un(tn);case 26:na=Ya.sent,Ya.next=30;break;case 29:na=Un;case 30:return ya=((0,Ye.Z)(Ea)==="object"||typeof Ea=="string")&&Ea?Ea:tn,ya instanceof File?Pa=ya:Pa=new File([ya],tn.name,{type:tn.type}),vr=Pa,vr.uid=tn.uid,Ya.abrupt("return",{origin:tn,data:na,parsedFile:vr,action:Ha});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,Ha=Kt.headers,Un=Kt.withCredentials,na=Kt.method,ya=xt.uid,Pa=Ea||y,vr={action:an,filename:Qa,data:Ct,file:tn,headers:Ha,withCredentials:Un,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[ya]},onError:function(Ya,lr){var hr=la.props.onError;hr==null||hr(Ya,lr,tn),delete la.reqs[ya]}};xa(xt),this.reqs[ya]=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,Ha=Wn.children,Un=Wn.directory,na=Wn.openFileDialogOnClick,ya=Wn.onMouseEnter,Pa=Wn.onMouseLeave,vr=(0,je.Z)(Wn,De),kr=Ne()((0,Ke.Z)((0,Ke.Z)((0,Ke.Z)({},Ct,!0),"".concat(Ct,"-disabled"),an),xt,xt)),Ya=Un?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},lr=an?{}:{onClick:na?this.onClick:function(){},onKeyDown:na?this.onKeyDown:function(){},onMouseEnter:ya,onMouseLeave:Pa,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return b.createElement(la,(0,_e.Z)({},lr,{className:kr,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}:{})),Ha)}}]),Jt}(b.Component),he=He;function Qe(){}var We=function(Ue){(0,it.Z)(Jt,Ue);var Pn=(0,qe.Z)(Jt);function Jt(){var In;(0,Te.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),wt=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),Bn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},ze=Bn,ct=function(Pn,Jt){return b.createElement(Ve.Z,(0,_e.Z)({},Pn,{ref:Jt,icon:ze}))},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}))},we=b.forwardRef(nt),fe=we,Xe=ee(77900),Rt=ee(56762),Oe=ee(62892),Ie=ee(92343),vt=ee(3113);function et(Ue){return Object.assign(Object.assign({},Ue),{lastModified:Ue.lastModified,lastModifiedDate:Ue.lastModifiedDate,name:Ue.name,size:Ue.size,type:Ue.type,uid:Ue.uid,percent:0,originFileObj:Ue})}function Me(Ue,Pn){const Jt=(0,de.Z)(Pn),In=Jt.findIndex(Wn=>{let{uid:la}=Wn;return la===Ue.uid});return In===-1?Jt.push(Ue):Jt[In]=Ue,Jt}function St(Ue,Pn){const Jt=Ue.uid!==void 0?"uid":"name";return Pn.filter(In=>In[Jt]===Ue[Jt])[0]}function An(Ue,Pn){const Jt=Ue.uid!==void 0?"uid":"name",In=Pn.filter(Wn=>Wn[Jt]!==Ue[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=Ue=>Ue.indexOf("image/")===0,ln=Ue=>{if(Ue.type&&!Ue.thumbUrl)return fn(Ue.type);const Pn=Ue.thumbUrl||Ue.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(Ue){return new Promise(Pn=>{if(!Ue.type||!fn(Ue.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",Ue.type.startsWith("image/svg+xml")){const la=new FileReader;la.onload=()=>{la.result&&(Wn.src=la.result)},la.readAsDataURL(Ue)}else if(Ue.type.startsWith("image/gif")){const la=new FileReader;la.onload=()=>{la.result&&Pn(la.result)},la.readAsDataURL(Ue)}else Wn.src=window.URL.createObjectURL(Ue)})}var yt=ee(26227),Zt=ee(41464),Bt=ee(15277),Mt=ee(93948),dn=ee(6848),wn=b.forwardRef((Ue,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:Ha,showRemoveIcon:Un,showDownloadIcon:na,previewIcon:ya,removeIcon:Pa,downloadIcon:vr,onPreview:kr,onDownload:Ya,onClose:lr}=Ue;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 Uo=setTimeout(()=>{Wo(!0)},300);return()=>{clearTimeout(Uo)}},[]);const To=Kt(xt);let No=b.createElement("div",{className:`${Jt}-icon`},To);if(Ct==="picture"||Ct==="picture-card"||Ct==="picture-circle")if(xi==="uploading"||!xt.thumbUrl&&!xt.url){const Uo=Ne()(`${Jt}-list-item-thumbnail`,{[`${Jt}-list-item-file`]:xi!=="uploading"});No=b.createElement("div",{className:Uo},To)}else{const Uo=Qa!=null&&Qa(xt)?b.createElement("img",{src:xt.thumbUrl||xt.url,alt:xt.name,className:`${Jt}-list-item-image`,crossOrigin:xt.crossOrigin}):To,Fi=Ne()(`${Jt}-list-item-thumbnail`,{[`${Jt}-list-item-file`]:Qa&&!Qa(xt)});No=b.createElement("a",{className:Fi,onClick:Wi=>kr(xt,Wi),href:xt.url||xt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Uo)}const Er=Ne()(`${Jt}-list-item`,`${Jt}-list-item-${xi}`),to=typeof xt.linkProps=="string"?JSON.parse(xt.linkProps):xt.linkProps,Yo=Un?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),Ar=Ne()(`${Jt}-list-item-name`),oi=xt.url?[b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Ar,title:xt.name},to,{href:xt.url,onClick:Uo=>kr(xt,Uo)}),xt.name),Lo]:[b.createElement("span",{key:"view",className:Ar,onClick:Uo=>kr(xt,Uo),title:xt.name},xt.name),Lo],Gr={pointerEvents:"none",opacity:.5},ko=Ha?b.createElement("a",{href:xt.url||xt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:xt.url||xt.thumbUrl?void 0:Gr,onClick:Uo=>kr(xt,Uo),title:la.previewFile},typeof ya=="function"?ya(xt):ya||b.createElement(Bt.Z,null)):null,mo=(Ct==="picture-card"||Ct==="picture-circle")&&xi!=="uploading"&&b.createElement("span",{className:`${Jt}-list-item-actions`},ko,xi==="done"&&Jo,Yo),{getPrefixCls:di}=b.useContext(gt.E_),vi=di(),$i=b.createElement("div",{className:Er},No,oi,mo,bo&&b.createElement(Xe.default,{motionName:`${vi}-fade`,visible:xi==="uploading",motionDeadline:2e3},Uo=>{let{className:Fi}=Uo;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:Uo=>Uo.parentNode},$i):$i;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:kr.bind(null,xt),remove:lr.bind(null,xt)}):nl)});const Jn=(Ue,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:Ha=!1,removeIcon:Un,previewIcon:na,downloadIcon:ya,progress:Pa={size:[-1,2],showInfo:!1},appendAction:vr,appendActionVisible:kr=!0,itemRender:Ya,disabled:lr}=Ue,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(ko=>{Gr.thumbUrl=ko||"",hr()}))})},[Jt,xa,In]),b.useEffect(()=>{ri(!0)},[]);const xi=(Gr,ko)=>{if(Wn)return ko==null||ko.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 ko=Gr.status==="uploading",mo=tn&&tn(Gr)?b.createElement(fe,null):b.createElement(Kn,null);let di=ko?b.createElement(Gt.Z,null):b.createElement(mt,null);return Jt==="picture"?di=ko?b.createElement(Gt.Z,null):mo:(Jt==="picture-card"||Jt==="picture-circle")&&(di=ko?xt.uploading:mo),di},To=(Gr,ko,mo,di)=>{const vi={type:"text",size:"small",title:di,onClick:$i=>{ko(),(0,Ie.l$)(Gr)&&Gr.props.onClick&&Gr.props.onClick($i)},className:`${mo}-list-item-action`,disabled:lr};if((0,Ie.l$)(Gr)){const $i=(0,Ie.Tm)(Gr,Object.assign(Object.assign({},Gr.props),{onClick:()=>{}}));return b.createElement(vt.ZP,Object.assign({},vi,{icon:$i}))}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 Ar={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"&&(Ar=Object.assign(Object.assign({},oi),Ar)),b.createElement("div",{className:Yo},b.createElement(Xe.CSSMotionList,Object.assign({},Ar,{component:!1}),Gr=>{let{key:ko,file:mo,className:di,style:vi}=Gr;return b.createElement(wn,{key:ko,locale:xt,prefixCls:Er,className:di,style:vi,file:mo,items:xa,progress:Pa,listType:Jt,isImgUrl:tn,showPreviewIcon:Ea,showRemoveIcon:Qa,showDownloadIcon:Ha,removeIcon:Un,previewIcon:na,downloadIcon:ya,iconRender:Wo,actionIconRender:To,itemRender:Ya,onPreview:xi,onDownload:ho,onClose:bo})}),vr&&b.createElement(Xe.default,Object.assign({},Ar,{visible:kr,forceRender:!0}),Gr=>{let{className:ko,style:mo}=Gr;return(0,Ie.Tm)(vr,di=>({className:Ne()(di.className,ko),style:Object.assign(Object.assign(Object.assign({},mo),{pointerEvents:ko?"none":void 0}),di.style)}))}))};var Ra=b.forwardRef(Jn),_a=ee(17313),gr=ee(8378),ar=ee(83116),pa=ee(37613),qt=Ue=>{const{componentCls:Pn,iconCls:Jt}=Ue;return{[`${Pn}-wrapper`]:{[`${Pn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ue.colorFillAlter,border:`${Ue.lineWidth}px dashed ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ue.motionDurationSlow}`,[Pn]:{padding:`${Ue.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:Ue.colorPrimaryHover},[`p${Pn}-drag-icon`]:{marginBottom:Ue.margin,[Jt]:{color:Ue.colorPrimary,fontSize:Ue.uploadThumbnailSize}},[`p${Pn}-text`]:{margin:`0 0 ${Ue.marginXXS}px`,color:Ue.colorTextHeading,fontSize:Ue.fontSizeLG},[`p${Pn}-hint`]:{color:Ue.colorTextDescription,fontSize:Ue.fontSize},[`&${Pn}-disabled`]:{cursor:"not-allowed",[`p${Pn}-drag-icon ${Jt},
p${Pn}-text,
p${Pn}-hint
`]:{color:Ue.colorTextDisabled}}}}}},oa=Ue=>{const{componentCls:Pn,antCls:Jt,iconCls:In,fontSize:Wn,lineHeight:la}=Ue,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:Ue.lineHeight,[Ct]:{position:"relative",height:Ue.lineHeight*Wn,marginTop:Ue.marginXS,fontSize:Wn,display:"flex",alignItems:"center",transition:`background-color ${Ue.motionDurationSlow}`,"&:hover":{backgroundColor:Ue.controlItemBgHover},[`${Ct}-name`]:Object.assign(Object.assign({},_a.vS),{padding:`0 ${Ue.paddingXS}px`,lineHeight:la,flex:"auto",transition:`all ${Ue.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:Ue.actionsColor,transition:`all ${Ue.motionDurationSlow}`},[`&:hover ${In}`]:{color:Ue.colorText}},[`${Pn}-icon ${In}`]:{color:Ue.colorTextDescription,fontSize:Wn},[`${Ct}-progress`]:{position:"absolute",bottom:-Ue.uploadProgressOffset,width:"100%",paddingInlineStart:Wn+Ue.paddingXS,fontSize:Wn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Ct}:hover ${an}`]:{opacity:1,color:Ue.colorText},[`${Ct}-error`]:{color:Ue.colorError,[`${Ct}-name, ${Pn}-icon ${In}`]:{color:Ue.colorError},[xt]:{[`${In}, ${In}:hover`]:{color:Ue.colorError},[an]:{opacity:1}}},[`${Pn}-list-item-container`]:{transition:`opacity ${Ue.motionDurationSlow}, height ${Ue.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},wa=ee(93083),ut=ee(1950);const bn=new wa.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Ln=new wa.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var pn=Ue=>{const{componentCls:Pn}=Ue,Jt=`${Pn}-animate-inline`;return[{[`${Pn}-wrapper`]:{[`${Jt}-appear, ${Jt}-enter, ${Jt}-leave`]:{animationDuration:Ue.motionDurationSlow,animationTimingFunction:Ue.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Jt}-appear, ${Jt}-enter`]:{animationName:bn},[`${Jt}-leave`]:{animationName:Ln}}},{[`${Pn}-wrapper`]:(0,ut.J$)(Ue)},bn,Ln]},ia=ee(30071),Sa=ee(64993);const It=Ue=>{const{componentCls:Pn,iconCls:Jt,uploadThumbnailSize:In,uploadProgressOffset:Wn}=Ue,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+Ue.lineWidth*2+Ue.paddingXS*2,padding:Ue.paddingXS,border:`${Ue.lineWidth}px ${Ue.lineType} ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusLG,"&:hover":{background:"transparent"},[`${Ct}-thumbnail`]:Object.assign(Object.assign({},_a.vS),{width:In,height:In,lineHeight:`${In+Ue.paddingSM}px`,textAlign:"center",flex:"none",[Jt]:{fontSize:Ue.fontSizeHeading2,color:Ue.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Ct}-progress`]:{bottom:Wn,width:`calc(100% - ${Ue.paddingSM*2}px)`,marginTop:0,paddingInlineStart:In+Ue.paddingXS}},[`${Ct}-error`]:{borderColor:Ue.colorError,[`${Ct}-thumbnail ${Jt}`]:{[`svg path[fill='${ia.blue[0]}']`]:{fill:Ue.colorErrorBg},[`svg path[fill='${ia.blue.primary}']`]:{fill:Ue.colorError}}},[`${Ct}-uploading`]:{borderStyle:"dashed",[`${Ct}-name`]:{marginBottom:Wn}}},[`${la}${la}-picture-circle ${Ct}`]:{[`&, &::before, ${Ct}-thumbnail`]:{borderRadius:"50%"}}}}},Tt=Ue=>{const{componentCls:Pn,iconCls:Jt,fontSizeLG:In,colorTextLightSolid:Wn}=Ue,la=`${Pn}-list`,Ct=`${la}-item`,xt=Ue.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:Ue.marginXS,marginBottom:Ue.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Ue.colorFillAlter,border:`${Ue.lineWidth}px dashed ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ue.motionDurationSlow}`,[`> ${Pn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Pn}-disabled):hover`]:{borderColor:Ue.colorPrimary}},[`${la}${la}-picture-card, ${la}${la}-picture-circle`]:{[`${la}-item-container`]:{display:"inline-block",width:xt,height:xt,marginBlock:`0 ${Ue.marginXS}px`,marginInline:`0 ${Ue.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Ct]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Ue.paddingXS*2}px)`,height:`calc(100% - ${Ue.paddingXS*2}px)`,backgroundColor:Ue.colorBgMask,opacity:0,transition:`all ${Ue.motionDurationSlow}`,content:'" "'}},[`${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 ${Ue.motionDurationSlow}`,[`${Jt}-eye, ${Jt}-download, ${Jt}-delete`]:{zIndex:10,width:In,margin:`0 ${Ue.marginXXS}px`,fontSize:In,cursor:"pointer",transition:`all ${Ue.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:Ue.margin,display:"block",width:`calc(100% - ${Ue.paddingXS*2}px)`},[`${Ct}-uploading`]:{[`&${Ct}`]:{backgroundColor:Ue.colorFillAlter},[`&::before, ${Jt}-eye, ${Jt}-download, ${Jt}-delete`]:{display:"none"}},[`${Ct}-progress`]:{bottom:Ue.marginXL,width:`calc(100% - ${Ue.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Pn}-wrapper${Pn}-picture-circle-wrapper`]:{[`${Pn}${Pn}-select`]:{borderRadius:"50%"}}}};var Qn=Ue=>{const{componentCls:Pn}=Ue;return{[`${Pn}-rtl`]:{direction:"rtl"}}};const Yn=Ue=>{const{componentCls:Pn,colorTextDisabled:Jt}=Ue;return{[`${Pn}-wrapper`]:Object.assign(Object.assign({},(0,_a.Wf)(Ue)),{[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",Ue=>{const{fontSizeHeading3:Pn,fontSize:Jt,lineHeight:In,lineWidth:Wn,controlHeightLG:la}=Ue,Ct=Math.round(Jt*In),xt=(0,pa.TS)(Ue,{uploadThumbnailSize:Pn*2,uploadProgressOffset:Ct/2+Wn,uploadPicCardSize:la*2.55});return[Yn(xt),qt(xt),It(xt),Tt(xt),oa(xt),pn(xt),Qn(xt),(0,gr.Z)(xt)]},Ue=>({actionsColor:Ue.colorTextDescription})),ir=function(Ue,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(Ue,Pn||[])).next())})};const Ba=`__LIST_IGNORE_${Date.now()}__`,Xn=(Ue,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:Ha,isImageUrl:Un,progress:na,prefixCls:ya,className:Pa,type:vr="select",children:kr,style:Ya,itemRender:lr,maxCount:hr,data:Po={},multiple:ri=!1,action:xi="",accept:ho="",supportServerRender:bo=!0,rootClassName:Wo}=Ue,To=b.useContext(wt.Z),No=Ea!=null?Ea:To,[Er,to]=(0,ot.Z)(In||[],{value:Jt,postState:zn=>zn!=null?zn:[]}),[Yo,Jo]=b.useState("drop"),Lo=b.useRef(null);b.useMemo(()=>{const zn=Date.now();(Jt||[]).forEach((qn,pr)=>{!qn.uid&&!Object.isFrozen(qn)&&(qn.uid=`__AUTO__${zn}_${pr}__`)})},[Jt]);const Ar=(zn,qn,pr)=>{let Wa=(0,de.Z)(qn),za=!1;hr===1?Wa=Wa.slice(-1):hr&&(za=Wa.length>hr,Wa=Wa.slice(0,hr)),(0,dt.flushSync)(()=>{to(Wa)});const tr={file:zn,fileList:Wa};pr&&(tr.event=pr),(!za||Wa.some(Mr=>Mr.uid===zn.uid))&&(0,dt.flushSync)(()=>{tn==null||tn(tr)})},oi=(zn,qn)=>ir(void 0,void 0,void 0,function*(){const{beforeUpload:pr,transformFile:Wa}=Ue;let za=zn;if(pr){const tr=yield pr(zn,qn);if(tr===!1)return!1;if(delete zn[Ba],tr===Ba)return Object.defineProperty(zn,Ba,{value:!0,configurable:!0}),!1;typeof tr=="object"&&tr&&(za=tr)}return Wa&&(za=yield Wa(za)),za}),Gr=zn=>{const qn=zn.filter(za=>!za.file[Ba]);if(!qn.length)return;const pr=qn.map(za=>et(za.file));let Wa=(0,de.Z)(Er);pr.forEach(za=>{Wa=Me(za,Wa)}),pr.forEach((za,tr)=>{let Mr=za;if(qn[tr].parsedFile)za.status="uploading";else{const{originFileObj:Co}=za;let $o;try{$o=new File([Co],Co.name,{type:Co.type})}catch(Ko){$o=new Blob([Co],{type:Co.type}),$o.name=Co.name,$o.lastModifiedDate=new Date,$o.lastModified=new Date().getTime()}$o.uid=za.uid,Mr=$o}Ar(Mr,Wa)})},ko=(zn,qn,pr)=>{try{typeof zn=="string"&&(zn=JSON.parse(zn))}catch(tr){}if(!St(qn,Er))return;const Wa=et(qn);Wa.status="done",Wa.percent=100,Wa.response=zn,Wa.xhr=pr;const za=Me(Wa,Er);Ar(Wa,za)},mo=(zn,qn)=>{if(!St(qn,Er))return;const pr=et(qn);pr.status="uploading",pr.percent=zn.percent;const Wa=Me(pr,Er);Ar(pr,Wa,zn)},di=(zn,qn,pr)=>{if(!St(pr,Er))return;const Wa=et(pr);Wa.error=zn,Wa.response=qn,Wa.status="error";const za=Me(Wa,Er);Ar(Wa,za)},vi=zn=>{let qn;Promise.resolve(typeof Wn=="function"?Wn(zn):Wn).then(pr=>{var Wa;if(pr===!1)return;const za=An(zn,Er);za&&(qn=Object.assign(Object.assign({},zn),{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),Ar(qn,za))})},$i=zn=>{Jo(zn.type),zn.type==="drop"&&(Kt==null||Kt(zn))};b.useImperativeHandle(Pn,()=>({onBatchStart:Gr,onSuccess:ko,onProgress:mo,onError:di,fileList:Er,upload:Lo.current}));const{getPrefixCls:tl,direction:nl,upload:Uo}=b.useContext(gt.E_),Fi=tl("upload",ya),Wi=Object.assign(Object.assign({onBatchStart:Gr,onError:di,onProgress:mo,onSuccess:ko},Ue),{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,(!kr||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:Ae}=typeof la=="boolean"?{}:la,hn=(zn,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:Ae,iconRender:Ha,locale:Object.assign(Object.assign({},Pl),Qa),isImageUrl:Un,progress:na,appendAction:zn,appendActionVisible:qn,itemRender:lr,disabled:No}):zn,Rn=Ne()(`${Fi}-wrapper`,Pa,Wo,gl,Uo==null?void 0:Uo.className,{[`${Fi}-rtl`]:nl==="rtl",[`${Fi}-picture-card-wrapper`]:Ct==="picture-card",[`${Fi}-picture-circle-wrapper`]:Ct==="picture-circle"}),ba=Object.assign(Object.assign({},Uo==null?void 0:Uo.style),Ya);if(vr==="drag"){const zn=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:zn,style:ba,onDrop:$i,onDragOver:$i,onDragLeave:$i},b.createElement(Le,Object.assign({},Wi,{ref:Lo,className:`${Fi}-btn`}),b.createElement("div",{className:`${Fi}-drag-container`},kr))),hn()))}const un=Ne()(Fi,`${Fi}-select`,{[`${Fi}-disabled`]:No}),Na=(zn=>b.createElement("div",{className:un,style:zn},b.createElement(Le,Object.assign({},Wi,{ref:Lo}))))(kr?void 0:{display:"none"});return dl(Ct==="picture-card"||Ct==="picture-circle"?b.createElement("span",{className:Rn},hn(Na,!!kr)):b.createElement("span",{className:Rn},Na,hn()))};var Aa=b.forwardRef(Xn),Nn=function(Ue,Pn){var Jt={};for(var In in Ue)Object.prototype.hasOwnProperty.call(Ue,In)&&Pn.indexOf(In)<0&&(Jt[In]=Ue[In]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wn=0,In=Object.getOwnPropertySymbols(Ue);Wn<In.length;Wn++)Pn.indexOf(In[Wn])<0&&Object.prototype.propertyIsEnumerable.call(Ue,In[Wn])&&(Jt[In[Wn]]=Ue[In[Wn]]);return Jt},Nr=b.forwardRef((Ue,Pn)=>{var{style:Jt,height:In}=Ue,Wn=Nn(Ue,["style","height"]);return b.createElement(Aa,Object.assign({ref:Pn},Wn,{type:"drag",style:Object.assign(Object.assign({},Jt),{height:In})}))});const Vr=Aa;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",Te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=function(We){for(var ft={},Le=0,ot=We.length;Le<ot;Le++)ft[We.charAt(Le)]=Le;return ft}(Te),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=[Te.charAt(Le>>>18),Te.charAt(Le>>>12&63),ft>=2?"=":Te.charAt(Le>>>6&63),ft>=1?"=":Te.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],wt=We[ot+1],sn=We[ot+2],Ft=gt<<16|wt<<8|sn;Le+=Te.charAt(Ft>>>18)+Te.charAt(Ft>>>12&63)+(typeof wt!="undefined"?Te.charAt(Ft>>>6&63):"=")+(typeof sn!="undefined"?Te.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,"")},De=function(We){return ye(Ge(We))},He;Be.Uint8Array&&(He=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:De,toBase64:a,utob:je,encode:a,encodeURI:x,btou:re,decode:De,noConflict:he,fromUint8Array:y,toUint8Array:He},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 De(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(14809),de=ee(4635),Be=ee(62646),Ne=ee(20439),_e=ee(99153),Te=ee(84851),le=ee(13028),it=ee(19257),qe=ee(93046),Ke=ee(92310),je=ee.n(Ke),Je=ee(26112),Ye=ee(59301),ue=ee(39378),E=function(De){for(var He=De.prefixCls,he=De.level,Qe=De.isStart,We=De.isEnd,ft="".concat(He,"-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(He,"-indent")},Le)},a=Ye.memo(E),x=ee(67841),y=ee(71430),z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],te="open",re="close",se="---",ie=function(Ge){(0,it.Z)(He,Ge);var De=(0,qe.Z)(He);function He(){var he;(0,_e.Z)(this,He);for(var Qe=arguments.length,We=new Array(Qe),ft=0;ft<Qe;ft++)We[ft]=arguments[ft];return he=De.call.apply(De,[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,wt=he.props.context.onNodeCheck;if(!(!he.isCheckable()||dt)){var sn=!gt;wt(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,wt=he.hasChildren();return ot===!1?!1:ot||!gt&&!wt||gt&&dt&&!wt},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,wt=he.props.context,sn=wt.loadData,Ft=wt.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)),wt=he.renderSwitcherIconDom(!1);return wt!==!1?Ye.createElement("span",{onClick:he.onExpand,className:gt},wt):null},he.renderCheckbox=function(){var Le=he.props,ot=Le.checked,dt=Le.halfChecked,gt=Le.disableCheckbox,wt=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(wt,"-checkbox"),ot&&"".concat(wt,"-checkbox-checked"),!ot&&dt&&"".concat(wt,"-checkbox-indeterminate"),(sn||gt)&&"".concat(wt,"-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,wt=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,Bn=he.isDisabled(),ze="".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(ze),"".concat(ze,"-").concat(he.getNodeState()||"normal"),!Bn&&(wt||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,wt=gt.draggable,sn=gt.dropLevelOffset,Ft=gt.dropPosition,on=gt.prefixCls,cn=gt.indent,Ve=gt.dropIndicatorRender,at=gt.dragOverNodeKey,rn=gt.direction,Kn=!!wt,Gt=!ot&&Kn&&at===dt,Bn=cn!=null?cn:he.cacheIndent;return he.cacheIndent=cn,Gt?Ve({dropPosition:Ft,dropLevelOffset:sn,indent:Bn,prefixCls:on,direction:rn}):null},he}return(0,Te.Z)(He,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Qe=this.props.selectable,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,wt=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,Bn=We.active,ze=We.data,ct=We.onMouseMove,Lt=We.selectable,mt=(0,Be.Z)(We,z),Nt=this.props.context,st=Nt.prefixCls,nt=Nt.filterTreeNode,we=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)(we,ft)||{},et=vt.level,Me=on[on.length-1],St=this.isDraggable(),An=!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"),Bn),(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&&wt),(0,de.Z)(Qe,"filter-node",nt&&nt((0,y.F)(this.props))),Qe)),style:ot,draggable:An,"aria-grabbed":nn,onDragStart:An?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())}}]),He}(Ye.Component),ve=function(De){return Ye.createElement(ue.k.Consumer,null,function(He){return Ye.createElement(ie,(0,b.Z)({},De,{context:He}))})};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)},79556:function(Vt,jt,ee){"use strict";ee.d(jt,{O:function(){return ye.Z},Z:function(){return Nt}});var b=ee(14809),de=ee(4635),Be=ee(93664),Ne=ee(20439),_e=ee(95190),Te=ee(99153),le=ee(84851),it=ee(13028),qe=ee(19257),Ke=ee(93046),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,we=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=-we*fe;break;case 1:Xe.bottom=0,Xe.left=-we*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(50298),re=ee(62646),se=ee(34280),ie=ee(6790),ve=ee(77900),ye=ee(39417);function Ge(st,nt){var we=a.useState(!1),fe=(0,te.Z)(we,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 De=ee(71430),He=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],he=function(nt,we){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,An=(0,re.Z)(nt,He),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:we,visible:ln},Rt,{motionAppear:Ie==="show",onVisibleChanged:gn}),function(wn,Jn){var ha=wn.className,Ra=wn.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 Dn=(0,De.H8)(pa,St);return a.createElement(ye.Z,(0,b.Z)({},gr,Dn,{title:ar,active:Me,data:_a.data,key:pa,isStart:Br,isEnd:qt}))}))}):a.createElement(ye.Z,(0,b.Z)({domRef:we,className:fe,style:Xe},An,{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]:[],we=st.length,fe=nt.length;if(Math.abs(we-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 we<fe?{add:!0,key:Xe(st,nt)}:{add:!1,key:Xe(nt,st)}}function Le(st,nt,we){var fe=st.findIndex(function(Ie){return Ie.key===we}),Xe=st[fe+1],Rt=nt.findIndex(function(Ie){return Ie.key===we});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(){},wt="RC_TREE_MOTION_".concat(Math.random()),sn={key:wt},Ft={key:wt,level:0,index:0,pos:"0",node:sn,nodes:[sn]},on={parent:null,children:[],pos:Ft.pos,data:sn,title:null,key:wt,isStart:[],isEnd:[]};function cn(st,nt,we,fe){return nt===!1||!we?st:st.slice(0,Math.ceil(we/fe)+1)}function Ve(st){var nt=st.key,we=st.pos;return(0,De.km)(nt,we)}function at(st){for(var nt=String(st.data.key),we=st;we.parent;)we=we.parent,nt="".concat(we.data.key," > ").concat(nt);return nt}var rn=a.forwardRef(function(st,nt){var we=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,An=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,wn=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 Dn=a.useState(Oe),oa=(0,te.Z)(Dn,2),wa=oa[0],ut=oa[1],bn=a.useState(fe),Ln=(0,te.Z)(bn,2),Hn=Ln[0],pn=Ln[1],ia=a.useState(fe),Sa=(0,te.Z)(ia,2),It=Sa[0],Tt=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],$a=Ba[1],Aa=a.useRef(fe);Aa.current=fe;function Nn(){var Vr=Aa.current;pn(Vr),Tt(Vr),Gn([]),$a(null),ar()}(0,se.Z)(function(){ut(Oe);var Vr=ft(wa,Oe);if(Vr.key!==null)if(Vr.add){var xr=Hn.findIndex(function(la){var Ct=la.key;return Ct===Vr.key}),Ue=cn(Le(Hn,fe,Vr.key),Bt,yt,Zt),Pn=Hn.slice();Pn.splice(xr+1,0,on),Tt(Pn),Gn(Ue),$a("show")}else{var Jt=fe.findIndex(function(la){var Ct=la.key;return Ct===Vr.key}),In=cn(Le(fe,Hn,Vr.key),Bt,yt,Zt),Wn=fe.slice();Wn.splice(Jt+1,0,on),Tt(Wn),Gn(In),$a("hide")}else Hn!==fe&&(pn(fe),Tt(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:An};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?wn:null,onKeyDown:Jn,onFocus:ha,onBlur:Ra,value:"",onChange:gt,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(we,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(we,"-indent")},a.createElement("div",{ref:qt,className:"".concat(we,"-indent-unit")}))),a.createElement(ie.Z,(0,b.Z)({},pa,{data:mr,itemKey:Ve,height:yt,fullHeight:!1,virtual:Bt,itemHeight:Zt,prefixCls:"".concat(we,"-list"),ref:Br,onVisibleChange:function(xr,Ue){var Pn=new Set(xr),Jt=Ue.filter(function(In){return!Pn.has(In)});Jt.some(function(In){return Ve(In)===wt})&&Nn()}}),function(Vr){var xr=Vr.pos,Ue=(0,b.Z)({},(z(Vr.data),Vr.data)),Pn=Vr.title,Jt=Vr.key,In=Vr.isStart,Wn=Vr.isEnd,la=(0,De.km)(Jt,xr);delete Ue.key,delete Ue.children;var Ct=(0,De.H8)(la,Nr);return a.createElement(We,(0,b.Z)({},Ue,Ct,{title:Pn,active:!!dn&&Jt===dn.key,pos:xr,data:Vr.data,isStart:In,isEnd:Wn,motion:Ze,motionNodes:Jt===wt?Yn:null,motionType:Xn,onMotionStart:gr,onMotionEnd:Nn,treeNodeRequiredProps:Nr,onMouseMove:function(){_a(null)}}))}))});rn.displayName="NodeList";var Kn=rn,Gt=ee(35654),Bn=ee(90782),ze=ee(67841),ct=10,Lt=function(st){(0,qe.Z)(we,st);var nt=(0,Ke.Z)(we);function we(){var fe;(0,Te.Z)(this,we);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,De.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,An=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),An==null||An({event:Ie,node:(0,De.F)(vt.props)})},fe.onNodeDragEnter=function(Ie,vt){var et=fe.state,Me=et.expandedKeys,St=et.keyEntities,An=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),wn=gn.dragNode;if(fe.currentMouseOverDroppableNodeKey!==dn&&(fe.currentMouseOverDroppableNodeKey=dn),!wn){fe.resetDragState();return}var Jn=(0,Gt.OM)(Ie,wn,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(An.indexOf(_a)!==-1||!pa){fe.resetDragState();return}if(fe.delayedDragEnterLogic||(fe.delayedDragEnterLogic={}),Object.keys(fe.delayedDragEnterLogic).forEach(function(qt){clearTimeout(fe.delayedDragEnterLogic[qt])}),wn.props.eventKey!==vt.props.eventKey&&(Ie.persist(),fe.delayedDragEnterLogic[Mt]=window.setTimeout(function(){if(fe.state.draggingNodeKey!==null){var qt=(0,_e.Z)(Me),Dn=(0,ze.Z)(St,vt.props.eventKey);Dn&&(Dn.children||[]).length&&(qt=(0,Gt.L0)(Me,vt.props.eventKey)),"expandedKeys"in fe.props||fe.setExpandedKeys(qt),Ze==null||Ze(qt,{node:(0,De.F)(vt.props),expanded:!0,nativeEvent:Ie.nativeEvent})}},800)),wn.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,De.F)(vt.props),expandedKeys:Me})},fe.onNodeDragOver=function(Ie,vt){var et=fe.state,Me=et.dragChildrenKeys,St=et.flattenNodes,An=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,An,nn,yt),dn=Mt.dropPosition,gn=Mt.dropLevelOffset,wn=Mt.dropTargetKey,Jn=Mt.dropContainerKey,ha=Mt.dropAllowed,Ra=Mt.dropTargetPos,_a=Mt.dragOverNodeKey;Me.indexOf(wn)!==-1||!ha||(Bt.props.eventKey===wn&&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&&wn===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:wn,dropContainerKey:Jn,dropTargetPos:Ra,dropAllowed:ha,dragOverNodeKey:_a}),Cn==null||Cn({event:Ie,node:(0,De.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,De.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,De.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,An=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,De.H8)(fn,fe.getTreeNodeRequiredProps())),{},{active:((et=fe.getActiveItem())===null||et===void 0?void 0:et.key)===fn,data:(0,ze.Z)(fe.state.keyEntities,fn).node}),Zt=An.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,De.F)(yt),dragNode:fe.dragNode?(0,De.F)(fe.dragNode.props):null,dragNodesKeys:[fe.dragNode.props.eventKey].concat(An),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,An=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,De.F)((0,Ne.Z)((0,Ne.Z)({},(0,De.H8)(nn,fe.getTreeNodeRequiredProps())),{},{data:ln.data}));fe.setExpandedKeys(An?(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,An=Me.fieldNames,nn=fe.props,fn=nn.onSelect,ln=nn.multiple,Cn=vt.selected,Ze=vt[An.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,ze.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,An=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)(An,Ze):(0,Gt._5)(An,Ze),Mt=(0,Gt._5)(nn,Ze);yt={checked:Bt,halfChecked:Mt},Zt.checkedNodes=Bt.map(function(Ra){return(0,ze.Z)(St,Ra)}).filter(function(Ra){return Ra}).map(function(Ra){return Ra.node}),fe.setUncontrolledState({checkedKeys:Bt})}else{var dn=(0,Bn.S)([].concat((0,_e.Z)(An),[Ze]),!0,St),gn=dn.checkedKeys,wn=dn.halfCheckedKeys;if(!et){var Jn=new Set(gn);Jn.delete(Ze);var ha=(0,Bn.S)(Array.from(Jn),{checked:!1,halfCheckedKeys:wn},St);gn=ha.checkedKeys,wn=ha.halfCheckedKeys}yt=gn,Zt.checkedNodes=[],Zt.checkedNodesPositions=[],Zt.halfCheckedKeys=wn,gn.forEach(function(Ra){var _a=(0,ze.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:wn})}Cn==null||Cn(yt,Zt)},fe.onNodeLoad=function(Ie){var vt=Ie.key,et=new Promise(function(Me,St){fe.setState(function(An){var nn=An.loadedKeys,fn=nn===void 0?[]:nn,ln=An.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,An=Ie.checkedKeys,nn=Ie.halfCheckedKeys,fn=Ie.dragOverNodeKey,ln=Ie.dropPosition,Cn=Ie.keyEntities;return{expandedKeys:vt||[],selectedKeys:et||[],loadedKeys:Me||[],loadingKeys:St||[],checkedKeys:An||[],halfCheckedKeys:nn||[],dragOverNodeKey:fn,dropPosition:ln,keyEntities:Cn}},fe.setExpandedKeys=function(Ie){var vt=fe.state,et=vt.treeData,Me=vt.fieldNames,St=(0,De.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,An=Me.fieldNames,nn=fe.props,fn=nn.onExpand,ln=nn.loadData,Cn=vt.expanded,Ze=vt[An.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,De.oH)(fe.state.treeData,et,An);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 An=et[St];if(An){var nn=An.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,An=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[An.children]||[]).length,Bt=(0,De.F)((0,Ne.Z)((0,Ne.Z)({},(0,De.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,An={};Object.keys(Ie).forEach(function(nn){if(nn in fe.props){St=!1;return}Me=!0,An[nn]=Ie[nn]}),Me&&(!vt||St)&&fe.setState((0,Ne.Z)((0,Ne.Z)({},An),et))}},fe.scrollTo=function(Ie){fe.listRef.current.scrollTo(Ie)},fe}return(0,le.Z)(we,[{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,An=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,wn=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,Dn=Ze.loadData,oa=Ze.filterTreeNode,wa=Ze.height,ut=Ze.itemHeight,bn=Ze.virtual,Ln=Ze.titleRender,Hn=Ze.dropIndicatorRender,pn=Ze.onContextMenu,ia=Ze.onScroll,Sa=Ze.direction,It=Ze.rootClassName,Tt=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:An,dropTargetKey:nn,dropPosition:fn,dragOverNodeKey:ln,indent:Cn,direction:Sa,dropIndicatorRender:Hn,loadData:Dn,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:Tt},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:wa,itemHeight:ut,virtual:bn,focusable:dn,focused:Oe,tabIndex:wn,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,De.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,De.zn)(Xe.children)),et){Ie.treeData=et;var St=(0,De.I8)(et,{fieldNames:Me});Ie.keyEntities=(0,Ne.Z)((0,de.Z)({},wt,Ft),St.keyEntities)}var An=Ie.keyEntities||Rt.keyEntities;if(vt("expandedKeys")||Oe&&vt("autoExpandParent"))Ie.expandedKeys=Xe.autoExpandParent||!Oe&&Xe.defaultExpandParent?(0,Gt.r7)(Xe.expandedKeys,An):Xe.expandedKeys;else if(!Oe&&Xe.defaultExpandAll){var nn=(0,Ne.Z)({},An);delete nn[wt],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,An):Xe.defaultExpandedKeys);if(Ie.expandedKeys||delete Ie.expandedKeys,et||Ie.expandedKeys){var fn=(0,De.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,Bn.S)(yt,!0,An);yt=Mt.checkedKeys,Bt=Mt.halfCheckedKeys}Ie.checkedKeys=yt,Ie.halfCheckedKeys=Bt}}return vt("loadedKeys")&&(Ie.loadedKeys=Xe.loadedKeys),Ie}}]),we}(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(95190),de=ee(93664),Be=ee(48736),Ne=ee(59301),_e=ee(39417),Te=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,Te.Z)(se,re);function ye(){var Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ge.forEach(function(De){var He=De.key,he=De.children;ie.push(He),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,De,He,he,Qe){var We,ft=re.clientX,Le=re.clientY,ot=re.target.getBoundingClientRect(),dt=ot.top,gt=ot.height,wt=(Qe==="rtl"?-1:1)*(((ye==null?void 0:ye.x)||0)-ft),sn=(wt-12)/ve,Ft=(0,Te.Z)(He,ie.props.eventKey);if(Le<dt+gt/2){var on=De.findIndex(function(Nt){return Nt.key===Ft.key}),cn=on<=0?0:on-1,Ve=De[cn].key;Ft=(0,Te.Z)(He,Ve)}var at=Ft.key,rn=Ft,Kn=Ft.key,Gt=0,Bn=0;if(!he.includes(at))for(var ze=0;ze<sn&&Ye(Ft);ze+=1)Ft=Ft.parent,Bn+=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:Bn===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:Bn,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(De){var He=De.children,he=_objectWithoutProperties(De,it),Qe=y(He,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,Te.Z)(se,ye);if(Ge){ie.add(ye);var De=Ge.parent,He=Ge.node;He.disabled||De&&ve(De.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 Te(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,De=Ye.has(Ge);ie&&!De&&(ie=!1),!ve&&(De||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=Te(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(93664),de=ee(95190),Be=ee(20439),Ne=ee(62646),_e=ee(11592),Te=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,De=ie||"title";return{title:De,_title:ve||[De],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(De){var He=De[se.key],he=De[se.children];warning(He!=null,"Tree node must have a certain key: [".concat(Ge).concat(He,"]"));var Qe=String(He);warning(!ie.has(Qe)||He===null||He===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,De=ye.props,He=De.children,he=(0,Ne.Z)(De,qe),Qe=(0,Be.Z)({key:Ge},he),We=se(He);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,De=ve.children,He=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),wt,sn=0;sn<ye.length;sn+=1){var Ft=ye[sn];if(Le[Ft]!==void 0){wt=Le[Ft];break}}var on=(0,Be.Z)((0,Be.Z)({},(0,Te.Z)(Le,[].concat((0,de.Z)(ye),[Ge,De]))),{},{title:wt,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||He.has(gt)?on.children=Qe(Le[De]||[],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,De=ye.externalGetKey,He=ye.fieldNames,he=Ye(He),Qe=he.key,We=he.children,ft=Ge||We,Le;De?typeof De=="string"?Le=function(gt){return gt[De]}:typeof De=="function"&&(Le=function(gt){return De(gt)}):Le=function(gt,wt){return Je(gt[Qe],wt)};function ot(dt,gt,wt,sn){var Ft=dt?dt[ft]:re,on=dt?Ke(wt.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:wt.node?wt.pos:null,level:wt.level+1,nodes:cn};se(at)}Ft&&Ft.forEach(function(rn,Kn){ot(rn,Kn,{node:dt,pos:on,level:wt?wt.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,De=se.childrenPropName,He=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,wt=ot.pos,sn=ot.key,Ft=ot.parentPos,on=ot.level,cn=ot.nodes,Ve={node:dt,nodes:cn,index:gt,key:sn,pos:wt,level:on},at=Je(sn,wt);We[wt]=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:De,fieldNames:He}),ye&&ye(Le),Le}function z(re,se){var ie=se.expandedKeys,ve=se.selectedKeys,ye=se.loadedKeys,Ge=se.loadingKeys,De=se.checkedKeys,He=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:De.indexOf(re)!==-1,halfChecked:He.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,De=re.loading,He=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:De,halfChecked:He,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,Te){var le=b.unstable_batchedUpdates?function(qe){b.unstable_batchedUpdates(_e,qe)}:_e;return Be!=null&&Be.addEventListener&&Be.addEventListener(Ne,le,Te),{remove:function(){Be!=null&&Be.removeEventListener&&Be.removeEventListener(Ne,le,Te)}}}},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 Te(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(Te){if((0,b.Z)()&&window.document.documentElement){var le=Array.isArray(Te)?Te:[Te],it=window.document.documentElement;return le.some(function(qe){return qe in it.style})}return!1},Be=function(Te,le){if(!de(Te))return!1;var it=document.createElement("div"),qe=it.style[Te];return it.style[Te]=le,it.style[Te]!==qe};function Ne(_e,Te){return!Array.isArray(_e)&&Te!==void 0?Be(_e,Te):de(_e)}},57985: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(2386);function Be(ne,ae){ne.prototype=Object.create(ae.prototype),ne.prototype.constructor=ne,(0,de.Z)(ne,ae)}var Ne=ee(14809),_e=ee(59781),Te=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(At){return Et(),ge.subscribe(At)}function Fe(){ge.notify()}function Re(){kt.onStateChange&&kt.onStateChange()}function ke(){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 kt={addNestedSub:xe,notifyNestedSubs:Fe,handleChangeWrapper:Re,isSubscribed:ke,trySubscribe:Et,tryUnsubscribe:_t,getListeners:function(){return ge}};return kt}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 ke=ue(ae);return{store:ae,subscription:ke}},[ae]),Fe=(0,b.useMemo)(function(){return ae.getState()},[ae]);E(function(){var ke=xe.subscription;return ke.onStateChange=ke.notifyNestedSubs,ke.trySubscribe(),Fe!==ae.getState()&&ke.notifyNestedSubs(),function(){ke.tryUnsubscribe(),ke.onStateChange=null}},[xe,Fe]);var Re=oe||Te;return b.createElement(Re.Provider,{value:xe},ge)}var x=a,y=ee(74126),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 De(ne,ae){var oe=ne[1];return[ae.payload,oe+1]}function He(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,ke,Et,_t){if(ne){var kt=!1,At=null,Dt=function(){if(!kt){var fr=ae.getState(),Pr,Fr;try{Pr=ge(fr,xe.current)}catch($r){Fr=$r,At=$r}Fr||(At=null),Pr===Fe.current?Re.current||Et():(Fe.current=Pr,ke.current=Pr,Re.current=!0,_t({type:"STORE_UPDATED",payload:{error:Fr}}))}};oe.onStateChange=Dt,oe.trySubscribe(),Dt();var Yt=function(){if(kt=!0,oe.tryUnsubscribe(),oe.onStateChange=null,At)throw At};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,ke=oe.renderCountProp,Et=ke===void 0?void 0:ke,_t=oe.shouldHandleStateChanges,kt=_t===void 0?!0:_t,At=oe.storeKey,Dt=At===void 0?"store":At,Yt=oe.withRef,Vn=Yt===void 0?!1:Yt,fr=oe.forwardRef,Pr=fr===void 0?!1:fr,Fr=oe.context,$r=Fr===void 0?Te:Fr,ro=(0,y.Z)(oe,se);if(0)var co;var si=$r;return function(Di){var vl=Di.displayName||Di.name||"Component",Ti=xe(vl),pl=(0,Ne.Z)({},ro,{getDisplayName:xe,methodName:Re,renderCountProp:Et,shouldHandleStateChanges:kt,storeKey:Dt,displayName:Ti,wrappedComponentName:vl,WrappedComponent:Di}),Ll=ro.pure;function kl(_l){return ne(_l.dispatch,pl)}var Du=Ll?b.useMemo:function(_l){return _l()};function yu(_l){var ns=(0,b.useMemo)(function(){var bs=_l.reactReduxForwardedRef,Hs=(0,y.Z)(_l,ie);return[_l.context,bs,Hs]},[_l]),Iu=ns[0],Ps=ns[1],gs=ns[2],as=(0,b.useMemo)(function(){return Iu&&Iu.Consumer&&(0,re.isContextConsumer)(b.createElement(Iu.Consumer,null))?Iu: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 kl(Lu)},[Lu]),Bs=(0,b.useMemo)(function(){if(!kt)return ye;var bs=ue(Lu,ms?null:Ou.subscription),Hs=bs.notifyNestedSubs.bind(bs);return[bs,Hs]},[Lu,ms,Ou]),Ss=Bs[0],As=Bs[1],ws=(0,b.useMemo)(function(){return ms?Ou:(0,Ne.Z)({},Ou,{subscription:Ss})},[ms,Ou,Ss]),ed=(0,b.useReducer)(De,ve,We),$d=ed[0],Ds=$d[0],Qd=ed[1];if(Ds&&Ds.error)throw Ds.error;var td=(0,b.useRef)(),ks=(0,b.useRef)(gs),Ns=(0,b.useRef)(),nd=(0,b.useRef)(!1),_s=Du(function(){return Ns.current&&gs===ks.current?Ns.current:ys(Lu.getState(),gs)},[Lu,Ds,gs]);He(he,[ks,td,nd,gs,_s,Ns,As]),He(Qe,[kt,Lu,Ss,ys,ks,td,nd,Ns,As,Qd],[Lu,Ss,ys]);var Zs=(0,b.useMemo)(function(){return b.createElement(Di,(0,Ne.Z)({},_s,{ref:Ps}))},[Ps,Di,_s]),Yd=(0,b.useMemo)(function(){return kt?b.createElement(as.Provider,{value:ws},Zs):Zs},[as,Zs,ws]);return Yd}var uu=Ll?b.memo(yu):yu;if(uu.WrappedComponent=Di,uu.displayName=yu.displayName=Ti,Pr){var Nu=b.forwardRef(function(ns,Iu){return b.createElement(uu,(0,Ne.Z)({},ns,{reactReduxForwardedRef:Iu}))});return Nu.displayName=Ti,Nu.WrappedComponent=Di,te()(Nu,Di)}return te()(uu,Di)}}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 ke=ne[Re];typeof ke=="function"&&(oe[Re]=function(){return ae(ke.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 wt(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=wt(ne);var kt=Re(Et,_t);return typeof kt=="function"&&(Re.mapToProps=kt,Re.dependsOnOwnProps=wt(kt),kt=Re(Et,_t)),kt},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 Bn(ne){return function(oe,ge){var xe=ge.displayName,Fe=ge.pure,Re=ge.areMergedPropsEqual,ke=!1,Et;return function(kt,At,Dt){var Yt=ne(kt,At,Dt);return ke?(!Fe||!Re(Yt,Et))&&(Et=Yt):(ke=!0,Et=Yt),Et}}}function ze(ne){return typeof ne=="function"?Bn(ne):void 0}function ct(ne){return ne?void 0:function(){return Gt}}var Lt=[ze,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,ke=xe.areStatePropsEqual,Et=!1,_t,kt,At,Dt,Yt;function Vn(ro,co){return _t=ro,kt=co,At=ne(_t,kt),Dt=ae(ge,kt),Yt=oe(At,Dt,kt),Et=!0,Yt}function fr(){return At=ne(_t,kt),ae.dependsOnOwnProps&&(Dt=ae(ge,kt)),Yt=oe(At,Dt,kt),Yt}function Pr(){return ne.dependsOnOwnProps&&(At=ne(_t,kt)),ae.dependsOnOwnProps&&(Dt=ae(ge,kt)),Yt=oe(At,Dt,kt),Yt}function Fr(){var ro=ne(_t,kt),co=!ke(ro,At);return At=ro,co&&(Yt=oe(At,Dt,kt)),Yt}function $r(ro,co){var si=!Re(co,kt),ai=!Fe(ro,_t,co,kt);return _t=ro,kt=co,si&&ai?fr():si?Pr():ai?Fr():Yt}return function(co,si){return Et?$r(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),ke=ge(ne,Fe),Et=xe(ne,Fe),_t=Fe.pure?st:Nt;return _t(Re,ke,Et,ne,Fe)}var we=["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,ke=Re===void 0?Ve:Re,Et=ae.mergePropsFactories,_t=Et===void 0?Lt:Et,kt=ae.selectorFactory,At=kt===void 0?nt:kt;return function(Yt,Vn,fr,Pr){Pr===void 0&&(Pr={});var Fr=Pr,$r=Fr.pure,ro=$r===void 0?!0:$r,co=Fr.areStatesEqual,si=co===void 0?Xe:co,ai=Fr.areOwnPropsEqual,Di=ai===void 0?ot:ai,vl=Fr.areStatePropsEqual,Ti=vl===void 0?ot:vl,pl=Fr.areMergedPropsEqual,Ll=pl===void 0?ot:pl,kl=(0,y.Z)(Fr,we),Du=fe(Yt,Fe,"mapStateToProps"),yu=fe(Vn,ke,"mapDispatchToProps"),uu=fe(fr,_t,"mergeProps");return ge(At,(0,Ne.Z)({methodName:"connect",getDisplayName:function(_l){return"Connect("+_l+")"},shouldHandleStateChanges:!!Yt,initMapStateToProps:Du,initMapDispatchToProps:yu,initMergeProps:uu,pure:ro,areStatesEqual:si,areOwnPropsEqual:Di,areStatePropsEqual:Ti,areMergedPropsEqual:Ll},kl))}}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,An=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]),ke=useRef(),Et=useRef(),_t=useRef(),kt=useRef(),At=oe.getState(),Dt;try{if(ne!==Et.current||At!==_t.current||ke.current){var Yt=ne(At);kt.current===void 0||!ae(Yt,kt.current)?Dt=Yt:Dt=kt.current}else Dt=kt.current}catch(Vn){throw ke.current&&(Vn.message+=`
The error may be correlated with this previous error:
`+ke.current.stack+`
`),Vn}return useIsomorphicLayoutEffect(function(){Et.current=ne,_t.current=At,kt.current=Dt,ke.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,kt.current))return;kt.current=Pr,_t.current=fr}catch(Fr){ke.current=Fr}Fe()}return Re.onStateChange=Vn,Re.trySubscribe(),Vn(),function(){return Re.tryUnsubscribe()}},[oe,Re]),Dt}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=An);var Fe=ae(),Re=Fe.store,ke=Fe.subscription,Et=nn(ge,xe,Re,ke);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 wn(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,ke=xe-oe,Et={top:oe,right:ge,bottom:xe,left:Fe,width:Re,height:ke,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,ke=ae.padding,Et=ke===void 0?gr:ke,_t=Jn(ha(oe,xe)),kt=Jn(Ra(oe,Re)),At=Jn(Ra(kt,Et));return{marginBox:_t,borderBox:Jn(oe),paddingBox:kt,contentBox:At,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)&&wn(!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,ke=_a(ge,oe);return ar({borderBox:ke,border:xe,margin:Fe,padding:Re})},Dn=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})},wa=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 Hn(ne,ae){ae===void 0&&(ae=Ln);var oe,ge=[],xe,Fe=!1;function Re(){for(var ke=[],Et=0;Et<arguments.length;Et++)ke[Et]=arguments[Et];return Fe&&oe===this&&ae(ke,ge)||(xe=ne.apply(this,ke),Fe=!0,oe=this,ge=ke),xe}return Re}var pn=Hn,ia=function(ae){var oe=[],ge=null,xe=function(){for(var Re=arguments.length,ke=new Array(Re),Et=0;Et<Re;Et++)ke[Et]=arguments[Et];oe=ke,!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,Tt=/[ \t]{2,}/g,bt=/^[ \t]*/gm,Qn=function(ae){return ae.replace(Tt," ").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"),$a=Ba.bind(null,"error");function Aa(){}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 Ue(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=Aa,ge.onWindowError=function(ke){var Et=ge.getCallbacks();Et.isDragging()&&Et.tryAbort();var _t=ke.error;_t instanceof xr&&ke.preventDefault()},ge.getCallbacks=function(){if(!ge.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return ge.callbacks},ge.setCallbacks=function(ke){ge.callbacks=ke},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}},Ha=function(ae,oe){return ae.x===oe.x&&ae.y===oe.y},Un=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},ya=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 ya(ae,ge)}))},vr=function(ae){return function(oe){return{x:ae(oe.x),y:ae(oe.y)}}},kr=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?kr(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),ke=xi(Re,xe);return{page:ae,withPlaceholder:oe,active:ke}},bo=function(ne,ae){ne.frame||Ue(!1);var oe=ne.frame,ge=Qa(ae,oe.scroll.initial),xe=Un(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}),ke=(0,Ne.Z)({},ne,{frame:Fe,subject:Re});return ke};function Wo(ne){return Number.isInteger?Number.isInteger(ne):typeof ne=="number"&&isFinite(ne)&&Math.floor(ne)===ne}function To(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 To(ne)}),Ar=pn(function(ne){return To(ne)}),oi=pn(function(ne,ae){var oe=Ar(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 ko(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 ke(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?ke(_t):null;var kt=mo(oe,xe);if(!_t){if(!kt.length)return null;var At=kt[kt.length-1];return ke(At.descriptor.id)}var Dt=No(kt,function(fr){return fr.descriptor.id===_t});Dt===-1&&Ue(!1);var Yt=Dt-1;if(Yt<0)return null;var Vn=kt[Yt];return ke(Vn.descriptor.id)},vi=function(ne,ae){return ne.descriptor.droppableId===ae.descriptor.id},$i={point:xa,value:0},tl={invisible:{},visible:{},all:[]},nl={displaced:tl,displacedBy:$i,at:null},Uo=function(ne,ae){return function(oe){return ne<=oe&&oe<=ae}},Fi=function(ne){var ae=Uo(ne.top,ne.bottom),oe=Uo(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),ke=Fe&&Re;if(ke)return!0;var Et=ge.top<ne.top&&ge.bottom>ne.bottom,_t=ge.left<ne.left&&ge.right>ne.right,kt=Et&&_t;if(kt)return!0;var At=Et&&Re||_t&&Fe;return At}},Wi=function(ne){var ae=Uo(ne.top,ne.bottom),oe=Uo(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=Uo(ae.top,ae.bottom),ge=Uo(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,ke=Fe?_r(oe,ge):oe;return qa(ke,ge,Re)&&Va(ke,xe,Re)},so=function(ae){return er((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:Fi}))},Ae=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 ba(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 kt=ba(_t,ge),At=_t.descriptor.id;Et.all.push(At);var Dt=so({target:kt,destination:oe,viewport:xe,withDroppableDisplacement:!0});if(!Dt)return Et.invisible[_t.descriptor.id]=!0,Et;var Yt=Rn(At,Re,Fe),Vn={draggableId:At,shouldAnimate:Yt};return Et.visible[At]=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 zn(ne){var ae=ne.draggable,oe=ne.insideDestination,ge=ne.destination,xe=ne.viewport,Fe=ne.displacedBy,Re=ne.last,ke=ne.index,Et=ne.forceShouldAnimate,_t=vi(ae,ge);if(ke==null)return Na({insideDestination:oe,inHomeList:_t,displacedBy:Fe,destination:ge});var kt=Er(oe,function(fr){return fr.descriptor.index===ke});if(!kt)return Na({insideDestination:oe,inHomeList:_t,displacedBy:Fe,destination:ge});var At=mo(ae,oe),Dt=oe.indexOf(kt),Yt=At.slice(Dt),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:ke}}}}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,ke=ge[Re],Et=ke.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,ke=ge[0].descriptor.index,Et=ge[ge.length-1].descriptor.index,_t=oe?Et:Et+1;return Re<ke||Re>_t?null:Re},za=function(ne){var ae=ne.isMovingForward,oe=ne.isInHomeList,ge=ne.draggable,xe=ne.draggables,Fe=ne.destination,Re=ne.insideDestination,ke=ne.previousImpact,Et=ne.viewport,_t=ne.afterCritical,kt=ke.at;if(kt||Ue(!1),kt.type==="REORDER"){var At=Wa({isMovingForward:ae,isInHomeList:oe,location:kt.destination,insideDestination:Re});return At==null?null:zn({draggable:ge,insideDestination:Re,destination:Fe,viewport:Et,last:ke.displaced,displacedBy:ke.displacedBy,index:At})}var Dt=pr({isMovingForward:ae,destination:Fe,displaced:ke.displaced,draggables:xe,combine:kt.combine,afterCritical:_t});return Dt==null?null:zn({draggable:ge,insideDestination:Re,destination:Fe,viewport:Et,last:ke.displaced,displacedBy:ke.displacedBy,index:Dt})},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:Un(xe.point):Fe?xe.point:xa},Mr=function(ne){var ae=ne.afterCritical,oe=ne.impact,ge=ne.draggables,xe=ko(oe);xe||Ue(!1);var Fe=xe.draggableId,Re=ge[Fe].page.borderBox.center,ke=tr({displaced:oe.displaced,afterCritical:ae,combineWith:Fe,displacedBy:oe.displacedBy});return Ea(Re,ke)},Co=function(ae,oe){return oe.margin[ae.start]+oe.borderBox[ae.size]/2},$o=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},ki=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]-$o(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),ke=oe.page,Et=xe.axis;if(!Re.length)return al({axis:Et,moveInto:xe.page,isMoving:ke});var _t=ae.displaced,kt=ae.displacedBy,At=_t.all[0];if(At){var Dt=ge[At];if(qn(At,Fe))return Ji({axis:Et,moveRelativeTo:Dt.page,isMoving:ke});var Yt=qt(Dt.page,kt.point);return Ji({axis:Et,moveRelativeTo:Yt,isMoving:ke})}var Vn=Re[Re.length-1];if(Vn.descriptor.id===oe.descriptor.id)return ke.borderBox.center;if(qn(Vn.descriptor.id,Fe)){var fr=qt(Vn.page,Un(Fe.displacedBy.point));return ki({axis:Et,moveRelativeTo:fr,isMoving:ke})}return ki({axis:Et,moveRelativeTo:Vn.page,isMoving:ke})},Dl=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,ke=ge.page.borderBox.center,Et=oe.at;return!xe||!Et?ke: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?Dl(oe,ae):ae;return ge},eu=function(ne,ae){var oe=Qa(ae,ne.scroll.initial),ge=Un(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)),ke=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}),kt=un({afterDragging:Nl(Et.all,xe),destination:ke,displacedBy:ae.displacedBy,viewport:oe.frame,last:Et,forceShouldAnimate:!1}),At={},Dt={},Yt=[Et,_t,kt];Et.all.forEach(function(fr){var Pr=xl(fr,Yt);if(Pr){Dt[fr]=Pr;return}At[fr]=!0});var Vn=(0,Ne.Z)({},ae,{displaced:{all:Et.all,invisible:At,visible:Dt}});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,ke=Re===void 0?!1:Re,Et=Qa(ge,ae.page.borderBox.center),_t=Ya(ae.page.borderBox,Et),kt={target:_t,destination:oe,withDroppableDisplacement:Fe,viewport:xe};return ke?hn(kt):Ae(kt)},Yu=function(ne){var ae=ne.isMovingForward,oe=ne.draggable,ge=ne.destination,xe=ne.draggables,Fe=ne.previousImpact,Re=ne.viewport,ke=ne.previousPageBorderBoxCenter,Et=ne.previousClientSelection,_t=ne.afterCritical;if(!ge.isEnabled)return null;var kt=oi(ge.descriptor.id,xe),At=vi(oe,ge),Dt=di({isMovingForward:ae,draggable:oe,destination:ge,insideDestination:kt,previousImpact:Fe})||za({isMovingForward:ae,isInHomeList:At,draggable:oe,draggables:xe,destination:ge,insideDestination:kt,previousImpact:Fe,viewport:Re,afterCritical:_t});if(!Dt)return null;var Yt=yl({impact:Dt,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:Dt,scrollJumpRequest:null}}var Pr=Qa(Yt,ke),Fr=tu({impact:Dt,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||Ue(!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 ke=ge.axis,Et=Uo(Re[ke.start],Re[ke.end]),_t=Lo(xe).filter(function(At){return At!==ge}).filter(function(At){return At.isEnabled}).filter(function(At){return!!At.subject.active}).filter(function(At){return Fi(Fe.frame)(El(At))}).filter(function(At){var Dt=El(At);return ae?Re[ke.crossAxisEnd]<Dt[ke.crossAxisEnd]:Dt[ke.crossAxisStart]<Re[ke.crossAxisStart]}).filter(function(At){var Dt=El(At),Yt=Uo(Dt[ke.start],Dt[ke.end]);return Et(Dt[ke.start])||Et(Dt[ke.end])||Yt(Re[ke.start])||Yt(Re[ke.end])}).sort(function(At,Dt){var Yt=El(At)[ke.crossAxisStart],Vn=El(Dt)[ke.crossAxisStart];return ae?Yt-Vn:Vn-Yt}).filter(function(At,Dt,Yt){return El(At)[ke.crossAxisStart]===El(Yt[0])[ke.crossAxisStart]});if(!_t.length)return null;if(_t.length===1)return _t[0];var kt=_t.filter(function(At){var Dt=Uo(El(At)[ke.start],El(At)[ke.end]);return Dt(oe[ke.line])});return kt.length===1?kt[0]:kt.length>1?kt.sort(function(At,Dt){return El(At)[ke.start]-El(Dt)[ke.start]})[0]:_t.sort(function(At,Dt){var Yt=Pa(oe,lr(El(At))),Vn=Pa(oe,lr(El(Dt)));return Yt!==Vn?Yt-Vn:El(At)[ke.start]-El(Dt)[ke.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,Un(oe.displacedBy.point)):ge},Tu=function(ne){var ae=ne.pageBorderBoxCenter,oe=ne.viewport,ge=ne.destination,xe=ne.insideDestination,Fe=ne.afterCritical,Re=xe.filter(function(ke){return Ae({target:rl(ke,Fe),destination:ge,viewport:oe.frame,withDroppableDisplacement:!0})}).sort(function(ke,Et){var _t=ya(ae,Dl(ge,Mu(ke,Fe))),kt=ya(ae,Dl(ge,Mu(Et,Fe)));return _t<kt?-1:kt<_t?1:ke.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),ke=Re.reduce(function(kt,At){return kt+At.client.marginBox[xe.size]},0),Et=ke+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})})},ku=function(ae,oe,ge){var xe=ae.frame;vi(oe,ae)&&Ue(!1),ae.subject.withPlaceholder&&Ue(!1);var Fe=nu(ae.axis,oe.displaceBy).point,Re=Ju(ae,Fe,ge),ke={placeholderSize:Fe,increasedBy:Re,oldFrameMaxScroll:ae.frame?ae.frame.scroll.max:null};if(!xe){var Et=ho({page:ae.subject.page,withPlaceholder:ke,axis:ae.axis,frame:ae.frame});return(0,Ne.Z)({},ae,{subject:Et})}var _t=Re?Ea(xe.scroll.max,Re):xe.scroll.max,kt=bu(xe,_t),At=ho({page:ae.subject.page,withPlaceholder:ke,axis:ae.axis,frame:kt});return(0,Ne.Z)({},ae,{subject:At,frame:kt})},Xu=function(ae){var oe=ae.subject.withPlaceholder;oe||Ue(!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||Ue(!1);var Re=bu(ge,Fe),ke=ho({page:ae.subject.page,axis:ae.axis,frame:Re,withPlaceholder:null});return(0,Ne.Z)({},ae,{subject:ke,frame:Re})},_u=function(ne){var ae=ne.previousPageBorderBoxCenter,oe=ne.moveRelativeTo,ge=ne.insideDestination,xe=ne.draggable,Fe=ne.draggables,Re=ne.destination,ke=ne.viewport,Et=ne.afterCritical;if(!oe){if(ge.length)return null;var _t={displaced:tl,displacedBy:$i,at:{type:"REORDER",destination:{droppableId:Re.descriptor.id,index:0}}},kt=yl({impact:_t,draggable:xe,droppable:Re,draggables:Fe,afterCritical:Et}),At=vi(xe,Re)?Re:ku(Re,xe,Fe),Dt=mu({draggable:xe,destination:At,newPageBorderBoxCenter:kt,viewport:ke.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Dt?_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 zn({draggable:xe,insideDestination:ge,destination:Re,viewport:ke,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,ke=ne.viewport,Et=ne.afterCritical,_t=Ru({isMovingForward:ae,pageBorderBoxCenter:oe,source:xe,droppables:Re,viewport:ke});if(!_t)return null;var kt=oi(_t.descriptor.id,Fe),At=Tu({pageBorderBoxCenter:oe,viewport:ke,destination:_t,insideDestination:kt,afterCritical:Et}),Dt=_u({previousPageBorderBoxCenter:oe,destination:_t,draggable:ge,draggables:Fe,moveRelativeTo:At,insideDestination:kt,viewport:ke,afterCritical:Et});if(!Dt)return null;var Yt=yl({impact:Dt,draggable:ge,droppable:_t,draggables:Fe,afterCritical:Et}),Vn=su({pageBorderBoxCenter:Yt,draggable:ge,viewport:ke});return{clientSelection:Vn,impact:Dt,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,ke=Re.axis.direction,Et=ke==="vertical"&&(oe==="MOVE_UP"||oe==="MOVE_DOWN")||ke==="horizontal"&&(oe==="MOVE_LEFT"||oe==="MOVE_RIGHT");if(Et&&!xe)return null;var _t=oe==="MOVE_DOWN"||oe==="MOVE_RIGHT",kt=ae.dimensions.draggables[ae.critical.draggable.id],At=ae.current.page.borderBoxCenter,Dt=ae.dimensions,Yt=Dt.draggables,Vn=Dt.droppables;return Et?Yu({isMovingForward:_t,previousPageBorderBoxCenter:At,draggable:kt,destination:Re,draggables:Yt,viewport:ae.viewport,previousClientSelection:ae.current.client.selection,previousImpact:ae.impact,afterCritical:ae.afterCritical}):bl({isMovingForward:_t,previousPageBorderBoxCenter:At,draggable:kt,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=Uo(ne.top,ne.bottom),oe=Uo(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 Hu(ne){var ae=ne.pageBorderBox,oe=ne.draggable,ge=ne.candidates,xe=oe.page.borderBox.center,Fe=ge.map(function(Re){var ke=Re.axis,Et=na(Re.axis.line,ae.center[ke.line],Re.page.borderBox.center[ke.crossAxisLine]);return{id:Re.descriptor.id,distance:ya(xe,Et)}}).sort(function(Re,ke){return ke.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 ke=Fe.axis,Et=Re.center[ke.crossAxisLine],_t=ae[ke.crossAxisStart],kt=ae[ke.crossAxisEnd],At=Uo(Re[ke.crossAxisStart],Re[ke.crossAxisEnd]),Dt=At(_t),Yt=At(kt);return!Dt&&!Yt?!0:Dt?_t<Et:kt>Et});return xe.length?xe.length===1?xe[0].descriptor.id:Hu({pageBorderBox:ae,draggable:oe,candidates:xe}):null}var Il=function(ae,oe){return Jn(Ya(ae,oe))},zu=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,ke=ne.afterCritical,Et=ge.axis,_t=nu(ge.axis,oe.displaceBy),kt=_t.value,At=ae[Et.start],Dt=ae[Et.end],Yt=mo(oe,xe),Vn=Er(Yt,function(Pr){var Fr=Pr.descriptor.id,$r=Pr.page.borderBox.center[Et.line],ro=qn(Fr,ke),co=xu({displaced:Fe,id:Fr});return ro?co?Dt<=$r:At<$r-kt:co?Dt<=$r+kt:At<$r}),fr=Fu({draggable:oe,closest:Vn,inHomeList:vi(oe,ge)});return zn({draggable:oe,insideDestination:xe,destination:ge,viewport:Re,last:Fe,displacedBy:_t,index:fr})},Hl=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 ke=xe.axis,Et=nu(xe.axis,ae.displaceBy),_t=Et.value,kt=oe[ke.start],At=oe[ke.end],Dt=mo(ae,Fe),Yt=Er(Dt,function(fr){var Pr=fr.descriptor.id,Fr=fr.page.borderBox,$r=Fr[ke.size],ro=$r/Hl,co=qn(Pr,Re),si=xu({displaced:ge.displaced,id:Pr});return co?si?At>Fr[ke.start]+ro&&At<Fr[ke.end]-ro:kt>Fr[ke.start]-_t+ro&&kt<Fr[ke.end]-_t-ro:si?At>Fr[ke.start]+_t+ro&&At<Fr[ke.end]+_t-ro:kt>Fr[ke.start]+ro&&kt<Fr[ke.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,ke=ne.afterCritical,Et=Il(oe.page.borderBox,ae),_t=rs({pageBorderBox:Et,draggable:oe,droppables:xe});if(!_t)return nl;var kt=xe[_t],At=oi(kt.descriptor.id,ge),Dt=zu(kt,Et);return os({pageBorderBoxWithDroppableScroll:Dt,draggable:oe,previousImpact:Fe,destination:kt,insideDestination:At,afterCritical:ke})||Fl({pageBorderBoxWithDroppableScroll:Dt,draggable:oe,destination:kt,insideDestination:At,last:Fe.displaced,viewport:Re,afterCritical:ke})},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 ke=xe[Fe];if(!ke.subject.withPlaceholder)return xe;var Et=Xu(ke);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}),ke=ji(Fe);if(!ke)return Re;var Et=ge[ke];if(vi(ae,Et)||Et.subject.withPlaceholder)return Re;var _t=ku(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,ke=xe||ae.viewport,Et=ge||ae.dimensions,_t=oe||ae.current.client.selection,kt=Qa(_t,ae.initial.client.selection),At={offset:kt,selection:_t,borderBoxCenter:Ea(ae.initial.client.borderBoxCenter,kt)},Dt={selection:Ea(At.selection,ke.scroll.current),borderBoxCenter:Ea(At.borderBoxCenter,ke.scroll.current),offset:Ea(At.offset,ke.scroll.diff.value)},Yt={client:At,page:Dt};if(ae.phase==="COLLECTING")return(0,Ne.Z)({phase:"COLLECTING"},ae,{dimensions:Et,viewport:ke,current:Yt});var Vn=Et.draggables[ae.critical.draggable.id],fr=Fe||qu({pageOffset:Dt.offset,draggable:Vn,draggables:Et.draggables,droppables:Et.droppables,previousImpact:ae.impact,viewport:ke,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:ke,scrollJumpRequest:Re||null,forceShouldAnimate:Re?!1:null});return Fr};function zl(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,ke=zl(Re.all,ge),Et=un({afterDragging:ke,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,ke=yl({impact:ae,draggable:oe,draggables:xe,droppable:ge,afterCritical:Re});return su({pageBorderBoxCenter:ke,draggable:oe,viewport:Fe})},es=function(ne){var ae=ne.state,oe=ne.dimensions,ge=ne.viewport;ae.movementMode!=="SNAP"&&Ue(!1);var xe=ae.impact,Fe=ge||ae.viewport,Re=oe||ae.dimensions,ke=Re.draggables,Et=Re.droppables,_t=ke[ae.critical.draggable.id],kt=ji(xe);kt||Ue(!1);var At=Et[kt],Dt=rr({impact:xe,viewport:Fe,destination:At,draggables:ke}),Yt=du({impact:Dt,draggable:_t,droppable:At,draggables:ke,viewport:Fe,afterCritical:ae.afterCritical});return Yl({impact:Dt,clientSelection:Yt,state:ae,dimensions:Re,viewport:Fe})},is=function(ne){return{index:ne.index,droppableId:ne.droppableId}},Au=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),ke=Re.indexOf(ae);ke===-1&&Ue(!1);var Et=Re.slice(ke+1),_t=Et.reduce(function(Yt,Vn){return Yt[Vn.descriptor.id]=!0,Yt},{}),kt={inVirtualList:oe.descriptor.mode==="virtual",displacedBy:Fe,effected:_t},At=un({afterDragging:Et,destination:oe,displacedBy:Fe,last:null,viewport:xe.frame,forceShouldAnimate:!1}),Dt={displaced:At,displacedBy:Fe,at:{type:"REORDER",destination:is(ae.descriptor)}};return{impact:Dt,afterCritical:kt}},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=Dn(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||Ue(!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,ke=oe[Re],Et=us(ke),_t=Et.scroll.diff.value,kt=Ea(xe,_t),At=ls({draggable:Fe,offset:kt,initialWindowScroll:ge.scroll.initial});return At})},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 ke={droppables:xe,draggables:Re},Et=ji(ae.impact),_t=Et?ke.droppables[Et]:null,kt=ke.draggables[ae.critical.draggable.id],At=ke.droppables[ae.critical.droppable.id],Dt=Au({draggable:kt,home:At,draggables:Re,viewport:ae.viewport}),Yt=Dt.impact,Vn=Dt.afterCritical,fr=_t&&_t.isCombineEnabled?ae.impact:Yt,Pr=qu({pageOffset:ae.current.page.offset,draggable:ke.draggables[ae.critical.draggable.id],draggables:ke.draggables,droppables:ke.droppables,previousImpact:fr,viewport:ae.viewport,afterCritical:Vn});Qi();var Fr=(0,Ne.Z)({phase:"DRAGGING"},ae,{phase:"DRAGGING",impact:Pr,onLiftImpact:Yt,dimensions:ke,afterCritical:Vn,forceShouldAnimate:!1});if(ae.phase==="COLLECTING")return Fr;var $r=(0,Ne.Z)({phase:"DROP_PENDING"},Fr,{phase:"DROP_PENDING",reason:ae.reason,isWaiting:!1});return $r},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"&&Ue(!1);var oe=ae.payload,ge=oe.critical,xe=oe.clientSelection,Fe=oe.viewport,Re=oe.dimensions,ke=oe.movementMode,Et=Re.draggables[ge.draggable.id],_t=Re.droppables[ge.droppable.id],kt={selection:xe,borderBoxCenter:Et.client.borderBox.center,offset:xa},At={client:kt,page:{selection:Ea(kt.selection,Fe.scroll.initial),borderBoxCenter:Ea(kt.selection,Fe.scroll.initial),offset:Ea(kt.selection,Fe.scroll.diff.value)}},Dt=Lo(Re.droppables).every(function(ws){return!ws.isFixedOnPage}),Yt=Au({draggable:Et,home:_t,draggables:Re.draggables,viewport:Fe}),Vn=Yt.impact,fr=Yt.afterCritical,Pr={phase:"DRAGGING",isDragging:!0,critical:ge,movementMode:ke,dimensions:Re,initial:At,current:At,isWindowScrollAllowed:Dt,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"&&Ue(!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"||Ue(!1),Gu({state:ne,published:ae.payload});if(ae.type==="MOVE"){if(ne.phase==="DROP_PENDING")return ne;au(ne)||Ue(!1);var $r=ae.payload.client;return Ha($r,ne.current.client.selection)?ne:Yl({state:ne,clientSelection:$r,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)||Ue(!1);var ro=ae.payload,co=ro.id,si=ro.newScroll,ai=ne.dimensions.droppables[co];if(!ai)return ne;var Di=bo(ai,si);return Xl(ne,Di,!1)}if(ae.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ne.phase==="DROP_PENDING")return ne;au(ne)||Ue(!1);var vl=ae.payload,Ti=vl.id,pl=vl.isEnabled,Ll=ne.dimensions.droppables[Ti];Ll||Ue(!1),Ll.isEnabled===pl&&Ue(!1);var kl=(0,Ne.Z)({},Ll,{isEnabled:pl});return Xl(ne,kl,!0)}if(ae.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ne.phase==="DROP_PENDING")return ne;au(ne)||Ue(!1);var Du=ae.payload,yu=Du.id,uu=Du.isCombineEnabled,Nu=ne.dimensions.droppables[yu];Nu||Ue(!1),Nu.isCombineEnabled===uu&&Ue(!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)||Ue(!1),ne.isWindowScrollAllowed||Ue(!1);var ns=ae.payload.newScroll;if(Ha(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(Ha(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"&&Ue(!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"&&Ue(!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"||Ue(!1);var Ss={phase:"DROP_ANIMATING",completed:Lu,dropDuration:ys,newHomeClientOffset:Bs,dimensions:ne.dimensions};return Ss}if(ae.type==="DROP_COMPLETE"){var As=ae.payload.completed;return{phase:"IDLE",completed:As,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}},kn=function(ae){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ae}},Tn=function(ae){return{type:"MOVE",payload:ae}},ua=function(ae){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ae}},Da=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}},Ta=function(ae){return{type:"DROP_COMPLETE",payload:ae}},Dr=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(ke){return ke.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(ke){var Et=!!oe[ke];return Et?"[\u{1F525}"+ke+"]":""+ke}).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,ke=Re.id,Et=Re.clientSelection,_t=Re.movementMode,kt=oe();kt.phase==="DROP_ANIMATING"&&ge(Ta({completed:kt.completed})),oe().phase!=="IDLE"&&Ue(!1),ge(Mn()),ge(me({draggableId:ke,movementMode:_t}));var At={shouldPublishImmediately:_t==="SNAP"},Dt={draggableId:ke,scrollOptions:At},Yt=ne.startPublishing(Dt),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)"},zo={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},Hi=function(ae){return Ha(ae,xa)?null:"translate("+ae.x+"px, "+ae.y+"px)"},oo={moveTo:Hi,drop:function(ae,oe){var ge=Hi(ae);return ge?oe?ge+" scale("+zo.scale.drop+")":ge:null}},Ro=ei.minDropTime,_o=ei.maxDropTime,Ai=_o-Ro,Ni=1500,fi=.6,Mo=function(ne){var ae=ne.current,oe=ne.destination,ge=ne.reason,xe=ya(ae,oe);if(xe<=0)return Ro;if(xe>=Ni)return _o;var Fe=xe/Ni,Re=Ro+Ai*Fe,ke=ge==="CANCEL"?Re*fi:Re;return Number(ke.toFixed(2))},ol=function(ne){var ae=ne.impact,oe=ne.draggable,ge=ne.dimensions,xe=ne.viewport,Fe=ne.afterCritical,Re=ge.draggables,ke=ge.droppables,Et=ji(ae),_t=Et?ke[Et]:null,kt=ke[oe.descriptor.droppableId],At=du({impact:ae,draggable:oe,draggables:Re,afterCritical:Fe,droppable:_t||kt,viewport:xe}),Dt=Qa(At,oe.client.borderBox.center);return Dt},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 ke=rr({draggables:ae,impact:Re,destination:xe,viewport:Fe,forceShouldAnimate:!0});return{impact:ke,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 ke=Fe.phase==="DROP_PENDING"&&Fe.isWaiting;ke&&Ue(!1),Fe.phase==="DRAGGING"||Fe.phase==="DROP_PENDING"||Ue(!1);var Et=Fe.critical,_t=Fe.dimensions,kt=_t.draggables[Fe.critical.draggable.id],At=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}),Dt=At.impact,Yt=At.didDropInsideDroppable,Vn=Yt?Gr(Dt):null,fr=Yt?ko(Dt):null,Pr={index:Et.draggable.index,droppableId:Et.droppable.id},Fr={draggableId:kt.descriptor.id,type:kt.descriptor.type,source:Pr,reason:Re,mode:Fe.movementMode,destination:Vn,combine:fr},$r=ol({impact:Dt,draggable:kt,dimensions:_t,viewport:Fe.viewport,afterCritical:Fe.afterCritical}),ro={critical:Fe.critical,afterCritical:Fe.afterCritical,result:Fr,impact:Dt},co=!Ha(Fe.current.client.offset,$r)||!!Fr.combine;if(!co){oe(Ta({completed:ro}));return}var si=Mo({current:Fe.current.client.offset,destination:$r,reason:Re}),ai={newHomeClientOffset:$r,dropDuration:si,completed:ro};oe(ga(ai))}}}},Ce=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function $e(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=$e(ge),Fe=Aa;function Re(){return Fe!==Aa}function ke(){Re()&&Ue(!1),Fe=mr(window,[xe])}function Et(){Re()||Ue(!1),ge.cancel(),Fe(),Fe=Aa}return{start:ke,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)}}},Ut=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&&Ue(!1);var ke=ne.splice(Re,1),Et=ke[0];Et.callback()},oe=function(Fe){var Re=setTimeout(function(){return ae(Re)}),ke={timerId:Re,callback:Fe};ne.push(ke)},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}},$t=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=Ut(ge),Re={announce:Fe};ae(oe,Re),Fe.wasCalled()||ge(xe(oe))},ma=function(ne,ae){var oe=Qt(),ge=null,xe=function(Dt,Yt){ge&&Ue(!1),En("onBeforeCapture",function(){var Vn=ne().onBeforeCapture;if(Vn){var fr={draggableId:Dt,mode:Yt};Vn(fr)}})},Fe=function(Dt,Yt){ge&&Ue(!1),En("onBeforeDragStart",function(){var Vn=ne().onBeforeDragStart;Vn&&Vn(ea(Dt,Yt))})},Re=function(Dt,Yt){ge&&Ue(!1);var Vn=ea(Dt,Yt);ge={mode:Yt,lastCritical:Dt,lastLocation:Vn.source,lastCombine:null},oe.add(function(){En("onDragStart",function(){return ra(ne().onDragStart,Vn,ae,Kt.onDragStart)})})},ke=function(Dt,Yt){var Vn=Gr(Yt),fr=ko(Yt);ge||Ue(!1);var Pr=!Sn(Dt,ge.lastCritical);Pr&&(ge.lastCritical=Dt);var Fr=!$t(ge.lastLocation,Vn);Fr&&(ge.lastLocation=Vn);var $r=!xn(ge.lastCombine,fr);if($r&&(ge.lastCombine=fr),!(!Pr&&!Fr&&!$r)){var ro=(0,Ne.Z)({},ea(Dt,ge.mode),{combine:fr,destination:Vn});oe.add(function(){En("onDragUpdate",function(){return ra(ne().onDragUpdate,ro,ae,Kt.onDragUpdate)})})}},Et=function(){ge||Ue(!1),oe.flush()},_t=function(Dt){ge||Ue(!1),ge=null,En("onDragEnd",function(){return ra(ne().onDragEnd,Dt,ae,Kt.onDragEnd)})},kt=function(){if(ge){var Dt=(0,Ne.Z)({},ea(ge.lastCritical,ge.mode),{combine:null,destination:null,reason:"CANCEL"});_t(Dt)}};return{beforeCapture:xe,beforeStart:Fe,start:Re,update:ke,flush:Et,drop:_t,abort:kt}},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 ke=Fe.payload.completed.result;oe.flush(),xe(Fe),oe.drop(ke);return}if(xe(Fe),Fe.type==="FLUSH"){oe.abort();return}var Et=ge.getState();Et.phase==="DRAGGING"&&oe.update(Et.critical,Et.impact)}}}},Ht=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"&&Ue(!1),ne.dispatch(Ta({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"&&Ue(!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(Dr({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,Ht,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 kt=ge,At=kt.additions,Dt=kt.removals,Yt=kt.modified,Vn=Object.keys(At).map(function(Fr){return ae.draggable.getById(Fr).getDimension(xa)}).sort(function(Fr,$r){return Fr.descriptor.index-$r.descriptor.index}),fr=Object.keys(Yt).map(function(Fr){var $r=ae.droppable.getById(Fr),ro=$r.callbacks.getScrollWhileDragging();return{droppableId:Fr,scroll:ro}}),Pr={additions:Vn,removals:Object.keys(Dt),modified:fr};ge=ur(),Qi(),oe.publish(Pr)}))},Re=function(kt){var At=kt.descriptor.id;ge.additions[At]=kt,ge.modified[kt.descriptor.droppableId]=!0,ge.removals[At]&&delete ge.removals[At],Fe()},ke=function(kt){var At=kt.descriptor;ge.removals[At.id]=!0,ge.modified[At.droppableId]=!0,ge.additions[At.id]&&delete ge.additions[At.id],Fe()},Et=function(){xe&&(cancelAnimationFrame(xe),xe=null,ge=ur())};return{add:Re,remove:ke,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},Ua=function(){var ne=document.documentElement;return ne||Ue(!1),ne},cr=function(){var ne=Ua(),ae=yr({scrollHeight:ne.scrollHeight,scrollWidth:ne.scrollWidth,width:ne.clientWidth,height:ne.clientHeight});return ae},Ur=function(){var ne=Ce(),ae=cr(),oe=ne.y,ge=ne.x,xe=Ua(),Fe=xe.clientWidth,Re=xe.clientHeight,ke=ge+Fe,Et=oe+Re,_t=Jn({top:oe,left:ge,right:ke,bottom:Et}),kt={frame:_t,scroll:{initial:ne,current:ne,max:ae,diff:{value:xa,displacement:xa}}};return kt},yo=function(ne){var ae=ne.critical,oe=ne.scrollOptions,ge=ne.registry;cu();var xe=Ur(),Fe=xe.scroll.current,Re=ae.droppable,ke=ge.droppable.getAllByType(Re.type).map(function(At){return At.callbacks.getDimensionAndWatchScroll(Fe,oe)}),Et=ge.draggable.getAllByType(ae.draggable.type).map(function(At){return At.getDimension(Fe)}),_t={draggables:Jo(Et),droppables:Yo(ke)};Qi();var kt={dimensions:_t,critical:ae,viewport:xe};return kt};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 Tr=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)||Ue(!1),oe&&ae.updateDroppableIsEnabled({id:Yt,isEnabled:Vn})},Fe=function(Yt,Vn){oe&&(ne.droppable.exists(Yt)||Ue(!1),ae.updateDroppableIsCombineEnabled({id:Yt,isCombineEnabled:Vn}))},Re=function(Yt,Vn){oe&&(ne.droppable.exists(Yt)||Ue(!1),ae.updateDroppableScroll({id:Yt,newScroll:Vn}))},ke=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||Ue(!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)},kt=function(Yt){oe&&Ue(!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})},At={updateDroppableIsEnabled:xe,updateDroppableIsCombineEnabled:Fe,scrollDroppable:ke,updateDroppableScroll:Re,startPublishing:kt,stopPublishing:Et};return At},vo=function(ne,ae){return ne.phase==="IDLE"?!0:ne.phase!=="DROP_ANIMATING"||ne.completed.result.draggableId===ae?!1:ne.completed.result.reason==="DROP"},Ao=function(ne){window.scrollBy(ne.x,ne.y)},ka=pn(function(ne){return Lo(ne).filter(function(ae){return!(!ae.isEnabled||!ae.frame)})}),wo=function(ae,oe){var ge=Er(ka(oe),function(xe){return xe.frame||Ue(!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=wo(ae,ge);return Fe},Do={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]*Do.startFromPercentage,ge=ne[ae.size]*Do.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 Do.maxPixelScroll;if(ne===ae.startScrollingFrom)return Yr;var oe=bi({startOfRange:ae.maxScrollValueAt,endOfRange:ae.startScrollingFrom,current:ne}),ge=1-oe,xe=Do.maxPixelScroll*Do.ease(ge);return Math.ceil(xe)},Zo=Do.durationDampening.accelerateAt,_i=Do.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}),ke=ne*Do.ease(Re);return Math.ceil(ke)},Hr=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),ke=oe[xe.end]<oe[xe.start];return ke?Hr({distanceToEdge:oe[xe.end],thresholds:Re,dragStartTime:ge,shouldUseTimeDampening:Fe}):-1*Hr({distanceToEdge:oe[xe.start],thresholds:Re,dragStartTime:ge,shouldUseTimeDampening:Fe})},zr=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},ke=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:ke});if(Ha(_t,xa))return null;var kt=zr({container:oe,subject:ge,proposedScroll:_t});return kt?Ha(kt,xa)?null:kt: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 Ha(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),ke=Ot({max:Fe,current:ge,change:Re});return!ke||Re.x!==0&&ke.x===0||Re.y!==0&&ke.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},zt=function(ae,oe){var ge=ae.frame;return!ge||!_n(ae,oe)?null:Ot({current:ge.scroll.current,max:ge.scroll.max,change:oe})},$n=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 ke=pe({dragStartTime:xe,container:Re.pageMarginBox,subject:oe,center:ge,shouldUseTimeDampening:Fe});return ke&&_n(ae,ke)?ke: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,ke=ae.dimensions.draggables[ae.critical.draggable.id],Et=ke.page.marginBox;if(ae.isWindowScrollAllowed){var _t=ae.viewport,kt=$n({dragStartTime:oe,viewport:_t,subject:Et,center:Re,shouldUseTimeDampening:ge});if(kt){xe(kt);return}}var At=yi({center:Re,destination:ji(ae.impact),droppables:ae.dimensions.droppables});if(At){var Dt=Fn({dragStartTime:oe,droppable:At,subject:Et,center:Re,shouldUseTimeDampening:ge});Dt&&Fe(At.descriptor.id,Dt)}},mn=function(ne){var ae=ne.scrollWindow,oe=ne.scrollDroppable,ge=Sa(ae),xe=Sa(oe),Fe=null,Re=function(kt){Fe||Ue(!1);var At=Fe,Dt=At.shouldUseTimeDampening,Yt=At.dragStartTime;Pt({state:kt,scrollWindow:ge,scrollDroppable:xe,dragStartTime:Yt,shouldUseTimeDampening:Dt})},ke=function(kt){cu(),Fe&&Ue(!1);var At=Date.now(),Dt=!1,Yt=function(){Dt=!0};Pt({state:kt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Yt,scrollDroppable:Yt}),Fe={dragStartTime:At,shouldUseTimeDampening:Dt},Qi(),Dt&&Re(kt)},Et=function(){Fe&&(ge.cancel(),xe.cancel(),Fe=null)};return{start:ke,stop:Et,scroll:Re}},On=function(ne){var ae=ne.move,oe=ne.scrollDroppable,ge=ne.scrollWindow,xe=function(_t,kt){var At=Ea(_t.current.client.selection,kt);ae({client:At})},Fe=function(_t,kt){if(!_n(_t,kt))return kt;var At=zt(_t,kt);if(!At)return oe(_t.descriptor.id,kt),null;var Dt=Qa(kt,At);oe(_t.descriptor.id,Dt);var Yt=Qa(kt,Dt);return Yt},Re=function(_t,kt,At){if(!_t||!Oa(kt,At))return At;var Dt=va(kt,At);if(!Dt)return ge(At),null;var Yt=Qa(At,Dt);ge(Yt);var Vn=Qa(At,Yt);return Vn},ke=function(_t){var kt=_t.scrollJumpRequest;if(kt){var At=ji(_t.impact);At||Ue(!1);var Dt=Fe(_t.dimensions.droppables[At],kt);if(Dt){var Yt=_t.viewport,Vn=Re(_t.isWindowScrollAllowed,Yt,Dt);Vn&&xe(_t,Vn)}}};return ke},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)}},ke={scroll:Re,start:xe.start,stop:xe.stop};return ke},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 ke=`
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:ke,dragging:Ka,dropAnimating:ke}}}(),ge=function(){var ke=`
transition: `+pi.outOfTheWay+`;
`;return{selector:ae(aa.contextId),styles:{dragging:ke,dropAnimating:ke,userCancel:ke}}}(),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||Ue(!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(At){var Dt=xe.current;Dt||Ue(!1),Dt.textContent=At}),[]),Re=Mt(function(At){var Dt=ge.current;Dt||Ue(!1),Dt.textContent=At},[]);Sr(function(){!ge.current&&!xe.current||Ue(!1);var At=Ga(ae),Dt=Ga(ae);return ge.current=At,xe.current=Dt,At.setAttribute(Zn+"-always",ne),Dt.setAttribute(Zn+"-dynamic",ne),ui().appendChild(At),ui().appendChild(Dt),Re(oe.always),Fe(oe.resting),function(){var Yt=function(fr){var Pr=fr.current;Pr||Ue(!1),ui().removeChild(Pr),fr.current=null};Yt(ge),Yt(xe)}},[ae,Re,Fe,oe.always,oe.resting,ne]);var ke=Mt(function(){return Fe(oe.dragging)},[Fe,oe.dragging]),Et=Mt(function(At){if(At==="DROP"){Fe(oe.dropAnimating);return}Fe(oe.userCancel)},[Fe,oe.dropAnimating,oe.userCancel]),_t=Mt(function(){xe.current&&Fe(oe.resting)},[Fe,oe.resting]),kt=Bt(function(){return{dragging:ke,dropping:Et,resting:_t}},[ke,Et,_t]);return kt}var wr=function(ne){return ne&&ne.ownerDocument?ne.ownerDocument.defaultView:window};function ao(ne){return ne instanceof wr(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(Dt,Yt){var Vn={id:Dt,focus:Yt};return ae.current[Dt]=Vn,function(){var Pr=ae.current,Fr=Pr[Dt];Fr!==Vn&&delete Pr[Dt]}},[]),Re=Mt(function(Dt){var Yt=Eo(ne,Dt);Yt&&Yt!==document.activeElement&&Yt.focus()},[ne]),ke=Mt(function(Dt,Yt){oe.current===Dt&&(oe.current=Yt)},[]),Et=Mt(function(){ge.current||xe.current&&(ge.current=requestAnimationFrame(function(){ge.current=null;var Dt=oe.current;Dt&&Re(Dt)}))},[Re]),_t=Mt(function(Dt){oe.current=null;var Yt=document.activeElement;Yt&&Yt.getAttribute(Fa.draggableId)===Dt&&(oe.current=Dt)},[]);Sr(function(){return xe.current=!0,function(){xe.current=!1;var Dt=ge.current;Dt&&cancelAnimationFrame(Dt)}},[]);var kt=Bt(function(){return{register:Fe,tryRecordFocus:_t,tryRestoreFocusRecorded:Et,tryShiftRecord:ke}},[Fe,_t,Et,ke]);return kt}function mi(){var ne={draggables:{},droppables:{}},ae=[];function oe(At){return ae.push(At),function(){var Yt=ae.indexOf(At);Yt!==-1&&ae.splice(Yt,1)}}function ge(At){ae.length&&ae.forEach(function(Dt){return Dt(At)})}function xe(At){return ne.draggables[At]||null}function Fe(At){var Dt=xe(At);return Dt||Ue(!1),Dt}var Re={register:function(Dt){ne.draggables[Dt.descriptor.id]=Dt,ge({type:"ADDITION",value:Dt})},update:function(Dt,Yt){var Vn=ne.draggables[Yt.descriptor.id];Vn&&Vn.uniqueId===Dt.uniqueId&&(delete ne.draggables[Yt.descriptor.id],ne.draggables[Dt.descriptor.id]=Dt)},unregister:function(Dt){var Yt=Dt.descriptor.id,Vn=xe(Yt);Vn&&Dt.uniqueId===Vn.uniqueId&&(delete ne.draggables[Yt],ge({type:"REMOVAL",value:Dt}))},getById:Fe,findById:xe,exists:function(Dt){return!!xe(Dt)},getAllByType:function(Dt){return To(ne.draggables).filter(function(Yt){return Yt.descriptor.type===Dt})}};function ke(At){return ne.droppables[At]||null}function Et(At){var Dt=ke(At);return Dt||Ue(!1),Dt}var _t={register:function(Dt){ne.droppables[Dt.descriptor.id]=Dt},unregister:function(Dt){var Yt=ke(Dt.descriptor.id);Yt&&Dt.uniqueId===Yt.uniqueId&&delete ne.droppables[Dt.descriptor.id]},getById:Et,findById:ke,exists:function(Dt){return!!ke(Dt)},getAllByType:function(Dt){return To(ne.droppables).filter(function(Yt){return Yt.descriptor.type===Dt})}};function kt(){ne.draggables={},ne.droppables={},ae.length=0}return{draggable:Re,droppable:_t,subscribe:oe,clean:kt}}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||Ue(!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,Ho={separator:"::"};function Ci(){Ri=0}function Mi(ne,ae){return ae===void 0&&(ae=Ho),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&&Ue(!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 Ui(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&&Ue(!1);var ke={abandon:Re};return ne=ke,ke}function xe(){ne||Ue(!1),ne=null}function Fe(){ne&&(ne.abandon(),xe())}return{isClaimed:ae,isActive:oe,claim:ge,release:xe,tryAbandon:Fe}}var Al=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[Al]=!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,wi=5;function fl(ne,ae){return Math.abs(ae.x-ne.x)>=wi||Math.abs(ae.y-ne.y)>=wi}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 ke=Re.button,Et=Re.clientX,_t=Re.clientY;if(ke===Vi){var kt={x:Et,y:_t},At=ge();if(At.type==="DRAGGING"){Re.preventDefault(),At.actions.move(kt);return}At.type!=="PENDING"&&Ue(!1);var Dt=At.point;if(fl(Dt,kt)){Re.preventDefault();var Yt=At.actions.fluidLift(kt);xe({type:"DRAGGING",actions:Yt})}}}},{eventName:"mouseup",fn:function(Re){var ke=ge();if(ke.type!=="DRAGGING"){ae();return}Re.preventDefault(),ke.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"mousedown",fn:function(Re){ge().type==="DRAGGING"&&Re.preventDefault(),ae()}},{eventName:"keydown",fn:function(Re){var ke=ge();if(ke.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 ke=ge();if(ke.type==="IDLE"&&Ue(!1),ke.actions.shouldRespectForcePress()){ae();return}Re.preventDefault()}},{eventName:qo,fn:ae}]}function ou(ne){var ae=(0,b.useRef)(el),oe=(0,b.useRef)(Aa),ge=Bt(function(){return{eventName:"mousedown",fn:function(At){if(!At.defaultPrevented&&At.button===Vi&&!(At.ctrlKey||At.metaKey||At.shiftKey||At.altKey)){var Dt=ne.findClosestDraggableId(At);if(Dt){var Yt=ne.tryGetLock(Dt,Re,{sourceEvent:At});if(Yt){At.preventDefault();var Vn={x:At.clientX,y:At.clientY};oe.current(),_t(Yt,Vn)}}}}}},[ne]),xe=Bt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(At){if(!At.defaultPrevented){var Dt=ne.findClosestDraggableId(At);if(Dt){var Yt=ne.findOptionsForDraggable(Dt);Yt&&(Yt.shouldRespectForcePress||ne.canGetLock(Dt)&&At.preventDefault())}}}}},[ne]),Fe=Mt(function(){var At={passive:!1,capture:!0};oe.current=mr(window,[xe,ge],At)},[xe,ge]),Re=Mt(function(){var kt=ae.current;kt.type!=="IDLE"&&(ae.current=el,oe.current(),Fe())},[Fe]),ke=Mt(function(){var kt=ae.current;Re(),kt.type==="DRAGGING"&&kt.actions.cancel({shouldBlockNextClick:!0}),kt.type==="PENDING"&&kt.actions.abort()},[Re]),Et=Mt(function(){var At={capture:!0,passive:!1},Dt=Ml({cancel:ke,completed:Re,getPhase:function(){return ae.current},setPhase:function(Vn){ae.current=Vn}});oe.current=mr(window,Dt,At)},[ke,Re]),_t=Mt(function(At,Dt){ae.current.type!=="IDLE"&&Ue(!1),ae.current={type:"PENDING",point:Dt,actions:At},Et()},[Et]);Sr(function(){return Fe(),function(){oe.current()}},[Fe])}var ti;function zi(){}var wl=(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(wl[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)(zi),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 ke=ne.tryGetLock(Re,kt,{sourceEvent:Fe});if(!ke)return;Fe.preventDefault();var Et=!0,_t=ke.snapLift();ae.current();function kt(){Et||Ue(!1),Et=!1,ae.current(),ge()}ae.current=mr(window,Sl(_t,kt),{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 Tl={type:"IDLE"},Ku=120,Vu=.15;function Uu(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 ke=Fe.touches[0],Et=ke.clientX,_t=ke.clientY,kt={x:Et,y:_t};Fe.preventDefault(),Re.actions.move(kt)}},{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"&&Ue(!1);var ke=Fe.touches[0];if(ke){var Et=ke.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)(Tl),oe=(0,b.useRef)(Aa),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,ke,{sourceEvent:Yt});if(fr){var Pr=Yt.touches[0],Fr=Pr.clientX,$r=Pr.clientY,ro={x:Fr,y:$r};oe.current(),At(fr,ro)}}}}}},[ne]),Re=Mt(function(){var Yt={capture:!0,passive:!1};oe.current=mr(window,[Fe],Yt)},[Fe]),ke=Mt(function(){var Dt=ae.current;Dt.type!=="IDLE"&&(Dt.type==="PENDING"&&clearTimeout(Dt.longPressTimerId),xe(Tl),oe.current(),Re())},[Re,xe]),Et=Mt(function(){var Dt=ae.current;ke(),Dt.type==="DRAGGING"&&Dt.actions.cancel({shouldBlockNextClick:!0}),Dt.type==="PENDING"&&Dt.actions.abort()},[ke]),_t=Mt(function(){var Yt={capture:!0,passive:!1},Vn={cancel:Et,completed:ke,getPhase:ge},fr=mr(window,hu(Vn),Yt),Pr=mr(window,Uu(Vn),Yt);oe.current=function(){fr(),Pr()}},[Et,ge,ke]),kt=Mt(function(){var Yt=ge();Yt.type!=="PENDING"&&Ue(!1);var Vn=Yt.actions.fluidLift(Yt.point);xe({type:"DRAGGING",actions:Vn,hasMoved:!1})},[ge,xe]),At=Mt(function(Yt,Vn){ge().type!=="IDLE"&&Ue(!1);var fr=setTimeout(kt,Ku);xe({type:"PENDING",point:Vn,actions:Yt,longPressTimerId:fr}),_t()},[_t,ge,xe,kt]);Sr(function(){return Re(),function(){oe.current();var Vn=ge();Vn.type==="PENDING"&&(clearTimeout(Vn.longPressTimerId),xe(Tl))}},[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 wr(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 Ul(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 $l(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 wu(ne){var ae=ne.lockAPI,oe=ne.contextId,ge=ne.store,xe=ne.registry,Fe=ne.draggableId,Re=ne.forceSensorStop,ke=ne.sourceEvent,Et=Eu({lockAPI:ae,store:ge,registry:xe,draggableId:Fe});if(!Et)return null;var _t=xe.draggable.getById(Fe),kt=Su(oe,_t.descriptor.id);if(!kt||ke&&!_t.options.canDragInteractiveElements&&io(kt,ke))return null;var At=ae.claim(Re||Aa),Dt="PRE_DRAG";function Yt(){return _t.options.shouldRespectForcePress}function Vn(){return ae.isActive(At)}function fr(ai,Di){$l({expected:ai,phase:Dt,isLockActive:Vn,shouldWarn:!0})&&ge.dispatch(Di())}var Pr=fr.bind(null,"DRAGGING");function Fr(ai){function Di(){ae.release(),Dt="COMPLETED"}Dt!=="PRE_DRAG"&&(Di(),Dt!=="PRE_DRAG"&&Ue(!1)),ge.dispatch(Se(ai.liftActionArgs)),Dt="DRAGGING";function vl(Ti,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)}Di(),ge.dispatch(Dr({reason:Ti}))}return(0,Ne.Z)({isActive:function(){return $l({expected:"DRAGGING",phase:Dt,isLockActive:Vn,shouldWarn:!1})},shouldRespectForcePress:Yt,drop:function(pl){return vl("DROP",pl)},cancel:function(pl){return vl("CANCEL",pl)}},ai.actions)}function $r(ai){var Di=Sa(function(Ti){Pr(function(){return Tn({client:Ti})})}),vl=Fr({liftActionArgs:{id:Fe,clientSelection:ai,movementMode:"FLUID"},cleanup:function(){return Di.cancel()},actions:{move:Di}});return(0,Ne.Z)({},vl,{move:Di})}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(kt),movementMode:"SNAP"},cleanup:Aa,actions:ai})}function co(){var ai=$l({expected:"PRE_DRAG",phase:Dt,isLockActive:Vn,shouldWarn:!0});ai&&ae.release()}var si={isActive:function(){return $l({expected:"PRE_DRAG",phase:Dt,isLockActive:Vn,shouldWarn:!1})},shouldRespectForcePress:Yt,fluidLift:$r,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||[]),ke=(0,b.useState)(function(){return sl()})[0],Et=Mt(function($r,ro){$r.isDragging&&!ro.isDragging&&ke.tryAbandon()},[ke]);Sr(function(){var $r=oe.getState(),ro=oe.subscribe(function(){var co=oe.getState();Et($r,co),$r=co});return ro},[ke,oe,Et]),Sr(function(){return ke.tryAbandon},[ke.tryAbandon]);var _t=Mt(function(Fr){return Eu({lockAPI:ke,registry:ge,store:oe,draggableId:Fr})},[ke,ge,oe]),kt=Mt(function(Fr,$r,ro){return wu({lockAPI:ke,registry:ge,contextId:ae,store:oe,draggableId:Fr,forceSensorStop:$r,sourceEvent:ro&&ro.sourceEvent?ro.sourceEvent:null})},[ae,ke,ge,oe]),At=Mt(function(Fr){return Ul(ae,Fr)},[ae]),Dt=Mt(function(Fr){var $r=ge.draggable.findById(Fr);return $r?$r.options:null},[ge.draggable]),Yt=Mt(function(){ke.isClaimed()&&(ke.tryAbandon(),oe.getState().phase!=="IDLE"&&oe.dispatch(Mn()))},[ke,oe]),Vn=Mt(ke.isClaimed,[ke]),fr=Bt(function(){return{canGetLock:_t,tryGetLock:kt,findClosestDraggableId:At,findOptionsForDraggable:Dt,tryReleaseLock:Yt,isLockClaimed:Vn}},[_t,kt,At,Dt,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||Ue(!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 ke=ul(ne),Et=Mt(function(){return Ei(ke.current)},[ke]),_t=Fo(ae),kt=il({contextId:ae,text:Fe}),At=xo(ae,xe),Dt=Mt(function(Ti){Xr(Re).dispatch(Ti)},[]),Yt=Bt(function(){return(0,_e.DE)({publishWhileDragging:tt,updateDroppableScroll:Xt,updateDroppableIsEnabled:Wt,updateDroppableIsCombineEnabled:kn,collectionStarting:lt},Dt)},[Dt]),Vn=Cr(),fr=Bt(function(){return Tr(Vn,Yt)},[Vn,Yt]),Pr=Bt(function(){return sa((0,Ne.Z)({scrollWindow:Ao,scrollDroppable:fr.scrollDroppable},(0,_e.DE)({move:Tn},Dt)))},[fr.scrollDroppable,Dt]),Fr=hi(ae),$r=Bt(function(){return jr({announce:_t,autoScroller:Pr,dimensionMarshal:fr,focusMarshal:Fr,getResponders:Et,styleMarshal:At})},[_t,Pr,fr,Fr,Et,At]);Re.current=$r;var ro=Mt(function(){var Ti=Xr(Re),pl=Ti.getState();pl.phase!=="IDLE"&&Ti.dispatch(Mn())},[]),co=Mt(function(){var Ti=Xr(Re).getState();return Ti.isDragging||Ti.phase==="DROP_ANIMATING"},[]),si=Bt(function(){return{isDragging:co,tryAbort:ro}},[co,ro]);oe(si);var ai=Mt(function(Ti){return vo(Xr(Re).getState(),Ti)},[]),Di=Mt(function(){return au(Xr(Re).getState())},[]),vl=Bt(function(){return{marshal:fr,focus:Fr,contextId:ae,canLift:ai,isMovementAllowed:Di,dragHandleUsageInstructionsId:kt,registry:Vn}},[ae,fr,kt,Fr,ai,Di,Vn]);return hs({contextId:ae,store:$r,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:$r},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"),$u=ql("auto"),lu=ql("visible"),zs=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 zs(ge,cs)||zs(ge,$u)},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,ke=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}}}}(),kt=Fe==="vertical"?dl:gl,At=ho({page:ke,withPlaceholder:null,axis:kt,frame:_t}),Dt={descriptor:ae,isCombineEnabled:ge,isFixedOnPage:xe,axis:kt,isEnabled:oe,client:Re,page:ke,frame:_t,subject:At};return Dt},ud=function(ae,oe){var ge=wa(ae);if(!oe||ae!==oe)return ge;var xe=ge.paddingBox.top-oe.scrollTop,Fe=ge.paddingBox.left-oe.scrollLeft,Re=xe+oe.scrollHeight,ke=Fe+oe.scrollWidth,Et={top:xe,right:ke,bottom:Re,left:Fe},_t=ha(Et,ge.border),kt=ar({borderBox:_t,margin:ge.margin,border:ge.border,padding:ge.padding});return kt},sd=function(ne){var ae=ne.ref,oe=ne.descriptor,ge=ne.env,xe=ne.windowScroll,Fe=ne.direction,Re=ne.isDropDisabled,ke=ne.isCombineEnabled,Et=ne.shouldClipSubject,_t=ge.closestScrollable,kt=ud(ae,_t),At=Dn(kt,xe),Dt=function(){if(!_t)return null;var Vn=wa(_t),fr={scrollHeight:_t.scrollHeight,scrollWidth:_t.scrollWidth};return{client:Vn,page:Dn(Vn,xe),scroll:Is(_t),scrollSize:fr,shouldClipSubject:Et}}(),Yt=ld({descriptor:oe,isEnabled:!Re,isCombineEnabled:ke,isFixedOnPage:ge.isFixedOnPage,direction:Fe,client:kt,page:At,closest:Dt});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||Ue(!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),ke=Bt(function(){return{id:ne.droppableId,type:ne.type,mode:ne.mode}},[ne.droppableId,ne.mode,ne.type]),Et=(0,b.useRef)(ke),_t=Bt(function(){return pn(function(co,si){ae.current||Ue(!1);var ai={x:co,y:si};Fe.updateDroppableScroll(ke.id,ai)})},[ke.id,Fe]),kt=Mt(function(){var co=ae.current;return!co||!co.env.closestScrollable?xa:Is(co.env.closestScrollable)},[]),At=Mt(function(){var co=kt();_t(co.x,co.y)},[kt,_t]),Dt=Bt(function(){return Sa(At)},[At]),Yt=Mt(function(){var co=ae.current,si=xs(co);co&&si||Ue(!1);var ai=co.scrollOptions;if(ai.shouldPublishImmediately){At();return}Dt()},[Dt,At]),Vn=Mt(function(co,si){ae.current&&Ue(!1);var ai=Re.current,Di=ai.getDroppableRef();Di||Ue(!1);var vl=id(Di),Ti={ref:Di,descriptor:ke,env:vl,scrollOptions:si};ae.current=Ti;var pl=sd({ref:Di,descriptor:ke,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(Ti.scrollOptions))),pl},[oe.contextId,ke,Yt,Re]),fr=Mt(function(){var co=ae.current,si=xs(co);return co&&si||Ue(!1),Is(si)},[]),Pr=Mt(function(){var co=ae.current;co||Ue(!1);var si=xs(co);ae.current=null,si&&(Dt.cancel(),si.removeAttribute(Ja.contextId),si.removeEventListener("scroll",Yt,Ws(co.scrollOptions)))},[Yt,Dt]),Fr=Mt(function(co){var si=ae.current;si||Ue(!1);var ai=xs(si);ai||Ue(!1),ai.scrollTop+=co.y,ai.scrollLeft+=co.x},[]),$r=Bt(function(){return{getDimensionAndWatchScroll:Vn,getScrollWhileDragging:fr,dragStopped:Pr,scroll:Fr}},[Pr,Vn,fr,Fr]),ro=Bt(function(){return{uniqueId:ge,descriptor:ke,callbacks:$r}},[$r,ke,ge]);Sr(function(){return Et.current=ro.descriptor,xe.droppable.register(ro),function(){ae.current&&Pr(),xe.droppable.unregister(ro)}},[$r,ke,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,ke=(0,b.useState)(ne.animate==="open"),Et=ke[0],_t=ke[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 kt=Mt(function(Dt){Dt.propertyName==="height"&&(xe(),ge==="close"&&Fe())},[ge,Fe,xe]),At=fd({isAnimatingOpenOnMount:Et,animate:ne.animate,placeholder:ne.placeholder});return b.createElement(ne.placeholder.tagName,{style:At,"data-rbd-placeholder-context-id":Re,onTransitionEnd:kt,ref:ne.innerRef})}var pd=b.memo(vd),Ls=b.createContext(null);function Vs(ne){ne&&ao(ne)||Ue(!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||Ue(!1),typeof oe.droppableId!="string"&&Ue(!1)},function(ae){var oe=ae.props;Rs(oe.isDropDisabled)||Ue(!1),Rs(oe.isCombineEnabled)||Ue(!1),Rs(oe.ignoreContainerClipping)||Ue(!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||Ue(!1)},function(ae){var oe=ae.getPlaceholderRef;oe()&&Ue(!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),Us={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?zo.opacity.drop:zo.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,ke=xd(ne),Et=!!Fe,_t=Et?oo.drop(ge,Re):oo.moveTo(ge),kt={position:"fixed",top:oe.marginBox.top,left:oe.marginBox.left,boxSizing:"border-box",width:oe.borderBox.width,height:oe.borderBox.height,transition:bd(ke,Fe),transform:_t,opacity:Cd(Re,Et),zIndex:Et?Us.dropAnimating:Us.dragging,pointerEvents:"none"};return kt}function Bd(ne){return{transform:oo.moveTo(ne.offset),transition:ne.shouldAnimateDisplacement?null:"none"}}function Ad(ne){return ne.type==="DRAGGING"?Fd(ne):Bd(ne)}function wd(ne,ae,oe){oe===void 0&&(oe=xa);var ge=window.getComputedStyle(ae),xe=ae.getBoundingClientRect(),Fe=oa(xe,ge),Re=Dn(Fe,oe),ke={client:Fe,tagName:ae.tagName.toLowerCase(),display:ge.display},Et={x:Fe.marginBox.width,y:Fe.marginBox.height},_t={descriptor:ne,placeholder:ke,displaceBy:Et,client:Fe,page:Re};return _t}function Dd(ne){var ae=Mi("draggable"),oe=ne.descriptor,ge=ne.registry,xe=ne.getDraggableRef,Fe=ne.canDragInteractiveElements,Re=ne.shouldRespectForcePress,ke=ne.isEnabled,Et=Bt(function(){return{canDragInteractiveElements:Fe,shouldRespectForcePress:Re,isEnabled:ke}},[Fe,ke,Re]),_t=Mt(function(Yt){var Vn=xe();return Vn||Ue(!1),wd(oe,Vn,Yt)},[oe,xe]),kt=Bt(function(){return{uniqueId:ae,descriptor:oe,options:Et,getDimension:_t}},[oe,_t,Et,ae]),At=(0,b.useRef)(kt),Dt=(0,b.useRef)(!0);Sr(function(){return ge.draggable.register(At.current),function(){return ge.draggable.unregister(At.current)}},[ge.draggable]),Sr(function(){if(Dt.current){Dt.current=!1;return}var Yt=At.current;At.current=kt,ge.draggable.update(kt,Yt)},[kt,ge.draggable])}function Nd(ne,ae,oe){Zi(function(){function ge(Fe){return"Draggable[id: "+Fe+"]: "}var xe=ne.draggableId;xe||Ue(!1),typeof xe!="string"&&Ue(!1),Wo(ne.index)||Ue(!1),ne.mapped.type!=="DRAGGING"&&(Vs(oe()),ne.isEnabled&&(Eo(ae,xe)||Ue(!1)))})}function Id(ne){}function Od(ne){ne.preventDefault()}function Ld(ne){var ae=(0,b.useRef)(null),oe=Mt(function(Ti){ae.current=Ti},[]),ge=Mt(function(){return ae.current},[]),xe=Cs(ll),Fe=xe.contextId,Re=xe.dragHandleUsageInstructionsId,ke=xe.registry,Et=Cs(Ls),_t=Et.type,kt=Et.droppableId,At=Bt(function(){return{id:ne.draggableId,index:ne.index,type:_t,droppableId:kt}},[ne.draggableId,ne.index,_t,kt]),Dt=ne.children,Yt=ne.draggableId,Vn=ne.isEnabled,fr=ne.shouldRespectForcePress,Pr=ne.canDragInteractiveElements,Fr=ne.isClone,$r=ne.mapped,ro=ne.dropAnimationFinished;if(Nd(ne,Fe,ge),Id(Fr),!Fr){var co=Bt(function(){return{descriptor:At,registry:ke,getDraggableRef:ge,canDragInteractiveElements:Pr,shouldRespectForcePress:fr,isEnabled:Vn}},[At,ke,ge,Pr,fr,Vn]);Dd(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(Ti){$r.type==="DRAGGING"&&$r.dropping&&Ti.propertyName==="transform"&&ro()},[ro,$r]),Di=Bt(function(){var Ti=Ad($r),pl=$r.type==="DRAGGING"&&$r.dropping?ai:null,Ll={innerRef:oe,draggableProps:{"data-rbd-draggable-context-id":Fe,"data-rbd-draggable-id":Yt,style:Ti,onTransitionEnd:pl},dragHandleProps:si};return Ll},[Fe,si,Yt,$r,ai,oe]),vl=Bt(function(){return{draggableId:At.id,type:At.type,source:{index:At.index,droppableId:At.droppableId}}},[At.droppableId,At.id,At.index,At.type]);return Dt(Di,$r.snapshot,vl)}var $s=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 Td(){var ne=pn(function(xe,Fe){return{x:xe,y:Fe}}),ae=pn(function(xe,Fe,Re,ke,Et){return{isDragging:!0,isClone:Fe,isDropAnimating:!!Et,dropAnimation:Et,mode:xe,draggingOver:Re,combineWith:ke,combineTargetFor:null}}),oe=pn(function(xe,Fe,Re,ke,Et,_t,kt){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:Et,combineWith:_t,mode:Fe,offset:xe,dimension:Re,forceShouldAnimate:kt,snapshot:ae(Fe,ke,Et,_t,null)}}}),ge=function(Fe,Re){if(Fe.isDragging){if(Fe.critical.draggable.id!==Re.draggableId)return null;var ke=Fe.current.client.offset,Et=Fe.dimensions.draggables[Re.draggableId],_t=ji(Fe.impact),kt=Md(Fe.impact),At=Fe.forceShouldAnimate;return oe(ne(ke.x,ke.y),Fe.movementMode,Et,Re.isClone,_t,kt,At)}if(Fe.phase==="DROP_ANIMATING"){var Dt=Fe.completed;if(Dt.result.draggableId!==Re.draggableId)return null;var Yt=Re.isClone,Vn=Fe.dimensions.draggables[Re.draggableId],fr=Dt.result,Pr=fr.mode,Fr=Qs(fr),$r=Rd(fr),ro=Fe.dropDuration,co={duration:ro,curve:fo.drop,moveTo:Fe.newHomeClientOffset,opacity:$r?zo.opacity.drop:null,scale:$r?zo.scale.drop:null};return{mapped:{type:"DRAGGING",offset:Fe.newHomeClientOffset,dimension:Vn,dropping:co,draggingOver:Fr,combineWith:$r,mode:Pr,forceShouldAnimate:null,snapshot:ae(Pr,Yt,Fr,$r,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 kd={mapped:{type:"SECONDARY",offset:xa,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Ys(null)}};function _d(){var ne=pn(function(Re,ke){return{x:Re,y:ke}}),ae=pn(Ys),oe=pn(function(Re,ke,Et){return ke===void 0&&(ke=null),{mapped:{type:"SECONDARY",offset:Re,combineTargetFor:ke,shouldAnimateDisplacement:Et,snapshot:ae(ke)}}}),ge=function(ke){return ke?oe(xa,ke,!0):null},xe=function(ke,Et,_t,kt){var At=_t.displaced.visible[ke],Dt=!!(kt.inVirtualList&&kt.effected[ke]),Yt=ko(_t),Vn=Yt&&Yt.draggableId===ke?Et:null;if(!At){if(!Dt)return ge(Vn);if(_t.displaced.invisible[ke])return null;var fr=Un(kt.displacedBy.point),Pr=ne(fr.x,fr.y);return oe(Pr,Vn,!0)}if(Dt)return ge(Vn);var Fr=_t.displacedBy.point,$r=ne(Fr.x,Fr.y);return oe($r,Vn,At.shouldAnimate)},Fe=function(ke,Et){if(ke.isDragging)return ke.critical.draggable.id===Et.draggableId?null:xe(Et.draggableId,ke.critical.draggable.id,ke.impact,ke.afterCritical);if(ke.phase==="DROP_ANIMATING"){var _t=ke.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=Td(),oe=_d(),ge=function(Fe,Re){return ae(Fe,Re)||oe(Fe,Re)||kd};return ge},Hd={dropAnimationFinished:Ir},zd=Oe(Zd,Hd,null,{context:po,pure:!0,areStatePropsEqual:$s})(Ld);function Js(ne){var ae=Cs(Ls),oe=ae.isUsingCloneFor;return oe===ne.draggableId&&!ne.isClone?null:b.createElement(zd,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||Ue(!1);var oe=ae.contextId,ge=ae.isMovementAllowed,xe=(0,b.useRef)(null),Fe=(0,b.useRef)(null),Re=ne.children,ke=ne.droppableId,Et=ne.type,_t=ne.mode,kt=ne.direction,At=ne.ignoreContainerClipping,Dt=ne.isDropDisabled,Yt=ne.isCombineEnabled,Vn=ne.snapshot,fr=ne.useClone,Pr=ne.updateViewportMaxScroll,Fr=ne.getContainerForClone,$r=Mt(function(){return xe.current},[]),ro=Mt(function(kl){xe.current=kl},[]),co=Mt(function(){return Fe.current},[]),si=Mt(function(kl){Fe.current=kl},[]);Pd({props:ne,getDroppableRef:$r,getPlaceholderRef:co});var ai=Mt(function(){ge()&&Pr({maxScroll:cr()})},[ge,Pr]);gd({droppableId:ke,type:Et,mode:_t,direction:kt,isDropDisabled:Dt,isCombineEnabled:Yt,ignoreContainerClipping:At,getDroppableRef:$r});var Di=b.createElement(yd,{on:ne.placeholder,shouldAnimate:ne.shouldAnimatePlaceholder},function(kl){var Du=kl.onClose,yu=kl.data,uu=kl.animate;return b.createElement(pd,{placeholder:yu,onClose:Du,innerRef:si,animate:uu,contextId:oe,onTransitionEnd:ai})}),vl=Bt(function(){return{innerRef:ro,placeholder:Di,droppableProps:{"data-rbd-droppable-id":ke,"data-rbd-droppable-context-id":oe}}},[oe,ke,Di,ro]),Ti=fr?fr.dragging.draggableId:null,pl=Bt(function(){return{droppableId:ke,type:Et,isUsingCloneFor:Ti}},[ke,Ti,Et]);function Ll(){if(!fr)return null;var kl=fr.dragging,Du=fr.render,yu=b.createElement(Js,{draggableId:kl.draggableId,index:kl.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(uu,Nu){return Du(uu,Nu,kl)});return Cn.createPortal(yu,Fr())}return b.createElement(Ls.Provider,{value:pl},Re(vl,Vn),Ll())}var Ts=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,ke,Et,_t,kt,At){var Dt=kt.descriptor.id,Yt=kt.descriptor.droppableId===Re;if(Yt){var Vn=At?{render:At,dragging:ge(kt.descriptor)}:null,fr={isDraggingOver:Et,draggingOverWith:Et?Dt:null,draggingFromThisWith:Dt,isUsingPlaceholder:!0};return{placeholder:kt.placeholder,shouldAnimatePlaceholder:!1,snapshot:fr,useClone:Vn}}if(!ke)return oe;if(!_t)return ae;var Pr={isDraggingOver:Et,draggingOverWith:Dt,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:kt.placeholder,shouldAnimatePlaceholder:!0,snapshot:Pr,useClone:null}}),Fe=function(ke,Et){var _t=Et.droppableId,kt=Et.type,At=!Et.isDropDisabled,Dt=Et.renderClone;if(ke.isDragging){var Yt=ke.critical;if(!Ts(kt,Yt))return oe;var Vn=Xs(Yt,ke.dimensions),fr=ji(ke.impact)===_t;return xe(_t,At,fr,fr,Vn,Dt)}if(ke.phase==="DROP_ANIMATING"){var Pr=ke.completed;if(!Ts(kt,Pr.critical))return oe;var Fr=Xs(Pr.critical,ke.dimensions);return xe(_t,At,Qs(Pr.result)===_t,ji(Pr.impact)===_t,Fr,Dt)}if(ke.phase==="IDLE"&&ke.completed&&!ke.shouldFlush){var $r=ke.completed;if(!Ts(kt,$r.critical))return oe;var ro=ji($r.impact)===_t,co=!!($r.impact.at&&$r.impact.at.type==="COMBINE"),si=$r.critical.droppable.id===_t;return ro?co?ae:oe:si?ae:oe}return oe};return Fe},Kd={updateViewportMaxScroll:Da};function Vd(){return document.body||Ue(!1),document.body}var Ud={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Vd},qs=Oe(Wd,Kd,null,{context:po,pure:!0,areStatePropsEqual:$s})(Gd);qs.defaultProps=Ud},38486:function(Vt,jt){"use strict";var ee;var b=60103,de=60106,Be=60107,Ne=60108,_e=60114,Te=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"),Te=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 Te:return Qe;default:return We}}case de:return We}}}var te=Te,re=b,se=it,ie=Be,ve=Je,ye=je,Ge=de,De=_e,He=Ne,he=qe;ee=le,ee=te,ee=re,ee=se,ee=ie,ee=ve,ee=ye,ee=Ge,ee=De,ee=He,ee=he,ee=function(){return!1},ee=function(){return!1},jt.isContextConsumer=function(Qe){return z(Qe)===le},ee=function(Qe){return z(Qe)===Te},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===Te||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){"use strict";Vt.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAtKADAAQAAAABAAAAtAAAAAD/7QA4UGhvdG9zaG9wIDMuMA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qGDstPZ3li2Z12U2WLvk4fGJh+F0elYN8ZrbWiA7igAP4WR6sFzDAKPgPHP0VnlMsFS5IyyIGoeAamCKybYI5UQLWVE2fgGI/s72wqQXRd9jyxiHgGJtihFxGQm8Qd5XvtF3fEQOrQH9mDm1Z9hyJuEphXIq9uSWSQqv8a4RbAUTFdcs7gifwplYGjT3wzbPFz6Q70EZv8WZoxMP66ApMc86inirNBA8njcFIuvOTXhowPyzuQJiukzi3hQgS7b+I9nJtQn/AHsLGsvlcPPWsAAAAASUVORK5CYII="},5623:function(Vt){"use strict";Vt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAedJREFUOBGtVDtLA0EQ/jY5z7dgEBVJLHyAitpYWQqKjVZa5BfEKpWlWPgrLG0UEdTexkILRUQiSBBBCAhGUINFHia53Dm7ufXcvfgIOHA3O69vvtnbPeY4ThD/KIF/xBJQhg/wbmkZtj0KMKbEGNIweg4xuPmq+DWDKSOfz2/AqaxpOVWzip8HC2xTsydfjoMHhMd2VMDjkSswTPqSucOhh3PmupaIediBOnL52UTLENC7QCV1bC9vkjkF3i4WVUDeORIF2sf5ymOk7mY1pr87hoHEhekHDLYQOfck8c6c6OeYfPHN3LyOxEB2KwQru0LrBvTPdaGRipj7ISUzqUWJ/moiRyc1tUXAQP42Tsa6sEIRCtwDRXqESDYS8RuG5iyRMEWFAat4CbvsAmgFmukmeYofJYeSAimab0L4DfQNHiF1laFAyMv840o2zN3Q1FMuIOIWStF9OtAxH4xkIC8NZyN9SnIOsNISkLRd3EWlFBP0lQJtDzVTyc8mBKB3U65nUnBYmDaFAr98BFGqvYKtwOMZHRsp1vsedVxV8bQRJXu5BbKWa6sAmK1lj2FiOoLcS5LYNX/N+3ktp+GapFJMeoDccdI9gEJ2nW5HhJjKuXmktih7yjJoC8VVwNpldXnr+KX8DfcD09mnwzz7SXEAAAAASUVORK5CYII="},25365:function(Vt){"use strict";Vt.exports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