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.
1031 lines
428 KiB
1031 lines
428 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[1545],{40001:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return w}});var e=t(60499),B=t(59301),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},se=S,le=t(7657),p=function(l,ee){return B.createElement(le.Z,(0,e.Z)({},l,{ref:ee,icon:se}))},P=B.forwardRef(p),w=P},49198:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return w}});var e=t(60499),B=t(59301),S={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"},se=S,le=t(7657),p=function(l,ee){return B.createElement(le.Z,(0,e.Z)({},l,{ref:ee,icon:se}))},P=B.forwardRef(p),w=P},73331:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return w}});var e=t(60499),B=t(59301),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},se=S,le=t(7657),p=function(l,ee){return B.createElement(le.Z,(0,e.Z)({},l,{ref:ee,icon:se}))},P=B.forwardRef(p),w=P},15277:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return w}});var e=t(60499),B=t(59301),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},se=S,le=t(7657),p=function(l,ee){return B.createElement(le.Z,(0,e.Z)({},l,{ref:ee,icon:se}))},P=B.forwardRef(p),w=P},52671:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return w}});var e=t(60499),B=t(59301),S={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"},se=S,le=t(7657),p=function(l,ee){return B.createElement(le.Z,(0,e.Z)({},l,{ref:ee,icon:se}))},P=B.forwardRef(p),w=P},8657:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return w}});var e=t(60499),B=t(59301),S={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"},se=S,le=t(7657),p=function(l,ee){return B.createElement(le.Z,(0,e.Z)({},l,{ref:ee,icon:se}))},P=B.forwardRef(p),w=P},56082:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return w}});var e=t(60499),B=t(59301),S={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"},se=S,le=t(7657),p=function(l,ee){return B.createElement(le.Z,(0,e.Z)({},l,{ref:ee,icon:se}))},P=B.forwardRef(p),w=P},33853:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return w}});var e=t(60499),B=t(59301),S={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"},se=S,le=t(7657),p=function(l,ee){return B.createElement(le.Z,(0,e.Z)({},l,{ref:ee,icon:se}))},P=B.forwardRef(p),w=P},15075:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return w}});var e=t(60499),B=t(59301),S={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"},se=S,le=t(7657),p=function(l,ee){return B.createElement(le.Z,(0,e.Z)({},l,{ref:ee,icon:se}))},P=B.forwardRef(p),w=P},43531:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return w}});var e=t(60499),B=t(59301),S={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"},se=S,le=t(7657),p=function(l,ee){return B.createElement(le.Z,(0,e.Z)({},l,{ref:ee,icon:se}))},P=B.forwardRef(p),w=P},47472:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return w}});var e=t(60499),B=t(59301),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},se=S,le=t(7657),p=function(l,ee){return B.createElement(le.Z,(0,e.Z)({},l,{ref:ee,icon:se}))},P=B.forwardRef(p),w=P},74501:function(rt,Oe){"use strict";Oe.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},23513:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return ne}});var e=t(59301),B=t(18287),S=t(46861),se={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"},le=Object.defineProperty,p=Object.defineProperties,P=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,ee=(q,ie,Ce)=>ie in q?le(q,ie,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):q[ie]=Ce,d=(q,ie)=>{for(var Ce in ie||(ie={}))ce.call(ie,Ce)&&ee(q,Ce,ie[Ce]);if(w)for(var Ce of w(ie))l.call(ie,Ce)&&ee(q,Ce,ie[Ce]);return q},ae=(q,ie)=>p(q,P(ie)),de=(q,ie)=>{var Ce={};for(var v in q)ce.call(q,v)&&ie.indexOf(v)<0&&(Ce[v]=q[v]);if(q!=null&&w)for(var v of w(q))ie.indexOf(v)<0&&l.call(q,v)&&(Ce[v]=q[v]);return Ce},he=(q,ie,Ce)=>new Promise((v,s)=>{var f=z=>{try{c(Ce.next(z))}catch(F){s(F)}},x=z=>{try{c(Ce.throw(z))}catch(F){s(F)}},c=z=>z.done?v(z.value):Promise.resolve(z.value).then(f,x);c((Ce=Ce.apply(q,ie)).next())}),ne=q=>{var ie=q,{value:Ce,onChange:v,defaultValue:s,disabled:f}=ie,x=de(ie,["value","onChange","defaultValue","disabled"]);const[c,z]=(0,e.useState)([]),[F,H]=(0,e.useState)("1");(0,e.useEffect)(()=>{K()},[]);const K=()=>he(void 0,null,function*(){const o=yield(0,S.NZ)({});if(o!=null&&o.data){const Y=[{title:e.createElement("div",{title:"\u6839\u76EE\u5F55",className:se.name},"\u6839\u76EE\u5F55"),value:0,key:0,icon:e.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:W(o.data||[])}];z(Y),H("2")}}),W=o=>{function Y(I){const xe=I.children,Ie=Array.isArray(xe)&&xe.length>0,ye=I==null?void 0:I.group_id;return{title:e.createElement("div",{title:I==null?void 0:I.name,className:se.name},I==null?void 0:I.name),value:ye,key:ye,icon:e.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:Ie?xe==null?void 0:xe.map(fe=>Y(fe)):[]}}return o==null?void 0:o.map(I=>Y(I))},h=s?{defaultExpandedKeys:[0],defaultSelectedKeys:[0]}:{selectedKeys:Ce,defaultExpandedKeys:Ce};return e.createElement("div",{className:se.customTree},e.createElement(B.default,d(ae(d({key:F},h),{showIcon:!0,treeData:c,onSelect:v,disabled:f}),x)))}},65402:function(rt,Oe,t){"use strict";t.d(Oe,{S:function(){return ee}});var e=t(59301),B=t(93041),S=t(75727),se=t(44104),le=t(82326),p={flex_box_center:"flex_box_center___EIpII",flex_space_between:"flex_space_between___fFu6C",flex_box_vertical_center:"flex_box_vertical_center___dbtuv",flex_box_center_end:"flex_box_center_end___qEYJa",flex_box_column:"flex_box_column___ncMrS",main:"main___A2KB0",wrap:"wrap___PrMse",content:"content___pEqhq",programName:"programName___h8PAJ",name:"name___oxG0a",directionContentWrap:"directionContentWrap____Ymcj",directionItem:"directionItem___uCMBX",active:"active___vOl0l",subActive:"subActive___WzT87",subItem:"subItem___nVuXN",subMenu:"subMenu___DqKGV",action:"action___O7v85"},P=t(30935);const w=[{name:"\u7F16\u7A0B\u9898",value:"PROGRAM"},{name:"\u5355\u9009\u9898",value:"SINGLE"},{name:"\u591A\u9009\u9898",value:"MULTIPLE"},{name:"\u5224\u65AD\u9898",value:"JUDGMENT"},{name:"\u586B\u7A7A\u9898",value:"COMPLETION"},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE"},{name:"\u7EC4\u5408\u9898",value:"COMBINATION"},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM"}],ce=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],l=[{name:"\u968F\u673A\u7EC4\u5377",value:1},{name:"\u4EBA\u5DE5\u7EC4\u5377",value:2}],ee=({showSelectAll:d=!1,disciplinesData:ae=[],knowledgeData:de=[],directionValue:he,subDisciplineValue:X,typeValue:ne,knowledgeValue:q,showKnowledge:ie=!1,showRandomType:Ce=!1,difficultyValue:v,randomValue:s,selectAll:f,languagesvalue:x,className:c,languages:z=[],isprogram_homework:F,showShixun:H=!1,showItemType:K=!0,onShixunChange:W=()=>{},onDirectionChange:h=()=>{},onTypeChange:o=()=>{},onDifficultyChange:Y=()=>{},handlelanguagesChange:I=()=>{},onKnowledgeChange:xe=()=>{},onRandomChange:Ie=()=>{},showTeachGroup:ye=!1,teachGroupData:fe=[],onTeachGroupChange:we=()=>{},teachGroupValue:be,courseData:Se=[],courseValue:G,onCourseChange:ve=()=>{},showOldElement:J=!0,handleNewKnowledgeChange:Re=()=>{},showCourse:Q=!1,extraNode:pe})=>{const[_,Ae]=(0,e.useState)(0),k=(0,e.useRef)(null),[b,N]=(0,e.useState)(0),R=(0,e.useRef)(null),[g,U]=(0,e.useState)(0),y=(0,e.useRef)(null);(0,e.useEffect)(()=>{var r;ae.length!==0&&(((r=k==null?void 0:k.current)==null?void 0:r.clientHeight)>108?Ae(1):Ae(0)),ae.length===0&&Ae(0)},[ae]),(0,e.useEffect)(()=>{var r;de.length!==0&&(((r=R==null?void 0:R.current)==null?void 0:r.clientHeight)>108?N(1):N(0)),de.length===0&&N(0)},[de]),(0,e.useEffect)(()=>{var r;Se.length!==0&&(((r=y==null?void 0:y.current)==null?void 0:r.clientHeight)>108?U(1):U(0)),Se.length===0&&U(0)},[Se]);const n=(r=[],$)=>e.createElement(B.default,{className:p.subMenu},r.map(A=>e.createElement(B.default.Item,{key:A.id},e.createElement("a",{className:`${p.subItem} ${X===A.id?p.subActive:""}`,onClick:()=>h($,A.id)},A.name))));return e.createElement("aside",{className:c?`${p.main} ${c}`:p.main},e.createElement("div",{className:p.wrap},F&&e.createElement("div",{className:p.programName},"\u8BD5\u9898\u5E93-\u7F16\u7A0B\u9898"),ye&&e.createElement("div",{className:p.content},e.createElement("span",{className:p.name},"\u56E2\u961F"),e.createElement("div",{className:p.directionContentWrap},e.createElement("li",{className:`${p.directionItem} ${be?"":p.active} `,onClick:()=>we(null)},"\u5168\u90E8"),fe==null?void 0:fe.map(r=>e.createElement("li",{key:r.group_id,className:`${p.directionItem} ${be===r.group_id?p.active:""} `,onClick:()=>we(r.group_id)},r.name)))),Q&&e.createElement("div",{className:p.content},e.createElement("span",{className:p.name},"\u8BFE\u7A0B"),e.createElement("div",{className:p.directionContentWrap,style:{overflow:"hidden",height:g===1?94:"auto"}},e.createElement("li",{className:`${p.directionItem} ${G?"":p.active} `,onClick:()=>ve(null)},"\u5168\u90E8"),Se.map(r=>e.createElement("li",{key:r.id,className:`${p.directionItem} ${G===r.id?p.active:""} `,onClick:()=>ve(r.id)},r.name))),e.createElement("div",{ref:y,className:p.directionContentWrap,style:{height:"auto",position:"fixed",left:0,top:0,width:1010,visibility:"hidden"}},Se.map(r=>e.createElement("li",{key:r.id,className:`${p.directionItem} ${G===r.id?p.active:""} `,onClick:()=>ve(r.id)},r.name))),!!g&&e.createElement("div",{className:p.action},g===1&&e.createElement("span",{onClick:()=>U(2)},"\u5C55\u5F00",e.createElement("i",{className:"iconfont icon-xiala"})),g===2&&e.createElement("span",{onClick:()=>U(1)},"\u6536\u8D77",e.createElement("i",{style:{transform:"scale(0.5) rotate(180deg) translateY(2px)"},className:"iconfont icon-xiala"})))),!Q&&e.createElement(e.Fragment,null,e.createElement("div",{className:p.content},e.createElement("span",{className:p.name},"\u65B9\u5411"),e.createElement("span",null),e.createElement("div",{className:p.directionContentWrap,style:{overflow:"hidden",height:_===1?88:"auto"}},e.createElement("li",{className:`${p.directionItem} ${he?"":p.active} `,onClick:()=>h(null)},"\u5168\u90E8"),ae.map(r=>{var $;return e.createElement(e.Fragment,{key:r.id},(($=r.sub_disciplines)==null?void 0:$.length)>0?e.createElement(S.Z,{placement:"bottomLeft",overlayStyle:{width:600},getPopupContainer:A=>A.parentNode,dropdownRender:()=>n(r.sub_disciplines,r.id)},e.createElement("li",{className:`${p.directionItem} ${he===r.id?p.active:""} `,onClick:()=>h(r.id)},r.name)):e.createElement("li",{className:`${p.directionItem} ${he===r.id?p.active:""} `,onClick:()=>h(r.id)},r.name))})),e.createElement("div",{className:p.directionContentWrap,ref:k,style:{height:"auto",position:"fixed",left:0,top:0,width:1024,visibility:"hidden"}},ae.map(r=>{var $;return e.createElement(e.Fragment,{key:r.id},(($=r.sub_disciplines)==null?void 0:$.length)>0?e.createElement(S.Z,{placement:"bottomLeft",overlayStyle:{width:600},getPopupContainer:A=>A.parentNode,dropdownRender:()=>n(r.sub_disciplines,r.id)},e.createElement("li",{className:`${p.directionItem} ${he===r.id?p.active:""} `,onClick:()=>h(r.id)},r.name)):e.createElement("li",{className:`${p.directionItem} ${he===r.id?p.active:""} `,onClick:()=>h(r.id)},r.name))})),!!_&&e.createElement("div",{className:p.action},_===1&&e.createElement("span",{onClick:()=>Ae(2)},"\u5C55\u5F00",e.createElement("i",{className:"iconfont icon-xiala"})),_===2&&e.createElement("span",{onClick:()=>Ae(1)},"\u6536\u8D77",e.createElement("i",{style:{transform:"scale(0.5) rotate(180deg) translateY(2px)"},className:"iconfont icon-xiala"})))),ie&&e.createElement("div",{className:p.content},e.createElement("span",{className:p.name},"\u77E5\u8BC6\u70B9"),e.createElement("div",{className:p.directionContentWrap,style:{overflow:"hidden",height:b===1?94:"auto"}},e.createElement("li",{className:`${p.directionItem} ${q===-1?p.active:""} `,onClick:()=>xe(-1)},"\u5168\u90E8"),de.map(r=>e.createElement("li",{key:r.id,className:`${p.directionItem} ${q===r.id?p.active:""} `,onClick:()=>xe(r.id)},r.name))),e.createElement("div",{ref:R,className:p.directionContentWrap,style:{height:"auto",position:"fixed",left:0,top:0,width:1010,visibility:"hidden"}},de.map(r=>e.createElement("li",{key:r.id,className:`${p.directionItem} ${q===r.id?p.active:""} `,onClick:()=>xe(r.id)},r.name))),!!b&&e.createElement("div",{className:p.action},b===1&&e.createElement("span",{onClick:()=>N(2)},"\u5C55\u5F00",e.createElement("i",{className:"iconfont icon-xiala"})),b===2&&e.createElement("span",{onClick:()=>N(1)},"\u6536\u8D77",e.createElement("i",{style:{transform:"scale(0.5) rotate(180deg) translateY(2px)"},className:"iconfont icon-xiala"}))))),K&&!F&&J&&e.createElement("div",{className:p.content},e.createElement("span",{className:p.name},"\u9898\u578B"),e.createElement("li",{className:`${p.directionItem} ${ne?"":p.active} `,onClick:()=>o(null)},"\u5168\u90E8"),e.createElement("div",{className:p.directionContentWrap},w.map(r=>e.createElement("li",{key:r.name,className:`${p.directionItem} ${ne===r.value?p.active:""} `,onClick:()=>o(r.value)},r.name)),H&&e.createElement("li",{key:"\u5B9E\u8BAD\u9898",className:p.directionItem,onClick:()=>W()},"\u5B9E\u8BAD\u9898"))),J&&e.createElement("div",{className:p.content},e.createElement("span",{className:p.name},"\u96BE\u5EA6"),e.createElement("li",{className:`${p.directionItem} ${v?"":p.active} `,onClick:()=>Y(null)},"\u5168\u90E8"),e.createElement("div",{className:p.directionContentWrap},ce.map(r=>e.createElement("li",{key:r.name,className:`${p.directionItem} ${v===r.value?p.active:""} `,onClick:()=>Y(r.value)},r.name)))),Ce&&e.createElement("div",{className:p.content},e.createElement("span",{className:p.name},"\u7C7B\u578B"),e.createElement("li",{className:`${p.directionItem} ${s?"":p.active} `,onClick:()=>Ie(null)},"\u5168\u90E8"),e.createElement("div",{className:p.directionContentWrap},l.map(r=>e.createElement("li",{key:r.name,className:`${p.directionItem} ${s===r.value?p.active:""} `,onClick:()=>Ie(r.value)},r.name)))),!J&&e.createElement(e.Fragment,null,e.createElement(se.Z,{size:20,className:"mb10"},e.createElement(se.Z,{size:0},e.createElement("div",{style:{paddingTop:0},className:p.name},"\u9898\u578B"),e.createElement(le.default,{dropdownStyle:{zIndex:900},value:ne||"ALL",onChange:r=>{if(r==="SHIXUN"){W();return}o(r==="ALL"?null:r)},size:"large",style:{width:170}},e.createElement(le.default.Option,{value:"ALL"},"\u5168\u90E8\u9898\u578B"),w.map((r,$)=>e.createElement(le.default.Option,{key:$,value:r.value},r.name)),H&&e.createElement(le.default.Option,{value:"SHIXUN"},"\u5B9E\u8BAD\u9898"))),e.createElement(se.Z,{size:0},e.createElement("div",{style:{paddingTop:0},className:p.name},"\u96BE\u5EA6"),e.createElement(le.default,{dropdownStyle:{zIndex:900},value:v||"ALL",onChange:r=>{Y(r==="ALL"?null:r)},size:"large",style:{width:170}},e.createElement(le.default.Option,{value:"ALL"},"\u5168\u90E8\u96BE\u5EA6"),ce.map((r,$)=>e.createElement(le.default.Option,{key:$,value:r.value},r.name)))),e.createElement(se.Z,{size:0},e.createElement("div",{style:{paddingTop:0},className:p.name},"\u77E5\u8BC6\u70B9"),e.createElement(P.i,{placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\u6216\u8005\u8F93\u5165\u5173\u952E\u8BCD\u8FDB\u884C\u641C\u7D22",key:String(ye),dropdownStyle:{zIndex:900},showLinkButton:!1,allowAcceptEmpty:!0,data:{container_type:"ItemBank",search:!0,type:ye?"3":"0"},style:{width:412},size:"large",courseDisciplineId:G,value:[null,-1].includes(q)?[]:q,onChange:Re})),pe))))}},71039:function(rt,Oe,t){"use strict";var e=t(59301),B=t(74501),S=t(48136),se=t(9057),le=t(62957),p=t(59301);const P=(0,e.forwardRef)(({callback:w,width:ce,onChange:l,disabled:ee,readOnly:d,type:ae="",value:de="",style:he={}},X)=>{const ne=(0,e.useRef)(),q=(0,e.useRef)(),[ie,Ce]=(0,e.useState)(0),[v,s]=(0,e.useState)(0),[f,x]=(0,e.useState)(!1),c=()=>{var K=document.createElement("div");K.innerHTML=ne.current.getValue();var W=K.innerText;return w&&w(W),W};(0,e.useImperativeHandle)(X,()=>({getData:c}));const z=K=>{K.preventDefault();const W=K.clientX-ie,h=K.clientY-v;document.body.onmousemove=o=>{let Y=o.clientX-W,I=o.clientY-h;const xe=document.getElementsByClassName("markdown-popup-form")[0],Ie=window.innerWidth-xe.offsetWidth,ye=window.innerHeight-xe.offsetHeight;Y=Math.max(0,Math.min(Y,Ie)),I=Math.max(0,Math.min(I,ye)),F(o.clientX,o.clientY,W,h)&&(Ce(Y),s(I))},document.body.onmouseup=function(){document.body.onmousemove=null}},F=(K,W,h,o)=>{const Y=document.body.clientHeight,I=document.body.clientWidth;return K<20&&h>K||K>I-20&&h<K||W<20&&o>W||W>Y-20&&o<W?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,e.useEffect)(()=>{f&&setTimeout(()=>{const K=document.getElementsByClassName("markdown-popup-form")[0],W=window.innerWidth/2-K.offsetWidth/2,h=window.innerHeight/2-K.offsetHeight/2;Ce(W),s(h)},0)},[f]);const H=()=>{ee||d||x(!0)};return p.createElement("div",{style:he},p.createElement("div",{style:{width:ce||"100%",position:"relative"},className:`${B.Z.mathFillWrap} ${ee||d?"cursorDefault":""}`,onClick:()=>H()},p.createElement("math-field",{disabled:ee,locale:"zh_cn",class:`${B.Z.mathField} ${ae}`,readOnly:d,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:ne,style:{width:"100%",fontSize:de?18:14},value:de||""})),p.createElement(le.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:ie,top:v},title:p.createElement("div",{style:{cursor:"move"},onMouseDown:z},"\u8F93\u5165\u516C\u5F0F"),open:f,onOk:()=>{const K=q.current.getData();ne.current.setValue(K),l(K),x(!1)},onCancel:()=>{x(!1)},destroyOnClose:!0,className:"markdown-popup-form"},p.createElement(se.Z,{value:de,ref:q,onChange:l,showSaveButton:!1})))});Oe.Z=P},9057:function(rt,Oe,t){"use strict";var e=t(59301),B=t(77019),S=t(5269),se=t(31691),le=t(7939),p=t(35883),P=t(74501),w=t(48136),ce=t(59301);const l=(0,e.forwardRef)(({callback:ee,showSaveButton:d,value:ae=""},de)=>{const he=(0,e.useRef)(),X=[{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 "}]}]}],ne=[{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}`}]}]}],q=v=>{he.current.setValue(he.current.getValue()+" "+v.value+" ")},ie=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:ce.createElement(B.Z,{className:P.Z.lists,gutter:[10,10]},X.map((v,s)=>ce.createElement(S.Z,{flex:"110px",className:P.Z.item},ce.createElement("div",null,ce.createElement(p.Z,{value:`$$${v.value}$$`}),v.name),ce.createElement("div",{className:P.Z.children},v.children.map((f,x)=>ce.createElement("div",{key:x},ce.createElement("h1",null,f.name),ce.createElement(B.Z,{gutter:[10,10]},f.data.map((c,z)=>ce.createElement(S.Z,{key:z,onClick:()=>q(c),className:P.Z.diamond},ce.createElement(p.Z,{value:"`$$"+c.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ce.createElement(B.Z,{className:P.Z.lists,gutter:[10,10]},ne.map((v,s)=>ce.createElement(S.Z,{flex:"110px",className:P.Z.item},ce.createElement("div",null,ce.createElement(p.Z,{value:"`$$"+v.value+"$$`"}),v.name),ce.createElement("div",{className:P.Z.children},v.children.map((f,x)=>ce.createElement("div",{key:x},f.name&&ce.createElement("h1",null,f.name),ce.createElement(B.Z,{gutter:[10,10]},f.data.map((c,z)=>ce.createElement(S.Z,{key:z,onClick:()=>q(c),className:P.Z.diamond},ce.createElement(p.Z,{value:"`$$"+c.value+"$$`"}))))))))))}],Ce=()=>{var v=document.createElement("div");v.innerHTML=he.current.getValue();var s=v.innerText;return ee&&ee(s),s};return(0,e.useImperativeHandle)(de,()=>({getData:Ce})),ce.createElement("div",{className:P.Z.mathWrap},ce.createElement(se.default,{defaultActiveKey:"1",items:ie}),ce.createElement("math-field",{locale:"zh_cn",className:P.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:he,style:{width:800,marginTop:30,fontSize:18}},ae||""),d&&ce.createElement("div",{className:P.Z.button},ce.createElement(le.ZP,{size:"large",onClick:Ce,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Oe.Z=l},90736:function(rt,Oe,t){"use strict";var e=t(59301),B=t(4977),S=t(7939),se=Object.defineProperty,le=Object.defineProperties,p=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,l=(de,he,X)=>he in de?se(de,he,{enumerable:!0,configurable:!0,writable:!0,value:X}):de[he]=X,ee=(de,he)=>{for(var X in he||(he={}))w.call(he,X)&&l(de,X,he[X]);if(P)for(var X of P(he))ce.call(he,X)&&l(de,X,he[X]);return de},d=(de,he)=>le(de,p(he));const ae=({img:de,buttonProps:he={},styles:X={},customText:ne,ButtonText:q,ButtonClick:ie,Buttonclass:Ce,ButtonTwo:v,imgStyles:s,loading:f=!1,className:x=""})=>e.createElement("section",{className:`tc animated fadeIn ${x}`,style:ee({color:"#999",margin:"100px auto",visibility:f?"hidden":"visible"},X)},e.createElement("img",{src:de||B,style:d(ee({},s),{pointerEvents:"none",userSelect:"none"})}),e.createElement("p",{className:"mt20 font14"},ne||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),q&&e.createElement(S.ZP,ee({className:Ce,onClick:ie},he),q),v&&v);Oe.Z=ae},86974:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return Ce}});var e=t(59301),B={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},S=t(7939),se=t(70557),le=t(34728),p=t(25399),P=t(76406),w=t(84849),ce=t(90736),l=t(14185),ee=t(52078),d=t(59301),ae=Object.defineProperty,de=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,X=Object.prototype.propertyIsEnumerable,ne=(v,s,f)=>s in v?ae(v,s,{enumerable:!0,configurable:!0,writable:!0,value:f}):v[s]=f,q=(v,s)=>{for(var f in s||(s={}))he.call(s,f)&&ne(v,f,s[f]);if(de)for(var f of de(s))X.call(s,f)&&ne(v,f,s[f]);return v},ie=(v,s,f)=>new Promise((x,c)=>{var z=K=>{try{H(f.next(K))}catch(W){c(W)}},F=K=>{try{H(f.throw(K))}catch(W){c(W)}},H=K=>K.done?x(K.value):Promise.resolve(K.value).then(z,F);H((f=f.apply(v,s)).next())}),Ce=({editOffice:v="view",data:s,issaver:f,onSaver:x,theme:c,type:z,filename:F,monacoEditor:H,className:K,style:W,close:h,onClose:o,hasMask:Y,disabledDownload:I,onImgDimensions:xe,showNodata:Ie,recordInfo:ye})=>{const[fe,we]=(0,e.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[be,Se]=(0,e.useState)(""),[G,ve]=(0,e.useState)(),J=window.ENV==="build"?"/react/build":"",Re=location.host.startsWith("localhost")?l.Z.PROXY_SERVER:l.Z.API_SERVER,pe=10*(1024*1024),_=(0,e.useRef)();s!=null&&s.startsWith("/api")&&z!=="txt"&&(s=l.Z.API_SERVER+s);const Ae=U=>U.substring(U.lastIndexOf("/")+1).split(".").pop();F&&H&&(H.filename=F),(0,e.useEffect)(()=>{var U,y;const n=(y=(U=document.cookie)==null?void 0:U.replace(/\s/g,""))==null?void 0:y.split(";");n==null||n.map(r=>{let $=r.split("=");$[0]==="_educoder_session"&&Se($[1])})},[]),(0,e.useEffect)(()=>{z==="office"&&(s.indexOf("bigfilescdn.")>-1||s.indexOf("bigfiles1")>-1?ve({url:s,fileType:Ae(s),model:s.indexOf("model=edit")?"edit":"view"}):s.indexOf("coze")>-1?ve({url:s,fileType:"doc",model:"view"}):b())},[z,s]);function k(U){return ie(this,null,function*(){U.data.type==="pdfdata"&&(x(U.data.data),window.removeEventListener("message",k,!1)),console.log("mess---:",U.data)})}const b=()=>ie(void 0,null,function*(){console.log("data:",s);let U=s;s.startsWith("http")||(U=location.origin+U);let y=new URL(U).pathname.split("/").pop();const n=yield(0,w.gJ)({attachment_id:y});n.url=Re+n.url,ve(n)}),N=()=>{if(s.startsWith("http")||s.startsWith("blob:")){R();return}(0,P.Sv)(F||"educoder",s,F)},R=()=>{ye&&(0,ee.fc)({id:ye==null?void 0:ye.id,watch_type:1,course_id:ye==null?void 0:ye.course_id}),(0,P.Nd)(F||"educoder",decodeURIComponent(s))};(0,e.useEffect)(()=>(window.addEventListener("message",g),()=>{window.removeEventListener("message",g)}),[]);const g=U=>{var y;((y=U==null?void 0:U.data)==null?void 0:y.type)==="closePop"&&o()};return d.createElement("div",{style:q({},W||{}),className:`${Y&&B.bgBlack} ${z?B.wrp:"hide"}`},!!z&&h&&d.createElement("div",{id:"closePop",className:B.close,ref:_},!!xe&&d.createElement(p.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>_.current},d.createElement("span",{onClick:()=>{o(),xe()}},d.createElement("i",{className:"icon-yulanpizhu"}))),!I&&window.parent===window&&d.createElement(p.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>_.current},d.createElement("span",{onClick:R},d.createElement("i",{className:"icon-quxiaozhiding"}))),f&&d.createElement(p.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>_.current},d.createElement("span",{className:"",onClick:()=>{const U=document.getElementById("pdfiframe");window.addEventListener("message",k,!1),setTimeout(()=>{U.contentWindow.postMessage("getData","*")},300)}},d.createElement("i",{className:"icon-baocun"}))),d.createElement(p.Z,{title:"\u5173\u95ED",getPopupContainer:()=>_.current},d.createElement("span",{className:"",onClick:()=>{o()}},d.createElement("i",{className:"icon-guanbi1"})))),d.createElement("div",{className:`${B[K]} ${K} ${B.monaco} ${z==="txt"?"show":"hide"}`},z==="txt"&&d.createElement(d.Fragment,null,d.createElement(le.ZP,q({},H)))),z==="audio"&&d.createElement("audio",{controls:!0,src:`${(s==null?void 0:s.indexOf("http://"))>-1||(s==null?void 0:s.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${s}`,autoPlay:!0}),z==="video"&&d.createElement(d.Fragment,null,(s==null?void 0:s.indexOf("http"))>-1?d.createElement("video",{controls:!0,src:`${s}`,autoPlay:!0}):d.createElement("video",{controls:!0,src:`data:video/mp4;base64,${s}`,autoPlay:!0})),z==="office"&&G&&d.createElement("iframe",{src:`${J}/office.html?key=${G.key}&url=${btoa(G.url)}&callbackUrl=${Re+(G.callbackUrl||"")}&fileType=${G.fileType}&title=${G.title||""}&model=${v}&officeServer=${l.Z.ONLYOFFICE}&disabledDownload=${!!I}`}),z==="html"&&d.createElement("iframe",{src:s+"&disposition=inline"}),z==="pdf"&&d.createElement("iframe",{id:"pdfiframe",src:`${J}/js/pdf/index.html?filename=${F||"educoder.pdf"}&url=${encodeURIComponent(s)}&disabledDownload=${!!I}&model=${v}`}),z==="image"&&d.createElement("img",{src:`${(s==null?void 0:s.indexOf("http://"))>-1||(s==null?void 0:s.indexOf("https://"))>-1?"":"data:image/png;base64,"}${s}`}),(z==="other"||z==="download")&&d.createElement(d.Fragment,null,Ie?d.createElement(ce.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:d.createElement(S.ZP,{icon:d.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:N,disabled:I},"\u4E0B\u8F7D")}):d.createElement(S.ZP,{type:"primary",size:"middle",onClick:N,disabled:I},d.createElement(se.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),z==="flowChart"&&d.createElement("div",{className:"embed"},d.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${s||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},35883:function(rt,Oe,t){"use strict";t.d(Oe,{z:function(){return H},Z:function(){return K}});var e=t(59301),B=t(46214),S=t(20047),se=t(64018),le=t(16471),p=t(14185),P=t(76406),w=t(15342),ce=t(44104),l=t(7939),ee=t(1012),d=t(86974),ae=t(59301),he=({html:W})=>{const h=(0,e.useRef)(null),o=(0,e.useRef)(null),Y=`.markdown-body p {
|
|
margin: 0 0 16px 0 !important;
|
|
line-height: 28px;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
ol,
|
|
ul,
|
|
li {
|
|
list-style-type: none
|
|
}
|
|
|
|
ol,
|
|
ul,
|
|
dl {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.markdown-body {
|
|
-ms-text-size-adjust: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
color: #333;
|
|
overflow: hidden;
|
|
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
|
|
word-break: break-word;
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
white-space: normal;
|
|
word-wrap: break-word;
|
|
position: relative;
|
|
}
|
|
|
|
.markdown-body ul>li {
|
|
list-style-type: disc;
|
|
}
|
|
|
|
.markdown-body ol>li {
|
|
list-style-type: decimal;
|
|
}
|
|
|
|
.markdown-body a {
|
|
background: transparent;
|
|
}
|
|
|
|
.markdown-body a:active,
|
|
.markdown-body a:hover {
|
|
outline: 0;
|
|
}
|
|
|
|
.markdown-body strong {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body h1 {
|
|
font-size: 2em;
|
|
margin: 0.67em 0;
|
|
}
|
|
|
|
.markdown-body img {
|
|
border: 0;
|
|
}
|
|
|
|
.markdown-body hr {
|
|
-moz-box-sizing: content-box;
|
|
box-sizing: content-box;
|
|
height: 0;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
overflow: auto;
|
|
}
|
|
|
|
.markdown-body code,
|
|
.markdown-body kbd,
|
|
.markdown-body pre {
|
|
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.markdown-body input {
|
|
color: inherit;
|
|
font: inherit;
|
|
margin: 0;
|
|
}
|
|
|
|
.markdown-body html input[disabled] {
|
|
cursor: default;
|
|
}
|
|
|
|
.markdown-body input {
|
|
line-height: normal;
|
|
}
|
|
|
|
.markdown-body input[type="checkbox"] {
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
}
|
|
|
|
.markdown-body table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
.markdown-body td,
|
|
.markdown-body th {
|
|
padding: 0;
|
|
}
|
|
|
|
.markdown-body * {
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.markdown-body input {
|
|
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
|
}
|
|
|
|
.markdown-body a {
|
|
color: #4183c4;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.markdown-body a:hover,
|
|
.markdown-body a:active {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.markdown-body hr {
|
|
height: 0;
|
|
margin: 15px 0;
|
|
overflow: hidden;
|
|
background: transparent;
|
|
border: 0;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
.markdown-body hr:before {
|
|
display: table;
|
|
content: "";
|
|
}
|
|
|
|
.markdown-body hr:after {
|
|
display: table;
|
|
clear: both;
|
|
content: "";
|
|
}
|
|
|
|
.markdown-body h1,
|
|
.markdown-body h2,
|
|
.markdown-body h3,
|
|
.markdown-body h4,
|
|
.markdown-body h5,
|
|
.markdown-body h6 {
|
|
margin-top: 15px;
|
|
margin-bottom: 15px;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.markdown-body h1 {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.markdown-body h2 {
|
|
font-size: 21px;
|
|
}
|
|
|
|
.markdown-body h3 {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.markdown-body h4 {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.markdown-body h5 {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.markdown-body h6 {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.markdown-body blockquote {
|
|
margin: 0;
|
|
}
|
|
|
|
.markdown-body ul,
|
|
.markdown-body ol {
|
|
padding: 0;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
ul.linenums,
|
|
ol.linenums {
|
|
padding: 16px 0 0 56px !important;
|
|
}
|
|
|
|
.markdown-body ul,
|
|
.markdown-body ol {
|
|
padding-left: 2em;
|
|
}
|
|
|
|
|
|
.markdown-body ol ol,
|
|
.markdown-body ul ol {
|
|
list-style-type: lower-roman;
|
|
}
|
|
|
|
.markdown-body ul ul ol,
|
|
.markdown-body ul ol ol,
|
|
.markdown-body ol ul ol,
|
|
.markdown-body ol ol ol {
|
|
list-style-type: lower-alpha;
|
|
}
|
|
|
|
.markdown-body dd {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.markdown-body code {
|
|
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
}
|
|
|
|
.markdown-body .octicon {
|
|
font: normal normal 16px octicons-anchor;
|
|
line-height: 1;
|
|
display: inline-block;
|
|
text-decoration: none;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.markdown-body .octicon-link:before {
|
|
content: '\f05c';
|
|
}
|
|
|
|
.markdown-body>*:first-child {
|
|
margin-top: 0 !important;
|
|
}
|
|
|
|
.markdown-body>*:last-child {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.markdown-body .anchor {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
display: block;
|
|
padding-right: 6px;
|
|
padding-left: 30px;
|
|
margin-left: -30px;
|
|
}
|
|
|
|
.markdown-body .anchor:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.markdown-body h1,
|
|
.markdown-body h2,
|
|
.markdown-body h3,
|
|
.markdown-body h4,
|
|
.markdown-body h5,
|
|
.markdown-body h6 {
|
|
position: relative;
|
|
margin-top: 1em;
|
|
margin-bottom: 16px;
|
|
font-weight: bold;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.markdown-body h1 .octicon-link,
|
|
.markdown-body h2 .octicon-link,
|
|
.markdown-body h3 .octicon-link,
|
|
.markdown-body h4 .octicon-link,
|
|
.markdown-body h5 .octicon-link,
|
|
.markdown-body h6 .octicon-link {
|
|
display: none;
|
|
color: #000;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.markdown-body h1:hover .anchor,
|
|
.markdown-body h2:hover .anchor,
|
|
.markdown-body h3:hover .anchor,
|
|
.markdown-body h4:hover .anchor,
|
|
.markdown-body h5:hover .anchor,
|
|
.markdown-body h6:hover .anchor {
|
|
padding-left: 8px;
|
|
margin-left: -30px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.markdown-body h1:hover .anchor .octicon-link,
|
|
.markdown-body h2:hover .anchor .octicon-link,
|
|
.markdown-body h3:hover .anchor .octicon-link,
|
|
.markdown-body h4:hover .anchor .octicon-link,
|
|
.markdown-body h5:hover .anchor .octicon-link,
|
|
.markdown-body h6:hover .anchor .octicon-link {
|
|
display: inline-block;
|
|
}
|
|
|
|
.markdown-body h1 {
|
|
padding-bottom: 0.3em;
|
|
font-size: 2.25em;
|
|
line-height: 1.2;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.markdown-body h1 .anchor {
|
|
line-height: 1;
|
|
}
|
|
|
|
.markdown-body h2 {
|
|
padding-bottom: 0.3em;
|
|
font-size: 1.75em;
|
|
line-height: 1.225;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.markdown-body h2 .anchor {
|
|
line-height: 1;
|
|
}
|
|
|
|
.markdown-body h3 {
|
|
font-size: 1.5em;
|
|
line-height: 1.43;
|
|
}
|
|
|
|
.markdown-body h3 .anchor {
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.markdown-body h4 {
|
|
font-size: 1.25em;
|
|
}
|
|
|
|
.markdown-body h4 .anchor {
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.markdown-body h5 {
|
|
font-size: 1em;
|
|
}
|
|
|
|
.markdown-body h5 .anchor {
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.markdown-body h6 {
|
|
font-size: 1em;
|
|
color: #777;
|
|
}
|
|
|
|
.markdown-body h6 .anchor {
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.markdown-body p,
|
|
.markdown-body blockquote,
|
|
.markdown-body ul,
|
|
.markdown-body ol,
|
|
.markdown-body dl,
|
|
.markdown-body table,
|
|
.markdown-body pre {
|
|
margin-top: 0;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.markdown-body ul ul,
|
|
.markdown-body ul ol,
|
|
.markdown-body ol ol,
|
|
.markdown-body ol ul {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.markdown-body li>p {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.markdown-body dl {
|
|
padding: 0;
|
|
}
|
|
|
|
.markdown-body dl dt {
|
|
padding: 0;
|
|
margin-top: 16px;
|
|
font-size: 1em;
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body dl dd {
|
|
padding: 0 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.markdown-body blockquote {
|
|
padding: 0 15px;
|
|
color: #777;
|
|
border-left: 4px solid #ddd;
|
|
}
|
|
|
|
.markdown-body blockquote> :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.markdown-body blockquote> :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.markdown-body table {
|
|
display: block;
|
|
width: 100%;
|
|
overflow: auto;
|
|
word-break: normal;
|
|
word-break: keep-all;
|
|
}
|
|
|
|
.markdown-body table th {
|
|
font-weight: bold;
|
|
text-align: revert;
|
|
}
|
|
|
|
.markdown-body table th,
|
|
.markdown-body table td {
|
|
padding: 6px 13px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
.markdown-body table tr {
|
|
background-color: #fff;
|
|
border-top: 1px solid #ccc;
|
|
}
|
|
|
|
.markdown-body table tr:nth-child(2n) {
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
.markdown-body img {
|
|
max-width: 100%;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.markdown-body code {
|
|
padding: 0;
|
|
padding-top: 0.2em;
|
|
padding-bottom: 0.2em;
|
|
margin: 0;
|
|
font-size: 85%;
|
|
background-color: rgba(0, 0, 0, 0.04);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.markdown-body code:has(.katex) {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.markdown-body code:before,
|
|
.markdown-body code:after {
|
|
letter-spacing: -0.2em;
|
|
content: "\\00a0";
|
|
}
|
|
|
|
.markdown-body pre>code {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-size: 100%;
|
|
word-break: normal;
|
|
white-space: pre;
|
|
background: transparent;
|
|
border: 0;
|
|
}
|
|
|
|
.markdown-body .highlight {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.markdown-body .highlight pre,
|
|
.markdown-body pre {
|
|
padding: 16px;
|
|
overflow: auto;
|
|
font-size: 85%;
|
|
line-height: 1.45;
|
|
background-color: #f7f7f7;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.markdown-body .highlight pre {
|
|
margin-bottom: 0;
|
|
word-break: normal;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
word-wrap: normal;
|
|
}
|
|
|
|
.markdown-body pre code {
|
|
display: inline;
|
|
max-width: initial;
|
|
padding: 0;
|
|
margin: 0;
|
|
overflow: initial;
|
|
line-height: inherit;
|
|
word-wrap: normal;
|
|
background-color: transparent;
|
|
border: 0;
|
|
}
|
|
|
|
.markdown-body pre code:before,
|
|
.markdown-body pre code:after {
|
|
content: normal;
|
|
}
|
|
|
|
.markdown-body kbd {
|
|
display: inline-block;
|
|
padding: 3px 5px;
|
|
font-size: 11px;
|
|
line-height: 10px;
|
|
color: #555;
|
|
vertical-align: middle;
|
|
background-color: #fcfcfc;
|
|
border: solid 1px #ccc;
|
|
border-bottom-color: #bbb;
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
}
|
|
|
|
.markdown-body .pl-c {
|
|
color: #969896;
|
|
}
|
|
|
|
.markdown-body .pl-c1,
|
|
.markdown-body .pl-mdh,
|
|
.markdown-body .pl-mm,
|
|
.markdown-body .pl-mp,
|
|
.markdown-body .pl-mr,
|
|
.markdown-body .pl-s1 .pl-v,
|
|
.markdown-body .pl-s3,
|
|
.markdown-body .pl-sc,
|
|
.markdown-body .pl-sv {
|
|
color: #0086b3;
|
|
}
|
|
|
|
.markdown-body .pl-e,
|
|
.markdown-body .pl-en {
|
|
color: #795da3;
|
|
}
|
|
|
|
.markdown-body .pl-s1 .pl-s2,
|
|
.markdown-body .pl-smi,
|
|
.markdown-body .pl-smp,
|
|
.markdown-body .pl-stj,
|
|
.markdown-body .pl-vo,
|
|
.markdown-body .pl-vpf {
|
|
color: #333;
|
|
}
|
|
|
|
.markdown-body .pl-ent {
|
|
color: #63a35c;
|
|
}
|
|
|
|
.markdown-body .pl-k,
|
|
.markdown-body .pl-s,
|
|
.markdown-body .pl-st {
|
|
color: #a71d5d;
|
|
}
|
|
|
|
.markdown-body .pl-pds,
|
|
.markdown-body .pl-s1,
|
|
.markdown-body .pl-s1 .pl-pse .pl-s2,
|
|
.markdown-body .pl-sr,
|
|
.markdown-body .pl-sr .pl-cce,
|
|
.markdown-body .pl-sr .pl-sra,
|
|
.markdown-body .pl-sr .pl-sre,
|
|
.markdown-body .pl-src {
|
|
color: #df5000;
|
|
}
|
|
|
|
.markdown-body .pl-mo,
|
|
.markdown-body .pl-v {
|
|
color: #1d3e81;
|
|
}
|
|
|
|
.markdown-body .pl-id {
|
|
color: #b52a1d;
|
|
}
|
|
|
|
.markdown-body .pl-ii {
|
|
background-color: #b52a1d;
|
|
color: #f8f8f8;
|
|
}
|
|
|
|
.markdown-body .pl-sr .pl-cce {
|
|
color: #63a35c;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body .pl-ml {
|
|
color: #693a17;
|
|
}
|
|
|
|
.markdown-body .pl-mh,
|
|
.markdown-body .pl-mh .pl-en,
|
|
.markdown-body .pl-ms {
|
|
color: #1d3e81;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body .pl-mq {
|
|
color: #008080;
|
|
}
|
|
|
|
.markdown-body .pl-mi {
|
|
color: #333;
|
|
font-style: italic;
|
|
}
|
|
|
|
.markdown-body .pl-mb {
|
|
color: #333;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body .pl-md,
|
|
.markdown-body .pl-mdhf {
|
|
background-color: #ffecec;
|
|
color: #bd2c00;
|
|
}
|
|
|
|
.markdown-body .pl-mdht,
|
|
.markdown-body .pl-mi1 {
|
|
background-color: #eaffea;
|
|
color: #55a532;
|
|
}
|
|
|
|
.markdown-body .pl-mdr {
|
|
color: #795da3;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body kbd {
|
|
display: inline-block;
|
|
padding: 3px 5px;
|
|
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
line-height: 10px;
|
|
color: #555;
|
|
vertical-align: middle;
|
|
background-color: #fcfcfc;
|
|
border: solid 1px #ccc;
|
|
border-bottom-color: #bbb;
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
}
|
|
|
|
.markdown-body .task-list-item {
|
|
list-style-type: none;
|
|
}
|
|
|
|
.markdown-body .task-list-item+.task-list-item {
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.markdown-body .task-list-item input {
|
|
float: left;
|
|
margin: 0.3em 0 0.25em -1.6em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.markdown-body :checked+.radio-label {
|
|
z-index: 1;
|
|
position: relative;
|
|
border-color: #4183c4;
|
|
}
|
|
|
|
|
|
/*! Pretty printing styles. Used with prettify.js. */
|
|
/* SPAN elements with the classes below are added by prettyprint. */
|
|
.pln {
|
|
color: #000
|
|
}
|
|
|
|
/* plain text */
|
|
|
|
@media screen {
|
|
.str {
|
|
color: #080
|
|
}
|
|
|
|
/* string content */
|
|
.kwd {
|
|
color: #008
|
|
}
|
|
|
|
/* a keyword */
|
|
.com {
|
|
color: #800
|
|
}
|
|
|
|
/* a comment */
|
|
.typ {
|
|
color: #606
|
|
}
|
|
|
|
/* a type name */
|
|
.lit {
|
|
color: #066
|
|
}
|
|
|
|
/* a literal value */
|
|
/* punctuation, lisp open bracket, lisp close bracket */
|
|
.pun,
|
|
.opn,
|
|
.clo {
|
|
color: #660
|
|
}
|
|
|
|
.tag {
|
|
color: #008
|
|
}
|
|
|
|
/* a markup tag name */
|
|
.atn {
|
|
color: #606
|
|
}
|
|
|
|
/* a markup attribute name */
|
|
.atv {
|
|
color: #080
|
|
}
|
|
|
|
/* a markup attribute value */
|
|
.dec,
|
|
.var {
|
|
color: #606
|
|
}
|
|
|
|
/* a declaration; a variable name */
|
|
.fun {
|
|
color: red
|
|
}
|
|
|
|
/* a function name */
|
|
}
|
|
|
|
/* Use higher contrast and text-weight for printable form. */
|
|
@media print,
|
|
projection {
|
|
.str {
|
|
color: #060
|
|
}
|
|
|
|
.kwd {
|
|
color: #006;
|
|
font-weight: bold
|
|
}
|
|
|
|
.com {
|
|
color: #600;
|
|
font-style: italic
|
|
}
|
|
|
|
.typ {
|
|
color: #404;
|
|
font-weight: bold
|
|
}
|
|
|
|
.lit {
|
|
color: #044
|
|
}
|
|
|
|
.pun,
|
|
.opn,
|
|
.clo {
|
|
color: #440
|
|
}
|
|
|
|
.tag {
|
|
color: #006;
|
|
font-weight: bold
|
|
}
|
|
|
|
.atn {
|
|
color: #404
|
|
}
|
|
|
|
.atv {
|
|
color: #060
|
|
}
|
|
}
|
|
|
|
/* Put a border around prettyprinted code snippets. */
|
|
pre.prettyprint {
|
|
padding: 2px;
|
|
/* border: 1px solid #888 */
|
|
}
|
|
|
|
/* Specify class=linenums on a pre to get line numbering */
|
|
ol.linenums {
|
|
margin-top: 0;
|
|
margin-bottom: 0
|
|
}
|
|
|
|
/* IE indents via margin-left */
|
|
li.L0,
|
|
li.L1,
|
|
li.L2,
|
|
li.L3,
|
|
li.L5,
|
|
li.L6,
|
|
li.L7,
|
|
li.L8 {
|
|
list-style-type: none
|
|
}
|
|
|
|
/* Alternate shading for lines */
|
|
li.L1,
|
|
li.L3,
|
|
li.L5,
|
|
li.L7,
|
|
li.L9 {
|
|
background: #eee
|
|
}
|
|
|
|
.markdown-body p,
|
|
.markdown-body blockquote,
|
|
.markdown-body ul,
|
|
.markdown-body ol,
|
|
.markdown-body dl,
|
|
.markdown-body table,
|
|
.markdown-body pre {
|
|
margin-top: 0;
|
|
margin-bottom: 16px;
|
|
}`;return(0,e.useEffect)(()=>{const I=h.current.attachShadow({mode:"open"});o.current=document.createElement("div"),o.current.className="markdown-body",o.current.innerHTML=W,I.appendChild(o.current);const xe=document.createElement("style");return xe.textContent=Y,I.appendChild(xe),()=>{I.innerHTML=""}},[]),(0,e.useEffect)(()=>{o.current&&(o.current.innerHTML=W)},[W]),ae.createElement("div",{ref:h})};function X(W){const h=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],o=new RegExp(`\\b(${h.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),Y=/<meta\s+http-equiv\s*=\s*["']?refresh["']?[^>]*>/gi;return W.replace(o,"").replace(Y,"").trim()}var ne={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},q=Object.defineProperty,ie=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,s=(W,h,o)=>h in W?q(W,h,{enumerable:!0,configurable:!0,writable:!0,value:o}):W[h]=o,f=(W,h)=>{for(var o in h||(h={}))Ce.call(h,o)&&s(W,o,h[o]);if(ie)for(var o of ie(h))v.call(h,o)&&s(W,o,h[o]);return W};const x="@\u2581\u2581@",c="@\u2581@",z=/<pre[^>]*>/g;function F(W){let h=document.createElement("div");return h.innerHTML=W,h.childNodes.length===0?"":h.childNodes[0].nodeValue}const H=(W,h)=>{W=W||"";const o=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Y=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,I=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,xe=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return h?W.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(o,(Ie,ye,fe,we,be,Se,G)=>{const ve=ye||we||Se,J=fe||be||G||"?";return p.Z.API_SERVER+"/api/attachments/"+ve+J+"&t="+(0,P.Jn)(ve,Date.now())+(Ie.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(W=W.replace(xe,(Ie,ye,fe,we,be,Se,G)=>{const ve=ye||we||Se,J=fe||be||G||"?";return p.Z.API_SERVER+"/attachments/download/"+ve+J+"&t="+(0,P.Jn)(ve,Date.now())+(Ie.indexOf(")")>-1?")":"&")}).replace(o,(Ie,ye,fe,we,be,Se,G)=>{const ve=ye||we||Se,J=fe||be||G||"?";return p.Z.API_SERVER+"/api/attachments/"+ve+J+"&t="+(0,P.Jn)(ve,Date.now())+(Ie.indexOf(")")>-1?")":"&")}).replace(Y,(Ie,ye,fe,we,be)=>{const Se=ye||we,G=fe||be||"";return'"'+p.Z.API_SERVER+"/api/attachments/"+Se+G+Se+G+"&t="+(0,P.Jn)(Se,Date.now())}).replace(I,(Ie,ye,fe,we,be)=>{const Se=ye||we,G=fe||be||"";return"("+p.Z.API_SERVER+"/files/uploads/"+Se+G+Se+G+"&t="+(0,P.Jn)(Se,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
`),W)};var K=({value:W="",edit:h=!1,className:o,showTextOnly:Y,showLines:I,style:xe={},stylesPrev:Ie={},highlightKeywords:ye,showProgramFill:fe,isProgramFill:we,disabledFill:be=!1,programFillValue:Se,openEditor:G=()=>{},onFillChange:ve=Q=>{},onFillBlur:J=()=>{},onFillFocus:Re=()=>{}})=>{let Q=X(String(W||""));const pe=(0,e.useRef)(),_=(0,e.useRef)(),[Ae,k]=(0,e.useState)(""),[b,N]=(0,e.useState)("office"),[R,g]=(0,e.useState)([]),U=(0,e.useRef)("a"+(0,ee.Z)()),y={},n=u=>/<style[\s\S]*?>/i.test(u||""),r=(u,T,j)=>{const oe=document.createElement(u===c?"input":"textarea");oe.style.width="100%",oe.style.height=u===c?"40px":"151px",oe.rows=5,oe.spellcheck=!1,oe.name="edu-program-fill",oe.placeholder="\u8BF7\u8F93\u5165",oe.dataset.id=T;const Ee=Object.keys(y).length;return y[Ee]=oe,`<span class="edu-program-fill-wrap ${u===c?"":"show"}" style="width:${u===c?"600px":"100%"}" title=${j||""}><span>${oe.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function $(u){return u=u.replace(/!\[.*?\]\(.*?\)/g,""),u=u.replace(/\[.*?\]\(.*?\)/g,""),u=u.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),u=u.replace(/<embed.*?>/g,""),u=u.replace(/<img.*?>/g,""),u=u.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),u=u.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),u=u.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),u=u.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),u}const A=u=>!Y&&n(Q)?u:u.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(T,j){let oe=j.replace(/(\n|\r)/g,"").split("}"),Ee=[];return oe.map(ue=>{ue!=""&&Ee.push(`.${U.current} ${ue}`)}),`<style>${Ee.join("}")}</style>`}),m=(0,e.useMemo)(()=>{(0,S.Iy)();try{const oe=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Ee=/\"\/api\/attachments\/|\"\/attachments\/download\//g,ue=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,me=/\(\/attachments\/download\//g;Q=Q.replace(me,"("+p.Z.API_SERVER+"/attachments/download/").replace(oe,"("+p.Z.API_SERVER+"/api/attachments/").replace(Ee,'"'+p.Z.API_SERVER+"/api/attachments/").replace(ue,'"'+p.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
`),pe.current.style.display="none"}catch(oe){}if(fe){let oe=-1;return Q=Q.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Ee,ue,me){var re;return++oe,r(Ee,oe,(re=Se==null?void 0:Se[oe])==null?void 0:re.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${A(Q||"")}</pre>`}let u=A(Q);u=(0,S.ZP)(u);const T=(0,S.ez)();Q.match(/\[TOC\]/)&&(u=u.replace("<p>[TOC]</p>",(0,S.Qv)()),(0,S.Iy)()),u=u.replace(/(__special_katext_id_\d+__)/g,(oe,Ee)=>{const{type:ue,expression:me}=T[Ee];return(0,w.renderToString)(F(me)||"",{displayMode:ue==="block",throwOnError:!1,output:"html"})}),u=u.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,S.AL)();const j=document.createElement("div");if(j.innerHTML=u,Y)return j.innerText;if(ye){const oe=ye.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return a(j,oe),j.innerHTML}return setTimeout(()=>V(),500),j.innerHTML},[Q,ye]);(0,e.useEffect)(()=>{i.current&&i.current.querySelectorAll(["input","textarea"]).forEach(T=>{T.oninput=C,T.onblur=E,T.onfocus=M})},[R]),(0,e.useEffect)(()=>{var u,T,j,oe,Ee;if(Se!=null&&Se.length)try{const ue=i.current.querySelectorAll(".edu-program-fill-score"),me=i.current.querySelectorAll('[name="edu-program-fill"]');for(const[re,je]of me.entries())je.value=((u=Se==null?void 0:Se[re])==null?void 0:u.value)||"",((T=Se==null?void 0:Se[re])==null?void 0:T.type)==="warning"?je.className="program-fill-warning":((j=Se==null?void 0:Se[re])==null?void 0:j.type)==="success"?je.className="program-fill-success":je.className="";for(const[re,je]of ue.entries())je.innerHTML=(oe=Se==null?void 0:Se[re])!=null&&oe.score?`${(Ee=Se==null?void 0:Se[re])==null?void 0:Ee.score}\u5206`:"";g(Se)}catch(ue){console.log(ue,"error")}},[Se]);const C=u=>{R[u.target.dataset.id]=R[u.target.dataset.id]||{},R[u.target.dataset.id].value=u.target.value,g([...R]),ve(R,u.target.dataset.id)},E=u=>{R[u.target.dataset.id]=R[u.target.dataset.id]||{},R[u.target.dataset.id].value=u.target.value,g([...R]),J(R,u.target.dataset.id)},M=u=>{R[u.target.dataset.id]=R[u.target.dataset.id]||{},R[u.target.dataset.id].value=u.target.value,g([...R]),Re(R,u.target.dataset.id)};function a(u,T){return u.childNodes.forEach(j=>{var oe;if(j.childNodes.length>0)a(j,T);else if(j.nodeName!=="IMG")if(j.innerHTML)j.innerHTML=(oe=j.innerHTML)==null?void 0:oe.replace(new RegExp(T,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Ee=document.createElement("span");Ee.innerHTML=j.textContent.replace(new RegExp(T,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),j.replaceWith(Ee)}})}const i=(0,e.useRef)();S.jb.WebkitLineClamp=I,I&&(xe=f(f({},xe),S.jb));function ge(u){let T=u.target;if(T.tagName.toUpperCase()==="A"){let j=T.getAttribute("href");if(j.indexOf("office")>-1)u.preventDefault(),k(j),N("office");else if(j.indexOf("application/pdf")>-1)u.preventDefault(),k(j),N("pdf");else if(j.indexOf("text/html")>-1)u.preventDefault(),k(j),N("html");else if(j.startsWith("#")){u.preventDefault();let oe=document.getElementById(j.replace("#",""));oe&&oe.scrollIntoView(!0)}}}const V=()=>{var u;const T=(u=i.current)==null?void 0:u.querySelectorAll("video");T==null||T.forEach(j=>{if(j.oncontextmenu=()=>!1,j.src.indexOf(".m3u8")>-1&&!j.canPlayType("application/vnd.apple.mpegurl")){if(le.ZP.isSupported()){var oe=new le.ZP;oe.loadSource(j.src),oe.attachMedia(j)}}})};(0,e.useEffect)(()=>{if(i.current&&m&&m.match(z)&&window.PR.prettyPrint(),i.current)return i.current.addEventListener("click",ge),()=>{var u;(u=i.current)==null||u.removeEventListener("click",ge),(0,S.AL)(),(0,S.Iy)()}},[m,i.current,ge]);const Z=u=>{u.target.nodeName==="IMG"&&u.target.className.indexOf("draw-flowchart")>-1?(pe.current.style.zIndex=1,pe.current.style.display="flex",pe.current.style.width=u.target.clientWidth+"px",pe.current.style.height=u.target.clientHeight+"px",pe.current.style.top=u.target.offsetTop+"px",pe.current.style.left=u.target.offsetLeft+"px",u.target.id&&(_.current=u.target.id)):pe.current.style.display="none"},O=()=>{pe.current.style.display="none"};return(0,e.useEffect)(()=>{var u;const T=j=>{j.preventDefault(),j.clipboardData.setData("text",window.getSelection().toString())};return(u=i.current)==null||u.addEventListener("copy",T),()=>{var j;(j=i.current)==null||j.removeEventListener("copy",T)}},[i.current]),e.createElement("div",{style:{position:"relative"},onMouseLeave:O},Y&&e.createElement("div",{ref:i,className:`${ne.mdBody} `},m),!Y&&!n(m)&&e.createElement("div",{ref:i,style:f({},xe),onMouseOver:Z,className:`${o||""} ${be?"disabled-fill":""} markdown-body ${ne.mdBody} ${U.current}`,dangerouslySetInnerHTML:{__html:m}}),!Y&&n(m)&&e.createElement(he,{html:m}),e.createElement("div",{ref:pe,className:`${ne.button} ${h?"":ne.previewFlowChart}`},e.createElement(ce.Z,null,e.createElement(l.ZP,{onClick:()=>{h?G(_.current):(k(_.current),N("flowChart"))}},h?"\u7F16\u8F91":"\u9884\u89C8"))),e.createElement(d.Z,{close:!0,data:Ae,type:Ae!=null&&Ae.length?b:"",style:f({},Ie),onClose:()=>k("")}))}},34728:function(rt,Oe,t){"use strict";t.d(Oe,{SV:function(){return pe},ZP:function(){return Q}});var e=t(59301),B=t(76374);const S={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},se={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},le={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
`)},{label:"using namespace std",content:["using namespace std"].join(`
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
`)}]},p={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
`)}]},P={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
`)}]};var w=t(53184),ce=t.n(w),l=(_,Ae,k)=>new Promise((b,N)=>{var R=y=>{try{U(k.next(y))}catch(n){N(n)}},g=y=>{try{U(k.throw(y))}catch(n){N(n)}},U=y=>y.done?b(y.value):Promise.resolve(y.value).then(R,g);U((k=k.apply(_,Ae)).next())});const ee={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},d=(_,Ae,k,b)=>{const N=Ae.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:k.lineNumber,endColumn:k.column});return Array.from(new Set(N.match(/\b\w{2,}\b/g)||[])).map(g=>({label:g,kind:_.languages.CompletionItemKind.Text,insertText:g,range:b}))},ae=(_,Ae,k,b)=>{_.languages.registerCompletionItemProvider(Ae,{provideCompletionItems(N,R){const g=N.getWordUntilPosition(R),U={startLineNumber:R.lineNumber,endLineNumber:R.lineNumber,startColumn:g.startColumn,endColumn:g.endColumn},y=N.getLineContent(R.lineNumber).substring(g.startColumn-2,g.endColumn);return{suggestions:[...d(_,N,R,U),...k.map(r=>({label:r,kind:_.languages.CompletionItemKind.Keyword,documentation:r,insertText:r,insertTextRules:_.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:U})),...b.map(r=>({label:r.label,kind:_.languages.CompletionItemKind.Snippet,documentation:r.content,insertText:y.startsWith("#")?r.content.replace(/#/,""):r.content,insertTextRules:_.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:U}))]}}})};var de=_=>{ee.languages.forEach(Ae=>{_.languages.registerDocumentFormattingEditProvider(Ae,{provideDocumentFormattingEdits(k){return l(this,null,function*(){const b=ce()(k.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:k.getFullModelRange(),text:b}]})}})}),ae(_,"java",se.keywords,se.quickKey),ae(_,"cpp",le.keywords,le.quickKey),ae(_,"c",S.keywords,[]),ae(_,"python",p.keywords,p.quickKey),ae(_,"scala",P.keywords,P.quickKey)};const he="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var X=Object.defineProperty,ne=(_,Ae,k)=>Ae in _?X(_,Ae,{enumerable:!0,configurable:!0,writable:!0,value:k}):_[Ae]=k,q=(_,Ae,k)=>ne(_,typeof Ae!="symbol"?Ae+"":Ae,k);const ie=class br{constructor(Ae,k,b){this.placeholder=Ae,this.editor=k,this.monaco=b,k.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return br.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};q(ie,"ID","editor.widget.placeholderHint");var v=ie,s=t(96236),f=t(6767),x=t(25399),c=t(78267),z=t(33156),F=t(56102),H=Object.defineProperty,K=Object.defineProperties,W=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,I=(_,Ae,k)=>Ae in _?H(_,Ae,{enumerable:!0,configurable:!0,writable:!0,value:k}):_[Ae]=k,xe=(_,Ae)=>{for(var k in Ae||(Ae={}))o.call(Ae,k)&&I(_,k,Ae[k]);if(h)for(var k of h(Ae))Y.call(Ae,k)&&I(_,k,Ae[k]);return _},Ie=(_,Ae)=>K(_,W(Ae)),ye=(_,Ae)=>{var k={};for(var b in _)o.call(_,b)&&Ae.indexOf(b)<0&&(k[b]=_[b]);if(_!=null&&h)for(var b of h(_))Ae.indexOf(b)<0&&Y.call(_,b)&&(k[b]=_[b]);return k},fe=(_,Ae,k)=>new Promise((b,N)=>{var R=y=>{try{U(k.next(y))}catch(n){N(n)}},g=y=>{try{U(k.throw(y))}catch(n){N(n)}},U=y=>y.done?b(y.value):Promise.resolve(y.value).then(R,g);U((k=k.apply(_,Ae)).next())});function we(_){return/^\d+$/.test(_)?`${_}px`:_}function be(){}let Se=!1;const G={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function ve(_=[]){let Ae=_;if(Array.isArray(_)){for(let k=0;k<_.length;k++){let b=G[_[k]];if(b)return b}return Ae[0]}return G[Ae]||Ae}let J=null;const Re=()=>fe(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(_){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",_)}});var Q=_=>{var Ae=_,{width:k="100%",height:b="100%",value:N,language:R="javascript",style:g={},options:U={},overrideServices:y={},theme:n="vs-dark",onEditBlur:r,isCopy:$=!1,onSave:A,autoHeight:m=!1,forbidCopy:C=!1,forbidCopyTips:E,onChange:M=be,editorDidMount:a=be,onFocus:i=be,onBreakPoint:ge=be,breakPointValue:V=[],filename:Z="educoder.txt",errorLine:O,errorContent:u="",highlightLine:T,openBreakPoint:j=!1,placeholder:oe="",showMiniMap:Ee=!0}=Ae,ue=ye(Ae,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const me=(0,e.useRef)(),re=(0,e.useRef)({}),je=(0,e.useRef)(),_e=(0,e.useRef)(),Ke=(0,e.useRef)([]),nt=(0,e.useRef)(!1),it=(0,e.useRef)(),ut=(0,e.useRef)(),dt=(0,e.useRef)(!1),[Be,te]=(0,e.useState)(!1);function ze(){let Ve;return me.current&&(Ve=new B.Z(Le=>{for(let mt of Le)(mt.target.offsetHeight>0||mt.target.offsetWidth>0)&&re.current.instance.layout()}),Ve.observe(me.current)),Ve}function $e(){f.ZP.warning({content:decodeURIComponent(E||he),key:"monaco-editor-tip"})}const Je=()=>{let Ve=re.current.instance;if(N!=null&&Ve&&Be){const Le=Ve.getModel();Le&&N!==Le.getValue()&&(Se=!0,Le.setValue(N),Ve.layout(),Se=!1)}};(0,e.useEffect)(()=>{const Ve=z.Z.subscribe("formatDocument",Le=>{var mt;let Ot=re.current.instance;(mt=Ot==null?void 0:Ot.getAction)==null||mt.call(Ot,"editor.action.formatDocument").run()});return window.updateMonacoValue=Le=>{M(Le)},Ve},[]),(0,e.useEffect)(()=>{var Ve;let Le=re.current.instance;_e.current&&clearTimeout(_e.current),_e.current=setTimeout(()=>{Je()},500),N&&(N!=null&&N.length)&&((Ve=Le==null?void 0:Le.updateOptions)==null||Ve.call(Le,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(N.split(/\r\n|\r|\n/g).length))+3,5)}))},[N,Be,re.current]),(0,e.useEffect)(()=>{if(O&&re.current&&re.current.instance){let Le=re.current.instance;Le.changeViewZones(function(mt){var Ot=document.createElement("div");Ot.style.padding="10px 20px",Ot.style.width="calc(100% - 20px)",Ot.className="my-error-line-wrp",Ot.innerHTML=u,mt.addZone({afterLineNumber:O||11,heightInLines:3,domNode:Ot})});var Ve={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Le.addOverlayWidget(Ve),Le.revealPositionInCenter({lineNumber:20,column:1})}},[O,re.current,Be]);const He=(Ve="",Le)=>{if(!Ve||Ve.trim()==="")return!0;const Ot=re.current.instance.getModel().getLineTokens(Le);let L=!1;for(let D=0;D<2;D++)Ot.getStandardTokenType(D)===1&&(L=!0);return L};(0,e.useEffect)(()=>{var Ve;const Le=(Ve=re.current)==null?void 0:Ve.instance;if(Le&&Be&&C){const mt=Le.onDidBlurEditorWidget(()=>{dt.current=!1}),Ot=Le.onDidFocusEditorText(()=>{dt.current=!0});return()=>{mt.dispose(),Ot.dispose()}}},[re.current,Be,C]),(0,e.useEffect)(()=>{var Ve;if((Ve=re.current)!=null&&Ve.instance&&Be&&j){let Le=re.current.instance,mt=Le.getModel();if(!mt)return;(()=>{var Ne;let Fe=[],et=[];const Ge=mt.getAllDecorations();for(let st of Ge)st.options.className==="highlighted-line"&&(Fe.push((Ne=st==null?void 0:st.range)==null?void 0:Ne.startLineNumber),et.push(st==null?void 0:st.id));if(T===Fe[0])return;mt.deltaDecorations(et,[]);const at=mt.getLineCount();T&&T<=at&&(Le.deltaDecorations([],[{range:new J.Range(T,1,T,mt.getLineMaxColumn(T)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Le.revealLineInCenter(T))})();const L=(Ne=!1)=>{var Fe;let et=[],Ge=[];const at=mt.getAllDecorations();for(let st of at)st.options.linesDecorationsClassName==="breakpoints-select"&&(et.push((Fe=st==null?void 0:st.range)==null?void 0:Fe.startLineNumber),Ge.push(st==null?void 0:st.id));if(Ne)return{lines:et,ids:Ge};ge(et)},D=Ne=>fe(void 0,null,function*(){let Fe={range:new J.Range(Ne,1,Ne,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield mt.deltaDecorations([],[Fe]),L()}),Te=Ne=>fe(void 0,null,function*(){let Fe=[];const et=Le.getLineDecorations(Ne);for(let Ge of et)Ge.options.linesDecorationsClassName==="breakpoints-select"&&Fe.push(Ge.id);yield mt.deltaDecorations(Fe,[]),L()}),Pe=Ne=>{let Fe=Le.getLineDecorations(Ne);for(let et of Fe)if(et.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,c.isEqual)(V,L(!0).lines)){mt.deltaDecorations(L(!0).ids,[]);const Ne=V.map(Fe=>({range:new J.Range(Fe,1,Fe,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));mt.deltaDecorations([],Ne)}const Me=Le.onDidChangeModelContent(Ne=>{let Fe=Le.getPosition();if(Fe){let et=Fe.lineNumber;clearTimeout(ut.current),ut.current=setTimeout(()=>{He(mt.getLineContent(et),et)?Te(et):Pe(et)?(Te(et),D(et)):L()},100)}}),We=Le.onMouseDown(Ne=>{var Fe,et,Ge;if(Ne.target.detail&&((Ge=(et=(Fe=Ne.target)==null?void 0:Fe.element)==null?void 0:et.className)!=null&&Ge.includes("line-numbers"))){let at=Ne.target.position.lineNumber;if(He(mt.getLineContent(at),at))return;Pe(at)?Te(at):D(at)}}),De=Ne=>{let Fe={range:new J.Range(Ne,1,Ne,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Ke.current=Le.deltaDecorations(Ke.current,[Fe])},Xe=()=>{Ke.current=Le.deltaDecorations(Ke.current,[])},qe=Le.onMouseMove(Ne=>{var Fe,et,Ge;if(Xe(),Ne.target.detail&&((Ge=(et=(Fe=Ne.target)==null?void 0:Fe.element)==null?void 0:et.className)!=null&&Ge.includes("line-numbers"))){let at=Ne.target.position.lineNumber;if(He(mt.getLineContent(at),at))return;De(at)}}),tt=Le.onMouseLeave(()=>{Xe()});return()=>{Me.dispose(),We.dispose(),qe.dispose(),tt.dispose()}}},[re.current,Be,V,T,j,R]),(0,e.useEffect)(()=>{var Ve;(Ve=re.current)!=null&&Ve.instance&&j&&re.current.instance.setPosition({lineNumber:0,column:0})},[T]);function Ye(){let Ve=re.current.instance;if(Ve){const Le=Ve.getSelection(),mt=re.current.pastePos||{},Ot=new J.Range(mt.startLineNumber||Le.endLineNumber,mt.startColumn||Le.endColumn,mt.endLineNumber||Le.endLineNumber,mt.endColumn||Le.endColumn);setTimeout(()=>{Ve.executeEdits("",[{range:Ot,text:""}])},300)}}function ot(Ve){(window.navigator.platform.match("Mac")?Ve.metaKey:Ve.ctrlKey)&&Ve.keyCode==83&&(Ve.preventDefault(),A())}const Ue=()=>{if(m&&re.current.instance){const Ve=re.current.instance.getContentHeight();qt(Ve<b?b:Ve)}else qt(b)};function vt(Ve){var Le=document.createEvent("MouseEvents");Le.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Ve.dispatchEvent(Le)}const St=Ve=>{if(!dt.current)return;const{keyCode:Le,ctrlKey:mt,metaKey:Ot,target:L,type:D}=Ve;return(D==="paste"||(Le===67||Le===86)&&(Ot||mt))&&L.nodeName==="TEXTAREA"&&($e(),Ve.preventDefault()),!1};function Jt(Ve,Le){var mt=window.URL||window.webkitURL||window,Ot=new Blob([Le]),L=document.createElementNS("http://www.w3.org/1999/xhtml","a");L.href=mt.createObjectURL(Ot),L.download=Ve,vt(L)}(0,e.useEffect)(()=>{Ue()},[Ue]),(0,e.useEffect)(()=>{me.current&&!Be&&Promise.all([t.e(8909),t.e(5977)]).then(t.bind(t,71448)).then(Ve=>{try{J=Ve,re.current.instance=J.editor.create(me.current,{value:N,language:ve(R),theme:n,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Ee||!1}},y);const Le=re.current.instance;let L=[...s.BH._menuItems].find(Me=>Me[0]._debugName=="EditorContext")[1],D=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Te=(Me,We)=>{var De,Xe;let qe=Me._first;do We.includes((Xe=(De=qe.element)==null?void 0:De.command)==null?void 0:Xe.id)&&Me._remove(qe);while(qe=qe.next)};if(a(Le,J),setTimeout(()=>{Ue(),re.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Jt(Z||"educoder.txt",Le.getValue())}})},500),re.current.subscription=Le.onDidChangeModelContent(Me=>{nt.current?clearTimeout(it.current):(Ue(),M(Le.getValue(),Me)),it.current=setTimeout(()=>{nt.current=!1},500)}),window.Monaco||de(J,ve(R)),C&&(Te(L,D),me.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",St),window.removeEventListener("paste",St),window.addEventListener("keydown",St),window.addEventListener("paste",St)),window.Monaco=J,r&&Le.onDidBlurEditorWidget(()=>{r(Le.getValue())}),i&&Le.onDidFocusEditorText(()=>{C&&Re(),i(Le.getValue())}),C){Re();try{Le.onDidPaste(Me=>{const We=Le.getSelection(),De=re.current.pastePos||{},Xe=new J.Range(De.startLineNumber||We.endLineNumber,De.startColumn||We.endColumn,De.endLineNumber||We.endLineNumber,De.endColumn||We.endColumn);Le.executeEdits("",[{range:Me.range,text:""}])})}catch(Me){}}let Pe=ze();return oe&&typeof oe=="string"&&new v(oe,Le,J),te(!0),()=>{const Me=re.current.instance;Me.dispose();const We=Me.getModel();We&&We.dispose(),re.current.subscription&&re.current.subscription.dispose(),Pe.unobserve(me.current)}}catch(Le){}})},[]),(0,e.useEffect)(()=>{if(re.current.instance&&Be)return document.addEventListener("keydown",ot,!1),()=>{document.removeEventListener("keydown",ot)}},[A,Be]),(0,e.useEffect)(()=>{let Ve=re.current.instance;if(Ve&&Be){let Le=ve(R);J.editor.setModelLanguage(Ve.getModel(),Le)}},[R,Be]),(0,e.useEffect)(()=>{re.current.instance&&Be&&J.editor.setTheme(n)},[n,Be]),(0,e.useEffect)(()=>{let Ve=re.current.instance;je.current=U,Ve&&Be&&(Ve.updateOptions(xe({},U)),setTimeout(()=>{Ve.getModel().updateOptions(xe({},U))},200))},[JSON.stringify(U),Be]),(0,e.useEffect)(()=>{let Ve=re.current.instance;Ve&&Be&&Ve.layout()},[k,b,Be]);const[Mt,xt]=(0,e.useState)(we(k)),[Nt,qt]=(0,e.useState)(we(b)),Qt=Ie(xe({},g),{width:Mt,height:Nt,position:"relative"});return e.createElement("div",{className:"my-monaco-editor",ref:me,style:Qt,onFocus:()=>{C&&Re()}},$&&e.createElement(F.CopyToClipboard,{text:N,onCopy:()=>f.ZP.success("\u590D\u5236\u6210\u529F")},e.createElement(x.Z,{title:"\u590D\u5236\u4EE3\u7801"},e.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},e.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function pe({width:_="100%",height:Ae="100%",original:k,modified:b,language:N,options:R={}}){const g=(0,e.useRef)(),[U,y]=(0,e.useState)(null);function n(m){let C;return g.current&&(C=new B.Z(E=>{for(let M of E)(M.target.offsetHeight>0||M.target.offsetWidth>0)&&m.layout()}),C.observe(g.current)),C}(0,e.useEffect)(()=>(g.current&&Promise.all([t.e(8909),t.e(9404)]).then(t.bind(t,2550)).then(m=>{J=m;const C=J.editor.createDiffEditor(g.current,Ie(xe({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},R),{wordWrap:!0}));y(C);let E=n(C);return()=>{C.dispose();const M=C.getModel();M&&M.dispose(),E.unobserve(g.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,e.useEffect)(()=>{U&&U.setModel({original:J.editor.createModel(k,N),modified:J.editor.createModel(b,N)})},[k,b,N,U]);const r=we(_),$=we(Ae),A={width:r,height:$};return e.createElement("div",{className:"my-diff-editor",ref:g,style:A})}},30935:function(rt,Oe,t){"use strict";t.d(Oe,{i:function(){return v},q:function(){return Ce}});var e=t(59301),B={flex_box_center:"flex_box_center___yMUhy",flex_space_between:"flex_space_between___KNvG9",flex_box_vertical_center:"flex_box_vertical_center___yqWY9",flex_box_center_end:"flex_box_center_end___DJKuV",flex_box_column:"flex_box_column___NTtN1",singleSelect:"singleSelect___fU3O9",multipleSelect:"multipleSelect___LFXCB",plus:"plus___gdDhG"},S=t(92310),se=t.n(S),le=t(25399),p=t(82326),P=t(7939),w=t(49317),ce=Object.defineProperty,l=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,he=(s,f,x)=>f in s?ce(s,f,{enumerable:!0,configurable:!0,writable:!0,value:x}):s[f]=x,X=(s,f)=>{for(var x in f||(f={}))ae.call(f,x)&&he(s,x,f[x]);if(d)for(var x of d(f))de.call(f,x)&&he(s,x,f[x]);return s},ne=(s,f)=>l(s,ee(f)),q=(s,f)=>{var x={};for(var c in s)ae.call(s,c)&&f.indexOf(c)<0&&(x[c]=s[c]);if(s!=null&&d)for(var c of d(s))f.indexOf(c)<0&&de.call(s,c)&&(x[c]=s[c]);return x},ie=(s,f,x)=>new Promise((c,z)=>{var F=W=>{try{K(x.next(W))}catch(h){z(h)}},H=W=>{try{K(x.throw(W))}catch(h){z(h)}},K=W=>W.done?c(W.value):Promise.resolve(W.value).then(F,H);K((x=x.apply(s,f)).next())});const Ce=s=>{var f=s,{wrapClassName:x,wrapStyle:c={},showLinkButton:z=!0,tooltipTitle:F="",loadGeneral:H=!1,data:K={}}=f,W=q(f,["wrapClassName","wrapStyle","showLinkButton","tooltipTitle","loadGeneral","data"]);const h="course_disciplines_list",[o,Y]=(0,e.useState)(()=>{const we=sessionStorage.getItem(h);return we?JSON.parse(we):[]}),[I,xe]=(0,e.useState)(!1),[Ie,ye]=(0,e.useState)(!0);(0,e.useEffect)(()=>{fe()},[]);const fe=()=>ie(void 0,null,function*(){var we,be,Se,G;xe(!0);const ve=yield(0,w.U2)("v2/course_disciplines.json",K);if(ve.status===0){const J=((be=(we=ve==null?void 0:ve.data)==null?void 0:we.list)==null?void 0:be.map(Re=>({value:Re.id,label:Re.name})))||[];if(Y(J),ye(!1),sessionStorage.setItem(h,JSON.stringify(J)),Ie){const Re=(G=(Se=ve==null?void 0:ve.data)==null?void 0:Se.list)==null?void 0:G.find(Q=>Q.is_default);H&&Re&&W.onChange(Re==null?void 0:Re.id)}}xe(!1)});return e.createElement("div",{className:se()(B.singleSelect,x),style:c},e.createElement(le.Z,{title:F},e.createElement(p.default,X({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B",loading:I,options:o,onDropdownVisibleChange:we=>{we&&fe()}},W))),z&&e.createElement(P.ZP,{type:"link",target:"_blank",href:"/knowledgeHub"},"\u7BA1\u7406\u8BFE\u7A0B"))},v=s=>{var f=s,{wrapClassName:x,wrapStyle:c={},showLinkButton:z=!0,courseDisciplineId:F="",isPlusHeight:H=!1,tooltipTitle:K,allowAcceptEmpty:W=!1,data:h={}}=f,o=q(f,["wrapClassName","wrapStyle","showLinkButton","courseDisciplineId","isPlusHeight","tooltipTitle","allowAcceptEmpty","data"]);const[Y,I]=(0,e.useState)([]),[xe,Ie]=(0,e.useState)(!1);(0,e.useEffect)(()=>{ye()},[F]);const ye=()=>ie(void 0,null,function*(){var fe,we;if(!W&&!F){I([]);return}Ie(!0);const be=yield(0,w.U2)(`v2/course_disciplines/${F||"all"}.json`,h);if(be.status===0){const Se=((we=(fe=be==null?void 0:be.data)==null?void 0:fe.tag_disciplines)==null?void 0:we.map(G=>({value:G.id,label:G.name})))||[];Se.length&&I(Se)}Ie(!1)});return e.createElement("div",{className:se()(B.multipleSelect,x),style:c},e.createElement(le.Z,{title:K},e.createElement(p.default,ne(X({allowClear:!0,mode:"multiple",optionFilterProp:"label",placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9",loading:xe,options:Y,maxTagCount:"responsive",onDropdownVisibleChange:fe=>{fe&&ye()}},o),{className:se()(o.className,H&&B.plus)}))),z&&e.createElement(P.ZP,{className:B.btn,type:"link",target:"_blank",href:"/knowledgeHub"},"\u7BA1\u7406\u77E5\u8BC6\u70B9"))}},84550:function(rt,Oe,t){"use strict";t.r(Oe),t.d(Oe,{default:function(){return V}});var e=t(59301),B=t(44283),S=t(65402),se=t(31691),le=t(37568),p=t(6767),P=t(7939),w=t(29787),ce=t(75727),l=t(93041),ee=t(31709),d=t(62957),ae={flex_box_center:"flex_box_center___sBoKM",flex_space_between:"flex_space_between___SHLh3",flex_box_vertical_center:"flex_box_vertical_center___T97r6",flex_box_center_end:"flex_box_center_end___pNP7Y",flex_box_column:"flex_box_column___dr0wb",addModal:"addModal___aEWdi",row:"row____K9d5",label:"label___y3olw"},de=t(23513),he=t(46861),X=(Z,O,u)=>new Promise((T,j)=>{var oe=me=>{try{ue(u.next(me))}catch(re){j(re)}},Ee=me=>{try{ue(u.throw(me))}catch(re){j(re)}},ue=me=>me.done?T(me.value):Promise.resolve(me.value).then(oe,Ee);ue((u=u.apply(Z,O)).next())});const ne=({problemset:Z,dispatch:O,onOk:u})=>{const[T,j]=(0,e.useState)(""),[oe,Ee]=(0,e.useState)([0]),ue=()=>{O({type:"problemset/setActionTabs",payload:{}})};(0,e.useEffect)(()=>{var re,je;Z.actionTabs.key==="\u65B0\u5EFA\u6587\u4EF6\u5939"&&(Ee([(je=(re=Z.actionTabs)==null?void 0:re.params)==null?void 0:je.group_id]),j(""))},[Z.actionTabs.key]);const me=()=>X(void 0,null,function*(){const re=["\uFF1F","\u3001","/","\u2572","*","<",">","|"];if(!T.trim()){p.ZP.warning("\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0");return}if(T.charAt(0)===" "){p.ZP.warning("\u9996\u5B57\u7B26\u4E0D\u80FD\u4E3A\u7A7A\u683C");return}for(let _e=0;_e<T.length;_e++)if(re.includes(T.charAt(_e)))return p.ZP.warning("\u6587\u4EF6\u5939\u540D\u79F0\u5305\u542B\u7279\u6B8A\u5B57\u7B26"),!1;const je=yield(0,he.sS)({parent_id:oe.length>0?oe[0]:0,name:T});je.status===0&&(ue(),u(je==null?void 0:je.id))});return e.createElement(d.default,{centered:!0,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",open:Z.actionTabs.key==="\u65B0\u5EFA\u6587\u4EF6\u5939",width:500,onCancel:ue,onOk:me,destroyOnClose:!0},e.createElement("div",{className:ae.addModal},e.createElement("div",{className:ae.row},e.createElement("span",{className:ae.label},"\u6587\u4EF6\u5939\u540D\u79F0: "),e.createElement(le.default,{placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0",value:T,onChange:re=>j(re.target.value)})),e.createElement("div",{className:ae.row,style:{alignItems:"start",maxHeight:500,overflow:"auto"}},e.createElement("span",{className:ae.label},"\u6587\u4EF6\u5939\u4F4D\u7F6E: "),e.createElement(de.Z,{value:oe,onChange:re=>Ee(re)}))))};var q=(0,B.connect)(({problemset:Z})=>({problemset:Z}))(ne),ie=t(90736),Ce={flex_box_center:"flex_box_center___P747F",flex_space_between:"flex_space_between___OiwJD",flex_box_vertical_center:"flex_box_vertical_center___ZEhCi",flex_box_center_end:"flex_box_center_end___h8UWu",flex_box_column:"flex_box_column___SPM3D",pWrap:"pWrap___UlNGw",few:"few___fb5jD"},v=t(37639),s=t(59301),x=({data:Z=[],activeTabsKey:O,onClick:u})=>{const T=()=>Z.map((oe,Ee)=>s.createElement("div",{key:Ee,className:Ce.few},s.createElement("b",{title:oe.name,style:{color:"#333333"},onClick:()=>u(oe.id,!1,O==="3")},oe.name),Ee<Z.length-1&&s.createElement("span",null,"\xA0>\xA0"))),j=()=>{let oe=!0;const Ee=Z.slice(2,-2),ue=s.createElement("div",{className:Ce.pWrap},Ee.map(me=>s.createElement("span",{title:me.name,onClick:()=>u(me.id,!1,O==="3"),key:me.id},me.name)));return Z.map((me,re)=>{let je=null;return re>1&&re<Z.length-2?oe&&(je=s.createElement(v.Z,{key:re,placement:"bottom",content:ue},s.createElement("span",{style:{color:"#999",cursor:"pointer"}},".../")),oe=!1):je=s.createElement("div",{key:re,className:Ce.few},s.createElement("b",{title:me.name,style:{color:"#333333"},onClick:()=>u(me.id,!1,O==="3")},me.name),re<Z.length-1&&s.createElement("span",null,"\xA0>\xA0")),je})};return s.createElement("aside",{style:{overflowX:"auto"}},Z.length>1&&s.createElement("span",{style:{cursor:"pointer",color:"#afaaaa"},className:"iconfont icon-zuoshangjiaofanhui",onClick:()=>{Z.length===1||u(Z[Z.length-2].id,!1,!0)}}),s.createElement("span",null,"\u5F53\u524D\u6587\u4EF6\u5939\uFF1A"),(Z==null?void 0:Z.length)>5?j():T())},c={flex_box_center:"flex_box_center___pAXJ7",flex_space_between:"flex_space_between___okEh8",flex_box_vertical_center:"flex_box_vertical_center___H3oJW",flex_box_center_end:"flex_box_center_end___IoZHh",flex_box_column:"flex_box_column___pioDq",page:"page___AQTC0",wrap:"wrap___ypi7g",title:"title___MqXji",select:"select___jUs9O",contentWrap:"contentWrap___prReW",pngIcon:"pngIcon___nQYWW",tabsWrap:"tabsWrap___JTnDy",searchWrap:"searchWrap___Bgson",addQuestionBtn:"addQuestionBtn___y9Dkl",search:"search___xhreb",searchIcon:"searchIcon___kKxKj",batchWrap:"batchWrap___y6TB9",contentListWrap:"contentListWrap___sljKR",li:"li___xrdAB",bottom:"bottom___IZpbS",actionLeftItem:"actionLeftItem___pA5VQ",questionTypeName:"questionTypeName___CQhmP",more:"more___vOWPW",btnAdd:"btnAdd___Lh47d",treeWrapper:"treeWrapper___FLm4B",treeHeader:"treeHeader___dec6m",treeContent:"treeContent___lAajS",action:"action___fRPRI",headerWrapper:"headerWrapper___Mx250",exportBtn:"exportBtn___QrNIt"},z=t(77560),F=t(18287),H={list:"list___Ur31H",btns:"btns___ITJo0",name:"name___FtR_V",folderWrapper:"folderWrapper___szWWk",folderIcon:"folderIcon___MdKkF",share_folderIcon:"share_folderIcon___G1rNy",subject:"subject___lELqJ"},K=t(49317),W=t(73631),h=t(31328),o=t(78267),Y=t(5932),I=Object.defineProperty,xe=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,be=(Z,O,u)=>O in Z?I(Z,O,{enumerable:!0,configurable:!0,writable:!0,value:u}):Z[O]=u,Se=(Z,O)=>{for(var u in O||(O={}))fe.call(O,u)&&be(Z,u,O[u]);if(ye)for(var u of ye(O))we.call(O,u)&&be(Z,u,O[u]);return Z},G=(Z,O)=>xe(Z,Ie(O)),ve=(Z,O,u)=>new Promise((T,j)=>{var oe=me=>{try{ue(u.next(me))}catch(re){j(re)}},Ee=me=>{try{ue(u.throw(me))}catch(re){j(re)}},ue=me=>me.done?T(me.value):Promise.resolve(me.value).then(oe,Ee);ue((u=u.apply(Z,O)).next())});const J=(Z,O,u=[])=>{if(Z)for(const T of Z){if(T.key===O)return u;if(T.children&&T.children!=""){const j=J(T.children,O,[...u,{id:T.key,name:T.title.props.name}]);if(j)return j}}},Re=({isProblemset:Z,name:O,id:u,isShare:T,itemBanksCount:j,onOpen:oe=()=>{},onShare:Ee=()=>{},onMove:ue=()=>{},onDeleteOk:me=()=>{}})=>{const[re,je]=(0,e.useState)(!1),[_e,Ke]=(0,e.useState)(O),[nt,it]=(0,e.useState)(O),ut=Be=>ve(void 0,null,function*(){const te=["\uFF1F","\u3001","/","\u2572","*","<",">","|"];if(!nt.trim()){p.ZP.warning("\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0");return}if(nt.charAt(0)===" "){p.ZP.warning("\u9996\u5B57\u7B26\u4E0D\u80FD\u4E3A\u7A7A\u683C");return}for(let $e=0;$e<nt.length;$e++)if(te.includes(nt.charAt($e)))return p.ZP.warning("\u6587\u4EF6\u5939\u540D\u79F0\u5305\u542B\u7279\u6B8A\u5B57\u7B26"),!1;(yield(0,K.ZP)(`/api/item_banks_groups/${Math.abs(Be)}.json`,{method:"put",body:{name:nt}})).status===0&&(je(!1),Ke(nt))}),dt=Be=>{d.default.confirm({title:"\u63D0\u793A",okText:"\u786E\u8BA4\u5220\u9664",className:"custom-modal-divider ",icon:null,content:e.createElement("div",null,e.createElement("p",null,"\u672C\u6B21\u5220\u9664\u64CD\u4F5C\u786E\u5B9A\u540E\u5185\u5BB9\u5C06\u65E0\u6CD5\u6062\u590D\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F"),e.createElement("p",null,"\u5220\u9664\u6587\u4EF6\u5939\uFF0C\u5C06\u540C\u6B65\u5220\u9664\u5176\u6240\u5305\u542B\u7684\u5168\u90E8\u5B50\u6587\u4EF6\u5939\u548C\u8BD5\u9898\uFF0C\u8BF7\u614E\u91CD\u64CD\u4F5C\uFF01")),cancelText:"\u53D6\u6D88",onOk:()=>ve(void 0,null,function*(){(yield(0,K.ZP)(`/api/item_banks_groups/${Math.abs(Be)}.json`,{method:"delete",body:{}})).status===0&&me(Be)})})};return e.createElement("div",{className:H.list,onClick:Be=>oe(u,T)},re?e.createElement(le.default,{style:{maxWidth:780},value:nt,onChange:Be=>{it(Be.target.value)},onClick:Be=>Be.stopPropagation()}):e.createElement("div",{className:H.name,title:_e},_e),j?e.createElement("div",{className:H.subject},"\u8BD5\u9898\u6570 ",j):"",Z&&e.createElement("div",{className:H.btns},re?e.createElement(e.Fragment,null,e.createElement("i",{className:"iconfont icon-chenggong1 ml10",style:{color:"#33BD8C"},onClick:Be=>{Be.stopPropagation(),ut(u)}}),e.createElement("i",{className:"iconfont icon-qingchu ml10",onClick:Be=>{Be.stopPropagation(),it(_e),je(!1)}})):e.createElement(e.Fragment,null,e.createElement("i",{className:"iconfont icon-shangyi3 ml10",onClick:Be=>{Be.stopPropagation(),ue(u,"up")}}),e.createElement("i",{className:"iconfont icon-shangyi3 ml10",style:{transform:"rotate(180deg)"},onClick:Be=>{Be.stopPropagation(),ue(u,"down")}})),e.createElement("div",{style:{position:"relative",top:"-2px",display:"flex"}},e.createElement(P.ZP,{className:"ml10",onClick:Be=>{Be.stopPropagation(),Ee(Math.abs(u))},type:"link"},"\u5171\u4EAB\u5168\u90E8\u6587\u4EF6\u5939"),e.createElement(P.ZP,{className:"ml10",onClick:Be=>{Be.stopPropagation(),je(!0)},type:"link"},"\u91CD\u547D\u540D"),e.createElement(P.ZP,{onClick:Be=>{Be.stopPropagation(),dt(u)},type:"link",danger:!0},"\u5220\u9664"))))};var pe=({isProblemset:Z,data:O,onOpen:u=()=>{},onShare:T=()=>{},navigation:j,reloadData:oe,activeTabsKey:Ee,setRootData:ue,params:me})=>{const[re,je]=(0,e.useState)(),[_e,Ke]=(0,e.useState)([]),[nt,it]=(0,e.useState)([]);(0,e.useEffect)(()=>{re&&setTimeout(()=>{ue(re)},200)},[re]),(0,e.useEffect)(()=>{it([]),Ke([])},[O]),(0,e.useEffect)(()=>{nt.length===0&&_e.length===0&&je(O==null?void 0:O.map(He=>({title:e.createElement(Re,{isProblemset:Z,name:He.name,id:He.id,isShare:He.is_share,itemBanksCount:He.item_banks_count,onMove:dt,onOpen:u,onShare:T,onDeleteOk:te}),key:He.id,icon:He.is_share?e.createElement("img",{onClick:()=>{u(He.id)},src:h,className:H.share_folderIcon}):e.createElement("img",{onClick:()=>{u(He.id)},src:W,className:H.folderIcon}),isLeaf:!He.have_child})))},[nt,_e,O]);const ut=(He,Ye,ot)=>{const Ue=(0,o.cloneDeep)(He);for(let vt=0;vt<Ue.length;vt++){if(Ue[vt].key===Ye){ot==="up"?[Ue[vt-1],Ue[vt]]=[Ue[vt],Ue[vt-1]]:[Ue[vt],Ue[vt+1]]=[Ue[vt+1],Ue[vt]];break}Ue[vt].children&&(Ue[vt].children=ut(Ue[vt].children,Ye,ot))}return Ue},dt=(He,Ye)=>ve(void 0,null,function*(){(Ye==="up"?yield(0,he.A1)({id:Math.abs(He)}):yield(0,he.vi)({id:Math.abs(He)})).status===0&&je(Ue=>ut(Ue,He,Ye))}),Be=(He,Ye)=>He.filter(ot=>ot.key===Ye?!1:(ot.children&&(ot.children=Be(ot.children,Ye)),!0)),te=He=>{je(Ye=>Be(Ye,He)),oe()},ze=(He,Ye,ot)=>He.map(Ue=>Ue.key===Ye?Se(Se({},Ue),ot):Ue.children?G(Se({},Ue),{children:ze(Ue.children,Ye,ot)}):Ue),$e=He=>ve(void 0,null,function*(){var Ye;const{key:ot}=He;let Ue=Ee===Y.A.TeachGroupShare?"3":"";const vt=yield(0,he.ex)(G(Se({},me),{group_id:Math.abs(ot),parents:[...j||[{id:0,name:"\u6839\u76EE\u5F55"}],...(Ye=J(re,ot))==null?void 0:Ye.map(Mt=>({id:Mt.id,name:Mt.name}))],type:Ue})),{data:St,total_count:Jt}=vt||{};Jt>0&&je(Mt=>ze(Mt,ot,{children:St.map(xt=>({title:e.createElement(Re,{isProblemset:Z,name:xt.name,id:xt.id,itemBanksCount:xt.item_banks_count,onMove:dt,onOpen:u,onShare:T,onDeleteOk:te}),key:xt.id,icon:xt.is_share?e.createElement("img",{onClick:()=>{u(xt.id)},src:h,className:H.share_folderIcon}):e.createElement("img",{onClick:()=>{u(xt.id)},src:W,className:H.folderIcon}),isLeaf:!xt.have_child}))}))}),Je=(He,Ye)=>{it(He)};return(re==null?void 0:re.length)>0&&e.createElement(F.default,{showLine:{showLeafIcon:!1},showIcon:!0,treeData:re,loadData:$e,onExpand:Je,onLoad:He=>{Ke(He)},className:H.folderWrapper,selectable:!1,expandedKeys:nt,loadedKeys:_e})},_=t(15267),Ae=t(88627),k=t(5623),b=t(76406),N=t(59301),R=Object.defineProperty,g=Object.defineProperties,U=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,$=(Z,O,u)=>O in Z?R(Z,O,{enumerable:!0,configurable:!0,writable:!0,value:u}):Z[O]=u,A=(Z,O)=>{for(var u in O||(O={}))n.call(O,u)&&$(Z,u,O[u]);if(y)for(var u of y(O))r.call(O,u)&&$(Z,u,O[u]);return Z},m=(Z,O)=>g(Z,U(O)),C=(Z,O)=>{var u={};for(var T in Z)n.call(Z,T)&&O.indexOf(T)<0&&(u[T]=Z[T]);if(Z!=null&&y)for(var T of y(Z))O.indexOf(T)<0&&r.call(Z,T)&&(u[T]=Z[T]);return u},E=(Z,O,u)=>new Promise((T,j)=>{var oe=me=>{try{ue(u.next(me))}catch(re){j(re)}},Ee=me=>{try{ue(u.throw(me))}catch(re){j(re)}},ue=me=>me.done?T(me.value):Promise.resolve(me.value).then(oe,Ee);ue((u=u.apply(Z,O)).next())});const M=se.default.TabPane,a=le.default.Search;var i=(Z=>(Z.Mine="0",Z.Public="1",Z.Collection="2",Z.TeachGroupShare="3",Z))(i||{});const ge=Z=>{var O=Z,{classroomList:u,problemset:T,user:j,globalSetting:oe,loading:Ee,dispatch:ue,match:me,shixunHomeworks:re}=O,je=C(O,["classroomList","problemset","user","globalSetting","loading","dispatch","match","shixunHomeworks"]),_e,Ke,nt,it;const ut=(0,B.useParams)(),[dt]=(0,B.useSearchParams)(),Be=(0,b.oP)(),[te,ze]=(0,e.useState)({discipline_id:null,sub_discipline_id:null,tag_discipline_id:null,group_id:null,type:"0",item_type:Be.qtype,difficulty:null,keyword:null,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",id:dt.get("id")||null,exam_id:ut.id||null,exercise_id:ut.categoryId||null}),[$e,Je]=(0,e.useState)(0),[He,Ye]=(0,e.useState)([]),[ot,Ue]=(0,e.useState)("0"),[vt,St]=(0,e.useState)(-1),[Jt,Mt]=(0,e.useState)([]),[xt,Nt]=(0,e.useState)([]),[qt,Qt]=(0,e.useState)(!1),Ve=(0,e.useRef)(!1),[Le,mt]=(0,e.useState)([]),[Ot,L]=(0,e.useState)("\u6309\u66F4\u65B0\u65F6\u95F4\u964D\u5E8F"),[D,Te]=(0,e.useState)([]),Pe=(0,e.useRef)(null),[Me,We]=(0,e.useState)(!1),[De,Xe]=(0,e.useState)(""),qe=[{name:"\u6309\u66F4\u65B0\u65F6\u95F4\u5347\u5E8F",type:"updated_at",direction:"asc"},{name:"\u6309\u66F4\u65B0\u65F6\u95F4\u964D\u5E8F",type:"updated_at",direction:"desc"},{name:"\u6309\u4F7F\u7528\u6B21\u6570\u5347\u5E8F",type:"quotes",direction:"asc"},{name:"\u6309\u4F7F\u7528\u6B21\u6570\u964D\u5E8F",type:"quotes",direction:"desc"}];(0,e.useEffect)(()=>(document.body.setAttribute("data-custom","initial"),()=>{document.body.removeAttribute("data-custom")}),[]),(0,e.useEffect)(()=>{ue({type:"problemset/getDisciplines",payload:{source:"question"}});const Qe=dt.get("group_id")||0;te.group_id=Number(Qe),ze(te),et(te).then(gt=>{We(!1)}),Fe(te),Ge(),tt()},[]),(0,e.useEffect)(()=>(ue({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),ue({type:"globalSetting/onlyShowBackTopIconToggle",payload:!1}),()=>{ue({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),ue({type:"globalSetting/onlyShowBackTopIconToggle",payload:!0})}),[]),(0,e.useEffect)(()=>(ue({type:"globalSetting/headerFixedToggle",payload:!0}),()=>{ue({type:"globalSetting/headerFixedToggle",payload:!1})}),[]),(0,e.useEffect)(()=>(ue({type:"globalSetting/headerFooterToggle",payload:!1}),()=>{ue({type:"globalSetting/headerFooterToggle",payload:!0})}),[]);const tt=()=>E(void 0,null,function*(){ue({type:"problemset/getTeachGroupData"})}),Ne=(0,e.useRef)(),Fe=Qe=>E(void 0,null,function*(){const gt=A({},Qe);We(!0);const Ct=yield ue({type:"problemset/getGroup",payload:A({},gt)});Ct!=null&&Ct.data&&Te((Ct==null?void 0:Ct.data)||[]),Ct&&Nt((Ct==null?void 0:Ct.navigation)||[]),mt([]),We(!1)}),et=Qe=>E(void 0,null,function*(){Qe.item_type=Qe.item_type,We(!0);const gt=yield ue({type:"problemset/getItemBanks",payload:Qe});if(gt&>.status!==403&>.status!==401&>.status!==500)return Je(gt.items_count||0),Ye(gt.items||[]),Mt(gt.tag_disciplines||[]),at(gt.items||[]),mt([]),We(!1),gt}),Ge=()=>{ue({type:"problemset/getBasketList",payload:{}})},at=Qe=>{const gt=Qe.every(Ct=>{var wt;return((wt=Ct.program_attr)==null?void 0:wt.status)===0});Ve.current=gt},st=(Qe,gt)=>{te.discipline_id=Qe||"",te.sub_discipline_id=gt||"",te.tag_discipline_id="",te.page=1,te.per_page=20,delete te.id,St(Qe===null?-1:null),ze(te),et(te),Fe(te)},ht=Qe=>{te.difficulty=Qe||"",te.page=1,te.per_page=20,delete te.id,ze(te),et(te),Fe(te)},Rt=Qe=>{te.tag_discipline_id=Qe,te.page=1,te.per_page=20,delete te.id,Qe===-1&&(te.discipline_id="",te.sub_discipline_id="",te.tag_discipline_id=""),St(Qe),ze(te),et(te),Fe(te)},[en,Kt]=(0,e.useState)(!1),Dt=Qe=>{ue({type:"problemset/getDisciplines",payload:{source:"question",group_id:0,group_type:Qe}}),te.discipline_id="",te.sub_discipline_id="",te.tag_discipline_id="",te.difficulty=null,te.type=Qe,Qe==="0"?te.group_id=0:te.group_id=null,Kt(Qe==="3"),te.page=1,te.per_page=20,delete te.id,St(-1),Ue(Qe),ze(te),et(te),console.log("\u6765\u8FD9\u4E86----------------"),Fe(te)},Wt=(Qe,gt)=>{te.page=Qe,te.per_page=gt,ze(te),et(te),Fe(te)},At=Qe=>{te.discipline_id="",te.sub_discipline_id="",te.tag_discipline_id="",te.difficulty=null,te.page=1,te.keyword=Qe,delete te.id,Qe?(Qt(!0),(0,Ae.tk)({name:Qe,copywriting:Qe,position:"ItemBank"})):Qt(!1),St(-1),ze(te),et(te),Fe(te)},Xt=()=>{te.per_page=20,ze(te),et(te),Fe(te)},ln=(Qe,gt=!1,Ct=!1)=>E(void 0,null,function*(){var wt;if(ue({type:"problemset/getDisciplines",payload:{source:"question",group_id:Math.abs(Qe),group_type:"0"}}),te.page=1,te.per_page=20,te.group_id=Math.abs(Qe),Ct){const Ht=JSON.parse(JSON.stringify(xt));Ht.splice(Ht.length-2,2),te.parents=Ht}else te.parents=[...xt||[{id:0,name:"\u6839\u76EE\u5F55"}],...((wt=J(Ne.current,Qe))==null?void 0:wt.map(Ht=>({id:Ht.id,name:Ht.name})))||[]];ze(te),Fe(A({},te)),et(te)}),Lt=()=>{ue({type:"problemset/setActionTabs",payload:{key:"\u65B0\u5EFA\u6587\u4EF6\u5939",params:te}})},kt=()=>{ue({type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"}})},tn=Qe=>E(void 0,null,function*(){ue({type:"problemset/getDisciplines",payload:{source:"question",group_id:Qe,group_type:"3"}}),te.page=1,te.group_id=Qe||null,delete te.id,ze(A({},te)),et(m(A({},te),{group_id:0})),Fe(m(A({},te),{group_id:0}))}),$t=Qe=>{te.sort_by=Qe.type,te.sort_direction=Qe.direction,te.page=1,te.per_page=20,L(Qe.name),ze(te),et(te),Fe(te)},Vt=Qe=>{te.discipline_id="",te.sub_discipline_id="",te.tag_discipline_id="",te.difficulty=null,te.page=1,te.per_page=20,te.group_id=Qe,St(-1),ze(te),Fe(te)},Gt=Qe=>{mt(Qe)},_t=[{type:"SINGLE",name:"\u5355\u9009\u9898"},{type:"MULTIPLE",name:"\u591A\u9009\u9898"},{type:"JUDGMENT",name:"\u5224\u65AD\u9898"},{type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},{type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},{type:"COMPLETION",name:"\u586B\u7A7A\u9898"},{type:"COMBINATION",name:"\u7EC4\u5408\u9898"}],Yt={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},on=Qe=>E(void 0,null,function*(){if(Be.type==="exercise"){const gt=yield(0,K.ZP)(`/api/exercises/${Be.exerciseid}/toggle_random_question.json`,{method:"post",body:{question_id:Be.qid,item_bank_id:Qe}});gt!=null&>.status||(p.ZP.info("\u6362\u9898\u6210\u529F"),B.history.push(Be.from));return}});return N.createElement("div",{className:c.page},N.createElement("section",null,N.createElement("div",{className:c.wrap},N.createElement("div",{className:c.title},"\u8BD5\u9898\u5E93"),N.createElement("div",{className:c.headerWrapper},N.createElement("div",{className:c.tabsWrap},N.createElement(se.default,{activeKey:ot,onChange:Dt,tabBarExtraContent:N.createElement("div",{className:c.searchWrap},N.createElement(a,{allowClear:!0,suffix:N.createElement("i",{className:`iconfont icon-sousuo9 font14 ${c.searchIcon}`,onClick:()=>At(te.keyword)}),className:c.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",size:"middle",value:te.keyword,onChange:Qe=>{te.keyword=Qe.target.value,ze(A({},te))},onSearch:At}))},N.createElement(M,{tab:"\u516C\u5171",key:"1"}),((Ke=(_e=T.teachGroupData)==null?void 0:_e.groups)==null?void 0:Ke.length)&&N.createElement(M,{tab:"\u56E2\u961F\u5171\u4EAB",key:"3"}),!(0,_.ag)()&&!(0,_.JA)()&&N.createElement(M,{tab:"\u6536\u85CF\u5939",key:"2"}),N.createElement(M,{tab:"\u6211\u521B\u5EFA\u7684",key:"0"}))),N.createElement(S.S,{showSelectAll:!1,className:c.select,disciplinesData:(nt=T.disciplinesData)==null?void 0:nt.disciplines,knowledgeData:Jt,directionValue:te.discipline_id,subDisciplineValue:te.sub_discipline_id,typeValue:te.item_type,isprogram_homework:!1,showItemType:!1,showKnowledge:!0,name:De,setname:Xe,difficultyValue:te.difficulty,showShixun:!1,onShixunChange:kt,onDirectionChange:st,onTypeChange:()=>{},onDifficultyChange:ht,knowledgeValue:vt,onKnowledgeChange:Rt,teachGroupData:(it=T.teachGroupData)==null?void 0:it.groups,onTeachGroupChange:tn,teachGroupValue:te.group_id,showTeachGroup:en})),N.createElement("div",{className:c.treeWrapper,style:{display:ot==="0"?"block":"none"}},N.createElement("div",{className:c.treeHeader},N.createElement(x,{data:xt,onClick:ln,activeTabsKey:ot}),N.createElement(P.ZP,{type:"link",onClick:Lt,className:c.exportBtn},N.createElement("img",{src:k,alt:"",className:c.pngIcon}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),N.createElement(w.Z,{spinning:Me},N.createElement("div",{ref:Pe,className:D.length?c.treeContent:"",style:{maxHeight:"220px",overflow:"auto"}},N.createElement(pe,{setRootData:Qe=>{Ne.current=Qe},isProblemset:!1,reloadData:()=>{},data:D,onShare:()=>{},onOpen:ln,params:te,navigation:xt,activeTabsKey:ot})))),N.createElement("div",{className:c.contentWrap},N.createElement("div",{className:c.batchWrap},N.createElement("div",{style:{flex:1,display:"flex",alignItems:"center"}},N.createElement("div",{className:"font14"},N.createElement(ce.Z,{dropdownRender:()=>N.createElement(l.default,{selectedKeys:[Ot]},qe==null?void 0:qe.map((Qe,gt)=>N.createElement(l.default.Item,{key:Qe.name,onClick:()=>$t(Qe)},Qe.name)))},N.createElement("span",{style:{color:"#464F66"}},N.createElement("i",{className:"iconfont icon-paixu font14 mr5 c-light-primary"}),Ot))))),qt?N.createElement("div",null,N.createElement(P.ZP,{style:{paddingLeft:0},onClick:()=>{te.page=1,te.keyword=null,delete te.id,ze(te),Qt(!1),et(te)},type:"link"},N.createElement("i",{className:"iconfont icon-fanhui2 font14"}),"\u8FD4\u56DE"),N.createElement("span",{className:"font14 mr20 c-grey-333"},"\u641C\u7D22\u201C",te.keyword,"\u201D")):null,N.createElement("div",{className:c.contentListWrap},$e!==0?N.createElement(w.Z,{size:"middle",spinning:Ee["problemset/getItemBanks"]},He.map((Qe,gt)=>{var Ct,wt;return N.createElement("div",{className:c.li,key:Qe.id},N.createElement("div",{className:c.top},N.createElement(z.Z,{showCheckbox:!1,data:Qe,selectIds:Le,onSelectCheckBox:Gt})),N.createElement("div",{className:c.bottom},N.createElement("p",{className:`${c.actionLeftItem} ${c.questionTypeName}`},(Ct=_t.find(Ht=>Ht.type===Qe.item_type))==null?void 0:Ct.name),N.createElement("p",{className:c.actionLeftItem},Yt[Qe.difficulty]),N.createElement("p",{className:c.actionLeftItem},"\u521B\u5EFA\u8005",N.createElement("span",{className:"c-grey-333"},(wt=Qe==null?void 0:Qe.author)==null?void 0:wt.name)),N.createElement("p",{className:c.actionLeftItem},"\u66F4\u65B0",N.createElement("span",{className:"c-grey-333"},Qe==null?void 0:Qe.updated_at)),N.createElement("p",{className:c.actionLeftItem},"\u4F7F\u7528\u6B21\u6570",N.createElement("span",{className:"c-grey-333"},Qe==null?void 0:Qe.quotes)),N.createElement("div",{className:c.more},N.createElement("span",{className:c.btnAdd,onClick:()=>on(Qe.id)},"\u66FF\u6362"))))})):N.createElement(w.Z,{size:"middle",spinning:Ee["problemset/getItemBanks"]},N.createElement(ie.Z,null))),$e!==0&&N.createElement(ee.Z,{showQuickJumper:!0,onChange:Wt,defaultCurrent:1,pageSize:te==null?void 0:te.per_page,current:te.page||1,total:$e,showTotal:Qe=>N.createElement("span",{className:"mr10"},"\u5171",N.createElement("span",{className:"c-light-primary"},Qe),"\u6761\u6570\u636E")}))),N.createElement(q,{onOk:Vt})))};var V=(0,B.connect)(({classroomList:Z,problemset:O,user:u,loading:T,globalSetting:j,shixunHomeworks:oe})=>({classroomList:Z,problemset:O,user:u,globalSetting:j,loading:T.effects,shixunHomeworks:oe}))(ge)},77560:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return s}});var e=t(59301),B=t(35883),S=t(47889),se=t(25399),le=t(77019),p=t(5269),P=t(62673),w={flex_box_center:"flex_box_center___K3pXk",flex_space_between:"flex_space_between___JNXiy",flex_box_vertical_center:"flex_box_vertical_center___lX_K7",flex_box_center_end:"flex_box_center_end___ESJAL",flex_box_column:"flex_box_column___nMTYm",line:"line___cNtUM",b1:"b1___xIRxk",b2:"b2___N5uit",list:"list___SBMGo",title:"title___zQP91",tr:"tr___uaxLL",itemDetail:"itemDetail___Ye51x",answerWrapper:"answerWrapper___WJAPa",decoration:"decoration___fOLFB",row:"row___FvSRM",typeRow:"typeRow___qpDsw",type:"type___a8Bs6",typeName:"typeName___EfvMr",typeIcon:"typeIcon___XnhBc",unpublished:"unpublished___h3A34",private:"private___Ok_kP",public:"public___V5_HF",reviewFlag:"reviewFlag___MWDMc",typeRightAction:"typeRightAction___zwJ4e",actionLink:"actionLink___XxdsL",actionIcon:"actionIcon___YoZs8",topicTitle:"topicTitle___TXfB_",topicTitleContent:"topicTitleContent___MceUW",judgmentContent:"judgmentContent___Adte7",programContent:"programContent___R8AFa",otherContent:"otherContent___CNAVC",combinationContent:"combinationContent___NWKpD",con:"con___MJkTE",otherContentItem:"otherContentItem___sXGMT",otehrContentHtml:"otehrContentHtml___MKkjT",difficultyRow:"difficultyRow___E6YVK",updateTimeRow:"updateTimeRow___MPFJY",updateTimeWrap:"updateTimeWrap___iIz5W",updateTimeContent:"updateTimeContent___CpqJg",programLanguage:"programLanguage___lku0d",updateTimeRowAction:"updateTimeRowAction___Y6grB",bottomAction:"bottomAction___sQwM3",borderColorBlue:"borderColorBlue___vZe0j",borderColorRed:"borderColorRed___GPm9E",borderColorFFF:"borderColorFFF___izaeA",borderColorGray:"borderColorGray___WdIyN",selectIcon:"selectIcon___I35Ch",colorGreen:"colorGreen___yFw84",parseAnswerBorder:"parseAnswerBorder___tmhXi",answer:"answer___c9YYj",answerHtml:"answerHtml___sp4Xx",parse:"parse___Lif5r",parseText:"parseText___KMhnK",parseAnswer:"parseAnswer___aFs0o",parseAnswerHtml:"parseAnswerHtml___AfP6o",actionBar:"actionBar___Q6e1E",know:"know___EtJbV",menu:"menu___ODbWA",bottom:"bottom___yLg8j",textBtn:"textBtn___p8TrW"},ce=t(44283),l=t(15267),ee=t(79917),d=t(24334),ae=t(71039),de=t(76406),he=t(33156),X=t(49317),ne=(f,x,c)=>new Promise((z,F)=>{var H=h=>{try{W(c.next(h))}catch(o){F(o)}},K=h=>{try{W(c.throw(h))}catch(o){F(o)}},W=h=>h.done?z(h.value):Promise.resolve(h.value).then(H,K);W((c=c.apply(f,x)).next())});const q=["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"],ie=["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"],Ce=({data:f,selectIds:x,onSelectCheckBox:c=()=>{},showCheckbox:z=!0})=>{var F,H,K;const[W,h]=(0,e.useState)(!1),o=()=>{var Ie,ye;return f.item_type==="JUDGMENT"?e.createElement("div",{className:w.judgmentContent},f.choices.map((fe,we)=>e.createElement(S.ZP,{key:we,disabled:!0},fe.choice_text))):f.item_type==="PROGRAM"?e.createElement("div",{className:w.programContent},e.createElement(B.Z,{value:(Ie=f.program_attr)==null?void 0:Ie.description})):f.item_type==="COMBINATION"?e.createElement("div",{className:w.combinationContent},(ye=f==null?void 0:f.sub_item_banks)==null?void 0:ye.map((fe,we)=>{var be,Se,G,ve,J,Re;const Q=`(\u9898\u76EE${we+1}-${(fe==null?void 0:fe.item_type)=="SINGLE"?"\u5355\u9009\u9898":(fe==null?void 0:fe.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":(fe==null?void 0:fe.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":(fe==null?void 0:fe.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898"}) `;return e.createElement(e.Fragment,null,e.createElement("div",{style:{marginTop:10,marginBottom:10}},e.createElement(B.Z,{value:Q+fe.name})),((fe==null?void 0:fe.item_type)=="SINGLE"||(fe==null?void 0:fe.item_type)=="MULTIPLE")&&fe.choices.map((pe,_)=>e.createElement("div",{key:_,className:w.otherContentItem},e.createElement("p",null,q[_]),e.createElement(B.Z,{className:w.otehrContentHtml,value:pe.choice_text}))),(fe==null?void 0:fe.item_type)=="JUDGMENT"&&e.createElement("div",{style:{display:"flex",marginBottom:10}},fe.choices.map((pe,_)=>e.createElement(S.ZP,{key:_,disabled:!0},pe.choice_text))),e.createElement("div",{className:w.con},(fe==null?void 0:fe.item_type)=="SINGLE"&&e.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",ie==null?void 0:ie[(be=fe==null?void 0:fe.choices)==null?void 0:be.findIndex(pe=>pe==null?void 0:pe.is_answer)]," "),(fe==null?void 0:fe.item_type)=="COMPLETION"&&((Se=fe==null?void 0:fe.standard_answer)==null?void 0:Se.map((pe,_)=>{var Ae;return e.createElement("div",{key:_,className:w.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${pe.position}\uFF09\uFF1A${(Ae=pe==null?void 0:pe.answer_text)==null?void 0:Ae.join("\u3001")}`)})),(fe==null?void 0:fe.item_type)=="MULTIPLE"&&e.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",(G=fe==null?void 0:fe.choices)==null?void 0:G.map((pe,_)=>{if(pe!=null&&pe.is_answer)return(ie==null?void 0:ie[_])+" "})," "),(fe==null?void 0:fe.item_type)=="JUDGMENT"&&e.createElement("div",null,"\u7B54\u6848\uFF1A",(J=(ve=fe==null?void 0:fe.choices)==null?void 0:ve.find(pe=>pe.is_answer))==null?void 0:J.choice_text),(fe==null?void 0:fe.item_type)=="SUBJECTIVE"&&e.createElement("div",null,"\u7B54\u6848\uFF1A",(Re=fe==null?void 0:fe.answer_texts)==null?void 0:Re[0]),e.createElement("div",null,e.createElement("span",null,"\u89E3\u6790\uFF1A"),e.createElement(B.Z,{className:w.parseAnswerHtml,value:fe.analysis||"\u6682\u65E0\u89E3\u6790"})),e.createElement("div",null,e.createElement("span",null,"\u77E5\u8BC6\u70B9\uFF1A"),e.createElement(se.Z,{title:(f==null?void 0:f.tag_discipline)||"--"},e.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(f==null?void 0:f.tag_discipline)||"--")))))})):e.createElement("div",{className:w.otherContent},f.choices.map((fe,we)=>e.createElement("div",{key:we,className:w.otherContentItem},e.createElement("p",null,q[we]),e.createElement(B.Z,{className:w.otehrContentHtml,value:fe.choice_text}))))},Y=()=>{var Ie;if((f==null?void 0:f.item_type)!=="BPROGRAM")return e.createElement("div",null,(Ie=f.standard_answer)==null?void 0:Ie.map((ye,fe)=>{var we,be;return e.createElement("div",{key:fe,className:w.answerHtml},(ye==null?void 0:ye.model)===1?`\u7B54\u6848\uFF08\u586B\u7A7A${ye.position}\uFF09\uFF1A${(we=ye==null?void 0:ye.answer_text)==null?void 0:we.join("\u3001")}`:e.createElement("div",{style:{display:"flex",alignItems:"center"}},e.createElement("span",{style:{minWidth:110}},"\u7B54\u6848\uFF08\u586B\u7A7A",ye.position,"\uFF09\uFF1A"),e.createElement(ae.Z,{value:(be=ye==null?void 0:ye.answer_text)==null?void 0:be.join("\u3001"),readOnly:!0})))}))},I=()=>{var Ie,ye,fe,we,be,Se;const G={SUBJECTIVE:(Ie=f.answer_texts)==null?void 0:Ie[0],JUDGMENT:(fe=(ye=f.choices)==null?void 0:ye.find(k=>k.is_answer))==null?void 0:fe.choice_text},ve=f.choices.map(k=>k.is_answer).findIndex(k=>k),J=ve>-1?ie[ve]:"";let Re="";f.choices.map((k,b)=>{k.is_answer&&(Re+=ie[b])});const Q=G[f.item_type];let pe=((we=f==null?void 0:f.program_attr)==null?void 0:we.code)||"";try{pe=d.Base64.decode(((be=f==null?void 0:f.program_attr)==null?void 0:be.code)||"")}catch(k){}const _={SINGLE:e.createElement(le.Z,null,e.createElement(p.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),e.createElement(p.Z,{flex:1},e.createElement(B.Z,{className:w.answerHtml,value:`\u7B54\u6848\uFF1A${J||"\u65E0"}`}))),MULTIPLE:e.createElement(le.Z,null,e.createElement(p.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),e.createElement(p.Z,{flex:1},e.createElement(B.Z,{className:w.answerHtml,value:`\u7B54\u6848\uFF1A${Re||"\u65E0"}`}))),COMPLETION:Y(),BPROGRAM:e.createElement("div",null,e.createElement(B.Z,{className:w.answerHtml,showProgramFill:!0,value:pe}),(Se=f.standard_answer)==null?void 0:Se.map((k,b)=>e.createElement("div",{key:b,className:w.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${k.position}\uFF09\uFF1A${k==null?void 0:k.answer_text}`)))},Ae=e.createElement(le.Z,null,e.createElement(p.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),e.createElement(p.Z,{flex:1},e.createElement(B.Z,{className:w.answerHtml,value:`${Q||"\u65E0"}`})));return _[f.item_type]||Ae},xe=Ie=>{let ye=[...x];Ie.target.checked?ye.push(f.id):ye=ye.filter(fe=>fe!==f.id),c(ye)};return e.createElement("div",{className:w.itemWrap},e.createElement("div",{className:w.list},z&&e.createElement(P.default,{className:"mr10",onChange:xe,checked:x.includes(f.id)}),e.createElement("div",{onClick:()=>h(!W),className:w.title},e.createElement(B.Z,{key:1,showLines:1,showTextOnly:!0,className:w.topicTitleContent,value:(f==null?void 0:f.item_type)==="BPROGRAM"?(F=f==null?void 0:f.program_attr)==null?void 0:F.description:f.name})),e.createElement("div",{onClick:()=>h(!W),className:w.tr},e.createElement("i",{style:{transform:W?"scale(0.5) rotate(-180deg)":"scale(0.5) rotate(0deg)"},className:"iconfont icon-zhankai4"}))),e.createElement("aside",{style:W?{display:"block"}:{display:"none"},className:w.itemDetail},e.createElement("div",{style:{marginBottom:44}},e.createElement(B.Z,{key:2,className:w.topicTitleContent,value:(f==null?void 0:f.item_type)==="BPROGRAM"?(H=f==null?void 0:f.program_attr)==null?void 0:H.description:f.name}),e.createElement("div",{className:`${w.row} mt15`},o()),e.createElement("div",{className:w.row},e.createElement("div",{className:w.updateTimeRow},e.createElement("div",{className:w.updateTimeWrap},f.item_type==="PROGRAM"&&e.createElement("p",{className:w.programLanguage},"\u7F16\u7A0B\u8BED\u8A00\uFF1A",(K=f==null?void 0:f.languages)==null?void 0:K.join("/")))))),f.item_type!=="COMBINATION"&&e.createElement("div",{className:w.answerWrapper},e.createElement("img",{src:ee,alt:"",className:w.decoration}),e.createElement("div",{className:w.answer},I()),e.createElement("div",{className:w.parse},e.createElement("div",{className:w.parseText},"\u89E3\u6790\uFF1A"),e.createElement("div",{className:w.parseAnswer},f.analysis?e.createElement(B.Z,{className:w.parseAnswerHtml,value:f.analysis}):"\u6682\u65E0\u89E3\u6790")),e.createElement("div",{className:w.parse},e.createElement("div",{className:w.parseText},"\u77E5\u8BC6\u70B9\uFF1A"),e.createElement(se.Z,{title:(f==null?void 0:f.tag_discipline)||"--"},e.createElement("div",{className:w.parseAnswer,style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(f==null?void 0:f.tag_discipline)||"--"))))))},v=({SubjectShare:f,isProblemset:x,data:c,user:z,page:F,activeTabsKey:H,onPublicReview:K=()=>{},onStartExperience:W=()=>{},onSetPrivate:h=()=>{},onCorrection:o=()=>{},onChangeTag:Y=()=>{},onCollect:I=()=>{},onSetPublic:xe=()=>{},onDelete:Ie=()=>{},onCancel:ye=()=>{},onSelect:fe=()=>{},onMoveTo:we=()=>{},addProblemset:be=()=>{},onSetShare:Se=()=>{},onCancelShare:G=()=>{},onPublish:ve=()=>{},onCancelPublish:J=()=>{},globalSetting:Re})=>{var Q,pe,_,Ae,k,b,N,R,g,U,y,n,r,$,A,m,C,E;const M=c.item_type==="PROGRAM"?`/problems/newedit/${(Q=c.program_attr)==null?void 0:Q.identifier}?tabs_key=${H}&page=${F}`:c.item_type==="BPROGRAM"?`/problemset/edit/${(pe=c.program_attr)==null?void 0:pe.identifier}?type=1&tabs_key=${H}&page=${F}`:`/problemset/edit/${c.id}?tabs_key=${H}&page=${F}`,a=H==="0"&&!c.public&&!c.apply&&(c.item_type==="PROGRAM"&&((_=c.program_attr)==null?void 0:_.status)!==0||c.item_type!=="PROGRAM"),i=[{label:React.createElement("a",{className:styles.actionLink,onClick:()=>{mediator.publish("model-change-problem",c)}},"\u4EE5\u9898\u6362\u9898"),key:"14",show:isModelUser()},{label:React.createElement("a",{className:styles.actionLink,onClick:()=>{var O;return J((O=c==null?void 0:c.program_attr)==null?void 0:O.identifier)}},"\u64A4\u9500\u53D1\u5E03"),key:"0",show:(H==="0"||H==="3")&&c.item_type==="PROGRAM"&&((Ae=c.program_attr)==null?void 0:Ae.status)!==0&&!c.public&&((k=c.author)==null?void 0:k.login)===((b=z.userInfo)==null?void 0:b.login)},{label:React.createElement("a",{className:styles.actionLink,onClick:()=>we(c.id)},"\u79FB\u52A8\u5230"),key:"1",show:H==="0"},{label:React.createElement("a",{className:styles.actionLink,onClick:()=>{c.is_share?G(c.id):Se(c.id)}},"\u5171\u4EAB"),key:"3",show:H==="0"&&f},{label:React.createElement("a",{className:styles.actionLink,onClick:()=>xe(c)},"\u516C\u5F00"),key:"4",show:a},{label:React.createElement("a",{className:styles.actionLink,onClick:()=>ne(void 0,null,function*(){const O=yield Fetch(`/api/item_banks/${c==null?void 0:c.id}/send_to_practice`,{method:"post",body:{ids:[c==null?void 0:c.id]}});(O==null?void 0:O.status)==0&&Modal.confirm({centered:!0,okText:"\u67E5\u770B\u5DF2\u53D1\u9001\u7684\u7F16\u7A0B\u9898",cancelText:"\u56DE\u5230\u8BD5\u9898\u5E93",title:"\u63D0\u793A",icon:null,content:"\u60A8\u5DF2\u7ECF\u6210\u529F\u5C06\u7F16\u7A0B\u9898\u53D1\u9001\u5230\u7F16\u7A0B\u5237\u9898\u4E2D\uFF0C\u53EF\u5728\u7F16\u7A0B\u5237\u9898-\u6211\u521B\u5EFA\u7684\u67E5\u770B",onOk:()=>ne(void 0,null,function*(){history.push("/problems?tab=mine")})})})},"\u53D1\u9001\u81F3\u7F16\u7A0B\u5237\u9898"),key:"16",show:(c==null?void 0:c.item_type)=="PROGRAM"&&!((N=Re==null?void 0:Re.setting)!=null&&N.main_site)&&!((R=Re==null?void 0:Re.setting)!=null&&R.is_local)&&((g=c.program_attr)==null?void 0:g.status)!==0&&!c.public},{label:React.createElement("a",{className:styles.reviewFlag,onClick:K},"\u516C\u5F00\u5BA1\u6838\u4E2D"),key:"5",show:H==="0"&&!c.public&&c.apply&&(c.item_type==="PROGRAM"&&c.program_attr.status!==0||c.item_type!=="PROGRAM")},{label:React.createElement("a",{className:styles.actionLink,onClick:()=>h(c.id)},"\u64A4\u9500\u516C\u5F00"),key:"6",show:(H==="0"||H==="1")&&c.public&&((U=c.author)==null?void 0:U.login)===((y=z.userInfo)==null?void 0:y.login)||H==="1"&&isCommonSuperAdminOrOperation()},{label:React.createElement("a",{className:styles.actionLink,onClick:()=>I(c.id,c.is_collected)},"\u53D6\u6D88\u6536\u85CF"),key:"7",show:H==="2"},{label:React.createElement("a",{className:styles.actionLink,onClick:()=>{var O;return ve((O=c==null?void 0:c.program_attr)==null?void 0:O.identifier)}},"\u53D1\u5E03"),key:"8",show:(H==="0"||H==="3")&&c.item_type==="PROGRAM"&&((n=c.program_attr)==null?void 0:n.status)===0&&!c.public&&((r=c.author)==null?void 0:r.login)===(($=z.userInfo)==null?void 0:$.login)},{label:React.createElement("a",{className:styles.actionLink,onClick:()=>I(c.id,c.is_collected)},c.is_collected?"\u53D6\u6D88\u6536\u85CF":"\u6536\u85CF"),key:"9",show:H==="1"&&!isCommonSuperAdminOrOperation()&&!isCommonStudent()&&((A=c.author)==null?void 0:A.login)!==((m=z.userInfo)==null?void 0:m.login)},{label:React.createElement("a",{className:styles.actionLink,onClick:()=>o(c.id)},"\u7EA0\u9519"),key:"10",show:H!=="0"&&!isCommonSuperAdminOrOperation()&&!isCommonStudent()},{label:React.createElement("a",{className:styles.actionLink,onClick:()=>Y(c)},"\u4FEE\u6539\u77E5\u8BC6\u70B9"),key:"15",show:H==="0"},{label:React.createElement("a",{className:styles.actionLink,onClick:()=>Ie(c.id)},"\u5220\u9664"),key:"11",show:H==="0"&&!c.public||H==="1"&&isCommonSuperAdminOrOperation()&&((C=c.author)==null?void 0:C.login)!==((E=z.userInfo)==null?void 0:E.login)},{label:React.createElement("a",{className:styles.actionLink,onClick:()=>be(c.id)},"\u52A0\u5165\u6211\u7684\u9898\u5E93"),key:"12",show:H==="1"||H==="3"}].filter(O=>O.show),ge=React.createElement(Menu,{forceSubMenuRender:!0,className:styles.menu,items:i}),V=React.createElement(Menu,{forceSubMenuRender:!0,className:styles.menu},React.createElement(Menu.Item,{key:"10"},React.createElement("a",{className:styles.actionLink,onClick:()=>o(c.id)},"\u7EA0\u9519"))),Z=H!=="0"&&!isCommonSuperAdminOrOperation()&&!isCommonStudent();return React.createElement(React.Fragment,null,x?React.createElement(React.Fragment,null,(H==="0"||H==="3"&&(c==null?void 0:c.edit_item_bank))&&!c.public&&React.createElement("span",{className:styles.textBtn,style:{cursor:"pointer"},onClick:()=>{openNewWindow(M);const O=document.getElementById(c.id),u=window.pageYOffset||document.documentElement.scrollTop;localStorage.setItem("problemsetid",O.getBoundingClientRect().top+u+"")}},React.createElement("div",{className:styles.line},React.createElement("b",{className:styles.b1}),React.createElement("b",{className:styles.b2})),React.createElement("i",{className:"iconfont icon-bianji10 font14 mr5"}),"\u7F16\u8F91"),React.createElement("span",{className:styles.textBtn,style:{cursor:"pointer"},onClick:()=>W(c)},React.createElement("div",{className:styles.line},React.createElement("b",{className:styles.b1}),React.createElement("b",{className:styles.b2})),React.createElement("i",{className:"iconfont icon-tiyan font14 mr5"}),"\u4F53\u9A8C",React.createElement("div",{className:styles.line},React.createElement("b",{className:styles.b1}),React.createElement("b",{className:styles.b2}))),i.length>0&&React.createElement(Dropdown,{dropdownRender:()=>ge},React.createElement("span",{style:{cursor:"default",width:"105px"},onClick:O=>O.preventDefault()},React.createElement("span",{className:styles.textBtn},React.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",React.createElement("div",{className:styles.line},React.createElement("b",{className:styles.b1}),React.createElement("b",{className:styles.b2})))))):Z?React.createElement(Dropdown,{className:"ml40",dropdownRender:()=>V},React.createElement("span",{style:{cursor:"default",width:"105px"},onClick:O=>O.preventDefault()},React.createElement("span",{className:styles.textBtn},React.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",React.createElement("div",{className:styles.line},React.createElement("b",{className:styles.b1}),React.createElement("b",{className:styles.b2}))))):React.createElement("span",null))};var s=Ce},5932:function(rt,Oe,t){"use strict";t.d(Oe,{A:function(){return e}});var e=(B=>(B.Mine="0",B.Public="1",B.Collection="2",B.TeachGroupShare="3",B.RecycleBin="4",B))(e||{})},20047:function(rt,Oe,t){"use strict";t.d(Oe,{AL:function(){return v},Iy:function(){return ee},Qv:function(){return de},ez:function(){return Ce},jb:function(){return d}});var e=t(32834),B=t.n(e),S=t(11690),se=t.n(S);let le=1;function p(z,F){const H=z.match(/^(\s+)(?:```)/);if(H===null)return F;const K=H[1];return F.split(`
|
|
`).map(W=>{const h=W.match(/^\s+/);if(h===null)return W;const[o]=h;return o.length>=K.length?W.slice(K.length):W}).join(`
|
|
`)}let P=[],w=["<ul>"];const ce=new(B()).Renderer,l=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function ee(){P.length=0,w=["<ul>"]}const d={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function ae(z,F,H,K){if(F>=z.length||z[F].level<=H)return F;var W=z[F];K.push("<li><a href='#"+le+W.anchor+"'>"+W.text+"</a>"),F++;var h=[];return F=ae(z,F,W.level,h),h.length>0&&(K.push("<ul>"),h.forEach(function(o){K.push(o)}),K.push("</ul>")),K.push("</li>"),F=ae(z,F,H,K),F}function de(){return ae(P,0,0,w),w.push("</ul>"),w.join("")}const he={heading(z){const F=l.exec(z);if(le+=1,F)return{type:"heading",raw:F[0],depth:F[1].length,text:F[2]}},fences(z){const F=this.rules.block.fences.exec(z);if(F){const H=F[0];let K=p(H,F[3]||"");const W=F[2]?F[2].trim():F[2];if(["latex","katex","math"].indexOf(W)>=0){const h=q(),o=K;K=h,ie[h]={type:"block",expression:o}}return{type:"code",raw:H,lang:W,text:K}}}},X=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let ne=0;const q=()=>`__special_katext_id_${ne++}__`;let ie={};function Ce(){return ie}function v(){ne=0,ie={}}function s(z){return z=z.replace(X,(F,H)=>{const K=q();return ie[K]={type:"inline",expression:H},K}),z}const f=ce.listitem;ce.listitem=function(z){return f(s(z))};const x=ce.paragraph;ce.paragraph=function(z){return x(s(z))};const c=ce.tablecell;ce.tablecell=function(z,F){return c(s(z),F)},ce.code=function(z,F,H){const K=(F||"").match(/\S*/)[0];return K?["latex","katex","math"].indexOf(K)>=0?`<p class='editormd-tex'>${z}</p>`:`<pre class="prettyprint linenums"><code class="language-${F}">${H?z:(0,S.escape)(z,!0)}</code></pre>
|
|
`:'<pre class="prettyprint linenums"><code>'+(H?z:(0,S.escape)(z,!0))+"</code></pre>"},ce.heading=function(z,F,H){let K=this.options.headerPrefix+H.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return P.push({anchor:K,level:F,text:z}),"<h"+F+' id="'+le+K+'">'+z+"</h"+F+">"},B().setOptions({silent:!0,gfm:!0,pedantic:!1}),B().use({tokenizer:he,renderer:ce}),Oe.ZP=B()},86013:function(rt,Oe,t){"use strict";var e=t(59301),B=t(19248);const S=se=>{let le;return typeof se=="object"&&(se!=null&&se.clearIcon)?le=se:se&&(le={clearIcon:e.createElement(B.Z,null)}),le};Oe.Z=S},54500:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return e}});const e=B=>B?typeof B=="function"?B():B:null},62673:function(rt,Oe,t){"use strict";t.d(Oe,{default:function(){return z}});var e=t(59301),B=t(92310),S=t.n(B),se=t(16632),le=t(8654),p=t(12919),P=t(63872),w=t(48755),ce=t(2171),l=t(83397),ee=t(56553),ae=e.createContext(null),de=t(36170),he=t(74632),X=function(F,H){var K={};for(var W in F)Object.prototype.hasOwnProperty.call(F,W)&&H.indexOf(W)<0&&(K[W]=F[W]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,W=Object.getOwnPropertySymbols(F);h<W.length;h++)H.indexOf(W[h])<0&&Object.prototype.propertyIsEnumerable.call(F,W[h])&&(K[W[h]]=F[W[h]]);return K};const ne=(F,H)=>{var K;const{prefixCls:W,className:h,rootClassName:o,children:Y,indeterminate:I=!1,style:xe,onMouseEnter:Ie,onMouseLeave:ye,skipGroup:fe=!1,disabled:we}=F,be=X(F,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Se,direction:G,checkbox:ve}=e.useContext(w.E_),J=e.useContext(ae),{isFormItemInput:Re}=e.useContext(ee.aM),Q=e.useContext(ce.Z),pe=(K=(J==null?void 0:J.disabled)||we)!==null&&K!==void 0?K:Q,_=e.useRef(be.value),Ae=e.useRef(null),k=(0,le.sQ)(H,Ae);e.useEffect(()=>{J==null||J.registerValue(be.value)},[]),e.useEffect(()=>{if(!fe)return be.value!==_.current&&(J==null||J.cancelValue(_.current),J==null||J.registerValue(be.value),_.current=be.value),()=>J==null?void 0:J.cancelValue(be.value)},[be.value]),e.useEffect(()=>{var m;!((m=Ae.current)===null||m===void 0)&&m.input&&(Ae.current.input.indeterminate=I)},[I]);const b=Se("checkbox",W),N=(0,l.Z)(b),[R,g,U]=(0,de.ZP)(b,N),y=Object.assign({},be);J&&!fe&&(y.onChange=function(){be.onChange&&be.onChange.apply(be,arguments),J.toggleOption&&J.toggleOption({label:Y,value:be.value})},y.name=J.name,y.checked=J.value.includes(be.value));const n=S()(`${b}-wrapper`,{[`${b}-rtl`]:G==="rtl",[`${b}-wrapper-checked`]:y.checked,[`${b}-wrapper-disabled`]:pe,[`${b}-wrapper-in-form-item`]:Re},ve==null?void 0:ve.className,h,o,U,N,g),r=S()({[`${b}-indeterminate`]:I},P.A,g),[$,A]=(0,he.Z)(y.onClick);return R(e.createElement(p.Z,{component:"Checkbox",disabled:pe},e.createElement("label",{className:n,style:Object.assign(Object.assign({},ve==null?void 0:ve.style),xe),onMouseEnter:Ie,onMouseLeave:ye,onClick:$},e.createElement(se.Z,Object.assign({},y,{onClick:A,prefixCls:b,className:r,disabled:pe,ref:k})),Y!==void 0&&e.createElement("span",{className:`${b}-label`},Y))))};var ie=e.forwardRef(ne),Ce=t(77654),v=t(2738),s=function(F,H){var K={};for(var W in F)Object.prototype.hasOwnProperty.call(F,W)&&H.indexOf(W)<0&&(K[W]=F[W]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,W=Object.getOwnPropertySymbols(F);h<W.length;h++)H.indexOf(W[h])<0&&Object.prototype.propertyIsEnumerable.call(F,W[h])&&(K[W[h]]=F[W[h]]);return K},x=e.forwardRef((F,H)=>{const{defaultValue:K,children:W,options:h=[],prefixCls:o,className:Y,rootClassName:I,style:xe,onChange:Ie}=F,ye=s(F,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:fe,direction:we}=e.useContext(w.E_),[be,Se]=e.useState(ye.value||K||[]),[G,ve]=e.useState([]);e.useEffect(()=>{"value"in ye&&Se(ye.value||[])},[ye.value]);const J=e.useMemo(()=>h.map(r=>typeof r=="string"||typeof r=="number"?{label:r,value:r}:r),[h]),Re=r=>{ve($=>$.filter(A=>A!==r))},Q=r=>{ve($=>[].concat((0,Ce.Z)($),[r]))},pe=r=>{const $=be.indexOf(r.value),A=(0,Ce.Z)(be);$===-1?A.push(r.value):A.splice($,1),"value"in ye||Se(A),Ie==null||Ie(A.filter(m=>G.includes(m)).sort((m,C)=>{const E=J.findIndex(a=>a.value===m),M=J.findIndex(a=>a.value===C);return E-M}))},_=fe("checkbox",o),Ae=`${_}-group`,k=(0,l.Z)(_),[b,N,R]=(0,de.ZP)(_,k),g=(0,v.Z)(ye,["value","disabled"]),U=h.length?J.map(r=>e.createElement(ie,{prefixCls:_,key:r.value.toString(),disabled:"disabled"in r?r.disabled:ye.disabled,value:r.value,checked:be.includes(r.value),onChange:r.onChange,className:`${Ae}-item`,style:r.style,title:r.title,id:r.id,required:r.required},r.label)):W,y={toggleOption:pe,value:be,disabled:ye.disabled,name:ye.name,registerValue:Q,cancelValue:Re},n=S()(Ae,{[`${Ae}-rtl`]:we==="rtl"},Y,I,R,k,N);return b(e.createElement("div",Object.assign({className:n,style:xe},g,{ref:H}),e.createElement(ae.Provider,{value:y},U)))});const c=ie;c.Group=x,c.__ANT_CHECKBOX=!0;var z=c},36170:function(rt,Oe,t){"use strict";t.d(Oe,{C2:function(){return p}});var e=t(36237),B=t(63356),S=t(51636),se=t(16931);const le=P=>{const{checkboxCls:w}=P,ce=`${w}-wrapper`;return[{[`${w}-group`]:Object.assign(Object.assign({},(0,B.Wf)(P)),{display:"inline-flex",flexWrap:"wrap",columnGap:P.marginXS,[`> ${P.antCls}-row`]:{flex:1}}),[ce]:Object.assign(Object.assign({},(0,B.Wf)(P)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ce}`]:{marginInlineStart:0},[`&${ce}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[w]:Object.assign(Object.assign({},(0,B.Wf)(P)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:P.borderRadiusSM,alignSelf:"center",[`${w}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${w}-inner`]:Object.assign({},(0,B.oN)(P))},[`${w}-inner`]:{boxSizing:"border-box",display:"block",width:P.checkboxSize,height:P.checkboxSize,direction:"ltr",backgroundColor:P.colorBgContainer,border:`${(0,e.unit)(P.lineWidth)} ${P.lineType} ${P.colorBorder}`,borderRadius:P.borderRadiusSM,borderCollapse:"separate",transition:`all ${P.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:P.calc(P.checkboxSize).div(14).mul(5).equal(),height:P.calc(P.checkboxSize).div(14).mul(8).equal(),border:`${(0,e.unit)(P.lineWidthBold)} solid ${P.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${P.motionDurationFast} ${P.motionEaseInBack}, opacity ${P.motionDurationFast}`}},"& + span":{paddingInlineStart:P.paddingXS,paddingInlineEnd:P.paddingXS}})},{[`
|
|
${ce}:not(${ce}-disabled),
|
|
${w}:not(${w}-disabled)
|
|
`]:{[`&:hover ${w}-inner`]:{borderColor:P.colorPrimary}},[`${ce}:not(${ce}-disabled)`]:{[`&:hover ${w}-checked:not(${w}-disabled) ${w}-inner`]:{backgroundColor:P.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${w}-checked:not(${w}-disabled):after`]:{borderColor:P.colorPrimaryHover}}},{[`${w}-checked`]:{[`${w}-inner`]:{backgroundColor:P.colorPrimary,borderColor:P.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${P.motionDurationMid} ${P.motionEaseOutBack} ${P.motionDurationFast}`}}},[`
|
|
${ce}-checked:not(${ce}-disabled),
|
|
${w}-checked:not(${w}-disabled)
|
|
`]:{[`&:hover ${w}-inner`]:{backgroundColor:P.colorPrimaryHover,borderColor:"transparent"}}},{[w]:{"&-indeterminate":{[`${w}-inner`]:{backgroundColor:`${P.colorBgContainer} !important`,borderColor:`${P.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:P.calc(P.fontSizeLG).div(2).equal(),height:P.calc(P.fontSizeLG).div(2).equal(),backgroundColor:P.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${w}-inner`]:{backgroundColor:`${P.colorBgContainer} !important`,borderColor:`${P.colorPrimary} !important`}}}},{[`${ce}-disabled`]:{cursor:"not-allowed"},[`${w}-disabled`]:{[`&, ${w}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${w}-inner`]:{background:P.colorBgContainerDisabled,borderColor:P.colorBorder,"&:after":{borderColor:P.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:P.colorTextDisabled},[`&${w}-indeterminate ${w}-inner::after`]:{background:P.colorTextDisabled}}}]};function p(P,w){const ce=(0,S.mergeToken)(w,{checkboxCls:`.${P}`,checkboxSize:w.controlInteractiveSize});return[le(ce)]}Oe.ZP=(0,se.I$)("Checkbox",(P,w)=>{let{prefixCls:ce}=w;return[p(ce,P)]})},38406:function(rt,Oe,t){"use strict";var e=t(59301),B=t(48755),S=t(584);const se=le=>{const{componentName:p}=le,{getPrefixCls:P}=(0,e.useContext)(B.E_),w=P("empty");switch(p){case"Table":case"List":return e.createElement(S.Z,{image:S.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return e.createElement(S.Z,{image:S.Z.PRESENTED_IMAGE_SIMPLE,className:`${w}-small`});case"Table.filter":return null;default:return e.createElement(S.Z,null)}};Oe.Z=se},19563:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return Se}});var e=t(59301),B=t(33853),S=t(38819),se=t(92310),le=t.n(se),p=t(96478),P=t(6089),w=t(18929),ce=t(2738),l=t(75030),d=G=>typeof G!="object"&&typeof G!="function"||G===null,ae=t(52838),de=t(45915),he=t(22703),X=t(32383),ne=t(55743),q=t(48755),ie=t(83397),Ce=t(93041),v=t(78857),s=t(57700),f=t(36237),x=t(63356),c=t(46e3),z=t(93873),F=t(34925),H=t(37645),K=t(36305),W=t(16931),h=t(51636),Y=G=>{const{componentCls:ve,menuCls:J,colorError:Re,colorTextLightSolid:Q}=G,pe=`${J}-item`;return{[`${ve}, ${ve}-menu-submenu`]:{[`${J} ${pe}`]:{[`&${pe}-danger:not(${pe}-disabled)`]:{color:Re,"&:hover":{color:Q,backgroundColor:Re}}}}}};const I=G=>{const{componentCls:ve,menuCls:J,zIndexPopup:Re,dropdownArrowDistance:Q,sizePopupArrow:pe,antCls:_,iconCls:Ae,motionDurationMid:k,paddingBlock:b,fontSize:N,dropdownEdgeChildPadding:R,colorTextDisabled:g,fontSizeIcon:U,controlPaddingHorizontal:y,colorBgElevated:n}=G;return[{[ve]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Re,display:"block","&::before":{position:"absolute",insetBlock:G.calc(pe).div(2).sub(Q).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${_}-btn`]:{[`& > ${Ae}-down, & > ${_}-btn-icon > ${Ae}-down`]:{fontSize:U}},[`${ve}-wrap`]:{position:"relative",[`${_}-btn > ${Ae}-down`]:{fontSize:U},[`${Ae}-down::before`]:{transition:`transform ${k}`}},[`${ve}-wrap-open`]:{[`${Ae}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${_}-slide-down-enter${_}-slide-down-enter-active${ve}-placement-bottomLeft,
|
|
&${_}-slide-down-appear${_}-slide-down-appear-active${ve}-placement-bottomLeft,
|
|
&${_}-slide-down-enter${_}-slide-down-enter-active${ve}-placement-bottom,
|
|
&${_}-slide-down-appear${_}-slide-down-appear-active${ve}-placement-bottom,
|
|
&${_}-slide-down-enter${_}-slide-down-enter-active${ve}-placement-bottomRight,
|
|
&${_}-slide-down-appear${_}-slide-down-appear-active${ve}-placement-bottomRight`]:{animationName:c.fJ},[`&${_}-slide-up-enter${_}-slide-up-enter-active${ve}-placement-topLeft,
|
|
&${_}-slide-up-appear${_}-slide-up-appear-active${ve}-placement-topLeft,
|
|
&${_}-slide-up-enter${_}-slide-up-enter-active${ve}-placement-top,
|
|
&${_}-slide-up-appear${_}-slide-up-appear-active${ve}-placement-top,
|
|
&${_}-slide-up-enter${_}-slide-up-enter-active${ve}-placement-topRight,
|
|
&${_}-slide-up-appear${_}-slide-up-appear-active${ve}-placement-topRight`]:{animationName:c.Qt},[`&${_}-slide-down-leave${_}-slide-down-leave-active${ve}-placement-bottomLeft,
|
|
&${_}-slide-down-leave${_}-slide-down-leave-active${ve}-placement-bottom,
|
|
&${_}-slide-down-leave${_}-slide-down-leave-active${ve}-placement-bottomRight`]:{animationName:c.Uw},[`&${_}-slide-up-leave${_}-slide-up-leave-active${ve}-placement-topLeft,
|
|
&${_}-slide-up-leave${_}-slide-up-leave-active${ve}-placement-top,
|
|
&${_}-slide-up-leave${_}-slide-up-leave-active${ve}-placement-topRight`]:{animationName:c.ly}}},(0,H.ZP)(G,n,{arrowPlacement:{top:!0,bottom:!0}}),{[`${ve} ${J}`]:{position:"relative",margin:0},[`${J}-submenu-popup`]:{position:"absolute",zIndex:Re,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ve}, ${ve}-menu-submenu`]:Object.assign(Object.assign({},(0,x.Wf)(G)),{[J]:Object.assign(Object.assign({padding:R,listStyleType:"none",backgroundColor:n,backgroundClip:"padding-box",borderRadius:G.borderRadiusLG,outline:"none",boxShadow:G.boxShadowSecondary},(0,x.Qy)(G)),{"&:empty":{padding:0,boxShadow:"none"},[`${J}-item-group-title`]:{padding:`${(0,f.unit)(b)} ${(0,f.unit)(y)}`,color:G.colorTextDescription,transition:`all ${k}`},[`${J}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${J}-item-icon`]:{minWidth:N,marginInlineEnd:G.marginXS,fontSize:G.fontSizeSM},[`${J}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${k}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${J}-item-extra`]:{paddingInlineStart:G.padding,marginInlineStart:"auto",fontSize:G.fontSizeSM,color:G.colorTextDescription}},[`${J}-item, ${J}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,f.unit)(b)} ${(0,f.unit)(y)}`,color:G.colorText,fontWeight:"normal",fontSize:N,lineHeight:G.lineHeight,cursor:"pointer",transition:`all ${k}`,borderRadius:G.borderRadiusSM,"&:hover, &-active":{backgroundColor:G.controlItemBgHover}},(0,x.Qy)(G)),{"&-selected":{color:G.colorPrimary,backgroundColor:G.controlItemBgActive,"&:hover, &-active":{backgroundColor:G.controlItemBgActiveHover}},"&-disabled":{color:g,cursor:"not-allowed","&:hover":{color:g,backgroundColor:n,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,f.unit)(G.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:G.colorSplit},[`${ve}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:G.paddingXS,[`${ve}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:G.colorTextDescription,fontSize:U,fontStyle:"normal"}}}),[`${J}-item-group-list`]:{margin:`0 ${(0,f.unit)(G.marginXS)}`,padding:0,listStyle:"none"},[`${J}-submenu-title`]:{paddingInlineEnd:G.calc(y).add(G.fontSizeSM).equal()},[`${J}-submenu-vertical`]:{position:"relative"},[`${J}-submenu${J}-submenu-disabled ${ve}-menu-submenu-title`]:{[`&, ${ve}-menu-submenu-arrow-icon`]:{color:g,backgroundColor:n,cursor:"not-allowed"}},[`${J}-submenu-selected ${ve}-menu-submenu-title`]:{color:G.colorPrimary}})})},[(0,c.oN)(G,"slide-up"),(0,c.oN)(G,"slide-down"),(0,z.Fm)(G,"move-up"),(0,z.Fm)(G,"move-down"),(0,F._y)(G,"zoom-big")]]},xe=G=>Object.assign(Object.assign({zIndexPopup:G.zIndexPopupBase+50,paddingBlock:(G.controlHeight-G.fontSize*G.lineHeight)/2},(0,H.wZ)({contentRadius:G.borderRadiusLG,limitVerticalRadius:!0})),(0,K.w)(G));var Ie=(0,W.I$)("Dropdown",G=>{const{marginXXS:ve,sizePopupArrow:J,paddingXXS:Re,componentCls:Q}=G,pe=(0,h.mergeToken)(G,{menuCls:`${Q}-menu`,dropdownArrowDistance:G.calc(J).div(2).add(ve).equal(),dropdownEdgeChildPadding:Re});return[I(pe),Y(pe)]},xe,{resetStyle:!1});const ye=null,fe=G=>{var ve;const{menu:J,arrow:Re,prefixCls:Q,children:pe,trigger:_,disabled:Ae,dropdownRender:k,getPopupContainer:b,overlayClassName:N,rootClassName:R,overlayStyle:g,open:U,onOpenChange:y,visible:n,onVisibleChange:r,mouseEnterDelay:$=.15,mouseLeaveDelay:A=.1,autoAdjustOverflow:m=!0,placement:C="",overlay:E,transitionName:M}=G,{getPopupContainer:a,getPrefixCls:i,direction:ge,dropdown:V}=e.useContext(q.E_),Z=(0,X.ln)("Dropdown"),O=e.useMemo(()=>{const Ye=i();return M!==void 0?M:C.includes("top")?`${Ye}-slide-down`:`${Ye}-slide-up`},[i,C,M]),u=e.useMemo(()=>C?C.includes("Center")?C.slice(0,C.indexOf("Center")):C:ge==="rtl"?"bottomRight":"bottomLeft",[C,ge]),T=i("dropdown",Q),j=(0,ie.Z)(T),[oe,Ee,ue]=Ie(T,j),[,me]=(0,s.ZP)(),re=e.Children.only(d(pe)?e.createElement("span",null,pe):pe),je=(0,he.Tm)(re,{className:le()(`${T}-trigger`,{[`${T}-rtl`]:ge==="rtl"},re.props.className),disabled:(ve=re.props.disabled)!==null&&ve!==void 0?ve:Ae}),_e=Ae?[]:_,Ke=!!(_e!=null&&_e.includes("contextMenu")),[nt,it]=(0,w.Z)(!1,{value:U!=null?U:n}),ut=(0,P.Z)(Ye=>{y==null||y(Ye,{source:"trigger"}),r==null||r(Ye),it(Ye)}),dt=le()(N,R,Ee,ue,j,V==null?void 0:V.className,{[`${T}-rtl`]:ge==="rtl"}),Be=(0,ae.Z)({arrowPointAtCenter:typeof Re=="object"&&Re.pointAtCenter,autoAdjustOverflow:m,offset:me.marginXXS,arrowWidth:Re?me.sizePopupArrow:0,borderRadius:me.borderRadius}),te=e.useCallback(()=>{J!=null&&J.selectable&&(J!=null&&J.multiple)||(y==null||y(!1,{source:"menu"}),it(!1))},[J==null?void 0:J.selectable,J==null?void 0:J.multiple]),ze=()=>{let Ye;return J!=null&&J.items?Ye=e.createElement(Ce.default,Object.assign({},J)):typeof E=="function"?Ye=E():Ye=E,k&&(Ye=k(Ye)),Ye=e.Children.only(typeof Ye=="string"?e.createElement("span",null,Ye):Ye),e.createElement(v.J,{prefixCls:`${T}-menu`,rootClassName:le()(ue,j),expandIcon:e.createElement("span",{className:`${T}-menu-submenu-arrow`},ge==="rtl"?e.createElement(B.Z,{className:`${T}-menu-submenu-arrow-icon`}):e.createElement(S.Z,{className:`${T}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:te,validator:ot=>{let{mode:Ue}=ot}},Ye)},[$e,Je]=(0,l.Cn)("Dropdown",g==null?void 0:g.zIndex);let He=e.createElement(p.Z,Object.assign({alignPoint:Ke},(0,ce.Z)(G,["rootClassName"]),{mouseEnterDelay:$,mouseLeaveDelay:A,visible:nt,builtinPlacements:Be,arrow:!!Re,overlayClassName:dt,prefixCls:T,getPopupContainer:b||a,transitionName:O,trigger:_e,overlay:ze,placement:u,onVisibleChange:ut,overlayStyle:Object.assign(Object.assign(Object.assign({},V==null?void 0:V.style),g),{zIndex:$e})}),je);return $e&&(He=e.createElement(ne.Z.Provider,{value:Je},He)),oe(He)},we=(0,de.Z)(fe,"align",void 0,"dropdown",G=>G),be=G=>e.createElement(we,Object.assign({},G),e.createElement("span",null));fe._InternalPanelDoNotUseOrYouWillBeFired=be;var Se=fe},75727:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return de}});var e=t(19563),B=t(59301),S=t(18785),se=t(92310),le=t.n(se),p=t(7939),P=t(48755),w=t(44104),ce=t(70045),l=function(he,X){var ne={};for(var q in he)Object.prototype.hasOwnProperty.call(he,q)&&X.indexOf(q)<0&&(ne[q]=he[q]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,q=Object.getOwnPropertySymbols(he);ie<q.length;ie++)X.indexOf(q[ie])<0&&Object.prototype.propertyIsEnumerable.call(he,q[ie])&&(ne[q[ie]]=he[q[ie]]);return ne};const ee=he=>{const{getPopupContainer:X,getPrefixCls:ne,direction:q}=B.useContext(P.E_),{prefixCls:ie,type:Ce="default",danger:v,disabled:s,loading:f,onClick:x,htmlType:c,children:z,className:F,menu:H,arrow:K,autoFocus:W,overlay:h,trigger:o,align:Y,open:I,onOpenChange:xe,placement:Ie,getPopupContainer:ye,href:fe,icon:we=B.createElement(S.Z,null),title:be,buttonsRender:Se=$=>$,mouseEnterDelay:G,mouseLeaveDelay:ve,overlayClassName:J,overlayStyle:Re,destroyPopupOnHide:Q,dropdownRender:pe}=he,_=l(he,["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"]),Ae=ne("dropdown",ie),k=`${Ae}-button`,b={menu:H,arrow:K,autoFocus:W,align:Y,disabled:s,trigger:s?[]:o,onOpenChange:xe,getPopupContainer:ye||X,mouseEnterDelay:G,mouseLeaveDelay:ve,overlayClassName:J,overlayStyle:Re,destroyPopupOnHide:Q,dropdownRender:pe},{compactSize:N,compactItemClassnames:R}=(0,ce.ri)(Ae,q),g=le()(k,R,F);"overlay"in he&&(b.overlay=h),"open"in he&&(b.open=I),"placement"in he?b.placement=Ie:b.placement=q==="rtl"?"bottomLeft":"bottomRight";const U=B.createElement(p.ZP,{type:Ce,danger:v,disabled:s,loading:f,onClick:x,htmlType:c,href:fe,title:be},z),y=B.createElement(p.ZP,{type:Ce,danger:v,icon:we}),[n,r]=Se([U,y]);return B.createElement(w.Z.Compact,Object.assign({className:g,size:N,block:!0},_),n,B.createElement(e.Z,Object.assign({},b),r))};ee.__ANT_BUTTON=!0;var d=ee;const ae=e.Z;ae.Button=d;var de=ae},584:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return Ce}});var e=t(59301),B=t(92310),S=t.n(B),se=t(9017),le=t(17835),p=t(57700),w=()=>{const[,v]=(0,p.ZP)(),[s]=(0,se.Z)("Empty"),x=new le.FastColor(v.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return e.createElement("svg",{style:x,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(s==null?void 0:s.description)||"Empty"),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(24 31.67)"},e.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),e.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),e.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),e.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),e.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),e.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),e.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},e.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),e.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},l=()=>{const[,v]=(0,p.ZP)(),[s]=(0,se.Z)("Empty"),{colorFill:f,colorFillTertiary:x,colorFillQuaternary:c,colorBgContainer:z}=v,{borderColor:F,shadowColor:H,contentColor:K}=(0,e.useMemo)(()=>({borderColor:new le.FastColor(f).onBackground(z).toHexString(),shadowColor:new le.FastColor(x).onBackground(z).toHexString(),contentColor:new le.FastColor(c).onBackground(z).toHexString()}),[f,x,c,z]);return e.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(s==null?void 0:s.description)||"Empty"),e.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},e.createElement("ellipse",{fill:H,cx:"32",cy:"33",rx:"32",ry:"7"}),e.createElement("g",{fillRule:"nonzero",stroke:F},e.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),e.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:K}))))},ee=t(16931),d=t(51636);const ae=v=>{const{componentCls:s,margin:f,marginXS:x,marginXL:c,fontSize:z,lineHeight:F}=v;return{[s]:{marginInline:x,fontSize:z,lineHeight:F,textAlign:"center",[`${s}-image`]:{height:v.emptyImgHeight,marginBottom:x,opacity:v.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${s}-description`]:{color:v.colorTextDescription},[`${s}-footer`]:{marginTop:f},"&-normal":{marginBlock:c,color:v.colorTextDescription,[`${s}-description`]:{color:v.colorTextDescription},[`${s}-image`]:{height:v.emptyImgHeightMD}},"&-small":{marginBlock:x,color:v.colorTextDescription,[`${s}-image`]:{height:v.emptyImgHeightSM}}}}};var de=(0,ee.I$)("Empty",v=>{const{componentCls:s,controlHeightLG:f,calc:x}=v,c=(0,d.mergeToken)(v,{emptyImgCls:`${s}-img`,emptyImgHeight:x(f).mul(2.5).equal(),emptyImgHeightMD:f,emptyImgHeightSM:x(f).mul(.875).equal()});return[ae(c)]}),he=t(48755),X=function(v,s){var f={};for(var x in v)Object.prototype.hasOwnProperty.call(v,x)&&s.indexOf(x)<0&&(f[x]=v[x]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,x=Object.getOwnPropertySymbols(v);c<x.length;c++)s.indexOf(x[c])<0&&Object.prototype.propertyIsEnumerable.call(v,x[c])&&(f[x[c]]=v[x[c]]);return f};const ne=e.createElement(w,null),q=e.createElement(l,null),ie=v=>{const{className:s,rootClassName:f,prefixCls:x,image:c=ne,description:z,children:F,imageStyle:H,style:K,classNames:W,styles:h}=v,o=X(v,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Y,direction:I,className:xe,style:Ie,classNames:ye,styles:fe}=(0,he.dj)("empty"),we=Y("empty",x),[be,Se,G]=de(we),[ve]=(0,se.Z)("Empty"),J=typeof z!="undefined"?z:ve==null?void 0:ve.description,Re=typeof J=="string"?J:"empty";let Q=null;return typeof c=="string"?Q=e.createElement("img",{alt:Re,src:c}):Q=c,be(e.createElement("div",Object.assign({className:S()(Se,G,we,xe,{[`${we}-normal`]:c===q,[`${we}-rtl`]:I==="rtl"},s,f,ye.root,W==null?void 0:W.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},fe.root),Ie),h==null?void 0:h.root),K)},o),e.createElement("div",{className:S()(`${we}-image`,ye.image,W==null?void 0:W.image),style:Object.assign(Object.assign(Object.assign({},H),fe.image),h==null?void 0:h.image)},Q),J&&e.createElement("div",{className:S()(`${we}-description`,ye.description,W==null?void 0:W.description),style:Object.assign(Object.assign({},fe.description),h==null?void 0:h.description)},J),F&&e.createElement("div",{className:S()(`${we}-footer`,ye.footer,W==null?void 0:W.footer),style:Object.assign(Object.assign({},fe.footer),h==null?void 0:h.footer)},F)))};ie.PRESENTED_IMAGE_DEFAULT=ne,ie.PRESENTED_IMAGE_SIMPLE=q;var Ce=ie},49397:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return v}});var e=t(59301),B=t(92310),S=t.n(B),se=t(36901),le=t(8654),p=t(62487),P=t(86013),w=t(82855),ce=t(48755),l=t(2171),ee=t(83397),d=t(31756),ae=t(56553),de=t(24971),he=t(70045),X=t(23826),ne=t(53075);function q(s){return!!(s.prefix||s.suffix||s.allowClear||s.showCount)}var ie=function(s,f){var x={};for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&f.indexOf(c)<0&&(x[c]=s[c]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,c=Object.getOwnPropertySymbols(s);z<c.length;z++)f.indexOf(c[z])<0&&Object.prototype.propertyIsEnumerable.call(s,c[z])&&(x[c[z]]=s[c[z]]);return x},v=(0,e.forwardRef)((s,f)=>{const{prefixCls:x,bordered:c=!0,status:z,size:F,disabled:H,onBlur:K,onFocus:W,suffix:h,allowClear:o,addonAfter:Y,addonBefore:I,className:xe,style:Ie,styles:ye,rootClassName:fe,onChange:we,classNames:be,variant:Se}=s,G=ie(s,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:ve,direction:J,allowClear:Re,autoComplete:Q,className:pe,style:_,classNames:Ae,styles:k}=(0,ce.dj)("input"),b=ve("input",x),N=(0,e.useRef)(null),R=(0,ee.Z)(b),[g,U,y]=(0,ne.TI)(b,fe),[n]=(0,ne.ZP)(b,R),{compactSize:r,compactItemClassnames:$}=(0,he.ri)(b,J),A=(0,d.Z)(me=>{var re;return(re=F!=null?F:r)!==null&&re!==void 0?re:me}),m=e.useContext(l.Z),C=H!=null?H:m,{status:E,hasFeedback:M,feedbackIcon:a}=(0,e.useContext)(ae.aM),i=(0,w.F)(E,z),ge=q(s)||!!M,V=(0,e.useRef)(ge),Z=(0,X.Z)(N,!0),O=me=>{Z(),K==null||K(me)},u=me=>{Z(),W==null||W(me)},T=me=>{Z(),we==null||we(me)},j=(M||h)&&e.createElement(e.Fragment,null,h,M&&a),oe=(0,P.Z)(o!=null?o:Re),[Ee,ue]=(0,de.Z)("input",Se,c);return g(n(e.createElement(se.default,Object.assign({ref:(0,le.sQ)(f,N),prefixCls:b,autoComplete:Q},G,{disabled:C,onBlur:O,onFocus:u,style:Object.assign(Object.assign({},_),Ie),styles:Object.assign(Object.assign({},k),ye),suffix:j,allowClear:oe,className:S()(xe,fe,y,R,$,pe),onChange:T,addonBefore:I&&e.createElement(p.Z,{form:!0,space:!0},I),addonAfter:Y&&e.createElement(p.Z,{form:!0,space:!0},Y),classNames:Object.assign(Object.assign(Object.assign({},be),Ae),{input:S()({[`${b}-sm`]:A==="small",[`${b}-lg`]:A==="large",[`${b}-rtl`]:J==="rtl"},be==null?void 0:be.input,Ae.input,U),variant:S()({[`${b}-${Ee}`]:ue},(0,w.Z)(b,i)),affixWrapper:S()({[`${b}-affix-wrapper-sm`]:A==="small",[`${b}-affix-wrapper-lg`]:A==="large",[`${b}-affix-wrapper-rtl`]:J==="rtl"},U),wrapper:S()({[`${b}-group-rtl`]:J==="rtl"},U),groupWrapper:S()({[`${b}-group-wrapper-sm`]:A==="small",[`${b}-group-wrapper-lg`]:A==="large",[`${b}-group-wrapper-rtl`]:J==="rtl",[`${b}-group-wrapper-${Ee}`]:ue},(0,w.Z)(`${b}-group-wrapper`,i,M),U)})}))))})},79809:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return f}});var e=t(59301),B=t(92310),S=t.n(B),se=t(22711),le=t(86013),p=t(82855),P=t(48755),w=t(2171),ce=t(83397),l=t(31756),ee=t(56553),d=t(24971),ae=t(70045),de=t(30292),he=t(53075),X=t(16931),ne=t(51636),q=t(64910);const ie=x=>{const{componentCls:c,paddingLG:z}=x,F=`${c}-textarea`;return{[`textarea${c}`]:{maxWidth:"100%",height:"auto",minHeight:x.controlHeight,lineHeight:x.lineHeight,verticalAlign:"bottom",transition:`all ${x.motionDurationSlow}`,resize:"vertical",[`&${c}-mouse-active`]:{transition:`all ${x.motionDurationSlow}, height 0s, width 0s`}},[`${c}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[F]:{position:"relative","&-show-count":{[`> ${c}`]:{height:"100%"},[`${c}-data-count`]:{position:"absolute",bottom:x.calc(x.fontSize).mul(x.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:x.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
&-allow-clear > ${c},
|
|
&-affix-wrapper${F}-has-feedback ${c}
|
|
`]:{paddingInlineEnd:z},[`&-affix-wrapper${c}-affix-wrapper`]:{padding:0,[`> textarea${c}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:x.calc(x.controlHeight).sub(x.calc(x.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${c}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${c}-clear-icon`]:{position:"absolute",insetInlineEnd:x.paddingInline,insetBlockStart:x.paddingXS},[`${F}-suffix`]:{position:"absolute",top:0,insetInlineEnd:x.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${c}-affix-wrapper-sm`]:{[`${c}-suffix`]:{[`${c}-clear-icon`]:{insetInlineEnd:x.paddingInlineSM}}}}}};var Ce=(0,X.I$)(["Input","TextArea"],x=>{const c=(0,ne.mergeToken)(x,(0,q.e)(x));return[ie(c)]},q.T,{resetFont:!1}),v=function(x,c){var z={};for(var F in x)Object.prototype.hasOwnProperty.call(x,F)&&c.indexOf(F)<0&&(z[F]=x[F]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,F=Object.getOwnPropertySymbols(x);H<F.length;H++)c.indexOf(F[H])<0&&Object.prototype.propertyIsEnumerable.call(x,F[H])&&(z[F[H]]=x[F[H]]);return z},f=(0,e.forwardRef)((x,c)=>{var z;const{prefixCls:F,bordered:H=!0,size:K,disabled:W,status:h,allowClear:o,classNames:Y,rootClassName:I,className:xe,style:Ie,styles:ye,variant:fe,showCount:we,onMouseDown:be,onResize:Se}=x,G=v(x,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:ve,direction:J,allowClear:Re,autoComplete:Q,className:pe,style:_,classNames:Ae,styles:k}=(0,P.dj)("textArea"),b=e.useContext(w.Z),N=W!=null?W:b,{status:R,hasFeedback:g,feedbackIcon:U}=e.useContext(ee.aM),y=(0,p.F)(R,h),n=e.useRef(null);e.useImperativeHandle(c,()=>{var ue;return{resizableTextArea:(ue=n.current)===null||ue===void 0?void 0:ue.resizableTextArea,focus:me=>{var re,je;(0,de.nH)((je=(re=n.current)===null||re===void 0?void 0:re.resizableTextArea)===null||je===void 0?void 0:je.textArea,me)},blur:()=>{var me;return(me=n.current)===null||me===void 0?void 0:me.blur()}}});const r=ve("input",F),$=(0,ce.Z)(r),[A,m,C]=(0,he.TI)(r,I),[E]=Ce(r,$),{compactSize:M,compactItemClassnames:a}=(0,ae.ri)(r,J),i=(0,l.Z)(ue=>{var me;return(me=K!=null?K:M)!==null&&me!==void 0?me:ue}),[ge,V]=(0,d.Z)("textArea",fe,H),Z=(0,le.Z)(o!=null?o:Re),[O,u]=e.useState(!1),[T,j]=e.useState(!1),oe=ue=>{u(!0),be==null||be(ue);const me=()=>{u(!1),document.removeEventListener("mouseup",me)};document.addEventListener("mouseup",me)},Ee=ue=>{var me,re;if(Se==null||Se(ue),O&&typeof getComputedStyle=="function"){const je=(re=(me=n.current)===null||me===void 0?void 0:me.nativeElement)===null||re===void 0?void 0:re.querySelector("textarea");je&&getComputedStyle(je).resize==="both"&&j(!0)}};return A(E(e.createElement(se.default,Object.assign({autoComplete:Q},G,{style:Object.assign(Object.assign({},_),Ie),styles:Object.assign(Object.assign({},k),ye),disabled:N,allowClear:Z,className:S()(C,$,xe,I,a,pe,T&&`${r}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Y),Ae),{textarea:S()({[`${r}-sm`]:i==="small",[`${r}-lg`]:i==="large"},m,Y==null?void 0:Y.textarea,Ae.textarea,O&&`${r}-mouse-active`),variant:S()({[`${r}-${ge}`]:V},(0,p.Z)(r,y)),affixWrapper:S()(`${r}-textarea-affix-wrapper`,{[`${r}-affix-wrapper-rtl`]:J==="rtl",[`${r}-affix-wrapper-sm`]:i==="small",[`${r}-affix-wrapper-lg`]:i==="large",[`${r}-textarea-show-count`]:we||((z=x.count)===null||z===void 0?void 0:z.show)},m)}),prefixCls:r,suffix:g&&e.createElement("span",{className:`${r}-textarea-suffix`},U),showCount:we,ref:n,onResize:Ee,onMouseDown:oe}))))})},23826:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return B}});var e=t(59301);function B(S,se){const le=(0,e.useRef)([]),p=()=>{le.current.push(setTimeout(()=>{var P,w,ce,l;!((P=S.current)===null||P===void 0)&&P.input&&((w=S.current)===null||w===void 0?void 0:w.input.getAttribute("type"))==="password"&&(!((ce=S.current)===null||ce===void 0)&&ce.input.hasAttribute("value"))&&((l=S.current)===null||l===void 0||l.input.removeAttribute("value"))}))};return(0,e.useEffect)(()=>(se&&p(),()=>le.current.forEach(P=>{P&&clearTimeout(P)})),[]),p}},37568:function(rt,Oe,t){"use strict";t.d(Oe,{default:function(){return Ae}});var e=t(59301),B=t(92310),S=t.n(B),se=t(48755),le=t(56553),p=t(53075),w=k=>{const{getPrefixCls:b,direction:N}=(0,e.useContext)(se.E_),{prefixCls:R,className:g}=k,U=b("input-group",R),y=b("input"),[n,r,$]=(0,p.ZP)(y),A=S()(U,$,{[`${U}-lg`]:k.size==="large",[`${U}-sm`]:k.size==="small",[`${U}-compact`]:k.compact,[`${U}-rtl`]:N==="rtl"},r,g),m=(0,e.useContext)(le.aM),C=(0,e.useMemo)(()=>Object.assign(Object.assign({},m),{isFormItemInput:!1}),[m]);return n(e.createElement("span",{className:A,style:k.style,onMouseEnter:k.onMouseEnter,onMouseLeave:k.onMouseLeave,onFocus:k.onFocus,onBlur:k.onBlur},e.createElement(le.aM.Provider,{value:C},k.children)))},ce=t(49397),l=t(77654),ee=t(6089),d=t(26112),ae=t(82855),de=t(31756),he=t(16931),X=t(51636),ne=t(64910);const q=k=>{const{componentCls:b,paddingXS:N}=k;return{[b]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:N,"&-rtl":{direction:"rtl"},[`${b}-input`]:{textAlign:"center",paddingInline:k.paddingXXS},[`&${b}-sm ${b}-input`]:{paddingInline:k.calc(k.paddingXXS).div(2).equal()},[`&${b}-lg ${b}-input`]:{paddingInline:k.paddingXS}}}};var ie=(0,he.I$)(["Input","OTP"],k=>{const b=(0,X.mergeToken)(k,(0,ne.e)(k));return[q(b)]},ne.T),Ce=t(16089),v=function(k,b){var N={};for(var R in k)Object.prototype.hasOwnProperty.call(k,R)&&b.indexOf(R)<0&&(N[R]=k[R]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,R=Object.getOwnPropertySymbols(k);g<R.length;g++)b.indexOf(R[g])<0&&Object.prototype.propertyIsEnumerable.call(k,R[g])&&(N[R[g]]=k[R[g]]);return N},f=e.forwardRef((k,b)=>{const{value:N,onChange:R,onActiveChange:g,index:U,mask:y}=k,n=v(k,["value","onChange","onActiveChange","index","mask"]),r=N&&typeof y=="string"?y:N,$=M=>{R(U,M.target.value)},A=e.useRef(null);e.useImperativeHandle(b,()=>A.current);const m=()=>{(0,Ce.Z)(()=>{var M;const a=(M=A.current)===null||M===void 0?void 0:M.input;document.activeElement===a&&a&&a.select()})},C=M=>{const{key:a,ctrlKey:i,metaKey:ge}=M;a==="ArrowLeft"?g(U-1):a==="ArrowRight"?g(U+1):a==="z"&&(i||ge)&&M.preventDefault(),m()},E=M=>{M.key==="Backspace"&&!N&&g(U-1),m()};return e.createElement(ce.Z,Object.assign({type:y===!0?"password":"text"},n,{ref:A,value:r,onInput:$,onFocus:m,onKeyDown:C,onKeyUp:E,onMouseDown:m,onMouseUp:m}))}),x=function(k,b){var N={};for(var R in k)Object.prototype.hasOwnProperty.call(k,R)&&b.indexOf(R)<0&&(N[R]=k[R]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,R=Object.getOwnPropertySymbols(k);g<R.length;g++)b.indexOf(R[g])<0&&Object.prototype.propertyIsEnumerable.call(k,R[g])&&(N[R[g]]=k[R[g]]);return N};function c(k){return(k||"").split("")}const z=k=>{const{index:b,prefixCls:N,separator:R}=k,g=typeof R=="function"?R(b):R;return g?e.createElement("span",{className:`${N}-separator`},g):null};var H=e.forwardRef((k,b)=>{const{prefixCls:N,length:R=6,size:g,defaultValue:U,value:y,onChange:n,formatter:r,separator:$,variant:A,disabled:m,status:C,autoFocus:E,mask:M,type:a,onInput:i,inputMode:ge}=k,V=x(k,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Z,direction:O}=e.useContext(se.E_),u=Z("otp",N),T=(0,d.Z)(V,{aria:!0,data:!0,attr:!0}),[j,oe,Ee]=ie(u),ue=(0,de.Z)(Je=>g!=null?g:Je),me=e.useContext(le.aM),re=(0,ae.F)(me.status,C),je=e.useMemo(()=>Object.assign(Object.assign({},me),{status:re,hasFeedback:!1,feedbackIcon:null}),[me,re]),_e=e.useRef(null),Ke=e.useRef({});e.useImperativeHandle(b,()=>({focus:()=>{var Je;(Je=Ke.current[0])===null||Je===void 0||Je.focus()},blur:()=>{var Je;for(let He=0;He<R;He+=1)(Je=Ke.current[He])===null||Je===void 0||Je.blur()},nativeElement:_e.current}));const nt=Je=>r?r(Je):Je,[it,ut]=e.useState(()=>c(nt(U||"")));e.useEffect(()=>{y!==void 0&&ut(c(y))},[y]);const dt=(0,ee.Z)(Je=>{ut(Je),i&&i(Je),n&&Je.length===R&&Je.every(He=>He)&&Je.some((He,Ye)=>it[Ye]!==He)&&n(Je.join(""))}),Be=(0,ee.Z)((Je,He)=>{let Ye=(0,l.Z)(it);for(let Ue=0;Ue<Je;Ue+=1)Ye[Ue]||(Ye[Ue]="");He.length<=1?Ye[Je]=He:Ye=Ye.slice(0,Je).concat(c(He)),Ye=Ye.slice(0,R);for(let Ue=Ye.length-1;Ue>=0&&!Ye[Ue];Ue-=1)Ye.pop();const ot=nt(Ye.map(Ue=>Ue||" ").join(""));return Ye=c(ot).map((Ue,vt)=>Ue===" "&&!Ye[vt]?Ye[vt]:Ue),Ye}),te=(Je,He)=>{var Ye;const ot=Be(Je,He),Ue=Math.min(Je+He.length,R-1);Ue!==Je&&ot[Je]!==void 0&&((Ye=Ke.current[Ue])===null||Ye===void 0||Ye.focus()),dt(ot)},ze=Je=>{var He;(He=Ke.current[Je])===null||He===void 0||He.focus()},$e={variant:A,disabled:m,status:re,mask:M,type:a,inputMode:ge};return j(e.createElement("div",Object.assign({},T,{ref:_e,className:S()(u,{[`${u}-sm`]:ue==="small",[`${u}-lg`]:ue==="large",[`${u}-rtl`]:O==="rtl"},Ee,oe)}),e.createElement(le.aM.Provider,{value:je},Array.from({length:R}).map((Je,He)=>{const Ye=`otp-${He}`,ot=it[He]||"";return e.createElement(e.Fragment,{key:Ye},e.createElement(f,Object.assign({ref:Ue=>{Ke.current[He]=Ue},index:He,size:ue,htmlSize:1,className:`${u}-input`,onChange:te,value:ot,onActiveChange:ze,autoFocus:He===0&&E},$e)),He<R-1&&e.createElement(z,{separator:$,index:He,prefixCls:u}))}))))}),K=t(73331),W=t(15277),h=t(2738),o=t(8654),Y=t(2171),I=t(23826),xe=function(k,b){var N={};for(var R in k)Object.prototype.hasOwnProperty.call(k,R)&&b.indexOf(R)<0&&(N[R]=k[R]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,R=Object.getOwnPropertySymbols(k);g<R.length;g++)b.indexOf(R[g])<0&&Object.prototype.propertyIsEnumerable.call(k,R[g])&&(N[R[g]]=k[R[g]]);return N};const Ie=k=>k?e.createElement(W.Z,null):e.createElement(K.Z,null),ye={click:"onClick",hover:"onMouseOver"};var we=e.forwardRef((k,b)=>{const{disabled:N,action:R="click",visibilityToggle:g=!0,iconRender:U=Ie}=k,y=e.useContext(Y.Z),n=N!=null?N:y,r=typeof g=="object"&&g.visible!==void 0,[$,A]=(0,e.useState)(()=>r?g.visible:!1),m=(0,e.useRef)(null);e.useEffect(()=>{r&&A(g.visible)},[r,g]);const C=(0,I.Z)(m),E=()=>{var ue;if(n)return;$&&C();const me=!$;A(me),typeof g=="object"&&((ue=g.onVisibleChange)===null||ue===void 0||ue.call(g,me))},M=ue=>{const me=ye[R]||"",re=U($),je={[me]:E,className:`${ue}-icon`,key:"passwordIcon",onMouseDown:_e=>{_e.preventDefault()},onMouseUp:_e=>{_e.preventDefault()}};return e.cloneElement(e.isValidElement(re)?re:e.createElement("span",null,re),je)},{className:a,prefixCls:i,inputPrefixCls:ge,size:V}=k,Z=xe(k,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:O}=e.useContext(se.E_),u=O("input",ge),T=O("input-password",i),j=g&&M(T),oe=S()(T,a,{[`${T}-${V}`]:!!V}),Ee=Object.assign(Object.assign({},(0,h.Z)(Z,["suffix","iconRender","visibilityToggle"])),{type:$?"text":"password",className:oe,prefixCls:u,suffix:j});return V&&(Ee.size=V),e.createElement(ce.Z,Object.assign({ref:(0,o.sQ)(b,m)},Ee))}),be=t(47472),Se=t(22703),G=t(7939),ve=t(70045),J=function(k,b){var N={};for(var R in k)Object.prototype.hasOwnProperty.call(k,R)&&b.indexOf(R)<0&&(N[R]=k[R]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,R=Object.getOwnPropertySymbols(k);g<R.length;g++)b.indexOf(R[g])<0&&Object.prototype.propertyIsEnumerable.call(k,R[g])&&(N[R[g]]=k[R[g]]);return N},Q=e.forwardRef((k,b)=>{const{prefixCls:N,inputPrefixCls:R,className:g,size:U,suffix:y,enterButton:n=!1,addonAfter:r,loading:$,disabled:A,onSearch:m,onChange:C,onCompositionStart:E,onCompositionEnd:M}=k,a=J(k,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:i,direction:ge}=e.useContext(se.E_),V=e.useRef(!1),Z=i("input-search",N),O=i("input",R),{compactSize:u}=(0,ve.ri)(Z,ge),T=(0,de.Z)(te=>{var ze;return(ze=U!=null?U:u)!==null&&ze!==void 0?ze:te}),j=e.useRef(null),oe=te=>{te!=null&&te.target&&te.type==="click"&&m&&m(te.target.value,te,{source:"clear"}),C==null||C(te)},Ee=te=>{var ze;document.activeElement===((ze=j.current)===null||ze===void 0?void 0:ze.input)&&te.preventDefault()},ue=te=>{var ze,$e;m&&m(($e=(ze=j.current)===null||ze===void 0?void 0:ze.input)===null||$e===void 0?void 0:$e.value,te,{source:"input"})},me=te=>{V.current||$||ue(te)},re=typeof n=="boolean"?e.createElement(be.Z,null):null,je=`${Z}-button`;let _e;const Ke=n||{},nt=Ke.type&&Ke.type.__ANT_BUTTON===!0;nt||Ke.type==="button"?_e=(0,Se.Tm)(Ke,Object.assign({onMouseDown:Ee,onClick:te=>{var ze,$e;($e=(ze=Ke==null?void 0:Ke.props)===null||ze===void 0?void 0:ze.onClick)===null||$e===void 0||$e.call(ze,te),ue(te)},key:"enterButton"},nt?{className:je,size:T}:{})):_e=e.createElement(G.ZP,{className:je,type:n?"primary":void 0,size:T,disabled:A,key:"enterButton",onMouseDown:Ee,onClick:ue,loading:$,icon:re},n),r&&(_e=[_e,(0,Se.Tm)(r,{key:"addonAfter"})]);const it=S()(Z,{[`${Z}-rtl`]:ge==="rtl",[`${Z}-${T}`]:!!T,[`${Z}-with-button`]:!!n},g),ut=Object.assign(Object.assign({},a),{className:it,prefixCls:O,type:"search"}),dt=te=>{V.current=!0,E==null||E(te)},Be=te=>{V.current=!1,M==null||M(te)};return e.createElement(ce.Z,Object.assign({ref:(0,o.sQ)(j,b),onPressEnter:me},ut,{size:T,onCompositionStart:dt,onCompositionEnd:Be,addonAfter:_e,suffix:y,onChange:oe,disabled:A}))}),pe=t(79809);const _=ce.Z;_.Group=w,_.Search=Q,_.TextArea=pe.Z,_.Password=we,_.OTP=H;var Ae=_},24303:function(rt,Oe,t){"use strict";t.d(Oe,{D:function(){return x},Z:function(){return F}});var e=t(59301),B=t(60499),S={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"},se=S,le=t(7657),p=function(K,W){return e.createElement(le.Z,(0,B.Z)({},K,{ref:W,icon:se}))},P=e.forwardRef(p),w=P,ce=t(33853),l=t(38819),ee=t(92310),d=t.n(ee),ae=t(2738),de=t(48755),he=t(6989),X=t(36237),ne=t(48923),q=t(16931);const ie=H=>{const{componentCls:K,siderBg:W,motionDurationMid:h,motionDurationSlow:o,antCls:Y,triggerHeight:I,triggerColor:xe,triggerBg:Ie,headerHeight:ye,zeroTriggerWidth:fe,zeroTriggerHeight:we,borderRadiusLG:be,lightSiderBg:Se,lightTriggerColor:G,lightTriggerBg:ve,bodyBg:J}=H;return{[K]:{position:"relative",minWidth:0,background:W,transition:`all ${h}, background 0s`,"&-has-trigger":{paddingBottom:I},"&-right":{order:1},[`${K}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Y}-menu${Y}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${K}-children`]:{overflow:"hidden"},[`${K}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:I,color:xe,lineHeight:(0,X.unit)(I),textAlign:"center",background:Ie,cursor:"pointer",transition:`all ${h}`},[`${K}-zero-width-trigger`]:{position:"absolute",top:ye,insetInlineEnd:H.calc(fe).mul(-1).equal(),zIndex:1,width:fe,height:we,color:xe,fontSize:H.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:W,borderRadius:`0 ${(0,X.unit)(be)} ${(0,X.unit)(be)} 0`,cursor:"pointer",transition:`background ${o} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${o}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:H.calc(fe).mul(-1).equal(),borderRadius:`${(0,X.unit)(be)} 0 0 ${(0,X.unit)(be)}`}},"&-light":{background:Se,[`${K}-trigger`]:{color:G,background:ve},[`${K}-zero-width-trigger`]:{color:G,background:ve,border:`1px solid ${J}`,borderInlineStart:0}}}}};var Ce=(0,q.I$)(["Layout","Sider"],H=>[ie(H)],ne.eh,{deprecatedTokens:ne.jn}),v=function(H,K){var W={};for(var h in H)Object.prototype.hasOwnProperty.call(H,h)&&K.indexOf(h)<0&&(W[h]=H[h]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,h=Object.getOwnPropertySymbols(H);o<h.length;o++)K.indexOf(h[o])<0&&Object.prototype.propertyIsEnumerable.call(H,h[o])&&(W[h[o]]=H[h[o]]);return W};const s={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},f=H=>!Number.isNaN(Number.parseFloat(H))&&isFinite(H),x=e.createContext({}),c=(()=>{let H=0;return function(){let K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return H+=1,`${K}${H}`}})();var F=e.forwardRef((H,K)=>{const{prefixCls:W,className:h,trigger:o,children:Y,defaultCollapsed:I=!1,theme:xe="dark",style:Ie={},collapsible:ye=!1,reverseArrow:fe=!1,width:we=200,collapsedWidth:be=80,zeroWidthTriggerStyle:Se,breakpoint:G,onCollapse:ve,onBreakpoint:J}=H,Re=v(H,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Q}=(0,e.useContext)(he.V),[pe,_]=(0,e.useState)("collapsed"in H?H.collapsed:I),[Ae,k]=(0,e.useState)(!1);(0,e.useEffect)(()=>{"collapsed"in H&&_(H.collapsed)},[H.collapsed]);const b=(T,j)=>{"collapsed"in H||_(T),ve==null||ve(T,j)},{getPrefixCls:N,direction:R}=(0,e.useContext)(de.E_),g=N("layout-sider",W),[U,y,n]=Ce(g),r=(0,e.useRef)(null);r.current=T=>{k(T.matches),J==null||J(T.matches),pe!==T.matches&&b(T.matches,"responsive")},(0,e.useEffect)(()=>{function T(oe){return r.current(oe)}let j;if(typeof window!="undefined"){const{matchMedia:oe}=window;if(oe&&G&&G in s){j=oe(`screen and (max-width: ${s[G]})`);try{j.addEventListener("change",T)}catch(Ee){j.addListener(T)}T(j)}}return()=>{try{j==null||j.removeEventListener("change",T)}catch(oe){j==null||j.removeListener(T)}}},[G]),(0,e.useEffect)(()=>{const T=c("ant-sider-");return Q.addSider(T),()=>Q.removeSider(T)},[]);const $=()=>{b(!pe,"clickTrigger")},A=(0,ae.Z)(Re,["collapsed"]),m=pe?be:we,C=f(m)?`${m}px`:String(m),E=parseFloat(String(be||0))===0?e.createElement("span",{onClick:$,className:d()(`${g}-zero-width-trigger`,`${g}-zero-width-trigger-${fe?"right":"left"}`),style:Se},o||e.createElement(w,null)):null,M=R==="rtl"==!fe,ge={expanded:M?e.createElement(l.Z,null):e.createElement(ce.Z,null),collapsed:M?e.createElement(ce.Z,null):e.createElement(l.Z,null)}[pe?"collapsed":"expanded"],V=o!==null?E||e.createElement("div",{className:`${g}-trigger`,onClick:$,style:{width:C}},o||ge):null,Z=Object.assign(Object.assign({},Ie),{flex:`0 0 ${C}`,maxWidth:C,minWidth:C,width:C}),O=d()(g,`${g}-${xe}`,{[`${g}-collapsed`]:!!pe,[`${g}-has-trigger`]:ye&&o!==null&&!E,[`${g}-below`]:!!Ae,[`${g}-zero-width`]:parseFloat(C)===0},h,y,n),u=e.useMemo(()=>({siderCollapsed:pe}),[pe]);return U(e.createElement(x.Provider,{value:u},e.createElement("aside",Object.assign({className:O},A,{style:Z,ref:K}),e.createElement("div",{className:`${g}-children`},Y),ye||Ae&&E?V:null)))})},6989:function(rt,Oe,t){"use strict";t.d(Oe,{V:function(){return B}});var e=t(59301);const B=e.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(rt,Oe,t){"use strict";t.d(Oe,{eh:function(){return se},jn:function(){return le}});var e=t(36237),B=t(16931);const S=p=>{const{antCls:P,componentCls:w,colorText:ce,footerBg:l,headerHeight:ee,headerPadding:d,headerColor:ae,footerPadding:de,fontSize:he,bodyBg:X,headerBg:ne}=p;return{[w]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:X,"&, *":{boxSizing:"border-box"},[`&${w}-has-sider`]:{flexDirection:"row",[`> ${w}, > ${w}-content`]:{width:0}},[`${w}-header, &${w}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${w}-header`]:{height:ee,padding:d,color:ae,lineHeight:(0,e.unit)(ee),background:ne,[`${P}-menu`]:{lineHeight:"inherit"}},[`${w}-footer`]:{padding:de,color:ce,fontSize:he,background:l},[`${w}-content`]:{flex:"auto",color:ce,minHeight:0}}},se=p=>{const{colorBgLayout:P,controlHeight:w,controlHeightLG:ce,colorText:l,controlHeightSM:ee,marginXXS:d,colorTextLightSolid:ae,colorBgContainer:de}=p,he=ce*1.25;return{colorBgHeader:"#001529",colorBgBody:P,colorBgTrigger:"#002140",bodyBg:P,headerBg:"#001529",headerHeight:w*2,headerPadding:`0 ${he}px`,headerColor:l,footerPadding:`${ee}px ${he}px`,footerBg:P,siderBg:"#001529",triggerHeight:ce+d*2,triggerBg:"#002140",triggerColor:ae,zeroTriggerWidth:ce,zeroTriggerHeight:ce,lightSiderBg:de,lightTriggerBg:de,lightTriggerColor:l}},le=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Oe.ZP=(0,B.I$)("Layout",p=>[S(p)],se,{deprecatedTokens:le})},78857:function(rt,Oe,t){"use strict";t.d(Oe,{J:function(){return p}});var e=t(59301),B=t(8654),S=t(62487),se=function(P,w){var ce={};for(var l in P)Object.prototype.hasOwnProperty.call(P,l)&&w.indexOf(l)<0&&(ce[l]=P[l]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,l=Object.getOwnPropertySymbols(P);ee<l.length;ee++)w.indexOf(l[ee])<0&&Object.prototype.propertyIsEnumerable.call(P,l[ee])&&(ce[l[ee]]=P[l[ee]]);return ce};const le=e.createContext(null),p=e.forwardRef((P,w)=>{const{children:ce}=P,l=se(P,["children"]),ee=e.useContext(le),d=e.useMemo(()=>Object.assign(Object.assign({},ee),l),[ee,l.prefixCls,l.mode,l.selectable,l.rootClassName]),ae=(0,B.t4)(ce),de=(0,B.x1)(w,ae?(0,B.C4)(ce):null);return e.createElement(le.Provider,{value:d},e.createElement(S.Z,{space:!0},ae?e.cloneElement(ce,{ref:de}):ce))});Oe.Z=le},93041:function(rt,Oe,t){"use strict";t.d(Oe,{default:function(){return U}});var e=t(59301),B=t(28321),S=t(24303),se=t(18785),le=t(92310),p=t.n(le),P=t(6089),w=t(2738),ce=t(86641),l=t(22703),ee=t(48755),d=t(83397),de=(0,e.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),he=function(y,n){var r={};for(var $ in y)Object.prototype.hasOwnProperty.call(y,$)&&n.indexOf($)<0&&(r[$]=y[$]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,$=Object.getOwnPropertySymbols(y);A<$.length;A++)n.indexOf($[A])<0&&Object.prototype.propertyIsEnumerable.call(y,$[A])&&(r[$[A]]=y[$[A]]);return r},ne=y=>{const{prefixCls:n,className:r,dashed:$}=y,A=he(y,["prefixCls","className","dashed"]),{getPrefixCls:m}=e.useContext(ee.E_),C=m("menu",n),E=p()({[`${C}-item-divider-dashed`]:!!$},r);return e.createElement(B.iz,Object.assign({className:E},A))},q=t(11592),ie=t(25399),v=y=>{var n;const{className:r,children:$,icon:A,title:m,danger:C,extra:E}=y,{prefixCls:M,firstLevel:a,direction:i,disableMenuItemTitleTooltip:ge,inlineCollapsed:V}=e.useContext(de),Z=Ee=>{const ue=$==null?void 0:$[0],me=e.createElement("span",{className:p()(`${M}-title-content`,{[`${M}-title-content-with-extra`]:!!E||E===0})},$);return(!A||e.isValidElement($)&&$.type==="span")&&$&&Ee&&a&&typeof ue=="string"?e.createElement("div",{className:`${M}-inline-collapsed-noicon`},ue.charAt(0)):me},{siderCollapsed:O}=e.useContext(S.D);let u=m;typeof m=="undefined"?u=a?$:"":m===!1&&(u="");const T={title:u};!O&&!V&&(T.title=null,T.open=!1);const j=(0,q.Z)($).length;let oe=e.createElement(B.ck,Object.assign({},(0,w.Z)(y,["title","icon","danger"]),{className:p()({[`${M}-item-danger`]:C,[`${M}-item-only-child`]:(A?j+1:j)===1},r),title:typeof m=="string"?m:void 0}),(0,l.Tm)(A,{className:p()(e.isValidElement(A)?(n=A.props)===null||n===void 0?void 0:n.className:"",`${M}-item-icon`)}),Z(V));return ge||(oe=e.createElement(ie.Z,Object.assign({},T,{placement:i==="rtl"?"left":"right",classNames:{root:`${M}-inline-collapsed-tooltip`}}),oe)),oe},s=t(78857),f=t(36237),x=t(17835),c=t(63356),z=t(34961),F=t(46e3),H=t(34925),K=t(16931),W=t(51636),o=y=>{const{componentCls:n,motionDurationSlow:r,horizontalLineHeight:$,colorSplit:A,lineWidth:m,lineType:C,itemPaddingInline:E}=y;return{[`${n}-horizontal`]:{lineHeight:$,border:0,borderBottom:`${(0,f.unit)(m)} ${C} ${A}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${n}-item, ${n}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:E},[`> ${n}-item:hover,
|
|
> ${n}-item-active,
|
|
> ${n}-submenu ${n}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${n}-item, ${n}-submenu-title`]:{transition:[`border-color ${r}`,`background ${r}`].join(",")},[`${n}-submenu-arrow`]:{display:"none"}}}},I=y=>{let{componentCls:n,menuArrowOffset:r,calc:$}=y;return{[`${n}-rtl`]:{direction:"rtl"},[`${n}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${n}-rtl${n}-vertical,
|
|
${n}-submenu-rtl ${n}-vertical`]:{[`${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,f.unit)($(r).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,f.unit)(r)})`}}}}};const xe=y=>Object.assign({},(0,c.oN)(y));var ye=(y,n)=>{const{componentCls:r,itemColor:$,itemSelectedColor:A,subMenuItemSelectedColor:m,groupTitleColor:C,itemBg:E,subMenuItemBg:M,itemSelectedBg:a,activeBarHeight:i,activeBarWidth:ge,activeBarBorderWidth:V,motionDurationSlow:Z,motionEaseInOut:O,motionEaseOut:u,itemPaddingInline:T,motionDurationMid:j,itemHoverColor:oe,lineType:Ee,colorSplit:ue,itemDisabledColor:me,dangerItemColor:re,dangerItemHoverColor:je,dangerItemSelectedColor:_e,dangerItemActiveBg:Ke,dangerItemSelectedBg:nt,popupBg:it,itemHoverBg:ut,itemActiveBg:dt,menuSubMenuBg:Be,horizontalItemSelectedColor:te,horizontalItemSelectedBg:ze,horizontalItemBorderRadius:$e,horizontalItemHoverBg:Je}=y;return{[`${r}-${n}, ${r}-${n} > ${r}`]:{color:$,background:E,[`&${r}-root:focus-visible`]:Object.assign({},xe(y)),[`${r}-item`]:{"&-group-title, &-extra":{color:C}},[`${r}-submenu-selected > ${r}-submenu-title`]:{color:m},[`${r}-item, ${r}-submenu-title`]:{color:$,[`&:not(${r}-item-disabled):focus-visible`]:Object.assign({},xe(y))},[`${r}-item-disabled, ${r}-submenu-disabled`]:{color:`${me} !important`},[`${r}-item:not(${r}-item-selected):not(${r}-submenu-selected)`]:{[`&:hover, > ${r}-submenu-title:hover`]:{color:oe}},[`&:not(${r}-horizontal)`]:{[`${r}-item:not(${r}-item-selected)`]:{"&:hover":{backgroundColor:ut},"&:active":{backgroundColor:dt}},[`${r}-submenu-title`]:{"&:hover":{backgroundColor:ut},"&:active":{backgroundColor:dt}}},[`${r}-item-danger`]:{color:re,[`&${r}-item:hover`]:{[`&:not(${r}-item-selected):not(${r}-submenu-selected)`]:{color:je}},[`&${r}-item:active`]:{background:Ke}},[`${r}-item a`]:{"&, &:hover":{color:"inherit"}},[`${r}-item-selected`]:{color:A,[`&${r}-item-danger`]:{color:_e},"a, a:hover":{color:"inherit"}},[`& ${r}-item-selected`]:{backgroundColor:a,[`&${r}-item-danger`]:{backgroundColor:nt}},[`&${r}-submenu > ${r}`]:{backgroundColor:Be},[`&${r}-popup > ${r}`]:{backgroundColor:it},[`&${r}-submenu-popup > ${r}`]:{backgroundColor:it},[`&${r}-horizontal`]:Object.assign(Object.assign({},n==="dark"?{borderBottom:0}:{}),{[`> ${r}-item, > ${r}-submenu`]:{top:V,marginTop:y.calc(V).mul(-1).equal(),marginBottom:0,borderRadius:$e,"&::after":{position:"absolute",insetInline:T,bottom:0,borderBottom:`${(0,f.unit)(i)} solid transparent`,transition:`border-color ${Z} ${O}`,content:'""'},"&:hover, &-active, &-open":{background:Je,"&::after":{borderBottomWidth:i,borderBottomColor:te}},"&-selected":{color:te,backgroundColor:ze,"&:hover":{backgroundColor:ze},"&::after":{borderBottomWidth:i,borderBottomColor:te}}}}),[`&${r}-root`]:{[`&${r}-inline, &${r}-vertical`]:{borderInlineEnd:`${(0,f.unit)(V)} ${Ee} ${ue}`}},[`&${r}-inline`]:{[`${r}-sub${r}-inline`]:{background:M},[`${r}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,f.unit)(ge)} solid ${A}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${j} ${u}`,`opacity ${j} ${u}`].join(","),content:'""'},[`&${r}-item-danger`]:{"&::after":{borderInlineEndColor:_e}}},[`${r}-selected, ${r}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${j} ${O}`,`opacity ${j} ${O}`].join(",")}}}}}};const fe=y=>{const{componentCls:n,itemHeight:r,itemMarginInline:$,padding:A,menuArrowSize:m,marginXS:C,itemMarginBlock:E,itemWidth:M,itemPaddingInline:a}=y,i=y.calc(m).add(A).add(C).equal();return{[`${n}-item`]:{position:"relative",overflow:"hidden"},[`${n}-item, ${n}-submenu-title`]:{height:r,lineHeight:(0,f.unit)(r),paddingInline:a,overflow:"hidden",textOverflow:"ellipsis",marginInline:$,marginBlock:E,width:M},[`> ${n}-item,
|
|
> ${n}-submenu > ${n}-submenu-title`]:{height:r,lineHeight:(0,f.unit)(r)},[`${n}-item-group-list ${n}-submenu-title,
|
|
${n}-submenu-title`]:{paddingInlineEnd:i}}};var be=y=>{const{componentCls:n,iconCls:r,itemHeight:$,colorTextLightSolid:A,dropdownWidth:m,controlHeightLG:C,motionEaseOut:E,paddingXL:M,itemMarginInline:a,fontSizeLG:i,motionDurationFast:ge,motionDurationSlow:V,paddingXS:Z,boxShadowSecondary:O,collapsedWidth:u,collapsedIconSize:T}=y,j={height:$,lineHeight:(0,f.unit)($),listStylePosition:"inside",listStyleType:"disc"};return[{[n]:{"&-inline, &-vertical":Object.assign({[`&${n}-root`]:{boxShadow:"none"}},fe(y))},[`${n}-submenu-popup`]:{[`${n}-vertical`]:Object.assign(Object.assign({},fe(y)),{boxShadow:O})}},{[`${n}-submenu-popup ${n}-vertical${n}-sub`]:{minWidth:m,maxHeight:`calc(100vh - ${(0,f.unit)(y.calc(C).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${n}-inline`]:{width:"100%",[`&${n}-root`]:{[`${n}-item, ${n}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${V}`,`background ${V}`,`padding ${ge} ${E}`].join(","),[`> ${n}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${n}-sub${n}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${n}-submenu > ${n}-submenu-title`]:j,[`& ${n}-item-group-title`]:{paddingInlineStart:M}},[`${n}-item`]:j}},{[`${n}-inline-collapsed`]:{width:u,[`&${n}-root`]:{[`${n}-item, ${n}-submenu ${n}-submenu-title`]:{[`> ${n}-inline-collapsed-noicon`]:{fontSize:i,textAlign:"center"}}},[`> ${n}-item,
|
|
> ${n}-item-group > ${n}-item-group-list > ${n}-item,
|
|
> ${n}-item-group > ${n}-item-group-list > ${n}-submenu > ${n}-submenu-title,
|
|
> ${n}-submenu > ${n}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,f.unit)(y.calc(T).div(2).equal())} - ${(0,f.unit)(a)})`,textOverflow:"clip",[`
|
|
${n}-submenu-arrow,
|
|
${n}-submenu-expand-icon
|
|
`]:{opacity:0},[`${n}-item-icon, ${r}`]:{margin:0,fontSize:T,lineHeight:(0,f.unit)($),"+ span":{display:"inline-block",opacity:0}}},[`${n}-item-icon, ${r}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${n}-item-icon, ${r}`]:{display:"none"},"a, a:hover":{color:A}},[`${n}-item-group-title`]:Object.assign(Object.assign({},c.vS),{paddingInline:Z})}}]};const Se=y=>{const{componentCls:n,motionDurationSlow:r,motionDurationMid:$,motionEaseInOut:A,motionEaseOut:m,iconCls:C,iconSize:E,iconMarginInlineEnd:M}=y;return{[`${n}-item, ${n}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${r}`,`background ${r}`,`padding calc(${r} + 0.1s) ${A}`].join(","),[`${n}-item-icon, ${C}`]:{minWidth:E,fontSize:E,transition:[`font-size ${$} ${m}`,`margin ${r} ${A}`,`color ${r}`].join(","),"+ span":{marginInlineStart:M,opacity:1,transition:[`opacity ${r} ${A}`,`margin ${r}`,`color ${r}`].join(",")}},[`${n}-item-icon`]:Object.assign({},(0,c.Ro)()),[`&${n}-item-only-child`]:{[`> ${C}, > ${n}-item-icon`]:{marginInlineEnd:0}}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${n}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},G=y=>{const{componentCls:n,motionDurationSlow:r,motionEaseInOut:$,borderRadius:A,menuArrowSize:m,menuArrowOffset:C}=y;return{[`${n}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:y.margin,width:m,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${r} ${$}, opacity ${r}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:y.calc(m).mul(.6).equal(),height:y.calc(m).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:A,transition:[`background ${r} ${$}`,`transform ${r} ${$}`,`top ${r} ${$}`,`color ${r} ${$}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,f.unit)(y.calc(C).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,f.unit)(C)})`}}}}},ve=y=>{const{antCls:n,componentCls:r,fontSize:$,motionDurationSlow:A,motionDurationMid:m,motionEaseInOut:C,paddingXS:E,padding:M,colorSplit:a,lineWidth:i,zIndexPopup:ge,borderRadiusLG:V,subMenuItemBorderRadius:Z,menuArrowSize:O,menuArrowOffset:u,lineType:T,groupTitleLineHeight:j,groupTitleFontSize:oe}=y;return[{"":{[r]:Object.assign(Object.assign({},(0,c.dF)()),{"&-hidden":{display:"none"}})},[`${r}-submenu-hidden`]:{display:"none"}},{[r]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,c.Wf)(y)),(0,c.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:$,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${A} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${r}-item`]:{flex:"none"}},[`${r}-item, ${r}-submenu, ${r}-submenu-title`]:{borderRadius:y.itemBorderRadius},[`${r}-item-group-title`]:{padding:`${(0,f.unit)(E)} ${(0,f.unit)(M)}`,fontSize:oe,lineHeight:j,transition:`all ${A}`},[`&-horizontal ${r}-submenu`]:{transition:[`border-color ${A} ${C}`,`background ${A} ${C}`].join(",")},[`${r}-submenu, ${r}-submenu-inline`]:{transition:[`border-color ${A} ${C}`,`background ${A} ${C}`,`padding ${m} ${C}`].join(",")},[`${r}-submenu ${r}-sub`]:{cursor:"initial",transition:[`background ${A} ${C}`,`padding ${A} ${C}`].join(",")},[`${r}-title-content`]:{transition:`color ${A}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${n}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${r}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:y.padding}},[`${r}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${r}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:a,borderStyle:T,borderWidth:0,borderTopWidth:i,marginBlock:i,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Se(y)),{[`${r}-item-group`]:{[`${r}-item-group-list`]:{margin:0,padding:0,[`${r}-item, ${r}-submenu-title`]:{paddingInline:`${(0,f.unit)(y.calc($).mul(2).equal())} ${(0,f.unit)(M)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:ge,borderRadius:V,boxShadow:"none",transformOrigin:"0 0",[`&${r}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${r}`]:Object.assign(Object.assign(Object.assign({borderRadius:V},Se(y)),G(y)),{[`${r}-item, ${r}-submenu > ${r}-submenu-title`]:{borderRadius:Z},[`${r}-submenu-title::after`]:{transition:`transform ${A} ${C}`}})},"\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:y.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:y.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:y.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:y.paddingXS}}}),G(y)),{[`&-inline-collapsed ${r}-submenu-arrow,
|
|
&-inline ${r}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,f.unit)(u)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,f.unit)(y.calc(u).mul(-1).equal())})`}},[`${r}-submenu-open${r}-submenu-inline > ${r}-submenu-title > ${r}-submenu-arrow`]:{transform:`translateY(${(0,f.unit)(y.calc(O).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,f.unit)(y.calc(u).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,f.unit)(u)})`}}})},{[`${n}-layout-header`]:{[r]:{lineHeight:"inherit"}}}]},J=y=>{var n,r,$;const{colorPrimary:A,colorError:m,colorTextDisabled:C,colorErrorBg:E,colorText:M,colorTextDescription:a,colorBgContainer:i,colorFillAlter:ge,colorFillContent:V,lineWidth:Z,lineWidthBold:O,controlItemBgActive:u,colorBgTextHover:T,controlHeightLG:j,lineHeight:oe,colorBgElevated:Ee,marginXXS:ue,padding:me,fontSize:re,controlHeightSM:je,fontSizeLG:_e,colorTextLightSolid:Ke,colorErrorHover:nt}=y,it=(n=y.activeBarWidth)!==null&&n!==void 0?n:0,ut=(r=y.activeBarBorderWidth)!==null&&r!==void 0?r:Z,dt=($=y.itemMarginInline)!==null&&$!==void 0?$:y.marginXXS,Be=new x.FastColor(Ke).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:y.zIndexPopupBase+50,radiusItem:y.borderRadiusLG,itemBorderRadius:y.borderRadiusLG,radiusSubMenuItem:y.borderRadiusSM,subMenuItemBorderRadius:y.borderRadiusSM,colorItemText:M,itemColor:M,colorItemTextHover:M,itemHoverColor:M,colorItemTextHoverHorizontal:A,horizontalItemHoverColor:A,colorGroupTitle:a,groupTitleColor:a,colorItemTextSelected:A,itemSelectedColor:A,subMenuItemSelectedColor:A,colorItemTextSelectedHorizontal:A,horizontalItemSelectedColor:A,colorItemBg:i,itemBg:i,colorItemBgHover:T,itemHoverBg:T,colorItemBgActive:V,itemActiveBg:u,colorSubItemBg:ge,subMenuItemBg:ge,colorItemBgSelected:u,itemSelectedBg:u,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:it,colorActiveBarHeight:O,activeBarHeight:O,colorActiveBarBorderSize:Z,activeBarBorderWidth:ut,colorItemTextDisabled:C,itemDisabledColor:C,colorDangerItemText:m,dangerItemColor:m,colorDangerItemTextHover:m,dangerItemHoverColor:m,colorDangerItemTextSelected:m,dangerItemSelectedColor:m,colorDangerItemBgActive:E,dangerItemActiveBg:E,colorDangerItemBgSelected:E,dangerItemSelectedBg:E,itemMarginInline:dt,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:j,groupTitleLineHeight:oe,collapsedWidth:j*2,popupBg:Ee,itemMarginBlock:ue,itemPaddingInline:me,horizontalLineHeight:`${j*1.15}px`,iconSize:re,iconMarginInlineEnd:je-re,collapsedIconSize:_e,groupTitleFontSize:re,darkItemDisabledColor:new x.FastColor(Ke).setA(.25).toRgbString(),darkItemColor:Be,darkDangerItemColor:m,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Ke,darkItemSelectedBg:A,darkDangerItemSelectedBg:m,darkItemHoverBg:"transparent",darkGroupTitleColor:Be,darkItemHoverColor:Ke,darkDangerItemHoverColor:nt,darkDangerItemSelectedColor:Ke,darkDangerItemActiveBg:m,itemWidth:it?`calc(100% + ${ut}px)`:`calc(100% - ${dt*2}px)`}};var Re=function(y){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,K.I$)("Menu",A=>{const{colorBgElevated:m,controlHeightLG:C,fontSize:E,darkItemColor:M,darkDangerItemColor:a,darkItemBg:i,darkSubMenuItemBg:ge,darkItemSelectedColor:V,darkItemSelectedBg:Z,darkDangerItemSelectedBg:O,darkItemHoverBg:u,darkGroupTitleColor:T,darkItemHoverColor:j,darkItemDisabledColor:oe,darkDangerItemHoverColor:Ee,darkDangerItemSelectedColor:ue,darkDangerItemActiveBg:me,popupBg:re,darkPopupBg:je}=A,_e=A.calc(E).div(7).mul(5).equal(),Ke=(0,W.mergeToken)(A,{menuArrowSize:_e,menuHorizontalHeight:A.calc(C).mul(1.15).equal(),menuArrowOffset:A.calc(_e).mul(.25).equal(),menuSubMenuBg:m,calc:A.calc,popupBg:re}),nt=(0,W.mergeToken)(Ke,{itemColor:M,itemHoverColor:j,groupTitleColor:T,itemSelectedColor:V,subMenuItemSelectedColor:V,itemBg:i,popupBg:je,subMenuItemBg:ge,itemActiveBg:"transparent",itemSelectedBg:Z,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:u,itemDisabledColor:oe,dangerItemColor:a,dangerItemHoverColor:Ee,dangerItemSelectedColor:ue,dangerItemActiveBg:me,dangerItemSelectedBg:O,menuSubMenuBg:ge,horizontalItemSelectedColor:V,horizontalItemSelectedBg:Z});return[ve(Ke),o(Ke),be(Ke),ye(Ke,"light"),ye(nt,"dark"),I(Ke),(0,z.Z)(Ke),(0,F.oN)(Ke,"slide-up"),(0,F.oN)(Ke,"slide-down"),(0,H._y)(Ke,"zoom-big")]},J,{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"]],injectStyle:r,unitless:{groupTitleLineHeight:!0}})(y,n)},Q=t(75030),_=y=>{var n;const{popupClassName:r,icon:$,title:A,theme:m}=y,C=e.useContext(de),{prefixCls:E,inlineCollapsed:M,theme:a}=C,i=(0,B.Xl)();let ge;if(!$)ge=M&&!i.length&&A&&typeof A=="string"?e.createElement("div",{className:`${E}-inline-collapsed-noicon`},A.charAt(0)):e.createElement("span",{className:`${E}-title-content`},A);else{const O=e.isValidElement(A)&&A.type==="span";ge=e.createElement(e.Fragment,null,(0,l.Tm)($,{className:p()(e.isValidElement($)?(n=$.props)===null||n===void 0?void 0:n.className:"",`${E}-item-icon`)}),O?A:e.createElement("span",{className:`${E}-title-content`},A))}const V=e.useMemo(()=>Object.assign(Object.assign({},C),{firstLevel:!1}),[C]),[Z]=(0,Q.Cn)("Menu");return e.createElement(de.Provider,{value:V},e.createElement(B.Wd,Object.assign({},(0,w.Z)(y,["icon"]),{title:ge,popupClassName:p()(E,r,`${E}-${m||a}`),popupStyle:Object.assign({zIndex:Z},y.popupStyle)})))},Ae=function(y,n){var r={};for(var $ in y)Object.prototype.hasOwnProperty.call(y,$)&&n.indexOf($)<0&&(r[$]=y[$]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,$=Object.getOwnPropertySymbols(y);A<$.length;A++)n.indexOf($[A])<0&&Object.prototype.propertyIsEnumerable.call(y,$[A])&&(r[$[A]]=y[$[A]]);return r};function k(y){return y===null||y===!1}const b={item:v,submenu:_,divider:ne};var R=(0,e.forwardRef)((y,n)=>{var r;const $=e.useContext(s.Z),A=$||{},{getPrefixCls:m,getPopupContainer:C,direction:E,menu:M}=e.useContext(ee.E_),a=m(),{prefixCls:i,className:ge,style:V,theme:Z="light",expandIcon:O,_internalDisableMenuItemTitleTooltip:u,inlineCollapsed:T,siderCollapsed:j,rootClassName:oe,mode:Ee,selectable:ue,onClick:me,overflowedIndicatorPopupClassName:re}=y,je=Ae(y,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),_e=(0,w.Z)(je,["collapsedWidth"]);(r=A.validator)===null||r===void 0||r.call(A,{mode:Ee});const Ke=(0,P.Z)(function(){var Ue;me==null||me.apply(void 0,arguments),(Ue=A.onClick)===null||Ue===void 0||Ue.call(A)}),nt=A.mode||Ee,it=ue!=null?ue:A.selectable,ut=T!=null?T:j,dt={horizontal:{motionName:`${a}-slide-up`},inline:(0,ce.Z)(a),other:{motionName:`${a}-zoom-big`}},Be=m("menu",i||A.prefixCls),te=(0,d.Z)(Be),[ze,$e,Je]=Re(Be,te,!$),He=p()(`${Be}-${Z}`,M==null?void 0:M.className,ge),Ye=e.useMemo(()=>{var Ue,vt;if(typeof O=="function"||k(O))return O||null;if(typeof A.expandIcon=="function"||k(A.expandIcon))return A.expandIcon||null;if(typeof(M==null?void 0:M.expandIcon)=="function"||k(M==null?void 0:M.expandIcon))return(M==null?void 0:M.expandIcon)||null;const St=(Ue=O!=null?O:A==null?void 0:A.expandIcon)!==null&&Ue!==void 0?Ue:M==null?void 0:M.expandIcon;return(0,l.Tm)(St,{className:p()(`${Be}-submenu-expand-icon`,e.isValidElement(St)?(vt=St.props)===null||vt===void 0?void 0:vt.className:void 0)})},[O,A==null?void 0:A.expandIcon,M==null?void 0:M.expandIcon,Be]),ot=e.useMemo(()=>({prefixCls:Be,inlineCollapsed:ut||!1,direction:E,firstLevel:!0,theme:Z,mode:nt,disableMenuItemTitleTooltip:u}),[Be,ut,E,u,Z]);return ze(e.createElement(s.Z.Provider,{value:null},e.createElement(de.Provider,{value:ot},e.createElement(B.ZP,Object.assign({getPopupContainer:C,overflowedIndicator:e.createElement(se.Z,null),overflowedIndicatorPopupClassName:p()(Be,`${Be}-${Z}`,re),mode:nt,selectable:it,onClick:Ke},_e,{inlineCollapsed:ut,style:Object.assign(Object.assign({},M==null?void 0:M.style),V),className:He,prefixCls:Be,direction:E,defaultMotions:dt,expandIcon:Ye,ref:n,rootClassName:p()(oe,$e,A.rootClassName,Je,te),_internalComponents:b})))))});const g=(0,e.forwardRef)((y,n)=>{const r=(0,e.useRef)(null),$=e.useContext(S.D);return(0,e.useImperativeHandle)(n,()=>({menu:r.current,focus:A=>{var m;(m=r.current)===null||m===void 0||m.focus(A)}})),e.createElement(R,Object.assign({ref:r},y,$))});g.Item=v,g.SubMenu=_,g.Divider=ne,g.ItemGroup=B.BW;var U=g},31709:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return M}});var e=t(59301),B=t(60499),S={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"},se=S,le=t(7657),p=function(i,ge){return e.createElement(le.Z,(0,B.Z)({},i,{ref:ge,icon:se}))},P=e.forwardRef(p),w=P,ce=t(49198),l=t(33853),ee=t(38819),d=t(92310),ae=t.n(d),de=t(18642),he=t(43749),X=t(85899),ne=t(72190),q=t(18929),ie=t(10228),Ce=t(26112),v=t(48736),s=t(17119),f=[10,20,50,100],x=function(i){var ge=i.pageSizeOptions,V=ge===void 0?f:ge,Z=i.locale,O=i.changeSize,u=i.pageSize,T=i.goButton,j=i.quickGo,oe=i.rootPrefixCls,Ee=i.disabled,ue=i.buildOptionText,me=i.showSizeChanger,re=i.sizeChangerRender,je=e.useState(""),_e=(0,ne.Z)(je,2),Ke=_e[0],nt=_e[1],it=function(){return!Ke||Number.isNaN(Ke)?void 0:Number(Ke)},ut=typeof ue=="function"?ue:function(ot){return"".concat(ot," ").concat(Z.items_per_page)},dt=function(Ue){nt(Ue.target.value)},Be=function(Ue){T||Ke===""||(nt(""),!(Ue.relatedTarget&&(Ue.relatedTarget.className.indexOf("".concat(oe,"-item-link"))>=0||Ue.relatedTarget.className.indexOf("".concat(oe,"-item"))>=0))&&(j==null||j(it())))},te=function(Ue){Ke!==""&&(Ue.keyCode===ie.Z.ENTER||Ue.type==="click")&&(nt(""),j==null||j(it()))},ze=function(){return V.some(function(Ue){return Ue.toString()===u.toString()})?V:V.concat([u]).sort(function(Ue,vt){var St=Number.isNaN(Number(Ue))?0:Number(Ue),Jt=Number.isNaN(Number(vt))?0:Number(vt);return St-Jt})},$e="".concat(oe,"-options");if(!me&&!j)return null;var Je=null,He=null,Ye=null;return me&&re&&(Je=re({disabled:Ee,size:u,onSizeChange:function(Ue){O==null||O(Number(Ue))},"aria-label":Z.page_size,className:"".concat($e,"-size-changer"),options:ze().map(function(ot){return{label:ut(ot),value:ot}})})),j&&(T&&(Ye=typeof T=="boolean"?e.createElement("button",{type:"button",onClick:te,onKeyUp:te,disabled:Ee,className:"".concat($e,"-quick-jumper-button")},Z.jump_to_confirm):e.createElement("span",{onClick:te,onKeyUp:te},T)),He=e.createElement("div",{className:"".concat($e,"-quick-jumper")},Z.jump_to,e.createElement("input",{disabled:Ee,type:"text",value:Ke,onChange:dt,onKeyUp:te,onBlur:Be,"aria-label":Z.page}),Z.page,Ye)),e.createElement("li",{className:$e},Je,He)},c=x,z=function(i){var ge=i.rootPrefixCls,V=i.page,Z=i.active,O=i.className,u=i.showTitle,T=i.onClick,j=i.onKeyPress,oe=i.itemRender,Ee="".concat(ge,"-item"),ue=ae()(Ee,"".concat(Ee,"-").concat(V),(0,de.Z)((0,de.Z)({},"".concat(Ee,"-active"),Z),"".concat(Ee,"-disabled"),!V),O),me=function(){T(V)},re=function(Ke){j(Ke,T,V)},je=oe(V,"page",e.createElement("a",{rel:"nofollow"},V));return je?e.createElement("li",{title:u?String(V):null,className:ue,onClick:me,onKeyDown:re,tabIndex:0},je):null},F=z,H=function(i,ge,V){return V};function K(){}function W(a){var i=Number(a);return typeof i=="number"&&!Number.isNaN(i)&&isFinite(i)&&Math.floor(i)===i}function h(a,i,ge){var V=typeof a=="undefined"?i:a;return Math.floor((ge-1)/V)+1}var o=function(i){var ge=i.prefixCls,V=ge===void 0?"rc-pagination":ge,Z=i.selectPrefixCls,O=Z===void 0?"rc-select":Z,u=i.className,T=i.current,j=i.defaultCurrent,oe=j===void 0?1:j,Ee=i.total,ue=Ee===void 0?0:Ee,me=i.pageSize,re=i.defaultPageSize,je=re===void 0?10:re,_e=i.onChange,Ke=_e===void 0?K:_e,nt=i.hideOnSinglePage,it=i.align,ut=i.showPrevNextJumpers,dt=ut===void 0?!0:ut,Be=i.showQuickJumper,te=i.showLessItems,ze=i.showTitle,$e=ze===void 0?!0:ze,Je=i.onShowSizeChange,He=Je===void 0?K:Je,Ye=i.locale,ot=Ye===void 0?s.Z:Ye,Ue=i.style,vt=i.totalBoundaryShowSizeChanger,St=vt===void 0?50:vt,Jt=i.disabled,Mt=i.simple,xt=i.showTotal,Nt=i.showSizeChanger,qt=Nt===void 0?ue>St:Nt,Qt=i.sizeChangerRender,Ve=i.pageSizeOptions,Le=i.itemRender,mt=Le===void 0?H:Le,Ot=i.jumpPrevIcon,L=i.jumpNextIcon,D=i.prevIcon,Te=i.nextIcon,Pe=e.useRef(null),Me=(0,q.Z)(10,{value:me,defaultValue:je}),We=(0,ne.Z)(Me,2),De=We[0],Xe=We[1],qe=(0,q.Z)(1,{value:T,defaultValue:oe,postState:function(Pt){return Math.max(1,Math.min(Pt,h(void 0,De,ue)))}}),tt=(0,ne.Z)(qe,2),Ne=tt[0],Fe=tt[1],et=e.useState(Ne),Ge=(0,ne.Z)(et,2),at=Ge[0],st=Ge[1];(0,e.useEffect)(function(){st(Ne)},[Ne]);var ht=Ke!==K,Rt="current"in i,en=Math.max(1,Ne-(te?3:5)),Kt=Math.min(h(void 0,De,ue),Ne+(te?3:5));function Dt(yt,Pt){var an=yt||e.createElement("button",{type:"button","aria-label":Pt,className:"".concat(V,"-item-link")});return typeof yt=="function"&&(an=e.createElement(yt,(0,X.Z)({},i))),an}function Wt(yt){var Pt=yt.target.value,an=h(void 0,De,ue),fn;return Pt===""?fn=Pt:Number.isNaN(Number(Pt))?fn=at:Pt>=an?fn=an:fn=Number(Pt),fn}function At(yt){return W(yt)&&yt!==Ne&&W(ue)&&ue>0}var Xt=ue>De?Be:!1;function ln(yt){(yt.keyCode===ie.Z.UP||yt.keyCode===ie.Z.DOWN)&&yt.preventDefault()}function Lt(yt){var Pt=Wt(yt);switch(Pt!==at&&st(Pt),yt.keyCode){case ie.Z.ENTER:$t(Pt);break;case ie.Z.UP:$t(Pt-1);break;case ie.Z.DOWN:$t(Pt+1);break;default:break}}function kt(yt){$t(Wt(yt))}function tn(yt){var Pt=h(yt,De,ue),an=Ne>Pt&&Pt!==0?Pt:Ne;Xe(yt),st(an),He==null||He(Ne,yt),Fe(an),Ke==null||Ke(an,yt)}function $t(yt){if(At(yt)&&!Jt){var Pt=h(void 0,De,ue),an=yt;return yt>Pt?an=Pt:yt<1&&(an=1),an!==at&&st(an),Fe(an),Ke==null||Ke(an,De),an}return Ne}var Vt=Ne>1,Gt=Ne<h(void 0,De,ue);function _t(){Vt&&$t(Ne-1)}function Yt(){Gt&&$t(Ne+1)}function on(){$t(en)}function Qe(){$t(Kt)}function gt(yt,Pt){if(yt.key==="Enter"||yt.charCode===ie.Z.ENTER||yt.keyCode===ie.Z.ENTER){for(var an=arguments.length,fn=new Array(an>2?an-2:0),Hn=2;Hn<an;Hn++)fn[Hn-2]=arguments[Hn];Pt.apply(void 0,fn)}}function Ct(yt){gt(yt,_t)}function wt(yt){gt(yt,Yt)}function Ht(yt){gt(yt,on)}function pn(yt){gt(yt,Qe)}function hn(yt){var Pt=mt(yt,"prev",Dt(D,"prev page"));return e.isValidElement(Pt)?e.cloneElement(Pt,{disabled:!Vt}):Pt}function rn(yt){var Pt=mt(yt,"next",Dt(Te,"next page"));return e.isValidElement(Pt)?e.cloneElement(Pt,{disabled:!Gt}):Pt}function Cn(yt){(yt.type==="click"||yt.keyCode===ie.Z.ENTER)&&$t(at)}var sn=null,Mn=(0,Ce.Z)(i,{aria:!0,data:!0}),wn=xt&&e.createElement("li",{className:"".concat(V,"-total-text")},xt(ue,[ue===0?0:(Ne-1)*De+1,Ne*De>ue?ue:Ne*De])),cn=null,ft=h(void 0,De,ue);if(nt&&ue<=De)return null;var Ze=[],ke={rootPrefixCls:V,onClick:$t,onKeyPress:gt,showTitle:$e,itemRender:mt,page:-1},ct=Ne-1>0?Ne-1:0,lt=Ne+1<ft?Ne+1:ft,pt=Be&&Be.goButton,zt=(0,he.Z)(Mt)==="object"?Mt.readOnly:!Mt,Tt=pt,Ft=null;Mt&&(pt&&(typeof pt=="boolean"?Tt=e.createElement("button",{type:"button",onClick:Cn,onKeyUp:Cn},ot.jump_to_confirm):Tt=e.createElement("span",{onClick:Cn,onKeyUp:Cn},pt),Tt=e.createElement("li",{title:$e?"".concat(ot.jump_to).concat(Ne,"/").concat(ft):null,className:"".concat(V,"-simple-pager")},Tt)),Ft=e.createElement("li",{title:$e?"".concat(Ne,"/").concat(ft):null,className:"".concat(V,"-simple-pager")},zt?at:e.createElement("input",{type:"text","aria-label":ot.jump_to,value:at,disabled:Jt,onKeyDown:ln,onKeyUp:Lt,onChange:Lt,onBlur:kt,size:3}),e.createElement("span",{className:"".concat(V,"-slash")},"/"),ft));var nn=te?1:2;if(ft<=3+nn*2){ft||Ze.push(e.createElement(F,(0,B.Z)({},ke,{key:"noPager",page:1,className:"".concat(V,"-item-disabled")})));for(var vn=1;vn<=ft;vn+=1)Ze.push(e.createElement(F,(0,B.Z)({},ke,{key:vn,page:vn,active:Ne===vn})))}else{var xn=te?ot.prev_3:ot.prev_5,$n=te?ot.next_3:ot.next_5,dn=mt(en,"jump-prev",Dt(Ot,"prev page")),Fn=mt(Kt,"jump-next",Dt(L,"next page"));dt&&(sn=dn?e.createElement("li",{title:$e?xn:null,key:"prev",onClick:on,tabIndex:0,onKeyDown:Ht,className:ae()("".concat(V,"-jump-prev"),(0,de.Z)({},"".concat(V,"-jump-prev-custom-icon"),!!Ot))},dn):null,cn=Fn?e.createElement("li",{title:$e?$n:null,key:"next",onClick:Qe,tabIndex:0,onKeyDown:pn,className:ae()("".concat(V,"-jump-next"),(0,de.Z)({},"".concat(V,"-jump-next-custom-icon"),!!L))},Fn):null);var Tn=Math.max(1,Ne-nn),In=Math.min(Ne+nn,ft);Ne-1<=nn&&(In=1+nn*2),ft-Ne<=nn&&(Tn=ft-nn*2);for(var gn=Tn;gn<=In;gn+=1)Ze.push(e.createElement(F,(0,B.Z)({},ke,{key:gn,page:gn,active:Ne===gn})));if(Ne-1>=nn*2&&Ne!==3&&(Ze[0]=e.cloneElement(Ze[0],{className:ae()("".concat(V,"-item-after-jump-prev"),Ze[0].props.className)}),Ze.unshift(sn)),ft-Ne>=nn*2&&Ne!==ft-2){var Sn=Ze[Ze.length-1];Ze[Ze.length-1]=e.cloneElement(Sn,{className:ae()("".concat(V,"-item-before-jump-next"),Sn.props.className)}),Ze.push(cn)}Tn!==1&&Ze.unshift(e.createElement(F,(0,B.Z)({},ke,{key:1,page:1}))),In!==ft&&Ze.push(e.createElement(F,(0,B.Z)({},ke,{key:ft,page:ft})))}var mn=hn(ct);if(mn){var Rn=!Vt||!ft;mn=e.createElement("li",{title:$e?ot.prev_page:null,onClick:_t,tabIndex:Rn?null:0,onKeyDown:Ct,className:ae()("".concat(V,"-prev"),(0,de.Z)({},"".concat(V,"-disabled"),Rn)),"aria-disabled":Rn},mn)}var Zn=rn(lt);if(Zn){var Pn,On;Mt?(Pn=!Gt,On=Vt?0:null):(Pn=!Gt||!ft,On=Pn?null:0),Zn=e.createElement("li",{title:$e?ot.next_page:null,onClick:Yt,tabIndex:On,onKeyDown:wt,className:ae()("".concat(V,"-next"),(0,de.Z)({},"".concat(V,"-disabled"),Pn)),"aria-disabled":Pn},Zn)}var Bn=ae()(V,u,(0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)((0,de.Z)({},"".concat(V,"-start"),it==="start"),"".concat(V,"-center"),it==="center"),"".concat(V,"-end"),it==="end"),"".concat(V,"-simple"),Mt),"".concat(V,"-disabled"),Jt));return e.createElement("ul",(0,B.Z)({className:Bn,style:Ue,ref:Pe},Mn),wn,mn,Mt?Ft:Ze,Zn,e.createElement(c,{locale:ot,rootPrefixCls:V,disabled:Jt,selectPrefixCls:O,changeSize:tn,pageSize:De,pageSizeOptions:Ve,quickGo:Xt?$t:null,goButton:Tt,showSizeChanger:qt,sizeChangerRender:Qt}))},Y=o,I=t(61852),xe=t(48755),Ie=t(31756),ye=t(13783),fe=t(9017),we=t(82326),be=t(57700),Se=t(36237),G=t(53075),ve=t(64910),J=t(39082),Re=t(63356),Q=t(51636),pe=t(16931);const _=a=>{const{componentCls:i}=a;return{[`${i}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${i}-item-link`]:{color:a.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${i}-item-link`]:{color:a.colorTextDisabled,cursor:"not-allowed"}}},[`&${i}-disabled`]:{cursor:"not-allowed",[`${i}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:a.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:a.colorBorder,backgroundColor:a.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:a.itemActiveBgDisabled},a:{color:a.itemActiveColorDisabled}}},[`${i}-item-link`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${i}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${i}-simple-pager`]:{color:a.colorTextDisabled},[`${i}-jump-prev, ${i}-jump-next`]:{[`${i}-item-link-icon`]:{opacity:0},[`${i}-item-ellipsis`]:{opacity:1}}},[`&${i}-simple`]:{[`${i}-prev, ${i}-next`]:{[`&${i}-disabled ${i}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ae=a=>{const{componentCls:i}=a;return{[`&${i}-mini ${i}-total-text, &${i}-mini ${i}-simple-pager`]:{height:a.itemSizeSM,lineHeight:(0,Se.unit)(a.itemSizeSM)},[`&${i}-mini ${i}-item`]:{minWidth:a.itemSizeSM,height:a.itemSizeSM,margin:0,lineHeight:(0,Se.unit)(a.calc(a.itemSizeSM).sub(2).equal())},[`&${i}-mini ${i}-prev, &${i}-mini ${i}-next`]:{minWidth:a.itemSizeSM,height:a.itemSizeSM,margin:0,lineHeight:(0,Se.unit)(a.itemSizeSM)},[`&${i}-mini:not(${i}-disabled)`]:{[`${i}-prev, ${i}-next`]:{[`&:hover ${i}-item-link`]:{backgroundColor:a.colorBgTextHover},[`&:active ${i}-item-link`]:{backgroundColor:a.colorBgTextActive},[`&${i}-disabled:hover ${i}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${i}-mini ${i}-prev ${i}-item-link,
|
|
&${i}-mini ${i}-next ${i}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:a.itemSizeSM,lineHeight:(0,Se.unit)(a.itemSizeSM)}},[`&${i}-mini ${i}-jump-prev, &${i}-mini ${i}-jump-next`]:{height:a.itemSizeSM,marginInlineEnd:0,lineHeight:(0,Se.unit)(a.itemSizeSM)},[`&${i}-mini ${i}-options`]:{marginInlineStart:a.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:a.miniOptionsSizeChangerTop},"&-quick-jumper":{height:a.itemSizeSM,lineHeight:(0,Se.unit)(a.itemSizeSM),input:Object.assign(Object.assign({},(0,G.x0)(a)),{width:a.paginationMiniQuickJumperInputWidth,height:a.controlHeightSM})}}}},k=a=>{const{componentCls:i}=a;return{[`
|
|
&${i}-simple ${i}-prev,
|
|
&${i}-simple ${i}-next
|
|
`]:{height:a.itemSizeSM,lineHeight:(0,Se.unit)(a.itemSizeSM),verticalAlign:"top",[`${i}-item-link`]:{height:a.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:a.colorBgTextHover},"&:active":{backgroundColor:a.colorBgTextActive},"&::after":{height:a.itemSizeSM,lineHeight:(0,Se.unit)(a.itemSizeSM)}}},[`&${i}-simple ${i}-simple-pager`]:{display:"inline-block",height:a.itemSizeSM,marginInlineEnd:a.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,Se.unit)(a.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:a.itemInputBg,border:`${(0,Se.unit)(a.lineWidth)} ${a.lineType} ${a.colorBorder}`,borderRadius:a.borderRadius,outline:"none",transition:`border-color ${a.motionDurationMid}`,color:"inherit","&:hover":{borderColor:a.colorPrimary},"&:focus":{borderColor:a.colorPrimaryHover,boxShadow:`${(0,Se.unit)(a.inputOutlineOffset)} 0 ${(0,Se.unit)(a.controlOutlineWidth)} ${a.controlOutline}`},"&[disabled]":{color:a.colorTextDisabled,backgroundColor:a.colorBgContainerDisabled,borderColor:a.colorBorder,cursor:"not-allowed"}}}}},b=a=>{const{componentCls:i}=a;return{[`${i}-jump-prev, ${i}-jump-next`]:{outline:0,[`${i}-item-container`]:{position:"relative",[`${i}-item-link-icon`]:{color:a.colorPrimary,fontSize:a.fontSizeSM,opacity:0,transition:`all ${a.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${i}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:a.colorTextDisabled,letterSpacing:a.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:a.paginationEllipsisTextIndent,opacity:1,transition:`all ${a.motionDurationMid}`}},"&:hover":{[`${i}-item-link-icon`]:{opacity:1},[`${i}-item-ellipsis`]:{opacity:0}}},[`
|
|
${i}-prev,
|
|
${i}-jump-prev,
|
|
${i}-jump-next
|
|
`]:{marginInlineEnd:a.marginXS},[`
|
|
${i}-prev,
|
|
${i}-next,
|
|
${i}-jump-prev,
|
|
${i}-jump-next
|
|
`]:{display:"inline-block",minWidth:a.itemSize,height:a.itemSize,color:a.colorText,fontFamily:a.fontFamily,lineHeight:(0,Se.unit)(a.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}`},[`${i}-prev, ${i}-next`]:{outline:0,button:{color:a.colorText,cursor:"pointer",userSelect:"none"},[`${i}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:a.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,Se.unit)(a.lineWidth)} ${a.lineType} transparent`,borderRadius:a.borderRadius,outline:"none",transition:`all ${a.motionDurationMid}`},[`&:hover ${i}-item-link`]:{backgroundColor:a.colorBgTextHover},[`&:active ${i}-item-link`]:{backgroundColor:a.colorBgTextActive},[`&${i}-disabled:hover`]:{[`${i}-item-link`]:{backgroundColor:"transparent"}}},[`${i}-slash`]:{marginInlineEnd:a.paginationSlashMarginInlineEnd,marginInlineStart:a.paginationSlashMarginInlineStart},[`${i}-options`]:{display:"inline-block",marginInlineStart:a.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:a.controlHeight,marginInlineStart:a.marginXS,lineHeight:(0,Se.unit)(a.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,G.ik)(a)),(0,J.$U)(a,{borderColor:a.colorBorder,hoverBorderColor:a.colorPrimaryHover,activeBorderColor:a.colorPrimary,activeShadow:a.activeShadow})),{"&[disabled]":Object.assign({},(0,J.Xy)(a)),width:a.calc(a.controlHeightLG).mul(1.25).equal(),height:a.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:a.marginXS,marginInlineEnd:a.marginXS})}}}},N=a=>{const{componentCls:i}=a;return{[`${i}-item`]:{display:"inline-block",minWidth:a.itemSize,height:a.itemSize,marginInlineEnd:a.marginXS,fontFamily:a.fontFamily,lineHeight:(0,Se.unit)(a.calc(a.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:a.itemBg,border:`${(0,Se.unit)(a.lineWidth)} ${a.lineType} transparent`,borderRadius:a.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,Se.unit)(a.paginationItemPaddingInline)}`,color:a.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${i}-item-active)`]:{"&:hover":{transition:`all ${a.motionDurationMid}`,backgroundColor:a.colorBgTextHover},"&:active":{backgroundColor:a.colorBgTextActive}},"&-active":{fontWeight:a.fontWeightStrong,backgroundColor:a.itemActiveBg,borderColor:a.colorPrimary,a:{color:a.colorPrimary},"&:hover":{borderColor:a.colorPrimaryHover},"&:hover a":{color:a.colorPrimaryHover}}}}},R=a=>{const{componentCls:i}=a;return{[i]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Re.Wf)(a)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${i}-total-text`]:{display:"inline-block",height:a.itemSize,marginInlineEnd:a.marginXS,lineHeight:(0,Se.unit)(a.calc(a.itemSize).sub(2).equal()),verticalAlign:"middle"}}),N(a)),b(a)),k(a)),Ae(a)),_(a)),{[`@media only screen and (max-width: ${a.screenLG}px)`]:{[`${i}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${a.screenSM}px)`]:{[`${i}-options`]:{display:"none"}}}),[`&${a.componentCls}-rtl`]:{direction:"rtl"}}},g=a=>{const{componentCls:i}=a;return{[`${i}:not(${i}-disabled)`]:{[`${i}-item`]:Object.assign({},(0,Re.Qy)(a)),[`${i}-jump-prev, ${i}-jump-next`]:{"&:focus-visible":Object.assign({[`${i}-item-link-icon`]:{opacity:1},[`${i}-item-ellipsis`]:{opacity:0}},(0,Re.oN)(a))},[`${i}-prev, ${i}-next`]:{[`&:focus-visible ${i}-item-link`]:Object.assign({},(0,Re.oN)(a))}}}},U=a=>Object.assign({itemBg:a.colorBgContainer,itemSize:a.controlHeight,itemSizeSM:a.controlHeightSM,itemActiveBg:a.colorBgContainer,itemLinkBg:a.colorBgContainer,itemActiveColorDisabled:a.colorTextDisabled,itemActiveBgDisabled:a.controlItemBgActiveDisabled,itemInputBg:a.colorBgContainer,miniOptionsSizeChangerTop:0},(0,ve.T)(a)),y=a=>(0,Q.mergeToken)(a,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:a.calc(a.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:a.calc(a.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:a.calc(a.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:a.calc(a.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:a.marginSM,paginationSlashMarginInlineEnd:a.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ve.e)(a));var n=(0,pe.I$)("Pagination",a=>{const i=y(a);return[R(i),g(i)]},U);const r=a=>{const{componentCls:i}=a;return{[`${i}${i}-bordered${i}-disabled:not(${i}-mini)`]:{"&, &:hover":{[`${i}-item-link`]:{borderColor:a.colorBorder}},"&:focus-visible":{[`${i}-item-link`]:{borderColor:a.colorBorder}},[`${i}-item, ${i}-item-link`]:{backgroundColor:a.colorBgContainerDisabled,borderColor:a.colorBorder,[`&:hover:not(${i}-item-active)`]:{backgroundColor:a.colorBgContainerDisabled,borderColor:a.colorBorder,a:{color:a.colorTextDisabled}},[`&${i}-item-active`]:{backgroundColor:a.itemActiveBgDisabled}},[`${i}-prev, ${i}-next`]:{"&:hover button":{backgroundColor:a.colorBgContainerDisabled,borderColor:a.colorBorder,color:a.colorTextDisabled},[`${i}-item-link`]:{backgroundColor:a.colorBgContainerDisabled,borderColor:a.colorBorder}}},[`${i}${i}-bordered:not(${i}-mini)`]:{[`${i}-prev, ${i}-next`]:{"&:hover button":{borderColor:a.colorPrimaryHover,backgroundColor:a.itemBg},[`${i}-item-link`]:{backgroundColor:a.itemLinkBg,borderColor:a.colorBorder},[`&:hover ${i}-item-link`]:{borderColor:a.colorPrimary,backgroundColor:a.itemBg,color:a.colorPrimary},[`&${i}-disabled`]:{[`${i}-item-link`]:{borderColor:a.colorBorder,color:a.colorTextDisabled}}},[`${i}-item`]:{backgroundColor:a.itemBg,border:`${(0,Se.unit)(a.lineWidth)} ${a.lineType} ${a.colorBorder}`,[`&:hover:not(${i}-item-active)`]:{borderColor:a.colorPrimary,backgroundColor:a.itemBg,a:{color:a.colorPrimary}},"&-active":{borderColor:a.colorPrimary}}}}};var $=(0,pe.bk)(["Pagination","bordered"],a=>{const i=y(a);return[r(i)]},U);function A(a){return(0,e.useMemo)(()=>typeof a=="boolean"?[a,{}]:a&&typeof a=="object"?[!0,a]:[void 0,void 0],[a])}var m=function(a,i){var ge={};for(var V in a)Object.prototype.hasOwnProperty.call(a,V)&&i.indexOf(V)<0&&(ge[V]=a[V]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,V=Object.getOwnPropertySymbols(a);Z<V.length;Z++)i.indexOf(V[Z])<0&&Object.prototype.propertyIsEnumerable.call(a,V[Z])&&(ge[V[Z]]=a[V[Z]]);return ge},E=a=>{const{align:i,prefixCls:ge,selectPrefixCls:V,className:Z,rootClassName:O,style:u,size:T,locale:j,responsive:oe,showSizeChanger:Ee,selectComponentClass:ue,pageSizeOptions:me}=a,re=m(a,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:je}=(0,ye.Z)(oe),[,_e]=(0,be.ZP)(),{getPrefixCls:Ke,direction:nt,showSizeChanger:it,className:ut,style:dt}=(0,xe.dj)("pagination"),Be=Ke("pagination",ge),[te,ze,$e]=n(Be),Je=(0,Ie.Z)(T),He=Je==="small"||!!(je&&!Je&&oe),[Ye]=(0,fe.Z)("Pagination",I.Z),ot=Object.assign(Object.assign({},Ye),j),[Ue,vt]=A(Ee),[St,Jt]=A(it),Mt=Ue!=null?Ue:St,xt=vt!=null?vt:Jt,Nt=ue||we.default,qt=e.useMemo(()=>me?me.map(L=>Number(L)):void 0,[me]),Qt=L=>{var D;const{disabled:Te,size:Pe,onSizeChange:Me,"aria-label":We,className:De,options:Xe}=L,{className:qe,onChange:tt}=xt||{},Ne=(D=Xe.find(Fe=>String(Fe.value)===String(Pe)))===null||D===void 0?void 0:D.value;return e.createElement(Nt,Object.assign({disabled:Te,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Fe=>Fe.parentNode,"aria-label":We,options:Xe},xt,{value:Ne,onChange:(Fe,et)=>{Me==null||Me(Fe),tt==null||tt(Fe,et)},size:He?"small":"middle",className:ae()(De,qe)}))},Ve=e.useMemo(()=>{const L=e.createElement("span",{className:`${Be}-item-ellipsis`},"\u2022\u2022\u2022"),D=e.createElement("button",{className:`${Be}-item-link`,type:"button",tabIndex:-1},nt==="rtl"?e.createElement(ee.Z,null):e.createElement(l.Z,null)),Te=e.createElement("button",{className:`${Be}-item-link`,type:"button",tabIndex:-1},nt==="rtl"?e.createElement(l.Z,null):e.createElement(ee.Z,null)),Pe=e.createElement("a",{className:`${Be}-item-link`},e.createElement("div",{className:`${Be}-item-container`},nt==="rtl"?e.createElement(ce.Z,{className:`${Be}-item-link-icon`}):e.createElement(w,{className:`${Be}-item-link-icon`}),L)),Me=e.createElement("a",{className:`${Be}-item-link`},e.createElement("div",{className:`${Be}-item-container`},nt==="rtl"?e.createElement(w,{className:`${Be}-item-link-icon`}):e.createElement(ce.Z,{className:`${Be}-item-link-icon`}),L));return{prevIcon:D,nextIcon:Te,jumpPrevIcon:Pe,jumpNextIcon:Me}},[nt,Be]),Le=Ke("select",V),mt=ae()({[`${Be}-${i}`]:!!i,[`${Be}-mini`]:He,[`${Be}-rtl`]:nt==="rtl",[`${Be}-bordered`]:_e.wireframe},ut,Z,O,ze,$e),Ot=Object.assign(Object.assign({},dt),u);return te(e.createElement(e.Fragment,null,_e.wireframe&&e.createElement($,{prefixCls:Be}),e.createElement(Y,Object.assign({},Ve,re,{style:Ot,prefixCls:Be,selectPrefixCls:Le,className:mt,locale:ot,pageSizeOptions:qt,showSizeChanger:Mt,sizeChangerRender:Qt}))))},M=E},69106:function(rt,Oe,t){"use strict";t.d(Oe,{aV:function(){return ce},t5:function(){return l}});var e=t(59301),B=t(92310),S=t.n(B),se=t(29125),le=t(54500),p=t(48755),P=t(85074),w=function(d,ae){var de={};for(var he in d)Object.prototype.hasOwnProperty.call(d,he)&&ae.indexOf(he)<0&&(de[he]=d[he]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,he=Object.getOwnPropertySymbols(d);X<he.length;X++)ae.indexOf(he[X])<0&&Object.prototype.propertyIsEnumerable.call(d,he[X])&&(de[he[X]]=d[he[X]]);return de};const ce=d=>{let{title:ae,content:de,prefixCls:he}=d;return!ae&&!de?null:e.createElement(e.Fragment,null,ae&&e.createElement("div",{className:`${he}-title`},ae),de&&e.createElement("div",{className:`${he}-inner-content`},de))},l=d=>{const{hashId:ae,prefixCls:de,className:he,style:X,placement:ne="top",title:q,content:ie,children:Ce}=d,v=(0,le.Z)(q),s=(0,le.Z)(ie),f=S()(ae,de,`${de}-pure`,`${de}-placement-${ne}`,he);return e.createElement("div",{className:f,style:X},e.createElement("div",{className:`${de}-arrow`}),e.createElement(se.G,Object.assign({},d,{className:ae,prefixCls:de}),Ce||e.createElement(ce,{prefixCls:de,title:v,content:s})))},ee=d=>{const{prefixCls:ae,className:de}=d,he=w(d,["prefixCls","className"]),{getPrefixCls:X}=e.useContext(p.E_),ne=X("popover",ae),[q,ie,Ce]=(0,P.Z)(ne);return q(e.createElement(l,Object.assign({},he,{prefixCls:ne,hashId:ie,className:S()(de,Ce)})))};Oe.ZP=ee},37639:function(rt,Oe,t){"use strict";var e=t(59301),B=t(92310),S=t.n(B),se=t(18929),le=t(10228),p=t(54500),P=t(86641),w=t(22703),ce=t(25399),l=t(69106),ee=t(48755),d=t(85074),ae=function(X,ne){var q={};for(var ie in X)Object.prototype.hasOwnProperty.call(X,ie)&&ne.indexOf(ie)<0&&(q[ie]=X[ie]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,ie=Object.getOwnPropertySymbols(X);Ce<ie.length;Ce++)ne.indexOf(ie[Ce])<0&&Object.prototype.propertyIsEnumerable.call(X,ie[Ce])&&(q[ie[Ce]]=X[ie[Ce]]);return q};const he=e.forwardRef((X,ne)=>{var q,ie;const{prefixCls:Ce,title:v,content:s,overlayClassName:f,placement:x="top",trigger:c="hover",children:z,mouseEnterDelay:F=.1,mouseLeaveDelay:H=.1,onOpenChange:K,overlayStyle:W={},styles:h,classNames:o}=X,Y=ae(X,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:I,className:xe,style:Ie,classNames:ye,styles:fe}=(0,ee.dj)("popover"),we=I("popover",Ce),[be,Se,G]=(0,d.Z)(we),ve=I(),J=S()(f,Se,G,xe,ye.root,o==null?void 0:o.root),Re=S()(ye.body,o==null?void 0:o.body),[Q,pe]=(0,se.Z)(!1,{value:(q=X.open)!==null&&q!==void 0?q:X.visible,defaultValue:(ie=X.defaultOpen)!==null&&ie!==void 0?ie:X.defaultVisible}),_=(R,g)=>{pe(R,!0),K==null||K(R,g)},Ae=R=>{R.keyCode===le.Z.ESC&&_(!1,R)},k=R=>{_(R)},b=(0,p.Z)(v),N=(0,p.Z)(s);return be(e.createElement(ce.Z,Object.assign({placement:x,trigger:c,mouseEnterDelay:F,mouseLeaveDelay:H},Y,{prefixCls:we,classNames:{root:J,body:Re},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},fe.root),Ie),W),h==null?void 0:h.root),body:Object.assign(Object.assign({},fe.body),h==null?void 0:h.body)},ref:ne,open:Q,onOpenChange:k,overlay:b||N?e.createElement(l.aV,{prefixCls:we,title:b,content:N}):null,transitionName:(0,P.m)(ve,"zoom-big",Y.transitionName),"data-popover-inject":!0}),(0,w.Tm)(z,{onKeyDown:R=>{var g,U;e.isValidElement(z)&&((U=z==null?void 0:(g=z.props).onKeyDown)===null||U===void 0||U.call(g,R)),Ae(R)}})))});he._InternalPanelDoNotUseOrYouWillBeFired=l.ZP,Oe.Z=he},85074:function(rt,Oe,t){"use strict";var e=t(63356),B=t(34925),S=t(37645),se=t(36305),le=t(34998),p=t(16931),P=t(51636);const w=ee=>{const{componentCls:d,popoverColor:ae,titleMinWidth:de,fontWeightStrong:he,innerPadding:X,boxShadowSecondary:ne,colorTextHeading:q,borderRadiusLG:ie,zIndexPopup:Ce,titleMarginBottom:v,colorBgElevated:s,popoverBg:f,titleBorderBottom:x,innerContentPadding:c,titlePadding:z}=ee;return[{[d]:Object.assign(Object.assign({},(0,e.Wf)(ee)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:Ce,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":s,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${d}-content`]:{position:"relative"},[`${d}-inner`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:ie,boxShadow:ne,padding:X},[`${d}-title`]:{minWidth:de,marginBottom:v,color:q,fontWeight:he,borderBottom:x,padding:z},[`${d}-inner-content`]:{color:ae,padding:c}})},(0,S.ZP)(ee,"var(--antd-arrow-background-color)"),{[`${d}-pure`]:{position:"relative",maxWidth:"none",margin:ee.sizePopupArrow,display:"inline-block",[`${d}-content`]:{display:"inline-block"}}}]},ce=ee=>{const{componentCls:d}=ee;return{[d]:le.i.map(ae=>{const de=ee[`${ae}6`];return{[`&${d}-${ae}`]:{"--antd-arrow-background-color":de,[`${d}-inner`]:{backgroundColor:de},[`${d}-arrow`]:{background:"transparent"}}}})}},l=ee=>{const{lineWidth:d,controlHeight:ae,fontHeight:de,padding:he,wireframe:X,zIndexPopupBase:ne,borderRadiusLG:q,marginXS:ie,lineType:Ce,colorSplit:v,paddingSM:s}=ee,f=ae-de,x=f/2,c=f/2-d,z=he;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:ne+30},(0,se.w)(ee)),(0,S.wZ)({contentRadius:q,limitVerticalRadius:!0})),{innerPadding:X?0:12,titleMarginBottom:X?0:ie,titlePadding:X?`${x}px ${z}px ${c}px`:0,titleBorderBottom:X?`${d}px ${Ce} ${v}`:"none",innerContentPadding:X?`${s}px ${z}px`:0})};Oe.Z=(0,p.I$)("Popover",ee=>{const{colorBgElevated:d,colorText:ae}=ee,de=(0,P.mergeToken)(ee,{popoverBg:d,popoverColor:ae});return[w(de),ce(de),(0,B._y)(de,"zoom-big")]},l,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},82326:function(rt,Oe,t){"use strict";var e=t(59301),B=t(92310),S=t.n(B),se=t(37463),le=t(2738),p=t(75030),P=t(86641),w=t(45915),ce=t(82855),l=t(48755),ee=t(38406),d=t(2171),ae=t(83397),de=t(31756),he=t(56553),X=t(24971),ne=t(70045),q=t(57700),ie=t(1722),Ce=t(90376),v=t(68525),s=t(90005),f=function(H,K){var W={};for(var h in H)Object.prototype.hasOwnProperty.call(H,h)&&K.indexOf(h)<0&&(W[h]=H[h]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,h=Object.getOwnPropertySymbols(H);o<h.length;o++)K.indexOf(h[o])<0&&Object.prototype.propertyIsEnumerable.call(H,h[o])&&(W[h[o]]=H[h[o]]);return W};const x="SECRET_COMBOBOX_MODE_DO_NOT_USE",c=(H,K)=>{var W;const{prefixCls:h,bordered:o,className:Y,rootClassName:I,getPopupContainer:xe,popupClassName:Ie,dropdownClassName:ye,listHeight:fe=256,placement:we,listItemHeight:be,size:Se,disabled:G,notFoundContent:ve,status:J,builtinPlacements:Re,dropdownMatchSelectWidth:Q,popupMatchSelectWidth:pe,direction:_,style:Ae,allowClear:k,variant:b,dropdownStyle:N,transitionName:R,tagRender:g,maxCount:U,prefix:y}=H,n=f(H,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:r,getPrefixCls:$,renderEmpty:A,direction:m,virtual:C,popupMatchSelectWidth:E,popupOverflow:M}=e.useContext(l.E_),a=(0,l.dj)("select"),[,i]=(0,q.ZP)(),ge=be!=null?be:i==null?void 0:i.controlHeight,V=$("select",h),Z=$(),O=_!=null?_:m,{compactSize:u,compactItemClassnames:T}=(0,ne.ri)(V,O),[j,oe]=(0,X.Z)("select",b,o),Ee=(0,ae.Z)(V),[ue,me,re]=(0,Ce.Z)(V,Ee),je=e.useMemo(()=>{const{mode:Qt}=H;if(Qt!=="combobox")return Qt===x?"combobox":Qt},[H.mode]),_e=je==="multiple"||je==="tags",Ke=(0,s.Z)(H.suffixIcon,H.showArrow),nt=(W=pe!=null?pe:Q)!==null&&W!==void 0?W:E,{status:it,hasFeedback:ut,isFormItemInput:dt,feedbackIcon:Be}=e.useContext(he.aM),te=(0,ce.F)(it,J);let ze;ve!==void 0?ze=ve:je==="combobox"?ze=null:ze=(A==null?void 0:A("Select"))||e.createElement(ee.Z,{componentName:"Select"});const{suffixIcon:$e,itemIcon:Je,removeIcon:He,clearIcon:Ye}=(0,v.Z)(Object.assign(Object.assign({},n),{multiple:_e,hasFeedback:ut,feedbackIcon:Be,showSuffixIcon:Ke,prefixCls:V,componentName:"Select"})),ot=k===!0?{clearIcon:Ye}:k,Ue=(0,le.Z)(n,["suffixIcon","itemIcon"]),vt=S()(Ie||ye,{[`${V}-dropdown-${O}`]:O==="rtl"},I,re,Ee,me),St=(0,de.Z)(Qt=>{var Ve;return(Ve=Se!=null?Se:u)!==null&&Ve!==void 0?Ve:Qt}),Jt=e.useContext(d.Z),Mt=G!=null?G:Jt,xt=S()({[`${V}-lg`]:St==="large",[`${V}-sm`]:St==="small",[`${V}-rtl`]:O==="rtl",[`${V}-${j}`]:oe,[`${V}-in-form-item`]:dt},(0,ce.Z)(V,te,ut),T,a.className,Y,I,re,Ee,me),Nt=e.useMemo(()=>we!==void 0?we:O==="rtl"?"bottomRight":"bottomLeft",[we,O]),[qt]=(0,p.Cn)("SelectLike",N==null?void 0:N.zIndex);return ue(e.createElement(se.ZP,Object.assign({ref:K,virtual:C,showSearch:a.showSearch},Ue,{style:Object.assign(Object.assign({},a.style),Ae),dropdownMatchSelectWidth:nt,transitionName:(0,P.m)(Z,"slide-up",R),builtinPlacements:(0,ie.Z)(Re,M),listHeight:fe,listItemHeight:ge,mode:je,prefixCls:V,placement:Nt,direction:O,prefix:y,suffixIcon:$e,menuItemSelectedIcon:Je,removeIcon:He,allowClear:ot,notFoundContent:ze,className:xt,getPopupContainer:xe||r,dropdownClassName:vt,disabled:Mt,dropdownStyle:Object.assign(Object.assign({},N),{zIndex:qt}),maxCount:_e?U:void 0,tagRender:_e?g:void 0})))},z=e.forwardRef(c),F=(0,w.Z)(z,"dropdownAlign");z.SECRET_COMBOBOX_MODE_DO_NOT_USE=x,z.Option=se.Wx,z.OptGroup=se.Xo,z._InternalPanelDoNotUseOrYouWillBeFired=F,Oe.default=z},1722:function(rt,Oe){"use strict";const t=B=>{const se={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:B==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},se),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},se),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},se),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},se),{points:["br","tr"],offset:[0,-4]})}};function e(B,S){return B||t(S)}Oe.Z=e},90376:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return h}});var e=t(63356),B=t(56119),S=t(16931),se=t(51636),le=t(46e3),p=t(93873);const P=o=>{const{optionHeight:Y,optionFontSize:I,optionLineHeight:xe,optionPadding:Ie}=o;return{position:"relative",display:"block",minHeight:Y,padding:Ie,color:o.colorText,fontWeight:"normal",fontSize:I,lineHeight:xe,boxSizing:"border-box"}};var ce=o=>{const{antCls:Y,componentCls:I}=o,xe=`${I}-item`,Ie=`&${Y}-slide-up-enter${Y}-slide-up-enter-active`,ye=`&${Y}-slide-up-appear${Y}-slide-up-appear-active`,fe=`&${Y}-slide-up-leave${Y}-slide-up-leave-active`,we=`${I}-dropdown-placement-`,be=`${xe}-option-selected`;return[{[`${I}-dropdown`]:Object.assign(Object.assign({},(0,e.Wf)(o)),{position:"absolute",top:-9999,zIndex:o.zIndexPopup,boxSizing:"border-box",padding:o.paddingXXS,overflow:"hidden",fontSize:o.fontSize,fontVariant:"initial",backgroundColor:o.colorBgElevated,borderRadius:o.borderRadiusLG,outline:"none",boxShadow:o.boxShadowSecondary,[`
|
|
${Ie}${we}bottomLeft,
|
|
${ye}${we}bottomLeft
|
|
`]:{animationName:le.fJ},[`
|
|
${Ie}${we}topLeft,
|
|
${ye}${we}topLeft,
|
|
${Ie}${we}topRight,
|
|
${ye}${we}topRight
|
|
`]:{animationName:le.Qt},[`${fe}${we}bottomLeft`]:{animationName:le.Uw},[`
|
|
${fe}${we}topLeft,
|
|
${fe}${we}topRight
|
|
`]:{animationName:le.ly},"&-hidden":{display:"none"},[xe]:Object.assign(Object.assign({},P(o)),{cursor:"pointer",transition:`background ${o.motionDurationSlow} ease`,borderRadius:o.borderRadiusSM,"&-group":{color:o.colorTextDescription,fontSize:o.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},e.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${xe}-option-disabled)`]:{backgroundColor:o.optionActiveBg},[`&-selected:not(${xe}-option-disabled)`]:{color:o.optionSelectedColor,fontWeight:o.optionSelectedFontWeight,backgroundColor:o.optionSelectedBg,[`${xe}-option-state`]:{color:o.colorPrimary}},"&-disabled":{[`&${xe}-option-selected`]:{backgroundColor:o.colorBgContainerDisabled},color:o.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:o.calc(o.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},P(o)),{color:o.colorTextDisabled})}),[`${be}:has(+ ${be})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${be}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,le.oN)(o,"slide-up"),(0,le.oN)(o,"slide-down"),(0,p.Fm)(o,"move-up"),(0,p.Fm)(o,"move-down")]},l=t(26743),ee=t(36237);function d(o,Y){const{componentCls:I,inputPaddingHorizontalBase:xe,borderRadius:Ie}=o,ye=o.calc(o.controlHeight).sub(o.calc(o.lineWidth).mul(2)).equal(),fe=Y?`${I}-${Y}`:"";return{[`${I}-single${fe}`]:{fontSize:o.fontSize,height:o.controlHeight,[`${I}-selector`]:Object.assign(Object.assign({},(0,e.Wf)(o,!0)),{display:"flex",borderRadius:Ie,flex:"1 1 auto",[`${I}-selection-wrap:after`]:{lineHeight:(0,ee.unit)(ye)},[`${I}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
${I}-selection-item,
|
|
${I}-selection-placeholder
|
|
`]:{display:"block",padding:0,lineHeight:(0,ee.unit)(ye),transition:`all ${o.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${I}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${I}-selection-item:empty:after`,`${I}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
&${I}-show-arrow ${I}-selection-item,
|
|
&${I}-show-arrow ${I}-selection-search,
|
|
&${I}-show-arrow ${I}-selection-placeholder
|
|
`]:{paddingInlineEnd:o.showArrowPaddingInlineEnd},[`&${I}-open ${I}-selection-item`]:{color:o.colorTextPlaceholder},[`&:not(${I}-customize-input)`]:{[`${I}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,ee.unit)(xe)}`,[`${I}-selection-search-input`]:{height:ye,fontSize:o.fontSize},"&:after":{lineHeight:(0,ee.unit)(ye)}}},[`&${I}-customize-input`]:{[`${I}-selector`]:{"&:after":{display:"none"},[`${I}-selection-search`]:{position:"static",width:"100%"},[`${I}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,ee.unit)(xe)}`,"&:after":{display:"none"}}}}}}}function ae(o){const{componentCls:Y}=o,I=o.calc(o.controlPaddingHorizontalSM).sub(o.lineWidth).equal();return[d(o),d((0,se.mergeToken)(o,{controlHeight:o.controlHeightSM,borderRadius:o.borderRadiusSM}),"sm"),{[`${Y}-single${Y}-sm`]:{[`&:not(${Y}-customize-input)`]:{[`${Y}-selector`]:{padding:`0 ${(0,ee.unit)(I)}`},[`&${Y}-show-arrow ${Y}-selection-search`]:{insetInlineEnd:o.calc(I).add(o.calc(o.fontSize).mul(1.5)).equal()},[`
|
|
&${Y}-show-arrow ${Y}-selection-item,
|
|
&${Y}-show-arrow ${Y}-selection-placeholder
|
|
`]:{paddingInlineEnd:o.calc(o.fontSize).mul(1.5).equal()}}}},d((0,se.mergeToken)(o,{controlHeight:o.singleItemHeightLG,fontSize:o.fontSizeLG,borderRadius:o.borderRadiusLG}),"lg")]}const de=o=>{const{fontSize:Y,lineHeight:I,lineWidth:xe,controlHeight:Ie,controlHeightSM:ye,controlHeightLG:fe,paddingXXS:we,controlPaddingHorizontal:be,zIndexPopupBase:Se,colorText:G,fontWeightStrong:ve,controlItemBgActive:J,controlItemBgHover:Re,colorBgContainer:Q,colorFillSecondary:pe,colorBgContainerDisabled:_,colorTextDisabled:Ae,colorPrimaryHover:k,colorPrimary:b,controlOutline:N}=o,R=we*2,g=xe*2,U=Math.min(Ie-R,Ie-g),y=Math.min(ye-R,ye-g),n=Math.min(fe-R,fe-g);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(we/2),zIndexPopup:Se+50,optionSelectedColor:G,optionSelectedFontWeight:ve,optionSelectedBg:J,optionActiveBg:Re,optionPadding:`${(Ie-Y*I)/2}px ${be}px`,optionFontSize:Y,optionLineHeight:I,optionHeight:Ie,selectorBg:Q,clearBg:Q,singleItemHeightLG:fe,multipleItemBg:pe,multipleItemBorderColor:"transparent",multipleItemHeight:U,multipleItemHeightSM:y,multipleItemHeightLG:n,multipleSelectorBgDisabled:_,multipleItemColorDisabled:Ae,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(o.fontSize*1.25),hoverBorderColor:k,activeBorderColor:b,activeOutlineColor:N,selectAffixPadding:we}},he=(o,Y)=>{const{componentCls:I,antCls:xe,controlOutlineWidth:Ie}=o;return{[`&:not(${I}-customize-input) ${I}-selector`]:{border:`${(0,ee.unit)(o.lineWidth)} ${o.lineType} ${Y.borderColor}`,background:o.selectorBg},[`&:not(${I}-disabled):not(${I}-customize-input):not(${xe}-pagination-size-changer)`]:{[`&:hover ${I}-selector`]:{borderColor:Y.hoverBorderHover},[`${I}-focused& ${I}-selector`]:{borderColor:Y.activeBorderColor,boxShadow:`0 0 0 ${(0,ee.unit)(Ie)} ${Y.activeOutlineColor}`,outline:0},[`${I}-prefix`]:{color:Y.color}}}},X=(o,Y)=>({[`&${o.componentCls}-status-${Y.status}`]:Object.assign({},he(o,Y))}),ne=o=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},he(o,{borderColor:o.colorBorder,hoverBorderHover:o.hoverBorderColor,activeBorderColor:o.activeBorderColor,activeOutlineColor:o.activeOutlineColor,color:o.colorText})),X(o,{status:"error",borderColor:o.colorError,hoverBorderHover:o.colorErrorHover,activeBorderColor:o.colorError,activeOutlineColor:o.colorErrorOutline,color:o.colorError})),X(o,{status:"warning",borderColor:o.colorWarning,hoverBorderHover:o.colorWarningHover,activeBorderColor:o.colorWarning,activeOutlineColor:o.colorWarningOutline,color:o.colorWarning})),{[`&${o.componentCls}-disabled`]:{[`&:not(${o.componentCls}-customize-input) ${o.componentCls}-selector`]:{background:o.colorBgContainerDisabled,color:o.colorTextDisabled}},[`&${o.componentCls}-multiple ${o.componentCls}-selection-item`]:{background:o.multipleItemBg,border:`${(0,ee.unit)(o.lineWidth)} ${o.lineType} ${o.multipleItemBorderColor}`}})}),q=(o,Y)=>{const{componentCls:I,antCls:xe}=o;return{[`&:not(${I}-customize-input) ${I}-selector`]:{background:Y.bg,border:`${(0,ee.unit)(o.lineWidth)} ${o.lineType} transparent`,color:Y.color},[`&:not(${I}-disabled):not(${I}-customize-input):not(${xe}-pagination-size-changer)`]:{[`&:hover ${I}-selector`]:{background:Y.hoverBg},[`${I}-focused& ${I}-selector`]:{background:o.selectorBg,borderColor:Y.activeBorderColor,outline:0}}}},ie=(o,Y)=>({[`&${o.componentCls}-status-${Y.status}`]:Object.assign({},q(o,Y))}),Ce=o=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},q(o,{bg:o.colorFillTertiary,hoverBg:o.colorFillSecondary,activeBorderColor:o.activeBorderColor,color:o.colorText})),ie(o,{status:"error",bg:o.colorErrorBg,hoverBg:o.colorErrorBgHover,activeBorderColor:o.colorError,color:o.colorError})),ie(o,{status:"warning",bg:o.colorWarningBg,hoverBg:o.colorWarningBgHover,activeBorderColor:o.colorWarning,color:o.colorWarning})),{[`&${o.componentCls}-disabled`]:{[`&:not(${o.componentCls}-customize-input) ${o.componentCls}-selector`]:{borderColor:o.colorBorder,background:o.colorBgContainerDisabled,color:o.colorTextDisabled}},[`&${o.componentCls}-multiple ${o.componentCls}-selection-item`]:{background:o.colorBgContainer,border:`${(0,ee.unit)(o.lineWidth)} ${o.lineType} ${o.colorSplit}`}})}),v=o=>({"&-borderless":{[`${o.componentCls}-selector`]:{background:"transparent",border:`${(0,ee.unit)(o.lineWidth)} ${o.lineType} transparent`},[`&${o.componentCls}-disabled`]:{[`&:not(${o.componentCls}-customize-input) ${o.componentCls}-selector`]:{color:o.colorTextDisabled}},[`&${o.componentCls}-multiple ${o.componentCls}-selection-item`]:{background:o.multipleItemBg,border:`${(0,ee.unit)(o.lineWidth)} ${o.lineType} ${o.multipleItemBorderColor}`},[`&${o.componentCls}-status-error`]:{[`${o.componentCls}-prefix, ${o.componentCls}-selection-item`]:{color:o.colorError}},[`&${o.componentCls}-status-warning`]:{[`${o.componentCls}-prefix, ${o.componentCls}-selection-item`]:{color:o.colorWarning}}}}),s=(o,Y)=>{const{componentCls:I,antCls:xe}=o;return{[`&:not(${I}-customize-input) ${I}-selector`]:{borderWidth:`0 0 ${(0,ee.unit)(o.lineWidth)} 0`,borderStyle:`none none ${o.lineType} none`,borderColor:Y.borderColor,background:o.selectorBg,borderRadius:0},[`&:not(${I}-disabled):not(${I}-customize-input):not(${xe}-pagination-size-changer)`]:{[`&:hover ${I}-selector`]:{borderColor:Y.hoverBorderHover},[`${I}-focused& ${I}-selector`]:{borderColor:Y.activeBorderColor,outline:0},[`${I}-prefix`]:{color:Y.color}}}},f=(o,Y)=>({[`&${o.componentCls}-status-${Y.status}`]:Object.assign({},s(o,Y))}),x=o=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},s(o,{borderColor:o.colorBorder,hoverBorderHover:o.hoverBorderColor,activeBorderColor:o.activeBorderColor,activeOutlineColor:o.activeOutlineColor,color:o.colorText})),f(o,{status:"error",borderColor:o.colorError,hoverBorderHover:o.colorErrorHover,activeBorderColor:o.colorError,activeOutlineColor:o.colorErrorOutline,color:o.colorError})),f(o,{status:"warning",borderColor:o.colorWarning,hoverBorderHover:o.colorWarningHover,activeBorderColor:o.colorWarning,activeOutlineColor:o.colorWarningOutline,color:o.colorWarning})),{[`&${o.componentCls}-disabled`]:{[`&:not(${o.componentCls}-customize-input) ${o.componentCls}-selector`]:{color:o.colorTextDisabled}},[`&${o.componentCls}-multiple ${o.componentCls}-selection-item`]:{background:o.multipleItemBg,border:`${(0,ee.unit)(o.lineWidth)} ${o.lineType} ${o.multipleItemBorderColor}`}})});var z=o=>({[o.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},ne(o)),Ce(o)),v(o)),x(o))});const F=o=>{const{componentCls:Y}=o;return{position:"relative",transition:`all ${o.motionDurationMid} ${o.motionEaseInOut}`,input:{cursor:"pointer"},[`${Y}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Y}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},H=o=>{const{componentCls:Y}=o;return{[`${Y}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},K=o=>{const{antCls:Y,componentCls:I,inputPaddingHorizontalBase:xe,iconCls:Ie}=o;return{[I]:Object.assign(Object.assign({},(0,e.Wf)(o)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${I}-customize-input) ${I}-selector`]:Object.assign(Object.assign({},F(o)),H(o)),[`${I}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},e.vS),{[`> ${Y}-typography`]:{display:"inline"}}),[`${I}-selection-placeholder`]:Object.assign(Object.assign({},e.vS),{flex:1,color:o.colorTextPlaceholder,pointerEvents:"none"}),[`${I}-arrow`]:Object.assign(Object.assign({},(0,e.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:xe,height:o.fontSizeIcon,marginTop:o.calc(o.fontSizeIcon).mul(-1).div(2).equal(),color:o.colorTextQuaternary,fontSize:o.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${o.motionDurationSlow} ease`,[Ie]:{verticalAlign:"top",transition:`transform ${o.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${I}-suffix)`]:{pointerEvents:"auto"}},[`${I}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${I}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${I}-prefix`]:{flex:"none",marginInlineEnd:o.selectAffixPadding},[`${I}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:xe,zIndex:1,display:"inline-block",width:o.fontSizeIcon,height:o.fontSizeIcon,marginTop:o.calc(o.fontSizeIcon).mul(-1).div(2).equal(),color:o.colorTextQuaternary,fontSize:o.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${o.motionDurationMid} ease, opacity ${o.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:o.colorTextTertiary}},[`&:hover ${I}-clear`]:{opacity:1,background:o.colorBgBase,borderRadius:"50%"}}),[`${I}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${I}-has-feedback`]:{[`${I}-clear`]:{insetInlineEnd:o.calc(xe).add(o.fontSize).add(o.paddingXS).equal()}}}}}},W=o=>{const{componentCls:Y}=o;return[{[Y]:{[`&${Y}-in-form-item`]:{width:"100%"}}},K(o),ae(o),(0,l.ZP)(o),ce(o),{[`${Y}-rtl`]:{direction:"rtl"}},(0,B.c)(o,{borderElCls:`${Y}-selector`,focusElCls:`${Y}-focused`})]};var h=(0,S.I$)("Select",(o,Y)=>{let{rootPrefixCls:I}=Y;const xe=(0,se.mergeToken)(o,{rootPrefixCls:I,inputPaddingHorizontalBase:o.calc(o.paddingSM).sub(1).equal(),multipleSelectItemHeight:o.multipleItemHeight,selectHeight:o.controlHeight});return[W(xe),z(xe)]},de,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(rt,Oe,t){"use strict";t.d(Oe,{_z:function(){return p},gp:function(){return se}});var e=t(36237),B=t(63356),S=t(51636);const se=l=>{const{multipleSelectItemHeight:ee,paddingXXS:d,lineWidth:ae,INTERNAL_FIXED_ITEM_MARGIN:de}=l,he=l.max(l.calc(d).sub(ae).equal(),0),X=l.max(l.calc(he).sub(de).equal(),0);return{basePadding:he,containerPadding:X,itemHeight:(0,e.unit)(ee),itemLineHeight:(0,e.unit)(l.calc(ee).sub(l.calc(l.lineWidth).mul(2)).equal())}},le=l=>{const{multipleSelectItemHeight:ee,selectHeight:d,lineWidth:ae}=l;return l.calc(d).sub(ee).div(2).sub(ae).equal()},p=l=>{const{componentCls:ee,iconCls:d,borderRadiusSM:ae,motionDurationSlow:de,paddingXS:he,multipleItemColorDisabled:X,multipleItemBorderColorDisabled:ne,colorIcon:q,colorIconHover:ie,INTERNAL_FIXED_ITEM_MARGIN:Ce}=l;return{[`${ee}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${ee}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Ce,borderRadius:ae,cursor:"default",transition:`font-size ${de}, line-height ${de}, height ${de}`,marginInlineEnd:l.calc(Ce).mul(2).equal(),paddingInlineStart:he,paddingInlineEnd:l.calc(he).div(2).equal(),[`${ee}-disabled&`]:{color:X,borderColor:ne,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:l.calc(he).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,B.Ro)()),{display:"inline-flex",alignItems:"center",color:q,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${d}`]:{verticalAlign:"-0.2em"},"&:hover":{color:ie}})}}}},P=(l,ee)=>{const{componentCls:d,INTERNAL_FIXED_ITEM_MARGIN:ae}=l,de=`${d}-selection-overflow`,he=l.multipleSelectItemHeight,X=le(l),ne=ee?`${d}-${ee}`:"",q=se(l);return{[`${d}-multiple${ne}`]:Object.assign(Object.assign({},p(l)),{[`${d}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:q.basePadding,paddingBlock:q.containerPadding,borderRadius:l.borderRadius,[`${d}-disabled&`]:{background:l.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,e.unit)(ae)} 0`,lineHeight:(0,e.unit)(he),visibility:"hidden",content:'"\\a0"'}},[`${d}-selection-item`]:{height:q.itemHeight,lineHeight:(0,e.unit)(q.itemLineHeight)},[`${d}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,e.unit)(he),marginBlock:ae}},[`${d}-prefix`]:{marginInlineStart:l.calc(l.inputPaddingHorizontalBase).sub(q.basePadding).equal()},[`${de}-item + ${de}-item,
|
|
${d}-prefix + ${d}-selection-wrap
|
|
`]:{[`${d}-selection-search`]:{marginInlineStart:0},[`${d}-selection-placeholder`]:{insetInlineStart:0}},[`${de}-item-suffix`]:{minHeight:q.itemHeight,marginBlock:ae},[`${d}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:l.calc(l.inputPaddingHorizontalBase).sub(X).equal(),"\n &-input,\n &-mirror\n ":{height:he,fontFamily:l.fontFamily,lineHeight:(0,e.unit)(he),transition:`all ${l.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${d}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:l.calc(l.inputPaddingHorizontalBase).sub(q.basePadding).equal(),insetInlineEnd:l.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${l.motionDurationSlow}`}})}};function w(l,ee){const{componentCls:d}=l,ae=ee?`${d}-${ee}`:"",de={[`${d}-multiple${ae}`]:{fontSize:l.fontSize,[`${d}-selector`]:{[`${d}-show-search&`]:{cursor:"text"}},[`
|
|
&${d}-show-arrow ${d}-selector,
|
|
&${d}-allow-clear ${d}-selector
|
|
`]:{paddingInlineEnd:l.calc(l.fontSizeIcon).add(l.controlPaddingHorizontal).equal()}}};return[P(l,ee),de]}const ce=l=>{const{componentCls:ee}=l,d=(0,S.mergeToken)(l,{selectHeight:l.controlHeightSM,multipleSelectItemHeight:l.multipleItemHeightSM,borderRadius:l.borderRadiusSM,borderRadiusSM:l.borderRadiusXS}),ae=(0,S.mergeToken)(l,{fontSize:l.fontSizeLG,selectHeight:l.controlHeightLG,multipleSelectItemHeight:l.multipleItemHeightLG,borderRadius:l.borderRadiusLG,borderRadiusSM:l.borderRadius});return[w(l),w(d,"sm"),{[`${ee}-multiple${ee}-sm`]:{[`${ee}-selection-placeholder`]:{insetInline:l.calc(l.controlPaddingHorizontalSM).sub(l.lineWidth).equal()},[`${ee}-selection-search`]:{marginInlineStart:2}}},w(ae,"lg")]};Oe.ZP=ce},68525:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return w}});var e=t(59301),B=t(40001),S=t(19248),se=t(99267),le=t(84105),p=t(58617),P=t(47472);function w(ce){let{suffixIcon:l,clearIcon:ee,menuItemSelectedIcon:d,removeIcon:ae,loading:de,multiple:he,hasFeedback:X,prefixCls:ne,showSuffixIcon:q,feedbackIcon:ie,showArrow:Ce,componentName:v}=ce;const s=ee!=null?ee:e.createElement(S.Z,null),f=F=>l===null&&!X&&!Ce?null:e.createElement(e.Fragment,null,q!==!1&&F,X&&ie);let x=null;if(l!==void 0)x=f(l);else if(de)x=f(e.createElement(p.Z,{spin:!0}));else{const F=`${ne}-suffix`;x=H=>{let{open:K,showSearch:W}=H;return f(K&&W?e.createElement(P.Z,{className:F}):e.createElement(le.Z,{className:F}))}}let c=null;d!==void 0?c=d:he?c=e.createElement(B.Z,null):c=null;let z=null;return ae!==void 0?z=ae:z=e.createElement(se.Z,null),{clearIcon:s,suffixIcon:x,itemIcon:c,removeIcon:z}}},90005:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return e}});function e(B,S){return S!==void 0?S:B!==null}},18287:function(rt,Oe,t){"use strict";t.d(Oe,{default:function(){return Se}});var e=t(87632),B=t(77654),S=t(59301),se=t(52671),le=t(8657),p=t(60499),P={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"},w=P,ce=t(7657),l=function(ve,J){return S.createElement(ce.Z,(0,p.Z)({},ve,{ref:J,icon:w}))},ee=S.forwardRef(l),d=ee,ae=t(92310),de=t.n(ae),he=t(82661),X=t(34061),ne=t(48755),q=t(56082),ie=t(86641),Ce=t(57700),v=t(12425);const s=4;function f(G){const{dropPosition:ve,dropLevelOffset:J,prefixCls:Re,indent:Q,direction:pe="ltr"}=G,_=pe==="ltr"?"left":"right",Ae=pe==="ltr"?"right":"left",k={[_]:-J*Q+s,[Ae]:0};switch(ve){case-1:k.top=-3;break;case 1:k.bottom=-3;break;default:k.bottom=-3,k[_]=Q+s;break}return S.createElement("div",{style:k,className:`${Re}-drop-indicator`})}var x=f,c=t(85278),F=S.forwardRef((G,ve)=>{var J;const{getPrefixCls:Re,direction:Q,virtual:pe,tree:_}=S.useContext(ne.E_),{prefixCls:Ae,className:k,showIcon:b=!1,showLine:N,switcherIcon:R,switcherLoadingIcon:g,blockNode:U=!1,children:y,checkable:n=!1,selectable:r=!0,draggable:$,motion:A,style:m}=G,C=Re("tree",Ae),E=Re(),M=A!=null?A:Object.assign(Object.assign({},(0,ie.Z)(E)),{motionAppear:!1}),a=Object.assign(Object.assign({},G),{checkable:n,selectable:r,showIcon:b,motion:M,blockNode:U,showLine:!!N,dropIndicatorRender:x}),[i,ge,V]=(0,v.ZP)(C),[,Z]=(0,Ce.ZP)(),O=Z.paddingXS/2+(((J=Z.Tree)===null||J===void 0?void 0:J.titleHeight)||Z.controlHeightSM),u=S.useMemo(()=>{if(!$)return!1;let j={};switch(typeof $){case"function":j.nodeDraggable=$;break;case"object":j=Object.assign({},$);break;default:break}return j.icon!==!1&&(j.icon=j.icon||S.createElement(q.Z,null)),j},[$]),T=j=>S.createElement(c.Z,{prefixCls:C,switcherIcon:R,switcherLoadingIcon:g,treeNodeProps:j,showLine:N});return i(S.createElement(e.ZP,Object.assign({itemHeight:O,ref:ve,virtual:pe},a,{style:Object.assign(Object.assign({},_==null?void 0:_.style),m),prefixCls:C,className:de()({[`${C}-icon-hide`]:!b,[`${C}-block-node`]:U,[`${C}-unselectable`]:!r,[`${C}-rtl`]:Q==="rtl"},_==null?void 0:_.className,k,ge,V),direction:Q,checkable:n&&S.createElement("span",{className:`${C}-checkbox-inner`}),selectable:r,switcherIcon:T,draggable:u}),y))});const H=0,K=1,W=2;function h(G,ve,J){const{key:Re,children:Q}=J;function pe(_){const Ae=_[Re],k=_[Q];ve(Ae,_)!==!1&&h(k||[],ve,J)}G.forEach(pe)}function o(G){let{treeData:ve,expandedKeys:J,startKey:Re,endKey:Q,fieldNames:pe}=G;const _=[];let Ae=H;if(Re&&Re===Q)return[Re];if(!Re||!Q)return[];function k(b){return b===Re||b===Q}return h(ve,b=>{if(Ae===W)return!1;if(k(b)){if(_.push(b),Ae===H)Ae=K;else if(Ae===K)return Ae=W,!1}else Ae===K&&_.push(b);return J.includes(b)},(0,X.w$)(pe)),_}function Y(G,ve,J){const Re=(0,B.Z)(ve),Q=[];return h(G,(pe,_)=>{const Ae=Re.indexOf(pe);return Ae!==-1&&(Q.push(_),Re.splice(Ae,1)),!!Re.length},(0,X.w$)(J)),Q}var I=function(G,ve){var J={};for(var Re in G)Object.prototype.hasOwnProperty.call(G,Re)&&ve.indexOf(Re)<0&&(J[Re]=G[Re]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,Re=Object.getOwnPropertySymbols(G);Q<Re.length;Q++)ve.indexOf(Re[Q])<0&&Object.prototype.propertyIsEnumerable.call(G,Re[Q])&&(J[Re[Q]]=G[Re[Q]]);return J};function xe(G){const{isLeaf:ve,expanded:J}=G;return ve?S.createElement(se.Z,null):J?S.createElement(le.Z,null):S.createElement(d,null)}function Ie(G){let{treeData:ve,children:J}=G;return ve||(0,X.zn)(J)}const ye=(G,ve)=>{var{defaultExpandAll:J,defaultExpandParent:Re,defaultExpandedKeys:Q}=G,pe=I(G,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const _=S.useRef(null),Ae=S.useRef(null),k=()=>{const{keyEntities:i}=(0,X.I8)(Ie(pe));let ge;return J?ge=Object.keys(i):Re?ge=(0,he.r7)(pe.expandedKeys||Q||[],i):ge=pe.expandedKeys||Q||[],ge},[b,N]=S.useState(pe.selectedKeys||pe.defaultSelectedKeys||[]),[R,g]=S.useState(()=>k());S.useEffect(()=>{"selectedKeys"in pe&&N(pe.selectedKeys)},[pe.selectedKeys]),S.useEffect(()=>{"expandedKeys"in pe&&g(pe.expandedKeys)},[pe.expandedKeys]);const U=(i,ge)=>{var V;return"expandedKeys"in pe||g(i),(V=pe.onExpand)===null||V===void 0?void 0:V.call(pe,i,ge)},y=(i,ge)=>{var V;const{multiple:Z,fieldNames:O}=pe,{node:u,nativeEvent:T}=ge,{key:j=""}=u,oe=Ie(pe),Ee=Object.assign(Object.assign({},ge),{selected:!0}),ue=(T==null?void 0:T.ctrlKey)||(T==null?void 0:T.metaKey),me=T==null?void 0:T.shiftKey;let re;Z&&ue?(re=i,_.current=j,Ae.current=re,Ee.selectedNodes=Y(oe,re,O)):Z&&me?(re=Array.from(new Set([].concat((0,B.Z)(Ae.current||[]),(0,B.Z)(o({treeData:oe,expandedKeys:R,startKey:j,endKey:_.current,fieldNames:O}))))),Ee.selectedNodes=Y(oe,re,O)):(re=[j],_.current=j,Ae.current=re,Ee.selectedNodes=Y(oe,re,O)),(V=pe.onSelect)===null||V===void 0||V.call(pe,re,Ee),"selectedKeys"in pe||N(re)},{getPrefixCls:n,direction:r}=S.useContext(ne.E_),{prefixCls:$,className:A,showIcon:m=!0,expandAction:C="click"}=pe,E=I(pe,["prefixCls","className","showIcon","expandAction"]),M=n("tree",$),a=de()(`${M}-directory`,{[`${M}-directory-rtl`]:r==="rtl"},A);return S.createElement(F,Object.assign({icon:xe,ref:ve,blockNode:!0},E,{showIcon:m,expandAction:C,prefixCls:M,className:a,expandedKeys:R,selectedKeys:b,onSelect:y,onExpand:U}))};var we=S.forwardRef(ye);const be=F;be.DirectoryTree=we,be.TreeNode=e.OF;var Se=be},12425:function(rt,Oe,t){"use strict";t.d(Oe,{ZP:function(){return he},Yk:function(){return d},TM:function(){return ae}});var e=t(36237),B=t(36170),S=t(63356),se=t(34961),le=t(51636),p=t(16931);const P=X=>{let{treeCls:ne,treeNodeCls:q,directoryNodeSelectedBg:ie,directoryNodeSelectedColor:Ce,motionDurationMid:v,borderRadius:s,controlItemBgHover:f}=X;return{[`${ne}${ne}-directory ${q}`]:{[`${ne}-node-content-wrapper`]:{position:"static",[`> *:not(${ne}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${v}`,content:'""',borderRadius:s},"&:hover:before":{background:f}},[`${ne}-switcher, ${ne}-checkbox, ${ne}-draggable-icon`]:{zIndex:1},"&-selected":{[`${ne}-switcher, ${ne}-draggable-icon`]:{color:Ce},[`${ne}-node-content-wrapper`]:{color:Ce,background:"transparent","&:before, &:hover:before":{background:ie}}}}}},w=new e.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ce=(X,ne)=>({[`.${X}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${ne.motionDurationSlow}`}}}),l=(X,ne)=>({[`.${X}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:ne.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,e.unit)(ne.lineWidthBold)} solid ${ne.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ee=(X,ne)=>{const{treeCls:q,treeNodeCls:ie,treeNodePadding:Ce,titleHeight:v,indentSize:s,nodeSelectedBg:f,nodeHoverBg:x,colorTextQuaternary:c,controlItemBgActiveDisabled:z}=ne;return{[q]:Object.assign(Object.assign({},(0,S.Wf)(ne)),{background:ne.colorBgContainer,borderRadius:ne.borderRadius,transition:`background-color ${ne.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${q}-rtl ${q}-switcher_close ${q}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${q}-active-focused)`]:Object.assign({},(0,S.oN)(ne)),[`${q}-list-holder-inner`]:{alignItems:"flex-start"},[`&${q}-block-node`]:{[`${q}-list-holder-inner`]:{alignItems:"stretch",[`${q}-node-content-wrapper`]:{flex:"auto"},[`${ie}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${ne.colorPrimary}`,opacity:0,animationName:w,animationDuration:ne.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:ne.borderRadius}}},[ie]:{display:"flex",alignItems:"flex-start",marginBottom:Ce,lineHeight:(0,e.unit)(v),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:Ce},[`&-disabled ${q}-node-content-wrapper`]:{color:ne.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${q}-checkbox-disabled + ${q}-node-selected,&${ie}-disabled${ie}-selected ${q}-node-content-wrapper`]:{backgroundColor:z},[`${q}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${ie}-disabled)`]:{[`${q}-node-content-wrapper`]:{"&:hover":{color:ne.nodeHoverColor}}},[`&-active ${q}-node-content-wrapper`]:{background:ne.controlItemBgHover},[`&:not(${ie}-disabled).filter-node ${q}-title`]:{color:ne.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${q}-draggable-icon`]:{flexShrink:0,width:v,textAlign:"center",visibility:"visible",color:c},[`&${ie}-disabled ${q}-draggable-icon`]:{visibility:"hidden"}}},[`${q}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:s}},[`${q}-draggable-icon`]:{visibility:"hidden"},[`${q}-switcher, ${q}-checkbox`]:{marginInlineEnd:ne.calc(ne.calc(v).sub(ne.controlInteractiveSize)).div(2).equal()},[`${q}-switcher`]:Object.assign(Object.assign({},ce(X,ne)),{position:"relative",flex:"none",alignSelf:"stretch",width:v,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${ne.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:v,height:v,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:ne.borderRadius,transition:`all ${ne.motionDurationSlow}`},[`&:not(${q}-switcher-noop):hover:before`]:{backgroundColor:ne.colorBgTextHover},[`&_close ${q}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:ne.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:ne.calc(v).div(2).equal(),bottom:ne.calc(Ce).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${ne.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:ne.calc(ne.calc(v).div(2).equal()).mul(.8).equal(),height:ne.calc(v).div(2).equal(),borderBottom:`1px solid ${ne.colorBorder}`,content:'""'}}}),[`${q}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:v,paddingBlock:0,paddingInline:ne.paddingXS,background:"transparent",borderRadius:ne.borderRadius,cursor:"pointer",transition:`all ${ne.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},l(X,ne)),{"&:hover":{backgroundColor:x},[`&${q}-node-selected`]:{color:ne.nodeSelectedColor,backgroundColor:f},[`${q}-iconEle`]:{display:"inline-block",width:v,height:v,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${q}-unselectable ${q}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${ie}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${ne.colorPrimary}`},"&-show-line":{[`${q}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:ne.calc(v).div(2).equal(),bottom:ne.calc(Ce).mul(-1).equal(),borderInlineEnd:`1px solid ${ne.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${q}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ie}-leaf-last ${q}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,e.unit)(ne.calc(v).div(2).equal())} !important`}})}},d=function(X,ne){let q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const ie=`.${X}`,Ce=`${ie}-treenode`,v=ne.calc(ne.paddingXS).div(2).equal(),s=(0,le.mergeToken)(ne,{treeCls:ie,treeNodeCls:Ce,treeNodePadding:v});return[ee(X,s),q&&P(s)].filter(Boolean)},ae=X=>{const{controlHeightSM:ne,controlItemBgHover:q,controlItemBgActive:ie}=X,Ce=ne;return{titleHeight:Ce,indentSize:Ce,nodeHoverBg:q,nodeHoverColor:X.colorText,nodeSelectedBg:ie,nodeSelectedColor:X.colorText}},de=X=>{const{colorTextLightSolid:ne,colorPrimary:q}=X;return Object.assign(Object.assign({},ae(X)),{directoryNodeSelectedColor:ne,directoryNodeSelectedBg:q})};var he=(0,p.I$)("Tree",(X,ne)=>{let{prefixCls:q}=ne;return[{[X.componentCls]:(0,B.C2)(`${q}-checkbox`,X)},d(q,X),(0,se.Z)(X)]},de)},85278:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return ne}});var e=t(59301),B=t(60499),S={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"},se=S,le=t(7657),p=function(ie,Ce){return e.createElement(le.Z,(0,B.Z)({},ie,{ref:Ce,icon:se}))},P=e.forwardRef(p),w=P,ce=t(52671),l=t(58617),ee=t(15075),d=t(43531),ae=t(92310),de=t.n(ae),he=t(22703),ne=q=>{const{prefixCls:ie,switcherIcon:Ce,treeNodeProps:v,showLine:s,switcherLoadingIcon:f}=q,{isLeaf:x,expanded:c,loading:z}=v;if(z)return e.isValidElement(f)?f:e.createElement(l.Z,{className:`${ie}-switcher-loading-icon`});let F;if(s&&typeof s=="object"&&(F=s.showLeafIcon),x){if(!s)return null;if(typeof F!="boolean"&&F){const W=typeof F=="function"?F(v):F,h=`${ie}-switcher-line-custom-icon`;return e.isValidElement(W)?(0,he.Tm)(W,{className:de()(W.props.className||"",h)}):W}return F?e.createElement(ce.Z,{className:`${ie}-switcher-line-icon`}):e.createElement("span",{className:`${ie}-switcher-leaf-line`})}const H=`${ie}-switcher-icon`,K=typeof Ce=="function"?Ce(v):Ce;return e.isValidElement(K)?(0,he.Tm)(K,{className:de()(K.props.className||"",H)}):K!==void 0?K:s?c?e.createElement(ee.Z,{className:`${ie}-switcher-line-icon`}):e.createElement(d.Z,{className:`${ie}-switcher-line-icon`}):e.createElement(w,{className:H})}},24334:function(rt,Oe,t){var e,B;(function(S,se){rt.exports=se(S)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof t.g!="undefined"?t.g:this,function(S){"use strict";S=S||{};var se=S.Base64,le="2.6.4",p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",P=function(h){for(var o={},Y=0,I=h.length;Y<I;Y++)o[h.charAt(Y)]=Y;return o}(p),w=String.fromCharCode,ce=function(h){if(h.length<2){var o=h.charCodeAt(0);return o<128?h:o<2048?w(192|o>>>6)+w(128|o&63):w(224|o>>>12&15)+w(128|o>>>6&63)+w(128|o&63)}else{var o=65536+(h.charCodeAt(0)-55296)*1024+(h.charCodeAt(1)-56320);return w(240|o>>>18&7)+w(128|o>>>12&63)+w(128|o>>>6&63)+w(128|o&63)}},l=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ee=function(h){return h.replace(l,ce)},d=function(h){var o=[0,2,1][h.length%3],Y=h.charCodeAt(0)<<16|(h.length>1?h.charCodeAt(1):0)<<8|(h.length>2?h.charCodeAt(2):0),I=[p.charAt(Y>>>18),p.charAt(Y>>>12&63),o>=2?"=":p.charAt(Y>>>6&63),o>=1?"=":p.charAt(Y&63)];return I.join("")},ae=S.btoa&&typeof S.btoa=="function"?function(h){return S.btoa(h)}:function(h){if(h.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return h.replace(/[\s\S]{1,3}/g,d)},de=function(h){return ae(ee(String(h)))},he=function(h){return h.replace(/[+\/]/g,function(o){return o=="+"?"-":"_"}).replace(/=/g,"")},X=function(h,o){return o?he(de(h)):de(h)},ne=function(h){return X(h,!0)},q;S.Uint8Array&&(q=function(h,o){for(var Y="",I=0,xe=h.length;I<xe;I+=3){var Ie=h[I],ye=h[I+1],fe=h[I+2],we=Ie<<16|ye<<8|fe;Y+=p.charAt(we>>>18)+p.charAt(we>>>12&63)+(typeof ye!="undefined"?p.charAt(we>>>6&63):"=")+(typeof fe!="undefined"?p.charAt(we&63):"=")}return o?he(Y):Y});var ie=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Ce=function(h){switch(h.length){case 4:var o=(7&h.charCodeAt(0))<<18|(63&h.charCodeAt(1))<<12|(63&h.charCodeAt(2))<<6|63&h.charCodeAt(3),Y=o-65536;return w((Y>>>10)+55296)+w((Y&1023)+56320);case 3:return w((15&h.charCodeAt(0))<<12|(63&h.charCodeAt(1))<<6|63&h.charCodeAt(2));default:return w((31&h.charCodeAt(0))<<6|63&h.charCodeAt(1))}},v=function(h){return h.replace(ie,Ce)},s=function(h){var o=h.length,Y=o%4,I=(o>0?P[h.charAt(0)]<<18:0)|(o>1?P[h.charAt(1)]<<12:0)|(o>2?P[h.charAt(2)]<<6:0)|(o>3?P[h.charAt(3)]:0),xe=[w(I>>>16),w(I>>>8&255),w(I&255)];return xe.length-=[0,0,2,1][Y],xe.join("")},f=S.atob&&typeof S.atob=="function"?function(h){return S.atob(h)}:function(h){return h.replace(/\S{1,4}/g,s)},x=function(h){return f(String(h).replace(/[^A-Za-z0-9\+\/]/g,""))},c=function(h){return v(f(h))},z=function(h){return String(h).replace(/[-_]/g,function(o){return o=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},F=function(h){return c(z(h))},H;S.Uint8Array&&(H=function(h){return Uint8Array.from(x(z(h)),function(o){return o.charCodeAt(0)})});var K=function(){var h=S.Base64;return S.Base64=se,h};if(S.Base64={VERSION:le,atob:x,btoa:ae,fromBase64:F,toBase64:X,utob:ee,encode:X,encodeURI:ne,btou:v,decode:F,noConflict:K,fromUint8Array:q,toUint8Array:H},typeof Object.defineProperty=="function"){var W=function(h){return{value:h,enumerable:!1,writable:!0,configurable:!0}};S.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",W(function(){return F(this)})),Object.defineProperty(String.prototype,"toBase64",W(function(h){return X(this,h)})),Object.defineProperty(String.prototype,"toBase64URI",W(function(){return X(this,!0)}))}}return S.Meteor&&(Base64=S.Base64),rt.exports?rt.exports.Base64=S.Base64:(e=[],B=function(){return S.Base64}.apply(Oe,e),B!==void 0&&(rt.exports=B)),{Base64:S.Base64}})},6551:function(rt,Oe,t){"use strict";t.d(Oe,{ZP:function(){return P}});var e=t(72190),B=t(59301),S=t(47273),se=0,le=(0,S.Z)();function p(){var w;return le?(w=se,se+=1):w="TEST_OR_SSR",w}function P(w){var ce=B.useState(),l=(0,e.Z)(ce,2),ee=l[0],d=l[1];return B.useEffect(function(){d("rc_select_".concat(p()))},[]),w||ee}},37463:function(rt,Oe,t){"use strict";t.d(Oe,{Ac:function(){return u},Xo:function(){return j},Wx:function(){return Ee},ZP:function(){return Ot},lk:function(){return Ce}});var e=t(60499),B=t(77654),S=t(18642),se=t(85899),le=t(72190),p=t(42244),P=t(43749),w=t(18929),ce=t(48736),l=t(59301),ee=t(92310),d=t.n(ee),ae=t(34280),de=t(49658),he=t(8654),X=function(D){var Te=D.className,Pe=D.customizeIcon,Me=D.customizeIconProps,We=D.children,De=D.onMouseDown,Xe=D.onClick,qe=typeof Pe=="function"?Pe(Me):Pe;return l.createElement("span",{className:Te,onMouseDown:function(Ne){Ne.preventDefault(),De==null||De(Ne)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Xe,"aria-hidden":!0},qe!==void 0?qe:l.createElement("span",{className:d()(Te.split(/\s+/).map(function(tt){return"".concat(tt,"-icon")}))},We))},ne=X,q=function(D,Te,Pe,Me,We){var De=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Xe=arguments.length>6?arguments[6]:void 0,qe=arguments.length>7?arguments[7]:void 0,tt=l.useMemo(function(){if((0,P.Z)(Me)==="object")return Me.clearIcon;if(We)return We},[Me,We]),Ne=l.useMemo(function(){return!!(!De&&Me&&(Pe.length||Xe)&&!(qe==="combobox"&&Xe===""))},[Me,De,Pe.length,Xe,qe]);return{allowClear:Ne,clearIcon:l.createElement(ne,{className:"".concat(D,"-clear"),onMouseDown:Te,customizeIcon:tt},"\xD7")}},ie=l.createContext(null);function Ce(){return l.useContext(ie)}function v(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,D=l.useState(!1),Te=(0,le.Z)(D,2),Pe=Te[0],Me=Te[1],We=l.useRef(null),De=function(){window.clearTimeout(We.current)};l.useEffect(function(){return De},[]);var Xe=function(tt,Ne){De(),We.current=window.setTimeout(function(){Me(tt),Ne&&Ne()},L)};return[Pe,Xe,De]}function s(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,D=l.useRef(null),Te=l.useRef(null);l.useEffect(function(){return function(){window.clearTimeout(Te.current)}},[]);function Pe(Me){(Me||D.current===null)&&(D.current=Me),window.clearTimeout(Te.current),Te.current=window.setTimeout(function(){D.current=null},L)}return[function(){return D.current},Pe]}function f(L,D,Te,Pe){var Me=l.useRef(null);Me.current={open:D,triggerOpen:Te,customizedTrigger:Pe},l.useEffect(function(){function We(De){var Xe;if(!((Xe=Me.current)!==null&&Xe!==void 0&&Xe.customizedTrigger)){var qe=De.target;qe.shadowRoot&&De.composed&&(qe=De.composedPath()[0]||qe),Me.current.open&&L().filter(function(tt){return tt}).every(function(tt){return!tt.contains(qe)&&tt!==qe})&&Me.current.triggerOpen(!1)}}return window.addEventListener("mousedown",We),function(){return window.removeEventListener("mousedown",We)}},[])}var x=t(10228);function c(L){return L&&![x.Z.ESC,x.Z.SHIFT,x.Z.BACKSPACE,x.Z.TAB,x.Z.WIN_KEY,x.Z.ALT,x.Z.META,x.Z.WIN_KEY_RIGHT,x.Z.CTRL,x.Z.SEMICOLON,x.Z.EQUALS,x.Z.CAPS_LOCK,x.Z.CONTEXT_MENU,x.Z.F1,x.Z.F2,x.Z.F3,x.Z.F4,x.Z.F5,x.Z.F6,x.Z.F7,x.Z.F8,x.Z.F9,x.Z.F10,x.Z.F11,x.Z.F12].includes(L)}var z=t(26112),F=t(83836);function H(L,D,Te){var Pe=(0,se.Z)((0,se.Z)({},L),Te?D:{});return Object.keys(D).forEach(function(Me){var We=D[Me];typeof We=="function"&&(Pe[Me]=function(){for(var De,Xe=arguments.length,qe=new Array(Xe),tt=0;tt<Xe;tt++)qe[tt]=arguments[tt];return We.apply(void 0,qe),(De=L[Me])===null||De===void 0?void 0:De.call.apply(De,[L].concat(qe))})}),Pe}var K=H,W=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],h=function(D,Te){var Pe=D.prefixCls,Me=D.id,We=D.inputElement,De=D.autoFocus,Xe=D.autoComplete,qe=D.editable,tt=D.activeDescendantId,Ne=D.value,Fe=D.open,et=D.attrs,Ge=(0,p.Z)(D,W),at=We||l.createElement("input",null),st=at,ht=st.ref,Rt=st.props;return(0,ce.Kp)(!("maxLength"in at.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),at=l.cloneElement(at,(0,se.Z)((0,se.Z)((0,se.Z)({type:"search"},K(Ge,Rt,!0)),{},{id:Me,ref:(0,he.sQ)(Te,ht),autoComplete:Xe||"off",autoFocus:De,className:d()("".concat(Pe,"-selection-search-input"),Rt==null?void 0:Rt.className),role:"combobox","aria-expanded":Fe||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Me,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Me,"_list"),"aria-activedescendant":Fe?tt:void 0},et),{},{value:qe?Ne:"",readOnly:!qe,unselectable:qe?null:"on",style:(0,se.Z)((0,se.Z)({},Rt.style),{},{opacity:qe?null:0})})),at},o=l.forwardRef(h),Y=o;function I(L){return Array.isArray(L)?L:L!==void 0?[L]:[]}var xe=typeof window!="undefined"&&window.document&&window.document.documentElement,Ie=xe;function ye(L){return L!=null}function fe(L){return!L&&L!==0}function we(L){return["string","number"].includes((0,P.Z)(L))}function be(L){var D=void 0;return L&&(we(L.title)?D=L.title.toString():we(L.label)&&(D=L.label.toString())),D}function Se(L,D){Ie?l.useLayoutEffect(L,D):l.useEffect(L,D)}function G(L){var D;return(D=L.key)!==null&&D!==void 0?D:L.value}var ve=function(D){D.preventDefault(),D.stopPropagation()},J=function(D){var Te=D.id,Pe=D.prefixCls,Me=D.values,We=D.open,De=D.searchValue,Xe=D.autoClearSearchValue,qe=D.inputRef,tt=D.placeholder,Ne=D.disabled,Fe=D.mode,et=D.showSearch,Ge=D.autoFocus,at=D.autoComplete,st=D.activeDescendantId,ht=D.tabIndex,Rt=D.removeIcon,en=D.maxTagCount,Kt=D.maxTagTextLength,Dt=D.maxTagPlaceholder,Wt=Dt===void 0?function(ct){return"+ ".concat(ct.length," ...")}:Dt,At=D.tagRender,Xt=D.onToggleOpen,ln=D.onRemove,Lt=D.onInputChange,kt=D.onInputPaste,tn=D.onInputKeyDown,$t=D.onInputMouseDown,Vt=D.onInputCompositionStart,Gt=D.onInputCompositionEnd,_t=D.onInputBlur,Yt=l.useRef(null),on=(0,l.useState)(0),Qe=(0,le.Z)(on,2),gt=Qe[0],Ct=Qe[1],wt=(0,l.useState)(!1),Ht=(0,le.Z)(wt,2),pn=Ht[0],hn=Ht[1],rn="".concat(Pe,"-selection"),Cn=We||Fe==="multiple"&&Xe===!1||Fe==="tags"?De:"",sn=Fe==="tags"||Fe==="multiple"&&Xe===!1||et&&(We||pn);Se(function(){Ct(Yt.current.scrollWidth)},[Cn]);var Mn=function(lt,pt,zt,Tt,Ft){return l.createElement("span",{title:be(lt),className:d()("".concat(rn,"-item"),(0,S.Z)({},"".concat(rn,"-item-disabled"),zt))},l.createElement("span",{className:"".concat(rn,"-item-content")},pt),Tt&&l.createElement(ne,{className:"".concat(rn,"-item-remove"),onMouseDown:ve,onClick:Ft,customizeIcon:Rt},"\xD7"))},wn=function(lt,pt,zt,Tt,Ft,nn){var vn=function($n){ve($n),Xt(!We)};return l.createElement("span",{onMouseDown:vn},At({label:pt,value:lt,disabled:zt,closable:Tt,onClose:Ft,isMaxTag:!!nn}))},cn=function(lt){var pt=lt.disabled,zt=lt.label,Tt=lt.value,Ft=!Ne&&!pt,nn=zt;if(typeof Kt=="number"&&(typeof zt=="string"||typeof zt=="number")){var vn=String(nn);vn.length>Kt&&(nn="".concat(vn.slice(0,Kt),"..."))}var xn=function(dn){dn&&dn.stopPropagation(),ln(lt)};return typeof At=="function"?wn(Tt,nn,pt,Ft,xn):Mn(lt,nn,pt,Ft,xn)},ft=function(lt){if(!Me.length)return null;var pt=typeof Wt=="function"?Wt(lt):Wt;return typeof At=="function"?wn(void 0,pt,!1,!1,void 0,!0):Mn({title:pt},pt,!1)},Ze=l.createElement("div",{className:"".concat(rn,"-search"),style:{width:gt},onFocus:function(){hn(!0)},onBlur:function(){hn(!1)}},l.createElement(Y,{ref:qe,open:We,prefixCls:Pe,id:Te,inputElement:null,disabled:Ne,autoFocus:Ge,autoComplete:at,editable:sn,activeDescendantId:st,value:Cn,onKeyDown:tn,onMouseDown:$t,onChange:Lt,onPaste:kt,onCompositionStart:Vt,onCompositionEnd:Gt,onBlur:_t,tabIndex:ht,attrs:(0,z.Z)(D,!0)}),l.createElement("span",{ref:Yt,className:"".concat(rn,"-search-mirror"),"aria-hidden":!0},Cn,"\xA0")),ke=l.createElement(F.Z,{prefixCls:"".concat(rn,"-overflow"),data:Me,renderItem:cn,renderRest:ft,suffix:Ze,itemKey:G,maxCount:en});return l.createElement("span",{className:"".concat(rn,"-wrap")},ke,!Me.length&&!Cn&&l.createElement("span",{className:"".concat(rn,"-placeholder")},tt))},Re=J,Q=function(D){var Te=D.inputElement,Pe=D.prefixCls,Me=D.id,We=D.inputRef,De=D.disabled,Xe=D.autoFocus,qe=D.autoComplete,tt=D.activeDescendantId,Ne=D.mode,Fe=D.open,et=D.values,Ge=D.placeholder,at=D.tabIndex,st=D.showSearch,ht=D.searchValue,Rt=D.activeValue,en=D.maxLength,Kt=D.onInputKeyDown,Dt=D.onInputMouseDown,Wt=D.onInputChange,At=D.onInputPaste,Xt=D.onInputCompositionStart,ln=D.onInputCompositionEnd,Lt=D.onInputBlur,kt=D.title,tn=l.useState(!1),$t=(0,le.Z)(tn,2),Vt=$t[0],Gt=$t[1],_t=Ne==="combobox",Yt=_t||st,on=et[0],Qe=ht||"";_t&&Rt&&!Vt&&(Qe=Rt),l.useEffect(function(){_t&&Gt(!1)},[_t,Rt]);var gt=Ne!=="combobox"&&!Fe&&!st?!1:!!Qe,Ct=kt===void 0?be(on):kt,wt=l.useMemo(function(){return on?null:l.createElement("span",{className:"".concat(Pe,"-selection-placeholder"),style:gt?{visibility:"hidden"}:void 0},Ge)},[on,gt,Ge,Pe]);return l.createElement("span",{className:"".concat(Pe,"-selection-wrap")},l.createElement("span",{className:"".concat(Pe,"-selection-search")},l.createElement(Y,{ref:We,prefixCls:Pe,id:Me,open:Fe,inputElement:Te,disabled:De,autoFocus:Xe,autoComplete:qe,editable:Yt,activeDescendantId:tt,value:Qe,onKeyDown:Kt,onMouseDown:Dt,onChange:function(pn){Gt(!0),Wt(pn)},onPaste:At,onCompositionStart:Xt,onCompositionEnd:ln,onBlur:Lt,tabIndex:at,attrs:(0,z.Z)(D,!0),maxLength:_t?en:void 0})),!_t&&on?l.createElement("span",{className:"".concat(Pe,"-selection-item"),title:Ct,style:gt?{visibility:"hidden"}:void 0},on.label):null,wt)},pe=Q,_=function(D,Te){var Pe=(0,l.useRef)(null),Me=(0,l.useRef)(!1),We=D.prefixCls,De=D.open,Xe=D.mode,qe=D.showSearch,tt=D.tokenWithEnter,Ne=D.disabled,Fe=D.prefix,et=D.autoClearSearchValue,Ge=D.onSearch,at=D.onSearchSubmit,st=D.onToggleOpen,ht=D.onInputKeyDown,Rt=D.onInputBlur,en=D.domRef;l.useImperativeHandle(Te,function(){return{focus:function(Ct){Pe.current.focus(Ct)},blur:function(){Pe.current.blur()}}});var Kt=s(0),Dt=(0,le.Z)(Kt,2),Wt=Dt[0],At=Dt[1],Xt=function(Ct){var wt=Ct.which,Ht=Pe.current instanceof HTMLTextAreaElement;!Ht&&De&&(wt===x.Z.UP||wt===x.Z.DOWN)&&Ct.preventDefault(),ht&&ht(Ct),wt===x.Z.ENTER&&Xe==="tags"&&!Me.current&&!De&&(at==null||at(Ct.target.value)),!(Ht&&!De&&~[x.Z.UP,x.Z.DOWN,x.Z.LEFT,x.Z.RIGHT].indexOf(wt))&&c(wt)&&st(!0)},ln=function(){At(!0)},Lt=(0,l.useRef)(null),kt=function(Ct){Ge(Ct,!0,Me.current)!==!1&&st(!0)},tn=function(){Me.current=!0},$t=function(Ct){Me.current=!1,Xe!=="combobox"&&kt(Ct.target.value)},Vt=function(Ct){var wt=Ct.target.value;if(tt&&Lt.current&&/[\r\n]/.test(Lt.current)){var Ht=Lt.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");wt=wt.replace(Ht,Lt.current)}Lt.current=null,kt(wt)},Gt=function(Ct){var wt=Ct.clipboardData,Ht=wt==null?void 0:wt.getData("text");Lt.current=Ht||""},_t=function(Ct){var wt=Ct.target;if(wt!==Pe.current){var Ht=document.body.style.msTouchAction!==void 0;Ht?setTimeout(function(){Pe.current.focus()}):Pe.current.focus()}},Yt=function(Ct){var wt=Wt();Ct.target!==Pe.current&&!wt&&!(Xe==="combobox"&&Ne)&&Ct.preventDefault(),(Xe!=="combobox"&&(!qe||!wt)||!De)&&(De&&et!==!1&&Ge("",!0,!1),st())},on={inputRef:Pe,onInputKeyDown:Xt,onInputMouseDown:ln,onInputChange:Vt,onInputPaste:Gt,onInputCompositionStart:tn,onInputCompositionEnd:$t,onInputBlur:Rt},Qe=Xe==="multiple"||Xe==="tags"?l.createElement(Re,(0,e.Z)({},D,on)):l.createElement(pe,(0,e.Z)({},D,on));return l.createElement("div",{ref:en,className:"".concat(We,"-selector"),onClick:_t,onMouseDown:Yt},Fe&&l.createElement("div",{className:"".concat(We,"-prefix")},Fe),Qe)},Ae=l.forwardRef(_),k=Ae,b=t(68196),N=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],R=function(D){var Te=D===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Te,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Te,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Te,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Te,adjustY:1},htmlRegion:"scroll"}}},g=function(D,Te){var Pe=D.prefixCls,Me=D.disabled,We=D.visible,De=D.children,Xe=D.popupElement,qe=D.animation,tt=D.transitionName,Ne=D.dropdownStyle,Fe=D.dropdownClassName,et=D.direction,Ge=et===void 0?"ltr":et,at=D.placement,st=D.builtinPlacements,ht=D.dropdownMatchSelectWidth,Rt=D.dropdownRender,en=D.dropdownAlign,Kt=D.getPopupContainer,Dt=D.empty,Wt=D.getTriggerDOMNode,At=D.onPopupVisibleChange,Xt=D.onPopupMouseEnter,ln=(0,p.Z)(D,N),Lt="".concat(Pe,"-dropdown"),kt=Xe;Rt&&(kt=Rt(Xe));var tn=l.useMemo(function(){return st||R(ht)},[st,ht]),$t=qe?"".concat(Lt,"-").concat(qe):tt,Vt=typeof ht=="number",Gt=l.useMemo(function(){return Vt?null:ht===!1?"minWidth":"width"},[ht,Vt]),_t=Ne;Vt&&(_t=(0,se.Z)((0,se.Z)({},_t),{},{width:ht}));var Yt=l.useRef(null);return l.useImperativeHandle(Te,function(){return{getPopupElement:function(){var Qe;return(Qe=Yt.current)===null||Qe===void 0?void 0:Qe.popupElement}}}),l.createElement(b.Z,(0,e.Z)({},ln,{showAction:At?["click"]:[],hideAction:At?["click"]:[],popupPlacement:at||(Ge==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:tn,prefixCls:Lt,popupTransitionName:$t,popup:l.createElement("div",{onMouseEnter:Xt},kt),ref:Yt,stretch:Gt,popupAlign:en,popupVisible:We,getPopupContainer:Kt,popupClassName:d()(Fe,(0,S.Z)({},"".concat(Lt,"-empty"),Dt)),popupStyle:_t,getTriggerDOMNode:Wt,onPopupVisibleChange:At}),De)},U=l.forwardRef(g),y=U,n=t(48745);function r(L,D){var Te=L.key,Pe;return"value"in L&&(Pe=L.value),Te!=null?Te:Pe!==void 0?Pe:"rc-index-key-".concat(D)}function $(L){return typeof L!="undefined"&&!Number.isNaN(L)}function A(L,D){var Te=L||{},Pe=Te.label,Me=Te.value,We=Te.options,De=Te.groupLabel,Xe=Pe||(D?"children":"label");return{label:Xe,value:Me||"value",options:We||"options",groupLabel:De||Xe}}function m(L){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Te=D.fieldNames,Pe=D.childrenAsData,Me=[],We=A(Te,!1),De=We.label,Xe=We.value,qe=We.options,tt=We.groupLabel;function Ne(Fe,et){Array.isArray(Fe)&&Fe.forEach(function(Ge){if(et||!(qe in Ge)){var at=Ge[Xe];Me.push({key:r(Ge,Me.length),groupOption:et,data:Ge,label:Ge[De],value:at})}else{var st=Ge[tt];st===void 0&&Pe&&(st=Ge.label),Me.push({key:r(Ge,Me.length),group:!0,data:Ge,label:st}),Ne(Ge[qe],!0)}})}return Ne(L,!1),Me}function C(L){var D=(0,se.Z)({},L);return"props"in D||Object.defineProperty(D,"props",{get:function(){return(0,ce.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),D}}),D}var E=function(D,Te,Pe){if(!Te||!Te.length)return null;var Me=!1,We=function Xe(qe,tt){var Ne=(0,n.Z)(tt),Fe=Ne[0],et=Ne.slice(1);if(!Fe)return[qe];var Ge=qe.split(Fe);return Me=Me||Ge.length>1,Ge.reduce(function(at,st){return[].concat((0,B.Z)(at),(0,B.Z)(Xe(st,et)))},[]).filter(Boolean)},De=We(D,Te);return Me?typeof Pe!="undefined"?De.slice(0,Pe):De:null},M=l.createContext(null),a=M;function i(L){var D=L.visible,Te=L.values;if(!D)return null;var Pe=50;return l.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Te.slice(0,Pe).map(function(Me){var We=Me.label,De=Me.value;return["number","string"].includes((0,P.Z)(We))?We:De}).join(", ")),Te.length>Pe?", ...":null)}var ge=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],V=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Z=function(D){return D==="tags"||D==="multiple"},O=l.forwardRef(function(L,D){var Te,Pe=L.id,Me=L.prefixCls,We=L.className,De=L.showSearch,Xe=L.tagRender,qe=L.direction,tt=L.omitDomProps,Ne=L.displayValues,Fe=L.onDisplayValuesChange,et=L.emptyOptions,Ge=L.notFoundContent,at=Ge===void 0?"Not Found":Ge,st=L.onClear,ht=L.mode,Rt=L.disabled,en=L.loading,Kt=L.getInputElement,Dt=L.getRawInputElement,Wt=L.open,At=L.defaultOpen,Xt=L.onDropdownVisibleChange,ln=L.activeValue,Lt=L.onActiveValueChange,kt=L.activeDescendantId,tn=L.searchValue,$t=L.autoClearSearchValue,Vt=L.onSearch,Gt=L.onSearchSplit,_t=L.tokenSeparators,Yt=L.allowClear,on=L.prefix,Qe=L.suffixIcon,gt=L.clearIcon,Ct=L.OptionList,wt=L.animation,Ht=L.transitionName,pn=L.dropdownStyle,hn=L.dropdownClassName,rn=L.dropdownMatchSelectWidth,Cn=L.dropdownRender,sn=L.dropdownAlign,Mn=L.placement,wn=L.builtinPlacements,cn=L.getPopupContainer,ft=L.showAction,Ze=ft===void 0?[]:ft,ke=L.onFocus,ct=L.onBlur,lt=L.onKeyUp,pt=L.onKeyDown,zt=L.onMouseDown,Tt=(0,p.Z)(L,ge),Ft=Z(ht),nn=(De!==void 0?De:Ft)||ht==="combobox",vn=(0,se.Z)({},Tt);V.forEach(function(jt){delete vn[jt]}),tt==null||tt.forEach(function(jt){delete vn[jt]});var xn=l.useState(!1),$n=(0,le.Z)(xn,2),dn=$n[0],Fn=$n[1];l.useEffect(function(){Fn((0,de.Z)())},[]);var Tn=l.useRef(null),In=l.useRef(null),gn=l.useRef(null),Sn=l.useRef(null),mn=l.useRef(null),Rn=l.useRef(!1),Zn=v(),Pn=(0,le.Z)(Zn,3),On=Pn[0],Bn=Pn[1],yt=Pn[2];l.useImperativeHandle(D,function(){var jt,Zt;return{focus:(jt=Sn.current)===null||jt===void 0?void 0:jt.focus,blur:(Zt=Sn.current)===null||Zt===void 0?void 0:Zt.blur,scrollTo:function(Dn){var bn;return(bn=mn.current)===null||bn===void 0?void 0:bn.scrollTo(Dn)},nativeElement:Tn.current||In.current}});var Pt=l.useMemo(function(){var jt;if(ht!=="combobox")return tn;var Zt=(jt=Ne[0])===null||jt===void 0?void 0:jt.value;return typeof Zt=="string"||typeof Zt=="number"?String(Zt):""},[tn,ht,Ne]),an=ht==="combobox"&&typeof Kt=="function"&&Kt()||null,fn=typeof Dt=="function"&&Dt(),Hn=(0,he.x1)(In,fn==null||(Te=fn.props)===null||Te===void 0?void 0:Te.ref),nr=l.useState(!1),rr=(0,le.Z)(nr,2),cr=rr[0],or=rr[1];(0,ae.Z)(function(){or(!0)},[]);var ar=(0,w.Z)(!1,{defaultValue:At,value:Wt}),Vn=(0,le.Z)(ar,2),qn=Vn[0],er=Vn[1],yn=cr?qn:!1,lr=!at&&et;(Rt||lr&&yn&&ht==="combobox")&&(yn=!1);var Gn=lr?!1:yn,bt=l.useCallback(function(jt){var Zt=jt!==void 0?jt:!yn;Rt||(er(Zt),yn!==Zt&&(Xt==null||Xt(Zt)))},[Rt,yn,er,Xt]),Bt=l.useMemo(function(){return(_t||[]).some(function(jt){return[`
|
|
`,`\r
|
|
`].includes(jt)})},[_t]),Et=l.useContext(a)||{},It=Et.maxCount,Ut=Et.rawValues,un=function(Zt,Nn,Dn){if(!(Ft&&$(It)&&(Ut==null?void 0:Ut.size)>=It)){var bn=!0,An=Zt;Lt==null||Lt(null);var _n=E(Zt,_t,$(It)?It-Ut.size:void 0),zn=Dn?null:_n;return ht!=="combobox"&&zn&&(An="",Gt==null||Gt(zn),bt(!1),bn=!1),Vt&&Pt!==An&&Vt(An,{source:Nn?"typing":"effect"}),bn}},jn=function(Zt){!Zt||!Zt.trim()||Vt(Zt,{source:"submit"})};l.useEffect(function(){!yn&&!Ft&&ht!=="combobox"&&un("",!1,!1)},[yn]),l.useEffect(function(){qn&&Rt&&er(!1),Rt&&!Rn.current&&Bn(!1)},[Rt]);var Ln=s(),Wn=(0,le.Z)(Ln,2),En=Wn[0],kn=Wn[1],Un=l.useRef(!1),ur=function(Zt){var Nn=En(),Dn=Zt.key,bn=Dn==="Enter";if(bn&&(ht!=="combobox"&&Zt.preventDefault(),yn||bt(!0)),kn(!!Pt),Dn==="Backspace"&&!Nn&&Ft&&!Pt&&Ne.length){for(var An=(0,B.Z)(Ne),_n=null,zn=An.length-1;zn>=0;zn-=1){var Qn=An[zn];if(!Qn.disabled){An.splice(zn,1),_n=Qn;break}}_n&&Fe(An,{type:"remove",values:[_n]})}for(var Jn=arguments.length,Xn=new Array(Jn>1?Jn-1:0),ir=1;ir<Jn;ir++)Xn[ir-1]=arguments[ir];if(yn&&(!bn||!Un.current)){var sr;bn&&(Un.current=!0),(sr=mn.current)===null||sr===void 0||sr.onKeyDown.apply(sr,[Zt].concat(Xn))}pt==null||pt.apply(void 0,[Zt].concat(Xn))},fr=function(Zt){for(var Nn=arguments.length,Dn=new Array(Nn>1?Nn-1:0),bn=1;bn<Nn;bn++)Dn[bn-1]=arguments[bn];if(yn){var An;(An=mn.current)===null||An===void 0||An.onKeyUp.apply(An,[Zt].concat(Dn))}Zt.key==="Enter"&&(Un.current=!1),lt==null||lt.apply(void 0,[Zt].concat(Dn))},tr=function(Zt){var Nn=Ne.filter(function(Dn){return Dn!==Zt});Fe(Nn,{type:"remove",values:[Zt]})},Kn=function(){Un.current=!1},dr=l.useRef(!1),Cr=function(){Bn(!0),Rt||(ke&&!dr.current&&ke.apply(void 0,arguments),Ze.includes("focus")&&bt(!0)),dr.current=!0},Er=function(){Rn.current=!0,Bn(!1,function(){dr.current=!1,Rn.current=!1,bt(!1)}),!Rt&&(Pt&&(ht==="tags"?Vt(Pt,{source:"submit"}):ht==="multiple"&&Vt("",{source:"blur"})),ct&&ct.apply(void 0,arguments))},Yn=[];l.useEffect(function(){return function(){Yn.forEach(function(jt){return clearTimeout(jt)}),Yn.splice(0,Yn.length)}},[]);var xr=function(Zt){var Nn,Dn=Zt.target,bn=(Nn=gn.current)===null||Nn===void 0?void 0:Nn.getPopupElement();if(bn&&bn.contains(Dn)){var An=setTimeout(function(){var Jn=Yn.indexOf(An);if(Jn!==-1&&Yn.splice(Jn,1),yt(),!dn&&!bn.contains(document.activeElement)){var Xn;(Xn=Sn.current)===null||Xn===void 0||Xn.focus()}});Yn.push(An)}for(var _n=arguments.length,zn=new Array(_n>1?_n-1:0),Qn=1;Qn<_n;Qn++)zn[Qn-1]=arguments[Qn];zt==null||zt.apply(void 0,[Zt].concat(zn))},Sr=l.useState({}),Ar=(0,le.Z)(Sr,2),wr=Ar[1];function Ir(){wr({})}var vr;fn&&(vr=function(Zt){bt(Zt)}),f(function(){var jt;return[Tn.current,(jt=gn.current)===null||jt===void 0?void 0:jt.getPopupElement()]},Gn,bt,!!fn);var Or=l.useMemo(function(){return(0,se.Z)((0,se.Z)({},L),{},{notFoundContent:at,open:yn,triggerOpen:Gn,id:Pe,showSearch:nn,multiple:Ft,toggleOpen:bt})},[L,at,Gn,yn,Pe,nn,Ft,bt]),gr=!!Qe||en,pr;gr&&(pr=l.createElement(ne,{className:d()("".concat(Me,"-arrow"),(0,S.Z)({},"".concat(Me,"-arrow-loading"),en)),customizeIcon:Qe,customizeIconProps:{loading:en,searchValue:Pt,open:yn,focused:On,showSearch:nn}}));var Pr=function(){var Zt;st==null||st(),(Zt=Sn.current)===null||Zt===void 0||Zt.focus(),Fe([],{type:"clear",values:Ne}),un("",!1,!1)},hr=q(Me,Pr,Ne,Yt,gt,Rt,Pt,ht),Br=hr.allowClear,Nr=hr.clearIcon,Dr=l.createElement(Ct,{ref:mn}),Mr=d()(Me,We,(0,S.Z)((0,S.Z)((0,S.Z)((0,S.Z)((0,S.Z)((0,S.Z)((0,S.Z)((0,S.Z)((0,S.Z)((0,S.Z)({},"".concat(Me,"-focused"),On),"".concat(Me,"-multiple"),Ft),"".concat(Me,"-single"),!Ft),"".concat(Me,"-allow-clear"),Yt),"".concat(Me,"-show-arrow"),gr),"".concat(Me,"-disabled"),Rt),"".concat(Me,"-loading"),en),"".concat(Me,"-open"),yn),"".concat(Me,"-customize-input"),an),"".concat(Me,"-show-search"),nn)),yr=l.createElement(y,{ref:gn,disabled:Rt,prefixCls:Me,visible:Gn,popupElement:Dr,animation:wt,transitionName:Ht,dropdownStyle:pn,dropdownClassName:hn,direction:qe,dropdownMatchSelectWidth:rn,dropdownRender:Cn,dropdownAlign:sn,placement:Mn,builtinPlacements:wn,getPopupContainer:cn,empty:et,getTriggerDOMNode:function(Zt){return In.current||Zt},onPopupVisibleChange:vr,onPopupMouseEnter:Ir},fn?l.cloneElement(fn,{ref:Hn}):l.createElement(k,(0,e.Z)({},L,{domRef:In,prefixCls:Me,inputElement:an,ref:Sn,id:Pe,prefix:on,showSearch:nn,autoClearSearchValue:$t,mode:ht,activeDescendantId:kt,tagRender:Xe,values:Ne,open:yn,onToggleOpen:bt,activeValue:ln,searchValue:Pt,onSearch:un,onSearchSubmit:jn,onRemove:tr,tokenWithEnter:Bt,onInputBlur:Kn}))),mr;return fn?mr=yr:mr=l.createElement("div",(0,e.Z)({className:Mr},vn,{ref:Tn,onMouseDown:xr,onKeyDown:ur,onKeyUp:fr,onFocus:Cr,onBlur:Er}),l.createElement(i,{visible:On&&!yn,values:Ne}),yr,pr,Br&&Nr),l.createElement(ie.Provider,{value:Or},mr)}),u=O,T=function(){return null};T.isSelectOptGroup=!0;var j=T,oe=function(){return null};oe.isSelectOption=!0;var Ee=oe,ue=t(80547),me=t(2738),re=t(48911);function je(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var _e=["disabled","title","children","style","className"];function Ke(L){return typeof L=="string"||typeof L=="number"}var nt=function(D,Te){var Pe=Ce(),Me=Pe.prefixCls,We=Pe.id,De=Pe.open,Xe=Pe.multiple,qe=Pe.mode,tt=Pe.searchValue,Ne=Pe.toggleOpen,Fe=Pe.notFoundContent,et=Pe.onPopupScroll,Ge=l.useContext(a),at=Ge.maxCount,st=Ge.flattenOptions,ht=Ge.onActiveValue,Rt=Ge.defaultActiveFirstOption,en=Ge.onSelect,Kt=Ge.menuItemSelectedIcon,Dt=Ge.rawValues,Wt=Ge.fieldNames,At=Ge.virtual,Xt=Ge.direction,ln=Ge.listHeight,Lt=Ge.listItemHeight,kt=Ge.optionRender,tn="".concat(Me,"-item"),$t=(0,ue.Z)(function(){return st},[De,st],function(ft,Ze){return Ze[0]&&ft[1]!==Ze[1]}),Vt=l.useRef(null),Gt=l.useMemo(function(){return Xe&&$(at)&&(Dt==null?void 0:Dt.size)>=at},[Xe,at,Dt==null?void 0:Dt.size]),_t=function(Ze){Ze.preventDefault()},Yt=function(Ze){var ke;(ke=Vt.current)===null||ke===void 0||ke.scrollTo(typeof Ze=="number"?{index:Ze}:Ze)},on=l.useCallback(function(ft){return qe==="combobox"?!1:Dt.has(ft)},[qe,(0,B.Z)(Dt).toString(),Dt.size]),Qe=function(Ze){for(var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ct=$t.length,lt=0;lt<ct;lt+=1){var pt=(Ze+lt*ke+ct)%ct,zt=$t[pt]||{},Tt=zt.group,Ft=zt.data;if(!Tt&&!(Ft!=null&&Ft.disabled)&&(on(Ft.value)||!Gt))return pt}return-1},gt=l.useState(function(){return Qe(0)}),Ct=(0,le.Z)(gt,2),wt=Ct[0],Ht=Ct[1],pn=function(Ze){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ht(Ze);var ct={source:ke?"keyboard":"mouse"},lt=$t[Ze];if(!lt){ht(null,-1,ct);return}ht(lt.value,Ze,ct)};(0,l.useEffect)(function(){pn(Rt!==!1?Qe(0):-1)},[$t.length,tt]);var hn=l.useCallback(function(ft){return qe==="combobox"?String(ft).toLowerCase()===tt.toLowerCase():Dt.has(ft)},[qe,tt,(0,B.Z)(Dt).toString(),Dt.size]);(0,l.useEffect)(function(){var ft=setTimeout(function(){if(!Xe&&De&&Dt.size===1){var ke=Array.from(Dt)[0],ct=$t.findIndex(function(lt){var pt=lt.data;return tt?String(pt.value).startsWith(tt):pt.value===ke});ct!==-1&&(pn(ct),Yt(ct))}});if(De){var Ze;(Ze=Vt.current)===null||Ze===void 0||Ze.scrollTo(void 0)}return function(){return clearTimeout(ft)}},[De,tt]);var rn=function(Ze){Ze!==void 0&&en(Ze,{selected:!Dt.has(Ze)}),Xe||Ne(!1)};if(l.useImperativeHandle(Te,function(){return{onKeyDown:function(Ze){var ke=Ze.which,ct=Ze.ctrlKey;switch(ke){case x.Z.N:case x.Z.P:case x.Z.UP:case x.Z.DOWN:{var lt=0;if(ke===x.Z.UP?lt=-1:ke===x.Z.DOWN?lt=1:je()&&ct&&(ke===x.Z.N?lt=1:ke===x.Z.P&&(lt=-1)),lt!==0){var pt=Qe(wt+lt,lt);Yt(pt),pn(pt,!0)}break}case x.Z.TAB:case x.Z.ENTER:{var zt,Tt=$t[wt];Tt&&!(Tt!=null&&(zt=Tt.data)!==null&&zt!==void 0&&zt.disabled)&&!Gt?rn(Tt.value):rn(void 0),De&&Ze.preventDefault();break}case x.Z.ESC:Ne(!1),De&&Ze.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Ze){Yt(Ze)}}}),$t.length===0)return l.createElement("div",{role:"listbox",id:"".concat(We,"_list"),className:"".concat(tn,"-empty"),onMouseDown:_t},Fe);var Cn=Object.keys(Wt).map(function(ft){return Wt[ft]}),sn=function(Ze){return Ze.label};function Mn(ft,Ze){var ke=ft.group;return{role:ke?"presentation":"option",id:"".concat(We,"_list_").concat(Ze)}}var wn=function(Ze){var ke=$t[Ze];if(!ke)return null;var ct=ke.data||{},lt=ct.value,pt=ke.group,zt=(0,z.Z)(ct,!0),Tt=sn(ke);return ke?l.createElement("div",(0,e.Z)({"aria-label":typeof Tt=="string"&&!pt?Tt:null},zt,{key:Ze},Mn(ke,Ze),{"aria-selected":hn(lt)}),lt):null},cn={role:"listbox",id:"".concat(We,"_list")};return l.createElement(l.Fragment,null,At&&l.createElement("div",(0,e.Z)({},cn,{style:{height:0,width:0,overflow:"hidden"}}),wn(wt-1),wn(wt),wn(wt+1)),l.createElement(re.Z,{itemKey:"key",ref:Vt,data:$t,height:ln,itemHeight:Lt,fullHeight:!1,onMouseDown:_t,onScroll:et,virtual:At,direction:Xt,innerProps:At?null:cn},function(ft,Ze){var ke=ft.group,ct=ft.groupOption,lt=ft.data,pt=ft.label,zt=ft.value,Tt=lt.key;if(ke){var Ft,nn=(Ft=lt.title)!==null&&Ft!==void 0?Ft:Ke(pt)?pt.toString():void 0;return l.createElement("div",{className:d()(tn,"".concat(tn,"-group"),lt.className),title:nn},pt!==void 0?pt:Tt)}var vn=lt.disabled,xn=lt.title,$n=lt.children,dn=lt.style,Fn=lt.className,Tn=(0,p.Z)(lt,_e),In=(0,me.Z)(Tn,Cn),gn=on(zt),Sn=vn||!gn&&Gt,mn="".concat(tn,"-option"),Rn=d()(tn,mn,Fn,(0,S.Z)((0,S.Z)((0,S.Z)((0,S.Z)({},"".concat(mn,"-grouped"),ct),"".concat(mn,"-active"),wt===Ze&&!Sn),"".concat(mn,"-disabled"),Sn),"".concat(mn,"-selected"),gn)),Zn=sn(ft),Pn=!Kt||typeof Kt=="function"||gn,On=typeof Zn=="number"?Zn:Zn||zt,Bn=Ke(On)?On.toString():void 0;return xn!==void 0&&(Bn=xn),l.createElement("div",(0,e.Z)({},(0,z.Z)(In),At?{}:Mn(ft,Ze),{"aria-selected":hn(zt),className:Rn,title:Bn,onMouseMove:function(){wt===Ze||Sn||pn(Ze)},onClick:function(){Sn||rn(zt)},style:dn}),l.createElement("div",{className:"".concat(mn,"-content")},typeof kt=="function"?kt(ft,{index:Ze}):On),l.isValidElement(Kt)||gn,Pn&&l.createElement(ne,{className:"".concat(tn,"-option-state"),customizeIcon:Kt,customizeIconProps:{value:zt,disabled:Sn,isSelected:gn}},gn?"\u2713":null))}))},it=l.forwardRef(nt),ut=it,dt=function(L,D){var Te=l.useRef({values:new Map,options:new Map}),Pe=l.useMemo(function(){var We=Te.current,De=We.values,Xe=We.options,qe=L.map(function(Fe){if(Fe.label===void 0){var et;return(0,se.Z)((0,se.Z)({},Fe),{},{label:(et=De.get(Fe.value))===null||et===void 0?void 0:et.label})}return Fe}),tt=new Map,Ne=new Map;return qe.forEach(function(Fe){tt.set(Fe.value,Fe),Ne.set(Fe.value,D.get(Fe.value)||Xe.get(Fe.value))}),Te.current.values=tt,Te.current.options=Ne,qe},[L,D]),Me=l.useCallback(function(We){return D.get(We)||Te.current.options.get(We)},[D]);return[Pe,Me]};function Be(L,D){return I(L).join("").toUpperCase().includes(D)}var te=function(L,D,Te,Pe,Me){return l.useMemo(function(){if(!Te||Pe===!1)return L;var We=D.options,De=D.label,Xe=D.value,qe=[],tt=typeof Pe=="function",Ne=Te.toUpperCase(),Fe=tt?Pe:function(Ge,at){return Me?Be(at[Me],Ne):at[We]?Be(at[De!=="children"?De:"label"],Ne):Be(at[Xe],Ne)},et=tt?function(Ge){return C(Ge)}:function(Ge){return Ge};return L.forEach(function(Ge){if(Ge[We]){var at=Fe(Te,et(Ge));if(at)qe.push(Ge);else{var st=Ge[We].filter(function(ht){return Fe(Te,et(ht))});st.length&&qe.push((0,se.Z)((0,se.Z)({},Ge),{},(0,S.Z)({},We,st)))}return}Fe(Te,et(Ge))&&qe.push(Ge)}),qe},[L,Pe,Me,Te,D])},ze=t(6551),$e=t(11592),Je=["children","value"],He=["children"];function Ye(L){var D=L,Te=D.key,Pe=D.props,Me=Pe.children,We=Pe.value,De=(0,p.Z)(Pe,Je);return(0,se.Z)({key:Te,value:We!==void 0?We:Te,children:Me},De)}function ot(L){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,$e.Z)(L).map(function(Te,Pe){if(!l.isValidElement(Te)||!Te.type)return null;var Me=Te,We=Me.type.isSelectOptGroup,De=Me.key,Xe=Me.props,qe=Xe.children,tt=(0,p.Z)(Xe,He);return D||!We?Ye(Te):(0,se.Z)((0,se.Z)({key:"__RC_SELECT_GRP__".concat(De===null?Pe:De,"__"),label:De},tt),{},{options:ot(qe)})}).filter(function(Te){return Te})}var Ue=function(D,Te,Pe,Me,We){return l.useMemo(function(){var De=D,Xe=!D;Xe&&(De=ot(Te));var qe=new Map,tt=new Map,Ne=function(Ge,at,st){st&&typeof st=="string"&&Ge.set(at[st],at)},Fe=function et(Ge){for(var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,st=0;st<Ge.length;st+=1){var ht=Ge[st];!ht[Pe.options]||at?(qe.set(ht[Pe.value],ht),Ne(tt,ht,Pe.label),Ne(tt,ht,Me),Ne(tt,ht,We)):et(ht[Pe.options],!0)}};return Fe(De),{options:De,valueOptions:qe,labelOptions:tt}},[D,Te,Pe,Me,We])},vt=Ue;function St(L){var D=l.useRef();D.current=L;var Te=l.useCallback(function(){return D.current.apply(D,arguments)},[]);return Te}function Jt(L){var D=L.mode,Te=L.options,Pe=L.children,Me=L.backfill,We=L.allowClear,De=L.placeholder,Xe=L.getInputElement,qe=L.showSearch,tt=L.onSearch,Ne=L.defaultOpen,Fe=L.autoFocus,et=L.labelInValue,Ge=L.value,at=L.inputValue,st=L.optionLabelProp,ht=isMultiple(D),Rt=qe!==void 0?qe:ht||D==="combobox",en=Te||convertChildrenToData(Pe);if(warning(D!=="tags"||en.every(function(At){return!At.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),D==="tags"||D==="combobox"){var Kt=en.some(function(At){return At.options?At.options.some(function(Xt){return typeof("value"in Xt?Xt.value:Xt.key)=="number"}):typeof("value"in At?At.value:At.key)=="number"});warning(!Kt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(D!=="combobox"||!st,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(D==="combobox"||!Me,"`backfill` only works with `combobox` mode."),warning(D==="combobox"||!Xe,"`getInputElement` only work with `combobox` mode."),noteOnce(D!=="combobox"||!Xe||!We||!De,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),tt&&!Rt&&D!=="combobox"&&D!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Ne||Fe,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Ge!=null){var Dt=toArray(Ge);warning(!et||Dt.every(function(At){return _typeof(At)==="object"&&("key"in At||"value"in At)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!ht||Array.isArray(Ge),"`value` should be array when `mode` is `multiple` or `tags`")}if(Pe){var Wt=null;toNodeArray(Pe).some(function(At){if(!React.isValidElement(At)||!At.type)return!1;var Xt=At,ln=Xt.type;if(ln.isSelectOption)return!1;if(ln.isSelectOptGroup){var Lt=toNodeArray(At.props.children).every(function(kt){return!React.isValidElement(kt)||!At.type||kt.type.isSelectOption?!0:(Wt=kt.type,!1)});return!Lt}return Wt=ln,!0}),Wt&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Wt.displayName||Wt.name||Wt,"`.")),warning(at===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Mt(L,D){if(L){var Te=function Pe(Me){for(var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,De=0;De<Me.length;De++){var Xe=Me[De];if(Xe[D==null?void 0:D.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!We&&Array.isArray(Xe[D==null?void 0:D.options])&&Pe(Xe[D==null?void 0:D.options],!0))break}};Te(L)}}var xt=null,Nt=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],qt=["inputValue"];function Qt(L){return!L||(0,P.Z)(L)!=="object"}var Ve=l.forwardRef(function(L,D){var Te=L.id,Pe=L.mode,Me=L.prefixCls,We=Me===void 0?"rc-select":Me,De=L.backfill,Xe=L.fieldNames,qe=L.inputValue,tt=L.searchValue,Ne=L.onSearch,Fe=L.autoClearSearchValue,et=Fe===void 0?!0:Fe,Ge=L.onSelect,at=L.onDeselect,st=L.dropdownMatchSelectWidth,ht=st===void 0?!0:st,Rt=L.filterOption,en=L.filterSort,Kt=L.optionFilterProp,Dt=L.optionLabelProp,Wt=L.options,At=L.optionRender,Xt=L.children,ln=L.defaultActiveFirstOption,Lt=L.menuItemSelectedIcon,kt=L.virtual,tn=L.direction,$t=L.listHeight,Vt=$t===void 0?200:$t,Gt=L.listItemHeight,_t=Gt===void 0?20:Gt,Yt=L.labelRender,on=L.value,Qe=L.defaultValue,gt=L.labelInValue,Ct=L.onChange,wt=L.maxCount,Ht=(0,p.Z)(L,Nt),pn=(0,ze.ZP)(Te),hn=Z(Pe),rn=!!(!Wt&&Xt),Cn=l.useMemo(function(){return Rt===void 0&&Pe==="combobox"?!1:Rt},[Rt,Pe]),sn=l.useMemo(function(){return A(Xe,rn)},[JSON.stringify(Xe),rn]),Mn=(0,w.Z)("",{value:tt!==void 0?tt:qe,postState:function(Bt){return Bt||""}}),wn=(0,le.Z)(Mn,2),cn=wn[0],ft=wn[1],Ze=vt(Wt,Xt,sn,Kt,Dt),ke=Ze.valueOptions,ct=Ze.labelOptions,lt=Ze.options,pt=l.useCallback(function(bt){var Bt=I(bt);return Bt.map(function(Et){var It,Ut,un,jn,Ln;if(Qt(Et))It=Et;else{var Wn;un=Et.key,Ut=Et.label,It=(Wn=Et.value)!==null&&Wn!==void 0?Wn:un}var En=ke.get(It);if(En){var kn;if(Ut===void 0&&(Ut=En==null?void 0:En[Dt||sn.label]),un===void 0&&(un=(kn=En==null?void 0:En.key)!==null&&kn!==void 0?kn:It),jn=En==null?void 0:En.disabled,Ln=En==null?void 0:En.title,0)var Un}return{label:Ut,value:It,key:un,disabled:jn,title:Ln}})},[sn,Dt,ke]),zt=(0,w.Z)(Qe,{value:on}),Tt=(0,le.Z)(zt,2),Ft=Tt[0],nn=Tt[1],vn=l.useMemo(function(){var bt,Bt=hn&&Ft===null?[]:Ft,Et=pt(Bt);return Pe==="combobox"&&fe((bt=Et[0])===null||bt===void 0?void 0:bt.value)?[]:Et},[Ft,pt,Pe,hn]),xn=dt(vn,ke),$n=(0,le.Z)(xn,2),dn=$n[0],Fn=$n[1],Tn=l.useMemo(function(){if(!Pe&&dn.length===1){var bt=dn[0];if(bt.value===null&&(bt.label===null||bt.label===void 0))return[]}return dn.map(function(Bt){var Et;return(0,se.Z)((0,se.Z)({},Bt),{},{label:(Et=typeof Yt=="function"?Yt(Bt):Bt.label)!==null&&Et!==void 0?Et:Bt.value})})},[Pe,dn,Yt]),In=l.useMemo(function(){return new Set(dn.map(function(bt){return bt.value}))},[dn]);l.useEffect(function(){if(Pe==="combobox"){var bt,Bt=(bt=dn[0])===null||bt===void 0?void 0:bt.value;ft(ye(Bt)?String(Bt):"")}},[dn]);var gn=St(function(bt,Bt){var Et=Bt!=null?Bt:bt;return(0,S.Z)((0,S.Z)({},sn.value,bt),sn.label,Et)}),Sn=l.useMemo(function(){if(Pe!=="tags")return lt;var bt=(0,B.Z)(lt),Bt=function(It){return ke.has(It)};return(0,B.Z)(dn).sort(function(Et,It){return Et.value<It.value?-1:1}).forEach(function(Et){var It=Et.value;Bt(It)||bt.push(gn(It,Et.label))}),bt},[gn,lt,ke,dn,Pe]),mn=te(Sn,sn,cn,Cn,Kt),Rn=l.useMemo(function(){return Pe!=="tags"||!cn||mn.some(function(bt){return bt[Kt||"value"]===cn})||mn.some(function(bt){return bt[sn.value]===cn})?mn:[gn(cn)].concat((0,B.Z)(mn))},[gn,Kt,Pe,mn,cn,sn]),Zn=function bt(Bt){var Et=(0,B.Z)(Bt).sort(function(It,Ut){return en(It,Ut,{searchValue:cn})});return Et.map(function(It){return Array.isArray(It.options)?(0,se.Z)((0,se.Z)({},It),{},{options:It.options.length>0?bt(It.options):It.options}):It})},Pn=l.useMemo(function(){return en?Zn(Rn):Rn},[Rn,en,cn]),On=l.useMemo(function(){return m(Pn,{fieldNames:sn,childrenAsData:rn})},[Pn,sn,rn]),Bn=function(Bt){var Et=pt(Bt);if(nn(Et),Ct&&(Et.length!==dn.length||Et.some(function(un,jn){var Ln;return((Ln=dn[jn])===null||Ln===void 0?void 0:Ln.value)!==(un==null?void 0:un.value)}))){var It=gt?Et:Et.map(function(un){return un.value}),Ut=Et.map(function(un){return C(Fn(un.value))});Ct(hn?It:It[0],hn?Ut:Ut[0])}},yt=l.useState(null),Pt=(0,le.Z)(yt,2),an=Pt[0],fn=Pt[1],Hn=l.useState(0),nr=(0,le.Z)(Hn,2),rr=nr[0],cr=nr[1],or=ln!==void 0?ln:Pe!=="combobox",ar=l.useCallback(function(bt,Bt){var Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},It=Et.source,Ut=It===void 0?"keyboard":It;cr(Bt),De&&Pe==="combobox"&&bt!==null&&Ut==="keyboard"&&fn(String(bt))},[De,Pe]),Vn=function(Bt,Et,It){var Ut=function(){var tr,Kn=Fn(Bt);return[gt?{label:Kn==null?void 0:Kn[sn.label],value:Bt,key:(tr=Kn==null?void 0:Kn.key)!==null&&tr!==void 0?tr:Bt}:Bt,C(Kn)]};if(Et&&Ge){var un=Ut(),jn=(0,le.Z)(un,2),Ln=jn[0],Wn=jn[1];Ge(Ln,Wn)}else if(!Et&&at&&It!=="clear"){var En=Ut(),kn=(0,le.Z)(En,2),Un=kn[0],ur=kn[1];at(Un,ur)}},qn=St(function(bt,Bt){var Et,It=hn?Bt.selected:!0;It?Et=hn?[].concat((0,B.Z)(dn),[bt]):[bt]:Et=dn.filter(function(Ut){return Ut.value!==bt}),Bn(Et),Vn(bt,It),Pe==="combobox"?fn(""):(!Z||et)&&(ft(""),fn(""))}),er=function(Bt,Et){Bn(Bt);var It=Et.type,Ut=Et.values;(It==="remove"||It==="clear")&&Ut.forEach(function(un){Vn(un.value,!1,It)})},yn=function(Bt,Et){if(ft(Bt),fn(null),Et.source==="submit"){var It=(Bt||"").trim();if(It){var Ut=Array.from(new Set([].concat((0,B.Z)(In),[It])));Bn(Ut),Vn(It,!0),ft("")}return}Et.source!=="blur"&&(Pe==="combobox"&&Bn(Bt),Ne==null||Ne(Bt))},lr=function(Bt){var Et=Bt;Pe!=="tags"&&(Et=Bt.map(function(Ut){var un=ct.get(Ut);return un==null?void 0:un.value}).filter(function(Ut){return Ut!==void 0}));var It=Array.from(new Set([].concat((0,B.Z)(In),(0,B.Z)(Et))));Bn(It),It.forEach(function(Ut){Vn(Ut,!0)})},Gn=l.useMemo(function(){var bt=kt!==!1&&ht!==!1;return(0,se.Z)((0,se.Z)({},Ze),{},{flattenOptions:On,onActiveValue:ar,defaultActiveFirstOption:or,onSelect:qn,menuItemSelectedIcon:Lt,rawValues:In,fieldNames:sn,virtual:bt,direction:tn,listHeight:Vt,listItemHeight:_t,childrenAsData:rn,maxCount:wt,optionRender:At})},[wt,Ze,On,ar,or,qn,Lt,In,sn,kt,ht,tn,Vt,_t,rn,At]);return l.createElement(a.Provider,{value:Gn},l.createElement(u,(0,e.Z)({},Ht,{id:pn,prefixCls:We,ref:D,omitDomProps:qt,mode:Pe,displayValues:Tn,onDisplayValuesChange:er,direction:tn,searchValue:cn,onSearch:yn,autoClearSearchValue:et,onSearchSplit:lr,dropdownMatchSelectWidth:ht,OptionList:ut,emptyOptions:!On.length,activeValue:an,activeDescendantId:"".concat(pn,"_list_").concat(rr)})))}),Le=Ve;Le.Option=Ee,Le.OptGroup=j;var mt=Le,Ot=mt},22711:function(rt,Oe,t){"use strict";t.r(Oe),t.d(Oe,{ResizableTextArea:function(){return K},default:function(){return Y}});var e=t(60499),B=t(18642),S=t(85899),se=t(77654),le=t(72190),p=t(42244),P=t(92310),w=t.n(P),ce=t(36901),l=t(66003),ee=t(30292),d=t(18929),ae=t(59301),de=t(43749),he=t(29301),X=t(34280),ne=t(16089),q=`
|
|
min-height:0 !important;
|
|
max-height:none !important;
|
|
height:0 !important;
|
|
visibility:hidden !important;
|
|
overflow:hidden !important;
|
|
position:absolute !important;
|
|
z-index:-1000 !important;
|
|
top:0 !important;
|
|
right:0 !important;
|
|
pointer-events: none !important;
|
|
`,ie=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Ce={},v;function s(I){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ie=I.getAttribute("id")||I.getAttribute("data-reactid")||I.getAttribute("name");if(xe&&Ce[Ie])return Ce[Ie];var ye=window.getComputedStyle(I),fe=ye.getPropertyValue("box-sizing")||ye.getPropertyValue("-moz-box-sizing")||ye.getPropertyValue("-webkit-box-sizing"),we=parseFloat(ye.getPropertyValue("padding-bottom"))+parseFloat(ye.getPropertyValue("padding-top")),be=parseFloat(ye.getPropertyValue("border-bottom-width"))+parseFloat(ye.getPropertyValue("border-top-width")),Se=ie.map(function(ve){return"".concat(ve,":").concat(ye.getPropertyValue(ve))}).join(";"),G={sizingStyle:Se,paddingSize:we,borderSize:be,boxSizing:fe};return xe&&Ie&&(Ce[Ie]=G),G}function f(I){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,ye=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;v||(v=document.createElement("textarea"),v.setAttribute("tab-index","-1"),v.setAttribute("aria-hidden","true"),v.setAttribute("name","hiddenTextarea"),document.body.appendChild(v)),I.getAttribute("wrap")?v.setAttribute("wrap",I.getAttribute("wrap")):v.removeAttribute("wrap");var fe=s(I,xe),we=fe.paddingSize,be=fe.borderSize,Se=fe.boxSizing,G=fe.sizingStyle;v.setAttribute("style","".concat(G,";").concat(q)),v.value=I.value||I.placeholder||"";var ve=void 0,J=void 0,Re,Q=v.scrollHeight;if(Se==="border-box"?Q+=be:Se==="content-box"&&(Q-=we),Ie!==null||ye!==null){v.value=" ";var pe=v.scrollHeight-we;Ie!==null&&(ve=pe*Ie,Se==="border-box"&&(ve=ve+we+be),Q=Math.max(ve,Q)),ye!==null&&(J=pe*ye,Se==="border-box"&&(J=J+we+be),Re=Q>J?"":"hidden",Q=Math.min(J,Q))}var _={height:Q,overflowY:Re,resize:"none"};return ve&&(_.minHeight=ve),J&&(_.maxHeight=J),_}var x=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],c=0,z=1,F=2,H=ae.forwardRef(function(I,xe){var Ie=I,ye=Ie.prefixCls,fe=Ie.defaultValue,we=Ie.value,be=Ie.autoSize,Se=Ie.onResize,G=Ie.className,ve=Ie.style,J=Ie.disabled,Re=Ie.onChange,Q=Ie.onInternalAutoSize,pe=(0,p.Z)(Ie,x),_=(0,d.Z)(fe,{value:we,postState:function(Ee){return Ee!=null?Ee:""}}),Ae=(0,le.Z)(_,2),k=Ae[0],b=Ae[1],N=function(Ee){b(Ee.target.value),Re==null||Re(Ee)},R=ae.useRef();ae.useImperativeHandle(xe,function(){return{textArea:R.current}});var g=ae.useMemo(function(){return be&&(0,de.Z)(be)==="object"?[be.minRows,be.maxRows]:[]},[be]),U=(0,le.Z)(g,2),y=U[0],n=U[1],r=!!be,$=function(){try{if(document.activeElement===R.current){var Ee=R.current,ue=Ee.selectionStart,me=Ee.selectionEnd,re=Ee.scrollTop;R.current.setSelectionRange(ue,me),R.current.scrollTop=re}}catch(je){}},A=ae.useState(F),m=(0,le.Z)(A,2),C=m[0],E=m[1],M=ae.useState(),a=(0,le.Z)(M,2),i=a[0],ge=a[1],V=function(){E(c)};(0,X.Z)(function(){r&&V()},[we,y,n,r]),(0,X.Z)(function(){if(C===c)E(z);else if(C===z){var oe=f(R.current,!1,y,n);E(F),ge(oe)}else $()},[C]);var Z=ae.useRef(),O=function(){ne.Z.cancel(Z.current)},u=function(Ee){C===F&&(Se==null||Se(Ee),be&&(O(),Z.current=(0,ne.Z)(function(){V()})))};ae.useEffect(function(){return O},[]);var T=r?i:null,j=(0,S.Z)((0,S.Z)({},ve),T);return(C===c||C===z)&&(j.overflowY="hidden",j.overflowX="hidden"),ae.createElement(he.Z,{onResize:u,disabled:!(be||Se)},ae.createElement("textarea",(0,e.Z)({},pe,{ref:R,style:j,className:w()(ye,G,(0,B.Z)({},"".concat(ye,"-disabled"),J)),disabled:J,value:k,onChange:N})))}),K=H,W=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],h=ae.forwardRef(function(I,xe){var Ie,ye=I.defaultValue,fe=I.value,we=I.onFocus,be=I.onBlur,Se=I.onChange,G=I.allowClear,ve=I.maxLength,J=I.onCompositionStart,Re=I.onCompositionEnd,Q=I.suffix,pe=I.prefixCls,_=pe===void 0?"rc-textarea":pe,Ae=I.showCount,k=I.count,b=I.className,N=I.style,R=I.disabled,g=I.hidden,U=I.classNames,y=I.styles,n=I.onResize,r=I.onClear,$=I.onPressEnter,A=I.readOnly,m=I.autoSize,C=I.onKeyDown,E=(0,p.Z)(I,W),M=(0,d.Z)(ye,{value:fe,defaultValue:ye}),a=(0,le.Z)(M,2),i=a[0],ge=a[1],V=i==null?"":String(i),Z=ae.useState(!1),O=(0,le.Z)(Z,2),u=O[0],T=O[1],j=ae.useRef(!1),oe=ae.useState(null),Ee=(0,le.Z)(oe,2),ue=Ee[0],me=Ee[1],re=(0,ae.useRef)(null),je=(0,ae.useRef)(null),_e=function(){var Le;return(Le=je.current)===null||Le===void 0?void 0:Le.textArea},Ke=function(){_e().focus()};(0,ae.useImperativeHandle)(xe,function(){var Ve;return{resizableTextArea:je.current,focus:Ke,blur:function(){_e().blur()},nativeElement:((Ve=re.current)===null||Ve===void 0?void 0:Ve.nativeElement)||_e()}}),(0,ae.useEffect)(function(){T(function(Ve){return!R&&Ve})},[R]);var nt=ae.useState(null),it=(0,le.Z)(nt,2),ut=it[0],dt=it[1];ae.useEffect(function(){if(ut){var Ve;(Ve=_e()).setSelectionRange.apply(Ve,(0,se.Z)(ut))}},[ut]);var Be=(0,l.Z)(k,Ae),te=(Ie=Be.max)!==null&&Ie!==void 0?Ie:ve,ze=Number(te)>0,$e=Be.strategy(V),Je=!!te&&$e>te,He=function(Le,mt){var Ot=mt;!j.current&&Be.exceedFormatter&&Be.max&&Be.strategy(mt)>Be.max&&(Ot=Be.exceedFormatter(mt,{max:Be.max}),mt!==Ot&&dt([_e().selectionStart||0,_e().selectionEnd||0])),ge(Ot),(0,ee.rJ)(Le.currentTarget,Le,Se,Ot)},Ye=function(Le){j.current=!0,J==null||J(Le)},ot=function(Le){j.current=!1,He(Le,Le.currentTarget.value),Re==null||Re(Le)},Ue=function(Le){He(Le,Le.target.value)},vt=function(Le){Le.key==="Enter"&&$&&$(Le),C==null||C(Le)},St=function(Le){T(!0),we==null||we(Le)},Jt=function(Le){T(!1),be==null||be(Le)},Mt=function(Le){ge(""),Ke(),(0,ee.rJ)(_e(),Le,Se)},xt=Q,Nt;Be.show&&(Be.showFormatter?Nt=Be.showFormatter({value:V,count:$e,maxLength:te}):Nt="".concat($e).concat(ze?" / ".concat(te):""),xt=ae.createElement(ae.Fragment,null,xt,ae.createElement("span",{className:w()("".concat(_,"-data-count"),U==null?void 0:U.count),style:y==null?void 0:y.count},Nt)));var qt=function(Le){var mt;n==null||n(Le),(mt=_e())!==null&&mt!==void 0&&mt.style.height&&me(!0)},Qt=!m&&!Ae&&!G;return ae.createElement(ce.BaseInput,{ref:re,value:V,allowClear:G,handleReset:Mt,suffix:xt,prefixCls:_,classNames:(0,S.Z)((0,S.Z)({},U),{},{affixWrapper:w()(U==null?void 0:U.affixWrapper,(0,B.Z)((0,B.Z)({},"".concat(_,"-show-count"),Ae),"".concat(_,"-textarea-allow-clear"),G))}),disabled:R,focused:u,className:w()(b,Je&&"".concat(_,"-out-of-range")),style:(0,S.Z)((0,S.Z)({},N),ue&&!Qt?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Nt=="string"?Nt:void 0}},hidden:g,readOnly:A,onClear:r},ae.createElement(K,(0,e.Z)({},E,{autoSize:m,maxLength:ve,onKeyDown:vt,onChange:Ue,onFocus:St,onBlur:Jt,onCompositionStart:Ye,onCompositionEnd:ot,className:w()(U==null?void 0:U.textarea),style:(0,S.Z)((0,S.Z)({},y==null?void 0:y.textarea),{},{resize:N==null?void 0:N.resize}),disabled:R,prefixCls:_,onResize:qt,ref:je,readOnly:A})))}),o=h,Y=o},639:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return Ce}});var e=t(60499),B=t(18642),S=t(85899),se=t(72190),le=t(42244),p=t(59301),P=t(92310),w=t.n(P),ce=t(26112),l=t(30699),ee=function(s){for(var f=s.prefixCls,x=s.level,c=s.isStart,z=s.isEnd,F="".concat(f,"-indent-unit"),H=[],K=0;K<x;K+=1)H.push(p.createElement("span",{key:K,className:w()(F,(0,B.Z)((0,B.Z)({},"".concat(F,"-start"),c[K]),"".concat(F,"-end"),z[K]))}));return p.createElement("span",{"aria-hidden":"true",className:"".concat(f,"-indent")},H)},d=p.memo(ee),ae=t(65065),de=t(34061),he=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],X="open",ne="close",q="---",ie=function(s){var f,x,c,z=s.eventKey,F=s.className,H=s.style,K=s.dragOver,W=s.dragOverGapTop,h=s.dragOverGapBottom,o=s.isLeaf,Y=s.isStart,I=s.isEnd,xe=s.expanded,Ie=s.selected,ye=s.checked,fe=s.halfChecked,we=s.loading,be=s.domRef,Se=s.active,G=s.data,ve=s.onMouseMove,J=s.selectable,Re=(0,le.Z)(s,he),Q=p.useContext(l.k),pe=p.useContext(l.y),_=p.useRef(null),Ae=p.useState(!1),k=(0,se.Z)(Ae,2),b=k[0],N=k[1],R=!!(Q.disabled||s.disabled||(f=pe.nodeDisabled)!==null&&f!==void 0&&f.call(pe,G)),g=p.useMemo(function(){return!Q.checkable||s.checkable===!1?!1:Q.checkable},[Q.checkable,s.checkable]),U=function($e){R||Q.onNodeSelect($e,(0,de.F)(s))},y=function($e){R||!g||s.disableCheckbox||Q.onNodeCheck($e,(0,de.F)(s),!ye)},n=p.useMemo(function(){return typeof J=="boolean"?J:Q.selectable},[J,Q.selectable]),r=function($e){Q.onNodeClick($e,(0,de.F)(s)),n?U($e):y($e)},$=function($e){Q.onNodeDoubleClick($e,(0,de.F)(s))},A=function($e){Q.onNodeMouseEnter($e,(0,de.F)(s))},m=function($e){Q.onNodeMouseLeave($e,(0,de.F)(s))},C=function($e){Q.onNodeContextMenu($e,(0,de.F)(s))},E=p.useMemo(function(){return!!(Q.draggable&&(!Q.draggable.nodeDraggable||Q.draggable.nodeDraggable(G)))},[Q.draggable,G]),M=function($e){$e.stopPropagation(),N(!0),Q.onNodeDragStart($e,s);try{$e.dataTransfer.setData("text/plain","")}catch(Je){}},a=function($e){$e.preventDefault(),$e.stopPropagation(),Q.onNodeDragEnter($e,s)},i=function($e){$e.preventDefault(),$e.stopPropagation(),Q.onNodeDragOver($e,s)},ge=function($e){$e.stopPropagation(),Q.onNodeDragLeave($e,s)},V=function($e){$e.stopPropagation(),N(!1),Q.onNodeDragEnd($e,s)},Z=function($e){$e.preventDefault(),$e.stopPropagation(),N(!1),Q.onNodeDrop($e,s)},O=function($e){we||Q.onNodeExpand($e,(0,de.F)(s))},u=p.useMemo(function(){var ze=(0,ae.Z)(Q.keyEntities,z)||{},$e=ze.children;return!!($e||[]).length},[Q.keyEntities,z]),T=p.useMemo(function(){return o===!1?!1:o||!Q.loadData&&!u||Q.loadData&&s.loaded&&!u},[o,Q.loadData,u,s.loaded]);p.useEffect(function(){we||typeof Q.loadData=="function"&&xe&&!T&&!s.loaded&&Q.onNodeLoad((0,de.F)(s))},[we,Q.loadData,Q.onNodeLoad,xe,T,s]);var j=p.useMemo(function(){var ze;return(ze=Q.draggable)!==null&&ze!==void 0&&ze.icon?p.createElement("span",{className:"".concat(Q.prefixCls,"-draggable-icon")},Q.draggable.icon):null},[Q.draggable]),oe=function($e){var Je=s.switcherIcon||Q.switcherIcon;return typeof Je=="function"?Je((0,S.Z)((0,S.Z)({},s),{},{isLeaf:$e})):Je},Ee=function(){if(T){var $e=oe(!0);return $e!==!1?p.createElement("span",{className:w()("".concat(Q.prefixCls,"-switcher"),"".concat(Q.prefixCls,"-switcher-noop"))},$e):null}var Je=oe(!1);return Je!==!1?p.createElement("span",{onClick:O,className:w()("".concat(Q.prefixCls,"-switcher"),"".concat(Q.prefixCls,"-switcher_").concat(xe?X:ne))},Je):null},ue=p.useMemo(function(){if(!g)return null;var ze=typeof g!="boolean"?g:null;return p.createElement("span",{className:w()("".concat(Q.prefixCls,"-checkbox"),(0,B.Z)((0,B.Z)((0,B.Z)({},"".concat(Q.prefixCls,"-checkbox-checked"),ye),"".concat(Q.prefixCls,"-checkbox-indeterminate"),!ye&&fe),"".concat(Q.prefixCls,"-checkbox-disabled"),R||s.disableCheckbox)),onClick:y,role:"checkbox","aria-checked":fe?"mixed":ye,"aria-disabled":R||s.disableCheckbox,"aria-label":"Select ".concat(typeof s.title=="string"?s.title:"tree node")},ze)},[g,ye,fe,R,s.disableCheckbox,s.title]),me=p.useMemo(function(){return T?null:xe?X:ne},[T,xe]),re=p.useMemo(function(){return p.createElement("span",{className:w()("".concat(Q.prefixCls,"-iconEle"),"".concat(Q.prefixCls,"-icon__").concat(me||"docu"),(0,B.Z)({},"".concat(Q.prefixCls,"-icon_loading"),we))})},[Q.prefixCls,me,we]),je=p.useMemo(function(){var ze=!!Q.draggable,$e=!s.disabled&&ze&&Q.dragOverNodeKey===z;return $e?Q.dropIndicatorRender({dropPosition:Q.dropPosition,dropLevelOffset:Q.dropLevelOffset,indent:Q.indent,prefixCls:Q.prefixCls,direction:Q.direction}):null},[Q.dropPosition,Q.dropLevelOffset,Q.indent,Q.prefixCls,Q.direction,Q.draggable,Q.dragOverNodeKey,Q.dropIndicatorRender]),_e=p.useMemo(function(){var ze=s.title,$e=ze===void 0?q:ze,Je="".concat(Q.prefixCls,"-node-content-wrapper"),He;if(Q.showIcon){var Ye=s.icon||Q.icon;He=Ye?p.createElement("span",{className:w()("".concat(Q.prefixCls,"-iconEle"),"".concat(Q.prefixCls,"-icon__customize"))},typeof Ye=="function"?Ye(s):Ye):re}else Q.loadData&&we&&(He=re);var ot;return typeof $e=="function"?ot=$e(G):Q.titleRender?ot=Q.titleRender(G):ot=$e,p.createElement("span",{ref:_,title:typeof $e=="string"?$e:"",className:w()(Je,"".concat(Je,"-").concat(me||"normal"),(0,B.Z)({},"".concat(Q.prefixCls,"-node-selected"),!R&&(Ie||b))),onMouseEnter:A,onMouseLeave:m,onContextMenu:C,onClick:r,onDoubleClick:$},He,p.createElement("span",{className:"".concat(Q.prefixCls,"-title")},ot),je)},[Q.prefixCls,Q.showIcon,s,Q.icon,re,Q.titleRender,G,me,A,m,C,r,$]),Ke=(0,ce.Z)(Re,{aria:!0,data:!0}),nt=(0,ae.Z)(Q.keyEntities,z)||{},it=nt.level,ut=I[I.length-1],dt=!R&&E,Be=Q.draggingNodeKey===z,te=J!==void 0?{"aria-selected":!!J}:void 0;return p.createElement("div",(0,e.Z)({ref:be,role:"treeitem","aria-expanded":o?void 0:xe,className:w()(F,"".concat(Q.prefixCls,"-treenode"),(c={},(0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)(c,"".concat(Q.prefixCls,"-treenode-disabled"),R),"".concat(Q.prefixCls,"-treenode-switcher-").concat(xe?"open":"close"),!o),"".concat(Q.prefixCls,"-treenode-checkbox-checked"),ye),"".concat(Q.prefixCls,"-treenode-checkbox-indeterminate"),fe),"".concat(Q.prefixCls,"-treenode-selected"),Ie),"".concat(Q.prefixCls,"-treenode-loading"),we),"".concat(Q.prefixCls,"-treenode-active"),Se),"".concat(Q.prefixCls,"-treenode-leaf-last"),ut),"".concat(Q.prefixCls,"-treenode-draggable"),E),"dragging",Be),(0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)(c,"drop-target",Q.dropTargetKey===z),"drop-container",Q.dropContainerKey===z),"drag-over",!R&&K),"drag-over-gap-top",!R&&W),"drag-over-gap-bottom",!R&&h),"filter-node",(x=Q.filterTreeNode)===null||x===void 0?void 0:x.call(Q,(0,de.F)(s))),"".concat(Q.prefixCls,"-treenode-leaf"),T))),style:H,draggable:dt,onDragStart:dt?M:void 0,onDragEnter:E?a:void 0,onDragOver:E?i:void 0,onDragLeave:E?ge:void 0,onDrop:E?Z:void 0,onDragEnd:E?V:void 0,onMouseMove:ve},te,Ke),p.createElement(d,{prefixCls:Q.prefixCls,level:it,isStart:Y,isEnd:I}),j,Ee(),ue,_e)};ie.isTreeNode=1;var Ce=ie},30699:function(rt,Oe,t){"use strict";t.d(Oe,{k:function(){return B},y:function(){return S}});var e=t(59301),B=e.createContext(null),S=e.createContext({})},87632:function(rt,Oe,t){"use strict";t.d(Oe,{OF:function(){return z.Z},y6:function(){return ne.y},ZP:function(){return R}});var e=t(60499),B=t(43749),S=t(85899),se=t(77654),le=t(38705),p=t(17212),P=t(15793),w=t(39153),ce=t(55401),l=t(18642),ee=t(92310),d=t.n(ee),ae=t(10228),de=t(26112),he=t(48736),X=t(59301),ne=t(30699),q=function(U){var y=U.dropPosition,n=U.dropLevelOffset,r=U.indent,$={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(y){case-1:$.top=0,$.left=-n*r;break;case 1:$.bottom=0,$.left=-n*r;break;case 0:$.bottom=0,$.left=r;break}return X.createElement("div",{style:$})},ie=q;function Ce(g){if(g==null)throw new TypeError("Cannot destructure "+g)}var v=t(72190),s=t(42244),f=t(34280),x=t(48911),c=t(77900),z=t(639);function F(g,U){var y=X.useState(!1),n=(0,v.Z)(y,2),r=n[0],$=n[1];(0,f.Z)(function(){if(r)return g(),function(){U()}},[r]),(0,f.Z)(function(){return $(!0),function(){$(!1)}},[])}var H=F,K=t(34061),W=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],h=X.forwardRef(function(g,U){var y=g.className,n=g.style,r=g.motion,$=g.motionNodes,A=g.motionType,m=g.onMotionStart,C=g.onMotionEnd,E=g.active,M=g.treeNodeRequiredProps,a=(0,s.Z)(g,W),i=X.useState(!0),ge=(0,v.Z)(i,2),V=ge[0],Z=ge[1],O=X.useContext(ne.k),u=O.prefixCls,T=$&&A!=="hide";(0,f.Z)(function(){$&&T!==V&&Z(T)},[$]);var j=function(){$&&m()},oe=X.useRef(!1),Ee=function(){$&&!oe.current&&(oe.current=!0,C())};H(j,Ee);var ue=function(re){T===re&&Ee()};return $?X.createElement(c.default,(0,e.Z)({ref:U,visible:V},r,{motionAppear:A==="show",onVisibleChanged:ue}),function(me,re){var je=me.className,_e=me.style;return X.createElement("div",{ref:re,className:d()("".concat(u,"-treenode-motion"),je),style:_e},$.map(function(Ke){var nt=Object.assign({},(Ce(Ke.data),Ke.data)),it=Ke.title,ut=Ke.key,dt=Ke.isStart,Be=Ke.isEnd;delete nt.children;var te=(0,K.H8)(ut,M);return X.createElement(z.Z,(0,e.Z)({},nt,te,{title:it,active:E,data:Ke.data,key:ut,isStart:dt,isEnd:Be}))}))}):X.createElement(z.Z,(0,e.Z)({domRef:U,className:y,style:n},a,{active:E}))}),o=h;function Y(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],y=g.length,n=U.length;if(Math.abs(y-n)!==1)return{add:!1,key:null};function r($,A){var m=new Map;$.forEach(function(E){m.set(E,!0)});var C=A.filter(function(E){return!m.has(E)});return C.length===1?C[0]:null}return y<n?{add:!0,key:r(g,U)}:{add:!1,key:r(U,g)}}function I(g,U,y){var n=g.findIndex(function(m){return m.key===y}),r=g[n+1],$=U.findIndex(function(m){return m.key===y});if(r){var A=U.findIndex(function(m){return m.key===r.key});return U.slice($+1,A)}return U.slice($+1)}var xe=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Ie={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},ye=function(){},fe="RC_TREE_MOTION_".concat(Math.random()),we={key:fe},be={key:fe,level:0,index:0,pos:"0",node:we,nodes:[we]},Se={parent:null,children:[],pos:be.pos,data:we,title:null,key:fe,isStart:[],isEnd:[]};function G(g,U,y,n){return U===!1||!y?g:g.slice(0,Math.ceil(y/n)+1)}function ve(g){var U=g.key,y=g.pos;return(0,K.km)(U,y)}function J(g){for(var U=String(g.data.key),y=g;y.parent;)y=y.parent,U="".concat(y.data.key," > ").concat(U);return U}var Re=X.forwardRef(function(g,U){var y=g.prefixCls,n=g.data,r=g.selectable,$=g.checkable,A=g.expandedKeys,m=g.selectedKeys,C=g.checkedKeys,E=g.loadedKeys,M=g.loadingKeys,a=g.halfCheckedKeys,i=g.keyEntities,ge=g.disabled,V=g.dragging,Z=g.dragOverNodeKey,O=g.dropPosition,u=g.motion,T=g.height,j=g.itemHeight,oe=g.virtual,Ee=g.scrollWidth,ue=g.focusable,me=g.activeItem,re=g.focused,je=g.tabIndex,_e=g.onKeyDown,Ke=g.onFocus,nt=g.onBlur,it=g.onActiveChange,ut=g.onListChangeStart,dt=g.onListChangeEnd,Be=(0,s.Z)(g,xe),te=X.useRef(null),ze=X.useRef(null);X.useImperativeHandle(U,function(){return{scrollTo:function(Xe){te.current.scrollTo(Xe)},getIndentWidth:function(){return ze.current.offsetWidth}}});var $e=X.useState(A),Je=(0,v.Z)($e,2),He=Je[0],Ye=Je[1],ot=X.useState(n),Ue=(0,v.Z)(ot,2),vt=Ue[0],St=Ue[1],Jt=X.useState(n),Mt=(0,v.Z)(Jt,2),xt=Mt[0],Nt=Mt[1],qt=X.useState([]),Qt=(0,v.Z)(qt,2),Ve=Qt[0],Le=Qt[1],mt=X.useState(null),Ot=(0,v.Z)(mt,2),L=Ot[0],D=Ot[1],Te=X.useRef(n);Te.current=n;function Pe(){var De=Te.current;St(De),Nt(De),Le([]),D(null),dt()}(0,f.Z)(function(){Ye(A);var De=Y(He,A);if(De.key!==null)if(De.add){var Xe=vt.findIndex(function(Ge){var at=Ge.key;return at===De.key}),qe=G(I(vt,n,De.key),oe,T,j),tt=vt.slice();tt.splice(Xe+1,0,Se),Nt(tt),Le(qe),D("show")}else{var Ne=n.findIndex(function(Ge){var at=Ge.key;return at===De.key}),Fe=G(I(n,vt,De.key),oe,T,j),et=n.slice();et.splice(Ne+1,0,Se),Nt(et),Le(Fe),D("hide")}else vt!==n&&(St(n),Nt(n))},[A,n]),X.useEffect(function(){V||Pe()},[V]);var Me=u?xt:n,We={expandedKeys:A,selectedKeys:m,loadedKeys:E,loadingKeys:M,checkedKeys:C,halfCheckedKeys:a,dragOverNodeKey:Z,dropPosition:O,keyEntities:i};return X.createElement(X.Fragment,null,re&&me&&X.createElement("span",{style:Ie,"aria-live":"assertive"},J(me)),X.createElement("div",null,X.createElement("input",{style:Ie,disabled:ue===!1||ge,tabIndex:ue!==!1?je:null,onKeyDown:_e,onFocus:Ke,onBlur:nt,value:"",onChange:ye,"aria-label":"for screen reader"})),X.createElement("div",{className:"".concat(y,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},X.createElement("div",{className:"".concat(y,"-indent")},X.createElement("div",{ref:ze,className:"".concat(y,"-indent-unit")}))),X.createElement(x.Z,(0,e.Z)({},Be,{data:Me,itemKey:ve,height:T,fullHeight:!1,virtual:oe,itemHeight:j,scrollWidth:Ee,prefixCls:"".concat(y,"-list"),ref:te,role:"tree",onVisibleChange:function(Xe){Xe.every(function(qe){return ve(qe)!==fe})&&Pe()}}),function(De){var Xe=De.pos,qe=Object.assign({},(Ce(De.data),De.data)),tt=De.title,Ne=De.key,Fe=De.isStart,et=De.isEnd,Ge=(0,K.km)(Ne,Xe);delete qe.key,delete qe.children;var at=(0,K.H8)(Ge,We);return X.createElement(o,(0,e.Z)({},qe,at,{title:tt,active:!!me&&Ne===me.key,pos:Xe,data:De.data,isStart:Fe,isEnd:et,motion:u,motionNodes:Ne===fe?Ve:null,motionType:L,onMotionStart:ut,onMotionEnd:Pe,treeNodeRequiredProps:We,onMouseMove:function(){it(null)}}))}))}),Q=Re,pe=t(82661),_=t(34643),Ae=t(65065),k=10,b=function(g){(0,w.Z)(y,g);var U=(0,ce.Z)(y);function y(){var n;(0,le.Z)(this,y);for(var r=arguments.length,$=new Array(r),A=0;A<r;A++)$[A]=arguments[A];return n=U.call.apply(U,[this].concat($)),(0,l.Z)((0,P.Z)(n),"destroyed",!1),(0,l.Z)((0,P.Z)(n),"delayedDragEnterLogic",void 0),(0,l.Z)((0,P.Z)(n),"loadingRetryTimes",{}),(0,l.Z)((0,P.Z)(n),"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,K.w$)()}),(0,l.Z)((0,P.Z)(n),"dragStartMousePosition",null),(0,l.Z)((0,P.Z)(n),"dragNodeProps",null),(0,l.Z)((0,P.Z)(n),"currentMouseOverDroppableNodeKey",null),(0,l.Z)((0,P.Z)(n),"listRef",X.createRef()),(0,l.Z)((0,P.Z)(n),"onNodeDragStart",function(m,C){var E=n.state,M=E.expandedKeys,a=E.keyEntities,i=n.props.onDragStart,ge=C.eventKey;n.dragNodeProps=C,n.dragStartMousePosition={x:m.clientX,y:m.clientY};var V=(0,pe._5)(M,ge);n.setState({draggingNodeKey:ge,dragChildrenKeys:(0,pe.wA)(ge,a),indent:n.listRef.current.getIndentWidth()}),n.setExpandedKeys(V),window.addEventListener("dragend",n.onWindowDragEnd),i==null||i({event:m,node:(0,K.F)(C)})}),(0,l.Z)((0,P.Z)(n),"onNodeDragEnter",function(m,C){var E=n.state,M=E.expandedKeys,a=E.keyEntities,i=E.dragChildrenKeys,ge=E.flattenNodes,V=E.indent,Z=n.props,O=Z.onDragEnter,u=Z.onExpand,T=Z.allowDrop,j=Z.direction,oe=C.pos,Ee=C.eventKey;if(n.currentMouseOverDroppableNodeKey!==Ee&&(n.currentMouseOverDroppableNodeKey=Ee),!n.dragNodeProps){n.resetDragState();return}var ue=(0,pe.OM)(m,n.dragNodeProps,C,V,n.dragStartMousePosition,T,ge,a,M,j),me=ue.dropPosition,re=ue.dropLevelOffset,je=ue.dropTargetKey,_e=ue.dropContainerKey,Ke=ue.dropTargetPos,nt=ue.dropAllowed,it=ue.dragOverNodeKey;if(i.includes(je)||!nt){n.resetDragState();return}if(n.delayedDragEnterLogic||(n.delayedDragEnterLogic={}),Object.keys(n.delayedDragEnterLogic).forEach(function(ut){clearTimeout(n.delayedDragEnterLogic[ut])}),n.dragNodeProps.eventKey!==C.eventKey&&(m.persist(),n.delayedDragEnterLogic[oe]=window.setTimeout(function(){if(n.state.draggingNodeKey!==null){var ut=(0,se.Z)(M),dt=(0,Ae.Z)(a,C.eventKey);dt&&(dt.children||[]).length&&(ut=(0,pe.L0)(M,C.eventKey)),n.props.hasOwnProperty("expandedKeys")||n.setExpandedKeys(ut),u==null||u(ut,{node:(0,K.F)(C),expanded:!0,nativeEvent:m.nativeEvent})}},800)),n.dragNodeProps.eventKey===je&&re===0){n.resetDragState();return}n.setState({dragOverNodeKey:it,dropPosition:me,dropLevelOffset:re,dropTargetKey:je,dropContainerKey:_e,dropTargetPos:Ke,dropAllowed:nt}),O==null||O({event:m,node:(0,K.F)(C),expandedKeys:M})}),(0,l.Z)((0,P.Z)(n),"onNodeDragOver",function(m,C){var E=n.state,M=E.dragChildrenKeys,a=E.flattenNodes,i=E.keyEntities,ge=E.expandedKeys,V=E.indent,Z=n.props,O=Z.onDragOver,u=Z.allowDrop,T=Z.direction;if(n.dragNodeProps){var j=(0,pe.OM)(m,n.dragNodeProps,C,V,n.dragStartMousePosition,u,a,i,ge,T),oe=j.dropPosition,Ee=j.dropLevelOffset,ue=j.dropTargetKey,me=j.dropContainerKey,re=j.dropTargetPos,je=j.dropAllowed,_e=j.dragOverNodeKey;M.includes(ue)||!je||(n.dragNodeProps.eventKey===ue&&Ee===0?n.state.dropPosition===null&&n.state.dropLevelOffset===null&&n.state.dropTargetKey===null&&n.state.dropContainerKey===null&&n.state.dropTargetPos===null&&n.state.dropAllowed===!1&&n.state.dragOverNodeKey===null||n.resetDragState():oe===n.state.dropPosition&&Ee===n.state.dropLevelOffset&&ue===n.state.dropTargetKey&&me===n.state.dropContainerKey&&re===n.state.dropTargetPos&&je===n.state.dropAllowed&&_e===n.state.dragOverNodeKey||n.setState({dropPosition:oe,dropLevelOffset:Ee,dropTargetKey:ue,dropContainerKey:me,dropTargetPos:re,dropAllowed:je,dragOverNodeKey:_e}),O==null||O({event:m,node:(0,K.F)(C)}))}}),(0,l.Z)((0,P.Z)(n),"onNodeDragLeave",function(m,C){n.currentMouseOverDroppableNodeKey===C.eventKey&&!m.currentTarget.contains(m.relatedTarget)&&(n.resetDragState(),n.currentMouseOverDroppableNodeKey=null);var E=n.props.onDragLeave;E==null||E({event:m,node:(0,K.F)(C)})}),(0,l.Z)((0,P.Z)(n),"onWindowDragEnd",function(m){n.onNodeDragEnd(m,null,!0),window.removeEventListener("dragend",n.onWindowDragEnd)}),(0,l.Z)((0,P.Z)(n),"onNodeDragEnd",function(m,C){var E=n.props.onDragEnd;n.setState({dragOverNodeKey:null}),n.cleanDragState(),E==null||E({event:m,node:(0,K.F)(C)}),n.dragNodeProps=null,window.removeEventListener("dragend",n.onWindowDragEnd)}),(0,l.Z)((0,P.Z)(n),"onNodeDrop",function(m,C){var E,M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=n.state,i=a.dragChildrenKeys,ge=a.dropPosition,V=a.dropTargetKey,Z=a.dropTargetPos,O=a.dropAllowed;if(O){var u=n.props.onDrop;if(n.setState({dragOverNodeKey:null}),n.cleanDragState(),V!==null){var T=(0,S.Z)((0,S.Z)({},(0,K.H8)(V,n.getTreeNodeRequiredProps())),{},{active:((E=n.getActiveItem())===null||E===void 0?void 0:E.key)===V,data:(0,Ae.Z)(n.state.keyEntities,V).node}),j=i.includes(V);(0,he.ZP)(!j,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var oe=(0,pe.yx)(Z),Ee={event:m,node:(0,K.F)(T),dragNode:n.dragNodeProps?(0,K.F)(n.dragNodeProps):null,dragNodesKeys:[n.dragNodeProps.eventKey].concat(i),dropToGap:ge!==0,dropPosition:ge+Number(oe[oe.length-1])};M||u==null||u(Ee),n.dragNodeProps=null}}}),(0,l.Z)((0,P.Z)(n),"cleanDragState",function(){var m=n.state.draggingNodeKey;m!==null&&n.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),n.dragStartMousePosition=null,n.currentMouseOverDroppableNodeKey=null}),(0,l.Z)((0,P.Z)(n),"triggerExpandActionExpand",function(m,C){var E=n.state,M=E.expandedKeys,a=E.flattenNodes,i=C.expanded,ge=C.key,V=C.isLeaf;if(!(V||m.shiftKey||m.metaKey||m.ctrlKey)){var Z=a.filter(function(u){return u.key===ge})[0],O=(0,K.F)((0,S.Z)((0,S.Z)({},(0,K.H8)(ge,n.getTreeNodeRequiredProps())),{},{data:Z.data}));n.setExpandedKeys(i?(0,pe._5)(M,ge):(0,pe.L0)(M,ge)),n.onNodeExpand(m,O)}}),(0,l.Z)((0,P.Z)(n),"onNodeClick",function(m,C){var E=n.props,M=E.onClick,a=E.expandAction;a==="click"&&n.triggerExpandActionExpand(m,C),M==null||M(m,C)}),(0,l.Z)((0,P.Z)(n),"onNodeDoubleClick",function(m,C){var E=n.props,M=E.onDoubleClick,a=E.expandAction;a==="doubleClick"&&n.triggerExpandActionExpand(m,C),M==null||M(m,C)}),(0,l.Z)((0,P.Z)(n),"onNodeSelect",function(m,C){var E=n.state.selectedKeys,M=n.state,a=M.keyEntities,i=M.fieldNames,ge=n.props,V=ge.onSelect,Z=ge.multiple,O=C.selected,u=C[i.key],T=!O;T?Z?E=(0,pe.L0)(E,u):E=[u]:E=(0,pe._5)(E,u);var j=E.map(function(oe){var Ee=(0,Ae.Z)(a,oe);return Ee?Ee.node:null}).filter(Boolean);n.setUncontrolledState({selectedKeys:E}),V==null||V(E,{event:"select",selected:T,node:C,selectedNodes:j,nativeEvent:m.nativeEvent})}),(0,l.Z)((0,P.Z)(n),"onNodeCheck",function(m,C,E){var M=n.state,a=M.keyEntities,i=M.checkedKeys,ge=M.halfCheckedKeys,V=n.props,Z=V.checkStrictly,O=V.onCheck,u=C.key,T,j={event:"check",node:C,checked:E,nativeEvent:m.nativeEvent};if(Z){var oe=E?(0,pe.L0)(i,u):(0,pe._5)(i,u),Ee=(0,pe._5)(ge,u);T={checked:oe,halfChecked:Ee},j.checkedNodes=oe.map(function(Ke){return(0,Ae.Z)(a,Ke)}).filter(Boolean).map(function(Ke){return Ke.node}),n.setUncontrolledState({checkedKeys:oe})}else{var ue=(0,_.S)([].concat((0,se.Z)(i),[u]),!0,a),me=ue.checkedKeys,re=ue.halfCheckedKeys;if(!E){var je=new Set(me);je.delete(u);var _e=(0,_.S)(Array.from(je),{checked:!1,halfCheckedKeys:re},a);me=_e.checkedKeys,re=_e.halfCheckedKeys}T=me,j.checkedNodes=[],j.checkedNodesPositions=[],j.halfCheckedKeys=re,me.forEach(function(Ke){var nt=(0,Ae.Z)(a,Ke);if(nt){var it=nt.node,ut=nt.pos;j.checkedNodes.push(it),j.checkedNodesPositions.push({node:it,pos:ut})}}),n.setUncontrolledState({checkedKeys:me},!1,{halfCheckedKeys:re})}O==null||O(T,j)}),(0,l.Z)((0,P.Z)(n),"onNodeLoad",function(m){var C,E=m.key,M=n.state.keyEntities,a=(0,Ae.Z)(M,E);if(!(a!=null&&(C=a.children)!==null&&C!==void 0&&C.length)){var i=new Promise(function(ge,V){n.setState(function(Z){var O=Z.loadedKeys,u=O===void 0?[]:O,T=Z.loadingKeys,j=T===void 0?[]:T,oe=n.props,Ee=oe.loadData,ue=oe.onLoad;if(!Ee||u.includes(E)||j.includes(E))return null;var me=Ee(m);return me.then(function(){var re=n.state.loadedKeys,je=(0,pe.L0)(re,E);ue==null||ue(je,{event:"load",node:m}),n.setUncontrolledState({loadedKeys:je}),n.setState(function(_e){return{loadingKeys:(0,pe._5)(_e.loadingKeys,E)}}),ge()}).catch(function(re){if(n.setState(function(_e){return{loadingKeys:(0,pe._5)(_e.loadingKeys,E)}}),n.loadingRetryTimes[E]=(n.loadingRetryTimes[E]||0)+1,n.loadingRetryTimes[E]>=k){var je=n.state.loadedKeys;(0,he.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),n.setUncontrolledState({loadedKeys:(0,pe.L0)(je,E)}),ge()}V(re)}),{loadingKeys:(0,pe.L0)(j,E)}})});return i.catch(function(){}),i}}),(0,l.Z)((0,P.Z)(n),"onNodeMouseEnter",function(m,C){var E=n.props.onMouseEnter;E==null||E({event:m,node:C})}),(0,l.Z)((0,P.Z)(n),"onNodeMouseLeave",function(m,C){var E=n.props.onMouseLeave;E==null||E({event:m,node:C})}),(0,l.Z)((0,P.Z)(n),"onNodeContextMenu",function(m,C){var E=n.props.onRightClick;E&&(m.preventDefault(),E({event:m,node:C}))}),(0,l.Z)((0,P.Z)(n),"onFocus",function(){var m=n.props.onFocus;n.setState({focused:!0});for(var C=arguments.length,E=new Array(C),M=0;M<C;M++)E[M]=arguments[M];m==null||m.apply(void 0,E)}),(0,l.Z)((0,P.Z)(n),"onBlur",function(){var m=n.props.onBlur;n.setState({focused:!1}),n.onActiveChange(null);for(var C=arguments.length,E=new Array(C),M=0;M<C;M++)E[M]=arguments[M];m==null||m.apply(void 0,E)}),(0,l.Z)((0,P.Z)(n),"getTreeNodeRequiredProps",function(){var m=n.state,C=m.expandedKeys,E=m.selectedKeys,M=m.loadedKeys,a=m.loadingKeys,i=m.checkedKeys,ge=m.halfCheckedKeys,V=m.dragOverNodeKey,Z=m.dropPosition,O=m.keyEntities;return{expandedKeys:C||[],selectedKeys:E||[],loadedKeys:M||[],loadingKeys:a||[],checkedKeys:i||[],halfCheckedKeys:ge||[],dragOverNodeKey:V,dropPosition:Z,keyEntities:O}}),(0,l.Z)((0,P.Z)(n),"setExpandedKeys",function(m){var C=n.state,E=C.treeData,M=C.fieldNames,a=(0,K.oH)(E,m,M);n.setUncontrolledState({expandedKeys:m,flattenNodes:a},!0)}),(0,l.Z)((0,P.Z)(n),"onNodeExpand",function(m,C){var E=n.state.expandedKeys,M=n.state,a=M.listChanging,i=M.fieldNames,ge=n.props,V=ge.onExpand,Z=ge.loadData,O=C.expanded,u=C[i.key];if(!a){var T=E.includes(u),j=!O;if((0,he.ZP)(O&&T||!O&&!T,"Expand state not sync with index check"),E=j?(0,pe.L0)(E,u):(0,pe._5)(E,u),n.setExpandedKeys(E),V==null||V(E,{node:C,expanded:j,nativeEvent:m.nativeEvent}),j&&Z){var oe=n.onNodeLoad(C);oe&&oe.then(function(){var Ee=(0,K.oH)(n.state.treeData,E,i);n.setUncontrolledState({flattenNodes:Ee})}).catch(function(){var Ee=n.state.expandedKeys,ue=(0,pe._5)(Ee,u);n.setExpandedKeys(ue)})}}}),(0,l.Z)((0,P.Z)(n),"onListChangeStart",function(){n.setUncontrolledState({listChanging:!0})}),(0,l.Z)((0,P.Z)(n),"onListChangeEnd",function(){setTimeout(function(){n.setUncontrolledState({listChanging:!1})})}),(0,l.Z)((0,P.Z)(n),"onActiveChange",function(m){var C=n.state.activeKey,E=n.props,M=E.onActiveChange,a=E.itemScrollOffset,i=a===void 0?0:a;C!==m&&(n.setState({activeKey:m}),m!==null&&n.scrollTo({key:m,offset:i}),M==null||M(m))}),(0,l.Z)((0,P.Z)(n),"getActiveItem",function(){var m=n.state,C=m.activeKey,E=m.flattenNodes;return C===null?null:E.find(function(M){var a=M.key;return a===C})||null}),(0,l.Z)((0,P.Z)(n),"offsetActiveKey",function(m){var C=n.state,E=C.flattenNodes,M=C.activeKey,a=E.findIndex(function(V){var Z=V.key;return Z===M});a===-1&&m<0&&(a=E.length),a=(a+m+E.length)%E.length;var i=E[a];if(i){var ge=i.key;n.onActiveChange(ge)}else n.onActiveChange(null)}),(0,l.Z)((0,P.Z)(n),"onKeyDown",function(m){var C=n.state,E=C.activeKey,M=C.expandedKeys,a=C.checkedKeys,i=C.fieldNames,ge=n.props,V=ge.onKeyDown,Z=ge.checkable,O=ge.selectable;switch(m.which){case ae.Z.UP:{n.offsetActiveKey(-1),m.preventDefault();break}case ae.Z.DOWN:{n.offsetActiveKey(1),m.preventDefault();break}}var u=n.getActiveItem();if(u&&u.data){var T=n.getTreeNodeRequiredProps(),j=u.data.isLeaf===!1||!!(u.data[i.children]||[]).length,oe=(0,K.F)((0,S.Z)((0,S.Z)({},(0,K.H8)(E,T)),{},{data:u.data,active:!0}));switch(m.which){case ae.Z.LEFT:{j&&M.includes(E)?n.onNodeExpand({},oe):u.parent&&n.onActiveChange(u.parent.key),m.preventDefault();break}case ae.Z.RIGHT:{j&&!M.includes(E)?n.onNodeExpand({},oe):u.children&&u.children.length&&n.onActiveChange(u.children[0].key),m.preventDefault();break}case ae.Z.ENTER:case ae.Z.SPACE:{Z&&!oe.disabled&&oe.checkable!==!1&&!oe.disableCheckbox?n.onNodeCheck({},oe,!a.includes(E)):!Z&&O&&!oe.disabled&&oe.selectable!==!1&&n.onNodeSelect({},oe);break}}}V==null||V(m)}),(0,l.Z)((0,P.Z)(n),"setUncontrolledState",function(m){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!n.destroyed){var M=!1,a=!0,i={};Object.keys(m).forEach(function(ge){if(n.props.hasOwnProperty(ge)){a=!1;return}M=!0,i[ge]=m[ge]}),M&&(!C||a)&&n.setState((0,S.Z)((0,S.Z)({},i),E))}}),(0,l.Z)((0,P.Z)(n),"scrollTo",function(m){n.listRef.current.scrollTo(m)}),n}return(0,p.Z)(y,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var r=this.props,$=r.activeKey,A=r.itemScrollOffset,m=A===void 0?0:A;$!==void 0&&$!==this.state.activeKey&&(this.setState({activeKey:$}),$!==null&&this.scrollTo({key:$,offset:m}))}},{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 r=this.state,$=r.focused,A=r.flattenNodes,m=r.keyEntities,C=r.draggingNodeKey,E=r.activeKey,M=r.dropLevelOffset,a=r.dropContainerKey,i=r.dropTargetKey,ge=r.dropPosition,V=r.dragOverNodeKey,Z=r.indent,O=this.props,u=O.prefixCls,T=O.className,j=O.style,oe=O.showLine,Ee=O.focusable,ue=O.tabIndex,me=ue===void 0?0:ue,re=O.selectable,je=O.showIcon,_e=O.icon,Ke=O.switcherIcon,nt=O.draggable,it=O.checkable,ut=O.checkStrictly,dt=O.disabled,Be=O.motion,te=O.loadData,ze=O.filterTreeNode,$e=O.height,Je=O.itemHeight,He=O.scrollWidth,Ye=O.virtual,ot=O.titleRender,Ue=O.dropIndicatorRender,vt=O.onContextMenu,St=O.onScroll,Jt=O.direction,Mt=O.rootClassName,xt=O.rootStyle,Nt=(0,de.Z)(this.props,{aria:!0,data:!0}),qt;nt&&((0,B.Z)(nt)==="object"?qt=nt:typeof nt=="function"?qt={nodeDraggable:nt}:qt={});var Qt={prefixCls:u,selectable:re,showIcon:je,icon:_e,switcherIcon:Ke,draggable:qt,draggingNodeKey:C,checkable:it,checkStrictly:ut,disabled:dt,keyEntities:m,dropLevelOffset:M,dropContainerKey:a,dropTargetKey:i,dropPosition:ge,dragOverNodeKey:V,indent:Z,direction:Jt,dropIndicatorRender:Ue,loadData:te,filterTreeNode:ze,titleRender:ot,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};return X.createElement(ne.k.Provider,{value:Qt},X.createElement("div",{className:d()(u,T,Mt,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(u,"-show-line"),oe),"".concat(u,"-focused"),$),"".concat(u,"-active-focused"),E!==null)),style:xt},X.createElement(Q,(0,e.Z)({ref:this.listRef,prefixCls:u,style:j,data:A,disabled:dt,selectable:re,checkable:!!it,motion:Be,dragging:C!==null,height:$e,itemHeight:Je,virtual:Ye,focusable:Ee,focused:$,tabIndex:me,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:vt,onScroll:St,scrollWidth:He},this.getTreeNodeRequiredProps(),Nt))))}}],[{key:"getDerivedStateFromProps",value:function(r,$){var A=$.prevProps,m={prevProps:r};function C(me){return!A&&r.hasOwnProperty(me)||A&&A[me]!==r[me]}var E,M=$.fieldNames;if(C("fieldNames")&&(M=(0,K.w$)(r.fieldNames),m.fieldNames=M),C("treeData")?E=r.treeData:C("children")&&((0,he.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),E=(0,K.zn)(r.children)),E){m.treeData=E;var a=(0,K.I8)(E,{fieldNames:M});m.keyEntities=(0,S.Z)((0,l.Z)({},fe,be),a.keyEntities)}var i=m.keyEntities||$.keyEntities;if(C("expandedKeys")||A&&C("autoExpandParent"))m.expandedKeys=r.autoExpandParent||!A&&r.defaultExpandParent?(0,pe.r7)(r.expandedKeys,i):r.expandedKeys;else if(!A&&r.defaultExpandAll){var ge=(0,S.Z)({},i);delete ge[fe];var V=[];Object.keys(ge).forEach(function(me){var re=ge[me];re.children&&re.children.length&&V.push(re.key)}),m.expandedKeys=V}else!A&&r.defaultExpandedKeys&&(m.expandedKeys=r.autoExpandParent||r.defaultExpandParent?(0,pe.r7)(r.defaultExpandedKeys,i):r.defaultExpandedKeys);if(m.expandedKeys||delete m.expandedKeys,E||m.expandedKeys){var Z=(0,K.oH)(E||$.treeData,m.expandedKeys||$.expandedKeys,M);m.flattenNodes=Z}if(r.selectable&&(C("selectedKeys")?m.selectedKeys=(0,pe.BT)(r.selectedKeys,r):!A&&r.defaultSelectedKeys&&(m.selectedKeys=(0,pe.BT)(r.defaultSelectedKeys,r))),r.checkable){var O;if(C("checkedKeys")?O=(0,pe.E6)(r.checkedKeys)||{}:!A&&r.defaultCheckedKeys?O=(0,pe.E6)(r.defaultCheckedKeys)||{}:E&&(O=(0,pe.E6)(r.checkedKeys)||{checkedKeys:$.checkedKeys,halfCheckedKeys:$.halfCheckedKeys}),O){var u=O,T=u.checkedKeys,j=T===void 0?[]:T,oe=u.halfCheckedKeys,Ee=oe===void 0?[]:oe;if(!r.checkStrictly){var ue=(0,_.S)(j,!0,i);j=ue.checkedKeys,Ee=ue.halfCheckedKeys}m.checkedKeys=j,m.halfCheckedKeys=Ee}}return C("loadedKeys")&&(m.loadedKeys=r.loadedKeys),m}}]),y}(X.Component);(0,l.Z)(b,"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:ie,allowDrop:function(){return!0},expandAction:!1}),(0,l.Z)(b,"TreeNode",z.Z);var N=b,R=N},82661:function(rt,Oe,t){"use strict";t.d(Oe,{BT:function(){return X},E6:function(){return ie},L0:function(){return l},OM:function(){return he},_5:function(){return ce},r7:function(){return Ce},wA:function(){return d},yx:function(){return ee}});var e=t(77654),B=t(43749),S=t(48736),se=t(59301),le=t(639),p=t(65065),P=t(34061),w=null;function ce(v,s){if(!v)return[];var f=v.slice(),x=f.indexOf(s);return x>=0&&f.splice(x,1),f}function l(v,s){var f=(v||[]).slice();return f.indexOf(s)===-1&&f.push(s),f}function ee(v){return v.split("-")}function d(v,s){var f=[],x=(0,p.Z)(s,v);function c(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];z.forEach(function(F){var H=F.key,K=F.children;f.push(H),c(K)})}return c(x.children),f}function ae(v){if(v.parent){var s=ee(v.pos);return Number(s[s.length-1])===v.parent.children.length-1}return!1}function de(v){var s=ee(v.pos);return Number(s[s.length-1])===0}function he(v,s,f,x,c,z,F,H,K,W){var h,o=v.clientX,Y=v.clientY,I=v.target.getBoundingClientRect(),xe=I.top,Ie=I.height,ye=(W==="rtl"?-1:1)*(((c==null?void 0:c.x)||0)-o),fe=(ye-12)/x,we=K.filter(function(R){var g;return(g=H[R])===null||g===void 0||(g=g.children)===null||g===void 0?void 0:g.length}),be=(0,p.Z)(H,f.eventKey);if(Y<xe+Ie/2){var Se=F.findIndex(function(R){return R.key===be.key}),G=Se<=0?0:Se-1,ve=F[G].key;be=(0,p.Z)(H,ve)}var J=be.key,Re=be,Q=be.key,pe=0,_=0;if(!we.includes(J))for(var Ae=0;Ae<fe&&ae(be);Ae+=1)be=be.parent,_+=1;var k=s.data,b=be.node,N=!0;return de(be)&&be.level===0&&Y<xe+Ie/2&&z({dragNode:k,dropNode:b,dropPosition:-1})&&be.key===f.eventKey?pe=-1:(Re.children||[]).length&&we.includes(Q)?z({dragNode:k,dropNode:b,dropPosition:0})?pe=0:N=!1:_===0?fe>-1.5?z({dragNode:k,dropNode:b,dropPosition:1})?pe=1:N=!1:z({dragNode:k,dropNode:b,dropPosition:0})?pe=0:z({dragNode:k,dropNode:b,dropPosition:1})?pe=1:N=!1:z({dragNode:k,dropNode:b,dropPosition:1})?pe=1:N=!1,{dropPosition:pe,dropLevelOffset:_,dropTargetKey:be.key,dropTargetPos:be.pos,dragOverNodeKey:Q,dropContainerKey:pe===0?null:((h=be.parent)===null||h===void 0?void 0:h.key)||null,dropAllowed:N}}function X(v,s){if(v){var f=s.multiple;return f?v.slice():v.length?[v[0]]:v}}var ne=function(s){return s};function q(v,s){if(!v)return[];var f=s||{},x=f.processProps,c=x===void 0?ne:x,z=Array.isArray(v)?v:[v];return z.map(function(F){var H=F.children,K=_objectWithoutProperties(F,w),W=q(H,s);return React.createElement(TreeNode,_extends({key:K.key},c(K)),W)})}function ie(v){if(!v)return null;var s;if(Array.isArray(v))s={checkedKeys:v,halfCheckedKeys:void 0};else if((0,B.Z)(v)==="object")s={checkedKeys:v.checked||void 0,halfCheckedKeys:v.halfChecked||void 0};else return(0,S.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return s}function Ce(v,s){var f=new Set;function x(c){if(!f.has(c)){var z=(0,p.Z)(s,c);if(z){f.add(c);var F=z.parent,H=z.node;H.disabled||F&&x(F.key)}}}return(v||[]).forEach(function(c){x(c)}),(0,e.Z)(f)}},34643:function(rt,Oe,t){"use strict";t.d(Oe,{S:function(){return P}});var e=t(48736),B=t(65065);function S(w,ce){var l=new Set;return w.forEach(function(ee){ce.has(ee)||l.add(ee)}),l}function se(w){var ce=w||{},l=ce.disabled,ee=ce.disableCheckbox,d=ce.checkable;return!!(l||ee)||d===!1}function le(w,ce,l,ee){for(var d=new Set(w),ae=new Set,de=0;de<=l;de+=1){var he=ce.get(de)||new Set;he.forEach(function(ie){var Ce=ie.key,v=ie.node,s=ie.children,f=s===void 0?[]:s;d.has(Ce)&&!ee(v)&&f.filter(function(x){return!ee(x.node)}).forEach(function(x){d.add(x.key)})})}for(var X=new Set,ne=l;ne>=0;ne-=1){var q=ce.get(ne)||new Set;q.forEach(function(ie){var Ce=ie.parent,v=ie.node;if(!(ee(v)||!ie.parent||X.has(ie.parent.key))){if(ee(ie.parent.node)){X.add(Ce.key);return}var s=!0,f=!1;(Ce.children||[]).filter(function(x){return!ee(x.node)}).forEach(function(x){var c=x.key,z=d.has(c);s&&!z&&(s=!1),!f&&(z||ae.has(c))&&(f=!0)}),s&&d.add(Ce.key),f&&ae.add(Ce.key),X.add(Ce.key)}})}return{checkedKeys:Array.from(d),halfCheckedKeys:Array.from(S(ae,d))}}function p(w,ce,l,ee,d){for(var ae=new Set(w),de=new Set(ce),he=0;he<=ee;he+=1){var X=l.get(he)||new Set;X.forEach(function(Ce){var v=Ce.key,s=Ce.node,f=Ce.children,x=f===void 0?[]:f;!ae.has(v)&&!de.has(v)&&!d(s)&&x.filter(function(c){return!d(c.node)}).forEach(function(c){ae.delete(c.key)})})}de=new Set;for(var ne=new Set,q=ee;q>=0;q-=1){var ie=l.get(q)||new Set;ie.forEach(function(Ce){var v=Ce.parent,s=Ce.node;if(!(d(s)||!Ce.parent||ne.has(Ce.parent.key))){if(d(Ce.parent.node)){ne.add(v.key);return}var f=!0,x=!1;(v.children||[]).filter(function(c){return!d(c.node)}).forEach(function(c){var z=c.key,F=ae.has(z);f&&!F&&(f=!1),!x&&(F||de.has(z))&&(x=!0)}),f||ae.delete(v.key),x&&de.add(v.key),ne.add(v.key)}})}return{checkedKeys:Array.from(ae),halfCheckedKeys:Array.from(S(de,ae))}}function P(w,ce,l,ee){var d=[],ae;ee?ae=ee:ae=se;var de=new Set(w.filter(function(q){var ie=!!(0,B.Z)(l,q);return ie||d.push(q),ie})),he=new Map,X=0;Object.keys(l).forEach(function(q){var ie=l[q],Ce=ie.level,v=he.get(Ce);v||(v=new Set,he.set(Ce,v)),v.add(ie),X=Math.max(X,Ce)}),(0,e.ZP)(!d.length,"Tree missing follow keys: ".concat(d.slice(0,100).map(function(q){return"'".concat(q,"'")}).join(", ")));var ne;return ce===!0?ne=le(de,he,X,ae):ne=p(de,ce.halfCheckedKeys,he,X,ae),ne}},65065:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return e}});function e(B,S){return B[S]}},34061:function(rt,Oe,t){"use strict";t.d(Oe,{F:function(){return Ce},H8:function(){return ie},I8:function(){return q},km:function(){return d},oH:function(){return X},w$:function(){return ae},zn:function(){return he}});var e=t(43749),B=t(77654),S=t(85899),se=t(42244),le=t(11592),p=t(2738),P=t(48736),w=t(65065),ce=["children"];function l(v,s){return"".concat(v,"-").concat(s)}function ee(v){return v&&v.type&&v.type.isTreeNode}function d(v,s){return v!=null?v:s}function ae(v){var s=v||{},f=s.title,x=s._title,c=s.key,z=s.children,F=f||"title";return{title:F,_title:x||[F],key:c||"key",children:z||"children"}}function de(v,s){var f=new Map;function x(c){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(c||[]).forEach(function(F){var H=F[s.key],K=F[s.children];warning(H!=null,"Tree node must have a certain key: [".concat(z).concat(H,"]"));var W=String(H);warning(!f.has(W)||H===null||H===void 0,"Same 'key' exist in the Tree: ".concat(W)),f.set(W,!0),x(K,"".concat(z).concat(W," > "))})}x(v)}function he(v){function s(f){var x=(0,le.Z)(f);return x.map(function(c){if(!ee(c))return(0,P.ZP)(!c,"Tree/TreeNode can only accept TreeNode as children."),null;var z=c.key,F=c.props,H=F.children,K=(0,se.Z)(F,ce),W=(0,S.Z)({key:z},K),h=s(H);return h.length&&(W.children=h),W}).filter(function(c){return c})}return s(v)}function X(v,s,f){var x=ae(f),c=x._title,z=x.key,F=x.children,H=new Set(s===!0?[]:s),K=[];function W(h){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return h.map(function(Y,I){for(var xe=l(o?o.pos:"0",I),Ie=d(Y[z],xe),ye,fe=0;fe<c.length;fe+=1){var we=c[fe];if(Y[we]!==void 0){ye=Y[we];break}}var be=Object.assign((0,p.Z)(Y,[].concat((0,B.Z)(c),[z,F])),{title:ye,key:Ie,parent:o,pos:xe,children:null,data:Y,isStart:[].concat((0,B.Z)(o?o.isStart:[]),[I===0]),isEnd:[].concat((0,B.Z)(o?o.isEnd:[]),[I===h.length-1])});return K.push(be),s===!0||H.has(Ie)?be.children=W(Y[F]||[],be):be.children=[],be})}return W(v),K}function ne(v,s,f){var x={};(0,e.Z)(f)==="object"?x=f:x={externalGetKey:f},x=x||{};var c=x,z=c.childrenPropName,F=c.externalGetKey,H=c.fieldNames,K=ae(H),W=K.key,h=K.children,o=z||h,Y;F?typeof F=="string"?Y=function(Ie){return Ie[F]}:typeof F=="function"&&(Y=function(Ie){return F(Ie)}):Y=function(Ie,ye){return d(Ie[W],ye)};function I(xe,Ie,ye,fe){var we=xe?xe[o]:v,be=xe?l(ye.pos,Ie):"0",Se=xe?[].concat((0,B.Z)(fe),[xe]):[];if(xe){var G=Y(xe,be),ve={node:xe,index:Ie,pos:be,key:G,parentPos:ye.node?ye.pos:null,level:ye.level+1,nodes:Se};s(ve)}we&&we.forEach(function(J,Re){I(J,Re,{node:xe,pos:be,level:ye?ye.level+1:-1},Se)})}I(null)}function q(v){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=s.initWrapper,x=s.processEntity,c=s.onProcessFinished,z=s.externalGetKey,F=s.childrenPropName,H=s.fieldNames,K=arguments.length>2?arguments[2]:void 0,W=z||K,h={},o={},Y={posEntities:h,keyEntities:o};return f&&(Y=f(Y)||Y),ne(v,function(I){var xe=I.node,Ie=I.index,ye=I.pos,fe=I.key,we=I.parentPos,be=I.level,Se=I.nodes,G={node:xe,nodes:Se,index:Ie,key:fe,pos:ye,level:be},ve=d(fe,ye);h[ye]=G,o[ve]=G,G.parent=h[we],G.parent&&(G.parent.children=G.parent.children||[],G.parent.children.push(G)),x&&x(G,Y)},{externalGetKey:W,childrenPropName:F,fieldNames:H}),c&&c(Y),Y}function ie(v,s){var f=s.expandedKeys,x=s.selectedKeys,c=s.loadedKeys,z=s.loadingKeys,F=s.checkedKeys,H=s.halfCheckedKeys,K=s.dragOverNodeKey,W=s.dropPosition,h=s.keyEntities,o=(0,w.Z)(h,v),Y={eventKey:v,expanded:f.indexOf(v)!==-1,selected:x.indexOf(v)!==-1,loaded:c.indexOf(v)!==-1,loading:z.indexOf(v)!==-1,checked:F.indexOf(v)!==-1,halfChecked:H.indexOf(v)!==-1,pos:String(o?o.pos:""),dragOver:K===v&&W===0,dragOverGapTop:K===v&&W===-1,dragOverGapBottom:K===v&&W===1};return Y}function Ce(v){var s=v.data,f=v.expanded,x=v.selected,c=v.checked,z=v.loaded,F=v.loading,H=v.halfChecked,K=v.dragOver,W=v.dragOverGapTop,h=v.dragOverGapBottom,o=v.pos,Y=v.active,I=v.eventKey,xe=(0,S.Z)((0,S.Z)({},s),{},{expanded:f,selected:x,checked:c,loaded:z,loading:F,halfChecked:H,dragOver:K,dragOverGapTop:W,dragOverGapBottom:h,pos:o,active:Y,key:I});return"props"in xe||Object.defineProperty(xe,"props",{get:function(){return(0,P.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),v}}),xe}},48911:function(rt,Oe,t){"use strict";t.d(Oe,{Z:function(){return k}});var e=t(60499),B=t(43749),S=t(85899),se=t(18642),le=t(72190),p=t(42244),P=t(92310),w=t.n(P),ce=t(29301),l=t(70425),ee=t(34280),d=t(59301),ae=t(4676),de=d.forwardRef(function(b,N){var R=b.height,g=b.offsetY,U=b.offsetX,y=b.children,n=b.prefixCls,r=b.onInnerResize,$=b.innerProps,A=b.rtl,m=b.extra,C={},E={display:"flex",flexDirection:"column"};return g!==void 0&&(C={height:R,position:"relative",overflow:"hidden"},E=(0,S.Z)((0,S.Z)({},E),{},(0,se.Z)((0,se.Z)((0,se.Z)((0,se.Z)((0,se.Z)({transform:"translateY(".concat(g,"px)")},A?"marginRight":"marginLeft",-U),"position","absolute"),"left",0),"right",0),"top",0))),d.createElement("div",{style:C},d.createElement(ce.Z,{onResize:function(a){var i=a.offsetHeight;i&&r&&r()}},d.createElement("div",(0,e.Z)({style:E,className:w()((0,se.Z)({},"".concat(n,"-holder-inner"),n)),ref:N},$),y,m)))});de.displayName="Filler";var he=de;function X(b){var N=b.children,R=b.setRef,g=d.useCallback(function(U){R(U)},[]);return d.cloneElement(N,{ref:g})}function ne(b,N,R,g,U,y,n,r){var $=r.getKey;return b.slice(N,R+1).map(function(A,m){var C=N+m,E=n(A,C,{style:{width:g},offsetX:U}),M=$(A);return d.createElement(X,{key:M,setRef:function(i){return y(A,i)}},E)})}function q(b,N,R,g){var U=R-b,y=N-R,n=Math.min(U,y)*2;if(g<=n){var r=Math.floor(g/2);return g%2?R+r+1:R-r}return U>y?R-(g-y):R+(g-U)}function ie(b,N,R){var g=b.length,U=N.length,y,n;if(g===0&&U===0)return null;g<U?(y=b,n=N):(y=N,n=b);var r={__EMPTY_ITEM__:!0};function $(a){return a!==void 0?R(a):r}for(var A=null,m=Math.abs(g-U)!==1,C=0;C<n.length;C+=1){var E=$(y[C]),M=$(n[C]);if(E!==M){A=C,m=m||E!==$(n[C+1]);break}}return A===null?null:{index:A,multiple:m}}function Ce(b,N,R){var g=d.useState(b),U=(0,le.Z)(g,2),y=U[0],n=U[1],r=d.useState(null),$=(0,le.Z)(r,2),A=$[0],m=$[1];return d.useEffect(function(){var C=ie(y||[],b||[],N);(C==null?void 0:C.index)!==void 0&&(R==null||R(C.index),m(b[C.index])),n(b)},[b]),[A]}var v=t(16089),s=(typeof navigator=="undefined"?"undefined":(0,B.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),f=s,x=function(b,N,R,g){var U=(0,d.useRef)(!1),y=(0,d.useRef)(null);function n(){clearTimeout(y.current),U.current=!0,y.current=setTimeout(function(){U.current=!1},50)}var r=(0,d.useRef)({top:b,bottom:N,left:R,right:g});return r.current.top=b,r.current.bottom=N,r.current.left=R,r.current.right=g,function($,A){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,C=$?A<0&&r.current.left||A>0&&r.current.right:A<0&&r.current.top||A>0&&r.current.bottom;return m&&C?(clearTimeout(y.current),U.current=!1):(!C||U.current)&&n(),!U.current&&C}};function c(b,N,R,g,U,y,n){var r=(0,d.useRef)(0),$=(0,d.useRef)(null),A=(0,d.useRef)(null),m=(0,d.useRef)(!1),C=x(N,R,g,U);function E(Z,O){if(v.Z.cancel($.current),!C(!1,O)){var u=Z;if(!u._virtualHandled)u._virtualHandled=!0;else return;r.current+=O,A.current=O,f||u.preventDefault(),$.current=(0,v.Z)(function(){var T=m.current?10:1;n(r.current*T,!1),r.current=0})}}function M(Z,O){n(O,!0),f||Z.preventDefault()}var a=(0,d.useRef)(null),i=(0,d.useRef)(null);function ge(Z){if(b){v.Z.cancel(i.current),i.current=(0,v.Z)(function(){a.current=null},2);var O=Z.deltaX,u=Z.deltaY,T=Z.shiftKey,j=O,oe=u;(a.current==="sx"||!a.current&&T&&u&&!O)&&(j=u,oe=0,a.current="sx");var Ee=Math.abs(j),ue=Math.abs(oe);a.current===null&&(a.current=y&&Ee>ue?"x":"y"),a.current==="y"?E(Z,oe):M(Z,j)}}function V(Z){b&&(m.current=Z.detail===A.current)}return[ge,V]}function z(b,N,R,g){var U=d.useMemo(function(){return[new Map,[]]},[b,R.id,g]),y=(0,le.Z)(U,2),n=y[0],r=y[1],$=function(m){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:m,E=n.get(m),M=n.get(C);if(E===void 0||M===void 0)for(var a=b.length,i=r.length;i<a;i+=1){var ge,V=b[i],Z=N(V);n.set(Z,i);var O=(ge=R.get(Z))!==null&&ge!==void 0?ge:g;if(r[i]=(r[i-1]||0)+O,Z===m&&(E=i),Z===C&&(M=i),E!==void 0&&M!==void 0)break}return{top:r[E-1]||0,bottom:r[M]}};return $}var F=t(38705),H=t(17212),K=function(){function b(){(0,F.Z)(this,b),(0,se.Z)(this,"maps",void 0),(0,se.Z)(this,"id",0),(0,se.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,H.Z)(b,[{key:"set",value:function(R,g){this.diffRecords.set(R,this.maps[R]),this.maps[R]=g,this.id+=1}},{key:"get",value:function(R){return this.maps[R]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),b}(),W=K;function h(b){var N=parseFloat(b);return isNaN(N)?0:N}function o(b,N,R){var g=d.useState(0),U=(0,le.Z)(g,2),y=U[0],n=U[1],r=(0,d.useRef)(new Map),$=(0,d.useRef)(new W),A=(0,d.useRef)(0);function m(){A.current+=1}function C(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;m();var a=function(){var V=!1;r.current.forEach(function(Z,O){if(Z&&Z.offsetParent){var u=Z.offsetHeight,T=getComputedStyle(Z),j=T.marginTop,oe=T.marginBottom,Ee=h(j),ue=h(oe),me=u+Ee+ue;$.current.get(O)!==me&&($.current.set(O,me),V=!0)}}),V&&n(function(Z){return Z+1})};if(M)a();else{A.current+=1;var i=A.current;Promise.resolve().then(function(){i===A.current&&a()})}}function E(M,a){var i=b(M),ge=r.current.get(i);a?(r.current.set(i,a),C()):r.current.delete(i),!ge!=!a&&(a?N==null||N(M):R==null||R(M))}return(0,d.useEffect)(function(){return m},[]),[E,C,$.current,y]}var Y=14/15;function I(b,N,R){var g=(0,d.useRef)(!1),U=(0,d.useRef)(0),y=(0,d.useRef)(0),n=(0,d.useRef)(null),r=(0,d.useRef)(null),$,A=function(M){if(g.current){var a=Math.ceil(M.touches[0].pageX),i=Math.ceil(M.touches[0].pageY),ge=U.current-a,V=y.current-i,Z=Math.abs(ge)>Math.abs(V);Z?U.current=a:y.current=i;var O=R(Z,Z?ge:V,!1,M);O&&M.preventDefault(),clearInterval(r.current),O&&(r.current=setInterval(function(){Z?ge*=Y:V*=Y;var u=Math.floor(Z?ge:V);(!R(Z,u,!0)||Math.abs(u)<=.1)&&clearInterval(r.current)},16))}},m=function(){g.current=!1,$()},C=function(M){$(),M.touches.length===1&&!g.current&&(g.current=!0,U.current=Math.ceil(M.touches[0].pageX),y.current=Math.ceil(M.touches[0].pageY),n.current=M.target,n.current.addEventListener("touchmove",A,{passive:!1}),n.current.addEventListener("touchend",m,{passive:!0}))};$=function(){n.current&&(n.current.removeEventListener("touchmove",A),n.current.removeEventListener("touchend",m))},(0,ee.Z)(function(){return b&&N.current.addEventListener("touchstart",C,{passive:!0}),function(){var E;(E=N.current)===null||E===void 0||E.removeEventListener("touchstart",C),$(),clearInterval(r.current)}},[b])}function xe(b){return Math.floor(Math.pow(b,.5))}function Ie(b,N){var R="touches"in b?b.touches[0]:b;return R[N?"pageX":"pageY"]-window[N?"scrollX":"scrollY"]}function ye(b,N,R){d.useEffect(function(){var g=N.current;if(b&&g){var U=!1,y,n,r=function(){v.Z.cancel(y)},$=function E(){r(),y=(0,v.Z)(function(){R(n),E()})},A=function(){U=!1,r()},m=function(M){if(!(M.target.draggable||M.button!==0)){var a=M;a._virtualHandled||(a._virtualHandled=!0,U=!0)}},C=function(M){if(U){var a=Ie(M,!1),i=g.getBoundingClientRect(),ge=i.top,V=i.bottom;if(a<=ge){var Z=ge-a;n=-xe(Z),$()}else if(a>=V){var O=a-V;n=xe(O),$()}else r()}};return g.addEventListener("mousedown",m),g.ownerDocument.addEventListener("mouseup",A),g.ownerDocument.addEventListener("mousemove",C),g.ownerDocument.addEventListener("dragend",A),function(){g.removeEventListener("mousedown",m),g.ownerDocument.removeEventListener("mouseup",A),g.ownerDocument.removeEventListener("mousemove",C),g.ownerDocument.removeEventListener("dragend",A),r()}}},[b])}var fe=10;function we(b,N,R,g,U,y,n,r){var $=d.useRef(),A=d.useState(null),m=(0,le.Z)(A,2),C=m[0],E=m[1];return(0,ee.Z)(function(){if(C&&C.times<fe){if(!b.current){E(function(Be){return(0,S.Z)({},Be)});return}y();var M=C.targetAlign,a=C.originAlign,i=C.index,ge=C.offset,V=b.current.clientHeight,Z=!1,O=M,u=null;if(V){for(var T=M||a,j=0,oe=0,Ee=0,ue=Math.min(N.length-1,i),me=0;me<=ue;me+=1){var re=U(N[me]);oe=j;var je=R.get(re);Ee=oe+(je===void 0?g:je),j=Ee}for(var _e=T==="top"?ge:V-ge,Ke=ue;Ke>=0;Ke-=1){var nt=U(N[Ke]),it=R.get(nt);if(it===void 0){Z=!0;break}if(_e-=it,_e<=0)break}switch(T){case"top":u=oe-ge;break;case"bottom":u=Ee-V+ge;break;default:{var ut=b.current.scrollTop,dt=ut+V;oe<ut?O="top":Ee>dt&&(O="bottom")}}u!==null&&n(u),u!==C.lastTop&&(Z=!0)}Z&&E((0,S.Z)((0,S.Z)({},C),{},{times:C.times+1,targetAlign:O,lastTop:u}))}},[C,b.current]),function(M){if(M==null){r();return}if(v.Z.cancel($.current),typeof M=="number")n(M);else if(M&&(0,B.Z)(M)==="object"){var a,i=M.align;"index"in M?a=M.index:a=N.findIndex(function(Z){return U(Z)===M.key});var ge=M.offset,V=ge===void 0?0:ge;E({times:0,index:a,offset:V,originAlign:i})}}}var be=d.forwardRef(function(b,N){var R=b.prefixCls,g=b.rtl,U=b.scrollOffset,y=b.scrollRange,n=b.onStartMove,r=b.onStopMove,$=b.onScroll,A=b.horizontal,m=b.spinSize,C=b.containerSize,E=b.style,M=b.thumbStyle,a=b.showScrollBar,i=d.useState(!1),ge=(0,le.Z)(i,2),V=ge[0],Z=ge[1],O=d.useState(null),u=(0,le.Z)(O,2),T=u[0],j=u[1],oe=d.useState(null),Ee=(0,le.Z)(oe,2),ue=Ee[0],me=Ee[1],re=!g,je=d.useRef(),_e=d.useRef(),Ke=d.useState(a),nt=(0,le.Z)(Ke,2),it=nt[0],ut=nt[1],dt=d.useRef(),Be=function(){a===!0||a===!1||(clearTimeout(dt.current),ut(!0),dt.current=setTimeout(function(){ut(!1)},3e3))},te=y-C||0,ze=C-m||0,$e=d.useMemo(function(){if(U===0||te===0)return 0;var Mt=U/te;return Mt*ze},[U,te,ze]),Je=function(xt){xt.stopPropagation(),xt.preventDefault()},He=d.useRef({top:$e,dragging:V,pageY:T,startTop:ue});He.current={top:$e,dragging:V,pageY:T,startTop:ue};var Ye=function(xt){Z(!0),j(Ie(xt,A)),me(He.current.top),n(),xt.stopPropagation(),xt.preventDefault()};d.useEffect(function(){var Mt=function(Qt){Qt.preventDefault()},xt=je.current,Nt=_e.current;return xt.addEventListener("touchstart",Mt,{passive:!1}),Nt.addEventListener("touchstart",Ye,{passive:!1}),function(){xt.removeEventListener("touchstart",Mt),Nt.removeEventListener("touchstart",Ye)}},[]);var ot=d.useRef();ot.current=te;var Ue=d.useRef();Ue.current=ze,d.useEffect(function(){if(V){var Mt,xt=function(Qt){var Ve=He.current,Le=Ve.dragging,mt=Ve.pageY,Ot=Ve.startTop;v.Z.cancel(Mt);var L=je.current.getBoundingClientRect(),D=C/(A?L.width:L.height);if(Le){var Te=(Ie(Qt,A)-mt)*D,Pe=Ot;!re&&A?Pe-=Te:Pe+=Te;var Me=ot.current,We=Ue.current,De=We?Pe/We:0,Xe=Math.ceil(De*Me);Xe=Math.max(Xe,0),Xe=Math.min(Xe,Me),Mt=(0,v.Z)(function(){$(Xe,A)})}},Nt=function(){Z(!1),r()};return window.addEventListener("mousemove",xt,{passive:!0}),window.addEventListener("touchmove",xt,{passive:!0}),window.addEventListener("mouseup",Nt,{passive:!0}),window.addEventListener("touchend",Nt,{passive:!0}),function(){window.removeEventListener("mousemove",xt),window.removeEventListener("touchmove",xt),window.removeEventListener("mouseup",Nt),window.removeEventListener("touchend",Nt),v.Z.cancel(Mt)}}},[V]),d.useEffect(function(){return Be(),function(){clearTimeout(dt.current)}},[U]),d.useImperativeHandle(N,function(){return{delayHidden:Be}});var vt="".concat(R,"-scrollbar"),St={position:"absolute",visibility:it?null:"hidden"},Jt={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return A?(Object.assign(St,{height:8,left:0,right:0,bottom:0}),Object.assign(Jt,(0,se.Z)({height:"100%",width:m},re?"left":"right",$e))):(Object.assign(St,(0,se.Z)({width:8,top:0,bottom:0},re?"right":"left",0)),Object.assign(Jt,{width:"100%",height:m,top:$e})),d.createElement("div",{ref:je,className:w()(vt,(0,se.Z)((0,se.Z)((0,se.Z)({},"".concat(vt,"-horizontal"),A),"".concat(vt,"-vertical"),!A),"".concat(vt,"-visible"),it)),style:(0,S.Z)((0,S.Z)({},St),E),onMouseDown:Je,onMouseMove:Be},d.createElement("div",{ref:_e,className:w()("".concat(vt,"-thumb"),(0,se.Z)({},"".concat(vt,"-thumb-moving"),V)),style:(0,S.Z)((0,S.Z)({},Jt),M),onMouseDown:Ye}))}),Se=be,G=20;function ve(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,R=b/N*b;return isNaN(R)&&(R=0),R=Math.max(R,G),Math.floor(R)}var J=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Re=[],Q={overflowY:"auto",overflowAnchor:"none"};function pe(b,N){var R=b.prefixCls,g=R===void 0?"rc-virtual-list":R,U=b.className,y=b.height,n=b.itemHeight,r=b.fullHeight,$=r===void 0?!0:r,A=b.style,m=b.data,C=b.children,E=b.itemKey,M=b.virtual,a=b.direction,i=b.scrollWidth,ge=b.component,V=ge===void 0?"div":ge,Z=b.onScroll,O=b.onVirtualScroll,u=b.onVisibleChange,T=b.innerProps,j=b.extraRender,oe=b.styles,Ee=b.showScrollBar,ue=Ee===void 0?"optional":Ee,me=(0,p.Z)(b,J),re=d.useCallback(function(Ze){return typeof E=="function"?E(Ze):Ze==null?void 0:Ze[E]},[E]),je=o(re,null,null),_e=(0,le.Z)(je,4),Ke=_e[0],nt=_e[1],it=_e[2],ut=_e[3],dt=!!(M!==!1&&y&&n),Be=d.useMemo(function(){return Object.values(it.maps).reduce(function(Ze,ke){return Ze+ke},0)},[it.id,it.maps]),te=dt&&m&&(Math.max(n*m.length,Be)>y||!!i),ze=a==="rtl",$e=w()(g,(0,se.Z)({},"".concat(g,"-rtl"),ze),U),Je=m||Re,He=(0,d.useRef)(),Ye=(0,d.useRef)(),ot=(0,d.useRef)(),Ue=(0,d.useState)(0),vt=(0,le.Z)(Ue,2),St=vt[0],Jt=vt[1],Mt=(0,d.useState)(0),xt=(0,le.Z)(Mt,2),Nt=xt[0],qt=xt[1],Qt=(0,d.useState)(!1),Ve=(0,le.Z)(Qt,2),Le=Ve[0],mt=Ve[1],Ot=function(){mt(!0)},L=function(){mt(!1)},D={getKey:re};function Te(Ze){Jt(function(ke){var ct;typeof Ze=="function"?ct=Ze(ke):ct=Ze;var lt=ln(ct);return He.current.scrollTop=lt,lt})}var Pe=(0,d.useRef)({start:0,end:Je.length}),Me=(0,d.useRef)(),We=Ce(Je,re),De=(0,le.Z)(We,1),Xe=De[0];Me.current=Xe;var qe=d.useMemo(function(){if(!dt)return{scrollHeight:void 0,start:0,end:Je.length-1,offset:void 0};if(!te){var Ze;return{scrollHeight:((Ze=Ye.current)===null||Ze===void 0?void 0:Ze.offsetHeight)||0,start:0,end:Je.length-1,offset:void 0}}for(var ke=0,ct,lt,pt,zt=Je.length,Tt=0;Tt<zt;Tt+=1){var Ft=Je[Tt],nn=re(Ft),vn=it.get(nn),xn=ke+(vn===void 0?n:vn);xn>=St&&ct===void 0&&(ct=Tt,lt=ke),xn>St+y&&pt===void 0&&(pt=Tt),ke=xn}return ct===void 0&&(ct=0,lt=0,pt=Math.ceil(y/n)),pt===void 0&&(pt=Je.length-1),pt=Math.min(pt+1,Je.length-1),{scrollHeight:ke,start:ct,end:pt,offset:lt}},[te,dt,St,Je,ut,y]),tt=qe.scrollHeight,Ne=qe.start,Fe=qe.end,et=qe.offset;Pe.current.start=Ne,Pe.current.end=Fe,d.useLayoutEffect(function(){var Ze=it.getRecord();if(Ze.size===1){var ke=Array.from(Ze.keys())[0],ct=Ze.get(ke),lt=Je[Ne];if(lt&&ct===void 0){var pt=re(lt);if(pt===ke){var zt=it.get(ke),Tt=zt-n;Te(function(Ft){return Ft+Tt})}}}it.resetRecord()},[tt]);var Ge=d.useState({width:0,height:y}),at=(0,le.Z)(Ge,2),st=at[0],ht=at[1],Rt=function(ke){ht({width:ke.offsetWidth,height:ke.offsetHeight})},en=(0,d.useRef)(),Kt=(0,d.useRef)(),Dt=d.useMemo(function(){return ve(st.width,i)},[st.width,i]),Wt=d.useMemo(function(){return ve(st.height,tt)},[st.height,tt]),At=tt-y,Xt=(0,d.useRef)(At);Xt.current=At;function ln(Ze){var ke=Ze;return Number.isNaN(Xt.current)||(ke=Math.min(ke,Xt.current)),ke=Math.max(ke,0),ke}var Lt=St<=0,kt=St>=At,tn=Nt<=0,$t=Nt>=i,Vt=x(Lt,kt,tn,$t),Gt=function(){return{x:ze?-Nt:Nt,y:St}},_t=(0,d.useRef)(Gt()),Yt=(0,l.zX)(function(Ze){if(O){var ke=(0,S.Z)((0,S.Z)({},Gt()),Ze);(_t.current.x!==ke.x||_t.current.y!==ke.y)&&(O(ke),_t.current=ke)}});function on(Ze,ke){var ct=Ze;ke?((0,ae.flushSync)(function(){qt(ct)}),Yt()):Te(ct)}function Qe(Ze){var ke=Ze.currentTarget.scrollTop;ke!==St&&Te(ke),Z==null||Z(Ze),Yt()}var gt=function(ke){var ct=ke,lt=i?i-st.width:0;return ct=Math.max(ct,0),ct=Math.min(ct,lt),ct},Ct=(0,l.zX)(function(Ze,ke){ke?((0,ae.flushSync)(function(){qt(function(ct){var lt=ct+(ze?-Ze:Ze);return gt(lt)})}),Yt()):Te(function(ct){var lt=ct+Ze;return lt})}),wt=c(dt,Lt,kt,tn,$t,!!i,Ct),Ht=(0,le.Z)(wt,2),pn=Ht[0],hn=Ht[1];I(dt,He,function(Ze,ke,ct,lt){var pt=lt;return Vt(Ze,ke,ct)?!1:!pt||!pt._virtualHandled?(pt&&(pt._virtualHandled=!0),pn({preventDefault:function(){},deltaX:Ze?ke:0,deltaY:Ze?0:ke}),!0):!1}),ye(te,He,function(Ze){Te(function(ke){return ke+Ze})}),(0,ee.Z)(function(){function Ze(ct){var lt=Lt&&ct.detail<0,pt=kt&&ct.detail>0;dt&&!lt&&!pt&&ct.preventDefault()}var ke=He.current;return ke.addEventListener("wheel",pn,{passive:!1}),ke.addEventListener("DOMMouseScroll",hn,{passive:!0}),ke.addEventListener("MozMousePixelScroll",Ze,{passive:!1}),function(){ke.removeEventListener("wheel",pn),ke.removeEventListener("DOMMouseScroll",hn),ke.removeEventListener("MozMousePixelScroll",Ze)}},[dt,Lt,kt]),(0,ee.Z)(function(){if(i){var Ze=gt(Nt);qt(Ze),Yt({x:Ze})}},[st.width,i]);var rn=function(){var ke,ct;(ke=en.current)===null||ke===void 0||ke.delayHidden(),(ct=Kt.current)===null||ct===void 0||ct.delayHidden()},Cn=we(He,Je,it,n,re,function(){return nt(!0)},Te,rn);d.useImperativeHandle(N,function(){return{nativeElement:ot.current,getScrollInfo:Gt,scrollTo:function(ke){function ct(lt){return lt&&(0,B.Z)(lt)==="object"&&("left"in lt||"top"in lt)}ct(ke)?(ke.left!==void 0&&qt(gt(ke.left)),Cn(ke.top)):Cn(ke)}}}),(0,ee.Z)(function(){if(u){var Ze=Je.slice(Ne,Fe+1);u(Ze,Je)}},[Ne,Fe,Je]);var sn=z(Je,re,it,n),Mn=j==null?void 0:j({start:Ne,end:Fe,virtual:te,offsetX:Nt,offsetY:et,rtl:ze,getSize:sn}),wn=ne(Je,Ne,Fe,i,Nt,Ke,C,D),cn=null;y&&(cn=(0,S.Z)((0,se.Z)({},$?"height":"maxHeight",y),Q),dt&&(cn.overflowY="hidden",i&&(cn.overflowX="hidden"),Le&&(cn.pointerEvents="none")));var ft={};return ze&&(ft.dir="rtl"),d.createElement("div",(0,e.Z)({ref:ot,style:(0,S.Z)((0,S.Z)({},A),{},{position:"relative"}),className:$e},ft,me),d.createElement(ce.Z,{onResize:Rt},d.createElement(V,{className:"".concat(g,"-holder"),style:cn,ref:He,onScroll:Qe,onMouseEnter:rn},d.createElement(he,{prefixCls:g,height:tt,offsetX:Nt,offsetY:et,scrollWidth:i,onInnerResize:nt,ref:Ye,innerProps:T,rtl:ze,extra:Mn},wn))),te&&tt>y&&d.createElement(Se,{ref:en,prefixCls:g,scrollOffset:St,scrollRange:tt,rtl:ze,onScroll:on,onStartMove:Ot,onStopMove:L,spinSize:Wt,containerSize:st.height,style:oe==null?void 0:oe.verticalScrollBar,thumbStyle:oe==null?void 0:oe.verticalScrollBarThumb,showScrollBar:ue}),te&&i>st.width&&d.createElement(Se,{ref:Kt,prefixCls:g,scrollOffset:Nt,scrollRange:i,rtl:ze,onScroll:on,onStartMove:Ot,onStopMove:L,spinSize:Dt,containerSize:st.width,horizontal:!0,style:oe==null?void 0:oe.horizontalScrollBar,thumbStyle:oe==null?void 0:oe.horizontalScrollBarThumb,showScrollBar:ue}))}var _=d.forwardRef(pe);_.displayName="List";var Ae=_,k=Ae},4977:function(rt){"use strict";rt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN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SR0IArs4c6QAAH35JREFUeF7t3Q2MZWV9x/H/c849d17uzL6y7K4M76xLNIAKoiBQak0oRgsiYKyxUEq0LwZLYmqa0hqtpi8xodam1daKRFtbRITYBmlspRBBAXmRaHddsCyO7Bsssztzd2buveec5jl37jC7bN155l7OL7P3ewmZfTnn+Z37+f9nsjn3n+c4W8JrfHx8bGam9ZfNZutif3q1Wrl3YKDyB2NjY+NLWC74FHV+8AVzQlcC6nqr87vC4+RgAXW91fnBYJyAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACpr6/r86nBcoVUNdbnV+uNmnqevcy34WW84knto0513giz22NWef03P9qb27Vs846a9MrOiSjzg/14vjuBNT1Vud3p8fZoQLqeqvzQ704HgEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBMzU9/fV+fRAuQLqeqvzy9UmTV3vXucHD8g88shj/2zm3ttoNOa7wZmzJEnMnPvqOeec9euvZJuo81/J98baLxdQ11udT0+UK6Cutzq/XG3SEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBA4OgTU9/fV+UdHFZfPu1DXW52/fCp1dFyput69zg8ekLnvvu8+l+e28XDldM52XHTRW171SpZanf9KvjfWfrmAut7qfHqiXAF1vdX55WqThgACCCCAAAIIIIAAAggggAACCCCAAAIIIIDA0SGgvr+vzj86qrh83oW63ur85VOpo+NK1fXudX7wgMy3v31vnue5NZtNc84sz9sPWkqq1aLCb3vbxcFrhrSGOj/kWjm2ewF1vdX53QuyQoiAut7q/BArjkUAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAIG2gPr+vjqfPihXQF1vdX652qSp693r/OBhlrvu+ve8PRiTmx+N6QzJtFsjt8sue0fwmiFtpc4PuVaO7V5AXW91fveCrBAioK63Oj/EimMRQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEECgLaC+v6/Opw/KFVDXW51frjZp6nr3Oj94mOX22+/0kzHWbDaK3WP8yw/JJElSDMxceeXlwWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8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vXpAVQgTU9Vbnh1hxLAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCLQF1Pf31fn0QbkC6nqr88vVJk1d717nBw+zbN58et7ZOabZbPjpGKtWE/OPXapWq7Zly/8ErxnSVur8kGvl2O4F1PVW53cvyAohAup6q/NDrDgWAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEE2gLq+/vqfPqgXAF1vdX55WqTpq53r/ODh1lOOeXUYkCmMyRjls8Px/gBmaeffip4zZC2UueHXCvHdi+grrc6v3tBVggRUNdbnR9ixbEIIIAAAggggAACCCCAAAIIIIAAAggggAACCCDQFlDf31fn0wflCqjrrc4vV5s0db17nR88zOIv4MCBujUafkimYa7zeKVKYsO1mv30p08HrxnSVur8kGvl2O4F1PVW53cvyAohAup6q/NDrDgWAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEE2gLq+/vqfPqgXAF1vdX55WqTpq53r/MXNcyS57m75557Vq9atfbCq656951+95h6fWp+F5kkqVqtVrMkSexrX/v65RMTL9x/ySWXvOicy3vRMur8XrwH1li8gLre6vzFS3FkLwTU9Vbn98KQNRBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQ6DcB9f19dX6/1Vv9ftX1Vuer/fstX13vVzL//x2Q8aG+0HfffXd1zbp1v3rssSe8rzay4opzXrc5rtfr1mo1bWpqqthBZnh42DpDMo88vjWtT+2/Y/fuZ/9p754937r00ksbfp3QYRl1fr81ufr9quutzlf791u+ut7q/H6rN+8XAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAIFeCKjv76vze2HIGosXUNdbnb94KY7shYC63mXlH3ZAphN+7733Dqw5ZsONGzae9Ie55aMe9o2vP714tJIfkvE7yZi5YueYzg4yDz+2pfB35iZ37njmz/ZPPP+5Cy64YKL4s0XuKKPO70UDscbiBdT1VucvXoojeyGgrrc6vxeGrIEAAggggAACCCCAAAIIIIAAAggggAACCCCAQL8JqO/vq/P7rd7q96uutzpf7d9v+ep6l5n/sgGZuXD34IMPrhpZsfr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unfeHzf21xHFujMWNbtmwthmOKV95+XtLcnIxVk6q9evMmGxgYsjRN7foP3mDHHrth/ph9Ey/81ebTjv+omaULd5HpTAep8nvRRKyxeAF1vdX5i5fiyF4IqOutzu+FIWsggAACCCCAAAIIIIAAAggggAACCCCAAAIIINBvAur7++r8fqu3+v2q663OV/v3W7663sp8t2A6J37ooR+OverEE2+pxMkv5Zkffsnt3v+6x3705GOWZZkdODBlW7duKwZiGg0/JFOMx8w/Zsn/+aZNp1mtNup3jLHXnvF6u/itlxSPWHKRWStt/vdz27f/5rnnnjk+NyTjF/Avv4gk/9BHPfVb85f9fuk31+n5sun7Mo9+o9/6svF50wgggAACCCCAAAIIIIAAAggggAACCCCAAAJdCfD5Ap8vdNVAgSfTb/RbYMt0dXjf99vC6Zz77ntw8+mvOesbae5OzX0fZpnd/q9ftqmpSZua2metZtOeeeZZm56ents1xhWPW2rvIONscHDQTjrpBKskiY2MrLSRkVG78j3v989XMpc7i13+9JYfP/Guiy46b2tnF5m56hW71yjyGZDp6vsn+GT6jR/wwU3TxQn0G/3WRftwKgIIIIAAAggggAACCCCAAAIIIIAAAggggECfCvD5Ap8vlNn69Bv9Rr+VN5/S2UEmesYs2fPw4284/uTN/2FZXsssszxzdvttXzLnnL3w/K5iGGbHjp02NVW3RmN2buMXX67cqtWqjYyM2MaNG4rdY9asPbb483dfda25KLfIIrPI1Z956keXbHjzOT84ycxvQZN1BmRU+QzIlPntZr6H/DgV/VYue9+m0W/8g6Jvm583jgACCCCAAAIIIIAAAggggAACCCCAAAIIILBkAT5f4POFJTfPEk6k3+i3JbTNkk/p+36bA4jHxy3Z/txD55x2ypl3Z3lWy/PMbyBjd//bbRZFse3e9VzxmKVWq1XsIpOmaTEw419+gMYPxZx88olWqVSK36/fcFxxzNvfebXfQMaciyxyUX3rTx59+yknnP/w2FgxIJPOVU6Wz4DMkr93lnQi/cYP+CU1zhJPot/otyW2DqchgAACCCCAAAIIIIAAAggggAACCCCAAAII9LEAny/w+UKZ7U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