|
|
(self.webpackChunk=self.webpackChunk||[]).push([[5775],{70557:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},89489:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},59477:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},40001:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},49198:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},84105:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},18785:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},73331:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},15277:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},52671:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},8657:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},56082:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},33853:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},15075:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},43531:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},61485:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},V=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},38819:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},47472:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(h,m){return v.createElement(C.Z,(0,_.Z)({},h,{ref:m,icon:V}))},l=v.forwardRef(k),W=l},35593:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return ue}});var _=t(33708),v=t(33606),N=t(37061),V=t(43403),C=t(92310),k=t.n(C),l=t(29301),W=t(76846),e=t(96452),h=t(6089),m=t(80402),n=t(34280),r=t(49658),a=t(59301),u=t(92413),b=t(77900),z=t(8654);function E(Z){var H=Z.prefixCls,L=Z.align,R=Z.arrow,ee=Z.arrowPos,x=R||{},d=x.className,f=x.content,G=ee.x,j=G===void 0?0:G,B=ee.y,q=B===void 0?0:B,de=a.useRef();if(!L||!L.points)return null;var oe={position:"absolute"};if(L.autoArrow!==!1){var le=L.points[0],_e=L.points[1],Ee=le[0],ge=le[1],Ce=_e[0],Oe=_e[1];Ee===Ce||!["t","b"].includes(Ee)?oe.top=q:Ee==="t"?oe.top=0:oe.bottom=0,ge===Oe||!["l","r"].includes(ge)?oe.left=j:ge==="l"?oe.left=0:oe.right=0}return a.createElement("div",{ref:de,className:k()("".concat(H,"-arrow"),d),style:oe},f)}function y(Z){var H=Z.prefixCls,L=Z.open,R=Z.zIndex,ee=Z.mask,x=Z.motion;return ee?a.createElement(b.default,(0,u.Z)({},x,{motionAppear:!0,visible:L,removeOnLeave:!0}),function(d){var f=d.className;return a.createElement("div",{style:{zIndex:R},className:k()("".concat(H,"-mask"),f)})}):null}var I=a.memo(function(Z){var H=Z.children;return H},function(Z,H){return H.cache}),S=I,c=a.forwardRef(function(Z,H){var L=Z.popup,R=Z.className,ee=Z.prefixCls,x=Z.style,d=Z.target,f=Z.onVisibleChanged,G=Z.open,j=Z.keepDom,B=Z.fresh,q=Z.onClick,de=Z.mask,oe=Z.arrow,le=Z.arrowPos,_e=Z.align,Ee=Z.motion,ge=Z.maskMotion,Ce=Z.forceRender,Oe=Z.getPopupContainer,Se=Z.autoDestroy,Xe=Z.portal,Ye=Z.zIndex,pt=Z.onMouseEnter,dt=Z.onMouseLeave,At=Z.onPointerEnter,Rt=Z.ready,Zt=Z.offsetX,Nt=Z.offsetY,sn=Z.offsetR,Lt=Z.offsetB,rt=Z.onAlign,Vt=Z.onPrepare,_t=Z.stretch,Et=Z.targetWidth,rn=Z.targetHeight,hn=typeof L=="function"?L():L,Pn=G||j,Sn=(Oe==null?void 0:Oe.length)>0,$n=a.useState(!Oe||!Sn),Kn=(0,v.Z)($n,2),Nn=Kn[0],Zn=Kn[1];if((0,n.Z)(function(){!Nn&&Sn&&d&&Zn(!0)},[Nn,Sn,d]),!Nn)return null;var Mt="auto",Ft={left:"-1000vw",top:"-1000vh",right:Mt,bottom:Mt};if(Rt||!G){var ce,Be=_e.points,ke=_e.dynamicInset||((ce=_e._experimental)===null||ce===void 0?void 0:ce.dynamicInset),te=ke&&Be[0][1]==="r",ae=ke&&Be[0][0]==="b";te?(Ft.right=sn,Ft.left=Mt):(Ft.left=Zt,Ft.right=Mt),ae?(Ft.bottom=Lt,Ft.top=Mt):(Ft.top=Nt,Ft.bottom=Mt)}var De={};return _t&&(_t.includes("height")&&rn?De.height=rn:_t.includes("minHeight")&&rn&&(De.minHeight=rn),_t.includes("width")&&Et?De.width=Et:_t.includes("minWidth")&&Et&&(De.minWidth=Et)),G||(De.pointerEvents="none"),a.createElement(Xe,{open:Ce||Pn,getContainer:Oe&&function(){return Oe(d)},autoDestroy:Se},a.createElement(y,{prefixCls:ee,open:G,zIndex:Ye,mask:de,motion:ge}),a.createElement(l.Z,{onResize:rt,disabled:!G},function($e){return a.createElement(b.default,(0,u.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ce,leavedClassName:"".concat(ee,"-hidden")},Ee,{onAppearPrepare:Vt,onEnterPrepare:Vt,visible:G,onVisibleChanged:function(Ve){var ct;Ee==null||(ct=Ee.onVisibleChanged)===null||ct===void 0||ct.call(Ee,Ve),f(Ve)}}),function(st,Ve){var ct=st.className,Qe=st.style,ft=k()(ee,ct,R);return a.createElement("div",{ref:(0,z.sQ)($e,H,Ve),className:ft,style:(0,_.Z)((0,_.Z)((0,_.Z)((0,_.Z)({"--arrow-x":"".concat(le.x||0,"px"),"--arrow-y":"".concat(le.y||0,"px")},Ft),De),Qe),{},{boxSizing:"border-box",zIndex:Ye},x),onMouseEnter:pt,onMouseLeave:dt,onPointerEnter:At,onClick:q},oe&&a.createElement(E,{prefixCls:ee,arrow:oe,arrowPos:le,align:_e}),a.createElement(S,{cache:!G&&!B},hn))})}))}),s=c,w=a.forwardRef(function(Z,H){var L=Z.children,R=Z.getTriggerDOMNode,ee=(0,z.Yr)(L),x=a.useCallback(function(f){(0,z.mH)(H,R?R(f):f)},[R]),d=(0,z.x1)(x,L.ref);return ee?a.cloneElement(L,{ref:d}):L}),D=w,Y=a.createContext(null),J=Y;function X(Z){return Z?Array.isArray(Z)?Z:[Z]:[]}function U(Z,H,L,R){return a.useMemo(function(){var ee=X(L!=null?L:H),x=X(R!=null?R:H),d=new Set(ee),f=new Set(x);return Z&&(d.has("hover")&&(d.delete("hover"),d.add("click")),f.has("hover")&&(f.delete("hover"),f.add("click"))),[d,f]},[Z,H,L,R])}var M=t(29194);function g(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],L=arguments.length>2?arguments[2]:void 0;return L?Z[0]===H[0]:Z[0]===H[0]&&Z[1]===H[1]}function K(Z,H,L,R){for(var ee=L.points,x=Object.keys(Z),d=0;d<x.length;d+=1){var f,G=x[d];if(g((f=Z[G])===null||f===void 0?void 0:f.points,ee,R))return"".concat(H,"-placement-").concat(G)}return""}function O(Z,H,L,R){return H||(L?{motionName:"".concat(Z,"-").concat(L)}:R?{motionName:R}:null)}function A(Z){return Z.ownerDocument.defaultView}function $(Z){for(var H=[],L=Z==null?void 0:Z.parentElement,R=["hidden","scroll","clip","auto"];L;){var ee=A(L).getComputedStyle(L),x=ee.overflowX,d=ee.overflowY,f=ee.overflow;[x,d,f].some(function(G){return R.includes(G)})&&H.push(L),L=L.parentElement}return H}function i(Z){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Z)?H:Z}function o(Z){return i(parseFloat(Z),0)}function p(Z,H){var L=(0,_.Z)({},Z);return(H||[]).forEach(function(R){if(!(R instanceof HTMLBodyElement||R instanceof HTMLHtmlElement)){var ee=A(R).getComputedStyle(R),x=ee.overflow,d=ee.overflowClipMargin,f=ee.borderTopWidth,G=ee.borderBottomWidth,j=ee.borderLeftWidth,B=ee.borderRightWidth,q=R.getBoundingClientRect(),de=R.offsetHeight,oe=R.clientHeight,le=R.offsetWidth,_e=R.clientWidth,Ee=o(f),ge=o(G),Ce=o(j),Oe=o(B),Se=i(Math.round(q.width/le*1e3)/1e3),Xe=i(Math.round(q.height/de*1e3)/1e3),Ye=(le-_e-Ce-Oe)*Se,pt=(de-oe-Ee-ge)*Xe,dt=Ee*Xe,At=ge*Xe,Rt=Ce*Se,Zt=Oe*Se,Nt=0,sn=0;if(x==="clip"){var Lt=o(d);Nt=Lt*Se,sn=Lt*Xe}var rt=q.x+Rt-Nt,Vt=q.y+dt-sn,_t=rt+q.width+2*Nt-Rt-Zt-Ye,Et=Vt+q.height+2*sn-dt-At-pt;L.left=Math.max(L.left,rt),L.top=Math.max(L.top,Vt),L.right=Math.min(L.right,_t),L.bottom=Math.min(L.bottom,Et)}}),L}function F(Z){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,L="".concat(H),R=L.match(/^(.*)\%$/);return R?Z*(parseFloat(R[1])/100):parseFloat(L)}function re(Z,H){var L=H||[],R=(0,v.Z)(L,2),ee=R[0],x=R[1];return[F(Z.width,ee),F(Z.height,x)]}function ie(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Z[0],Z[1]]}function ne(Z,H){var L=H[0],R=H[1],ee,x;return L==="t"?x=Z.y:L==="b"?x=Z.y+Z.height:x=Z.y+Z.height/2,R==="l"?ee=Z.x:R==="r"?ee=Z.x+Z.width:ee=Z.x+Z.width/2,{x:ee,y:x}}function me(Z,H){var L={t:"b",b:"t",l:"r",r:"l"};return Z.map(function(R,ee){return ee===H?L[R]||"c":R}).join("")}function xe(Z,H,L,R,ee,x,d){var f=a.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ee[R]||{}}),G=(0,v.Z)(f,2),j=G[0],B=G[1],q=a.useRef(0),de=a.useMemo(function(){return H?$(H):[]},[H]),oe=a.useRef({}),le=function(){oe.current={}};Z||le();var _e=(0,h.Z)(function(){if(H&&L&&Z){let un=function(Fn,Jn){var Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ft,xr=hn.x+Fn,wr=hn.y+Jn,Rr=xr+ce,di=wr+Ft,Di=Math.max(xr,Lr.left),Zi=Math.max(wr,Lr.top),mi=Math.min(Rr,Lr.right),ai=Math.min(di,Lr.bottom);return Math.max(0,(mi-Di)*(ai-Zi))},Cn=function(){xn=hn.y+ht,wn=xn+Ft,gn=hn.x+Ct,_n=gn+ce};var Ce,Oe,Se=H,Xe=Se.ownerDocument,Ye=A(Se),pt=Ye.getComputedStyle(Se),dt=pt.width,At=pt.height,Rt=pt.position,Zt=Se.style.left,Nt=Se.style.top,sn=Se.style.right,Lt=Se.style.bottom,rt=Se.style.overflow,Vt=(0,_.Z)((0,_.Z)({},ee[R]),x),_t=Xe.createElement("div");(Ce=Se.parentElement)===null||Ce===void 0||Ce.appendChild(_t),_t.style.left="".concat(Se.offsetLeft,"px"),_t.style.top="".concat(Se.offsetTop,"px"),_t.style.position=Rt,_t.style.height="".concat(Se.offsetHeight,"px"),_t.style.width="".concat(Se.offsetWidth,"px"),Se.style.left="0",Se.style.top="0",Se.style.right="auto",Se.style.bottom="auto",Se.style.overflow="hidden";var Et;if(Array.isArray(L))Et={x:L[0],y:L[1],width:0,height:0};else{var rn=L.getBoundingClientRect();Et={x:rn.x,y:rn.y,width:rn.width,height:rn.height}}var hn=Se.getBoundingClientRect(),Pn=Xe.documentElement,Sn=Pn.clientWidth,$n=Pn.clientHeight,Kn=Pn.scrollWidth,Nn=Pn.scrollHeight,Zn=Pn.scrollTop,Mt=Pn.scrollLeft,Ft=hn.height,ce=hn.width,Be=Et.height,ke=Et.width,te={left:0,top:0,right:Sn,bottom:$n},ae={left:-Mt,top:-Zn,right:Kn-Mt,bottom:Nn-Zn},De=Vt.htmlRegion,$e="visible",st="visibleFirst";De!=="scroll"&&De!==st&&(De=$e);var Ve=De===st,ct=p(ae,de),Qe=p(te,de),ft=De===$e?Qe:ct,vt=Ve?Qe:ft;Se.style.left="auto",Se.style.top="auto",Se.style.right="0",Se.style.bottom="0";var Fe=Se.getBoundingClientRect();Se.style.left=Zt,Se.style.top=Nt,Se.style.right=sn,Se.style.bottom=Lt,Se.style.overflow=rt,(Oe=Se.parentElement)===null||Oe===void 0||Oe.removeChild(_t);var Le=i(Math.round(ce/parseFloat(dt)*1e3)/1e3),Je=i(Math.round(Ft/parseFloat(At)*1e3)/1e3);if(Le===0||Je===0||(0,W.Sh)(L)&&!(0,M.Z)(L))return;var tt=Vt.offset,it=Vt.targetOffset,yt=re(hn,tt),jt=(0,v.Z)(yt,2),St=jt[0],Ge=jt[1],ye=re(Et,it),we=(0,v.Z)(ye,2),Ne=we[0],Me=we[1];Et.x-=Ne,Et.y-=Me;var Ae=Vt.points||[],Ke=(0,v.Z)(Ae,2),Ze=Ke[0],ot=Ke[1],mt=ie(ot),gt=ie(Ze),Bt=ne(Et,mt),Wt=ne(hn,gt),an=(0,_.Z)({},Vt),Ct=Bt.x-Wt.x+St,ht=Bt.y-Wt.y+Ge,qt=un(Ct,ht),Xt=un(Ct,ht,Qe),En=ne(Et,["t","l"]),Ht=ne(hn,["t","l"]),Jt=ne(Et,["b","r"]),ln=ne(hn,["b","r"]),Ut=Vt.overflow||{},Dn=Ut.adjustX,Gn=Ut.adjustY,zt=Ut.shiftX,Gt=Ut.shiftY,Dt=function(Jn){return typeof Jn=="boolean"?Jn:Jn>=0},xn,wn,gn,_n;Cn();var zn=Dt(Gn),tr=gt[0]===mt[0];if(zn&>[0]==="t"&&(wn>vt.bottom||oe.current.bt)){var Vn=ht;tr?Vn-=Ft-Be:Vn=En.y-ln.y-Ge;var Wn=un(Ct,Vn),or=un(Ct,Vn,Qe);Wn>qt||Wn===qt&&(!Ve||or>=Xt)?(oe.current.bt=!0,ht=Vn,Ge=-Ge,an.points=[me(gt,0),me(mt,0)]):oe.current.bt=!1}if(zn&>[0]==="b"&&(xn<vt.top||oe.current.tb)){var xt=ht;tr?xt+=Ft-Be:xt=Jt.y-Ht.y-Ge;var Pt=un(Ct,xt),on=un(Ct,xt,Qe);Pt>qt||Pt===qt&&(!Ve||on>=Xt)?(oe.current.tb=!0,ht=xt,Ge=-Ge,an.points=[me(gt,0),me(mt,0)]):oe.current.tb=!1}var kn=Dt(Dn),rr=gt[1]===mt[1];if(kn&>[1]==="l"&&(_n>vt.right||oe.current.rl)){var gr=Ct;rr?gr-=ce-ke:gr=En.x-ln.x-St;var nr=un(gr,ht),mr=un(gr,ht,Qe);nr>qt||nr===qt&&(!Ve||mr>=Xt)?(oe.current.rl=!0,Ct=gr,St=-St,an.points=[me(gt,1),me(mt,1)]):oe.current.rl=!1}if(kn&>[1]==="r"&&(gn<vt.left||oe.current.lr)){var _r=Ct;rr?_r+=ce-ke:_r=Jt.x-Ht.x-St;var Er=un(_r,ht),yr=un(_r,ht,Qe);Er>qt||Er===qt&&(!Ve||yr>=Xt)?(oe.current.lr=!0,Ct=_r,St=-St,an.points=[me(gt,1),me(mt,1)]):oe.current.lr=!1}Cn();var Qn=zt===!0?0:zt;typeof Qn=="number"&&(gn<Qe.left&&(Ct-=gn-Qe.left-St,Et.x+ke<Qe.left+Qn&&(Ct+=Et.x-Qe.left+ke-Qn)),_n>Qe.right&&(Ct-=_n-Qe.right-St,Et.x>Qe.right-Qn&&(Ct+=Et.x-Qe.right+Qn)));var br=Gt===!0?0:Gt;typeof br=="number"&&(xn<Qe.top&&(ht-=xn-Qe.top-Ge,Et.y+Be<Qe.top+br&&(ht+=Et.y-Qe.top+Be-br)),wn>Qe.bottom&&(ht-=wn-Qe.bottom-Ge,Et.y>Qe.bottom-br&&(ht+=Et.y-Qe.bottom+br)));var kr=hn.x+Ct,Ar=kr+ce,Ir=hn.y+ht,Wr=Ir+Ft,Hr=Et.x,ti=Hr+ke,qr=Et.y,_i=qr+Be,yi=Math.max(kr,Hr),li=Math.min(Ar,ti),Ur=(yi+li)/2,Pi=Ur-kr,bi=Math.max(Ir,qr),ui=Math.min(Wr,_i),ci=(bi+ui)/2,ni=ci-Ir;d==null||d(H,an);var tn=Fe.right-hn.x-(Ct+hn.width),Rn=Fe.bottom-hn.y-(ht+hn.height);B({ready:!0,offsetX:Ct/Le,offsetY:ht/Je,offsetR:tn/Le,offsetB:Rn/Je,arrowX:Pi/Le,arrowY:ni/Je,scaleX:Le,scaleY:Je,align:an})}}),Ee=function(){q.current+=1;var Oe=q.current;Promise.resolve().then(function(){q.current===Oe&&_e()})},ge=function(){B(function(Oe){return(0,_.Z)((0,_.Z)({},Oe),{},{ready:!1})})};return(0,n.Z)(ge,[R]),(0,n.Z)(function(){Z||ge()},[Z]),[j.ready,j.offsetX,j.offsetY,j.offsetR,j.offsetB,j.arrowX,j.arrowY,j.scaleX,j.scaleY,j.align,Ee]}var He=t(26407);function Pe(Z,H,L,R,ee){(0,n.Z)(function(){if(Z&&H&&L){let q=function(){R(),ee()};var x=H,d=L,f=$(x),G=$(d),j=A(d),B=new Set([j].concat((0,He.Z)(f),(0,He.Z)(G)));return B.forEach(function(de){de.addEventListener("scroll",q,{passive:!0})}),j.addEventListener("resize",q,{passive:!0}),R(),function(){B.forEach(function(de){de.removeEventListener("scroll",q),j.removeEventListener("resize",q)})}}},[Z,H,L])}var Ue=t(48736),et=t(16089);function lt(Z,H,L,R,ee,x,d,f){var G=a.useRef(Z),j=a.useRef(!1);G.current!==Z&&(j.current=!0,G.current=Z),a.useEffect(function(){var B=(0,et.Z)(function(){j.current=!1});return function(){et.Z.cancel(B)}},[Z]),a.useEffect(function(){if(H&&R&&(!ee||x)){var B=function(){var Rt=!1,Zt=function(Lt){var rt=Lt.target;Rt=d(rt)},Nt=function(Lt){var rt=Lt.target;!j.current&&G.current&&!Rt&&!d(rt)&&f(!1)};return[Zt,Nt]},q=B(),de=(0,v.Z)(q,2),oe=de[0],le=de[1],_e=B(),Ee=(0,v.Z)(_e,2),ge=Ee[0],Ce=Ee[1],Oe=A(R);Oe.addEventListener("mousedown",oe,!0),Oe.addEventListener("click",le,!0),Oe.addEventListener("contextmenu",le,!0);var Se=(0,e.A)(L);if(Se&&(Se.addEventListener("mousedown",ge,!0),Se.addEventListener("click",Ce,!0),Se.addEventListener("contextmenu",Ce,!0)),0)var Xe,Ye,pt,dt;return function(){Oe.removeEventListener("mousedown",oe,!0),Oe.removeEventListener("click",le,!0),Oe.removeEventListener("contextmenu",le,!0),Se&&(Se.removeEventListener("mousedown",ge,!0),Se.removeEventListener("click",Ce,!0),Se.removeEventListener("contextmenu",Ce,!0))}}},[H,L,R,ee,x])}var je=["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 pe(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:V.Z,H=a.forwardRef(function(L,R){var ee=L.prefixCls,x=ee===void 0?"rc-trigger-popup":ee,d=L.children,f=L.action,G=f===void 0?"hover":f,j=L.showAction,B=L.hideAction,q=L.popupVisible,de=L.defaultPopupVisible,oe=L.onPopupVisibleChange,le=L.afterPopupVisibleChange,_e=L.mouseEnterDelay,Ee=L.mouseLeaveDelay,ge=Ee===void 0?.1:Ee,Ce=L.focusDelay,Oe=L.blurDelay,Se=L.mask,Xe=L.maskClosable,Ye=Xe===void 0?!0:Xe,pt=L.getPopupContainer,dt=L.forceRender,At=L.autoDestroy,Rt=L.destroyPopupOnHide,Zt=L.popup,Nt=L.popupClassName,sn=L.popupStyle,Lt=L.popupPlacement,rt=L.builtinPlacements,Vt=rt===void 0?{}:rt,_t=L.popupAlign,Et=L.zIndex,rn=L.stretch,hn=L.getPopupClassNameFromAlign,Pn=L.fresh,Sn=L.alignPoint,$n=L.onPopupClick,Kn=L.onPopupAlign,Nn=L.arrow,Zn=L.popupMotion,Mt=L.maskMotion,Ft=L.popupTransitionName,ce=L.popupAnimation,Be=L.maskTransitionName,ke=L.maskAnimation,te=L.className,ae=L.getTriggerDOMNode,De=(0,N.Z)(L,je),$e=At||Rt||!1,st=a.useState(!1),Ve=(0,v.Z)(st,2),ct=Ve[0],Qe=Ve[1];(0,n.Z)(function(){Qe((0,r.Z)())},[]);var ft=a.useRef({}),vt=a.useContext(J),Fe=a.useMemo(function(){return{registerSubPopup:function(Tn,pr){ft.current[Tn]=pr,vt==null||vt.registerSubPopup(Tn,pr)}}},[vt]),Le=(0,m.Z)(),Je=a.useState(null),tt=(0,v.Z)(Je,2),it=tt[0],yt=tt[1],jt=(0,h.Z)(function(Yt){(0,W.Sh)(Yt)&&it!==Yt&&yt(Yt),vt==null||vt.registerSubPopup(Le,Yt)}),St=a.useState(null),Ge=(0,v.Z)(St,2),ye=Ge[0],we=Ge[1],Ne=a.useRef(null),Me=(0,h.Z)(function(Yt){(0,W.Sh)(Yt)&&ye!==Yt&&(we(Yt),Ne.current=Yt)}),Ae=a.Children.only(d),Ke=(Ae==null?void 0:Ae.props)||{},Ze={},ot=(0,h.Z)(function(Yt){var Tn,pr,Br=ye;return(Br==null?void 0:Br.contains(Yt))||((Tn=(0,e.A)(Br))===null||Tn===void 0?void 0:Tn.host)===Yt||Yt===Br||(it==null?void 0:it.contains(Yt))||((pr=(0,e.A)(it))===null||pr===void 0?void 0:pr.host)===Yt||Yt===it||Object.values(ft.current).some(function(cr){return(cr==null?void 0:cr.contains(Yt))||Yt===cr})}),mt=O(x,Zn,ce,Ft),gt=O(x,Mt,ke,Be),Bt=a.useState(de||!1),Wt=(0,v.Z)(Bt,2),an=Wt[0],Ct=Wt[1],ht=q!=null?q:an,qt=(0,h.Z)(function(Yt){q===void 0&&Ct(Yt)});(0,n.Z)(function(){Ct(q||!1)},[q]);var Xt=a.useRef(ht);Xt.current=ht;var En=a.useRef([]);En.current=[];var Ht=(0,h.Z)(function(Yt){var Tn;qt(Yt),((Tn=En.current[En.current.length-1])!==null&&Tn!==void 0?Tn:ht)!==Yt&&(En.current.push(Yt),oe==null||oe(Yt))}),Jt=a.useRef(),ln=function(){clearTimeout(Jt.current)},Ut=function(Tn){var pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;ln(),pr===0?Ht(Tn):Jt.current=setTimeout(function(){Ht(Tn)},pr*1e3)};a.useEffect(function(){return ln},[]);var Dn=a.useState(!1),Gn=(0,v.Z)(Dn,2),zt=Gn[0],Gt=Gn[1];(0,n.Z)(function(Yt){(!Yt||ht)&&Gt(!0)},[ht]);var Dt=a.useState(null),xn=(0,v.Z)(Dt,2),wn=xn[0],gn=xn[1],_n=a.useState([0,0]),zn=(0,v.Z)(_n,2),tr=zn[0],Vn=zn[1],Wn=function(Tn){Vn([Tn.clientX,Tn.clientY])},or=xe(ht,it,Sn?tr:ye,Lt,Vt,_t,Kn),xt=(0,v.Z)(or,11),Pt=xt[0],on=xt[1],kn=xt[2],rr=xt[3],gr=xt[4],nr=xt[5],mr=xt[6],_r=xt[7],Er=xt[8],yr=xt[9],Qn=xt[10],br=U(ct,G,j,B),kr=(0,v.Z)(br,2),Ar=kr[0],Ir=kr[1],Wr=Ar.has("click"),Hr=Ir.has("click")||Ir.has("contextMenu"),ti=(0,h.Z)(function(){zt||Qn()}),qr=function(){Xt.current&&Sn&&Hr&&Ut(!1)};Pe(ht,ye,it,ti,qr),(0,n.Z)(function(){ti()},[tr,Lt]),(0,n.Z)(function(){ht&&!(Vt!=null&&Vt[Lt])&&ti()},[JSON.stringify(_t)]);var _i=a.useMemo(function(){var Yt=K(Vt,x,yr,Sn);return k()(Yt,hn==null?void 0:hn(yr))},[yr,hn,Vt,x,Sn]);a.useImperativeHandle(R,function(){return{nativeElement:Ne.current,forceAlign:ti}});var yi=a.useState(0),li=(0,v.Z)(yi,2),Ur=li[0],Pi=li[1],bi=a.useState(0),ui=(0,v.Z)(bi,2),ci=ui[0],ni=ui[1],tn=function(){if(rn&&ye){var Tn=ye.getBoundingClientRect();Pi(Tn.width),ni(Tn.height)}},Rn=function(){tn(),ti()},un=function(Tn){Gt(!1),Qn(),le==null||le(Tn)},Cn=function(){return new Promise(function(Tn){tn(),gn(function(){return Tn})})};(0,n.Z)(function(){wn&&(Qn(),wn(),gn(null))},[wn]);function Fn(Yt,Tn,pr,Br){Ze[Yt]=function(cr){var zi;Br==null||Br(cr),Ut(Tn,pr);for(var ji=arguments.length,Wi=new Array(ji>1?ji-1:0),Ti=1;Ti<ji;Ti++)Wi[Ti-1]=arguments[Ti];(zi=Ke[Yt])===null||zi===void 0||zi.call.apply(zi,[Ke,cr].concat(Wi))}}(Wr||Hr)&&(Ze.onClick=function(Yt){var Tn;Xt.current&&Hr?Ut(!1):!Xt.current&&Wr&&(Wn(Yt),Ut(!0));for(var pr=arguments.length,Br=new Array(pr>1?pr-1:0),cr=1;cr<pr;cr++)Br[cr-1]=arguments[cr];(Tn=Ke.onClick)===null||Tn===void 0||Tn.call.apply(Tn,[Ke,Yt].concat(Br))}),lt(ht,Hr,ye,it,Se,Ye,ot,Ut);var Jn=Ar.has("hover"),Lr=Ir.has("hover"),xr,wr;Jn&&(Fn("onMouseEnter",!0,_e,function(Yt){Wn(Yt)}),Fn("onPointerEnter",!0,_e,function(Yt){Wn(Yt)}),xr=function(Tn){(ht||zt)&&it!==null&&it!==void 0&&it.contains(Tn.target)&&Ut(!0,_e)},Sn&&(Ze.onMouseMove=function(Yt){var Tn;(Tn=Ke.onMouseMove)===null||Tn===void 0||Tn.call(Ke,Yt)})),Lr&&(Fn("onMouseLeave",!1,ge),Fn("onPointerLeave",!1,ge),wr=function(){Ut(!1,ge)}),Ar.has("focus")&&Fn("onFocus",!0,Ce),Ir.has("focus")&&Fn("onBlur",!1,Oe),Ar.has("contextMenu")&&(Ze.onContextMenu=function(Yt){var Tn;Xt.current&&Ir.has("contextMenu")?Ut(!1):(Wn(Yt),Ut(!0)),Yt.preventDefault();for(var pr=arguments.length,Br=new Array(pr>1?pr-1:0),cr=1;cr<pr;cr++)Br[cr-1]=arguments[cr];(Tn=Ke.onContextMenu)===null||Tn===void 0||Tn.call.apply(Tn,[Ke,Yt].concat(Br))}),te&&(Ze.className=k()(Ke.className,te));var Rr=(0,_.Z)((0,_.Z)({},Ke),Ze),di={},Di=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Di.forEach(function(Yt){De[Yt]&&(di[Yt]=function(){for(var Tn,pr=arguments.length,Br=new Array(pr),cr=0;cr<pr;cr++)Br[cr]=arguments[cr];(Tn=Rr[Yt])===null||Tn===void 0||Tn.call.apply(Tn,[Rr].concat(Br)),De[Yt].apply(De,Br)})});var Zi=a.cloneElement(Ae,(0,_.Z)((0,_.Z)({},Rr),di)),mi={x:nr,y:mr},ai=Nn?(0,_.Z)({},Nn!==!0?Nn:{}):null;return a.createElement(a.Fragment,null,a.createElement(l.Z,{disabled:!ht,ref:Me,onResize:Rn},a.createElement(D,{getTriggerDOMNode:ae},Zi)),a.createElement(J.Provider,{value:Fe},a.createElement(s,{portal:Z,ref:jt,prefixCls:x,popup:Zt,className:k()(Nt,_i),style:sn,target:ye,onMouseEnter:xr,onMouseLeave:wr,onPointerEnter:xr,zIndex:Et,open:ht,keepDom:zt,fresh:Pn,onClick:$n,mask:Se,motion:mt,maskMotion:gt,onVisibleChanged:un,onPrepare:Cn,forceRender:dt,autoDestroy:$e,getPopupContainer:pt,align:yr,arrow:ai,arrowPos:mi,ready:Pt,offsetX:on,offsetY:kn,offsetR:rr,offsetB:gr,onAlign:ti,stretch:rn,targetWidth:Ur/_r,targetHeight:ci/Er})))});return H}var ue=pe(V.Z)},57816:function(qe,ve,t){"use strict";var _=t(59301),v=t(93314),N=t(3113),V=Object.defineProperty,C=Object.defineProperties,k=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,h=(a,u,b)=>u in a?V(a,u,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[u]=b,m=(a,u)=>{for(var b in u||(u={}))W.call(u,b)&&h(a,b,u[b]);if(l)for(var b of l(u))e.call(u,b)&&h(a,b,u[b]);return a},n=(a,u)=>C(a,k(u));const r=({img:a,buttonProps:u={},styles:b={},customText:z,ButtonText:E,ButtonClick:y,Buttonclass:I,ButtonTwo:S,imgStyles:c,loading:s=!1})=>_.createElement("section",{className:"tc animated fadeIn",style:m(m({},{color:"#999",margin:"100px auto",visibility:s?"hidden":"visible"}),b)},_.createElement("img",{src:a||v,style:n(m({},c),{pointerEvents:"none",userSelect:"none"})}),_.createElement("p",{className:"mt20 font14"},z||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),E&&_.createElement(N.ZP,m({className:I,onClick:y},u),E),S&&S);ve.Z=r},90853:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return I}});var _=t(59301),v={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},N=t(3113),V=t(70557),C=t(57800),k=t(6848),l=t(88230),W=t(30897),e=t(57816),h=t(38446),m=t(89282),n=t(59301),r=Object.defineProperty,a=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,z=(S,c,s)=>c in S?r(S,c,{enumerable:!0,configurable:!0,writable:!0,value:s}):S[c]=s,E=(S,c)=>{for(var s in c||(c={}))u.call(c,s)&&z(S,s,c[s]);if(a)for(var s of a(c))b.call(c,s)&&z(S,s,c[s]);return S},y=(S,c,s)=>new Promise((w,D)=>{var Y=U=>{try{X(s.next(U))}catch(M){D(M)}},J=U=>{try{X(s.throw(U))}catch(M){D(M)}},X=U=>U.done?w(U.value):Promise.resolve(U.value).then(Y,J);X((s=s.apply(S,c)).next())}),I=({editOffice:S="view",data:c,theme:s,type:w,filename:D,monacoEditor:Y,className:J,style:X,close:U,onClose:M,hasMask:g,disabledDownload:K,onImgDimensions:O,showNodata:A,recordInfo:$})=>{const[i,o]=(0,_.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[p,F]=(0,_.useState)(""),[re,ie]=(0,_.useState)(),ne=window.ENV==="build"?"/react/build":"",me=location.host.startsWith("localhost")?h.Z.PROXY_SERVER:h.Z.API_SERVER,He=10*(1024*1024),Pe=(0,_.useRef)();c!=null&&c.startsWith("/api")&&w!=="txt"&&(c=h.Z.API_SERVER+c);const Ue=pe=>pe.substring(pe.lastIndexOf("/")+1).split(".").pop();D&&Y&&(Y.filename=D),(0,_.useEffect)(()=>{var pe,ue;const Z=(ue=(pe=document.cookie)==null?void 0:pe.replace(/\s/g,""))==null?void 0:ue.split(";");Z==null||Z.map(H=>{let L=H.split("=");L[0]==="_educoder_session"&&F(L[1])})},[]),(0,_.useEffect)(()=>{w==="office"&&(c.indexOf("bigfilescdn.")>-1||c.indexOf("bigfiles1")>-1?ie({url:c,fileType:Ue(c),model:c.indexOf("model=edit")?"edit":"view"}):et())},[w,c]);const et=()=>y(void 0,null,function*(){console.log("data:",c);let pe=c;c.startsWith("http")||(pe=location.origin+pe);let ue=new URL(pe).pathname.split("/").pop();const Z=yield(0,W.gJ)({attachment_id:ue});Z.url=me+Z.url,ie(Z)}),lt=()=>{if(c.startsWith("http")||c.startsWith("blob:")){je();return}(0,l.Sv)(D||"educoder",c,D)},je=()=>{$&&(0,m.fc)({id:$==null?void 0:$.id,watch_type:1,course_id:$==null?void 0:$.course_id}),(0,l.Nd)(D||"educoder",decodeURIComponent(c))};return n.createElement("div",{style:E({},X||{}),className:`${g&&v.bgBlack} ${w?v.wrp:"hide"}`},U&&n.createElement("div",{className:v.close,ref:Pe},!!O&&n.createElement(k.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Pe.current},n.createElement("span",{onClick:()=>{M(),O()}},n.createElement("i",{className:"icon-yulanpizhu"}))),!K&&n.createElement(k.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Pe.current},n.createElement("span",{onClick:je},n.createElement("i",{className:"icon-quxiaozhiding"}))),n.createElement(k.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Pe.current},n.createElement("span",{className:"",onClick:M},n.createElement("i",{className:"icon-guanbi1"})))),n.createElement("div",{className:`${v[J]} ${J} ${v.monaco} ${w==="txt"?"show":"hide"}`},w==="txt"&&n.createElement(n.Fragment,null,n.createElement(C.ZP,E({},Y)))),w==="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}),w==="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})),w==="office"&&re&&n.createElement("iframe",{src:`${ne}/office.html?key=${re.key}&url=${btoa(re.url)}&callbackUrl=${me+(re.callbackUrl||"")}&fileType=${re.fileType}&title=${re.title||""}&model=${S}&officeServer=${h.Z.ONLYOFFICE}&disabledDownload=${!!K}`}),w==="html"&&n.createElement("iframe",{src:c+"&disposition=inline"}),w==="pdf"&&n.createElement("iframe",{src:`${ne}/js/pdfview/index.html?filename=${D||"educoder.pdf"}&url=${encodeURIComponent(c)}&disabledDownload=${!!K}`}),w==="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}`}),(w==="other"||w==="download")&&n.createElement(n.Fragment,null,A?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(N.ZP,{icon:n.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:lt,disabled:K},"\u4E0B\u8F7D")}):n.createElement(N.ZP,{type:"primary",size:"middle",onClick:lt,disabled:K},n.createElement(V.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},57800:function(qe,ve,t){"use strict";t.d(ve,{SV:function(){return ee},ZP:function(){return R}});var _=t(59301),v=t(76374);const N={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"]},C={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(`
|
|
|
`)}]},k={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(`
|
|
|
`)}]},l={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(7947),e=t.n(W),h=Object.defineProperty,m=Object.defineProperties,n=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,b=(x,d,f)=>d in x?h(x,d,{enumerable:!0,configurable:!0,writable:!0,value:f}):x[d]=f,z=(x,d)=>{for(var f in d||(d={}))a.call(d,f)&&b(x,f,d[f]);if(r)for(var f of r(d))u.call(d,f)&&b(x,f,d[f]);return x},E=(x,d)=>m(x,n(d)),y=(x,d,f)=>new Promise((G,j)=>{var B=oe=>{try{de(f.next(oe))}catch(le){j(le)}},q=oe=>{try{de(f.throw(oe))}catch(le){j(le)}},de=oe=>oe.done?G(oe.value):Promise.resolve(oe.value).then(B,q);de((f=f.apply(x,d)).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"]}},S=(x,d)=>d.map(f=>({label:f,kind:x.languages.CompletionItemKind.Keyword,insertText:f})),c=x=>Object.keys(I.tables).map(d=>({label:d,kind:x.languages.CompletionItemKind.Variable,insertText:d})),s=(x,d)=>{const f=I.tables[x];return f?f.map(G=>({label:G,kind:d.languages.CompletionItemKind.Field,insertText:G})):[]};function w(x,d,f,G,j){let B=d.getWordUntilPosition(f),q={startLineNumber:f.lineNumber,endLineNumber:f.lineNumber,startColumn:B.startColumn,endColumn:B.endColumn},de=G.map(oe=>({label:oe,kind:x.languages.CompletionItemKind.Keyword,insertText:oe,insertTextRules:x.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:q}));return j.map(oe=>{de.push(E(z({},oe),{range:q}))}),de}var D=x=>{I.languages.map(j=>(x.languages.registerDocumentFormattingEditProvider(j,{provideDocumentFormattingEdits(B,q,de){return y(this,null,function*(){const oe=e()(B.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:B.getFullModelRange(),text:oe}]})}}),j));const d=C.quickKey.map(j=>({label:j.label,kind:x.languages.CompletionItemKind.Method,insertText:j.content,insertTextRules:x.languages.CompletionItemInsertTextRule.InsertAsSnippet})),f=k.quickKey.map(j=>({label:j.label,kind:x.languages.CompletionItemKind.Method,insertText:j.content,insertTextRules:x.languages.CompletionItemInsertTextRule.InsertAsSnippet})),G=V.quickKey.map(j=>({label:j.label,kind:x.languages.CompletionItemKind.Method,insertText:j.content,insertTextRules:x.languages.CompletionItemInsertTextRule.InsertAsSnippet}));x.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(j,B){var q=j.getWordUntilPosition(B),de={startLineNumber:B.lineNumber,endLineNumber:B.lineNumber,startColumn:q.startColumn,endColumn:q.endColumn},oe=j.getLineContent(B.lineNumber).substring(q.startColumn-2,q.endColumn);return{suggestions:[...C.keywords.map(le=>({label:le,kind:x.languages.CompletionItemKind.Function,documentation:le,insertText:le,insertTextRules:x.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:de})),...C.quickKey.map(le=>({label:le.label,kind:x.languages.CompletionItemKind.Function,documentation:le.content,insertText:oe.startsWith("#")?le.content.replace(/#/,""):le.content,insertTextRules:x.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:de}))]}}}),x.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(j,B){var q=j.getWordUntilPosition(B),de={startLineNumber:B.lineNumber,endLineNumber:B.lineNumber,startColumn:q.startColumn,endColumn:q.endColumn};return{suggestions:[...N.keywords.map(oe=>({label:oe,kind:x.languages.CompletionItemKind.Function,documentation:oe,insertText:oe,insertTextRules:x.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:de}))]}}}),x.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(j,B){var q=j.getWordUntilPosition(B),de={startLineNumber:B.lineNumber,endLineNumber:B.lineNumber,startColumn:q.startColumn,endColumn:q.endColumn},oe=j.getLineContent(B.lineNumber).substring(q.startColumn-2,q.endColumn);return{suggestions:[...V.keywords.map(le=>({label:le,kind:x.languages.CompletionItemKind.Function,documentation:le,insertText:le,insertTextRules:x.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:de})),...V.quickKey.map(le=>({label:le.label,kind:x.languages.CompletionItemKind.Function,documentation:le.content,insertText:oe.startsWith("#")?le.content.replace(/#/,""):le.content,insertTextRules:x.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:de}))]}}}),x.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(j,B){var q=j.getWordUntilPosition(B),de={startLineNumber:B.lineNumber,endLineNumber:B.lineNumber,startColumn:q.startColumn,endColumn:q.endColumn},oe=j.getLineContent(B.lineNumber).substring(q.startColumn-2,q.endColumn);return{suggestions:[...l.keywords.map(le=>({label:le,kind:x.languages.CompletionItemKind.Function,documentation:le,insertText:le,insertTextRules:x.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:de})),...l.quickKey.map(le=>({label:le.label,kind:x.languages.CompletionItemKind.Function,documentation:le.content,insertText:oe.startsWith("#")?le.content.replace(/#/,""):le.content,insertTextRules:x.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:de}))]}}}),x.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(j,B){var q=j.getWordUntilPosition(B),de={startLineNumber:B.lineNumber,endLineNumber:B.lineNumber,startColumn:q.startColumn,endColumn:q.endColumn},oe=j.getLineContent(B.lineNumber).substring(q.startColumn-2,q.endColumn);return{suggestions:[...k.keywords.map(le=>({label:le,kind:x.languages.CompletionItemKind.Function,documentation:le,insertText:le,insertTextRules:x.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:de})),...k.quickKey.map(le=>({label:le.label,kind:x.languages.CompletionItemKind.Function,documentation:le.content,insertText:oe.startsWith("#")?le.content.replace(/#/,""):le.content,insertTextRules:x.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:de}))]}}})};const Y="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var J=Object.defineProperty,X=(x,d,f)=>d in x?J(x,d,{enumerable:!0,configurable:!0,writable:!0,value:f}):x[d]=f,U=(x,d,f)=>X(x,typeof d!="symbol"?d+"":d,f);const M=class po{constructor(d,f,G){this.placeholder=d,this.editor=f,this.monaco=G,f.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)}};U(M,"ID","editor.widget.placeholderHint");var K=M,O=t(96236),A=t(8591),$=t(6848),i=t(89392),o=t(50484),p=t(56102),F=Object.defineProperty,re=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,He=(x,d,f)=>d in x?F(x,d,{enumerable:!0,configurable:!0,writable:!0,value:f}):x[d]=f,Pe=(x,d)=>{for(var f in d||(d={}))me.call(d,f)&&He(x,f,d[f]);if(ne)for(var f of ne(d))xe.call(d,f)&&He(x,f,d[f]);return x},Ue=(x,d)=>re(x,ie(d)),et=(x,d)=>{var f={};for(var G in x)me.call(x,G)&&d.indexOf(G)<0&&(f[G]=x[G]);if(x!=null&&ne)for(var G of ne(x))d.indexOf(G)<0&&xe.call(x,G)&&(f[G]=x[G]);return f},lt=(x,d,f)=>new Promise((G,j)=>{var B=oe=>{try{de(f.next(oe))}catch(le){j(le)}},q=oe=>{try{de(f.throw(oe))}catch(le){j(le)}},de=oe=>oe.done?G(oe.value):Promise.resolve(oe.value).then(B,q);de((f=f.apply(x,d)).next())});function je(x){return/^\d+$/.test(x)?`${x}px`:x}function pe(){}let ue=!1;const Z={"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 H(x=[]){let d=x;if(Array.isArray(x)){for(let f=0;f<x.length;f++){let G=Z[x[f]];if(G)return G}return d[0]}return Z[d]||d}let L=null;var R=x=>{var d=x,{width:f="100%",height:G="100%",value:j,language:B="javascript",style:q={},options:de={},overrideServices:oe={},theme:le="vs-dark",onEditBlur:_e,isCopy:Ee=!1,onSave:ge,autoHeight:Ce=!1,forbidCopy:Oe=!1,onChange:Se=pe,editorDidMount:Xe=pe,onFocus:Ye=pe,onBreakPoint:pt=pe,breakPointValue:dt=[],filename:At="educoder.txt",errorLine:Rt,errorContent:Zt="",highlightLine:Nt,openBreakPoint:sn=!1,placeholder:Lt=""}=d,rt=et(d,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Vt=(0,_.useRef)(),_t=(0,_.useRef)({}),Et=(0,_.useRef)(),rn=(0,_.useRef)(),hn=(0,_.useRef)([]),Pn=(0,_.useRef)(!1),Sn=(0,_.useRef)(),$n=(0,_.useRef)(),Kn=(0,_.useRef)(!1),[Nn,Zn]=(0,_.useState)(!1);function Mt(){let Fe;return Vt.current&&(Fe=new v.Z(Le=>{for(let Je of Le)(Je.target.offsetHeight>0||Je.target.offsetWidth>0)&&_t.current.instance.layout()}),Fe.observe(Vt.current)),Fe}function Ft(){A.ZP.warning({content:decodeURIComponent(Y),key:"monaco-editor-tip"})}const ce=()=>{let Fe=_t.current.instance;if(j!=null&&Fe&&Nn){const Le=Fe.getModel();Le&&j!==Le.getValue()&&(ue=!0,Le.setValue(j),Fe.layout(),ue=!1)}};(0,_.useEffect)(()=>{const Fe=o.Z.subscribe("formatDocument",Le=>{var Je;let tt=_t.current.instance;(Je=tt==null?void 0:tt.getAction)==null||Je.call(tt,"editor.action.formatDocument").run()});return window.updateMonacoValue=Le=>{Se(Le)},Fe},[]),(0,_.useEffect)(()=>{var Fe;let Le=_t.current.instance;rn.current&&clearTimeout(rn.current),rn.current=setTimeout(()=>{ce()},500),j&&(j!=null&&j.length)&&((Fe=Le==null?void 0:Le.updateOptions)==null||Fe.call(Le,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(j.split(/\r\n|\r|\n/g).length))+3,5)}))},[j,Nn,_t.current]),(0,_.useEffect)(()=>{if(Rt&&_t.current&&_t.current.instance){let Le=_t.current.instance;Le.changeViewZones(function(Je){var tt=document.createElement("div");tt.style.padding="10px 20px",tt.style.width="calc(100% - 20px)",tt.className="my-error-line-wrp",tt.innerHTML=Zt,Je.addZone({afterLineNumber:Rt||11,heightInLines:3,domNode:tt})});var Fe={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Le.addOverlayWidget(Fe),Le.revealPositionInCenter({lineNumber:20,column:1})}},[Rt,_t.current,Nn]);const Be=(Fe="",Le)=>{if(!Fe||Fe.trim()==="")return!0;const tt=_t.current.instance.getModel().getLineTokens(Le);let it=!1;for(let yt=0;yt<2;yt++)tt.getStandardTokenType(yt)===1&&(it=!0);return it};(0,_.useEffect)(()=>{var Fe;const Le=(Fe=_t.current)==null?void 0:Fe.instance;if(Le&&Nn&&Oe){const Je=Le.onDidBlurEditorWidget(()=>{Kn.current=!1}),tt=Le.onDidFocusEditorText(()=>{Kn.current=!0});return()=>{Je.dispose(),tt.dispose()}}},[_t.current,Nn,Oe]),(0,_.useEffect)(()=>{var Fe;if((Fe=_t.current)!=null&&Fe.instance&&Nn&&sn){let Le=_t.current.instance,Je=Le.getModel();if(!Je)return;(()=>{var Ke;let Ze=[],ot=[];const mt=Je.getAllDecorations();for(let Bt of mt)Bt.options.className==="highlighted-line"&&(Ze.push((Ke=Bt==null?void 0:Bt.range)==null?void 0:Ke.startLineNumber),ot.push(Bt==null?void 0:Bt.id));if(Nt===Ze[0])return;Je.deltaDecorations(ot,[]);const gt=Je.getLineCount();Nt&&Nt<=gt&&(Le.deltaDecorations([],[{range:new L.Range(Nt,1,Nt,Je.getLineMaxColumn(Nt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Le.revealLineInCenter(Nt))})();const it=(Ke=!1)=>{var Ze;let ot=[],mt=[];const gt=Je.getAllDecorations();for(let Bt of gt)Bt.options.linesDecorationsClassName==="breakpoints-select"&&(ot.push((Ze=Bt==null?void 0:Bt.range)==null?void 0:Ze.startLineNumber),mt.push(Bt==null?void 0:Bt.id));if(Ke)return{lines:ot,ids:mt};pt(ot)},yt=Ke=>lt(void 0,null,function*(){let Ze={range:new L.Range(Ke,1,Ke,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Je.deltaDecorations([],[Ze]),it()}),jt=Ke=>lt(void 0,null,function*(){let Ze=[];const ot=Le.getLineDecorations(Ke);for(let mt of ot)mt.options.linesDecorationsClassName==="breakpoints-select"&&Ze.push(mt.id);yield Je.deltaDecorations(Ze,[]),it()}),St=Ke=>{let Ze=Le.getLineDecorations(Ke);for(let ot of Ze)if(ot.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,i.isEqual)(dt,it(!0).lines)){Je.deltaDecorations(it(!0).ids,[]);const Ke=dt.map(Ze=>({range:new L.Range(Ze,1,Ze,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Je.deltaDecorations([],Ke)}const Ge=Le.onDidChangeModelContent(Ke=>{let Ze=Le.getPosition();if(Ze){let ot=Ze.lineNumber;clearTimeout($n.current),$n.current=setTimeout(()=>{Be(Je.getLineContent(ot),ot)?jt(ot):St(ot)?(jt(ot),yt(ot)):it()},100)}}),ye=Le.onMouseDown(Ke=>{var Ze,ot,mt;if(Ke.target.detail&&((mt=(ot=(Ze=Ke.target)==null?void 0:Ze.element)==null?void 0:ot.className)!=null&&mt.includes("line-numbers"))){let gt=Ke.target.position.lineNumber;if(Be(Je.getLineContent(gt),gt))return;St(gt)?jt(gt):yt(gt)}}),we=Ke=>{let Ze={range:new L.Range(Ke,1,Ke,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};hn.current=Le.deltaDecorations(hn.current,[Ze])},Ne=()=>{hn.current=Le.deltaDecorations(hn.current,[])},Me=Le.onMouseMove(Ke=>{var Ze,ot,mt;if(Ne(),Ke.target.detail&&((mt=(ot=(Ze=Ke.target)==null?void 0:Ze.element)==null?void 0:ot.className)!=null&&mt.includes("line-numbers"))){let gt=Ke.target.position.lineNumber;if(Be(Je.getLineContent(gt),gt))return;we(gt)}}),Ae=Le.onMouseLeave(()=>{Ne()});return()=>{Ge.dispose(),ye.dispose(),Me.dispose(),Ae.dispose()}}},[_t.current,Nn,dt,Nt,sn,B]),(0,_.useEffect)(()=>{var Fe;(Fe=_t.current)!=null&&Fe.instance&&sn&&_t.current.instance.setPosition({lineNumber:0,column:0})},[Nt]);function ke(){let Fe=_t.current.instance;if(Fe){const Le=Fe.getSelection(),Je=_t.current.pastePos||{},tt=new L.Range(Je.startLineNumber||Le.endLineNumber,Je.startColumn||Le.endColumn,Je.endLineNumber||Le.endLineNumber,Je.endColumn||Le.endColumn);setTimeout(()=>{Fe.executeEdits("",[{range:tt,text:""}])},300)}}function te(Fe){(window.navigator.platform.match("Mac")?Fe.metaKey:Fe.ctrlKey)&&Fe.keyCode==83&&(Fe.preventDefault(),ge())}const ae=()=>{if(Ce&&_t.current.instance){const Fe=_t.current.instance.getContentHeight();ft(Fe<G?G:Fe)}else ft(G)};function De(Fe){var Le=document.createEvent("MouseEvents");Le.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Fe.dispatchEvent(Le)}const $e=Fe=>{if(!Kn.current)return;const{keyCode:Le,ctrlKey:Je,metaKey:tt,target:it,type:yt}=Fe;return(yt==="paste"||(Le===67||Le===86)&&(tt||Je))&&it.nodeName==="TEXTAREA"&&(Ft(),Fe.preventDefault()),!1};function st(Fe,Le){var Je=window.URL||window.webkitURL||window,tt=new Blob([Le]),it=document.createElementNS("http://www.w3.org/1999/xhtml","a");it.href=Je.createObjectURL(tt),it.download=Fe,De(it)}(0,_.useEffect)(()=>{ae()},[ae]),(0,_.useEffect)(()=>{Vt.current&&!Nn&&Promise.all([t.e(8909),t.e(6894)]).then(t.bind(t,71448)).then(Fe=>{try{L=Fe,_t.current.instance=L.editor.create(Vt.current,{value:j,language:H(B),theme:le,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},oe);const Le=_t.current.instance;let it=[...O.BH._menuItems].find(Ge=>Ge[0]._debugName=="EditorContext")[1],yt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],jt=(Ge,ye)=>{var we,Ne;let Me=Ge._first;do ye.includes((Ne=(we=Me.element)==null?void 0:we.command)==null?void 0:Ne.id)&&Ge._remove(Me);while(Me=Me.next)};if(Xe(Le,L),setTimeout(()=>{ae(),_t.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{st(At||"educoder.txt",Le.getValue())}})},500),_t.current.subscription=Le.onDidChangeModelContent(Ge=>{Pn.current?clearTimeout(Sn.current):(ae(),Se(Le.getValue(),Ge)),Sn.current=setTimeout(()=>{Pn.current=!1},500)}),window.Monaco||D(L,H(B)),Oe&&(jt(it,yt),Vt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",$e),window.removeEventListener("paste",$e),window.addEventListener("keydown",$e),window.addEventListener("paste",$e)),window.Monaco=L,_e&&Le.onDidBlurEditorWidget(()=>{_e(Le.getValue())}),Ye&&Le.onDidFocusEditorText(()=>{Ye(Le.getValue())}),Oe)try{Le.onDidPaste(Ge=>{const ye=Le.getSelection(),we=_t.current.pastePos||{},Ne=new L.Range(we.startLineNumber||ye.endLineNumber,we.startColumn||ye.endColumn,we.endLineNumber||ye.endLineNumber,we.endColumn||ye.endColumn);Le.executeEdits("",[{range:Ge.range,text:""}])})}catch(Ge){}let St=Mt();return Lt&&typeof Lt=="string"&&new K(Lt,Le,L),Zn(!0),()=>{const Ge=_t.current.instance;Ge.dispose();const ye=Ge.getModel();ye&&ye.dispose(),_t.current.subscription&&_t.current.subscription.dispose(),St.unobserve(Vt.current)}}catch(Le){}})},[]),(0,_.useEffect)(()=>{if(_t.current.instance&&Nn)return document.addEventListener("keydown",te,!1),()=>{document.removeEventListener("keydown",te)}},[ge,Nn]),(0,_.useEffect)(()=>{let Fe=_t.current.instance;if(Fe&&Nn){let Le=H(B);L.editor.setModelLanguage(Fe.getModel(),Le)}},[B,Nn]),(0,_.useEffect)(()=>{_t.current.instance&&Nn&&L.editor.setTheme(le)},[le,Nn]),(0,_.useEffect)(()=>{let Fe=_t.current.instance;Et.current=de,Fe&&Nn&&(Fe.updateOptions(Pe({},de)),setTimeout(()=>{Fe.getModel().updateOptions(Pe({},de))},200))},[JSON.stringify(de),Nn]),(0,_.useEffect)(()=>{let Fe=_t.current.instance;Fe&&Nn&&Fe.layout()},[f,G,Nn]);const[Ve,ct]=(0,_.useState)(je(f)),[Qe,ft]=(0,_.useState)(je(G)),vt=Ue(Pe({},q),{width:Ve,height:Qe,position:"relative"});return _.createElement("div",{className:"my-monaco-editor",ref:Vt,style:vt},Ee&&_.createElement(p.CopyToClipboard,{text:j,onCopy:()=>A.ZP.success("\u590D\u5236\u6210\u529F")},_.createElement($.Z,{title:"\u590D\u5236\u4EE3\u7801"},_.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},_.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function ee({width:x="100%",height:d="100%",original:f,modified:G,language:j,options:B={}}){const q=(0,_.useRef)(),[de,oe]=(0,_.useState)(null);function le(Ce){let Oe;return q.current&&(Oe=new v.Z(Se=>{for(let Xe of Se)(Xe.target.offsetHeight>0||Xe.target.offsetWidth>0)&&Ce.layout()}),Oe.observe(q.current)),Oe}(0,_.useEffect)(()=>(q.current&&Promise.all([t.e(8909),t.e(9404)]).then(t.bind(t,2550)).then(Ce=>{L=Ce;const Oe=L.editor.createDiffEditor(q.current,Ue(Pe({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},B),{wordWrap:!0}));oe(Oe);let Se=le(Oe);return()=>{Oe.dispose();const Xe=Oe.getModel();Xe&&Xe.dispose(),Se.unobserve(q.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,_.useEffect)(()=>{de&&de.setModel({original:L.editor.createModel(f,j),modified:L.editor.createModel(G,j)})},[f,G,j,de]);const _e=je(x),Ee=je(d),ge={width:_e,height:Ee};return _.createElement("div",{className:"my-diff-editor",ref:q,style:ge})}},90847:function(qe,ve,t){"use strict";t.r(ve),t.d(ve,{default:function(){return O}});var _=t(59301),v={flex_box_center:"flex_box_center___n3nXI",flex_space_between:"flex_space_between___SVr_u",flex_box_vertical_center:"flex_box_vertical_center___nGcce",flex_box_center_end:"flex_box_center_end___kaizF",flex_box_column:"flex_box_column___sMn1m",wrap:"wrap___LP3mu",title:"title___BPtTv",control:"control___zxfZc",label:"label___lVocU",tagWrap:"tagWrap___Wvbu8",tag:"tag___QaDfC",button:"button___z4kBY",customTable:"customTable___ehECY",form:"form___zV9o6",customModal:"customModal___TybkU"},N=t(24459),V=t(7660),C=t(89392),k=t(78241),l=t(43418),W=t(6848),e=t(8591),h=t(92832),m=t(57809),n=t(81327),r=t(3113),a=t(1710),u=t(38446),b=t(30897),z=t(53954),E=t(74087),y=t(63529),I=t(90853),S=Object.defineProperty,c=Object.defineProperties,s=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,J=(A,$,i)=>$ in A?S(A,$,{enumerable:!0,configurable:!0,writable:!0,value:i}):A[$]=i,X=(A,$)=>{for(var i in $||($={}))D.call($,i)&&J(A,i,$[i]);if(w)for(var i of w($))Y.call($,i)&&J(A,i,$[i]);return A},U=(A,$)=>c(A,s($)),M=(A,$,i)=>new Promise((o,p)=>{var F=ne=>{try{ie(i.next(ne))}catch(me){p(me)}},re=ne=>{try{ie(i.throw(ne))}catch(me){p(me)}},ie=ne=>ne.done?o(ne.value):Promise.resolve(ne.value).then(F,re);ie((i=i.apply(A,$)).next())});let g=[{id:1,content:"\u4E13\u4E1A\u6BD5\u4E1A\u8981\u6C42\u6307\u6807\u70B9\u5206\u89E3\u53CA\u5173\u8054\u8BFE\u7A0B"},{id:2,content:"\u5B66\u751F\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u60C5\u51B5\u8BC4\u4EF7\u4F9D\u636E\u8868"},{id:3,content:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u60C5\u51B5\u76F4\u63A5\u8BC4\u4EF7\u7ED3\u679C"},{id:4,content:"\u8BFE\u7A0B\u603B\u7ED3\u62A5\u544A"}];const K=({user:A})=>{var $,i;const o={page:1,per_page:20,total:0,ec_major_school_id:null,ec_year_id:null,sort_by:null,direction:null,formvalues:{}};let[p,F]=(0,_.useState)(o);const[re,ie]=(0,_.useState)(!0),[ne,me]=(0,_.useState)(!1),[xe,He]=(0,_.useState)([]),[Pe,Ue]=(0,_.useState)([]),[et,lt]=(0,_.useState)([]),[je]=k.default.useForm(),pe=(0,N.useLocation)(),ue=location.host.startsWith("localhost")?u.Z.PROXY_SERVER:u.Z.API_SERVER,[Z,H]=(0,_.useState)(!1),[L,R]=(0,_.useState)(!1),[ee,x]=(0,_.useState)([]),[d,f]=(0,_.useState)(""),[G,j]=(0,_.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}}});(0,_.useEffect)(()=>{var Ce;(Ce=A==null?void 0:A.userInfo)!=null&&Ce.school_id&&q()},[($=A==null?void 0:A.userInfo)==null?void 0:$.school_id]);const B=Ce=>M(void 0,null,function*(){var Oe;const Se=(0,C.cloneDeep)(Ce);E.U.setItem((Oe=A==null?void 0:A.userInfo)==null?void 0:Oe.login,[Se==null?void 0:Se.ec_major_school_id,Se==null?void 0:Se.ec_year_id]),ie(!0);const Xe=yield(0,V.ZP)(`/api/ec_years/${p.ec_year_id}/ec_docs.json`,{method:"get",params:Se});Xe!=null&&Xe.data&&(lt((Xe==null?void 0:Xe.data)||[]),p.total=Xe==null?void 0:Xe.count,F(X({},p))),ie(!1)}),q=()=>M(void 0,null,function*(){var Ce,Oe,Se,Xe,Ye,pt,dt,At,Rt,Zt;const Nt=yield(0,V.ZP)(`/api/schools/${(Ce=A==null?void 0:A.userInfo)==null?void 0:Ce.school_id}/ec_majors/get_major_list.json`,{method:"get"});if(!((Se=(Oe=Nt==null?void 0:Nt.data)==null?void 0:Oe[0])!=null&&Se.ec_major_school_id)){ie(!1),me(!0);return}const sn=E.U.getItem((Xe=A==null?void 0:A.userInfo)==null?void 0:Xe.login),Lt=Number((Ye=pe==null?void 0:pe.query)==null?void 0:Ye.ec_major_school_id)||sn[0]||((dt=(pt=Nt==null?void 0:Nt.data)==null?void 0:pt[0])==null?void 0:dt.ec_major_school_id),rt=yield(0,V.ZP)(`/api/ec_major_schools/${Lt}/ec_years/get_year_list.json`,{method:"get"});p.ec_major_school_id=Lt,p.ec_year_id=Number((At=pe==null?void 0:pe.query)==null?void 0:At.ec_year_id)||sn[1]||((Zt=(Rt=rt==null?void 0:rt.data)==null?void 0:Rt[0])==null?void 0:Zt.ec_year_id),oe(p.ec_year_id),He((Nt==null?void 0:Nt.data)||[]),Ue((rt==null?void 0:rt.data)||[]),F(p),B(p)}),de=Ce=>M(void 0,null,function*(){var Oe,Se;const Xe=yield(0,V.ZP)(`/api/ec_major_schools/${Ce}/ec_years/get_year_list.json`,{method:"get"});p.ec_major_school_id=Ce,p.ec_year_id=(Se=(Oe=Xe==null?void 0:Xe.data)==null?void 0:Oe[0])==null?void 0:Se.ec_year_id,Ue((Xe==null?void 0:Xe.data)||[]),F(p),B(p)}),oe=Ce=>M(void 0,null,function*(){const Oe=yield(0,V.ZP)(`/api/ec_years/${Ce}/ec_courses/get_courses.json`,{method:"get"});x((Oe==null?void 0:Oe.data)||[])}),le=(Ce,Oe)=>{if(p.page=1,p[Oe]=Ce,Oe==="ec_major_school_id"){de(Ce);return}Oe==="ec_year_id"&&(F(X({},p)),B(p),oe(Ce))},_e=Ce=>{l.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u5417\uFF1F",onOk:()=>M(void 0,null,function*(){const Oe=yield(0,V.ZP)(`/api/ec_years/${p.ec_year_id}/ec_docs/${Ce}.json`,{method:"delete"});(Oe==null?void 0:Oe.status)===0&&(p.page=1,F(X({},p)),B(p))})})},Ee=[{title:"\u5E8F\u53F7",dataIndex:"index",width:90,render:(Ce,Oe,Se)=>_.createElement("span",{className:"pl20"},p.per_page*(p.page-1)+Se+1)},{title:"\u6587\u6863\u540D\u79F0",dataIndex:"name",ellipsis:!0,width:200,render:Ce=>Ce||"-"},{title:"\u751F\u6210\u65F6\u95F4",dataIndex:"created_at",ellipsis:!0,width:200,render:Ce=>Ce||"-"},{title:"\u6700\u540E\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:200,ellipsis:!0,render:Ce=>Ce||"-"},{title:"\u64CD\u4F5C",width:120,dataIndex:"id",render:(Ce,Oe)=>_.createElement("span",{style:{display:"inline-flex",transform:"translateY(1px)",width:"80%",color:"#0152D9",justifyContent:"space-between"}},_.createElement(W.Z,{title:"\u4FEE\u6539\u6807\u9898"},_.createElement("i",{style:{cursor:"pointer"},onClick:()=>{var Se;let Xe=Oe.name.substr(0,(Se=Oe.name)==null?void 0:Se.lastIndexOf("."));if(!Xe.replaceAll(" ","")){e.ZP.info("\u6587\u4EF6\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}l.default.confirm({title:"\u91CD\u547D\u540D",icon:!1,content:_.createElement(h.default,{defaultValue:Xe,maxLength:100,onChange:Ye=>{Xe=Ye.target.value}}),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>M(void 0,null,function*(){let Ye=yield(0,V.ZP)(`/api/ec_years/${p==null?void 0:p.ec_year_id}/ec_docs/${Ce}.json`,{method:"put",body:{ec_year_id:p==null?void 0:p.ec_year_id,id:Ce,name:Xe}});(Ye==null?void 0:Ye.status)===0&&(e.ZP.info("\u4FEE\u6539\u6210\u529F"),p.page=1,F(X({},p)),B(p))})})},className:"iconfont icon-xiugaibiaoti"})),_.createElement(W.Z,{title:"\u5728\u7EBF\u7F16\u8F91"},_.createElement("i",{onClick:()=>M(void 0,null,function*(){if(["xlsx","docx","pptx"].includes(Oe==null?void 0:Oe.type)){const Se=yield(0,b.gJ)({attachment_id:Oe.attachment_id});window.open(`/office.html?key=${Oe.attachment_id}&url=${ue+(Se==null?void 0:Se.url)}&callbackUrl=${ue+(Se==null?void 0:Se.callbackUrl)}&fileType=docx&title=${Se==null?void 0:Se.title}&model=edit&officeServer=${u.Z.ONLYOFFICE}&disabledDownload=false`)}else{e.ZP.info("\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u7F16\u8F91");return}}),style:{cursor:"pointer"},className:"iconfont icon-bianji10"})),_.createElement(W.Z,{title:"\u4E0B\u8F7D"},_.createElement("i",{style:{cursor:"pointer"},onClick:()=>{(0,y.IM)({name:Oe==null?void 0:Oe.name,attachment_id:Oe==null?void 0:Oe.attachment_id})},className:"iconfont icon-xiazai4"})),_.createElement(W.Z,{title:"\u5220\u9664"},_.createElement("i",{style:{cursor:"pointer"},onClick:()=>{_e(Ce)},className:"iconfont icon-shanchu11"})))}],ge=re||ne;return _.createElement("div",{className:v.wrap},_.createElement(z.p,{title:"\u6587\u6863\u751F\u6210",style:{padding:"12px 0 0 20px"}}),_.createElement("div",{className:v.control},_.createElement("div",{className:v.label},"\u8BA4\u8BC1\u4E13\u4E1A"),_.createElement(m.default,{disabled:ge,style:{width:240},placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A",value:p==null?void 0:p.ec_major_school_id,onChange:Ce=>le(Ce,"ec_major_school_id")},xe==null?void 0:xe.map(Ce=>_.createElement(m.default.Option,{value:Ce.ec_major_school_id},Ce.name))),_.createElement("div",{className:v.label},"\u8BA4\u8BC1\u5C4A\u522B"),_.createElement(m.default,{disabled:ge,style:{width:140},placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:p==null?void 0:p.ec_year_id,onChange:Ce=>le(Ce,"ec_year_id")},Pe==null?void 0:Pe.map(Ce=>_.createElement(m.default.Option,{value:Ce.ec_year_id},Ce.year))),_.createElement(n.Z,{className:v.button,size:10},_.createElement(r.ZP,{disabled:ge,style:{transition:"0s"},onClick:()=>{H(!0)},type:"primary"},_.createElement("i",{className:"iconfont icon-xinzeng font14 mr5"}),"\u751F\u6210\u6587\u6863"))),_.createElement(a.default,{className:v.customTable,dataSource:et,bordered:!1,rowKey:"id",columns:Ee,rowClassName:v.row,loading:re,pagination:{pageSize:p.per_page,total:p.total,current:p.page,showQuickJumper:!0,hideOnSinglePage:!1,showSizeChanger:!0,size:"default",position:["bottomCenter"],showTotal:Ce=>_.createElement("span",{className:"mr10"},"\u5171",_.createElement("span",{className:"c-orange"},Ce),"\u6761\u6570\u636E")}}),_.createElement(l.default,{title:"\u751F\u6210\u6587\u6863",open:Z,onOk:()=>{je.submit()},okButtonProps:{loading:L},onCancel:()=>{H(!1),je.setFieldsValue({export_type:"",ec_course_id:""})}},console.log("---",p),_.createElement(k.default,{labelCol:{span:7},wrapperCol:{span:17},form:je,onValuesChange:Ce=>{Ce.export_type&&(p.formvalues=Ce),F(X({},p))},onFinish:Ce=>M(void 0,null,function*(){R(!0);let Oe=`/api/ec_years/${p==null?void 0:p.ec_year_id}/ec_docs.json`,Se=yield(0,V.ZP)(Oe,{method:"post",body:X({ec_year_id:p.ec_year_id},Ce)});R(!1),Se.status===0&&(e.ZP.info("\u751F\u6210\u6210\u529F"),B(p),je.setFieldsValue({export_type:"",ec_course_id:""}),H(!1))})},_.createElement(k.default.Item,{label:"\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863",name:"export_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863"}]},_.createElement(m.default,{placeholder:"\u8BF7\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863"},g==null?void 0:g.map((Ce,Oe)=>_.createElement(m.default.Option,{key:Oe,value:Ce==null?void 0:Ce.id},Ce==null?void 0:Ce.content)))),((i=p.formvalues)==null?void 0:i.export_type)===4&&_.createElement(k.default.Item,{label:"\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B",name:"ec_course_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B"}]},_.createElement(m.default,{placeholder:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B"},ee==null?void 0:ee.map((Ce,Oe)=>_.createElement(m.default.Option,{key:Oe,value:Ce==null?void 0:Ce.id},Ce==null?void 0:Ce.name)))))),_.createElement(I.Z,U(X({},G),{onClose:()=>{j(U(X({},G),{type:""}))}})))};var O=(0,N.connect)(({user:A})=>({user:A}))(K)},53954:function(qe,ve,t){"use strict";t.d(ve,{p:function(){return V},v:function(){return l}});var _=t(59301),v={panelTitleContainer:"panelTitleContainer___Ypuh_"},V=({title:W,style:e={}})=>_.createElement("div",{className:v.panelTitleContainer,style:e},_.createElement("div",null,W)),C={selectWrapContainer:"selectWrapContainer___qocIH"},l=({title:W,children:e})=>_.createElement("div",{className:C.selectWrapContainer},_.createElement("span",null,W),e)},63529:function(qe,ve,t){"use strict";t.d(ve,{AD:function(){return K},D9:function(){return p},Hp:function(){return s},IM:function(){return re},Iy:function(){return D},KM:function(){return je},MJ:function(){return w},Ne:function(){return F},ON:function(){return He},Uj:function(){return et},VY:function(){return me},YO:function(){return Ue},YX:function(){return Pe},Zn:function(){return u},_g:function(){return I},_k:function(){return i},c6:function(){return M},cr:function(){return b},eV:function(){return g},fi:function(){return z},gh:function(){return X},hS:function(){return ie},iA:function(){return E},j6:function(){return S},je:function(){return $},jj:function(){return c},kS:function(){return xe},o6:function(){return U},pO:function(){return lt},rQ:function(){return O},sA:function(){return J},xm:function(){return o},xo:function(){return ne},y8:function(){return A},yd:function(){return y}});var _=t(94811),v=t(24459),N=t(88230),V=t(8591),C=t(38446),k=Object.defineProperty,l=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,h=(pe,ue,Z)=>ue in pe?k(pe,ue,{enumerable:!0,configurable:!0,writable:!0,value:Z}):pe[ue]=Z,m=(pe,ue)=>{for(var Z in ue||(ue={}))W.call(ue,Z)&&h(pe,Z,ue[Z]);if(l)for(var Z of l(ue))e.call(ue,Z)&&h(pe,Z,ue[Z]);return pe},n=(pe,ue,Z)=>new Promise((H,L)=>{var R=d=>{try{x(Z.next(d))}catch(f){L(f)}},ee=d=>{try{x(Z.throw(d))}catch(f){L(f)}},x=d=>d.done?H(d.value):Promise.resolve(d.value).then(R,ee);x((Z=Z.apply(pe,ue)).next())});const r=()=>{(0,v.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},a=()=>{(0,v.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},u=pe=>n(void 0,null,function*(){r(),(yield(0,_.YR)(m({},pe))).status===0&&(yield(0,N.QH)("",(0,N.NY)({url:C.Z.API_SERVER+`/api/courses/${pe.coursesId}/export_couser_info.json`,query:pe}))),a()}),b=pe=>n(void 0,null,function*(){const ue=yield(0,_.yS)(m({},pe));if(ue.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),v.history.push(`/classrooms/${pe.coursesId}/exportlist/course_member_act_score`);else{if(ue.status===-2)return ue;ue.status===-3&&((0,v.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),v.history.push(`/classrooms/${pe.coursesId}/exportlist/course_member_act_score`))}}),z=pe=>n(void 0,null,function*(){const ue=yield(0,_.W0)(m({},pe));if(ue.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),v.history.push(`/classrooms/${pe.coursesId}/exportlist/course_total_score`);else{if(ue.status===-4)return ue;ue.status===-3&&((0,v.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),v.history.push(`/classrooms/${pe.coursesId}/exportlist/course_total_score`))}}),E=pe=>n(void 0,null,function*(){const ue=yield(0,_.Nl)(m({},pe));if(ue.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),v.history.push(`/classrooms/${pe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(ue.status===-4)return ue;ue.status===-3&&((0,v.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),v.history.push(`/classrooms/${pe.coursesId}/exportlist/course_total_exercise_and_other`))}}),y=pe=>n(void 0,null,function*(){const ue=yield(0,_.IU)(m({},pe));if(ue.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),v.history.push(`/classrooms/${pe.coursesId}/exportlist/export_star_user`);else{if(ue.status===-4)return ue;ue.status===-3&&((0,v.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),v.history.push(`/classrooms/${pe.coursesId}/exportlist/export_star_user`))}}),I=pe=>n(void 0,null,function*(){const ue=yield(0,_.td)(m({},pe));if(ue.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),v.history.push(`/classrooms/${pe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(ue.status===-2)return ue;if(ue.status===-3)(0,v.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),v.history.push(`/classrooms/${pe.coursesId}/exportlist/course_total_exercise_and_other`);else if(ue.status===-4)return ue}}),S=pe=>n(void 0,null,function*(){const ue=yield(0,_.QX)(m({},pe));if(ue.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),v.history.push(`/classrooms/${pe.coursesId}/exportlist/course_total_homework`);else{if(ue.status===-4)return ue;ue.status===-3&&((0,v.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),v.history.push(`/classrooms/${pe.coursesId}/exportlist/course_total_homework`))}}),c=(pe,ue)=>n(void 0,null,function*(){const Z=yield(0,_.o_)(m({},pe));Z.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"),v.history.push(`/classrooms/${pe.coursesId}/exportlist/${ue}`)):Z.status===-3&&((0,v.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),v.history.push(`/classrooms/${pe.coursesId}/exportlist/${ue}`))}),s=(pe,ue)=>n(void 0,null,function*(){const Z=yield(0,_.ZL)(m({},pe));Z.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"),v.history.push(`/classrooms/${pe.coursesId}/exportlist/${ue}`)):Z.status===-3&&((0,v.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),v.history.push(`/classrooms/${pe.coursesId}/exportlist/${ue}`))}),w=(pe,ue)=>n(void 0,null,function*(){const Z=yield(0,_.vV)(m({},pe));Z.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"),v.history.push(`/classrooms/${pe.coursesId}/exportlist/${ue}`)):Z.status===-3&&((0,v.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),v.history.push(`/classrooms/${pe.coursesId}/exportlist/${ue}`))}),D=(pe,ue)=>n(void 0,null,function*(){const Z=yield(0,_.aP)(m({},pe));Z.status===0?(V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),v.history.push(`/classrooms/${pe.coursesId}/exportlist/${ue}`)):Z.status===-3&&((0,v.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),v.history.push(`/classrooms/${pe.coursesId}/exportlist/${ue}`))}),Y=pe=>n(void 0,null,function*(){r(),(yield exportCourseWorkListAppendix(m({},pe))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${pe.categoryId}/works_list.zip`,query:pe}))),a()}),J=pe=>n(void 0,null,function*(){r(),yield(0,N.QH)("",C.Z.API_SERVER+`/api/polls/${pe.categoryId}/commit_result.xlsx`),a()}),X=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+`/api/courses/${pe.coursesId}/attendances/export_xlsx_data.xlsx`,query:pe}))}),U=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+`/api/courses/${pe.coursesId}/video_study_statics.xlsx`,query:pe}))}),M=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+`/api/courses/${pe.coursesId}/export_video_study.xlsx`,query:pe}))}),g=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+`/api/courses/${pe.coursesId}/export_course_students_info.xlsx`,query:pe}))}),K=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+"/api/school_manages/students.xlsx",query:pe}))}),O=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+"/api/item_banks/export.xlsx",query:pe}))}),A=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:pe}))}),$=pe=>n(void 0,null,function*(){const ue=yield(0,_.Uy)(m({},pe));ue.status===0?(V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),v.history.push(`/classrooms/${pe.coursesId}/exportlist/exercise_score,export_exercise_users`)):ue.status===-3&&((0,v.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),v.history.push(`/classrooms/${pe.coursesId}/exportlist/exercise_score,export_exercise_users`))}),i=pe=>n(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+`/api/export_records/${pe.id}.xlsx`,query:pe}))}),o=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:pe}))}),p=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+`/api/courses/${pe==null?void 0:pe.coursesId}/${pe.menuKey}_statistic.xlsx?${pe.checkedList.map(ue=>`course_group_id[]=${ue}`).join("&")}`,query:pe}))}),F=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+`/api/ec_years/${pe==null?void 0:pe.ec_year_id}/ec_training_objectives.xlsx`,query:pe}))}),re=pe=>n(void 0,null,function*(){yield(0,N.FH)(pe==null?void 0:pe.name,(0,N.NY)({url:C.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:pe}))}),ie=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+`/api/ec_years/${pe==null?void 0:pe.ec_year_id}/ec_courses.xlsx`,query:pe}))}),ne=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+`/api/ec_years/${pe==null?void 0:pe.ec_year_id}/ec_graduation_requirements.xlsx`,query:pe}))}),me=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:pe}))}),xe=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:pe}))}),He=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+`/api/examination_banks/${pe.id}.json`,query:pe}))}),Pe=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+`/api/exercises/${pe.categoryId}.json`,query:pe}))}),Ue=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+`/api/polls/${pe==null?void 0:pe.id}/commit_result.json`,query:pe}))}),et=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+"/api/paths/get_task_pass.json",query:pe}))}),lt=(pe,ue)=>n(void 0,null,function*(){yield(0,N.FH)(ue||"",(0,N.NY)({url:C.Z.API_SERVER+`/api/exercises/${pe==null?void 0:pe.exercise_id}/consult_exercise.json`,query:pe}))}),je=pe=>n(void 0,null,function*(){yield(0,N.FH)("",(0,N.NY)({url:C.Z.API_SERVER+`/api/competitions/${pe==null?void 0:pe.identifier}/competition_commit_records/member_works.xlsx`,query:pe}))})},36785:function(qe,ve,t){"use strict";t.d(ve,{o2:function(){return C},yT:function(){return k}});var _=t(26407),v=t(33166);const N=v.i.map(l=>`${l}-inverse`),V=["success","processing","error","default","warning"];function C(l){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,_.Z)(N),(0,_.Z)(v.i)).includes(l):v.i.includes(l)}function k(l){return V.includes(l)}},50371:function(qe,ve){"use strict";function t(){const _=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let v=1;v<arguments.length;v++){const N=v<0||arguments.length<=v?void 0:arguments[v];N&&Object.keys(N).forEach(V=>{const C=N[V];C!==void 0&&(_[V]=C)})}return _}ve.Z=t},13845:function(qe,ve,t){"use strict";t.d(ve,{F:function(){return _},Z:function(){return v}});function _(N){return N!=null&&N===N.window}function v(N,V){var C,k;if(typeof window=="undefined")return 0;const l=V?"scrollTop":"scrollLeft";let W=0;return _(N)?W=N[V?"pageYOffset":"pageXOffset"]:N instanceof Document?W=N.documentElement[l]:(N instanceof HTMLElement||N)&&(W=N[l]),N&&!_(N)&&typeof W!="number"&&(W=(k=((C=N.ownerDocument)!==null&&C!==void 0?C:N).documentElement)===null||k===void 0?void 0:k[l]),W}},56762:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return v}});var _=t(59301);function v(){const[,N]=_.useReducer(V=>V+1,0);return N}},79676:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return k}});var _=t(19447);function v(l,W,e,h){if(h===!1)return{adjustX:!1,adjustY:!1};const m=h&&typeof h=="object"?h:{},n={};switch(l){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),m);return r.shiftX||(r.adjustX=!0),r.shiftY||(r.adjustY=!0),r}const N={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"]}},C=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function k(l){const{arrowWidth:W,autoAdjustOverflow:e,arrowPointAtCenter:h,offset:m,borderRadius:n,visibleFirst:r}=l,a=W/2,u={};return Object.keys(N).forEach(b=>{const z=h&&V[b]||N[b],E=Object.assign(Object.assign({},z),{offset:[0,0]});switch(u[b]=E,C.has(b)&&(E.autoArrow=!1),b){case"top":case"topLeft":case"topRight":E.offset[1]=-a-m;break;case"bottom":case"bottomLeft":case"bottomRight":E.offset[1]=a+m;break;case"left":case"leftTop":case"leftBottom":E.offset[0]=-a-m;break;case"right":case"rightTop":case"rightBottom":E.offset[0]=a+m;break}const y=(0,_.fS)({contentRadius:n,limitVerticalRadius:!0});if(h)switch(b){case"topLeft":case"bottomLeft":E.offset[0]=-y.dropdownArrowOffset-a;break;case"topRight":case"bottomRight":E.offset[0]=y.dropdownArrowOffset+a;break;case"leftTop":case"rightTop":E.offset[1]=-y.dropdownArrowOffset-a;break;case"leftBottom":case"rightBottom":E.offset[1]=y.dropdownArrowOffset+a;break}E.overflow=v(b,y,W,e),r&&(E.htmlRegion="visibleFirst")}),u}},68031:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return V}});var _=t(16089);function v(C,k,l,W){const e=l-k;return C/=W/2,C<1?e/2*C*C*C+k:e/2*((C-=2)*C*C+2)+k}var N=t(13845);function V(C){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:l=()=>window,callback:W,duration:e=450}=k,h=l(),m=(0,N.Z)(h,!0),n=Date.now(),r=()=>{const u=Date.now()-n,b=v(u>e?e:u,m,C,e);(0,N.F)(h)?h.scrollTo(window.pageXOffset,b):h instanceof Document||h.constructor.name==="HTMLDocument"?h.documentElement.scrollTop=b:h.scrollTop=b,u<e?(0,_.Z)(r):typeof W=="function"&&W()};(0,_.Z)(r)}},19080:function(qe,ve,t){"use strict";t.d(ve,{F:function(){return C},Z:function(){return V}});var _=t(92310),v=t.n(_);const N=null;function V(k,l,W){return v()({[`${k}-status-success`]:l==="success",[`${k}-status-warning`]:l==="warning",[`${k}-status-error`]:l==="error",[`${k}-status-validating`]:l==="validating",[`${k}-has-feedback`]:W})}const C=(k,l)=>l||k},24905:function(qe,ve,t){"use strict";t.d(ve,{default:function(){return w}});var _=t(92310),v=t.n(_),N=t(5630),V=t(59301),C=t(36355),k=t(1684),l=t(32441),e=V.createContext(null),h=t(98447),m=t(14088),n=t(4572),r=function(D,Y){var J={};for(var X in D)Object.prototype.hasOwnProperty.call(D,X)&&Y.indexOf(X)<0&&(J[X]=D[X]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,X=Object.getOwnPropertySymbols(D);U<X.length;U++)Y.indexOf(X[U])<0&&Object.prototype.propertyIsEnumerable.call(D,X[U])&&(J[X[U]]=D[X[U]]);return J};const a=(D,Y)=>{var J;const{prefixCls:X,className:U,rootClassName:M,children:g,indeterminate:K=!1,style:O,onMouseEnter:A,onMouseLeave:$,skipGroup:i=!1,disabled:o}=D,p=r(D,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:F,direction:re,checkbox:ie}=V.useContext(C.E_),ne=V.useContext(e),{isFormItemInput:me}=V.useContext(l.aM),xe=V.useContext(k.Z),He=(J=(ne==null?void 0:ne.disabled)||o)!==null&&J!==void 0?J:xe,Pe=V.useRef(p.value);V.useEffect(()=>{ne==null||ne.registerValue(p.value)},[]),V.useEffect(()=>{if(!i)return p.value!==Pe.current&&(ne==null||ne.cancelValue(Pe.current),ne==null||ne.registerValue(p.value),Pe.current=p.value),()=>ne==null?void 0:ne.cancelValue(p.value)},[p.value]);const Ue=F("checkbox",X),[et,lt]=(0,h.ZP)(Ue),je=Object.assign({},p);ne&&!i&&(je.onChange=function(){p.onChange&&p.onChange.apply(p,arguments),ne.toggleOption&&ne.toggleOption({label:g,value:p.value})},je.name=ne.name,je.checked=ne.value.includes(p.value));const pe=v()(`${Ue}-wrapper`,{[`${Ue}-rtl`]:re==="rtl",[`${Ue}-wrapper-checked`]:je.checked,[`${Ue}-wrapper-disabled`]:He,[`${Ue}-wrapper-in-form-item`]:me},ie==null?void 0:ie.className,U,M,lt),ue=v()({[`${Ue}-indeterminate`]:K},n.A,lt),Z=K?"mixed":void 0;return et(V.createElement(m.Z,{component:"Checkbox",disabled:He},V.createElement("label",{className:pe,style:Object.assign(Object.assign({},ie==null?void 0:ie.style),O),onMouseEnter:A,onMouseLeave:$},V.createElement(N.Z,Object.assign({"aria-checked":Z},je,{prefixCls:Ue,className:ue,disabled:He,ref:Y})),g!==void 0&&V.createElement("span",null,g))))};var b=V.forwardRef(a),z=t(26407),E=t(2738),y=function(D,Y){var J={};for(var X in D)Object.prototype.hasOwnProperty.call(D,X)&&Y.indexOf(X)<0&&(J[X]=D[X]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,X=Object.getOwnPropertySymbols(D);U<X.length;U++)Y.indexOf(X[U])<0&&Object.prototype.propertyIsEnumerable.call(D,X[U])&&(J[X[U]]=D[X[U]]);return J};const I=(D,Y)=>{const{defaultValue:J,children:X,options:U=[],prefixCls:M,className:g,rootClassName:K,style:O,onChange:A}=D,$=y(D,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:i,direction:o}=V.useContext(C.E_),[p,F]=V.useState($.value||J||[]),[re,ie]=V.useState([]);V.useEffect(()=>{"value"in $&&F($.value||[])},[$.value]);const ne=V.useMemo(()=>U.map(H=>typeof H=="string"||typeof H=="number"?{label:H,value:H}:H),[U]),me=H=>{ie(L=>L.filter(R=>R!==H))},xe=H=>{ie(L=>[].concat((0,z.Z)(L),[H]))},He=H=>{const L=p.indexOf(H.value),R=(0,z.Z)(p);L===-1?R.push(H.value):R.splice(L,1),"value"in $||F(R),A==null||A(R.filter(ee=>re.includes(ee)).sort((ee,x)=>{const d=ne.findIndex(G=>G.value===ee),f=ne.findIndex(G=>G.value===x);return d-f}))},Pe=i("checkbox",M),Ue=`${Pe}-group`,[et,lt]=(0,h.ZP)(Pe),je=(0,E.Z)($,["value","disabled"]),pe=U.length?ne.map(H=>V.createElement(b,{prefixCls:Pe,key:H.value.toString(),disabled:"disabled"in H?H.disabled:$.disabled,value:H.value,checked:p.includes(H.value),onChange:H.onChange,className:`${Ue}-item`,style:H.style,title:H.title},H.label)):X,ue={toggleOption:He,value:p,disabled:$.disabled,name:$.name,registerValue:xe,cancelValue:me},Z=v()(Ue,{[`${Ue}-rtl`]:o==="rtl"},g,K,lt);return et(V.createElement("div",Object.assign({className:Z,style:O},je,{ref:Y}),V.createElement(e.Provider,{value:ue},pe)))},S=V.forwardRef(I);var c=V.memo(S);const s=b;s.Group=c,s.__ANT_CHECKBOX=!0;var w=s},98447:function(qe,ve,t){"use strict";t.d(ve,{C2:function(){return C}});var _=t(17313),v=t(37613),N=t(83116);const V=k=>{const{checkboxCls:l}=k,W=`${l}-wrapper`;return[{[`${l}-group`]:Object.assign(Object.assign({},(0,_.Wf)(k)),{display:"inline-flex",flexWrap:"wrap",columnGap:k.marginXS,[`> ${k.antCls}-row`]:{flex:1}}),[W]:Object.assign(Object.assign({},(0,_.Wf)(k)),{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}}}),[l]:Object.assign(Object.assign({},(0,_.Wf)(k)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:k.borderRadiusSM,alignSelf:"center",[`${l}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${l}-inner`]:Object.assign({},(0,_.oN)(k))},[`${l}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:k.checkboxSize,height:k.checkboxSize,direction:"ltr",backgroundColor:k.colorBgContainer,border:`${k.lineWidth}px ${k.lineType} ${k.colorBorder}`,borderRadius:k.borderRadiusSM,borderCollapse:"separate",transition:`all ${k.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:k.checkboxSize/14*5,height:k.checkboxSize/14*8,border:`${k.lineWidthBold}px solid ${k.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${k.motionDurationFast} ${k.motionEaseInBack}, opacity ${k.motionDurationFast}`}},"& + span":{paddingInlineStart:k.paddingXS,paddingInlineEnd:k.paddingXS}})},{[`
|
|
|
${W}:not(${W}-disabled),
|
|
|
${l}:not(${l}-disabled)
|
|
|
`]:{[`&:hover ${l}-inner`]:{borderColor:k.colorPrimary}},[`${W}:not(${W}-disabled)`]:{[`&:hover ${l}-checked:not(${l}-disabled) ${l}-inner`]:{backgroundColor:k.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${l}-checked:not(${l}-disabled):after`]:{borderColor:k.colorPrimaryHover}}},{[`${l}-checked`]:{[`${l}-inner`]:{backgroundColor:k.colorPrimary,borderColor:k.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${k.motionDurationMid} ${k.motionEaseOutBack} ${k.motionDurationFast}`}}},[`
|
|
|
${W}-checked:not(${W}-disabled),
|
|
|
${l}-checked:not(${l}-disabled)
|
|
|
`]:{[`&:hover ${l}-inner`]:{backgroundColor:k.colorPrimaryHover,borderColor:"transparent"}}},{[l]:{"&-indeterminate":{[`${l}-inner`]:{backgroundColor:k.colorBgContainer,borderColor:k.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:k.fontSizeLG/2,height:k.fontSizeLG/2,backgroundColor:k.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${W}-disabled`]:{cursor:"not-allowed"},[`${l}-disabled`]:{[`&, ${l}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${l}-inner`]:{background:k.colorBgContainerDisabled,borderColor:k.colorBorder,"&:after":{borderColor:k.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:k.colorTextDisabled},[`&${l}-indeterminate ${l}-inner::after`]:{background:k.colorTextDisabled}}}]};function C(k,l){const W=(0,v.TS)(l,{checkboxCls:`.${k}`,checkboxSize:l.controlInteractiveSize});return[V(W)]}ve.ZP=(0,N.Z)("Checkbox",(k,l)=>{let{prefixCls:W}=l;return[C(W,k)]})},93891:function(qe,ve,t){"use strict";var _=t(59301),v=t(36355),N=t(64165);const V=C=>{const{componentName:k}=C,{getPrefixCls:l}=(0,_.useContext)(v.E_),W=l("empty");switch(k){case"Table":case"List":return _.createElement(N.Z,{image:N.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return _.createElement(N.Z,{image:N.Z.PRESENTED_IMAGE_SIMPLE,className:`${W}-small`});default:return _.createElement(N.Z,null)}};ve.Z=V},91857:function(qe,ve,t){"use strict";var _=t(59301),v=t(38819),N=t(92310),V=t.n(N),C=t(31561),k=t(70425),l=t(18929),W=t(2738),e=t(79676),h=t(53487),m=t(92343),n=t(36355),r=t(20834),a=t(40875),u=t(88088),b=t(47211);const z=null,E=c=>{const{menu:s,arrow:w,prefixCls:D,children:Y,trigger:J,disabled:X,dropdownRender:U,getPopupContainer:M,overlayClassName:g,rootClassName:K,open:O,onOpenChange:A,visible:$,onVisibleChange:i,mouseEnterDelay:o=.15,mouseLeaveDelay:p=.1,autoAdjustOverflow:F=!0,placement:re="",overlay:ie,transitionName:ne}=c,{getPopupContainer:me,getPrefixCls:xe,direction:He}=_.useContext(n.E_),Pe=_.useMemo(()=>{const B=xe();return ne!==void 0?ne:re.includes("top")?`${B}-slide-down`:`${B}-slide-up`},[xe,re,ne]),Ue=_.useMemo(()=>re?re.includes("Center")?re.slice(0,re.indexOf("Center")):re:He==="rtl"?"bottomRight":"bottomLeft",[re,He]),et=xe("dropdown",D),[lt,je]=(0,b.Z)(et),[,pe]=(0,u.Z)(),ue=_.Children.only(Y),Z=(0,m.Tm)(ue,{className:V()(`${et}-trigger`,{[`${et}-rtl`]:He==="rtl"},ue.props.className),disabled:X}),H=X?[]:J;let L;H&&H.includes("contextMenu")&&(L=!0);const[R,ee]=(0,l.Z)(!1,{value:O!=null?O:$}),x=(0,k.useEvent)(B=>{A==null||A(B),i==null||i(B),ee(B)}),d=V()(g,K,je,{[`${et}-rtl`]:He==="rtl"}),f=(0,e.Z)({arrowPointAtCenter:typeof w=="object"&&w.pointAtCenter,autoAdjustOverflow:F,offset:pe.marginXXS,arrowWidth:w?pe.sizePopupArrow:0,borderRadius:pe.borderRadius}),G=_.useCallback(()=>{ee(!1)},[]),j=()=>{let B;return s!=null&&s.items?B=_.createElement(r.default,Object.assign({},s)):typeof ie=="function"?B=ie():B=ie,U&&(B=U(B)),B=_.Children.only(typeof B=="string"?_.createElement("span",null,B):B),_.createElement(a.J,{prefixCls:`${et}-menu`,expandIcon:_.createElement("span",{className:`${et}-menu-submenu-arrow`},_.createElement(v.Z,{className:`${et}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:G,validator:q=>{let{mode:de}=q}},B)};return lt(_.createElement(C.Z,Object.assign({alignPoint:L},(0,W.Z)(c,["rootClassName"]),{mouseEnterDelay:o,mouseLeaveDelay:p,visible:R,builtinPlacements:f,arrow:!!w,overlayClassName:d,prefixCls:et,getPopupContainer:M||me,transitionName:Pe,trigger:H,overlay:j,placement:Ue,onVisibleChange:x}),Z))};function y(c){return Object.assign(Object.assign({},c),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const I=(0,h.Z)(E,"dropdown",c=>c,y),S=c=>_.createElement(I,Object.assign({},c),_.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=S,ve.Z=E},38854:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return u}});var _=t(91857),v=t(92310),N=t.n(v),V=t(59301),C=t(18785),k=t(3113),l=t(36355),W=t(81327),e=t(33234),h=t(47211),m=function(b,z){var E={};for(var y in b)Object.prototype.hasOwnProperty.call(b,y)&&z.indexOf(y)<0&&(E[y]=b[y]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,y=Object.getOwnPropertySymbols(b);I<y.length;I++)z.indexOf(y[I])<0&&Object.prototype.propertyIsEnumerable.call(b,y[I])&&(E[y[I]]=b[y[I]]);return E};const n=b=>{const{getPopupContainer:z,getPrefixCls:E,direction:y}=V.useContext(l.E_),{prefixCls:I,type:S="default",danger:c,disabled:s,loading:w,onClick:D,htmlType:Y,children:J,className:X,menu:U,arrow:M,autoFocus:g,overlay:K,trigger:O,align:A,open:$,onOpenChange:i,placement:o,getPopupContainer:p,href:F,icon:re=V.createElement(C.Z,null),title:ie,buttonsRender:ne=j=>j,mouseEnterDelay:me,mouseLeaveDelay:xe,overlayClassName:He,overlayStyle:Pe,destroyPopupOnHide:Ue,dropdownRender:et}=b,lt=m(b,["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"]),je=E("dropdown",I),pe=`${je}-button`,[ue,Z]=(0,h.Z)(je),H={menu:U,arrow:M,autoFocus:g,align:A,disabled:s,trigger:s?[]:O,onOpenChange:i,getPopupContainer:p||z,mouseEnterDelay:me,mouseLeaveDelay:xe,overlayClassName:He,overlayStyle:Pe,destroyPopupOnHide:Ue,dropdownRender:et},{compactSize:L,compactItemClassnames:R}=(0,e.ri)(je,y),ee=N()(pe,R,X,Z);"overlay"in b&&(H.overlay=K),"open"in b&&(H.open=$),"placement"in b?H.placement=o:H.placement=y==="rtl"?"bottomLeft":"bottomRight";const x=V.createElement(k.ZP,{type:S,danger:c,disabled:s,loading:w,onClick:D,htmlType:Y,href:F,title:ie},J),d=V.createElement(k.ZP,{type:S,danger:c,icon:re}),[f,G]=ne([x,d]);return ue(V.createElement(W.Z.Compact,Object.assign({className:ee,size:L,block:!0},lt),f,V.createElement(_.Z,Object.assign({},H),G)))};n.__ANT_BUTTON=!0;var r=n;const a=_.Z;a.Button=r;var u=a},47211:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return m}});var _=t(17313),v=t(13826),N=t(92899),V=t(29878),C=t(19447),k=t(83116),l=t(37613),e=n=>{const{componentCls:r,menuCls:a,colorError:u,colorTextLightSolid:b}=n,z=`${a}-item`;return{[`${r}, ${r}-menu-submenu`]:{[`${a} ${z}`]:{[`&${z}-danger:not(${z}-disabled)`]:{color:u,"&:hover":{color:b,backgroundColor:u}}}}}};const h=n=>{const{componentCls:r,menuCls:a,zIndexPopup:u,dropdownArrowDistance:b,sizePopupArrow:z,antCls:E,iconCls:y,motionDurationMid:I,dropdownPaddingVertical:S,fontSize:c,dropdownEdgeChildPadding:s,colorTextDisabled:w,fontSizeIcon:D,controlPaddingHorizontal:Y,colorBgElevated:J}=n;return[{[r]:Object.assign(Object.assign({},(0,_.Wf)(n)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:u,display:"block","&::before":{position:"absolute",insetBlock:-b+z/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${y}-down, & > ${E}-btn-icon > ${y}-down`]:{fontSize:D}},[`${r}-wrap`]:{position:"relative",[`${E}-btn > ${y}-down`]:{fontSize:D},[`${y}-down::before`]:{transition:`transform ${I}`}},[`${r}-wrap-open`]:{[`${y}-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:v.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:v.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:v.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:v.ly}})},(0,C.ZP)(n,{colorBg:J,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${r} ${a}`]:{position:"relative",margin:0},[`${a}-submenu-popup`]:{position:"absolute",zIndex:u,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${r}, ${r}-menu-submenu`]:{[a]:Object.assign(Object.assign({padding:s,listStyleType:"none",backgroundColor:J,backgroundClip:"padding-box",borderRadius:n.borderRadiusLG,outline:"none",boxShadow:n.boxShadowSecondary},(0,_.Qy)(n)),{[`${a}-item-group-title`]:{padding:`${S}px ${Y}px`,color:n.colorTextDescription,transition:`all ${I}`},[`${a}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${a}-item-icon`]:{minWidth:c,marginInlineEnd:n.marginXS,fontSize:n.fontSizeSM},[`${a}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${I}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${a}-item, ${a}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${S}px ${Y}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,_.Qy)(n)),{"&-selected":{color:n.colorPrimary,backgroundColor:n.controlItemBgActive,"&:hover, &-active":{backgroundColor:n.controlItemBgActiveHover}},"&-disabled":{color:w,cursor:"not-allowed","&:hover":{color:w,backgroundColor:J,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:D,fontStyle:"normal"}}}),[`${a}-item-group-list`]:{margin:`0 ${n.marginXS}px`,padding:0,listStyle:"none"},[`${a}-submenu-title`]:{paddingInlineEnd:Y+n.fontSizeSM},[`${a}-submenu-vertical`]:{position:"relative"},[`${a}-submenu${a}-submenu-disabled ${r}-menu-submenu-title`]:{[`&, ${r}-menu-submenu-arrow-icon`]:{color:w,backgroundColor:J,cursor:"not-allowed"}},[`${a}-submenu-selected ${r}-menu-submenu-title`]:{color:n.colorPrimary}})}},[(0,v.oN)(n,"slide-up"),(0,v.oN)(n,"slide-down"),(0,N.Fm)(n,"move-up"),(0,N.Fm)(n,"move-down"),(0,V._y)(n,"zoom-big")]]};var m=(0,k.Z)("Dropdown",(n,r)=>{let{rootPrefixCls:a}=r;const{marginXXS:u,sizePopupArrow:b,controlHeight:z,fontSize:E,lineHeight:y,paddingXXS:I,componentCls:S,borderRadiusLG:c}=n,s=(z-E*y)/2,{dropdownArrowOffset:w}=(0,C.fS)({contentRadius:c}),D=(0,l.TS)(n,{menuCls:`${S}-menu`,rootPrefixCls:a,dropdownArrowDistance:b/2+u,dropdownArrowOffset:w,dropdownPaddingVertical:s,dropdownEdgeChildPadding:I});return[h(D),e(D)]},n=>({zIndexPopup:n.zIndexPopupBase+50}))},64165:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return I}});var _=t(92310),v=t.n(_),N=t(59301),V=t(36355),C=t(9763),k=t(64993),l=t(88088),e=()=>{const[,S]=(0,l.Z)(),s=new k.C(S.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return N.createElement("svg",{style:s,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},N.createElement("g",{fill:"none",fillRule:"evenodd"},N.createElement("g",{transform:"translate(24 31.67)"},N.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),N.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"}),N.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)"}),N.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"}),N.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"})),N.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"}),N.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},N.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),N.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},m=()=>{const[,S]=(0,l.Z)(),{colorFill:c,colorFillTertiary:s,colorFillQuaternary:w,colorBgContainer:D}=S,{borderColor:Y,shadowColor:J,contentColor:X}=(0,N.useMemo)(()=>({borderColor:new k.C(c).onBackground(D).toHexShortString(),shadowColor:new k.C(s).onBackground(D).toHexShortString(),contentColor:new k.C(w).onBackground(D).toHexShortString()}),[c,s,w,D]);return N.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},N.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},N.createElement("ellipse",{fill:J,cx:"32",cy:"33",rx:"32",ry:"7"}),N.createElement("g",{fillRule:"nonzero",stroke:Y},N.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"}),N.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:X}))))},n=t(83116),r=t(37613);const a=S=>{const{componentCls:c,margin:s,marginXS:w,marginXL:D,fontSize:Y,lineHeight:J}=S;return{[c]:{marginInline:w,fontSize:Y,lineHeight:J,textAlign:"center",[`${c}-image`]:{height:S.emptyImgHeight,marginBottom:w,opacity:S.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${c}-description`]:{color:S.colorText},[`${c}-footer`]:{marginTop:s},"&-normal":{marginBlock:D,color:S.colorTextDisabled,[`${c}-description`]:{color:S.colorTextDisabled},[`${c}-image`]:{height:S.emptyImgHeightMD}},"&-small":{marginBlock:w,color:S.colorTextDisabled,[`${c}-image`]:{height:S.emptyImgHeightSM}}}}};var u=(0,n.Z)("Empty",S=>{const{componentCls:c,controlHeightLG:s}=S,w=(0,r.TS)(S,{emptyImgCls:`${c}-img`,emptyImgHeight:s*2.5,emptyImgHeightMD:s,emptyImgHeightSM:s*.875});return[a(w)]}),b=function(S,c){var s={};for(var w in S)Object.prototype.hasOwnProperty.call(S,w)&&c.indexOf(w)<0&&(s[w]=S[w]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,w=Object.getOwnPropertySymbols(S);D<w.length;D++)c.indexOf(w[D])<0&&Object.prototype.propertyIsEnumerable.call(S,w[D])&&(s[w[D]]=S[w[D]]);return s};const z=N.createElement(e,null),E=N.createElement(m,null),y=S=>{var{className:c,rootClassName:s,prefixCls:w,image:D=z,description:Y,children:J,imageStyle:X,style:U}=S,M=b(S,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:g,direction:K,empty:O}=N.useContext(V.E_),A=g("empty",w),[$,i]=u(A),[o]=(0,C.Z)("Empty"),p=typeof Y!="undefined"?Y:o==null?void 0:o.description,F=typeof p=="string"?p:"empty";let re=null;return typeof D=="string"?re=N.createElement("img",{alt:F,src:D}):re=D,$(N.createElement("div",Object.assign({className:v()(i,A,O==null?void 0:O.className,{[`${A}-normal`]:D===E,[`${A}-rtl`]:K==="rtl"},c,s),style:Object.assign(Object.assign({},O==null?void 0:O.style),U)},M),N.createElement("div",{className:`${A}-image`,style:X},re),p&&N.createElement("div",{className:`${A}-description`},p),J&&N.createElement("div",{className:`${A}-footer`},J)))};y.PRESENTED_IMAGE_DEFAULT=z,y.PRESENTED_IMAGE_SIMPLE=E;var I=y},78241:function(qe,ve,t){"use strict";t.d(ve,{default:function(){return Ft}});var _=t(26407),v=t(92310),N=t.n(v),V=t(77900),C=t(59301),k=t(62892),l=t(32441);function W(ce){const[Be,ke]=C.useState(ce);return C.useEffect(()=>{const te=setTimeout(()=>{ke(ce)},ce.length?0:10);return()=>{clearTimeout(te)}},[ce]),Be}var e=t(17313),h=t(29878),m=t(8378),n=t(37613),r=t(83116),u=ce=>{const{componentCls:Be}=ce,ke=`${Be}-show-help`,te=`${Be}-show-help-item`;return{[ke]:{transition:`opacity ${ce.motionDurationSlow} ${ce.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[te]:{overflow:"hidden",transition:`height ${ce.motionDurationSlow} ${ce.motionEaseInOut},
|
|
|
opacity ${ce.motionDurationSlow} ${ce.motionEaseInOut},
|
|
|
transform ${ce.motionDurationSlow} ${ce.motionEaseInOut} !important`,[`&${te}-appear, &${te}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${te}-leave-active`]:{transform:"translateY(-5px)"}}}}};const b=ce=>({legend:{display:"block",width:"100%",marginBottom:ce.marginLG,padding:0,color:ce.colorTextDescription,fontSize:ce.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${ce.lineWidth}px ${ce.lineType} ${ce.colorBorder}`},label:{fontSize:ce.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${ce.controlOutlineWidth}px ${ce.controlOutline}`},output:{display:"block",paddingTop:15,color:ce.colorText,fontSize:ce.fontSize,lineHeight:ce.lineHeight}}),z=(ce,Be)=>{const{formItemCls:ke}=ce;return{[ke]:{[`${ke}-label > label`]:{height:Be},[`${ke}-control-input`]:{minHeight:Be}}}},E=ce=>{const{componentCls:Be}=ce;return{[ce.componentCls]:Object.assign(Object.assign(Object.assign({},(0,e.Wf)(ce)),b(ce)),{[`${Be}-text`]:{display:"inline-block",paddingInlineEnd:ce.paddingSM},"&-small":Object.assign({},z(ce,ce.controlHeightSM)),"&-large":Object.assign({},z(ce,ce.controlHeightLG))})}},y=ce=>{const{formItemCls:Be,iconCls:ke,componentCls:te,rootPrefixCls:ae,labelRequiredMarkColor:De,labelColor:$e,labelFontSize:st,labelHeight:Ve,labelColonMarginInlineStart:ct,labelColonMarginInlineEnd:Qe,itemMarginBottom:ft}=ce;return{[Be]:Object.assign(Object.assign({},(0,e.Wf)(ce)),{marginBottom:ft,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden.${ae}-row`]:{display:"none"},"&-has-warning":{[`${Be}-split`]:{color:ce.colorError}},"&-has-error":{[`${Be}-split`]:{color:ce.colorWarning}},[`${Be}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${ce.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Ve,color:$e,fontSize:st,[`> ${ke}`]:{fontSize:ce.fontSize,verticalAlign:"top"},[`&${Be}-required:not(${Be}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:ce.marginXXS,color:De,fontSize:ce.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${te}-hide-required-mark &`]:{display:"none"}},[`${Be}-optional`]:{display:"inline-block",marginInlineStart:ce.marginXXS,color:ce.colorTextDescription,[`${te}-hide-required-mark &`]:{display:"none"}},[`${Be}-tooltip`]:{color:ce.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:ce.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:ct,marginInlineEnd:Qe},[`&${Be}-no-colon::after`]:{content:'"\\a0"'}}},[`${Be}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${ae}-col-'"]):not([class*="' ${ae}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:ce.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Be]:{"&-explain, &-extra":{clear:"both",color:ce.colorTextDescription,fontSize:ce.fontSize,lineHeight:ce.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:ce.controlHeightSM,transition:`color ${ce.motionDurationMid} ${ce.motionEaseOut}`},"&-explain":{"&-error":{color:ce.colorError},"&-warning":{color:ce.colorWarning}}},[`&-with-help ${Be}-explain`]:{height:"auto",opacity:1},[`${Be}-feedback-icon`]:{fontSize:ce.fontSize,textAlign:"center",visibility:"visible",animationName:h.kr,animationDuration:ce.motionDurationMid,animationTimingFunction:ce.motionEaseOutBack,pointerEvents:"none","&-success":{color:ce.colorSuccess},"&-error":{color:ce.colorError},"&-warning":{color:ce.colorWarning},"&-validating":{color:ce.colorPrimary}}})}},I=ce=>{const{componentCls:Be,formItemCls:ke}=ce;return{[`${Be}-horizontal`]:{[`${ke}-label`]:{flexGrow:0},[`${ke}-control`]:{flex:"1 1 0",minWidth:0},[`${ke}-label[class$='-24'], ${ke}-label[class*='-24 ']`]:{[`& + ${ke}-control`]:{minWidth:"unset"}}}}},S=ce=>{const{componentCls:Be,formItemCls:ke}=ce;return{[`${Be}-inline`]:{display:"flex",flexWrap:"wrap",[ke]:{flex:"none",marginInlineEnd:ce.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${ke}-label,
|
|
|
> ${ke}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${ke}-label`]:{flex:"none"},[`${Be}-text`]:{display:"inline-block"},[`${ke}-has-feedback`]:{display:"inline-block"}}}}},c=ce=>({padding:ce.verticalLabelPadding,margin:ce.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),s=ce=>{const{componentCls:Be,formItemCls:ke,rootPrefixCls:te}=ce;return{[`${ke} ${ke}-label`]:c(ce),[Be]:{[ke]:{flexWrap:"wrap",[`${ke}-label, ${ke}-control`]:{[`&:not([class*=" ${te}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},w=ce=>{const{componentCls:Be,formItemCls:ke,rootPrefixCls:te}=ce;return{[`${Be}-vertical`]:{[ke]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${Be}-item-control`]:{width:"100%"}}},[`${Be}-vertical ${ke}-label,
|
|
|
.${te}-col-24${ke}-label,
|
|
|
.${te}-col-xl-24${ke}-label`]:c(ce),[`@media (max-width: ${ce.screenXSMax}px)`]:[s(ce),{[Be]:{[`.${te}-col-xs-24${ke}-label`]:c(ce)}}],[`@media (max-width: ${ce.screenSMMax}px)`]:{[Be]:{[`.${te}-col-sm-24${ke}-label`]:c(ce)}},[`@media (max-width: ${ce.screenMDMax}px)`]:{[Be]:{[`.${te}-col-md-24${ke}-label`]:c(ce)}},[`@media (max-width: ${ce.screenLGMax}px)`]:{[Be]:{[`.${te}-col-lg-24${ke}-label`]:c(ce)}}}},D=(ce,Be)=>(0,n.TS)(ce,{formItemCls:`${ce.componentCls}-item`,rootPrefixCls:Be});var Y=(0,r.Z)("Form",(ce,Be)=>{let{rootPrefixCls:ke}=Be;const te=D(ce,ke);return[E(te),y(te),u(te),I(te),S(te),w(te),(0,m.Z)(te),h.kr]},ce=>({labelRequiredMarkColor:ce.colorError,labelColor:ce.colorTextHeading,labelFontSize:ce.fontSize,labelHeight:ce.controlHeight,labelColonMarginInlineStart:ce.marginXXS/2,labelColonMarginInlineEnd:ce.marginXS,itemMarginBottom:ce.marginLG,verticalLabelPadding:`0 0 ${ce.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const J=[];function X(ce,Be,ke){let te=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof ce=="string"?ce:`${Be}-${te}`,error:ce,errorStatus:ke}}var M=ce=>{let{help:Be,helpStatus:ke,errors:te=J,warnings:ae=J,className:De,fieldId:$e,onVisibleChanged:st}=ce;const{prefixCls:Ve}=C.useContext(l.Rk),ct=`${Ve}-item-explain`,[,Qe]=Y(Ve),ft=(0,C.useMemo)(()=>(0,k.Z)(Ve),[Ve]),vt=W(te),Fe=W(ae),Le=C.useMemo(()=>Be!=null?[X(Be,"help",ke)]:[].concat((0,_.Z)(vt.map((tt,it)=>X(tt,"error","error",it))),(0,_.Z)(Fe.map((tt,it)=>X(tt,"warning","warning",it)))),[Be,ke,vt,Fe]),Je={};return $e&&(Je.id=`${$e}_help`),C.createElement(V.default,{motionDeadline:ft.motionDeadline,motionName:`${Ve}-show-help`,visible:!!Le.length,onVisibleChanged:st},tt=>{const{className:it,style:yt}=tt;return C.createElement("div",Object.assign({},Je,{className:N()(ct,it,De,Qe),style:yt,role:"alert"}),C.createElement(V.CSSMotionList,Object.assign({keys:Le},(0,k.Z)(Ve),{motionName:`${Ve}-show-help-item`,component:!1}),jt=>{const{key:St,error:Ge,errorStatus:ye,className:we,style:Ne}=jt;return C.createElement("div",{key:St,className:N()(we,{[`${ct}-${ye}`]:ye}),style:Ne},Ge)}))})},g=t(95013),K=t(36355),O=t(1684),A=t(52946),$=t(19716),i=t(16722);const o=["parentNode"],p="form_item";function F(ce){return ce===void 0||ce===!1?[]:Array.isArray(ce)?ce:[ce]}function re(ce,Be){if(!ce.length)return;const ke=ce.join("_");return Be?`${Be}_${ke}`:o.includes(ke)?`${p}_${ke}`:ke}function ie(ce,Be,ke,te,ae,De){let $e=te;return De!==void 0?$e=De:ke.validating?$e="validating":ce.length?$e="error":Be.length?$e="warning":(ke.touched||ae&&ke.validated)&&($e="success"),$e}function ne(ce){return F(ce).join("_")}function me(ce){const[Be]=(0,g.useForm)(),ke=C.useRef({}),te=C.useMemo(()=>ce!=null?ce:Object.assign(Object.assign({},Be),{__INTERNAL__:{itemRef:ae=>De=>{const $e=ne(ae);De?ke.current[$e]=De:delete ke.current[$e]}},scrollToField:function(ae){let De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const $e=F(ae),st=re($e,te.__INTERNAL__.name),Ve=st?document.getElementById(st):null;Ve&&(0,i.Z)(Ve,Object.assign({scrollMode:"if-needed",block:"nearest"},De))},getFieldInstance:ae=>{const De=ne(ae);return ke.current[De]}}),[ce,Be]);return[te]}var xe=t(28726),He=function(ce,Be){var ke={};for(var te in ce)Object.prototype.hasOwnProperty.call(ce,te)&&Be.indexOf(te)<0&&(ke[te]=ce[te]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(ce);ae<te.length;ae++)Be.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(ce,te[ae])&&(ke[te[ae]]=ce[te[ae]]);return ke};const Pe=(ce,Be)=>{const ke=C.useContext(O.Z),{getPrefixCls:te,direction:ae,form:De}=C.useContext(K.E_),{prefixCls:$e,className:st,rootClassName:Ve,size:ct,disabled:Qe=ke,form:ft,colon:vt,labelAlign:Fe,labelWrap:Le,labelCol:Je,wrapperCol:tt,hideRequiredMark:it,layout:yt="horizontal",scrollToFirstError:jt,requiredMark:St,onFinishFailed:Ge,name:ye,style:we,feedbackIcons:Ne}=ce,Me=He(ce,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),Ae=(0,$.Z)(ct),Ke=C.useContext(xe.Z),Ze=(0,C.useMemo)(()=>St!==void 0?St:De&&De.requiredMark!==void 0?De.requiredMark:!it,[it,St,De]),ot=vt!=null?vt:De==null?void 0:De.colon,mt=te("form",$e),[gt,Bt]=Y(mt),Wt=N()(mt,`${mt}-${yt}`,{[`${mt}-hide-required-mark`]:Ze===!1,[`${mt}-rtl`]:ae==="rtl",[`${mt}-${Ae}`]:Ae},Bt,De==null?void 0:De.className,st,Ve),[an]=me(ft),{__INTERNAL__:Ct}=an;Ct.name=ye;const ht=(0,C.useMemo)(()=>({name:ye,labelAlign:Fe,labelCol:Je,labelWrap:Le,wrapperCol:tt,vertical:yt==="vertical",colon:ot,requiredMark:Ze,itemRef:Ct.itemRef,form:an,feedbackIcons:Ne}),[ye,Fe,Je,tt,yt,ot,Ze,an,Ne]);C.useImperativeHandle(Be,()=>an);const qt=(En,Ht)=>{if(En){let Jt={block:"nearest"};typeof En=="object"&&(Jt=En),an.scrollToField(Ht,Jt)}},Xt=En=>{if(Ge==null||Ge(En),En.errorFields.length){const Ht=En.errorFields[0].name;if(jt!==void 0){qt(jt,Ht);return}De&&De.scrollToFirstError!==void 0&&qt(De.scrollToFirstError,Ht)}};return gt(C.createElement(O.n,{disabled:Qe},C.createElement(A.q,{size:Ae},C.createElement(l.RV,Object.assign({},{validateMessages:Ke}),C.createElement(l.q3.Provider,{value:ht},C.createElement(g.default,Object.assign({id:ye},Me,{name:ye,onFinishFailed:Xt,form:an,style:Object.assign(Object.assign({},De==null?void 0:De.style),we),className:Wt})))))))};var et=C.forwardRef(Pe),lt=t(41799),je=t(8654),pe=t(92343),ue=t(11592);function Z(ce){if(typeof ce=="function")return ce;const Be=(0,ue.Z)(ce);return Be.length<=1?Be[0]:Be}const H=()=>{const{status:ce,errors:Be=[],warnings:ke=[]}=(0,C.useContext)(l.aM);return{status:ce,errors:Be,warnings:ke}};H.Context=l.aM;var L=H,R=t(16089);function ee(ce){const[Be,ke]=C.useState(ce),te=(0,C.useRef)(null),ae=(0,C.useRef)([]),De=(0,C.useRef)(!1);C.useEffect(()=>(De.current=!1,()=>{De.current=!0,R.Z.cancel(te.current),te.current=null}),[]);function $e(st){De.current||(te.current===null&&(ae.current=[],te.current=(0,R.Z)(()=>{te.current=null,ke(Ve=>{let ct=Ve;return ae.current.forEach(Qe=>{ct=Qe(ct)}),ct})})),ae.current.push(st))}return[Be,$e]}function x(){const{itemRef:ce}=C.useContext(l.q3),Be=C.useRef({});function ke(te,ae){const De=ae&&typeof ae=="object"&&ae.ref,$e=te.join("_");return(Be.current.name!==$e||Be.current.originRef!==De)&&(Be.current.name=$e,Be.current.originRef=De,Be.current.ref=(0,je.sQ)(ce(te),De)),Be.current.ref}return ke}var d=t(29194),f=t(34280),G=t(2738),j=t(27382),B=t(37028);const q=ce=>{const{formItemCls:Be}=ce;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Be}-control`]:{display:"flex"}}}};var de=(0,r.b)(["Form","item-item"],(ce,Be)=>{let{rootPrefixCls:ke}=Be;const te=D(ce,ke);return[q(te)]}),le=ce=>{const{prefixCls:Be,status:ke,wrapperCol:te,children:ae,errors:De,warnings:$e,_internalItemRender:st,extra:Ve,help:ct,fieldId:Qe,marginBottom:ft,onErrorVisibleChanged:vt}=ce,Fe=`${Be}-item`,Le=C.useContext(l.q3),Je=te||Le.wrapperCol||{},tt=N()(`${Fe}-control`,Je.className),it=C.useMemo(()=>Object.assign({},Le),[Le]);delete it.labelCol,delete it.wrapperCol;const yt=C.createElement("div",{className:`${Fe}-control-input`},C.createElement("div",{className:`${Fe}-control-input-content`},ae)),jt=C.useMemo(()=>({prefixCls:Be,status:ke}),[Be,ke]),St=ft!==null||De.length||$e.length?C.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},C.createElement(l.Rk.Provider,{value:jt},C.createElement(M,{fieldId:Qe,errors:De,warnings:$e,help:ct,helpStatus:ke,className:`${Fe}-explain-connected`,onVisibleChanged:vt})),!!ft&&C.createElement("div",{style:{width:0,height:ft}})):null,Ge={};Qe&&(Ge.id=`${Qe}_extra`);const ye=Ve?C.createElement("div",Object.assign({},Ge,{className:`${Fe}-extra`}),Ve):null,we=st&&st.mark==="pro_table_render"&&st.render?st.render(ce,{input:yt,errorList:St,extra:ye}):C.createElement(C.Fragment,null,yt,St,ye);return C.createElement(l.q3.Provider,{value:it},C.createElement(B.Z,Object.assign({},Je,{className:tt}),we),C.createElement(de,{prefixCls:Be}))},_e=t(61485),Ee=t(31724),ge=t(9763),Ce=t(6848),Oe=function(ce,Be){var ke={};for(var te in ce)Object.prototype.hasOwnProperty.call(ce,te)&&Be.indexOf(te)<0&&(ke[te]=ce[te]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(ce);ae<te.length;ae++)Be.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(ce,te[ae])&&(ke[te[ae]]=ce[te[ae]]);return ke};function Se(ce){return ce?typeof ce=="object"&&!C.isValidElement(ce)?ce:{title:ce}:null}var Ye=ce=>{let{prefixCls:Be,label:ke,htmlFor:te,labelCol:ae,labelAlign:De,colon:$e,required:st,requiredMark:Ve,tooltip:ct}=ce;var Qe;const[ft]=(0,ge.Z)("Form"),{vertical:vt,labelAlign:Fe,labelCol:Le,labelWrap:Je,colon:tt}=C.useContext(l.q3);if(!ke)return null;const it=ae||Le||{},yt=De||Fe,jt=`${Be}-item-label`,St=N()(jt,yt==="left"&&`${jt}-left`,it.className,{[`${jt}-wrap`]:!!Je});let Ge=ke;const ye=$e===!0||tt!==!1&&$e!==!1;ye&&!vt&&typeof ke=="string"&&ke.trim()!==""&&(Ge=ke.replace(/[:|:]\s*$/,""));const Ne=Se(ct);if(Ne){const{icon:Ze=C.createElement(_e.Z,null)}=Ne,ot=Oe(Ne,["icon"]),mt=C.createElement(Ce.Z,Object.assign({},ot),C.cloneElement(Ze,{className:`${Be}-item-tooltip`,title:""}));Ge=C.createElement(C.Fragment,null,Ge,mt)}const Me=Ve==="optional",Ae=typeof Ve=="function";Ae?Ge=Ve(Ge,{required:!!st}):Me&&!st&&(Ge=C.createElement(C.Fragment,null,Ge,C.createElement("span",{className:`${Be}-item-optional`,title:""},(ft==null?void 0:ft.optional)||((Qe=Ee.Z.Form)===null||Qe===void 0?void 0:Qe.optional))));const Ke=N()({[`${Be}-item-required`]:st,[`${Be}-item-required-mark-optional`]:Me||Ae,[`${Be}-item-no-colon`]:!ye});return C.createElement(B.Z,Object.assign({},it,{className:St}),C.createElement("label",{htmlFor:te,className:Ke,title:typeof ke=="string"?ke:""},Ge))},pt=t(29679),dt=t(19248),At=t(96512),Rt=t(58617);const Zt={success:pt.Z,warning:At.Z,error:dt.Z,validating:Rt.Z};function Nt(ce){let{children:Be,errors:ke,warnings:te,hasFeedback:ae,validateStatus:De,prefixCls:$e,meta:st,noStyle:Ve}=ce;const ct=`${$e}-item`,{feedbackIcons:Qe}=C.useContext(l.q3),ft=ie(ke,te,st,null,!!ae,De),{isFormItemInput:vt,status:Fe}=C.useContext(l.aM),Le=C.useMemo(()=>{var Je;let tt;if(ae){const jt=ae!==!0&&ae.icons||Qe,St=ft&&((Je=jt==null?void 0:jt({status:ft,errors:ke,warnings:te}))===null||Je===void 0?void 0:Je[ft]),Ge=ft&&Zt[ft];tt=St!==!1&&Ge?C.createElement("span",{className:N()(`${ct}-feedback-icon`,`${ct}-feedback-icon-${ft}`)},St||C.createElement(Ge,null)):null}let it=!0,yt=ft||"";return Ve&&(it=vt,yt=(ft!=null?ft:Fe)||""),{status:yt,errors:ke,warnings:te,hasFeedback:!!ae,feedbackIcon:tt,isFormItemInput:it}},[ft,ae,Ve,vt,Fe]);return C.createElement(l.aM.Provider,{value:Le},Be)}var sn=function(ce,Be){var ke={};for(var te in ce)Object.prototype.hasOwnProperty.call(ce,te)&&Be.indexOf(te)<0&&(ke[te]=ce[te]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(ce);ae<te.length;ae++)Be.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(ce,te[ae])&&(ke[te[ae]]=ce[te[ae]]);return ke};function Lt(ce){const{prefixCls:Be,className:ke,rootClassName:te,style:ae,help:De,errors:$e,warnings:st,validateStatus:Ve,meta:ct,hasFeedback:Qe,hidden:ft,children:vt,fieldId:Fe,required:Le,isRequired:Je,onSubItemMetaChange:tt}=ce,it=sn(ce,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),yt=`${Be}-item`,{requiredMark:jt}=C.useContext(l.q3),St=C.useRef(null),Ge=W($e),ye=W(st),we=De!=null,Ne=!!(we||$e.length||st.length),Me=!!St.current&&(0,d.Z)(St.current),[Ae,Ke]=C.useState(null);(0,f.Z)(()=>{if(Ne&&St.current){const Bt=getComputedStyle(St.current);Ke(parseInt(Bt.marginBottom,10))}},[Ne,Me]);const Ze=Bt=>{Bt||Ke(null)},mt=function(){let Bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Wt=Bt?Ge:ct.errors,an=Bt?ye:ct.warnings;return ie(Wt,an,ct,"",!!Qe,Ve)}(),gt=N()(yt,ke,te,{[`${yt}-with-help`]:we||Ge.length||ye.length,[`${yt}-has-feedback`]:mt&&Qe,[`${yt}-has-success`]:mt==="success",[`${yt}-has-warning`]:mt==="warning",[`${yt}-has-error`]:mt==="error",[`${yt}-is-validating`]:mt==="validating",[`${yt}-hidden`]:ft});return C.createElement("div",{className:gt,style:ae,ref:St},C.createElement(j.Z,Object.assign({className:`${yt}-row`},(0,G.Z)(it,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),C.createElement(Ye,Object.assign({htmlFor:Fe},ce,{requiredMark:jt,required:Le!=null?Le:Je,prefixCls:Be})),C.createElement(le,Object.assign({},ce,ct,{errors:Ge,warnings:ye,prefixCls:Be,status:mt,help:De,marginBottom:Ae,onErrorVisibleChanged:Ze}),C.createElement(l.qI.Provider,{value:tt},C.createElement(Nt,{prefixCls:Be,meta:ct,errors:ct.errors,warnings:ct.warnings,hasFeedback:Qe,validateStatus:mt},vt)))),!!Ae&&C.createElement("div",{className:`${yt}-margin-offset`,style:{marginBottom:-Ae}}))}const rt="__SPLIT__",Vt=null,_t=C.memo(ce=>{let{children:Be}=ce;return Be},(ce,Be)=>ce.value===Be.value&&ce.update===Be.update&&ce.childProps.length===Be.childProps.length&&ce.childProps.every((ke,te)=>ke===Be.childProps[te]));function Et(ce){return ce!=null}function rn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function hn(ce){const{name:Be,noStyle:ke,className:te,dependencies:ae,prefixCls:De,shouldUpdate:$e,rules:st,children:Ve,required:ct,label:Qe,messageVariables:ft,trigger:vt="onChange",validateTrigger:Fe,hidden:Le,help:Je}=ce,{getPrefixCls:tt}=C.useContext(K.E_),{name:it}=C.useContext(l.q3),yt=Z(Ve),jt=typeof yt=="function",St=C.useContext(l.qI),{validateTrigger:Ge}=C.useContext(g.FieldContext),ye=Fe!==void 0?Fe:Ge,we=Et(Be),Ne=tt("form",De),[Me,Ae]=Y(Ne),Ke=C.useContext(g.ListContext),Ze=C.useRef(),[ot,mt]=ee({}),[gt,Bt]=(0,lt.Z)(()=>rn()),Wt=Ht=>{const Jt=Ke==null?void 0:Ke.getKey(Ht.name);if(Bt(Ht.destroy?rn():Ht,!0),ke&&Je!==!1&&St){let ln=Ht.name;if(Ht.destroy)ln=Ze.current||ln;else if(Jt!==void 0){const[Ut,Dn]=Jt;ln=[Ut].concat((0,_.Z)(Dn)),Ze.current=ln}St(Ht,ln)}},an=(Ht,Jt)=>{mt(ln=>{const Ut=Object.assign({},ln),Gn=[].concat((0,_.Z)(Ht.name.slice(0,-1)),(0,_.Z)(Jt)).join(rt);return Ht.destroy?delete Ut[Gn]:Ut[Gn]=Ht,Ut})},[Ct,ht]=C.useMemo(()=>{const Ht=(0,_.Z)(gt.errors),Jt=(0,_.Z)(gt.warnings);return Object.values(ot).forEach(ln=>{Ht.push.apply(Ht,(0,_.Z)(ln.errors||[])),Jt.push.apply(Jt,(0,_.Z)(ln.warnings||[]))}),[Ht,Jt]},[ot,gt.errors,gt.warnings]),qt=x();function Xt(Ht,Jt,ln){return ke&&!Le?C.createElement(Nt,{prefixCls:Ne,hasFeedback:ce.hasFeedback,validateStatus:ce.validateStatus,meta:gt,errors:Ct,warnings:ht,noStyle:!0},Ht):C.createElement(Lt,Object.assign({key:"row"},ce,{className:N()(te,Ae),prefixCls:Ne,fieldId:Jt,isRequired:ln,errors:Ct,warnings:ht,meta:gt,onSubItemMetaChange:an}),Ht)}if(!we&&!jt&&!ae)return Me(Xt(yt));let En={};return typeof Qe=="string"?En.label=Qe:Be&&(En.label=String(Be)),ft&&(En=Object.assign(Object.assign({},En),ft)),Me(C.createElement(g.Field,Object.assign({},ce,{messageVariables:En,trigger:vt,validateTrigger:ye,onMetaChange:Wt}),(Ht,Jt,ln)=>{const Ut=F(Be).length&&Jt?Jt.name:[],Dn=re(Ut,it),Gn=ct!==void 0?ct:!!(st&&st.some(Dt=>{if(Dt&&typeof Dt=="object"&&Dt.required&&!Dt.warningOnly)return!0;if(typeof Dt=="function"){const xn=Dt(ln);return xn&&xn.required&&!xn.warningOnly}return!1})),zt=Object.assign({},Ht);let Gt=null;if(Array.isArray(yt)&&we)Gt=yt;else if(!(jt&&(!($e||ae)||we))){if(!(ae&&!jt&&!we))if((0,pe.l$)(yt)){const Dt=Object.assign(Object.assign({},yt.props),zt);if(Dt.id||(Dt.id=Dn),Je||Ct.length>0||ht.length>0||ce.extra){const gn=[];(Je||Ct.length>0)&&gn.push(`${Dn}_help`),ce.extra&&gn.push(`${Dn}_extra`),Dt["aria-describedby"]=gn.join(" ")}Ct.length>0&&(Dt["aria-invalid"]="true"),Gn&&(Dt["aria-required"]="true"),(0,je.Yr)(yt)&&(Dt.ref=qt(Ut,yt)),new Set([].concat((0,_.Z)(F(vt)),(0,_.Z)(F(ye)))).forEach(gn=>{Dt[gn]=function(){for(var _n,zn,tr,Vn,Wn,or=arguments.length,xt=new Array(or),Pt=0;Pt<or;Pt++)xt[Pt]=arguments[Pt];(tr=zt[gn])===null||tr===void 0||(_n=tr).call.apply(_n,[zt].concat(xt)),(Wn=(Vn=yt.props)[gn])===null||Wn===void 0||(zn=Wn).call.apply(zn,[Vn].concat(xt))}});const wn=[Dt["aria-required"],Dt["aria-invalid"],Dt["aria-describedby"]];Gt=C.createElement(_t,{value:zt[ce.valuePropName||"value"],update:yt,childProps:wn},(0,pe.Tm)(yt,Dt))}else jt&&($e||ae)&&!we?Gt=yt(ln):Gt=yt}return Xt(Gt,Dn,Gn)}))}const Pn=hn;Pn.useStatus=L;var Sn=Pn,$n=function(ce,Be){var ke={};for(var te in ce)Object.prototype.hasOwnProperty.call(ce,te)&&Be.indexOf(te)<0&&(ke[te]=ce[te]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,te=Object.getOwnPropertySymbols(ce);ae<te.length;ae++)Be.indexOf(te[ae])<0&&Object.prototype.propertyIsEnumerable.call(ce,te[ae])&&(ke[te[ae]]=ce[te[ae]]);return ke},Nn=ce=>{var{prefixCls:Be,children:ke}=ce,te=$n(ce,["prefixCls","children"]);const{getPrefixCls:ae}=C.useContext(K.E_),De=ae("form",Be),$e=C.useMemo(()=>({prefixCls:De,status:"error"}),[De]);return C.createElement(g.List,Object.assign({},te),(st,Ve,ct)=>C.createElement(l.Rk.Provider,{value:$e},ke(st.map(Qe=>Object.assign(Object.assign({},Qe),{fieldKey:Qe.key})),Ve,{errors:ct.errors,warnings:ct.warnings})))};function Zn(){const{form:ce}=(0,C.useContext)(l.q3);return ce}const Mt=et;Mt.Item=Sn,Mt.List=Nn,Mt.ErrorList=M,Mt.useForm=me,Mt.useFormInstance=Zn,Mt.useWatch=g.useWatch,Mt.Provider=l.RV,Mt.create=()=>{};var Ft=Mt},8628:function(qe,ve,t){"use strict";var _=t(59301),v=t(34280),N=t(56762),V=t(69507);function C(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const l=(0,_.useRef)({}),W=(0,N.Z)(),e=(0,V.ZP)();return(0,v.Z)(()=>{const h=e.subscribe(m=>{l.current=m,k&&W()});return()=>e.unsubscribe(h)},[]),l.current}ve.Z=C},9432:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return y},n:function(){return z}});var _=t(19248),v=t(92310),N=t.n(v),V=t(93681),C=t(8654),k=t(59301),l=t(19080),W=t(36355),e=t(1684),h=t(19716),m=t(32441),n=t(33234),r=t(59412),a=t(9937);function u(I){return!!(I.prefix||I.suffix||I.allowClear)}var b=function(I,S){var c={};for(var s in I)Object.prototype.hasOwnProperty.call(I,s)&&S.indexOf(s)<0&&(c[s]=I[s]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,s=Object.getOwnPropertySymbols(I);w<s.length;w++)S.indexOf(s[w])<0&&Object.prototype.propertyIsEnumerable.call(I,s[w])&&(c[s[w]]=I[s[w]]);return c};function z(I,S){if(!I)return;I.focus(S);const{cursor:c}=S||{};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 y=(0,k.forwardRef)((I,S)=>{var c;const{prefixCls:s,bordered:w=!0,status:D,size:Y,disabled:J,onBlur:X,onFocus:U,suffix:M,allowClear:g,addonAfter:K,addonBefore:O,className:A,style:$,styles:i,rootClassName:o,onChange:p,classNames:F}=I,re=b(I,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:ie,direction:ne,input:me}=k.useContext(W.E_),xe=ie("input",s),He=(0,k.useRef)(null),[Pe,Ue]=(0,a.ZP)(xe),{compactSize:et,compactItemClassnames:lt}=(0,n.ri)(xe,ne),je=(0,h.Z)(de=>{var oe;return(oe=Y!=null?Y:et)!==null&&oe!==void 0?oe:de}),pe=k.useContext(e.Z),ue=J!=null?J:pe,{status:Z,hasFeedback:H,feedbackIcon:L}=(0,k.useContext)(m.aM),R=(0,l.F)(Z,D),ee=u(I)||!!H,x=(0,k.useRef)(ee);(0,k.useEffect)(()=>{var de;ee&&x.current,x.current=ee},[ee]);const d=(0,r.Z)(He,!0),f=de=>{d(),X==null||X(de)},G=de=>{d(),U==null||U(de)},j=de=>{d(),p==null||p(de)},B=(H||M)&&k.createElement(k.Fragment,null,M,H&&L);let q;return typeof g=="object"&&(g!=null&&g.clearIcon)?q=g:g&&(q={clearIcon:k.createElement(_.Z,null)}),Pe(k.createElement(V.default,Object.assign({ref:(0,C.sQ)(S,He),prefixCls:xe,autoComplete:me==null?void 0:me.autoComplete},re,{disabled:ue,onBlur:f,onFocus:G,style:Object.assign(Object.assign({},me==null?void 0:me.style),$),styles:Object.assign(Object.assign({},me==null?void 0:me.styles),i),suffix:B,allowClear:q,className:N()(A,o,lt,me==null?void 0:me.className),onChange:j,addonAfter:K&&k.createElement(n.BR,null,k.createElement(m.Ux,{override:!0,status:!0},K)),addonBefore:O&&k.createElement(n.BR,null,k.createElement(m.Ux,{override:!0,status:!0},O)),classNames:Object.assign(Object.assign(Object.assign({},F),me==null?void 0:me.classNames),{input:N()({[`${xe}-sm`]:je==="small",[`${xe}-lg`]:je==="large",[`${xe}-rtl`]:ne==="rtl",[`${xe}-borderless`]:!w},!ee&&(0,l.Z)(xe,R),F==null?void 0:F.input,(c=me==null?void 0:me.classNames)===null||c===void 0?void 0:c.input,Ue)}),classes:{affixWrapper:N()({[`${xe}-affix-wrapper-sm`]:je==="small",[`${xe}-affix-wrapper-lg`]:je==="large",[`${xe}-affix-wrapper-rtl`]:ne==="rtl",[`${xe}-affix-wrapper-borderless`]:!w},(0,l.Z)(`${xe}-affix-wrapper`,R,H),Ue),wrapper:N()({[`${xe}-group-rtl`]:ne==="rtl"},Ue),group:N()({[`${xe}-group-wrapper-sm`]:je==="small",[`${xe}-group-wrapper-lg`]:je==="large",[`${xe}-group-wrapper-rtl`]:ne==="rtl",[`${xe}-group-wrapper-disabled`]:ue},(0,l.Z)(`${xe}-group-wrapper`,R,H),Ue)}})))})},1643:function(qe,ve,t){"use strict";var _=t(19248),v=t(92310),N=t.n(v),V=t(9296),C=t(59301),k=t(19080),l=t(36355),W=t(1684),e=t(19716),h=t(32441),m=t(9432),n=t(9937),r=function(u,b){var z={};for(var E in u)Object.prototype.hasOwnProperty.call(u,E)&&b.indexOf(E)<0&&(z[E]=u[E]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,E=Object.getOwnPropertySymbols(u);y<E.length;y++)b.indexOf(E[y])<0&&Object.prototype.propertyIsEnumerable.call(u,E[y])&&(z[E[y]]=u[E[y]]);return z};const a=(0,C.forwardRef)((u,b)=>{const{prefixCls:z,bordered:E=!0,size:y,disabled:I,status:S,allowClear:c,showCount:s,classNames:w,rootClassName:D,className:Y}=u,J=r(u,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:X,direction:U}=C.useContext(l.E_),M=(0,e.Z)(y),g=C.useContext(W.Z),K=I!=null?I:g,{status:O,hasFeedback:A,feedbackIcon:$}=C.useContext(h.aM),i=(0,k.F)(O,S),o=C.useRef(null);C.useImperativeHandle(b,()=>{var ne;return{resizableTextArea:(ne=o.current)===null||ne===void 0?void 0:ne.resizableTextArea,focus:me=>{var xe,He;(0,m.n)((He=(xe=o.current)===null||xe===void 0?void 0:xe.resizableTextArea)===null||He===void 0?void 0:He.textArea,me)},blur:()=>{var me;return(me=o.current)===null||me===void 0?void 0:me.blur()}}});const p=X("input",z);let F;typeof c=="object"&&(c!=null&&c.clearIcon)?F=c:c&&(F={clearIcon:C.createElement(_.Z,null)});const[re,ie]=(0,n.ZP)(p);return re(C.createElement(V.default,Object.assign({},J,{disabled:K,allowClear:F,className:N()(Y,D),classes:{affixWrapper:N()(`${p}-textarea-affix-wrapper`,{[`${p}-affix-wrapper-rtl`]:U==="rtl",[`${p}-affix-wrapper-borderless`]:!E,[`${p}-affix-wrapper-sm`]:M==="small",[`${p}-affix-wrapper-lg`]:M==="large",[`${p}-textarea-show-count`]:s},(0,k.Z)(`${p}-affix-wrapper`,i),ie)},classNames:Object.assign(Object.assign({},w),{textarea:N()({[`${p}-borderless`]:!E,[`${p}-sm`]:M==="small",[`${p}-lg`]:M==="large"},(0,k.Z)(p,i),ie,w==null?void 0:w.textarea)}),prefixCls:p,suffix:A&&C.createElement("span",{className:`${p}-textarea-suffix`},$),showCount:s,ref:o})))});ve.Z=a},59412:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return v}});var _=t(59301);function v(N,V){const C=(0,_.useRef)([]),k=()=>{C.current.push(setTimeout(()=>{var l,W,e,h;!((l=N.current)===null||l===void 0)&&l.input&&((W=N.current)===null||W===void 0?void 0:W.input.getAttribute("type"))==="password"&&(!((e=N.current)===null||e===void 0)&&e.input.hasAttribute("value"))&&((h=N.current)===null||h===void 0||h.input.removeAttribute("value"))}))};return(0,_.useEffect)(()=>(V&&k(),()=>C.current.forEach(l=>{l&&clearTimeout(l)})),[]),k}},92832:function(qe,ve,t){"use strict";t.d(ve,{default:function(){return M}});var _=t(92310),v=t.n(_),N=t(59301),V=t(36355),C=t(32441),k=t(9937),W=g=>{const{getPrefixCls:K,direction:O}=(0,N.useContext)(V.E_),{prefixCls:A,className:$}=g,i=K("input-group",A),o=K("input"),[p,F]=(0,k.ZP)(o),re=v()(i,{[`${i}-lg`]:g.size==="large",[`${i}-sm`]:g.size==="small",[`${i}-compact`]:g.compact,[`${i}-rtl`]:O==="rtl"},F,$),ie=(0,N.useContext)(C.aM),ne=(0,N.useMemo)(()=>Object.assign(Object.assign({},ie),{isFormItemInput:!1}),[ie]);return p(N.createElement("span",{className:re,style:g.style,onMouseEnter:g.onMouseEnter,onMouseLeave:g.onMouseLeave,onFocus:g.onFocus,onBlur:g.onBlur},N.createElement(C.aM.Provider,{value:ne},g.children)))},e=t(9432),h=t(73331),m=t(15277),n=t(2738),r=t(8654),a=t(59412),u=function(g,K){var O={};for(var A in g)Object.prototype.hasOwnProperty.call(g,A)&&K.indexOf(A)<0&&(O[A]=g[A]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,A=Object.getOwnPropertySymbols(g);$<A.length;$++)K.indexOf(A[$])<0&&Object.prototype.propertyIsEnumerable.call(g,A[$])&&(O[A[$]]=g[A[$]]);return O};const b=g=>g?N.createElement(m.Z,null):N.createElement(h.Z,null),z={click:"onClick",hover:"onMouseOver"};var y=N.forwardRef((g,K)=>{const{visibilityToggle:O=!0}=g,A=typeof O=="object"&&O.visible!==void 0,[$,i]=(0,N.useState)(()=>A?O.visible:!1),o=(0,N.useRef)(null);N.useEffect(()=>{A&&i(O.visible)},[A,O]);const p=(0,a.Z)(o),F=()=>{const{disabled:ue}=g;ue||($&&p(),i(Z=>{var H;const L=!Z;return typeof O=="object"&&((H=O.onVisibleChange)===null||H===void 0||H.call(O,L)),L}))},re=ue=>{const{action:Z="click",iconRender:H=b}=g,L=z[Z]||"",R=H($),ee={[L]:F,className:`${ue}-icon`,key:"passwordIcon",onMouseDown:x=>{x.preventDefault()},onMouseUp:x=>{x.preventDefault()}};return N.cloneElement(N.isValidElement(R)?R:N.createElement("span",null,R),ee)},{className:ie,prefixCls:ne,inputPrefixCls:me,size:xe}=g,He=u(g,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Pe}=N.useContext(V.E_),Ue=Pe("input",me),et=Pe("input-password",ne),lt=O&&re(et),je=v()(et,ie,{[`${et}-${xe}`]:!!xe}),pe=Object.assign(Object.assign({},(0,n.Z)(He,["suffix","iconRender","visibilityToggle"])),{type:$?"text":"password",className:je,prefixCls:Ue,suffix:lt});return xe&&(pe.size=xe),N.createElement(e.Z,Object.assign({ref:(0,r.sQ)(K,o)},pe))}),I=t(47472),S=t(92343),c=t(3113),s=t(19716),w=t(33234),D=function(g,K){var O={};for(var A in g)Object.prototype.hasOwnProperty.call(g,A)&&K.indexOf(A)<0&&(O[A]=g[A]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,A=Object.getOwnPropertySymbols(g);$<A.length;$++)K.indexOf(A[$])<0&&Object.prototype.propertyIsEnumerable.call(g,A[$])&&(O[A[$]]=g[A[$]]);return O},J=N.forwardRef((g,K)=>{const{prefixCls:O,inputPrefixCls:A,className:$,size:i,suffix:o,enterButton:p=!1,addonAfter:F,loading:re,disabled:ie,onSearch:ne,onChange:me,onCompositionStart:xe,onCompositionEnd:He}=g,Pe=D(g,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Ue,direction:et}=N.useContext(V.E_),lt=N.useRef(!1),je=Ue("input-search",O),pe=Ue("input",A),{compactSize:ue}=(0,w.ri)(je,et),Z=(0,s.Z)(le=>{var _e;return(_e=i!=null?i:ue)!==null&&_e!==void 0?_e:le}),H=N.useRef(null),L=le=>{le&&le.target&&le.type==="click"&&ne&&ne(le.target.value,le,{source:"clear"}),me&&me(le)},R=le=>{var _e;document.activeElement===((_e=H.current)===null||_e===void 0?void 0:_e.input)&&le.preventDefault()},ee=le=>{var _e,Ee;ne&&ne((Ee=(_e=H.current)===null||_e===void 0?void 0:_e.input)===null||Ee===void 0?void 0:Ee.value,le,{source:"input"})},x=le=>{lt.current||re||ee(le)},d=typeof p=="boolean"?N.createElement(I.Z,null):null,f=`${je}-button`;let G;const j=p||{},B=j.type&&j.type.__ANT_BUTTON===!0;B||j.type==="button"?G=(0,S.Tm)(j,Object.assign({onMouseDown:R,onClick:le=>{var _e,Ee;(Ee=(_e=j==null?void 0:j.props)===null||_e===void 0?void 0:_e.onClick)===null||Ee===void 0||Ee.call(_e,le),ee(le)},key:"enterButton"},B?{className:f,size:Z}:{})):G=N.createElement(c.ZP,{className:f,type:p?"primary":void 0,size:Z,disabled:ie,key:"enterButton",onMouseDown:R,onClick:ee,loading:re,icon:d},p),F&&(G=[G,(0,S.Tm)(F,{key:"addonAfter"})]);const q=v()(je,{[`${je}-rtl`]:et==="rtl",[`${je}-${Z}`]:!!Z,[`${je}-with-button`]:!!p},$),de=le=>{lt.current=!0,xe==null||xe(le)},oe=le=>{lt.current=!1,He==null||He(le)};return N.createElement(e.Z,Object.assign({ref:(0,r.sQ)(H,K),onPressEnter:x},Pe,{size:Z,onCompositionStart:de,onCompositionEnd:oe,prefixCls:pe,addonAfter:G,suffix:o,onChange:L,className:q,disabled:ie}))}),X=t(1643);const U=e.Z;U.Group=W,U.Search=J,U.TextArea=X.Z,U.Password=y;var M=U},9937:function(qe,ve,t){"use strict";t.d(ve,{M1:function(){return l},TM:function(){return S},Xy:function(){return W},bi:function(){return m},e5:function(){return I},ik:function(){return n},nz:function(){return C},pU:function(){return k},s7:function(){return r},x0:function(){return h}});var _=t(17313),v=t(74207),N=t(37613),V=t(83116);const C=c=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:c,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),k=c=>({borderColor:c.hoverBorderColor}),l=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({},k((0,N.TS)(c,{hoverBorderColor:c.colorBorder})))}),e=c=>{const{paddingBlockLG:s,fontSizeLG:w,lineHeightLG:D,borderRadiusLG:Y,paddingInlineLG:J}=c;return{padding:`${s}px ${J}px`,fontSize:w,lineHeight:D,borderRadius:Y}},h=c=>({padding:`${c.paddingBlockSM}px ${c.paddingInlineSM}px`,borderRadius:c.borderRadiusSM}),m=(c,s)=>{const{componentCls:w,colorError:D,colorWarning:Y,errorActiveShadow:J,warningActiveShadow:X,colorErrorBorderHover:U,colorWarningBorderHover:M}=c;return{[`&-status-error:not(${s}-disabled):not(${s}-borderless)${s}`]:{borderColor:D,"&:hover":{borderColor:U},"&:focus, &-focused":Object.assign({},l((0,N.TS)(c,{activeBorderColor:D,activeShadow:J}))),[`${w}-prefix, ${w}-suffix`]:{color:D}},[`&-status-warning:not(${s}-disabled):not(${s}-borderless)${s}`]:{borderColor:Y,"&:hover":{borderColor:M},"&:focus, &-focused":Object.assign({},l((0,N.TS)(c,{activeBorderColor:Y,activeShadow:X}))),[`${w}-prefix, ${w}-suffix`]:{color:Y}}}},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}`},C(c.colorTextPlaceholder)),{"&:hover":Object.assign({},k(c)),"&:focus, &-focused":Object.assign({},l(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:w}=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 ${w}-select-single ${w}-select-selector`]:{height:c.controlHeightLG},[`&-sm ${w}-select-single ${w}-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,[`${w}-select`]:{margin:`-${c.paddingBlock+1}px -${c.paddingInline}px`,[`&${w}-select-single:not(${w}-select-customize-input)`]:{[`${w}-select-selector`]:{backgroundColor:"inherit",border:`${c.lineWidth}px ${c.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${w}-select-selector`]:{color:c.colorPrimary}}},[`${w}-cascader-picker`]:{margin:`-9px -${c.paddingInline}px`,backgroundColor:"transparent",[`${w}-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,[`${w}-select ${w}-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,[`${w}-select ${w}-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,_.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,
|
|
|
& > ${w}-picker-range
|
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-c.lineWidth,borderInlineEndWidth:c.lineWidth},[`${s}`]:{float:"none"},[`& > ${w}-select > ${w}-select-selector,
|
|
|
& > ${w}-select-auto-complete ${s},
|
|
|
& > ${w}-cascader-picker ${s},
|
|
|
& > ${s}-group-wrapper ${s}`]:{borderInlineEndWidth:c.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${w}-select-focused`]:{zIndex:1},[`& > ${w}-select > ${w}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
|
& > ${w}-select:first-child > ${w}-select-selector,
|
|
|
& > ${w}-select-auto-complete:first-child ${s},
|
|
|
& > ${w}-cascader-picker:first-child ${s}`]:{borderStartStartRadius:c.borderRadius,borderEndStartRadius:c.borderRadius},[`& > *:last-child,
|
|
|
& > ${w}-select:last-child > ${w}-select-selector,
|
|
|
& > ${w}-cascader-picker:last-child ${s},
|
|
|
& > ${w}-cascader-picker-focused:last-child ${s}`]:{borderInlineEndWidth:c.lineWidth,borderStartEndRadius:c.borderRadius,borderEndEndRadius:c.borderRadius},[`& > ${w}-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}}}})}},a=c=>{const{componentCls:s,controlHeightSM:w,lineWidth:D}=c,J=(w-D*2-16)/2;return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,_.Wf)(c)),n(c)),m(c,s)),{'&[type="color"]':{height:c.controlHeight,[`&${s}-lg`]:{height:c.controlHeightLG},[`&${s}-sm`]:{height:w,paddingTop:J,paddingBottom:J}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},u=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`}}}},b=c=>{const{componentCls:s,inputAffixPadding:w,colorTextDescription:D,motionDurationSlow:Y,colorIcon:J,colorIconHover:X,iconCls:U}=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({},k(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:D},"&-show-count-has-suffix":{marginInlineEnd:c.paddingXXS},"&-prefix":{marginInlineEnd:w},"&-suffix":{marginInlineStart:w}}}),u(c)),{[`${U}${s}-password-icon`]:{color:J,cursor:"pointer",transition:`all ${Y}`,"&:hover":{color:X}}}),m(c,`${s}-affix-wrapper`))}},z=c=>{const{componentCls:s,colorError:w,colorWarning:D,borderRadiusLG:Y,borderRadiusSM:J}=c;return{[`${s}-group`]:Object.assign(Object.assign(Object.assign({},(0,_.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:Y,fontSize:c.fontSizeLG}},"&-sm":{[`${s}-group-addon`]:{borderRadius:J}},"&-status-error":{[`${s}-group-addon`]:{color:w,borderColor:w}},"&-status-warning":{[`${s}-group-addon`]:{color:D,borderColor:D}},"&-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:w}=c,D=`${s}-search`;return{[D]:{[`${s}`]:{"&:hover, &:focus":{borderColor:c.colorPrimaryHover,[`+ ${s}-group-addon ${D}-button:not(${w}-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,[`${D}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:c.borderRadius,borderEndEndRadius:c.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${D}-button:not(${w}-btn-primary)`]:{color:c.colorTextDescription,"&:hover":{color:c.colorPrimaryHover},"&:active":{color:c.colorPrimaryActive},[`&${w}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${D}-button`]:{height:c.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${D}-button`]:{height:c.controlHeightLG},[`&-small ${D}-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}}}}},y=c=>{const{componentCls:s,paddingLG:w}=c,D=`${s}-textarea`;return{[D]:{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:w}},[`&-affix-wrapper${D}-has-feedback`]:{[`${s}`]:{paddingInlineEnd:w}},[`&-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},[`${D}-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,N.TS)(c,{inputAffixPadding:c.paddingXXS})}const S=c=>{const{controlHeight:s,fontSize:w,lineHeight:D,lineWidth:Y,controlHeightSM:J,controlHeightLG:X,fontSizeLG:U,lineHeightLG:M,paddingSM:g,controlPaddingHorizontalSM:K,controlPaddingHorizontal:O,colorFillAlter:A,colorPrimaryHover:$,controlOutlineWidth:i,controlOutline:o,colorErrorOutline:p,colorWarningOutline:F}=c;return{paddingBlock:Math.max(Math.round((s-w*D)/2*10)/10-Y,3),paddingBlockSM:Math.max(Math.round((J-w*D)/2*10)/10-Y,0),paddingBlockLG:Math.ceil((X-U*M)/2*10)/10-Y,paddingInline:g-Y,paddingInlineSM:K-Y,paddingInlineLG:O-Y,addonBg:A,activeBorderColor:$,hoverBorderColor:$,activeShadow:`0 0 0 ${i}px ${o}`,errorActiveShadow:`0 0 0 ${i}px ${p}`,warningActiveShadow:`0 0 0 ${i}px ${F}`}};ve.ZP=(0,V.Z)("Input",c=>{const s=(0,N.TS)(c,I(c));return[a(s),y(s),b(s),z(s),E(s),(0,v.c)(s)]},S)},45818:function(qe,ve,t){"use strict";t.d(ve,{D:function(){return I},Z:function(){return s}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(D,Y){return v.createElement(C.Z,(0,_.Z)({},D,{ref:Y,icon:V}))},l=v.forwardRef(k),W=l,e=t(33853),h=t(38819),m=t(92310),n=t.n(m),r=t(2738),u=w=>!isNaN(parseFloat(w))&&isFinite(w),b=t(36355),z=t(84966),E=function(w,D){var Y={};for(var J in w)Object.prototype.hasOwnProperty.call(w,J)&&D.indexOf(J)<0&&(Y[J]=w[J]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,J=Object.getOwnPropertySymbols(w);X<J.length;X++)D.indexOf(J[X])<0&&Object.prototype.propertyIsEnumerable.call(w,J[X])&&(Y[J[X]]=w[J[X]]);return Y};const y={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},I=v.createContext({}),S=(()=>{let w=0;return function(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return w+=1,`${D}${w}`}})();var s=v.forwardRef((w,D)=>{const{prefixCls:Y,className:J,trigger:X,children:U,defaultCollapsed:M=!1,theme:g="dark",style:K={},collapsible:O=!1,reverseArrow:A=!1,width:$=200,collapsedWidth:i=80,zeroWidthTriggerStyle:o,breakpoint:p,onCollapse:F,onBreakpoint:re}=w,ie=E(w,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ne}=(0,v.useContext)(z.Gs),[me,xe]=(0,v.useState)("collapsed"in w?w.collapsed:M),[He,Pe]=(0,v.useState)(!1);(0,v.useEffect)(()=>{"collapsed"in w&&xe(w.collapsed)},[w.collapsed]);const Ue=(Z,H)=>{"collapsed"in w||xe(Z),F==null||F(Z,H)},et=(0,v.useRef)();et.current=Z=>{Pe(Z.matches),re==null||re(Z.matches),me!==Z.matches&&Ue(Z.matches,"responsive")},(0,v.useEffect)(()=>{function Z(L){return et.current(L)}let H;if(typeof window!="undefined"){const{matchMedia:L}=window;if(L&&p&&p in y){H=L(`(max-width: ${y[p]})`);try{H.addEventListener("change",Z)}catch(R){H.addListener(Z)}Z(H)}}return()=>{try{H==null||H.removeEventListener("change",Z)}catch(L){H==null||H.removeListener(Z)}}},[p]),(0,v.useEffect)(()=>{const Z=S("ant-sider-");return ne.addSider(Z),()=>ne.removeSider(Z)},[]);const lt=()=>{Ue(!me,"clickTrigger")},{getPrefixCls:je}=(0,v.useContext)(b.E_),pe=()=>{const Z=je("layout-sider",Y),H=(0,r.Z)(ie,["collapsed"]),L=me?i:$,R=u(L)?`${L}px`:String(L),ee=parseFloat(String(i||0))===0?v.createElement("span",{onClick:lt,className:n()(`${Z}-zero-width-trigger`,`${Z}-zero-width-trigger-${A?"right":"left"}`),style:o},X||v.createElement(W,null)):null,f={expanded:A?v.createElement(h.Z,null):v.createElement(e.Z,null),collapsed:A?v.createElement(e.Z,null):v.createElement(h.Z,null)}[me?"collapsed":"expanded"],G=X!==null?ee||v.createElement("div",{className:`${Z}-trigger`,onClick:lt,style:{width:R}},X||f):null,j=Object.assign(Object.assign({},K),{flex:`0 0 ${R}`,maxWidth:R,minWidth:R,width:R}),B=n()(Z,`${Z}-${g}`,{[`${Z}-collapsed`]:!!me,[`${Z}-has-trigger`]:O&&X!==null&&!ee,[`${Z}-below`]:!!He,[`${Z}-zero-width`]:parseFloat(R)===0},J);return v.createElement("aside",Object.assign({className:B},H,{style:j,ref:D}),v.createElement("div",{className:`${Z}-children`},U),O||He&&ee?G:null)},ue=v.useMemo(()=>({siderCollapsed:me}),[me]);return v.createElement(I.Provider,{value:ue},pe())})},84966:function(qe,ve,t){"use strict";t.d(ve,{VY:function(){return I},$_:function(){return y},h4:function(){return E},Gs:function(){return r},ZP:function(){return S}});var _=t(26407),v=t(92310),N=t.n(v),V=t(2738),C=t(59301),k=t(36355),l=t(83116),e=c=>{const{componentCls:s,bodyBg:w,lightSiderBg:D,lightTriggerBg:Y,lightTriggerColor:J}=c;return{[`${s}-sider-light`]:{background:D,[`${s}-sider-trigger`]:{color:J,background:Y},[`${s}-sider-zero-width-trigger`]:{color:J,background:Y,border:`1px solid ${w}`,borderInlineStart:0}}}};const h=c=>{const{antCls:s,componentCls:w,colorText:D,triggerColor:Y,footerBg:J,triggerBg:X,headerHeight:U,headerPadding:M,headerColor:g,footerPadding:K,triggerHeight:O,zeroTriggerHeight:A,zeroTriggerWidth:$,motionDurationMid:i,motionDurationSlow:o,fontSize:p,borderRadius:F,bodyBg:re,headerBg:ie,siderBg:ne}=c;return{[w]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:re,"&, *":{boxSizing:"border-box"},[`&${w}-has-sider`]:{flexDirection:"row",[`> ${w}, > ${w}-content`]:{width:0}},[`${w}-header, &${w}-footer`]:{flex:"0 0 auto"},[`${w}-sider`]:{position:"relative",minWidth:0,background:ne,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:Y,lineHeight:`${O}px`,textAlign:"center",background:X,cursor:"pointer",transition:`all ${i}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:U,insetInlineEnd:-$,zIndex:1,width:$,height:A,color:Y,fontSize:c.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ne,borderStartStartRadius:0,borderStartEndRadius:F,borderEndEndRadius:F,borderEndStartRadius:0,cursor:"pointer",transition:`background ${o} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${o}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-$,borderStartStartRadius:F,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:F}}}}},e(c)),{"&-rtl":{direction:"rtl"}}),[`${w}-header`]:{height:U,padding:M,color:g,lineHeight:`${U}px`,background:ie,[`${s}-menu`]:{lineHeight:"inherit"}},[`${w}-footer`]:{padding:K,color:D,fontSize:p,background:J},[`${w}-content`]:{flex:"auto",minHeight:0}}};var m=(0,l.Z)("Layout",c=>[h(c)],c=>{const{colorBgLayout:s,controlHeight:w,controlHeightLG:D,colorText:Y,controlHeightSM:J,marginXXS:X,colorTextLightSolid:U,colorBgContainer:M}=c,g=D*1.25;return{colorBgHeader:"#001529",colorBgBody:s,colorBgTrigger:"#002140",bodyBg:s,headerBg:"#001529",headerHeight:w*2,headerPadding:`0 ${g}px`,headerColor:Y,footerPadding:`${J}px ${g}px`,footerBg:s,siderBg:"#001529",triggerHeight:D+X*2,triggerBg:"#002140",triggerColor:U,zeroTriggerWidth:D,zeroTriggerHeight:D,lightSiderBg:M,lightTriggerBg:M,lightTriggerColor:Y}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),n=function(c,s){var w={};for(var D in c)Object.prototype.hasOwnProperty.call(c,D)&&s.indexOf(D)<0&&(w[D]=c[D]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,D=Object.getOwnPropertySymbols(c);Y<D.length;Y++)s.indexOf(D[Y])<0&&Object.prototype.propertyIsEnumerable.call(c,D[Y])&&(w[D[Y]]=c[D[Y]]);return w};const r=C.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function a(c){let{suffixCls:s,tagName:w,displayName:D}=c;return Y=>C.forwardRef((X,U)=>C.createElement(Y,Object.assign({ref:U,suffixCls:s,tagName:w},X)))}const u=C.forwardRef((c,s)=>{const{prefixCls:w,suffixCls:D,className:Y,tagName:J}=c,X=n(c,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:U}=C.useContext(k.E_),M=U("layout",w),[g,K]=m(M),O=D?`${M}-${D}`:M;return g(C.createElement(J,Object.assign({className:N()(w||O,Y,K),ref:s},X)))}),b=C.forwardRef((c,s)=>{const{direction:w}=C.useContext(k.E_),[D,Y]=C.useState([]),{prefixCls:J,className:X,rootClassName:U,children:M,hasSider:g,tagName:K,style:O}=c,A=n(c,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),$=(0,V.Z)(A,["suffixCls"]),{getPrefixCls:i,layout:o}=C.useContext(k.E_),p=i("layout",J),[F,re]=m(p),ie=N()(p,{[`${p}-has-sider`]:typeof g=="boolean"?g:D.length>0,[`${p}-rtl`]:w==="rtl"},o==null?void 0:o.className,X,U,re),ne=C.useMemo(()=>({siderHook:{addSider:me=>{Y(xe=>[].concat((0,_.Z)(xe),[me]))},removeSider:me=>{Y(xe=>xe.filter(He=>He!==me))}}}),[]);return F(C.createElement(r.Provider,{value:ne},C.createElement(K,Object.assign({ref:s,className:ie,style:Object.assign(Object.assign({},o==null?void 0:o.style),O)},$),M)))}),z=a({tagName:"div",displayName:"Layout"})(b),E=a({suffixCls:"header",tagName:"header",displayName:"Header"})(u),y=a({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(u),I=a({suffixCls:"content",tagName:"main",displayName:"Content"})(u);var S=z},40875:function(qe,ve,t){"use strict";t.d(ve,{J:function(){return k}});var _=t(59301),v=t(33234),N=t(70425),V=function(l,W){var e={};for(var h in l)Object.prototype.hasOwnProperty.call(l,h)&&W.indexOf(h)<0&&(e[h]=l[h]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,h=Object.getOwnPropertySymbols(l);m<h.length;m++)W.indexOf(h[m])<0&&Object.prototype.propertyIsEnumerable.call(l,h[m])&&(e[h[m]]=l[h[m]]);return e};const C=_.createContext(null),k=_.forwardRef((l,W)=>{const{children:e}=l,h=V(l,["children"]),m=_.useContext(C),n=_.useMemo(()=>Object.assign(Object.assign({},m),h),[m,h.prefixCls,h.mode,h.selectable]);return _.createElement(C.Provider,{value:n},_.createElement(v.BR,null,(0,N.supportNodeRef)(e)?_.cloneElement(e,{ref:W}):e))});ve.Z=C},20834:function(qe,ve,t){"use strict";t.d(ve,{default:function(){return ue}});var _=t(15285),v=t(59301),N=t(45818),V=t(92310),C=t.n(V),k=t(36355),l=function(Z,H){var L={};for(var R in Z)Object.prototype.hasOwnProperty.call(Z,R)&&H.indexOf(R)<0&&(L[R]=Z[R]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,R=Object.getOwnPropertySymbols(Z);ee<R.length;ee++)H.indexOf(R[ee])<0&&Object.prototype.propertyIsEnumerable.call(Z,R[ee])&&(L[R[ee]]=Z[R[ee]]);return L},e=Z=>{const{prefixCls:H,className:L,dashed:R}=Z,ee=l(Z,["prefixCls","className","dashed"]),{getPrefixCls:x}=v.useContext(k.E_),d=x("menu",H),f=C()({[`${d}-item-divider-dashed`]:!!R},L);return v.createElement(_.iz,Object.assign({className:f},ee))},h=t(11592),m=t(2738),n=t(6848),r=t(92343),u=(0,v.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),z=Z=>{var H;const{className:L,children:R,icon:ee,title:x,danger:d}=Z,{prefixCls:f,firstLevel:G,direction:j,disableMenuItemTitleTooltip:B,inlineCollapsed:q}=v.useContext(u),de=Ce=>{const Oe=v.createElement("span",{className:`${f}-title-content`},R);return(!ee||(0,r.l$)(R)&&R.type==="span")&&R&&Ce&&G&&typeof R=="string"?v.createElement("div",{className:`${f}-inline-collapsed-noicon`},R.charAt(0)):Oe},{siderCollapsed:oe}=v.useContext(N.D);let le=x;typeof x=="undefined"?le=G?R:"":x===!1&&(le="");const _e={title:le};!oe&&!q&&(_e.title=null,_e.open=!1);const Ee=(0,h.Z)(R).length;let ge=v.createElement(_.ck,Object.assign({},(0,m.Z)(Z,["title","icon","danger"]),{className:C()({[`${f}-item-danger`]:d,[`${f}-item-only-child`]:(ee?Ee+1:Ee)===1},L),title:typeof x=="string"?x:void 0}),(0,r.Tm)(ee,{className:C()((0,r.l$)(ee)?(H=ee.props)===null||H===void 0?void 0:H.className:"",`${f}-item-icon`)}),de(q));return B||(ge=v.createElement(n.Z,Object.assign({},_e,{placement:j==="rtl"?"left":"right",overlayClassName:`${f}-inline-collapsed-tooltip`}),ge)),ge},y=Z=>{var H;const{popupClassName:L,icon:R,title:ee,theme:x}=Z,d=v.useContext(u),{prefixCls:f,inlineCollapsed:G,theme:j}=d,B=(0,_.Xl)();let q;if(!R)q=G&&!B.length&&ee&&typeof ee=="string"?v.createElement("div",{className:`${f}-inline-collapsed-noicon`},ee.charAt(0)):v.createElement("span",{className:`${f}-title-content`},ee);else{const oe=(0,r.l$)(ee)&&ee.type==="span";q=v.createElement(v.Fragment,null,(0,r.Tm)(R,{className:C()((0,r.l$)(R)?(H=R.props)===null||H===void 0?void 0:H.className:"",`${f}-item-icon`)}),oe?ee:v.createElement("span",{className:`${f}-title-content`},ee))}const de=v.useMemo(()=>Object.assign(Object.assign({},d),{firstLevel:!1}),[d]);return v.createElement(u.Provider,{value:de},v.createElement(_.Wd,Object.assign({},(0,m.Z)(Z,["icon"]),{title:q,popupClassName:C()(f,L,`${f}-${x||j}`)})))},I=t(18785),S=t(70425),c=t(62892),s=t(40875),w=function(Z,H){var L={};for(var R in Z)Object.prototype.hasOwnProperty.call(Z,R)&&H.indexOf(R)<0&&(L[R]=Z[R]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,R=Object.getOwnPropertySymbols(Z);ee<R.length;ee++)H.indexOf(R[ee])<0&&Object.prototype.propertyIsEnumerable.call(Z,R[ee])&&(L[R[ee]]=Z[R[ee]]);return L};function D(Z){return(Z||[]).map((H,L)=>{if(H&&typeof H=="object"){const R=H,{label:ee,children:x,key:d,type:f}=R,G=w(R,["label","children","key","type"]),j=d!=null?d:`tmp-${L}`;return x||f==="group"?f==="group"?v.createElement(_.BW,Object.assign({key:j},G,{title:ee}),D(x)):v.createElement(y,Object.assign({key:j},G,{title:ee}),D(x)):f==="divider"?v.createElement(e,Object.assign({key:j},G)):v.createElement(z,Object.assign({key:j},G),ee)}return null}).filter(H=>H)}function Y(Z){return v.useMemo(()=>Z&&D(Z),[Z])}var J=t(64993),X=t(17313),U=t(8378),M=t(13826),g=t(29878),K=t(83116),O=t(37613),$=Z=>{const{componentCls:H,motionDurationSlow:L,horizontalLineHeight:R,colorSplit:ee,lineWidth:x,lineType:d,itemPaddingInline:f}=Z;return{[`${H}-horizontal`]:{lineHeight:R,border:0,borderBottom:`${x}px ${d} ${ee}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${H}-item, ${H}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:f},[`> ${H}-item:hover,
|
|
|
> ${H}-item-active,
|
|
|
> ${H}-submenu ${H}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${H}-item, ${H}-submenu-title`]:{transition:[`border-color ${L}`,`background ${L}`].join(",")},[`${H}-submenu-arrow`]:{display:"none"}}}},o=Z=>{let{componentCls:H,menuArrowOffset:L}=Z;return{[`${H}-rtl`]:{direction:"rtl"},[`${H}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${H}-rtl${H}-vertical,
|
|
|
${H}-submenu-rtl ${H}-vertical`]:{[`${H}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${L})`},"&::after":{transform:`rotate(45deg) translateY(${L})`}}}}};const p=Z=>Object.assign({},(0,X.oN)(Z));var re=(Z,H)=>{const{componentCls:L,itemColor:R,itemSelectedColor:ee,groupTitleColor:x,itemBg:d,subMenuItemBg:f,itemSelectedBg:G,activeBarHeight:j,activeBarWidth:B,activeBarBorderWidth:q,motionDurationSlow:de,motionEaseInOut:oe,motionEaseOut:le,itemPaddingInline:_e,motionDurationMid:Ee,itemHoverColor:ge,lineType:Ce,colorSplit:Oe,itemDisabledColor:Se,dangerItemColor:Xe,dangerItemHoverColor:Ye,dangerItemSelectedColor:pt,dangerItemActiveBg:dt,dangerItemSelectedBg:At,itemHoverBg:Rt,itemActiveBg:Zt,menuSubMenuBg:Nt,horizontalItemSelectedColor:sn,horizontalItemSelectedBg:Lt,horizontalItemBorderRadius:rt,horizontalItemHoverBg:Vt,popupBg:_t}=Z;return{[`${L}-${H}, ${L}-${H} > ${L}`]:{color:R,background:d,[`&${L}-root:focus-visible`]:Object.assign({},p(Z)),[`${L}-item-group-title`]:{color:x},[`${L}-submenu-selected`]:{[`> ${L}-submenu-title`]:{color:ee}},[`${L}-item-disabled, ${L}-submenu-disabled`]:{color:`${Se} !important`},[`${L}-item:not(${L}-item-selected):not(${L}-submenu-selected)`]:{[`&:hover, > ${L}-submenu-title:hover`]:{color:ge}},[`&:not(${L}-horizontal)`]:{[`${L}-item:not(${L}-item-selected)`]:{"&:hover":{backgroundColor:Rt},"&:active":{backgroundColor:Zt}},[`${L}-submenu-title`]:{"&:hover":{backgroundColor:Rt},"&:active":{backgroundColor:Zt}}},[`${L}-item-danger`]:{color:Xe,[`&${L}-item:hover`]:{[`&:not(${L}-item-selected):not(${L}-submenu-selected)`]:{color:Ye}},[`&${L}-item:active`]:{background:dt}},[`${L}-item a`]:{"&, &:hover":{color:"inherit"}},[`${L}-item-selected`]:{color:ee,[`&${L}-item-danger`]:{color:pt},"a, a:hover":{color:"inherit"}},[`& ${L}-item-selected`]:{backgroundColor:G,[`&${L}-item-danger`]:{backgroundColor:At}},[`${L}-item, ${L}-submenu-title`]:{[`&:not(${L}-item-disabled):focus-visible`]:Object.assign({},p(Z))},[`&${L}-submenu > ${L}`]:{backgroundColor:Nt},[`&${L}-popup > ${L}`]:{backgroundColor:_t},[`&${L}-horizontal`]:Object.assign(Object.assign({},H==="dark"?{borderBottom:0}:{}),{[`> ${L}-item, > ${L}-submenu`]:{top:q,marginTop:-q,marginBottom:0,borderRadius:rt,"&::after":{position:"absolute",insetInline:_e,bottom:0,borderBottom:`${j}px solid transparent`,transition:`border-color ${de} ${oe}`,content:'""'},"&:hover, &-active, &-open":{background:Vt,"&::after":{borderBottomWidth:j,borderBottomColor:sn}},"&-selected":{color:sn,backgroundColor:Lt,"&:hover":{backgroundColor:Lt},"&::after":{borderBottomWidth:j,borderBottomColor:sn}}}}),[`&${L}-root`]:{[`&${L}-inline, &${L}-vertical`]:{borderInlineEnd:`${q}px ${Ce} ${Oe}`}},[`&${L}-inline`]:{[`${L}-sub${L}-inline`]:{background:f},[`${L}-item, ${L}-submenu-title`]:q&&B?{width:`calc(100% + ${q}px)`}:{},[`${L}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${B}px solid ${ee}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ee} ${le}`,`opacity ${Ee} ${le}`].join(","),content:'""'},[`&${L}-item-danger`]:{"&::after":{borderInlineEndColor:pt}}},[`${L}-selected, ${L}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ee} ${oe}`,`opacity ${Ee} ${oe}`].join(",")}}}}}};const ie=Z=>{const{componentCls:H,itemHeight:L,itemMarginInline:R,padding:ee,menuArrowSize:x,marginXS:d,itemMarginBlock:f}=Z,G=ee+x+d;return{[`${H}-item`]:{position:"relative",overflow:"hidden"},[`${H}-item, ${H}-submenu-title`]:{height:L,lineHeight:`${L}px`,paddingInline:ee,overflow:"hidden",textOverflow:"ellipsis",marginInline:R,marginBlock:f,width:`calc(100% - ${R*2}px)`},[`> ${H}-item,
|
|
|
> ${H}-submenu > ${H}-submenu-title`]:{height:L,lineHeight:`${L}px`},[`${H}-item-group-list ${H}-submenu-title,
|
|
|
${H}-submenu-title`]:{paddingInlineEnd:G}}};var me=Z=>{const{componentCls:H,iconCls:L,itemHeight:R,colorTextLightSolid:ee,dropdownWidth:x,controlHeightLG:d,motionDurationMid:f,motionEaseOut:G,paddingXL:j,itemMarginInline:B,fontSizeLG:q,motionDurationSlow:de,paddingXS:oe,boxShadowSecondary:le,collapsedWidth:_e,collapsedIconSize:Ee}=Z,ge={height:R,lineHeight:`${R}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[H]:{"&-inline, &-vertical":Object.assign({[`&${H}-root`]:{boxShadow:"none"}},ie(Z))},[`${H}-submenu-popup`]:{[`${H}-vertical`]:Object.assign(Object.assign({},ie(Z)),{boxShadow:le})}},{[`${H}-submenu-popup ${H}-vertical${H}-sub`]:{minWidth:x,maxHeight:`calc(100vh - ${d*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${H}-inline`]:{width:"100%",[`&${H}-root`]:{[`${H}-item, ${H}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${de}`,`background ${de}`,`padding ${f} ${G}`].join(","),[`> ${H}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${H}-sub${H}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${H}-submenu > ${H}-submenu-title`]:ge,[`& ${H}-item-group-title`]:{paddingInlineStart:j}},[`${H}-item`]:ge}},{[`${H}-inline-collapsed`]:{width:_e,[`&${H}-root`]:{[`${H}-item, ${H}-submenu ${H}-submenu-title`]:{[`> ${H}-inline-collapsed-noicon`]:{fontSize:q,textAlign:"center"}}},[`> ${H}-item,
|
|
|
> ${H}-item-group > ${H}-item-group-list > ${H}-item,
|
|
|
> ${H}-item-group > ${H}-item-group-list > ${H}-submenu > ${H}-submenu-title,
|
|
|
> ${H}-submenu > ${H}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${q/2}px - ${B}px)`,textOverflow:"clip",[`
|
|
|
${H}-submenu-arrow,
|
|
|
${H}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${H}-item-icon, ${L}`]:{margin:0,fontSize:Ee,lineHeight:`${R}px`,"+ span":{display:"inline-block",opacity:0}}},[`${H}-item-icon, ${L}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${H}-item-icon, ${L}`]:{display:"none"},"a, a:hover":{color:ee}},[`${H}-item-group-title`]:Object.assign(Object.assign({},X.vS),{paddingInline:oe})}}]};const xe=Z=>{const{componentCls:H,motionDurationSlow:L,motionDurationMid:R,motionEaseInOut:ee,motionEaseOut:x,iconCls:d,iconSize:f,iconMarginInlineEnd:G}=Z;return{[`${H}-item, ${H}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${L}`,`background ${L}`,`padding ${L} ${ee}`].join(","),[`${H}-item-icon, ${d}`]:{minWidth:f,fontSize:f,transition:[`font-size ${R} ${x}`,`margin ${L} ${ee}`,`color ${L}`].join(","),"+ span":{marginInlineStart:G,opacity:1,transition:[`opacity ${L} ${ee}`,`margin ${L}`,`color ${L}`].join(",")}},[`${H}-item-icon`]:Object.assign({},(0,X.Ro)()),[`&${H}-item-only-child`]:{[`> ${d}, > ${H}-item-icon`]:{marginInlineEnd:0}}},[`${H}-item-disabled, ${H}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${H}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},He=Z=>{const{componentCls:H,motionDurationSlow:L,motionEaseInOut:R,borderRadius:ee,menuArrowSize:x,menuArrowOffset:d}=Z;return{[`${H}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Z.margin,width:x,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${L} ${R}, opacity ${L}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:x*.6,height:x*.15,backgroundColor:"currentcolor",borderRadius:ee,transition:[`background ${L} ${R}`,`transform ${L} ${R}`,`top ${L} ${R}`,`color ${L} ${R}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${d})`},"&::after":{transform:`rotate(-45deg) translateY(${d})`}}}}},Pe=Z=>{const{antCls:H,componentCls:L,fontSize:R,motionDurationSlow:ee,motionDurationMid:x,motionEaseInOut:d,paddingXS:f,padding:G,colorSplit:j,lineWidth:B,zIndexPopup:q,borderRadiusLG:de,subMenuItemBorderRadius:oe,menuArrowSize:le,menuArrowOffset:_e,lineType:Ee,menuPanelMaskInset:ge,groupTitleLineHeight:Ce,groupTitleFontSize:Oe}=Z;return[{"":{[`${L}`]:Object.assign(Object.assign({},(0,X.dF)()),{"&-hidden":{display:"none"}})},[`${L}-submenu-hidden`]:{display:"none"}},{[L]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,X.Wf)(Z)),(0,X.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:R,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${ee} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${L}-item`]:{flex:"none"}},[`${L}-item, ${L}-submenu, ${L}-submenu-title`]:{borderRadius:Z.itemBorderRadius},[`${L}-item-group-title`]:{padding:`${f}px ${G}px`,fontSize:Oe,lineHeight:Ce,transition:`all ${ee}`},[`&-horizontal ${L}-submenu`]:{transition:[`border-color ${ee} ${d}`,`background ${ee} ${d}`].join(",")},[`${L}-submenu, ${L}-submenu-inline`]:{transition:[`border-color ${ee} ${d}`,`background ${ee} ${d}`,`padding ${x} ${d}`].join(",")},[`${L}-submenu ${L}-sub`]:{cursor:"initial",transition:[`background ${ee} ${d}`,`padding ${ee} ${d}`].join(",")},[`${L}-title-content`]:{transition:`color ${ee}`},[`${L}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${L}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:j,borderStyle:Ee,borderWidth:0,borderTopWidth:B,marginBlock:B,padding:0,"&-dashed":{borderStyle:"dashed"}}}),xe(Z)),{[`${L}-item-group`]:{[`${L}-item-group-list`]:{margin:0,padding:0,[`${L}-item, ${L}-submenu-title`]:{paddingInline:`${R*2}px ${G}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:q,borderRadius:de,boxShadow:"none",transformOrigin:"0 0",[`&${L}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ge}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ge},"\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:Z.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Z.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Z.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Z.paddingXS},[`> ${L}`]:Object.assign(Object.assign(Object.assign({borderRadius:de},xe(Z)),He(Z)),{[`${L}-item, ${L}-submenu > ${L}-submenu-title`]:{borderRadius:oe},[`${L}-submenu-title::after`]:{transition:`transform ${ee} ${d}`}})}}),He(Z)),{[`&-inline-collapsed ${L}-submenu-arrow,
|
|
|
&-inline ${L}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${_e})`},"&::after":{transform:`rotate(45deg) translateX(-${_e})`}},[`${L}-submenu-open${L}-submenu-inline > ${L}-submenu-title > ${L}-submenu-arrow`]:{transform:`translateY(-${le*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${_e})`},"&::before":{transform:`rotate(45deg) translateX(${_e})`}}})},{[`${H}-layout-header`]:{[L]:{lineHeight:"inherit"}}}]};var Ue=(Z,H)=>(0,K.Z)("Menu",R=>{if(H===!1)return[];const{colorBgElevated:ee,colorPrimary:x,colorTextLightSolid:d,controlHeightLG:f,fontSize:G,darkItemColor:j,darkDangerItemColor:B,darkItemBg:q,darkSubMenuItemBg:de,darkItemSelectedColor:oe,darkItemSelectedBg:le,darkDangerItemSelectedBg:_e,darkItemHoverBg:Ee,darkGroupTitleColor:ge,darkItemHoverColor:Ce,darkItemDisabledColor:Oe,darkDangerItemHoverColor:Se,darkDangerItemSelectedColor:Xe,darkDangerItemActiveBg:Ye}=R,pt=G/7*5,dt=(0,O.TS)(R,{menuArrowSize:pt,menuHorizontalHeight:f*1.15,menuArrowOffset:`${pt*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:ee}),At=(0,O.TS)(dt,{itemColor:j,itemHoverColor:Ce,groupTitleColor:ge,itemSelectedColor:oe,itemBg:q,popupBg:q,subMenuItemBg:de,itemActiveBg:"transparent",itemSelectedBg:le,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ee,itemDisabledColor:Oe,dangerItemColor:B,dangerItemHoverColor:Se,dangerItemSelectedColor:Xe,dangerItemActiveBg:Ye,dangerItemSelectedBg:_e,menuSubMenuBg:de,horizontalItemSelectedColor:d,horizontalItemSelectedBg:x});return[Pe(dt),$(dt),me(dt),re(dt,"light"),re(At,"dark"),o(dt),(0,U.Z)(dt),(0,M.oN)(dt,"slide-up"),(0,M.oN)(dt,"slide-down"),(0,g._y)(dt,"zoom-big")]},R=>{const{colorPrimary:ee,colorError:x,colorTextDisabled:d,colorErrorBg:f,colorText:G,colorTextDescription:j,colorBgContainer:B,colorFillAlter:q,colorFillContent:de,lineWidth:oe,lineWidthBold:le,controlItemBgActive:_e,colorBgTextHover:Ee,controlHeightLG:ge,lineHeight:Ce,colorBgElevated:Oe,marginXXS:Se,padding:Xe,fontSize:Ye,controlHeightSM:pt,fontSizeLG:dt,colorTextLightSolid:At,colorErrorHover:Rt}=R,Zt=new J.C(At).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:R.zIndexPopupBase+50,radiusItem:R.borderRadiusLG,itemBorderRadius:R.borderRadiusLG,radiusSubMenuItem:R.borderRadiusSM,subMenuItemBorderRadius:R.borderRadiusSM,colorItemText:G,itemColor:G,colorItemTextHover:G,itemHoverColor:G,colorItemTextHoverHorizontal:ee,horizontalItemHoverColor:ee,colorGroupTitle:j,groupTitleColor:j,colorItemTextSelected:ee,itemSelectedColor:ee,colorItemTextSelectedHorizontal:ee,horizontalItemSelectedColor:ee,colorItemBg:B,itemBg:B,colorItemBgHover:Ee,itemHoverBg:Ee,colorItemBgActive:de,itemActiveBg:_e,colorSubItemBg:q,subMenuItemBg:q,colorItemBgSelected:_e,itemSelectedBg:_e,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:le,activeBarHeight:le,colorActiveBarBorderSize:oe,activeBarBorderWidth:oe,colorItemTextDisabled:d,itemDisabledColor:d,colorDangerItemText:x,dangerItemColor:x,colorDangerItemTextHover:x,dangerItemHoverColor:x,colorDangerItemTextSelected:x,dangerItemSelectedColor:x,colorDangerItemBgActive:f,dangerItemActiveBg:f,colorDangerItemBgSelected:f,dangerItemSelectedBg:f,itemMarginInline:R.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ge,groupTitleLineHeight:Ce,collapsedWidth:ge*2,popupBg:Oe,itemMarginBlock:Se,itemPaddingInline:Xe,horizontalLineHeight:`${ge*1.15}px`,iconSize:Ye,iconMarginInlineEnd:pt-Ye,collapsedIconSize:dt,groupTitleFontSize:Ye,darkItemDisabledColor:new J.C(At).setAlpha(.25).toRgbString(),darkItemColor:Zt,darkDangerItemColor:x,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:At,darkItemSelectedBg:ee,darkDangerItemSelectedBg:x,darkItemHoverBg:"transparent",darkGroupTitleColor:Zt,darkItemHoverColor:At,darkDangerItemHoverColor:Rt,darkDangerItemSelectedColor:At,darkDangerItemActiveBg:x}},{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"]]})(Z),et=function(Z,H){var L={};for(var R in Z)Object.prototype.hasOwnProperty.call(Z,R)&&H.indexOf(R)<0&&(L[R]=Z[R]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,R=Object.getOwnPropertySymbols(Z);ee<R.length;ee++)H.indexOf(R[ee])<0&&Object.prototype.propertyIsEnumerable.call(Z,R[ee])&&(L[R[ee]]=Z[R[ee]]);return L},je=(0,v.forwardRef)((Z,H)=>{var L,R;const ee=v.useContext(s.Z),x=ee||{},{getPrefixCls:d,getPopupContainer:f,direction:G,menu:j}=v.useContext(k.E_),B=d(),{prefixCls:q,className:de,style:oe,theme:le="light",expandIcon:_e,_internalDisableMenuItemTitleTooltip:Ee,inlineCollapsed:ge,siderCollapsed:Ce,items:Oe,children:Se,rootClassName:Xe,mode:Ye,selectable:pt,onClick:dt,overflowedIndicatorPopupClassName:At}=Z,Rt=et(Z,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Zt=(0,m.Z)(Rt,["collapsedWidth"]),Nt=Y(Oe)||Se;(L=x.validator)===null||L===void 0||L.call(x,{mode:Ye});const sn=(0,S.useEvent)(function(){var Kn;dt==null||dt.apply(void 0,arguments),(Kn=x.onClick)===null||Kn===void 0||Kn.call(x)}),Lt=x.mode||Ye,rt=pt!=null?pt:x.selectable,Vt=v.useMemo(()=>Ce!==void 0?Ce:ge,[ge,Ce]),_t={horizontal:{motionName:`${B}-slide-up`},inline:(0,c.Z)(B),other:{motionName:`${B}-zoom-big`}},Et=d("menu",q||x.prefixCls),[rn,hn]=Ue(Et,!ee),Pn=C()(`${Et}-${le}`,j==null?void 0:j.className,de);let Sn;if(typeof _e=="function")Sn=_e;else if(_e===null||_e===!1)Sn=null;else if(x.expandIcon===null||x.expandIcon===!1)Sn=null;else{const Kn=_e!=null?_e:x.expandIcon;Sn=(0,r.Tm)(Kn,{className:C()(`${Et}-submenu-expand-icon`,(0,r.l$)(Kn)?(R=Kn.props)===null||R===void 0?void 0:R.className:"")})}const $n=v.useMemo(()=>({prefixCls:Et,inlineCollapsed:Vt||!1,direction:G,firstLevel:!0,theme:le,mode:Lt,disableMenuItemTitleTooltip:Ee}),[Et,Vt,G,Ee,le]);return rn(v.createElement(s.Z.Provider,{value:null},v.createElement(u.Provider,{value:$n},v.createElement(_.ZP,Object.assign({getPopupContainer:f,overflowedIndicator:v.createElement(I.Z,null),overflowedIndicatorPopupClassName:C()(Et,`${Et}-${le}`,At),mode:Lt,selectable:rt,onClick:sn},Zt,{inlineCollapsed:Vt,style:Object.assign(Object.assign({},j==null?void 0:j.style),oe),className:Pn,prefixCls:Et,direction:G,defaultMotions:_t,expandIcon:Sn,ref:H,rootClassName:C()(Xe,hn)}),Nt))))});const pe=(0,v.forwardRef)((Z,H)=>{const L=(0,v.useRef)(null),R=v.useContext(N.D);return(0,v.useImperativeHandle)(H,()=>({menu:L.current,focus:ee=>{var x;(x=L.current)===null||x===void 0||x.focus(ee)}})),v.createElement(je,Object.assign({ref:L},Z,R))});pe.Item=z,pe.SubMenu=y,pe.Divider=e,pe.ItemGroup=_.BW;var ue=pe},58421:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return x}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(f,G){return v.createElement(C.Z,(0,_.Z)({},f,{ref:G,icon:V}))},l=v.forwardRef(k),W=l,e=t(49198),h=t(33853),m=t(38819),n=t(92310),r=t.n(n),a=t(400),u=t(33708),b=t(6909),z=t(4771),E=t(9427),y=t(25440),I=t(26112),S={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},c=S,s=t(91735),w=function(d){(0,E.Z)(G,d);var f=(0,y.Z)(G);function G(){var j;(0,b.Z)(this,G);for(var B=arguments.length,q=new Array(B),de=0;de<B;de++)q[de]=arguments[de];return j=f.call.apply(f,[this].concat(q)),j.state={goInputText:""},j.getValidValue=function(){var oe=j.state.goInputText;return!oe||Number.isNaN(oe)?void 0:Number(oe)},j.buildOptionText=function(oe){return"".concat(oe," ").concat(j.props.locale.items_per_page)},j.changeSize=function(oe){j.props.changeSize(Number(oe))},j.handleChange=function(oe){j.setState({goInputText:oe.target.value})},j.handleBlur=function(oe){var le=j.props,_e=le.goButton,Ee=le.quickGo,ge=le.rootPrefixCls,Ce=j.state.goInputText;_e||Ce===""||(j.setState({goInputText:""}),!(oe.relatedTarget&&(oe.relatedTarget.className.indexOf("".concat(ge,"-item-link"))>=0||oe.relatedTarget.className.indexOf("".concat(ge,"-item"))>=0))&&Ee(j.getValidValue()))},j.go=function(oe){var le=j.state.goInputText;le!==""&&(oe.keyCode===c.ENTER||oe.type==="click")&&(j.setState({goInputText:""}),j.props.quickGo(j.getValidValue()))},j}return(0,z.Z)(G,[{key:"getPageSizeOptions",value:function(){var B=this.props,q=B.pageSize,de=B.pageSizeOptions;return de.some(function(oe){return oe.toString()===q.toString()})?de:de.concat([q.toString()]).sort(function(oe,le){var _e=Number.isNaN(Number(oe))?0:Number(oe),Ee=Number.isNaN(Number(le))?0:Number(le);return _e-Ee})}},{key:"render",value:function(){var B=this,q=this.props,de=q.pageSize,oe=q.locale,le=q.rootPrefixCls,_e=q.changeSize,Ee=q.quickGo,ge=q.goButton,Ce=q.selectComponentClass,Oe=q.buildOptionText,Se=q.selectPrefixCls,Xe=q.disabled,Ye=this.state.goInputText,pt="".concat(le,"-options"),dt=Ce,At=null,Rt=null,Zt=null;if(!_e&&!Ee)return null;var Nt=this.getPageSizeOptions();if(_e&&dt){var sn=Nt.map(function(Lt,rt){return v.createElement(dt.Option,{key:rt,value:Lt.toString()},(Oe||B.buildOptionText)(Lt))});At=v.createElement(dt,{disabled:Xe,prefixCls:Se,showSearch:!1,className:"".concat(pt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(de||Nt[0]).toString(),onChange:this.changeSize,getPopupContainer:function(rt){return rt.parentNode},"aria-label":oe.page_size,defaultOpen:!1},sn)}return Ee&&(ge&&(Zt=typeof ge=="boolean"?v.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Xe,className:"".concat(pt,"-quick-jumper-button")},oe.jump_to_confirm):v.createElement("span",{onClick:this.go,onKeyUp:this.go},ge)),Rt=v.createElement("div",{className:"".concat(pt,"-quick-jumper")},oe.jump_to,v.createElement("input",{disabled:Xe,type:"text",value:Ye,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":oe.page}),oe.page,Zt)),v.createElement("li",{className:"".concat(pt)},At,Rt)}}]),G}(v.Component);w.defaultProps={pageSizeOptions:["10","20","50","100"]};var D=w,Y=function(f){var G,j=f.rootPrefixCls,B=f.page,q=f.active,de=f.className,oe=f.showTitle,le=f.onClick,_e=f.onKeyPress,Ee=f.itemRender,ge="".concat(j,"-item"),Ce=r()(ge,"".concat(ge,"-").concat(B),(G={},(0,a.Z)(G,"".concat(ge,"-active"),q),(0,a.Z)(G,"".concat(ge,"-disabled"),!B),(0,a.Z)(G,f.className,de),G)),Oe=function(){le(B)},Se=function(pt){_e(pt,le,B)},Xe=Ee(B,"page",v.createElement("a",{rel:"nofollow"},B));return Xe?v.createElement("li",{title:oe?B.toString():null,className:Ce,onClick:Oe,onKeyPress:Se,tabIndex:0},Xe):null},J=Y;function X(){}function U(d){var f=Number(d);return typeof f=="number"&&!Number.isNaN(f)&&isFinite(f)&&Math.floor(f)===f}var M=function(f,G,j){return j};function g(d,f,G){var j=typeof d=="undefined"?f.pageSize:d;return Math.floor((G.total-1)/j)+1}var K=function(d){(0,E.Z)(G,d);var f=(0,y.Z)(G);function G(j){var B;(0,b.Z)(this,G),B=f.call(this,j),B.paginationNode=v.createRef(),B.getJumpPrevPage=function(){return Math.max(1,B.state.current-(B.props.showLessItems?3:5))},B.getJumpNextPage=function(){return Math.min(g(void 0,B.state,B.props),B.state.current+(B.props.showLessItems?3:5))},B.getItemIcon=function(_e,Ee){var ge=B.props.prefixCls,Ce=_e||v.createElement("button",{type:"button","aria-label":Ee,className:"".concat(ge,"-item-link")});return typeof _e=="function"&&(Ce=v.createElement(_e,(0,u.Z)({},B.props))),Ce},B.isValid=function(_e){var Ee=B.props.total;return U(_e)&&_e!==B.state.current&&U(Ee)&&Ee>0},B.shouldDisplayQuickJumper=function(){var _e=B.props,Ee=_e.showQuickJumper,ge=_e.total,Ce=B.state.pageSize;return ge<=Ce?!1:Ee},B.handleKeyDown=function(_e){(_e.keyCode===c.ARROW_UP||_e.keyCode===c.ARROW_DOWN)&&_e.preventDefault()},B.handleKeyUp=function(_e){var Ee=B.getValidValue(_e),ge=B.state.currentInputValue;Ee!==ge&&B.setState({currentInputValue:Ee}),_e.keyCode===c.ENTER?B.handleChange(Ee):_e.keyCode===c.ARROW_UP?B.handleChange(Ee-1):_e.keyCode===c.ARROW_DOWN&&B.handleChange(Ee+1)},B.handleBlur=function(_e){var Ee=B.getValidValue(_e);B.handleChange(Ee)},B.changePageSize=function(_e){var Ee=B.state.current,ge=g(_e,B.state,B.props);Ee=Ee>ge?ge:Ee,ge===0&&(Ee=B.state.current),typeof _e=="number"&&("pageSize"in B.props||B.setState({pageSize:_e}),"current"in B.props||B.setState({current:Ee,currentInputValue:Ee})),B.props.onShowSizeChange(Ee,_e),"onChange"in B.props&&B.props.onChange&&B.props.onChange(Ee,_e)},B.handleChange=function(_e){var Ee=B.props,ge=Ee.disabled,Ce=Ee.onChange,Oe=B.state,Se=Oe.pageSize,Xe=Oe.current,Ye=Oe.currentInputValue;if(B.isValid(_e)&&!ge){var pt=g(void 0,B.state,B.props),dt=_e;return _e>pt?dt=pt:_e<1&&(dt=1),"current"in B.props||B.setState({current:dt}),dt!==Ye&&B.setState({currentInputValue:dt}),Ce(dt,Se),dt}return Xe},B.prev=function(){B.hasPrev()&&B.handleChange(B.state.current-1)},B.next=function(){B.hasNext()&&B.handleChange(B.state.current+1)},B.jumpPrev=function(){B.handleChange(B.getJumpPrevPage())},B.jumpNext=function(){B.handleChange(B.getJumpNextPage())},B.hasPrev=function(){return B.state.current>1},B.hasNext=function(){return B.state.current<g(void 0,B.state,B.props)},B.runIfEnter=function(_e,Ee){if(_e.key==="Enter"||_e.charCode===13){for(var ge=arguments.length,Ce=new Array(ge>2?ge-2:0),Oe=2;Oe<ge;Oe++)Ce[Oe-2]=arguments[Oe];Ee.apply(void 0,Ce)}},B.runIfEnterPrev=function(_e){B.runIfEnter(_e,B.prev)},B.runIfEnterNext=function(_e){B.runIfEnter(_e,B.next)},B.runIfEnterJumpPrev=function(_e){B.runIfEnter(_e,B.jumpPrev)},B.runIfEnterJumpNext=function(_e){B.runIfEnter(_e,B.jumpNext)},B.handleGoTO=function(_e){(_e.keyCode===c.ENTER||_e.type==="click")&&B.handleChange(B.state.currentInputValue)},B.renderPrev=function(_e){var Ee=B.props,ge=Ee.prevIcon,Ce=Ee.itemRender,Oe=Ce(_e,"prev",B.getItemIcon(ge,"prev page")),Se=!B.hasPrev();return(0,v.isValidElement)(Oe)?(0,v.cloneElement)(Oe,{disabled:Se}):Oe},B.renderNext=function(_e){var Ee=B.props,ge=Ee.nextIcon,Ce=Ee.itemRender,Oe=Ce(_e,"next",B.getItemIcon(ge,"next page")),Se=!B.hasNext();return(0,v.isValidElement)(Oe)?(0,v.cloneElement)(Oe,{disabled:Se}):Oe};var q=j.onChange!==X,de="current"in j;de&&!q&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var oe=j.defaultCurrent;"current"in j&&(oe=j.current);var le=j.defaultPageSize;return"pageSize"in j&&(le=j.pageSize),oe=Math.min(oe,g(le,void 0,j)),B.state={current:oe,currentInputValue:oe,pageSize:le},B}return(0,z.Z)(G,[{key:"componentDidUpdate",value:function(B,q){var de=this.props.prefixCls;if(q.current!==this.state.current&&this.paginationNode.current){var oe=this.paginationNode.current.querySelector(".".concat(de,"-item-").concat(q.current));if(oe&&document.activeElement===oe){var le;oe==null||(le=oe.blur)===null||le===void 0||le.call(oe)}}}},{key:"getValidValue",value:function(B){var q=B.target.value,de=g(void 0,this.state,this.props),oe=this.state.currentInputValue,le;return q===""?le=q:Number.isNaN(Number(q))?le=oe:q>=de?le=de:le=Number(q),le}},{key:"getShowSizeChanger",value:function(){var B=this.props,q=B.showSizeChanger,de=B.total,oe=B.totalBoundaryShowSizeChanger;return typeof q!="undefined"?q:de>oe}},{key:"render",value:function(){var B=this.props,q=B.prefixCls,de=B.className,oe=B.style,le=B.disabled,_e=B.hideOnSinglePage,Ee=B.total,ge=B.locale,Ce=B.showQuickJumper,Oe=B.showLessItems,Se=B.showTitle,Xe=B.showTotal,Ye=B.simple,pt=B.itemRender,dt=B.showPrevNextJumpers,At=B.jumpPrevIcon,Rt=B.jumpNextIcon,Zt=B.selectComponentClass,Nt=B.selectPrefixCls,sn=B.pageSizeOptions,Lt=this.state,rt=Lt.current,Vt=Lt.pageSize,_t=Lt.currentInputValue;if(_e===!0&&Ee<=Vt)return null;var Et=g(void 0,this.state,this.props),rn=[],hn=null,Pn=null,Sn=null,$n=null,Kn=null,Nn=Ce&&Ce.goButton,Zn=Oe?1:2,Mt=rt-1>0?rt-1:0,Ft=rt+1<Et?rt+1:Et,ce=(0,I.Z)(this.props,{aria:!0,data:!0}),Be=Xe&&v.createElement("li",{className:"".concat(q,"-total-text")},Xe(Ee,[Ee===0?0:(rt-1)*Vt+1,rt*Vt>Ee?Ee:rt*Vt]));if(Ye){Nn&&(typeof Nn=="boolean"?Kn=v.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ge.jump_to_confirm):Kn=v.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Nn),Kn=v.createElement("li",{title:Se?"".concat(ge.jump_to).concat(rt,"/").concat(Et):null,className:"".concat(q,"-simple-pager")},Kn));var ke=this.renderPrev(Mt);return v.createElement("ul",(0,_.Z)({className:r()(q,"".concat(q,"-simple"),(0,a.Z)({},"".concat(q,"-disabled"),le),de),style:oe,ref:this.paginationNode},ce),Be,ke?v.createElement("li",{title:Se?ge.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:r()("".concat(q,"-prev"),(0,a.Z)({},"".concat(q,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},ke):null,v.createElement("li",{title:Se?"".concat(rt,"/").concat(Et):null,className:"".concat(q,"-simple-pager")},v.createElement("input",{type:"text",value:_t,disabled:le,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),v.createElement("span",{className:"".concat(q,"-slash")},"/"),Et),v.createElement("li",{title:Se?ge.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:r()("".concat(q,"-next"),(0,a.Z)({},"".concat(q,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ft)),Kn)}if(Et<=3+Zn*2){var te={locale:ge,rootPrefixCls:q,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Se,itemRender:pt};Et||rn.push(v.createElement(J,(0,_.Z)({},te,{key:"noPager",page:1,className:"".concat(q,"-item-disabled")})));for(var ae=1;ae<=Et;ae+=1){var De=rt===ae;rn.push(v.createElement(J,(0,_.Z)({},te,{key:ae,page:ae,active:De})))}}else{var $e=Oe?ge.prev_3:ge.prev_5,st=Oe?ge.next_3:ge.next_5,Ve=pt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(At,"prev page")),ct=pt(this.getJumpNextPage(),"jump-next",this.getItemIcon(Rt,"next page"));dt&&(hn=Ve?v.createElement("li",{title:Se?$e:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:r()("".concat(q,"-jump-prev"),(0,a.Z)({},"".concat(q,"-jump-prev-custom-icon"),!!At))},Ve):null,Pn=ct?v.createElement("li",{title:Se?st:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:r()("".concat(q,"-jump-next"),(0,a.Z)({},"".concat(q,"-jump-next-custom-icon"),!!Rt))},ct):null),$n=v.createElement(J,{locale:ge,last:!0,rootPrefixCls:q,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Et,page:Et,active:!1,showTitle:Se,itemRender:pt}),Sn=v.createElement(J,{locale:ge,rootPrefixCls:q,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Se,itemRender:pt});var Qe=Math.max(1,rt-Zn),ft=Math.min(rt+Zn,Et);rt-1<=Zn&&(ft=1+Zn*2),Et-rt<=Zn&&(Qe=Et-Zn*2);for(var vt=Qe;vt<=ft;vt+=1){var Fe=rt===vt;rn.push(v.createElement(J,{locale:ge,rootPrefixCls:q,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:vt,page:vt,active:Fe,showTitle:Se,itemRender:pt}))}rt-1>=Zn*2&&rt!==3&&(rn[0]=(0,v.cloneElement)(rn[0],{className:"".concat(q,"-item-after-jump-prev")}),rn.unshift(hn)),Et-rt>=Zn*2&&rt!==Et-2&&(rn[rn.length-1]=(0,v.cloneElement)(rn[rn.length-1],{className:"".concat(q,"-item-before-jump-next")}),rn.push(Pn)),Qe!==1&&rn.unshift(Sn),ft!==Et&&rn.push($n)}var Le=!this.hasPrev()||!Et,Je=!this.hasNext()||!Et,tt=this.renderPrev(Mt),it=this.renderNext(Ft);return v.createElement("ul",(0,_.Z)({className:r()(q,de,(0,a.Z)({},"".concat(q,"-disabled"),le)),style:oe,ref:this.paginationNode},ce),Be,tt?v.createElement("li",{title:Se?ge.prev_page:null,onClick:this.prev,tabIndex:Le?null:0,onKeyPress:this.runIfEnterPrev,className:r()("".concat(q,"-prev"),(0,a.Z)({},"".concat(q,"-disabled"),Le)),"aria-disabled":Le},tt):null,rn,it?v.createElement("li",{title:Se?ge.next_page:null,onClick:this.next,tabIndex:Je?null:0,onKeyPress:this.runIfEnterNext,className:r()("".concat(q,"-next"),(0,a.Z)({},"".concat(q,"-disabled"),Je)),"aria-disabled":Je},it):null,v.createElement(D,{disabled:le,locale:ge,rootPrefixCls:q,selectComponentClass:Zt,selectPrefixCls:Nt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:rt,pageSize:Vt,pageSizeOptions:sn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Nn}))}}],[{key:"getDerivedStateFromProps",value:function(B,q){var de={};if("current"in B&&(de.current=B.current,B.current!==q.current&&(de.currentInputValue=de.current)),"pageSize"in B&&B.pageSize!==q.pageSize){var oe=q.current,le=g(B.pageSize,q,B);oe=oe>le?le:oe,"current"in B||(de.current=oe,de.currentInputValue=oe),de.pageSize=B.pageSize}return de}}]),G}(v.Component);K.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:X,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:X,locale:s.Z,style:{},itemRender:M,totalBoundaryShowSizeChanger:50};var O=K,A=t(22075),$=t(36355),i=t(19716),o=t(8628),p=t(9763),F=t(57809);const re=d=>v.createElement(F.default,Object.assign({},d,{showSearch:!0,size:"small"})),ie=d=>v.createElement(F.default,Object.assign({},d,{showSearch:!0,size:"middle"}));re.Option=F.default.Option,ie.Option=F.default.Option;var ne=t(9937),me=t(17313),xe=t(83116),He=t(37613);const Pe=d=>{const{componentCls:f}=d;return{[`${f}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${f}-item-link`]:{color:d.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${f}-item-link`]:{color:d.colorTextDisabled,cursor:"not-allowed"}}},[`&${f}-disabled`]:{cursor:"not-allowed",[`${f}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:d.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:d.colorBorder,backgroundColor:d.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:d.itemActiveBgDisabled},a:{color:d.itemActiveColorDisabled}}},[`${f}-item-link`]:{color:d.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${f}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${f}-simple-pager`]:{color:d.colorTextDisabled},[`${f}-jump-prev, ${f}-jump-next`]:{[`${f}-item-link-icon`]:{opacity:0},[`${f}-item-ellipsis`]:{opacity:1}}},[`&${f}-simple`]:{[`${f}-prev, ${f}-next`]:{[`&${f}-disabled ${f}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ue=d=>{const{componentCls:f}=d;return{[`&${f}-mini ${f}-total-text, &${f}-mini ${f}-simple-pager`]:{height:d.itemSizeSM,lineHeight:`${d.itemSizeSM}px`},[`&${f}-mini ${f}-item`]:{minWidth:d.itemSizeSM,height:d.itemSizeSM,margin:0,lineHeight:`${d.itemSizeSM-2}px`},[`&${f}-mini:not(${f}-disabled) ${f}-item:not(${f}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:d.colorBgTextHover},"&:active":{backgroundColor:d.colorBgTextActive}},[`&${f}-mini ${f}-prev, &${f}-mini ${f}-next`]:{minWidth:d.itemSizeSM,height:d.itemSizeSM,margin:0,lineHeight:`${d.itemSizeSM}px`},[`&${f}-mini:not(${f}-disabled)`]:{[`${f}-prev, ${f}-next`]:{[`&:hover ${f}-item-link`]:{backgroundColor:d.colorBgTextHover},[`&:active ${f}-item-link`]:{backgroundColor:d.colorBgTextActive},[`&${f}-disabled:hover ${f}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${f}-mini ${f}-prev ${f}-item-link,
|
|
|
&${f}-mini ${f}-next ${f}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:d.itemSizeSM,lineHeight:`${d.itemSizeSM}px`}},[`&${f}-mini ${f}-jump-prev, &${f}-mini ${f}-jump-next`]:{height:d.itemSizeSM,marginInlineEnd:0,lineHeight:`${d.itemSizeSM}px`},[`&${f}-mini ${f}-options`]:{marginInlineStart:d.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:d.miniOptionsSizeChangerTop},"&-quick-jumper":{height:d.itemSizeSM,lineHeight:`${d.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,ne.x0)(d)),{width:d.paginationMiniQuickJumperInputWidth,height:d.controlHeightSM})}}}},et=d=>{const{componentCls:f}=d;return{[`
|
|
|
&${f}-simple ${f}-prev,
|
|
|
&${f}-simple ${f}-next
|
|
|
`]:{height:d.itemSizeSM,lineHeight:`${d.itemSizeSM}px`,verticalAlign:"top",[`${f}-item-link`]:{height:d.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:d.colorBgTextHover},"&:active":{backgroundColor:d.colorBgTextActive},"&::after":{height:d.itemSizeSM,lineHeight:`${d.itemSizeSM}px`}}},[`&${f}-simple ${f}-simple-pager`]:{display:"inline-block",height:d.itemSizeSM,marginInlineEnd:d.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:d.marginXS,padding:`0 ${d.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:d.itemInputBg,border:`${d.lineWidth}px ${d.lineType} ${d.colorBorder}`,borderRadius:d.borderRadius,outline:"none",transition:`border-color ${d.motionDurationMid}`,color:"inherit","&:hover":{borderColor:d.colorPrimary},"&:focus":{borderColor:d.colorPrimaryHover,boxShadow:`${d.inputOutlineOffset}px 0 ${d.controlOutlineWidth}px ${d.controlOutline}`},"&[disabled]":{color:d.colorTextDisabled,backgroundColor:d.colorBgContainerDisabled,borderColor:d.colorBorder,cursor:"not-allowed"}}}}},lt=d=>{const{componentCls:f}=d;return{[`${f}-jump-prev, ${f}-jump-next`]:{outline:0,[`${f}-item-container`]:{position:"relative",[`${f}-item-link-icon`]:{color:d.colorPrimary,fontSize:d.fontSizeSM,opacity:0,transition:`all ${d.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${f}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:d.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:d.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:d.paginationEllipsisTextIndent,opacity:1,transition:`all ${d.motionDurationMid}`}},"&:hover":{[`${f}-item-link-icon`]:{opacity:1},[`${f}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${f}-prev,
|
|
|
${f}-jump-prev,
|
|
|
${f}-jump-next
|
|
|
`]:{marginInlineEnd:d.marginXS},[`
|
|
|
${f}-prev,
|
|
|
${f}-next,
|
|
|
${f}-jump-prev,
|
|
|
${f}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:d.itemSize,height:d.itemSize,color:d.colorText,fontFamily:d.fontFamily,lineHeight:`${d.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:d.borderRadius,cursor:"pointer",transition:`all ${d.motionDurationMid}`},[`${f}-prev, ${f}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:d.colorText,cursor:"pointer",userSelect:"none"},[`${f}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:d.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${d.lineWidth}px ${d.lineType} transparent`,borderRadius:d.borderRadius,outline:"none",transition:`all ${d.motionDurationMid}`},[`&:hover ${f}-item-link`]:{backgroundColor:d.colorBgTextHover},[`&:active ${f}-item-link`]:{backgroundColor:d.colorBgTextActive},[`&${f}-disabled:hover`]:{[`${f}-item-link`]:{backgroundColor:"transparent"}}},[`${f}-slash`]:{marginInlineEnd:d.paginationSlashMarginInlineEnd,marginInlineStart:d.paginationSlashMarginInlineStart},[`${f}-options`]:{display:"inline-block",marginInlineStart:d.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:d.controlHeight,marginInlineStart:d.marginXS,lineHeight:`${d.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,ne.ik)(d)),{width:d.controlHeightLG*1.25,height:d.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:d.marginXS,marginInlineEnd:d.marginXS})}}}},je=d=>{const{componentCls:f}=d;return{[`${f}-item`]:{display:"inline-block",minWidth:d.itemSize,height:d.itemSize,marginInlineEnd:d.marginXS,fontFamily:d.fontFamily,lineHeight:`${d.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${d.lineWidth}px ${d.lineType} transparent`,borderRadius:d.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${d.paginationItemPaddingInline}px`,color:d.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${f}-item-active)`]:{"&:hover":{transition:`all ${d.motionDurationMid}`,backgroundColor:d.colorBgTextHover},"&:active":{backgroundColor:d.colorBgTextActive}},"&-active":{fontWeight:d.fontWeightStrong,backgroundColor:d.itemActiveBg,borderColor:d.colorPrimary,a:{color:d.colorPrimary},"&:hover":{borderColor:d.colorPrimaryHover},"&:hover a":{color:d.colorPrimaryHover}}}}},pe=d=>{const{componentCls:f}=d;return{[f]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,me.Wf)(d)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${f}-total-text`]:{display:"inline-block",height:d.itemSize,marginInlineEnd:d.marginXS,lineHeight:`${d.itemSize-2}px`,verticalAlign:"middle"}}),je(d)),lt(d)),et(d)),Ue(d)),Pe(d)),{[`@media only screen and (max-width: ${d.screenLG}px)`]:{[`${f}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${d.screenSM}px)`]:{[`${f}-options`]:{display:"none"}}}),[`&${d.componentCls}-rtl`]:{direction:"rtl"}}},ue=d=>{const{componentCls:f}=d;return{[`${f}${f}-disabled:not(${f}-mini)`]:{"&, &:hover":{[`${f}-item-link`]:{borderColor:d.colorBorder}},"&:focus-visible":{[`${f}-item-link`]:{borderColor:d.colorBorder}},[`${f}-item, ${f}-item-link`]:{backgroundColor:d.colorBgContainerDisabled,borderColor:d.colorBorder,[`&:hover:not(${f}-item-active)`]:{backgroundColor:d.colorBgContainerDisabled,borderColor:d.colorBorder,a:{color:d.colorTextDisabled}},[`&${f}-item-active`]:{backgroundColor:d.itemActiveBgDisabled}},[`${f}-prev, ${f}-next`]:{"&:hover button":{backgroundColor:d.colorBgContainerDisabled,borderColor:d.colorBorder,color:d.colorTextDisabled},[`${f}-item-link`]:{backgroundColor:d.colorBgContainerDisabled,borderColor:d.colorBorder}}},[`${f}:not(${f}-mini)`]:{[`${f}-prev, ${f}-next`]:{"&:hover button":{borderColor:d.colorPrimaryHover,backgroundColor:d.itemBg},[`${f}-item-link`]:{backgroundColor:d.itemLinkBg,borderColor:d.colorBorder},[`&:hover ${f}-item-link`]:{borderColor:d.colorPrimary,backgroundColor:d.itemBg,color:d.colorPrimary},[`&${f}-disabled`]:{[`${f}-item-link`]:{borderColor:d.colorBorder,color:d.colorTextDisabled}}},[`${f}-item`]:{backgroundColor:d.itemBg,border:`${d.lineWidth}px ${d.lineType} ${d.colorBorder}`,[`&:hover:not(${f}-item-active)`]:{borderColor:d.colorPrimary,backgroundColor:d.itemBg,a:{color:d.colorPrimary}},"&-active":{borderColor:d.colorPrimary}}}}},Z=d=>{const{componentCls:f}=d;return{[`${f}:not(${f}-disabled)`]:{[`${f}-item`]:Object.assign({},(0,me.Qy)(d)),[`${f}-jump-prev, ${f}-jump-next`]:{"&:focus-visible":Object.assign({[`${f}-item-link-icon`]:{opacity:1},[`${f}-item-ellipsis`]:{opacity:0}},(0,me.oN)(d))},[`${f}-prev, ${f}-next`]:{[`&:focus-visible ${f}-item-link`]:Object.assign({},(0,me.oN)(d))}}}};var H=(0,xe.Z)("Pagination",d=>{const f=(0,He.TS)(d,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:d.marginXXS/2,paginationMiniQuickJumperInputWidth:d.controlHeightLG*1.1,paginationItemPaddingInline:d.marginXXS*1.5,paginationEllipsisLetterSpacing:d.marginXXS/2,paginationSlashMarginInlineStart:d.marginXXS,paginationSlashMarginInlineEnd:d.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ne.e5)(d),(0,ne.TM)(d));return[pe(f),Z(f),d.wireframe&&ue(f)]},d=>({itemBg:d.colorBgContainer,itemSize:d.controlHeight,itemSizeSM:d.controlHeightSM,itemActiveBg:d.colorBgContainer,itemLinkBg:d.colorBgContainer,itemActiveColorDisabled:d.colorTextDisabled,itemActiveBgDisabled:d.controlItemBgActiveDisabled,itemInputBg:d.colorBgContainer,miniOptionsSizeChangerTop:0})),L=function(d,f){var G={};for(var j in d)Object.prototype.hasOwnProperty.call(d,j)&&f.indexOf(j)<0&&(G[j]=d[j]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,j=Object.getOwnPropertySymbols(d);B<j.length;B++)f.indexOf(j[B])<0&&Object.prototype.propertyIsEnumerable.call(d,j[B])&&(G[j[B]]=d[j[B]]);return G},ee=d=>{const{prefixCls:f,selectPrefixCls:G,className:j,rootClassName:B,style:q,size:de,locale:oe,selectComponentClass:le,responsive:_e,showSizeChanger:Ee}=d,ge=L(d,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Ce}=(0,o.Z)(_e),{getPrefixCls:Oe,direction:Se,pagination:Xe={}}=v.useContext($.E_),Ye=Oe("pagination",f),[pt,dt]=H(Ye),At=Ee!=null?Ee:Xe.showSizeChanger,Rt=v.useMemo(()=>{const Et=v.createElement("span",{className:`${Ye}-item-ellipsis`},"\u2022\u2022\u2022"),rn=v.createElement("button",{className:`${Ye}-item-link`,type:"button",tabIndex:-1},Se==="rtl"?v.createElement(m.Z,null):v.createElement(h.Z,null)),hn=v.createElement("button",{className:`${Ye}-item-link`,type:"button",tabIndex:-1},Se==="rtl"?v.createElement(h.Z,null):v.createElement(m.Z,null)),Pn=v.createElement("a",{className:`${Ye}-item-link`},v.createElement("div",{className:`${Ye}-item-container`},Se==="rtl"?v.createElement(e.Z,{className:`${Ye}-item-link-icon`}):v.createElement(W,{className:`${Ye}-item-link-icon`}),Et)),Sn=v.createElement("a",{className:`${Ye}-item-link`},v.createElement("div",{className:`${Ye}-item-container`},Se==="rtl"?v.createElement(W,{className:`${Ye}-item-link-icon`}):v.createElement(e.Z,{className:`${Ye}-item-link-icon`}),Et));return{prevIcon:rn,nextIcon:hn,jumpPrevIcon:Pn,jumpNextIcon:Sn}},[Se,Ye]),[Zt]=(0,p.Z)("Pagination",A.Z),Nt=Object.assign(Object.assign({},Zt),oe),sn=(0,i.Z)(de),Lt=sn==="small"||!!(Ce&&!sn&&_e),rt=Oe("select",G),Vt=r()({[`${Ye}-mini`]:Lt,[`${Ye}-rtl`]:Se==="rtl"},Xe==null?void 0:Xe.className,j,B,dt),_t=Object.assign(Object.assign({},Xe==null?void 0:Xe.style),q);return pt(v.createElement(O,Object.assign({},Rt,ge,{style:_t,prefixCls:Ye,selectPrefixCls:rt,className:Vt,selectComponentClass:le||(Lt?re:ie),locale:Nt,showSizeChanger:At})))},x=ee},5112:function(qe,ve,t){"use strict";t.d(ve,{ZP:function(){return o}});var _=t(92310),v=t.n(_),N=t(18929),V=t(26112),C=t(59301),k=t(36355),l=t(19716);const W=C.createContext(null),e=W.Provider;var h=W;const m=C.createContext(null),n=m.Provider;var r=t(5630),a=t(8654),u=t(1684),b=t(32441),z=t(17313),E=t(83116),y=t(37613);const I=p=>{const{componentCls:F,antCls:re}=p,ie=`${F}-group`;return{[ie]:Object.assign(Object.assign({},(0,z.Wf)(p)),{display:"inline-block",fontSize:0,[`&${ie}-rtl`]:{direction:"rtl"},[`${re}-badge ${re}-badge-count`]:{zIndex:1},[`> ${re}-badge:not(:first-child) > ${re}-button-wrapper`]:{borderInlineStart:"none"}})}},S=p=>{const{componentCls:F,wrapperMarginInlineEnd:re,colorPrimary:ie,radioSize:ne,motionDurationSlow:me,motionDurationMid:xe,motionEaseInOutCirc:He,colorBgContainer:Pe,colorBorder:Ue,lineWidth:et,dotSize:lt,colorBgContainerDisabled:je,colorTextDisabled:pe,paddingXS:ue,dotColorDisabled:Z,lineType:H,radioDotDisabledSize:L,wireframe:R,colorWhite:ee}=p,x=`${F}-inner`;return{[`${F}-wrapper`]:Object.assign(Object.assign({},(0,z.Wf)(p)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:re,cursor:"pointer",[`&${F}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:p.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${F}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${et}px ${H} ${ie}`,borderRadius:"50%",visibility:"hidden",content:'""'},[F]:Object.assign(Object.assign({},(0,z.Wf)(p)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${F}-wrapper:hover &,
|
|
|
&:hover ${x}`]:{borderColor:ie},[`${F}-input:focus-visible + ${x}`]:Object.assign({},(0,z.oN)(p)),[`${F}:hover::after, ${F}-wrapper:hover &::after`]:{visibility:"visible"},[`${F}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:ne,height:ne,marginBlockStart:ne/-2,marginInlineStart:ne/-2,backgroundColor:R?ie:ee,borderBlockStart:0,borderInlineStart:0,borderRadius:ne,transform:"scale(0)",opacity:0,transition:`all ${me} ${He}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:ne,height:ne,backgroundColor:Pe,borderColor:Ue,borderStyle:"solid",borderWidth:et,borderRadius:"50%",transition:`all ${xe}`},[`${F}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${F}-checked`]:{[x]:{borderColor:ie,backgroundColor:R?Pe:ie,"&::after":{transform:`scale(${lt/ne})`,opacity:1,transition:`all ${me} ${He}`}}},[`${F}-disabled`]:{cursor:"not-allowed",[x]:{backgroundColor:je,borderColor:Ue,cursor:"not-allowed","&::after":{backgroundColor:Z}},[`${F}-input`]:{cursor:"not-allowed"},[`${F}-disabled + span`]:{color:pe,cursor:"not-allowed"},[`&${F}-checked`]:{[x]:{"&::after":{transform:`scale(${L/ne})`}}}},[`span${F} + *`]:{paddingInlineStart:ue,paddingInlineEnd:ue}})}},c=p=>{const{buttonColor:F,controlHeight:re,componentCls:ie,lineWidth:ne,lineType:me,colorBorder:xe,motionDurationSlow:He,motionDurationMid:Pe,buttonPaddingInline:Ue,fontSize:et,buttonBg:lt,fontSizeLG:je,controlHeightLG:pe,controlHeightSM:ue,paddingXS:Z,borderRadius:H,borderRadiusSM:L,borderRadiusLG:R,buttonCheckedBg:ee,buttonSolidCheckedColor:x,colorTextDisabled:d,colorBgContainerDisabled:f,buttonCheckedBgDisabled:G,buttonCheckedColorDisabled:j,colorPrimary:B,colorPrimaryHover:q,colorPrimaryActive:de,buttonSolidCheckedBg:oe,buttonSolidCheckedHoverBg:le,buttonSolidCheckedActiveBg:_e}=p;return{[`${ie}-button-wrapper`]:{position:"relative",display:"inline-block",height:re,margin:0,paddingInline:Ue,paddingBlock:0,color:F,fontSize:et,lineHeight:`${re-ne*2}px`,background:lt,border:`${ne}px ${me} ${xe}`,borderBlockStartWidth:ne+.02,borderInlineStartWidth:0,borderInlineEndWidth:ne,cursor:"pointer",transition:[`color ${Pe}`,`background ${Pe}`,`box-shadow ${Pe}`].join(","),a:{color:F},[`> ${ie}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-ne,insetInlineStart:-ne,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:ne,paddingInline:0,backgroundColor:xe,transition:`background-color ${He}`,content:'""'}},"&:first-child":{borderInlineStart:`${ne}px ${me} ${xe}`,borderStartStartRadius:H,borderEndStartRadius:H},"&:last-child":{borderStartEndRadius:H,borderEndEndRadius:H},"&:first-child:last-child":{borderRadius:H},[`${ie}-group-large &`]:{height:pe,fontSize:je,lineHeight:`${pe-ne*2}px`,"&:first-child":{borderStartStartRadius:R,borderEndStartRadius:R},"&:last-child":{borderStartEndRadius:R,borderEndEndRadius:R}},[`${ie}-group-small &`]:{height:ue,paddingInline:Z-ne,paddingBlock:0,lineHeight:`${ue-ne*2}px`,"&:first-child":{borderStartStartRadius:L,borderEndStartRadius:L},"&:last-child":{borderStartEndRadius:L,borderEndEndRadius:L}},"&:hover":{position:"relative",color:B},"&:has(:focus-visible)":Object.assign({},(0,z.oN)(p)),[`${ie}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${ie}-button-wrapper-disabled)`]:{zIndex:1,color:B,background:ee,borderColor:B,"&::before":{backgroundColor:B},"&:first-child":{borderColor:B},"&:hover":{color:q,borderColor:q,"&::before":{backgroundColor:q}},"&:active":{color:de,borderColor:de,"&::before":{backgroundColor:de}}},[`${ie}-group-solid &-checked:not(${ie}-button-wrapper-disabled)`]:{color:x,background:oe,borderColor:oe,"&:hover":{color:x,background:le,borderColor:le},"&:active":{color:x,background:_e,borderColor:_e}},"&-disabled":{color:d,backgroundColor:f,borderColor:xe,cursor:"not-allowed","&:first-child, &:hover":{color:d,backgroundColor:f,borderColor:xe}},[`&-disabled${ie}-button-wrapper-checked`]:{color:j,backgroundColor:G,borderColor:xe,boxShadow:"none"}}}},s=p=>p-4*2;var w=(0,E.Z)("Radio",p=>{const{controlOutline:F,controlOutlineWidth:re,radioSize:ie}=p,ne=`0 0 0 ${re}px ${F}`,me=ne,xe=s(ie),He=(0,y.TS)(p,{radioDotDisabledSize:xe,radioFocusShadow:ne,radioButtonFocusShadow:me});return[I(He),S(He),c(He)]},p=>{const{wireframe:F,padding:re,marginXS:ie,lineWidth:ne,fontSizeLG:me,colorText:xe,colorBgContainer:He,colorTextDisabled:Pe,controlItemBgActiveDisabled:Ue,colorTextLightSolid:et,colorPrimary:lt,colorPrimaryHover:je,colorPrimaryActive:pe}=p,ue=4,Z=me,H=F?s(Z):Z-(ue+ne)*2;return{radioSize:Z,dotSize:H,dotColorDisabled:Pe,buttonSolidCheckedColor:et,buttonSolidCheckedBg:lt,buttonSolidCheckedHoverBg:je,buttonSolidCheckedActiveBg:pe,buttonBg:He,buttonCheckedBg:He,buttonColor:xe,buttonCheckedBgDisabled:Ue,buttonCheckedColorDisabled:Pe,buttonPaddingInline:re-ne,wrapperMarginInlineEnd:ie}}),D=t(14088),Y=t(4572),J=function(p,F){var re={};for(var ie in p)Object.prototype.hasOwnProperty.call(p,ie)&&F.indexOf(ie)<0&&(re[ie]=p[ie]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,ie=Object.getOwnPropertySymbols(p);ne<ie.length;ne++)F.indexOf(ie[ne])<0&&Object.prototype.propertyIsEnumerable.call(p,ie[ne])&&(re[ie[ne]]=p[ie[ne]]);return re};const X=(p,F)=>{var re,ie;const ne=C.useContext(h),me=C.useContext(m),{getPrefixCls:xe,direction:He,radio:Pe}=C.useContext(k.E_),Ue=C.useRef(null),et=(0,a.sQ)(F,Ue),{isFormItemInput:lt}=C.useContext(b.aM),je=de=>{var oe,le;(oe=p.onChange)===null||oe===void 0||oe.call(p,de),(le=ne==null?void 0:ne.onChange)===null||le===void 0||le.call(ne,de)},{prefixCls:pe,className:ue,rootClassName:Z,children:H,style:L}=p,R=J(p,["prefixCls","className","rootClassName","children","style"]),ee=xe("radio",pe),x=((ne==null?void 0:ne.optionType)||me)==="button",d=x?`${ee}-button`:ee,[f,G]=w(ee),j=Object.assign({},R),B=C.useContext(u.Z);ne&&(j.name=ne.name,j.onChange=je,j.checked=p.value===ne.value,j.disabled=(re=j.disabled)!==null&&re!==void 0?re:ne.disabled),j.disabled=(ie=j.disabled)!==null&&ie!==void 0?ie:B;const q=v()(`${d}-wrapper`,{[`${d}-wrapper-checked`]:j.checked,[`${d}-wrapper-disabled`]:j.disabled,[`${d}-wrapper-rtl`]:He==="rtl",[`${d}-wrapper-in-form-item`]:lt},Pe==null?void 0:Pe.className,ue,Z,G);return f(C.createElement(D.Z,{component:"Radio",disabled:j.disabled},C.createElement("label",{className:q,style:Object.assign(Object.assign({},Pe==null?void 0:Pe.style),L),onMouseEnter:p.onMouseEnter,onMouseLeave:p.onMouseLeave},C.createElement(r.Z,Object.assign({},j,{className:v()(j.className,!x&&Y.A),type:"radio",prefixCls:d,ref:et})),H!==void 0?C.createElement("span",null,H):null)))};var M=C.forwardRef(X);const g=C.forwardRef((p,F)=>{const{getPrefixCls:re,direction:ie}=C.useContext(k.E_),[ne,me]=(0,N.Z)(p.defaultValue,{value:p.value}),xe=oe=>{const le=ne,_e=oe.target.value;"value"in p||me(_e);const{onChange:Ee}=p;Ee&&_e!==le&&Ee(oe)},{prefixCls:He,className:Pe,rootClassName:Ue,options:et,buttonStyle:lt="outline",disabled:je,children:pe,size:ue,style:Z,id:H,onMouseEnter:L,onMouseLeave:R,onFocus:ee,onBlur:x}=p,d=re("radio",He),f=`${d}-group`,[G,j]=w(d);let B=pe;et&&et.length>0&&(B=et.map(oe=>typeof oe=="string"||typeof oe=="number"?C.createElement(M,{key:oe.toString(),prefixCls:d,disabled:je,value:oe,checked:ne===oe},oe):C.createElement(M,{key:`radio-group-value-options-${oe.value}`,prefixCls:d,disabled:oe.disabled||je,value:oe.value,checked:ne===oe.value,title:oe.title,style:oe.style},oe.label)));const q=(0,l.Z)(ue),de=v()(f,`${f}-${lt}`,{[`${f}-${q}`]:q,[`${f}-rtl`]:ie==="rtl"},Pe,Ue,j);return G(C.createElement("div",Object.assign({},(0,V.Z)(p,{aria:!0,data:!0}),{className:de,style:Z,onMouseEnter:L,onMouseLeave:R,onFocus:ee,onBlur:x,id:H,ref:F}),C.createElement(e,{value:{onChange:xe,value:ne,disabled:p.disabled,name:p.name,optionType:p.optionType}},B)))});var K=C.memo(g),O=function(p,F){var re={};for(var ie in p)Object.prototype.hasOwnProperty.call(p,ie)&&F.indexOf(ie)<0&&(re[ie]=p[ie]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,ie=Object.getOwnPropertySymbols(p);ne<ie.length;ne++)F.indexOf(ie[ne])<0&&Object.prototype.propertyIsEnumerable.call(p,ie[ne])&&(re[ie[ne]]=p[ie[ne]]);return re};const A=(p,F)=>{const{getPrefixCls:re}=C.useContext(k.E_),{prefixCls:ie}=p,ne=O(p,["prefixCls"]),me=re("radio",ie);return C.createElement(n,{value:"button"},C.createElement(M,Object.assign({prefixCls:me},ne,{type:"radio",ref:F})))};var $=C.forwardRef(A);const i=M;i.Button=$,i.Group=K,i.__ANT_RADIO=!0;var o=i},57809:function(qe,ve,t){"use strict";var _=t(92310),v=t.n(_),N=t(77861),V=t(2738),C=t(59301),k=t(53487),l=t(62892),W=t(19080),e=t(36355),h=t(1684),m=t(93891),n=t(19716),r=t(32441),a=t(33234),u=t(14154),b=t(58582),z=t(84443),E=t(66339),y=function(w,D){var Y={};for(var J in w)Object.prototype.hasOwnProperty.call(w,J)&&D.indexOf(J)<0&&(Y[J]=w[J]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,J=Object.getOwnPropertySymbols(w);X<J.length;X++)D.indexOf(J[X])<0&&Object.prototype.propertyIsEnumerable.call(w,J[X])&&(Y[J[X]]=w[J[X]]);return Y};const I="SECRET_COMBOBOX_MODE_DO_NOT_USE",S=(w,D)=>{var Y,{prefixCls:J,bordered:X=!0,className:U,rootClassName:M,getPopupContainer:g,popupClassName:K,dropdownClassName:O,listHeight:A=256,placement:$,listItemHeight:i=24,size:o,disabled:p,notFoundContent:F,status:re,builtinPlacements:ie,dropdownMatchSelectWidth:ne,popupMatchSelectWidth:me,direction:xe,style:He,allowClear:Pe}=w,Ue=y(w,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:et,getPrefixCls:lt,renderEmpty:je,direction:pe,virtual:ue,popupMatchSelectWidth:Z,popupOverflow:H,select:L}=C.useContext(e.E_),R=lt("select",J),ee=lt(),x=xe!=null?xe:pe,{compactSize:d,compactItemClassnames:f}=(0,a.ri)(R,x),[G,j]=(0,u.Z)(R),B=C.useMemo(()=>{const{mode:_t}=Ue;if(_t!=="combobox")return _t===I?"combobox":_t},[Ue.mode]),q=B==="multiple"||B==="tags",de=(0,z.Z)(Ue.suffixIcon,Ue.showArrow),oe=(Y=me!=null?me:ne)!==null&&Y!==void 0?Y:Z,{status:le,hasFeedback:_e,isFormItemInput:Ee,feedbackIcon:ge}=C.useContext(r.aM),Ce=(0,W.F)(le,re);let Oe;F!==void 0?Oe=F:B==="combobox"?Oe=null:Oe=(je==null?void 0:je("Select"))||C.createElement(m.Z,{componentName:"Select"});const{suffixIcon:Se,itemIcon:Xe,removeIcon:Ye,clearIcon:pt}=(0,E.Z)(Object.assign(Object.assign({},Ue),{multiple:q,hasFeedback:_e,feedbackIcon:ge,showSuffixIcon:de,prefixCls:R,showArrow:Ue.showArrow,componentName:"Select"})),dt=Pe===!0?{clearIcon:pt}:Pe,At=(0,V.Z)(Ue,["suffixIcon","itemIcon"]),Rt=v()(K||O,{[`${R}-dropdown-${x}`]:x==="rtl"},M,j),Zt=(0,n.Z)(_t=>{var Et;return(Et=o!=null?o:d)!==null&&Et!==void 0?Et:_t}),Nt=C.useContext(h.Z),sn=p!=null?p:Nt,Lt=v()({[`${R}-lg`]:Zt==="large",[`${R}-sm`]:Zt==="small",[`${R}-rtl`]:x==="rtl",[`${R}-borderless`]:!X,[`${R}-in-form-item`]:Ee},(0,W.Z)(R,Ce,_e),f,L==null?void 0:L.className,U,M,j),rt=C.useMemo(()=>$!==void 0?$:x==="rtl"?"bottomRight":"bottomLeft",[$,x]),Vt=(0,b.Z)(ie,H);return G(C.createElement(N.ZP,Object.assign({ref:D,virtual:ue,showSearch:L==null?void 0:L.showSearch},At,{style:Object.assign(Object.assign({},L==null?void 0:L.style),He),dropdownMatchSelectWidth:oe,builtinPlacements:Vt,transitionName:(0,l.m)(ee,"slide-up",Ue.transitionName),listHeight:A,listItemHeight:i,mode:B,prefixCls:R,placement:rt,direction:x,suffixIcon:Se,menuItemSelectedIcon:Xe,removeIcon:Ye,allowClear:dt,notFoundContent:Oe,className:Lt,getPopupContainer:g||et,dropdownClassName:Rt,disabled:sn})))},c=C.forwardRef(S),s=(0,k.Z)(c);c.SECRET_COMBOBOX_MODE_DO_NOT_USE=I,c.Option=N.Wx,c.OptGroup=N.Xo,c._InternalPanelDoNotUseOrYouWillBeFired=s,ve.default=c},14154:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return c}});var _=t(17313),v=t(74207),N=t(37613),V=t(83116),C=t(13826),k=t(92899);const l=s=>{const{optionHeight:w,optionFontSize:D,optionLineHeight:Y,optionPadding:J}=s;return{position:"relative",display:"block",minHeight:w,padding:J,color:s.colorText,fontWeight:"normal",fontSize:D,lineHeight:Y,boxSizing:"border-box"}};var e=s=>{const{antCls:w,componentCls:D}=s,Y=`${D}-item`,J=`&${w}-slide-up-enter${w}-slide-up-enter-active`,X=`&${w}-slide-up-appear${w}-slide-up-appear-active`,U=`&${w}-slide-up-leave${w}-slide-up-leave-active`,M=`${D}-dropdown-placement-`;return[{[`${D}-dropdown`]:Object.assign(Object.assign({},(0,_.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,[`
|
|
|
${J}${M}bottomLeft,
|
|
|
${X}${M}bottomLeft
|
|
|
`]:{animationName:C.fJ},[`
|
|
|
${J}${M}topLeft,
|
|
|
${X}${M}topLeft,
|
|
|
${J}${M}topRight,
|
|
|
${X}${M}topRight
|
|
|
`]:{animationName:C.Qt},[`${U}${M}bottomLeft`]:{animationName:C.Uw},[`
|
|
|
${U}${M}topLeft,
|
|
|
${U}${M}topRight
|
|
|
`]:{animationName:C.ly},"&-hidden":{display:"none"},[`${Y}`]:Object.assign(Object.assign({},l(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"},_.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Y}-option-disabled)`]:{backgroundColor:s.optionActiveBg},[`&-selected:not(${Y}-option-disabled)`]:{color:s.optionSelectedColor,fontWeight:s.optionSelectedFontWeight,backgroundColor:s.optionSelectedBg,[`${Y}-option-state`]:{color:s.colorPrimary}},"&-disabled":{[`&${Y}-option-selected`]:{backgroundColor:s.colorBgContainerDisabled},color:s.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:s.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,C.oN)(s,"slide-up"),(0,C.oN)(s,"slide-down"),(0,k.Fm)(s,"move-up"),(0,k.Fm)(s,"move-down")]};const h=2,m=s=>{let{controlHeightSM:w,controlHeight:D,lineWidth:Y}=s;const J=(D-w)/2-Y,X=Math.ceil(J/2);return[J,X]};function n(s,w){const{componentCls:D,iconCls:Y}=s,J=`${D}-selection-overflow`,X=s.multipleSelectItemHeight,[U]=m(s),M=w?`${D}-${w}`:"";return{[`${D}-multiple${M}`]:{fontSize:s.fontSize,[J]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${D}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${U-h}px ${h*2}px`,borderRadius:s.borderRadius,[`${D}-show-search&`]:{cursor:"text"},[`${D}-disabled&`]:{background:s.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${h}px 0`,lineHeight:`${X}px`,visibility:"hidden",content:'"\\a0"'}},[`
|
|
|
&${D}-show-arrow ${D}-selector,
|
|
|
&${D}-allow-clear ${D}-selector
|
|
|
`]:{paddingInlineEnd:s.fontSizeIcon+s.controlPaddingHorizontal},[`${D}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:X,marginTop:h,marginBottom:h,lineHeight:`${X-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,[`${D}-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,_.Ro)()),{display:"inline-flex",alignItems:"center",color:s.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Y}`]:{verticalAlign:"-0.2em"},"&:hover":{color:s.colorIconHover}})},[`${J}-item + ${J}-item`]:{[`${D}-selection-search`]:{marginInlineStart:0}},[`${D}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:s.inputPaddingHorizontalBase-U,"\n &-input,\n &-mirror\n ":{height:X,fontFamily:s.fontFamily,lineHeight:`${X}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"}},[`${D}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:s.inputPaddingHorizontalBase,insetInlineEnd:s.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${s.motionDurationSlow}`}}}}var a=s=>{const{componentCls:w}=s,D=(0,N.TS)(s,{controlHeight:s.controlHeightSM,multipleSelectItemHeight:s.controlHeightXS,borderRadius:s.borderRadiusSM,borderRadiusSM:s.borderRadiusXS}),Y=(0,N.TS)(s,{fontSize:s.fontSizeLG,controlHeight:s.controlHeightLG,multipleSelectItemHeight:s.multipleItemHeightLG,borderRadius:s.borderRadiusLG,borderRadiusSM:s.borderRadius}),[,J]=m(s);return[n(s),n(D,"sm"),{[`${w}-multiple${w}-sm`]:{[`${w}-selection-placeholder`]:{insetInline:s.controlPaddingHorizontalSM-s.lineWidth},[`${w}-selection-search`]:{marginInlineStart:J}}},n(Y,"lg")]};function u(s,w){const{componentCls:D,inputPaddingHorizontalBase:Y,borderRadius:J}=s,X=s.controlHeight-s.lineWidth*2,U=Math.ceil(s.fontSize*1.25),M=w?`${D}-${w}`:"";return{[`${D}-single${M}`]:{fontSize:s.fontSize,[`${D}-selector`]:Object.assign(Object.assign({},(0,_.Wf)(s)),{display:"flex",borderRadius:J,[`${D}-selection-search`]:{position:"absolute",top:0,insetInlineStart:Y,insetInlineEnd:Y,bottom:0,"&-input":{width:"100%"}},[`
|
|
|
${D}-selection-item,
|
|
|
${D}-selection-placeholder
|
|
|
`]:{padding:0,lineHeight:`${X}px`,transition:`all ${s.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${X}px`}},[`${D}-selection-item`]:{position:"relative",userSelect:"none"},[`${D}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${D}-selection-item:after`,`${D}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${D}-show-arrow ${D}-selection-item,
|
|
|
&${D}-show-arrow ${D}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:U},[`&${D}-open ${D}-selection-item`]:{color:s.colorTextPlaceholder},[`&:not(${D}-customize-input)`]:{[`${D}-selector`]:{width:"100%",height:s.controlHeight,padding:`0 ${Y}px`,[`${D}-selection-search-input`]:{height:X},"&:after":{lineHeight:`${X}px`}}},[`&${D}-customize-input`]:{[`${D}-selector`]:{"&:after":{display:"none"},[`${D}-selection-search`]:{position:"static",width:"100%"},[`${D}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Y}px`,"&:after":{display:"none"}}}}}}}function b(s){const{componentCls:w}=s,D=s.controlPaddingHorizontalSM-s.lineWidth;return[u(s),u((0,N.TS)(s,{controlHeight:s.controlHeightSM,borderRadius:s.borderRadiusSM}),"sm"),{[`${w}-single${w}-sm`]:{[`&:not(${w}-customize-input)`]:{[`${w}-selection-search`]:{insetInlineStart:D,insetInlineEnd:D},[`${w}-selector`]:{padding:`0 ${D}px`},[`&${w}-show-arrow ${w}-selection-search`]:{insetInlineEnd:D+s.fontSize*1.5},[`
|
|
|
&${w}-show-arrow ${w}-selection-item,
|
|
|
&${w}-show-arrow ${w}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:s.fontSize*1.5}}}},u((0,N.TS)(s,{controlHeight:s.singleItemHeightLG,fontSize:s.fontSizeLG,borderRadius:s.borderRadiusLG}),"lg")]}const z=s=>{const{componentCls:w,selectorBg:D}=s;return{position:"relative",backgroundColor:D,border:`${s.lineWidth}px ${s.lineType} ${s.colorBorder}`,transition:`all ${s.motionDurationMid} ${s.motionEaseInOut}`,input:{cursor:"pointer"},[`${w}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${w}-disabled&`]:{color:s.colorTextDisabled,background:s.colorBgContainerDisabled,cursor:"not-allowed",[`${w}-multiple&`]:{background:s.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},E=function(s,w){let D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:Y,borderHoverColor:J,outlineColor:X,antCls:U}=w,M=D?{[`${Y}-selector`]:{borderColor:J}}:{};return{[s]:{[`&:not(${Y}-disabled):not(${Y}-customize-input):not(${U}-pagination-size-changer)`]:Object.assign(Object.assign({},M),{[`${Y}-focused& ${Y}-selector`]:{borderColor:J,boxShadow:`0 0 0 ${w.controlOutlineWidth}px ${X}`,outline:0},[`&:hover ${Y}-selector`]:{borderColor:J}})}}},y=s=>{const{componentCls:w}=s;return{[`${w}-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:w,inputPaddingHorizontalBase:D,iconCls:Y}=s;return{[w]:Object.assign(Object.assign({},(0,_.Wf)(s)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${w}-customize-input) ${w}-selector`]:Object.assign(Object.assign({},z(s)),y(s)),[`${w}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},_.vS),[`${w}-selection-placeholder`]:Object.assign(Object.assign({},_.vS),{flex:1,color:s.colorTextPlaceholder,pointerEvents:"none"}),[`${w}-arrow`]:Object.assign(Object.assign({},(0,_.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:D,height:s.fontSizeIcon,marginTop:-s.fontSizeIcon/2,color:s.colorTextQuaternary,fontSize:s.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[Y]:{verticalAlign:"top",transition:`transform ${s.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${w}-suffix)`]:{pointerEvents:"auto"}},[`${w}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${w}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:D,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":{[`${w}-clear`]:{opacity:1}}}),[`${w}-has-feedback`]:{[`${w}-clear`]:{insetInlineEnd:D+s.fontSize+s.paddingXS}}}},S=s=>{const{componentCls:w}=s;return[{[w]:{[`&-borderless ${w}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${w}-in-form-item`]:{width:"100%"}}},I(s),b(s),a(s),e(s),{[`${w}-rtl`]:{direction:"rtl"}},E(w,(0,N.TS)(s,{borderHoverColor:s.colorPrimaryHover,outlineColor:s.controlOutline})),E(`${w}-status-error`,(0,N.TS)(s,{borderHoverColor:s.colorErrorHover,outlineColor:s.colorErrorOutline}),!0),E(`${w}-status-warning`,(0,N.TS)(s,{borderHoverColor:s.colorWarningHover,outlineColor:s.colorWarningOutline}),!0),(0,v.c)(s,{borderElCls:`${w}-selector`,focusElCls:`${w}-focused`})]};var c=(0,V.Z)("Select",(s,w)=>{let{rootPrefixCls:D}=w;const Y=(0,N.TS)(s,{rootPrefixCls:D,inputPaddingHorizontalBase:s.paddingSM-1,multipleSelectItemHeight:s.multipleItemHeight});return[S(Y)]},s=>{const{fontSize:w,lineHeight:D,controlHeight:Y,controlPaddingHorizontal:J,zIndexPopupBase:X,colorText:U,fontWeightStrong:M,controlItemBgActive:g,controlItemBgHover:K,colorBgContainer:O,colorFillSecondary:A,controlHeightLG:$,controlHeightSM:i,colorBgContainerDisabled:o,colorTextDisabled:p}=s;return{zIndexPopup:X+50,optionSelectedColor:U,optionSelectedFontWeight:M,optionSelectedBg:g,optionActiveBg:K,optionPadding:`${(Y-w*D)/2}px ${J}px`,optionFontSize:w,optionLineHeight:D,optionHeight:Y,selectorBg:O,clearBg:O,singleItemHeightLG:$,multipleItemBg:A,multipleItemBorderColor:"transparent",multipleItemHeight:i,multipleItemHeightLG:Y,multipleSelectorBgDisabled:o,multipleItemColorDisabled:p,multipleItemBorderColorDisabled:"transparent"}})},58582:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return v}});const _=N=>{const C={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:N==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},C),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},C),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},C),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},C),{points:["br","tr"],offset:[0,-4]})}};function v(N,V){return N||_(V)}},84443:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return _}});function _(v,N){return N!==void 0?N:v!==null}},66339:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});var _=t(40001),v=t(19248),N=t(99267),V=t(84105),C=t(58617),k=t(47472),l=t(59301);function W(e){let{suffixIcon:h,clearIcon:m,menuItemSelectedIcon:n,removeIcon:r,loading:a,multiple:u,hasFeedback:b,prefixCls:z,showSuffixIcon:E,feedbackIcon:y,showArrow:I,componentName:S}=e;const c=m!=null?m:l.createElement(v.Z,null),s=J=>h===null&&!b&&!I?null:l.createElement(l.Fragment,null,E!==!1&&J,b&&y);let w=null;if(h!==void 0)w=s(h);else if(a)w=s(l.createElement(C.Z,{spin:!0}));else{const J=`${z}-suffix`;w=X=>{let{open:U,showSearch:M}=X;return s(U&&M?l.createElement(k.Z,{className:J}):l.createElement(V.Z,{className:J}))}}let D=null;n!==void 0?D=n:u?D=l.createElement(_.Z,null):D=null;let Y=null;return r!==void 0?Y=r:Y=l.createElement(N.Z,null),{clearIcon:c,suffixIcon:w,itemIcon:D,removeIcon:Y}}},81327:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return z}});var _=t(59301),v=t(92310),N=t.n(v),V=t(11592),C=t(36355),k=t(33234);const l=_.createContext({latestIndex:0}),W=l.Provider;var h=E=>{let{className:y,index:I,children:S,split:c,style:s}=E;const{latestIndex:w}=_.useContext(l);return S==null?null:_.createElement(_.Fragment,null,_.createElement("div",{className:y,style:s},S),I<w&&c&&_.createElement("span",{className:`${y}-split`},c))},m=t(2856);function n(E){return["small","middle","large"].includes(E)}function r(E){return E?typeof E=="number"&&!Number.isNaN(E):!1}var a=function(E,y){var I={};for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&y.indexOf(S)<0&&(I[S]=E[S]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,S=Object.getOwnPropertySymbols(E);c<S.length;c++)y.indexOf(S[c])<0&&Object.prototype.propertyIsEnumerable.call(E,S[c])&&(I[S[c]]=E[S[c]]);return I};const b=_.forwardRef((E,y)=>{var I,S;const{getPrefixCls:c,space:s,direction:w}=_.useContext(C.E_),{size:D=(s==null?void 0:s.size)||"small",align:Y,className:J,rootClassName:X,children:U,direction:M="horizontal",prefixCls:g,split:K,style:O,wrap:A=!1,classNames:$,styles:i}=E,o=a(E,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[p,F]=Array.isArray(D)?D:[D,D],re=n(F),ie=n(p),ne=r(F),me=r(p),xe=(0,V.Z)(U,{keepEmpty:!0}),He=Y===void 0&&M==="horizontal"?"center":Y,Pe=c("space",g),[Ue,et]=(0,m.Z)(Pe),lt=N()(Pe,s==null?void 0:s.className,et,`${Pe}-${M}`,{[`${Pe}-rtl`]:w==="rtl",[`${Pe}-align-${He}`]:He,[`${Pe}-gap-row-${F}`]:re,[`${Pe}-gap-col-${p}`]:ie},J,X),je=N()(`${Pe}-item`,(I=$==null?void 0:$.item)!==null&&I!==void 0?I:(S=s==null?void 0:s.classNames)===null||S===void 0?void 0:S.item);let pe=0;const ue=xe.map((L,R)=>{var ee,x;L!=null&&(pe=R);const d=L&&L.key||`${je}-${R}`;return _.createElement(h,{className:je,key:d,index:R,split:K,style:(ee=i==null?void 0:i.item)!==null&&ee!==void 0?ee:(x=s==null?void 0:s.styles)===null||x===void 0?void 0:x.item},L)}),Z=_.useMemo(()=>({latestIndex:pe}),[pe]);if(xe.length===0)return null;const H={};return A&&(H.flexWrap="wrap"),!ie&&me&&(H.columnGap=p),!re&&ne&&(H.rowGap=F),Ue(_.createElement("div",Object.assign({ref:y,className:lt,style:Object.assign(Object.assign(Object.assign({},H),s==null?void 0:s.style),O)},o),_.createElement(W,{value:Z},ue)))});b.Compact=k.ZP;var z=b},8378:function(qe,ve){"use strict";const t=_=>({[_.componentCls]:{[`${_.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${_.motionDurationMid} ${_.motionEaseInOut},
|
|
|
opacity ${_.motionDurationMid} ${_.motionEaseInOut} !important`}},[`${_.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${_.motionDurationMid} ${_.motionEaseInOut},
|
|
|
opacity ${_.motionDurationMid} ${_.motionEaseInOut} !important`}}});ve.Z=t},92899:function(qe,ve,t){"use strict";t.d(ve,{Fm:function(){return n}});var _=t(93083),v=t(95406);const N=new _.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 _.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),C=new _.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),k=new _.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),l=new _.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 _.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 _.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 _.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),m={"move-up":{inKeyframes:e,outKeyframes:h},"move-down":{inKeyframes:N,outKeyframes:V},"move-left":{inKeyframes:C,outKeyframes:k},"move-right":{inKeyframes:l,outKeyframes:W}},n=(r,a)=>{const{antCls:u}=r,b=`${u}-${a}`,{inKeyframes:z,outKeyframes:E}=m[a];return[(0,v.R)(b,z,E,r.motionDurationMid),{[`
|
|
|
${b}-enter,
|
|
|
${b}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:r.motionEaseOutCirc},[`${b}-leave`]:{animationTimingFunction:r.motionEaseInOutCirc}}]}},13826:function(qe,ve,t){"use strict";t.d(ve,{Qt:function(){return C},Uw:function(){return V},fJ:function(){return N},ly:function(){return k},oN:function(){return n}});var _=t(93083),v=t(95406);const N=new _.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),V=new _.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),C=new _.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),k=new _.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),l=new _.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),W=new _.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),e=new _.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),h=new _.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),m={"slide-up":{inKeyframes:N,outKeyframes:V},"slide-down":{inKeyframes:C,outKeyframes:k},"slide-left":{inKeyframes:l,outKeyframes:W},"slide-right":{inKeyframes:e,outKeyframes:h}},n=(r,a)=>{const{antCls:u}=r,b=`${u}-${a}`,{inKeyframes:z,outKeyframes:E}=m[a];return[(0,v.R)(b,z,E,r.motionDurationMid),{[`
|
|
|
${b}-enter,
|
|
|
${b}-appear
|
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:r.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${b}-leave`]:{animationTimingFunction:r.motionEaseInQuint}}]}},15969:function(qe,ve,t){"use strict";t.d(ve,{N:function(){return _}});const _=v=>({color:v.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${v.motionDurationSlow}`,"&:focus, &:hover":{color:v.colorLinkHover},"&:active":{color:v.colorLinkActive}})},19447:function(qe,ve,t){"use strict";t.d(ve,{ZP:function(){return C},fS:function(){return N},qN:function(){return v}});var _=t(47585);const v=8;function N(k){const l=v,{contentRadius:W,limitVerticalRadius:e}=k,h=W>12?W+2:12;return{dropdownArrowOffset:h,dropdownArrowOffsetVertical:e?l:h}}function V(k,l){return k?l:{}}function C(k,l){const{componentCls:W,sizePopupArrow:e,borderRadiusXS:h,borderRadiusOuter:m,boxShadowPopoverArrow:n}=k,{colorBg:r,contentRadius:a=k.borderRadiusLG,limitVerticalRadius:u,arrowDistance:b=0,arrowPlacement:z={left:!0,right:!0,top:!0,bottom:!0}}=l,{dropdownArrowOffsetVertical:E,dropdownArrowOffset:y}=N({contentRadius:a,limitVerticalRadius:u});return{[W]:Object.assign(Object.assign(Object.assign(Object.assign({[`${W}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,_.r)(e,h,m,r,n)),{"&:before":{background:r}})]},V(!!z.top,{[[`&-placement-top ${W}-arrow`,`&-placement-topLeft ${W}-arrow`,`&-placement-topRight ${W}-arrow`].join(",")]:{bottom:b,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:y}},[`&-placement-topRight ${W}-arrow`]:{right:{_skip_check_:!0,value:y}}})),V(!!z.bottom,{[[`&-placement-bottom ${W}-arrow`,`&-placement-bottomLeft ${W}-arrow`,`&-placement-bottomRight ${W}-arrow`].join(",")]:{top:b,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:y}},[`&-placement-bottomRight ${W}-arrow`]:{right:{_skip_check_:!0,value:y}}})),V(!!z.left,{[[`&-placement-left ${W}-arrow`,`&-placement-leftTop ${W}-arrow`,`&-placement-leftBottom ${W}-arrow`].join(",")]:{right:{_skip_check_:!0,value:b},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(!!z.right,{[[`&-placement-right ${W}-arrow`,`&-placement-rightTop ${W}-arrow`,`&-placement-rightBottom ${W}-arrow`].join(",")]:{left:{_skip_check_:!0,value:b},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(qe,ve,t){"use strict";t.d(ve,{r:function(){return _}});const _=(v,N,V,C,k)=>{const l=v/2,W=0,e=l,h=V*1/Math.sqrt(2),m=l-V*(1-1/Math.sqrt(2)),n=l-N*(1/Math.sqrt(2)),r=V*(Math.sqrt(2)-1)+N*(1/Math.sqrt(2)),a=2*l-n,u=r,b=2*l-h,z=m,E=2*l-W,y=e,I=l*Math.sqrt(2)+V*(Math.sqrt(2)-2),S=V*(Math.sqrt(2)-1);return{pointerEvents:"none",width:v,height:v,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:v,height:v/2,background:C,clipPath:{_multi_value_:!0,value:[`polygon(${S}px 100%, 50% ${S}px, ${2*l-S}px 100%, ${S}px 100%)`,`path('M ${W} ${e} A ${V} ${V} 0 0 0 ${h} ${m} L ${n} ${r} A ${N} ${N} 0 0 1 ${a} ${u} L ${b} ${z} A ${V} ${V} 0 0 0 ${E} ${y} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:I,height:I,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${N}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:k,zIndex:0,background:"transparent"}}}},1710:function(qe,ve,t){"use strict";t.d(ve,{default:function(){return Bo}});var _={},v="rc-table-internal-hook",N=t(33606),V=t(6089),C=t(34280),k=t(13697),l=t(59301),W=t(4676);function e(P){var T=l.createContext(void 0),Q=function(fe){var he=fe.value,Ie=fe.children,Re=l.useRef(he);Re.current=he;var be=l.useState(function(){return{getValue:function(){return Re.current},listeners:new Set}}),Te=(0,N.Z)(be,1),We=Te[0];return(0,C.Z)(function(){(0,W.unstable_batchedUpdates)(function(){We.listeners.forEach(function(ze){ze(he)})})},[he]),l.createElement(T.Provider,{value:We},Ie)};return{Context:T,Provider:Q,defaultValue:P}}function h(P,T){var Q=(0,V.Z)(typeof T=="function"?T:function(ze){if(T===void 0)return ze;if(!Array.isArray(T))return ze[T];var ut={};return T.forEach(function(nt){ut[nt]=ze[nt]}),ut}),se=l.useContext(P==null?void 0:P.Context),fe=se||{},he=fe.listeners,Ie=fe.getValue,Re=l.useRef();Re.current=Q(se?Ie():P==null?void 0:P.defaultValue);var be=l.useState({}),Te=(0,N.Z)(be,2),We=Te[1];return(0,C.Z)(function(){if(!se)return;function ze(ut){var nt=Q(ut);(0,k.Z)(Re.current,nt,!0)||We({})}return he.add(ze),function(){he.delete(ze)}},[se]),Re.current}var m=t(92413),n=t(8654);function r(){var P=l.createContext(null);function T(){return l.useContext(P)}function Q(fe,he){var Ie=(0,n.Yr)(fe),Re=function(Te,We){var ze=Ie?{ref:We}:{},ut=l.useRef(0),nt=l.useRef(Te),at=T();return at!==null?l.createElement(fe,(0,m.Z)({},Te,ze)):((!he||he(nt.current,Te))&&(ut.current+=1),nt.current=Te,l.createElement(P.Provider,{value:ut.current},l.createElement(fe,(0,m.Z)({},Te,ze))))};return Ie?l.forwardRef(Re):Re}function se(fe,he){var Ie=(0,n.Yr)(fe),Re=function(Te,We){var ze=Ie?{ref:We}:{};return T(),l.createElement(fe,(0,m.Z)({},Te,ze))};return Ie?l.memo(l.forwardRef(Re),he):l.memo(Re,he)}return{makeImmutable:Q,responseImmutable:se,useImmutableMark:T}}var a=r(),u=a.makeImmutable,b=a.responseImmutable,z=a.useImmutableMark,E=r(),y=E.makeImmutable,I=E.responseImmutable,S=E.useImmutableMark,c=e(),s=c;function w(P,T){var Q=l.useRef(0);Q.current+=1;var se=l.useRef(P),fe=[];Object.keys(P||{}).map(function(Ie){var Re;(P==null?void 0:P[Ie])!==((Re=se.current)===null||Re===void 0?void 0:Re[Ie])&&fe.push(Ie)}),se.current=P;var he=l.useRef([]);return fe.length&&(he.current=fe),l.useDebugValue(Q.current),l.useDebugValue(he.current.join(", ")),T&&console.log("".concat(T,":"),Q.current,he.current),Q.current}var D=null,Y=l.memo(function(){var P=w();return l.createElement("h1",null,"Render Times: ",P)});Y.displayName="RenderBlock";var J=t(39559),X=t(33708),U=t(400),M=t(92310),g=t.n(M),K=t(80547),O=t(97938),A=t(48736),$=l.createContext({renderWithProps:!1}),i=$,o="RC_TABLE_KEY";function p(P){return P==null?[]:Array.isArray(P)?P:[P]}function F(P){var T=[],Q={};return P.forEach(function(se){for(var fe=se||{},he=fe.key,Ie=fe.dataIndex,Re=he||p(Ie).join("-")||o;Q[Re];)Re="".concat(Re,"_next");Q[Re]=!0,T.push(Re)}),T}function re(P){return P!=null}function ie(P){return P&&(0,J.Z)(P)==="object"&&!Array.isArray(P)&&!l.isValidElement(P)}function ne(P,T,Q,se,fe,he){var Ie=l.useContext(i),Re=S(),be=(0,K.Z)(function(){if(re(se))return[se];var Te=T==null||T===""?[]:Array.isArray(T)?T:[T],We=(0,O.Z)(P,Te),ze=We,ut=void 0;if(fe){var nt=fe(We,P,Q);ie(nt)?(ze=nt.children,ut=nt.props,Ie.renderWithProps=!0):ze=nt}return[ze,ut]},[Re,P,se,T,fe,Q],function(Te,We){if(he){var ze=(0,N.Z)(Te,2),ut=ze[1],nt=(0,N.Z)(We,2),at=nt[1];return he(at,ut)}return Ie.renderWithProps?!0:!(0,k.Z)(Te,We,!0)});return be}function me(P,T,Q,se){var fe=P+T-1;return P<=se&&fe>=Q}function xe(P,T){return h(s,function(Q){var se=me(P,T||1,Q.hoverStartRow,Q.hoverEndRow);return[se,Q.onHover]})}var He=function(T){var Q=T.ellipsis,se=T.rowType,fe=T.children,he,Ie=Q===!0?{showTitle:!0}:Q;return Ie&&(Ie.showTitle||se==="header")&&(typeof fe=="string"||typeof fe=="number"?he=fe.toString():l.isValidElement(fe)&&typeof fe.props.children=="string"&&(he=fe.props.children)),he};function Pe(P){var T,Q,se,fe,he,Ie,Re,be,Te=P.component,We=P.children,ze=P.ellipsis,ut=P.scope,nt=P.prefixCls,at=P.className,Ot=P.align,bt=P.record,It=P.render,wt=P.dataIndex,Tt=P.renderIndex,fn=P.shouldCellUpdate,pn=P.index,en=P.rowType,In=P.colSpan,Ln=P.rowSpan,Kt=P.fixLeft,nn=P.fixRight,kt=P.firstFixLeft,$t=P.lastFixLeft,Qt=P.firstFixRight,On=P.lastFixRight,jn=P.appendNode,An=P.additionalProps,mn=An===void 0?{}:An,Un=P.isSticky,Xn="".concat(nt,"-cell"),vr=h(s,["supportSticky","allColumnsFixedLeft"]),sr=vr.supportSticky,Fr=vr.allColumnsFixedLeft,Kr=ne(bt,wt,Tt,We,It,fn),Bn=(0,N.Z)(Kr,2),Vr=Bn[0],lr=Bn[1],Pr={},Or=typeof Kt=="number"&&sr,Si=typeof nn=="number"&&sr;Or&&(Pr.position="sticky",Pr.left=Kt),Si&&(Pr.position="sticky",Pr.right=nn);var bn=(T=(Q=(se=lr==null?void 0:lr.colSpan)!==null&&se!==void 0?se:mn.colSpan)!==null&&Q!==void 0?Q:In)!==null&&T!==void 0?T:1,yn=(fe=(he=(Ie=lr==null?void 0:lr.rowSpan)!==null&&Ie!==void 0?Ie:mn.rowSpan)!==null&&he!==void 0?he:Ln)!==null&&fe!==void 0?fe:1,vn=xe(pn,yn),cn=(0,N.Z)(vn,2),ur=cn[0],dn=cn[1],Mn=function(Xr){var Ei;bt&&dn(pn,pn+yn-1),mn==null||(Ei=mn.onMouseEnter)===null||Ei===void 0||Ei.call(mn,Xr)},ir=function(Xr){var Ei;bt&&dn(-1,-1),mn==null||(Ei=mn.onMouseLeave)===null||Ei===void 0||Ei.call(mn,Xr)};if(bn===0||yn===0)return null;var er=(Re=mn.title)!==null&&Re!==void 0?Re:He({rowType:en,ellipsis:ze,children:Vr}),fi=g()(Xn,at,(be={},(0,U.Z)(be,"".concat(Xn,"-fix-left"),Or&&sr),(0,U.Z)(be,"".concat(Xn,"-fix-left-first"),kt&&sr),(0,U.Z)(be,"".concat(Xn,"-fix-left-last"),$t&&sr),(0,U.Z)(be,"".concat(Xn,"-fix-left-all"),$t&&Fr&&sr),(0,U.Z)(be,"".concat(Xn,"-fix-right"),Si&&sr),(0,U.Z)(be,"".concat(Xn,"-fix-right-first"),Qt&&sr),(0,U.Z)(be,"".concat(Xn,"-fix-right-last"),On&&sr),(0,U.Z)(be,"".concat(Xn,"-ellipsis"),ze),(0,U.Z)(be,"".concat(Xn,"-with-append"),jn),(0,U.Z)(be,"".concat(Xn,"-fix-sticky"),(Or||Si)&&Un&&sr),(0,U.Z)(be,"".concat(Xn,"-row-hover"),!lr&&ur),be),mn.className,lr==null?void 0:lr.className),ii={};Ot&&(ii.textAlign=Ot);var Ki=(0,X.Z)((0,X.Z)((0,X.Z)((0,X.Z)({},Pr),mn.style),ii),lr==null?void 0:lr.style),Gr=Vr;return(0,J.Z)(Gr)==="object"&&!Array.isArray(Gr)&&!l.isValidElement(Gr)&&(Gr=null),ze&&($t||Qt)&&(Gr=l.createElement("span",{className:"".concat(Xn,"-content")},Gr)),l.createElement(Te,(0,m.Z)({},lr,mn,{className:fi,style:Ki,title:er,scope:ut,onMouseEnter:Mn,onMouseLeave:ir,colSpan:bn!==1?bn:null,rowSpan:yn!==1?yn:null}),jn,Gr)}var Ue=l.memo(Pe);function et(P,T,Q,se,fe,he){var Ie=Q[P]||{},Re=Q[T]||{},be,Te;Ie.fixed==="left"?be=se.left[fe==="rtl"?T:P]:Re.fixed==="right"&&(Te=se.right[fe==="rtl"?P:T]);var We=!1,ze=!1,ut=!1,nt=!1,at=Q[T+1],Ot=Q[P-1],bt=!(he!=null&&he.children);if(fe==="rtl"){if(be!==void 0){var It=Ot&&Ot.fixed==="left";nt=!It&&bt}else if(Te!==void 0){var wt=at&&at.fixed==="right";ut=!wt&&bt}}else if(be!==void 0){var Tt=at&&at.fixed==="left";We=!Tt&&bt}else if(Te!==void 0){var fn=Ot&&Ot.fixed==="right";ze=!fn&&bt}return{fixLeft:be,fixRight:Te,lastFixLeft:We,firstFixRight:ze,lastFixRight:ut,firstFixLeft:nt,isSticky:se.isSticky}}var lt=l.createContext({}),je=lt;function pe(P){var T=P.className,Q=P.index,se=P.children,fe=P.colSpan,he=fe===void 0?1:fe,Ie=P.rowSpan,Re=P.align,be=h(s,["prefixCls","direction"]),Te=be.prefixCls,We=be.direction,ze=l.useContext(je),ut=ze.scrollColumnIndex,nt=ze.stickyOffsets,at=ze.flattenColumns,Ot=ze.columns,bt=Q+he-1,It=bt+1===ut?he+1:he,wt=et(Q,Q+It-1,at,nt,We,Ot==null?void 0:Ot[Q]);return l.createElement(Ue,(0,m.Z)({className:T,index:Q,component:"td",prefixCls:Te,record:null,dataIndex:null,align:Re,colSpan:It,rowSpan:Ie,render:function(){return se}},wt))}var ue=t(37061),Z=["children"];function H(P){var T=P.children,Q=(0,ue.Z)(P,Z);return l.createElement("tr",Q,T)}function L(P){var T=P.children;return T}L.Row=H,L.Cell=pe;var R=L;function ee(P){var T=P.children,Q=P.stickyOffsets,se=P.flattenColumns,fe=P.columns,he=h(s,"prefixCls"),Ie=se.length-1,Re=se[Ie],be=l.useMemo(function(){return{stickyOffsets:Q,flattenColumns:se,scrollColumnIndex:Re!=null&&Re.scrollbar?Ie:null,columns:fe}},[Re,se,Ie,Q,fe]);return l.createElement(je.Provider,{value:be},l.createElement("tfoot",{className:"".concat(he,"-summary")},T))}var x=I(ee),d=R,f=t(70425),G=t(29301),j=t(29194),B=t(24514),q=t(75152),de=t(26112);function oe(P,T,Q,se,fe,he,Ie){P.push({record:T,indent:Q,index:Ie});var Re=he(T),be=fe==null?void 0:fe.has(Re);if(T&&Array.isArray(T[se])&&be)for(var Te=0;Te<T[se].length;Te+=1)oe(P,T[se][Te],Q+1,se,fe,he,Te)}function le(P,T,Q,se){var fe=l.useMemo(function(){if(Q!=null&&Q.size){for(var he=[],Ie=0;Ie<(P==null?void 0:P.length);Ie+=1){var Re=P[Ie];oe(he,Re,0,T,Q,se,Ie)}return he}return P==null?void 0:P.map(function(be,Te){return{record:be,indent:0,index:Te}})},[P,T,Q,se]);return fe}function _e(P){var T=P.prefixCls,Q=P.children,se=P.component,fe=P.cellComponent,he=P.className,Ie=P.expanded,Re=P.colSpan,be=P.isEmpty,Te=h(s,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),We=Te.scrollbarSize,ze=Te.fixHeader,ut=Te.fixColumn,nt=Te.componentWidth,at=Te.horizonScroll,Ot=Q;return(be?at&&nt:ut)&&(Ot=l.createElement("div",{style:{width:nt-(ze?We:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(T,"-expanded-row-fixed")},Ot)),l.createElement(se,{className:he,style:{display:Ie?null:"none"}},l.createElement(Ue,{component:fe,prefixCls:T,colSpan:Re},Ot))}var Ee=_e;function ge(P,T,Q,se){var fe=h(s,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),he=fe.flattenColumns,Ie=fe.expandableType,Re=fe.expandedKeys,be=fe.childrenColumnName,Te=fe.onTriggerExpand,We=fe.rowExpandable,ze=fe.onRow,ut=fe.expandRowByClick,nt=fe.rowClassName,at=Ie==="nest",Ot=Ie==="row"&&(!We||We(P)),bt=Ot||at,It=Re&&Re.has(T),wt=be&&P&&P[be],Tt=(0,f.useEvent)(Te),fn=ze==null?void 0:ze(P,Q),pn=fn==null?void 0:fn.onClick,en=function(nn){ut&&bt&&Te(P,nn);for(var kt=arguments.length,$t=new Array(kt>1?kt-1:0),Qt=1;Qt<kt;Qt++)$t[Qt-1]=arguments[Qt];pn==null||pn.apply(void 0,[nn].concat($t))},In;typeof nt=="string"?In=nt:typeof nt=="function"&&(In=nt(P,Q,se));var Ln=F(he);return(0,X.Z)((0,X.Z)({},fe),{},{columnsKey:Ln,nestExpandable:at,expanded:It,hasNestChildren:wt,record:P,onTriggerExpand:Tt,rowSupportExpand:Ot,expandable:bt,rowProps:(0,X.Z)((0,X.Z)({},fn),{},{className:g()(In,fn==null?void 0:fn.className),onClick:en})})}function Ce(P,T,Q,se,fe){var he=P.record,Ie=P.prefixCls,Re=P.columnsKey,be=P.fixedInfoList,Te=P.expandIconColumnIndex,We=P.nestExpandable,ze=P.indentSize,ut=P.expandIcon,nt=P.expanded,at=P.hasNestChildren,Ot=P.onTriggerExpand,bt=Re[Q],It=be[Q],wt;Q===(Te||0)&&We&&(wt=l.createElement(l.Fragment,null,l.createElement("span",{style:{paddingLeft:"".concat(ze*se,"px")},className:"".concat(Ie,"-row-indent indent-level-").concat(se)}),ut({prefixCls:Ie,expanded:nt,expandable:at,record:he,onExpand:Ot})));var Tt;return T.onCell&&(Tt=T.onCell(he,fe)),{key:bt,fixedInfo:It,appendCellNode:wt,additionalCellProps:Tt||{}}}function Oe(P){var T=P.className,Q=P.style,se=P.record,fe=P.index,he=P.renderIndex,Ie=P.rowKey,Re=P.indent,be=Re===void 0?0:Re,Te=P.rowComponent,We=P.cellComponent,ze=P.scopeCellComponent,ut=ge(se,Ie,fe,be),nt=ut.prefixCls,at=ut.flattenColumns,Ot=ut.expandedRowClassName,bt=ut.expandedRowRender,It=ut.rowProps,wt=ut.expanded,Tt=ut.rowSupportExpand,fn=l.useState(!1),pn=(0,N.Z)(fn,2),en=pn[0],In=pn[1];l.useEffect(function(){wt&&In(!0)},[wt]);var Ln=l.createElement(Te,(0,m.Z)({},It,{"data-row-key":Ie,className:g()(T,"".concat(nt,"-row"),"".concat(nt,"-row-level-").concat(be),It==null?void 0:It.className),style:(0,X.Z)((0,X.Z)({},Q),It==null?void 0:It.style)}),at.map(function($t,Qt){var On=$t.render,jn=$t.dataIndex,An=$t.className,mn=Ce(ut,$t,Qt,be,fe),Un=mn.key,Xn=mn.fixedInfo,vr=mn.appendCellNode,sr=mn.additionalCellProps;return l.createElement(Ue,(0,m.Z)({className:An,ellipsis:$t.ellipsis,align:$t.align,scope:$t.rowScope,component:$t.rowScope?ze:We,prefixCls:nt,key:Un,record:se,index:fe,renderIndex:he,dataIndex:jn,render:On,shouldCellUpdate:$t.shouldCellUpdate},Xn,{appendNode:vr,additionalProps:sr}))})),Kt;if(Tt&&(en||wt)){var nn=bt(se,fe,be+1,wt),kt=Ot&&Ot(se,fe,be);Kt=l.createElement(Ee,{expanded:wt,className:g()("".concat(nt,"-expanded-row"),"".concat(nt,"-expanded-row-level-").concat(be+1),kt),prefixCls:nt,component:Te,cellComponent:We,colSpan:at.length,isEmpty:!1},nn)}return l.createElement(l.Fragment,null,Ln,Kt)}Oe.displayName="BodyRow";var Se=I(Oe);function Xe(P){var T=P.columnKey,Q=P.onColumnResize,se=l.useRef();return l.useEffect(function(){se.current&&Q(T,se.current.offsetWidth)},[]),l.createElement(G.Z,{data:T},l.createElement("td",{ref:se,style:{padding:0,border:0,height:0}},l.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Ye(P){var T=P.prefixCls,Q=P.columnsKey,se=P.onColumnResize;return l.createElement("tr",{"aria-hidden":"true",className:"".concat(T,"-measure-row"),style:{height:0,fontSize:0}},l.createElement(G.Z.Collection,{onBatchResize:function(he){he.forEach(function(Ie){var Re=Ie.data,be=Ie.size;se(Re,be.offsetWidth)})}},Q.map(function(fe){return l.createElement(Xe,{key:fe,columnKey:fe,onColumnResize:se})})))}function pt(P){var T=P.data,Q=P.measureColumnWidth,se=h(s,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),fe=se.prefixCls,he=se.getComponent,Ie=se.onColumnResize,Re=se.flattenColumns,be=se.getRowKey,Te=se.expandedKeys,We=se.childrenColumnName,ze=se.emptyNode,ut=le(T,We,Te,be),nt=l.useRef({renderWithProps:!1}),at=he(["body","wrapper"],"tbody"),Ot=he(["body","row"],"tr"),bt=he(["body","cell"],"td"),It=he(["body","cell"],"th"),wt;T.length?wt=ut.map(function(fn,pn){var en=fn.record,In=fn.indent,Ln=fn.index,Kt=be(en,pn);return l.createElement(Se,{key:Kt,rowKey:Kt,record:en,index:pn,renderIndex:Ln,rowComponent:Ot,cellComponent:bt,scopeCellComponent:It,getRowKey:be,indent:In})}):wt=l.createElement(Ee,{expanded:!0,className:"".concat(fe,"-placeholder"),prefixCls:fe,component:Ot,cellComponent:bt,colSpan:Re.length,isEmpty:!0},ze);var Tt=F(Re);return l.createElement(i.Provider,{value:nt.current},l.createElement(at,{className:"".concat(fe,"-tbody")},Q&&l.createElement(Ye,{prefixCls:fe,columnsKey:Tt,onColumnResize:Ie}),wt))}pt.displayName="Body";var dt=I(pt),At=["expandable"],Rt="RC_TABLE_INTERNAL_COL_DEFINE";function Zt(P){var T=P.expandable,Q=(0,ue.Z)(P,At),se;return"expandable"in P?se=(0,X.Z)((0,X.Z)({},Q),T):se=Q,se.showExpandColumn===!1&&(se.expandIconColumnIndex=-1),se}var Nt=["columnType"];function sn(P){for(var T=P.colWidths,Q=P.columns,se=P.columCount,fe=[],he=se||Q.length,Ie=!1,Re=he-1;Re>=0;Re-=1){var be=T[Re],Te=Q&&Q[Re],We=Te&&Te[Rt];if(be||We||Ie){var ze=We||{},ut=ze.columnType,nt=(0,ue.Z)(ze,Nt);fe.unshift(l.createElement("col",(0,m.Z)({key:Re,style:{width:be}},nt))),Ie=!0}}return l.createElement("colgroup",null,fe)}var Lt=sn,rt=t(26407),Vt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function _t(P,T){return(0,l.useMemo)(function(){for(var Q=[],se=0;se<T;se+=1){var fe=P[se];if(fe!==void 0)Q[se]=fe;else return null}return Q},[P.join("_"),T])}var Et=l.forwardRef(function(P,T){var Q=P.className,se=P.noData,fe=P.columns,he=P.flattenColumns,Ie=P.colWidths,Re=P.columCount,be=P.stickyOffsets,Te=P.direction,We=P.fixHeader,ze=P.stickyTopOffset,ut=P.stickyBottomOffset,nt=P.stickyClassName,at=P.onScroll,Ot=P.maxContentScroll,bt=P.children,It=(0,ue.Z)(P,Vt),wt=h(s,["prefixCls","scrollbarSize","isSticky"]),Tt=wt.prefixCls,fn=wt.scrollbarSize,pn=wt.isSticky,en=pn&&!We?0:fn,In=l.useRef(null),Ln=l.useCallback(function(An){(0,n.mH)(T,An),(0,n.mH)(In,An)},[]);l.useEffect(function(){var An;function mn(Un){var Xn=Un,vr=Xn.currentTarget,sr=Xn.deltaX;sr&&(at({currentTarget:vr,scrollLeft:vr.scrollLeft+sr}),Un.preventDefault())}return(An=In.current)===null||An===void 0||An.addEventListener("wheel",mn),function(){var Un;(Un=In.current)===null||Un===void 0||Un.removeEventListener("wheel",mn)}},[]);var Kt=l.useMemo(function(){return he.every(function(An){return An.width})},[he]),nn=he[he.length-1],kt={fixed:nn?nn.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Tt,"-cell-scrollbar")}}},$t=(0,l.useMemo)(function(){return en?[].concat((0,rt.Z)(fe),[kt]):fe},[en,fe]),Qt=(0,l.useMemo)(function(){return en?[].concat((0,rt.Z)(he),[kt]):he},[en,he]),On=(0,l.useMemo)(function(){var An=be.right,mn=be.left;return(0,X.Z)((0,X.Z)({},be),{},{left:Te==="rtl"?[].concat((0,rt.Z)(mn.map(function(Un){return Un+en})),[0]):mn,right:Te==="rtl"?An:[].concat((0,rt.Z)(An.map(function(Un){return Un+en})),[0]),isSticky:pn})},[en,be,pn]),jn=_t(Ie,Re);return l.createElement("div",{style:(0,X.Z)({overflow:"hidden"},pn?{top:ze,bottom:ut}:{}),ref:Ln,className:g()(Q,(0,U.Z)({},nt,!!nt))},l.createElement("table",{style:{tableLayout:"fixed",visibility:se||jn?null:"hidden"}},(!se||!Ot||Kt)&&l.createElement(Lt,{colWidths:jn?[].concat((0,rt.Z)(jn),[en]):[],columCount:Re+1,columns:Qt}),bt((0,X.Z)((0,X.Z)({},It),{},{stickyOffsets:On,columns:$t,flattenColumns:Qt}))))});Et.displayName="FixedHolder";var rn=l.memo(Et);function hn(P){var T=P.cells,Q=P.stickyOffsets,se=P.flattenColumns,fe=P.rowComponent,he=P.cellComponent,Ie=P.tdCellComponent,Re=P.onHeaderRow,be=P.index,Te=h(s,["prefixCls","direction"]),We=Te.prefixCls,ze=Te.direction,ut;Re&&(ut=Re(T.map(function(at){return at.column}),be));var nt=F(T.map(function(at){return at.column}));return l.createElement(fe,ut,T.map(function(at,Ot){var bt=at.column,It=et(at.colStart,at.colEnd,se,Q,ze,bt),wt;return bt&&bt.onHeaderCell&&(wt=at.column.onHeaderCell(bt)),l.createElement(Ue,(0,m.Z)({},at,{scope:bt.title?at.colSpan>1?"colgroup":"col":null,ellipsis:bt.ellipsis,align:bt.align,component:bt.title?he:Ie,prefixCls:We,key:nt[Ot]},It,{additionalProps:wt,rowType:"header"}))}))}hn.displayName="HeaderRow";var Pn=hn;function Sn(P){var T=[];function Q(Ie,Re){var be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;T[be]=T[be]||[];var Te=Re,We=Ie.filter(Boolean).map(function(ze){var ut={key:ze.key,className:ze.className||"",children:ze.title,column:ze,colStart:Te},nt=1,at=ze.children;return at&&at.length>0&&(nt=Q(at,Te,be+1).reduce(function(Ot,bt){return Ot+bt},0),ut.hasSubColumns=!0),"colSpan"in ze&&(nt=ze.colSpan),"rowSpan"in ze&&(ut.rowSpan=ze.rowSpan),ut.colSpan=nt,ut.colEnd=ut.colStart+nt-1,T[be].push(ut),Te+=nt,nt});return We}Q(P,0);for(var se=T.length,fe=function(Re){T[Re].forEach(function(be){!("rowSpan"in be)&&!be.hasSubColumns&&(be.rowSpan=se-Re)})},he=0;he<se;he+=1)fe(he);return T}function $n(P){var T=P.stickyOffsets,Q=P.columns,se=P.flattenColumns,fe=P.onHeaderRow,he=h(s,["prefixCls","getComponent"]),Ie=he.prefixCls,Re=he.getComponent,be=l.useMemo(function(){return Sn(Q)},[Q]),Te=Re(["header","wrapper"],"thead"),We=Re(["header","row"],"tr"),ze=Re(["header","cell"],"th"),ut=Re(["header","cell"],"td");return l.createElement(Te,{className:"".concat(Ie,"-thead")},be.map(function(nt,at){var Ot=l.createElement(Pn,{key:at,flattenColumns:se,cells:nt,stickyOffsets:T,rowComponent:We,cellComponent:ze,tdCellComponent:ut,onHeaderRow:fe,index:at});return Ot}))}var Kn=I($n),Nn=t(11592);function Zn(P){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof T=="number"?T:T.endsWith("%")?P*parseFloat(T)/100:null}function Mt(P,T){return l.useMemo(function(){if(T&&T>0){var Q=0,se=0;P.forEach(function(Te){var We=Zn(T,Te.width);We?Q+=We:se+=1});var fe=T-Q,he=se,Ie=fe/se,Re=0,be=P.map(function(Te){var We=(0,X.Z)({},Te),ze=Zn(T,We.width);if(ze)We.width=ze;else{var ut=Math.floor(Ie);We.width=he===1?fe:ut,fe-=ut,he-=1}return Re+=We.width,We});return[be,Re]}return[P,T]},[P,T])}var Ft=["children"],ce=["fixed"];function Be(P){return(0,Nn.Z)(P).filter(function(T){return l.isValidElement(T)}).map(function(T){var Q=T.key,se=T.props,fe=se.children,he=(0,ue.Z)(se,Ft),Ie=(0,X.Z)({key:Q},he);return fe&&(Ie.children=Be(fe)),Ie})}function ke(P){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return P.filter(function(Q){return Q&&(0,J.Z)(Q)==="object"}).reduce(function(Q,se,fe){var he=se.fixed,Ie=he===!0?"left":he,Re="".concat(T,"-").concat(fe),be=se.children;return be&&be.length>0?[].concat((0,rt.Z)(Q),(0,rt.Z)(ke(be,Re).map(function(Te){return(0,X.Z)({fixed:Ie},Te)}))):[].concat((0,rt.Z)(Q),[(0,X.Z)((0,X.Z)({key:Re},se),{},{fixed:Ie})])},[])}function te(P){for(var T=!0,Q=0;Q<P.length;Q+=1){var se=P[Q];if(T&&se.fixed!=="left")T=!1;else if(!T&&se.fixed==="left"){warning(!1,"Index ".concat(Q-1," of `columns` missing `fixed='left'` prop."));break}}for(var fe=!0,he=P.length-1;he>=0;he-=1){var Ie=P[he];if(fe&&Ie.fixed!=="right")fe=!1;else if(!fe&&Ie.fixed==="right"){warning(!1,"Index ".concat(he+1," of `columns` missing `fixed='right'` prop."));break}}}function ae(P){return P.map(function(T){var Q=T.fixed,se=(0,ue.Z)(T,ce),fe=Q;return Q==="left"?fe="right":Q==="right"&&(fe="left"),(0,X.Z)({fixed:fe},se)})}function De(P,T){var Q=P.prefixCls,se=P.columns,fe=P.children,he=P.expandable,Ie=P.expandedKeys,Re=P.columnTitle,be=P.getRowKey,Te=P.onTriggerExpand,We=P.expandIcon,ze=P.rowExpandable,ut=P.expandIconColumnIndex,nt=P.direction,at=P.expandRowByClick,Ot=P.columnWidth,bt=P.fixed,It=P.scrollWidth,wt=l.useMemo(function(){return se||Be(fe)},[se,fe]),Tt=l.useMemo(function(){if(he){var nn,kt=wt.slice();if(!kt.includes(_)){var $t=ut||0;$t>=0&&kt.splice($t,0,_)}var Qt=kt.indexOf(_);kt=kt.filter(function(mn,Un){return mn!==_||Un===Qt});var On=wt[Qt],jn;(bt==="left"||bt)&&!ut?jn="left":(bt==="right"||bt)&&ut===wt.length?jn="right":jn=On?On.fixed:null;var An=(nn={},(0,U.Z)(nn,Rt,{className:"".concat(Q,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,U.Z)(nn,"title",Re),(0,U.Z)(nn,"fixed",jn),(0,U.Z)(nn,"className","".concat(Q,"-row-expand-icon-cell")),(0,U.Z)(nn,"width",Ot),(0,U.Z)(nn,"render",function(Un,Xn,vr){var sr=be(Xn,vr),Fr=Ie.has(sr),Kr=ze?ze(Xn):!0,Bn=We({prefixCls:Q,expanded:Fr,expandable:Kr,record:Xn,onExpand:Te});return at?l.createElement("span",{onClick:function(lr){return lr.stopPropagation()}},Bn):Bn}),nn);return kt.map(function(mn){return mn===_?An:mn})}return wt.filter(function(mn){return mn!==_})},[he,wt,be,Ie,We,nt]),fn=l.useMemo(function(){var nn=Tt;return T&&(nn=T(nn)),nn.length||(nn=[{render:function(){return null}}]),nn},[T,Tt,nt]),pn=l.useMemo(function(){return nt==="rtl"?ae(ke(fn)):ke(fn)},[fn,nt,It]),en=Mt(pn,It),In=(0,N.Z)(en,2),Ln=In[0],Kt=In[1];return[fn,Ln,Kt]}var $e=De;function st(P){var T,Q=P.prefixCls,se=P.record,fe=P.onExpand,he=P.expanded,Ie=P.expandable,Re="".concat(Q,"-row-expand-icon");if(!Ie)return l.createElement("span",{className:g()(Re,"".concat(Q,"-row-spaced"))});var be=function(We){fe(se,We),We.stopPropagation()};return l.createElement("span",{className:g()(Re,(T={},(0,U.Z)(T,"".concat(Q,"-row-expanded"),he),(0,U.Z)(T,"".concat(Q,"-row-collapsed"),!he),T)),onClick:be})}function Ve(P,T,Q){var se=[];function fe(he){(he||[]).forEach(function(Ie,Re){se.push(T(Ie,Re)),fe(Ie[Q])})}return fe(P),se}function ct(P,T,Q){var se=Zt(P),fe=se.expandIcon,he=se.expandedRowKeys,Ie=se.defaultExpandedRowKeys,Re=se.defaultExpandAllRows,be=se.expandedRowRender,Te=se.onExpand,We=se.onExpandedRowsChange,ze=se.childrenColumnName,ut=fe||st,nt=ze||"children",at=l.useMemo(function(){return be?"row":P.expandable&&P.internalHooks===v&&P.expandable.__PARENT_RENDER_ICON__||T.some(function(pn){return pn&&(0,J.Z)(pn)==="object"&&pn[nt]})?"nest":!1},[!!be,T]),Ot=l.useState(function(){return Ie||(Re?Ve(T,Q,nt):[])}),bt=(0,N.Z)(Ot,2),It=bt[0],wt=bt[1],Tt=l.useMemo(function(){return new Set(he||It||[])},[he,It]),fn=l.useCallback(function(pn){var en=Q(pn,T.indexOf(pn)),In,Ln=Tt.has(en);Ln?(Tt.delete(en),In=(0,rt.Z)(Tt)):In=[].concat((0,rt.Z)(Tt),[en]),wt(In),Te&&Te(!Ln,pn),We&&We(In)},[Q,Tt,T,Te,We]);return[se,at,Tt,ut,nt,fn]}function Qe(P,T,Q,se){var fe=P.map(function(he,Ie){return et(Ie,Ie,P,T,Q,se==null?void 0:se[Ie])});return(0,K.Z)(function(){return fe},[fe],function(he,Ie){return!(0,k.Z)(he,Ie)})}function ft(P){var T=(0,l.useRef)(P),Q=(0,l.useState)({}),se=(0,N.Z)(Q,2),fe=se[1],he=(0,l.useRef)(null),Ie=(0,l.useRef)([]);function Re(be){Ie.current.push(be);var Te=Promise.resolve();he.current=Te,Te.then(function(){if(he.current===Te){var We=Ie.current,ze=T.current;Ie.current=[],We.forEach(function(ut){T.current=ut(T.current)}),he.current=null,ze!==T.current&&fe({})}})}return(0,l.useEffect)(function(){return function(){he.current=null}},[]),[T.current,Re]}function vt(P){var T=(0,l.useRef)(P||null),Q=(0,l.useRef)();function se(){window.clearTimeout(Q.current)}function fe(Ie){T.current=Ie,se(),Q.current=window.setTimeout(function(){T.current=null,Q.current=void 0},100)}function he(){return T.current}return(0,l.useEffect)(function(){return se},[]),[fe,he]}function Fe(){var P=l.useState(-1),T=(0,N.Z)(P,2),Q=T[0],se=T[1],fe=l.useState(-1),he=(0,N.Z)(fe,2),Ie=he[0],Re=he[1],be=l.useCallback(function(Te,We){se(Te),Re(We)},[]);return[Q,Ie,be]}var Le=t(47273),Je=(0,Le.Z)()?window:null;function tt(P,T){var Q=(0,J.Z)(P)==="object"?P:{},se=Q.offsetHeader,fe=se===void 0?0:se,he=Q.offsetSummary,Ie=he===void 0?0:he,Re=Q.offsetScroll,be=Re===void 0?0:Re,Te=Q.getContainer,We=Te===void 0?function(){return Je}:Te,ze=We()||Je;return l.useMemo(function(){var ut=!!P;return{isSticky:ut,stickyClassName:ut?"".concat(T,"-sticky-holder"):"",offsetHeader:fe,offsetSummary:Ie,offsetScroll:be,container:ze}},[be,fe,Ie,T,ze])}function it(P,T,Q){var se=(0,l.useMemo)(function(){for(var fe=[],he=[],Ie=0,Re=0,be=0;be<T;be+=1)if(Q==="rtl"){he[be]=Re,Re+=P[be]||0;var Te=T-be-1;fe[Te]=Ie,Ie+=P[Te]||0}else{fe[be]=Ie,Ie+=P[be]||0;var We=T-be-1;he[We]=Re,Re+=P[We]||0}return{left:fe,right:he}},[P,T,Q]);return se}var yt=it;function jt(P){var T=P.className,Q=P.children;return l.createElement("div",{className:T},Q)}var St=jt,Ge=t(8224),ye=t(55468),we=function(T,Q){var se,fe,he=T.scrollBodyRef,Ie=T.onScroll,Re=T.offsetScroll,be=T.container,Te=h(s,"prefixCls"),We=((se=he.current)===null||se===void 0?void 0:se.scrollWidth)||0,ze=((fe=he.current)===null||fe===void 0?void 0:fe.clientWidth)||0,ut=We&&ze*(ze/We),nt=l.useRef(),at=ft({scrollLeft:0,isHiddenScrollBar:!1}),Ot=(0,N.Z)(at,2),bt=Ot[0],It=Ot[1],wt=l.useRef({delta:0,x:0}),Tt=l.useState(!1),fn=(0,N.Z)(Tt,2),pn=fn[0],en=fn[1],In=function(){en(!1)},Ln=function(Qt){Qt.persist(),wt.current.delta=Qt.pageX-bt.scrollLeft,wt.current.x=0,en(!0),Qt.preventDefault()},Kt=function(Qt){var On,jn=Qt||((On=window)===null||On===void 0?void 0:On.event),An=jn.buttons;if(!pn||An===0){pn&&en(!1);return}var mn=wt.current.x+Qt.pageX-wt.current.x-wt.current.delta;mn<=0&&(mn=0),mn+ut>=ze&&(mn=ze-ut),Ie({scrollLeft:mn/ze*(We+2)}),wt.current.x=Qt.pageX},nn=function(){if(he.current){var Qt=(0,ye.os)(he.current).top,On=Qt+he.current.offsetHeight,jn=be===window?document.documentElement.scrollTop+window.innerHeight:(0,ye.os)(be).top+be.clientHeight;On-(0,q.Z)()<=jn||Qt>=jn-Re?It(function(An){return(0,X.Z)((0,X.Z)({},An),{},{isHiddenScrollBar:!0})}):It(function(An){return(0,X.Z)((0,X.Z)({},An),{},{isHiddenScrollBar:!1})})}},kt=function(Qt){It(function(On){return(0,X.Z)((0,X.Z)({},On),{},{scrollLeft:Qt/We*ze||0})})};return l.useImperativeHandle(Q,function(){return{setScrollLeft:kt}}),l.useEffect(function(){var $t=(0,Ge.Z)(document.body,"mouseup",In,!1),Qt=(0,Ge.Z)(document.body,"mousemove",Kt,!1);return nn(),function(){$t.remove(),Qt.remove()}},[ut,pn]),l.useEffect(function(){var $t=(0,Ge.Z)(be,"scroll",nn,!1),Qt=(0,Ge.Z)(window,"resize",nn,!1);return function(){$t.remove(),Qt.remove()}},[be]),l.useEffect(function(){bt.isHiddenScrollBar||It(function($t){var Qt=he.current;return Qt?(0,X.Z)((0,X.Z)({},$t),{},{scrollLeft:Qt.scrollLeft/Qt.scrollWidth*Qt.clientWidth}):$t})},[bt.isHiddenScrollBar]),We<=ze||!ut||bt.isHiddenScrollBar?null:l.createElement("div",{style:{height:(0,q.Z)(),width:ze,bottom:Re},className:"".concat(Te,"-sticky-scroll")},l.createElement("div",{onMouseDown:Ln,ref:nt,className:g()("".concat(Te,"-sticky-scroll-bar"),(0,U.Z)({},"".concat(Te,"-sticky-scroll-bar-active"),pn)),style:{width:"".concat(ut,"px"),transform:"translate3d(".concat(bt.scrollLeft,"px, 0, 0)")}}))},Ne=l.forwardRef(we);function Me(P){return null}var Ae=Me;function Ke(P){return null}var Ze=Ke,ot="rc-table",mt=[],gt={};function Bt(){return"No Data"}function Wt(P){var T,Q=(0,X.Z)({rowKey:"key",prefixCls:ot,emptyText:Bt},P),se=Q.prefixCls,fe=Q.className,he=Q.rowClassName,Ie=Q.style,Re=Q.data,be=Q.rowKey,Te=Q.scroll,We=Q.tableLayout,ze=Q.direction,ut=Q.title,nt=Q.footer,at=Q.summary,Ot=Q.caption,bt=Q.id,It=Q.showHeader,wt=Q.components,Tt=Q.emptyText,fn=Q.onRow,pn=Q.onHeaderRow,en=Q.internalHooks,In=Q.transformColumns,Ln=Q.internalRefs,Kt=Q.tailor,nn=Q.sticky,kt=Re||mt,$t=!!kt.length,Qt=en===v,On=l.useCallback(function(hr,$r){return(0,O.Z)(wt,hr)||$r},[wt]),jn=l.useMemo(function(){return typeof be=="function"?be:function(hr){var $r=hr&&hr[be];return $r}},[be]),An=On(["body"]),mn=Fe(),Un=(0,N.Z)(mn,3),Xn=Un[0],vr=Un[1],sr=Un[2],Fr=ct(Q,kt,jn),Kr=(0,N.Z)(Fr,6),Bn=Kr[0],Vr=Kr[1],lr=Kr[2],Pr=Kr[3],Or=Kr[4],Si=Kr[5],bn=Te==null?void 0:Te.x,yn=l.useState(0),vn=(0,N.Z)(yn,2),cn=vn[0],ur=vn[1],dn=$e((0,X.Z)((0,X.Z)((0,X.Z)({},Q),Bn),{},{expandable:!!Bn.expandedRowRender,columnTitle:Bn.columnTitle,expandedKeys:lr,getRowKey:jn,onTriggerExpand:Si,expandIcon:Pr,expandIconColumnIndex:Bn.expandIconColumnIndex,direction:ze,scrollWidth:Qt&&Kt&&typeof bn=="number"?bn:null}),Qt?In:null),Mn=(0,N.Z)(dn,3),ir=Mn[0],er=Mn[1],fi=Mn[2],ii=fi!=null?fi:bn,Ki=l.useMemo(function(){return{columns:ir,flattenColumns:er}},[ir,er]),Gr=l.useRef(),Ai=l.useRef(),Xr=l.useRef(),Ei=l.useRef(),oa=l.useRef(),dr=l.useState(!1),fr=(0,N.Z)(dr,2),Dr=fr[0],Yr=fr[1],Qr=l.useState(!1),Yn=(0,N.Z)(Qr,2),vi=Yn[0],hi=Yn[1],Ni=ft(new Map),Hi=(0,N.Z)(Ni,2),ki=Hi[0],Oa=Hi[1],Ji=F(er),Li=Ji.map(function(hr){return ki.get(hr)}),Oi=l.useMemo(function(){return Li},[Li.join("_")]),gi=yt(Oi,er.length,ze),Jr=Te&&re(Te.y),Tr=Te&&re(ii)||!!Bn.fixed,Ui=Tr&&er.some(function(hr){var $r=hr.fixed;return $r}),sa=l.useRef(),na=tt(nn,se),Vi=na.isSticky,Ta=na.offsetHeader,Za=na.offsetSummary,ar=na.offsetScroll,Sr=na.stickyClassName,si=na.container,Mr=l.useMemo(function(){return at==null?void 0:at(kt)},[at,kt]),pi=(Jr||Vi)&&l.isValidElement(Mr)&&Mr.type===R&&Mr.props.fixed,Ii,Ri,qi;Jr&&(Ri={overflowY:"scroll",maxHeight:Te.y}),Tr&&(Ii={overflowX:"auto"},Jr||(Ri={overflowY:"hidden"}),qi={width:ii===!0?"auto":ii,minWidth:"100%"});var Xa=l.useCallback(function(hr,$r){(0,j.Z)(Gr.current)&&Oa(function(Bi){if(Bi.get(hr)!==$r){var ra=new Map(Bi);return ra.set(hr,$r),ra}return Bi})},[]),Zo=vt(null),Ya=(0,N.Z)(Zo,2),zo=Ya[0],Qa=Ya[1];function Ma(hr,$r){$r&&(typeof $r=="function"?$r(hr):$r.scrollLeft!==hr&&($r.scrollLeft=hr,$r.scrollLeft!==hr&&setTimeout(function(){$r.scrollLeft=hr},0)))}var ba=(0,V.Z)(function(hr){var $r=hr.currentTarget,Bi=hr.scrollLeft,ra=ze==="rtl",ia=typeof Bi=="number"?Bi:$r.scrollLeft,ho=$r||gt;if(!Qa()||Qa()===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 Wa=$r||Ai.current;if(Wa){var Ha=Wa.scrollWidth,Ua=Wa.clientWidth;if(Ha===Ua){Yr(!1),hi(!1);return}ra?(Yr(-ia<Ha-Ua),hi(-ia>0)):(Yr(ia>0),hi(ia<Ha-Ua))}}),Ja=function(){Tr&&Xr.current?ba({currentTarget:Xr.current}):(Yr(!1),hi(!1))},Fo=function($r){var Bi=$r.width;Bi!==cn&&(Ja(),ur(Gr.current?Gr.current.offsetWidth:Bi))},qa=l.useRef(!1);l.useEffect(function(){qa.current&&Ja()},[Tr,Re,ir.length]),l.useEffect(function(){qa.current=!0},[]);var Ko=l.useState(0),eo=(0,N.Z)(Ko,2),Aa=eo[0],to=eo[1],ko=l.useState(!0),no=(0,N.Z)(ko,2),ro=no[0],jo=no[1];l.useEffect(function(){(!Kt||!Qt)&&(Xr.current instanceof Element?to((0,q.o)(Xr.current).width):to((0,q.o)(Ei.current).width)),jo((0,B.G)("position","sticky"))},[]),l.useEffect(function(){Qt&&Ln&&(Ln.body.current=Xr.current)});var Wo=l.useCallback(function(hr){return l.createElement(l.Fragment,null,l.createElement(Kn,hr),pi==="top"&&l.createElement(x,hr,Mr))},[pi,Mr]),Ho=l.useCallback(function(hr){return l.createElement(x,hr,Mr)},[Mr]),io=On(["table"],"table"),La=l.useMemo(function(){return We||(Ui?ii==="max-content"?"auto":"fixed":Jr||Vi||er.some(function(hr){var $r=hr.ellipsis;return $r})?"fixed":"auto")},[Jr,Ui,er,We,Vi]),za,Fa={colWidths:Oi,columCount:er.length,stickyOffsets:gi,onHeaderRow:pn,fixHeader:Jr,scroll:Te},ao=l.useMemo(function(){return $t?null:typeof Tt=="function"?Tt():Tt},[$t,Tt]),oo=l.createElement(dt,{data:kt,measureColumnWidth:Jr||Tr||Vi}),so=l.createElement(Lt,{colWidths:er.map(function(hr){var $r=hr.width;return $r}),columns:er}),lo=Ot!=null?l.createElement("caption",{className:"".concat(se,"-caption")},Ot):void 0,Uo=(0,de.Z)(Q,{data:!0}),uo=(0,de.Z)(Q,{aria:!0});if(Jr||Vi){var Ka;typeof An=="function"?(Ka=An(kt,{scrollbarSize:Aa,ref:Xr,onScroll:ba}),Fa.colWidths=er.map(function(hr,$r){var Bi=hr.width,ra=$r===er.length-1?Bi-Aa:Bi;return typeof ra=="number"&&!Number.isNaN(ra)?ra:0})):Ka=l.createElement("div",{style:(0,X.Z)((0,X.Z)({},Ii),Ri),onScroll:ba,ref:Xr,className:g()("".concat(se,"-body"))},l.createElement(io,(0,m.Z)({style:(0,X.Z)((0,X.Z)({},qi),{},{tableLayout:La})},uo),lo,so,oo,!pi&&Mr&&l.createElement(x,{stickyOffsets:gi,flattenColumns:er,columns:ir},Mr)));var co=(0,X.Z)((0,X.Z)((0,X.Z)({noData:!kt.length,maxContentScroll:Tr&&ii==="max-content"},Fa),Ki),{},{direction:ze,stickyClassName:Sr,onScroll:ba});za=l.createElement(l.Fragment,null,It!==!1&&l.createElement(rn,(0,m.Z)({},co,{stickyTopOffset:Ta,className:"".concat(se,"-header"),ref:Ai}),Wo),Ka,pi&&pi!=="top"&&l.createElement(rn,(0,m.Z)({},co,{stickyBottomOffset:Za,className:"".concat(se,"-summary"),ref:oa}),Ho),Vi&&l.createElement(Ne,{ref:sa,offsetScroll:ar,scrollBodyRef:Xr,onScroll:ba,container:si}))}else za=l.createElement("div",{style:(0,X.Z)((0,X.Z)({},Ii),Ri),className:g()("".concat(se,"-content")),onScroll:ba,ref:Xr},l.createElement(io,(0,m.Z)({style:(0,X.Z)((0,X.Z)({},qi),{},{tableLayout:La})},uo),lo,so,It!==!1&&l.createElement(Kn,(0,m.Z)({},Fa,Ki)),oo,Mr&&l.createElement(x,{stickyOffsets:gi,flattenColumns:er,columns:ir},Mr)));var ka=l.createElement("div",(0,m.Z)({className:g()(se,fe,(T={},(0,U.Z)(T,"".concat(se,"-rtl"),ze==="rtl"),(0,U.Z)(T,"".concat(se,"-ping-left"),Dr),(0,U.Z)(T,"".concat(se,"-ping-right"),vi),(0,U.Z)(T,"".concat(se,"-layout-fixed"),We==="fixed"),(0,U.Z)(T,"".concat(se,"-fixed-header"),Jr),(0,U.Z)(T,"".concat(se,"-fixed-column"),Ui),(0,U.Z)(T,"".concat(se,"-scroll-horizontal"),Tr),(0,U.Z)(T,"".concat(se,"-has-fix-left"),er[0]&&er[0].fixed),(0,U.Z)(T,"".concat(se,"-has-fix-right"),er[er.length-1]&&er[er.length-1].fixed==="right"),T)),style:Ie,id:bt,ref:Gr},Uo),ut&&l.createElement(St,{className:"".concat(se,"-title")},ut(kt)),l.createElement("div",{ref:Ei,className:"".concat(se,"-container")},za),nt&&l.createElement(St,{className:"".concat(se,"-footer")},nt(kt)));Tr&&(ka=l.createElement(G.Z,{onResize:Fo},ka));var fo=Qe(er,gi,ze,ir),Vo=l.useMemo(function(){return{scrollX:ii,prefixCls:se,getComponent:On,scrollbarSize:Aa,direction:ze,fixedInfoList:fo,isSticky:Vi,supportSticky:ro,componentWidth:cn,fixHeader:Jr,fixColumn:Ui,horizonScroll:Tr,tableLayout:La,rowClassName:he,expandedRowClassName:Bn.expandedRowClassName,expandIcon:Pr,expandableType:Vr,expandRowByClick:Bn.expandRowByClick,expandedRowRender:Bn.expandedRowRender,onTriggerExpand:Si,expandIconColumnIndex:Bn.expandIconColumnIndex,indentSize:Bn.indentSize,allColumnsFixedLeft:er.every(function(hr){return hr.fixed==="left"}),emptyNode:ao,columns:ir,flattenColumns:er,onColumnResize:Xa,hoverStartRow:Xn,hoverEndRow:vr,onHover:sr,rowExpandable:Bn.rowExpandable,onRow:fn,getRowKey:jn,expandedKeys:lr,childrenColumnName:Or}},[ii,se,On,Aa,ze,fo,Vi,ro,cn,Jr,Ui,Tr,La,he,Bn.expandedRowClassName,Pr,Vr,Bn.expandRowByClick,Bn.expandedRowRender,Si,Bn.expandIconColumnIndex,Bn.indentSize,ao,ir,er,Xa,Xn,vr,sr,Bn.rowExpandable,fn,jn,lr,Or]);return l.createElement(s.Provider,{value:Vo},ka)}function an(P){return y(Wt,P)}var Ct=an();Ct.EXPAND_COLUMN=_,Ct.INTERNAL_HOOKS=v,Ct.Column=Ae,Ct.ColumnGroup=Ze,Ct.Summary=d;var ht=Ct,qt=t(4409),Xt=e(null),En=e(null);function Ht(P,T,Q){var se=T||1;return Q[P+se]-(Q[P]||0)}function Jt(P){var T=P.rowInfo,Q=P.column,se=P.colIndex,fe=P.indent,he=P.index,Ie=P.renderIndex,Re=P.record,be=P.style,Te=P.className,We=P.inverse,ze=P.getHeight,ut=Q.render,nt=Q.dataIndex,at=Q.className,Ot=Q.width,bt=h(En,["columnsOffset"]),It=bt.columnsOffset,wt=Ce(T,Q,se,fe,he),Tt=wt.key,fn=wt.fixedInfo,pn=wt.appendCellNode,en=wt.additionalCellProps,In=en.style,Ln=en.colSpan,Kt=Ln===void 0?1:Ln,nn=en.rowSpan,kt=nn===void 0?1:nn,$t=se-1,Qt=Ht($t,Kt,It),On=Kt>1?Ot-Qt:0,jn=(0,X.Z)((0,X.Z)((0,X.Z)({},In),be),{},{flex:"0 0 ".concat(Qt,"px"),width:"".concat(Qt,"px"),marginRight:On,pointerEvents:"auto"}),An=l.useMemo(function(){return We?kt<=1:Kt===0||kt===0||kt>1},[kt,Kt,We]);An?jn.visibility="hidden":We&&(jn.height=ze==null?void 0:ze(kt));var mn=An?function(){return null}:ut,Un={};return(kt===0||Kt===0)&&(Un.rowSpan=1,Un.colSpan=1),l.createElement(Ue,(0,m.Z)({className:g()(at,Te),ellipsis:Q.ellipsis,align:Q.align,scope:Q.rowScope,component:"div",prefixCls:T.prefixCls,key:Tt,record:Re,index:he,renderIndex:Ie,dataIndex:nt,render:mn,shouldCellUpdate:Q.shouldCellUpdate},fn,{appendNode:pn,additionalProps:(0,X.Z)((0,X.Z)({},en),{},{style:jn},Un)}))}var ln=Jt,Ut=["data","index","className","rowKey","style","extra","getHeight"],Dn=l.forwardRef(function(P,T){var Q=P.data,se=P.index,fe=P.className,he=P.rowKey,Ie=P.style,Re=P.extra,be=P.getHeight,Te=(0,ue.Z)(P,Ut),We=Q.record,ze=Q.indent,ut=Q.index,nt=h(s,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),at=nt.scrollX,Ot=nt.flattenColumns,bt=nt.prefixCls,It=nt.fixColumn,wt=nt.componentWidth,Tt=ge(We,he,se,ze),fn=Tt.rowSupportExpand,pn=Tt.expanded,en=Tt.rowProps,In=Tt.expandedRowRender,Ln=Tt.expandedRowClassName,Kt;if(fn&&pn){var nn=In(We,se,ze+1,pn),kt=Ln==null?void 0:Ln(We,se,ze),$t={};It&&($t={style:(0,U.Z)({},"--virtual-width","".concat(wt,"px"))});var Qt="".concat(bt,"-expanded-row-cell");Kt=l.createElement("div",{className:g()("".concat(bt,"-expanded-row"),"".concat(bt,"-expanded-row-level-").concat(ze+1),kt)},l.createElement(Ue,{component:"div",prefixCls:bt,className:g()(Qt,(0,U.Z)({},"".concat(Qt,"-fixed"),It)),additionalProps:$t},nn))}var On=(0,X.Z)((0,X.Z)({},Ie),{},{width:at});Re&&(On.position="absolute",On.pointerEvents="none");var jn=l.createElement("div",(0,m.Z)({},en,Te,{ref:fn?null:T,className:g()(fe,"".concat(bt,"-row"),en==null?void 0:en.className,(0,U.Z)({},"".concat(bt,"-row-extra"),Re)),style:(0,X.Z)((0,X.Z)({},On),en==null?void 0:en.style)}),Ot.map(function(An,mn){return l.createElement(ln,{key:mn,rowInfo:Tt,column:An,colIndex:mn,indent:ze,index:se,renderIndex:ut,record:We,inverse:Re,getHeight:be})}));return fn?l.createElement("div",{ref:T},jn,Kt):jn}),Gn=I(Dn),zt=Gn,Gt=l.forwardRef(function(P,T){var Q=P.data,se=P.onScroll,fe=h(s,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),he=fe.flattenColumns,Ie=fe.onColumnResize,Re=fe.getRowKey,be=fe.expandedKeys,Te=fe.prefixCls,We=fe.childrenColumnName,ze=fe.emptyNode,ut=fe.scrollX,nt=h(Xt),at=nt.scrollY,Ot=nt.listItemHeight,bt=l.useRef(),It=le(Q,We,be,Re),wt=l.useMemo(function(){var Kt=0;return he.map(function(nn){var kt=nn.width,$t=nn.key;return Kt+=kt,[$t,kt,Kt]})},[he]),Tt=l.useMemo(function(){return wt.map(function(Kt){return Kt[2]})},[wt]);l.useEffect(function(){wt.forEach(function(Kt){var nn=(0,N.Z)(Kt,2),kt=nn[0],$t=nn[1];Ie(kt,$t)})},[wt]),l.useImperativeHandle(T,function(){var Kt={};return Object.defineProperty(Kt,"scrollLeft",{get:function(){var kt;return((kt=bt.current)===null||kt===void 0?void 0:kt.getScrollInfo().x)||0},set:function(kt){var $t;($t=bt.current)===null||$t===void 0||$t.scrollTo({left:kt})}}),Kt});var fn=function(nn,kt){var $t,Qt=($t=It[kt])===null||$t===void 0?void 0:$t.record,On=nn.onCell;if(On){var jn,An=On(Qt,kt);return(jn=An==null?void 0:An.rowSpan)!==null&&jn!==void 0?jn:1}return 1},pn=function(nn){var kt=nn.start,$t=nn.end,Qt=nn.getSize,On=nn.offsetY;if($t<0)return null;for(var jn=he.filter(function(bn){return fn(bn,kt)===0}),An=kt,mn=function(yn){if(jn=jn.filter(function(vn){return fn(vn,yn)===0}),!jn.length)return An=yn,"break"},Un=kt;Un>=0;Un-=1){var Xn=mn(Un);if(Xn==="break")break}for(var vr=he.filter(function(bn){return fn(bn,$t)!==1}),sr=$t,Fr=function(yn){if(vr=vr.filter(function(vn){return fn(vn,yn)!==1}),!vr.length)return sr=Math.max(yn-1,$t),"break"},Kr=$t;Kr<It.length;Kr+=1){var Bn=Fr(Kr);if(Bn==="break")break}for(var Vr=[],lr=function(yn){var vn=It[yn];if(!vn)return"continue";he.some(function(cn){return fn(cn,yn)>1})&&Vr.push(yn)},Pr=An;Pr<=sr;Pr+=1)var Or=lr(Pr);var Si=Vr.map(function(bn){var yn=It[bn],vn=Re(yn.record,bn),cn=function(Mn){var ir=bn+Mn-1,er=Re(It[ir].record,ir),fi=Qt(vn,er);return fi.bottom-fi.top},ur=Qt(vn);return l.createElement(zt,{key:bn,data:yn,rowKey:vn,index:bn,style:{top:-On+ur.top},extra:!0,getHeight:cn})});return Si},en=l.useMemo(function(){return{columnsOffset:Tt}},[Tt]),In="".concat(Te,"-tbody"),Ln;return It.length?Ln=l.createElement(qt.Z,{fullHeight:!1,ref:bt,className:g()(In,"".concat(In,"-virtual")),height:at,itemHeight:Ot||24,data:It,itemKey:function(nn){return Re(nn.record)},scrollWidth:ut,onVirtualScroll:function(nn){var kt=nn.x;se({scrollLeft:kt})},extraRender:pn},function(Kt,nn,kt){var $t=Re(Kt.record,nn);return l.createElement(zt,(0,m.Z)({data:Kt,rowKey:$t,index:nn},kt))}):Ln=l.createElement("div",{className:g()("".concat(Te,"-placeholder"))},l.createElement(Ue,{component:"div",prefixCls:Te},ze)),l.createElement(En.Provider,{value:en},Ln)}),Dt=I(Gt),xn=Dt,wn=function(T,Q){var se=Q.ref,fe=Q.onScroll;return l.createElement(xn,{ref:se,data:T,onScroll:fe})},gn=100;function _n(P){var T=P.columns,Q=P.scroll,se=P.prefixCls,fe=se===void 0?ot:se,he=P.className,Ie=P.listItemHeight,Re=Q||{},be=Re.x,Te=Re.y;typeof be!="number"&&(be=((T||[]).length+1)*gn),typeof Te!="number"&&(Te=500);var We=l.useMemo(function(){return{scrollY:Te,listItemHeight:Ie}},[Te,Ie]);return l.createElement(Xt.Provider,{value:We},l.createElement(ht,(0,m.Z)({},P,{className:g()(he,"".concat(fe,"-virtual")),scroll:(0,X.Z)((0,X.Z)({},Q),{},{x:be}),components:{body:wn},columns:T,internalHooks:v,tailor:!0})))}function zn(P){return y(_n,P)}var tr=zn(),Vn=null;function Wn(P){return null}var or=Wn;function xt(P){return null}var Pt=xt,on=t(2738),kn=t(68031),rr=t(36355),gr=t(93891),nr=t(19716),mr=t(8628),_r=t(31724),Er=t(58421),yr=t(71418),Qn=t(88088);function br(P){return function(Q){let{prefixCls:se,onExpand:fe,record:he,expanded:Ie,expandable:Re}=Q;const be=`${se}-row-expand-icon`;return l.createElement("button",{type:"button",onClick:Te=>{fe(he,Te),Te.stopPropagation()},className:g()(be,{[`${be}-spaced`]:!Re,[`${be}-expanded`]:Re&&Ie,[`${be}-collapsed`]:Re&&!Ie}),"aria-label":Ie?P.collapse:P.expand,"aria-expanded":Ie})}}var kr=br;function Ar(P,T){return"key"in P&&P.key!==void 0&&P.key!==null?P.key:P.dataIndex?Array.isArray(P.dataIndex)?P.dataIndex.join("."):P.dataIndex:T}function Ir(P,T){return T?`${T}-${P}`:`${P}`}function Wr(P,T){return typeof P=="function"?P(T):P}function Hr(P,T){const Q=Wr(P,T);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(T,Q){return l.createElement(_i.Z,(0,m.Z)({},T,{ref:Q,icon:qr}))},li=l.forwardRef(yi),Ur=li,Pi=t(56762);function bi(P){const T=l.useRef(P),Q=(0,Pi.Z)();return[()=>T.current,se=>{T.current=se,Q()}]}var ui=t(3113),ci=t(24905),ni=t(38854),tn=t(64165),Rn=t(20834),un=t(40875),Cn=t(5112),Fn=t(17574),Jn=t(47472),Lr=t(92832);function xr(P){let{value:T,onChange:Q,filterSearch:se,tablePrefixCls:fe,locale:he}=P;return se?l.createElement("div",{className:`${fe}-filter-dropdown-search`},l.createElement(Lr.default,{prefix:l.createElement(Jn.Z,null),placeholder:he.filterSearchPlaceholder,onChange:Q,value:T,htmlSize:1,className:`${fe}-filter-dropdown-search-input`})):null}var wr=xr,Rr=t(10228);const di=P=>{const{keyCode:T}=P;T===Rr.Z.ENTER&&P.stopPropagation()};var Zi=l.forwardRef((P,T)=>l.createElement("div",{className:P.className,onClick:Q=>Q.stopPropagation(),onKeyDown:di,ref:T},P.children));function mi(P){let T=[];return(P||[]).forEach(Q=>{let{value:se,children:fe}=Q;T.push(se),fe&&(T=[].concat((0,rt.Z)(T),(0,rt.Z)(mi(fe))))}),T}function ai(P){return P.some(T=>{let{children:Q}=T;return Q})}function Yt(P,T){return typeof T=="string"||typeof T=="number"?T==null?void 0:T.toString().toLowerCase().includes(P.trim().toLowerCase()):!1}function Tn(P){let{filters:T,prefixCls:Q,filteredKeys:se,filterMultiple:fe,searchValue:he,filterSearch:Ie}=P;return T.map((Re,be)=>{const Te=String(Re.value);if(Re.children)return{key:Te||be,label:Re.text,popupClassName:`${Q}-dropdown-submenu`,children:Tn({filters:Re.children,prefixCls:Q,filteredKeys:se,filterMultiple:fe,searchValue:he,filterSearch:Ie})};const We=fe?ci.default:Cn.ZP,ze={key:Re.value!==void 0?Te:be,label:l.createElement(l.Fragment,null,l.createElement(We,{checked:se.includes(Te)}),l.createElement("span",null,Re.text))};return he.trim()?typeof Ie=="function"?Ie(he,Re)?ze:null:Yt(he,Re.text)?ze:null:ze})}function pr(P){var T,Q;const{tablePrefixCls:se,prefixCls:fe,column:he,dropdownPrefixCls:Ie,columnKey:Re,filterMultiple:be,filterMode:Te="menu",filterSearch:We=!1,filterState:ze,triggerFilter:ut,locale:nt,children:at,getPopupContainer:Ot}=P,{filterDropdownOpen:bt,onFilterDropdownOpenChange:It,filterResetToDefaultFilteredValue:wt,defaultFilteredValue:Tt,filterDropdownVisible:fn,onFilterDropdownVisibleChange:pn}=he,[en,In]=l.useState(!1),Ln=!!(ze&&(!((T=ze.filteredKeys)===null||T===void 0)&&T.length||ze.forceFiltered)),Kt=dn=>{In(dn),It==null||It(dn),pn==null||pn(dn)},nn=(Q=bt!=null?bt:fn)!==null&&Q!==void 0?Q:en,kt=ze==null?void 0:ze.filteredKeys,[$t,Qt]=bi(kt||[]),On=dn=>{let{selectedKeys:Mn}=dn;Qt(Mn)},jn=(dn,Mn)=>{let{node:ir,checked:er}=Mn;On(be?{selectedKeys:dn}:{selectedKeys:er&&ir.key?[ir.key]:[]})};l.useEffect(()=>{en&&On({selectedKeys:kt||[]})},[kt]);const[An,mn]=l.useState([]),Un=dn=>{mn(dn)},[Xn,vr]=l.useState(""),sr=dn=>{const{value:Mn}=dn.target;vr(Mn)};l.useEffect(()=>{en||vr("")},[en]);const Fr=dn=>{const Mn=dn&&dn.length?dn:null;if(Mn===null&&(!ze||!ze.filteredKeys)||(0,k.Z)(Mn,ze==null?void 0:ze.filteredKeys,!0))return null;ut({column:he,key:Re,filteredKeys:Mn})},Kr=()=>{Kt(!1),Fr($t())},Bn=function(){let{confirm:dn,closeDropdown:Mn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};dn&&Fr([]),Mn&&Kt(!1),vr(""),Qt(wt?(Tt||[]).map(ir=>String(ir)):[])},Vr=function(){let{closeDropdown:dn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};dn&&Kt(!1),Fr($t())},lr=dn=>{dn&&kt!==void 0&&Qt(kt||[]),Kt(dn),!dn&&!he.filterDropdown&&Kr()},Pr=g()({[`${Ie}-menu-without-submenu`]:!ai(he.filters||[])}),Or=dn=>{if(dn.target.checked){const Mn=mi(he==null?void 0:he.filters).map(ir=>String(ir));Qt(Mn)}else Qt([])},Si=dn=>{let{filters:Mn}=dn;return(Mn||[]).map((ir,er)=>{const fi=String(ir.value),ii={title:ir.text,key:ir.value!==void 0?fi:er};return ir.children&&(ii.children=Si({filters:ir.children})),ii})},bn=dn=>{var Mn;return Object.assign(Object.assign({},dn),{text:dn.title,value:dn.key,children:((Mn=dn.children)===null||Mn===void 0?void 0:Mn.map(ir=>bn(ir)))||[]})};let yn;if(typeof he.filterDropdown=="function")yn=he.filterDropdown({prefixCls:`${Ie}-custom`,setSelectedKeys:dn=>On({selectedKeys:dn}),selectedKeys:$t(),confirm:Vr,clearFilters:Bn,filters:he.filters,visible:nn,close:()=>{Kt(!1)}});else if(he.filterDropdown)yn=he.filterDropdown;else{const dn=$t()||[],Mn=()=>(he.filters||[]).length===0?l.createElement(tn.Z,{image:tn.Z.PRESENTED_IMAGE_SIMPLE,description:nt.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Te==="tree"?l.createElement(l.Fragment,null,l.createElement(wr,{filterSearch:We,value:Xn,onChange:sr,tablePrefixCls:se,locale:nt}),l.createElement("div",{className:`${se}-filter-dropdown-tree`},be?l.createElement(ci.default,{checked:dn.length===mi(he.filters).length,indeterminate:dn.length>0&&dn.length<mi(he.filters).length,className:`${se}-filter-dropdown-checkall`,onChange:Or},nt.filterCheckall):null,l.createElement(Fn.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:be,checkStrictly:!be,className:`${Ie}-menu`,onCheck:jn,checkedKeys:dn,selectedKeys:dn,showIcon:!1,treeData:Si({filters:he.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Xn.trim()?er=>typeof We=="function"?We(Xn,bn(er)):Yt(Xn,er.title):void 0}))):l.createElement(l.Fragment,null,l.createElement(wr,{filterSearch:We,value:Xn,onChange:sr,tablePrefixCls:se,locale:nt}),l.createElement(Rn.default,{selectable:!0,multiple:be,prefixCls:`${Ie}-menu`,className:Pr,onSelect:On,onDeselect:On,selectedKeys:dn,getPopupContainer:Ot,openKeys:An,onOpenChange:Un,items:Tn({filters:he.filters||[],filterSearch:We,prefixCls:fe,filteredKeys:$t(),filterMultiple:be,searchValue:Xn})})),ir=()=>wt?(0,k.Z)((Tt||[]).map(er=>String(er)),dn,!0):dn.length===0;yn=l.createElement(l.Fragment,null,Mn(),l.createElement("div",{className:`${fe}-dropdown-btns`},l.createElement(ui.ZP,{type:"link",size:"small",disabled:ir(),onClick:()=>Bn()},nt.filterReset),l.createElement(ui.ZP,{type:"primary",size:"small",onClick:Kr},nt.filterConfirm)))}he.filterDropdown&&(yn=l.createElement(un.J,{selectable:void 0},yn));const vn=()=>l.createElement(Zi,{className:`${fe}-dropdown`},yn);let cn;typeof he.filterIcon=="function"?cn=he.filterIcon(Ln):he.filterIcon?cn=he.filterIcon:cn=l.createElement(Ur,null);const{direction:ur}=l.useContext(rr.E_);return l.createElement("div",{className:`${fe}-column`},l.createElement("span",{className:`${se}-column-title`},at),l.createElement(ni.Z,{dropdownRender:vn,trigger:["click"],open:nn,onOpenChange:lr,getPopupContainer:Ot,placement:ur==="rtl"?"bottomLeft":"bottomRight"},l.createElement("span",{role:"button",tabIndex:-1,className:g()(`${fe}-trigger`,{active:Ln}),onClick:dn=>{dn.stopPropagation()}},cn)))}var Br=pr;function cr(P,T,Q){let se=[];return(P||[]).forEach((fe,he)=>{var Ie;const Re=Ir(he,Q);if(fe.filters||"filterDropdown"in fe||"onFilter"in fe)if("filteredValue"in fe){let be=fe.filteredValue;"filterDropdown"in fe||(be=(Ie=be==null?void 0:be.map(String))!==null&&Ie!==void 0?Ie:be),se.push({column:fe,key:Ar(fe,Re),filteredKeys:be,forceFiltered:fe.filtered})}else se.push({column:fe,key:Ar(fe,Re),filteredKeys:T&&fe.defaultFilteredValue?fe.defaultFilteredValue:void 0,forceFiltered:fe.filtered});"children"in fe&&(se=[].concat((0,rt.Z)(se),(0,rt.Z)(cr(fe.children,T,Re))))}),se}function zi(P,T,Q,se,fe,he,Ie,Re){return Q.map((be,Te)=>{const We=Ir(Te,Re),{filterMultiple:ze=!0,filterMode:ut,filterSearch:nt}=be;let at=be;if(at.filters||at.filterDropdown){const Ot=Ar(at,We),bt=se.find(It=>{let{key:wt}=It;return Ot===wt});at=Object.assign(Object.assign({},at),{title:It=>l.createElement(Br,{tablePrefixCls:P,prefixCls:`${P}-filter`,dropdownPrefixCls:T,column:at,columnKey:Ot,filterState:bt,filterMultiple:ze,filterMode:ut,filterSearch:nt,triggerFilter:he,locale:fe,getPopupContainer:Ie},Wr(be.title,It))})}return"children"in at&&(at=Object.assign(Object.assign({},at),{children:zi(P,T,at.children,se,fe,he,Ie,We)})),at})}function ji(P){const T={};return P.forEach(Q=>{let{key:se,filteredKeys:fe,column:he}=Q;const{filters:Ie,filterDropdown:Re}=he;if(Re)T[se]=fe||null;else if(Array.isArray(fe)){const be=mi(Ie);T[se]=be.filter(Te=>fe.includes(String(Te)))}else T[se]=null}),T}function Wi(P,T){return T.reduce((Q,se)=>{const{column:{onFilter:fe,filters:he},filteredKeys:Ie}=se;return fe&&Ie&&Ie.length?Q.filter(Re=>Ie.some(be=>{const Te=mi(he),We=Te.findIndex(ut=>String(ut)===String(be)),ze=We!==-1?Te[We]:be;return fe(ze,Re)})):Q},P)}const Ti=P=>P.flatMap(T=>"children"in T?[T].concat((0,rt.Z)(Ti(T.children||[]))):[T]);function xa(P){let{prefixCls:T,dropdownPrefixCls:Q,mergedColumns:se,onFilterChange:fe,getPopupContainer:he,locale:Ie}=P;const Re=l.useMemo(()=>Ti(se||[]),[se]),[be,Te]=l.useState(()=>cr(Re,!0)),We=l.useMemo(()=>{const at=cr(Re,!1);if(at.length===0)return at;let Ot=!0,bt=!0;if(at.forEach(It=>{let{filteredKeys:wt}=It;wt!==void 0?Ot=!1:bt=!1}),Ot){const It=(Re||[]).map((wt,Tt)=>Ar(wt,Ir(Tt)));return be.filter(wt=>{let{key:Tt}=wt;return It.includes(Tt)}).map(wt=>{const Tt=Re[It.findIndex(fn=>fn===wt.key)];return Object.assign(Object.assign({},wt),{column:Object.assign(Object.assign({},wt.column),Tt),forceFiltered:Tt.filtered})})}return at},[Re,be]),ze=l.useMemo(()=>ji(We),[We]),ut=at=>{const Ot=We.filter(bt=>{let{key:It}=bt;return It!==at.key});Ot.push(at),Te(Ot),fe(ji(Ot),Ot)};return[at=>zi(T,Q,at,We,Ie,ut,he),We,ze]}var la=xa;function aa(P,T,Q){const se=l.useRef({});function fe(he){if(!se.current||se.current.data!==P||se.current.childrenColumnName!==T||se.current.getRowKey!==Q){let Re=function(be){be.forEach((Te,We)=>{const ze=Q(Te,We);Ie.set(ze,Te),Te&&typeof Te=="object"&&T in Te&&Re(Te[T]||[])})};const Ie=new Map;Re(P),se.current={data:P,childrenColumnName:T,kvMap:Ie,getRowKey:Q}}return se.current.kvMap.get(he)}return[fe]}var ea=t(50371),ua=function(P,T){var Q={};for(var se in P)Object.prototype.hasOwnProperty.call(P,se)&&T.indexOf(se)<0&&(Q[se]=P[se]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,se=Object.getOwnPropertySymbols(P);fe<se.length;fe++)T.indexOf(se[fe])<0&&Object.prototype.propertyIsEnumerable.call(P,se[fe])&&(Q[se[fe]]=P[se[fe]]);return Q};const ta=10;function Fi(P,T){const Q={current:P.current,pageSize:P.pageSize};return Object.keys(T&&typeof T=="object"?T:{}).forEach(fe=>{const he=P[fe];typeof he!="function"&&(Q[fe]=he)}),Q}function ca(P,T,Q){const se=Q&&typeof Q=="object"?Q:{},{total:fe=0}=se,he=ua(se,["total"]),[Ie,Re]=(0,l.useState)(()=>({current:"defaultCurrent"in he?he.defaultCurrent:1,pageSize:"defaultPageSize"in he?he.defaultPageSize:ta})),be=(0,ea.Z)(Ie,he,{total:fe>0?fe:P}),Te=Math.ceil((fe||P)/be.pageSize);be.current>Te&&(be.current=Te||1);const We=(ut,nt)=>{Re({current:ut!=null?ut:1,pageSize:nt||be.pageSize})},ze=(ut,nt)=>{var at;Q&&((at=Q.onChange)===null||at===void 0||at.call(Q,ut,nt)),We(ut,nt),T(ut,nt||(be==null?void 0:be.pageSize))};return Q===!1?[{},()=>{}]:[Object.assign(Object.assign({},be),{onChange:ze}),We]}var da=ca,fa=t(84105),Gi=t(35654),qn=t(90782),Hn=t(71430),ei=t(18929);const jr={},Zr="SELECT_ALL",ri="SELECT_INVERT",oi="SELECT_NONE",$i=[],xi=(P,T)=>{let Q=[];return(T||[]).forEach(se=>{Q.push(se),se&&typeof se=="object"&&P in se&&(Q=[].concat((0,rt.Z)(Q),(0,rt.Z)(xi(P,se[P]))))}),Q};var Mi=(P,T)=>{const{preserveSelectedRowKeys:Q,selectedRowKeys:se,defaultSelectedRowKeys:fe,getCheckboxProps:he,onChange:Ie,onSelect:Re,onSelectAll:be,onSelectInvert:Te,onSelectNone:We,onSelectMultiple:ze,columnWidth:ut,type:nt,selections:at,fixed:Ot,renderCell:bt,hideSelectAll:It,checkStrictly:wt=!0}=T||{},{prefixCls:Tt,data:fn,pageData:pn,getRecordByKey:en,getRowKey:In,expandType:Ln,childrenColumnName:Kt,locale:nn,getPopupContainer:kt}=P,[$t,Qt]=(0,ei.Z)(se||fe||$i,{value:se}),On=l.useRef(new Map),jn=(0,l.useCallback)(bn=>{if(Q){const yn=new Map;bn.forEach(vn=>{let cn=en(vn);!cn&&On.current.has(vn)&&(cn=On.current.get(vn)),yn.set(vn,cn)}),On.current=yn}},[en,Q]);l.useEffect(()=>{jn($t)},[$t]);const{keyEntities:An}=(0,l.useMemo)(()=>{if(wt)return{keyEntities:null};let bn=fn;if(Q){const yn=new Set(fn.map((cn,ur)=>In(cn,ur))),vn=Array.from(On.current).reduce((cn,ur)=>{let[dn,Mn]=ur;return yn.has(dn)?cn:cn.concat(Mn)},[]);bn=[].concat((0,rt.Z)(bn),(0,rt.Z)(vn))}return(0,Hn.I8)(bn,{externalGetKey:In,childrenPropName:Kt})},[fn,In,wt,Kt,Q]),mn=(0,l.useMemo)(()=>xi(Kt,pn),[Kt,pn]),Un=(0,l.useMemo)(()=>{const bn=new Map;return mn.forEach((yn,vn)=>{const cn=In(yn,vn),ur=(he?he(yn):null)||{};bn.set(cn,ur)}),bn},[mn,In,he]),Xn=(0,l.useCallback)(bn=>{var yn;return!!(!((yn=Un.get(In(bn)))===null||yn===void 0)&&yn.disabled)},[Un,In]),[vr,sr]=(0,l.useMemo)(()=>{if(wt)return[$t||[],[]];const{checkedKeys:bn,halfCheckedKeys:yn}=(0,qn.S)($t,!0,An,Xn);return[bn||[],yn]},[$t,wt,An,Xn]),Fr=(0,l.useMemo)(()=>{const bn=nt==="radio"?vr.slice(0,1):vr;return new Set(bn)},[vr,nt]),Kr=(0,l.useMemo)(()=>nt==="radio"?new Set:new Set(sr),[sr,nt]),[Bn,Vr]=(0,l.useState)(null);l.useEffect(()=>{T||Qt($i)},[!!T]);const lr=(0,l.useCallback)((bn,yn)=>{let vn,cn;jn(bn),Q?(vn=bn,cn=bn.map(ur=>On.current.get(ur))):(vn=[],cn=[],bn.forEach(ur=>{const dn=en(ur);dn!==void 0&&(vn.push(ur),cn.push(dn))})),Qt(vn),Ie==null||Ie(vn,cn,{type:yn})},[Qt,en,Ie,Q]),Pr=(0,l.useCallback)((bn,yn,vn,cn)=>{if(Re){const ur=vn.map(dn=>en(dn));Re(en(bn),yn,ur,cn)}lr(vn,"single")},[Re,en,lr]),Or=(0,l.useMemo)(()=>!at||It?null:(at===!0?[Zr,ri,oi]:at).map(yn=>yn===Zr?{key:"all",text:nn.selectionAll,onSelect(){lr(fn.map((vn,cn)=>In(vn,cn)).filter(vn=>{const cn=Un.get(vn);return!(cn!=null&&cn.disabled)||Fr.has(vn)}),"all")}}:yn===ri?{key:"invert",text:nn.selectInvert,onSelect(){const vn=new Set(Fr);pn.forEach((ur,dn)=>{const Mn=In(ur,dn),ir=Un.get(Mn);ir!=null&&ir.disabled||(vn.has(Mn)?vn.delete(Mn):vn.add(Mn))});const cn=Array.from(vn);Te&&Te(cn),lr(cn,"invert")}}:yn===oi?{key:"none",text:nn.selectNone,onSelect(){We==null||We(),lr(Array.from(Fr).filter(vn=>{const cn=Un.get(vn);return cn==null?void 0:cn.disabled}),"none")}}:yn).map(yn=>Object.assign(Object.assign({},yn),{onSelect:function(){for(var vn,cn,ur=arguments.length,dn=new Array(ur),Mn=0;Mn<ur;Mn++)dn[Mn]=arguments[Mn];(cn=yn.onSelect)===null||cn===void 0||(vn=cn).call.apply(vn,[yn].concat(dn)),Vr(null)}})),[at,Fr,pn,In,Te,lr]);return[(0,l.useCallback)(bn=>{var yn;if(!T)return bn.filter(dr=>dr!==jr);let vn=(0,rt.Z)(bn);const cn=new Set(Fr),ur=mn.map(In).filter(dr=>!Un.get(dr).disabled),dn=ur.every(dr=>cn.has(dr)),Mn=ur.some(dr=>cn.has(dr)),ir=()=>{const dr=[];dn?ur.forEach(Dr=>{cn.delete(Dr),dr.push(Dr)}):ur.forEach(Dr=>{cn.has(Dr)||(cn.add(Dr),dr.push(Dr))});const fr=Array.from(cn);be==null||be(!dn,fr.map(Dr=>en(Dr)),dr.map(Dr=>en(Dr))),lr(fr,"all"),Vr(null)};let er;if(nt!=="radio"){let dr;if(Or){const Yn={getPopupContainer:kt,items:Or.map((vi,hi)=>{const{key:Ni,text:Hi,onSelect:ki}=vi;return{key:Ni!=null?Ni:hi,onClick:()=>{ki==null||ki(ur)},label:Hi}})};dr=l.createElement("div",{className:`${Tt}-selection-extra`},l.createElement(ni.Z,{menu:Yn,getPopupContainer:kt},l.createElement("span",null,l.createElement(fa.Z,null))))}const fr=mn.map((Yn,vi)=>{const hi=In(Yn,vi),Ni=Un.get(hi)||{};return Object.assign({checked:cn.has(hi)},Ni)}).filter(Yn=>{let{disabled:vi}=Yn;return vi}),Dr=!!fr.length&&fr.length===mn.length,Yr=Dr&&fr.every(Yn=>{let{checked:vi}=Yn;return vi}),Qr=Dr&&fr.some(Yn=>{let{checked:vi}=Yn;return vi});er=!It&&l.createElement("div",{className:`${Tt}-selection`},l.createElement(ci.default,{checked:Dr?Yr:!!mn.length&&dn,indeterminate:Dr?!Yr&&Qr:!dn&&Mn,onChange:ir,disabled:mn.length===0||Dr,"aria-label":dr?"Custom selection":"Select all",skipGroup:!0}),dr)}let fi;nt==="radio"?fi=(dr,fr,Dr)=>{const Yr=In(fr,Dr),Qr=cn.has(Yr);return{node:l.createElement(Cn.ZP,Object.assign({},Un.get(Yr),{checked:Qr,onClick:Yn=>Yn.stopPropagation(),onChange:Yn=>{cn.has(Yr)||Pr(Yr,!0,[Yr],Yn.nativeEvent)}})),checked:Qr}}:fi=(dr,fr,Dr)=>{var Yr;const Qr=In(fr,Dr),Yn=cn.has(Qr),vi=Kr.has(Qr),hi=Un.get(Qr);let Ni;return Ln==="nest"?Ni=vi:Ni=(Yr=hi==null?void 0:hi.indeterminate)!==null&&Yr!==void 0?Yr:vi,{node:l.createElement(ci.default,Object.assign({},hi,{indeterminate:Ni,checked:Yn,skipGroup:!0,onClick:Hi=>Hi.stopPropagation(),onChange:Hi=>{let{nativeEvent:ki}=Hi;const{shiftKey:Oa}=ki;let Ji=-1,Li=-1;if(Oa&&wt){const Oi=new Set([Bn,Qr]);ur.some((gi,Jr)=>{if(Oi.has(gi))if(Ji===-1)Ji=Jr;else return Li=Jr,!0;return!1})}if(Li!==-1&&Ji!==Li&&wt){const Oi=ur.slice(Ji,Li+1),gi=[];Yn?Oi.forEach(Tr=>{cn.has(Tr)&&(gi.push(Tr),cn.delete(Tr))}):Oi.forEach(Tr=>{cn.has(Tr)||(gi.push(Tr),cn.add(Tr))});const Jr=Array.from(cn);ze==null||ze(!Yn,Jr.map(Tr=>en(Tr)),gi.map(Tr=>en(Tr))),lr(Jr,"multiple")}else{const Oi=vr;if(wt){const gi=Yn?(0,Gi._5)(Oi,Qr):(0,Gi.L0)(Oi,Qr);Pr(Qr,!Yn,gi,ki)}else{const gi=(0,qn.S)([].concat((0,rt.Z)(Oi),[Qr]),!0,An,Xn),{checkedKeys:Jr,halfCheckedKeys:Tr}=gi;let Ui=Jr;if(Yn){const sa=new Set(Jr);sa.delete(Qr),Ui=(0,qn.S)(Array.from(sa),{checked:!1,halfCheckedKeys:Tr},An,Xn).checkedKeys}Pr(Qr,!Yn,Ui,ki)}}Vr(Yn?null:Qr)}})),checked:Yn}};const ii=(dr,fr,Dr)=>{const{node:Yr,checked:Qr}=fi(dr,fr,Dr);return bt?bt(Qr,fr,Dr,Yr):Yr};if(!vn.includes(jr))if(vn.findIndex(dr=>{var fr;return((fr=dr[Rt])===null||fr===void 0?void 0:fr.columnType)==="EXPAND_COLUMN"})===0){const[dr,...fr]=vn;vn=[dr,jr].concat((0,rt.Z)(fr))}else vn=[jr].concat((0,rt.Z)(vn));const Ki=vn.indexOf(jr);vn=vn.filter((dr,fr)=>dr!==jr||fr===Ki);const Gr=vn[Ki-1],Ai=vn[Ki+1];let Xr=Ot;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&&((yn=Gr[Rt])===null||yn===void 0?void 0:yn.columnType)==="EXPAND_COLUMN"&&Gr.fixed===void 0&&(Gr.fixed=Xr);const Ei=g()(`${Tt}-selection-col`,{[`${Tt}-selection-col-with-dropdown`]:at&&nt==="checkbox"}),oa={fixed:Xr,width:ut,className:`${Tt}-selection-column`,title:T.columnTitle||er,render:ii,onCell:T.onCell,[Rt]:{className:Ei}};return vn.map(dr=>dr===jr?oa:dr)},[In,mn,T,vr,Fr,Kr,ut,Or,Ln,Bn,Un,ze,Pr,Xn]),Fr]},ha=t(89489),Ia=t(59477),pa=t(6848);const ma="ascend",wa="descend";function va(P){return typeof P.sorter=="object"&&typeof P.sorter.multiple=="number"?P.sorter.multiple:!1}function Ca(P){return typeof P=="function"?P:P&&typeof P=="object"&&P.compare?P.compare:!1}function Ba(P,T){return T?P[P.indexOf(T)+1]:P[0]}function Sa(P,T,Q){let se=[];function fe(he,Ie){se.push({column:he,key:Ar(he,Ie),multiplePriority:va(he),sortOrder:he.sortOrder})}return(P||[]).forEach((he,Ie)=>{const Re=Ir(Ie,Q);he.children?("sortOrder"in he&&fe(he,Re),se=[].concat((0,rt.Z)(se),(0,rt.Z)(Sa(he.children,T,Re)))):he.sorter&&("sortOrder"in he?fe(he,Re):T&&he.defaultSortOrder&&se.push({column:he,key:Ar(he,Re),multiplePriority:va(he),sortOrder:he.defaultSortOrder}))}),se}function Ra(P,T,Q,se,fe,he,Ie,Re){return(T||[]).map((be,Te)=>{const We=Ir(Te,Re);let ze=be;if(ze.sorter){const ut=ze.sortDirections||fe,nt=ze.showSorterTooltip===void 0?Ie:ze.showSorterTooltip,at=Ar(ze,We),Ot=Q.find(Ln=>{let{key:Kt}=Ln;return Kt===at}),bt=Ot?Ot.sortOrder:null,It=Ba(ut,bt);let wt;if(be.sortIcon)wt=be.sortIcon({sortOrder:bt});else{const Ln=ut.includes(ma)&&l.createElement(Ia.Z,{className:g()(`${P}-column-sorter-up`,{active:bt===ma})}),Kt=ut.includes(wa)&&l.createElement(ha.Z,{className:g()(`${P}-column-sorter-down`,{active:bt===wa})});wt=l.createElement("span",{className:g()(`${P}-column-sorter`,{[`${P}-column-sorter-full`]:!!(Ln&&Kt)})},l.createElement("span",{className:`${P}-column-sorter-inner`,"aria-hidden":"true"},Ln,Kt))}const{cancelSort:Tt,triggerAsc:fn,triggerDesc:pn}=he||{};let en=Tt;It===wa?en=pn:It===ma&&(en=fn);const In=typeof nt=="object"?nt:{title:en};ze=Object.assign(Object.assign({},ze),{className:g()(ze.className,{[`${P}-column-sort`]:bt}),title:Ln=>{const Kt=l.createElement("div",{className:`${P}-column-sorters`},l.createElement("span",{className:`${P}-column-title`},Wr(be.title,Ln)),wt);return nt?l.createElement(pa.Z,Object.assign({},In),Kt):Kt},onHeaderCell:Ln=>{const Kt=be.onHeaderCell&&be.onHeaderCell(Ln)||{},nn=Kt.onClick,kt=Kt.onKeyDown;Kt.onClick=On=>{se({column:be,key:at,sortOrder:It,multiplePriority:va(be)}),nn==null||nn(On)},Kt.onKeyDown=On=>{On.keyCode===Rr.Z.ENTER&&(se({column:be,key:at,sortOrder:It,multiplePriority:va(be)}),kt==null||kt(On))};const $t=Hr(be.title,{}),Qt=$t==null?void 0:$t.toString();return bt?Kt["aria-sort"]=bt==="ascend"?"ascending":"descending":Kt["aria-label"]=Qt||"",Kt.className=g()(Kt.className,`${P}-column-has-sorters`),Kt.tabIndex=0,be.ellipsis&&(Kt.title=($t!=null?$t:"").toString()),Kt}})}return"children"in ze&&(ze=Object.assign(Object.assign({},ze),{children:Ra(P,ze.children,Q,se,fe,he,Ie,We)})),ze})}function Pa(P){const{column:T,sortOrder:Q}=P;return{column:T,order:Q,field:T.dataIndex,columnKey:T.key}}function $a(P){const T=P.filter(Q=>{let{sortOrder:se}=Q;return se}).map(Pa);return T.length===0&&P.length?Object.assign(Object.assign({},Pa(P[P.length-1])),{column:void 0}):T.length<=1?T[0]||{}:T}function zr(P,T,Q){const se=T.slice().sort((Ie,Re)=>Re.multiplePriority-Ie.multiplePriority),fe=P.slice(),he=se.filter(Ie=>{let{column:{sorter:Re},sortOrder:be}=Ie;return Ca(Re)&&be});return he.length?fe.sort((Ie,Re)=>{for(let be=0;be<he.length;be+=1){const Te=he[be],{column:{sorter:We},sortOrder:ze}=Te,ut=Ca(We);if(ut&&ze){const nt=ut(Ie,Re,ze);if(nt!==0)return ze===ma?nt:-nt}}return 0}).map(Ie=>{const Re=Ie[Q];return Re?Object.assign(Object.assign({},Ie),{[Q]:zr(Re,T,Q)}):Ie}):fe}function Cr(P){let{prefixCls:T,mergedColumns:Q,onSorterChange:se,sortDirections:fe,tableLocale:he,showSorterTooltip:Ie}=P;const[Re,be]=l.useState(Sa(Q,!0)),Te=l.useMemo(()=>{let at=!0;const Ot=Sa(Q,!1);if(!Ot.length)return Re;const bt=[];function It(Tt){at?bt.push(Tt):bt.push(Object.assign(Object.assign({},Tt),{sortOrder:null}))}let wt=null;return Ot.forEach(Tt=>{wt===null?(It(Tt),Tt.sortOrder&&(Tt.multiplePriority===!1?at=!1:wt=!0)):(wt&&Tt.multiplePriority!==!1||(at=!1),It(Tt))}),bt},[Q,Re]),We=l.useMemo(()=>{const at=Te.map(Ot=>{let{column:bt,sortOrder:It}=Ot;return{column:bt,order:It}});return{sortColumns:at,sortColumn:at[0]&&at[0].column,sortOrder:at[0]&&at[0].order}},[Te]);function ze(at){let Ot;at.multiplePriority===!1||!Te.length||Te[0].multiplePriority===!1?Ot=[at]:Ot=[].concat((0,rt.Z)(Te.filter(bt=>{let{key:It}=bt;return It!==at.key})),[at]),be(Ot),se($a(Ot),Ot)}return[at=>Ra(T,at,Te,ze,fe,he,Ie),Te,We,()=>$a(Te)]}function Nr(P,T){return P.map(Q=>{const se=Object.assign({},Q);return se.title=Wr(Q.title,T),"children"in se&&(se.children=Nr(se.children,T)),se})}function wi(P){return[l.useCallback(Q=>Nr(Q,P),[P])]}var Ci=an((P,T)=>{const{_renderTimes:Q}=P,{_renderTimes:se}=T;return Q!==se}),ga=zn((P,T)=>{const{_renderTimes:Q}=P,{_renderTimes:se}=T;return Q!==se}),Yi=t(64993),_a=t(17313),Na=t(83116),Da=t(37613),Ea=P=>{const{componentCls:T}=P,Q=`${P.lineWidth}px ${P.lineType} ${P.tableBorderColor}`,se=(fe,he,Ie)=>({[`&${T}-${fe}`]:{[`> ${T}-container`]:{[`> ${T}-content, > ${T}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${T}-expanded-row-fixed`]:{margin:`-${he}px -${Ie+P.lineWidth}px`}}}}}});return{[`${T}-wrapper`]:{[`${T}${T}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${T}-title`]:{border:Q,borderBottom:0},[`> ${T}-container`]:{borderInlineStart:Q,borderTop:Q,[`
|
|
|
> ${T}-content,
|
|
|
> ${T}-header,
|
|
|
> ${T}-body,
|
|
|
> ${T}-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 ":{[`> ${T}-cell-fix-right-first::after`]:{borderInlineEnd:Q}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${T}-expanded-row-fixed`]:{margin:`-${P.tablePaddingVertical}px -${P.tablePaddingHorizontal+P.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:P.lineWidth,bottom:0,borderInlineEnd:Q,content:'""'}}}}}},[`&${T}-scroll-horizontal`]:{[`> ${T}-container > ${T}-body`]:{"> table > tbody":{[`
|
|
|
> tr${T}-expanded-row,
|
|
|
> tr${T}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},se("middle",P.tablePaddingVerticalMiddle,P.tablePaddingHorizontalMiddle)),se("small",P.tablePaddingVerticalSmall,P.tablePaddingHorizontalSmall)),{[`> ${T}-footer`]:{border:Q,borderTop:0}}),[`${T}-cell`]:{[`${T}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${P.lineWidth}px 0 ${P.lineWidth}px ${P.tableHeaderBg}`}},[`${T}-bordered ${T}-cell-scrollbar`]:{borderInlineEnd:Q}}}},vo=P=>{const{componentCls:T}=P;return{[`${T}-wrapper`]:{[`${T}-cell-ellipsis`]:Object.assign(Object.assign({},_a.vS),{wordBreak:"keep-all",[`
|
|
|
&${T}-cell-fix-left-last,
|
|
|
&${T}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${T}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${T}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},go=P=>{const{componentCls:T}=P;return{[`${T}-wrapper`]:{[`${T}-tbody > tr${T}-placeholder`]:{textAlign:"center",color:P.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:P.colorBgContainer}}}}},_o=t(15969),yo=P=>{const{componentCls:T,antCls:Q,controlInteractiveSize:se,motionDurationSlow:fe,lineWidth:he,paddingXS:Ie,lineType:Re,tableBorderColor:be,tableExpandIconBg:Te,tableExpandColumnWidth:We,borderRadius:ze,fontSize:ut,fontSizeSM:nt,lineHeight:at,tablePaddingVertical:Ot,tablePaddingHorizontal:bt,tableExpandedRowBg:It,paddingXXS:wt}=P,Tt=se/2-he,fn=Tt*2+he*3,pn=`${he}px ${Re} ${be}`,en=wt-he;return{[`${T}-wrapper`]:{[`${T}-expand-icon-col`]:{width:We},[`${T}-row-expand-icon-cell`]:{textAlign:"center",[`${T}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${T}-row-indent`]:{height:1,float:"left"},[`${T}-row-expand-icon`]:Object.assign(Object.assign({},(0,_o.N)(P)),{position:"relative",float:"left",boxSizing:"border-box",width:fn,height:fn,padding:0,color:"inherit",lineHeight:`${fn}px`,background:Te,border:pn,borderRadius:ze,transform:`scale(${se/fn})`,transition:`all ${fe}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${fe} ease-out`,content:'""'},"&::before":{top:Tt,insetInlineEnd:en,insetInlineStart:en,height:he},"&::after":{top:en,bottom:en,insetInlineStart:Tt,width:he,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"}}),[`${T}-row-indent + ${T}-row-expand-icon`]:{marginTop:(ut*at-he*3)/2-Math.ceil((nt*1.4-he*3)/2),marginInlineEnd:Ie},[`tr${T}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:It}},[`${Q}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${T}-expanded-row-fixed`]:{position:"relative",margin:`-${Ot}px -${bt}px`,padding:`${Ot}px ${bt}px`}}}},bo=P=>{const{componentCls:T,antCls:Q,iconCls:se,tableFilterDropdownWidth:fe,tableFilterDropdownSearchWidth:he,paddingXXS:Ie,paddingXS:Re,colorText:be,lineWidth:Te,lineType:We,tableBorderColor:ze,tableHeaderIconColor:ut,fontSizeSM:nt,tablePaddingHorizontal:at,borderRadius:Ot,motionDurationSlow:bt,colorTextDescription:It,colorPrimary:wt,tableHeaderFilterActiveBg:Tt,colorTextDisabled:fn,tableFilterDropdownBg:pn,tableFilterDropdownHeight:en,controlItemBgHover:In,controlItemBgActive:Ln,boxShadowSecondary:Kt,filterDropdownMenuBg:nn}=P,kt=`${Q}-dropdown`,$t=`${T}-filter-dropdown`,Qt=`${Q}-tree`,On=`${Te}px ${We} ${ze}`;return[{[`${T}-wrapper`]:{[`${T}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${T}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Ie,marginInline:`${Ie}px ${-at/2}px`,padding:`0 ${Ie}px`,color:ut,fontSize:nt,borderRadius:Ot,cursor:"pointer",transition:`all ${bt}`,"&:hover":{color:It,background:Tt},"&.active":{color:wt}}}},{[`${Q}-dropdown`]:{[$t]:Object.assign(Object.assign({},(0,_a.Wf)(P)),{minWidth:fe,backgroundColor:pn,borderRadius:Ot,boxShadow:Kt,overflow:"hidden",[`${kt}-menu`]:{maxHeight:en,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:nn,"&:empty::after":{display:"block",padding:`${Re}px 0`,color:fn,fontSize:nt,textAlign:"center",content:'"Not Found"'}},[`${$t}-tree`]:{paddingBlock:`${Re}px 0`,paddingInline:Re,[Qt]:{padding:0},[`${Qt}-treenode ${Qt}-node-content-wrapper:hover`]:{backgroundColor:In},[`${Qt}-treenode-checkbox-checked ${Qt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ln}}},[`${$t}-search`]:{padding:Re,borderBottom:On,"&-input":{input:{minWidth:he},[se]:{color:fn}}},[`${$t}-checkall`]:{width:"100%",marginBottom:Ie,marginInlineStart:Ie},[`${$t}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Re-Te}px ${Re}px`,overflow:"hidden",borderTop:On}})}},{[`${Q}-dropdown ${$t}, ${$t}-submenu`]:{[`${Q}-checkbox-wrapper + span`]:{paddingInlineStart:Re,color:be},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},xo=P=>{const{componentCls:T,lineWidth:Q,colorSplit:se,motionDurationSlow:fe,zIndexTableFixed:he,tableBg:Ie,zIndexTableSticky:Re}=P,be=se;return{[`${T}-wrapper`]:{[`
|
|
|
${T}-cell-fix-left,
|
|
|
${T}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:he,background:Ie},[`
|
|
|
${T}-cell-fix-left-first::after,
|
|
|
${T}-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 ${fe}`,content:'""',pointerEvents:"none"},[`${T}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${T}-cell-fix-right-first::after,
|
|
|
${T}-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 ${fe}`,content:'""',pointerEvents:"none"},[`${T}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Re+1,width:30,transition:`box-shadow ${fe}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${T}-ping-left`]:{[`&:not(${T}-has-fix-left) ${T}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${be}`}},[`
|
|
|
${T}-cell-fix-left-first::after,
|
|
|
${T}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${be}`},[`${T}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${T}-ping-right`]:{[`&:not(${T}-has-fix-right) ${T}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${be}`}},[`
|
|
|
${T}-cell-fix-right-first::after,
|
|
|
${T}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${be}`}}}}},wo=P=>{const{componentCls:T,antCls:Q}=P;return{[`${T}-wrapper`]:{[`${T}-pagination${Q}-pagination`]:{margin:`${P.margin}px 0`},[`${T}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:P.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Co=P=>{const{componentCls:T,tableRadius:Q}=P;return{[`${T}-wrapper`]:{[T]:{[`${T}-title, ${T}-header`]:{borderRadius:`${Q}px ${Q}px 0 0`},[`${T}-title + ${T}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${T}-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`}}}}},So=P=>{const{componentCls:T}=P;return{[`${T}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${T}-pagination-left`]:{justifyContent:"flex-end"},[`${T}-pagination-right`]:{justifyContent:"flex-start"},[`${T}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${T}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${T}-row-indent`]:{float:"right"}}}}},Eo=P=>{const{componentCls:T,antCls:Q,iconCls:se,fontSizeIcon:fe,padding:he,paddingXS:Ie,tableHeaderIconColor:Re,tableHeaderIconColorHover:be,tableSelectionColumnWidth:Te}=P;return{[`${T}-wrapper`]:{[`${T}-selection-col`]:{width:Te,[`&${T}-selection-col-with-dropdown`]:{width:Te+fe+he/4}},[`${T}-bordered ${T}-selection-col`]:{width:Te+Ie*2,[`&${T}-selection-col-with-dropdown`]:{width:Te+fe+he/4+Ie*2}},[`
|
|
|
table tr th${T}-selection-column,
|
|
|
table tr td${T}-selection-column
|
|
|
`]:{paddingInlineEnd:P.paddingXS,paddingInlineStart:P.paddingXS,textAlign:"center",[`${Q}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${T}-selection-column${T}-cell-fix-left`]:{zIndex:P.zIndexTableFixed+1},[`table tr th${T}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${T}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${T}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${P.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${P.tablePaddingHorizontal/4}px`,[se]:{color:Re,fontSize:fe,verticalAlign:"baseline","&:hover":{color:be}}}}}},Oo=P=>{const{componentCls:T}=P,Q=(se,fe,he,Ie)=>({[`${T}${T}-${se}`]:{fontSize:Ie,[`
|
|
|
${T}-title,
|
|
|
${T}-footer,
|
|
|
${T}-cell,
|
|
|
${T}-thead > tr > th,
|
|
|
${T}-tbody > tr > th,
|
|
|
${T}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${fe}px ${he}px`},[`${T}-filter-trigger`]:{marginInlineEnd:`-${he/2}px`},[`${T}-expanded-row-fixed`]:{margin:`-${fe}px -${he}px`},[`${T}-tbody`]:{[`${T}-wrapper:only-child ${T}`]:{marginBlock:`-${fe}px`,marginInline:`${P.tableExpandColumnWidth-he}px -${he}px`}},[`${T}-selection-column`]:{paddingInlineStart:`${he/4}px`}}});return{[`${T}-wrapper`]:Object.assign(Object.assign({},Q("middle",P.tablePaddingVerticalMiddle,P.tablePaddingHorizontalMiddle,P.tableFontSizeMiddle)),Q("small",P.tablePaddingVerticalSmall,P.tablePaddingHorizontalSmall,P.tableFontSizeSmall))}},Io=P=>{const{componentCls:T,marginXXS:Q,fontSizeIcon:se,tableHeaderIconColor:fe,tableHeaderIconColorHover:he}=P;return{[`${T}-wrapper`]:{[`${T}-thead th${T}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${P.motionDurationSlow}`,"&:hover":{background:P.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:P.colorPrimary},[`
|
|
|
&${T}-cell-fix-left:hover,
|
|
|
&${T}-cell-fix-right:hover
|
|
|
`]:{background:P.tableFixedHeaderSortActiveBg}},[`${T}-thead th${T}-column-sort`]:{background:P.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${T}-column-sort`]:{background:P.tableBodySortBg},[`${T}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${T}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${T}-column-sorter`]:{marginInlineStart:Q,color:fe,fontSize:0,transition:`color ${P.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:se,"&.active":{color:P.colorPrimary}},[`${T}-column-sorter-up + ${T}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${T}-column-sorters:hover ${T}-column-sorter`]:{color:he}}}},Ro=P=>{const{componentCls:T,opacityLoading:Q,tableScrollThumbBg:se,tableScrollThumbBgHover:fe,tableScrollThumbSize:he,tableScrollBg:Ie,zIndexTableSticky:Re,stickyScrollBarBorderRadius:be}=P,Te=`${P.lineWidth}px ${P.lineType} ${P.tableBorderColor}`;return{[`${T}-wrapper`]:{[`${T}-sticky`]:{"&-holder":{position:"sticky",zIndex:Re,background:P.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${he}px !important`,zIndex:Re,display:"flex",alignItems:"center",background:Ie,borderTop:Te,opacity:Q,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:he,backgroundColor:se,borderRadius:be,transition:`all ${P.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:fe}}}}}}},Ga=P=>{const{componentCls:T,lineWidth:Q,tableBorderColor:se}=P,fe=`${Q}px ${P.lineType} ${se}`;return{[`${T}-wrapper`]:{[`${T}-summary`]:{position:"relative",zIndex:P.zIndexTableFixed,background:P.tableBg,"> tr":{"> th, > td":{borderBottom:fe}}},[`div${T}-summary`]:{boxShadow:`0 -${Q}px 0 ${se}`}}}},Po=P=>{const{componentCls:T}=P,Q=`${P.lineWidth}px ${P.lineType} ${P.tableBorderColor}`,se=`${T}-expanded-row-cell`;return{[`${T}-wrapper`]:{[`${T}-tbody-virtual`]:{[`${T}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${T}-cell`]:{borderBottom:Q},[`${T}-expanded-row`]:{[`${se}${se}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${P.lineWidth}px)`,borderInlineEnd:"none"}}},[`${T}-bordered`]:{[`${T}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Q,position:"absolute"},[`${T}-cell`]:{borderInlineEnd:Q,[`&${T}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-P.lineWidth,borderInlineStart:Q}}}}}}};const $o=P=>{const{componentCls:T,fontWeightStrong:Q,tablePaddingVertical:se,tablePaddingHorizontal:fe,lineWidth:he,lineType:Ie,tableBorderColor:Re,tableFontSize:be,tableBg:Te,tableRadius:We,tableHeaderTextColor:ze,motionDurationMid:ut,tableHeaderBg:nt,tableHeaderCellSplitColor:at,tableRowHoverBg:Ot,tableSelectedRowBg:bt,tableSelectedRowHoverBg:It,tableFooterTextColor:wt,tableFooterBg:Tt,paddingContentVerticalLG:fn}=P,pn=`${he}px ${Ie} ${Re}`;return{[`${T}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,_a.dF)()),{[T]:Object.assign(Object.assign({},(0,_a.Wf)(P)),{fontSize:be,background:Te,borderRadius:`${We}px ${We}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${We}px ${We}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${T}-cell,
|
|
|
${T}-thead > tr > th,
|
|
|
${T}-tbody > tr > th,
|
|
|
${T}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${fn}px ${fe}px`,overflowWrap:"break-word"},[`${T}-title`]:{padding:`${se}px ${fe}px`},[`${T}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:ze,fontWeight:Q,textAlign:"start",background:nt,borderBottom:pn,transition:`background ${ut} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${T}-selection-column):not(${T}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:at,transform:"translateY(-50%)",transition:`background-color ${ut}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${T}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${ut}, border-color ${ut}`,borderBottom:pn,[`
|
|
|
> ${T}-wrapper:only-child,
|
|
|
> ${T}-expanded-row-fixed > ${T}-wrapper:only-child
|
|
|
`]:{[T]:{marginBlock:`-${se}px`,marginInline:`${P.tableExpandColumnWidth-fe}px -${fe}px`,[`${T}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:ze,fontWeight:Q,textAlign:"start",background:nt,borderBottom:pn,transition:`background ${ut} ease`},[`
|
|
|
&${T}-row:hover > th,
|
|
|
&${T}-row:hover > td,
|
|
|
> th${T}-cell-row-hover,
|
|
|
> td${T}-cell-row-hover
|
|
|
`]:{background:Ot},[`&${T}-row-selected`]:{"> th, > td":{background:bt},"&:hover > th, &:hover > td":{background:It}}}},[`${T}-footer`]:{padding:`${se}px ${fe}px`,color:wt,background:Tt}})}};var No=(0,Na.Z)("Table",P=>{const{colorTextHeading:T,colorSplit:Q,colorIcon:se,colorIconHover:fe,opacityLoading:he,colorBgContainer:Ie,controlInteractiveSize:Re,headerBg:be,headerColor:Te,headerSortActiveBg:We,headerSortHoverBg:ze,bodySortBg:ut,rowHoverBg:nt,rowSelectedBg:at,rowSelectedHoverBg:Ot,rowExpandedBg:bt,cellPaddingBlock:It,cellPaddingInline:wt,cellPaddingBlockMD:Tt,cellPaddingInlineMD:fn,cellPaddingBlockSM:pn,cellPaddingInlineSM:en,borderColor:In,footerBg:Ln,footerColor:Kt,headerBorderRadius:nn,cellFontSize:kt,cellFontSizeMD:$t,cellFontSizeSM:Qt,headerSplitColor:On,fixedHeaderSortActiveBg:jn,headerFilterHoverBg:An,filterDropdownBg:mn,expandIconBg:Un,selectionColumnWidth:Xn,stickyScrollBarBg:vr}=P,sr=new Yi.C(se),Fr=new Yi.C(fe),Kr=2,Bn=(0,Da.TS)(P,{tableFontSize:kt,tableBg:Ie,tableRadius:nn,tablePaddingVertical:It,tablePaddingHorizontal:wt,tablePaddingVerticalMiddle:Tt,tablePaddingHorizontalMiddle:fn,tablePaddingVerticalSmall:pn,tablePaddingHorizontalSmall:en,tableBorderColor:In,tableHeaderTextColor:Te,tableHeaderBg:be,tableFooterTextColor:Kt,tableFooterBg:Ln,tableHeaderCellSplitColor:On,tableHeaderSortBg:We,tableHeaderSortHoverBg:ze,tableHeaderIconColor:sr.clone().setAlpha(sr.getAlpha()*he).toRgbString(),tableHeaderIconColorHover:Fr.clone().setAlpha(Fr.getAlpha()*he).toRgbString(),tableBodySortBg:ut,tableFixedHeaderSortActiveBg:jn,tableHeaderFilterActiveBg:An,tableFilterDropdownBg:mn,tableRowHoverBg:nt,tableSelectedRowBg:at,tableSelectedRowHoverBg:Ot,zIndexTableFixed:Kr,zIndexTableSticky:Kr+1,tableFontSizeMiddle:$t,tableFontSizeSmall:Qt,tableSelectionColumnWidth:Xn,tableExpandIconBg:Un,tableExpandColumnWidth:Re+2*P.padding,tableExpandedRowBg:bt,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:vr,tableScrollThumbBgHover:T,tableScrollBg:Q});return[$o(Bn),wo(Bn),Ga(Bn),Io(Bn),bo(Bn),Ea(Bn),Co(Bn),yo(Bn),Ga(Bn),go(Bn),Eo(Bn),xo(Bn),Ro(Bn),vo(Bn),Oo(Bn),So(Bn),Po(Bn)]},P=>{const{colorFillAlter:T,colorBgContainer:Q,colorTextHeading:se,colorFillSecondary:fe,colorFillContent:he,controlItemBgActive:Ie,controlItemBgActiveHover:Re,padding:be,paddingSM:Te,paddingXS:We,colorBorderSecondary:ze,borderRadiusLG:ut,fontSize:nt,controlHeight:at,colorTextPlaceholder:Ot}=P,bt=new Yi.C(fe).onBackground(Q).toHexShortString(),It=new Yi.C(he).onBackground(Q).toHexShortString(),wt=new Yi.C(T).onBackground(Q).toHexShortString();return{headerBg:wt,headerColor:se,headerSortActiveBg:bt,headerSortHoverBg:It,bodySortBg:wt,rowHoverBg:wt,rowSelectedBg:Ie,rowSelectedHoverBg:Re,rowExpandedBg:T,cellPaddingBlock:be,cellPaddingInline:be,cellPaddingBlockMD:Te,cellPaddingInlineMD:We,cellPaddingBlockSM:We,cellPaddingInlineSM:We,borderColor:ze,headerBorderRadius:ut,footerBg:wt,footerColor:se,cellFontSize:nt,cellFontSizeMD:nt,cellFontSizeSM:nt,headerSplitColor:ze,fixedHeaderSortActiveBg:bt,headerFilterHoverBg:he,filterDropdownMenuBg:Q,filterDropdownBg:Q,expandIconBg:Q,selectionColumnWidth:at,stickyScrollBarBg:Ot,stickyScrollBarBorderRadius:100}});const Do=[],To=(P,T)=>{const{prefixCls:Q,className:se,rootClassName:fe,style:he,size:Ie,bordered:Re,dropdownPrefixCls:be,dataSource:Te,pagination:We,rowSelection:ze,rowKey:ut="key",rowClassName:nt,columns:at,children:Ot,childrenColumnName:bt,onChange:It,getPopupContainer:wt,loading:Tt,expandIcon:fn,expandable:pn,expandedRowRender:en,expandIconColumnIndex:In,indentSize:Ln,scroll:Kt,sortDirections:nn,locale:kt,showSorterTooltip:$t=!0,virtual:Qt}=P,On=l.useMemo(()=>at||Be(Ot),[at,Ot]),jn=l.useMemo(()=>On.some(ar=>ar.responsive),[On]),An=(0,mr.Z)(jn),mn=l.useMemo(()=>{const ar=new Set(Object.keys(An).filter(Sr=>An[Sr]));return On.filter(Sr=>!Sr.responsive||Sr.responsive.some(si=>ar.has(si)))},[On,An]),Un=(0,on.Z)(P,["className","style","columns"]),{locale:Xn=_r.Z,direction:vr,table:sr,renderEmpty:Fr,getPrefixCls:Kr,getPopupContainer:Bn}=l.useContext(rr.E_),Vr=(0,nr.Z)(Ie),lr=Object.assign(Object.assign({},Xn.Table),kt),Pr=Te||Do,Or=Kr("table",Q),Si=Kr("dropdown",be),bn=Object.assign({childrenColumnName:bt,expandIconColumnIndex:In},pn),{childrenColumnName:yn="children"}=bn,vn=l.useMemo(()=>Pr.some(ar=>ar==null?void 0:ar[yn])?"nest":en||pn&&pn.expandedRowRender?"row":null,[Pr]),cn={body:l.useRef()},ur=l.useMemo(()=>typeof ut=="function"?ut:ar=>ar==null?void 0:ar[ut],[ut]),[dn]=aa(Pr,yn,ur),Mn={},ir=function(ar,Sr){let si=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Mr,pi,Ii;const Ri=Object.assign(Object.assign({},Mn),ar);si&&((Mr=Mn.resetPagination)===null||Mr===void 0||Mr.call(Mn),!((pi=Ri.pagination)===null||pi===void 0)&&pi.current&&(Ri.pagination.current=1),We&&We.onChange&&We.onChange(1,(Ii=Ri.pagination)===null||Ii===void 0?void 0:Ii.pageSize)),Kt&&Kt.scrollToFirstRowOnChange!==!1&&cn.body.current&&(0,kn.Z)(0,{getContainer:()=>cn.body.current}),It==null||It(Ri.pagination,Ri.filters,Ri.sorter,{currentDataSource:Wi(zr(Pr,Ri.sorterStates,yn),Ri.filterStates),action:Sr})},er=(ar,Sr)=>{ir({sorter:ar,sorterStates:Sr},"sort",!1)},[fi,ii,Ki,Gr]=Cr({prefixCls:Or,mergedColumns:mn,onSorterChange:er,sortDirections:nn||["ascend","descend"],tableLocale:lr,showSorterTooltip:$t}),Ai=l.useMemo(()=>zr(Pr,ii,yn),[Pr,ii]);Mn.sorter=Gr(),Mn.sorterStates=ii;const Xr=(ar,Sr)=>{ir({filters:ar,filterStates:Sr},"filter",!0)},[Ei,oa,dr]=la({prefixCls:Or,locale:lr,dropdownPrefixCls:Si,mergedColumns:mn,onFilterChange:Xr,getPopupContainer:wt||Bn}),fr=Wi(Ai,oa);Mn.filters=dr,Mn.filterStates=oa;const Dr=l.useMemo(()=>{const ar={};return Object.keys(dr).forEach(Sr=>{dr[Sr]!==null&&(ar[Sr]=dr[Sr])}),Object.assign(Object.assign({},Ki),{filters:ar})},[Ki,dr]),[Yr]=wi(Dr),Qr=(ar,Sr)=>{ir({pagination:Object.assign(Object.assign({},Mn.pagination),{current:ar,pageSize:Sr})},"paginate")},[Yn,vi]=da(fr.length,Qr,We);Mn.pagination=We===!1?{}:Fi(Yn,We),Mn.resetPagination=vi;const hi=l.useMemo(()=>{if(We===!1||!Yn.pageSize)return fr;const{current:ar=1,total:Sr,pageSize:si=ta}=Yn;return fr.length<Sr?fr.length>si?fr.slice((ar-1)*si,ar*si):fr:fr.slice((ar-1)*si,ar*si)},[!!We,fr,Yn&&Yn.current,Yn&&Yn.pageSize,Yn&&Yn.total]),[Ni,Hi]=Mi({prefixCls:Or,data:fr,pageData:hi,getRowKey:ur,getRecordByKey:dn,expandType:vn,childrenColumnName:yn,locale:lr,getPopupContainer:wt||Bn},ze),ki=(ar,Sr,si)=>{let Mr;return typeof nt=="function"?Mr=g()(nt(ar,Sr,si)):Mr=g()(nt),g()({[`${Or}-row-selected`]:Hi.has(ur(ar,Sr))},Mr)};bn.__PARENT_RENDER_ICON__=bn.expandIcon,bn.expandIcon=bn.expandIcon||fn||kr(lr),vn==="nest"&&bn.expandIconColumnIndex===void 0?bn.expandIconColumnIndex=ze?1:0:bn.expandIconColumnIndex>0&&ze&&(bn.expandIconColumnIndex-=1),typeof bn.indentSize!="number"&&(bn.indentSize=typeof Ln=="number"?Ln:15);const Oa=l.useCallback(ar=>Yr(Ni(Ei(fi(ar)))),[fi,Ei,Ni]);let Ji,Li;if(We!==!1&&(Yn!=null&&Yn.total)){let ar;Yn.size?ar=Yn.size:ar=Vr==="small"||Vr==="middle"?"small":void 0;const Sr=pi=>l.createElement(Er.Z,Object.assign({},Yn,{className:g()(`${Or}-pagination ${Or}-pagination-${pi}`,Yn.className),size:ar})),si=vr==="rtl"?"left":"right",{position:Mr}=Yn;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=Sr(si)),pi&&(Ji=Sr(pi.toLowerCase().replace("top",""))),Ii&&(Li=Sr(Ii.toLowerCase().replace("bottom","")))}else Li=Sr(si)}let Oi;typeof Tt=="boolean"?Oi={spinning:Tt}:typeof Tt=="object"&&(Oi=Object.assign({spinning:!0},Tt));const[gi,Jr]=No(Or),[,Tr]=(0,Qn.Z)(),Ui=g()(`${Or}-wrapper`,sr==null?void 0:sr.className,{[`${Or}-wrapper-rtl`]:vr==="rtl"},se,fe,Jr),sa=Object.assign(Object.assign({},sr==null?void 0:sr.style),he),na=kt&&kt.emptyText||(Fr==null?void 0:Fr("Table"))||l.createElement(gr.Z,{componentName:"Table"}),Vi=Qt?ga:Ci,Ta={},Za=l.useMemo(()=>{const{fontSize:ar,lineHeight:Sr,padding:si,paddingXS:Mr,paddingSM:pi}=Tr,Ii=Math.floor(ar*Sr);switch(Vr){case"large":return si*2+Ii;case"small":return Mr*2+Ii;default:return pi*2+Ii}},[Tr,Vr]);return Qt&&(Ta.listItemHeight=Za),gi(l.createElement("div",{ref:T,className:Ui,style:sa},l.createElement(yr.Z,Object.assign({spinning:!1},Oi),Ji,l.createElement(Vi,Object.assign({},Ta,Un,{columns:mn,direction:vr,expandable:bn,prefixCls:Or,className:g()({[`${Or}-middle`]:Vr==="middle",[`${Or}-small`]:Vr==="small",[`${Or}-bordered`]:Re,[`${Or}-empty`]:Pr.length===0}),data:hi,rowKey:ur,rowClassName:ki,emptyText:na,internalHooks:v,internalRefs:cn,transformColumns:Oa})),Li)))};var Mo=l.forwardRef(To);const Ao=(P,T)=>{const Q=l.useRef(0);return Q.current+=1,l.createElement(Mo,Object.assign({},P,{ref:T,_renderTimes:Q.current}))},Qi=l.forwardRef(Ao);Qi.SELECTION_COLUMN=jr,Qi.EXPAND_COLUMN=_,Qi.SELECTION_ALL=Zr,Qi.SELECTION_INVERT=ri,Qi.SELECTION_NONE=oi,Qi.Column=or,Qi.ColumnGroup=Pt,Qi.Summary=d;var Lo=Qi,Bo=Lo},33166:function(qe,ve,t){"use strict";t.d(ve,{i:function(){return _}});const _=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},45157:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return v}});var _=t(33166);function v(N,V){return _.i.reduce((C,k)=>{const l=N[`${k}1`],W=N[`${k}3`],e=N[`${k}6`],h=N[`${k}7`];return Object.assign(Object.assign({},C),V(k,{lightColor:l,lightBorderColor:W,darkColor:e,textColor:h}))},{})}},6848:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return X}});var _=t(59301),v=t(92310),N=t.n(v),V=t(55477),C=t(18929),k=t(62892),l=t(79676),W=t(92343),e=t(36355),h=t(33234),m=t(88088),n=t(17313),r=t(29878),a=t(19447),u=t(45157),b=t(37613),z=t(83116);const E=U=>{const{componentCls:M,tooltipMaxWidth:g,tooltipColor:K,tooltipBg:O,tooltipBorderRadius:A,zIndexPopup:$,controlHeight:i,boxShadowSecondary:o,paddingSM:p,paddingXS:F,tooltipRadiusOuter:re}=U;return[{[M]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.Wf)(U)),{position:"absolute",zIndex:$,display:"block",width:"max-content",maxWidth:g,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":O,[`${M}-inner`]:{minWidth:i,minHeight:i,padding:`${p/2}px ${F}px`,color:K,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:O,borderRadius:A,boxShadow:o,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${M}-inner`]:{borderRadius:Math.min(A,a.qN)}},[`${M}-content`]:{position:"relative"}}),(0,u.Z)(U,(ie,ne)=>{let{darkColor:me}=ne;return{[`&${M}-${ie}`]:{[`${M}-inner`]:{backgroundColor:me},[`${M}-arrow`]:{"--antd-arrow-background-color":me}}}})),{"&-rtl":{direction:"rtl"}})},(0,a.ZP)((0,b.TS)(U,{borderRadiusOuter:re}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:A,limitVerticalRadius:!0}),{[`${M}-pure`]:{position:"relative",maxWidth:"none",margin:U.sizePopupArrow}}]};var y=(U,M)=>(0,z.Z)("Tooltip",K=>{if(M===!1)return[];const{borderRadius:O,colorTextLightSolid:A,colorBgDefault:$,borderRadiusOuter:i}=K,o=(0,b.TS)(K,{tooltipMaxWidth:250,tooltipColor:A,tooltipBorderRadius:O,tooltipBg:$,tooltipRadiusOuter:i>4?4:i});return[E(o),(0,r._y)(K,"zoom-big-fast")]},K=>{let{zIndexPopupBase:O,colorBgSpotlight:A}=K;return{zIndexPopup:O+70,colorBgDefault:A}},{resetStyle:!1})(U),I=t(36785);function S(U,M){const g=(0,I.o2)(M),K=N()({[`${U}-${M}`]:M&&g}),O={},A={};return M&&!g&&(O.background=M,A["--antd-arrow-background-color"]=M),{className:K,overlayStyle:O,arrowStyle:A}}var s=U=>{const{prefixCls:M,className:g,placement:K="top",title:O,color:A,overlayInnerStyle:$}=U,{getPrefixCls:i}=_.useContext(e.E_),o=i("tooltip",M),[p,F]=y(o,!0),re=S(o,A),ie=re.arrowStyle,ne=Object.assign(Object.assign({},$),re.overlayStyle),me=N()(F,o,`${o}-pure`,`${o}-placement-${K}`,g,re.className);return p(_.createElement("div",{className:me,style:ie},_.createElement("div",{className:`${o}-arrow`}),_.createElement(V.G,Object.assign({},U,{className:F,prefixCls:o,overlayInnerStyle:ne}),O)))},w=function(U,M){var g={};for(var K in U)Object.prototype.hasOwnProperty.call(U,K)&&M.indexOf(K)<0&&(g[K]=U[K]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,K=Object.getOwnPropertySymbols(U);O<K.length;O++)M.indexOf(K[O])<0&&Object.prototype.propertyIsEnumerable.call(U,K[O])&&(g[K[O]]=U[K[O]]);return g};const D=(U,M)=>{const g={},K=Object.assign({},U);return M.forEach(O=>{U&&O in U&&(g[O]=U[O],delete K[O])}),{picked:g,omitted:K}};function Y(U,M){const g=U.type;if((g.__ANT_BUTTON===!0||U.type==="button")&&U.props.disabled||g.__ANT_SWITCH===!0&&(U.props.disabled||U.props.loading)||g.__ANT_RADIO===!0&&U.props.disabled){const{picked:K,omitted:O}=D(U.props.style,["position","left","right","top","bottom","float","display","zIndex"]),A=Object.assign(Object.assign({display:"inline-block"},K),{cursor:"not-allowed",width:U.props.block?"100%":void 0}),$=Object.assign(Object.assign({},O),{pointerEvents:"none"}),i=(0,W.Tm)(U,{style:$,className:null});return _.createElement("span",{style:A,className:N()(U.props.className,`${M}-disabled-compatible-wrapper`)},i)}return U}const J=_.forwardRef((U,M)=>{var g,K;const{prefixCls:O,openClassName:A,getTooltipContainer:$,overlayClassName:i,color:o,overlayInnerStyle:p,children:F,afterOpenChange:re,afterVisibleChange:ie,destroyTooltipOnHide:ne,arrow:me=!0,title:xe,overlay:He,builtinPlacements:Pe,arrowPointAtCenter:Ue=!1,autoAdjustOverflow:et=!0}=U,lt=!!me,[,je]=(0,m.Z)(),{getPopupContainer:pe,getPrefixCls:ue,direction:Z}=_.useContext(e.E_),H=_.useRef(null),L=()=>{var Lt;(Lt=H.current)===null||Lt===void 0||Lt.forceAlign()};_.useImperativeHandle(M,()=>({forceAlign:L,forcePopupAlign:()=>{L()}}));const[R,ee]=(0,C.Z)(!1,{value:(g=U.open)!==null&&g!==void 0?g:U.visible,defaultValue:(K=U.defaultOpen)!==null&&K!==void 0?K:U.defaultVisible}),x=!xe&&!He&&xe!==0,d=Lt=>{var rt,Vt;ee(x?!1:Lt),x||((rt=U.onOpenChange)===null||rt===void 0||rt.call(U,Lt),(Vt=U.onVisibleChange)===null||Vt===void 0||Vt.call(U,Lt))},f=_.useMemo(()=>{var Lt,rt;let Vt=Ue;return typeof me=="object"&&(Vt=(rt=(Lt=me.pointAtCenter)!==null&&Lt!==void 0?Lt:me.arrowPointAtCenter)!==null&&rt!==void 0?rt:Ue),Pe||(0,l.Z)({arrowPointAtCenter:Vt,autoAdjustOverflow:et,arrowWidth:lt?je.sizePopupArrow:0,borderRadius:je.borderRadius,offset:je.marginXXS,visibleFirst:!0})},[Ue,me,Pe,je]),G=_.useMemo(()=>xe===0?xe:He||xe||"",[He,xe]),j=_.createElement(h.BR,null,typeof G=="function"?G():G),{getPopupContainer:B,placement:q="top",mouseEnterDelay:de=.1,mouseLeaveDelay:oe=.1,overlayStyle:le,rootClassName:_e}=U,Ee=w(U,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),ge=ue("tooltip",O),Ce=ue(),Oe=U["data-popover-inject"];let Se=R;!("open"in U)&&!("visible"in U)&&x&&(Se=!1);const Xe=Y((0,W.l$)(F)&&!(0,W.M2)(F)?F:_.createElement("span",null,F),ge),Ye=Xe.props,pt=!Ye.className||typeof Ye.className=="string"?N()(Ye.className,A||`${ge}-open`):Ye.className,[dt,At]=y(ge,!Oe),Rt=S(ge,o),Zt=Rt.arrowStyle,Nt=Object.assign(Object.assign({},p),Rt.overlayStyle),sn=N()(i,{[`${ge}-rtl`]:Z==="rtl"},Rt.className,_e,At);return dt(_.createElement(V.Z,Object.assign({},Ee,{showArrow:lt,placement:q,mouseEnterDelay:de,mouseLeaveDelay:oe,prefixCls:ge,overlayClassName:sn,overlayStyle:Object.assign(Object.assign({},Zt),le),getTooltipContainer:B||$||pe,ref:H,builtinPlacements:f,overlay:j,visible:Se,onVisibleChange:d,afterVisibleChange:re!=null?re:ie,overlayInnerStyle:Nt,arrowContent:_.createElement("span",{className:`${ge}-arrow-content`}),motion:{motionName:(0,k.m)(Ce,"zoom-big-fast",U.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!ne}),Se?(0,W.Tm)(Xe,{className:pt}):Xe))});J._InternalPanelDoNotUseOrYouWillBeFired=s;var X=J},17574:function(qe,ve,t){"use strict";t.d(ve,{default:function(){return o}});var _=t(23130),v=t(26407),N=t(52671),V=t(8657),C=t(92413),k=t(59301),l={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=l,e=t(7657),h=function(F,re){return k.createElement(e.Z,(0,C.Z)({},F,{ref:re,icon:W}))},m=k.forwardRef(h),n=m,r=t(92310),a=t.n(r),u=t(35654),b=t(71430),z=t(36355),E=t(56082),y=t(62892),I=t(20648);const S=4;function c(p){const{dropPosition:F,dropLevelOffset:re,prefixCls:ie,indent:ne,direction:me="ltr"}=p,xe=me==="ltr"?"left":"right",He=me==="ltr"?"right":"left",Pe={[xe]:-re*ne+S,[He]:0};switch(F){case-1:Pe.top=-3;break;case 1:Pe.bottom=-3;break;default:Pe.bottom=-3,Pe[xe]=ne+S;break}return k.createElement("div",{style:Pe,className:`${ie}-drop-indicator`})}var s=t(71997),D=k.forwardRef((p,F)=>{const{getPrefixCls:re,direction:ie,virtual:ne,tree:me}=k.useContext(z.E_),{prefixCls:xe,className:He,showIcon:Pe=!1,showLine:Ue,switcherIcon:et,blockNode:lt=!1,children:je,checkable:pe=!1,selectable:ue=!0,draggable:Z,motion:H,style:L}=p,R=re("tree",xe),ee=re(),x=H!=null?H:Object.assign(Object.assign({},(0,y.Z)(ee)),{motionAppear:!1}),d=Object.assign(Object.assign({},p),{checkable:pe,selectable:ue,showIcon:Pe,motion:x,blockNode:lt,showLine:!!Ue,dropIndicatorRender:c}),[f,G]=(0,I.ZP)(R),j=k.useMemo(()=>{if(!Z)return!1;let q={};switch(typeof Z){case"function":q.nodeDraggable=Z;break;case"object":q=Object.assign({},Z);break;default:break}return q.icon!==!1&&(q.icon=q.icon||k.createElement(E.Z,null)),q},[Z]),B=q=>k.createElement(s.Z,{prefixCls:R,switcherIcon:et,treeNodeProps:q,showLine:Ue});return f(k.createElement(_.Z,Object.assign({itemHeight:20,ref:F,virtual:ne},d,{style:Object.assign(Object.assign({},me==null?void 0:me.style),L),prefixCls:R,className:a()({[`${R}-icon-hide`]:!Pe,[`${R}-block-node`]:lt,[`${R}-unselectable`]:!ue,[`${R}-rtl`]:ie==="rtl"},me==null?void 0:me.className,He,G),direction:ie,checkable:pe&&k.createElement("span",{className:`${R}-checkbox-inner`}),selectable:ue,switcherIcon:B,draggable:j}),je))}),Y;(function(p){p[p.None=0]="None",p[p.Start=1]="Start",p[p.End=2]="End"})(Y||(Y={}));function J(p,F){function re(ie){const{key:ne,children:me}=ie;F(ne,ie)!==!1&&J(me||[],F)}p.forEach(re)}function X(p){let{treeData:F,expandedKeys:re,startKey:ie,endKey:ne}=p;const me=[];let xe=Y.None;if(ie&&ie===ne)return[ie];if(!ie||!ne)return[];function He(Pe){return Pe===ie||Pe===ne}return J(F,Pe=>{if(xe===Y.End)return!1;if(He(Pe)){if(me.push(Pe),xe===Y.None)xe=Y.Start;else if(xe===Y.Start)return xe=Y.End,!1}else xe===Y.Start&&me.push(Pe);return re.includes(Pe)}),me}function U(p,F){const re=(0,v.Z)(F),ie=[];return J(p,(ne,me)=>{const xe=re.indexOf(ne);return xe!==-1&&(ie.push(me),re.splice(xe,1)),!!re.length}),ie}var M=function(p,F){var re={};for(var ie in p)Object.prototype.hasOwnProperty.call(p,ie)&&F.indexOf(ie)<0&&(re[ie]=p[ie]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,ie=Object.getOwnPropertySymbols(p);ne<ie.length;ne++)F.indexOf(ie[ne])<0&&Object.prototype.propertyIsEnumerable.call(p,ie[ne])&&(re[ie[ne]]=p[ie[ne]]);return re};function g(p){const{isLeaf:F,expanded:re}=p;return F?k.createElement(N.Z,null):re?k.createElement(V.Z,null):k.createElement(n,null)}function K(p){let{treeData:F,children:re}=p;return F||(0,b.zn)(re)}const O=(p,F)=>{var{defaultExpandAll:re,defaultExpandParent:ie,defaultExpandedKeys:ne}=p,me=M(p,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const xe=k.useRef(),He=k.useRef(),Pe=()=>{const{keyEntities:j}=(0,b.I8)(K(me));let B;return re?B=Object.keys(j):ie?B=(0,u.r7)(me.expandedKeys||ne||[],j):B=me.expandedKeys||ne,B},[Ue,et]=k.useState(me.selectedKeys||me.defaultSelectedKeys||[]),[lt,je]=k.useState(()=>Pe());k.useEffect(()=>{"selectedKeys"in me&&et(me.selectedKeys)},[me.selectedKeys]),k.useEffect(()=>{"expandedKeys"in me&&je(me.expandedKeys)},[me.expandedKeys]);const pe=(j,B)=>{var q;return"expandedKeys"in me||je(j),(q=me.onExpand)===null||q===void 0?void 0:q.call(me,j,B)},ue=(j,B)=>{var q;const{multiple:de}=me,{node:oe,nativeEvent:le}=B,{key:_e=""}=oe,Ee=K(me),ge=Object.assign(Object.assign({},B),{selected:!0}),Ce=(le==null?void 0:le.ctrlKey)||(le==null?void 0:le.metaKey),Oe=le==null?void 0:le.shiftKey;let Se;de&&Ce?(Se=j,xe.current=_e,He.current=Se,ge.selectedNodes=U(Ee,Se)):de&&Oe?(Se=Array.from(new Set([].concat((0,v.Z)(He.current||[]),(0,v.Z)(X({treeData:Ee,expandedKeys:lt,startKey:_e,endKey:xe.current}))))),ge.selectedNodes=U(Ee,Se)):(Se=[_e],xe.current=_e,He.current=Se,ge.selectedNodes=U(Ee,Se)),(q=me.onSelect)===null||q===void 0||q.call(me,Se,ge),"selectedKeys"in me||et(Se)},{getPrefixCls:Z,direction:H}=k.useContext(z.E_),{prefixCls:L,className:R,showIcon:ee=!0,expandAction:x="click"}=me,d=M(me,["prefixCls","className","showIcon","expandAction"]),f=Z("tree",L),G=a()(`${f}-directory`,{[`${f}-directory-rtl`]:H==="rtl"},R);return k.createElement(D,Object.assign({icon:g,ref:F,blockNode:!0},d,{showIcon:ee,expandAction:x,prefixCls:f,className:G,expandedKeys:lt,selectedKeys:Ue,onSelect:ue,onExpand:pe}))};var $=k.forwardRef(O);const i=D;i.DirectoryTree=$,i.TreeNode=_.O;var o=i},20648:function(qe,ve,t){"use strict";t.d(ve,{TM:function(){return r},Yk:function(){return n}});var _=t(93083),v=t(98447),N=t(17313),V=t(8378),C=t(37613),k=t(83116);const l=new _.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),W=(a,u)=>({[`.${a}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${u.motionDurationSlow}`}}}),e=(a,u)=>({[`.${a}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:u.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${u.lineWidthBold}px solid ${u.colorPrimary}`,borderRadius:"50%",content:'""'}}}),h=(a,u)=>{const{treeCls:b,treeNodeCls:z,treeNodePadding:E,titleHeight:y,nodeSelectedBg:I,nodeHoverBg:S}=u,c=u.paddingXS;return{[b]:Object.assign(Object.assign({},(0,N.Wf)(u)),{background:u.colorBgContainer,borderRadius:u.borderRadius,transition:`background-color ${u.motionDurationSlow}`,[`&${b}-rtl`]:{[`${b}-switcher`]:{"&_close":{[`${b}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${b}-active-focused)`]:Object.assign({},(0,N.oN)(u)),[`${b}-list-holder-inner`]:{alignItems:"flex-start"},[`&${b}-block-node`]:{[`${b}-list-holder-inner`]:{alignItems:"stretch",[`${b}-node-content-wrapper`]:{flex:"auto"},[`${z}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${u.colorPrimary}`,opacity:0,animationName:l,animationDuration:u.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${z}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${b}-node-content-wrapper`]:{color:u.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${b}-node-content-wrapper`]:Object.assign({},(0,N.oN)(u)),[`&:not(${z}-disabled).filter-node ${b}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${b}-draggable-icon`]:{flexShrink:0,width:y,lineHeight:`${y}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${u.motionDurationSlow}`,[`${z}:hover &`]:{opacity:.45}},[`&${z}-disabled`]:{[`${b}-draggable-icon`]:{visibility:"hidden"}}}},[`${b}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:y}},[`${b}-draggable-icon`]:{visibility:"hidden"},[`${b}-switcher`]:Object.assign(Object.assign({},W(a,u)),{position:"relative",flex:"none",alignSelf:"stretch",width:y,margin:0,lineHeight:`${y}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${b}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:u.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:y/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${u.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:y/2*.8,height:y/2,borderBottom:`1px solid ${u.colorBorder}`,content:'""'}}}),[`${b}-checkbox`]:{top:"initial",marginInlineEnd:c},[`${b}-node-content-wrapper, ${b}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:y,margin:0,padding:`0 ${u.paddingXS/2}px`,color:"inherit",lineHeight:`${y}px`,background:"transparent",borderRadius:u.borderRadius,cursor:"pointer",transition:`all ${u.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:S},[`&${b}-node-selected`]:{backgroundColor:I},[`${b}-iconEle`]:{display:"inline-block",width:y,height:y,lineHeight:`${y}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${b}-unselectable ${b}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${b}-node-content-wrapper`]:Object.assign({lineHeight:`${y}px`,userSelect:"none"},e(a,u)),[`${z}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${u.colorPrimary}`}},"&-show-line":{[`${b}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:y/2,bottom:-E,borderInlineEnd:`1px solid ${u.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${b}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${z}-leaf-last`]:{[`${b}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${y/2}px !important`}}}}})}},m=a=>{const{treeCls:u,treeNodeCls:b,treeNodePadding:z,directoryNodeSelectedBg:E,directoryNodeSelectedColor:y}=a;return{[`${u}${u}-directory`]:{[b]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:z,insetInlineStart:0,transition:`background-color ${a.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:a.controlItemBgHover}},"> *":{zIndex:1},[`${u}-switcher`]:{transition:`color ${a.motionDurationMid}`},[`${u}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${u}-node-selected`]:{color:y,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${u}-switcher`]:{color:y},[`${u}-node-content-wrapper`]:{color:y,background:"transparent"}}}}}},n=(a,u)=>{const b=`.${a}`,z=`${b}-treenode`,E=u.paddingXS/2,y=(0,C.TS)(u,{treeCls:b,treeNodeCls:z,treeNodePadding:E});return[h(a,y),m(y)]},r=a=>{const{controlHeightSM:u}=a;return{titleHeight:u,nodeHoverBg:a.controlItemBgHover,nodeSelectedBg:a.controlItemBgActive}};ve.ZP=(0,k.Z)("Tree",(a,u)=>{let{prefixCls:b}=u;return[{[a.componentCls]:(0,v.C2)(`${b}-checkbox`,a)},n(b,a),(0,V.Z)(a)]},a=>{const{colorTextLightSolid:u,colorPrimary:b}=a;return Object.assign(Object.assign({},r(a)),{directoryNodeSelectedColor:u,directoryNodeSelectedBg:b})})},71997:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return z}});var _=t(92413),v=t(59301),N={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=N,C=t(7657),k=function(y,I){return v.createElement(C.Z,(0,_.Z)({},y,{ref:I,icon:V}))},l=v.forwardRef(k),W=l,e=t(52671),h=t(58617),m=t(15075),n=t(43531),r=t(92310),a=t.n(r),u=t(92343),z=E=>{const{prefixCls:y,switcherIcon:I,treeNodeProps:S,showLine:c}=E,{isLeaf:s,expanded:w,loading:D}=S;if(D)return v.createElement(h.Z,{className:`${y}-switcher-loading-icon`});let Y;if(c&&typeof c=="object"&&(Y=c.showLeafIcon),s){if(!c)return null;if(typeof Y!="boolean"&&Y){const U=typeof Y=="function"?Y(S):Y,M=`${y}-switcher-line-custom-icon`;return(0,u.l$)(U)?(0,u.Tm)(U,{className:a()(U.props.className||"",M)}):U}return Y?v.createElement(e.Z,{className:`${y}-switcher-line-icon`}):v.createElement("span",{className:`${y}-switcher-leaf-line`})}const J=`${y}-switcher-icon`,X=typeof I=="function"?I(S):I;return(0,u.l$)(X)?(0,u.Tm)(X,{className:a()(X.props.className||"",J)}):X!==void 0?X:c?w?v.createElement(m.Z,{className:`${y}-switcher-line-icon`}):v.createElement(n.Z,{className:`${y}-switcher-line-icon`}):v.createElement(W,{className:J})}},25769:function(qe,ve,t){"use strict";var _=t(98040),v={"text/plain":"Text","text/html":"Url",default:"Text"},N="Copy to clipboard: #{key}, Enter";function V(k){var l=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return k.replace(/#{\s*key\s*}/g,l)}function C(k,l){var W,e,h,m,n,r,a=!1;l||(l={}),W=l.debug||!1;try{h=_(),m=document.createRange(),n=document.getSelection(),r=document.createElement("span"),r.textContent=k,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(b){if(b.stopPropagation(),l.format)if(b.preventDefault(),typeof b.clipboardData=="undefined"){W&&console.warn("unable to use e.clipboardData"),W&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var z=v[l.format]||v.default;window.clipboardData.setData(z,k)}else b.clipboardData.clearData(),b.clipboardData.setData(l.format,k);l.onCopy&&(b.preventDefault(),l.onCopy(b.clipboardData))}),document.body.appendChild(r),m.selectNodeContents(r),n.addRange(m);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");a=!0}catch(b){W&&console.error("unable to copy using execCommand: ",b),W&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(l.format||"text",k),l.onCopy&&l.onCopy(window.clipboardData),a=!0}catch(z){W&&console.error("unable to copy using clipboardData: ",z),W&&console.error("falling back to prompt"),e=V("message"in l?l.message:N),window.prompt(e,k)}}finally{n&&(typeof n.removeRange=="function"?n.removeRange(m):n.removeAllRanges()),r&&document.body.removeChild(r),h()}return a}qe.exports=C},7947:function(qe,ve,t){"use strict";var _,v;function N(V,C,k){var l=function(W,e){return V.js_beautify(W,e)};return l.js=V.js_beautify,l.css=C.css_beautify,l.html=k.html_beautify,l.js_beautify=V.js_beautify,l.css_beautify=C.css_beautify,l.html_beautify=k.html_beautify,l}_=[t(55139),t(69374),t(75748)],v=function(V,C,k){return N(V,C,k)}.apply(ve,_),v!==void 0&&(qe.exports=v)},69374:function(qe,ve){var t,_;(function(){var v;(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 a=this.__base_string_length;return r=r||0,n<0&&(a=0),a+=n*this.__indent_size,a+=r,a},h.prototype.get_indent_string=function(n,r){var a=this.__base_string;return r=r||0,n<0&&(n=0,a=""),r+=n*this.__indent_size,this.__ensure_cache(r),a+=this.__cache[r],a},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,a="";this.__indent_size&&n>=this.__indent_size&&(r=Math.floor(n/this.__indent_size),n-=r*this.__indent_size,a=new Array(r+1).join(this.__indent_string)),n&&(a+=new Array(n+1).join(" ")),this.__cache.push(a)};function m(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()}m.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},m.prototype.get_line_number=function(){return this.__lines.length},m.prototype.get_indent_string=function(n,r){return this.__indent_cache.get_indent_string(n,r)},m.prototype.get_indent_size=function(n,r){return this.__indent_cache.get_indent_size(n,r)},m.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},m.prototype.add_new_line=function(n){return this.is_empty()||!n&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},m.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 a=this.__lines.join(`
|
|
|
`);return n!==`
|
|
|
`&&(a=a.replace(/[\n]/g,n)),a},m.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},m.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)},m.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},m.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()},m.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(" "))},m.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()},m.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},m.prototype.just_added_newline=function(){return this.current_line.is_empty()},m.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},m.prototype.ensure_empty_line_above=function(n,r){for(var a=this.__lines.length-2;a>=0;){var u=this.__lines[a];if(u.is_empty())break;if(u.item(0).indexOf(n)!==0&&u.item(-1)!==r){this.__lines.splice(a+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}a--}},W.exports.Output=m},,,,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 a=this.raw_options[n],u=r||[];return typeof a=="object"?a!==null&&typeof a.concat=="function"&&(u=a.concat()):typeof a=="string"&&(u=a.split(/[^a-zA-Z0-9_\/\-]+/)),u},e.prototype._get_boolean=function(n,r){var a=this.raw_options[n],u=a===void 0?!!r:!!a;return u},e.prototype._get_characters=function(n,r){var a=this.raw_options[n],u=r||"";return typeof a=="string"&&(u=a.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),u},e.prototype._get_number=function(n,r){var a=this.raw_options[n];r=parseInt(r,10),isNaN(r)&&(r=0);var u=parseInt(a,10);return isNaN(u)&&(u=r),u},e.prototype._get_selection=function(n,r,a){var u=this._get_selection_list(n,r,a);if(u.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 u[0]},e.prototype._get_selection_list=function(n,r,a){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(a=a||[r[0]],!this._is_valid_selection(a,r))throw new Error("Invalid Default Value!");var u=this._get_array(n,a);if(!this._is_valid_selection(u,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 u},e.prototype._is_valid_selection=function(n,r){return n.length&&r.length&&!n.some(function(a){return r.indexOf(a)===-1})};function h(n,r){var a={};n=m(n);var u;for(u in n)u!==r&&(a[u]=n[u]);if(r&&n[r])for(u in n[r])a[u]=n[r][u];return a}function m(n){var r={},a;for(a in n){var u=a.replace(/-/g,"_");r[u]=n[a]}return r}W.exports.Options=e,W.exports.normalizeOpts=m,W.exports.mergeOpts=h},,function(W){var e=RegExp.prototype.hasOwnProperty("sticky");function h(m){this.__input=m||"",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 m=null;return this.hasNext()&&(m=this.__input.charAt(this.__position),this.__position+=1),m},h.prototype.peek=function(m){var n=null;return m=m||0,m+=this.__position,m>=0&&m<this.__input_length&&(n=this.__input.charAt(m)),n},h.prototype.__match=function(m,n){m.lastIndex=n;var r=m.exec(this.__input);return r&&!(e&&m.sticky)&&r.index!==n&&(r=null),r},h.prototype.test=function(m,n){return n=n||0,n+=this.__position,n>=0&&n<this.__input_length?!!this.__match(m,n):!1},h.prototype.testChar=function(m,n){var r=this.peek(n);return m.lastIndex=0,r!==null&&m.test(r)},h.prototype.match=function(m){var n=this.__match(m,this.__position);return n?this.__position+=n[0].length:n=null,n},h.prototype.read=function(m,n,r){var a="",u;return m&&(u=this.match(m),u&&(a+=u[0])),n&&(u||!m)&&(a+=this.readUntil(n,r)),a},h.prototype.readUntil=function(m,n){var r="",a=this.__position;m.lastIndex=this.__position;var u=m.exec(this.__input);return u?(a=u.index,n&&(a+=u[0].length)):a=this.__input_length,r=this.__input.substring(this.__position,a),this.__position=a,r},h.prototype.readUntilAfter=function(m){return this.readUntil(m,!0)},h.prototype.get_regexp=function(m,n){var r=null,a="g";return n&&e&&(a="y"),typeof m=="string"&&m!==""?r=new RegExp(m,a):m&&(r=new RegExp(m.source,a)),r},h.prototype.get_literal_regexp=function(m){return RegExp(m.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},h.prototype.peekUntilAfter=function(m){var n=this.__position,r=this.readUntilAfter(m);return this.__position=n,r},h.prototype.lookBack=function(m){var n=this.__position-1;return n>=m.length&&this.__input.substring(n-m.length,n).toLowerCase()===m},W.exports.InputScanner=h},,,,,function(W){function e(h,m){h=typeof h=="string"?h:h.source,m=typeof m=="string"?m:m.source,this.__directives_block_pattern=new RegExp(h+/ beautify( \w+[:]\w+)+ /.source+m,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(h+/\sbeautify\signore:end\s/.source+m,"g")}e.prototype.get_directives=function(h){if(!h.match(this.__directives_block_pattern))return null;var m={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(h);n;)m[n[1]]=n[2],n=this.__directive_pattern.exec(h);return m},e.prototype.readIgnored=function(h){return h.readUntilAfter(this.__directives_end_ignore_pattern)},W.exports.Directives=e},,function(W,e,h){var m=h(16).Beautifier,n=h(17).Options;function r(a,u){var b=new m(a,u);return b.beautify()}W.exports=r,W.exports.defaultOptions=function(){return new n}},function(W,e,h){var m=h(17).Options,n=h(2).Output,r=h(8).InputScanner,a=h(13).Directives,u=new a(/\/\*/,/\*\//),b=/\r\n|[\r\n]/,z=/\r\n|[\r\n]/g,E=/\s/,y=/(?:\s|\n)+/g,I=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,S=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function c(s,w){this._source_text=s||"",this._options=new m(w),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 w="";for(this._ch=this._input.next();this._ch;){if(w+=this._ch,this._ch==="\\")w+=this._input.next();else if(s.indexOf(this._ch)!==-1||this._ch===`
|
|
|
`)break;this._ch=this._input.next()}return w},c.prototype.eatWhitespace=function(s){for(var w=E.test(this._input.peek()),D=0;E.test(this._input.peek());)this._ch=this._input.next(),s&&this._ch===`
|
|
|
`&&(D===0||D<this._options.max_preserve_newlines)&&(D++,this._output.add_new_line(!0));return w},c.prototype.foundNestedPseudoClass=function(){for(var s=0,w=1,D=this._input.peek(w);D;){if(D==="{")return!0;if(D==="(")s+=1;else if(D===")"){if(s===0)return!1;s-=1}else if(D===";"||D==="}")return!1;w++,D=this._input.peek(w)}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,w=this._options.eol;w==="auto"&&(w=`
|
|
|
`,s&&b.test(s||"")&&(w=s.match(b)[0])),s=s.replace(z,`
|
|
|
`);var D=s.match(/^[\t ]*/)[0];this._output=new n(this._options,D),this._input=new r(s),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var Y=0,J=!1,X=!1,U=!1,M=!1,g=!1,K=this._ch,O=!1,A,$,i;A=this._input.read(y),$=A!=="",i=K,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),K=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var o=this._input.read(I),p=u.get_directives(o);p&&p.ignore==="start"&&(o+=u.readIgnored(this._input)),this.print_string(o),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(S)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace($),this.print_string(this._ch);var F=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);F.match(/[ :]$/)&&(F=this.eatString(": ").replace(/\s+$/,""),this.print_string(F),this._output.space_before_token=!0),Y===0&&F.indexOf(":")!==-1&&(X=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace($),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var re=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);re.match(/[ :]$/)&&(re=this.eatString(": ").replace(/\s+$/,""),this.print_string(re),this._output.space_before_token=!0),Y===0&&re.indexOf(":")!==-1?(X=!0,this.indent()):re in this.NESTED_AT_RULE?(this._nestedLevel+=1,re in this.CONDITIONAL_GROUP_RULE&&(U=!0)):Y===0&&!X&&(M=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace($),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")X&&(X=!1,this.outdent()),M=!1,U?(U=!1,J=this._indentLevel>=this._nestedLevel):J=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&J&&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),X&&(this.outdent(),X=!1),this.print_string(this._ch),J=!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 ie=0;ie<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;ie++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[ie])){O=!0;break}(J||U)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!M&&Y===0?(this.print_string(":"),X||(X=!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 ne=i==='"'||i==="'";this.preserveSingleSpace(ne||$),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")O=!1,Y===0?(X&&(this.outdent(),X=!1),M=!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(),Y++,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(")")),Y&&(Y--,this.outdent()));else{var me=!1;this._input.lookBack("with")&&(me=!0),this.preserveSingleSpace($||me),this.print_string(this._ch),X&&i==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),g=!0):(this.eatWhitespace(),Y++,this.indent())}else if(this._ch===")")Y&&(Y--,this.outdent()),g&&this._input.peek()===";"&&this._options.selector_separator_newline&&(g=!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&&(!X||g)&&Y===0&&!M?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!X&&Y===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($),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 xe=i==='"'||i==="'";this.preserveSingleSpace(xe||$),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
|
`&&O&&this._output.add_new_line()}var He=this._output.get_code(w);return He},W.exports.Beautifier=c},function(W,e,h){var m=h(6).Options;function n(r){m.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 a=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||a;var u=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var b=0;b<u.length;b++)u[b]!=="expand"?this.brace_style="collapse":this.brace_style=u[b]}n.prototype=new m,W.exports.Options=n}],C={};function k(W){var e=C[W];if(e!==void 0)return e.exports;var h=C[W]={exports:{}};return V[W](h,h.exports,k),h.exports}var l=k(15);v=l})();var N=v;t=[],_=function(){return{css_beautify:N}}.apply(ve,t),_!==void 0&&(qe.exports=_)})()},75748:function(qe,ve,t){var _,v;(function(){var N;(function(){"use strict";var l=[,,function(m){function n(u){this.__parent=u,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 u=new n(this.__parent);return u.set_indent(this.__indent_count,this.__alignment_count),u},n.prototype.item=function(u){return u<0?this.__items[this.__items.length+u]:this.__items[u]},n.prototype.has_match=function(u){for(var b=this.__items.length-1;b>=0;b--)if(this.__items[b].match(u))return!0;return!1},n.prototype.set_indent=function(u,b){this.is_empty()&&(this.__indent_count=u||0,this.__alignment_count=b||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 u=this.__parent.current_line;return u.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),u.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),u.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,u.__items[0]===" "&&(u.__items.splice(0,1),u.__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(u){this.__items.push(u);var b=u.lastIndexOf(`
|
|
|
`);b!==-1?this.__character_count=u.length-b:this.__character_count+=u.length},n.prototype.pop=function(){var u=null;return this.is_empty()||(u=this.__items.pop(),this.__character_count-=u.length),u},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 u="";return this.is_empty()?this.__parent.indent_empty_lines&&(u=this.__parent.get_indent_string(this.__indent_count)):(u=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),u+=this.__items.join("")),u};function r(u,b){this.__cache=[""],this.__indent_size=u.indent_size,this.__indent_string=u.indent_char,u.indent_with_tabs||(this.__indent_string=new Array(u.indent_size+1).join(u.indent_char)),b=b||"",u.indent_level>0&&(b=new Array(u.indent_level+1).join(this.__indent_string)),this.__base_string=b,this.__base_string_length=b.length}r.prototype.get_indent_size=function(u,b){var z=this.__base_string_length;return b=b||0,u<0&&(z=0),z+=u*this.__indent_size,z+=b,z},r.prototype.get_indent_string=function(u,b){var z=this.__base_string;return b=b||0,u<0&&(u=0,z=""),b+=u*this.__indent_size,this.__ensure_cache(b),z+=this.__cache[b],z},r.prototype.__ensure_cache=function(u){for(;u>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var u=this.__cache.length,b=0,z="";this.__indent_size&&u>=this.__indent_size&&(b=Math.floor(u/this.__indent_size),u-=b*this.__indent_size,z=new Array(b+1).join(this.__indent_string)),u&&(z+=new Array(u+1).join(" ")),this.__cache.push(z)};function a(u,b){this.__indent_cache=new r(u,b),this.raw=!1,this._end_with_newline=u.end_with_newline,this.indent_size=u.indent_size,this.wrap_line_length=u.wrap_line_length,this.indent_empty_lines=u.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()}a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(u,b){return this.__indent_cache.get_indent_string(u,b)},a.prototype.get_indent_size=function(u,b){return this.__indent_cache.get_indent_size(u,b)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(u){return this.is_empty()||!u&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(u){this.trim(!0);var b=this.current_line.pop();b&&(b[b.length-1]===`
|
|
|
`&&(b=b.replace(/\n+$/g,"")),this.current_line.push(b)),this._end_with_newline&&this.__add_outputline();var z=this.__lines.join(`
|
|
|
`);return u!==`
|
|
|
`&&(z=z.replace(/[\n]/g,u)),z},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(u,b){return u=u||0,b=b||0,this.next_line.set_indent(u,b),this.__lines.length>1?(this.current_line.set_indent(u,b),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(u){for(var b=0;b<u.newlines;b++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(u.whitespace_before),this.current_line.push(u.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},a.prototype.add_token=function(u){this.__add_space_before_token(),this.current_line.push(u),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},a.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(" "))},a.prototype.remove_indent=function(u){for(var b=this.__lines.length;u<b;)this.__lines[u]._remove_indent(),u++;this.current_line._remove_wrap_indent()},a.prototype.trim=function(u){for(u=u===void 0?!1:u,this.current_line.trim();u&&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},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(u,b){for(var z=this.__lines.length-2;z>=0;){var E=this.__lines[z];if(E.is_empty())break;if(E.item(0).indexOf(u)!==0&&E.item(-1)!==b){this.__lines.splice(z+1,0,new n(this)),this.previous_line=this.__lines[this.__lines.length-2];break}z--}},m.exports.Output=a},function(m){function n(r,a,u,b){this.type=r,this.text=a,this.comments_before=null,this.newlines=u||0,this.whitespace_before=b||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}m.exports.Token=n},,,function(m){function n(u,b){this.raw_options=r(u,b),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(u,b){var z=this.raw_options[u],E=b||[];return typeof z=="object"?z!==null&&typeof z.concat=="function"&&(E=z.concat()):typeof z=="string"&&(E=z.split(/[^a-zA-Z0-9_\/\-]+/)),E},n.prototype._get_boolean=function(u,b){var z=this.raw_options[u],E=z===void 0?!!b:!!z;return E},n.prototype._get_characters=function(u,b){var z=this.raw_options[u],E=b||"";return typeof z=="string"&&(E=z.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),E},n.prototype._get_number=function(u,b){var z=this.raw_options[u];b=parseInt(b,10),isNaN(b)&&(b=0);var E=parseInt(z,10);return isNaN(E)&&(E=b),E},n.prototype._get_selection=function(u,b,z){var E=this._get_selection_list(u,b,z);if(E.length!==1)throw new Error("Invalid Option Value: The option '"+u+`' can only be one of the following values:
|
|
|
`+b+`
|
|
|
You passed in: '`+this.raw_options[u]+"'");return E[0]},n.prototype._get_selection_list=function(u,b,z){if(!b||b.length===0)throw new Error("Selection list cannot be empty.");if(z=z||[b[0]],!this._is_valid_selection(z,b))throw new Error("Invalid Default Value!");var E=this._get_array(u,z);if(!this._is_valid_selection(E,b))throw new Error("Invalid Option Value: The option '"+u+`' can contain only the following values:
|
|
|
`+b+`
|
|
|
You passed in: '`+this.raw_options[u]+"'");return E},n.prototype._is_valid_selection=function(u,b){return u.length&&b.length&&!u.some(function(z){return b.indexOf(z)===-1})};function r(u,b){var z={};u=a(u);var E;for(E in u)E!==b&&(z[E]=u[E]);if(b&&u[b])for(E in u[b])z[E]=u[b][E];return z}function a(u){var b={},z;for(z in u){var E=z.replace(/-/g,"_");b[E]=u[z]}return b}m.exports.Options=n,m.exports.normalizeOpts=a,m.exports.mergeOpts=r},,function(m){var n=RegExp.prototype.hasOwnProperty("sticky");function r(a){this.__input=a||"",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 a=null;return this.hasNext()&&(a=this.__input.charAt(this.__position),this.__position+=1),a},r.prototype.peek=function(a){var u=null;return a=a||0,a+=this.__position,a>=0&&a<this.__input_length&&(u=this.__input.charAt(a)),u},r.prototype.__match=function(a,u){a.lastIndex=u;var b=a.exec(this.__input);return b&&!(n&&a.sticky)&&b.index!==u&&(b=null),b},r.prototype.test=function(a,u){return u=u||0,u+=this.__position,u>=0&&u<this.__input_length?!!this.__match(a,u):!1},r.prototype.testChar=function(a,u){var b=this.peek(u);return a.lastIndex=0,b!==null&&a.test(b)},r.prototype.match=function(a){var u=this.__match(a,this.__position);return u?this.__position+=u[0].length:u=null,u},r.prototype.read=function(a,u,b){var z="",E;return a&&(E=this.match(a),E&&(z+=E[0])),u&&(E||!a)&&(z+=this.readUntil(u,b)),z},r.prototype.readUntil=function(a,u){var b="",z=this.__position;a.lastIndex=this.__position;var E=a.exec(this.__input);return E?(z=E.index,u&&(z+=E[0].length)):z=this.__input_length,b=this.__input.substring(this.__position,z),this.__position=z,b},r.prototype.readUntilAfter=function(a){return this.readUntil(a,!0)},r.prototype.get_regexp=function(a,u){var b=null,z="g";return u&&n&&(z="y"),typeof a=="string"&&a!==""?b=new RegExp(a,z):a&&(b=new RegExp(a.source,z)),b},r.prototype.get_literal_regexp=function(a){return RegExp(a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(a){var u=this.__position,b=this.readUntilAfter(a);return this.__position=u,b},r.prototype.lookBack=function(a){var u=this.__position-1;return u>=a.length&&this.__input.substring(u-a.length,u).toLowerCase()===a},m.exports.InputScanner=r},function(m,n,r){var a=r(8).InputScanner,u=r(3).Token,b=r(10).TokenStream,z=r(11).WhitespacePattern,E={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},y=function(I,S){this._input=new a(I),this._options=S||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new z(this._input)};y.prototype.tokenize=function(){this._input.restart(),this.__tokens=new b,this._reset();for(var I,S=new u(E.START,""),c=null,s=[],w=new b;S.type!==E.EOF;){for(I=this._get_next_token(S,c);this._is_comment(I);)w.add(I),I=this._get_next_token(S,c);w.isEmpty()||(I.comments_before=w,w=new b),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=S,S.next=I,this.__tokens.add(I),S=I}return this.__tokens},y.prototype._is_first_token=function(){return this.__tokens.isEmpty()},y.prototype._reset=function(){},y.prototype._get_next_token=function(I,S){this._readWhitespace();var c=this._input.read(/.+/g);return c?this._create_token(E.RAW,c):this._create_token(E.EOF,"")},y.prototype._is_comment=function(I){return!1},y.prototype._is_opening=function(I){return!1},y.prototype._is_closing=function(I,S){return!1},y.prototype._create_token=function(I,S){var c=new u(I,S,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return c},y.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},m.exports.Tokenizer=y,m.exports.TOKEN=E},function(m){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 a=null;return r=r||0,r+=this.__position,r>=0&&r<this.__tokens_length&&(a=this.__tokens[r]),a},n.prototype.add=function(r){this.__parent_token&&(r.parent=this.__parent_token),this.__tokens.push(r),this.__tokens_length+=1},m.exports.TokenStream=n},function(m,n,r){var a=r(12).Pattern;function u(b,z){a.call(this,b,z),z?this._line_regexp=this._input.get_regexp(z._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}u.prototype=new a,u.prototype.__set_whitespace_patterns=function(b,z){b+="\\t ",z+="\\n\\r",this._match_pattern=this._input.get_regexp("["+b+z+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+z+"]")},u.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var b=this._input.read(this._match_pattern);if(b===" ")this.whitespace_before_token=" ";else if(b){var z=this.__split(this._newline_regexp,b);this.newline_count=z.length-1,this.whitespace_before_token=z[this.newline_count]}return b},u.prototype.matching=function(b,z){var E=this._create();return E.__set_whitespace_patterns(b,z),E._update(),E},u.prototype._create=function(){return new u(this._input,this)},u.prototype.__split=function(b,z){b.lastIndex=0;for(var E=0,y=[],I=b.exec(z);I;)y.push(z.substring(E,I.index)),E=I.index+I[0].length,I=b.exec(z);return E<z.length?y.push(z.substring(E,z.length)):y.push(""),y},m.exports.WhitespacePattern=u},function(m){function n(r,a){this._input=r,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,a&&(this._starting_pattern=this._input.get_regexp(a._starting_pattern,!0),this._match_pattern=this._input.get_regexp(a._match_pattern,!0),this._until_pattern=this._input.get_regexp(a._until_pattern),this._until_after=a._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 a=this._create();return a._until_after=!0,a._until_pattern=this._input.get_regexp(r),a._update(),a},n.prototype.until=function(r){var a=this._create();return a._until_after=!1,a._until_pattern=this._input.get_regexp(r),a._update(),a},n.prototype.starting_with=function(r){var a=this._create();return a._starting_pattern=this._input.get_regexp(r,!0),a._update(),a},n.prototype.matching=function(r){var a=this._create();return a._match_pattern=this._input.get_regexp(r,!0),a._update(),a},n.prototype._create=function(){return new n(this._input,this)},n.prototype._update=function(){},m.exports.Pattern=n},function(m){function n(r,a){r=typeof r=="string"?r:r.source,a=typeof a=="string"?a:a.source,this.__directives_block_pattern=new RegExp(r+/ beautify( \w+[:]\w+)+ /.source+a,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(r+/\sbeautify\signore:end\s/.source+a,"g")}n.prototype.get_directives=function(r){if(!r.match(this.__directives_block_pattern))return null;var a={};this.__directive_pattern.lastIndex=0;for(var u=this.__directive_pattern.exec(r);u;)a[u[1]]=u[2],u=this.__directive_pattern.exec(r);return a},n.prototype.readIgnored=function(r){return r.readUntilAfter(this.__directives_end_ignore_pattern)},m.exports.Directives=n},function(m,n,r){var a=r(12).Pattern,u={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function b(z,E){a.call(this,z,E),this.__template_pattern=null,this._disabled=Object.assign({},u),this._excluded=Object.assign({},u),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 y=new a(z);this.__patterns={handlebars_comment:y.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:y.starting_with(/{{{/).until_after(/}}}/),handlebars:y.starting_with(/{{/).until_after(/}}/),php:y.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:y.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:y.starting_with(/{%/).until_after(/%}/),django_value:y.starting_with(/{{/).until_after(/}}/),django_comment:y.starting_with(/{#/).until_after(/#}/),smarty:y.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:y.starting_with(/{\*/).until_after(/\*}/),smarty_literal:y.starting_with(/{literal}/).until_after(/{\/literal}/)}}b.prototype=new a,b.prototype._create=function(){return new b(this._input,this)},b.prototype._update=function(){this.__set_templated_pattern()},b.prototype.disable=function(z){var E=this._create();return E._disabled[z]=!0,E._update(),E},b.prototype.read_options=function(z){var E=this._create();for(var y in u)E._disabled[y]=z.templating.indexOf(y)===-1;return E._update(),E},b.prototype.exclude=function(z){var E=this._create();return E._excluded[z]=!0,E._update(),E},b.prototype.read=function(){var z="";this._match_pattern?z=this._input.read(this._starting_pattern):z=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),z+=E,E=this._read_template();return this._until_after&&(z+=this._input.readUntilAfter(this._until_pattern)),z},b.prototype.__set_templated_pattern=function(){var z=[];this._disabled.php||z.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||z.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||z.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||z.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(z.push(this.__patterns.django._starting_pattern.source),z.push(this.__patterns.django_value._starting_pattern.source),z.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||z.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&z.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+z.join("|")+")")},b.prototype._read_template=function(){var z="",E=this._input.peek();if(E==="<"){var y=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&y==="?"&&(z=z||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&y==="%"&&(z=z||this.__patterns.erb.read())}else E==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(z=z||this.__patterns.handlebars_comment.read(),z=z||this.__patterns.handlebars_unescaped.read(),z=z||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(z=z||this.__patterns.django_value.read()),this._excluded.django||(z=z||this.__patterns.django_comment.read(),z=z||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(z=z||this.__patterns.smarty_comment.read(),z=z||this.__patterns.smarty_literal.read(),z=z||this.__patterns.smarty.read()));return z},m.exports.TemplatablePattern=b},,,,function(m,n,r){var a=r(19).Beautifier,u=r(20).Options;function b(z,E,y,I){var S=new a(z,E,y,I);return S.beautify()}m.exports=b,m.exports.defaultOptions=function(){return new u}},function(m,n,r){var a=r(20).Options,u=r(2).Output,b=r(21).Tokenizer,z=r(21).TOKEN,E=/\r\n|[\r\n]/,y=/\r\n|[\r\n]/g,I=function(M,g){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=M.max_preserve_newlines,this.preserve_newlines=M.preserve_newlines,this._output=new u(M,g)};I.prototype.current_line_has_match=function(M){return this._output.current_line.has_match(M)},I.prototype.set_space_before_token=function(M,g){this._output.space_before_token=M,this._output.non_breaking_space=g},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(M){this._output.add_raw_token(M)},I.prototype.print_preserved_newlines=function(M){var g=0;M.type!==z.TEXT&&M.previous.type!==z.TEXT&&(g=M.newlines?1:0),this.preserve_newlines&&(g=M.newlines<this.max_preserve_newlines+1?M.newlines:this.max_preserve_newlines+1);for(var K=0;K<g;K++)this.print_newline(K>0);return g!==0},I.prototype.traverse_whitespace=function(M){return M.whitespace_before||M.newlines?(this.print_preserved_newlines(M)||(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(M){this._output.add_new_line(M)},I.prototype.print_token=function(M){M.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(M.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(M){return M=this.indent_level+(M||0),M<1?"":this._output.get_indent_string(M)};var S=function(M){for(var g=null,K=M.next;K.type!==z.EOF&&M.closed!==K;){if(K.type===z.ATTRIBUTE&&K.text==="type"){K.next&&K.next.type===z.EQUALS&&K.next.next&&K.next.next.type===z.VALUE&&(g=K.next.next.text);break}K=K.next}return g},c=function(M,g){var K=null,O=null;return g.closed?(M==="script"?K="text/javascript":M==="style"&&(K="text/css"),K=S(g)||K,K.search("text/css")>-1?O="css":K.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?O="javascript":K.search(/(text|application|dojo)\/(x-)?(html)/)>-1?O="html":K.search(/test\/null/)>-1&&(O="null"),O):null};function s(M,g){return g.indexOf(M)!==-1}function w(M,g,K){this.parent=M||null,this.tag=g?g.tag_name:"",this.indent_level=K||0,this.parser_token=g||null}function D(M){this._printer=M,this._current_frame=null}D.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},D.prototype.record_tag=function(M){var g=new w(this._current_frame,M,this._printer.indent_level);this._current_frame=g},D.prototype._try_pop_frame=function(M){var g=null;return M&&(g=M.parser_token,this._printer.indent_level=M.indent_level,this._current_frame=M.parent),g},D.prototype._get_frame=function(M,g){for(var K=this._current_frame;K&&M.indexOf(K.tag)===-1;){if(g&&g.indexOf(K.tag)!==-1){K=null;break}K=K.parent}return K},D.prototype.try_pop=function(M,g){var K=this._get_frame([M],g);return this._try_pop_frame(K)},D.prototype.indent_to_tag=function(M){var g=this._get_frame(M);g&&(this._printer.indent_level=g.indent_level)};function Y(M,g,K,O){this._source_text=M||"",g=g||{},this._js_beautify=K,this._css_beautify=O,this._tag_stack=null;var A=new a(g,"html");this._options=A,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"}Y.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var M=this._source_text,g=this._options.eol;this._options.eol==="auto"&&(g=`
|
|
|
`,M&&E.test(M)&&(g=M.match(E)[0])),M=M.replace(y,`
|
|
|
`);var K=M.match(/^[\t ]*/)[0],O={text:"",type:""},A=new J(this._options),$=new I(this._options,K),i=new b(M,this._options).tokenize();this._tag_stack=new D($);for(var o=null,p=i.next();p.type!==z.EOF;)p.type===z.TAG_OPEN||p.type===z.COMMENT?(o=this._handle_tag_open($,p,A,O,i),A=o):p.type===z.ATTRIBUTE||p.type===z.EQUALS||p.type===z.VALUE||p.type===z.TEXT&&!A.tag_complete?o=this._handle_inside_tag($,p,A,O):p.type===z.TAG_CLOSE?o=this._handle_tag_close($,p,A):p.type===z.TEXT?o=this._handle_text($,p,A):p.type===z.CONTROL_FLOW_OPEN?o=this._handle_control_flow_open($,p):p.type===z.CONTROL_FLOW_CLOSE?o=this._handle_control_flow_close($,p):$.add_raw_token(p),O=o,p=i.next();var F=$._output.get_code(g);return F},Y.prototype._handle_control_flow_open=function(M,g){var K={text:g.text,type:g.type};return M.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),g.newlines?M.print_preserved_newlines(g):M.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),M.print_token(g),M.indent(),K},Y.prototype._handle_control_flow_close=function(M,g){var K={text:g.text,type:g.type};return M.deindent(),g.newlines?M.print_preserved_newlines(g):M.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),M.print_token(g),K},Y.prototype._handle_tag_close=function(M,g,K){var O={text:g.text,type:g.type};return M.alignment_size=0,K.tag_complete=!0,M.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),K.is_unformatted?M.add_raw_token(g):(K.tag_start_char==="<"&&(M.set_space_before_token(g.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&K.has_wrapped_attrs&&M.print_newline(!1)),M.print_token(g)),K.indent_content&&!(K.is_unformatted||K.is_content_unformatted)&&(M.indent(),K.indent_content=!1),!K.is_inline_element&&!(K.is_unformatted||K.is_content_unformatted)&&M.set_wrap_point(),O},Y.prototype._handle_inside_tag=function(M,g,K,O){var A=K.has_wrapped_attrs,$={text:g.text,type:g.type};return M.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),K.is_unformatted?M.add_raw_token(g):K.tag_start_char==="{"&&g.type===z.TEXT?M.print_preserved_newlines(g)?(g.newlines=0,M.add_raw_token(g)):M.print_token(g):(g.type===z.ATTRIBUTE?M.set_space_before_token(!0):(g.type===z.EQUALS||g.type===z.VALUE&&g.previous.type===z.EQUALS)&&M.set_space_before_token(!1),g.type===z.ATTRIBUTE&&K.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(M.traverse_whitespace(g),A=A||g.newlines!==0),this._is_wrap_attributes_force&&K.attr_count>=this._options.wrap_attributes_min_attrs&&(O.type!==z.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(M.print_newline(!1),A=!0)),M.print_token(g),A=A||M.previous_token_wrapped(),K.has_wrapped_attrs=A),$},Y.prototype._handle_text=function(M,g,K){var O={text:g.text,type:"TK_CONTENT"};return K.custom_beautifier_name?this._print_custom_beatifier_text(M,g,K):K.is_unformatted||K.is_content_unformatted?M.add_raw_token(g):(M.traverse_whitespace(g),M.print_token(g)),O},Y.prototype._print_custom_beatifier_text=function(M,g,K){var O=this;if(g.text!==""){var A=g.text,$,i=1,o="",p="";K.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?$=this._js_beautify:K.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?$=this._css_beautify:K.custom_beautifier_name==="html"&&($=function(xe,He){var Pe=new Y(xe,He,O._js_beautify,O._css_beautify);return Pe.beautify()}),this._options.indent_scripts==="keep"?i=0:this._options.indent_scripts==="separate"&&(i=-M.indent_level);var F=M.get_full_indent(i);if(A=A.replace(/\n[ \t]*$/,""),K.custom_beautifier_name!=="html"&&A[0]==="<"&&A.match(/^(<!--|<!\[CDATA\[)/)){var re=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(A);if(!re){M.add_raw_token(g);return}o=F+re[1]+`
|
|
|
`,A=re[4],re[5]&&(p=F+re[5]),A=A.replace(/\n[ \t]*$/,""),(re[2]||re[3].indexOf(`
|
|
|
`)!==-1)&&(re=re[3].match(/[ \t]+$/),re&&(g.whitespace_before=re[0]))}if(A)if($){var ie=function(){this.eol=`
|
|
|
`};ie.prototype=this._options.raw_options;var ne=new ie;A=$(F+A,ne)}else{var me=g.whitespace_before;me&&(A=A.replace(new RegExp(`
|
|
|
(`+me+")?","g"),`
|
|
|
`)),A=F+A.replace(/\n/g,`
|
|
|
`+F)}o&&(A?A=o+A+`
|
|
|
`+p:A=o+p),M.print_newline(!1),A&&(g.text=A,g.whitespace_before="",g.newlines=0,M.add_raw_token(g),M.print_newline(!0))}},Y.prototype._handle_tag_open=function(M,g,K,O,A){var $=this._get_tag_open_token(g);if((K.is_unformatted||K.is_content_unformatted)&&!K.is_empty_element&&g.type===z.TAG_OPEN&&!$.is_start_tag?(M.add_raw_token(g),$.start_tag_token=this._tag_stack.try_pop($.tag_name)):(M.traverse_whitespace(g),this._set_tag_position(M,g,$,K,O),$.is_inline_element||M.set_wrap_point(),M.print_token(g)),$.is_start_tag&&this._is_wrap_attributes_force){var i=0,o;do o=A.peek(i),o.type===z.ATTRIBUTE&&($.attr_count+=1),i+=1;while(o.type!==z.EOF&&o.type!==z.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&($.alignment_size=g.text.length+1),!$.tag_complete&&!$.is_unformatted&&(M.alignment_size=$.alignment_size),$};var J=function(M,g,K){if(this.parent=g||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="",!K)this.tag_complete=!0;else{var O;this.tag_start_char=K.text[0],this.text=K.text,this.tag_start_char==="<"?(O=K.text.match(/^<([^\s>]*)/),this.tag_check=O?O[1]:""):(O=K.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=O?O[1]:"",(K.text.startsWith("{{#>")||K.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&K.next!==null?this.tag_check=K.next.text.split(" ")[0]:this.tag_check=K.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),K.type===z.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||K.closed&&K.closed.text==="/>";var A=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(A=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!M.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(A)))}};Y.prototype._get_tag_open_token=function(M){var g=new J(this._options,this._tag_stack.get_parser_token(),M);return g.alignment_size=this._options.wrap_attributes_indent_size,g.is_end_tag=g.is_end_tag||s(g.tag_check,this._options.void_elements),g.is_empty_element=g.tag_complete||g.is_start_tag&&g.is_end_tag,g.is_unformatted=!g.tag_complete&&s(g.tag_check,this._options.unformatted),g.is_content_unformatted=!g.is_empty_element&&s(g.tag_check,this._options.content_unformatted),g.is_inline_element=s(g.tag_name,this._options.inline)||this._options.inline_custom_elements&&g.tag_name.includes("-")||g.tag_start_char==="{",g},Y.prototype._set_tag_position=function(M,g,K,O,A){if(K.is_empty_element||(K.is_end_tag?K.start_tag_token=this._tag_stack.try_pop(K.tag_name):(this._do_optional_end_element(K)&&(K.is_inline_element||M.print_newline(!1)),this._tag_stack.record_tag(K),(K.tag_name==="script"||K.tag_name==="style")&&!(K.is_unformatted||K.is_content_unformatted)&&(K.custom_beautifier_name=c(K.tag_check,g)))),s(K.tag_check,this._options.extra_liners)&&(M.print_newline(!1),M._output.just_added_blankline()||M.print_newline(!0)),K.is_empty_element){if(K.tag_start_char==="{"&&K.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),K.indent_content=!0;var $=M.current_line_has_match(/{{#if/);$||M.print_newline(!1)}K.tag_name==="!--"&&A.type===z.TAG_CLOSE&&O.is_end_tag&&K.text.indexOf(`
|
|
|
`)===-1||(K.is_inline_element||K.is_unformatted||M.print_newline(!1),this._calcluate_parent_multiline(M,K))}else if(K.is_end_tag){var i=!1;i=K.start_tag_token&&K.start_tag_token.multiline_content,i=i||!K.is_inline_element&&!(O.is_inline_element||O.is_unformatted)&&!(A.type===z.TAG_CLOSE&&K.start_tag_token===O)&&A.type!=="TK_CONTENT",(K.is_content_unformatted||K.is_unformatted)&&(i=!1),i&&M.print_newline(!1)}else K.indent_content=!K.custom_beautifier_name,K.tag_start_char==="<"&&(K.tag_name==="html"?K.indent_content=this._options.indent_inner_html:K.tag_name==="head"?K.indent_content=this._options.indent_head_inner_html:K.tag_name==="body"&&(K.indent_content=this._options.indent_body_inner_html)),!(K.is_inline_element||K.is_unformatted)&&(A.type!=="TK_CONTENT"||K.is_content_unformatted)&&M.print_newline(!1),this._calcluate_parent_multiline(M,K)},Y.prototype._calcluate_parent_multiline=function(M,g){g.parent&&M._output.just_added_newline()&&!((g.is_inline_element||g.is_unformatted)&&g.parent.is_inline_element)&&(g.parent.multiline_content=!0)};var X=["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"],U=["a","audio","del","ins","map","noscript","video"];Y.prototype._do_optional_end_element=function(M){var g=null;if(!(M.is_empty_element||!M.is_start_tag||!M.parent)){if(M.tag_name==="body")g=g||this._tag_stack.try_pop("head");else if(M.tag_name==="li")g=g||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(M.tag_name==="dd"||M.tag_name==="dt")g=g||this._tag_stack.try_pop("dt",["dl"]),g=g||this._tag_stack.try_pop("dd",["dl"]);else if(M.parent.tag_name==="p"&&X.indexOf(M.tag_name)!==-1){var K=M.parent.parent;(!K||U.indexOf(K.tag_name)===-1)&&(g=g||this._tag_stack.try_pop("p"))}else M.tag_name==="rp"||M.tag_name==="rt"?(g=g||this._tag_stack.try_pop("rt",["ruby","rtc"]),g=g||this._tag_stack.try_pop("rp",["ruby","rtc"])):M.tag_name==="optgroup"?g=g||this._tag_stack.try_pop("optgroup",["select"]):M.tag_name==="option"?g=g||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):M.tag_name==="colgroup"?g=g||this._tag_stack.try_pop("caption",["table"]):M.tag_name==="thead"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"])):M.tag_name==="tbody"||M.tag_name==="tfoot"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("thead",["table"]),g=g||this._tag_stack.try_pop("tbody",["table"])):M.tag_name==="tr"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(M.tag_name==="th"||M.tag_name==="td")&&(g=g||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),g=g||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return M.parent=this._tag_stack.get_parser_token(),g}},m.exports.Beautifier=Y},function(m,n,r){var a=r(6).Options;function u(b){a.call(this,b,"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"])}u.prototype=new a,m.exports.Options=u},function(m,n,r){var a=r(9).Tokenizer,u=r(9).TOKEN,b=r(13).Directives,z=r(14).TemplatablePattern,E=r(12).Pattern,y={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:u.START,RAW:u.RAW,EOF:u.EOF},I=new b(/<\!--/,/-->/),S=function(c,s){a.call(this,c,s),this._current_tag_name="";var w=new z(this._input).read_options(this._options),D=new E(this._input);if(this.__patterns={word:w.until(/[\n\r\t <]/),word_control_flow_close_excluded:w.until(/[\n\r\t <}]/),single_quote:w.until_after(/'/),double_quote:w.until_after(/"/),attribute:w.until(/[\n\r\t =>]|\/>/),element_name:w.until(/[\n\r\t >\/]/),angular_control_flow_start:D.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:D.starting_with(/{{!--/).until_after(/--}}/),handlebars:D.starting_with(/{{/).until_after(/}}/),handlebars_open:D.until(/[\n\r\t }]/),handlebars_raw_close:D.until(/}}/),comment:D.starting_with(/<!--/).until_after(/-->/),cdata:D.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:D.starting_with(/<!\[/).until_after(/]>/),processing:D.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 Y=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=D.matching(Y).until_after(Y)}};S.prototype=new a,S.prototype._is_comment=function(c){return!1},S.prototype._is_opening=function(c){return c.type===y.TAG_OPEN||c.type===y.CONTROL_FLOW_OPEN},S.prototype._is_closing=function(c,s){return c.type===y.TAG_CLOSE&&s&&((c.text===">"||c.text==="/>")&&s.text[0]==="<"||c.text==="}}"&&s.text[0]==="{"&&s.text[1]==="{")||c.type===y.CONTROL_FLOW_CLOSE&&c.text==="}"&&s.text.endsWith("{")},S.prototype._reset=function(){this._current_tag_name=""},S.prototype._get_next_token=function(c,s){var w=null;this._readWhitespace();var D=this._input.peek();return D===null?this._create_token(y.EOF,""):(w=w||this._read_open_handlebars(D,s),w=w||this._read_attribute(D,c,s),w=w||this._read_close(D,s),w=w||this._read_script_and_style(D,c),w=w||this._read_control_flows(D,s),w=w||this._read_raw_content(D,c,s),w=w||this._read_content_word(D,s),w=w||this._read_comment_or_cdata(D),w=w||this._read_processing(D),w=w||this._read_open(D,s),w=w||this._create_token(y.UNKNOWN,this._input.next()),w)},S.prototype._read_comment_or_cdata=function(c){var s=null,w=null,D=null;if(c==="<"){var Y=this._input.peek(1);Y==="!"&&(w=this.__patterns.comment.read(),w?(D=I.get_directives(w),D&&D.ignore==="start"&&(w+=I.readIgnored(this._input))):w=this.__patterns.cdata.read()),w&&(s=this._create_token(y.COMMENT,w),s.directives=D)}return s},S.prototype._read_processing=function(c){var s=null,w=null,D=null;if(c==="<"){var Y=this._input.peek(1);(Y==="!"||Y==="?")&&(w=this.__patterns.conditional_comment.read(),w=w||this.__patterns.processing.read()),w&&(s=this._create_token(y.COMMENT,w),s.directives=D)}return s},S.prototype._read_open=function(c,s){var w=null,D=null;return(!s||s.type===y.CONTROL_FLOW_OPEN)&&c==="<"&&(w=this._input.next(),this._input.peek()==="/"&&(w+=this._input.next()),w+=this.__patterns.element_name.read(),D=this._create_token(y.TAG_OPEN,w)),D},S.prototype._read_open_handlebars=function(c,s){var w=null,D=null;return(!s||s.type===y.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)==="!"?(w=this.__patterns.handlebars_comment.read(),w=w||this.__patterns.handlebars.read(),D=this._create_token(y.COMMENT,w)):(w=this.__patterns.handlebars_open.read(),D=this._create_token(y.TAG_OPEN,w))),D},S.prototype._read_control_flows=function(c,s){var w="",D=null;if(!this._options.templating.includes("angular"))return D;if(c==="@"){if(w=this.__patterns.angular_control_flow_start.read(),w==="")return D;for(var Y=w.endsWith("(")?1:0,J=0;!(w.endsWith("{")&&Y===J);){var X=this._input.next();if(X===null)break;X==="("?Y++:X===")"&&J++,w+=X}D=this._create_token(y.CONTROL_FLOW_OPEN,w)}else c==="}"&&s&&s.type===y.CONTROL_FLOW_OPEN&&(w=this._input.next(),D=this._create_token(y.CONTROL_FLOW_CLOSE,w));return D},S.prototype._read_close=function(c,s){var w=null,D=null;return s&&s.type===y.TAG_OPEN&&(s.text[0]==="<"&&(c===">"||c==="/"&&this._input.peek(1)===">")?(w=this._input.next(),c==="/"&&(w+=this._input.next()),D=this._create_token(y.TAG_CLOSE,w)):s.text[0]==="{"&&c==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),D=this._create_token(y.TAG_CLOSE,"}}"))),D},S.prototype._read_attribute=function(c,s,w){var D=null,Y="";if(w&&w.text[0]==="<")if(c==="=")D=this._create_token(y.EQUALS,this._input.next());else if(c==='"'||c==="'"){var J=this._input.next();c==='"'?J+=this.__patterns.double_quote.read():J+=this.__patterns.single_quote.read(),D=this._create_token(y.VALUE,J)}else Y=this.__patterns.attribute.read(),Y&&(s.type===y.EQUALS?D=this._create_token(y.VALUE,Y):D=this._create_token(y.ATTRIBUTE,Y));return D},S.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)},S.prototype._read_raw_content=function(c,s,w){var D="";if(w&&w.text[0]==="{")D=this.__patterns.handlebars_raw_close.read();else if(s.type===y.TAG_CLOSE&&s.opened.text[0]==="<"&&s.text[0]!=="/"){var Y=s.opened.text.substr(1).toLowerCase();this._is_content_unformatted(Y)&&(D=this._input.readUntil(new RegExp("</"+Y+"[\\n\\r\\t ]*?>","ig")))}return D?this._create_token(y.TEXT,D):null},S.prototype._read_script_and_style=function(c,s){if(s.type===y.TAG_CLOSE&&s.opened.text[0]==="<"&&s.text[0]!=="/"){var w=s.opened.text.substr(1).toLowerCase();if(w==="script"||w==="style"){var D=this._read_comment_or_cdata(c);if(D)return D.type=y.TEXT,D;var Y=this._input.readUntil(new RegExp("</"+w+"[\\n\\r\\t ]*?>","ig"));if(Y)return this._create_token(y.TEXT,Y)}}return null},S.prototype._read_content_word=function(c,s){var w="";return this._options.unformatted_content_delimiter&&c===this._options.unformatted_content_delimiter[0]&&(w=this.__patterns.unformatted_content_delimiter.read()),w||(w=s&&s.type===y.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),w?this._create_token(y.TEXT,w):null},m.exports.Tokenizer=S,m.exports.TOKEN=y}],W={};function e(m){var n=W[m];if(n!==void 0)return n.exports;var r=W[m]={exports:{}};return l[m](r,r.exports,e),r.exports}var h=e(18);N=h})();var V=N;if(1)_=[t,t(55139),t(69374)],v=function(l){var W=t(55139),e=t(69374);return{html_beautify:function(h,m){return V(h,m,W.js_beautify,e.css_beautify)}}}.apply(ve,_),v!==void 0&&(qe.exports=v);else var C,k})()},55139:function(qe,ve){var t,_;(function(){var v;(function(){"use strict";var V=[function(W,e,h){var m=h(1).Beautifier,n=h(5).Options;function r(a,u){var b=new m(a,u);return b.beautify()}W.exports=r,W.exports.defaultOptions=function(){return new n}},function(W,e,h){var m=h(2).Output,n=h(3).Token,r=h(4),a=h(5).Options,u=h(7).Tokenizer,b=h(7).line_starters,z=h(7).positionable_operators,E=h(7).TOKEN;function y(o,p){return p.indexOf(o)!==-1}function I(o){return o.replace(/^\s+/g,"")}function S(o){for(var p={},F=0;F<o.length;F++)p[o[F].replace(/-/g,"_")]=o[F];return p}function c(o,p){return o&&o.type===E.RESERVED&&o.text===p}function s(o,p){return o&&o.type===E.RESERVED&&y(o.text,p)}var w=["case","return","do","if","throw","else","await","break","continue","async"],D=["before-newline","after-newline","preserve-newline"],Y=S(D),J=[Y.before_newline,Y.preserve_newline],X={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function U(o,p){p.multiline_frame||p.mode===X.ForInitializer||p.mode===X.Conditional||o.remove_indent(p.start_line_index)}function M(o){o=o.replace(r.allLineBreaks,`
|
|
|
`);for(var p=[],F=o.indexOf(`
|
|
|
`);F!==-1;)p.push(o.substring(0,F)),o=o.substring(F+1),F=o.indexOf(`
|
|
|
`);return o.length&&p.push(o),p}function g(o){return o===X.ArrayLiteral}function K(o){return y(o,[X.Expression,X.ForInitializer,X.Conditional])}function O(o,p){for(var F=0;F<o.length;F++){var re=o[F].trim();if(re.charAt(0)!==p)return!1}return!0}function A(o,p){for(var F=0,re=o.length,ie;F<re;F++)if(ie=o[F],ie&&ie.indexOf(p)!==0)return!1;return!0}function $(o,p){p=p||{},this._source_text=o||"",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 a(p)}$.prototype.create_flags=function(o,p){var F=0;o&&(F=o.indentation_level,!this._output.just_added_newline()&&o.line_indent_level>F&&(F=o.line_indent_level));var re={mode:p,parent:o,last_token:o?o.last_token:new n(E.START_BLOCK,""),last_word:o?o.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:F,alignment:0,line_indent_level:o?o.line_indent_level:F,start_line_index:this._output.get_line_number(),ternary_depth:0};return re},$.prototype._reset=function(o){var p=o.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new m(this._options,p),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(X.BlockStatement);var F=new u(o,this._options);return this._tokens=F.tokenize(),o},$.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var o,p=this._reset(this._source_text),F=this._options.eol;this._options.eol==="auto"&&(F=`
|
|
|
`,p&&r.lineBreak.test(p||"")&&(F=p.match(r.lineBreak)[0]));for(var re=this._tokens.next();re;)this.handle_token(re),this._last_last_text=this._flags.last_token.text,this._flags.last_token=re,re=this._tokens.next();return o=this._output.get_code(F),o},$.prototype.handle_token=function(o,p){o.type===E.START_EXPR?this.handle_start_expr(o):o.type===E.END_EXPR?this.handle_end_expr(o):o.type===E.START_BLOCK?this.handle_start_block(o):o.type===E.END_BLOCK?this.handle_end_block(o):o.type===E.WORD?this.handle_word(o):o.type===E.RESERVED?this.handle_word(o):o.type===E.SEMICOLON?this.handle_semicolon(o):o.type===E.STRING?this.handle_string(o):o.type===E.EQUALS?this.handle_equals(o):o.type===E.OPERATOR?this.handle_operator(o):o.type===E.COMMA?this.handle_comma(o):o.type===E.BLOCK_COMMENT?this.handle_block_comment(o,p):o.type===E.COMMENT?this.handle_comment(o,p):o.type===E.DOT?this.handle_dot(o):o.type===E.EOF?this.handle_eof(o):o.type===E.UNKNOWN?this.handle_unknown(o,p):this.handle_unknown(o,p)},$.prototype.handle_whitespace_and_comments=function(o,p){var F=o.newlines,re=this._options.keep_array_indentation&&g(this._flags.mode);if(o.comments_before)for(var ie=o.comments_before.next();ie;)this.handle_whitespace_and_comments(ie,p),this.handle_token(ie,p),ie=o.comments_before.next();if(re)for(var ne=0;ne<F;ne+=1)this.print_newline(ne>0,p);else if(this._options.max_preserve_newlines&&F>this._options.max_preserve_newlines&&(F=this._options.max_preserve_newlines),this._options.preserve_newlines&&F>1){this.print_newline(!1,p);for(var me=1;me<F;me+=1)this.print_newline(!0,p)}};var i=["async","break","continue","return","throw","yield"];$.prototype.allow_wrap_or_preserved_newline=function(o,p){if(p=p===void 0?!1:p,!this._output.just_added_newline()){var F=this._options.preserve_newlines&&o.newlines||p,re=y(this._flags.last_token.text,z)||y(o.text,z);if(re){var ie=y(this._flags.last_token.text,z)&&y(this._options.operator_position,J)||y(o.text,z);F=F&&ie}if(F)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()}}},$.prototype.print_newline=function(o,p){if(!p&&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 F=this._tokens.peek();this._flags.mode===X.Statement&&!(this._flags.if_block&&c(F,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(o)&&(this._flags.multiline_frame=!0)},$.prototype.print_token_line_indentation=function(o){this._output.just_added_newline()&&(this._options.keep_array_indentation&&o.newlines&&(o.text==="["||g(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(o.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))},$.prototype.print_token=function(o){if(this._output.raw){this._output.add_raw_token(o);return}if(this._options.comma_first&&o.previous&&o.previous.type===E.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var p=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(p),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(o),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(o),this._output.non_breaking_space=!0,this._output.add_token(o.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},$.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},$.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))},$.prototype.set_mode=function(o){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,o),this._flags=this.create_flags(this._previous_flags,o),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},$.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===X.Statement&&U(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},$.prototype.start_of_object_property=function(){return this._flags.parent.mode===X.ObjectLiteral&&this._flags.mode===X.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||s(this._flags.last_token,["get","set"]))},$.prototype.start_of_statement=function(o){var p=!1;return p=p||s(this._flags.last_token,["var","let","const"])&&o.type===E.WORD,p=p||c(this._flags.last_token,"do"),p=p||!(this._flags.parent.mode===X.ObjectLiteral&&this._flags.mode===X.Statement)&&s(this._flags.last_token,i)&&!o.newlines,p=p||c(this._flags.last_token,"else")&&!(c(o,"if")&&!o.comments_before),p=p||this._flags.last_token.type===E.END_EXPR&&(this._previous_flags.mode===X.ForInitializer||this._previous_flags.mode===X.Conditional),p=p||this._flags.last_token.type===E.WORD&&this._flags.mode===X.BlockStatement&&!this._flags.in_case&&!(o.text==="--"||o.text==="++")&&this._last_last_text!=="function"&&o.type!==E.WORD&&o.type!==E.RESERVED,p=p||this._flags.mode===X.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||s(this._flags.last_token,["get","set"])),p?(this.set_mode(X.Statement),this.indent(),this.handle_whitespace_and_comments(o,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(o,s(o,["do","for","if","while"])),!0):!1},$.prototype.handle_start_expr=function(o){this.start_of_statement(o)||this.handle_whitespace_and_comments(o);var p=X.Expression;if(o.text==="["){if(this._flags.last_token.type===E.WORD||this._flags.last_token.text===")"){s(this._flags.last_token,b)&&(this._output.space_before_token=!0),this.print_token(o),this.set_mode(p),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}p=X.ArrayLiteral,g(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()),y(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,p=X.ForInitializer):y(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,p=X.Conditional):y(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&o.whitespace_before===""?this._output.space_before_token=!1:(y(this._flags.last_token.text,b)||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(o);else if(this._flags.last_token.type===E.WORD){this._output.space_before_token=!1;var F=this._tokens.peek(-3);if(this._options.space_after_named_function&&F){var re=this._tokens.peek(-4);s(F,["async","function"])||F.text==="*"&&s(re,["async","function"])?this._output.space_before_token=!0:this._flags.mode===X.ObjectLiteral?(F.text==="{"||F.text===","||F.text==="*"&&(re.text==="{"||re.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(o);(this._flags.last_token.type===E.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(y(this._last_last_text,["function","yield"])||this._flags.mode===X.ObjectLiteral&&y(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(o,o.newlines),this.print_token(o),this.set_mode(p),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},$.prototype.handle_end_expr=function(o){for(;this._flags.mode===X.Statement;)this.restore_mode();this.handle_whitespace_and_comments(o),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(o,o.text==="]"&&g(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(o),this.restore_mode(),U(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===X.Conditional&&(this._previous_flags.mode=X.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},$.prototype.handle_start_block=function(o){this.handle_whitespace_and_comments(o);var p=this._tokens.peek(),F=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===E.END_EXPR?(this.set_mode(X.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(X.BlockStatement):F&&(y(F.text,[":",","])&&y(p.type,[E.STRING,E.WORD,E.RESERVED])||y(p.text,["get","set","..."])&&y(F.type,[E.WORD,E.RESERVED]))?y(this._last_last_text,["class","interface"])&&!y(F.text,[":",","])?this.set_mode(X.BlockStatement):this.set_mode(X.ObjectLiteral):this._flags.last_token.type===E.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(X.BlockStatement):y(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(X.ObjectLiteral):this.set_mode(X.BlockStatement),this._flags.last_token&&s(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var re=!p.comments_before&&p.text==="}",ie=re&&this._flags.last_word==="function"&&this._flags.last_token.type===E.END_EXPR;if(this._options.brace_preserve_inline){var ne=0,me=null;this._flags.inline_frame=!0;do if(ne+=1,me=this._tokens.peek(ne-1),me.newlines){this._flags.inline_frame=!1;break}while(me.type!==E.EOF&&!(me.type===E.END_BLOCK&&me.opened===o))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&o.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==E.OPERATOR&&(ie||this._flags.last_token.type===E.EQUALS||s(this._flags.last_token,w)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(g(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(o),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&&(y(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(o),this.indent(),!re&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},$.prototype.handle_end_block=function(o){for(this.handle_whitespace_and_comments(o);this._flags.mode===X.Statement;)this.restore_mode();var p=this._flags.last_token.type===E.START_BLOCK;this._flags.inline_frame&&!p?this._output.space_before_token=!0:this._options.brace_style==="expand"?p||this.print_newline():p||(g(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(o)},$.prototype.handle_word=function(o){if(o.type===E.RESERVED){if(y(o.text,["set","get"])&&this._flags.mode!==X.ObjectLiteral)o.type=E.WORD;else if(o.text==="import"&&y(this._tokens.peek().text,["(","."]))o.type=E.WORD;else if(y(o.text,["as","from"])&&!this._flags.import_block)o.type=E.WORD;else if(this._flags.mode===X.ObjectLiteral){var p=this._tokens.peek();p.text===":"&&(o.type=E.WORD)}}if(this.start_of_statement(o)?s(this._flags.last_token,["var","let","const"])&&o.type===E.WORD&&(this._flags.declaration_statement=!0):o.newlines&&!K(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(o),this.print_newline()):this.handle_whitespace_and_comments(o),this._flags.do_block&&!this._flags.do_while)if(c(o,"while")){this._output.space_before_token=!0,this.print_token(o),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(o,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===X.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&s(o,["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(o),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()&&!(y(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===X.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(o),c(o,"function")){(y(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(y(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===E.OPERATOR))&&!this._output.just_added_blankline()&&!o.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&&(K(this._flags.mode)||g(this._flags.mode))||this.print_newline(),this.print_token(o),this._flags.last_word=o.text;return}var F="NONE";if(this._flags.last_token.type===E.END_BLOCK?this._previous_flags.inline_frame?F="SPACE":s(o,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&o.newlines?F="NEWLINE":(F="SPACE",this._output.space_before_token=!0):F="NEWLINE":this._flags.last_token.type===E.SEMICOLON&&this._flags.mode===X.BlockStatement?F="NEWLINE":this._flags.last_token.type===E.SEMICOLON&&K(this._flags.mode)?F="SPACE":this._flags.last_token.type===E.STRING?F="NEWLINE":this._flags.last_token.type===E.RESERVED||this._flags.last_token.type===E.WORD||this._flags.last_token.text==="*"&&(y(this._last_last_text,["function","yield"])||this._flags.mode===X.ObjectLiteral&&y(this._last_last_text,["{",","]))?F="SPACE":this._flags.last_token.type===E.START_BLOCK?this._flags.inline_frame?F="SPACE":F="NEWLINE":this._flags.last_token.type===E.END_EXPR&&(this._output.space_before_token=!0,F="NEWLINE"),s(o,b)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?F="SPACE":F="NEWLINE"),s(o,["else","catch","finally"]))if((!(this._flags.last_token.type===E.END_BLOCK&&this._previous_flags.mode===X.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&o.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var re=this._output.current_line;re.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else F==="NEWLINE"?s(this._flags.last_token,w)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&s(o,["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(o,["var","let","const"]))&&this._flags.last_token.text!==":"&&(c(o,"if")&&c(o.previous,"else")?this._output.space_before_token=!0:this.print_newline()):s(o,b)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&g(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():F==="SPACE"&&(this._output.space_before_token=!0);o.previous&&(o.previous.type===E.WORD||o.previous.type===E.RESERVED)&&(this._output.space_before_token=!0),this.print_token(o),this._flags.last_word=o.text,o.type===E.RESERVED&&(o.text==="do"?this._flags.do_block=!0:o.text==="if"?this._flags.if_block=!0:o.text==="import"?this._flags.import_block=!0:this._flags.import_block&&c(o,"from")&&(this._flags.import_block=!1))},$.prototype.handle_semicolon=function(o){this.start_of_statement(o)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(o);for(var p=this._tokens.peek();this._flags.mode===X.Statement&&!(this._flags.if_block&&c(p,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(o)},$.prototype.handle_string=function(o){o.text.startsWith("`")&&o.newlines===0&&o.whitespace_before===""&&(o.previous.text===")"||this._flags.last_token.type===E.WORD)||(this.start_of_statement(o)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(o),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(o):o.text.startsWith("`")&&this._flags.last_token.type===E.END_EXPR&&(o.previous.text==="]"||o.previous.text===")")&&o.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(o)},$.prototype.handle_equals=function(o){this.start_of_statement(o)||this.handle_whitespace_and_comments(o),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(o),this._output.space_before_token=!0},$.prototype.handle_comma=function(o){this.handle_whitespace_and_comments(o,!0),this.print_token(o),this._output.space_before_token=!0,this._flags.declaration_statement?(K(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(o)):this._flags.mode===X.ObjectLiteral||this._flags.mode===X.Statement&&this._flags.parent.mode===X.ObjectLiteral?(this._flags.mode===X.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(o)},$.prototype.handle_operator=function(o){var p=o.text==="*"&&(s(this._flags.last_token,["function","yield"])||y(this._flags.last_token.type,[E.START_BLOCK,E.COMMA,E.END_BLOCK,E.SEMICOLON])),F=y(o.text,["-","+"])&&(y(this._flags.last_token.type,[E.START_BLOCK,E.START_EXPR,E.EQUALS,E.OPERATOR])||y(this._flags.last_token.text,b)||this._flags.last_token.text===",");if(!this.start_of_statement(o)){var re=!p;this.handle_whitespace_and_comments(o,re)}if(o.text==="*"&&this._flags.last_token.type===E.DOT){this.print_token(o);return}if(o.text==="::"){this.print_token(o);return}if(y(o.text,["-","+"])&&this.start_of_object_property()){this.print_token(o);return}if(this._flags.last_token.type===E.OPERATOR&&y(this._options.operator_position,J)&&this.allow_wrap_or_preserved_newline(o),o.text===":"&&this._flags.in_case){this.print_token(o),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 ie=!0,ne=!0,me=!1;if(o.text===":"?this._flags.ternary_depth===0?ie=!1:(this._flags.ternary_depth-=1,me=!0):o.text==="?"&&(this._flags.ternary_depth+=1),!F&&!p&&this._options.preserve_newlines&&y(o.text,z)){var xe=o.text===":",He=xe&&me,Pe=xe&&!me;switch(this._options.operator_position){case Y.before_newline:this._output.space_before_token=!Pe,this.print_token(o),(!xe||He)&&this.allow_wrap_or_preserved_newline(o),this._output.space_before_token=!0;return;case Y.after_newline:this._output.space_before_token=!0,!xe||He?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(o):this._output.space_before_token=!1,this.print_token(o),this._output.space_before_token=!0;return;case Y.preserve_newline:Pe||this.allow_wrap_or_preserved_newline(o),ie=!(this._output.just_added_newline()||Pe),this._output.space_before_token=ie,this.print_token(o),this._output.space_before_token=!0;return}}if(p){this.allow_wrap_or_preserved_newline(o),ie=!1;var Ue=this._tokens.peek();ne=Ue&&y(Ue.type,[E.WORD,E.RESERVED])}else if(o.text==="...")this.allow_wrap_or_preserved_newline(o),ie=this._flags.last_token.type===E.START_BLOCK,ne=!1;else if(y(o.text,["--","++","!","~"])||F){if((this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR)&&this.allow_wrap_or_preserved_newline(o),ie=!1,ne=!1,o.newlines&&(o.text==="--"||o.text==="++"||o.text==="~")){var et=s(this._flags.last_token,w)&&o.newlines;et&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(et,!0)}this._flags.last_token.text===";"&&K(this._flags.mode)&&(ie=!0),this._flags.last_token.type===E.RESERVED?ie=!0:this._flags.last_token.type===E.END_EXPR?ie=!(this._flags.last_token.text==="]"&&(o.text==="--"||o.text==="++")):this._flags.last_token.type===E.OPERATOR&&(ie=y(o.text,["--","-","++","+"])&&y(this._flags.last_token.text,["--","-","++","+"]),y(o.text,["+","-"])&&y(this._flags.last_token.text,["--","++"])&&(ne=!0)),(this._flags.mode===X.BlockStatement&&!this._flags.inline_frame||this._flags.mode===X.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||ie,this.print_token(o),this._output.space_before_token=ne},$.prototype.handle_block_comment=function(o,p){if(this._output.raw){this._output.add_raw_token(o),o.directives&&o.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(o.directives){this.print_newline(!1,p),this.print_token(o),o.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!r.newline.test(o.text)&&!o.newlines){this._output.space_before_token=!0,this.print_token(o),this._output.space_before_token=!0;return}else this.print_block_commment(o,p)},$.prototype.print_block_commment=function(o,p){var F=M(o.text),re,ie=!1,ne=!1,me=o.whitespace_before,xe=me.length;if(this.print_newline(!1,p),this.print_token_line_indentation(o),this._output.add_token(F[0]),this.print_newline(!1,p),F.length>1){for(F=F.slice(1),ie=O(F,"*"),ne=A(F,me),ie&&(this._flags.alignment=1),re=0;re<F.length;re++)ie?(this.print_token_line_indentation(o),this._output.add_token(I(F[re]))):ne&&F[re]?(this.print_token_line_indentation(o),this._output.add_token(F[re].substring(xe))):(this._output.current_line.set_indent(-1),this._output.add_token(F[re])),this.print_newline(!1,p);this._flags.alignment=0}},$.prototype.handle_comment=function(o,p){o.newlines?this.print_newline(!1,p):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(o),this.print_newline(!1,p)},$.prototype.handle_dot=function(o){this.start_of_statement(o)||this.handle_whitespace_and_comments(o,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),s(this._flags.last_token,w)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(o,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(o)},$.prototype.handle_unknown=function(o,p){this.print_token(o),o.text[o.text.length-1]===`
|
|
|
`&&this.print_newline(!1,p)},$.prototype.handle_eof=function(o){for(;this._flags.mode===X.Statement;)this.restore_mode();this.handle_whitespace_and_comments(o)},W.exports.Beautifier=$},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 a=this.__base_string_length;return r=r||0,n<0&&(a=0),a+=n*this.__indent_size,a+=r,a},h.prototype.get_indent_string=function(n,r){var a=this.__base_string;return r=r||0,n<0&&(n=0,a=""),r+=n*this.__indent_size,this.__ensure_cache(r),a+=this.__cache[r],a},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,a="";this.__indent_size&&n>=this.__indent_size&&(r=Math.floor(n/this.__indent_size),n-=r*this.__indent_size,a=new Array(r+1).join(this.__indent_string)),n&&(a+=new Array(n+1).join(" ")),this.__cache.push(a)};function m(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()}m.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},m.prototype.get_line_number=function(){return this.__lines.length},m.prototype.get_indent_string=function(n,r){return this.__indent_cache.get_indent_string(n,r)},m.prototype.get_indent_size=function(n,r){return this.__indent_cache.get_indent_size(n,r)},m.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},m.prototype.add_new_line=function(n){return this.is_empty()||!n&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},m.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 a=this.__lines.join(`
|
|
|
`);return n!==`
|
|
|
`&&(a=a.replace(/[\n]/g,n)),a},m.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},m.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)},m.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},m.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()},m.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(" "))},m.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()},m.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},m.prototype.just_added_newline=function(){return this.current_line.is_empty()},m.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},m.prototype.ensure_empty_line_above=function(n,r){for(var a=this.__lines.length-2;a>=0;){var u=this.__lines[a];if(u.is_empty())break;if(u.item(0).indexOf(n)!==0&&u.item(-1)!==r){this.__lines.splice(a+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}a--}},W.exports.Output=m},function(W){function e(h,m,n,r){this.type=h,this.text=m,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",m="\\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",a="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",u="(?:"+a+"|["+h+n+"])",b="(?:"+a+"|["+m+n+r+"])*";e.identifier=new RegExp(u+b,"g"),e.identifierStart=new RegExp(u),e.identifierMatch=new RegExp("(?:"+a+"|["+m+n+r+"])+");var z=/[\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 m=h(6).Options,n=["before-newline","after-newline","preserve-newline"];function r(a){m.call(this,a,"js");var u=this.raw_options.brace_style||null;u==="expand-strict"?this.raw_options.brace_style="expand":u==="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 b=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var z=0;z<b.length;z++)b[z]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=b[z];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 m,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 a=this.raw_options[n],u=r||[];return typeof a=="object"?a!==null&&typeof a.concat=="function"&&(u=a.concat()):typeof a=="string"&&(u=a.split(/[^a-zA-Z0-9_\/\-]+/)),u},e.prototype._get_boolean=function(n,r){var a=this.raw_options[n],u=a===void 0?!!r:!!a;return u},e.prototype._get_characters=function(n,r){var a=this.raw_options[n],u=r||"";return typeof a=="string"&&(u=a.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),u},e.prototype._get_number=function(n,r){var a=this.raw_options[n];r=parseInt(r,10),isNaN(r)&&(r=0);var u=parseInt(a,10);return isNaN(u)&&(u=r),u},e.prototype._get_selection=function(n,r,a){var u=this._get_selection_list(n,r,a);if(u.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 u[0]},e.prototype._get_selection_list=function(n,r,a){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(a=a||[r[0]],!this._is_valid_selection(a,r))throw new Error("Invalid Default Value!");var u=this._get_array(n,a);if(!this._is_valid_selection(u,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 u},e.prototype._is_valid_selection=function(n,r){return n.length&&r.length&&!n.some(function(a){return r.indexOf(a)===-1})};function h(n,r){var a={};n=m(n);var u;for(u in n)u!==r&&(a[u]=n[u]);if(r&&n[r])for(u in n[r])a[u]=n[r][u];return a}function m(n){var r={},a;for(a in n){var u=a.replace(/-/g,"_");r[u]=n[a]}return r}W.exports.Options=e,W.exports.normalizeOpts=m,W.exports.mergeOpts=h},function(W,e,h){var m=h(8).InputScanner,n=h(9).Tokenizer,r=h(9).TOKEN,a=h(13).Directives,u=h(4),b=h(12).Pattern,z=h(14).TemplatablePattern;function E(O,A){return A.indexOf(O)!==-1}var y={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 a(/\/\*/,/\*\//),S=/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\.]/,w=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),D=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";D=D.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),D="\\?\\.(?!\\d) "+D,D=D.replace(/ /g,"|");var Y=new RegExp(D),J="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),X=J.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),U=new RegExp("^(?:"+X.join("|")+")$"),M,g=function(O,A){n.call(this,O,A),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var $=new b(this._input),i=new z(this._input).read_options(this._options);this.__patterns={template:i,identifier:i.starting_with(u.identifier).matching(u.identifierMatch),number:$.matching(S),punct:$.matching(Y),comment:$.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:$.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:$.matching(/<!--/),html_comment_end:$.matching(/-->/),include:$.starting_with(/#include/).until_after(u.lineBreak),shebang:$.starting_with(/#!/).until_after(u.lineBreak),xml:$.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(/[`}\\]/)}};g.prototype=new n,g.prototype._is_comment=function(O){return O.type===y.COMMENT||O.type===y.BLOCK_COMMENT||O.type===y.UNKNOWN},g.prototype._is_opening=function(O){return O.type===y.START_BLOCK||O.type===y.START_EXPR},g.prototype._is_closing=function(O,A){return(O.type===y.END_BLOCK||O.type===y.END_EXPR)&&A&&(O.text==="]"&&A.text==="["||O.text===")"&&A.text==="("||O.text==="}"&&A.text==="{")},g.prototype._reset=function(){M=!1},g.prototype._get_next_token=function(O,A){var $=null;this._readWhitespace();var i=this._input.peek();return i===null?this._create_token(y.EOF,""):($=$||this._read_non_javascript(i),$=$||this._read_string(i),$=$||this._read_pair(i,this._input.peek(1)),$=$||this._read_word(O),$=$||this._read_singles(i),$=$||this._read_comment(i),$=$||this._read_regexp(i,O),$=$||this._read_xml(i,O),$=$||this._read_punctuation(),$=$||this._create_token(y.UNKNOWN,this._input.next()),$)},g.prototype._read_word=function(O){var A;if(A=this.__patterns.identifier.read(),A!=="")return A=A.replace(u.allLineBreaks,`
|
|
|
`),!(O.type===y.DOT||O.type===y.RESERVED&&(O.text==="set"||O.text==="get"))&&U.test(A)?(A==="in"||A==="of")&&(O.type===y.WORD||O.type===y.STRING)?this._create_token(y.OPERATOR,A):this._create_token(y.RESERVED,A):this._create_token(y.WORD,A);if(A=this.__patterns.number.read(),A!=="")return this._create_token(y.WORD,A)},g.prototype._read_singles=function(O){var A=null;return O==="("||O==="["?A=this._create_token(y.START_EXPR,O):O===")"||O==="]"?A=this._create_token(y.END_EXPR,O):O==="{"?A=this._create_token(y.START_BLOCK,O):O==="}"?A=this._create_token(y.END_BLOCK,O):O===";"?A=this._create_token(y.SEMICOLON,O):O==="."&&s.test(this._input.peek(1))?A=this._create_token(y.DOT,O):O===","&&(A=this._create_token(y.COMMA,O)),A&&this._input.next(),A},g.prototype._read_pair=function(O,A){var $=null;return O==="#"&&A==="{"&&($=this._create_token(y.START_BLOCK,O+A)),$&&(this._input.next(),this._input.next()),$},g.prototype._read_punctuation=function(){var O=this.__patterns.punct.read();if(O!=="")return O==="="?this._create_token(y.EQUALS,O):O==="?."?this._create_token(y.DOT,O):this._create_token(y.OPERATOR,O)},g.prototype._read_non_javascript=function(O){var A="";if(O==="#"){if(this._is_first_token()&&(A=this.__patterns.shebang.read(),A))return this._create_token(y.UNKNOWN,A.trim()+`
|
|
|
`);if(A=this.__patterns.include.read(),A)return this._create_token(y.UNKNOWN,A.trim()+`
|
|
|
`);O=this._input.next();var $="#";if(this._input.hasNext()&&this._input.testChar(c)){do O=this._input.next(),$+=O;while(this._input.hasNext()&&O!=="#"&&O!=="=");return O==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?($+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&($+="{}",this._input.next(),this._input.next())),this._create_token(y.WORD,$)}this._input.back()}else if(O==="<"&&this._is_first_token()){if(A=this.__patterns.html_comment_start.read(),A){for(;this._input.hasNext()&&!this._input.testChar(u.newline);)A+=this._input.next();return M=!0,this._create_token(y.COMMENT,A)}}else if(M&&O==="-"&&(A=this.__patterns.html_comment_end.read(),A))return M=!1,this._create_token(y.COMMENT,A);return null},g.prototype._read_comment=function(O){var A=null;if(O==="/"){var $="";if(this._input.peek(1)==="*"){$=this.__patterns.block_comment.read();var i=I.get_directives($);i&&i.ignore==="start"&&($+=I.readIgnored(this._input)),$=$.replace(u.allLineBreaks,`
|
|
|
`),A=this._create_token(y.BLOCK_COMMENT,$),A.directives=i}else this._input.peek(1)==="/"&&($=this.__patterns.comment.read(),A=this._create_token(y.COMMENT,$))}return A},g.prototype._read_string=function(O){if(O==="`"||O==="'"||O==='"'){var A=this._input.next();return this.has_char_escapes=!1,O==="`"?A+=this._read_string_recursive("`",!0,"${"):A+=this._read_string_recursive(O),this.has_char_escapes&&this._options.unescape_strings&&(A=K(A)),this._input.peek()===O&&(A+=this._input.next()),A=A.replace(u.allLineBreaks,`
|
|
|
`),this._create_token(y.STRING,A)}return null},g.prototype._allow_regexp_or_xml=function(O){return O.type===y.RESERVED&&E(O.text,["return","case","throw","else","do","typeof","yield"])||O.type===y.END_EXPR&&O.text===")"&&O.opened.previous.type===y.RESERVED&&E(O.opened.previous.text,["if","while","for"])||E(O.type,[y.COMMENT,y.START_EXPR,y.START_BLOCK,y.START,y.END_BLOCK,y.OPERATOR,y.EQUALS,y.EOF,y.SEMICOLON,y.COMMA])},g.prototype._read_regexp=function(O,A){if(O==="/"&&this._allow_regexp_or_xml(A)){for(var $=this._input.next(),i=!1,o=!1;this._input.hasNext()&&(i||o||this._input.peek()!==O)&&!this._input.testChar(u.newline);)$+=this._input.peek(),i?i=!1:(i=this._input.peek()==="\\",this._input.peek()==="["?o=!0:this._input.peek()==="]"&&(o=!1)),this._input.next();return this._input.peek()===O&&($+=this._input.next(),$+=this._input.read(u.identifier)),this._create_token(y.STRING,$)}return null},g.prototype._read_xml=function(O,A){if(this._options.e4x&&O==="<"&&this._allow_regexp_or_xml(A)){var $="",i=this.__patterns.xml.read_match();if(i){for(var o=i[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),p=o.indexOf("{")===0,F=0;i;){var re=!!i[1],ie=i[2],ne=!!i[i.length-1]||ie.slice(0,8)==="![CDATA[";if(!ne&&(ie===o||p&&ie.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(re?--F:++F),$+=i[0],F<=0)break;i=this.__patterns.xml.read_match()}return i||($+=this._input.match(/[\s\S]*/g)[0]),$=$.replace(u.allLineBreaks,`
|
|
|
`),this._create_token(y.STRING,$)}}return null};function K(O){for(var A="",$=0,i=new m(O),o=null;i.hasNext();)if(o=i.match(/([\s]|[^\\]|\\\\)+/g),o&&(A+=o[0]),i.peek()==="\\"){if(i.next(),i.peek()==="x")o=i.match(/x([0-9A-Fa-f]{2})/g);else if(i.peek()==="u")o=i.match(/u([0-9A-Fa-f]{4})/g),o||(o=i.match(/u\{([0-9A-Fa-f]+)\}/g));else{A+="\\",i.hasNext()&&(A+=i.next());continue}if(!o||($=parseInt(o[1],16),$>126&&$<=255&&o[0].indexOf("x")===0))return O;$>=0&&$<32||$>1114111?A+="\\"+o[0]:$===34||$===39||$===92?A+="\\"+String.fromCharCode($):A+=String.fromCharCode($)}return A}g.prototype._read_string_recursive=function(O,A,$){var i,o;O==="'"?o=this.__patterns.single_quote:O==='"'?o=this.__patterns.double_quote:O==="`"?o=this.__patterns.template_text:O==="}"&&(o=this.__patterns.template_expression);for(var p=o.read(),F="";this._input.hasNext();){if(F=this._input.next(),F===O||!A&&u.newline.test(F)){this._input.back();break}else F==="\\"&&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(),F+=this._input.next()):$&&($==="${"&&F==="$"&&this._input.peek()==="{"&&(F+=this._input.next()),$===F&&(O==="`"?F+=this._read_string_recursive("}",A,"`"):F+=this._read_string_recursive("`",A,"${"),this._input.hasNext()&&(F+=this._input.next())));F+=o.read(),p+=F}return p},W.exports.Tokenizer=g,W.exports.TOKEN=y,W.exports.positionable_operators=w.slice(),W.exports.line_starters=J.slice()},function(W){var e=RegExp.prototype.hasOwnProperty("sticky");function h(m){this.__input=m||"",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 m=null;return this.hasNext()&&(m=this.__input.charAt(this.__position),this.__position+=1),m},h.prototype.peek=function(m){var n=null;return m=m||0,m+=this.__position,m>=0&&m<this.__input_length&&(n=this.__input.charAt(m)),n},h.prototype.__match=function(m,n){m.lastIndex=n;var r=m.exec(this.__input);return r&&!(e&&m.sticky)&&r.index!==n&&(r=null),r},h.prototype.test=function(m,n){return n=n||0,n+=this.__position,n>=0&&n<this.__input_length?!!this.__match(m,n):!1},h.prototype.testChar=function(m,n){var r=this.peek(n);return m.lastIndex=0,r!==null&&m.test(r)},h.prototype.match=function(m){var n=this.__match(m,this.__position);return n?this.__position+=n[0].length:n=null,n},h.prototype.read=function(m,n,r){var a="",u;return m&&(u=this.match(m),u&&(a+=u[0])),n&&(u||!m)&&(a+=this.readUntil(n,r)),a},h.prototype.readUntil=function(m,n){var r="",a=this.__position;m.lastIndex=this.__position;var u=m.exec(this.__input);return u?(a=u.index,n&&(a+=u[0].length)):a=this.__input_length,r=this.__input.substring(this.__position,a),this.__position=a,r},h.prototype.readUntilAfter=function(m){return this.readUntil(m,!0)},h.prototype.get_regexp=function(m,n){var r=null,a="g";return n&&e&&(a="y"),typeof m=="string"&&m!==""?r=new RegExp(m,a):m&&(r=new RegExp(m.source,a)),r},h.prototype.get_literal_regexp=function(m){return RegExp(m.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},h.prototype.peekUntilAfter=function(m){var n=this.__position,r=this.readUntilAfter(m);return this.__position=n,r},h.prototype.lookBack=function(m){var n=this.__position-1;return n>=m.length&&this.__input.substring(n-m.length,n).toLowerCase()===m},W.exports.InputScanner=h},function(W,e,h){var m=h(8).InputScanner,n=h(3).Token,r=h(10).TokenStream,a=h(11).WhitespacePattern,u={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},b=function(z,E){this._input=new m(z),this._options=E||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new a(this._input)};b.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var z,E=new n(u.START,""),y=null,I=[],S=new r;E.type!==u.EOF;){for(z=this._get_next_token(E,y);this._is_comment(z);)S.add(z),z=this._get_next_token(E,y);S.isEmpty()||(z.comments_before=S,S=new r),z.parent=y,this._is_opening(z)?(I.push(y),y=z):y&&this._is_closing(z,y)&&(z.opened=y,y.closed=z,y=I.pop(),z.parent=y),z.previous=E,E.next=z,this.__tokens.add(z),E=z}return this.__tokens},b.prototype._is_first_token=function(){return this.__tokens.isEmpty()},b.prototype._reset=function(){},b.prototype._get_next_token=function(z,E){this._readWhitespace();var y=this._input.read(/.+/g);return y?this._create_token(u.RAW,y):this._create_token(u.EOF,"")},b.prototype._is_comment=function(z){return!1},b.prototype._is_opening=function(z){return!1},b.prototype._is_closing=function(z,E){return!1},b.prototype._create_token=function(z,E){var y=new n(z,E,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return y},b.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},W.exports.Tokenizer=b,W.exports.TOKEN=u},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 m=null;return h=h||0,h+=this.__position,h>=0&&h<this.__tokens_length&&(m=this.__tokens[h]),m},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 m=h(12).Pattern;function n(r,a){m.call(this,r,a),a?this._line_regexp=this._input.get_regexp(a._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}n.prototype=new m,n.prototype.__set_whitespace_patterns=function(r,a){r+="\\t ",a+="\\n\\r",this._match_pattern=this._input.get_regexp("["+r+a+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+a+"]")},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 a=this.__split(this._newline_regexp,r);this.newline_count=a.length-1,this.whitespace_before_token=a[this.newline_count]}return r},n.prototype.matching=function(r,a){var u=this._create();return u.__set_whitespace_patterns(r,a),u._update(),u},n.prototype._create=function(){return new n(this._input,this)},n.prototype.__split=function(r,a){r.lastIndex=0;for(var u=0,b=[],z=r.exec(a);z;)b.push(a.substring(u,z.index)),u=z.index+z[0].length,z=r.exec(a);return u<a.length?b.push(a.substring(u,a.length)):b.push(""),b},W.exports.WhitespacePattern=n},function(W){function e(h,m){this._input=h,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,m&&(this._starting_pattern=this._input.get_regexp(m._starting_pattern,!0),this._match_pattern=this._input.get_regexp(m._match_pattern,!0),this._until_pattern=this._input.get_regexp(m._until_pattern),this._until_after=m._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 m=this._create();return m._until_after=!0,m._until_pattern=this._input.get_regexp(h),m._update(),m},e.prototype.until=function(h){var m=this._create();return m._until_after=!1,m._until_pattern=this._input.get_regexp(h),m._update(),m},e.prototype.starting_with=function(h){var m=this._create();return m._starting_pattern=this._input.get_regexp(h,!0),m._update(),m},e.prototype.matching=function(h){var m=this._create();return m._match_pattern=this._input.get_regexp(h,!0),m._update(),m},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},W.exports.Pattern=e},function(W){function e(h,m){h=typeof h=="string"?h:h.source,m=typeof m=="string"?m:m.source,this.__directives_block_pattern=new RegExp(h+/ beautify( \w+[:]\w+)+ /.source+m,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(h+/\sbeautify\signore:end\s/.source+m,"g")}e.prototype.get_directives=function(h){if(!h.match(this.__directives_block_pattern))return null;var m={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(h);n;)m[n[1]]=n[2],n=this.__directive_pattern.exec(h);return m},e.prototype.readIgnored=function(h){return h.readUntilAfter(this.__directives_end_ignore_pattern)},W.exports.Directives=e},function(W,e,h){var m=h(12).Pattern,n={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(a,u){m.call(this,a,u),this.__template_pattern=null,this._disabled=Object.assign({},n),this._excluded=Object.assign({},n),u&&(this.__template_pattern=this._input.get_regexp(u.__template_pattern),this._excluded=Object.assign(this._excluded,u._excluded),this._disabled=Object.assign(this._disabled,u._disabled));var b=new m(a);this.__patterns={handlebars_comment:b.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:b.starting_with(/{{{/).until_after(/}}}/),handlebars:b.starting_with(/{{/).until_after(/}}/),php:b.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:b.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:b.starting_with(/{%/).until_after(/%}/),django_value:b.starting_with(/{{/).until_after(/}}/),django_comment:b.starting_with(/{#/).until_after(/#}/),smarty:b.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:b.starting_with(/{\*/).until_after(/\*}/),smarty_literal:b.starting_with(/{literal}/).until_after(/{\/literal}/)}}r.prototype=new m,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(a){var u=this._create();return u._disabled[a]=!0,u._update(),u},r.prototype.read_options=function(a){var u=this._create();for(var b in n)u._disabled[b]=a.templating.indexOf(b)===-1;return u._update(),u},r.prototype.exclude=function(a){var u=this._create();return u._excluded[a]=!0,u._update(),u},r.prototype.read=function(){var a="";this._match_pattern?a=this._input.read(this._starting_pattern):a=this._input.read(this._starting_pattern,this.__template_pattern);for(var u=this._read_template();u;)this._match_pattern?u+=this._input.read(this._match_pattern):u+=this._input.readUntil(this.__template_pattern),a+=u,u=this._read_template();return this._until_after&&(a+=this._input.readUntilAfter(this._until_pattern)),a},r.prototype.__set_templated_pattern=function(){var a=[];this._disabled.php||a.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||a.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||a.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||a.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(a.push(this.__patterns.django._starting_pattern.source),a.push(this.__patterns.django_value._starting_pattern.source),a.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||a.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&a.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+a.join("|")+")")},r.prototype._read_template=function(){var a="",u=this._input.peek();if(u==="<"){var b=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&b==="?"&&(a=a||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&b==="%"&&(a=a||this.__patterns.erb.read())}else u==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(a=a||this.__patterns.handlebars_comment.read(),a=a||this.__patterns.handlebars_unescaped.read(),a=a||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(a=a||this.__patterns.django_value.read()),this._excluded.django||(a=a||this.__patterns.django_comment.read(),a=a||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(a=a||this.__patterns.smarty_comment.read(),a=a||this.__patterns.smarty_literal.read(),a=a||this.__patterns.smarty.read()));return a},W.exports.TemplatablePattern=r}],C={};function k(W){var e=C[W];if(e!==void 0)return e.exports;var h=C[W]={exports:{}};return V[W](h,h.exports,k),h.exports}var l=k(0);v=l})();var N=v;t=[],_=function(){return{js_beautify:N}}.apply(ve,t),_!==void 0&&(qe.exports=_)})()},75918:function(qe,ve,t){"use strict";t.d(ve,{Wi:function(){return k},Z0:function(){return l},aU:function(){return C},eZ:function(){return e},wY:function(){return W}});var _=t(4348),v=t(69323),N=t(13268),V=function(h,m,n,r){function a(u){return u instanceof n?u:new n(function(b){b(u)})}return new(n||(n=Promise))(function(u,b){function z(I){try{y(r.next(I))}catch(S){b(S)}}function E(I){try{y(r.throw(I))}catch(S){b(S)}}function y(I){I.done?u(I.value):a(I.value).then(z,E)}y((r=r.apply(h,m||[])).next())})};class C extends v.JT{constructor(m,n="",r="",a=!0,u){super(),this._onDidChange=this._register(new _.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=m,this._label=n,this._cssClass=r,this._enabled=a,this._actionCallback=u}get id(){return this._id}get label(){return this._label}set label(m){this._setLabel(m)}_setLabel(m){this._label!==m&&(this._label=m,this._onDidChange.fire({label:m}))}get tooltip(){return this._tooltip||""}set tooltip(m){this._setTooltip(m)}_setTooltip(m){this._tooltip!==m&&(this._tooltip=m,this._onDidChange.fire({tooltip:m}))}get class(){return this._cssClass}set class(m){this._setClass(m)}_setClass(m){this._cssClass!==m&&(this._cssClass=m,this._onDidChange.fire({class:m}))}get enabled(){return this._enabled}set enabled(m){this._setEnabled(m)}_setEnabled(m){this._enabled!==m&&(this._enabled=m,this._onDidChange.fire({enabled:m}))}get checked(){return this._checked}set checked(m){this._setChecked(m)}_setChecked(m){this._checked!==m&&(this._checked=m,this._onDidChange.fire({checked:m}))}run(m,n){return V(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(m))})}}class k extends v.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new _.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new _.Q5),this.onDidRun=this._onDidRun.event}run(m,n){return V(this,void 0,void 0,function*(){if(!m.enabled)return;this._onBeforeRun.fire({action:m});let r;try{yield this.runAction(m,n)}catch(a){r=a}this._onDidRun.fire({action:m,error:r})})}runAction(m,n){return V(this,void 0,void 0,function*(){yield m.run(n)})}}class l extends C{constructor(m){super(l.ID,m,m?"separator text":"separator"),this.checked=!1,this.enabled=!1}}l.ID="vs.actions.separator";class W{constructor(m,n,r,a){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=m,this.label=n,this.class=a,this._actions=r}get actions(){return this._actions}dispose(){}run(){return V(this,void 0,void 0,function*(){})}}class e extends C{constructor(){super(e.ID,N.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(qe,ve,t){"use strict";t.d(ve,{ok:function(){return _}});function _(v,N){if(!v)throw new Error(N?`Assertion failed (${N})`:"Assertion Failed")}},52615:function(qe,ve,t){"use strict";t.d(ve,{CM:function(){return C},JL:function(){return k},dT:function(){return W},fK:function(){return V},lA:function(){return l}});var _=t(4348);class v{constructor(){this._icons=new Map,this._onDidRegister=new _.Q5}add(h){const m=this._icons.get(h.id);m?h.description?m.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 N=new v,V=N;function C(e,h){return new l(e,h)}function k(e){return e?e.replace(/\$\((.*?)\)/g,(h,m)=>` ${m} `).trim():""}class l{constructor(h,m,n){this.id=h,this.definition=m,this.description=n,N.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 m(a){if(a instanceof l)return["codicon","codicon-"+a.id];const u=h.exec(a.id);if(!u)return m(l.error);let[,b,z]=u;const E=["codicon","codicon-"+b];return z&&E.push("codicon-modifier-"+z.substr(1)),E}e.asClassNameArray=m;function n(a){return m(a).join(" ")}e.asClassName=n;function r(a){return"."+m(a).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"})}(l||(l={}))},79881:function(qe,ve,t){"use strict";t.d(ve,{B8:function(){return m},Cp:function(){return V},F0:function(){return W},L6:function(){return h},VV:function(){return l},b1:function(){return e},dL:function(){return N},ri:function(){return C}});class _{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(r){setTimeout(()=>{throw r.stack?new Error(r.message+`
|
|
|
|
|
|
`+r.stack):r},0)}}emit(r){this.listeners.forEach(a=>{a(r)})}onUnexpectedError(r){this.unexpectedErrorHandler(r),this.emit(r)}onUnexpectedExternalError(r){this.unexpectedErrorHandler(r)}}const v=new _;function N(n){l(n)||v.onUnexpectedError(n)}function V(n){l(n)||v.onUnexpectedExternalError(n)}function C(n){if(n instanceof Error){let{name:r,message:a}=n;const u=n.stacktrace||n.stack;return{$isError:!0,name:r,message:a,stack:u}}return n}const k="Canceled";function l(n){return n instanceof Error&&n.name===k&&n.message===k}function W(){const n=new Error(k);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 m extends Error{constructor(r){super("NotSupported"),r&&(this.message=r)}}},4348:function(qe,ve,t){"use strict";t.d(ve,{D0:function(){return m},E7:function(){return n},K3:function(){return h},Q5:function(){return e},ZD:function(){return r},ju:function(){return C}});var _=t(79881),v=t(69323),N=t(34502),V=t(95830),C;(function(a){a.None=()=>v.JT.None;function u(K){return(O,A=null,$)=>{let i=!1,o;return o=K(p=>{if(!i)return o?o.dispose():i=!0,O.call(A,p)},null,$),i&&o.dispose(),o}}a.once=u;function b(K,O){return c((A,$=null,i)=>K(o=>A.call($,O(o)),null,i))}a.map=b;function z(K,O){return c((A,$=null,i)=>K(o=>{O(o),A.call($,o)},null,i))}a.forEach=z;function E(K,O){return c((A,$=null,i)=>K(o=>O(o)&&A.call($,o),null,i))}a.filter=E;function y(K){return K}a.signal=y;function I(...K){return(O,A=null,$)=>(0,v.F8)(...K.map(i=>i(o=>O.call(A,o),null,$)))}a.any=I;function S(K,O,A){let $=A;return b(K,i=>($=O($,i),$))}a.reduce=S;function c(K){let O;const A=new e({onFirstListenerAdd(){O=K(A.fire,A)},onLastListenerRemove(){O.dispose()}});return A.event}function s(K,O,A=100,$=!1,i){let o,p,F,re=0;const ie=new e({leakWarningThreshold:i,onFirstListenerAdd(){o=K(ne=>{re++,p=O(p,ne),$&&!F&&(ie.fire(p),p=void 0),clearTimeout(F),F=setTimeout(()=>{const me=p;p=void 0,F=void 0,(!$||re>1)&&ie.fire(me),re=0},A)})},onLastListenerRemove(){o.dispose()}});return ie.event}a.debounce=s;function w(K,O=(A,$)=>A===$){let A=!0,$;return E(K,i=>{const o=A||!O(i,$);return A=!1,$=i,o})}a.latch=w;function D(K,O){return[a.filter(K,O),a.filter(K,A=>!O(A))]}a.split=D;function Y(K,O=!1,A=[]){let $=A.slice(),i=K(F=>{$?$.push(F):p.fire(F)});const o=()=>{$&&$.forEach(F=>p.fire(F)),$=null},p=new e({onFirstListenerAdd(){i||(i=K(F=>p.fire(F)))},onFirstListenerDidAdd(){$&&(O?setTimeout(o):o())},onLastListenerRemove(){i&&i.dispose(),i=null}});return p.event}a.buffer=Y;class J{constructor(O){this.event=O}map(O){return new J(b(this.event,O))}forEach(O){return new J(z(this.event,O))}filter(O){return new J(E(this.event,O))}reduce(O,A){return new J(S(this.event,O,A))}latch(){return new J(w(this.event))}debounce(O,A=100,$=!1,i){return new J(s(this.event,O,A,$,i))}on(O,A,$){return this.event(O,A,$)}once(O,A,$){return u(this.event)(O,A,$)}}function X(K){return new J(K)}a.chain=X;function U(K,O,A=$=>$){const $=(...F)=>p.fire(A(...F)),i=()=>K.on(O,$),o=()=>K.removeListener(O,$),p=new e({onFirstListenerAdd:i,onLastListenerRemove:o});return p.event}a.fromNodeEventEmitter=U;function M(K,O,A=$=>$){const $=(...F)=>p.fire(A(...F)),i=()=>K.addEventListener(O,$),o=()=>K.removeEventListener(O,$),p=new e({onFirstListenerAdd:i,onLastListenerRemove:o});return p.event}a.fromDOMEventEmitter=M;function g(K){return new Promise(O=>u(K)(O))}a.toPromise=g})(C||(C={}));class k{constructor(u){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${u}_${k._idPool++}`}start(u){this._stopWatch=new V.G(!0),this._listenerCount=u}stop(){if(this._stopWatch){const u=this._stopWatch.elapsed();this._elapsedOverall+=u,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${u.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}k._idPool=0;let l=-1;class W{constructor(u,b=Math.random().toString(18).slice(2,5)){this.customThreshold=u,this.name=b,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(u){let b=l;if(typeof this.customThreshold=="number"&&(b=this.customThreshold),b<=0||u<b)return;this._stacks||(this._stacks=new Map);const z=new Error().stack.split(`
|
|
|
`).slice(3).join(`
|
|
|
`),E=this._stacks.get(z)||0;if(this._stacks.set(z,E+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=b*.5;let y,I=0;for(const[S,c]of this._stacks)(!y||I<c)&&(y=S,I=c);console.warn(`[${this.name}] potential listener LEAK detected, having ${u} listeners already. MOST frequent listener (${I}):`),console.warn(y)}return()=>{const y=this._stacks.get(z)||0;this._stacks.set(z,y-1)}}}class e{constructor(u){var b;this._disposed=!1,this._options=u,this._leakageMon=l>0?new W(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((b=this._options)===null||b===void 0)&&b._profName?new k(this._options._profName):void 0}get event(){return this._event||(this._event=(u,b,z)=>{var E;this._listeners||(this._listeners=new N.S);const y=this._listeners.isEmpty();y&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const I=this._listeners.push(b?[u,b]:u);y&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,u,b);const S=(E=this._leakageMon)===null||E===void 0?void 0:E.check(this._listeners.size),c=(0,v.OF)(()=>{S&&S(),this._disposed||(I(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return z instanceof v.SL?z.add(c):Array.isArray(z)&&z.push(c),c}),this._event}fire(u){var b,z;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new N.S);for(let E of this._listeners)this._deliveryQueue.push([E,u]);for((b=this._perfMon)===null||b===void 0||b.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[E,y]=this._deliveryQueue.shift();try{typeof E=="function"?E.call(void 0,y):E[0].call(E[1],y)}catch(I){(0,_.dL)(I)}}(z=this._perfMon)===null||z===void 0||z.stop()}}dispose(){var u,b,z,E,y;this._disposed||(this._disposed=!0,(u=this._listeners)===null||u===void 0||u.clear(),(b=this._deliveryQueue)===null||b===void 0||b.clear(),(E=(z=this._options)===null||z===void 0?void 0:z.onLastListenerRemove)===null||E===void 0||E.call(z),(y=this._leakageMon)===null||y===void 0||y.dispose())}}class h extends e{constructor(u){super(u),this._isPaused=0,this._eventQueue=new N.S,this._mergeFn=u==null?void 0:u.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const u=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(u))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(u){this._listeners&&(this._isPaused!==0?this._eventQueue.push(u):super.fire(u))}}class m extends h{constructor(u){var b;super(u),this._delay=(b=u.delay)!==null&&b!==void 0?b:100}fire(u){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(u)}}class n{constructor(){this.buffers=[]}wrapEvent(u){return(b,z,E)=>u(y=>{const I=this.buffers[this.buffers.length-1];I?I.push(()=>b.call(z,y)):b.call(z,y)},void 0,E)}bufferEvents(u){const b=[];this.buffers.push(b);const z=u();return this.buffers.pop(),b.forEach(E=>E()),z}}class r{constructor(){this.listening=!1,this.inputEvent=C.None,this.inputEventListener=v.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(u){this.inputEvent=u,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=u(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(qe,ve,t){"use strict";t.d(ve,{I:function(){return _}});function _(v){const N=this;let V=!1,C;return function(){return V||(V=!0,C=v.apply(N,arguments)),C}}},88226:function(qe,ve,t){"use strict";t.d(ve,{$:function(){return _}});var _;(function(v){function N(I){return I&&typeof I=="object"&&typeof I[Symbol.iterator]=="function"}v.is=N;const V=Object.freeze([]);function C(){return V}v.empty=C;function*k(I){yield I}v.single=k;function l(I){return I||V}v.from=l;function W(I){return!I||I[Symbol.iterator]().next().done===!0}v.isEmpty=W;function e(I){return I[Symbol.iterator]().next().value}v.first=e;function h(I,S){for(const c of I)if(S(c))return!0;return!1}v.some=h;function m(I,S){for(const c of I)if(S(c))return c}v.find=m;function*n(I,S){for(const c of I)S(c)&&(yield c)}v.filter=n;function*r(I,S){let c=0;for(const s of I)yield S(s,c++)}v.map=r;function*a(...I){for(const S of I)for(const c of S)yield c}v.concat=a;function*u(I){for(const S of I)for(const c of S)yield c}v.concatNested=u;function b(I,S,c){let s=c;for(const w of I)s=S(s,w);return s}v.reduce=b;function*z(I,S,c=I.length){for(S<0&&(S+=I.length),c<0?c+=I.length:c>I.length&&(c=I.length);S<c;S++)yield I[S]}v.slice=z;function E(I,S=Number.POSITIVE_INFINITY){const c=[];if(S===0)return[c,I];const s=I[Symbol.iterator]();for(let w=0;w<S;w++){const D=s.next();if(D.done)return[c,v.empty()];c.push(D.value)}return[c,{[Symbol.iterator](){return s}}]}v.consume=E;function y(I,S,c=(s,w)=>s===w){const s=I[Symbol.iterator](),w=S[Symbol.iterator]();for(;;){const D=s.next(),Y=w.next();if(D.done!==Y.done)return!1;if(D.done)return!0;if(!c(D.value,Y.value))return!1}}v.equals=y})(_||(_={}))},69323:function(qe,ve,t){"use strict";t.d(ve,{B9:function(){return r},F8:function(){return a},JT:function(){return z},Jz:function(){return y},OF:function(){return u},SL:function(){return b},Wf:function(){return n},XK:function(){return E},dk:function(){return h}});var _=t(17845),v=t(88226);const N=!1;let V=null;function C(I){V=I}if(N){const I="__is_disposable_tracked__";C(new class{trackDisposable(S){const c=new Error("Potentially leaked disposable").stack;setTimeout(()=>{S[I]||console.log(c)},3e3)}setParent(S,c){if(S&&S!==z.None)try{S[I]=!0}catch(s){}}markAsDisposed(S){if(S&&S!==z.None)try{S[I]=!0}catch(c){}}markAsSingleton(S){}})}function k(I){return V==null||V.trackDisposable(I),I}function l(I){V==null||V.markAsDisposed(I)}function W(I,S){V==null||V.setParent(I,S)}function e(I,S){if(V)for(const c of I)V.setParent(c,S)}function h(I){return V==null||V.markAsSingleton(I),I}class m extends Error{constructor(S){super(`Encountered errors while disposing of store. Errors: [${S.join(", ")}]`),this.errors=S}}function n(I){return typeof I.dispose=="function"&&I.dispose.length===0}function r(I){if(v.$.is(I)){let S=[];for(const c of I)if(c)try{c.dispose()}catch(s){S.push(s)}if(S.length===1)throw S[0];if(S.length>1)throw new m(S);return Array.isArray(I)?[]:I}else if(I)return I.dispose(),I}function a(...I){const S=u(()=>r(I));return e(I,S),S}function u(I){const S=k({dispose:(0,_.I)(()=>{l(S),I()})});return S}class b{constructor(){this._toDispose=new Set,this._isDisposed=!1,k(this)}dispose(){this._isDisposed||(l(this),this._isDisposed=!0,this.clear())}clear(){try{r(this._toDispose.values())}finally{this._toDispose.clear()}}add(S){if(!S)return S;if(S===this)throw new Error("Cannot register a disposable on itself!");return W(S,this),this._isDisposed?b.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(S),S}}b.DISABLE_DISPOSED_WARNING=!1;class z{constructor(){this._store=new b,k(this),W(this._store,this)}dispose(){l(this),this._store.dispose()}_register(S){if(S===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(S)}}z.None=Object.freeze({dispose(){}});class E{constructor(){this._isDisposed=!1,k(this)}get value(){return this._isDisposed?void 0:this._value}set value(S){var c;this._isDisposed||S===this._value||((c=this._value)===null||c===void 0||c.dispose(),S&&W(S,this),this._value=S)}clear(){this.value=void 0}dispose(){var S;this._isDisposed=!0,l(this),(S=this._value)===null||S===void 0||S.dispose(),this._value=void 0}clearAndLeak(){const S=this._value;return this._value=void 0,S&&W(S,null),S}}class y{constructor(S){this.object=S}dispose(){}}},34502:function(qe,ve,t){"use strict";t.d(ve,{S:function(){return v}});class _{constructor(V){this.element=V,this.next=_.Undefined,this.prev=_.Undefined}}_.Undefined=new _(void 0);class v{constructor(){this._first=_.Undefined,this._last=_.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===_.Undefined}clear(){let V=this._first;for(;V!==_.Undefined;){const C=V.next;V.prev=_.Undefined,V.next=_.Undefined,V=C}this._first=_.Undefined,this._last=_.Undefined,this._size=0}unshift(V){return this._insert(V,!1)}push(V){return this._insert(V,!0)}_insert(V,C){const k=new _(V);if(this._first===_.Undefined)this._first=k,this._last=k;else if(C){const W=this._last;this._last=k,k.prev=W,W.next=k}else{const W=this._first;this._first=k,k.next=W,W.prev=k}this._size+=1;let l=!1;return()=>{l||(l=!0,this._remove(k))}}shift(){if(this._first!==_.Undefined){const V=this._first.element;return this._remove(this._first),V}}pop(){if(this._last!==_.Undefined){const V=this._last.element;return this._remove(this._last),V}}_remove(V){if(V.prev!==_.Undefined&&V.next!==_.Undefined){const C=V.prev;C.next=V.next,V.next.prev=C}else V.prev===_.Undefined&&V.next===_.Undefined?(this._first=_.Undefined,this._last=_.Undefined):V.next===_.Undefined?(this._last=this._last.prev,this._last.next=_.Undefined):V.prev===_.Undefined&&(this._first=this._first.next,this._first.prev=_.Undefined);this._size-=1}*[Symbol.iterator](){let V=this._first;for(;V!==_.Undefined;)yield V.element,V=V.next}}},23345:function(qe,ve,t){"use strict";t.d(ve,{$L:function(){return s},ED:function(){return y},IJ:function(){return S},OS:function(){return J},WE:function(){return D},dz:function(){return I},gn:function(){return w},li:function(){return u},r:function(){return M},tY:function(){return c},xS:function(){return Y}});var _=t(97671),v;const N="en";let V=!1,C=!1,k=!1,l=!1,W=!1,e=!1,h=!1,m,n=null,r=null,a;const u=typeof self=="object"?self:typeof t.g=="object"?t.g:{};let b;typeof u.vscode!="undefined"&&typeof u.vscode.process!="undefined"?b=u.vscode.process:typeof _!="undefined"&&(b=_);const z=typeof((v=b==null?void 0:b.versions)===null||v===void 0?void 0:v.electron)=="string"&&b.type==="renderer";if(typeof navigator=="object"&&!z)a=navigator.userAgent,V=a.indexOf("Windows")>=0,C=a.indexOf("Macintosh")>=0,h=(a.indexOf("Macintosh")>=0||a.indexOf("iPad")>=0||a.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,k=a.indexOf("Linux")>=0,e=!0,m=navigator.language,n=m;else if(typeof b=="object"){V=b.platform==="win32",C=b.platform==="darwin",k=b.platform==="linux",l=k&&!!b.env.SNAP&&!!b.env.SNAP_REVISION,m=N,n=N;const g=b.env.VSCODE_NLS_CONFIG;if(g)try{const K=JSON.parse(g),O=K.availableLanguages["*"];m=K.locale,n=O||N,r=K._translationsConfigFile}catch(K){}W=!0}else console.error("Unable to resolve platform.");let E=0;C?E=1:V?E=3:k&&(E=2);const y=V,I=C,S=k,c=W,s=e,w=h,D=a,Y=function(){if(u.setImmediate)return u.setImmediate.bind(u);if(typeof u.postMessage=="function"&&!u.importScripts){let O=[];u.addEventListener("message",$=>{if($.data&&$.data.vscodeSetImmediateId)for(let i=0,o=O.length;i<o;i++){const p=O[i];if(p.id===$.data.vscodeSetImmediateId){O.splice(i,1),p.callback();return}}});let A=0;return $=>{const i=++A;O.push({id:i,callback:$}),u.postMessage({vscodeSetImmediateId:i},"*")}}if(typeof(b==null?void 0:b.nextTick)=="function")return b.nextTick.bind(b);const K=Promise.resolve();return O=>K.then(O)}(),J=C||h?2:V?1:3;let X=!0,U=!1;function M(){if(!U){U=!0;const g=new Uint8Array(2);g[0]=1,g[1]=2,X=new Uint16Array(g.buffer)[0]===513}return X}},95830:function(qe,ve,t){"use strict";t.d(ve,{G:function(){return N}});var _=t(23345);const v=_.li.performance&&typeof _.li.performance.now=="function";class N{constructor(C){this._highResolution=v&&C,this._startTime=this._now(),this._stopTime=-1}static create(C=!0){return new N(C)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?_.li.performance.now():Date.now()}}},82983:function(qe,ve,t){"use strict";t.d(ve,{$i:function(){return re},C8:function(){return He},GF:function(){return m},HO:function(){return A},IO:function(){return n},K7:function(){return xe},Kw:function(){return et},LC:function(){return u},Mh:function(){return Y},P1:function(){return J},PJ:function(){return lt},Qe:function(){return ie},R1:function(){return h},RP:function(){return p},S6:function(){return je},TT:function(){return y},Ut:function(){return i},V8:function(){return b},WU:function(){return N},YK:function(){return U},YU:function(){return V},ZG:function(){return X},ZH:function(){return g},ab:function(){return ne},c1:function(){return Pe},df:function(){return s},ec:function(){return C},fi:function(){return pe},fy:function(){return k},j3:function(){return l},j_:function(){return S},m5:function(){return _},mK:function(){return c},mr:function(){return r},oH:function(){return H},oL:function(){return W},ok:function(){return D},ow:function(){return z},qq:function(){return w},qu:function(){return E},rL:function(){return M},uS:function(){return Ue},un:function(){return e},uq:function(){return a},vH:function(){return O},xe:function(){return me},zY:function(){return I}});function _(x){return!x||typeof x!="string"?!0:x.trim().length===0}const v=/{(\d+)}/g;function N(x,...d){return d.length===0?x:x.replace(v,function(f,G){const j=parseInt(G,10);return isNaN(j)||j<0||j>=d.length?f:d[j]})}function V(x){return x.replace(/[<>&]/g,function(d){switch(d){case"<":return"<";case">":return">";case"&":return"&";default:return d}})}function C(x){return x.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function k(x,d=" "){const f=l(x,d);return W(f,d)}function l(x,d){if(!x||!d)return x;const f=d.length;if(f===0||x.length===0)return x;let G=0;for(;x.indexOf(d,G)===G;)G=G+f;return x.substring(G)}function W(x,d){if(!x||!d)return x;const f=d.length,G=x.length;if(f===0||G===0)return x;let j=G,B=-1;for(;B=x.lastIndexOf(d,j-1),!(B===-1||B+f!==j);){if(B===0)return"";j=B}return x.substring(0,j)}function e(x){return x.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function h(x){return x.replace(/\*/g,"")}function m(x,d,f={}){if(!x)throw new Error("Cannot create regex from empty string");d||(x=C(x)),f.wholeWord&&(/\B/.test(x.charAt(0))||(x="\\b"+x),/\B/.test(x.charAt(x.length-1))||(x=x+"\\b"));let G="";return f.global&&(G+="g"),f.matchCase||(G+="i"),f.multiline&&(G+="m"),f.unicode&&(G+="u"),new RegExp(x,G)}function n(x){return x.source==="^"||x.source==="^$"||x.source==="$"||x.source==="^\\s*$"?!1:!!(x.exec("")&&x.lastIndex===0)}function r(x){return(x.global?"g":"")+(x.ignoreCase?"i":"")+(x.multiline?"m":"")+(x.unicode?"u":"")}function a(x){return x.split(/\r\n|\r|\n/)}function u(x){for(let d=0,f=x.length;d<f;d++){const G=x.charCodeAt(d);if(G!==32&&G!==9)return d}return-1}function b(x,d=0,f=x.length){for(let G=d;G<f;G++){const j=x.charCodeAt(G);if(j!==32&&j!==9)return x.substring(d,G)}return x.substring(d,f)}function z(x,d=x.length-1){for(let f=d;f>=0;f--){const G=x.charCodeAt(f);if(G!==32&&G!==9)return f}return-1}function E(x,d){return x<d?-1:x>d?1:0}function y(x,d,f=0,G=x.length,j=0,B=d.length){for(;f<G&&j<B;f++,j++){let oe=x.charCodeAt(f),le=d.charCodeAt(j);if(oe<le)return-1;if(oe>le)return 1}const q=G-f,de=B-j;return q<de?-1:q>de?1:0}function I(x,d){return S(x,d,0,x.length,0,d.length)}function S(x,d,f=0,G=x.length,j=0,B=d.length){for(;f<G&&j<B;f++,j++){let oe=x.charCodeAt(f),le=d.charCodeAt(j);if(oe===le)continue;if(oe>=128||le>=128)return y(x.toLowerCase(),d.toLowerCase(),f,G,j,B);c(oe)&&(oe-=32),c(le)&&(le-=32);const _e=oe-le;if(_e!==0)return _e}const q=G-f,de=B-j;return q<de?-1:q>de?1:0}function c(x){return x>=97&&x<=122}function s(x){return x>=65&&x<=90}function w(x,d){return x.length===d.length&&S(x,d)===0}function D(x,d){const f=d.length;return d.length>x.length?!1:S(x,d,0,f)===0}function Y(x,d){let f,G=Math.min(x.length,d.length);for(f=0;f<G;f++)if(x.charCodeAt(f)!==d.charCodeAt(f))return f;return G}function J(x,d){let f,G=Math.min(x.length,d.length);const j=x.length-1,B=d.length-1;for(f=0;f<G;f++)if(x.charCodeAt(j-f)!==d.charCodeAt(B-f))return f;return G}function X(x){return 55296<=x&&x<=56319}function U(x){return 56320<=x&&x<=57343}function M(x,d){return(x-55296<<10)+(d-56320)+65536}function g(x,d,f){const G=x.charCodeAt(f);if(X(G)&&f+1<d){const j=x.charCodeAt(f+1);if(U(j))return M(G,j)}return G}function K(x,d){const f=x.charCodeAt(d-1);if(U(f)&&d>1){const G=x.charCodeAt(d-2);if(X(G))return M(G,f)}return f}function O(x,d){const f=ue.getInstance(),G=d,j=x.length,B=g(x,j,d);d+=B>=65536?2:1;let q=f.getGraphemeBreakType(B);for(;d<j;){const de=g(x,j,d),oe=f.getGraphemeBreakType(de);if(pe(q,oe))break;d+=de>=65536?2:1,q=oe}return d-G}function A(x,d){const f=ue.getInstance(),G=d,j=K(x,d);d-=j>=65536?2:1;let B=f.getGraphemeBreakType(j);for(;d>0;){const q=K(x,d),de=f.getGraphemeBreakType(q);if(pe(de,B))break;d-=q>=65536?2:1,B=de}return G-d}const $=/(?:[\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(x){return $.test(x)}const o=/(?:[\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 p(x){return o.test(x)}const F=/^[\t\n\r\x20-\x7E]*$/;function re(x){return F.test(x)}const ie=/[\u2028\u2029]/;function ne(x){return ie.test(x)}function me(x){for(let d=0,f=x.length;d<f;d++)if(xe(x.charCodeAt(d)))return!0;return!1}function xe(x){return x=+x,x>=11904&&x<=55215||x>=63744&&x<=64255||x>=65281&&x<=65374}function He(x){return x>=127462&&x<=127487||x===8986||x===8987||x===9200||x===9203||x>=9728&&x<=10175||x===11088||x===11093||x>=127744&&x<=128591||x>=128640&&x<=128764||x>=128992&&x<=129003||x>=129280&&x<=129535||x>=129648&&x<=129750}const Pe="\uFEFF";function Ue(x){return!!(x&&x.length>0&&x.charCodeAt(0)===65279)}function et(x,d=!1){return x?(d&&(x=x.replace(/\\./g,"")),x.toLowerCase()!==x):!1}function lt(x){return x=x%(2*26),x<26?String.fromCharCode(97+x):String.fromCharCode(65+x-26)}function je(x){return ue.getInstance().getGraphemeBreakType(x)}function pe(x,d){return x===0?d!==5&&d!==7:x===2&&d===3?!1:x===4||x===2||x===3||d===4||d===2||d===3?!0:!(x===8&&(d===8||d===9||d===11||d===12)||(x===11||x===9)&&(d===9||d===10)||(x===12||x===10)&&d===10||d===5||d===13||d===7||x===1||x===13&&d===14||x===6&&d===6)}class ue{constructor(){this._data=Z()}static getInstance(){return ue._INSTANCE||(ue._INSTANCE=new ue),ue._INSTANCE}getGraphemeBreakType(d){if(d<32)return d===10?3:d===13?2:4;if(d<127)return 0;const f=this._data,G=f.length/3;let j=1;for(;j<=G;)if(d<f[3*j])j=2*j;else if(d>f[3*j+1])j=2*j+1;else return f[3*j+2];return 0}}ue._INSTANCE=null;function Z(){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 H(x,d){if(x===0)return 0;const f=L(x,d);if(f!==void 0)return f;const G=K(d,x);return x-=R(G),x}function L(x,d){let f=K(d,x);for(x-=R(f);ee(f)||f===65039||f===8419;){if(x===0)return;f=K(d,x),x-=R(f)}if(He(f)){if(x>=0){const G=K(d,x);G===8205&&(x-=R(G))}return x}}function R(x){return x>=65536?2:1}function ee(x){return 127995<=x&&x<=127999}},72999:function(qe,ve,t){"use strict";t.d(ve,{$E:function(){return u},$K:function(){return l},D8:function(){return n},HD:function(){return v},IU:function(){return b},Jp:function(){return W},Kn:function(){return N},cW:function(){return h},f6:function(){return z},hj:function(){return V},jn:function(){return C},kJ:function(){return _},mf:function(){return m},o8:function(){return k},p_:function(){return e},vE:function(){return E}});function _(y){return Array.isArray(y)}function v(y){return typeof y=="string"}function N(y){return typeof y=="object"&&y!==null&&!Array.isArray(y)&&!(y instanceof RegExp)&&!(y instanceof Date)}function V(y){return typeof y=="number"&&!isNaN(y)}function C(y){return y===!0||y===!1}function k(y){return typeof y=="undefined"}function l(y){return!W(y)}function W(y){return k(y)||y===null}function e(y,I){if(!y)throw new Error(I?`Unexpected type, expected '${I}'`:"Unexpected type")}function h(y){if(W(y))throw new Error("Assertion Failed: argument is undefined or null");return y}function m(y){return typeof y=="function"}function n(y,I){const S=Math.min(y.length,I.length);for(let c=0;c<S;c++)r(y[c],I[c])}function r(y,I){if(v(I)){if(typeof y!==I)throw new Error(`argument does not match constraint: typeof ${I}`)}else if(m(I)){try{if(y instanceof I)return}catch(S){}if(!W(y)&&y.constructor===I||I.length===1&&I.call(void 0,y)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function a(y){let I=[],S=Object.getPrototypeOf(y);for(;Object.prototype!==S;)I=I.concat(Object.getOwnPropertyNames(S)),S=Object.getPrototypeOf(S);return I}function u(y){const I=[];for(const S of a(y))typeof y[S]=="function"&&I.push(S);return I}function b(y,I){const S=s=>function(){const w=Array.prototype.slice.call(arguments,0);return I(s,w)};let c={};for(const s of y)c[s]=S(s);return c}function z(y){return y===null?void 0:y}function E(y,I="Unreachable"){throw new Error(I)}},13268:function(qe,ve,t){"use strict";t.d(ve,{N:function(){return v}});function _(N,V){let C;return V.length===0?C=N:C=N.replace(/\{(\d+)\}/g,function(k,l){const W=l[0];return typeof V[W]!="undefined"?V[W]:k}),C}function v(N,V,...C){return _(V,C)}},96236:function(qe,ve,t){"use strict";t.d(ve,{BH:function(){return b},NZ:function(){return z},U8:function(){return E},co:function(){return u},eH:function(){return a},vr:function(){return r}});var _=t(75918),v=t(52615),N=t(4348),V=t(88226),C=t(69323),k=t(34502),l=t(35884),W=t(90689),e=t(16925),h=t(49055),m=function(y,I,S,c){var s=arguments.length,w=s<3?I:c===null?c=Object.getOwnPropertyDescriptor(I,S):c,D;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")w=Reflect.decorate(y,I,S,c);else for(var Y=y.length-1;Y>=0;Y--)(D=y[Y])&&(w=(s<3?D(w):s>3?D(I,S,w):D(I,S))||w);return s>3&&w&&Object.defineProperty(I,S,w),w},n=function(y,I){return function(S,c){I(S,c,y)}};function r(y){return y.command!==void 0}class a{constructor(I){this.id=a._idPool++,this._debugName=I}}a._idPool=0,a.CommandPalette=new a("CommandPalette"),a.EditorContext=new a("EditorContext"),a.SimpleEditorContext=new a("SimpleEditorContext"),a.EditorContextCopy=new a("EditorContextCopy"),a.EditorContextPeek=new a("EditorContextPeek"),a.MenubarEditMenu=new a("MenubarEditMenu"),a.MenubarCopy=new a("MenubarCopy"),a.MenubarGoMenu=new a("MenubarGoMenu"),a.MenubarSelectionMenu=new a("MenubarSelectionMenu"),a.InlineCompletionsActions=new a("InlineCompletionsActions");const u=(0,e.yh)("menuService"),b=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new N.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:y=>y===a.CommandPalette}}addCommand(y){return this.addCommands(V.$.single(y))}addCommands(y){for(const I of y)this._commands.set(I.id,I);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,C.OF)(()=>{let I=!1;for(const S of y)I=this._commands.delete(S.id)||I;I&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(y){return this._commands.get(y)}getCommands(){const y=new Map;return this._commands.forEach((I,S)=>y.set(S,I)),y}appendMenuItem(y,I){return this.appendMenuItems(V.$.single({id:y,item:I}))}appendMenuItems(y){const I=new Set,S=new k.S;for(const{id:c,item:s}of y){let w=this._menuItems.get(c);w||(w=new k.S,this._menuItems.set(c,w)),S.push(w.push(s)),I.add(c)}return this._onDidChangeMenu.fire(I),(0,C.OF)(()=>{if(S.size>0){for(let c of S)c();this._onDidChangeMenu.fire(I),S.clear()}})}getMenuItems(y){let I;return this._menuItems.has(y)?I=[...this._menuItems.get(y)]:I=[],y===a.CommandPalette&&this._appendImplicitItems(I),I}_appendImplicitItems(y){const I=new Set;for(const S of y)r(S)&&(I.add(S.command.id),S.alt&&I.add(S.alt.id));this._commands.forEach((S,c)=>{I.has(c)||y.push({command:S})})}};class z extends _.wY{constructor(I,S,c,s){super(`submenuitem.${I.submenu.id}`,typeof I.title=="string"?I.title:I.title.value,[],"submenu"),this.item=I,this._menuService=S,this._contextKeyService=c,this._options=s}get actions(){const I=[],S=this._menuService.createMenu(this.item.submenu,this._contextKeyService),c=S.getActions(this._options);S.dispose();for(const[,s]of c)s.length>0&&(I.push(...s),I.push(new _.Z0));return I.length&&I.pop(),I}}let E=class mo{constructor(I,S,c,s,w){var D,Y;if(this._commandService=w,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=(Y=typeof I.tooltip=="string"?I.tooltip:(D=I.tooltip)===null||D===void 0?void 0:D.value)!==null&&Y!==void 0?Y:"",this.enabled=!I.precondition||s.contextMatchesRules(I.precondition),this.checked=void 0,I.toggled){const J=I.toggled.condition?I.toggled:{condition:I.toggled};this.checked=s.contextMatchesRules(J.condition),this.checked&&J.tooltip&&(this.tooltip=typeof J.tooltip=="string"?J.tooltip:J.tooltip.value),J.title&&(this.label=typeof J.title=="string"?J.title:J.title.value)}this.item=I,this.alt=S?new mo(S,void 0,c,s,w):void 0,this._options=c,h.kS.isThemeIcon(I.icon)&&(this.class=v.dT.asClassName(I.icon))}dispose(){}run(...I){var S,c;let s=[];return!((S=this._options)===null||S===void 0)&&S.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=m([n(3,W.i6),n(4,l.H)],E)},35884:function(qe,ve,t){"use strict";t.d(ve,{H:function(){return l},P:function(){return W}});var _=t(4348),v=t(88226),N=t(69323),V=t(34502),C=t(72999),k=t(16925);const l=(0,k.yh)("commandService"),W=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new _.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 u=[];for(let z of e.description.args)u.push(z.constraint);const b=e.handler;e.handler=function(z,...E){return(0,C.D8)(E,u),b(z,...E)}}const{id:m}=e;let n=this._commands.get(m);n||(n=new V.S,this._commands.set(m,n));let r=n.unshift(e),a=(0,N.OF)(()=>{r();const u=this._commands.get(m);u!=null&&u.isEmpty()&&this._commands.delete(m)});return this._onDidRegisterCommand.fire(m),a}registerCommandAlias(e,h){return W.registerCommand(e,(m,...n)=>m.get(l).executeCommand(h,...n))}getCommand(e){const h=this._commands.get(e);if(!(!h||h.isEmpty()))return v.$.first(h)}getCommands(){const e=new Map;for(const h of this._commands.keys()){const m=this.getCommand(h);m&&e.set(h,m)}return e}};W.registerCommand("noop",()=>{})},90689:function(qe,ve,t){"use strict";t.d(ve,{Ao:function(){return l},Eq:function(){return M},Fb:function(){return W},K8:function(){return O},i6:function(){return U},uy:function(){return X}});var _=t(23345),v=t(82983),N=t(16925);let V=_.WE||"";const C=new Map;C.set("false",!1),C.set("true",!0),C.set("isMac",_.dz),C.set("isLinux",_.IJ),C.set("isWindows",_.ED),C.set("isWeb",_.$L),C.set("isMacNative",_.dz&&!_.$L),C.set("isEdge",V.indexOf("Edg/")>=0),C.set("isFirefox",V.indexOf("Firefox")>=0),C.set("isChrome",V.indexOf("Chrome")>=0),C.set("isSafari",V.indexOf("Safari")>=0);const k=Object.prototype.hasOwnProperty;class l{static has(i){return n.create(i)}static equals(i,o){return r.create(i,o)}static regex(i,o){return s.create(i,o)}static not(i){return z.create(i)}static and(...i){return Y.create(i,null)}static or(...i){return J.create(i,null,!0)}static deserialize(i,o=!1){if(i)return this._deserializeOrExpression(i,o)}static _deserializeOrExpression(i,o){let p=i.split("||");return J.create(p.map(F=>this._deserializeAndExpression(F,o)),null,!0)}static _deserializeAndExpression(i,o){let p=i.split("&&");return Y.create(p.map(F=>this._deserializeOne(F,o)),null)}static _deserializeOne(i,o){if(i=i.trim(),i.indexOf("!=")>=0){let p=i.split("!=");return b.create(p[0].trim(),this._deserializeValue(p[1],o))}if(i.indexOf("==")>=0){let p=i.split("==");return r.create(p[0].trim(),this._deserializeValue(p[1],o))}if(i.indexOf("=~")>=0){let p=i.split("=~");return s.create(p[0].trim(),this._deserializeRegexValue(p[1],o))}if(i.indexOf(" in ")>=0){let p=i.split(" in ");return a.create(p[0].trim(),p[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(i)){const p=i.split(">=");return I.create(p[0].trim(),p[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(i)){const p=i.split(">");return y.create(p[0].trim(),p[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(i)){const p=i.split("<=");return c.create(p[0].trim(),p[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(i)){const p=i.split("<");return S.create(p[0].trim(),p[1].trim())}return/^\!\s*/.test(i)?z.create(i.substr(1).trim()):n.create(i)}static _deserializeValue(i,o){if(i=i.trim(),i==="true")return!0;if(i==="false")return!1;let p=/^'([^']*)'$/.exec(i);return p?p[1].trim():i}static _deserializeRegexValue(i,o){if((0,v.m5)(i)){if(o)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let p=i.indexOf("/"),F=i.lastIndexOf("/");if(p===F||p<0){if(o)throw new Error(`bad regexp-value '${i}', missing /-enclosure`);return console.warn(`bad regexp-value '${i}', missing /-enclosure`),null}let re=i.slice(p+1,F),ie=i[F+1]==="i"?"i":"";try{return new RegExp(re,ie)}catch(ne){if(o)throw new Error(`bad regexp-value '${i}', parse error: ${ne}`);return console.warn(`bad regexp-value '${i}', parse error: ${ne}`),null}}}function W($,i){const o=$?$.substituteConstants():void 0,p=i?i.substituteConstants():void 0;return!o&&!p?!0:!o||!p?!1:o.equals(p)}function e($,i){return $.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 m.INSTANCE}}h.INSTANCE=new h;class m{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}}m.INSTANCE=new m;class n{constructor(i,o){this.key=i,this.negated=o,this.type=2}static create(i,o=null){const p=C.get(i);return typeof p=="boolean"?p?m.INSTANCE:h.INSTANCE:new n(i,o)}cmp(i){return i.type!==this.type?this.type-i.type:g(this.key,i.key)}equals(i){return i.type===this.type?this.key===i.key:!1}substituteConstants(){const i=C.get(this.key);return typeof i=="boolean"?i?m.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=z.create(this.key,this)),this.negated}}class r{constructor(i,o,p){this.key=i,this.value=o,this.negated=p,this.type=4}static create(i,o,p=null){if(typeof o=="boolean")return o?n.create(i,p):z.create(i,p);const F=C.get(i);return typeof F=="boolean"?o===(F?"true":"false")?m.INSTANCE:h.INSTANCE:new r(i,o,p)}cmp(i){return i.type!==this.type?this.type-i.type:K(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=C.get(this.key);if(typeof i=="boolean"){const o=i?"true":"false";return this.value===o?m.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=b.create(this.key,this.value,this)),this.negated}}class a{constructor(i,o){this.key=i,this.valueKey=o,this.type=10,this.negated=null}static create(i,o){return new a(i,o)}cmp(i){return i.type!==this.type?this.type-i.type:K(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 o=i.getValue(this.valueKey),p=i.getValue(this.key);return Array.isArray(o)?o.indexOf(p)>=0:typeof p=="string"&&typeof o=="object"&&o!==null?k.call(o,p):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=u.create(this)),this.negated}}class u{constructor(i){this._actual=i,this.type=11}static create(i){return new u(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 b{constructor(i,o,p){this.key=i,this.value=o,this.negated=p,this.type=5}static create(i,o,p=null){if(typeof o=="boolean")return o?z.create(i,p):n.create(i,p);const F=C.get(i);return typeof F=="boolean"?o===(F?"true":"false")?h.INSTANCE:m.INSTANCE:new b(i,o,p)}cmp(i){return i.type!==this.type?this.type-i.type:K(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=C.get(this.key);if(typeof i=="boolean"){const o=i?"true":"false";return this.value===o?h.INSTANCE:m.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 z{constructor(i,o){this.key=i,this.negated=o,this.type=3}static create(i,o=null){const p=C.get(i);return typeof p=="boolean"?p?h.INSTANCE:m.INSTANCE:new z(i,o)}cmp(i){return i.type!==this.type?this.type-i.type:g(this.key,i.key)}equals(i){return i.type===this.type?this.key===i.key:!1}substituteConstants(){const i=C.get(this.key);return typeof i=="boolean"?i?h.INSTANCE:m.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($,i){if(typeof $=="string"){const o=parseFloat($);isNaN(o)||($=o)}return typeof $=="string"||typeof $=="number"?i($):h.INSTANCE}class y{constructor(i,o,p){this.key=i,this.value=o,this.negated=p,this.type=12}static create(i,o,p=null){return E(o,F=>new y(i,F,p))}cmp(i){return i.type!==this.type?this.type-i.type:K(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,o,p){this.key=i,this.value=o,this.negated=p,this.type=13}static create(i,o,p=null){return E(o,F=>new I(i,F,p))}cmp(i){return i.type!==this.type?this.type-i.type:K(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=S.create(this.key,this.value,this)),this.negated}}class S{constructor(i,o,p){this.key=i,this.value=o,this.negated=p,this.type=14}static create(i,o,p=null){return E(o,F=>new S(i,F,p))}cmp(i){return i.type!==this.type?this.type-i.type:K(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,o,p){this.key=i,this.value=o,this.negated=p,this.type=15}static create(i,o,p=null){return E(o,F=>new c(i,F,p))}cmp(i){return i.type!==this.type?this.type-i.type:K(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=y.create(this.key,this.value,this)),this.negated}}class s{constructor(i,o){this.key=i,this.regexp=o,this.type=7,this.negated=null}static create(i,o){return new s(i,o)}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 o=this.regexp?this.regexp.source:"",p=i.regexp?i.regexp.source:"";return o<p?-1:o>p?1:0}equals(i){if(i.type===this.type){const o=this.regexp?this.regexp.source:"",p=i.regexp?i.regexp.source:"";return this.key===i.key&&o===p}return!1}substituteConstants(){return this}evaluate(i){let o=i.getValue(this.key);return this.regexp?this.regexp.test(o):!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=w.create(this)),this.negated}}class w{constructor(i){this._actual=i,this.type=8}static create(i){return new w(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 D($){let i=null;for(let o=0,p=$.length;o<p;o++){const F=$[o].substituteConstants();if($[o]!==F&&i===null){i=[];for(let re=0;re<o;re++)i[re]=$[re]}i!==null&&(i[o]=F)}return i===null?$:i}class Y{constructor(i,o){this.expr=i,this.negated=o,this.type=6}static create(i,o){return Y._normalizeArr(i,o)}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 o=0,p=this.expr.length;o<p;o++){const F=e(this.expr[o],i.expr[o]);if(F!==0)return F}return 0}equals(i){if(i.type===this.type){if(this.expr.length!==i.expr.length)return!1;for(let o=0,p=this.expr.length;o<p;o++)if(!this.expr[o].equals(i.expr[o]))return!1;return!0}return!1}substituteConstants(){const i=D(this.expr);return i===this.expr?this:Y.create(i,this.negated)}evaluate(i){for(let o=0,p=this.expr.length;o<p;o++)if(!this.expr[o].evaluate(i))return!1;return!0}static _normalizeArr(i,o){const p=[];let F=!1;for(const re of i)if(re){if(re.type===1){F=!0;continue}if(re.type===0)return h.INSTANCE;if(re.type===6){p.push(...re.expr);continue}p.push(re)}if(p.length===0&&F)return m.INSTANCE;if(p.length!==0){if(p.length===1)return p[0];p.sort(e);for(let re=1;re<p.length;re++)p[re-1].equals(p[re])&&(p.splice(re,1),re--);if(p.length===1)return p[0];for(;p.length>1;){const re=p[p.length-1];if(re.type!==9)break;p.pop();const ie=p.pop(),ne=p.length===0,me=J.create(re.expr.map(xe=>Y.create([xe,ie],null)),null,ne);me&&(p.push(me),p.sort(e))}return p.length===1?p[0]:new Y(p,o)}}serialize(){return this.expr.map(i=>i.serialize()).join(" && ")}keys(){const i=[];for(let o of this.expr)i.push(...o.keys());return i}negate(){if(!this.negated){const i=[];for(let o of this.expr)i.push(o.negate());this.negated=J.create(i,this,!0)}return this.negated}}class J{constructor(i,o){this.expr=i,this.negated=o,this.type=9}static create(i,o,p){return J._normalizeArr(i,o,p)}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 o=0,p=this.expr.length;o<p;o++){const F=e(this.expr[o],i.expr[o]);if(F!==0)return F}return 0}equals(i){if(i.type===this.type){if(this.expr.length!==i.expr.length)return!1;for(let o=0,p=this.expr.length;o<p;o++)if(!this.expr[o].equals(i.expr[o]))return!1;return!0}return!1}substituteConstants(){const i=D(this.expr);return i===this.expr?this:J.create(i,this.negated,!1)}evaluate(i){for(let o=0,p=this.expr.length;o<p;o++)if(this.expr[o].evaluate(i))return!0;return!1}static _normalizeArr(i,o,p){let F=[],re=!1;if(i){for(let ie=0,ne=i.length;ie<ne;ie++){const me=i[ie];if(me){if(me.type===0){re=!0;continue}if(me.type===1)return m.INSTANCE;if(me.type===9){F=F.concat(me.expr);continue}F.push(me)}}if(F.length===0&&re)return h.INSTANCE;F.sort(e)}if(F.length!==0){if(F.length===1)return F[0];for(let ie=1;ie<F.length;ie++)F[ie-1].equals(F[ie])&&(F.splice(ie,1),ie--);if(F.length===1)return F[0];if(p){for(let ie=0;ie<F.length;ie++)for(let ne=ie+1;ne<F.length;ne++)O(F[ie],F[ne])&&(F.splice(ne,1),ne--);if(F.length===1)return F[0]}return new J(F,o)}}serialize(){return this.expr.map(i=>i.serialize()).join(" || ")}keys(){const i=[];for(let o of this.expr)i.push(...o.keys());return i}negate(){if(!this.negated){let i=[];for(let o of this.expr)i.push(o.negate());for(;i.length>1;){const o=i.shift(),p=i.shift(),F=[];for(const ie of A(o))for(const ne of A(p))F.push(Y.create([ie,ne],null));const re=i.length===0;i.unshift(J.create(F,null,re))}this.negated=i[0]}return this.negated}}class X extends n{constructor(i,o,p){super(i,null),this._defaultValue=o,typeof p=="object"?X._info.push(Object.assign(Object.assign({},p),{key:i})):p!==!0&&X._info.push({key:i,description:p,type:o!=null?typeof o:void 0})}static all(){return X._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)}}X._info=[];const U=(0,N.yh)("contextKeyService"),M="setContext";function g($,i){return $<i?-1:$>i?1:0}function K($,i,o,p){return $<o?-1:$>o?1:i<p?-1:i>p?1:0}function O($,i){if(i.type===6&&$.type!==9&&$.type!==6){for(const F of i.expr)if($.equals(F))return!0}const o=$.negate(),p=A(o).concat(A(i));p.sort(e);for(let F=0;F<p.length;F++){const ie=p[F].negate();for(let ne=F+1;ne<p.length;ne++){const me=p[ne];if(ie.equals(me))return!0}}return!1}function A($){return $.type===9?$.expr:[$]}},16925:function(qe,ve,t){"use strict";t.d(ve,{I8:function(){return _},TG:function(){return v},jt:function(){return C},yh:function(){return V}});var _;(function(k){k.serviceIds=new Map,k.DI_TARGET="$di$target",k.DI_DEPENDENCIES="$di$dependencies";function l(W){return W[k.DI_DEPENDENCIES]||[]}k.getServiceDependencies=l})(_||(_={}));const v=V("instantiationService");function N(k,l,W,e){l[_.DI_TARGET]===l?l[_.DI_DEPENDENCIES].push({id:k,index:W,optional:e}):(l[_.DI_DEPENDENCIES]=[{id:k,index:W,optional:e}],l[_.DI_TARGET]=l)}function V(k){if(_.serviceIds.has(k))return _.serviceIds.get(k);const l=function(W,e,h){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");N(l,W,h,!1)};return l.toString=()=>k,_.serviceIds.set(k,l),l}function C(k){return function(l,W,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");N(k,l,e,!0)}}},44650:function(qe,ve,t){"use strict";t.d(ve,{B:function(){return V}});var _=t(76068),v=t(72999);class N{constructor(){this.data=new Map}add(k,l){_.ok(v.HD(k)),_.ok(v.Kn(l)),_.ok(!this.data.has(k),"There is already an extension with this id"),this.data.set(k,l)}as(k){return this.data.get(k)||null}}const V=new N},66213:function(qe,ve,t){"use strict";t.d(ve,{e:function(){return _}});var _;(function(v){v.DARK="dark",v.LIGHT="light",v.HIGH_CONTRAST="hc"})(_||(_={}))},49055:function(qe,ve,t){"use strict";t.d(ve,{EN:function(){return e},IP:function(){return n},Ic:function(){return u},XE:function(){return l},bB:function(){return b},kS:function(){return h},m6:function(){return m}});var _=t(52615),v=t(4348),N=t(69323),V=t(16925),C=t(44650),k=t(66213);const l=(0,V.yh)("themeService");var W;(function(z){function E(y){return y&&typeof y=="object"&&typeof y.id=="string"}z.isThemeColor=E})(W||(W={}));function e(z){return{id:z}}var h;(function(z){function E(w){return w&&typeof w=="object"&&typeof w.id=="string"&&(typeof w.color=="undefined"||W.isThemeColor(w.color))}z.isThemeIcon=E;const y=new RegExp(`^\\$\\((${_.dT.iconNameExpression}(?:${_.dT.iconModifierExpression})?)\\)$`);function I(w){const D=y.exec(w);if(!D)return;let[,Y]=D;return{id:Y}}z.fromString=I;function S(w,D){let Y=w.id;const J=Y.lastIndexOf("~");return J!==-1&&(Y=Y.substring(0,J)),D&&(Y=`${Y}~${D}`),{id:Y}}z.modify=S;function c(w,D){var Y,J;return w.id===D.id&&((Y=w.color)===null||Y===void 0?void 0:Y.id)===((J=D.color)===null||J===void 0?void 0:J.id)}z.isEqual=c;function s(w,D){return{id:w.id,color:D?e(D):void 0}}z.asThemeIcon=s,z.asClassNameArray=_.dT.asClassNameArray,z.asClassName=_.dT.asClassName,z.asCSSSelector=_.dT.asCSSSelector})(h||(h={}));function m(z){switch(z){case k.e.DARK:return"vs-dark";case k.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 v.Q5}onColorThemeChange(E){return this.themingParticipants.push(E),this.onThemingParticipantAddedEmitter.fire(E),(0,N.OF)(()=>{const y=this.themingParticipants.indexOf(E);this.themingParticipants.splice(y,1)})}getThemingParticipants(){return this.themingParticipants}}let a=new r;C.B.add(n.ThemingContribution,a);function u(z){return a.onColorThemeChange(z)}class b extends N.JT{constructor(E){super(),this.themeService=E,this.theme=E.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(y=>this.onThemeChange(y)))}onThemeChange(E){this.theme=E,this.updateStyles()}updateStyles(){}}},5630:function(qe,ve,t){"use strict";var _=t(92413),v=t(33708),N=t(400),V=t(33606),C=t(37061),k=t(92310),l=t.n(k),W=t(18929),e=t(59301),h=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],m=(0,e.forwardRef)(function(n,r){var a,u=n.prefixCls,b=u===void 0?"rc-checkbox":u,z=n.className,E=n.style,y=n.checked,I=n.disabled,S=n.defaultChecked,c=S===void 0?!1:S,s=n.type,w=s===void 0?"checkbox":s,D=n.title,Y=n.onChange,J=(0,C.Z)(n,h),X=(0,e.useRef)(null),U=(0,W.Z)(c,{value:y}),M=(0,V.Z)(U,2),g=M[0],K=M[1];(0,e.useImperativeHandle)(r,function(){return{focus:function(){var i;(i=X.current)===null||i===void 0||i.focus()},blur:function(){var i;(i=X.current)===null||i===void 0||i.blur()},input:X.current}});var O=l()(b,z,(a={},(0,N.Z)(a,"".concat(b,"-checked"),g),(0,N.Z)(a,"".concat(b,"-disabled"),I),a)),A=function(i){I||("checked"in n||K(i.target.checked),Y==null||Y({target:(0,v.Z)((0,v.Z)({},n),{},{type:w,checked:i.target.checked}),stopPropagation:function(){i.stopPropagation()},preventDefault:function(){i.preventDefault()},nativeEvent:i.nativeEvent}))};return e.createElement("span",{className:O,title:D,style:E},e.createElement("input",(0,_.Z)({},J,{className:"".concat(b,"-input"),ref:X,onChange:A,disabled:I,checked:!!g,type:w})),e.createElement("span",{className:"".concat(b,"-inner")}))});ve.Z=m},31561:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return w}});var _=t(92413),v=t(400),N=t(33606),V=t(37061),C=t(35593),k=t(92310),l=t.n(k),W=t(8654),e=t(59301),h=t(10228),m=t(16089),n=h.Z.ESC,r=h.Z.TAB;function a(D){var Y=D.visible,J=D.triggerRef,X=D.onVisibleChange,U=D.autoFocus,M=D.overlayRef,g=e.useRef(!1),K=function(){if(Y){var i,o;(i=J.current)===null||i===void 0||(o=i.focus)===null||o===void 0||o.call(i),X==null||X(!1)}},O=function(){var i;return(i=M.current)!==null&&i!==void 0&&i.focus?(M.current.focus(),g.current=!0,!0):!1},A=function(i){switch(i.keyCode){case n:K();break;case r:{var o=!1;g.current||(o=O()),o?i.preventDefault():K();break}}};e.useEffect(function(){return Y?(window.addEventListener("keydown",A),U&&(0,m.Z)(O,3),function(){window.removeEventListener("keydown",A),g.current=!1}):function(){g.current=!1}},[Y])}var u=(0,e.forwardRef)(function(D,Y){var J=D.overlay,X=D.arrow,U=D.prefixCls,M=(0,e.useMemo)(function(){var K;return typeof J=="function"?K=J():K=J,K},[J]),g=(0,W.sQ)(Y,M==null?void 0:M.ref);return e.createElement(e.Fragment,null,X&&e.createElement("div",{className:"".concat(U,"-arrow")}),e.cloneElement(M,{ref:(0,W.Yr)(M)?g:void 0}))}),b=u,z={adjustX:1,adjustY:1},E=[0,0],y={topLeft:{points:["bl","tl"],overflow:z,offset:[0,-4],targetOffset:E},top:{points:["bc","tc"],overflow:z,offset:[0,-4],targetOffset:E},topRight:{points:["br","tr"],overflow:z,offset:[0,-4],targetOffset:E},bottomLeft:{points:["tl","bl"],overflow:z,offset:[0,4],targetOffset:E},bottom:{points:["tc","bc"],overflow:z,offset:[0,4],targetOffset:E},bottomRight:{points:["tr","br"],overflow:z,offset:[0,4],targetOffset:E}},I=y,S=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function c(D,Y){var J,X=D.arrow,U=X===void 0?!1:X,M=D.prefixCls,g=M===void 0?"rc-dropdown":M,K=D.transitionName,O=D.animation,A=D.align,$=D.placement,i=$===void 0?"bottomLeft":$,o=D.placements,p=o===void 0?I:o,F=D.getPopupContainer,re=D.showAction,ie=D.hideAction,ne=D.overlayClassName,me=D.overlayStyle,xe=D.visible,He=D.trigger,Pe=He===void 0?["hover"]:He,Ue=D.autoFocus,et=D.overlay,lt=D.children,je=D.onVisibleChange,pe=(0,V.Z)(D,S),ue=e.useState(),Z=(0,N.Z)(ue,2),H=Z[0],L=Z[1],R="visible"in D?xe:H,ee=e.useRef(null),x=e.useRef(null),d=e.useRef(null);e.useImperativeHandle(Y,function(){return ee.current});var f=function(Ee){L(Ee),je==null||je(Ee)};a({visible:R,triggerRef:d,onVisibleChange:f,autoFocus:Ue,overlayRef:x});var G=function(Ee){var ge=D.onOverlayClick;L(!1),ge&&ge(Ee)},j=function(){return e.createElement(b,{ref:x,overlay:et,prefixCls:g,arrow:U})},B=function(){return typeof et=="function"?j:j()},q=function(){var Ee=D.minOverlayWidthMatchTrigger,ge=D.alignPoint;return"minOverlayWidthMatchTrigger"in D?Ee:!ge},de=function(){var Ee=D.openClassName;return Ee!==void 0?Ee:"".concat(g,"-open")},oe=e.cloneElement(lt,{className:l()((J=lt.props)===null||J===void 0?void 0:J.className,R&&de()),ref:(0,W.Yr)(lt)?(0,W.sQ)(d,lt.ref):void 0}),le=ie;return!le&&Pe.indexOf("contextMenu")!==-1&&(le=["click"]),e.createElement(C.Z,(0,_.Z)({builtinPlacements:p},pe,{prefixCls:g,ref:ee,popupClassName:l()(ne,(0,v.Z)({},"".concat(g,"-show-arrow"),U)),popupStyle:me,action:Pe,showAction:re,hideAction:le,popupPlacement:i,popupAlign:A,popupTransitionName:K,popupAnimation:O,popupVisible:R,stretch:q()?"minWidth":"",popup:B(),onPopupVisibleChange:f,onPopupClick:G,getPopupContainer:F}),oe)}var s=e.forwardRef(c),w=s},93681:function(qe,ve,t){"use strict";t.r(ve),t.d(ve,{BaseInput:function(){return h},default:function(){return y}});var _=t(92413),v=t(33708),N=t(400),V=t(39559),C=t(92310),k=t.n(C),l=t(59301),W=t(5643),e=function(S){var c,s,w=S.inputElement,D=S.prefixCls,Y=S.prefix,J=S.suffix,X=S.addonBefore,U=S.addonAfter,M=S.className,g=S.style,K=S.disabled,O=S.readOnly,A=S.focused,$=S.triggerFocus,i=S.allowClear,o=S.value,p=S.handleReset,F=S.hidden,re=S.classes,ie=S.classNames,ne=S.dataAttrs,me=S.styles,xe=S.components,He=(xe==null?void 0:xe.affixWrapper)||"span",Pe=(xe==null?void 0:xe.groupWrapper)||"span",Ue=(xe==null?void 0:xe.wrapper)||"span",et=(xe==null?void 0:xe.groupAddon)||"span",lt=(0,l.useRef)(null),je=function(j){var B;(B=lt.current)!==null&&B!==void 0&&B.contains(j.target)&&($==null||$())},pe=function(){var j;if(!i)return null;var B=!K&&!O&&o,q="".concat(D,"-clear-icon"),de=(0,V.Z)(i)==="object"&&i!==null&&i!==void 0&&i.clearIcon?i.clearIcon:"\u2716";return l.createElement("span",{onClick:p,onMouseDown:function(le){return le.preventDefault()},className:k()(q,(j={},(0,N.Z)(j,"".concat(q,"-hidden"),!B),(0,N.Z)(j,"".concat(q,"-has-suffix"),!!J),j)),role:"button",tabIndex:-1},de)},ue=(0,l.cloneElement)(w,{value:o,hidden:F,className:k()((c=w.props)===null||c===void 0?void 0:c.className,!(0,W.X3)(S)&&!(0,W.He)(S)&&M)||null,style:(0,v.Z)((0,v.Z)({},(s=w.props)===null||s===void 0?void 0:s.style),!(0,W.X3)(S)&&!(0,W.He)(S)?g:{})});if((0,W.X3)(S)){var Z,H="".concat(D,"-affix-wrapper"),L=k()(H,(Z={},(0,N.Z)(Z,"".concat(H,"-disabled"),K),(0,N.Z)(Z,"".concat(H,"-focused"),A),(0,N.Z)(Z,"".concat(H,"-readonly"),O),(0,N.Z)(Z,"".concat(H,"-input-with-clear-btn"),J&&i&&o),Z),!(0,W.He)(S)&&M,re==null?void 0:re.affixWrapper,ie==null?void 0:ie.affixWrapper),R=(J||i)&&l.createElement("span",{className:k()("".concat(D,"-suffix"),ie==null?void 0:ie.suffix),style:me==null?void 0:me.suffix},pe(),J);ue=l.createElement(He,(0,_.Z)({className:L,style:(0,v.Z)((0,v.Z)({},(0,W.He)(S)?void 0:g),me==null?void 0:me.affixWrapper),hidden:!(0,W.He)(S)&&F,onClick:je},ne==null?void 0:ne.affixWrapper,{ref:lt}),Y&&l.createElement("span",{className:k()("".concat(D,"-prefix"),ie==null?void 0:ie.prefix),style:me==null?void 0:me.prefix},Y),(0,l.cloneElement)(w,{value:o,hidden:null}),R)}if((0,W.He)(S)){var ee="".concat(D,"-group"),x="".concat(ee,"-addon"),d=k()("".concat(D,"-wrapper"),ee,re==null?void 0:re.wrapper),f=k()("".concat(D,"-group-wrapper"),M,re==null?void 0:re.group);return l.createElement(Pe,{className:f,style:g,hidden:F},l.createElement(Ue,{className:d},X&&l.createElement(et,{className:x},X),(0,l.cloneElement)(ue,{hidden:null}),U&&l.createElement(et,{className:x},U)))}return ue},h=e,m=t(26407),n=t(33606),r=t(37061),a=t(18929),u=t(2738),b=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],z=(0,l.forwardRef)(function(I,S){var c=I.autoComplete,s=I.onChange,w=I.onFocus,D=I.onBlur,Y=I.onPressEnter,J=I.onKeyDown,X=I.prefixCls,U=X===void 0?"rc-input":X,M=I.disabled,g=I.htmlSize,K=I.className,O=I.maxLength,A=I.suffix,$=I.showCount,i=I.type,o=i===void 0?"text":i,p=I.classes,F=I.classNames,re=I.styles,ie=(0,r.Z)(I,b),ne=(0,a.Z)(I.defaultValue,{value:I.value}),me=(0,n.Z)(ne,2),xe=me[0],He=me[1],Pe=(0,l.useState)(!1),Ue=(0,n.Z)(Pe,2),et=Ue[0],lt=Ue[1],je=(0,l.useRef)(null),pe=function(f){je.current&&(0,W.nH)(je.current,f)};(0,l.useImperativeHandle)(S,function(){return{focus:pe,blur:function(){var f;(f=je.current)===null||f===void 0||f.blur()},setSelectionRange:function(f,G,j){var B;(B=je.current)===null||B===void 0||B.setSelectionRange(f,G,j)},select:function(){var f;(f=je.current)===null||f===void 0||f.select()},input:je.current}}),(0,l.useEffect)(function(){lt(function(d){return d&&M?!1:d})},[M]);var ue=function(f){I.value===void 0&&He(f.target.value),je.current&&(0,W.rJ)(je.current,f,s)},Z=function(f){Y&&f.key==="Enter"&&Y(f),J==null||J(f)},H=function(f){lt(!0),w==null||w(f)},L=function(f){lt(!1),D==null||D(f)},R=function(f){He(""),pe(),je.current&&(0,W.rJ)(je.current,f,s)},ee=function(){var f=(0,u.Z)(I,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return l.createElement("input",(0,_.Z)({autoComplete:c},f,{onChange:ue,onFocus:H,onBlur:L,onKeyDown:Z,className:k()(U,(0,N.Z)({},"".concat(U,"-disabled"),M),F==null?void 0:F.input),style:re==null?void 0:re.input,ref:je,size:g,type:o}))},x=function(){var f=Number(O)>0;if(A||$){var G=(0,W.D7)(xe),j=(0,m.Z)(G).length,B=(0,V.Z)($)==="object"?$.formatter({value:G,count:j,maxLength:O}):"".concat(j).concat(f?" / ".concat(O):"");return l.createElement(l.Fragment,null,!!$&&l.createElement("span",{className:k()("".concat(U,"-show-count-suffix"),(0,N.Z)({},"".concat(U,"-show-count-has-suffix"),!!A),F==null?void 0:F.count),style:(0,v.Z)({},re==null?void 0:re.count)},B),A)}return null};return l.createElement(h,(0,_.Z)({},ie,{prefixCls:U,className:K,inputElement:ee(),handleReset:R,value:(0,W.D7)(xe),focused:et,triggerFocus:pe,suffix:x(),disabled:M,classes:p,classNames:F,styles:re}))}),E=z,y=E},5643:function(qe,ve,t){"use strict";t.d(ve,{D7:function(){return C},He:function(){return _},X3:function(){return v},nH:function(){return V},rJ:function(){return N}});function _(k){return!!(k.addonBefore||k.addonAfter)}function v(k){return!!(k.prefix||k.suffix||k.allowClear)}function N(k,l,W,e){if(W){var h=l;if(l.type==="click"){var m=k.cloneNode(!0);h=Object.create(l,{target:{value:m},currentTarget:{value:m}}),m.value="",W(h);return}if(e!==void 0){h=Object.create(l,{target:{value:k},currentTarget:{value:k}}),k.value=e,W(h);return}W(h)}}function V(k,l){if(k){k.focus(l);var W=l||{},e=W.cursor;if(e){var h=k.value.length;switch(e){case"start":k.setSelectionRange(0,0);break;case"end":k.setSelectionRange(h,h);break;default:k.setSelectionRange(0,h)}}}}function C(k){return typeof k=="undefined"||k===null?"":String(k)}},15285:function(qe,ve,t){"use strict";t.d(ve,{iz:function(){return vt},ck:function(){return rt},BW:function(){return ft},sN:function(){return rt},Wd:function(){return $e},ZP:function(){return Ge},Xl:function(){return J}});var _=t(92413),v=t(400),N=t(33708),V=t(26407),C=t(33606),k=t(37061),l=t(92310),W=t.n(l),e=t(11780),h=t(18929),m=t(13697),n=t(48736),r=t(59301),a=t(4676),u=r.createContext(null);function b(ye,we){return ye===void 0?null:"".concat(ye,"-").concat(we)}function z(ye){var we=r.useContext(u);return b(we,ye)}var E=t(80547),y=["children","locked"],I=r.createContext(null);function S(ye,we){var Ne=(0,N.Z)({},ye);return Object.keys(we).forEach(function(Me){var Ae=we[Me];Ae!==void 0&&(Ne[Me]=Ae)}),Ne}function c(ye){var we=ye.children,Ne=ye.locked,Me=(0,k.Z)(ye,y),Ae=r.useContext(I),Ke=(0,E.Z)(function(){return S(Ae,Me)},[Ae,Me],function(Ze,ot){return!Ne&&(Ze[0]!==ot[0]||!(0,m.Z)(Ze[1],ot[1],!0))});return r.createElement(I.Provider,{value:Ke},we)}var s=[],w=r.createContext(null);function D(){return r.useContext(w)}var Y=r.createContext(s);function J(ye){var we=r.useContext(Y);return r.useMemo(function(){return ye!==void 0?[].concat((0,V.Z)(we),[ye]):we},[we,ye])}var X=r.createContext(null),U=r.createContext({}),M=U,g=t(29194);function K(ye){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,g.Z)(ye)){var Ne=ye.nodeName.toLowerCase(),Me=["input","select","textarea","button"].includes(Ne)||ye.isContentEditable||Ne==="a"&&!!ye.getAttribute("href"),Ae=ye.getAttribute("tabindex"),Ke=Number(Ae),Ze=null;return Ae&&!Number.isNaN(Ke)?Ze=Ke:Me&&Ze===null&&(Ze=0),Me&&ye.disabled&&(Ze=null),Ze!==null&&(Ze>=0||we&&Ze<0)}return!1}function O(ye){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ne=(0,V.Z)(ye.querySelectorAll("*")).filter(function(Me){return K(Me,we)});return K(ye,we)&&Ne.unshift(ye),Ne}var A=null;function $(){A=document.activeElement}function i(){A=null}function o(){if(A)try{A.focus()}catch(ye){}}function p(ye,we){if(we.keyCode===9){var Ne=O(ye),Me=Ne[we.shiftKey?0:Ne.length-1],Ae=Me===document.activeElement||ye===document.activeElement;if(Ae){var Ke=Ne[we.shiftKey?Ne.length-1:0];Ke.focus(),we.preventDefault()}}}var F=t(10228),re=t(16089),ie=F.Z.LEFT,ne=F.Z.RIGHT,me=F.Z.UP,xe=F.Z.DOWN,He=F.Z.ENTER,Pe=F.Z.ESC,Ue=F.Z.HOME,et=F.Z.END,lt=[me,xe,ie,ne];function je(ye,we,Ne,Me){var Ae,Ke,Ze,ot,mt="prev",gt="next",Bt="children",Wt="parent";if(ye==="inline"&&Me===He)return{inlineTrigger:!0};var an=(Ae={},(0,v.Z)(Ae,me,mt),(0,v.Z)(Ae,xe,gt),Ae),Ct=(Ke={},(0,v.Z)(Ke,ie,Ne?gt:mt),(0,v.Z)(Ke,ne,Ne?mt:gt),(0,v.Z)(Ke,xe,Bt),(0,v.Z)(Ke,He,Bt),Ke),ht=(Ze={},(0,v.Z)(Ze,me,mt),(0,v.Z)(Ze,xe,gt),(0,v.Z)(Ze,He,Bt),(0,v.Z)(Ze,Pe,Wt),(0,v.Z)(Ze,ie,Ne?Bt:Wt),(0,v.Z)(Ze,ne,Ne?Wt:Bt),Ze),qt={inline:an,horizontal:Ct,vertical:ht,inlineSub:an,horizontalSub:ht,verticalSub:ht},Xt=(ot=qt["".concat(ye).concat(we?"":"Sub")])===null||ot===void 0?void 0:ot[Me];switch(Xt){case mt:return{offset:-1,sibling:!0};case gt:return{offset:1,sibling:!0};case Wt:return{offset:-1,sibling:!1};case Bt:return{offset:1,sibling:!1};default:return null}}function pe(ye){for(var we=ye;we;){if(we.getAttribute("data-menu-list"))return we;we=we.parentElement}return null}function ue(ye,we){for(var Ne=ye||document.activeElement;Ne;){if(we.has(Ne))return Ne;Ne=Ne.parentElement}return null}function Z(ye,we){var Ne=O(ye,!0);return Ne.filter(function(Me){return we.has(Me)})}function H(ye,we,Ne){var Me=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!ye)return null;var Ae=Z(ye,we),Ke=Ae.length,Ze=Ae.findIndex(function(ot){return Ne===ot});return Me<0?Ze===-1?Ze=Ke-1:Ze-=1:Me>0&&(Ze+=1),Ze=(Ze+Ke)%Ke,Ae[Ze]}var L=function(we,Ne){var Me=new Set,Ae=new Map,Ke=new Map;return we.forEach(function(Ze){var ot=document.querySelector("[data-menu-id='".concat(b(Ne,Ze),"']"));ot&&(Me.add(ot),Ke.set(ot,Ze),Ae.set(Ze,ot))}),{elements:Me,key2element:Ae,element2key:Ke}};function R(ye,we,Ne,Me,Ae,Ke,Ze,ot,mt,gt){var Bt=r.useRef(),Wt=r.useRef();Wt.current=we;var an=function(){re.Z.cancel(Bt.current)};return r.useEffect(function(){return function(){an()}},[]),function(Ct){var ht=Ct.which;if([].concat(lt,[He,Pe,Ue,et]).includes(ht)){var qt=Ke(),Xt=L(qt,Me),En=Xt,Ht=En.elements,Jt=En.key2element,ln=En.element2key,Ut=Jt.get(we),Dn=ue(Ut,Ht),Gn=ln.get(Dn),zt=je(ye,Ze(Gn,!0).length===1,Ne,ht);if(!zt&&ht!==Ue&&ht!==et)return;(lt.includes(ht)||[Ue,et].includes(ht))&&Ct.preventDefault();var Gt=function(Vn){if(Vn){var Wn=Vn,or=Vn.querySelector("a");or!=null&&or.getAttribute("href")&&(Wn=or);var xt=ln.get(Vn);ot(xt),an(),Bt.current=(0,re.Z)(function(){Wt.current===xt&&Wn.focus()})}};if([Ue,et].includes(ht)||zt.sibling||!Dn){var Dt;!Dn||ye==="inline"?Dt=Ae.current:Dt=pe(Dn);var xn,wn=Z(Dt,Ht);ht===Ue?xn=wn[0]:ht===et?xn=wn[wn.length-1]:xn=H(Dt,Ht,Dn,zt.offset),Gt(xn)}else if(zt.inlineTrigger)mt(Gn);else if(zt.offset>0)mt(Gn,!0),an(),Bt.current=(0,re.Z)(function(){Xt=L(qt,Me);var tr=Dn.getAttribute("aria-controls"),Vn=document.getElementById(tr),Wn=H(Vn,Xt.elements);Gt(Wn)},5);else if(zt.offset<0){var gn=Ze(Gn,!0),_n=gn[gn.length-2],zn=Jt.get(_n);mt(_n,!1),Gt(zn)}}gt==null||gt(Ct)}}function ee(ye){Promise.resolve().then(ye)}var x="__RC_UTIL_PATH_SPLIT__",d=function(we){return we.join(x)},f=function(we){return we.split(x)},G="rc-menu-more";function j(){var ye=r.useState({}),we=(0,C.Z)(ye,2),Ne=we[1],Me=(0,r.useRef)(new Map),Ae=(0,r.useRef)(new Map),Ke=r.useState([]),Ze=(0,C.Z)(Ke,2),ot=Ze[0],mt=Ze[1],gt=(0,r.useRef)(0),Bt=(0,r.useRef)(!1),Wt=function(){Bt.current||Ne({})},an=(0,r.useCallback)(function(Jt,ln){var Ut=d(ln);Ae.current.set(Ut,Jt),Me.current.set(Jt,Ut),gt.current+=1;var Dn=gt.current;ee(function(){Dn===gt.current&&Wt()})},[]),Ct=(0,r.useCallback)(function(Jt,ln){var Ut=d(ln);Ae.current.delete(Ut),Me.current.delete(Jt)},[]),ht=(0,r.useCallback)(function(Jt){mt(Jt)},[]),qt=(0,r.useCallback)(function(Jt,ln){var Ut=Me.current.get(Jt)||"",Dn=f(Ut);return ln&&ot.includes(Dn[0])&&Dn.unshift(G),Dn},[ot]),Xt=(0,r.useCallback)(function(Jt,ln){return Jt.some(function(Ut){var Dn=qt(Ut,!0);return Dn.includes(ln)})},[qt]),En=function(){var ln=(0,V.Z)(Me.current.keys());return ot.length&&ln.push(G),ln},Ht=(0,r.useCallback)(function(Jt){var ln="".concat(Me.current.get(Jt)).concat(x),Ut=new Set;return(0,V.Z)(Ae.current.keys()).forEach(function(Dn){Dn.startsWith(ln)&&Ut.add(Ae.current.get(Dn))}),Ut},[]);return r.useEffect(function(){return function(){Bt.current=!0}},[]),{registerPath:an,unregisterPath:Ct,refreshOverflowKeys:ht,isSubPathKey:Xt,getKeyPath:qt,getKeys:En,getSubPathKeys:Ht}}function B(ye){var we=r.useRef(ye);we.current=ye;var Ne=r.useCallback(function(){for(var Me,Ae=arguments.length,Ke=new Array(Ae),Ze=0;Ze<Ae;Ze++)Ke[Ze]=arguments[Ze];return(Me=we.current)===null||Me===void 0?void 0:Me.call.apply(Me,[we].concat(Ke))},[]);return ye?Ne:void 0}var q=Math.random().toFixed(5).toString().slice(2),de=0;function oe(ye){var we=(0,h.Z)(ye,{value:ye}),Ne=(0,C.Z)(we,2),Me=Ne[0],Ae=Ne[1];return r.useEffect(function(){de+=1;var Ke="".concat(q,"-").concat(de);Ae("rc-menu-uuid-".concat(Ke))},[]),Me}var le=t(6909),_e=t(4771),Ee=t(9427),ge=t(25440),Ce=t(2738),Oe=t(8654);function Se(ye,we,Ne,Me){var Ae=r.useContext(I),Ke=Ae.activeKey,Ze=Ae.onActive,ot=Ae.onInactive,mt={active:Ke===ye};return we||(mt.onMouseEnter=function(gt){Ne==null||Ne({key:ye,domEvent:gt}),Ze(ye)},mt.onMouseLeave=function(gt){Me==null||Me({key:ye,domEvent:gt}),ot(ye)}),mt}function Xe(ye){var we=r.useContext(I),Ne=we.mode,Me=we.rtl,Ae=we.inlineIndent;if(Ne!=="inline")return null;var Ke=ye;return Me?{paddingRight:Ke*Ae}:{paddingLeft:Ke*Ae}}function Ye(ye){var we=ye.icon,Ne=ye.props,Me=ye.children,Ae;return we===null||we===!1?null:(typeof we=="function"?Ae=r.createElement(we,(0,N.Z)({},Ne)):typeof we!="boolean"&&(Ae=we),Ae||Me||null)}var pt=["item"];function dt(ye){var we=ye.item,Ne=(0,k.Z)(ye,pt);return Object.defineProperty(Ne,"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."),we}}),Ne}var At=["title","attribute","elementRef"],Rt=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Zt=["active"],Nt=function(ye){(0,Ee.Z)(Ne,ye);var we=(0,ge.Z)(Ne);function Ne(){return(0,le.Z)(this,Ne),we.apply(this,arguments)}return(0,_e.Z)(Ne,[{key:"render",value:function(){var Ae=this.props,Ke=Ae.title,Ze=Ae.attribute,ot=Ae.elementRef,mt=(0,k.Z)(Ae,At),gt=(0,Ce.Z)(mt,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,n.ZP)(!Ze,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r.createElement(e.Z.Item,(0,_.Z)({},Ze,{title:typeof Ke=="string"?Ke:void 0},gt,{ref:ot}))}}]),Ne}(r.Component),sn=r.forwardRef(function(ye,we){var Ne,Me=ye.style,Ae=ye.className,Ke=ye.eventKey,Ze=ye.warnKey,ot=ye.disabled,mt=ye.itemIcon,gt=ye.children,Bt=ye.role,Wt=ye.onMouseEnter,an=ye.onMouseLeave,Ct=ye.onClick,ht=ye.onKeyDown,qt=ye.onFocus,Xt=(0,k.Z)(ye,Rt),En=z(Ke),Ht=r.useContext(I),Jt=Ht.prefixCls,ln=Ht.onItemClick,Ut=Ht.disabled,Dn=Ht.overflowDisabled,Gn=Ht.itemIcon,zt=Ht.selectedKeys,Gt=Ht.onActive,Dt=r.useContext(M),xn=Dt._internalRenderMenuItem,wn="".concat(Jt,"-item"),gn=r.useRef(),_n=r.useRef(),zn=Ut||ot,tr=(0,Oe.x1)(we,_n),Vn=J(Ke),Wn=function(Qn){return{key:Ke,keyPath:(0,V.Z)(Vn).reverse(),item:gn.current,domEvent:Qn}},or=mt||Gn,xt=Se(Ke,zn,Wt,an),Pt=xt.active,on=(0,k.Z)(xt,Zt),kn=zt.includes(Ke),rr=Xe(Vn.length),gr=function(Qn){if(!zn){var br=Wn(Qn);Ct==null||Ct(dt(br)),ln(br)}},nr=function(Qn){if(ht==null||ht(Qn),Qn.which===F.Z.ENTER){var br=Wn(Qn);Ct==null||Ct(dt(br)),ln(br)}},mr=function(Qn){Gt(Ke),qt==null||qt(Qn)},_r={};ye.role==="option"&&(_r["aria-selected"]=kn);var Er=r.createElement(Nt,(0,_.Z)({ref:gn,elementRef:tr,role:Bt===null?"none":Bt||"menuitem",tabIndex:ot?null:-1,"data-menu-id":Dn&&En?null:En},Xt,on,_r,{component:"li","aria-disabled":ot,style:(0,N.Z)((0,N.Z)({},rr),Me),className:W()(wn,(Ne={},(0,v.Z)(Ne,"".concat(wn,"-active"),Pt),(0,v.Z)(Ne,"".concat(wn,"-selected"),kn),(0,v.Z)(Ne,"".concat(wn,"-disabled"),zn),Ne),Ae),onClick:gr,onKeyDown:nr,onFocus:mr}),gt,r.createElement(Ye,{props:(0,N.Z)((0,N.Z)({},ye),{},{isSelected:kn}),icon:or}));return xn&&(Er=xn(Er,ye,{selected:kn})),Er});function Lt(ye,we){var Ne=ye.eventKey,Me=D(),Ae=J(Ne);return r.useEffect(function(){if(Me)return Me.registerPath(Ne,Ae),function(){Me.unregisterPath(Ne,Ae)}},[Ae]),Me?null:r.createElement(sn,(0,_.Z)({},ye,{ref:we}))}var rt=r.forwardRef(Lt),Vt=["className","children"],_t=function(we,Ne){var Me=we.className,Ae=we.children,Ke=(0,k.Z)(we,Vt),Ze=r.useContext(I),ot=Ze.prefixCls,mt=Ze.mode,gt=Ze.rtl;return r.createElement("ul",(0,_.Z)({className:W()(ot,gt&&"".concat(ot,"-rtl"),"".concat(ot,"-sub"),"".concat(ot,"-").concat(mt==="inline"?"inline":"vertical"),Me),role:"menu"},Ke,{"data-menu-list":!0,ref:Ne}),Ae)},Et=r.forwardRef(_t);Et.displayName="SubMenuList";var rn=Et,hn=t(11592);function Pn(ye,we){return(0,hn.Z)(ye).map(function(Ne,Me){if(r.isValidElement(Ne)){var Ae,Ke,Ze=Ne.key,ot=(Ae=(Ke=Ne.props)===null||Ke===void 0?void 0:Ke.eventKey)!==null&&Ae!==void 0?Ae:Ze,mt=ot==null;mt&&(ot="tmp_key-".concat([].concat((0,V.Z)(we),[Me]).join("-")));var gt={key:ot,eventKey:ot};return r.cloneElement(Ne,gt)}return Ne})}var Sn=t(35593),$n={adjustX:1,adjustY:1},Kn={topLeft:{points:["bl","tl"],overflow:$n},topRight:{points:["br","tr"],overflow:$n},bottomLeft:{points:["tl","bl"],overflow:$n},bottomRight:{points:["tr","br"],overflow:$n},leftTop:{points:["tr","tl"],overflow:$n},leftBottom:{points:["br","bl"],overflow:$n},rightTop:{points:["tl","tr"],overflow:$n},rightBottom:{points:["bl","br"],overflow:$n}},Nn={topLeft:{points:["bl","tl"],overflow:$n},topRight:{points:["br","tr"],overflow:$n},bottomLeft:{points:["tl","bl"],overflow:$n},bottomRight:{points:["tr","br"],overflow:$n},rightTop:{points:["tr","tl"],overflow:$n},rightBottom:{points:["br","bl"],overflow:$n},leftTop:{points:["tl","tr"],overflow:$n},leftBottom:{points:["bl","br"],overflow:$n}},Zn=null;function Mt(ye,we,Ne){if(we)return we;if(Ne)return Ne[ye]||Ne.other}var Ft={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function ce(ye){var we=ye.prefixCls,Ne=ye.visible,Me=ye.children,Ae=ye.popup,Ke=ye.popupStyle,Ze=ye.popupClassName,ot=ye.popupOffset,mt=ye.disabled,gt=ye.mode,Bt=ye.onVisibleChange,Wt=r.useContext(I),an=Wt.getPopupContainer,Ct=Wt.rtl,ht=Wt.subMenuOpenDelay,qt=Wt.subMenuCloseDelay,Xt=Wt.builtinPlacements,En=Wt.triggerSubMenuAction,Ht=Wt.forceSubMenuRender,Jt=Wt.rootClassName,ln=Wt.motion,Ut=Wt.defaultMotions,Dn=r.useState(!1),Gn=(0,C.Z)(Dn,2),zt=Gn[0],Gt=Gn[1],Dt=Ct?(0,N.Z)((0,N.Z)({},Nn),Xt):(0,N.Z)((0,N.Z)({},Kn),Xt),xn=Ft[gt],wn=Mt(gt,ln,Ut),gn=r.useRef(wn);gt!=="inline"&&(gn.current=wn);var _n=(0,N.Z)((0,N.Z)({},gn.current),{},{leavedClassName:"".concat(we,"-hidden"),removeOnLeave:!1,motionAppear:!0}),zn=r.useRef();return r.useEffect(function(){return zn.current=(0,re.Z)(function(){Gt(Ne)}),function(){re.Z.cancel(zn.current)}},[Ne]),r.createElement(Sn.Z,{prefixCls:we,popupClassName:W()("".concat(we,"-popup"),(0,v.Z)({},"".concat(we,"-rtl"),Ct),Ze,Jt),stretch:gt==="horizontal"?"minWidth":null,getPopupContainer:an,builtinPlacements:Dt,popupPlacement:xn,popupVisible:zt,popup:Ae,popupStyle:Ke,popupAlign:ot&&{offset:ot},action:mt?[]:[En],mouseEnterDelay:ht,mouseLeaveDelay:qt,onPopupVisibleChange:Bt,forceRender:Ht,popupMotion:_n,fresh:!0},Me)}var Be=t(77900);function ke(ye){var we=ye.id,Ne=ye.open,Me=ye.keyPath,Ae=ye.children,Ke="inline",Ze=r.useContext(I),ot=Ze.prefixCls,mt=Ze.forceSubMenuRender,gt=Ze.motion,Bt=Ze.defaultMotions,Wt=Ze.mode,an=r.useRef(!1);an.current=Wt===Ke;var Ct=r.useState(!an.current),ht=(0,C.Z)(Ct,2),qt=ht[0],Xt=ht[1],En=an.current?Ne:!1;r.useEffect(function(){an.current&&Xt(!1)},[Wt]);var Ht=(0,N.Z)({},Mt(Ke,gt,Bt));Me.length>1&&(Ht.motionAppear=!1);var Jt=Ht.onVisibleChanged;return Ht.onVisibleChanged=function(ln){return!an.current&&!ln&&Xt(!0),Jt==null?void 0:Jt(ln)},qt?null:r.createElement(c,{mode:Ke,locked:!an.current},r.createElement(Be.default,(0,_.Z)({visible:En},Ht,{forceRender:mt,removeOnLeave:!1,leavedClassName:"".concat(ot,"-hidden")}),function(ln){var Ut=ln.className,Dn=ln.style;return r.createElement(rn,{id:we,className:Ut,style:Dn},Ae)}))}var te=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],ae=["active"],De=function(we){var Ne,Me=we.style,Ae=we.className,Ke=we.title,Ze=we.eventKey,ot=we.warnKey,mt=we.disabled,gt=we.internalPopupClose,Bt=we.children,Wt=we.itemIcon,an=we.expandIcon,Ct=we.popupClassName,ht=we.popupOffset,qt=we.popupStyle,Xt=we.onClick,En=we.onMouseEnter,Ht=we.onMouseLeave,Jt=we.onTitleClick,ln=we.onTitleMouseEnter,Ut=we.onTitleMouseLeave,Dn=(0,k.Z)(we,te),Gn=z(Ze),zt=r.useContext(I),Gt=zt.prefixCls,Dt=zt.mode,xn=zt.openKeys,wn=zt.disabled,gn=zt.overflowDisabled,_n=zt.activeKey,zn=zt.selectedKeys,tr=zt.itemIcon,Vn=zt.expandIcon,Wn=zt.onItemClick,or=zt.onOpenChange,xt=zt.onActive,Pt=r.useContext(M),on=Pt._internalRenderSubMenuItem,kn=r.useContext(X),rr=kn.isSubPathKey,gr=J(),nr="".concat(Gt,"-submenu"),mr=wn||mt,_r=r.useRef(),Er=r.useRef(),yr=Wt!=null?Wt:tr,Qn=an!=null?an:Vn,br=xn.includes(Ze),kr=!gn&&br,Ar=rr(zn,Ze),Ir=Se(Ze,mr,ln,Ut),Wr=Ir.active,Hr=(0,k.Z)(Ir,ae),ti=r.useState(!1),qr=(0,C.Z)(ti,2),_i=qr[0],yi=qr[1],li=function(wr){mr||yi(wr)},Ur=function(wr){li(!0),En==null||En({key:Ze,domEvent:wr})},Pi=function(wr){li(!1),Ht==null||Ht({key:Ze,domEvent:wr})},bi=r.useMemo(function(){return Wr||(Dt!=="inline"?_i||rr([_n],Ze):!1)},[Dt,Wr,_n,_i,Ze,rr]),ui=Xe(gr.length),ci=function(wr){mr||(Jt==null||Jt({key:Ze,domEvent:wr}),Dt==="inline"&&or(Ze,!br))},ni=B(function(xr){Xt==null||Xt(dt(xr)),Wn(xr)}),tn=function(wr){Dt!=="inline"&&or(Ze,wr)},Rn=function(){xt(Ze)},un=Gn&&"".concat(Gn,"-popup"),Cn=r.createElement("div",(0,_.Z)({role:"menuitem",style:ui,className:"".concat(nr,"-title"),tabIndex:mr?null:-1,ref:_r,title:typeof Ke=="string"?Ke:null,"data-menu-id":gn&&Gn?null:Gn,"aria-expanded":kr,"aria-haspopup":!0,"aria-controls":un,"aria-disabled":mr,onClick:ci,onFocus:Rn},Hr),Ke,r.createElement(Ye,{icon:Dt!=="horizontal"?Qn:void 0,props:(0,N.Z)((0,N.Z)({},we),{},{isOpen:kr,isSubMenu:!0})},r.createElement("i",{className:"".concat(nr,"-arrow")}))),Fn=r.useRef(Dt);if(Dt!=="inline"&&gr.length>1?Fn.current="vertical":Fn.current=Dt,!gn){var Jn=Fn.current;Cn=r.createElement(ce,{mode:Jn,prefixCls:nr,visible:!gt&&kr&&Dt!=="inline",popupClassName:Ct,popupOffset:ht,popupStyle:qt,popup:r.createElement(c,{mode:Jn==="horizontal"?"vertical":Jn},r.createElement(rn,{id:un,ref:Er},Bt)),disabled:mr,onVisibleChange:tn},Cn)}var Lr=r.createElement(e.Z.Item,(0,_.Z)({role:"none"},Dn,{component:"li",style:Me,className:W()(nr,"".concat(nr,"-").concat(Dt),Ae,(Ne={},(0,v.Z)(Ne,"".concat(nr,"-open"),kr),(0,v.Z)(Ne,"".concat(nr,"-active"),bi),(0,v.Z)(Ne,"".concat(nr,"-selected"),Ar),(0,v.Z)(Ne,"".concat(nr,"-disabled"),mr),Ne)),onMouseEnter:Ur,onMouseLeave:Pi}),Cn,!gn&&r.createElement(ke,{id:un,open:kr,keyPath:gr},Bt));return on&&(Lr=on(Lr,we,{selected:Ar,active:bi,open:kr,disabled:mr})),r.createElement(c,{onItemClick:ni,mode:Dt==="horizontal"?"vertical":Dt,itemIcon:yr,expandIcon:Qn},Lr)};function $e(ye){var we=ye.eventKey,Ne=ye.children,Me=J(we),Ae=Pn(Ne,Me),Ke=D();r.useEffect(function(){if(Ke)return Ke.registerPath(we,Me),function(){Ke.unregisterPath(we,Me)}},[Me]);var Ze;return Ke?Ze=Ae:Ze=r.createElement(De,ye,Ae),r.createElement(Y.Provider,{value:Me},Ze)}var st=t(39559),Ve=["className","title","eventKey","children"],ct=["children"],Qe=function(we){var Ne=we.className,Me=we.title,Ae=we.eventKey,Ke=we.children,Ze=(0,k.Z)(we,Ve),ot=r.useContext(I),mt=ot.prefixCls,gt="".concat(mt,"-item-group");return r.createElement("li",(0,_.Z)({role:"presentation"},Ze,{onClick:function(Wt){return Wt.stopPropagation()},className:W()(gt,Ne)}),r.createElement("div",{role:"presentation",className:"".concat(gt,"-title"),title:typeof Me=="string"?Me:void 0},Me),r.createElement("ul",{role:"group",className:"".concat(gt,"-list")},Ke))};function ft(ye){var we=ye.children,Ne=(0,k.Z)(ye,ct),Me=J(Ne.eventKey),Ae=Pn(we,Me),Ke=D();return Ke?Ae:r.createElement(Qe,(0,Ce.Z)(Ne,["warnKey"]),Ae)}function vt(ye){var we=ye.className,Ne=ye.style,Me=r.useContext(I),Ae=Me.prefixCls,Ke=D();return Ke?null:r.createElement("li",{role:"separator",className:W()("".concat(Ae,"-item-divider"),we),style:Ne})}var Fe=["label","children","key","type"];function Le(ye){return(ye||[]).map(function(we,Ne){if(we&&(0,st.Z)(we)==="object"){var Me=we,Ae=Me.label,Ke=Me.children,Ze=Me.key,ot=Me.type,mt=(0,k.Z)(Me,Fe),gt=Ze!=null?Ze:"tmp-".concat(Ne);return Ke||ot==="group"?ot==="group"?r.createElement(ft,(0,_.Z)({key:gt},mt,{title:Ae}),Le(Ke)):r.createElement($e,(0,_.Z)({key:gt},mt,{title:Ae}),Le(Ke)):ot==="divider"?r.createElement(vt,(0,_.Z)({key:gt},mt)):r.createElement(rt,(0,_.Z)({key:gt},mt),Ae)}return null}).filter(function(we){return we})}function Je(ye,we,Ne){var Me=ye;return we&&(Me=Le(we)),Pn(Me,Ne)}var tt=["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"],it=[],yt=r.forwardRef(function(ye,we){var Ne,Me,Ae=ye,Ke=Ae.prefixCls,Ze=Ke===void 0?"rc-menu":Ke,ot=Ae.rootClassName,mt=Ae.style,gt=Ae.className,Bt=Ae.tabIndex,Wt=Bt===void 0?0:Bt,an=Ae.items,Ct=Ae.children,ht=Ae.direction,qt=Ae.id,Xt=Ae.mode,En=Xt===void 0?"vertical":Xt,Ht=Ae.inlineCollapsed,Jt=Ae.disabled,ln=Ae.disabledOverflow,Ut=Ae.subMenuOpenDelay,Dn=Ut===void 0?.1:Ut,Gn=Ae.subMenuCloseDelay,zt=Gn===void 0?.1:Gn,Gt=Ae.forceSubMenuRender,Dt=Ae.defaultOpenKeys,xn=Ae.openKeys,wn=Ae.activeKey,gn=Ae.defaultActiveFirst,_n=Ae.selectable,zn=_n===void 0?!0:_n,tr=Ae.multiple,Vn=tr===void 0?!1:tr,Wn=Ae.defaultSelectedKeys,or=Ae.selectedKeys,xt=Ae.onSelect,Pt=Ae.onDeselect,on=Ae.inlineIndent,kn=on===void 0?24:on,rr=Ae.motion,gr=Ae.defaultMotions,nr=Ae.triggerSubMenuAction,mr=nr===void 0?"hover":nr,_r=Ae.builtinPlacements,Er=Ae.itemIcon,yr=Ae.expandIcon,Qn=Ae.overflowedIndicator,br=Qn===void 0?"...":Qn,kr=Ae.overflowedIndicatorPopupClassName,Ar=Ae.getPopupContainer,Ir=Ae.onClick,Wr=Ae.onOpenChange,Hr=Ae.onKeyDown,ti=Ae.openAnimation,qr=Ae.openTransitionName,_i=Ae._internalRenderMenuItem,yi=Ae._internalRenderSubMenuItem,li=(0,k.Z)(Ae,tt),Ur=r.useMemo(function(){return Je(Ct,an,it)},[Ct,an]),Pi=r.useState(!1),bi=(0,C.Z)(Pi,2),ui=bi[0],ci=bi[1],ni=r.useRef(),tn=oe(qt),Rn=ht==="rtl",un=(0,h.Z)(Dt,{value:xn,postState:function(Cr){return Cr||it}}),Cn=(0,C.Z)(un,2),Fn=Cn[0],Jn=Cn[1],Lr=function(Cr){var Nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function wi(){Jn(Cr),Wr==null||Wr(Cr)}Nr?(0,a.flushSync)(wi):wi()},xr=r.useState(Fn),wr=(0,C.Z)(xr,2),Rr=wr[0],di=wr[1],Di=r.useRef(!1),Zi=r.useMemo(function(){return(En==="inline"||En==="vertical")&&Ht?["vertical",Ht]:[En,!1]},[En,Ht]),mi=(0,C.Z)(Zi,2),ai=mi[0],Yt=mi[1],Tn=ai==="inline",pr=r.useState(ai),Br=(0,C.Z)(pr,2),cr=Br[0],zi=Br[1],ji=r.useState(Yt),Wi=(0,C.Z)(ji,2),Ti=Wi[0],xa=Wi[1];r.useEffect(function(){zi(ai),xa(Yt),Di.current&&(Tn?Jn(Rr):Lr(it))},[ai,Yt]);var la=r.useState(0),aa=(0,C.Z)(la,2),ea=aa[0],ua=aa[1],ta=ea>=Ur.length-1||cr!=="horizontal"||ln;r.useEffect(function(){Tn&&di(Fn)},[Fn]),r.useEffect(function(){return Di.current=!0,function(){Di.current=!1}},[]);var Fi=j(),ca=Fi.registerPath,da=Fi.unregisterPath,fa=Fi.refreshOverflowKeys,Gi=Fi.isSubPathKey,qn=Fi.getKeyPath,Hn=Fi.getKeys,ei=Fi.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?it:Ur.slice(ea+1).map(function(zr){return zr.key}))},[ea,ta]);var ri=(0,h.Z)(wn||gn&&((Ne=Ur[0])===null||Ne===void 0?void 0:Ne.key),{value:wn}),oi=(0,C.Z)(ri,2),$i=oi[0],xi=oi[1],Xi=B(function(zr){xi(zr)}),Mi=B(function(){xi(void 0)});(0,r.useImperativeHandle)(we,function(){return{list:ni.current,focus:function(Cr){var Nr,wi=Hn(),Ci=L(wi,tn),ga=Ci.elements,Yi=Ci.key2element,_a=Ci.element2key,Na=Z(ni.current,ga),Da=$i!=null?$i:Na[0]?_a.get(Na[0]):(Nr=Ur.find(function(Va){return!Va.props.disabled}))===null||Nr===void 0?void 0:Nr.key,ya=Yi.get(Da);if(Da&&ya){var Ea;ya==null||(Ea=ya.focus)===null||Ea===void 0||Ea.call(ya,Cr)}}}});var ha=(0,h.Z)(Wn||[],{value:or,postState:function(Cr){return Array.isArray(Cr)?Cr:Cr==null?it:[Cr]}}),Ia=(0,C.Z)(ha,2),pa=Ia[0],ma=Ia[1],wa=function(Cr){if(zn){var Nr=Cr.key,wi=pa.includes(Nr),Ci;Vn?wi?Ci=pa.filter(function(Yi){return Yi!==Nr}):Ci=[].concat((0,V.Z)(pa),[Nr]):Ci=[Nr],ma(Ci);var ga=(0,N.Z)((0,N.Z)({},Cr),{},{selectedKeys:Ci});wi?Pt==null||Pt(ga):xt==null||xt(ga)}!Vn&&Fn.length&&cr!=="inline"&&Lr(it)},va=B(function(zr){Ir==null||Ir(dt(zr)),wa(zr)}),Ca=B(function(zr,Cr){var Nr=Fn.filter(function(Ci){return Ci!==zr});if(Cr)Nr.push(zr);else if(cr!=="inline"){var wi=ei(zr);Nr=Nr.filter(function(Ci){return!wi.has(Ci)})}(0,m.Z)(Fn,Nr,!0)||Lr(Nr,!0)}),Ba=function(Cr,Nr){var wi=Nr!=null?Nr:!Fn.includes(Cr);Ca(Cr,wi)},Sa=R(cr,$i,Rn,tn,ni,Hn,qn,xi,Ba,Hr);r.useEffect(function(){ci(!0)},[]);var Ra=r.useMemo(function(){return{_internalRenderMenuItem:_i,_internalRenderSubMenuItem:yi}},[_i,yi]),Pa=cr!=="horizontal"||ln?Ur:Ur.map(function(zr,Cr){return r.createElement(c,{key:zr.key,overflowDisabled:Cr>ea},zr)}),$a=r.createElement(e.Z,(0,_.Z)({id:qt,ref:ni,prefixCls:"".concat(Ze,"-overflow"),component:"ul",itemComponent:rt,className:W()(Ze,"".concat(Ze,"-root"),"".concat(Ze,"-").concat(cr),gt,(Me={},(0,v.Z)(Me,"".concat(Ze,"-inline-collapsed"),Ti),(0,v.Z)(Me,"".concat(Ze,"-rtl"),Rn),Me),ot),dir:ht,style:mt,role:"menu",tabIndex:Wt,data:Pa,renderRawItem:function(Cr){return Cr},renderRawRest:function(Cr){var Nr=Cr.length,wi=Nr?Ur.slice(-Nr):null;return r.createElement($e,{eventKey:G,title:br,disabled:ta,internalPopupClose:Nr===0,popupClassName:kr},wi)},maxCount:cr!=="horizontal"||ln?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Cr){ua(Cr)},onKeyDown:Sa},li));return r.createElement(M.Provider,{value:Ra},r.createElement(u.Provider,{value:tn},r.createElement(c,{prefixCls:Ze,rootClassName:ot,mode:cr,openKeys:Fn,rtl:Rn,disabled:Jt,motion:ui?rr:null,defaultMotions:ui?gr:null,activeKey:$i,onActive:Xi,onInactive:Mi,selectedKeys:pa,inlineIndent:kn,subMenuOpenDelay:Dn,subMenuCloseDelay:zt,forceSubMenuRender:Gt,builtinPlacements:_r,triggerSubMenuAction:mr,getPopupContainer:Ar,itemIcon:Er,expandIcon:yr,onItemClick:va,onOpenChange:Ca},r.createElement(X.Provider,{value:Zr},$a),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(w.Provider,{value:jr},Ur)))))}),jt=yt,St=jt;St.Item=rt,St.SubMenu=$e,St.ItemGroup=ft,St.Divider=vt;var Ge=St},11780:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return $}});var _=t(92413),v=t(33708),N=t(33606),V=t(37061),C=t(59301),k=t(92310),l=t.n(k),W=t(29301),e=t(34280),h=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],m=void 0;function n(i,o){var p=i.prefixCls,F=i.invalidate,re=i.item,ie=i.renderItem,ne=i.responsive,me=i.responsiveDisabled,xe=i.registerSize,He=i.itemKey,Pe=i.className,Ue=i.style,et=i.children,lt=i.display,je=i.order,pe=i.component,ue=pe===void 0?"div":pe,Z=(0,V.Z)(i,h),H=ne&&!lt;function L(f){xe(He,f)}C.useEffect(function(){return function(){L(null)}},[]);var R=ie&&re!==m?ie(re,{index:je}):et,ee;F||(ee={opacity:H?0:1,height:H?0:m,overflowY:H?"hidden":m,order:ne?je:m,pointerEvents:H?"none":m,position:H?"absolute":m});var x={};H&&(x["aria-hidden"]=!0);var d=C.createElement(ue,(0,_.Z)({className:l()(!F&&p,Pe),style:(0,v.Z)((0,v.Z)({},ee),Ue)},x,Z,{ref:o}),R);return ne&&(d=C.createElement(W.Z,{onResize:function(G){var j=G.offsetWidth;L(j)},disabled:me},d)),d}var r=C.forwardRef(n);r.displayName="Item";var a=r,u=t(6089),b=t(4676),z=t(16089);function E(i){if(typeof MessageChannel=="undefined")(0,z.Z)(i);else{var o=new MessageChannel;o.port1.onmessage=function(){return i()},o.port2.postMessage(void 0)}}function y(){var i=C.useRef(null),o=function(F){i.current||(i.current=[],E(function(){(0,b.unstable_batchedUpdates)(function(){i.current.forEach(function(re){re()}),i.current=null})})),i.current.push(F)};return o}function I(i,o){var p=C.useState(o),F=(0,N.Z)(p,2),re=F[0],ie=F[1],ne=(0,u.Z)(function(me){i(function(){ie(me)})});return[re,ne]}var S=C.createContext(null),c=["component"],s=["className"],w=["className"],D=function(o,p){var F=C.useContext(S);if(!F){var re=o.component,ie=re===void 0?"div":re,ne=(0,V.Z)(o,c);return C.createElement(ie,(0,_.Z)({},ne,{ref:p}))}var me=F.className,xe=(0,V.Z)(F,s),He=o.className,Pe=(0,V.Z)(o,w);return C.createElement(S.Provider,{value:null},C.createElement(a,(0,_.Z)({ref:p,className:l()(me,He)},xe,Pe)))},Y=C.forwardRef(D);Y.displayName="RawItem";var J=Y,X=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],U="responsive",M="invalidate";function g(i){return"+ ".concat(i.length," ...")}function K(i,o){var p=i.prefixCls,F=p===void 0?"rc-overflow":p,re=i.data,ie=re===void 0?[]:re,ne=i.renderItem,me=i.renderRawItem,xe=i.itemKey,He=i.itemWidth,Pe=He===void 0?10:He,Ue=i.ssr,et=i.style,lt=i.className,je=i.maxCount,pe=i.renderRest,ue=i.renderRawRest,Z=i.suffix,H=i.component,L=H===void 0?"div":H,R=i.itemComponent,ee=i.onVisibleChange,x=(0,V.Z)(i,X),d=Ue==="full",f=y(),G=I(f,null),j=(0,N.Z)(G,2),B=j[0],q=j[1],de=B||0,oe=I(f,new Map),le=(0,N.Z)(oe,2),_e=le[0],Ee=le[1],ge=I(f,0),Ce=(0,N.Z)(ge,2),Oe=Ce[0],Se=Ce[1],Xe=I(f,0),Ye=(0,N.Z)(Xe,2),pt=Ye[0],dt=Ye[1],At=I(f,0),Rt=(0,N.Z)(At,2),Zt=Rt[0],Nt=Rt[1],sn=(0,C.useState)(null),Lt=(0,N.Z)(sn,2),rt=Lt[0],Vt=Lt[1],_t=(0,C.useState)(null),Et=(0,N.Z)(_t,2),rn=Et[0],hn=Et[1],Pn=C.useMemo(function(){return rn===null&&d?Number.MAX_SAFE_INTEGER:rn||0},[rn,B]),Sn=(0,C.useState)(!1),$n=(0,N.Z)(Sn,2),Kn=$n[0],Nn=$n[1],Zn="".concat(F,"-item"),Mt=Math.max(Oe,pt),Ft=je===U,ce=ie.length&&Ft,Be=je===M,ke=ce||typeof je=="number"&&ie.length>je,te=(0,C.useMemo)(function(){var Ge=ie;return ce?B===null&&d?Ge=ie:Ge=ie.slice(0,Math.min(ie.length,de/Pe)):typeof je=="number"&&(Ge=ie.slice(0,je)),Ge},[ie,Pe,B,je,ce]),ae=(0,C.useMemo)(function(){return ce?ie.slice(Pn+1):ie.slice(te.length)},[ie,te,ce,Pn]),De=(0,C.useCallback)(function(Ge,ye){var we;return typeof xe=="function"?xe(Ge):(we=xe&&(Ge==null?void 0:Ge[xe]))!==null&&we!==void 0?we:ye},[xe]),$e=(0,C.useCallback)(ne||function(Ge){return Ge},[ne]);function st(Ge,ye,we){rn===Ge&&(ye===void 0||ye===rt)||(hn(Ge),we||(Nn(Ge<ie.length-1),ee==null||ee(Ge)),ye!==void 0&&Vt(ye))}function Ve(Ge,ye){q(ye.clientWidth)}function ct(Ge,ye){Ee(function(we){var Ne=new Map(we);return ye===null?Ne.delete(Ge):Ne.set(Ge,ye),Ne})}function Qe(Ge,ye){dt(ye),Se(pt)}function ft(Ge,ye){Nt(ye)}function vt(Ge){return _e.get(De(te[Ge],Ge))}(0,e.Z)(function(){if(de&&typeof Mt=="number"&&te){var Ge=Zt,ye=te.length,we=ye-1;if(!ye){st(0,null);return}for(var Ne=0;Ne<ye;Ne+=1){var Me=vt(Ne);if(d&&(Me=Me||0),Me===void 0){st(Ne-1,void 0,!0);break}if(Ge+=Me,we===0&&Ge<=de||Ne===we-1&&Ge+vt(we)<=de){st(we,null);break}else if(Ge+Mt>de){st(Ne-1,Ge-Me-Zt+pt);break}}Z&&vt(0)+Zt>de&&Vt(null)}},[de,_e,pt,Zt,De,te]);var Fe=Kn&&!!ae.length,Le={};rt!==null&&ce&&(Le={position:"absolute",left:rt,top:0});var Je={prefixCls:Zn,responsive:ce,component:R,invalidate:Be},tt=me?function(Ge,ye){var we=De(Ge,ye);return C.createElement(S.Provider,{key:we,value:(0,v.Z)((0,v.Z)({},Je),{},{order:ye,item:Ge,itemKey:we,registerSize:ct,display:ye<=Pn})},me(Ge,ye))}:function(Ge,ye){var we=De(Ge,ye);return C.createElement(a,(0,_.Z)({},Je,{order:ye,key:we,item:Ge,renderItem:$e,itemKey:we,registerSize:ct,display:ye<=Pn}))},it={order:Fe?Pn:Number.MAX_SAFE_INTEGER,className:"".concat(Zn,"-rest"),registerSize:Qe,display:Fe},yt=pe||g,jt=ue?C.createElement(S.Provider,{value:(0,v.Z)((0,v.Z)({},Je),it)},ue(ae)):C.createElement(a,(0,_.Z)({},Je,it),typeof yt=="function"?yt(ae):yt),St=C.createElement(L,(0,_.Z)({className:l()(!Be&&F,lt),style:et,ref:o},x),te.map(tt),ke?jt:null,Z&&C.createElement(a,(0,_.Z)({},Je,{responsive:Ft,responsiveDisabled:!ce,order:Pn,className:"".concat(Zn,"-suffix"),registerSize:ft,display:!0,style:Le}),Z));return Ft?C.createElement(W.Z,{onResize:Ve,disabled:!ce},St):St}var O=C.forwardRef(K);O.displayName="Overflow",O.Item=J,O.RESPONSIVE=U,O.INVALIDATE=M;var A=O,$=A},29301:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return M}});var _=t(92413),v=t(59301),N=t(11592),V=t(48736),C=t(33708),k=t(39559),l=t(76846),W=t(8654),e=v.createContext(null);function h(g){var K=g.children,O=g.onBatchResize,A=v.useRef(0),$=v.useRef([]),i=v.useContext(e),o=v.useCallback(function(p,F,re){A.current+=1;var ie=A.current;$.current.push({size:p,element:F,data:re}),Promise.resolve().then(function(){ie===A.current&&(O==null||O($.current),$.current=[])}),i==null||i(p,F,re)},[O,i]);return v.createElement(e.Provider,{value:o},K)}var m=t(76374),n=new Map;function r(g){g.forEach(function(K){var O,A=K.target;(O=n.get(A))===null||O===void 0||O.forEach(function($){return $(A)})})}var a=new m.Z(r),u=null,b=null;function z(g,K){n.has(g)||(n.set(g,new Set),a.observe(g)),n.get(g).add(K)}function E(g,K){n.has(g)&&(n.get(g).delete(K),n.get(g).size||(a.unobserve(g),n.delete(g)))}var y=t(6909),I=t(4771),S=t(9427),c=t(25440),s=function(g){(0,S.Z)(O,g);var K=(0,c.Z)(O);function O(){return(0,y.Z)(this,O),K.apply(this,arguments)}return(0,I.Z)(O,[{key:"render",value:function(){return this.props.children}}]),O}(v.Component);function w(g,K){var O=g.children,A=g.disabled,$=v.useRef(null),i=v.useRef(null),o=v.useContext(e),p=typeof O=="function",F=p?O($):O,re=v.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ie=!p&&v.isValidElement(F)&&(0,W.Yr)(F),ne=ie?(0,W.C4)(F):null,me=(0,W.x1)(ne,$),xe=function(){var et;return(0,l.ZP)($.current)||($.current&&(0,k.Z)($.current)==="object"?(0,l.ZP)((et=$.current)===null||et===void 0?void 0:et.nativeElement):null)||(0,l.ZP)(i.current)};v.useImperativeHandle(K,function(){return xe()});var He=v.useRef(g);He.current=g;var Pe=v.useCallback(function(Ue){var et=He.current,lt=et.onResize,je=et.data,pe=Ue.getBoundingClientRect(),ue=pe.width,Z=pe.height,H=Ue.offsetWidth,L=Ue.offsetHeight,R=Math.floor(ue),ee=Math.floor(Z);if(re.current.width!==R||re.current.height!==ee||re.current.offsetWidth!==H||re.current.offsetHeight!==L){var x={width:R,height:ee,offsetWidth:H,offsetHeight:L};re.current=x;var d=H===Math.round(ue)?ue:H,f=L===Math.round(Z)?Z:L,G=(0,C.Z)((0,C.Z)({},x),{},{offsetWidth:d,offsetHeight:f});o==null||o(G,Ue,je),lt&&Promise.resolve().then(function(){lt(G,Ue)})}},[]);return v.useEffect(function(){var Ue=xe();return Ue&&!A&&z(Ue,Pe),function(){return E(Ue,Pe)}},[$.current,A]),v.createElement(s,{ref:i},ie?v.cloneElement(F,{ref:me}):F)}var D=v.forwardRef(w),Y=D,J="rc-observer-key";function X(g,K){var O=g.children,A=typeof O=="function"?[O]:(0,N.Z)(O);return A.map(function($,i){var o=($==null?void 0:$.key)||"".concat(J,"-").concat(i);return v.createElement(Y,(0,_.Z)({},g,{key:o,ref:i===0?K:void 0}),$)})}var U=v.forwardRef(X);U.Collection=h;var M=U},17115:function(qe,ve,t){"use strict";t.d(ve,{ZP:function(){return l}});var _=t(33606),v=t(59301),N=t(47273),V=0,C=(0,N.Z)();function k(){var W;return C?(W=V,V+=1):W="TEST_OR_SSR",W}function l(W){var e=v.useState(),h=(0,_.Z)(e,2),m=h[0],n=h[1];return v.useEffect(function(){n("rc_select_".concat(k()))},[]),W||m}},77861:function(qe,ve,t){"use strict";t.d(ve,{Ac:function(){return q},Xo:function(){return dt},Wx:function(){return Rt},ZP:function(){return ke},lk:function(){return S}});var _=t(92413),v=t(26407),N=t(400),V=t(33708),C=t(33606),k=t(37061),l=t(39559),W=t(18929),e=t(48736),h=t(59301),m=t(92310),n=t.n(m),r=t(34280),a=t(49658),u=t(10228),b=t(8654),z=function(ae){var De=ae.className,$e=ae.customizeIcon,st=ae.customizeIconProps,Ve=ae.onMouseDown,ct=ae.onClick,Qe=ae.children,ft;return typeof $e=="function"?ft=$e(st):ft=$e,h.createElement("span",{className:De,onMouseDown:function(Fe){Fe.preventDefault(),Ve&&Ve(Fe)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:ct,"aria-hidden":!0},ft!==void 0?ft:h.createElement("span",{className:n()(De.split(/\s+/).map(function(vt){return"".concat(vt,"-icon")}))},Qe))},E=z;function y(te,ae,De,$e,st){var Ve=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,ct=arguments.length>6?arguments[6]:void 0,Qe=arguments.length>7?arguments[7]:void 0,ft=h.useMemo(function(){if((0,l.Z)($e)==="object")return $e.clearIcon;if(st)return st},[$e,st]),vt=h.useMemo(function(){return!!(!Ve&&$e&&(De.length||ct)&&!(Qe==="combobox"&&ct===""))},[$e,Ve,De.length,ct,Qe]);return{allowClear:vt,clearIcon:h.createElement(E,{className:"".concat(te,"-clear"),onMouseDown:ae,customizeIcon:ft},"\xD7")}}var I=h.createContext(null);function S(){return h.useContext(I)}function c(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,ae=h.useState(!1),De=(0,C.Z)(ae,2),$e=De[0],st=De[1],Ve=h.useRef(null),ct=function(){window.clearTimeout(Ve.current)};h.useEffect(function(){return ct},[]);var Qe=function(vt,Fe){ct(),Ve.current=window.setTimeout(function(){st(vt),Fe&&Fe()},te)};return[$e,Qe,ct]}function s(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,ae=h.useRef(null),De=h.useRef(null);h.useEffect(function(){return function(){window.clearTimeout(De.current)}},[]);function $e(st){(st||ae.current===null)&&(ae.current=st),window.clearTimeout(De.current),De.current=window.setTimeout(function(){ae.current=null},te)}return[function(){return ae.current},$e]}function w(te,ae,De,$e){var st=h.useRef(null);st.current={open:ae,triggerOpen:De,customizedTrigger:$e},h.useEffect(function(){function Ve(ct){var Qe;if(!((Qe=st.current)!==null&&Qe!==void 0&&Qe.customizedTrigger)){var ft=ct.target;ft.shadowRoot&&ct.composed&&(ft=ct.composedPath()[0]||ft),st.current.open&&te().filter(function(vt){return vt}).every(function(vt){return!vt.contains(ft)&&vt!==ft})&&st.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ve),function(){return window.removeEventListener("mousedown",Ve)}},[])}var D=t(26112),Y=t(11780),J=function(ae,De){var $e,st,Ve=ae.prefixCls,ct=ae.id,Qe=ae.inputElement,ft=ae.disabled,vt=ae.tabIndex,Fe=ae.autoFocus,Le=ae.autoComplete,Je=ae.editable,tt=ae.activeDescendantId,it=ae.value,yt=ae.maxLength,jt=ae.onKeyDown,St=ae.onMouseDown,Ge=ae.onChange,ye=ae.onPaste,we=ae.onCompositionStart,Ne=ae.onCompositionEnd,Me=ae.open,Ae=ae.attrs,Ke=Qe||h.createElement("input",null),Ze=Ke,ot=Ze.ref,mt=Ze.props,gt=mt.onKeyDown,Bt=mt.onChange,Wt=mt.onMouseDown,an=mt.onCompositionStart,Ct=mt.onCompositionEnd,ht=mt.style;return(0,e.Kp)(!("maxLength"in Ke.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Ke=h.cloneElement(Ke,(0,V.Z)((0,V.Z)((0,V.Z)({type:"search"},mt),{},{id:ct,ref:(0,b.sQ)(De,ot),disabled:ft,tabIndex:vt,autoComplete:Le||"off",autoFocus:Fe,className:n()("".concat(Ve,"-selection-search-input"),($e=Ke)===null||$e===void 0||(st=$e.props)===null||st===void 0?void 0:st.className),role:"combobox","aria-label":"Search","aria-expanded":Me||!1,"aria-haspopup":"listbox","aria-owns":"".concat(ct,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(ct,"_list"),"aria-activedescendant":Me?tt:void 0},Ae),{},{value:Je?it:"",maxLength:yt,readOnly:!Je,unselectable:Je?null:"on",style:(0,V.Z)((0,V.Z)({},ht),{},{opacity:Je?null:0}),onKeyDown:function(Xt){jt(Xt),gt&>(Xt)},onMouseDown:function(Xt){St(Xt),Wt&&Wt(Xt)},onChange:function(Xt){Ge(Xt),Bt&&Bt(Xt)},onCompositionStart:function(Xt){we(Xt),an&&an(Xt)},onCompositionEnd:function(Xt){Ne(Xt),Ct&&Ct(Xt)},onPaste:ye})),Ke},X=h.forwardRef(J);X.displayName="Input";var U=X;function M(te){return Array.isArray(te)?te:te!==void 0?[te]:[]}var g=typeof window!="undefined"&&window.document&&window.document.documentElement,K=g;function O(te){return te!=null}function A(te){return!te&&te!==0}function $(te){return["string","number"].includes((0,l.Z)(te))}function i(te){var ae=void 0;return te&&($(te.title)?ae=te.title.toString():$(te.label)&&(ae=te.label.toString())),ae}function o(te,ae){K?h.useLayoutEffect(te,ae):h.useEffect(te,ae)}function p(te){var ae;return(ae=te.key)!==null&&ae!==void 0?ae:te.value}var F=function(ae){ae.preventDefault(),ae.stopPropagation()},re=function(ae){var De=ae.id,$e=ae.prefixCls,st=ae.values,Ve=ae.open,ct=ae.searchValue,Qe=ae.autoClearSearchValue,ft=ae.inputRef,vt=ae.placeholder,Fe=ae.disabled,Le=ae.mode,Je=ae.showSearch,tt=ae.autoFocus,it=ae.autoComplete,yt=ae.activeDescendantId,jt=ae.tabIndex,St=ae.removeIcon,Ge=ae.maxTagCount,ye=ae.maxTagTextLength,we=ae.maxTagPlaceholder,Ne=we===void 0?function(_n){return"+ ".concat(_n.length," ...")}:we,Me=ae.tagRender,Ae=ae.onToggleOpen,Ke=ae.onRemove,Ze=ae.onInputChange,ot=ae.onInputPaste,mt=ae.onInputKeyDown,gt=ae.onInputMouseDown,Bt=ae.onInputCompositionStart,Wt=ae.onInputCompositionEnd,an=h.useRef(null),Ct=(0,h.useState)(0),ht=(0,C.Z)(Ct,2),qt=ht[0],Xt=ht[1],En=(0,h.useState)(!1),Ht=(0,C.Z)(En,2),Jt=Ht[0],ln=Ht[1],Ut="".concat($e,"-selection"),Dn=Ve||Le==="multiple"&&Qe===!1||Le==="tags"?ct:"",Gn=Le==="tags"||Le==="multiple"&&Qe===!1||Je&&(Ve||Jt);o(function(){Xt(an.current.scrollWidth)},[Dn]);function zt(_n,zn,tr,Vn,Wn){return h.createElement("span",{className:n()("".concat(Ut,"-item"),(0,N.Z)({},"".concat(Ut,"-item-disabled"),tr)),title:i(_n)},h.createElement("span",{className:"".concat(Ut,"-item-content")},zn),Vn&&h.createElement(E,{className:"".concat(Ut,"-item-remove"),onMouseDown:F,onClick:Wn,customizeIcon:St},"\xD7"))}function Gt(_n,zn,tr,Vn,Wn){var or=function(Pt){F(Pt),Ae(!Ve)};return h.createElement("span",{onMouseDown:or},Me({label:zn,value:_n,disabled:tr,closable:Vn,onClose:Wn}))}function Dt(_n){var zn=_n.disabled,tr=_n.label,Vn=_n.value,Wn=!Fe&&!zn,or=tr;if(typeof ye=="number"&&(typeof tr=="string"||typeof tr=="number")){var xt=String(or);xt.length>ye&&(or="".concat(xt.slice(0,ye),"..."))}var Pt=function(kn){kn&&kn.stopPropagation(),Ke(_n)};return typeof Me=="function"?Gt(Vn,or,zn,Wn,Pt):zt(_n,or,zn,Wn,Pt)}function xn(_n){var zn=typeof Ne=="function"?Ne(_n):Ne;return zt({title:zn},zn,!1)}var wn=h.createElement("div",{className:"".concat(Ut,"-search"),style:{width:qt},onFocus:function(){ln(!0)},onBlur:function(){ln(!1)}},h.createElement(U,{ref:ft,open:Ve,prefixCls:$e,id:De,inputElement:null,disabled:Fe,autoFocus:tt,autoComplete:it,editable:Gn,activeDescendantId:yt,value:Dn,onKeyDown:mt,onMouseDown:gt,onChange:Ze,onPaste:ot,onCompositionStart:Bt,onCompositionEnd:Wt,tabIndex:jt,attrs:(0,D.Z)(ae,!0)}),h.createElement("span",{ref:an,className:"".concat(Ut,"-search-mirror"),"aria-hidden":!0},Dn,"\xA0")),gn=h.createElement(Y.Z,{prefixCls:"".concat(Ut,"-overflow"),data:st,renderItem:Dt,renderRest:xn,suffix:wn,itemKey:p,maxCount:Ge});return h.createElement(h.Fragment,null,gn,!st.length&&!Dn&&h.createElement("span",{className:"".concat(Ut,"-placeholder")},vt))},ie=re,ne=function(ae){var De=ae.inputElement,$e=ae.prefixCls,st=ae.id,Ve=ae.inputRef,ct=ae.disabled,Qe=ae.autoFocus,ft=ae.autoComplete,vt=ae.activeDescendantId,Fe=ae.mode,Le=ae.open,Je=ae.values,tt=ae.placeholder,it=ae.tabIndex,yt=ae.showSearch,jt=ae.searchValue,St=ae.activeValue,Ge=ae.maxLength,ye=ae.onInputKeyDown,we=ae.onInputMouseDown,Ne=ae.onInputChange,Me=ae.onInputPaste,Ae=ae.onInputCompositionStart,Ke=ae.onInputCompositionEnd,Ze=ae.title,ot=h.useState(!1),mt=(0,C.Z)(ot,2),gt=mt[0],Bt=mt[1],Wt=Fe==="combobox",an=Wt||yt,Ct=Je[0],ht=jt||"";Wt&&St&&!gt&&(ht=St),h.useEffect(function(){Wt&&Bt(!1)},[Wt,St]);var qt=Fe!=="combobox"&&!Le&&!yt?!1:!!ht,Xt=Ze===void 0?i(Ct):Ze,En=function(){if(Ct)return null;var Jt=qt?{visibility:"hidden"}:void 0;return h.createElement("span",{className:"".concat($e,"-selection-placeholder"),style:Jt},tt)};return h.createElement(h.Fragment,null,h.createElement("span",{className:"".concat($e,"-selection-search")},h.createElement(U,{ref:Ve,prefixCls:$e,id:st,open:Le,inputElement:De,disabled:ct,autoFocus:Qe,autoComplete:ft,editable:an,activeDescendantId:vt,value:ht,onKeyDown:ye,onMouseDown:we,onChange:function(Jt){Bt(!0),Ne(Jt)},onPaste:Me,onCompositionStart:Ae,onCompositionEnd:Ke,tabIndex:it,attrs:(0,D.Z)(ae,!0),maxLength:Wt?Ge:void 0})),!Wt&&Ct?h.createElement("span",{className:"".concat($e,"-selection-item"),title:Xt,style:qt?{visibility:"hidden"}:void 0},Ct.label):null,En())},me=ne;function xe(te){return![u.Z.ESC,u.Z.SHIFT,u.Z.BACKSPACE,u.Z.TAB,u.Z.WIN_KEY,u.Z.ALT,u.Z.META,u.Z.WIN_KEY_RIGHT,u.Z.CTRL,u.Z.SEMICOLON,u.Z.EQUALS,u.Z.CAPS_LOCK,u.Z.CONTEXT_MENU,u.Z.F1,u.Z.F2,u.Z.F3,u.Z.F4,u.Z.F5,u.Z.F6,u.Z.F7,u.Z.F8,u.Z.F9,u.Z.F10,u.Z.F11,u.Z.F12].includes(te)}var He=function(ae,De){var $e=(0,h.useRef)(null),st=(0,h.useRef)(!1),Ve=ae.prefixCls,ct=ae.open,Qe=ae.mode,ft=ae.showSearch,vt=ae.tokenWithEnter,Fe=ae.autoClearSearchValue,Le=ae.onSearch,Je=ae.onSearchSubmit,tt=ae.onToggleOpen,it=ae.onInputKeyDown,yt=ae.domRef;h.useImperativeHandle(De,function(){return{focus:function(){$e.current.focus()},blur:function(){$e.current.blur()}}});var jt=s(0),St=(0,C.Z)(jt,2),Ge=St[0],ye=St[1],we=function(ht){var qt=ht.which;(qt===u.Z.UP||qt===u.Z.DOWN)&&ht.preventDefault(),it&&it(ht),qt===u.Z.ENTER&&Qe==="tags"&&!st.current&&!ct&&(Je==null||Je(ht.target.value)),xe(qt)&&tt(!0)},Ne=function(){ye(!0)},Me=(0,h.useRef)(null),Ae=function(ht){Le(ht,!0,st.current)!==!1&&tt(!0)},Ke=function(){st.current=!0},Ze=function(ht){st.current=!1,Qe!=="combobox"&&Ae(ht.target.value)},ot=function(ht){var qt=ht.target.value;if(vt&&Me.current&&/[\r\n]/.test(Me.current)){var Xt=Me.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");qt=qt.replace(Xt,Me.current)}Me.current=null,Ae(qt)},mt=function(ht){var qt=ht.clipboardData,Xt=qt.getData("text");Me.current=Xt},gt=function(ht){var qt=ht.target;if(qt!==$e.current){var Xt=document.body.style.msTouchAction!==void 0;Xt?setTimeout(function(){$e.current.focus()}):$e.current.focus()}},Bt=function(ht){var qt=Ge();ht.target!==$e.current&&!qt&&Qe!=="combobox"&&ht.preventDefault(),(Qe!=="combobox"&&(!ft||!qt)||!ct)&&(ct&&Fe!==!1&&Le("",!0,!1),tt())},Wt={inputRef:$e,onInputKeyDown:we,onInputMouseDown:Ne,onInputChange:ot,onInputPaste:mt,onInputCompositionStart:Ke,onInputCompositionEnd:Ze},an=Qe==="multiple"||Qe==="tags"?h.createElement(ie,(0,_.Z)({},ae,Wt)):h.createElement(me,(0,_.Z)({},ae,Wt));return h.createElement("div",{ref:yt,className:"".concat(Ve,"-selector"),onClick:gt,onMouseDown:Bt},an)},Pe=h.forwardRef(He);Pe.displayName="Selector";var Ue=Pe,et=t(35593),lt=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],je=function(ae){var De=ae===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:De,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:De,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:De,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:De,adjustY:1},htmlRegion:"scroll"}}},pe=function(ae,De){var $e=ae.prefixCls,st=ae.disabled,Ve=ae.visible,ct=ae.children,Qe=ae.popupElement,ft=ae.animation,vt=ae.transitionName,Fe=ae.dropdownStyle,Le=ae.dropdownClassName,Je=ae.direction,tt=Je===void 0?"ltr":Je,it=ae.placement,yt=ae.builtinPlacements,jt=ae.dropdownMatchSelectWidth,St=ae.dropdownRender,Ge=ae.dropdownAlign,ye=ae.getPopupContainer,we=ae.empty,Ne=ae.getTriggerDOMNode,Me=ae.onPopupVisibleChange,Ae=ae.onPopupMouseEnter,Ke=(0,k.Z)(ae,lt),Ze="".concat($e,"-dropdown"),ot=Qe;St&&(ot=St(Qe));var mt=h.useMemo(function(){return yt||je(jt)},[yt,jt]),gt=ft?"".concat(Ze,"-").concat(ft):vt,Bt=typeof jt=="number",Wt=h.useMemo(function(){return Bt?null:jt===!1?"minWidth":"width"},[jt,Bt]),an=Fe;Bt&&(an=(0,V.Z)((0,V.Z)({},an),{},{width:jt}));var Ct=h.useRef(null);return h.useImperativeHandle(De,function(){return{getPopupElement:function(){return Ct.current}}}),h.createElement(et.Z,(0,_.Z)({},Ke,{showAction:Me?["click"]:[],hideAction:Me?["click"]:[],popupPlacement:it||(tt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:mt,prefixCls:Ze,popupTransitionName:gt,popup:h.createElement("div",{ref:Ct,onMouseEnter:Ae},ot),stretch:Wt,popupAlign:Ge,popupVisible:Ve,getPopupContainer:ye,popupClassName:n()(Le,(0,N.Z)({},"".concat(Ze,"-empty"),we)),popupStyle:an,getTriggerDOMNode:Ne,onPopupVisibleChange:Me}),ct)},ue=h.forwardRef(pe);ue.displayName="SelectTrigger";var Z=ue,H=t(34589);function L(te,ae){var De=te.key,$e;return"value"in te&&($e=te.value),De!=null?De:$e!==void 0?$e:"rc-index-key-".concat(ae)}function R(te,ae){var De=te||{},$e=De.label,st=De.value,Ve=De.options,ct=De.groupLabel,Qe=$e||(ae?"children":"label");return{label:Qe,value:st||"value",options:Ve||"options",groupLabel:ct||Qe}}function ee(te){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},De=ae.fieldNames,$e=ae.childrenAsData,st=[],Ve=R(De,!1),ct=Ve.label,Qe=Ve.value,ft=Ve.options,vt=Ve.groupLabel;function Fe(Le,Je){Le.forEach(function(tt){if(Je||!(ft in tt)){var it=tt[Qe];st.push({key:L(tt,st.length),groupOption:Je,data:tt,label:tt[ct],value:it})}else{var yt=tt[vt];yt===void 0&&$e&&(yt=tt.label),st.push({key:L(tt,st.length),group:!0,data:tt,label:yt}),Fe(tt[ft],!0)}})}return Fe(te,!1),st}function x(te){var ae=(0,V.Z)({},te);return"props"in ae||Object.defineProperty(ae,"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`."),ae}}),ae}function d(te,ae){if(!ae||!ae.length)return null;var De=!1;function $e(Ve,ct){var Qe=(0,H.Z)(ct),ft=Qe[0],vt=Qe.slice(1);if(!ft)return[Ve];var Fe=Ve.split(ft);return De=De||Fe.length>1,Fe.reduce(function(Le,Je){return[].concat((0,v.Z)(Le),(0,v.Z)($e(Je,vt)))},[]).filter(function(Le){return Le})}var st=$e(te,ae);return De?st:null}var f=["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"],G=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function j(te){return te==="tags"||te==="multiple"}var B=h.forwardRef(function(te,ae){var De,$e,st=te.id,Ve=te.prefixCls,ct=te.className,Qe=te.showSearch,ft=te.tagRender,vt=te.direction,Fe=te.omitDomProps,Le=te.displayValues,Je=te.onDisplayValuesChange,tt=te.emptyOptions,it=te.notFoundContent,yt=it===void 0?"Not Found":it,jt=te.onClear,St=te.mode,Ge=te.disabled,ye=te.loading,we=te.getInputElement,Ne=te.getRawInputElement,Me=te.open,Ae=te.defaultOpen,Ke=te.onDropdownVisibleChange,Ze=te.activeValue,ot=te.onActiveValueChange,mt=te.activeDescendantId,gt=te.searchValue,Bt=te.autoClearSearchValue,Wt=te.onSearch,an=te.onSearchSplit,Ct=te.tokenSeparators,ht=te.allowClear,qt=te.suffixIcon,Xt=te.clearIcon,En=te.OptionList,Ht=te.animation,Jt=te.transitionName,ln=te.dropdownStyle,Ut=te.dropdownClassName,Dn=te.dropdownMatchSelectWidth,Gn=te.dropdownRender,zt=te.dropdownAlign,Gt=te.placement,Dt=te.builtinPlacements,xn=te.getPopupContainer,wn=te.showAction,gn=wn===void 0?[]:wn,_n=te.onFocus,zn=te.onBlur,tr=te.onKeyUp,Vn=te.onKeyDown,Wn=te.onMouseDown,or=(0,k.Z)(te,f),xt=j(St),Pt=(Qe!==void 0?Qe:xt)||St==="combobox",on=(0,V.Z)({},or);G.forEach(function(qn){delete on[qn]}),Fe==null||Fe.forEach(function(qn){delete on[qn]});var kn=h.useState(!1),rr=(0,C.Z)(kn,2),gr=rr[0],nr=rr[1];h.useEffect(function(){nr((0,a.Z)())},[]);var mr=h.useRef(null),_r=h.useRef(null),Er=h.useRef(null),yr=h.useRef(null),Qn=h.useRef(null),br=c(),kr=(0,C.Z)(br,3),Ar=kr[0],Ir=kr[1],Wr=kr[2];h.useImperativeHandle(ae,function(){var qn,Hn;return{focus:(qn=yr.current)===null||qn===void 0?void 0:qn.focus,blur:(Hn=yr.current)===null||Hn===void 0?void 0:Hn.blur,scrollTo:function(jr){var Zr;return(Zr=Qn.current)===null||Zr===void 0?void 0:Zr.scrollTo(jr)}}});var Hr=h.useMemo(function(){var qn;if(St!=="combobox")return gt;var Hn=(qn=Le[0])===null||qn===void 0?void 0:qn.value;return typeof Hn=="string"||typeof Hn=="number"?String(Hn):""},[gt,St,Le]),ti=St==="combobox"&&typeof we=="function"&&we()||null,qr=typeof Ne=="function"&&Ne(),_i=(0,b.x1)(_r,qr==null||(De=qr.props)===null||De===void 0?void 0:De.ref),yi=h.useState(!1),li=(0,C.Z)(yi,2),Ur=li[0],Pi=li[1];(0,r.Z)(function(){Pi(!0)},[]);var bi=(0,W.Z)(!1,{defaultValue:Ae,value:Me}),ui=(0,C.Z)(bi,2),ci=ui[0],ni=ui[1],tn=Ur?ci:!1,Rn=!yt&&tt;(Ge||Rn&&tn&&St==="combobox")&&(tn=!1);var un=Rn?!1:tn,Cn=h.useCallback(function(qn){var Hn=qn!==void 0?qn:!tn;Ge||(ni(Hn),tn!==Hn&&(Ke==null||Ke(Hn)))},[Ge,tn,ni,Ke]),Fn=h.useMemo(function(){return(Ct||[]).some(function(qn){return[`
|
|
|
`,`\r
|
|
|
`].includes(qn)})},[Ct]),Jn=function(Hn,ei,jr){var Zr=!0,ri=Hn;ot==null||ot(null);var oi=jr?null:d(Hn,Ct);return St!=="combobox"&&oi&&(ri="",an==null||an(oi),Cn(!1),Zr=!1),Wt&&Hr!==ri&&Wt(ri,{source:ei?"typing":"effect"}),Zr},Lr=function(Hn){!Hn||!Hn.trim()||Wt(Hn,{source:"submit"})};h.useEffect(function(){!tn&&!xt&&St!=="combobox"&&Jn("",!1,!1)},[tn]),h.useEffect(function(){ci&&Ge&&ni(!1),Ge&&Ir(!1)},[Ge]);var xr=s(),wr=(0,C.Z)(xr,2),Rr=wr[0],di=wr[1],Di=function(Hn){var ei=Rr(),jr=Hn.which;if(jr===u.Z.ENTER&&(St!=="combobox"&&Hn.preventDefault(),tn||Cn(!0)),di(!!Hr),jr===u.Z.BACKSPACE&&!ei&&xt&&!Hr&&Le.length){for(var Zr=(0,v.Z)(Le),ri=null,oi=Zr.length-1;oi>=0;oi-=1){var $i=Zr[oi];if(!$i.disabled){Zr.splice(oi,1),ri=$i;break}}ri&&Je(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(tn&&Qn.current){var ha;(ha=Qn.current).onKeyDown.apply(ha,[Hn].concat(Xi))}Vn==null||Vn.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(tn&&Qn.current){var ri;(ri=Qn.current).onKeyUp.apply(ri,[Hn].concat(jr))}tr==null||tr.apply(void 0,[Hn].concat(jr))},mi=function(Hn){var ei=Le.filter(function(jr){return jr!==Hn});Je(ei,{type:"remove",values:[Hn]})},ai=h.useRef(!1),Yt=function(){Ir(!0),Ge||(_n&&!ai.current&&_n.apply(void 0,arguments),gn.includes("focus")&&Cn(!0)),ai.current=!0},Tn=function(){Ir(!1,function(){ai.current=!1,Cn(!1)}),!Ge&&(Hr&&(St==="tags"?Wt(Hr,{source:"submit"}):St==="multiple"&&Wt("",{source:"blur"})),zn&&zn.apply(void 0,arguments))},pr=[];h.useEffect(function(){return function(){pr.forEach(function(qn){return clearTimeout(qn)}),pr.splice(0,pr.length)}},[]);var Br=function(Hn){var ei,jr=Hn.target,Zr=(ei=Er.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),Wr(),!gr&&!Zr.contains(document.activeElement)){var Mi;(Mi=yr.current)===null||Mi===void 0||Mi.focus()}});pr.push(ri)}for(var oi=arguments.length,$i=new Array(oi>1?oi-1:0),xi=1;xi<oi;xi++)$i[xi-1]=arguments[xi];Wn==null||Wn.apply(void 0,[Hn].concat($i))},cr=h.useState({}),zi=(0,C.Z)(cr,2),ji=zi[1];function Wi(){ji({})}var Ti;qr&&(Ti=function(Hn){Cn(Hn)}),w(function(){var qn;return[mr.current,(qn=Er.current)===null||qn===void 0?void 0:qn.getPopupElement()]},un,Cn,!!qr);var xa=h.useMemo(function(){return(0,V.Z)((0,V.Z)({},te),{},{notFoundContent:yt,open:tn,triggerOpen:un,id:st,showSearch:Pt,multiple:xt,toggleOpen:Cn})},[te,yt,un,tn,st,Pt,xt,Cn]),la=!!qt||ye,aa;la&&(aa=h.createElement(E,{className:n()("".concat(Ve,"-arrow"),(0,N.Z)({},"".concat(Ve,"-arrow-loading"),ye)),customizeIcon:qt,customizeIconProps:{loading:ye,searchValue:Hr,open:tn,focused:Ar,showSearch:Pt}}));var ea=function(){var Hn;jt==null||jt(),(Hn=yr.current)===null||Hn===void 0||Hn.focus(),Je([],{type:"clear",values:Le}),Jn("",!1,!1)},ua=y(Ve,ea,Le,ht,Xt,Ge,Hr,St),ta=ua.allowClear,Fi=ua.clearIcon,ca=h.createElement(En,{ref:Qn}),da=n()(Ve,ct,($e={},(0,N.Z)($e,"".concat(Ve,"-focused"),Ar),(0,N.Z)($e,"".concat(Ve,"-multiple"),xt),(0,N.Z)($e,"".concat(Ve,"-single"),!xt),(0,N.Z)($e,"".concat(Ve,"-allow-clear"),ht),(0,N.Z)($e,"".concat(Ve,"-show-arrow"),la),(0,N.Z)($e,"".concat(Ve,"-disabled"),Ge),(0,N.Z)($e,"".concat(Ve,"-loading"),ye),(0,N.Z)($e,"".concat(Ve,"-open"),tn),(0,N.Z)($e,"".concat(Ve,"-customize-input"),ti),(0,N.Z)($e,"".concat(Ve,"-show-search"),Pt),$e)),fa=h.createElement(Z,{ref:Er,disabled:Ge,prefixCls:Ve,visible:un,popupElement:ca,animation:Ht,transitionName:Jt,dropdownStyle:ln,dropdownClassName:Ut,direction:vt,dropdownMatchSelectWidth:Dn,dropdownRender:Gn,dropdownAlign:zt,placement:Gt,builtinPlacements:Dt,getPopupContainer:xn,empty:tt,getTriggerDOMNode:function(){return _r.current},onPopupVisibleChange:Ti,onPopupMouseEnter:Wi},qr?h.cloneElement(qr,{ref:_i}):h.createElement(Ue,(0,_.Z)({},te,{domRef:_r,prefixCls:Ve,inputElement:ti,ref:yr,id:st,showSearch:Pt,autoClearSearchValue:Bt,mode:St,activeDescendantId:mt,tagRender:ft,values:Le,open:tn,onToggleOpen:Cn,activeValue:Ze,searchValue:Hr,onSearch:Jn,onSearchSubmit:Lr,onRemove:mi,tokenWithEnter:Fn}))),Gi;return qr?Gi=fa:Gi=h.createElement("div",(0,_.Z)({className:da},on,{ref:mr,onMouseDown:Br,onKeyDown:Di,onKeyUp:Zi,onFocus:Yt,onBlur:Tn}),Ar&&!tn&&h.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Le.map(function(qn){var Hn=qn.label,ei=qn.value;return["number","string"].includes((0,l.Z)(Hn))?Hn:ei}).join(", "))),fa,aa,ta&&Fi),h.createElement(I.Provider,{value:xa},Gi)}),q=B,de=function(te,ae){var De=h.useRef({values:new Map,options:new Map}),$e=h.useMemo(function(){var Ve=De.current,ct=Ve.values,Qe=Ve.options,ft=te.map(function(Le){if(Le.label===void 0){var Je;return(0,V.Z)((0,V.Z)({},Le),{},{label:(Je=ct.get(Le.value))===null||Je===void 0?void 0:Je.label})}return Le}),vt=new Map,Fe=new Map;return ft.forEach(function(Le){vt.set(Le.value,Le),Fe.set(Le.value,ae.get(Le.value)||Qe.get(Le.value))}),De.current.values=vt,De.current.options=Fe,ft},[te,ae]),st=h.useCallback(function(Ve){return ae.get(Ve)||De.current.options.get(Ve)},[ae]);return[$e,st]};function oe(te,ae){return M(te).join("").toUpperCase().includes(ae)}var le=function(te,ae,De,$e,st){return h.useMemo(function(){if(!De||$e===!1)return te;var Ve=ae.options,ct=ae.label,Qe=ae.value,ft=[],vt=typeof $e=="function",Fe=De.toUpperCase(),Le=vt?$e:function(tt,it){return st?oe(it[st],Fe):it[Ve]?oe(it[ct!=="children"?ct:"label"],Fe):oe(it[Qe],Fe)},Je=vt?function(tt){return x(tt)}:function(tt){return tt};return te.forEach(function(tt){if(tt[Ve]){var it=Le(De,Je(tt));if(it)ft.push(tt);else{var yt=tt[Ve].filter(function(jt){return Le(De,Je(jt))});yt.length&&ft.push((0,V.Z)((0,V.Z)({},tt),{},(0,N.Z)({},Ve,yt)))}return}Le(De,Je(tt))&&ft.push(tt)}),ft},[te,$e,st,De,ae])},_e=t(17115),Ee=t(11592),ge=["children","value"],Ce=["children"];function Oe(te){var ae=te,De=ae.key,$e=ae.props,st=$e.children,Ve=$e.value,ct=(0,k.Z)($e,ge);return(0,V.Z)({key:De,value:Ve!==void 0?Ve:De,children:st},ct)}function Se(te){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Ee.Z)(te).map(function(De,$e){if(!h.isValidElement(De)||!De.type)return null;var st=De,Ve=st.type.isSelectOptGroup,ct=st.key,Qe=st.props,ft=Qe.children,vt=(0,k.Z)(Qe,Ce);return ae||!Ve?Oe(De):(0,V.Z)((0,V.Z)({key:"__RC_SELECT_GRP__".concat(ct===null?$e:ct,"__"),label:ct},vt),{},{options:Se(ft)})}).filter(function(De){return De})}function Xe(te,ae,De,$e,st){return h.useMemo(function(){var Ve=te,ct=!te;ct&&(Ve=Se(ae));var Qe=new Map,ft=new Map,vt=function(Je,tt,it){it&&typeof it=="string"&&Je.set(tt[it],tt)};function Fe(Le){for(var Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,tt=0;tt<Le.length;tt+=1){var it=Le[tt];!it[De.options]||Je?(Qe.set(it[De.value],it),vt(ft,it,De.label),vt(ft,it,$e),vt(ft,it,st)):Fe(it[De.options],!0)}}return Fe(Ve),{options:Ve,valueOptions:Qe,labelOptions:ft}},[te,ae,De,$e,st])}function Ye(te){var ae=h.useRef();ae.current=te;var De=h.useCallback(function(){return ae.current.apply(ae,arguments)},[]);return De}var pt=function(){return null};pt.isSelectOptGroup=!0;var dt=pt,At=function(){return null};At.isSelectOption=!0;var Rt=At,Zt=t(80547),Nt=t(2738),sn=t(4409),Lt=h.createContext(null),rt=Lt;function Vt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var _t=["disabled","title","children","style","className"];function Et(te){return typeof te=="string"||typeof te=="number"}var rn=function(ae,De){var $e=S(),st=$e.prefixCls,Ve=$e.id,ct=$e.open,Qe=$e.multiple,ft=$e.mode,vt=$e.searchValue,Fe=$e.toggleOpen,Le=$e.notFoundContent,Je=$e.onPopupScroll,tt=h.useContext(rt),it=tt.flattenOptions,yt=tt.onActiveValue,jt=tt.defaultActiveFirstOption,St=tt.onSelect,Ge=tt.menuItemSelectedIcon,ye=tt.rawValues,we=tt.fieldNames,Ne=tt.virtual,Me=tt.direction,Ae=tt.listHeight,Ke=tt.listItemHeight,Ze="".concat(st,"-item"),ot=(0,Zt.Z)(function(){return it},[ct,it],function(zt,Gt){return Gt[0]&&zt[1]!==Gt[1]}),mt=h.useRef(null),gt=function(Gt){Gt.preventDefault()},Bt=function(Gt){mt.current&&mt.current.scrollTo(typeof Gt=="number"?{index:Gt}:Gt)},Wt=function(Gt){for(var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,xn=ot.length,wn=0;wn<xn;wn+=1){var gn=(Gt+wn*Dt+xn)%xn,_n=ot[gn],zn=_n.group,tr=_n.data;if(!zn&&!tr.disabled)return gn}return-1},an=h.useState(function(){return Wt(0)}),Ct=(0,C.Z)(an,2),ht=Ct[0],qt=Ct[1],Xt=function(Gt){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;qt(Gt);var xn={source:Dt?"keyboard":"mouse"},wn=ot[Gt];if(!wn){yt(null,-1,xn);return}yt(wn.value,Gt,xn)};(0,h.useEffect)(function(){Xt(jt!==!1?Wt(0):-1)},[ot.length,vt]);var En=h.useCallback(function(zt){return ye.has(zt)&&ft!=="combobox"},[ft,(0,v.Z)(ye).toString(),ye.size]);(0,h.useEffect)(function(){var zt=setTimeout(function(){if(!Qe&&ct&&ye.size===1){var Dt=Array.from(ye)[0],xn=ot.findIndex(function(wn){var gn=wn.data;return gn.value===Dt});xn!==-1&&(Xt(xn),Bt(xn))}});if(ct){var Gt;(Gt=mt.current)===null||Gt===void 0||Gt.scrollTo(void 0)}return function(){return clearTimeout(zt)}},[ct,vt,it.length]);var Ht=function(Gt){Gt!==void 0&&St(Gt,{selected:!ye.has(Gt)}),Qe||Fe(!1)};if(h.useImperativeHandle(De,function(){return{onKeyDown:function(Gt){var Dt=Gt.which,xn=Gt.ctrlKey;switch(Dt){case u.Z.N:case u.Z.P:case u.Z.UP:case u.Z.DOWN:{var wn=0;if(Dt===u.Z.UP?wn=-1:Dt===u.Z.DOWN?wn=1:Vt()&&xn&&(Dt===u.Z.N?wn=1:Dt===u.Z.P&&(wn=-1)),wn!==0){var gn=Wt(ht+wn,wn);Bt(gn),Xt(gn,!0)}break}case u.Z.ENTER:{var _n=ot[ht];_n&&!_n.data.disabled?Ht(_n.value):Ht(void 0),ct&&Gt.preventDefault();break}case u.Z.ESC:Fe(!1),ct&&Gt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Gt){Bt(Gt)}}}),ot.length===0)return h.createElement("div",{role:"listbox",id:"".concat(Ve,"_list"),className:"".concat(Ze,"-empty"),onMouseDown:gt},Le);var Jt=Object.keys(we).map(function(zt){return we[zt]}),ln=function(Gt){return Gt.label};function Ut(zt,Gt){var Dt=zt.group;return{role:Dt?"presentation":"option",id:"".concat(Ve,"_list_").concat(Gt)}}var Dn=function(Gt){var Dt=ot[Gt];if(!Dt)return null;var xn=Dt.data||{},wn=xn.value,gn=Dt.group,_n=(0,D.Z)(xn,!0),zn=ln(Dt);return Dt?h.createElement("div",(0,_.Z)({"aria-label":typeof zn=="string"&&!gn?zn:null},_n,{key:Gt},Ut(Dt,Gt),{"aria-selected":En(wn)}),wn):null},Gn={role:"listbox",id:"".concat(Ve,"_list")};return h.createElement(h.Fragment,null,Ne&&h.createElement("div",(0,_.Z)({},Gn,{style:{height:0,width:0,overflow:"hidden"}}),Dn(ht-1),Dn(ht),Dn(ht+1)),h.createElement(sn.Z,{itemKey:"key",ref:mt,data:ot,height:Ae,itemHeight:Ke,fullHeight:!1,onMouseDown:gt,onScroll:Je,virtual:Ne,direction:Me,innerProps:Ne?null:Gn},function(zt,Gt){var Dt,xn=zt.group,wn=zt.groupOption,gn=zt.data,_n=zt.label,zn=zt.value,tr=gn.key;if(xn){var Vn,Wn=(Vn=gn.title)!==null&&Vn!==void 0?Vn:Et(_n)?_n.toString():void 0;return h.createElement("div",{className:n()(Ze,"".concat(Ze,"-group")),title:Wn},_n!==void 0?_n:tr)}var or=gn.disabled,xt=gn.title,Pt=gn.children,on=gn.style,kn=gn.className,rr=(0,k.Z)(gn,_t),gr=(0,Nt.Z)(rr,Jt),nr=En(zn),mr="".concat(Ze,"-option"),_r=n()(Ze,mr,kn,(Dt={},(0,N.Z)(Dt,"".concat(mr,"-grouped"),wn),(0,N.Z)(Dt,"".concat(mr,"-active"),ht===Gt&&!or),(0,N.Z)(Dt,"".concat(mr,"-disabled"),or),(0,N.Z)(Dt,"".concat(mr,"-selected"),nr),Dt)),Er=ln(zt),yr=!Ge||typeof Ge=="function"||nr,Qn=typeof Er=="number"?Er:Er||zn,br=Et(Qn)?Qn.toString():void 0;return xt!==void 0&&(br=xt),h.createElement("div",(0,_.Z)({},(0,D.Z)(gr),Ne?{}:Ut(zt,Gt),{"aria-selected":nr,className:_r,title:br,onMouseMove:function(){ht===Gt||or||Xt(Gt)},onClick:function(){or||Ht(zn)},style:on}),h.createElement("div",{className:"".concat(mr,"-content")},Qn),h.isValidElement(Ge)||nr,yr&&h.createElement(E,{className:"".concat(Ze,"-option-state"),customizeIcon:Ge,customizeIconProps:{isSelected:nr}},nr?"\u2713":null))}))},hn=h.forwardRef(rn);hn.displayName="OptionList";var Pn=hn;function Sn(te){var ae=te.mode,De=te.options,$e=te.children,st=te.backfill,Ve=te.allowClear,ct=te.placeholder,Qe=te.getInputElement,ft=te.showSearch,vt=te.onSearch,Fe=te.defaultOpen,Le=te.autoFocus,Je=te.labelInValue,tt=te.value,it=te.inputValue,yt=te.optionLabelProp,jt=isMultiple(ae),St=ft!==void 0?ft:jt||ae==="combobox",Ge=De||convertChildrenToData($e);if(warning(ae!=="tags"||Ge.every(function(Me){return!Me.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),ae==="tags"||ae==="combobox"){var ye=Ge.some(function(Me){return Me.options?Me.options.some(function(Ae){return typeof("value"in Ae?Ae.value:Ae.key)=="number"}):typeof("value"in Me?Me.value:Me.key)=="number"});warning(!ye,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(ae!=="combobox"||!yt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(ae==="combobox"||!st,"`backfill` only works with `combobox` mode."),warning(ae==="combobox"||!Qe,"`getInputElement` only work with `combobox` mode."),noteOnce(ae!=="combobox"||!Qe||!Ve||!ct,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),vt&&!St&&ae!=="combobox"&&ae!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Fe||Le,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),tt!=null){var we=toArray(tt);warning(!Je||we.every(function(Me){return _typeof(Me)==="object"&&("key"in Me||"value"in Me)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!jt||Array.isArray(tt),"`value` should be array when `mode` is `multiple` or `tags`")}if($e){var Ne=null;toNodeArray($e).some(function(Me){if(!React.isValidElement(Me)||!Me.type)return!1;var Ae=Me,Ke=Ae.type;if(Ke.isSelectOption)return!1;if(Ke.isSelectOptGroup){var Ze=toNodeArray(Me.props.children).every(function(ot){return!React.isValidElement(ot)||!Me.type||ot.type.isSelectOption?!0:(Ne=ot.type,!1)});return!Ze}return Ne=Ke,!0}),Ne&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ne.displayName||Ne.name||Ne,"`.")),warning(it===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function $n(te,ae){if(te){var De=function $e(st){for(var Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ct=0;ct<st.length;ct++){var Qe=st[ct];if(Qe[ae==null?void 0:ae.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Ve&&Array.isArray(Qe[ae==null?void 0:ae.options])&&$e(Qe[ae==null?void 0:ae.options],!0))break}};De(te)}}var Kn=null,Nn=["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"],Zn=["inputValue"];function Mt(te){return!te||(0,l.Z)(te)!=="object"}var Ft=h.forwardRef(function(te,ae){var De=te.id,$e=te.mode,st=te.prefixCls,Ve=st===void 0?"rc-select":st,ct=te.backfill,Qe=te.fieldNames,ft=te.inputValue,vt=te.searchValue,Fe=te.onSearch,Le=te.autoClearSearchValue,Je=Le===void 0?!0:Le,tt=te.onSelect,it=te.onDeselect,yt=te.dropdownMatchSelectWidth,jt=yt===void 0?!0:yt,St=te.filterOption,Ge=te.filterSort,ye=te.optionFilterProp,we=te.optionLabelProp,Ne=te.options,Me=te.children,Ae=te.defaultActiveFirstOption,Ke=te.menuItemSelectedIcon,Ze=te.virtual,ot=te.direction,mt=te.listHeight,gt=mt===void 0?200:mt,Bt=te.listItemHeight,Wt=Bt===void 0?20:Bt,an=te.value,Ct=te.defaultValue,ht=te.labelInValue,qt=te.onChange,Xt=(0,k.Z)(te,Nn),En=(0,_e.ZP)(De),Ht=j($e),Jt=!!(!Ne&&Me),ln=h.useMemo(function(){return St===void 0&&$e==="combobox"?!1:St},[St,$e]),Ut=h.useMemo(function(){return R(Qe,Jt)},[JSON.stringify(Qe),Jt]),Dn=(0,W.Z)("",{value:vt!==void 0?vt:ft,postState:function(Rn){return Rn||""}}),Gn=(0,C.Z)(Dn,2),zt=Gn[0],Gt=Gn[1],Dt=Xe(Ne,Me,Ut,ye,we),xn=Dt.valueOptions,wn=Dt.labelOptions,gn=Dt.options,_n=h.useCallback(function(tn){var Rn=M(tn);return Rn.map(function(un){var Cn,Fn,Jn,Lr,xr;if(Mt(un))Cn=un;else{var wr;Jn=un.key,Fn=un.label,Cn=(wr=un.value)!==null&&wr!==void 0?wr:Jn}var Rr=xn.get(Cn);if(Rr){var di;if(Fn===void 0&&(Fn=Rr==null?void 0:Rr[we||Ut.label]),Jn===void 0&&(Jn=(di=Rr==null?void 0:Rr.key)!==null&&di!==void 0?di:Cn),Lr=Rr==null?void 0:Rr.disabled,xr=Rr==null?void 0:Rr.title,0)var Di}return{label:Fn,value:Cn,key:Jn,disabled:Lr,title:xr}})},[Ut,we,xn]),zn=(0,W.Z)(Ct,{value:an}),tr=(0,C.Z)(zn,2),Vn=tr[0],Wn=tr[1],or=h.useMemo(function(){var tn,Rn=_n(Vn);return $e==="combobox"&&A((tn=Rn[0])===null||tn===void 0?void 0:tn.value)?[]:Rn},[Vn,_n,$e]),xt=de(or,xn),Pt=(0,C.Z)(xt,2),on=Pt[0],kn=Pt[1],rr=h.useMemo(function(){if(!$e&&on.length===1){var tn=on[0];if(tn.value===null&&(tn.label===null||tn.label===void 0))return[]}return on.map(function(Rn){var un;return(0,V.Z)((0,V.Z)({},Rn),{},{label:(un=Rn.label)!==null&&un!==void 0?un:Rn.value})})},[$e,on]),gr=h.useMemo(function(){return new Set(on.map(function(tn){return tn.value}))},[on]);h.useEffect(function(){if($e==="combobox"){var tn,Rn=(tn=on[0])===null||tn===void 0?void 0:tn.value;Gt(O(Rn)?String(Rn):"")}},[on]);var nr=Ye(function(tn,Rn){var un,Cn=Rn!=null?Rn:tn;return un={},(0,N.Z)(un,Ut.value,tn),(0,N.Z)(un,Ut.label,Cn),un}),mr=h.useMemo(function(){if($e!=="tags")return gn;var tn=(0,v.Z)(gn),Rn=function(Cn){return xn.has(Cn)};return(0,v.Z)(on).sort(function(un,Cn){return un.value<Cn.value?-1:1}).forEach(function(un){var Cn=un.value;Rn(Cn)||tn.push(nr(Cn,un.label))}),tn},[nr,gn,xn,on,$e]),_r=le(mr,Ut,zt,ln,ye),Er=h.useMemo(function(){return $e!=="tags"||!zt||_r.some(function(tn){return tn[ye||"value"]===zt})||_r.some(function(tn){return tn[Ut.value]===zt})?_r:[nr(zt)].concat((0,v.Z)(_r))},[nr,ye,$e,_r,zt,Ut]),yr=h.useMemo(function(){return Ge?(0,v.Z)(Er).sort(function(tn,Rn){return Ge(tn,Rn)}):Er},[Er,Ge]),Qn=h.useMemo(function(){return ee(yr,{fieldNames:Ut,childrenAsData:Jt})},[yr,Ut,Jt]),br=function(Rn){var un=_n(Rn);if(Wn(un),qt&&(un.length!==on.length||un.some(function(Jn,Lr){var xr;return((xr=on[Lr])===null||xr===void 0?void 0:xr.value)!==(Jn==null?void 0:Jn.value)}))){var Cn=ht?un:un.map(function(Jn){return Jn.value}),Fn=un.map(function(Jn){return x(kn(Jn.value))});qt(Ht?Cn:Cn[0],Ht?Fn:Fn[0])}},kr=h.useState(null),Ar=(0,C.Z)(kr,2),Ir=Ar[0],Wr=Ar[1],Hr=h.useState(0),ti=(0,C.Z)(Hr,2),qr=ti[0],_i=ti[1],yi=Ae!==void 0?Ae:$e!=="combobox",li=h.useCallback(function(tn,Rn){var un=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Cn=un.source,Fn=Cn===void 0?"keyboard":Cn;_i(Rn),ct&&$e==="combobox"&&tn!==null&&Fn==="keyboard"&&Wr(String(tn))},[ct,$e]),Ur=function(Rn,un,Cn){var Fn=function(){var ai,Yt=kn(Rn);return[ht?{label:Yt==null?void 0:Yt[Ut.label],value:Rn,key:(ai=Yt==null?void 0:Yt.key)!==null&&ai!==void 0?ai:Rn}:Rn,x(Yt)]};if(un&&tt){var Jn=Fn(),Lr=(0,C.Z)(Jn,2),xr=Lr[0],wr=Lr[1];tt(xr,wr)}else if(!un&&it&&Cn!=="clear"){var Rr=Fn(),di=(0,C.Z)(Rr,2),Di=di[0],Zi=di[1];it(Di,Zi)}},Pi=Ye(function(tn,Rn){var un,Cn=Ht?Rn.selected:!0;Cn?un=Ht?[].concat((0,v.Z)(on),[tn]):[tn]:un=on.filter(function(Fn){return Fn.value!==tn}),br(un),Ur(tn,Cn),$e==="combobox"?Wr(""):(!j||Je)&&(Gt(""),Wr(""))}),bi=function(Rn,un){br(Rn);var Cn=un.type,Fn=un.values;(Cn==="remove"||Cn==="clear")&&Fn.forEach(function(Jn){Ur(Jn.value,!1,Cn)})},ui=function(Rn,un){if(Gt(Rn),Wr(null),un.source==="submit"){var Cn=(Rn||"").trim();if(Cn){var Fn=Array.from(new Set([].concat((0,v.Z)(gr),[Cn])));br(Fn),Ur(Cn,!0),Gt("")}return}un.source!=="blur"&&($e==="combobox"&&br(Rn),Fe==null||Fe(Rn))},ci=function(Rn){var un=Rn;$e!=="tags"&&(un=Rn.map(function(Fn){var Jn=wn.get(Fn);return Jn==null?void 0:Jn.value}).filter(function(Fn){return Fn!==void 0}));var Cn=Array.from(new Set([].concat((0,v.Z)(gr),(0,v.Z)(un))));br(Cn),Cn.forEach(function(Fn){Ur(Fn,!0)})},ni=h.useMemo(function(){var tn=Ze!==!1&&jt!==!1;return(0,V.Z)((0,V.Z)({},Dt),{},{flattenOptions:Qn,onActiveValue:li,defaultActiveFirstOption:yi,onSelect:Pi,menuItemSelectedIcon:Ke,rawValues:gr,fieldNames:Ut,virtual:tn,direction:ot,listHeight:gt,listItemHeight:Wt,childrenAsData:Jt})},[Dt,Qn,li,yi,Pi,Ke,gr,Ut,Ze,jt,gt,Wt,Jt]);return h.createElement(rt.Provider,{value:ni},h.createElement(q,(0,_.Z)({},Xt,{id:En,prefixCls:Ve,ref:ae,omitDomProps:Zn,mode:$e,displayValues:rr,onDisplayValuesChange:bi,direction:ot,searchValue:zt,onSearch:ui,autoClearSearchValue:Je,onSearchSplit:ci,dropdownMatchSelectWidth:jt,OptionList:Pn,emptyOptions:!Qn.length,activeValue:Ir,activeDescendantId:"".concat(En,"_list_").concat(qr)})))}),ce=Ft;ce.Option=Rt,ce.OptGroup=dt;var Be=ce,ke=Be},9296:function(qe,ve,t){"use strict";t.r(ve),t.d(ve,{ResizableTextArea:function(){return X},default:function(){return A}});var _=t(92413),v=t(33708),N=t(400),V=t(39559),C=t(33606),k=t(37061),l=t(26407),W=t(92310),e=t.n(W),h=t(93681),m=t(5643),n=t(18929),r=t(59301),a=t(29301),u=t(34280),b=t(16089),z=`
|
|
|
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"],y={},I;function S($){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o=$.getAttribute("id")||$.getAttribute("data-reactid")||$.getAttribute("name");if(i&&y[o])return y[o];var p=window.getComputedStyle($),F=p.getPropertyValue("box-sizing")||p.getPropertyValue("-moz-box-sizing")||p.getPropertyValue("-webkit-box-sizing"),re=parseFloat(p.getPropertyValue("padding-bottom"))+parseFloat(p.getPropertyValue("padding-top")),ie=parseFloat(p.getPropertyValue("border-bottom-width"))+parseFloat(p.getPropertyValue("border-top-width")),ne=E.map(function(xe){return"".concat(xe,":").concat(p.getPropertyValue(xe))}).join(";"),me={sizingStyle:ne,paddingSize:re,borderSize:ie,boxSizing:F};return i&&o&&(y[o]=me),me}function c($){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,p=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)),$.getAttribute("wrap")?I.setAttribute("wrap",$.getAttribute("wrap")):I.removeAttribute("wrap");var F=S($,i),re=F.paddingSize,ie=F.borderSize,ne=F.boxSizing,me=F.sizingStyle;I.setAttribute("style","".concat(me,";").concat(z)),I.value=$.value||$.placeholder||"";var xe=void 0,He=void 0,Pe,Ue=I.scrollHeight;if(ne==="border-box"?Ue+=ie:ne==="content-box"&&(Ue-=re),o!==null||p!==null){I.value=" ";var et=I.scrollHeight-re;o!==null&&(xe=et*o,ne==="border-box"&&(xe=xe+re+ie),Ue=Math.max(xe,Ue)),p!==null&&(He=et*p,ne==="border-box"&&(He=He+re+ie),Pe=Ue>He?"":"hidden",Ue=Math.min(He,Ue))}var lt={height:Ue,overflowY:Pe,resize:"none"};return xe&&(lt.minHeight=xe),He&&(lt.maxHeight=He),lt}var s=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],w=0,D=1,Y=2,J=r.forwardRef(function($,i){var o=$,p=o.prefixCls,F=o.onPressEnter,re=o.defaultValue,ie=o.value,ne=o.autoSize,me=o.onResize,xe=o.className,He=o.style,Pe=o.disabled,Ue=o.onChange,et=o.onInternalAutoSize,lt=(0,k.Z)(o,s),je=(0,n.Z)(re,{value:ie,postState:function(dt){return dt!=null?dt:""}}),pe=(0,C.Z)(je,2),ue=pe[0],Z=pe[1],H=function(dt){Z(dt.target.value),Ue==null||Ue(dt)},L=r.useRef();r.useImperativeHandle(i,function(){return{textArea:L.current}});var R=r.useMemo(function(){return ne&&(0,V.Z)(ne)==="object"?[ne.minRows,ne.maxRows]:[]},[ne]),ee=(0,C.Z)(R,2),x=ee[0],d=ee[1],f=!!ne,G=function(){try{if(document.activeElement===L.current){var dt=L.current,At=dt.selectionStart,Rt=dt.selectionEnd,Zt=dt.scrollTop;L.current.setSelectionRange(At,Rt),L.current.scrollTop=Zt}}catch(Nt){}},j=r.useState(Y),B=(0,C.Z)(j,2),q=B[0],de=B[1],oe=r.useState(),le=(0,C.Z)(oe,2),_e=le[0],Ee=le[1],ge=function(){de(w)};(0,u.Z)(function(){f&&ge()},[ie,x,d,f]),(0,u.Z)(function(){if(q===w)de(D);else if(q===D){var pt=c(L.current,!1,x,d);de(Y),Ee(pt)}else G()},[q]);var Ce=r.useRef(),Oe=function(){b.Z.cancel(Ce.current)},Se=function(dt){q===Y&&(me==null||me(dt),ne&&(Oe(),Ce.current=(0,b.Z)(function(){ge()})))};r.useEffect(function(){return Oe},[]);var Xe=f?_e:null,Ye=(0,v.Z)((0,v.Z)({},He),Xe);return(q===w||q===D)&&(Ye.overflowY="hidden",Ye.overflowX="hidden"),r.createElement(a.Z,{onResize:Se,disabled:!(ne||me)},r.createElement("textarea",(0,_.Z)({},lt,{ref:L,style:Ye,className:e()(p,xe,(0,N.Z)({},"".concat(p,"-disabled"),Pe)),disabled:Pe,value:ue,onChange:H})))}),X=J,U=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function M($,i){return(0,l.Z)($||"").slice(0,i).join("")}function g($,i,o,p){var F=o;return $?F=M(o,p):(0,l.Z)(i||"").length<o.length&&(0,l.Z)(o||"").length>p&&(F=i),F}var K=r.forwardRef(function($,i){var o,p=$.defaultValue,F=$.value,re=$.onFocus,ie=$.onBlur,ne=$.onChange,me=$.allowClear,xe=$.maxLength,He=$.onCompositionStart,Pe=$.onCompositionEnd,Ue=$.suffix,et=$.prefixCls,lt=et===void 0?"rc-textarea":et,je=$.classes,pe=$.showCount,ue=$.className,Z=$.style,H=$.disabled,L=$.hidden,R=$.classNames,ee=$.styles,x=$.onResize,d=(0,k.Z)($,U),f=(0,n.Z)(p,{value:F,defaultValue:p}),G=(0,C.Z)(f,2),j=G[0],B=G[1],q=(0,r.useRef)(null),de=r.useState(!1),oe=(0,C.Z)(de,2),le=oe[0],_e=oe[1],Ee=r.useState(!1),ge=(0,C.Z)(Ee,2),Ce=ge[0],Oe=ge[1],Se=r.useRef(),Xe=r.useRef(0),Ye=r.useState(null),pt=(0,C.Z)(Ye,2),dt=pt[0],At=pt[1],Rt=function(){var Mt;(Mt=q.current)===null||Mt===void 0||Mt.textArea.focus()};(0,r.useImperativeHandle)(i,function(){return{resizableTextArea:q.current,focus:Rt,blur:function(){var Mt;(Mt=q.current)===null||Mt===void 0||Mt.textArea.blur()}}}),(0,r.useEffect)(function(){_e(function(Zn){return!H&&Zn})},[H]);var Zt=Number(xe)>0,Nt=function(Mt){Oe(!0),Se.current=j,Xe.current=Mt.currentTarget.selectionStart,He==null||He(Mt)},sn=function(Mt){Oe(!1);var Ft=Mt.currentTarget.value;if(Zt){var ce,Be=Xe.current>=xe+1||Xe.current===((ce=Se.current)===null||ce===void 0?void 0:ce.length);Ft=g(Be,Se.current,Ft,xe)}Ft!==j&&(B(Ft),(0,m.rJ)(Mt.currentTarget,Mt,ne,Ft)),Pe==null||Pe(Mt)},Lt=function(Mt){var Ft=Mt.target.value;if(!Ce&&Zt){var ce=Mt.target.selectionStart>=xe+1||Mt.target.selectionStart===Ft.length||!Mt.target.selectionStart;Ft=g(ce,j,Ft,xe)}B(Ft),(0,m.rJ)(Mt.currentTarget,Mt,ne,Ft)},rt=function(Mt){var Ft=d.onPressEnter,ce=d.onKeyDown;Mt.key==="Enter"&&Ft&&Ft(Mt),ce==null||ce(Mt)},Vt=function(Mt){_e(!0),re==null||re(Mt)},_t=function(Mt){_e(!1),ie==null||ie(Mt)},Et=function(Mt){var Ft;B(""),Rt(),(0,m.rJ)((Ft=q.current)===null||Ft===void 0?void 0:Ft.textArea,Mt,ne)},rn=(0,m.D7)(j);!Ce&&Zt&&F==null&&(rn=M(rn,xe));var hn=Ue,Pn;if(pe){var Sn=(0,l.Z)(rn).length;(0,V.Z)(pe)==="object"?Pn=pe.formatter({value:rn,count:Sn,maxLength:xe}):Pn="".concat(Sn).concat(Zt?" / ".concat(xe):""),hn=r.createElement(r.Fragment,null,hn,r.createElement("span",{className:e()("".concat(lt,"-data-count"),R==null?void 0:R.count),style:ee==null?void 0:ee.count},Pn))}var $n=function(Mt){var Ft;x==null||x(Mt),(Ft=q.current)!==null&&Ft!==void 0&&Ft.textArea.style.height&&At(!0)},Kn=!d.autoSize&&!pe&&!me,Nn=r.createElement(h.BaseInput,{value:rn,allowClear:me,handleReset:Et,suffix:hn,prefixCls:lt,classes:{affixWrapper:e()(je==null?void 0:je.affixWrapper,(o={},(0,N.Z)(o,"".concat(lt,"-show-count"),pe),(0,N.Z)(o,"".concat(lt,"-textarea-allow-clear"),me),o))},disabled:H,focused:le,className:ue,style:(0,v.Z)((0,v.Z)({},Z),dt&&!Kn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Pn=="string"?Pn:void 0}},hidden:L,inputElement:r.createElement(X,(0,_.Z)({},d,{onKeyDown:rt,onChange:Lt,onFocus:Vt,onBlur:_t,onCompositionStart:Nt,onCompositionEnd:sn,className:R==null?void 0:R.textarea,style:(0,v.Z)((0,v.Z)({},ee==null?void 0:ee.textarea),{},{resize:Z==null?void 0:Z.resize}),disabled:H,prefixCls:lt,onResize:$n,ref:q}))});return Nn}),O=K,A=O},55477:function(qe,ve,t){"use strict";t.d(ve,{G:function(){return r},Z:function(){return z}});var _=t(92413),v=t(33708),N=t(37061),V=t(35593),C=t(59301),k={shiftX:64,adjustY:1},l={adjustX:1,shiftY:!0},W=[0,0],e={left:{points:["cr","cl"],overflow:l,offset:[-4,0],targetOffset:W},right:{points:["cl","cr"],overflow:l,offset:[4,0],targetOffset:W},top:{points:["bc","tc"],overflow:k,offset:[0,-4],targetOffset:W},bottom:{points:["tc","bc"],overflow:k,offset:[0,4],targetOffset:W},topLeft:{points:["bl","tl"],overflow:k,offset:[0,-4],targetOffset:W},leftTop:{points:["tr","tl"],overflow:l,offset:[-4,0],targetOffset:W},topRight:{points:["br","tr"],overflow:k,offset:[0,-4],targetOffset:W},rightTop:{points:["tl","tr"],overflow:l,offset:[4,0],targetOffset:W},bottomRight:{points:["tr","br"],overflow:k,offset:[0,4],targetOffset:W},rightBottom:{points:["bl","br"],overflow:l,offset:[4,0],targetOffset:W},bottomLeft:{points:["tl","bl"],overflow:k,offset:[0,4],targetOffset:W},leftBottom:{points:["br","bl"],overflow:l,offset:[-4,0],targetOffset:W}},h=null,m=t(92310),n=t.n(m);function r(E){var y=E.children,I=E.prefixCls,S=E.id,c=E.overlayInnerStyle,s=E.className,w=E.style;return C.createElement("div",{className:n()("".concat(I,"-content"),s),style:w},C.createElement("div",{className:"".concat(I,"-inner"),id:S,role:"tooltip",style:c},typeof y=="function"?y():y))}var a=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],u=function(y,I){var S=y.overlayClassName,c=y.trigger,s=c===void 0?["hover"]:c,w=y.mouseEnterDelay,D=w===void 0?0:w,Y=y.mouseLeaveDelay,J=Y===void 0?.1:Y,X=y.overlayStyle,U=y.prefixCls,M=U===void 0?"rc-tooltip":U,g=y.children,K=y.onVisibleChange,O=y.afterVisibleChange,A=y.transitionName,$=y.animation,i=y.motion,o=y.placement,p=o===void 0?"right":o,F=y.align,re=F===void 0?{}:F,ie=y.destroyTooltipOnHide,ne=ie===void 0?!1:ie,me=y.defaultVisible,xe=y.getTooltipContainer,He=y.overlayInnerStyle,Pe=y.arrowContent,Ue=y.overlay,et=y.id,lt=y.showArrow,je=lt===void 0?!0:lt,pe=(0,N.Z)(y,a),ue=(0,C.useRef)(null);(0,C.useImperativeHandle)(I,function(){return ue.current});var Z=(0,v.Z)({},pe);"visible"in y&&(Z.popupVisible=y.visible);var H=function(){return C.createElement(r,{key:"content",prefixCls:M,id:et,overlayInnerStyle:He},Ue)};return C.createElement(V.Z,(0,_.Z)({popupClassName:S,prefixCls:M,popup:H,action:s,builtinPlacements:e,popupPlacement:p,ref:ue,popupAlign:re,getPopupContainer:xe,onPopupVisibleChange:K,afterPopupVisibleChange:O,popupTransitionName:A,popupAnimation:$,popupMotion:i,defaultPopupVisible:me,autoDestroy:ne,mouseLeaveDelay:J,popupStyle:X,mouseEnterDelay:D,arrow:je},Z),g)},b=(0,C.forwardRef)(u),z=b},39417:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return D}});var _=t(92413),v=t(400),N=t(37061),V=t(33708),C=t(6909),k=t(4771),l=t(25314),W=t(9427),e=t(25440),h=t(92310),m=t.n(h),n=t(26112),r=t(59301),a=t(39378),u=function(J){for(var X=J.prefixCls,U=J.level,M=J.isStart,g=J.isEnd,K="".concat(X,"-indent-unit"),O=[],A=0;A<U;A+=1){var $;O.push(r.createElement("span",{key:A,className:m()(K,($={},(0,v.Z)($,"".concat(K,"-start"),M[A]),(0,v.Z)($,"".concat(K,"-end"),g[A]),$))}))}return r.createElement("span",{"aria-hidden":"true",className:"".concat(X,"-indent")},O)},b=r.memo(u),z=t(67841),E=t(71430),y=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],I="open",S="close",c="---",s=function(Y){(0,W.Z)(X,Y);var J=(0,e.Z)(X);function X(){var U;(0,C.Z)(this,X);for(var M=arguments.length,g=new Array(M),K=0;K<M;K++)g[K]=arguments[K];return U=J.call.apply(J,[this].concat(g)),U.state={dragNodeHighlight:!1},U.selectHandle=void 0,U.cacheIndent=void 0,U.onSelectorClick=function(O){var A=U.props.context.onNodeClick;A(O,(0,E.F)(U.props)),U.isSelectable()?U.onSelect(O):U.onCheck(O)},U.onSelectorDoubleClick=function(O){var A=U.props.context.onNodeDoubleClick;A(O,(0,E.F)(U.props))},U.onSelect=function(O){if(!U.isDisabled()){var A=U.props.context.onNodeSelect;A(O,(0,E.F)(U.props))}},U.onCheck=function(O){if(!U.isDisabled()){var A=U.props,$=A.disableCheckbox,i=A.checked,o=U.props.context.onNodeCheck;if(!(!U.isCheckable()||$)){var p=!i;o(O,(0,E.F)(U.props),p)}}},U.onMouseEnter=function(O){var A=U.props.context.onNodeMouseEnter;A(O,(0,E.F)(U.props))},U.onMouseLeave=function(O){var A=U.props.context.onNodeMouseLeave;A(O,(0,E.F)(U.props))},U.onContextMenu=function(O){var A=U.props.context.onNodeContextMenu;A(O,(0,E.F)(U.props))},U.onDragStart=function(O){var A=U.props.context.onNodeDragStart;O.stopPropagation(),U.setState({dragNodeHighlight:!0}),A(O,(0,l.Z)(U));try{O.dataTransfer.setData("text/plain","")}catch($){}},U.onDragEnter=function(O){var A=U.props.context.onNodeDragEnter;O.preventDefault(),O.stopPropagation(),A(O,(0,l.Z)(U))},U.onDragOver=function(O){var A=U.props.context.onNodeDragOver;O.preventDefault(),O.stopPropagation(),A(O,(0,l.Z)(U))},U.onDragLeave=function(O){var A=U.props.context.onNodeDragLeave;O.stopPropagation(),A(O,(0,l.Z)(U))},U.onDragEnd=function(O){var A=U.props.context.onNodeDragEnd;O.stopPropagation(),U.setState({dragNodeHighlight:!1}),A(O,(0,l.Z)(U))},U.onDrop=function(O){var A=U.props.context.onNodeDrop;O.preventDefault(),O.stopPropagation(),U.setState({dragNodeHighlight:!1}),A(O,(0,l.Z)(U))},U.onExpand=function(O){var A=U.props,$=A.loading,i=A.context.onNodeExpand;$||i(O,(0,E.F)(U.props))},U.setSelectHandle=function(O){U.selectHandle=O},U.getNodeState=function(){var O=U.props.expanded;return U.isLeaf()?null:O?I:S},U.hasChildren=function(){var O=U.props.eventKey,A=U.props.context.keyEntities,$=(0,z.Z)(A,O)||{},i=$.children;return!!(i||[]).length},U.isLeaf=function(){var O=U.props,A=O.isLeaf,$=O.loaded,i=U.props.context.loadData,o=U.hasChildren();return A===!1?!1:A||!i&&!o||i&&$&&!o},U.isDisabled=function(){var O=U.props.disabled,A=U.props.context.disabled;return!!(A||O)},U.isCheckable=function(){var O=U.props.checkable,A=U.props.context.checkable;return!A||O===!1?!1:A},U.syncLoadData=function(O){var A=O.expanded,$=O.loading,i=O.loaded,o=U.props.context,p=o.loadData,F=o.onNodeLoad;$||p&&A&&!U.isLeaf()&&!U.hasChildren()&&!i&&F((0,E.F)(U.props))},U.isDraggable=function(){var O=U.props,A=O.data,$=O.context.draggable;return!!($&&(!$.nodeDraggable||$.nodeDraggable(A)))},U.renderDragHandler=function(){var O=U.props.context,A=O.draggable,$=O.prefixCls;return A!=null&&A.icon?r.createElement("span",{className:"".concat($,"-draggable-icon")},A.icon):null},U.renderSwitcherIconDom=function(O){var A=U.props.switcherIcon,$=U.props.context.switcherIcon,i=A||$;return typeof i=="function"?i((0,V.Z)((0,V.Z)({},U.props),{},{isLeaf:O})):i},U.renderSwitcher=function(){var O=U.props.expanded,A=U.props.context.prefixCls;if(U.isLeaf()){var $=U.renderSwitcherIconDom(!0);return $!==!1?r.createElement("span",{className:m()("".concat(A,"-switcher"),"".concat(A,"-switcher-noop"))},$):null}var i=m()("".concat(A,"-switcher"),"".concat(A,"-switcher_").concat(O?I:S)),o=U.renderSwitcherIconDom(!1);return o!==!1?r.createElement("span",{onClick:U.onExpand,className:i},o):null},U.renderCheckbox=function(){var O=U.props,A=O.checked,$=O.halfChecked,i=O.disableCheckbox,o=U.props.context.prefixCls,p=U.isDisabled(),F=U.isCheckable();if(!F)return null;var re=typeof F!="boolean"?F:null;return r.createElement("span",{className:m()("".concat(o,"-checkbox"),A&&"".concat(o,"-checkbox-checked"),!A&&$&&"".concat(o,"-checkbox-indeterminate"),(p||i)&&"".concat(o,"-checkbox-disabled")),onClick:U.onCheck},re)},U.renderIcon=function(){var O=U.props.loading,A=U.props.context.prefixCls;return r.createElement("span",{className:m()("".concat(A,"-iconEle"),"".concat(A,"-icon__").concat(U.getNodeState()||"docu"),O&&"".concat(A,"-icon_loading"))})},U.renderSelector=function(){var O=U.state.dragNodeHighlight,A=U.props,$=A.title,i=$===void 0?c:$,o=A.selected,p=A.icon,F=A.loading,re=A.data,ie=U.props.context,ne=ie.prefixCls,me=ie.showIcon,xe=ie.icon,He=ie.loadData,Pe=ie.titleRender,Ue=U.isDisabled(),et="".concat(ne,"-node-content-wrapper"),lt;if(me){var je=p||xe;lt=je?r.createElement("span",{className:m()("".concat(ne,"-iconEle"),"".concat(ne,"-icon__customize"))},typeof je=="function"?je(U.props):je):U.renderIcon()}else He&&F&&(lt=U.renderIcon());var pe;typeof i=="function"?pe=i(re):Pe?pe=Pe(re):pe=i;var ue=r.createElement("span",{className:"".concat(ne,"-title")},pe);return r.createElement("span",{ref:U.setSelectHandle,title:typeof i=="string"?i:"",className:m()("".concat(et),"".concat(et,"-").concat(U.getNodeState()||"normal"),!Ue&&(o||O)&&"".concat(ne,"-node-selected")),onMouseEnter:U.onMouseEnter,onMouseLeave:U.onMouseLeave,onContextMenu:U.onContextMenu,onClick:U.onSelectorClick,onDoubleClick:U.onSelectorDoubleClick},lt,ue,U.renderDropIndicator())},U.renderDropIndicator=function(){var O=U.props,A=O.disabled,$=O.eventKey,i=U.props.context,o=i.draggable,p=i.dropLevelOffset,F=i.dropPosition,re=i.prefixCls,ie=i.indent,ne=i.dropIndicatorRender,me=i.dragOverNodeKey,xe=i.direction,He=!!o,Pe=!A&&He&&me===$,Ue=ie!=null?ie:U.cacheIndent;return U.cacheIndent=ie,Pe?ne({dropPosition:F,dropLevelOffset:p,indent:Ue,prefixCls:re,direction:xe}):null},U}return(0,k.Z)(X,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var M=this.props.selectable,g=this.props.context.selectable;return typeof M=="boolean"?M:g}},{key:"render",value:function(){var M,g=this.props,K=g.eventKey,O=g.className,A=g.style,$=g.dragOver,i=g.dragOverGapTop,o=g.dragOverGapBottom,p=g.isLeaf,F=g.isStart,re=g.isEnd,ie=g.expanded,ne=g.selected,me=g.checked,xe=g.halfChecked,He=g.loading,Pe=g.domRef,Ue=g.active,et=g.data,lt=g.onMouseMove,je=g.selectable,pe=(0,N.Z)(g,y),ue=this.props.context,Z=ue.prefixCls,H=ue.filterTreeNode,L=ue.keyEntities,R=ue.dropContainerKey,ee=ue.dropTargetKey,x=ue.draggingNodeKey,d=this.isDisabled(),f=(0,n.Z)(pe,{aria:!0,data:!0}),G=(0,z.Z)(L,K)||{},j=G.level,B=re[re.length-1],q=this.isDraggable(),de=!d&&q,oe=x===K,le=je!==void 0?{"aria-selected":!!je}:void 0;return r.createElement("div",(0,_.Z)({ref:Pe,className:m()(O,"".concat(Z,"-treenode"),(M={},(0,v.Z)(M,"".concat(Z,"-treenode-disabled"),d),(0,v.Z)(M,"".concat(Z,"-treenode-switcher-").concat(ie?"open":"close"),!p),(0,v.Z)(M,"".concat(Z,"-treenode-checkbox-checked"),me),(0,v.Z)(M,"".concat(Z,"-treenode-checkbox-indeterminate"),xe),(0,v.Z)(M,"".concat(Z,"-treenode-selected"),ne),(0,v.Z)(M,"".concat(Z,"-treenode-loading"),He),(0,v.Z)(M,"".concat(Z,"-treenode-active"),Ue),(0,v.Z)(M,"".concat(Z,"-treenode-leaf-last"),B),(0,v.Z)(M,"".concat(Z,"-treenode-draggable"),q),(0,v.Z)(M,"dragging",oe),(0,v.Z)(M,"drop-target",ee===K),(0,v.Z)(M,"drop-container",R===K),(0,v.Z)(M,"drag-over",!d&&$),(0,v.Z)(M,"drag-over-gap-top",!d&&i),(0,v.Z)(M,"drag-over-gap-bottom",!d&&o),(0,v.Z)(M,"filter-node",H&&H((0,E.F)(this.props))),M)),style:A,draggable:de,"aria-grabbed":oe,onDragStart:de?this.onDragStart:void 0,onDragEnter:q?this.onDragEnter:void 0,onDragOver:q?this.onDragOver:void 0,onDragLeave:q?this.onDragLeave:void 0,onDrop:q?this.onDrop:void 0,onDragEnd:q?this.onDragEnd:void 0,onMouseMove:lt},le,f),r.createElement(b,{prefixCls:Z,level:j,isStart:F,isEnd:re}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),X}(r.Component),w=function(J){return r.createElement(a.k.Consumer,null,function(X){return r.createElement(s,(0,_.Z)({},J,{context:X}))})};w.displayName="TreeNode",w.isTreeNode=1;var D=w},39378:function(qe,ve,t){"use strict";t.d(ve,{k:function(){return v}});var _=t(59301),v=_.createContext(null)},23130:function(qe,ve,t){"use strict";t.d(ve,{O:function(){return D.Z},Z:function(){return ue}});var _=t(92413),v=t(400),N=t(39559),V=t(33708),C=t(26407),k=t(6909),l=t(4771),W=t(25314),e=t(9427),h=t(25440),m=t(92310),n=t.n(m),r=t(10228),a=t(26112),u=t(48736),b=t(59301),z=t(39378);function E(Z){var H=Z.dropPosition,L=Z.dropLevelOffset,R=Z.indent,ee={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(H){case-1:ee.top=0,ee.left=-L*R;break;case 1:ee.bottom=0,ee.left=-L*R;break;case 0:ee.bottom=0,ee.left=R;break}return b.createElement("div",{style:ee})}function y(Z){if(Z==null)throw new TypeError("Cannot destructure "+Z)}var I=t(33606),S=t(37061),c=t(34280),s=t(4409),w=t(77900),D=t(39417);function Y(Z,H){var L=b.useState(!1),R=(0,I.Z)(L,2),ee=R[0],x=R[1];b.useLayoutEffect(function(){if(ee)return Z(),function(){H()}},[ee]),b.useLayoutEffect(function(){return x(!0),function(){x(!1)}},[])}var J=t(71430),X=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],U=function(H,L){var R=H.className,ee=H.style,x=H.motion,d=H.motionNodes,f=H.motionType,G=H.onMotionStart,j=H.onMotionEnd,B=H.active,q=H.treeNodeRequiredProps,de=(0,S.Z)(H,X),oe=b.useState(!0),le=(0,I.Z)(oe,2),_e=le[0],Ee=le[1],ge=b.useContext(z.k),Ce=ge.prefixCls,Oe=d&&f!=="hide";(0,c.Z)(function(){d&&Oe!==_e&&Ee(Oe)},[d]);var Se=function(){d&&G()},Xe=b.useRef(!1),Ye=function(){d&&!Xe.current&&(Xe.current=!0,j())};Y(Se,Ye);var pt=function(At){Oe===At&&Ye()};return d?b.createElement(w.default,(0,_.Z)({ref:L,visible:_e},x,{motionAppear:f==="show",onVisibleChanged:pt}),function(dt,At){var Rt=dt.className,Zt=dt.style;return b.createElement("div",{ref:At,className:n()("".concat(Ce,"-treenode-motion"),Rt),style:Zt},d.map(function(Nt){var sn=(0,_.Z)({},(y(Nt.data),Nt.data)),Lt=Nt.title,rt=Nt.key,Vt=Nt.isStart,_t=Nt.isEnd;delete sn.children;var Et=(0,J.H8)(rt,q);return b.createElement(D.Z,(0,_.Z)({},sn,Et,{title:Lt,active:B,data:Nt.data,key:rt,isStart:Vt,isEnd:_t}))}))}):b.createElement(D.Z,(0,_.Z)({domRef:L,className:R,style:ee},de,{active:B}))};U.displayName="MotionTreeNode";var M=b.forwardRef(U),g=M;function K(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],L=Z.length,R=H.length;if(Math.abs(L-R)!==1)return{add:!1,key:null};function ee(x,d){var f=new Map;x.forEach(function(j){f.set(j,!0)});var G=d.filter(function(j){return!f.has(j)});return G.length===1?G[0]:null}return L<R?{add:!0,key:ee(Z,H)}:{add:!1,key:ee(H,Z)}}function O(Z,H,L){var R=Z.findIndex(function(f){return f.key===L}),ee=Z[R+1],x=H.findIndex(function(f){return f.key===L});if(ee){var d=H.findIndex(function(f){return f.key===ee.key});return H.slice(x+1,d)}return H.slice(x+1)}var A=["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"],$={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},i=function(){},o="RC_TREE_MOTION_".concat(Math.random()),p={key:o},F={key:o,level:0,index:0,pos:"0",node:p,nodes:[p]},re={parent:null,children:[],pos:F.pos,data:p,title:null,key:o,isStart:[],isEnd:[]};function ie(Z,H,L,R){return H===!1||!L?Z:Z.slice(0,Math.ceil(L/R)+1)}function ne(Z){var H=Z.key,L=Z.pos;return(0,J.km)(H,L)}function me(Z){for(var H=String(Z.data.key),L=Z;L.parent;)L=L.parent,H="".concat(L.data.key," > ").concat(H);return H}var xe=b.forwardRef(function(Z,H){var L=Z.prefixCls,R=Z.data,ee=Z.selectable,x=Z.checkable,d=Z.expandedKeys,f=Z.selectedKeys,G=Z.checkedKeys,j=Z.loadedKeys,B=Z.loadingKeys,q=Z.halfCheckedKeys,de=Z.keyEntities,oe=Z.disabled,le=Z.dragging,_e=Z.dragOverNodeKey,Ee=Z.dropPosition,ge=Z.motion,Ce=Z.height,Oe=Z.itemHeight,Se=Z.virtual,Xe=Z.focusable,Ye=Z.activeItem,pt=Z.focused,dt=Z.tabIndex,At=Z.onKeyDown,Rt=Z.onFocus,Zt=Z.onBlur,Nt=Z.onActiveChange,sn=Z.onListChangeStart,Lt=Z.onListChangeEnd,rt=(0,S.Z)(Z,A),Vt=b.useRef(null),_t=b.useRef(null);b.useImperativeHandle(H,function(){return{scrollTo:function(Le){Vt.current.scrollTo(Le)},getIndentWidth:function(){return _t.current.offsetWidth}}});var Et=b.useState(d),rn=(0,I.Z)(Et,2),hn=rn[0],Pn=rn[1],Sn=b.useState(R),$n=(0,I.Z)(Sn,2),Kn=$n[0],Nn=$n[1],Zn=b.useState(R),Mt=(0,I.Z)(Zn,2),Ft=Mt[0],ce=Mt[1],Be=b.useState([]),ke=(0,I.Z)(Be,2),te=ke[0],ae=ke[1],De=b.useState(null),$e=(0,I.Z)(De,2),st=$e[0],Ve=$e[1],ct=b.useRef(R);ct.current=R;function Qe(){var Fe=ct.current;Nn(Fe),ce(Fe),ae([]),Ve(null),Lt()}(0,c.Z)(function(){Pn(d);var Fe=K(hn,d);if(Fe.key!==null)if(Fe.add){var Le=Kn.findIndex(function(St){var Ge=St.key;return Ge===Fe.key}),Je=ie(O(Kn,R,Fe.key),Se,Ce,Oe),tt=Kn.slice();tt.splice(Le+1,0,re),ce(tt),ae(Je),Ve("show")}else{var it=R.findIndex(function(St){var Ge=St.key;return Ge===Fe.key}),yt=ie(O(R,Kn,Fe.key),Se,Ce,Oe),jt=R.slice();jt.splice(it+1,0,re),ce(jt),ae(yt),Ve("hide")}else Kn!==R&&(Nn(R),ce(R))},[d,R]),b.useEffect(function(){le||Qe()},[le]);var ft=ge?Ft:R,vt={expandedKeys:d,selectedKeys:f,loadedKeys:j,loadingKeys:B,checkedKeys:G,halfCheckedKeys:q,dragOverNodeKey:_e,dropPosition:Ee,keyEntities:de};return b.createElement(b.Fragment,null,pt&&Ye&&b.createElement("span",{style:$,"aria-live":"assertive"},me(Ye)),b.createElement("div",null,b.createElement("input",{style:$,disabled:Xe===!1||oe,tabIndex:Xe!==!1?dt:null,onKeyDown:At,onFocus:Rt,onBlur:Zt,value:"",onChange:i,"aria-label":"for screen reader"})),b.createElement("div",{className:"".concat(L,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},b.createElement("div",{className:"".concat(L,"-indent")},b.createElement("div",{ref:_t,className:"".concat(L,"-indent-unit")}))),b.createElement(s.Z,(0,_.Z)({},rt,{data:ft,itemKey:ne,height:Ce,fullHeight:!1,virtual:Se,itemHeight:Oe,prefixCls:"".concat(L,"-list"),ref:Vt,onVisibleChange:function(Le,Je){var tt=new Set(Le),it=Je.filter(function(yt){return!tt.has(yt)});it.some(function(yt){return ne(yt)===o})&&Qe()}}),function(Fe){var Le=Fe.pos,Je=(0,_.Z)({},(y(Fe.data),Fe.data)),tt=Fe.title,it=Fe.key,yt=Fe.isStart,jt=Fe.isEnd,St=(0,J.km)(it,Le);delete Je.key,delete Je.children;var Ge=(0,J.H8)(St,vt);return b.createElement(g,(0,_.Z)({},Je,Ge,{title:tt,active:!!Ye&&it===Ye.key,pos:Le,data:Fe.data,isStart:yt,isEnd:jt,motion:ge,motionNodes:it===o?te:null,motionType:st,onMotionStart:sn,onMotionEnd:Qe,treeNodeRequiredProps:vt,onMouseMove:function(){Nt(null)}}))}))});xe.displayName="NodeList";var He=xe,Pe=t(35654),Ue=t(90782),et=t(67841),lt=10,je=function(Z){(0,e.Z)(L,Z);var H=(0,h.Z)(L);function L(){var R;(0,k.Z)(this,L);for(var ee=arguments.length,x=new Array(ee),d=0;d<ee;d++)x[d]=arguments[d];return R=H.call.apply(H,[this].concat(x)),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,J.w$)()},R.dragStartMousePosition=null,R.dragNode=void 0,R.currentMouseOverDroppableNodeKey=null,R.listRef=b.createRef(),R.onNodeDragStart=function(f,G){var j=R.state,B=j.expandedKeys,q=j.keyEntities,de=R.props.onDragStart,oe=G.props.eventKey;R.dragNode=G,R.dragStartMousePosition={x:f.clientX,y:f.clientY};var le=(0,Pe._5)(B,oe);R.setState({draggingNodeKey:oe,dragChildrenKeys:(0,Pe.wA)(oe,q),indent:R.listRef.current.getIndentWidth()}),R.setExpandedKeys(le),window.addEventListener("dragend",R.onWindowDragEnd),de==null||de({event:f,node:(0,J.F)(G.props)})},R.onNodeDragEnter=function(f,G){var j=R.state,B=j.expandedKeys,q=j.keyEntities,de=j.dragChildrenKeys,oe=j.flattenNodes,le=j.indent,_e=R.props,Ee=_e.onDragEnter,ge=_e.onExpand,Ce=_e.allowDrop,Oe=_e.direction,Se=G.props,Xe=Se.pos,Ye=Se.eventKey,pt=(0,W.Z)(R),dt=pt.dragNode;if(R.currentMouseOverDroppableNodeKey!==Ye&&(R.currentMouseOverDroppableNodeKey=Ye),!dt){R.resetDragState();return}var At=(0,Pe.OM)(f,dt,G,le,R.dragStartMousePosition,Ce,oe,q,B,Oe),Rt=At.dropPosition,Zt=At.dropLevelOffset,Nt=At.dropTargetKey,sn=At.dropContainerKey,Lt=At.dropTargetPos,rt=At.dropAllowed,Vt=At.dragOverNodeKey;if(de.indexOf(Nt)!==-1||!rt){R.resetDragState();return}if(R.delayedDragEnterLogic||(R.delayedDragEnterLogic={}),Object.keys(R.delayedDragEnterLogic).forEach(function(_t){clearTimeout(R.delayedDragEnterLogic[_t])}),dt.props.eventKey!==G.props.eventKey&&(f.persist(),R.delayedDragEnterLogic[Xe]=window.setTimeout(function(){if(R.state.draggingNodeKey!==null){var _t=(0,C.Z)(B),Et=(0,et.Z)(q,G.props.eventKey);Et&&(Et.children||[]).length&&(_t=(0,Pe.L0)(B,G.props.eventKey)),"expandedKeys"in R.props||R.setExpandedKeys(_t),ge==null||ge(_t,{node:(0,J.F)(G.props),expanded:!0,nativeEvent:f.nativeEvent})}},800)),dt.props.eventKey===Nt&&Zt===0){R.resetDragState();return}R.setState({dragOverNodeKey:Vt,dropPosition:Rt,dropLevelOffset:Zt,dropTargetKey:Nt,dropContainerKey:sn,dropTargetPos:Lt,dropAllowed:rt}),Ee==null||Ee({event:f,node:(0,J.F)(G.props),expandedKeys:B})},R.onNodeDragOver=function(f,G){var j=R.state,B=j.dragChildrenKeys,q=j.flattenNodes,de=j.keyEntities,oe=j.expandedKeys,le=j.indent,_e=R.props,Ee=_e.onDragOver,ge=_e.allowDrop,Ce=_e.direction,Oe=(0,W.Z)(R),Se=Oe.dragNode;if(Se){var Xe=(0,Pe.OM)(f,Se,G,le,R.dragStartMousePosition,ge,q,de,oe,Ce),Ye=Xe.dropPosition,pt=Xe.dropLevelOffset,dt=Xe.dropTargetKey,At=Xe.dropContainerKey,Rt=Xe.dropAllowed,Zt=Xe.dropTargetPos,Nt=Xe.dragOverNodeKey;B.indexOf(dt)!==-1||!Rt||(Se.props.eventKey===dt&&pt===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():Ye===R.state.dropPosition&&pt===R.state.dropLevelOffset&&dt===R.state.dropTargetKey&&At===R.state.dropContainerKey&&Zt===R.state.dropTargetPos&&Rt===R.state.dropAllowed&&Nt===R.state.dragOverNodeKey||R.setState({dropPosition:Ye,dropLevelOffset:pt,dropTargetKey:dt,dropContainerKey:At,dropTargetPos:Zt,dropAllowed:Rt,dragOverNodeKey:Nt}),Ee==null||Ee({event:f,node:(0,J.F)(G.props)}))}},R.onNodeDragLeave=function(f,G){R.currentMouseOverDroppableNodeKey===G.props.eventKey&&!f.currentTarget.contains(f.relatedTarget)&&(R.resetDragState(),R.currentMouseOverDroppableNodeKey=null);var j=R.props.onDragLeave;j==null||j({event:f,node:(0,J.F)(G.props)})},R.onWindowDragEnd=function(f){R.onNodeDragEnd(f,null,!0),window.removeEventListener("dragend",R.onWindowDragEnd)},R.onNodeDragEnd=function(f,G){var j=R.props.onDragEnd;R.setState({dragOverNodeKey:null}),R.cleanDragState(),j==null||j({event:f,node:(0,J.F)(G.props)}),R.dragNode=null,window.removeEventListener("dragend",R.onWindowDragEnd)},R.onNodeDrop=function(f,G){var j,B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,q=R.state,de=q.dragChildrenKeys,oe=q.dropPosition,le=q.dropTargetKey,_e=q.dropTargetPos,Ee=q.dropAllowed;if(Ee){var ge=R.props.onDrop;if(R.setState({dragOverNodeKey:null}),R.cleanDragState(),le!==null){var Ce=(0,V.Z)((0,V.Z)({},(0,J.H8)(le,R.getTreeNodeRequiredProps())),{},{active:((j=R.getActiveItem())===null||j===void 0?void 0:j.key)===le,data:(0,et.Z)(R.state.keyEntities,le).node}),Oe=de.indexOf(le)!==-1;(0,u.ZP)(!Oe,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Se=(0,Pe.yx)(_e),Xe={event:f,node:(0,J.F)(Ce),dragNode:R.dragNode?(0,J.F)(R.dragNode.props):null,dragNodesKeys:[R.dragNode.props.eventKey].concat(de),dropToGap:oe!==0,dropPosition:oe+Number(Se[Se.length-1])};B||ge==null||ge(Xe),R.dragNode=null}}},R.cleanDragState=function(){var f=R.state.draggingNodeKey;f!==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(f,G){var j=R.state,B=j.expandedKeys,q=j.flattenNodes,de=G.expanded,oe=G.key,le=G.isLeaf;if(!(le||f.shiftKey||f.metaKey||f.ctrlKey)){var _e=q.filter(function(ge){return ge.key===oe})[0],Ee=(0,J.F)((0,V.Z)((0,V.Z)({},(0,J.H8)(oe,R.getTreeNodeRequiredProps())),{},{data:_e.data}));R.setExpandedKeys(de?(0,Pe._5)(B,oe):(0,Pe.L0)(B,oe)),R.onNodeExpand(f,Ee)}},R.onNodeClick=function(f,G){var j=R.props,B=j.onClick,q=j.expandAction;q==="click"&&R.triggerExpandActionExpand(f,G),B==null||B(f,G)},R.onNodeDoubleClick=function(f,G){var j=R.props,B=j.onDoubleClick,q=j.expandAction;q==="doubleClick"&&R.triggerExpandActionExpand(f,G),B==null||B(f,G)},R.onNodeSelect=function(f,G){var j=R.state.selectedKeys,B=R.state,q=B.keyEntities,de=B.fieldNames,oe=R.props,le=oe.onSelect,_e=oe.multiple,Ee=G.selected,ge=G[de.key],Ce=!Ee;Ce?_e?j=(0,Pe.L0)(j,ge):j=[ge]:j=(0,Pe._5)(j,ge);var Oe=j.map(function(Se){var Xe=(0,et.Z)(q,Se);return Xe?Xe.node:null}).filter(function(Se){return Se});R.setUncontrolledState({selectedKeys:j}),le==null||le(j,{event:"select",selected:Ce,node:G,selectedNodes:Oe,nativeEvent:f.nativeEvent})},R.onNodeCheck=function(f,G,j){var B=R.state,q=B.keyEntities,de=B.checkedKeys,oe=B.halfCheckedKeys,le=R.props,_e=le.checkStrictly,Ee=le.onCheck,ge=G.key,Ce,Oe={event:"check",node:G,checked:j,nativeEvent:f.nativeEvent};if(_e){var Se=j?(0,Pe.L0)(de,ge):(0,Pe._5)(de,ge),Xe=(0,Pe._5)(oe,ge);Ce={checked:Se,halfChecked:Xe},Oe.checkedNodes=Se.map(function(Zt){return(0,et.Z)(q,Zt)}).filter(function(Zt){return Zt}).map(function(Zt){return Zt.node}),R.setUncontrolledState({checkedKeys:Se})}else{var Ye=(0,Ue.S)([].concat((0,C.Z)(de),[ge]),!0,q),pt=Ye.checkedKeys,dt=Ye.halfCheckedKeys;if(!j){var At=new Set(pt);At.delete(ge);var Rt=(0,Ue.S)(Array.from(At),{checked:!1,halfCheckedKeys:dt},q);pt=Rt.checkedKeys,dt=Rt.halfCheckedKeys}Ce=pt,Oe.checkedNodes=[],Oe.checkedNodesPositions=[],Oe.halfCheckedKeys=dt,pt.forEach(function(Zt){var Nt=(0,et.Z)(q,Zt);if(Nt){var sn=Nt.node,Lt=Nt.pos;Oe.checkedNodes.push(sn),Oe.checkedNodesPositions.push({node:sn,pos:Lt})}}),R.setUncontrolledState({checkedKeys:pt},!1,{halfCheckedKeys:dt})}Ee==null||Ee(Ce,Oe)},R.onNodeLoad=function(f){var G=f.key,j=new Promise(function(B,q){R.setState(function(de){var oe=de.loadedKeys,le=oe===void 0?[]:oe,_e=de.loadingKeys,Ee=_e===void 0?[]:_e,ge=R.props,Ce=ge.loadData,Oe=ge.onLoad;if(!Ce||le.indexOf(G)!==-1||Ee.indexOf(G)!==-1)return null;var Se=Ce(f);return Se.then(function(){var Xe=R.state.loadedKeys,Ye=(0,Pe.L0)(Xe,G);Oe==null||Oe(Ye,{event:"load",node:f}),R.setUncontrolledState({loadedKeys:Ye}),R.setState(function(pt){return{loadingKeys:(0,Pe._5)(pt.loadingKeys,G)}}),B()}).catch(function(Xe){if(R.setState(function(pt){return{loadingKeys:(0,Pe._5)(pt.loadingKeys,G)}}),R.loadingRetryTimes[G]=(R.loadingRetryTimes[G]||0)+1,R.loadingRetryTimes[G]>=lt){var Ye=R.state.loadedKeys;(0,u.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),R.setUncontrolledState({loadedKeys:(0,Pe.L0)(Ye,G)}),B()}q(Xe)}),{loadingKeys:(0,Pe.L0)(Ee,G)}})});return j.catch(function(){}),j},R.onNodeMouseEnter=function(f,G){var j=R.props.onMouseEnter;j==null||j({event:f,node:G})},R.onNodeMouseLeave=function(f,G){var j=R.props.onMouseLeave;j==null||j({event:f,node:G})},R.onNodeContextMenu=function(f,G){var j=R.props.onRightClick;j&&(f.preventDefault(),j({event:f,node:G}))},R.onFocus=function(){var f=R.props.onFocus;R.setState({focused:!0});for(var G=arguments.length,j=new Array(G),B=0;B<G;B++)j[B]=arguments[B];f==null||f.apply(void 0,j)},R.onBlur=function(){var f=R.props.onBlur;R.setState({focused:!1}),R.onActiveChange(null);for(var G=arguments.length,j=new Array(G),B=0;B<G;B++)j[B]=arguments[B];f==null||f.apply(void 0,j)},R.getTreeNodeRequiredProps=function(){var f=R.state,G=f.expandedKeys,j=f.selectedKeys,B=f.loadedKeys,q=f.loadingKeys,de=f.checkedKeys,oe=f.halfCheckedKeys,le=f.dragOverNodeKey,_e=f.dropPosition,Ee=f.keyEntities;return{expandedKeys:G||[],selectedKeys:j||[],loadedKeys:B||[],loadingKeys:q||[],checkedKeys:de||[],halfCheckedKeys:oe||[],dragOverNodeKey:le,dropPosition:_e,keyEntities:Ee}},R.setExpandedKeys=function(f){var G=R.state,j=G.treeData,B=G.fieldNames,q=(0,J.oH)(j,f,B);R.setUncontrolledState({expandedKeys:f,flattenNodes:q},!0)},R.onNodeExpand=function(f,G){var j=R.state.expandedKeys,B=R.state,q=B.listChanging,de=B.fieldNames,oe=R.props,le=oe.onExpand,_e=oe.loadData,Ee=G.expanded,ge=G[de.key];if(!q){var Ce=j.indexOf(ge),Oe=!Ee;if((0,u.ZP)(Ee&&Ce!==-1||!Ee&&Ce===-1,"Expand state not sync with index check"),Oe?j=(0,Pe.L0)(j,ge):j=(0,Pe._5)(j,ge),R.setExpandedKeys(j),le==null||le(j,{node:G,expanded:Oe,nativeEvent:f.nativeEvent}),Oe&&_e){var Se=R.onNodeLoad(G);Se&&Se.then(function(){var Xe=(0,J.oH)(R.state.treeData,j,de);R.setUncontrolledState({flattenNodes:Xe})}).catch(function(){var Xe=R.state.expandedKeys,Ye=(0,Pe._5)(Xe,ge);R.setExpandedKeys(Ye)})}}},R.onListChangeStart=function(){R.setUncontrolledState({listChanging:!0})},R.onListChangeEnd=function(){setTimeout(function(){R.setUncontrolledState({listChanging:!1})})},R.onActiveChange=function(f){var G=R.state.activeKey,j=R.props.onActiveChange;G!==f&&(R.setState({activeKey:f}),f!==null&&R.scrollTo({key:f}),j==null||j(f))},R.getActiveItem=function(){var f=R.state,G=f.activeKey,j=f.flattenNodes;return G===null?null:j.find(function(B){var q=B.key;return q===G})||null},R.offsetActiveKey=function(f){var G=R.state,j=G.flattenNodes,B=G.activeKey,q=j.findIndex(function(le){var _e=le.key;return _e===B});q===-1&&f<0&&(q=j.length),q=(q+f+j.length)%j.length;var de=j[q];if(de){var oe=de.key;R.onActiveChange(oe)}else R.onActiveChange(null)},R.onKeyDown=function(f){var G=R.state,j=G.activeKey,B=G.expandedKeys,q=G.checkedKeys,de=G.fieldNames,oe=R.props,le=oe.onKeyDown,_e=oe.checkable,Ee=oe.selectable;switch(f.which){case r.Z.UP:{R.offsetActiveKey(-1),f.preventDefault();break}case r.Z.DOWN:{R.offsetActiveKey(1),f.preventDefault();break}}var ge=R.getActiveItem();if(ge&&ge.data){var Ce=R.getTreeNodeRequiredProps(),Oe=ge.data.isLeaf===!1||!!(ge.data[de.children]||[]).length,Se=(0,J.F)((0,V.Z)((0,V.Z)({},(0,J.H8)(j,Ce)),{},{data:ge.data,active:!0}));switch(f.which){case r.Z.LEFT:{Oe&&B.includes(j)?R.onNodeExpand({},Se):ge.parent&&R.onActiveChange(ge.parent.key),f.preventDefault();break}case r.Z.RIGHT:{Oe&&!B.includes(j)?R.onNodeExpand({},Se):ge.children&&ge.children.length&&R.onActiveChange(ge.children[0].key),f.preventDefault();break}case r.Z.ENTER:case r.Z.SPACE:{_e&&!Se.disabled&&Se.checkable!==!1&&!Se.disableCheckbox?R.onNodeCheck({},Se,!q.includes(j)):!_e&&Ee&&!Se.disabled&&Se.selectable!==!1&&R.onNodeSelect({},Se);break}}}le==null||le(f)},R.setUncontrolledState=function(f){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!R.destroyed){var B=!1,q=!0,de={};Object.keys(f).forEach(function(oe){if(oe in R.props){q=!1;return}B=!0,de[oe]=f[oe]}),B&&(!G||q)&&R.setState((0,V.Z)((0,V.Z)({},de),j))}},R.scrollTo=function(f){R.listRef.current.scrollTo(f)},R}return(0,l.Z)(L,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var ee=this.props.activeKey;ee!==void 0&&ee!==this.state.activeKey&&(this.setState({activeKey:ee}),ee!==null&&this.scrollTo({key:ee}))}},{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 ee,x=this.state,d=x.focused,f=x.flattenNodes,G=x.keyEntities,j=x.draggingNodeKey,B=x.activeKey,q=x.dropLevelOffset,de=x.dropContainerKey,oe=x.dropTargetKey,le=x.dropPosition,_e=x.dragOverNodeKey,Ee=x.indent,ge=this.props,Ce=ge.prefixCls,Oe=ge.className,Se=ge.style,Xe=ge.showLine,Ye=ge.focusable,pt=ge.tabIndex,dt=pt===void 0?0:pt,At=ge.selectable,Rt=ge.showIcon,Zt=ge.icon,Nt=ge.switcherIcon,sn=ge.draggable,Lt=ge.checkable,rt=ge.checkStrictly,Vt=ge.disabled,_t=ge.motion,Et=ge.loadData,rn=ge.filterTreeNode,hn=ge.height,Pn=ge.itemHeight,Sn=ge.virtual,$n=ge.titleRender,Kn=ge.dropIndicatorRender,Nn=ge.onContextMenu,Zn=ge.onScroll,Mt=ge.direction,Ft=ge.rootClassName,ce=ge.rootStyle,Be=(0,a.Z)(this.props,{aria:!0,data:!0}),ke;return sn&&((0,N.Z)(sn)==="object"?ke=sn:typeof sn=="function"?ke={nodeDraggable:sn}:ke={}),b.createElement(z.k.Provider,{value:{prefixCls:Ce,selectable:At,showIcon:Rt,icon:Zt,switcherIcon:Nt,draggable:ke,draggingNodeKey:j,checkable:Lt,checkStrictly:rt,disabled:Vt,keyEntities:G,dropLevelOffset:q,dropContainerKey:de,dropTargetKey:oe,dropPosition:le,dragOverNodeKey:_e,indent:Ee,direction:Mt,dropIndicatorRender:Kn,loadData:Et,filterTreeNode:rn,titleRender:$n,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}},b.createElement("div",{role:"tree",className:n()(Ce,Oe,Ft,(ee={},(0,v.Z)(ee,"".concat(Ce,"-show-line"),Xe),(0,v.Z)(ee,"".concat(Ce,"-focused"),d),(0,v.Z)(ee,"".concat(Ce,"-active-focused"),B!==null),ee)),style:ce},b.createElement(He,(0,_.Z)({ref:this.listRef,prefixCls:Ce,style:Se,data:f,disabled:Vt,selectable:At,checkable:!!Lt,motion:_t,dragging:j!==null,height:hn,itemHeight:Pn,virtual:Sn,focusable:Ye,focused:d,tabIndex:dt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Nn,onScroll:Zn},this.getTreeNodeRequiredProps(),Be))))}}],[{key:"getDerivedStateFromProps",value:function(ee,x){var d=x.prevProps,f={prevProps:ee};function G(Ye){return!d&&Ye in ee||d&&d[Ye]!==ee[Ye]}var j,B=x.fieldNames;if(G("fieldNames")&&(B=(0,J.w$)(ee.fieldNames),f.fieldNames=B),G("treeData")?j=ee.treeData:G("children")&&((0,u.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),j=(0,J.zn)(ee.children)),j){f.treeData=j;var q=(0,J.I8)(j,{fieldNames:B});f.keyEntities=(0,V.Z)((0,v.Z)({},o,F),q.keyEntities)}var de=f.keyEntities||x.keyEntities;if(G("expandedKeys")||d&&G("autoExpandParent"))f.expandedKeys=ee.autoExpandParent||!d&&ee.defaultExpandParent?(0,Pe.r7)(ee.expandedKeys,de):ee.expandedKeys;else if(!d&&ee.defaultExpandAll){var oe=(0,V.Z)({},de);delete oe[o],f.expandedKeys=Object.keys(oe).map(function(Ye){return oe[Ye].key})}else!d&&ee.defaultExpandedKeys&&(f.expandedKeys=ee.autoExpandParent||ee.defaultExpandParent?(0,Pe.r7)(ee.defaultExpandedKeys,de):ee.defaultExpandedKeys);if(f.expandedKeys||delete f.expandedKeys,j||f.expandedKeys){var le=(0,J.oH)(j||x.treeData,f.expandedKeys||x.expandedKeys,B);f.flattenNodes=le}if(ee.selectable&&(G("selectedKeys")?f.selectedKeys=(0,Pe.BT)(ee.selectedKeys,ee):!d&&ee.defaultSelectedKeys&&(f.selectedKeys=(0,Pe.BT)(ee.defaultSelectedKeys,ee))),ee.checkable){var _e;if(G("checkedKeys")?_e=(0,Pe.E6)(ee.checkedKeys)||{}:!d&&ee.defaultCheckedKeys?_e=(0,Pe.E6)(ee.defaultCheckedKeys)||{}:j&&(_e=(0,Pe.E6)(ee.checkedKeys)||{checkedKeys:x.checkedKeys,halfCheckedKeys:x.halfCheckedKeys}),_e){var Ee=_e,ge=Ee.checkedKeys,Ce=ge===void 0?[]:ge,Oe=Ee.halfCheckedKeys,Se=Oe===void 0?[]:Oe;if(!ee.checkStrictly){var Xe=(0,Ue.S)(Ce,!0,de);Ce=Xe.checkedKeys,Se=Xe.halfCheckedKeys}f.checkedKeys=Ce,f.halfCheckedKeys=Se}}return G("loadedKeys")&&(f.loadedKeys=ee.loadedKeys),f}}]),L}(b.Component);je.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},je.TreeNode=D.Z;var pe=je,ue=pe},35654:function(qe,ve,t){"use strict";t.d(ve,{BT:function(){return b},E6:function(){return y},L0:function(){return h},OM:function(){return u},_5:function(){return e},r7:function(){return I},wA:function(){return n},yx:function(){return m}});var _=t(26407),v=t(39559),N=t(48736),V=t(59301),C=t(39417),k=t(67841),l=t(71430),W=null;function e(S,c){if(!S)return[];var s=S.slice(),w=s.indexOf(c);return w>=0&&s.splice(w,1),s}function h(S,c){var s=(S||[]).slice();return s.indexOf(c)===-1&&s.push(c),s}function m(S){return S.split("-")}function n(S,c){var s=[],w=(0,k.Z)(c,S);function D(){var Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Y.forEach(function(J){var X=J.key,U=J.children;s.push(X),D(U)})}return D(w.children),s}function r(S){if(S.parent){var c=m(S.pos);return Number(c[c.length-1])===S.parent.children.length-1}return!1}function a(S){var c=m(S.pos);return Number(c[c.length-1])===0}function u(S,c,s,w,D,Y,J,X,U,M){var g,K=S.clientX,O=S.clientY,A=S.target.getBoundingClientRect(),$=A.top,i=A.height,o=(M==="rtl"?-1:1)*(((D==null?void 0:D.x)||0)-K),p=(o-12)/w,F=(0,k.Z)(X,s.props.eventKey);if(O<$+i/2){var re=J.findIndex(function(ue){return ue.key===F.key}),ie=re<=0?0:re-1,ne=J[ie].key;F=(0,k.Z)(X,ne)}var me=F.key,xe=F,He=F.key,Pe=0,Ue=0;if(!U.includes(me))for(var et=0;et<p&&r(F);et+=1)F=F.parent,Ue+=1;var lt=c.props.data,je=F.node,pe=!0;return a(F)&&F.level===0&&O<$+i/2&&Y({dragNode:lt,dropNode:je,dropPosition:-1})&&F.key===s.props.eventKey?Pe=-1:(xe.children||[]).length&&U.includes(He)?Y({dragNode:lt,dropNode:je,dropPosition:0})?Pe=0:pe=!1:Ue===0?p>-1.5?Y({dragNode:lt,dropNode:je,dropPosition:1})?Pe=1:pe=!1:Y({dragNode:lt,dropNode:je,dropPosition:0})?Pe=0:Y({dragNode:lt,dropNode:je,dropPosition:1})?Pe=1:pe=!1:Y({dragNode:lt,dropNode:je,dropPosition:1})?Pe=1:pe=!1,{dropPosition:Pe,dropLevelOffset:Ue,dropTargetKey:F.key,dropTargetPos:F.pos,dragOverNodeKey:He,dropContainerKey:Pe===0?null:((g=F.parent)===null||g===void 0?void 0:g.key)||null,dropAllowed:pe}}function b(S,c){if(S){var s=c.multiple;return s?S.slice():S.length?[S[0]]:S}}var z=function(c){return c};function E(S,c){if(!S)return[];var s=c||{},w=s.processProps,D=w===void 0?z:w,Y=Array.isArray(S)?S:[S];return Y.map(function(J){var X=J.children,U=_objectWithoutProperties(J,W),M=E(X,c);return React.createElement(TreeNode,_extends({key:U.key},D(U)),M)})}function y(S){if(!S)return null;var c;if(Array.isArray(S))c={checkedKeys:S,halfCheckedKeys:void 0};else if((0,v.Z)(S)==="object")c={checkedKeys:S.checked||void 0,halfCheckedKeys:S.halfChecked||void 0};else return(0,N.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return c}function I(S,c){var s=new Set;function w(D){if(!s.has(D)){var Y=(0,k.Z)(c,D);if(Y){s.add(D);var J=Y.parent,X=Y.node;X.disabled||J&&w(J.key)}}}return(S||[]).forEach(function(D){w(D)}),(0,_.Z)(s)}},90782:function(qe,ve,t){"use strict";t.d(ve,{S:function(){return l}});var _=t(48736),v=t(67841);function N(W,e){var h=new Set;return W.forEach(function(m){e.has(m)||h.add(m)}),h}function V(W){var e=W||{},h=e.disabled,m=e.disableCheckbox,n=e.checkable;return!!(h||m)||n===!1}function C(W,e,h,m){for(var n=new Set(W),r=new Set,a=0;a<=h;a+=1){var u=e.get(a)||new Set;u.forEach(function(y){var I=y.key,S=y.node,c=y.children,s=c===void 0?[]:c;n.has(I)&&!m(S)&&s.filter(function(w){return!m(w.node)}).forEach(function(w){n.add(w.key)})})}for(var b=new Set,z=h;z>=0;z-=1){var E=e.get(z)||new Set;E.forEach(function(y){var I=y.parent,S=y.node;if(!(m(S)||!y.parent||b.has(y.parent.key))){if(m(y.parent.node)){b.add(I.key);return}var c=!0,s=!1;(I.children||[]).filter(function(w){return!m(w.node)}).forEach(function(w){var D=w.key,Y=n.has(D);c&&!Y&&(c=!1),!s&&(Y||r.has(D))&&(s=!0)}),c&&n.add(I.key),s&&r.add(I.key),b.add(I.key)}})}return{checkedKeys:Array.from(n),halfCheckedKeys:Array.from(N(r,n))}}function k(W,e,h,m,n){for(var r=new Set(W),a=new Set(e),u=0;u<=m;u+=1){var b=h.get(u)||new Set;b.forEach(function(I){var S=I.key,c=I.node,s=I.children,w=s===void 0?[]:s;!r.has(S)&&!a.has(S)&&!n(c)&&w.filter(function(D){return!n(D.node)}).forEach(function(D){r.delete(D.key)})})}a=new Set;for(var z=new Set,E=m;E>=0;E-=1){var y=h.get(E)||new Set;y.forEach(function(I){var S=I.parent,c=I.node;if(!(n(c)||!I.parent||z.has(I.parent.key))){if(n(I.parent.node)){z.add(S.key);return}var s=!0,w=!1;(S.children||[]).filter(function(D){return!n(D.node)}).forEach(function(D){var Y=D.key,J=r.has(Y);s&&!J&&(s=!1),!w&&(J||a.has(Y))&&(w=!0)}),s||r.delete(S.key),w&&a.add(S.key),z.add(S.key)}})}return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(N(a,r))}}function l(W,e,h,m){var n=[],r;m?r=m:r=V;var a=new Set(W.filter(function(E){var y=!!(0,v.Z)(h,E);return y||n.push(E),y})),u=new Map,b=0;Object.keys(h).forEach(function(E){var y=h[E],I=y.level,S=u.get(I);S||(S=new Set,u.set(I,S)),S.add(y),b=Math.max(b,I)}),(0,_.ZP)(!n.length,"Tree missing follow keys: ".concat(n.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var z;return e===!0?z=C(a,u,b,r):z=k(a,e.halfCheckedKeys,u,b,r),z}},67841:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return _}});function _(v,N){return v[N]}},71430:function(qe,ve,t){"use strict";t.d(ve,{F:function(){return I},H8:function(){return y},I8:function(){return E},km:function(){return n},oH:function(){return b},w$:function(){return r},zn:function(){return u}});var _=t(39559),v=t(26407),N=t(33708),V=t(37061),C=t(11592),k=t(2738),l=t(48736),W=t(67841),e=["children"];function h(S,c){return"".concat(S,"-").concat(c)}function m(S){return S&&S.type&&S.type.isTreeNode}function n(S,c){return S!=null?S:c}function r(S){var c=S||{},s=c.title,w=c._title,D=c.key,Y=c.children,J=s||"title";return{title:J,_title:w||[J],key:D||"key",children:Y||"children"}}function a(S,c){var s=new Map;function w(D){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(D||[]).forEach(function(J){var X=J[c.key],U=J[c.children];warning(X!=null,"Tree node must have a certain key: [".concat(Y).concat(X,"]"));var M=String(X);warning(!s.has(M)||X===null||X===void 0,"Same 'key' exist in the Tree: ".concat(M)),s.set(M,!0),w(U,"".concat(Y).concat(M," > "))})}w(S)}function u(S){function c(s){var w=(0,C.Z)(s);return w.map(function(D){if(!m(D))return(0,l.ZP)(!D,"Tree/TreeNode can only accept TreeNode as children."),null;var Y=D.key,J=D.props,X=J.children,U=(0,V.Z)(J,e),M=(0,N.Z)({key:Y},U),g=c(X);return g.length&&(M.children=g),M}).filter(function(D){return D})}return c(S)}function b(S,c,s){var w=r(s),D=w._title,Y=w.key,J=w.children,X=new Set(c===!0?[]:c),U=[];function M(g){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return g.map(function(O,A){for(var $=h(K?K.pos:"0",A),i=n(O[Y],$),o,p=0;p<D.length;p+=1){var F=D[p];if(O[F]!==void 0){o=O[F];break}}var re=(0,N.Z)((0,N.Z)({},(0,k.Z)(O,[].concat((0,v.Z)(D),[Y,J]))),{},{title:o,key:i,parent:K,pos:$,children:null,data:O,isStart:[].concat((0,v.Z)(K?K.isStart:[]),[A===0]),isEnd:[].concat((0,v.Z)(K?K.isEnd:[]),[A===g.length-1])});return U.push(re),c===!0||X.has(i)?re.children=M(O[J]||[],re):re.children=[],re})}return M(S),U}function z(S,c,s){var w={};(0,_.Z)(s)==="object"?w=s:w={externalGetKey:s},w=w||{};var D=w,Y=D.childrenPropName,J=D.externalGetKey,X=D.fieldNames,U=r(X),M=U.key,g=U.children,K=Y||g,O;J?typeof J=="string"?O=function(i){return i[J]}:typeof J=="function"&&(O=function(i){return J(i)}):O=function(i,o){return n(i[M],o)};function A($,i,o,p){var F=$?$[K]:S,re=$?h(o.pos,i):"0",ie=$?[].concat((0,v.Z)(p),[$]):[];if($){var ne=O($,re),me={node:$,index:i,pos:re,key:ne,parentPos:o.node?o.pos:null,level:o.level+1,nodes:ie};c(me)}F&&F.forEach(function(xe,He){A(xe,He,{node:$,pos:re,level:o?o.level+1:-1},ie)})}A(null)}function E(S){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=c.initWrapper,w=c.processEntity,D=c.onProcessFinished,Y=c.externalGetKey,J=c.childrenPropName,X=c.fieldNames,U=arguments.length>2?arguments[2]:void 0,M=Y||U,g={},K={},O={posEntities:g,keyEntities:K};return s&&(O=s(O)||O),z(S,function(A){var $=A.node,i=A.index,o=A.pos,p=A.key,F=A.parentPos,re=A.level,ie=A.nodes,ne={node:$,nodes:ie,index:i,key:p,pos:o,level:re},me=n(p,o);g[o]=ne,K[me]=ne,ne.parent=g[F],ne.parent&&(ne.parent.children=ne.parent.children||[],ne.parent.children.push(ne)),w&&w(ne,O)},{externalGetKey:M,childrenPropName:J,fieldNames:X}),D&&D(O),O}function y(S,c){var s=c.expandedKeys,w=c.selectedKeys,D=c.loadedKeys,Y=c.loadingKeys,J=c.checkedKeys,X=c.halfCheckedKeys,U=c.dragOverNodeKey,M=c.dropPosition,g=c.keyEntities,K=(0,W.Z)(g,S),O={eventKey:S,expanded:s.indexOf(S)!==-1,selected:w.indexOf(S)!==-1,loaded:D.indexOf(S)!==-1,loading:Y.indexOf(S)!==-1,checked:J.indexOf(S)!==-1,halfChecked:X.indexOf(S)!==-1,pos:String(K?K.pos:""),dragOver:U===S&&M===0,dragOverGapTop:U===S&&M===-1,dragOverGapBottom:U===S&&M===1};return O}function I(S){var c=S.data,s=S.expanded,w=S.selected,D=S.checked,Y=S.loaded,J=S.loading,X=S.halfChecked,U=S.dragOver,M=S.dragOverGapTop,g=S.dragOverGapBottom,K=S.pos,O=S.active,A=S.eventKey,$=(0,N.Z)((0,N.Z)({},c),{},{expanded:s,selected:w,checked:D,loaded:Y,loading:J,halfChecked:X,dragOver:U,dragOverGapTop:M,dragOverGapBottom:g,pos:K,active:O,key:A});return"props"in $||Object.defineProperty($,"props",{get:function(){return(0,l.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),S}}),$}},8224:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return v}});var _=t(4676);function v(N,V,C,k){var l=_.unstable_batchedUpdates?function(e){_.unstable_batchedUpdates(C,e)}:C;return N!=null&&N.addEventListener&&N.addEventListener(V,l,k),{remove:function(){N!=null&&N.removeEventListener&&N.removeEventListener(V,l,k)}}}},55468:function(qe,ve,t){"use strict";t.d(ve,{g1:function(){return m},os:function(){return r}});var _=/margin|padding|width|height|max|min|offset/,v={left:!0,top:!0},N={cssFloat:1,styleFloat:1,float:1};function V(a){return a.nodeType===1?a.ownerDocument.defaultView.getComputedStyle(a,null):{}}function C(a,u,b){if(u=u.toLowerCase(),b==="auto"){if(u==="height")return a.offsetHeight;if(u==="width")return a.offsetWidth}return u in v||(v[u]=_.test(u)),v[u]?parseFloat(b)||0:b}function k(a,u){var b=arguments.length,z=V(a);return u=N[u]?"cssFloat"in a.style?"cssFloat":"styleFloat":u,b===1?z:C(a,u,z[u]||a.style[u])}function l(a,u,b){var z=arguments.length;if(u=N[u]?"cssFloat"in a.style?"cssFloat":"styleFloat":u,z===3)return typeof b=="number"&&_.test(u)&&(b="".concat(b,"px")),a.style[u]=b,b;for(var E in u)u.hasOwnProperty(E)&&l(a,E,u[E]);return V(a)}function W(a){return a===document.body?document.documentElement.clientWidth:a.offsetWidth}function e(a){return a===document.body?window.innerHeight||document.documentElement.clientHeight:a.offsetHeight}function h(){var a=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),u=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:a,height:u}}function m(){var a=document.documentElement.clientWidth,u=window.innerHeight||document.documentElement.clientHeight;return{width:a,height:u}}function n(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function r(a){var u=a.getBoundingClientRect(),b=document.documentElement;return{left:u.left+(window.pageXOffset||b.scrollLeft)-(b.clientLeft||document.body.clientLeft||0),top:u.top+(window.pageYOffset||b.scrollTop)-(b.clientTop||document.body.clientTop||0)}}},24514:function(qe,ve,t){"use strict";t.d(ve,{G:function(){return V}});var _=t(47273),v=function(k){if((0,_.Z)()&&window.document.documentElement){var l=Array.isArray(k)?k:[k],W=window.document.documentElement;return l.some(function(e){return e in W.style})}return!1},N=function(k,l){if(!v(k))return!1;var W=document.createElement("div"),e=W.style[k];return W.style[k]=l,W.style[k]!==e};function V(C,k){return!Array.isArray(C)&&k!==void 0?N(C,k):v(C)}},49658:function(qe,ve){"use strict";ve.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))}},4409:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return pe}});var _=t(92413),v=t(39559),N=t(33708),V=t(400),C=t(33606),k=t(37061),l=t(92310),W=t.n(l),e=t(29301),h=t(70425),m=t(34280),n=t(59301),r=t(4676),a=n.forwardRef(function(ue,Z){var H=ue.height,L=ue.offsetY,R=ue.offsetX,ee=ue.children,x=ue.prefixCls,d=ue.onInnerResize,f=ue.innerProps,G=ue.rtl,j=ue.extra,B={},q={display:"flex",flexDirection:"column"};return L!==void 0&&(B={height:H,position:"relative",overflow:"hidden"},q=(0,N.Z)((0,N.Z)({},q),{},(0,V.Z)((0,V.Z)((0,V.Z)((0,V.Z)((0,V.Z)({transform:"translateY(".concat(L,"px)")},G?"marginRight":"marginLeft",-R),"position","absolute"),"left",0),"right",0),"top",0))),n.createElement("div",{style:B},n.createElement(e.Z,{onResize:function(oe){var le=oe.offsetHeight;le&&d&&d()}},n.createElement("div",(0,_.Z)({style:q,className:W()((0,V.Z)({},"".concat(x,"-holder-inner"),x)),ref:Z},f),ee,j)))});a.displayName="Filler";var u=a;function b(ue){var Z=ue.children,H=ue.setRef,L=n.useCallback(function(R){H(R)},[]);return n.cloneElement(Z,{ref:L})}function z(ue,Z,H,L,R,ee,x,d){var f=d.getKey;return ue.slice(Z,H+1).map(function(G,j){var B=Z+j,q=x(G,B,{style:{width:L},offsetX:R}),de=f(G);return n.createElement(b,{key:de,setRef:function(le){return ee(G,le)}},q)})}function E(ue,Z,H,L){var R=H-ue,ee=Z-H,x=Math.min(R,ee)*2;if(L<=x){var d=Math.floor(L/2);return L%2?H+d+1:H-d}return R>ee?H-(L-ee):H+(L-R)}function y(ue,Z,H){var L=ue.length,R=Z.length,ee,x;if(L===0&&R===0)return null;L<R?(ee=ue,x=Z):(ee=Z,x=ue);var d={__EMPTY_ITEM__:!0};function f(oe){return oe!==void 0?H(oe):d}for(var G=null,j=Math.abs(L-R)!==1,B=0;B<x.length;B+=1){var q=f(ee[B]),de=f(x[B]);if(q!==de){G=B,j=j||q!==f(x[B+1]);break}}return G===null?null:{index:G,multiple:j}}function I(ue,Z,H){var L=n.useState(ue),R=(0,C.Z)(L,2),ee=R[0],x=R[1],d=n.useState(null),f=(0,C.Z)(d,2),G=f[0],j=f[1];return n.useEffect(function(){var B=y(ee||[],ue||[],Z);(B==null?void 0:B.index)!==void 0&&(H==null||H(B.index),j(ue[B.index])),x(ue)},[ue]),[G]}var S=t(16089),c=(typeof navigator=="undefined"?"undefined":(0,v.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),s=c,w=function(ue,Z,H,L){var R=(0,n.useRef)(!1),ee=(0,n.useRef)(null);function x(){clearTimeout(ee.current),R.current=!0,ee.current=setTimeout(function(){R.current=!1},50)}var d=(0,n.useRef)({top:ue,bottom:Z,left:H,right:L});return d.current.top=ue,d.current.bottom=Z,d.current.left=H,d.current.right=L,function(f,G){var j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,B=f?G<0&&d.current.left||G>0&&d.current.right:G<0&&d.current.top||G>0&&d.current.bottom;return j&&B?(clearTimeout(ee.current),R.current=!1):(!B||R.current)&&x(),!R.current&&B}};function D(ue,Z,H,L,R,ee,x){var d=(0,n.useRef)(0),f=(0,n.useRef)(null),G=(0,n.useRef)(null),j=(0,n.useRef)(!1),B=w(Z,H,L,R);function q(ge,Ce){if(S.Z.cancel(f.current),!B(!1,Ce)){var Oe=ge;if(!Oe._virtualHandled)Oe._virtualHandled=!0;else return;d.current+=Ce,G.current=Ce,s||Oe.preventDefault(),f.current=(0,S.Z)(function(){var Se=j.current?10:1;x(d.current*Se,!1),d.current=0})}}function de(ge,Ce){x(Ce,!0),s||ge.preventDefault()}var oe=(0,n.useRef)(null),le=(0,n.useRef)(null);function _e(ge){if(ue){S.Z.cancel(le.current),le.current=(0,S.Z)(function(){oe.current=null},2);var Ce=ge.deltaX,Oe=ge.deltaY,Se=ge.shiftKey,Xe=Ce,Ye=Oe;(oe.current==="sx"||!oe.current&&Se&&Oe&&!Ce)&&(Xe=Oe,Ye=0,oe.current="sx");var pt=Math.abs(Xe),dt=Math.abs(Ye);oe.current===null&&(oe.current=ee&&pt>dt?"x":"y"),oe.current==="y"?q(ge,Ye):de(ge,Xe)}}function Ee(ge){ue&&(j.current=ge.detail===G.current)}return[_e,Ee]}function Y(ue,Z,H,L){var R=n.useMemo(function(){return[new Map,[]]},[ue,H.id,L]),ee=(0,C.Z)(R,2),x=ee[0],d=ee[1],f=function(j){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:j,q=x.get(j),de=x.get(B);if(q===void 0||de===void 0)for(var oe=ue.length,le=d.length;le<oe;le+=1){var _e,Ee=ue[le],ge=Z(Ee);x.set(ge,le);var Ce=(_e=H.get(ge))!==null&&_e!==void 0?_e:L;if(d[le]=(d[le-1]||0)+Ce,ge===j&&(q=le),ge===B&&(de=le),q!==void 0&&de!==void 0)break}return{top:d[q-1]||0,bottom:d[de]}};return f}var J=t(76846),X=t(6909),U=t(4771),M=function(){function ue(){(0,X.Z)(this,ue),(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,U.Z)(ue,[{key:"set",value:function(H,L){this.maps[H]=L,this.id+=1,this.diffKeys.add(H)}},{key:"get",value:function(H){return this.maps[H]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),ue}(),g=M;function K(ue){var Z=parseFloat(ue);return isNaN(Z)?0:Z}function O(ue,Z,H){var L=n.useState(0),R=(0,C.Z)(L,2),ee=R[0],x=R[1],d=(0,n.useRef)(new Map),f=(0,n.useRef)(new g),G=(0,n.useRef)(0);function j(){G.current+=1}function B(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;j();var oe=function(){var Ee=!1;d.current.forEach(function(ge,Ce){if(ge&&ge.offsetParent){var Oe=(0,J.ZP)(ge),Se=Oe.offsetHeight,Xe=getComputedStyle(Oe),Ye=Xe.marginTop,pt=Xe.marginBottom,dt=K(Ye),At=K(pt),Rt=Se+dt+At;f.current.get(Ce)!==Rt&&(f.current.set(Ce,Rt),Ee=!0)}}),Ee&&x(function(ge){return ge+1})};if(de)oe();else{G.current+=1;var le=G.current;Promise.resolve().then(function(){le===G.current&&oe()})}}function q(de,oe){var le=ue(de),_e=d.current.get(le);oe?(d.current.set(le,oe),B()):d.current.delete(le),!_e!=!oe&&(oe?Z==null||Z(de):H==null||H(de))}return(0,n.useEffect)(function(){return j},[]),[q,B,f.current,ee]}var A=14/15;function $(ue,Z,H){var L=(0,n.useRef)(!1),R=(0,n.useRef)(0),ee=(0,n.useRef)(0),x=(0,n.useRef)(null),d=(0,n.useRef)(null),f,G=function(de){if(L.current){var oe=Math.ceil(de.touches[0].pageX),le=Math.ceil(de.touches[0].pageY),_e=R.current-oe,Ee=ee.current-le,ge=Math.abs(_e)>Math.abs(Ee);ge?R.current=oe:ee.current=le;var Ce=H(ge,ge?_e:Ee,!1,de);Ce&&de.preventDefault(),clearInterval(d.current),Ce&&(d.current=setInterval(function(){ge?_e*=A:Ee*=A;var Oe=Math.floor(ge?_e:Ee);(!H(ge,Oe,!0)||Math.abs(Oe)<=.1)&&clearInterval(d.current)},16))}},j=function(){L.current=!1,f()},B=function(de){f(),de.touches.length===1&&!L.current&&(L.current=!0,R.current=Math.ceil(de.touches[0].pageX),ee.current=Math.ceil(de.touches[0].pageY),x.current=de.target,x.current.addEventListener("touchmove",G,{passive:!1}),x.current.addEventListener("touchend",j,{passive:!0}))};f=function(){x.current&&(x.current.removeEventListener("touchmove",G),x.current.removeEventListener("touchend",j))},(0,m.Z)(function(){return ue&&Z.current.addEventListener("touchstart",B,{passive:!0}),function(){var q;(q=Z.current)===null||q===void 0||q.removeEventListener("touchstart",B),f(),clearInterval(d.current)}},[ue])}function i(ue){return Math.floor(Math.pow(ue,.5))}function o(ue,Z){var H="touches"in ue?ue.touches[0]:ue;return H[Z?"pageX":"pageY"]-window[Z?"scrollX":"scrollY"]}function p(ue,Z,H){n.useEffect(function(){var L=Z.current;if(ue&&L){var R=!1,ee,x,d=function(){S.Z.cancel(ee)},f=function q(){d(),ee=(0,S.Z)(function(){H(x),q()})},G=function(de){if(!de.target.draggable){var oe=de;oe._virtualHandled||(oe._virtualHandled=!0,R=!0)}},j=function(){R=!1,d()},B=function(de){if(R){var oe=o(de,!1),le=L.getBoundingClientRect(),_e=le.top,Ee=le.bottom;if(oe<=_e){var ge=_e-oe;x=-i(ge),f()}else if(oe>=Ee){var Ce=oe-Ee;x=i(Ce),f()}else d()}};return L.addEventListener("mousedown",G),L.ownerDocument.addEventListener("mouseup",j),L.ownerDocument.addEventListener("mousemove",B),function(){L.removeEventListener("mousedown",G),L.ownerDocument.removeEventListener("mouseup",j),L.ownerDocument.removeEventListener("mousemove",B),d()}}},[ue])}var F=10;function re(ue,Z,H,L,R,ee,x,d){var f=n.useRef(),G=n.useState(null),j=(0,C.Z)(G,2),B=j[0],q=j[1];return(0,m.Z)(function(){if(B&&B.times<F){if(!ue.current){q(function(Et){return(0,N.Z)({},Et)});return}ee();var de=B.targetAlign,oe=B.originAlign,le=B.index,_e=B.offset,Ee=ue.current.clientHeight,ge=!1,Ce=de,Oe=null;if(Ee){for(var Se=de||oe,Xe=0,Ye=0,pt=0,dt=Math.min(Z.length-1,le),At=0;At<=dt;At+=1){var Rt=R(Z[At]);Ye=Xe;var Zt=H.get(Rt);pt=Ye+(Zt===void 0?L:Zt),Xe=pt}for(var Nt=Se==="top"?_e:Ee-_e,sn=dt;sn>=0;sn-=1){var Lt=R(Z[sn]),rt=H.get(Lt);if(rt===void 0){ge=!0;break}if(Nt-=rt,Nt<=0)break}switch(Se){case"top":Oe=Ye-_e;break;case"bottom":Oe=pt-Ee+_e;break;default:{var Vt=ue.current.scrollTop,_t=Vt+Ee;Ye<Vt?Ce="top":pt>_t&&(Ce="bottom")}}Oe!==null&&x(Oe),Oe!==B.lastTop&&(ge=!0)}ge&&q((0,N.Z)((0,N.Z)({},B),{},{times:B.times+1,targetAlign:Ce,lastTop:Oe}))}},[B,ue.current]),function(de){if(de==null){d();return}if(S.Z.cancel(f.current),typeof de=="number")x(de);else if(de&&(0,v.Z)(de)==="object"){var oe,le=de.align;"index"in de?oe=de.index:oe=Z.findIndex(function(ge){return R(ge)===de.key});var _e=de.offset,Ee=_e===void 0?0:_e;q({times:0,index:oe,offset:Ee,originAlign:le})}}}var ie=n.forwardRef(function(ue,Z){var H=ue.prefixCls,L=ue.rtl,R=ue.scrollOffset,ee=ue.scrollRange,x=ue.onStartMove,d=ue.onStopMove,f=ue.onScroll,G=ue.horizontal,j=ue.spinSize,B=ue.containerSize,q=ue.style,de=ue.thumbStyle,oe=ue.showScrollBar,le=n.useState(!1),_e=(0,C.Z)(le,2),Ee=_e[0],ge=_e[1],Ce=n.useState(null),Oe=(0,C.Z)(Ce,2),Se=Oe[0],Xe=Oe[1],Ye=n.useState(null),pt=(0,C.Z)(Ye,2),dt=pt[0],At=pt[1],Rt=!L,Zt=n.useRef(),Nt=n.useRef(),sn=n.useState(oe),Lt=(0,C.Z)(sn,2),rt=Lt[0],Vt=Lt[1],_t=n.useRef(),Et=function(){oe===!0||oe===!1||(clearTimeout(_t.current),Vt(!0),_t.current=setTimeout(function(){Vt(!1)},3e3))},rn=ee-B||0,hn=B-j||0,Pn=n.useMemo(function(){if(R===0||rn===0)return 0;var Be=R/rn;return Be*hn},[R,rn,hn]),Sn=function(ke){ke.stopPropagation(),ke.preventDefault()},$n=n.useRef({top:Pn,dragging:Ee,pageY:Se,startTop:dt});$n.current={top:Pn,dragging:Ee,pageY:Se,startTop:dt};var Kn=function(ke){ge(!0),Xe(o(ke,G)),At($n.current.top),x(),ke.stopPropagation(),ke.preventDefault()};n.useEffect(function(){var Be=function(De){De.preventDefault()},ke=Zt.current,te=Nt.current;return ke.addEventListener("touchstart",Be,{passive:!1}),te.addEventListener("touchstart",Kn,{passive:!1}),function(){ke.removeEventListener("touchstart",Be),te.removeEventListener("touchstart",Kn)}},[]);var Nn=n.useRef();Nn.current=rn;var Zn=n.useRef();Zn.current=hn,n.useEffect(function(){if(Ee){var Be,ke=function(De){var $e=$n.current,st=$e.dragging,Ve=$e.pageY,ct=$e.startTop;S.Z.cancel(Be);var Qe=Zt.current.getBoundingClientRect(),ft=B/(G?Qe.width:Qe.height);if(st){var vt=(o(De,G)-Ve)*ft,Fe=ct;!Rt&&G?Fe-=vt:Fe+=vt;var Le=Nn.current,Je=Zn.current,tt=Je?Fe/Je:0,it=Math.ceil(tt*Le);it=Math.max(it,0),it=Math.min(it,Le),Be=(0,S.Z)(function(){f(it,G)})}},te=function(){ge(!1),d()};return window.addEventListener("mousemove",ke,{passive:!0}),window.addEventListener("touchmove",ke,{passive:!0}),window.addEventListener("mouseup",te,{passive:!0}),window.addEventListener("touchend",te,{passive:!0}),function(){window.removeEventListener("mousemove",ke),window.removeEventListener("touchmove",ke),window.removeEventListener("mouseup",te),window.removeEventListener("touchend",te),S.Z.cancel(Be)}}},[Ee]),n.useEffect(function(){return Et(),function(){clearTimeout(_t.current)}},[R]),n.useImperativeHandle(Z,function(){return{delayHidden:Et}});var Mt="".concat(H,"-scrollbar"),Ft={position:"absolute",visibility:rt?null:"hidden"},ce={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return G?(Ft.height=8,Ft.left=0,Ft.right=0,Ft.bottom=0,ce.height="100%",ce.width=j,Rt?ce.left=Pn:ce.right=Pn):(Ft.width=8,Ft.top=0,Ft.bottom=0,Rt?Ft.right=0:Ft.left=0,ce.width="100%",ce.height=j,ce.top=Pn),n.createElement("div",{ref:Zt,className:W()(Mt,(0,V.Z)((0,V.Z)((0,V.Z)({},"".concat(Mt,"-horizontal"),G),"".concat(Mt,"-vertical"),!G),"".concat(Mt,"-visible"),rt)),style:(0,N.Z)((0,N.Z)({},Ft),q),onMouseDown:Sn,onMouseMove:Et},n.createElement("div",{ref:Nt,className:W()("".concat(Mt,"-thumb"),(0,V.Z)({},"".concat(Mt,"-thumb-moving"),Ee)),style:(0,N.Z)((0,N.Z)({},ce),de),onMouseDown:Kn}))}),ne=ie,me=20;function xe(){var ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,H=ue/Z*ue;return isNaN(H)&&(H=0),H=Math.max(H,me),Math.floor(H)}var He=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Pe=[],Ue={overflowY:"auto",overflowAnchor:"none"};function et(ue,Z){var H=ue.prefixCls,L=H===void 0?"rc-virtual-list":H,R=ue.className,ee=ue.height,x=ue.itemHeight,d=ue.fullHeight,f=d===void 0?!0:d,G=ue.style,j=ue.data,B=ue.children,q=ue.itemKey,de=ue.virtual,oe=ue.direction,le=ue.scrollWidth,_e=ue.component,Ee=_e===void 0?"div":_e,ge=ue.onScroll,Ce=ue.onVirtualScroll,Oe=ue.onVisibleChange,Se=ue.innerProps,Xe=ue.extraRender,Ye=ue.styles,pt=ue.showScrollBar,dt=pt===void 0?"optional":pt,At=(0,k.Z)(ue,He),Rt=n.useCallback(function(xt){return typeof q=="function"?q(xt):xt==null?void 0:xt[q]},[q]),Zt=O(Rt,null,null),Nt=(0,C.Z)(Zt,4),sn=Nt[0],Lt=Nt[1],rt=Nt[2],Vt=Nt[3],_t=!!(de!==!1&&ee&&x),Et=n.useMemo(function(){return Object.values(rt.maps).reduce(function(xt,Pt){return xt+Pt},0)},[rt.id,rt.maps]),rn=_t&&j&&(Math.max(x*j.length,Et)>ee||!!le),hn=oe==="rtl",Pn=W()(L,(0,V.Z)({},"".concat(L,"-rtl"),hn),R),Sn=j||Pe,$n=(0,n.useRef)(),Kn=(0,n.useRef)(),Nn=(0,n.useRef)(),Zn=(0,n.useState)(0),Mt=(0,C.Z)(Zn,2),Ft=Mt[0],ce=Mt[1],Be=(0,n.useState)(0),ke=(0,C.Z)(Be,2),te=ke[0],ae=ke[1],De=(0,n.useState)(!1),$e=(0,C.Z)(De,2),st=$e[0],Ve=$e[1],ct=function(){Ve(!0)},Qe=function(){Ve(!1)},ft={getKey:Rt};function vt(xt){ce(function(Pt){var on;typeof xt=="function"?on=xt(Pt):on=xt;var kn=an(on);return $n.current.scrollTop=kn,kn})}var Fe=(0,n.useRef)({start:0,end:Sn.length}),Le=(0,n.useRef)(),Je=I(Sn,Rt),tt=(0,C.Z)(Je,1),it=tt[0];Le.current=it;var yt=n.useMemo(function(){if(!_t)return{scrollHeight:void 0,start:0,end:Sn.length-1,offset:void 0};if(!rn){var xt;return{scrollHeight:((xt=Kn.current)===null||xt===void 0?void 0:xt.offsetHeight)||0,start:0,end:Sn.length-1,offset:void 0}}for(var Pt=0,on,kn,rr,gr=Sn.length,nr=0;nr<gr;nr+=1){var mr=Sn[nr],_r=Rt(mr),Er=rt.get(_r),yr=Pt+(Er===void 0?x:Er);yr>=Ft&&on===void 0&&(on=nr,kn=Pt),yr>Ft+ee&&rr===void 0&&(rr=nr),Pt=yr}return on===void 0&&(on=0,kn=0,rr=Math.ceil(ee/x)),rr===void 0&&(rr=Sn.length-1),rr=Math.min(rr+1,Sn.length-1),{scrollHeight:Pt,start:on,end:rr,offset:kn}},[rn,_t,Ft,Sn,Vt,ee]),jt=yt.scrollHeight,St=yt.start,Ge=yt.end,ye=yt.offset;Fe.current.start=St,Fe.current.end=Ge,n.useLayoutEffect(function(){var xt=rt.getRecord();if(xt.size===1){var Pt=Array.from(xt)[0],on=Rt(Sn[St]);if(on===Pt){var kn=rt.get(Pt),rr=kn-x;vt(function(gr){return gr+rr})}}rt.resetRecord()},[jt]);var we=n.useState({width:0,height:ee}),Ne=(0,C.Z)(we,2),Me=Ne[0],Ae=Ne[1],Ke=function(Pt){Ae({width:Pt.offsetWidth,height:Pt.offsetHeight})},Ze=(0,n.useRef)(),ot=(0,n.useRef)(),mt=n.useMemo(function(){return xe(Me.width,le)},[Me.width,le]),gt=n.useMemo(function(){return xe(Me.height,jt)},[Me.height,jt]),Bt=jt-ee,Wt=(0,n.useRef)(Bt);Wt.current=Bt;function an(xt){var Pt=xt;return Number.isNaN(Wt.current)||(Pt=Math.min(Pt,Wt.current)),Pt=Math.max(Pt,0),Pt}var Ct=Ft<=0,ht=Ft>=Bt,qt=te<=0,Xt=te>=le,En=w(Ct,ht,qt,Xt),Ht=function(){return{x:hn?-te:te,y:Ft}},Jt=(0,n.useRef)(Ht()),ln=(0,h.useEvent)(function(xt){if(Ce){var Pt=(0,N.Z)((0,N.Z)({},Ht()),xt);(Jt.current.x!==Pt.x||Jt.current.y!==Pt.y)&&(Ce(Pt),Jt.current=Pt)}});function Ut(xt,Pt){var on=xt;Pt?((0,r.flushSync)(function(){ae(on)}),ln()):vt(on)}function Dn(xt){var Pt=xt.currentTarget.scrollTop;Pt!==Ft&&vt(Pt),ge==null||ge(xt),ln()}var Gn=function(Pt){var on=Pt,kn=le?le-Me.width:0;return on=Math.max(on,0),on=Math.min(on,kn),on},zt=(0,h.useEvent)(function(xt,Pt){Pt?((0,r.flushSync)(function(){ae(function(on){var kn=on+(hn?-xt:xt);return Gn(kn)})}),ln()):vt(function(on){var kn=on+xt;return kn})}),Gt=D(_t,Ct,ht,qt,Xt,!!le,zt),Dt=(0,C.Z)(Gt,2),xn=Dt[0],wn=Dt[1];$(_t,$n,function(xt,Pt,on,kn){var rr=kn;return En(xt,Pt,on)?!1:!rr||!rr._virtualHandled?(rr&&(rr._virtualHandled=!0),xn({preventDefault:function(){},deltaX:xt?Pt:0,deltaY:xt?0:Pt}),!0):!1}),p(rn,$n,function(xt){vt(function(Pt){return Pt+xt})}),(0,m.Z)(function(){function xt(on){var kn=Ct&&on.detail<0,rr=ht&&on.detail>0;_t&&!kn&&!rr&&on.preventDefault()}var Pt=$n.current;return Pt.addEventListener("wheel",xn,{passive:!1}),Pt.addEventListener("DOMMouseScroll",wn,{passive:!0}),Pt.addEventListener("MozMousePixelScroll",xt,{passive:!1}),function(){Pt.removeEventListener("wheel",xn),Pt.removeEventListener("DOMMouseScroll",wn),Pt.removeEventListener("MozMousePixelScroll",xt)}},[_t,Ct,ht]),(0,m.Z)(function(){if(le){var xt=Gn(te);ae(xt),ln({x:xt})}},[Me.width,le]);var gn=function(){var Pt,on;(Pt=Ze.current)===null||Pt===void 0||Pt.delayHidden(),(on=ot.current)===null||on===void 0||on.delayHidden()},_n=re($n,Sn,rt,x,Rt,function(){return Lt(!0)},vt,gn);n.useImperativeHandle(Z,function(){return{nativeElement:Nn.current,getScrollInfo:Ht,scrollTo:function(Pt){function on(kn){return kn&&(0,v.Z)(kn)==="object"&&("left"in kn||"top"in kn)}on(Pt)?(Pt.left!==void 0&&ae(Gn(Pt.left)),_n(Pt.top)):_n(Pt)}}}),(0,m.Z)(function(){if(Oe){var xt=Sn.slice(St,Ge+1);Oe(xt,Sn)}},[St,Ge,Sn]);var zn=Y(Sn,Rt,rt,x),tr=Xe==null?void 0:Xe({start:St,end:Ge,virtual:rn,offsetX:te,offsetY:ye,rtl:hn,getSize:zn}),Vn=z(Sn,St,Ge,le,te,sn,B,ft),Wn=null;ee&&(Wn=(0,N.Z)((0,V.Z)({},f?"height":"maxHeight",ee),Ue),_t&&(Wn.overflowY="hidden",le&&(Wn.overflowX="hidden"),st&&(Wn.pointerEvents="none")));var or={};return hn&&(or.dir="rtl"),n.createElement("div",(0,_.Z)({ref:Nn,style:(0,N.Z)((0,N.Z)({},G),{},{position:"relative"}),className:Pn},or,At),n.createElement(e.Z,{onResize:Ke},n.createElement(Ee,{className:"".concat(L,"-holder"),style:Wn,ref:$n,onScroll:Dn,onMouseEnter:gn},n.createElement(u,{prefixCls:L,height:jt,offsetX:te,offsetY:ye,scrollWidth:le,onInnerResize:Lt,ref:Kn,innerProps:Se,rtl:hn,extra:tr},Vn))),rn&&jt>ee&&n.createElement(ne,{ref:Ze,prefixCls:L,scrollOffset:Ft,scrollRange:jt,rtl:hn,onScroll:Ut,onStartMove:ct,onStopMove:Qe,spinSize:gt,containerSize:Me.height,style:Ye==null?void 0:Ye.verticalScrollBar,thumbStyle:Ye==null?void 0:Ye.verticalScrollBarThumb,showScrollBar:dt}),rn&&le>Me.width&&n.createElement(ne,{ref:ot,prefixCls:L,scrollOffset:te,scrollRange:le,rtl:hn,onScroll:Ut,onStartMove:ct,onStopMove:Qe,spinSize:mt,containerSize:Me.width,horizontal:!0,style:Ye==null?void 0:Ye.horizontalScrollBar,thumbStyle:Ye==null?void 0:Ye.horizontalScrollBarThumb,showScrollBar:dt}))}var lt=n.forwardRef(et);lt.displayName="List";var je=lt,pe=je},83145:function(qe,ve,t){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.CopyToClipboard=void 0;var _=N(t(59301)),v=N(t(25769));function N(y){return y&&y.__esModule?y:{default:y}}function V(y){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?V=function(S){return typeof S}:V=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},V(y)}function C(y,I){var S=Object.keys(y);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(y);I&&(c=c.filter(function(s){return Object.getOwnPropertyDescriptor(y,s).enumerable})),S.push.apply(S,c)}return S}function k(y){for(var I=1;I<arguments.length;I++){var S=arguments[I]!=null?arguments[I]:{};I%2?C(S,!0).forEach(function(c){z(y,c,S[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(S)):C(S).forEach(function(c){Object.defineProperty(y,c,Object.getOwnPropertyDescriptor(S,c))})}return y}function l(y,I){if(y==null)return{};var S=W(y,I),c,s;if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(y);for(s=0;s<w.length;s++)c=w[s],!(I.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(y,c)&&(S[c]=y[c])}return S}function W(y,I){if(y==null)return{};var S={},c=Object.keys(y),s,w;for(w=0;w<c.length;w++)s=c[w],!(I.indexOf(s)>=0)&&(S[s]=y[s]);return S}function e(y,I){if(!(y instanceof I))throw new TypeError("Cannot call a class as a function")}function h(y,I){for(var S=0;S<I.length;S++){var c=I[S];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(y,c.key,c)}}function m(y,I,S){return I&&h(y.prototype,I),S&&h(y,S),y}function n(y,I){return I&&(V(I)==="object"||typeof I=="function")?I:a(y)}function r(y){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},r(y)}function a(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}function u(y,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");y.prototype=Object.create(I&&I.prototype,{constructor:{value:y,writable:!0,configurable:!0}}),I&&b(y,I)}function b(y,I){return b=Object.setPrototypeOf||function(c,s){return c.__proto__=s,c},b(y,I)}function z(y,I,S){return I in y?Object.defineProperty(y,I,{value:S,enumerable:!0,configurable:!0,writable:!0}):y[I]=S,y}var E=function(y){u(I,y);function I(){var S,c;e(this,I);for(var s=arguments.length,w=new Array(s),D=0;D<s;D++)w[D]=arguments[D];return c=n(this,(S=r(I)).call.apply(S,[this].concat(w))),z(a(c),"onClick",function(Y){var J=c.props,X=J.text,U=J.onCopy,M=J.children,g=J.options,K=_.default.Children.only(M),O=(0,v.default)(X,g);U&&U(X,O),K&&K.props&&typeof K.props.onClick=="function"&&K.props.onClick(Y)}),c}return m(I,[{key:"render",value:function(){var c=this.props,s=c.text,w=c.onCopy,D=c.options,Y=c.children,J=l(c,["text","onCopy","options","children"]),X=_.default.Children.only(Y);return _.default.cloneElement(X,k({},J,{onClick:this.onClick}))}}]),I}(_.default.PureComponent);ve.CopyToClipboard=E,z(E,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(qe,ve,t){"use strict";var _=t(83145),v=_.CopyToClipboard;v.CopyToClipboard=v,qe.exports=v},76374:function(qe,ve,t){"use strict";var _=function(){if(typeof Map!="undefined")return Map;function M(g,K){var O=-1;return g.some(function(A,$){return A[0]===K?(O=$,!0):!1}),O}return function(){function g(){this.__entries__=[]}return Object.defineProperty(g.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),g.prototype.get=function(K){var O=M(this.__entries__,K),A=this.__entries__[O];return A&&A[1]},g.prototype.set=function(K,O){var A=M(this.__entries__,K);~A?this.__entries__[A][1]=O:this.__entries__.push([K,O])},g.prototype.delete=function(K){var O=this.__entries__,A=M(O,K);~A&&O.splice(A,1)},g.prototype.has=function(K){return!!~M(this.__entries__,K)},g.prototype.clear=function(){this.__entries__.splice(0)},g.prototype.forEach=function(K,O){O===void 0&&(O=null);for(var A=0,$=this.__entries__;A<$.length;A++){var i=$[A];K.call(O,i[1],i[0])}},g}()}(),v=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,N=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(N):function(M){return setTimeout(function(){return M(Date.now())},1e3/60)}}(),C=2;function k(M,g){var K=!1,O=!1,A=0;function $(){K&&(K=!1,M()),O&&o()}function i(){V($)}function o(){var p=Date.now();if(K){if(p-A<C)return;O=!0}else K=!0,O=!1,setTimeout(i,g);A=p}return o}var l=20,W=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",h=function(){function M(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=k(this.refresh.bind(this),l)}return M.prototype.addObserver=function(g){~this.observers_.indexOf(g)||this.observers_.push(g),this.connected_||this.connect_()},M.prototype.removeObserver=function(g){var K=this.observers_,O=K.indexOf(g);~O&&K.splice(O,1),!K.length&&this.connected_&&this.disconnect_()},M.prototype.refresh=function(){var g=this.updateObservers_();g&&this.refresh()},M.prototype.updateObservers_=function(){var g=this.observers_.filter(function(K){return K.gatherActive(),K.hasActive()});return g.forEach(function(K){return K.broadcastActive()}),g.length>0},M.prototype.connect_=function(){!v||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)},M.prototype.disconnect_=function(){!v||!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)},M.prototype.onTransitionEnd_=function(g){var K=g.propertyName,O=K===void 0?"":K,A=W.some(function($){return!!~O.indexOf($)});A&&this.refresh()},M.getInstance=function(){return this.instance_||(this.instance_=new M),this.instance_},M.instance_=null,M}(),m=function(M,g){for(var K=0,O=Object.keys(g);K<O.length;K++){var A=O[K];Object.defineProperty(M,A,{value:g[A],enumerable:!1,writable:!1,configurable:!0})}return M},n=function(M){var g=M&&M.ownerDocument&&M.ownerDocument.defaultView;return g||N},r=s(0,0,0,0);function a(M){return parseFloat(M)||0}function u(M){for(var g=[],K=1;K<arguments.length;K++)g[K-1]=arguments[K];return g.reduce(function(O,A){var $=M["border-"+A+"-width"];return O+a($)},0)}function b(M){for(var g=["top","right","bottom","left"],K={},O=0,A=g;O<A.length;O++){var $=A[O],i=M["padding-"+$];K[$]=a(i)}return K}function z(M){var g=M.getBBox();return s(0,0,g.width,g.height)}function E(M){var g=M.clientWidth,K=M.clientHeight;if(!g&&!K)return r;var O=n(M).getComputedStyle(M),A=b(O),$=A.left+A.right,i=A.top+A.bottom,o=a(O.width),p=a(O.height);if(O.boxSizing==="border-box"&&(Math.round(o+$)!==g&&(o-=u(O,"left","right")+$),Math.round(p+i)!==K&&(p-=u(O,"top","bottom")+i)),!I(M)){var F=Math.round(o+$)-g,re=Math.round(p+i)-K;Math.abs(F)!==1&&(o-=F),Math.abs(re)!==1&&(p-=re)}return s(A.left,A.top,o,p)}var y=function(){return typeof SVGGraphicsElement!="undefined"?function(M){return M instanceof n(M).SVGGraphicsElement}:function(M){return M instanceof n(M).SVGElement&&typeof M.getBBox=="function"}}();function I(M){return M===n(M).document.documentElement}function S(M){return v?y(M)?z(M):E(M):r}function c(M){var g=M.x,K=M.y,O=M.width,A=M.height,$=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,i=Object.create($.prototype);return m(i,{x:g,y:K,width:O,height:A,top:K,right:g+O,bottom:A+K,left:g}),i}function s(M,g,K,O){return{x:M,y:g,width:K,height:O}}var w=function(){function M(g){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=s(0,0,0,0),this.target=g}return M.prototype.isActive=function(){var g=S(this.target);return this.contentRect_=g,g.width!==this.broadcastWidth||g.height!==this.broadcastHeight},M.prototype.broadcastRect=function(){var g=this.contentRect_;return this.broadcastWidth=g.width,this.broadcastHeight=g.height,g},M}(),D=function(){function M(g,K){var O=c(K);m(this,{target:g,contentRect:O})}return M}(),Y=function(){function M(g,K,O){if(this.activeObservations_=[],this.observations_=new _,typeof g!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=g,this.controller_=K,this.callbackCtx_=O}return M.prototype.observe=function(g){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(g instanceof n(g).Element))throw new TypeError('parameter 1 is not of type "Element".');var K=this.observations_;K.has(g)||(K.set(g,new w(g)),this.controller_.addObserver(this),this.controller_.refresh())}},M.prototype.unobserve=function(g){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(g instanceof n(g).Element))throw new TypeError('parameter 1 is not of type "Element".');var K=this.observations_;K.has(g)&&(K.delete(g),K.size||this.controller_.removeObserver(this))}},M.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},M.prototype.gatherActive=function(){var g=this;this.clearActive(),this.observations_.forEach(function(K){K.isActive()&&g.activeObservations_.push(K)})},M.prototype.broadcastActive=function(){if(this.hasActive()){var g=this.callbackCtx_,K=this.activeObservations_.map(function(O){return new D(O.target,O.broadcastRect())});this.callback_.call(g,K,g),this.clearActive()}},M.prototype.clearActive=function(){this.activeObservations_.splice(0)},M.prototype.hasActive=function(){return this.activeObservations_.length>0},M}(),J=typeof WeakMap!="undefined"?new WeakMap:new _,X=function(){function M(g){if(!(this instanceof M))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var K=h.getInstance(),O=new Y(g,K,this);J.set(this,O)}return M}();["observe","unobserve","disconnect"].forEach(function(M){X.prototype[M]=function(){var g;return(g=J.get(this))[M].apply(g,arguments)}});var U=function(){return typeof N.ResizeObserver!="undefined"?N.ResizeObserver:X}();ve.Z=U},98040:function(qe){qe.exports=function(){var ve=document.getSelection();if(!ve.rangeCount)return function(){};for(var t=document.activeElement,_=[],v=0;v<ve.rangeCount;v++)_.push(ve.getRangeAt(v));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return ve.removeAllRanges(),function(){ve.type==="Caret"&&ve.removeAllRanges(),ve.rangeCount||_.forEach(function(N){ve.addRange(N)}),t&&t.focus()}}},93314:function(qe){"use strict";qe.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=="},16722:function(qe,ve,t){"use strict";t.d(ve,{Z:function(){return W}});const _=e=>typeof e=="object"&&e!=null&&e.nodeType===1,v=(e,h)=>(!h||e!=="hidden")&&e!=="visible"&&e!=="clip",N=(e,h)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const m=getComputedStyle(e,null);return v(m.overflowY,h)||v(m.overflowX,h)||(n=>{const r=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch(u){return null}})(n);return!!r&&(r.clientHeight<n.scrollHeight||r.clientWidth<n.scrollWidth)})(e)}return!1},V=(e,h,m,n,r,a,u,b)=>a<e&&u>h||a>e&&u<h?0:a<=e&&b<=m||u>=h&&b>=m?a-e-n:u>h&&b<m||a<e&&b>m?u-h+r:0,C=e=>{const h=e.parentElement;return h==null?e.getRootNode().host||null:h},k=(e,h)=>{var m,n,r,a;if(typeof document=="undefined")return[];const{scrollMode:u,block:b,inline:z,boundary:E,skipOverflowHiddenElements:y}=h,I=typeof E=="function"?E:ie=>ie!==E;if(!_(e))throw new TypeError("Invalid target");const S=document.scrollingElement||document.documentElement,c=[];let s=e;for(;_(s)&&I(s);){if(s=C(s),s===S){c.push(s);break}s!=null&&s===document.body&&N(s)&&!N(document.documentElement)||s!=null&&N(s,y)&&c.push(s)}const w=(n=(m=window.visualViewport)==null?void 0:m.width)!=null?n:innerWidth,D=(a=(r=window.visualViewport)==null?void 0:r.height)!=null?a:innerHeight,{scrollX:Y,scrollY:J}=window,{height:X,width:U,top:M,right:g,bottom:K,left:O}=e.getBoundingClientRect(),{top:A,right:$,bottom:i,left:o}=(ie=>{const ne=window.getComputedStyle(ie);return{top:parseFloat(ne.scrollMarginTop)||0,right:parseFloat(ne.scrollMarginRight)||0,bottom:parseFloat(ne.scrollMarginBottom)||0,left:parseFloat(ne.scrollMarginLeft)||0}})(e);let p=b==="start"||b==="nearest"?M-A:b==="end"?K+i:M+X/2-A+i,F=z==="center"?O+U/2-o+$:z==="end"?g+$:O-o;const re=[];for(let ie=0;ie<c.length;ie++){const ne=c[ie],{height:me,width:xe,top:He,right:Pe,bottom:Ue,left:et}=ne.getBoundingClientRect();if(u==="if-needed"&&M>=0&&O>=0&&K<=D&&g<=w&&(ne===S&&!N(ne)||M>=He&&K<=Ue&&O>=et&&g<=Pe))return re;const lt=getComputedStyle(ne),je=parseInt(lt.borderLeftWidth,10),pe=parseInt(lt.borderTopWidth,10),ue=parseInt(lt.borderRightWidth,10),Z=parseInt(lt.borderBottomWidth,10);let H=0,L=0;const R="offsetWidth"in ne?ne.offsetWidth-ne.clientWidth-je-ue:0,ee="offsetHeight"in ne?ne.offsetHeight-ne.clientHeight-pe-Z:0,x="offsetWidth"in ne?ne.offsetWidth===0?0:xe/ne.offsetWidth:0,d="offsetHeight"in ne?ne.offsetHeight===0?0:me/ne.offsetHeight:0;if(S===ne)H=b==="start"?p:b==="end"?p-D:b==="nearest"?V(J,J+D,D,pe,Z,J+p,J+p+X,X):p-D/2,L=z==="start"?F:z==="center"?F-w/2:z==="end"?F-w:V(Y,Y+w,w,je,ue,Y+F,Y+F+U,U),H=Math.max(0,H+J),L=Math.max(0,L+Y);else{H=b==="start"?p-He-pe:b==="end"?p-Ue+Z+ee:b==="nearest"?V(He,Ue,me,pe,Z+ee,p,p+X,X):p-(He+me/2)+ee/2,L=z==="start"?F-et-je:z==="center"?F-(et+xe/2)+R/2:z==="end"?F-Pe+ue+R:V(et,Pe,xe,je,ue+R,F,F+U,U);const{scrollLeft:f,scrollTop:G}=ne;H=d===0?0:Math.max(0,Math.min(G+H/d,ne.scrollHeight-me/d+ee)),L=x===0?0:Math.max(0,Math.min(f+L/x,ne.scrollWidth-xe/x+R)),p+=G-H,F+=f-L}re.push({el:ne,top:H,left:L})}return re},l=e=>e===!1?{block:"end",inline:"nearest"}:(h=>h===Object(h)&&Object.keys(h).length!==0)(e)?e:{block:"start",inline:"nearest"};function W(e,h){if(!e.isConnected||!(r=>{let a=r;for(;a&&a.parentNode;){if(a.parentNode===document)return!0;a=a.parentNode instanceof ShadowRoot?a.parentNode.host:a.parentNode}return!1})(e))return;const m=(r=>{const a=window.getComputedStyle(r);return{top:parseFloat(a.scrollMarginTop)||0,right:parseFloat(a.scrollMarginRight)||0,bottom:parseFloat(a.scrollMarginBottom)||0,left:parseFloat(a.scrollMarginLeft)||0}})(e);if((r=>typeof r=="object"&&typeof r.behavior=="function")(h))return h.behavior(k(e,h));const n=typeof h=="boolean"||h==null?void 0:h.behavior;for(const{el:r,top:a,left:u}of k(e,l(h))){const b=a-m.top+m.bottom,z=u-m.left+m.right;r.scroll({top:b,left:z,behavior:n})}}}}]);
|