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.
244 lines
773 KiB
244 lines
773 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[9649],{70557:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},89489:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},59477:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},40001:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={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"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},49198:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={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"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},84105:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},18785:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},87169:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},73331:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={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"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},15277:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={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"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},52671:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={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"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},8657:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={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"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},56082:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={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"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},33853:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={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"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},15075:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={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"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},43531:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={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"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},38819:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},47472:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(72308),m=t(59301),D={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"},V=D,L=t(7657),F=function(h,v){return m.createElement(L.Z,(0,x.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(F),W=u},35593:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return pe}});var x=t(77321),m=t(52487),D=t(74416),V=t(43403),L=t(92310),F=t.n(L),u=t(29301),W=t(76846),e=t(96452),h=t(6089),v=t(80402),n=t(34280),r=t(49658),o=t(59301),l=t(72308),w=t(77900),k=t(8654);function E(M){var U=M.prefixCls,A=M.align,R=M.arrow,te=M.arrowPos,y=R||{},f=y.className,d=y.content,X=te.x,K=X===void 0?0:X,z=te.y,J=z===void 0?0:z,ce=o.useRef();if(!A||!A.points)return null;var re={position:"absolute"};if(A.autoArrow!==!1){var se=A.points[0],me=A.points[1],_e=se[0],ve=se[1],Be=me[0],$e=me[1];_e===Be||!["t","b"].includes(_e)?re.top=J:_e==="t"?re.top=0:re.bottom=0,ve===$e||!["l","r"].includes(ve)?re.left=K:ve==="l"?re.left=0:re.right=0}return o.createElement("div",{ref:ce,className:F()("".concat(U,"-arrow"),f),style:re},d)}function g(M){var U=M.prefixCls,A=M.open,R=M.zIndex,te=M.mask,y=M.motion;return te?o.createElement(w.default,(0,l.Z)({},y,{motionAppear:!0,visible:A,removeOnLeave:!0}),function(f){var d=f.className;return o.createElement("div",{style:{zIndex:R},className:F()("".concat(U,"-mask"),d)})}):null}var I=o.memo(function(M){var U=M.children;return U},function(M,U){return U.cache}),C=I,c=o.forwardRef(function(M,U){var A=M.popup,R=M.className,te=M.prefixCls,y=M.style,f=M.target,d=M.onVisibleChanged,X=M.open,K=M.keepDom,z=M.fresh,J=M.onClick,ce=M.mask,re=M.arrow,se=M.arrowPos,me=M.align,_e=M.motion,ve=M.maskMotion,Be=M.forceRender,$e=M.getPopupContainer,Ie=M.autoDestroy,He=M.portal,et=M.zIndex,st=M.onMouseEnter,nt=M.onMouseLeave,Rt=M.onPointerEnter,Nt=M.ready,Tt=M.offsetX,Mt=M.offsetY,on=M.offsetR,Ct=M.offsetB,tt=M.onAlign,$t=M.onPrepare,Vt=M.stretch,je=M.targetWidth,qt=M.targetHeight,gn=typeof A=="function"?A():A,sn=X||K,An=($e==null?void 0:$e.length)>0,Ln=o.useState(!$e||!An),Kn=(0,m.Z)(Ln,2),rr=Kn[0],Gt=Kn[1];if((0,n.Z)(function(){!rr&&An&&f&&Gt(!0)},[rr,An,f]),!rr)return null;var St="auto",Xt={left:"-1000vw",top:"-1000vh",right:St,bottom:St};if(Nt||!X){var ln,Bn=me.points,Pn=me.dynamicInset||((ln=me._experimental)===null||ln===void 0?void 0:ln.dynamicInset),ye=Pn&&Bn[0][1]==="r",he=Pn&&Bn[0][0]==="b";ye?(Xt.right=on,Xt.left=St):(Xt.left=Tt,Xt.right=St),he?(Xt.bottom=Ct,Xt.top=St):(Xt.top=Mt,Xt.bottom=St)}var Ve={};return Vt&&(Vt.includes("height")&&qt?Ve.height=qt:Vt.includes("minHeight")&&qt&&(Ve.minHeight=qt),Vt.includes("width")&&je?Ve.width=je:Vt.includes("minWidth")&&je&&(Ve.minWidth=je)),X||(Ve.pointerEvents="none"),o.createElement(He,{open:Be||sn,getContainer:$e&&function(){return $e(f)},autoDestroy:Ie},o.createElement(g,{prefixCls:te,open:X,zIndex:et,mask:ce,motion:ve}),o.createElement(u.Z,{onResize:tt,disabled:!X},function(Fe){return o.createElement(w.default,(0,l.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Be,leavedClassName:"".concat(te,"-hidden")},_e,{onAppearPrepare:$t,onEnterPrepare:$t,visible:X,onVisibleChanged:function(rt){var gt;_e==null||(gt=_e.onVisibleChanged)===null||gt===void 0||gt.call(_e,rt),d(rt)}}),function(ht,rt){var gt=ht.className,it=ht.style,bt=F()(te,gt,R);return o.createElement("div",{ref:(0,k.sQ)(Fe,U,rt),className:bt,style:(0,x.Z)((0,x.Z)((0,x.Z)((0,x.Z)({"--arrow-x":"".concat(se.x||0,"px"),"--arrow-y":"".concat(se.y||0,"px")},Xt),Ve),it),{},{boxSizing:"border-box",zIndex:et},y),onMouseEnter:st,onMouseLeave:nt,onPointerEnter:Rt,onClick:J},re&&o.createElement(E,{prefixCls:te,arrow:re,arrowPos:se,align:me}),o.createElement(C,{cache:!X&&!z},gn))})}))}),s=c,b=o.forwardRef(function(M,U){var A=M.children,R=M.getTriggerDOMNode,te=(0,k.Yr)(A),y=o.useCallback(function(d){(0,k.mH)(U,R?R(d):d)},[R]),f=(0,k.x1)(y,A.ref);return te?o.cloneElement(A,{ref:f}):A}),T=b,q=o.createContext(null),ee=q;function G(M){return M?Array.isArray(M)?M:[M]:[]}function H(M,U,A,R){return o.useMemo(function(){var te=G(A!=null?A:U),y=G(R!=null?R:U),f=new Set(te),d=new Set(y);return M&&(f.has("hover")&&(f.delete("hover"),f.add("click")),d.has("hover")&&(d.delete("hover"),d.add("click"))),[f,d]},[M,U,A,R])}var $=t(29194);function p(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],A=arguments.length>2?arguments[2]:void 0;return A?M[0]===U[0]:M[0]===U[0]&&M[1]===U[1]}function Z(M,U,A,R){for(var te=A.points,y=Object.keys(M),f=0;f<y.length;f+=1){var d,X=y[f];if(p((d=M[X])===null||d===void 0?void 0:d.points,te,R))return"".concat(U,"-placement-").concat(X)}return""}function O(M,U,A,R){return U||(A?{motionName:"".concat(M,"-").concat(A)}:R?{motionName:R}:null)}function B(M){return M.ownerDocument.defaultView}function P(M){for(var U=[],A=M==null?void 0:M.parentElement,R=["hidden","scroll","clip","auto"];A;){var te=B(A).getComputedStyle(A),y=te.overflowX,f=te.overflowY,d=te.overflow;[y,f,d].some(function(X){return R.includes(X)})&&U.push(A),A=A.parentElement}return U}function i(M){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(M)?U:M}function a(M){return i(parseFloat(M),0)}function _(M,U){var A=(0,x.Z)({},M);return(U||[]).forEach(function(R){if(!(R instanceof HTMLBodyElement||R instanceof HTMLHtmlElement)){var te=B(R).getComputedStyle(R),y=te.overflow,f=te.overflowClipMargin,d=te.borderTopWidth,X=te.borderBottomWidth,K=te.borderLeftWidth,z=te.borderRightWidth,J=R.getBoundingClientRect(),ce=R.offsetHeight,re=R.clientHeight,se=R.offsetWidth,me=R.clientWidth,_e=a(d),ve=a(X),Be=a(K),$e=a(z),Ie=i(Math.round(J.width/se*1e3)/1e3),He=i(Math.round(J.height/ce*1e3)/1e3),et=(se-me-Be-$e)*Ie,st=(ce-re-_e-ve)*He,nt=_e*He,Rt=ve*He,Nt=Be*Ie,Tt=$e*Ie,Mt=0,on=0;if(y==="clip"){var Ct=a(f);Mt=Ct*Ie,on=Ct*He}var tt=J.x+Nt-Mt,$t=J.y+nt-on,Vt=tt+J.width+2*Mt-Nt-Tt-et,je=$t+J.height+2*on-nt-Rt-st;A.left=Math.max(A.left,tt),A.top=Math.max(A.top,$t),A.right=Math.min(A.right,Vt),A.bottom=Math.min(A.bottom,je)}}),A}function j(M){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,A="".concat(U),R=A.match(/^(.*)\%$/);return R?M*(parseFloat(R[1])/100):parseFloat(A)}function ne(M,U){var A=U||[],R=(0,m.Z)(A,2),te=R[0],y=R[1];return[j(M.width,te),j(M.height,y)]}function ae(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[M[0],M[1]]}function oe(M,U){var A=U[0],R=U[1],te,y;return A==="t"?y=M.y:A==="b"?y=M.y+M.height:y=M.y+M.height/2,R==="l"?te=M.x:R==="r"?te=M.x+M.width:te=M.x+M.width/2,{x:te,y}}function fe(M,U){var A={t:"b",b:"t",l:"r",r:"l"};return M.map(function(R,te){return te===U?A[R]||"c":R}).join("")}function Ee(M,U,A,R,te,y,f){var d=o.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:te[R]||{}}),X=(0,m.Z)(d,2),K=X[0],z=X[1],J=o.useRef(0),ce=o.useMemo(function(){return U?P(U):[]},[U]),re=o.useRef({}),se=function(){re.current={}};M||se();var me=(0,h.Z)(function(){if(U&&A&&M){let Qt=function(Mn,Yn){var Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:bt,br=gn.x+Mn,xr=gn.y+Yn,Or=br+ln,di=xr+Xt,Ni=Math.max(br,Lr.left),Zi=Math.max(xr,Lr.top),mi=Math.min(Or,Lr.right),ai=Math.min(di,Lr.bottom);return Math.max(0,(mi-Ni)*(ai-Zi))},vn=function(){On=gn.y+ot,bn=On+Xt,Sn=gn.x+_t,_n=Sn+ln};var Be,$e,Ie=U,He=Ie.ownerDocument,et=B(Ie),st=et.getComputedStyle(Ie),nt=st.width,Rt=st.height,Nt=st.position,Tt=Ie.style.left,Mt=Ie.style.top,on=Ie.style.right,Ct=Ie.style.bottom,tt=Ie.style.overflow,$t=(0,x.Z)((0,x.Z)({},te[R]),y),Vt=He.createElement("div");(Be=Ie.parentElement)===null||Be===void 0||Be.appendChild(Vt),Vt.style.left="".concat(Ie.offsetLeft,"px"),Vt.style.top="".concat(Ie.offsetTop,"px"),Vt.style.position=Nt,Vt.style.height="".concat(Ie.offsetHeight,"px"),Vt.style.width="".concat(Ie.offsetWidth,"px"),Ie.style.left="0",Ie.style.top="0",Ie.style.right="auto",Ie.style.bottom="auto",Ie.style.overflow="hidden";var je;if(Array.isArray(A))je={x:A[0],y:A[1],width:0,height:0};else{var qt=A.getBoundingClientRect();je={x:qt.x,y:qt.y,width:qt.width,height:qt.height}}var gn=Ie.getBoundingClientRect(),sn=He.documentElement,An=sn.clientWidth,Ln=sn.clientHeight,Kn=sn.scrollWidth,rr=sn.scrollHeight,Gt=sn.scrollTop,St=sn.scrollLeft,Xt=gn.height,ln=gn.width,Bn=je.height,Pn=je.width,ye={left:0,top:0,right:An,bottom:Ln},he={left:-St,top:-Gt,right:Kn-St,bottom:rr-Gt},Ve=$t.htmlRegion,Fe="visible",ht="visibleFirst";Ve!=="scroll"&&Ve!==ht&&(Ve=Fe);var rt=Ve===ht,gt=_(he,ce),it=_(ye,ce),bt=Ve===Fe?it:gt,xt=rt?it:bt;Ie.style.left="auto",Ie.style.top="auto",Ie.style.right="0",Ie.style.bottom="0";var wt=Ie.getBoundingClientRect();Ie.style.left=Tt,Ie.style.top=Mt,Ie.style.right=on,Ie.style.bottom=Ct,Ie.style.overflow=tt,($e=Ie.parentElement)===null||$e===void 0||$e.removeChild(Vt);var Ze=i(Math.round(ln/parseFloat(nt)*1e3)/1e3),Ke=i(Math.round(Xt/parseFloat(Rt)*1e3)/1e3);if(Ze===0||Ke===0||(0,W.Sh)(A)&&!(0,$.Z)(A))return;var Ge=$t.offset,at=$t.targetOffset,kt=ne(gn,Ge),hn=(0,m.Z)(kt,2),Zt=hn[0],lt=hn[1],ge=ne(je,at),Se=(0,m.Z)(ge,2),De=Se[0],Ae=Se[1];je.x-=De,je.y-=Ae;var Ne=$t.points||[],Xe=(0,m.Z)(Ne,2),Me=Xe[0],qe=Xe[1],ft=ae(qe),pt=ae(Me),Kt=oe(je,ft),Ot=oe(gn,pt),un=(0,x.Z)({},$t),_t=Kt.x-Ot.x+Zt,ot=Kt.y-Ot.y+lt,Yt=Qt(_t,ot),Wt=Qt(_t,ot,it),zn=oe(je,["t","l"]),En=oe(gn,["t","l"]),mn=oe(je,["b","r"]),Dn=oe(gn,["b","r"]),Jt=$t.overflow||{},Zn=Jt.adjustX,ur=Jt.adjustY,At=Jt.shiftX,Ht=Jt.shiftY,Ut=function(Yn){return typeof Yn=="boolean"?Yn:Yn>=0},On,bn,Sn,_n;vn();var kn=Ut(ur),or=pt[0]===ft[0];if(kn&&pt[0]==="t"&&(bn>xt.bottom||re.current.bt)){var jn=ot;or?jn-=Xt-Bn:jn=zn.y-Dn.y-lt;var tr=Qt(_t,jn),It=Qt(_t,jn,it);tr>Yt||tr===Yt&&(!rt||It>=Wt)?(re.current.bt=!0,ot=jn,lt=-lt,un.points=[fe(pt,0),fe(ft,0)]):re.current.bt=!1}if(kn&&pt[0]==="b"&&(On<xt.top||re.current.tb)){var ut=ot;or?ut+=Xt-Bn:ut=mn.y-En.y-lt;var rn=Qt(_t,ut),xn=Qt(_t,ut,it);rn>Yt||rn===Yt&&(!rt||xn>=Wt)?(re.current.tb=!0,ot=ut,lt=-lt,un.points=[fe(pt,0),fe(ft,0)]):re.current.tb=!1}var Gn=Ut(Zn),Pr=pt[1]===ft[1];if(Gn&&pt[1]==="l"&&(_n>xt.right||re.current.rl)){var hr=_t;Pr?hr-=ln-Pn:hr=zn.x-Dn.x-Zt;var sr=Qt(hr,ot),mr=Qt(hr,ot,it);sr>Yt||sr===Yt&&(!rt||mr>=Wt)?(re.current.rl=!0,_t=hr,Zt=-Zt,un.points=[fe(pt,1),fe(ft,1)]):re.current.rl=!1}if(Gn&&pt[1]==="r"&&(Sn<xt.left||re.current.lr)){var vr=_t;Pr?vr+=ln-Pn:vr=mn.x-En.x-Zt;var yr=Qt(vr,ot),Dr=Qt(vr,ot,it);yr>Yt||yr===Yt&&(!rt||Dr>=Wt)?(re.current.lr=!0,_t=vr,Zt=-Zt,un.points=[fe(pt,1),fe(ft,1)]):re.current.lr=!1}vn();var Xn=At===!0?0:At;typeof Xn=="number"&&(Sn<it.left&&(_t-=Sn-it.left-Zt,je.x+Pn<it.left+Xn&&(_t+=je.x-it.left+Pn-Xn)),_n>it.right&&(_t-=_n-it.right-Zt,je.x>it.right-Xn&&(_t+=je.x-it.right+Xn)));var _r=Ht===!0?0:Ht;typeof _r=="number"&&(On<it.top&&(ot-=On-it.top-lt,je.y+Bn<it.top+_r&&(ot+=je.y-it.top+Bn-_r)),bn>it.bottom&&(ot-=bn-it.bottom-lt,je.y>it.bottom-_r&&(ot+=je.y-it.bottom+_r)));var Fr=gn.x+_t,Ar=Fr+ln,Sr=gn.y+ot,Hr=Sr+Xt,Wr=je.x,ti=Wr+Pn,qr=je.y,_i=qr+Bn,yi=Math.max(Fr,Wr),li=Math.min(Ar,ti),Ur=(yi+li)/2,Pi=Ur-Fr,bi=Math.max(Sr,qr),ui=Math.min(Hr,_i),ci=(bi+ui)/2,ni=ci-Sr;f==null||f(U,un);var Ft=wt.right-gn.x-(_t+gn.width),Cn=wt.bottom-gn.y-(ot+gn.height);z({ready:!0,offsetX:_t/Ze,offsetY:ot/Ke,offsetR:Ft/Ze,offsetB:Cn/Ke,arrowX:Pi/Ze,arrowY:ni/Ke,scaleX:Ze,scaleY:Ke,align:un})}}),_e=function(){J.current+=1;var $e=J.current;Promise.resolve().then(function(){J.current===$e&&me()})},ve=function(){z(function($e){return(0,x.Z)((0,x.Z)({},$e),{},{ready:!1})})};return(0,n.Z)(ve,[R]),(0,n.Z)(function(){M||ve()},[M]),[K.ready,K.offsetX,K.offsetY,K.offsetR,K.offsetB,K.arrowX,K.arrowY,K.scaleX,K.scaleY,K.align,_e]}var ke=t(80702);function Re(M,U,A,R,te){(0,n.Z)(function(){if(M&&U&&A){let J=function(){R(),te()};var y=U,f=A,d=P(y),X=P(f),K=B(f),z=new Set([K].concat((0,ke.Z)(d),(0,ke.Z)(X)));return z.forEach(function(ce){ce.addEventListener("scroll",J,{passive:!0})}),K.addEventListener("resize",J,{passive:!0}),R(),function(){z.forEach(function(ce){ce.removeEventListener("scroll",J),K.removeEventListener("resize",J)})}}},[M,U,A])}var ze=t(48736),Je=t(16089);function Oe(M,U,A,R,te,y,f,d){var X=o.useRef(M),K=o.useRef(!1);X.current!==M&&(K.current=!0,X.current=M),o.useEffect(function(){var z=(0,Je.Z)(function(){K.current=!1});return function(){Je.Z.cancel(z)}},[M]),o.useEffect(function(){if(U&&R&&(!te||y)){var z=function(){var Nt=!1,Tt=function(Ct){var tt=Ct.target;Nt=f(tt)},Mt=function(Ct){var tt=Ct.target;!K.current&&X.current&&!Nt&&!f(tt)&&d(!1)};return[Tt,Mt]},J=z(),ce=(0,m.Z)(J,2),re=ce[0],se=ce[1],me=z(),_e=(0,m.Z)(me,2),ve=_e[0],Be=_e[1],$e=B(R);$e.addEventListener("mousedown",re,!0),$e.addEventListener("click",se,!0),$e.addEventListener("contextmenu",se,!0);var Ie=(0,e.A)(A);if(Ie&&(Ie.addEventListener("mousedown",ve,!0),Ie.addEventListener("click",Be,!0),Ie.addEventListener("contextmenu",Be,!0)),0)var He,et,st,nt;return function(){$e.removeEventListener("mousedown",re,!0),$e.removeEventListener("click",se,!0),$e.removeEventListener("contextmenu",se,!0),Ie&&(Ie.removeEventListener("mousedown",ve,!0),Ie.removeEventListener("click",Be,!0),Ie.removeEventListener("contextmenu",Be,!0))}}},[U,A,R,te,y])}var Ce=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Y(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:V.Z,U=o.forwardRef(function(A,R){var te=A.prefixCls,y=te===void 0?"rc-trigger-popup":te,f=A.children,d=A.action,X=d===void 0?"hover":d,K=A.showAction,z=A.hideAction,J=A.popupVisible,ce=A.defaultPopupVisible,re=A.onPopupVisibleChange,se=A.afterPopupVisibleChange,me=A.mouseEnterDelay,_e=A.mouseLeaveDelay,ve=_e===void 0?.1:_e,Be=A.focusDelay,$e=A.blurDelay,Ie=A.mask,He=A.maskClosable,et=He===void 0?!0:He,st=A.getPopupContainer,nt=A.forceRender,Rt=A.autoDestroy,Nt=A.destroyPopupOnHide,Tt=A.popup,Mt=A.popupClassName,on=A.popupStyle,Ct=A.popupPlacement,tt=A.builtinPlacements,$t=tt===void 0?{}:tt,Vt=A.popupAlign,je=A.zIndex,qt=A.stretch,gn=A.getPopupClassNameFromAlign,sn=A.fresh,An=A.alignPoint,Ln=A.onPopupClick,Kn=A.onPopupAlign,rr=A.arrow,Gt=A.popupMotion,St=A.maskMotion,Xt=A.popupTransitionName,ln=A.popupAnimation,Bn=A.maskTransitionName,Pn=A.maskAnimation,ye=A.className,he=A.getTriggerDOMNode,Ve=(0,D.Z)(A,Ce),Fe=Rt||Nt||!1,ht=o.useState(!1),rt=(0,m.Z)(ht,2),gt=rt[0],it=rt[1];(0,n.Z)(function(){it((0,r.Z)())},[]);var bt=o.useRef({}),xt=o.useContext(ee),wt=o.useMemo(function(){return{registerSubPopup:function(In,pr){bt.current[In]=pr,xt==null||xt.registerSubPopup(In,pr)}}},[xt]),Ze=(0,v.Z)(),Ke=o.useState(null),Ge=(0,m.Z)(Ke,2),at=Ge[0],kt=Ge[1],hn=(0,h.Z)(function(Lt){(0,W.Sh)(Lt)&&at!==Lt&&kt(Lt),xt==null||xt.registerSubPopup(Ze,Lt)}),Zt=o.useState(null),lt=(0,m.Z)(Zt,2),ge=lt[0],Se=lt[1],De=o.useRef(null),Ae=(0,h.Z)(function(Lt){(0,W.Sh)(Lt)&&ge!==Lt&&(Se(Lt),De.current=Lt)}),Ne=o.Children.only(f),Xe=(Ne==null?void 0:Ne.props)||{},Me={},qe=(0,h.Z)(function(Lt){var In,pr,Br=ge;return(Br==null?void 0:Br.contains(Lt))||((In=(0,e.A)(Br))===null||In===void 0?void 0:In.host)===Lt||Lt===Br||(at==null?void 0:at.contains(Lt))||((pr=(0,e.A)(at))===null||pr===void 0?void 0:pr.host)===Lt||Lt===at||Object.values(bt.current).some(function(lr){return(lr==null?void 0:lr.contains(Lt))||Lt===lr})}),ft=O(y,Gt,ln,Xt),pt=O(y,St,Pn,Bn),Kt=o.useState(ce||!1),Ot=(0,m.Z)(Kt,2),un=Ot[0],_t=Ot[1],ot=J!=null?J:un,Yt=(0,h.Z)(function(Lt){J===void 0&&_t(Lt)});(0,n.Z)(function(){_t(J||!1)},[J]);var Wt=o.useRef(ot);Wt.current=ot;var zn=o.useRef([]);zn.current=[];var En=(0,h.Z)(function(Lt){var In;Yt(Lt),((In=zn.current[zn.current.length-1])!==null&&In!==void 0?In:ot)!==Lt&&(zn.current.push(Lt),re==null||re(Lt))}),mn=o.useRef(),Dn=function(){clearTimeout(mn.current)},Jt=function(In){var pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Dn(),pr===0?En(In):mn.current=setTimeout(function(){En(In)},pr*1e3)};o.useEffect(function(){return Dn},[]);var Zn=o.useState(!1),ur=(0,m.Z)(Zn,2),At=ur[0],Ht=ur[1];(0,n.Z)(function(Lt){(!Lt||ot)&&Ht(!0)},[ot]);var Ut=o.useState(null),On=(0,m.Z)(Ut,2),bn=On[0],Sn=On[1],_n=o.useState([0,0]),kn=(0,m.Z)(_n,2),or=kn[0],jn=kn[1],tr=function(In){jn([In.clientX,In.clientY])},It=Ee(ot,at,An?or:ge,Ct,$t,Vt,Kn),ut=(0,m.Z)(It,11),rn=ut[0],xn=ut[1],Gn=ut[2],Pr=ut[3],hr=ut[4],sr=ut[5],mr=ut[6],vr=ut[7],yr=ut[8],Dr=ut[9],Xn=ut[10],_r=H(gt,X,K,z),Fr=(0,m.Z)(_r,2),Ar=Fr[0],Sr=Fr[1],Hr=Ar.has("click"),Wr=Sr.has("click")||Sr.has("contextMenu"),ti=(0,h.Z)(function(){At||Xn()}),qr=function(){Wt.current&&An&&Wr&&Jt(!1)};Re(ot,ge,at,ti,qr),(0,n.Z)(function(){ti()},[or,Ct]),(0,n.Z)(function(){ot&&!($t!=null&&$t[Ct])&&ti()},[JSON.stringify(Vt)]);var _i=o.useMemo(function(){var Lt=Z($t,y,Dr,An);return F()(Lt,gn==null?void 0:gn(Dr))},[Dr,gn,$t,y,An]);o.useImperativeHandle(R,function(){return{nativeElement:De.current,forceAlign:ti}});var yi=o.useState(0),li=(0,m.Z)(yi,2),Ur=li[0],Pi=li[1],bi=o.useState(0),ui=(0,m.Z)(bi,2),ci=ui[0],ni=ui[1],Ft=function(){if(qt&&ge){var In=ge.getBoundingClientRect();Pi(In.width),ni(In.height)}},Cn=function(){Ft(),ti()},Qt=function(In){Ht(!1),Xn(),se==null||se(In)},vn=function(){return new Promise(function(In){Ft(),Sn(function(){return In})})};(0,n.Z)(function(){bn&&(Xn(),bn(),Sn(null))},[bn]);function Mn(Lt,In,pr,Br){Me[Lt]=function(lr){var zi;Br==null||Br(lr),Jt(In,pr);for(var ji=arguments.length,Hi=new Array(ji>1?ji-1:0),$i=1;$i<ji;$i++)Hi[$i-1]=arguments[$i];(zi=Xe[Lt])===null||zi===void 0||zi.call.apply(zi,[Xe,lr].concat(Hi))}}(Hr||Wr)&&(Me.onClick=function(Lt){var In;Wt.current&&Wr?Jt(!1):!Wt.current&&Hr&&(tr(Lt),Jt(!0));for(var pr=arguments.length,Br=new Array(pr>1?pr-1:0),lr=1;lr<pr;lr++)Br[lr-1]=arguments[lr];(In=Xe.onClick)===null||In===void 0||In.call.apply(In,[Xe,Lt].concat(Br))}),Oe(ot,Wr,ge,at,Ie,et,qe,Jt);var Yn=Ar.has("hover"),Lr=Sr.has("hover"),br,xr;Yn&&(Mn("onMouseEnter",!0,me,function(Lt){tr(Lt)}),Mn("onPointerEnter",!0,me,function(Lt){tr(Lt)}),br=function(In){(ot||At)&&at!==null&&at!==void 0&&at.contains(In.target)&&Jt(!0,me)},An&&(Me.onMouseMove=function(Lt){var In;(In=Xe.onMouseMove)===null||In===void 0||In.call(Xe,Lt)})),Lr&&(Mn("onMouseLeave",!1,ve),Mn("onPointerLeave",!1,ve),xr=function(){Jt(!1,ve)}),Ar.has("focus")&&Mn("onFocus",!0,Be),Sr.has("focus")&&Mn("onBlur",!1,$e),Ar.has("contextMenu")&&(Me.onContextMenu=function(Lt){var In;Wt.current&&Sr.has("contextMenu")?Jt(!1):(tr(Lt),Jt(!0)),Lt.preventDefault();for(var pr=arguments.length,Br=new Array(pr>1?pr-1:0),lr=1;lr<pr;lr++)Br[lr-1]=arguments[lr];(In=Xe.onContextMenu)===null||In===void 0||In.call.apply(In,[Xe,Lt].concat(Br))}),ye&&(Me.className=F()(Xe.className,ye));var Or=(0,x.Z)((0,x.Z)({},Xe),Me),di={},Ni=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Ni.forEach(function(Lt){Ve[Lt]&&(di[Lt]=function(){for(var In,pr=arguments.length,Br=new Array(pr),lr=0;lr<pr;lr++)Br[lr]=arguments[lr];(In=Or[Lt])===null||In===void 0||In.call.apply(In,[Or].concat(Br)),Ve[Lt].apply(Ve,Br)})});var Zi=o.cloneElement(Ne,(0,x.Z)((0,x.Z)({},Or),di)),mi={x:sr,y:mr},ai=rr?(0,x.Z)({},rr!==!0?rr:{}):null;return o.createElement(o.Fragment,null,o.createElement(u.Z,{disabled:!ot,ref:Ae,onResize:Cn},o.createElement(T,{getTriggerDOMNode:he},Zi)),o.createElement(ee.Provider,{value:wt},o.createElement(s,{portal:M,ref:hn,prefixCls:y,popup:Tt,className:F()(Mt,_i),style:on,target:ge,onMouseEnter:br,onMouseLeave:xr,onPointerEnter:br,zIndex:je,open:ot,keepDom:At,fresh:sn,onClick:Ln,mask:Ie,motion:ft,maskMotion:pt,onVisibleChanged:Qt,onPrepare:vn,forceRender:nt,autoDestroy:Fe,getPopupContainer:st,align:Dr,arrow:ai,arrowPos:mi,ready:rn,offsetX:xn,offsetY:Gn,offsetR:Pr,offsetB:hr,onAlign:ti,stretch:qt,targetWidth:Ur/vr,targetHeight:ci/yr})))});return U}var pe=Y(V.Z)},8797:function(Ue,de,t){"use strict";var x=t(59301),m=t(93314),D=t(3113),V=Object.defineProperty,L=Object.defineProperties,F=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,h=(o,l,w)=>l in o?V(o,l,{enumerable:!0,configurable:!0,writable:!0,value:w}):o[l]=w,v=(o,l)=>{for(var w in l||(l={}))W.call(l,w)&&h(o,w,l[w]);if(u)for(var w of u(l))e.call(l,w)&&h(o,w,l[w]);return o},n=(o,l)=>L(o,F(l));const r=({img:o,buttonProps:l={},styles:w={},customText:k,ButtonText:E,ButtonClick:g,Buttonclass:I,ButtonTwo:C,imgStyles:c,loading:s=!1,className:b=""})=>x.createElement("section",{className:`tc animated fadeIn ${b}`,style:v({color:"#999",margin:"100px auto",visibility:s?"hidden":"visible"},w)},x.createElement("img",{src:o||m,style:n(v({},c),{pointerEvents:"none",userSelect:"none"})}),x.createElement("p",{className:"mt20 font14"},k||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),E&&x.createElement(D.ZP,v({className:I,onClick:g},l),E),C&&C);de.Z=r},23210:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return I}});var x=t(59301),m={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},D=t(3113),V=t(70557),L=t(23954),F=t(6848),u=t(955),W=t(94941),e=t(8797),h=t(3294),v=t(19381),n=t(59301),r=Object.defineProperty,o=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,k=(C,c,s)=>c in C?r(C,c,{enumerable:!0,configurable:!0,writable:!0,value:s}):C[c]=s,E=(C,c)=>{for(var s in c||(c={}))l.call(c,s)&&k(C,s,c[s]);if(o)for(var s of o(c))w.call(c,s)&&k(C,s,c[s]);return C},g=(C,c,s)=>new Promise((b,T)=>{var q=H=>{try{G(s.next(H))}catch($){T($)}},ee=H=>{try{G(s.throw(H))}catch($){T($)}},G=H=>H.done?b(H.value):Promise.resolve(H.value).then(q,ee);G((s=s.apply(C,c)).next())}),I=({editOffice:C="view",data:c,theme:s,type:b,filename:T,monacoEditor:q,className:ee,style:G,close:H,onClose:$,hasMask:p,disabledDownload:Z,onImgDimensions:O,showNodata:B,recordInfo:P})=>{const[i,a]=(0,x.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[_,j]=(0,x.useState)(""),[ne,ae]=(0,x.useState)(),oe=window.ENV==="build"?"/react/build":"",fe=location.host.startsWith("localhost")?h.Z.PROXY_SERVER:h.Z.API_SERVER,ke=10*(1024*1024),Re=(0,x.useRef)();c!=null&&c.startsWith("/api")&&b!=="txt"&&(c=h.Z.API_SERVER+c);const ze=Y=>Y.substring(Y.lastIndexOf("/")+1).split(".").pop();T&&q&&(q.filename=T),(0,x.useEffect)(()=>{var Y,pe;const M=(pe=(Y=document.cookie)==null?void 0:Y.replace(/\s/g,""))==null?void 0:pe.split(";");M==null||M.map(U=>{let A=U.split("=");A[0]==="_educoder_session"&&j(A[1])})},[]),(0,x.useEffect)(()=>{b==="office"&&(c.indexOf("bigfilescdn.")>-1||c.indexOf("bigfiles1")>-1?ae({url:c,fileType:ze(c),model:c.indexOf("model=edit")?"edit":"view"}):Je())},[b,c]);const Je=()=>g(void 0,null,function*(){console.log("data:",c);let Y=c;c.startsWith("http")||(Y=location.origin+Y);let pe=new URL(Y).pathname.split("/").pop();const M=yield(0,W.gJ)({attachment_id:pe});M.url=fe+M.url,ae(M)}),Oe=()=>{if(c.startsWith("http")||c.startsWith("blob:")){Ce();return}(0,u.Sv)(T||"educoder",c,T)},Ce=()=>{P&&(0,v.fc)({id:P==null?void 0:P.id,watch_type:1,course_id:P==null?void 0:P.course_id}),(0,u.Nd)(T||"educoder",decodeURIComponent(c))};return n.createElement("div",{style:E({},G||{}),className:`${p&&m.bgBlack} ${b?m.wrp:"hide"}`},H&&n.createElement("div",{className:m.close,ref:Re},!!O&&n.createElement(F.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Re.current},n.createElement("span",{onClick:()=>{$(),O()}},n.createElement("i",{className:"icon-yulanpizhu"}))),!Z&&n.createElement(F.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Re.current},n.createElement("span",{onClick:Ce},n.createElement("i",{className:"icon-quxiaozhiding"}))),n.createElement(F.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Re.current},n.createElement("span",{className:"",onClick:$},n.createElement("i",{className:"icon-guanbi1"})))),n.createElement("div",{className:`${m[ee]} ${ee} ${m.monaco} ${b==="txt"?"show":"hide"}`},b==="txt"&&n.createElement(n.Fragment,null,n.createElement(L.ZP,E({},q)))),b==="audio"&&n.createElement("audio",{src:`${(c==null?void 0:c.indexOf("http://"))>-1||(c==null?void 0:c.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${c}`,autoPlay:!0}),b==="video"&&n.createElement(n.Fragment,null,(c==null?void 0:c.indexOf("http"))>-1?n.createElement("video",{controls:!0,src:`${c}`,autoPlay:!0}):n.createElement("video",{controls:!0,src:`data:video/mp4;base64,${c}`,autoPlay:!0})),b==="office"&&ne&&n.createElement("iframe",{src:`${oe}/office.html?key=${ne.key}&url=${btoa(ne.url)}&callbackUrl=${fe+(ne.callbackUrl||"")}&fileType=${ne.fileType}&title=${ne.title||""}&model=${C}&officeServer=${h.Z.ONLYOFFICE}&disabledDownload=${!!Z}`}),b==="html"&&n.createElement("iframe",{src:c+"&disposition=inline"}),b==="pdf"&&n.createElement("iframe",{src:`${oe}/js/pdfview/index.html?filename=${T||"educoder.pdf"}&url=${encodeURIComponent(c)}&disabledDownload=${!!Z}`}),b==="image"&&n.createElement("img",{src:`${(c==null?void 0:c.indexOf("http://"))>-1||(c==null?void 0:c.indexOf("https://"))>-1?"":"data:image/png;base64,"}${c}`}),(b==="other"||b==="download")&&n.createElement(n.Fragment,null,B?n.createElement(e.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:n.createElement(D.ZP,{icon:n.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Oe,disabled:Z},"\u4E0B\u8F7D")}):n.createElement(D.ZP,{type:"primary",size:"middle",onClick:Oe,disabled:Z},n.createElement(V.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},23954:function(Ue,de,t){"use strict";t.d(de,{SV:function(){return te},ZP:function(){return R}});var x=t(59301),m=t(76374);const D={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"]},V={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"]},L={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(`
|
|
`)}]},F={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(`
|
|
`)}]},u={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),e=t.n(W),h=Object.defineProperty,v=Object.defineProperties,n=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,w=(y,f,d)=>f in y?h(y,f,{enumerable:!0,configurable:!0,writable:!0,value:d}):y[f]=d,k=(y,f)=>{for(var d in f||(f={}))o.call(f,d)&&w(y,d,f[d]);if(r)for(var d of r(f))l.call(f,d)&&w(y,d,f[d]);return y},E=(y,f)=>v(y,n(f)),g=(y,f,d)=>new Promise((X,K)=>{var z=re=>{try{ce(d.next(re))}catch(se){K(se)}},J=re=>{try{ce(d.throw(re))}catch(se){K(se)}},ce=re=>re.done?X(re.value):Promise.resolve(re.value).then(z,J);ce((d=d.apply(y,f)).next())});const I={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"]}},C=(y,f)=>f.map(d=>({label:d,kind:y.languages.CompletionItemKind.Keyword,insertText:d})),c=y=>Object.keys(I.tables).map(f=>({label:f,kind:y.languages.CompletionItemKind.Variable,insertText:f})),s=(y,f)=>{const d=I.tables[y];return d?d.map(X=>({label:X,kind:f.languages.CompletionItemKind.Field,insertText:X})):[]};function b(y,f,d,X,K){let z=f.getWordUntilPosition(d),J={startLineNumber:d.lineNumber,endLineNumber:d.lineNumber,startColumn:z.startColumn,endColumn:z.endColumn},ce=X.map(re=>({label:re,kind:y.languages.CompletionItemKind.Keyword,insertText:re,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:J}));return K.map(re=>{ce.push(E(k({},re),{range:J}))}),ce}var T=y=>{I.languages.map(K=>(y.languages.registerDocumentFormattingEditProvider(K,{provideDocumentFormattingEdits(z,J,ce){return g(this,null,function*(){const re=e()(z.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:z.getFullModelRange(),text:re}]})}}),K));const f=L.quickKey.map(K=>({label:K.label,kind:y.languages.CompletionItemKind.Method,insertText:K.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet})),d=F.quickKey.map(K=>({label:K.label,kind:y.languages.CompletionItemKind.Method,insertText:K.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet})),X=V.quickKey.map(K=>({label:K.label,kind:y.languages.CompletionItemKind.Method,insertText:K.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet}));y.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(K,z){var J=K.getWordUntilPosition(z),ce={startLineNumber:z.lineNumber,endLineNumber:z.lineNumber,startColumn:J.startColumn,endColumn:J.endColumn},re=K.getLineContent(z.lineNumber).substring(J.startColumn-2,J.endColumn);return{suggestions:[...L.keywords.map(se=>({label:se,kind:y.languages.CompletionItemKind.Function,documentation:se,insertText:se,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...L.quickKey.map(se=>({label:se.label,kind:y.languages.CompletionItemKind.Function,documentation:se.content,insertText:re.startsWith("#")?se.content.replace(/#/,""):se.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),y.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(K,z){var J=K.getWordUntilPosition(z),ce={startLineNumber:z.lineNumber,endLineNumber:z.lineNumber,startColumn:J.startColumn,endColumn:J.endColumn};return{suggestions:[...D.keywords.map(re=>({label:re,kind:y.languages.CompletionItemKind.Function,documentation:re,insertText:re,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),y.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(K,z){var J=K.getWordUntilPosition(z),ce={startLineNumber:z.lineNumber,endLineNumber:z.lineNumber,startColumn:J.startColumn,endColumn:J.endColumn},re=K.getLineContent(z.lineNumber).substring(J.startColumn-2,J.endColumn);return{suggestions:[...V.keywords.map(se=>({label:se,kind:y.languages.CompletionItemKind.Function,documentation:se,insertText:se,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...V.quickKey.map(se=>({label:se.label,kind:y.languages.CompletionItemKind.Function,documentation:se.content,insertText:re.startsWith("#")?se.content.replace(/#/,""):se.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),y.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(K,z){var J=K.getWordUntilPosition(z),ce={startLineNumber:z.lineNumber,endLineNumber:z.lineNumber,startColumn:J.startColumn,endColumn:J.endColumn},re=K.getLineContent(z.lineNumber).substring(J.startColumn-2,J.endColumn);return{suggestions:[...u.keywords.map(se=>({label:se,kind:y.languages.CompletionItemKind.Function,documentation:se,insertText:se,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...u.quickKey.map(se=>({label:se.label,kind:y.languages.CompletionItemKind.Function,documentation:se.content,insertText:re.startsWith("#")?se.content.replace(/#/,""):se.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),y.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(K,z){var J=K.getWordUntilPosition(z),ce={startLineNumber:z.lineNumber,endLineNumber:z.lineNumber,startColumn:J.startColumn,endColumn:J.endColumn},re=K.getLineContent(z.lineNumber).substring(J.startColumn-2,J.endColumn);return{suggestions:[...F.keywords.map(se=>({label:se,kind:y.languages.CompletionItemKind.Function,documentation:se,insertText:se,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...F.quickKey.map(se=>({label:se.label,kind:y.languages.CompletionItemKind.Function,documentation:se.content,insertText:re.startsWith("#")?se.content.replace(/#/,""):se.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}})};const q="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ee=Object.defineProperty,G=(y,f,d)=>f in y?ee(y,f,{enumerable:!0,configurable:!0,writable:!0,value:d}):y[f]=d,H=(y,f,d)=>G(y,typeof f!="symbol"?f+"":f,d);const $=class po{constructor(f,d,X){this.placeholder=f,this.editor=d,this.monaco=X,d.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return po.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)}};H($,"ID","editor.widget.placeholderHint");var Z=$,O=t(96236),B=t(8591),P=t(6848),i=t(89392),a=t(34604),_=t(56102),j=Object.defineProperty,ne=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,ke=(y,f,d)=>f in y?j(y,f,{enumerable:!0,configurable:!0,writable:!0,value:d}):y[f]=d,Re=(y,f)=>{for(var d in f||(f={}))fe.call(f,d)&&ke(y,d,f[d]);if(oe)for(var d of oe(f))Ee.call(f,d)&&ke(y,d,f[d]);return y},ze=(y,f)=>ne(y,ae(f)),Je=(y,f)=>{var d={};for(var X in y)fe.call(y,X)&&f.indexOf(X)<0&&(d[X]=y[X]);if(y!=null&&oe)for(var X of oe(y))f.indexOf(X)<0&&Ee.call(y,X)&&(d[X]=y[X]);return d},Oe=(y,f,d)=>new Promise((X,K)=>{var z=re=>{try{ce(d.next(re))}catch(se){K(se)}},J=re=>{try{ce(d.throw(re))}catch(se){K(se)}},ce=re=>re.done?X(re.value):Promise.resolve(re.value).then(z,J);ce((d=d.apply(y,f)).next())});function Ce(y){return/^\d+$/.test(y)?`${y}px`:y}function Y(){}let pe=!1;const M={"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 U(y=[]){let f=y;if(Array.isArray(y)){for(let d=0;d<y.length;d++){let X=M[y[d]];if(X)return X}return f[0]}return M[f]||f}let A=null;var R=y=>{var f=y,{width:d="100%",height:X="100%",value:K,language:z="javascript",style:J={},options:ce={},overrideServices:re={},theme:se="vs-dark",onEditBlur:me,isCopy:_e=!1,onSave:ve,autoHeight:Be=!1,forbidCopy:$e=!1,onChange:Ie=Y,editorDidMount:He=Y,onFocus:et=Y,onBreakPoint:st=Y,breakPointValue:nt=[],filename:Rt="educoder.txt",errorLine:Nt,errorContent:Tt="",highlightLine:Mt,openBreakPoint:on=!1,placeholder:Ct="",showMiniMap:tt=!0}=f,$t=Je(f,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const Vt=(0,x.useRef)(),je=(0,x.useRef)({}),qt=(0,x.useRef)(),gn=(0,x.useRef)(),sn=(0,x.useRef)([]),An=(0,x.useRef)(!1),Ln=(0,x.useRef)(),Kn=(0,x.useRef)(),rr=(0,x.useRef)(!1),[Gt,St]=(0,x.useState)(!1);function Xt(){let Ze;return Vt.current&&(Ze=new m.Z(Ke=>{for(let Ge of Ke)(Ge.target.offsetHeight>0||Ge.target.offsetWidth>0)&&je.current.instance.layout()}),Ze.observe(Vt.current)),Ze}function ln(){B.ZP.warning({content:decodeURIComponent(q),key:"monaco-editor-tip"})}const Bn=()=>{let Ze=je.current.instance;if(K!=null&&Ze&&Gt){const Ke=Ze.getModel();Ke&&K!==Ke.getValue()&&(pe=!0,Ke.setValue(K),Ze.layout(),pe=!1)}};(0,x.useEffect)(()=>{const Ze=a.Z.subscribe("formatDocument",Ke=>{var Ge;let at=je.current.instance;(Ge=at==null?void 0:at.getAction)==null||Ge.call(at,"editor.action.formatDocument").run()});return window.updateMonacoValue=Ke=>{Ie(Ke)},Ze},[]),(0,x.useEffect)(()=>{var Ze;let Ke=je.current.instance;gn.current&&clearTimeout(gn.current),gn.current=setTimeout(()=>{Bn()},500),K&&(K!=null&&K.length)&&((Ze=Ke==null?void 0:Ke.updateOptions)==null||Ze.call(Ke,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(K.split(/\r\n|\r|\n/g).length))+3,5)}))},[K,Gt,je.current]),(0,x.useEffect)(()=>{if(Nt&&je.current&&je.current.instance){let Ke=je.current.instance;Ke.changeViewZones(function(Ge){var at=document.createElement("div");at.style.padding="10px 20px",at.style.width="calc(100% - 20px)",at.className="my-error-line-wrp",at.innerHTML=Tt,Ge.addZone({afterLineNumber:Nt||11,heightInLines:3,domNode:at})});var Ze={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}};Ke.addOverlayWidget(Ze),Ke.revealPositionInCenter({lineNumber:20,column:1})}},[Nt,je.current,Gt]);const Pn=(Ze="",Ke)=>{if(!Ze||Ze.trim()==="")return!0;const at=je.current.instance.getModel().getLineTokens(Ke);let kt=!1;for(let hn=0;hn<2;hn++)at.getStandardTokenType(hn)===1&&(kt=!0);return kt};(0,x.useEffect)(()=>{var Ze;const Ke=(Ze=je.current)==null?void 0:Ze.instance;if(Ke&&Gt&&$e){const Ge=Ke.onDidBlurEditorWidget(()=>{rr.current=!1}),at=Ke.onDidFocusEditorText(()=>{rr.current=!0});return()=>{Ge.dispose(),at.dispose()}}},[je.current,Gt,$e]),(0,x.useEffect)(()=>{var Ze;if((Ze=je.current)!=null&&Ze.instance&&Gt&&on){let Ke=je.current.instance,Ge=Ke.getModel();if(!Ge)return;(()=>{var Me;let qe=[],ft=[];const pt=Ge.getAllDecorations();for(let Ot of pt)Ot.options.className==="highlighted-line"&&(qe.push((Me=Ot==null?void 0:Ot.range)==null?void 0:Me.startLineNumber),ft.push(Ot==null?void 0:Ot.id));if(Mt===qe[0])return;Ge.deltaDecorations(ft,[]);const Kt=Ge.getLineCount();Mt&&Mt<=Kt&&(Ke.deltaDecorations([],[{range:new A.Range(Mt,1,Mt,Ge.getLineMaxColumn(Mt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Ke.revealLineInCenter(Mt))})();const kt=(Me=!1)=>{var qe;let ft=[],pt=[];const Kt=Ge.getAllDecorations();for(let Ot of Kt)Ot.options.linesDecorationsClassName==="breakpoints-select"&&(ft.push((qe=Ot==null?void 0:Ot.range)==null?void 0:qe.startLineNumber),pt.push(Ot==null?void 0:Ot.id));if(Me)return{lines:ft,ids:pt};st(ft)},hn=Me=>Oe(void 0,null,function*(){let qe={range:new A.Range(Me,1,Me,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Ge.deltaDecorations([],[qe]),kt()}),Zt=Me=>Oe(void 0,null,function*(){let qe=[];const ft=Ke.getLineDecorations(Me);for(let pt of ft)pt.options.linesDecorationsClassName==="breakpoints-select"&&qe.push(pt.id);yield Ge.deltaDecorations(qe,[]),kt()}),lt=Me=>{let qe=Ke.getLineDecorations(Me);for(let ft of qe)if(ft.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,i.isEqual)(nt,kt(!0).lines)){Ge.deltaDecorations(kt(!0).ids,[]);const Me=nt.map(qe=>({range:new A.Range(qe,1,qe,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Ge.deltaDecorations([],Me)}const ge=Ke.onDidChangeModelContent(Me=>{let qe=Ke.getPosition();if(qe){let ft=qe.lineNumber;clearTimeout(Kn.current),Kn.current=setTimeout(()=>{Pn(Ge.getLineContent(ft),ft)?Zt(ft):lt(ft)?(Zt(ft),hn(ft)):kt()},100)}}),Se=Ke.onMouseDown(Me=>{var qe,ft,pt;if(Me.target.detail&&((pt=(ft=(qe=Me.target)==null?void 0:qe.element)==null?void 0:ft.className)!=null&&pt.includes("line-numbers"))){let Kt=Me.target.position.lineNumber;if(Pn(Ge.getLineContent(Kt),Kt))return;lt(Kt)?Zt(Kt):hn(Kt)}}),De=Me=>{let qe={range:new A.Range(Me,1,Me,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};sn.current=Ke.deltaDecorations(sn.current,[qe])},Ae=()=>{sn.current=Ke.deltaDecorations(sn.current,[])},Ne=Ke.onMouseMove(Me=>{var qe,ft,pt;if(Ae(),Me.target.detail&&((pt=(ft=(qe=Me.target)==null?void 0:qe.element)==null?void 0:ft.className)!=null&&pt.includes("line-numbers"))){let Kt=Me.target.position.lineNumber;if(Pn(Ge.getLineContent(Kt),Kt))return;De(Kt)}}),Xe=Ke.onMouseLeave(()=>{Ae()});return()=>{ge.dispose(),Se.dispose(),Ne.dispose(),Xe.dispose()}}},[je.current,Gt,nt,Mt,on,z]),(0,x.useEffect)(()=>{var Ze;(Ze=je.current)!=null&&Ze.instance&&on&&je.current.instance.setPosition({lineNumber:0,column:0})},[Mt]);function ye(){let Ze=je.current.instance;if(Ze){const Ke=Ze.getSelection(),Ge=je.current.pastePos||{},at=new A.Range(Ge.startLineNumber||Ke.endLineNumber,Ge.startColumn||Ke.endColumn,Ge.endLineNumber||Ke.endLineNumber,Ge.endColumn||Ke.endColumn);setTimeout(()=>{Ze.executeEdits("",[{range:at,text:""}])},300)}}function he(Ze){(window.navigator.platform.match("Mac")?Ze.metaKey:Ze.ctrlKey)&&Ze.keyCode==83&&(Ze.preventDefault(),ve())}const Ve=()=>{if(Be&&je.current.instance){const Ze=je.current.instance.getContentHeight();xt(Ze<X?X:Ze)}else xt(X)};function Fe(Ze){var Ke=document.createEvent("MouseEvents");Ke.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Ze.dispatchEvent(Ke)}const ht=Ze=>{if(!rr.current)return;const{keyCode:Ke,ctrlKey:Ge,metaKey:at,target:kt,type:hn}=Ze;return(hn==="paste"||(Ke===67||Ke===86)&&(at||Ge))&&kt.nodeName==="TEXTAREA"&&(ln(),Ze.preventDefault()),!1};function rt(Ze,Ke){var Ge=window.URL||window.webkitURL||window,at=new Blob([Ke]),kt=document.createElementNS("http://www.w3.org/1999/xhtml","a");kt.href=Ge.createObjectURL(at),kt.download=Ze,Fe(kt)}(0,x.useEffect)(()=>{Ve()},[Ve]),(0,x.useEffect)(()=>{Vt.current&&!Gt&&Promise.all([t.e(8909),t.e(3267)]).then(t.bind(t,71448)).then(Ze=>{try{A=Ze,je.current.instance=A.editor.create(Vt.current,{value:K,language:U(z),theme:se,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:tt||!1}},re);const Ke=je.current.instance;let kt=[...O.BH._menuItems].find(ge=>ge[0]._debugName=="EditorContext")[1],hn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Zt=(ge,Se)=>{var De,Ae;let Ne=ge._first;do Se.includes((Ae=(De=Ne.element)==null?void 0:De.command)==null?void 0:Ae.id)&&ge._remove(Ne);while(Ne=Ne.next)};if(He(Ke,A),setTimeout(()=>{Ve(),je.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{rt(Rt||"educoder.txt",Ke.getValue())}})},500),je.current.subscription=Ke.onDidChangeModelContent(ge=>{An.current?clearTimeout(Ln.current):(Ve(),Ie(Ke.getValue(),ge)),Ln.current=setTimeout(()=>{An.current=!1},500)}),window.Monaco||T(A,U(z)),$e&&(Zt(kt,hn),Vt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",ht),window.removeEventListener("paste",ht),window.addEventListener("keydown",ht),window.addEventListener("paste",ht)),window.Monaco=A,me&&Ke.onDidBlurEditorWidget(()=>{me(Ke.getValue())}),et&&Ke.onDidFocusEditorText(()=>{et(Ke.getValue())}),$e)try{Ke.onDidPaste(ge=>{const Se=Ke.getSelection(),De=je.current.pastePos||{},Ae=new A.Range(De.startLineNumber||Se.endLineNumber,De.startColumn||Se.endColumn,De.endLineNumber||Se.endLineNumber,De.endColumn||Se.endColumn);Ke.executeEdits("",[{range:ge.range,text:""}])})}catch(ge){}let lt=Xt();return Ct&&typeof Ct=="string"&&new Z(Ct,Ke,A),St(!0),()=>{const ge=je.current.instance;ge.dispose();const Se=ge.getModel();Se&&Se.dispose(),je.current.subscription&&je.current.subscription.dispose(),lt.unobserve(Vt.current)}}catch(Ke){}})},[]),(0,x.useEffect)(()=>{if(je.current.instance&&Gt)return document.addEventListener("keydown",he,!1),()=>{document.removeEventListener("keydown",he)}},[ve,Gt]),(0,x.useEffect)(()=>{let Ze=je.current.instance;if(Ze&&Gt){let Ke=U(z);A.editor.setModelLanguage(Ze.getModel(),Ke)}},[z,Gt]),(0,x.useEffect)(()=>{je.current.instance&&Gt&&A.editor.setTheme(se)},[se,Gt]),(0,x.useEffect)(()=>{let Ze=je.current.instance;qt.current=ce,Ze&&Gt&&(Ze.updateOptions(Re({},ce)),setTimeout(()=>{Ze.getModel().updateOptions(Re({},ce))},200))},[JSON.stringify(ce),Gt]),(0,x.useEffect)(()=>{let Ze=je.current.instance;Ze&&Gt&&Ze.layout()},[d,X,Gt]);const[gt,it]=(0,x.useState)(Ce(d)),[bt,xt]=(0,x.useState)(Ce(X)),wt=ze(Re({},J),{width:gt,height:bt,position:"relative"});return x.createElement("div",{className:"my-monaco-editor",ref:Vt,style:wt},_e&&x.createElement(_.CopyToClipboard,{text:K,onCopy:()=>B.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(P.Z,{title:"\u590D\u5236\u4EE3\u7801"},x.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},x.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function te({width:y="100%",height:f="100%",original:d,modified:X,language:K,options:z={}}){const J=(0,x.useRef)(),[ce,re]=(0,x.useState)(null);function se(Be){let $e;return J.current&&($e=new m.Z(Ie=>{for(let He of Ie)(He.target.offsetHeight>0||He.target.offsetWidth>0)&&Be.layout()}),$e.observe(J.current)),$e}(0,x.useEffect)(()=>(J.current&&Promise.all([t.e(8909),t.e(9404)]).then(t.bind(t,2550)).then(Be=>{A=Be;const $e=A.editor.createDiffEditor(J.current,ze(Re({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},z),{wordWrap:!0}));re($e);let Ie=se($e);return()=>{$e.dispose();const He=$e.getModel();He&&He.dispose(),Ie.unobserve(J.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,x.useEffect)(()=>{ce&&ce.setModel({original:A.editor.createModel(d,K),modified:A.editor.createModel(X,K)})},[d,X,K,ce]);const me=Ce(y),_e=Ce(f),ve={width:me,height:_e};return x.createElement("div",{className:"my-diff-editor",ref:J,style:ve})}},3681:function(Ue,de,t){"use strict";t.r(de),t.d(de,{default:function(){return ee}});var x=t(59301),m={flex_box_center:"flex_box_center___3dsSw",flex_space_between:"flex_space_between___UViQa",flex_box_vertical_center:"flex_box_vertical_center___VRHmE",flex_box_center_end:"flex_box_center_end___Sap6p",flex_box_column:"flex_box_column___cXZm0",wrap:"wrap___JbEle",title:"title___PD779",control:"control___xPMqa",label:"label___JqmpT",customTable:"customTable___YjprJ"},D=t(89070),V=t(8591),L=t(6848),F=t(43418),u=t(57809),W=t(3113),e=t(1710),h=t(87169),v=t(78297),n=t(99064),r=t(65576),o=t(99309),l=t(23210),w=Object.defineProperty,k=Object.defineProperties,E=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,c=(G,H,$)=>H in G?w(G,H,{enumerable:!0,configurable:!0,writable:!0,value:$}):G[H]=$,s=(G,H)=>{for(var $ in H||(H={}))I.call(H,$)&&c(G,$,H[$]);if(g)for(var $ of g(H))C.call(H,$)&&c(G,$,H[$]);return G},b=(G,H)=>k(G,E(H)),T=(G,H,$)=>new Promise((p,Z)=>{var O=i=>{try{P($.next(i))}catch(a){Z(a)}},B=i=>{try{P($.throw(i))}catch(a){Z(a)}},P=i=>i.done?p(i.value):Promise.resolve(i.value).then(O,B);P(($=$.apply(G,H)).next())});const q=({user:G})=>{var H;const $={page:1,per_page:20,total:0,ec_major_school_id:0,ec_year_id:0,category:1,sort_by:null,sort_direction:null,school_id:null};let[p,Z]=(0,x.useState)($);const[O,B]=(0,x.useState)(!0),[P,i]=(0,x.useState)([]),[a,_]=(0,x.useState)([]),[j,ne]=(0,x.useState)([]),[ae,oe]=(0,x.useState)({filename:"",editOffice:"view",type:"",className:"",data:"",close:!0,hasMask:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}}),fe=Oe=>T(void 0,null,function*(){var Ce;B(!0),Oe.school_id=(Ce=G==null?void 0:G.userInfo)==null?void 0:Ce.school_id;let Y=yield(0,n.ZP)(`/api/ec_major_schools/${(Oe==null?void 0:Oe.ec_major_school_id)||0}/ec_years.json`,{method:"get",params:b(s({},Oe),{year:(Oe==null?void 0:Oe.ec_year_id)===0?null:Oe==null?void 0:Oe.ec_year_id,ec_year_id:((Oe==null?void 0:Oe.ec_year_id)===0,null)})});Y&&(i(Y==null?void 0:Y.ec_years),B(!1),p.total=Y==null?void 0:Y.count,Z(s({},p)))});(0,x.useEffect)(()=>{var Oe;(Oe=G.userInfo)!=null&&Oe.school_id&&(Ee(),ke(),fe(p))},[(H=G==null?void 0:G.userInfo)==null?void 0:H.school_id]);function Ee(){return T(this,null,function*(){var Oe;let Ce=yield(0,n.ZP)(`/api/schools/${(Oe=G==null?void 0:G.userInfo)==null?void 0:Oe.school_id}/ec_majors/get_major_list.json`,{method:"get"});_(Ce==null?void 0:Ce.data)})}function ke(){return T(this,null,function*(){let Oe=yield(0,n.ZP)("/api/ec_major_schools/1/ec_years/select_year.json",{method:"get"});ne(Oe==null?void 0:Oe.year_arr)})}const Re=(Oe,Ce)=>{p.page=1,p[Ce]=typeof Oe=="number"?Oe:null,Z(s({},p)),fe(p)},ze=(Oe,Ce,Y)=>{p.page=Oe==null?void 0:Oe.current,p.per_page=Oe==null?void 0:Oe.pageSize,Y!=null&&Y.order?(p.sort_by=Y==null?void 0:Y.field,p.sort_direction=(Y==null?void 0:Y.order)==="ascend"?"asc":"desc"):(p.sort_by=null,p.sort_direction=null),Z(s({},p)),fe(p)},Je=[{title:"\u5E8F\u53F7",dataIndex:"index",width:54,render:(Oe,Ce,Y)=>p.per_page*(p.page-1)+Y+1},{title:"\u57F9\u517B\u65B9\u6848",dataIndex:"name",width:"17%",ellipsis:!0,key:"name",render:(Oe,Ce,Y)=>x.createElement(D.Link,{to:`/engineering/training/program/edit?ec_year_id=${Ce==null?void 0:Ce.id}`},Oe)},{title:"\u57F9\u517B\u65B9\u6848\u6587\u4EF6",dataIndex:"file_name",width:"10%",ellipsis:!0,key:"name",render:(Oe,Ce,Y)=>x.createElement("a",{onClick:()=>{if(["xlsx","docx","pptx"].includes(Ce==null?void 0:Ce.type))ae.editOffice="edit",oe(b(s({},ae),{type:Ce.file_type,data:`/api/attachments/${Ce.attachment_id}`}));else{V.ZP.info("\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u7F16\u8F91");return}}},Oe||"- -")},{title:"\u5C4A\u522B",width:"5%",dataIndex:"year",render:(Oe,Ce,Y)=>Oe+"\u5C4A"},{title:"\u57F9\u517B\u76EE\u6807\uFF08\u9879\uFF09",width:"8%",dataIndex:"training_subitem_count",render:(Oe,Ce,Y)=>Oe||x.createElement("a",{href:`/engineering/training/objectives?ids=${Ce==null?void 0:Ce.ec_major_school_id},${Ce==null?void 0:Ce.id}`},"\u8BBE\u7F6E")},{title:"\u6BD5\u4E1A\u8981\u6C42\uFF08\u9879\uFF09",width:"8%",dataIndex:"graduation_requirement_count",render:(Oe,Ce,Y)=>Oe||x.createElement("a",{href:`/engineering/graduated/index?ec_major_school_id=${Ce==null?void 0:Ce.ec_major_school_id}&ec_year_id=${Ce==null?void 0:Ce.id}`},"\u8BBE\u7F6E")},{title:"\u6388\u8BFE\u6559\u5E08/\u5B66\u751F\uFF08\u4EBA\uFF09",width:"10%",dataIndex:"teacher_count",render:(Oe,Ce,Y)=>Oe+"/"+(Ce==null?void 0:Ce.student_count)},{title:"\u8BFE\u7A0B\uFF08\u95E8\uFF09",width:"7%",dataIndex:"course_count",render:(Oe,Ce,Y)=>Oe||x.createElement("a",{href:`/engineering/course/list?ec_major_school_id=${Ce==null?void 0:Ce.ec_major_school_id}&ec_year_id=${Ce==null?void 0:Ce.id}`},"\u8BBE\u7F6E")},{title:"\u8BFE\u7A0B\u8FBE\u6210\u5EA6",width:"9%",dataIndex:"achieved_graduation_course_count",render:(Oe,Ce,Y)=>x.createElement(L.Z,{title:`\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\uFF1A${Oe} / \u8BFE\u7A0B\u603B\u6570\uFF1A${Ce==null?void 0:Ce.course_count}`},x.createElement("span",{style:{color:Ce!=null&&Ce.course_count?parseInt(Oe)===parseInt(Ce==null?void 0:Ce.course_count)?"#07C160":"#E30000":""}},Ce!=null&&Ce.course_count?Oe+"/"+(Ce==null?void 0:Ce.course_count):"- -"))},{title:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u5EA6",width:"8%",dataIndex:"achieved_graduation_objective_count",render:(Oe,Ce,Y)=>x.createElement(L.Z,{title:`\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42\u6570\uFF1A${Oe} / \u6BD5\u4E1A\u8981\u6C42\u603B\u6570\uFF1A${Ce==null?void 0:Ce.graduation_requirement_count}`},x.createElement("span",{style:{color:Ce!=null&&Ce.graduation_requirement_count?parseInt(Oe)===parseInt(Ce==null?void 0:Ce.graduation_requirement_count)?"#07C160":"#E30000":""}},Ce!=null&&Ce.graduation_requirement_count?Oe+"/"+(Ce==null?void 0:Ce.graduation_requirement_count):"- -"))},{title:"\u8BC4\u4EF7\u7ED3\u679C",width:"7%",dataIndex:"status",render:(Oe,Ce,Y)=>x.createElement("span",{style:{color:Oe==="achieved"?"#E30000":"#07C160"}},Oe==="achieved"?"\u672A\u8FBE\u6210":"\u8FBE\u6210")},{title:"\u64CD\u4F5C",dataIndex:"id",width:64,render:(Oe,Ce,Y)=>x.createElement("div",{style:{display:"flex"}},x.createElement("i",{onClick:()=>T(void 0,null,function*(){D.history.push(`/engineering/training/program/edit?ec_year_id=${Ce==null?void 0:Ce.id}`)}),style:{color:"#0152d9",cursor:"pointer",marginRight:"5px"},className:"iconfont icon-bianji6"}),x.createElement("i",{onClick:()=>{F.default.confirm({title:"\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F",icon:x.createElement(h.Z,null),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>T(void 0,null,function*(){var pe;(yield(0,n.ZP)(`/api/ec_major_schools/1/ec_years/${Oe}`,{method:"delete"}))&&(o.U.clear((pe=G==null?void 0:G.userInfo)==null?void 0:pe.login),V.ZP.info("\u5220\u9664\u6210\u529F"),fe(p))}),onCancel(){}})},style:{marginRight:"5px",color:"#0152d9",cursor:"pointer"},className:"iconfont icon-shanchu9"}),x.createElement("i",{onClick:()=>T(void 0,null,function*(){var pe;(0,v.xm)({ec_year_id:Oe,school_id:(pe=G==null?void 0:G.userInfo)==null?void 0:pe.school_id})}),style:{color:"#0152d9",cursor:"pointer"},className:"iconfont icon-daochubeifen"}))}];return x.createElement("div",{className:m.wrap},x.createElement(r.p,{title:"\u57F9\u517B\u65B9\u6848",style:{padding:"12px 0 0 20px"}}),x.createElement("div",{style:{clear:"both"}}),x.createElement("div",{className:m.control},x.createElement("div",{className:m.label},"\u8BA4\u8BC1\u4E13\u4E1A"),x.createElement(u.default,{style:{width:240},allowClear:!0,placeholder:"\u4E13\u4E1A",value:p==null?void 0:p.ec_major_school_id,onChange:Oe=>Re(Oe,"ec_major_school_id")},x.createElement(u.default.Option,{value:0},"\u5168\u90E8"),a==null?void 0:a.map((Oe,Ce)=>x.createElement(u.default.Option,{value:Oe==null?void 0:Oe.ec_major_school_id},Oe==null?void 0:Oe.name))),x.createElement("div",{className:m.label},"\u8BA4\u8BC1\u5C4A\u522B"),x.createElement(u.default,{style:{width:140},allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:p==null?void 0:p.ec_year_id,onChange:Oe=>Re(Oe,"ec_year_id")},x.createElement(u.default.Option,{value:0},"\u5168\u90E8"),j==null?void 0:j.map((Oe,Ce)=>x.createElement(u.default.Option,{value:Oe},Oe,"\u5C4A"))),x.createElement("div",{style:{flex:1,textAlign:"end"}},x.createElement(W.ZP,{onClick:()=>{D.history.push("/engineering/training/program/add")},style:{height:"30px",width:"135px"},type:"primary"},x.createElement("i",{style:{marginRight:"7px"},className:"iconfont icon-xinzeng"}),"\u65B0\u589E\u57F9\u517B\u65B9\u6848"))),x.createElement(e.default,{className:m.customTable,dataSource:P,bordered:!1,rowKey:Oe=>Oe.id,columns:Je,rowClassName:m.row,loading:O,onChange:ze,pagination:{pageSize:p.per_page,total:p.total,current:p.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,size:"default",position:["bottomCenter"],showTotal:Oe=>x.createElement("span",{className:"mr10"},"\u5171",x.createElement("span",{className:"c-orange"},Oe),"\u6761\u6570\u636E")}}),x.createElement(l.Z,b(s({},ae),{onClose:()=>{oe(b(s({},ae),{type:""}))}})))};var ee=(0,D.connect)(({user:G})=>({user:G}))(q)},65576:function(Ue,de,t){"use strict";t.d(de,{p:function(){return V},v:function(){return u}});var x=t(59301),m={panelTitleContainer:"panelTitleContainer___Ypuh_"},V=({title:W,style:e={}})=>x.createElement("div",{className:m.panelTitleContainer,style:e},x.createElement("div",null,W)),L={selectWrapContainer:"selectWrapContainer___qocIH"},u=({title:W,children:e})=>x.createElement("div",{className:L.selectWrapContainer},x.createElement("span",null,W),e)},78297:function(Ue,de,t){"use strict";t.d(de,{AD:function(){return Z},D9:function(){return _},Hp:function(){return s},IM:function(){return ne},Iy:function(){return T},KM:function(){return Ce},MJ:function(){return b},Ne:function(){return j},ON:function(){return ke},Uj:function(){return Je},VY:function(){return fe},YO:function(){return ze},YX:function(){return Re},Zn:function(){return l},_g:function(){return I},_k:function(){return i},c6:function(){return $},cr:function(){return w},eV:function(){return p},fi:function(){return k},gh:function(){return G},hS:function(){return ae},iA:function(){return E},j6:function(){return C},je:function(){return P},jj:function(){return c},kS:function(){return Ee},o6:function(){return H},pO:function(){return Oe},rQ:function(){return O},sA:function(){return ee},xm:function(){return a},xo:function(){return oe},y8:function(){return B},yd:function(){return g}});var x=t(92365),m=t(89070),D=t(955),V=t(8591),L=t(3294),F=Object.defineProperty,u=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,h=(Y,pe,M)=>pe in Y?F(Y,pe,{enumerable:!0,configurable:!0,writable:!0,value:M}):Y[pe]=M,v=(Y,pe)=>{for(var M in pe||(pe={}))W.call(pe,M)&&h(Y,M,pe[M]);if(u)for(var M of u(pe))e.call(pe,M)&&h(Y,M,pe[M]);return Y},n=(Y,pe,M)=>new Promise((U,A)=>{var R=f=>{try{y(M.next(f))}catch(d){A(d)}},te=f=>{try{y(M.throw(f))}catch(d){A(d)}},y=f=>f.done?U(f.value):Promise.resolve(f.value).then(R,te);y((M=M.apply(Y,pe)).next())});const r=()=>{(0,m.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},o=()=>{(0,m.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},l=Y=>n(void 0,null,function*(){r(),(yield(0,x.YR)(v({},Y))).status===0&&(yield(0,D.QH)("",(0,D.NY)({url:L.Z.API_SERVER+`/api/courses/${Y.coursesId}/export_couser_info.json`,query:Y}))),o()}),w=Y=>n(void 0,null,function*(){const pe=yield(0,x.yS)(v({},Y));if(pe.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${Y.coursesId}/exportlist/course_member_act_score`);else{if(pe.status===-2)return pe;pe.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${Y.coursesId}/exportlist/course_member_act_score`))}}),k=Y=>n(void 0,null,function*(){const pe=yield(0,x.W0)(v({},Y));if(pe.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${Y.coursesId}/exportlist/course_total_score`);else{if(pe.status===-4)return pe;pe.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${Y.coursesId}/exportlist/course_total_score`))}}),E=Y=>n(void 0,null,function*(){const pe=yield(0,x.Nl)(v({},Y));if(pe.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${Y.coursesId}/exportlist/course_total_exercise_and_other`);else{if(pe.status===-4)return pe;pe.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${Y.coursesId}/exportlist/course_total_exercise_and_other`))}}),g=Y=>n(void 0,null,function*(){const pe=yield(0,x.IU)(v({},Y));if(pe.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${Y.coursesId}/exportlist/export_star_user`);else{if(pe.status===-4)return pe;pe.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${Y.coursesId}/exportlist/export_star_user`))}}),I=Y=>n(void 0,null,function*(){const pe=yield(0,x.td)(v({},Y));if(pe.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${Y.coursesId}/exportlist/course_total_exercise_and_other`);else{if(pe.status===-2)return pe;if(pe.status===-3)(0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${Y.coursesId}/exportlist/course_total_exercise_and_other`);else if(pe.status===-4)return pe}}),C=Y=>n(void 0,null,function*(){const pe=yield(0,x.QX)(v({},Y));if(pe.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${Y.coursesId}/exportlist/course_total_homework`);else{if(pe.status===-4)return pe;pe.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${Y.coursesId}/exportlist/course_total_homework`))}}),c=(Y,pe)=>n(void 0,null,function*(){const M=yield(0,x.o_)(v({},Y));M.status===0?(V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),m.history.push(`/classrooms/${Y.coursesId}/exportlist/${pe}`)):M.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${Y.coursesId}/exportlist/${pe}`))}),s=(Y,pe)=>n(void 0,null,function*(){const M=yield(0,x.ZL)(v({},Y));M.status===0?(V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),m.history.push(`/classrooms/${Y.coursesId}/exportlist/${pe}`)):M.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${Y.coursesId}/exportlist/${pe}`))}),b=(Y,pe)=>n(void 0,null,function*(){const M=yield(0,x.vV)(v({},Y));M.status===0?(V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),m.history.push(`/classrooms/${Y.coursesId}/exportlist/${pe}`)):M.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${Y.coursesId}/exportlist/${pe}`))}),T=(Y,pe)=>n(void 0,null,function*(){const M=yield(0,x.aP)(v({},Y));M.status===0?(V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${Y.coursesId}/exportlist/${pe}`)):M.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${Y.coursesId}/exportlist/${pe}`))}),q=Y=>n(void 0,null,function*(){r(),(yield exportCourseWorkListAppendix(v({},Y))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Y.categoryId}/works_list.zip`,query:Y}))),o()}),ee=Y=>n(void 0,null,function*(){r(),yield(0,D.QH)("",L.Z.API_SERVER+`/api/polls/${Y.categoryId}/commit_result.xlsx`),o()}),G=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+`/api/courses/${Y.coursesId}/attendances/export_xlsx_data.xlsx`,query:Y}))}),H=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+`/api/courses/${Y.coursesId}/video_study_statics.xlsx`,query:Y}))}),$=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+`/api/courses/${Y.coursesId}/export_video_study.xlsx`,query:Y}))}),p=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+`/api/courses/${Y.coursesId}/export_course_students_info.xlsx`,query:Y}))}),Z=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Y}))}),O=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Y}))}),B=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Y}))}),P=Y=>n(void 0,null,function*(){const pe=yield(0,x.Uy)(v({},Y));pe.status===0?(V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${Y.coursesId}/exportlist/exercise_score,export_exercise_users`)):pe.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${Y.coursesId}/exportlist/exercise_score,export_exercise_users`))}),i=Y=>n(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+`/api/export_records/${Y.id}.xlsx`,query:Y}))}),a=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Y}))}),_=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+`/api/courses/${Y==null?void 0:Y.coursesId}/${Y.menuKey}_statistic.xlsx?${Y.checkedList.map(pe=>`course_group_id[]=${pe}`).join("&")}`,query:Y}))}),j=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+`/api/ec_years/${Y==null?void 0:Y.ec_year_id}/ec_training_objectives.xlsx`,query:Y}))}),ne=Y=>n(void 0,null,function*(){yield(0,D.FH)(Y==null?void 0:Y.name,(0,D.NY)({url:L.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Y}))}),ae=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+`/api/ec_years/${Y==null?void 0:Y.ec_year_id}/ec_courses.xlsx`,query:Y}))}),oe=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+`/api/ec_years/${Y==null?void 0:Y.ec_year_id}/ec_graduation_requirements.xlsx`,query:Y}))}),fe=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Y}))}),Ee=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Y}))}),ke=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+`/api/examination_banks/${Y.id}.json`,query:Y}))}),Re=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+`/api/exercises/${Y.categoryId}.json`,query:Y}))}),ze=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+`/api/polls/${Y==null?void 0:Y.id}/commit_result.json`,query:Y}))}),Je=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Y}))}),Oe=(Y,pe)=>n(void 0,null,function*(){yield(0,D.FH)(pe||"",(0,D.NY)({url:L.Z.API_SERVER+`/api/exercises/${Y==null?void 0:Y.exercise_id}/consult_exercise.json`,query:Y}))}),Ce=Y=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:L.Z.API_SERVER+`/api/competitions/${Y==null?void 0:Y.identifier}/competition_commit_records/member_works.xlsx`,query:Y}))})},36785:function(Ue,de,t){"use strict";t.d(de,{o2:function(){return L},yT:function(){return F}});var x=t(80702),m=t(33166);const D=m.i.map(u=>`${u}-inverse`),V=["success","processing","error","default","warning"];function L(u){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,x.Z)(D),(0,x.Z)(m.i)).includes(u):m.i.includes(u)}function F(u){return V.includes(u)}},50371:function(Ue,de){"use strict";function t(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let m=1;m<arguments.length;m++){const D=m<0||arguments.length<=m?void 0:arguments[m];D&&Object.keys(D).forEach(V=>{const L=D[V];L!==void 0&&(x[V]=L)})}return x}de.Z=t},13845:function(Ue,de,t){"use strict";t.d(de,{F:function(){return x},Z:function(){return m}});function x(D){return D!=null&&D===D.window}function m(D,V){var L,F;if(typeof window=="undefined")return 0;const u=V?"scrollTop":"scrollLeft";let W=0;return x(D)?W=D[V?"pageYOffset":"pageXOffset"]:D instanceof Document?W=D.documentElement[u]:(D instanceof HTMLElement||D)&&(W=D[u]),D&&!x(D)&&typeof W!="number"&&(W=(F=((L=D.ownerDocument)!==null&&L!==void 0?L:D).documentElement)===null||F===void 0?void 0:F[u]),W}},56762:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return m}});var x=t(59301);function m(){const[,D]=x.useReducer(V=>V+1,0);return D}},79676:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return F}});var x=t(19447);function m(u,W,e,h){if(h===!1)return{adjustX:!1,adjustY:!1};const v=h&&typeof h=="object"?h:{},n={};switch(u){case"top":case"bottom":n.shiftX=W.dropdownArrowOffset*2+e;break;case"left":case"right":n.shiftY=W.dropdownArrowOffsetVertical*2+e;break}const r=Object.assign(Object.assign({},n),v);return r.shiftX||(r.adjustX=!0),r.shiftY||(r.adjustY=!0),r}const D={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},V={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},L=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function F(u){const{arrowWidth:W,autoAdjustOverflow:e,arrowPointAtCenter:h,offset:v,borderRadius:n,visibleFirst:r}=u,o=W/2,l={};return Object.keys(D).forEach(w=>{const k=h&&V[w]||D[w],E=Object.assign(Object.assign({},k),{offset:[0,0]});switch(l[w]=E,L.has(w)&&(E.autoArrow=!1),w){case"top":case"topLeft":case"topRight":E.offset[1]=-o-v;break;case"bottom":case"bottomLeft":case"bottomRight":E.offset[1]=o+v;break;case"left":case"leftTop":case"leftBottom":E.offset[0]=-o-v;break;case"right":case"rightTop":case"rightBottom":E.offset[0]=o+v;break}const g=(0,x.fS)({contentRadius:n,limitVerticalRadius:!0});if(h)switch(w){case"topLeft":case"bottomLeft":E.offset[0]=-g.dropdownArrowOffset-o;break;case"topRight":case"bottomRight":E.offset[0]=g.dropdownArrowOffset+o;break;case"leftTop":case"rightTop":E.offset[1]=-g.dropdownArrowOffset-o;break;case"leftBottom":case"rightBottom":E.offset[1]=g.dropdownArrowOffset+o;break}E.overflow=m(w,g,W,e),r&&(E.htmlRegion="visibleFirst")}),l}},68031:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return V}});var x=t(16089);function m(L,F,u,W){const e=u-F;return L/=W/2,L<1?e/2*L*L*L+F:e/2*((L-=2)*L*L+2)+F}var D=t(13845);function V(L){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:u=()=>window,callback:W,duration:e=450}=F,h=u(),v=(0,D.Z)(h,!0),n=Date.now(),r=()=>{const l=Date.now()-n,w=m(l>e?e:l,v,L,e);(0,D.F)(h)?h.scrollTo(window.pageXOffset,w):h instanceof Document||h.constructor.name==="HTMLDocument"?h.documentElement.scrollTop=w:h.scrollTop=w,l<e?(0,x.Z)(r):typeof W=="function"&&W()};(0,x.Z)(r)}},19080:function(Ue,de,t){"use strict";t.d(de,{F:function(){return L},Z:function(){return V}});var x=t(92310),m=t.n(x);const D=null;function V(F,u,W){return m()({[`${F}-status-success`]:u==="success",[`${F}-status-warning`]:u==="warning",[`${F}-status-error`]:u==="error",[`${F}-status-validating`]:u==="validating",[`${F}-has-feedback`]:W})}const L=(F,u)=>u||F},24905:function(Ue,de,t){"use strict";t.d(de,{default:function(){return b}});var x=t(92310),m=t.n(x),D=t(5630),V=t(59301),L=t(36355),F=t(1684),u=t(32441),e=V.createContext(null),h=t(98447),v=t(14088),n=t(4572),r=function(T,q){var ee={};for(var G in T)Object.prototype.hasOwnProperty.call(T,G)&&q.indexOf(G)<0&&(ee[G]=T[G]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,G=Object.getOwnPropertySymbols(T);H<G.length;H++)q.indexOf(G[H])<0&&Object.prototype.propertyIsEnumerable.call(T,G[H])&&(ee[G[H]]=T[G[H]]);return ee};const o=(T,q)=>{var ee;const{prefixCls:G,className:H,rootClassName:$,children:p,indeterminate:Z=!1,style:O,onMouseEnter:B,onMouseLeave:P,skipGroup:i=!1,disabled:a}=T,_=r(T,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:j,direction:ne,checkbox:ae}=V.useContext(L.E_),oe=V.useContext(e),{isFormItemInput:fe}=V.useContext(u.aM),Ee=V.useContext(F.Z),ke=(ee=(oe==null?void 0:oe.disabled)||a)!==null&&ee!==void 0?ee:Ee,Re=V.useRef(_.value);V.useEffect(()=>{oe==null||oe.registerValue(_.value)},[]),V.useEffect(()=>{if(!i)return _.value!==Re.current&&(oe==null||oe.cancelValue(Re.current),oe==null||oe.registerValue(_.value),Re.current=_.value),()=>oe==null?void 0:oe.cancelValue(_.value)},[_.value]);const ze=j("checkbox",G),[Je,Oe]=(0,h.ZP)(ze),Ce=Object.assign({},_);oe&&!i&&(Ce.onChange=function(){_.onChange&&_.onChange.apply(_,arguments),oe.toggleOption&&oe.toggleOption({label:p,value:_.value})},Ce.name=oe.name,Ce.checked=oe.value.includes(_.value));const Y=m()(`${ze}-wrapper`,{[`${ze}-rtl`]:ne==="rtl",[`${ze}-wrapper-checked`]:Ce.checked,[`${ze}-wrapper-disabled`]:ke,[`${ze}-wrapper-in-form-item`]:fe},ae==null?void 0:ae.className,H,$,Oe),pe=m()({[`${ze}-indeterminate`]:Z},n.A,Oe),M=Z?"mixed":void 0;return Je(V.createElement(v.Z,{component:"Checkbox",disabled:ke},V.createElement("label",{className:Y,style:Object.assign(Object.assign({},ae==null?void 0:ae.style),O),onMouseEnter:B,onMouseLeave:P},V.createElement(D.Z,Object.assign({"aria-checked":M},Ce,{prefixCls:ze,className:pe,disabled:ke,ref:q})),p!==void 0&&V.createElement("span",null,p))))};var w=V.forwardRef(o),k=t(80702),E=t(2738),g=function(T,q){var ee={};for(var G in T)Object.prototype.hasOwnProperty.call(T,G)&&q.indexOf(G)<0&&(ee[G]=T[G]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,G=Object.getOwnPropertySymbols(T);H<G.length;H++)q.indexOf(G[H])<0&&Object.prototype.propertyIsEnumerable.call(T,G[H])&&(ee[G[H]]=T[G[H]]);return ee};const I=(T,q)=>{const{defaultValue:ee,children:G,options:H=[],prefixCls:$,className:p,rootClassName:Z,style:O,onChange:B}=T,P=g(T,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:i,direction:a}=V.useContext(L.E_),[_,j]=V.useState(P.value||ee||[]),[ne,ae]=V.useState([]);V.useEffect(()=>{"value"in P&&j(P.value||[])},[P.value]);const oe=V.useMemo(()=>H.map(U=>typeof U=="string"||typeof U=="number"?{label:U,value:U}:U),[H]),fe=U=>{ae(A=>A.filter(R=>R!==U))},Ee=U=>{ae(A=>[].concat((0,k.Z)(A),[U]))},ke=U=>{const A=_.indexOf(U.value),R=(0,k.Z)(_);A===-1?R.push(U.value):R.splice(A,1),"value"in P||j(R),B==null||B(R.filter(te=>ne.includes(te)).sort((te,y)=>{const f=oe.findIndex(X=>X.value===te),d=oe.findIndex(X=>X.value===y);return f-d}))},Re=i("checkbox",$),ze=`${Re}-group`,[Je,Oe]=(0,h.ZP)(Re),Ce=(0,E.Z)(P,["value","disabled"]),Y=H.length?oe.map(U=>V.createElement(w,{prefixCls:Re,key:U.value.toString(),disabled:"disabled"in U?U.disabled:P.disabled,value:U.value,checked:_.includes(U.value),onChange:U.onChange,className:`${ze}-item`,style:U.style,title:U.title},U.label)):G,pe={toggleOption:ke,value:_,disabled:P.disabled,name:P.name,registerValue:Ee,cancelValue:fe},M=m()(ze,{[`${ze}-rtl`]:a==="rtl"},p,Z,Oe);return Je(V.createElement("div",Object.assign({className:M,style:O},Ce,{ref:q}),V.createElement(e.Provider,{value:pe},Y)))},C=V.forwardRef(I);var c=V.memo(C);const s=w;s.Group=c,s.__ANT_CHECKBOX=!0;var b=s},98447:function(Ue,de,t){"use strict";t.d(de,{C2:function(){return L}});var x=t(17313),m=t(37613),D=t(83116);const V=F=>{const{checkboxCls:u}=F,W=`${u}-wrapper`;return[{[`${u}-group`]:Object.assign(Object.assign({},(0,x.Wf)(F)),{display:"inline-flex",flexWrap:"wrap",columnGap:F.marginXS,[`> ${F.antCls}-row`]:{flex:1}}),[W]:Object.assign(Object.assign({},(0,x.Wf)(F)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${W}`]:{marginInlineStart:0},[`&${W}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[u]:Object.assign(Object.assign({},(0,x.Wf)(F)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:F.borderRadiusSM,alignSelf:"center",[`${u}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${u}-inner`]:Object.assign({},(0,x.oN)(F))},[`${u}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:F.checkboxSize,height:F.checkboxSize,direction:"ltr",backgroundColor:F.colorBgContainer,border:`${F.lineWidth}px ${F.lineType} ${F.colorBorder}`,borderRadius:F.borderRadiusSM,borderCollapse:"separate",transition:`all ${F.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:F.checkboxSize/14*5,height:F.checkboxSize/14*8,border:`${F.lineWidthBold}px solid ${F.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${F.motionDurationFast} ${F.motionEaseInBack}, opacity ${F.motionDurationFast}`}},"& + span":{paddingInlineStart:F.paddingXS,paddingInlineEnd:F.paddingXS}})},{[`
|
|
${W}:not(${W}-disabled),
|
|
${u}:not(${u}-disabled)
|
|
`]:{[`&:hover ${u}-inner`]:{borderColor:F.colorPrimary}},[`${W}:not(${W}-disabled)`]:{[`&:hover ${u}-checked:not(${u}-disabled) ${u}-inner`]:{backgroundColor:F.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${u}-checked:not(${u}-disabled):after`]:{borderColor:F.colorPrimaryHover}}},{[`${u}-checked`]:{[`${u}-inner`]:{backgroundColor:F.colorPrimary,borderColor:F.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${F.motionDurationMid} ${F.motionEaseOutBack} ${F.motionDurationFast}`}}},[`
|
|
${W}-checked:not(${W}-disabled),
|
|
${u}-checked:not(${u}-disabled)
|
|
`]:{[`&:hover ${u}-inner`]:{backgroundColor:F.colorPrimaryHover,borderColor:"transparent"}}},{[u]:{"&-indeterminate":{[`${u}-inner`]:{backgroundColor:F.colorBgContainer,borderColor:F.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:F.fontSizeLG/2,height:F.fontSizeLG/2,backgroundColor:F.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${W}-disabled`]:{cursor:"not-allowed"},[`${u}-disabled`]:{[`&, ${u}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${u}-inner`]:{background:F.colorBgContainerDisabled,borderColor:F.colorBorder,"&:after":{borderColor:F.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:F.colorTextDisabled},[`&${u}-indeterminate ${u}-inner::after`]:{background:F.colorTextDisabled}}}]};function L(F,u){const W=(0,m.TS)(u,{checkboxCls:`.${F}`,checkboxSize:u.controlInteractiveSize});return[V(W)]}de.ZP=(0,D.Z)("Checkbox",(F,u)=>{let{prefixCls:W}=u;return[L(W,F)]})},93891:function(Ue,de,t){"use strict";var x=t(59301),m=t(36355),D=t(64165);const V=L=>{const{componentName:F}=L,{getPrefixCls:u}=(0,x.useContext)(m.E_),W=u("empty");switch(F){case"Table":case"List":return x.createElement(D.Z,{image:D.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return x.createElement(D.Z,{image:D.Z.PRESENTED_IMAGE_SIMPLE,className:`${W}-small`});default:return x.createElement(D.Z,null)}};de.Z=V},91857:function(Ue,de,t){"use strict";var x=t(59301),m=t(38819),D=t(92310),V=t.n(D),L=t(31561),F=t(70425),u=t(18929),W=t(2738),e=t(79676),h=t(53487),v=t(92343),n=t(36355),r=t(20834),o=t(40875),l=t(88088),w=t(47211);const k=null,E=c=>{const{menu:s,arrow:b,prefixCls:T,children:q,trigger:ee,disabled:G,dropdownRender:H,getPopupContainer:$,overlayClassName:p,rootClassName:Z,open:O,onOpenChange:B,visible:P,onVisibleChange:i,mouseEnterDelay:a=.15,mouseLeaveDelay:_=.1,autoAdjustOverflow:j=!0,placement:ne="",overlay:ae,transitionName:oe}=c,{getPopupContainer:fe,getPrefixCls:Ee,direction:ke}=x.useContext(n.E_),Re=x.useMemo(()=>{const z=Ee();return oe!==void 0?oe:ne.includes("top")?`${z}-slide-down`:`${z}-slide-up`},[Ee,ne,oe]),ze=x.useMemo(()=>ne?ne.includes("Center")?ne.slice(0,ne.indexOf("Center")):ne:ke==="rtl"?"bottomRight":"bottomLeft",[ne,ke]),Je=Ee("dropdown",T),[Oe,Ce]=(0,w.Z)(Je),[,Y]=(0,l.Z)(),pe=x.Children.only(q),M=(0,v.Tm)(pe,{className:V()(`${Je}-trigger`,{[`${Je}-rtl`]:ke==="rtl"},pe.props.className),disabled:G}),U=G?[]:ee;let A;U&&U.includes("contextMenu")&&(A=!0);const[R,te]=(0,u.Z)(!1,{value:O!=null?O:P}),y=(0,F.useEvent)(z=>{B==null||B(z),i==null||i(z),te(z)}),f=V()(p,Z,Ce,{[`${Je}-rtl`]:ke==="rtl"}),d=(0,e.Z)({arrowPointAtCenter:typeof b=="object"&&b.pointAtCenter,autoAdjustOverflow:j,offset:Y.marginXXS,arrowWidth:b?Y.sizePopupArrow:0,borderRadius:Y.borderRadius}),X=x.useCallback(()=>{te(!1)},[]),K=()=>{let z;return s!=null&&s.items?z=x.createElement(r.default,Object.assign({},s)):typeof ae=="function"?z=ae():z=ae,H&&(z=H(z)),z=x.Children.only(typeof z=="string"?x.createElement("span",null,z):z),x.createElement(o.J,{prefixCls:`${Je}-menu`,expandIcon:x.createElement("span",{className:`${Je}-menu-submenu-arrow`},x.createElement(m.Z,{className:`${Je}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:X,validator:J=>{let{mode:ce}=J}},z)};return Oe(x.createElement(L.Z,Object.assign({alignPoint:A},(0,W.Z)(c,["rootClassName"]),{mouseEnterDelay:a,mouseLeaveDelay:_,visible:R,builtinPlacements:d,arrow:!!b,overlayClassName:f,prefixCls:Je,getPopupContainer:$||fe,transitionName:Re,trigger:U,overlay:K,placement:ze,onVisibleChange:y}),M))};function g(c){return Object.assign(Object.assign({},c),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const I=(0,h.Z)(E,"dropdown",c=>c,g),C=c=>x.createElement(I,Object.assign({},c),x.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=C,de.Z=E},38854:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return l}});var x=t(91857),m=t(92310),D=t.n(m),V=t(59301),L=t(18785),F=t(3113),u=t(36355),W=t(81327),e=t(33234),h=t(47211),v=function(w,k){var E={};for(var g in w)Object.prototype.hasOwnProperty.call(w,g)&&k.indexOf(g)<0&&(E[g]=w[g]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,g=Object.getOwnPropertySymbols(w);I<g.length;I++)k.indexOf(g[I])<0&&Object.prototype.propertyIsEnumerable.call(w,g[I])&&(E[g[I]]=w[g[I]]);return E};const n=w=>{const{getPopupContainer:k,getPrefixCls:E,direction:g}=V.useContext(u.E_),{prefixCls:I,type:C="default",danger:c,disabled:s,loading:b,onClick:T,htmlType:q,children:ee,className:G,menu:H,arrow:$,autoFocus:p,overlay:Z,trigger:O,align:B,open:P,onOpenChange:i,placement:a,getPopupContainer:_,href:j,icon:ne=V.createElement(L.Z,null),title:ae,buttonsRender:oe=K=>K,mouseEnterDelay:fe,mouseLeaveDelay:Ee,overlayClassName:ke,overlayStyle:Re,destroyPopupOnHide:ze,dropdownRender:Je}=w,Oe=v(w,["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"]),Ce=E("dropdown",I),Y=`${Ce}-button`,[pe,M]=(0,h.Z)(Ce),U={menu:H,arrow:$,autoFocus:p,align:B,disabled:s,trigger:s?[]:O,onOpenChange:i,getPopupContainer:_||k,mouseEnterDelay:fe,mouseLeaveDelay:Ee,overlayClassName:ke,overlayStyle:Re,destroyPopupOnHide:ze,dropdownRender:Je},{compactSize:A,compactItemClassnames:R}=(0,e.ri)(Ce,g),te=D()(Y,R,G,M);"overlay"in w&&(U.overlay=Z),"open"in w&&(U.open=P),"placement"in w?U.placement=a:U.placement=g==="rtl"?"bottomLeft":"bottomRight";const y=V.createElement(F.ZP,{type:C,danger:c,disabled:s,loading:b,onClick:T,htmlType:q,href:j,title:ae},ee),f=V.createElement(F.ZP,{type:C,danger:c,icon:ne}),[d,X]=oe([y,f]);return pe(V.createElement(W.Z.Compact,Object.assign({className:te,size:A,block:!0},Oe),d,V.createElement(x.Z,Object.assign({},U),X)))};n.__ANT_BUTTON=!0;var r=n;const o=x.Z;o.Button=r;var l=o},47211:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return v}});var x=t(17313),m=t(13826),D=t(92899),V=t(29878),L=t(19447),F=t(83116),u=t(37613),e=n=>{const{componentCls:r,menuCls:o,colorError:l,colorTextLightSolid:w}=n,k=`${o}-item`;return{[`${r}, ${r}-menu-submenu`]:{[`${o} ${k}`]:{[`&${k}-danger:not(${k}-disabled)`]:{color:l,"&:hover":{color:w,backgroundColor:l}}}}}};const h=n=>{const{componentCls:r,menuCls:o,zIndexPopup:l,dropdownArrowDistance:w,sizePopupArrow:k,antCls:E,iconCls:g,motionDurationMid:I,dropdownPaddingVertical:C,fontSize:c,dropdownEdgeChildPadding:s,colorTextDisabled:b,fontSizeIcon:T,controlPaddingHorizontal:q,colorBgElevated:ee}=n;return[{[r]:Object.assign(Object.assign({},(0,x.Wf)(n)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:l,display:"block","&::before":{position:"absolute",insetBlock:-w+k/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${g}-down, & > ${E}-btn-icon > ${g}-down`]:{fontSize:T}},[`${r}-wrap`]:{position:"relative",[`${E}-btn > ${g}-down`]:{fontSize:T},[`${g}-down::before`]:{transition:`transform ${I}`}},[`${r}-wrap-open`]:{[`${g}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${r}-placement-bottomLeft,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${r}-placement-bottomLeft,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${r}-placement-bottom,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${r}-placement-bottom,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${r}-placement-bottomRight,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${r}-placement-bottomRight`]:{animationName:m.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${r}-placement-topLeft,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${r}-placement-topLeft,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${r}-placement-top,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${r}-placement-top,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${r}-placement-topRight,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${r}-placement-topRight`]:{animationName:m.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${r}-placement-bottomLeft,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${r}-placement-bottom,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${r}-placement-bottomRight`]:{animationName:m.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${r}-placement-topLeft,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${r}-placement-top,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${r}-placement-topRight`]:{animationName:m.ly}})},(0,L.ZP)(n,{colorBg:ee,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${r} ${o}`]:{position:"relative",margin:0},[`${o}-submenu-popup`]:{position:"absolute",zIndex:l,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${r}, ${r}-menu-submenu`]:{[o]:Object.assign(Object.assign({padding:s,listStyleType:"none",backgroundColor:ee,backgroundClip:"padding-box",borderRadius:n.borderRadiusLG,outline:"none",boxShadow:n.boxShadowSecondary},(0,x.Qy)(n)),{[`${o}-item-group-title`]:{padding:`${C}px ${q}px`,color:n.colorTextDescription,transition:`all ${I}`},[`${o}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${o}-item-icon`]:{minWidth:c,marginInlineEnd:n.marginXS,fontSize:n.fontSizeSM},[`${o}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${I}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${o}-item, ${o}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${C}px ${q}px`,color:n.colorText,fontWeight:"normal",fontSize:c,lineHeight:n.lineHeight,cursor:"pointer",transition:`all ${I}`,borderRadius:n.borderRadiusSM,"&:hover, &-active":{backgroundColor:n.controlItemBgHover}},(0,x.Qy)(n)),{"&-selected":{color:n.colorPrimary,backgroundColor:n.controlItemBgActive,"&:hover, &-active":{backgroundColor:n.controlItemBgActiveHover}},"&-disabled":{color:b,cursor:"not-allowed","&:hover":{color:b,backgroundColor:ee,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${n.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:n.colorSplit},[`${r}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:n.paddingXS,[`${r}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:n.colorTextDescription,fontSize:T,fontStyle:"normal"}}}),[`${o}-item-group-list`]:{margin:`0 ${n.marginXS}px`,padding:0,listStyle:"none"},[`${o}-submenu-title`]:{paddingInlineEnd:q+n.fontSizeSM},[`${o}-submenu-vertical`]:{position:"relative"},[`${o}-submenu${o}-submenu-disabled ${r}-menu-submenu-title`]:{[`&, ${r}-menu-submenu-arrow-icon`]:{color:b,backgroundColor:ee,cursor:"not-allowed"}},[`${o}-submenu-selected ${r}-menu-submenu-title`]:{color:n.colorPrimary}})}},[(0,m.oN)(n,"slide-up"),(0,m.oN)(n,"slide-down"),(0,D.Fm)(n,"move-up"),(0,D.Fm)(n,"move-down"),(0,V._y)(n,"zoom-big")]]};var v=(0,F.Z)("Dropdown",(n,r)=>{let{rootPrefixCls:o}=r;const{marginXXS:l,sizePopupArrow:w,controlHeight:k,fontSize:E,lineHeight:g,paddingXXS:I,componentCls:C,borderRadiusLG:c}=n,s=(k-E*g)/2,{dropdownArrowOffset:b}=(0,L.fS)({contentRadius:c}),T=(0,u.TS)(n,{menuCls:`${C}-menu`,rootPrefixCls:o,dropdownArrowDistance:w/2+l,dropdownArrowOffset:b,dropdownPaddingVertical:s,dropdownEdgeChildPadding:I});return[h(T),e(T)]},n=>({zIndexPopup:n.zIndexPopupBase+50}))},64165:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return I}});var x=t(92310),m=t.n(x),D=t(59301),V=t(36355),L=t(9763),F=t(64993),u=t(88088),e=()=>{const[,C]=(0,u.Z)(),s=new F.C(C.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return D.createElement("svg",{style:s,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},D.createElement("g",{fill:"none",fillRule:"evenodd"},D.createElement("g",{transform:"translate(24 31.67)"},D.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),D.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"}),D.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)"}),D.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"}),D.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"})),D.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"}),D.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},D.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),D.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},v=()=>{const[,C]=(0,u.Z)(),{colorFill:c,colorFillTertiary:s,colorFillQuaternary:b,colorBgContainer:T}=C,{borderColor:q,shadowColor:ee,contentColor:G}=(0,D.useMemo)(()=>({borderColor:new F.C(c).onBackground(T).toHexShortString(),shadowColor:new F.C(s).onBackground(T).toHexShortString(),contentColor:new F.C(b).onBackground(T).toHexShortString()}),[c,s,b,T]);return D.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},D.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},D.createElement("ellipse",{fill:ee,cx:"32",cy:"33",rx:"32",ry:"7"}),D.createElement("g",{fillRule:"nonzero",stroke:q},D.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"}),D.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:G}))))},n=t(83116),r=t(37613);const o=C=>{const{componentCls:c,margin:s,marginXS:b,marginXL:T,fontSize:q,lineHeight:ee}=C;return{[c]:{marginInline:b,fontSize:q,lineHeight:ee,textAlign:"center",[`${c}-image`]:{height:C.emptyImgHeight,marginBottom:b,opacity:C.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${c}-description`]:{color:C.colorText},[`${c}-footer`]:{marginTop:s},"&-normal":{marginBlock:T,color:C.colorTextDisabled,[`${c}-description`]:{color:C.colorTextDisabled},[`${c}-image`]:{height:C.emptyImgHeightMD}},"&-small":{marginBlock:b,color:C.colorTextDisabled,[`${c}-image`]:{height:C.emptyImgHeightSM}}}}};var l=(0,n.Z)("Empty",C=>{const{componentCls:c,controlHeightLG:s}=C,b=(0,r.TS)(C,{emptyImgCls:`${c}-img`,emptyImgHeight:s*2.5,emptyImgHeightMD:s,emptyImgHeightSM:s*.875});return[o(b)]}),w=function(C,c){var s={};for(var b in C)Object.prototype.hasOwnProperty.call(C,b)&&c.indexOf(b)<0&&(s[b]=C[b]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,b=Object.getOwnPropertySymbols(C);T<b.length;T++)c.indexOf(b[T])<0&&Object.prototype.propertyIsEnumerable.call(C,b[T])&&(s[b[T]]=C[b[T]]);return s};const k=D.createElement(e,null),E=D.createElement(v,null),g=C=>{var{className:c,rootClassName:s,prefixCls:b,image:T=k,description:q,children:ee,imageStyle:G,style:H}=C,$=w(C,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:p,direction:Z,empty:O}=D.useContext(V.E_),B=p("empty",b),[P,i]=l(B),[a]=(0,L.Z)("Empty"),_=typeof q!="undefined"?q:a==null?void 0:a.description,j=typeof _=="string"?_:"empty";let ne=null;return typeof T=="string"?ne=D.createElement("img",{alt:j,src:T}):ne=T,P(D.createElement("div",Object.assign({className:m()(i,B,O==null?void 0:O.className,{[`${B}-normal`]:T===E,[`${B}-rtl`]:Z==="rtl"},c,s),style:Object.assign(Object.assign({},O==null?void 0:O.style),H)},$),D.createElement("div",{className:`${B}-image`,style:G},ne),_&&D.createElement("div",{className:`${B}-description`},_),ee&&D.createElement("div",{className:`${B}-footer`},ee)))};g.PRESENTED_IMAGE_DEFAULT=k,g.PRESENTED_IMAGE_SIMPLE=E;var I=g},8628:function(Ue,de,t){"use strict";var x=t(59301),m=t(34280),D=t(56762),V=t(69507);function L(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const u=(0,x.useRef)({}),W=(0,D.Z)(),e=(0,V.ZP)();return(0,m.Z)(()=>{const h=e.subscribe(v=>{u.current=v,F&&W()});return()=>e.unsubscribe(h)},[]),u.current}de.Z=L},9432:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return g},n:function(){return k}});var x=t(19248),m=t(92310),D=t.n(m),V=t(93681),L=t(8654),F=t(59301),u=t(19080),W=t(36355),e=t(1684),h=t(19716),v=t(32441),n=t(33234),r=t(59412),o=t(9937);function l(I){return!!(I.prefix||I.suffix||I.allowClear)}var w=function(I,C){var c={};for(var s in I)Object.prototype.hasOwnProperty.call(I,s)&&C.indexOf(s)<0&&(c[s]=I[s]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,s=Object.getOwnPropertySymbols(I);b<s.length;b++)C.indexOf(s[b])<0&&Object.prototype.propertyIsEnumerable.call(I,s[b])&&(c[s[b]]=I[s[b]]);return c};function k(I,C){if(!I)return;I.focus(C);const{cursor:c}=C||{};if(c){const s=I.value.length;switch(c){case"start":I.setSelectionRange(0,0);break;case"end":I.setSelectionRange(s,s);break;default:I.setSelectionRange(0,s);break}}}var g=(0,F.forwardRef)((I,C)=>{var c;const{prefixCls:s,bordered:b=!0,status:T,size:q,disabled:ee,onBlur:G,onFocus:H,suffix:$,allowClear:p,addonAfter:Z,addonBefore:O,className:B,style:P,styles:i,rootClassName:a,onChange:_,classNames:j}=I,ne=w(I,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:ae,direction:oe,input:fe}=F.useContext(W.E_),Ee=ae("input",s),ke=(0,F.useRef)(null),[Re,ze]=(0,o.ZP)(Ee),{compactSize:Je,compactItemClassnames:Oe}=(0,n.ri)(Ee,oe),Ce=(0,h.Z)(ce=>{var re;return(re=q!=null?q:Je)!==null&&re!==void 0?re:ce}),Y=F.useContext(e.Z),pe=ee!=null?ee:Y,{status:M,hasFeedback:U,feedbackIcon:A}=(0,F.useContext)(v.aM),R=(0,u.F)(M,T),te=l(I)||!!U,y=(0,F.useRef)(te);(0,F.useEffect)(()=>{var ce;te&&y.current,y.current=te},[te]);const f=(0,r.Z)(ke,!0),d=ce=>{f(),G==null||G(ce)},X=ce=>{f(),H==null||H(ce)},K=ce=>{f(),_==null||_(ce)},z=(U||$)&&F.createElement(F.Fragment,null,$,U&&A);let J;return typeof p=="object"&&(p!=null&&p.clearIcon)?J=p:p&&(J={clearIcon:F.createElement(x.Z,null)}),Re(F.createElement(V.default,Object.assign({ref:(0,L.sQ)(C,ke),prefixCls:Ee,autoComplete:fe==null?void 0:fe.autoComplete},ne,{disabled:pe,onBlur:d,onFocus:X,style:Object.assign(Object.assign({},fe==null?void 0:fe.style),P),styles:Object.assign(Object.assign({},fe==null?void 0:fe.styles),i),suffix:z,allowClear:J,className:D()(B,a,Oe,fe==null?void 0:fe.className),onChange:K,addonAfter:Z&&F.createElement(n.BR,null,F.createElement(v.Ux,{override:!0,status:!0},Z)),addonBefore:O&&F.createElement(n.BR,null,F.createElement(v.Ux,{override:!0,status:!0},O)),classNames:Object.assign(Object.assign(Object.assign({},j),fe==null?void 0:fe.classNames),{input:D()({[`${Ee}-sm`]:Ce==="small",[`${Ee}-lg`]:Ce==="large",[`${Ee}-rtl`]:oe==="rtl",[`${Ee}-borderless`]:!b},!te&&(0,u.Z)(Ee,R),j==null?void 0:j.input,(c=fe==null?void 0:fe.classNames)===null||c===void 0?void 0:c.input,ze)}),classes:{affixWrapper:D()({[`${Ee}-affix-wrapper-sm`]:Ce==="small",[`${Ee}-affix-wrapper-lg`]:Ce==="large",[`${Ee}-affix-wrapper-rtl`]:oe==="rtl",[`${Ee}-affix-wrapper-borderless`]:!b},(0,u.Z)(`${Ee}-affix-wrapper`,R,U),ze),wrapper:D()({[`${Ee}-group-rtl`]:oe==="rtl"},ze),group:D()({[`${Ee}-group-wrapper-sm`]:Ce==="small",[`${Ee}-group-wrapper-lg`]:Ce==="large",[`${Ee}-group-wrapper-rtl`]:oe==="rtl",[`${Ee}-group-wrapper-disabled`]:pe},(0,u.Z)(`${Ee}-group-wrapper`,R,U),ze)}})))})},1643:function(Ue,de,t){"use strict";var x=t(19248),m=t(92310),D=t.n(m),V=t(9296),L=t(59301),F=t(19080),u=t(36355),W=t(1684),e=t(19716),h=t(32441),v=t(9432),n=t(9937),r=function(l,w){var k={};for(var E in l)Object.prototype.hasOwnProperty.call(l,E)&&w.indexOf(E)<0&&(k[E]=l[E]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,E=Object.getOwnPropertySymbols(l);g<E.length;g++)w.indexOf(E[g])<0&&Object.prototype.propertyIsEnumerable.call(l,E[g])&&(k[E[g]]=l[E[g]]);return k};const o=(0,L.forwardRef)((l,w)=>{const{prefixCls:k,bordered:E=!0,size:g,disabled:I,status:C,allowClear:c,showCount:s,classNames:b,rootClassName:T,className:q}=l,ee=r(l,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:G,direction:H}=L.useContext(u.E_),$=(0,e.Z)(g),p=L.useContext(W.Z),Z=I!=null?I:p,{status:O,hasFeedback:B,feedbackIcon:P}=L.useContext(h.aM),i=(0,F.F)(O,C),a=L.useRef(null);L.useImperativeHandle(w,()=>{var oe;return{resizableTextArea:(oe=a.current)===null||oe===void 0?void 0:oe.resizableTextArea,focus:fe=>{var Ee,ke;(0,v.n)((ke=(Ee=a.current)===null||Ee===void 0?void 0:Ee.resizableTextArea)===null||ke===void 0?void 0:ke.textArea,fe)},blur:()=>{var fe;return(fe=a.current)===null||fe===void 0?void 0:fe.blur()}}});const _=G("input",k);let j;typeof c=="object"&&(c!=null&&c.clearIcon)?j=c:c&&(j={clearIcon:L.createElement(x.Z,null)});const[ne,ae]=(0,n.ZP)(_);return ne(L.createElement(V.default,Object.assign({},ee,{disabled:Z,allowClear:j,className:D()(q,T),classes:{affixWrapper:D()(`${_}-textarea-affix-wrapper`,{[`${_}-affix-wrapper-rtl`]:H==="rtl",[`${_}-affix-wrapper-borderless`]:!E,[`${_}-affix-wrapper-sm`]:$==="small",[`${_}-affix-wrapper-lg`]:$==="large",[`${_}-textarea-show-count`]:s},(0,F.Z)(`${_}-affix-wrapper`,i),ae)},classNames:Object.assign(Object.assign({},b),{textarea:D()({[`${_}-borderless`]:!E,[`${_}-sm`]:$==="small",[`${_}-lg`]:$==="large"},(0,F.Z)(_,i),ae,b==null?void 0:b.textarea)}),prefixCls:_,suffix:B&&L.createElement("span",{className:`${_}-textarea-suffix`},P),showCount:s,ref:a})))});de.Z=o},59412:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return m}});var x=t(59301);function m(D,V){const L=(0,x.useRef)([]),F=()=>{L.current.push(setTimeout(()=>{var u,W,e,h;!((u=D.current)===null||u===void 0)&&u.input&&((W=D.current)===null||W===void 0?void 0:W.input.getAttribute("type"))==="password"&&(!((e=D.current)===null||e===void 0)&&e.input.hasAttribute("value"))&&((h=D.current)===null||h===void 0||h.input.removeAttribute("value"))}))};return(0,x.useEffect)(()=>(V&&F(),()=>L.current.forEach(u=>{u&&clearTimeout(u)})),[]),F}},92832:function(Ue,de,t){"use strict";t.d(de,{default:function(){return $}});var x=t(92310),m=t.n(x),D=t(59301),V=t(36355),L=t(32441),F=t(9937),W=p=>{const{getPrefixCls:Z,direction:O}=(0,D.useContext)(V.E_),{prefixCls:B,className:P}=p,i=Z("input-group",B),a=Z("input"),[_,j]=(0,F.ZP)(a),ne=m()(i,{[`${i}-lg`]:p.size==="large",[`${i}-sm`]:p.size==="small",[`${i}-compact`]:p.compact,[`${i}-rtl`]:O==="rtl"},j,P),ae=(0,D.useContext)(L.aM),oe=(0,D.useMemo)(()=>Object.assign(Object.assign({},ae),{isFormItemInput:!1}),[ae]);return _(D.createElement("span",{className:ne,style:p.style,onMouseEnter:p.onMouseEnter,onMouseLeave:p.onMouseLeave,onFocus:p.onFocus,onBlur:p.onBlur},D.createElement(L.aM.Provider,{value:oe},p.children)))},e=t(9432),h=t(73331),v=t(15277),n=t(2738),r=t(8654),o=t(59412),l=function(p,Z){var O={};for(var B in p)Object.prototype.hasOwnProperty.call(p,B)&&Z.indexOf(B)<0&&(O[B]=p[B]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,B=Object.getOwnPropertySymbols(p);P<B.length;P++)Z.indexOf(B[P])<0&&Object.prototype.propertyIsEnumerable.call(p,B[P])&&(O[B[P]]=p[B[P]]);return O};const w=p=>p?D.createElement(v.Z,null):D.createElement(h.Z,null),k={click:"onClick",hover:"onMouseOver"};var g=D.forwardRef((p,Z)=>{const{visibilityToggle:O=!0}=p,B=typeof O=="object"&&O.visible!==void 0,[P,i]=(0,D.useState)(()=>B?O.visible:!1),a=(0,D.useRef)(null);D.useEffect(()=>{B&&i(O.visible)},[B,O]);const _=(0,o.Z)(a),j=()=>{const{disabled:pe}=p;pe||(P&&_(),i(M=>{var U;const A=!M;return typeof O=="object"&&((U=O.onVisibleChange)===null||U===void 0||U.call(O,A)),A}))},ne=pe=>{const{action:M="click",iconRender:U=w}=p,A=k[M]||"",R=U(P),te={[A]:j,className:`${pe}-icon`,key:"passwordIcon",onMouseDown:y=>{y.preventDefault()},onMouseUp:y=>{y.preventDefault()}};return D.cloneElement(D.isValidElement(R)?R:D.createElement("span",null,R),te)},{className:ae,prefixCls:oe,inputPrefixCls:fe,size:Ee}=p,ke=l(p,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Re}=D.useContext(V.E_),ze=Re("input",fe),Je=Re("input-password",oe),Oe=O&&ne(Je),Ce=m()(Je,ae,{[`${Je}-${Ee}`]:!!Ee}),Y=Object.assign(Object.assign({},(0,n.Z)(ke,["suffix","iconRender","visibilityToggle"])),{type:P?"text":"password",className:Ce,prefixCls:ze,suffix:Oe});return Ee&&(Y.size=Ee),D.createElement(e.Z,Object.assign({ref:(0,r.sQ)(Z,a)},Y))}),I=t(47472),C=t(92343),c=t(3113),s=t(19716),b=t(33234),T=function(p,Z){var O={};for(var B in p)Object.prototype.hasOwnProperty.call(p,B)&&Z.indexOf(B)<0&&(O[B]=p[B]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,B=Object.getOwnPropertySymbols(p);P<B.length;P++)Z.indexOf(B[P])<0&&Object.prototype.propertyIsEnumerable.call(p,B[P])&&(O[B[P]]=p[B[P]]);return O},ee=D.forwardRef((p,Z)=>{const{prefixCls:O,inputPrefixCls:B,className:P,size:i,suffix:a,enterButton:_=!1,addonAfter:j,loading:ne,disabled:ae,onSearch:oe,onChange:fe,onCompositionStart:Ee,onCompositionEnd:ke}=p,Re=T(p,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:ze,direction:Je}=D.useContext(V.E_),Oe=D.useRef(!1),Ce=ze("input-search",O),Y=ze("input",B),{compactSize:pe}=(0,b.ri)(Ce,Je),M=(0,s.Z)(se=>{var me;return(me=i!=null?i:pe)!==null&&me!==void 0?me:se}),U=D.useRef(null),A=se=>{se&&se.target&&se.type==="click"&&oe&&oe(se.target.value,se,{source:"clear"}),fe&&fe(se)},R=se=>{var me;document.activeElement===((me=U.current)===null||me===void 0?void 0:me.input)&&se.preventDefault()},te=se=>{var me,_e;oe&&oe((_e=(me=U.current)===null||me===void 0?void 0:me.input)===null||_e===void 0?void 0:_e.value,se,{source:"input"})},y=se=>{Oe.current||ne||te(se)},f=typeof _=="boolean"?D.createElement(I.Z,null):null,d=`${Ce}-button`;let X;const K=_||{},z=K.type&&K.type.__ANT_BUTTON===!0;z||K.type==="button"?X=(0,C.Tm)(K,Object.assign({onMouseDown:R,onClick:se=>{var me,_e;(_e=(me=K==null?void 0:K.props)===null||me===void 0?void 0:me.onClick)===null||_e===void 0||_e.call(me,se),te(se)},key:"enterButton"},z?{className:d,size:M}:{})):X=D.createElement(c.ZP,{className:d,type:_?"primary":void 0,size:M,disabled:ae,key:"enterButton",onMouseDown:R,onClick:te,loading:ne,icon:f},_),j&&(X=[X,(0,C.Tm)(j,{key:"addonAfter"})]);const J=m()(Ce,{[`${Ce}-rtl`]:Je==="rtl",[`${Ce}-${M}`]:!!M,[`${Ce}-with-button`]:!!_},P),ce=se=>{Oe.current=!0,Ee==null||Ee(se)},re=se=>{Oe.current=!1,ke==null||ke(se)};return D.createElement(e.Z,Object.assign({ref:(0,r.sQ)(U,Z),onPressEnter:y},Re,{size:M,onCompositionStart:ce,onCompositionEnd:re,prefixCls:Y,addonAfter:X,suffix:a,onChange:A,className:J,disabled:ae}))}),G=t(1643);const H=e.Z;H.Group=W,H.Search=ee,H.TextArea=G.Z,H.Password=g;var $=H},9937:function(Ue,de,t){"use strict";t.d(de,{M1:function(){return u},TM:function(){return C},Xy:function(){return W},bi:function(){return v},e5:function(){return I},ik:function(){return n},nz:function(){return L},pU:function(){return F},s7:function(){return r},x0:function(){return h}});var x=t(17313),m=t(74207),D=t(37613),V=t(83116);const L=c=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:c,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),F=c=>({borderColor:c.hoverBorderColor}),u=c=>({borderColor:c.activeBorderColor,boxShadow:c.activeShadow,outline:0}),W=c=>({color:c.colorTextDisabled,backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},F((0,D.TS)(c,{hoverBorderColor:c.colorBorder})))}),e=c=>{const{paddingBlockLG:s,fontSizeLG:b,lineHeightLG:T,borderRadiusLG:q,paddingInlineLG:ee}=c;return{padding:`${s}px ${ee}px`,fontSize:b,lineHeight:T,borderRadius:q}},h=c=>({padding:`${c.paddingBlockSM}px ${c.paddingInlineSM}px`,borderRadius:c.borderRadiusSM}),v=(c,s)=>{const{componentCls:b,colorError:T,colorWarning:q,errorActiveShadow:ee,warningActiveShadow:G,colorErrorBorderHover:H,colorWarningBorderHover:$}=c;return{[`&-status-error:not(${s}-disabled):not(${s}-borderless)${s}`]:{borderColor:T,"&:hover":{borderColor:H},"&:focus, &-focused":Object.assign({},u((0,D.TS)(c,{activeBorderColor:T,activeShadow:ee}))),[`${b}-prefix, ${b}-suffix`]:{color:T}},[`&-status-warning:not(${s}-disabled):not(${s}-borderless)${s}`]:{borderColor:q,"&:hover":{borderColor:$},"&:focus, &-focused":Object.assign({},u((0,D.TS)(c,{activeBorderColor:q,activeShadow:G}))),[`${b}-prefix, ${b}-suffix`]:{color:q}}}},n=c=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${c.paddingBlock}px ${c.paddingInline}px`,color:c.colorText,fontSize:c.fontSize,lineHeight:c.lineHeight,backgroundColor:c.colorBgContainer,backgroundImage:"none",borderWidth:c.lineWidth,borderStyle:c.lineType,borderColor:c.colorBorder,borderRadius:c.borderRadius,transition:`all ${c.motionDurationMid}`},L(c.colorTextPlaceholder)),{"&:hover":Object.assign({},F(c)),"&:focus, &-focused":Object.assign({},u(c)),"&-disabled, &[disabled]":Object.assign({},W(c)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:c.controlHeight,lineHeight:c.lineHeight,verticalAlign:"bottom",transition:`all ${c.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},e(c)),"&-sm":Object.assign({},h(c)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),r=c=>{const{componentCls:s,antCls:b}=c;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:c.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${s}, &-lg > ${s}-group-addon`]:Object.assign({},e(c)),[`&-sm ${s}, &-sm > ${s}-group-addon`]:Object.assign({},h(c)),[`&-lg ${b}-select-single ${b}-select-selector`]:{height:c.controlHeightLG},[`&-sm ${b}-select-single ${b}-select-selector`]:{height:c.controlHeightSM},[`> ${s}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${s}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${c.paddingInline}px`,color:c.colorText,fontWeight:"normal",fontSize:c.fontSize,textAlign:"center",backgroundColor:c.colorFillAlter,border:`${c.lineWidth}px ${c.lineType} ${c.colorBorder}`,borderRadius:c.borderRadius,transition:`all ${c.motionDurationSlow}`,lineHeight:1,[`${b}-select`]:{margin:`-${c.paddingBlock+1}px -${c.paddingInline}px`,[`&${b}-select-single:not(${b}-select-customize-input)`]:{[`${b}-select-selector`]:{backgroundColor:"inherit",border:`${c.lineWidth}px ${c.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${b}-select-selector`]:{color:c.colorPrimary}}},[`${b}-cascader-picker`]:{margin:`-9px -${c.paddingInline}px`,backgroundColor:"transparent",[`${b}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${s}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${s}-search-with-button &`]:{zIndex:0}}},[`> ${s}:first-child, ${s}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${b}-select ${b}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${s}-affix-wrapper`]:{[`&:not(:first-child) ${s}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${s}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${s}:last-child, ${s}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${b}-select ${b}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${s}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${s}-search &`]:{borderStartStartRadius:c.borderRadius,borderEndStartRadius:c.borderRadius}},[`&:not(:first-child), ${s}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${s}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,x.dF)()),{[`${s}-group-addon, ${s}-group-wrap, > ${s}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:c.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
& > ${s}-affix-wrapper,
|
|
& > ${s}-number-affix-wrapper,
|
|
& > ${b}-picker-range
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-c.lineWidth,borderInlineEndWidth:c.lineWidth},[`${s}`]:{float:"none"},[`& > ${b}-select > ${b}-select-selector,
|
|
& > ${b}-select-auto-complete ${s},
|
|
& > ${b}-cascader-picker ${s},
|
|
& > ${s}-group-wrapper ${s}`]:{borderInlineEndWidth:c.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${b}-select-focused`]:{zIndex:1},[`& > ${b}-select > ${b}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
& > ${b}-select:first-child > ${b}-select-selector,
|
|
& > ${b}-select-auto-complete:first-child ${s},
|
|
& > ${b}-cascader-picker:first-child ${s}`]:{borderStartStartRadius:c.borderRadius,borderEndStartRadius:c.borderRadius},[`& > *:last-child,
|
|
& > ${b}-select:last-child > ${b}-select-selector,
|
|
& > ${b}-cascader-picker:last-child ${s},
|
|
& > ${b}-cascader-picker-focused:last-child ${s}`]:{borderInlineEndWidth:c.lineWidth,borderStartEndRadius:c.borderRadius,borderEndEndRadius:c.borderRadius},[`& > ${b}-select-auto-complete ${s}`]:{verticalAlign:"top"},[`${s}-group-wrapper + ${s}-group-wrapper`]:{marginInlineStart:-c.lineWidth,[`${s}-affix-wrapper`]:{borderRadius:0}},[`${s}-group-wrapper:not(:last-child)`]:{[`&${s}-search > ${s}-group`]:{[`& > ${s}-group-addon > ${s}-search-button`]:{borderRadius:0},[`& > ${s}`]:{borderStartStartRadius:c.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:c.borderRadius}}}})}},o=c=>{const{componentCls:s,controlHeightSM:b,lineWidth:T}=c,ee=(b-T*2-16)/2;return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,x.Wf)(c)),n(c)),v(c,s)),{'&[type="color"]':{height:c.controlHeight,[`&${s}-lg`]:{height:c.controlHeightLG},[`&${s}-sm`]:{height:b,paddingTop:ee,paddingBottom:ee}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},l=c=>{const{componentCls:s}=c;return{[`${s}-clear-icon`]:{margin:0,color:c.colorTextQuaternary,fontSize:c.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${c.motionDurationSlow}`,"&:hover":{color:c.colorTextTertiary},"&:active":{color:c.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${c.inputAffixPadding}px`}}}},w=c=>{const{componentCls:s,inputAffixPadding:b,colorTextDescription:T,motionDurationSlow:q,colorIcon:ee,colorIconHover:G,iconCls:H}=c;return{[`${s}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n(c)),{display:"inline-flex",[`&:not(${s}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},F(c)),{zIndex:1,[`${s}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${s}[disabled]`]:{background:"transparent"}},[`> input${s}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${s}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:c.paddingXS}},"&-show-count-suffix":{color:T},"&-show-count-has-suffix":{marginInlineEnd:c.paddingXXS},"&-prefix":{marginInlineEnd:b},"&-suffix":{marginInlineStart:b}}}),l(c)),{[`${H}${s}-password-icon`]:{color:ee,cursor:"pointer",transition:`all ${q}`,"&:hover":{color:G}}}),v(c,`${s}-affix-wrapper`))}},k=c=>{const{componentCls:s,colorError:b,colorWarning:T,borderRadiusLG:q,borderRadiusSM:ee}=c;return{[`${s}-group`]:Object.assign(Object.assign(Object.assign({},(0,x.Wf)(c)),r(c)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${s}-group-addon`]:{borderRadius:q,fontSize:c.fontSizeLG}},"&-sm":{[`${s}-group-addon`]:{borderRadius:ee}},"&-status-error":{[`${s}-group-addon`]:{color:b,borderColor:b}},"&-status-warning":{[`${s}-group-addon`]:{color:T,borderColor:T}},"&-disabled":{[`${s}-group-addon`]:Object.assign({},W(c))},[`&:not(${s}-compact-first-item):not(${s}-compact-last-item)${s}-compact-item`]:{[`${s}, ${s}-group-addon`]:{borderRadius:0}},[`&:not(${s}-compact-last-item)${s}-compact-first-item`]:{[`${s}, ${s}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${s}-compact-first-item)${s}-compact-last-item`]:{[`${s}, ${s}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},E=c=>{const{componentCls:s,antCls:b}=c,T=`${s}-search`;return{[T]:{[`${s}`]:{"&:hover, &:focus":{borderColor:c.colorPrimaryHover,[`+ ${s}-group-addon ${T}-button:not(${b}-btn-primary)`]:{borderInlineStartColor:c.colorPrimaryHover}}},[`${s}-affix-wrapper`]:{borderRadius:0},[`${s}-lg`]:{lineHeight:c.lineHeightLG-2e-4},[`> ${s}-group`]:{[`> ${s}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${T}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:c.borderRadius,borderEndEndRadius:c.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${T}-button:not(${b}-btn-primary)`]:{color:c.colorTextDescription,"&:hover":{color:c.colorPrimaryHover},"&:active":{color:c.colorPrimaryActive},[`&${b}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${T}-button`]:{height:c.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${T}-button`]:{height:c.controlHeightLG},[`&-small ${T}-button`]:{height:c.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${s}-compact-item`]:{[`&:not(${s}-compact-last-item)`]:{[`${s}-group-addon`]:{[`${s}-search-button`]:{marginInlineEnd:-c.lineWidth,borderRadius:0}}},[`&:not(${s}-compact-first-item)`]:{[`${s},${s}-affix-wrapper`]:{borderRadius:0}},[`> ${s}-group-addon ${s}-search-button,
|
|
> ${s},
|
|
${s}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${s}-affix-wrapper-focused`]:{zIndex:2}}}}},g=c=>{const{componentCls:s,paddingLG:b}=c,T=`${s}-textarea`;return{[T]:{position:"relative","&-show-count":{[`> ${s}`]:{height:"100%"},[`${s}-data-count`]:{position:"absolute",bottom:-c.fontSize*c.lineHeight,insetInlineEnd:0,color:c.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${s}`]:{paddingInlineEnd:b}},[`&-affix-wrapper${T}-has-feedback`]:{[`${s}`]:{paddingInlineEnd:b}},[`&-affix-wrapper${s}-affix-wrapper`]:{padding:0,[`> textarea${s}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${s}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${s}-clear-icon`]:{position:"absolute",insetInlineEnd:c.paddingXS,insetBlockStart:c.paddingXS},[`${T}-suffix`]:{position:"absolute",top:0,insetInlineEnd:c.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function I(c){return(0,D.TS)(c,{inputAffixPadding:c.paddingXXS})}const C=c=>{const{controlHeight:s,fontSize:b,lineHeight:T,lineWidth:q,controlHeightSM:ee,controlHeightLG:G,fontSizeLG:H,lineHeightLG:$,paddingSM:p,controlPaddingHorizontalSM:Z,controlPaddingHorizontal:O,colorFillAlter:B,colorPrimaryHover:P,controlOutlineWidth:i,controlOutline:a,colorErrorOutline:_,colorWarningOutline:j}=c;return{paddingBlock:Math.max(Math.round((s-b*T)/2*10)/10-q,3),paddingBlockSM:Math.max(Math.round((ee-b*T)/2*10)/10-q,0),paddingBlockLG:Math.ceil((G-H*$)/2*10)/10-q,paddingInline:p-q,paddingInlineSM:Z-q,paddingInlineLG:O-q,addonBg:B,activeBorderColor:P,hoverBorderColor:P,activeShadow:`0 0 0 ${i}px ${a}`,errorActiveShadow:`0 0 0 ${i}px ${_}`,warningActiveShadow:`0 0 0 ${i}px ${j}`}};de.ZP=(0,V.Z)("Input",c=>{const s=(0,D.TS)(c,I(c));return[o(s),g(s),w(s),k(s),E(s),(0,m.c)(s)]},C)},45818:function(Ue,de,t){"use strict";t.d(de,{D:function(){return I},Z:function(){return s}});var x=t(72308),m=t(59301),D={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"},V=D,L=t(7657),F=function(T,q){return m.createElement(L.Z,(0,x.Z)({},T,{ref:q,icon:V}))},u=m.forwardRef(F),W=u,e=t(33853),h=t(38819),v=t(92310),n=t.n(v),r=t(2738),l=b=>!isNaN(parseFloat(b))&&isFinite(b),w=t(36355),k=t(84966),E=function(b,T){var q={};for(var ee in b)Object.prototype.hasOwnProperty.call(b,ee)&&T.indexOf(ee)<0&&(q[ee]=b[ee]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,ee=Object.getOwnPropertySymbols(b);G<ee.length;G++)T.indexOf(ee[G])<0&&Object.prototype.propertyIsEnumerable.call(b,ee[G])&&(q[ee[G]]=b[ee[G]]);return q};const g={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},I=m.createContext({}),C=(()=>{let b=0;return function(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return b+=1,`${T}${b}`}})();var s=m.forwardRef((b,T)=>{const{prefixCls:q,className:ee,trigger:G,children:H,defaultCollapsed:$=!1,theme:p="dark",style:Z={},collapsible:O=!1,reverseArrow:B=!1,width:P=200,collapsedWidth:i=80,zeroWidthTriggerStyle:a,breakpoint:_,onCollapse:j,onBreakpoint:ne}=b,ae=E(b,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:oe}=(0,m.useContext)(k.Gs),[fe,Ee]=(0,m.useState)("collapsed"in b?b.collapsed:$),[ke,Re]=(0,m.useState)(!1);(0,m.useEffect)(()=>{"collapsed"in b&&Ee(b.collapsed)},[b.collapsed]);const ze=(M,U)=>{"collapsed"in b||Ee(M),j==null||j(M,U)},Je=(0,m.useRef)();Je.current=M=>{Re(M.matches),ne==null||ne(M.matches),fe!==M.matches&&ze(M.matches,"responsive")},(0,m.useEffect)(()=>{function M(A){return Je.current(A)}let U;if(typeof window!="undefined"){const{matchMedia:A}=window;if(A&&_&&_ in g){U=A(`(max-width: ${g[_]})`);try{U.addEventListener("change",M)}catch(R){U.addListener(M)}M(U)}}return()=>{try{U==null||U.removeEventListener("change",M)}catch(A){U==null||U.removeListener(M)}}},[_]),(0,m.useEffect)(()=>{const M=C("ant-sider-");return oe.addSider(M),()=>oe.removeSider(M)},[]);const Oe=()=>{ze(!fe,"clickTrigger")},{getPrefixCls:Ce}=(0,m.useContext)(w.E_),Y=()=>{const M=Ce("layout-sider",q),U=(0,r.Z)(ae,["collapsed"]),A=fe?i:P,R=l(A)?`${A}px`:String(A),te=parseFloat(String(i||0))===0?m.createElement("span",{onClick:Oe,className:n()(`${M}-zero-width-trigger`,`${M}-zero-width-trigger-${B?"right":"left"}`),style:a},G||m.createElement(W,null)):null,d={expanded:B?m.createElement(h.Z,null):m.createElement(e.Z,null),collapsed:B?m.createElement(e.Z,null):m.createElement(h.Z,null)}[fe?"collapsed":"expanded"],X=G!==null?te||m.createElement("div",{className:`${M}-trigger`,onClick:Oe,style:{width:R}},G||d):null,K=Object.assign(Object.assign({},Z),{flex:`0 0 ${R}`,maxWidth:R,minWidth:R,width:R}),z=n()(M,`${M}-${p}`,{[`${M}-collapsed`]:!!fe,[`${M}-has-trigger`]:O&&G!==null&&!te,[`${M}-below`]:!!ke,[`${M}-zero-width`]:parseFloat(R)===0},ee);return m.createElement("aside",Object.assign({className:z},U,{style:K,ref:T}),m.createElement("div",{className:`${M}-children`},H),O||ke&&te?X:null)},pe=m.useMemo(()=>({siderCollapsed:fe}),[fe]);return m.createElement(I.Provider,{value:pe},Y())})},84966:function(Ue,de,t){"use strict";t.d(de,{VY:function(){return I},$_:function(){return g},h4:function(){return E},Gs:function(){return r},ZP:function(){return C}});var x=t(80702),m=t(92310),D=t.n(m),V=t(2738),L=t(59301),F=t(36355),u=t(83116),e=c=>{const{componentCls:s,bodyBg:b,lightSiderBg:T,lightTriggerBg:q,lightTriggerColor:ee}=c;return{[`${s}-sider-light`]:{background:T,[`${s}-sider-trigger`]:{color:ee,background:q},[`${s}-sider-zero-width-trigger`]:{color:ee,background:q,border:`1px solid ${b}`,borderInlineStart:0}}}};const h=c=>{const{antCls:s,componentCls:b,colorText:T,triggerColor:q,footerBg:ee,triggerBg:G,headerHeight:H,headerPadding:$,headerColor:p,footerPadding:Z,triggerHeight:O,zeroTriggerHeight:B,zeroTriggerWidth:P,motionDurationMid:i,motionDurationSlow:a,fontSize:_,borderRadius:j,bodyBg:ne,headerBg:ae,siderBg:oe}=c;return{[b]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:ne,"&, *":{boxSizing:"border-box"},[`&${b}-has-sider`]:{flexDirection:"row",[`> ${b}, > ${b}-content`]:{width:0}},[`${b}-header, &${b}-footer`]:{flex:"0 0 auto"},[`${b}-sider`]:{position:"relative",minWidth:0,background:oe,transition:`all ${i}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${s}-menu${s}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:O},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:O,color:q,lineHeight:`${O}px`,textAlign:"center",background:G,cursor:"pointer",transition:`all ${i}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:H,insetInlineEnd:-P,zIndex:1,width:P,height:B,color:q,fontSize:c.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:oe,borderStartStartRadius:0,borderStartEndRadius:j,borderEndEndRadius:j,borderEndStartRadius:0,cursor:"pointer",transition:`background ${a} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${a}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-P,borderStartStartRadius:j,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:j}}}}},e(c)),{"&-rtl":{direction:"rtl"}}),[`${b}-header`]:{height:H,padding:$,color:p,lineHeight:`${H}px`,background:ae,[`${s}-menu`]:{lineHeight:"inherit"}},[`${b}-footer`]:{padding:Z,color:T,fontSize:_,background:ee},[`${b}-content`]:{flex:"auto",minHeight:0}}};var v=(0,u.Z)("Layout",c=>[h(c)],c=>{const{colorBgLayout:s,controlHeight:b,controlHeightLG:T,colorText:q,controlHeightSM:ee,marginXXS:G,colorTextLightSolid:H,colorBgContainer:$}=c,p=T*1.25;return{colorBgHeader:"#001529",colorBgBody:s,colorBgTrigger:"#002140",bodyBg:s,headerBg:"#001529",headerHeight:b*2,headerPadding:`0 ${p}px`,headerColor:q,footerPadding:`${ee}px ${p}px`,footerBg:s,siderBg:"#001529",triggerHeight:T+G*2,triggerBg:"#002140",triggerColor:H,zeroTriggerWidth:T,zeroTriggerHeight:T,lightSiderBg:$,lightTriggerBg:$,lightTriggerColor:q}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),n=function(c,s){var b={};for(var T in c)Object.prototype.hasOwnProperty.call(c,T)&&s.indexOf(T)<0&&(b[T]=c[T]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,T=Object.getOwnPropertySymbols(c);q<T.length;q++)s.indexOf(T[q])<0&&Object.prototype.propertyIsEnumerable.call(c,T[q])&&(b[T[q]]=c[T[q]]);return b};const r=L.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function o(c){let{suffixCls:s,tagName:b,displayName:T}=c;return q=>L.forwardRef((G,H)=>L.createElement(q,Object.assign({ref:H,suffixCls:s,tagName:b},G)))}const l=L.forwardRef((c,s)=>{const{prefixCls:b,suffixCls:T,className:q,tagName:ee}=c,G=n(c,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:H}=L.useContext(F.E_),$=H("layout",b),[p,Z]=v($),O=T?`${$}-${T}`:$;return p(L.createElement(ee,Object.assign({className:D()(b||O,q,Z),ref:s},G)))}),w=L.forwardRef((c,s)=>{const{direction:b}=L.useContext(F.E_),[T,q]=L.useState([]),{prefixCls:ee,className:G,rootClassName:H,children:$,hasSider:p,tagName:Z,style:O}=c,B=n(c,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),P=(0,V.Z)(B,["suffixCls"]),{getPrefixCls:i,layout:a}=L.useContext(F.E_),_=i("layout",ee),[j,ne]=v(_),ae=D()(_,{[`${_}-has-sider`]:typeof p=="boolean"?p:T.length>0,[`${_}-rtl`]:b==="rtl"},a==null?void 0:a.className,G,H,ne),oe=L.useMemo(()=>({siderHook:{addSider:fe=>{q(Ee=>[].concat((0,x.Z)(Ee),[fe]))},removeSider:fe=>{q(Ee=>Ee.filter(ke=>ke!==fe))}}}),[]);return j(L.createElement(r.Provider,{value:oe},L.createElement(Z,Object.assign({ref:s,className:ae,style:Object.assign(Object.assign({},a==null?void 0:a.style),O)},P),$)))}),k=o({tagName:"div",displayName:"Layout"})(w),E=o({suffixCls:"header",tagName:"header",displayName:"Header"})(l),g=o({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(l),I=o({suffixCls:"content",tagName:"main",displayName:"Content"})(l);var C=k},40875:function(Ue,de,t){"use strict";t.d(de,{J:function(){return F}});var x=t(59301),m=t(33234),D=t(70425),V=function(u,W){var e={};for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&W.indexOf(h)<0&&(e[h]=u[h]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,h=Object.getOwnPropertySymbols(u);v<h.length;v++)W.indexOf(h[v])<0&&Object.prototype.propertyIsEnumerable.call(u,h[v])&&(e[h[v]]=u[h[v]]);return e};const L=x.createContext(null),F=x.forwardRef((u,W)=>{const{children:e}=u,h=V(u,["children"]),v=x.useContext(L),n=x.useMemo(()=>Object.assign(Object.assign({},v),h),[v,h.prefixCls,h.mode,h.selectable]);return x.createElement(L.Provider,{value:n},x.createElement(m.BR,null,(0,D.supportNodeRef)(e)?x.cloneElement(e,{ref:W}):e))});de.Z=L},20834:function(Ue,de,t){"use strict";t.d(de,{default:function(){return pe}});var x=t(15285),m=t(59301),D=t(45818),V=t(92310),L=t.n(V),F=t(36355),u=function(M,U){var A={};for(var R in M)Object.prototype.hasOwnProperty.call(M,R)&&U.indexOf(R)<0&&(A[R]=M[R]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,R=Object.getOwnPropertySymbols(M);te<R.length;te++)U.indexOf(R[te])<0&&Object.prototype.propertyIsEnumerable.call(M,R[te])&&(A[R[te]]=M[R[te]]);return A},e=M=>{const{prefixCls:U,className:A,dashed:R}=M,te=u(M,["prefixCls","className","dashed"]),{getPrefixCls:y}=m.useContext(F.E_),f=y("menu",U),d=L()({[`${f}-item-divider-dashed`]:!!R},A);return m.createElement(x.iz,Object.assign({className:d},te))},h=t(11592),v=t(2738),n=t(6848),r=t(92343),l=(0,m.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),k=M=>{var U;const{className:A,children:R,icon:te,title:y,danger:f}=M,{prefixCls:d,firstLevel:X,direction:K,disableMenuItemTitleTooltip:z,inlineCollapsed:J}=m.useContext(l),ce=Be=>{const $e=m.createElement("span",{className:`${d}-title-content`},R);return(!te||(0,r.l$)(R)&&R.type==="span")&&R&&Be&&X&&typeof R=="string"?m.createElement("div",{className:`${d}-inline-collapsed-noicon`},R.charAt(0)):$e},{siderCollapsed:re}=m.useContext(D.D);let se=y;typeof y=="undefined"?se=X?R:"":y===!1&&(se="");const me={title:se};!re&&!J&&(me.title=null,me.open=!1);const _e=(0,h.Z)(R).length;let ve=m.createElement(x.ck,Object.assign({},(0,v.Z)(M,["title","icon","danger"]),{className:L()({[`${d}-item-danger`]:f,[`${d}-item-only-child`]:(te?_e+1:_e)===1},A),title:typeof y=="string"?y:void 0}),(0,r.Tm)(te,{className:L()((0,r.l$)(te)?(U=te.props)===null||U===void 0?void 0:U.className:"",`${d}-item-icon`)}),ce(J));return z||(ve=m.createElement(n.Z,Object.assign({},me,{placement:K==="rtl"?"left":"right",overlayClassName:`${d}-inline-collapsed-tooltip`}),ve)),ve},g=M=>{var U;const{popupClassName:A,icon:R,title:te,theme:y}=M,f=m.useContext(l),{prefixCls:d,inlineCollapsed:X,theme:K}=f,z=(0,x.Xl)();let J;if(!R)J=X&&!z.length&&te&&typeof te=="string"?m.createElement("div",{className:`${d}-inline-collapsed-noicon`},te.charAt(0)):m.createElement("span",{className:`${d}-title-content`},te);else{const re=(0,r.l$)(te)&&te.type==="span";J=m.createElement(m.Fragment,null,(0,r.Tm)(R,{className:L()((0,r.l$)(R)?(U=R.props)===null||U===void 0?void 0:U.className:"",`${d}-item-icon`)}),re?te:m.createElement("span",{className:`${d}-title-content`},te))}const ce=m.useMemo(()=>Object.assign(Object.assign({},f),{firstLevel:!1}),[f]);return m.createElement(l.Provider,{value:ce},m.createElement(x.Wd,Object.assign({},(0,v.Z)(M,["icon"]),{title:J,popupClassName:L()(d,A,`${d}-${y||K}`)})))},I=t(18785),C=t(70425),c=t(62892),s=t(40875),b=function(M,U){var A={};for(var R in M)Object.prototype.hasOwnProperty.call(M,R)&&U.indexOf(R)<0&&(A[R]=M[R]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,R=Object.getOwnPropertySymbols(M);te<R.length;te++)U.indexOf(R[te])<0&&Object.prototype.propertyIsEnumerable.call(M,R[te])&&(A[R[te]]=M[R[te]]);return A};function T(M){return(M||[]).map((U,A)=>{if(U&&typeof U=="object"){const R=U,{label:te,children:y,key:f,type:d}=R,X=b(R,["label","children","key","type"]),K=f!=null?f:`tmp-${A}`;return y||d==="group"?d==="group"?m.createElement(x.BW,Object.assign({key:K},X,{title:te}),T(y)):m.createElement(g,Object.assign({key:K},X,{title:te}),T(y)):d==="divider"?m.createElement(e,Object.assign({key:K},X)):m.createElement(k,Object.assign({key:K},X),te)}return null}).filter(U=>U)}function q(M){return m.useMemo(()=>M&&T(M),[M])}var ee=t(64993),G=t(17313),H=t(8378),$=t(13826),p=t(29878),Z=t(83116),O=t(37613),P=M=>{const{componentCls:U,motionDurationSlow:A,horizontalLineHeight:R,colorSplit:te,lineWidth:y,lineType:f,itemPaddingInline:d}=M;return{[`${U}-horizontal`]:{lineHeight:R,border:0,borderBottom:`${y}px ${f} ${te}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${U}-item, ${U}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:d},[`> ${U}-item:hover,
|
|
> ${U}-item-active,
|
|
> ${U}-submenu ${U}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${U}-item, ${U}-submenu-title`]:{transition:[`border-color ${A}`,`background ${A}`].join(",")},[`${U}-submenu-arrow`]:{display:"none"}}}},a=M=>{let{componentCls:U,menuArrowOffset:A}=M;return{[`${U}-rtl`]:{direction:"rtl"},[`${U}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${U}-rtl${U}-vertical,
|
|
${U}-submenu-rtl ${U}-vertical`]:{[`${U}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${A})`},"&::after":{transform:`rotate(45deg) translateY(${A})`}}}}};const _=M=>Object.assign({},(0,G.oN)(M));var ne=(M,U)=>{const{componentCls:A,itemColor:R,itemSelectedColor:te,groupTitleColor:y,itemBg:f,subMenuItemBg:d,itemSelectedBg:X,activeBarHeight:K,activeBarWidth:z,activeBarBorderWidth:J,motionDurationSlow:ce,motionEaseInOut:re,motionEaseOut:se,itemPaddingInline:me,motionDurationMid:_e,itemHoverColor:ve,lineType:Be,colorSplit:$e,itemDisabledColor:Ie,dangerItemColor:He,dangerItemHoverColor:et,dangerItemSelectedColor:st,dangerItemActiveBg:nt,dangerItemSelectedBg:Rt,itemHoverBg:Nt,itemActiveBg:Tt,menuSubMenuBg:Mt,horizontalItemSelectedColor:on,horizontalItemSelectedBg:Ct,horizontalItemBorderRadius:tt,horizontalItemHoverBg:$t,popupBg:Vt}=M;return{[`${A}-${U}, ${A}-${U} > ${A}`]:{color:R,background:f,[`&${A}-root:focus-visible`]:Object.assign({},_(M)),[`${A}-item-group-title`]:{color:y},[`${A}-submenu-selected`]:{[`> ${A}-submenu-title`]:{color:te}},[`${A}-item-disabled, ${A}-submenu-disabled`]:{color:`${Ie} !important`},[`${A}-item:not(${A}-item-selected):not(${A}-submenu-selected)`]:{[`&:hover, > ${A}-submenu-title:hover`]:{color:ve}},[`&:not(${A}-horizontal)`]:{[`${A}-item:not(${A}-item-selected)`]:{"&:hover":{backgroundColor:Nt},"&:active":{backgroundColor:Tt}},[`${A}-submenu-title`]:{"&:hover":{backgroundColor:Nt},"&:active":{backgroundColor:Tt}}},[`${A}-item-danger`]:{color:He,[`&${A}-item:hover`]:{[`&:not(${A}-item-selected):not(${A}-submenu-selected)`]:{color:et}},[`&${A}-item:active`]:{background:nt}},[`${A}-item a`]:{"&, &:hover":{color:"inherit"}},[`${A}-item-selected`]:{color:te,[`&${A}-item-danger`]:{color:st},"a, a:hover":{color:"inherit"}},[`& ${A}-item-selected`]:{backgroundColor:X,[`&${A}-item-danger`]:{backgroundColor:Rt}},[`${A}-item, ${A}-submenu-title`]:{[`&:not(${A}-item-disabled):focus-visible`]:Object.assign({},_(M))},[`&${A}-submenu > ${A}`]:{backgroundColor:Mt},[`&${A}-popup > ${A}`]:{backgroundColor:Vt},[`&${A}-horizontal`]:Object.assign(Object.assign({},U==="dark"?{borderBottom:0}:{}),{[`> ${A}-item, > ${A}-submenu`]:{top:J,marginTop:-J,marginBottom:0,borderRadius:tt,"&::after":{position:"absolute",insetInline:me,bottom:0,borderBottom:`${K}px solid transparent`,transition:`border-color ${ce} ${re}`,content:'""'},"&:hover, &-active, &-open":{background:$t,"&::after":{borderBottomWidth:K,borderBottomColor:on}},"&-selected":{color:on,backgroundColor:Ct,"&:hover":{backgroundColor:Ct},"&::after":{borderBottomWidth:K,borderBottomColor:on}}}}),[`&${A}-root`]:{[`&${A}-inline, &${A}-vertical`]:{borderInlineEnd:`${J}px ${Be} ${$e}`}},[`&${A}-inline`]:{[`${A}-sub${A}-inline`]:{background:d},[`${A}-item, ${A}-submenu-title`]:J&&z?{width:`calc(100% + ${J}px)`}:{},[`${A}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${z}px solid ${te}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${_e} ${se}`,`opacity ${_e} ${se}`].join(","),content:'""'},[`&${A}-item-danger`]:{"&::after":{borderInlineEndColor:st}}},[`${A}-selected, ${A}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${_e} ${re}`,`opacity ${_e} ${re}`].join(",")}}}}}};const ae=M=>{const{componentCls:U,itemHeight:A,itemMarginInline:R,padding:te,menuArrowSize:y,marginXS:f,itemMarginBlock:d}=M,X=te+y+f;return{[`${U}-item`]:{position:"relative",overflow:"hidden"},[`${U}-item, ${U}-submenu-title`]:{height:A,lineHeight:`${A}px`,paddingInline:te,overflow:"hidden",textOverflow:"ellipsis",marginInline:R,marginBlock:d,width:`calc(100% - ${R*2}px)`},[`> ${U}-item,
|
|
> ${U}-submenu > ${U}-submenu-title`]:{height:A,lineHeight:`${A}px`},[`${U}-item-group-list ${U}-submenu-title,
|
|
${U}-submenu-title`]:{paddingInlineEnd:X}}};var fe=M=>{const{componentCls:U,iconCls:A,itemHeight:R,colorTextLightSolid:te,dropdownWidth:y,controlHeightLG:f,motionDurationMid:d,motionEaseOut:X,paddingXL:K,itemMarginInline:z,fontSizeLG:J,motionDurationSlow:ce,paddingXS:re,boxShadowSecondary:se,collapsedWidth:me,collapsedIconSize:_e}=M,ve={height:R,lineHeight:`${R}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[U]:{"&-inline, &-vertical":Object.assign({[`&${U}-root`]:{boxShadow:"none"}},ae(M))},[`${U}-submenu-popup`]:{[`${U}-vertical`]:Object.assign(Object.assign({},ae(M)),{boxShadow:se})}},{[`${U}-submenu-popup ${U}-vertical${U}-sub`]:{minWidth:y,maxHeight:`calc(100vh - ${f*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${U}-inline`]:{width:"100%",[`&${U}-root`]:{[`${U}-item, ${U}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ce}`,`background ${ce}`,`padding ${d} ${X}`].join(","),[`> ${U}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${U}-sub${U}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${U}-submenu > ${U}-submenu-title`]:ve,[`& ${U}-item-group-title`]:{paddingInlineStart:K}},[`${U}-item`]:ve}},{[`${U}-inline-collapsed`]:{width:me,[`&${U}-root`]:{[`${U}-item, ${U}-submenu ${U}-submenu-title`]:{[`> ${U}-inline-collapsed-noicon`]:{fontSize:J,textAlign:"center"}}},[`> ${U}-item,
|
|
> ${U}-item-group > ${U}-item-group-list > ${U}-item,
|
|
> ${U}-item-group > ${U}-item-group-list > ${U}-submenu > ${U}-submenu-title,
|
|
> ${U}-submenu > ${U}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${J/2}px - ${z}px)`,textOverflow:"clip",[`
|
|
${U}-submenu-arrow,
|
|
${U}-submenu-expand-icon
|
|
`]:{opacity:0},[`${U}-item-icon, ${A}`]:{margin:0,fontSize:_e,lineHeight:`${R}px`,"+ span":{display:"inline-block",opacity:0}}},[`${U}-item-icon, ${A}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${U}-item-icon, ${A}`]:{display:"none"},"a, a:hover":{color:te}},[`${U}-item-group-title`]:Object.assign(Object.assign({},G.vS),{paddingInline:re})}}]};const Ee=M=>{const{componentCls:U,motionDurationSlow:A,motionDurationMid:R,motionEaseInOut:te,motionEaseOut:y,iconCls:f,iconSize:d,iconMarginInlineEnd:X}=M;return{[`${U}-item, ${U}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${A}`,`background ${A}`,`padding ${A} ${te}`].join(","),[`${U}-item-icon, ${f}`]:{minWidth:d,fontSize:d,transition:[`font-size ${R} ${y}`,`margin ${A} ${te}`,`color ${A}`].join(","),"+ span":{marginInlineStart:X,opacity:1,transition:[`opacity ${A} ${te}`,`margin ${A}`,`color ${A}`].join(",")}},[`${U}-item-icon`]:Object.assign({},(0,G.Ro)()),[`&${U}-item-only-child`]:{[`> ${f}, > ${U}-item-icon`]:{marginInlineEnd:0}}},[`${U}-item-disabled, ${U}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${U}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ke=M=>{const{componentCls:U,motionDurationSlow:A,motionEaseInOut:R,borderRadius:te,menuArrowSize:y,menuArrowOffset:f}=M;return{[`${U}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:M.margin,width:y,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${A} ${R}, opacity ${A}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:y*.6,height:y*.15,backgroundColor:"currentcolor",borderRadius:te,transition:[`background ${A} ${R}`,`transform ${A} ${R}`,`top ${A} ${R}`,`color ${A} ${R}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${f})`},"&::after":{transform:`rotate(-45deg) translateY(${f})`}}}}},Re=M=>{const{antCls:U,componentCls:A,fontSize:R,motionDurationSlow:te,motionDurationMid:y,motionEaseInOut:f,paddingXS:d,padding:X,colorSplit:K,lineWidth:z,zIndexPopup:J,borderRadiusLG:ce,subMenuItemBorderRadius:re,menuArrowSize:se,menuArrowOffset:me,lineType:_e,menuPanelMaskInset:ve,groupTitleLineHeight:Be,groupTitleFontSize:$e}=M;return[{"":{[`${A}`]:Object.assign(Object.assign({},(0,G.dF)()),{"&-hidden":{display:"none"}})},[`${A}-submenu-hidden`]:{display:"none"}},{[A]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,G.Wf)(M)),(0,G.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:R,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${te} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${A}-item`]:{flex:"none"}},[`${A}-item, ${A}-submenu, ${A}-submenu-title`]:{borderRadius:M.itemBorderRadius},[`${A}-item-group-title`]:{padding:`${d}px ${X}px`,fontSize:$e,lineHeight:Be,transition:`all ${te}`},[`&-horizontal ${A}-submenu`]:{transition:[`border-color ${te} ${f}`,`background ${te} ${f}`].join(",")},[`${A}-submenu, ${A}-submenu-inline`]:{transition:[`border-color ${te} ${f}`,`background ${te} ${f}`,`padding ${y} ${f}`].join(",")},[`${A}-submenu ${A}-sub`]:{cursor:"initial",transition:[`background ${te} ${f}`,`padding ${te} ${f}`].join(",")},[`${A}-title-content`]:{transition:`color ${te}`},[`${A}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${A}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:K,borderStyle:_e,borderWidth:0,borderTopWidth:z,marginBlock:z,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ee(M)),{[`${A}-item-group`]:{[`${A}-item-group-list`]:{margin:0,padding:0,[`${A}-item, ${A}-submenu-title`]:{paddingInline:`${R*2}px ${X}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:J,borderRadius:ce,boxShadow:"none",transformOrigin:"0 0",[`&${A}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ve}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ve},"\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:M.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:M.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:M.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:M.paddingXS},[`> ${A}`]:Object.assign(Object.assign(Object.assign({borderRadius:ce},Ee(M)),ke(M)),{[`${A}-item, ${A}-submenu > ${A}-submenu-title`]:{borderRadius:re},[`${A}-submenu-title::after`]:{transition:`transform ${te} ${f}`}})}}),ke(M)),{[`&-inline-collapsed ${A}-submenu-arrow,
|
|
&-inline ${A}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${me})`},"&::after":{transform:`rotate(45deg) translateX(-${me})`}},[`${A}-submenu-open${A}-submenu-inline > ${A}-submenu-title > ${A}-submenu-arrow`]:{transform:`translateY(-${se*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${me})`},"&::before":{transform:`rotate(45deg) translateX(${me})`}}})},{[`${U}-layout-header`]:{[A]:{lineHeight:"inherit"}}}]};var ze=(M,U)=>(0,Z.Z)("Menu",R=>{if(U===!1)return[];const{colorBgElevated:te,colorPrimary:y,colorTextLightSolid:f,controlHeightLG:d,fontSize:X,darkItemColor:K,darkDangerItemColor:z,darkItemBg:J,darkSubMenuItemBg:ce,darkItemSelectedColor:re,darkItemSelectedBg:se,darkDangerItemSelectedBg:me,darkItemHoverBg:_e,darkGroupTitleColor:ve,darkItemHoverColor:Be,darkItemDisabledColor:$e,darkDangerItemHoverColor:Ie,darkDangerItemSelectedColor:He,darkDangerItemActiveBg:et}=R,st=X/7*5,nt=(0,O.TS)(R,{menuArrowSize:st,menuHorizontalHeight:d*1.15,menuArrowOffset:`${st*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:te}),Rt=(0,O.TS)(nt,{itemColor:K,itemHoverColor:Be,groupTitleColor:ve,itemSelectedColor:re,itemBg:J,popupBg:J,subMenuItemBg:ce,itemActiveBg:"transparent",itemSelectedBg:se,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:_e,itemDisabledColor:$e,dangerItemColor:z,dangerItemHoverColor:Ie,dangerItemSelectedColor:He,dangerItemActiveBg:et,dangerItemSelectedBg:me,menuSubMenuBg:ce,horizontalItemSelectedColor:f,horizontalItemSelectedBg:y});return[Re(nt),P(nt),fe(nt),ne(nt,"light"),ne(Rt,"dark"),a(nt),(0,H.Z)(nt),(0,$.oN)(nt,"slide-up"),(0,$.oN)(nt,"slide-down"),(0,p._y)(nt,"zoom-big")]},R=>{const{colorPrimary:te,colorError:y,colorTextDisabled:f,colorErrorBg:d,colorText:X,colorTextDescription:K,colorBgContainer:z,colorFillAlter:J,colorFillContent:ce,lineWidth:re,lineWidthBold:se,controlItemBgActive:me,colorBgTextHover:_e,controlHeightLG:ve,lineHeight:Be,colorBgElevated:$e,marginXXS:Ie,padding:He,fontSize:et,controlHeightSM:st,fontSizeLG:nt,colorTextLightSolid:Rt,colorErrorHover:Nt}=R,Tt=new ee.C(Rt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:R.zIndexPopupBase+50,radiusItem:R.borderRadiusLG,itemBorderRadius:R.borderRadiusLG,radiusSubMenuItem:R.borderRadiusSM,subMenuItemBorderRadius:R.borderRadiusSM,colorItemText:X,itemColor:X,colorItemTextHover:X,itemHoverColor:X,colorItemTextHoverHorizontal:te,horizontalItemHoverColor:te,colorGroupTitle:K,groupTitleColor:K,colorItemTextSelected:te,itemSelectedColor:te,colorItemTextSelectedHorizontal:te,horizontalItemSelectedColor:te,colorItemBg:z,itemBg:z,colorItemBgHover:_e,itemHoverBg:_e,colorItemBgActive:ce,itemActiveBg:me,colorSubItemBg:J,subMenuItemBg:J,colorItemBgSelected:me,itemSelectedBg:me,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:se,activeBarHeight:se,colorActiveBarBorderSize:re,activeBarBorderWidth:re,colorItemTextDisabled:f,itemDisabledColor:f,colorDangerItemText:y,dangerItemColor:y,colorDangerItemTextHover:y,dangerItemHoverColor:y,colorDangerItemTextSelected:y,dangerItemSelectedColor:y,colorDangerItemBgActive:d,dangerItemActiveBg:d,colorDangerItemBgSelected:d,dangerItemSelectedBg:d,itemMarginInline:R.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ve,groupTitleLineHeight:Be,collapsedWidth:ve*2,popupBg:$e,itemMarginBlock:Ie,itemPaddingInline:He,horizontalLineHeight:`${ve*1.15}px`,iconSize:et,iconMarginInlineEnd:st-et,collapsedIconSize:nt,groupTitleFontSize:et,darkItemDisabledColor:new ee.C(Rt).setAlpha(.25).toRgbString(),darkItemColor:Tt,darkDangerItemColor:y,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Rt,darkItemSelectedBg:te,darkDangerItemSelectedBg:y,darkItemHoverBg:"transparent",darkGroupTitleColor:Tt,darkItemHoverColor:Rt,darkDangerItemHoverColor:Nt,darkDangerItemSelectedColor:Rt,darkDangerItemActiveBg:y}},{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"]]})(M),Je=function(M,U){var A={};for(var R in M)Object.prototype.hasOwnProperty.call(M,R)&&U.indexOf(R)<0&&(A[R]=M[R]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,R=Object.getOwnPropertySymbols(M);te<R.length;te++)U.indexOf(R[te])<0&&Object.prototype.propertyIsEnumerable.call(M,R[te])&&(A[R[te]]=M[R[te]]);return A},Ce=(0,m.forwardRef)((M,U)=>{var A,R;const te=m.useContext(s.Z),y=te||{},{getPrefixCls:f,getPopupContainer:d,direction:X,menu:K}=m.useContext(F.E_),z=f(),{prefixCls:J,className:ce,style:re,theme:se="light",expandIcon:me,_internalDisableMenuItemTitleTooltip:_e,inlineCollapsed:ve,siderCollapsed:Be,items:$e,children:Ie,rootClassName:He,mode:et,selectable:st,onClick:nt,overflowedIndicatorPopupClassName:Rt}=M,Nt=Je(M,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Tt=(0,v.Z)(Nt,["collapsedWidth"]),Mt=q($e)||Ie;(A=y.validator)===null||A===void 0||A.call(y,{mode:et});const on=(0,C.useEvent)(function(){var Kn;nt==null||nt.apply(void 0,arguments),(Kn=y.onClick)===null||Kn===void 0||Kn.call(y)}),Ct=y.mode||et,tt=st!=null?st:y.selectable,$t=m.useMemo(()=>Be!==void 0?Be:ve,[ve,Be]),Vt={horizontal:{motionName:`${z}-slide-up`},inline:(0,c.Z)(z),other:{motionName:`${z}-zoom-big`}},je=f("menu",J||y.prefixCls),[qt,gn]=ze(je,!te),sn=L()(`${je}-${se}`,K==null?void 0:K.className,ce);let An;if(typeof me=="function")An=me;else if(me===null||me===!1)An=null;else if(y.expandIcon===null||y.expandIcon===!1)An=null;else{const Kn=me!=null?me:y.expandIcon;An=(0,r.Tm)(Kn,{className:L()(`${je}-submenu-expand-icon`,(0,r.l$)(Kn)?(R=Kn.props)===null||R===void 0?void 0:R.className:"")})}const Ln=m.useMemo(()=>({prefixCls:je,inlineCollapsed:$t||!1,direction:X,firstLevel:!0,theme:se,mode:Ct,disableMenuItemTitleTooltip:_e}),[je,$t,X,_e,se]);return qt(m.createElement(s.Z.Provider,{value:null},m.createElement(l.Provider,{value:Ln},m.createElement(x.ZP,Object.assign({getPopupContainer:d,overflowedIndicator:m.createElement(I.Z,null),overflowedIndicatorPopupClassName:L()(je,`${je}-${se}`,Rt),mode:Ct,selectable:tt,onClick:on},Tt,{inlineCollapsed:$t,style:Object.assign(Object.assign({},K==null?void 0:K.style),re),className:sn,prefixCls:je,direction:X,defaultMotions:Vt,expandIcon:An,ref:U,rootClassName:L()(He,gn)}),Mt))))});const Y=(0,m.forwardRef)((M,U)=>{const A=(0,m.useRef)(null),R=m.useContext(D.D);return(0,m.useImperativeHandle)(U,()=>({menu:A.current,focus:te=>{var y;(y=A.current)===null||y===void 0||y.focus(te)}})),m.createElement(Ce,Object.assign({ref:A},M,R))});Y.Item=k,Y.SubMenu=g,Y.Divider=e,Y.ItemGroup=x.BW;var pe=Y},58421:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return y}});var x=t(72308),m=t(59301),D={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"},V=D,L=t(7657),F=function(d,X){return m.createElement(L.Z,(0,x.Z)({},d,{ref:X,icon:V}))},u=m.forwardRef(F),W=u,e=t(49198),h=t(33853),v=t(38819),n=t(92310),r=t.n(n),o=t(49618),l=t(77321),w=t(96949),k=t(55090),E=t(77205),g=t(38793),I=t(26112),C={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},c=C,s=t(91735),b=function(f){(0,E.Z)(X,f);var d=(0,g.Z)(X);function X(){var K;(0,w.Z)(this,X);for(var z=arguments.length,J=new Array(z),ce=0;ce<z;ce++)J[ce]=arguments[ce];return K=d.call.apply(d,[this].concat(J)),K.state={goInputText:""},K.getValidValue=function(){var re=K.state.goInputText;return!re||Number.isNaN(re)?void 0:Number(re)},K.buildOptionText=function(re){return"".concat(re," ").concat(K.props.locale.items_per_page)},K.changeSize=function(re){K.props.changeSize(Number(re))},K.handleChange=function(re){K.setState({goInputText:re.target.value})},K.handleBlur=function(re){var se=K.props,me=se.goButton,_e=se.quickGo,ve=se.rootPrefixCls,Be=K.state.goInputText;me||Be===""||(K.setState({goInputText:""}),!(re.relatedTarget&&(re.relatedTarget.className.indexOf("".concat(ve,"-item-link"))>=0||re.relatedTarget.className.indexOf("".concat(ve,"-item"))>=0))&&_e(K.getValidValue()))},K.go=function(re){var se=K.state.goInputText;se!==""&&(re.keyCode===c.ENTER||re.type==="click")&&(K.setState({goInputText:""}),K.props.quickGo(K.getValidValue()))},K}return(0,k.Z)(X,[{key:"getPageSizeOptions",value:function(){var z=this.props,J=z.pageSize,ce=z.pageSizeOptions;return ce.some(function(re){return re.toString()===J.toString()})?ce:ce.concat([J.toString()]).sort(function(re,se){var me=Number.isNaN(Number(re))?0:Number(re),_e=Number.isNaN(Number(se))?0:Number(se);return me-_e})}},{key:"render",value:function(){var z=this,J=this.props,ce=J.pageSize,re=J.locale,se=J.rootPrefixCls,me=J.changeSize,_e=J.quickGo,ve=J.goButton,Be=J.selectComponentClass,$e=J.buildOptionText,Ie=J.selectPrefixCls,He=J.disabled,et=this.state.goInputText,st="".concat(se,"-options"),nt=Be,Rt=null,Nt=null,Tt=null;if(!me&&!_e)return null;var Mt=this.getPageSizeOptions();if(me&&nt){var on=Mt.map(function(Ct,tt){return m.createElement(nt.Option,{key:tt,value:Ct.toString()},($e||z.buildOptionText)(Ct))});Rt=m.createElement(nt,{disabled:He,prefixCls:Ie,showSearch:!1,className:"".concat(st,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ce||Mt[0]).toString(),onChange:this.changeSize,getPopupContainer:function(tt){return tt.parentNode},"aria-label":re.page_size,defaultOpen:!1},on)}return _e&&(ve&&(Tt=typeof ve=="boolean"?m.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:He,className:"".concat(st,"-quick-jumper-button")},re.jump_to_confirm):m.createElement("span",{onClick:this.go,onKeyUp:this.go},ve)),Nt=m.createElement("div",{className:"".concat(st,"-quick-jumper")},re.jump_to,m.createElement("input",{disabled:He,type:"text",value:et,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":re.page}),re.page,Tt)),m.createElement("li",{className:"".concat(st)},Rt,Nt)}}]),X}(m.Component);b.defaultProps={pageSizeOptions:["10","20","50","100"]};var T=b,q=function(d){var X,K=d.rootPrefixCls,z=d.page,J=d.active,ce=d.className,re=d.showTitle,se=d.onClick,me=d.onKeyPress,_e=d.itemRender,ve="".concat(K,"-item"),Be=r()(ve,"".concat(ve,"-").concat(z),(X={},(0,o.Z)(X,"".concat(ve,"-active"),J),(0,o.Z)(X,"".concat(ve,"-disabled"),!z),(0,o.Z)(X,d.className,ce),X)),$e=function(){se(z)},Ie=function(st){me(st,se,z)},He=_e(z,"page",m.createElement("a",{rel:"nofollow"},z));return He?m.createElement("li",{title:re?z.toString():null,className:Be,onClick:$e,onKeyPress:Ie,tabIndex:0},He):null},ee=q;function G(){}function H(f){var d=Number(f);return typeof d=="number"&&!Number.isNaN(d)&&isFinite(d)&&Math.floor(d)===d}var $=function(d,X,K){return K};function p(f,d,X){var K=typeof f=="undefined"?d.pageSize:f;return Math.floor((X.total-1)/K)+1}var Z=function(f){(0,E.Z)(X,f);var d=(0,g.Z)(X);function X(K){var z;(0,w.Z)(this,X),z=d.call(this,K),z.paginationNode=m.createRef(),z.getJumpPrevPage=function(){return Math.max(1,z.state.current-(z.props.showLessItems?3:5))},z.getJumpNextPage=function(){return Math.min(p(void 0,z.state,z.props),z.state.current+(z.props.showLessItems?3:5))},z.getItemIcon=function(me,_e){var ve=z.props.prefixCls,Be=me||m.createElement("button",{type:"button","aria-label":_e,className:"".concat(ve,"-item-link")});return typeof me=="function"&&(Be=m.createElement(me,(0,l.Z)({},z.props))),Be},z.isValid=function(me){var _e=z.props.total;return H(me)&&me!==z.state.current&&H(_e)&&_e>0},z.shouldDisplayQuickJumper=function(){var me=z.props,_e=me.showQuickJumper,ve=me.total,Be=z.state.pageSize;return ve<=Be?!1:_e},z.handleKeyDown=function(me){(me.keyCode===c.ARROW_UP||me.keyCode===c.ARROW_DOWN)&&me.preventDefault()},z.handleKeyUp=function(me){var _e=z.getValidValue(me),ve=z.state.currentInputValue;_e!==ve&&z.setState({currentInputValue:_e}),me.keyCode===c.ENTER?z.handleChange(_e):me.keyCode===c.ARROW_UP?z.handleChange(_e-1):me.keyCode===c.ARROW_DOWN&&z.handleChange(_e+1)},z.handleBlur=function(me){var _e=z.getValidValue(me);z.handleChange(_e)},z.changePageSize=function(me){var _e=z.state.current,ve=p(me,z.state,z.props);_e=_e>ve?ve:_e,ve===0&&(_e=z.state.current),typeof me=="number"&&("pageSize"in z.props||z.setState({pageSize:me}),"current"in z.props||z.setState({current:_e,currentInputValue:_e})),z.props.onShowSizeChange(_e,me),"onChange"in z.props&&z.props.onChange&&z.props.onChange(_e,me)},z.handleChange=function(me){var _e=z.props,ve=_e.disabled,Be=_e.onChange,$e=z.state,Ie=$e.pageSize,He=$e.current,et=$e.currentInputValue;if(z.isValid(me)&&!ve){var st=p(void 0,z.state,z.props),nt=me;return me>st?nt=st:me<1&&(nt=1),"current"in z.props||z.setState({current:nt}),nt!==et&&z.setState({currentInputValue:nt}),Be(nt,Ie),nt}return He},z.prev=function(){z.hasPrev()&&z.handleChange(z.state.current-1)},z.next=function(){z.hasNext()&&z.handleChange(z.state.current+1)},z.jumpPrev=function(){z.handleChange(z.getJumpPrevPage())},z.jumpNext=function(){z.handleChange(z.getJumpNextPage())},z.hasPrev=function(){return z.state.current>1},z.hasNext=function(){return z.state.current<p(void 0,z.state,z.props)},z.runIfEnter=function(me,_e){if(me.key==="Enter"||me.charCode===13){for(var ve=arguments.length,Be=new Array(ve>2?ve-2:0),$e=2;$e<ve;$e++)Be[$e-2]=arguments[$e];_e.apply(void 0,Be)}},z.runIfEnterPrev=function(me){z.runIfEnter(me,z.prev)},z.runIfEnterNext=function(me){z.runIfEnter(me,z.next)},z.runIfEnterJumpPrev=function(me){z.runIfEnter(me,z.jumpPrev)},z.runIfEnterJumpNext=function(me){z.runIfEnter(me,z.jumpNext)},z.handleGoTO=function(me){(me.keyCode===c.ENTER||me.type==="click")&&z.handleChange(z.state.currentInputValue)},z.renderPrev=function(me){var _e=z.props,ve=_e.prevIcon,Be=_e.itemRender,$e=Be(me,"prev",z.getItemIcon(ve,"prev page")),Ie=!z.hasPrev();return(0,m.isValidElement)($e)?(0,m.cloneElement)($e,{disabled:Ie}):$e},z.renderNext=function(me){var _e=z.props,ve=_e.nextIcon,Be=_e.itemRender,$e=Be(me,"next",z.getItemIcon(ve,"next page")),Ie=!z.hasNext();return(0,m.isValidElement)($e)?(0,m.cloneElement)($e,{disabled:Ie}):$e};var J=K.onChange!==G,ce="current"in K;ce&&!J&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var re=K.defaultCurrent;"current"in K&&(re=K.current);var se=K.defaultPageSize;return"pageSize"in K&&(se=K.pageSize),re=Math.min(re,p(se,void 0,K)),z.state={current:re,currentInputValue:re,pageSize:se},z}return(0,k.Z)(X,[{key:"componentDidUpdate",value:function(z,J){var ce=this.props.prefixCls;if(J.current!==this.state.current&&this.paginationNode.current){var re=this.paginationNode.current.querySelector(".".concat(ce,"-item-").concat(J.current));if(re&&document.activeElement===re){var se;re==null||(se=re.blur)===null||se===void 0||se.call(re)}}}},{key:"getValidValue",value:function(z){var J=z.target.value,ce=p(void 0,this.state,this.props),re=this.state.currentInputValue,se;return J===""?se=J:Number.isNaN(Number(J))?se=re:J>=ce?se=ce:se=Number(J),se}},{key:"getShowSizeChanger",value:function(){var z=this.props,J=z.showSizeChanger,ce=z.total,re=z.totalBoundaryShowSizeChanger;return typeof J!="undefined"?J:ce>re}},{key:"render",value:function(){var z=this.props,J=z.prefixCls,ce=z.className,re=z.style,se=z.disabled,me=z.hideOnSinglePage,_e=z.total,ve=z.locale,Be=z.showQuickJumper,$e=z.showLessItems,Ie=z.showTitle,He=z.showTotal,et=z.simple,st=z.itemRender,nt=z.showPrevNextJumpers,Rt=z.jumpPrevIcon,Nt=z.jumpNextIcon,Tt=z.selectComponentClass,Mt=z.selectPrefixCls,on=z.pageSizeOptions,Ct=this.state,tt=Ct.current,$t=Ct.pageSize,Vt=Ct.currentInputValue;if(me===!0&&_e<=$t)return null;var je=p(void 0,this.state,this.props),qt=[],gn=null,sn=null,An=null,Ln=null,Kn=null,rr=Be&&Be.goButton,Gt=$e?1:2,St=tt-1>0?tt-1:0,Xt=tt+1<je?tt+1:je,ln=(0,I.Z)(this.props,{aria:!0,data:!0}),Bn=He&&m.createElement("li",{className:"".concat(J,"-total-text")},He(_e,[_e===0?0:(tt-1)*$t+1,tt*$t>_e?_e:tt*$t]));if(et){rr&&(typeof rr=="boolean"?Kn=m.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ve.jump_to_confirm):Kn=m.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},rr),Kn=m.createElement("li",{title:Ie?"".concat(ve.jump_to).concat(tt,"/").concat(je):null,className:"".concat(J,"-simple-pager")},Kn));var Pn=this.renderPrev(St);return m.createElement("ul",(0,x.Z)({className:r()(J,"".concat(J,"-simple"),(0,o.Z)({},"".concat(J,"-disabled"),se),ce),style:re,ref:this.paginationNode},ln),Bn,Pn?m.createElement("li",{title:Ie?ve.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:r()("".concat(J,"-prev"),(0,o.Z)({},"".concat(J,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Pn):null,m.createElement("li",{title:Ie?"".concat(tt,"/").concat(je):null,className:"".concat(J,"-simple-pager")},m.createElement("input",{type:"text",value:Vt,disabled:se,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),m.createElement("span",{className:"".concat(J,"-slash")},"/"),je),m.createElement("li",{title:Ie?ve.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:r()("".concat(J,"-next"),(0,o.Z)({},"".concat(J,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Xt)),Kn)}if(je<=3+Gt*2){var ye={locale:ve,rootPrefixCls:J,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Ie,itemRender:st};je||qt.push(m.createElement(ee,(0,x.Z)({},ye,{key:"noPager",page:1,className:"".concat(J,"-item-disabled")})));for(var he=1;he<=je;he+=1){var Ve=tt===he;qt.push(m.createElement(ee,(0,x.Z)({},ye,{key:he,page:he,active:Ve})))}}else{var Fe=$e?ve.prev_3:ve.prev_5,ht=$e?ve.next_3:ve.next_5,rt=st(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Rt,"prev page")),gt=st(this.getJumpNextPage(),"jump-next",this.getItemIcon(Nt,"next page"));nt&&(gn=rt?m.createElement("li",{title:Ie?Fe:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:r()("".concat(J,"-jump-prev"),(0,o.Z)({},"".concat(J,"-jump-prev-custom-icon"),!!Rt))},rt):null,sn=gt?m.createElement("li",{title:Ie?ht:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:r()("".concat(J,"-jump-next"),(0,o.Z)({},"".concat(J,"-jump-next-custom-icon"),!!Nt))},gt):null),Ln=m.createElement(ee,{locale:ve,last:!0,rootPrefixCls:J,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:je,page:je,active:!1,showTitle:Ie,itemRender:st}),An=m.createElement(ee,{locale:ve,rootPrefixCls:J,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Ie,itemRender:st});var it=Math.max(1,tt-Gt),bt=Math.min(tt+Gt,je);tt-1<=Gt&&(bt=1+Gt*2),je-tt<=Gt&&(it=je-Gt*2);for(var xt=it;xt<=bt;xt+=1){var wt=tt===xt;qt.push(m.createElement(ee,{locale:ve,rootPrefixCls:J,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:xt,page:xt,active:wt,showTitle:Ie,itemRender:st}))}tt-1>=Gt*2&&tt!==3&&(qt[0]=(0,m.cloneElement)(qt[0],{className:"".concat(J,"-item-after-jump-prev")}),qt.unshift(gn)),je-tt>=Gt*2&&tt!==je-2&&(qt[qt.length-1]=(0,m.cloneElement)(qt[qt.length-1],{className:"".concat(J,"-item-before-jump-next")}),qt.push(sn)),it!==1&&qt.unshift(An),bt!==je&&qt.push(Ln)}var Ze=!this.hasPrev()||!je,Ke=!this.hasNext()||!je,Ge=this.renderPrev(St),at=this.renderNext(Xt);return m.createElement("ul",(0,x.Z)({className:r()(J,ce,(0,o.Z)({},"".concat(J,"-disabled"),se)),style:re,ref:this.paginationNode},ln),Bn,Ge?m.createElement("li",{title:Ie?ve.prev_page:null,onClick:this.prev,tabIndex:Ze?null:0,onKeyPress:this.runIfEnterPrev,className:r()("".concat(J,"-prev"),(0,o.Z)({},"".concat(J,"-disabled"),Ze)),"aria-disabled":Ze},Ge):null,qt,at?m.createElement("li",{title:Ie?ve.next_page:null,onClick:this.next,tabIndex:Ke?null:0,onKeyPress:this.runIfEnterNext,className:r()("".concat(J,"-next"),(0,o.Z)({},"".concat(J,"-disabled"),Ke)),"aria-disabled":Ke},at):null,m.createElement(T,{disabled:se,locale:ve,rootPrefixCls:J,selectComponentClass:Tt,selectPrefixCls:Mt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:tt,pageSize:$t,pageSizeOptions:on,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:rr}))}}],[{key:"getDerivedStateFromProps",value:function(z,J){var ce={};if("current"in z&&(ce.current=z.current,z.current!==J.current&&(ce.currentInputValue=ce.current)),"pageSize"in z&&z.pageSize!==J.pageSize){var re=J.current,se=p(z.pageSize,J,z);re=re>se?se:re,"current"in z||(ce.current=re,ce.currentInputValue=re),ce.pageSize=z.pageSize}return ce}}]),X}(m.Component);Z.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:G,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:G,locale:s.Z,style:{},itemRender:$,totalBoundaryShowSizeChanger:50};var O=Z,B=t(22075),P=t(36355),i=t(19716),a=t(8628),_=t(9763),j=t(57809);const ne=f=>m.createElement(j.default,Object.assign({},f,{showSearch:!0,size:"small"})),ae=f=>m.createElement(j.default,Object.assign({},f,{showSearch:!0,size:"middle"}));ne.Option=j.default.Option,ae.Option=j.default.Option;var oe=t(9937),fe=t(17313),Ee=t(83116),ke=t(37613);const Re=f=>{const{componentCls:d}=f;return{[`${d}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${d}-item-link`]:{color:f.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${d}-item-link`]:{color:f.colorTextDisabled,cursor:"not-allowed"}}},[`&${d}-disabled`]:{cursor:"not-allowed",[`${d}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:f.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:f.colorBorder,backgroundColor:f.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:f.itemActiveBgDisabled},a:{color:f.itemActiveColorDisabled}}},[`${d}-item-link`]:{color:f.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${d}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${d}-simple-pager`]:{color:f.colorTextDisabled},[`${d}-jump-prev, ${d}-jump-next`]:{[`${d}-item-link-icon`]:{opacity:0},[`${d}-item-ellipsis`]:{opacity:1}}},[`&${d}-simple`]:{[`${d}-prev, ${d}-next`]:{[`&${d}-disabled ${d}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ze=f=>{const{componentCls:d}=f;return{[`&${d}-mini ${d}-total-text, &${d}-mini ${d}-simple-pager`]:{height:f.itemSizeSM,lineHeight:`${f.itemSizeSM}px`},[`&${d}-mini ${d}-item`]:{minWidth:f.itemSizeSM,height:f.itemSizeSM,margin:0,lineHeight:`${f.itemSizeSM-2}px`},[`&${d}-mini:not(${d}-disabled) ${d}-item:not(${d}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:f.colorBgTextHover},"&:active":{backgroundColor:f.colorBgTextActive}},[`&${d}-mini ${d}-prev, &${d}-mini ${d}-next`]:{minWidth:f.itemSizeSM,height:f.itemSizeSM,margin:0,lineHeight:`${f.itemSizeSM}px`},[`&${d}-mini:not(${d}-disabled)`]:{[`${d}-prev, ${d}-next`]:{[`&:hover ${d}-item-link`]:{backgroundColor:f.colorBgTextHover},[`&:active ${d}-item-link`]:{backgroundColor:f.colorBgTextActive},[`&${d}-disabled:hover ${d}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${d}-mini ${d}-prev ${d}-item-link,
|
|
&${d}-mini ${d}-next ${d}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:f.itemSizeSM,lineHeight:`${f.itemSizeSM}px`}},[`&${d}-mini ${d}-jump-prev, &${d}-mini ${d}-jump-next`]:{height:f.itemSizeSM,marginInlineEnd:0,lineHeight:`${f.itemSizeSM}px`},[`&${d}-mini ${d}-options`]:{marginInlineStart:f.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:f.miniOptionsSizeChangerTop},"&-quick-jumper":{height:f.itemSizeSM,lineHeight:`${f.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,oe.x0)(f)),{width:f.paginationMiniQuickJumperInputWidth,height:f.controlHeightSM})}}}},Je=f=>{const{componentCls:d}=f;return{[`
|
|
&${d}-simple ${d}-prev,
|
|
&${d}-simple ${d}-next
|
|
`]:{height:f.itemSizeSM,lineHeight:`${f.itemSizeSM}px`,verticalAlign:"top",[`${d}-item-link`]:{height:f.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:f.colorBgTextHover},"&:active":{backgroundColor:f.colorBgTextActive},"&::after":{height:f.itemSizeSM,lineHeight:`${f.itemSizeSM}px`}}},[`&${d}-simple ${d}-simple-pager`]:{display:"inline-block",height:f.itemSizeSM,marginInlineEnd:f.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:f.marginXS,padding:`0 ${f.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:f.itemInputBg,border:`${f.lineWidth}px ${f.lineType} ${f.colorBorder}`,borderRadius:f.borderRadius,outline:"none",transition:`border-color ${f.motionDurationMid}`,color:"inherit","&:hover":{borderColor:f.colorPrimary},"&:focus":{borderColor:f.colorPrimaryHover,boxShadow:`${f.inputOutlineOffset}px 0 ${f.controlOutlineWidth}px ${f.controlOutline}`},"&[disabled]":{color:f.colorTextDisabled,backgroundColor:f.colorBgContainerDisabled,borderColor:f.colorBorder,cursor:"not-allowed"}}}}},Oe=f=>{const{componentCls:d}=f;return{[`${d}-jump-prev, ${d}-jump-next`]:{outline:0,[`${d}-item-container`]:{position:"relative",[`${d}-item-link-icon`]:{color:f.colorPrimary,fontSize:f.fontSizeSM,opacity:0,transition:`all ${f.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${d}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:f.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:f.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:f.paginationEllipsisTextIndent,opacity:1,transition:`all ${f.motionDurationMid}`}},"&:hover":{[`${d}-item-link-icon`]:{opacity:1},[`${d}-item-ellipsis`]:{opacity:0}}},[`
|
|
${d}-prev,
|
|
${d}-jump-prev,
|
|
${d}-jump-next
|
|
`]:{marginInlineEnd:f.marginXS},[`
|
|
${d}-prev,
|
|
${d}-next,
|
|
${d}-jump-prev,
|
|
${d}-jump-next
|
|
`]:{display:"inline-block",minWidth:f.itemSize,height:f.itemSize,color:f.colorText,fontFamily:f.fontFamily,lineHeight:`${f.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:f.borderRadius,cursor:"pointer",transition:`all ${f.motionDurationMid}`},[`${d}-prev, ${d}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:f.colorText,cursor:"pointer",userSelect:"none"},[`${d}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:f.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${f.lineWidth}px ${f.lineType} transparent`,borderRadius:f.borderRadius,outline:"none",transition:`all ${f.motionDurationMid}`},[`&:hover ${d}-item-link`]:{backgroundColor:f.colorBgTextHover},[`&:active ${d}-item-link`]:{backgroundColor:f.colorBgTextActive},[`&${d}-disabled:hover`]:{[`${d}-item-link`]:{backgroundColor:"transparent"}}},[`${d}-slash`]:{marginInlineEnd:f.paginationSlashMarginInlineEnd,marginInlineStart:f.paginationSlashMarginInlineStart},[`${d}-options`]:{display:"inline-block",marginInlineStart:f.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:f.controlHeight,marginInlineStart:f.marginXS,lineHeight:`${f.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,oe.ik)(f)),{width:f.controlHeightLG*1.25,height:f.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:f.marginXS,marginInlineEnd:f.marginXS})}}}},Ce=f=>{const{componentCls:d}=f;return{[`${d}-item`]:{display:"inline-block",minWidth:f.itemSize,height:f.itemSize,marginInlineEnd:f.marginXS,fontFamily:f.fontFamily,lineHeight:`${f.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${f.lineWidth}px ${f.lineType} transparent`,borderRadius:f.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${f.paginationItemPaddingInline}px`,color:f.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${d}-item-active)`]:{"&:hover":{transition:`all ${f.motionDurationMid}`,backgroundColor:f.colorBgTextHover},"&:active":{backgroundColor:f.colorBgTextActive}},"&-active":{fontWeight:f.fontWeightStrong,backgroundColor:f.itemActiveBg,borderColor:f.colorPrimary,a:{color:f.colorPrimary},"&:hover":{borderColor:f.colorPrimaryHover},"&:hover a":{color:f.colorPrimaryHover}}}}},Y=f=>{const{componentCls:d}=f;return{[d]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,fe.Wf)(f)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${d}-total-text`]:{display:"inline-block",height:f.itemSize,marginInlineEnd:f.marginXS,lineHeight:`${f.itemSize-2}px`,verticalAlign:"middle"}}),Ce(f)),Oe(f)),Je(f)),ze(f)),Re(f)),{[`@media only screen and (max-width: ${f.screenLG}px)`]:{[`${d}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${f.screenSM}px)`]:{[`${d}-options`]:{display:"none"}}}),[`&${f.componentCls}-rtl`]:{direction:"rtl"}}},pe=f=>{const{componentCls:d}=f;return{[`${d}${d}-disabled:not(${d}-mini)`]:{"&, &:hover":{[`${d}-item-link`]:{borderColor:f.colorBorder}},"&:focus-visible":{[`${d}-item-link`]:{borderColor:f.colorBorder}},[`${d}-item, ${d}-item-link`]:{backgroundColor:f.colorBgContainerDisabled,borderColor:f.colorBorder,[`&:hover:not(${d}-item-active)`]:{backgroundColor:f.colorBgContainerDisabled,borderColor:f.colorBorder,a:{color:f.colorTextDisabled}},[`&${d}-item-active`]:{backgroundColor:f.itemActiveBgDisabled}},[`${d}-prev, ${d}-next`]:{"&:hover button":{backgroundColor:f.colorBgContainerDisabled,borderColor:f.colorBorder,color:f.colorTextDisabled},[`${d}-item-link`]:{backgroundColor:f.colorBgContainerDisabled,borderColor:f.colorBorder}}},[`${d}:not(${d}-mini)`]:{[`${d}-prev, ${d}-next`]:{"&:hover button":{borderColor:f.colorPrimaryHover,backgroundColor:f.itemBg},[`${d}-item-link`]:{backgroundColor:f.itemLinkBg,borderColor:f.colorBorder},[`&:hover ${d}-item-link`]:{borderColor:f.colorPrimary,backgroundColor:f.itemBg,color:f.colorPrimary},[`&${d}-disabled`]:{[`${d}-item-link`]:{borderColor:f.colorBorder,color:f.colorTextDisabled}}},[`${d}-item`]:{backgroundColor:f.itemBg,border:`${f.lineWidth}px ${f.lineType} ${f.colorBorder}`,[`&:hover:not(${d}-item-active)`]:{borderColor:f.colorPrimary,backgroundColor:f.itemBg,a:{color:f.colorPrimary}},"&-active":{borderColor:f.colorPrimary}}}}},M=f=>{const{componentCls:d}=f;return{[`${d}:not(${d}-disabled)`]:{[`${d}-item`]:Object.assign({},(0,fe.Qy)(f)),[`${d}-jump-prev, ${d}-jump-next`]:{"&:focus-visible":Object.assign({[`${d}-item-link-icon`]:{opacity:1},[`${d}-item-ellipsis`]:{opacity:0}},(0,fe.oN)(f))},[`${d}-prev, ${d}-next`]:{[`&:focus-visible ${d}-item-link`]:Object.assign({},(0,fe.oN)(f))}}}};var U=(0,Ee.Z)("Pagination",f=>{const d=(0,ke.TS)(f,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:f.marginXXS/2,paginationMiniQuickJumperInputWidth:f.controlHeightLG*1.1,paginationItemPaddingInline:f.marginXXS*1.5,paginationEllipsisLetterSpacing:f.marginXXS/2,paginationSlashMarginInlineStart:f.marginXXS,paginationSlashMarginInlineEnd:f.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,oe.e5)(f),(0,oe.TM)(f));return[Y(d),M(d),f.wireframe&&pe(d)]},f=>({itemBg:f.colorBgContainer,itemSize:f.controlHeight,itemSizeSM:f.controlHeightSM,itemActiveBg:f.colorBgContainer,itemLinkBg:f.colorBgContainer,itemActiveColorDisabled:f.colorTextDisabled,itemActiveBgDisabled:f.controlItemBgActiveDisabled,itemInputBg:f.colorBgContainer,miniOptionsSizeChangerTop:0})),A=function(f,d){var X={};for(var K in f)Object.prototype.hasOwnProperty.call(f,K)&&d.indexOf(K)<0&&(X[K]=f[K]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,K=Object.getOwnPropertySymbols(f);z<K.length;z++)d.indexOf(K[z])<0&&Object.prototype.propertyIsEnumerable.call(f,K[z])&&(X[K[z]]=f[K[z]]);return X},te=f=>{const{prefixCls:d,selectPrefixCls:X,className:K,rootClassName:z,style:J,size:ce,locale:re,selectComponentClass:se,responsive:me,showSizeChanger:_e}=f,ve=A(f,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Be}=(0,a.Z)(me),{getPrefixCls:$e,direction:Ie,pagination:He={}}=m.useContext(P.E_),et=$e("pagination",d),[st,nt]=U(et),Rt=_e!=null?_e:He.showSizeChanger,Nt=m.useMemo(()=>{const je=m.createElement("span",{className:`${et}-item-ellipsis`},"\u2022\u2022\u2022"),qt=m.createElement("button",{className:`${et}-item-link`,type:"button",tabIndex:-1},Ie==="rtl"?m.createElement(v.Z,null):m.createElement(h.Z,null)),gn=m.createElement("button",{className:`${et}-item-link`,type:"button",tabIndex:-1},Ie==="rtl"?m.createElement(h.Z,null):m.createElement(v.Z,null)),sn=m.createElement("a",{className:`${et}-item-link`},m.createElement("div",{className:`${et}-item-container`},Ie==="rtl"?m.createElement(e.Z,{className:`${et}-item-link-icon`}):m.createElement(W,{className:`${et}-item-link-icon`}),je)),An=m.createElement("a",{className:`${et}-item-link`},m.createElement("div",{className:`${et}-item-container`},Ie==="rtl"?m.createElement(W,{className:`${et}-item-link-icon`}):m.createElement(e.Z,{className:`${et}-item-link-icon`}),je));return{prevIcon:qt,nextIcon:gn,jumpPrevIcon:sn,jumpNextIcon:An}},[Ie,et]),[Tt]=(0,_.Z)("Pagination",B.Z),Mt=Object.assign(Object.assign({},Tt),re),on=(0,i.Z)(ce),Ct=on==="small"||!!(Be&&!on&&me),tt=$e("select",X),$t=r()({[`${et}-mini`]:Ct,[`${et}-rtl`]:Ie==="rtl"},He==null?void 0:He.className,K,z,nt),Vt=Object.assign(Object.assign({},He==null?void 0:He.style),J);return st(m.createElement(O,Object.assign({},Nt,ve,{style:Vt,prefixCls:et,selectPrefixCls:tt,className:$t,selectComponentClass:se||(Ct?ne:ae),locale:Mt,showSizeChanger:Rt})))},y=te},5112:function(Ue,de,t){"use strict";t.d(de,{ZP:function(){return a}});var x=t(92310),m=t.n(x),D=t(18929),V=t(26112),L=t(59301),F=t(36355),u=t(19716);const W=L.createContext(null),e=W.Provider;var h=W;const v=L.createContext(null),n=v.Provider;var r=t(5630),o=t(8654),l=t(1684),w=t(32441),k=t(17313),E=t(83116),g=t(37613);const I=_=>{const{componentCls:j,antCls:ne}=_,ae=`${j}-group`;return{[ae]:Object.assign(Object.assign({},(0,k.Wf)(_)),{display:"inline-block",fontSize:0,[`&${ae}-rtl`]:{direction:"rtl"},[`${ne}-badge ${ne}-badge-count`]:{zIndex:1},[`> ${ne}-badge:not(:first-child) > ${ne}-button-wrapper`]:{borderInlineStart:"none"}})}},C=_=>{const{componentCls:j,wrapperMarginInlineEnd:ne,colorPrimary:ae,radioSize:oe,motionDurationSlow:fe,motionDurationMid:Ee,motionEaseInOutCirc:ke,colorBgContainer:Re,colorBorder:ze,lineWidth:Je,dotSize:Oe,colorBgContainerDisabled:Ce,colorTextDisabled:Y,paddingXS:pe,dotColorDisabled:M,lineType:U,radioDotDisabledSize:A,wireframe:R,colorWhite:te}=_,y=`${j}-inner`;return{[`${j}-wrapper`]:Object.assign(Object.assign({},(0,k.Wf)(_)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:ne,cursor:"pointer",[`&${j}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:_.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${j}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Je}px ${U} ${ae}`,borderRadius:"50%",visibility:"hidden",content:'""'},[j]:Object.assign(Object.assign({},(0,k.Wf)(_)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${j}-wrapper:hover &,
|
|
&:hover ${y}`]:{borderColor:ae},[`${j}-input:focus-visible + ${y}`]:Object.assign({},(0,k.oN)(_)),[`${j}:hover::after, ${j}-wrapper:hover &::after`]:{visibility:"visible"},[`${j}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:oe,height:oe,marginBlockStart:oe/-2,marginInlineStart:oe/-2,backgroundColor:R?ae:te,borderBlockStart:0,borderInlineStart:0,borderRadius:oe,transform:"scale(0)",opacity:0,transition:`all ${fe} ${ke}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:oe,height:oe,backgroundColor:Re,borderColor:ze,borderStyle:"solid",borderWidth:Je,borderRadius:"50%",transition:`all ${Ee}`},[`${j}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${j}-checked`]:{[y]:{borderColor:ae,backgroundColor:R?Re:ae,"&::after":{transform:`scale(${Oe/oe})`,opacity:1,transition:`all ${fe} ${ke}`}}},[`${j}-disabled`]:{cursor:"not-allowed",[y]:{backgroundColor:Ce,borderColor:ze,cursor:"not-allowed","&::after":{backgroundColor:M}},[`${j}-input`]:{cursor:"not-allowed"},[`${j}-disabled + span`]:{color:Y,cursor:"not-allowed"},[`&${j}-checked`]:{[y]:{"&::after":{transform:`scale(${A/oe})`}}}},[`span${j} + *`]:{paddingInlineStart:pe,paddingInlineEnd:pe}})}},c=_=>{const{buttonColor:j,controlHeight:ne,componentCls:ae,lineWidth:oe,lineType:fe,colorBorder:Ee,motionDurationSlow:ke,motionDurationMid:Re,buttonPaddingInline:ze,fontSize:Je,buttonBg:Oe,fontSizeLG:Ce,controlHeightLG:Y,controlHeightSM:pe,paddingXS:M,borderRadius:U,borderRadiusSM:A,borderRadiusLG:R,buttonCheckedBg:te,buttonSolidCheckedColor:y,colorTextDisabled:f,colorBgContainerDisabled:d,buttonCheckedBgDisabled:X,buttonCheckedColorDisabled:K,colorPrimary:z,colorPrimaryHover:J,colorPrimaryActive:ce,buttonSolidCheckedBg:re,buttonSolidCheckedHoverBg:se,buttonSolidCheckedActiveBg:me}=_;return{[`${ae}-button-wrapper`]:{position:"relative",display:"inline-block",height:ne,margin:0,paddingInline:ze,paddingBlock:0,color:j,fontSize:Je,lineHeight:`${ne-oe*2}px`,background:Oe,border:`${oe}px ${fe} ${Ee}`,borderBlockStartWidth:oe+.02,borderInlineStartWidth:0,borderInlineEndWidth:oe,cursor:"pointer",transition:[`color ${Re}`,`background ${Re}`,`box-shadow ${Re}`].join(","),a:{color:j},[`> ${ae}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-oe,insetInlineStart:-oe,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:oe,paddingInline:0,backgroundColor:Ee,transition:`background-color ${ke}`,content:'""'}},"&:first-child":{borderInlineStart:`${oe}px ${fe} ${Ee}`,borderStartStartRadius:U,borderEndStartRadius:U},"&:last-child":{borderStartEndRadius:U,borderEndEndRadius:U},"&:first-child:last-child":{borderRadius:U},[`${ae}-group-large &`]:{height:Y,fontSize:Ce,lineHeight:`${Y-oe*2}px`,"&:first-child":{borderStartStartRadius:R,borderEndStartRadius:R},"&:last-child":{borderStartEndRadius:R,borderEndEndRadius:R}},[`${ae}-group-small &`]:{height:pe,paddingInline:M-oe,paddingBlock:0,lineHeight:`${pe-oe*2}px`,"&:first-child":{borderStartStartRadius:A,borderEndStartRadius:A},"&:last-child":{borderStartEndRadius:A,borderEndEndRadius:A}},"&:hover":{position:"relative",color:z},"&:has(:focus-visible)":Object.assign({},(0,k.oN)(_)),[`${ae}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${ae}-button-wrapper-disabled)`]:{zIndex:1,color:z,background:te,borderColor:z,"&::before":{backgroundColor:z},"&:first-child":{borderColor:z},"&:hover":{color:J,borderColor:J,"&::before":{backgroundColor:J}},"&:active":{color:ce,borderColor:ce,"&::before":{backgroundColor:ce}}},[`${ae}-group-solid &-checked:not(${ae}-button-wrapper-disabled)`]:{color:y,background:re,borderColor:re,"&:hover":{color:y,background:se,borderColor:se},"&:active":{color:y,background:me,borderColor:me}},"&-disabled":{color:f,backgroundColor:d,borderColor:Ee,cursor:"not-allowed","&:first-child, &:hover":{color:f,backgroundColor:d,borderColor:Ee}},[`&-disabled${ae}-button-wrapper-checked`]:{color:K,backgroundColor:X,borderColor:Ee,boxShadow:"none"}}}},s=_=>_-4*2;var b=(0,E.Z)("Radio",_=>{const{controlOutline:j,controlOutlineWidth:ne,radioSize:ae}=_,oe=`0 0 0 ${ne}px ${j}`,fe=oe,Ee=s(ae),ke=(0,g.TS)(_,{radioDotDisabledSize:Ee,radioFocusShadow:oe,radioButtonFocusShadow:fe});return[I(ke),C(ke),c(ke)]},_=>{const{wireframe:j,padding:ne,marginXS:ae,lineWidth:oe,fontSizeLG:fe,colorText:Ee,colorBgContainer:ke,colorTextDisabled:Re,controlItemBgActiveDisabled:ze,colorTextLightSolid:Je,colorPrimary:Oe,colorPrimaryHover:Ce,colorPrimaryActive:Y}=_,pe=4,M=fe,U=j?s(M):M-(pe+oe)*2;return{radioSize:M,dotSize:U,dotColorDisabled:Re,buttonSolidCheckedColor:Je,buttonSolidCheckedBg:Oe,buttonSolidCheckedHoverBg:Ce,buttonSolidCheckedActiveBg:Y,buttonBg:ke,buttonCheckedBg:ke,buttonColor:Ee,buttonCheckedBgDisabled:ze,buttonCheckedColorDisabled:Re,buttonPaddingInline:ne-oe,wrapperMarginInlineEnd:ae}}),T=t(14088),q=t(4572),ee=function(_,j){var ne={};for(var ae in _)Object.prototype.hasOwnProperty.call(_,ae)&&j.indexOf(ae)<0&&(ne[ae]=_[ae]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,ae=Object.getOwnPropertySymbols(_);oe<ae.length;oe++)j.indexOf(ae[oe])<0&&Object.prototype.propertyIsEnumerable.call(_,ae[oe])&&(ne[ae[oe]]=_[ae[oe]]);return ne};const G=(_,j)=>{var ne,ae;const oe=L.useContext(h),fe=L.useContext(v),{getPrefixCls:Ee,direction:ke,radio:Re}=L.useContext(F.E_),ze=L.useRef(null),Je=(0,o.sQ)(j,ze),{isFormItemInput:Oe}=L.useContext(w.aM),Ce=ce=>{var re,se;(re=_.onChange)===null||re===void 0||re.call(_,ce),(se=oe==null?void 0:oe.onChange)===null||se===void 0||se.call(oe,ce)},{prefixCls:Y,className:pe,rootClassName:M,children:U,style:A}=_,R=ee(_,["prefixCls","className","rootClassName","children","style"]),te=Ee("radio",Y),y=((oe==null?void 0:oe.optionType)||fe)==="button",f=y?`${te}-button`:te,[d,X]=b(te),K=Object.assign({},R),z=L.useContext(l.Z);oe&&(K.name=oe.name,K.onChange=Ce,K.checked=_.value===oe.value,K.disabled=(ne=K.disabled)!==null&&ne!==void 0?ne:oe.disabled),K.disabled=(ae=K.disabled)!==null&&ae!==void 0?ae:z;const J=m()(`${f}-wrapper`,{[`${f}-wrapper-checked`]:K.checked,[`${f}-wrapper-disabled`]:K.disabled,[`${f}-wrapper-rtl`]:ke==="rtl",[`${f}-wrapper-in-form-item`]:Oe},Re==null?void 0:Re.className,pe,M,X);return d(L.createElement(T.Z,{component:"Radio",disabled:K.disabled},L.createElement("label",{className:J,style:Object.assign(Object.assign({},Re==null?void 0:Re.style),A),onMouseEnter:_.onMouseEnter,onMouseLeave:_.onMouseLeave},L.createElement(r.Z,Object.assign({},K,{className:m()(K.className,!y&&q.A),type:"radio",prefixCls:f,ref:Je})),U!==void 0?L.createElement("span",null,U):null)))};var $=L.forwardRef(G);const p=L.forwardRef((_,j)=>{const{getPrefixCls:ne,direction:ae}=L.useContext(F.E_),[oe,fe]=(0,D.Z)(_.defaultValue,{value:_.value}),Ee=re=>{const se=oe,me=re.target.value;"value"in _||fe(me);const{onChange:_e}=_;_e&&me!==se&&_e(re)},{prefixCls:ke,className:Re,rootClassName:ze,options:Je,buttonStyle:Oe="outline",disabled:Ce,children:Y,size:pe,style:M,id:U,onMouseEnter:A,onMouseLeave:R,onFocus:te,onBlur:y}=_,f=ne("radio",ke),d=`${f}-group`,[X,K]=b(f);let z=Y;Je&&Je.length>0&&(z=Je.map(re=>typeof re=="string"||typeof re=="number"?L.createElement($,{key:re.toString(),prefixCls:f,disabled:Ce,value:re,checked:oe===re},re):L.createElement($,{key:`radio-group-value-options-${re.value}`,prefixCls:f,disabled:re.disabled||Ce,value:re.value,checked:oe===re.value,title:re.title,style:re.style},re.label)));const J=(0,u.Z)(pe),ce=m()(d,`${d}-${Oe}`,{[`${d}-${J}`]:J,[`${d}-rtl`]:ae==="rtl"},Re,ze,K);return X(L.createElement("div",Object.assign({},(0,V.Z)(_,{aria:!0,data:!0}),{className:ce,style:M,onMouseEnter:A,onMouseLeave:R,onFocus:te,onBlur:y,id:U,ref:j}),L.createElement(e,{value:{onChange:Ee,value:oe,disabled:_.disabled,name:_.name,optionType:_.optionType}},z)))});var Z=L.memo(p),O=function(_,j){var ne={};for(var ae in _)Object.prototype.hasOwnProperty.call(_,ae)&&j.indexOf(ae)<0&&(ne[ae]=_[ae]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,ae=Object.getOwnPropertySymbols(_);oe<ae.length;oe++)j.indexOf(ae[oe])<0&&Object.prototype.propertyIsEnumerable.call(_,ae[oe])&&(ne[ae[oe]]=_[ae[oe]]);return ne};const B=(_,j)=>{const{getPrefixCls:ne}=L.useContext(F.E_),{prefixCls:ae}=_,oe=O(_,["prefixCls"]),fe=ne("radio",ae);return L.createElement(n,{value:"button"},L.createElement($,Object.assign({prefixCls:fe},oe,{type:"radio",ref:j})))};var P=L.forwardRef(B);const i=$;i.Button=P,i.Group=Z,i.__ANT_RADIO=!0;var a=i},57809:function(Ue,de,t){"use strict";var x=t(92310),m=t.n(x),D=t(77861),V=t(2738),L=t(59301),F=t(53487),u=t(62892),W=t(19080),e=t(36355),h=t(1684),v=t(93891),n=t(19716),r=t(32441),o=t(33234),l=t(14154),w=t(58582),k=t(84443),E=t(66339),g=function(b,T){var q={};for(var ee in b)Object.prototype.hasOwnProperty.call(b,ee)&&T.indexOf(ee)<0&&(q[ee]=b[ee]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,ee=Object.getOwnPropertySymbols(b);G<ee.length;G++)T.indexOf(ee[G])<0&&Object.prototype.propertyIsEnumerable.call(b,ee[G])&&(q[ee[G]]=b[ee[G]]);return q};const I="SECRET_COMBOBOX_MODE_DO_NOT_USE",C=(b,T)=>{var q,{prefixCls:ee,bordered:G=!0,className:H,rootClassName:$,getPopupContainer:p,popupClassName:Z,dropdownClassName:O,listHeight:B=256,placement:P,listItemHeight:i=24,size:a,disabled:_,notFoundContent:j,status:ne,builtinPlacements:ae,dropdownMatchSelectWidth:oe,popupMatchSelectWidth:fe,direction:Ee,style:ke,allowClear:Re}=b,ze=g(b,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Je,getPrefixCls:Oe,renderEmpty:Ce,direction:Y,virtual:pe,popupMatchSelectWidth:M,popupOverflow:U,select:A}=L.useContext(e.E_),R=Oe("select",ee),te=Oe(),y=Ee!=null?Ee:Y,{compactSize:f,compactItemClassnames:d}=(0,o.ri)(R,y),[X,K]=(0,l.Z)(R),z=L.useMemo(()=>{const{mode:Vt}=ze;if(Vt!=="combobox")return Vt===I?"combobox":Vt},[ze.mode]),J=z==="multiple"||z==="tags",ce=(0,k.Z)(ze.suffixIcon,ze.showArrow),re=(q=fe!=null?fe:oe)!==null&&q!==void 0?q:M,{status:se,hasFeedback:me,isFormItemInput:_e,feedbackIcon:ve}=L.useContext(r.aM),Be=(0,W.F)(se,ne);let $e;j!==void 0?$e=j:z==="combobox"?$e=null:$e=(Ce==null?void 0:Ce("Select"))||L.createElement(v.Z,{componentName:"Select"});const{suffixIcon:Ie,itemIcon:He,removeIcon:et,clearIcon:st}=(0,E.Z)(Object.assign(Object.assign({},ze),{multiple:J,hasFeedback:me,feedbackIcon:ve,showSuffixIcon:ce,prefixCls:R,showArrow:ze.showArrow,componentName:"Select"})),nt=Re===!0?{clearIcon:st}:Re,Rt=(0,V.Z)(ze,["suffixIcon","itemIcon"]),Nt=m()(Z||O,{[`${R}-dropdown-${y}`]:y==="rtl"},$,K),Tt=(0,n.Z)(Vt=>{var je;return(je=a!=null?a:f)!==null&&je!==void 0?je:Vt}),Mt=L.useContext(h.Z),on=_!=null?_:Mt,Ct=m()({[`${R}-lg`]:Tt==="large",[`${R}-sm`]:Tt==="small",[`${R}-rtl`]:y==="rtl",[`${R}-borderless`]:!G,[`${R}-in-form-item`]:_e},(0,W.Z)(R,Be,me),d,A==null?void 0:A.className,H,$,K),tt=L.useMemo(()=>P!==void 0?P:y==="rtl"?"bottomRight":"bottomLeft",[P,y]),$t=(0,w.Z)(ae,U);return X(L.createElement(D.ZP,Object.assign({ref:T,virtual:pe,showSearch:A==null?void 0:A.showSearch},Rt,{style:Object.assign(Object.assign({},A==null?void 0:A.style),ke),dropdownMatchSelectWidth:re,builtinPlacements:$t,transitionName:(0,u.m)(te,"slide-up",ze.transitionName),listHeight:B,listItemHeight:i,mode:z,prefixCls:R,placement:tt,direction:y,suffixIcon:Ie,menuItemSelectedIcon:He,removeIcon:et,allowClear:nt,notFoundContent:$e,className:Ct,getPopupContainer:p||Je,dropdownClassName:Nt,disabled:on})))},c=L.forwardRef(C),s=(0,F.Z)(c);c.SECRET_COMBOBOX_MODE_DO_NOT_USE=I,c.Option=D.Wx,c.OptGroup=D.Xo,c._InternalPanelDoNotUseOrYouWillBeFired=s,de.default=c},14154:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return c}});var x=t(17313),m=t(74207),D=t(37613),V=t(83116),L=t(13826),F=t(92899);const u=s=>{const{optionHeight:b,optionFontSize:T,optionLineHeight:q,optionPadding:ee}=s;return{position:"relative",display:"block",minHeight:b,padding:ee,color:s.colorText,fontWeight:"normal",fontSize:T,lineHeight:q,boxSizing:"border-box"}};var e=s=>{const{antCls:b,componentCls:T}=s,q=`${T}-item`,ee=`&${b}-slide-up-enter${b}-slide-up-enter-active`,G=`&${b}-slide-up-appear${b}-slide-up-appear-active`,H=`&${b}-slide-up-leave${b}-slide-up-leave-active`,$=`${T}-dropdown-placement-`;return[{[`${T}-dropdown`]:Object.assign(Object.assign({},(0,x.Wf)(s)),{position:"absolute",top:-9999,zIndex:s.zIndexPopup,boxSizing:"border-box",padding:s.paddingXXS,overflow:"hidden",fontSize:s.fontSize,fontVariant:"initial",backgroundColor:s.colorBgElevated,borderRadius:s.borderRadiusLG,outline:"none",boxShadow:s.boxShadowSecondary,[`
|
|
${ee}${$}bottomLeft,
|
|
${G}${$}bottomLeft
|
|
`]:{animationName:L.fJ},[`
|
|
${ee}${$}topLeft,
|
|
${G}${$}topLeft,
|
|
${ee}${$}topRight,
|
|
${G}${$}topRight
|
|
`]:{animationName:L.Qt},[`${H}${$}bottomLeft`]:{animationName:L.Uw},[`
|
|
${H}${$}topLeft,
|
|
${H}${$}topRight
|
|
`]:{animationName:L.ly},"&-hidden":{display:"none"},[`${q}`]:Object.assign(Object.assign({},u(s)),{cursor:"pointer",transition:`background ${s.motionDurationSlow} ease`,borderRadius:s.borderRadiusSM,"&-group":{color:s.colorTextDescription,fontSize:s.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},x.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${q}-option-disabled)`]:{backgroundColor:s.optionActiveBg},[`&-selected:not(${q}-option-disabled)`]:{color:s.optionSelectedColor,fontWeight:s.optionSelectedFontWeight,backgroundColor:s.optionSelectedBg,[`${q}-option-state`]:{color:s.colorPrimary}},"&-disabled":{[`&${q}-option-selected`]:{backgroundColor:s.colorBgContainerDisabled},color:s.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:s.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,L.oN)(s,"slide-up"),(0,L.oN)(s,"slide-down"),(0,F.Fm)(s,"move-up"),(0,F.Fm)(s,"move-down")]};const h=2,v=s=>{let{controlHeightSM:b,controlHeight:T,lineWidth:q}=s;const ee=(T-b)/2-q,G=Math.ceil(ee/2);return[ee,G]};function n(s,b){const{componentCls:T,iconCls:q}=s,ee=`${T}-selection-overflow`,G=s.multipleSelectItemHeight,[H]=v(s),$=b?`${T}-${b}`:"";return{[`${T}-multiple${$}`]:{fontSize:s.fontSize,[ee]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${T}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${H-h}px ${h*2}px`,borderRadius:s.borderRadius,[`${T}-show-search&`]:{cursor:"text"},[`${T}-disabled&`]:{background:s.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${h}px 0`,lineHeight:`${G}px`,visibility:"hidden",content:'"\\a0"'}},[`
|
|
&${T}-show-arrow ${T}-selector,
|
|
&${T}-allow-clear ${T}-selector
|
|
`]:{paddingInlineEnd:s.fontSizeIcon+s.controlPaddingHorizontal},[`${T}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:G,marginTop:h,marginBottom:h,lineHeight:`${G-s.lineWidth*2}px`,background:s.multipleItemBg,border:`${s.lineWidth}px ${s.lineType} ${s.multipleItemBorderColor}`,borderRadius:s.borderRadiusSM,cursor:"default",transition:`font-size ${s.motionDurationSlow}, line-height ${s.motionDurationSlow}, height ${s.motionDurationSlow}`,userSelect:"none",marginInlineEnd:h*2,paddingInlineStart:s.paddingXS,paddingInlineEnd:s.paddingXS/2,[`${T}-disabled&`]:{color:s.multipleItemColorDisabled,borderColor:s.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:s.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,x.Ro)()),{display:"inline-flex",alignItems:"center",color:s.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${q}`]:{verticalAlign:"-0.2em"},"&:hover":{color:s.colorIconHover}})},[`${ee}-item + ${ee}-item`]:{[`${T}-selection-search`]:{marginInlineStart:0}},[`${T}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:s.inputPaddingHorizontalBase-H,"\n &-input,\n &-mirror\n ":{height:G,fontFamily:s.fontFamily,lineHeight:`${G}px`,transition:`all ${s.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${T}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:s.inputPaddingHorizontalBase,insetInlineEnd:s.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${s.motionDurationSlow}`}}}}var o=s=>{const{componentCls:b}=s,T=(0,D.TS)(s,{controlHeight:s.controlHeightSM,multipleSelectItemHeight:s.controlHeightXS,borderRadius:s.borderRadiusSM,borderRadiusSM:s.borderRadiusXS}),q=(0,D.TS)(s,{fontSize:s.fontSizeLG,controlHeight:s.controlHeightLG,multipleSelectItemHeight:s.multipleItemHeightLG,borderRadius:s.borderRadiusLG,borderRadiusSM:s.borderRadius}),[,ee]=v(s);return[n(s),n(T,"sm"),{[`${b}-multiple${b}-sm`]:{[`${b}-selection-placeholder`]:{insetInline:s.controlPaddingHorizontalSM-s.lineWidth},[`${b}-selection-search`]:{marginInlineStart:ee}}},n(q,"lg")]};function l(s,b){const{componentCls:T,inputPaddingHorizontalBase:q,borderRadius:ee}=s,G=s.controlHeight-s.lineWidth*2,H=Math.ceil(s.fontSize*1.25),$=b?`${T}-${b}`:"";return{[`${T}-single${$}`]:{fontSize:s.fontSize,[`${T}-selector`]:Object.assign(Object.assign({},(0,x.Wf)(s)),{display:"flex",borderRadius:ee,[`${T}-selection-search`]:{position:"absolute",top:0,insetInlineStart:q,insetInlineEnd:q,bottom:0,"&-input":{width:"100%"}},[`
|
|
${T}-selection-item,
|
|
${T}-selection-placeholder
|
|
`]:{padding:0,lineHeight:`${G}px`,transition:`all ${s.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${G}px`}},[`${T}-selection-item`]:{position:"relative",userSelect:"none"},[`${T}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${T}-selection-item:after`,`${T}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
&${T}-show-arrow ${T}-selection-item,
|
|
&${T}-show-arrow ${T}-selection-placeholder
|
|
`]:{paddingInlineEnd:H},[`&${T}-open ${T}-selection-item`]:{color:s.colorTextPlaceholder},[`&:not(${T}-customize-input)`]:{[`${T}-selector`]:{width:"100%",height:s.controlHeight,padding:`0 ${q}px`,[`${T}-selection-search-input`]:{height:G},"&:after":{lineHeight:`${G}px`}}},[`&${T}-customize-input`]:{[`${T}-selector`]:{"&:after":{display:"none"},[`${T}-selection-search`]:{position:"static",width:"100%"},[`${T}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${q}px`,"&:after":{display:"none"}}}}}}}function w(s){const{componentCls:b}=s,T=s.controlPaddingHorizontalSM-s.lineWidth;return[l(s),l((0,D.TS)(s,{controlHeight:s.controlHeightSM,borderRadius:s.borderRadiusSM}),"sm"),{[`${b}-single${b}-sm`]:{[`&:not(${b}-customize-input)`]:{[`${b}-selection-search`]:{insetInlineStart:T,insetInlineEnd:T},[`${b}-selector`]:{padding:`0 ${T}px`},[`&${b}-show-arrow ${b}-selection-search`]:{insetInlineEnd:T+s.fontSize*1.5},[`
|
|
&${b}-show-arrow ${b}-selection-item,
|
|
&${b}-show-arrow ${b}-selection-placeholder
|
|
`]:{paddingInlineEnd:s.fontSize*1.5}}}},l((0,D.TS)(s,{controlHeight:s.singleItemHeightLG,fontSize:s.fontSizeLG,borderRadius:s.borderRadiusLG}),"lg")]}const k=s=>{const{componentCls:b,selectorBg:T}=s;return{position:"relative",backgroundColor:T,border:`${s.lineWidth}px ${s.lineType} ${s.colorBorder}`,transition:`all ${s.motionDurationMid} ${s.motionEaseInOut}`,input:{cursor:"pointer"},[`${b}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${b}-disabled&`]:{color:s.colorTextDisabled,background:s.colorBgContainerDisabled,cursor:"not-allowed",[`${b}-multiple&`]:{background:s.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},E=function(s,b){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:q,borderHoverColor:ee,outlineColor:G,antCls:H}=b,$=T?{[`${q}-selector`]:{borderColor:ee}}:{};return{[s]:{[`&:not(${q}-disabled):not(${q}-customize-input):not(${H}-pagination-size-changer)`]:Object.assign(Object.assign({},$),{[`${q}-focused& ${q}-selector`]:{borderColor:ee,boxShadow:`0 0 0 ${b.controlOutlineWidth}px ${G}`,outline:0},[`&:hover ${q}-selector`]:{borderColor:ee}})}}},g=s=>{const{componentCls:b}=s;return{[`${b}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},I=s=>{const{componentCls:b,inputPaddingHorizontalBase:T,iconCls:q}=s;return{[b]:Object.assign(Object.assign({},(0,x.Wf)(s)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${b}-customize-input) ${b}-selector`]:Object.assign(Object.assign({},k(s)),g(s)),[`${b}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},x.vS),[`${b}-selection-placeholder`]:Object.assign(Object.assign({},x.vS),{flex:1,color:s.colorTextPlaceholder,pointerEvents:"none"}),[`${b}-arrow`]:Object.assign(Object.assign({},(0,x.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:T,height:s.fontSizeIcon,marginTop:-s.fontSizeIcon/2,color:s.colorTextQuaternary,fontSize:s.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[q]:{verticalAlign:"top",transition:`transform ${s.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${b}-suffix)`]:{pointerEvents:"auto"}},[`${b}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${b}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:T,zIndex:1,display:"inline-block",width:s.fontSizeIcon,height:s.fontSizeIcon,marginTop:-s.fontSizeIcon/2,color:s.colorTextQuaternary,fontSize:s.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:s.clearBg,cursor:"pointer",opacity:0,transition:`color ${s.motionDurationMid} ease, opacity ${s.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:s.colorTextTertiary}},"&:hover":{[`${b}-clear`]:{opacity:1}}}),[`${b}-has-feedback`]:{[`${b}-clear`]:{insetInlineEnd:T+s.fontSize+s.paddingXS}}}},C=s=>{const{componentCls:b}=s;return[{[b]:{[`&-borderless ${b}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${b}-in-form-item`]:{width:"100%"}}},I(s),w(s),o(s),e(s),{[`${b}-rtl`]:{direction:"rtl"}},E(b,(0,D.TS)(s,{borderHoverColor:s.colorPrimaryHover,outlineColor:s.controlOutline})),E(`${b}-status-error`,(0,D.TS)(s,{borderHoverColor:s.colorErrorHover,outlineColor:s.colorErrorOutline}),!0),E(`${b}-status-warning`,(0,D.TS)(s,{borderHoverColor:s.colorWarningHover,outlineColor:s.colorWarningOutline}),!0),(0,m.c)(s,{borderElCls:`${b}-selector`,focusElCls:`${b}-focused`})]};var c=(0,V.Z)("Select",(s,b)=>{let{rootPrefixCls:T}=b;const q=(0,D.TS)(s,{rootPrefixCls:T,inputPaddingHorizontalBase:s.paddingSM-1,multipleSelectItemHeight:s.multipleItemHeight});return[C(q)]},s=>{const{fontSize:b,lineHeight:T,controlHeight:q,controlPaddingHorizontal:ee,zIndexPopupBase:G,colorText:H,fontWeightStrong:$,controlItemBgActive:p,controlItemBgHover:Z,colorBgContainer:O,colorFillSecondary:B,controlHeightLG:P,controlHeightSM:i,colorBgContainerDisabled:a,colorTextDisabled:_}=s;return{zIndexPopup:G+50,optionSelectedColor:H,optionSelectedFontWeight:$,optionSelectedBg:p,optionActiveBg:Z,optionPadding:`${(q-b*T)/2}px ${ee}px`,optionFontSize:b,optionLineHeight:T,optionHeight:q,selectorBg:O,clearBg:O,singleItemHeightLG:P,multipleItemBg:B,multipleItemBorderColor:"transparent",multipleItemHeight:i,multipleItemHeightLG:q,multipleSelectorBgDisabled:a,multipleItemColorDisabled:_,multipleItemBorderColorDisabled:"transparent"}})},58582:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return m}});const x=D=>{const L={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:D==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},L),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},L),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},L),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},L),{points:["br","tr"],offset:[0,-4]})}};function m(D,V){return D||x(V)}},84443:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return x}});function x(m,D){return D!==void 0?D:m!==null}},66339:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return W}});var x=t(40001),m=t(19248),D=t(99267),V=t(84105),L=t(58617),F=t(47472),u=t(59301);function W(e){let{suffixIcon:h,clearIcon:v,menuItemSelectedIcon:n,removeIcon:r,loading:o,multiple:l,hasFeedback:w,prefixCls:k,showSuffixIcon:E,feedbackIcon:g,showArrow:I,componentName:C}=e;const c=v!=null?v:u.createElement(m.Z,null),s=ee=>h===null&&!w&&!I?null:u.createElement(u.Fragment,null,E!==!1&&ee,w&&g);let b=null;if(h!==void 0)b=s(h);else if(o)b=s(u.createElement(L.Z,{spin:!0}));else{const ee=`${k}-suffix`;b=G=>{let{open:H,showSearch:$}=G;return s(H&&$?u.createElement(F.Z,{className:ee}):u.createElement(V.Z,{className:ee}))}}let T=null;n!==void 0?T=n:l?T=u.createElement(x.Z,null):T=null;let q=null;return r!==void 0?q=r:q=u.createElement(D.Z,null),{clearIcon:c,suffixIcon:b,itemIcon:T,removeIcon:q}}},81327:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return k}});var x=t(59301),m=t(92310),D=t.n(m),V=t(11592),L=t(36355),F=t(33234);const u=x.createContext({latestIndex:0}),W=u.Provider;var h=E=>{let{className:g,index:I,children:C,split:c,style:s}=E;const{latestIndex:b}=x.useContext(u);return C==null?null:x.createElement(x.Fragment,null,x.createElement("div",{className:g,style:s},C),I<b&&c&&x.createElement("span",{className:`${g}-split`},c))},v=t(2856);function n(E){return["small","middle","large"].includes(E)}function r(E){return E?typeof E=="number"&&!Number.isNaN(E):!1}var o=function(E,g){var I={};for(var C in E)Object.prototype.hasOwnProperty.call(E,C)&&g.indexOf(C)<0&&(I[C]=E[C]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,C=Object.getOwnPropertySymbols(E);c<C.length;c++)g.indexOf(C[c])<0&&Object.prototype.propertyIsEnumerable.call(E,C[c])&&(I[C[c]]=E[C[c]]);return I};const w=x.forwardRef((E,g)=>{var I,C;const{getPrefixCls:c,space:s,direction:b}=x.useContext(L.E_),{size:T=(s==null?void 0:s.size)||"small",align:q,className:ee,rootClassName:G,children:H,direction:$="horizontal",prefixCls:p,split:Z,style:O,wrap:B=!1,classNames:P,styles:i}=E,a=o(E,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[_,j]=Array.isArray(T)?T:[T,T],ne=n(j),ae=n(_),oe=r(j),fe=r(_),Ee=(0,V.Z)(H,{keepEmpty:!0}),ke=q===void 0&&$==="horizontal"?"center":q,Re=c("space",p),[ze,Je]=(0,v.Z)(Re),Oe=D()(Re,s==null?void 0:s.className,Je,`${Re}-${$}`,{[`${Re}-rtl`]:b==="rtl",[`${Re}-align-${ke}`]:ke,[`${Re}-gap-row-${j}`]:ne,[`${Re}-gap-col-${_}`]:ae},ee,G),Ce=D()(`${Re}-item`,(I=P==null?void 0:P.item)!==null&&I!==void 0?I:(C=s==null?void 0:s.classNames)===null||C===void 0?void 0:C.item);let Y=0;const pe=Ee.map((A,R)=>{var te,y;A!=null&&(Y=R);const f=A&&A.key||`${Ce}-${R}`;return x.createElement(h,{className:Ce,key:f,index:R,split:Z,style:(te=i==null?void 0:i.item)!==null&&te!==void 0?te:(y=s==null?void 0:s.styles)===null||y===void 0?void 0:y.item},A)}),M=x.useMemo(()=>({latestIndex:Y}),[Y]);if(Ee.length===0)return null;const U={};return B&&(U.flexWrap="wrap"),!ae&&fe&&(U.columnGap=_),!ne&&oe&&(U.rowGap=j),ze(x.createElement("div",Object.assign({ref:g,className:Oe,style:Object.assign(Object.assign(Object.assign({},U),s==null?void 0:s.style),O)},a),x.createElement(W,{value:M},pe)))});w.Compact=F.ZP;var k=w},8378:function(Ue,de){"use strict";const t=x=>({[x.componentCls]:{[`${x.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${x.motionDurationMid} ${x.motionEaseInOut},
|
|
opacity ${x.motionDurationMid} ${x.motionEaseInOut} !important`}},[`${x.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${x.motionDurationMid} ${x.motionEaseInOut},
|
|
opacity ${x.motionDurationMid} ${x.motionEaseInOut} !important`}}});de.Z=t},92899:function(Ue,de,t){"use strict";t.d(de,{Fm:function(){return n}});var x=t(93083),m=t(95406);const D=new x.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),V=new x.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),L=new x.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),F=new x.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),u=new x.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),W=new x.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),e=new x.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),h=new x.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),v={"move-up":{inKeyframes:e,outKeyframes:h},"move-down":{inKeyframes:D,outKeyframes:V},"move-left":{inKeyframes:L,outKeyframes:F},"move-right":{inKeyframes:u,outKeyframes:W}},n=(r,o)=>{const{antCls:l}=r,w=`${l}-${o}`,{inKeyframes:k,outKeyframes:E}=v[o];return[(0,m.R)(w,k,E,r.motionDurationMid),{[`
|
|
${w}-enter,
|
|
${w}-appear
|
|
`]:{opacity:0,animationTimingFunction:r.motionEaseOutCirc},[`${w}-leave`]:{animationTimingFunction:r.motionEaseInOutCirc}}]}},13826:function(Ue,de,t){"use strict";t.d(de,{Qt:function(){return L},Uw:function(){return V},fJ:function(){return D},ly:function(){return F},oN:function(){return n}});var x=t(93083),m=t(95406);const D=new x.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),V=new x.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),L=new x.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),F=new x.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),u=new x.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),W=new x.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),e=new x.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),h=new x.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),v={"slide-up":{inKeyframes:D,outKeyframes:V},"slide-down":{inKeyframes:L,outKeyframes:F},"slide-left":{inKeyframes:u,outKeyframes:W},"slide-right":{inKeyframes:e,outKeyframes:h}},n=(r,o)=>{const{antCls:l}=r,w=`${l}-${o}`,{inKeyframes:k,outKeyframes:E}=v[o];return[(0,m.R)(w,k,E,r.motionDurationMid),{[`
|
|
${w}-enter,
|
|
${w}-appear
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:r.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${w}-leave`]:{animationTimingFunction:r.motionEaseInQuint}}]}},15969:function(Ue,de,t){"use strict";t.d(de,{N:function(){return x}});const x=m=>({color:m.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${m.motionDurationSlow}`,"&:focus, &:hover":{color:m.colorLinkHover},"&:active":{color:m.colorLinkActive}})},19447:function(Ue,de,t){"use strict";t.d(de,{ZP:function(){return L},fS:function(){return D},qN:function(){return m}});var x=t(47585);const m=8;function D(F){const u=m,{contentRadius:W,limitVerticalRadius:e}=F,h=W>12?W+2:12;return{dropdownArrowOffset:h,dropdownArrowOffsetVertical:e?u:h}}function V(F,u){return F?u:{}}function L(F,u){const{componentCls:W,sizePopupArrow:e,borderRadiusXS:h,borderRadiusOuter:v,boxShadowPopoverArrow:n}=F,{colorBg:r,contentRadius:o=F.borderRadiusLG,limitVerticalRadius:l,arrowDistance:w=0,arrowPlacement:k={left:!0,right:!0,top:!0,bottom:!0}}=u,{dropdownArrowOffsetVertical:E,dropdownArrowOffset:g}=D({contentRadius:o,limitVerticalRadius:l});return{[W]:Object.assign(Object.assign(Object.assign(Object.assign({[`${W}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,x.r)(e,h,v,r,n)),{"&:before":{background:r}})]},V(!!k.top,{[[`&-placement-top ${W}-arrow`,`&-placement-topLeft ${W}-arrow`,`&-placement-topRight ${W}-arrow`].join(",")]:{bottom:w,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${W}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${W}-arrow`]:{left:{_skip_check_:!0,value:g}},[`&-placement-topRight ${W}-arrow`]:{right:{_skip_check_:!0,value:g}}})),V(!!k.bottom,{[[`&-placement-bottom ${W}-arrow`,`&-placement-bottomLeft ${W}-arrow`,`&-placement-bottomRight ${W}-arrow`].join(",")]:{top:w,transform:"translateY(-100%)"},[`&-placement-bottom ${W}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${W}-arrow`]:{left:{_skip_check_:!0,value:g}},[`&-placement-bottomRight ${W}-arrow`]:{right:{_skip_check_:!0,value:g}}})),V(!!k.left,{[[`&-placement-left ${W}-arrow`,`&-placement-leftTop ${W}-arrow`,`&-placement-leftBottom ${W}-arrow`].join(",")]:{right:{_skip_check_:!0,value:w},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${W}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${W}-arrow`]:{top:E},[`&-placement-leftBottom ${W}-arrow`]:{bottom:E}})),V(!!k.right,{[[`&-placement-right ${W}-arrow`,`&-placement-rightTop ${W}-arrow`,`&-placement-rightBottom ${W}-arrow`].join(",")]:{left:{_skip_check_:!0,value:w},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${W}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${W}-arrow`]:{top:E},[`&-placement-rightBottom ${W}-arrow`]:{bottom:E}}))}}},47585:function(Ue,de,t){"use strict";t.d(de,{r:function(){return x}});const x=(m,D,V,L,F)=>{const u=m/2,W=0,e=u,h=V*1/Math.sqrt(2),v=u-V*(1-1/Math.sqrt(2)),n=u-D*(1/Math.sqrt(2)),r=V*(Math.sqrt(2)-1)+D*(1/Math.sqrt(2)),o=2*u-n,l=r,w=2*u-h,k=v,E=2*u-W,g=e,I=u*Math.sqrt(2)+V*(Math.sqrt(2)-2),C=V*(Math.sqrt(2)-1);return{pointerEvents:"none",width:m,height:m,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:m,height:m/2,background:L,clipPath:{_multi_value_:!0,value:[`polygon(${C}px 100%, 50% ${C}px, ${2*u-C}px 100%, ${C}px 100%)`,`path('M ${W} ${e} A ${V} ${V} 0 0 0 ${h} ${v} L ${n} ${r} A ${D} ${D} 0 0 1 ${o} ${l} L ${w} ${k} A ${V} ${V} 0 0 0 ${E} ${g} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:I,height:I,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${D}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:F,zIndex:0,background:"transparent"}}}},1710:function(Ue,de,t){"use strict";t.d(de,{default:function(){return Bo}});var x={},m="rc-table-internal-hook",D=t(52487),V=t(6089),L=t(34280),F=t(13697),u=t(59301),W=t(4676);function e(S){var N=u.createContext(void 0),Q=function(le){var ue=le.value,xe=le.children,we=u.useRef(ue);we.current=ue;var be=u.useState(function(){return{getValue:function(){return we.current},listeners:new Set}}),Pe=(0,D.Z)(be,1),Le=Pe[0];return(0,L.Z)(function(){(0,W.unstable_batchedUpdates)(function(){Le.listeners.forEach(function(Te){Te(ue)})})},[ue]),u.createElement(N.Provider,{value:Le},xe)};return{Context:N,Provider:Q,defaultValue:S}}function h(S,N){var Q=(0,V.Z)(typeof N=="function"?N:function(Te){if(N===void 0)return Te;if(!Array.isArray(N))return Te[N];var Qe={};return N.forEach(function(We){Qe[We]=Te[We]}),Qe}),ie=u.useContext(S==null?void 0:S.Context),le=ie||{},ue=le.listeners,xe=le.getValue,we=u.useRef();we.current=Q(ie?xe():S==null?void 0:S.defaultValue);var be=u.useState({}),Pe=(0,D.Z)(be,2),Le=Pe[1];return(0,L.Z)(function(){if(!ie)return;function Te(Qe){var We=Q(Qe);(0,F.Z)(we.current,We,!0)||Le({})}return ue.add(Te),function(){ue.delete(Te)}},[ie]),we.current}var v=t(72308),n=t(8654);function r(){var S=u.createContext(null);function N(){return u.useContext(S)}function Q(le,ue){var xe=(0,n.Yr)(le),we=function(Pe,Le){var Te=xe?{ref:Le}:{},Qe=u.useRef(0),We=u.useRef(Pe),Ye=N();return Ye!==null?u.createElement(le,(0,v.Z)({},Pe,Te)):((!ue||ue(We.current,Pe))&&(Qe.current+=1),We.current=Pe,u.createElement(S.Provider,{value:Qe.current},u.createElement(le,(0,v.Z)({},Pe,Te))))};return xe?u.forwardRef(we):we}function ie(le,ue){var xe=(0,n.Yr)(le),we=function(Pe,Le){var Te=xe?{ref:Le}:{};return N(),u.createElement(le,(0,v.Z)({},Pe,Te))};return xe?u.memo(u.forwardRef(we),ue):u.memo(we,ue)}return{makeImmutable:Q,responseImmutable:ie,useImmutableMark:N}}var o=r(),l=o.makeImmutable,w=o.responseImmutable,k=o.useImmutableMark,E=r(),g=E.makeImmutable,I=E.responseImmutable,C=E.useImmutableMark,c=e(),s=c;function b(S,N){var Q=u.useRef(0);Q.current+=1;var ie=u.useRef(S),le=[];Object.keys(S||{}).map(function(xe){var we;(S==null?void 0:S[xe])!==((we=ie.current)===null||we===void 0?void 0:we[xe])&&le.push(xe)}),ie.current=S;var ue=u.useRef([]);return le.length&&(ue.current=le),u.useDebugValue(Q.current),u.useDebugValue(ue.current.join(", ")),N&&console.log("".concat(N,":"),Q.current,ue.current),Q.current}var T=null,q=u.memo(function(){var S=b();return u.createElement("h1",null,"Render Times: ",S)});q.displayName="RenderBlock";var ee=t(62853),G=t(77321),H=t(49618),$=t(92310),p=t.n($),Z=t(80547),O=t(97938),B=t(48736),P=u.createContext({renderWithProps:!1}),i=P,a="RC_TABLE_KEY";function _(S){return S==null?[]:Array.isArray(S)?S:[S]}function j(S){var N=[],Q={};return S.forEach(function(ie){for(var le=ie||{},ue=le.key,xe=le.dataIndex,we=ue||_(xe).join("-")||a;Q[we];)we="".concat(we,"_next");Q[we]=!0,N.push(we)}),N}function ne(S){return S!=null}function ae(S){return S&&(0,ee.Z)(S)==="object"&&!Array.isArray(S)&&!u.isValidElement(S)}function oe(S,N,Q,ie,le,ue){var xe=u.useContext(i),we=C(),be=(0,Z.Z)(function(){if(ne(ie))return[ie];var Pe=N==null||N===""?[]:Array.isArray(N)?N:[N],Le=(0,O.Z)(S,Pe),Te=Le,Qe=void 0;if(le){var We=le(Le,S,Q);ae(We)?(Te=We.children,Qe=We.props,xe.renderWithProps=!0):Te=We}return[Te,Qe]},[we,S,ie,N,le,Q],function(Pe,Le){if(ue){var Te=(0,D.Z)(Pe,2),Qe=Te[1],We=(0,D.Z)(Le,2),Ye=We[1];return ue(Ye,Qe)}return xe.renderWithProps?!0:!(0,F.Z)(Pe,Le,!0)});return be}function fe(S,N,Q,ie){var le=S+N-1;return S<=ie&&le>=Q}function Ee(S,N){return h(s,function(Q){var ie=fe(S,N||1,Q.hoverStartRow,Q.hoverEndRow);return[ie,Q.onHover]})}var ke=function(N){var Q=N.ellipsis,ie=N.rowType,le=N.children,ue,xe=Q===!0?{showTitle:!0}:Q;return xe&&(xe.showTitle||ie==="header")&&(typeof le=="string"||typeof le=="number"?ue=le.toString():u.isValidElement(le)&&typeof le.props.children=="string"&&(ue=le.props.children)),ue};function Re(S){var N,Q,ie,le,ue,xe,we,be,Pe=S.component,Le=S.children,Te=S.ellipsis,Qe=S.scope,We=S.prefixCls,Ye=S.className,mt=S.align,ct=S.record,vt=S.render,dt=S.dataIndex,Et=S.renderIndex,nn=S.shouldCellUpdate,an=S.index,zt=S.rowType,wn=S.colSpan,Nn=S.rowSpan,Pt=S.fixLeft,jt=S.fixRight,Dt=S.firstFixLeft,yt=S.lastFixLeft,Bt=S.firstFixRight,yn=S.lastFixRight,Fn=S.appendNode,Tn=S.additionalProps,cn=Tn===void 0?{}:Tn,Wn=S.isSticky,Un="".concat(We,"-cell"),gr=h(s,["supportSticky","allColumnsFixedLeft"]),nr=gr.supportSticky,kr=gr.allColumnsFixedLeft,Kr=oe(ct,dt,Et,Le,vt,nn),$n=(0,D.Z)(Kr,2),Vr=$n[0],ir=$n[1],Ir={},Er=typeof Pt=="number"&&nr,Ei=typeof jt=="number"&&nr;Er&&(Ir.position="sticky",Ir.left=Pt),Ei&&(Ir.position="sticky",Ir.right=jt);var pn=(N=(Q=(ie=ir==null?void 0:ir.colSpan)!==null&&ie!==void 0?ie:cn.colSpan)!==null&&Q!==void 0?Q:wn)!==null&&N!==void 0?N:1,fn=(le=(ue=(xe=ir==null?void 0:ir.rowSpan)!==null&&xe!==void 0?xe:cn.rowSpan)!==null&&ue!==void 0?ue:Nn)!==null&&le!==void 0?le:1,dn=Ee(an,fn),en=(0,D.Z)(dn,2),ar=en[0],tn=en[1],Rn=function(Xr){var Si;ct&&tn(an,an+fn-1),cn==null||(Si=cn.onMouseEnter)===null||Si===void 0||Si.call(cn,Xr)},qn=function(Xr){var Si;ct&&tn(-1,-1),cn==null||(Si=cn.onMouseLeave)===null||Si===void 0||Si.call(cn,Xr)};if(pn===0||fn===0)return null;var Qn=(we=cn.title)!==null&&we!==void 0?we:ke({rowType:zt,ellipsis:Te,children:Vr}),fi=p()(Un,Ye,(be={},(0,H.Z)(be,"".concat(Un,"-fix-left"),Er&&nr),(0,H.Z)(be,"".concat(Un,"-fix-left-first"),Dt&&nr),(0,H.Z)(be,"".concat(Un,"-fix-left-last"),yt&&nr),(0,H.Z)(be,"".concat(Un,"-fix-left-all"),yt&&kr&&nr),(0,H.Z)(be,"".concat(Un,"-fix-right"),Ei&&nr),(0,H.Z)(be,"".concat(Un,"-fix-right-first"),Bt&&nr),(0,H.Z)(be,"".concat(Un,"-fix-right-last"),yn&&nr),(0,H.Z)(be,"".concat(Un,"-ellipsis"),Te),(0,H.Z)(be,"".concat(Un,"-with-append"),Fn),(0,H.Z)(be,"".concat(Un,"-fix-sticky"),(Er||Ei)&&Wn&&nr),(0,H.Z)(be,"".concat(Un,"-row-hover"),!ir&&ar),be),cn.className,ir==null?void 0:ir.className),ii={};mt&&(ii.textAlign=mt);var Ki=(0,G.Z)((0,G.Z)((0,G.Z)((0,G.Z)({},Ir),cn.style),ii),ir==null?void 0:ir.style),Gr=Vr;return(0,ee.Z)(Gr)==="object"&&!Array.isArray(Gr)&&!u.isValidElement(Gr)&&(Gr=null),Te&&(yt||Bt)&&(Gr=u.createElement("span",{className:"".concat(Un,"-content")},Gr)),u.createElement(Pe,(0,v.Z)({},ir,cn,{className:fi,style:Ki,title:Qn,scope:Qe,onMouseEnter:Rn,onMouseLeave:qn,colSpan:pn!==1?pn:null,rowSpan:fn!==1?fn:null}),Fn,Gr)}var ze=u.memo(Re);function Je(S,N,Q,ie,le,ue){var xe=Q[S]||{},we=Q[N]||{},be,Pe;xe.fixed==="left"?be=ie.left[le==="rtl"?N:S]:we.fixed==="right"&&(Pe=ie.right[le==="rtl"?S:N]);var Le=!1,Te=!1,Qe=!1,We=!1,Ye=Q[N+1],mt=Q[S-1],ct=!(ue!=null&&ue.children);if(le==="rtl"){if(be!==void 0){var vt=mt&&mt.fixed==="left";We=!vt&&ct}else if(Pe!==void 0){var dt=Ye&&Ye.fixed==="right";Qe=!dt&&ct}}else if(be!==void 0){var Et=Ye&&Ye.fixed==="left";Le=!Et&&ct}else if(Pe!==void 0){var nn=mt&&mt.fixed==="right";Te=!nn&&ct}return{fixLeft:be,fixRight:Pe,lastFixLeft:Le,firstFixRight:Te,lastFixRight:Qe,firstFixLeft:We,isSticky:ie.isSticky}}var Oe=u.createContext({}),Ce=Oe;function Y(S){var N=S.className,Q=S.index,ie=S.children,le=S.colSpan,ue=le===void 0?1:le,xe=S.rowSpan,we=S.align,be=h(s,["prefixCls","direction"]),Pe=be.prefixCls,Le=be.direction,Te=u.useContext(Ce),Qe=Te.scrollColumnIndex,We=Te.stickyOffsets,Ye=Te.flattenColumns,mt=Te.columns,ct=Q+ue-1,vt=ct+1===Qe?ue+1:ue,dt=Je(Q,Q+vt-1,Ye,We,Le,mt==null?void 0:mt[Q]);return u.createElement(ze,(0,v.Z)({className:N,index:Q,component:"td",prefixCls:Pe,record:null,dataIndex:null,align:we,colSpan:vt,rowSpan:xe,render:function(){return ie}},dt))}var pe=t(74416),M=["children"];function U(S){var N=S.children,Q=(0,pe.Z)(S,M);return u.createElement("tr",Q,N)}function A(S){var N=S.children;return N}A.Row=U,A.Cell=Y;var R=A;function te(S){var N=S.children,Q=S.stickyOffsets,ie=S.flattenColumns,le=S.columns,ue=h(s,"prefixCls"),xe=ie.length-1,we=ie[xe],be=u.useMemo(function(){return{stickyOffsets:Q,flattenColumns:ie,scrollColumnIndex:we!=null&&we.scrollbar?xe:null,columns:le}},[we,ie,xe,Q,le]);return u.createElement(Ce.Provider,{value:be},u.createElement("tfoot",{className:"".concat(ue,"-summary")},N))}var y=I(te),f=R,d=t(70425),X=t(29301),K=t(29194),z=t(24514),J=t(75152),ce=t(26112);function re(S,N,Q,ie,le,ue,xe){S.push({record:N,indent:Q,index:xe});var we=ue(N),be=le==null?void 0:le.has(we);if(N&&Array.isArray(N[ie])&&be)for(var Pe=0;Pe<N[ie].length;Pe+=1)re(S,N[ie][Pe],Q+1,ie,le,ue,Pe)}function se(S,N,Q,ie){var le=u.useMemo(function(){if(Q!=null&&Q.size){for(var ue=[],xe=0;xe<(S==null?void 0:S.length);xe+=1){var we=S[xe];re(ue,we,0,N,Q,ie,xe)}return ue}return S==null?void 0:S.map(function(be,Pe){return{record:be,indent:0,index:Pe}})},[S,N,Q,ie]);return le}function me(S){var N=S.prefixCls,Q=S.children,ie=S.component,le=S.cellComponent,ue=S.className,xe=S.expanded,we=S.colSpan,be=S.isEmpty,Pe=h(s,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Le=Pe.scrollbarSize,Te=Pe.fixHeader,Qe=Pe.fixColumn,We=Pe.componentWidth,Ye=Pe.horizonScroll,mt=Q;return(be?Ye&&We:Qe)&&(mt=u.createElement("div",{style:{width:We-(Te?Le:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(N,"-expanded-row-fixed")},mt)),u.createElement(ie,{className:ue,style:{display:xe?null:"none"}},u.createElement(ze,{component:le,prefixCls:N,colSpan:we},mt))}var _e=me;function ve(S,N,Q,ie){var le=h(s,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),ue=le.flattenColumns,xe=le.expandableType,we=le.expandedKeys,be=le.childrenColumnName,Pe=le.onTriggerExpand,Le=le.rowExpandable,Te=le.onRow,Qe=le.expandRowByClick,We=le.rowClassName,Ye=xe==="nest",mt=xe==="row"&&(!Le||Le(S)),ct=mt||Ye,vt=we&&we.has(N),dt=be&&S&&S[be],Et=(0,d.useEvent)(Pe),nn=Te==null?void 0:Te(S,Q),an=nn==null?void 0:nn.onClick,zt=function(jt){Qe&&ct&&Pe(S,jt);for(var Dt=arguments.length,yt=new Array(Dt>1?Dt-1:0),Bt=1;Bt<Dt;Bt++)yt[Bt-1]=arguments[Bt];an==null||an.apply(void 0,[jt].concat(yt))},wn;typeof We=="string"?wn=We:typeof We=="function"&&(wn=We(S,Q,ie));var Nn=j(ue);return(0,G.Z)((0,G.Z)({},le),{},{columnsKey:Nn,nestExpandable:Ye,expanded:vt,hasNestChildren:dt,record:S,onTriggerExpand:Et,rowSupportExpand:mt,expandable:ct,rowProps:(0,G.Z)((0,G.Z)({},nn),{},{className:p()(wn,nn==null?void 0:nn.className),onClick:zt})})}function Be(S,N,Q,ie,le){var ue=S.record,xe=S.prefixCls,we=S.columnsKey,be=S.fixedInfoList,Pe=S.expandIconColumnIndex,Le=S.nestExpandable,Te=S.indentSize,Qe=S.expandIcon,We=S.expanded,Ye=S.hasNestChildren,mt=S.onTriggerExpand,ct=we[Q],vt=be[Q],dt;Q===(Pe||0)&&Le&&(dt=u.createElement(u.Fragment,null,u.createElement("span",{style:{paddingLeft:"".concat(Te*ie,"px")},className:"".concat(xe,"-row-indent indent-level-").concat(ie)}),Qe({prefixCls:xe,expanded:We,expandable:Ye,record:ue,onExpand:mt})));var Et;return N.onCell&&(Et=N.onCell(ue,le)),{key:ct,fixedInfo:vt,appendCellNode:dt,additionalCellProps:Et||{}}}function $e(S){var N=S.className,Q=S.style,ie=S.record,le=S.index,ue=S.renderIndex,xe=S.rowKey,we=S.indent,be=we===void 0?0:we,Pe=S.rowComponent,Le=S.cellComponent,Te=S.scopeCellComponent,Qe=ve(ie,xe,le,be),We=Qe.prefixCls,Ye=Qe.flattenColumns,mt=Qe.expandedRowClassName,ct=Qe.expandedRowRender,vt=Qe.rowProps,dt=Qe.expanded,Et=Qe.rowSupportExpand,nn=u.useState(!1),an=(0,D.Z)(nn,2),zt=an[0],wn=an[1];u.useEffect(function(){dt&&wn(!0)},[dt]);var Nn=u.createElement(Pe,(0,v.Z)({},vt,{"data-row-key":xe,className:p()(N,"".concat(We,"-row"),"".concat(We,"-row-level-").concat(be),vt==null?void 0:vt.className),style:(0,G.Z)((0,G.Z)({},Q),vt==null?void 0:vt.style)}),Ye.map(function(yt,Bt){var yn=yt.render,Fn=yt.dataIndex,Tn=yt.className,cn=Be(Qe,yt,Bt,be,le),Wn=cn.key,Un=cn.fixedInfo,gr=cn.appendCellNode,nr=cn.additionalCellProps;return u.createElement(ze,(0,v.Z)({className:Tn,ellipsis:yt.ellipsis,align:yt.align,scope:yt.rowScope,component:yt.rowScope?Te:Le,prefixCls:We,key:Wn,record:ie,index:le,renderIndex:ue,dataIndex:Fn,render:yn,shouldCellUpdate:yt.shouldCellUpdate},Un,{appendNode:gr,additionalProps:nr}))})),Pt;if(Et&&(zt||dt)){var jt=ct(ie,le,be+1,dt),Dt=mt&&mt(ie,le,be);Pt=u.createElement(_e,{expanded:dt,className:p()("".concat(We,"-expanded-row"),"".concat(We,"-expanded-row-level-").concat(be+1),Dt),prefixCls:We,component:Pe,cellComponent:Le,colSpan:Ye.length,isEmpty:!1},jt)}return u.createElement(u.Fragment,null,Nn,Pt)}$e.displayName="BodyRow";var Ie=I($e);function He(S){var N=S.columnKey,Q=S.onColumnResize,ie=u.useRef();return u.useEffect(function(){ie.current&&Q(N,ie.current.offsetWidth)},[]),u.createElement(X.Z,{data:N},u.createElement("td",{ref:ie,style:{padding:0,border:0,height:0}},u.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function et(S){var N=S.prefixCls,Q=S.columnsKey,ie=S.onColumnResize;return u.createElement("tr",{"aria-hidden":"true",className:"".concat(N,"-measure-row"),style:{height:0,fontSize:0}},u.createElement(X.Z.Collection,{onBatchResize:function(ue){ue.forEach(function(xe){var we=xe.data,be=xe.size;ie(we,be.offsetWidth)})}},Q.map(function(le){return u.createElement(He,{key:le,columnKey:le,onColumnResize:ie})})))}function st(S){var N=S.data,Q=S.measureColumnWidth,ie=h(s,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),le=ie.prefixCls,ue=ie.getComponent,xe=ie.onColumnResize,we=ie.flattenColumns,be=ie.getRowKey,Pe=ie.expandedKeys,Le=ie.childrenColumnName,Te=ie.emptyNode,Qe=se(N,Le,Pe,be),We=u.useRef({renderWithProps:!1}),Ye=ue(["body","wrapper"],"tbody"),mt=ue(["body","row"],"tr"),ct=ue(["body","cell"],"td"),vt=ue(["body","cell"],"th"),dt;N.length?dt=Qe.map(function(nn,an){var zt=nn.record,wn=nn.indent,Nn=nn.index,Pt=be(zt,an);return u.createElement(Ie,{key:Pt,rowKey:Pt,record:zt,index:an,renderIndex:Nn,rowComponent:mt,cellComponent:ct,scopeCellComponent:vt,getRowKey:be,indent:wn})}):dt=u.createElement(_e,{expanded:!0,className:"".concat(le,"-placeholder"),prefixCls:le,component:mt,cellComponent:ct,colSpan:we.length,isEmpty:!0},Te);var Et=j(we);return u.createElement(i.Provider,{value:We.current},u.createElement(Ye,{className:"".concat(le,"-tbody")},Q&&u.createElement(et,{prefixCls:le,columnsKey:Et,onColumnResize:xe}),dt))}st.displayName="Body";var nt=I(st),Rt=["expandable"],Nt="RC_TABLE_INTERNAL_COL_DEFINE";function Tt(S){var N=S.expandable,Q=(0,pe.Z)(S,Rt),ie;return"expandable"in S?ie=(0,G.Z)((0,G.Z)({},Q),N):ie=Q,ie.showExpandColumn===!1&&(ie.expandIconColumnIndex=-1),ie}var Mt=["columnType"];function on(S){for(var N=S.colWidths,Q=S.columns,ie=S.columCount,le=[],ue=ie||Q.length,xe=!1,we=ue-1;we>=0;we-=1){var be=N[we],Pe=Q&&Q[we],Le=Pe&&Pe[Nt];if(be||Le||xe){var Te=Le||{},Qe=Te.columnType,We=(0,pe.Z)(Te,Mt);le.unshift(u.createElement("col",(0,v.Z)({key:we,style:{width:be}},We))),xe=!0}}return u.createElement("colgroup",null,le)}var Ct=on,tt=t(80702),$t=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Vt(S,N){return(0,u.useMemo)(function(){for(var Q=[],ie=0;ie<N;ie+=1){var le=S[ie];if(le!==void 0)Q[ie]=le;else return null}return Q},[S.join("_"),N])}var je=u.forwardRef(function(S,N){var Q=S.className,ie=S.noData,le=S.columns,ue=S.flattenColumns,xe=S.colWidths,we=S.columCount,be=S.stickyOffsets,Pe=S.direction,Le=S.fixHeader,Te=S.stickyTopOffset,Qe=S.stickyBottomOffset,We=S.stickyClassName,Ye=S.onScroll,mt=S.maxContentScroll,ct=S.children,vt=(0,pe.Z)(S,$t),dt=h(s,["prefixCls","scrollbarSize","isSticky"]),Et=dt.prefixCls,nn=dt.scrollbarSize,an=dt.isSticky,zt=an&&!Le?0:nn,wn=u.useRef(null),Nn=u.useCallback(function(Tn){(0,n.mH)(N,Tn),(0,n.mH)(wn,Tn)},[]);u.useEffect(function(){var Tn;function cn(Wn){var Un=Wn,gr=Un.currentTarget,nr=Un.deltaX;nr&&(Ye({currentTarget:gr,scrollLeft:gr.scrollLeft+nr}),Wn.preventDefault())}return(Tn=wn.current)===null||Tn===void 0||Tn.addEventListener("wheel",cn),function(){var Wn;(Wn=wn.current)===null||Wn===void 0||Wn.removeEventListener("wheel",cn)}},[]);var Pt=u.useMemo(function(){return ue.every(function(Tn){return Tn.width})},[ue]),jt=ue[ue.length-1],Dt={fixed:jt?jt.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Et,"-cell-scrollbar")}}},yt=(0,u.useMemo)(function(){return zt?[].concat((0,tt.Z)(le),[Dt]):le},[zt,le]),Bt=(0,u.useMemo)(function(){return zt?[].concat((0,tt.Z)(ue),[Dt]):ue},[zt,ue]),yn=(0,u.useMemo)(function(){var Tn=be.right,cn=be.left;return(0,G.Z)((0,G.Z)({},be),{},{left:Pe==="rtl"?[].concat((0,tt.Z)(cn.map(function(Wn){return Wn+zt})),[0]):cn,right:Pe==="rtl"?Tn:[].concat((0,tt.Z)(Tn.map(function(Wn){return Wn+zt})),[0]),isSticky:an})},[zt,be,an]),Fn=Vt(xe,we);return u.createElement("div",{style:(0,G.Z)({overflow:"hidden"},an?{top:Te,bottom:Qe}:{}),ref:Nn,className:p()(Q,(0,H.Z)({},We,!!We))},u.createElement("table",{style:{tableLayout:"fixed",visibility:ie||Fn?null:"hidden"}},(!ie||!mt||Pt)&&u.createElement(Ct,{colWidths:Fn?[].concat((0,tt.Z)(Fn),[zt]):[],columCount:we+1,columns:Bt}),ct((0,G.Z)((0,G.Z)({},vt),{},{stickyOffsets:yn,columns:yt,flattenColumns:Bt}))))});je.displayName="FixedHolder";var qt=u.memo(je);function gn(S){var N=S.cells,Q=S.stickyOffsets,ie=S.flattenColumns,le=S.rowComponent,ue=S.cellComponent,xe=S.tdCellComponent,we=S.onHeaderRow,be=S.index,Pe=h(s,["prefixCls","direction"]),Le=Pe.prefixCls,Te=Pe.direction,Qe;we&&(Qe=we(N.map(function(Ye){return Ye.column}),be));var We=j(N.map(function(Ye){return Ye.column}));return u.createElement(le,Qe,N.map(function(Ye,mt){var ct=Ye.column,vt=Je(Ye.colStart,Ye.colEnd,ie,Q,Te,ct),dt;return ct&&ct.onHeaderCell&&(dt=Ye.column.onHeaderCell(ct)),u.createElement(ze,(0,v.Z)({},Ye,{scope:ct.title?Ye.colSpan>1?"colgroup":"col":null,ellipsis:ct.ellipsis,align:ct.align,component:ct.title?ue:xe,prefixCls:Le,key:We[mt]},vt,{additionalProps:dt,rowType:"header"}))}))}gn.displayName="HeaderRow";var sn=gn;function An(S){var N=[];function Q(xe,we){var be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;N[be]=N[be]||[];var Pe=we,Le=xe.filter(Boolean).map(function(Te){var Qe={key:Te.key,className:Te.className||"",children:Te.title,column:Te,colStart:Pe},We=1,Ye=Te.children;return Ye&&Ye.length>0&&(We=Q(Ye,Pe,be+1).reduce(function(mt,ct){return mt+ct},0),Qe.hasSubColumns=!0),"colSpan"in Te&&(We=Te.colSpan),"rowSpan"in Te&&(Qe.rowSpan=Te.rowSpan),Qe.colSpan=We,Qe.colEnd=Qe.colStart+We-1,N[be].push(Qe),Pe+=We,We});return Le}Q(S,0);for(var ie=N.length,le=function(we){N[we].forEach(function(be){!("rowSpan"in be)&&!be.hasSubColumns&&(be.rowSpan=ie-we)})},ue=0;ue<ie;ue+=1)le(ue);return N}function Ln(S){var N=S.stickyOffsets,Q=S.columns,ie=S.flattenColumns,le=S.onHeaderRow,ue=h(s,["prefixCls","getComponent"]),xe=ue.prefixCls,we=ue.getComponent,be=u.useMemo(function(){return An(Q)},[Q]),Pe=we(["header","wrapper"],"thead"),Le=we(["header","row"],"tr"),Te=we(["header","cell"],"th"),Qe=we(["header","cell"],"td");return u.createElement(Pe,{className:"".concat(xe,"-thead")},be.map(function(We,Ye){var mt=u.createElement(sn,{key:Ye,flattenColumns:ie,cells:We,stickyOffsets:N,rowComponent:Le,cellComponent:Te,tdCellComponent:Qe,onHeaderRow:le,index:Ye});return mt}))}var Kn=I(Ln),rr=t(11592);function Gt(S){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof N=="number"?N:N.endsWith("%")?S*parseFloat(N)/100:null}function St(S,N){return u.useMemo(function(){if(N&&N>0){var Q=0,ie=0;S.forEach(function(Pe){var Le=Gt(N,Pe.width);Le?Q+=Le:ie+=1});var le=N-Q,ue=ie,xe=le/ie,we=0,be=S.map(function(Pe){var Le=(0,G.Z)({},Pe),Te=Gt(N,Le.width);if(Te)Le.width=Te;else{var Qe=Math.floor(xe);Le.width=ue===1?le:Qe,le-=Qe,ue-=1}return we+=Le.width,Le});return[be,we]}return[S,N]},[S,N])}var Xt=["children"],ln=["fixed"];function Bn(S){return(0,rr.Z)(S).filter(function(N){return u.isValidElement(N)}).map(function(N){var Q=N.key,ie=N.props,le=ie.children,ue=(0,pe.Z)(ie,Xt),xe=(0,G.Z)({key:Q},ue);return le&&(xe.children=Bn(le)),xe})}function Pn(S){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return S.filter(function(Q){return Q&&(0,ee.Z)(Q)==="object"}).reduce(function(Q,ie,le){var ue=ie.fixed,xe=ue===!0?"left":ue,we="".concat(N,"-").concat(le),be=ie.children;return be&&be.length>0?[].concat((0,tt.Z)(Q),(0,tt.Z)(Pn(be,we).map(function(Pe){return(0,G.Z)({fixed:xe},Pe)}))):[].concat((0,tt.Z)(Q),[(0,G.Z)((0,G.Z)({key:we},ie),{},{fixed:xe})])},[])}function ye(S){for(var N=!0,Q=0;Q<S.length;Q+=1){var ie=S[Q];if(N&&ie.fixed!=="left")N=!1;else if(!N&&ie.fixed==="left"){warning(!1,"Index ".concat(Q-1," of `columns` missing `fixed='left'` prop."));break}}for(var le=!0,ue=S.length-1;ue>=0;ue-=1){var xe=S[ue];if(le&&xe.fixed!=="right")le=!1;else if(!le&&xe.fixed==="right"){warning(!1,"Index ".concat(ue+1," of `columns` missing `fixed='right'` prop."));break}}}function he(S){return S.map(function(N){var Q=N.fixed,ie=(0,pe.Z)(N,ln),le=Q;return Q==="left"?le="right":Q==="right"&&(le="left"),(0,G.Z)({fixed:le},ie)})}function Ve(S,N){var Q=S.prefixCls,ie=S.columns,le=S.children,ue=S.expandable,xe=S.expandedKeys,we=S.columnTitle,be=S.getRowKey,Pe=S.onTriggerExpand,Le=S.expandIcon,Te=S.rowExpandable,Qe=S.expandIconColumnIndex,We=S.direction,Ye=S.expandRowByClick,mt=S.columnWidth,ct=S.fixed,vt=S.scrollWidth,dt=u.useMemo(function(){return ie||Bn(le)},[ie,le]),Et=u.useMemo(function(){if(ue){var jt,Dt=dt.slice();if(!Dt.includes(x)){var yt=Qe||0;yt>=0&&Dt.splice(yt,0,x)}var Bt=Dt.indexOf(x);Dt=Dt.filter(function(cn,Wn){return cn!==x||Wn===Bt});var yn=dt[Bt],Fn;(ct==="left"||ct)&&!Qe?Fn="left":(ct==="right"||ct)&&Qe===dt.length?Fn="right":Fn=yn?yn.fixed:null;var Tn=(jt={},(0,H.Z)(jt,Nt,{className:"".concat(Q,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,H.Z)(jt,"title",we),(0,H.Z)(jt,"fixed",Fn),(0,H.Z)(jt,"className","".concat(Q,"-row-expand-icon-cell")),(0,H.Z)(jt,"width",mt),(0,H.Z)(jt,"render",function(Wn,Un,gr){var nr=be(Un,gr),kr=xe.has(nr),Kr=Te?Te(Un):!0,$n=Le({prefixCls:Q,expanded:kr,expandable:Kr,record:Un,onExpand:Pe});return Ye?u.createElement("span",{onClick:function(ir){return ir.stopPropagation()}},$n):$n}),jt);return Dt.map(function(cn){return cn===x?Tn:cn})}return dt.filter(function(cn){return cn!==x})},[ue,dt,be,xe,Le,We]),nn=u.useMemo(function(){var jt=Et;return N&&(jt=N(jt)),jt.length||(jt=[{render:function(){return null}}]),jt},[N,Et,We]),an=u.useMemo(function(){return We==="rtl"?he(Pn(nn)):Pn(nn)},[nn,We,vt]),zt=St(an,vt),wn=(0,D.Z)(zt,2),Nn=wn[0],Pt=wn[1];return[nn,Nn,Pt]}var Fe=Ve;function ht(S){var N,Q=S.prefixCls,ie=S.record,le=S.onExpand,ue=S.expanded,xe=S.expandable,we="".concat(Q,"-row-expand-icon");if(!xe)return u.createElement("span",{className:p()(we,"".concat(Q,"-row-spaced"))});var be=function(Le){le(ie,Le),Le.stopPropagation()};return u.createElement("span",{className:p()(we,(N={},(0,H.Z)(N,"".concat(Q,"-row-expanded"),ue),(0,H.Z)(N,"".concat(Q,"-row-collapsed"),!ue),N)),onClick:be})}function rt(S,N,Q){var ie=[];function le(ue){(ue||[]).forEach(function(xe,we){ie.push(N(xe,we)),le(xe[Q])})}return le(S),ie}function gt(S,N,Q){var ie=Tt(S),le=ie.expandIcon,ue=ie.expandedRowKeys,xe=ie.defaultExpandedRowKeys,we=ie.defaultExpandAllRows,be=ie.expandedRowRender,Pe=ie.onExpand,Le=ie.onExpandedRowsChange,Te=ie.childrenColumnName,Qe=le||ht,We=Te||"children",Ye=u.useMemo(function(){return be?"row":S.expandable&&S.internalHooks===m&&S.expandable.__PARENT_RENDER_ICON__||N.some(function(an){return an&&(0,ee.Z)(an)==="object"&&an[We]})?"nest":!1},[!!be,N]),mt=u.useState(function(){return xe||(we?rt(N,Q,We):[])}),ct=(0,D.Z)(mt,2),vt=ct[0],dt=ct[1],Et=u.useMemo(function(){return new Set(ue||vt||[])},[ue,vt]),nn=u.useCallback(function(an){var zt=Q(an,N.indexOf(an)),wn,Nn=Et.has(zt);Nn?(Et.delete(zt),wn=(0,tt.Z)(Et)):wn=[].concat((0,tt.Z)(Et),[zt]),dt(wn),Pe&&Pe(!Nn,an),Le&&Le(wn)},[Q,Et,N,Pe,Le]);return[ie,Ye,Et,Qe,We,nn]}function it(S,N,Q,ie){var le=S.map(function(ue,xe){return Je(xe,xe,S,N,Q,ie==null?void 0:ie[xe])});return(0,Z.Z)(function(){return le},[le],function(ue,xe){return!(0,F.Z)(ue,xe)})}function bt(S){var N=(0,u.useRef)(S),Q=(0,u.useState)({}),ie=(0,D.Z)(Q,2),le=ie[1],ue=(0,u.useRef)(null),xe=(0,u.useRef)([]);function we(be){xe.current.push(be);var Pe=Promise.resolve();ue.current=Pe,Pe.then(function(){if(ue.current===Pe){var Le=xe.current,Te=N.current;xe.current=[],Le.forEach(function(Qe){N.current=Qe(N.current)}),ue.current=null,Te!==N.current&&le({})}})}return(0,u.useEffect)(function(){return function(){ue.current=null}},[]),[N.current,we]}function xt(S){var N=(0,u.useRef)(S||null),Q=(0,u.useRef)();function ie(){window.clearTimeout(Q.current)}function le(xe){N.current=xe,ie(),Q.current=window.setTimeout(function(){N.current=null,Q.current=void 0},100)}function ue(){return N.current}return(0,u.useEffect)(function(){return ie},[]),[le,ue]}function wt(){var S=u.useState(-1),N=(0,D.Z)(S,2),Q=N[0],ie=N[1],le=u.useState(-1),ue=(0,D.Z)(le,2),xe=ue[0],we=ue[1],be=u.useCallback(function(Pe,Le){ie(Pe),we(Le)},[]);return[Q,xe,be]}var Ze=t(47273),Ke=(0,Ze.Z)()?window:null;function Ge(S,N){var Q=(0,ee.Z)(S)==="object"?S:{},ie=Q.offsetHeader,le=ie===void 0?0:ie,ue=Q.offsetSummary,xe=ue===void 0?0:ue,we=Q.offsetScroll,be=we===void 0?0:we,Pe=Q.getContainer,Le=Pe===void 0?function(){return Ke}:Pe,Te=Le()||Ke;return u.useMemo(function(){var Qe=!!S;return{isSticky:Qe,stickyClassName:Qe?"".concat(N,"-sticky-holder"):"",offsetHeader:le,offsetSummary:xe,offsetScroll:be,container:Te}},[be,le,xe,N,Te])}function at(S,N,Q){var ie=(0,u.useMemo)(function(){for(var le=[],ue=[],xe=0,we=0,be=0;be<N;be+=1)if(Q==="rtl"){ue[be]=we,we+=S[be]||0;var Pe=N-be-1;le[Pe]=xe,xe+=S[Pe]||0}else{le[be]=xe,xe+=S[be]||0;var Le=N-be-1;ue[Le]=we,we+=S[Le]||0}return{left:le,right:ue}},[S,N,Q]);return ie}var kt=at;function hn(S){var N=S.className,Q=S.children;return u.createElement("div",{className:N},Q)}var Zt=hn,lt=t(8224),ge=t(55468),Se=function(N,Q){var ie,le,ue=N.scrollBodyRef,xe=N.onScroll,we=N.offsetScroll,be=N.container,Pe=h(s,"prefixCls"),Le=((ie=ue.current)===null||ie===void 0?void 0:ie.scrollWidth)||0,Te=((le=ue.current)===null||le===void 0?void 0:le.clientWidth)||0,Qe=Le&&Te*(Te/Le),We=u.useRef(),Ye=bt({scrollLeft:0,isHiddenScrollBar:!1}),mt=(0,D.Z)(Ye,2),ct=mt[0],vt=mt[1],dt=u.useRef({delta:0,x:0}),Et=u.useState(!1),nn=(0,D.Z)(Et,2),an=nn[0],zt=nn[1],wn=function(){zt(!1)},Nn=function(Bt){Bt.persist(),dt.current.delta=Bt.pageX-ct.scrollLeft,dt.current.x=0,zt(!0),Bt.preventDefault()},Pt=function(Bt){var yn,Fn=Bt||((yn=window)===null||yn===void 0?void 0:yn.event),Tn=Fn.buttons;if(!an||Tn===0){an&&zt(!1);return}var cn=dt.current.x+Bt.pageX-dt.current.x-dt.current.delta;cn<=0&&(cn=0),cn+Qe>=Te&&(cn=Te-Qe),xe({scrollLeft:cn/Te*(Le+2)}),dt.current.x=Bt.pageX},jt=function(){if(ue.current){var Bt=(0,ge.os)(ue.current).top,yn=Bt+ue.current.offsetHeight,Fn=be===window?document.documentElement.scrollTop+window.innerHeight:(0,ge.os)(be).top+be.clientHeight;yn-(0,J.Z)()<=Fn||Bt>=Fn-we?vt(function(Tn){return(0,G.Z)((0,G.Z)({},Tn),{},{isHiddenScrollBar:!0})}):vt(function(Tn){return(0,G.Z)((0,G.Z)({},Tn),{},{isHiddenScrollBar:!1})})}},Dt=function(Bt){vt(function(yn){return(0,G.Z)((0,G.Z)({},yn),{},{scrollLeft:Bt/Le*Te||0})})};return u.useImperativeHandle(Q,function(){return{setScrollLeft:Dt}}),u.useEffect(function(){var yt=(0,lt.Z)(document.body,"mouseup",wn,!1),Bt=(0,lt.Z)(document.body,"mousemove",Pt,!1);return jt(),function(){yt.remove(),Bt.remove()}},[Qe,an]),u.useEffect(function(){var yt=(0,lt.Z)(be,"scroll",jt,!1),Bt=(0,lt.Z)(window,"resize",jt,!1);return function(){yt.remove(),Bt.remove()}},[be]),u.useEffect(function(){ct.isHiddenScrollBar||vt(function(yt){var Bt=ue.current;return Bt?(0,G.Z)((0,G.Z)({},yt),{},{scrollLeft:Bt.scrollLeft/Bt.scrollWidth*Bt.clientWidth}):yt})},[ct.isHiddenScrollBar]),Le<=Te||!Qe||ct.isHiddenScrollBar?null:u.createElement("div",{style:{height:(0,J.Z)(),width:Te,bottom:we},className:"".concat(Pe,"-sticky-scroll")},u.createElement("div",{onMouseDown:Nn,ref:We,className:p()("".concat(Pe,"-sticky-scroll-bar"),(0,H.Z)({},"".concat(Pe,"-sticky-scroll-bar-active"),an)),style:{width:"".concat(Qe,"px"),transform:"translate3d(".concat(ct.scrollLeft,"px, 0, 0)")}}))},De=u.forwardRef(Se);function Ae(S){return null}var Ne=Ae;function Xe(S){return null}var Me=Xe,qe="rc-table",ft=[],pt={};function Kt(){return"No Data"}function Ot(S){var N,Q=(0,G.Z)({rowKey:"key",prefixCls:qe,emptyText:Kt},S),ie=Q.prefixCls,le=Q.className,ue=Q.rowClassName,xe=Q.style,we=Q.data,be=Q.rowKey,Pe=Q.scroll,Le=Q.tableLayout,Te=Q.direction,Qe=Q.title,We=Q.footer,Ye=Q.summary,mt=Q.caption,ct=Q.id,vt=Q.showHeader,dt=Q.components,Et=Q.emptyText,nn=Q.onRow,an=Q.onHeaderRow,zt=Q.internalHooks,wn=Q.transformColumns,Nn=Q.internalRefs,Pt=Q.tailor,jt=Q.sticky,Dt=we||ft,yt=!!Dt.length,Bt=zt===m,yn=u.useCallback(function(fr,Rr){return(0,O.Z)(dt,fr)||Rr},[dt]),Fn=u.useMemo(function(){return typeof be=="function"?be:function(fr){var Rr=fr&&fr[be];return Rr}},[be]),Tn=yn(["body"]),cn=wt(),Wn=(0,D.Z)(cn,3),Un=Wn[0],gr=Wn[1],nr=Wn[2],kr=gt(Q,Dt,Fn),Kr=(0,D.Z)(kr,6),$n=Kr[0],Vr=Kr[1],ir=Kr[2],Ir=Kr[3],Er=Kr[4],Ei=Kr[5],pn=Pe==null?void 0:Pe.x,fn=u.useState(0),dn=(0,D.Z)(fn,2),en=dn[0],ar=dn[1],tn=Fe((0,G.Z)((0,G.Z)((0,G.Z)({},Q),$n),{},{expandable:!!$n.expandedRowRender,columnTitle:$n.columnTitle,expandedKeys:ir,getRowKey:Fn,onTriggerExpand:Ei,expandIcon:Ir,expandIconColumnIndex:$n.expandIconColumnIndex,direction:Te,scrollWidth:Bt&&Pt&&typeof pn=="number"?pn:null}),Bt?wn:null),Rn=(0,D.Z)(tn,3),qn=Rn[0],Qn=Rn[1],fi=Rn[2],ii=fi!=null?fi:pn,Ki=u.useMemo(function(){return{columns:qn,flattenColumns:Qn}},[qn,Qn]),Gr=u.useRef(),Ai=u.useRef(),Xr=u.useRef(),Si=u.useRef(),oa=u.useRef(),cr=u.useState(!1),dr=(0,D.Z)(cr,2),Nr=dr[0],Yr=dr[1],Jr=u.useState(!1),Vn=(0,D.Z)(Jr,2),vi=Vn[0],hi=Vn[1],Ti=bt(new Map),Wi=(0,D.Z)(Ti,2),Fi=Wi[0],Oa=Wi[1],Qi=j(Qn),Li=Qi.map(function(fr){return Fi.get(fr)}),Oi=u.useMemo(function(){return Li},[Li.join("_")]),gi=kt(Oi,Qn.length,Te),Qr=Pe&&ne(Pe.y),$r=Pe&&ne(ii)||!!$n.fixed,Ui=$r&&Qn.some(function(fr){var Rr=fr.fixed;return Rr}),sa=u.useRef(),na=Ge(jt,ie),Vi=na.isSticky,$a=na.offsetHeader,Za=na.offsetSummary,er=na.offsetScroll,Cr=na.stickyClassName,si=na.container,Mr=u.useMemo(function(){return Ye==null?void 0:Ye(Dt)},[Ye,Dt]),pi=(Qr||Vi)&&u.isValidElement(Mr)&&Mr.type===R&&Mr.props.fixed,Ii,Ri,qi;Qr&&(Ri={overflowY:"scroll",maxHeight:Pe.y}),$r&&(Ii={overflowX:"auto"},Qr||(Ri={overflowY:"hidden"}),qi={width:ii===!0?"auto":ii,minWidth:"100%"});var Xa=u.useCallback(function(fr,Rr){(0,K.Z)(Gr.current)&&Oa(function(Bi){if(Bi.get(fr)!==Rr){var ra=new Map(Bi);return ra.set(fr,Rr),ra}return Bi})},[]),Zo=xt(null),Ya=(0,D.Z)(Zo,2),zo=Ya[0],Ja=Ya[1];function Ma(fr,Rr){Rr&&(typeof Rr=="function"?Rr(fr):Rr.scrollLeft!==fr&&(Rr.scrollLeft=fr,Rr.scrollLeft!==fr&&setTimeout(function(){Rr.scrollLeft=fr},0)))}var ba=(0,V.Z)(function(fr){var Rr=fr.currentTarget,Bi=fr.scrollLeft,ra=Te==="rtl",ia=typeof Bi=="number"?Bi:Rr.scrollLeft,ho=Rr||pt;if(!Ja()||Ja()===ho){var ja;zo(ho),Ma(ia,Ai.current),Ma(ia,Xr.current),Ma(ia,oa.current),Ma(ia,(ja=sa.current)===null||ja===void 0?void 0:ja.setScrollLeft)}var Ha=Rr||Ai.current;if(Ha){var Wa=Ha.scrollWidth,Ua=Ha.clientWidth;if(Wa===Ua){Yr(!1),hi(!1);return}ra?(Yr(-ia<Wa-Ua),hi(-ia>0)):(Yr(ia>0),hi(ia<Wa-Ua))}}),Qa=function(){$r&&Xr.current?ba({currentTarget:Xr.current}):(Yr(!1),hi(!1))},ko=function(Rr){var Bi=Rr.width;Bi!==en&&(Qa(),ar(Gr.current?Gr.current.offsetWidth:Bi))},qa=u.useRef(!1);u.useEffect(function(){qa.current&&Qa()},[$r,we,qn.length]),u.useEffect(function(){qa.current=!0},[]);var Ko=u.useState(0),eo=(0,D.Z)(Ko,2),Aa=eo[0],to=eo[1],Fo=u.useState(!0),no=(0,D.Z)(Fo,2),ro=no[0],jo=no[1];u.useEffect(function(){(!Pt||!Bt)&&(Xr.current instanceof Element?to((0,J.o)(Xr.current).width):to((0,J.o)(Si.current).width)),jo((0,z.G)("position","sticky"))},[]),u.useEffect(function(){Bt&&Nn&&(Nn.body.current=Xr.current)});var Ho=u.useCallback(function(fr){return u.createElement(u.Fragment,null,u.createElement(Kn,fr),pi==="top"&&u.createElement(y,fr,Mr))},[pi,Mr]),Wo=u.useCallback(function(fr){return u.createElement(y,fr,Mr)},[Mr]),io=yn(["table"],"table"),La=u.useMemo(function(){return Le||(Ui?ii==="max-content"?"auto":"fixed":Qr||Vi||Qn.some(function(fr){var Rr=fr.ellipsis;return Rr})?"fixed":"auto")},[Qr,Ui,Qn,Le,Vi]),za,ka={colWidths:Oi,columCount:Qn.length,stickyOffsets:gi,onHeaderRow:an,fixHeader:Qr,scroll:Pe},ao=u.useMemo(function(){return yt?null:typeof Et=="function"?Et():Et},[yt,Et]),oo=u.createElement(nt,{data:Dt,measureColumnWidth:Qr||$r||Vi}),so=u.createElement(Ct,{colWidths:Qn.map(function(fr){var Rr=fr.width;return Rr}),columns:Qn}),lo=mt!=null?u.createElement("caption",{className:"".concat(ie,"-caption")},mt):void 0,Uo=(0,ce.Z)(Q,{data:!0}),uo=(0,ce.Z)(Q,{aria:!0});if(Qr||Vi){var Ka;typeof Tn=="function"?(Ka=Tn(Dt,{scrollbarSize:Aa,ref:Xr,onScroll:ba}),ka.colWidths=Qn.map(function(fr,Rr){var Bi=fr.width,ra=Rr===Qn.length-1?Bi-Aa:Bi;return typeof ra=="number"&&!Number.isNaN(ra)?ra:0})):Ka=u.createElement("div",{style:(0,G.Z)((0,G.Z)({},Ii),Ri),onScroll:ba,ref:Xr,className:p()("".concat(ie,"-body"))},u.createElement(io,(0,v.Z)({style:(0,G.Z)((0,G.Z)({},qi),{},{tableLayout:La})},uo),lo,so,oo,!pi&&Mr&&u.createElement(y,{stickyOffsets:gi,flattenColumns:Qn,columns:qn},Mr)));var co=(0,G.Z)((0,G.Z)((0,G.Z)({noData:!Dt.length,maxContentScroll:$r&&ii==="max-content"},ka),Ki),{},{direction:Te,stickyClassName:Cr,onScroll:ba});za=u.createElement(u.Fragment,null,vt!==!1&&u.createElement(qt,(0,v.Z)({},co,{stickyTopOffset:$a,className:"".concat(ie,"-header"),ref:Ai}),Ho),Ka,pi&&pi!=="top"&&u.createElement(qt,(0,v.Z)({},co,{stickyBottomOffset:Za,className:"".concat(ie,"-summary"),ref:oa}),Wo),Vi&&u.createElement(De,{ref:sa,offsetScroll:er,scrollBodyRef:Xr,onScroll:ba,container:si}))}else za=u.createElement("div",{style:(0,G.Z)((0,G.Z)({},Ii),Ri),className:p()("".concat(ie,"-content")),onScroll:ba,ref:Xr},u.createElement(io,(0,v.Z)({style:(0,G.Z)((0,G.Z)({},qi),{},{tableLayout:La})},uo),lo,so,vt!==!1&&u.createElement(Kn,(0,v.Z)({},ka,Ki)),oo,Mr&&u.createElement(y,{stickyOffsets:gi,flattenColumns:Qn,columns:qn},Mr)));var Fa=u.createElement("div",(0,v.Z)({className:p()(ie,le,(N={},(0,H.Z)(N,"".concat(ie,"-rtl"),Te==="rtl"),(0,H.Z)(N,"".concat(ie,"-ping-left"),Nr),(0,H.Z)(N,"".concat(ie,"-ping-right"),vi),(0,H.Z)(N,"".concat(ie,"-layout-fixed"),Le==="fixed"),(0,H.Z)(N,"".concat(ie,"-fixed-header"),Qr),(0,H.Z)(N,"".concat(ie,"-fixed-column"),Ui),(0,H.Z)(N,"".concat(ie,"-scroll-horizontal"),$r),(0,H.Z)(N,"".concat(ie,"-has-fix-left"),Qn[0]&&Qn[0].fixed),(0,H.Z)(N,"".concat(ie,"-has-fix-right"),Qn[Qn.length-1]&&Qn[Qn.length-1].fixed==="right"),N)),style:xe,id:ct,ref:Gr},Uo),Qe&&u.createElement(Zt,{className:"".concat(ie,"-title")},Qe(Dt)),u.createElement("div",{ref:Si,className:"".concat(ie,"-container")},za),We&&u.createElement(Zt,{className:"".concat(ie,"-footer")},We(Dt)));$r&&(Fa=u.createElement(X.Z,{onResize:ko},Fa));var fo=it(Qn,gi,Te,qn),Vo=u.useMemo(function(){return{scrollX:ii,prefixCls:ie,getComponent:yn,scrollbarSize:Aa,direction:Te,fixedInfoList:fo,isSticky:Vi,supportSticky:ro,componentWidth:en,fixHeader:Qr,fixColumn:Ui,horizonScroll:$r,tableLayout:La,rowClassName:ue,expandedRowClassName:$n.expandedRowClassName,expandIcon:Ir,expandableType:Vr,expandRowByClick:$n.expandRowByClick,expandedRowRender:$n.expandedRowRender,onTriggerExpand:Ei,expandIconColumnIndex:$n.expandIconColumnIndex,indentSize:$n.indentSize,allColumnsFixedLeft:Qn.every(function(fr){return fr.fixed==="left"}),emptyNode:ao,columns:qn,flattenColumns:Qn,onColumnResize:Xa,hoverStartRow:Un,hoverEndRow:gr,onHover:nr,rowExpandable:$n.rowExpandable,onRow:nn,getRowKey:Fn,expandedKeys:ir,childrenColumnName:Er}},[ii,ie,yn,Aa,Te,fo,Vi,ro,en,Qr,Ui,$r,La,ue,$n.expandedRowClassName,Ir,Vr,$n.expandRowByClick,$n.expandedRowRender,Ei,$n.expandIconColumnIndex,$n.indentSize,ao,qn,Qn,Xa,Un,gr,nr,$n.rowExpandable,nn,Fn,ir,Er]);return u.createElement(s.Provider,{value:Vo},Fa)}function un(S){return g(Ot,S)}var _t=un();_t.EXPAND_COLUMN=x,_t.INTERNAL_HOOKS=m,_t.Column=Ne,_t.ColumnGroup=Me,_t.Summary=f;var ot=_t,Yt=t(45680),Wt=e(null),zn=e(null);function En(S,N,Q){var ie=N||1;return Q[S+ie]-(Q[S]||0)}function mn(S){var N=S.rowInfo,Q=S.column,ie=S.colIndex,le=S.indent,ue=S.index,xe=S.renderIndex,we=S.record,be=S.style,Pe=S.className,Le=S.inverse,Te=S.getHeight,Qe=Q.render,We=Q.dataIndex,Ye=Q.className,mt=Q.width,ct=h(zn,["columnsOffset"]),vt=ct.columnsOffset,dt=Be(N,Q,ie,le,ue),Et=dt.key,nn=dt.fixedInfo,an=dt.appendCellNode,zt=dt.additionalCellProps,wn=zt.style,Nn=zt.colSpan,Pt=Nn===void 0?1:Nn,jt=zt.rowSpan,Dt=jt===void 0?1:jt,yt=ie-1,Bt=En(yt,Pt,vt),yn=Pt>1?mt-Bt:0,Fn=(0,G.Z)((0,G.Z)((0,G.Z)({},wn),be),{},{flex:"0 0 ".concat(Bt,"px"),width:"".concat(Bt,"px"),marginRight:yn,pointerEvents:"auto"}),Tn=u.useMemo(function(){return Le?Dt<=1:Pt===0||Dt===0||Dt>1},[Dt,Pt,Le]);Tn?Fn.visibility="hidden":Le&&(Fn.height=Te==null?void 0:Te(Dt));var cn=Tn?function(){return null}:Qe,Wn={};return(Dt===0||Pt===0)&&(Wn.rowSpan=1,Wn.colSpan=1),u.createElement(ze,(0,v.Z)({className:p()(Ye,Pe),ellipsis:Q.ellipsis,align:Q.align,scope:Q.rowScope,component:"div",prefixCls:N.prefixCls,key:Et,record:we,index:ue,renderIndex:xe,dataIndex:We,render:cn,shouldCellUpdate:Q.shouldCellUpdate},nn,{appendNode:an,additionalProps:(0,G.Z)((0,G.Z)({},zt),{},{style:Fn},Wn)}))}var Dn=mn,Jt=["data","index","className","rowKey","style","extra","getHeight"],Zn=u.forwardRef(function(S,N){var Q=S.data,ie=S.index,le=S.className,ue=S.rowKey,xe=S.style,we=S.extra,be=S.getHeight,Pe=(0,pe.Z)(S,Jt),Le=Q.record,Te=Q.indent,Qe=Q.index,We=h(s,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ye=We.scrollX,mt=We.flattenColumns,ct=We.prefixCls,vt=We.fixColumn,dt=We.componentWidth,Et=ve(Le,ue,ie,Te),nn=Et.rowSupportExpand,an=Et.expanded,zt=Et.rowProps,wn=Et.expandedRowRender,Nn=Et.expandedRowClassName,Pt;if(nn&&an){var jt=wn(Le,ie,Te+1,an),Dt=Nn==null?void 0:Nn(Le,ie,Te),yt={};vt&&(yt={style:(0,H.Z)({},"--virtual-width","".concat(dt,"px"))});var Bt="".concat(ct,"-expanded-row-cell");Pt=u.createElement("div",{className:p()("".concat(ct,"-expanded-row"),"".concat(ct,"-expanded-row-level-").concat(Te+1),Dt)},u.createElement(ze,{component:"div",prefixCls:ct,className:p()(Bt,(0,H.Z)({},"".concat(Bt,"-fixed"),vt)),additionalProps:yt},jt))}var yn=(0,G.Z)((0,G.Z)({},xe),{},{width:Ye});we&&(yn.position="absolute",yn.pointerEvents="none");var Fn=u.createElement("div",(0,v.Z)({},zt,Pe,{ref:nn?null:N,className:p()(le,"".concat(ct,"-row"),zt==null?void 0:zt.className,(0,H.Z)({},"".concat(ct,"-row-extra"),we)),style:(0,G.Z)((0,G.Z)({},yn),zt==null?void 0:zt.style)}),mt.map(function(Tn,cn){return u.createElement(Dn,{key:cn,rowInfo:Et,column:Tn,colIndex:cn,indent:Te,index:ie,renderIndex:Qe,record:Le,inverse:we,getHeight:be})}));return nn?u.createElement("div",{ref:N},Fn,Pt):Fn}),ur=I(Zn),At=ur,Ht=u.forwardRef(function(S,N){var Q=S.data,ie=S.onScroll,le=h(s,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),ue=le.flattenColumns,xe=le.onColumnResize,we=le.getRowKey,be=le.expandedKeys,Pe=le.prefixCls,Le=le.childrenColumnName,Te=le.emptyNode,Qe=le.scrollX,We=h(Wt),Ye=We.scrollY,mt=We.listItemHeight,ct=u.useRef(),vt=se(Q,Le,be,we),dt=u.useMemo(function(){var Pt=0;return ue.map(function(jt){var Dt=jt.width,yt=jt.key;return Pt+=Dt,[yt,Dt,Pt]})},[ue]),Et=u.useMemo(function(){return dt.map(function(Pt){return Pt[2]})},[dt]);u.useEffect(function(){dt.forEach(function(Pt){var jt=(0,D.Z)(Pt,2),Dt=jt[0],yt=jt[1];xe(Dt,yt)})},[dt]),u.useImperativeHandle(N,function(){var Pt={};return Object.defineProperty(Pt,"scrollLeft",{get:function(){var Dt;return((Dt=ct.current)===null||Dt===void 0?void 0:Dt.getScrollInfo().x)||0},set:function(Dt){var yt;(yt=ct.current)===null||yt===void 0||yt.scrollTo({left:Dt})}}),Pt});var nn=function(jt,Dt){var yt,Bt=(yt=vt[Dt])===null||yt===void 0?void 0:yt.record,yn=jt.onCell;if(yn){var Fn,Tn=yn(Bt,Dt);return(Fn=Tn==null?void 0:Tn.rowSpan)!==null&&Fn!==void 0?Fn:1}return 1},an=function(jt){var Dt=jt.start,yt=jt.end,Bt=jt.getSize,yn=jt.offsetY;if(yt<0)return null;for(var Fn=ue.filter(function(pn){return nn(pn,Dt)===0}),Tn=Dt,cn=function(fn){if(Fn=Fn.filter(function(dn){return nn(dn,fn)===0}),!Fn.length)return Tn=fn,"break"},Wn=Dt;Wn>=0;Wn-=1){var Un=cn(Wn);if(Un==="break")break}for(var gr=ue.filter(function(pn){return nn(pn,yt)!==1}),nr=yt,kr=function(fn){if(gr=gr.filter(function(dn){return nn(dn,fn)!==1}),!gr.length)return nr=Math.max(fn-1,yt),"break"},Kr=yt;Kr<vt.length;Kr+=1){var $n=kr(Kr);if($n==="break")break}for(var Vr=[],ir=function(fn){var dn=vt[fn];if(!dn)return"continue";ue.some(function(en){return nn(en,fn)>1})&&Vr.push(fn)},Ir=Tn;Ir<=nr;Ir+=1)var Er=ir(Ir);var Ei=Vr.map(function(pn){var fn=vt[pn],dn=we(fn.record,pn),en=function(Rn){var qn=pn+Rn-1,Qn=we(vt[qn].record,qn),fi=Bt(dn,Qn);return fi.bottom-fi.top},ar=Bt(dn);return u.createElement(At,{key:pn,data:fn,rowKey:dn,index:pn,style:{top:-yn+ar.top},extra:!0,getHeight:en})});return Ei},zt=u.useMemo(function(){return{columnsOffset:Et}},[Et]),wn="".concat(Pe,"-tbody"),Nn;return vt.length?Nn=u.createElement(Yt.Z,{fullHeight:!1,ref:ct,className:p()(wn,"".concat(wn,"-virtual")),height:Ye,itemHeight:mt||24,data:vt,itemKey:function(jt){return we(jt.record)},scrollWidth:Qe,onVirtualScroll:function(jt){var Dt=jt.x;ie({scrollLeft:Dt})},extraRender:an},function(Pt,jt,Dt){var yt=we(Pt.record,jt);return u.createElement(At,(0,v.Z)({data:Pt,rowKey:yt,index:jt},Dt))}):Nn=u.createElement("div",{className:p()("".concat(Pe,"-placeholder"))},u.createElement(ze,{component:"div",prefixCls:Pe},Te)),u.createElement(zn.Provider,{value:zt},Nn)}),Ut=I(Ht),On=Ut,bn=function(N,Q){var ie=Q.ref,le=Q.onScroll;return u.createElement(On,{ref:ie,data:N,onScroll:le})},Sn=100;function _n(S){var N=S.columns,Q=S.scroll,ie=S.prefixCls,le=ie===void 0?qe:ie,ue=S.className,xe=S.listItemHeight,we=Q||{},be=we.x,Pe=we.y;typeof be!="number"&&(be=((N||[]).length+1)*Sn),typeof Pe!="number"&&(Pe=500);var Le=u.useMemo(function(){return{scrollY:Pe,listItemHeight:xe}},[Pe,xe]);return u.createElement(Wt.Provider,{value:Le},u.createElement(ot,(0,v.Z)({},S,{className:p()(ue,"".concat(le,"-virtual")),scroll:(0,G.Z)((0,G.Z)({},Q),{},{x:be}),components:{body:bn},columns:N,internalHooks:m,tailor:!0})))}function kn(S){return g(_n,S)}var or=kn(),jn=null;function tr(S){return null}var It=tr;function ut(S){return null}var rn=ut,xn=t(2738),Gn=t(68031),Pr=t(36355),hr=t(93891),sr=t(19716),mr=t(8628),vr=t(31724),yr=t(58421),Dr=t(71418),Xn=t(88088);function _r(S){return function(Q){let{prefixCls:ie,onExpand:le,record:ue,expanded:xe,expandable:we}=Q;const be=`${ie}-row-expand-icon`;return u.createElement("button",{type:"button",onClick:Pe=>{le(ue,Pe),Pe.stopPropagation()},className:p()(be,{[`${be}-spaced`]:!we,[`${be}-expanded`]:we&&xe,[`${be}-collapsed`]:we&&!xe}),"aria-label":xe?S.collapse:S.expand,"aria-expanded":xe})}}var Fr=_r;function Ar(S,N){return"key"in S&&S.key!==void 0&&S.key!==null?S.key:S.dataIndex?Array.isArray(S.dataIndex)?S.dataIndex.join("."):S.dataIndex:N}function Sr(S,N){return N?`${N}-${S}`:`${S}`}function Hr(S,N){return typeof S=="function"?S(N):S}function Wr(S,N){const Q=Hr(S,N);return Object.prototype.toString.call(Q)==="[object Object]"?"":Q}var ti={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},qr=ti,_i=t(7657),yi=function(N,Q){return u.createElement(_i.Z,(0,v.Z)({},N,{ref:Q,icon:qr}))},li=u.forwardRef(yi),Ur=li,Pi=t(56762);function bi(S){const N=u.useRef(S),Q=(0,Pi.Z)();return[()=>N.current,ie=>{N.current=ie,Q()}]}var ui=t(3113),ci=t(24905),ni=t(38854),Ft=t(64165),Cn=t(20834),Qt=t(40875),vn=t(5112),Mn=t(17574),Yn=t(47472),Lr=t(92832);function br(S){let{value:N,onChange:Q,filterSearch:ie,tablePrefixCls:le,locale:ue}=S;return ie?u.createElement("div",{className:`${le}-filter-dropdown-search`},u.createElement(Lr.default,{prefix:u.createElement(Yn.Z,null),placeholder:ue.filterSearchPlaceholder,onChange:Q,value:N,htmlSize:1,className:`${le}-filter-dropdown-search-input`})):null}var xr=br,Or=t(10228);const di=S=>{const{keyCode:N}=S;N===Or.Z.ENTER&&S.stopPropagation()};var Zi=u.forwardRef((S,N)=>u.createElement("div",{className:S.className,onClick:Q=>Q.stopPropagation(),onKeyDown:di,ref:N},S.children));function mi(S){let N=[];return(S||[]).forEach(Q=>{let{value:ie,children:le}=Q;N.push(ie),le&&(N=[].concat((0,tt.Z)(N),(0,tt.Z)(mi(le))))}),N}function ai(S){return S.some(N=>{let{children:Q}=N;return Q})}function Lt(S,N){return typeof N=="string"||typeof N=="number"?N==null?void 0:N.toString().toLowerCase().includes(S.trim().toLowerCase()):!1}function In(S){let{filters:N,prefixCls:Q,filteredKeys:ie,filterMultiple:le,searchValue:ue,filterSearch:xe}=S;return N.map((we,be)=>{const Pe=String(we.value);if(we.children)return{key:Pe||be,label:we.text,popupClassName:`${Q}-dropdown-submenu`,children:In({filters:we.children,prefixCls:Q,filteredKeys:ie,filterMultiple:le,searchValue:ue,filterSearch:xe})};const Le=le?ci.default:vn.ZP,Te={key:we.value!==void 0?Pe:be,label:u.createElement(u.Fragment,null,u.createElement(Le,{checked:ie.includes(Pe)}),u.createElement("span",null,we.text))};return ue.trim()?typeof xe=="function"?xe(ue,we)?Te:null:Lt(ue,we.text)?Te:null:Te})}function pr(S){var N,Q;const{tablePrefixCls:ie,prefixCls:le,column:ue,dropdownPrefixCls:xe,columnKey:we,filterMultiple:be,filterMode:Pe="menu",filterSearch:Le=!1,filterState:Te,triggerFilter:Qe,locale:We,children:Ye,getPopupContainer:mt}=S,{filterDropdownOpen:ct,onFilterDropdownOpenChange:vt,filterResetToDefaultFilteredValue:dt,defaultFilteredValue:Et,filterDropdownVisible:nn,onFilterDropdownVisibleChange:an}=ue,[zt,wn]=u.useState(!1),Nn=!!(Te&&(!((N=Te.filteredKeys)===null||N===void 0)&&N.length||Te.forceFiltered)),Pt=tn=>{wn(tn),vt==null||vt(tn),an==null||an(tn)},jt=(Q=ct!=null?ct:nn)!==null&&Q!==void 0?Q:zt,Dt=Te==null?void 0:Te.filteredKeys,[yt,Bt]=bi(Dt||[]),yn=tn=>{let{selectedKeys:Rn}=tn;Bt(Rn)},Fn=(tn,Rn)=>{let{node:qn,checked:Qn}=Rn;yn(be?{selectedKeys:tn}:{selectedKeys:Qn&&qn.key?[qn.key]:[]})};u.useEffect(()=>{zt&&yn({selectedKeys:Dt||[]})},[Dt]);const[Tn,cn]=u.useState([]),Wn=tn=>{cn(tn)},[Un,gr]=u.useState(""),nr=tn=>{const{value:Rn}=tn.target;gr(Rn)};u.useEffect(()=>{zt||gr("")},[zt]);const kr=tn=>{const Rn=tn&&tn.length?tn:null;if(Rn===null&&(!Te||!Te.filteredKeys)||(0,F.Z)(Rn,Te==null?void 0:Te.filteredKeys,!0))return null;Qe({column:ue,key:we,filteredKeys:Rn})},Kr=()=>{Pt(!1),kr(yt())},$n=function(){let{confirm:tn,closeDropdown:Rn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};tn&&kr([]),Rn&&Pt(!1),gr(""),Bt(dt?(Et||[]).map(qn=>String(qn)):[])},Vr=function(){let{closeDropdown:tn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};tn&&Pt(!1),kr(yt())},ir=tn=>{tn&&Dt!==void 0&&Bt(Dt||[]),Pt(tn),!tn&&!ue.filterDropdown&&Kr()},Ir=p()({[`${xe}-menu-without-submenu`]:!ai(ue.filters||[])}),Er=tn=>{if(tn.target.checked){const Rn=mi(ue==null?void 0:ue.filters).map(qn=>String(qn));Bt(Rn)}else Bt([])},Ei=tn=>{let{filters:Rn}=tn;return(Rn||[]).map((qn,Qn)=>{const fi=String(qn.value),ii={title:qn.text,key:qn.value!==void 0?fi:Qn};return qn.children&&(ii.children=Ei({filters:qn.children})),ii})},pn=tn=>{var Rn;return Object.assign(Object.assign({},tn),{text:tn.title,value:tn.key,children:((Rn=tn.children)===null||Rn===void 0?void 0:Rn.map(qn=>pn(qn)))||[]})};let fn;if(typeof ue.filterDropdown=="function")fn=ue.filterDropdown({prefixCls:`${xe}-custom`,setSelectedKeys:tn=>yn({selectedKeys:tn}),selectedKeys:yt(),confirm:Vr,clearFilters:$n,filters:ue.filters,visible:jt,close:()=>{Pt(!1)}});else if(ue.filterDropdown)fn=ue.filterDropdown;else{const tn=yt()||[],Rn=()=>(ue.filters||[]).length===0?u.createElement(Ft.Z,{image:Ft.Z.PRESENTED_IMAGE_SIMPLE,description:We.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Pe==="tree"?u.createElement(u.Fragment,null,u.createElement(xr,{filterSearch:Le,value:Un,onChange:nr,tablePrefixCls:ie,locale:We}),u.createElement("div",{className:`${ie}-filter-dropdown-tree`},be?u.createElement(ci.default,{checked:tn.length===mi(ue.filters).length,indeterminate:tn.length>0&&tn.length<mi(ue.filters).length,className:`${ie}-filter-dropdown-checkall`,onChange:Er},We.filterCheckall):null,u.createElement(Mn.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:be,checkStrictly:!be,className:`${xe}-menu`,onCheck:Fn,checkedKeys:tn,selectedKeys:tn,showIcon:!1,treeData:Ei({filters:ue.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Un.trim()?Qn=>typeof Le=="function"?Le(Un,pn(Qn)):Lt(Un,Qn.title):void 0}))):u.createElement(u.Fragment,null,u.createElement(xr,{filterSearch:Le,value:Un,onChange:nr,tablePrefixCls:ie,locale:We}),u.createElement(Cn.default,{selectable:!0,multiple:be,prefixCls:`${xe}-menu`,className:Ir,onSelect:yn,onDeselect:yn,selectedKeys:tn,getPopupContainer:mt,openKeys:Tn,onOpenChange:Wn,items:In({filters:ue.filters||[],filterSearch:Le,prefixCls:le,filteredKeys:yt(),filterMultiple:be,searchValue:Un})})),qn=()=>dt?(0,F.Z)((Et||[]).map(Qn=>String(Qn)),tn,!0):tn.length===0;fn=u.createElement(u.Fragment,null,Rn(),u.createElement("div",{className:`${le}-dropdown-btns`},u.createElement(ui.ZP,{type:"link",size:"small",disabled:qn(),onClick:()=>$n()},We.filterReset),u.createElement(ui.ZP,{type:"primary",size:"small",onClick:Kr},We.filterConfirm)))}ue.filterDropdown&&(fn=u.createElement(Qt.J,{selectable:void 0},fn));const dn=()=>u.createElement(Zi,{className:`${le}-dropdown`},fn);let en;typeof ue.filterIcon=="function"?en=ue.filterIcon(Nn):ue.filterIcon?en=ue.filterIcon:en=u.createElement(Ur,null);const{direction:ar}=u.useContext(Pr.E_);return u.createElement("div",{className:`${le}-column`},u.createElement("span",{className:`${ie}-column-title`},Ye),u.createElement(ni.Z,{dropdownRender:dn,trigger:["click"],open:jt,onOpenChange:ir,getPopupContainer:mt,placement:ar==="rtl"?"bottomLeft":"bottomRight"},u.createElement("span",{role:"button",tabIndex:-1,className:p()(`${le}-trigger`,{active:Nn}),onClick:tn=>{tn.stopPropagation()}},en)))}var Br=pr;function lr(S,N,Q){let ie=[];return(S||[]).forEach((le,ue)=>{var xe;const we=Sr(ue,Q);if(le.filters||"filterDropdown"in le||"onFilter"in le)if("filteredValue"in le){let be=le.filteredValue;"filterDropdown"in le||(be=(xe=be==null?void 0:be.map(String))!==null&&xe!==void 0?xe:be),ie.push({column:le,key:Ar(le,we),filteredKeys:be,forceFiltered:le.filtered})}else ie.push({column:le,key:Ar(le,we),filteredKeys:N&&le.defaultFilteredValue?le.defaultFilteredValue:void 0,forceFiltered:le.filtered});"children"in le&&(ie=[].concat((0,tt.Z)(ie),(0,tt.Z)(lr(le.children,N,we))))}),ie}function zi(S,N,Q,ie,le,ue,xe,we){return Q.map((be,Pe)=>{const Le=Sr(Pe,we),{filterMultiple:Te=!0,filterMode:Qe,filterSearch:We}=be;let Ye=be;if(Ye.filters||Ye.filterDropdown){const mt=Ar(Ye,Le),ct=ie.find(vt=>{let{key:dt}=vt;return mt===dt});Ye=Object.assign(Object.assign({},Ye),{title:vt=>u.createElement(Br,{tablePrefixCls:S,prefixCls:`${S}-filter`,dropdownPrefixCls:N,column:Ye,columnKey:mt,filterState:ct,filterMultiple:Te,filterMode:Qe,filterSearch:We,triggerFilter:ue,locale:le,getPopupContainer:xe},Hr(be.title,vt))})}return"children"in Ye&&(Ye=Object.assign(Object.assign({},Ye),{children:zi(S,N,Ye.children,ie,le,ue,xe,Le)})),Ye})}function ji(S){const N={};return S.forEach(Q=>{let{key:ie,filteredKeys:le,column:ue}=Q;const{filters:xe,filterDropdown:we}=ue;if(we)N[ie]=le||null;else if(Array.isArray(le)){const be=mi(xe);N[ie]=be.filter(Pe=>le.includes(String(Pe)))}else N[ie]=null}),N}function Hi(S,N){return N.reduce((Q,ie)=>{const{column:{onFilter:le,filters:ue},filteredKeys:xe}=ie;return le&&xe&&xe.length?Q.filter(we=>xe.some(be=>{const Pe=mi(ue),Le=Pe.findIndex(Qe=>String(Qe)===String(be)),Te=Le!==-1?Pe[Le]:be;return le(Te,we)})):Q},S)}const $i=S=>S.flatMap(N=>"children"in N?[N].concat((0,tt.Z)($i(N.children||[]))):[N]);function xa(S){let{prefixCls:N,dropdownPrefixCls:Q,mergedColumns:ie,onFilterChange:le,getPopupContainer:ue,locale:xe}=S;const we=u.useMemo(()=>$i(ie||[]),[ie]),[be,Pe]=u.useState(()=>lr(we,!0)),Le=u.useMemo(()=>{const Ye=lr(we,!1);if(Ye.length===0)return Ye;let mt=!0,ct=!0;if(Ye.forEach(vt=>{let{filteredKeys:dt}=vt;dt!==void 0?mt=!1:ct=!1}),mt){const vt=(we||[]).map((dt,Et)=>Ar(dt,Sr(Et)));return be.filter(dt=>{let{key:Et}=dt;return vt.includes(Et)}).map(dt=>{const Et=we[vt.findIndex(nn=>nn===dt.key)];return Object.assign(Object.assign({},dt),{column:Object.assign(Object.assign({},dt.column),Et),forceFiltered:Et.filtered})})}return Ye},[we,be]),Te=u.useMemo(()=>ji(Le),[Le]),Qe=Ye=>{const mt=Le.filter(ct=>{let{key:vt}=ct;return vt!==Ye.key});mt.push(Ye),Pe(mt),le(ji(mt),mt)};return[Ye=>zi(N,Q,Ye,Le,xe,Qe,ue),Le,Te]}var la=xa;function aa(S,N,Q){const ie=u.useRef({});function le(ue){if(!ie.current||ie.current.data!==S||ie.current.childrenColumnName!==N||ie.current.getRowKey!==Q){let we=function(be){be.forEach((Pe,Le)=>{const Te=Q(Pe,Le);xe.set(Te,Pe),Pe&&typeof Pe=="object"&&N in Pe&&we(Pe[N]||[])})};const xe=new Map;we(S),ie.current={data:S,childrenColumnName:N,kvMap:xe,getRowKey:Q}}return ie.current.kvMap.get(ue)}return[le]}var ea=t(50371),ua=function(S,N){var Q={};for(var ie in S)Object.prototype.hasOwnProperty.call(S,ie)&&N.indexOf(ie)<0&&(Q[ie]=S[ie]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,ie=Object.getOwnPropertySymbols(S);le<ie.length;le++)N.indexOf(ie[le])<0&&Object.prototype.propertyIsEnumerable.call(S,ie[le])&&(Q[ie[le]]=S[ie[le]]);return Q};const ta=10;function ki(S,N){const Q={current:S.current,pageSize:S.pageSize};return Object.keys(N&&typeof N=="object"?N:{}).forEach(le=>{const ue=S[le];typeof ue!="function"&&(Q[le]=ue)}),Q}function ca(S,N,Q){const ie=Q&&typeof Q=="object"?Q:{},{total:le=0}=ie,ue=ua(ie,["total"]),[xe,we]=(0,u.useState)(()=>({current:"defaultCurrent"in ue?ue.defaultCurrent:1,pageSize:"defaultPageSize"in ue?ue.defaultPageSize:ta})),be=(0,ea.Z)(xe,ue,{total:le>0?le:S}),Pe=Math.ceil((le||S)/be.pageSize);be.current>Pe&&(be.current=Pe||1);const Le=(Qe,We)=>{we({current:Qe!=null?Qe:1,pageSize:We||be.pageSize})},Te=(Qe,We)=>{var Ye;Q&&((Ye=Q.onChange)===null||Ye===void 0||Ye.call(Q,Qe,We)),Le(Qe,We),N(Qe,We||(be==null?void 0:be.pageSize))};return Q===!1?[{},()=>{}]:[Object.assign(Object.assign({},be),{onChange:Te}),Le]}var da=ca,fa=t(84105),Gi=t(35654),Jn=t(90782),Hn=t(71430),ei=t(18929);const jr={},Zr="SELECT_ALL",ri="SELECT_INVERT",oi="SELECT_NONE",Di=[],xi=(S,N)=>{let Q=[];return(N||[]).forEach(ie=>{Q.push(ie),ie&&typeof ie=="object"&&S in ie&&(Q=[].concat((0,tt.Z)(Q),(0,tt.Z)(xi(S,ie[S]))))}),Q};var Mi=(S,N)=>{const{preserveSelectedRowKeys:Q,selectedRowKeys:ie,defaultSelectedRowKeys:le,getCheckboxProps:ue,onChange:xe,onSelect:we,onSelectAll:be,onSelectInvert:Pe,onSelectNone:Le,onSelectMultiple:Te,columnWidth:Qe,type:We,selections:Ye,fixed:mt,renderCell:ct,hideSelectAll:vt,checkStrictly:dt=!0}=N||{},{prefixCls:Et,data:nn,pageData:an,getRecordByKey:zt,getRowKey:wn,expandType:Nn,childrenColumnName:Pt,locale:jt,getPopupContainer:Dt}=S,[yt,Bt]=(0,ei.Z)(ie||le||Di,{value:ie}),yn=u.useRef(new Map),Fn=(0,u.useCallback)(pn=>{if(Q){const fn=new Map;pn.forEach(dn=>{let en=zt(dn);!en&&yn.current.has(dn)&&(en=yn.current.get(dn)),fn.set(dn,en)}),yn.current=fn}},[zt,Q]);u.useEffect(()=>{Fn(yt)},[yt]);const{keyEntities:Tn}=(0,u.useMemo)(()=>{if(dt)return{keyEntities:null};let pn=nn;if(Q){const fn=new Set(nn.map((en,ar)=>wn(en,ar))),dn=Array.from(yn.current).reduce((en,ar)=>{let[tn,Rn]=ar;return fn.has(tn)?en:en.concat(Rn)},[]);pn=[].concat((0,tt.Z)(pn),(0,tt.Z)(dn))}return(0,Hn.I8)(pn,{externalGetKey:wn,childrenPropName:Pt})},[nn,wn,dt,Pt,Q]),cn=(0,u.useMemo)(()=>xi(Pt,an),[Pt,an]),Wn=(0,u.useMemo)(()=>{const pn=new Map;return cn.forEach((fn,dn)=>{const en=wn(fn,dn),ar=(ue?ue(fn):null)||{};pn.set(en,ar)}),pn},[cn,wn,ue]),Un=(0,u.useCallback)(pn=>{var fn;return!!(!((fn=Wn.get(wn(pn)))===null||fn===void 0)&&fn.disabled)},[Wn,wn]),[gr,nr]=(0,u.useMemo)(()=>{if(dt)return[yt||[],[]];const{checkedKeys:pn,halfCheckedKeys:fn}=(0,Jn.S)(yt,!0,Tn,Un);return[pn||[],fn]},[yt,dt,Tn,Un]),kr=(0,u.useMemo)(()=>{const pn=We==="radio"?gr.slice(0,1):gr;return new Set(pn)},[gr,We]),Kr=(0,u.useMemo)(()=>We==="radio"?new Set:new Set(nr),[nr,We]),[$n,Vr]=(0,u.useState)(null);u.useEffect(()=>{N||Bt(Di)},[!!N]);const ir=(0,u.useCallback)((pn,fn)=>{let dn,en;Fn(pn),Q?(dn=pn,en=pn.map(ar=>yn.current.get(ar))):(dn=[],en=[],pn.forEach(ar=>{const tn=zt(ar);tn!==void 0&&(dn.push(ar),en.push(tn))})),Bt(dn),xe==null||xe(dn,en,{type:fn})},[Bt,zt,xe,Q]),Ir=(0,u.useCallback)((pn,fn,dn,en)=>{if(we){const ar=dn.map(tn=>zt(tn));we(zt(pn),fn,ar,en)}ir(dn,"single")},[we,zt,ir]),Er=(0,u.useMemo)(()=>!Ye||vt?null:(Ye===!0?[Zr,ri,oi]:Ye).map(fn=>fn===Zr?{key:"all",text:jt.selectionAll,onSelect(){ir(nn.map((dn,en)=>wn(dn,en)).filter(dn=>{const en=Wn.get(dn);return!(en!=null&&en.disabled)||kr.has(dn)}),"all")}}:fn===ri?{key:"invert",text:jt.selectInvert,onSelect(){const dn=new Set(kr);an.forEach((ar,tn)=>{const Rn=wn(ar,tn),qn=Wn.get(Rn);qn!=null&&qn.disabled||(dn.has(Rn)?dn.delete(Rn):dn.add(Rn))});const en=Array.from(dn);Pe&&Pe(en),ir(en,"invert")}}:fn===oi?{key:"none",text:jt.selectNone,onSelect(){Le==null||Le(),ir(Array.from(kr).filter(dn=>{const en=Wn.get(dn);return en==null?void 0:en.disabled}),"none")}}:fn).map(fn=>Object.assign(Object.assign({},fn),{onSelect:function(){for(var dn,en,ar=arguments.length,tn=new Array(ar),Rn=0;Rn<ar;Rn++)tn[Rn]=arguments[Rn];(en=fn.onSelect)===null||en===void 0||(dn=en).call.apply(dn,[fn].concat(tn)),Vr(null)}})),[Ye,kr,an,wn,Pe,ir]);return[(0,u.useCallback)(pn=>{var fn;if(!N)return pn.filter(cr=>cr!==jr);let dn=(0,tt.Z)(pn);const en=new Set(kr),ar=cn.map(wn).filter(cr=>!Wn.get(cr).disabled),tn=ar.every(cr=>en.has(cr)),Rn=ar.some(cr=>en.has(cr)),qn=()=>{const cr=[];tn?ar.forEach(Nr=>{en.delete(Nr),cr.push(Nr)}):ar.forEach(Nr=>{en.has(Nr)||(en.add(Nr),cr.push(Nr))});const dr=Array.from(en);be==null||be(!tn,dr.map(Nr=>zt(Nr)),cr.map(Nr=>zt(Nr))),ir(dr,"all"),Vr(null)};let Qn;if(We!=="radio"){let cr;if(Er){const Vn={getPopupContainer:Dt,items:Er.map((vi,hi)=>{const{key:Ti,text:Wi,onSelect:Fi}=vi;return{key:Ti!=null?Ti:hi,onClick:()=>{Fi==null||Fi(ar)},label:Wi}})};cr=u.createElement("div",{className:`${Et}-selection-extra`},u.createElement(ni.Z,{menu:Vn,getPopupContainer:Dt},u.createElement("span",null,u.createElement(fa.Z,null))))}const dr=cn.map((Vn,vi)=>{const hi=wn(Vn,vi),Ti=Wn.get(hi)||{};return Object.assign({checked:en.has(hi)},Ti)}).filter(Vn=>{let{disabled:vi}=Vn;return vi}),Nr=!!dr.length&&dr.length===cn.length,Yr=Nr&&dr.every(Vn=>{let{checked:vi}=Vn;return vi}),Jr=Nr&&dr.some(Vn=>{let{checked:vi}=Vn;return vi});Qn=!vt&&u.createElement("div",{className:`${Et}-selection`},u.createElement(ci.default,{checked:Nr?Yr:!!cn.length&&tn,indeterminate:Nr?!Yr&&Jr:!tn&&Rn,onChange:qn,disabled:cn.length===0||Nr,"aria-label":cr?"Custom selection":"Select all",skipGroup:!0}),cr)}let fi;We==="radio"?fi=(cr,dr,Nr)=>{const Yr=wn(dr,Nr),Jr=en.has(Yr);return{node:u.createElement(vn.ZP,Object.assign({},Wn.get(Yr),{checked:Jr,onClick:Vn=>Vn.stopPropagation(),onChange:Vn=>{en.has(Yr)||Ir(Yr,!0,[Yr],Vn.nativeEvent)}})),checked:Jr}}:fi=(cr,dr,Nr)=>{var Yr;const Jr=wn(dr,Nr),Vn=en.has(Jr),vi=Kr.has(Jr),hi=Wn.get(Jr);let Ti;return Nn==="nest"?Ti=vi:Ti=(Yr=hi==null?void 0:hi.indeterminate)!==null&&Yr!==void 0?Yr:vi,{node:u.createElement(ci.default,Object.assign({},hi,{indeterminate:Ti,checked:Vn,skipGroup:!0,onClick:Wi=>Wi.stopPropagation(),onChange:Wi=>{let{nativeEvent:Fi}=Wi;const{shiftKey:Oa}=Fi;let Qi=-1,Li=-1;if(Oa&&dt){const Oi=new Set([$n,Jr]);ar.some((gi,Qr)=>{if(Oi.has(gi))if(Qi===-1)Qi=Qr;else return Li=Qr,!0;return!1})}if(Li!==-1&&Qi!==Li&&dt){const Oi=ar.slice(Qi,Li+1),gi=[];Vn?Oi.forEach($r=>{en.has($r)&&(gi.push($r),en.delete($r))}):Oi.forEach($r=>{en.has($r)||(gi.push($r),en.add($r))});const Qr=Array.from(en);Te==null||Te(!Vn,Qr.map($r=>zt($r)),gi.map($r=>zt($r))),ir(Qr,"multiple")}else{const Oi=gr;if(dt){const gi=Vn?(0,Gi._5)(Oi,Jr):(0,Gi.L0)(Oi,Jr);Ir(Jr,!Vn,gi,Fi)}else{const gi=(0,Jn.S)([].concat((0,tt.Z)(Oi),[Jr]),!0,Tn,Un),{checkedKeys:Qr,halfCheckedKeys:$r}=gi;let Ui=Qr;if(Vn){const sa=new Set(Qr);sa.delete(Jr),Ui=(0,Jn.S)(Array.from(sa),{checked:!1,halfCheckedKeys:$r},Tn,Un).checkedKeys}Ir(Jr,!Vn,Ui,Fi)}}Vr(Vn?null:Jr)}})),checked:Vn}};const ii=(cr,dr,Nr)=>{const{node:Yr,checked:Jr}=fi(cr,dr,Nr);return ct?ct(Jr,dr,Nr,Yr):Yr};if(!dn.includes(jr))if(dn.findIndex(cr=>{var dr;return((dr=cr[Nt])===null||dr===void 0?void 0:dr.columnType)==="EXPAND_COLUMN"})===0){const[cr,...dr]=dn;dn=[cr,jr].concat((0,tt.Z)(dr))}else dn=[jr].concat((0,tt.Z)(dn));const Ki=dn.indexOf(jr);dn=dn.filter((cr,dr)=>cr!==jr||dr===Ki);const Gr=dn[Ki-1],Ai=dn[Ki+1];let Xr=mt;Xr===void 0&&((Ai==null?void 0:Ai.fixed)!==void 0?Xr=Ai.fixed:(Gr==null?void 0:Gr.fixed)!==void 0&&(Xr=Gr.fixed)),Xr&&Gr&&((fn=Gr[Nt])===null||fn===void 0?void 0:fn.columnType)==="EXPAND_COLUMN"&&Gr.fixed===void 0&&(Gr.fixed=Xr);const Si=p()(`${Et}-selection-col`,{[`${Et}-selection-col-with-dropdown`]:Ye&&We==="checkbox"}),oa={fixed:Xr,width:Qe,className:`${Et}-selection-column`,title:N.columnTitle||Qn,render:ii,onCell:N.onCell,[Nt]:{className:Si}};return dn.map(cr=>cr===jr?oa:cr)},[wn,cn,N,gr,kr,Kr,Qe,Er,Nn,$n,Wn,Te,Ir,Un]),kr]},ha=t(89489),Ia=t(59477),pa=t(6848);const ma="ascend",wa="descend";function va(S){return typeof S.sorter=="object"&&typeof S.sorter.multiple=="number"?S.sorter.multiple:!1}function Ca(S){return typeof S=="function"?S:S&&typeof S=="object"&&S.compare?S.compare:!1}function Ba(S,N){return N?S[S.indexOf(N)+1]:S[0]}function Ea(S,N,Q){let ie=[];function le(ue,xe){ie.push({column:ue,key:Ar(ue,xe),multiplePriority:va(ue),sortOrder:ue.sortOrder})}return(S||[]).forEach((ue,xe)=>{const we=Sr(xe,Q);ue.children?("sortOrder"in ue&&le(ue,we),ie=[].concat((0,tt.Z)(ie),(0,tt.Z)(Ea(ue.children,N,we)))):ue.sorter&&("sortOrder"in ue?le(ue,we):N&&ue.defaultSortOrder&&ie.push({column:ue,key:Ar(ue,we),multiplePriority:va(ue),sortOrder:ue.defaultSortOrder}))}),ie}function Ra(S,N,Q,ie,le,ue,xe,we){return(N||[]).map((be,Pe)=>{const Le=Sr(Pe,we);let Te=be;if(Te.sorter){const Qe=Te.sortDirections||le,We=Te.showSorterTooltip===void 0?xe:Te.showSorterTooltip,Ye=Ar(Te,Le),mt=Q.find(Nn=>{let{key:Pt}=Nn;return Pt===Ye}),ct=mt?mt.sortOrder:null,vt=Ba(Qe,ct);let dt;if(be.sortIcon)dt=be.sortIcon({sortOrder:ct});else{const Nn=Qe.includes(ma)&&u.createElement(Ia.Z,{className:p()(`${S}-column-sorter-up`,{active:ct===ma})}),Pt=Qe.includes(wa)&&u.createElement(ha.Z,{className:p()(`${S}-column-sorter-down`,{active:ct===wa})});dt=u.createElement("span",{className:p()(`${S}-column-sorter`,{[`${S}-column-sorter-full`]:!!(Nn&&Pt)})},u.createElement("span",{className:`${S}-column-sorter-inner`,"aria-hidden":"true"},Nn,Pt))}const{cancelSort:Et,triggerAsc:nn,triggerDesc:an}=ue||{};let zt=Et;vt===wa?zt=an:vt===ma&&(zt=nn);const wn=typeof We=="object"?We:{title:zt};Te=Object.assign(Object.assign({},Te),{className:p()(Te.className,{[`${S}-column-sort`]:ct}),title:Nn=>{const Pt=u.createElement("div",{className:`${S}-column-sorters`},u.createElement("span",{className:`${S}-column-title`},Hr(be.title,Nn)),dt);return We?u.createElement(pa.Z,Object.assign({},wn),Pt):Pt},onHeaderCell:Nn=>{const Pt=be.onHeaderCell&&be.onHeaderCell(Nn)||{},jt=Pt.onClick,Dt=Pt.onKeyDown;Pt.onClick=yn=>{ie({column:be,key:Ye,sortOrder:vt,multiplePriority:va(be)}),jt==null||jt(yn)},Pt.onKeyDown=yn=>{yn.keyCode===Or.Z.ENTER&&(ie({column:be,key:Ye,sortOrder:vt,multiplePriority:va(be)}),Dt==null||Dt(yn))};const yt=Wr(be.title,{}),Bt=yt==null?void 0:yt.toString();return ct?Pt["aria-sort"]=ct==="ascend"?"ascending":"descending":Pt["aria-label"]=Bt||"",Pt.className=p()(Pt.className,`${S}-column-has-sorters`),Pt.tabIndex=0,be.ellipsis&&(Pt.title=(yt!=null?yt:"").toString()),Pt}})}return"children"in Te&&(Te=Object.assign(Object.assign({},Te),{children:Ra(S,Te.children,Q,ie,le,ue,xe,Le)})),Te})}function Pa(S){const{column:N,sortOrder:Q}=S;return{column:N,order:Q,field:N.dataIndex,columnKey:N.key}}function Da(S){const N=S.filter(Q=>{let{sortOrder:ie}=Q;return ie}).map(Pa);return N.length===0&&S.length?Object.assign(Object.assign({},Pa(S[S.length-1])),{column:void 0}):N.length<=1?N[0]||{}:N}function zr(S,N,Q){const ie=N.slice().sort((xe,we)=>we.multiplePriority-xe.multiplePriority),le=S.slice(),ue=ie.filter(xe=>{let{column:{sorter:we},sortOrder:be}=xe;return Ca(we)&&be});return ue.length?le.sort((xe,we)=>{for(let be=0;be<ue.length;be+=1){const Pe=ue[be],{column:{sorter:Le},sortOrder:Te}=Pe,Qe=Ca(Le);if(Qe&&Te){const We=Qe(xe,we,Te);if(We!==0)return Te===ma?We:-We}}return 0}).map(xe=>{const we=xe[Q];return we?Object.assign(Object.assign({},xe),{[Q]:zr(we,N,Q)}):xe}):le}function wr(S){let{prefixCls:N,mergedColumns:Q,onSorterChange:ie,sortDirections:le,tableLocale:ue,showSorterTooltip:xe}=S;const[we,be]=u.useState(Ea(Q,!0)),Pe=u.useMemo(()=>{let Ye=!0;const mt=Ea(Q,!1);if(!mt.length)return we;const ct=[];function vt(Et){Ye?ct.push(Et):ct.push(Object.assign(Object.assign({},Et),{sortOrder:null}))}let dt=null;return mt.forEach(Et=>{dt===null?(vt(Et),Et.sortOrder&&(Et.multiplePriority===!1?Ye=!1:dt=!0)):(dt&&Et.multiplePriority!==!1||(Ye=!1),vt(Et))}),ct},[Q,we]),Le=u.useMemo(()=>{const Ye=Pe.map(mt=>{let{column:ct,sortOrder:vt}=mt;return{column:ct,order:vt}});return{sortColumns:Ye,sortColumn:Ye[0]&&Ye[0].column,sortOrder:Ye[0]&&Ye[0].order}},[Pe]);function Te(Ye){let mt;Ye.multiplePriority===!1||!Pe.length||Pe[0].multiplePriority===!1?mt=[Ye]:mt=[].concat((0,tt.Z)(Pe.filter(ct=>{let{key:vt}=ct;return vt!==Ye.key})),[Ye]),be(mt),ie(Da(mt),mt)}return[Ye=>Ra(N,Ye,Pe,Te,le,ue,xe),Pe,Le,()=>Da(Pe)]}function Tr(S,N){return S.map(Q=>{const ie=Object.assign({},Q);return ie.title=Hr(Q.title,N),"children"in ie&&(ie.children=Tr(ie.children,N)),ie})}function wi(S){return[u.useCallback(Q=>Tr(Q,S),[S])]}var Ci=un((S,N)=>{const{_renderTimes:Q}=S,{_renderTimes:ie}=N;return Q!==ie}),ga=kn((S,N)=>{const{_renderTimes:Q}=S,{_renderTimes:ie}=N;return Q!==ie}),Yi=t(64993),_a=t(17313),Ta=t(83116),Na=t(37613),Sa=S=>{const{componentCls:N}=S,Q=`${S.lineWidth}px ${S.lineType} ${S.tableBorderColor}`,ie=(le,ue,xe)=>({[`&${N}-${le}`]:{[`> ${N}-container`]:{[`> ${N}-content, > ${N}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${N}-expanded-row-fixed`]:{margin:`-${ue}px -${xe+S.lineWidth}px`}}}}}});return{[`${N}-wrapper`]:{[`${N}${N}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${N}-title`]:{border:Q,borderBottom:0},[`> ${N}-container`]:{borderInlineStart:Q,borderTop:Q,[`
|
|
> ${N}-content,
|
|
> ${N}-header,
|
|
> ${N}-body,
|
|
> ${N}-summary
|
|
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:Q},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Q},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${N}-cell-fix-right-first::after`]:{borderInlineEnd:Q}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${N}-expanded-row-fixed`]:{margin:`-${S.tablePaddingVertical}px -${S.tablePaddingHorizontal+S.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:S.lineWidth,bottom:0,borderInlineEnd:Q,content:'""'}}}}}},[`&${N}-scroll-horizontal`]:{[`> ${N}-container > ${N}-body`]:{"> table > tbody":{[`
|
|
> tr${N}-expanded-row,
|
|
> tr${N}-placeholder
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},ie("middle",S.tablePaddingVerticalMiddle,S.tablePaddingHorizontalMiddle)),ie("small",S.tablePaddingVerticalSmall,S.tablePaddingHorizontalSmall)),{[`> ${N}-footer`]:{border:Q,borderTop:0}}),[`${N}-cell`]:{[`${N}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${S.lineWidth}px 0 ${S.lineWidth}px ${S.tableHeaderBg}`}},[`${N}-bordered ${N}-cell-scrollbar`]:{borderInlineEnd:Q}}}},vo=S=>{const{componentCls:N}=S;return{[`${N}-wrapper`]:{[`${N}-cell-ellipsis`]:Object.assign(Object.assign({},_a.vS),{wordBreak:"keep-all",[`
|
|
&${N}-cell-fix-left-last,
|
|
&${N}-cell-fix-right-first
|
|
`]:{overflow:"visible",[`${N}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${N}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},go=S=>{const{componentCls:N}=S;return{[`${N}-wrapper`]:{[`${N}-tbody > tr${N}-placeholder`]:{textAlign:"center",color:S.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:S.colorBgContainer}}}}},_o=t(15969),yo=S=>{const{componentCls:N,antCls:Q,controlInteractiveSize:ie,motionDurationSlow:le,lineWidth:ue,paddingXS:xe,lineType:we,tableBorderColor:be,tableExpandIconBg:Pe,tableExpandColumnWidth:Le,borderRadius:Te,fontSize:Qe,fontSizeSM:We,lineHeight:Ye,tablePaddingVertical:mt,tablePaddingHorizontal:ct,tableExpandedRowBg:vt,paddingXXS:dt}=S,Et=ie/2-ue,nn=Et*2+ue*3,an=`${ue}px ${we} ${be}`,zt=dt-ue;return{[`${N}-wrapper`]:{[`${N}-expand-icon-col`]:{width:Le},[`${N}-row-expand-icon-cell`]:{textAlign:"center",[`${N}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${N}-row-indent`]:{height:1,float:"left"},[`${N}-row-expand-icon`]:Object.assign(Object.assign({},(0,_o.N)(S)),{position:"relative",float:"left",boxSizing:"border-box",width:nn,height:nn,padding:0,color:"inherit",lineHeight:`${nn}px`,background:Pe,border:an,borderRadius:Te,transform:`scale(${ie/nn})`,transition:`all ${le}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${le} ease-out`,content:'""'},"&::before":{top:Et,insetInlineEnd:zt,insetInlineStart:zt,height:ue},"&::after":{top:zt,bottom:zt,insetInlineStart:Et,width:ue,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${N}-row-indent + ${N}-row-expand-icon`]:{marginTop:(Qe*Ye-ue*3)/2-Math.ceil((We*1.4-ue*3)/2),marginInlineEnd:xe},[`tr${N}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:vt}},[`${Q}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${N}-expanded-row-fixed`]:{position:"relative",margin:`-${mt}px -${ct}px`,padding:`${mt}px ${ct}px`}}}},bo=S=>{const{componentCls:N,antCls:Q,iconCls:ie,tableFilterDropdownWidth:le,tableFilterDropdownSearchWidth:ue,paddingXXS:xe,paddingXS:we,colorText:be,lineWidth:Pe,lineType:Le,tableBorderColor:Te,tableHeaderIconColor:Qe,fontSizeSM:We,tablePaddingHorizontal:Ye,borderRadius:mt,motionDurationSlow:ct,colorTextDescription:vt,colorPrimary:dt,tableHeaderFilterActiveBg:Et,colorTextDisabled:nn,tableFilterDropdownBg:an,tableFilterDropdownHeight:zt,controlItemBgHover:wn,controlItemBgActive:Nn,boxShadowSecondary:Pt,filterDropdownMenuBg:jt}=S,Dt=`${Q}-dropdown`,yt=`${N}-filter-dropdown`,Bt=`${Q}-tree`,yn=`${Pe}px ${Le} ${Te}`;return[{[`${N}-wrapper`]:{[`${N}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${N}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-xe,marginInline:`${xe}px ${-Ye/2}px`,padding:`0 ${xe}px`,color:Qe,fontSize:We,borderRadius:mt,cursor:"pointer",transition:`all ${ct}`,"&:hover":{color:vt,background:Et},"&.active":{color:dt}}}},{[`${Q}-dropdown`]:{[yt]:Object.assign(Object.assign({},(0,_a.Wf)(S)),{minWidth:le,backgroundColor:an,borderRadius:mt,boxShadow:Pt,overflow:"hidden",[`${Dt}-menu`]:{maxHeight:zt,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:jt,"&:empty::after":{display:"block",padding:`${we}px 0`,color:nn,fontSize:We,textAlign:"center",content:'"Not Found"'}},[`${yt}-tree`]:{paddingBlock:`${we}px 0`,paddingInline:we,[Bt]:{padding:0},[`${Bt}-treenode ${Bt}-node-content-wrapper:hover`]:{backgroundColor:wn},[`${Bt}-treenode-checkbox-checked ${Bt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Nn}}},[`${yt}-search`]:{padding:we,borderBottom:yn,"&-input":{input:{minWidth:ue},[ie]:{color:nn}}},[`${yt}-checkall`]:{width:"100%",marginBottom:xe,marginInlineStart:xe},[`${yt}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${we-Pe}px ${we}px`,overflow:"hidden",borderTop:yn}})}},{[`${Q}-dropdown ${yt}, ${yt}-submenu`]:{[`${Q}-checkbox-wrapper + span`]:{paddingInlineStart:we,color:be},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},xo=S=>{const{componentCls:N,lineWidth:Q,colorSplit:ie,motionDurationSlow:le,zIndexTableFixed:ue,tableBg:xe,zIndexTableSticky:we}=S,be=ie;return{[`${N}-wrapper`]:{[`
|
|
${N}-cell-fix-left,
|
|
${N}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:ue,background:xe},[`
|
|
${N}-cell-fix-left-first::after,
|
|
${N}-cell-fix-left-last::after
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Q,width:30,transform:"translateX(100%)",transition:`box-shadow ${le}`,content:'""',pointerEvents:"none"},[`${N}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
${N}-cell-fix-right-first::after,
|
|
${N}-cell-fix-right-last::after
|
|
`]:{position:"absolute",top:0,bottom:-Q,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${le}`,content:'""',pointerEvents:"none"},[`${N}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:we+1,width:30,transition:`box-shadow ${le}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${N}-ping-left`]:{[`&:not(${N}-has-fix-left) ${N}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${be}`}},[`
|
|
${N}-cell-fix-left-first::after,
|
|
${N}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${be}`},[`${N}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${N}-ping-right`]:{[`&:not(${N}-has-fix-right) ${N}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${be}`}},[`
|
|
${N}-cell-fix-right-first::after,
|
|
${N}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${be}`}}}}},wo=S=>{const{componentCls:N,antCls:Q}=S;return{[`${N}-wrapper`]:{[`${N}-pagination${Q}-pagination`]:{margin:`${S.margin}px 0`},[`${N}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:S.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Co=S=>{const{componentCls:N,tableRadius:Q}=S;return{[`${N}-wrapper`]:{[N]:{[`${N}-title, ${N}-header`]:{borderRadius:`${Q}px ${Q}px 0 0`},[`${N}-title + ${N}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${N}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:Q,borderStartEndRadius:Q,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Q},"> *:last-child":{borderStartEndRadius:Q}}},"&-footer":{borderRadius:`0 0 ${Q}px ${Q}px`}}}}},Eo=S=>{const{componentCls:N}=S;return{[`${N}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${N}-pagination-left`]:{justifyContent:"flex-end"},[`${N}-pagination-right`]:{justifyContent:"flex-start"},[`${N}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${N}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${N}-row-indent`]:{float:"right"}}}}},So=S=>{const{componentCls:N,antCls:Q,iconCls:ie,fontSizeIcon:le,padding:ue,paddingXS:xe,tableHeaderIconColor:we,tableHeaderIconColorHover:be,tableSelectionColumnWidth:Pe}=S;return{[`${N}-wrapper`]:{[`${N}-selection-col`]:{width:Pe,[`&${N}-selection-col-with-dropdown`]:{width:Pe+le+ue/4}},[`${N}-bordered ${N}-selection-col`]:{width:Pe+xe*2,[`&${N}-selection-col-with-dropdown`]:{width:Pe+le+ue/4+xe*2}},[`
|
|
table tr th${N}-selection-column,
|
|
table tr td${N}-selection-column
|
|
`]:{paddingInlineEnd:S.paddingXS,paddingInlineStart:S.paddingXS,textAlign:"center",[`${Q}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${N}-selection-column${N}-cell-fix-left`]:{zIndex:S.zIndexTableFixed+1},[`table tr th${N}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${N}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${N}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${S.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${S.tablePaddingHorizontal/4}px`,[ie]:{color:we,fontSize:le,verticalAlign:"baseline","&:hover":{color:be}}}}}},Oo=S=>{const{componentCls:N}=S,Q=(ie,le,ue,xe)=>({[`${N}${N}-${ie}`]:{fontSize:xe,[`
|
|
${N}-title,
|
|
${N}-footer,
|
|
${N}-cell,
|
|
${N}-thead > tr > th,
|
|
${N}-tbody > tr > th,
|
|
${N}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{padding:`${le}px ${ue}px`},[`${N}-filter-trigger`]:{marginInlineEnd:`-${ue/2}px`},[`${N}-expanded-row-fixed`]:{margin:`-${le}px -${ue}px`},[`${N}-tbody`]:{[`${N}-wrapper:only-child ${N}`]:{marginBlock:`-${le}px`,marginInline:`${S.tableExpandColumnWidth-ue}px -${ue}px`}},[`${N}-selection-column`]:{paddingInlineStart:`${ue/4}px`}}});return{[`${N}-wrapper`]:Object.assign(Object.assign({},Q("middle",S.tablePaddingVerticalMiddle,S.tablePaddingHorizontalMiddle,S.tableFontSizeMiddle)),Q("small",S.tablePaddingVerticalSmall,S.tablePaddingHorizontalSmall,S.tableFontSizeSmall))}},Io=S=>{const{componentCls:N,marginXXS:Q,fontSizeIcon:ie,tableHeaderIconColor:le,tableHeaderIconColorHover:ue}=S;return{[`${N}-wrapper`]:{[`${N}-thead th${N}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${S.motionDurationSlow}`,"&:hover":{background:S.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:S.colorPrimary},[`
|
|
&${N}-cell-fix-left:hover,
|
|
&${N}-cell-fix-right:hover
|
|
`]:{background:S.tableFixedHeaderSortActiveBg}},[`${N}-thead th${N}-column-sort`]:{background:S.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${N}-column-sort`]:{background:S.tableBodySortBg},[`${N}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${N}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${N}-column-sorter`]:{marginInlineStart:Q,color:le,fontSize:0,transition:`color ${S.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ie,"&.active":{color:S.colorPrimary}},[`${N}-column-sorter-up + ${N}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${N}-column-sorters:hover ${N}-column-sorter`]:{color:ue}}}},Ro=S=>{const{componentCls:N,opacityLoading:Q,tableScrollThumbBg:ie,tableScrollThumbBgHover:le,tableScrollThumbSize:ue,tableScrollBg:xe,zIndexTableSticky:we,stickyScrollBarBorderRadius:be}=S,Pe=`${S.lineWidth}px ${S.lineType} ${S.tableBorderColor}`;return{[`${N}-wrapper`]:{[`${N}-sticky`]:{"&-holder":{position:"sticky",zIndex:we,background:S.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${ue}px !important`,zIndex:we,display:"flex",alignItems:"center",background:xe,borderTop:Pe,opacity:Q,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:ue,backgroundColor:ie,borderRadius:be,transition:`all ${S.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:le}}}}}}},Ga=S=>{const{componentCls:N,lineWidth:Q,tableBorderColor:ie}=S,le=`${Q}px ${S.lineType} ${ie}`;return{[`${N}-wrapper`]:{[`${N}-summary`]:{position:"relative",zIndex:S.zIndexTableFixed,background:S.tableBg,"> tr":{"> th, > td":{borderBottom:le}}},[`div${N}-summary`]:{boxShadow:`0 -${Q}px 0 ${ie}`}}}},Po=S=>{const{componentCls:N}=S,Q=`${S.lineWidth}px ${S.lineType} ${S.tableBorderColor}`,ie=`${N}-expanded-row-cell`;return{[`${N}-wrapper`]:{[`${N}-tbody-virtual`]:{[`${N}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${N}-cell`]:{borderBottom:Q},[`${N}-expanded-row`]:{[`${ie}${ie}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${S.lineWidth}px)`,borderInlineEnd:"none"}}},[`${N}-bordered`]:{[`${N}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Q,position:"absolute"},[`${N}-cell`]:{borderInlineEnd:Q,[`&${N}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-S.lineWidth,borderInlineStart:Q}}}}}}};const Do=S=>{const{componentCls:N,fontWeightStrong:Q,tablePaddingVertical:ie,tablePaddingHorizontal:le,lineWidth:ue,lineType:xe,tableBorderColor:we,tableFontSize:be,tableBg:Pe,tableRadius:Le,tableHeaderTextColor:Te,motionDurationMid:Qe,tableHeaderBg:We,tableHeaderCellSplitColor:Ye,tableRowHoverBg:mt,tableSelectedRowBg:ct,tableSelectedRowHoverBg:vt,tableFooterTextColor:dt,tableFooterBg:Et,paddingContentVerticalLG:nn}=S,an=`${ue}px ${xe} ${we}`;return{[`${N}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,_a.dF)()),{[N]:Object.assign(Object.assign({},(0,_a.Wf)(S)),{fontSize:be,background:Pe,borderRadius:`${Le}px ${Le}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Le}px ${Le}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
${N}-cell,
|
|
${N}-thead > tr > th,
|
|
${N}-tbody > tr > th,
|
|
${N}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{position:"relative",padding:`${nn}px ${le}px`,overflowWrap:"break-word"},[`${N}-title`]:{padding:`${ie}px ${le}px`},[`${N}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Te,fontWeight:Q,textAlign:"start",background:We,borderBottom:an,transition:`background ${Qe} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${N}-selection-column):not(${N}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Ye,transform:"translateY(-50%)",transition:`background-color ${Qe}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${N}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Qe}, border-color ${Qe}`,borderBottom:an,[`
|
|
> ${N}-wrapper:only-child,
|
|
> ${N}-expanded-row-fixed > ${N}-wrapper:only-child
|
|
`]:{[N]:{marginBlock:`-${ie}px`,marginInline:`${S.tableExpandColumnWidth-le}px -${le}px`,[`${N}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Te,fontWeight:Q,textAlign:"start",background:We,borderBottom:an,transition:`background ${Qe} ease`},[`
|
|
&${N}-row:hover > th,
|
|
&${N}-row:hover > td,
|
|
> th${N}-cell-row-hover,
|
|
> td${N}-cell-row-hover
|
|
`]:{background:mt},[`&${N}-row-selected`]:{"> th, > td":{background:ct},"&:hover > th, &:hover > td":{background:vt}}}},[`${N}-footer`]:{padding:`${ie}px ${le}px`,color:dt,background:Et}})}};var To=(0,Ta.Z)("Table",S=>{const{colorTextHeading:N,colorSplit:Q,colorIcon:ie,colorIconHover:le,opacityLoading:ue,colorBgContainer:xe,controlInteractiveSize:we,headerBg:be,headerColor:Pe,headerSortActiveBg:Le,headerSortHoverBg:Te,bodySortBg:Qe,rowHoverBg:We,rowSelectedBg:Ye,rowSelectedHoverBg:mt,rowExpandedBg:ct,cellPaddingBlock:vt,cellPaddingInline:dt,cellPaddingBlockMD:Et,cellPaddingInlineMD:nn,cellPaddingBlockSM:an,cellPaddingInlineSM:zt,borderColor:wn,footerBg:Nn,footerColor:Pt,headerBorderRadius:jt,cellFontSize:Dt,cellFontSizeMD:yt,cellFontSizeSM:Bt,headerSplitColor:yn,fixedHeaderSortActiveBg:Fn,headerFilterHoverBg:Tn,filterDropdownBg:cn,expandIconBg:Wn,selectionColumnWidth:Un,stickyScrollBarBg:gr}=S,nr=new Yi.C(ie),kr=new Yi.C(le),Kr=2,$n=(0,Na.TS)(S,{tableFontSize:Dt,tableBg:xe,tableRadius:jt,tablePaddingVertical:vt,tablePaddingHorizontal:dt,tablePaddingVerticalMiddle:Et,tablePaddingHorizontalMiddle:nn,tablePaddingVerticalSmall:an,tablePaddingHorizontalSmall:zt,tableBorderColor:wn,tableHeaderTextColor:Pe,tableHeaderBg:be,tableFooterTextColor:Pt,tableFooterBg:Nn,tableHeaderCellSplitColor:yn,tableHeaderSortBg:Le,tableHeaderSortHoverBg:Te,tableHeaderIconColor:nr.clone().setAlpha(nr.getAlpha()*ue).toRgbString(),tableHeaderIconColorHover:kr.clone().setAlpha(kr.getAlpha()*ue).toRgbString(),tableBodySortBg:Qe,tableFixedHeaderSortActiveBg:Fn,tableHeaderFilterActiveBg:Tn,tableFilterDropdownBg:cn,tableRowHoverBg:We,tableSelectedRowBg:Ye,tableSelectedRowHoverBg:mt,zIndexTableFixed:Kr,zIndexTableSticky:Kr+1,tableFontSizeMiddle:yt,tableFontSizeSmall:Bt,tableSelectionColumnWidth:Un,tableExpandIconBg:Wn,tableExpandColumnWidth:we+2*S.padding,tableExpandedRowBg:ct,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:gr,tableScrollThumbBgHover:N,tableScrollBg:Q});return[Do($n),wo($n),Ga($n),Io($n),bo($n),Sa($n),Co($n),yo($n),Ga($n),go($n),So($n),xo($n),Ro($n),vo($n),Oo($n),Eo($n),Po($n)]},S=>{const{colorFillAlter:N,colorBgContainer:Q,colorTextHeading:ie,colorFillSecondary:le,colorFillContent:ue,controlItemBgActive:xe,controlItemBgActiveHover:we,padding:be,paddingSM:Pe,paddingXS:Le,colorBorderSecondary:Te,borderRadiusLG:Qe,fontSize:We,controlHeight:Ye,colorTextPlaceholder:mt}=S,ct=new Yi.C(le).onBackground(Q).toHexShortString(),vt=new Yi.C(ue).onBackground(Q).toHexShortString(),dt=new Yi.C(N).onBackground(Q).toHexShortString();return{headerBg:dt,headerColor:ie,headerSortActiveBg:ct,headerSortHoverBg:vt,bodySortBg:dt,rowHoverBg:dt,rowSelectedBg:xe,rowSelectedHoverBg:we,rowExpandedBg:N,cellPaddingBlock:be,cellPaddingInline:be,cellPaddingBlockMD:Pe,cellPaddingInlineMD:Le,cellPaddingBlockSM:Le,cellPaddingInlineSM:Le,borderColor:Te,headerBorderRadius:Qe,footerBg:dt,footerColor:ie,cellFontSize:We,cellFontSizeMD:We,cellFontSizeSM:We,headerSplitColor:Te,fixedHeaderSortActiveBg:ct,headerFilterHoverBg:ue,filterDropdownMenuBg:Q,filterDropdownBg:Q,expandIconBg:Q,selectionColumnWidth:Ye,stickyScrollBarBg:mt,stickyScrollBarBorderRadius:100}});const No=[],$o=(S,N)=>{const{prefixCls:Q,className:ie,rootClassName:le,style:ue,size:xe,bordered:we,dropdownPrefixCls:be,dataSource:Pe,pagination:Le,rowSelection:Te,rowKey:Qe="key",rowClassName:We,columns:Ye,children:mt,childrenColumnName:ct,onChange:vt,getPopupContainer:dt,loading:Et,expandIcon:nn,expandable:an,expandedRowRender:zt,expandIconColumnIndex:wn,indentSize:Nn,scroll:Pt,sortDirections:jt,locale:Dt,showSorterTooltip:yt=!0,virtual:Bt}=S,yn=u.useMemo(()=>Ye||Bn(mt),[Ye,mt]),Fn=u.useMemo(()=>yn.some(er=>er.responsive),[yn]),Tn=(0,mr.Z)(Fn),cn=u.useMemo(()=>{const er=new Set(Object.keys(Tn).filter(Cr=>Tn[Cr]));return yn.filter(Cr=>!Cr.responsive||Cr.responsive.some(si=>er.has(si)))},[yn,Tn]),Wn=(0,xn.Z)(S,["className","style","columns"]),{locale:Un=vr.Z,direction:gr,table:nr,renderEmpty:kr,getPrefixCls:Kr,getPopupContainer:$n}=u.useContext(Pr.E_),Vr=(0,sr.Z)(xe),ir=Object.assign(Object.assign({},Un.Table),Dt),Ir=Pe||No,Er=Kr("table",Q),Ei=Kr("dropdown",be),pn=Object.assign({childrenColumnName:ct,expandIconColumnIndex:wn},an),{childrenColumnName:fn="children"}=pn,dn=u.useMemo(()=>Ir.some(er=>er==null?void 0:er[fn])?"nest":zt||an&&an.expandedRowRender?"row":null,[Ir]),en={body:u.useRef()},ar=u.useMemo(()=>typeof Qe=="function"?Qe:er=>er==null?void 0:er[Qe],[Qe]),[tn]=aa(Ir,fn,ar),Rn={},qn=function(er,Cr){let si=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Mr,pi,Ii;const Ri=Object.assign(Object.assign({},Rn),er);si&&((Mr=Rn.resetPagination)===null||Mr===void 0||Mr.call(Rn),!((pi=Ri.pagination)===null||pi===void 0)&&pi.current&&(Ri.pagination.current=1),Le&&Le.onChange&&Le.onChange(1,(Ii=Ri.pagination)===null||Ii===void 0?void 0:Ii.pageSize)),Pt&&Pt.scrollToFirstRowOnChange!==!1&&en.body.current&&(0,Gn.Z)(0,{getContainer:()=>en.body.current}),vt==null||vt(Ri.pagination,Ri.filters,Ri.sorter,{currentDataSource:Hi(zr(Ir,Ri.sorterStates,fn),Ri.filterStates),action:Cr})},Qn=(er,Cr)=>{qn({sorter:er,sorterStates:Cr},"sort",!1)},[fi,ii,Ki,Gr]=wr({prefixCls:Er,mergedColumns:cn,onSorterChange:Qn,sortDirections:jt||["ascend","descend"],tableLocale:ir,showSorterTooltip:yt}),Ai=u.useMemo(()=>zr(Ir,ii,fn),[Ir,ii]);Rn.sorter=Gr(),Rn.sorterStates=ii;const Xr=(er,Cr)=>{qn({filters:er,filterStates:Cr},"filter",!0)},[Si,oa,cr]=la({prefixCls:Er,locale:ir,dropdownPrefixCls:Ei,mergedColumns:cn,onFilterChange:Xr,getPopupContainer:dt||$n}),dr=Hi(Ai,oa);Rn.filters=cr,Rn.filterStates=oa;const Nr=u.useMemo(()=>{const er={};return Object.keys(cr).forEach(Cr=>{cr[Cr]!==null&&(er[Cr]=cr[Cr])}),Object.assign(Object.assign({},Ki),{filters:er})},[Ki,cr]),[Yr]=wi(Nr),Jr=(er,Cr)=>{qn({pagination:Object.assign(Object.assign({},Rn.pagination),{current:er,pageSize:Cr})},"paginate")},[Vn,vi]=da(dr.length,Jr,Le);Rn.pagination=Le===!1?{}:ki(Vn,Le),Rn.resetPagination=vi;const hi=u.useMemo(()=>{if(Le===!1||!Vn.pageSize)return dr;const{current:er=1,total:Cr,pageSize:si=ta}=Vn;return dr.length<Cr?dr.length>si?dr.slice((er-1)*si,er*si):dr:dr.slice((er-1)*si,er*si)},[!!Le,dr,Vn&&Vn.current,Vn&&Vn.pageSize,Vn&&Vn.total]),[Ti,Wi]=Mi({prefixCls:Er,data:dr,pageData:hi,getRowKey:ar,getRecordByKey:tn,expandType:dn,childrenColumnName:fn,locale:ir,getPopupContainer:dt||$n},Te),Fi=(er,Cr,si)=>{let Mr;return typeof We=="function"?Mr=p()(We(er,Cr,si)):Mr=p()(We),p()({[`${Er}-row-selected`]:Wi.has(ar(er,Cr))},Mr)};pn.__PARENT_RENDER_ICON__=pn.expandIcon,pn.expandIcon=pn.expandIcon||nn||Fr(ir),dn==="nest"&&pn.expandIconColumnIndex===void 0?pn.expandIconColumnIndex=Te?1:0:pn.expandIconColumnIndex>0&&Te&&(pn.expandIconColumnIndex-=1),typeof pn.indentSize!="number"&&(pn.indentSize=typeof Nn=="number"?Nn:15);const Oa=u.useCallback(er=>Yr(Ti(Si(fi(er)))),[fi,Si,Ti]);let Qi,Li;if(Le!==!1&&(Vn!=null&&Vn.total)){let er;Vn.size?er=Vn.size:er=Vr==="small"||Vr==="middle"?"small":void 0;const Cr=pi=>u.createElement(yr.Z,Object.assign({},Vn,{className:p()(`${Er}-pagination ${Er}-pagination-${pi}`,Vn.className),size:er})),si=gr==="rtl"?"left":"right",{position:Mr}=Vn;if(Mr!==null&&Array.isArray(Mr)){const pi=Mr.find(qi=>qi.includes("top")),Ii=Mr.find(qi=>qi.includes("bottom")),Ri=Mr.every(qi=>`${qi}`=="none");!pi&&!Ii&&!Ri&&(Li=Cr(si)),pi&&(Qi=Cr(pi.toLowerCase().replace("top",""))),Ii&&(Li=Cr(Ii.toLowerCase().replace("bottom","")))}else Li=Cr(si)}let Oi;typeof Et=="boolean"?Oi={spinning:Et}:typeof Et=="object"&&(Oi=Object.assign({spinning:!0},Et));const[gi,Qr]=To(Er),[,$r]=(0,Xn.Z)(),Ui=p()(`${Er}-wrapper`,nr==null?void 0:nr.className,{[`${Er}-wrapper-rtl`]:gr==="rtl"},ie,le,Qr),sa=Object.assign(Object.assign({},nr==null?void 0:nr.style),ue),na=Dt&&Dt.emptyText||(kr==null?void 0:kr("Table"))||u.createElement(hr.Z,{componentName:"Table"}),Vi=Bt?ga:Ci,$a={},Za=u.useMemo(()=>{const{fontSize:er,lineHeight:Cr,padding:si,paddingXS:Mr,paddingSM:pi}=$r,Ii=Math.floor(er*Cr);switch(Vr){case"large":return si*2+Ii;case"small":return Mr*2+Ii;default:return pi*2+Ii}},[$r,Vr]);return Bt&&($a.listItemHeight=Za),gi(u.createElement("div",{ref:N,className:Ui,style:sa},u.createElement(Dr.Z,Object.assign({spinning:!1},Oi),Qi,u.createElement(Vi,Object.assign({},$a,Wn,{columns:cn,direction:gr,expandable:pn,prefixCls:Er,className:p()({[`${Er}-middle`]:Vr==="middle",[`${Er}-small`]:Vr==="small",[`${Er}-bordered`]:we,[`${Er}-empty`]:Ir.length===0}),data:hi,rowKey:ar,rowClassName:Fi,emptyText:na,internalHooks:m,internalRefs:en,transformColumns:Oa})),Li)))};var Mo=u.forwardRef($o);const Ao=(S,N)=>{const Q=u.useRef(0);return Q.current+=1,u.createElement(Mo,Object.assign({},S,{ref:N,_renderTimes:Q.current}))},Ji=u.forwardRef(Ao);Ji.SELECTION_COLUMN=jr,Ji.EXPAND_COLUMN=x,Ji.SELECTION_ALL=Zr,Ji.SELECTION_INVERT=ri,Ji.SELECTION_NONE=oi,Ji.Column=It,Ji.ColumnGroup=rn,Ji.Summary=f;var Lo=Ji,Bo=Lo},33166:function(Ue,de,t){"use strict";t.d(de,{i:function(){return x}});const x=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},45157:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return m}});var x=t(33166);function m(D,V){return x.i.reduce((L,F)=>{const u=D[`${F}1`],W=D[`${F}3`],e=D[`${F}6`],h=D[`${F}7`];return Object.assign(Object.assign({},L),V(F,{lightColor:u,lightBorderColor:W,darkColor:e,textColor:h}))},{})}},6848:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return G}});var x=t(59301),m=t(92310),D=t.n(m),V=t(55477),L=t(18929),F=t(62892),u=t(79676),W=t(92343),e=t(36355),h=t(33234),v=t(88088),n=t(17313),r=t(29878),o=t(19447),l=t(45157),w=t(37613),k=t(83116);const E=H=>{const{componentCls:$,tooltipMaxWidth:p,tooltipColor:Z,tooltipBg:O,tooltipBorderRadius:B,zIndexPopup:P,controlHeight:i,boxShadowSecondary:a,paddingSM:_,paddingXS:j,tooltipRadiusOuter:ne}=H;return[{[$]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.Wf)(H)),{position:"absolute",zIndex:P,display:"block",width:"max-content",maxWidth:p,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":O,[`${$}-inner`]:{minWidth:i,minHeight:i,padding:`${_/2}px ${j}px`,color:Z,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:O,borderRadius:B,boxShadow:a,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${$}-inner`]:{borderRadius:Math.min(B,o.qN)}},[`${$}-content`]:{position:"relative"}}),(0,l.Z)(H,(ae,oe)=>{let{darkColor:fe}=oe;return{[`&${$}-${ae}`]:{[`${$}-inner`]:{backgroundColor:fe},[`${$}-arrow`]:{"--antd-arrow-background-color":fe}}}})),{"&-rtl":{direction:"rtl"}})},(0,o.ZP)((0,w.TS)(H,{borderRadiusOuter:ne}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:B,limitVerticalRadius:!0}),{[`${$}-pure`]:{position:"relative",maxWidth:"none",margin:H.sizePopupArrow}}]};var g=(H,$)=>(0,k.Z)("Tooltip",Z=>{if($===!1)return[];const{borderRadius:O,colorTextLightSolid:B,colorBgDefault:P,borderRadiusOuter:i}=Z,a=(0,w.TS)(Z,{tooltipMaxWidth:250,tooltipColor:B,tooltipBorderRadius:O,tooltipBg:P,tooltipRadiusOuter:i>4?4:i});return[E(a),(0,r._y)(Z,"zoom-big-fast")]},Z=>{let{zIndexPopupBase:O,colorBgSpotlight:B}=Z;return{zIndexPopup:O+70,colorBgDefault:B}},{resetStyle:!1})(H),I=t(36785);function C(H,$){const p=(0,I.o2)($),Z=D()({[`${H}-${$}`]:$&&p}),O={},B={};return $&&!p&&(O.background=$,B["--antd-arrow-background-color"]=$),{className:Z,overlayStyle:O,arrowStyle:B}}var s=H=>{const{prefixCls:$,className:p,placement:Z="top",title:O,color:B,overlayInnerStyle:P}=H,{getPrefixCls:i}=x.useContext(e.E_),a=i("tooltip",$),[_,j]=g(a,!0),ne=C(a,B),ae=ne.arrowStyle,oe=Object.assign(Object.assign({},P),ne.overlayStyle),fe=D()(j,a,`${a}-pure`,`${a}-placement-${Z}`,p,ne.className);return _(x.createElement("div",{className:fe,style:ae},x.createElement("div",{className:`${a}-arrow`}),x.createElement(V.G,Object.assign({},H,{className:j,prefixCls:a,overlayInnerStyle:oe}),O)))},b=function(H,$){var p={};for(var Z in H)Object.prototype.hasOwnProperty.call(H,Z)&&$.indexOf(Z)<0&&(p[Z]=H[Z]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,Z=Object.getOwnPropertySymbols(H);O<Z.length;O++)$.indexOf(Z[O])<0&&Object.prototype.propertyIsEnumerable.call(H,Z[O])&&(p[Z[O]]=H[Z[O]]);return p};const T=(H,$)=>{const p={},Z=Object.assign({},H);return $.forEach(O=>{H&&O in H&&(p[O]=H[O],delete Z[O])}),{picked:p,omitted:Z}};function q(H,$){const p=H.type;if((p.__ANT_BUTTON===!0||H.type==="button")&&H.props.disabled||p.__ANT_SWITCH===!0&&(H.props.disabled||H.props.loading)||p.__ANT_RADIO===!0&&H.props.disabled){const{picked:Z,omitted:O}=T(H.props.style,["position","left","right","top","bottom","float","display","zIndex"]),B=Object.assign(Object.assign({display:"inline-block"},Z),{cursor:"not-allowed",width:H.props.block?"100%":void 0}),P=Object.assign(Object.assign({},O),{pointerEvents:"none"}),i=(0,W.Tm)(H,{style:P,className:null});return x.createElement("span",{style:B,className:D()(H.props.className,`${$}-disabled-compatible-wrapper`)},i)}return H}const ee=x.forwardRef((H,$)=>{var p,Z;const{prefixCls:O,openClassName:B,getTooltipContainer:P,overlayClassName:i,color:a,overlayInnerStyle:_,children:j,afterOpenChange:ne,afterVisibleChange:ae,destroyTooltipOnHide:oe,arrow:fe=!0,title:Ee,overlay:ke,builtinPlacements:Re,arrowPointAtCenter:ze=!1,autoAdjustOverflow:Je=!0}=H,Oe=!!fe,[,Ce]=(0,v.Z)(),{getPopupContainer:Y,getPrefixCls:pe,direction:M}=x.useContext(e.E_),U=x.useRef(null),A=()=>{var Ct;(Ct=U.current)===null||Ct===void 0||Ct.forceAlign()};x.useImperativeHandle($,()=>({forceAlign:A,forcePopupAlign:()=>{A()}}));const[R,te]=(0,L.Z)(!1,{value:(p=H.open)!==null&&p!==void 0?p:H.visible,defaultValue:(Z=H.defaultOpen)!==null&&Z!==void 0?Z:H.defaultVisible}),y=!Ee&&!ke&&Ee!==0,f=Ct=>{var tt,$t;te(y?!1:Ct),y||((tt=H.onOpenChange)===null||tt===void 0||tt.call(H,Ct),($t=H.onVisibleChange)===null||$t===void 0||$t.call(H,Ct))},d=x.useMemo(()=>{var Ct,tt;let $t=ze;return typeof fe=="object"&&($t=(tt=(Ct=fe.pointAtCenter)!==null&&Ct!==void 0?Ct:fe.arrowPointAtCenter)!==null&&tt!==void 0?tt:ze),Re||(0,u.Z)({arrowPointAtCenter:$t,autoAdjustOverflow:Je,arrowWidth:Oe?Ce.sizePopupArrow:0,borderRadius:Ce.borderRadius,offset:Ce.marginXXS,visibleFirst:!0})},[ze,fe,Re,Ce]),X=x.useMemo(()=>Ee===0?Ee:ke||Ee||"",[ke,Ee]),K=x.createElement(h.BR,null,typeof X=="function"?X():X),{getPopupContainer:z,placement:J="top",mouseEnterDelay:ce=.1,mouseLeaveDelay:re=.1,overlayStyle:se,rootClassName:me}=H,_e=b(H,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),ve=pe("tooltip",O),Be=pe(),$e=H["data-popover-inject"];let Ie=R;!("open"in H)&&!("visible"in H)&&y&&(Ie=!1);const He=q((0,W.l$)(j)&&!(0,W.M2)(j)?j:x.createElement("span",null,j),ve),et=He.props,st=!et.className||typeof et.className=="string"?D()(et.className,B||`${ve}-open`):et.className,[nt,Rt]=g(ve,!$e),Nt=C(ve,a),Tt=Nt.arrowStyle,Mt=Object.assign(Object.assign({},_),Nt.overlayStyle),on=D()(i,{[`${ve}-rtl`]:M==="rtl"},Nt.className,me,Rt);return nt(x.createElement(V.Z,Object.assign({},_e,{showArrow:Oe,placement:J,mouseEnterDelay:ce,mouseLeaveDelay:re,prefixCls:ve,overlayClassName:on,overlayStyle:Object.assign(Object.assign({},Tt),se),getTooltipContainer:z||P||Y,ref:U,builtinPlacements:d,overlay:K,visible:Ie,onVisibleChange:f,afterVisibleChange:ne!=null?ne:ae,overlayInnerStyle:Mt,arrowContent:x.createElement("span",{className:`${ve}-arrow-content`}),motion:{motionName:(0,F.m)(Be,"zoom-big-fast",H.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!oe}),Ie?(0,W.Tm)(He,{className:st}):He))});ee._InternalPanelDoNotUseOrYouWillBeFired=s;var G=ee},17574:function(Ue,de,t){"use strict";t.d(de,{default:function(){return a}});var x=t(54844),m=t(80702),D=t(52671),V=t(8657),L=t(72308),F=t(59301),u={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=u,e=t(7657),h=function(j,ne){return F.createElement(e.Z,(0,L.Z)({},j,{ref:ne,icon:W}))},v=F.forwardRef(h),n=v,r=t(92310),o=t.n(r),l=t(35654),w=t(71430),k=t(36355),E=t(56082),g=t(62892),I=t(20648);const C=4;function c(_){const{dropPosition:j,dropLevelOffset:ne,prefixCls:ae,indent:oe,direction:fe="ltr"}=_,Ee=fe==="ltr"?"left":"right",ke=fe==="ltr"?"right":"left",Re={[Ee]:-ne*oe+C,[ke]:0};switch(j){case-1:Re.top=-3;break;case 1:Re.bottom=-3;break;default:Re.bottom=-3,Re[Ee]=oe+C;break}return F.createElement("div",{style:Re,className:`${ae}-drop-indicator`})}var s=t(71997),T=F.forwardRef((_,j)=>{const{getPrefixCls:ne,direction:ae,virtual:oe,tree:fe}=F.useContext(k.E_),{prefixCls:Ee,className:ke,showIcon:Re=!1,showLine:ze,switcherIcon:Je,blockNode:Oe=!1,children:Ce,checkable:Y=!1,selectable:pe=!0,draggable:M,motion:U,style:A}=_,R=ne("tree",Ee),te=ne(),y=U!=null?U:Object.assign(Object.assign({},(0,g.Z)(te)),{motionAppear:!1}),f=Object.assign(Object.assign({},_),{checkable:Y,selectable:pe,showIcon:Re,motion:y,blockNode:Oe,showLine:!!ze,dropIndicatorRender:c}),[d,X]=(0,I.ZP)(R),K=F.useMemo(()=>{if(!M)return!1;let J={};switch(typeof M){case"function":J.nodeDraggable=M;break;case"object":J=Object.assign({},M);break;default:break}return J.icon!==!1&&(J.icon=J.icon||F.createElement(E.Z,null)),J},[M]),z=J=>F.createElement(s.Z,{prefixCls:R,switcherIcon:Je,treeNodeProps:J,showLine:ze});return d(F.createElement(x.Z,Object.assign({itemHeight:20,ref:j,virtual:oe},f,{style:Object.assign(Object.assign({},fe==null?void 0:fe.style),A),prefixCls:R,className:o()({[`${R}-icon-hide`]:!Re,[`${R}-block-node`]:Oe,[`${R}-unselectable`]:!pe,[`${R}-rtl`]:ae==="rtl"},fe==null?void 0:fe.className,ke,X),direction:ae,checkable:Y&&F.createElement("span",{className:`${R}-checkbox-inner`}),selectable:pe,switcherIcon:z,draggable:K}),Ce))}),q;(function(_){_[_.None=0]="None",_[_.Start=1]="Start",_[_.End=2]="End"})(q||(q={}));function ee(_,j){function ne(ae){const{key:oe,children:fe}=ae;j(oe,ae)!==!1&&ee(fe||[],j)}_.forEach(ne)}function G(_){let{treeData:j,expandedKeys:ne,startKey:ae,endKey:oe}=_;const fe=[];let Ee=q.None;if(ae&&ae===oe)return[ae];if(!ae||!oe)return[];function ke(Re){return Re===ae||Re===oe}return ee(j,Re=>{if(Ee===q.End)return!1;if(ke(Re)){if(fe.push(Re),Ee===q.None)Ee=q.Start;else if(Ee===q.Start)return Ee=q.End,!1}else Ee===q.Start&&fe.push(Re);return ne.includes(Re)}),fe}function H(_,j){const ne=(0,m.Z)(j),ae=[];return ee(_,(oe,fe)=>{const Ee=ne.indexOf(oe);return Ee!==-1&&(ae.push(fe),ne.splice(Ee,1)),!!ne.length}),ae}var $=function(_,j){var ne={};for(var ae in _)Object.prototype.hasOwnProperty.call(_,ae)&&j.indexOf(ae)<0&&(ne[ae]=_[ae]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,ae=Object.getOwnPropertySymbols(_);oe<ae.length;oe++)j.indexOf(ae[oe])<0&&Object.prototype.propertyIsEnumerable.call(_,ae[oe])&&(ne[ae[oe]]=_[ae[oe]]);return ne};function p(_){const{isLeaf:j,expanded:ne}=_;return j?F.createElement(D.Z,null):ne?F.createElement(V.Z,null):F.createElement(n,null)}function Z(_){let{treeData:j,children:ne}=_;return j||(0,w.zn)(ne)}const O=(_,j)=>{var{defaultExpandAll:ne,defaultExpandParent:ae,defaultExpandedKeys:oe}=_,fe=$(_,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ee=F.useRef(),ke=F.useRef(),Re=()=>{const{keyEntities:K}=(0,w.I8)(Z(fe));let z;return ne?z=Object.keys(K):ae?z=(0,l.r7)(fe.expandedKeys||oe||[],K):z=fe.expandedKeys||oe,z},[ze,Je]=F.useState(fe.selectedKeys||fe.defaultSelectedKeys||[]),[Oe,Ce]=F.useState(()=>Re());F.useEffect(()=>{"selectedKeys"in fe&&Je(fe.selectedKeys)},[fe.selectedKeys]),F.useEffect(()=>{"expandedKeys"in fe&&Ce(fe.expandedKeys)},[fe.expandedKeys]);const Y=(K,z)=>{var J;return"expandedKeys"in fe||Ce(K),(J=fe.onExpand)===null||J===void 0?void 0:J.call(fe,K,z)},pe=(K,z)=>{var J;const{multiple:ce}=fe,{node:re,nativeEvent:se}=z,{key:me=""}=re,_e=Z(fe),ve=Object.assign(Object.assign({},z),{selected:!0}),Be=(se==null?void 0:se.ctrlKey)||(se==null?void 0:se.metaKey),$e=se==null?void 0:se.shiftKey;let Ie;ce&&Be?(Ie=K,Ee.current=me,ke.current=Ie,ve.selectedNodes=H(_e,Ie)):ce&&$e?(Ie=Array.from(new Set([].concat((0,m.Z)(ke.current||[]),(0,m.Z)(G({treeData:_e,expandedKeys:Oe,startKey:me,endKey:Ee.current}))))),ve.selectedNodes=H(_e,Ie)):(Ie=[me],Ee.current=me,ke.current=Ie,ve.selectedNodes=H(_e,Ie)),(J=fe.onSelect)===null||J===void 0||J.call(fe,Ie,ve),"selectedKeys"in fe||Je(Ie)},{getPrefixCls:M,direction:U}=F.useContext(k.E_),{prefixCls:A,className:R,showIcon:te=!0,expandAction:y="click"}=fe,f=$(fe,["prefixCls","className","showIcon","expandAction"]),d=M("tree",A),X=o()(`${d}-directory`,{[`${d}-directory-rtl`]:U==="rtl"},R);return F.createElement(T,Object.assign({icon:p,ref:j,blockNode:!0},f,{showIcon:te,expandAction:y,prefixCls:d,className:X,expandedKeys:Oe,selectedKeys:ze,onSelect:pe,onExpand:Y}))};var P=F.forwardRef(O);const i=T;i.DirectoryTree=P,i.TreeNode=x.O;var a=i},20648:function(Ue,de,t){"use strict";t.d(de,{TM:function(){return r},Yk:function(){return n}});var x=t(93083),m=t(98447),D=t(17313),V=t(8378),L=t(37613),F=t(83116);const u=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),W=(o,l)=>({[`.${o}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${l.motionDurationSlow}`}}}),e=(o,l)=>({[`.${o}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:l.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${l.lineWidthBold}px solid ${l.colorPrimary}`,borderRadius:"50%",content:'""'}}}),h=(o,l)=>{const{treeCls:w,treeNodeCls:k,treeNodePadding:E,titleHeight:g,nodeSelectedBg:I,nodeHoverBg:C}=l,c=l.paddingXS;return{[w]:Object.assign(Object.assign({},(0,D.Wf)(l)),{background:l.colorBgContainer,borderRadius:l.borderRadius,transition:`background-color ${l.motionDurationSlow}`,[`&${w}-rtl`]:{[`${w}-switcher`]:{"&_close":{[`${w}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${w}-active-focused)`]:Object.assign({},(0,D.oN)(l)),[`${w}-list-holder-inner`]:{alignItems:"flex-start"},[`&${w}-block-node`]:{[`${w}-list-holder-inner`]:{alignItems:"stretch",[`${w}-node-content-wrapper`]:{flex:"auto"},[`${k}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${l.colorPrimary}`,opacity:0,animationName:u,animationDuration:l.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${k}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${w}-node-content-wrapper`]:{color:l.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${w}-node-content-wrapper`]:Object.assign({},(0,D.oN)(l)),[`&:not(${k}-disabled).filter-node ${w}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${w}-draggable-icon`]:{flexShrink:0,width:g,lineHeight:`${g}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${l.motionDurationSlow}`,[`${k}:hover &`]:{opacity:.45}},[`&${k}-disabled`]:{[`${w}-draggable-icon`]:{visibility:"hidden"}}}},[`${w}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:g}},[`${w}-draggable-icon`]:{visibility:"hidden"},[`${w}-switcher`]:Object.assign(Object.assign({},W(o,l)),{position:"relative",flex:"none",alignSelf:"stretch",width:g,margin:0,lineHeight:`${g}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${w}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:l.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:g/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${l.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:g/2*.8,height:g/2,borderBottom:`1px solid ${l.colorBorder}`,content:'""'}}}),[`${w}-checkbox`]:{top:"initial",marginInlineEnd:c},[`${w}-node-content-wrapper, ${w}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:g,margin:0,padding:`0 ${l.paddingXS/2}px`,color:"inherit",lineHeight:`${g}px`,background:"transparent",borderRadius:l.borderRadius,cursor:"pointer",transition:`all ${l.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:C},[`&${w}-node-selected`]:{backgroundColor:I},[`${w}-iconEle`]:{display:"inline-block",width:g,height:g,lineHeight:`${g}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${w}-unselectable ${w}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${w}-node-content-wrapper`]:Object.assign({lineHeight:`${g}px`,userSelect:"none"},e(o,l)),[`${k}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${l.colorPrimary}`}},"&-show-line":{[`${w}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:g/2,bottom:-E,borderInlineEnd:`1px solid ${l.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${w}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${k}-leaf-last`]:{[`${w}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${g/2}px !important`}}}}})}},v=o=>{const{treeCls:l,treeNodeCls:w,treeNodePadding:k,directoryNodeSelectedBg:E,directoryNodeSelectedColor:g}=o;return{[`${l}${l}-directory`]:{[w]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:k,insetInlineStart:0,transition:`background-color ${o.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:o.controlItemBgHover}},"> *":{zIndex:1},[`${l}-switcher`]:{transition:`color ${o.motionDurationMid}`},[`${l}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${l}-node-selected`]:{color:g,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${l}-switcher`]:{color:g},[`${l}-node-content-wrapper`]:{color:g,background:"transparent"}}}}}},n=(o,l)=>{const w=`.${o}`,k=`${w}-treenode`,E=l.paddingXS/2,g=(0,L.TS)(l,{treeCls:w,treeNodeCls:k,treeNodePadding:E});return[h(o,g),v(g)]},r=o=>{const{controlHeightSM:l}=o;return{titleHeight:l,nodeHoverBg:o.controlItemBgHover,nodeSelectedBg:o.controlItemBgActive}};de.ZP=(0,F.Z)("Tree",(o,l)=>{let{prefixCls:w}=l;return[{[o.componentCls]:(0,m.C2)(`${w}-checkbox`,o)},n(w,o),(0,V.Z)(o)]},o=>{const{colorTextLightSolid:l,colorPrimary:w}=o;return Object.assign(Object.assign({},r(o)),{directoryNodeSelectedColor:l,directoryNodeSelectedBg:w})})},71997:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return k}});var x=t(72308),m=t(59301),D={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"},V=D,L=t(7657),F=function(g,I){return m.createElement(L.Z,(0,x.Z)({},g,{ref:I,icon:V}))},u=m.forwardRef(F),W=u,e=t(52671),h=t(58617),v=t(15075),n=t(43531),r=t(92310),o=t.n(r),l=t(92343),k=E=>{const{prefixCls:g,switcherIcon:I,treeNodeProps:C,showLine:c}=E,{isLeaf:s,expanded:b,loading:T}=C;if(T)return m.createElement(h.Z,{className:`${g}-switcher-loading-icon`});let q;if(c&&typeof c=="object"&&(q=c.showLeafIcon),s){if(!c)return null;if(typeof q!="boolean"&&q){const H=typeof q=="function"?q(C):q,$=`${g}-switcher-line-custom-icon`;return(0,l.l$)(H)?(0,l.Tm)(H,{className:o()(H.props.className||"",$)}):H}return q?m.createElement(e.Z,{className:`${g}-switcher-line-icon`}):m.createElement("span",{className:`${g}-switcher-leaf-line`})}const ee=`${g}-switcher-icon`,G=typeof I=="function"?I(C):I;return(0,l.l$)(G)?(0,l.Tm)(G,{className:o()(G.props.className||"",ee)}):G!==void 0?G:c?b?m.createElement(v.Z,{className:`${g}-switcher-line-icon`}):m.createElement(n.Z,{className:`${g}-switcher-line-icon`}):m.createElement(W,{className:ee})}},25769:function(Ue,de,t){"use strict";var x=t(98040),m={"text/plain":"Text","text/html":"Url",default:"Text"},D="Copy to clipboard: #{key}, Enter";function V(F){var u=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return F.replace(/#{\s*key\s*}/g,u)}function L(F,u){var W,e,h,v,n,r,o=!1;u||(u={}),W=u.debug||!1;try{h=x(),v=document.createRange(),n=document.getSelection(),r=document.createElement("span"),r.textContent=F,r.ariaHidden="true",r.style.all="unset",r.style.position="fixed",r.style.top=0,r.style.clip="rect(0, 0, 0, 0)",r.style.whiteSpace="pre",r.style.webkitUserSelect="text",r.style.MozUserSelect="text",r.style.msUserSelect="text",r.style.userSelect="text",r.addEventListener("copy",function(w){if(w.stopPropagation(),u.format)if(w.preventDefault(),typeof w.clipboardData=="undefined"){W&&console.warn("unable to use e.clipboardData"),W&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var k=m[u.format]||m.default;window.clipboardData.setData(k,F)}else w.clipboardData.clearData(),w.clipboardData.setData(u.format,F);u.onCopy&&(w.preventDefault(),u.onCopy(w.clipboardData))}),document.body.appendChild(r),v.selectNodeContents(r),n.addRange(v);var l=document.execCommand("copy");if(!l)throw new Error("copy command was unsuccessful");o=!0}catch(w){W&&console.error("unable to copy using execCommand: ",w),W&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(u.format||"text",F),u.onCopy&&u.onCopy(window.clipboardData),o=!0}catch(k){W&&console.error("unable to copy using clipboardData: ",k),W&&console.error("falling back to prompt"),e=V("message"in u?u.message:D),window.prompt(e,F)}}finally{n&&(typeof n.removeRange=="function"?n.removeRange(v):n.removeAllRanges()),r&&document.body.removeChild(r),h()}return o}Ue.exports=L},53184:function(Ue,de,t){"use strict";var x,m;function D(V,L,F){var u=function(W,e){return V.js_beautify(W,e)};return u.js=V.js_beautify,u.css=L.css_beautify,u.html=F.html_beautify,u.js_beautify=V.js_beautify,u.css_beautify=L.css_beautify,u.html_beautify=F.html_beautify,u}x=[t(58553),t(87804),t(40998)],m=function(V,L,F){return D(V,L,F)}.apply(de,x),m!==void 0&&(Ue.exports=m)},87804:function(Ue,de){var t,x;(function(){var m;(function(){"use strict";var V=[,,function(W){function e(n){this.__parent=n,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}e.prototype.clone_empty=function(){var n=new e(this.__parent);return n.set_indent(this.__indent_count,this.__alignment_count),n},e.prototype.item=function(n){return n<0?this.__items[this.__items.length+n]:this.__items[n]},e.prototype.has_match=function(n){for(var r=this.__items.length-1;r>=0;r--)if(this.__items[r].match(n))return!0;return!1},e.prototype.set_indent=function(n,r){this.is_empty()&&(this.__indent_count=n||0,this.__alignment_count=r||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var n=this.__parent.current_line;return n.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),n.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),n.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,n.__items[0]===" "&&(n.__items.splice(0,1),n.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(n){this.__items.push(n);var r=n.lastIndexOf(`
|
|
`);r!==-1?this.__character_count=n.length-r:this.__character_count+=n.length},e.prototype.pop=function(){var n=null;return this.is_empty()||(n=this.__items.pop(),this.__character_count-=n.length),n},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var n="";return this.is_empty()?this.__parent.indent_empty_lines&&(n=this.__parent.get_indent_string(this.__indent_count)):(n=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),n+=this.__items.join("")),n};function h(n,r){this.__cache=[""],this.__indent_size=n.indent_size,this.__indent_string=n.indent_char,n.indent_with_tabs||(this.__indent_string=new Array(n.indent_size+1).join(n.indent_char)),r=r||"",n.indent_level>0&&(r=new Array(n.indent_level+1).join(this.__indent_string)),this.__base_string=r,this.__base_string_length=r.length}h.prototype.get_indent_size=function(n,r){var o=this.__base_string_length;return r=r||0,n<0&&(o=0),o+=n*this.__indent_size,o+=r,o},h.prototype.get_indent_string=function(n,r){var o=this.__base_string;return r=r||0,n<0&&(n=0,o=""),r+=n*this.__indent_size,this.__ensure_cache(r),o+=this.__cache[r],o},h.prototype.__ensure_cache=function(n){for(;n>=this.__cache.length;)this.__add_column()},h.prototype.__add_column=function(){var n=this.__cache.length,r=0,o="";this.__indent_size&&n>=this.__indent_size&&(r=Math.floor(n/this.__indent_size),n-=r*this.__indent_size,o=new Array(r+1).join(this.__indent_string)),n&&(o+=new Array(n+1).join(" ")),this.__cache.push(o)};function v(n,r){this.__indent_cache=new h(n,r),this.raw=!1,this._end_with_newline=n.end_with_newline,this.indent_size=n.indent_size,this.wrap_line_length=n.wrap_line_length,this.indent_empty_lines=n.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}v.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},v.prototype.get_line_number=function(){return this.__lines.length},v.prototype.get_indent_string=function(n,r){return this.__indent_cache.get_indent_string(n,r)},v.prototype.get_indent_size=function(n,r){return this.__indent_cache.get_indent_size(n,r)},v.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},v.prototype.add_new_line=function(n){return this.is_empty()||!n&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},v.prototype.get_code=function(n){this.trim(!0);var r=this.current_line.pop();r&&(r[r.length-1]===`
|
|
`&&(r=r.replace(/\n+$/g,"")),this.current_line.push(r)),this._end_with_newline&&this.__add_outputline();var o=this.__lines.join(`
|
|
`);return n!==`
|
|
`&&(o=o.replace(/[\n]/g,n)),o},v.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},v.prototype.set_indent=function(n,r){return n=n||0,r=r||0,this.next_line.set_indent(n,r),this.__lines.length>1?(this.current_line.set_indent(n,r),!0):(this.current_line.set_indent(),!1)},v.prototype.add_raw_token=function(n){for(var r=0;r<n.newlines;r++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(n.whitespace_before),this.current_line.push(n.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},v.prototype.add_token=function(n){this.__add_space_before_token(),this.current_line.push(n),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},v.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},v.prototype.remove_indent=function(n){for(var r=this.__lines.length;n<r;)this.__lines[n]._remove_indent(),n++;this.current_line._remove_wrap_indent()},v.prototype.trim=function(n){for(n=n===void 0?!1:n,this.current_line.trim();n&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},v.prototype.just_added_newline=function(){return this.current_line.is_empty()},v.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},v.prototype.ensure_empty_line_above=function(n,r){for(var o=this.__lines.length-2;o>=0;){var l=this.__lines[o];if(l.is_empty())break;if(l.item(0).indexOf(n)!==0&&l.item(-1)!==r){this.__lines.splice(o+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}o--}},W.exports.Output=v},,,,function(W){function e(n,r){this.raw_options=h(n,r),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(n,r){var o=this.raw_options[n],l=r||[];return typeof o=="object"?o!==null&&typeof o.concat=="function"&&(l=o.concat()):typeof o=="string"&&(l=o.split(/[^a-zA-Z0-9_\/\-]+/)),l},e.prototype._get_boolean=function(n,r){var o=this.raw_options[n],l=o===void 0?!!r:!!o;return l},e.prototype._get_characters=function(n,r){var o=this.raw_options[n],l=r||"";return typeof o=="string"&&(l=o.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),l},e.prototype._get_number=function(n,r){var o=this.raw_options[n];r=parseInt(r,10),isNaN(r)&&(r=0);var l=parseInt(o,10);return isNaN(l)&&(l=r),l},e.prototype._get_selection=function(n,r,o){var l=this._get_selection_list(n,r,o);if(l.length!==1)throw new Error("Invalid Option Value: The option '"+n+`' can only be one of the following values:
|
|
`+r+`
|
|
You passed in: '`+this.raw_options[n]+"'");return l[0]},e.prototype._get_selection_list=function(n,r,o){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(o=o||[r[0]],!this._is_valid_selection(o,r))throw new Error("Invalid Default Value!");var l=this._get_array(n,o);if(!this._is_valid_selection(l,r))throw new Error("Invalid Option Value: The option '"+n+`' can contain only the following values:
|
|
`+r+`
|
|
You passed in: '`+this.raw_options[n]+"'");return l},e.prototype._is_valid_selection=function(n,r){return n.length&&r.length&&!n.some(function(o){return r.indexOf(o)===-1})};function h(n,r){var o={};n=v(n);var l;for(l in n)l!==r&&(o[l]=n[l]);if(r&&n[r])for(l in n[r])o[l]=n[r][l];return o}function v(n){var r={},o;for(o in n){var l=o.replace(/-/g,"_");r[l]=n[o]}return r}W.exports.Options=e,W.exports.normalizeOpts=v,W.exports.mergeOpts=h},,function(W){var e=RegExp.prototype.hasOwnProperty("sticky");function h(v){this.__input=v||"",this.__input_length=this.__input.length,this.__position=0}h.prototype.restart=function(){this.__position=0},h.prototype.back=function(){this.__position>0&&(this.__position-=1)},h.prototype.hasNext=function(){return this.__position<this.__input_length},h.prototype.next=function(){var v=null;return this.hasNext()&&(v=this.__input.charAt(this.__position),this.__position+=1),v},h.prototype.peek=function(v){var n=null;return v=v||0,v+=this.__position,v>=0&&v<this.__input_length&&(n=this.__input.charAt(v)),n},h.prototype.__match=function(v,n){v.lastIndex=n;var r=v.exec(this.__input);return r&&!(e&&v.sticky)&&r.index!==n&&(r=null),r},h.prototype.test=function(v,n){return n=n||0,n+=this.__position,n>=0&&n<this.__input_length?!!this.__match(v,n):!1},h.prototype.testChar=function(v,n){var r=this.peek(n);return v.lastIndex=0,r!==null&&v.test(r)},h.prototype.match=function(v){var n=this.__match(v,this.__position);return n?this.__position+=n[0].length:n=null,n},h.prototype.read=function(v,n,r){var o="",l;return v&&(l=this.match(v),l&&(o+=l[0])),n&&(l||!v)&&(o+=this.readUntil(n,r)),o},h.prototype.readUntil=function(v,n){var r="",o=this.__position;v.lastIndex=this.__position;var l=v.exec(this.__input);return l?(o=l.index,n&&(o+=l[0].length)):o=this.__input_length,r=this.__input.substring(this.__position,o),this.__position=o,r},h.prototype.readUntilAfter=function(v){return this.readUntil(v,!0)},h.prototype.get_regexp=function(v,n){var r=null,o="g";return n&&e&&(o="y"),typeof v=="string"&&v!==""?r=new RegExp(v,o):v&&(r=new RegExp(v.source,o)),r},h.prototype.get_literal_regexp=function(v){return RegExp(v.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},h.prototype.peekUntilAfter=function(v){var n=this.__position,r=this.readUntilAfter(v);return this.__position=n,r},h.prototype.lookBack=function(v){var n=this.__position-1;return n>=v.length&&this.__input.substring(n-v.length,n).toLowerCase()===v},W.exports.InputScanner=h},,,,,function(W){function e(h,v){h=typeof h=="string"?h:h.source,v=typeof v=="string"?v:v.source,this.__directives_block_pattern=new RegExp(h+/ beautify( \w+[:]\w+)+ /.source+v,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(h+/\sbeautify\signore:end\s/.source+v,"g")}e.prototype.get_directives=function(h){if(!h.match(this.__directives_block_pattern))return null;var v={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(h);n;)v[n[1]]=n[2],n=this.__directive_pattern.exec(h);return v},e.prototype.readIgnored=function(h){return h.readUntilAfter(this.__directives_end_ignore_pattern)},W.exports.Directives=e},,function(W,e,h){var v=h(16).Beautifier,n=h(17).Options;function r(o,l){var w=new v(o,l);return w.beautify()}W.exports=r,W.exports.defaultOptions=function(){return new n}},function(W,e,h){var v=h(17).Options,n=h(2).Output,r=h(8).InputScanner,o=h(13).Directives,l=new o(/\/\*/,/\*\//),w=/\r\n|[\r\n]/,k=/\r\n|[\r\n]/g,E=/\s/,g=/(?:\s|\n)+/g,I=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,C=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function c(s,b){this._source_text=s||"",this._options=new v(b),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}c.prototype.eatString=function(s){var b="";for(this._ch=this._input.next();this._ch;){if(b+=this._ch,this._ch==="\\")b+=this._input.next();else if(s.indexOf(this._ch)!==-1||this._ch===`
|
|
`)break;this._ch=this._input.next()}return b},c.prototype.eatWhitespace=function(s){for(var b=E.test(this._input.peek()),T=0;E.test(this._input.peek());)this._ch=this._input.next(),s&&this._ch===`
|
|
`&&(T===0||T<this._options.max_preserve_newlines)&&(T++,this._output.add_new_line(!0));return b},c.prototype.foundNestedPseudoClass=function(){for(var s=0,b=1,T=this._input.peek(b);T;){if(T==="{")return!0;if(T==="(")s+=1;else if(T===")"){if(s===0)return!1;s-=1}else if(T===";"||T==="}")return!1;b++,T=this._input.peek(b)}return!1},c.prototype.print_string=function(s){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(s)},c.prototype.preserveSingleSpace=function(s){s&&(this._output.space_before_token=!0)},c.prototype.indent=function(){this._indentLevel++},c.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},c.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var s=this._source_text,b=this._options.eol;b==="auto"&&(b=`
|
|
`,s&&w.test(s||"")&&(b=s.match(w)[0])),s=s.replace(k,`
|
|
`);var T=s.match(/^[\t ]*/)[0];this._output=new n(this._options,T),this._input=new r(s),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var q=0,ee=!1,G=!1,H=!1,$=!1,p=!1,Z=this._ch,O=!1,B,P,i;B=this._input.read(g),P=B!=="",i=Z,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),Z=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var a=this._input.read(I),_=l.get_directives(a);_&&_.ignore==="start"&&(a+=l.readIgnored(this._input)),this.print_string(a),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(C)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(P),this.print_string(this._ch);var j=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);j.match(/[ :]$/)&&(j=this.eatString(": ").replace(/\s+$/,""),this.print_string(j),this._output.space_before_token=!0),q===0&&j.indexOf(":")!==-1&&(G=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(P),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var ne=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);ne.match(/[ :]$/)&&(ne=this.eatString(": ").replace(/\s+$/,""),this.print_string(ne),this._output.space_before_token=!0),q===0&&ne.indexOf(":")!==-1?(G=!0,this.indent()):ne in this.NESTED_AT_RULE?(this._nestedLevel+=1,ne in this.CONDITIONAL_GROUP_RULE&&(H=!0)):q===0&&!G&&($=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(P),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")G&&(G=!1,this.outdent()),$=!1,H?(H=!1,ee=this._indentLevel>=this._nestedLevel):ee=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&ee&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(i==="("?this._output.space_before_token=!1:i!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),i==="{"&&this._output.trim(!0),G&&(this.outdent(),G=!1),this.print_string(this._ch),ee=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var ae=0;ae<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;ae++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[ae])){O=!0;break}(ee||H)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!$&&q===0?(this.print_string(":"),G||(G=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var oe=i==='"'||i==="'";this.preserveSingleSpace(oe||P),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")O=!1,q===0?(G&&(this.outdent(),G=!1),$=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),q++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),q&&(q--,this.outdent()));else{var fe=!1;this._input.lookBack("with")&&(fe=!0),this.preserveSingleSpace(P||fe),this.print_string(this._ch),G&&i==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),p=!0):(this.eatWhitespace(),q++,this.indent())}else if(this._ch===")")q&&(q--,this.outdent()),p&&this._input.peek()===";"&&this._options.selector_separator_newline&&(p=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!G||p)&&q===0&&!$?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!G&&q===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&E.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(P),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),E.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var Ee=i==='"'||i==="'";this.preserveSingleSpace(Ee||P),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
`&&O&&this._output.add_new_line()}var ke=this._output.get_code(b);return ke},W.exports.Beautifier=c},function(W,e,h){var v=h(6).Options;function n(r){v.call(this,r,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var o=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||o;var l=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var w=0;w<l.length;w++)l[w]!=="expand"?this.brace_style="collapse":this.brace_style=l[w]}n.prototype=new v,W.exports.Options=n}],L={};function F(W){var e=L[W];if(e!==void 0)return e.exports;var h=L[W]={exports:{}};return V[W](h,h.exports,F),h.exports}var u=F(15);m=u})();var D=m;t=[],x=function(){return{css_beautify:D}}.apply(de,t),x!==void 0&&(Ue.exports=x)})()},40998:function(Ue,de,t){var x,m;(function(){var D;(function(){"use strict";var u=[,,function(v){function n(l){this.__parent=l,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}n.prototype.clone_empty=function(){var l=new n(this.__parent);return l.set_indent(this.__indent_count,this.__alignment_count),l},n.prototype.item=function(l){return l<0?this.__items[this.__items.length+l]:this.__items[l]},n.prototype.has_match=function(l){for(var w=this.__items.length-1;w>=0;w--)if(this.__items[w].match(l))return!0;return!1},n.prototype.set_indent=function(l,w){this.is_empty()&&(this.__indent_count=l||0,this.__alignment_count=w||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},n.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},n.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},n.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var l=this.__parent.current_line;return l.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),l.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),l.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,l.__items[0]===" "&&(l.__items.splice(0,1),l.__character_count-=1),!0}return!1},n.prototype.is_empty=function(){return this.__items.length===0},n.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},n.prototype.push=function(l){this.__items.push(l);var w=l.lastIndexOf(`
|
|
`);w!==-1?this.__character_count=l.length-w:this.__character_count+=l.length},n.prototype.pop=function(){var l=null;return this.is_empty()||(l=this.__items.pop(),this.__character_count-=l.length),l},n.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},n.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},n.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},n.prototype.toString=function(){var l="";return this.is_empty()?this.__parent.indent_empty_lines&&(l=this.__parent.get_indent_string(this.__indent_count)):(l=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),l+=this.__items.join("")),l};function r(l,w){this.__cache=[""],this.__indent_size=l.indent_size,this.__indent_string=l.indent_char,l.indent_with_tabs||(this.__indent_string=new Array(l.indent_size+1).join(l.indent_char)),w=w||"",l.indent_level>0&&(w=new Array(l.indent_level+1).join(this.__indent_string)),this.__base_string=w,this.__base_string_length=w.length}r.prototype.get_indent_size=function(l,w){var k=this.__base_string_length;return w=w||0,l<0&&(k=0),k+=l*this.__indent_size,k+=w,k},r.prototype.get_indent_string=function(l,w){var k=this.__base_string;return w=w||0,l<0&&(l=0,k=""),w+=l*this.__indent_size,this.__ensure_cache(w),k+=this.__cache[w],k},r.prototype.__ensure_cache=function(l){for(;l>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var l=this.__cache.length,w=0,k="";this.__indent_size&&l>=this.__indent_size&&(w=Math.floor(l/this.__indent_size),l-=w*this.__indent_size,k=new Array(w+1).join(this.__indent_string)),l&&(k+=new Array(l+1).join(" ")),this.__cache.push(k)};function o(l,w){this.__indent_cache=new r(l,w),this.raw=!1,this._end_with_newline=l.end_with_newline,this.indent_size=l.indent_size,this.wrap_line_length=l.wrap_line_length,this.indent_empty_lines=l.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new n(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(l,w){return this.__indent_cache.get_indent_string(l,w)},o.prototype.get_indent_size=function(l,w){return this.__indent_cache.get_indent_size(l,w)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(l){return this.is_empty()||!l&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(l){this.trim(!0);var w=this.current_line.pop();w&&(w[w.length-1]===`
|
|
`&&(w=w.replace(/\n+$/g,"")),this.current_line.push(w)),this._end_with_newline&&this.__add_outputline();var k=this.__lines.join(`
|
|
`);return l!==`
|
|
`&&(k=k.replace(/[\n]/g,l)),k},o.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},o.prototype.set_indent=function(l,w){return l=l||0,w=w||0,this.next_line.set_indent(l,w),this.__lines.length>1?(this.current_line.set_indent(l,w),!0):(this.current_line.set_indent(),!1)},o.prototype.add_raw_token=function(l){for(var w=0;w<l.newlines;w++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(l.whitespace_before),this.current_line.push(l.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},o.prototype.add_token=function(l){this.__add_space_before_token(),this.current_line.push(l),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},o.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},o.prototype.remove_indent=function(l){for(var w=this.__lines.length;l<w;)this.__lines[l]._remove_indent(),l++;this.current_line._remove_wrap_indent()},o.prototype.trim=function(l){for(l=l===void 0?!1:l,this.current_line.trim();l&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},o.prototype.just_added_newline=function(){return this.current_line.is_empty()},o.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},o.prototype.ensure_empty_line_above=function(l,w){for(var k=this.__lines.length-2;k>=0;){var E=this.__lines[k];if(E.is_empty())break;if(E.item(0).indexOf(l)!==0&&E.item(-1)!==w){this.__lines.splice(k+1,0,new n(this)),this.previous_line=this.__lines[this.__lines.length-2];break}k--}},v.exports.Output=o},function(v){function n(r,o,l,w){this.type=r,this.text=o,this.comments_before=null,this.newlines=l||0,this.whitespace_before=w||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}v.exports.Token=n},,,function(v){function n(l,w){this.raw_options=r(l,w),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}n.prototype._get_array=function(l,w){var k=this.raw_options[l],E=w||[];return typeof k=="object"?k!==null&&typeof k.concat=="function"&&(E=k.concat()):typeof k=="string"&&(E=k.split(/[^a-zA-Z0-9_\/\-]+/)),E},n.prototype._get_boolean=function(l,w){var k=this.raw_options[l],E=k===void 0?!!w:!!k;return E},n.prototype._get_characters=function(l,w){var k=this.raw_options[l],E=w||"";return typeof k=="string"&&(E=k.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),E},n.prototype._get_number=function(l,w){var k=this.raw_options[l];w=parseInt(w,10),isNaN(w)&&(w=0);var E=parseInt(k,10);return isNaN(E)&&(E=w),E},n.prototype._get_selection=function(l,w,k){var E=this._get_selection_list(l,w,k);if(E.length!==1)throw new Error("Invalid Option Value: The option '"+l+`' can only be one of the following values:
|
|
`+w+`
|
|
You passed in: '`+this.raw_options[l]+"'");return E[0]},n.prototype._get_selection_list=function(l,w,k){if(!w||w.length===0)throw new Error("Selection list cannot be empty.");if(k=k||[w[0]],!this._is_valid_selection(k,w))throw new Error("Invalid Default Value!");var E=this._get_array(l,k);if(!this._is_valid_selection(E,w))throw new Error("Invalid Option Value: The option '"+l+`' can contain only the following values:
|
|
`+w+`
|
|
You passed in: '`+this.raw_options[l]+"'");return E},n.prototype._is_valid_selection=function(l,w){return l.length&&w.length&&!l.some(function(k){return w.indexOf(k)===-1})};function r(l,w){var k={};l=o(l);var E;for(E in l)E!==w&&(k[E]=l[E]);if(w&&l[w])for(E in l[w])k[E]=l[w][E];return k}function o(l){var w={},k;for(k in l){var E=k.replace(/-/g,"_");w[E]=l[k]}return w}v.exports.Options=n,v.exports.normalizeOpts=o,v.exports.mergeOpts=r},,function(v){var n=RegExp.prototype.hasOwnProperty("sticky");function r(o){this.__input=o||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var o=null;return this.hasNext()&&(o=this.__input.charAt(this.__position),this.__position+=1),o},r.prototype.peek=function(o){var l=null;return o=o||0,o+=this.__position,o>=0&&o<this.__input_length&&(l=this.__input.charAt(o)),l},r.prototype.__match=function(o,l){o.lastIndex=l;var w=o.exec(this.__input);return w&&!(n&&o.sticky)&&w.index!==l&&(w=null),w},r.prototype.test=function(o,l){return l=l||0,l+=this.__position,l>=0&&l<this.__input_length?!!this.__match(o,l):!1},r.prototype.testChar=function(o,l){var w=this.peek(l);return o.lastIndex=0,w!==null&&o.test(w)},r.prototype.match=function(o){var l=this.__match(o,this.__position);return l?this.__position+=l[0].length:l=null,l},r.prototype.read=function(o,l,w){var k="",E;return o&&(E=this.match(o),E&&(k+=E[0])),l&&(E||!o)&&(k+=this.readUntil(l,w)),k},r.prototype.readUntil=function(o,l){var w="",k=this.__position;o.lastIndex=this.__position;var E=o.exec(this.__input);return E?(k=E.index,l&&(k+=E[0].length)):k=this.__input_length,w=this.__input.substring(this.__position,k),this.__position=k,w},r.prototype.readUntilAfter=function(o){return this.readUntil(o,!0)},r.prototype.get_regexp=function(o,l){var w=null,k="g";return l&&n&&(k="y"),typeof o=="string"&&o!==""?w=new RegExp(o,k):o&&(w=new RegExp(o.source,k)),w},r.prototype.get_literal_regexp=function(o){return RegExp(o.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(o){var l=this.__position,w=this.readUntilAfter(o);return this.__position=l,w},r.prototype.lookBack=function(o){var l=this.__position-1;return l>=o.length&&this.__input.substring(l-o.length,l).toLowerCase()===o},v.exports.InputScanner=r},function(v,n,r){var o=r(8).InputScanner,l=r(3).Token,w=r(10).TokenStream,k=r(11).WhitespacePattern,E={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},g=function(I,C){this._input=new o(I),this._options=C||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new k(this._input)};g.prototype.tokenize=function(){this._input.restart(),this.__tokens=new w,this._reset();for(var I,C=new l(E.START,""),c=null,s=[],b=new w;C.type!==E.EOF;){for(I=this._get_next_token(C,c);this._is_comment(I);)b.add(I),I=this._get_next_token(C,c);b.isEmpty()||(I.comments_before=b,b=new w),I.parent=c,this._is_opening(I)?(s.push(c),c=I):c&&this._is_closing(I,c)&&(I.opened=c,c.closed=I,c=s.pop(),I.parent=c),I.previous=C,C.next=I,this.__tokens.add(I),C=I}return this.__tokens},g.prototype._is_first_token=function(){return this.__tokens.isEmpty()},g.prototype._reset=function(){},g.prototype._get_next_token=function(I,C){this._readWhitespace();var c=this._input.read(/.+/g);return c?this._create_token(E.RAW,c):this._create_token(E.EOF,"")},g.prototype._is_comment=function(I){return!1},g.prototype._is_opening=function(I){return!1},g.prototype._is_closing=function(I,C){return!1},g.prototype._create_token=function(I,C){var c=new l(I,C,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return c},g.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},v.exports.Tokenizer=g,v.exports.TOKEN=E},function(v){function n(r){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=r}n.prototype.restart=function(){this.__position=0},n.prototype.isEmpty=function(){return this.__tokens_length===0},n.prototype.hasNext=function(){return this.__position<this.__tokens_length},n.prototype.next=function(){var r=null;return this.hasNext()&&(r=this.__tokens[this.__position],this.__position+=1),r},n.prototype.peek=function(r){var o=null;return r=r||0,r+=this.__position,r>=0&&r<this.__tokens_length&&(o=this.__tokens[r]),o},n.prototype.add=function(r){this.__parent_token&&(r.parent=this.__parent_token),this.__tokens.push(r),this.__tokens_length+=1},v.exports.TokenStream=n},function(v,n,r){var o=r(12).Pattern;function l(w,k){o.call(this,w,k),k?this._line_regexp=this._input.get_regexp(k._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}l.prototype=new o,l.prototype.__set_whitespace_patterns=function(w,k){w+="\\t ",k+="\\n\\r",this._match_pattern=this._input.get_regexp("["+w+k+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+k+"]")},l.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var w=this._input.read(this._match_pattern);if(w===" ")this.whitespace_before_token=" ";else if(w){var k=this.__split(this._newline_regexp,w);this.newline_count=k.length-1,this.whitespace_before_token=k[this.newline_count]}return w},l.prototype.matching=function(w,k){var E=this._create();return E.__set_whitespace_patterns(w,k),E._update(),E},l.prototype._create=function(){return new l(this._input,this)},l.prototype.__split=function(w,k){w.lastIndex=0;for(var E=0,g=[],I=w.exec(k);I;)g.push(k.substring(E,I.index)),E=I.index+I[0].length,I=w.exec(k);return E<k.length?g.push(k.substring(E,k.length)):g.push(""),g},v.exports.WhitespacePattern=l},function(v){function n(r,o){this._input=r,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,o&&(this._starting_pattern=this._input.get_regexp(o._starting_pattern,!0),this._match_pattern=this._input.get_regexp(o._match_pattern,!0),this._until_pattern=this._input.get_regexp(o._until_pattern),this._until_after=o._until_after)}n.prototype.read=function(){var r=this._input.read(this._starting_pattern);return(!this._starting_pattern||r)&&(r+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),r},n.prototype.read_match=function(){return this._input.match(this._match_pattern)},n.prototype.until_after=function(r){var o=this._create();return o._until_after=!0,o._until_pattern=this._input.get_regexp(r),o._update(),o},n.prototype.until=function(r){var o=this._create();return o._until_after=!1,o._until_pattern=this._input.get_regexp(r),o._update(),o},n.prototype.starting_with=function(r){var o=this._create();return o._starting_pattern=this._input.get_regexp(r,!0),o._update(),o},n.prototype.matching=function(r){var o=this._create();return o._match_pattern=this._input.get_regexp(r,!0),o._update(),o},n.prototype._create=function(){return new n(this._input,this)},n.prototype._update=function(){},v.exports.Pattern=n},function(v){function n(r,o){r=typeof r=="string"?r:r.source,o=typeof o=="string"?o:o.source,this.__directives_block_pattern=new RegExp(r+/ beautify( \w+[:]\w+)+ /.source+o,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(r+/\sbeautify\signore:end\s/.source+o,"g")}n.prototype.get_directives=function(r){if(!r.match(this.__directives_block_pattern))return null;var o={};this.__directive_pattern.lastIndex=0;for(var l=this.__directive_pattern.exec(r);l;)o[l[1]]=l[2],l=this.__directive_pattern.exec(r);return o},n.prototype.readIgnored=function(r){return r.readUntilAfter(this.__directives_end_ignore_pattern)},v.exports.Directives=n},function(v,n,r){var o=r(12).Pattern,l={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function w(k,E){o.call(this,k,E),this.__template_pattern=null,this._disabled=Object.assign({},l),this._excluded=Object.assign({},l),E&&(this.__template_pattern=this._input.get_regexp(E.__template_pattern),this._excluded=Object.assign(this._excluded,E._excluded),this._disabled=Object.assign(this._disabled,E._disabled));var g=new o(k);this.__patterns={handlebars_comment:g.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:g.starting_with(/{{{/).until_after(/}}}/),handlebars:g.starting_with(/{{/).until_after(/}}/),php:g.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:g.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:g.starting_with(/{%/).until_after(/%}/),django_value:g.starting_with(/{{/).until_after(/}}/),django_comment:g.starting_with(/{#/).until_after(/#}/),smarty:g.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:g.starting_with(/{\*/).until_after(/\*}/),smarty_literal:g.starting_with(/{literal}/).until_after(/{\/literal}/)}}w.prototype=new o,w.prototype._create=function(){return new w(this._input,this)},w.prototype._update=function(){this.__set_templated_pattern()},w.prototype.disable=function(k){var E=this._create();return E._disabled[k]=!0,E._update(),E},w.prototype.read_options=function(k){var E=this._create();for(var g in l)E._disabled[g]=k.templating.indexOf(g)===-1;return E._update(),E},w.prototype.exclude=function(k){var E=this._create();return E._excluded[k]=!0,E._update(),E},w.prototype.read=function(){var k="";this._match_pattern?k=this._input.read(this._starting_pattern):k=this._input.read(this._starting_pattern,this.__template_pattern);for(var E=this._read_template();E;)this._match_pattern?E+=this._input.read(this._match_pattern):E+=this._input.readUntil(this.__template_pattern),k+=E,E=this._read_template();return this._until_after&&(k+=this._input.readUntilAfter(this._until_pattern)),k},w.prototype.__set_templated_pattern=function(){var k=[];this._disabled.php||k.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||k.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||k.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||k.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(k.push(this.__patterns.django._starting_pattern.source),k.push(this.__patterns.django_value._starting_pattern.source),k.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||k.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&k.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+k.join("|")+")")},w.prototype._read_template=function(){var k="",E=this._input.peek();if(E==="<"){var g=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&g==="?"&&(k=k||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&g==="%"&&(k=k||this.__patterns.erb.read())}else E==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(k=k||this.__patterns.handlebars_comment.read(),k=k||this.__patterns.handlebars_unescaped.read(),k=k||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(k=k||this.__patterns.django_value.read()),this._excluded.django||(k=k||this.__patterns.django_comment.read(),k=k||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(k=k||this.__patterns.smarty_comment.read(),k=k||this.__patterns.smarty_literal.read(),k=k||this.__patterns.smarty.read()));return k},v.exports.TemplatablePattern=w},,,,function(v,n,r){var o=r(19).Beautifier,l=r(20).Options;function w(k,E,g,I){var C=new o(k,E,g,I);return C.beautify()}v.exports=w,v.exports.defaultOptions=function(){return new l}},function(v,n,r){var o=r(20).Options,l=r(2).Output,w=r(21).Tokenizer,k=r(21).TOKEN,E=/\r\n|[\r\n]/,g=/\r\n|[\r\n]/g,I=function($,p){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=$.max_preserve_newlines,this.preserve_newlines=$.preserve_newlines,this._output=new l($,p)};I.prototype.current_line_has_match=function($){return this._output.current_line.has_match($)},I.prototype.set_space_before_token=function($,p){this._output.space_before_token=$,this._output.non_breaking_space=p},I.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},I.prototype.add_raw_token=function($){this._output.add_raw_token($)},I.prototype.print_preserved_newlines=function($){var p=0;$.type!==k.TEXT&&$.previous.type!==k.TEXT&&(p=$.newlines?1:0),this.preserve_newlines&&(p=$.newlines<this.max_preserve_newlines+1?$.newlines:this.max_preserve_newlines+1);for(var Z=0;Z<p;Z++)this.print_newline(Z>0);return p!==0},I.prototype.traverse_whitespace=function($){return $.whitespace_before||$.newlines?(this.print_preserved_newlines($)||(this._output.space_before_token=!0),!0):!1},I.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},I.prototype.print_newline=function($){this._output.add_new_line($)},I.prototype.print_token=function($){$.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token($.text))},I.prototype.indent=function(){this.indent_level++},I.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},I.prototype.get_full_indent=function($){return $=this.indent_level+($||0),$<1?"":this._output.get_indent_string($)};var C=function($){for(var p=null,Z=$.next;Z.type!==k.EOF&&$.closed!==Z;){if(Z.type===k.ATTRIBUTE&&Z.text==="type"){Z.next&&Z.next.type===k.EQUALS&&Z.next.next&&Z.next.next.type===k.VALUE&&(p=Z.next.next.text);break}Z=Z.next}return p},c=function($,p){var Z=null,O=null;return p.closed?($==="script"?Z="text/javascript":$==="style"&&(Z="text/css"),Z=C(p)||Z,Z.search("text/css")>-1?O="css":Z.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?O="javascript":Z.search(/(text|application|dojo)\/(x-)?(html)/)>-1?O="html":Z.search(/test\/null/)>-1&&(O="null"),O):null};function s($,p){return p.indexOf($)!==-1}function b($,p,Z){this.parent=$||null,this.tag=p?p.tag_name:"",this.indent_level=Z||0,this.parser_token=p||null}function T($){this._printer=$,this._current_frame=null}T.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},T.prototype.record_tag=function($){var p=new b(this._current_frame,$,this._printer.indent_level);this._current_frame=p},T.prototype._try_pop_frame=function($){var p=null;return $&&(p=$.parser_token,this._printer.indent_level=$.indent_level,this._current_frame=$.parent),p},T.prototype._get_frame=function($,p){for(var Z=this._current_frame;Z&&$.indexOf(Z.tag)===-1;){if(p&&p.indexOf(Z.tag)!==-1){Z=null;break}Z=Z.parent}return Z},T.prototype.try_pop=function($,p){var Z=this._get_frame([$],p);return this._try_pop_frame(Z)},T.prototype.indent_to_tag=function($){var p=this._get_frame($);p&&(this._printer.indent_level=p.indent_level)};function q($,p,Z,O){this._source_text=$||"",p=p||{},this._js_beautify=Z,this._css_beautify=O,this._tag_stack=null;var B=new o(p,"html");this._options=B,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}q.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var $=this._source_text,p=this._options.eol;this._options.eol==="auto"&&(p=`
|
|
`,$&&E.test($)&&(p=$.match(E)[0])),$=$.replace(g,`
|
|
`);var Z=$.match(/^[\t ]*/)[0],O={text:"",type:""},B=new ee(this._options),P=new I(this._options,Z),i=new w($,this._options).tokenize();this._tag_stack=new T(P);for(var a=null,_=i.next();_.type!==k.EOF;)_.type===k.TAG_OPEN||_.type===k.COMMENT?(a=this._handle_tag_open(P,_,B,O,i),B=a):_.type===k.ATTRIBUTE||_.type===k.EQUALS||_.type===k.VALUE||_.type===k.TEXT&&!B.tag_complete?a=this._handle_inside_tag(P,_,B,O):_.type===k.TAG_CLOSE?a=this._handle_tag_close(P,_,B):_.type===k.TEXT?a=this._handle_text(P,_,B):_.type===k.CONTROL_FLOW_OPEN?a=this._handle_control_flow_open(P,_):_.type===k.CONTROL_FLOW_CLOSE?a=this._handle_control_flow_close(P,_):P.add_raw_token(_),O=a,_=i.next();var j=P._output.get_code(p);return j},q.prototype._handle_control_flow_open=function($,p){var Z={text:p.text,type:p.type};return $.set_space_before_token(p.newlines||p.whitespace_before!=="",!0),p.newlines?$.print_preserved_newlines(p):$.set_space_before_token(p.newlines||p.whitespace_before!=="",!0),$.print_token(p),$.indent(),Z},q.prototype._handle_control_flow_close=function($,p){var Z={text:p.text,type:p.type};return $.deindent(),p.newlines?$.print_preserved_newlines(p):$.set_space_before_token(p.newlines||p.whitespace_before!=="",!0),$.print_token(p),Z},q.prototype._handle_tag_close=function($,p,Z){var O={text:p.text,type:p.type};return $.alignment_size=0,Z.tag_complete=!0,$.set_space_before_token(p.newlines||p.whitespace_before!=="",!0),Z.is_unformatted?$.add_raw_token(p):(Z.tag_start_char==="<"&&($.set_space_before_token(p.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&Z.has_wrapped_attrs&&$.print_newline(!1)),$.print_token(p)),Z.indent_content&&!(Z.is_unformatted||Z.is_content_unformatted)&&($.indent(),Z.indent_content=!1),!Z.is_inline_element&&!(Z.is_unformatted||Z.is_content_unformatted)&&$.set_wrap_point(),O},q.prototype._handle_inside_tag=function($,p,Z,O){var B=Z.has_wrapped_attrs,P={text:p.text,type:p.type};return $.set_space_before_token(p.newlines||p.whitespace_before!=="",!0),Z.is_unformatted?$.add_raw_token(p):Z.tag_start_char==="{"&&p.type===k.TEXT?$.print_preserved_newlines(p)?(p.newlines=0,$.add_raw_token(p)):$.print_token(p):(p.type===k.ATTRIBUTE?$.set_space_before_token(!0):(p.type===k.EQUALS||p.type===k.VALUE&&p.previous.type===k.EQUALS)&&$.set_space_before_token(!1),p.type===k.ATTRIBUTE&&Z.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&($.traverse_whitespace(p),B=B||p.newlines!==0),this._is_wrap_attributes_force&&Z.attr_count>=this._options.wrap_attributes_min_attrs&&(O.type!==k.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&($.print_newline(!1),B=!0)),$.print_token(p),B=B||$.previous_token_wrapped(),Z.has_wrapped_attrs=B),P},q.prototype._handle_text=function($,p,Z){var O={text:p.text,type:"TK_CONTENT"};return Z.custom_beautifier_name?this._print_custom_beatifier_text($,p,Z):Z.is_unformatted||Z.is_content_unformatted?$.add_raw_token(p):($.traverse_whitespace(p),$.print_token(p)),O},q.prototype._print_custom_beatifier_text=function($,p,Z){var O=this;if(p.text!==""){var B=p.text,P,i=1,a="",_="";Z.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?P=this._js_beautify:Z.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?P=this._css_beautify:Z.custom_beautifier_name==="html"&&(P=function(Ee,ke){var Re=new q(Ee,ke,O._js_beautify,O._css_beautify);return Re.beautify()}),this._options.indent_scripts==="keep"?i=0:this._options.indent_scripts==="separate"&&(i=-$.indent_level);var j=$.get_full_indent(i);if(B=B.replace(/\n[ \t]*$/,""),Z.custom_beautifier_name!=="html"&&B[0]==="<"&&B.match(/^(<!--|<!\[CDATA\[)/)){var ne=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(B);if(!ne){$.add_raw_token(p);return}a=j+ne[1]+`
|
|
`,B=ne[4],ne[5]&&(_=j+ne[5]),B=B.replace(/\n[ \t]*$/,""),(ne[2]||ne[3].indexOf(`
|
|
`)!==-1)&&(ne=ne[3].match(/[ \t]+$/),ne&&(p.whitespace_before=ne[0]))}if(B)if(P){var ae=function(){this.eol=`
|
|
`};ae.prototype=this._options.raw_options;var oe=new ae;B=P(j+B,oe)}else{var fe=p.whitespace_before;fe&&(B=B.replace(new RegExp(`
|
|
(`+fe+")?","g"),`
|
|
`)),B=j+B.replace(/\n/g,`
|
|
`+j)}a&&(B?B=a+B+`
|
|
`+_:B=a+_),$.print_newline(!1),B&&(p.text=B,p.whitespace_before="",p.newlines=0,$.add_raw_token(p),$.print_newline(!0))}},q.prototype._handle_tag_open=function($,p,Z,O,B){var P=this._get_tag_open_token(p);if((Z.is_unformatted||Z.is_content_unformatted)&&!Z.is_empty_element&&p.type===k.TAG_OPEN&&!P.is_start_tag?($.add_raw_token(p),P.start_tag_token=this._tag_stack.try_pop(P.tag_name)):($.traverse_whitespace(p),this._set_tag_position($,p,P,Z,O),P.is_inline_element||$.set_wrap_point(),$.print_token(p)),P.is_start_tag&&this._is_wrap_attributes_force){var i=0,a;do a=B.peek(i),a.type===k.ATTRIBUTE&&(P.attr_count+=1),i+=1;while(a.type!==k.EOF&&a.type!==k.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(P.alignment_size=p.text.length+1),!P.tag_complete&&!P.is_unformatted&&($.alignment_size=P.alignment_size),P};var ee=function($,p,Z){if(this.parent=p||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!Z)this.tag_complete=!0;else{var O;this.tag_start_char=Z.text[0],this.text=Z.text,this.tag_start_char==="<"?(O=Z.text.match(/^<([^\s>]*)/),this.tag_check=O?O[1]:""):(O=Z.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=O?O[1]:"",(Z.text.startsWith("{{#>")||Z.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&Z.next!==null?this.tag_check=Z.next.text.split(" ")[0]:this.tag_check=Z.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),Z.type===k.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||Z.closed&&Z.closed.text==="/>";var B=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(B=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!$.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(B)))}};q.prototype._get_tag_open_token=function($){var p=new ee(this._options,this._tag_stack.get_parser_token(),$);return p.alignment_size=this._options.wrap_attributes_indent_size,p.is_end_tag=p.is_end_tag||s(p.tag_check,this._options.void_elements),p.is_empty_element=p.tag_complete||p.is_start_tag&&p.is_end_tag,p.is_unformatted=!p.tag_complete&&s(p.tag_check,this._options.unformatted),p.is_content_unformatted=!p.is_empty_element&&s(p.tag_check,this._options.content_unformatted),p.is_inline_element=s(p.tag_name,this._options.inline)||this._options.inline_custom_elements&&p.tag_name.includes("-")||p.tag_start_char==="{",p},q.prototype._set_tag_position=function($,p,Z,O,B){if(Z.is_empty_element||(Z.is_end_tag?Z.start_tag_token=this._tag_stack.try_pop(Z.tag_name):(this._do_optional_end_element(Z)&&(Z.is_inline_element||$.print_newline(!1)),this._tag_stack.record_tag(Z),(Z.tag_name==="script"||Z.tag_name==="style")&&!(Z.is_unformatted||Z.is_content_unformatted)&&(Z.custom_beautifier_name=c(Z.tag_check,p)))),s(Z.tag_check,this._options.extra_liners)&&($.print_newline(!1),$._output.just_added_blankline()||$.print_newline(!0)),Z.is_empty_element){if(Z.tag_start_char==="{"&&Z.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),Z.indent_content=!0;var P=$.current_line_has_match(/{{#if/);P||$.print_newline(!1)}Z.tag_name==="!--"&&B.type===k.TAG_CLOSE&&O.is_end_tag&&Z.text.indexOf(`
|
|
`)===-1||(Z.is_inline_element||Z.is_unformatted||$.print_newline(!1),this._calcluate_parent_multiline($,Z))}else if(Z.is_end_tag){var i=!1;i=Z.start_tag_token&&Z.start_tag_token.multiline_content,i=i||!Z.is_inline_element&&!(O.is_inline_element||O.is_unformatted)&&!(B.type===k.TAG_CLOSE&&Z.start_tag_token===O)&&B.type!=="TK_CONTENT",(Z.is_content_unformatted||Z.is_unformatted)&&(i=!1),i&&$.print_newline(!1)}else Z.indent_content=!Z.custom_beautifier_name,Z.tag_start_char==="<"&&(Z.tag_name==="html"?Z.indent_content=this._options.indent_inner_html:Z.tag_name==="head"?Z.indent_content=this._options.indent_head_inner_html:Z.tag_name==="body"&&(Z.indent_content=this._options.indent_body_inner_html)),!(Z.is_inline_element||Z.is_unformatted)&&(B.type!=="TK_CONTENT"||Z.is_content_unformatted)&&$.print_newline(!1),this._calcluate_parent_multiline($,Z)},q.prototype._calcluate_parent_multiline=function($,p){p.parent&&$._output.just_added_newline()&&!((p.is_inline_element||p.is_unformatted)&&p.parent.is_inline_element)&&(p.parent.multiline_content=!0)};var G=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],H=["a","audio","del","ins","map","noscript","video"];q.prototype._do_optional_end_element=function($){var p=null;if(!($.is_empty_element||!$.is_start_tag||!$.parent)){if($.tag_name==="body")p=p||this._tag_stack.try_pop("head");else if($.tag_name==="li")p=p||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if($.tag_name==="dd"||$.tag_name==="dt")p=p||this._tag_stack.try_pop("dt",["dl"]),p=p||this._tag_stack.try_pop("dd",["dl"]);else if($.parent.tag_name==="p"&&G.indexOf($.tag_name)!==-1){var Z=$.parent.parent;(!Z||H.indexOf(Z.tag_name)===-1)&&(p=p||this._tag_stack.try_pop("p"))}else $.tag_name==="rp"||$.tag_name==="rt"?(p=p||this._tag_stack.try_pop("rt",["ruby","rtc"]),p=p||this._tag_stack.try_pop("rp",["ruby","rtc"])):$.tag_name==="optgroup"?p=p||this._tag_stack.try_pop("optgroup",["select"]):$.tag_name==="option"?p=p||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):$.tag_name==="colgroup"?p=p||this._tag_stack.try_pop("caption",["table"]):$.tag_name==="thead"?(p=p||this._tag_stack.try_pop("caption",["table"]),p=p||this._tag_stack.try_pop("colgroup",["table"])):$.tag_name==="tbody"||$.tag_name==="tfoot"?(p=p||this._tag_stack.try_pop("caption",["table"]),p=p||this._tag_stack.try_pop("colgroup",["table"]),p=p||this._tag_stack.try_pop("thead",["table"]),p=p||this._tag_stack.try_pop("tbody",["table"])):$.tag_name==="tr"?(p=p||this._tag_stack.try_pop("caption",["table"]),p=p||this._tag_stack.try_pop("colgroup",["table"]),p=p||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):($.tag_name==="th"||$.tag_name==="td")&&(p=p||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),p=p||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return $.parent=this._tag_stack.get_parser_token(),p}},v.exports.Beautifier=q},function(v,n,r){var o=r(6).Options;function l(w){o.call(this,w,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}l.prototype=new o,v.exports.Options=l},function(v,n,r){var o=r(9).Tokenizer,l=r(9).TOKEN,w=r(13).Directives,k=r(14).TemplatablePattern,E=r(12).Pattern,g={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:l.START,RAW:l.RAW,EOF:l.EOF},I=new w(/<\!--/,/-->/),C=function(c,s){o.call(this,c,s),this._current_tag_name="";var b=new k(this._input).read_options(this._options),T=new E(this._input);if(this.__patterns={word:b.until(/[\n\r\t <]/),word_control_flow_close_excluded:b.until(/[\n\r\t <}]/),single_quote:b.until_after(/'/),double_quote:b.until_after(/"/),attribute:b.until(/[\n\r\t =>]|\/>/),element_name:b.until(/[\n\r\t >\/]/),angular_control_flow_start:T.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:T.starting_with(/{{!--/).until_after(/--}}/),handlebars:T.starting_with(/{{/).until_after(/}}/),handlebars_open:T.until(/[\n\r\t }]/),handlebars_raw_close:T.until(/}}/),comment:T.starting_with(/<!--/).until_after(/-->/),cdata:T.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:T.starting_with(/<!\[/).until_after(/]>/),processing:T.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var q=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=T.matching(q).until_after(q)}};C.prototype=new o,C.prototype._is_comment=function(c){return!1},C.prototype._is_opening=function(c){return c.type===g.TAG_OPEN||c.type===g.CONTROL_FLOW_OPEN},C.prototype._is_closing=function(c,s){return c.type===g.TAG_CLOSE&&s&&((c.text===">"||c.text==="/>")&&s.text[0]==="<"||c.text==="}}"&&s.text[0]==="{"&&s.text[1]==="{")||c.type===g.CONTROL_FLOW_CLOSE&&c.text==="}"&&s.text.endsWith("{")},C.prototype._reset=function(){this._current_tag_name=""},C.prototype._get_next_token=function(c,s){var b=null;this._readWhitespace();var T=this._input.peek();return T===null?this._create_token(g.EOF,""):(b=b||this._read_open_handlebars(T,s),b=b||this._read_attribute(T,c,s),b=b||this._read_close(T,s),b=b||this._read_script_and_style(T,c),b=b||this._read_control_flows(T,s),b=b||this._read_raw_content(T,c,s),b=b||this._read_content_word(T,s),b=b||this._read_comment_or_cdata(T),b=b||this._read_processing(T),b=b||this._read_open(T,s),b=b||this._create_token(g.UNKNOWN,this._input.next()),b)},C.prototype._read_comment_or_cdata=function(c){var s=null,b=null,T=null;if(c==="<"){var q=this._input.peek(1);q==="!"&&(b=this.__patterns.comment.read(),b?(T=I.get_directives(b),T&&T.ignore==="start"&&(b+=I.readIgnored(this._input))):b=this.__patterns.cdata.read()),b&&(s=this._create_token(g.COMMENT,b),s.directives=T)}return s},C.prototype._read_processing=function(c){var s=null,b=null,T=null;if(c==="<"){var q=this._input.peek(1);(q==="!"||q==="?")&&(b=this.__patterns.conditional_comment.read(),b=b||this.__patterns.processing.read()),b&&(s=this._create_token(g.COMMENT,b),s.directives=T)}return s},C.prototype._read_open=function(c,s){var b=null,T=null;return(!s||s.type===g.CONTROL_FLOW_OPEN)&&c==="<"&&(b=this._input.next(),this._input.peek()==="/"&&(b+=this._input.next()),b+=this.__patterns.element_name.read(),T=this._create_token(g.TAG_OPEN,b)),T},C.prototype._read_open_handlebars=function(c,s){var b=null,T=null;return(!s||s.type===g.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&c==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(b=this.__patterns.handlebars_comment.read(),b=b||this.__patterns.handlebars.read(),T=this._create_token(g.COMMENT,b)):(b=this.__patterns.handlebars_open.read(),T=this._create_token(g.TAG_OPEN,b))),T},C.prototype._read_control_flows=function(c,s){var b="",T=null;if(!this._options.templating.includes("angular"))return T;if(c==="@"){if(b=this.__patterns.angular_control_flow_start.read(),b==="")return T;for(var q=b.endsWith("(")?1:0,ee=0;!(b.endsWith("{")&&q===ee);){var G=this._input.next();if(G===null)break;G==="("?q++:G===")"&&ee++,b+=G}T=this._create_token(g.CONTROL_FLOW_OPEN,b)}else c==="}"&&s&&s.type===g.CONTROL_FLOW_OPEN&&(b=this._input.next(),T=this._create_token(g.CONTROL_FLOW_CLOSE,b));return T},C.prototype._read_close=function(c,s){var b=null,T=null;return s&&s.type===g.TAG_OPEN&&(s.text[0]==="<"&&(c===">"||c==="/"&&this._input.peek(1)===">")?(b=this._input.next(),c==="/"&&(b+=this._input.next()),T=this._create_token(g.TAG_CLOSE,b)):s.text[0]==="{"&&c==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),T=this._create_token(g.TAG_CLOSE,"}}"))),T},C.prototype._read_attribute=function(c,s,b){var T=null,q="";if(b&&b.text[0]==="<")if(c==="=")T=this._create_token(g.EQUALS,this._input.next());else if(c==='"'||c==="'"){var ee=this._input.next();c==='"'?ee+=this.__patterns.double_quote.read():ee+=this.__patterns.single_quote.read(),T=this._create_token(g.VALUE,ee)}else q=this.__patterns.attribute.read(),q&&(s.type===g.EQUALS?T=this._create_token(g.VALUE,q):T=this._create_token(g.ATTRIBUTE,q));return T},C.prototype._is_content_unformatted=function(c){return this._options.void_elements.indexOf(c)===-1&&(this._options.content_unformatted.indexOf(c)!==-1||this._options.unformatted.indexOf(c)!==-1)},C.prototype._read_raw_content=function(c,s,b){var T="";if(b&&b.text[0]==="{")T=this.__patterns.handlebars_raw_close.read();else if(s.type===g.TAG_CLOSE&&s.opened.text[0]==="<"&&s.text[0]!=="/"){var q=s.opened.text.substr(1).toLowerCase();this._is_content_unformatted(q)&&(T=this._input.readUntil(new RegExp("</"+q+"[\\n\\r\\t ]*?>","ig")))}return T?this._create_token(g.TEXT,T):null},C.prototype._read_script_and_style=function(c,s){if(s.type===g.TAG_CLOSE&&s.opened.text[0]==="<"&&s.text[0]!=="/"){var b=s.opened.text.substr(1).toLowerCase();if(b==="script"||b==="style"){var T=this._read_comment_or_cdata(c);if(T)return T.type=g.TEXT,T;var q=this._input.readUntil(new RegExp("</"+b+"[\\n\\r\\t ]*?>","ig"));if(q)return this._create_token(g.TEXT,q)}}return null},C.prototype._read_content_word=function(c,s){var b="";return this._options.unformatted_content_delimiter&&c===this._options.unformatted_content_delimiter[0]&&(b=this.__patterns.unformatted_content_delimiter.read()),b||(b=s&&s.type===g.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),b?this._create_token(g.TEXT,b):null},v.exports.Tokenizer=C,v.exports.TOKEN=g}],W={};function e(v){var n=W[v];if(n!==void 0)return n.exports;var r=W[v]={exports:{}};return u[v](r,r.exports,e),r.exports}var h=e(18);D=h})();var V=D;if(1)x=[t,t(58553),t(87804)],m=function(u){var W=t(58553),e=t(87804);return{html_beautify:function(h,v){return V(h,v,W.js_beautify,e.css_beautify)}}}.apply(de,x),m!==void 0&&(Ue.exports=m);else var L,F})()},58553:function(Ue,de){var t,x;(function(){var m;(function(){"use strict";var V=[function(W,e,h){var v=h(1).Beautifier,n=h(5).Options;function r(o,l){var w=new v(o,l);return w.beautify()}W.exports=r,W.exports.defaultOptions=function(){return new n}},function(W,e,h){var v=h(2).Output,n=h(3).Token,r=h(4),o=h(5).Options,l=h(7).Tokenizer,w=h(7).line_starters,k=h(7).positionable_operators,E=h(7).TOKEN;function g(a,_){return _.indexOf(a)!==-1}function I(a){return a.replace(/^\s+/g,"")}function C(a){for(var _={},j=0;j<a.length;j++)_[a[j].replace(/-/g,"_")]=a[j];return _}function c(a,_){return a&&a.type===E.RESERVED&&a.text===_}function s(a,_){return a&&a.type===E.RESERVED&&g(a.text,_)}var b=["case","return","do","if","throw","else","await","break","continue","async"],T=["before-newline","after-newline","preserve-newline"],q=C(T),ee=[q.before_newline,q.preserve_newline],G={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function H(a,_){_.multiline_frame||_.mode===G.ForInitializer||_.mode===G.Conditional||a.remove_indent(_.start_line_index)}function $(a){a=a.replace(r.allLineBreaks,`
|
|
`);for(var _=[],j=a.indexOf(`
|
|
`);j!==-1;)_.push(a.substring(0,j)),a=a.substring(j+1),j=a.indexOf(`
|
|
`);return a.length&&_.push(a),_}function p(a){return a===G.ArrayLiteral}function Z(a){return g(a,[G.Expression,G.ForInitializer,G.Conditional])}function O(a,_){for(var j=0;j<a.length;j++){var ne=a[j].trim();if(ne.charAt(0)!==_)return!1}return!0}function B(a,_){for(var j=0,ne=a.length,ae;j<ne;j++)if(ae=a[j],ae&&ae.indexOf(_)!==0)return!1;return!0}function P(a,_){_=_||{},this._source_text=a||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new o(_)}P.prototype.create_flags=function(a,_){var j=0;a&&(j=a.indentation_level,!this._output.just_added_newline()&&a.line_indent_level>j&&(j=a.line_indent_level));var ne={mode:_,parent:a,last_token:a?a.last_token:new n(E.START_BLOCK,""),last_word:a?a.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:j,alignment:0,line_indent_level:a?a.line_indent_level:j,start_line_index:this._output.get_line_number(),ternary_depth:0};return ne},P.prototype._reset=function(a){var _=a.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new v(this._options,_),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(G.BlockStatement);var j=new l(a,this._options);return this._tokens=j.tokenize(),a},P.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var a,_=this._reset(this._source_text),j=this._options.eol;this._options.eol==="auto"&&(j=`
|
|
`,_&&r.lineBreak.test(_||"")&&(j=_.match(r.lineBreak)[0]));for(var ne=this._tokens.next();ne;)this.handle_token(ne),this._last_last_text=this._flags.last_token.text,this._flags.last_token=ne,ne=this._tokens.next();return a=this._output.get_code(j),a},P.prototype.handle_token=function(a,_){a.type===E.START_EXPR?this.handle_start_expr(a):a.type===E.END_EXPR?this.handle_end_expr(a):a.type===E.START_BLOCK?this.handle_start_block(a):a.type===E.END_BLOCK?this.handle_end_block(a):a.type===E.WORD?this.handle_word(a):a.type===E.RESERVED?this.handle_word(a):a.type===E.SEMICOLON?this.handle_semicolon(a):a.type===E.STRING?this.handle_string(a):a.type===E.EQUALS?this.handle_equals(a):a.type===E.OPERATOR?this.handle_operator(a):a.type===E.COMMA?this.handle_comma(a):a.type===E.BLOCK_COMMENT?this.handle_block_comment(a,_):a.type===E.COMMENT?this.handle_comment(a,_):a.type===E.DOT?this.handle_dot(a):a.type===E.EOF?this.handle_eof(a):a.type===E.UNKNOWN?this.handle_unknown(a,_):this.handle_unknown(a,_)},P.prototype.handle_whitespace_and_comments=function(a,_){var j=a.newlines,ne=this._options.keep_array_indentation&&p(this._flags.mode);if(a.comments_before)for(var ae=a.comments_before.next();ae;)this.handle_whitespace_and_comments(ae,_),this.handle_token(ae,_),ae=a.comments_before.next();if(ne)for(var oe=0;oe<j;oe+=1)this.print_newline(oe>0,_);else if(this._options.max_preserve_newlines&&j>this._options.max_preserve_newlines&&(j=this._options.max_preserve_newlines),this._options.preserve_newlines&&j>1){this.print_newline(!1,_);for(var fe=1;fe<j;fe+=1)this.print_newline(!0,_)}};var i=["async","break","continue","return","throw","yield"];P.prototype.allow_wrap_or_preserved_newline=function(a,_){if(_=_===void 0?!1:_,!this._output.just_added_newline()){var j=this._options.preserve_newlines&&a.newlines||_,ne=g(this._flags.last_token.text,k)||g(a.text,k);if(ne){var ae=g(this._flags.last_token.text,k)&&g(this._options.operator_position,ee)||g(a.text,k);j=j&&ae}if(j)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(s(this._flags.last_token,i))return;this._output.set_wrap_point()}}},P.prototype.print_newline=function(a,_){if(!_&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==E.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var j=this._tokens.peek();this._flags.mode===G.Statement&&!(this._flags.if_block&&c(j,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(a)&&(this._flags.multiline_frame=!0)},P.prototype.print_token_line_indentation=function(a){this._output.just_added_newline()&&(this._options.keep_array_indentation&&a.newlines&&(a.text==="["||p(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(a.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},P.prototype.print_token=function(a){if(this._output.raw){this._output.add_raw_token(a);return}if(this._options.comma_first&&a.previous&&a.previous.type===E.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var _=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(_),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(a),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(a),this._output.non_breaking_space=!0,this._output.add_token(a.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},P.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},P.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},P.prototype.set_mode=function(a){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,a),this._flags=this.create_flags(this._previous_flags,a),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},P.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===G.Statement&&H(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},P.prototype.start_of_object_property=function(){return this._flags.parent.mode===G.ObjectLiteral&&this._flags.mode===G.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||s(this._flags.last_token,["get","set"]))},P.prototype.start_of_statement=function(a){var _=!1;return _=_||s(this._flags.last_token,["var","let","const"])&&a.type===E.WORD,_=_||c(this._flags.last_token,"do"),_=_||!(this._flags.parent.mode===G.ObjectLiteral&&this._flags.mode===G.Statement)&&s(this._flags.last_token,i)&&!a.newlines,_=_||c(this._flags.last_token,"else")&&!(c(a,"if")&&!a.comments_before),_=_||this._flags.last_token.type===E.END_EXPR&&(this._previous_flags.mode===G.ForInitializer||this._previous_flags.mode===G.Conditional),_=_||this._flags.last_token.type===E.WORD&&this._flags.mode===G.BlockStatement&&!this._flags.in_case&&!(a.text==="--"||a.text==="++")&&this._last_last_text!=="function"&&a.type!==E.WORD&&a.type!==E.RESERVED,_=_||this._flags.mode===G.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||s(this._flags.last_token,["get","set"])),_?(this.set_mode(G.Statement),this.indent(),this.handle_whitespace_and_comments(a,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(a,s(a,["do","for","if","while"])),!0):!1},P.prototype.handle_start_expr=function(a){this.start_of_statement(a)||this.handle_whitespace_and_comments(a);var _=G.Expression;if(a.text==="["){if(this._flags.last_token.type===E.WORD||this._flags.last_token.text===")"){s(this._flags.last_token,w)&&(this._output.space_before_token=!0),this.print_token(a),this.set_mode(_),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}_=G.ArrayLiteral,p(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),g(this._flags.last_token.type,[E.START_EXPR,E.END_EXPR,E.WORD,E.OPERATOR,E.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===E.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,_=G.ForInitializer):g(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,_=G.Conditional):g(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&a.whitespace_before===""?this._output.space_before_token=!1:(g(this._flags.last_token.text,w)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===E.EQUALS||this._flags.last_token.type===E.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(a);else if(this._flags.last_token.type===E.WORD){this._output.space_before_token=!1;var j=this._tokens.peek(-3);if(this._options.space_after_named_function&&j){var ne=this._tokens.peek(-4);s(j,["async","function"])||j.text==="*"&&s(ne,["async","function"])?this._output.space_before_token=!0:this._flags.mode===G.ObjectLiteral?(j.text==="{"||j.text===","||j.text==="*"&&(ne.text==="{"||ne.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(a);(this._flags.last_token.type===E.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(g(this._last_last_text,["function","yield"])||this._flags.mode===G.ObjectLiteral&&g(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===E.START_BLOCK?this.print_newline():(this._flags.last_token.type===E.END_EXPR||this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===E.COMMA)&&this.allow_wrap_or_preserved_newline(a,a.newlines),this.print_token(a),this.set_mode(_),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},P.prototype.handle_end_expr=function(a){for(;this._flags.mode===G.Statement;)this.restore_mode();this.handle_whitespace_and_comments(a),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(a,a.text==="]"&&p(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===E.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(a),this.restore_mode(),H(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===G.Conditional&&(this._previous_flags.mode=G.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},P.prototype.handle_start_block=function(a){this.handle_whitespace_and_comments(a);var _=this._tokens.peek(),j=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===E.END_EXPR?(this.set_mode(G.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(G.BlockStatement):j&&(g(j.text,[":",","])&&g(_.type,[E.STRING,E.WORD,E.RESERVED])||g(_.text,["get","set","..."])&&g(j.type,[E.WORD,E.RESERVED]))?g(this._last_last_text,["class","interface"])&&!g(j.text,[":",","])?this.set_mode(G.BlockStatement):this.set_mode(G.ObjectLiteral):this._flags.last_token.type===E.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(G.BlockStatement):g(this._flags.last_token.type,[E.EQUALS,E.START_EXPR,E.COMMA,E.OPERATOR])||s(this._flags.last_token,["return","throw","import","default"])?this.set_mode(G.ObjectLiteral):this.set_mode(G.BlockStatement),this._flags.last_token&&s(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var ne=!_.comments_before&&_.text==="}",ae=ne&&this._flags.last_word==="function"&&this._flags.last_token.type===E.END_EXPR;if(this._options.brace_preserve_inline){var oe=0,fe=null;this._flags.inline_frame=!0;do if(oe+=1,fe=this._tokens.peek(oe-1),fe.newlines){this._flags.inline_frame=!1;break}while(fe.type!==E.EOF&&!(fe.type===E.END_BLOCK&&fe.opened===a))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&a.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==E.OPERATOR&&(ae||this._flags.last_token.type===E.EQUALS||s(this._flags.last_token,b)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(p(this._previous_flags.mode)&&(this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.COMMA)&&((this._flags.last_token.type===E.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(a),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==E.OPERATOR&&this._flags.last_token.type!==E.START_EXPR&&(g(this._flags.last_token.type,[E.START_BLOCK,E.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(a),this.indent(),!ne&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},P.prototype.handle_end_block=function(a){for(this.handle_whitespace_and_comments(a);this._flags.mode===G.Statement;)this.restore_mode();var _=this._flags.last_token.type===E.START_BLOCK;this._flags.inline_frame&&!_?this._output.space_before_token=!0:this._options.brace_style==="expand"?_||this.print_newline():_||(p(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(a)},P.prototype.handle_word=function(a){if(a.type===E.RESERVED){if(g(a.text,["set","get"])&&this._flags.mode!==G.ObjectLiteral)a.type=E.WORD;else if(a.text==="import"&&g(this._tokens.peek().text,["(","."]))a.type=E.WORD;else if(g(a.text,["as","from"])&&!this._flags.import_block)a.type=E.WORD;else if(this._flags.mode===G.ObjectLiteral){var _=this._tokens.peek();_.text===":"&&(a.type=E.WORD)}}if(this.start_of_statement(a)?s(this._flags.last_token,["var","let","const"])&&a.type===E.WORD&&(this._flags.declaration_statement=!0):a.newlines&&!Z(this._flags.mode)&&(this._flags.last_token.type!==E.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==E.EQUALS&&(this._options.preserve_newlines||!s(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(a),this.print_newline()):this.handle_whitespace_and_comments(a),this._flags.do_block&&!this._flags.do_while)if(c(a,"while")){this._output.space_before_token=!0,this.print_token(a),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&c(a,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===G.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&s(a,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(a),this._flags.in_case=!0;return}if((this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.EQUALS||this._flags.last_token.type===E.OPERATOR)&&!this.start_of_object_property()&&!(g(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===G.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(a),c(a,"function")){(g(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(g(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===E.OPERATOR))&&!this._output.just_added_blankline()&&!a.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===E.RESERVED||this._flags.last_token.type===E.WORD?s(this._flags.last_token,["get","set","new","export"])||s(this._flags.last_token,i)?this._output.space_before_token=!0:c(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===E.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(Z(this._flags.mode)||p(this._flags.mode))||this.print_newline(),this.print_token(a),this._flags.last_word=a.text;return}var j="NONE";if(this._flags.last_token.type===E.END_BLOCK?this._previous_flags.inline_frame?j="SPACE":s(a,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&a.newlines?j="NEWLINE":(j="SPACE",this._output.space_before_token=!0):j="NEWLINE":this._flags.last_token.type===E.SEMICOLON&&this._flags.mode===G.BlockStatement?j="NEWLINE":this._flags.last_token.type===E.SEMICOLON&&Z(this._flags.mode)?j="SPACE":this._flags.last_token.type===E.STRING?j="NEWLINE":this._flags.last_token.type===E.RESERVED||this._flags.last_token.type===E.WORD||this._flags.last_token.text==="*"&&(g(this._last_last_text,["function","yield"])||this._flags.mode===G.ObjectLiteral&&g(this._last_last_text,["{",","]))?j="SPACE":this._flags.last_token.type===E.START_BLOCK?this._flags.inline_frame?j="SPACE":j="NEWLINE":this._flags.last_token.type===E.END_EXPR&&(this._output.space_before_token=!0,j="NEWLINE"),s(a,w)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?j="SPACE":j="NEWLINE"),s(a,["else","catch","finally"]))if((!(this._flags.last_token.type===E.END_BLOCK&&this._previous_flags.mode===G.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&a.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var ne=this._output.current_line;ne.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else j==="NEWLINE"?s(this._flags.last_token,b)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&s(a,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==E.END_EXPR?(this._flags.last_token.type!==E.START_EXPR||!s(a,["var","let","const"]))&&this._flags.last_token.text!==":"&&(c(a,"if")&&c(a.previous,"else")?this._output.space_before_token=!0:this.print_newline()):s(a,w)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&p(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():j==="SPACE"&&(this._output.space_before_token=!0);a.previous&&(a.previous.type===E.WORD||a.previous.type===E.RESERVED)&&(this._output.space_before_token=!0),this.print_token(a),this._flags.last_word=a.text,a.type===E.RESERVED&&(a.text==="do"?this._flags.do_block=!0:a.text==="if"?this._flags.if_block=!0:a.text==="import"?this._flags.import_block=!0:this._flags.import_block&&c(a,"from")&&(this._flags.import_block=!1))},P.prototype.handle_semicolon=function(a){this.start_of_statement(a)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(a);for(var _=this._tokens.peek();this._flags.mode===G.Statement&&!(this._flags.if_block&&c(_,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(a)},P.prototype.handle_string=function(a){a.text.startsWith("`")&&a.newlines===0&&a.whitespace_before===""&&(a.previous.text===")"||this._flags.last_token.type===E.WORD)||(this.start_of_statement(a)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(a),this._flags.last_token.type===E.RESERVED||this._flags.last_token.type===E.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.EQUALS||this._flags.last_token.type===E.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(a):a.text.startsWith("`")&&this._flags.last_token.type===E.END_EXPR&&(a.previous.text==="]"||a.previous.text===")")&&a.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(a)},P.prototype.handle_equals=function(a){this.start_of_statement(a)||this.handle_whitespace_and_comments(a),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(a),this._output.space_before_token=!0},P.prototype.handle_comma=function(a){this.handle_whitespace_and_comments(a,!0),this.print_token(a),this._output.space_before_token=!0,this._flags.declaration_statement?(Z(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(a)):this._flags.mode===G.ObjectLiteral||this._flags.mode===G.Statement&&this._flags.parent.mode===G.ObjectLiteral?(this._flags.mode===G.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(a)},P.prototype.handle_operator=function(a){var _=a.text==="*"&&(s(this._flags.last_token,["function","yield"])||g(this._flags.last_token.type,[E.START_BLOCK,E.COMMA,E.END_BLOCK,E.SEMICOLON])),j=g(a.text,["-","+"])&&(g(this._flags.last_token.type,[E.START_BLOCK,E.START_EXPR,E.EQUALS,E.OPERATOR])||g(this._flags.last_token.text,w)||this._flags.last_token.text===",");if(!this.start_of_statement(a)){var ne=!_;this.handle_whitespace_and_comments(a,ne)}if(a.text==="*"&&this._flags.last_token.type===E.DOT){this.print_token(a);return}if(a.text==="::"){this.print_token(a);return}if(g(a.text,["-","+"])&&this.start_of_object_property()){this.print_token(a);return}if(this._flags.last_token.type===E.OPERATOR&&g(this._options.operator_position,ee)&&this.allow_wrap_or_preserved_newline(a),a.text===":"&&this._flags.in_case){this.print_token(a),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==E.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var ae=!0,oe=!0,fe=!1;if(a.text===":"?this._flags.ternary_depth===0?ae=!1:(this._flags.ternary_depth-=1,fe=!0):a.text==="?"&&(this._flags.ternary_depth+=1),!j&&!_&&this._options.preserve_newlines&&g(a.text,k)){var Ee=a.text===":",ke=Ee&&fe,Re=Ee&&!fe;switch(this._options.operator_position){case q.before_newline:this._output.space_before_token=!Re,this.print_token(a),(!Ee||ke)&&this.allow_wrap_or_preserved_newline(a),this._output.space_before_token=!0;return;case q.after_newline:this._output.space_before_token=!0,!Ee||ke?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(a):this._output.space_before_token=!1,this.print_token(a),this._output.space_before_token=!0;return;case q.preserve_newline:Re||this.allow_wrap_or_preserved_newline(a),ae=!(this._output.just_added_newline()||Re),this._output.space_before_token=ae,this.print_token(a),this._output.space_before_token=!0;return}}if(_){this.allow_wrap_or_preserved_newline(a),ae=!1;var ze=this._tokens.peek();oe=ze&&g(ze.type,[E.WORD,E.RESERVED])}else if(a.text==="...")this.allow_wrap_or_preserved_newline(a),ae=this._flags.last_token.type===E.START_BLOCK,oe=!1;else if(g(a.text,["--","++","!","~"])||j){if((this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR)&&this.allow_wrap_or_preserved_newline(a),ae=!1,oe=!1,a.newlines&&(a.text==="--"||a.text==="++"||a.text==="~")){var Je=s(this._flags.last_token,b)&&a.newlines;Je&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Je,!0)}this._flags.last_token.text===";"&&Z(this._flags.mode)&&(ae=!0),this._flags.last_token.type===E.RESERVED?ae=!0:this._flags.last_token.type===E.END_EXPR?ae=!(this._flags.last_token.text==="]"&&(a.text==="--"||a.text==="++")):this._flags.last_token.type===E.OPERATOR&&(ae=g(a.text,["--","-","++","+"])&&g(this._flags.last_token.text,["--","-","++","+"]),g(a.text,["+","-"])&&g(this._flags.last_token.text,["--","++"])&&(oe=!0)),(this._flags.mode===G.BlockStatement&&!this._flags.inline_frame||this._flags.mode===G.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||ae,this.print_token(a),this._output.space_before_token=oe},P.prototype.handle_block_comment=function(a,_){if(this._output.raw){this._output.add_raw_token(a),a.directives&&a.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(a.directives){this.print_newline(!1,_),this.print_token(a),a.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!r.newline.test(a.text)&&!a.newlines){this._output.space_before_token=!0,this.print_token(a),this._output.space_before_token=!0;return}else this.print_block_commment(a,_)},P.prototype.print_block_commment=function(a,_){var j=$(a.text),ne,ae=!1,oe=!1,fe=a.whitespace_before,Ee=fe.length;if(this.print_newline(!1,_),this.print_token_line_indentation(a),this._output.add_token(j[0]),this.print_newline(!1,_),j.length>1){for(j=j.slice(1),ae=O(j,"*"),oe=B(j,fe),ae&&(this._flags.alignment=1),ne=0;ne<j.length;ne++)ae?(this.print_token_line_indentation(a),this._output.add_token(I(j[ne]))):oe&&j[ne]?(this.print_token_line_indentation(a),this._output.add_token(j[ne].substring(Ee))):(this._output.current_line.set_indent(-1),this._output.add_token(j[ne])),this.print_newline(!1,_);this._flags.alignment=0}},P.prototype.handle_comment=function(a,_){a.newlines?this.print_newline(!1,_):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(a),this.print_newline(!1,_)},P.prototype.handle_dot=function(a){this.start_of_statement(a)||this.handle_whitespace_and_comments(a,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),s(this._flags.last_token,b)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(a,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(a)},P.prototype.handle_unknown=function(a,_){this.print_token(a),a.text[a.text.length-1]===`
|
|
`&&this.print_newline(!1,_)},P.prototype.handle_eof=function(a){for(;this._flags.mode===G.Statement;)this.restore_mode();this.handle_whitespace_and_comments(a)},W.exports.Beautifier=P},function(W){function e(n){this.__parent=n,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}e.prototype.clone_empty=function(){var n=new e(this.__parent);return n.set_indent(this.__indent_count,this.__alignment_count),n},e.prototype.item=function(n){return n<0?this.__items[this.__items.length+n]:this.__items[n]},e.prototype.has_match=function(n){for(var r=this.__items.length-1;r>=0;r--)if(this.__items[r].match(n))return!0;return!1},e.prototype.set_indent=function(n,r){this.is_empty()&&(this.__indent_count=n||0,this.__alignment_count=r||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var n=this.__parent.current_line;return n.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),n.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),n.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,n.__items[0]===" "&&(n.__items.splice(0,1),n.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(n){this.__items.push(n);var r=n.lastIndexOf(`
|
|
`);r!==-1?this.__character_count=n.length-r:this.__character_count+=n.length},e.prototype.pop=function(){var n=null;return this.is_empty()||(n=this.__items.pop(),this.__character_count-=n.length),n},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var n="";return this.is_empty()?this.__parent.indent_empty_lines&&(n=this.__parent.get_indent_string(this.__indent_count)):(n=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),n+=this.__items.join("")),n};function h(n,r){this.__cache=[""],this.__indent_size=n.indent_size,this.__indent_string=n.indent_char,n.indent_with_tabs||(this.__indent_string=new Array(n.indent_size+1).join(n.indent_char)),r=r||"",n.indent_level>0&&(r=new Array(n.indent_level+1).join(this.__indent_string)),this.__base_string=r,this.__base_string_length=r.length}h.prototype.get_indent_size=function(n,r){var o=this.__base_string_length;return r=r||0,n<0&&(o=0),o+=n*this.__indent_size,o+=r,o},h.prototype.get_indent_string=function(n,r){var o=this.__base_string;return r=r||0,n<0&&(n=0,o=""),r+=n*this.__indent_size,this.__ensure_cache(r),o+=this.__cache[r],o},h.prototype.__ensure_cache=function(n){for(;n>=this.__cache.length;)this.__add_column()},h.prototype.__add_column=function(){var n=this.__cache.length,r=0,o="";this.__indent_size&&n>=this.__indent_size&&(r=Math.floor(n/this.__indent_size),n-=r*this.__indent_size,o=new Array(r+1).join(this.__indent_string)),n&&(o+=new Array(n+1).join(" ")),this.__cache.push(o)};function v(n,r){this.__indent_cache=new h(n,r),this.raw=!1,this._end_with_newline=n.end_with_newline,this.indent_size=n.indent_size,this.wrap_line_length=n.wrap_line_length,this.indent_empty_lines=n.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}v.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},v.prototype.get_line_number=function(){return this.__lines.length},v.prototype.get_indent_string=function(n,r){return this.__indent_cache.get_indent_string(n,r)},v.prototype.get_indent_size=function(n,r){return this.__indent_cache.get_indent_size(n,r)},v.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},v.prototype.add_new_line=function(n){return this.is_empty()||!n&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},v.prototype.get_code=function(n){this.trim(!0);var r=this.current_line.pop();r&&(r[r.length-1]===`
|
|
`&&(r=r.replace(/\n+$/g,"")),this.current_line.push(r)),this._end_with_newline&&this.__add_outputline();var o=this.__lines.join(`
|
|
`);return n!==`
|
|
`&&(o=o.replace(/[\n]/g,n)),o},v.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},v.prototype.set_indent=function(n,r){return n=n||0,r=r||0,this.next_line.set_indent(n,r),this.__lines.length>1?(this.current_line.set_indent(n,r),!0):(this.current_line.set_indent(),!1)},v.prototype.add_raw_token=function(n){for(var r=0;r<n.newlines;r++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(n.whitespace_before),this.current_line.push(n.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},v.prototype.add_token=function(n){this.__add_space_before_token(),this.current_line.push(n),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},v.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},v.prototype.remove_indent=function(n){for(var r=this.__lines.length;n<r;)this.__lines[n]._remove_indent(),n++;this.current_line._remove_wrap_indent()},v.prototype.trim=function(n){for(n=n===void 0?!1:n,this.current_line.trim();n&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},v.prototype.just_added_newline=function(){return this.current_line.is_empty()},v.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},v.prototype.ensure_empty_line_above=function(n,r){for(var o=this.__lines.length-2;o>=0;){var l=this.__lines[o];if(l.is_empty())break;if(l.item(0).indexOf(n)!==0&&l.item(-1)!==r){this.__lines.splice(o+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}o--}},W.exports.Output=v},function(W){function e(h,v,n,r){this.type=h,this.text=v,this.comments_before=null,this.newlines=n||0,this.whitespace_before=r||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}W.exports.Token=e},function(W,e){var h="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",v="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",n="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",r="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",o="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",l="(?:"+o+"|["+h+n+"])",w="(?:"+o+"|["+v+n+r+"])*";e.identifier=new RegExp(l+w,"g"),e.identifierStart=new RegExp(l),e.identifierMatch=new RegExp("(?:"+o+"|["+v+n+r+"])+");var k=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp(`\r
|
|
|`+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")},function(W,e,h){var v=h(6).Options,n=["before-newline","after-newline","preserve-newline"];function r(o){v.call(this,o,"js");var l=this.raw_options.brace_style||null;l==="expand-strict"?this.raw_options.brace_style="expand":l==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var w=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var k=0;k<w.length;k++)w[k]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=w[k];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",n),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}r.prototype=new v,W.exports.Options=r},function(W){function e(n,r){this.raw_options=h(n,r),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(n,r){var o=this.raw_options[n],l=r||[];return typeof o=="object"?o!==null&&typeof o.concat=="function"&&(l=o.concat()):typeof o=="string"&&(l=o.split(/[^a-zA-Z0-9_\/\-]+/)),l},e.prototype._get_boolean=function(n,r){var o=this.raw_options[n],l=o===void 0?!!r:!!o;return l},e.prototype._get_characters=function(n,r){var o=this.raw_options[n],l=r||"";return typeof o=="string"&&(l=o.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),l},e.prototype._get_number=function(n,r){var o=this.raw_options[n];r=parseInt(r,10),isNaN(r)&&(r=0);var l=parseInt(o,10);return isNaN(l)&&(l=r),l},e.prototype._get_selection=function(n,r,o){var l=this._get_selection_list(n,r,o);if(l.length!==1)throw new Error("Invalid Option Value: The option '"+n+`' can only be one of the following values:
|
|
`+r+`
|
|
You passed in: '`+this.raw_options[n]+"'");return l[0]},e.prototype._get_selection_list=function(n,r,o){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(o=o||[r[0]],!this._is_valid_selection(o,r))throw new Error("Invalid Default Value!");var l=this._get_array(n,o);if(!this._is_valid_selection(l,r))throw new Error("Invalid Option Value: The option '"+n+`' can contain only the following values:
|
|
`+r+`
|
|
You passed in: '`+this.raw_options[n]+"'");return l},e.prototype._is_valid_selection=function(n,r){return n.length&&r.length&&!n.some(function(o){return r.indexOf(o)===-1})};function h(n,r){var o={};n=v(n);var l;for(l in n)l!==r&&(o[l]=n[l]);if(r&&n[r])for(l in n[r])o[l]=n[r][l];return o}function v(n){var r={},o;for(o in n){var l=o.replace(/-/g,"_");r[l]=n[o]}return r}W.exports.Options=e,W.exports.normalizeOpts=v,W.exports.mergeOpts=h},function(W,e,h){var v=h(8).InputScanner,n=h(9).Tokenizer,r=h(9).TOKEN,o=h(13).Directives,l=h(4),w=h(12).Pattern,k=h(14).TemplatablePattern;function E(O,B){return B.indexOf(O)!==-1}var g={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},I=new o(/\/\*/,/\*\//),C=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,c=/[0-9]/,s=/[^\d\.]/,b=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),T=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";T=T.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),T="\\?\\.(?!\\d) "+T,T=T.replace(/ /g,"|");var q=new RegExp(T),ee="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),G=ee.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),H=new RegExp("^(?:"+G.join("|")+")$"),$,p=function(O,B){n.call(this,O,B),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var P=new w(this._input),i=new k(this._input).read_options(this._options);this.__patterns={template:i,identifier:i.starting_with(l.identifier).matching(l.identifierMatch),number:P.matching(C),punct:P.matching(q),comment:P.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:P.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:P.matching(/<!--/),html_comment_end:P.matching(/-->/),include:P.starting_with(/#include/).until_after(l.lineBreak),shebang:P.starting_with(/#!/).until_after(l.lineBreak),xml:P.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:i.until(/['\\\n\r\u2028\u2029]/),double_quote:i.until(/["\\\n\r\u2028\u2029]/),template_text:i.until(/[`\\$]/),template_expression:i.until(/[`}\\]/)}};p.prototype=new n,p.prototype._is_comment=function(O){return O.type===g.COMMENT||O.type===g.BLOCK_COMMENT||O.type===g.UNKNOWN},p.prototype._is_opening=function(O){return O.type===g.START_BLOCK||O.type===g.START_EXPR},p.prototype._is_closing=function(O,B){return(O.type===g.END_BLOCK||O.type===g.END_EXPR)&&B&&(O.text==="]"&&B.text==="["||O.text===")"&&B.text==="("||O.text==="}"&&B.text==="{")},p.prototype._reset=function(){$=!1},p.prototype._get_next_token=function(O,B){var P=null;this._readWhitespace();var i=this._input.peek();return i===null?this._create_token(g.EOF,""):(P=P||this._read_non_javascript(i),P=P||this._read_string(i),P=P||this._read_pair(i,this._input.peek(1)),P=P||this._read_word(O),P=P||this._read_singles(i),P=P||this._read_comment(i),P=P||this._read_regexp(i,O),P=P||this._read_xml(i,O),P=P||this._read_punctuation(),P=P||this._create_token(g.UNKNOWN,this._input.next()),P)},p.prototype._read_word=function(O){var B;if(B=this.__patterns.identifier.read(),B!=="")return B=B.replace(l.allLineBreaks,`
|
|
`),!(O.type===g.DOT||O.type===g.RESERVED&&(O.text==="set"||O.text==="get"))&&H.test(B)?(B==="in"||B==="of")&&(O.type===g.WORD||O.type===g.STRING)?this._create_token(g.OPERATOR,B):this._create_token(g.RESERVED,B):this._create_token(g.WORD,B);if(B=this.__patterns.number.read(),B!=="")return this._create_token(g.WORD,B)},p.prototype._read_singles=function(O){var B=null;return O==="("||O==="["?B=this._create_token(g.START_EXPR,O):O===")"||O==="]"?B=this._create_token(g.END_EXPR,O):O==="{"?B=this._create_token(g.START_BLOCK,O):O==="}"?B=this._create_token(g.END_BLOCK,O):O===";"?B=this._create_token(g.SEMICOLON,O):O==="."&&s.test(this._input.peek(1))?B=this._create_token(g.DOT,O):O===","&&(B=this._create_token(g.COMMA,O)),B&&this._input.next(),B},p.prototype._read_pair=function(O,B){var P=null;return O==="#"&&B==="{"&&(P=this._create_token(g.START_BLOCK,O+B)),P&&(this._input.next(),this._input.next()),P},p.prototype._read_punctuation=function(){var O=this.__patterns.punct.read();if(O!=="")return O==="="?this._create_token(g.EQUALS,O):O==="?."?this._create_token(g.DOT,O):this._create_token(g.OPERATOR,O)},p.prototype._read_non_javascript=function(O){var B="";if(O==="#"){if(this._is_first_token()&&(B=this.__patterns.shebang.read(),B))return this._create_token(g.UNKNOWN,B.trim()+`
|
|
`);if(B=this.__patterns.include.read(),B)return this._create_token(g.UNKNOWN,B.trim()+`
|
|
`);O=this._input.next();var P="#";if(this._input.hasNext()&&this._input.testChar(c)){do O=this._input.next(),P+=O;while(this._input.hasNext()&&O!=="#"&&O!=="=");return O==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(P+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(P+="{}",this._input.next(),this._input.next())),this._create_token(g.WORD,P)}this._input.back()}else if(O==="<"&&this._is_first_token()){if(B=this.__patterns.html_comment_start.read(),B){for(;this._input.hasNext()&&!this._input.testChar(l.newline);)B+=this._input.next();return $=!0,this._create_token(g.COMMENT,B)}}else if($&&O==="-"&&(B=this.__patterns.html_comment_end.read(),B))return $=!1,this._create_token(g.COMMENT,B);return null},p.prototype._read_comment=function(O){var B=null;if(O==="/"){var P="";if(this._input.peek(1)==="*"){P=this.__patterns.block_comment.read();var i=I.get_directives(P);i&&i.ignore==="start"&&(P+=I.readIgnored(this._input)),P=P.replace(l.allLineBreaks,`
|
|
`),B=this._create_token(g.BLOCK_COMMENT,P),B.directives=i}else this._input.peek(1)==="/"&&(P=this.__patterns.comment.read(),B=this._create_token(g.COMMENT,P))}return B},p.prototype._read_string=function(O){if(O==="`"||O==="'"||O==='"'){var B=this._input.next();return this.has_char_escapes=!1,O==="`"?B+=this._read_string_recursive("`",!0,"${"):B+=this._read_string_recursive(O),this.has_char_escapes&&this._options.unescape_strings&&(B=Z(B)),this._input.peek()===O&&(B+=this._input.next()),B=B.replace(l.allLineBreaks,`
|
|
`),this._create_token(g.STRING,B)}return null},p.prototype._allow_regexp_or_xml=function(O){return O.type===g.RESERVED&&E(O.text,["return","case","throw","else","do","typeof","yield"])||O.type===g.END_EXPR&&O.text===")"&&O.opened.previous.type===g.RESERVED&&E(O.opened.previous.text,["if","while","for"])||E(O.type,[g.COMMENT,g.START_EXPR,g.START_BLOCK,g.START,g.END_BLOCK,g.OPERATOR,g.EQUALS,g.EOF,g.SEMICOLON,g.COMMA])},p.prototype._read_regexp=function(O,B){if(O==="/"&&this._allow_regexp_or_xml(B)){for(var P=this._input.next(),i=!1,a=!1;this._input.hasNext()&&(i||a||this._input.peek()!==O)&&!this._input.testChar(l.newline);)P+=this._input.peek(),i?i=!1:(i=this._input.peek()==="\\",this._input.peek()==="["?a=!0:this._input.peek()==="]"&&(a=!1)),this._input.next();return this._input.peek()===O&&(P+=this._input.next(),P+=this._input.read(l.identifier)),this._create_token(g.STRING,P)}return null},p.prototype._read_xml=function(O,B){if(this._options.e4x&&O==="<"&&this._allow_regexp_or_xml(B)){var P="",i=this.__patterns.xml.read_match();if(i){for(var a=i[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),_=a.indexOf("{")===0,j=0;i;){var ne=!!i[1],ae=i[2],oe=!!i[i.length-1]||ae.slice(0,8)==="![CDATA[";if(!oe&&(ae===a||_&&ae.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(ne?--j:++j),P+=i[0],j<=0)break;i=this.__patterns.xml.read_match()}return i||(P+=this._input.match(/[\s\S]*/g)[0]),P=P.replace(l.allLineBreaks,`
|
|
`),this._create_token(g.STRING,P)}}return null};function Z(O){for(var B="",P=0,i=new v(O),a=null;i.hasNext();)if(a=i.match(/([\s]|[^\\]|\\\\)+/g),a&&(B+=a[0]),i.peek()==="\\"){if(i.next(),i.peek()==="x")a=i.match(/x([0-9A-Fa-f]{2})/g);else if(i.peek()==="u")a=i.match(/u([0-9A-Fa-f]{4})/g),a||(a=i.match(/u\{([0-9A-Fa-f]+)\}/g));else{B+="\\",i.hasNext()&&(B+=i.next());continue}if(!a||(P=parseInt(a[1],16),P>126&&P<=255&&a[0].indexOf("x")===0))return O;P>=0&&P<32||P>1114111?B+="\\"+a[0]:P===34||P===39||P===92?B+="\\"+String.fromCharCode(P):B+=String.fromCharCode(P)}return B}p.prototype._read_string_recursive=function(O,B,P){var i,a;O==="'"?a=this.__patterns.single_quote:O==='"'?a=this.__patterns.double_quote:O==="`"?a=this.__patterns.template_text:O==="}"&&(a=this.__patterns.template_expression);for(var _=a.read(),j="";this._input.hasNext();){if(j=this._input.next(),j===O||!B&&l.newline.test(j)){this._input.back();break}else j==="\\"&&this._input.hasNext()?(i=this._input.peek(),i==="x"||i==="u"?this.has_char_escapes=!0:i==="\r"&&this._input.peek(1)===`
|
|
`&&this._input.next(),j+=this._input.next()):P&&(P==="${"&&j==="$"&&this._input.peek()==="{"&&(j+=this._input.next()),P===j&&(O==="`"?j+=this._read_string_recursive("}",B,"`"):j+=this._read_string_recursive("`",B,"${"),this._input.hasNext()&&(j+=this._input.next())));j+=a.read(),_+=j}return _},W.exports.Tokenizer=p,W.exports.TOKEN=g,W.exports.positionable_operators=b.slice(),W.exports.line_starters=ee.slice()},function(W){var e=RegExp.prototype.hasOwnProperty("sticky");function h(v){this.__input=v||"",this.__input_length=this.__input.length,this.__position=0}h.prototype.restart=function(){this.__position=0},h.prototype.back=function(){this.__position>0&&(this.__position-=1)},h.prototype.hasNext=function(){return this.__position<this.__input_length},h.prototype.next=function(){var v=null;return this.hasNext()&&(v=this.__input.charAt(this.__position),this.__position+=1),v},h.prototype.peek=function(v){var n=null;return v=v||0,v+=this.__position,v>=0&&v<this.__input_length&&(n=this.__input.charAt(v)),n},h.prototype.__match=function(v,n){v.lastIndex=n;var r=v.exec(this.__input);return r&&!(e&&v.sticky)&&r.index!==n&&(r=null),r},h.prototype.test=function(v,n){return n=n||0,n+=this.__position,n>=0&&n<this.__input_length?!!this.__match(v,n):!1},h.prototype.testChar=function(v,n){var r=this.peek(n);return v.lastIndex=0,r!==null&&v.test(r)},h.prototype.match=function(v){var n=this.__match(v,this.__position);return n?this.__position+=n[0].length:n=null,n},h.prototype.read=function(v,n,r){var o="",l;return v&&(l=this.match(v),l&&(o+=l[0])),n&&(l||!v)&&(o+=this.readUntil(n,r)),o},h.prototype.readUntil=function(v,n){var r="",o=this.__position;v.lastIndex=this.__position;var l=v.exec(this.__input);return l?(o=l.index,n&&(o+=l[0].length)):o=this.__input_length,r=this.__input.substring(this.__position,o),this.__position=o,r},h.prototype.readUntilAfter=function(v){return this.readUntil(v,!0)},h.prototype.get_regexp=function(v,n){var r=null,o="g";return n&&e&&(o="y"),typeof v=="string"&&v!==""?r=new RegExp(v,o):v&&(r=new RegExp(v.source,o)),r},h.prototype.get_literal_regexp=function(v){return RegExp(v.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},h.prototype.peekUntilAfter=function(v){var n=this.__position,r=this.readUntilAfter(v);return this.__position=n,r},h.prototype.lookBack=function(v){var n=this.__position-1;return n>=v.length&&this.__input.substring(n-v.length,n).toLowerCase()===v},W.exports.InputScanner=h},function(W,e,h){var v=h(8).InputScanner,n=h(3).Token,r=h(10).TokenStream,o=h(11).WhitespacePattern,l={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},w=function(k,E){this._input=new v(k),this._options=E||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new o(this._input)};w.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var k,E=new n(l.START,""),g=null,I=[],C=new r;E.type!==l.EOF;){for(k=this._get_next_token(E,g);this._is_comment(k);)C.add(k),k=this._get_next_token(E,g);C.isEmpty()||(k.comments_before=C,C=new r),k.parent=g,this._is_opening(k)?(I.push(g),g=k):g&&this._is_closing(k,g)&&(k.opened=g,g.closed=k,g=I.pop(),k.parent=g),k.previous=E,E.next=k,this.__tokens.add(k),E=k}return this.__tokens},w.prototype._is_first_token=function(){return this.__tokens.isEmpty()},w.prototype._reset=function(){},w.prototype._get_next_token=function(k,E){this._readWhitespace();var g=this._input.read(/.+/g);return g?this._create_token(l.RAW,g):this._create_token(l.EOF,"")},w.prototype._is_comment=function(k){return!1},w.prototype._is_opening=function(k){return!1},w.prototype._is_closing=function(k,E){return!1},w.prototype._create_token=function(k,E){var g=new n(k,E,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return g},w.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},W.exports.Tokenizer=w,W.exports.TOKEN=l},function(W){function e(h){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=h}e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return this.__tokens_length===0},e.prototype.hasNext=function(){return this.__position<this.__tokens_length},e.prototype.next=function(){var h=null;return this.hasNext()&&(h=this.__tokens[this.__position],this.__position+=1),h},e.prototype.peek=function(h){var v=null;return h=h||0,h+=this.__position,h>=0&&h<this.__tokens_length&&(v=this.__tokens[h]),v},e.prototype.add=function(h){this.__parent_token&&(h.parent=this.__parent_token),this.__tokens.push(h),this.__tokens_length+=1},W.exports.TokenStream=e},function(W,e,h){var v=h(12).Pattern;function n(r,o){v.call(this,r,o),o?this._line_regexp=this._input.get_regexp(o._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}n.prototype=new v,n.prototype.__set_whitespace_patterns=function(r,o){r+="\\t ",o+="\\n\\r",this._match_pattern=this._input.get_regexp("["+r+o+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+o+"]")},n.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var r=this._input.read(this._match_pattern);if(r===" ")this.whitespace_before_token=" ";else if(r){var o=this.__split(this._newline_regexp,r);this.newline_count=o.length-1,this.whitespace_before_token=o[this.newline_count]}return r},n.prototype.matching=function(r,o){var l=this._create();return l.__set_whitespace_patterns(r,o),l._update(),l},n.prototype._create=function(){return new n(this._input,this)},n.prototype.__split=function(r,o){r.lastIndex=0;for(var l=0,w=[],k=r.exec(o);k;)w.push(o.substring(l,k.index)),l=k.index+k[0].length,k=r.exec(o);return l<o.length?w.push(o.substring(l,o.length)):w.push(""),w},W.exports.WhitespacePattern=n},function(W){function e(h,v){this._input=h,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,v&&(this._starting_pattern=this._input.get_regexp(v._starting_pattern,!0),this._match_pattern=this._input.get_regexp(v._match_pattern,!0),this._until_pattern=this._input.get_regexp(v._until_pattern),this._until_after=v._until_after)}e.prototype.read=function(){var h=this._input.read(this._starting_pattern);return(!this._starting_pattern||h)&&(h+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),h},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(h){var v=this._create();return v._until_after=!0,v._until_pattern=this._input.get_regexp(h),v._update(),v},e.prototype.until=function(h){var v=this._create();return v._until_after=!1,v._until_pattern=this._input.get_regexp(h),v._update(),v},e.prototype.starting_with=function(h){var v=this._create();return v._starting_pattern=this._input.get_regexp(h,!0),v._update(),v},e.prototype.matching=function(h){var v=this._create();return v._match_pattern=this._input.get_regexp(h,!0),v._update(),v},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},W.exports.Pattern=e},function(W){function e(h,v){h=typeof h=="string"?h:h.source,v=typeof v=="string"?v:v.source,this.__directives_block_pattern=new RegExp(h+/ beautify( \w+[:]\w+)+ /.source+v,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(h+/\sbeautify\signore:end\s/.source+v,"g")}e.prototype.get_directives=function(h){if(!h.match(this.__directives_block_pattern))return null;var v={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(h);n;)v[n[1]]=n[2],n=this.__directive_pattern.exec(h);return v},e.prototype.readIgnored=function(h){return h.readUntilAfter(this.__directives_end_ignore_pattern)},W.exports.Directives=e},function(W,e,h){var v=h(12).Pattern,n={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(o,l){v.call(this,o,l),this.__template_pattern=null,this._disabled=Object.assign({},n),this._excluded=Object.assign({},n),l&&(this.__template_pattern=this._input.get_regexp(l.__template_pattern),this._excluded=Object.assign(this._excluded,l._excluded),this._disabled=Object.assign(this._disabled,l._disabled));var w=new v(o);this.__patterns={handlebars_comment:w.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:w.starting_with(/{{{/).until_after(/}}}/),handlebars:w.starting_with(/{{/).until_after(/}}/),php:w.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:w.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:w.starting_with(/{%/).until_after(/%}/),django_value:w.starting_with(/{{/).until_after(/}}/),django_comment:w.starting_with(/{#/).until_after(/#}/),smarty:w.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:w.starting_with(/{\*/).until_after(/\*}/),smarty_literal:w.starting_with(/{literal}/).until_after(/{\/literal}/)}}r.prototype=new v,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(o){var l=this._create();return l._disabled[o]=!0,l._update(),l},r.prototype.read_options=function(o){var l=this._create();for(var w in n)l._disabled[w]=o.templating.indexOf(w)===-1;return l._update(),l},r.prototype.exclude=function(o){var l=this._create();return l._excluded[o]=!0,l._update(),l},r.prototype.read=function(){var o="";this._match_pattern?o=this._input.read(this._starting_pattern):o=this._input.read(this._starting_pattern,this.__template_pattern);for(var l=this._read_template();l;)this._match_pattern?l+=this._input.read(this._match_pattern):l+=this._input.readUntil(this.__template_pattern),o+=l,l=this._read_template();return this._until_after&&(o+=this._input.readUntilAfter(this._until_pattern)),o},r.prototype.__set_templated_pattern=function(){var o=[];this._disabled.php||o.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||o.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||o.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||o.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(o.push(this.__patterns.django._starting_pattern.source),o.push(this.__patterns.django_value._starting_pattern.source),o.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||o.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&o.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+o.join("|")+")")},r.prototype._read_template=function(){var o="",l=this._input.peek();if(l==="<"){var w=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&w==="?"&&(o=o||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&w==="%"&&(o=o||this.__patterns.erb.read())}else l==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(o=o||this.__patterns.handlebars_comment.read(),o=o||this.__patterns.handlebars_unescaped.read(),o=o||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(o=o||this.__patterns.django_value.read()),this._excluded.django||(o=o||this.__patterns.django_comment.read(),o=o||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(o=o||this.__patterns.smarty_comment.read(),o=o||this.__patterns.smarty_literal.read(),o=o||this.__patterns.smarty.read()));return o},W.exports.TemplatablePattern=r}],L={};function F(W){var e=L[W];if(e!==void 0)return e.exports;var h=L[W]={exports:{}};return V[W](h,h.exports,F),h.exports}var u=F(0);m=u})();var D=m;t=[],x=function(){return{js_beautify:D}}.apply(de,t),x!==void 0&&(Ue.exports=x)})()},75918:function(Ue,de,t){"use strict";t.d(de,{Wi:function(){return F},Z0:function(){return u},aU:function(){return L},eZ:function(){return e},wY:function(){return W}});var x=t(4348),m=t(69323),D=t(13268),V=function(h,v,n,r){function o(l){return l instanceof n?l:new n(function(w){w(l)})}return new(n||(n=Promise))(function(l,w){function k(I){try{g(r.next(I))}catch(C){w(C)}}function E(I){try{g(r.throw(I))}catch(C){w(C)}}function g(I){I.done?l(I.value):o(I.value).then(k,E)}g((r=r.apply(h,v||[])).next())})};class L extends m.JT{constructor(v,n="",r="",o=!0,l){super(),this._onDidChange=this._register(new x.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=v,this._label=n,this._cssClass=r,this._enabled=o,this._actionCallback=l}get id(){return this._id}get label(){return this._label}set label(v){this._setLabel(v)}_setLabel(v){this._label!==v&&(this._label=v,this._onDidChange.fire({label:v}))}get tooltip(){return this._tooltip||""}set tooltip(v){this._setTooltip(v)}_setTooltip(v){this._tooltip!==v&&(this._tooltip=v,this._onDidChange.fire({tooltip:v}))}get class(){return this._cssClass}set class(v){this._setClass(v)}_setClass(v){this._cssClass!==v&&(this._cssClass=v,this._onDidChange.fire({class:v}))}get enabled(){return this._enabled}set enabled(v){this._setEnabled(v)}_setEnabled(v){this._enabled!==v&&(this._enabled=v,this._onDidChange.fire({enabled:v}))}get checked(){return this._checked}set checked(v){this._setChecked(v)}_setChecked(v){this._checked!==v&&(this._checked=v,this._onDidChange.fire({checked:v}))}run(v,n){return V(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(v))})}}class F extends m.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new x.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new x.Q5),this.onDidRun=this._onDidRun.event}run(v,n){return V(this,void 0,void 0,function*(){if(!v.enabled)return;this._onBeforeRun.fire({action:v});let r;try{yield this.runAction(v,n)}catch(o){r=o}this._onDidRun.fire({action:v,error:r})})}runAction(v,n){return V(this,void 0,void 0,function*(){yield v.run(n)})}}class u extends L{constructor(v){super(u.ID,v,v?"separator text":"separator"),this.checked=!1,this.enabled=!1}}u.ID="vs.actions.separator";class W{constructor(v,n,r,o){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=v,this.label=n,this.class=o,this._actions=r}get actions(){return this._actions}dispose(){}run(){return V(this,void 0,void 0,function*(){})}}class e extends L{constructor(){super(e.ID,D.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(Ue,de,t){"use strict";t.d(de,{ok:function(){return x}});function x(m,D){if(!m)throw new Error(D?`Assertion failed (${D})`:"Assertion Failed")}},52615:function(Ue,de,t){"use strict";t.d(de,{CM:function(){return L},JL:function(){return F},dT:function(){return W},fK:function(){return V},lA:function(){return u}});var x=t(4348);class m{constructor(){this._icons=new Map,this._onDidRegister=new x.Q5}add(h){const v=this._icons.get(h.id);v?h.description?v.description=h.description:console.error(`Duplicate registration of codicon ${h.id}`):(this._icons.set(h.id,h),this._onDidRegister.fire(h))}get(h){return this._icons.get(h)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const D=new m,V=D;function L(e,h){return new u(e,h)}function F(e){return e?e.replace(/\$\((.*?)\)/g,(h,v)=>` ${v} `).trim():""}class u{constructor(h,v,n){this.id=h,this.definition=v,this.description=n,D.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var W;(function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9\\-]+",e.iconModifierExpression="~[A-Za-z]+";const h=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function v(o){if(o instanceof u)return["codicon","codicon-"+o.id];const l=h.exec(o.id);if(!l)return v(u.error);let[,w,k]=l;const E=["codicon","codicon-"+w];return k&&E.push("codicon-modifier-"+k.substr(1)),E}e.asClassNameArray=v;function n(o){return v(o).join(" ")}e.asClassName=n;function r(o){return"."+v(o).join(".")}e.asCSSSelector=r})(W||(W={})),function(e){e.add=new e("add",{fontCharacter:"\\ea60"}),e.plus=new e("plus",e.add.definition),e.gistNew=new e("gist-new",e.add.definition),e.repoCreate=new e("repo-create",e.add.definition),e.lightbulb=new e("lightbulb",{fontCharacter:"\\ea61"}),e.lightBulb=new e("light-bulb",{fontCharacter:"\\ea61"}),e.repo=new e("repo",{fontCharacter:"\\ea62"}),e.repoDelete=new e("repo-delete",{fontCharacter:"\\ea62"}),e.gistFork=new e("gist-fork",{fontCharacter:"\\ea63"}),e.repoForked=new e("repo-forked",{fontCharacter:"\\ea63"}),e.gitPullRequest=new e("git-pull-request",{fontCharacter:"\\ea64"}),e.gitPullRequestAbandoned=new e("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),e.recordKeys=new e("record-keys",{fontCharacter:"\\ea65"}),e.keyboard=new e("keyboard",{fontCharacter:"\\ea65"}),e.tag=new e("tag",{fontCharacter:"\\ea66"}),e.tagAdd=new e("tag-add",{fontCharacter:"\\ea66"}),e.tagRemove=new e("tag-remove",{fontCharacter:"\\ea66"}),e.person=new e("person",{fontCharacter:"\\ea67"}),e.personFollow=new e("person-follow",{fontCharacter:"\\ea67"}),e.personOutline=new e("person-outline",{fontCharacter:"\\ea67"}),e.personFilled=new e("person-filled",{fontCharacter:"\\ea67"}),e.gitBranch=new e("git-branch",{fontCharacter:"\\ea68"}),e.gitBranchCreate=new e("git-branch-create",{fontCharacter:"\\ea68"}),e.gitBranchDelete=new e("git-branch-delete",{fontCharacter:"\\ea68"}),e.sourceControl=new e("source-control",{fontCharacter:"\\ea68"}),e.mirror=new e("mirror",{fontCharacter:"\\ea69"}),e.mirrorPublic=new e("mirror-public",{fontCharacter:"\\ea69"}),e.star=new e("star",{fontCharacter:"\\ea6a"}),e.starAdd=new e("star-add",{fontCharacter:"\\ea6a"}),e.starDelete=new e("star-delete",{fontCharacter:"\\ea6a"}),e.starEmpty=new e("star-empty",{fontCharacter:"\\ea6a"}),e.comment=new e("comment",{fontCharacter:"\\ea6b"}),e.commentAdd=new e("comment-add",{fontCharacter:"\\ea6b"}),e.alert=new e("alert",{fontCharacter:"\\ea6c"}),e.warning=new e("warning",{fontCharacter:"\\ea6c"}),e.search=new e("search",{fontCharacter:"\\ea6d"}),e.searchSave=new e("search-save",{fontCharacter:"\\ea6d"}),e.logOut=new e("log-out",{fontCharacter:"\\ea6e"}),e.signOut=new e("sign-out",{fontCharacter:"\\ea6e"}),e.logIn=new e("log-in",{fontCharacter:"\\ea6f"}),e.signIn=new e("sign-in",{fontCharacter:"\\ea6f"}),e.eye=new e("eye",{fontCharacter:"\\ea70"}),e.eyeUnwatch=new e("eye-unwatch",{fontCharacter:"\\ea70"}),e.eyeWatch=new e("eye-watch",{fontCharacter:"\\ea70"}),e.circleFilled=new e("circle-filled",{fontCharacter:"\\ea71"}),e.primitiveDot=new e("primitive-dot",{fontCharacter:"\\ea71"}),e.closeDirty=new e("close-dirty",{fontCharacter:"\\ea71"}),e.debugBreakpoint=new e("debug-breakpoint",{fontCharacter:"\\ea71"}),e.debugBreakpointDisabled=new e("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),e.debugHint=new e("debug-hint",{fontCharacter:"\\ea71"}),e.primitiveSquare=new e("primitive-square",{fontCharacter:"\\ea72"}),e.edit=new e("edit",{fontCharacter:"\\ea73"}),e.pencil=new e("pencil",{fontCharacter:"\\ea73"}),e.info=new e("info",{fontCharacter:"\\ea74"}),e.issueOpened=new e("issue-opened",{fontCharacter:"\\ea74"}),e.gistPrivate=new e("gist-private",{fontCharacter:"\\ea75"}),e.gitForkPrivate=new e("git-fork-private",{fontCharacter:"\\ea75"}),e.lock=new e("lock",{fontCharacter:"\\ea75"}),e.mirrorPrivate=new e("mirror-private",{fontCharacter:"\\ea75"}),e.close=new e("close",{fontCharacter:"\\ea76"}),e.removeClose=new e("remove-close",{fontCharacter:"\\ea76"}),e.x=new e("x",{fontCharacter:"\\ea76"}),e.repoSync=new e("repo-sync",{fontCharacter:"\\ea77"}),e.sync=new e("sync",{fontCharacter:"\\ea77"}),e.clone=new e("clone",{fontCharacter:"\\ea78"}),e.desktopDownload=new e("desktop-download",{fontCharacter:"\\ea78"}),e.beaker=new e("beaker",{fontCharacter:"\\ea79"}),e.microscope=new e("microscope",{fontCharacter:"\\ea79"}),e.vm=new e("vm",{fontCharacter:"\\ea7a"}),e.deviceDesktop=new e("device-desktop",{fontCharacter:"\\ea7a"}),e.file=new e("file",{fontCharacter:"\\ea7b"}),e.fileText=new e("file-text",{fontCharacter:"\\ea7b"}),e.more=new e("more",{fontCharacter:"\\ea7c"}),e.ellipsis=new e("ellipsis",{fontCharacter:"\\ea7c"}),e.kebabHorizontal=new e("kebab-horizontal",{fontCharacter:"\\ea7c"}),e.mailReply=new e("mail-reply",{fontCharacter:"\\ea7d"}),e.reply=new e("reply",{fontCharacter:"\\ea7d"}),e.organization=new e("organization",{fontCharacter:"\\ea7e"}),e.organizationFilled=new e("organization-filled",{fontCharacter:"\\ea7e"}),e.organizationOutline=new e("organization-outline",{fontCharacter:"\\ea7e"}),e.newFile=new e("new-file",{fontCharacter:"\\ea7f"}),e.fileAdd=new e("file-add",{fontCharacter:"\\ea7f"}),e.newFolder=new e("new-folder",{fontCharacter:"\\ea80"}),e.fileDirectoryCreate=new e("file-directory-create",{fontCharacter:"\\ea80"}),e.trash=new e("trash",{fontCharacter:"\\ea81"}),e.trashcan=new e("trashcan",{fontCharacter:"\\ea81"}),e.history=new e("history",{fontCharacter:"\\ea82"}),e.clock=new e("clock",{fontCharacter:"\\ea82"}),e.folder=new e("folder",{fontCharacter:"\\ea83"}),e.fileDirectory=new e("file-directory",{fontCharacter:"\\ea83"}),e.symbolFolder=new e("symbol-folder",{fontCharacter:"\\ea83"}),e.logoGithub=new e("logo-github",{fontCharacter:"\\ea84"}),e.markGithub=new e("mark-github",{fontCharacter:"\\ea84"}),e.github=new e("github",{fontCharacter:"\\ea84"}),e.terminal=new e("terminal",{fontCharacter:"\\ea85"}),e.console=new e("console",{fontCharacter:"\\ea85"}),e.repl=new e("repl",{fontCharacter:"\\ea85"}),e.zap=new e("zap",{fontCharacter:"\\ea86"}),e.symbolEvent=new e("symbol-event",{fontCharacter:"\\ea86"}),e.error=new e("error",{fontCharacter:"\\ea87"}),e.stop=new e("stop",{fontCharacter:"\\ea87"}),e.variable=new e("variable",{fontCharacter:"\\ea88"}),e.symbolVariable=new e("symbol-variable",{fontCharacter:"\\ea88"}),e.array=new e("array",{fontCharacter:"\\ea8a"}),e.symbolArray=new e("symbol-array",{fontCharacter:"\\ea8a"}),e.symbolModule=new e("symbol-module",{fontCharacter:"\\ea8b"}),e.symbolPackage=new e("symbol-package",{fontCharacter:"\\ea8b"}),e.symbolNamespace=new e("symbol-namespace",{fontCharacter:"\\ea8b"}),e.symbolObject=new e("symbol-object",{fontCharacter:"\\ea8b"}),e.symbolMethod=new e("symbol-method",{fontCharacter:"\\ea8c"}),e.symbolFunction=new e("symbol-function",{fontCharacter:"\\ea8c"}),e.symbolConstructor=new e("symbol-constructor",{fontCharacter:"\\ea8c"}),e.symbolBoolean=new e("symbol-boolean",{fontCharacter:"\\ea8f"}),e.symbolNull=new e("symbol-null",{fontCharacter:"\\ea8f"}),e.symbolNumeric=new e("symbol-numeric",{fontCharacter:"\\ea90"}),e.symbolNumber=new e("symbol-number",{fontCharacter:"\\ea90"}),e.symbolStructure=new e("symbol-structure",{fontCharacter:"\\ea91"}),e.symbolStruct=new e("symbol-struct",{fontCharacter:"\\ea91"}),e.symbolParameter=new e("symbol-parameter",{fontCharacter:"\\ea92"}),e.symbolTypeParameter=new e("symbol-type-parameter",{fontCharacter:"\\ea92"}),e.symbolKey=new e("symbol-key",{fontCharacter:"\\ea93"}),e.symbolText=new e("symbol-text",{fontCharacter:"\\ea93"}),e.symbolReference=new e("symbol-reference",{fontCharacter:"\\ea94"}),e.goToFile=new e("go-to-file",{fontCharacter:"\\ea94"}),e.symbolEnum=new e("symbol-enum",{fontCharacter:"\\ea95"}),e.symbolValue=new e("symbol-value",{fontCharacter:"\\ea95"}),e.symbolRuler=new e("symbol-ruler",{fontCharacter:"\\ea96"}),e.symbolUnit=new e("symbol-unit",{fontCharacter:"\\ea96"}),e.activateBreakpoints=new e("activate-breakpoints",{fontCharacter:"\\ea97"}),e.archive=new e("archive",{fontCharacter:"\\ea98"}),e.arrowBoth=new e("arrow-both",{fontCharacter:"\\ea99"}),e.arrowDown=new e("arrow-down",{fontCharacter:"\\ea9a"}),e.arrowLeft=new e("arrow-left",{fontCharacter:"\\ea9b"}),e.arrowRight=new e("arrow-right",{fontCharacter:"\\ea9c"}),e.arrowSmallDown=new e("arrow-small-down",{fontCharacter:"\\ea9d"}),e.arrowSmallLeft=new e("arrow-small-left",{fontCharacter:"\\ea9e"}),e.arrowSmallRight=new e("arrow-small-right",{fontCharacter:"\\ea9f"}),e.arrowSmallUp=new e("arrow-small-up",{fontCharacter:"\\eaa0"}),e.arrowUp=new e("arrow-up",{fontCharacter:"\\eaa1"}),e.bell=new e("bell",{fontCharacter:"\\eaa2"}),e.bold=new e("bold",{fontCharacter:"\\eaa3"}),e.book=new e("book",{fontCharacter:"\\eaa4"}),e.bookmark=new e("bookmark",{fontCharacter:"\\eaa5"}),e.debugBreakpointConditionalUnverified=new e("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),e.debugBreakpointConditional=new e("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),e.debugBreakpointConditionalDisabled=new e("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),e.debugBreakpointDataUnverified=new e("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),e.debugBreakpointData=new e("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),e.debugBreakpointDataDisabled=new e("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),e.debugBreakpointLogUnverified=new e("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),e.debugBreakpointLog=new e("debug-breakpoint-log",{fontCharacter:"\\eaab"}),e.debugBreakpointLogDisabled=new e("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),e.briefcase=new e("briefcase",{fontCharacter:"\\eaac"}),e.broadcast=new e("broadcast",{fontCharacter:"\\eaad"}),e.browser=new e("browser",{fontCharacter:"\\eaae"}),e.bug=new e("bug",{fontCharacter:"\\eaaf"}),e.calendar=new e("calendar",{fontCharacter:"\\eab0"}),e.caseSensitive=new e("case-sensitive",{fontCharacter:"\\eab1"}),e.check=new e("check",{fontCharacter:"\\eab2"}),e.checklist=new e("checklist",{fontCharacter:"\\eab3"}),e.chevronDown=new e("chevron-down",{fontCharacter:"\\eab4"}),e.dropDownButton=new e("drop-down-button",e.chevronDown.definition),e.chevronLeft=new e("chevron-left",{fontCharacter:"\\eab5"}),e.chevronRight=new e("chevron-right",{fontCharacter:"\\eab6"}),e.chevronUp=new e("chevron-up",{fontCharacter:"\\eab7"}),e.chromeClose=new e("chrome-close",{fontCharacter:"\\eab8"}),e.chromeMaximize=new e("chrome-maximize",{fontCharacter:"\\eab9"}),e.chromeMinimize=new e("chrome-minimize",{fontCharacter:"\\eaba"}),e.chromeRestore=new e("chrome-restore",{fontCharacter:"\\eabb"}),e.circleOutline=new e("circle-outline",{fontCharacter:"\\eabc"}),e.debugBreakpointUnverified=new e("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),e.circleSlash=new e("circle-slash",{fontCharacter:"\\eabd"}),e.circuitBoard=new e("circuit-board",{fontCharacter:"\\eabe"}),e.clearAll=new e("clear-all",{fontCharacter:"\\eabf"}),e.clippy=new e("clippy",{fontCharacter:"\\eac0"}),e.closeAll=new e("close-all",{fontCharacter:"\\eac1"}),e.cloudDownload=new e("cloud-download",{fontCharacter:"\\eac2"}),e.cloudUpload=new e("cloud-upload",{fontCharacter:"\\eac3"}),e.code=new e("code",{fontCharacter:"\\eac4"}),e.collapseAll=new e("collapse-all",{fontCharacter:"\\eac5"}),e.colorMode=new e("color-mode",{fontCharacter:"\\eac6"}),e.commentDiscussion=new e("comment-discussion",{fontCharacter:"\\eac7"}),e.compareChanges=new e("compare-changes",{fontCharacter:"\\eafd"}),e.creditCard=new e("credit-card",{fontCharacter:"\\eac9"}),e.dash=new e("dash",{fontCharacter:"\\eacc"}),e.dashboard=new e("dashboard",{fontCharacter:"\\eacd"}),e.database=new e("database",{fontCharacter:"\\eace"}),e.debugContinue=new e("debug-continue",{fontCharacter:"\\eacf"}),e.debugDisconnect=new e("debug-disconnect",{fontCharacter:"\\ead0"}),e.debugPause=new e("debug-pause",{fontCharacter:"\\ead1"}),e.debugRestart=new e("debug-restart",{fontCharacter:"\\ead2"}),e.debugStart=new e("debug-start",{fontCharacter:"\\ead3"}),e.debugStepInto=new e("debug-step-into",{fontCharacter:"\\ead4"}),e.debugStepOut=new e("debug-step-out",{fontCharacter:"\\ead5"}),e.debugStepOver=new e("debug-step-over",{fontCharacter:"\\ead6"}),e.debugStop=new e("debug-stop",{fontCharacter:"\\ead7"}),e.debug=new e("debug",{fontCharacter:"\\ead8"}),e.deviceCameraVideo=new e("device-camera-video",{fontCharacter:"\\ead9"}),e.deviceCamera=new e("device-camera",{fontCharacter:"\\eada"}),e.deviceMobile=new e("device-mobile",{fontCharacter:"\\eadb"}),e.diffAdded=new e("diff-added",{fontCharacter:"\\eadc"}),e.diffIgnored=new e("diff-ignored",{fontCharacter:"\\eadd"}),e.diffModified=new e("diff-modified",{fontCharacter:"\\eade"}),e.diffRemoved=new e("diff-removed",{fontCharacter:"\\eadf"}),e.diffRenamed=new e("diff-renamed",{fontCharacter:"\\eae0"}),e.diff=new e("diff",{fontCharacter:"\\eae1"}),e.discard=new e("discard",{fontCharacter:"\\eae2"}),e.editorLayout=new e("editor-layout",{fontCharacter:"\\eae3"}),e.emptyWindow=new e("empty-window",{fontCharacter:"\\eae4"}),e.exclude=new e("exclude",{fontCharacter:"\\eae5"}),e.extensions=new e("extensions",{fontCharacter:"\\eae6"}),e.eyeClosed=new e("eye-closed",{fontCharacter:"\\eae7"}),e.fileBinary=new e("file-binary",{fontCharacter:"\\eae8"}),e.fileCode=new e("file-code",{fontCharacter:"\\eae9"}),e.fileMedia=new e("file-media",{fontCharacter:"\\eaea"}),e.filePdf=new e("file-pdf",{fontCharacter:"\\eaeb"}),e.fileSubmodule=new e("file-submodule",{fontCharacter:"\\eaec"}),e.fileSymlinkDirectory=new e("file-symlink-directory",{fontCharacter:"\\eaed"}),e.fileSymlinkFile=new e("file-symlink-file",{fontCharacter:"\\eaee"}),e.fileZip=new e("file-zip",{fontCharacter:"\\eaef"}),e.files=new e("files",{fontCharacter:"\\eaf0"}),e.filter=new e("filter",{fontCharacter:"\\eaf1"}),e.flame=new e("flame",{fontCharacter:"\\eaf2"}),e.foldDown=new e("fold-down",{fontCharacter:"\\eaf3"}),e.foldUp=new e("fold-up",{fontCharacter:"\\eaf4"}),e.fold=new e("fold",{fontCharacter:"\\eaf5"}),e.folderActive=new e("folder-active",{fontCharacter:"\\eaf6"}),e.folderOpened=new e("folder-opened",{fontCharacter:"\\eaf7"}),e.gear=new e("gear",{fontCharacter:"\\eaf8"}),e.gift=new e("gift",{fontCharacter:"\\eaf9"}),e.gistSecret=new e("gist-secret",{fontCharacter:"\\eafa"}),e.gist=new e("gist",{fontCharacter:"\\eafb"}),e.gitCommit=new e("git-commit",{fontCharacter:"\\eafc"}),e.gitCompare=new e("git-compare",{fontCharacter:"\\eafd"}),e.gitMerge=new e("git-merge",{fontCharacter:"\\eafe"}),e.githubAction=new e("github-action",{fontCharacter:"\\eaff"}),e.githubAlt=new e("github-alt",{fontCharacter:"\\eb00"}),e.globe=new e("globe",{fontCharacter:"\\eb01"}),e.grabber=new e("grabber",{fontCharacter:"\\eb02"}),e.graph=new e("graph",{fontCharacter:"\\eb03"}),e.gripper=new e("gripper",{fontCharacter:"\\eb04"}),e.heart=new e("heart",{fontCharacter:"\\eb05"}),e.home=new e("home",{fontCharacter:"\\eb06"}),e.horizontalRule=new e("horizontal-rule",{fontCharacter:"\\eb07"}),e.hubot=new e("hubot",{fontCharacter:"\\eb08"}),e.inbox=new e("inbox",{fontCharacter:"\\eb09"}),e.issueClosed=new e("issue-closed",{fontCharacter:"\\eba4"}),e.issueReopened=new e("issue-reopened",{fontCharacter:"\\eb0b"}),e.issues=new e("issues",{fontCharacter:"\\eb0c"}),e.italic=new e("italic",{fontCharacter:"\\eb0d"}),e.jersey=new e("jersey",{fontCharacter:"\\eb0e"}),e.json=new e("json",{fontCharacter:"\\eb0f"}),e.kebabVertical=new e("kebab-vertical",{fontCharacter:"\\eb10"}),e.key=new e("key",{fontCharacter:"\\eb11"}),e.law=new e("law",{fontCharacter:"\\eb12"}),e.lightbulbAutofix=new e("lightbulb-autofix",{fontCharacter:"\\eb13"}),e.linkExternal=new e("link-external",{fontCharacter:"\\eb14"}),e.link=new e("link",{fontCharacter:"\\eb15"}),e.listOrdered=new e("list-ordered",{fontCharacter:"\\eb16"}),e.listUnordered=new e("list-unordered",{fontCharacter:"\\eb17"}),e.liveShare=new e("live-share",{fontCharacter:"\\eb18"}),e.loading=new e("loading",{fontCharacter:"\\eb19"}),e.location=new e("location",{fontCharacter:"\\eb1a"}),e.mailRead=new e("mail-read",{fontCharacter:"\\eb1b"}),e.mail=new e("mail",{fontCharacter:"\\eb1c"}),e.markdown=new e("markdown",{fontCharacter:"\\eb1d"}),e.megaphone=new e("megaphone",{fontCharacter:"\\eb1e"}),e.mention=new e("mention",{fontCharacter:"\\eb1f"}),e.milestone=new e("milestone",{fontCharacter:"\\eb20"}),e.mortarBoard=new e("mortar-board",{fontCharacter:"\\eb21"}),e.move=new e("move",{fontCharacter:"\\eb22"}),e.multipleWindows=new e("multiple-windows",{fontCharacter:"\\eb23"}),e.mute=new e("mute",{fontCharacter:"\\eb24"}),e.noNewline=new e("no-newline",{fontCharacter:"\\eb25"}),e.note=new e("note",{fontCharacter:"\\eb26"}),e.octoface=new e("octoface",{fontCharacter:"\\eb27"}),e.openPreview=new e("open-preview",{fontCharacter:"\\eb28"}),e.package_=new e("package",{fontCharacter:"\\eb29"}),e.paintcan=new e("paintcan",{fontCharacter:"\\eb2a"}),e.pin=new e("pin",{fontCharacter:"\\eb2b"}),e.play=new e("play",{fontCharacter:"\\eb2c"}),e.run=new e("run",{fontCharacter:"\\eb2c"}),e.plug=new e("plug",{fontCharacter:"\\eb2d"}),e.preserveCase=new e("preserve-case",{fontCharacter:"\\eb2e"}),e.preview=new e("preview",{fontCharacter:"\\eb2f"}),e.project=new e("project",{fontCharacter:"\\eb30"}),e.pulse=new e("pulse",{fontCharacter:"\\eb31"}),e.question=new e("question",{fontCharacter:"\\eb32"}),e.quote=new e("quote",{fontCharacter:"\\eb33"}),e.radioTower=new e("radio-tower",{fontCharacter:"\\eb34"}),e.reactions=new e("reactions",{fontCharacter:"\\eb35"}),e.references=new e("references",{fontCharacter:"\\eb36"}),e.refresh=new e("refresh",{fontCharacter:"\\eb37"}),e.regex=new e("regex",{fontCharacter:"\\eb38"}),e.remoteExplorer=new e("remote-explorer",{fontCharacter:"\\eb39"}),e.remote=new e("remote",{fontCharacter:"\\eb3a"}),e.remove=new e("remove",{fontCharacter:"\\eb3b"}),e.replaceAll=new e("replace-all",{fontCharacter:"\\eb3c"}),e.replace=new e("replace",{fontCharacter:"\\eb3d"}),e.repoClone=new e("repo-clone",{fontCharacter:"\\eb3e"}),e.repoForcePush=new e("repo-force-push",{fontCharacter:"\\eb3f"}),e.repoPull=new e("repo-pull",{fontCharacter:"\\eb40"}),e.repoPush=new e("repo-push",{fontCharacter:"\\eb41"}),e.report=new e("report",{fontCharacter:"\\eb42"}),e.requestChanges=new e("request-changes",{fontCharacter:"\\eb43"}),e.rocket=new e("rocket",{fontCharacter:"\\eb44"}),e.rootFolderOpened=new e("root-folder-opened",{fontCharacter:"\\eb45"}),e.rootFolder=new e("root-folder",{fontCharacter:"\\eb46"}),e.rss=new e("rss",{fontCharacter:"\\eb47"}),e.ruby=new e("ruby",{fontCharacter:"\\eb48"}),e.saveAll=new e("save-all",{fontCharacter:"\\eb49"}),e.saveAs=new e("save-as",{fontCharacter:"\\eb4a"}),e.save=new e("save",{fontCharacter:"\\eb4b"}),e.screenFull=new e("screen-full",{fontCharacter:"\\eb4c"}),e.screenNormal=new e("screen-normal",{fontCharacter:"\\eb4d"}),e.searchStop=new e("search-stop",{fontCharacter:"\\eb4e"}),e.server=new e("server",{fontCharacter:"\\eb50"}),e.settingsGear=new e("settings-gear",{fontCharacter:"\\eb51"}),e.settings=new e("settings",{fontCharacter:"\\eb52"}),e.shield=new e("shield",{fontCharacter:"\\eb53"}),e.smiley=new e("smiley",{fontCharacter:"\\eb54"}),e.sortPrecedence=new e("sort-precedence",{fontCharacter:"\\eb55"}),e.splitHorizontal=new e("split-horizontal",{fontCharacter:"\\eb56"}),e.splitVertical=new e("split-vertical",{fontCharacter:"\\eb57"}),e.squirrel=new e("squirrel",{fontCharacter:"\\eb58"}),e.starFull=new e("star-full",{fontCharacter:"\\eb59"}),e.starHalf=new e("star-half",{fontCharacter:"\\eb5a"}),e.symbolClass=new e("symbol-class",{fontCharacter:"\\eb5b"}),e.symbolColor=new e("symbol-color",{fontCharacter:"\\eb5c"}),e.symbolConstant=new e("symbol-constant",{fontCharacter:"\\eb5d"}),e.symbolEnumMember=new e("symbol-enum-member",{fontCharacter:"\\eb5e"}),e.symbolField=new e("symbol-field",{fontCharacter:"\\eb5f"}),e.symbolFile=new e("symbol-file",{fontCharacter:"\\eb60"}),e.symbolInterface=new e("symbol-interface",{fontCharacter:"\\eb61"}),e.symbolKeyword=new e("symbol-keyword",{fontCharacter:"\\eb62"}),e.symbolMisc=new e("symbol-misc",{fontCharacter:"\\eb63"}),e.symbolOperator=new e("symbol-operator",{fontCharacter:"\\eb64"}),e.symbolProperty=new e("symbol-property",{fontCharacter:"\\eb65"}),e.wrench=new e("wrench",{fontCharacter:"\\eb65"}),e.wrenchSubaction=new e("wrench-subaction",{fontCharacter:"\\eb65"}),e.symbolSnippet=new e("symbol-snippet",{fontCharacter:"\\eb66"}),e.tasklist=new e("tasklist",{fontCharacter:"\\eb67"}),e.telescope=new e("telescope",{fontCharacter:"\\eb68"}),e.textSize=new e("text-size",{fontCharacter:"\\eb69"}),e.threeBars=new e("three-bars",{fontCharacter:"\\eb6a"}),e.thumbsdown=new e("thumbsdown",{fontCharacter:"\\eb6b"}),e.thumbsup=new e("thumbsup",{fontCharacter:"\\eb6c"}),e.tools=new e("tools",{fontCharacter:"\\eb6d"}),e.triangleDown=new e("triangle-down",{fontCharacter:"\\eb6e"}),e.triangleLeft=new e("triangle-left",{fontCharacter:"\\eb6f"}),e.triangleRight=new e("triangle-right",{fontCharacter:"\\eb70"}),e.triangleUp=new e("triangle-up",{fontCharacter:"\\eb71"}),e.twitter=new e("twitter",{fontCharacter:"\\eb72"}),e.unfold=new e("unfold",{fontCharacter:"\\eb73"}),e.unlock=new e("unlock",{fontCharacter:"\\eb74"}),e.unmute=new e("unmute",{fontCharacter:"\\eb75"}),e.unverified=new e("unverified",{fontCharacter:"\\eb76"}),e.verified=new e("verified",{fontCharacter:"\\eb77"}),e.versions=new e("versions",{fontCharacter:"\\eb78"}),e.vmActive=new e("vm-active",{fontCharacter:"\\eb79"}),e.vmOutline=new e("vm-outline",{fontCharacter:"\\eb7a"}),e.vmRunning=new e("vm-running",{fontCharacter:"\\eb7b"}),e.watch=new e("watch",{fontCharacter:"\\eb7c"}),e.whitespace=new e("whitespace",{fontCharacter:"\\eb7d"}),e.wholeWord=new e("whole-word",{fontCharacter:"\\eb7e"}),e.window=new e("window",{fontCharacter:"\\eb7f"}),e.wordWrap=new e("word-wrap",{fontCharacter:"\\eb80"}),e.zoomIn=new e("zoom-in",{fontCharacter:"\\eb81"}),e.zoomOut=new e("zoom-out",{fontCharacter:"\\eb82"}),e.listFilter=new e("list-filter",{fontCharacter:"\\eb83"}),e.listFlat=new e("list-flat",{fontCharacter:"\\eb84"}),e.listSelection=new e("list-selection",{fontCharacter:"\\eb85"}),e.selection=new e("selection",{fontCharacter:"\\eb85"}),e.listTree=new e("list-tree",{fontCharacter:"\\eb86"}),e.debugBreakpointFunctionUnverified=new e("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),e.debugBreakpointFunction=new e("debug-breakpoint-function",{fontCharacter:"\\eb88"}),e.debugBreakpointFunctionDisabled=new e("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),e.debugStackframeActive=new e("debug-stackframe-active",{fontCharacter:"\\eb89"}),e.debugStackframeDot=new e("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),e.debugStackframe=new e("debug-stackframe",{fontCharacter:"\\eb8b"}),e.debugStackframeFocused=new e("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),e.debugBreakpointUnsupported=new e("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),e.symbolString=new e("symbol-string",{fontCharacter:"\\eb8d"}),e.debugReverseContinue=new e("debug-reverse-continue",{fontCharacter:"\\eb8e"}),e.debugStepBack=new e("debug-step-back",{fontCharacter:"\\eb8f"}),e.debugRestartFrame=new e("debug-restart-frame",{fontCharacter:"\\eb90"}),e.callIncoming=new e("call-incoming",{fontCharacter:"\\eb92"}),e.callOutgoing=new e("call-outgoing",{fontCharacter:"\\eb93"}),e.menu=new e("menu",{fontCharacter:"\\eb94"}),e.expandAll=new e("expand-all",{fontCharacter:"\\eb95"}),e.feedback=new e("feedback",{fontCharacter:"\\eb96"}),e.groupByRefType=new e("group-by-ref-type",{fontCharacter:"\\eb97"}),e.ungroupByRefType=new e("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),e.account=new e("account",{fontCharacter:"\\eb99"}),e.bellDot=new e("bell-dot",{fontCharacter:"\\eb9a"}),e.debugConsole=new e("debug-console",{fontCharacter:"\\eb9b"}),e.library=new e("library",{fontCharacter:"\\eb9c"}),e.output=new e("output",{fontCharacter:"\\eb9d"}),e.runAll=new e("run-all",{fontCharacter:"\\eb9e"}),e.syncIgnored=new e("sync-ignored",{fontCharacter:"\\eb9f"}),e.pinned=new e("pinned",{fontCharacter:"\\eba0"}),e.githubInverted=new e("github-inverted",{fontCharacter:"\\eba1"}),e.debugAlt=new e("debug-alt",{fontCharacter:"\\eb91"}),e.serverProcess=new e("server-process",{fontCharacter:"\\eba2"}),e.serverEnvironment=new e("server-environment",{fontCharacter:"\\eba3"}),e.pass=new e("pass",{fontCharacter:"\\eba4"}),e.stopCircle=new e("stop-circle",{fontCharacter:"\\eba5"}),e.playCircle=new e("play-circle",{fontCharacter:"\\eba6"}),e.record=new e("record",{fontCharacter:"\\eba7"}),e.debugAltSmall=new e("debug-alt-small",{fontCharacter:"\\eba8"}),e.vmConnect=new e("vm-connect",{fontCharacter:"\\eba9"}),e.cloud=new e("cloud",{fontCharacter:"\\ebaa"}),e.merge=new e("merge",{fontCharacter:"\\ebab"}),e.exportIcon=new e("export",{fontCharacter:"\\ebac"}),e.graphLeft=new e("graph-left",{fontCharacter:"\\ebad"}),e.magnet=new e("magnet",{fontCharacter:"\\ebae"}),e.notebook=new e("notebook",{fontCharacter:"\\ebaf"}),e.redo=new e("redo",{fontCharacter:"\\ebb0"}),e.checkAll=new e("check-all",{fontCharacter:"\\ebb1"}),e.pinnedDirty=new e("pinned-dirty",{fontCharacter:"\\ebb2"}),e.passFilled=new e("pass-filled",{fontCharacter:"\\ebb3"}),e.circleLargeFilled=new e("circle-large-filled",{fontCharacter:"\\ebb4"}),e.circleLargeOutline=new e("circle-large-outline",{fontCharacter:"\\ebb5"}),e.combine=new e("combine",{fontCharacter:"\\ebb6"}),e.gather=new e("gather",{fontCharacter:"\\ebb6"}),e.table=new e("table",{fontCharacter:"\\ebb7"}),e.variableGroup=new e("variable-group",{fontCharacter:"\\ebb8"}),e.typeHierarchy=new e("type-hierarchy",{fontCharacter:"\\ebb9"}),e.typeHierarchySub=new e("type-hierarchy-sub",{fontCharacter:"\\ebba"}),e.typeHierarchySuper=new e("type-hierarchy-super",{fontCharacter:"\\ebbb"}),e.gitPullRequestCreate=new e("git-pull-request-create",{fontCharacter:"\\ebbc"}),e.runAbove=new e("run-above",{fontCharacter:"\\ebbd"}),e.runBelow=new e("run-below",{fontCharacter:"\\ebbe"}),e.notebookTemplate=new e("notebook-template",{fontCharacter:"\\ebbf"}),e.debugRerun=new e("debug-rerun",{fontCharacter:"\\ebc0"}),e.workspaceTrusted=new e("workspace-trusted",{fontCharacter:"\\ebc1"}),e.workspaceUntrusted=new e("workspace-untrusted",{fontCharacter:"\\ebc2"}),e.workspaceUnspecified=new e("workspace-unspecified",{fontCharacter:"\\ebc3"}),e.terminalCmd=new e("terminal-cmd",{fontCharacter:"\\ebc4"}),e.terminalDebian=new e("terminal-debian",{fontCharacter:"\\ebc5"}),e.terminalLinux=new e("terminal-linux",{fontCharacter:"\\ebc6"}),e.terminalPowershell=new e("terminal-powershell",{fontCharacter:"\\ebc7"}),e.terminalTmux=new e("terminal-tmux",{fontCharacter:"\\ebc8"}),e.terminalUbuntu=new e("terminal-ubuntu",{fontCharacter:"\\ebc9"}),e.terminalBash=new e("terminal-bash",{fontCharacter:"\\ebca"}),e.arrowSwap=new e("arrow-swap",{fontCharacter:"\\ebcb"}),e.copy=new e("copy",{fontCharacter:"\\ebcc"}),e.personAdd=new e("person-add",{fontCharacter:"\\ebcd"}),e.filterFilled=new e("filter-filled",{fontCharacter:"\\ebce"}),e.wand=new e("wand",{fontCharacter:"\\ebcf"}),e.debugLineByLine=new e("debug-line-by-line",{fontCharacter:"\\ebd0"}),e.inspect=new e("inspect",{fontCharacter:"\\ebd1"}),e.layers=new e("layers",{fontCharacter:"\\ebd2"}),e.layersDot=new e("layers-dot",{fontCharacter:"\\ebd3"}),e.layersActive=new e("layers-active",{fontCharacter:"\\ebd4"}),e.compass=new e("compass",{fontCharacter:"\\ebd5"}),e.compassDot=new e("compass-dot",{fontCharacter:"\\ebd6"}),e.compassActive=new e("compass-active",{fontCharacter:"\\ebd7"}),e.azure=new e("azure",{fontCharacter:"\\ebd8"}),e.issueDraft=new e("issue-draft",{fontCharacter:"\\ebd9"}),e.gitPullRequestClosed=new e("git-pull-request-closed",{fontCharacter:"\\ebda"}),e.gitPullRequestDraft=new e("git-pull-request-draft",{fontCharacter:"\\ebdb"}),e.debugAll=new e("debug-all",{fontCharacter:"\\ebdc"}),e.debugCoverage=new e("debug-coverage",{fontCharacter:"\\ebdd"}),e.runErrors=new e("run-errors",{fontCharacter:"\\ebde"}),e.folderLibrary=new e("folder-library",{fontCharacter:"\\ebdf"}),e.debugContinueSmall=new e("debug-continue-small",{fontCharacter:"\\ebe0"}),e.beakerStop=new e("beaker-stop",{fontCharacter:"\\ebe1"}),e.graphLine=new e("graph-line",{fontCharacter:"\\ebe2"}),e.graphScatter=new e("graph-scatter",{fontCharacter:"\\ebe3"}),e.pieChart=new e("pie-chart",{fontCharacter:"\\ebe4"}),e.bracket=new e("bracket",e.json.definition),e.bracketDot=new e("bracket-dot",{fontCharacter:"\\ebe5"}),e.bracketError=new e("bracket-error",{fontCharacter:"\\ebe6"}),e.lockSmall=new e("lock-small",{fontCharacter:"\\ebe7"}),e.azureDevops=new e("azure-devops",{fontCharacter:"\\ebe8"}),e.verifiedFilled=new e("verified-filled",{fontCharacter:"\\ebe9"})}(u||(u={}))},79881:function(Ue,de,t){"use strict";t.d(de,{B8:function(){return v},Cp:function(){return V},F0:function(){return W},L6:function(){return h},VV:function(){return u},b1:function(){return e},dL:function(){return D},ri:function(){return L}});class x{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(r){setTimeout(()=>{throw r.stack?new Error(r.message+`
|
|
|
|
`+r.stack):r},0)}}emit(r){this.listeners.forEach(o=>{o(r)})}onUnexpectedError(r){this.unexpectedErrorHandler(r),this.emit(r)}onUnexpectedExternalError(r){this.unexpectedErrorHandler(r)}}const m=new x;function D(n){u(n)||m.onUnexpectedError(n)}function V(n){u(n)||m.onUnexpectedExternalError(n)}function L(n){if(n instanceof Error){let{name:r,message:o}=n;const l=n.stacktrace||n.stack;return{$isError:!0,name:r,message:o,stack:l}}return n}const F="Canceled";function u(n){return n instanceof Error&&n.name===F&&n.message===F}function W(){const n=new Error(F);return n.name=n.message,n}function e(n){return n?new Error(`Illegal argument: ${n}`):new Error("Illegal argument")}function h(n){return n?new Error(`Illegal state: ${n}`):new Error("Illegal state")}class v extends Error{constructor(r){super("NotSupported"),r&&(this.message=r)}}},4348:function(Ue,de,t){"use strict";t.d(de,{D0:function(){return v},E7:function(){return n},K3:function(){return h},Q5:function(){return e},ZD:function(){return r},ju:function(){return L}});var x=t(79881),m=t(69323),D=t(34502),V=t(95830),L;(function(o){o.None=()=>m.JT.None;function l(Z){return(O,B=null,P)=>{let i=!1,a;return a=Z(_=>{if(!i)return a?a.dispose():i=!0,O.call(B,_)},null,P),i&&a.dispose(),a}}o.once=l;function w(Z,O){return c((B,P=null,i)=>Z(a=>B.call(P,O(a)),null,i))}o.map=w;function k(Z,O){return c((B,P=null,i)=>Z(a=>{O(a),B.call(P,a)},null,i))}o.forEach=k;function E(Z,O){return c((B,P=null,i)=>Z(a=>O(a)&&B.call(P,a),null,i))}o.filter=E;function g(Z){return Z}o.signal=g;function I(...Z){return(O,B=null,P)=>(0,m.F8)(...Z.map(i=>i(a=>O.call(B,a),null,P)))}o.any=I;function C(Z,O,B){let P=B;return w(Z,i=>(P=O(P,i),P))}o.reduce=C;function c(Z){let O;const B=new e({onFirstListenerAdd(){O=Z(B.fire,B)},onLastListenerRemove(){O.dispose()}});return B.event}function s(Z,O,B=100,P=!1,i){let a,_,j,ne=0;const ae=new e({leakWarningThreshold:i,onFirstListenerAdd(){a=Z(oe=>{ne++,_=O(_,oe),P&&!j&&(ae.fire(_),_=void 0),clearTimeout(j),j=setTimeout(()=>{const fe=_;_=void 0,j=void 0,(!P||ne>1)&&ae.fire(fe),ne=0},B)})},onLastListenerRemove(){a.dispose()}});return ae.event}o.debounce=s;function b(Z,O=(B,P)=>B===P){let B=!0,P;return E(Z,i=>{const a=B||!O(i,P);return B=!1,P=i,a})}o.latch=b;function T(Z,O){return[o.filter(Z,O),o.filter(Z,B=>!O(B))]}o.split=T;function q(Z,O=!1,B=[]){let P=B.slice(),i=Z(j=>{P?P.push(j):_.fire(j)});const a=()=>{P&&P.forEach(j=>_.fire(j)),P=null},_=new e({onFirstListenerAdd(){i||(i=Z(j=>_.fire(j)))},onFirstListenerDidAdd(){P&&(O?setTimeout(a):a())},onLastListenerRemove(){i&&i.dispose(),i=null}});return _.event}o.buffer=q;class ee{constructor(O){this.event=O}map(O){return new ee(w(this.event,O))}forEach(O){return new ee(k(this.event,O))}filter(O){return new ee(E(this.event,O))}reduce(O,B){return new ee(C(this.event,O,B))}latch(){return new ee(b(this.event))}debounce(O,B=100,P=!1,i){return new ee(s(this.event,O,B,P,i))}on(O,B,P){return this.event(O,B,P)}once(O,B,P){return l(this.event)(O,B,P)}}function G(Z){return new ee(Z)}o.chain=G;function H(Z,O,B=P=>P){const P=(...j)=>_.fire(B(...j)),i=()=>Z.on(O,P),a=()=>Z.removeListener(O,P),_=new e({onFirstListenerAdd:i,onLastListenerRemove:a});return _.event}o.fromNodeEventEmitter=H;function $(Z,O,B=P=>P){const P=(...j)=>_.fire(B(...j)),i=()=>Z.addEventListener(O,P),a=()=>Z.removeEventListener(O,P),_=new e({onFirstListenerAdd:i,onLastListenerRemove:a});return _.event}o.fromDOMEventEmitter=$;function p(Z){return new Promise(O=>l(Z)(O))}o.toPromise=p})(L||(L={}));class F{constructor(l){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${l}_${F._idPool++}`}start(l){this._stopWatch=new V.G(!0),this._listenerCount=l}stop(){if(this._stopWatch){const l=this._stopWatch.elapsed();this._elapsedOverall+=l,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${l.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}F._idPool=0;let u=-1;class W{constructor(l,w=Math.random().toString(18).slice(2,5)){this.customThreshold=l,this.name=w,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(l){let w=u;if(typeof this.customThreshold=="number"&&(w=this.customThreshold),w<=0||l<w)return;this._stacks||(this._stacks=new Map);const k=new Error().stack.split(`
|
|
`).slice(3).join(`
|
|
`),E=this._stacks.get(k)||0;if(this._stacks.set(k,E+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=w*.5;let g,I=0;for(const[C,c]of this._stacks)(!g||I<c)&&(g=C,I=c);console.warn(`[${this.name}] potential listener LEAK detected, having ${l} listeners already. MOST frequent listener (${I}):`),console.warn(g)}return()=>{const g=this._stacks.get(k)||0;this._stacks.set(k,g-1)}}}class e{constructor(l){var w;this._disposed=!1,this._options=l,this._leakageMon=u>0?new W(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((w=this._options)===null||w===void 0)&&w._profName?new F(this._options._profName):void 0}get event(){return this._event||(this._event=(l,w,k)=>{var E;this._listeners||(this._listeners=new D.S);const g=this._listeners.isEmpty();g&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const I=this._listeners.push(w?[l,w]:l);g&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,l,w);const C=(E=this._leakageMon)===null||E===void 0?void 0:E.check(this._listeners.size),c=(0,m.OF)(()=>{C&&C(),this._disposed||(I(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return k instanceof m.SL?k.add(c):Array.isArray(k)&&k.push(c),c}),this._event}fire(l){var w,k;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new D.S);for(let E of this._listeners)this._deliveryQueue.push([E,l]);for((w=this._perfMon)===null||w===void 0||w.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[E,g]=this._deliveryQueue.shift();try{typeof E=="function"?E.call(void 0,g):E[0].call(E[1],g)}catch(I){(0,x.dL)(I)}}(k=this._perfMon)===null||k===void 0||k.stop()}}dispose(){var l,w,k,E,g;this._disposed||(this._disposed=!0,(l=this._listeners)===null||l===void 0||l.clear(),(w=this._deliveryQueue)===null||w===void 0||w.clear(),(E=(k=this._options)===null||k===void 0?void 0:k.onLastListenerRemove)===null||E===void 0||E.call(k),(g=this._leakageMon)===null||g===void 0||g.dispose())}}class h extends e{constructor(l){super(l),this._isPaused=0,this._eventQueue=new D.S,this._mergeFn=l==null?void 0:l.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const l=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(l))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(l){this._listeners&&(this._isPaused!==0?this._eventQueue.push(l):super.fire(l))}}class v extends h{constructor(l){var w;super(l),this._delay=(w=l.delay)!==null&&w!==void 0?w:100}fire(l){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(l)}}class n{constructor(){this.buffers=[]}wrapEvent(l){return(w,k,E)=>l(g=>{const I=this.buffers[this.buffers.length-1];I?I.push(()=>w.call(k,g)):w.call(k,g)},void 0,E)}bufferEvents(l){const w=[];this.buffers.push(w);const k=l();return this.buffers.pop(),w.forEach(E=>E()),k}}class r{constructor(){this.listening=!1,this.inputEvent=L.None,this.inputEventListener=m.JT.None,this.emitter=new e({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(l){this.inputEvent=l,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=l(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(Ue,de,t){"use strict";t.d(de,{I:function(){return x}});function x(m){const D=this;let V=!1,L;return function(){return V||(V=!0,L=m.apply(D,arguments)),L}}},88226:function(Ue,de,t){"use strict";t.d(de,{$:function(){return x}});var x;(function(m){function D(I){return I&&typeof I=="object"&&typeof I[Symbol.iterator]=="function"}m.is=D;const V=Object.freeze([]);function L(){return V}m.empty=L;function*F(I){yield I}m.single=F;function u(I){return I||V}m.from=u;function W(I){return!I||I[Symbol.iterator]().next().done===!0}m.isEmpty=W;function e(I){return I[Symbol.iterator]().next().value}m.first=e;function h(I,C){for(const c of I)if(C(c))return!0;return!1}m.some=h;function v(I,C){for(const c of I)if(C(c))return c}m.find=v;function*n(I,C){for(const c of I)C(c)&&(yield c)}m.filter=n;function*r(I,C){let c=0;for(const s of I)yield C(s,c++)}m.map=r;function*o(...I){for(const C of I)for(const c of C)yield c}m.concat=o;function*l(I){for(const C of I)for(const c of C)yield c}m.concatNested=l;function w(I,C,c){let s=c;for(const b of I)s=C(s,b);return s}m.reduce=w;function*k(I,C,c=I.length){for(C<0&&(C+=I.length),c<0?c+=I.length:c>I.length&&(c=I.length);C<c;C++)yield I[C]}m.slice=k;function E(I,C=Number.POSITIVE_INFINITY){const c=[];if(C===0)return[c,I];const s=I[Symbol.iterator]();for(let b=0;b<C;b++){const T=s.next();if(T.done)return[c,m.empty()];c.push(T.value)}return[c,{[Symbol.iterator](){return s}}]}m.consume=E;function g(I,C,c=(s,b)=>s===b){const s=I[Symbol.iterator](),b=C[Symbol.iterator]();for(;;){const T=s.next(),q=b.next();if(T.done!==q.done)return!1;if(T.done)return!0;if(!c(T.value,q.value))return!1}}m.equals=g})(x||(x={}))},69323:function(Ue,de,t){"use strict";t.d(de,{B9:function(){return r},F8:function(){return o},JT:function(){return k},Jz:function(){return g},OF:function(){return l},SL:function(){return w},Wf:function(){return n},XK:function(){return E},dk:function(){return h}});var x=t(17845),m=t(88226);const D=!1;let V=null;function L(I){V=I}if(D){const I="__is_disposable_tracked__";L(new class{trackDisposable(C){const c=new Error("Potentially leaked disposable").stack;setTimeout(()=>{C[I]||console.log(c)},3e3)}setParent(C,c){if(C&&C!==k.None)try{C[I]=!0}catch(s){}}markAsDisposed(C){if(C&&C!==k.None)try{C[I]=!0}catch(c){}}markAsSingleton(C){}})}function F(I){return V==null||V.trackDisposable(I),I}function u(I){V==null||V.markAsDisposed(I)}function W(I,C){V==null||V.setParent(I,C)}function e(I,C){if(V)for(const c of I)V.setParent(c,C)}function h(I){return V==null||V.markAsSingleton(I),I}class v extends Error{constructor(C){super(`Encountered errors while disposing of store. Errors: [${C.join(", ")}]`),this.errors=C}}function n(I){return typeof I.dispose=="function"&&I.dispose.length===0}function r(I){if(m.$.is(I)){let C=[];for(const c of I)if(c)try{c.dispose()}catch(s){C.push(s)}if(C.length===1)throw C[0];if(C.length>1)throw new v(C);return Array.isArray(I)?[]:I}else if(I)return I.dispose(),I}function o(...I){const C=l(()=>r(I));return e(I,C),C}function l(I){const C=F({dispose:(0,x.I)(()=>{u(C),I()})});return C}class w{constructor(){this._toDispose=new Set,this._isDisposed=!1,F(this)}dispose(){this._isDisposed||(u(this),this._isDisposed=!0,this.clear())}clear(){try{r(this._toDispose.values())}finally{this._toDispose.clear()}}add(C){if(!C)return C;if(C===this)throw new Error("Cannot register a disposable on itself!");return W(C,this),this._isDisposed?w.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(C),C}}w.DISABLE_DISPOSED_WARNING=!1;class k{constructor(){this._store=new w,F(this),W(this._store,this)}dispose(){u(this),this._store.dispose()}_register(C){if(C===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(C)}}k.None=Object.freeze({dispose(){}});class E{constructor(){this._isDisposed=!1,F(this)}get value(){return this._isDisposed?void 0:this._value}set value(C){var c;this._isDisposed||C===this._value||((c=this._value)===null||c===void 0||c.dispose(),C&&W(C,this),this._value=C)}clear(){this.value=void 0}dispose(){var C;this._isDisposed=!0,u(this),(C=this._value)===null||C===void 0||C.dispose(),this._value=void 0}clearAndLeak(){const C=this._value;return this._value=void 0,C&&W(C,null),C}}class g{constructor(C){this.object=C}dispose(){}}},34502:function(Ue,de,t){"use strict";t.d(de,{S:function(){return m}});class x{constructor(V){this.element=V,this.next=x.Undefined,this.prev=x.Undefined}}x.Undefined=new x(void 0);class m{constructor(){this._first=x.Undefined,this._last=x.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===x.Undefined}clear(){let V=this._first;for(;V!==x.Undefined;){const L=V.next;V.prev=x.Undefined,V.next=x.Undefined,V=L}this._first=x.Undefined,this._last=x.Undefined,this._size=0}unshift(V){return this._insert(V,!1)}push(V){return this._insert(V,!0)}_insert(V,L){const F=new x(V);if(this._first===x.Undefined)this._first=F,this._last=F;else if(L){const W=this._last;this._last=F,F.prev=W,W.next=F}else{const W=this._first;this._first=F,F.next=W,W.prev=F}this._size+=1;let u=!1;return()=>{u||(u=!0,this._remove(F))}}shift(){if(this._first!==x.Undefined){const V=this._first.element;return this._remove(this._first),V}}pop(){if(this._last!==x.Undefined){const V=this._last.element;return this._remove(this._last),V}}_remove(V){if(V.prev!==x.Undefined&&V.next!==x.Undefined){const L=V.prev;L.next=V.next,V.next.prev=L}else V.prev===x.Undefined&&V.next===x.Undefined?(this._first=x.Undefined,this._last=x.Undefined):V.next===x.Undefined?(this._last=this._last.prev,this._last.next=x.Undefined):V.prev===x.Undefined&&(this._first=this._first.next,this._first.prev=x.Undefined);this._size-=1}*[Symbol.iterator](){let V=this._first;for(;V!==x.Undefined;)yield V.element,V=V.next}}},23345:function(Ue,de,t){"use strict";t.d(de,{$L:function(){return s},ED:function(){return g},IJ:function(){return C},OS:function(){return ee},WE:function(){return T},dz:function(){return I},gn:function(){return b},li:function(){return l},r:function(){return $},tY:function(){return c},xS:function(){return q}});var x=t(97671),m;const D="en";let V=!1,L=!1,F=!1,u=!1,W=!1,e=!1,h=!1,v,n=null,r=null,o;const l=typeof self=="object"?self:typeof t.g=="object"?t.g:{};let w;typeof l.vscode!="undefined"&&typeof l.vscode.process!="undefined"?w=l.vscode.process:typeof x!="undefined"&&(w=x);const k=typeof((m=w==null?void 0:w.versions)===null||m===void 0?void 0:m.electron)=="string"&&w.type==="renderer";if(typeof navigator=="object"&&!k)o=navigator.userAgent,V=o.indexOf("Windows")>=0,L=o.indexOf("Macintosh")>=0,h=(o.indexOf("Macintosh")>=0||o.indexOf("iPad")>=0||o.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,F=o.indexOf("Linux")>=0,e=!0,v=navigator.language,n=v;else if(typeof w=="object"){V=w.platform==="win32",L=w.platform==="darwin",F=w.platform==="linux",u=F&&!!w.env.SNAP&&!!w.env.SNAP_REVISION,v=D,n=D;const p=w.env.VSCODE_NLS_CONFIG;if(p)try{const Z=JSON.parse(p),O=Z.availableLanguages["*"];v=Z.locale,n=O||D,r=Z._translationsConfigFile}catch(Z){}W=!0}else console.error("Unable to resolve platform.");let E=0;L?E=1:V?E=3:F&&(E=2);const g=V,I=L,C=F,c=W,s=e,b=h,T=o,q=function(){if(l.setImmediate)return l.setImmediate.bind(l);if(typeof l.postMessage=="function"&&!l.importScripts){let O=[];l.addEventListener("message",P=>{if(P.data&&P.data.vscodeSetImmediateId)for(let i=0,a=O.length;i<a;i++){const _=O[i];if(_.id===P.data.vscodeSetImmediateId){O.splice(i,1),_.callback();return}}});let B=0;return P=>{const i=++B;O.push({id:i,callback:P}),l.postMessage({vscodeSetImmediateId:i},"*")}}if(typeof(w==null?void 0:w.nextTick)=="function")return w.nextTick.bind(w);const Z=Promise.resolve();return O=>Z.then(O)}(),ee=L||h?2:V?1:3;let G=!0,H=!1;function $(){if(!H){H=!0;const p=new Uint8Array(2);p[0]=1,p[1]=2,G=new Uint16Array(p.buffer)[0]===513}return G}},95830:function(Ue,de,t){"use strict";t.d(de,{G:function(){return D}});var x=t(23345);const m=x.li.performance&&typeof x.li.performance.now=="function";class D{constructor(L){this._highResolution=m&&L,this._startTime=this._now(),this._stopTime=-1}static create(L=!0){return new D(L)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?x.li.performance.now():Date.now()}}},82983:function(Ue,de,t){"use strict";t.d(de,{$i:function(){return ne},C8:function(){return ke},GF:function(){return v},HO:function(){return B},IO:function(){return n},K7:function(){return Ee},Kw:function(){return Je},LC:function(){return l},Mh:function(){return q},P1:function(){return ee},PJ:function(){return Oe},Qe:function(){return ae},R1:function(){return h},RP:function(){return _},S6:function(){return Ce},TT:function(){return g},Ut:function(){return i},V8:function(){return w},WU:function(){return D},YK:function(){return H},YU:function(){return V},ZG:function(){return G},ZH:function(){return p},ab:function(){return oe},c1:function(){return Re},df:function(){return s},ec:function(){return L},fi:function(){return Y},fy:function(){return F},j3:function(){return u},j_:function(){return C},m5:function(){return x},mK:function(){return c},mr:function(){return r},oH:function(){return U},oL:function(){return W},ok:function(){return T},ow:function(){return k},qq:function(){return b},qu:function(){return E},rL:function(){return $},uS:function(){return ze},un:function(){return e},uq:function(){return o},vH:function(){return O},xe:function(){return fe},zY:function(){return I}});function x(y){return!y||typeof y!="string"?!0:y.trim().length===0}const m=/{(\d+)}/g;function D(y,...f){return f.length===0?y:y.replace(m,function(d,X){const K=parseInt(X,10);return isNaN(K)||K<0||K>=f.length?d:f[K]})}function V(y){return y.replace(/[<>&]/g,function(f){switch(f){case"<":return"<";case">":return">";case"&":return"&";default:return f}})}function L(y){return y.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function F(y,f=" "){const d=u(y,f);return W(d,f)}function u(y,f){if(!y||!f)return y;const d=f.length;if(d===0||y.length===0)return y;let X=0;for(;y.indexOf(f,X)===X;)X=X+d;return y.substring(X)}function W(y,f){if(!y||!f)return y;const d=f.length,X=y.length;if(d===0||X===0)return y;let K=X,z=-1;for(;z=y.lastIndexOf(f,K-1),!(z===-1||z+d!==K);){if(z===0)return"";K=z}return y.substring(0,K)}function e(y){return y.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function h(y){return y.replace(/\*/g,"")}function v(y,f,d={}){if(!y)throw new Error("Cannot create regex from empty string");f||(y=L(y)),d.wholeWord&&(/\B/.test(y.charAt(0))||(y="\\b"+y),/\B/.test(y.charAt(y.length-1))||(y=y+"\\b"));let X="";return d.global&&(X+="g"),d.matchCase||(X+="i"),d.multiline&&(X+="m"),d.unicode&&(X+="u"),new RegExp(y,X)}function n(y){return y.source==="^"||y.source==="^$"||y.source==="$"||y.source==="^\\s*$"?!1:!!(y.exec("")&&y.lastIndex===0)}function r(y){return(y.global?"g":"")+(y.ignoreCase?"i":"")+(y.multiline?"m":"")+(y.unicode?"u":"")}function o(y){return y.split(/\r\n|\r|\n/)}function l(y){for(let f=0,d=y.length;f<d;f++){const X=y.charCodeAt(f);if(X!==32&&X!==9)return f}return-1}function w(y,f=0,d=y.length){for(let X=f;X<d;X++){const K=y.charCodeAt(X);if(K!==32&&K!==9)return y.substring(f,X)}return y.substring(f,d)}function k(y,f=y.length-1){for(let d=f;d>=0;d--){const X=y.charCodeAt(d);if(X!==32&&X!==9)return d}return-1}function E(y,f){return y<f?-1:y>f?1:0}function g(y,f,d=0,X=y.length,K=0,z=f.length){for(;d<X&&K<z;d++,K++){let re=y.charCodeAt(d),se=f.charCodeAt(K);if(re<se)return-1;if(re>se)return 1}const J=X-d,ce=z-K;return J<ce?-1:J>ce?1:0}function I(y,f){return C(y,f,0,y.length,0,f.length)}function C(y,f,d=0,X=y.length,K=0,z=f.length){for(;d<X&&K<z;d++,K++){let re=y.charCodeAt(d),se=f.charCodeAt(K);if(re===se)continue;if(re>=128||se>=128)return g(y.toLowerCase(),f.toLowerCase(),d,X,K,z);c(re)&&(re-=32),c(se)&&(se-=32);const me=re-se;if(me!==0)return me}const J=X-d,ce=z-K;return J<ce?-1:J>ce?1:0}function c(y){return y>=97&&y<=122}function s(y){return y>=65&&y<=90}function b(y,f){return y.length===f.length&&C(y,f)===0}function T(y,f){const d=f.length;return f.length>y.length?!1:C(y,f,0,d)===0}function q(y,f){let d,X=Math.min(y.length,f.length);for(d=0;d<X;d++)if(y.charCodeAt(d)!==f.charCodeAt(d))return d;return X}function ee(y,f){let d,X=Math.min(y.length,f.length);const K=y.length-1,z=f.length-1;for(d=0;d<X;d++)if(y.charCodeAt(K-d)!==f.charCodeAt(z-d))return d;return X}function G(y){return 55296<=y&&y<=56319}function H(y){return 56320<=y&&y<=57343}function $(y,f){return(y-55296<<10)+(f-56320)+65536}function p(y,f,d){const X=y.charCodeAt(d);if(G(X)&&d+1<f){const K=y.charCodeAt(d+1);if(H(K))return $(X,K)}return X}function Z(y,f){const d=y.charCodeAt(f-1);if(H(d)&&f>1){const X=y.charCodeAt(f-2);if(G(X))return $(X,d)}return d}function O(y,f){const d=pe.getInstance(),X=f,K=y.length,z=p(y,K,f);f+=z>=65536?2:1;let J=d.getGraphemeBreakType(z);for(;f<K;){const ce=p(y,K,f),re=d.getGraphemeBreakType(ce);if(Y(J,re))break;f+=ce>=65536?2:1,J=re}return f-X}function B(y,f){const d=pe.getInstance(),X=f,K=Z(y,f);f-=K>=65536?2:1;let z=d.getGraphemeBreakType(K);for(;f>0;){const J=Z(y,f),ce=d.getGraphemeBreakType(J);if(Y(ce,z))break;f-=J>=65536?2:1,z=ce}return X-f}const P=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function i(y){return P.test(y)}const a=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function _(y){return a.test(y)}const j=/^[\t\n\r\x20-\x7E]*$/;function ne(y){return j.test(y)}const ae=/[\u2028\u2029]/;function oe(y){return ae.test(y)}function fe(y){for(let f=0,d=y.length;f<d;f++)if(Ee(y.charCodeAt(f)))return!0;return!1}function Ee(y){return y=+y,y>=11904&&y<=55215||y>=63744&&y<=64255||y>=65281&&y<=65374}function ke(y){return y>=127462&&y<=127487||y===8986||y===8987||y===9200||y===9203||y>=9728&&y<=10175||y===11088||y===11093||y>=127744&&y<=128591||y>=128640&&y<=128764||y>=128992&&y<=129003||y>=129280&&y<=129535||y>=129648&&y<=129750}const Re="\uFEFF";function ze(y){return!!(y&&y.length>0&&y.charCodeAt(0)===65279)}function Je(y,f=!1){return y?(f&&(y=y.replace(/\\./g,"")),y.toLowerCase()!==y):!1}function Oe(y){return y=y%(2*26),y<26?String.fromCharCode(97+y):String.fromCharCode(65+y-26)}function Ce(y){return pe.getInstance().getGraphemeBreakType(y)}function Y(y,f){return y===0?f!==5&&f!==7:y===2&&f===3?!1:y===4||y===2||y===3||f===4||f===2||f===3?!0:!(y===8&&(f===8||f===9||f===11||f===12)||(y===11||y===9)&&(f===9||f===10)||(y===12||y===10)&&f===10||f===5||f===13||f===7||y===1||y===13&&f===14||y===6&&f===6)}class pe{constructor(){this._data=M()}static getInstance(){return pe._INSTANCE||(pe._INSTANCE=new pe),pe._INSTANCE}getGraphemeBreakType(f){if(f<32)return f===10?3:f===13?2:4;if(f<127)return 0;const d=this._data,X=d.length/3;let K=1;for(;K<=X;)if(f<d[3*K])K=2*K;else if(f>d[3*K+1])K=2*K+1;else return d[3*K+2];return 0}}pe._INSTANCE=null;function M(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function U(y,f){if(y===0)return 0;const d=A(y,f);if(d!==void 0)return d;const X=Z(f,y);return y-=R(X),y}function A(y,f){let d=Z(f,y);for(y-=R(d);te(d)||d===65039||d===8419;){if(y===0)return;d=Z(f,y),y-=R(d)}if(ke(d)){if(y>=0){const X=Z(f,y);X===8205&&(y-=R(X))}return y}}function R(y){return y>=65536?2:1}function te(y){return 127995<=y&&y<=127999}},72999:function(Ue,de,t){"use strict";t.d(de,{$E:function(){return l},$K:function(){return u},D8:function(){return n},HD:function(){return m},IU:function(){return w},Jp:function(){return W},Kn:function(){return D},cW:function(){return h},f6:function(){return k},hj:function(){return V},jn:function(){return L},kJ:function(){return x},mf:function(){return v},o8:function(){return F},p_:function(){return e},vE:function(){return E}});function x(g){return Array.isArray(g)}function m(g){return typeof g=="string"}function D(g){return typeof g=="object"&&g!==null&&!Array.isArray(g)&&!(g instanceof RegExp)&&!(g instanceof Date)}function V(g){return typeof g=="number"&&!isNaN(g)}function L(g){return g===!0||g===!1}function F(g){return typeof g=="undefined"}function u(g){return!W(g)}function W(g){return F(g)||g===null}function e(g,I){if(!g)throw new Error(I?`Unexpected type, expected '${I}'`:"Unexpected type")}function h(g){if(W(g))throw new Error("Assertion Failed: argument is undefined or null");return g}function v(g){return typeof g=="function"}function n(g,I){const C=Math.min(g.length,I.length);for(let c=0;c<C;c++)r(g[c],I[c])}function r(g,I){if(m(I)){if(typeof g!==I)throw new Error(`argument does not match constraint: typeof ${I}`)}else if(v(I)){try{if(g instanceof I)return}catch(C){}if(!W(g)&&g.constructor===I||I.length===1&&I.call(void 0,g)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function o(g){let I=[],C=Object.getPrototypeOf(g);for(;Object.prototype!==C;)I=I.concat(Object.getOwnPropertyNames(C)),C=Object.getPrototypeOf(C);return I}function l(g){const I=[];for(const C of o(g))typeof g[C]=="function"&&I.push(C);return I}function w(g,I){const C=s=>function(){const b=Array.prototype.slice.call(arguments,0);return I(s,b)};let c={};for(const s of g)c[s]=C(s);return c}function k(g){return g===null?void 0:g}function E(g,I="Unreachable"){throw new Error(I)}},13268:function(Ue,de,t){"use strict";t.d(de,{N:function(){return m}});function x(D,V){let L;return V.length===0?L=D:L=D.replace(/\{(\d+)\}/g,function(F,u){const W=u[0];return typeof V[W]!="undefined"?V[W]:F}),L}function m(D,V,...L){return x(V,L)}},96236:function(Ue,de,t){"use strict";t.d(de,{BH:function(){return w},NZ:function(){return k},U8:function(){return E},co:function(){return l},eH:function(){return o},vr:function(){return r}});var x=t(75918),m=t(52615),D=t(4348),V=t(88226),L=t(69323),F=t(34502),u=t(35884),W=t(90689),e=t(16925),h=t(49055),v=function(g,I,C,c){var s=arguments.length,b=s<3?I:c===null?c=Object.getOwnPropertyDescriptor(I,C):c,T;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(g,I,C,c);else for(var q=g.length-1;q>=0;q--)(T=g[q])&&(b=(s<3?T(b):s>3?T(I,C,b):T(I,C))||b);return s>3&&b&&Object.defineProperty(I,C,b),b},n=function(g,I){return function(C,c){I(C,c,g)}};function r(g){return g.command!==void 0}class o{constructor(I){this.id=o._idPool++,this._debugName=I}}o._idPool=0,o.CommandPalette=new o("CommandPalette"),o.EditorContext=new o("EditorContext"),o.SimpleEditorContext=new o("SimpleEditorContext"),o.EditorContextCopy=new o("EditorContextCopy"),o.EditorContextPeek=new o("EditorContextPeek"),o.MenubarEditMenu=new o("MenubarEditMenu"),o.MenubarCopy=new o("MenubarCopy"),o.MenubarGoMenu=new o("MenubarGoMenu"),o.MenubarSelectionMenu=new o("MenubarSelectionMenu"),o.InlineCompletionsActions=new o("InlineCompletionsActions");const l=(0,e.yh)("menuService"),w=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new D.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:g=>g===o.CommandPalette}}addCommand(g){return this.addCommands(V.$.single(g))}addCommands(g){for(const I of g)this._commands.set(I.id,I);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,L.OF)(()=>{let I=!1;for(const C of g)I=this._commands.delete(C.id)||I;I&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(g){return this._commands.get(g)}getCommands(){const g=new Map;return this._commands.forEach((I,C)=>g.set(C,I)),g}appendMenuItem(g,I){return this.appendMenuItems(V.$.single({id:g,item:I}))}appendMenuItems(g){const I=new Set,C=new F.S;for(const{id:c,item:s}of g){let b=this._menuItems.get(c);b||(b=new F.S,this._menuItems.set(c,b)),C.push(b.push(s)),I.add(c)}return this._onDidChangeMenu.fire(I),(0,L.OF)(()=>{if(C.size>0){for(let c of C)c();this._onDidChangeMenu.fire(I),C.clear()}})}getMenuItems(g){let I;return this._menuItems.has(g)?I=[...this._menuItems.get(g)]:I=[],g===o.CommandPalette&&this._appendImplicitItems(I),I}_appendImplicitItems(g){const I=new Set;for(const C of g)r(C)&&(I.add(C.command.id),C.alt&&I.add(C.alt.id));this._commands.forEach((C,c)=>{I.has(c)||g.push({command:C})})}};class k extends x.wY{constructor(I,C,c,s){super(`submenuitem.${I.submenu.id}`,typeof I.title=="string"?I.title:I.title.value,[],"submenu"),this.item=I,this._menuService=C,this._contextKeyService=c,this._options=s}get actions(){const I=[],C=this._menuService.createMenu(this.item.submenu,this._contextKeyService),c=C.getActions(this._options);C.dispose();for(const[,s]of c)s.length>0&&(I.push(...s),I.push(new x.Z0));return I.length&&I.pop(),I}}let E=class mo{constructor(I,C,c,s,b){var T,q;if(this._commandService=b,this.id=I.id,this.label=c!=null&&c.renderShortTitle&&I.shortTitle?typeof I.shortTitle=="string"?I.shortTitle:I.shortTitle.value:typeof I.title=="string"?I.title:I.title.value,this.tooltip=(q=typeof I.tooltip=="string"?I.tooltip:(T=I.tooltip)===null||T===void 0?void 0:T.value)!==null&&q!==void 0?q:"",this.enabled=!I.precondition||s.contextMatchesRules(I.precondition),this.checked=void 0,I.toggled){const ee=I.toggled.condition?I.toggled:{condition:I.toggled};this.checked=s.contextMatchesRules(ee.condition),this.checked&&ee.tooltip&&(this.tooltip=typeof ee.tooltip=="string"?ee.tooltip:ee.tooltip.value),ee.title&&(this.label=typeof ee.title=="string"?ee.title:ee.title.value)}this.item=I,this.alt=C?new mo(C,void 0,c,s,b):void 0,this._options=c,h.kS.isThemeIcon(I.icon)&&(this.class=m.dT.asClassName(I.icon))}dispose(){}run(...I){var C,c;let s=[];return!((C=this._options)===null||C===void 0)&&C.arg&&(s=[...s,this._options.arg]),!((c=this._options)===null||c===void 0)&&c.shouldForwardArgs&&(s=[...s,...I]),this._commandService.executeCommand(this.id,...s)}};E=v([n(3,W.i6),n(4,u.H)],E)},35884:function(Ue,de,t){"use strict";t.d(de,{H:function(){return u},P:function(){return W}});var x=t(4348),m=t(88226),D=t(69323),V=t(34502),L=t(72999),F=t(16925);const u=(0,F.yh)("commandService"),W=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new x.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,h){if(!e)throw new Error("invalid command");if(typeof e=="string"){if(!h)throw new Error("invalid command");return this.registerCommand({id:e,handler:h})}if(e.description){const l=[];for(let k of e.description.args)l.push(k.constraint);const w=e.handler;e.handler=function(k,...E){return(0,L.D8)(E,l),w(k,...E)}}const{id:v}=e;let n=this._commands.get(v);n||(n=new V.S,this._commands.set(v,n));let r=n.unshift(e),o=(0,D.OF)(()=>{r();const l=this._commands.get(v);l!=null&&l.isEmpty()&&this._commands.delete(v)});return this._onDidRegisterCommand.fire(v),o}registerCommandAlias(e,h){return W.registerCommand(e,(v,...n)=>v.get(u).executeCommand(h,...n))}getCommand(e){const h=this._commands.get(e);if(!(!h||h.isEmpty()))return m.$.first(h)}getCommands(){const e=new Map;for(const h of this._commands.keys()){const v=this.getCommand(h);v&&e.set(h,v)}return e}};W.registerCommand("noop",()=>{})},90689:function(Ue,de,t){"use strict";t.d(de,{Ao:function(){return u},Eq:function(){return $},Fb:function(){return W},K8:function(){return O},i6:function(){return H},uy:function(){return G}});var x=t(23345),m=t(82983),D=t(16925);let V=x.WE||"";const L=new Map;L.set("false",!1),L.set("true",!0),L.set("isMac",x.dz),L.set("isLinux",x.IJ),L.set("isWindows",x.ED),L.set("isWeb",x.$L),L.set("isMacNative",x.dz&&!x.$L),L.set("isEdge",V.indexOf("Edg/")>=0),L.set("isFirefox",V.indexOf("Firefox")>=0),L.set("isChrome",V.indexOf("Chrome")>=0),L.set("isSafari",V.indexOf("Safari")>=0);const F=Object.prototype.hasOwnProperty;class u{static has(i){return n.create(i)}static equals(i,a){return r.create(i,a)}static regex(i,a){return s.create(i,a)}static not(i){return k.create(i)}static and(...i){return q.create(i,null)}static or(...i){return ee.create(i,null,!0)}static deserialize(i,a=!1){if(i)return this._deserializeOrExpression(i,a)}static _deserializeOrExpression(i,a){let _=i.split("||");return ee.create(_.map(j=>this._deserializeAndExpression(j,a)),null,!0)}static _deserializeAndExpression(i,a){let _=i.split("&&");return q.create(_.map(j=>this._deserializeOne(j,a)),null)}static _deserializeOne(i,a){if(i=i.trim(),i.indexOf("!=")>=0){let _=i.split("!=");return w.create(_[0].trim(),this._deserializeValue(_[1],a))}if(i.indexOf("==")>=0){let _=i.split("==");return r.create(_[0].trim(),this._deserializeValue(_[1],a))}if(i.indexOf("=~")>=0){let _=i.split("=~");return s.create(_[0].trim(),this._deserializeRegexValue(_[1],a))}if(i.indexOf(" in ")>=0){let _=i.split(" in ");return o.create(_[0].trim(),_[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(i)){const _=i.split(">=");return I.create(_[0].trim(),_[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(i)){const _=i.split(">");return g.create(_[0].trim(),_[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(i)){const _=i.split("<=");return c.create(_[0].trim(),_[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(i)){const _=i.split("<");return C.create(_[0].trim(),_[1].trim())}return/^\!\s*/.test(i)?k.create(i.substr(1).trim()):n.create(i)}static _deserializeValue(i,a){if(i=i.trim(),i==="true")return!0;if(i==="false")return!1;let _=/^'([^']*)'$/.exec(i);return _?_[1].trim():i}static _deserializeRegexValue(i,a){if((0,m.m5)(i)){if(a)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let _=i.indexOf("/"),j=i.lastIndexOf("/");if(_===j||_<0){if(a)throw new Error(`bad regexp-value '${i}', missing /-enclosure`);return console.warn(`bad regexp-value '${i}', missing /-enclosure`),null}let ne=i.slice(_+1,j),ae=i[j+1]==="i"?"i":"";try{return new RegExp(ne,ae)}catch(oe){if(a)throw new Error(`bad regexp-value '${i}', parse error: ${oe}`);return console.warn(`bad regexp-value '${i}', parse error: ${oe}`),null}}}function W(P,i){const a=P?P.substituteConstants():void 0,_=i?i.substituteConstants():void 0;return!a&&!_?!0:!a||!_?!1:a.equals(_)}function e(P,i){return P.cmp(i)}class h{constructor(){this.type=0}cmp(i){return this.type-i.type}equals(i){return i.type===this.type}substituteConstants(){return this}evaluate(i){return!1}serialize(){return"false"}keys(){return[]}negate(){return v.INSTANCE}}h.INSTANCE=new h;class v{constructor(){this.type=1}cmp(i){return this.type-i.type}equals(i){return i.type===this.type}substituteConstants(){return this}evaluate(i){return!0}serialize(){return"true"}keys(){return[]}negate(){return h.INSTANCE}}v.INSTANCE=new v;class n{constructor(i,a){this.key=i,this.negated=a,this.type=2}static create(i,a=null){const _=L.get(i);return typeof _=="boolean"?_?v.INSTANCE:h.INSTANCE:new n(i,a)}cmp(i){return i.type!==this.type?this.type-i.type:p(this.key,i.key)}equals(i){return i.type===this.type?this.key===i.key:!1}substituteConstants(){const i=L.get(this.key);return typeof i=="boolean"?i?v.INSTANCE:h.INSTANCE:this}evaluate(i){return!!i.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=k.create(this.key,this)),this.negated}}class r{constructor(i,a,_){this.key=i,this.value=a,this.negated=_,this.type=4}static create(i,a,_=null){if(typeof a=="boolean")return a?n.create(i,_):k.create(i,_);const j=L.get(i);return typeof j=="boolean"?a===(j?"true":"false")?v.INSTANCE:h.INSTANCE:new r(i,a,_)}cmp(i){return i.type!==this.type?this.type-i.type:Z(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){const i=L.get(this.key);if(typeof i=="boolean"){const a=i?"true":"false";return this.value===a?v.INSTANCE:h.INSTANCE}return this}evaluate(i){return i.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=w.create(this.key,this.value,this)),this.negated}}class o{constructor(i,a){this.key=i,this.valueKey=a,this.type=10,this.negated=null}static create(i,a){return new o(i,a)}cmp(i){return i.type!==this.type?this.type-i.type:Z(this.key,this.valueKey,i.key,i.valueKey)}equals(i){return i.type===this.type?this.key===i.key&&this.valueKey===i.valueKey:!1}substituteConstants(){return this}evaluate(i){const a=i.getValue(this.valueKey),_=i.getValue(this.key);return Array.isArray(a)?a.indexOf(_)>=0:typeof _=="string"&&typeof a=="object"&&a!==null?F.call(a,_):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=l.create(this)),this.negated}}class l{constructor(i){this._actual=i,this.type=11}static create(i){return new l(i)}cmp(i){return i.type!==this.type?this.type-i.type:this._actual.cmp(i._actual)}equals(i){return i.type===this.type?this._actual.equals(i._actual):!1}substituteConstants(){return this}evaluate(i){return!this._actual.evaluate(i)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class w{constructor(i,a,_){this.key=i,this.value=a,this.negated=_,this.type=5}static create(i,a,_=null){if(typeof a=="boolean")return a?k.create(i,_):n.create(i,_);const j=L.get(i);return typeof j=="boolean"?a===(j?"true":"false")?h.INSTANCE:v.INSTANCE:new w(i,a,_)}cmp(i){return i.type!==this.type?this.type-i.type:Z(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){const i=L.get(this.key);if(typeof i=="boolean"){const a=i?"true":"false";return this.value===a?h.INSTANCE:v.INSTANCE}return this}evaluate(i){return i.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=r.create(this.key,this.value,this)),this.negated}}class k{constructor(i,a){this.key=i,this.negated=a,this.type=3}static create(i,a=null){const _=L.get(i);return typeof _=="boolean"?_?h.INSTANCE:v.INSTANCE:new k(i,a)}cmp(i){return i.type!==this.type?this.type-i.type:p(this.key,i.key)}equals(i){return i.type===this.type?this.key===i.key:!1}substituteConstants(){const i=L.get(this.key);return typeof i=="boolean"?i?h.INSTANCE:v.INSTANCE:this}evaluate(i){return!i.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=n.create(this.key,this)),this.negated}}function E(P,i){if(typeof P=="string"){const a=parseFloat(P);isNaN(a)||(P=a)}return typeof P=="string"||typeof P=="number"?i(P):h.INSTANCE}class g{constructor(i,a,_){this.key=i,this.value=a,this.negated=_,this.type=12}static create(i,a,_=null){return E(a,j=>new g(i,j,_))}cmp(i){return i.type!==this.type?this.type-i.type:Z(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){return this}evaluate(i){return typeof this.value=="string"?!1:parseFloat(i.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=c.create(this.key,this.value,this)),this.negated}}class I{constructor(i,a,_){this.key=i,this.value=a,this.negated=_,this.type=13}static create(i,a,_=null){return E(a,j=>new I(i,j,_))}cmp(i){return i.type!==this.type?this.type-i.type:Z(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){return this}evaluate(i){return typeof this.value=="string"?!1:parseFloat(i.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=C.create(this.key,this.value,this)),this.negated}}class C{constructor(i,a,_){this.key=i,this.value=a,this.negated=_,this.type=14}static create(i,a,_=null){return E(a,j=>new C(i,j,_))}cmp(i){return i.type!==this.type?this.type-i.type:Z(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){return this}evaluate(i){return typeof this.value=="string"?!1:parseFloat(i.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=I.create(this.key,this.value,this)),this.negated}}class c{constructor(i,a,_){this.key=i,this.value=a,this.negated=_,this.type=15}static create(i,a,_=null){return E(a,j=>new c(i,j,_))}cmp(i){return i.type!==this.type?this.type-i.type:Z(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){return this}evaluate(i){return typeof this.value=="string"?!1:parseFloat(i.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=g.create(this.key,this.value,this)),this.negated}}class s{constructor(i,a){this.key=i,this.regexp=a,this.type=7,this.negated=null}static create(i,a){return new s(i,a)}cmp(i){if(i.type!==this.type)return this.type-i.type;if(this.key<i.key)return-1;if(this.key>i.key)return 1;const a=this.regexp?this.regexp.source:"",_=i.regexp?i.regexp.source:"";return a<_?-1:a>_?1:0}equals(i){if(i.type===this.type){const a=this.regexp?this.regexp.source:"",_=i.regexp?i.regexp.source:"";return this.key===i.key&&a===_}return!1}substituteConstants(){return this}evaluate(i){let a=i.getValue(this.key);return this.regexp?this.regexp.test(a):!1}serialize(){const i=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${i}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=b.create(this)),this.negated}}class b{constructor(i){this._actual=i,this.type=8}static create(i){return new b(i)}cmp(i){return i.type!==this.type?this.type-i.type:this._actual.cmp(i._actual)}equals(i){return i.type===this.type?this._actual.equals(i._actual):!1}substituteConstants(){return this}evaluate(i){return!this._actual.evaluate(i)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function T(P){let i=null;for(let a=0,_=P.length;a<_;a++){const j=P[a].substituteConstants();if(P[a]!==j&&i===null){i=[];for(let ne=0;ne<a;ne++)i[ne]=P[ne]}i!==null&&(i[a]=j)}return i===null?P:i}class q{constructor(i,a){this.expr=i,this.negated=a,this.type=6}static create(i,a){return q._normalizeArr(i,a)}cmp(i){if(i.type!==this.type)return this.type-i.type;if(this.expr.length<i.expr.length)return-1;if(this.expr.length>i.expr.length)return 1;for(let a=0,_=this.expr.length;a<_;a++){const j=e(this.expr[a],i.expr[a]);if(j!==0)return j}return 0}equals(i){if(i.type===this.type){if(this.expr.length!==i.expr.length)return!1;for(let a=0,_=this.expr.length;a<_;a++)if(!this.expr[a].equals(i.expr[a]))return!1;return!0}return!1}substituteConstants(){const i=T(this.expr);return i===this.expr?this:q.create(i,this.negated)}evaluate(i){for(let a=0,_=this.expr.length;a<_;a++)if(!this.expr[a].evaluate(i))return!1;return!0}static _normalizeArr(i,a){const _=[];let j=!1;for(const ne of i)if(ne){if(ne.type===1){j=!0;continue}if(ne.type===0)return h.INSTANCE;if(ne.type===6){_.push(...ne.expr);continue}_.push(ne)}if(_.length===0&&j)return v.INSTANCE;if(_.length!==0){if(_.length===1)return _[0];_.sort(e);for(let ne=1;ne<_.length;ne++)_[ne-1].equals(_[ne])&&(_.splice(ne,1),ne--);if(_.length===1)return _[0];for(;_.length>1;){const ne=_[_.length-1];if(ne.type!==9)break;_.pop();const ae=_.pop(),oe=_.length===0,fe=ee.create(ne.expr.map(Ee=>q.create([Ee,ae],null)),null,oe);fe&&(_.push(fe),_.sort(e))}return _.length===1?_[0]:new q(_,a)}}serialize(){return this.expr.map(i=>i.serialize()).join(" && ")}keys(){const i=[];for(let a of this.expr)i.push(...a.keys());return i}negate(){if(!this.negated){const i=[];for(let a of this.expr)i.push(a.negate());this.negated=ee.create(i,this,!0)}return this.negated}}class ee{constructor(i,a){this.expr=i,this.negated=a,this.type=9}static create(i,a,_){return ee._normalizeArr(i,a,_)}cmp(i){if(i.type!==this.type)return this.type-i.type;if(this.expr.length<i.expr.length)return-1;if(this.expr.length>i.expr.length)return 1;for(let a=0,_=this.expr.length;a<_;a++){const j=e(this.expr[a],i.expr[a]);if(j!==0)return j}return 0}equals(i){if(i.type===this.type){if(this.expr.length!==i.expr.length)return!1;for(let a=0,_=this.expr.length;a<_;a++)if(!this.expr[a].equals(i.expr[a]))return!1;return!0}return!1}substituteConstants(){const i=T(this.expr);return i===this.expr?this:ee.create(i,this.negated,!1)}evaluate(i){for(let a=0,_=this.expr.length;a<_;a++)if(this.expr[a].evaluate(i))return!0;return!1}static _normalizeArr(i,a,_){let j=[],ne=!1;if(i){for(let ae=0,oe=i.length;ae<oe;ae++){const fe=i[ae];if(fe){if(fe.type===0){ne=!0;continue}if(fe.type===1)return v.INSTANCE;if(fe.type===9){j=j.concat(fe.expr);continue}j.push(fe)}}if(j.length===0&&ne)return h.INSTANCE;j.sort(e)}if(j.length!==0){if(j.length===1)return j[0];for(let ae=1;ae<j.length;ae++)j[ae-1].equals(j[ae])&&(j.splice(ae,1),ae--);if(j.length===1)return j[0];if(_){for(let ae=0;ae<j.length;ae++)for(let oe=ae+1;oe<j.length;oe++)O(j[ae],j[oe])&&(j.splice(oe,1),oe--);if(j.length===1)return j[0]}return new ee(j,a)}}serialize(){return this.expr.map(i=>i.serialize()).join(" || ")}keys(){const i=[];for(let a of this.expr)i.push(...a.keys());return i}negate(){if(!this.negated){let i=[];for(let a of this.expr)i.push(a.negate());for(;i.length>1;){const a=i.shift(),_=i.shift(),j=[];for(const ae of B(a))for(const oe of B(_))j.push(q.create([ae,oe],null));const ne=i.length===0;i.unshift(ee.create(j,null,ne))}this.negated=i[0]}return this.negated}}class G extends n{constructor(i,a,_){super(i,null),this._defaultValue=a,typeof _=="object"?G._info.push(Object.assign(Object.assign({},_),{key:i})):_!==!0&&G._info.push({key:i,description:_,type:a!=null?typeof a:void 0})}static all(){return G._info.values()}bindTo(i){return i.createKey(this.key,this._defaultValue)}getValue(i){return i.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(i){return r.create(this.key,i)}}G._info=[];const H=(0,D.yh)("contextKeyService"),$="setContext";function p(P,i){return P<i?-1:P>i?1:0}function Z(P,i,a,_){return P<a?-1:P>a?1:i<_?-1:i>_?1:0}function O(P,i){if(i.type===6&&P.type!==9&&P.type!==6){for(const j of i.expr)if(P.equals(j))return!0}const a=P.negate(),_=B(a).concat(B(i));_.sort(e);for(let j=0;j<_.length;j++){const ae=_[j].negate();for(let oe=j+1;oe<_.length;oe++){const fe=_[oe];if(ae.equals(fe))return!0}}return!1}function B(P){return P.type===9?P.expr:[P]}},16925:function(Ue,de,t){"use strict";t.d(de,{I8:function(){return x},TG:function(){return m},jt:function(){return L},yh:function(){return V}});var x;(function(F){F.serviceIds=new Map,F.DI_TARGET="$di$target",F.DI_DEPENDENCIES="$di$dependencies";function u(W){return W[F.DI_DEPENDENCIES]||[]}F.getServiceDependencies=u})(x||(x={}));const m=V("instantiationService");function D(F,u,W,e){u[x.DI_TARGET]===u?u[x.DI_DEPENDENCIES].push({id:F,index:W,optional:e}):(u[x.DI_DEPENDENCIES]=[{id:F,index:W,optional:e}],u[x.DI_TARGET]=u)}function V(F){if(x.serviceIds.has(F))return x.serviceIds.get(F);const u=function(W,e,h){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");D(u,W,h,!1)};return u.toString=()=>F,x.serviceIds.set(F,u),u}function L(F){return function(u,W,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");D(F,u,e,!0)}}},44650:function(Ue,de,t){"use strict";t.d(de,{B:function(){return V}});var x=t(76068),m=t(72999);class D{constructor(){this.data=new Map}add(F,u){x.ok(m.HD(F)),x.ok(m.Kn(u)),x.ok(!this.data.has(F),"There is already an extension with this id"),this.data.set(F,u)}as(F){return this.data.get(F)||null}}const V=new D},66213:function(Ue,de,t){"use strict";t.d(de,{e:function(){return x}});var x;(function(m){m.DARK="dark",m.LIGHT="light",m.HIGH_CONTRAST="hc"})(x||(x={}))},49055:function(Ue,de,t){"use strict";t.d(de,{EN:function(){return e},IP:function(){return n},Ic:function(){return l},XE:function(){return u},bB:function(){return w},kS:function(){return h},m6:function(){return v}});var x=t(52615),m=t(4348),D=t(69323),V=t(16925),L=t(44650),F=t(66213);const u=(0,V.yh)("themeService");var W;(function(k){function E(g){return g&&typeof g=="object"&&typeof g.id=="string"}k.isThemeColor=E})(W||(W={}));function e(k){return{id:k}}var h;(function(k){function E(b){return b&&typeof b=="object"&&typeof b.id=="string"&&(typeof b.color=="undefined"||W.isThemeColor(b.color))}k.isThemeIcon=E;const g=new RegExp(`^\\$\\((${x.dT.iconNameExpression}(?:${x.dT.iconModifierExpression})?)\\)$`);function I(b){const T=g.exec(b);if(!T)return;let[,q]=T;return{id:q}}k.fromString=I;function C(b,T){let q=b.id;const ee=q.lastIndexOf("~");return ee!==-1&&(q=q.substring(0,ee)),T&&(q=`${q}~${T}`),{id:q}}k.modify=C;function c(b,T){var q,ee;return b.id===T.id&&((q=b.color)===null||q===void 0?void 0:q.id)===((ee=T.color)===null||ee===void 0?void 0:ee.id)}k.isEqual=c;function s(b,T){return{id:b.id,color:T?e(T):void 0}}k.asThemeIcon=s,k.asClassNameArray=x.dT.asClassNameArray,k.asClassName=x.dT.asClassName,k.asCSSSelector=x.dT.asCSSSelector})(h||(h={}));function v(k){switch(k){case F.e.DARK:return"vs-dark";case F.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const n={ThemingContribution:"base.contributions.theming"};class r{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new m.Q5}onColorThemeChange(E){return this.themingParticipants.push(E),this.onThemingParticipantAddedEmitter.fire(E),(0,D.OF)(()=>{const g=this.themingParticipants.indexOf(E);this.themingParticipants.splice(g,1)})}getThemingParticipants(){return this.themingParticipants}}let o=new r;L.B.add(n.ThemingContribution,o);function l(k){return o.onColorThemeChange(k)}class w extends D.JT{constructor(E){super(),this.themeService=E,this.theme=E.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(g=>this.onThemeChange(g)))}onThemeChange(E){this.theme=E,this.updateStyles()}updateStyles(){}}},5630:function(Ue,de,t){"use strict";var x=t(72308),m=t(77321),D=t(49618),V=t(52487),L=t(74416),F=t(92310),u=t.n(F),W=t(18929),e=t(59301),h=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],v=(0,e.forwardRef)(function(n,r){var o,l=n.prefixCls,w=l===void 0?"rc-checkbox":l,k=n.className,E=n.style,g=n.checked,I=n.disabled,C=n.defaultChecked,c=C===void 0?!1:C,s=n.type,b=s===void 0?"checkbox":s,T=n.title,q=n.onChange,ee=(0,L.Z)(n,h),G=(0,e.useRef)(null),H=(0,W.Z)(c,{value:g}),$=(0,V.Z)(H,2),p=$[0],Z=$[1];(0,e.useImperativeHandle)(r,function(){return{focus:function(){var i;(i=G.current)===null||i===void 0||i.focus()},blur:function(){var i;(i=G.current)===null||i===void 0||i.blur()},input:G.current}});var O=u()(w,k,(o={},(0,D.Z)(o,"".concat(w,"-checked"),p),(0,D.Z)(o,"".concat(w,"-disabled"),I),o)),B=function(i){I||("checked"in n||Z(i.target.checked),q==null||q({target:(0,m.Z)((0,m.Z)({},n),{},{type:b,checked:i.target.checked}),stopPropagation:function(){i.stopPropagation()},preventDefault:function(){i.preventDefault()},nativeEvent:i.nativeEvent}))};return e.createElement("span",{className:O,title:T,style:E},e.createElement("input",(0,x.Z)({},ee,{className:"".concat(w,"-input"),ref:G,onChange:B,disabled:I,checked:!!p,type:b})),e.createElement("span",{className:"".concat(w,"-inner")}))});de.Z=v},31561:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return b}});var x=t(72308),m=t(49618),D=t(52487),V=t(74416),L=t(35593),F=t(92310),u=t.n(F),W=t(8654),e=t(59301),h=t(10228),v=t(16089),n=h.Z.ESC,r=h.Z.TAB;function o(T){var q=T.visible,ee=T.triggerRef,G=T.onVisibleChange,H=T.autoFocus,$=T.overlayRef,p=e.useRef(!1),Z=function(){if(q){var i,a;(i=ee.current)===null||i===void 0||(a=i.focus)===null||a===void 0||a.call(i),G==null||G(!1)}},O=function(){var i;return(i=$.current)!==null&&i!==void 0&&i.focus?($.current.focus(),p.current=!0,!0):!1},B=function(i){switch(i.keyCode){case n:Z();break;case r:{var a=!1;p.current||(a=O()),a?i.preventDefault():Z();break}}};e.useEffect(function(){return q?(window.addEventListener("keydown",B),H&&(0,v.Z)(O,3),function(){window.removeEventListener("keydown",B),p.current=!1}):function(){p.current=!1}},[q])}var l=(0,e.forwardRef)(function(T,q){var ee=T.overlay,G=T.arrow,H=T.prefixCls,$=(0,e.useMemo)(function(){var Z;return typeof ee=="function"?Z=ee():Z=ee,Z},[ee]),p=(0,W.sQ)(q,$==null?void 0:$.ref);return e.createElement(e.Fragment,null,G&&e.createElement("div",{className:"".concat(H,"-arrow")}),e.cloneElement($,{ref:(0,W.Yr)($)?p:void 0}))}),w=l,k={adjustX:1,adjustY:1},E=[0,0],g={topLeft:{points:["bl","tl"],overflow:k,offset:[0,-4],targetOffset:E},top:{points:["bc","tc"],overflow:k,offset:[0,-4],targetOffset:E},topRight:{points:["br","tr"],overflow:k,offset:[0,-4],targetOffset:E},bottomLeft:{points:["tl","bl"],overflow:k,offset:[0,4],targetOffset:E},bottom:{points:["tc","bc"],overflow:k,offset:[0,4],targetOffset:E},bottomRight:{points:["tr","br"],overflow:k,offset:[0,4],targetOffset:E}},I=g,C=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function c(T,q){var ee,G=T.arrow,H=G===void 0?!1:G,$=T.prefixCls,p=$===void 0?"rc-dropdown":$,Z=T.transitionName,O=T.animation,B=T.align,P=T.placement,i=P===void 0?"bottomLeft":P,a=T.placements,_=a===void 0?I:a,j=T.getPopupContainer,ne=T.showAction,ae=T.hideAction,oe=T.overlayClassName,fe=T.overlayStyle,Ee=T.visible,ke=T.trigger,Re=ke===void 0?["hover"]:ke,ze=T.autoFocus,Je=T.overlay,Oe=T.children,Ce=T.onVisibleChange,Y=(0,V.Z)(T,C),pe=e.useState(),M=(0,D.Z)(pe,2),U=M[0],A=M[1],R="visible"in T?Ee:U,te=e.useRef(null),y=e.useRef(null),f=e.useRef(null);e.useImperativeHandle(q,function(){return te.current});var d=function(_e){A(_e),Ce==null||Ce(_e)};o({visible:R,triggerRef:f,onVisibleChange:d,autoFocus:ze,overlayRef:y});var X=function(_e){var ve=T.onOverlayClick;A(!1),ve&&ve(_e)},K=function(){return e.createElement(w,{ref:y,overlay:Je,prefixCls:p,arrow:H})},z=function(){return typeof Je=="function"?K:K()},J=function(){var _e=T.minOverlayWidthMatchTrigger,ve=T.alignPoint;return"minOverlayWidthMatchTrigger"in T?_e:!ve},ce=function(){var _e=T.openClassName;return _e!==void 0?_e:"".concat(p,"-open")},re=e.cloneElement(Oe,{className:u()((ee=Oe.props)===null||ee===void 0?void 0:ee.className,R&&ce()),ref:(0,W.Yr)(Oe)?(0,W.sQ)(f,Oe.ref):void 0}),se=ae;return!se&&Re.indexOf("contextMenu")!==-1&&(se=["click"]),e.createElement(L.Z,(0,x.Z)({builtinPlacements:_},Y,{prefixCls:p,ref:te,popupClassName:u()(oe,(0,m.Z)({},"".concat(p,"-show-arrow"),H)),popupStyle:fe,action:Re,showAction:ne,hideAction:se,popupPlacement:i,popupAlign:B,popupTransitionName:Z,popupAnimation:O,popupVisible:R,stretch:J()?"minWidth":"",popup:z(),onPopupVisibleChange:d,onPopupClick:X,getPopupContainer:j}),re)}var s=e.forwardRef(c),b=s},93681:function(Ue,de,t){"use strict";t.r(de),t.d(de,{BaseInput:function(){return h},default:function(){return g}});var x=t(72308),m=t(77321),D=t(49618),V=t(62853),L=t(92310),F=t.n(L),u=t(59301),W=t(5643),e=function(C){var c,s,b=C.inputElement,T=C.prefixCls,q=C.prefix,ee=C.suffix,G=C.addonBefore,H=C.addonAfter,$=C.className,p=C.style,Z=C.disabled,O=C.readOnly,B=C.focused,P=C.triggerFocus,i=C.allowClear,a=C.value,_=C.handleReset,j=C.hidden,ne=C.classes,ae=C.classNames,oe=C.dataAttrs,fe=C.styles,Ee=C.components,ke=(Ee==null?void 0:Ee.affixWrapper)||"span",Re=(Ee==null?void 0:Ee.groupWrapper)||"span",ze=(Ee==null?void 0:Ee.wrapper)||"span",Je=(Ee==null?void 0:Ee.groupAddon)||"span",Oe=(0,u.useRef)(null),Ce=function(K){var z;(z=Oe.current)!==null&&z!==void 0&&z.contains(K.target)&&(P==null||P())},Y=function(){var K;if(!i)return null;var z=!Z&&!O&&a,J="".concat(T,"-clear-icon"),ce=(0,V.Z)(i)==="object"&&i!==null&&i!==void 0&&i.clearIcon?i.clearIcon:"\u2716";return u.createElement("span",{onClick:_,onMouseDown:function(se){return se.preventDefault()},className:F()(J,(K={},(0,D.Z)(K,"".concat(J,"-hidden"),!z),(0,D.Z)(K,"".concat(J,"-has-suffix"),!!ee),K)),role:"button",tabIndex:-1},ce)},pe=(0,u.cloneElement)(b,{value:a,hidden:j,className:F()((c=b.props)===null||c===void 0?void 0:c.className,!(0,W.X3)(C)&&!(0,W.He)(C)&&$)||null,style:(0,m.Z)((0,m.Z)({},(s=b.props)===null||s===void 0?void 0:s.style),!(0,W.X3)(C)&&!(0,W.He)(C)?p:{})});if((0,W.X3)(C)){var M,U="".concat(T,"-affix-wrapper"),A=F()(U,(M={},(0,D.Z)(M,"".concat(U,"-disabled"),Z),(0,D.Z)(M,"".concat(U,"-focused"),B),(0,D.Z)(M,"".concat(U,"-readonly"),O),(0,D.Z)(M,"".concat(U,"-input-with-clear-btn"),ee&&i&&a),M),!(0,W.He)(C)&&$,ne==null?void 0:ne.affixWrapper,ae==null?void 0:ae.affixWrapper),R=(ee||i)&&u.createElement("span",{className:F()("".concat(T,"-suffix"),ae==null?void 0:ae.suffix),style:fe==null?void 0:fe.suffix},Y(),ee);pe=u.createElement(ke,(0,x.Z)({className:A,style:(0,m.Z)((0,m.Z)({},(0,W.He)(C)?void 0:p),fe==null?void 0:fe.affixWrapper),hidden:!(0,W.He)(C)&&j,onClick:Ce},oe==null?void 0:oe.affixWrapper,{ref:Oe}),q&&u.createElement("span",{className:F()("".concat(T,"-prefix"),ae==null?void 0:ae.prefix),style:fe==null?void 0:fe.prefix},q),(0,u.cloneElement)(b,{value:a,hidden:null}),R)}if((0,W.He)(C)){var te="".concat(T,"-group"),y="".concat(te,"-addon"),f=F()("".concat(T,"-wrapper"),te,ne==null?void 0:ne.wrapper),d=F()("".concat(T,"-group-wrapper"),$,ne==null?void 0:ne.group);return u.createElement(Re,{className:d,style:p,hidden:j},u.createElement(ze,{className:f},G&&u.createElement(Je,{className:y},G),(0,u.cloneElement)(pe,{hidden:null}),H&&u.createElement(Je,{className:y},H)))}return pe},h=e,v=t(80702),n=t(52487),r=t(74416),o=t(18929),l=t(2738),w=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],k=(0,u.forwardRef)(function(I,C){var c=I.autoComplete,s=I.onChange,b=I.onFocus,T=I.onBlur,q=I.onPressEnter,ee=I.onKeyDown,G=I.prefixCls,H=G===void 0?"rc-input":G,$=I.disabled,p=I.htmlSize,Z=I.className,O=I.maxLength,B=I.suffix,P=I.showCount,i=I.type,a=i===void 0?"text":i,_=I.classes,j=I.classNames,ne=I.styles,ae=(0,r.Z)(I,w),oe=(0,o.Z)(I.defaultValue,{value:I.value}),fe=(0,n.Z)(oe,2),Ee=fe[0],ke=fe[1],Re=(0,u.useState)(!1),ze=(0,n.Z)(Re,2),Je=ze[0],Oe=ze[1],Ce=(0,u.useRef)(null),Y=function(d){Ce.current&&(0,W.nH)(Ce.current,d)};(0,u.useImperativeHandle)(C,function(){return{focus:Y,blur:function(){var d;(d=Ce.current)===null||d===void 0||d.blur()},setSelectionRange:function(d,X,K){var z;(z=Ce.current)===null||z===void 0||z.setSelectionRange(d,X,K)},select:function(){var d;(d=Ce.current)===null||d===void 0||d.select()},input:Ce.current}}),(0,u.useEffect)(function(){Oe(function(f){return f&&$?!1:f})},[$]);var pe=function(d){I.value===void 0&&ke(d.target.value),Ce.current&&(0,W.rJ)(Ce.current,d,s)},M=function(d){q&&d.key==="Enter"&&q(d),ee==null||ee(d)},U=function(d){Oe(!0),b==null||b(d)},A=function(d){Oe(!1),T==null||T(d)},R=function(d){ke(""),Y(),Ce.current&&(0,W.rJ)(Ce.current,d,s)},te=function(){var d=(0,l.Z)(I,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return u.createElement("input",(0,x.Z)({autoComplete:c},d,{onChange:pe,onFocus:U,onBlur:A,onKeyDown:M,className:F()(H,(0,D.Z)({},"".concat(H,"-disabled"),$),j==null?void 0:j.input),style:ne==null?void 0:ne.input,ref:Ce,size:p,type:a}))},y=function(){var d=Number(O)>0;if(B||P){var X=(0,W.D7)(Ee),K=(0,v.Z)(X).length,z=(0,V.Z)(P)==="object"?P.formatter({value:X,count:K,maxLength:O}):"".concat(K).concat(d?" / ".concat(O):"");return u.createElement(u.Fragment,null,!!P&&u.createElement("span",{className:F()("".concat(H,"-show-count-suffix"),(0,D.Z)({},"".concat(H,"-show-count-has-suffix"),!!B),j==null?void 0:j.count),style:(0,m.Z)({},ne==null?void 0:ne.count)},z),B)}return null};return u.createElement(h,(0,x.Z)({},ae,{prefixCls:H,className:Z,inputElement:te(),handleReset:R,value:(0,W.D7)(Ee),focused:Je,triggerFocus:Y,suffix:y(),disabled:$,classes:_,classNames:j,styles:ne}))}),E=k,g=E},5643:function(Ue,de,t){"use strict";t.d(de,{D7:function(){return L},He:function(){return x},X3:function(){return m},nH:function(){return V},rJ:function(){return D}});function x(F){return!!(F.addonBefore||F.addonAfter)}function m(F){return!!(F.prefix||F.suffix||F.allowClear)}function D(F,u,W,e){if(W){var h=u;if(u.type==="click"){var v=F.cloneNode(!0);h=Object.create(u,{target:{value:v},currentTarget:{value:v}}),v.value="",W(h);return}if(e!==void 0){h=Object.create(u,{target:{value:F},currentTarget:{value:F}}),F.value=e,W(h);return}W(h)}}function V(F,u){if(F){F.focus(u);var W=u||{},e=W.cursor;if(e){var h=F.value.length;switch(e){case"start":F.setSelectionRange(0,0);break;case"end":F.setSelectionRange(h,h);break;default:F.setSelectionRange(0,h)}}}}function L(F){return typeof F=="undefined"||F===null?"":String(F)}},15285:function(Ue,de,t){"use strict";t.d(de,{iz:function(){return xt},ck:function(){return tt},BW:function(){return bt},sN:function(){return tt},Wd:function(){return Fe},ZP:function(){return lt},Xl:function(){return ee}});var x=t(72308),m=t(49618),D=t(77321),V=t(80702),L=t(52487),F=t(74416),u=t(92310),W=t.n(u),e=t(11780),h=t(18929),v=t(13697),n=t(48736),r=t(59301),o=t(4676),l=r.createContext(null);function w(ge,Se){return ge===void 0?null:"".concat(ge,"-").concat(Se)}function k(ge){var Se=r.useContext(l);return w(Se,ge)}var E=t(80547),g=["children","locked"],I=r.createContext(null);function C(ge,Se){var De=(0,D.Z)({},ge);return Object.keys(Se).forEach(function(Ae){var Ne=Se[Ae];Ne!==void 0&&(De[Ae]=Ne)}),De}function c(ge){var Se=ge.children,De=ge.locked,Ae=(0,F.Z)(ge,g),Ne=r.useContext(I),Xe=(0,E.Z)(function(){return C(Ne,Ae)},[Ne,Ae],function(Me,qe){return!De&&(Me[0]!==qe[0]||!(0,v.Z)(Me[1],qe[1],!0))});return r.createElement(I.Provider,{value:Xe},Se)}var s=[],b=r.createContext(null);function T(){return r.useContext(b)}var q=r.createContext(s);function ee(ge){var Se=r.useContext(q);return r.useMemo(function(){return ge!==void 0?[].concat((0,V.Z)(Se),[ge]):Se},[Se,ge])}var G=r.createContext(null),H=r.createContext({}),$=H,p=t(29194);function Z(ge){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,p.Z)(ge)){var De=ge.nodeName.toLowerCase(),Ae=["input","select","textarea","button"].includes(De)||ge.isContentEditable||De==="a"&&!!ge.getAttribute("href"),Ne=ge.getAttribute("tabindex"),Xe=Number(Ne),Me=null;return Ne&&!Number.isNaN(Xe)?Me=Xe:Ae&&Me===null&&(Me=0),Ae&&ge.disabled&&(Me=null),Me!==null&&(Me>=0||Se&&Me<0)}return!1}function O(ge){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,De=(0,V.Z)(ge.querySelectorAll("*")).filter(function(Ae){return Z(Ae,Se)});return Z(ge,Se)&&De.unshift(ge),De}var B=null;function P(){B=document.activeElement}function i(){B=null}function a(){if(B)try{B.focus()}catch(ge){}}function _(ge,Se){if(Se.keyCode===9){var De=O(ge),Ae=De[Se.shiftKey?0:De.length-1],Ne=Ae===document.activeElement||ge===document.activeElement;if(Ne){var Xe=De[Se.shiftKey?De.length-1:0];Xe.focus(),Se.preventDefault()}}}var j=t(10228),ne=t(16089),ae=j.Z.LEFT,oe=j.Z.RIGHT,fe=j.Z.UP,Ee=j.Z.DOWN,ke=j.Z.ENTER,Re=j.Z.ESC,ze=j.Z.HOME,Je=j.Z.END,Oe=[fe,Ee,ae,oe];function Ce(ge,Se,De,Ae){var Ne,Xe,Me,qe,ft="prev",pt="next",Kt="children",Ot="parent";if(ge==="inline"&&Ae===ke)return{inlineTrigger:!0};var un=(Ne={},(0,m.Z)(Ne,fe,ft),(0,m.Z)(Ne,Ee,pt),Ne),_t=(Xe={},(0,m.Z)(Xe,ae,De?pt:ft),(0,m.Z)(Xe,oe,De?ft:pt),(0,m.Z)(Xe,Ee,Kt),(0,m.Z)(Xe,ke,Kt),Xe),ot=(Me={},(0,m.Z)(Me,fe,ft),(0,m.Z)(Me,Ee,pt),(0,m.Z)(Me,ke,Kt),(0,m.Z)(Me,Re,Ot),(0,m.Z)(Me,ae,De?Kt:Ot),(0,m.Z)(Me,oe,De?Ot:Kt),Me),Yt={inline:un,horizontal:_t,vertical:ot,inlineSub:un,horizontalSub:ot,verticalSub:ot},Wt=(qe=Yt["".concat(ge).concat(Se?"":"Sub")])===null||qe===void 0?void 0:qe[Ae];switch(Wt){case ft:return{offset:-1,sibling:!0};case pt:return{offset:1,sibling:!0};case Ot:return{offset:-1,sibling:!1};case Kt:return{offset:1,sibling:!1};default:return null}}function Y(ge){for(var Se=ge;Se;){if(Se.getAttribute("data-menu-list"))return Se;Se=Se.parentElement}return null}function pe(ge,Se){for(var De=ge||document.activeElement;De;){if(Se.has(De))return De;De=De.parentElement}return null}function M(ge,Se){var De=O(ge,!0);return De.filter(function(Ae){return Se.has(Ae)})}function U(ge,Se,De){var Ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!ge)return null;var Ne=M(ge,Se),Xe=Ne.length,Me=Ne.findIndex(function(qe){return De===qe});return Ae<0?Me===-1?Me=Xe-1:Me-=1:Ae>0&&(Me+=1),Me=(Me+Xe)%Xe,Ne[Me]}var A=function(Se,De){var Ae=new Set,Ne=new Map,Xe=new Map;return Se.forEach(function(Me){var qe=document.querySelector("[data-menu-id='".concat(w(De,Me),"']"));qe&&(Ae.add(qe),Xe.set(qe,Me),Ne.set(Me,qe))}),{elements:Ae,key2element:Ne,element2key:Xe}};function R(ge,Se,De,Ae,Ne,Xe,Me,qe,ft,pt){var Kt=r.useRef(),Ot=r.useRef();Ot.current=Se;var un=function(){ne.Z.cancel(Kt.current)};return r.useEffect(function(){return function(){un()}},[]),function(_t){var ot=_t.which;if([].concat(Oe,[ke,Re,ze,Je]).includes(ot)){var Yt=Xe(),Wt=A(Yt,Ae),zn=Wt,En=zn.elements,mn=zn.key2element,Dn=zn.element2key,Jt=mn.get(Se),Zn=pe(Jt,En),ur=Dn.get(Zn),At=Ce(ge,Me(ur,!0).length===1,De,ot);if(!At&&ot!==ze&&ot!==Je)return;(Oe.includes(ot)||[ze,Je].includes(ot))&&_t.preventDefault();var Ht=function(jn){if(jn){var tr=jn,It=jn.querySelector("a");It!=null&&It.getAttribute("href")&&(tr=It);var ut=Dn.get(jn);qe(ut),un(),Kt.current=(0,ne.Z)(function(){Ot.current===ut&&tr.focus()})}};if([ze,Je].includes(ot)||At.sibling||!Zn){var Ut;!Zn||ge==="inline"?Ut=Ne.current:Ut=Y(Zn);var On,bn=M(Ut,En);ot===ze?On=bn[0]:ot===Je?On=bn[bn.length-1]:On=U(Ut,En,Zn,At.offset),Ht(On)}else if(At.inlineTrigger)ft(ur);else if(At.offset>0)ft(ur,!0),un(),Kt.current=(0,ne.Z)(function(){Wt=A(Yt,Ae);var or=Zn.getAttribute("aria-controls"),jn=document.getElementById(or),tr=U(jn,Wt.elements);Ht(tr)},5);else if(At.offset<0){var Sn=Me(ur,!0),_n=Sn[Sn.length-2],kn=mn.get(_n);ft(_n,!1),Ht(kn)}}pt==null||pt(_t)}}function te(ge){Promise.resolve().then(ge)}var y="__RC_UTIL_PATH_SPLIT__",f=function(Se){return Se.join(y)},d=function(Se){return Se.split(y)},X="rc-menu-more";function K(){var ge=r.useState({}),Se=(0,L.Z)(ge,2),De=Se[1],Ae=(0,r.useRef)(new Map),Ne=(0,r.useRef)(new Map),Xe=r.useState([]),Me=(0,L.Z)(Xe,2),qe=Me[0],ft=Me[1],pt=(0,r.useRef)(0),Kt=(0,r.useRef)(!1),Ot=function(){Kt.current||De({})},un=(0,r.useCallback)(function(mn,Dn){var Jt=f(Dn);Ne.current.set(Jt,mn),Ae.current.set(mn,Jt),pt.current+=1;var Zn=pt.current;te(function(){Zn===pt.current&&Ot()})},[]),_t=(0,r.useCallback)(function(mn,Dn){var Jt=f(Dn);Ne.current.delete(Jt),Ae.current.delete(mn)},[]),ot=(0,r.useCallback)(function(mn){ft(mn)},[]),Yt=(0,r.useCallback)(function(mn,Dn){var Jt=Ae.current.get(mn)||"",Zn=d(Jt);return Dn&&qe.includes(Zn[0])&&Zn.unshift(X),Zn},[qe]),Wt=(0,r.useCallback)(function(mn,Dn){return mn.some(function(Jt){var Zn=Yt(Jt,!0);return Zn.includes(Dn)})},[Yt]),zn=function(){var Dn=(0,V.Z)(Ae.current.keys());return qe.length&&Dn.push(X),Dn},En=(0,r.useCallback)(function(mn){var Dn="".concat(Ae.current.get(mn)).concat(y),Jt=new Set;return(0,V.Z)(Ne.current.keys()).forEach(function(Zn){Zn.startsWith(Dn)&&Jt.add(Ne.current.get(Zn))}),Jt},[]);return r.useEffect(function(){return function(){Kt.current=!0}},[]),{registerPath:un,unregisterPath:_t,refreshOverflowKeys:ot,isSubPathKey:Wt,getKeyPath:Yt,getKeys:zn,getSubPathKeys:En}}function z(ge){var Se=r.useRef(ge);Se.current=ge;var De=r.useCallback(function(){for(var Ae,Ne=arguments.length,Xe=new Array(Ne),Me=0;Me<Ne;Me++)Xe[Me]=arguments[Me];return(Ae=Se.current)===null||Ae===void 0?void 0:Ae.call.apply(Ae,[Se].concat(Xe))},[]);return ge?De:void 0}var J=Math.random().toFixed(5).toString().slice(2),ce=0;function re(ge){var Se=(0,h.Z)(ge,{value:ge}),De=(0,L.Z)(Se,2),Ae=De[0],Ne=De[1];return r.useEffect(function(){ce+=1;var Xe="".concat(J,"-").concat(ce);Ne("rc-menu-uuid-".concat(Xe))},[]),Ae}var se=t(96949),me=t(55090),_e=t(77205),ve=t(38793),Be=t(2738),$e=t(8654);function Ie(ge,Se,De,Ae){var Ne=r.useContext(I),Xe=Ne.activeKey,Me=Ne.onActive,qe=Ne.onInactive,ft={active:Xe===ge};return Se||(ft.onMouseEnter=function(pt){De==null||De({key:ge,domEvent:pt}),Me(ge)},ft.onMouseLeave=function(pt){Ae==null||Ae({key:ge,domEvent:pt}),qe(ge)}),ft}function He(ge){var Se=r.useContext(I),De=Se.mode,Ae=Se.rtl,Ne=Se.inlineIndent;if(De!=="inline")return null;var Xe=ge;return Ae?{paddingRight:Xe*Ne}:{paddingLeft:Xe*Ne}}function et(ge){var Se=ge.icon,De=ge.props,Ae=ge.children,Ne;return Se===null||Se===!1?null:(typeof Se=="function"?Ne=r.createElement(Se,(0,D.Z)({},De)):typeof Se!="boolean"&&(Ne=Se),Ne||Ae||null)}var st=["item"];function nt(ge){var Se=ge.item,De=(0,F.Z)(ge,st);return Object.defineProperty(De,"item",{get:function(){return(0,n.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),Se}}),De}var Rt=["title","attribute","elementRef"],Nt=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Tt=["active"],Mt=function(ge){(0,_e.Z)(De,ge);var Se=(0,ve.Z)(De);function De(){return(0,se.Z)(this,De),Se.apply(this,arguments)}return(0,me.Z)(De,[{key:"render",value:function(){var Ne=this.props,Xe=Ne.title,Me=Ne.attribute,qe=Ne.elementRef,ft=(0,F.Z)(Ne,Rt),pt=(0,Be.Z)(ft,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,n.ZP)(!Me,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r.createElement(e.Z.Item,(0,x.Z)({},Me,{title:typeof Xe=="string"?Xe:void 0},pt,{ref:qe}))}}]),De}(r.Component),on=r.forwardRef(function(ge,Se){var De,Ae=ge.style,Ne=ge.className,Xe=ge.eventKey,Me=ge.warnKey,qe=ge.disabled,ft=ge.itemIcon,pt=ge.children,Kt=ge.role,Ot=ge.onMouseEnter,un=ge.onMouseLeave,_t=ge.onClick,ot=ge.onKeyDown,Yt=ge.onFocus,Wt=(0,F.Z)(ge,Nt),zn=k(Xe),En=r.useContext(I),mn=En.prefixCls,Dn=En.onItemClick,Jt=En.disabled,Zn=En.overflowDisabled,ur=En.itemIcon,At=En.selectedKeys,Ht=En.onActive,Ut=r.useContext($),On=Ut._internalRenderMenuItem,bn="".concat(mn,"-item"),Sn=r.useRef(),_n=r.useRef(),kn=Jt||qe,or=(0,$e.x1)(Se,_n),jn=ee(Xe),tr=function(Xn){return{key:Xe,keyPath:(0,V.Z)(jn).reverse(),item:Sn.current,domEvent:Xn}},It=ft||ur,ut=Ie(Xe,kn,Ot,un),rn=ut.active,xn=(0,F.Z)(ut,Tt),Gn=At.includes(Xe),Pr=He(jn.length),hr=function(Xn){if(!kn){var _r=tr(Xn);_t==null||_t(nt(_r)),Dn(_r)}},sr=function(Xn){if(ot==null||ot(Xn),Xn.which===j.Z.ENTER){var _r=tr(Xn);_t==null||_t(nt(_r)),Dn(_r)}},mr=function(Xn){Ht(Xe),Yt==null||Yt(Xn)},vr={};ge.role==="option"&&(vr["aria-selected"]=Gn);var yr=r.createElement(Mt,(0,x.Z)({ref:Sn,elementRef:or,role:Kt===null?"none":Kt||"menuitem",tabIndex:qe?null:-1,"data-menu-id":Zn&&zn?null:zn},Wt,xn,vr,{component:"li","aria-disabled":qe,style:(0,D.Z)((0,D.Z)({},Pr),Ae),className:W()(bn,(De={},(0,m.Z)(De,"".concat(bn,"-active"),rn),(0,m.Z)(De,"".concat(bn,"-selected"),Gn),(0,m.Z)(De,"".concat(bn,"-disabled"),kn),De),Ne),onClick:hr,onKeyDown:sr,onFocus:mr}),pt,r.createElement(et,{props:(0,D.Z)((0,D.Z)({},ge),{},{isSelected:Gn}),icon:It}));return On&&(yr=On(yr,ge,{selected:Gn})),yr});function Ct(ge,Se){var De=ge.eventKey,Ae=T(),Ne=ee(De);return r.useEffect(function(){if(Ae)return Ae.registerPath(De,Ne),function(){Ae.unregisterPath(De,Ne)}},[Ne]),Ae?null:r.createElement(on,(0,x.Z)({},ge,{ref:Se}))}var tt=r.forwardRef(Ct),$t=["className","children"],Vt=function(Se,De){var Ae=Se.className,Ne=Se.children,Xe=(0,F.Z)(Se,$t),Me=r.useContext(I),qe=Me.prefixCls,ft=Me.mode,pt=Me.rtl;return r.createElement("ul",(0,x.Z)({className:W()(qe,pt&&"".concat(qe,"-rtl"),"".concat(qe,"-sub"),"".concat(qe,"-").concat(ft==="inline"?"inline":"vertical"),Ae),role:"menu"},Xe,{"data-menu-list":!0,ref:De}),Ne)},je=r.forwardRef(Vt);je.displayName="SubMenuList";var qt=je,gn=t(11592);function sn(ge,Se){return(0,gn.Z)(ge).map(function(De,Ae){if(r.isValidElement(De)){var Ne,Xe,Me=De.key,qe=(Ne=(Xe=De.props)===null||Xe===void 0?void 0:Xe.eventKey)!==null&&Ne!==void 0?Ne:Me,ft=qe==null;ft&&(qe="tmp_key-".concat([].concat((0,V.Z)(Se),[Ae]).join("-")));var pt={key:qe,eventKey:qe};return r.cloneElement(De,pt)}return De})}var An=t(35593),Ln={adjustX:1,adjustY:1},Kn={topLeft:{points:["bl","tl"],overflow:Ln},topRight:{points:["br","tr"],overflow:Ln},bottomLeft:{points:["tl","bl"],overflow:Ln},bottomRight:{points:["tr","br"],overflow:Ln},leftTop:{points:["tr","tl"],overflow:Ln},leftBottom:{points:["br","bl"],overflow:Ln},rightTop:{points:["tl","tr"],overflow:Ln},rightBottom:{points:["bl","br"],overflow:Ln}},rr={topLeft:{points:["bl","tl"],overflow:Ln},topRight:{points:["br","tr"],overflow:Ln},bottomLeft:{points:["tl","bl"],overflow:Ln},bottomRight:{points:["tr","br"],overflow:Ln},rightTop:{points:["tr","tl"],overflow:Ln},rightBottom:{points:["br","bl"],overflow:Ln},leftTop:{points:["tl","tr"],overflow:Ln},leftBottom:{points:["bl","br"],overflow:Ln}},Gt=null;function St(ge,Se,De){if(Se)return Se;if(De)return De[ge]||De.other}var Xt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function ln(ge){var Se=ge.prefixCls,De=ge.visible,Ae=ge.children,Ne=ge.popup,Xe=ge.popupStyle,Me=ge.popupClassName,qe=ge.popupOffset,ft=ge.disabled,pt=ge.mode,Kt=ge.onVisibleChange,Ot=r.useContext(I),un=Ot.getPopupContainer,_t=Ot.rtl,ot=Ot.subMenuOpenDelay,Yt=Ot.subMenuCloseDelay,Wt=Ot.builtinPlacements,zn=Ot.triggerSubMenuAction,En=Ot.forceSubMenuRender,mn=Ot.rootClassName,Dn=Ot.motion,Jt=Ot.defaultMotions,Zn=r.useState(!1),ur=(0,L.Z)(Zn,2),At=ur[0],Ht=ur[1],Ut=_t?(0,D.Z)((0,D.Z)({},rr),Wt):(0,D.Z)((0,D.Z)({},Kn),Wt),On=Xt[pt],bn=St(pt,Dn,Jt),Sn=r.useRef(bn);pt!=="inline"&&(Sn.current=bn);var _n=(0,D.Z)((0,D.Z)({},Sn.current),{},{leavedClassName:"".concat(Se,"-hidden"),removeOnLeave:!1,motionAppear:!0}),kn=r.useRef();return r.useEffect(function(){return kn.current=(0,ne.Z)(function(){Ht(De)}),function(){ne.Z.cancel(kn.current)}},[De]),r.createElement(An.Z,{prefixCls:Se,popupClassName:W()("".concat(Se,"-popup"),(0,m.Z)({},"".concat(Se,"-rtl"),_t),Me,mn),stretch:pt==="horizontal"?"minWidth":null,getPopupContainer:un,builtinPlacements:Ut,popupPlacement:On,popupVisible:At,popup:Ne,popupStyle:Xe,popupAlign:qe&&{offset:qe},action:ft?[]:[zn],mouseEnterDelay:ot,mouseLeaveDelay:Yt,onPopupVisibleChange:Kt,forceRender:En,popupMotion:_n,fresh:!0},Ae)}var Bn=t(77900);function Pn(ge){var Se=ge.id,De=ge.open,Ae=ge.keyPath,Ne=ge.children,Xe="inline",Me=r.useContext(I),qe=Me.prefixCls,ft=Me.forceSubMenuRender,pt=Me.motion,Kt=Me.defaultMotions,Ot=Me.mode,un=r.useRef(!1);un.current=Ot===Xe;var _t=r.useState(!un.current),ot=(0,L.Z)(_t,2),Yt=ot[0],Wt=ot[1],zn=un.current?De:!1;r.useEffect(function(){un.current&&Wt(!1)},[Ot]);var En=(0,D.Z)({},St(Xe,pt,Kt));Ae.length>1&&(En.motionAppear=!1);var mn=En.onVisibleChanged;return En.onVisibleChanged=function(Dn){return!un.current&&!Dn&&Wt(!0),mn==null?void 0:mn(Dn)},Yt?null:r.createElement(c,{mode:Xe,locked:!un.current},r.createElement(Bn.default,(0,x.Z)({visible:zn},En,{forceRender:ft,removeOnLeave:!1,leavedClassName:"".concat(qe,"-hidden")}),function(Dn){var Jt=Dn.className,Zn=Dn.style;return r.createElement(qt,{id:Se,className:Jt,style:Zn},Ne)}))}var ye=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],he=["active"],Ve=function(Se){var De,Ae=Se.style,Ne=Se.className,Xe=Se.title,Me=Se.eventKey,qe=Se.warnKey,ft=Se.disabled,pt=Se.internalPopupClose,Kt=Se.children,Ot=Se.itemIcon,un=Se.expandIcon,_t=Se.popupClassName,ot=Se.popupOffset,Yt=Se.popupStyle,Wt=Se.onClick,zn=Se.onMouseEnter,En=Se.onMouseLeave,mn=Se.onTitleClick,Dn=Se.onTitleMouseEnter,Jt=Se.onTitleMouseLeave,Zn=(0,F.Z)(Se,ye),ur=k(Me),At=r.useContext(I),Ht=At.prefixCls,Ut=At.mode,On=At.openKeys,bn=At.disabled,Sn=At.overflowDisabled,_n=At.activeKey,kn=At.selectedKeys,or=At.itemIcon,jn=At.expandIcon,tr=At.onItemClick,It=At.onOpenChange,ut=At.onActive,rn=r.useContext($),xn=rn._internalRenderSubMenuItem,Gn=r.useContext(G),Pr=Gn.isSubPathKey,hr=ee(),sr="".concat(Ht,"-submenu"),mr=bn||ft,vr=r.useRef(),yr=r.useRef(),Dr=Ot!=null?Ot:or,Xn=un!=null?un:jn,_r=On.includes(Me),Fr=!Sn&&_r,Ar=Pr(kn,Me),Sr=Ie(Me,mr,Dn,Jt),Hr=Sr.active,Wr=(0,F.Z)(Sr,he),ti=r.useState(!1),qr=(0,L.Z)(ti,2),_i=qr[0],yi=qr[1],li=function(xr){mr||yi(xr)},Ur=function(xr){li(!0),zn==null||zn({key:Me,domEvent:xr})},Pi=function(xr){li(!1),En==null||En({key:Me,domEvent:xr})},bi=r.useMemo(function(){return Hr||(Ut!=="inline"?_i||Pr([_n],Me):!1)},[Ut,Hr,_n,_i,Me,Pr]),ui=He(hr.length),ci=function(xr){mr||(mn==null||mn({key:Me,domEvent:xr}),Ut==="inline"&&It(Me,!_r))},ni=z(function(br){Wt==null||Wt(nt(br)),tr(br)}),Ft=function(xr){Ut!=="inline"&&It(Me,xr)},Cn=function(){ut(Me)},Qt=ur&&"".concat(ur,"-popup"),vn=r.createElement("div",(0,x.Z)({role:"menuitem",style:ui,className:"".concat(sr,"-title"),tabIndex:mr?null:-1,ref:vr,title:typeof Xe=="string"?Xe:null,"data-menu-id":Sn&&ur?null:ur,"aria-expanded":Fr,"aria-haspopup":!0,"aria-controls":Qt,"aria-disabled":mr,onClick:ci,onFocus:Cn},Wr),Xe,r.createElement(et,{icon:Ut!=="horizontal"?Xn:void 0,props:(0,D.Z)((0,D.Z)({},Se),{},{isOpen:Fr,isSubMenu:!0})},r.createElement("i",{className:"".concat(sr,"-arrow")}))),Mn=r.useRef(Ut);if(Ut!=="inline"&&hr.length>1?Mn.current="vertical":Mn.current=Ut,!Sn){var Yn=Mn.current;vn=r.createElement(ln,{mode:Yn,prefixCls:sr,visible:!pt&&Fr&&Ut!=="inline",popupClassName:_t,popupOffset:ot,popupStyle:Yt,popup:r.createElement(c,{mode:Yn==="horizontal"?"vertical":Yn},r.createElement(qt,{id:Qt,ref:yr},Kt)),disabled:mr,onVisibleChange:Ft},vn)}var Lr=r.createElement(e.Z.Item,(0,x.Z)({role:"none"},Zn,{component:"li",style:Ae,className:W()(sr,"".concat(sr,"-").concat(Ut),Ne,(De={},(0,m.Z)(De,"".concat(sr,"-open"),Fr),(0,m.Z)(De,"".concat(sr,"-active"),bi),(0,m.Z)(De,"".concat(sr,"-selected"),Ar),(0,m.Z)(De,"".concat(sr,"-disabled"),mr),De)),onMouseEnter:Ur,onMouseLeave:Pi}),vn,!Sn&&r.createElement(Pn,{id:Qt,open:Fr,keyPath:hr},Kt));return xn&&(Lr=xn(Lr,Se,{selected:Ar,active:bi,open:Fr,disabled:mr})),r.createElement(c,{onItemClick:ni,mode:Ut==="horizontal"?"vertical":Ut,itemIcon:Dr,expandIcon:Xn},Lr)};function Fe(ge){var Se=ge.eventKey,De=ge.children,Ae=ee(Se),Ne=sn(De,Ae),Xe=T();r.useEffect(function(){if(Xe)return Xe.registerPath(Se,Ae),function(){Xe.unregisterPath(Se,Ae)}},[Ae]);var Me;return Xe?Me=Ne:Me=r.createElement(Ve,ge,Ne),r.createElement(q.Provider,{value:Ae},Me)}var ht=t(62853),rt=["className","title","eventKey","children"],gt=["children"],it=function(Se){var De=Se.className,Ae=Se.title,Ne=Se.eventKey,Xe=Se.children,Me=(0,F.Z)(Se,rt),qe=r.useContext(I),ft=qe.prefixCls,pt="".concat(ft,"-item-group");return r.createElement("li",(0,x.Z)({role:"presentation"},Me,{onClick:function(Ot){return Ot.stopPropagation()},className:W()(pt,De)}),r.createElement("div",{role:"presentation",className:"".concat(pt,"-title"),title:typeof Ae=="string"?Ae:void 0},Ae),r.createElement("ul",{role:"group",className:"".concat(pt,"-list")},Xe))};function bt(ge){var Se=ge.children,De=(0,F.Z)(ge,gt),Ae=ee(De.eventKey),Ne=sn(Se,Ae),Xe=T();return Xe?Ne:r.createElement(it,(0,Be.Z)(De,["warnKey"]),Ne)}function xt(ge){var Se=ge.className,De=ge.style,Ae=r.useContext(I),Ne=Ae.prefixCls,Xe=T();return Xe?null:r.createElement("li",{role:"separator",className:W()("".concat(Ne,"-item-divider"),Se),style:De})}var wt=["label","children","key","type"];function Ze(ge){return(ge||[]).map(function(Se,De){if(Se&&(0,ht.Z)(Se)==="object"){var Ae=Se,Ne=Ae.label,Xe=Ae.children,Me=Ae.key,qe=Ae.type,ft=(0,F.Z)(Ae,wt),pt=Me!=null?Me:"tmp-".concat(De);return Xe||qe==="group"?qe==="group"?r.createElement(bt,(0,x.Z)({key:pt},ft,{title:Ne}),Ze(Xe)):r.createElement(Fe,(0,x.Z)({key:pt},ft,{title:Ne}),Ze(Xe)):qe==="divider"?r.createElement(xt,(0,x.Z)({key:pt},ft)):r.createElement(tt,(0,x.Z)({key:pt},ft),Ne)}return null}).filter(function(Se){return Se})}function Ke(ge,Se,De){var Ae=ge;return Se&&(Ae=Ze(Se)),sn(Ae,De)}var Ge=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],at=[],kt=r.forwardRef(function(ge,Se){var De,Ae,Ne=ge,Xe=Ne.prefixCls,Me=Xe===void 0?"rc-menu":Xe,qe=Ne.rootClassName,ft=Ne.style,pt=Ne.className,Kt=Ne.tabIndex,Ot=Kt===void 0?0:Kt,un=Ne.items,_t=Ne.children,ot=Ne.direction,Yt=Ne.id,Wt=Ne.mode,zn=Wt===void 0?"vertical":Wt,En=Ne.inlineCollapsed,mn=Ne.disabled,Dn=Ne.disabledOverflow,Jt=Ne.subMenuOpenDelay,Zn=Jt===void 0?.1:Jt,ur=Ne.subMenuCloseDelay,At=ur===void 0?.1:ur,Ht=Ne.forceSubMenuRender,Ut=Ne.defaultOpenKeys,On=Ne.openKeys,bn=Ne.activeKey,Sn=Ne.defaultActiveFirst,_n=Ne.selectable,kn=_n===void 0?!0:_n,or=Ne.multiple,jn=or===void 0?!1:or,tr=Ne.defaultSelectedKeys,It=Ne.selectedKeys,ut=Ne.onSelect,rn=Ne.onDeselect,xn=Ne.inlineIndent,Gn=xn===void 0?24:xn,Pr=Ne.motion,hr=Ne.defaultMotions,sr=Ne.triggerSubMenuAction,mr=sr===void 0?"hover":sr,vr=Ne.builtinPlacements,yr=Ne.itemIcon,Dr=Ne.expandIcon,Xn=Ne.overflowedIndicator,_r=Xn===void 0?"...":Xn,Fr=Ne.overflowedIndicatorPopupClassName,Ar=Ne.getPopupContainer,Sr=Ne.onClick,Hr=Ne.onOpenChange,Wr=Ne.onKeyDown,ti=Ne.openAnimation,qr=Ne.openTransitionName,_i=Ne._internalRenderMenuItem,yi=Ne._internalRenderSubMenuItem,li=(0,F.Z)(Ne,Ge),Ur=r.useMemo(function(){return Ke(_t,un,at)},[_t,un]),Pi=r.useState(!1),bi=(0,L.Z)(Pi,2),ui=bi[0],ci=bi[1],ni=r.useRef(),Ft=re(Yt),Cn=ot==="rtl",Qt=(0,h.Z)(Ut,{value:On,postState:function(wr){return wr||at}}),vn=(0,L.Z)(Qt,2),Mn=vn[0],Yn=vn[1],Lr=function(wr){var Tr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function wi(){Yn(wr),Hr==null||Hr(wr)}Tr?(0,o.flushSync)(wi):wi()},br=r.useState(Mn),xr=(0,L.Z)(br,2),Or=xr[0],di=xr[1],Ni=r.useRef(!1),Zi=r.useMemo(function(){return(zn==="inline"||zn==="vertical")&&En?["vertical",En]:[zn,!1]},[zn,En]),mi=(0,L.Z)(Zi,2),ai=mi[0],Lt=mi[1],In=ai==="inline",pr=r.useState(ai),Br=(0,L.Z)(pr,2),lr=Br[0],zi=Br[1],ji=r.useState(Lt),Hi=(0,L.Z)(ji,2),$i=Hi[0],xa=Hi[1];r.useEffect(function(){zi(ai),xa(Lt),Ni.current&&(In?Yn(Or):Lr(at))},[ai,Lt]);var la=r.useState(0),aa=(0,L.Z)(la,2),ea=aa[0],ua=aa[1],ta=ea>=Ur.length-1||lr!=="horizontal"||Dn;r.useEffect(function(){In&&di(Mn)},[Mn]),r.useEffect(function(){return Ni.current=!0,function(){Ni.current=!1}},[]);var ki=K(),ca=ki.registerPath,da=ki.unregisterPath,fa=ki.refreshOverflowKeys,Gi=ki.isSubPathKey,Jn=ki.getKeyPath,Hn=ki.getKeys,ei=ki.getSubPathKeys,jr=r.useMemo(function(){return{registerPath:ca,unregisterPath:da}},[ca,da]),Zr=r.useMemo(function(){return{isSubPathKey:Gi}},[Gi]);r.useEffect(function(){fa(ta?at:Ur.slice(ea+1).map(function(zr){return zr.key}))},[ea,ta]);var ri=(0,h.Z)(bn||Sn&&((De=Ur[0])===null||De===void 0?void 0:De.key),{value:bn}),oi=(0,L.Z)(ri,2),Di=oi[0],xi=oi[1],Xi=z(function(zr){xi(zr)}),Mi=z(function(){xi(void 0)});(0,r.useImperativeHandle)(Se,function(){return{list:ni.current,focus:function(wr){var Tr,wi=Hn(),Ci=A(wi,Ft),ga=Ci.elements,Yi=Ci.key2element,_a=Ci.element2key,Ta=M(ni.current,ga),Na=Di!=null?Di:Ta[0]?_a.get(Ta[0]):(Tr=Ur.find(function(Va){return!Va.props.disabled}))===null||Tr===void 0?void 0:Tr.key,ya=Yi.get(Na);if(Na&&ya){var Sa;ya==null||(Sa=ya.focus)===null||Sa===void 0||Sa.call(ya,wr)}}}});var ha=(0,h.Z)(tr||[],{value:It,postState:function(wr){return Array.isArray(wr)?wr:wr==null?at:[wr]}}),Ia=(0,L.Z)(ha,2),pa=Ia[0],ma=Ia[1],wa=function(wr){if(kn){var Tr=wr.key,wi=pa.includes(Tr),Ci;jn?wi?Ci=pa.filter(function(Yi){return Yi!==Tr}):Ci=[].concat((0,V.Z)(pa),[Tr]):Ci=[Tr],ma(Ci);var ga=(0,D.Z)((0,D.Z)({},wr),{},{selectedKeys:Ci});wi?rn==null||rn(ga):ut==null||ut(ga)}!jn&&Mn.length&&lr!=="inline"&&Lr(at)},va=z(function(zr){Sr==null||Sr(nt(zr)),wa(zr)}),Ca=z(function(zr,wr){var Tr=Mn.filter(function(Ci){return Ci!==zr});if(wr)Tr.push(zr);else if(lr!=="inline"){var wi=ei(zr);Tr=Tr.filter(function(Ci){return!wi.has(Ci)})}(0,v.Z)(Mn,Tr,!0)||Lr(Tr,!0)}),Ba=function(wr,Tr){var wi=Tr!=null?Tr:!Mn.includes(wr);Ca(wr,wi)},Ea=R(lr,Di,Cn,Ft,ni,Hn,Jn,xi,Ba,Wr);r.useEffect(function(){ci(!0)},[]);var Ra=r.useMemo(function(){return{_internalRenderMenuItem:_i,_internalRenderSubMenuItem:yi}},[_i,yi]),Pa=lr!=="horizontal"||Dn?Ur:Ur.map(function(zr,wr){return r.createElement(c,{key:zr.key,overflowDisabled:wr>ea},zr)}),Da=r.createElement(e.Z,(0,x.Z)({id:Yt,ref:ni,prefixCls:"".concat(Me,"-overflow"),component:"ul",itemComponent:tt,className:W()(Me,"".concat(Me,"-root"),"".concat(Me,"-").concat(lr),pt,(Ae={},(0,m.Z)(Ae,"".concat(Me,"-inline-collapsed"),$i),(0,m.Z)(Ae,"".concat(Me,"-rtl"),Cn),Ae),qe),dir:ot,style:ft,role:"menu",tabIndex:Ot,data:Pa,renderRawItem:function(wr){return wr},renderRawRest:function(wr){var Tr=wr.length,wi=Tr?Ur.slice(-Tr):null;return r.createElement(Fe,{eventKey:X,title:_r,disabled:ta,internalPopupClose:Tr===0,popupClassName:Fr},wi)},maxCount:lr!=="horizontal"||Dn?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(wr){ua(wr)},onKeyDown:Ea},li));return r.createElement($.Provider,{value:Ra},r.createElement(l.Provider,{value:Ft},r.createElement(c,{prefixCls:Me,rootClassName:qe,mode:lr,openKeys:Mn,rtl:Cn,disabled:mn,motion:ui?Pr:null,defaultMotions:ui?hr:null,activeKey:Di,onActive:Xi,onInactive:Mi,selectedKeys:pa,inlineIndent:Gn,subMenuOpenDelay:Zn,subMenuCloseDelay:At,forceSubMenuRender:Ht,builtinPlacements:vr,triggerSubMenuAction:mr,getPopupContainer:Ar,itemIcon:yr,expandIcon:Dr,onItemClick:va,onOpenChange:Ca},r.createElement(G.Provider,{value:Zr},Da),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(b.Provider,{value:jr},Ur)))))}),hn=kt,Zt=hn;Zt.Item=tt,Zt.SubMenu=Fe,Zt.ItemGroup=bt,Zt.Divider=xt;var lt=Zt},11780:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return P}});var x=t(72308),m=t(77321),D=t(52487),V=t(74416),L=t(59301),F=t(92310),u=t.n(F),W=t(29301),e=t(34280),h=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],v=void 0;function n(i,a){var _=i.prefixCls,j=i.invalidate,ne=i.item,ae=i.renderItem,oe=i.responsive,fe=i.responsiveDisabled,Ee=i.registerSize,ke=i.itemKey,Re=i.className,ze=i.style,Je=i.children,Oe=i.display,Ce=i.order,Y=i.component,pe=Y===void 0?"div":Y,M=(0,V.Z)(i,h),U=oe&&!Oe;function A(d){Ee(ke,d)}L.useEffect(function(){return function(){A(null)}},[]);var R=ae&&ne!==v?ae(ne,{index:Ce}):Je,te;j||(te={opacity:U?0:1,height:U?0:v,overflowY:U?"hidden":v,order:oe?Ce:v,pointerEvents:U?"none":v,position:U?"absolute":v});var y={};U&&(y["aria-hidden"]=!0);var f=L.createElement(pe,(0,x.Z)({className:u()(!j&&_,Re),style:(0,m.Z)((0,m.Z)({},te),ze)},y,M,{ref:a}),R);return oe&&(f=L.createElement(W.Z,{onResize:function(X){var K=X.offsetWidth;A(K)},disabled:fe},f)),f}var r=L.forwardRef(n);r.displayName="Item";var o=r,l=t(6089),w=t(4676),k=t(16089);function E(i){if(typeof MessageChannel=="undefined")(0,k.Z)(i);else{var a=new MessageChannel;a.port1.onmessage=function(){return i()},a.port2.postMessage(void 0)}}function g(){var i=L.useRef(null),a=function(j){i.current||(i.current=[],E(function(){(0,w.unstable_batchedUpdates)(function(){i.current.forEach(function(ne){ne()}),i.current=null})})),i.current.push(j)};return a}function I(i,a){var _=L.useState(a),j=(0,D.Z)(_,2),ne=j[0],ae=j[1],oe=(0,l.Z)(function(fe){i(function(){ae(fe)})});return[ne,oe]}var C=L.createContext(null),c=["component"],s=["className"],b=["className"],T=function(a,_){var j=L.useContext(C);if(!j){var ne=a.component,ae=ne===void 0?"div":ne,oe=(0,V.Z)(a,c);return L.createElement(ae,(0,x.Z)({},oe,{ref:_}))}var fe=j.className,Ee=(0,V.Z)(j,s),ke=a.className,Re=(0,V.Z)(a,b);return L.createElement(C.Provider,{value:null},L.createElement(o,(0,x.Z)({ref:_,className:u()(fe,ke)},Ee,Re)))},q=L.forwardRef(T);q.displayName="RawItem";var ee=q,G=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],H="responsive",$="invalidate";function p(i){return"+ ".concat(i.length," ...")}function Z(i,a){var _=i.prefixCls,j=_===void 0?"rc-overflow":_,ne=i.data,ae=ne===void 0?[]:ne,oe=i.renderItem,fe=i.renderRawItem,Ee=i.itemKey,ke=i.itemWidth,Re=ke===void 0?10:ke,ze=i.ssr,Je=i.style,Oe=i.className,Ce=i.maxCount,Y=i.renderRest,pe=i.renderRawRest,M=i.suffix,U=i.component,A=U===void 0?"div":U,R=i.itemComponent,te=i.onVisibleChange,y=(0,V.Z)(i,G),f=ze==="full",d=g(),X=I(d,null),K=(0,D.Z)(X,2),z=K[0],J=K[1],ce=z||0,re=I(d,new Map),se=(0,D.Z)(re,2),me=se[0],_e=se[1],ve=I(d,0),Be=(0,D.Z)(ve,2),$e=Be[0],Ie=Be[1],He=I(d,0),et=(0,D.Z)(He,2),st=et[0],nt=et[1],Rt=I(d,0),Nt=(0,D.Z)(Rt,2),Tt=Nt[0],Mt=Nt[1],on=(0,L.useState)(null),Ct=(0,D.Z)(on,2),tt=Ct[0],$t=Ct[1],Vt=(0,L.useState)(null),je=(0,D.Z)(Vt,2),qt=je[0],gn=je[1],sn=L.useMemo(function(){return qt===null&&f?Number.MAX_SAFE_INTEGER:qt||0},[qt,z]),An=(0,L.useState)(!1),Ln=(0,D.Z)(An,2),Kn=Ln[0],rr=Ln[1],Gt="".concat(j,"-item"),St=Math.max($e,st),Xt=Ce===H,ln=ae.length&&Xt,Bn=Ce===$,Pn=ln||typeof Ce=="number"&&ae.length>Ce,ye=(0,L.useMemo)(function(){var lt=ae;return ln?z===null&&f?lt=ae:lt=ae.slice(0,Math.min(ae.length,ce/Re)):typeof Ce=="number"&&(lt=ae.slice(0,Ce)),lt},[ae,Re,z,Ce,ln]),he=(0,L.useMemo)(function(){return ln?ae.slice(sn+1):ae.slice(ye.length)},[ae,ye,ln,sn]),Ve=(0,L.useCallback)(function(lt,ge){var Se;return typeof Ee=="function"?Ee(lt):(Se=Ee&&(lt==null?void 0:lt[Ee]))!==null&&Se!==void 0?Se:ge},[Ee]),Fe=(0,L.useCallback)(oe||function(lt){return lt},[oe]);function ht(lt,ge,Se){qt===lt&&(ge===void 0||ge===tt)||(gn(lt),Se||(rr(lt<ae.length-1),te==null||te(lt)),ge!==void 0&&$t(ge))}function rt(lt,ge){J(ge.clientWidth)}function gt(lt,ge){_e(function(Se){var De=new Map(Se);return ge===null?De.delete(lt):De.set(lt,ge),De})}function it(lt,ge){nt(ge),Ie(st)}function bt(lt,ge){Mt(ge)}function xt(lt){return me.get(Ve(ye[lt],lt))}(0,e.Z)(function(){if(ce&&typeof St=="number"&&ye){var lt=Tt,ge=ye.length,Se=ge-1;if(!ge){ht(0,null);return}for(var De=0;De<ge;De+=1){var Ae=xt(De);if(f&&(Ae=Ae||0),Ae===void 0){ht(De-1,void 0,!0);break}if(lt+=Ae,Se===0&<<=ce||De===Se-1&<+xt(Se)<=ce){ht(Se,null);break}else if(lt+St>ce){ht(De-1,lt-Ae-Tt+st);break}}M&&xt(0)+Tt>ce&&$t(null)}},[ce,me,st,Tt,Ve,ye]);var wt=Kn&&!!he.length,Ze={};tt!==null&&ln&&(Ze={position:"absolute",left:tt,top:0});var Ke={prefixCls:Gt,responsive:ln,component:R,invalidate:Bn},Ge=fe?function(lt,ge){var Se=Ve(lt,ge);return L.createElement(C.Provider,{key:Se,value:(0,m.Z)((0,m.Z)({},Ke),{},{order:ge,item:lt,itemKey:Se,registerSize:gt,display:ge<=sn})},fe(lt,ge))}:function(lt,ge){var Se=Ve(lt,ge);return L.createElement(o,(0,x.Z)({},Ke,{order:ge,key:Se,item:lt,renderItem:Fe,itemKey:Se,registerSize:gt,display:ge<=sn}))},at={order:wt?sn:Number.MAX_SAFE_INTEGER,className:"".concat(Gt,"-rest"),registerSize:it,display:wt},kt=Y||p,hn=pe?L.createElement(C.Provider,{value:(0,m.Z)((0,m.Z)({},Ke),at)},pe(he)):L.createElement(o,(0,x.Z)({},Ke,at),typeof kt=="function"?kt(he):kt),Zt=L.createElement(A,(0,x.Z)({className:u()(!Bn&&j,Oe),style:Je,ref:a},y),ye.map(Ge),Pn?hn:null,M&&L.createElement(o,(0,x.Z)({},Ke,{responsive:Xt,responsiveDisabled:!ln,order:sn,className:"".concat(Gt,"-suffix"),registerSize:bt,display:!0,style:Ze}),M));return Xt?L.createElement(W.Z,{onResize:rt,disabled:!ln},Zt):Zt}var O=L.forwardRef(Z);O.displayName="Overflow",O.Item=ee,O.RESPONSIVE=H,O.INVALIDATE=$;var B=O,P=B},29301:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return $}});var x=t(72308),m=t(59301),D=t(11592),V=t(48736),L=t(77321),F=t(62853),u=t(76846),W=t(8654),e=m.createContext(null);function h(p){var Z=p.children,O=p.onBatchResize,B=m.useRef(0),P=m.useRef([]),i=m.useContext(e),a=m.useCallback(function(_,j,ne){B.current+=1;var ae=B.current;P.current.push({size:_,element:j,data:ne}),Promise.resolve().then(function(){ae===B.current&&(O==null||O(P.current),P.current=[])}),i==null||i(_,j,ne)},[O,i]);return m.createElement(e.Provider,{value:a},Z)}var v=t(76374),n=new Map;function r(p){p.forEach(function(Z){var O,B=Z.target;(O=n.get(B))===null||O===void 0||O.forEach(function(P){return P(B)})})}var o=new v.Z(r),l=null,w=null;function k(p,Z){n.has(p)||(n.set(p,new Set),o.observe(p)),n.get(p).add(Z)}function E(p,Z){n.has(p)&&(n.get(p).delete(Z),n.get(p).size||(o.unobserve(p),n.delete(p)))}var g=t(96949),I=t(55090),C=t(77205),c=t(38793),s=function(p){(0,C.Z)(O,p);var Z=(0,c.Z)(O);function O(){return(0,g.Z)(this,O),Z.apply(this,arguments)}return(0,I.Z)(O,[{key:"render",value:function(){return this.props.children}}]),O}(m.Component);function b(p,Z){var O=p.children,B=p.disabled,P=m.useRef(null),i=m.useRef(null),a=m.useContext(e),_=typeof O=="function",j=_?O(P):O,ne=m.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ae=!_&&m.isValidElement(j)&&(0,W.Yr)(j),oe=ae?(0,W.C4)(j):null,fe=(0,W.x1)(oe,P),Ee=function(){var Je;return(0,u.ZP)(P.current)||(P.current&&(0,F.Z)(P.current)==="object"?(0,u.ZP)((Je=P.current)===null||Je===void 0?void 0:Je.nativeElement):null)||(0,u.ZP)(i.current)};m.useImperativeHandle(Z,function(){return Ee()});var ke=m.useRef(p);ke.current=p;var Re=m.useCallback(function(ze){var Je=ke.current,Oe=Je.onResize,Ce=Je.data,Y=ze.getBoundingClientRect(),pe=Y.width,M=Y.height,U=ze.offsetWidth,A=ze.offsetHeight,R=Math.floor(pe),te=Math.floor(M);if(ne.current.width!==R||ne.current.height!==te||ne.current.offsetWidth!==U||ne.current.offsetHeight!==A){var y={width:R,height:te,offsetWidth:U,offsetHeight:A};ne.current=y;var f=U===Math.round(pe)?pe:U,d=A===Math.round(M)?M:A,X=(0,L.Z)((0,L.Z)({},y),{},{offsetWidth:f,offsetHeight:d});a==null||a(X,ze,Ce),Oe&&Promise.resolve().then(function(){Oe(X,ze)})}},[]);return m.useEffect(function(){var ze=Ee();return ze&&!B&&k(ze,Re),function(){return E(ze,Re)}},[P.current,B]),m.createElement(s,{ref:i},ae?m.cloneElement(j,{ref:fe}):j)}var T=m.forwardRef(b),q=T,ee="rc-observer-key";function G(p,Z){var O=p.children,B=typeof O=="function"?[O]:(0,D.Z)(O);return B.map(function(P,i){var a=(P==null?void 0:P.key)||"".concat(ee,"-").concat(i);return m.createElement(q,(0,x.Z)({},p,{key:a,ref:i===0?Z:void 0}),P)})}var H=m.forwardRef(G);H.Collection=h;var $=H},17115:function(Ue,de,t){"use strict";t.d(de,{ZP:function(){return u}});var x=t(52487),m=t(59301),D=t(47273),V=0,L=(0,D.Z)();function F(){var W;return L?(W=V,V+=1):W="TEST_OR_SSR",W}function u(W){var e=m.useState(),h=(0,x.Z)(e,2),v=h[0],n=h[1];return m.useEffect(function(){n("rc_select_".concat(F()))},[]),W||v}},77861:function(Ue,de,t){"use strict";t.d(de,{Ac:function(){return J},Xo:function(){return nt},Wx:function(){return Nt},ZP:function(){return Pn},lk:function(){return C}});var x=t(72308),m=t(80702),D=t(49618),V=t(77321),L=t(52487),F=t(74416),u=t(62853),W=t(18929),e=t(48736),h=t(59301),v=t(92310),n=t.n(v),r=t(34280),o=t(49658),l=t(10228),w=t(8654),k=function(he){var Ve=he.className,Fe=he.customizeIcon,ht=he.customizeIconProps,rt=he.onMouseDown,gt=he.onClick,it=he.children,bt;return typeof Fe=="function"?bt=Fe(ht):bt=Fe,h.createElement("span",{className:Ve,onMouseDown:function(wt){wt.preventDefault(),rt&&rt(wt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:gt,"aria-hidden":!0},bt!==void 0?bt:h.createElement("span",{className:n()(Ve.split(/\s+/).map(function(xt){return"".concat(xt,"-icon")}))},it))},E=k;function g(ye,he,Ve,Fe,ht){var rt=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,gt=arguments.length>6?arguments[6]:void 0,it=arguments.length>7?arguments[7]:void 0,bt=h.useMemo(function(){if((0,u.Z)(Fe)==="object")return Fe.clearIcon;if(ht)return ht},[Fe,ht]),xt=h.useMemo(function(){return!!(!rt&&Fe&&(Ve.length||gt)&&!(it==="combobox"&>===""))},[Fe,rt,Ve.length,gt,it]);return{allowClear:xt,clearIcon:h.createElement(E,{className:"".concat(ye,"-clear"),onMouseDown:he,customizeIcon:bt},"\xD7")}}var I=h.createContext(null);function C(){return h.useContext(I)}function c(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,he=h.useState(!1),Ve=(0,L.Z)(he,2),Fe=Ve[0],ht=Ve[1],rt=h.useRef(null),gt=function(){window.clearTimeout(rt.current)};h.useEffect(function(){return gt},[]);var it=function(xt,wt){gt(),rt.current=window.setTimeout(function(){ht(xt),wt&&wt()},ye)};return[Fe,it,gt]}function s(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,he=h.useRef(null),Ve=h.useRef(null);h.useEffect(function(){return function(){window.clearTimeout(Ve.current)}},[]);function Fe(ht){(ht||he.current===null)&&(he.current=ht),window.clearTimeout(Ve.current),Ve.current=window.setTimeout(function(){he.current=null},ye)}return[function(){return he.current},Fe]}function b(ye,he,Ve,Fe){var ht=h.useRef(null);ht.current={open:he,triggerOpen:Ve,customizedTrigger:Fe},h.useEffect(function(){function rt(gt){var it;if(!((it=ht.current)!==null&&it!==void 0&&it.customizedTrigger)){var bt=gt.target;bt.shadowRoot&>.composed&&(bt=gt.composedPath()[0]||bt),ht.current.open&&ye().filter(function(xt){return xt}).every(function(xt){return!xt.contains(bt)&&xt!==bt})&&ht.current.triggerOpen(!1)}}return window.addEventListener("mousedown",rt),function(){return window.removeEventListener("mousedown",rt)}},[])}var T=t(26112),q=t(11780),ee=function(he,Ve){var Fe,ht,rt=he.prefixCls,gt=he.id,it=he.inputElement,bt=he.disabled,xt=he.tabIndex,wt=he.autoFocus,Ze=he.autoComplete,Ke=he.editable,Ge=he.activeDescendantId,at=he.value,kt=he.maxLength,hn=he.onKeyDown,Zt=he.onMouseDown,lt=he.onChange,ge=he.onPaste,Se=he.onCompositionStart,De=he.onCompositionEnd,Ae=he.open,Ne=he.attrs,Xe=it||h.createElement("input",null),Me=Xe,qe=Me.ref,ft=Me.props,pt=ft.onKeyDown,Kt=ft.onChange,Ot=ft.onMouseDown,un=ft.onCompositionStart,_t=ft.onCompositionEnd,ot=ft.style;return(0,e.Kp)(!("maxLength"in Xe.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Xe=h.cloneElement(Xe,(0,V.Z)((0,V.Z)((0,V.Z)({type:"search"},ft),{},{id:gt,ref:(0,w.sQ)(Ve,qe),disabled:bt,tabIndex:xt,autoComplete:Ze||"off",autoFocus:wt,className:n()("".concat(rt,"-selection-search-input"),(Fe=Xe)===null||Fe===void 0||(ht=Fe.props)===null||ht===void 0?void 0:ht.className),role:"combobox","aria-label":"Search","aria-expanded":Ae||!1,"aria-haspopup":"listbox","aria-owns":"".concat(gt,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(gt,"_list"),"aria-activedescendant":Ae?Ge:void 0},Ne),{},{value:Ke?at:"",maxLength:kt,readOnly:!Ke,unselectable:Ke?null:"on",style:(0,V.Z)((0,V.Z)({},ot),{},{opacity:Ke?null:0}),onKeyDown:function(Wt){hn(Wt),pt&&pt(Wt)},onMouseDown:function(Wt){Zt(Wt),Ot&&Ot(Wt)},onChange:function(Wt){lt(Wt),Kt&&Kt(Wt)},onCompositionStart:function(Wt){Se(Wt),un&&un(Wt)},onCompositionEnd:function(Wt){De(Wt),_t&&_t(Wt)},onPaste:ge})),Xe},G=h.forwardRef(ee);G.displayName="Input";var H=G;function $(ye){return Array.isArray(ye)?ye:ye!==void 0?[ye]:[]}var p=typeof window!="undefined"&&window.document&&window.document.documentElement,Z=p;function O(ye){return ye!=null}function B(ye){return!ye&&ye!==0}function P(ye){return["string","number"].includes((0,u.Z)(ye))}function i(ye){var he=void 0;return ye&&(P(ye.title)?he=ye.title.toString():P(ye.label)&&(he=ye.label.toString())),he}function a(ye,he){Z?h.useLayoutEffect(ye,he):h.useEffect(ye,he)}function _(ye){var he;return(he=ye.key)!==null&&he!==void 0?he:ye.value}var j=function(he){he.preventDefault(),he.stopPropagation()},ne=function(he){var Ve=he.id,Fe=he.prefixCls,ht=he.values,rt=he.open,gt=he.searchValue,it=he.autoClearSearchValue,bt=he.inputRef,xt=he.placeholder,wt=he.disabled,Ze=he.mode,Ke=he.showSearch,Ge=he.autoFocus,at=he.autoComplete,kt=he.activeDescendantId,hn=he.tabIndex,Zt=he.removeIcon,lt=he.maxTagCount,ge=he.maxTagTextLength,Se=he.maxTagPlaceholder,De=Se===void 0?function(_n){return"+ ".concat(_n.length," ...")}:Se,Ae=he.tagRender,Ne=he.onToggleOpen,Xe=he.onRemove,Me=he.onInputChange,qe=he.onInputPaste,ft=he.onInputKeyDown,pt=he.onInputMouseDown,Kt=he.onInputCompositionStart,Ot=he.onInputCompositionEnd,un=h.useRef(null),_t=(0,h.useState)(0),ot=(0,L.Z)(_t,2),Yt=ot[0],Wt=ot[1],zn=(0,h.useState)(!1),En=(0,L.Z)(zn,2),mn=En[0],Dn=En[1],Jt="".concat(Fe,"-selection"),Zn=rt||Ze==="multiple"&&it===!1||Ze==="tags"?gt:"",ur=Ze==="tags"||Ze==="multiple"&&it===!1||Ke&&(rt||mn);a(function(){Wt(un.current.scrollWidth)},[Zn]);function At(_n,kn,or,jn,tr){return h.createElement("span",{className:n()("".concat(Jt,"-item"),(0,D.Z)({},"".concat(Jt,"-item-disabled"),or)),title:i(_n)},h.createElement("span",{className:"".concat(Jt,"-item-content")},kn),jn&&h.createElement(E,{className:"".concat(Jt,"-item-remove"),onMouseDown:j,onClick:tr,customizeIcon:Zt},"\xD7"))}function Ht(_n,kn,or,jn,tr){var It=function(rn){j(rn),Ne(!rt)};return h.createElement("span",{onMouseDown:It},Ae({label:kn,value:_n,disabled:or,closable:jn,onClose:tr}))}function Ut(_n){var kn=_n.disabled,or=_n.label,jn=_n.value,tr=!wt&&!kn,It=or;if(typeof ge=="number"&&(typeof or=="string"||typeof or=="number")){var ut=String(It);ut.length>ge&&(It="".concat(ut.slice(0,ge),"..."))}var rn=function(Gn){Gn&&Gn.stopPropagation(),Xe(_n)};return typeof Ae=="function"?Ht(jn,It,kn,tr,rn):At(_n,It,kn,tr,rn)}function On(_n){var kn=typeof De=="function"?De(_n):De;return At({title:kn},kn,!1)}var bn=h.createElement("div",{className:"".concat(Jt,"-search"),style:{width:Yt},onFocus:function(){Dn(!0)},onBlur:function(){Dn(!1)}},h.createElement(H,{ref:bt,open:rt,prefixCls:Fe,id:Ve,inputElement:null,disabled:wt,autoFocus:Ge,autoComplete:at,editable:ur,activeDescendantId:kt,value:Zn,onKeyDown:ft,onMouseDown:pt,onChange:Me,onPaste:qe,onCompositionStart:Kt,onCompositionEnd:Ot,tabIndex:hn,attrs:(0,T.Z)(he,!0)}),h.createElement("span",{ref:un,className:"".concat(Jt,"-search-mirror"),"aria-hidden":!0},Zn,"\xA0")),Sn=h.createElement(q.Z,{prefixCls:"".concat(Jt,"-overflow"),data:ht,renderItem:Ut,renderRest:On,suffix:bn,itemKey:_,maxCount:lt});return h.createElement(h.Fragment,null,Sn,!ht.length&&!Zn&&h.createElement("span",{className:"".concat(Jt,"-placeholder")},xt))},ae=ne,oe=function(he){var Ve=he.inputElement,Fe=he.prefixCls,ht=he.id,rt=he.inputRef,gt=he.disabled,it=he.autoFocus,bt=he.autoComplete,xt=he.activeDescendantId,wt=he.mode,Ze=he.open,Ke=he.values,Ge=he.placeholder,at=he.tabIndex,kt=he.showSearch,hn=he.searchValue,Zt=he.activeValue,lt=he.maxLength,ge=he.onInputKeyDown,Se=he.onInputMouseDown,De=he.onInputChange,Ae=he.onInputPaste,Ne=he.onInputCompositionStart,Xe=he.onInputCompositionEnd,Me=he.title,qe=h.useState(!1),ft=(0,L.Z)(qe,2),pt=ft[0],Kt=ft[1],Ot=wt==="combobox",un=Ot||kt,_t=Ke[0],ot=hn||"";Ot&&Zt&&!pt&&(ot=Zt),h.useEffect(function(){Ot&&Kt(!1)},[Ot,Zt]);var Yt=wt!=="combobox"&&!Ze&&!kt?!1:!!ot,Wt=Me===void 0?i(_t):Me,zn=function(){if(_t)return null;var mn=Yt?{visibility:"hidden"}:void 0;return h.createElement("span",{className:"".concat(Fe,"-selection-placeholder"),style:mn},Ge)};return h.createElement(h.Fragment,null,h.createElement("span",{className:"".concat(Fe,"-selection-search")},h.createElement(H,{ref:rt,prefixCls:Fe,id:ht,open:Ze,inputElement:Ve,disabled:gt,autoFocus:it,autoComplete:bt,editable:un,activeDescendantId:xt,value:ot,onKeyDown:ge,onMouseDown:Se,onChange:function(mn){Kt(!0),De(mn)},onPaste:Ae,onCompositionStart:Ne,onCompositionEnd:Xe,tabIndex:at,attrs:(0,T.Z)(he,!0),maxLength:Ot?lt:void 0})),!Ot&&_t?h.createElement("span",{className:"".concat(Fe,"-selection-item"),title:Wt,style:Yt?{visibility:"hidden"}:void 0},_t.label):null,zn())},fe=oe;function Ee(ye){return![l.Z.ESC,l.Z.SHIFT,l.Z.BACKSPACE,l.Z.TAB,l.Z.WIN_KEY,l.Z.ALT,l.Z.META,l.Z.WIN_KEY_RIGHT,l.Z.CTRL,l.Z.SEMICOLON,l.Z.EQUALS,l.Z.CAPS_LOCK,l.Z.CONTEXT_MENU,l.Z.F1,l.Z.F2,l.Z.F3,l.Z.F4,l.Z.F5,l.Z.F6,l.Z.F7,l.Z.F8,l.Z.F9,l.Z.F10,l.Z.F11,l.Z.F12].includes(ye)}var ke=function(he,Ve){var Fe=(0,h.useRef)(null),ht=(0,h.useRef)(!1),rt=he.prefixCls,gt=he.open,it=he.mode,bt=he.showSearch,xt=he.tokenWithEnter,wt=he.autoClearSearchValue,Ze=he.onSearch,Ke=he.onSearchSubmit,Ge=he.onToggleOpen,at=he.onInputKeyDown,kt=he.domRef;h.useImperativeHandle(Ve,function(){return{focus:function(){Fe.current.focus()},blur:function(){Fe.current.blur()}}});var hn=s(0),Zt=(0,L.Z)(hn,2),lt=Zt[0],ge=Zt[1],Se=function(ot){var Yt=ot.which;(Yt===l.Z.UP||Yt===l.Z.DOWN)&&ot.preventDefault(),at&&at(ot),Yt===l.Z.ENTER&&it==="tags"&&!ht.current&&!gt&&(Ke==null||Ke(ot.target.value)),Ee(Yt)&&Ge(!0)},De=function(){ge(!0)},Ae=(0,h.useRef)(null),Ne=function(ot){Ze(ot,!0,ht.current)!==!1&&Ge(!0)},Xe=function(){ht.current=!0},Me=function(ot){ht.current=!1,it!=="combobox"&&Ne(ot.target.value)},qe=function(ot){var Yt=ot.target.value;if(xt&&Ae.current&&/[\r\n]/.test(Ae.current)){var Wt=Ae.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Yt=Yt.replace(Wt,Ae.current)}Ae.current=null,Ne(Yt)},ft=function(ot){var Yt=ot.clipboardData,Wt=Yt.getData("text");Ae.current=Wt},pt=function(ot){var Yt=ot.target;if(Yt!==Fe.current){var Wt=document.body.style.msTouchAction!==void 0;Wt?setTimeout(function(){Fe.current.focus()}):Fe.current.focus()}},Kt=function(ot){var Yt=lt();ot.target!==Fe.current&&!Yt&&it!=="combobox"&&ot.preventDefault(),(it!=="combobox"&&(!bt||!Yt)||!gt)&&(gt&&wt!==!1&&Ze("",!0,!1),Ge())},Ot={inputRef:Fe,onInputKeyDown:Se,onInputMouseDown:De,onInputChange:qe,onInputPaste:ft,onInputCompositionStart:Xe,onInputCompositionEnd:Me},un=it==="multiple"||it==="tags"?h.createElement(ae,(0,x.Z)({},he,Ot)):h.createElement(fe,(0,x.Z)({},he,Ot));return h.createElement("div",{ref:kt,className:"".concat(rt,"-selector"),onClick:pt,onMouseDown:Kt},un)},Re=h.forwardRef(ke);Re.displayName="Selector";var ze=Re,Je=t(35593),Oe=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Ce=function(he){var Ve=he===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ve,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ve,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ve,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ve,adjustY:1},htmlRegion:"scroll"}}},Y=function(he,Ve){var Fe=he.prefixCls,ht=he.disabled,rt=he.visible,gt=he.children,it=he.popupElement,bt=he.animation,xt=he.transitionName,wt=he.dropdownStyle,Ze=he.dropdownClassName,Ke=he.direction,Ge=Ke===void 0?"ltr":Ke,at=he.placement,kt=he.builtinPlacements,hn=he.dropdownMatchSelectWidth,Zt=he.dropdownRender,lt=he.dropdownAlign,ge=he.getPopupContainer,Se=he.empty,De=he.getTriggerDOMNode,Ae=he.onPopupVisibleChange,Ne=he.onPopupMouseEnter,Xe=(0,F.Z)(he,Oe),Me="".concat(Fe,"-dropdown"),qe=it;Zt&&(qe=Zt(it));var ft=h.useMemo(function(){return kt||Ce(hn)},[kt,hn]),pt=bt?"".concat(Me,"-").concat(bt):xt,Kt=typeof hn=="number",Ot=h.useMemo(function(){return Kt?null:hn===!1?"minWidth":"width"},[hn,Kt]),un=wt;Kt&&(un=(0,V.Z)((0,V.Z)({},un),{},{width:hn}));var _t=h.useRef(null);return h.useImperativeHandle(Ve,function(){return{getPopupElement:function(){return _t.current}}}),h.createElement(Je.Z,(0,x.Z)({},Xe,{showAction:Ae?["click"]:[],hideAction:Ae?["click"]:[],popupPlacement:at||(Ge==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:ft,prefixCls:Me,popupTransitionName:pt,popup:h.createElement("div",{ref:_t,onMouseEnter:Ne},qe),stretch:Ot,popupAlign:lt,popupVisible:rt,getPopupContainer:ge,popupClassName:n()(Ze,(0,D.Z)({},"".concat(Me,"-empty"),Se)),popupStyle:un,getTriggerDOMNode:De,onPopupVisibleChange:Ae}),gt)},pe=h.forwardRef(Y);pe.displayName="SelectTrigger";var M=pe,U=t(68413);function A(ye,he){var Ve=ye.key,Fe;return"value"in ye&&(Fe=ye.value),Ve!=null?Ve:Fe!==void 0?Fe:"rc-index-key-".concat(he)}function R(ye,he){var Ve=ye||{},Fe=Ve.label,ht=Ve.value,rt=Ve.options,gt=Ve.groupLabel,it=Fe||(he?"children":"label");return{label:it,value:ht||"value",options:rt||"options",groupLabel:gt||it}}function te(ye){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ve=he.fieldNames,Fe=he.childrenAsData,ht=[],rt=R(Ve,!1),gt=rt.label,it=rt.value,bt=rt.options,xt=rt.groupLabel;function wt(Ze,Ke){Ze.forEach(function(Ge){if(Ke||!(bt in Ge)){var at=Ge[it];ht.push({key:A(Ge,ht.length),groupOption:Ke,data:Ge,label:Ge[gt],value:at})}else{var kt=Ge[xt];kt===void 0&&Fe&&(kt=Ge.label),ht.push({key:A(Ge,ht.length),group:!0,data:Ge,label:kt}),wt(Ge[bt],!0)}})}return wt(ye,!1),ht}function y(ye){var he=(0,V.Z)({},ye);return"props"in he||Object.defineProperty(he,"props",{get:function(){return(0,e.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),he}}),he}function f(ye,he){if(!he||!he.length)return null;var Ve=!1;function Fe(rt,gt){var it=(0,U.Z)(gt),bt=it[0],xt=it.slice(1);if(!bt)return[rt];var wt=rt.split(bt);return Ve=Ve||wt.length>1,wt.reduce(function(Ze,Ke){return[].concat((0,m.Z)(Ze),(0,m.Z)(Fe(Ke,xt)))},[]).filter(function(Ze){return Ze})}var ht=Fe(ye,he);return Ve?ht:null}var d=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],X=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function K(ye){return ye==="tags"||ye==="multiple"}var z=h.forwardRef(function(ye,he){var Ve,Fe,ht=ye.id,rt=ye.prefixCls,gt=ye.className,it=ye.showSearch,bt=ye.tagRender,xt=ye.direction,wt=ye.omitDomProps,Ze=ye.displayValues,Ke=ye.onDisplayValuesChange,Ge=ye.emptyOptions,at=ye.notFoundContent,kt=at===void 0?"Not Found":at,hn=ye.onClear,Zt=ye.mode,lt=ye.disabled,ge=ye.loading,Se=ye.getInputElement,De=ye.getRawInputElement,Ae=ye.open,Ne=ye.defaultOpen,Xe=ye.onDropdownVisibleChange,Me=ye.activeValue,qe=ye.onActiveValueChange,ft=ye.activeDescendantId,pt=ye.searchValue,Kt=ye.autoClearSearchValue,Ot=ye.onSearch,un=ye.onSearchSplit,_t=ye.tokenSeparators,ot=ye.allowClear,Yt=ye.suffixIcon,Wt=ye.clearIcon,zn=ye.OptionList,En=ye.animation,mn=ye.transitionName,Dn=ye.dropdownStyle,Jt=ye.dropdownClassName,Zn=ye.dropdownMatchSelectWidth,ur=ye.dropdownRender,At=ye.dropdownAlign,Ht=ye.placement,Ut=ye.builtinPlacements,On=ye.getPopupContainer,bn=ye.showAction,Sn=bn===void 0?[]:bn,_n=ye.onFocus,kn=ye.onBlur,or=ye.onKeyUp,jn=ye.onKeyDown,tr=ye.onMouseDown,It=(0,F.Z)(ye,d),ut=K(Zt),rn=(it!==void 0?it:ut)||Zt==="combobox",xn=(0,V.Z)({},It);X.forEach(function(Jn){delete xn[Jn]}),wt==null||wt.forEach(function(Jn){delete xn[Jn]});var Gn=h.useState(!1),Pr=(0,L.Z)(Gn,2),hr=Pr[0],sr=Pr[1];h.useEffect(function(){sr((0,o.Z)())},[]);var mr=h.useRef(null),vr=h.useRef(null),yr=h.useRef(null),Dr=h.useRef(null),Xn=h.useRef(null),_r=c(),Fr=(0,L.Z)(_r,3),Ar=Fr[0],Sr=Fr[1],Hr=Fr[2];h.useImperativeHandle(he,function(){var Jn,Hn;return{focus:(Jn=Dr.current)===null||Jn===void 0?void 0:Jn.focus,blur:(Hn=Dr.current)===null||Hn===void 0?void 0:Hn.blur,scrollTo:function(jr){var Zr;return(Zr=Xn.current)===null||Zr===void 0?void 0:Zr.scrollTo(jr)}}});var Wr=h.useMemo(function(){var Jn;if(Zt!=="combobox")return pt;var Hn=(Jn=Ze[0])===null||Jn===void 0?void 0:Jn.value;return typeof Hn=="string"||typeof Hn=="number"?String(Hn):""},[pt,Zt,Ze]),ti=Zt==="combobox"&&typeof Se=="function"&&Se()||null,qr=typeof De=="function"&&De(),_i=(0,w.x1)(vr,qr==null||(Ve=qr.props)===null||Ve===void 0?void 0:Ve.ref),yi=h.useState(!1),li=(0,L.Z)(yi,2),Ur=li[0],Pi=li[1];(0,r.Z)(function(){Pi(!0)},[]);var bi=(0,W.Z)(!1,{defaultValue:Ne,value:Ae}),ui=(0,L.Z)(bi,2),ci=ui[0],ni=ui[1],Ft=Ur?ci:!1,Cn=!kt&&Ge;(lt||Cn&&Ft&&Zt==="combobox")&&(Ft=!1);var Qt=Cn?!1:Ft,vn=h.useCallback(function(Jn){var Hn=Jn!==void 0?Jn:!Ft;lt||(ni(Hn),Ft!==Hn&&(Xe==null||Xe(Hn)))},[lt,Ft,ni,Xe]),Mn=h.useMemo(function(){return(_t||[]).some(function(Jn){return[`
|
|
`,`\r
|
|
`].includes(Jn)})},[_t]),Yn=function(Hn,ei,jr){var Zr=!0,ri=Hn;qe==null||qe(null);var oi=jr?null:f(Hn,_t);return Zt!=="combobox"&&oi&&(ri="",un==null||un(oi),vn(!1),Zr=!1),Ot&&Wr!==ri&&Ot(ri,{source:ei?"typing":"effect"}),Zr},Lr=function(Hn){!Hn||!Hn.trim()||Ot(Hn,{source:"submit"})};h.useEffect(function(){!Ft&&!ut&&Zt!=="combobox"&&Yn("",!1,!1)},[Ft]),h.useEffect(function(){ci&<&&ni(!1),lt&&Sr(!1)},[lt]);var br=s(),xr=(0,L.Z)(br,2),Or=xr[0],di=xr[1],Ni=function(Hn){var ei=Or(),jr=Hn.which;if(jr===l.Z.ENTER&&(Zt!=="combobox"&&Hn.preventDefault(),Ft||vn(!0)),di(!!Wr),jr===l.Z.BACKSPACE&&!ei&&ut&&!Wr&&Ze.length){for(var Zr=(0,m.Z)(Ze),ri=null,oi=Zr.length-1;oi>=0;oi-=1){var Di=Zr[oi];if(!Di.disabled){Zr.splice(oi,1),ri=Di;break}}ri&&Ke(Zr,{type:"remove",values:[ri]})}for(var xi=arguments.length,Xi=new Array(xi>1?xi-1:0),Mi=1;Mi<xi;Mi++)Xi[Mi-1]=arguments[Mi];if(Ft&&Xn.current){var ha;(ha=Xn.current).onKeyDown.apply(ha,[Hn].concat(Xi))}jn==null||jn.apply(void 0,[Hn].concat(Xi))},Zi=function(Hn){for(var ei=arguments.length,jr=new Array(ei>1?ei-1:0),Zr=1;Zr<ei;Zr++)jr[Zr-1]=arguments[Zr];if(Ft&&Xn.current){var ri;(ri=Xn.current).onKeyUp.apply(ri,[Hn].concat(jr))}or==null||or.apply(void 0,[Hn].concat(jr))},mi=function(Hn){var ei=Ze.filter(function(jr){return jr!==Hn});Ke(ei,{type:"remove",values:[Hn]})},ai=h.useRef(!1),Lt=function(){Sr(!0),lt||(_n&&!ai.current&&_n.apply(void 0,arguments),Sn.includes("focus")&&vn(!0)),ai.current=!0},In=function(){Sr(!1,function(){ai.current=!1,vn(!1)}),!lt&&(Wr&&(Zt==="tags"?Ot(Wr,{source:"submit"}):Zt==="multiple"&&Ot("",{source:"blur"})),kn&&kn.apply(void 0,arguments))},pr=[];h.useEffect(function(){return function(){pr.forEach(function(Jn){return clearTimeout(Jn)}),pr.splice(0,pr.length)}},[]);var Br=function(Hn){var ei,jr=Hn.target,Zr=(ei=yr.current)===null||ei===void 0?void 0:ei.getPopupElement();if(Zr&&Zr.contains(jr)){var ri=setTimeout(function(){var Xi=pr.indexOf(ri);if(Xi!==-1&&pr.splice(Xi,1),Hr(),!hr&&!Zr.contains(document.activeElement)){var Mi;(Mi=Dr.current)===null||Mi===void 0||Mi.focus()}});pr.push(ri)}for(var oi=arguments.length,Di=new Array(oi>1?oi-1:0),xi=1;xi<oi;xi++)Di[xi-1]=arguments[xi];tr==null||tr.apply(void 0,[Hn].concat(Di))},lr=h.useState({}),zi=(0,L.Z)(lr,2),ji=zi[1];function Hi(){ji({})}var $i;qr&&($i=function(Hn){vn(Hn)}),b(function(){var Jn;return[mr.current,(Jn=yr.current)===null||Jn===void 0?void 0:Jn.getPopupElement()]},Qt,vn,!!qr);var xa=h.useMemo(function(){return(0,V.Z)((0,V.Z)({},ye),{},{notFoundContent:kt,open:Ft,triggerOpen:Qt,id:ht,showSearch:rn,multiple:ut,toggleOpen:vn})},[ye,kt,Qt,Ft,ht,rn,ut,vn]),la=!!Yt||ge,aa;la&&(aa=h.createElement(E,{className:n()("".concat(rt,"-arrow"),(0,D.Z)({},"".concat(rt,"-arrow-loading"),ge)),customizeIcon:Yt,customizeIconProps:{loading:ge,searchValue:Wr,open:Ft,focused:Ar,showSearch:rn}}));var ea=function(){var Hn;hn==null||hn(),(Hn=Dr.current)===null||Hn===void 0||Hn.focus(),Ke([],{type:"clear",values:Ze}),Yn("",!1,!1)},ua=g(rt,ea,Ze,ot,Wt,lt,Wr,Zt),ta=ua.allowClear,ki=ua.clearIcon,ca=h.createElement(zn,{ref:Xn}),da=n()(rt,gt,(Fe={},(0,D.Z)(Fe,"".concat(rt,"-focused"),Ar),(0,D.Z)(Fe,"".concat(rt,"-multiple"),ut),(0,D.Z)(Fe,"".concat(rt,"-single"),!ut),(0,D.Z)(Fe,"".concat(rt,"-allow-clear"),ot),(0,D.Z)(Fe,"".concat(rt,"-show-arrow"),la),(0,D.Z)(Fe,"".concat(rt,"-disabled"),lt),(0,D.Z)(Fe,"".concat(rt,"-loading"),ge),(0,D.Z)(Fe,"".concat(rt,"-open"),Ft),(0,D.Z)(Fe,"".concat(rt,"-customize-input"),ti),(0,D.Z)(Fe,"".concat(rt,"-show-search"),rn),Fe)),fa=h.createElement(M,{ref:yr,disabled:lt,prefixCls:rt,visible:Qt,popupElement:ca,animation:En,transitionName:mn,dropdownStyle:Dn,dropdownClassName:Jt,direction:xt,dropdownMatchSelectWidth:Zn,dropdownRender:ur,dropdownAlign:At,placement:Ht,builtinPlacements:Ut,getPopupContainer:On,empty:Ge,getTriggerDOMNode:function(){return vr.current},onPopupVisibleChange:$i,onPopupMouseEnter:Hi},qr?h.cloneElement(qr,{ref:_i}):h.createElement(ze,(0,x.Z)({},ye,{domRef:vr,prefixCls:rt,inputElement:ti,ref:Dr,id:ht,showSearch:rn,autoClearSearchValue:Kt,mode:Zt,activeDescendantId:ft,tagRender:bt,values:Ze,open:Ft,onToggleOpen:vn,activeValue:Me,searchValue:Wr,onSearch:Yn,onSearchSubmit:Lr,onRemove:mi,tokenWithEnter:Mn}))),Gi;return qr?Gi=fa:Gi=h.createElement("div",(0,x.Z)({className:da},xn,{ref:mr,onMouseDown:Br,onKeyDown:Ni,onKeyUp:Zi,onFocus:Lt,onBlur:In}),Ar&&!Ft&&h.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Ze.map(function(Jn){var Hn=Jn.label,ei=Jn.value;return["number","string"].includes((0,u.Z)(Hn))?Hn:ei}).join(", "))),fa,aa,ta&&ki),h.createElement(I.Provider,{value:xa},Gi)}),J=z,ce=function(ye,he){var Ve=h.useRef({values:new Map,options:new Map}),Fe=h.useMemo(function(){var rt=Ve.current,gt=rt.values,it=rt.options,bt=ye.map(function(Ze){if(Ze.label===void 0){var Ke;return(0,V.Z)((0,V.Z)({},Ze),{},{label:(Ke=gt.get(Ze.value))===null||Ke===void 0?void 0:Ke.label})}return Ze}),xt=new Map,wt=new Map;return bt.forEach(function(Ze){xt.set(Ze.value,Ze),wt.set(Ze.value,he.get(Ze.value)||it.get(Ze.value))}),Ve.current.values=xt,Ve.current.options=wt,bt},[ye,he]),ht=h.useCallback(function(rt){return he.get(rt)||Ve.current.options.get(rt)},[he]);return[Fe,ht]};function re(ye,he){return $(ye).join("").toUpperCase().includes(he)}var se=function(ye,he,Ve,Fe,ht){return h.useMemo(function(){if(!Ve||Fe===!1)return ye;var rt=he.options,gt=he.label,it=he.value,bt=[],xt=typeof Fe=="function",wt=Ve.toUpperCase(),Ze=xt?Fe:function(Ge,at){return ht?re(at[ht],wt):at[rt]?re(at[gt!=="children"?gt:"label"],wt):re(at[it],wt)},Ke=xt?function(Ge){return y(Ge)}:function(Ge){return Ge};return ye.forEach(function(Ge){if(Ge[rt]){var at=Ze(Ve,Ke(Ge));if(at)bt.push(Ge);else{var kt=Ge[rt].filter(function(hn){return Ze(Ve,Ke(hn))});kt.length&&bt.push((0,V.Z)((0,V.Z)({},Ge),{},(0,D.Z)({},rt,kt)))}return}Ze(Ve,Ke(Ge))&&bt.push(Ge)}),bt},[ye,Fe,ht,Ve,he])},me=t(17115),_e=t(11592),ve=["children","value"],Be=["children"];function $e(ye){var he=ye,Ve=he.key,Fe=he.props,ht=Fe.children,rt=Fe.value,gt=(0,F.Z)(Fe,ve);return(0,V.Z)({key:Ve,value:rt!==void 0?rt:Ve,children:ht},gt)}function Ie(ye){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,_e.Z)(ye).map(function(Ve,Fe){if(!h.isValidElement(Ve)||!Ve.type)return null;var ht=Ve,rt=ht.type.isSelectOptGroup,gt=ht.key,it=ht.props,bt=it.children,xt=(0,F.Z)(it,Be);return he||!rt?$e(Ve):(0,V.Z)((0,V.Z)({key:"__RC_SELECT_GRP__".concat(gt===null?Fe:gt,"__"),label:gt},xt),{},{options:Ie(bt)})}).filter(function(Ve){return Ve})}function He(ye,he,Ve,Fe,ht){return h.useMemo(function(){var rt=ye,gt=!ye;gt&&(rt=Ie(he));var it=new Map,bt=new Map,xt=function(Ke,Ge,at){at&&typeof at=="string"&&Ke.set(Ge[at],Ge)};function wt(Ze){for(var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ge=0;Ge<Ze.length;Ge+=1){var at=Ze[Ge];!at[Ve.options]||Ke?(it.set(at[Ve.value],at),xt(bt,at,Ve.label),xt(bt,at,Fe),xt(bt,at,ht)):wt(at[Ve.options],!0)}}return wt(rt),{options:rt,valueOptions:it,labelOptions:bt}},[ye,he,Ve,Fe,ht])}function et(ye){var he=h.useRef();he.current=ye;var Ve=h.useCallback(function(){return he.current.apply(he,arguments)},[]);return Ve}var st=function(){return null};st.isSelectOptGroup=!0;var nt=st,Rt=function(){return null};Rt.isSelectOption=!0;var Nt=Rt,Tt=t(80547),Mt=t(2738),on=t(45680),Ct=h.createContext(null),tt=Ct;function $t(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Vt=["disabled","title","children","style","className"];function je(ye){return typeof ye=="string"||typeof ye=="number"}var qt=function(he,Ve){var Fe=C(),ht=Fe.prefixCls,rt=Fe.id,gt=Fe.open,it=Fe.multiple,bt=Fe.mode,xt=Fe.searchValue,wt=Fe.toggleOpen,Ze=Fe.notFoundContent,Ke=Fe.onPopupScroll,Ge=h.useContext(tt),at=Ge.flattenOptions,kt=Ge.onActiveValue,hn=Ge.defaultActiveFirstOption,Zt=Ge.onSelect,lt=Ge.menuItemSelectedIcon,ge=Ge.rawValues,Se=Ge.fieldNames,De=Ge.virtual,Ae=Ge.direction,Ne=Ge.listHeight,Xe=Ge.listItemHeight,Me="".concat(ht,"-item"),qe=(0,Tt.Z)(function(){return at},[gt,at],function(At,Ht){return Ht[0]&&At[1]!==Ht[1]}),ft=h.useRef(null),pt=function(Ht){Ht.preventDefault()},Kt=function(Ht){ft.current&&ft.current.scrollTo(typeof Ht=="number"?{index:Ht}:Ht)},Ot=function(Ht){for(var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,On=qe.length,bn=0;bn<On;bn+=1){var Sn=(Ht+bn*Ut+On)%On,_n=qe[Sn],kn=_n.group,or=_n.data;if(!kn&&!or.disabled)return Sn}return-1},un=h.useState(function(){return Ot(0)}),_t=(0,L.Z)(un,2),ot=_t[0],Yt=_t[1],Wt=function(Ht){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Yt(Ht);var On={source:Ut?"keyboard":"mouse"},bn=qe[Ht];if(!bn){kt(null,-1,On);return}kt(bn.value,Ht,On)};(0,h.useEffect)(function(){Wt(hn!==!1?Ot(0):-1)},[qe.length,xt]);var zn=h.useCallback(function(At){return ge.has(At)&&bt!=="combobox"},[bt,(0,m.Z)(ge).toString(),ge.size]);(0,h.useEffect)(function(){var At=setTimeout(function(){if(!it&>&&ge.size===1){var Ut=Array.from(ge)[0],On=qe.findIndex(function(bn){var Sn=bn.data;return Sn.value===Ut});On!==-1&&(Wt(On),Kt(On))}});if(gt){var Ht;(Ht=ft.current)===null||Ht===void 0||Ht.scrollTo(void 0)}return function(){return clearTimeout(At)}},[gt,xt,at.length]);var En=function(Ht){Ht!==void 0&&Zt(Ht,{selected:!ge.has(Ht)}),it||wt(!1)};if(h.useImperativeHandle(Ve,function(){return{onKeyDown:function(Ht){var Ut=Ht.which,On=Ht.ctrlKey;switch(Ut){case l.Z.N:case l.Z.P:case l.Z.UP:case l.Z.DOWN:{var bn=0;if(Ut===l.Z.UP?bn=-1:Ut===l.Z.DOWN?bn=1:$t()&&On&&(Ut===l.Z.N?bn=1:Ut===l.Z.P&&(bn=-1)),bn!==0){var Sn=Ot(ot+bn,bn);Kt(Sn),Wt(Sn,!0)}break}case l.Z.ENTER:{var _n=qe[ot];_n&&!_n.data.disabled?En(_n.value):En(void 0),gt&&Ht.preventDefault();break}case l.Z.ESC:wt(!1),gt&&Ht.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Ht){Kt(Ht)}}}),qe.length===0)return h.createElement("div",{role:"listbox",id:"".concat(rt,"_list"),className:"".concat(Me,"-empty"),onMouseDown:pt},Ze);var mn=Object.keys(Se).map(function(At){return Se[At]}),Dn=function(Ht){return Ht.label};function Jt(At,Ht){var Ut=At.group;return{role:Ut?"presentation":"option",id:"".concat(rt,"_list_").concat(Ht)}}var Zn=function(Ht){var Ut=qe[Ht];if(!Ut)return null;var On=Ut.data||{},bn=On.value,Sn=Ut.group,_n=(0,T.Z)(On,!0),kn=Dn(Ut);return Ut?h.createElement("div",(0,x.Z)({"aria-label":typeof kn=="string"&&!Sn?kn:null},_n,{key:Ht},Jt(Ut,Ht),{"aria-selected":zn(bn)}),bn):null},ur={role:"listbox",id:"".concat(rt,"_list")};return h.createElement(h.Fragment,null,De&&h.createElement("div",(0,x.Z)({},ur,{style:{height:0,width:0,overflow:"hidden"}}),Zn(ot-1),Zn(ot),Zn(ot+1)),h.createElement(on.Z,{itemKey:"key",ref:ft,data:qe,height:Ne,itemHeight:Xe,fullHeight:!1,onMouseDown:pt,onScroll:Ke,virtual:De,direction:Ae,innerProps:De?null:ur},function(At,Ht){var Ut,On=At.group,bn=At.groupOption,Sn=At.data,_n=At.label,kn=At.value,or=Sn.key;if(On){var jn,tr=(jn=Sn.title)!==null&&jn!==void 0?jn:je(_n)?_n.toString():void 0;return h.createElement("div",{className:n()(Me,"".concat(Me,"-group")),title:tr},_n!==void 0?_n:or)}var It=Sn.disabled,ut=Sn.title,rn=Sn.children,xn=Sn.style,Gn=Sn.className,Pr=(0,F.Z)(Sn,Vt),hr=(0,Mt.Z)(Pr,mn),sr=zn(kn),mr="".concat(Me,"-option"),vr=n()(Me,mr,Gn,(Ut={},(0,D.Z)(Ut,"".concat(mr,"-grouped"),bn),(0,D.Z)(Ut,"".concat(mr,"-active"),ot===Ht&&!It),(0,D.Z)(Ut,"".concat(mr,"-disabled"),It),(0,D.Z)(Ut,"".concat(mr,"-selected"),sr),Ut)),yr=Dn(At),Dr=!lt||typeof lt=="function"||sr,Xn=typeof yr=="number"?yr:yr||kn,_r=je(Xn)?Xn.toString():void 0;return ut!==void 0&&(_r=ut),h.createElement("div",(0,x.Z)({},(0,T.Z)(hr),De?{}:Jt(At,Ht),{"aria-selected":sr,className:vr,title:_r,onMouseMove:function(){ot===Ht||It||Wt(Ht)},onClick:function(){It||En(kn)},style:xn}),h.createElement("div",{className:"".concat(mr,"-content")},Xn),h.isValidElement(lt)||sr,Dr&&h.createElement(E,{className:"".concat(Me,"-option-state"),customizeIcon:lt,customizeIconProps:{isSelected:sr}},sr?"\u2713":null))}))},gn=h.forwardRef(qt);gn.displayName="OptionList";var sn=gn;function An(ye){var he=ye.mode,Ve=ye.options,Fe=ye.children,ht=ye.backfill,rt=ye.allowClear,gt=ye.placeholder,it=ye.getInputElement,bt=ye.showSearch,xt=ye.onSearch,wt=ye.defaultOpen,Ze=ye.autoFocus,Ke=ye.labelInValue,Ge=ye.value,at=ye.inputValue,kt=ye.optionLabelProp,hn=isMultiple(he),Zt=bt!==void 0?bt:hn||he==="combobox",lt=Ve||convertChildrenToData(Fe);if(warning(he!=="tags"||lt.every(function(Ae){return!Ae.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),he==="tags"||he==="combobox"){var ge=lt.some(function(Ae){return Ae.options?Ae.options.some(function(Ne){return typeof("value"in Ne?Ne.value:Ne.key)=="number"}):typeof("value"in Ae?Ae.value:Ae.key)=="number"});warning(!ge,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(he!=="combobox"||!kt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(he==="combobox"||!ht,"`backfill` only works with `combobox` mode."),warning(he==="combobox"||!it,"`getInputElement` only work with `combobox` mode."),noteOnce(he!=="combobox"||!it||!rt||!gt,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),xt&&!Zt&&he!=="combobox"&&he!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!wt||Ze,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Ge!=null){var Se=toArray(Ge);warning(!Ke||Se.every(function(Ae){return _typeof(Ae)==="object"&&("key"in Ae||"value"in Ae)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!hn||Array.isArray(Ge),"`value` should be array when `mode` is `multiple` or `tags`")}if(Fe){var De=null;toNodeArray(Fe).some(function(Ae){if(!React.isValidElement(Ae)||!Ae.type)return!1;var Ne=Ae,Xe=Ne.type;if(Xe.isSelectOption)return!1;if(Xe.isSelectOptGroup){var Me=toNodeArray(Ae.props.children).every(function(qe){return!React.isValidElement(qe)||!Ae.type||qe.type.isSelectOption?!0:(De=qe.type,!1)});return!Me}return De=Xe,!0}),De&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(De.displayName||De.name||De,"`.")),warning(at===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Ln(ye,he){if(ye){var Ve=function Fe(ht){for(var rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,gt=0;gt<ht.length;gt++){var it=ht[gt];if(it[he==null?void 0:he.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!rt&&Array.isArray(it[he==null?void 0:he.options])&&Fe(it[he==null?void 0:he.options],!0))break}};Ve(ye)}}var Kn=null,rr=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Gt=["inputValue"];function St(ye){return!ye||(0,u.Z)(ye)!=="object"}var Xt=h.forwardRef(function(ye,he){var Ve=ye.id,Fe=ye.mode,ht=ye.prefixCls,rt=ht===void 0?"rc-select":ht,gt=ye.backfill,it=ye.fieldNames,bt=ye.inputValue,xt=ye.searchValue,wt=ye.onSearch,Ze=ye.autoClearSearchValue,Ke=Ze===void 0?!0:Ze,Ge=ye.onSelect,at=ye.onDeselect,kt=ye.dropdownMatchSelectWidth,hn=kt===void 0?!0:kt,Zt=ye.filterOption,lt=ye.filterSort,ge=ye.optionFilterProp,Se=ye.optionLabelProp,De=ye.options,Ae=ye.children,Ne=ye.defaultActiveFirstOption,Xe=ye.menuItemSelectedIcon,Me=ye.virtual,qe=ye.direction,ft=ye.listHeight,pt=ft===void 0?200:ft,Kt=ye.listItemHeight,Ot=Kt===void 0?20:Kt,un=ye.value,_t=ye.defaultValue,ot=ye.labelInValue,Yt=ye.onChange,Wt=(0,F.Z)(ye,rr),zn=(0,me.ZP)(Ve),En=K(Fe),mn=!!(!De&&Ae),Dn=h.useMemo(function(){return Zt===void 0&&Fe==="combobox"?!1:Zt},[Zt,Fe]),Jt=h.useMemo(function(){return R(it,mn)},[JSON.stringify(it),mn]),Zn=(0,W.Z)("",{value:xt!==void 0?xt:bt,postState:function(Cn){return Cn||""}}),ur=(0,L.Z)(Zn,2),At=ur[0],Ht=ur[1],Ut=He(De,Ae,Jt,ge,Se),On=Ut.valueOptions,bn=Ut.labelOptions,Sn=Ut.options,_n=h.useCallback(function(Ft){var Cn=$(Ft);return Cn.map(function(Qt){var vn,Mn,Yn,Lr,br;if(St(Qt))vn=Qt;else{var xr;Yn=Qt.key,Mn=Qt.label,vn=(xr=Qt.value)!==null&&xr!==void 0?xr:Yn}var Or=On.get(vn);if(Or){var di;if(Mn===void 0&&(Mn=Or==null?void 0:Or[Se||Jt.label]),Yn===void 0&&(Yn=(di=Or==null?void 0:Or.key)!==null&&di!==void 0?di:vn),Lr=Or==null?void 0:Or.disabled,br=Or==null?void 0:Or.title,0)var Ni}return{label:Mn,value:vn,key:Yn,disabled:Lr,title:br}})},[Jt,Se,On]),kn=(0,W.Z)(_t,{value:un}),or=(0,L.Z)(kn,2),jn=or[0],tr=or[1],It=h.useMemo(function(){var Ft,Cn=_n(jn);return Fe==="combobox"&&B((Ft=Cn[0])===null||Ft===void 0?void 0:Ft.value)?[]:Cn},[jn,_n,Fe]),ut=ce(It,On),rn=(0,L.Z)(ut,2),xn=rn[0],Gn=rn[1],Pr=h.useMemo(function(){if(!Fe&&xn.length===1){var Ft=xn[0];if(Ft.value===null&&(Ft.label===null||Ft.label===void 0))return[]}return xn.map(function(Cn){var Qt;return(0,V.Z)((0,V.Z)({},Cn),{},{label:(Qt=Cn.label)!==null&&Qt!==void 0?Qt:Cn.value})})},[Fe,xn]),hr=h.useMemo(function(){return new Set(xn.map(function(Ft){return Ft.value}))},[xn]);h.useEffect(function(){if(Fe==="combobox"){var Ft,Cn=(Ft=xn[0])===null||Ft===void 0?void 0:Ft.value;Ht(O(Cn)?String(Cn):"")}},[xn]);var sr=et(function(Ft,Cn){var Qt,vn=Cn!=null?Cn:Ft;return Qt={},(0,D.Z)(Qt,Jt.value,Ft),(0,D.Z)(Qt,Jt.label,vn),Qt}),mr=h.useMemo(function(){if(Fe!=="tags")return Sn;var Ft=(0,m.Z)(Sn),Cn=function(vn){return On.has(vn)};return(0,m.Z)(xn).sort(function(Qt,vn){return Qt.value<vn.value?-1:1}).forEach(function(Qt){var vn=Qt.value;Cn(vn)||Ft.push(sr(vn,Qt.label))}),Ft},[sr,Sn,On,xn,Fe]),vr=se(mr,Jt,At,Dn,ge),yr=h.useMemo(function(){return Fe!=="tags"||!At||vr.some(function(Ft){return Ft[ge||"value"]===At})||vr.some(function(Ft){return Ft[Jt.value]===At})?vr:[sr(At)].concat((0,m.Z)(vr))},[sr,ge,Fe,vr,At,Jt]),Dr=h.useMemo(function(){return lt?(0,m.Z)(yr).sort(function(Ft,Cn){return lt(Ft,Cn)}):yr},[yr,lt]),Xn=h.useMemo(function(){return te(Dr,{fieldNames:Jt,childrenAsData:mn})},[Dr,Jt,mn]),_r=function(Cn){var Qt=_n(Cn);if(tr(Qt),Yt&&(Qt.length!==xn.length||Qt.some(function(Yn,Lr){var br;return((br=xn[Lr])===null||br===void 0?void 0:br.value)!==(Yn==null?void 0:Yn.value)}))){var vn=ot?Qt:Qt.map(function(Yn){return Yn.value}),Mn=Qt.map(function(Yn){return y(Gn(Yn.value))});Yt(En?vn:vn[0],En?Mn:Mn[0])}},Fr=h.useState(null),Ar=(0,L.Z)(Fr,2),Sr=Ar[0],Hr=Ar[1],Wr=h.useState(0),ti=(0,L.Z)(Wr,2),qr=ti[0],_i=ti[1],yi=Ne!==void 0?Ne:Fe!=="combobox",li=h.useCallback(function(Ft,Cn){var Qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},vn=Qt.source,Mn=vn===void 0?"keyboard":vn;_i(Cn),gt&&Fe==="combobox"&&Ft!==null&&Mn==="keyboard"&&Hr(String(Ft))},[gt,Fe]),Ur=function(Cn,Qt,vn){var Mn=function(){var ai,Lt=Gn(Cn);return[ot?{label:Lt==null?void 0:Lt[Jt.label],value:Cn,key:(ai=Lt==null?void 0:Lt.key)!==null&&ai!==void 0?ai:Cn}:Cn,y(Lt)]};if(Qt&&Ge){var Yn=Mn(),Lr=(0,L.Z)(Yn,2),br=Lr[0],xr=Lr[1];Ge(br,xr)}else if(!Qt&&at&&vn!=="clear"){var Or=Mn(),di=(0,L.Z)(Or,2),Ni=di[0],Zi=di[1];at(Ni,Zi)}},Pi=et(function(Ft,Cn){var Qt,vn=En?Cn.selected:!0;vn?Qt=En?[].concat((0,m.Z)(xn),[Ft]):[Ft]:Qt=xn.filter(function(Mn){return Mn.value!==Ft}),_r(Qt),Ur(Ft,vn),Fe==="combobox"?Hr(""):(!K||Ke)&&(Ht(""),Hr(""))}),bi=function(Cn,Qt){_r(Cn);var vn=Qt.type,Mn=Qt.values;(vn==="remove"||vn==="clear")&&Mn.forEach(function(Yn){Ur(Yn.value,!1,vn)})},ui=function(Cn,Qt){if(Ht(Cn),Hr(null),Qt.source==="submit"){var vn=(Cn||"").trim();if(vn){var Mn=Array.from(new Set([].concat((0,m.Z)(hr),[vn])));_r(Mn),Ur(vn,!0),Ht("")}return}Qt.source!=="blur"&&(Fe==="combobox"&&_r(Cn),wt==null||wt(Cn))},ci=function(Cn){var Qt=Cn;Fe!=="tags"&&(Qt=Cn.map(function(Mn){var Yn=bn.get(Mn);return Yn==null?void 0:Yn.value}).filter(function(Mn){return Mn!==void 0}));var vn=Array.from(new Set([].concat((0,m.Z)(hr),(0,m.Z)(Qt))));_r(vn),vn.forEach(function(Mn){Ur(Mn,!0)})},ni=h.useMemo(function(){var Ft=Me!==!1&&hn!==!1;return(0,V.Z)((0,V.Z)({},Ut),{},{flattenOptions:Xn,onActiveValue:li,defaultActiveFirstOption:yi,onSelect:Pi,menuItemSelectedIcon:Xe,rawValues:hr,fieldNames:Jt,virtual:Ft,direction:qe,listHeight:pt,listItemHeight:Ot,childrenAsData:mn})},[Ut,Xn,li,yi,Pi,Xe,hr,Jt,Me,hn,pt,Ot,mn]);return h.createElement(tt.Provider,{value:ni},h.createElement(J,(0,x.Z)({},Wt,{id:zn,prefixCls:rt,ref:he,omitDomProps:Gt,mode:Fe,displayValues:Pr,onDisplayValuesChange:bi,direction:qe,searchValue:At,onSearch:ui,autoClearSearchValue:Ke,onSearchSplit:ci,dropdownMatchSelectWidth:hn,OptionList:sn,emptyOptions:!Xn.length,activeValue:Sr,activeDescendantId:"".concat(zn,"_list_").concat(qr)})))}),ln=Xt;ln.Option=Nt,ln.OptGroup=nt;var Bn=ln,Pn=Bn},9296:function(Ue,de,t){"use strict";t.r(de),t.d(de,{ResizableTextArea:function(){return G},default:function(){return B}});var x=t(72308),m=t(77321),D=t(49618),V=t(62853),L=t(52487),F=t(74416),u=t(80702),W=t(92310),e=t.n(W),h=t(93681),v=t(5643),n=t(18929),r=t(59301),o=t(29301),l=t(34280),w=t(16089),k=`
|
|
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;
|
|
`,E=["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"],g={},I;function C(P){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=P.getAttribute("id")||P.getAttribute("data-reactid")||P.getAttribute("name");if(i&&g[a])return g[a];var _=window.getComputedStyle(P),j=_.getPropertyValue("box-sizing")||_.getPropertyValue("-moz-box-sizing")||_.getPropertyValue("-webkit-box-sizing"),ne=parseFloat(_.getPropertyValue("padding-bottom"))+parseFloat(_.getPropertyValue("padding-top")),ae=parseFloat(_.getPropertyValue("border-bottom-width"))+parseFloat(_.getPropertyValue("border-top-width")),oe=E.map(function(Ee){return"".concat(Ee,":").concat(_.getPropertyValue(Ee))}).join(";"),fe={sizingStyle:oe,paddingSize:ne,borderSize:ae,boxSizing:j};return i&&a&&(g[a]=fe),fe}function c(P){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,_=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;I||(I=document.createElement("textarea"),I.setAttribute("tab-index","-1"),I.setAttribute("aria-hidden","true"),document.body.appendChild(I)),P.getAttribute("wrap")?I.setAttribute("wrap",P.getAttribute("wrap")):I.removeAttribute("wrap");var j=C(P,i),ne=j.paddingSize,ae=j.borderSize,oe=j.boxSizing,fe=j.sizingStyle;I.setAttribute("style","".concat(fe,";").concat(k)),I.value=P.value||P.placeholder||"";var Ee=void 0,ke=void 0,Re,ze=I.scrollHeight;if(oe==="border-box"?ze+=ae:oe==="content-box"&&(ze-=ne),a!==null||_!==null){I.value=" ";var Je=I.scrollHeight-ne;a!==null&&(Ee=Je*a,oe==="border-box"&&(Ee=Ee+ne+ae),ze=Math.max(Ee,ze)),_!==null&&(ke=Je*_,oe==="border-box"&&(ke=ke+ne+ae),Re=ze>ke?"":"hidden",ze=Math.min(ke,ze))}var Oe={height:ze,overflowY:Re,resize:"none"};return Ee&&(Oe.minHeight=Ee),ke&&(Oe.maxHeight=ke),Oe}var s=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],b=0,T=1,q=2,ee=r.forwardRef(function(P,i){var a=P,_=a.prefixCls,j=a.onPressEnter,ne=a.defaultValue,ae=a.value,oe=a.autoSize,fe=a.onResize,Ee=a.className,ke=a.style,Re=a.disabled,ze=a.onChange,Je=a.onInternalAutoSize,Oe=(0,F.Z)(a,s),Ce=(0,n.Z)(ne,{value:ae,postState:function(nt){return nt!=null?nt:""}}),Y=(0,L.Z)(Ce,2),pe=Y[0],M=Y[1],U=function(nt){M(nt.target.value),ze==null||ze(nt)},A=r.useRef();r.useImperativeHandle(i,function(){return{textArea:A.current}});var R=r.useMemo(function(){return oe&&(0,V.Z)(oe)==="object"?[oe.minRows,oe.maxRows]:[]},[oe]),te=(0,L.Z)(R,2),y=te[0],f=te[1],d=!!oe,X=function(){try{if(document.activeElement===A.current){var nt=A.current,Rt=nt.selectionStart,Nt=nt.selectionEnd,Tt=nt.scrollTop;A.current.setSelectionRange(Rt,Nt),A.current.scrollTop=Tt}}catch(Mt){}},K=r.useState(q),z=(0,L.Z)(K,2),J=z[0],ce=z[1],re=r.useState(),se=(0,L.Z)(re,2),me=se[0],_e=se[1],ve=function(){ce(b)};(0,l.Z)(function(){d&&ve()},[ae,y,f,d]),(0,l.Z)(function(){if(J===b)ce(T);else if(J===T){var st=c(A.current,!1,y,f);ce(q),_e(st)}else X()},[J]);var Be=r.useRef(),$e=function(){w.Z.cancel(Be.current)},Ie=function(nt){J===q&&(fe==null||fe(nt),oe&&($e(),Be.current=(0,w.Z)(function(){ve()})))};r.useEffect(function(){return $e},[]);var He=d?me:null,et=(0,m.Z)((0,m.Z)({},ke),He);return(J===b||J===T)&&(et.overflowY="hidden",et.overflowX="hidden"),r.createElement(o.Z,{onResize:Ie,disabled:!(oe||fe)},r.createElement("textarea",(0,x.Z)({},Oe,{ref:A,style:et,className:e()(_,Ee,(0,D.Z)({},"".concat(_,"-disabled"),Re)),disabled:Re,value:pe,onChange:U})))}),G=ee,H=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function $(P,i){return(0,u.Z)(P||"").slice(0,i).join("")}function p(P,i,a,_){var j=a;return P?j=$(a,_):(0,u.Z)(i||"").length<a.length&&(0,u.Z)(a||"").length>_&&(j=i),j}var Z=r.forwardRef(function(P,i){var a,_=P.defaultValue,j=P.value,ne=P.onFocus,ae=P.onBlur,oe=P.onChange,fe=P.allowClear,Ee=P.maxLength,ke=P.onCompositionStart,Re=P.onCompositionEnd,ze=P.suffix,Je=P.prefixCls,Oe=Je===void 0?"rc-textarea":Je,Ce=P.classes,Y=P.showCount,pe=P.className,M=P.style,U=P.disabled,A=P.hidden,R=P.classNames,te=P.styles,y=P.onResize,f=(0,F.Z)(P,H),d=(0,n.Z)(_,{value:j,defaultValue:_}),X=(0,L.Z)(d,2),K=X[0],z=X[1],J=(0,r.useRef)(null),ce=r.useState(!1),re=(0,L.Z)(ce,2),se=re[0],me=re[1],_e=r.useState(!1),ve=(0,L.Z)(_e,2),Be=ve[0],$e=ve[1],Ie=r.useRef(),He=r.useRef(0),et=r.useState(null),st=(0,L.Z)(et,2),nt=st[0],Rt=st[1],Nt=function(){var St;(St=J.current)===null||St===void 0||St.textArea.focus()};(0,r.useImperativeHandle)(i,function(){return{resizableTextArea:J.current,focus:Nt,blur:function(){var St;(St=J.current)===null||St===void 0||St.textArea.blur()}}}),(0,r.useEffect)(function(){me(function(Gt){return!U&&Gt})},[U]);var Tt=Number(Ee)>0,Mt=function(St){$e(!0),Ie.current=K,He.current=St.currentTarget.selectionStart,ke==null||ke(St)},on=function(St){$e(!1);var Xt=St.currentTarget.value;if(Tt){var ln,Bn=He.current>=Ee+1||He.current===((ln=Ie.current)===null||ln===void 0?void 0:ln.length);Xt=p(Bn,Ie.current,Xt,Ee)}Xt!==K&&(z(Xt),(0,v.rJ)(St.currentTarget,St,oe,Xt)),Re==null||Re(St)},Ct=function(St){var Xt=St.target.value;if(!Be&&Tt){var ln=St.target.selectionStart>=Ee+1||St.target.selectionStart===Xt.length||!St.target.selectionStart;Xt=p(ln,K,Xt,Ee)}z(Xt),(0,v.rJ)(St.currentTarget,St,oe,Xt)},tt=function(St){var Xt=f.onPressEnter,ln=f.onKeyDown;St.key==="Enter"&&Xt&&Xt(St),ln==null||ln(St)},$t=function(St){me(!0),ne==null||ne(St)},Vt=function(St){me(!1),ae==null||ae(St)},je=function(St){var Xt;z(""),Nt(),(0,v.rJ)((Xt=J.current)===null||Xt===void 0?void 0:Xt.textArea,St,oe)},qt=(0,v.D7)(K);!Be&&Tt&&j==null&&(qt=$(qt,Ee));var gn=ze,sn;if(Y){var An=(0,u.Z)(qt).length;(0,V.Z)(Y)==="object"?sn=Y.formatter({value:qt,count:An,maxLength:Ee}):sn="".concat(An).concat(Tt?" / ".concat(Ee):""),gn=r.createElement(r.Fragment,null,gn,r.createElement("span",{className:e()("".concat(Oe,"-data-count"),R==null?void 0:R.count),style:te==null?void 0:te.count},sn))}var Ln=function(St){var Xt;y==null||y(St),(Xt=J.current)!==null&&Xt!==void 0&&Xt.textArea.style.height&&Rt(!0)},Kn=!f.autoSize&&!Y&&!fe,rr=r.createElement(h.BaseInput,{value:qt,allowClear:fe,handleReset:je,suffix:gn,prefixCls:Oe,classes:{affixWrapper:e()(Ce==null?void 0:Ce.affixWrapper,(a={},(0,D.Z)(a,"".concat(Oe,"-show-count"),Y),(0,D.Z)(a,"".concat(Oe,"-textarea-allow-clear"),fe),a))},disabled:U,focused:se,className:pe,style:(0,m.Z)((0,m.Z)({},M),nt&&!Kn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof sn=="string"?sn:void 0}},hidden:A,inputElement:r.createElement(G,(0,x.Z)({},f,{onKeyDown:tt,onChange:Ct,onFocus:$t,onBlur:Vt,onCompositionStart:Mt,onCompositionEnd:on,className:R==null?void 0:R.textarea,style:(0,m.Z)((0,m.Z)({},te==null?void 0:te.textarea),{},{resize:M==null?void 0:M.resize}),disabled:U,prefixCls:Oe,onResize:Ln,ref:J}))});return rr}),O=Z,B=O},55477:function(Ue,de,t){"use strict";t.d(de,{G:function(){return r},Z:function(){return k}});var x=t(72308),m=t(77321),D=t(74416),V=t(35593),L=t(59301),F={shiftX:64,adjustY:1},u={adjustX:1,shiftY:!0},W=[0,0],e={left:{points:["cr","cl"],overflow:u,offset:[-4,0],targetOffset:W},right:{points:["cl","cr"],overflow:u,offset:[4,0],targetOffset:W},top:{points:["bc","tc"],overflow:F,offset:[0,-4],targetOffset:W},bottom:{points:["tc","bc"],overflow:F,offset:[0,4],targetOffset:W},topLeft:{points:["bl","tl"],overflow:F,offset:[0,-4],targetOffset:W},leftTop:{points:["tr","tl"],overflow:u,offset:[-4,0],targetOffset:W},topRight:{points:["br","tr"],overflow:F,offset:[0,-4],targetOffset:W},rightTop:{points:["tl","tr"],overflow:u,offset:[4,0],targetOffset:W},bottomRight:{points:["tr","br"],overflow:F,offset:[0,4],targetOffset:W},rightBottom:{points:["bl","br"],overflow:u,offset:[4,0],targetOffset:W},bottomLeft:{points:["tl","bl"],overflow:F,offset:[0,4],targetOffset:W},leftBottom:{points:["br","bl"],overflow:u,offset:[-4,0],targetOffset:W}},h=null,v=t(92310),n=t.n(v);function r(E){var g=E.children,I=E.prefixCls,C=E.id,c=E.overlayInnerStyle,s=E.className,b=E.style;return L.createElement("div",{className:n()("".concat(I,"-content"),s),style:b},L.createElement("div",{className:"".concat(I,"-inner"),id:C,role:"tooltip",style:c},typeof g=="function"?g():g))}var o=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],l=function(g,I){var C=g.overlayClassName,c=g.trigger,s=c===void 0?["hover"]:c,b=g.mouseEnterDelay,T=b===void 0?0:b,q=g.mouseLeaveDelay,ee=q===void 0?.1:q,G=g.overlayStyle,H=g.prefixCls,$=H===void 0?"rc-tooltip":H,p=g.children,Z=g.onVisibleChange,O=g.afterVisibleChange,B=g.transitionName,P=g.animation,i=g.motion,a=g.placement,_=a===void 0?"right":a,j=g.align,ne=j===void 0?{}:j,ae=g.destroyTooltipOnHide,oe=ae===void 0?!1:ae,fe=g.defaultVisible,Ee=g.getTooltipContainer,ke=g.overlayInnerStyle,Re=g.arrowContent,ze=g.overlay,Je=g.id,Oe=g.showArrow,Ce=Oe===void 0?!0:Oe,Y=(0,D.Z)(g,o),pe=(0,L.useRef)(null);(0,L.useImperativeHandle)(I,function(){return pe.current});var M=(0,m.Z)({},Y);"visible"in g&&(M.popupVisible=g.visible);var U=function(){return L.createElement(r,{key:"content",prefixCls:$,id:Je,overlayInnerStyle:ke},ze)};return L.createElement(V.Z,(0,x.Z)({popupClassName:C,prefixCls:$,popup:U,action:s,builtinPlacements:e,popupPlacement:_,ref:pe,popupAlign:ne,getPopupContainer:Ee,onPopupVisibleChange:Z,afterPopupVisibleChange:O,popupTransitionName:B,popupAnimation:P,popupMotion:i,defaultPopupVisible:fe,autoDestroy:oe,mouseLeaveDelay:ee,popupStyle:G,mouseEnterDelay:T,arrow:Ce},M),p)},w=(0,L.forwardRef)(l),k=w},39417:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return T}});var x=t(72308),m=t(49618),D=t(74416),V=t(77321),L=t(96949),F=t(55090),u=t(80237),W=t(77205),e=t(38793),h=t(92310),v=t.n(h),n=t(26112),r=t(59301),o=t(39378),l=function(ee){for(var G=ee.prefixCls,H=ee.level,$=ee.isStart,p=ee.isEnd,Z="".concat(G,"-indent-unit"),O=[],B=0;B<H;B+=1){var P;O.push(r.createElement("span",{key:B,className:v()(Z,(P={},(0,m.Z)(P,"".concat(Z,"-start"),$[B]),(0,m.Z)(P,"".concat(Z,"-end"),p[B]),P))}))}return r.createElement("span",{"aria-hidden":"true",className:"".concat(G,"-indent")},O)},w=r.memo(l),k=t(67841),E=t(71430),g=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],I="open",C="close",c="---",s=function(q){(0,W.Z)(G,q);var ee=(0,e.Z)(G);function G(){var H;(0,L.Z)(this,G);for(var $=arguments.length,p=new Array($),Z=0;Z<$;Z++)p[Z]=arguments[Z];return H=ee.call.apply(ee,[this].concat(p)),H.state={dragNodeHighlight:!1},H.selectHandle=void 0,H.cacheIndent=void 0,H.onSelectorClick=function(O){var B=H.props.context.onNodeClick;B(O,(0,E.F)(H.props)),H.isSelectable()?H.onSelect(O):H.onCheck(O)},H.onSelectorDoubleClick=function(O){var B=H.props.context.onNodeDoubleClick;B(O,(0,E.F)(H.props))},H.onSelect=function(O){if(!H.isDisabled()){var B=H.props.context.onNodeSelect;B(O,(0,E.F)(H.props))}},H.onCheck=function(O){if(!H.isDisabled()){var B=H.props,P=B.disableCheckbox,i=B.checked,a=H.props.context.onNodeCheck;if(!(!H.isCheckable()||P)){var _=!i;a(O,(0,E.F)(H.props),_)}}},H.onMouseEnter=function(O){var B=H.props.context.onNodeMouseEnter;B(O,(0,E.F)(H.props))},H.onMouseLeave=function(O){var B=H.props.context.onNodeMouseLeave;B(O,(0,E.F)(H.props))},H.onContextMenu=function(O){var B=H.props.context.onNodeContextMenu;B(O,(0,E.F)(H.props))},H.onDragStart=function(O){var B=H.props.context.onNodeDragStart;O.stopPropagation(),H.setState({dragNodeHighlight:!0}),B(O,(0,u.Z)(H));try{O.dataTransfer.setData("text/plain","")}catch(P){}},H.onDragEnter=function(O){var B=H.props.context.onNodeDragEnter;O.preventDefault(),O.stopPropagation(),B(O,(0,u.Z)(H))},H.onDragOver=function(O){var B=H.props.context.onNodeDragOver;O.preventDefault(),O.stopPropagation(),B(O,(0,u.Z)(H))},H.onDragLeave=function(O){var B=H.props.context.onNodeDragLeave;O.stopPropagation(),B(O,(0,u.Z)(H))},H.onDragEnd=function(O){var B=H.props.context.onNodeDragEnd;O.stopPropagation(),H.setState({dragNodeHighlight:!1}),B(O,(0,u.Z)(H))},H.onDrop=function(O){var B=H.props.context.onNodeDrop;O.preventDefault(),O.stopPropagation(),H.setState({dragNodeHighlight:!1}),B(O,(0,u.Z)(H))},H.onExpand=function(O){var B=H.props,P=B.loading,i=B.context.onNodeExpand;P||i(O,(0,E.F)(H.props))},H.setSelectHandle=function(O){H.selectHandle=O},H.getNodeState=function(){var O=H.props.expanded;return H.isLeaf()?null:O?I:C},H.hasChildren=function(){var O=H.props.eventKey,B=H.props.context.keyEntities,P=(0,k.Z)(B,O)||{},i=P.children;return!!(i||[]).length},H.isLeaf=function(){var O=H.props,B=O.isLeaf,P=O.loaded,i=H.props.context.loadData,a=H.hasChildren();return B===!1?!1:B||!i&&!a||i&&P&&!a},H.isDisabled=function(){var O=H.props.disabled,B=H.props.context.disabled;return!!(B||O)},H.isCheckable=function(){var O=H.props.checkable,B=H.props.context.checkable;return!B||O===!1?!1:B},H.syncLoadData=function(O){var B=O.expanded,P=O.loading,i=O.loaded,a=H.props.context,_=a.loadData,j=a.onNodeLoad;P||_&&B&&!H.isLeaf()&&!H.hasChildren()&&!i&&j((0,E.F)(H.props))},H.isDraggable=function(){var O=H.props,B=O.data,P=O.context.draggable;return!!(P&&(!P.nodeDraggable||P.nodeDraggable(B)))},H.renderDragHandler=function(){var O=H.props.context,B=O.draggable,P=O.prefixCls;return B!=null&&B.icon?r.createElement("span",{className:"".concat(P,"-draggable-icon")},B.icon):null},H.renderSwitcherIconDom=function(O){var B=H.props.switcherIcon,P=H.props.context.switcherIcon,i=B||P;return typeof i=="function"?i((0,V.Z)((0,V.Z)({},H.props),{},{isLeaf:O})):i},H.renderSwitcher=function(){var O=H.props.expanded,B=H.props.context.prefixCls;if(H.isLeaf()){var P=H.renderSwitcherIconDom(!0);return P!==!1?r.createElement("span",{className:v()("".concat(B,"-switcher"),"".concat(B,"-switcher-noop"))},P):null}var i=v()("".concat(B,"-switcher"),"".concat(B,"-switcher_").concat(O?I:C)),a=H.renderSwitcherIconDom(!1);return a!==!1?r.createElement("span",{onClick:H.onExpand,className:i},a):null},H.renderCheckbox=function(){var O=H.props,B=O.checked,P=O.halfChecked,i=O.disableCheckbox,a=H.props.context.prefixCls,_=H.isDisabled(),j=H.isCheckable();if(!j)return null;var ne=typeof j!="boolean"?j:null;return r.createElement("span",{className:v()("".concat(a,"-checkbox"),B&&"".concat(a,"-checkbox-checked"),!B&&P&&"".concat(a,"-checkbox-indeterminate"),(_||i)&&"".concat(a,"-checkbox-disabled")),onClick:H.onCheck},ne)},H.renderIcon=function(){var O=H.props.loading,B=H.props.context.prefixCls;return r.createElement("span",{className:v()("".concat(B,"-iconEle"),"".concat(B,"-icon__").concat(H.getNodeState()||"docu"),O&&"".concat(B,"-icon_loading"))})},H.renderSelector=function(){var O=H.state.dragNodeHighlight,B=H.props,P=B.title,i=P===void 0?c:P,a=B.selected,_=B.icon,j=B.loading,ne=B.data,ae=H.props.context,oe=ae.prefixCls,fe=ae.showIcon,Ee=ae.icon,ke=ae.loadData,Re=ae.titleRender,ze=H.isDisabled(),Je="".concat(oe,"-node-content-wrapper"),Oe;if(fe){var Ce=_||Ee;Oe=Ce?r.createElement("span",{className:v()("".concat(oe,"-iconEle"),"".concat(oe,"-icon__customize"))},typeof Ce=="function"?Ce(H.props):Ce):H.renderIcon()}else ke&&j&&(Oe=H.renderIcon());var Y;typeof i=="function"?Y=i(ne):Re?Y=Re(ne):Y=i;var pe=r.createElement("span",{className:"".concat(oe,"-title")},Y);return r.createElement("span",{ref:H.setSelectHandle,title:typeof i=="string"?i:"",className:v()("".concat(Je),"".concat(Je,"-").concat(H.getNodeState()||"normal"),!ze&&(a||O)&&"".concat(oe,"-node-selected")),onMouseEnter:H.onMouseEnter,onMouseLeave:H.onMouseLeave,onContextMenu:H.onContextMenu,onClick:H.onSelectorClick,onDoubleClick:H.onSelectorDoubleClick},Oe,pe,H.renderDropIndicator())},H.renderDropIndicator=function(){var O=H.props,B=O.disabled,P=O.eventKey,i=H.props.context,a=i.draggable,_=i.dropLevelOffset,j=i.dropPosition,ne=i.prefixCls,ae=i.indent,oe=i.dropIndicatorRender,fe=i.dragOverNodeKey,Ee=i.direction,ke=!!a,Re=!B&&ke&&fe===P,ze=ae!=null?ae:H.cacheIndent;return H.cacheIndent=ae,Re?oe({dropPosition:j,dropLevelOffset:_,indent:ze,prefixCls:ne,direction:Ee}):null},H}return(0,F.Z)(G,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var $=this.props.selectable,p=this.props.context.selectable;return typeof $=="boolean"?$:p}},{key:"render",value:function(){var $,p=this.props,Z=p.eventKey,O=p.className,B=p.style,P=p.dragOver,i=p.dragOverGapTop,a=p.dragOverGapBottom,_=p.isLeaf,j=p.isStart,ne=p.isEnd,ae=p.expanded,oe=p.selected,fe=p.checked,Ee=p.halfChecked,ke=p.loading,Re=p.domRef,ze=p.active,Je=p.data,Oe=p.onMouseMove,Ce=p.selectable,Y=(0,D.Z)(p,g),pe=this.props.context,M=pe.prefixCls,U=pe.filterTreeNode,A=pe.keyEntities,R=pe.dropContainerKey,te=pe.dropTargetKey,y=pe.draggingNodeKey,f=this.isDisabled(),d=(0,n.Z)(Y,{aria:!0,data:!0}),X=(0,k.Z)(A,Z)||{},K=X.level,z=ne[ne.length-1],J=this.isDraggable(),ce=!f&&J,re=y===Z,se=Ce!==void 0?{"aria-selected":!!Ce}:void 0;return r.createElement("div",(0,x.Z)({ref:Re,className:v()(O,"".concat(M,"-treenode"),($={},(0,m.Z)($,"".concat(M,"-treenode-disabled"),f),(0,m.Z)($,"".concat(M,"-treenode-switcher-").concat(ae?"open":"close"),!_),(0,m.Z)($,"".concat(M,"-treenode-checkbox-checked"),fe),(0,m.Z)($,"".concat(M,"-treenode-checkbox-indeterminate"),Ee),(0,m.Z)($,"".concat(M,"-treenode-selected"),oe),(0,m.Z)($,"".concat(M,"-treenode-loading"),ke),(0,m.Z)($,"".concat(M,"-treenode-active"),ze),(0,m.Z)($,"".concat(M,"-treenode-leaf-last"),z),(0,m.Z)($,"".concat(M,"-treenode-draggable"),J),(0,m.Z)($,"dragging",re),(0,m.Z)($,"drop-target",te===Z),(0,m.Z)($,"drop-container",R===Z),(0,m.Z)($,"drag-over",!f&&P),(0,m.Z)($,"drag-over-gap-top",!f&&i),(0,m.Z)($,"drag-over-gap-bottom",!f&&a),(0,m.Z)($,"filter-node",U&&U((0,E.F)(this.props))),$)),style:B,draggable:ce,"aria-grabbed":re,onDragStart:ce?this.onDragStart:void 0,onDragEnter:J?this.onDragEnter:void 0,onDragOver:J?this.onDragOver:void 0,onDragLeave:J?this.onDragLeave:void 0,onDrop:J?this.onDrop:void 0,onDragEnd:J?this.onDragEnd:void 0,onMouseMove:Oe},se,d),r.createElement(w,{prefixCls:M,level:K,isStart:j,isEnd:ne}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),G}(r.Component),b=function(ee){return r.createElement(o.k.Consumer,null,function(G){return r.createElement(s,(0,x.Z)({},ee,{context:G}))})};b.displayName="TreeNode",b.isTreeNode=1;var T=b},39378:function(Ue,de,t){"use strict";t.d(de,{k:function(){return m}});var x=t(59301),m=x.createContext(null)},54844:function(Ue,de,t){"use strict";t.d(de,{O:function(){return T.Z},Z:function(){return pe}});var x=t(72308),m=t(49618),D=t(62853),V=t(77321),L=t(80702),F=t(96949),u=t(55090),W=t(80237),e=t(77205),h=t(38793),v=t(92310),n=t.n(v),r=t(10228),o=t(26112),l=t(48736),w=t(59301),k=t(39378);function E(M){var U=M.dropPosition,A=M.dropLevelOffset,R=M.indent,te={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(U){case-1:te.top=0,te.left=-A*R;break;case 1:te.bottom=0,te.left=-A*R;break;case 0:te.bottom=0,te.left=R;break}return w.createElement("div",{style:te})}function g(M){if(M==null)throw new TypeError("Cannot destructure "+M)}var I=t(52487),C=t(74416),c=t(34280),s=t(45680),b=t(77900),T=t(39417);function q(M,U){var A=w.useState(!1),R=(0,I.Z)(A,2),te=R[0],y=R[1];w.useLayoutEffect(function(){if(te)return M(),function(){U()}},[te]),w.useLayoutEffect(function(){return y(!0),function(){y(!1)}},[])}var ee=t(71430),G=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],H=function(U,A){var R=U.className,te=U.style,y=U.motion,f=U.motionNodes,d=U.motionType,X=U.onMotionStart,K=U.onMotionEnd,z=U.active,J=U.treeNodeRequiredProps,ce=(0,C.Z)(U,G),re=w.useState(!0),se=(0,I.Z)(re,2),me=se[0],_e=se[1],ve=w.useContext(k.k),Be=ve.prefixCls,$e=f&&d!=="hide";(0,c.Z)(function(){f&&$e!==me&&_e($e)},[f]);var Ie=function(){f&&X()},He=w.useRef(!1),et=function(){f&&!He.current&&(He.current=!0,K())};q(Ie,et);var st=function(Rt){$e===Rt&&et()};return f?w.createElement(b.default,(0,x.Z)({ref:A,visible:me},y,{motionAppear:d==="show",onVisibleChanged:st}),function(nt,Rt){var Nt=nt.className,Tt=nt.style;return w.createElement("div",{ref:Rt,className:n()("".concat(Be,"-treenode-motion"),Nt),style:Tt},f.map(function(Mt){var on=(0,x.Z)({},(g(Mt.data),Mt.data)),Ct=Mt.title,tt=Mt.key,$t=Mt.isStart,Vt=Mt.isEnd;delete on.children;var je=(0,ee.H8)(tt,J);return w.createElement(T.Z,(0,x.Z)({},on,je,{title:Ct,active:z,data:Mt.data,key:tt,isStart:$t,isEnd:Vt}))}))}):w.createElement(T.Z,(0,x.Z)({domRef:A,className:R,style:te},ce,{active:z}))};H.displayName="MotionTreeNode";var $=w.forwardRef(H),p=$;function Z(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],A=M.length,R=U.length;if(Math.abs(A-R)!==1)return{add:!1,key:null};function te(y,f){var d=new Map;y.forEach(function(K){d.set(K,!0)});var X=f.filter(function(K){return!d.has(K)});return X.length===1?X[0]:null}return A<R?{add:!0,key:te(M,U)}:{add:!1,key:te(U,M)}}function O(M,U,A){var R=M.findIndex(function(d){return d.key===A}),te=M[R+1],y=U.findIndex(function(d){return d.key===A});if(te){var f=U.findIndex(function(d){return d.key===te.key});return U.slice(y+1,f)}return U.slice(y+1)}var B=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],P={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},i=function(){},a="RC_TREE_MOTION_".concat(Math.random()),_={key:a},j={key:a,level:0,index:0,pos:"0",node:_,nodes:[_]},ne={parent:null,children:[],pos:j.pos,data:_,title:null,key:a,isStart:[],isEnd:[]};function ae(M,U,A,R){return U===!1||!A?M:M.slice(0,Math.ceil(A/R)+1)}function oe(M){var U=M.key,A=M.pos;return(0,ee.km)(U,A)}function fe(M){for(var U=String(M.data.key),A=M;A.parent;)A=A.parent,U="".concat(A.data.key," > ").concat(U);return U}var Ee=w.forwardRef(function(M,U){var A=M.prefixCls,R=M.data,te=M.selectable,y=M.checkable,f=M.expandedKeys,d=M.selectedKeys,X=M.checkedKeys,K=M.loadedKeys,z=M.loadingKeys,J=M.halfCheckedKeys,ce=M.keyEntities,re=M.disabled,se=M.dragging,me=M.dragOverNodeKey,_e=M.dropPosition,ve=M.motion,Be=M.height,$e=M.itemHeight,Ie=M.virtual,He=M.focusable,et=M.activeItem,st=M.focused,nt=M.tabIndex,Rt=M.onKeyDown,Nt=M.onFocus,Tt=M.onBlur,Mt=M.onActiveChange,on=M.onListChangeStart,Ct=M.onListChangeEnd,tt=(0,C.Z)(M,B),$t=w.useRef(null),Vt=w.useRef(null);w.useImperativeHandle(U,function(){return{scrollTo:function(Ze){$t.current.scrollTo(Ze)},getIndentWidth:function(){return Vt.current.offsetWidth}}});var je=w.useState(f),qt=(0,I.Z)(je,2),gn=qt[0],sn=qt[1],An=w.useState(R),Ln=(0,I.Z)(An,2),Kn=Ln[0],rr=Ln[1],Gt=w.useState(R),St=(0,I.Z)(Gt,2),Xt=St[0],ln=St[1],Bn=w.useState([]),Pn=(0,I.Z)(Bn,2),ye=Pn[0],he=Pn[1],Ve=w.useState(null),Fe=(0,I.Z)(Ve,2),ht=Fe[0],rt=Fe[1],gt=w.useRef(R);gt.current=R;function it(){var wt=gt.current;rr(wt),ln(wt),he([]),rt(null),Ct()}(0,c.Z)(function(){sn(f);var wt=Z(gn,f);if(wt.key!==null)if(wt.add){var Ze=Kn.findIndex(function(Zt){var lt=Zt.key;return lt===wt.key}),Ke=ae(O(Kn,R,wt.key),Ie,Be,$e),Ge=Kn.slice();Ge.splice(Ze+1,0,ne),ln(Ge),he(Ke),rt("show")}else{var at=R.findIndex(function(Zt){var lt=Zt.key;return lt===wt.key}),kt=ae(O(R,Kn,wt.key),Ie,Be,$e),hn=R.slice();hn.splice(at+1,0,ne),ln(hn),he(kt),rt("hide")}else Kn!==R&&(rr(R),ln(R))},[f,R]),w.useEffect(function(){se||it()},[se]);var bt=ve?Xt:R,xt={expandedKeys:f,selectedKeys:d,loadedKeys:K,loadingKeys:z,checkedKeys:X,halfCheckedKeys:J,dragOverNodeKey:me,dropPosition:_e,keyEntities:ce};return w.createElement(w.Fragment,null,st&&et&&w.createElement("span",{style:P,"aria-live":"assertive"},fe(et)),w.createElement("div",null,w.createElement("input",{style:P,disabled:He===!1||re,tabIndex:He!==!1?nt:null,onKeyDown:Rt,onFocus:Nt,onBlur:Tt,value:"",onChange:i,"aria-label":"for screen reader"})),w.createElement("div",{className:"".concat(A,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},w.createElement("div",{className:"".concat(A,"-indent")},w.createElement("div",{ref:Vt,className:"".concat(A,"-indent-unit")}))),w.createElement(s.Z,(0,x.Z)({},tt,{data:bt,itemKey:oe,height:Be,fullHeight:!1,virtual:Ie,itemHeight:$e,prefixCls:"".concat(A,"-list"),ref:$t,onVisibleChange:function(Ze,Ke){var Ge=new Set(Ze),at=Ke.filter(function(kt){return!Ge.has(kt)});at.some(function(kt){return oe(kt)===a})&&it()}}),function(wt){var Ze=wt.pos,Ke=(0,x.Z)({},(g(wt.data),wt.data)),Ge=wt.title,at=wt.key,kt=wt.isStart,hn=wt.isEnd,Zt=(0,ee.km)(at,Ze);delete Ke.key,delete Ke.children;var lt=(0,ee.H8)(Zt,xt);return w.createElement(p,(0,x.Z)({},Ke,lt,{title:Ge,active:!!et&&at===et.key,pos:Ze,data:wt.data,isStart:kt,isEnd:hn,motion:ve,motionNodes:at===a?ye:null,motionType:ht,onMotionStart:on,onMotionEnd:it,treeNodeRequiredProps:xt,onMouseMove:function(){Mt(null)}}))}))});Ee.displayName="NodeList";var ke=Ee,Re=t(35654),ze=t(90782),Je=t(67841),Oe=10,Ce=function(M){(0,e.Z)(A,M);var U=(0,h.Z)(A);function A(){var R;(0,F.Z)(this,A);for(var te=arguments.length,y=new Array(te),f=0;f<te;f++)y[f]=arguments[f];return R=U.call.apply(U,[this].concat(y)),R.destroyed=!1,R.delayedDragEnterLogic=void 0,R.loadingRetryTimes={},R.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,ee.w$)()},R.dragStartMousePosition=null,R.dragNode=void 0,R.currentMouseOverDroppableNodeKey=null,R.listRef=w.createRef(),R.onNodeDragStart=function(d,X){var K=R.state,z=K.expandedKeys,J=K.keyEntities,ce=R.props.onDragStart,re=X.props.eventKey;R.dragNode=X,R.dragStartMousePosition={x:d.clientX,y:d.clientY};var se=(0,Re._5)(z,re);R.setState({draggingNodeKey:re,dragChildrenKeys:(0,Re.wA)(re,J),indent:R.listRef.current.getIndentWidth()}),R.setExpandedKeys(se),window.addEventListener("dragend",R.onWindowDragEnd),ce==null||ce({event:d,node:(0,ee.F)(X.props)})},R.onNodeDragEnter=function(d,X){var K=R.state,z=K.expandedKeys,J=K.keyEntities,ce=K.dragChildrenKeys,re=K.flattenNodes,se=K.indent,me=R.props,_e=me.onDragEnter,ve=me.onExpand,Be=me.allowDrop,$e=me.direction,Ie=X.props,He=Ie.pos,et=Ie.eventKey,st=(0,W.Z)(R),nt=st.dragNode;if(R.currentMouseOverDroppableNodeKey!==et&&(R.currentMouseOverDroppableNodeKey=et),!nt){R.resetDragState();return}var Rt=(0,Re.OM)(d,nt,X,se,R.dragStartMousePosition,Be,re,J,z,$e),Nt=Rt.dropPosition,Tt=Rt.dropLevelOffset,Mt=Rt.dropTargetKey,on=Rt.dropContainerKey,Ct=Rt.dropTargetPos,tt=Rt.dropAllowed,$t=Rt.dragOverNodeKey;if(ce.indexOf(Mt)!==-1||!tt){R.resetDragState();return}if(R.delayedDragEnterLogic||(R.delayedDragEnterLogic={}),Object.keys(R.delayedDragEnterLogic).forEach(function(Vt){clearTimeout(R.delayedDragEnterLogic[Vt])}),nt.props.eventKey!==X.props.eventKey&&(d.persist(),R.delayedDragEnterLogic[He]=window.setTimeout(function(){if(R.state.draggingNodeKey!==null){var Vt=(0,L.Z)(z),je=(0,Je.Z)(J,X.props.eventKey);je&&(je.children||[]).length&&(Vt=(0,Re.L0)(z,X.props.eventKey)),"expandedKeys"in R.props||R.setExpandedKeys(Vt),ve==null||ve(Vt,{node:(0,ee.F)(X.props),expanded:!0,nativeEvent:d.nativeEvent})}},800)),nt.props.eventKey===Mt&&Tt===0){R.resetDragState();return}R.setState({dragOverNodeKey:$t,dropPosition:Nt,dropLevelOffset:Tt,dropTargetKey:Mt,dropContainerKey:on,dropTargetPos:Ct,dropAllowed:tt}),_e==null||_e({event:d,node:(0,ee.F)(X.props),expandedKeys:z})},R.onNodeDragOver=function(d,X){var K=R.state,z=K.dragChildrenKeys,J=K.flattenNodes,ce=K.keyEntities,re=K.expandedKeys,se=K.indent,me=R.props,_e=me.onDragOver,ve=me.allowDrop,Be=me.direction,$e=(0,W.Z)(R),Ie=$e.dragNode;if(Ie){var He=(0,Re.OM)(d,Ie,X,se,R.dragStartMousePosition,ve,J,ce,re,Be),et=He.dropPosition,st=He.dropLevelOffset,nt=He.dropTargetKey,Rt=He.dropContainerKey,Nt=He.dropAllowed,Tt=He.dropTargetPos,Mt=He.dragOverNodeKey;z.indexOf(nt)!==-1||!Nt||(Ie.props.eventKey===nt&&st===0?R.state.dropPosition===null&&R.state.dropLevelOffset===null&&R.state.dropTargetKey===null&&R.state.dropContainerKey===null&&R.state.dropTargetPos===null&&R.state.dropAllowed===!1&&R.state.dragOverNodeKey===null||R.resetDragState():et===R.state.dropPosition&&st===R.state.dropLevelOffset&&nt===R.state.dropTargetKey&&Rt===R.state.dropContainerKey&&Tt===R.state.dropTargetPos&&Nt===R.state.dropAllowed&&Mt===R.state.dragOverNodeKey||R.setState({dropPosition:et,dropLevelOffset:st,dropTargetKey:nt,dropContainerKey:Rt,dropTargetPos:Tt,dropAllowed:Nt,dragOverNodeKey:Mt}),_e==null||_e({event:d,node:(0,ee.F)(X.props)}))}},R.onNodeDragLeave=function(d,X){R.currentMouseOverDroppableNodeKey===X.props.eventKey&&!d.currentTarget.contains(d.relatedTarget)&&(R.resetDragState(),R.currentMouseOverDroppableNodeKey=null);var K=R.props.onDragLeave;K==null||K({event:d,node:(0,ee.F)(X.props)})},R.onWindowDragEnd=function(d){R.onNodeDragEnd(d,null,!0),window.removeEventListener("dragend",R.onWindowDragEnd)},R.onNodeDragEnd=function(d,X){var K=R.props.onDragEnd;R.setState({dragOverNodeKey:null}),R.cleanDragState(),K==null||K({event:d,node:(0,ee.F)(X.props)}),R.dragNode=null,window.removeEventListener("dragend",R.onWindowDragEnd)},R.onNodeDrop=function(d,X){var K,z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,J=R.state,ce=J.dragChildrenKeys,re=J.dropPosition,se=J.dropTargetKey,me=J.dropTargetPos,_e=J.dropAllowed;if(_e){var ve=R.props.onDrop;if(R.setState({dragOverNodeKey:null}),R.cleanDragState(),se!==null){var Be=(0,V.Z)((0,V.Z)({},(0,ee.H8)(se,R.getTreeNodeRequiredProps())),{},{active:((K=R.getActiveItem())===null||K===void 0?void 0:K.key)===se,data:(0,Je.Z)(R.state.keyEntities,se).node}),$e=ce.indexOf(se)!==-1;(0,l.ZP)(!$e,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Ie=(0,Re.yx)(me),He={event:d,node:(0,ee.F)(Be),dragNode:R.dragNode?(0,ee.F)(R.dragNode.props):null,dragNodesKeys:[R.dragNode.props.eventKey].concat(ce),dropToGap:re!==0,dropPosition:re+Number(Ie[Ie.length-1])};z||ve==null||ve(He),R.dragNode=null}}},R.cleanDragState=function(){var d=R.state.draggingNodeKey;d!==null&&R.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),R.dragStartMousePosition=null,R.currentMouseOverDroppableNodeKey=null},R.triggerExpandActionExpand=function(d,X){var K=R.state,z=K.expandedKeys,J=K.flattenNodes,ce=X.expanded,re=X.key,se=X.isLeaf;if(!(se||d.shiftKey||d.metaKey||d.ctrlKey)){var me=J.filter(function(ve){return ve.key===re})[0],_e=(0,ee.F)((0,V.Z)((0,V.Z)({},(0,ee.H8)(re,R.getTreeNodeRequiredProps())),{},{data:me.data}));R.setExpandedKeys(ce?(0,Re._5)(z,re):(0,Re.L0)(z,re)),R.onNodeExpand(d,_e)}},R.onNodeClick=function(d,X){var K=R.props,z=K.onClick,J=K.expandAction;J==="click"&&R.triggerExpandActionExpand(d,X),z==null||z(d,X)},R.onNodeDoubleClick=function(d,X){var K=R.props,z=K.onDoubleClick,J=K.expandAction;J==="doubleClick"&&R.triggerExpandActionExpand(d,X),z==null||z(d,X)},R.onNodeSelect=function(d,X){var K=R.state.selectedKeys,z=R.state,J=z.keyEntities,ce=z.fieldNames,re=R.props,se=re.onSelect,me=re.multiple,_e=X.selected,ve=X[ce.key],Be=!_e;Be?me?K=(0,Re.L0)(K,ve):K=[ve]:K=(0,Re._5)(K,ve);var $e=K.map(function(Ie){var He=(0,Je.Z)(J,Ie);return He?He.node:null}).filter(function(Ie){return Ie});R.setUncontrolledState({selectedKeys:K}),se==null||se(K,{event:"select",selected:Be,node:X,selectedNodes:$e,nativeEvent:d.nativeEvent})},R.onNodeCheck=function(d,X,K){var z=R.state,J=z.keyEntities,ce=z.checkedKeys,re=z.halfCheckedKeys,se=R.props,me=se.checkStrictly,_e=se.onCheck,ve=X.key,Be,$e={event:"check",node:X,checked:K,nativeEvent:d.nativeEvent};if(me){var Ie=K?(0,Re.L0)(ce,ve):(0,Re._5)(ce,ve),He=(0,Re._5)(re,ve);Be={checked:Ie,halfChecked:He},$e.checkedNodes=Ie.map(function(Tt){return(0,Je.Z)(J,Tt)}).filter(function(Tt){return Tt}).map(function(Tt){return Tt.node}),R.setUncontrolledState({checkedKeys:Ie})}else{var et=(0,ze.S)([].concat((0,L.Z)(ce),[ve]),!0,J),st=et.checkedKeys,nt=et.halfCheckedKeys;if(!K){var Rt=new Set(st);Rt.delete(ve);var Nt=(0,ze.S)(Array.from(Rt),{checked:!1,halfCheckedKeys:nt},J);st=Nt.checkedKeys,nt=Nt.halfCheckedKeys}Be=st,$e.checkedNodes=[],$e.checkedNodesPositions=[],$e.halfCheckedKeys=nt,st.forEach(function(Tt){var Mt=(0,Je.Z)(J,Tt);if(Mt){var on=Mt.node,Ct=Mt.pos;$e.checkedNodes.push(on),$e.checkedNodesPositions.push({node:on,pos:Ct})}}),R.setUncontrolledState({checkedKeys:st},!1,{halfCheckedKeys:nt})}_e==null||_e(Be,$e)},R.onNodeLoad=function(d){var X=d.key,K=new Promise(function(z,J){R.setState(function(ce){var re=ce.loadedKeys,se=re===void 0?[]:re,me=ce.loadingKeys,_e=me===void 0?[]:me,ve=R.props,Be=ve.loadData,$e=ve.onLoad;if(!Be||se.indexOf(X)!==-1||_e.indexOf(X)!==-1)return null;var Ie=Be(d);return Ie.then(function(){var He=R.state.loadedKeys,et=(0,Re.L0)(He,X);$e==null||$e(et,{event:"load",node:d}),R.setUncontrolledState({loadedKeys:et}),R.setState(function(st){return{loadingKeys:(0,Re._5)(st.loadingKeys,X)}}),z()}).catch(function(He){if(R.setState(function(st){return{loadingKeys:(0,Re._5)(st.loadingKeys,X)}}),R.loadingRetryTimes[X]=(R.loadingRetryTimes[X]||0)+1,R.loadingRetryTimes[X]>=Oe){var et=R.state.loadedKeys;(0,l.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),R.setUncontrolledState({loadedKeys:(0,Re.L0)(et,X)}),z()}J(He)}),{loadingKeys:(0,Re.L0)(_e,X)}})});return K.catch(function(){}),K},R.onNodeMouseEnter=function(d,X){var K=R.props.onMouseEnter;K==null||K({event:d,node:X})},R.onNodeMouseLeave=function(d,X){var K=R.props.onMouseLeave;K==null||K({event:d,node:X})},R.onNodeContextMenu=function(d,X){var K=R.props.onRightClick;K&&(d.preventDefault(),K({event:d,node:X}))},R.onFocus=function(){var d=R.props.onFocus;R.setState({focused:!0});for(var X=arguments.length,K=new Array(X),z=0;z<X;z++)K[z]=arguments[z];d==null||d.apply(void 0,K)},R.onBlur=function(){var d=R.props.onBlur;R.setState({focused:!1}),R.onActiveChange(null);for(var X=arguments.length,K=new Array(X),z=0;z<X;z++)K[z]=arguments[z];d==null||d.apply(void 0,K)},R.getTreeNodeRequiredProps=function(){var d=R.state,X=d.expandedKeys,K=d.selectedKeys,z=d.loadedKeys,J=d.loadingKeys,ce=d.checkedKeys,re=d.halfCheckedKeys,se=d.dragOverNodeKey,me=d.dropPosition,_e=d.keyEntities;return{expandedKeys:X||[],selectedKeys:K||[],loadedKeys:z||[],loadingKeys:J||[],checkedKeys:ce||[],halfCheckedKeys:re||[],dragOverNodeKey:se,dropPosition:me,keyEntities:_e}},R.setExpandedKeys=function(d){var X=R.state,K=X.treeData,z=X.fieldNames,J=(0,ee.oH)(K,d,z);R.setUncontrolledState({expandedKeys:d,flattenNodes:J},!0)},R.onNodeExpand=function(d,X){var K=R.state.expandedKeys,z=R.state,J=z.listChanging,ce=z.fieldNames,re=R.props,se=re.onExpand,me=re.loadData,_e=X.expanded,ve=X[ce.key];if(!J){var Be=K.indexOf(ve),$e=!_e;if((0,l.ZP)(_e&&Be!==-1||!_e&&Be===-1,"Expand state not sync with index check"),$e?K=(0,Re.L0)(K,ve):K=(0,Re._5)(K,ve),R.setExpandedKeys(K),se==null||se(K,{node:X,expanded:$e,nativeEvent:d.nativeEvent}),$e&&me){var Ie=R.onNodeLoad(X);Ie&&Ie.then(function(){var He=(0,ee.oH)(R.state.treeData,K,ce);R.setUncontrolledState({flattenNodes:He})}).catch(function(){var He=R.state.expandedKeys,et=(0,Re._5)(He,ve);R.setExpandedKeys(et)})}}},R.onListChangeStart=function(){R.setUncontrolledState({listChanging:!0})},R.onListChangeEnd=function(){setTimeout(function(){R.setUncontrolledState({listChanging:!1})})},R.onActiveChange=function(d){var X=R.state.activeKey,K=R.props.onActiveChange;X!==d&&(R.setState({activeKey:d}),d!==null&&R.scrollTo({key:d}),K==null||K(d))},R.getActiveItem=function(){var d=R.state,X=d.activeKey,K=d.flattenNodes;return X===null?null:K.find(function(z){var J=z.key;return J===X})||null},R.offsetActiveKey=function(d){var X=R.state,K=X.flattenNodes,z=X.activeKey,J=K.findIndex(function(se){var me=se.key;return me===z});J===-1&&d<0&&(J=K.length),J=(J+d+K.length)%K.length;var ce=K[J];if(ce){var re=ce.key;R.onActiveChange(re)}else R.onActiveChange(null)},R.onKeyDown=function(d){var X=R.state,K=X.activeKey,z=X.expandedKeys,J=X.checkedKeys,ce=X.fieldNames,re=R.props,se=re.onKeyDown,me=re.checkable,_e=re.selectable;switch(d.which){case r.Z.UP:{R.offsetActiveKey(-1),d.preventDefault();break}case r.Z.DOWN:{R.offsetActiveKey(1),d.preventDefault();break}}var ve=R.getActiveItem();if(ve&&ve.data){var Be=R.getTreeNodeRequiredProps(),$e=ve.data.isLeaf===!1||!!(ve.data[ce.children]||[]).length,Ie=(0,ee.F)((0,V.Z)((0,V.Z)({},(0,ee.H8)(K,Be)),{},{data:ve.data,active:!0}));switch(d.which){case r.Z.LEFT:{$e&&z.includes(K)?R.onNodeExpand({},Ie):ve.parent&&R.onActiveChange(ve.parent.key),d.preventDefault();break}case r.Z.RIGHT:{$e&&!z.includes(K)?R.onNodeExpand({},Ie):ve.children&&ve.children.length&&R.onActiveChange(ve.children[0].key),d.preventDefault();break}case r.Z.ENTER:case r.Z.SPACE:{me&&!Ie.disabled&&Ie.checkable!==!1&&!Ie.disableCheckbox?R.onNodeCheck({},Ie,!J.includes(K)):!me&&_e&&!Ie.disabled&&Ie.selectable!==!1&&R.onNodeSelect({},Ie);break}}}se==null||se(d)},R.setUncontrolledState=function(d){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!R.destroyed){var z=!1,J=!0,ce={};Object.keys(d).forEach(function(re){if(re in R.props){J=!1;return}z=!0,ce[re]=d[re]}),z&&(!X||J)&&R.setState((0,V.Z)((0,V.Z)({},ce),K))}},R.scrollTo=function(d){R.listRef.current.scrollTo(d)},R}return(0,u.Z)(A,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var te=this.props.activeKey;te!==void 0&&te!==this.state.activeKey&&(this.setState({activeKey:te}),te!==null&&this.scrollTo({key:te}))}},{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 te,y=this.state,f=y.focused,d=y.flattenNodes,X=y.keyEntities,K=y.draggingNodeKey,z=y.activeKey,J=y.dropLevelOffset,ce=y.dropContainerKey,re=y.dropTargetKey,se=y.dropPosition,me=y.dragOverNodeKey,_e=y.indent,ve=this.props,Be=ve.prefixCls,$e=ve.className,Ie=ve.style,He=ve.showLine,et=ve.focusable,st=ve.tabIndex,nt=st===void 0?0:st,Rt=ve.selectable,Nt=ve.showIcon,Tt=ve.icon,Mt=ve.switcherIcon,on=ve.draggable,Ct=ve.checkable,tt=ve.checkStrictly,$t=ve.disabled,Vt=ve.motion,je=ve.loadData,qt=ve.filterTreeNode,gn=ve.height,sn=ve.itemHeight,An=ve.virtual,Ln=ve.titleRender,Kn=ve.dropIndicatorRender,rr=ve.onContextMenu,Gt=ve.onScroll,St=ve.direction,Xt=ve.rootClassName,ln=ve.rootStyle,Bn=(0,o.Z)(this.props,{aria:!0,data:!0}),Pn;return on&&((0,D.Z)(on)==="object"?Pn=on:typeof on=="function"?Pn={nodeDraggable:on}:Pn={}),w.createElement(k.k.Provider,{value:{prefixCls:Be,selectable:Rt,showIcon:Nt,icon:Tt,switcherIcon:Mt,draggable:Pn,draggingNodeKey:K,checkable:Ct,checkStrictly:tt,disabled:$t,keyEntities:X,dropLevelOffset:J,dropContainerKey:ce,dropTargetKey:re,dropPosition:se,dragOverNodeKey:me,indent:_e,direction:St,dropIndicatorRender:Kn,loadData:je,filterTreeNode:qt,titleRender:Ln,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},w.createElement("div",{role:"tree",className:n()(Be,$e,Xt,(te={},(0,m.Z)(te,"".concat(Be,"-show-line"),He),(0,m.Z)(te,"".concat(Be,"-focused"),f),(0,m.Z)(te,"".concat(Be,"-active-focused"),z!==null),te)),style:ln},w.createElement(ke,(0,x.Z)({ref:this.listRef,prefixCls:Be,style:Ie,data:d,disabled:$t,selectable:Rt,checkable:!!Ct,motion:Vt,dragging:K!==null,height:gn,itemHeight:sn,virtual:An,focusable:et,focused:f,tabIndex:nt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:rr,onScroll:Gt},this.getTreeNodeRequiredProps(),Bn))))}}],[{key:"getDerivedStateFromProps",value:function(te,y){var f=y.prevProps,d={prevProps:te};function X(et){return!f&&et in te||f&&f[et]!==te[et]}var K,z=y.fieldNames;if(X("fieldNames")&&(z=(0,ee.w$)(te.fieldNames),d.fieldNames=z),X("treeData")?K=te.treeData:X("children")&&((0,l.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),K=(0,ee.zn)(te.children)),K){d.treeData=K;var J=(0,ee.I8)(K,{fieldNames:z});d.keyEntities=(0,V.Z)((0,m.Z)({},a,j),J.keyEntities)}var ce=d.keyEntities||y.keyEntities;if(X("expandedKeys")||f&&X("autoExpandParent"))d.expandedKeys=te.autoExpandParent||!f&&te.defaultExpandParent?(0,Re.r7)(te.expandedKeys,ce):te.expandedKeys;else if(!f&&te.defaultExpandAll){var re=(0,V.Z)({},ce);delete re[a],d.expandedKeys=Object.keys(re).map(function(et){return re[et].key})}else!f&&te.defaultExpandedKeys&&(d.expandedKeys=te.autoExpandParent||te.defaultExpandParent?(0,Re.r7)(te.defaultExpandedKeys,ce):te.defaultExpandedKeys);if(d.expandedKeys||delete d.expandedKeys,K||d.expandedKeys){var se=(0,ee.oH)(K||y.treeData,d.expandedKeys||y.expandedKeys,z);d.flattenNodes=se}if(te.selectable&&(X("selectedKeys")?d.selectedKeys=(0,Re.BT)(te.selectedKeys,te):!f&&te.defaultSelectedKeys&&(d.selectedKeys=(0,Re.BT)(te.defaultSelectedKeys,te))),te.checkable){var me;if(X("checkedKeys")?me=(0,Re.E6)(te.checkedKeys)||{}:!f&&te.defaultCheckedKeys?me=(0,Re.E6)(te.defaultCheckedKeys)||{}:K&&(me=(0,Re.E6)(te.checkedKeys)||{checkedKeys:y.checkedKeys,halfCheckedKeys:y.halfCheckedKeys}),me){var _e=me,ve=_e.checkedKeys,Be=ve===void 0?[]:ve,$e=_e.halfCheckedKeys,Ie=$e===void 0?[]:$e;if(!te.checkStrictly){var He=(0,ze.S)(Be,!0,ce);Be=He.checkedKeys,Ie=He.halfCheckedKeys}d.checkedKeys=Be,d.halfCheckedKeys=Ie}}return X("loadedKeys")&&(d.loadedKeys=te.loadedKeys),d}}]),A}(w.Component);Ce.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:E,allowDrop:function(){return!0},expandAction:!1},Ce.TreeNode=T.Z;var Y=Ce,pe=Y},35654:function(Ue,de,t){"use strict";t.d(de,{BT:function(){return w},E6:function(){return g},L0:function(){return h},OM:function(){return l},_5:function(){return e},r7:function(){return I},wA:function(){return n},yx:function(){return v}});var x=t(80702),m=t(62853),D=t(48736),V=t(59301),L=t(39417),F=t(67841),u=t(71430),W=null;function e(C,c){if(!C)return[];var s=C.slice(),b=s.indexOf(c);return b>=0&&s.splice(b,1),s}function h(C,c){var s=(C||[]).slice();return s.indexOf(c)===-1&&s.push(c),s}function v(C){return C.split("-")}function n(C,c){var s=[],b=(0,F.Z)(c,C);function T(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];q.forEach(function(ee){var G=ee.key,H=ee.children;s.push(G),T(H)})}return T(b.children),s}function r(C){if(C.parent){var c=v(C.pos);return Number(c[c.length-1])===C.parent.children.length-1}return!1}function o(C){var c=v(C.pos);return Number(c[c.length-1])===0}function l(C,c,s,b,T,q,ee,G,H,$){var p,Z=C.clientX,O=C.clientY,B=C.target.getBoundingClientRect(),P=B.top,i=B.height,a=($==="rtl"?-1:1)*(((T==null?void 0:T.x)||0)-Z),_=(a-12)/b,j=(0,F.Z)(G,s.props.eventKey);if(O<P+i/2){var ne=ee.findIndex(function(pe){return pe.key===j.key}),ae=ne<=0?0:ne-1,oe=ee[ae].key;j=(0,F.Z)(G,oe)}var fe=j.key,Ee=j,ke=j.key,Re=0,ze=0;if(!H.includes(fe))for(var Je=0;Je<_&&r(j);Je+=1)j=j.parent,ze+=1;var Oe=c.props.data,Ce=j.node,Y=!0;return o(j)&&j.level===0&&O<P+i/2&&q({dragNode:Oe,dropNode:Ce,dropPosition:-1})&&j.key===s.props.eventKey?Re=-1:(Ee.children||[]).length&&H.includes(ke)?q({dragNode:Oe,dropNode:Ce,dropPosition:0})?Re=0:Y=!1:ze===0?_>-1.5?q({dragNode:Oe,dropNode:Ce,dropPosition:1})?Re=1:Y=!1:q({dragNode:Oe,dropNode:Ce,dropPosition:0})?Re=0:q({dragNode:Oe,dropNode:Ce,dropPosition:1})?Re=1:Y=!1:q({dragNode:Oe,dropNode:Ce,dropPosition:1})?Re=1:Y=!1,{dropPosition:Re,dropLevelOffset:ze,dropTargetKey:j.key,dropTargetPos:j.pos,dragOverNodeKey:ke,dropContainerKey:Re===0?null:((p=j.parent)===null||p===void 0?void 0:p.key)||null,dropAllowed:Y}}function w(C,c){if(C){var s=c.multiple;return s?C.slice():C.length?[C[0]]:C}}var k=function(c){return c};function E(C,c){if(!C)return[];var s=c||{},b=s.processProps,T=b===void 0?k:b,q=Array.isArray(C)?C:[C];return q.map(function(ee){var G=ee.children,H=_objectWithoutProperties(ee,W),$=E(G,c);return React.createElement(TreeNode,_extends({key:H.key},T(H)),$)})}function g(C){if(!C)return null;var c;if(Array.isArray(C))c={checkedKeys:C,halfCheckedKeys:void 0};else if((0,m.Z)(C)==="object")c={checkedKeys:C.checked||void 0,halfCheckedKeys:C.halfChecked||void 0};else return(0,D.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return c}function I(C,c){var s=new Set;function b(T){if(!s.has(T)){var q=(0,F.Z)(c,T);if(q){s.add(T);var ee=q.parent,G=q.node;G.disabled||ee&&b(ee.key)}}}return(C||[]).forEach(function(T){b(T)}),(0,x.Z)(s)}},90782:function(Ue,de,t){"use strict";t.d(de,{S:function(){return u}});var x=t(48736),m=t(67841);function D(W,e){var h=new Set;return W.forEach(function(v){e.has(v)||h.add(v)}),h}function V(W){var e=W||{},h=e.disabled,v=e.disableCheckbox,n=e.checkable;return!!(h||v)||n===!1}function L(W,e,h,v){for(var n=new Set(W),r=new Set,o=0;o<=h;o+=1){var l=e.get(o)||new Set;l.forEach(function(g){var I=g.key,C=g.node,c=g.children,s=c===void 0?[]:c;n.has(I)&&!v(C)&&s.filter(function(b){return!v(b.node)}).forEach(function(b){n.add(b.key)})})}for(var w=new Set,k=h;k>=0;k-=1){var E=e.get(k)||new Set;E.forEach(function(g){var I=g.parent,C=g.node;if(!(v(C)||!g.parent||w.has(g.parent.key))){if(v(g.parent.node)){w.add(I.key);return}var c=!0,s=!1;(I.children||[]).filter(function(b){return!v(b.node)}).forEach(function(b){var T=b.key,q=n.has(T);c&&!q&&(c=!1),!s&&(q||r.has(T))&&(s=!0)}),c&&n.add(I.key),s&&r.add(I.key),w.add(I.key)}})}return{checkedKeys:Array.from(n),halfCheckedKeys:Array.from(D(r,n))}}function F(W,e,h,v,n){for(var r=new Set(W),o=new Set(e),l=0;l<=v;l+=1){var w=h.get(l)||new Set;w.forEach(function(I){var C=I.key,c=I.node,s=I.children,b=s===void 0?[]:s;!r.has(C)&&!o.has(C)&&!n(c)&&b.filter(function(T){return!n(T.node)}).forEach(function(T){r.delete(T.key)})})}o=new Set;for(var k=new Set,E=v;E>=0;E-=1){var g=h.get(E)||new Set;g.forEach(function(I){var C=I.parent,c=I.node;if(!(n(c)||!I.parent||k.has(I.parent.key))){if(n(I.parent.node)){k.add(C.key);return}var s=!0,b=!1;(C.children||[]).filter(function(T){return!n(T.node)}).forEach(function(T){var q=T.key,ee=r.has(q);s&&!ee&&(s=!1),!b&&(ee||o.has(q))&&(b=!0)}),s||r.delete(C.key),b&&o.add(C.key),k.add(C.key)}})}return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(D(o,r))}}function u(W,e,h,v){var n=[],r;v?r=v:r=V;var o=new Set(W.filter(function(E){var g=!!(0,m.Z)(h,E);return g||n.push(E),g})),l=new Map,w=0;Object.keys(h).forEach(function(E){var g=h[E],I=g.level,C=l.get(I);C||(C=new Set,l.set(I,C)),C.add(g),w=Math.max(w,I)}),(0,x.ZP)(!n.length,"Tree missing follow keys: ".concat(n.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var k;return e===!0?k=L(o,l,w,r):k=F(o,e.halfCheckedKeys,l,w,r),k}},67841:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return x}});function x(m,D){return m[D]}},71430:function(Ue,de,t){"use strict";t.d(de,{F:function(){return I},H8:function(){return g},I8:function(){return E},km:function(){return n},oH:function(){return w},w$:function(){return r},zn:function(){return l}});var x=t(62853),m=t(80702),D=t(77321),V=t(74416),L=t(11592),F=t(2738),u=t(48736),W=t(67841),e=["children"];function h(C,c){return"".concat(C,"-").concat(c)}function v(C){return C&&C.type&&C.type.isTreeNode}function n(C,c){return C!=null?C:c}function r(C){var c=C||{},s=c.title,b=c._title,T=c.key,q=c.children,ee=s||"title";return{title:ee,_title:b||[ee],key:T||"key",children:q||"children"}}function o(C,c){var s=new Map;function b(T){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(T||[]).forEach(function(ee){var G=ee[c.key],H=ee[c.children];warning(G!=null,"Tree node must have a certain key: [".concat(q).concat(G,"]"));var $=String(G);warning(!s.has($)||G===null||G===void 0,"Same 'key' exist in the Tree: ".concat($)),s.set($,!0),b(H,"".concat(q).concat($," > "))})}b(C)}function l(C){function c(s){var b=(0,L.Z)(s);return b.map(function(T){if(!v(T))return(0,u.ZP)(!T,"Tree/TreeNode can only accept TreeNode as children."),null;var q=T.key,ee=T.props,G=ee.children,H=(0,V.Z)(ee,e),$=(0,D.Z)({key:q},H),p=c(G);return p.length&&($.children=p),$}).filter(function(T){return T})}return c(C)}function w(C,c,s){var b=r(s),T=b._title,q=b.key,ee=b.children,G=new Set(c===!0?[]:c),H=[];function $(p){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return p.map(function(O,B){for(var P=h(Z?Z.pos:"0",B),i=n(O[q],P),a,_=0;_<T.length;_+=1){var j=T[_];if(O[j]!==void 0){a=O[j];break}}var ne=(0,D.Z)((0,D.Z)({},(0,F.Z)(O,[].concat((0,m.Z)(T),[q,ee]))),{},{title:a,key:i,parent:Z,pos:P,children:null,data:O,isStart:[].concat((0,m.Z)(Z?Z.isStart:[]),[B===0]),isEnd:[].concat((0,m.Z)(Z?Z.isEnd:[]),[B===p.length-1])});return H.push(ne),c===!0||G.has(i)?ne.children=$(O[ee]||[],ne):ne.children=[],ne})}return $(C),H}function k(C,c,s){var b={};(0,x.Z)(s)==="object"?b=s:b={externalGetKey:s},b=b||{};var T=b,q=T.childrenPropName,ee=T.externalGetKey,G=T.fieldNames,H=r(G),$=H.key,p=H.children,Z=q||p,O;ee?typeof ee=="string"?O=function(i){return i[ee]}:typeof ee=="function"&&(O=function(i){return ee(i)}):O=function(i,a){return n(i[$],a)};function B(P,i,a,_){var j=P?P[Z]:C,ne=P?h(a.pos,i):"0",ae=P?[].concat((0,m.Z)(_),[P]):[];if(P){var oe=O(P,ne),fe={node:P,index:i,pos:ne,key:oe,parentPos:a.node?a.pos:null,level:a.level+1,nodes:ae};c(fe)}j&&j.forEach(function(Ee,ke){B(Ee,ke,{node:P,pos:ne,level:a?a.level+1:-1},ae)})}B(null)}function E(C){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=c.initWrapper,b=c.processEntity,T=c.onProcessFinished,q=c.externalGetKey,ee=c.childrenPropName,G=c.fieldNames,H=arguments.length>2?arguments[2]:void 0,$=q||H,p={},Z={},O={posEntities:p,keyEntities:Z};return s&&(O=s(O)||O),k(C,function(B){var P=B.node,i=B.index,a=B.pos,_=B.key,j=B.parentPos,ne=B.level,ae=B.nodes,oe={node:P,nodes:ae,index:i,key:_,pos:a,level:ne},fe=n(_,a);p[a]=oe,Z[fe]=oe,oe.parent=p[j],oe.parent&&(oe.parent.children=oe.parent.children||[],oe.parent.children.push(oe)),b&&b(oe,O)},{externalGetKey:$,childrenPropName:ee,fieldNames:G}),T&&T(O),O}function g(C,c){var s=c.expandedKeys,b=c.selectedKeys,T=c.loadedKeys,q=c.loadingKeys,ee=c.checkedKeys,G=c.halfCheckedKeys,H=c.dragOverNodeKey,$=c.dropPosition,p=c.keyEntities,Z=(0,W.Z)(p,C),O={eventKey:C,expanded:s.indexOf(C)!==-1,selected:b.indexOf(C)!==-1,loaded:T.indexOf(C)!==-1,loading:q.indexOf(C)!==-1,checked:ee.indexOf(C)!==-1,halfChecked:G.indexOf(C)!==-1,pos:String(Z?Z.pos:""),dragOver:H===C&&$===0,dragOverGapTop:H===C&&$===-1,dragOverGapBottom:H===C&&$===1};return O}function I(C){var c=C.data,s=C.expanded,b=C.selected,T=C.checked,q=C.loaded,ee=C.loading,G=C.halfChecked,H=C.dragOver,$=C.dragOverGapTop,p=C.dragOverGapBottom,Z=C.pos,O=C.active,B=C.eventKey,P=(0,D.Z)((0,D.Z)({},c),{},{expanded:s,selected:b,checked:T,loaded:q,loading:ee,halfChecked:G,dragOver:H,dragOverGapTop:$,dragOverGapBottom:p,pos:Z,active:O,key:B});return"props"in P||Object.defineProperty(P,"props",{get:function(){return(0,u.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),C}}),P}},8224:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return m}});var x=t(4676);function m(D,V,L,F){var u=x.unstable_batchedUpdates?function(e){x.unstable_batchedUpdates(L,e)}:L;return D!=null&&D.addEventListener&&D.addEventListener(V,u,F),{remove:function(){D!=null&&D.removeEventListener&&D.removeEventListener(V,u,F)}}}},55468:function(Ue,de,t){"use strict";t.d(de,{g1:function(){return v},os:function(){return r}});var x=/margin|padding|width|height|max|min|offset/,m={left:!0,top:!0},D={cssFloat:1,styleFloat:1,float:1};function V(o){return o.nodeType===1?o.ownerDocument.defaultView.getComputedStyle(o,null):{}}function L(o,l,w){if(l=l.toLowerCase(),w==="auto"){if(l==="height")return o.offsetHeight;if(l==="width")return o.offsetWidth}return l in m||(m[l]=x.test(l)),m[l]?parseFloat(w)||0:w}function F(o,l){var w=arguments.length,k=V(o);return l=D[l]?"cssFloat"in o.style?"cssFloat":"styleFloat":l,w===1?k:L(o,l,k[l]||o.style[l])}function u(o,l,w){var k=arguments.length;if(l=D[l]?"cssFloat"in o.style?"cssFloat":"styleFloat":l,k===3)return typeof w=="number"&&x.test(l)&&(w="".concat(w,"px")),o.style[l]=w,w;for(var E in l)l.hasOwnProperty(E)&&u(o,E,l[E]);return V(o)}function W(o){return o===document.body?document.documentElement.clientWidth:o.offsetWidth}function e(o){return o===document.body?window.innerHeight||document.documentElement.clientHeight:o.offsetHeight}function h(){var o=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),l=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:o,height:l}}function v(){var o=document.documentElement.clientWidth,l=window.innerHeight||document.documentElement.clientHeight;return{width:o,height:l}}function n(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function r(o){var l=o.getBoundingClientRect(),w=document.documentElement;return{left:l.left+(window.pageXOffset||w.scrollLeft)-(w.clientLeft||document.body.clientLeft||0),top:l.top+(window.pageYOffset||w.scrollTop)-(w.clientTop||document.body.clientTop||0)}}},24514:function(Ue,de,t){"use strict";t.d(de,{G:function(){return V}});var x=t(47273),m=function(F){if((0,x.Z)()&&window.document.documentElement){var u=Array.isArray(F)?F:[F],W=window.document.documentElement;return u.some(function(e){return e in W.style})}return!1},D=function(F,u){if(!m(F))return!1;var W=document.createElement("div"),e=W.style[F];return W.style[F]=u,W.style[F]!==e};function V(L,F){return!Array.isArray(L)&&F!==void 0?D(L,F):m(L)}},49658:function(Ue,de){"use strict";de.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var t=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(t==null?void 0:t.substr(0,4))}},45680:function(Ue,de,t){"use strict";t.d(de,{Z:function(){return Ce}});var x=t(72308),m=t(62853),D=t(77321),V=t(49618),L=t(52487),F=t(74416),u=t(92310),W=t.n(u),e=t(29301),h=t(70425),v=t(34280),n=t(59301),r=t(4676),o=n.forwardRef(function(Y,pe){var M=Y.height,U=Y.offsetY,A=Y.offsetX,R=Y.children,te=Y.prefixCls,y=Y.onInnerResize,f=Y.innerProps,d=Y.rtl,X=Y.extra,K={},z={display:"flex",flexDirection:"column"};return U!==void 0&&(K={height:M,position:"relative",overflow:"hidden"},z=(0,D.Z)((0,D.Z)({},z),{},(0,V.Z)((0,V.Z)((0,V.Z)((0,V.Z)((0,V.Z)({transform:"translateY(".concat(U,"px)")},d?"marginRight":"marginLeft",-A),"position","absolute"),"left",0),"right",0),"top",0))),n.createElement("div",{style:K},n.createElement(e.Z,{onResize:function(ce){var re=ce.offsetHeight;re&&y&&y()}},n.createElement("div",(0,x.Z)({style:z,className:W()((0,V.Z)({},"".concat(te,"-holder-inner"),te)),ref:pe},f),R,X)))});o.displayName="Filler";var l=o;function w(Y){var pe=Y.children,M=Y.setRef,U=n.useCallback(function(A){M(A)},[]);return n.cloneElement(pe,{ref:U})}function k(Y,pe,M,U,A,R,te,y){var f=y.getKey;return Y.slice(pe,M+1).map(function(d,X){var K=pe+X,z=te(d,K,{style:{width:U},offsetX:A}),J=f(d);return n.createElement(w,{key:J,setRef:function(re){return R(d,re)}},z)})}function E(Y,pe,M,U){var A=M-Y,R=pe-M,te=Math.min(A,R)*2;if(U<=te){var y=Math.floor(U/2);return U%2?M+y+1:M-y}return A>R?M-(U-R):M+(U-A)}function g(Y,pe,M){var U=Y.length,A=pe.length,R,te;if(U===0&&A===0)return null;U<A?(R=Y,te=pe):(R=pe,te=Y);var y={__EMPTY_ITEM__:!0};function f(ce){return ce!==void 0?M(ce):y}for(var d=null,X=Math.abs(U-A)!==1,K=0;K<te.length;K+=1){var z=f(R[K]),J=f(te[K]);if(z!==J){d=K,X=X||z!==f(te[K+1]);break}}return d===null?null:{index:d,multiple:X}}function I(Y,pe,M){var U=n.useState(Y),A=(0,L.Z)(U,2),R=A[0],te=A[1],y=n.useState(null),f=(0,L.Z)(y,2),d=f[0],X=f[1];return n.useEffect(function(){var K=g(R||[],Y||[],pe);(K==null?void 0:K.index)!==void 0&&(M==null||M(K.index),X(Y[K.index])),te(Y)},[Y]),[d]}var C=t(16089),c=(typeof navigator=="undefined"?"undefined":(0,m.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),s=c,b=function(Y,pe,M,U){var A=(0,n.useRef)(!1),R=(0,n.useRef)(null);function te(){clearTimeout(R.current),A.current=!0,R.current=setTimeout(function(){A.current=!1},50)}var y=(0,n.useRef)({top:Y,bottom:pe,left:M,right:U});return y.current.top=Y,y.current.bottom=pe,y.current.left=M,y.current.right=U,function(f,d){var X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,K=f?d<0&&y.current.left||d>0&&y.current.right:d<0&&y.current.top||d>0&&y.current.bottom;return X&&K?(clearTimeout(R.current),A.current=!1):(!K||A.current)&&te(),!A.current&&K}};function T(Y,pe,M,U,A,R,te){var y=(0,n.useRef)(0),f=(0,n.useRef)(null),d=(0,n.useRef)(null),X=(0,n.useRef)(!1),K=b(pe,M,U,A);function z(_e,ve){if(C.Z.cancel(f.current),!K(!1,ve)){var Be=_e;if(!Be._virtualHandled)Be._virtualHandled=!0;else return;y.current+=ve,d.current=ve,s||Be.preventDefault(),f.current=(0,C.Z)(function(){var $e=X.current?10:1;te(y.current*$e,!1),y.current=0})}}function J(_e,ve){te(ve,!0),s||_e.preventDefault()}var ce=(0,n.useRef)(null),re=(0,n.useRef)(null);function se(_e){if(Y){C.Z.cancel(re.current),re.current=(0,C.Z)(function(){ce.current=null},2);var ve=_e.deltaX,Be=_e.deltaY,$e=_e.shiftKey,Ie=ve,He=Be;(ce.current==="sx"||!ce.current&&$e&&Be&&!ve)&&(Ie=Be,He=0,ce.current="sx");var et=Math.abs(Ie),st=Math.abs(He);ce.current===null&&(ce.current=R&&et>st?"x":"y"),ce.current==="y"?z(_e,He):J(_e,Ie)}}function me(_e){Y&&(X.current=_e.detail===d.current)}return[se,me]}function q(Y,pe,M,U){var A=n.useMemo(function(){return[new Map,[]]},[Y,M.id,U]),R=(0,L.Z)(A,2),te=R[0],y=R[1],f=function(X){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:X,z=te.get(X),J=te.get(K);if(z===void 0||J===void 0)for(var ce=Y.length,re=y.length;re<ce;re+=1){var se,me=Y[re],_e=pe(me);te.set(_e,re);var ve=(se=M.get(_e))!==null&&se!==void 0?se:U;if(y[re]=(y[re-1]||0)+ve,_e===X&&(z=re),_e===K&&(J=re),z!==void 0&&J!==void 0)break}return{top:y[z-1]||0,bottom:y[J]}};return f}var ee=t(96949),G=t(55090),H=function(){function Y(){(0,ee.Z)(this,Y),(0,V.Z)(this,"maps",void 0),(0,V.Z)(this,"id",0),(0,V.Z)(this,"diffKeys",new Set),this.maps=Object.create(null)}return(0,G.Z)(Y,[{key:"set",value:function(M,U){this.maps[M]=U,this.id+=1,this.diffKeys.add(M)}},{key:"get",value:function(M){return this.maps[M]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),Y}(),$=H;function p(Y){var pe=parseFloat(Y);return isNaN(pe)?0:pe}function Z(Y,pe,M){var U=n.useState(0),A=(0,L.Z)(U,2),R=A[0],te=A[1],y=(0,n.useRef)(new Map),f=(0,n.useRef)(new $),d=(0,n.useRef)(0);function X(){d.current+=1}function K(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;X();var ce=function(){var me=!1;y.current.forEach(function(_e,ve){if(_e&&_e.offsetParent){var Be=_e.offsetHeight,$e=getComputedStyle(_e),Ie=$e.marginTop,He=$e.marginBottom,et=p(Ie),st=p(He),nt=Be+et+st;f.current.get(ve)!==nt&&(f.current.set(ve,nt),me=!0)}}),me&&te(function(_e){return _e+1})};if(J)ce();else{d.current+=1;var re=d.current;Promise.resolve().then(function(){re===d.current&&ce()})}}function z(J,ce){var re=Y(J),se=y.current.get(re);ce?(y.current.set(re,ce),K()):y.current.delete(re),!se!=!ce&&(ce?pe==null||pe(J):M==null||M(J))}return(0,n.useEffect)(function(){return X},[]),[z,K,f.current,R]}var O=14/15;function B(Y,pe,M){var U=(0,n.useRef)(!1),A=(0,n.useRef)(0),R=(0,n.useRef)(0),te=(0,n.useRef)(null),y=(0,n.useRef)(null),f,d=function(J){if(U.current){var ce=Math.ceil(J.touches[0].pageX),re=Math.ceil(J.touches[0].pageY),se=A.current-ce,me=R.current-re,_e=Math.abs(se)>Math.abs(me);_e?A.current=ce:R.current=re;var ve=M(_e,_e?se:me,!1,J);ve&&J.preventDefault(),clearInterval(y.current),ve&&(y.current=setInterval(function(){_e?se*=O:me*=O;var Be=Math.floor(_e?se:me);(!M(_e,Be,!0)||Math.abs(Be)<=.1)&&clearInterval(y.current)},16))}},X=function(){U.current=!1,f()},K=function(J){f(),J.touches.length===1&&!U.current&&(U.current=!0,A.current=Math.ceil(J.touches[0].pageX),R.current=Math.ceil(J.touches[0].pageY),te.current=J.target,te.current.addEventListener("touchmove",d,{passive:!1}),te.current.addEventListener("touchend",X,{passive:!0}))};f=function(){te.current&&(te.current.removeEventListener("touchmove",d),te.current.removeEventListener("touchend",X))},(0,v.Z)(function(){return Y&&pe.current.addEventListener("touchstart",K,{passive:!0}),function(){var z;(z=pe.current)===null||z===void 0||z.removeEventListener("touchstart",K),f(),clearInterval(y.current)}},[Y])}function P(Y){return Math.floor(Math.pow(Y,.5))}function i(Y,pe){var M="touches"in Y?Y.touches[0]:Y;return M[pe?"pageX":"pageY"]-window[pe?"scrollX":"scrollY"]}function a(Y,pe,M){n.useEffect(function(){var U=pe.current;if(Y&&U){var A=!1,R,te,y=function(){C.Z.cancel(R)},f=function z(){y(),R=(0,C.Z)(function(){M(te),z()})},d=function(J){if(!(J.target.draggable||J.button!==0)){var ce=J;ce._virtualHandled||(ce._virtualHandled=!0,A=!0)}},X=function(){A=!1,y()},K=function(J){if(A){var ce=i(J,!1),re=U.getBoundingClientRect(),se=re.top,me=re.bottom;if(ce<=se){var _e=se-ce;te=-P(_e),f()}else if(ce>=me){var ve=ce-me;te=P(ve),f()}else y()}};return U.addEventListener("mousedown",d),U.ownerDocument.addEventListener("mouseup",X),U.ownerDocument.addEventListener("mousemove",K),function(){U.removeEventListener("mousedown",d),U.ownerDocument.removeEventListener("mouseup",X),U.ownerDocument.removeEventListener("mousemove",K),y()}}},[Y])}var _=10;function j(Y,pe,M,U,A,R,te,y){var f=n.useRef(),d=n.useState(null),X=(0,L.Z)(d,2),K=X[0],z=X[1];return(0,v.Z)(function(){if(K&&K.times<_){if(!Y.current){z(function(Vt){return(0,D.Z)({},Vt)});return}R();var J=K.targetAlign,ce=K.originAlign,re=K.index,se=K.offset,me=Y.current.clientHeight,_e=!1,ve=J,Be=null;if(me){for(var $e=J||ce,Ie=0,He=0,et=0,st=Math.min(pe.length-1,re),nt=0;nt<=st;nt+=1){var Rt=A(pe[nt]);He=Ie;var Nt=M.get(Rt);et=He+(Nt===void 0?U:Nt),Ie=et}for(var Tt=$e==="top"?se:me-se,Mt=st;Mt>=0;Mt-=1){var on=A(pe[Mt]),Ct=M.get(on);if(Ct===void 0){_e=!0;break}if(Tt-=Ct,Tt<=0)break}switch($e){case"top":Be=He-se;break;case"bottom":Be=et-me+se;break;default:{var tt=Y.current.scrollTop,$t=tt+me;He<tt?ve="top":et>$t&&(ve="bottom")}}Be!==null&&te(Be),Be!==K.lastTop&&(_e=!0)}_e&&z((0,D.Z)((0,D.Z)({},K),{},{times:K.times+1,targetAlign:ve,lastTop:Be}))}},[K,Y.current]),function(J){if(J==null){y();return}if(C.Z.cancel(f.current),typeof J=="number")te(J);else if(J&&(0,m.Z)(J)==="object"){var ce,re=J.align;"index"in J?ce=J.index:ce=pe.findIndex(function(_e){return A(_e)===J.key});var se=J.offset,me=se===void 0?0:se;z({times:0,index:ce,offset:me,originAlign:re})}}}var ne=n.forwardRef(function(Y,pe){var M=Y.prefixCls,U=Y.rtl,A=Y.scrollOffset,R=Y.scrollRange,te=Y.onStartMove,y=Y.onStopMove,f=Y.onScroll,d=Y.horizontal,X=Y.spinSize,K=Y.containerSize,z=Y.style,J=Y.thumbStyle,ce=Y.showScrollBar,re=n.useState(!1),se=(0,L.Z)(re,2),me=se[0],_e=se[1],ve=n.useState(null),Be=(0,L.Z)(ve,2),$e=Be[0],Ie=Be[1],He=n.useState(null),et=(0,L.Z)(He,2),st=et[0],nt=et[1],Rt=!U,Nt=n.useRef(),Tt=n.useRef(),Mt=n.useState(ce),on=(0,L.Z)(Mt,2),Ct=on[0],tt=on[1],$t=n.useRef(),Vt=function(){ce===!0||ce===!1||(clearTimeout($t.current),tt(!0),$t.current=setTimeout(function(){tt(!1)},3e3))},je=R-K||0,qt=K-X||0,gn=n.useMemo(function(){if(A===0||je===0)return 0;var ln=A/je;return ln*qt},[A,je,qt]),sn=function(Bn){Bn.stopPropagation(),Bn.preventDefault()},An=n.useRef({top:gn,dragging:me,pageY:$e,startTop:st});An.current={top:gn,dragging:me,pageY:$e,startTop:st};var Ln=function(Bn){_e(!0),Ie(i(Bn,d)),nt(An.current.top),te(),Bn.stopPropagation(),Bn.preventDefault()};n.useEffect(function(){var ln=function(he){he.preventDefault()},Bn=Nt.current,Pn=Tt.current;return Bn.addEventListener("touchstart",ln,{passive:!1}),Pn.addEventListener("touchstart",Ln,{passive:!1}),function(){Bn.removeEventListener("touchstart",ln),Pn.removeEventListener("touchstart",Ln)}},[]);var Kn=n.useRef();Kn.current=je;var rr=n.useRef();rr.current=qt,n.useEffect(function(){if(me){var ln,Bn=function(he){var Ve=An.current,Fe=Ve.dragging,ht=Ve.pageY,rt=Ve.startTop;C.Z.cancel(ln);var gt=Nt.current.getBoundingClientRect(),it=K/(d?gt.width:gt.height);if(Fe){var bt=(i(he,d)-ht)*it,xt=rt;!Rt&&d?xt-=bt:xt+=bt;var wt=Kn.current,Ze=rr.current,Ke=Ze?xt/Ze:0,Ge=Math.ceil(Ke*wt);Ge=Math.max(Ge,0),Ge=Math.min(Ge,wt),ln=(0,C.Z)(function(){f(Ge,d)})}},Pn=function(){_e(!1),y()};return window.addEventListener("mousemove",Bn,{passive:!0}),window.addEventListener("touchmove",Bn,{passive:!0}),window.addEventListener("mouseup",Pn,{passive:!0}),window.addEventListener("touchend",Pn,{passive:!0}),function(){window.removeEventListener("mousemove",Bn),window.removeEventListener("touchmove",Bn),window.removeEventListener("mouseup",Pn),window.removeEventListener("touchend",Pn),C.Z.cancel(ln)}}},[me]),n.useEffect(function(){return Vt(),function(){clearTimeout($t.current)}},[A]),n.useImperativeHandle(pe,function(){return{delayHidden:Vt}});var Gt="".concat(M,"-scrollbar"),St={position:"absolute",visibility:Ct?null:"hidden"},Xt={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return d?(St.height=8,St.left=0,St.right=0,St.bottom=0,Xt.height="100%",Xt.width=X,Rt?Xt.left=gn:Xt.right=gn):(St.width=8,St.top=0,St.bottom=0,Rt?St.right=0:St.left=0,Xt.width="100%",Xt.height=X,Xt.top=gn),n.createElement("div",{ref:Nt,className:W()(Gt,(0,V.Z)((0,V.Z)((0,V.Z)({},"".concat(Gt,"-horizontal"),d),"".concat(Gt,"-vertical"),!d),"".concat(Gt,"-visible"),Ct)),style:(0,D.Z)((0,D.Z)({},St),z),onMouseDown:sn,onMouseMove:Vt},n.createElement("div",{ref:Tt,className:W()("".concat(Gt,"-thumb"),(0,V.Z)({},"".concat(Gt,"-thumb-moving"),me)),style:(0,D.Z)((0,D.Z)({},Xt),J),onMouseDown:Ln}))}),ae=ne,oe=20;function fe(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,M=Y/pe*Y;return isNaN(M)&&(M=0),M=Math.max(M,oe),Math.floor(M)}var Ee=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],ke=[],Re={overflowY:"auto",overflowAnchor:"none"};function ze(Y,pe){var M=Y.prefixCls,U=M===void 0?"rc-virtual-list":M,A=Y.className,R=Y.height,te=Y.itemHeight,y=Y.fullHeight,f=y===void 0?!0:y,d=Y.style,X=Y.data,K=Y.children,z=Y.itemKey,J=Y.virtual,ce=Y.direction,re=Y.scrollWidth,se=Y.component,me=se===void 0?"div":se,_e=Y.onScroll,ve=Y.onVirtualScroll,Be=Y.onVisibleChange,$e=Y.innerProps,Ie=Y.extraRender,He=Y.styles,et=Y.showScrollBar,st=et===void 0?"optional":et,nt=(0,F.Z)(Y,Ee),Rt=n.useCallback(function(It){return typeof z=="function"?z(It):It==null?void 0:It[z]},[z]),Nt=Z(Rt,null,null),Tt=(0,L.Z)(Nt,4),Mt=Tt[0],on=Tt[1],Ct=Tt[2],tt=Tt[3],$t=!!(J!==!1&&R&&te),Vt=n.useMemo(function(){return Object.values(Ct.maps).reduce(function(It,ut){return It+ut},0)},[Ct.id,Ct.maps]),je=$t&&X&&(Math.max(te*X.length,Vt)>R||!!re),qt=ce==="rtl",gn=W()(U,(0,V.Z)({},"".concat(U,"-rtl"),qt),A),sn=X||ke,An=(0,n.useRef)(),Ln=(0,n.useRef)(),Kn=(0,n.useRef)(),rr=(0,n.useState)(0),Gt=(0,L.Z)(rr,2),St=Gt[0],Xt=Gt[1],ln=(0,n.useState)(0),Bn=(0,L.Z)(ln,2),Pn=Bn[0],ye=Bn[1],he=(0,n.useState)(!1),Ve=(0,L.Z)(he,2),Fe=Ve[0],ht=Ve[1],rt=function(){ht(!0)},gt=function(){ht(!1)},it={getKey:Rt};function bt(It){Xt(function(ut){var rn;typeof It=="function"?rn=It(ut):rn=It;var xn=Ot(rn);return An.current.scrollTop=xn,xn})}var xt=(0,n.useRef)({start:0,end:sn.length}),wt=(0,n.useRef)(),Ze=I(sn,Rt),Ke=(0,L.Z)(Ze,1),Ge=Ke[0];wt.current=Ge;var at=n.useMemo(function(){if(!$t)return{scrollHeight:void 0,start:0,end:sn.length-1,offset:void 0};if(!je){var It;return{scrollHeight:((It=Ln.current)===null||It===void 0?void 0:It.offsetHeight)||0,start:0,end:sn.length-1,offset:void 0}}for(var ut=0,rn,xn,Gn,Pr=sn.length,hr=0;hr<Pr;hr+=1){var sr=sn[hr],mr=Rt(sr),vr=Ct.get(mr),yr=ut+(vr===void 0?te:vr);yr>=St&&rn===void 0&&(rn=hr,xn=ut),yr>St+R&&Gn===void 0&&(Gn=hr),ut=yr}return rn===void 0&&(rn=0,xn=0,Gn=Math.ceil(R/te)),Gn===void 0&&(Gn=sn.length-1),Gn=Math.min(Gn+1,sn.length-1),{scrollHeight:ut,start:rn,end:Gn,offset:xn}},[je,$t,St,sn,tt,R]),kt=at.scrollHeight,hn=at.start,Zt=at.end,lt=at.offset;xt.current.start=hn,xt.current.end=Zt,n.useLayoutEffect(function(){var It=Ct.getRecord();if(It.size===1){var ut=Array.from(It)[0],rn=sn[hn];if(rn){var xn=Rt(rn);if(xn===ut){var Gn=Ct.get(ut),Pr=Gn-te;bt(function(hr){return hr+Pr})}}}Ct.resetRecord()},[kt]);var ge=n.useState({width:0,height:R}),Se=(0,L.Z)(ge,2),De=Se[0],Ae=Se[1],Ne=function(ut){Ae({width:ut.offsetWidth,height:ut.offsetHeight})},Xe=(0,n.useRef)(),Me=(0,n.useRef)(),qe=n.useMemo(function(){return fe(De.width,re)},[De.width,re]),ft=n.useMemo(function(){return fe(De.height,kt)},[De.height,kt]),pt=kt-R,Kt=(0,n.useRef)(pt);Kt.current=pt;function Ot(It){var ut=It;return Number.isNaN(Kt.current)||(ut=Math.min(ut,Kt.current)),ut=Math.max(ut,0),ut}var un=St<=0,_t=St>=pt,ot=Pn<=0,Yt=Pn>=re,Wt=b(un,_t,ot,Yt),zn=function(){return{x:qt?-Pn:Pn,y:St}},En=(0,n.useRef)(zn()),mn=(0,h.useEvent)(function(It){if(ve){var ut=(0,D.Z)((0,D.Z)({},zn()),It);(En.current.x!==ut.x||En.current.y!==ut.y)&&(ve(ut),En.current=ut)}});function Dn(It,ut){var rn=It;ut?((0,r.flushSync)(function(){ye(rn)}),mn()):bt(rn)}function Jt(It){var ut=It.currentTarget.scrollTop;ut!==St&&bt(ut),_e==null||_e(It),mn()}var Zn=function(ut){var rn=ut,xn=re?re-De.width:0;return rn=Math.max(rn,0),rn=Math.min(rn,xn),rn},ur=(0,h.useEvent)(function(It,ut){ut?((0,r.flushSync)(function(){ye(function(rn){var xn=rn+(qt?-It:It);return Zn(xn)})}),mn()):bt(function(rn){var xn=rn+It;return xn})}),At=T($t,un,_t,ot,Yt,!!re,ur),Ht=(0,L.Z)(At,2),Ut=Ht[0],On=Ht[1];B($t,An,function(It,ut,rn,xn){var Gn=xn;return Wt(It,ut,rn)?!1:!Gn||!Gn._virtualHandled?(Gn&&(Gn._virtualHandled=!0),Ut({preventDefault:function(){},deltaX:It?ut:0,deltaY:It?0:ut}),!0):!1}),a(je,An,function(It){bt(function(ut){return ut+It})}),(0,v.Z)(function(){function It(rn){var xn=un&&rn.detail<0,Gn=_t&&rn.detail>0;$t&&!xn&&!Gn&&rn.preventDefault()}var ut=An.current;return ut.addEventListener("wheel",Ut,{passive:!1}),ut.addEventListener("DOMMouseScroll",On,{passive:!0}),ut.addEventListener("MozMousePixelScroll",It,{passive:!1}),function(){ut.removeEventListener("wheel",Ut),ut.removeEventListener("DOMMouseScroll",On),ut.removeEventListener("MozMousePixelScroll",It)}},[$t,un,_t]),(0,v.Z)(function(){if(re){var It=Zn(Pn);ye(It),mn({x:It})}},[De.width,re]);var bn=function(){var ut,rn;(ut=Xe.current)===null||ut===void 0||ut.delayHidden(),(rn=Me.current)===null||rn===void 0||rn.delayHidden()},Sn=j(An,sn,Ct,te,Rt,function(){return on(!0)},bt,bn);n.useImperativeHandle(pe,function(){return{nativeElement:Kn.current,getScrollInfo:zn,scrollTo:function(ut){function rn(xn){return xn&&(0,m.Z)(xn)==="object"&&("left"in xn||"top"in xn)}rn(ut)?(ut.left!==void 0&&ye(Zn(ut.left)),Sn(ut.top)):Sn(ut)}}}),(0,v.Z)(function(){if(Be){var It=sn.slice(hn,Zt+1);Be(It,sn)}},[hn,Zt,sn]);var _n=q(sn,Rt,Ct,te),kn=Ie==null?void 0:Ie({start:hn,end:Zt,virtual:je,offsetX:Pn,offsetY:lt,rtl:qt,getSize:_n}),or=k(sn,hn,Zt,re,Pn,Mt,K,it),jn=null;R&&(jn=(0,D.Z)((0,V.Z)({},f?"height":"maxHeight",R),Re),$t&&(jn.overflowY="hidden",re&&(jn.overflowX="hidden"),Fe&&(jn.pointerEvents="none")));var tr={};return qt&&(tr.dir="rtl"),n.createElement("div",(0,x.Z)({ref:Kn,style:(0,D.Z)((0,D.Z)({},d),{},{position:"relative"}),className:gn},tr,nt),n.createElement(e.Z,{onResize:Ne},n.createElement(me,{className:"".concat(U,"-holder"),style:jn,ref:An,onScroll:Jt,onMouseEnter:bn},n.createElement(l,{prefixCls:U,height:kt,offsetX:Pn,offsetY:lt,scrollWidth:re,onInnerResize:on,ref:Ln,innerProps:$e,rtl:qt,extra:kn},or))),je&&kt>R&&n.createElement(ae,{ref:Xe,prefixCls:U,scrollOffset:St,scrollRange:kt,rtl:qt,onScroll:Dn,onStartMove:rt,onStopMove:gt,spinSize:ft,containerSize:De.height,style:He==null?void 0:He.verticalScrollBar,thumbStyle:He==null?void 0:He.verticalScrollBarThumb,showScrollBar:st}),je&&re>De.width&&n.createElement(ae,{ref:Me,prefixCls:U,scrollOffset:Pn,scrollRange:re,rtl:qt,onScroll:Dn,onStartMove:rt,onStopMove:gt,spinSize:qe,containerSize:De.width,horizontal:!0,style:He==null?void 0:He.horizontalScrollBar,thumbStyle:He==null?void 0:He.horizontalScrollBarThumb,showScrollBar:st}))}var Je=n.forwardRef(ze);Je.displayName="List";var Oe=Je,Ce=Oe},83145:function(Ue,de,t){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.CopyToClipboard=void 0;var x=D(t(59301)),m=D(t(25769));function D(g){return g&&g.__esModule?g:{default:g}}function V(g){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?V=function(C){return typeof C}:V=function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},V(g)}function L(g,I){var C=Object.keys(g);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(g);I&&(c=c.filter(function(s){return Object.getOwnPropertyDescriptor(g,s).enumerable})),C.push.apply(C,c)}return C}function F(g){for(var I=1;I<arguments.length;I++){var C=arguments[I]!=null?arguments[I]:{};I%2?L(C,!0).forEach(function(c){k(g,c,C[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(C)):L(C).forEach(function(c){Object.defineProperty(g,c,Object.getOwnPropertyDescriptor(C,c))})}return g}function u(g,I){if(g==null)return{};var C=W(g,I),c,s;if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(g);for(s=0;s<b.length;s++)c=b[s],!(I.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(g,c)&&(C[c]=g[c])}return C}function W(g,I){if(g==null)return{};var C={},c=Object.keys(g),s,b;for(b=0;b<c.length;b++)s=c[b],!(I.indexOf(s)>=0)&&(C[s]=g[s]);return C}function e(g,I){if(!(g instanceof I))throw new TypeError("Cannot call a class as a function")}function h(g,I){for(var C=0;C<I.length;C++){var c=I[C];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(g,c.key,c)}}function v(g,I,C){return I&&h(g.prototype,I),C&&h(g,C),g}function n(g,I){return I&&(V(I)==="object"||typeof I=="function")?I:o(g)}function r(g){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(C){return C.__proto__||Object.getPrototypeOf(C)},r(g)}function o(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function l(g,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(I&&I.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),I&&w(g,I)}function w(g,I){return w=Object.setPrototypeOf||function(c,s){return c.__proto__=s,c},w(g,I)}function k(g,I,C){return I in g?Object.defineProperty(g,I,{value:C,enumerable:!0,configurable:!0,writable:!0}):g[I]=C,g}var E=function(g){l(I,g);function I(){var C,c;e(this,I);for(var s=arguments.length,b=new Array(s),T=0;T<s;T++)b[T]=arguments[T];return c=n(this,(C=r(I)).call.apply(C,[this].concat(b))),k(o(c),"onClick",function(q){var ee=c.props,G=ee.text,H=ee.onCopy,$=ee.children,p=ee.options,Z=x.default.Children.only($),O=(0,m.default)(G,p);H&&H(G,O),Z&&Z.props&&typeof Z.props.onClick=="function"&&Z.props.onClick(q)}),c}return v(I,[{key:"render",value:function(){var c=this.props,s=c.text,b=c.onCopy,T=c.options,q=c.children,ee=u(c,["text","onCopy","options","children"]),G=x.default.Children.only(q);return x.default.cloneElement(G,F({},ee,{onClick:this.onClick}))}}]),I}(x.default.PureComponent);de.CopyToClipboard=E,k(E,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(Ue,de,t){"use strict";var x=t(83145),m=x.CopyToClipboard;m.CopyToClipboard=m,Ue.exports=m},76374:function(Ue,de,t){"use strict";var x=function(){if(typeof Map!="undefined")return Map;function $(p,Z){var O=-1;return p.some(function(B,P){return B[0]===Z?(O=P,!0):!1}),O}return function(){function p(){this.__entries__=[]}return Object.defineProperty(p.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),p.prototype.get=function(Z){var O=$(this.__entries__,Z),B=this.__entries__[O];return B&&B[1]},p.prototype.set=function(Z,O){var B=$(this.__entries__,Z);~B?this.__entries__[B][1]=O:this.__entries__.push([Z,O])},p.prototype.delete=function(Z){var O=this.__entries__,B=$(O,Z);~B&&O.splice(B,1)},p.prototype.has=function(Z){return!!~$(this.__entries__,Z)},p.prototype.clear=function(){this.__entries__.splice(0)},p.prototype.forEach=function(Z,O){O===void 0&&(O=null);for(var B=0,P=this.__entries__;B<P.length;B++){var i=P[B];Z.call(O,i[1],i[0])}},p}()}(),m=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,D=function(){return typeof t.g!="undefined"&&t.g.Math===Math?t.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),V=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(D):function($){return setTimeout(function(){return $(Date.now())},1e3/60)}}(),L=2;function F($,p){var Z=!1,O=!1,B=0;function P(){Z&&(Z=!1,$()),O&&a()}function i(){V(P)}function a(){var _=Date.now();if(Z){if(_-B<L)return;O=!0}else Z=!0,O=!1,setTimeout(i,p);B=_}return a}var u=20,W=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",h=function(){function $(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=F(this.refresh.bind(this),u)}return $.prototype.addObserver=function(p){~this.observers_.indexOf(p)||this.observers_.push(p),this.connected_||this.connect_()},$.prototype.removeObserver=function(p){var Z=this.observers_,O=Z.indexOf(p);~O&&Z.splice(O,1),!Z.length&&this.connected_&&this.disconnect_()},$.prototype.refresh=function(){var p=this.updateObservers_();p&&this.refresh()},$.prototype.updateObservers_=function(){var p=this.observers_.filter(function(Z){return Z.gatherActive(),Z.hasActive()});return p.forEach(function(Z){return Z.broadcastActive()}),p.length>0},$.prototype.connect_=function(){!m||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),e?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},$.prototype.disconnect_=function(){!m||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},$.prototype.onTransitionEnd_=function(p){var Z=p.propertyName,O=Z===void 0?"":Z,B=W.some(function(P){return!!~O.indexOf(P)});B&&this.refresh()},$.getInstance=function(){return this.instance_||(this.instance_=new $),this.instance_},$.instance_=null,$}(),v=function($,p){for(var Z=0,O=Object.keys(p);Z<O.length;Z++){var B=O[Z];Object.defineProperty($,B,{value:p[B],enumerable:!1,writable:!1,configurable:!0})}return $},n=function($){var p=$&&$.ownerDocument&&$.ownerDocument.defaultView;return p||D},r=s(0,0,0,0);function o($){return parseFloat($)||0}function l($){for(var p=[],Z=1;Z<arguments.length;Z++)p[Z-1]=arguments[Z];return p.reduce(function(O,B){var P=$["border-"+B+"-width"];return O+o(P)},0)}function w($){for(var p=["top","right","bottom","left"],Z={},O=0,B=p;O<B.length;O++){var P=B[O],i=$["padding-"+P];Z[P]=o(i)}return Z}function k($){var p=$.getBBox();return s(0,0,p.width,p.height)}function E($){var p=$.clientWidth,Z=$.clientHeight;if(!p&&!Z)return r;var O=n($).getComputedStyle($),B=w(O),P=B.left+B.right,i=B.top+B.bottom,a=o(O.width),_=o(O.height);if(O.boxSizing==="border-box"&&(Math.round(a+P)!==p&&(a-=l(O,"left","right")+P),Math.round(_+i)!==Z&&(_-=l(O,"top","bottom")+i)),!I($)){var j=Math.round(a+P)-p,ne=Math.round(_+i)-Z;Math.abs(j)!==1&&(a-=j),Math.abs(ne)!==1&&(_-=ne)}return s(B.left,B.top,a,_)}var g=function(){return typeof SVGGraphicsElement!="undefined"?function($){return $ instanceof n($).SVGGraphicsElement}:function($){return $ instanceof n($).SVGElement&&typeof $.getBBox=="function"}}();function I($){return $===n($).document.documentElement}function C($){return m?g($)?k($):E($):r}function c($){var p=$.x,Z=$.y,O=$.width,B=$.height,P=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,i=Object.create(P.prototype);return v(i,{x:p,y:Z,width:O,height:B,top:Z,right:p+O,bottom:B+Z,left:p}),i}function s($,p,Z,O){return{x:$,y:p,width:Z,height:O}}var b=function(){function $(p){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=s(0,0,0,0),this.target=p}return $.prototype.isActive=function(){var p=C(this.target);return this.contentRect_=p,p.width!==this.broadcastWidth||p.height!==this.broadcastHeight},$.prototype.broadcastRect=function(){var p=this.contentRect_;return this.broadcastWidth=p.width,this.broadcastHeight=p.height,p},$}(),T=function(){function $(p,Z){var O=c(Z);v(this,{target:p,contentRect:O})}return $}(),q=function(){function $(p,Z,O){if(this.activeObservations_=[],this.observations_=new x,typeof p!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=p,this.controller_=Z,this.callbackCtx_=O}return $.prototype.observe=function(p){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(p instanceof n(p).Element))throw new TypeError('parameter 1 is not of type "Element".');var Z=this.observations_;Z.has(p)||(Z.set(p,new b(p)),this.controller_.addObserver(this),this.controller_.refresh())}},$.prototype.unobserve=function(p){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(p instanceof n(p).Element))throw new TypeError('parameter 1 is not of type "Element".');var Z=this.observations_;Z.has(p)&&(Z.delete(p),Z.size||this.controller_.removeObserver(this))}},$.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},$.prototype.gatherActive=function(){var p=this;this.clearActive(),this.observations_.forEach(function(Z){Z.isActive()&&p.activeObservations_.push(Z)})},$.prototype.broadcastActive=function(){if(this.hasActive()){var p=this.callbackCtx_,Z=this.activeObservations_.map(function(O){return new T(O.target,O.broadcastRect())});this.callback_.call(p,Z,p),this.clearActive()}},$.prototype.clearActive=function(){this.activeObservations_.splice(0)},$.prototype.hasActive=function(){return this.activeObservations_.length>0},$}(),ee=typeof WeakMap!="undefined"?new WeakMap:new x,G=function(){function $(p){if(!(this instanceof $))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Z=h.getInstance(),O=new q(p,Z,this);ee.set(this,O)}return $}();["observe","unobserve","disconnect"].forEach(function($){G.prototype[$]=function(){var p;return(p=ee.get(this))[$].apply(p,arguments)}});var H=function(){return typeof D.ResizeObserver!="undefined"?D.ResizeObserver:G}();de.Z=H},98040:function(Ue){Ue.exports=function(){var de=document.getSelection();if(!de.rangeCount)return function(){};for(var t=document.activeElement,x=[],m=0;m<de.rangeCount;m++)x.push(de.getRangeAt(m));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return de.removeAllRanges(),function(){de.type==="Caret"&&de.removeAllRanges(),de.rangeCount||x.forEach(function(D){de.addRange(D)}),t&&t.focus()}}},93314:function(Ue){"use strict";Ue.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="}}]);
|