You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Engineering__Lists__Trai...

83 lines
551 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[9649],{65352:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return T}});var N=u(77321),D=u(52487),W=u(74416),Q=u(43403),V=u(92310),_=u.n(V),H=u(29301),G=u(76846),e=u(96452),s=u(6089),c=u(80402),t=u(34280),r=u(49658),a=u(59301),o=u(72308),v=u(77900),x=u(8654);function E(A){var X=A.prefixCls,M=A.align,se=A.arrow,pe=A.arrowPos,R=se||{},m=R.className,C=R.content,z=pe.x,O=z===void 0?0:z,U=pe.y,K=U===void 0?0:U,ee=a.useRef();if(!M||!M.points)return null;var q={position:"absolute"};if(M.autoArrow!==!1){var ce=M.points[0],we=M.points[1],ge=ce[0],Ke=ce[1],Me=we[0],Fe=we[1];ge===Me||!["t","b"].includes(ge)?q.top=K:ge==="t"?q.top=0:q.bottom=0,Ke===Fe||!["l","r"].includes(Ke)?q.left=O:Ke==="l"?q.left=0:q.right=0}return a.createElement("div",{ref:ee,className:_()("".concat(X,"-arrow"),m),style:q},C)}function h(A){var X=A.prefixCls,M=A.open,se=A.zIndex,pe=A.mask,R=A.motion;return pe?a.createElement(v.default,(0,o.Z)({},R,{motionAppear:!0,visible:M,removeOnLeave:!0}),function(m){var C=m.className;return a.createElement("div",{style:{zIndex:se},className:_()("".concat(X,"-mask"),C)})}):null}var p=a.memo(function(A){var X=A.children;return X},function(A,X){return X.cache}),f=p,l=a.forwardRef(function(A,X){var M=A.popup,se=A.className,pe=A.prefixCls,R=A.style,m=A.target,C=A.onVisibleChanged,z=A.open,O=A.keepDom,U=A.fresh,K=A.onClick,ee=A.mask,q=A.arrow,ce=A.arrowPos,we=A.align,ge=A.motion,Ke=A.maskMotion,Me=A.forceRender,Fe=A.getPopupContainer,ft=A.autoDestroy,je=A.portal,ze=A.zIndex,Nt=A.onMouseEnter,Tt=A.onMouseLeave,rt=A.onPointerEnter,jt=A.onPointerDownCapture,hn=A.ready,St=A.offsetX,vt=A.offsetY,Rt=A.offsetR,on=A.offsetB,Qt=A.onAlign,qt=A.onPrepare,En=A.stretch,fn=A.targetWidth,We=A.targetHeight,gt=typeof M=="function"?M():M,Gt=z||O,mn=(Fe==null?void 0:Fe.length)>0,Wt=a.useState(!Fe||!mn),kn=(0,D.Z)(Wt,2),Vn=kn[0],Sn=kn[1];if((0,t.Z)(function(){!Vn&&mn&&m&&Sn(!0)},[Vn,mn,m]),!Vn)return null;var Yt="auto",Nn={left:"-1000vw",top:"-1000vh",right:Yt,bottom:Yt};if(hn||!z){var xn,On=we.points,gn=we.dynamicInset||((xn=we._experimental)===null||xn===void 0?void 0:xn.dynamicInset),Cn=gn&&On[0][1]==="r",An=gn&&On[0][0]==="b";Cn?(Nn.right=Rt,Nn.left=Yt):(Nn.left=St,Nn.right=Yt),An?(Nn.bottom=on,Nn.top=Yt):(Nn.top=vt,Nn.bottom=Yt)}var Zn={};return En&&(En.includes("height")&&We?Zn.height=We:En.includes("minHeight")&&We&&(Zn.minHeight=We),En.includes("width")&&fn?Zn.width=fn:En.includes("minWidth")&&fn&&(Zn.minWidth=fn)),z||(Zn.pointerEvents="none"),a.createElement(je,{open:Me||Gt,getContainer:Fe&&function(){return Fe(m)},autoDestroy:ft},a.createElement(h,{prefixCls:pe,open:z,zIndex:ze,mask:ee,motion:Ke}),a.createElement(H.Z,{onResize:Qt,disabled:!z},function(re){return a.createElement(v.default,(0,o.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Me,leavedClassName:"".concat(pe,"-hidden")},ge,{onAppearPrepare:qt,onEnterPrepare:qt,visible:z,onVisibleChanged:function($e){var Te;ge==null||(Te=ge.onVisibleChanged)===null||Te===void 0||Te.call(ge,$e),C($e)}}),function(Y,$e){var Te=Y.className,Ye=Y.style,Xe=_()(pe,Te,se);return a.createElement("div",{ref:(0,x.sQ)(re,X,$e),className:Xe,style:(0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)({"--arrow-x":"".concat(ce.x||0,"px"),"--arrow-y":"".concat(ce.y||0,"px")},Nn),Zn),Ye),{},{boxSizing:"border-box",zIndex:ze},R),onMouseEnter:Nt,onMouseLeave:Tt,onPointerEnter:rt,onClick:K,onPointerDownCapture:jt},q&&a.createElement(E,{prefixCls:pe,arrow:q,arrowPos:ce,align:we}),a.createElement(f,{cache:!z&&!U},gt))})}))}),k=l,P=a.forwardRef(function(A,X){var M=A.children,se=A.getTriggerDOMNode,pe=(0,x.Yr)(M),R=a.useCallback(function(C){(0,x.mH)(X,se?se(C):C)},[se]),m=(0,x.x1)(R,(0,x.C4)(M));return pe?a.cloneElement(M,{ref:m}):M}),L=P,j=a.createContext(null),J=j;function B(A){return A?Array.isArray(A)?A:[A]:[]}function ye(A,X,M,se){return a.useMemo(function(){var pe=B(M!=null?M:X),R=B(se!=null?se:X),m=new Set(pe),C=new Set(R);return A&&(m.has("hover")&&(m.delete("hover"),m.add("click")),C.has("hover")&&(C.delete("hover"),C.add("click"))),[m,C]},[A,X,M,se])}var g=u(29194);function d(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],M=arguments.length>2?arguments[2]:void 0;return M?A[0]===X[0]:A[0]===X[0]&&A[1]===X[1]}function b(A,X,M,se){for(var pe=M.points,R=Object.keys(A),m=0;m<R.length;m+=1){var C,z=R[m];if(d((C=A[z])===null||C===void 0?void 0:C.points,pe,se))return"".concat(X,"-placement-").concat(z)}return""}function S(A,X,M,se){return X||(M?{motionName:"".concat(A,"-").concat(M)}:se?{motionName:se}:null)}function I(A){return A.ownerDocument.defaultView}function w(A){for(var X=[],M=A==null?void 0:A.parentElement,se=["hidden","scroll","clip","auto"];M;){var pe=I(M).getComputedStyle(M),R=pe.overflowX,m=pe.overflowY,C=pe.overflow;[R,m,C].some(function(z){return se.includes(z)})&&X.push(M),M=M.parentElement}return X}function n(A){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(A)?X:A}function i(A){return n(parseFloat(A),0)}function y(A,X){var M=(0,N.Z)({},A);return(X||[]).forEach(function(se){if(!(se instanceof HTMLBodyElement||se instanceof HTMLHtmlElement)){var pe=I(se).getComputedStyle(se),R=pe.overflow,m=pe.overflowClipMargin,C=pe.borderTopWidth,z=pe.borderBottomWidth,O=pe.borderLeftWidth,U=pe.borderRightWidth,K=se.getBoundingClientRect(),ee=se.offsetHeight,q=se.clientHeight,ce=se.offsetWidth,we=se.clientWidth,ge=i(C),Ke=i(z),Me=i(O),Fe=i(U),ft=n(Math.round(K.width/ce*1e3)/1e3),je=n(Math.round(K.height/ee*1e3)/1e3),ze=(ce-we-Me-Fe)*ft,Nt=(ee-q-ge-Ke)*je,Tt=ge*je,rt=Ke*je,jt=Me*ft,hn=Fe*ft,St=0,vt=0;if(R==="clip"){var Rt=i(m);St=Rt*ft,vt=Rt*je}var on=K.x+jt-St,Qt=K.y+Tt-vt,qt=on+K.width+2*St-jt-hn-ze,En=Qt+K.height+2*vt-Tt-rt-Nt;M.left=Math.max(M.left,on),M.top=Math.max(M.top,Qt),M.right=Math.min(M.right,qt),M.bottom=Math.min(M.bottom,En)}}),M}function F(A){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,M="".concat(X),se=M.match(/^(.*)\%$/);return se?A*(parseFloat(se[1])/100):parseFloat(M)}function le(A,X){var M=X||[],se=(0,D.Z)(M,2),pe=se[0],R=se[1];return[F(A.width,pe),F(A.height,R)]}function Ee(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[A[0],A[1]]}function Le(A,X){var M=X[0],se=X[1],pe,R;return M==="t"?R=A.y:M==="b"?R=A.y+A.height:R=A.y+A.height/2,se==="l"?pe=A.x:se==="r"?pe=A.x+A.width:pe=A.x+A.width/2,{x:pe,y:R}}function Ve(A,X){var M={t:"b",b:"t",l:"r",r:"l"};return A.map(function(se,pe){return pe===X?M[se]||"c":se}).join("")}function it(A,X,M,se,pe,R,m){var C=a.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:pe[se]||{}}),z=(0,D.Z)(C,2),O=z[0],U=z[1],K=a.useRef(0),ee=a.useMemo(function(){return X?w(X):[]},[X]),q=a.useRef({}),ce=function(){q.current={}};A||ce();var we=(0,s.Z)(function(){if(X&&M&&A){let Bn=function(_t,dt){var Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Pt,wn=Wt.x+_t,Ln=Wt.y+dt,ar=wn+Cn,Jn=Ln+gn,ir=Math.max(wn,Dt.left),pt=Math.max(Ln,Dt.top),Ht=Math.min(ar,Dt.right),Pn=Math.min(Jn,Dt.bottom);return Math.max(0,(Ht-ir)*(Pn-pt))},At=function(){he=Wt.y+wt,ue=he+gn,ve=Wt.x+bt,xe=ve+Cn};var Me,Fe,ft,je,ze=X,Nt=ze.ownerDocument,Tt=I(ze),rt=Tt.getComputedStyle(ze),jt=rt.width,hn=rt.height,St=rt.position,vt=ze.style.left,Rt=ze.style.top,on=ze.style.right,Qt=ze.style.bottom,qt=ze.style.overflow,En=(0,N.Z)((0,N.Z)({},pe[se]),R),fn=Nt.createElement("div");(Me=ze.parentElement)===null||Me===void 0||Me.appendChild(fn),fn.style.left="".concat(ze.offsetLeft,"px"),fn.style.top="".concat(ze.offsetTop,"px"),fn.style.position=St,fn.style.height="".concat(ze.offsetHeight,"px"),fn.style.width="".concat(ze.offsetWidth,"px"),ze.style.left="0",ze.style.top="0",ze.style.right="auto",ze.style.bottom="auto",ze.style.overflow="hidden";var We;if(Array.isArray(M))We={x:M[0],y:M[1],width:0,height:0};else{var gt,Gt,mn=M.getBoundingClientRect();mn.x=(gt=mn.x)!==null&&gt!==void 0?gt:mn.left,mn.y=(Gt=mn.y)!==null&&Gt!==void 0?Gt:mn.top,We={x:mn.x,y:mn.y,width:mn.width,height:mn.height}}var Wt=ze.getBoundingClientRect();Wt.x=(Fe=Wt.x)!==null&&Fe!==void 0?Fe:Wt.left,Wt.y=(ft=Wt.y)!==null&&ft!==void 0?ft:Wt.top;var kn=Nt.documentElement,Vn=kn.clientWidth,Sn=kn.clientHeight,Yt=kn.scrollWidth,Nn=kn.scrollHeight,xn=kn.scrollTop,On=kn.scrollLeft,gn=Wt.height,Cn=Wt.width,An=We.height,Zn=We.width,re={left:0,top:0,right:Vn,bottom:Sn},Y={left:-On,top:-xn,right:Yt-On,bottom:Nn-xn},$e=En.htmlRegion,Te="visible",Ye="visibleFirst";$e!=="scroll"&&$e!==Ye&&($e=Te);var Xe=$e===Ye,ot=y(Y,ee),tt=y(re,ee),Pt=$e===Te?tt:ot,Se=Xe?tt:Pt;ze.style.left="auto",ze.style.top="auto",ze.style.right="0",ze.style.bottom="0";var me=ze.getBoundingClientRect();ze.style.left=vt,ze.style.top=Rt,ze.style.right=on,ze.style.bottom=Qt,ze.style.overflow=qt,(je=ze.parentElement)===null||je===void 0||je.removeChild(fn);var Be=n(Math.round(Cn/parseFloat(jt)*1e3)/1e3),lt=n(Math.round(gn/parseFloat(hn)*1e3)/1e3);if(Be===0||lt===0||(0,G.Sh)(M)&&!(0,g.Z)(M))return;var et=En.offset,It=En.targetOffset,Je=le(Wt,et),nt=(0,D.Z)(Je,2),$=nt[0],de=nt[1],Ce=le(We,It),fe=(0,D.Z)(Ce,2),Ne=fe[0],ke=fe[1];We.x-=Ne,We.y-=ke;var Ae=En.points||[],Ue=(0,D.Z)(Ae,2),st=Ue[0],ct=Ue[1],ht=Ee(ct),ut=Ee(st),Ot=Le(We,ht),Mt=Le(Wt,ut),kt=(0,N.Z)({},En),bt=Ot.x-Mt.x+$,wt=Ot.y-Mt.y+de,$t=Bn(bt,wt),Qe=Bn(bt,wt,tt),He=Le(We,["t","l"]),at=Le(Wt,["t","l"]),en=Le(We,["b","r"]),ln=Le(Wt,["b","r"]),vn=En.overflow||{},Rn=vn.adjustX,Z=vn.adjustY,ie=vn.shiftX,ne=vn.shiftY,ae=function(dt){return typeof dt=="boolean"?dt:dt>=0},he,ue,ve,xe;At();var Pe=ae(Z),te=ut[0]===ht[0];if(Pe&&ut[0]==="t"&&(ue>Se.bottom||q.current.bt)){var oe=wt;te?oe-=gn-An:oe=He.y-ln.y-de;var _e=Bn(bt,oe),De=Bn(bt,oe,tt);_e>$t||_e===$t&&(!Xe||De>=Qe)?(q.current.bt=!0,wt=oe,de=-de,kt.points=[Ve(ut,0),Ve(ht,0)]):q.current.bt=!1}if(Pe&&ut[0]==="b"&&(he<Se.top||q.current.tb)){var Re=wt;te?Re+=gn-An:Re=en.y-at.y-de;var qe=Bn(bt,Re),Ct=Bn(bt,Re,tt);qe>$t||qe===$t&&(!Xe||Ct>=Qe)?(q.current.tb=!0,wt=Re,de=-de,kt.points=[Ve(ut,0),Ve(ht,0)]):q.current.tb=!1}var yt=ae(Rn),Zt=ut[1]===ht[1];if(yt&&ut[1]==="l"&&(xe>Se.right||q.current.rl)){var xt=bt;Zt?xt-=Cn-Zn:xt=He.x-ln.x-$;var Kt=Bn(xt,wt),nn=Bn(xt,wt,tt);Kt>$t||Kt===$t&&(!Xe||nn>=Qe)?(q.current.rl=!0,bt=xt,$=-$,kt.points=[Ve(ut,1),Ve(ht,1)]):q.current.rl=!1}if(yt&&ut[1]==="r"&&(ve<Se.left||q.current.lr)){var Et=bt;Zt?Et+=Cn-Zn:Et=en.x-at.x-$;var rn=Bn(Et,wt),Jt=Bn(Et,wt,tt);rn>$t||rn===$t&&(!Xe||Jt>=Qe)?(q.current.lr=!0,bt=Et,$=-$,kt.points=[Ve(ut,1),Ve(ht,1)]):q.current.lr=!1}At();var Xt=ie===!0?0:ie;typeof Xt=="number"&&(ve<tt.left&&(bt-=ve-tt.left-$,We.x+Zn<tt.left+Xt&&(bt+=We.x-tt.left+Zn-Xt)),xe>tt.right&&(bt-=xe-tt.right-$,We.x>tt.right-Xt&&(bt+=We.x-tt.right+Xt)));var sn=ne===!0?0:ne;typeof sn=="number"&&(he<tt.top&&(wt-=he-tt.top-de,We.y+An<tt.top+sn&&(wt+=We.y-tt.top+An-sn)),ue>tt.bottom&&(wt-=ue-tt.bottom-de,We.y>tt.bottom-sn&&(wt+=We.y-tt.bottom+sn)));var _n=Wt.x+bt,Tn=_n+Cn,tn=Wt.y+wt,un=tn+gn,Vt=We.x,mt=Vt+Zn,Ut=We.y,Ft=Ut+An,yn=Math.max(_n,Vt),cn=Math.min(Tn,mt),bn=(yn+cn)/2,zn=bn-_n,Xn=Math.max(tn,Ut),$n=Math.min(un,Ft),tr=(Xn+$n)/2,rr=tr-tn;m==null||m(X,kt);var Gn=me.right-Wt.x-(bt+Wt.width),an=me.bottom-Wt.y-(wt+Wt.height);Be===1&&(bt=Math.round(bt),Gn=Math.round(Gn)),lt===1&&(wt=Math.round(wt),an=Math.round(an));var Dn={ready:!0,offsetX:bt/Be,offsetY:wt/lt,offsetR:Gn/Be,offsetB:an/lt,arrowX:zn/Be,arrowY:rr/lt,scaleX:Be,scaleY:lt,align:kt};U(Dn)}}),ge=function(){K.current+=1;var Fe=K.current;Promise.resolve().then(function(){K.current===Fe&&we()})},Ke=function(){U(function(Fe){return(0,N.Z)((0,N.Z)({},Fe),{},{ready:!1})})};return(0,t.Z)(Ke,[se]),(0,t.Z)(function(){A||Ke()},[A]),[O.ready,O.offsetX,O.offsetY,O.offsetR,O.offsetB,O.arrowX,O.arrowY,O.scaleX,O.scaleY,O.align,ge]}var zt=u(80702);function be(A,X,M,se,pe){(0,t.Z)(function(){if(A&&X&&M){let K=function(){se(),pe()};var R=X,m=M,C=w(R),z=w(m),O=I(m),U=new Set([O].concat((0,zt.Z)(C),(0,zt.Z)(z)));return U.forEach(function(ee){ee.addEventListener("scroll",K,{passive:!0})}),O.addEventListener("resize",K,{passive:!0}),se(),function(){U.forEach(function(ee){ee.removeEventListener("scroll",K),O.removeEventListener("resize",K)})}}},[A,X,M])}var Ge=u(48736);function Lt(A,X,M,se,pe,R,m,C){var z=a.useRef(A);z.current=A;var O=a.useRef(!1);a.useEffect(function(){if(X&&se&&(!pe||R)){var K=function(){O.current=!1},ee=function(ft){var je;z.current&&!m(((je=ft.composedPath)===null||je===void 0||(je=je.call(ft))===null||je===void 0?void 0:je[0])||ft.target)&&!O.current&&C(!1)},q=I(se);q.addEventListener("pointerdown",K,!0),q.addEventListener("mousedown",ee,!0),q.addEventListener("contextmenu",ee,!0);var ce=(0,e.A)(M);if(ce&&(ce.addEventListener("mousedown",ee,!0),ce.addEventListener("contextmenu",ee,!0)),0)var we,ge,Ke,Me;return function(){q.removeEventListener("pointerdown",K,!0),q.removeEventListener("mousedown",ee,!0),q.removeEventListener("contextmenu",ee,!0),ce&&(ce.removeEventListener("mousedown",ee,!0),ce.removeEventListener("contextmenu",ee,!0))}}},[X,M,se,pe,R]);function U(){O.current=!0}return U}var Ie=["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 Oe(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Q.Z,X=a.forwardRef(function(M,se){var pe=M.prefixCls,R=pe===void 0?"rc-trigger-popup":pe,m=M.children,C=M.action,z=C===void 0?"hover":C,O=M.showAction,U=M.hideAction,K=M.popupVisible,ee=M.defaultPopupVisible,q=M.onPopupVisibleChange,ce=M.afterPopupVisibleChange,we=M.mouseEnterDelay,ge=M.mouseLeaveDelay,Ke=ge===void 0?.1:ge,Me=M.focusDelay,Fe=M.blurDelay,ft=M.mask,je=M.maskClosable,ze=je===void 0?!0:je,Nt=M.getPopupContainer,Tt=M.forceRender,rt=M.autoDestroy,jt=M.destroyPopupOnHide,hn=M.popup,St=M.popupClassName,vt=M.popupStyle,Rt=M.popupPlacement,on=M.builtinPlacements,Qt=on===void 0?{}:on,qt=M.popupAlign,En=M.zIndex,fn=M.stretch,We=M.getPopupClassNameFromAlign,gt=M.fresh,Gt=M.alignPoint,mn=M.onPopupClick,Wt=M.onPopupAlign,kn=M.arrow,Vn=M.popupMotion,Sn=M.maskMotion,Yt=M.popupTransitionName,Nn=M.popupAnimation,xn=M.maskTransitionName,On=M.maskAnimation,gn=M.className,Cn=M.getTriggerDOMNode,An=(0,W.Z)(M,Ie),Zn=rt||jt||!1,re=a.useState(!1),Y=(0,D.Z)(re,2),$e=Y[0],Te=Y[1];(0,t.Z)(function(){Te((0,r.Z)())},[]);var Ye=a.useRef({}),Xe=a.useContext(J),ot=a.useMemo(function(){return{registerSubPopup:function(Ht,Pn){Ye.current[Ht]=Pn,Xe==null||Xe.registerSubPopup(Ht,Pn)}}},[Xe]),tt=(0,c.Z)(),Pt=a.useState(null),Se=(0,D.Z)(Pt,2),me=Se[0],Be=Se[1],lt=a.useRef(null),et=(0,s.Z)(function(pt){lt.current=pt,(0,G.Sh)(pt)&&me!==pt&&Be(pt),Xe==null||Xe.registerSubPopup(tt,pt)}),It=a.useState(null),Je=(0,D.Z)(It,2),nt=Je[0],$=Je[1],de=a.useRef(null),Ce=(0,s.Z)(function(pt){(0,G.Sh)(pt)&&nt!==pt&&($(pt),de.current=pt)}),fe=a.Children.only(m),Ne=(fe==null?void 0:fe.props)||{},ke={},Ae=(0,s.Z)(function(pt){var Ht,Pn,pn=nt;return(pn==null?void 0:pn.contains(pt))||((Ht=(0,e.A)(pn))===null||Ht===void 0?void 0:Ht.host)===pt||pt===pn||(me==null?void 0:me.contains(pt))||((Pn=(0,e.A)(me))===null||Pn===void 0?void 0:Pn.host)===pt||pt===me||Object.values(Ye.current).some(function(Mn){return(Mn==null?void 0:Mn.contains(pt))||pt===Mn})}),Ue=S(R,Vn,Nn,Yt),st=S(R,Sn,On,xn),ct=a.useState(ee||!1),ht=(0,D.Z)(ct,2),ut=ht[0],Ot=ht[1],Mt=K!=null?K:ut,kt=(0,s.Z)(function(pt){K===void 0&&Ot(pt)});(0,t.Z)(function(){Ot(K||!1)},[K]);var bt=a.useRef(Mt);bt.current=Mt;var wt=a.useRef([]);wt.current=[];var $t=(0,s.Z)(function(pt){var Ht;kt(pt),((Ht=wt.current[wt.current.length-1])!==null&&Ht!==void 0?Ht:Mt)!==pt&&(wt.current.push(pt),q==null||q(pt))}),Qe=a.useRef(),He=function(){clearTimeout(Qe.current)},at=function(Ht){var Pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;He(),Pn===0?$t(Ht):Qe.current=setTimeout(function(){$t(Ht)},Pn*1e3)};a.useEffect(function(){return He},[]);var en=a.useState(!1),ln=(0,D.Z)(en,2),vn=ln[0],Rn=ln[1];(0,t.Z)(function(pt){(!pt||Mt)&&Rn(!0)},[Mt]);var Z=a.useState(null),ie=(0,D.Z)(Z,2),ne=ie[0],ae=ie[1],he=a.useState(null),ue=(0,D.Z)(he,2),ve=ue[0],xe=ue[1],Pe=function(Ht){xe([Ht.clientX,Ht.clientY])},te=it(Mt,me,Gt&&ve!==null?ve:nt,Rt,Qt,qt,Wt),oe=(0,D.Z)(te,11),_e=oe[0],De=oe[1],Re=oe[2],qe=oe[3],Ct=oe[4],yt=oe[5],Zt=oe[6],xt=oe[7],Kt=oe[8],nn=oe[9],Et=oe[10],rn=ye($e,z,O,U),Jt=(0,D.Z)(rn,2),Xt=Jt[0],sn=Jt[1],_n=Xt.has("click"),Tn=sn.has("click")||sn.has("contextMenu"),tn=(0,s.Z)(function(){vn||Et()}),un=function(){bt.current&&Gt&&Tn&&at(!1)};be(Mt,nt,me,tn,un),(0,t.Z)(function(){tn()},[ve,Rt]),(0,t.Z)(function(){Mt&&!(Qt!=null&&Qt[Rt])&&tn()},[JSON.stringify(qt)]);var Vt=a.useMemo(function(){var pt=b(Qt,R,nn,Gt);return _()(pt,We==null?void 0:We(nn))},[nn,We,Qt,R,Gt]);a.useImperativeHandle(se,function(){return{nativeElement:de.current,popupElement:lt.current,forceAlign:tn}});var mt=a.useState(0),Ut=(0,D.Z)(mt,2),Ft=Ut[0],yn=Ut[1],cn=a.useState(0),bn=(0,D.Z)(cn,2),zn=bn[0],Xn=bn[1],$n=function(){if(fn&&nt){var Ht=nt.getBoundingClientRect();yn(Ht.width),Xn(Ht.height)}},tr=function(){$n(),tn()},rr=function(Ht){Rn(!1),Et(),ce==null||ce(Ht)},Gn=function(){return new Promise(function(Ht){$n(),ae(function(){return Ht})})};(0,t.Z)(function(){ne&&(Et(),ne(),ae(null))},[ne]);function an(pt,Ht,Pn,pn){ke[pt]=function(Mn){var lr;pn==null||pn(Mn),at(Ht,Pn);for(var jn=arguments.length,ur=new Array(jn>1?jn-1:0),hr=1;hr<jn;hr++)ur[hr-1]=arguments[hr];(lr=Ne[pt])===null||lr===void 0||lr.call.apply(lr,[Ne,Mn].concat(ur))}}(_n||Tn)&&(ke.onClick=function(pt){var Ht;bt.current&&Tn?at(!1):!bt.current&&_n&&(Pe(pt),at(!0));for(var Pn=arguments.length,pn=new Array(Pn>1?Pn-1:0),Mn=1;Mn<Pn;Mn++)pn[Mn-1]=arguments[Mn];(Ht=Ne.onClick)===null||Ht===void 0||Ht.call.apply(Ht,[Ne,pt].concat(pn))});var Dn=Lt(Mt,Tn,nt,me,ft,ze,Ae,at),Bn=Xt.has("hover"),At=sn.has("hover"),_t,dt;Bn&&(an("onMouseEnter",!0,we,function(pt){Pe(pt)}),an("onPointerEnter",!0,we,function(pt){Pe(pt)}),_t=function(Ht){(Mt||vn)&&me!==null&&me!==void 0&&me.contains(Ht.target)&&at(!0,we)},Gt&&(ke.onMouseMove=function(pt){var Ht;(Ht=Ne.onMouseMove)===null||Ht===void 0||Ht.call(Ne,pt)})),At&&(an("onMouseLeave",!1,Ke),an("onPointerLeave",!1,Ke),dt=function(){at(!1,Ke)}),Xt.has("focus")&&an("onFocus",!0,Me),sn.has("focus")&&an("onBlur",!1,Fe),Xt.has("contextMenu")&&(ke.onContextMenu=function(pt){var Ht;bt.current&&sn.has("contextMenu")?at(!1):(Pe(pt),at(!0)),pt.preventDefault();for(var Pn=arguments.length,pn=new Array(Pn>1?Pn-1:0),Mn=1;Mn<Pn;Mn++)pn[Mn-1]=arguments[Mn];(Ht=Ne.onContextMenu)===null||Ht===void 0||Ht.call.apply(Ht,[Ne,pt].concat(pn))}),gn&&(ke.className=_()(Ne.className,gn));var Dt=(0,N.Z)((0,N.Z)({},Ne),ke),wn={},Ln=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Ln.forEach(function(pt){An[pt]&&(wn[pt]=function(){for(var Ht,Pn=arguments.length,pn=new Array(Pn),Mn=0;Mn<Pn;Mn++)pn[Mn]=arguments[Mn];(Ht=Dt[pt])===null||Ht===void 0||Ht.call.apply(Ht,[Dt].concat(pn)),An[pt].apply(An,pn)})});var ar=a.cloneElement(fe,(0,N.Z)((0,N.Z)({},Dt),wn)),Jn={x:yt,y:Zt},ir=kn?(0,N.Z)({},kn!==!0?kn:{}):null;return a.createElement(a.Fragment,null,a.createElement(H.Z,{disabled:!Mt,ref:Ce,onResize:tr},a.createElement(L,{getTriggerDOMNode:Cn},ar)),a.createElement(J.Provider,{value:ot},a.createElement(k,{portal:A,ref:et,prefixCls:R,popup:hn,className:_()(St,Vt),style:vt,target:nt,onMouseEnter:_t,onMouseLeave:dt,onPointerEnter:_t,zIndex:En,open:Mt,keepDom:vn,fresh:gt,onClick:mn,onPointerDownCapture:Dn,mask:ft,motion:Ue,maskMotion:st,onVisibleChanged:rr,onPrepare:Gn,forceRender:Tt,autoDestroy:Zn,getPopupContainer:Nt,align:nn,arrow:ir,arrowPos:Jn,ready:_e,offsetX:De,offsetY:Re,offsetR:qe,offsetB:Ct,onAlign:tn,stretch:fn,targetWidth:Ft/xt,targetHeight:zn/Kt})))});return X}var T=Oe(Q.Z)},67769:function(Bt,Ze,u){"use strict";var N=u(59301),D=u(93314),W=u(99571),Q=Object.defineProperty,V=Object.defineProperties,_=Object.getOwnPropertyDescriptors,H=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(a,o,v)=>o in a?Q(a,o,{enumerable:!0,configurable:!0,writable:!0,value:v}):a[o]=v,c=(a,o)=>{for(var v in o||(o={}))G.call(o,v)&&s(a,v,o[v]);if(H)for(var v of H(o))e.call(o,v)&&s(a,v,o[v]);return a},t=(a,o)=>V(a,_(o));const r=({img:a,buttonProps:o={},styles:v={},customText:x,ButtonText:E,ButtonClick:h,Buttonclass:p,ButtonTwo:f,imgStyles:l,loading:k=!1,className:P=""})=>N.createElement("section",{className:`tc animated fadeIn ${P}`,style:c({color:"#999",margin:"100px auto",visibility:k?"hidden":"visible"},v)},N.createElement("img",{src:a||D,style:t(c({},l),{pointerEvents:"none",userSelect:"none"})}),N.createElement("p",{className:"mt20 font14"},x||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),E&&N.createElement(W.ZP,c({className:p,onClick:h},o),E),f&&f);Ze.Z=r},15213:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return p}});var N=u(59301),D={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},W=u(99571),Q=u(70557),V=u(48633),_=u(25399),H=u(61737),G=u(52035),e=u(67769),s=u(13820),c=u(91676),t=u(59301),r=Object.defineProperty,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,x=(f,l,k)=>l in f?r(f,l,{enumerable:!0,configurable:!0,writable:!0,value:k}):f[l]=k,E=(f,l)=>{for(var k in l||(l={}))o.call(l,k)&&x(f,k,l[k]);if(a)for(var k of a(l))v.call(l,k)&&x(f,k,l[k]);return f},h=(f,l,k)=>new Promise((P,L)=>{var j=ye=>{try{B(k.next(ye))}catch(g){L(g)}},J=ye=>{try{B(k.throw(ye))}catch(g){L(g)}},B=ye=>ye.done?P(ye.value):Promise.resolve(ye.value).then(j,J);B((k=k.apply(f,l)).next())}),p=({editOffice:f="view",data:l,theme:k,type:P,filename:L,monacoEditor:j,className:J,style:B,close:ye,onClose:g,hasMask:d,disabledDownload:b,onImgDimensions:S,showNodata:I,recordInfo:w})=>{const[n,i]=(0,N.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[y,F]=(0,N.useState)(""),[le,Ee]=(0,N.useState)(),Le=window.ENV==="build"?"/react/build":"",Ve=location.host.startsWith("localhost")?s.Z.PROXY_SERVER:s.Z.API_SERVER,zt=10*(1024*1024),be=(0,N.useRef)();l!=null&&l.startsWith("/api")&&P!=="txt"&&(l=s.Z.API_SERVER+l);const Ge=T=>T.substring(T.lastIndexOf("/")+1).split(".").pop();L&&j&&(j.filename=L),(0,N.useEffect)(()=>{var T,A;const X=(A=(T=document.cookie)==null?void 0:T.replace(/\s/g,""))==null?void 0:A.split(";");X==null||X.map(M=>{let se=M.split("=");se[0]==="_educoder_session"&&F(se[1])})},[]),(0,N.useEffect)(()=>{P==="office"&&(l.indexOf("bigfilescdn.")>-1||l.indexOf("bigfiles1")>-1?Ee({url:l,fileType:Ge(l),model:l.indexOf("model=edit")?"edit":"view"}):Lt())},[P,l]);const Lt=()=>h(void 0,null,function*(){console.log("data:",l);let T=l;l.startsWith("http")||(T=location.origin+T);let A=new URL(T).pathname.split("/").pop();const X=yield(0,G.gJ)({attachment_id:A});X.url=Ve+X.url,Ee(X)}),Ie=()=>{if(l.startsWith("http")||l.startsWith("blob:")){Oe();return}(0,H.Sv)(L||"educoder",l,L)},Oe=()=>{w&&(0,c.fc)({id:w==null?void 0:w.id,watch_type:1,course_id:w==null?void 0:w.course_id}),(0,H.Nd)(L||"educoder",decodeURIComponent(l))};return t.createElement("div",{style:E({},B||{}),className:`${d&&D.bgBlack} ${P?D.wrp:"hide"}`},ye&&t.createElement("div",{className:D.close,ref:be},!!S&&t.createElement(_.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>be.current},t.createElement("span",{onClick:()=>{g(),S()}},t.createElement("i",{className:"icon-yulanpizhu"}))),!b&&t.createElement(_.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>be.current},t.createElement("span",{onClick:Oe},t.createElement("i",{className:"icon-quxiaozhiding"}))),t.createElement(_.Z,{title:"\u5173\u95ED",getPopupContainer:()=>be.current},t.createElement("span",{className:"",onClick:g},t.createElement("i",{className:"icon-guanbi1"})))),t.createElement("div",{className:`${D[J]} ${J} ${D.monaco} ${P==="txt"?"show":"hide"}`},P==="txt"&&t.createElement(t.Fragment,null,t.createElement(V.ZP,E({},j)))),P==="audio"&&t.createElement("audio",{src:`${(l==null?void 0:l.indexOf("http://"))>-1||(l==null?void 0:l.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${l}`,autoPlay:!0}),P==="video"&&t.createElement(t.Fragment,null,(l==null?void 0:l.indexOf("http"))>-1?t.createElement("video",{controls:!0,src:`${l}`,autoPlay:!0}):t.createElement("video",{controls:!0,src:`data:video/mp4;base64,${l}`,autoPlay:!0})),P==="office"&&le&&t.createElement("iframe",{src:`${Le}/office.html?key=${le.key}&url=${btoa(le.url)}&callbackUrl=${Ve+(le.callbackUrl||"")}&fileType=${le.fileType}&title=${le.title||""}&model=${f}&officeServer=${s.Z.ONLYOFFICE}&disabledDownload=${!!b}`}),P==="html"&&t.createElement("iframe",{src:l+"&disposition=inline"}),P==="pdf"&&t.createElement("iframe",{src:`${Le}/js/pdfview/index.html?filename=${L||"educoder.pdf"}&url=${encodeURIComponent(l)}&disabledDownload=${!!b}`}),P==="image"&&t.createElement("img",{src:`${(l==null?void 0:l.indexOf("http://"))>-1||(l==null?void 0:l.indexOf("https://"))>-1?"":"data:image/png;base64,"}${l}`}),(P==="other"||P==="download")&&t.createElement(t.Fragment,null,I?t.createElement(e.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:t.createElement(W.ZP,{icon:t.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Ie,disabled:b},"\u4E0B\u8F7D")}):t.createElement(W.ZP,{type:"primary",size:"middle",onClick:Ie,disabled:b},t.createElement(Q.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},48633:function(Bt,Ze,u){"use strict";u.d(Ze,{SV:function(){return m},ZP:function(){return R}});var N=u(59301),D=u(76374);const W={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"]},Q={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"]},V={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(`
`)}]},_={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(`
`)}]},H={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 G=u(53184),e=u.n(G),s=Object.defineProperty,c=Object.defineProperties,t=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,v=(C,z,O)=>z in C?s(C,z,{enumerable:!0,configurable:!0,writable:!0,value:O}):C[z]=O,x=(C,z)=>{for(var O in z||(z={}))a.call(z,O)&&v(C,O,z[O]);if(r)for(var O of r(z))o.call(z,O)&&v(C,O,z[O]);return C},E=(C,z)=>c(C,t(z)),h=(C,z,O)=>new Promise((U,K)=>{var ee=we=>{try{ce(O.next(we))}catch(ge){K(ge)}},q=we=>{try{ce(O.throw(we))}catch(ge){K(ge)}},ce=we=>we.done?U(we.value):Promise.resolve(we.value).then(ee,q);ce((O=O.apply(C,z)).next())});const p={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"]}},f=(C,z)=>z.map(O=>({label:O,kind:C.languages.CompletionItemKind.Keyword,insertText:O})),l=C=>Object.keys(p.tables).map(z=>({label:z,kind:C.languages.CompletionItemKind.Variable,insertText:z})),k=(C,z)=>{const O=p.tables[C];return O?O.map(U=>({label:U,kind:z.languages.CompletionItemKind.Field,insertText:U})):[]};function P(C,z,O,U,K){let ee=z.getWordUntilPosition(O),q={startLineNumber:O.lineNumber,endLineNumber:O.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},ce=U.map(we=>({label:we,kind:C.languages.CompletionItemKind.Keyword,insertText:we,insertTextRules:C.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:q}));return K.map(we=>{ce.push(E(x({},we),{range:q}))}),ce}var L=C=>{p.languages.map(K=>(C.languages.registerDocumentFormattingEditProvider(K,{provideDocumentFormattingEdits(ee,q,ce){return h(this,null,function*(){const we=e()(ee.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:ee.getFullModelRange(),text:we}]})}}),K));const z=V.quickKey.map(K=>({label:K.label,kind:C.languages.CompletionItemKind.Method,insertText:K.content,insertTextRules:C.languages.CompletionItemInsertTextRule.InsertAsSnippet})),O=_.quickKey.map(K=>({label:K.label,kind:C.languages.CompletionItemKind.Method,insertText:K.content,insertTextRules:C.languages.CompletionItemInsertTextRule.InsertAsSnippet})),U=Q.quickKey.map(K=>({label:K.label,kind:C.languages.CompletionItemKind.Method,insertText:K.content,insertTextRules:C.languages.CompletionItemInsertTextRule.InsertAsSnippet}));C.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(K,ee){var q=K.getWordUntilPosition(ee),ce={startLineNumber:ee.lineNumber,endLineNumber:ee.lineNumber,startColumn:q.startColumn,endColumn:q.endColumn},we=K.getLineContent(ee.lineNumber).substring(q.startColumn-2,q.endColumn);return{suggestions:[...V.keywords.map(ge=>({label:ge,kind:C.languages.CompletionItemKind.Function,documentation:ge,insertText:ge,insertTextRules:C.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...V.quickKey.map(ge=>({label:ge.label,kind:C.languages.CompletionItemKind.Function,documentation:ge.content,insertText:we.startsWith("#")?ge.content.replace(/#/,""):ge.content,insertTextRules:C.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),C.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(K,ee){var q=K.getWordUntilPosition(ee),ce={startLineNumber:ee.lineNumber,endLineNumber:ee.lineNumber,startColumn:q.startColumn,endColumn:q.endColumn};return{suggestions:[...W.keywords.map(we=>({label:we,kind:C.languages.CompletionItemKind.Function,documentation:we,insertText:we,insertTextRules:C.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),C.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(K,ee){var q=K.getWordUntilPosition(ee),ce={startLineNumber:ee.lineNumber,endLineNumber:ee.lineNumber,startColumn:q.startColumn,endColumn:q.endColumn},we=K.getLineContent(ee.lineNumber).substring(q.startColumn-2,q.endColumn);return{suggestions:[...Q.keywords.map(ge=>({label:ge,kind:C.languages.CompletionItemKind.Function,documentation:ge,insertText:ge,insertTextRules:C.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...Q.quickKey.map(ge=>({label:ge.label,kind:C.languages.CompletionItemKind.Function,documentation:ge.content,insertText:we.startsWith("#")?ge.content.replace(/#/,""):ge.content,insertTextRules:C.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),C.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(K,ee){var q=K.getWordUntilPosition(ee),ce={startLineNumber:ee.lineNumber,endLineNumber:ee.lineNumber,startColumn:q.startColumn,endColumn:q.endColumn},we=K.getLineContent(ee.lineNumber).substring(q.startColumn-2,q.endColumn);return{suggestions:[...H.keywords.map(ge=>({label:ge,kind:C.languages.CompletionItemKind.Function,documentation:ge,insertText:ge,insertTextRules:C.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...H.quickKey.map(ge=>({label:ge.label,kind:C.languages.CompletionItemKind.Function,documentation:ge.content,insertText:we.startsWith("#")?ge.content.replace(/#/,""):ge.content,insertTextRules:C.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),C.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(K,ee){var q=K.getWordUntilPosition(ee),ce={startLineNumber:ee.lineNumber,endLineNumber:ee.lineNumber,startColumn:q.startColumn,endColumn:q.endColumn},we=K.getLineContent(ee.lineNumber).substring(q.startColumn-2,q.endColumn);return{suggestions:[..._.keywords.map(ge=>({label:ge,kind:C.languages.CompletionItemKind.Function,documentation:ge,insertText:ge,insertTextRules:C.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),..._.quickKey.map(ge=>({label:ge.label,kind:C.languages.CompletionItemKind.Function,documentation:ge.content,insertText:we.startsWith("#")?ge.content.replace(/#/,""):ge.content,insertTextRules:C.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}})};const j="\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,B=(C,z,O)=>z in C?J(C,z,{enumerable:!0,configurable:!0,writable:!0,value:O}):C[z]=O,ye=(C,z,O)=>B(C,typeof z!="symbol"?z+"":z,O);const g=class yi{constructor(z,O,U){this.placeholder=z,this.editor=O,this.monaco=U,O.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return yi.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)}};ye(g,"ID","editor.widget.placeholderHint");var b=g,S=u(96236),I=u(6767),w=u(25399),n=u(89392),i=u(94784),y=u(56102),F=Object.defineProperty,le=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable,zt=(C,z,O)=>z in C?F(C,z,{enumerable:!0,configurable:!0,writable:!0,value:O}):C[z]=O,be=(C,z)=>{for(var O in z||(z={}))Ve.call(z,O)&&zt(C,O,z[O]);if(Le)for(var O of Le(z))it.call(z,O)&&zt(C,O,z[O]);return C},Ge=(C,z)=>le(C,Ee(z)),Lt=(C,z)=>{var O={};for(var U in C)Ve.call(C,U)&&z.indexOf(U)<0&&(O[U]=C[U]);if(C!=null&&Le)for(var U of Le(C))z.indexOf(U)<0&&it.call(C,U)&&(O[U]=C[U]);return O},Ie=(C,z,O)=>new Promise((U,K)=>{var ee=we=>{try{ce(O.next(we))}catch(ge){K(ge)}},q=we=>{try{ce(O.throw(we))}catch(ge){K(ge)}},ce=we=>we.done?U(we.value):Promise.resolve(we.value).then(ee,q);ce((O=O.apply(C,z)).next())});function Oe(C){return/^\d+$/.test(C)?`${C}px`:C}function T(){}let A=!1;const X={"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 M(C=[]){let z=C;if(Array.isArray(C)){for(let O=0;O<C.length;O++){let U=X[C[O]];if(U)return U}return z[0]}return X[z]||z}let se=null;const pe=()=>Ie(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(C){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",C)}});var R=C=>{var z=C,{width:O="100%",height:U="100%",value:K,language:ee="javascript",style:q={},options:ce={},overrideServices:we={},theme:ge="vs-dark",onEditBlur:Ke,isCopy:Me=!1,onSave:Fe,autoHeight:ft=!1,forbidCopy:je=!1,onChange:ze=T,editorDidMount:Nt=T,onFocus:Tt=T,onBreakPoint:rt=T,breakPointValue:jt=[],filename:hn="educoder.txt",errorLine:St,errorContent:vt="",highlightLine:Rt,openBreakPoint:on=!1,placeholder:Qt="",showMiniMap:qt=!0}=z,En=Lt(z,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const fn=(0,N.useRef)(),We=(0,N.useRef)({}),gt=(0,N.useRef)(),Gt=(0,N.useRef)(),mn=(0,N.useRef)([]),Wt=(0,N.useRef)(!1),kn=(0,N.useRef)(),Vn=(0,N.useRef)(),Sn=(0,N.useRef)(!1),[Yt,Nn]=(0,N.useState)(!1);function xn(){let Se;return fn.current&&(Se=new D.Z(me=>{for(let Be of me)(Be.target.offsetHeight>0||Be.target.offsetWidth>0)&&We.current.instance.layout()}),Se.observe(fn.current)),Se}function On(){I.ZP.warning({content:decodeURIComponent(j),key:"monaco-editor-tip"})}const gn=()=>{let Se=We.current.instance;if(K!=null&&Se&&Yt){const me=Se.getModel();me&&K!==me.getValue()&&(A=!0,me.setValue(K),Se.layout(),A=!1)}};(0,N.useEffect)(()=>{const Se=i.Z.subscribe("formatDocument",me=>{var Be;let lt=We.current.instance;(Be=lt==null?void 0:lt.getAction)==null||Be.call(lt,"editor.action.formatDocument").run()});return window.updateMonacoValue=me=>{ze(me)},Se},[]),(0,N.useEffect)(()=>{var Se;let me=We.current.instance;Gt.current&&clearTimeout(Gt.current),Gt.current=setTimeout(()=>{gn()},500),K&&(K!=null&&K.length)&&((Se=me==null?void 0:me.updateOptions)==null||Se.call(me,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(K.split(/\r\n|\r|\n/g).length))+3,5)}))},[K,Yt,We.current]),(0,N.useEffect)(()=>{if(St&&We.current&&We.current.instance){let me=We.current.instance;me.changeViewZones(function(Be){var lt=document.createElement("div");lt.style.padding="10px 20px",lt.style.width="calc(100% - 20px)",lt.className="my-error-line-wrp",lt.innerHTML=vt,Be.addZone({afterLineNumber:St||11,heightInLines:3,domNode:lt})});var Se={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}};me.addOverlayWidget(Se),me.revealPositionInCenter({lineNumber:20,column:1})}},[St,We.current,Yt]);const Cn=(Se="",me)=>{if(!Se||Se.trim()==="")return!0;const lt=We.current.instance.getModel().getLineTokens(me);let et=!1;for(let It=0;It<2;It++)lt.getStandardTokenType(It)===1&&(et=!0);return et};(0,N.useEffect)(()=>{var Se;const me=(Se=We.current)==null?void 0:Se.instance;if(me&&Yt&&je){const Be=me.onDidBlurEditorWidget(()=>{Sn.current=!1}),lt=me.onDidFocusEditorText(()=>{Sn.current=!0});return()=>{Be.dispose(),lt.dispose()}}},[We.current,Yt,je]),(0,N.useEffect)(()=>{var Se;if((Se=We.current)!=null&&Se.instance&&Yt&&on){let me=We.current.instance,Be=me.getModel();if(!Be)return;(()=>{var Ae;let Ue=[],st=[];const ct=Be.getAllDecorations();for(let ut of ct)ut.options.className==="highlighted-line"&&(Ue.push((Ae=ut==null?void 0:ut.range)==null?void 0:Ae.startLineNumber),st.push(ut==null?void 0:ut.id));if(Rt===Ue[0])return;Be.deltaDecorations(st,[]);const ht=Be.getLineCount();Rt&&Rt<=ht&&(me.deltaDecorations([],[{range:new se.Range(Rt,1,Rt,Be.getLineMaxColumn(Rt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),me.revealLineInCenter(Rt))})();const et=(Ae=!1)=>{var Ue;let st=[],ct=[];const ht=Be.getAllDecorations();for(let ut of ht)ut.options.linesDecorationsClassName==="breakpoints-select"&&(st.push((Ue=ut==null?void 0:ut.range)==null?void 0:Ue.startLineNumber),ct.push(ut==null?void 0:ut.id));if(Ae)return{lines:st,ids:ct};rt(st)},It=Ae=>Ie(void 0,null,function*(){let Ue={range:new se.Range(Ae,1,Ae,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Be.deltaDecorations([],[Ue]),et()}),Je=Ae=>Ie(void 0,null,function*(){let Ue=[];const st=me.getLineDecorations(Ae);for(let ct of st)ct.options.linesDecorationsClassName==="breakpoints-select"&&Ue.push(ct.id);yield Be.deltaDecorations(Ue,[]),et()}),nt=Ae=>{let Ue=me.getLineDecorations(Ae);for(let st of Ue)if(st.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,n.isEqual)(jt,et(!0).lines)){Be.deltaDecorations(et(!0).ids,[]);const Ae=jt.map(Ue=>({range:new se.Range(Ue,1,Ue,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Be.deltaDecorations([],Ae)}const $=me.onDidChangeModelContent(Ae=>{let Ue=me.getPosition();if(Ue){let st=Ue.lineNumber;clearTimeout(Vn.current),Vn.current=setTimeout(()=>{Cn(Be.getLineContent(st),st)?Je(st):nt(st)?(Je(st),It(st)):et()},100)}}),de=me.onMouseDown(Ae=>{var Ue,st,ct;if(Ae.target.detail&&((ct=(st=(Ue=Ae.target)==null?void 0:Ue.element)==null?void 0:st.className)!=null&&ct.includes("line-numbers"))){let ht=Ae.target.position.lineNumber;if(Cn(Be.getLineContent(ht),ht))return;nt(ht)?Je(ht):It(ht)}}),Ce=Ae=>{let Ue={range:new se.Range(Ae,1,Ae,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};mn.current=me.deltaDecorations(mn.current,[Ue])},fe=()=>{mn.current=me.deltaDecorations(mn.current,[])},Ne=me.onMouseMove(Ae=>{var Ue,st,ct;if(fe(),Ae.target.detail&&((ct=(st=(Ue=Ae.target)==null?void 0:Ue.element)==null?void 0:st.className)!=null&&ct.includes("line-numbers"))){let ht=Ae.target.position.lineNumber;if(Cn(Be.getLineContent(ht),ht))return;Ce(ht)}}),ke=me.onMouseLeave(()=>{fe()});return()=>{$.dispose(),de.dispose(),Ne.dispose(),ke.dispose()}}},[We.current,Yt,jt,Rt,on,ee]),(0,N.useEffect)(()=>{var Se;(Se=We.current)!=null&&Se.instance&&on&&We.current.instance.setPosition({lineNumber:0,column:0})},[Rt]);function An(){let Se=We.current.instance;if(Se){const me=Se.getSelection(),Be=We.current.pastePos||{},lt=new se.Range(Be.startLineNumber||me.endLineNumber,Be.startColumn||me.endColumn,Be.endLineNumber||me.endLineNumber,Be.endColumn||me.endColumn);setTimeout(()=>{Se.executeEdits("",[{range:lt,text:""}])},300)}}function Zn(Se){(window.navigator.platform.match("Mac")?Se.metaKey:Se.ctrlKey)&&Se.keyCode==83&&(Se.preventDefault(),Fe())}const re=()=>{if(ft&&We.current.instance){const Se=We.current.instance.getContentHeight();tt(Se<U?U:Se)}else tt(U)};function Y(Se){var me=document.createEvent("MouseEvents");me.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Se.dispatchEvent(me)}const $e=Se=>{if(!Sn.current)return;const{keyCode:me,ctrlKey:Be,metaKey:lt,target:et,type:It}=Se;return(It==="paste"||(me===67||me===86)&&(lt||Be))&&et.nodeName==="TEXTAREA"&&(On(),Se.preventDefault()),!1};function Te(Se,me){var Be=window.URL||window.webkitURL||window,lt=new Blob([me]),et=document.createElementNS("http://www.w3.org/1999/xhtml","a");et.href=Be.createObjectURL(lt),et.download=Se,Y(et)}(0,N.useEffect)(()=>{re()},[re]),(0,N.useEffect)(()=>{fn.current&&!Yt&&Promise.all([u.e(8909),u.e(3647)]).then(u.bind(u,71448)).then(Se=>{try{se=Se,We.current.instance=se.editor.create(fn.current,{value:K,language:M(ee),theme:ge,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:qt||!1}},we);const me=We.current.instance;let et=[...S.BH._menuItems].find($=>$[0]._debugName=="EditorContext")[1],It=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Je=($,de)=>{var Ce,fe;let Ne=$._first;do de.includes((fe=(Ce=Ne.element)==null?void 0:Ce.command)==null?void 0:fe.id)&&$._remove(Ne);while(Ne=Ne.next)};if(Nt(me,se),setTimeout(()=>{re(),We.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Te(hn||"educoder.txt",me.getValue())}})},500),We.current.subscription=me.onDidChangeModelContent($=>{Wt.current?clearTimeout(kn.current):(re(),ze(me.getValue(),$)),kn.current=setTimeout(()=>{Wt.current=!1},500)}),window.Monaco||L(se,M(ee)),je&&(Je(et,It),fn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",$e),window.removeEventListener("paste",$e),window.addEventListener("keydown",$e),window.addEventListener("paste",$e)),window.Monaco=se,Ke&&me.onDidBlurEditorWidget(()=>{Ke(me.getValue())}),Tt&&me.onDidFocusEditorText(()=>{je&&pe(),Tt(me.getValue())}),je){pe();try{me.onDidPaste($=>{const de=me.getSelection(),Ce=We.current.pastePos||{},fe=new se.Range(Ce.startLineNumber||de.endLineNumber,Ce.startColumn||de.endColumn,Ce.endLineNumber||de.endLineNumber,Ce.endColumn||de.endColumn);me.executeEdits("",[{range:$.range,text:""}])})}catch($){}}let nt=xn();return Qt&&typeof Qt=="string"&&new b(Qt,me,se),Nn(!0),()=>{const $=We.current.instance;$.dispose();const de=$.getModel();de&&de.dispose(),We.current.subscription&&We.current.subscription.dispose(),nt.unobserve(fn.current)}}catch(me){}})},[]),(0,N.useEffect)(()=>{if(We.current.instance&&Yt)return document.addEventListener("keydown",Zn,!1),()=>{document.removeEventListener("keydown",Zn)}},[Fe,Yt]),(0,N.useEffect)(()=>{let Se=We.current.instance;if(Se&&Yt){let me=M(ee);se.editor.setModelLanguage(Se.getModel(),me)}},[ee,Yt]),(0,N.useEffect)(()=>{We.current.instance&&Yt&&se.editor.setTheme(ge)},[ge,Yt]),(0,N.useEffect)(()=>{let Se=We.current.instance;gt.current=ce,Se&&Yt&&(Se.updateOptions(be({},ce)),setTimeout(()=>{Se.getModel().updateOptions(be({},ce))},200))},[JSON.stringify(ce),Yt]),(0,N.useEffect)(()=>{let Se=We.current.instance;Se&&Yt&&Se.layout()},[O,U,Yt]);const[Ye,Xe]=(0,N.useState)(Oe(O)),[ot,tt]=(0,N.useState)(Oe(U)),Pt=Ge(be({},q),{width:Ye,height:ot,position:"relative"});return N.createElement("div",{className:"my-monaco-editor",ref:fn,style:Pt},Me&&N.createElement(y.CopyToClipboard,{text:K,onCopy:()=>I.ZP.success("\u590D\u5236\u6210\u529F")},N.createElement(w.Z,{title:"\u590D\u5236\u4EE3\u7801"},N.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},N.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function m({width:C="100%",height:z="100%",original:O,modified:U,language:K,options:ee={}}){const q=(0,N.useRef)(),[ce,we]=(0,N.useState)(null);function ge(ft){let je;return q.current&&(je=new D.Z(ze=>{for(let Nt of ze)(Nt.target.offsetHeight>0||Nt.target.offsetWidth>0)&&ft.layout()}),je.observe(q.current)),je}(0,N.useEffect)(()=>(q.current&&Promise.all([u.e(8909),u.e(9404)]).then(u.bind(u,2550)).then(ft=>{se=ft;const je=se.editor.createDiffEditor(q.current,Ge(be({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},ee),{wordWrap:!0}));we(je);let ze=ge(je);return()=>{je.dispose();const Nt=je.getModel();Nt&&Nt.dispose(),ze.unobserve(q.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,N.useEffect)(()=>{ce&&ce.setModel({original:se.editor.createModel(O,K),modified:se.editor.createModel(U,K)})},[O,U,K,ce]);const Ke=Oe(C),Me=Oe(z),Fe={width:Ke,height:Me};return N.createElement("div",{className:"my-diff-editor",ref:q,style:Fe})}},24938:function(Bt,Ze,u){"use strict";u.r(Ze),u.d(Ze,{default:function(){return J}});var N=u(59301),D={flex_box_center:"flex_box_center___3dsSw",flex_space_between:"flex_space_between___UViQa",flex_box_vertical_center:"flex_box_vertical_center___VRHmE",flex_box_center_end:"flex_box_center_end___Sap6p",flex_box_column:"flex_box_column___cXZm0",wrap:"wrap___JbEle",title:"title___PD779",control:"control___xPMqa",label:"label___JqmpT",customTable:"customTable___YjprJ"},W=u(1997),Q=u(6767),V=u(25399),_=u(62957),H=u(82326),G=u(99571),e=u(54172),s=u(87169),c=u(95512),t=u(205),r=u(21986),a=u(43473),o=u(15213),v=Object.defineProperty,x=Object.defineProperties,E=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(B,ye,g)=>ye in B?v(B,ye,{enumerable:!0,configurable:!0,writable:!0,value:g}):B[ye]=g,k=(B,ye)=>{for(var g in ye||(ye={}))p.call(ye,g)&&l(B,g,ye[g]);if(h)for(var g of h(ye))f.call(ye,g)&&l(B,g,ye[g]);return B},P=(B,ye)=>x(B,E(ye)),L=(B,ye,g)=>new Promise((d,b)=>{var S=n=>{try{w(g.next(n))}catch(i){b(i)}},I=n=>{try{w(g.throw(n))}catch(i){b(i)}},w=n=>n.done?d(n.value):Promise.resolve(n.value).then(S,I);w((g=g.apply(B,ye)).next())});const j=({user:B})=>{var ye;const g={page:1,per_page:20,total:0,ec_major_school_id:0,ec_year_id:0,category:1,sort_by:null,sort_direction:null,school_id:null};let[d,b]=(0,N.useState)(g);const[S,I]=(0,N.useState)(!0),[w,n]=(0,N.useState)([]),[i,y]=(0,N.useState)([]),[F,le]=(0,N.useState)([]),[Ee,Le]=(0,N.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}}}),Ve=Ie=>L(void 0,null,function*(){var Oe;I(!0),Ie.school_id=(Oe=B==null?void 0:B.userInfo)==null?void 0:Oe.school_id;let T=yield(0,t.ZP)(`/api/ec_major_schools/${(Ie==null?void 0:Ie.ec_major_school_id)||0}/ec_years.json`,{method:"get",params:P(k({},Ie),{year:(Ie==null?void 0:Ie.ec_year_id)===0?null:Ie==null?void 0:Ie.ec_year_id,ec_year_id:((Ie==null?void 0:Ie.ec_year_id)===0,null)})});T&&(n(T==null?void 0:T.ec_years),I(!1),d.total=T==null?void 0:T.count,b(k({},d)))});(0,N.useEffect)(()=>{var Ie;(Ie=B.userInfo)!=null&&Ie.school_id&&(it(),zt(),Ve(d))},[(ye=B==null?void 0:B.userInfo)==null?void 0:ye.school_id]);function it(){return L(this,null,function*(){var Ie;let Oe=yield(0,t.ZP)(`/api/schools/${(Ie=B==null?void 0:B.userInfo)==null?void 0:Ie.school_id}/ec_majors/get_major_list.json`,{method:"get"});y(Oe==null?void 0:Oe.data)})}function zt(){return L(this,null,function*(){let Ie=yield(0,t.ZP)("/api/ec_major_schools/1/ec_years/select_year.json",{method:"get"});le(Ie==null?void 0:Ie.year_arr)})}const be=(Ie,Oe)=>{d.page=1,d[Oe]=typeof Ie=="number"?Ie:null,b(k({},d)),Ve(d)},Ge=(Ie,Oe,T)=>{d.page=Ie==null?void 0:Ie.current,d.per_page=Ie==null?void 0:Ie.pageSize,T!=null&&T.order?(d.sort_by=T==null?void 0:T.field,d.sort_direction=(T==null?void 0:T.order)==="ascend"?"asc":"desc"):(d.sort_by=null,d.sort_direction=null),b(k({},d)),Ve(d)},Lt=[{title:"\u5E8F\u53F7",dataIndex:"index",width:54,render:(Ie,Oe,T)=>d.per_page*(d.page-1)+T+1},{title:"\u57F9\u517B\u65B9\u6848",dataIndex:"name",width:"17%",ellipsis:!0,key:"name",render:(Ie,Oe,T)=>N.createElement(W.Link,{to:`/engineering/training/program/edit?ec_year_id=${Oe==null?void 0:Oe.id}`},Ie)},{title:"\u57F9\u517B\u65B9\u6848\u6587\u4EF6",dataIndex:"file_name",width:"10%",ellipsis:!0,key:"name",render:(Ie,Oe,T)=>N.createElement("a",{onClick:()=>{if(["xlsx","docx","pptx"].includes(Oe==null?void 0:Oe.type))Ee.editOffice="edit",Le(P(k({},Ee),{type:Oe.file_type,data:`/api/attachments/${Oe.attachment_id}`}));else{Q.ZP.info("\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u7F16\u8F91");return}}},Ie||"- -")},{title:"\u5C4A\u522B",width:"5%",dataIndex:"year",render:(Ie,Oe,T)=>Ie+"\u5C4A"},{title:"\u57F9\u517B\u76EE\u6807\uFF08\u9879\uFF09",width:"8%",dataIndex:"training_subitem_count",render:(Ie,Oe,T)=>Ie||N.createElement("a",{href:`/engineering/training/objectives?ids=${Oe==null?void 0:Oe.ec_major_school_id},${Oe==null?void 0:Oe.id}`},"\u8BBE\u7F6E")},{title:"\u6BD5\u4E1A\u8981\u6C42\uFF08\u9879\uFF09",width:"8%",dataIndex:"graduation_requirement_count",render:(Ie,Oe,T)=>Ie||N.createElement("a",{href:`/engineering/graduated/index?ec_major_school_id=${Oe==null?void 0:Oe.ec_major_school_id}&ec_year_id=${Oe==null?void 0:Oe.id}`},"\u8BBE\u7F6E")},{title:"\u6388\u8BFE\u6559\u5E08/\u5B66\u751F\uFF08\u4EBA\uFF09",width:"10%",dataIndex:"teacher_count",render:(Ie,Oe,T)=>Ie+"/"+(Oe==null?void 0:Oe.student_count)},{title:"\u8BFE\u7A0B\uFF08\u95E8\uFF09",width:"7%",dataIndex:"course_count",render:(Ie,Oe,T)=>Ie||N.createElement("a",{href:`/engineering/course/list?ec_major_school_id=${Oe==null?void 0:Oe.ec_major_school_id}&ec_year_id=${Oe==null?void 0:Oe.id}`},"\u8BBE\u7F6E")},{title:"\u8BFE\u7A0B\u8FBE\u6210\u5EA6",width:"9%",dataIndex:"achieved_graduation_course_count",render:(Ie,Oe,T)=>N.createElement(V.Z,{title:`\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\uFF1A${Ie} / \u8BFE\u7A0B\u603B\u6570\uFF1A${Oe==null?void 0:Oe.course_count}`},N.createElement("span",{style:{color:Oe!=null&&Oe.course_count?parseInt(Ie)===parseInt(Oe==null?void 0:Oe.course_count)?"#07C160":"#E30000":""}},Oe!=null&&Oe.course_count?Ie+"/"+(Oe==null?void 0:Oe.course_count):"- -"))},{title:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u5EA6",width:"8%",dataIndex:"achieved_graduation_objective_count",render:(Ie,Oe,T)=>N.createElement(V.Z,{title:`\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42\u6570\uFF1A${Ie} / \u6BD5\u4E1A\u8981\u6C42\u603B\u6570\uFF1A${Oe==null?void 0:Oe.graduation_requirement_count}`},N.createElement("span",{style:{color:Oe!=null&&Oe.graduation_requirement_count?parseInt(Ie)===parseInt(Oe==null?void 0:Oe.graduation_requirement_count)?"#07C160":"#E30000":""}},Oe!=null&&Oe.graduation_requirement_count?Ie+"/"+(Oe==null?void 0:Oe.graduation_requirement_count):"- -"))},{title:"\u8BC4\u4EF7\u7ED3\u679C",width:"7%",dataIndex:"status",render:(Ie,Oe,T)=>N.createElement("span",{style:{color:Ie==="achieved"?"#E30000":"#07C160"}},Ie==="achieved"?"\u672A\u8FBE\u6210":"\u8FBE\u6210")},{title:"\u64CD\u4F5C",dataIndex:"id",width:64,render:(Ie,Oe,T)=>N.createElement("div",{style:{display:"flex"}},N.createElement("i",{onClick:()=>L(void 0,null,function*(){W.history.push(`/engineering/training/program/edit?ec_year_id=${Oe==null?void 0:Oe.id}`)}),style:{color:"#0152d9",cursor:"pointer",marginRight:"5px"},className:"iconfont icon-bianji6"}),N.createElement("i",{onClick:()=>{_.default.confirm({title:"\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F",icon:N.createElement(s.Z,null),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>L(void 0,null,function*(){var A;(yield(0,t.ZP)(`/api/ec_major_schools/1/ec_years/${Ie}`,{method:"delete"}))&&(a.U.clear((A=B==null?void 0:B.userInfo)==null?void 0:A.login),Q.ZP.info("\u5220\u9664\u6210\u529F"),Ve(d))}),onCancel(){}})},style:{marginRight:"5px",color:"#0152d9",cursor:"pointer"},className:"iconfont icon-shanchu9"}),N.createElement("i",{onClick:()=>L(void 0,null,function*(){var A;(0,c.xm)({ec_year_id:Ie,school_id:(A=B==null?void 0:B.userInfo)==null?void 0:A.school_id})}),style:{color:"#0152d9",cursor:"pointer"},className:"iconfont icon-daochubeifen"}))}];return N.createElement("div",{className:D.wrap},N.createElement(r.p,{title:"\u57F9\u517B\u65B9\u6848",style:{padding:"12px 0 0 20px"}}),N.createElement("div",{style:{clear:"both"}}),N.createElement("div",{className:D.control},N.createElement("div",{className:D.label},"\u8BA4\u8BC1\u4E13\u4E1A"),N.createElement(H.default,{style:{width:240},allowClear:!0,placeholder:"\u4E13\u4E1A",value:d==null?void 0:d.ec_major_school_id,onChange:Ie=>be(Ie,"ec_major_school_id")},N.createElement(H.default.Option,{value:0},"\u5168\u90E8"),i==null?void 0:i.map((Ie,Oe)=>N.createElement(H.default.Option,{value:Ie==null?void 0:Ie.ec_major_school_id},Ie==null?void 0:Ie.name))),N.createElement("div",{className:D.label},"\u8BA4\u8BC1\u5C4A\u522B"),N.createElement(H.default,{style:{width:140},allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:d==null?void 0:d.ec_year_id,onChange:Ie=>be(Ie,"ec_year_id")},N.createElement(H.default.Option,{value:0},"\u5168\u90E8"),F==null?void 0:F.map((Ie,Oe)=>N.createElement(H.default.Option,{value:Ie},Ie,"\u5C4A"))),N.createElement("div",{style:{flex:1,textAlign:"end"}},N.createElement(G.ZP,{onClick:()=>{W.history.push("/engineering/training/program/add")},style:{height:"30px",width:"135px"},type:"primary"},N.createElement("i",{style:{marginRight:"7px"},className:"iconfont icon-xinzeng"}),"\u65B0\u589E\u57F9\u517B\u65B9\u6848"))),N.createElement(e.default,{className:D.customTable,dataSource:w,bordered:!1,rowKey:Ie=>Ie.id,columns:Lt,rowClassName:D.row,loading:S,onChange:Ge,pagination:{pageSize:d.per_page,total:d.total,current:d.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,size:"default",position:["bottomCenter"],showTotal:Ie=>N.createElement("span",{className:"mr10"},"\u5171",N.createElement("span",{className:"c-orange"},Ie),"\u6761\u6570\u636E")}}),N.createElement(o.Z,P(k({},Ee),{onClose:()=>{Le(P(k({},Ee),{type:""}))}})))};var J=(0,W.connect)(({user:B})=>({user:B}))(j)},21986:function(Bt,Ze,u){"use strict";u.d(Ze,{p:function(){return Q},v:function(){return H}});var N=u(59301),D={panelTitleContainer:"panelTitleContainer___Ypuh_"},Q=({title:G,style:e={}})=>N.createElement("div",{className:D.panelTitleContainer,style:e},N.createElement("div",null,G)),V={selectWrapContainer:"selectWrapContainer___qocIH"},H=({title:G,children:e})=>N.createElement("div",{className:V.selectWrapContainer},N.createElement("span",null,G),e)},95512:function(Bt,Ze,u){"use strict";u.d(Ze,{AD:function(){return b},D9:function(){return y},Hp:function(){return k},IM:function(){return le},Iy:function(){return L},KM:function(){return Oe},MJ:function(){return P},Ne:function(){return F},ON:function(){return zt},Uj:function(){return Lt},VY:function(){return Ve},YO:function(){return Ge},YX:function(){return be},Zn:function(){return o},_g:function(){return p},_k:function(){return n},c6:function(){return g},cr:function(){return v},eV:function(){return d},fi:function(){return x},gh:function(){return B},hS:function(){return Ee},iA:function(){return E},j6:function(){return f},je:function(){return w},jj:function(){return l},kS:function(){return it},o6:function(){return ye},pO:function(){return Ie},rQ:function(){return S},sA:function(){return J},xm:function(){return i},xo:function(){return Le},y8:function(){return I},yd:function(){return h}});var N=u(40477),D=u(1997),W=u(61737),Q=u(6767),V=u(13820),_=Object.defineProperty,H=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(T,A,X)=>A in T?_(T,A,{enumerable:!0,configurable:!0,writable:!0,value:X}):T[A]=X,c=(T,A)=>{for(var X in A||(A={}))G.call(A,X)&&s(T,X,A[X]);if(H)for(var X of H(A))e.call(A,X)&&s(T,X,A[X]);return T},t=(T,A,X)=>new Promise((M,se)=>{var pe=C=>{try{m(X.next(C))}catch(z){se(z)}},R=C=>{try{m(X.throw(C))}catch(z){se(z)}},m=C=>C.done?M(C.value):Promise.resolve(C.value).then(pe,R);m((X=X.apply(T,A)).next())});const r=()=>{(0,D.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},a=()=>{(0,D.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},o=T=>t(void 0,null,function*(){r(),(yield(0,N.YR)(c({},T))).status===0&&(yield(0,W.QH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/courses/${T.coursesId}/export_couser_info.json`,query:T}))),a()}),v=T=>t(void 0,null,function*(){const A=yield(0,N.yS)(c({},T));if(A.status===0)Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${T.coursesId}/exportlist/course_member_act_score`);else{if(A.status===-2)return A;A.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${T.coursesId}/exportlist/course_member_act_score`))}}),x=T=>t(void 0,null,function*(){const A=yield(0,N.W0)(c({},T));if(A.status===0)Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${T.coursesId}/exportlist/course_total_score`);else{if(A.status===-4)return A;A.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${T.coursesId}/exportlist/course_total_score`))}}),E=T=>t(void 0,null,function*(){const A=yield(0,N.Nl)(c({},T));if(A.status===0)Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${T.coursesId}/exportlist/course_total_exercise_and_other`);else{if(A.status===-4)return A;A.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${T.coursesId}/exportlist/course_total_exercise_and_other`))}}),h=T=>t(void 0,null,function*(){const A=yield(0,N.IU)(c({},T));if(A.status===0)Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${T.coursesId}/exportlist/export_star_user`);else{if(A.status===-4)return A;A.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${T.coursesId}/exportlist/export_star_user`))}}),p=T=>t(void 0,null,function*(){const A=yield(0,N.td)(c({},T));if(A.status===0)Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${T.coursesId}/exportlist/course_total_exercise_and_other`);else{if(A.status===-2)return A;if(A.status===-3)(0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${T.coursesId}/exportlist/course_total_exercise_and_other`);else if(A.status===-4)return A}}),f=T=>t(void 0,null,function*(){const A=yield(0,N.QX)(c({},T));if(A.status===0)Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${T.coursesId}/exportlist/course_total_homework`);else{if(A.status===-4)return A;A.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${T.coursesId}/exportlist/course_total_homework`))}}),l=(T,A)=>t(void 0,null,function*(){const X=yield(0,N.o_)(c({},T));X.status===0?(Q.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"),D.history.push(`/classrooms/${T.coursesId}/exportlist/${A}`)):X.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${T.coursesId}/exportlist/${A}`))}),k=(T,A)=>t(void 0,null,function*(){const X=yield(0,N.ZL)(c({},T));X.status===0?(Q.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"),D.history.push(`/classrooms/${T.coursesId}/exportlist/${A}`)):X.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${T.coursesId}/exportlist/${A}`))}),P=(T,A)=>t(void 0,null,function*(){const X=yield(0,N.vV)(c({},T));X.status===0?(Q.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"),D.history.push(`/classrooms/${T.coursesId}/exportlist/${A}`)):X.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${T.coursesId}/exportlist/${A}`))}),L=(T,A)=>t(void 0,null,function*(){const X=yield(0,N.aP)(c({},T));X.status===0?(Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${T.coursesId}/exportlist/${A}`)):X.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${T.coursesId}/exportlist/${A}`))}),j=T=>t(void 0,null,function*(){r(),(yield exportCourseWorkListAppendix(c({},T))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${T.categoryId}/works_list.zip`,query:T}))),a()}),J=T=>t(void 0,null,function*(){r(),yield(0,W.QH)("",V.Z.API_SERVER+`/api/polls/${T.categoryId}/commit_result.xlsx`),a()}),B=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/courses/${T.coursesId}/attendances/export_xlsx_data.xlsx`,query:T}))}),ye=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/courses/${T.coursesId}/video_study_statics.xlsx`,query:T}))}),g=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/courses/${T.coursesId}/export_video_study.xlsx`,query:T}))}),d=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/courses/${T.coursesId}/export_course_students_info.xlsx`,query:T}))}),b=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+"/api/school_manages/students.xlsx",query:T}))}),S=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+"/api/item_banks/export.xlsx",query:T}))}),I=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:T}))}),w=T=>t(void 0,null,function*(){const A=yield(0,N.Uy)(c({},T));A.status===0?(Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${T.coursesId}/exportlist/exercise_score,export_exercise_users`)):A.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${T.coursesId}/exportlist/exercise_score,export_exercise_users`))}),n=T=>t(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/export_records/${T.id}.xlsx`,query:T}))}),i=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:T}))}),y=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/courses/${T==null?void 0:T.coursesId}/${T.menuKey}_statistic.xlsx?${T.checkedList.map(A=>`course_group_id[]=${A}`).join("&")}`,query:T}))}),F=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/ec_years/${T==null?void 0:T.ec_year_id}/ec_training_objectives.xlsx`,query:T}))}),le=T=>t(void 0,null,function*(){yield(0,W.FH)(T==null?void 0:T.name,(0,W.NY)({url:V.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:T}))}),Ee=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/ec_years/${T==null?void 0:T.ec_year_id}/ec_courses.xlsx`,query:T}))}),Le=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/ec_years/${T==null?void 0:T.ec_year_id}/ec_graduation_requirements.xlsx`,query:T}))}),Ve=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:T}))}),it=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:T}))}),zt=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/examination_banks/${T.id}.json`,query:T}))}),be=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/exercises/${T.categoryId}.json`,query:T}))}),Ge=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/polls/${T==null?void 0:T.id}/commit_result.json`,query:T}))}),Lt=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+"/api/paths/get_task_pass.json",query:T}))}),Ie=(T,A)=>t(void 0,null,function*(){yield(0,W.FH)(A||"",(0,W.NY)({url:V.Z.API_SERVER+`/api/exercises/${T==null?void 0:T.exercise_id}/consult_exercise.json`,query:T}))}),Oe=T=>t(void 0,null,function*(){yield(0,W.FH)("",(0,W.NY)({url:V.Z.API_SERVER+`/api/competitions/${T==null?void 0:T.identifier}/competition_commit_records/member_works.xlsx`,query:T}))})},25769:function(Bt,Ze,u){"use strict";var N=u(98040),D={"text/plain":"Text","text/html":"Url",default:"Text"},W="Copy to clipboard: #{key}, Enter";function Q(_){var H=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return _.replace(/#{\s*key\s*}/g,H)}function V(_,H){var G,e,s,c,t,r,a=!1;H||(H={}),G=H.debug||!1;try{s=N(),c=document.createRange(),t=document.getSelection(),r=document.createElement("span"),r.textContent=_,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(v){if(v.stopPropagation(),H.format)if(v.preventDefault(),typeof v.clipboardData=="undefined"){G&&console.warn("unable to use e.clipboardData"),G&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var x=D[H.format]||D.default;window.clipboardData.setData(x,_)}else v.clipboardData.clearData(),v.clipboardData.setData(H.format,_);H.onCopy&&(v.preventDefault(),H.onCopy(v.clipboardData))}),document.body.appendChild(r),c.selectNodeContents(r),t.addRange(c);var o=document.execCommand("copy");if(!o)throw new Error("copy command was unsuccessful");a=!0}catch(v){G&&console.error("unable to copy using execCommand: ",v),G&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(H.format||"text",_),H.onCopy&&H.onCopy(window.clipboardData),a=!0}catch(x){G&&console.error("unable to copy using clipboardData: ",x),G&&console.error("falling back to prompt"),e=Q("message"in H?H.message:W),window.prompt(e,_)}}finally{t&&(typeof t.removeRange=="function"?t.removeRange(c):t.removeAllRanges()),r&&document.body.removeChild(r),s()}return a}Bt.exports=V},53184:function(Bt,Ze,u){"use strict";var N,D;function W(Q,V,_){var H=function(G,e){return Q.js_beautify(G,e)};return H.js=Q.js_beautify,H.css=V.css_beautify,H.html=_.html_beautify,H.js_beautify=Q.js_beautify,H.css_beautify=V.css_beautify,H.html_beautify=_.html_beautify,H}N=[u(58553),u(87804),u(40998)],D=function(Q,V,_){return W(Q,V,_)}.apply(Ze,N),D!==void 0&&(Bt.exports=D)},87804:function(Bt,Ze){var u,N;(function(){var D;(function(){"use strict";var Q=[,,function(G){function e(t){this.__parent=t,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 t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},e.prototype.has_match=function(t){for(var r=this.__items.length-1;r>=0;r--)if(this.__items[r].match(t))return!0;return!1},e.prototype.set_indent=function(t,r){this.is_empty()&&(this.__indent_count=t||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 t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__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(t){this.__items.push(t);var r=t.lastIndexOf(`
`);r!==-1?this.__character_count=t.length-r:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},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 t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t};function s(t,r){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),r=r||"",t.indent_level>0&&(r=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=r,this.__base_string_length=r.length}s.prototype.get_indent_size=function(t,r){var a=this.__base_string_length;return r=r||0,t<0&&(a=0),a+=t*this.__indent_size,a+=r,a},s.prototype.get_indent_string=function(t,r){var a=this.__base_string;return r=r||0,t<0&&(t=0,a=""),r+=t*this.__indent_size,this.__ensure_cache(r),a+=this.__cache[r],a},s.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},s.prototype.__add_column=function(){var t=this.__cache.length,r=0,a="";this.__indent_size&&t>=this.__indent_size&&(r=Math.floor(t/this.__indent_size),t-=r*this.__indent_size,a=new Array(r+1).join(this.__indent_string)),t&&(a+=new Array(t+1).join(" ")),this.__cache.push(a)};function c(t,r){this.__indent_cache=new s(t,r),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.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()}c.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},c.prototype.get_line_number=function(){return this.__lines.length},c.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},c.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},c.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},c.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},c.prototype.get_code=function(t){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 t!==`
`&&(a=a.replace(/[\n]/g,t)),a},c.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},c.prototype.set_indent=function(t,r){return t=t||0,r=r||0,this.next_line.set_indent(t,r),this.__lines.length>1?(this.current_line.set_indent(t,r),!0):(this.current_line.set_indent(),!1)},c.prototype.add_raw_token=function(t){for(var r=0;r<t.newlines;r++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},c.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},c.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(" "))},c.prototype.remove_indent=function(t){for(var r=this.__lines.length;t<r;)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},c.prototype.trim=function(t){for(t=t===void 0?!1:t,this.current_line.trim();t&&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},c.prototype.just_added_newline=function(){return this.current_line.is_empty()},c.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},c.prototype.ensure_empty_line_above=function(t,r){for(var a=this.__lines.length-2;a>=0;){var o=this.__lines[a];if(o.is_empty())break;if(o.item(0).indexOf(t)!==0&&o.item(-1)!==r){this.__lines.splice(a+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}a--}},G.exports.Output=c},,,,function(G){function e(t,r){this.raw_options=s(t,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(t,r){var a=this.raw_options[t],o=r||[];return typeof a=="object"?a!==null&&typeof a.concat=="function"&&(o=a.concat()):typeof a=="string"&&(o=a.split(/[^a-zA-Z0-9_\/\-]+/)),o},e.prototype._get_boolean=function(t,r){var a=this.raw_options[t],o=a===void 0?!!r:!!a;return o},e.prototype._get_characters=function(t,r){var a=this.raw_options[t],o=r||"";return typeof a=="string"&&(o=a.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),o},e.prototype._get_number=function(t,r){var a=this.raw_options[t];r=parseInt(r,10),isNaN(r)&&(r=0);var o=parseInt(a,10);return isNaN(o)&&(o=r),o},e.prototype._get_selection=function(t,r,a){var o=this._get_selection_list(t,r,a);if(o.length!==1)throw new Error("Invalid Option Value: The option '"+t+`' can only be one of the following values:
`+r+`
You passed in: '`+this.raw_options[t]+"'");return o[0]},e.prototype._get_selection_list=function(t,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 o=this._get_array(t,a);if(!this._is_valid_selection(o,r))throw new Error("Invalid Option Value: The option '"+t+`' can contain only the following values:
`+r+`
You passed in: '`+this.raw_options[t]+"'");return o},e.prototype._is_valid_selection=function(t,r){return t.length&&r.length&&!t.some(function(a){return r.indexOf(a)===-1})};function s(t,r){var a={};t=c(t);var o;for(o in t)o!==r&&(a[o]=t[o]);if(r&&t[r])for(o in t[r])a[o]=t[r][o];return a}function c(t){var r={},a;for(a in t){var o=a.replace(/-/g,"_");r[o]=t[a]}return r}G.exports.Options=e,G.exports.normalizeOpts=c,G.exports.mergeOpts=s},,function(G){var e=RegExp.prototype.hasOwnProperty("sticky");function s(c){this.__input=c||"",this.__input_length=this.__input.length,this.__position=0}s.prototype.restart=function(){this.__position=0},s.prototype.back=function(){this.__position>0&&(this.__position-=1)},s.prototype.hasNext=function(){return this.__position<this.__input_length},s.prototype.next=function(){var c=null;return this.hasNext()&&(c=this.__input.charAt(this.__position),this.__position+=1),c},s.prototype.peek=function(c){var t=null;return c=c||0,c+=this.__position,c>=0&&c<this.__input_length&&(t=this.__input.charAt(c)),t},s.prototype.__match=function(c,t){c.lastIndex=t;var r=c.exec(this.__input);return r&&!(e&&c.sticky)&&r.index!==t&&(r=null),r},s.prototype.test=function(c,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(c,t):!1},s.prototype.testChar=function(c,t){var r=this.peek(t);return c.lastIndex=0,r!==null&&c.test(r)},s.prototype.match=function(c){var t=this.__match(c,this.__position);return t?this.__position+=t[0].length:t=null,t},s.prototype.read=function(c,t,r){var a="",o;return c&&(o=this.match(c),o&&(a+=o[0])),t&&(o||!c)&&(a+=this.readUntil(t,r)),a},s.prototype.readUntil=function(c,t){var r="",a=this.__position;c.lastIndex=this.__position;var o=c.exec(this.__input);return o?(a=o.index,t&&(a+=o[0].length)):a=this.__input_length,r=this.__input.substring(this.__position,a),this.__position=a,r},s.prototype.readUntilAfter=function(c){return this.readUntil(c,!0)},s.prototype.get_regexp=function(c,t){var r=null,a="g";return t&&e&&(a="y"),typeof c=="string"&&c!==""?r=new RegExp(c,a):c&&(r=new RegExp(c.source,a)),r},s.prototype.get_literal_regexp=function(c){return RegExp(c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},s.prototype.peekUntilAfter=function(c){var t=this.__position,r=this.readUntilAfter(c);return this.__position=t,r},s.prototype.lookBack=function(c){var t=this.__position-1;return t>=c.length&&this.__input.substring(t-c.length,t).toLowerCase()===c},G.exports.InputScanner=s},,,,,function(G){function e(s,c){s=typeof s=="string"?s:s.source,c=typeof c=="string"?c:c.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+c,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+c,"g")}e.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var c={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(s);t;)c[t[1]]=t[2],t=this.__directive_pattern.exec(s);return c},e.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},G.exports.Directives=e},,function(G,e,s){var c=s(16).Beautifier,t=s(17).Options;function r(a,o){var v=new c(a,o);return v.beautify()}G.exports=r,G.exports.defaultOptions=function(){return new t}},function(G,e,s){var c=s(17).Options,t=s(2).Output,r=s(8).InputScanner,a=s(13).Directives,o=new a(/\/\*/,/\*\//),v=/\r\n|[\r\n]/,x=/\r\n|[\r\n]/g,E=/\s/,h=/(?:\s|\n)+/g,p=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,f=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function l(k,P){this._source_text=k||"",this._options=new c(P),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"]}l.prototype.eatString=function(k){var P="";for(this._ch=this._input.next();this._ch;){if(P+=this._ch,this._ch==="\\")P+=this._input.next();else if(k.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return P},l.prototype.eatWhitespace=function(k){for(var P=E.test(this._input.peek()),L=0;E.test(this._input.peek());)this._ch=this._input.next(),k&&this._ch===`
`&&(L===0||L<this._options.max_preserve_newlines)&&(L++,this._output.add_new_line(!0));return P},l.prototype.foundNestedPseudoClass=function(){for(var k=0,P=1,L=this._input.peek(P);L;){if(L==="{")return!0;if(L==="(")k+=1;else if(L===")"){if(k===0)return!1;k-=1}else if(L===";"||L==="}")return!1;P++,L=this._input.peek(P)}return!1},l.prototype.print_string=function(k){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(k)},l.prototype.preserveSingleSpace=function(k){k&&(this._output.space_before_token=!0)},l.prototype.indent=function(){this._indentLevel++},l.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},l.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var k=this._source_text,P=this._options.eol;P==="auto"&&(P=`
`,k&&v.test(k||"")&&(P=k.match(v)[0])),k=k.replace(x,`
`);var L=k.match(/^[\t ]*/)[0];this._output=new t(this._options,L),this._input=new r(k),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var j=0,J=!1,B=!1,ye=!1,g=!1,d=!1,b=this._ch,S=!1,I,w,n;I=this._input.read(h),w=I!=="",n=b,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),b=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var i=this._input.read(p),y=o.get_directives(i);y&&y.ignore==="start"&&(i+=o.readIgnored(this._input)),this.print_string(i),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(f)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(w),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),j===0&&F.indexOf(":")!==-1&&(B=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(w),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var le=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);le.match(/[ :]$/)&&(le=this.eatString(": ").replace(/\s+$/,""),this.print_string(le),this._output.space_before_token=!0),j===0&&le.indexOf(":")!==-1?(B=!0,this.indent()):le in this.NESTED_AT_RULE?(this._nestedLevel+=1,le in this.CONDITIONAL_GROUP_RULE&&(ye=!0)):j===0&&!B&&(g=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(w),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")B&&(B=!1,this.outdent()),g=!1,ye?(ye=!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)):(n==="("?this._output.space_before_token=!1:n!==","&&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(),n==="{"&&this._output.trim(!0),B&&(this.outdent(),B=!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 Ee=0;Ee<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Ee++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Ee])){S=!0;break}(J||ye)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!g&&j===0?(this.print_string(":"),B||(B=!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 Le=n==='"'||n==="'";this.preserveSingleSpace(Le||w),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")S=!1,j===0?(B&&(this.outdent(),B=!1),g=!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(),j++,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(")")),j&&(j--,this.outdent()));else{var Ve=!1;this._input.lookBack("with")&&(Ve=!0),this.preserveSingleSpace(w||Ve),this.print_string(this._ch),B&&n==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),d=!0):(this.eatWhitespace(),j++,this.indent())}else if(this._ch===")")j&&(j--,this.outdent()),d&&this._input.peek()===";"&&this._options.selector_separator_newline&&(d=!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&&(!B||d)&&j===0&&!g?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!B&&j===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(w),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 it=n==='"'||n==="'";this.preserveSingleSpace(it||w),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&S&&this._output.add_new_line()}var zt=this._output.get_code(P);return zt},G.exports.Beautifier=l},function(G,e,s){var c=s(6).Options;function t(r){c.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 o=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var v=0;v<o.length;v++)o[v]!=="expand"?this.brace_style="collapse":this.brace_style=o[v]}t.prototype=new c,G.exports.Options=t}],V={};function _(G){var e=V[G];if(e!==void 0)return e.exports;var s=V[G]={exports:{}};return Q[G](s,s.exports,_),s.exports}var H=_(15);D=H})();var W=D;u=[],N=function(){return{css_beautify:W}}.apply(Ze,u),N!==void 0&&(Bt.exports=N)})()},40998:function(Bt,Ze,u){var N,D;(function(){var W;(function(){"use strict";var H=[,,function(c){function t(o){this.__parent=o,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=[]}t.prototype.clone_empty=function(){var o=new t(this.__parent);return o.set_indent(this.__indent_count,this.__alignment_count),o},t.prototype.item=function(o){return o<0?this.__items[this.__items.length+o]:this.__items[o]},t.prototype.has_match=function(o){for(var v=this.__items.length-1;v>=0;v--)if(this.__items[v].match(o))return!0;return!1},t.prototype.set_indent=function(o,v){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=v||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},t.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)},t.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},t.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var o=this.__parent.current_line;return o.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),o.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),o.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,o.__items[0]===" "&&(o.__items.splice(0,1),o.__character_count-=1),!0}return!1},t.prototype.is_empty=function(){return this.__items.length===0},t.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},t.prototype.push=function(o){this.__items.push(o);var v=o.lastIndexOf(`
`);v!==-1?this.__character_count=o.length-v:this.__character_count+=o.length},t.prototype.pop=function(){var o=null;return this.is_empty()||(o=this.__items.pop(),this.__character_count-=o.length),o},t.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},t.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},t.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},t.prototype.toString=function(){var o="";return this.is_empty()?this.__parent.indent_empty_lines&&(o=this.__parent.get_indent_string(this.__indent_count)):(o=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),o+=this.__items.join("")),o};function r(o,v){this.__cache=[""],this.__indent_size=o.indent_size,this.__indent_string=o.indent_char,o.indent_with_tabs||(this.__indent_string=new Array(o.indent_size+1).join(o.indent_char)),v=v||"",o.indent_level>0&&(v=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=v,this.__base_string_length=v.length}r.prototype.get_indent_size=function(o,v){var x=this.__base_string_length;return v=v||0,o<0&&(x=0),x+=o*this.__indent_size,x+=v,x},r.prototype.get_indent_string=function(o,v){var x=this.__base_string;return v=v||0,o<0&&(o=0,x=""),v+=o*this.__indent_size,this.__ensure_cache(v),x+=this.__cache[v],x},r.prototype.__ensure_cache=function(o){for(;o>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var o=this.__cache.length,v=0,x="";this.__indent_size&&o>=this.__indent_size&&(v=Math.floor(o/this.__indent_size),o-=v*this.__indent_size,x=new Array(v+1).join(this.__indent_string)),o&&(x+=new Array(o+1).join(" ")),this.__cache.push(x)};function a(o,v){this.__indent_cache=new r(o,v),this.raw=!1,this._end_with_newline=o.end_with_newline,this.indent_size=o.indent_size,this.wrap_line_length=o.wrap_line_length,this.indent_empty_lines=o.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new t(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(o,v){return this.__indent_cache.get_indent_string(o,v)},a.prototype.get_indent_size=function(o,v){return this.__indent_cache.get_indent_size(o,v)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(o){return this.is_empty()||!o&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(o){this.trim(!0);var v=this.current_line.pop();v&&(v[v.length-1]===`
`&&(v=v.replace(/\n+$/g,"")),this.current_line.push(v)),this._end_with_newline&&this.__add_outputline();var x=this.__lines.join(`
`);return o!==`
`&&(x=x.replace(/[\n]/g,o)),x},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(o,v){return o=o||0,v=v||0,this.next_line.set_indent(o,v),this.__lines.length>1?(this.current_line.set_indent(o,v),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(o){for(var v=0;v<o.newlines;v++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(o.whitespace_before),this.current_line.push(o.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},a.prototype.add_token=function(o){this.__add_space_before_token(),this.current_line.push(o),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(o){for(var v=this.__lines.length;o<v;)this.__lines[o]._remove_indent(),o++;this.current_line._remove_wrap_indent()},a.prototype.trim=function(o){for(o=o===void 0?!1:o,this.current_line.trim();o&&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(o,v){for(var x=this.__lines.length-2;x>=0;){var E=this.__lines[x];if(E.is_empty())break;if(E.item(0).indexOf(o)!==0&&E.item(-1)!==v){this.__lines.splice(x+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}x--}},c.exports.Output=a},function(c){function t(r,a,o,v){this.type=r,this.text=a,this.comments_before=null,this.newlines=o||0,this.whitespace_before=v||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}c.exports.Token=t},,,function(c){function t(o,v){this.raw_options=r(o,v),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"])}t.prototype._get_array=function(o,v){var x=this.raw_options[o],E=v||[];return typeof x=="object"?x!==null&&typeof x.concat=="function"&&(E=x.concat()):typeof x=="string"&&(E=x.split(/[^a-zA-Z0-9_\/\-]+/)),E},t.prototype._get_boolean=function(o,v){var x=this.raw_options[o],E=x===void 0?!!v:!!x;return E},t.prototype._get_characters=function(o,v){var x=this.raw_options[o],E=v||"";return typeof x=="string"&&(E=x.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),E},t.prototype._get_number=function(o,v){var x=this.raw_options[o];v=parseInt(v,10),isNaN(v)&&(v=0);var E=parseInt(x,10);return isNaN(E)&&(E=v),E},t.prototype._get_selection=function(o,v,x){var E=this._get_selection_list(o,v,x);if(E.length!==1)throw new Error("Invalid Option Value: The option '"+o+`' can only be one of the following values:
`+v+`
You passed in: '`+this.raw_options[o]+"'");return E[0]},t.prototype._get_selection_list=function(o,v,x){if(!v||v.length===0)throw new Error("Selection list cannot be empty.");if(x=x||[v[0]],!this._is_valid_selection(x,v))throw new Error("Invalid Default Value!");var E=this._get_array(o,x);if(!this._is_valid_selection(E,v))throw new Error("Invalid Option Value: The option '"+o+`' can contain only the following values:
`+v+`
You passed in: '`+this.raw_options[o]+"'");return E},t.prototype._is_valid_selection=function(o,v){return o.length&&v.length&&!o.some(function(x){return v.indexOf(x)===-1})};function r(o,v){var x={};o=a(o);var E;for(E in o)E!==v&&(x[E]=o[E]);if(v&&o[v])for(E in o[v])x[E]=o[v][E];return x}function a(o){var v={},x;for(x in o){var E=x.replace(/-/g,"_");v[E]=o[x]}return v}c.exports.Options=t,c.exports.normalizeOpts=a,c.exports.mergeOpts=r},,function(c){var t=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 o=null;return a=a||0,a+=this.__position,a>=0&&a<this.__input_length&&(o=this.__input.charAt(a)),o},r.prototype.__match=function(a,o){a.lastIndex=o;var v=a.exec(this.__input);return v&&!(t&&a.sticky)&&v.index!==o&&(v=null),v},r.prototype.test=function(a,o){return o=o||0,o+=this.__position,o>=0&&o<this.__input_length?!!this.__match(a,o):!1},r.prototype.testChar=function(a,o){var v=this.peek(o);return a.lastIndex=0,v!==null&&a.test(v)},r.prototype.match=function(a){var o=this.__match(a,this.__position);return o?this.__position+=o[0].length:o=null,o},r.prototype.read=function(a,o,v){var x="",E;return a&&(E=this.match(a),E&&(x+=E[0])),o&&(E||!a)&&(x+=this.readUntil(o,v)),x},r.prototype.readUntil=function(a,o){var v="",x=this.__position;a.lastIndex=this.__position;var E=a.exec(this.__input);return E?(x=E.index,o&&(x+=E[0].length)):x=this.__input_length,v=this.__input.substring(this.__position,x),this.__position=x,v},r.prototype.readUntilAfter=function(a){return this.readUntil(a,!0)},r.prototype.get_regexp=function(a,o){var v=null,x="g";return o&&t&&(x="y"),typeof a=="string"&&a!==""?v=new RegExp(a,x):a&&(v=new RegExp(a.source,x)),v},r.prototype.get_literal_regexp=function(a){return RegExp(a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(a){var o=this.__position,v=this.readUntilAfter(a);return this.__position=o,v},r.prototype.lookBack=function(a){var o=this.__position-1;return o>=a.length&&this.__input.substring(o-a.length,o).toLowerCase()===a},c.exports.InputScanner=r},function(c,t,r){var a=r(8).InputScanner,o=r(3).Token,v=r(10).TokenStream,x=r(11).WhitespacePattern,E={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},h=function(p,f){this._input=new a(p),this._options=f||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new x(this._input)};h.prototype.tokenize=function(){this._input.restart(),this.__tokens=new v,this._reset();for(var p,f=new o(E.START,""),l=null,k=[],P=new v;f.type!==E.EOF;){for(p=this._get_next_token(f,l);this._is_comment(p);)P.add(p),p=this._get_next_token(f,l);P.isEmpty()||(p.comments_before=P,P=new v),p.parent=l,this._is_opening(p)?(k.push(l),l=p):l&&this._is_closing(p,l)&&(p.opened=l,l.closed=p,l=k.pop(),p.parent=l),p.previous=f,f.next=p,this.__tokens.add(p),f=p}return this.__tokens},h.prototype._is_first_token=function(){return this.__tokens.isEmpty()},h.prototype._reset=function(){},h.prototype._get_next_token=function(p,f){this._readWhitespace();var l=this._input.read(/.+/g);return l?this._create_token(E.RAW,l):this._create_token(E.EOF,"")},h.prototype._is_comment=function(p){return!1},h.prototype._is_opening=function(p){return!1},h.prototype._is_closing=function(p,f){return!1},h.prototype._create_token=function(p,f){var l=new o(p,f,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return l},h.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},c.exports.Tokenizer=h,c.exports.TOKEN=E},function(c){function t(r){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=r}t.prototype.restart=function(){this.__position=0},t.prototype.isEmpty=function(){return this.__tokens_length===0},t.prototype.hasNext=function(){return this.__position<this.__tokens_length},t.prototype.next=function(){var r=null;return this.hasNext()&&(r=this.__tokens[this.__position],this.__position+=1),r},t.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},t.prototype.add=function(r){this.__parent_token&&(r.parent=this.__parent_token),this.__tokens.push(r),this.__tokens_length+=1},c.exports.TokenStream=t},function(c,t,r){var a=r(12).Pattern;function o(v,x){a.call(this,v,x),x?this._line_regexp=this._input.get_regexp(x._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}o.prototype=new a,o.prototype.__set_whitespace_patterns=function(v,x){v+="\\t ",x+="\\n\\r",this._match_pattern=this._input.get_regexp("["+v+x+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+x+"]")},o.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var v=this._input.read(this._match_pattern);if(v===" ")this.whitespace_before_token=" ";else if(v){var x=this.__split(this._newline_regexp,v);this.newline_count=x.length-1,this.whitespace_before_token=x[this.newline_count]}return v},o.prototype.matching=function(v,x){var E=this._create();return E.__set_whitespace_patterns(v,x),E._update(),E},o.prototype._create=function(){return new o(this._input,this)},o.prototype.__split=function(v,x){v.lastIndex=0;for(var E=0,h=[],p=v.exec(x);p;)h.push(x.substring(E,p.index)),E=p.index+p[0].length,p=v.exec(x);return E<x.length?h.push(x.substring(E,x.length)):h.push(""),h},c.exports.WhitespacePattern=o},function(c){function t(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)}t.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},t.prototype.read_match=function(){return this._input.match(this._match_pattern)},t.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},t.prototype.until=function(r){var a=this._create();return a._until_after=!1,a._until_pattern=this._input.get_regexp(r),a._update(),a},t.prototype.starting_with=function(r){var a=this._create();return a._starting_pattern=this._input.get_regexp(r,!0),a._update(),a},t.prototype.matching=function(r){var a=this._create();return a._match_pattern=this._input.get_regexp(r,!0),a._update(),a},t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){},c.exports.Pattern=t},function(c){function t(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")}t.prototype.get_directives=function(r){if(!r.match(this.__directives_block_pattern))return null;var a={};this.__directive_pattern.lastIndex=0;for(var o=this.__directive_pattern.exec(r);o;)a[o[1]]=o[2],o=this.__directive_pattern.exec(r);return a},t.prototype.readIgnored=function(r){return r.readUntilAfter(this.__directives_end_ignore_pattern)},c.exports.Directives=t},function(c,t,r){var a=r(12).Pattern,o={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function v(x,E){a.call(this,x,E),this.__template_pattern=null,this._disabled=Object.assign({},o),this._excluded=Object.assign({},o),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 h=new a(x);this.__patterns={handlebars_comment:h.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:h.starting_with(/{{{/).until_after(/}}}/),handlebars:h.starting_with(/{{/).until_after(/}}/),php:h.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:h.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:h.starting_with(/{%/).until_after(/%}/),django_value:h.starting_with(/{{/).until_after(/}}/),django_comment:h.starting_with(/{#/).until_after(/#}/),smarty:h.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:h.starting_with(/{\*/).until_after(/\*}/),smarty_literal:h.starting_with(/{literal}/).until_after(/{\/literal}/)}}v.prototype=new a,v.prototype._create=function(){return new v(this._input,this)},v.prototype._update=function(){this.__set_templated_pattern()},v.prototype.disable=function(x){var E=this._create();return E._disabled[x]=!0,E._update(),E},v.prototype.read_options=function(x){var E=this._create();for(var h in o)E._disabled[h]=x.templating.indexOf(h)===-1;return E._update(),E},v.prototype.exclude=function(x){var E=this._create();return E._excluded[x]=!0,E._update(),E},v.prototype.read=function(){var x="";this._match_pattern?x=this._input.read(this._starting_pattern):x=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),x+=E,E=this._read_template();return this._until_after&&(x+=this._input.readUntilAfter(this._until_pattern)),x},v.prototype.__set_templated_pattern=function(){var x=[];this._disabled.php||x.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||x.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||x.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||x.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(x.push(this.__patterns.django._starting_pattern.source),x.push(this.__patterns.django_value._starting_pattern.source),x.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||x.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&x.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+x.join("|")+")")},v.prototype._read_template=function(){var x="",E=this._input.peek();if(E==="<"){var h=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&h==="?"&&(x=x||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&h==="%"&&(x=x||this.__patterns.erb.read())}else E==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(x=x||this.__patterns.handlebars_comment.read(),x=x||this.__patterns.handlebars_unescaped.read(),x=x||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(x=x||this.__patterns.django_value.read()),this._excluded.django||(x=x||this.__patterns.django_comment.read(),x=x||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(x=x||this.__patterns.smarty_comment.read(),x=x||this.__patterns.smarty_literal.read(),x=x||this.__patterns.smarty.read()));return x},c.exports.TemplatablePattern=v},,,,function(c,t,r){var a=r(19).Beautifier,o=r(20).Options;function v(x,E,h,p){var f=new a(x,E,h,p);return f.beautify()}c.exports=v,c.exports.defaultOptions=function(){return new o}},function(c,t,r){var a=r(20).Options,o=r(2).Output,v=r(21).Tokenizer,x=r(21).TOKEN,E=/\r\n|[\r\n]/,h=/\r\n|[\r\n]/g,p=function(g,d){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=g.max_preserve_newlines,this.preserve_newlines=g.preserve_newlines,this._output=new o(g,d)};p.prototype.current_line_has_match=function(g){return this._output.current_line.has_match(g)},p.prototype.set_space_before_token=function(g,d){this._output.space_before_token=g,this._output.non_breaking_space=d},p.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},p.prototype.add_raw_token=function(g){this._output.add_raw_token(g)},p.prototype.print_preserved_newlines=function(g){var d=0;g.type!==x.TEXT&&g.previous.type!==x.TEXT&&(d=g.newlines?1:0),this.preserve_newlines&&(d=g.newlines<this.max_preserve_newlines+1?g.newlines:this.max_preserve_newlines+1);for(var b=0;b<d;b++)this.print_newline(b>0);return d!==0},p.prototype.traverse_whitespace=function(g){return g.whitespace_before||g.newlines?(this.print_preserved_newlines(g)||(this._output.space_before_token=!0),!0):!1},p.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},p.prototype.print_newline=function(g){this._output.add_new_line(g)},p.prototype.print_token=function(g){g.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(g.text))},p.prototype.indent=function(){this.indent_level++},p.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},p.prototype.get_full_indent=function(g){return g=this.indent_level+(g||0),g<1?"":this._output.get_indent_string(g)};var f=function(g){for(var d=null,b=g.next;b.type!==x.EOF&&g.closed!==b;){if(b.type===x.ATTRIBUTE&&b.text==="type"){b.next&&b.next.type===x.EQUALS&&b.next.next&&b.next.next.type===x.VALUE&&(d=b.next.next.text);break}b=b.next}return d},l=function(g,d){var b=null,S=null;return d.closed?(g==="script"?b="text/javascript":g==="style"&&(b="text/css"),b=f(d)||b,b.search("text/css")>-1?S="css":b.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?S="javascript":b.search(/(text|application|dojo)\/(x-)?(html)/)>-1?S="html":b.search(/test\/null/)>-1&&(S="null"),S):null};function k(g,d){return d.indexOf(g)!==-1}function P(g,d,b){this.parent=g||null,this.tag=d?d.tag_name:"",this.indent_level=b||0,this.parser_token=d||null}function L(g){this._printer=g,this._current_frame=null}L.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},L.prototype.record_tag=function(g){var d=new P(this._current_frame,g,this._printer.indent_level);this._current_frame=d},L.prototype._try_pop_frame=function(g){var d=null;return g&&(d=g.parser_token,this._printer.indent_level=g.indent_level,this._current_frame=g.parent),d},L.prototype._get_frame=function(g,d){for(var b=this._current_frame;b&&g.indexOf(b.tag)===-1;){if(d&&d.indexOf(b.tag)!==-1){b=null;break}b=b.parent}return b},L.prototype.try_pop=function(g,d){var b=this._get_frame([g],d);return this._try_pop_frame(b)},L.prototype.indent_to_tag=function(g){var d=this._get_frame(g);d&&(this._printer.indent_level=d.indent_level)};function j(g,d,b,S){this._source_text=g||"",d=d||{},this._js_beautify=b,this._css_beautify=S,this._tag_stack=null;var I=new a(d,"html");this._options=I,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"}j.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var g=this._source_text,d=this._options.eol;this._options.eol==="auto"&&(d=`
`,g&&E.test(g)&&(d=g.match(E)[0])),g=g.replace(h,`
`);var b=g.match(/^[\t ]*/)[0],S={text:"",type:""},I=new J(this._options),w=new p(this._options,b),n=new v(g,this._options).tokenize();this._tag_stack=new L(w);for(var i=null,y=n.next();y.type!==x.EOF;)y.type===x.TAG_OPEN||y.type===x.COMMENT?(i=this._handle_tag_open(w,y,I,S,n),I=i):y.type===x.ATTRIBUTE||y.type===x.EQUALS||y.type===x.VALUE||y.type===x.TEXT&&!I.tag_complete?i=this._handle_inside_tag(w,y,I,S):y.type===x.TAG_CLOSE?i=this._handle_tag_close(w,y,I):y.type===x.TEXT?i=this._handle_text(w,y,I):y.type===x.CONTROL_FLOW_OPEN?i=this._handle_control_flow_open(w,y):y.type===x.CONTROL_FLOW_CLOSE?i=this._handle_control_flow_close(w,y):w.add_raw_token(y),S=i,y=n.next();var F=w._output.get_code(d);return F},j.prototype._handle_control_flow_open=function(g,d){var b={text:d.text,type:d.type};return g.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),d.newlines?g.print_preserved_newlines(d):g.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),g.print_token(d),g.indent(),b},j.prototype._handle_control_flow_close=function(g,d){var b={text:d.text,type:d.type};return g.deindent(),d.newlines?g.print_preserved_newlines(d):g.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),g.print_token(d),b},j.prototype._handle_tag_close=function(g,d,b){var S={text:d.text,type:d.type};return g.alignment_size=0,b.tag_complete=!0,g.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),b.is_unformatted?g.add_raw_token(d):(b.tag_start_char==="<"&&(g.set_space_before_token(d.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&b.has_wrapped_attrs&&g.print_newline(!1)),g.print_token(d)),b.indent_content&&!(b.is_unformatted||b.is_content_unformatted)&&(g.indent(),b.indent_content=!1),!b.is_inline_element&&!(b.is_unformatted||b.is_content_unformatted)&&g.set_wrap_point(),S},j.prototype._handle_inside_tag=function(g,d,b,S){var I=b.has_wrapped_attrs,w={text:d.text,type:d.type};return g.set_space_before_token(d.newlines||d.whitespace_before!=="",!0),b.is_unformatted?g.add_raw_token(d):b.tag_start_char==="{"&&d.type===x.TEXT?g.print_preserved_newlines(d)?(d.newlines=0,g.add_raw_token(d)):g.print_token(d):(d.type===x.ATTRIBUTE?g.set_space_before_token(!0):(d.type===x.EQUALS||d.type===x.VALUE&&d.previous.type===x.EQUALS)&&g.set_space_before_token(!1),d.type===x.ATTRIBUTE&&b.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(g.traverse_whitespace(d),I=I||d.newlines!==0),this._is_wrap_attributes_force&&b.attr_count>=this._options.wrap_attributes_min_attrs&&(S.type!==x.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(g.print_newline(!1),I=!0)),g.print_token(d),I=I||g.previous_token_wrapped(),b.has_wrapped_attrs=I),w},j.prototype._handle_text=function(g,d,b){var S={text:d.text,type:"TK_CONTENT"};return b.custom_beautifier_name?this._print_custom_beatifier_text(g,d,b):b.is_unformatted||b.is_content_unformatted?g.add_raw_token(d):(g.traverse_whitespace(d),g.print_token(d)),S},j.prototype._print_custom_beatifier_text=function(g,d,b){var S=this;if(d.text!==""){var I=d.text,w,n=1,i="",y="";b.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?w=this._js_beautify:b.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?w=this._css_beautify:b.custom_beautifier_name==="html"&&(w=function(it,zt){var be=new j(it,zt,S._js_beautify,S._css_beautify);return be.beautify()}),this._options.indent_scripts==="keep"?n=0:this._options.indent_scripts==="separate"&&(n=-g.indent_level);var F=g.get_full_indent(n);if(I=I.replace(/\n[ \t]*$/,""),b.custom_beautifier_name!=="html"&&I[0]==="<"&&I.match(/^(<!--|<!\[CDATA\[)/)){var le=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(I);if(!le){g.add_raw_token(d);return}i=F+le[1]+`
`,I=le[4],le[5]&&(y=F+le[5]),I=I.replace(/\n[ \t]*$/,""),(le[2]||le[3].indexOf(`
`)!==-1)&&(le=le[3].match(/[ \t]+$/),le&&(d.whitespace_before=le[0]))}if(I)if(w){var Ee=function(){this.eol=`
`};Ee.prototype=this._options.raw_options;var Le=new Ee;I=w(F+I,Le)}else{var Ve=d.whitespace_before;Ve&&(I=I.replace(new RegExp(`
(`+Ve+")?","g"),`
`)),I=F+I.replace(/\n/g,`
`+F)}i&&(I?I=i+I+`
`+y:I=i+y),g.print_newline(!1),I&&(d.text=I,d.whitespace_before="",d.newlines=0,g.add_raw_token(d),g.print_newline(!0))}},j.prototype._handle_tag_open=function(g,d,b,S,I){var w=this._get_tag_open_token(d);if((b.is_unformatted||b.is_content_unformatted)&&!b.is_empty_element&&d.type===x.TAG_OPEN&&!w.is_start_tag?(g.add_raw_token(d),w.start_tag_token=this._tag_stack.try_pop(w.tag_name)):(g.traverse_whitespace(d),this._set_tag_position(g,d,w,b,S),w.is_inline_element||g.set_wrap_point(),g.print_token(d)),w.is_start_tag&&this._is_wrap_attributes_force){var n=0,i;do i=I.peek(n),i.type===x.ATTRIBUTE&&(w.attr_count+=1),n+=1;while(i.type!==x.EOF&&i.type!==x.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(w.alignment_size=d.text.length+1),!w.tag_complete&&!w.is_unformatted&&(g.alignment_size=w.alignment_size),w};var J=function(g,d,b){if(this.parent=d||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="",!b)this.tag_complete=!0;else{var S;this.tag_start_char=b.text[0],this.text=b.text,this.tag_start_char==="<"?(S=b.text.match(/^<([^\s>]*)/),this.tag_check=S?S[1]:""):(S=b.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=S?S[1]:"",(b.text.startsWith("{{#>")||b.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&b.next!==null?this.tag_check=b.next.text.split(" ")[0]:this.tag_check=b.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),b.type===x.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||b.closed&&b.closed.text==="/>";var I=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(I=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!g.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(I)))}};j.prototype._get_tag_open_token=function(g){var d=new J(this._options,this._tag_stack.get_parser_token(),g);return d.alignment_size=this._options.wrap_attributes_indent_size,d.is_end_tag=d.is_end_tag||k(d.tag_check,this._options.void_elements),d.is_empty_element=d.tag_complete||d.is_start_tag&&d.is_end_tag,d.is_unformatted=!d.tag_complete&&k(d.tag_check,this._options.unformatted),d.is_content_unformatted=!d.is_empty_element&&k(d.tag_check,this._options.content_unformatted),d.is_inline_element=k(d.tag_name,this._options.inline)||this._options.inline_custom_elements&&d.tag_name.includes("-")||d.tag_start_char==="{",d},j.prototype._set_tag_position=function(g,d,b,S,I){if(b.is_empty_element||(b.is_end_tag?b.start_tag_token=this._tag_stack.try_pop(b.tag_name):(this._do_optional_end_element(b)&&(b.is_inline_element||g.print_newline(!1)),this._tag_stack.record_tag(b),(b.tag_name==="script"||b.tag_name==="style")&&!(b.is_unformatted||b.is_content_unformatted)&&(b.custom_beautifier_name=l(b.tag_check,d)))),k(b.tag_check,this._options.extra_liners)&&(g.print_newline(!1),g._output.just_added_blankline()||g.print_newline(!0)),b.is_empty_element){if(b.tag_start_char==="{"&&b.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),b.indent_content=!0;var w=g.current_line_has_match(/{{#if/);w||g.print_newline(!1)}b.tag_name==="!--"&&I.type===x.TAG_CLOSE&&S.is_end_tag&&b.text.indexOf(`
`)===-1||(b.is_inline_element||b.is_unformatted||g.print_newline(!1),this._calcluate_parent_multiline(g,b))}else if(b.is_end_tag){var n=!1;n=b.start_tag_token&&b.start_tag_token.multiline_content,n=n||!b.is_inline_element&&!(S.is_inline_element||S.is_unformatted)&&!(I.type===x.TAG_CLOSE&&b.start_tag_token===S)&&I.type!=="TK_CONTENT",(b.is_content_unformatted||b.is_unformatted)&&(n=!1),n&&g.print_newline(!1)}else b.indent_content=!b.custom_beautifier_name,b.tag_start_char==="<"&&(b.tag_name==="html"?b.indent_content=this._options.indent_inner_html:b.tag_name==="head"?b.indent_content=this._options.indent_head_inner_html:b.tag_name==="body"&&(b.indent_content=this._options.indent_body_inner_html)),!(b.is_inline_element||b.is_unformatted)&&(I.type!=="TK_CONTENT"||b.is_content_unformatted)&&g.print_newline(!1),this._calcluate_parent_multiline(g,b)},j.prototype._calcluate_parent_multiline=function(g,d){d.parent&&g._output.just_added_newline()&&!((d.is_inline_element||d.is_unformatted)&&d.parent.is_inline_element)&&(d.parent.multiline_content=!0)};var B=["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"],ye=["a","audio","del","ins","map","noscript","video"];j.prototype._do_optional_end_element=function(g){var d=null;if(!(g.is_empty_element||!g.is_start_tag||!g.parent)){if(g.tag_name==="body")d=d||this._tag_stack.try_pop("head");else if(g.tag_name==="li")d=d||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(g.tag_name==="dd"||g.tag_name==="dt")d=d||this._tag_stack.try_pop("dt",["dl"]),d=d||this._tag_stack.try_pop("dd",["dl"]);else if(g.parent.tag_name==="p"&&B.indexOf(g.tag_name)!==-1){var b=g.parent.parent;(!b||ye.indexOf(b.tag_name)===-1)&&(d=d||this._tag_stack.try_pop("p"))}else g.tag_name==="rp"||g.tag_name==="rt"?(d=d||this._tag_stack.try_pop("rt",["ruby","rtc"]),d=d||this._tag_stack.try_pop("rp",["ruby","rtc"])):g.tag_name==="optgroup"?d=d||this._tag_stack.try_pop("optgroup",["select"]):g.tag_name==="option"?d=d||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):g.tag_name==="colgroup"?d=d||this._tag_stack.try_pop("caption",["table"]):g.tag_name==="thead"?(d=d||this._tag_stack.try_pop("caption",["table"]),d=d||this._tag_stack.try_pop("colgroup",["table"])):g.tag_name==="tbody"||g.tag_name==="tfoot"?(d=d||this._tag_stack.try_pop("caption",["table"]),d=d||this._tag_stack.try_pop("colgroup",["table"]),d=d||this._tag_stack.try_pop("thead",["table"]),d=d||this._tag_stack.try_pop("tbody",["table"])):g.tag_name==="tr"?(d=d||this._tag_stack.try_pop("caption",["table"]),d=d||this._tag_stack.try_pop("colgroup",["table"]),d=d||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(g.tag_name==="th"||g.tag_name==="td")&&(d=d||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),d=d||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return g.parent=this._tag_stack.get_parser_token(),d}},c.exports.Beautifier=j},function(c,t,r){var a=r(6).Options;function o(v){a.call(this,v,"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"])}o.prototype=new a,c.exports.Options=o},function(c,t,r){var a=r(9).Tokenizer,o=r(9).TOKEN,v=r(13).Directives,x=r(14).TemplatablePattern,E=r(12).Pattern,h={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:o.START,RAW:o.RAW,EOF:o.EOF},p=new v(/<\!--/,/-->/),f=function(l,k){a.call(this,l,k),this._current_tag_name="";var P=new x(this._input).read_options(this._options),L=new E(this._input);if(this.__patterns={word:P.until(/[\n\r\t <]/),word_control_flow_close_excluded:P.until(/[\n\r\t <}]/),single_quote:P.until_after(/'/),double_quote:P.until_after(/"/),attribute:P.until(/[\n\r\t =>]|\/>/),element_name:P.until(/[\n\r\t >\/]/),angular_control_flow_start:L.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:L.starting_with(/{{!--/).until_after(/--}}/),handlebars:L.starting_with(/{{/).until_after(/}}/),handlebars_open:L.until(/[\n\r\t }]/),handlebars_raw_close:L.until(/}}/),comment:L.starting_with(/<!--/).until_after(/-->/),cdata:L.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:L.starting_with(/<!\[/).until_after(/]>/),processing:L.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 j=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=L.matching(j).until_after(j)}};f.prototype=new a,f.prototype._is_comment=function(l){return!1},f.prototype._is_opening=function(l){return l.type===h.TAG_OPEN||l.type===h.CONTROL_FLOW_OPEN},f.prototype._is_closing=function(l,k){return l.type===h.TAG_CLOSE&&k&&((l.text===">"||l.text==="/>")&&k.text[0]==="<"||l.text==="}}"&&k.text[0]==="{"&&k.text[1]==="{")||l.type===h.CONTROL_FLOW_CLOSE&&l.text==="}"&&k.text.endsWith("{")},f.prototype._reset=function(){this._current_tag_name=""},f.prototype._get_next_token=function(l,k){var P=null;this._readWhitespace();var L=this._input.peek();return L===null?this._create_token(h.EOF,""):(P=P||this._read_open_handlebars(L,k),P=P||this._read_attribute(L,l,k),P=P||this._read_close(L,k),P=P||this._read_script_and_style(L,l),P=P||this._read_control_flows(L,k),P=P||this._read_raw_content(L,l,k),P=P||this._read_content_word(L,k),P=P||this._read_comment_or_cdata(L),P=P||this._read_processing(L),P=P||this._read_open(L,k),P=P||this._create_token(h.UNKNOWN,this._input.next()),P)},f.prototype._read_comment_or_cdata=function(l){var k=null,P=null,L=null;if(l==="<"){var j=this._input.peek(1);j==="!"&&(P=this.__patterns.comment.read(),P?(L=p.get_directives(P),L&&L.ignore==="start"&&(P+=p.readIgnored(this._input))):P=this.__patterns.cdata.read()),P&&(k=this._create_token(h.COMMENT,P),k.directives=L)}return k},f.prototype._read_processing=function(l){var k=null,P=null,L=null;if(l==="<"){var j=this._input.peek(1);(j==="!"||j==="?")&&(P=this.__patterns.conditional_comment.read(),P=P||this.__patterns.processing.read()),P&&(k=this._create_token(h.COMMENT,P),k.directives=L)}return k},f.prototype._read_open=function(l,k){var P=null,L=null;return(!k||k.type===h.CONTROL_FLOW_OPEN)&&l==="<"&&(P=this._input.next(),this._input.peek()==="/"&&(P+=this._input.next()),P+=this.__patterns.element_name.read(),L=this._create_token(h.TAG_OPEN,P)),L},f.prototype._read_open_handlebars=function(l,k){var P=null,L=null;return(!k||k.type===h.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&l==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(P=this.__patterns.handlebars_comment.read(),P=P||this.__patterns.handlebars.read(),L=this._create_token(h.COMMENT,P)):(P=this.__patterns.handlebars_open.read(),L=this._create_token(h.TAG_OPEN,P))),L},f.prototype._read_control_flows=function(l,k){var P="",L=null;if(!this._options.templating.includes("angular"))return L;if(l==="@"){if(P=this.__patterns.angular_control_flow_start.read(),P==="")return L;for(var j=P.endsWith("(")?1:0,J=0;!(P.endsWith("{")&&j===J);){var B=this._input.next();if(B===null)break;B==="("?j++:B===")"&&J++,P+=B}L=this._create_token(h.CONTROL_FLOW_OPEN,P)}else l==="}"&&k&&k.type===h.CONTROL_FLOW_OPEN&&(P=this._input.next(),L=this._create_token(h.CONTROL_FLOW_CLOSE,P));return L},f.prototype._read_close=function(l,k){var P=null,L=null;return k&&k.type===h.TAG_OPEN&&(k.text[0]==="<"&&(l===">"||l==="/"&&this._input.peek(1)===">")?(P=this._input.next(),l==="/"&&(P+=this._input.next()),L=this._create_token(h.TAG_CLOSE,P)):k.text[0]==="{"&&l==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),L=this._create_token(h.TAG_CLOSE,"}}"))),L},f.prototype._read_attribute=function(l,k,P){var L=null,j="";if(P&&P.text[0]==="<")if(l==="=")L=this._create_token(h.EQUALS,this._input.next());else if(l==='"'||l==="'"){var J=this._input.next();l==='"'?J+=this.__patterns.double_quote.read():J+=this.__patterns.single_quote.read(),L=this._create_token(h.VALUE,J)}else j=this.__patterns.attribute.read(),j&&(k.type===h.EQUALS?L=this._create_token(h.VALUE,j):L=this._create_token(h.ATTRIBUTE,j));return L},f.prototype._is_content_unformatted=function(l){return this._options.void_elements.indexOf(l)===-1&&(this._options.content_unformatted.indexOf(l)!==-1||this._options.unformatted.indexOf(l)!==-1)},f.prototype._read_raw_content=function(l,k,P){var L="";if(P&&P.text[0]==="{")L=this.__patterns.handlebars_raw_close.read();else if(k.type===h.TAG_CLOSE&&k.opened.text[0]==="<"&&k.text[0]!=="/"){var j=k.opened.text.substr(1).toLowerCase();this._is_content_unformatted(j)&&(L=this._input.readUntil(new RegExp("</"+j+"[\\n\\r\\t ]*?>","ig")))}return L?this._create_token(h.TEXT,L):null},f.prototype._read_script_and_style=function(l,k){if(k.type===h.TAG_CLOSE&&k.opened.text[0]==="<"&&k.text[0]!=="/"){var P=k.opened.text.substr(1).toLowerCase();if(P==="script"||P==="style"){var L=this._read_comment_or_cdata(l);if(L)return L.type=h.TEXT,L;var j=this._input.readUntil(new RegExp("</"+P+"[\\n\\r\\t ]*?>","ig"));if(j)return this._create_token(h.TEXT,j)}}return null},f.prototype._read_content_word=function(l,k){var P="";return this._options.unformatted_content_delimiter&&l===this._options.unformatted_content_delimiter[0]&&(P=this.__patterns.unformatted_content_delimiter.read()),P||(P=k&&k.type===h.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),P?this._create_token(h.TEXT,P):null},c.exports.Tokenizer=f,c.exports.TOKEN=h}],G={};function e(c){var t=G[c];if(t!==void 0)return t.exports;var r=G[c]={exports:{}};return H[c](r,r.exports,e),r.exports}var s=e(18);W=s})();var Q=W;if(1)N=[u,u(58553),u(87804)],D=function(H){var G=u(58553),e=u(87804);return{html_beautify:function(s,c){return Q(s,c,G.js_beautify,e.css_beautify)}}}.apply(Ze,N),D!==void 0&&(Bt.exports=D);else var V,_})()},58553:function(Bt,Ze){var u,N;(function(){var D;(function(){"use strict";var Q=[function(G,e,s){var c=s(1).Beautifier,t=s(5).Options;function r(a,o){var v=new c(a,o);return v.beautify()}G.exports=r,G.exports.defaultOptions=function(){return new t}},function(G,e,s){var c=s(2).Output,t=s(3).Token,r=s(4),a=s(5).Options,o=s(7).Tokenizer,v=s(7).line_starters,x=s(7).positionable_operators,E=s(7).TOKEN;function h(i,y){return y.indexOf(i)!==-1}function p(i){return i.replace(/^\s+/g,"")}function f(i){for(var y={},F=0;F<i.length;F++)y[i[F].replace(/-/g,"_")]=i[F];return y}function l(i,y){return i&&i.type===E.RESERVED&&i.text===y}function k(i,y){return i&&i.type===E.RESERVED&&h(i.text,y)}var P=["case","return","do","if","throw","else","await","break","continue","async"],L=["before-newline","after-newline","preserve-newline"],j=f(L),J=[j.before_newline,j.preserve_newline],B={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function ye(i,y){y.multiline_frame||y.mode===B.ForInitializer||y.mode===B.Conditional||i.remove_indent(y.start_line_index)}function g(i){i=i.replace(r.allLineBreaks,`
`);for(var y=[],F=i.indexOf(`
`);F!==-1;)y.push(i.substring(0,F)),i=i.substring(F+1),F=i.indexOf(`
`);return i.length&&y.push(i),y}function d(i){return i===B.ArrayLiteral}function b(i){return h(i,[B.Expression,B.ForInitializer,B.Conditional])}function S(i,y){for(var F=0;F<i.length;F++){var le=i[F].trim();if(le.charAt(0)!==y)return!1}return!0}function I(i,y){for(var F=0,le=i.length,Ee;F<le;F++)if(Ee=i[F],Ee&&Ee.indexOf(y)!==0)return!1;return!0}function w(i,y){y=y||{},this._source_text=i||"",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(y)}w.prototype.create_flags=function(i,y){var F=0;i&&(F=i.indentation_level,!this._output.just_added_newline()&&i.line_indent_level>F&&(F=i.line_indent_level));var le={mode:y,parent:i,last_token:i?i.last_token:new t(E.START_BLOCK,""),last_word:i?i.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:i?i.line_indent_level:F,start_line_index:this._output.get_line_number(),ternary_depth:0};return le},w.prototype._reset=function(i){var y=i.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new c(this._options,y),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(B.BlockStatement);var F=new o(i,this._options);return this._tokens=F.tokenize(),i},w.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var i,y=this._reset(this._source_text),F=this._options.eol;this._options.eol==="auto"&&(F=`
`,y&&r.lineBreak.test(y||"")&&(F=y.match(r.lineBreak)[0]));for(var le=this._tokens.next();le;)this.handle_token(le),this._last_last_text=this._flags.last_token.text,this._flags.last_token=le,le=this._tokens.next();return i=this._output.get_code(F),i},w.prototype.handle_token=function(i,y){i.type===E.START_EXPR?this.handle_start_expr(i):i.type===E.END_EXPR?this.handle_end_expr(i):i.type===E.START_BLOCK?this.handle_start_block(i):i.type===E.END_BLOCK?this.handle_end_block(i):i.type===E.WORD?this.handle_word(i):i.type===E.RESERVED?this.handle_word(i):i.type===E.SEMICOLON?this.handle_semicolon(i):i.type===E.STRING?this.handle_string(i):i.type===E.EQUALS?this.handle_equals(i):i.type===E.OPERATOR?this.handle_operator(i):i.type===E.COMMA?this.handle_comma(i):i.type===E.BLOCK_COMMENT?this.handle_block_comment(i,y):i.type===E.COMMENT?this.handle_comment(i,y):i.type===E.DOT?this.handle_dot(i):i.type===E.EOF?this.handle_eof(i):i.type===E.UNKNOWN?this.handle_unknown(i,y):this.handle_unknown(i,y)},w.prototype.handle_whitespace_and_comments=function(i,y){var F=i.newlines,le=this._options.keep_array_indentation&&d(this._flags.mode);if(i.comments_before)for(var Ee=i.comments_before.next();Ee;)this.handle_whitespace_and_comments(Ee,y),this.handle_token(Ee,y),Ee=i.comments_before.next();if(le)for(var Le=0;Le<F;Le+=1)this.print_newline(Le>0,y);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,y);for(var Ve=1;Ve<F;Ve+=1)this.print_newline(!0,y)}};var n=["async","break","continue","return","throw","yield"];w.prototype.allow_wrap_or_preserved_newline=function(i,y){if(y=y===void 0?!1:y,!this._output.just_added_newline()){var F=this._options.preserve_newlines&&i.newlines||y,le=h(this._flags.last_token.text,x)||h(i.text,x);if(le){var Ee=h(this._flags.last_token.text,x)&&h(this._options.operator_position,J)||h(i.text,x);F=F&&Ee}if(F)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(k(this._flags.last_token,n))return;this._output.set_wrap_point()}}},w.prototype.print_newline=function(i,y){if(!y&&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===B.Statement&&!(this._flags.if_block&&l(F,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(i)&&(this._flags.multiline_frame=!0)},w.prototype.print_token_line_indentation=function(i){this._output.just_added_newline()&&(this._options.keep_array_indentation&&i.newlines&&(i.text==="["||d(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(i.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))},w.prototype.print_token=function(i){if(this._output.raw){this._output.add_raw_token(i);return}if(this._options.comma_first&&i.previous&&i.previous.type===E.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var y=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(y),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(i),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(i),this._output.non_breaking_space=!0,this._output.add_token(i.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},w.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},w.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))},w.prototype.set_mode=function(i){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,i),this._flags=this.create_flags(this._previous_flags,i),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},w.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===B.Statement&&ye(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},w.prototype.start_of_object_property=function(){return this._flags.parent.mode===B.ObjectLiteral&&this._flags.mode===B.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||k(this._flags.last_token,["get","set"]))},w.prototype.start_of_statement=function(i){var y=!1;return y=y||k(this._flags.last_token,["var","let","const"])&&i.type===E.WORD,y=y||l(this._flags.last_token,"do"),y=y||!(this._flags.parent.mode===B.ObjectLiteral&&this._flags.mode===B.Statement)&&k(this._flags.last_token,n)&&!i.newlines,y=y||l(this._flags.last_token,"else")&&!(l(i,"if")&&!i.comments_before),y=y||this._flags.last_token.type===E.END_EXPR&&(this._previous_flags.mode===B.ForInitializer||this._previous_flags.mode===B.Conditional),y=y||this._flags.last_token.type===E.WORD&&this._flags.mode===B.BlockStatement&&!this._flags.in_case&&!(i.text==="--"||i.text==="++")&&this._last_last_text!=="function"&&i.type!==E.WORD&&i.type!==E.RESERVED,y=y||this._flags.mode===B.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||k(this._flags.last_token,["get","set"])),y?(this.set_mode(B.Statement),this.indent(),this.handle_whitespace_and_comments(i,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i,k(i,["do","for","if","while"])),!0):!1},w.prototype.handle_start_expr=function(i){this.start_of_statement(i)||this.handle_whitespace_and_comments(i);var y=B.Expression;if(i.text==="["){if(this._flags.last_token.type===E.WORD||this._flags.last_token.text===")"){k(this._flags.last_token,v)&&(this._output.space_before_token=!0),this.print_token(i),this.set_mode(y),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}y=B.ArrayLiteral,d(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()),h(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,y=B.ForInitializer):h(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,y=B.Conditional):h(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&i.whitespace_before===""?this._output.space_before_token=!1:(h(this._flags.last_token.text,v)||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(i);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 le=this._tokens.peek(-4);k(F,["async","function"])||F.text==="*"&&k(le,["async","function"])?this._output.space_before_token=!0:this._flags.mode===B.ObjectLiteral?(F.text==="{"||F.text===","||F.text==="*"&&(le.text==="{"||le.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(i);(this._flags.last_token.type===E.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(h(this._last_last_text,["function","yield"])||this._flags.mode===B.ObjectLiteral&&h(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(i,i.newlines),this.print_token(i),this.set_mode(y),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},w.prototype.handle_end_expr=function(i){for(;this._flags.mode===B.Statement;)this.restore_mode();this.handle_whitespace_and_comments(i),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(i,i.text==="]"&&d(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(i),this.restore_mode(),ye(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===B.Conditional&&(this._previous_flags.mode=B.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},w.prototype.handle_start_block=function(i){this.handle_whitespace_and_comments(i);var y=this._tokens.peek(),F=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===E.END_EXPR?(this.set_mode(B.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(B.BlockStatement):F&&(h(F.text,[":",","])&&h(y.type,[E.STRING,E.WORD,E.RESERVED])||h(y.text,["get","set","..."])&&h(F.type,[E.WORD,E.RESERVED]))?h(this._last_last_text,["class","interface"])&&!h(F.text,[":",","])?this.set_mode(B.BlockStatement):this.set_mode(B.ObjectLiteral):this._flags.last_token.type===E.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(B.BlockStatement):h(this._flags.last_token.type,[E.EQUALS,E.START_EXPR,E.COMMA,E.OPERATOR])||k(this._flags.last_token,["return","throw","import","default"])?this.set_mode(B.ObjectLiteral):this.set_mode(B.BlockStatement),this._flags.last_token&&k(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var le=!y.comments_before&&y.text==="}",Ee=le&&this._flags.last_word==="function"&&this._flags.last_token.type===E.END_EXPR;if(this._options.brace_preserve_inline){var Le=0,Ve=null;this._flags.inline_frame=!0;do if(Le+=1,Ve=this._tokens.peek(Le-1),Ve.newlines){this._flags.inline_frame=!1;break}while(Ve.type!==E.EOF&&!(Ve.type===E.END_BLOCK&&Ve.opened===i))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&i.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==E.OPERATOR&&(Ee||this._flags.last_token.type===E.EQUALS||k(this._flags.last_token,P)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(d(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(i),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&&(h(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(i),this.indent(),!le&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},w.prototype.handle_end_block=function(i){for(this.handle_whitespace_and_comments(i);this._flags.mode===B.Statement;)this.restore_mode();var y=this._flags.last_token.type===E.START_BLOCK;this._flags.inline_frame&&!y?this._output.space_before_token=!0:this._options.brace_style==="expand"?y||this.print_newline():y||(d(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(i)},w.prototype.handle_word=function(i){if(i.type===E.RESERVED){if(h(i.text,["set","get"])&&this._flags.mode!==B.ObjectLiteral)i.type=E.WORD;else if(i.text==="import"&&h(this._tokens.peek().text,["(","."]))i.type=E.WORD;else if(h(i.text,["as","from"])&&!this._flags.import_block)i.type=E.WORD;else if(this._flags.mode===B.ObjectLiteral){var y=this._tokens.peek();y.text===":"&&(i.type=E.WORD)}}if(this.start_of_statement(i)?k(this._flags.last_token,["var","let","const"])&&i.type===E.WORD&&(this._flags.declaration_statement=!0):i.newlines&&!b(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||!k(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(i),this.print_newline()):this.handle_whitespace_and_comments(i),this._flags.do_block&&!this._flags.do_while)if(l(i,"while")){this._output.space_before_token=!0,this.print_token(i),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&&l(i,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===B.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&k(i,["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(i),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()&&!(h(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===B.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(i),l(i,"function")){(h(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(h(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===E.OPERATOR))&&!this._output.just_added_blankline()&&!i.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===E.RESERVED||this._flags.last_token.type===E.WORD?k(this._flags.last_token,["get","set","new","export"])||k(this._flags.last_token,n)?this._output.space_before_token=!0:l(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&&(b(this._flags.mode)||d(this._flags.mode))||this.print_newline(),this.print_token(i),this._flags.last_word=i.text;return}var F="NONE";if(this._flags.last_token.type===E.END_BLOCK?this._previous_flags.inline_frame?F="SPACE":k(i,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&i.newlines?F="NEWLINE":(F="SPACE",this._output.space_before_token=!0):F="NEWLINE":this._flags.last_token.type===E.SEMICOLON&&this._flags.mode===B.BlockStatement?F="NEWLINE":this._flags.last_token.type===E.SEMICOLON&&b(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==="*"&&(h(this._last_last_text,["function","yield"])||this._flags.mode===B.ObjectLiteral&&h(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"),k(i,v)&&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"),k(i,["else","catch","finally"]))if((!(this._flags.last_token.type===E.END_BLOCK&&this._previous_flags.mode===B.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&i.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var le=this._output.current_line;le.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else F==="NEWLINE"?k(this._flags.last_token,P)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&k(i,["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||!k(i,["var","let","const"]))&&this._flags.last_token.text!==":"&&(l(i,"if")&&l(i.previous,"else")?this._output.space_before_token=!0:this.print_newline()):k(i,v)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&d(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():F==="SPACE"&&(this._output.space_before_token=!0);i.previous&&(i.previous.type===E.WORD||i.previous.type===E.RESERVED)&&(this._output.space_before_token=!0),this.print_token(i),this._flags.last_word=i.text,i.type===E.RESERVED&&(i.text==="do"?this._flags.do_block=!0:i.text==="if"?this._flags.if_block=!0:i.text==="import"?this._flags.import_block=!0:this._flags.import_block&&l(i,"from")&&(this._flags.import_block=!1))},w.prototype.handle_semicolon=function(i){this.start_of_statement(i)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(i);for(var y=this._tokens.peek();this._flags.mode===B.Statement&&!(this._flags.if_block&&l(y,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(i)},w.prototype.handle_string=function(i){i.text.startsWith("`")&&i.newlines===0&&i.whitespace_before===""&&(i.previous.text===")"||this._flags.last_token.type===E.WORD)||(this.start_of_statement(i)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(i),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(i):i.text.startsWith("`")&&this._flags.last_token.type===E.END_EXPR&&(i.previous.text==="]"||i.previous.text===")")&&i.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(i)},w.prototype.handle_equals=function(i){this.start_of_statement(i)||this.handle_whitespace_and_comments(i),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(i),this._output.space_before_token=!0},w.prototype.handle_comma=function(i){this.handle_whitespace_and_comments(i,!0),this.print_token(i),this._output.space_before_token=!0,this._flags.declaration_statement?(b(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(i)):this._flags.mode===B.ObjectLiteral||this._flags.mode===B.Statement&&this._flags.parent.mode===B.ObjectLiteral?(this._flags.mode===B.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(i)},w.prototype.handle_operator=function(i){var y=i.text==="*"&&(k(this._flags.last_token,["function","yield"])||h(this._flags.last_token.type,[E.START_BLOCK,E.COMMA,E.END_BLOCK,E.SEMICOLON])),F=h(i.text,["-","+"])&&(h(this._flags.last_token.type,[E.START_BLOCK,E.START_EXPR,E.EQUALS,E.OPERATOR])||h(this._flags.last_token.text,v)||this._flags.last_token.text===",");if(!this.start_of_statement(i)){var le=!y;this.handle_whitespace_and_comments(i,le)}if(i.text==="*"&&this._flags.last_token.type===E.DOT){this.print_token(i);return}if(i.text==="::"){this.print_token(i);return}if(h(i.text,["-","+"])&&this.start_of_object_property()){this.print_token(i);return}if(this._flags.last_token.type===E.OPERATOR&&h(this._options.operator_position,J)&&this.allow_wrap_or_preserved_newline(i),i.text===":"&&this._flags.in_case){this.print_token(i),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 Ee=!0,Le=!0,Ve=!1;if(i.text===":"?this._flags.ternary_depth===0?Ee=!1:(this._flags.ternary_depth-=1,Ve=!0):i.text==="?"&&(this._flags.ternary_depth+=1),!F&&!y&&this._options.preserve_newlines&&h(i.text,x)){var it=i.text===":",zt=it&&Ve,be=it&&!Ve;switch(this._options.operator_position){case j.before_newline:this._output.space_before_token=!be,this.print_token(i),(!it||zt)&&this.allow_wrap_or_preserved_newline(i),this._output.space_before_token=!0;return;case j.after_newline:this._output.space_before_token=!0,!it||zt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(i):this._output.space_before_token=!1,this.print_token(i),this._output.space_before_token=!0;return;case j.preserve_newline:be||this.allow_wrap_or_preserved_newline(i),Ee=!(this._output.just_added_newline()||be),this._output.space_before_token=Ee,this.print_token(i),this._output.space_before_token=!0;return}}if(y){this.allow_wrap_or_preserved_newline(i),Ee=!1;var Ge=this._tokens.peek();Le=Ge&&h(Ge.type,[E.WORD,E.RESERVED])}else if(i.text==="...")this.allow_wrap_or_preserved_newline(i),Ee=this._flags.last_token.type===E.START_BLOCK,Le=!1;else if(h(i.text,["--","++","!","~"])||F){if((this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR)&&this.allow_wrap_or_preserved_newline(i),Ee=!1,Le=!1,i.newlines&&(i.text==="--"||i.text==="++"||i.text==="~")){var Lt=k(this._flags.last_token,P)&&i.newlines;Lt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Lt,!0)}this._flags.last_token.text===";"&&b(this._flags.mode)&&(Ee=!0),this._flags.last_token.type===E.RESERVED?Ee=!0:this._flags.last_token.type===E.END_EXPR?Ee=!(this._flags.last_token.text==="]"&&(i.text==="--"||i.text==="++")):this._flags.last_token.type===E.OPERATOR&&(Ee=h(i.text,["--","-","++","+"])&&h(this._flags.last_token.text,["--","-","++","+"]),h(i.text,["+","-"])&&h(this._flags.last_token.text,["--","++"])&&(Le=!0)),(this._flags.mode===B.BlockStatement&&!this._flags.inline_frame||this._flags.mode===B.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Ee,this.print_token(i),this._output.space_before_token=Le},w.prototype.handle_block_comment=function(i,y){if(this._output.raw){this._output.add_raw_token(i),i.directives&&i.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(i.directives){this.print_newline(!1,y),this.print_token(i),i.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!r.newline.test(i.text)&&!i.newlines){this._output.space_before_token=!0,this.print_token(i),this._output.space_before_token=!0;return}else this.print_block_commment(i,y)},w.prototype.print_block_commment=function(i,y){var F=g(i.text),le,Ee=!1,Le=!1,Ve=i.whitespace_before,it=Ve.length;if(this.print_newline(!1,y),this.print_token_line_indentation(i),this._output.add_token(F[0]),this.print_newline(!1,y),F.length>1){for(F=F.slice(1),Ee=S(F,"*"),Le=I(F,Ve),Ee&&(this._flags.alignment=1),le=0;le<F.length;le++)Ee?(this.print_token_line_indentation(i),this._output.add_token(p(F[le]))):Le&&F[le]?(this.print_token_line_indentation(i),this._output.add_token(F[le].substring(it))):(this._output.current_line.set_indent(-1),this._output.add_token(F[le])),this.print_newline(!1,y);this._flags.alignment=0}},w.prototype.handle_comment=function(i,y){i.newlines?this.print_newline(!1,y):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(i),this.print_newline(!1,y)},w.prototype.handle_dot=function(i){this.start_of_statement(i)||this.handle_whitespace_and_comments(i,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),k(this._flags.last_token,P)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(i,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(i)},w.prototype.handle_unknown=function(i,y){this.print_token(i),i.text[i.text.length-1]===`
`&&this.print_newline(!1,y)},w.prototype.handle_eof=function(i){for(;this._flags.mode===B.Statement;)this.restore_mode();this.handle_whitespace_and_comments(i)},G.exports.Beautifier=w},function(G){function e(t){this.__parent=t,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 t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},e.prototype.has_match=function(t){for(var r=this.__items.length-1;r>=0;r--)if(this.__items[r].match(t))return!0;return!1},e.prototype.set_indent=function(t,r){this.is_empty()&&(this.__indent_count=t||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 t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__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(t){this.__items.push(t);var r=t.lastIndexOf(`
`);r!==-1?this.__character_count=t.length-r:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},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 t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t};function s(t,r){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),r=r||"",t.indent_level>0&&(r=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=r,this.__base_string_length=r.length}s.prototype.get_indent_size=function(t,r){var a=this.__base_string_length;return r=r||0,t<0&&(a=0),a+=t*this.__indent_size,a+=r,a},s.prototype.get_indent_string=function(t,r){var a=this.__base_string;return r=r||0,t<0&&(t=0,a=""),r+=t*this.__indent_size,this.__ensure_cache(r),a+=this.__cache[r],a},s.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},s.prototype.__add_column=function(){var t=this.__cache.length,r=0,a="";this.__indent_size&&t>=this.__indent_size&&(r=Math.floor(t/this.__indent_size),t-=r*this.__indent_size,a=new Array(r+1).join(this.__indent_string)),t&&(a+=new Array(t+1).join(" ")),this.__cache.push(a)};function c(t,r){this.__indent_cache=new s(t,r),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.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()}c.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},c.prototype.get_line_number=function(){return this.__lines.length},c.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},c.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},c.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},c.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},c.prototype.get_code=function(t){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 t!==`
`&&(a=a.replace(/[\n]/g,t)),a},c.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},c.prototype.set_indent=function(t,r){return t=t||0,r=r||0,this.next_line.set_indent(t,r),this.__lines.length>1?(this.current_line.set_indent(t,r),!0):(this.current_line.set_indent(),!1)},c.prototype.add_raw_token=function(t){for(var r=0;r<t.newlines;r++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},c.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},c.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(" "))},c.prototype.remove_indent=function(t){for(var r=this.__lines.length;t<r;)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},c.prototype.trim=function(t){for(t=t===void 0?!1:t,this.current_line.trim();t&&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},c.prototype.just_added_newline=function(){return this.current_line.is_empty()},c.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},c.prototype.ensure_empty_line_above=function(t,r){for(var a=this.__lines.length-2;a>=0;){var o=this.__lines[a];if(o.is_empty())break;if(o.item(0).indexOf(t)!==0&&o.item(-1)!==r){this.__lines.splice(a+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}a--}},G.exports.Output=c},function(G){function e(s,c,t,r){this.type=s,this.text=c,this.comments_before=null,this.newlines=t||0,this.whitespace_before=r||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}G.exports.Token=e},function(G,e){var s="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",c="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",t="\\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]+\\}",o="(?:"+a+"|["+s+t+"])",v="(?:"+a+"|["+c+t+r+"])*";e.identifier=new RegExp(o+v,"g"),e.identifierStart=new RegExp(o),e.identifierMatch=new RegExp("(?:"+a+"|["+c+t+r+"])+");var x=/[\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(G,e,s){var c=s(6).Options,t=["before-newline","after-newline","preserve-newline"];function r(a){c.call(this,a,"js");var o=this.raw_options.brace_style||null;o==="expand-strict"?this.raw_options.brace_style="expand":o==="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 v=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var x=0;x<v.length;x++)v[x]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=v[x];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",t),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}r.prototype=new c,G.exports.Options=r},function(G){function e(t,r){this.raw_options=s(t,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(t,r){var a=this.raw_options[t],o=r||[];return typeof a=="object"?a!==null&&typeof a.concat=="function"&&(o=a.concat()):typeof a=="string"&&(o=a.split(/[^a-zA-Z0-9_\/\-]+/)),o},e.prototype._get_boolean=function(t,r){var a=this.raw_options[t],o=a===void 0?!!r:!!a;return o},e.prototype._get_characters=function(t,r){var a=this.raw_options[t],o=r||"";return typeof a=="string"&&(o=a.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),o},e.prototype._get_number=function(t,r){var a=this.raw_options[t];r=parseInt(r,10),isNaN(r)&&(r=0);var o=parseInt(a,10);return isNaN(o)&&(o=r),o},e.prototype._get_selection=function(t,r,a){var o=this._get_selection_list(t,r,a);if(o.length!==1)throw new Error("Invalid Option Value: The option '"+t+`' can only be one of the following values:
`+r+`
You passed in: '`+this.raw_options[t]+"'");return o[0]},e.prototype._get_selection_list=function(t,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 o=this._get_array(t,a);if(!this._is_valid_selection(o,r))throw new Error("Invalid Option Value: The option '"+t+`' can contain only the following values:
`+r+`
You passed in: '`+this.raw_options[t]+"'");return o},e.prototype._is_valid_selection=function(t,r){return t.length&&r.length&&!t.some(function(a){return r.indexOf(a)===-1})};function s(t,r){var a={};t=c(t);var o;for(o in t)o!==r&&(a[o]=t[o]);if(r&&t[r])for(o in t[r])a[o]=t[r][o];return a}function c(t){var r={},a;for(a in t){var o=a.replace(/-/g,"_");r[o]=t[a]}return r}G.exports.Options=e,G.exports.normalizeOpts=c,G.exports.mergeOpts=s},function(G,e,s){var c=s(8).InputScanner,t=s(9).Tokenizer,r=s(9).TOKEN,a=s(13).Directives,o=s(4),v=s(12).Pattern,x=s(14).TemplatablePattern;function E(S,I){return I.indexOf(S)!==-1}var h={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},p=new a(/\/\*/,/\*\//),f=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,l=/[0-9]/,k=/[^\d\.]/,P=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),L=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";L=L.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),L="\\?\\.(?!\\d) "+L,L=L.replace(/ /g,"|");var j=new RegExp(L),J="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),B=J.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),ye=new RegExp("^(?:"+B.join("|")+")$"),g,d=function(S,I){t.call(this,S,I),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var w=new v(this._input),n=new x(this._input).read_options(this._options);this.__patterns={template:n,identifier:n.starting_with(o.identifier).matching(o.identifierMatch),number:w.matching(f),punct:w.matching(j),comment:w.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:w.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:w.matching(/<!--/),html_comment_end:w.matching(/-->/),include:w.starting_with(/#include/).until_after(o.lineBreak),shebang:w.starting_with(/#!/).until_after(o.lineBreak),xml:w.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:n.until(/['\\\n\r\u2028\u2029]/),double_quote:n.until(/["\\\n\r\u2028\u2029]/),template_text:n.until(/[`\\$]/),template_expression:n.until(/[`}\\]/)}};d.prototype=new t,d.prototype._is_comment=function(S){return S.type===h.COMMENT||S.type===h.BLOCK_COMMENT||S.type===h.UNKNOWN},d.prototype._is_opening=function(S){return S.type===h.START_BLOCK||S.type===h.START_EXPR},d.prototype._is_closing=function(S,I){return(S.type===h.END_BLOCK||S.type===h.END_EXPR)&&I&&(S.text==="]"&&I.text==="["||S.text===")"&&I.text==="("||S.text==="}"&&I.text==="{")},d.prototype._reset=function(){g=!1},d.prototype._get_next_token=function(S,I){var w=null;this._readWhitespace();var n=this._input.peek();return n===null?this._create_token(h.EOF,""):(w=w||this._read_non_javascript(n),w=w||this._read_string(n),w=w||this._read_pair(n,this._input.peek(1)),w=w||this._read_word(S),w=w||this._read_singles(n),w=w||this._read_comment(n),w=w||this._read_regexp(n,S),w=w||this._read_xml(n,S),w=w||this._read_punctuation(),w=w||this._create_token(h.UNKNOWN,this._input.next()),w)},d.prototype._read_word=function(S){var I;if(I=this.__patterns.identifier.read(),I!=="")return I=I.replace(o.allLineBreaks,`
`),!(S.type===h.DOT||S.type===h.RESERVED&&(S.text==="set"||S.text==="get"))&&ye.test(I)?(I==="in"||I==="of")&&(S.type===h.WORD||S.type===h.STRING)?this._create_token(h.OPERATOR,I):this._create_token(h.RESERVED,I):this._create_token(h.WORD,I);if(I=this.__patterns.number.read(),I!=="")return this._create_token(h.WORD,I)},d.prototype._read_singles=function(S){var I=null;return S==="("||S==="["?I=this._create_token(h.START_EXPR,S):S===")"||S==="]"?I=this._create_token(h.END_EXPR,S):S==="{"?I=this._create_token(h.START_BLOCK,S):S==="}"?I=this._create_token(h.END_BLOCK,S):S===";"?I=this._create_token(h.SEMICOLON,S):S==="."&&k.test(this._input.peek(1))?I=this._create_token(h.DOT,S):S===","&&(I=this._create_token(h.COMMA,S)),I&&this._input.next(),I},d.prototype._read_pair=function(S,I){var w=null;return S==="#"&&I==="{"&&(w=this._create_token(h.START_BLOCK,S+I)),w&&(this._input.next(),this._input.next()),w},d.prototype._read_punctuation=function(){var S=this.__patterns.punct.read();if(S!=="")return S==="="?this._create_token(h.EQUALS,S):S==="?."?this._create_token(h.DOT,S):this._create_token(h.OPERATOR,S)},d.prototype._read_non_javascript=function(S){var I="";if(S==="#"){if(this._is_first_token()&&(I=this.__patterns.shebang.read(),I))return this._create_token(h.UNKNOWN,I.trim()+`
`);if(I=this.__patterns.include.read(),I)return this._create_token(h.UNKNOWN,I.trim()+`
`);S=this._input.next();var w="#";if(this._input.hasNext()&&this._input.testChar(l)){do S=this._input.next(),w+=S;while(this._input.hasNext()&&S!=="#"&&S!=="=");return S==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(w+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(w+="{}",this._input.next(),this._input.next())),this._create_token(h.WORD,w)}this._input.back()}else if(S==="<"&&this._is_first_token()){if(I=this.__patterns.html_comment_start.read(),I){for(;this._input.hasNext()&&!this._input.testChar(o.newline);)I+=this._input.next();return g=!0,this._create_token(h.COMMENT,I)}}else if(g&&S==="-"&&(I=this.__patterns.html_comment_end.read(),I))return g=!1,this._create_token(h.COMMENT,I);return null},d.prototype._read_comment=function(S){var I=null;if(S==="/"){var w="";if(this._input.peek(1)==="*"){w=this.__patterns.block_comment.read();var n=p.get_directives(w);n&&n.ignore==="start"&&(w+=p.readIgnored(this._input)),w=w.replace(o.allLineBreaks,`
`),I=this._create_token(h.BLOCK_COMMENT,w),I.directives=n}else this._input.peek(1)==="/"&&(w=this.__patterns.comment.read(),I=this._create_token(h.COMMENT,w))}return I},d.prototype._read_string=function(S){if(S==="`"||S==="'"||S==='"'){var I=this._input.next();return this.has_char_escapes=!1,S==="`"?I+=this._read_string_recursive("`",!0,"${"):I+=this._read_string_recursive(S),this.has_char_escapes&&this._options.unescape_strings&&(I=b(I)),this._input.peek()===S&&(I+=this._input.next()),I=I.replace(o.allLineBreaks,`
`),this._create_token(h.STRING,I)}return null},d.prototype._allow_regexp_or_xml=function(S){return S.type===h.RESERVED&&E(S.text,["return","case","throw","else","do","typeof","yield"])||S.type===h.END_EXPR&&S.text===")"&&S.opened.previous.type===h.RESERVED&&E(S.opened.previous.text,["if","while","for"])||E(S.type,[h.COMMENT,h.START_EXPR,h.START_BLOCK,h.START,h.END_BLOCK,h.OPERATOR,h.EQUALS,h.EOF,h.SEMICOLON,h.COMMA])},d.prototype._read_regexp=function(S,I){if(S==="/"&&this._allow_regexp_or_xml(I)){for(var w=this._input.next(),n=!1,i=!1;this._input.hasNext()&&(n||i||this._input.peek()!==S)&&!this._input.testChar(o.newline);)w+=this._input.peek(),n?n=!1:(n=this._input.peek()==="\\",this._input.peek()==="["?i=!0:this._input.peek()==="]"&&(i=!1)),this._input.next();return this._input.peek()===S&&(w+=this._input.next(),w+=this._input.read(o.identifier)),this._create_token(h.STRING,w)}return null},d.prototype._read_xml=function(S,I){if(this._options.e4x&&S==="<"&&this._allow_regexp_or_xml(I)){var w="",n=this.__patterns.xml.read_match();if(n){for(var i=n[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),y=i.indexOf("{")===0,F=0;n;){var le=!!n[1],Ee=n[2],Le=!!n[n.length-1]||Ee.slice(0,8)==="![CDATA[";if(!Le&&(Ee===i||y&&Ee.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(le?--F:++F),w+=n[0],F<=0)break;n=this.__patterns.xml.read_match()}return n||(w+=this._input.match(/[\s\S]*/g)[0]),w=w.replace(o.allLineBreaks,`
`),this._create_token(h.STRING,w)}}return null};function b(S){for(var I="",w=0,n=new c(S),i=null;n.hasNext();)if(i=n.match(/([\s]|[^\\]|\\\\)+/g),i&&(I+=i[0]),n.peek()==="\\"){if(n.next(),n.peek()==="x")i=n.match(/x([0-9A-Fa-f]{2})/g);else if(n.peek()==="u")i=n.match(/u([0-9A-Fa-f]{4})/g),i||(i=n.match(/u\{([0-9A-Fa-f]+)\}/g));else{I+="\\",n.hasNext()&&(I+=n.next());continue}if(!i||(w=parseInt(i[1],16),w>126&&w<=255&&i[0].indexOf("x")===0))return S;w>=0&&w<32||w>1114111?I+="\\"+i[0]:w===34||w===39||w===92?I+="\\"+String.fromCharCode(w):I+=String.fromCharCode(w)}return I}d.prototype._read_string_recursive=function(S,I,w){var n,i;S==="'"?i=this.__patterns.single_quote:S==='"'?i=this.__patterns.double_quote:S==="`"?i=this.__patterns.template_text:S==="}"&&(i=this.__patterns.template_expression);for(var y=i.read(),F="";this._input.hasNext();){if(F=this._input.next(),F===S||!I&&o.newline.test(F)){this._input.back();break}else F==="\\"&&this._input.hasNext()?(n=this._input.peek(),n==="x"||n==="u"?this.has_char_escapes=!0:n==="\r"&&this._input.peek(1)===`
`&&this._input.next(),F+=this._input.next()):w&&(w==="${"&&F==="$"&&this._input.peek()==="{"&&(F+=this._input.next()),w===F&&(S==="`"?F+=this._read_string_recursive("}",I,"`"):F+=this._read_string_recursive("`",I,"${"),this._input.hasNext()&&(F+=this._input.next())));F+=i.read(),y+=F}return y},G.exports.Tokenizer=d,G.exports.TOKEN=h,G.exports.positionable_operators=P.slice(),G.exports.line_starters=J.slice()},function(G){var e=RegExp.prototype.hasOwnProperty("sticky");function s(c){this.__input=c||"",this.__input_length=this.__input.length,this.__position=0}s.prototype.restart=function(){this.__position=0},s.prototype.back=function(){this.__position>0&&(this.__position-=1)},s.prototype.hasNext=function(){return this.__position<this.__input_length},s.prototype.next=function(){var c=null;return this.hasNext()&&(c=this.__input.charAt(this.__position),this.__position+=1),c},s.prototype.peek=function(c){var t=null;return c=c||0,c+=this.__position,c>=0&&c<this.__input_length&&(t=this.__input.charAt(c)),t},s.prototype.__match=function(c,t){c.lastIndex=t;var r=c.exec(this.__input);return r&&!(e&&c.sticky)&&r.index!==t&&(r=null),r},s.prototype.test=function(c,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(c,t):!1},s.prototype.testChar=function(c,t){var r=this.peek(t);return c.lastIndex=0,r!==null&&c.test(r)},s.prototype.match=function(c){var t=this.__match(c,this.__position);return t?this.__position+=t[0].length:t=null,t},s.prototype.read=function(c,t,r){var a="",o;return c&&(o=this.match(c),o&&(a+=o[0])),t&&(o||!c)&&(a+=this.readUntil(t,r)),a},s.prototype.readUntil=function(c,t){var r="",a=this.__position;c.lastIndex=this.__position;var o=c.exec(this.__input);return o?(a=o.index,t&&(a+=o[0].length)):a=this.__input_length,r=this.__input.substring(this.__position,a),this.__position=a,r},s.prototype.readUntilAfter=function(c){return this.readUntil(c,!0)},s.prototype.get_regexp=function(c,t){var r=null,a="g";return t&&e&&(a="y"),typeof c=="string"&&c!==""?r=new RegExp(c,a):c&&(r=new RegExp(c.source,a)),r},s.prototype.get_literal_regexp=function(c){return RegExp(c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},s.prototype.peekUntilAfter=function(c){var t=this.__position,r=this.readUntilAfter(c);return this.__position=t,r},s.prototype.lookBack=function(c){var t=this.__position-1;return t>=c.length&&this.__input.substring(t-c.length,t).toLowerCase()===c},G.exports.InputScanner=s},function(G,e,s){var c=s(8).InputScanner,t=s(3).Token,r=s(10).TokenStream,a=s(11).WhitespacePattern,o={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},v=function(x,E){this._input=new c(x),this._options=E||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new a(this._input)};v.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var x,E=new t(o.START,""),h=null,p=[],f=new r;E.type!==o.EOF;){for(x=this._get_next_token(E,h);this._is_comment(x);)f.add(x),x=this._get_next_token(E,h);f.isEmpty()||(x.comments_before=f,f=new r),x.parent=h,this._is_opening(x)?(p.push(h),h=x):h&&this._is_closing(x,h)&&(x.opened=h,h.closed=x,h=p.pop(),x.parent=h),x.previous=E,E.next=x,this.__tokens.add(x),E=x}return this.__tokens},v.prototype._is_first_token=function(){return this.__tokens.isEmpty()},v.prototype._reset=function(){},v.prototype._get_next_token=function(x,E){this._readWhitespace();var h=this._input.read(/.+/g);return h?this._create_token(o.RAW,h):this._create_token(o.EOF,"")},v.prototype._is_comment=function(x){return!1},v.prototype._is_opening=function(x){return!1},v.prototype._is_closing=function(x,E){return!1},v.prototype._create_token=function(x,E){var h=new t(x,E,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return h},v.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},G.exports.Tokenizer=v,G.exports.TOKEN=o},function(G){function e(s){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=s}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 s=null;return this.hasNext()&&(s=this.__tokens[this.__position],this.__position+=1),s},e.prototype.peek=function(s){var c=null;return s=s||0,s+=this.__position,s>=0&&s<this.__tokens_length&&(c=this.__tokens[s]),c},e.prototype.add=function(s){this.__parent_token&&(s.parent=this.__parent_token),this.__tokens.push(s),this.__tokens_length+=1},G.exports.TokenStream=e},function(G,e,s){var c=s(12).Pattern;function t(r,a){c.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=""}t.prototype=new c,t.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+"]")},t.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},t.prototype.matching=function(r,a){var o=this._create();return o.__set_whitespace_patterns(r,a),o._update(),o},t.prototype._create=function(){return new t(this._input,this)},t.prototype.__split=function(r,a){r.lastIndex=0;for(var o=0,v=[],x=r.exec(a);x;)v.push(a.substring(o,x.index)),o=x.index+x[0].length,x=r.exec(a);return o<a.length?v.push(a.substring(o,a.length)):v.push(""),v},G.exports.WhitespacePattern=t},function(G){function e(s,c){this._input=s,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,c&&(this._starting_pattern=this._input.get_regexp(c._starting_pattern,!0),this._match_pattern=this._input.get_regexp(c._match_pattern,!0),this._until_pattern=this._input.get_regexp(c._until_pattern),this._until_after=c._until_after)}e.prototype.read=function(){var s=this._input.read(this._starting_pattern);return(!this._starting_pattern||s)&&(s+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),s},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(s){var c=this._create();return c._until_after=!0,c._until_pattern=this._input.get_regexp(s),c._update(),c},e.prototype.until=function(s){var c=this._create();return c._until_after=!1,c._until_pattern=this._input.get_regexp(s),c._update(),c},e.prototype.starting_with=function(s){var c=this._create();return c._starting_pattern=this._input.get_regexp(s,!0),c._update(),c},e.prototype.matching=function(s){var c=this._create();return c._match_pattern=this._input.get_regexp(s,!0),c._update(),c},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},G.exports.Pattern=e},function(G){function e(s,c){s=typeof s=="string"?s:s.source,c=typeof c=="string"?c:c.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+c,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+c,"g")}e.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var c={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(s);t;)c[t[1]]=t[2],t=this.__directive_pattern.exec(s);return c},e.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},G.exports.Directives=e},function(G,e,s){var c=s(12).Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(a,o){c.call(this,a,o),this.__template_pattern=null,this._disabled=Object.assign({},t),this._excluded=Object.assign({},t),o&&(this.__template_pattern=this._input.get_regexp(o.__template_pattern),this._excluded=Object.assign(this._excluded,o._excluded),this._disabled=Object.assign(this._disabled,o._disabled));var v=new c(a);this.__patterns={handlebars_comment:v.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:v.starting_with(/{{{/).until_after(/}}}/),handlebars:v.starting_with(/{{/).until_after(/}}/),php:v.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:v.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:v.starting_with(/{%/).until_after(/%}/),django_value:v.starting_with(/{{/).until_after(/}}/),django_comment:v.starting_with(/{#/).until_after(/#}/),smarty:v.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:v.starting_with(/{\*/).until_after(/\*}/),smarty_literal:v.starting_with(/{literal}/).until_after(/{\/literal}/)}}r.prototype=new c,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(a){var o=this._create();return o._disabled[a]=!0,o._update(),o},r.prototype.read_options=function(a){var o=this._create();for(var v in t)o._disabled[v]=a.templating.indexOf(v)===-1;return o._update(),o},r.prototype.exclude=function(a){var o=this._create();return o._excluded[a]=!0,o._update(),o},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 o=this._read_template();o;)this._match_pattern?o+=this._input.read(this._match_pattern):o+=this._input.readUntil(this.__template_pattern),a+=o,o=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="",o=this._input.peek();if(o==="<"){var v=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&v==="?"&&(a=a||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&v==="%"&&(a=a||this.__patterns.erb.read())}else o==="{"&&(!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},G.exports.TemplatablePattern=r}],V={};function _(G){var e=V[G];if(e!==void 0)return e.exports;var s=V[G]={exports:{}};return Q[G](s,s.exports,_),s.exports}var H=_(0);D=H})();var W=D;u=[],N=function(){return{js_beautify:W}}.apply(Ze,u),N!==void 0&&(Bt.exports=N)})()},75918:function(Bt,Ze,u){"use strict";u.d(Ze,{Wi:function(){return _},Z0:function(){return H},aU:function(){return V},eZ:function(){return e},wY:function(){return G}});var N=u(4348),D=u(69323),W=u(13268),Q=function(s,c,t,r){function a(o){return o instanceof t?o:new t(function(v){v(o)})}return new(t||(t=Promise))(function(o,v){function x(p){try{h(r.next(p))}catch(f){v(f)}}function E(p){try{h(r.throw(p))}catch(f){v(f)}}function h(p){p.done?o(p.value):a(p.value).then(x,E)}h((r=r.apply(s,c||[])).next())})};class V extends D.JT{constructor(c,t="",r="",a=!0,o){super(),this._onDidChange=this._register(new N.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=c,this._label=t,this._cssClass=r,this._enabled=a,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(c){this._setLabel(c)}_setLabel(c){this._label!==c&&(this._label=c,this._onDidChange.fire({label:c}))}get tooltip(){return this._tooltip||""}set tooltip(c){this._setTooltip(c)}_setTooltip(c){this._tooltip!==c&&(this._tooltip=c,this._onDidChange.fire({tooltip:c}))}get class(){return this._cssClass}set class(c){this._setClass(c)}_setClass(c){this._cssClass!==c&&(this._cssClass=c,this._onDidChange.fire({class:c}))}get enabled(){return this._enabled}set enabled(c){this._setEnabled(c)}_setEnabled(c){this._enabled!==c&&(this._enabled=c,this._onDidChange.fire({enabled:c}))}get checked(){return this._checked}set checked(c){this._setChecked(c)}_setChecked(c){this._checked!==c&&(this._checked=c,this._onDidChange.fire({checked:c}))}run(c,t){return Q(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(c))})}}class _ extends D.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new N.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new N.Q5),this.onDidRun=this._onDidRun.event}run(c,t){return Q(this,void 0,void 0,function*(){if(!c.enabled)return;this._onBeforeRun.fire({action:c});let r;try{yield this.runAction(c,t)}catch(a){r=a}this._onDidRun.fire({action:c,error:r})})}runAction(c,t){return Q(this,void 0,void 0,function*(){yield c.run(t)})}}class H extends V{constructor(c){super(H.ID,c,c?"separator text":"separator"),this.checked=!1,this.enabled=!1}}H.ID="vs.actions.separator";class G{constructor(c,t,r,a){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=c,this.label=t,this.class=a,this._actions=r}get actions(){return this._actions}dispose(){}run(){return Q(this,void 0,void 0,function*(){})}}class e extends V{constructor(){super(e.ID,W.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(Bt,Ze,u){"use strict";u.d(Ze,{ok:function(){return N}});function N(D,W){if(!D)throw new Error(W?`Assertion failed (${W})`:"Assertion Failed")}},52615:function(Bt,Ze,u){"use strict";u.d(Ze,{CM:function(){return V},JL:function(){return _},dT:function(){return G},fK:function(){return Q},lA:function(){return H}});var N=u(4348);class D{constructor(){this._icons=new Map,this._onDidRegister=new N.Q5}add(s){const c=this._icons.get(s.id);c?s.description?c.description=s.description:console.error(`Duplicate registration of codicon ${s.id}`):(this._icons.set(s.id,s),this._onDidRegister.fire(s))}get(s){return this._icons.get(s)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const W=new D,Q=W;function V(e,s){return new H(e,s)}function _(e){return e?e.replace(/\$\((.*?)\)/g,(s,c)=>` ${c} `).trim():""}class H{constructor(s,c,t){this.id=s,this.definition=c,this.description=t,W.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var G;(function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9\\-]+",e.iconModifierExpression="~[A-Za-z]+";const s=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function c(a){if(a instanceof H)return["codicon","codicon-"+a.id];const o=s.exec(a.id);if(!o)return c(H.error);let[,v,x]=o;const E=["codicon","codicon-"+v];return x&&E.push("codicon-modifier-"+x.substr(1)),E}e.asClassNameArray=c;function t(a){return c(a).join(" ")}e.asClassName=t;function r(a){return"."+c(a).join(".")}e.asCSSSelector=r})(G||(G={})),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"})}(H||(H={}))},79881:function(Bt,Ze,u){"use strict";u.d(Ze,{B8:function(){return c},Cp:function(){return Q},F0:function(){return G},L6:function(){return s},VV:function(){return H},b1:function(){return e},dL:function(){return W},ri:function(){return V}});class N{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 D=new N;function W(t){H(t)||D.onUnexpectedError(t)}function Q(t){H(t)||D.onUnexpectedExternalError(t)}function V(t){if(t instanceof Error){let{name:r,message:a}=t;const o=t.stacktrace||t.stack;return{$isError:!0,name:r,message:a,stack:o}}return t}const _="Canceled";function H(t){return t instanceof Error&&t.name===_&&t.message===_}function G(){const t=new Error(_);return t.name=t.message,t}function e(t){return t?new Error(`Illegal argument: ${t}`):new Error("Illegal argument")}function s(t){return t?new Error(`Illegal state: ${t}`):new Error("Illegal state")}class c extends Error{constructor(r){super("NotSupported"),r&&(this.message=r)}}},4348:function(Bt,Ze,u){"use strict";u.d(Ze,{D0:function(){return c},E7:function(){return t},K3:function(){return s},Q5:function(){return e},ZD:function(){return r},ju:function(){return V}});var N=u(79881),D=u(69323),W=u(34502),Q=u(95830),V;(function(a){a.None=()=>D.JT.None;function o(b){return(S,I=null,w)=>{let n=!1,i;return i=b(y=>{if(!n)return i?i.dispose():n=!0,S.call(I,y)},null,w),n&&i.dispose(),i}}a.once=o;function v(b,S){return l((I,w=null,n)=>b(i=>I.call(w,S(i)),null,n))}a.map=v;function x(b,S){return l((I,w=null,n)=>b(i=>{S(i),I.call(w,i)},null,n))}a.forEach=x;function E(b,S){return l((I,w=null,n)=>b(i=>S(i)&&I.call(w,i),null,n))}a.filter=E;function h(b){return b}a.signal=h;function p(...b){return(S,I=null,w)=>(0,D.F8)(...b.map(n=>n(i=>S.call(I,i),null,w)))}a.any=p;function f(b,S,I){let w=I;return v(b,n=>(w=S(w,n),w))}a.reduce=f;function l(b){let S;const I=new e({onFirstListenerAdd(){S=b(I.fire,I)},onLastListenerRemove(){S.dispose()}});return I.event}function k(b,S,I=100,w=!1,n){let i,y,F,le=0;const Ee=new e({leakWarningThreshold:n,onFirstListenerAdd(){i=b(Le=>{le++,y=S(y,Le),w&&!F&&(Ee.fire(y),y=void 0),clearTimeout(F),F=setTimeout(()=>{const Ve=y;y=void 0,F=void 0,(!w||le>1)&&Ee.fire(Ve),le=0},I)})},onLastListenerRemove(){i.dispose()}});return Ee.event}a.debounce=k;function P(b,S=(I,w)=>I===w){let I=!0,w;return E(b,n=>{const i=I||!S(n,w);return I=!1,w=n,i})}a.latch=P;function L(b,S){return[a.filter(b,S),a.filter(b,I=>!S(I))]}a.split=L;function j(b,S=!1,I=[]){let w=I.slice(),n=b(F=>{w?w.push(F):y.fire(F)});const i=()=>{w&&w.forEach(F=>y.fire(F)),w=null},y=new e({onFirstListenerAdd(){n||(n=b(F=>y.fire(F)))},onFirstListenerDidAdd(){w&&(S?setTimeout(i):i())},onLastListenerRemove(){n&&n.dispose(),n=null}});return y.event}a.buffer=j;class J{constructor(S){this.event=S}map(S){return new J(v(this.event,S))}forEach(S){return new J(x(this.event,S))}filter(S){return new J(E(this.event,S))}reduce(S,I){return new J(f(this.event,S,I))}latch(){return new J(P(this.event))}debounce(S,I=100,w=!1,n){return new J(k(this.event,S,I,w,n))}on(S,I,w){return this.event(S,I,w)}once(S,I,w){return o(this.event)(S,I,w)}}function B(b){return new J(b)}a.chain=B;function ye(b,S,I=w=>w){const w=(...F)=>y.fire(I(...F)),n=()=>b.on(S,w),i=()=>b.removeListener(S,w),y=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return y.event}a.fromNodeEventEmitter=ye;function g(b,S,I=w=>w){const w=(...F)=>y.fire(I(...F)),n=()=>b.addEventListener(S,w),i=()=>b.removeEventListener(S,w),y=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return y.event}a.fromDOMEventEmitter=g;function d(b){return new Promise(S=>o(b)(S))}a.toPromise=d})(V||(V={}));class _{constructor(o){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${o}_${_._idPool++}`}start(o){this._stopWatch=new Q.G(!0),this._listenerCount=o}stop(){if(this._stopWatch){const o=this._stopWatch.elapsed();this._elapsedOverall+=o,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${o.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}_._idPool=0;let H=-1;class G{constructor(o,v=Math.random().toString(18).slice(2,5)){this.customThreshold=o,this.name=v,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(o){let v=H;if(typeof this.customThreshold=="number"&&(v=this.customThreshold),v<=0||o<v)return;this._stacks||(this._stacks=new Map);const x=new Error().stack.split(`
`).slice(3).join(`
`),E=this._stacks.get(x)||0;if(this._stacks.set(x,E+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=v*.5;let h,p=0;for(const[f,l]of this._stacks)(!h||p<l)&&(h=f,p=l);console.warn(`[${this.name}] potential listener LEAK detected, having ${o} listeners already. MOST frequent listener (${p}):`),console.warn(h)}return()=>{const h=this._stacks.get(x)||0;this._stacks.set(x,h-1)}}}class e{constructor(o){var v;this._disposed=!1,this._options=o,this._leakageMon=H>0?new G(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((v=this._options)===null||v===void 0)&&v._profName?new _(this._options._profName):void 0}get event(){return this._event||(this._event=(o,v,x)=>{var E;this._listeners||(this._listeners=new W.S);const h=this._listeners.isEmpty();h&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const p=this._listeners.push(v?[o,v]:o);h&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,o,v);const f=(E=this._leakageMon)===null||E===void 0?void 0:E.check(this._listeners.size),l=(0,D.OF)(()=>{f&&f(),this._disposed||(p(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return x instanceof D.SL?x.add(l):Array.isArray(x)&&x.push(l),l}),this._event}fire(o){var v,x;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new W.S);for(let E of this._listeners)this._deliveryQueue.push([E,o]);for((v=this._perfMon)===null||v===void 0||v.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[E,h]=this._deliveryQueue.shift();try{typeof E=="function"?E.call(void 0,h):E[0].call(E[1],h)}catch(p){(0,N.dL)(p)}}(x=this._perfMon)===null||x===void 0||x.stop()}}dispose(){var o,v,x,E,h;this._disposed||(this._disposed=!0,(o=this._listeners)===null||o===void 0||o.clear(),(v=this._deliveryQueue)===null||v===void 0||v.clear(),(E=(x=this._options)===null||x===void 0?void 0:x.onLastListenerRemove)===null||E===void 0||E.call(x),(h=this._leakageMon)===null||h===void 0||h.dispose())}}class s extends e{constructor(o){super(o),this._isPaused=0,this._eventQueue=new W.S,this._mergeFn=o==null?void 0:o.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const o=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(o))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(o){this._listeners&&(this._isPaused!==0?this._eventQueue.push(o):super.fire(o))}}class c extends s{constructor(o){var v;super(o),this._delay=(v=o.delay)!==null&&v!==void 0?v:100}fire(o){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(o)}}class t{constructor(){this.buffers=[]}wrapEvent(o){return(v,x,E)=>o(h=>{const p=this.buffers[this.buffers.length-1];p?p.push(()=>v.call(x,h)):v.call(x,h)},void 0,E)}bufferEvents(o){const v=[];this.buffers.push(v);const x=o();return this.buffers.pop(),v.forEach(E=>E()),x}}class r{constructor(){this.listening=!1,this.inputEvent=V.None,this.inputEventListener=D.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(o){this.inputEvent=o,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=o(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(Bt,Ze,u){"use strict";u.d(Ze,{I:function(){return N}});function N(D){const W=this;let Q=!1,V;return function(){return Q||(Q=!0,V=D.apply(W,arguments)),V}}},88226:function(Bt,Ze,u){"use strict";u.d(Ze,{$:function(){return N}});var N;(function(D){function W(p){return p&&typeof p=="object"&&typeof p[Symbol.iterator]=="function"}D.is=W;const Q=Object.freeze([]);function V(){return Q}D.empty=V;function*_(p){yield p}D.single=_;function H(p){return p||Q}D.from=H;function G(p){return!p||p[Symbol.iterator]().next().done===!0}D.isEmpty=G;function e(p){return p[Symbol.iterator]().next().value}D.first=e;function s(p,f){for(const l of p)if(f(l))return!0;return!1}D.some=s;function c(p,f){for(const l of p)if(f(l))return l}D.find=c;function*t(p,f){for(const l of p)f(l)&&(yield l)}D.filter=t;function*r(p,f){let l=0;for(const k of p)yield f(k,l++)}D.map=r;function*a(...p){for(const f of p)for(const l of f)yield l}D.concat=a;function*o(p){for(const f of p)for(const l of f)yield l}D.concatNested=o;function v(p,f,l){let k=l;for(const P of p)k=f(k,P);return k}D.reduce=v;function*x(p,f,l=p.length){for(f<0&&(f+=p.length),l<0?l+=p.length:l>p.length&&(l=p.length);f<l;f++)yield p[f]}D.slice=x;function E(p,f=Number.POSITIVE_INFINITY){const l=[];if(f===0)return[l,p];const k=p[Symbol.iterator]();for(let P=0;P<f;P++){const L=k.next();if(L.done)return[l,D.empty()];l.push(L.value)}return[l,{[Symbol.iterator](){return k}}]}D.consume=E;function h(p,f,l=(k,P)=>k===P){const k=p[Symbol.iterator](),P=f[Symbol.iterator]();for(;;){const L=k.next(),j=P.next();if(L.done!==j.done)return!1;if(L.done)return!0;if(!l(L.value,j.value))return!1}}D.equals=h})(N||(N={}))},69323:function(Bt,Ze,u){"use strict";u.d(Ze,{B9:function(){return r},F8:function(){return a},JT:function(){return x},Jz:function(){return h},OF:function(){return o},SL:function(){return v},Wf:function(){return t},XK:function(){return E},dk:function(){return s}});var N=u(17845),D=u(88226);const W=!1;let Q=null;function V(p){Q=p}if(W){const p="__is_disposable_tracked__";V(new class{trackDisposable(f){const l=new Error("Potentially leaked disposable").stack;setTimeout(()=>{f[p]||console.log(l)},3e3)}setParent(f,l){if(f&&f!==x.None)try{f[p]=!0}catch(k){}}markAsDisposed(f){if(f&&f!==x.None)try{f[p]=!0}catch(l){}}markAsSingleton(f){}})}function _(p){return Q==null||Q.trackDisposable(p),p}function H(p){Q==null||Q.markAsDisposed(p)}function G(p,f){Q==null||Q.setParent(p,f)}function e(p,f){if(Q)for(const l of p)Q.setParent(l,f)}function s(p){return Q==null||Q.markAsSingleton(p),p}class c extends Error{constructor(f){super(`Encountered errors while disposing of store. Errors: [${f.join(", ")}]`),this.errors=f}}function t(p){return typeof p.dispose=="function"&&p.dispose.length===0}function r(p){if(D.$.is(p)){let f=[];for(const l of p)if(l)try{l.dispose()}catch(k){f.push(k)}if(f.length===1)throw f[0];if(f.length>1)throw new c(f);return Array.isArray(p)?[]:p}else if(p)return p.dispose(),p}function a(...p){const f=o(()=>r(p));return e(p,f),f}function o(p){const f=_({dispose:(0,N.I)(()=>{H(f),p()})});return f}class v{constructor(){this._toDispose=new Set,this._isDisposed=!1,_(this)}dispose(){this._isDisposed||(H(this),this._isDisposed=!0,this.clear())}clear(){try{r(this._toDispose.values())}finally{this._toDispose.clear()}}add(f){if(!f)return f;if(f===this)throw new Error("Cannot register a disposable on itself!");return G(f,this),this._isDisposed?v.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(f),f}}v.DISABLE_DISPOSED_WARNING=!1;class x{constructor(){this._store=new v,_(this),G(this._store,this)}dispose(){H(this),this._store.dispose()}_register(f){if(f===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(f)}}x.None=Object.freeze({dispose(){}});class E{constructor(){this._isDisposed=!1,_(this)}get value(){return this._isDisposed?void 0:this._value}set value(f){var l;this._isDisposed||f===this._value||((l=this._value)===null||l===void 0||l.dispose(),f&&G(f,this),this._value=f)}clear(){this.value=void 0}dispose(){var f;this._isDisposed=!0,H(this),(f=this._value)===null||f===void 0||f.dispose(),this._value=void 0}clearAndLeak(){const f=this._value;return this._value=void 0,f&&G(f,null),f}}class h{constructor(f){this.object=f}dispose(){}}},34502:function(Bt,Ze,u){"use strict";u.d(Ze,{S:function(){return D}});class N{constructor(Q){this.element=Q,this.next=N.Undefined,this.prev=N.Undefined}}N.Undefined=new N(void 0);class D{constructor(){this._first=N.Undefined,this._last=N.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===N.Undefined}clear(){let Q=this._first;for(;Q!==N.Undefined;){const V=Q.next;Q.prev=N.Undefined,Q.next=N.Undefined,Q=V}this._first=N.Undefined,this._last=N.Undefined,this._size=0}unshift(Q){return this._insert(Q,!1)}push(Q){return this._insert(Q,!0)}_insert(Q,V){const _=new N(Q);if(this._first===N.Undefined)this._first=_,this._last=_;else if(V){const G=this._last;this._last=_,_.prev=G,G.next=_}else{const G=this._first;this._first=_,_.next=G,G.prev=_}this._size+=1;let H=!1;return()=>{H||(H=!0,this._remove(_))}}shift(){if(this._first!==N.Undefined){const Q=this._first.element;return this._remove(this._first),Q}}pop(){if(this._last!==N.Undefined){const Q=this._last.element;return this._remove(this._last),Q}}_remove(Q){if(Q.prev!==N.Undefined&&Q.next!==N.Undefined){const V=Q.prev;V.next=Q.next,Q.next.prev=V}else Q.prev===N.Undefined&&Q.next===N.Undefined?(this._first=N.Undefined,this._last=N.Undefined):Q.next===N.Undefined?(this._last=this._last.prev,this._last.next=N.Undefined):Q.prev===N.Undefined&&(this._first=this._first.next,this._first.prev=N.Undefined);this._size-=1}*[Symbol.iterator](){let Q=this._first;for(;Q!==N.Undefined;)yield Q.element,Q=Q.next}}},23345:function(Bt,Ze,u){"use strict";u.d(Ze,{$L:function(){return k},ED:function(){return h},IJ:function(){return f},OS:function(){return J},WE:function(){return L},dz:function(){return p},gn:function(){return P},li:function(){return o},r:function(){return g},tY:function(){return l},xS:function(){return j}});var N=u(97671),D;const W="en";let Q=!1,V=!1,_=!1,H=!1,G=!1,e=!1,s=!1,c,t=null,r=null,a;const o=typeof self=="object"?self:typeof u.g=="object"?u.g:{};let v;typeof o.vscode!="undefined"&&typeof o.vscode.process!="undefined"?v=o.vscode.process:typeof N!="undefined"&&(v=N);const x=typeof((D=v==null?void 0:v.versions)===null||D===void 0?void 0:D.electron)=="string"&&v.type==="renderer";if(typeof navigator=="object"&&!x)a=navigator.userAgent,Q=a.indexOf("Windows")>=0,V=a.indexOf("Macintosh")>=0,s=(a.indexOf("Macintosh")>=0||a.indexOf("iPad")>=0||a.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,_=a.indexOf("Linux")>=0,e=!0,c=navigator.language,t=c;else if(typeof v=="object"){Q=v.platform==="win32",V=v.platform==="darwin",_=v.platform==="linux",H=_&&!!v.env.SNAP&&!!v.env.SNAP_REVISION,c=W,t=W;const d=v.env.VSCODE_NLS_CONFIG;if(d)try{const b=JSON.parse(d),S=b.availableLanguages["*"];c=b.locale,t=S||W,r=b._translationsConfigFile}catch(b){}G=!0}else console.error("Unable to resolve platform.");let E=0;V?E=1:Q?E=3:_&&(E=2);const h=Q,p=V,f=_,l=G,k=e,P=s,L=a,j=function(){if(o.setImmediate)return o.setImmediate.bind(o);if(typeof o.postMessage=="function"&&!o.importScripts){let S=[];o.addEventListener("message",w=>{if(w.data&&w.data.vscodeSetImmediateId)for(let n=0,i=S.length;n<i;n++){const y=S[n];if(y.id===w.data.vscodeSetImmediateId){S.splice(n,1),y.callback();return}}});let I=0;return w=>{const n=++I;S.push({id:n,callback:w}),o.postMessage({vscodeSetImmediateId:n},"*")}}if(typeof(v==null?void 0:v.nextTick)=="function")return v.nextTick.bind(v);const b=Promise.resolve();return S=>b.then(S)}(),J=V||s?2:Q?1:3;let B=!0,ye=!1;function g(){if(!ye){ye=!0;const d=new Uint8Array(2);d[0]=1,d[1]=2,B=new Uint16Array(d.buffer)[0]===513}return B}},95830:function(Bt,Ze,u){"use strict";u.d(Ze,{G:function(){return W}});var N=u(23345);const D=N.li.performance&&typeof N.li.performance.now=="function";class W{constructor(V){this._highResolution=D&&V,this._startTime=this._now(),this._stopTime=-1}static create(V=!0){return new W(V)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?N.li.performance.now():Date.now()}}},82983:function(Bt,Ze,u){"use strict";u.d(Ze,{$i:function(){return le},C8:function(){return zt},GF:function(){return c},HO:function(){return I},IO:function(){return t},K7:function(){return it},Kw:function(){return Lt},LC:function(){return o},Mh:function(){return j},P1:function(){return J},PJ:function(){return Ie},Qe:function(){return Ee},R1:function(){return s},RP:function(){return y},S6:function(){return Oe},TT:function(){return h},Ut:function(){return n},V8:function(){return v},WU:function(){return W},YK:function(){return ye},YU:function(){return Q},ZG:function(){return B},ZH:function(){return d},ab:function(){return Le},c1:function(){return be},df:function(){return k},ec:function(){return V},fi:function(){return T},fy:function(){return _},j3:function(){return H},j_:function(){return f},m5:function(){return N},mK:function(){return l},mr:function(){return r},oH:function(){return M},oL:function(){return G},ok:function(){return L},ow:function(){return x},qq:function(){return P},qu:function(){return E},rL:function(){return g},uS:function(){return Ge},un:function(){return e},uq:function(){return a},vH:function(){return S},xe:function(){return Ve},zY:function(){return p}});function N(m){return!m||typeof m!="string"?!0:m.trim().length===0}const D=/{(\d+)}/g;function W(m,...C){return C.length===0?m:m.replace(D,function(z,O){const U=parseInt(O,10);return isNaN(U)||U<0||U>=C.length?z:C[U]})}function Q(m){return m.replace(/[<>&]/g,function(C){switch(C){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return C}})}function V(m){return m.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function _(m,C=" "){const z=H(m,C);return G(z,C)}function H(m,C){if(!m||!C)return m;const z=C.length;if(z===0||m.length===0)return m;let O=0;for(;m.indexOf(C,O)===O;)O=O+z;return m.substring(O)}function G(m,C){if(!m||!C)return m;const z=C.length,O=m.length;if(z===0||O===0)return m;let U=O,K=-1;for(;K=m.lastIndexOf(C,U-1),!(K===-1||K+z!==U);){if(K===0)return"";U=K}return m.substring(0,U)}function e(m){return m.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function s(m){return m.replace(/\*/g,"")}function c(m,C,z={}){if(!m)throw new Error("Cannot create regex from empty string");C||(m=V(m)),z.wholeWord&&(/\B/.test(m.charAt(0))||(m="\\b"+m),/\B/.test(m.charAt(m.length-1))||(m=m+"\\b"));let O="";return z.global&&(O+="g"),z.matchCase||(O+="i"),z.multiline&&(O+="m"),z.unicode&&(O+="u"),new RegExp(m,O)}function t(m){return m.source==="^"||m.source==="^$"||m.source==="$"||m.source==="^\\s*$"?!1:!!(m.exec("")&&m.lastIndex===0)}function r(m){return(m.global?"g":"")+(m.ignoreCase?"i":"")+(m.multiline?"m":"")+(m.unicode?"u":"")}function a(m){return m.split(/\r\n|\r|\n/)}function o(m){for(let C=0,z=m.length;C<z;C++){const O=m.charCodeAt(C);if(O!==32&&O!==9)return C}return-1}function v(m,C=0,z=m.length){for(let O=C;O<z;O++){const U=m.charCodeAt(O);if(U!==32&&U!==9)return m.substring(C,O)}return m.substring(C,z)}function x(m,C=m.length-1){for(let z=C;z>=0;z--){const O=m.charCodeAt(z);if(O!==32&&O!==9)return z}return-1}function E(m,C){return m<C?-1:m>C?1:0}function h(m,C,z=0,O=m.length,U=0,K=C.length){for(;z<O&&U<K;z++,U++){let ce=m.charCodeAt(z),we=C.charCodeAt(U);if(ce<we)return-1;if(ce>we)return 1}const ee=O-z,q=K-U;return ee<q?-1:ee>q?1:0}function p(m,C){return f(m,C,0,m.length,0,C.length)}function f(m,C,z=0,O=m.length,U=0,K=C.length){for(;z<O&&U<K;z++,U++){let ce=m.charCodeAt(z),we=C.charCodeAt(U);if(ce===we)continue;if(ce>=128||we>=128)return h(m.toLowerCase(),C.toLowerCase(),z,O,U,K);l(ce)&&(ce-=32),l(we)&&(we-=32);const ge=ce-we;if(ge!==0)return ge}const ee=O-z,q=K-U;return ee<q?-1:ee>q?1:0}function l(m){return m>=97&&m<=122}function k(m){return m>=65&&m<=90}function P(m,C){return m.length===C.length&&f(m,C)===0}function L(m,C){const z=C.length;return C.length>m.length?!1:f(m,C,0,z)===0}function j(m,C){let z,O=Math.min(m.length,C.length);for(z=0;z<O;z++)if(m.charCodeAt(z)!==C.charCodeAt(z))return z;return O}function J(m,C){let z,O=Math.min(m.length,C.length);const U=m.length-1,K=C.length-1;for(z=0;z<O;z++)if(m.charCodeAt(U-z)!==C.charCodeAt(K-z))return z;return O}function B(m){return 55296<=m&&m<=56319}function ye(m){return 56320<=m&&m<=57343}function g(m,C){return(m-55296<<10)+(C-56320)+65536}function d(m,C,z){const O=m.charCodeAt(z);if(B(O)&&z+1<C){const U=m.charCodeAt(z+1);if(ye(U))return g(O,U)}return O}function b(m,C){const z=m.charCodeAt(C-1);if(ye(z)&&C>1){const O=m.charCodeAt(C-2);if(B(O))return g(O,z)}return z}function S(m,C){const z=A.getInstance(),O=C,U=m.length,K=d(m,U,C);C+=K>=65536?2:1;let ee=z.getGraphemeBreakType(K);for(;C<U;){const q=d(m,U,C),ce=z.getGraphemeBreakType(q);if(T(ee,ce))break;C+=q>=65536?2:1,ee=ce}return C-O}function I(m,C){const z=A.getInstance(),O=C,U=b(m,C);C-=U>=65536?2:1;let K=z.getGraphemeBreakType(U);for(;C>0;){const ee=b(m,C),q=z.getGraphemeBreakType(ee);if(T(q,K))break;C-=ee>=65536?2:1,K=q}return O-C}const w=/(?:[\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 n(m){return w.test(m)}const i=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function y(m){return i.test(m)}const F=/^[\t\n\r\x20-\x7E]*$/;function le(m){return F.test(m)}const Ee=/[\u2028\u2029]/;function Le(m){return Ee.test(m)}function Ve(m){for(let C=0,z=m.length;C<z;C++)if(it(m.charCodeAt(C)))return!0;return!1}function it(m){return m=+m,m>=11904&&m<=55215||m>=63744&&m<=64255||m>=65281&&m<=65374}function zt(m){return m>=127462&&m<=127487||m===8986||m===8987||m===9200||m===9203||m>=9728&&m<=10175||m===11088||m===11093||m>=127744&&m<=128591||m>=128640&&m<=128764||m>=128992&&m<=129003||m>=129280&&m<=129535||m>=129648&&m<=129750}const be="\uFEFF";function Ge(m){return!!(m&&m.length>0&&m.charCodeAt(0)===65279)}function Lt(m,C=!1){return m?(C&&(m=m.replace(/\\./g,"")),m.toLowerCase()!==m):!1}function Ie(m){return m=m%(2*26),m<26?String.fromCharCode(97+m):String.fromCharCode(65+m-26)}function Oe(m){return A.getInstance().getGraphemeBreakType(m)}function T(m,C){return m===0?C!==5&&C!==7:m===2&&C===3?!1:m===4||m===2||m===3||C===4||C===2||C===3?!0:!(m===8&&(C===8||C===9||C===11||C===12)||(m===11||m===9)&&(C===9||C===10)||(m===12||m===10)&&C===10||C===5||C===13||C===7||m===1||m===13&&C===14||m===6&&C===6)}class A{constructor(){this._data=X()}static getInstance(){return A._INSTANCE||(A._INSTANCE=new A),A._INSTANCE}getGraphemeBreakType(C){if(C<32)return C===10?3:C===13?2:4;if(C<127)return 0;const z=this._data,O=z.length/3;let U=1;for(;U<=O;)if(C<z[3*U])U=2*U;else if(C>z[3*U+1])U=2*U+1;else return z[3*U+2];return 0}}A._INSTANCE=null;function X(){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 M(m,C){if(m===0)return 0;const z=se(m,C);if(z!==void 0)return z;const O=b(C,m);return m-=pe(O),m}function se(m,C){let z=b(C,m);for(m-=pe(z);R(z)||z===65039||z===8419;){if(m===0)return;z=b(C,m),m-=pe(z)}if(zt(z)){if(m>=0){const O=b(C,m);O===8205&&(m-=pe(O))}return m}}function pe(m){return m>=65536?2:1}function R(m){return 127995<=m&&m<=127999}},72999:function(Bt,Ze,u){"use strict";u.d(Ze,{$E:function(){return o},$K:function(){return H},D8:function(){return t},HD:function(){return D},IU:function(){return v},Jp:function(){return G},Kn:function(){return W},cW:function(){return s},f6:function(){return x},hj:function(){return Q},jn:function(){return V},kJ:function(){return N},mf:function(){return c},o8:function(){return _},p_:function(){return e},vE:function(){return E}});function N(h){return Array.isArray(h)}function D(h){return typeof h=="string"}function W(h){return typeof h=="object"&&h!==null&&!Array.isArray(h)&&!(h instanceof RegExp)&&!(h instanceof Date)}function Q(h){return typeof h=="number"&&!isNaN(h)}function V(h){return h===!0||h===!1}function _(h){return typeof h=="undefined"}function H(h){return!G(h)}function G(h){return _(h)||h===null}function e(h,p){if(!h)throw new Error(p?`Unexpected type, expected '${p}'`:"Unexpected type")}function s(h){if(G(h))throw new Error("Assertion Failed: argument is undefined or null");return h}function c(h){return typeof h=="function"}function t(h,p){const f=Math.min(h.length,p.length);for(let l=0;l<f;l++)r(h[l],p[l])}function r(h,p){if(D(p)){if(typeof h!==p)throw new Error(`argument does not match constraint: typeof ${p}`)}else if(c(p)){try{if(h instanceof p)return}catch(f){}if(!G(h)&&h.constructor===p||p.length===1&&p.call(void 0,h)===!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(h){let p=[],f=Object.getPrototypeOf(h);for(;Object.prototype!==f;)p=p.concat(Object.getOwnPropertyNames(f)),f=Object.getPrototypeOf(f);return p}function o(h){const p=[];for(const f of a(h))typeof h[f]=="function"&&p.push(f);return p}function v(h,p){const f=k=>function(){const P=Array.prototype.slice.call(arguments,0);return p(k,P)};let l={};for(const k of h)l[k]=f(k);return l}function x(h){return h===null?void 0:h}function E(h,p="Unreachable"){throw new Error(p)}},13268:function(Bt,Ze,u){"use strict";u.d(Ze,{N:function(){return D}});function N(W,Q){let V;return Q.length===0?V=W:V=W.replace(/\{(\d+)\}/g,function(_,H){const G=H[0];return typeof Q[G]!="undefined"?Q[G]:_}),V}function D(W,Q,...V){return N(Q,V)}},96236:function(Bt,Ze,u){"use strict";u.d(Ze,{BH:function(){return v},NZ:function(){return x},U8:function(){return E},co:function(){return o},eH:function(){return a},vr:function(){return r}});var N=u(75918),D=u(52615),W=u(4348),Q=u(88226),V=u(69323),_=u(34502),H=u(35884),G=u(90689),e=u(16925),s=u(49055),c=function(h,p,f,l){var k=arguments.length,P=k<3?p:l===null?l=Object.getOwnPropertyDescriptor(p,f):l,L;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")P=Reflect.decorate(h,p,f,l);else for(var j=h.length-1;j>=0;j--)(L=h[j])&&(P=(k<3?L(P):k>3?L(p,f,P):L(p,f))||P);return k>3&&P&&Object.defineProperty(p,f,P),P},t=function(h,p){return function(f,l){p(f,l,h)}};function r(h){return h.command!==void 0}class a{constructor(p){this.id=a._idPool++,this._debugName=p}}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 o=(0,e.yh)("menuService"),v=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new W.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:h=>h===a.CommandPalette}}addCommand(h){return this.addCommands(Q.$.single(h))}addCommands(h){for(const p of h)this._commands.set(p.id,p);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,V.OF)(()=>{let p=!1;for(const f of h)p=this._commands.delete(f.id)||p;p&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(h){return this._commands.get(h)}getCommands(){const h=new Map;return this._commands.forEach((p,f)=>h.set(f,p)),h}appendMenuItem(h,p){return this.appendMenuItems(Q.$.single({id:h,item:p}))}appendMenuItems(h){const p=new Set,f=new _.S;for(const{id:l,item:k}of h){let P=this._menuItems.get(l);P||(P=new _.S,this._menuItems.set(l,P)),f.push(P.push(k)),p.add(l)}return this._onDidChangeMenu.fire(p),(0,V.OF)(()=>{if(f.size>0){for(let l of f)l();this._onDidChangeMenu.fire(p),f.clear()}})}getMenuItems(h){let p;return this._menuItems.has(h)?p=[...this._menuItems.get(h)]:p=[],h===a.CommandPalette&&this._appendImplicitItems(p),p}_appendImplicitItems(h){const p=new Set;for(const f of h)r(f)&&(p.add(f.command.id),f.alt&&p.add(f.alt.id));this._commands.forEach((f,l)=>{p.has(l)||h.push({command:f})})}};class x extends N.wY{constructor(p,f,l,k){super(`submenuitem.${p.submenu.id}`,typeof p.title=="string"?p.title:p.title.value,[],"submenu"),this.item=p,this._menuService=f,this._contextKeyService=l,this._options=k}get actions(){const p=[],f=this._menuService.createMenu(this.item.submenu,this._contextKeyService),l=f.getActions(this._options);f.dispose();for(const[,k]of l)k.length>0&&(p.push(...k),p.push(new N.Z0));return p.length&&p.pop(),p}}let E=class bi{constructor(p,f,l,k,P){var L,j;if(this._commandService=P,this.id=p.id,this.label=l!=null&&l.renderShortTitle&&p.shortTitle?typeof p.shortTitle=="string"?p.shortTitle:p.shortTitle.value:typeof p.title=="string"?p.title:p.title.value,this.tooltip=(j=typeof p.tooltip=="string"?p.tooltip:(L=p.tooltip)===null||L===void 0?void 0:L.value)!==null&&j!==void 0?j:"",this.enabled=!p.precondition||k.contextMatchesRules(p.precondition),this.checked=void 0,p.toggled){const J=p.toggled.condition?p.toggled:{condition:p.toggled};this.checked=k.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=p,this.alt=f?new bi(f,void 0,l,k,P):void 0,this._options=l,s.kS.isThemeIcon(p.icon)&&(this.class=D.dT.asClassName(p.icon))}dispose(){}run(...p){var f,l;let k=[];return!((f=this._options)===null||f===void 0)&&f.arg&&(k=[...k,this._options.arg]),!((l=this._options)===null||l===void 0)&&l.shouldForwardArgs&&(k=[...k,...p]),this._commandService.executeCommand(this.id,...k)}};E=c([t(3,G.i6),t(4,H.H)],E)},35884:function(Bt,Ze,u){"use strict";u.d(Ze,{H:function(){return H},P:function(){return G}});var N=u(4348),D=u(88226),W=u(69323),Q=u(34502),V=u(72999),_=u(16925);const H=(0,_.yh)("commandService"),G=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new N.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,s){if(!e)throw new Error("invalid command");if(typeof e=="string"){if(!s)throw new Error("invalid command");return this.registerCommand({id:e,handler:s})}if(e.description){const o=[];for(let x of e.description.args)o.push(x.constraint);const v=e.handler;e.handler=function(x,...E){return(0,V.D8)(E,o),v(x,...E)}}const{id:c}=e;let t=this._commands.get(c);t||(t=new Q.S,this._commands.set(c,t));let r=t.unshift(e),a=(0,W.OF)(()=>{r();const o=this._commands.get(c);o!=null&&o.isEmpty()&&this._commands.delete(c)});return this._onDidRegisterCommand.fire(c),a}registerCommandAlias(e,s){return G.registerCommand(e,(c,...t)=>c.get(H).executeCommand(s,...t))}getCommand(e){const s=this._commands.get(e);if(!(!s||s.isEmpty()))return D.$.first(s)}getCommands(){const e=new Map;for(const s of this._commands.keys()){const c=this.getCommand(s);c&&e.set(s,c)}return e}};G.registerCommand("noop",()=>{})},90689:function(Bt,Ze,u){"use strict";u.d(Ze,{Ao:function(){return H},Eq:function(){return g},Fb:function(){return G},K8:function(){return S},i6:function(){return ye},uy:function(){return B}});var N=u(23345),D=u(82983),W=u(16925);let Q=N.WE||"";const V=new Map;V.set("false",!1),V.set("true",!0),V.set("isMac",N.dz),V.set("isLinux",N.IJ),V.set("isWindows",N.ED),V.set("isWeb",N.$L),V.set("isMacNative",N.dz&&!N.$L),V.set("isEdge",Q.indexOf("Edg/")>=0),V.set("isFirefox",Q.indexOf("Firefox")>=0),V.set("isChrome",Q.indexOf("Chrome")>=0),V.set("isSafari",Q.indexOf("Safari")>=0);const _=Object.prototype.hasOwnProperty;class H{static has(n){return t.create(n)}static equals(n,i){return r.create(n,i)}static regex(n,i){return k.create(n,i)}static not(n){return x.create(n)}static and(...n){return j.create(n,null)}static or(...n){return J.create(n,null,!0)}static deserialize(n,i=!1){if(n)return this._deserializeOrExpression(n,i)}static _deserializeOrExpression(n,i){let y=n.split("||");return J.create(y.map(F=>this._deserializeAndExpression(F,i)),null,!0)}static _deserializeAndExpression(n,i){let y=n.split("&&");return j.create(y.map(F=>this._deserializeOne(F,i)),null)}static _deserializeOne(n,i){if(n=n.trim(),n.indexOf("!=")>=0){let y=n.split("!=");return v.create(y[0].trim(),this._deserializeValue(y[1],i))}if(n.indexOf("==")>=0){let y=n.split("==");return r.create(y[0].trim(),this._deserializeValue(y[1],i))}if(n.indexOf("=~")>=0){let y=n.split("=~");return k.create(y[0].trim(),this._deserializeRegexValue(y[1],i))}if(n.indexOf(" in ")>=0){let y=n.split(" in ");return a.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(n)){const y=n.split(">=");return p.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(n)){const y=n.split(">");return h.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(n)){const y=n.split("<=");return l.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(n)){const y=n.split("<");return f.create(y[0].trim(),y[1].trim())}return/^\!\s*/.test(n)?x.create(n.substr(1).trim()):t.create(n)}static _deserializeValue(n,i){if(n=n.trim(),n==="true")return!0;if(n==="false")return!1;let y=/^'([^']*)'$/.exec(n);return y?y[1].trim():n}static _deserializeRegexValue(n,i){if((0,D.m5)(n)){if(i)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let y=n.indexOf("/"),F=n.lastIndexOf("/");if(y===F||y<0){if(i)throw new Error(`bad regexp-value '${n}', missing /-enclosure`);return console.warn(`bad regexp-value '${n}', missing /-enclosure`),null}let le=n.slice(y+1,F),Ee=n[F+1]==="i"?"i":"";try{return new RegExp(le,Ee)}catch(Le){if(i)throw new Error(`bad regexp-value '${n}', parse error: ${Le}`);return console.warn(`bad regexp-value '${n}', parse error: ${Le}`),null}}}function G(w,n){const i=w?w.substituteConstants():void 0,y=n?n.substituteConstants():void 0;return!i&&!y?!0:!i||!y?!1:i.equals(y)}function e(w,n){return w.cmp(n)}class s{constructor(){this.type=0}cmp(n){return this.type-n.type}equals(n){return n.type===this.type}substituteConstants(){return this}evaluate(n){return!1}serialize(){return"false"}keys(){return[]}negate(){return c.INSTANCE}}s.INSTANCE=new s;class c{constructor(){this.type=1}cmp(n){return this.type-n.type}equals(n){return n.type===this.type}substituteConstants(){return this}evaluate(n){return!0}serialize(){return"true"}keys(){return[]}negate(){return s.INSTANCE}}c.INSTANCE=new c;class t{constructor(n,i){this.key=n,this.negated=i,this.type=2}static create(n,i=null){const y=V.get(n);return typeof y=="boolean"?y?c.INSTANCE:s.INSTANCE:new t(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:d(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=V.get(this.key);return typeof n=="boolean"?n?c.INSTANCE:s.INSTANCE:this}evaluate(n){return!!n.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=x.create(this.key,this)),this.negated}}class r{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=4}static create(n,i,y=null){if(typeof i=="boolean")return i?t.create(n,y):x.create(n,y);const F=V.get(n);return typeof F=="boolean"?i===(F?"true":"false")?c.INSTANCE:s.INSTANCE:new r(n,i,y)}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){const n=V.get(this.key);if(typeof n=="boolean"){const i=n?"true":"false";return this.value===i?c.INSTANCE:s.INSTANCE}return this}evaluate(n){return n.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=v.create(this.key,this.value,this)),this.negated}}class a{constructor(n,i){this.key=n,this.valueKey=i,this.type=10,this.negated=null}static create(n,i){return new a(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.valueKey,n.key,n.valueKey)}equals(n){return n.type===this.type?this.key===n.key&&this.valueKey===n.valueKey:!1}substituteConstants(){return this}evaluate(n){const i=n.getValue(this.valueKey),y=n.getValue(this.key);return Array.isArray(i)?i.indexOf(y)>=0:typeof y=="string"&&typeof i=="object"&&i!==null?_.call(i,y):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=o.create(this)),this.negated}}class o{constructor(n){this._actual=n,this.type=11}static create(n){return new o(n)}cmp(n){return n.type!==this.type?this.type-n.type:this._actual.cmp(n._actual)}equals(n){return n.type===this.type?this._actual.equals(n._actual):!1}substituteConstants(){return this}evaluate(n){return!this._actual.evaluate(n)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class v{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=5}static create(n,i,y=null){if(typeof i=="boolean")return i?x.create(n,y):t.create(n,y);const F=V.get(n);return typeof F=="boolean"?i===(F?"true":"false")?s.INSTANCE:c.INSTANCE:new v(n,i,y)}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){const n=V.get(this.key);if(typeof n=="boolean"){const i=n?"true":"false";return this.value===i?s.INSTANCE:c.INSTANCE}return this}evaluate(n){return n.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 x{constructor(n,i){this.key=n,this.negated=i,this.type=3}static create(n,i=null){const y=V.get(n);return typeof y=="boolean"?y?s.INSTANCE:c.INSTANCE:new x(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:d(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=V.get(this.key);return typeof n=="boolean"?n?s.INSTANCE:c.INSTANCE:this}evaluate(n){return!n.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=t.create(this.key,this)),this.negated}}function E(w,n){if(typeof w=="string"){const i=parseFloat(w);isNaN(i)||(w=i)}return typeof w=="string"||typeof w=="number"?n(w):s.INSTANCE}class h{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=12}static create(n,i,y=null){return E(i,F=>new h(n,F,y))}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=l.create(this.key,this.value,this)),this.negated}}class p{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=13}static create(n,i,y=null){return E(i,F=>new p(n,F,y))}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=f.create(this.key,this.value,this)),this.negated}}class f{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=14}static create(n,i,y=null){return E(i,F=>new f(n,F,y))}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=p.create(this.key,this.value,this)),this.negated}}class l{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=15}static create(n,i,y=null){return E(i,F=>new l(n,F,y))}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=h.create(this.key,this.value,this)),this.negated}}class k{constructor(n,i){this.key=n,this.regexp=i,this.type=7,this.negated=null}static create(n,i){return new k(n,i)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.key<n.key)return-1;if(this.key>n.key)return 1;const i=this.regexp?this.regexp.source:"",y=n.regexp?n.regexp.source:"";return i<y?-1:i>y?1:0}equals(n){if(n.type===this.type){const i=this.regexp?this.regexp.source:"",y=n.regexp?n.regexp.source:"";return this.key===n.key&&i===y}return!1}substituteConstants(){return this}evaluate(n){let i=n.getValue(this.key);return this.regexp?this.regexp.test(i):!1}serialize(){const n=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${n}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=P.create(this)),this.negated}}class P{constructor(n){this._actual=n,this.type=8}static create(n){return new P(n)}cmp(n){return n.type!==this.type?this.type-n.type:this._actual.cmp(n._actual)}equals(n){return n.type===this.type?this._actual.equals(n._actual):!1}substituteConstants(){return this}evaluate(n){return!this._actual.evaluate(n)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function L(w){let n=null;for(let i=0,y=w.length;i<y;i++){const F=w[i].substituteConstants();if(w[i]!==F&&n===null){n=[];for(let le=0;le<i;le++)n[le]=w[le]}n!==null&&(n[i]=F)}return n===null?w:n}class j{constructor(n,i){this.expr=n,this.negated=i,this.type=6}static create(n,i){return j._normalizeArr(n,i)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.expr.length<n.expr.length)return-1;if(this.expr.length>n.expr.length)return 1;for(let i=0,y=this.expr.length;i<y;i++){const F=e(this.expr[i],n.expr[i]);if(F!==0)return F}return 0}equals(n){if(n.type===this.type){if(this.expr.length!==n.expr.length)return!1;for(let i=0,y=this.expr.length;i<y;i++)if(!this.expr[i].equals(n.expr[i]))return!1;return!0}return!1}substituteConstants(){const n=L(this.expr);return n===this.expr?this:j.create(n,this.negated)}evaluate(n){for(let i=0,y=this.expr.length;i<y;i++)if(!this.expr[i].evaluate(n))return!1;return!0}static _normalizeArr(n,i){const y=[];let F=!1;for(const le of n)if(le){if(le.type===1){F=!0;continue}if(le.type===0)return s.INSTANCE;if(le.type===6){y.push(...le.expr);continue}y.push(le)}if(y.length===0&&F)return c.INSTANCE;if(y.length!==0){if(y.length===1)return y[0];y.sort(e);for(let le=1;le<y.length;le++)y[le-1].equals(y[le])&&(y.splice(le,1),le--);if(y.length===1)return y[0];for(;y.length>1;){const le=y[y.length-1];if(le.type!==9)break;y.pop();const Ee=y.pop(),Le=y.length===0,Ve=J.create(le.expr.map(it=>j.create([it,Ee],null)),null,Le);Ve&&(y.push(Ve),y.sort(e))}return y.length===1?y[0]:new j(y,i)}}serialize(){return this.expr.map(n=>n.serialize()).join(" && ")}keys(){const n=[];for(let i of this.expr)n.push(...i.keys());return n}negate(){if(!this.negated){const n=[];for(let i of this.expr)n.push(i.negate());this.negated=J.create(n,this,!0)}return this.negated}}class J{constructor(n,i){this.expr=n,this.negated=i,this.type=9}static create(n,i,y){return J._normalizeArr(n,i,y)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.expr.length<n.expr.length)return-1;if(this.expr.length>n.expr.length)return 1;for(let i=0,y=this.expr.length;i<y;i++){const F=e(this.expr[i],n.expr[i]);if(F!==0)return F}return 0}equals(n){if(n.type===this.type){if(this.expr.length!==n.expr.length)return!1;for(let i=0,y=this.expr.length;i<y;i++)if(!this.expr[i].equals(n.expr[i]))return!1;return!0}return!1}substituteConstants(){const n=L(this.expr);return n===this.expr?this:J.create(n,this.negated,!1)}evaluate(n){for(let i=0,y=this.expr.length;i<y;i++)if(this.expr[i].evaluate(n))return!0;return!1}static _normalizeArr(n,i,y){let F=[],le=!1;if(n){for(let Ee=0,Le=n.length;Ee<Le;Ee++){const Ve=n[Ee];if(Ve){if(Ve.type===0){le=!0;continue}if(Ve.type===1)return c.INSTANCE;if(Ve.type===9){F=F.concat(Ve.expr);continue}F.push(Ve)}}if(F.length===0&&le)return s.INSTANCE;F.sort(e)}if(F.length!==0){if(F.length===1)return F[0];for(let Ee=1;Ee<F.length;Ee++)F[Ee-1].equals(F[Ee])&&(F.splice(Ee,1),Ee--);if(F.length===1)return F[0];if(y){for(let Ee=0;Ee<F.length;Ee++)for(let Le=Ee+1;Le<F.length;Le++)S(F[Ee],F[Le])&&(F.splice(Le,1),Le--);if(F.length===1)return F[0]}return new J(F,i)}}serialize(){return this.expr.map(n=>n.serialize()).join(" || ")}keys(){const n=[];for(let i of this.expr)n.push(...i.keys());return n}negate(){if(!this.negated){let n=[];for(let i of this.expr)n.push(i.negate());for(;n.length>1;){const i=n.shift(),y=n.shift(),F=[];for(const Ee of I(i))for(const Le of I(y))F.push(j.create([Ee,Le],null));const le=n.length===0;n.unshift(J.create(F,null,le))}this.negated=n[0]}return this.negated}}class B extends t{constructor(n,i,y){super(n,null),this._defaultValue=i,typeof y=="object"?B._info.push(Object.assign(Object.assign({},y),{key:n})):y!==!0&&B._info.push({key:n,description:y,type:i!=null?typeof i:void 0})}static all(){return B._info.values()}bindTo(n){return n.createKey(this.key,this._defaultValue)}getValue(n){return n.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(n){return r.create(this.key,n)}}B._info=[];const ye=(0,W.yh)("contextKeyService"),g="setContext";function d(w,n){return w<n?-1:w>n?1:0}function b(w,n,i,y){return w<i?-1:w>i?1:n<y?-1:n>y?1:0}function S(w,n){if(n.type===6&&w.type!==9&&w.type!==6){for(const F of n.expr)if(w.equals(F))return!0}const i=w.negate(),y=I(i).concat(I(n));y.sort(e);for(let F=0;F<y.length;F++){const Ee=y[F].negate();for(let Le=F+1;Le<y.length;Le++){const Ve=y[Le];if(Ee.equals(Ve))return!0}}return!1}function I(w){return w.type===9?w.expr:[w]}},16925:function(Bt,Ze,u){"use strict";u.d(Ze,{I8:function(){return N},TG:function(){return D},jt:function(){return V},yh:function(){return Q}});var N;(function(_){_.serviceIds=new Map,_.DI_TARGET="$di$target",_.DI_DEPENDENCIES="$di$dependencies";function H(G){return G[_.DI_DEPENDENCIES]||[]}_.getServiceDependencies=H})(N||(N={}));const D=Q("instantiationService");function W(_,H,G,e){H[N.DI_TARGET]===H?H[N.DI_DEPENDENCIES].push({id:_,index:G,optional:e}):(H[N.DI_DEPENDENCIES]=[{id:_,index:G,optional:e}],H[N.DI_TARGET]=H)}function Q(_){if(N.serviceIds.has(_))return N.serviceIds.get(_);const H=function(G,e,s){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");W(H,G,s,!1)};return H.toString=()=>_,N.serviceIds.set(_,H),H}function V(_){return function(H,G,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");W(_,H,e,!0)}}},44650:function(Bt,Ze,u){"use strict";u.d(Ze,{B:function(){return Q}});var N=u(76068),D=u(72999);class W{constructor(){this.data=new Map}add(_,H){N.ok(D.HD(_)),N.ok(D.Kn(H)),N.ok(!this.data.has(_),"There is already an extension with this id"),this.data.set(_,H)}as(_){return this.data.get(_)||null}}const Q=new W},66213:function(Bt,Ze,u){"use strict";u.d(Ze,{e:function(){return N}});var N;(function(D){D.DARK="dark",D.LIGHT="light",D.HIGH_CONTRAST="hc"})(N||(N={}))},49055:function(Bt,Ze,u){"use strict";u.d(Ze,{EN:function(){return e},IP:function(){return t},Ic:function(){return o},XE:function(){return H},bB:function(){return v},kS:function(){return s},m6:function(){return c}});var N=u(52615),D=u(4348),W=u(69323),Q=u(16925),V=u(44650),_=u(66213);const H=(0,Q.yh)("themeService");var G;(function(x){function E(h){return h&&typeof h=="object"&&typeof h.id=="string"}x.isThemeColor=E})(G||(G={}));function e(x){return{id:x}}var s;(function(x){function E(P){return P&&typeof P=="object"&&typeof P.id=="string"&&(typeof P.color=="undefined"||G.isThemeColor(P.color))}x.isThemeIcon=E;const h=new RegExp(`^\\$\\((${N.dT.iconNameExpression}(?:${N.dT.iconModifierExpression})?)\\)$`);function p(P){const L=h.exec(P);if(!L)return;let[,j]=L;return{id:j}}x.fromString=p;function f(P,L){let j=P.id;const J=j.lastIndexOf("~");return J!==-1&&(j=j.substring(0,J)),L&&(j=`${j}~${L}`),{id:j}}x.modify=f;function l(P,L){var j,J;return P.id===L.id&&((j=P.color)===null||j===void 0?void 0:j.id)===((J=L.color)===null||J===void 0?void 0:J.id)}x.isEqual=l;function k(P,L){return{id:P.id,color:L?e(L):void 0}}x.asThemeIcon=k,x.asClassNameArray=N.dT.asClassNameArray,x.asClassName=N.dT.asClassName,x.asCSSSelector=N.dT.asCSSSelector})(s||(s={}));function c(x){switch(x){case _.e.DARK:return"vs-dark";case _.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const t={ThemingContribution:"base.contributions.theming"};class r{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new D.Q5}onColorThemeChange(E){return this.themingParticipants.push(E),this.onThemingParticipantAddedEmitter.fire(E),(0,W.OF)(()=>{const h=this.themingParticipants.indexOf(E);this.themingParticipants.splice(h,1)})}getThemingParticipants(){return this.themingParticipants}}let a=new r;V.B.add(t.ThemingContribution,a);function o(x){return a.onColorThemeChange(x)}class v extends W.JT{constructor(E){super(),this.themeService=E,this.theme=E.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(h=>this.onThemeChange(h)))}onThemeChange(E){this.theme=E,this.updateStyles()}updateStyles(){}}},16632:function(Bt,Ze,u){"use strict";var N=u(72308),D=u(77321),W=u(49618),Q=u(52487),V=u(74416),_=u(92310),H=u.n(_),G=u(18929),e=u(59301),s=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],c=(0,e.forwardRef)(function(t,r){var a=t.prefixCls,o=a===void 0?"rc-checkbox":a,v=t.className,x=t.style,E=t.checked,h=t.disabled,p=t.defaultChecked,f=p===void 0?!1:p,l=t.type,k=l===void 0?"checkbox":l,P=t.title,L=t.onChange,j=(0,V.Z)(t,s),J=(0,e.useRef)(null),B=(0,e.useRef)(null),ye=(0,G.Z)(f,{value:E}),g=(0,Q.Z)(ye,2),d=g[0],b=g[1];(0,e.useImperativeHandle)(r,function(){return{focus:function(n){var i;(i=J.current)===null||i===void 0||i.focus(n)},blur:function(){var n;(n=J.current)===null||n===void 0||n.blur()},input:J.current,nativeElement:B.current}});var S=H()(o,v,(0,W.Z)((0,W.Z)({},"".concat(o,"-checked"),d),"".concat(o,"-disabled"),h)),I=function(n){h||("checked"in t||b(n.target.checked),L==null||L({target:(0,D.Z)((0,D.Z)({},t),{},{type:k,checked:n.target.checked}),stopPropagation:function(){n.stopPropagation()},preventDefault:function(){n.preventDefault()},nativeEvent:n.nativeEvent}))};return e.createElement("span",{className:S,title:P,style:x,ref:B},e.createElement("input",(0,N.Z)({},j,{className:"".concat(o,"-input"),ref:J,onChange:I,disabled:h,checked:!!d,type:k})),e.createElement("span",{className:"".concat(o,"-inner")}))});Ze.Z=c},96478:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return P}});var N=u(72308),D=u(49618),W=u(52487),Q=u(74416),V=u(65352),_=u(92310),H=u.n(_),G=u(8654),e=u(59301),s=u(10228),c=u(16089),t=s.Z.ESC,r=s.Z.TAB;function a(L){var j=L.visible,J=L.triggerRef,B=L.onVisibleChange,ye=L.autoFocus,g=L.overlayRef,d=e.useRef(!1),b=function(){if(j){var n,i;(n=J.current)===null||n===void 0||(i=n.focus)===null||i===void 0||i.call(n),B==null||B(!1)}},S=function(){var n;return(n=g.current)!==null&&n!==void 0&&n.focus?(g.current.focus(),d.current=!0,!0):!1},I=function(n){switch(n.keyCode){case t:b();break;case r:{var i=!1;d.current||(i=S()),i?n.preventDefault():b();break}}};e.useEffect(function(){return j?(window.addEventListener("keydown",I),ye&&(0,c.Z)(S,3),function(){window.removeEventListener("keydown",I),d.current=!1}):function(){d.current=!1}},[j])}var o=(0,e.forwardRef)(function(L,j){var J=L.overlay,B=L.arrow,ye=L.prefixCls,g=(0,e.useMemo)(function(){var b;return typeof J=="function"?b=J():b=J,b},[J]),d=(0,G.sQ)(j,(0,G.C4)(g));return e.createElement(e.Fragment,null,B&&e.createElement("div",{className:"".concat(ye,"-arrow")}),e.cloneElement(g,{ref:(0,G.Yr)(g)?d:void 0}))}),v=o,x={adjustX:1,adjustY:1},E=[0,0],h={topLeft:{points:["bl","tl"],overflow:x,offset:[0,-4],targetOffset:E},top:{points:["bc","tc"],overflow:x,offset:[0,-4],targetOffset:E},topRight:{points:["br","tr"],overflow:x,offset:[0,-4],targetOffset:E},bottomLeft:{points:["tl","bl"],overflow:x,offset:[0,4],targetOffset:E},bottom:{points:["tc","bc"],overflow:x,offset:[0,4],targetOffset:E},bottomRight:{points:["tr","br"],overflow:x,offset:[0,4],targetOffset:E}},p=h,f=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function l(L,j){var J,B=L.arrow,ye=B===void 0?!1:B,g=L.prefixCls,d=g===void 0?"rc-dropdown":g,b=L.transitionName,S=L.animation,I=L.align,w=L.placement,n=w===void 0?"bottomLeft":w,i=L.placements,y=i===void 0?p:i,F=L.getPopupContainer,le=L.showAction,Ee=L.hideAction,Le=L.overlayClassName,Ve=L.overlayStyle,it=L.visible,zt=L.trigger,be=zt===void 0?["hover"]:zt,Ge=L.autoFocus,Lt=L.overlay,Ie=L.children,Oe=L.onVisibleChange,T=(0,Q.Z)(L,f),A=e.useState(),X=(0,W.Z)(A,2),M=X[0],se=X[1],pe="visible"in L?it:M,R=e.useRef(null),m=e.useRef(null),C=e.useRef(null);e.useImperativeHandle(j,function(){return R.current});var z=function(Ke){se(Ke),Oe==null||Oe(Ke)};a({visible:pe,triggerRef:C,onVisibleChange:z,autoFocus:Ge,overlayRef:m});var O=function(Ke){var Me=L.onOverlayClick;se(!1),Me&&Me(Ke)},U=function(){return e.createElement(v,{ref:m,overlay:Lt,prefixCls:d,arrow:ye})},K=function(){return typeof Lt=="function"?U:U()},ee=function(){var Ke=L.minOverlayWidthMatchTrigger,Me=L.alignPoint;return"minOverlayWidthMatchTrigger"in L?Ke:!Me},q=function(){var Ke=L.openClassName;return Ke!==void 0?Ke:"".concat(d,"-open")},ce=e.cloneElement(Ie,{className:H()((J=Ie.props)===null||J===void 0?void 0:J.className,pe&&q()),ref:(0,G.Yr)(Ie)?(0,G.sQ)(C,(0,G.C4)(Ie)):void 0}),we=Ee;return!we&&be.indexOf("contextMenu")!==-1&&(we=["click"]),e.createElement(V.Z,(0,N.Z)({builtinPlacements:y},T,{prefixCls:d,ref:R,popupClassName:H()(Le,(0,D.Z)({},"".concat(d,"-show-arrow"),ye)),popupStyle:Ve,action:be,showAction:le,hideAction:we,popupPlacement:n,popupAlign:I,popupTransitionName:b,popupAnimation:S,popupVisible:pe,stretch:ee()?"minWidth":"",popup:K(),onPopupVisibleChange:z,onPopupClick:O,getPopupContainer:F}),ce)}var k=e.forwardRef(l),P=k},66003:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return H}});var N=u(74416),D=u(77321),W=u(62853),Q=u(59301),V=["show"];function _(G,e){if(!e.max)return!0;var s=e.strategy(G);return s<=e.max}function H(G,e){return Q.useMemo(function(){var s={};e&&(s.show=(0,W.Z)(e)==="object"&&e.formatter?e.formatter:!!e),s=(0,D.Z)((0,D.Z)({},s),G);var c=s,t=c.show,r=(0,N.Z)(c,V);return(0,D.Z)((0,D.Z)({},r),{},{show:!!t,showFormatter:typeof t=="function"?t:void 0,strategy:r.strategy||function(a){return a.length}})},[G,e])}},36901:function(Bt,Ze,u){"use strict";u.r(Ze),u.d(Ze,{BaseInput:function(){return s},default:function(){return p}});var N=u(77321),D=u(72308),W=u(49618),Q=u(62853),V=u(92310),_=u.n(V),H=u(59301),G=u(30292),e=H.forwardRef(function(f,l){var k,P,L,j=f.inputElement,J=f.children,B=f.prefixCls,ye=f.prefix,g=f.suffix,d=f.addonBefore,b=f.addonAfter,S=f.className,I=f.style,w=f.disabled,n=f.readOnly,i=f.focused,y=f.triggerFocus,F=f.allowClear,le=f.value,Ee=f.handleReset,Le=f.hidden,Ve=f.classes,it=f.classNames,zt=f.dataAttrs,be=f.styles,Ge=f.components,Lt=f.onClear,Ie=J!=null?J:j,Oe=(Ge==null?void 0:Ge.affixWrapper)||"span",T=(Ge==null?void 0:Ge.groupWrapper)||"span",A=(Ge==null?void 0:Ge.wrapper)||"span",X=(Ge==null?void 0:Ge.groupAddon)||"span",M=(0,H.useRef)(null),se=function(ft){var je;(je=M.current)!==null&&je!==void 0&&je.contains(ft.target)&&(y==null||y())},pe=(0,G.X3)(f),R=(0,H.cloneElement)(Ie,{value:le,className:_()((k=Ie.props)===null||k===void 0?void 0:k.className,!pe&&(it==null?void 0:it.variant))||null}),m=(0,H.useRef)(null);if(H.useImperativeHandle(l,function(){return{nativeElement:m.current||M.current}}),pe){var C=null;if(F){var z=!w&&!n&&le,O="".concat(B,"-clear-icon"),U=(0,Q.Z)(F)==="object"&&F!==null&&F!==void 0&&F.clearIcon?F.clearIcon:"\u2716";C=H.createElement("button",{type:"button",tabIndex:-1,onClick:function(ft){Ee==null||Ee(ft),Lt==null||Lt()},onMouseDown:function(ft){return ft.preventDefault()},className:_()(O,(0,W.Z)((0,W.Z)({},"".concat(O,"-hidden"),!z),"".concat(O,"-has-suffix"),!!g))},U)}var K="".concat(B,"-affix-wrapper"),ee=_()(K,(0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)({},"".concat(B,"-disabled"),w),"".concat(K,"-disabled"),w),"".concat(K,"-focused"),i),"".concat(K,"-readonly"),n),"".concat(K,"-input-with-clear-btn"),g&&F&&le),Ve==null?void 0:Ve.affixWrapper,it==null?void 0:it.affixWrapper,it==null?void 0:it.variant),q=(g||F)&&H.createElement("span",{className:_()("".concat(B,"-suffix"),it==null?void 0:it.suffix),style:be==null?void 0:be.suffix},C,g);R=H.createElement(Oe,(0,D.Z)({className:ee,style:be==null?void 0:be.affixWrapper,onClick:se},zt==null?void 0:zt.affixWrapper,{ref:M}),ye&&H.createElement("span",{className:_()("".concat(B,"-prefix"),it==null?void 0:it.prefix),style:be==null?void 0:be.prefix},ye),R,q)}if((0,G.He)(f)){var ce="".concat(B,"-group"),we="".concat(ce,"-addon"),ge="".concat(ce,"-wrapper"),Ke=_()("".concat(B,"-wrapper"),ce,Ve==null?void 0:Ve.wrapper,it==null?void 0:it.wrapper),Me=_()(ge,(0,W.Z)({},"".concat(ge,"-disabled"),w),Ve==null?void 0:Ve.group,it==null?void 0:it.groupWrapper);R=H.createElement(T,{className:Me,ref:m},H.createElement(A,{className:Ke},d&&H.createElement(X,{className:we},d),R,b&&H.createElement(X,{className:we},b)))}return H.cloneElement(R,{className:_()((P=R.props)===null||P===void 0?void 0:P.className,S)||null,style:(0,N.Z)((0,N.Z)({},(L=R.props)===null||L===void 0?void 0:L.style),I),hidden:Le})}),s=e,c=u(80702),t=u(52487),r=u(74416),a=u(18929),o=u(2738),v=u(66003),x=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],E=(0,H.forwardRef)(function(f,l){var k=f.autoComplete,P=f.onChange,L=f.onFocus,j=f.onBlur,J=f.onPressEnter,B=f.onKeyDown,ye=f.onKeyUp,g=f.prefixCls,d=g===void 0?"rc-input":g,b=f.disabled,S=f.htmlSize,I=f.className,w=f.maxLength,n=f.suffix,i=f.showCount,y=f.count,F=f.type,le=F===void 0?"text":F,Ee=f.classes,Le=f.classNames,Ve=f.styles,it=f.onCompositionStart,zt=f.onCompositionEnd,be=(0,r.Z)(f,x),Ge=(0,H.useState)(!1),Lt=(0,t.Z)(Ge,2),Ie=Lt[0],Oe=Lt[1],T=(0,H.useRef)(!1),A=(0,H.useRef)(!1),X=(0,H.useRef)(null),M=(0,H.useRef)(null),se=function(vt){X.current&&(0,G.nH)(X.current,vt)},pe=(0,a.Z)(f.defaultValue,{value:f.value}),R=(0,t.Z)(pe,2),m=R[0],C=R[1],z=m==null?"":String(m),O=(0,H.useState)(null),U=(0,t.Z)(O,2),K=U[0],ee=U[1],q=(0,v.Z)(y,i),ce=q.max||w,we=q.strategy(z),ge=!!ce&&we>ce;(0,H.useImperativeHandle)(l,function(){var St;return{focus:se,blur:function(){var Rt;(Rt=X.current)===null||Rt===void 0||Rt.blur()},setSelectionRange:function(Rt,on,Qt){var qt;(qt=X.current)===null||qt===void 0||qt.setSelectionRange(Rt,on,Qt)},select:function(){var Rt;(Rt=X.current)===null||Rt===void 0||Rt.select()},input:X.current,nativeElement:((St=M.current)===null||St===void 0?void 0:St.nativeElement)||X.current}}),(0,H.useEffect)(function(){A.current&&(A.current=!1),Oe(function(St){return St&&b?!1:St})},[b]);var Ke=function(vt,Rt,on){var Qt=Rt;if(!T.current&&q.exceedFormatter&&q.max&&q.strategy(Rt)>q.max){if(Qt=q.exceedFormatter(Rt,{max:q.max}),Rt!==Qt){var qt,En;ee([((qt=X.current)===null||qt===void 0?void 0:qt.selectionStart)||0,((En=X.current)===null||En===void 0?void 0:En.selectionEnd)||0])}}else if(on.source==="compositionEnd")return;C(Qt),X.current&&(0,G.rJ)(X.current,vt,P,Qt)};(0,H.useEffect)(function(){if(K){var St;(St=X.current)===null||St===void 0||St.setSelectionRange.apply(St,(0,c.Z)(K))}},[K]);var Me=function(vt){Ke(vt,vt.target.value,{source:"change"})},Fe=function(vt){T.current=!1,Ke(vt,vt.currentTarget.value,{source:"compositionEnd"}),zt==null||zt(vt)},ft=function(vt){J&&vt.key==="Enter"&&!A.current&&(A.current=!0,J(vt)),B==null||B(vt)},je=function(vt){vt.key==="Enter"&&(A.current=!1),ye==null||ye(vt)},ze=function(vt){Oe(!0),L==null||L(vt)},Nt=function(vt){A.current&&(A.current=!1),Oe(!1),j==null||j(vt)},Tt=function(vt){C(""),se(),X.current&&(0,G.rJ)(X.current,vt,P)},rt=ge&&"".concat(d,"-out-of-range"),jt=function(){var vt=(0,o.Z)(f,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return H.createElement("input",(0,D.Z)({autoComplete:k},vt,{onChange:Me,onFocus:ze,onBlur:Nt,onKeyDown:ft,onKeyUp:je,className:_()(d,(0,W.Z)({},"".concat(d,"-disabled"),b),Le==null?void 0:Le.input),style:Ve==null?void 0:Ve.input,ref:X,size:S,type:le,onCompositionStart:function(on){T.current=!0,it==null||it(on)},onCompositionEnd:Fe}))},hn=function(){var vt=Number(ce)>0;if(n||q.show){var Rt=q.showFormatter?q.showFormatter({value:z,count:we,maxLength:ce}):"".concat(we).concat(vt?" / ".concat(ce):"");return H.createElement(H.Fragment,null,q.show&&H.createElement("span",{className:_()("".concat(d,"-show-count-suffix"),(0,W.Z)({},"".concat(d,"-show-count-has-suffix"),!!n),Le==null?void 0:Le.count),style:(0,N.Z)({},Ve==null?void 0:Ve.count)},Rt),n)}return null};return H.createElement(s,(0,D.Z)({},be,{prefixCls:d,className:_()(I,rt),handleReset:Tt,value:z,focused:Ie,triggerFocus:se,suffix:hn(),disabled:b,classes:Ee,classNames:Le,styles:Ve}),jt())}),h=E,p=h},30292:function(Bt,Ze,u){"use strict";u.d(Ze,{He:function(){return N},X3:function(){return D},nH:function(){return V},rJ:function(){return Q}});function N(_){return!!(_.addonBefore||_.addonAfter)}function D(_){return!!(_.prefix||_.suffix||_.allowClear)}function W(_,H,G){var e=H.cloneNode(!0),s=Object.create(_,{target:{value:e},currentTarget:{value:e}});return e.value=G,typeof H.selectionStart=="number"&&typeof H.selectionEnd=="number"&&(e.selectionStart=H.selectionStart,e.selectionEnd=H.selectionEnd),e.setSelectionRange=function(){H.setSelectionRange.apply(H,arguments)},s}function Q(_,H,G,e){if(G){var s=H;if(H.type==="click"){s=W(H,_,""),G(s);return}if(_.type!=="file"&&e!==void 0){s=W(H,_,e),G(s);return}G(s)}}function V(_,H){if(_){_.focus(H);var G=H||{},e=G.cursor;if(e){var s=_.value.length;switch(e){case"start":_.setSelectionRange(0,0);break;case"end":_.setSelectionRange(s,s);break;default:_.setSelectionRange(0,s)}}}}},28321:function(Bt,Ze,u){"use strict";u.d(Ze,{iz:function(){return Te},ck:function(){return Qt},BW:function(){return tt},sN:function(){return Qt},Wd:function(){return Y},ZP:function(){return nt},Xl:function(){return J}});var N=u(72308),D=u(49618),W=u(77321),Q=u(80702),V=u(52487),_=u(74416),H=u(92310),G=u.n(H),e=u(11780),s=u(18929),c=u(13697),t=u(48736),r=u(59301),a=u(4676),o=r.createContext(null);function v($,de){return $===void 0?null:"".concat($,"-").concat(de)}function x($){var de=r.useContext(o);return v(de,$)}var E=u(80547),h=["children","locked"],p=r.createContext(null);function f($,de){var Ce=(0,W.Z)({},$);return Object.keys(de).forEach(function(fe){var Ne=de[fe];Ne!==void 0&&(Ce[fe]=Ne)}),Ce}function l($){var de=$.children,Ce=$.locked,fe=(0,_.Z)($,h),Ne=r.useContext(p),ke=(0,E.Z)(function(){return f(Ne,fe)},[Ne,fe],function(Ae,Ue){return!Ce&&(Ae[0]!==Ue[0]||!(0,c.Z)(Ae[1],Ue[1],!0))});return r.createElement(p.Provider,{value:ke},de)}var k=[],P=r.createContext(null);function L(){return r.useContext(P)}var j=r.createContext(k);function J($){var de=r.useContext(j);return r.useMemo(function(){return $!==void 0?[].concat((0,Q.Z)(de),[$]):de},[de,$])}var B=r.createContext(null),ye=r.createContext({}),g=ye,d=u(29194);function b($){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,d.Z)($)){var Ce=$.nodeName.toLowerCase(),fe=["input","select","textarea","button"].includes(Ce)||$.isContentEditable||Ce==="a"&&!!$.getAttribute("href"),Ne=$.getAttribute("tabindex"),ke=Number(Ne),Ae=null;return Ne&&!Number.isNaN(ke)?Ae=ke:fe&&Ae===null&&(Ae=0),fe&&$.disabled&&(Ae=null),Ae!==null&&(Ae>=0||de&&Ae<0)}return!1}function S($){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ce=(0,Q.Z)($.querySelectorAll("*")).filter(function(fe){return b(fe,de)});return b($,de)&&Ce.unshift($),Ce}var I=null;function w(){I=document.activeElement}function n(){I=null}function i(){if(I)try{I.focus()}catch($){}}function y($,de){if(de.keyCode===9){var Ce=S($),fe=Ce[de.shiftKey?0:Ce.length-1],Ne=fe===document.activeElement||$===document.activeElement;if(Ne){var ke=Ce[de.shiftKey?Ce.length-1:0];ke.focus(),de.preventDefault()}}}var F=u(10228),le=u(16089),Ee=F.Z.LEFT,Le=F.Z.RIGHT,Ve=F.Z.UP,it=F.Z.DOWN,zt=F.Z.ENTER,be=F.Z.ESC,Ge=F.Z.HOME,Lt=F.Z.END,Ie=[Ve,it,Ee,Le];function Oe($,de,Ce,fe){var Ne,ke="prev",Ae="next",Ue="children",st="parent";if($==="inline"&&fe===zt)return{inlineTrigger:!0};var ct=(0,D.Z)((0,D.Z)({},Ve,ke),it,Ae),ht=(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)({},Ee,Ce?Ae:ke),Le,Ce?ke:Ae),it,Ue),zt,Ue),ut=(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)({},Ve,ke),it,Ae),zt,Ue),be,st),Ee,Ce?Ue:st),Le,Ce?st:Ue),Ot={inline:ct,horizontal:ht,vertical:ut,inlineSub:ct,horizontalSub:ut,verticalSub:ut},Mt=(Ne=Ot["".concat($).concat(de?"":"Sub")])===null||Ne===void 0?void 0:Ne[fe];switch(Mt){case ke:return{offset:-1,sibling:!0};case Ae:return{offset:1,sibling:!0};case st:return{offset:-1,sibling:!1};case Ue:return{offset:1,sibling:!1};default:return null}}function T($){for(var de=$;de;){if(de.getAttribute("data-menu-list"))return de;de=de.parentElement}return null}function A($,de){for(var Ce=$||document.activeElement;Ce;){if(de.has(Ce))return Ce;Ce=Ce.parentElement}return null}function X($,de){var Ce=S($,!0);return Ce.filter(function(fe){return de.has(fe)})}function M($,de,Ce){var fe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!$)return null;var Ne=X($,de),ke=Ne.length,Ae=Ne.findIndex(function(Ue){return Ce===Ue});return fe<0?Ae===-1?Ae=ke-1:Ae-=1:fe>0&&(Ae+=1),Ae=(Ae+ke)%ke,Ne[Ae]}var se=function(de,Ce){var fe=new Set,Ne=new Map,ke=new Map;return de.forEach(function(Ae){var Ue=document.querySelector("[data-menu-id='".concat(v(Ce,Ae),"']"));Ue&&(fe.add(Ue),ke.set(Ue,Ae),Ne.set(Ae,Ue))}),{elements:fe,key2element:Ne,element2key:ke}};function pe($,de,Ce,fe,Ne,ke,Ae,Ue,st,ct){var ht=r.useRef(),ut=r.useRef();ut.current=de;var Ot=function(){le.Z.cancel(ht.current)};return r.useEffect(function(){return function(){Ot()}},[]),function(Mt){var kt=Mt.which;if([].concat(Ie,[zt,be,Ge,Lt]).includes(kt)){var bt=ke(),wt=se(bt,fe),$t=wt,Qe=$t.elements,He=$t.key2element,at=$t.element2key,en=He.get(de),ln=A(en,Qe),vn=at.get(ln),Rn=Oe($,Ae(vn,!0).length===1,Ce,kt);if(!Rn&&kt!==Ge&&kt!==Lt)return;(Ie.includes(kt)||[Ge,Lt].includes(kt))&&Mt.preventDefault();var Z=function(Pe){if(Pe){var te=Pe,oe=Pe.querySelector("a");oe!=null&&oe.getAttribute("href")&&(te=oe);var _e=at.get(Pe);Ue(_e),Ot(),ht.current=(0,le.Z)(function(){ut.current===_e&&te.focus()})}};if([Ge,Lt].includes(kt)||Rn.sibling||!ln){var ie;!ln||$==="inline"?ie=Ne.current:ie=T(ln);var ne,ae=X(ie,Qe);kt===Ge?ne=ae[0]:kt===Lt?ne=ae[ae.length-1]:ne=M(ie,Qe,ln,Rn.offset),Z(ne)}else if(Rn.inlineTrigger)st(vn);else if(Rn.offset>0)st(vn,!0),Ot(),ht.current=(0,le.Z)(function(){wt=se(bt,fe);var xe=ln.getAttribute("aria-controls"),Pe=document.getElementById(xe),te=M(Pe,wt.elements);Z(te)},5);else if(Rn.offset<0){var he=Ae(vn,!0),ue=he[he.length-2],ve=He.get(ue);st(ue,!1),Z(ve)}}ct==null||ct(Mt)}}function R($){Promise.resolve().then($)}var m="__RC_UTIL_PATH_SPLIT__",C=function(de){return de.join(m)},z=function(de){return de.split(m)},O="rc-menu-more";function U(){var $=r.useState({}),de=(0,V.Z)($,2),Ce=de[1],fe=(0,r.useRef)(new Map),Ne=(0,r.useRef)(new Map),ke=r.useState([]),Ae=(0,V.Z)(ke,2),Ue=Ae[0],st=Ae[1],ct=(0,r.useRef)(0),ht=(0,r.useRef)(!1),ut=function(){ht.current||Ce({})},Ot=(0,r.useCallback)(function(He,at){var en=C(at);Ne.current.set(en,He),fe.current.set(He,en),ct.current+=1;var ln=ct.current;R(function(){ln===ct.current&&ut()})},[]),Mt=(0,r.useCallback)(function(He,at){var en=C(at);Ne.current.delete(en),fe.current.delete(He)},[]),kt=(0,r.useCallback)(function(He){st(He)},[]),bt=(0,r.useCallback)(function(He,at){var en=fe.current.get(He)||"",ln=z(en);return at&&Ue.includes(ln[0])&&ln.unshift(O),ln},[Ue]),wt=(0,r.useCallback)(function(He,at){return He.filter(function(en){return en!==void 0}).some(function(en){var ln=bt(en,!0);return ln.includes(at)})},[bt]),$t=function(){var at=(0,Q.Z)(fe.current.keys());return Ue.length&&at.push(O),at},Qe=(0,r.useCallback)(function(He){var at="".concat(fe.current.get(He)).concat(m),en=new Set;return(0,Q.Z)(Ne.current.keys()).forEach(function(ln){ln.startsWith(at)&&en.add(Ne.current.get(ln))}),en},[]);return r.useEffect(function(){return function(){ht.current=!0}},[]),{registerPath:Ot,unregisterPath:Mt,refreshOverflowKeys:kt,isSubPathKey:wt,getKeyPath:bt,getKeys:$t,getSubPathKeys:Qe}}function K($){var de=r.useRef($);de.current=$;var Ce=r.useCallback(function(){for(var fe,Ne=arguments.length,ke=new Array(Ne),Ae=0;Ae<Ne;Ae++)ke[Ae]=arguments[Ae];return(fe=de.current)===null||fe===void 0?void 0:fe.call.apply(fe,[de].concat(ke))},[]);return $?Ce:void 0}var ee=Math.random().toFixed(5).toString().slice(2),q=0;function ce($){var de=(0,s.Z)($,{value:$}),Ce=(0,V.Z)(de,2),fe=Ce[0],Ne=Ce[1];return r.useEffect(function(){q+=1;var ke="".concat(ee,"-").concat(q);Ne("rc-menu-uuid-".concat(ke))},[]),fe}var we=u(96949),ge=u(55090),Ke=u(77205),Me=u(38793),Fe=u(2738),ft=u(8654);function je($,de,Ce,fe){var Ne=r.useContext(p),ke=Ne.activeKey,Ae=Ne.onActive,Ue=Ne.onInactive,st={active:ke===$};return de||(st.onMouseEnter=function(ct){Ce==null||Ce({key:$,domEvent:ct}),Ae($)},st.onMouseLeave=function(ct){fe==null||fe({key:$,domEvent:ct}),Ue($)}),st}function ze($){var de=r.useContext(p),Ce=de.mode,fe=de.rtl,Ne=de.inlineIndent;if(Ce!=="inline")return null;var ke=$;return fe?{paddingRight:ke*Ne}:{paddingLeft:ke*Ne}}function Nt($){var de=$.icon,Ce=$.props,fe=$.children,Ne;return de===null||de===!1?null:(typeof de=="function"?Ne=r.createElement(de,(0,W.Z)({},Ce)):typeof de!="boolean"&&(Ne=de),Ne||fe||null)}var Tt=["item"];function rt($){var de=$.item,Ce=(0,_.Z)($,Tt);return Object.defineProperty(Ce,"item",{get:function(){return(0,t.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),de}}),Ce}var jt=["title","attribute","elementRef"],hn=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],St=["active"],vt=function($){(0,Ke.Z)(Ce,$);var de=(0,Me.Z)(Ce);function Ce(){return(0,we.Z)(this,Ce),de.apply(this,arguments)}return(0,ge.Z)(Ce,[{key:"render",value:function(){var Ne=this.props,ke=Ne.title,Ae=Ne.attribute,Ue=Ne.elementRef,st=(0,_.Z)(Ne,jt),ct=(0,Fe.Z)(st,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,t.ZP)(!Ae,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r.createElement(e.Z.Item,(0,N.Z)({},Ae,{title:typeof ke=="string"?ke:void 0},ct,{ref:Ue}))}}]),Ce}(r.Component),Rt=r.forwardRef(function($,de){var Ce=$.style,fe=$.className,Ne=$.eventKey,ke=$.warnKey,Ae=$.disabled,Ue=$.itemIcon,st=$.children,ct=$.role,ht=$.onMouseEnter,ut=$.onMouseLeave,Ot=$.onClick,Mt=$.onKeyDown,kt=$.onFocus,bt=(0,_.Z)($,hn),wt=x(Ne),$t=r.useContext(p),Qe=$t.prefixCls,He=$t.onItemClick,at=$t.disabled,en=$t.overflowDisabled,ln=$t.itemIcon,vn=$t.selectedKeys,Rn=$t.onActive,Z=r.useContext(g),ie=Z._internalRenderMenuItem,ne="".concat(Qe,"-item"),ae=r.useRef(),he=r.useRef(),ue=at||Ae,ve=(0,ft.x1)(de,he),xe=J(Ne),Pe=function(Et){return{key:Ne,keyPath:(0,Q.Z)(xe).reverse(),item:ae.current,domEvent:Et}},te=Ue||ln,oe=je(Ne,ue,ht,ut),_e=oe.active,De=(0,_.Z)(oe,St),Re=vn.includes(Ne),qe=ze(xe.length),Ct=function(Et){if(!ue){var rn=Pe(Et);Ot==null||Ot(rt(rn)),He(rn)}},yt=function(Et){if(Mt==null||Mt(Et),Et.which===F.Z.ENTER){var rn=Pe(Et);Ot==null||Ot(rt(rn)),He(rn)}},Zt=function(Et){Rn(Ne),kt==null||kt(Et)},xt={};$.role==="option"&&(xt["aria-selected"]=Re);var Kt=r.createElement(vt,(0,N.Z)({ref:ae,elementRef:ve,role:ct===null?"none":ct||"menuitem",tabIndex:Ae?null:-1,"data-menu-id":en&&wt?null:wt},(0,Fe.Z)(bt,["extra"]),De,xt,{component:"li","aria-disabled":Ae,style:(0,W.Z)((0,W.Z)({},qe),Ce),className:G()(ne,(0,D.Z)((0,D.Z)((0,D.Z)({},"".concat(ne,"-active"),_e),"".concat(ne,"-selected"),Re),"".concat(ne,"-disabled"),ue),fe),onClick:Ct,onKeyDown:yt,onFocus:Zt}),st,r.createElement(Nt,{props:(0,W.Z)((0,W.Z)({},$),{},{isSelected:Re}),icon:te}));return ie&&(Kt=ie(Kt,$,{selected:Re})),Kt});function on($,de){var Ce=$.eventKey,fe=L(),Ne=J(Ce);return r.useEffect(function(){if(fe)return fe.registerPath(Ce,Ne),function(){fe.unregisterPath(Ce,Ne)}},[Ne]),fe?null:r.createElement(Rt,(0,N.Z)({},$,{ref:de}))}var Qt=r.forwardRef(on),qt=["className","children"],En=function(de,Ce){var fe=de.className,Ne=de.children,ke=(0,_.Z)(de,qt),Ae=r.useContext(p),Ue=Ae.prefixCls,st=Ae.mode,ct=Ae.rtl;return r.createElement("ul",(0,N.Z)({className:G()(Ue,ct&&"".concat(Ue,"-rtl"),"".concat(Ue,"-sub"),"".concat(Ue,"-").concat(st==="inline"?"inline":"vertical"),fe),role:"menu"},ke,{"data-menu-list":!0,ref:Ce}),Ne)},fn=r.forwardRef(En);fn.displayName="SubMenuList";var We=fn,gt=u(11592);function Gt($,de){return(0,gt.Z)($).map(function(Ce,fe){if(r.isValidElement(Ce)){var Ne,ke,Ae=Ce.key,Ue=(Ne=(ke=Ce.props)===null||ke===void 0?void 0:ke.eventKey)!==null&&Ne!==void 0?Ne:Ae,st=Ue==null;st&&(Ue="tmp_key-".concat([].concat((0,Q.Z)(de),[fe]).join("-")));var ct={key:Ue,eventKey:Ue};return r.cloneElement(Ce,ct)}return Ce})}var mn=u(65352),Wt={adjustX:1,adjustY:1},kn={topLeft:{points:["bl","tl"],overflow:Wt},topRight:{points:["br","tr"],overflow:Wt},bottomLeft:{points:["tl","bl"],overflow:Wt},bottomRight:{points:["tr","br"],overflow:Wt},leftTop:{points:["tr","tl"],overflow:Wt},leftBottom:{points:["br","bl"],overflow:Wt},rightTop:{points:["tl","tr"],overflow:Wt},rightBottom:{points:["bl","br"],overflow:Wt}},Vn={topLeft:{points:["bl","tl"],overflow:Wt},topRight:{points:["br","tr"],overflow:Wt},bottomLeft:{points:["tl","bl"],overflow:Wt},bottomRight:{points:["tr","br"],overflow:Wt},rightTop:{points:["tr","tl"],overflow:Wt},rightBottom:{points:["br","bl"],overflow:Wt},leftTop:{points:["tl","tr"],overflow:Wt},leftBottom:{points:["bl","br"],overflow:Wt}},Sn=null;function Yt($,de,Ce){if(de)return de;if(Ce)return Ce[$]||Ce.other}var Nn={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function xn($){var de=$.prefixCls,Ce=$.visible,fe=$.children,Ne=$.popup,ke=$.popupStyle,Ae=$.popupClassName,Ue=$.popupOffset,st=$.disabled,ct=$.mode,ht=$.onVisibleChange,ut=r.useContext(p),Ot=ut.getPopupContainer,Mt=ut.rtl,kt=ut.subMenuOpenDelay,bt=ut.subMenuCloseDelay,wt=ut.builtinPlacements,$t=ut.triggerSubMenuAction,Qe=ut.forceSubMenuRender,He=ut.rootClassName,at=ut.motion,en=ut.defaultMotions,ln=r.useState(!1),vn=(0,V.Z)(ln,2),Rn=vn[0],Z=vn[1],ie=Mt?(0,W.Z)((0,W.Z)({},Vn),wt):(0,W.Z)((0,W.Z)({},kn),wt),ne=Nn[ct],ae=Yt(ct,at,en),he=r.useRef(ae);ct!=="inline"&&(he.current=ae);var ue=(0,W.Z)((0,W.Z)({},he.current),{},{leavedClassName:"".concat(de,"-hidden"),removeOnLeave:!1,motionAppear:!0}),ve=r.useRef();return r.useEffect(function(){return ve.current=(0,le.Z)(function(){Z(Ce)}),function(){le.Z.cancel(ve.current)}},[Ce]),r.createElement(mn.Z,{prefixCls:de,popupClassName:G()("".concat(de,"-popup"),(0,D.Z)({},"".concat(de,"-rtl"),Mt),Ae,He),stretch:ct==="horizontal"?"minWidth":null,getPopupContainer:Ot,builtinPlacements:ie,popupPlacement:ne,popupVisible:Rn,popup:Ne,popupStyle:ke,popupAlign:Ue&&{offset:Ue},action:st?[]:[$t],mouseEnterDelay:kt,mouseLeaveDelay:bt,onPopupVisibleChange:ht,forceRender:Qe,popupMotion:ue,fresh:!0},fe)}var On=u(77900);function gn($){var de=$.id,Ce=$.open,fe=$.keyPath,Ne=$.children,ke="inline",Ae=r.useContext(p),Ue=Ae.prefixCls,st=Ae.forceSubMenuRender,ct=Ae.motion,ht=Ae.defaultMotions,ut=Ae.mode,Ot=r.useRef(!1);Ot.current=ut===ke;var Mt=r.useState(!Ot.current),kt=(0,V.Z)(Mt,2),bt=kt[0],wt=kt[1],$t=Ot.current?Ce:!1;r.useEffect(function(){Ot.current&&wt(!1)},[ut]);var Qe=(0,W.Z)({},Yt(ke,ct,ht));fe.length>1&&(Qe.motionAppear=!1);var He=Qe.onVisibleChanged;return Qe.onVisibleChanged=function(at){return!Ot.current&&!at&&wt(!0),He==null?void 0:He(at)},bt?null:r.createElement(l,{mode:ke,locked:!Ot.current},r.createElement(On.default,(0,N.Z)({visible:$t},Qe,{forceRender:st,removeOnLeave:!1,leavedClassName:"".concat(Ue,"-hidden")}),function(at){var en=at.className,ln=at.style;return r.createElement(We,{id:de,className:en,style:ln},Ne)}))}var Cn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],An=["active"],Zn=r.forwardRef(function($,de){var Ce=$.style,fe=$.className,Ne=$.title,ke=$.eventKey,Ae=$.warnKey,Ue=$.disabled,st=$.internalPopupClose,ct=$.children,ht=$.itemIcon,ut=$.expandIcon,Ot=$.popupClassName,Mt=$.popupOffset,kt=$.popupStyle,bt=$.onClick,wt=$.onMouseEnter,$t=$.onMouseLeave,Qe=$.onTitleClick,He=$.onTitleMouseEnter,at=$.onTitleMouseLeave,en=(0,_.Z)($,Cn),ln=x(ke),vn=r.useContext(p),Rn=vn.prefixCls,Z=vn.mode,ie=vn.openKeys,ne=vn.disabled,ae=vn.overflowDisabled,he=vn.activeKey,ue=vn.selectedKeys,ve=vn.itemIcon,xe=vn.expandIcon,Pe=vn.onItemClick,te=vn.onOpenChange,oe=vn.onActive,_e=r.useContext(g),De=_e._internalRenderSubMenuItem,Re=r.useContext(B),qe=Re.isSubPathKey,Ct=J(),yt="".concat(Rn,"-submenu"),Zt=ne||Ue,xt=r.useRef(),Kt=r.useRef(),nn=ht!=null?ht:ve,Et=ut!=null?ut:xe,rn=ie.includes(ke),Jt=!ae&&rn,Xt=qe(ue,ke),sn=je(ke,Zt,He,at),_n=sn.active,Tn=(0,_.Z)(sn,An),tn=r.useState(!1),un=(0,V.Z)(tn,2),Vt=un[0],mt=un[1],Ut=function(dt){Zt||mt(dt)},Ft=function(dt){Ut(!0),wt==null||wt({key:ke,domEvent:dt})},yn=function(dt){Ut(!1),$t==null||$t({key:ke,domEvent:dt})},cn=r.useMemo(function(){return _n||(Z!=="inline"?Vt||qe([he],ke):!1)},[Z,_n,he,Vt,ke,qe]),bn=ze(Ct.length),zn=function(dt){Zt||(Qe==null||Qe({key:ke,domEvent:dt}),Z==="inline"&&te(ke,!rn))},Xn=K(function(_t){bt==null||bt(rt(_t)),Pe(_t)}),$n=function(dt){Z!=="inline"&&te(ke,dt)},tr=function(){oe(ke)},rr=ln&&"".concat(ln,"-popup"),Gn=r.useMemo(function(){return r.createElement(Nt,{icon:Z!=="horizontal"?Et:void 0,props:(0,W.Z)((0,W.Z)({},$),{},{isOpen:Jt,isSubMenu:!0})},r.createElement("i",{className:"".concat(yt,"-arrow")}))},[Z,Et,$,Jt,yt]),an=r.createElement("div",(0,N.Z)({role:"menuitem",style:bn,className:"".concat(yt,"-title"),tabIndex:Zt?null:-1,ref:xt,title:typeof Ne=="string"?Ne:null,"data-menu-id":ae&&ln?null:ln,"aria-expanded":Jt,"aria-haspopup":!0,"aria-controls":rr,"aria-disabled":Zt,onClick:zn,onFocus:tr},Tn),Ne,Gn),Dn=r.useRef(Z);if(Z!=="inline"&&Ct.length>1?Dn.current="vertical":Dn.current=Z,!ae){var Bn=Dn.current;an=r.createElement(xn,{mode:Bn,prefixCls:yt,visible:!st&&Jt&&Z!=="inline",popupClassName:Ot,popupOffset:Mt,popupStyle:kt,popup:r.createElement(l,{mode:Bn==="horizontal"?"vertical":Bn},r.createElement(We,{id:rr,ref:Kt},ct)),disabled:Zt,onVisibleChange:$n},an)}var At=r.createElement(e.Z.Item,(0,N.Z)({ref:de,role:"none"},en,{component:"li",style:Ce,className:G()(yt,"".concat(yt,"-").concat(Z),fe,(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)({},"".concat(yt,"-open"),Jt),"".concat(yt,"-active"),cn),"".concat(yt,"-selected"),Xt),"".concat(yt,"-disabled"),Zt)),onMouseEnter:Ft,onMouseLeave:yn}),an,!ae&&r.createElement(gn,{id:rr,open:Jt,keyPath:Ct},ct));return De&&(At=De(At,$,{selected:Xt,active:cn,open:Jt,disabled:Zt})),r.createElement(l,{onItemClick:Xn,mode:Z==="horizontal"?"vertical":Z,itemIcon:nn,expandIcon:Et},At)}),re=r.forwardRef(function($,de){var Ce=$.eventKey,fe=$.children,Ne=J(Ce),ke=Gt(fe,Ne),Ae=L();r.useEffect(function(){if(Ae)return Ae.registerPath(Ce,Ne),function(){Ae.unregisterPath(Ce,Ne)}},[Ne]);var Ue;return Ae?Ue=ke:Ue=r.createElement(Zn,(0,N.Z)({ref:de},$),ke),r.createElement(j.Provider,{value:Ne},Ue)}),Y=re,$e=u(62853);function Te($){var de=$.className,Ce=$.style,fe=r.useContext(p),Ne=fe.prefixCls,ke=L();return ke?null:r.createElement("li",{role:"separator",className:G()("".concat(Ne,"-item-divider"),de),style:Ce})}var Ye=["className","title","eventKey","children"],Xe=r.forwardRef(function($,de){var Ce=$.className,fe=$.title,Ne=$.eventKey,ke=$.children,Ae=(0,_.Z)($,Ye),Ue=r.useContext(p),st=Ue.prefixCls,ct="".concat(st,"-item-group");return r.createElement("li",(0,N.Z)({ref:de,role:"presentation"},Ae,{onClick:function(ut){return ut.stopPropagation()},className:G()(ct,Ce)}),r.createElement("div",{role:"presentation",className:"".concat(ct,"-title"),title:typeof fe=="string"?fe:void 0},fe),r.createElement("ul",{role:"group",className:"".concat(ct,"-list")},ke))}),ot=r.forwardRef(function($,de){var Ce=$.eventKey,fe=$.children,Ne=J(Ce),ke=Gt(fe,Ne),Ae=L();return Ae?ke:r.createElement(Xe,(0,N.Z)({ref:de},(0,Fe.Z)($,["warnKey"])),ke)}),tt=ot,Pt=["label","children","key","type","extra"];function Se($,de,Ce){var fe=de.item,Ne=de.group,ke=de.submenu,Ae=de.divider;return($||[]).map(function(Ue,st){if(Ue&&(0,$e.Z)(Ue)==="object"){var ct=Ue,ht=ct.label,ut=ct.children,Ot=ct.key,Mt=ct.type,kt=ct.extra,bt=(0,_.Z)(ct,Pt),wt=Ot!=null?Ot:"tmp-".concat(st);return ut||Mt==="group"?Mt==="group"?r.createElement(Ne,(0,N.Z)({key:wt},bt,{title:ht}),Se(ut,de,Ce)):r.createElement(ke,(0,N.Z)({key:wt},bt,{title:ht}),Se(ut,de,Ce)):Mt==="divider"?r.createElement(Ae,(0,N.Z)({key:wt},bt)):r.createElement(fe,(0,N.Z)({key:wt},bt,{extra:kt}),ht,(!!kt||kt===0)&&r.createElement("span",{className:"".concat(Ce,"-item-extra")},kt))}return null}).filter(function(Ue){return Ue})}function me($,de,Ce,fe,Ne){var ke=$,Ae=(0,W.Z)({divider:Te,item:Qt,group:tt,submenu:Y},fe);return de&&(ke=Se(de,Ae,Ne)),Gt(ke,Ce)}var Be=["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","_internalComponents"],lt=[],et=r.forwardRef(function($,de){var Ce,fe=$,Ne=fe.prefixCls,ke=Ne===void 0?"rc-menu":Ne,Ae=fe.rootClassName,Ue=fe.style,st=fe.className,ct=fe.tabIndex,ht=ct===void 0?0:ct,ut=fe.items,Ot=fe.children,Mt=fe.direction,kt=fe.id,bt=fe.mode,wt=bt===void 0?"vertical":bt,$t=fe.inlineCollapsed,Qe=fe.disabled,He=fe.disabledOverflow,at=fe.subMenuOpenDelay,en=at===void 0?.1:at,ln=fe.subMenuCloseDelay,vn=ln===void 0?.1:ln,Rn=fe.forceSubMenuRender,Z=fe.defaultOpenKeys,ie=fe.openKeys,ne=fe.activeKey,ae=fe.defaultActiveFirst,he=fe.selectable,ue=he===void 0?!0:he,ve=fe.multiple,xe=ve===void 0?!1:ve,Pe=fe.defaultSelectedKeys,te=fe.selectedKeys,oe=fe.onSelect,_e=fe.onDeselect,De=fe.inlineIndent,Re=De===void 0?24:De,qe=fe.motion,Ct=fe.defaultMotions,yt=fe.triggerSubMenuAction,Zt=yt===void 0?"hover":yt,xt=fe.builtinPlacements,Kt=fe.itemIcon,nn=fe.expandIcon,Et=fe.overflowedIndicator,rn=Et===void 0?"...":Et,Jt=fe.overflowedIndicatorPopupClassName,Xt=fe.getPopupContainer,sn=fe.onClick,_n=fe.onOpenChange,Tn=fe.onKeyDown,tn=fe.openAnimation,un=fe.openTransitionName,Vt=fe._internalRenderMenuItem,mt=fe._internalRenderSubMenuItem,Ut=fe._internalComponents,Ft=(0,_.Z)(fe,Be),yn=r.useMemo(function(){return[me(Ot,ut,lt,Ut,ke),me(Ot,ut,lt,{},ke)]},[Ot,ut,Ut]),cn=(0,V.Z)(yn,2),bn=cn[0],zn=cn[1],Xn=r.useState(!1),$n=(0,V.Z)(Xn,2),tr=$n[0],rr=$n[1],Gn=r.useRef(),an=ce(kt),Dn=Mt==="rtl",Bn=(0,s.Z)(Z,{value:ie,postState:function(Un){return Un||lt}}),At=(0,V.Z)(Bn,2),_t=At[0],dt=At[1],Dt=function(Un){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function _r(){dt(Un),_n==null||_n(Un)}Yn?(0,a.flushSync)(_r):_r()},wn=r.useState(_t),Ln=(0,V.Z)(wn,2),ar=Ln[0],Jn=Ln[1],ir=r.useRef(!1),pt=r.useMemo(function(){return(wt==="inline"||wt==="vertical")&&$t?["vertical",$t]:[wt,!1]},[wt,$t]),Ht=(0,V.Z)(pt,2),Pn=Ht[0],pn=Ht[1],Mn=Pn==="inline",lr=r.useState(Pn),jn=(0,V.Z)(lr,2),ur=jn[0],hr=jn[1],Pr=r.useState(pn),Hn=(0,V.Z)(Pr,2),Lr=Hn[0],Kr=Hn[1];r.useEffect(function(){hr(Pn),Kr(pn),ir.current&&(Mn?dt(ar):Dt(lt))},[Pn,pn]);var Vr=r.useState(0),Nr=(0,V.Z)(Vr,2),Cr=Nr[0],xr=Nr[1],Or=Cr>=bn.length-1||ur!=="horizontal"||He;r.useEffect(function(){Mn&&Jn(_t)},[_t]),r.useEffect(function(){return ir.current=!0,function(){ir.current=!1}},[]);var mr=U(),kr=mr.registerPath,Er=mr.unregisterPath,Fr=mr.refreshOverflowKeys,Dr=mr.isSubPathKey,Hr=mr.getKeyPath,Br=mr.getKeys,$r=mr.getSubPathKeys,Tr=r.useMemo(function(){return{registerPath:kr,unregisterPath:Er}},[kr,Er]),Sr=r.useMemo(function(){return{isSubPathKey:Dr}},[Dr]);r.useEffect(function(){Fr(Or?lt:bn.slice(Cr+1).map(function(nr){return nr.key}))},[Cr,Or]);var In=(0,s.Z)(ne||ae&&((Ce=bn[0])===null||Ce===void 0?void 0:Ce.key),{value:ne}),dn=(0,V.Z)(In,2),Wn=dn[0],Qn=dn[1],qn=K(function(nr){Qn(nr)}),er=K(function(){Qn(void 0)});(0,r.useImperativeHandle)(de,function(){return{list:Gn.current,focus:function(Un){var Yn,_r=Br(),cr=se(_r,an),br=cr.elements,Xr=cr.key2element,ei=cr.element2key,ti=X(Gn.current,br),Jr=Wn!=null?Wn:ti[0]?ei.get(ti[0]):(Yn=bn.find(function(Wr){return!Wr.props.disabled}))===null||Yn===void 0?void 0:Yn.key,Ar=Xr.get(Jr);if(Jr&&Ar){var jr;Ar==null||(jr=Ar.focus)===null||jr===void 0||jr.call(Ar,Un)}}}});var sr=(0,s.Z)(Pe||[],{value:te,postState:function(Un){return Array.isArray(Un)?Un:Un==null?lt:[Un]}}),pr=(0,V.Z)(sr,2),vr=pr[0],wr=pr[1],yr=function(Un){if(ue){var Yn=Un.key,_r=vr.includes(Yn),cr;xe?_r?cr=vr.filter(function(Xr){return Xr!==Yn}):cr=[].concat((0,Q.Z)(vr),[Yn]):cr=[Yn],wr(cr);var br=(0,W.Z)((0,W.Z)({},Un),{},{selectedKeys:cr});_r?_e==null||_e(br):oe==null||oe(br)}!xe&&_t.length&&ur!=="inline"&&Dt(lt)},Rr=K(function(nr){sn==null||sn(rt(nr)),yr(nr)}),or=K(function(nr,Un){var Yn=_t.filter(function(cr){return cr!==nr});if(Un)Yn.push(nr);else if(ur!=="inline"){var _r=$r(nr);Yn=Yn.filter(function(cr){return!_r.has(cr)})}(0,c.Z)(_t,Yn,!0)||Dt(Yn,!0)}),Ir=function(Un,Yn){var _r=Yn!=null?Yn:!_t.includes(Un);or(Un,_r)},Gr=pe(ur,Wn,Dn,an,Gn,Br,Hr,Qn,Ir,Tn);r.useEffect(function(){rr(!0)},[]);var zr=r.useMemo(function(){return{_internalRenderMenuItem:Vt,_internalRenderSubMenuItem:mt}},[Vt,mt]),Yr=ur!=="horizontal"||He?bn:bn.map(function(nr,Un){return r.createElement(l,{key:nr.key,overflowDisabled:Un>Cr},nr)}),qr=r.createElement(e.Z,(0,N.Z)({id:kt,ref:Gn,prefixCls:"".concat(ke,"-overflow"),component:"ul",itemComponent:Qt,className:G()(ke,"".concat(ke,"-root"),"".concat(ke,"-").concat(ur),st,(0,D.Z)((0,D.Z)({},"".concat(ke,"-inline-collapsed"),Lr),"".concat(ke,"-rtl"),Dn),Ae),dir:Mt,style:Ue,role:"menu",tabIndex:ht,data:Yr,renderRawItem:function(Un){return Un},renderRawRest:function(Un){var Yn=Un.length,_r=Yn?bn.slice(-Yn):null;return r.createElement(Y,{eventKey:O,title:rn,disabled:Or,internalPopupClose:Yn===0,popupClassName:Jt},_r)},maxCount:ur!=="horizontal"||He?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Un){xr(Un)},onKeyDown:Gr},Ft));return r.createElement(g.Provider,{value:zr},r.createElement(o.Provider,{value:an},r.createElement(l,{prefixCls:ke,rootClassName:Ae,mode:ur,openKeys:_t,rtl:Dn,disabled:Qe,motion:tr?qe:null,defaultMotions:tr?Ct:null,activeKey:Wn,onActive:qn,onInactive:er,selectedKeys:vr,inlineIndent:Re,subMenuOpenDelay:en,subMenuCloseDelay:vn,forceSubMenuRender:Rn,builtinPlacements:xt,triggerSubMenuAction:Zt,getPopupContainer:Xt,itemIcon:Kt,expandIcon:nn,onItemClick:Rr,onOpenChange:or},r.createElement(B.Provider,{value:Sr},qr),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(P.Provider,{value:Tr},zn)))))}),It=et,Je=It;Je.Item=Qt,Je.SubMenu=Y,Je.ItemGroup=tt,Je.Divider=Te;var nt=Je},11780:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return w}});var N=u(72308),D=u(77321),W=u(52487),Q=u(74416),V=u(59301),_=u(92310),H=u.n(_),G=u(29301),e=u(34280),s=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],c=void 0;function t(n,i){var y=n.prefixCls,F=n.invalidate,le=n.item,Ee=n.renderItem,Le=n.responsive,Ve=n.responsiveDisabled,it=n.registerSize,zt=n.itemKey,be=n.className,Ge=n.style,Lt=n.children,Ie=n.display,Oe=n.order,T=n.component,A=T===void 0?"div":T,X=(0,Q.Z)(n,s),M=Le&&!Ie;function se(z){it(zt,z)}V.useEffect(function(){return function(){se(null)}},[]);var pe=Ee&&le!==c?Ee(le,{index:Oe}):Lt,R;F||(R={opacity:M?0:1,height:M?0:c,overflowY:M?"hidden":c,order:Le?Oe:c,pointerEvents:M?"none":c,position:M?"absolute":c});var m={};M&&(m["aria-hidden"]=!0);var C=V.createElement(A,(0,N.Z)({className:H()(!F&&y,be),style:(0,D.Z)((0,D.Z)({},R),Ge)},m,X,{ref:i}),pe);return Le&&(C=V.createElement(G.Z,{onResize:function(O){var U=O.offsetWidth;se(U)},disabled:Ve},C)),C}var r=V.forwardRef(t);r.displayName="Item";var a=r,o=u(6089),v=u(4676),x=u(16089);function E(n){if(typeof MessageChannel=="undefined")(0,x.Z)(n);else{var i=new MessageChannel;i.port1.onmessage=function(){return n()},i.port2.postMessage(void 0)}}function h(){var n=V.useRef(null),i=function(F){n.current||(n.current=[],E(function(){(0,v.unstable_batchedUpdates)(function(){n.current.forEach(function(le){le()}),n.current=null})})),n.current.push(F)};return i}function p(n,i){var y=V.useState(i),F=(0,W.Z)(y,2),le=F[0],Ee=F[1],Le=(0,o.Z)(function(Ve){n(function(){Ee(Ve)})});return[le,Le]}var f=V.createContext(null),l=["component"],k=["className"],P=["className"],L=function(i,y){var F=V.useContext(f);if(!F){var le=i.component,Ee=le===void 0?"div":le,Le=(0,Q.Z)(i,l);return V.createElement(Ee,(0,N.Z)({},Le,{ref:y}))}var Ve=F.className,it=(0,Q.Z)(F,k),zt=i.className,be=(0,Q.Z)(i,P);return V.createElement(f.Provider,{value:null},V.createElement(a,(0,N.Z)({ref:y,className:H()(Ve,zt)},it,be)))},j=V.forwardRef(L);j.displayName="RawItem";var J=j,B=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ye="responsive",g="invalidate";function d(n){return"+ ".concat(n.length," ...")}function b(n,i){var y=n.prefixCls,F=y===void 0?"rc-overflow":y,le=n.data,Ee=le===void 0?[]:le,Le=n.renderItem,Ve=n.renderRawItem,it=n.itemKey,zt=n.itemWidth,be=zt===void 0?10:zt,Ge=n.ssr,Lt=n.style,Ie=n.className,Oe=n.maxCount,T=n.renderRest,A=n.renderRawRest,X=n.suffix,M=n.component,se=M===void 0?"div":M,pe=n.itemComponent,R=n.onVisibleChange,m=(0,Q.Z)(n,B),C=Ge==="full",z=h(),O=p(z,null),U=(0,W.Z)(O,2),K=U[0],ee=U[1],q=K||0,ce=p(z,new Map),we=(0,W.Z)(ce,2),ge=we[0],Ke=we[1],Me=p(z,0),Fe=(0,W.Z)(Me,2),ft=Fe[0],je=Fe[1],ze=p(z,0),Nt=(0,W.Z)(ze,2),Tt=Nt[0],rt=Nt[1],jt=p(z,0),hn=(0,W.Z)(jt,2),St=hn[0],vt=hn[1],Rt=(0,V.useState)(null),on=(0,W.Z)(Rt,2),Qt=on[0],qt=on[1],En=(0,V.useState)(null),fn=(0,W.Z)(En,2),We=fn[0],gt=fn[1],Gt=V.useMemo(function(){return We===null&&C?Number.MAX_SAFE_INTEGER:We||0},[We,K]),mn=(0,V.useState)(!1),Wt=(0,W.Z)(mn,2),kn=Wt[0],Vn=Wt[1],Sn="".concat(F,"-item"),Yt=Math.max(ft,Tt),Nn=Oe===ye,xn=Ee.length&&Nn,On=Oe===g,gn=xn||typeof Oe=="number"&&Ee.length>Oe,Cn=(0,V.useMemo)(function(){var Je=Ee;return xn?K===null&&C?Je=Ee:Je=Ee.slice(0,Math.min(Ee.length,q/be)):typeof Oe=="number"&&(Je=Ee.slice(0,Oe)),Je},[Ee,be,K,Oe,xn]),An=(0,V.useMemo)(function(){return xn?Ee.slice(Gt+1):Ee.slice(Cn.length)},[Ee,Cn,xn,Gt]),Zn=(0,V.useCallback)(function(Je,nt){var $;return typeof it=="function"?it(Je):($=it&&(Je==null?void 0:Je[it]))!==null&&$!==void 0?$:nt},[it]),re=(0,V.useCallback)(Le||function(Je){return Je},[Le]);function Y(Je,nt,$){We===Je&&(nt===void 0||nt===Qt)||(gt(Je),$||(Vn(Je<Ee.length-1),R==null||R(Je)),nt!==void 0&&qt(nt))}function $e(Je,nt){ee(nt.clientWidth)}function Te(Je,nt){Ke(function($){var de=new Map($);return nt===null?de.delete(Je):de.set(Je,nt),de})}function Ye(Je,nt){rt(nt),je(Tt)}function Xe(Je,nt){vt(nt)}function ot(Je){return ge.get(Zn(Cn[Je],Je))}(0,e.Z)(function(){if(q&&typeof Yt=="number"&&Cn){var Je=St,nt=Cn.length,$=nt-1;if(!nt){Y(0,null);return}for(var de=0;de<nt;de+=1){var Ce=ot(de);if(C&&(Ce=Ce||0),Ce===void 0){Y(de-1,void 0,!0);break}if(Je+=Ce,$===0&&Je<=q||de===$-1&&Je+ot($)<=q){Y($,null);break}else if(Je+Yt>q){Y(de-1,Je-Ce-St+Tt);break}}X&&ot(0)+St>q&&qt(null)}},[q,ge,Tt,St,Zn,Cn]);var tt=kn&&!!An.length,Pt={};Qt!==null&&xn&&(Pt={position:"absolute",left:Qt,top:0});var Se={prefixCls:Sn,responsive:xn,component:pe,invalidate:On},me=Ve?function(Je,nt){var $=Zn(Je,nt);return V.createElement(f.Provider,{key:$,value:(0,D.Z)((0,D.Z)({},Se),{},{order:nt,item:Je,itemKey:$,registerSize:Te,display:nt<=Gt})},Ve(Je,nt))}:function(Je,nt){var $=Zn(Je,nt);return V.createElement(a,(0,N.Z)({},Se,{order:nt,key:$,item:Je,renderItem:re,itemKey:$,registerSize:Te,display:nt<=Gt}))},Be={order:tt?Gt:Number.MAX_SAFE_INTEGER,className:"".concat(Sn,"-rest"),registerSize:Ye,display:tt},lt=T||d,et=A?V.createElement(f.Provider,{value:(0,D.Z)((0,D.Z)({},Se),Be)},A(An)):V.createElement(a,(0,N.Z)({},Se,Be),typeof lt=="function"?lt(An):lt),It=V.createElement(se,(0,N.Z)({className:H()(!On&&F,Ie),style:Lt,ref:i},m),Cn.map(me),gn?et:null,X&&V.createElement(a,(0,N.Z)({},Se,{responsive:Nn,responsiveDisabled:!xn,order:Gt,className:"".concat(Sn,"-suffix"),registerSize:Xe,display:!0,style:Pt}),X));return Nn?V.createElement(G.Z,{onResize:$e,disabled:!xn},It):It}var S=V.forwardRef(b);S.displayName="Overflow",S.Item=J,S.RESPONSIVE=ye,S.INVALIDATE=g;var I=S,w=I},23425:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return P}});var N=u(49618),D=u(72308),W=u(62853),Q=u(77321),V=u(52487),_=u(92310),H=u.n(_),G=u(18929),e=u(10228),s=u(26112),c=u(48736),t=u(59301),r=u(17119),a=[10,20,50,100],o=function(j){var J=j.pageSizeOptions,B=J===void 0?a:J,ye=j.locale,g=j.changeSize,d=j.pageSize,b=j.goButton,S=j.quickGo,I=j.rootPrefixCls,w=j.disabled,n=j.buildOptionText,i=j.showSizeChanger,y=j.sizeChangerRender,F=t.useState(""),le=(0,V.Z)(F,2),Ee=le[0],Le=le[1],Ve=function(){return!Ee||Number.isNaN(Ee)?void 0:Number(Ee)},it=typeof n=="function"?n:function(X){return"".concat(X," ").concat(ye.items_per_page)},zt=function(M){Le(M.target.value)},be=function(M){b||Ee===""||(Le(""),!(M.relatedTarget&&(M.relatedTarget.className.indexOf("".concat(I,"-item-link"))>=0||M.relatedTarget.className.indexOf("".concat(I,"-item"))>=0))&&(S==null||S(Ve())))},Ge=function(M){Ee!==""&&(M.keyCode===e.Z.ENTER||M.type==="click")&&(Le(""),S==null||S(Ve()))},Lt=function(){return B.some(function(M){return M.toString()===d.toString()})?B:B.concat([d]).sort(function(M,se){var pe=Number.isNaN(Number(M))?0:Number(M),R=Number.isNaN(Number(se))?0:Number(se);return pe-R})},Ie="".concat(I,"-options");if(!i&&!S)return null;var Oe=null,T=null,A=null;return i&&y&&(Oe=y({disabled:w,size:d,onSizeChange:function(M){g==null||g(Number(M))},"aria-label":ye.page_size,className:"".concat(Ie,"-size-changer"),options:Lt().map(function(X){return{label:it(X),value:X}})})),S&&(b&&(A=typeof b=="boolean"?t.createElement("button",{type:"button",onClick:Ge,onKeyUp:Ge,disabled:w,className:"".concat(Ie,"-quick-jumper-button")},ye.jump_to_confirm):t.createElement("span",{onClick:Ge,onKeyUp:Ge},b)),T=t.createElement("div",{className:"".concat(Ie,"-quick-jumper")},ye.jump_to,t.createElement("input",{disabled:w,type:"text",value:Ee,onChange:zt,onKeyUp:Ge,onBlur:be,"aria-label":ye.page}),ye.page,A)),t.createElement("li",{className:Ie},Oe,T)},v=o,x=function(j){var J=j.rootPrefixCls,B=j.page,ye=j.active,g=j.className,d=j.showTitle,b=j.onClick,S=j.onKeyPress,I=j.itemRender,w="".concat(J,"-item"),n=H()(w,"".concat(w,"-").concat(B),(0,N.Z)((0,N.Z)({},"".concat(w,"-active"),ye),"".concat(w,"-disabled"),!B),g),i=function(){b(B)},y=function(Ee){S(Ee,b,B)},F=I(B,"page",t.createElement("a",{rel:"nofollow"},B));return F?t.createElement("li",{title:d?String(B):null,className:n,onClick:i,onKeyDown:y,tabIndex:0},F):null},E=x,h=function(j,J,B){return B};function p(){}function f(L){var j=Number(L);return typeof j=="number"&&!Number.isNaN(j)&&isFinite(j)&&Math.floor(j)===j}function l(L,j,J){var B=typeof L=="undefined"?j:L;return Math.floor((J-1)/B)+1}var k=function(j){var J=j.prefixCls,B=J===void 0?"rc-pagination":J,ye=j.selectPrefixCls,g=ye===void 0?"rc-select":ye,d=j.className,b=j.current,S=j.defaultCurrent,I=S===void 0?1:S,w=j.total,n=w===void 0?0:w,i=j.pageSize,y=j.defaultPageSize,F=y===void 0?10:y,le=j.onChange,Ee=le===void 0?p:le,Le=j.hideOnSinglePage,Ve=j.align,it=j.showPrevNextJumpers,zt=it===void 0?!0:it,be=j.showQuickJumper,Ge=j.showLessItems,Lt=j.showTitle,Ie=Lt===void 0?!0:Lt,Oe=j.onShowSizeChange,T=Oe===void 0?p:Oe,A=j.locale,X=A===void 0?r.Z:A,M=j.style,se=j.totalBoundaryShowSizeChanger,pe=se===void 0?50:se,R=j.disabled,m=j.simple,C=j.showTotal,z=j.showSizeChanger,O=z===void 0?n>pe:z,U=j.sizeChangerRender,K=j.pageSizeOptions,ee=j.itemRender,q=ee===void 0?h:ee,ce=j.jumpPrevIcon,we=j.jumpNextIcon,ge=j.prevIcon,Ke=j.nextIcon,Me=t.useRef(null),Fe=(0,G.Z)(10,{value:i,defaultValue:F}),ft=(0,V.Z)(Fe,2),je=ft[0],ze=ft[1],Nt=(0,G.Z)(1,{value:b,defaultValue:I,postState:function(He){return Math.max(1,Math.min(He,l(void 0,je,n)))}}),Tt=(0,V.Z)(Nt,2),rt=Tt[0],jt=Tt[1],hn=t.useState(rt),St=(0,V.Z)(hn,2),vt=St[0],Rt=St[1];(0,t.useEffect)(function(){Rt(rt)},[rt]);var on=Ee!==p,Qt="current"in j,qt=Math.max(1,rt-(Ge?3:5)),En=Math.min(l(void 0,je,n),rt+(Ge?3:5));function fn(Qe,He){var at=Qe||t.createElement("button",{type:"button","aria-label":He,className:"".concat(B,"-item-link")});return typeof Qe=="function"&&(at=t.createElement(Qe,(0,Q.Z)({},j))),at}function We(Qe){var He=Qe.target.value,at=l(void 0,je,n),en;return He===""?en=He:Number.isNaN(Number(He))?en=vt:He>=at?en=at:en=Number(He),en}function gt(Qe){return f(Qe)&&Qe!==rt&&f(n)&&n>0}var Gt=n>je?be:!1;function mn(Qe){(Qe.keyCode===e.Z.UP||Qe.keyCode===e.Z.DOWN)&&Qe.preventDefault()}function Wt(Qe){var He=We(Qe);switch(He!==vt&&Rt(He),Qe.keyCode){case e.Z.ENTER:Sn(He);break;case e.Z.UP:Sn(He-1);break;case e.Z.DOWN:Sn(He+1);break;default:break}}function kn(Qe){Sn(We(Qe))}function Vn(Qe){var He=l(Qe,je,n),at=rt>He&&He!==0?He:rt;ze(Qe),Rt(at),T==null||T(rt,Qe),jt(at),Ee==null||Ee(at,Qe)}function Sn(Qe){if(gt(Qe)&&!R){var He=l(void 0,je,n),at=Qe;return Qe>He?at=He:Qe<1&&(at=1),at!==vt&&Rt(at),jt(at),Ee==null||Ee(at,je),at}return rt}var Yt=rt>1,Nn=rt<l(void 0,je,n);function xn(){Yt&&Sn(rt-1)}function On(){Nn&&Sn(rt+1)}function gn(){Sn(qt)}function Cn(){Sn(En)}function An(Qe,He){if(Qe.key==="Enter"||Qe.charCode===e.Z.ENTER||Qe.keyCode===e.Z.ENTER){for(var at=arguments.length,en=new Array(at>2?at-2:0),ln=2;ln<at;ln++)en[ln-2]=arguments[ln];He.apply(void 0,en)}}function Zn(Qe){An(Qe,xn)}function re(Qe){An(Qe,On)}function Y(Qe){An(Qe,gn)}function $e(Qe){An(Qe,Cn)}function Te(Qe){var He=q(Qe,"prev",fn(ge,"prev page"));return t.isValidElement(He)?t.cloneElement(He,{disabled:!Yt}):He}function Ye(Qe){var He=q(Qe,"next",fn(Ke,"next page"));return t.isValidElement(He)?t.cloneElement(He,{disabled:!Nn}):He}function Xe(Qe){(Qe.type==="click"||Qe.keyCode===e.Z.ENTER)&&Sn(vt)}var ot=null,tt=(0,s.Z)(j,{aria:!0,data:!0}),Pt=C&&t.createElement("li",{className:"".concat(B,"-total-text")},C(n,[n===0?0:(rt-1)*je+1,rt*je>n?n:rt*je])),Se=null,me=l(void 0,je,n);if(Le&&n<=je)return null;var Be=[],lt={rootPrefixCls:B,onClick:Sn,onKeyPress:An,showTitle:Ie,itemRender:q,page:-1},et=rt-1>0?rt-1:0,It=rt+1<me?rt+1:me,Je=be&&be.goButton,nt=(0,W.Z)(m)==="object"?m.readOnly:!m,$=Je,de=null;m&&(Je&&(typeof Je=="boolean"?$=t.createElement("button",{type:"button",onClick:Xe,onKeyUp:Xe},X.jump_to_confirm):$=t.createElement("span",{onClick:Xe,onKeyUp:Xe},Je),$=t.createElement("li",{title:Ie?"".concat(X.jump_to).concat(rt,"/").concat(me):null,className:"".concat(B,"-simple-pager")},$)),de=t.createElement("li",{title:Ie?"".concat(rt,"/").concat(me):null,className:"".concat(B,"-simple-pager")},nt?vt:t.createElement("input",{type:"text","aria-label":X.jump_to,value:vt,disabled:R,onKeyDown:mn,onKeyUp:Wt,onChange:Wt,onBlur:kn,size:3}),t.createElement("span",{className:"".concat(B,"-slash")},"/"),me));var Ce=Ge?1:2;if(me<=3+Ce*2){me||Be.push(t.createElement(E,(0,D.Z)({},lt,{key:"noPager",page:1,className:"".concat(B,"-item-disabled")})));for(var fe=1;fe<=me;fe+=1)Be.push(t.createElement(E,(0,D.Z)({},lt,{key:fe,page:fe,active:rt===fe})))}else{var Ne=Ge?X.prev_3:X.prev_5,ke=Ge?X.next_3:X.next_5,Ae=q(qt,"jump-prev",fn(ce,"prev page")),Ue=q(En,"jump-next",fn(we,"next page"));zt&&(ot=Ae?t.createElement("li",{title:Ie?Ne:null,key:"prev",onClick:gn,tabIndex:0,onKeyDown:Y,className:H()("".concat(B,"-jump-prev"),(0,N.Z)({},"".concat(B,"-jump-prev-custom-icon"),!!ce))},Ae):null,Se=Ue?t.createElement("li",{title:Ie?ke:null,key:"next",onClick:Cn,tabIndex:0,onKeyDown:$e,className:H()("".concat(B,"-jump-next"),(0,N.Z)({},"".concat(B,"-jump-next-custom-icon"),!!we))},Ue):null);var st=Math.max(1,rt-Ce),ct=Math.min(rt+Ce,me);rt-1<=Ce&&(ct=1+Ce*2),me-rt<=Ce&&(st=me-Ce*2);for(var ht=st;ht<=ct;ht+=1)Be.push(t.createElement(E,(0,D.Z)({},lt,{key:ht,page:ht,active:rt===ht})));if(rt-1>=Ce*2&&rt!==3&&(Be[0]=t.cloneElement(Be[0],{className:H()("".concat(B,"-item-after-jump-prev"),Be[0].props.className)}),Be.unshift(ot)),me-rt>=Ce*2&&rt!==me-2){var ut=Be[Be.length-1];Be[Be.length-1]=t.cloneElement(ut,{className:H()("".concat(B,"-item-before-jump-next"),ut.props.className)}),Be.push(Se)}st!==1&&Be.unshift(t.createElement(E,(0,D.Z)({},lt,{key:1,page:1}))),ct!==me&&Be.push(t.createElement(E,(0,D.Z)({},lt,{key:me,page:me})))}var Ot=Te(et);if(Ot){var Mt=!Yt||!me;Ot=t.createElement("li",{title:Ie?X.prev_page:null,onClick:xn,tabIndex:Mt?null:0,onKeyDown:Zn,className:H()("".concat(B,"-prev"),(0,N.Z)({},"".concat(B,"-disabled"),Mt)),"aria-disabled":Mt},Ot)}var kt=Ye(It);if(kt){var bt,wt;m?(bt=!Nn,wt=Yt?0:null):(bt=!Nn||!me,wt=bt?null:0),kt=t.createElement("li",{title:Ie?X.next_page:null,onClick:On,tabIndex:wt,onKeyDown:re,className:H()("".concat(B,"-next"),(0,N.Z)({},"".concat(B,"-disabled"),bt)),"aria-disabled":bt},kt)}var $t=H()(B,d,(0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)({},"".concat(B,"-start"),Ve==="start"),"".concat(B,"-center"),Ve==="center"),"".concat(B,"-end"),Ve==="end"),"".concat(B,"-simple"),m),"".concat(B,"-disabled"),R));return t.createElement("ul",(0,D.Z)({className:$t,style:M,ref:Me},tt),Pt,Ot,m?de:Be,kt,t.createElement(v,{locale:X,rootPrefixCls:B,disabled:R,selectPrefixCls:g,changeSize:Vn,pageSize:je,pageSizeOptions:K,quickGo:Gt?Sn:null,goButton:$,showSizeChanger:O,sizeChangerRender:U}))},P=k},29301:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return g}});var N=u(72308),D=u(59301),W=u(11592),Q=u(48736),V=u(77321),_=u(62853),H=u(76846),G=u(8654),e=D.createContext(null);function s(d){var b=d.children,S=d.onBatchResize,I=D.useRef(0),w=D.useRef([]),n=D.useContext(e),i=D.useCallback(function(y,F,le){I.current+=1;var Ee=I.current;w.current.push({size:y,element:F,data:le}),Promise.resolve().then(function(){Ee===I.current&&(S==null||S(w.current),w.current=[])}),n==null||n(y,F,le)},[S,n]);return D.createElement(e.Provider,{value:i},b)}var c=u(76374),t=new Map;function r(d){d.forEach(function(b){var S,I=b.target;(S=t.get(I))===null||S===void 0||S.forEach(function(w){return w(I)})})}var a=new c.Z(r),o=null,v=null;function x(d,b){t.has(d)||(t.set(d,new Set),a.observe(d)),t.get(d).add(b)}function E(d,b){t.has(d)&&(t.get(d).delete(b),t.get(d).size||(a.unobserve(d),t.delete(d)))}var h=u(96949),p=u(55090),f=u(77205),l=u(38793),k=function(d){(0,f.Z)(S,d);var b=(0,l.Z)(S);function S(){return(0,h.Z)(this,S),b.apply(this,arguments)}return(0,p.Z)(S,[{key:"render",value:function(){return this.props.children}}]),S}(D.Component);function P(d,b){var S=d.children,I=d.disabled,w=D.useRef(null),n=D.useRef(null),i=D.useContext(e),y=typeof S=="function",F=y?S(w):S,le=D.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Ee=!y&&D.isValidElement(F)&&(0,G.Yr)(F),Le=Ee?(0,G.C4)(F):null,Ve=(0,G.x1)(Le,w),it=function(){var Lt;return(0,H.ZP)(w.current)||(w.current&&(0,_.Z)(w.current)==="object"?(0,H.ZP)((Lt=w.current)===null||Lt===void 0?void 0:Lt.nativeElement):null)||(0,H.ZP)(n.current)};D.useImperativeHandle(b,function(){return it()});var zt=D.useRef(d);zt.current=d;var be=D.useCallback(function(Ge){var Lt=zt.current,Ie=Lt.onResize,Oe=Lt.data,T=Ge.getBoundingClientRect(),A=T.width,X=T.height,M=Ge.offsetWidth,se=Ge.offsetHeight,pe=Math.floor(A),R=Math.floor(X);if(le.current.width!==pe||le.current.height!==R||le.current.offsetWidth!==M||le.current.offsetHeight!==se){var m={width:pe,height:R,offsetWidth:M,offsetHeight:se};le.current=m;var C=M===Math.round(A)?A:M,z=se===Math.round(X)?X:se,O=(0,V.Z)((0,V.Z)({},m),{},{offsetWidth:C,offsetHeight:z});i==null||i(O,Ge,Oe),Ie&&Promise.resolve().then(function(){Ie(O,Ge)})}},[]);return D.useEffect(function(){var Ge=it();return Ge&&!I&&x(Ge,be),function(){return E(Ge,be)}},[w.current,I]),D.createElement(k,{ref:n},Ee?D.cloneElement(F,{ref:Ve}):F)}var L=D.forwardRef(P),j=L,J="rc-observer-key";function B(d,b){var S=d.children,I=typeof S=="function"?[S]:(0,W.Z)(S);return I.map(function(w,n){var i=(w==null?void 0:w.key)||"".concat(J,"-").concat(n);return D.createElement(j,(0,N.Z)({},d,{key:i,ref:n===0?b:void 0}),w)})}var ye=D.forwardRef(B);ye.Collection=s;var g=ye},69582:function(Bt,Ze,u){"use strict";u.d(Ze,{ZP:function(){return H}});var N=u(52487),D=u(59301),W=u(47273),Q=0,V=(0,W.Z)();function _(){var G;return V?(G=Q,Q+=1):G="TEST_OR_SSR",G}function H(G){var e=D.useState(),s=(0,N.Z)(e,2),c=s[0],t=s[1];return D.useEffect(function(){t("rc_select_".concat(_()))},[]),G||c}},45560:function(Bt,Ze,u){"use strict";u.d(Ze,{Ac:function(){return ge},Xo:function(){return Me},Wx:function(){return ft},ZP:function(){return Zn},lk:function(){return p}});var N=u(72308),D=u(80702),W=u(49618),Q=u(77321),V=u(52487),_=u(74416),H=u(62853),G=u(18929),e=u(48736),s=u(59301),c=u(92310),t=u.n(c),r=u(34280),a=u(49658),o=u(8654),v=function(Y){var $e=Y.className,Te=Y.customizeIcon,Ye=Y.customizeIconProps,Xe=Y.children,ot=Y.onMouseDown,tt=Y.onClick,Pt=typeof Te=="function"?Te(Ye):Te;return s.createElement("span",{className:$e,onMouseDown:function(me){me.preventDefault(),ot==null||ot(me)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:tt,"aria-hidden":!0},Pt!==void 0?Pt:s.createElement("span",{className:t()($e.split(/\s+/).map(function(Se){return"".concat(Se,"-icon")}))},Xe))},x=v,E=function(Y,$e,Te,Ye,Xe){var ot=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,tt=arguments.length>6?arguments[6]:void 0,Pt=arguments.length>7?arguments[7]:void 0,Se=s.useMemo(function(){if((0,H.Z)(Ye)==="object")return Ye.clearIcon;if(Xe)return Xe},[Ye,Xe]),me=s.useMemo(function(){return!!(!ot&&Ye&&(Te.length||tt)&&!(Pt==="combobox"&&tt===""))},[Ye,ot,Te.length,tt,Pt]);return{allowClear:me,clearIcon:s.createElement(x,{className:"".concat(Y,"-clear"),onMouseDown:$e,customizeIcon:Se},"\xD7")}},h=s.createContext(null);function p(){return s.useContext(h)}function f(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Y=s.useState(!1),$e=(0,V.Z)(Y,2),Te=$e[0],Ye=$e[1],Xe=s.useRef(null),ot=function(){window.clearTimeout(Xe.current)};s.useEffect(function(){return ot},[]);var tt=function(Se,me){ot(),Xe.current=window.setTimeout(function(){Ye(Se),me&&me()},re)};return[Te,tt,ot]}function l(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Y=s.useRef(null),$e=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout($e.current)}},[]);function Te(Ye){(Ye||Y.current===null)&&(Y.current=Ye),window.clearTimeout($e.current),$e.current=window.setTimeout(function(){Y.current=null},re)}return[function(){return Y.current},Te]}function k(re,Y,$e,Te){var Ye=s.useRef(null);Ye.current={open:Y,triggerOpen:$e,customizedTrigger:Te},s.useEffect(function(){function Xe(ot){var tt;if(!((tt=Ye.current)!==null&&tt!==void 0&&tt.customizedTrigger)){var Pt=ot.target;Pt.shadowRoot&&ot.composed&&(Pt=ot.composedPath()[0]||Pt),Ye.current.open&&re().filter(function(Se){return Se}).every(function(Se){return!Se.contains(Pt)&&Se!==Pt})&&Ye.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Xe),function(){return window.removeEventListener("mousedown",Xe)}},[])}var P=u(10228);function L(re){return re&&![P.Z.ESC,P.Z.SHIFT,P.Z.BACKSPACE,P.Z.TAB,P.Z.WIN_KEY,P.Z.ALT,P.Z.META,P.Z.WIN_KEY_RIGHT,P.Z.CTRL,P.Z.SEMICOLON,P.Z.EQUALS,P.Z.CAPS_LOCK,P.Z.CONTEXT_MENU,P.Z.F1,P.Z.F2,P.Z.F3,P.Z.F4,P.Z.F5,P.Z.F6,P.Z.F7,P.Z.F8,P.Z.F9,P.Z.F10,P.Z.F11,P.Z.F12].includes(re)}var j=u(26112),J=u(11780),B=function(Y,$e){var Te,Ye=Y.prefixCls,Xe=Y.id,ot=Y.inputElement,tt=Y.disabled,Pt=Y.tabIndex,Se=Y.autoFocus,me=Y.autoComplete,Be=Y.editable,lt=Y.activeDescendantId,et=Y.value,It=Y.maxLength,Je=Y.onKeyDown,nt=Y.onMouseDown,$=Y.onChange,de=Y.onPaste,Ce=Y.onCompositionStart,fe=Y.onCompositionEnd,Ne=Y.onBlur,ke=Y.open,Ae=Y.attrs,Ue=ot||s.createElement("input",null),st=Ue,ct=st.ref,ht=st.props,ut=ht.onKeyDown,Ot=ht.onChange,Mt=ht.onMouseDown,kt=ht.onCompositionStart,bt=ht.onCompositionEnd,wt=ht.onBlur,$t=ht.style;return(0,e.Kp)(!("maxLength"in Ue.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Ue=s.cloneElement(Ue,(0,Q.Z)((0,Q.Z)((0,Q.Z)({type:"search"},ht),{},{id:Xe,ref:(0,o.sQ)($e,ct),disabled:tt,tabIndex:Pt,autoComplete:me||"off",autoFocus:Se,className:t()("".concat(Ye,"-selection-search-input"),(Te=Ue)===null||Te===void 0||(Te=Te.props)===null||Te===void 0?void 0:Te.className),role:"combobox","aria-expanded":ke||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Xe,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Xe,"_list"),"aria-activedescendant":ke?lt:void 0},Ae),{},{value:Be?et:"",maxLength:It,readOnly:!Be,unselectable:Be?null:"on",style:(0,Q.Z)((0,Q.Z)({},$t),{},{opacity:Be?null:0}),onKeyDown:function(He){Je(He),ut&&ut(He)},onMouseDown:function(He){nt(He),Mt&&Mt(He)},onChange:function(He){$(He),Ot&&Ot(He)},onCompositionStart:function(He){Ce(He),kt&&kt(He)},onCompositionEnd:function(He){fe(He),bt&&bt(He)},onPaste:de,onBlur:function(He){Ne(He),wt&&wt(He)}})),Ue},ye=s.forwardRef(B),g=ye;function d(re){return Array.isArray(re)?re:re!==void 0?[re]:[]}var b=typeof window!="undefined"&&window.document&&window.document.documentElement,S=b;function I(re){return re!=null}function w(re){return!re&&re!==0}function n(re){return["string","number"].includes((0,H.Z)(re))}function i(re){var Y=void 0;return re&&(n(re.title)?Y=re.title.toString():n(re.label)&&(Y=re.label.toString())),Y}function y(re,Y){S?s.useLayoutEffect(re,Y):s.useEffect(re,Y)}function F(re){var Y;return(Y=re.key)!==null&&Y!==void 0?Y:re.value}var le=function(Y){Y.preventDefault(),Y.stopPropagation()},Ee=function(Y){var $e=Y.id,Te=Y.prefixCls,Ye=Y.values,Xe=Y.open,ot=Y.searchValue,tt=Y.autoClearSearchValue,Pt=Y.inputRef,Se=Y.placeholder,me=Y.disabled,Be=Y.mode,lt=Y.showSearch,et=Y.autoFocus,It=Y.autoComplete,Je=Y.activeDescendantId,nt=Y.tabIndex,$=Y.removeIcon,de=Y.maxTagCount,Ce=Y.maxTagTextLength,fe=Y.maxTagPlaceholder,Ne=fe===void 0?function(Pe){return"+ ".concat(Pe.length," ...")}:fe,ke=Y.tagRender,Ae=Y.onToggleOpen,Ue=Y.onRemove,st=Y.onInputChange,ct=Y.onInputPaste,ht=Y.onInputKeyDown,ut=Y.onInputMouseDown,Ot=Y.onInputCompositionStart,Mt=Y.onInputCompositionEnd,kt=Y.onInputBlur,bt=s.useRef(null),wt=(0,s.useState)(0),$t=(0,V.Z)(wt,2),Qe=$t[0],He=$t[1],at=(0,s.useState)(!1),en=(0,V.Z)(at,2),ln=en[0],vn=en[1],Rn="".concat(Te,"-selection"),Z=Xe||Be==="multiple"&&tt===!1||Be==="tags"?ot:"",ie=Be==="tags"||Be==="multiple"&&tt===!1||lt&&(Xe||ln);y(function(){He(bt.current.scrollWidth)},[Z]);var ne=function(te,oe,_e,De,Re){return s.createElement("span",{title:i(te),className:t()("".concat(Rn,"-item"),(0,W.Z)({},"".concat(Rn,"-item-disabled"),_e))},s.createElement("span",{className:"".concat(Rn,"-item-content")},oe),De&&s.createElement(x,{className:"".concat(Rn,"-item-remove"),onMouseDown:le,onClick:Re,customizeIcon:$},"\xD7"))},ae=function(te,oe,_e,De,Re,qe){var Ct=function(Zt){le(Zt),Ae(!Xe)};return s.createElement("span",{onMouseDown:Ct},ke({label:oe,value:te,disabled:_e,closable:De,onClose:Re,isMaxTag:!!qe}))},he=function(te){var oe=te.disabled,_e=te.label,De=te.value,Re=!me&&!oe,qe=_e;if(typeof Ce=="number"&&(typeof _e=="string"||typeof _e=="number")){var Ct=String(qe);Ct.length>Ce&&(qe="".concat(Ct.slice(0,Ce),"..."))}var yt=function(xt){xt&&xt.stopPropagation(),Ue(te)};return typeof ke=="function"?ae(De,qe,oe,Re,yt):ne(te,qe,oe,Re,yt)},ue=function(te){if(!Ye.length)return null;var oe=typeof Ne=="function"?Ne(te):Ne;return typeof ke=="function"?ae(void 0,oe,!1,!1,void 0,!0):ne({title:oe},oe,!1)},ve=s.createElement("div",{className:"".concat(Rn,"-search"),style:{width:Qe},onFocus:function(){vn(!0)},onBlur:function(){vn(!1)}},s.createElement(g,{ref:Pt,open:Xe,prefixCls:Te,id:$e,inputElement:null,disabled:me,autoFocus:et,autoComplete:It,editable:ie,activeDescendantId:Je,value:Z,onKeyDown:ht,onMouseDown:ut,onChange:st,onPaste:ct,onCompositionStart:Ot,onCompositionEnd:Mt,onBlur:kt,tabIndex:nt,attrs:(0,j.Z)(Y,!0)}),s.createElement("span",{ref:bt,className:"".concat(Rn,"-search-mirror"),"aria-hidden":!0},Z,"\xA0")),xe=s.createElement(J.Z,{prefixCls:"".concat(Rn,"-overflow"),data:Ye,renderItem:he,renderRest:ue,suffix:ve,itemKey:F,maxCount:de});return s.createElement("span",{className:"".concat(Rn,"-wrap")},xe,!Ye.length&&!Z&&s.createElement("span",{className:"".concat(Rn,"-placeholder")},Se))},Le=Ee,Ve=function(Y){var $e=Y.inputElement,Te=Y.prefixCls,Ye=Y.id,Xe=Y.inputRef,ot=Y.disabled,tt=Y.autoFocus,Pt=Y.autoComplete,Se=Y.activeDescendantId,me=Y.mode,Be=Y.open,lt=Y.values,et=Y.placeholder,It=Y.tabIndex,Je=Y.showSearch,nt=Y.searchValue,$=Y.activeValue,de=Y.maxLength,Ce=Y.onInputKeyDown,fe=Y.onInputMouseDown,Ne=Y.onInputChange,ke=Y.onInputPaste,Ae=Y.onInputCompositionStart,Ue=Y.onInputCompositionEnd,st=Y.onInputBlur,ct=Y.title,ht=s.useState(!1),ut=(0,V.Z)(ht,2),Ot=ut[0],Mt=ut[1],kt=me==="combobox",bt=kt||Je,wt=lt[0],$t=nt||"";kt&&$&&!Ot&&($t=$),s.useEffect(function(){kt&&Mt(!1)},[kt,$]);var Qe=me!=="combobox"&&!Be&&!Je?!1:!!$t,He=ct===void 0?i(wt):ct,at=s.useMemo(function(){return wt?null:s.createElement("span",{className:"".concat(Te,"-selection-placeholder"),style:Qe?{visibility:"hidden"}:void 0},et)},[wt,Qe,et,Te]);return s.createElement("span",{className:"".concat(Te,"-selection-wrap")},s.createElement("span",{className:"".concat(Te,"-selection-search")},s.createElement(g,{ref:Xe,prefixCls:Te,id:Ye,open:Be,inputElement:$e,disabled:ot,autoFocus:tt,autoComplete:Pt,editable:bt,activeDescendantId:Se,value:$t,onKeyDown:Ce,onMouseDown:fe,onChange:function(ln){Mt(!0),Ne(ln)},onPaste:ke,onCompositionStart:Ae,onCompositionEnd:Ue,onBlur:st,tabIndex:It,attrs:(0,j.Z)(Y,!0),maxLength:kt?de:void 0})),!kt&&wt?s.createElement("span",{className:"".concat(Te,"-selection-item"),title:He,style:Qe?{visibility:"hidden"}:void 0},wt.label):null,at)},it=Ve,zt=function(Y,$e){var Te=(0,s.useRef)(null),Ye=(0,s.useRef)(!1),Xe=Y.prefixCls,ot=Y.open,tt=Y.mode,Pt=Y.showSearch,Se=Y.tokenWithEnter,me=Y.disabled,Be=Y.prefix,lt=Y.autoClearSearchValue,et=Y.onSearch,It=Y.onSearchSubmit,Je=Y.onToggleOpen,nt=Y.onInputKeyDown,$=Y.onInputBlur,de=Y.domRef;s.useImperativeHandle($e,function(){return{focus:function(He){Te.current.focus(He)},blur:function(){Te.current.blur()}}});var Ce=l(0),fe=(0,V.Z)(Ce,2),Ne=fe[0],ke=fe[1],Ae=function(He){var at=He.which,en=Te.current instanceof HTMLTextAreaElement;!en&&ot&&(at===P.Z.UP||at===P.Z.DOWN)&&He.preventDefault(),nt&&nt(He),at===P.Z.ENTER&&tt==="tags"&&!Ye.current&&!ot&&(It==null||It(He.target.value)),!(en&&!ot&&~[P.Z.UP,P.Z.DOWN,P.Z.LEFT,P.Z.RIGHT].indexOf(at))&&L(at)&&Je(!0)},Ue=function(){ke(!0)},st=(0,s.useRef)(null),ct=function(He){et(He,!0,Ye.current)!==!1&&Je(!0)},ht=function(){Ye.current=!0},ut=function(He){Ye.current=!1,tt!=="combobox"&&ct(He.target.value)},Ot=function(He){var at=He.target.value;if(Se&&st.current&&/[\r\n]/.test(st.current)){var en=st.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");at=at.replace(en,st.current)}st.current=null,ct(at)},Mt=function(He){var at=He.clipboardData,en=at==null?void 0:at.getData("text");st.current=en||""},kt=function(He){var at=He.target;if(at!==Te.current){var en=document.body.style.msTouchAction!==void 0;en?setTimeout(function(){Te.current.focus()}):Te.current.focus()}},bt=function(He){var at=Ne();He.target!==Te.current&&!at&&!(tt==="combobox"&&me)&&He.preventDefault(),(tt!=="combobox"&&(!Pt||!at)||!ot)&&(ot&&lt!==!1&&et("",!0,!1),Je())},wt={inputRef:Te,onInputKeyDown:Ae,onInputMouseDown:Ue,onInputChange:Ot,onInputPaste:Mt,onInputCompositionStart:ht,onInputCompositionEnd:ut,onInputBlur:$},$t=tt==="multiple"||tt==="tags"?s.createElement(Le,(0,N.Z)({},Y,wt)):s.createElement(it,(0,N.Z)({},Y,wt));return s.createElement("div",{ref:de,className:"".concat(Xe,"-selector"),onClick:kt,onMouseDown:bt},Be&&s.createElement("div",{className:"".concat(Xe,"-prefix")},Be),$t)},be=s.forwardRef(zt),Ge=be,Lt=u(65352),Ie=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Oe=function(Y){var $e=Y===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"}}},T=function(Y,$e){var Te=Y.prefixCls,Ye=Y.disabled,Xe=Y.visible,ot=Y.children,tt=Y.popupElement,Pt=Y.animation,Se=Y.transitionName,me=Y.dropdownStyle,Be=Y.dropdownClassName,lt=Y.direction,et=lt===void 0?"ltr":lt,It=Y.placement,Je=Y.builtinPlacements,nt=Y.dropdownMatchSelectWidth,$=Y.dropdownRender,de=Y.dropdownAlign,Ce=Y.getPopupContainer,fe=Y.empty,Ne=Y.getTriggerDOMNode,ke=Y.onPopupVisibleChange,Ae=Y.onPopupMouseEnter,Ue=(0,_.Z)(Y,Ie),st="".concat(Te,"-dropdown"),ct=tt;$&&(ct=$(tt));var ht=s.useMemo(function(){return Je||Oe(nt)},[Je,nt]),ut=Pt?"".concat(st,"-").concat(Pt):Se,Ot=typeof nt=="number",Mt=s.useMemo(function(){return Ot?null:nt===!1?"minWidth":"width"},[nt,Ot]),kt=me;Ot&&(kt=(0,Q.Z)((0,Q.Z)({},kt),{},{width:nt}));var bt=s.useRef(null);return s.useImperativeHandle($e,function(){return{getPopupElement:function(){var $t;return($t=bt.current)===null||$t===void 0?void 0:$t.popupElement}}}),s.createElement(Lt.Z,(0,N.Z)({},Ue,{showAction:ke?["click"]:[],hideAction:ke?["click"]:[],popupPlacement:It||(et==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:ht,prefixCls:st,popupTransitionName:ut,popup:s.createElement("div",{onMouseEnter:Ae},ct),ref:bt,stretch:Mt,popupAlign:de,popupVisible:Xe,getPopupContainer:Ce,popupClassName:t()(Be,(0,W.Z)({},"".concat(st,"-empty"),fe)),popupStyle:kt,getTriggerDOMNode:Ne,onPopupVisibleChange:ke}),ot)},A=s.forwardRef(T),X=A,M=u(68413);function se(re,Y){var $e=re.key,Te;return"value"in re&&(Te=re.value),$e!=null?$e:Te!==void 0?Te:"rc-index-key-".concat(Y)}function pe(re){return typeof re!="undefined"&&!Number.isNaN(re)}function R(re,Y){var $e=re||{},Te=$e.label,Ye=$e.value,Xe=$e.options,ot=$e.groupLabel,tt=Te||(Y?"children":"label");return{label:tt,value:Ye||"value",options:Xe||"options",groupLabel:ot||tt}}function m(re){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$e=Y.fieldNames,Te=Y.childrenAsData,Ye=[],Xe=R($e,!1),ot=Xe.label,tt=Xe.value,Pt=Xe.options,Se=Xe.groupLabel;function me(Be,lt){Array.isArray(Be)&&Be.forEach(function(et){if(lt||!(Pt in et)){var It=et[tt];Ye.push({key:se(et,Ye.length),groupOption:lt,data:et,label:et[ot],value:It})}else{var Je=et[Se];Je===void 0&&Te&&(Je=et.label),Ye.push({key:se(et,Ye.length),group:!0,data:et,label:Je}),me(et[Pt],!0)}})}return me(re,!1),Ye}function C(re){var Y=(0,Q.Z)({},re);return"props"in Y||Object.defineProperty(Y,"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`."),Y}}),Y}var z=function(Y,$e,Te){if(!$e||!$e.length)return null;var Ye=!1,Xe=function tt(Pt,Se){var me=(0,M.Z)(Se),Be=me[0],lt=me.slice(1);if(!Be)return[Pt];var et=Pt.split(Be);return Ye=Ye||et.length>1,et.reduce(function(It,Je){return[].concat((0,D.Z)(It),(0,D.Z)(tt(Je,lt)))},[]).filter(Boolean)},ot=Xe(Y,$e);return Ye?typeof Te!="undefined"?ot.slice(0,Te):ot:null},O=s.createContext(null),U=O;function K(re){var Y=re.visible,$e=re.values;if(!Y)return null;var Te=50;return s.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat($e.slice(0,Te).map(function(Ye){var Xe=Ye.label,ot=Ye.value;return["number","string"].includes((0,H.Z)(Xe))?Xe:ot}).join(", ")),$e.length>Te?", ...":null)}var ee=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],q=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],ce=function(Y){return Y==="tags"||Y==="multiple"},we=s.forwardRef(function(re,Y){var $e,Te=re.id,Ye=re.prefixCls,Xe=re.className,ot=re.showSearch,tt=re.tagRender,Pt=re.direction,Se=re.omitDomProps,me=re.displayValues,Be=re.onDisplayValuesChange,lt=re.emptyOptions,et=re.notFoundContent,It=et===void 0?"Not Found":et,Je=re.onClear,nt=re.mode,$=re.disabled,de=re.loading,Ce=re.getInputElement,fe=re.getRawInputElement,Ne=re.open,ke=re.defaultOpen,Ae=re.onDropdownVisibleChange,Ue=re.activeValue,st=re.onActiveValueChange,ct=re.activeDescendantId,ht=re.searchValue,ut=re.autoClearSearchValue,Ot=re.onSearch,Mt=re.onSearchSplit,kt=re.tokenSeparators,bt=re.allowClear,wt=re.prefix,$t=re.suffixIcon,Qe=re.clearIcon,He=re.OptionList,at=re.animation,en=re.transitionName,ln=re.dropdownStyle,vn=re.dropdownClassName,Rn=re.dropdownMatchSelectWidth,Z=re.dropdownRender,ie=re.dropdownAlign,ne=re.placement,ae=re.builtinPlacements,he=re.getPopupContainer,ue=re.showAction,ve=ue===void 0?[]:ue,xe=re.onFocus,Pe=re.onBlur,te=re.onKeyUp,oe=re.onKeyDown,_e=re.onMouseDown,De=(0,_.Z)(re,ee),Re=ce(nt),qe=(ot!==void 0?ot:Re)||nt==="combobox",Ct=(0,Q.Z)({},De);q.forEach(function(In){delete Ct[In]}),Se==null||Se.forEach(function(In){delete Ct[In]});var yt=s.useState(!1),Zt=(0,V.Z)(yt,2),xt=Zt[0],Kt=Zt[1];s.useEffect(function(){Kt((0,a.Z)())},[]);var nn=s.useRef(null),Et=s.useRef(null),rn=s.useRef(null),Jt=s.useRef(null),Xt=s.useRef(null),sn=s.useRef(!1),_n=f(),Tn=(0,V.Z)(_n,3),tn=Tn[0],un=Tn[1],Vt=Tn[2];s.useImperativeHandle(Y,function(){var In,dn;return{focus:(In=Jt.current)===null||In===void 0?void 0:In.focus,blur:(dn=Jt.current)===null||dn===void 0?void 0:dn.blur,scrollTo:function(Qn){var qn;return(qn=Xt.current)===null||qn===void 0?void 0:qn.scrollTo(Qn)},nativeElement:nn.current||Et.current}});var mt=s.useMemo(function(){var In;if(nt!=="combobox")return ht;var dn=(In=me[0])===null||In===void 0?void 0:In.value;return typeof dn=="string"||typeof dn=="number"?String(dn):""},[ht,nt,me]),Ut=nt==="combobox"&&typeof Ce=="function"&&Ce()||null,Ft=typeof fe=="function"&&fe(),yn=(0,o.x1)(Et,Ft==null||($e=Ft.props)===null||$e===void 0?void 0:$e.ref),cn=s.useState(!1),bn=(0,V.Z)(cn,2),zn=bn[0],Xn=bn[1];(0,r.Z)(function(){Xn(!0)},[]);var $n=(0,G.Z)(!1,{defaultValue:ke,value:Ne}),tr=(0,V.Z)($n,2),rr=tr[0],Gn=tr[1],an=zn?rr:!1,Dn=!It&&lt;($||Dn&&an&&nt==="combobox")&&(an=!1);var Bn=Dn?!1:an,At=s.useCallback(function(In){var dn=In!==void 0?In:!an;$||(Gn(dn),an!==dn&&(Ae==null||Ae(dn)))},[$,an,Gn,Ae]),_t=s.useMemo(function(){return(kt||[]).some(function(In){return[`
`,`\r
`].includes(In)})},[kt]),dt=s.useContext(U)||{},Dt=dt.maxCount,wn=dt.rawValues,Ln=function(dn,Wn,Qn){if(!(Re&&pe(Dt)&&(wn==null?void 0:wn.size)>=Dt)){var qn=!0,er=dn;st==null||st(null);var sr=z(dn,kt,pe(Dt)?Dt-wn.size:void 0),pr=Qn?null:sr;return nt!=="combobox"&&pr&&(er="",Mt==null||Mt(pr),At(!1),qn=!1),Ot&&mt!==er&&Ot(er,{source:Wn?"typing":"effect"}),qn}},ar=function(dn){!dn||!dn.trim()||Ot(dn,{source:"submit"})};s.useEffect(function(){!an&&!Re&&nt!=="combobox"&&Ln("",!1,!1)},[an]),s.useEffect(function(){rr&&$&&Gn(!1),$&&!sn.current&&un(!1)},[$]);var Jn=l(),ir=(0,V.Z)(Jn,2),pt=ir[0],Ht=ir[1],Pn=s.useRef(!1),pn=function(dn){var Wn=pt(),Qn=dn.key,qn=Qn==="Enter";if(qn&&(nt!=="combobox"&&dn.preventDefault(),an||At(!0)),Ht(!!mt),Qn==="Backspace"&&!Wn&&Re&&!mt&&me.length){for(var er=(0,D.Z)(me),sr=null,pr=er.length-1;pr>=0;pr-=1){var vr=er[pr];if(!vr.disabled){er.splice(pr,1),sr=vr;break}}sr&&Be(er,{type:"remove",values:[sr]})}for(var wr=arguments.length,yr=new Array(wr>1?wr-1:0),Rr=1;Rr<wr;Rr++)yr[Rr-1]=arguments[Rr];if(an&&(!qn||!Pn.current)){var or;qn&&(Pn.current=!0),(or=Xt.current)===null||or===void 0||or.onKeyDown.apply(or,[dn].concat(yr))}oe==null||oe.apply(void 0,[dn].concat(yr))},Mn=function(dn){for(var Wn=arguments.length,Qn=new Array(Wn>1?Wn-1:0),qn=1;qn<Wn;qn++)Qn[qn-1]=arguments[qn];if(an){var er;(er=Xt.current)===null||er===void 0||er.onKeyUp.apply(er,[dn].concat(Qn))}dn.key==="Enter"&&(Pn.current=!1),te==null||te.apply(void 0,[dn].concat(Qn))},lr=function(dn){var Wn=me.filter(function(Qn){return Qn!==dn});Be(Wn,{type:"remove",values:[dn]})},jn=function(){Pn.current=!1},ur=s.useRef(!1),hr=function(){un(!0),$||(xe&&!ur.current&&xe.apply(void 0,arguments),ve.includes("focus")&&At(!0)),ur.current=!0},Pr=function(){sn.current=!0,un(!1,function(){ur.current=!1,sn.current=!1,At(!1)}),!$&&(mt&&(nt==="tags"?Ot(mt,{source:"submit"}):nt==="multiple"&&Ot("",{source:"blur"})),Pe&&Pe.apply(void 0,arguments))},Hn=[];s.useEffect(function(){return function(){Hn.forEach(function(In){return clearTimeout(In)}),Hn.splice(0,Hn.length)}},[]);var Lr=function(dn){var Wn,Qn=dn.target,qn=(Wn=rn.current)===null||Wn===void 0?void 0:Wn.getPopupElement();if(qn&&qn.contains(Qn)){var er=setTimeout(function(){var wr=Hn.indexOf(er);if(wr!==-1&&Hn.splice(wr,1),Vt(),!xt&&!qn.contains(document.activeElement)){var yr;(yr=Jt.current)===null||yr===void 0||yr.focus()}});Hn.push(er)}for(var sr=arguments.length,pr=new Array(sr>1?sr-1:0),vr=1;vr<sr;vr++)pr[vr-1]=arguments[vr];_e==null||_e.apply(void 0,[dn].concat(pr))},Kr=s.useState({}),Vr=(0,V.Z)(Kr,2),Nr=Vr[1];function Cr(){Nr({})}var xr;Ft&&(xr=function(dn){At(dn)}),k(function(){var In;return[nn.current,(In=rn.current)===null||In===void 0?void 0:In.getPopupElement()]},Bn,At,!!Ft);var Or=s.useMemo(function(){return(0,Q.Z)((0,Q.Z)({},re),{},{notFoundContent:It,open:an,triggerOpen:Bn,id:Te,showSearch:qe,multiple:Re,toggleOpen:At})},[re,It,Bn,an,Te,qe,Re,At]),mr=!!$t||de,kr;mr&&(kr=s.createElement(x,{className:t()("".concat(Ye,"-arrow"),(0,W.Z)({},"".concat(Ye,"-arrow-loading"),de)),customizeIcon:$t,customizeIconProps:{loading:de,searchValue:mt,open:an,focused:tn,showSearch:qe}}));var Er=function(){var dn;Je==null||Je(),(dn=Jt.current)===null||dn===void 0||dn.focus(),Be([],{type:"clear",values:me}),Ln("",!1,!1)},Fr=E(Ye,Er,me,bt,Qe,$,mt,nt),Dr=Fr.allowClear,Hr=Fr.clearIcon,Br=s.createElement(He,{ref:Xt}),$r=t()(Ye,Xe,(0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)({},"".concat(Ye,"-focused"),tn),"".concat(Ye,"-multiple"),Re),"".concat(Ye,"-single"),!Re),"".concat(Ye,"-allow-clear"),bt),"".concat(Ye,"-show-arrow"),mr),"".concat(Ye,"-disabled"),$),"".concat(Ye,"-loading"),de),"".concat(Ye,"-open"),an),"".concat(Ye,"-customize-input"),Ut),"".concat(Ye,"-show-search"),qe)),Tr=s.createElement(X,{ref:rn,disabled:$,prefixCls:Ye,visible:Bn,popupElement:Br,animation:at,transitionName:en,dropdownStyle:ln,dropdownClassName:vn,direction:Pt,dropdownMatchSelectWidth:Rn,dropdownRender:Z,dropdownAlign:ie,placement:ne,builtinPlacements:ae,getPopupContainer:he,empty:lt,getTriggerDOMNode:function(dn){return Et.current||dn},onPopupVisibleChange:xr,onPopupMouseEnter:Cr},Ft?s.cloneElement(Ft,{ref:yn}):s.createElement(Ge,(0,N.Z)({},re,{domRef:Et,prefixCls:Ye,inputElement:Ut,ref:Jt,id:Te,prefix:wt,showSearch:qe,autoClearSearchValue:ut,mode:nt,activeDescendantId:ct,tagRender:tt,values:me,open:an,onToggleOpen:At,activeValue:Ue,searchValue:mt,onSearch:Ln,onSearchSubmit:ar,onRemove:lr,tokenWithEnter:_t,onInputBlur:jn}))),Sr;return Ft?Sr=Tr:Sr=s.createElement("div",(0,N.Z)({className:$r},Ct,{ref:nn,onMouseDown:Lr,onKeyDown:pn,onKeyUp:Mn,onFocus:hr,onBlur:Pr}),s.createElement(K,{visible:tn&&!an,values:me}),Tr,kr,Dr&&Hr),s.createElement(h.Provider,{value:Or},Sr)}),ge=we,Ke=function(){return null};Ke.isSelectOptGroup=!0;var Me=Ke,Fe=function(){return null};Fe.isSelectOption=!0;var ft=Fe,je=u(80547),ze=u(2738),Nt=u(45680);function Tt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var rt=["disabled","title","children","style","className"];function jt(re){return typeof re=="string"||typeof re=="number"}var hn=function(Y,$e){var Te=p(),Ye=Te.prefixCls,Xe=Te.id,ot=Te.open,tt=Te.multiple,Pt=Te.mode,Se=Te.searchValue,me=Te.toggleOpen,Be=Te.notFoundContent,lt=Te.onPopupScroll,et=s.useContext(U),It=et.maxCount,Je=et.flattenOptions,nt=et.onActiveValue,$=et.defaultActiveFirstOption,de=et.onSelect,Ce=et.menuItemSelectedIcon,fe=et.rawValues,Ne=et.fieldNames,ke=et.virtual,Ae=et.direction,Ue=et.listHeight,st=et.listItemHeight,ct=et.optionRender,ht="".concat(Ye,"-item"),ut=(0,je.Z)(function(){return Je},[ot,Je],function(ue,ve){return ve[0]&&ue[1]!==ve[1]}),Ot=s.useRef(null),Mt=s.useMemo(function(){return tt&&pe(It)&&(fe==null?void 0:fe.size)>=It},[tt,It,fe==null?void 0:fe.size]),kt=function(ve){ve.preventDefault()},bt=function(ve){var xe;(xe=Ot.current)===null||xe===void 0||xe.scrollTo(typeof ve=="number"?{index:ve}:ve)},wt=s.useCallback(function(ue){return Pt==="combobox"?!1:fe.has(ue)},[Pt,(0,D.Z)(fe).toString(),fe.size]),$t=function(ve){for(var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Pe=ut.length,te=0;te<Pe;te+=1){var oe=(ve+te*xe+Pe)%Pe,_e=ut[oe]||{},De=_e.group,Re=_e.data;if(!De&&!(Re!=null&&Re.disabled)&&(wt(Re.value)||!Mt))return oe}return-1},Qe=s.useState(function(){return $t(0)}),He=(0,V.Z)(Qe,2),at=He[0],en=He[1],ln=function(ve){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;en(ve);var Pe={source:xe?"keyboard":"mouse"},te=ut[ve];if(!te){nt(null,-1,Pe);return}nt(te.value,ve,Pe)};(0,s.useEffect)(function(){ln($!==!1?$t(0):-1)},[ut.length,Se]);var vn=s.useCallback(function(ue){return Pt==="combobox"?String(ue).toLowerCase()===Se.toLowerCase():fe.has(ue)},[Pt,Se,(0,D.Z)(fe).toString(),fe.size]);(0,s.useEffect)(function(){var ue=setTimeout(function(){if(!tt&&ot&&fe.size===1){var xe=Array.from(fe)[0],Pe=ut.findIndex(function(te){var oe=te.data;return oe.value===xe});Pe!==-1&&(ln(Pe),bt(Pe))}});if(ot){var ve;(ve=Ot.current)===null||ve===void 0||ve.scrollTo(void 0)}return function(){return clearTimeout(ue)}},[ot,Se]);var Rn=function(ve){ve!==void 0&&de(ve,{selected:!fe.has(ve)}),tt||me(!1)};if(s.useImperativeHandle($e,function(){return{onKeyDown:function(ve){var xe=ve.which,Pe=ve.ctrlKey;switch(xe){case P.Z.N:case P.Z.P:case P.Z.UP:case P.Z.DOWN:{var te=0;if(xe===P.Z.UP?te=-1:xe===P.Z.DOWN?te=1:Tt()&&Pe&&(xe===P.Z.N?te=1:xe===P.Z.P&&(te=-1)),te!==0){var oe=$t(at+te,te);bt(oe),ln(oe,!0)}break}case P.Z.TAB:case P.Z.ENTER:{var _e,De=ut[at];De&&!(De!=null&&(_e=De.data)!==null&&_e!==void 0&&_e.disabled)&&!Mt?Rn(De.value):Rn(void 0),ot&&ve.preventDefault();break}case P.Z.ESC:me(!1),ot&&ve.stopPropagation()}},onKeyUp:function(){},scrollTo:function(ve){bt(ve)}}}),ut.length===0)return s.createElement("div",{role:"listbox",id:"".concat(Xe,"_list"),className:"".concat(ht,"-empty"),onMouseDown:kt},Be);var Z=Object.keys(Ne).map(function(ue){return Ne[ue]}),ie=function(ve){return ve.label};function ne(ue,ve){var xe=ue.group;return{role:xe?"presentation":"option",id:"".concat(Xe,"_list_").concat(ve)}}var ae=function(ve){var xe=ut[ve];if(!xe)return null;var Pe=xe.data||{},te=Pe.value,oe=xe.group,_e=(0,j.Z)(Pe,!0),De=ie(xe);return xe?s.createElement("div",(0,N.Z)({"aria-label":typeof De=="string"&&!oe?De:null},_e,{key:ve},ne(xe,ve),{"aria-selected":vn(te)}),te):null},he={role:"listbox",id:"".concat(Xe,"_list")};return s.createElement(s.Fragment,null,ke&&s.createElement("div",(0,N.Z)({},he,{style:{height:0,width:0,overflow:"hidden"}}),ae(at-1),ae(at),ae(at+1)),s.createElement(Nt.Z,{itemKey:"key",ref:Ot,data:ut,height:Ue,itemHeight:st,fullHeight:!1,onMouseDown:kt,onScroll:lt,virtual:ke,direction:Ae,innerProps:ke?null:he},function(ue,ve){var xe=ue.group,Pe=ue.groupOption,te=ue.data,oe=ue.label,_e=ue.value,De=te.key;if(xe){var Re,qe=(Re=te.title)!==null&&Re!==void 0?Re:jt(oe)?oe.toString():void 0;return s.createElement("div",{className:t()(ht,"".concat(ht,"-group"),te.className),title:qe},oe!==void 0?oe:De)}var Ct=te.disabled,yt=te.title,Zt=te.children,xt=te.style,Kt=te.className,nn=(0,_.Z)(te,rt),Et=(0,ze.Z)(nn,Z),rn=wt(_e),Jt=Ct||!rn&&Mt,Xt="".concat(ht,"-option"),sn=t()(ht,Xt,Kt,(0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)({},"".concat(Xt,"-grouped"),Pe),"".concat(Xt,"-active"),at===ve&&!Jt),"".concat(Xt,"-disabled"),Jt),"".concat(Xt,"-selected"),rn)),_n=ie(ue),Tn=!Ce||typeof Ce=="function"||rn,tn=typeof _n=="number"?_n:_n||_e,un=jt(tn)?tn.toString():void 0;return yt!==void 0&&(un=yt),s.createElement("div",(0,N.Z)({},(0,j.Z)(Et),ke?{}:ne(ue,ve),{"aria-selected":vn(_e),className:sn,title:un,onMouseMove:function(){at===ve||Jt||ln(ve)},onClick:function(){Jt||Rn(_e)},style:xt}),s.createElement("div",{className:"".concat(Xt,"-content")},typeof ct=="function"?ct(ue,{index:ve}):tn),s.isValidElement(Ce)||rn,Tn&&s.createElement(x,{className:"".concat(ht,"-option-state"),customizeIcon:Ce,customizeIconProps:{value:_e,disabled:Jt,isSelected:rn}},rn?"\u2713":null))}))},St=s.forwardRef(hn),vt=St,Rt=function(re,Y){var $e=s.useRef({values:new Map,options:new Map}),Te=s.useMemo(function(){var Xe=$e.current,ot=Xe.values,tt=Xe.options,Pt=re.map(function(Be){if(Be.label===void 0){var lt;return(0,Q.Z)((0,Q.Z)({},Be),{},{label:(lt=ot.get(Be.value))===null||lt===void 0?void 0:lt.label})}return Be}),Se=new Map,me=new Map;return Pt.forEach(function(Be){Se.set(Be.value,Be),me.set(Be.value,Y.get(Be.value)||tt.get(Be.value))}),$e.current.values=Se,$e.current.options=me,Pt},[re,Y]),Ye=s.useCallback(function(Xe){return Y.get(Xe)||$e.current.options.get(Xe)},[Y]);return[Te,Ye]};function on(re,Y){return d(re).join("").toUpperCase().includes(Y)}var Qt=function(re,Y,$e,Te,Ye){return s.useMemo(function(){if(!$e||Te===!1)return re;var Xe=Y.options,ot=Y.label,tt=Y.value,Pt=[],Se=typeof Te=="function",me=$e.toUpperCase(),Be=Se?Te:function(et,It){return Ye?on(It[Ye],me):It[Xe]?on(It[ot!=="children"?ot:"label"],me):on(It[tt],me)},lt=Se?function(et){return C(et)}:function(et){return et};return re.forEach(function(et){if(et[Xe]){var It=Be($e,lt(et));if(It)Pt.push(et);else{var Je=et[Xe].filter(function(nt){return Be($e,lt(nt))});Je.length&&Pt.push((0,Q.Z)((0,Q.Z)({},et),{},(0,W.Z)({},Xe,Je)))}return}Be($e,lt(et))&&Pt.push(et)}),Pt},[re,Te,Ye,$e,Y])},qt=u(69582),En=u(11592),fn=["children","value"],We=["children"];function gt(re){var Y=re,$e=Y.key,Te=Y.props,Ye=Te.children,Xe=Te.value,ot=(0,_.Z)(Te,fn);return(0,Q.Z)({key:$e,value:Xe!==void 0?Xe:$e,children:Ye},ot)}function Gt(re){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,En.Z)(re).map(function($e,Te){if(!s.isValidElement($e)||!$e.type)return null;var Ye=$e,Xe=Ye.type.isSelectOptGroup,ot=Ye.key,tt=Ye.props,Pt=tt.children,Se=(0,_.Z)(tt,We);return Y||!Xe?gt($e):(0,Q.Z)((0,Q.Z)({key:"__RC_SELECT_GRP__".concat(ot===null?Te:ot,"__"),label:ot},Se),{},{options:Gt(Pt)})}).filter(function($e){return $e})}var mn=function(Y,$e,Te,Ye,Xe){return s.useMemo(function(){var ot=Y,tt=!Y;tt&&(ot=Gt($e));var Pt=new Map,Se=new Map,me=function(et,It,Je){Je&&typeof Je=="string"&&et.set(It[Je],It)},Be=function lt(et){for(var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Je=0;Je<et.length;Je+=1){var nt=et[Je];!nt[Te.options]||It?(Pt.set(nt[Te.value],nt),me(Se,nt,Te.label),me(Se,nt,Ye),me(Se,nt,Xe)):lt(nt[Te.options],!0)}};return Be(ot),{options:ot,valueOptions:Pt,labelOptions:Se}},[Y,$e,Te,Ye,Xe])},Wt=mn;function kn(re){var Y=s.useRef();Y.current=re;var $e=s.useCallback(function(){return Y.current.apply(Y,arguments)},[]);return $e}function Vn(re){var Y=re.mode,$e=re.options,Te=re.children,Ye=re.backfill,Xe=re.allowClear,ot=re.placeholder,tt=re.getInputElement,Pt=re.showSearch,Se=re.onSearch,me=re.defaultOpen,Be=re.autoFocus,lt=re.labelInValue,et=re.value,It=re.inputValue,Je=re.optionLabelProp,nt=isMultiple(Y),$=Pt!==void 0?Pt:nt||Y==="combobox",de=$e||convertChildrenToData(Te);if(warning(Y!=="tags"||de.every(function(ke){return!ke.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Y==="tags"||Y==="combobox"){var Ce=de.some(function(ke){return ke.options?ke.options.some(function(Ae){return typeof("value"in Ae?Ae.value:Ae.key)=="number"}):typeof("value"in ke?ke.value:ke.key)=="number"});warning(!Ce,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Y!=="combobox"||!Je,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Y==="combobox"||!Ye,"`backfill` only works with `combobox` mode."),warning(Y==="combobox"||!tt,"`getInputElement` only work with `combobox` mode."),noteOnce(Y!=="combobox"||!tt||!Xe||!ot,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Se&&!$&&Y!=="combobox"&&Y!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!me||Be,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),et!=null){var fe=toArray(et);warning(!lt||fe.every(function(ke){return _typeof(ke)==="object"&&("key"in ke||"value"in ke)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!nt||Array.isArray(et),"`value` should be array when `mode` is `multiple` or `tags`")}if(Te){var Ne=null;toNodeArray(Te).some(function(ke){if(!React.isValidElement(ke)||!ke.type)return!1;var Ae=ke,Ue=Ae.type;if(Ue.isSelectOption)return!1;if(Ue.isSelectOptGroup){var st=toNodeArray(ke.props.children).every(function(ct){return!React.isValidElement(ct)||!ke.type||ct.type.isSelectOption?!0:(Ne=ct.type,!1)});return!st}return Ne=Ue,!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 Sn(re,Y){if(re){var $e=function Te(Ye){for(var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ot=0;ot<Ye.length;ot++){var tt=Ye[ot];if(tt[Y==null?void 0:Y.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Xe&&Array.isArray(tt[Y==null?void 0:Y.options])&&Te(tt[Y==null?void 0:Y.options],!0))break}};$e(re)}}var Yt=null,Nn=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],xn=["inputValue"];function On(re){return!re||(0,H.Z)(re)!=="object"}var gn=s.forwardRef(function(re,Y){var $e=re.id,Te=re.mode,Ye=re.prefixCls,Xe=Ye===void 0?"rc-select":Ye,ot=re.backfill,tt=re.fieldNames,Pt=re.inputValue,Se=re.searchValue,me=re.onSearch,Be=re.autoClearSearchValue,lt=Be===void 0?!0:Be,et=re.onSelect,It=re.onDeselect,Je=re.dropdownMatchSelectWidth,nt=Je===void 0?!0:Je,$=re.filterOption,de=re.filterSort,Ce=re.optionFilterProp,fe=re.optionLabelProp,Ne=re.options,ke=re.optionRender,Ae=re.children,Ue=re.defaultActiveFirstOption,st=re.menuItemSelectedIcon,ct=re.virtual,ht=re.direction,ut=re.listHeight,Ot=ut===void 0?200:ut,Mt=re.listItemHeight,kt=Mt===void 0?20:Mt,bt=re.labelRender,wt=re.value,$t=re.defaultValue,Qe=re.labelInValue,He=re.onChange,at=re.maxCount,en=(0,_.Z)(re,Nn),ln=(0,qt.ZP)($e),vn=ce(Te),Rn=!!(!Ne&&Ae),Z=s.useMemo(function(){return $===void 0&&Te==="combobox"?!1:$},[$,Te]),ie=s.useMemo(function(){return R(tt,Rn)},[JSON.stringify(tt),Rn]),ne=(0,G.Z)("",{value:Se!==void 0?Se:Pt,postState:function(_t){return _t||""}}),ae=(0,V.Z)(ne,2),he=ae[0],ue=ae[1],ve=Wt(Ne,Ae,ie,Ce,fe),xe=ve.valueOptions,Pe=ve.labelOptions,te=ve.options,oe=s.useCallback(function(At){var _t=d(At);return _t.map(function(dt){var Dt,wn,Ln,ar,Jn;if(On(dt))Dt=dt;else{var ir;Ln=dt.key,wn=dt.label,Dt=(ir=dt.value)!==null&&ir!==void 0?ir:Ln}var pt=xe.get(Dt);if(pt){var Ht;if(wn===void 0&&(wn=pt==null?void 0:pt[fe||ie.label]),Ln===void 0&&(Ln=(Ht=pt==null?void 0:pt.key)!==null&&Ht!==void 0?Ht:Dt),ar=pt==null?void 0:pt.disabled,Jn=pt==null?void 0:pt.title,0)var Pn}return{label:wn,value:Dt,key:Ln,disabled:ar,title:Jn}})},[ie,fe,xe]),_e=(0,G.Z)($t,{value:wt}),De=(0,V.Z)(_e,2),Re=De[0],qe=De[1],Ct=s.useMemo(function(){var At,_t=vn&&Re===null?[]:Re,dt=oe(_t);return Te==="combobox"&&w((At=dt[0])===null||At===void 0?void 0:At.value)?[]:dt},[Re,oe,Te,vn]),yt=Rt(Ct,xe),Zt=(0,V.Z)(yt,2),xt=Zt[0],Kt=Zt[1],nn=s.useMemo(function(){if(!Te&&xt.length===1){var At=xt[0];if(At.value===null&&(At.label===null||At.label===void 0))return[]}return xt.map(function(_t){var dt;return(0,Q.Z)((0,Q.Z)({},_t),{},{label:(dt=typeof bt=="function"?bt(_t):_t.label)!==null&&dt!==void 0?dt:_t.value})})},[Te,xt,bt]),Et=s.useMemo(function(){return new Set(xt.map(function(At){return At.value}))},[xt]);s.useEffect(function(){if(Te==="combobox"){var At,_t=(At=xt[0])===null||At===void 0?void 0:At.value;ue(I(_t)?String(_t):"")}},[xt]);var rn=kn(function(At,_t){var dt=_t!=null?_t:At;return(0,W.Z)((0,W.Z)({},ie.value,At),ie.label,dt)}),Jt=s.useMemo(function(){if(Te!=="tags")return te;var At=(0,D.Z)(te),_t=function(Dt){return xe.has(Dt)};return(0,D.Z)(xt).sort(function(dt,Dt){return dt.value<Dt.value?-1:1}).forEach(function(dt){var Dt=dt.value;_t(Dt)||At.push(rn(Dt,dt.label))}),At},[rn,te,xe,xt,Te]),Xt=Qt(Jt,ie,he,Z,Ce),sn=s.useMemo(function(){return Te!=="tags"||!he||Xt.some(function(At){return At[Ce||"value"]===he})||Xt.some(function(At){return At[ie.value]===he})?Xt:[rn(he)].concat((0,D.Z)(Xt))},[rn,Ce,Te,Xt,he,ie]),_n=function At(_t){var dt=(0,D.Z)(_t).sort(function(Dt,wn){return de(Dt,wn,{searchValue:he})});return dt.map(function(Dt){return Array.isArray(Dt.options)?(0,Q.Z)((0,Q.Z)({},Dt),{},{options:Dt.options.length>0?At(Dt.options):Dt.options}):Dt})},Tn=s.useMemo(function(){return de?_n(sn):sn},[sn,de,he]),tn=s.useMemo(function(){return m(Tn,{fieldNames:ie,childrenAsData:Rn})},[Tn,ie,Rn]),un=function(_t){var dt=oe(_t);if(qe(dt),He&&(dt.length!==xt.length||dt.some(function(Ln,ar){var Jn;return((Jn=xt[ar])===null||Jn===void 0?void 0:Jn.value)!==(Ln==null?void 0:Ln.value)}))){var Dt=Qe?dt:dt.map(function(Ln){return Ln.value}),wn=dt.map(function(Ln){return C(Kt(Ln.value))});He(vn?Dt:Dt[0],vn?wn:wn[0])}},Vt=s.useState(null),mt=(0,V.Z)(Vt,2),Ut=mt[0],Ft=mt[1],yn=s.useState(0),cn=(0,V.Z)(yn,2),bn=cn[0],zn=cn[1],Xn=Ue!==void 0?Ue:Te!=="combobox",$n=s.useCallback(function(At,_t){var dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Dt=dt.source,wn=Dt===void 0?"keyboard":Dt;zn(_t),ot&&Te==="combobox"&&At!==null&&wn==="keyboard"&&Ft(String(At))},[ot,Te]),tr=function(_t,dt,Dt){var wn=function(){var lr,jn=Kt(_t);return[Qe?{label:jn==null?void 0:jn[ie.label],value:_t,key:(lr=jn==null?void 0:jn.key)!==null&&lr!==void 0?lr:_t}:_t,C(jn)]};if(dt&&et){var Ln=wn(),ar=(0,V.Z)(Ln,2),Jn=ar[0],ir=ar[1];et(Jn,ir)}else if(!dt&&It&&Dt!=="clear"){var pt=wn(),Ht=(0,V.Z)(pt,2),Pn=Ht[0],pn=Ht[1];It(Pn,pn)}},rr=kn(function(At,_t){var dt,Dt=vn?_t.selected:!0;Dt?dt=vn?[].concat((0,D.Z)(xt),[At]):[At]:dt=xt.filter(function(wn){return wn.value!==At}),un(dt),tr(At,Dt),Te==="combobox"?Ft(""):(!ce||lt)&&(ue(""),Ft(""))}),Gn=function(_t,dt){un(_t);var Dt=dt.type,wn=dt.values;(Dt==="remove"||Dt==="clear")&&wn.forEach(function(Ln){tr(Ln.value,!1,Dt)})},an=function(_t,dt){if(ue(_t),Ft(null),dt.source==="submit"){var Dt=(_t||"").trim();if(Dt){var wn=Array.from(new Set([].concat((0,D.Z)(Et),[Dt])));un(wn),tr(Dt,!0),ue("")}return}dt.source!=="blur"&&(Te==="combobox"&&un(_t),me==null||me(_t))},Dn=function(_t){var dt=_t;Te!=="tags"&&(dt=_t.map(function(wn){var Ln=Pe.get(wn);return Ln==null?void 0:Ln.value}).filter(function(wn){return wn!==void 0}));var Dt=Array.from(new Set([].concat((0,D.Z)(Et),(0,D.Z)(dt))));un(Dt),Dt.forEach(function(wn){tr(wn,!0)})},Bn=s.useMemo(function(){var At=ct!==!1&&nt!==!1;return(0,Q.Z)((0,Q.Z)({},ve),{},{flattenOptions:tn,onActiveValue:$n,defaultActiveFirstOption:Xn,onSelect:rr,menuItemSelectedIcon:st,rawValues:Et,fieldNames:ie,virtual:At,direction:ht,listHeight:Ot,listItemHeight:kt,childrenAsData:Rn,maxCount:at,optionRender:ke})},[at,ve,tn,$n,Xn,rr,st,Et,ie,ct,nt,ht,Ot,kt,Rn,ke]);return s.createElement(U.Provider,{value:Bn},s.createElement(ge,(0,N.Z)({},en,{id:ln,prefixCls:Xe,ref:Y,omitDomProps:xn,mode:Te,displayValues:nn,onDisplayValuesChange:Gn,direction:ht,searchValue:he,onSearch:an,autoClearSearchValue:lt,onSearchSplit:Dn,dropdownMatchSelectWidth:nt,OptionList:vt,emptyOptions:!tn.length,activeValue:Ut,activeDescendantId:"".concat(ln,"_list_").concat(bn)})))}),Cn=gn;Cn.Option=ft,Cn.OptGroup=Me;var An=Cn,Zn=An},67204:function(Bt,Ze,u){"use strict";u.d(Ze,{R:function(){return D},w:function(){return N}});var N={},D="rc-table-internal-hook"},78612:function(Bt,Ze,u){"use strict";u.d(Ze,{L:function(){return v},Z:function(){return f}});var N=u(52487),D=u(49618),W=u(80702),Q=u(62853),V=u(77321),_=u(74416),H=u(11592),G=u(48736),e=u(59301),s=u(67204),c=u(90494);function t(l){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof k=="number"?k:k.endsWith("%")?l*parseFloat(k)/100:null}function r(l,k,P){return e.useMemo(function(){if(k&&k>0){var L=0,j=0;l.forEach(function(I){var w=t(k,I.width);w?L+=w:j+=1});var J=Math.max(k,P),B=Math.max(J-L,j),ye=j,g=B/j,d=0,b=l.map(function(I){var w=(0,V.Z)({},I),n=t(k,w.width);if(n)w.width=n;else{var i=Math.floor(g);w.width=ye===1?B:i,B-=i,ye-=1}return d+=w.width,w});if(d<J){var S=J/d;B=J,b.forEach(function(I,w){var n=Math.floor(I.width*S);I.width=w===b.length-1?B:n,B-=n})}return[b,Math.max(d,J)]}return[l,k]},[l,k,P])}var a=["children"],o=["fixed"];function v(l){return(0,H.Z)(l).filter(function(k){return e.isValidElement(k)}).map(function(k){var P=k.key,L=k.props,j=L.children,J=(0,_.Z)(L,a),B=(0,V.Z)({key:P},J);return j&&(B.children=v(j)),B})}function x(l){return l.filter(function(k){return k&&(0,Q.Z)(k)==="object"&&!k.hidden}).map(function(k){var P=k.children;return P&&P.length>0?(0,V.Z)((0,V.Z)({},k),{},{children:x(P)}):k})}function E(l){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return l.filter(function(P){return P&&(0,Q.Z)(P)==="object"}).reduce(function(P,L,j){var J=L.fixed,B=J===!0?"left":J,ye="".concat(k,"-").concat(j),g=L.children;return g&&g.length>0?[].concat((0,W.Z)(P),(0,W.Z)(E(g,ye).map(function(d){return(0,V.Z)({fixed:B},d)}))):[].concat((0,W.Z)(P),[(0,V.Z)((0,V.Z)({key:ye},L),{},{fixed:B})])},[])}function h(l){return l.map(function(k){var P=k.fixed,L=(0,_.Z)(k,o),j=P;return P==="left"?j="right":P==="right"&&(j="left"),(0,V.Z)({fixed:j},L)})}function p(l,k){var P=l.prefixCls,L=l.columns,j=l.children,J=l.expandable,B=l.expandedKeys,ye=l.columnTitle,g=l.getRowKey,d=l.onTriggerExpand,b=l.expandIcon,S=l.rowExpandable,I=l.expandIconColumnIndex,w=l.direction,n=l.expandRowByClick,i=l.columnWidth,y=l.fixed,F=l.scrollWidth,le=l.clientWidth,Ee=e.useMemo(function(){var Oe=L||v(j)||[];return x(Oe.slice())},[L,j]),Le=e.useMemo(function(){if(J){var Oe=Ee.slice();if(!Oe.includes(s.w)){var T=I||0;T>=0&&(T||y==="left"||!y)&&Oe.splice(T,0,s.w),y==="right"&&Oe.splice(Ee.length,0,s.w)}var A=Oe.indexOf(s.w);Oe=Oe.filter(function(pe,R){return pe!==s.w||R===A});var X=Ee[A],M;y?M=y:M=X?X.fixed:null;var se=(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)({},c.v,{className:"".concat(P,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",ye),"fixed",M),"className","".concat(P,"-row-expand-icon-cell")),"width",i),"render",function(R,m,C){var z=g(m,C),O=B.has(z),U=S?S(m):!0,K=b({prefixCls:P,expanded:O,expandable:U,record:m,onExpand:d});return n?e.createElement("span",{onClick:function(q){return q.stopPropagation()}},K):K});return Oe.map(function(pe){return pe===s.w?se:pe})}return Ee.filter(function(pe){return pe!==s.w})},[J,Ee,g,B,b,w]),Ve=e.useMemo(function(){var Oe=Le;return k&&(Oe=k(Oe)),Oe.length||(Oe=[{render:function(){return null}}]),Oe},[k,Le,w]),it=e.useMemo(function(){return w==="rtl"?h(E(Ve)):E(Ve)},[Ve,w,F]),zt=e.useMemo(function(){for(var Oe=-1,T=it.length-1;T>=0;T-=1){var A=it[T].fixed;if(A==="left"||A===!0){Oe=T;break}}if(Oe>=0)for(var X=0;X<=Oe;X+=1){var M=it[X].fixed;if(M!=="left"&&M!==!0)return!0}var se=it.findIndex(function(m){var C=m.fixed;return C==="right"});if(se>=0)for(var pe=se;pe<it.length;pe+=1){var R=it[pe].fixed;if(R!=="right")return!0}return!1},[it]),be=r(it,F,le),Ge=(0,N.Z)(be,2),Lt=Ge[0],Ie=Ge[1];return[Ve,Lt,Ie,zt]}var f=p},16596:function(Bt,Ze,u){"use strict";u.d(Ze,{w2:function(){return N.w},vP:function(){return vt.v},RQ:function(){return N.R},ER:function(){return z},Q$:function(){return fe},TN:function(){return ln}});var N=u(67204),D=u(52487),W=u(6089),Q=u(34280),V=u(13697),_=u(59301),H=u(4676);function G(Z){var ie=_.createContext(void 0),ne=function(he){var ue=he.value,ve=he.children,xe=_.useRef(ue);xe.current=ue;var Pe=_.useState(function(){return{getValue:function(){return xe.current},listeners:new Set}}),te=(0,D.Z)(Pe,1),oe=te[0];return(0,Q.Z)(function(){(0,H.unstable_batchedUpdates)(function(){oe.listeners.forEach(function(_e){_e(ue)})})},[ue]),_.createElement(ie.Provider,{value:oe},ve)};return{Context:ie,Provider:ne,defaultValue:Z}}function e(Z,ie){var ne=(0,W.Z)(typeof ie=="function"?ie:function(_e){if(ie===void 0)return _e;if(!Array.isArray(ie))return _e[ie];var De={};return ie.forEach(function(Re){De[Re]=_e[Re]}),De}),ae=_.useContext(Z==null?void 0:Z.Context),he=ae||{},ue=he.listeners,ve=he.getValue,xe=_.useRef();xe.current=ne(ae?ve():Z==null?void 0:Z.defaultValue);var Pe=_.useState({}),te=(0,D.Z)(Pe,2),oe=te[1];return(0,Q.Z)(function(){if(!ae)return;function _e(De){var Re=ne(De);(0,V.Z)(xe.current,Re,!0)||oe({})}return ue.add(_e),function(){ue.delete(_e)}},[ae]),xe.current}var s=u(72308),c=u(8654);function t(){var Z=_.createContext(null);function ie(){return _.useContext(Z)}function ne(he,ue){var ve=(0,c.Yr)(he),xe=function(te,oe){var _e=ve?{ref:oe}:{},De=_.useRef(0),Re=_.useRef(te),qe=ie();return qe!==null?_.createElement(he,(0,s.Z)({},te,_e)):((!ue||ue(Re.current,te))&&(De.current+=1),Re.current=te,_.createElement(Z.Provider,{value:De.current},_.createElement(he,(0,s.Z)({},te,_e))))};return ve?_.forwardRef(xe):xe}function ae(he,ue){var ve=(0,c.Yr)(he),xe=function(te,oe){var _e=ve?{ref:oe}:{};return ie(),_.createElement(he,(0,s.Z)({},te,_e))};return ve?_.memo(_.forwardRef(xe),ue):_.memo(xe,ue)}return{makeImmutable:ne,responseImmutable:ae,useImmutableMark:ie}}var r=t(),a=r.makeImmutable,o=r.responseImmutable,v=r.useImmutableMark,x=t(),E=x.makeImmutable,h=x.responseImmutable,p=x.useImmutableMark,f=G(),l=f;function k(Z,ie){var ne=React.useRef(0);ne.current+=1;var ae=React.useRef(Z),he=[];Object.keys(Z||{}).map(function(ve){var xe;(Z==null?void 0:Z[ve])!==((xe=ae.current)===null||xe===void 0?void 0:xe[ve])&&he.push(ve)}),ae.current=Z;var ue=React.useRef([]);return he.length&&(ue.current=he),React.useDebugValue(ne.current),React.useDebugValue(ue.current.join(", ")),ie&&console.log("".concat(ie,":"),ne.current,ue.current),ne.current}var P=null,L=null,j=u(62853),J=u(77321),B=u(49618),ye=u(92310),g=u.n(ye),d=u(80547),b=u(97938),S=u(48736),I=_.createContext({renderWithProps:!1}),w=I,n="RC_TABLE_KEY";function i(Z){return Z==null?[]:Array.isArray(Z)?Z:[Z]}function y(Z){var ie=[],ne={};return Z.forEach(function(ae){for(var he=ae||{},ue=he.key,ve=he.dataIndex,xe=ue||i(ve).join("-")||n;ne[xe];)xe="".concat(xe,"_next");ne[xe]=!0,ie.push(xe)}),ie}function F(Z){return Z!=null}function le(Z){return typeof Z=="number"&&!Number.isNaN(Z)}function Ee(Z){return Z&&(0,j.Z)(Z)==="object"&&!Array.isArray(Z)&&!_.isValidElement(Z)}function Le(Z,ie,ne,ae,he,ue){var ve=_.useContext(w),xe=p(),Pe=(0,d.Z)(function(){if(F(ae))return[ae];var te=ie==null||ie===""?[]:Array.isArray(ie)?ie:[ie],oe=(0,b.Z)(Z,te),_e=oe,De=void 0;if(he){var Re=he(oe,Z,ne);Ee(Re)?(_e=Re.children,De=Re.props,ve.renderWithProps=!0):_e=Re}return[_e,De]},[xe,Z,ae,ie,he,ne],function(te,oe){if(ue){var _e=(0,D.Z)(te,2),De=_e[1],Re=(0,D.Z)(oe,2),qe=Re[1];return ue(qe,De)}return ve.renderWithProps?!0:!(0,V.Z)(te,oe,!0)});return Pe}function Ve(Z,ie,ne,ae){var he=Z+ie-1;return Z<=ae&&he>=ne}function it(Z,ie){return e(l,function(ne){var ae=Ve(Z,ie||1,ne.hoverStartRow,ne.hoverEndRow);return[ae,ne.onHover]})}var zt=u(70425),be=function(ie){var ne=ie.ellipsis,ae=ie.rowType,he=ie.children,ue,ve=ne===!0?{showTitle:!0}:ne;return ve&&(ve.showTitle||ae==="header")&&(typeof he=="string"||typeof he=="number"?ue=he.toString():_.isValidElement(he)&&typeof he.props.children=="string"&&(ue=he.props.children)),ue};function Ge(Z){var ie,ne,ae,he,ue,ve,xe,Pe,te=Z.component,oe=Z.children,_e=Z.ellipsis,De=Z.scope,Re=Z.prefixCls,qe=Z.className,Ct=Z.align,yt=Z.record,Zt=Z.render,xt=Z.dataIndex,Kt=Z.renderIndex,nn=Z.shouldCellUpdate,Et=Z.index,rn=Z.rowType,Jt=Z.colSpan,Xt=Z.rowSpan,sn=Z.fixLeft,_n=Z.fixRight,Tn=Z.firstFixLeft,tn=Z.lastFixLeft,un=Z.firstFixRight,Vt=Z.lastFixRight,mt=Z.appendNode,Ut=Z.additionalProps,Ft=Ut===void 0?{}:Ut,yn=Z.isSticky,cn="".concat(Re,"-cell"),bn=e(l,["supportSticky","allColumnsFixedLeft","rowHoverable"]),zn=bn.supportSticky,Xn=bn.allColumnsFixedLeft,$n=bn.rowHoverable,tr=Le(yt,xt,Kt,oe,Zt,nn),rr=(0,D.Z)(tr,2),Gn=rr[0],an=rr[1],Dn={},Bn=typeof sn=="number"&&zn,At=typeof _n=="number"&&zn;Bn&&(Dn.position="sticky",Dn.left=sn),At&&(Dn.position="sticky",Dn.right=_n);var _t=(ie=(ne=(ae=an==null?void 0:an.colSpan)!==null&&ae!==void 0?ae:Ft.colSpan)!==null&&ne!==void 0?ne:Jt)!==null&&ie!==void 0?ie:1,dt=(he=(ue=(ve=an==null?void 0:an.rowSpan)!==null&&ve!==void 0?ve:Ft.rowSpan)!==null&&ue!==void 0?ue:Xt)!==null&&he!==void 0?he:1,Dt=it(Et,dt),wn=(0,D.Z)(Dt,2),Ln=wn[0],ar=wn[1],Jn=(0,zt.zX)(function(lr){var jn;yt&&ar(Et,Et+dt-1),Ft==null||(jn=Ft.onMouseEnter)===null||jn===void 0||jn.call(Ft,lr)}),ir=(0,zt.zX)(function(lr){var jn;yt&&ar(-1,-1),Ft==null||(jn=Ft.onMouseLeave)===null||jn===void 0||jn.call(Ft,lr)});if(_t===0||dt===0)return null;var pt=(xe=Ft.title)!==null&&xe!==void 0?xe:be({rowType:rn,ellipsis:_e,children:Gn}),Ht=g()(cn,qe,(Pe={},(0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)(Pe,"".concat(cn,"-fix-left"),Bn&&zn),"".concat(cn,"-fix-left-first"),Tn&&zn),"".concat(cn,"-fix-left-last"),tn&&zn),"".concat(cn,"-fix-left-all"),tn&&Xn&&zn),"".concat(cn,"-fix-right"),At&&zn),"".concat(cn,"-fix-right-first"),un&&zn),"".concat(cn,"-fix-right-last"),Vt&&zn),"".concat(cn,"-ellipsis"),_e),"".concat(cn,"-with-append"),mt),"".concat(cn,"-fix-sticky"),(Bn||At)&&yn&&zn),(0,B.Z)(Pe,"".concat(cn,"-row-hover"),!an&&Ln)),Ft.className,an==null?void 0:an.className),Pn={};Ct&&(Pn.textAlign=Ct);var pn=(0,J.Z)((0,J.Z)((0,J.Z)((0,J.Z)({},an==null?void 0:an.style),Dn),Pn),Ft.style),Mn=Gn;return(0,j.Z)(Mn)==="object"&&!Array.isArray(Mn)&&!_.isValidElement(Mn)&&(Mn=null),_e&&(tn||un)&&(Mn=_.createElement("span",{className:"".concat(cn,"-content")},Mn)),_.createElement(te,(0,s.Z)({},an,Ft,{className:Ht,style:pn,title:pt,scope:De,onMouseEnter:$n?Jn:void 0,onMouseLeave:$n?ir:void 0,colSpan:_t!==1?_t:null,rowSpan:dt!==1?dt:null}),mt,Mn)}var Lt=_.memo(Ge);function Ie(Z,ie,ne,ae,he){var ue=ne[Z]||{},ve=ne[ie]||{},xe,Pe;ue.fixed==="left"?xe=ae.left[he==="rtl"?ie:Z]:ve.fixed==="right"&&(Pe=ae.right[he==="rtl"?Z:ie]);var te=!1,oe=!1,_e=!1,De=!1,Re=ne[ie+1],qe=ne[Z-1],Ct=Re&&!Re.fixed||qe&&!qe.fixed||ne.every(function(nn){return nn.fixed==="left"});if(he==="rtl"){if(xe!==void 0){var yt=qe&&qe.fixed==="left";De=!yt&&Ct}else if(Pe!==void 0){var Zt=Re&&Re.fixed==="right";_e=!Zt&&Ct}}else if(xe!==void 0){var xt=Re&&Re.fixed==="left";te=!xt&&Ct}else if(Pe!==void 0){var Kt=qe&&qe.fixed==="right";oe=!Kt&&Ct}return{fixLeft:xe,fixRight:Pe,lastFixLeft:te,firstFixRight:oe,lastFixRight:_e,firstFixLeft:De,isSticky:ae.isSticky}}var Oe=_.createContext({}),T=Oe;function A(Z){var ie=Z.className,ne=Z.index,ae=Z.children,he=Z.colSpan,ue=he===void 0?1:he,ve=Z.rowSpan,xe=Z.align,Pe=e(l,["prefixCls","direction"]),te=Pe.prefixCls,oe=Pe.direction,_e=_.useContext(T),De=_e.scrollColumnIndex,Re=_e.stickyOffsets,qe=_e.flattenColumns,Ct=ne+ue-1,yt=Ct+1===De?ue+1:ue,Zt=Ie(ne,ne+yt-1,qe,Re,oe);return _.createElement(Lt,(0,s.Z)({className:ie,index:ne,component:"td",prefixCls:te,record:null,dataIndex:null,align:xe,colSpan:yt,rowSpan:ve,render:function(){return ae}},Zt))}var X=u(74416),M=["children"];function se(Z){var ie=Z.children,ne=(0,X.Z)(Z,M);return _.createElement("tr",ne,ie)}function pe(Z){var ie=Z.children;return ie}pe.Row=se,pe.Cell=A;var R=pe;function m(Z){var ie=Z.children,ne=Z.stickyOffsets,ae=Z.flattenColumns,he=e(l,"prefixCls"),ue=ae.length-1,ve=ae[ue],xe=_.useMemo(function(){return{stickyOffsets:ne,flattenColumns:ae,scrollColumnIndex:ve!=null&&ve.scrollbar?ue:null}},[ve,ae,ue,ne]);return _.createElement(T.Provider,{value:xe},_.createElement("tfoot",{className:"".concat(he,"-summary")},ie))}var C=h(m),z=R,O=u(29301),U=u(29194),K=u(24514),ee=u(75152),q=u(26112);function ce(Z,ie,ne,ae,he,ue,ve){Z.push({record:ie,indent:ne,index:ve});var xe=ue(ie),Pe=he==null?void 0:he.has(xe);if(ie&&Array.isArray(ie[ae])&&Pe)for(var te=0;te<ie[ae].length;te+=1)ce(Z,ie[ae][te],ne+1,ae,he,ue,te)}function we(Z,ie,ne,ae){var he=_.useMemo(function(){if(ne!=null&&ne.size){for(var ue=[],ve=0;ve<(Z==null?void 0:Z.length);ve+=1){var xe=Z[ve];ce(ue,xe,0,ie,ne,ae,ve)}return ue}return Z==null?void 0:Z.map(function(Pe,te){return{record:Pe,indent:0,index:te}})},[Z,ie,ne,ae]);return he}function ge(Z,ie,ne,ae){var he=e(l,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),ue=he.flattenColumns,ve=he.expandableType,xe=he.expandedKeys,Pe=he.childrenColumnName,te=he.onTriggerExpand,oe=he.rowExpandable,_e=he.onRow,De=he.expandRowByClick,Re=he.rowClassName,qe=ve==="nest",Ct=ve==="row"&&(!oe||oe(Z)),yt=Ct||qe,Zt=xe&&xe.has(ie),xt=Pe&&Z&&Z[Pe],Kt=(0,zt.zX)(te),nn=_e==null?void 0:_e(Z,ne),Et=nn==null?void 0:nn.onClick,rn=function(_n){De&&yt&&te(Z,_n);for(var Tn=arguments.length,tn=new Array(Tn>1?Tn-1:0),un=1;un<Tn;un++)tn[un-1]=arguments[un];Et==null||Et.apply(void 0,[_n].concat(tn))},Jt;typeof Re=="string"?Jt=Re:typeof Re=="function"&&(Jt=Re(Z,ne,ae));var Xt=y(ue);return(0,J.Z)((0,J.Z)({},he),{},{columnsKey:Xt,nestExpandable:qe,expanded:Zt,hasNestChildren:xt,record:Z,onTriggerExpand:Kt,rowSupportExpand:Ct,expandable:yt,rowProps:(0,J.Z)((0,J.Z)({},nn),{},{className:g()(Jt,nn==null?void 0:nn.className),onClick:rn})})}function Ke(Z){var ie=Z.prefixCls,ne=Z.children,ae=Z.component,he=Z.cellComponent,ue=Z.className,ve=Z.expanded,xe=Z.colSpan,Pe=Z.isEmpty,te=e(l,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),oe=te.scrollbarSize,_e=te.fixHeader,De=te.fixColumn,Re=te.componentWidth,qe=te.horizonScroll,Ct=ne;return(Pe?qe&&Re:De)&&(Ct=_.createElement("div",{style:{width:Re-(_e&&!Pe?oe:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ie,"-expanded-row-fixed")},Ct)),_.createElement(ae,{className:ue,style:{display:ve?null:"none"}},_.createElement(Lt,{component:he,prefixCls:ie,colSpan:xe},Ct))}var Me=Ke;function Fe(Z){var ie=Z.prefixCls,ne=Z.record,ae=Z.onExpand,he=Z.expanded,ue=Z.expandable,ve="".concat(ie,"-row-expand-icon");if(!ue)return _.createElement("span",{className:g()(ve,"".concat(ie,"-row-spaced"))});var xe=function(te){ae(ne,te),te.stopPropagation()};return _.createElement("span",{className:g()(ve,(0,B.Z)((0,B.Z)({},"".concat(ie,"-row-expanded"),he),"".concat(ie,"-row-collapsed"),!he)),onClick:xe})}function ft(Z,ie,ne){var ae=[];function he(ue){(ue||[]).forEach(function(ve,xe){ae.push(ie(ve,xe)),he(ve[ne])})}return he(Z),ae}function je(Z,ie,ne,ae){return typeof Z=="string"?Z:typeof Z=="function"?Z(ie,ne,ae):""}function ze(Z,ie,ne,ae,he){var ue=Z.record,ve=Z.prefixCls,xe=Z.columnsKey,Pe=Z.fixedInfoList,te=Z.expandIconColumnIndex,oe=Z.nestExpandable,_e=Z.indentSize,De=Z.expandIcon,Re=Z.expanded,qe=Z.hasNestChildren,Ct=Z.onTriggerExpand,yt=xe[ne],Zt=Pe[ne],xt;ne===(te||0)&&oe&&(xt=_.createElement(_.Fragment,null,_.createElement("span",{style:{paddingLeft:"".concat(_e*ae,"px")},className:"".concat(ve,"-row-indent indent-level-").concat(ae)}),De({prefixCls:ve,expanded:Re,expandable:qe,record:ue,onExpand:Ct})));var Kt;return ie.onCell&&(Kt=ie.onCell(ue,he)),{key:yt,fixedInfo:Zt,appendCellNode:xt,additionalCellProps:Kt||{}}}function Nt(Z){var ie=Z.className,ne=Z.style,ae=Z.record,he=Z.index,ue=Z.renderIndex,ve=Z.rowKey,xe=Z.indent,Pe=xe===void 0?0:xe,te=Z.rowComponent,oe=Z.cellComponent,_e=Z.scopeCellComponent,De=ge(ae,ve,he,Pe),Re=De.prefixCls,qe=De.flattenColumns,Ct=De.expandedRowClassName,yt=De.expandedRowRender,Zt=De.rowProps,xt=De.expanded,Kt=De.rowSupportExpand,nn=_.useRef(!1);nn.current||(nn.current=xt);var Et=je(Ct,ae,he,Pe),rn=_.createElement(te,(0,s.Z)({},Zt,{"data-row-key":ve,className:g()(ie,"".concat(Re,"-row"),"".concat(Re,"-row-level-").concat(Pe),Zt==null?void 0:Zt.className,(0,B.Z)({},Et,Pe>=1)),style:(0,J.Z)((0,J.Z)({},ne),Zt==null?void 0:Zt.style)}),qe.map(function(sn,_n){var Tn=sn.render,tn=sn.dataIndex,un=sn.className,Vt=ze(De,sn,_n,Pe,he),mt=Vt.key,Ut=Vt.fixedInfo,Ft=Vt.appendCellNode,yn=Vt.additionalCellProps;return _.createElement(Lt,(0,s.Z)({className:un,ellipsis:sn.ellipsis,align:sn.align,scope:sn.rowScope,component:sn.rowScope?_e:oe,prefixCls:Re,key:mt,record:ae,index:he,renderIndex:ue,dataIndex:tn,render:Tn,shouldCellUpdate:sn.shouldCellUpdate},Ut,{appendNode:Ft,additionalProps:yn}))})),Jt;if(Kt&&(nn.current||xt)){var Xt=yt(ae,he,Pe+1,xt);Jt=_.createElement(Me,{expanded:xt,className:g()("".concat(Re,"-expanded-row"),"".concat(Re,"-expanded-row-level-").concat(Pe+1),Et),prefixCls:Re,component:te,cellComponent:oe,colSpan:qe.length,isEmpty:!1},Xt)}return _.createElement(_.Fragment,null,rn,Jt)}var Tt=h(Nt);function rt(Z){var ie=Z.columnKey,ne=Z.onColumnResize,ae=_.useRef();return _.useEffect(function(){ae.current&&ne(ie,ae.current.offsetWidth)},[]),_.createElement(O.Z,{data:ie},_.createElement("td",{ref:ae,style:{padding:0,border:0,height:0}},_.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function jt(Z){var ie=Z.prefixCls,ne=Z.columnsKey,ae=Z.onColumnResize;return _.createElement("tr",{"aria-hidden":"true",className:"".concat(ie,"-measure-row"),style:{height:0,fontSize:0}},_.createElement(O.Z.Collection,{onBatchResize:function(ue){ue.forEach(function(ve){var xe=ve.data,Pe=ve.size;ae(xe,Pe.offsetWidth)})}},ne.map(function(he){return _.createElement(rt,{key:he,columnKey:he,onColumnResize:ae})})))}function hn(Z){var ie=Z.data,ne=Z.measureColumnWidth,ae=e(l,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),he=ae.prefixCls,ue=ae.getComponent,ve=ae.onColumnResize,xe=ae.flattenColumns,Pe=ae.getRowKey,te=ae.expandedKeys,oe=ae.childrenColumnName,_e=ae.emptyNode,De=we(ie,oe,te,Pe),Re=_.useRef({renderWithProps:!1}),qe=ue(["body","wrapper"],"tbody"),Ct=ue(["body","row"],"tr"),yt=ue(["body","cell"],"td"),Zt=ue(["body","cell"],"th"),xt;ie.length?xt=De.map(function(nn,Et){var rn=nn.record,Jt=nn.indent,Xt=nn.index,sn=Pe(rn,Et);return _.createElement(Tt,{key:sn,rowKey:sn,record:rn,index:Et,renderIndex:Xt,rowComponent:Ct,cellComponent:yt,scopeCellComponent:Zt,indent:Jt})}):xt=_.createElement(Me,{expanded:!0,className:"".concat(he,"-placeholder"),prefixCls:he,component:Ct,cellComponent:yt,colSpan:xe.length,isEmpty:!0},_e);var Kt=y(xe);return _.createElement(w.Provider,{value:Re.current},_.createElement(qe,{className:"".concat(he,"-tbody")},ne&&_.createElement(jt,{prefixCls:he,columnsKey:Kt,onColumnResize:ve}),xt))}var St=h(hn),vt=u(90494),Rt=["columnType"];function on(Z){for(var ie=Z.colWidths,ne=Z.columns,ae=Z.columCount,he=e(l,["tableLayout"]),ue=he.tableLayout,ve=[],xe=ae||ne.length,Pe=!1,te=xe-1;te>=0;te-=1){var oe=ie[te],_e=ne&&ne[te],De=void 0,Re=void 0;if(_e&&(De=_e[vt.v],ue==="auto"&&(Re=_e.minWidth)),oe||Re||De||Pe){var qe=De||{},Ct=qe.columnType,yt=(0,X.Z)(qe,Rt);ve.unshift(_.createElement("col",(0,s.Z)({key:te,style:{width:oe,minWidth:Re}},yt))),Pe=!0}}return _.createElement("colgroup",null,ve)}var Qt=on,qt=u(80702),En=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function fn(Z,ie){return(0,_.useMemo)(function(){for(var ne=[],ae=0;ae<ie;ae+=1){var he=Z[ae];if(he!==void 0)ne[ae]=he;else return null}return ne},[Z.join("_"),ie])}var We=_.forwardRef(function(Z,ie){var ne=Z.className,ae=Z.noData,he=Z.columns,ue=Z.flattenColumns,ve=Z.colWidths,xe=Z.columCount,Pe=Z.stickyOffsets,te=Z.direction,oe=Z.fixHeader,_e=Z.stickyTopOffset,De=Z.stickyBottomOffset,Re=Z.stickyClassName,qe=Z.onScroll,Ct=Z.maxContentScroll,yt=Z.children,Zt=(0,X.Z)(Z,En),xt=e(l,["prefixCls","scrollbarSize","isSticky","getComponent"]),Kt=xt.prefixCls,nn=xt.scrollbarSize,Et=xt.isSticky,rn=xt.getComponent,Jt=rn(["header","table"],"table"),Xt=Et&&!oe?0:nn,sn=_.useRef(null),_n=_.useCallback(function(yn){(0,c.mH)(ie,yn),(0,c.mH)(sn,yn)},[]);_.useEffect(function(){var yn;function cn(bn){var zn=bn,Xn=zn.currentTarget,$n=zn.deltaX;$n&&(qe({currentTarget:Xn,scrollLeft:Xn.scrollLeft+$n}),bn.preventDefault())}return(yn=sn.current)===null||yn===void 0||yn.addEventListener("wheel",cn,{passive:!1}),function(){var bn;(bn=sn.current)===null||bn===void 0||bn.removeEventListener("wheel",cn)}},[]);var Tn=_.useMemo(function(){return ue.every(function(yn){return yn.width})},[ue]),tn=ue[ue.length-1],un={fixed:tn?tn.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Kt,"-cell-scrollbar")}}},Vt=(0,_.useMemo)(function(){return Xt?[].concat((0,qt.Z)(he),[un]):he},[Xt,he]),mt=(0,_.useMemo)(function(){return Xt?[].concat((0,qt.Z)(ue),[un]):ue},[Xt,ue]),Ut=(0,_.useMemo)(function(){var yn=Pe.right,cn=Pe.left;return(0,J.Z)((0,J.Z)({},Pe),{},{left:te==="rtl"?[].concat((0,qt.Z)(cn.map(function(bn){return bn+Xt})),[0]):cn,right:te==="rtl"?yn:[].concat((0,qt.Z)(yn.map(function(bn){return bn+Xt})),[0]),isSticky:Et})},[Xt,Pe,Et]),Ft=fn(ve,xe);return _.createElement("div",{style:(0,J.Z)({overflow:"hidden"},Et?{top:_e,bottom:De}:{}),ref:_n,className:g()(ne,(0,B.Z)({},Re,!!Re))},_.createElement(Jt,{style:{tableLayout:"fixed",visibility:ae||Ft?null:"hidden"}},(!ae||!Ct||Tn)&&_.createElement(Qt,{colWidths:Ft?[].concat((0,qt.Z)(Ft),[Xt]):[],columCount:xe+1,columns:mt}),yt((0,J.Z)((0,J.Z)({},Zt),{},{stickyOffsets:Ut,columns:Vt,flattenColumns:mt}))))}),gt=_.memo(We),Gt=function(ie){var ne=ie.cells,ae=ie.stickyOffsets,he=ie.flattenColumns,ue=ie.rowComponent,ve=ie.cellComponent,xe=ie.onHeaderRow,Pe=ie.index,te=e(l,["prefixCls","direction"]),oe=te.prefixCls,_e=te.direction,De;xe&&(De=xe(ne.map(function(qe){return qe.column}),Pe));var Re=y(ne.map(function(qe){return qe.column}));return _.createElement(ue,De,ne.map(function(qe,Ct){var yt=qe.column,Zt=Ie(qe.colStart,qe.colEnd,he,ae,_e),xt;return yt&&yt.onHeaderCell&&(xt=qe.column.onHeaderCell(yt)),_.createElement(Lt,(0,s.Z)({},qe,{scope:yt.title?qe.colSpan>1?"colgroup":"col":null,ellipsis:yt.ellipsis,align:yt.align,component:ve,prefixCls:oe,key:Re[Ct]},Zt,{additionalProps:xt,rowType:"header"}))}))},mn=Gt;function Wt(Z){var ie=[];function ne(ve,xe){var Pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ie[Pe]=ie[Pe]||[];var te=xe,oe=ve.filter(Boolean).map(function(_e){var De={key:_e.key,className:_e.className||"",children:_e.title,column:_e,colStart:te},Re=1,qe=_e.children;return qe&&qe.length>0&&(Re=ne(qe,te,Pe+1).reduce(function(Ct,yt){return Ct+yt},0),De.hasSubColumns=!0),"colSpan"in _e&&(Re=_e.colSpan),"rowSpan"in _e&&(De.rowSpan=_e.rowSpan),De.colSpan=Re,De.colEnd=De.colStart+Re-1,ie[Pe].push(De),te+=Re,Re});return oe}ne(Z,0);for(var ae=ie.length,he=function(xe){ie[xe].forEach(function(Pe){!("rowSpan"in Pe)&&!Pe.hasSubColumns&&(Pe.rowSpan=ae-xe)})},ue=0;ue<ae;ue+=1)he(ue);return ie}var kn=function(ie){var ne=ie.stickyOffsets,ae=ie.columns,he=ie.flattenColumns,ue=ie.onHeaderRow,ve=e(l,["prefixCls","getComponent"]),xe=ve.prefixCls,Pe=ve.getComponent,te=_.useMemo(function(){return Wt(ae)},[ae]),oe=Pe(["header","wrapper"],"thead"),_e=Pe(["header","row"],"tr"),De=Pe(["header","cell"],"th");return _.createElement(oe,{className:"".concat(xe,"-thead")},te.map(function(Re,qe){var Ct=_.createElement(mn,{key:qe,flattenColumns:he,cells:Re,stickyOffsets:ne,rowComponent:_e,cellComponent:De,onHeaderRow:ue,index:qe});return Ct}))},Vn=h(kn),Sn=u(78612);function Yt(Z,ie,ne){var ae=(0,vt.g)(Z),he=ae.expandIcon,ue=ae.expandedRowKeys,ve=ae.defaultExpandedRowKeys,xe=ae.defaultExpandAllRows,Pe=ae.expandedRowRender,te=ae.onExpand,oe=ae.onExpandedRowsChange,_e=ae.childrenColumnName,De=he||Fe,Re=_e||"children",qe=_.useMemo(function(){return Pe?"row":Z.expandable&&Z.internalHooks===N.R&&Z.expandable.__PARENT_RENDER_ICON__||ie.some(function(Et){return Et&&(0,j.Z)(Et)==="object"&&Et[Re]})?"nest":!1},[!!Pe,ie]),Ct=_.useState(function(){return ve||(xe?ft(ie,ne,Re):[])}),yt=(0,D.Z)(Ct,2),Zt=yt[0],xt=yt[1],Kt=_.useMemo(function(){return new Set(ue||Zt||[])},[ue,Zt]),nn=_.useCallback(function(Et){var rn=ne(Et,ie.indexOf(Et)),Jt,Xt=Kt.has(rn);Xt?(Kt.delete(rn),Jt=(0,qt.Z)(Kt)):Jt=[].concat((0,qt.Z)(Kt),[rn]),xt(Jt),te&&te(!Xt,Et),oe&&oe(Jt)},[ne,Kt,ie,te,oe]);return[ae,qe,Kt,De,Re,nn]}function Nn(Z,ie,ne){var ae=Z.map(function(he,ue){return Ie(ue,ue,Z,ie,ne)});return(0,d.Z)(function(){return ae},[ae],function(he,ue){return!(0,V.Z)(he,ue)})}function xn(Z){var ie=(0,_.useRef)(Z),ne=(0,_.useState)({}),ae=(0,D.Z)(ne,2),he=ae[1],ue=(0,_.useRef)(null),ve=(0,_.useRef)([]);function xe(Pe){ve.current.push(Pe);var te=Promise.resolve();ue.current=te,te.then(function(){if(ue.current===te){var oe=ve.current,_e=ie.current;ve.current=[],oe.forEach(function(De){ie.current=De(ie.current)}),ue.current=null,_e!==ie.current&&he({})}})}return(0,_.useEffect)(function(){return function(){ue.current=null}},[]),[ie.current,xe]}function On(Z){var ie=(0,_.useRef)(Z||null),ne=(0,_.useRef)();function ae(){window.clearTimeout(ne.current)}function he(ve){ie.current=ve,ae(),ne.current=window.setTimeout(function(){ie.current=null,ne.current=void 0},100)}function ue(){return ie.current}return(0,_.useEffect)(function(){return ae},[]),[he,ue]}function gn(){var Z=_.useState(-1),ie=(0,D.Z)(Z,2),ne=ie[0],ae=ie[1],he=_.useState(-1),ue=(0,D.Z)(he,2),ve=ue[0],xe=ue[1],Pe=_.useCallback(function(te,oe){ae(te),xe(oe)},[]);return[ne,ve,Pe]}var Cn=u(47273),An=(0,Cn.Z)()?window:null;function Zn(Z,ie){var ne=(0,j.Z)(Z)==="object"?Z:{},ae=ne.offsetHeader,he=ae===void 0?0:ae,ue=ne.offsetSummary,ve=ue===void 0?0:ue,xe=ne.offsetScroll,Pe=xe===void 0?0:xe,te=ne.getContainer,oe=te===void 0?function(){return An}:te,_e=oe()||An,De=!!Z;return _.useMemo(function(){return{isSticky:De,stickyClassName:De?"".concat(ie,"-sticky-holder"):"",offsetHeader:he,offsetSummary:ve,offsetScroll:Pe,container:_e}},[De,Pe,he,ve,ie,_e])}function re(Z,ie,ne){var ae=(0,_.useMemo)(function(){var he=ie.length,ue=function(te,oe,_e){for(var De=[],Re=0,qe=te;qe!==oe;qe+=_e)De.push(Re),ie[qe].fixed&&(Re+=Z[qe]||0);return De},ve=ue(0,he,1),xe=ue(he-1,-1,-1).reverse();return ne==="rtl"?{left:xe,right:ve}:{left:ve,right:xe}},[Z,ie,ne]);return ae}var Y=re;function $e(Z){var ie=Z.className,ne=Z.children;return _.createElement("div",{className:ie},ne)}var Te=$e,Ye=u(8224),Xe=u(16089),ot=u(76846);function tt(Z){var ie=(0,ot.bn)(Z),ne=ie.getBoundingClientRect(),ae=document.documentElement;return{left:ne.left+(window.pageXOffset||ae.scrollLeft)-(ae.clientLeft||document.body.clientLeft||0),top:ne.top+(window.pageYOffset||ae.scrollTop)-(ae.clientTop||document.body.clientTop||0)}}var Pt=function(ie,ne){var ae,he,ue=ie.scrollBodyRef,ve=ie.onScroll,xe=ie.offsetScroll,Pe=ie.container,te=ie.direction,oe=e(l,"prefixCls"),_e=((ae=ue.current)===null||ae===void 0?void 0:ae.scrollWidth)||0,De=((he=ue.current)===null||he===void 0?void 0:he.clientWidth)||0,Re=_e&&De*(De/_e),qe=_.useRef(),Ct=xn({scrollLeft:0,isHiddenScrollBar:!0}),yt=(0,D.Z)(Ct,2),Zt=yt[0],xt=yt[1],Kt=_.useRef({delta:0,x:0}),nn=_.useState(!1),Et=(0,D.Z)(nn,2),rn=Et[0],Jt=Et[1],Xt=_.useRef(null);_.useEffect(function(){return function(){Xe.Z.cancel(Xt.current)}},[]);var sn=function(){Jt(!1)},_n=function(mt){mt.persist(),Kt.current.delta=mt.pageX-Zt.scrollLeft,Kt.current.x=0,Jt(!0),mt.preventDefault()},Tn=function(mt){var Ut,Ft=mt||((Ut=window)===null||Ut===void 0?void 0:Ut.event),yn=Ft.buttons;if(!rn||yn===0){rn&&Jt(!1);return}var cn=Kt.current.x+mt.pageX-Kt.current.x-Kt.current.delta,bn=te==="rtl";cn=Math.max(bn?Re-De:0,Math.min(bn?0:De-Re,cn));var zn=!bn||Math.abs(cn)+Math.abs(Re)<De;zn&&(ve({scrollLeft:cn/De*(_e+2)}),Kt.current.x=mt.pageX)},tn=function(){Xe.Z.cancel(Xt.current),Xt.current=(0,Xe.Z)(function(){if(ue.current){var mt=tt(ue.current).top,Ut=mt+ue.current.offsetHeight,Ft=Pe===window?document.documentElement.scrollTop+window.innerHeight:tt(Pe).top+Pe.clientHeight;Ut-(0,ee.Z)()<=Ft||mt>=Ft-xe?xt(function(yn){return(0,J.Z)((0,J.Z)({},yn),{},{isHiddenScrollBar:!0})}):xt(function(yn){return(0,J.Z)((0,J.Z)({},yn),{},{isHiddenScrollBar:!1})})}})},un=function(mt){xt(function(Ut){return(0,J.Z)((0,J.Z)({},Ut),{},{scrollLeft:mt/_e*De||0})})};return _.useImperativeHandle(ne,function(){return{setScrollLeft:un,checkScrollBarVisible:tn}}),_.useEffect(function(){var Vt=(0,Ye.Z)(document.body,"mouseup",sn,!1),mt=(0,Ye.Z)(document.body,"mousemove",Tn,!1);return tn(),function(){Vt.remove(),mt.remove()}},[Re,rn]),_.useEffect(function(){if(ue.current){for(var Vt=[],mt=(0,ot.bn)(ue.current);mt;)Vt.push(mt),mt=mt.parentElement;return Vt.forEach(function(Ut){return Ut.addEventListener("scroll",tn,!1)}),window.addEventListener("resize",tn,!1),window.addEventListener("scroll",tn,!1),Pe.addEventListener("scroll",tn,!1),function(){Vt.forEach(function(Ut){return Ut.removeEventListener("scroll",tn)}),window.removeEventListener("resize",tn),window.removeEventListener("scroll",tn),Pe.removeEventListener("scroll",tn)}}},[Pe]),_.useEffect(function(){Zt.isHiddenScrollBar||xt(function(Vt){var mt=ue.current;return mt?(0,J.Z)((0,J.Z)({},Vt),{},{scrollLeft:mt.scrollLeft/mt.scrollWidth*mt.clientWidth}):Vt})},[Zt.isHiddenScrollBar]),_e<=De||!Re||Zt.isHiddenScrollBar?null:_.createElement("div",{style:{height:(0,ee.Z)(),width:De,bottom:xe},className:"".concat(oe,"-sticky-scroll")},_.createElement("div",{onMouseDown:_n,ref:qe,className:g()("".concat(oe,"-sticky-scroll-bar"),(0,B.Z)({},"".concat(oe,"-sticky-scroll-bar-active"),rn)),style:{width:"".concat(Re,"px"),transform:"translate3d(".concat(Zt.scrollLeft,"px, 0, 0)")}}))},Se=_.forwardRef(Pt);function me(Z){return null}var Be=me;function lt(Z){return null}var et=lt,It="rc-table",Je=[],nt={};function $(){return"No Data"}function de(Z,ie){var ne=(0,J.Z)({rowKey:"key",prefixCls:It,emptyText:$},Z),ae=ne.prefixCls,he=ne.className,ue=ne.rowClassName,ve=ne.style,xe=ne.data,Pe=ne.rowKey,te=ne.scroll,oe=ne.tableLayout,_e=ne.direction,De=ne.title,Re=ne.footer,qe=ne.summary,Ct=ne.caption,yt=ne.id,Zt=ne.showHeader,xt=ne.components,Kt=ne.emptyText,nn=ne.onRow,Et=ne.onHeaderRow,rn=ne.onScroll,Jt=ne.internalHooks,Xt=ne.transformColumns,sn=ne.internalRefs,_n=ne.tailor,Tn=ne.getContainerWidth,tn=ne.sticky,un=ne.rowHoverable,Vt=un===void 0?!0:un,mt=xe||Je,Ut=!!mt.length,Ft=Jt===N.R,yn=_.useCallback(function(Kn,Fn){return(0,b.Z)(xt,Kn)||Fn},[xt]),cn=_.useMemo(function(){return typeof Pe=="function"?Pe:function(Kn){var Fn=Kn&&Kn[Pe];return Fn}},[Pe]),bn=yn(["body"]),zn=gn(),Xn=(0,D.Z)(zn,3),$n=Xn[0],tr=Xn[1],rr=Xn[2],Gn=Yt(ne,mt,cn),an=(0,D.Z)(Gn,6),Dn=an[0],Bn=an[1],At=an[2],_t=an[3],dt=an[4],Dt=an[5],wn=te==null?void 0:te.x,Ln=_.useState(0),ar=(0,D.Z)(Ln,2),Jn=ar[0],ir=ar[1],pt=(0,Sn.Z)((0,J.Z)((0,J.Z)((0,J.Z)({},ne),Dn),{},{expandable:!!Dn.expandedRowRender,columnTitle:Dn.columnTitle,expandedKeys:At,getRowKey:cn,onTriggerExpand:Dt,expandIcon:_t,expandIconColumnIndex:Dn.expandIconColumnIndex,direction:_e,scrollWidth:Ft&&_n&&typeof wn=="number"?wn:null,clientWidth:Jn}),Ft?Xt:null),Ht=(0,D.Z)(pt,4),Pn=Ht[0],pn=Ht[1],Mn=Ht[2],lr=Ht[3],jn=Mn!=null?Mn:wn,ur=_.useMemo(function(){return{columns:Pn,flattenColumns:pn}},[Pn,pn]),hr=_.useRef(),Pr=_.useRef(),Hn=_.useRef(),Lr=_.useRef();_.useImperativeHandle(ie,function(){return{nativeElement:hr.current,scrollTo:function(Fn){var fr;if(Hn.current instanceof HTMLElement){var gr=Fn.index,dr=Fn.top,Ur=Fn.key;if(le(dr)){var Mr;(Mr=Hn.current)===null||Mr===void 0||Mr.scrollTo({top:dr})}else{var Zr,Qr=Ur!=null?Ur:cn(mt[gr]);(Zr=Hn.current.querySelector('[data-row-key="'.concat(Qr,'"]')))===null||Zr===void 0||Zr.scrollIntoView()}}else(fr=Hn.current)!==null&&fr!==void 0&&fr.scrollTo&&Hn.current.scrollTo(Fn)}}});var Kr=_.useRef(),Vr=_.useState(!1),Nr=(0,D.Z)(Vr,2),Cr=Nr[0],xr=Nr[1],Or=_.useState(!1),mr=(0,D.Z)(Or,2),kr=mr[0],Er=mr[1],Fr=xn(new Map),Dr=(0,D.Z)(Fr,2),Hr=Dr[0],Br=Dr[1],$r=y(pn),Tr=$r.map(function(Kn){return Hr.get(Kn)}),Sr=_.useMemo(function(){return Tr},[Tr.join("_")]),In=Y(Sr,pn,_e),dn=te&&F(te.y),Wn=te&&F(jn)||!!Dn.fixed,Qn=Wn&&pn.some(function(Kn){var Fn=Kn.fixed;return Fn}),qn=_.useRef(),er=Zn(tn,ae),sr=er.isSticky,pr=er.offsetHeader,vr=er.offsetSummary,wr=er.offsetScroll,yr=er.stickyClassName,Rr=er.container,or=_.useMemo(function(){return qe==null?void 0:qe(mt)},[qe,mt]),Ir=(dn||sr)&&_.isValidElement(or)&&or.type===R&&or.props.fixed,Gr,zr,Yr;dn&&(zr={overflowY:Ut?"scroll":"auto",maxHeight:te.y}),Wn&&(Gr={overflowX:"auto"},dn||(zr={overflowY:"hidden"}),Yr={width:jn===!0?"auto":jn,minWidth:"100%"});var qr=_.useCallback(function(Kn,Fn){(0,U.Z)(hr.current)&&Br(function(fr){if(fr.get(Kn)!==Fn){var gr=new Map(fr);return gr.set(Kn,Fn),gr}return fr})},[]),nr=On(null),Un=(0,D.Z)(nr,2),Yn=Un[0],_r=Un[1];function cr(Kn,Fn){Fn&&(typeof Fn=="function"?Fn(Kn):Fn.scrollLeft!==Kn&&(Fn.scrollLeft=Kn,Fn.scrollLeft!==Kn&&setTimeout(function(){Fn.scrollLeft=Kn},0)))}var br=(0,W.Z)(function(Kn){var Fn=Kn.currentTarget,fr=Kn.scrollLeft,gr=_e==="rtl",dr=typeof fr=="number"?fr:Fn.scrollLeft,Ur=Fn||nt;if(!_r()||_r()===Ur){var Mr;Yn(Ur),cr(dr,Pr.current),cr(dr,Hn.current),cr(dr,Kr.current),cr(dr,(Mr=qn.current)===null||Mr===void 0?void 0:Mr.setScrollLeft)}var Zr=Fn||Pr.current;if(Zr){var Qr=Ft&&_n&&typeof jn=="number"?jn:Zr.scrollWidth,oi=Zr.clientWidth;if(Qr===oi){xr(!1),Er(!1);return}gr?(xr(-dr<Qr-oi),Er(-dr>0)):(xr(dr>0),Er(dr<Qr-oi))}}),Xr=(0,W.Z)(function(Kn){br(Kn),rn==null||rn(Kn)}),ei=function(){if(Wn&&Hn.current){var Fn;br({currentTarget:(0,ot.bn)(Hn.current),scrollLeft:(Fn=Hn.current)===null||Fn===void 0?void 0:Fn.scrollLeft})}else xr(!1),Er(!1)},ti=function(Fn){var fr,gr=Fn.width;(fr=qn.current)===null||fr===void 0||fr.checkScrollBarVisible();var dr=hr.current?hr.current.offsetWidth:gr;Ft&&Tn&&hr.current&&(dr=Tn(hr.current,dr)||dr),dr!==Jn&&(ei(),ir(dr))},Jr=_.useRef(!1);_.useEffect(function(){Jr.current&&ei()},[Wn,xe,Pn.length]),_.useEffect(function(){Jr.current=!0},[]);var Ar=_.useState(0),jr=(0,D.Z)(Ar,2),Wr=jr[0],li=jr[1],wi=_.useState(!0),ui=(0,D.Z)(wi,2),ci=ui[0],xi=ui[1];_.useEffect(function(){(!_n||!Ft)&&(Hn.current instanceof Element?li((0,ee.o)(Hn.current).width):li((0,ee.o)(Lr.current).width)),xi((0,K.G)("position","sticky"))},[]),_.useEffect(function(){Ft&&sn&&(sn.body.current=Hn.current)});var Ei=_.useCallback(function(Kn){return _.createElement(_.Fragment,null,_.createElement(Vn,Kn),Ir==="top"&&_.createElement(C,Kn,or))},[Ir,or]),Ci=_.useCallback(function(Kn){return _.createElement(C,Kn,or)},[or]),fi=yn(["table"],"table"),ni=_.useMemo(function(){return oe||(Qn?jn==="max-content"?"auto":"fixed":dn||sr||pn.some(function(Kn){var Fn=Kn.ellipsis;return Fn})?"fixed":"auto")},[dn,Qn,pn,oe,sr]),ri,ii={colWidths:Sr,columCount:pn.length,stickyOffsets:In,onHeaderRow:Et,fixHeader:dn,scroll:te},di=_.useMemo(function(){return Ut?null:typeof Kt=="function"?Kt():Kt},[Ut,Kt]),hi=_.createElement(St,{data:mt,measureColumnWidth:dn||Wn||sr}),_i=_.createElement(Qt,{colWidths:pn.map(function(Kn){var Fn=Kn.width;return Fn}),columns:pn}),pi=Ct!=null?_.createElement("caption",{className:"".concat(ae,"-caption")},Ct):void 0,Si=(0,q.Z)(ne,{data:!0}),vi=(0,q.Z)(ne,{aria:!0});if(dn||sr){var ai;typeof bn=="function"?(ai=bn(mt,{scrollbarSize:Wr,ref:Hn,onScroll:br}),ii.colWidths=pn.map(function(Kn,Fn){var fr=Kn.width,gr=Fn===pn.length-1?fr-Wr:fr;return typeof gr=="number"&&!Number.isNaN(gr)?gr:0})):ai=_.createElement("div",{style:(0,J.Z)((0,J.Z)({},Gr),zr),onScroll:Xr,ref:Hn,className:g()("".concat(ae,"-body"))},_.createElement(fi,(0,s.Z)({style:(0,J.Z)((0,J.Z)({},Yr),{},{tableLayout:ni})},vi),pi,_i,hi,!Ir&&or&&_.createElement(C,{stickyOffsets:In,flattenColumns:pn},or)));var mi=(0,J.Z)((0,J.Z)((0,J.Z)({noData:!mt.length,maxContentScroll:Wn&&jn==="max-content"},ii),ur),{},{direction:_e,stickyClassName:yr,onScroll:br});ri=_.createElement(_.Fragment,null,Zt!==!1&&_.createElement(gt,(0,s.Z)({},mi,{stickyTopOffset:pr,className:"".concat(ae,"-header"),ref:Pr}),Ei),ai,Ir&&Ir!=="top"&&_.createElement(gt,(0,s.Z)({},mi,{stickyBottomOffset:vr,className:"".concat(ae,"-summary"),ref:Kr}),Ci),sr&&Hn.current&&Hn.current instanceof Element&&_.createElement(Se,{ref:qn,offsetScroll:wr,scrollBodyRef:Hn,onScroll:br,container:Rr,direction:_e}))}else ri=_.createElement("div",{style:(0,J.Z)((0,J.Z)({},Gr),zr),className:g()("".concat(ae,"-content")),onScroll:br,ref:Hn},_.createElement(fi,(0,s.Z)({style:(0,J.Z)((0,J.Z)({},Yr),{},{tableLayout:ni})},vi),pi,_i,Zt!==!1&&_.createElement(Vn,(0,s.Z)({},ii,ur)),hi,or&&_.createElement(C,{stickyOffsets:In,flattenColumns:pn},or)));var si=_.createElement("div",(0,s.Z)({className:g()(ae,he,(0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)({},"".concat(ae,"-rtl"),_e==="rtl"),"".concat(ae,"-ping-left"),Cr),"".concat(ae,"-ping-right"),kr),"".concat(ae,"-layout-fixed"),oe==="fixed"),"".concat(ae,"-fixed-header"),dn),"".concat(ae,"-fixed-column"),Qn),"".concat(ae,"-fixed-column-gapped"),Qn&&lr),"".concat(ae,"-scroll-horizontal"),Wn),"".concat(ae,"-has-fix-left"),pn[0]&&pn[0].fixed),"".concat(ae,"-has-fix-right"),pn[pn.length-1]&&pn[pn.length-1].fixed==="right")),style:ve,id:yt,ref:hr},Si),De&&_.createElement(Te,{className:"".concat(ae,"-title")},De(mt)),_.createElement("div",{ref:Lr,className:"".concat(ae,"-container")},ri),Re&&_.createElement(Te,{className:"".concat(ae,"-footer")},Re(mt)));Wn&&(si=_.createElement(O.Z,{onResize:ti},si));var gi=Nn(pn,In,_e),Ri=_.useMemo(function(){return{scrollX:jn,prefixCls:ae,getComponent:yn,scrollbarSize:Wr,direction:_e,fixedInfoList:gi,isSticky:sr,supportSticky:ci,componentWidth:Jn,fixHeader:dn,fixColumn:Qn,horizonScroll:Wn,tableLayout:ni,rowClassName:ue,expandedRowClassName:Dn.expandedRowClassName,expandIcon:_t,expandableType:Bn,expandRowByClick:Dn.expandRowByClick,expandedRowRender:Dn.expandedRowRender,onTriggerExpand:Dt,expandIconColumnIndex:Dn.expandIconColumnIndex,indentSize:Dn.indentSize,allColumnsFixedLeft:pn.every(function(Kn){return Kn.fixed==="left"}),emptyNode:di,columns:Pn,flattenColumns:pn,onColumnResize:qr,hoverStartRow:$n,hoverEndRow:tr,onHover:rr,rowExpandable:Dn.rowExpandable,onRow:nn,getRowKey:cn,expandedKeys:At,childrenColumnName:dt,rowHoverable:Vt}},[jn,ae,yn,Wr,_e,gi,sr,ci,Jn,dn,Qn,Wn,ni,ue,Dn.expandedRowClassName,_t,Bn,Dn.expandRowByClick,Dn.expandedRowRender,Dt,Dn.expandIconColumnIndex,Dn.indentSize,di,Pn,pn,qr,$n,tr,rr,Dn.rowExpandable,nn,cn,At,dt,Vt]);return _.createElement(l.Provider,{value:Ri},si)}var Ce=_.forwardRef(de);function fe(Z){return E(Ce,Z)}var Ne=fe();Ne.EXPAND_COLUMN=N.w,Ne.INTERNAL_HOOKS=N.R,Ne.Column=Be,Ne.ColumnGroup=et,Ne.Summary=z;var ke=Ne,Ae=u(45680),Ue=G(null),st=G(null);function ct(Z,ie,ne){var ae=ie||1;return ne[Z+ae]-(ne[Z]||0)}function ht(Z){var ie=Z.rowInfo,ne=Z.column,ae=Z.colIndex,he=Z.indent,ue=Z.index,ve=Z.component,xe=Z.renderIndex,Pe=Z.record,te=Z.style,oe=Z.className,_e=Z.inverse,De=Z.getHeight,Re=ne.render,qe=ne.dataIndex,Ct=ne.className,yt=ne.width,Zt=e(st,["columnsOffset"]),xt=Zt.columnsOffset,Kt=ze(ie,ne,ae,he,ue),nn=Kt.key,Et=Kt.fixedInfo,rn=Kt.appendCellNode,Jt=Kt.additionalCellProps,Xt=Jt.style,sn=Jt.colSpan,_n=sn===void 0?1:sn,Tn=Jt.rowSpan,tn=Tn===void 0?1:Tn,un=ae-1,Vt=ct(un,_n,xt),mt=_n>1?yt-Vt:0,Ut=(0,J.Z)((0,J.Z)((0,J.Z)({},Xt),te),{},{flex:"0 0 ".concat(Vt,"px"),width:"".concat(Vt,"px"),marginRight:mt,pointerEvents:"auto"}),Ft=_.useMemo(function(){return _e?tn<=1:_n===0||tn===0||tn>1},[tn,_n,_e]);Ft?Ut.visibility="hidden":_e&&(Ut.height=De==null?void 0:De(tn));var yn=Ft?function(){return null}:Re,cn={};return(tn===0||_n===0)&&(cn.rowSpan=1,cn.colSpan=1),_.createElement(Lt,(0,s.Z)({className:g()(Ct,oe),ellipsis:ne.ellipsis,align:ne.align,scope:ne.rowScope,component:ve,prefixCls:ie.prefixCls,key:nn,record:Pe,index:ue,renderIndex:xe,dataIndex:qe,render:yn,shouldCellUpdate:ne.shouldCellUpdate},Et,{appendNode:rn,additionalProps:(0,J.Z)((0,J.Z)({},Jt),{},{style:Ut},cn)}))}var ut=ht,Ot=["data","index","className","rowKey","style","extra","getHeight"],Mt=_.forwardRef(function(Z,ie){var ne=Z.data,ae=Z.index,he=Z.className,ue=Z.rowKey,ve=Z.style,xe=Z.extra,Pe=Z.getHeight,te=(0,X.Z)(Z,Ot),oe=ne.record,_e=ne.indent,De=ne.index,Re=e(l,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),qe=Re.scrollX,Ct=Re.flattenColumns,yt=Re.prefixCls,Zt=Re.fixColumn,xt=Re.componentWidth,Kt=e(Ue,["getComponent"]),nn=Kt.getComponent,Et=ge(oe,ue,ae,_e),rn=nn(["body","row"],"div"),Jt=nn(["body","cell"],"div"),Xt=Et.rowSupportExpand,sn=Et.expanded,_n=Et.rowProps,Tn=Et.expandedRowRender,tn=Et.expandedRowClassName,un;if(Xt&&sn){var Vt=Tn(oe,ae,_e+1,sn),mt=je(tn,oe,ae,_e),Ut={};Zt&&(Ut={style:(0,B.Z)({},"--virtual-width","".concat(xt,"px"))});var Ft="".concat(yt,"-expanded-row-cell");un=_.createElement(rn,{className:g()("".concat(yt,"-expanded-row"),"".concat(yt,"-expanded-row-level-").concat(_e+1),mt)},_.createElement(Lt,{component:Jt,prefixCls:yt,className:g()(Ft,(0,B.Z)({},"".concat(Ft,"-fixed"),Zt)),additionalProps:Ut},Vt))}var yn=(0,J.Z)((0,J.Z)({},ve),{},{width:qe});xe&&(yn.position="absolute",yn.pointerEvents="none");var cn=_.createElement(rn,(0,s.Z)({},_n,te,{"data-row-key":ue,ref:Xt?null:ie,className:g()(he,"".concat(yt,"-row"),_n==null?void 0:_n.className,(0,B.Z)({},"".concat(yt,"-row-extra"),xe)),style:(0,J.Z)((0,J.Z)({},yn),_n==null?void 0:_n.style)}),Ct.map(function(bn,zn){return _.createElement(ut,{key:zn,component:Jt,rowInfo:Et,column:bn,colIndex:zn,indent:_e,index:ae,renderIndex:De,record:oe,inverse:xe,getHeight:Pe})}));return Xt?_.createElement("div",{ref:ie},cn,un):cn}),kt=h(Mt),bt=kt,wt=_.forwardRef(function(Z,ie){var ne=Z.data,ae=Z.onScroll,he=e(l,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),ue=he.flattenColumns,ve=he.onColumnResize,xe=he.getRowKey,Pe=he.expandedKeys,te=he.prefixCls,oe=he.childrenColumnName,_e=he.scrollX,De=he.direction,Re=e(Ue),qe=Re.sticky,Ct=Re.scrollY,yt=Re.listItemHeight,Zt=Re.getComponent,xt=Re.onScroll,Kt=_.useRef(),nn=we(ne,oe,Pe,xe),Et=_.useMemo(function(){var un=0;return ue.map(function(Vt){var mt=Vt.width,Ut=Vt.key;return un+=mt,[Ut,mt,un]})},[ue]),rn=_.useMemo(function(){return Et.map(function(un){return un[2]})},[Et]);_.useEffect(function(){Et.forEach(function(un){var Vt=(0,D.Z)(un,2),mt=Vt[0],Ut=Vt[1];ve(mt,Ut)})},[Et]),_.useImperativeHandle(ie,function(){var un,Vt={scrollTo:function(Ut){var Ft;(Ft=Kt.current)===null||Ft===void 0||Ft.scrollTo(Ut)},nativeElement:(un=Kt.current)===null||un===void 0?void 0:un.nativeElement};return Object.defineProperty(Vt,"scrollLeft",{get:function(){var Ut;return((Ut=Kt.current)===null||Ut===void 0?void 0:Ut.getScrollInfo().x)||0},set:function(Ut){var Ft;(Ft=Kt.current)===null||Ft===void 0||Ft.scrollTo({left:Ut})}}),Vt});var Jt=function(Vt,mt){var Ut,Ft=(Ut=nn[mt])===null||Ut===void 0?void 0:Ut.record,yn=Vt.onCell;if(yn){var cn,bn=yn(Ft,mt);return(cn=bn==null?void 0:bn.rowSpan)!==null&&cn!==void 0?cn:1}return 1},Xt=function(Vt){var mt=Vt.start,Ut=Vt.end,Ft=Vt.getSize,yn=Vt.offsetY;if(Ut<0)return null;for(var cn=ue.filter(function(_t){return Jt(_t,mt)===0}),bn=mt,zn=function(dt){if(cn=cn.filter(function(Dt){return Jt(Dt,dt)===0}),!cn.length)return bn=dt,1},Xn=mt;Xn>=0&&!zn(Xn);Xn-=1);for(var $n=ue.filter(function(_t){return Jt(_t,Ut)!==1}),tr=Ut,rr=function(dt){if($n=$n.filter(function(Dt){return Jt(Dt,dt)!==1}),!$n.length)return tr=Math.max(dt-1,Ut),1},Gn=Ut;Gn<nn.length&&!rr(Gn);Gn+=1);for(var an=[],Dn=function(dt){var Dt=nn[dt];if(!Dt)return 1;ue.some(function(wn){return Jt(wn,dt)>1})&&an.push(dt)},Bn=bn;Bn<=tr;Bn+=1)Dn(Bn);var At=an.map(function(_t){var dt=nn[_t],Dt=xe(dt.record,_t),wn=function(Jn){var ir=_t+Jn-1,pt=xe(nn[ir].record,ir),Ht=Ft(Dt,pt);return Ht.bottom-Ht.top},Ln=Ft(Dt);return _.createElement(bt,{key:_t,data:dt,rowKey:Dt,index:_t,style:{top:-yn+Ln.top},extra:!0,getHeight:wn})});return At},sn=_.useMemo(function(){return{columnsOffset:rn}},[rn]),_n="".concat(te,"-tbody"),Tn=Zt(["body","wrapper"]),tn={};return qe&&(tn.position="sticky",tn.bottom=0,(0,j.Z)(qe)==="object"&&qe.offsetScroll&&(tn.bottom=qe.offsetScroll)),_.createElement(st.Provider,{value:sn},_.createElement(Ae.Z,{fullHeight:!1,ref:Kt,prefixCls:"".concat(_n,"-virtual"),styles:{horizontalScrollBar:tn},className:_n,height:Ct,itemHeight:yt||24,data:nn,itemKey:function(Vt){return xe(Vt.record)},component:Tn,scrollWidth:_e,direction:De,onVirtualScroll:function(Vt){var mt,Ut=Vt.x;ae({currentTarget:(mt=Kt.current)===null||mt===void 0?void 0:mt.nativeElement,scrollLeft:Ut})},onScroll:xt,extraRender:Xt},function(un,Vt,mt){var Ut=xe(un.record,Vt);return _.createElement(bt,{data:un,rowKey:Ut,index:Vt,style:mt.style})}))}),$t=h(wt),Qe=$t,He=function(ie,ne){var ae=ne.ref,he=ne.onScroll;return _.createElement(Qe,{ref:ae,data:ie,onScroll:he})};function at(Z,ie){var ne=Z.data,ae=Z.columns,he=Z.scroll,ue=Z.sticky,ve=Z.prefixCls,xe=ve===void 0?It:ve,Pe=Z.className,te=Z.listItemHeight,oe=Z.components,_e=Z.onScroll,De=he||{},Re=De.x,qe=De.y;typeof Re!="number"&&(Re=1),typeof qe!="number"&&(qe=500);var Ct=(0,zt.zX)(function(xt,Kt){return(0,b.Z)(oe,xt)||Kt}),yt=(0,zt.zX)(_e),Zt=_.useMemo(function(){return{sticky:ue,scrollY:qe,listItemHeight:te,getComponent:Ct,onScroll:yt}},[ue,qe,te,Ct,yt]);return _.createElement(Ue.Provider,{value:Zt},_.createElement(ke,(0,s.Z)({},Z,{className:g()(Pe,"".concat(xe,"-virtual")),scroll:(0,J.Z)((0,J.Z)({},he),{},{x:Re}),components:(0,J.Z)((0,J.Z)({},oe),{},{body:ne!=null&&ne.length?He:void 0}),columns:ae,internalHooks:N.R,tailor:!0,ref:ie})))}var en=_.forwardRef(at);function ln(Z){return E(en,Z)}var vn=ln(),Rn=null},90494:function(Bt,Ze,u){"use strict";u.d(Ze,{g:function(){return _},v:function(){return V}});var N=u(77321),D=u(74416),W=u(48736),Q=["expandable"],V="RC_TABLE_INTERNAL_COL_DEFINE";function _(H){var G=H.expandable,e=(0,D.Z)(H,Q),s;return"expandable"in H?s=(0,N.Z)((0,N.Z)({},e),G):s=e,s.showExpandColumn===!1&&(s.expandIconColumnIndex=-1),s}},29125:function(Bt,Ze,u){"use strict";u.d(Ze,{G:function(){return Q},Z:function(){return E}});var N=u(92310),D=u.n(N),W=u(59301);function Q(h){var p=h.children,f=h.prefixCls,l=h.id,k=h.overlayInnerStyle,P=h.bodyClassName,L=h.className,j=h.style;return W.createElement("div",{className:D()("".concat(f,"-content"),L),style:j},W.createElement("div",{className:D()("".concat(f,"-inner"),P),id:l,role:"tooltip",style:k},typeof p=="function"?p():p))}var V=u(72308),_=u(77321),H=u(74416),G=u(65352),e={shiftX:64,adjustY:1},s={adjustX:1,shiftY:!0},c=[0,0],t={left:{points:["cr","cl"],overflow:s,offset:[-4,0],targetOffset:c},right:{points:["cl","cr"],overflow:s,offset:[4,0],targetOffset:c},top:{points:["bc","tc"],overflow:e,offset:[0,-4],targetOffset:c},bottom:{points:["tc","bc"],overflow:e,offset:[0,4],targetOffset:c},topLeft:{points:["bl","tl"],overflow:e,offset:[0,-4],targetOffset:c},leftTop:{points:["tr","tl"],overflow:s,offset:[-4,0],targetOffset:c},topRight:{points:["br","tr"],overflow:e,offset:[0,-4],targetOffset:c},rightTop:{points:["tl","tr"],overflow:s,offset:[4,0],targetOffset:c},bottomRight:{points:["tr","br"],overflow:e,offset:[0,4],targetOffset:c},rightBottom:{points:["bl","br"],overflow:s,offset:[4,0],targetOffset:c},bottomLeft:{points:["tl","bl"],overflow:e,offset:[0,4],targetOffset:c},leftBottom:{points:["br","bl"],overflow:s,offset:[-4,0],targetOffset:c}},r=null,a=u(80402),o=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],v=function(p,f){var l=p.overlayClassName,k=p.trigger,P=k===void 0?["hover"]:k,L=p.mouseEnterDelay,j=L===void 0?0:L,J=p.mouseLeaveDelay,B=J===void 0?.1:J,ye=p.overlayStyle,g=p.prefixCls,d=g===void 0?"rc-tooltip":g,b=p.children,S=p.onVisibleChange,I=p.afterVisibleChange,w=p.transitionName,n=p.animation,i=p.motion,y=p.placement,F=y===void 0?"right":y,le=p.align,Ee=le===void 0?{}:le,Le=p.destroyTooltipOnHide,Ve=Le===void 0?!1:Le,it=p.defaultVisible,zt=p.getTooltipContainer,be=p.overlayInnerStyle,Ge=p.arrowContent,Lt=p.overlay,Ie=p.id,Oe=p.showArrow,T=Oe===void 0?!0:Oe,A=p.classNames,X=p.styles,M=(0,H.Z)(p,o),se=(0,a.Z)(Ie),pe=(0,W.useRef)(null);(0,W.useImperativeHandle)(f,function(){return pe.current});var R=(0,_.Z)({},M);"visible"in p&&(R.popupVisible=p.visible);var m=function(){return W.createElement(Q,{key:"content",prefixCls:d,id:se,bodyClassName:A==null?void 0:A.body,overlayInnerStyle:(0,_.Z)((0,_.Z)({},be),X==null?void 0:X.body)},Lt)},C=function(){var O=W.Children.only(b),U=(O==null?void 0:O.props)||{},K=(0,_.Z)((0,_.Z)({},U),{},{"aria-describedby":Lt?se:null});return W.cloneElement(b,K)};return W.createElement(G.Z,(0,V.Z)({popupClassName:D()(l,A==null?void 0:A.root),prefixCls:d,popup:m,action:P,builtinPlacements:t,popupPlacement:F,ref:pe,popupAlign:Ee,getPopupContainer:zt,onPopupVisibleChange:S,afterPopupVisibleChange:I,popupTransitionName:w,popupAnimation:n,popupMotion:i,defaultPopupVisible:it,autoDestroy:Ve,mouseLeaveDelay:B,popupStyle:(0,_.Z)((0,_.Z)({},ye),X==null?void 0:X.root),mouseEnterDelay:j,arrow:T},R),C())},x=(0,W.forwardRef)(v),E=x},639:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return p}});var N=u(72308),D=u(49618),W=u(77321),Q=u(52487),V=u(74416),_=u(59301),H=u(92310),G=u.n(H),e=u(26112),s=u(30699),c=function(l){for(var k=l.prefixCls,P=l.level,L=l.isStart,j=l.isEnd,J="".concat(k,"-indent-unit"),B=[],ye=0;ye<P;ye+=1)B.push(_.createElement("span",{key:ye,className:G()(J,(0,D.Z)((0,D.Z)({},"".concat(J,"-start"),L[ye]),"".concat(J,"-end"),j[ye]))}));return _.createElement("span",{"aria-hidden":"true",className:"".concat(k,"-indent")},B)},t=_.memo(c),r=u(65065),a=u(34061),o=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],v="open",x="close",E="---",h=function(l){var k,P,L,j=l.eventKey,J=l.className,B=l.style,ye=l.dragOver,g=l.dragOverGapTop,d=l.dragOverGapBottom,b=l.isLeaf,S=l.isStart,I=l.isEnd,w=l.expanded,n=l.selected,i=l.checked,y=l.halfChecked,F=l.loading,le=l.domRef,Ee=l.active,Le=l.data,Ve=l.onMouseMove,it=l.selectable,zt=(0,V.Z)(l,o),be=_.useContext(s.k),Ge=_.useContext(s.y),Lt=_.useRef(null),Ie=_.useState(!1),Oe=(0,Q.Z)(Ie,2),T=Oe[0],A=Oe[1],X=!!(be.disabled||l.disabled||(k=Ge.nodeDisabled)!==null&&k!==void 0&&k.call(Ge,Le)),M=_.useMemo(function(){return!be.checkable||l.checkable===!1?!1:be.checkable},[be.checkable,l.checkable]),se=function(gt){X||be.onNodeSelect(gt,(0,a.F)(l))},pe=function(gt){X||!M||l.disableCheckbox||be.onNodeCheck(gt,(0,a.F)(l),!i)},R=_.useMemo(function(){return typeof it=="boolean"?it:be.selectable},[it,be.selectable]),m=function(gt){be.onNodeClick(gt,(0,a.F)(l)),R?se(gt):pe(gt)},C=function(gt){be.onNodeDoubleClick(gt,(0,a.F)(l))},z=function(gt){be.onNodeMouseEnter(gt,(0,a.F)(l))},O=function(gt){be.onNodeMouseLeave(gt,(0,a.F)(l))},U=function(gt){be.onNodeContextMenu(gt,(0,a.F)(l))},K=_.useMemo(function(){return!!(be.draggable&&(!be.draggable.nodeDraggable||be.draggable.nodeDraggable(Le)))},[be.draggable,Le]),ee=function(gt){gt.stopPropagation(),A(!0),be.onNodeDragStart(gt,l);try{gt.dataTransfer.setData("text/plain","")}catch(Gt){}},q=function(gt){gt.preventDefault(),gt.stopPropagation(),be.onNodeDragEnter(gt,l)},ce=function(gt){gt.preventDefault(),gt.stopPropagation(),be.onNodeDragOver(gt,l)},we=function(gt){gt.stopPropagation(),be.onNodeDragLeave(gt,l)},ge=function(gt){gt.stopPropagation(),A(!1),be.onNodeDragEnd(gt,l)},Ke=function(gt){gt.preventDefault(),gt.stopPropagation(),A(!1),be.onNodeDrop(gt,l)},Me=function(gt){F||be.onNodeExpand(gt,(0,a.F)(l))},Fe=_.useMemo(function(){var We=(0,r.Z)(be.keyEntities,j)||{},gt=We.children;return!!(gt||[]).length},[be.keyEntities,j]),ft=_.useMemo(function(){return b===!1?!1:b||!be.loadData&&!Fe||be.loadData&&l.loaded&&!Fe},[b,be.loadData,Fe,l.loaded]);_.useEffect(function(){F||typeof be.loadData=="function"&&w&&!ft&&!l.loaded&&be.onNodeLoad((0,a.F)(l))},[F,be.loadData,be.onNodeLoad,w,ft,l]);var je=_.useMemo(function(){var We;return(We=be.draggable)!==null&&We!==void 0&&We.icon?_.createElement("span",{className:"".concat(be.prefixCls,"-draggable-icon")},be.draggable.icon):null},[be.draggable]),ze=function(gt){var Gt=l.switcherIcon||be.switcherIcon;return typeof Gt=="function"?Gt((0,W.Z)((0,W.Z)({},l),{},{isLeaf:gt})):Gt},Nt=function(){if(ft){var gt=ze(!0);return gt!==!1?_.createElement("span",{className:G()("".concat(be.prefixCls,"-switcher"),"".concat(be.prefixCls,"-switcher-noop"))},gt):null}var Gt=ze(!1);return Gt!==!1?_.createElement("span",{onClick:Me,className:G()("".concat(be.prefixCls,"-switcher"),"".concat(be.prefixCls,"-switcher_").concat(w?v:x))},Gt):null},Tt=_.useMemo(function(){if(!M)return null;var We=typeof M!="boolean"?M:null;return _.createElement("span",{className:G()("".concat(be.prefixCls,"-checkbox"),(0,D.Z)((0,D.Z)((0,D.Z)({},"".concat(be.prefixCls,"-checkbox-checked"),i),"".concat(be.prefixCls,"-checkbox-indeterminate"),!i&&y),"".concat(be.prefixCls,"-checkbox-disabled"),X||l.disableCheckbox)),onClick:pe,role:"checkbox","aria-checked":y?"mixed":i,"aria-disabled":X||l.disableCheckbox,"aria-label":"Select ".concat(typeof l.title=="string"?l.title:"tree node")},We)},[M,i,y,X,l.disableCheckbox,l.title]),rt=_.useMemo(function(){return ft?null:w?v:x},[ft,w]),jt=_.useMemo(function(){return _.createElement("span",{className:G()("".concat(be.prefixCls,"-iconEle"),"".concat(be.prefixCls,"-icon__").concat(rt||"docu"),(0,D.Z)({},"".concat(be.prefixCls,"-icon_loading"),F))})},[be.prefixCls,rt,F]),hn=_.useMemo(function(){var We=!!be.draggable,gt=!l.disabled&&We&&be.dragOverNodeKey===j;return gt?be.dropIndicatorRender({dropPosition:be.dropPosition,dropLevelOffset:be.dropLevelOffset,indent:be.indent,prefixCls:be.prefixCls,direction:be.direction}):null},[be.dropPosition,be.dropLevelOffset,be.indent,be.prefixCls,be.direction,be.draggable,be.dragOverNodeKey,be.dropIndicatorRender]),St=_.useMemo(function(){var We=l.title,gt=We===void 0?E:We,Gt="".concat(be.prefixCls,"-node-content-wrapper"),mn;if(be.showIcon){var Wt=l.icon||be.icon;mn=Wt?_.createElement("span",{className:G()("".concat(be.prefixCls,"-iconEle"),"".concat(be.prefixCls,"-icon__customize"))},typeof Wt=="function"?Wt(l):Wt):jt}else be.loadData&&F&&(mn=jt);var kn;return typeof gt=="function"?kn=gt(Le):be.titleRender?kn=be.titleRender(Le):kn=gt,_.createElement("span",{ref:Lt,title:typeof gt=="string"?gt:"",className:G()(Gt,"".concat(Gt,"-").concat(rt||"normal"),(0,D.Z)({},"".concat(be.prefixCls,"-node-selected"),!X&&(n||T))),onMouseEnter:z,onMouseLeave:O,onContextMenu:U,onClick:m,onDoubleClick:C},mn,_.createElement("span",{className:"".concat(be.prefixCls,"-title")},kn),hn)},[be.prefixCls,be.showIcon,l,be.icon,jt,be.titleRender,Le,rt,z,O,U,m,C]),vt=(0,e.Z)(zt,{aria:!0,data:!0}),Rt=(0,r.Z)(be.keyEntities,j)||{},on=Rt.level,Qt=I[I.length-1],qt=!X&&K,En=be.draggingNodeKey===j,fn=it!==void 0?{"aria-selected":!!it}:void 0;return _.createElement("div",(0,N.Z)({ref:le,role:"treeitem","aria-expanded":b?void 0:w,className:G()(J,"".concat(be.prefixCls,"-treenode"),(L={},(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)(L,"".concat(be.prefixCls,"-treenode-disabled"),X),"".concat(be.prefixCls,"-treenode-switcher-").concat(w?"open":"close"),!b),"".concat(be.prefixCls,"-treenode-checkbox-checked"),i),"".concat(be.prefixCls,"-treenode-checkbox-indeterminate"),y),"".concat(be.prefixCls,"-treenode-selected"),n),"".concat(be.prefixCls,"-treenode-loading"),F),"".concat(be.prefixCls,"-treenode-active"),Ee),"".concat(be.prefixCls,"-treenode-leaf-last"),Qt),"".concat(be.prefixCls,"-treenode-draggable"),K),"dragging",En),(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)(L,"drop-target",be.dropTargetKey===j),"drop-container",be.dropContainerKey===j),"drag-over",!X&&ye),"drag-over-gap-top",!X&&g),"drag-over-gap-bottom",!X&&d),"filter-node",(P=be.filterTreeNode)===null||P===void 0?void 0:P.call(be,(0,a.F)(l))),"".concat(be.prefixCls,"-treenode-leaf"),ft))),style:B,draggable:qt,onDragStart:qt?ee:void 0,onDragEnter:K?q:void 0,onDragOver:K?ce:void 0,onDragLeave:K?we:void 0,onDrop:K?Ke:void 0,onDragEnd:K?ge:void 0,onMouseMove:Ve},fn,vt),_.createElement(t,{prefixCls:be.prefixCls,level:on,isStart:S,isEnd:I}),je,Nt(),Tt,St)};h.isTreeNode=1;var p=h},30699:function(Bt,Ze,u){"use strict";u.d(Ze,{k:function(){return D},y:function(){return W}});var N=u(59301),D=N.createContext(null),W=N.createContext({})},15018:function(Bt,Ze,u){"use strict";u.d(Ze,{OF:function(){return j.Z},y6:function(){return x.y},ZP:function(){return X}});var N=u(72308),D=u(62853),W=u(77321),Q=u(80702),V=u(96949),_=u(55090),H=u(80237),G=u(77205),e=u(38793),s=u(49618),c=u(92310),t=u.n(c),r=u(10228),a=u(26112),o=u(48736),v=u(59301),x=u(30699),E=function(se){var pe=se.dropPosition,R=se.dropLevelOffset,m=se.indent,C={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(pe){case-1:C.top=0,C.left=-R*m;break;case 1:C.bottom=0,C.left=-R*m;break;case 0:C.bottom=0,C.left=m;break}return v.createElement("div",{style:C})},h=E;function p(M){if(M==null)throw new TypeError("Cannot destructure "+M)}var f=u(52487),l=u(74416),k=u(34280),P=u(45680),L=u(77900),j=u(639);function J(M,se){var pe=v.useState(!1),R=(0,f.Z)(pe,2),m=R[0],C=R[1];(0,k.Z)(function(){if(m)return M(),function(){se()}},[m]),(0,k.Z)(function(){return C(!0),function(){C(!1)}},[])}var B=J,ye=u(34061),g=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],d=v.forwardRef(function(M,se){var pe=M.className,R=M.style,m=M.motion,C=M.motionNodes,z=M.motionType,O=M.onMotionStart,U=M.onMotionEnd,K=M.active,ee=M.treeNodeRequiredProps,q=(0,l.Z)(M,g),ce=v.useState(!0),we=(0,f.Z)(ce,2),ge=we[0],Ke=we[1],Me=v.useContext(x.k),Fe=Me.prefixCls,ft=C&&z!=="hide";(0,k.Z)(function(){C&&ft!==ge&&Ke(ft)},[C]);var je=function(){C&&O()},ze=v.useRef(!1),Nt=function(){C&&!ze.current&&(ze.current=!0,U())};B(je,Nt);var Tt=function(jt){ft===jt&&Nt()};return C?v.createElement(L.default,(0,N.Z)({ref:se,visible:ge},m,{motionAppear:z==="show",onVisibleChanged:Tt}),function(rt,jt){var hn=rt.className,St=rt.style;return v.createElement("div",{ref:jt,className:t()("".concat(Fe,"-treenode-motion"),hn),style:St},C.map(function(vt){var Rt=Object.assign({},(p(vt.data),vt.data)),on=vt.title,Qt=vt.key,qt=vt.isStart,En=vt.isEnd;delete Rt.children;var fn=(0,ye.H8)(Qt,ee);return v.createElement(j.Z,(0,N.Z)({},Rt,fn,{title:on,active:K,data:vt.data,key:Qt,isStart:qt,isEnd:En}))}))}):v.createElement(j.Z,(0,N.Z)({domRef:se,className:pe,style:R},q,{active:K}))}),b=d;function S(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],pe=M.length,R=se.length;if(Math.abs(pe-R)!==1)return{add:!1,key:null};function m(C,z){var O=new Map;C.forEach(function(K){O.set(K,!0)});var U=z.filter(function(K){return!O.has(K)});return U.length===1?U[0]:null}return pe<R?{add:!0,key:m(M,se)}:{add:!1,key:m(se,M)}}function I(M,se,pe){var R=M.findIndex(function(O){return O.key===pe}),m=M[R+1],C=se.findIndex(function(O){return O.key===pe});if(m){var z=se.findIndex(function(O){return O.key===m.key});return se.slice(C+1,z)}return se.slice(C+1)}var w=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],n={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},i=function(){},y="RC_TREE_MOTION_".concat(Math.random()),F={key:y},le={key:y,level:0,index:0,pos:"0",node:F,nodes:[F]},Ee={parent:null,children:[],pos:le.pos,data:F,title:null,key:y,isStart:[],isEnd:[]};function Le(M,se,pe,R){return se===!1||!pe?M:M.slice(0,Math.ceil(pe/R)+1)}function Ve(M){var se=M.key,pe=M.pos;return(0,ye.km)(se,pe)}function it(M){for(var se=String(M.data.key),pe=M;pe.parent;)pe=pe.parent,se="".concat(pe.data.key," > ").concat(se);return se}var zt=v.forwardRef(function(M,se){var pe=M.prefixCls,R=M.data,m=M.selectable,C=M.checkable,z=M.expandedKeys,O=M.selectedKeys,U=M.checkedKeys,K=M.loadedKeys,ee=M.loadingKeys,q=M.halfCheckedKeys,ce=M.keyEntities,we=M.disabled,ge=M.dragging,Ke=M.dragOverNodeKey,Me=M.dropPosition,Fe=M.motion,ft=M.height,je=M.itemHeight,ze=M.virtual,Nt=M.scrollWidth,Tt=M.focusable,rt=M.activeItem,jt=M.focused,hn=M.tabIndex,St=M.onKeyDown,vt=M.onFocus,Rt=M.onBlur,on=M.onActiveChange,Qt=M.onListChangeStart,qt=M.onListChangeEnd,En=(0,l.Z)(M,w),fn=v.useRef(null),We=v.useRef(null);v.useImperativeHandle(se,function(){return{scrollTo:function(me){fn.current.scrollTo(me)},getIndentWidth:function(){return We.current.offsetWidth}}});var gt=v.useState(z),Gt=(0,f.Z)(gt,2),mn=Gt[0],Wt=Gt[1],kn=v.useState(R),Vn=(0,f.Z)(kn,2),Sn=Vn[0],Yt=Vn[1],Nn=v.useState(R),xn=(0,f.Z)(Nn,2),On=xn[0],gn=xn[1],Cn=v.useState([]),An=(0,f.Z)(Cn,2),Zn=An[0],re=An[1],Y=v.useState(null),$e=(0,f.Z)(Y,2),Te=$e[0],Ye=$e[1],Xe=v.useRef(R);Xe.current=R;function ot(){var Se=Xe.current;Yt(Se),gn(Se),re([]),Ye(null),qt()}(0,k.Z)(function(){Wt(z);var Se=S(mn,z);if(Se.key!==null)if(Se.add){var me=Sn.findIndex(function(nt){var $=nt.key;return $===Se.key}),Be=Le(I(Sn,R,Se.key),ze,ft,je),lt=Sn.slice();lt.splice(me+1,0,Ee),gn(lt),re(Be),Ye("show")}else{var et=R.findIndex(function(nt){var $=nt.key;return $===Se.key}),It=Le(I(R,Sn,Se.key),ze,ft,je),Je=R.slice();Je.splice(et+1,0,Ee),gn(Je),re(It),Ye("hide")}else Sn!==R&&(Yt(R),gn(R))},[z,R]),v.useEffect(function(){ge||ot()},[ge]);var tt=Fe?On:R,Pt={expandedKeys:z,selectedKeys:O,loadedKeys:K,loadingKeys:ee,checkedKeys:U,halfCheckedKeys:q,dragOverNodeKey:Ke,dropPosition:Me,keyEntities:ce};return v.createElement(v.Fragment,null,jt&&rt&&v.createElement("span",{style:n,"aria-live":"assertive"},it(rt)),v.createElement("div",null,v.createElement("input",{style:n,disabled:Tt===!1||we,tabIndex:Tt!==!1?hn:null,onKeyDown:St,onFocus:vt,onBlur:Rt,value:"",onChange:i,"aria-label":"for screen reader"})),v.createElement("div",{className:"".concat(pe,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},v.createElement("div",{className:"".concat(pe,"-indent")},v.createElement("div",{ref:We,className:"".concat(pe,"-indent-unit")}))),v.createElement(P.Z,(0,N.Z)({},En,{data:tt,itemKey:Ve,height:ft,fullHeight:!1,virtual:ze,itemHeight:je,scrollWidth:Nt,prefixCls:"".concat(pe,"-list"),ref:fn,role:"tree",onVisibleChange:function(me){me.every(function(Be){return Ve(Be)!==y})&&ot()}}),function(Se){var me=Se.pos,Be=Object.assign({},(p(Se.data),Se.data)),lt=Se.title,et=Se.key,It=Se.isStart,Je=Se.isEnd,nt=(0,ye.km)(et,me);delete Be.key,delete Be.children;var $=(0,ye.H8)(nt,Pt);return v.createElement(b,(0,N.Z)({},Be,$,{title:lt,active:!!rt&&et===rt.key,pos:me,data:Se.data,isStart:It,isEnd:Je,motion:Fe,motionNodes:et===y?Zn:null,motionType:Te,onMotionStart:Qt,onMotionEnd:ot,treeNodeRequiredProps:Pt,onMouseMove:function(){on(null)}}))}))}),be=zt,Ge=u(82661),Lt=u(34643),Ie=u(65065),Oe=10,T=function(M){(0,G.Z)(pe,M);var se=(0,e.Z)(pe);function pe(){var R;(0,V.Z)(this,pe);for(var m=arguments.length,C=new Array(m),z=0;z<m;z++)C[z]=arguments[z];return R=se.call.apply(se,[this].concat(C)),(0,s.Z)((0,H.Z)(R),"destroyed",!1),(0,s.Z)((0,H.Z)(R),"delayedDragEnterLogic",void 0),(0,s.Z)((0,H.Z)(R),"loadingRetryTimes",{}),(0,s.Z)((0,H.Z)(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,ye.w$)()}),(0,s.Z)((0,H.Z)(R),"dragStartMousePosition",null),(0,s.Z)((0,H.Z)(R),"dragNodeProps",null),(0,s.Z)((0,H.Z)(R),"currentMouseOverDroppableNodeKey",null),(0,s.Z)((0,H.Z)(R),"listRef",v.createRef()),(0,s.Z)((0,H.Z)(R),"onNodeDragStart",function(O,U){var K=R.state,ee=K.expandedKeys,q=K.keyEntities,ce=R.props.onDragStart,we=U.eventKey;R.dragNodeProps=U,R.dragStartMousePosition={x:O.clientX,y:O.clientY};var ge=(0,Ge._5)(ee,we);R.setState({draggingNodeKey:we,dragChildrenKeys:(0,Ge.wA)(we,q),indent:R.listRef.current.getIndentWidth()}),R.setExpandedKeys(ge),window.addEventListener("dragend",R.onWindowDragEnd),ce==null||ce({event:O,node:(0,ye.F)(U)})}),(0,s.Z)((0,H.Z)(R),"onNodeDragEnter",function(O,U){var K=R.state,ee=K.expandedKeys,q=K.keyEntities,ce=K.dragChildrenKeys,we=K.flattenNodes,ge=K.indent,Ke=R.props,Me=Ke.onDragEnter,Fe=Ke.onExpand,ft=Ke.allowDrop,je=Ke.direction,ze=U.pos,Nt=U.eventKey;if(R.currentMouseOverDroppableNodeKey!==Nt&&(R.currentMouseOverDroppableNodeKey=Nt),!R.dragNodeProps){R.resetDragState();return}var Tt=(0,Ge.OM)(O,R.dragNodeProps,U,ge,R.dragStartMousePosition,ft,we,q,ee,je),rt=Tt.dropPosition,jt=Tt.dropLevelOffset,hn=Tt.dropTargetKey,St=Tt.dropContainerKey,vt=Tt.dropTargetPos,Rt=Tt.dropAllowed,on=Tt.dragOverNodeKey;if(ce.includes(hn)||!Rt){R.resetDragState();return}if(R.delayedDragEnterLogic||(R.delayedDragEnterLogic={}),Object.keys(R.delayedDragEnterLogic).forEach(function(Qt){clearTimeout(R.delayedDragEnterLogic[Qt])}),R.dragNodeProps.eventKey!==U.eventKey&&(O.persist(),R.delayedDragEnterLogic[ze]=window.setTimeout(function(){if(R.state.draggingNodeKey!==null){var Qt=(0,Q.Z)(ee),qt=(0,Ie.Z)(q,U.eventKey);qt&&(qt.children||[]).length&&(Qt=(0,Ge.L0)(ee,U.eventKey)),R.props.hasOwnProperty("expandedKeys")||R.setExpandedKeys(Qt),Fe==null||Fe(Qt,{node:(0,ye.F)(U),expanded:!0,nativeEvent:O.nativeEvent})}},800)),R.dragNodeProps.eventKey===hn&&jt===0){R.resetDragState();return}R.setState({dragOverNodeKey:on,dropPosition:rt,dropLevelOffset:jt,dropTargetKey:hn,dropContainerKey:St,dropTargetPos:vt,dropAllowed:Rt}),Me==null||Me({event:O,node:(0,ye.F)(U),expandedKeys:ee})}),(0,s.Z)((0,H.Z)(R),"onNodeDragOver",function(O,U){var K=R.state,ee=K.dragChildrenKeys,q=K.flattenNodes,ce=K.keyEntities,we=K.expandedKeys,ge=K.indent,Ke=R.props,Me=Ke.onDragOver,Fe=Ke.allowDrop,ft=Ke.direction;if(R.dragNodeProps){var je=(0,Ge.OM)(O,R.dragNodeProps,U,ge,R.dragStartMousePosition,Fe,q,ce,we,ft),ze=je.dropPosition,Nt=je.dropLevelOffset,Tt=je.dropTargetKey,rt=je.dropContainerKey,jt=je.dropTargetPos,hn=je.dropAllowed,St=je.dragOverNodeKey;ee.includes(Tt)||!hn||(R.dragNodeProps.eventKey===Tt&&Nt===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():ze===R.state.dropPosition&&Nt===R.state.dropLevelOffset&&Tt===R.state.dropTargetKey&&rt===R.state.dropContainerKey&&jt===R.state.dropTargetPos&&hn===R.state.dropAllowed&&St===R.state.dragOverNodeKey||R.setState({dropPosition:ze,dropLevelOffset:Nt,dropTargetKey:Tt,dropContainerKey:rt,dropTargetPos:jt,dropAllowed:hn,dragOverNodeKey:St}),Me==null||Me({event:O,node:(0,ye.F)(U)}))}}),(0,s.Z)((0,H.Z)(R),"onNodeDragLeave",function(O,U){R.currentMouseOverDroppableNodeKey===U.eventKey&&!O.currentTarget.contains(O.relatedTarget)&&(R.resetDragState(),R.currentMouseOverDroppableNodeKey=null);var K=R.props.onDragLeave;K==null||K({event:O,node:(0,ye.F)(U)})}),(0,s.Z)((0,H.Z)(R),"onWindowDragEnd",function(O){R.onNodeDragEnd(O,null,!0),window.removeEventListener("dragend",R.onWindowDragEnd)}),(0,s.Z)((0,H.Z)(R),"onNodeDragEnd",function(O,U){var K=R.props.onDragEnd;R.setState({dragOverNodeKey:null}),R.cleanDragState(),K==null||K({event:O,node:(0,ye.F)(U)}),R.dragNodeProps=null,window.removeEventListener("dragend",R.onWindowDragEnd)}),(0,s.Z)((0,H.Z)(R),"onNodeDrop",function(O,U){var K,ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,q=R.state,ce=q.dragChildrenKeys,we=q.dropPosition,ge=q.dropTargetKey,Ke=q.dropTargetPos,Me=q.dropAllowed;if(Me){var Fe=R.props.onDrop;if(R.setState({dragOverNodeKey:null}),R.cleanDragState(),ge!==null){var ft=(0,W.Z)((0,W.Z)({},(0,ye.H8)(ge,R.getTreeNodeRequiredProps())),{},{active:((K=R.getActiveItem())===null||K===void 0?void 0:K.key)===ge,data:(0,Ie.Z)(R.state.keyEntities,ge).node}),je=ce.includes(ge);(0,o.ZP)(!je,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ze=(0,Ge.yx)(Ke),Nt={event:O,node:(0,ye.F)(ft),dragNode:R.dragNodeProps?(0,ye.F)(R.dragNodeProps):null,dragNodesKeys:[R.dragNodeProps.eventKey].concat(ce),dropToGap:we!==0,dropPosition:we+Number(ze[ze.length-1])};ee||Fe==null||Fe(Nt),R.dragNodeProps=null}}}),(0,s.Z)((0,H.Z)(R),"cleanDragState",function(){var O=R.state.draggingNodeKey;O!==null&&R.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),R.dragStartMousePosition=null,R.currentMouseOverDroppableNodeKey=null}),(0,s.Z)((0,H.Z)(R),"triggerExpandActionExpand",function(O,U){var K=R.state,ee=K.expandedKeys,q=K.flattenNodes,ce=U.expanded,we=U.key,ge=U.isLeaf;if(!(ge||O.shiftKey||O.metaKey||O.ctrlKey)){var Ke=q.filter(function(Fe){return Fe.key===we})[0],Me=(0,ye.F)((0,W.Z)((0,W.Z)({},(0,ye.H8)(we,R.getTreeNodeRequiredProps())),{},{data:Ke.data}));R.setExpandedKeys(ce?(0,Ge._5)(ee,we):(0,Ge.L0)(ee,we)),R.onNodeExpand(O,Me)}}),(0,s.Z)((0,H.Z)(R),"onNodeClick",function(O,U){var K=R.props,ee=K.onClick,q=K.expandAction;q==="click"&&R.triggerExpandActionExpand(O,U),ee==null||ee(O,U)}),(0,s.Z)((0,H.Z)(R),"onNodeDoubleClick",function(O,U){var K=R.props,ee=K.onDoubleClick,q=K.expandAction;q==="doubleClick"&&R.triggerExpandActionExpand(O,U),ee==null||ee(O,U)}),(0,s.Z)((0,H.Z)(R),"onNodeSelect",function(O,U){var K=R.state.selectedKeys,ee=R.state,q=ee.keyEntities,ce=ee.fieldNames,we=R.props,ge=we.onSelect,Ke=we.multiple,Me=U.selected,Fe=U[ce.key],ft=!Me;ft?Ke?K=(0,Ge.L0)(K,Fe):K=[Fe]:K=(0,Ge._5)(K,Fe);var je=K.map(function(ze){var Nt=(0,Ie.Z)(q,ze);return Nt?Nt.node:null}).filter(Boolean);R.setUncontrolledState({selectedKeys:K}),ge==null||ge(K,{event:"select",selected:ft,node:U,selectedNodes:je,nativeEvent:O.nativeEvent})}),(0,s.Z)((0,H.Z)(R),"onNodeCheck",function(O,U,K){var ee=R.state,q=ee.keyEntities,ce=ee.checkedKeys,we=ee.halfCheckedKeys,ge=R.props,Ke=ge.checkStrictly,Me=ge.onCheck,Fe=U.key,ft,je={event:"check",node:U,checked:K,nativeEvent:O.nativeEvent};if(Ke){var ze=K?(0,Ge.L0)(ce,Fe):(0,Ge._5)(ce,Fe),Nt=(0,Ge._5)(we,Fe);ft={checked:ze,halfChecked:Nt},je.checkedNodes=ze.map(function(vt){return(0,Ie.Z)(q,vt)}).filter(Boolean).map(function(vt){return vt.node}),R.setUncontrolledState({checkedKeys:ze})}else{var Tt=(0,Lt.S)([].concat((0,Q.Z)(ce),[Fe]),!0,q),rt=Tt.checkedKeys,jt=Tt.halfCheckedKeys;if(!K){var hn=new Set(rt);hn.delete(Fe);var St=(0,Lt.S)(Array.from(hn),{checked:!1,halfCheckedKeys:jt},q);rt=St.checkedKeys,jt=St.halfCheckedKeys}ft=rt,je.checkedNodes=[],je.checkedNodesPositions=[],je.halfCheckedKeys=jt,rt.forEach(function(vt){var Rt=(0,Ie.Z)(q,vt);if(Rt){var on=Rt.node,Qt=Rt.pos;je.checkedNodes.push(on),je.checkedNodesPositions.push({node:on,pos:Qt})}}),R.setUncontrolledState({checkedKeys:rt},!1,{halfCheckedKeys:jt})}Me==null||Me(ft,je)}),(0,s.Z)((0,H.Z)(R),"onNodeLoad",function(O){var U,K=O.key,ee=R.state.keyEntities,q=(0,Ie.Z)(ee,K);if(!(q!=null&&(U=q.children)!==null&&U!==void 0&&U.length)){var ce=new Promise(function(we,ge){R.setState(function(Ke){var Me=Ke.loadedKeys,Fe=Me===void 0?[]:Me,ft=Ke.loadingKeys,je=ft===void 0?[]:ft,ze=R.props,Nt=ze.loadData,Tt=ze.onLoad;if(!Nt||Fe.includes(K)||je.includes(K))return null;var rt=Nt(O);return rt.then(function(){var jt=R.state.loadedKeys,hn=(0,Ge.L0)(jt,K);Tt==null||Tt(hn,{event:"load",node:O}),R.setUncontrolledState({loadedKeys:hn}),R.setState(function(St){return{loadingKeys:(0,Ge._5)(St.loadingKeys,K)}}),we()}).catch(function(jt){if(R.setState(function(St){return{loadingKeys:(0,Ge._5)(St.loadingKeys,K)}}),R.loadingRetryTimes[K]=(R.loadingRetryTimes[K]||0)+1,R.loadingRetryTimes[K]>=Oe){var hn=R.state.loadedKeys;(0,o.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),R.setUncontrolledState({loadedKeys:(0,Ge.L0)(hn,K)}),we()}ge(jt)}),{loadingKeys:(0,Ge.L0)(je,K)}})});return ce.catch(function(){}),ce}}),(0,s.Z)((0,H.Z)(R),"onNodeMouseEnter",function(O,U){var K=R.props.onMouseEnter;K==null||K({event:O,node:U})}),(0,s.Z)((0,H.Z)(R),"onNodeMouseLeave",function(O,U){var K=R.props.onMouseLeave;K==null||K({event:O,node:U})}),(0,s.Z)((0,H.Z)(R),"onNodeContextMenu",function(O,U){var K=R.props.onRightClick;K&&(O.preventDefault(),K({event:O,node:U}))}),(0,s.Z)((0,H.Z)(R),"onFocus",function(){var O=R.props.onFocus;R.setState({focused:!0});for(var U=arguments.length,K=new Array(U),ee=0;ee<U;ee++)K[ee]=arguments[ee];O==null||O.apply(void 0,K)}),(0,s.Z)((0,H.Z)(R),"onBlur",function(){var O=R.props.onBlur;R.setState({focused:!1}),R.onActiveChange(null);for(var U=arguments.length,K=new Array(U),ee=0;ee<U;ee++)K[ee]=arguments[ee];O==null||O.apply(void 0,K)}),(0,s.Z)((0,H.Z)(R),"getTreeNodeRequiredProps",function(){var O=R.state,U=O.expandedKeys,K=O.selectedKeys,ee=O.loadedKeys,q=O.loadingKeys,ce=O.checkedKeys,we=O.halfCheckedKeys,ge=O.dragOverNodeKey,Ke=O.dropPosition,Me=O.keyEntities;return{expandedKeys:U||[],selectedKeys:K||[],loadedKeys:ee||[],loadingKeys:q||[],checkedKeys:ce||[],halfCheckedKeys:we||[],dragOverNodeKey:ge,dropPosition:Ke,keyEntities:Me}}),(0,s.Z)((0,H.Z)(R),"setExpandedKeys",function(O){var U=R.state,K=U.treeData,ee=U.fieldNames,q=(0,ye.oH)(K,O,ee);R.setUncontrolledState({expandedKeys:O,flattenNodes:q},!0)}),(0,s.Z)((0,H.Z)(R),"onNodeExpand",function(O,U){var K=R.state.expandedKeys,ee=R.state,q=ee.listChanging,ce=ee.fieldNames,we=R.props,ge=we.onExpand,Ke=we.loadData,Me=U.expanded,Fe=U[ce.key];if(!q){var ft=K.includes(Fe),je=!Me;if((0,o.ZP)(Me&&ft||!Me&&!ft,"Expand state not sync with index check"),K=je?(0,Ge.L0)(K,Fe):(0,Ge._5)(K,Fe),R.setExpandedKeys(K),ge==null||ge(K,{node:U,expanded:je,nativeEvent:O.nativeEvent}),je&&Ke){var ze=R.onNodeLoad(U);ze&&ze.then(function(){var Nt=(0,ye.oH)(R.state.treeData,K,ce);R.setUncontrolledState({flattenNodes:Nt})}).catch(function(){var Nt=R.state.expandedKeys,Tt=(0,Ge._5)(Nt,Fe);R.setExpandedKeys(Tt)})}}}),(0,s.Z)((0,H.Z)(R),"onListChangeStart",function(){R.setUncontrolledState({listChanging:!0})}),(0,s.Z)((0,H.Z)(R),"onListChangeEnd",function(){setTimeout(function(){R.setUncontrolledState({listChanging:!1})})}),(0,s.Z)((0,H.Z)(R),"onActiveChange",function(O){var U=R.state.activeKey,K=R.props,ee=K.onActiveChange,q=K.itemScrollOffset,ce=q===void 0?0:q;U!==O&&(R.setState({activeKey:O}),O!==null&&R.scrollTo({key:O,offset:ce}),ee==null||ee(O))}),(0,s.Z)((0,H.Z)(R),"getActiveItem",function(){var O=R.state,U=O.activeKey,K=O.flattenNodes;return U===null?null:K.find(function(ee){var q=ee.key;return q===U})||null}),(0,s.Z)((0,H.Z)(R),"offsetActiveKey",function(O){var U=R.state,K=U.flattenNodes,ee=U.activeKey,q=K.findIndex(function(ge){var Ke=ge.key;return Ke===ee});q===-1&&O<0&&(q=K.length),q=(q+O+K.length)%K.length;var ce=K[q];if(ce){var we=ce.key;R.onActiveChange(we)}else R.onActiveChange(null)}),(0,s.Z)((0,H.Z)(R),"onKeyDown",function(O){var U=R.state,K=U.activeKey,ee=U.expandedKeys,q=U.checkedKeys,ce=U.fieldNames,we=R.props,ge=we.onKeyDown,Ke=we.checkable,Me=we.selectable;switch(O.which){case r.Z.UP:{R.offsetActiveKey(-1),O.preventDefault();break}case r.Z.DOWN:{R.offsetActiveKey(1),O.preventDefault();break}}var Fe=R.getActiveItem();if(Fe&&Fe.data){var ft=R.getTreeNodeRequiredProps(),je=Fe.data.isLeaf===!1||!!(Fe.data[ce.children]||[]).length,ze=(0,ye.F)((0,W.Z)((0,W.Z)({},(0,ye.H8)(K,ft)),{},{data:Fe.data,active:!0}));switch(O.which){case r.Z.LEFT:{je&&ee.includes(K)?R.onNodeExpand({},ze):Fe.parent&&R.onActiveChange(Fe.parent.key),O.preventDefault();break}case r.Z.RIGHT:{je&&!ee.includes(K)?R.onNodeExpand({},ze):Fe.children&&Fe.children.length&&R.onActiveChange(Fe.children[0].key),O.preventDefault();break}case r.Z.ENTER:case r.Z.SPACE:{Ke&&!ze.disabled&&ze.checkable!==!1&&!ze.disableCheckbox?R.onNodeCheck({},ze,!q.includes(K)):!Ke&&Me&&!ze.disabled&&ze.selectable!==!1&&R.onNodeSelect({},ze);break}}}ge==null||ge(O)}),(0,s.Z)((0,H.Z)(R),"setUncontrolledState",function(O){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!R.destroyed){var ee=!1,q=!0,ce={};Object.keys(O).forEach(function(we){if(R.props.hasOwnProperty(we)){q=!1;return}ee=!0,ce[we]=O[we]}),ee&&(!U||q)&&R.setState((0,W.Z)((0,W.Z)({},ce),K))}}),(0,s.Z)((0,H.Z)(R),"scrollTo",function(O){R.listRef.current.scrollTo(O)}),R}return(0,_.Z)(pe,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var m=this.props,C=m.activeKey,z=m.itemScrollOffset,O=z===void 0?0:z;C!==void 0&&C!==this.state.activeKey&&(this.setState({activeKey:C}),C!==null&&this.scrollTo({key:C,offset:O}))}},{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 m=this.state,C=m.focused,z=m.flattenNodes,O=m.keyEntities,U=m.draggingNodeKey,K=m.activeKey,ee=m.dropLevelOffset,q=m.dropContainerKey,ce=m.dropTargetKey,we=m.dropPosition,ge=m.dragOverNodeKey,Ke=m.indent,Me=this.props,Fe=Me.prefixCls,ft=Me.className,je=Me.style,ze=Me.showLine,Nt=Me.focusable,Tt=Me.tabIndex,rt=Tt===void 0?0:Tt,jt=Me.selectable,hn=Me.showIcon,St=Me.icon,vt=Me.switcherIcon,Rt=Me.draggable,on=Me.checkable,Qt=Me.checkStrictly,qt=Me.disabled,En=Me.motion,fn=Me.loadData,We=Me.filterTreeNode,gt=Me.height,Gt=Me.itemHeight,mn=Me.scrollWidth,Wt=Me.virtual,kn=Me.titleRender,Vn=Me.dropIndicatorRender,Sn=Me.onContextMenu,Yt=Me.onScroll,Nn=Me.direction,xn=Me.rootClassName,On=Me.rootStyle,gn=(0,a.Z)(this.props,{aria:!0,data:!0}),Cn;Rt&&((0,D.Z)(Rt)==="object"?Cn=Rt:typeof Rt=="function"?Cn={nodeDraggable:Rt}:Cn={});var An={prefixCls:Fe,selectable:jt,showIcon:hn,icon:St,switcherIcon:vt,draggable:Cn,draggingNodeKey:U,checkable:on,checkStrictly:Qt,disabled:qt,keyEntities:O,dropLevelOffset:ee,dropContainerKey:q,dropTargetKey:ce,dropPosition:we,dragOverNodeKey:ge,indent:Ke,direction:Nn,dropIndicatorRender:Vn,loadData:fn,filterTreeNode:We,titleRender:kn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return v.createElement(x.k.Provider,{value:An},v.createElement("div",{className:t()(Fe,ft,xn,(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(Fe,"-show-line"),ze),"".concat(Fe,"-focused"),C),"".concat(Fe,"-active-focused"),K!==null)),style:On},v.createElement(be,(0,N.Z)({ref:this.listRef,prefixCls:Fe,style:je,data:z,disabled:qt,selectable:jt,checkable:!!on,motion:En,dragging:U!==null,height:gt,itemHeight:Gt,virtual:Wt,focusable:Nt,focused:C,tabIndex:rt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Sn,onScroll:Yt,scrollWidth:mn},this.getTreeNodeRequiredProps(),gn))))}}],[{key:"getDerivedStateFromProps",value:function(m,C){var z=C.prevProps,O={prevProps:m};function U(rt){return!z&&m.hasOwnProperty(rt)||z&&z[rt]!==m[rt]}var K,ee=C.fieldNames;if(U("fieldNames")&&(ee=(0,ye.w$)(m.fieldNames),O.fieldNames=ee),U("treeData")?K=m.treeData:U("children")&&((0,o.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),K=(0,ye.zn)(m.children)),K){O.treeData=K;var q=(0,ye.I8)(K,{fieldNames:ee});O.keyEntities=(0,W.Z)((0,s.Z)({},y,le),q.keyEntities)}var ce=O.keyEntities||C.keyEntities;if(U("expandedKeys")||z&&U("autoExpandParent"))O.expandedKeys=m.autoExpandParent||!z&&m.defaultExpandParent?(0,Ge.r7)(m.expandedKeys,ce):m.expandedKeys;else if(!z&&m.defaultExpandAll){var we=(0,W.Z)({},ce);delete we[y];var ge=[];Object.keys(we).forEach(function(rt){var jt=we[rt];jt.children&&jt.children.length&&ge.push(jt.key)}),O.expandedKeys=ge}else!z&&m.defaultExpandedKeys&&(O.expandedKeys=m.autoExpandParent||m.defaultExpandParent?(0,Ge.r7)(m.defaultExpandedKeys,ce):m.defaultExpandedKeys);if(O.expandedKeys||delete O.expandedKeys,K||O.expandedKeys){var Ke=(0,ye.oH)(K||C.treeData,O.expandedKeys||C.expandedKeys,ee);O.flattenNodes=Ke}if(m.selectable&&(U("selectedKeys")?O.selectedKeys=(0,Ge.BT)(m.selectedKeys,m):!z&&m.defaultSelectedKeys&&(O.selectedKeys=(0,Ge.BT)(m.defaultSelectedKeys,m))),m.checkable){var Me;if(U("checkedKeys")?Me=(0,Ge.E6)(m.checkedKeys)||{}:!z&&m.defaultCheckedKeys?Me=(0,Ge.E6)(m.defaultCheckedKeys)||{}:K&&(Me=(0,Ge.E6)(m.checkedKeys)||{checkedKeys:C.checkedKeys,halfCheckedKeys:C.halfCheckedKeys}),Me){var Fe=Me,ft=Fe.checkedKeys,je=ft===void 0?[]:ft,ze=Fe.halfCheckedKeys,Nt=ze===void 0?[]:ze;if(!m.checkStrictly){var Tt=(0,Lt.S)(je,!0,ce);je=Tt.checkedKeys,Nt=Tt.halfCheckedKeys}O.checkedKeys=je,O.halfCheckedKeys=Nt}}return U("loadedKeys")&&(O.loadedKeys=m.loadedKeys),O}}]),pe}(v.Component);(0,s.Z)(T,"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:h,allowDrop:function(){return!0},expandAction:!1}),(0,s.Z)(T,"TreeNode",j.Z);var A=T,X=A},82661:function(Bt,Ze,u){"use strict";u.d(Ze,{BT:function(){return v},E6:function(){return h},L0:function(){return s},OM:function(){return o},_5:function(){return e},r7:function(){return p},wA:function(){return t},yx:function(){return c}});var N=u(80702),D=u(62853),W=u(48736),Q=u(59301),V=u(639),_=u(65065),H=u(34061),G=null;function e(f,l){if(!f)return[];var k=f.slice(),P=k.indexOf(l);return P>=0&&k.splice(P,1),k}function s(f,l){var k=(f||[]).slice();return k.indexOf(l)===-1&&k.push(l),k}function c(f){return f.split("-")}function t(f,l){var k=[],P=(0,_.Z)(l,f);function L(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];j.forEach(function(J){var B=J.key,ye=J.children;k.push(B),L(ye)})}return L(P.children),k}function r(f){if(f.parent){var l=c(f.pos);return Number(l[l.length-1])===f.parent.children.length-1}return!1}function a(f){var l=c(f.pos);return Number(l[l.length-1])===0}function o(f,l,k,P,L,j,J,B,ye,g){var d,b=f.clientX,S=f.clientY,I=f.target.getBoundingClientRect(),w=I.top,n=I.height,i=(g==="rtl"?-1:1)*(((L==null?void 0:L.x)||0)-b),y=(i-12)/P,F=ye.filter(function(X){var M;return(M=B[X])===null||M===void 0||(M=M.children)===null||M===void 0?void 0:M.length}),le=(0,_.Z)(B,k.eventKey);if(S<w+n/2){var Ee=J.findIndex(function(X){return X.key===le.key}),Le=Ee<=0?0:Ee-1,Ve=J[Le].key;le=(0,_.Z)(B,Ve)}var it=le.key,zt=le,be=le.key,Ge=0,Lt=0;if(!F.includes(it))for(var Ie=0;Ie<y&&r(le);Ie+=1)le=le.parent,Lt+=1;var Oe=l.data,T=le.node,A=!0;return a(le)&&le.level===0&&S<w+n/2&&j({dragNode:Oe,dropNode:T,dropPosition:-1})&&le.key===k.eventKey?Ge=-1:(zt.children||[]).length&&F.includes(be)?j({dragNode:Oe,dropNode:T,dropPosition:0})?Ge=0:A=!1:Lt===0?y>-1.5?j({dragNode:Oe,dropNode:T,dropPosition:1})?Ge=1:A=!1:j({dragNode:Oe,dropNode:T,dropPosition:0})?Ge=0:j({dragNode:Oe,dropNode:T,dropPosition:1})?Ge=1:A=!1:j({dragNode:Oe,dropNode:T,dropPosition:1})?Ge=1:A=!1,{dropPosition:Ge,dropLevelOffset:Lt,dropTargetKey:le.key,dropTargetPos:le.pos,dragOverNodeKey:be,dropContainerKey:Ge===0?null:((d=le.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:A}}function v(f,l){if(f){var k=l.multiple;return k?f.slice():f.length?[f[0]]:f}}var x=function(l){return l};function E(f,l){if(!f)return[];var k=l||{},P=k.processProps,L=P===void 0?x:P,j=Array.isArray(f)?f:[f];return j.map(function(J){var B=J.children,ye=_objectWithoutProperties(J,G),g=E(B,l);return React.createElement(TreeNode,_extends({key:ye.key},L(ye)),g)})}function h(f){if(!f)return null;var l;if(Array.isArray(f))l={checkedKeys:f,halfCheckedKeys:void 0};else if((0,D.Z)(f)==="object")l={checkedKeys:f.checked||void 0,halfCheckedKeys:f.halfChecked||void 0};else return(0,W.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return l}function p(f,l){var k=new Set;function P(L){if(!k.has(L)){var j=(0,_.Z)(l,L);if(j){k.add(L);var J=j.parent,B=j.node;B.disabled||J&&P(J.key)}}}return(f||[]).forEach(function(L){P(L)}),(0,N.Z)(k)}},34643:function(Bt,Ze,u){"use strict";u.d(Ze,{S:function(){return H}});var N=u(48736),D=u(65065);function W(G,e){var s=new Set;return G.forEach(function(c){e.has(c)||s.add(c)}),s}function Q(G){var e=G||{},s=e.disabled,c=e.disableCheckbox,t=e.checkable;return!!(s||c)||t===!1}function V(G,e,s,c){for(var t=new Set(G),r=new Set,a=0;a<=s;a+=1){var o=e.get(a)||new Set;o.forEach(function(h){var p=h.key,f=h.node,l=h.children,k=l===void 0?[]:l;t.has(p)&&!c(f)&&k.filter(function(P){return!c(P.node)}).forEach(function(P){t.add(P.key)})})}for(var v=new Set,x=s;x>=0;x-=1){var E=e.get(x)||new Set;E.forEach(function(h){var p=h.parent,f=h.node;if(!(c(f)||!h.parent||v.has(h.parent.key))){if(c(h.parent.node)){v.add(p.key);return}var l=!0,k=!1;(p.children||[]).filter(function(P){return!c(P.node)}).forEach(function(P){var L=P.key,j=t.has(L);l&&!j&&(l=!1),!k&&(j||r.has(L))&&(k=!0)}),l&&t.add(p.key),k&&r.add(p.key),v.add(p.key)}})}return{checkedKeys:Array.from(t),halfCheckedKeys:Array.from(W(r,t))}}function _(G,e,s,c,t){for(var r=new Set(G),a=new Set(e),o=0;o<=c;o+=1){var v=s.get(o)||new Set;v.forEach(function(p){var f=p.key,l=p.node,k=p.children,P=k===void 0?[]:k;!r.has(f)&&!a.has(f)&&!t(l)&&P.filter(function(L){return!t(L.node)}).forEach(function(L){r.delete(L.key)})})}a=new Set;for(var x=new Set,E=c;E>=0;E-=1){var h=s.get(E)||new Set;h.forEach(function(p){var f=p.parent,l=p.node;if(!(t(l)||!p.parent||x.has(p.parent.key))){if(t(p.parent.node)){x.add(f.key);return}var k=!0,P=!1;(f.children||[]).filter(function(L){return!t(L.node)}).forEach(function(L){var j=L.key,J=r.has(j);k&&!J&&(k=!1),!P&&(J||a.has(j))&&(P=!0)}),k||r.delete(f.key),P&&a.add(f.key),x.add(f.key)}})}return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(W(a,r))}}function H(G,e,s,c){var t=[],r;c?r=c:r=Q;var a=new Set(G.filter(function(E){var h=!!(0,D.Z)(s,E);return h||t.push(E),h})),o=new Map,v=0;Object.keys(s).forEach(function(E){var h=s[E],p=h.level,f=o.get(p);f||(f=new Set,o.set(p,f)),f.add(h),v=Math.max(v,p)}),(0,N.ZP)(!t.length,"Tree missing follow keys: ".concat(t.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var x;return e===!0?x=V(a,o,v,r):x=_(a,e.halfCheckedKeys,o,v,r),x}},65065:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return N}});function N(D,W){return D[W]}},34061:function(Bt,Ze,u){"use strict";u.d(Ze,{F:function(){return p},H8:function(){return h},I8:function(){return E},km:function(){return t},oH:function(){return v},w$:function(){return r},zn:function(){return o}});var N=u(62853),D=u(80702),W=u(77321),Q=u(74416),V=u(11592),_=u(2738),H=u(48736),G=u(65065),e=["children"];function s(f,l){return"".concat(f,"-").concat(l)}function c(f){return f&&f.type&&f.type.isTreeNode}function t(f,l){return f!=null?f:l}function r(f){var l=f||{},k=l.title,P=l._title,L=l.key,j=l.children,J=k||"title";return{title:J,_title:P||[J],key:L||"key",children:j||"children"}}function a(f,l){var k=new Map;function P(L){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(L||[]).forEach(function(J){var B=J[l.key],ye=J[l.children];warning(B!=null,"Tree node must have a certain key: [".concat(j).concat(B,"]"));var g=String(B);warning(!k.has(g)||B===null||B===void 0,"Same 'key' exist in the Tree: ".concat(g)),k.set(g,!0),P(ye,"".concat(j).concat(g," > "))})}P(f)}function o(f){function l(k){var P=(0,V.Z)(k);return P.map(function(L){if(!c(L))return(0,H.ZP)(!L,"Tree/TreeNode can only accept TreeNode as children."),null;var j=L.key,J=L.props,B=J.children,ye=(0,Q.Z)(J,e),g=(0,W.Z)({key:j},ye),d=l(B);return d.length&&(g.children=d),g}).filter(function(L){return L})}return l(f)}function v(f,l,k){var P=r(k),L=P._title,j=P.key,J=P.children,B=new Set(l===!0?[]:l),ye=[];function g(d){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return d.map(function(S,I){for(var w=s(b?b.pos:"0",I),n=t(S[j],w),i,y=0;y<L.length;y+=1){var F=L[y];if(S[F]!==void 0){i=S[F];break}}var le=Object.assign((0,_.Z)(S,[].concat((0,D.Z)(L),[j,J])),{title:i,key:n,parent:b,pos:w,children:null,data:S,isStart:[].concat((0,D.Z)(b?b.isStart:[]),[I===0]),isEnd:[].concat((0,D.Z)(b?b.isEnd:[]),[I===d.length-1])});return ye.push(le),l===!0||B.has(n)?le.children=g(S[J]||[],le):le.children=[],le})}return g(f),ye}function x(f,l,k){var P={};(0,N.Z)(k)==="object"?P=k:P={externalGetKey:k},P=P||{};var L=P,j=L.childrenPropName,J=L.externalGetKey,B=L.fieldNames,ye=r(B),g=ye.key,d=ye.children,b=j||d,S;J?typeof J=="string"?S=function(n){return n[J]}:typeof J=="function"&&(S=function(n){return J(n)}):S=function(n,i){return t(n[g],i)};function I(w,n,i,y){var F=w?w[b]:f,le=w?s(i.pos,n):"0",Ee=w?[].concat((0,D.Z)(y),[w]):[];if(w){var Le=S(w,le),Ve={node:w,index:n,pos:le,key:Le,parentPos:i.node?i.pos:null,level:i.level+1,nodes:Ee};l(Ve)}F&&F.forEach(function(it,zt){I(it,zt,{node:w,pos:le,level:i?i.level+1:-1},Ee)})}I(null)}function E(f){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},k=l.initWrapper,P=l.processEntity,L=l.onProcessFinished,j=l.externalGetKey,J=l.childrenPropName,B=l.fieldNames,ye=arguments.length>2?arguments[2]:void 0,g=j||ye,d={},b={},S={posEntities:d,keyEntities:b};return k&&(S=k(S)||S),x(f,function(I){var w=I.node,n=I.index,i=I.pos,y=I.key,F=I.parentPos,le=I.level,Ee=I.nodes,Le={node:w,nodes:Ee,index:n,key:y,pos:i,level:le},Ve=t(y,i);d[i]=Le,b[Ve]=Le,Le.parent=d[F],Le.parent&&(Le.parent.children=Le.parent.children||[],Le.parent.children.push(Le)),P&&P(Le,S)},{externalGetKey:g,childrenPropName:J,fieldNames:B}),L&&L(S),S}function h(f,l){var k=l.expandedKeys,P=l.selectedKeys,L=l.loadedKeys,j=l.loadingKeys,J=l.checkedKeys,B=l.halfCheckedKeys,ye=l.dragOverNodeKey,g=l.dropPosition,d=l.keyEntities,b=(0,G.Z)(d,f),S={eventKey:f,expanded:k.indexOf(f)!==-1,selected:P.indexOf(f)!==-1,loaded:L.indexOf(f)!==-1,loading:j.indexOf(f)!==-1,checked:J.indexOf(f)!==-1,halfChecked:B.indexOf(f)!==-1,pos:String(b?b.pos:""),dragOver:ye===f&&g===0,dragOverGapTop:ye===f&&g===-1,dragOverGapBottom:ye===f&&g===1};return S}function p(f){var l=f.data,k=f.expanded,P=f.selected,L=f.checked,j=f.loaded,J=f.loading,B=f.halfChecked,ye=f.dragOver,g=f.dragOverGapTop,d=f.dragOverGapBottom,b=f.pos,S=f.active,I=f.eventKey,w=(0,W.Z)((0,W.Z)({},l),{},{expanded:k,selected:P,checked:L,loaded:j,loading:J,halfChecked:B,dragOver:ye,dragOverGapTop:g,dragOverGapBottom:d,pos:b,active:S,key:I});return"props"in w||Object.defineProperty(w,"props",{get:function(){return(0,H.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),f}}),w}},8224:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return D}});var N=u(4676);function D(W,Q,V,_){var H=N.unstable_batchedUpdates?function(e){N.unstable_batchedUpdates(V,e)}:V;return W!=null&&W.addEventListener&&W.addEventListener(Q,H,_),{remove:function(){W!=null&&W.removeEventListener&&W.removeEventListener(Q,H,_)}}}},24514:function(Bt,Ze,u){"use strict";u.d(Ze,{G:function(){return Q}});var N=u(47273),D=function(_){if((0,N.Z)()&&window.document.documentElement){var H=Array.isArray(_)?_:[_],G=window.document.documentElement;return H.some(function(e){return e in G.style})}return!1},W=function(_,H){if(!D(_))return!1;var G=document.createElement("div"),e=G.style[_];return G.style[_]=H,G.style[_]!==e};function Q(V,_){return!Array.isArray(V)&&_!==void 0?W(V,_):D(V)}},49658:function(Bt,Ze){"use strict";Ze.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var u=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(u)||/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(u==null?void 0:u.substr(0,4))}},45680:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return Oe}});var N=u(72308),D=u(62853),W=u(77321),Q=u(49618),V=u(52487),_=u(74416),H=u(92310),G=u.n(H),e=u(29301),s=u(70425),c=u(34280),t=u(59301),r=u(4676),a=t.forwardRef(function(T,A){var X=T.height,M=T.offsetY,se=T.offsetX,pe=T.children,R=T.prefixCls,m=T.onInnerResize,C=T.innerProps,z=T.rtl,O=T.extra,U={},K={display:"flex",flexDirection:"column"};return M!==void 0&&(U={height:X,position:"relative",overflow:"hidden"},K=(0,W.Z)((0,W.Z)({},K),{},(0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)({transform:"translateY(".concat(M,"px)")},z?"marginRight":"marginLeft",-se),"position","absolute"),"left",0),"right",0),"top",0))),t.createElement("div",{style:U},t.createElement(e.Z,{onResize:function(q){var ce=q.offsetHeight;ce&&m&&m()}},t.createElement("div",(0,N.Z)({style:K,className:G()((0,Q.Z)({},"".concat(R,"-holder-inner"),R)),ref:A},C),pe,O)))});a.displayName="Filler";var o=a;function v(T){var A=T.children,X=T.setRef,M=t.useCallback(function(se){X(se)},[]);return t.cloneElement(A,{ref:M})}function x(T,A,X,M,se,pe,R,m){var C=m.getKey;return T.slice(A,X+1).map(function(z,O){var U=A+O,K=R(z,U,{style:{width:M},offsetX:se}),ee=C(z);return t.createElement(v,{key:ee,setRef:function(ce){return pe(z,ce)}},K)})}function E(T,A,X,M){var se=X-T,pe=A-X,R=Math.min(se,pe)*2;if(M<=R){var m=Math.floor(M/2);return M%2?X+m+1:X-m}return se>pe?X-(M-pe):X+(M-se)}function h(T,A,X){var M=T.length,se=A.length,pe,R;if(M===0&&se===0)return null;M<se?(pe=T,R=A):(pe=A,R=T);var m={__EMPTY_ITEM__:!0};function C(q){return q!==void 0?X(q):m}for(var z=null,O=Math.abs(M-se)!==1,U=0;U<R.length;U+=1){var K=C(pe[U]),ee=C(R[U]);if(K!==ee){z=U,O=O||K!==C(R[U+1]);break}}return z===null?null:{index:z,multiple:O}}function p(T,A,X){var M=t.useState(T),se=(0,V.Z)(M,2),pe=se[0],R=se[1],m=t.useState(null),C=(0,V.Z)(m,2),z=C[0],O=C[1];return t.useEffect(function(){var U=h(pe||[],T||[],A);(U==null?void 0:U.index)!==void 0&&(X==null||X(U.index),O(T[U.index])),R(T)},[T]),[z]}var f=u(16089),l=(typeof navigator=="undefined"?"undefined":(0,D.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),k=l,P=function(T,A,X,M){var se=(0,t.useRef)(!1),pe=(0,t.useRef)(null);function R(){clearTimeout(pe.current),se.current=!0,pe.current=setTimeout(function(){se.current=!1},50)}var m=(0,t.useRef)({top:T,bottom:A,left:X,right:M});return m.current.top=T,m.current.bottom=A,m.current.left=X,m.current.right=M,function(C,z){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,U=C?z<0&&m.current.left||z>0&&m.current.right:z<0&&m.current.top||z>0&&m.current.bottom;return O&&U?(clearTimeout(pe.current),se.current=!1):(!U||se.current)&&R(),!se.current&&U}};function L(T,A,X,M,se,pe,R){var m=(0,t.useRef)(0),C=(0,t.useRef)(null),z=(0,t.useRef)(null),O=(0,t.useRef)(!1),U=P(A,X,M,se);function K(Ke,Me){if(f.Z.cancel(C.current),!U(!1,Me)){var Fe=Ke;if(!Fe._virtualHandled)Fe._virtualHandled=!0;else return;m.current+=Me,z.current=Me,k||Fe.preventDefault(),C.current=(0,f.Z)(function(){var ft=O.current?10:1;R(m.current*ft,!1),m.current=0})}}function ee(Ke,Me){R(Me,!0),k||Ke.preventDefault()}var q=(0,t.useRef)(null),ce=(0,t.useRef)(null);function we(Ke){if(T){f.Z.cancel(ce.current),ce.current=(0,f.Z)(function(){q.current=null},2);var Me=Ke.deltaX,Fe=Ke.deltaY,ft=Ke.shiftKey,je=Me,ze=Fe;(q.current==="sx"||!q.current&&ft&&Fe&&!Me)&&(je=Fe,ze=0,q.current="sx");var Nt=Math.abs(je),Tt=Math.abs(ze);q.current===null&&(q.current=pe&&Nt>Tt?"x":"y"),q.current==="y"?K(Ke,ze):ee(Ke,je)}}function ge(Ke){T&&(O.current=Ke.detail===z.current)}return[we,ge]}function j(T,A,X,M){var se=t.useMemo(function(){return[new Map,[]]},[T,X.id,M]),pe=(0,V.Z)(se,2),R=pe[0],m=pe[1],C=function(O){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:O,K=R.get(O),ee=R.get(U);if(K===void 0||ee===void 0)for(var q=T.length,ce=m.length;ce<q;ce+=1){var we,ge=T[ce],Ke=A(ge);R.set(Ke,ce);var Me=(we=X.get(Ke))!==null&&we!==void 0?we:M;if(m[ce]=(m[ce-1]||0)+Me,Ke===O&&(K=ce),Ke===U&&(ee=ce),K!==void 0&&ee!==void 0)break}return{top:m[K-1]||0,bottom:m[ee]}};return C}var J=u(96949),B=u(55090),ye=function(){function T(){(0,J.Z)(this,T),(0,Q.Z)(this,"maps",void 0),(0,Q.Z)(this,"id",0),(0,Q.Z)(this,"diffKeys",new Set),this.maps=Object.create(null)}return(0,B.Z)(T,[{key:"set",value:function(X,M){this.maps[X]=M,this.id+=1,this.diffKeys.add(X)}},{key:"get",value:function(X){return this.maps[X]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),T}(),g=ye;function d(T){var A=parseFloat(T);return isNaN(A)?0:A}function b(T,A,X){var M=t.useState(0),se=(0,V.Z)(M,2),pe=se[0],R=se[1],m=(0,t.useRef)(new Map),C=(0,t.useRef)(new g),z=(0,t.useRef)(0);function O(){z.current+=1}function U(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;O();var q=function(){var ge=!1;m.current.forEach(function(Ke,Me){if(Ke&&Ke.offsetParent){var Fe=Ke.offsetHeight,ft=getComputedStyle(Ke),je=ft.marginTop,ze=ft.marginBottom,Nt=d(je),Tt=d(ze),rt=Fe+Nt+Tt;C.current.get(Me)!==rt&&(C.current.set(Me,rt),ge=!0)}}),ge&&R(function(Ke){return Ke+1})};if(ee)q();else{z.current+=1;var ce=z.current;Promise.resolve().then(function(){ce===z.current&&q()})}}function K(ee,q){var ce=T(ee),we=m.current.get(ce);q?(m.current.set(ce,q),U()):m.current.delete(ce),!we!=!q&&(q?A==null||A(ee):X==null||X(ee))}return(0,t.useEffect)(function(){return O},[]),[K,U,C.current,pe]}var S=14/15;function I(T,A,X){var M=(0,t.useRef)(!1),se=(0,t.useRef)(0),pe=(0,t.useRef)(0),R=(0,t.useRef)(null),m=(0,t.useRef)(null),C,z=function(ee){if(M.current){var q=Math.ceil(ee.touches[0].pageX),ce=Math.ceil(ee.touches[0].pageY),we=se.current-q,ge=pe.current-ce,Ke=Math.abs(we)>Math.abs(ge);Ke?se.current=q:pe.current=ce;var Me=X(Ke,Ke?we:ge,!1,ee);Me&&ee.preventDefault(),clearInterval(m.current),Me&&(m.current=setInterval(function(){Ke?we*=S:ge*=S;var Fe=Math.floor(Ke?we:ge);(!X(Ke,Fe,!0)||Math.abs(Fe)<=.1)&&clearInterval(m.current)},16))}},O=function(){M.current=!1,C()},U=function(ee){C(),ee.touches.length===1&&!M.current&&(M.current=!0,se.current=Math.ceil(ee.touches[0].pageX),pe.current=Math.ceil(ee.touches[0].pageY),R.current=ee.target,R.current.addEventListener("touchmove",z,{passive:!1}),R.current.addEventListener("touchend",O,{passive:!0}))};C=function(){R.current&&(R.current.removeEventListener("touchmove",z),R.current.removeEventListener("touchend",O))},(0,c.Z)(function(){return T&&A.current.addEventListener("touchstart",U,{passive:!0}),function(){var K;(K=A.current)===null||K===void 0||K.removeEventListener("touchstart",U),C(),clearInterval(m.current)}},[T])}function w(T){return Math.floor(Math.pow(T,.5))}function n(T,A){var X="touches"in T?T.touches[0]:T;return X[A?"pageX":"pageY"]-window[A?"scrollX":"scrollY"]}function i(T,A,X){t.useEffect(function(){var M=A.current;if(T&&M){var se=!1,pe,R,m=function(){f.Z.cancel(pe)},C=function K(){m(),pe=(0,f.Z)(function(){X(R),K()})},z=function(ee){if(!(ee.target.draggable||ee.button!==0)){var q=ee;q._virtualHandled||(q._virtualHandled=!0,se=!0)}},O=function(){se=!1,m()},U=function(ee){if(se){var q=n(ee,!1),ce=M.getBoundingClientRect(),we=ce.top,ge=ce.bottom;if(q<=we){var Ke=we-q;R=-w(Ke),C()}else if(q>=ge){var Me=q-ge;R=w(Me),C()}else m()}};return M.addEventListener("mousedown",z),M.ownerDocument.addEventListener("mouseup",O),M.ownerDocument.addEventListener("mousemove",U),function(){M.removeEventListener("mousedown",z),M.ownerDocument.removeEventListener("mouseup",O),M.ownerDocument.removeEventListener("mousemove",U),m()}}},[T])}var y=10;function F(T,A,X,M,se,pe,R,m){var C=t.useRef(),z=t.useState(null),O=(0,V.Z)(z,2),U=O[0],K=O[1];return(0,c.Z)(function(){if(U&&U.times<y){if(!T.current){K(function(En){return(0,W.Z)({},En)});return}pe();var ee=U.targetAlign,q=U.originAlign,ce=U.index,we=U.offset,ge=T.current.clientHeight,Ke=!1,Me=ee,Fe=null;if(ge){for(var ft=ee||q,je=0,ze=0,Nt=0,Tt=Math.min(A.length-1,ce),rt=0;rt<=Tt;rt+=1){var jt=se(A[rt]);ze=je;var hn=X.get(jt);Nt=ze+(hn===void 0?M:hn),je=Nt}for(var St=ft==="top"?we:ge-we,vt=Tt;vt>=0;vt-=1){var Rt=se(A[vt]),on=X.get(Rt);if(on===void 0){Ke=!0;break}if(St-=on,St<=0)break}switch(ft){case"top":Fe=ze-we;break;case"bottom":Fe=Nt-ge+we;break;default:{var Qt=T.current.scrollTop,qt=Qt+ge;ze<Qt?Me="top":Nt>qt&&(Me="bottom")}}Fe!==null&&R(Fe),Fe!==U.lastTop&&(Ke=!0)}Ke&&K((0,W.Z)((0,W.Z)({},U),{},{times:U.times+1,targetAlign:Me,lastTop:Fe}))}},[U,T.current]),function(ee){if(ee==null){m();return}if(f.Z.cancel(C.current),typeof ee=="number")R(ee);else if(ee&&(0,D.Z)(ee)==="object"){var q,ce=ee.align;"index"in ee?q=ee.index:q=A.findIndex(function(Ke){return se(Ke)===ee.key});var we=ee.offset,ge=we===void 0?0:we;K({times:0,index:q,offset:ge,originAlign:ce})}}}var le=t.forwardRef(function(T,A){var X=T.prefixCls,M=T.rtl,se=T.scrollOffset,pe=T.scrollRange,R=T.onStartMove,m=T.onStopMove,C=T.onScroll,z=T.horizontal,O=T.spinSize,U=T.containerSize,K=T.style,ee=T.thumbStyle,q=T.showScrollBar,ce=t.useState(!1),we=(0,V.Z)(ce,2),ge=we[0],Ke=we[1],Me=t.useState(null),Fe=(0,V.Z)(Me,2),ft=Fe[0],je=Fe[1],ze=t.useState(null),Nt=(0,V.Z)(ze,2),Tt=Nt[0],rt=Nt[1],jt=!M,hn=t.useRef(),St=t.useRef(),vt=t.useState(q),Rt=(0,V.Z)(vt,2),on=Rt[0],Qt=Rt[1],qt=t.useRef(),En=function(){q===!0||q===!1||(clearTimeout(qt.current),Qt(!0),qt.current=setTimeout(function(){Qt(!1)},3e3))},fn=pe-U||0,We=U-O||0,gt=t.useMemo(function(){if(se===0||fn===0)return 0;var xn=se/fn;return xn*We},[se,fn,We]),Gt=function(On){On.stopPropagation(),On.preventDefault()},mn=t.useRef({top:gt,dragging:ge,pageY:ft,startTop:Tt});mn.current={top:gt,dragging:ge,pageY:ft,startTop:Tt};var Wt=function(On){Ke(!0),je(n(On,z)),rt(mn.current.top),R(),On.stopPropagation(),On.preventDefault()};t.useEffect(function(){var xn=function(An){An.preventDefault()},On=hn.current,gn=St.current;return On.addEventListener("touchstart",xn,{passive:!1}),gn.addEventListener("touchstart",Wt,{passive:!1}),function(){On.removeEventListener("touchstart",xn),gn.removeEventListener("touchstart",Wt)}},[]);var kn=t.useRef();kn.current=fn;var Vn=t.useRef();Vn.current=We,t.useEffect(function(){if(ge){var xn,On=function(An){var Zn=mn.current,re=Zn.dragging,Y=Zn.pageY,$e=Zn.startTop;f.Z.cancel(xn);var Te=hn.current.getBoundingClientRect(),Ye=U/(z?Te.width:Te.height);if(re){var Xe=(n(An,z)-Y)*Ye,ot=$e;!jt&&z?ot-=Xe:ot+=Xe;var tt=kn.current,Pt=Vn.current,Se=Pt?ot/Pt:0,me=Math.ceil(Se*tt);me=Math.max(me,0),me=Math.min(me,tt),xn=(0,f.Z)(function(){C(me,z)})}},gn=function(){Ke(!1),m()};return window.addEventListener("mousemove",On,{passive:!0}),window.addEventListener("touchmove",On,{passive:!0}),window.addEventListener("mouseup",gn,{passive:!0}),window.addEventListener("touchend",gn,{passive:!0}),function(){window.removeEventListener("mousemove",On),window.removeEventListener("touchmove",On),window.removeEventListener("mouseup",gn),window.removeEventListener("touchend",gn),f.Z.cancel(xn)}}},[ge]),t.useEffect(function(){return En(),function(){clearTimeout(qt.current)}},[se]),t.useImperativeHandle(A,function(){return{delayHidden:En}});var Sn="".concat(X,"-scrollbar"),Yt={position:"absolute",visibility:on?null:"hidden"},Nn={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return z?(Yt.height=8,Yt.left=0,Yt.right=0,Yt.bottom=0,Nn.height="100%",Nn.width=O,jt?Nn.left=gt:Nn.right=gt):(Yt.width=8,Yt.top=0,Yt.bottom=0,jt?Yt.right=0:Yt.left=0,Nn.width="100%",Nn.height=O,Nn.top=gt),t.createElement("div",{ref:hn,className:G()(Sn,(0,Q.Z)((0,Q.Z)((0,Q.Z)({},"".concat(Sn,"-horizontal"),z),"".concat(Sn,"-vertical"),!z),"".concat(Sn,"-visible"),on)),style:(0,W.Z)((0,W.Z)({},Yt),K),onMouseDown:Gt,onMouseMove:En},t.createElement("div",{ref:St,className:G()("".concat(Sn,"-thumb"),(0,Q.Z)({},"".concat(Sn,"-thumb-moving"),ge)),style:(0,W.Z)((0,W.Z)({},Nn),ee),onMouseDown:Wt}))}),Ee=le,Le=20;function Ve(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,X=T/A*T;return isNaN(X)&&(X=0),X=Math.max(X,Le),Math.floor(X)}var it=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],zt=[],be={overflowY:"auto",overflowAnchor:"none"};function Ge(T,A){var X=T.prefixCls,M=X===void 0?"rc-virtual-list":X,se=T.className,pe=T.height,R=T.itemHeight,m=T.fullHeight,C=m===void 0?!0:m,z=T.style,O=T.data,U=T.children,K=T.itemKey,ee=T.virtual,q=T.direction,ce=T.scrollWidth,we=T.component,ge=we===void 0?"div":we,Ke=T.onScroll,Me=T.onVirtualScroll,Fe=T.onVisibleChange,ft=T.innerProps,je=T.extraRender,ze=T.styles,Nt=T.showScrollBar,Tt=Nt===void 0?"optional":Nt,rt=(0,_.Z)(T,it),jt=t.useCallback(function(te){return typeof K=="function"?K(te):te==null?void 0:te[K]},[K]),hn=b(jt,null,null),St=(0,V.Z)(hn,4),vt=St[0],Rt=St[1],on=St[2],Qt=St[3],qt=!!(ee!==!1&&pe&&R),En=t.useMemo(function(){return Object.values(on.maps).reduce(function(te,oe){return te+oe},0)},[on.id,on.maps]),fn=qt&&O&&(Math.max(R*O.length,En)>pe||!!ce),We=q==="rtl",gt=G()(M,(0,Q.Z)({},"".concat(M,"-rtl"),We),se),Gt=O||zt,mn=(0,t.useRef)(),Wt=(0,t.useRef)(),kn=(0,t.useRef)(),Vn=(0,t.useState)(0),Sn=(0,V.Z)(Vn,2),Yt=Sn[0],Nn=Sn[1],xn=(0,t.useState)(0),On=(0,V.Z)(xn,2),gn=On[0],Cn=On[1],An=(0,t.useState)(!1),Zn=(0,V.Z)(An,2),re=Zn[0],Y=Zn[1],$e=function(){Y(!0)},Te=function(){Y(!1)},Ye={getKey:jt};function Xe(te){Nn(function(oe){var _e;typeof te=="function"?_e=te(oe):_e=te;var De=ht(_e);return mn.current.scrollTop=De,De})}var ot=(0,t.useRef)({start:0,end:Gt.length}),tt=(0,t.useRef)(),Pt=p(Gt,jt),Se=(0,V.Z)(Pt,1),me=Se[0];tt.current=me;var Be=t.useMemo(function(){if(!qt)return{scrollHeight:void 0,start:0,end:Gt.length-1,offset:void 0};if(!fn){var te;return{scrollHeight:((te=Wt.current)===null||te===void 0?void 0:te.offsetHeight)||0,start:0,end:Gt.length-1,offset:void 0}}for(var oe=0,_e,De,Re,qe=Gt.length,Ct=0;Ct<qe;Ct+=1){var yt=Gt[Ct],Zt=jt(yt),xt=on.get(Zt),Kt=oe+(xt===void 0?R:xt);Kt>=Yt&&_e===void 0&&(_e=Ct,De=oe),Kt>Yt+pe&&Re===void 0&&(Re=Ct),oe=Kt}return _e===void 0&&(_e=0,De=0,Re=Math.ceil(pe/R)),Re===void 0&&(Re=Gt.length-1),Re=Math.min(Re+1,Gt.length-1),{scrollHeight:oe,start:_e,end:Re,offset:De}},[fn,qt,Yt,Gt,Qt,pe]),lt=Be.scrollHeight,et=Be.start,It=Be.end,Je=Be.offset;ot.current.start=et,ot.current.end=It,t.useLayoutEffect(function(){var te=on.getRecord();if(te.size===1){var oe=Array.from(te)[0],_e=Gt[et];if(_e){var De=jt(_e);if(De===oe){var Re=on.get(oe),qe=Re-R;Xe(function(Ct){return Ct+qe})}}}on.resetRecord()},[lt]);var nt=t.useState({width:0,height:pe}),$=(0,V.Z)(nt,2),de=$[0],Ce=$[1],fe=function(oe){Ce({width:oe.offsetWidth,height:oe.offsetHeight})},Ne=(0,t.useRef)(),ke=(0,t.useRef)(),Ae=t.useMemo(function(){return Ve(de.width,ce)},[de.width,ce]),Ue=t.useMemo(function(){return Ve(de.height,lt)},[de.height,lt]),st=lt-pe,ct=(0,t.useRef)(st);ct.current=st;function ht(te){var oe=te;return Number.isNaN(ct.current)||(oe=Math.min(oe,ct.current)),oe=Math.max(oe,0),oe}var ut=Yt<=0,Ot=Yt>=st,Mt=gn<=0,kt=gn>=ce,bt=P(ut,Ot,Mt,kt),wt=function(){return{x:We?-gn:gn,y:Yt}},$t=(0,t.useRef)(wt()),Qe=(0,s.zX)(function(te){if(Me){var oe=(0,W.Z)((0,W.Z)({},wt()),te);($t.current.x!==oe.x||$t.current.y!==oe.y)&&(Me(oe),$t.current=oe)}});function He(te,oe){var _e=te;oe?((0,r.flushSync)(function(){Cn(_e)}),Qe()):Xe(_e)}function at(te){var oe=te.currentTarget.scrollTop;oe!==Yt&&Xe(oe),Ke==null||Ke(te),Qe()}var en=function(oe){var _e=oe,De=ce?ce-de.width:0;return _e=Math.max(_e,0),_e=Math.min(_e,De),_e},ln=(0,s.zX)(function(te,oe){oe?((0,r.flushSync)(function(){Cn(function(_e){var De=_e+(We?-te:te);return en(De)})}),Qe()):Xe(function(_e){var De=_e+te;return De})}),vn=L(qt,ut,Ot,Mt,kt,!!ce,ln),Rn=(0,V.Z)(vn,2),Z=Rn[0],ie=Rn[1];I(qt,mn,function(te,oe,_e,De){var Re=De;return bt(te,oe,_e)?!1:!Re||!Re._virtualHandled?(Re&&(Re._virtualHandled=!0),Z({preventDefault:function(){},deltaX:te?oe:0,deltaY:te?0:oe}),!0):!1}),i(fn,mn,function(te){Xe(function(oe){return oe+te})}),(0,c.Z)(function(){function te(_e){var De=ut&&_e.detail<0,Re=Ot&&_e.detail>0;qt&&!De&&!Re&&_e.preventDefault()}var oe=mn.current;return oe.addEventListener("wheel",Z,{passive:!1}),oe.addEventListener("DOMMouseScroll",ie,{passive:!0}),oe.addEventListener("MozMousePixelScroll",te,{passive:!1}),function(){oe.removeEventListener("wheel",Z),oe.removeEventListener("DOMMouseScroll",ie),oe.removeEventListener("MozMousePixelScroll",te)}},[qt,ut,Ot]),(0,c.Z)(function(){if(ce){var te=en(gn);Cn(te),Qe({x:te})}},[de.width,ce]);var ne=function(){var oe,_e;(oe=Ne.current)===null||oe===void 0||oe.delayHidden(),(_e=ke.current)===null||_e===void 0||_e.delayHidden()},ae=F(mn,Gt,on,R,jt,function(){return Rt(!0)},Xe,ne);t.useImperativeHandle(A,function(){return{nativeElement:kn.current,getScrollInfo:wt,scrollTo:function(oe){function _e(De){return De&&(0,D.Z)(De)==="object"&&("left"in De||"top"in De)}_e(oe)?(oe.left!==void 0&&Cn(en(oe.left)),ae(oe.top)):ae(oe)}}}),(0,c.Z)(function(){if(Fe){var te=Gt.slice(et,It+1);Fe(te,Gt)}},[et,It,Gt]);var he=j(Gt,jt,on,R),ue=je==null?void 0:je({start:et,end:It,virtual:fn,offsetX:gn,offsetY:Je,rtl:We,getSize:he}),ve=x(Gt,et,It,ce,gn,vt,U,Ye),xe=null;pe&&(xe=(0,W.Z)((0,Q.Z)({},C?"height":"maxHeight",pe),be),qt&&(xe.overflowY="hidden",ce&&(xe.overflowX="hidden"),re&&(xe.pointerEvents="none")));var Pe={};return We&&(Pe.dir="rtl"),t.createElement("div",(0,N.Z)({ref:kn,style:(0,W.Z)((0,W.Z)({},z),{},{position:"relative"}),className:gt},Pe,rt),t.createElement(e.Z,{onResize:fe},t.createElement(ge,{className:"".concat(M,"-holder"),style:xe,ref:mn,onScroll:at,onMouseEnter:ne},t.createElement(o,{prefixCls:M,height:lt,offsetX:gn,offsetY:Je,scrollWidth:ce,onInnerResize:Rt,ref:Wt,innerProps:ft,rtl:We,extra:ue},ve))),fn&&lt>pe&&t.createElement(Ee,{ref:Ne,prefixCls:M,scrollOffset:Yt,scrollRange:lt,rtl:We,onScroll:He,onStartMove:$e,onStopMove:Te,spinSize:Ue,containerSize:de.height,style:ze==null?void 0:ze.verticalScrollBar,thumbStyle:ze==null?void 0:ze.verticalScrollBarThumb,showScrollBar:Tt}),fn&&ce>de.width&&t.createElement(Ee,{ref:ke,prefixCls:M,scrollOffset:gn,scrollRange:ce,rtl:We,onScroll:He,onStartMove:$e,onStopMove:Te,spinSize:Ae,containerSize:de.width,horizontal:!0,style:ze==null?void 0:ze.horizontalScrollBar,thumbStyle:ze==null?void 0:ze.horizontalScrollBarThumb,showScrollBar:Tt}))}var Lt=t.forwardRef(Ge);Lt.displayName="List";var Ie=Lt,Oe=Ie},83145:function(Bt,Ze,u){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.CopyToClipboard=void 0;var N=W(u(59301)),D=W(u(25769));function W(h){return h&&h.__esModule?h:{default:h}}function Q(h){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Q=function(f){return typeof f}:Q=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},Q(h)}function V(h,p){var f=Object.keys(h);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(h);p&&(l=l.filter(function(k){return Object.getOwnPropertyDescriptor(h,k).enumerable})),f.push.apply(f,l)}return f}function _(h){for(var p=1;p<arguments.length;p++){var f=arguments[p]!=null?arguments[p]:{};p%2?V(f,!0).forEach(function(l){x(h,l,f[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(f)):V(f).forEach(function(l){Object.defineProperty(h,l,Object.getOwnPropertyDescriptor(f,l))})}return h}function H(h,p){if(h==null)return{};var f=G(h,p),l,k;if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(h);for(k=0;k<P.length;k++)l=P[k],!(p.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(h,l)&&(f[l]=h[l])}return f}function G(h,p){if(h==null)return{};var f={},l=Object.keys(h),k,P;for(P=0;P<l.length;P++)k=l[P],!(p.indexOf(k)>=0)&&(f[k]=h[k]);return f}function e(h,p){if(!(h instanceof p))throw new TypeError("Cannot call a class as a function")}function s(h,p){for(var f=0;f<p.length;f++){var l=p[f];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(h,l.key,l)}}function c(h,p,f){return p&&s(h.prototype,p),f&&s(h,f),h}function t(h,p){return p&&(Q(p)==="object"||typeof p=="function")?p:a(h)}function r(h){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(f){return f.__proto__||Object.getPrototypeOf(f)},r(h)}function a(h){if(h===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h}function o(h,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(p&&p.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),p&&v(h,p)}function v(h,p){return v=Object.setPrototypeOf||function(l,k){return l.__proto__=k,l},v(h,p)}function x(h,p,f){return p in h?Object.defineProperty(h,p,{value:f,enumerable:!0,configurable:!0,writable:!0}):h[p]=f,h}var E=function(h){o(p,h);function p(){var f,l;e(this,p);for(var k=arguments.length,P=new Array(k),L=0;L<k;L++)P[L]=arguments[L];return l=t(this,(f=r(p)).call.apply(f,[this].concat(P))),x(a(l),"onClick",function(j){var J=l.props,B=J.text,ye=J.onCopy,g=J.children,d=J.options,b=N.default.Children.only(g),S=(0,D.default)(B,d);ye&&ye(B,S),b&&b.props&&typeof b.props.onClick=="function"&&b.props.onClick(j)}),l}return c(p,[{key:"render",value:function(){var l=this.props,k=l.text,P=l.onCopy,L=l.options,j=l.children,J=H(l,["text","onCopy","options","children"]),B=N.default.Children.only(j);return N.default.cloneElement(B,_({},J,{onClick:this.onClick}))}}]),p}(N.default.PureComponent);Ze.CopyToClipboard=E,x(E,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(Bt,Ze,u){"use strict";var N=u(83145),D=N.CopyToClipboard;D.CopyToClipboard=D,Bt.exports=D},76374:function(Bt,Ze,u){"use strict";var N=function(){if(typeof Map!="undefined")return Map;function g(d,b){var S=-1;return d.some(function(I,w){return I[0]===b?(S=w,!0):!1}),S}return function(){function d(){this.__entries__=[]}return Object.defineProperty(d.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),d.prototype.get=function(b){var S=g(this.__entries__,b),I=this.__entries__[S];return I&&I[1]},d.prototype.set=function(b,S){var I=g(this.__entries__,b);~I?this.__entries__[I][1]=S:this.__entries__.push([b,S])},d.prototype.delete=function(b){var S=this.__entries__,I=g(S,b);~I&&S.splice(I,1)},d.prototype.has=function(b){return!!~g(this.__entries__,b)},d.prototype.clear=function(){this.__entries__.splice(0)},d.prototype.forEach=function(b,S){S===void 0&&(S=null);for(var I=0,w=this.__entries__;I<w.length;I++){var n=w[I];b.call(S,n[1],n[0])}},d}()}(),D=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,W=function(){return typeof u.g!="undefined"&&u.g.Math===Math?u.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),Q=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(W):function(g){return setTimeout(function(){return g(Date.now())},1e3/60)}}(),V=2;function _(g,d){var b=!1,S=!1,I=0;function w(){b&&(b=!1,g()),S&&i()}function n(){Q(w)}function i(){var y=Date.now();if(b){if(y-I<V)return;S=!0}else b=!0,S=!1,setTimeout(n,d);I=y}return i}var H=20,G=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",s=function(){function g(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=_(this.refresh.bind(this),H)}return g.prototype.addObserver=function(d){~this.observers_.indexOf(d)||this.observers_.push(d),this.connected_||this.connect_()},g.prototype.removeObserver=function(d){var b=this.observers_,S=b.indexOf(d);~S&&b.splice(S,1),!b.length&&this.connected_&&this.disconnect_()},g.prototype.refresh=function(){var d=this.updateObservers_();d&&this.refresh()},g.prototype.updateObservers_=function(){var d=this.observers_.filter(function(b){return b.gatherActive(),b.hasActive()});return d.forEach(function(b){return b.broadcastActive()}),d.length>0},g.prototype.connect_=function(){!D||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)},g.prototype.disconnect_=function(){!D||!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)},g.prototype.onTransitionEnd_=function(d){var b=d.propertyName,S=b===void 0?"":b,I=G.some(function(w){return!!~S.indexOf(w)});I&&this.refresh()},g.getInstance=function(){return this.instance_||(this.instance_=new g),this.instance_},g.instance_=null,g}(),c=function(g,d){for(var b=0,S=Object.keys(d);b<S.length;b++){var I=S[b];Object.defineProperty(g,I,{value:d[I],enumerable:!1,writable:!1,configurable:!0})}return g},t=function(g){var d=g&&g.ownerDocument&&g.ownerDocument.defaultView;return d||W},r=k(0,0,0,0);function a(g){return parseFloat(g)||0}function o(g){for(var d=[],b=1;b<arguments.length;b++)d[b-1]=arguments[b];return d.reduce(function(S,I){var w=g["border-"+I+"-width"];return S+a(w)},0)}function v(g){for(var d=["top","right","bottom","left"],b={},S=0,I=d;S<I.length;S++){var w=I[S],n=g["padding-"+w];b[w]=a(n)}return b}function x(g){var d=g.getBBox();return k(0,0,d.width,d.height)}function E(g){var d=g.clientWidth,b=g.clientHeight;if(!d&&!b)return r;var S=t(g).getComputedStyle(g),I=v(S),w=I.left+I.right,n=I.top+I.bottom,i=a(S.width),y=a(S.height);if(S.boxSizing==="border-box"&&(Math.round(i+w)!==d&&(i-=o(S,"left","right")+w),Math.round(y+n)!==b&&(y-=o(S,"top","bottom")+n)),!p(g)){var F=Math.round(i+w)-d,le=Math.round(y+n)-b;Math.abs(F)!==1&&(i-=F),Math.abs(le)!==1&&(y-=le)}return k(I.left,I.top,i,y)}var h=function(){return typeof SVGGraphicsElement!="undefined"?function(g){return g instanceof t(g).SVGGraphicsElement}:function(g){return g instanceof t(g).SVGElement&&typeof g.getBBox=="function"}}();function p(g){return g===t(g).document.documentElement}function f(g){return D?h(g)?x(g):E(g):r}function l(g){var d=g.x,b=g.y,S=g.width,I=g.height,w=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,n=Object.create(w.prototype);return c(n,{x:d,y:b,width:S,height:I,top:b,right:d+S,bottom:I+b,left:d}),n}function k(g,d,b,S){return{x:g,y:d,width:b,height:S}}var P=function(){function g(d){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=k(0,0,0,0),this.target=d}return g.prototype.isActive=function(){var d=f(this.target);return this.contentRect_=d,d.width!==this.broadcastWidth||d.height!==this.broadcastHeight},g.prototype.broadcastRect=function(){var d=this.contentRect_;return this.broadcastWidth=d.width,this.broadcastHeight=d.height,d},g}(),L=function(){function g(d,b){var S=l(b);c(this,{target:d,contentRect:S})}return g}(),j=function(){function g(d,b,S){if(this.activeObservations_=[],this.observations_=new N,typeof d!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=d,this.controller_=b,this.callbackCtx_=S}return g.prototype.observe=function(d){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(d instanceof t(d).Element))throw new TypeError('parameter 1 is not of type "Element".');var b=this.observations_;b.has(d)||(b.set(d,new P(d)),this.controller_.addObserver(this),this.controller_.refresh())}},g.prototype.unobserve=function(d){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(d instanceof t(d).Element))throw new TypeError('parameter 1 is not of type "Element".');var b=this.observations_;b.has(d)&&(b.delete(d),b.size||this.controller_.removeObserver(this))}},g.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},g.prototype.gatherActive=function(){var d=this;this.clearActive(),this.observations_.forEach(function(b){b.isActive()&&d.activeObservations_.push(b)})},g.prototype.broadcastActive=function(){if(this.hasActive()){var d=this.callbackCtx_,b=this.activeObservations_.map(function(S){return new L(S.target,S.broadcastRect())});this.callback_.call(d,b,d),this.clearActive()}},g.prototype.clearActive=function(){this.activeObservations_.splice(0)},g.prototype.hasActive=function(){return this.activeObservations_.length>0},g}(),J=typeof WeakMap!="undefined"?new WeakMap:new N,B=function(){function g(d){if(!(this instanceof g))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var b=s.getInstance(),S=new j(d,b,this);J.set(this,S)}return g}();["observe","unobserve","disconnect"].forEach(function(g){B.prototype[g]=function(){var d;return(d=J.get(this))[g].apply(d,arguments)}});var ye=function(){return typeof W.ResizeObserver!="undefined"?W.ResizeObserver:B}();Ze.Z=ye},98040:function(Bt){Bt.exports=function(){var Ze=document.getSelection();if(!Ze.rangeCount)return function(){};for(var u=document.activeElement,N=[],D=0;D<Ze.rangeCount;D++)N.push(Ze.getRangeAt(D));switch(u.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":u.blur();break;default:u=null;break}return Ze.removeAllRanges(),function(){Ze.type==="Caret"&&Ze.removeAllRanges(),Ze.rangeCount||N.forEach(function(W){Ze.addRange(W)}),u&&u.focus()}}},93314:function(Bt){"use strict";Bt.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=="}}]);