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__Docu...

94 lines
562 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[5775],{65030:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return ae}});var P=l(33885),D=l(42978),K=l(75931),G=l(43403),j=l(92310),p=l.n(j),V=l(29301),H=l(76846),e=l(96452),s=l(6089),f=l(80402),t=l(34280),r=l(49658),i=l(59301),o=l(54476),g=l(77900),w=l(8654);function R(W){var X=W.prefixCls,c=W.align,L=W.arrow,J=W.arrowPos,x=L||{},m=x.className,F=x.content,q=J.x,M=q===void 0?0:q,U=J.y,z=U===void 0?0:U,ce=i.useRef();if(!c||!c.points)return null;var ie={position:"absolute"};if(c.autoArrow!==!1){var we=c.points[0],Me=c.points[1],je=we[0],Ke=we[1],ke=Me[0],ue=Me[1];je===ke||!["t","b"].includes(je)?ie.top=z:je==="t"?ie.top=0:ie.bottom=0,Ke===ue||!["l","r"].includes(Ke)?ie.left=M:Ke==="l"?ie.left=0:ie.right=0}return i.createElement("div",{ref:ce,className:p()("".concat(X,"-arrow"),m),style:ie},F)}function _(W){var X=W.prefixCls,c=W.open,L=W.zIndex,J=W.mask,x=W.motion;return J?i.createElement(g.default,(0,o.Z)({},x,{motionAppear:!0,visible:c,removeOnLeave:!0}),function(m){var F=m.className;return i.createElement("div",{style:{zIndex:L},className:p()("".concat(X,"-mask"),F)})}):null}var y=i.memo(function(W){var X=W.children;return X},function(W,X){return X.cache}),d=y,u=i.forwardRef(function(W,X){var c=W.popup,L=W.className,J=W.prefixCls,x=W.style,m=W.target,F=W.onVisibleChanged,q=W.open,M=W.keepDom,U=W.fresh,z=W.onClick,ce=W.mask,ie=W.arrow,we=W.arrowPos,Me=W.align,je=W.motion,Ke=W.maskMotion,ke=W.forceRender,ue=W.getPopupContainer,Le=W.autoDestroy,Pe=W.portal,Re=W.zIndex,dt=W.onMouseEnter,xt=W.onMouseLeave,Ie=W.onPointerEnter,Lt=W.onPointerDownCapture,en=W.ready,ht=W.offsetX,ot=W.offsetY,Kt=W.offsetR,nn=W.offsetB,At=W.onAlign,gt=W.onPrepare,Ft=W.stretch,vn=W.targetWidth,Mt=W.targetHeight,ut=typeof c=="function"?c():c,Et=q||M,Zn=(ue==null?void 0:ue.length)>0,mn=i.useState(!ue||!Zn),Ln=(0,D.Z)(mn,2),jn=Ln[0],bn=Ln[1];if((0,t.Z)(function(){!jn&&Zn&&m&&bn(!0)},[jn,Zn,m]),!jn)return null;var Cn="auto",Kn={left:"-1000vw",top:"-1000vh",right:Cn,bottom:Cn};if(en||!q){var Rn,On=Me.points,gn=Me.dynamicInset||((Rn=Me._experimental)===null||Rn===void 0?void 0:Rn.dynamicInset),Dn=gn&&On[0][1]==="r",st=gn&&On[0][0]==="b";Dn?(Kn.right=Kt,Kn.left=Cn):(Kn.left=ht,Kn.right=Cn),st?(Kn.bottom=nn,Kn.top=Cn):(Kn.top=ot,Kn.bottom=Cn)}var et={};return Ft&&(Ft.includes("height")&&Mt?et.height=Mt:Ft.includes("minHeight")&&Mt&&(et.minHeight=Mt),Ft.includes("width")&&vn?et.width=vn:Ft.includes("minWidth")&&vn&&(et.minWidth=vn)),q||(et.pointerEvents="none"),i.createElement(Pe,{open:ke||Et,getContainer:ue&&function(){return ue(m)},autoDestroy:Le},i.createElement(_,{prefixCls:J,open:q,zIndex:Re,mask:ce,motion:Ke}),i.createElement(V.Z,{onResize:At,disabled:!q},function(_t){return i.createElement(g.default,(0,o.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ke,leavedClassName:"".concat(J,"-hidden")},je,{onAppearPrepare:gt,onEnterPrepare:gt,visible:q,onVisibleChanged:function(Sn){var ee;je==null||(ee=je.onVisibleChanged)===null||ee===void 0||ee.call(je,Sn),F(Sn)}}),function(an,Sn){var ee=an.className,Q=an.style,We=p()(J,ee,L);return i.createElement("div",{ref:(0,w.sQ)(_t,X,Sn),className:We,style:(0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)({"--arrow-x":"".concat(we.x||0,"px"),"--arrow-y":"".concat(we.y||0,"px")},Kn),et),Q),{},{boxSizing:"border-box",zIndex:Re},x),onMouseEnter:dt,onMouseLeave:xt,onPointerEnter:Ie,onClick:z,onPointerDownCapture:Lt},ie&&i.createElement(R,{prefixCls:J,arrow:ie,arrowPos:we,align:Me}),i.createElement(d,{cache:!q&&!U},ut))})}))}),O=u,k=i.forwardRef(function(W,X){var c=W.children,L=W.getTriggerDOMNode,J=(0,w.Yr)(c),x=i.useCallback(function(F){(0,w.mH)(X,L?L(F):F)},[L]),m=(0,w.x1)(x,(0,w.C4)(c));return J?i.cloneElement(c,{ref:m}):c}),Z=k,I=i.createContext(null),$=I;function B(W){return W?Array.isArray(W)?W:[W]:[]}function Ee(W,X,c,L){return i.useMemo(function(){var J=B(c!=null?c:X),x=B(L!=null?L:X),m=new Set(J),F=new Set(x);return W&&(m.has("hover")&&(m.delete("hover"),m.add("click")),F.has("hover")&&(F.delete("hover"),F.add("click"))),[m,F]},[W,X,c,L])}var C=l(29194);function v(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],c=arguments.length>2?arguments[2]:void 0;return c?W[0]===X[0]:W[0]===X[0]&&W[1]===X[1]}function E(W,X,c,L){for(var J=c.points,x=Object.keys(W),m=0;m<x.length;m+=1){var F,q=x[m];if(v((F=W[q])===null||F===void 0?void 0:F.points,J,L))return"".concat(X,"-placement-").concat(q)}return""}function N(W,X,c,L){return X||(c?{motionName:"".concat(W,"-").concat(c)}:L?{motionName:L}:null)}function S(W){return W.ownerDocument.defaultView}function b(W){for(var X=[],c=W==null?void 0:W.parentElement,L=["hidden","scroll","clip","auto"];c;){var J=S(c).getComputedStyle(c),x=J.overflowX,m=J.overflowY,F=J.overflow;[x,m,F].some(function(q){return L.includes(q)})&&X.push(c),c=c.parentElement}return X}function n(W){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(W)?X:W}function a(W){return n(parseFloat(W),0)}function h(W,X){var c=(0,P.Z)({},W);return(X||[]).forEach(function(L){if(!(L instanceof HTMLBodyElement||L instanceof HTMLHtmlElement)){var J=S(L).getComputedStyle(L),x=J.overflow,m=J.overflowClipMargin,F=J.borderTopWidth,q=J.borderBottomWidth,M=J.borderLeftWidth,U=J.borderRightWidth,z=L.getBoundingClientRect(),ce=L.offsetHeight,ie=L.clientHeight,we=L.offsetWidth,Me=L.clientWidth,je=a(F),Ke=a(q),ke=a(M),ue=a(U),Le=n(Math.round(z.width/we*1e3)/1e3),Pe=n(Math.round(z.height/ce*1e3)/1e3),Re=(we-Me-ke-ue)*Le,dt=(ce-ie-je-Ke)*Pe,xt=je*Pe,Ie=Ke*Pe,Lt=ke*Le,en=ue*Le,ht=0,ot=0;if(x==="clip"){var Kt=a(m);ht=Kt*Le,ot=Kt*Pe}var nn=z.x+Lt-ht,At=z.y+xt-ot,gt=nn+z.width+2*ht-Lt-en-Re,Ft=At+z.height+2*ot-xt-Ie-dt;c.left=Math.max(c.left,nn),c.top=Math.max(c.top,At),c.right=Math.min(c.right,gt),c.bottom=Math.min(c.bottom,Ft)}}),c}function T(W){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,c="".concat(X),L=c.match(/^(.*)\%$/);return L?W*(parseFloat(L[1])/100):parseFloat(c)}function re(W,X){var c=X||[],L=(0,D.Z)(c,2),J=L[0],x=L[1];return[T(W.width,J),T(W.height,x)]}function de(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[W[0],W[1]]}function ve(W,X){var c=X[0],L=X[1],J,x;return c==="t"?x=W.y:c==="b"?x=W.y+W.height:x=W.y+W.height/2,L==="l"?J=W.x:L==="r"?J=W.x+W.width:J=W.x+W.width/2,{x:J,y:x}}function De(W,X){var c={t:"b",b:"t",l:"r",r:"l"};return W.map(function(L,J){return J===X?c[L]||"c":L}).join("")}function Ae(W,X,c,L,J,x,m){var F=i.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:J[L]||{}}),q=(0,D.Z)(F,2),M=q[0],U=q[1],z=i.useRef(0),ce=i.useMemo(function(){return X?b(X):[]},[X]),ie=i.useRef({}),we=function(){ie.current={}};W||we();var Me=(0,s.Z)(function(){if(X&&c&&W){let En=function(Nn,Ot){var qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ve,tn=Et.x+Nn,sn=Et.y+Ot,kn=tn+st,Fn=sn+Dn,ir=Math.max(tn,qt.left),Ct=Math.max(sn,qt.top),$t=Math.min(kn,qt.right),Wt=Math.min(Fn,qt.bottom);return Math.max(0,($t-ir)*(Wt-Ct))},xn=function(){be=Et.y+Dt,Be=be+Dn,Oe=Et.x+Nt,xe=Oe+st};var ke,ue,Le,Pe,Re=X,dt=Re.ownerDocument,xt=S(Re),Ie=xt.getComputedStyle(Re),Lt=Ie.position,en=Re.style.left,ht=Re.style.top,ot=Re.style.right,Kt=Re.style.bottom,nn=Re.style.overflow,At=(0,P.Z)((0,P.Z)({},J[L]),x),gt=dt.createElement("div");(ke=Re.parentElement)===null||ke===void 0||ke.appendChild(gt),gt.style.left="".concat(Re.offsetLeft,"px"),gt.style.top="".concat(Re.offsetTop,"px"),gt.style.position=Lt,gt.style.height="".concat(Re.offsetHeight,"px"),gt.style.width="".concat(Re.offsetWidth,"px"),Re.style.left="0",Re.style.top="0",Re.style.right="auto",Re.style.bottom="auto",Re.style.overflow="hidden";var Ft;if(Array.isArray(c))Ft={x:c[0],y:c[1],width:0,height:0};else{var vn,Mt,ut=c.getBoundingClientRect();ut.x=(vn=ut.x)!==null&&vn!==void 0?vn:ut.left,ut.y=(Mt=ut.y)!==null&&Mt!==void 0?Mt:ut.top,Ft={x:ut.x,y:ut.y,width:ut.width,height:ut.height}}var Et=Re.getBoundingClientRect(),Zn=xt.getComputedStyle(Re),mn=Zn.height,Ln=Zn.width;Et.x=(ue=Et.x)!==null&&ue!==void 0?ue:Et.left,Et.y=(Le=Et.y)!==null&&Le!==void 0?Le:Et.top;var jn=dt.documentElement,bn=jn.clientWidth,Cn=jn.clientHeight,Kn=jn.scrollWidth,Rn=jn.scrollHeight,On=jn.scrollTop,gn=jn.scrollLeft,Dn=Et.height,st=Et.width,et=Ft.height,_t=Ft.width,an={left:0,top:0,right:bn,bottom:Cn},Sn={left:-gn,top:-On,right:Kn-gn,bottom:Rn-On},ee=At.htmlRegion,Q="visible",We="visibleFirst";ee!=="scroll"&&ee!==We&&(ee=Q);var Se=ee===We,He=h(Sn,ce),qe=h(an,ce),Ve=ee===Q?qe:He,Ue=Se?qe:Ve;Re.style.left="auto",Re.style.top="auto",Re.style.right="0",Re.style.bottom="0";var at=Re.getBoundingClientRect();Re.style.left=en,Re.style.top=ht,Re.style.right=ot,Re.style.bottom=Kt,Re.style.overflow=nn,(Pe=Re.parentElement)===null||Pe===void 0||Pe.removeChild(gt);var $e=n(Math.round(st/parseFloat(Ln)*1e3)/1e3),nt=n(Math.round(Dn/parseFloat(mn)*1e3)/1e3);if($e===0||nt===0||(0,H.Sh)(c)&&!(0,C.Z)(c))return;var ct=At.offset,tt=At.targetOffset,ze=re(Et,ct),Y=(0,D.Z)(ze,2),fe=Y[0],pe=Y[1],ge=re(Ft,tt),Fe=(0,D.Z)(ge,2),Ge=Fe[0],Je=Fe[1];Ft.x-=Ge,Ft.y-=Je;var lt=At.points||[],yt=(0,D.Z)(lt,2),St=yt[0],cn=yt[1],Rt=de(cn),Pt=de(St),zt=ve(Ft,Rt),Gt=ve(Et,Pt),Vt=(0,P.Z)({},At),Nt=zt.x-Gt.x+fe,Dt=zt.y-Gt.y+pe,rt=En(Nt,Dt),ft=En(Nt,Dt,qe),mt=ve(Ft,["t","l"]),Yt=ve(Et,["t","l"]),It=ve(Ft,["b","r"]),Ht=ve(Et,["b","r"]),Tn=At.overflow||{},A=Tn.adjustX,oe=Tn.adjustY,te=Tn.shiftX,se=Tn.shiftY,_e=function(Ot){return typeof Ot=="boolean"?Ot:Ot>=0},be,Be,Oe,xe;xn();var ne=_e(oe),le=Pt[0]===Rt[0];if(ne&&Pt[0]==="t"&&(Be>Ue.bottom||ie.current.bt)){var he=Dt;le?he-=Dn-et:he=mt.y-Ht.y-pe;var ye=En(Nt,he),Ce=En(Nt,he,qe);ye>rt||ye===rt&&(!Se||Ce>=ft)?(ie.current.bt=!0,Dt=he,pe=-pe,Vt.points=[De(Pt,0),De(Rt,0)]):ie.current.bt=!1}if(ne&&Pt[0]==="b"&&(be<Ue.top||ie.current.tb)){var Ye=Dt;le?Ye+=Dn-et:Ye=It.y-Yt.y-pe;var pt=En(Nt,Ye),it=En(Nt,Ye,qe);pt>rt||pt===rt&&(!Se||it>=ft)?(ie.current.tb=!0,Dt=Ye,pe=-pe,Vt.points=[De(Pt,0),De(Rt,0)]):ie.current.tb=!1}var kt=_e(A),Ut=Pt[1]===Rt[1];if(kt&&Pt[1]==="l"&&(xe>Ue.right||ie.current.rl)){var Tt=Nt;Ut?Tt-=st-_t:Tt=mt.x-Ht.x-fe;var Jt=En(Tt,Dt),bt=En(Tt,Dt,qe);Jt>rt||Jt===rt&&(!Se||bt>=ft)?(ie.current.rl=!0,Nt=Tt,fe=-fe,Vt.points=[De(Pt,1),De(Rt,1)]):ie.current.rl=!1}if(kt&&Pt[1]==="r"&&(Oe<Ue.left||ie.current.lr)){var pn=Nt;Ut?pn+=st-_t:pn=It.x-Yt.x-fe;var on=En(pn,Dt),_n=En(pn,Dt,qe);on>rt||on===rt&&(!Se||_n>=ft)?(ie.current.lr=!0,Nt=pn,fe=-fe,Vt.points=[De(Pt,1),De(Rt,1)]):ie.current.lr=!1}xn();var Xt=te===!0?0:te;typeof Xt=="number"&&(Oe<qe.left&&(Nt-=Oe-qe.left-fe,Ft.x+_t<qe.left+Xt&&(Nt+=Ft.x-qe.left+_t-Xt)),xe>qe.right&&(Nt-=xe-qe.right-fe,Ft.x>qe.right-Xt&&(Nt+=Ft.x-qe.right+Xt)));var rn=se===!0?0:se;typeof rn=="number"&&(be<qe.top&&(Dt-=be-qe.top-pe,Ft.y+et<qe.top+rn&&(Dt+=Ft.y-qe.top+et-rn)),Be>qe.bottom&&(Dt-=Be-qe.bottom-pe,Ft.y>qe.bottom-rn&&(Dt+=Ft.y-qe.bottom+rn)));var yn=Et.x+Nt,ln=yn+st,dn=Et.y+Dt,jt=dn+Dn,wt=Ft.x,Zt=wt+_t,Qt=Ft.y,hn=Qt+et,un=Math.max(yn,wt),fn=Math.min(ln,Zt),Un=(un+fn)/2,Xn=Un-yn,$n=Math.max(dn,Qt),or=Math.min(jt,hn),ar=($n+or)/2,qn=ar-dn;m==null||m(X,Vt);var wn=at.right-Et.x-(Nt+Et.width),An=at.bottom-Et.y-(Dt+Et.height);$e===1&&(Nt=Math.round(Nt),wn=Math.round(wn)),nt===1&&(Dt=Math.round(Dt),An=Math.round(An));var Gn={ready:!0,offsetX:Nt/$e,offsetY:Dt/nt,offsetR:wn/$e,offsetB:An/nt,arrowX:Xn/$e,arrowY:qn/nt,scaleX:$e,scaleY:nt,align:Vt};U(Gn)}}),je=function(){z.current+=1;var ue=z.current;Promise.resolve().then(function(){z.current===ue&&Me()})},Ke=function(){U(function(ue){return(0,P.Z)((0,P.Z)({},ue),{},{ready:!1})})};return(0,t.Z)(Ke,[L]),(0,t.Z)(function(){W||Ke()},[W]),[M.ready,M.offsetX,M.offsetY,M.offsetR,M.offsetB,M.arrowX,M.arrowY,M.scaleX,M.scaleY,M.align,je]}var vt=l(94480);function me(W,X,c,L,J){(0,t.Z)(function(){if(W&&X&&c){let z=function(){L(),J()};var x=X,m=c,F=b(x),q=b(m),M=S(m),U=new Set([M].concat((0,vt.Z)(F),(0,vt.Z)(q)));return U.forEach(function(ce){ce.addEventListener("scroll",z,{passive:!0})}),M.addEventListener("resize",z,{passive:!0}),L(),function(){U.forEach(function(ce){ce.removeEventListener("scroll",z),M.removeEventListener("resize",z)})}}},[W,X,c])}var Xe=l(48736);function Ne(W,X,c,L,J,x,m,F){var q=i.useRef(W);q.current=W;var M=i.useRef(!1);i.useEffect(function(){if(X&&L&&(!J||x)){var z=function(){M.current=!1},ce=function(Le){var Pe;q.current&&!m(((Pe=Le.composedPath)===null||Pe===void 0||(Pe=Pe.call(Le))===null||Pe===void 0?void 0:Pe[0])||Le.target)&&!M.current&&F(!1)},ie=S(L);ie.addEventListener("pointerdown",z,!0),ie.addEventListener("mousedown",ce,!0),ie.addEventListener("contextmenu",ce,!0);var we=(0,e.A)(c);if(we&&(we.addEventListener("mousedown",ce,!0),we.addEventListener("contextmenu",ce,!0)),0)var Me,je,Ke,ke;return function(){ie.removeEventListener("pointerdown",z,!0),ie.removeEventListener("mousedown",ce,!0),ie.removeEventListener("contextmenu",ce,!0),we&&(we.removeEventListener("mousedown",ce,!0),we.removeEventListener("contextmenu",ce,!0))}}},[X,c,L,J,x]);function U(){M.current=!0}return U}var Qe=["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 Te(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:G.Z,X=i.forwardRef(function(c,L){var J=c.prefixCls,x=J===void 0?"rc-trigger-popup":J,m=c.children,F=c.action,q=F===void 0?"hover":F,M=c.showAction,U=c.hideAction,z=c.popupVisible,ce=c.defaultPopupVisible,ie=c.onPopupVisibleChange,we=c.afterPopupVisibleChange,Me=c.mouseEnterDelay,je=c.mouseLeaveDelay,Ke=je===void 0?.1:je,ke=c.focusDelay,ue=c.blurDelay,Le=c.mask,Pe=c.maskClosable,Re=Pe===void 0?!0:Pe,dt=c.getPopupContainer,xt=c.forceRender,Ie=c.autoDestroy,Lt=c.destroyPopupOnHide,en=c.popup,ht=c.popupClassName,ot=c.popupStyle,Kt=c.popupPlacement,nn=c.builtinPlacements,At=nn===void 0?{}:nn,gt=c.popupAlign,Ft=c.zIndex,vn=c.stretch,Mt=c.getPopupClassNameFromAlign,ut=c.fresh,Et=c.alignPoint,Zn=c.onPopupClick,mn=c.onPopupAlign,Ln=c.arrow,jn=c.popupMotion,bn=c.maskMotion,Cn=c.popupTransitionName,Kn=c.popupAnimation,Rn=c.maskTransitionName,On=c.maskAnimation,gn=c.className,Dn=c.getTriggerDOMNode,st=(0,K.Z)(c,Qe),et=Ie||Lt||!1,_t=i.useState(!1),an=(0,D.Z)(_t,2),Sn=an[0],ee=an[1];(0,t.Z)(function(){ee((0,r.Z)())},[]);var Q=i.useRef({}),We=i.useContext($),Se=i.useMemo(function(){return{registerSubPopup:function($t,Wt){Q.current[$t]=Wt,We==null||We.registerSubPopup($t,Wt)}}},[We]),He=(0,f.Z)(),qe=i.useState(null),Ve=(0,D.Z)(qe,2),Ue=Ve[0],at=Ve[1],$e=i.useRef(null),nt=(0,s.Z)(function(Ct){$e.current=Ct,(0,H.Sh)(Ct)&&Ue!==Ct&&at(Ct),We==null||We.registerSubPopup(He,Ct)}),ct=i.useState(null),tt=(0,D.Z)(ct,2),ze=tt[0],Y=tt[1],fe=i.useRef(null),pe=(0,s.Z)(function(Ct){(0,H.Sh)(Ct)&&ze!==Ct&&(Y(Ct),fe.current=Ct)}),ge=i.Children.only(m),Fe=(ge==null?void 0:ge.props)||{},Ge={},Je=(0,s.Z)(function(Ct){var $t,Wt,In=ze;return(In==null?void 0:In.contains(Ct))||(($t=(0,e.A)(In))===null||$t===void 0?void 0:$t.host)===Ct||Ct===In||(Ue==null?void 0:Ue.contains(Ct))||((Wt=(0,e.A)(Ue))===null||Wt===void 0?void 0:Wt.host)===Ct||Ct===Ue||Object.values(Q.current).some(function(zn){return(zn==null?void 0:zn.contains(Ct))||Ct===zn})}),lt=N(x,jn,Kn,Cn),yt=N(x,bn,On,Rn),St=i.useState(ce||!1),cn=(0,D.Z)(St,2),Rt=cn[0],Pt=cn[1],zt=z!=null?z:Rt,Gt=(0,s.Z)(function(Ct){z===void 0&&Pt(Ct)});(0,t.Z)(function(){Pt(z||!1)},[z]);var Vt=i.useRef(zt);Vt.current=zt;var Nt=i.useRef([]);Nt.current=[];var Dt=(0,s.Z)(function(Ct){var $t;Gt(Ct),(($t=Nt.current[Nt.current.length-1])!==null&&$t!==void 0?$t:zt)!==Ct&&(Nt.current.push(Ct),ie==null||ie(Ct))}),rt=i.useRef(),ft=function(){clearTimeout(rt.current)},mt=function($t){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;ft(),Wt===0?Dt($t):rt.current=setTimeout(function(){Dt($t)},Wt*1e3)};i.useEffect(function(){return ft},[]);var Yt=i.useState(!1),It=(0,D.Z)(Yt,2),Ht=It[0],Tn=It[1];(0,t.Z)(function(Ct){(!Ct||zt)&&Tn(!0)},[zt]);var A=i.useState(null),oe=(0,D.Z)(A,2),te=oe[0],se=oe[1],_e=i.useState(null),be=(0,D.Z)(_e,2),Be=be[0],Oe=be[1],xe=function($t){Oe([$t.clientX,$t.clientY])},ne=Ae(zt,Ue,Et&&Be!==null?Be:ze,Kt,At,gt,mn),le=(0,D.Z)(ne,11),he=le[0],ye=le[1],Ce=le[2],Ye=le[3],pt=le[4],it=le[5],kt=le[6],Ut=le[7],Tt=le[8],Jt=le[9],bt=le[10],pn=Ee(Sn,q,M,U),on=(0,D.Z)(pn,2),_n=on[0],Xt=on[1],rn=_n.has("click"),yn=Xt.has("click")||Xt.has("contextMenu"),ln=(0,s.Z)(function(){Ht||bt()}),dn=function(){Vt.current&&Et&&yn&&mt(!1)};me(zt,ze,Ue,ln,dn),(0,t.Z)(function(){ln()},[Be,Kt]),(0,t.Z)(function(){zt&&!(At!=null&&At[Kt])&&ln()},[JSON.stringify(gt)]);var jt=i.useMemo(function(){var Ct=E(At,x,Jt,Et);return p()(Ct,Mt==null?void 0:Mt(Jt))},[Jt,Mt,At,x,Et]);i.useImperativeHandle(L,function(){return{nativeElement:fe.current,popupElement:$e.current,forceAlign:ln}});var wt=i.useState(0),Zt=(0,D.Z)(wt,2),Qt=Zt[0],hn=Zt[1],un=i.useState(0),fn=(0,D.Z)(un,2),Un=fn[0],Xn=fn[1],$n=function(){if(vn&&ze){var $t=ze.getBoundingClientRect();hn($t.width),Xn($t.height)}},or=function(){$n(),ln()},ar=function($t){Tn(!1),bt(),we==null||we($t)},qn=function(){return new Promise(function($t){$n(),se(function(){return $t})})};(0,t.Z)(function(){te&&(bt(),te(),se(null))},[te]);function wn(Ct,$t,Wt,In){Ge[Ct]=function(zn){var Hn;In==null||In(zn),mt($t,Wt);for(var cr=arguments.length,dr=new Array(cr>1?cr-1:0),lr=1;lr<cr;lr++)dr[lr-1]=arguments[lr];(Hn=Fe[Ct])===null||Hn===void 0||Hn.call.apply(Hn,[Fe,zn].concat(dr))}}(rn||yn)&&(Ge.onClick=function(Ct){var $t;Vt.current&&yn?mt(!1):!Vt.current&&rn&&(xe(Ct),mt(!0));for(var Wt=arguments.length,In=new Array(Wt>1?Wt-1:0),zn=1;zn<Wt;zn++)In[zn-1]=arguments[zn];($t=Fe.onClick)===null||$t===void 0||$t.call.apply($t,[Fe,Ct].concat(In))});var An=Ne(zt,yn,ze,Ue,Le,Re,Je,mt),Gn=_n.has("hover"),En=Xt.has("hover"),xn,Nn;Gn&&(wn("onMouseEnter",!0,Me,function(Ct){xe(Ct)}),wn("onPointerEnter",!0,Me,function(Ct){xe(Ct)}),xn=function($t){(zt||Ht)&&Ue!==null&&Ue!==void 0&&Ue.contains($t.target)&&mt(!0,Me)},Et&&(Ge.onMouseMove=function(Ct){var $t;($t=Fe.onMouseMove)===null||$t===void 0||$t.call(Fe,Ct)})),En&&(wn("onMouseLeave",!1,Ke),wn("onPointerLeave",!1,Ke),Nn=function(){mt(!1,Ke)}),_n.has("focus")&&wn("onFocus",!0,ke),Xt.has("focus")&&wn("onBlur",!1,ue),_n.has("contextMenu")&&(Ge.onContextMenu=function(Ct){var $t;Vt.current&&Xt.has("contextMenu")?mt(!1):(xe(Ct),mt(!0)),Ct.preventDefault();for(var Wt=arguments.length,In=new Array(Wt>1?Wt-1:0),zn=1;zn<Wt;zn++)In[zn-1]=arguments[zn];($t=Fe.onContextMenu)===null||$t===void 0||$t.call.apply($t,[Fe,Ct].concat(In))}),gn&&(Ge.className=p()(Fe.className,gn));var Ot=i.useRef(!1);Ot.current||(Ot.current=xt||zt||Ht);var qt=(0,P.Z)((0,P.Z)({},Fe),Ge),tn={},sn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];sn.forEach(function(Ct){st[Ct]&&(tn[Ct]=function(){for(var $t,Wt=arguments.length,In=new Array(Wt),zn=0;zn<Wt;zn++)In[zn]=arguments[zn];($t=qt[Ct])===null||$t===void 0||$t.call.apply($t,[qt].concat(In)),st[Ct].apply(st,In)})});var kn=i.cloneElement(ge,(0,P.Z)((0,P.Z)({},qt),tn)),Fn={x:it,y:kt},ir=Ln?(0,P.Z)({},Ln!==!0?Ln:{}):null;return i.createElement(i.Fragment,null,i.createElement(V.Z,{disabled:!zt,ref:pe,onResize:or},i.createElement(Z,{getTriggerDOMNode:Dn},kn)),Ot.current&&i.createElement($.Provider,{value:Se},i.createElement(O,{portal:W,ref:nt,prefixCls:x,popup:en,className:p()(ht,jt),style:ot,target:ze,onMouseEnter:xn,onMouseLeave:Nn,onPointerEnter:xn,zIndex:Ft,open:zt,keepDom:Ht,fresh:ut,onClick:Zn,onPointerDownCapture:An,mask:Le,motion:lt,maskMotion:yt,onVisibleChanged:ar,onPrepare:qn,forceRender:xt,autoDestroy:et,getPopupContainer:dt,align:Jt,arrow:ir,arrowPos:Fn,ready:he,offsetX:ye,offsetY:Ce,offsetR:Ye,offsetB:pt,onAlign:ln,stretch:vn,targetWidth:Qt/Ut,targetHeight:Un/Tt})))});return X}var ae=Te(G.Z)},59243:function(Bt,Ze,l){"use strict";var P=l(59301),D=l(93314),K=l(7939),G=Object.defineProperty,j=Object.defineProperties,p=Object.getOwnPropertyDescriptors,V=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(i,o,g)=>o in i?G(i,o,{enumerable:!0,configurable:!0,writable:!0,value:g}):i[o]=g,f=(i,o)=>{for(var g in o||(o={}))H.call(o,g)&&s(i,g,o[g]);if(V)for(var g of V(o))e.call(o,g)&&s(i,g,o[g]);return i},t=(i,o)=>j(i,p(o));const r=({img:i,buttonProps:o={},styles:g={},customText:w,ButtonText:R,ButtonClick:_,Buttonclass:y,ButtonTwo:d,imgStyles:u,loading:O=!1,className:k=""})=>P.createElement("section",{className:`tc animated fadeIn ${k}`,style:f({color:"#999",margin:"100px auto",visibility:O?"hidden":"visible"},g)},P.createElement("img",{src:i||D,style:t(f({},u),{pointerEvents:"none",userSelect:"none"})}),P.createElement("p",{className:"mt20 font14"},w||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),R&&P.createElement(K.ZP,f({className:y,onClick:_},o),R),d&&d);Ze.Z=r},47199:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return y}});var P=l(59301),D={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},K=l(7939),G=l(70557),j=l(58478),p=l(25399),V=l(31735),H=l(22167),e=l(59243),s=l(26869),f=l(38609),t=l(59301),r=Object.defineProperty,i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,w=(d,u,O)=>u in d?r(d,u,{enumerable:!0,configurable:!0,writable:!0,value:O}):d[u]=O,R=(d,u)=>{for(var O in u||(u={}))o.call(u,O)&&w(d,O,u[O]);if(i)for(var O of i(u))g.call(u,O)&&w(d,O,u[O]);return d},_=(d,u,O)=>new Promise((k,Z)=>{var I=Ee=>{try{B(O.next(Ee))}catch(C){Z(C)}},$=Ee=>{try{B(O.throw(Ee))}catch(C){Z(C)}},B=Ee=>Ee.done?k(Ee.value):Promise.resolve(Ee.value).then(I,$);B((O=O.apply(d,u)).next())}),y=({editOffice:d="view",data:u,issaver:O,onSaver:k,theme:Z,type:I,filename:$,monacoEditor:B,className:Ee,style:C,close:v,onClose:E,hasMask:N,disabledDownload:S,onImgDimensions:b,showNodata:n,recordInfo:a})=>{const[h,T]=(0,P.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[re,de]=(0,P.useState)(""),[ve,De]=(0,P.useState)(),Ae=window.ENV==="build"?"/react/build":"",vt=location.host.startsWith("localhost")?s.Z.PROXY_SERVER:s.Z.API_SERVER,Xe=10*(1024*1024),Ne=(0,P.useRef)();u!=null&&u.startsWith("/api")&&I!=="txt"&&(u=s.Z.API_SERVER+u);const Qe=c=>c.substring(c.lastIndexOf("/")+1).split(".").pop();$&&B&&(B.filename=$),(0,P.useEffect)(()=>{var c,L;const J=(L=(c=document.cookie)==null?void 0:c.replace(/\s/g,""))==null?void 0:L.split(";");J==null||J.map(x=>{let m=x.split("=");m[0]==="_educoder_session"&&de(m[1])})},[]),(0,P.useEffect)(()=>{I==="office"&&(u.indexOf("bigfilescdn.")>-1||u.indexOf("bigfiles1")>-1?De({url:u,fileType:Qe(u),model:u.indexOf("model=edit")?"edit":"view"}):ae())},[I,u]);function Te(c){return _(this,null,function*(){c.data.type==="pdfdata"&&(k(c.data.data),window.removeEventListener("message",Te,!1)),console.log("mess---:",c.data)})}const ae=()=>_(void 0,null,function*(){console.log("data:",u);let c=u;u.startsWith("http")||(c=location.origin+c);let L=new URL(c).pathname.split("/").pop();const J=yield(0,H.gJ)({attachment_id:L});J.url=vt+J.url,De(J)}),W=()=>{if(u.startsWith("http")||u.startsWith("blob:")){X();return}(0,V.Sv)($||"educoder",u,$)},X=()=>{a&&(0,f.fc)({id:a==null?void 0:a.id,watch_type:1,course_id:a==null?void 0:a.course_id}),(0,V.Nd)($||"educoder",decodeURIComponent(u))};return t.createElement("div",{style:R({},C||{}),className:`${N&&D.bgBlack} ${I?D.wrp:"hide"}`},v&&t.createElement("div",{className:D.close,ref:Ne},!!b&&t.createElement(p.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Ne.current},t.createElement("span",{onClick:()=>{E(),b()}},t.createElement("i",{className:"icon-yulanpizhu"}))),!S&&t.createElement(p.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Ne.current},t.createElement("span",{onClick:X},t.createElement("i",{className:"icon-quxiaozhiding"}))),O&&t.createElement(p.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Ne.current},t.createElement("span",{className:"",onClick:()=>{const c=document.getElementById("pdfiframe");window.addEventListener("message",Te,!1),setTimeout(()=>{c.contentWindow.postMessage("getData","*")},300)}},t.createElement("i",{className:"icon-baocun"}))),t.createElement(p.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Ne.current},t.createElement("span",{className:"",onClick:()=>{E()}},t.createElement("i",{className:"icon-guanbi1"})))),t.createElement("div",{className:`${D[Ee]} ${Ee} ${D.monaco} ${I==="txt"?"show":"hide"}`},I==="txt"&&t.createElement(t.Fragment,null,t.createElement(j.ZP,R({},B)))),I==="audio"&&t.createElement("audio",{src:`${(u==null?void 0:u.indexOf("http://"))>-1||(u==null?void 0:u.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${u}`,autoPlay:!0}),I==="video"&&t.createElement(t.Fragment,null,(u==null?void 0:u.indexOf("http"))>-1?t.createElement("video",{controls:!0,src:`${u}`,autoPlay:!0}):t.createElement("video",{controls:!0,src:`data:video/mp4;base64,${u}`,autoPlay:!0})),I==="office"&&ve&&t.createElement("iframe",{src:`${Ae}/office.html?key=${ve.key}&url=${btoa(ve.url)}&callbackUrl=${vt+(ve.callbackUrl||"")}&fileType=${ve.fileType}&title=${ve.title||""}&model=${d}&officeServer=${s.Z.ONLYOFFICE}&disabledDownload=${!!S}`}),I==="html"&&t.createElement("iframe",{src:u+"&disposition=inline"}),I==="pdf"&&O&&t.createElement("iframe",{id:"pdfiframe",src:`${Ae}/js/pdfview/index.html?filename=${$||"educoder.pdf"}&url=${encodeURIComponent(u)}&disabledDownload=${!!S}&model=${d}`}),I==="pdf"&&!O&&t.createElement("embed",{className:D.embed,src:u+"#toolbar=0&statusbar=0&navpanes=0&scrollbars=0"}),I==="image"&&t.createElement("img",{src:`${(u==null?void 0:u.indexOf("http://"))>-1||(u==null?void 0:u.indexOf("https://"))>-1?"":"data:image/png;base64,"}${u}`}),(I==="other"||I==="download")&&t.createElement(t.Fragment,null,n?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(K.ZP,{icon:t.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:W,disabled:S},"\u4E0B\u8F7D")}):t.createElement(K.ZP,{type:"primary",size:"middle",onClick:W,disabled:S},t.createElement(G.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),I==="flowChart"&&t.createElement("div",{className:"embed"},t.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${u||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},58478:function(Bt,Ze,l){"use strict";l.d(Ze,{SV:function(){return Xe},ZP:function(){return me}});var P=l(59301),D=l(76374);const K={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"]},G={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"]},j={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"if",content:["if () {"," $0","}"].join(`
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std",content:["using namespace std"].join(`
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},p={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},V={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 H=l(53184),e=l.n(H),s=(Ne,Qe,Te)=>new Promise((ae,W)=>{var X=J=>{try{L(Te.next(J))}catch(x){W(x)}},c=J=>{try{L(Te.throw(J))}catch(x){W(x)}},L=J=>J.done?ae(J.value):Promise.resolve(J.value).then(X,c);L((Te=Te.apply(Ne,Qe)).next())});const f={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"]}},t=(Ne,Qe,Te,ae)=>{const W=Qe.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Te.lineNumber,endColumn:Te.column});return Array.from(new Set(W.match(/\b\w{2,}\b/g)||[])).map(c=>({label:c,kind:Ne.languages.CompletionItemKind.Text,insertText:c,range:ae}))},r=(Ne,Qe,Te,ae)=>{Ne.languages.registerCompletionItemProvider(Qe,{provideCompletionItems(W,X){const c=W.getWordUntilPosition(X),L={startLineNumber:X.lineNumber,endLineNumber:X.lineNumber,startColumn:c.startColumn,endColumn:c.endColumn},J=W.getLineContent(X.lineNumber).substring(c.startColumn-2,c.endColumn);return{suggestions:[...t(Ne,W,X,L),...Te.map(m=>({label:m,kind:Ne.languages.CompletionItemKind.Keyword,documentation:m,insertText:m,insertTextRules:Ne.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:L})),...ae.map(m=>({label:m.label,kind:Ne.languages.CompletionItemKind.Snippet,documentation:m.content,insertText:J.startsWith("#")?m.content.replace(/#/,""):m.content,insertTextRules:Ne.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:L}))]}}})};var i=Ne=>{f.languages.forEach(Qe=>{Ne.languages.registerDocumentFormattingEditProvider(Qe,{provideDocumentFormattingEdits(Te){return s(this,null,function*(){const ae=e()(Te.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:Te.getFullModelRange(),text:ae}]})}})}),r(Ne,"java",G.keywords,G.quickKey),r(Ne,"cpp",j.keywords,j.quickKey),r(Ne,"c",K.keywords,[]),r(Ne,"python",p.keywords,p.quickKey),r(Ne,"scala",V.keywords,V.quickKey)};const o="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var g=Object.defineProperty,w=(Ne,Qe,Te)=>Qe in Ne?g(Ne,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ne[Qe]=Te,R=(Ne,Qe,Te)=>w(Ne,typeof Qe!="symbol"?Qe+"":Qe,Te);const _=class ya{constructor(Qe,Te,ae){this.placeholder=Qe,this.editor=Te,this.monaco=ae,Te.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return ya.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)}};R(_,"ID","editor.widget.placeholderHint");var d=_,u=l(96236),O=l(6767),k=l(25399),Z=l(89392),I=l(94276),$=l(56102),B=Object.defineProperty,Ee=Object.defineProperties,C=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,S=(Ne,Qe,Te)=>Qe in Ne?B(Ne,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Ne[Qe]=Te,b=(Ne,Qe)=>{for(var Te in Qe||(Qe={}))E.call(Qe,Te)&&S(Ne,Te,Qe[Te]);if(v)for(var Te of v(Qe))N.call(Qe,Te)&&S(Ne,Te,Qe[Te]);return Ne},n=(Ne,Qe)=>Ee(Ne,C(Qe)),a=(Ne,Qe)=>{var Te={};for(var ae in Ne)E.call(Ne,ae)&&Qe.indexOf(ae)<0&&(Te[ae]=Ne[ae]);if(Ne!=null&&v)for(var ae of v(Ne))Qe.indexOf(ae)<0&&N.call(Ne,ae)&&(Te[ae]=Ne[ae]);return Te},h=(Ne,Qe,Te)=>new Promise((ae,W)=>{var X=J=>{try{L(Te.next(J))}catch(x){W(x)}},c=J=>{try{L(Te.throw(J))}catch(x){W(x)}},L=J=>J.done?ae(J.value):Promise.resolve(J.value).then(X,c);L((Te=Te.apply(Ne,Qe)).next())});function T(Ne){return/^\d+$/.test(Ne)?`${Ne}px`:Ne}function re(){}let de=!1;const ve={"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 De(Ne=[]){let Qe=Ne;if(Array.isArray(Ne)){for(let Te=0;Te<Ne.length;Te++){let ae=ve[Ne[Te]];if(ae)return ae}return Qe[0]}return ve[Qe]||Qe}let Ae=null;const vt=()=>h(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Ne){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Ne)}});var me=Ne=>{var Qe=Ne,{width:Te="100%",height:ae="100%",value:W,language:X="javascript",style:c={},options:L={},overrideServices:J={},theme:x="vs-dark",onEditBlur:m,isCopy:F=!1,onSave:q,autoHeight:M=!1,forbidCopy:U=!1,onChange:z=re,editorDidMount:ce=re,onFocus:ie=re,onBreakPoint:we=re,breakPointValue:Me=[],filename:je="educoder.txt",errorLine:Ke,errorContent:ke="",highlightLine:ue,openBreakPoint:Le=!1,placeholder:Pe="",showMiniMap:Re=!0}=Qe,dt=a(Qe,["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 xt=(0,P.useRef)(),Ie=(0,P.useRef)({}),Lt=(0,P.useRef)(),en=(0,P.useRef)(),ht=(0,P.useRef)([]),ot=(0,P.useRef)(!1),Kt=(0,P.useRef)(),nn=(0,P.useRef)(),At=(0,P.useRef)(!1),[gt,Ft]=(0,P.useState)(!1);function vn(){let st;return xt.current&&(st=new D.Z(et=>{for(let _t of et)(_t.target.offsetHeight>0||_t.target.offsetWidth>0)&&Ie.current.instance.layout()}),st.observe(xt.current)),st}function Mt(){O.ZP.warning({content:decodeURIComponent(o),key:"monaco-editor-tip"})}const ut=()=>{let st=Ie.current.instance;if(W!=null&&st&&gt){const et=st.getModel();et&&W!==et.getValue()&&(de=!0,et.setValue(W),st.layout(),de=!1)}};(0,P.useEffect)(()=>{const st=I.Z.subscribe("formatDocument",et=>{var _t;let an=Ie.current.instance;(_t=an==null?void 0:an.getAction)==null||_t.call(an,"editor.action.formatDocument").run()});return window.updateMonacoValue=et=>{z(et)},st},[]),(0,P.useEffect)(()=>{var st;let et=Ie.current.instance;en.current&&clearTimeout(en.current),en.current=setTimeout(()=>{ut()},500),W&&(W!=null&&W.length)&&((st=et==null?void 0:et.updateOptions)==null||st.call(et,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(W.split(/\r\n|\r|\n/g).length))+3,5)}))},[W,gt,Ie.current]),(0,P.useEffect)(()=>{if(Ke&&Ie.current&&Ie.current.instance){let et=Ie.current.instance;et.changeViewZones(function(_t){var an=document.createElement("div");an.style.padding="10px 20px",an.style.width="calc(100% - 20px)",an.className="my-error-line-wrp",an.innerHTML=ke,_t.addZone({afterLineNumber:Ke||11,heightInLines:3,domNode:an})});var st={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}};et.addOverlayWidget(st),et.revealPositionInCenter({lineNumber:20,column:1})}},[Ke,Ie.current,gt]);const Et=(st="",et)=>{if(!st||st.trim()==="")return!0;const an=Ie.current.instance.getModel().getLineTokens(et);let Sn=!1;for(let ee=0;ee<2;ee++)an.getStandardTokenType(ee)===1&&(Sn=!0);return Sn};(0,P.useEffect)(()=>{var st;const et=(st=Ie.current)==null?void 0:st.instance;if(et&&gt&&U){const _t=et.onDidBlurEditorWidget(()=>{At.current=!1}),an=et.onDidFocusEditorText(()=>{At.current=!0});return()=>{_t.dispose(),an.dispose()}}},[Ie.current,gt,U]),(0,P.useEffect)(()=>{var st;if((st=Ie.current)!=null&&st.instance&&gt&&Le){let et=Ie.current.instance,_t=et.getModel();if(!_t)return;(()=>{var $e;let nt=[],ct=[];const tt=_t.getAllDecorations();for(let Y of tt)Y.options.className==="highlighted-line"&&(nt.push(($e=Y==null?void 0:Y.range)==null?void 0:$e.startLineNumber),ct.push(Y==null?void 0:Y.id));if(ue===nt[0])return;_t.deltaDecorations(ct,[]);const ze=_t.getLineCount();ue&&ue<=ze&&(et.deltaDecorations([],[{range:new Ae.Range(ue,1,ue,_t.getLineMaxColumn(ue)),options:{isWholeLine:!0,className:"highlighted-line"}}]),et.revealLineInCenter(ue))})();const Sn=($e=!1)=>{var nt;let ct=[],tt=[];const ze=_t.getAllDecorations();for(let Y of ze)Y.options.linesDecorationsClassName==="breakpoints-select"&&(ct.push((nt=Y==null?void 0:Y.range)==null?void 0:nt.startLineNumber),tt.push(Y==null?void 0:Y.id));if($e)return{lines:ct,ids:tt};we(ct)},ee=$e=>h(void 0,null,function*(){let nt={range:new Ae.Range($e,1,$e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield _t.deltaDecorations([],[nt]),Sn()}),Q=$e=>h(void 0,null,function*(){let nt=[];const ct=et.getLineDecorations($e);for(let tt of ct)tt.options.linesDecorationsClassName==="breakpoints-select"&&nt.push(tt.id);yield _t.deltaDecorations(nt,[]),Sn()}),We=$e=>{let nt=et.getLineDecorations($e);for(let ct of nt)if(ct.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Z.isEqual)(Me,Sn(!0).lines)){_t.deltaDecorations(Sn(!0).ids,[]);const $e=Me.map(nt=>({range:new Ae.Range(nt,1,nt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));_t.deltaDecorations([],$e)}const Se=et.onDidChangeModelContent($e=>{let nt=et.getPosition();if(nt){let ct=nt.lineNumber;clearTimeout(nn.current),nn.current=setTimeout(()=>{Et(_t.getLineContent(ct),ct)?Q(ct):We(ct)?(Q(ct),ee(ct)):Sn()},100)}}),He=et.onMouseDown($e=>{var nt,ct,tt;if($e.target.detail&&((tt=(ct=(nt=$e.target)==null?void 0:nt.element)==null?void 0:ct.className)!=null&&tt.includes("line-numbers"))){let ze=$e.target.position.lineNumber;if(Et(_t.getLineContent(ze),ze))return;We(ze)?Q(ze):ee(ze)}}),qe=$e=>{let nt={range:new Ae.Range($e,1,$e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};ht.current=et.deltaDecorations(ht.current,[nt])},Ve=()=>{ht.current=et.deltaDecorations(ht.current,[])},Ue=et.onMouseMove($e=>{var nt,ct,tt;if(Ve(),$e.target.detail&&((tt=(ct=(nt=$e.target)==null?void 0:nt.element)==null?void 0:ct.className)!=null&&tt.includes("line-numbers"))){let ze=$e.target.position.lineNumber;if(Et(_t.getLineContent(ze),ze))return;qe(ze)}}),at=et.onMouseLeave(()=>{Ve()});return()=>{Se.dispose(),He.dispose(),Ue.dispose(),at.dispose()}}},[Ie.current,gt,Me,ue,Le,X]),(0,P.useEffect)(()=>{var st;(st=Ie.current)!=null&&st.instance&&Le&&Ie.current.instance.setPosition({lineNumber:0,column:0})},[ue]);function Zn(){let st=Ie.current.instance;if(st){const et=st.getSelection(),_t=Ie.current.pastePos||{},an=new Ae.Range(_t.startLineNumber||et.endLineNumber,_t.startColumn||et.endColumn,_t.endLineNumber||et.endLineNumber,_t.endColumn||et.endColumn);setTimeout(()=>{st.executeEdits("",[{range:an,text:""}])},300)}}function mn(st){(window.navigator.platform.match("Mac")?st.metaKey:st.ctrlKey)&&st.keyCode==83&&(st.preventDefault(),q())}const Ln=()=>{if(M&&Ie.current.instance){const st=Ie.current.instance.getContentHeight();gn(st<ae?ae:st)}else gn(ae)};function jn(st){var et=document.createEvent("MouseEvents");et.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),st.dispatchEvent(et)}const bn=st=>{if(!At.current)return;const{keyCode:et,ctrlKey:_t,metaKey:an,target:Sn,type:ee}=st;return(ee==="paste"||(et===67||et===86)&&(an||_t))&&Sn.nodeName==="TEXTAREA"&&(Mt(),st.preventDefault()),!1};function Cn(st,et){var _t=window.URL||window.webkitURL||window,an=new Blob([et]),Sn=document.createElementNS("http://www.w3.org/1999/xhtml","a");Sn.href=_t.createObjectURL(an),Sn.download=st,jn(Sn)}(0,P.useEffect)(()=>{Ln()},[Ln]),(0,P.useEffect)(()=>{xt.current&&!gt&&Promise.all([l.e(8909),l.e(4474)]).then(l.bind(l,71448)).then(st=>{try{Ae=st,Ie.current.instance=Ae.editor.create(xt.current,{value:W,language:De(X),theme:x,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Re||!1}},J);const et=Ie.current.instance;let Sn=[...u.BH._menuItems].find(Se=>Se[0]._debugName=="EditorContext")[1],ee=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Q=(Se,He)=>{var qe,Ve;let Ue=Se._first;do He.includes((Ve=(qe=Ue.element)==null?void 0:qe.command)==null?void 0:Ve.id)&&Se._remove(Ue);while(Ue=Ue.next)};if(ce(et,Ae),setTimeout(()=>{Ln(),Ie.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Cn(je||"educoder.txt",et.getValue())}})},500),Ie.current.subscription=et.onDidChangeModelContent(Se=>{ot.current?clearTimeout(Kt.current):(Ln(),z(et.getValue(),Se)),Kt.current=setTimeout(()=>{ot.current=!1},500)}),window.Monaco||i(Ae,De(X)),U&&(Q(Sn,ee),xt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",bn),window.removeEventListener("paste",bn),window.addEventListener("keydown",bn),window.addEventListener("paste",bn)),window.Monaco=Ae,m&&et.onDidBlurEditorWidget(()=>{m(et.getValue())}),ie&&et.onDidFocusEditorText(()=>{U&&vt(),ie(et.getValue())}),U){vt();try{et.onDidPaste(Se=>{const He=et.getSelection(),qe=Ie.current.pastePos||{},Ve=new Ae.Range(qe.startLineNumber||He.endLineNumber,qe.startColumn||He.endColumn,qe.endLineNumber||He.endLineNumber,qe.endColumn||He.endColumn);et.executeEdits("",[{range:Se.range,text:""}])})}catch(Se){}}let We=vn();return Pe&&typeof Pe=="string"&&new d(Pe,et,Ae),Ft(!0),()=>{const Se=Ie.current.instance;Se.dispose();const He=Se.getModel();He&&He.dispose(),Ie.current.subscription&&Ie.current.subscription.dispose(),We.unobserve(xt.current)}}catch(et){}})},[]),(0,P.useEffect)(()=>{if(Ie.current.instance&&gt)return document.addEventListener("keydown",mn,!1),()=>{document.removeEventListener("keydown",mn)}},[q,gt]),(0,P.useEffect)(()=>{let st=Ie.current.instance;if(st&&gt){let et=De(X);Ae.editor.setModelLanguage(st.getModel(),et)}},[X,gt]),(0,P.useEffect)(()=>{Ie.current.instance&&gt&&Ae.editor.setTheme(x)},[x,gt]),(0,P.useEffect)(()=>{let st=Ie.current.instance;Lt.current=L,st&&gt&&(st.updateOptions(b({},L)),setTimeout(()=>{st.getModel().updateOptions(b({},L))},200))},[JSON.stringify(L),gt]),(0,P.useEffect)(()=>{let st=Ie.current.instance;st&&gt&&st.layout()},[Te,ae,gt]);const[Kn,Rn]=(0,P.useState)(T(Te)),[On,gn]=(0,P.useState)(T(ae)),Dn=n(b({},c),{width:Kn,height:On,position:"relative"});return P.createElement("div",{className:"my-monaco-editor",ref:xt,style:Dn,onFocus:()=>{U&&vt()}},F&&P.createElement($.CopyToClipboard,{text:W,onCopy:()=>O.ZP.success("\u590D\u5236\u6210\u529F")},P.createElement(k.Z,{title:"\u590D\u5236\u4EE3\u7801"},P.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},P.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Xe({width:Ne="100%",height:Qe="100%",original:Te,modified:ae,language:W,options:X={}}){const c=(0,P.useRef)(),[L,J]=(0,P.useState)(null);function x(M){let U;return c.current&&(U=new D.Z(z=>{for(let ce of z)(ce.target.offsetHeight>0||ce.target.offsetWidth>0)&&M.layout()}),U.observe(c.current)),U}(0,P.useEffect)(()=>(c.current&&Promise.all([l.e(8909),l.e(9404)]).then(l.bind(l,2550)).then(M=>{Ae=M;const U=Ae.editor.createDiffEditor(c.current,n(b({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},X),{wordWrap:!0}));J(U);let z=x(U);return()=>{U.dispose();const ce=U.getModel();ce&&ce.dispose(),z.unobserve(c.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,P.useEffect)(()=>{L&&L.setModel({original:Ae.editor.createModel(Te,W),modified:Ae.editor.createModel(ae,W)})},[Te,ae,W,L]);const m=T(Ne),F=T(Qe),q={width:m,height:F};return P.createElement("div",{className:"my-diff-editor",ref:c,style:q})}},38312:function(Bt,Ze,l){"use strict";l.r(Ze),l.d(Ze,{default:function(){return N}});var P=l(59301),D={flex_box_center:"flex_box_center___n3nXI",flex_space_between:"flex_space_between___SVr_u",flex_box_vertical_center:"flex_box_vertical_center___nGcce",flex_box_center_end:"flex_box_center_end___kaizF",flex_box_column:"flex_box_column___sMn1m",wrap:"wrap___LP3mu",title:"title___BPtTv",control:"control___zxfZc",label:"label___lVocU",tagWrap:"tagWrap___Wvbu8",tag:"tag___QaDfC",button:"button___z4kBY",customTable:"customTable___ehECY",form:"form___zV9o6",customModal:"customModal___TybkU"},K=l(58106),G=l(97013),j=l(89392),p=l(28284),V=l(62957),H=l(25399),e=l(6767),s=l(37568),f=l(82326),t=l(44104),r=l(7939),i=l(54172),o=l(26869),g=l(22167),w=l(65866),R=l(97158),_=l(884),y=l(47199),d=Object.defineProperty,u=Object.defineProperties,O=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,$=(S,b,n)=>b in S?d(S,b,{enumerable:!0,configurable:!0,writable:!0,value:n}):S[b]=n,B=(S,b)=>{for(var n in b||(b={}))Z.call(b,n)&&$(S,n,b[n]);if(k)for(var n of k(b))I.call(b,n)&&$(S,n,b[n]);return S},Ee=(S,b)=>u(S,O(b)),C=(S,b,n)=>new Promise((a,h)=>{var T=ve=>{try{de(n.next(ve))}catch(De){h(De)}},re=ve=>{try{de(n.throw(ve))}catch(De){h(De)}},de=ve=>ve.done?a(ve.value):Promise.resolve(ve.value).then(T,re);de((n=n.apply(S,b)).next())});let v=[{id:1,content:"\u4E13\u4E1A\u6BD5\u4E1A\u8981\u6C42\u6307\u6807\u70B9\u5206\u89E3\u53CA\u5173\u8054\u8BFE\u7A0B"},{id:2,content:"\u5B66\u751F\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u60C5\u51B5\u8BC4\u4EF7\u4F9D\u636E\u8868"},{id:3,content:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u60C5\u51B5\u76F4\u63A5\u8BC4\u4EF7\u7ED3\u679C"},{id:4,content:"\u8BFE\u7A0B\u603B\u7ED3\u62A5\u544A"}];const E=({user:S})=>{var b,n;const a={page:1,per_page:20,total:0,ec_major_school_id:null,ec_year_id:null,sort_by:null,direction:null,formvalues:{}};let[h,T]=(0,P.useState)(a);const[re,de]=(0,P.useState)(!0),[ve,De]=(0,P.useState)(!1),[Ae,vt]=(0,P.useState)([]),[me,Xe]=(0,P.useState)([]),[Ne,Qe]=(0,P.useState)([]),[Te]=p.default.useForm(),ae=(0,K.useLocation)(),W=location.host.startsWith("localhost")?o.Z.PROXY_SERVER:o.Z.API_SERVER,[X,c]=(0,P.useState)(!1),[L,J]=(0,P.useState)(!1),[x,m]=(0,P.useState)([]),[F,q]=(0,P.useState)(""),[M,U]=(0,P.useState)({filename:"",editOffice:"view",type:"",className:"",data:"",close:!0,hasMask:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}});(0,P.useEffect)(()=>{var ue;(ue=S==null?void 0:S.userInfo)!=null&&ue.school_id&&ce()},[(b=S==null?void 0:S.userInfo)==null?void 0:b.school_id]);const z=ue=>C(void 0,null,function*(){var Le;const Pe=(0,j.cloneDeep)(ue);R.U.setItem((Le=S==null?void 0:S.userInfo)==null?void 0:Le.login,[Pe==null?void 0:Pe.ec_major_school_id,Pe==null?void 0:Pe.ec_year_id]),de(!0);const Re=yield(0,G.ZP)(`/api/ec_years/${h.ec_year_id}/ec_docs.json`,{method:"get",params:Pe});Re!=null&&Re.data&&(Qe((Re==null?void 0:Re.data)||[]),h.total=Re==null?void 0:Re.count,T(B({},h))),de(!1)}),ce=()=>C(void 0,null,function*(){var ue,Le,Pe,Re,dt,xt,Ie,Lt,en,ht;const ot=yield(0,G.ZP)(`/api/schools/${(ue=S==null?void 0:S.userInfo)==null?void 0:ue.school_id}/ec_majors/get_major_list.json`,{method:"get"});if(!((Pe=(Le=ot==null?void 0:ot.data)==null?void 0:Le[0])!=null&&Pe.ec_major_school_id)){de(!1),De(!0);return}const Kt=R.U.getItem((Re=S==null?void 0:S.userInfo)==null?void 0:Re.login),nn=Number((dt=ae==null?void 0:ae.query)==null?void 0:dt.ec_major_school_id)||Kt[0]||((Ie=(xt=ot==null?void 0:ot.data)==null?void 0:xt[0])==null?void 0:Ie.ec_major_school_id),At=yield(0,G.ZP)(`/api/ec_major_schools/${nn}/ec_years/get_year_list.json`,{method:"get"});h.ec_major_school_id=nn,h.ec_year_id=Number((Lt=ae==null?void 0:ae.query)==null?void 0:Lt.ec_year_id)||Kt[1]||((ht=(en=At==null?void 0:At.data)==null?void 0:en[0])==null?void 0:ht.ec_year_id),we(h.ec_year_id),vt((ot==null?void 0:ot.data)||[]),Xe((At==null?void 0:At.data)||[]),T(h),z(h)}),ie=ue=>C(void 0,null,function*(){var Le,Pe;const Re=yield(0,G.ZP)(`/api/ec_major_schools/${ue}/ec_years/get_year_list.json`,{method:"get"});h.ec_major_school_id=ue,h.ec_year_id=(Pe=(Le=Re==null?void 0:Re.data)==null?void 0:Le[0])==null?void 0:Pe.ec_year_id,Xe((Re==null?void 0:Re.data)||[]),T(h),z(h)}),we=ue=>C(void 0,null,function*(){const Le=yield(0,G.ZP)(`/api/ec_years/${ue}/ec_courses/get_courses.json`,{method:"get"});m((Le==null?void 0:Le.data)||[])}),Me=(ue,Le)=>{if(h.page=1,h[Le]=ue,Le==="ec_major_school_id"){ie(ue);return}Le==="ec_year_id"&&(T(B({},h)),z(h),we(ue))},je=ue=>{V.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u5417\uFF1F",onOk:()=>C(void 0,null,function*(){const Le=yield(0,G.ZP)(`/api/ec_years/${h.ec_year_id}/ec_docs/${ue}.json`,{method:"delete"});(Le==null?void 0:Le.status)===0&&(h.page=1,T(B({},h)),z(h))})})},Ke=[{title:"\u5E8F\u53F7",dataIndex:"index",width:90,render:(ue,Le,Pe)=>P.createElement("span",{className:"pl20"},h.per_page*(h.page-1)+Pe+1)},{title:"\u6587\u6863\u540D\u79F0",dataIndex:"name",ellipsis:!0,width:200,render:ue=>ue||"-"},{title:"\u751F\u6210\u65F6\u95F4",dataIndex:"created_at",ellipsis:!0,width:200,render:ue=>ue||"-"},{title:"\u6700\u540E\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:200,ellipsis:!0,render:ue=>ue||"-"},{title:"\u64CD\u4F5C",width:120,dataIndex:"id",render:(ue,Le)=>P.createElement("span",{style:{display:"inline-flex",transform:"translateY(1px)",width:"80%",color:"#0152D9",justifyContent:"space-between"}},P.createElement(H.Z,{title:"\u4FEE\u6539\u6807\u9898"},P.createElement("i",{style:{cursor:"pointer"},onClick:()=>{var Pe;let Re=Le.name.substr(0,(Pe=Le.name)==null?void 0:Pe.lastIndexOf("."));if(!Re.replaceAll(" ","")){e.ZP.info("\u6587\u4EF6\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}V.default.confirm({title:"\u91CD\u547D\u540D",icon:!1,content:P.createElement(s.default,{defaultValue:Re,maxLength:100,onChange:dt=>{Re=dt.target.value}}),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>C(void 0,null,function*(){let dt=yield(0,G.ZP)(`/api/ec_years/${h==null?void 0:h.ec_year_id}/ec_docs/${ue}.json`,{method:"put",body:{ec_year_id:h==null?void 0:h.ec_year_id,id:ue,name:Re}});(dt==null?void 0:dt.status)===0&&(e.ZP.info("\u4FEE\u6539\u6210\u529F"),h.page=1,T(B({},h)),z(h))})})},className:"iconfont icon-xiugaibiaoti"})),P.createElement(H.Z,{title:"\u5728\u7EBF\u7F16\u8F91"},P.createElement("i",{onClick:()=>C(void 0,null,function*(){if(["xlsx","docx","pptx"].includes(Le==null?void 0:Le.type)){const Pe=yield(0,g.gJ)({attachment_id:Le.attachment_id});window.open(`/office.html?key=${Le.attachment_id}&url=${W+(Pe==null?void 0:Pe.url)}&callbackUrl=${W+(Pe==null?void 0:Pe.callbackUrl)}&fileType=docx&title=${Pe==null?void 0:Pe.title}&model=edit&officeServer=${o.Z.ONLYOFFICE}&disabledDownload=false`)}else{e.ZP.info("\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u7F16\u8F91");return}}),style:{cursor:"pointer"},className:"iconfont icon-bianji10"})),P.createElement(H.Z,{title:"\u4E0B\u8F7D"},P.createElement("i",{style:{cursor:"pointer"},onClick:()=>{(0,_.IM)({name:Le==null?void 0:Le.name,attachment_id:Le==null?void 0:Le.attachment_id})},className:"iconfont icon-xiazai4"})),P.createElement(H.Z,{title:"\u5220\u9664"},P.createElement("i",{style:{cursor:"pointer"},onClick:()=>{je(ue)},className:"iconfont icon-shanchu11"})))}],ke=re||ve;return P.createElement("div",{className:D.wrap},P.createElement(w.p,{title:"\u6587\u6863\u751F\u6210",style:{padding:"12px 0 0 20px"}}),P.createElement("div",{className:D.control},P.createElement("div",{className:D.label},"\u8BA4\u8BC1\u4E13\u4E1A"),P.createElement(f.default,{disabled:ke,style:{width:240},placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A",value:h==null?void 0:h.ec_major_school_id,onChange:ue=>Me(ue,"ec_major_school_id")},Ae==null?void 0:Ae.map(ue=>P.createElement(f.default.Option,{value:ue.ec_major_school_id},ue.name))),P.createElement("div",{className:D.label},"\u8BA4\u8BC1\u5C4A\u522B"),P.createElement(f.default,{disabled:ke,style:{width:140},placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:h==null?void 0:h.ec_year_id,onChange:ue=>Me(ue,"ec_year_id")},me==null?void 0:me.map(ue=>P.createElement(f.default.Option,{value:ue.ec_year_id},ue.year))),P.createElement(t.Z,{className:D.button,size:10},P.createElement(r.ZP,{disabled:ke,style:{transition:"0s"},onClick:()=>{c(!0)},type:"primary"},P.createElement("i",{className:"iconfont icon-xinzeng font14 mr5"}),"\u751F\u6210\u6587\u6863"))),P.createElement(i.default,{className:D.customTable,dataSource:Ne,bordered:!1,rowKey:"id",columns:Ke,rowClassName:D.row,loading:re,pagination:{pageSize:h.per_page,total:h.total,current:h.page,showQuickJumper:!0,hideOnSinglePage:!1,showSizeChanger:!0,size:"default",position:["bottomCenter"],showTotal:ue=>P.createElement("span",{className:"mr10"},"\u5171",P.createElement("span",{className:"c-orange"},ue),"\u6761\u6570\u636E")}}),P.createElement(V.default,{title:"\u751F\u6210\u6587\u6863",open:X,onOk:()=>{Te.submit()},okButtonProps:{loading:L},onCancel:()=>{c(!1),Te.setFieldsValue({export_type:"",ec_course_id:""})}},console.log("---",h),P.createElement(p.default,{labelCol:{span:7},wrapperCol:{span:17},form:Te,onValuesChange:ue=>{ue.export_type&&(h.formvalues=ue),T(B({},h))},onFinish:ue=>C(void 0,null,function*(){J(!0);let Le=`/api/ec_years/${h==null?void 0:h.ec_year_id}/ec_docs.json`,Pe=yield(0,G.ZP)(Le,{method:"post",body:B({ec_year_id:h.ec_year_id},ue)});J(!1),Pe.status===0&&(e.ZP.info("\u751F\u6210\u6210\u529F"),z(h),Te.setFieldsValue({export_type:"",ec_course_id:""}),c(!1))})},P.createElement(p.default.Item,{label:"\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863",name:"export_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863"}]},P.createElement(f.default,{placeholder:"\u8BF7\u9009\u62E9\u8981\u751F\u6210\u7684\u6587\u6863"},v==null?void 0:v.map((ue,Le)=>P.createElement(f.default.Option,{key:Le,value:ue==null?void 0:ue.id},ue==null?void 0:ue.content)))),((n=h.formvalues)==null?void 0:n.export_type)===4&&P.createElement(p.default.Item,{label:"\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B",name:"ec_course_id",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B"}]},P.createElement(f.default,{placeholder:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u7684\u8BFE\u7A0B"},x==null?void 0:x.map((ue,Le)=>P.createElement(f.default.Option,{key:Le,value:ue==null?void 0:ue.id},ue==null?void 0:ue.name)))))),P.createElement(y.Z,Ee(B({},M),{onClose:()=>{U(Ee(B({},M),{type:""}))}})))};var N=(0,K.connect)(({user:S})=>({user:S}))(E)},65866:function(Bt,Ze,l){"use strict";l.d(Ze,{p:function(){return G},v:function(){return V}});var P=l(59301),D={panelTitleContainer:"panelTitleContainer___Ypuh_"},G=({title:H,style:e={}})=>P.createElement("div",{className:D.panelTitleContainer,style:e},P.createElement("div",null,H)),j={selectWrapContainer:"selectWrapContainer___qocIH"},V=({title:H,children:e})=>P.createElement("div",{className:j.selectWrapContainer},P.createElement("span",null,H),e)},884:function(Bt,Ze,l){"use strict";l.d(Ze,{AD:function(){return E},BA:function(){return X},D9:function(){return T},Hp:function(){return O},IM:function(){return de},Iy:function(){return Z},KM:function(){return W},KU:function(){return vt},MJ:function(){return k},Ne:function(){return re},ON:function(){return Xe},Uj:function(){return Te},VY:function(){return Ae},YO:function(){return Qe},YX:function(){return Ne},Zn:function(){return o},_g:function(){return y},_k:function(){return a},c6:function(){return C},cr:function(){return g},eV:function(){return v},fi:function(){return w},gh:function(){return B},hS:function(){return ve},iA:function(){return R},j6:function(){return d},je:function(){return b},jj:function(){return u},kS:function(){return me},lS:function(){return n},o6:function(){return Ee},pO:function(){return ae},rQ:function(){return N},sA:function(){return $},xm:function(){return h},xo:function(){return De},y8:function(){return S},yd:function(){return _}});var P=l(51600),D=l(58106),K=l(31735),G=l(6767),j=l(26869),p=Object.defineProperty,V=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(c,L,J)=>L in c?p(c,L,{enumerable:!0,configurable:!0,writable:!0,value:J}):c[L]=J,f=(c,L)=>{for(var J in L||(L={}))H.call(L,J)&&s(c,J,L[J]);if(V)for(var J of V(L))e.call(L,J)&&s(c,J,L[J]);return c},t=(c,L,J)=>new Promise((x,m)=>{var F=U=>{try{M(J.next(U))}catch(z){m(z)}},q=U=>{try{M(J.throw(U))}catch(z){m(z)}},M=U=>U.done?x(U.value):Promise.resolve(U.value).then(F,q);M((J=J.apply(c,L)).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..."}})},i=()=>{(0,D.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},o=c=>t(void 0,null,function*(){r(),(yield(0,P.YR)(f({},c))).status===0&&(yield(0,K.QH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/courses/${c.coursesId}/export_couser_info.json`,query:c}))),i()}),g=c=>t(void 0,null,function*(){const L=yield(0,P.yS)(f({},c));if(L.status===0)G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${c.coursesId}/exportlist/course_member_act_score`);else{if(L.status===-2)return L;L.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${c.coursesId}/exportlist/course_member_act_score`))}}),w=c=>t(void 0,null,function*(){const L=yield(0,P.W0)(f({},c));if(L.status===0)G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_score`);else{if(L.status===-4)return L;L.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_score`))}}),R=c=>t(void 0,null,function*(){const L=yield(0,P.Nl)(f({},c));if(L.status===0)G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_exercise_and_other`);else{if(L.status===-4)return L;L.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_exercise_and_other`))}}),_=c=>t(void 0,null,function*(){const L=yield(0,P.IU)(f({},c));if(L.status===0)G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${c.coursesId}/exportlist/export_star_user`);else{if(L.status===-4)return L;L.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${c.coursesId}/exportlist/export_star_user`))}}),y=c=>t(void 0,null,function*(){const L=yield(0,P.td)(f({},c));if(L.status===0)G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_exercise_and_other`);else{if(L.status===-2)return L;if(L.status===-3)(0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_exercise_and_other`);else if(L.status===-4)return L}}),d=c=>t(void 0,null,function*(){const L=yield(0,P.QX)(f({},c));if(L.status===0)G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_homework`);else{if(L.status===-4)return L;L.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_homework`))}}),u=(c,L)=>t(void 0,null,function*(){const J=yield(0,P.o_)(f({},c));J.status===0?(G.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/${c.coursesId}/exportlist/${L}`)):J.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${c.coursesId}/exportlist/${L}`))}),O=(c,L)=>t(void 0,null,function*(){const J=yield(0,P.ZL)(f({},c));J.status===0?(G.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/${c.coursesId}/exportlist/${L}`)):J.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${c.coursesId}/exportlist/${L}`))}),k=(c,L)=>t(void 0,null,function*(){const J=yield(0,P.vV)(f({},c));J.status===0?(G.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/${c.coursesId}/exportlist/${L}`)):J.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${c.coursesId}/exportlist/${L}`))}),Z=(c,L)=>t(void 0,null,function*(){const J=yield(0,P.aP)(f({},c));J.status===0?(G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${c.coursesId}/exportlist/${L}`)):J.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${c.coursesId}/exportlist/${L}`))}),I=c=>t(void 0,null,function*(){r(),(yield exportCourseWorkListAppendix(f({},c))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${c.categoryId}/works_list.zip`,query:c}))),i()}),$=c=>t(void 0,null,function*(){r(),yield(0,K.FH)("",j.Z.API_SERVER+`/api/polls/${c.categoryId}/commit_result.xlsx`),i()}),B=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/courses/${c.coursesId}/attendances/export_xlsx_data.xlsx`,query:c}))}),Ee=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/courses/${c.coursesId}/video_study_statics.xlsx`,query:c}))}),C=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/courses/${c.coursesId}/export_video_study.xlsx`,query:c}))}),v=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/courses/${c.coursesId}/export_course_students_info.xlsx`,query:c}))}),E=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+"/api/school_manages/students.xlsx",query:c}))}),N=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+"/api/item_banks/export.xlsx",query:c}))}),S=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:c}))}),b=c=>t(void 0,null,function*(){const L=yield(0,P.Uy)(f({},c));L.status===0?(G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${c.coursesId}/exportlist/exercise_score,export_exercise_users`)):L.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${c.coursesId}/exportlist/exercise_score,export_exercise_users`))}),n=c=>t(void 0,null,function*(){const L=yield(0,P.tg)(f({},c));L.status===0?(G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${c.coursesId}/exportlist/exercise_score,export_exercise_report`)):L.status===-3&&((0,D.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),D.history.push(`/classrooms/${c.coursesId}/exportlist/exercise_score,export_exercise_report`))}),a=c=>t(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/export_records/${c.id}.xlsx`,query:c}))}),h=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:c}))}),T=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/courses/${c==null?void 0:c.coursesId}/${c.menuKey}_statistic.xlsx?${c.checkedList.map(L=>`course_group_id[]=${L}`).join("&")}`,query:c}))}),re=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/ec_years/${c==null?void 0:c.ec_year_id}/ec_training_objectives.xlsx`,query:c}))}),de=c=>t(void 0,null,function*(){yield(0,K.FH)(c==null?void 0:c.name,(0,K.NY)({url:j.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:c}))}),ve=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/ec_years/${c==null?void 0:c.ec_year_id}/ec_courses.xlsx`,query:c}))}),De=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/ec_years/${c==null?void 0:c.ec_year_id}/ec_graduation_requirements.xlsx`,query:c}))}),Ae=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:c}))}),vt=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/exercises/${c.categoryId}/rank_list.xlsx`,query:c}))}),me=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:c}))}),Xe=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/examination_banks/${c.id}.json`,query:c}))}),Ne=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/exercises/${c.categoryId}.json`,query:c}))}),Qe=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/polls/${c==null?void 0:c.id}/commit_result.json`,query:c}))}),Te=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+"/api/paths/get_task_pass.json",query:c}))}),ae=(c,L)=>t(void 0,null,function*(){yield(0,K.FH)(L||"",(0,K.NY)({url:j.Z.API_SERVER+`/api/exercises/${c==null?void 0:c.exercise_id}/consult_exercise.json`,query:c}))}),W=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/competitions/${c==null?void 0:c.identifier}/competition_commit_records/member_works.xlsx`,query:c}))}),X=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/courses/${c==null?void 0:c.coursesId}/group_homeworks/import_group_template.xlsx`,query:c}))})},25769:function(Bt,Ze,l){"use strict";var P=l(98040),D={"text/plain":"Text","text/html":"Url",default:"Text"},K="Copy to clipboard: #{key}, Enter";function G(p){var V=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return p.replace(/#{\s*key\s*}/g,V)}function j(p,V){var H,e,s,f,t,r,i=!1;V||(V={}),H=V.debug||!1;try{s=P(),f=document.createRange(),t=document.getSelection(),r=document.createElement("span"),r.textContent=p,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(g){if(g.stopPropagation(),V.format)if(g.preventDefault(),typeof g.clipboardData=="undefined"){H&&console.warn("unable to use e.clipboardData"),H&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var w=D[V.format]||D.default;window.clipboardData.setData(w,p)}else g.clipboardData.clearData(),g.clipboardData.setData(V.format,p);V.onCopy&&(g.preventDefault(),V.onCopy(g.clipboardData))}),document.body.appendChild(r),f.selectNodeContents(r),t.addRange(f);var o=document.execCommand("copy");if(!o)throw new Error("copy command was unsuccessful");i=!0}catch(g){H&&console.error("unable to copy using execCommand: ",g),H&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(V.format||"text",p),V.onCopy&&V.onCopy(window.clipboardData),i=!0}catch(w){H&&console.error("unable to copy using clipboardData: ",w),H&&console.error("falling back to prompt"),e=G("message"in V?V.message:K),window.prompt(e,p)}}finally{t&&(typeof t.removeRange=="function"?t.removeRange(f):t.removeAllRanges()),r&&document.body.removeChild(r),s()}return i}Bt.exports=j},53184:function(Bt,Ze,l){"use strict";var P,D;function K(G,j,p){var V=function(H,e){return G.js_beautify(H,e)};return V.js=G.js_beautify,V.css=j.css_beautify,V.html=p.html_beautify,V.js_beautify=G.js_beautify,V.css_beautify=j.css_beautify,V.html_beautify=p.html_beautify,V}P=[l(58553),l(87804),l(40998)],D=function(G,j,p){return K(G,j,p)}.apply(Ze,P),D!==void 0&&(Bt.exports=D)},87804:function(Bt,Ze){var l,P;(function(){var D;(function(){"use strict";var G=[,,function(H){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 i=this.__base_string_length;return r=r||0,t<0&&(i=0),i+=t*this.__indent_size,i+=r,i},s.prototype.get_indent_string=function(t,r){var i=this.__base_string;return r=r||0,t<0&&(t=0,i=""),r+=t*this.__indent_size,this.__ensure_cache(r),i+=this.__cache[r],i},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,i="";this.__indent_size&&t>=this.__indent_size&&(r=Math.floor(t/this.__indent_size),t-=r*this.__indent_size,i=new Array(r+1).join(this.__indent_string)),t&&(i+=new Array(t+1).join(" ")),this.__cache.push(i)};function f(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()}f.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},f.prototype.get_line_number=function(){return this.__lines.length},f.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},f.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},f.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},f.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},f.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 i=this.__lines.join(`
`);return t!==`
`&&(i=i.replace(/[\n]/g,t)),i},f.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},f.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)},f.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},f.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()},f.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(" "))},f.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()},f.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},f.prototype.just_added_newline=function(){return this.current_line.is_empty()},f.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},f.prototype.ensure_empty_line_above=function(t,r){for(var i=this.__lines.length-2;i>=0;){var o=this.__lines[i];if(o.is_empty())break;if(o.item(0).indexOf(t)!==0&&o.item(-1)!==r){this.__lines.splice(i+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}i--}},H.exports.Output=f},,,,function(H){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 i=this.raw_options[t],o=r||[];return typeof i=="object"?i!==null&&typeof i.concat=="function"&&(o=i.concat()):typeof i=="string"&&(o=i.split(/[^a-zA-Z0-9_\/\-]+/)),o},e.prototype._get_boolean=function(t,r){var i=this.raw_options[t],o=i===void 0?!!r:!!i;return o},e.prototype._get_characters=function(t,r){var i=this.raw_options[t],o=r||"";return typeof i=="string"&&(o=i.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),o},e.prototype._get_number=function(t,r){var i=this.raw_options[t];r=parseInt(r,10),isNaN(r)&&(r=0);var o=parseInt(i,10);return isNaN(o)&&(o=r),o},e.prototype._get_selection=function(t,r,i){var o=this._get_selection_list(t,r,i);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,i){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(i=i||[r[0]],!this._is_valid_selection(i,r))throw new Error("Invalid Default Value!");var o=this._get_array(t,i);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(i){return r.indexOf(i)===-1})};function s(t,r){var i={};t=f(t);var o;for(o in t)o!==r&&(i[o]=t[o]);if(r&&t[r])for(o in t[r])i[o]=t[r][o];return i}function f(t){var r={},i;for(i in t){var o=i.replace(/-/g,"_");r[o]=t[i]}return r}H.exports.Options=e,H.exports.normalizeOpts=f,H.exports.mergeOpts=s},,function(H){var e=RegExp.prototype.hasOwnProperty("sticky");function s(f){this.__input=f||"",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 f=null;return this.hasNext()&&(f=this.__input.charAt(this.__position),this.__position+=1),f},s.prototype.peek=function(f){var t=null;return f=f||0,f+=this.__position,f>=0&&f<this.__input_length&&(t=this.__input.charAt(f)),t},s.prototype.__match=function(f,t){f.lastIndex=t;var r=f.exec(this.__input);return r&&!(e&&f.sticky)&&r.index!==t&&(r=null),r},s.prototype.test=function(f,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(f,t):!1},s.prototype.testChar=function(f,t){var r=this.peek(t);return f.lastIndex=0,r!==null&&f.test(r)},s.prototype.match=function(f){var t=this.__match(f,this.__position);return t?this.__position+=t[0].length:t=null,t},s.prototype.read=function(f,t,r){var i="",o;return f&&(o=this.match(f),o&&(i+=o[0])),t&&(o||!f)&&(i+=this.readUntil(t,r)),i},s.prototype.readUntil=function(f,t){var r="",i=this.__position;f.lastIndex=this.__position;var o=f.exec(this.__input);return o?(i=o.index,t&&(i+=o[0].length)):i=this.__input_length,r=this.__input.substring(this.__position,i),this.__position=i,r},s.prototype.readUntilAfter=function(f){return this.readUntil(f,!0)},s.prototype.get_regexp=function(f,t){var r=null,i="g";return t&&e&&(i="y"),typeof f=="string"&&f!==""?r=new RegExp(f,i):f&&(r=new RegExp(f.source,i)),r},s.prototype.get_literal_regexp=function(f){return RegExp(f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},s.prototype.peekUntilAfter=function(f){var t=this.__position,r=this.readUntilAfter(f);return this.__position=t,r},s.prototype.lookBack=function(f){var t=this.__position-1;return t>=f.length&&this.__input.substring(t-f.length,t).toLowerCase()===f},H.exports.InputScanner=s},,,,,function(H){function e(s,f){s=typeof s=="string"?s:s.source,f=typeof f=="string"?f:f.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+f,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+f,"g")}e.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var f={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(s);t;)f[t[1]]=t[2],t=this.__directive_pattern.exec(s);return f},e.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},H.exports.Directives=e},,function(H,e,s){var f=s(16).Beautifier,t=s(17).Options;function r(i,o){var g=new f(i,o);return g.beautify()}H.exports=r,H.exports.defaultOptions=function(){return new t}},function(H,e,s){var f=s(17).Options,t=s(2).Output,r=s(8).InputScanner,i=s(13).Directives,o=new i(/\/\*/,/\*\//),g=/\r\n|[\r\n]/,w=/\r\n|[\r\n]/g,R=/\s/,_=/(?:\s|\n)+/g,y=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,d=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function u(O,k){this._source_text=O||"",this._options=new f(k),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"]}u.prototype.eatString=function(O){var k="";for(this._ch=this._input.next();this._ch;){if(k+=this._ch,this._ch==="\\")k+=this._input.next();else if(O.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return k},u.prototype.eatWhitespace=function(O){for(var k=R.test(this._input.peek()),Z=0;R.test(this._input.peek());)this._ch=this._input.next(),O&&this._ch===`
`&&(Z===0||Z<this._options.max_preserve_newlines)&&(Z++,this._output.add_new_line(!0));return k},u.prototype.foundNestedPseudoClass=function(){for(var O=0,k=1,Z=this._input.peek(k);Z;){if(Z==="{")return!0;if(Z==="(")O+=1;else if(Z===")"){if(O===0)return!1;O-=1}else if(Z===";"||Z==="}")return!1;k++,Z=this._input.peek(k)}return!1},u.prototype.print_string=function(O){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(O)},u.prototype.preserveSingleSpace=function(O){O&&(this._output.space_before_token=!0)},u.prototype.indent=function(){this._indentLevel++},u.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},u.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var O=this._source_text,k=this._options.eol;k==="auto"&&(k=`
`,O&&g.test(O||"")&&(k=O.match(g)[0])),O=O.replace(w,`
`);var Z=O.match(/^[\t ]*/)[0];this._output=new t(this._options,Z),this._input=new r(O),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var I=0,$=!1,B=!1,Ee=!1,C=!1,v=!1,E=this._ch,N=!1,S,b,n;S=this._input.read(_),b=S!=="",n=E,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),E=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var a=this._input.read(y),h=o.get_directives(a);h&&h.ignore==="start"&&(a+=o.readIgnored(this._input)),this.print_string(a),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(d)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(b),this.print_string(this._ch);var T=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);T.match(/[ :]$/)&&(T=this.eatString(": ").replace(/\s+$/,""),this.print_string(T),this._output.space_before_token=!0),I===0&&T.indexOf(":")!==-1&&(B=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(b),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var re=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);re.match(/[ :]$/)&&(re=this.eatString(": ").replace(/\s+$/,""),this.print_string(re),this._output.space_before_token=!0),I===0&&re.indexOf(":")!==-1?(B=!0,this.indent()):re in this.NESTED_AT_RULE?(this._nestedLevel+=1,re in this.CONDITIONAL_GROUP_RULE&&(Ee=!0)):I===0&&!B&&(C=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(b),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")B&&(B=!1,this.outdent()),C=!1,Ee?(Ee=!1,$=this._indentLevel>=this._nestedLevel):$=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&$&&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),$=!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 de=0;de<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;de++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[de])){N=!0;break}($||Ee)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!C&&I===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 ve=n==='"'||n==="'";this.preserveSingleSpace(ve||b),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")N=!1,I===0?(B&&(this.outdent(),B=!1),C=!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(),I++,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(")")),I&&(I--,this.outdent()));else{var De=!1;this._input.lookBack("with")&&(De=!0),this.preserveSingleSpace(b||De),this.print_string(this._ch),B&&n==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),v=!0):(this.eatWhitespace(),I++,this.indent())}else if(this._ch===")")I&&(I--,this.outdent()),v&&this._input.peek()===";"&&this._options.selector_separator_newline&&(v=!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||v)&&I===0&&!C?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!B&&I===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&&R.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(b),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),R.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 Ae=n==='"'||n==="'";this.preserveSingleSpace(Ae||b),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&N&&this._output.add_new_line()}var vt=this._output.get_code(k);return vt},H.exports.Beautifier=u},function(H,e,s){var f=s(6).Options;function t(r){f.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 i=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||i;var o=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var g=0;g<o.length;g++)o[g]!=="expand"?this.brace_style="collapse":this.brace_style=o[g]}t.prototype=new f,H.exports.Options=t}],j={};function p(H){var e=j[H];if(e!==void 0)return e.exports;var s=j[H]={exports:{}};return G[H](s,s.exports,p),s.exports}var V=p(15);D=V})();var K=D;l=[],P=function(){return{css_beautify:K}}.apply(Ze,l),P!==void 0&&(Bt.exports=P)})()},40998:function(Bt,Ze,l){var P,D;(function(){var K;(function(){"use strict";var V=[,,function(f){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 g=this.__items.length-1;g>=0;g--)if(this.__items[g].match(o))return!0;return!1},t.prototype.set_indent=function(o,g){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=g||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 g=o.lastIndexOf(`
`);g!==-1?this.__character_count=o.length-g: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,g){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)),g=g||"",o.indent_level>0&&(g=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=g,this.__base_string_length=g.length}r.prototype.get_indent_size=function(o,g){var w=this.__base_string_length;return g=g||0,o<0&&(w=0),w+=o*this.__indent_size,w+=g,w},r.prototype.get_indent_string=function(o,g){var w=this.__base_string;return g=g||0,o<0&&(o=0,w=""),g+=o*this.__indent_size,this.__ensure_cache(g),w+=this.__cache[g],w},r.prototype.__ensure_cache=function(o){for(;o>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var o=this.__cache.length,g=0,w="";this.__indent_size&&o>=this.__indent_size&&(g=Math.floor(o/this.__indent_size),o-=g*this.__indent_size,w=new Array(g+1).join(this.__indent_string)),o&&(w+=new Array(o+1).join(" ")),this.__cache.push(w)};function i(o,g){this.__indent_cache=new r(o,g),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()}i.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},i.prototype.get_line_number=function(){return this.__lines.length},i.prototype.get_indent_string=function(o,g){return this.__indent_cache.get_indent_string(o,g)},i.prototype.get_indent_size=function(o,g){return this.__indent_cache.get_indent_size(o,g)},i.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},i.prototype.add_new_line=function(o){return this.is_empty()||!o&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},i.prototype.get_code=function(o){this.trim(!0);var g=this.current_line.pop();g&&(g[g.length-1]===`
`&&(g=g.replace(/\n+$/g,"")),this.current_line.push(g)),this._end_with_newline&&this.__add_outputline();var w=this.__lines.join(`
`);return o!==`
`&&(w=w.replace(/[\n]/g,o)),w},i.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},i.prototype.set_indent=function(o,g){return o=o||0,g=g||0,this.next_line.set_indent(o,g),this.__lines.length>1?(this.current_line.set_indent(o,g),!0):(this.current_line.set_indent(),!1)},i.prototype.add_raw_token=function(o){for(var g=0;g<o.newlines;g++)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},i.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()},i.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(" "))},i.prototype.remove_indent=function(o){for(var g=this.__lines.length;o<g;)this.__lines[o]._remove_indent(),o++;this.current_line._remove_wrap_indent()},i.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},i.prototype.just_added_newline=function(){return this.current_line.is_empty()},i.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},i.prototype.ensure_empty_line_above=function(o,g){for(var w=this.__lines.length-2;w>=0;){var R=this.__lines[w];if(R.is_empty())break;if(R.item(0).indexOf(o)!==0&&R.item(-1)!==g){this.__lines.splice(w+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}w--}},f.exports.Output=i},function(f){function t(r,i,o,g){this.type=r,this.text=i,this.comments_before=null,this.newlines=o||0,this.whitespace_before=g||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}f.exports.Token=t},,,function(f){function t(o,g){this.raw_options=r(o,g),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,g){var w=this.raw_options[o],R=g||[];return typeof w=="object"?w!==null&&typeof w.concat=="function"&&(R=w.concat()):typeof w=="string"&&(R=w.split(/[^a-zA-Z0-9_\/\-]+/)),R},t.prototype._get_boolean=function(o,g){var w=this.raw_options[o],R=w===void 0?!!g:!!w;return R},t.prototype._get_characters=function(o,g){var w=this.raw_options[o],R=g||"";return typeof w=="string"&&(R=w.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),R},t.prototype._get_number=function(o,g){var w=this.raw_options[o];g=parseInt(g,10),isNaN(g)&&(g=0);var R=parseInt(w,10);return isNaN(R)&&(R=g),R},t.prototype._get_selection=function(o,g,w){var R=this._get_selection_list(o,g,w);if(R.length!==1)throw new Error("Invalid Option Value: The option '"+o+`' can only be one of the following values:
`+g+`
You passed in: '`+this.raw_options[o]+"'");return R[0]},t.prototype._get_selection_list=function(o,g,w){if(!g||g.length===0)throw new Error("Selection list cannot be empty.");if(w=w||[g[0]],!this._is_valid_selection(w,g))throw new Error("Invalid Default Value!");var R=this._get_array(o,w);if(!this._is_valid_selection(R,g))throw new Error("Invalid Option Value: The option '"+o+`' can contain only the following values:
`+g+`
You passed in: '`+this.raw_options[o]+"'");return R},t.prototype._is_valid_selection=function(o,g){return o.length&&g.length&&!o.some(function(w){return g.indexOf(w)===-1})};function r(o,g){var w={};o=i(o);var R;for(R in o)R!==g&&(w[R]=o[R]);if(g&&o[g])for(R in o[g])w[R]=o[g][R];return w}function i(o){var g={},w;for(w in o){var R=w.replace(/-/g,"_");g[R]=o[w]}return g}f.exports.Options=t,f.exports.normalizeOpts=i,f.exports.mergeOpts=r},,function(f){var t=RegExp.prototype.hasOwnProperty("sticky");function r(i){this.__input=i||"",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 i=null;return this.hasNext()&&(i=this.__input.charAt(this.__position),this.__position+=1),i},r.prototype.peek=function(i){var o=null;return i=i||0,i+=this.__position,i>=0&&i<this.__input_length&&(o=this.__input.charAt(i)),o},r.prototype.__match=function(i,o){i.lastIndex=o;var g=i.exec(this.__input);return g&&!(t&&i.sticky)&&g.index!==o&&(g=null),g},r.prototype.test=function(i,o){return o=o||0,o+=this.__position,o>=0&&o<this.__input_length?!!this.__match(i,o):!1},r.prototype.testChar=function(i,o){var g=this.peek(o);return i.lastIndex=0,g!==null&&i.test(g)},r.prototype.match=function(i){var o=this.__match(i,this.__position);return o?this.__position+=o[0].length:o=null,o},r.prototype.read=function(i,o,g){var w="",R;return i&&(R=this.match(i),R&&(w+=R[0])),o&&(R||!i)&&(w+=this.readUntil(o,g)),w},r.prototype.readUntil=function(i,o){var g="",w=this.__position;i.lastIndex=this.__position;var R=i.exec(this.__input);return R?(w=R.index,o&&(w+=R[0].length)):w=this.__input_length,g=this.__input.substring(this.__position,w),this.__position=w,g},r.prototype.readUntilAfter=function(i){return this.readUntil(i,!0)},r.prototype.get_regexp=function(i,o){var g=null,w="g";return o&&t&&(w="y"),typeof i=="string"&&i!==""?g=new RegExp(i,w):i&&(g=new RegExp(i.source,w)),g},r.prototype.get_literal_regexp=function(i){return RegExp(i.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(i){var o=this.__position,g=this.readUntilAfter(i);return this.__position=o,g},r.prototype.lookBack=function(i){var o=this.__position-1;return o>=i.length&&this.__input.substring(o-i.length,o).toLowerCase()===i},f.exports.InputScanner=r},function(f,t,r){var i=r(8).InputScanner,o=r(3).Token,g=r(10).TokenStream,w=r(11).WhitespacePattern,R={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},_=function(y,d){this._input=new i(y),this._options=d||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new w(this._input)};_.prototype.tokenize=function(){this._input.restart(),this.__tokens=new g,this._reset();for(var y,d=new o(R.START,""),u=null,O=[],k=new g;d.type!==R.EOF;){for(y=this._get_next_token(d,u);this._is_comment(y);)k.add(y),y=this._get_next_token(d,u);k.isEmpty()||(y.comments_before=k,k=new g),y.parent=u,this._is_opening(y)?(O.push(u),u=y):u&&this._is_closing(y,u)&&(y.opened=u,u.closed=y,u=O.pop(),y.parent=u),y.previous=d,d.next=y,this.__tokens.add(y),d=y}return this.__tokens},_.prototype._is_first_token=function(){return this.__tokens.isEmpty()},_.prototype._reset=function(){},_.prototype._get_next_token=function(y,d){this._readWhitespace();var u=this._input.read(/.+/g);return u?this._create_token(R.RAW,u):this._create_token(R.EOF,"")},_.prototype._is_comment=function(y){return!1},_.prototype._is_opening=function(y){return!1},_.prototype._is_closing=function(y,d){return!1},_.prototype._create_token=function(y,d){var u=new o(y,d,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return u},_.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},f.exports.Tokenizer=_,f.exports.TOKEN=R},function(f){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 i=null;return r=r||0,r+=this.__position,r>=0&&r<this.__tokens_length&&(i=this.__tokens[r]),i},t.prototype.add=function(r){this.__parent_token&&(r.parent=this.__parent_token),this.__tokens.push(r),this.__tokens_length+=1},f.exports.TokenStream=t},function(f,t,r){var i=r(12).Pattern;function o(g,w){i.call(this,g,w),w?this._line_regexp=this._input.get_regexp(w._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}o.prototype=new i,o.prototype.__set_whitespace_patterns=function(g,w){g+="\\t ",w+="\\n\\r",this._match_pattern=this._input.get_regexp("["+g+w+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+w+"]")},o.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var g=this._input.read(this._match_pattern);if(g===" ")this.whitespace_before_token=" ";else if(g){var w=this.__split(this._newline_regexp,g);this.newline_count=w.length-1,this.whitespace_before_token=w[this.newline_count]}return g},o.prototype.matching=function(g,w){var R=this._create();return R.__set_whitespace_patterns(g,w),R._update(),R},o.prototype._create=function(){return new o(this._input,this)},o.prototype.__split=function(g,w){g.lastIndex=0;for(var R=0,_=[],y=g.exec(w);y;)_.push(w.substring(R,y.index)),R=y.index+y[0].length,y=g.exec(w);return R<w.length?_.push(w.substring(R,w.length)):_.push(""),_},f.exports.WhitespacePattern=o},function(f){function t(r,i){this._input=r,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,i&&(this._starting_pattern=this._input.get_regexp(i._starting_pattern,!0),this._match_pattern=this._input.get_regexp(i._match_pattern,!0),this._until_pattern=this._input.get_regexp(i._until_pattern),this._until_after=i._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 i=this._create();return i._until_after=!0,i._until_pattern=this._input.get_regexp(r),i._update(),i},t.prototype.until=function(r){var i=this._create();return i._until_after=!1,i._until_pattern=this._input.get_regexp(r),i._update(),i},t.prototype.starting_with=function(r){var i=this._create();return i._starting_pattern=this._input.get_regexp(r,!0),i._update(),i},t.prototype.matching=function(r){var i=this._create();return i._match_pattern=this._input.get_regexp(r,!0),i._update(),i},t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){},f.exports.Pattern=t},function(f){function t(r,i){r=typeof r=="string"?r:r.source,i=typeof i=="string"?i:i.source,this.__directives_block_pattern=new RegExp(r+/ beautify( \w+[:]\w+)+ /.source+i,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(r+/\sbeautify\signore:end\s/.source+i,"g")}t.prototype.get_directives=function(r){if(!r.match(this.__directives_block_pattern))return null;var i={};this.__directive_pattern.lastIndex=0;for(var o=this.__directive_pattern.exec(r);o;)i[o[1]]=o[2],o=this.__directive_pattern.exec(r);return i},t.prototype.readIgnored=function(r){return r.readUntilAfter(this.__directives_end_ignore_pattern)},f.exports.Directives=t},function(f,t,r){var i=r(12).Pattern,o={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function g(w,R){i.call(this,w,R),this.__template_pattern=null,this._disabled=Object.assign({},o),this._excluded=Object.assign({},o),R&&(this.__template_pattern=this._input.get_regexp(R.__template_pattern),this._excluded=Object.assign(this._excluded,R._excluded),this._disabled=Object.assign(this._disabled,R._disabled));var _=new i(w);this.__patterns={handlebars_comment:_.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:_.starting_with(/{{{/).until_after(/}}}/),handlebars:_.starting_with(/{{/).until_after(/}}/),php:_.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:_.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:_.starting_with(/{%/).until_after(/%}/),django_value:_.starting_with(/{{/).until_after(/}}/),django_comment:_.starting_with(/{#/).until_after(/#}/),smarty:_.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:_.starting_with(/{\*/).until_after(/\*}/),smarty_literal:_.starting_with(/{literal}/).until_after(/{\/literal}/)}}g.prototype=new i,g.prototype._create=function(){return new g(this._input,this)},g.prototype._update=function(){this.__set_templated_pattern()},g.prototype.disable=function(w){var R=this._create();return R._disabled[w]=!0,R._update(),R},g.prototype.read_options=function(w){var R=this._create();for(var _ in o)R._disabled[_]=w.templating.indexOf(_)===-1;return R._update(),R},g.prototype.exclude=function(w){var R=this._create();return R._excluded[w]=!0,R._update(),R},g.prototype.read=function(){var w="";this._match_pattern?w=this._input.read(this._starting_pattern):w=this._input.read(this._starting_pattern,this.__template_pattern);for(var R=this._read_template();R;)this._match_pattern?R+=this._input.read(this._match_pattern):R+=this._input.readUntil(this.__template_pattern),w+=R,R=this._read_template();return this._until_after&&(w+=this._input.readUntilAfter(this._until_pattern)),w},g.prototype.__set_templated_pattern=function(){var w=[];this._disabled.php||w.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||w.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||w.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||w.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(w.push(this.__patterns.django._starting_pattern.source),w.push(this.__patterns.django_value._starting_pattern.source),w.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||w.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&w.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+w.join("|")+")")},g.prototype._read_template=function(){var w="",R=this._input.peek();if(R==="<"){var _=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&_==="?"&&(w=w||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&_==="%"&&(w=w||this.__patterns.erb.read())}else R==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(w=w||this.__patterns.handlebars_comment.read(),w=w||this.__patterns.handlebars_unescaped.read(),w=w||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(w=w||this.__patterns.django_value.read()),this._excluded.django||(w=w||this.__patterns.django_comment.read(),w=w||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(w=w||this.__patterns.smarty_comment.read(),w=w||this.__patterns.smarty_literal.read(),w=w||this.__patterns.smarty.read()));return w},f.exports.TemplatablePattern=g},,,,function(f,t,r){var i=r(19).Beautifier,o=r(20).Options;function g(w,R,_,y){var d=new i(w,R,_,y);return d.beautify()}f.exports=g,f.exports.defaultOptions=function(){return new o}},function(f,t,r){var i=r(20).Options,o=r(2).Output,g=r(21).Tokenizer,w=r(21).TOKEN,R=/\r\n|[\r\n]/,_=/\r\n|[\r\n]/g,y=function(C,v){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=C.max_preserve_newlines,this.preserve_newlines=C.preserve_newlines,this._output=new o(C,v)};y.prototype.current_line_has_match=function(C){return this._output.current_line.has_match(C)},y.prototype.set_space_before_token=function(C,v){this._output.space_before_token=C,this._output.non_breaking_space=v},y.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},y.prototype.add_raw_token=function(C){this._output.add_raw_token(C)},y.prototype.print_preserved_newlines=function(C){var v=0;C.type!==w.TEXT&&C.previous.type!==w.TEXT&&(v=C.newlines?1:0),this.preserve_newlines&&(v=C.newlines<this.max_preserve_newlines+1?C.newlines:this.max_preserve_newlines+1);for(var E=0;E<v;E++)this.print_newline(E>0);return v!==0},y.prototype.traverse_whitespace=function(C){return C.whitespace_before||C.newlines?(this.print_preserved_newlines(C)||(this._output.space_before_token=!0),!0):!1},y.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},y.prototype.print_newline=function(C){this._output.add_new_line(C)},y.prototype.print_token=function(C){C.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(C.text))},y.prototype.indent=function(){this.indent_level++},y.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},y.prototype.get_full_indent=function(C){return C=this.indent_level+(C||0),C<1?"":this._output.get_indent_string(C)};var d=function(C){for(var v=null,E=C.next;E.type!==w.EOF&&C.closed!==E;){if(E.type===w.ATTRIBUTE&&E.text==="type"){E.next&&E.next.type===w.EQUALS&&E.next.next&&E.next.next.type===w.VALUE&&(v=E.next.next.text);break}E=E.next}return v},u=function(C,v){var E=null,N=null;return v.closed?(C==="script"?E="text/javascript":C==="style"&&(E="text/css"),E=d(v)||E,E.search("text/css")>-1?N="css":E.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?N="javascript":E.search(/(text|application|dojo)\/(x-)?(html)/)>-1?N="html":E.search(/test\/null/)>-1&&(N="null"),N):null};function O(C,v){return v.indexOf(C)!==-1}function k(C,v,E){this.parent=C||null,this.tag=v?v.tag_name:"",this.indent_level=E||0,this.parser_token=v||null}function Z(C){this._printer=C,this._current_frame=null}Z.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},Z.prototype.record_tag=function(C){var v=new k(this._current_frame,C,this._printer.indent_level);this._current_frame=v},Z.prototype._try_pop_frame=function(C){var v=null;return C&&(v=C.parser_token,this._printer.indent_level=C.indent_level,this._current_frame=C.parent),v},Z.prototype._get_frame=function(C,v){for(var E=this._current_frame;E&&C.indexOf(E.tag)===-1;){if(v&&v.indexOf(E.tag)!==-1){E=null;break}E=E.parent}return E},Z.prototype.try_pop=function(C,v){var E=this._get_frame([C],v);return this._try_pop_frame(E)},Z.prototype.indent_to_tag=function(C){var v=this._get_frame(C);v&&(this._printer.indent_level=v.indent_level)};function I(C,v,E,N){this._source_text=C||"",v=v||{},this._js_beautify=E,this._css_beautify=N,this._tag_stack=null;var S=new i(v,"html");this._options=S,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"}I.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var C=this._source_text,v=this._options.eol;this._options.eol==="auto"&&(v=`
`,C&&R.test(C)&&(v=C.match(R)[0])),C=C.replace(_,`
`);var E=C.match(/^[\t ]*/)[0],N={text:"",type:""},S=new $(this._options),b=new y(this._options,E),n=new g(C,this._options).tokenize();this._tag_stack=new Z(b);for(var a=null,h=n.next();h.type!==w.EOF;)h.type===w.TAG_OPEN||h.type===w.COMMENT?(a=this._handle_tag_open(b,h,S,N,n),S=a):h.type===w.ATTRIBUTE||h.type===w.EQUALS||h.type===w.VALUE||h.type===w.TEXT&&!S.tag_complete?a=this._handle_inside_tag(b,h,S,N):h.type===w.TAG_CLOSE?a=this._handle_tag_close(b,h,S):h.type===w.TEXT?a=this._handle_text(b,h,S):h.type===w.CONTROL_FLOW_OPEN?a=this._handle_control_flow_open(b,h):h.type===w.CONTROL_FLOW_CLOSE?a=this._handle_control_flow_close(b,h):b.add_raw_token(h),N=a,h=n.next();var T=b._output.get_code(v);return T},I.prototype._handle_control_flow_open=function(C,v){var E={text:v.text,type:v.type};return C.set_space_before_token(v.newlines||v.whitespace_before!=="",!0),v.newlines?C.print_preserved_newlines(v):C.set_space_before_token(v.newlines||v.whitespace_before!=="",!0),C.print_token(v),C.indent(),E},I.prototype._handle_control_flow_close=function(C,v){var E={text:v.text,type:v.type};return C.deindent(),v.newlines?C.print_preserved_newlines(v):C.set_space_before_token(v.newlines||v.whitespace_before!=="",!0),C.print_token(v),E},I.prototype._handle_tag_close=function(C,v,E){var N={text:v.text,type:v.type};return C.alignment_size=0,E.tag_complete=!0,C.set_space_before_token(v.newlines||v.whitespace_before!=="",!0),E.is_unformatted?C.add_raw_token(v):(E.tag_start_char==="<"&&(C.set_space_before_token(v.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&E.has_wrapped_attrs&&C.print_newline(!1)),C.print_token(v)),E.indent_content&&!(E.is_unformatted||E.is_content_unformatted)&&(C.indent(),E.indent_content=!1),!E.is_inline_element&&!(E.is_unformatted||E.is_content_unformatted)&&C.set_wrap_point(),N},I.prototype._handle_inside_tag=function(C,v,E,N){var S=E.has_wrapped_attrs,b={text:v.text,type:v.type};return C.set_space_before_token(v.newlines||v.whitespace_before!=="",!0),E.is_unformatted?C.add_raw_token(v):E.tag_start_char==="{"&&v.type===w.TEXT?C.print_preserved_newlines(v)?(v.newlines=0,C.add_raw_token(v)):C.print_token(v):(v.type===w.ATTRIBUTE?C.set_space_before_token(!0):(v.type===w.EQUALS||v.type===w.VALUE&&v.previous.type===w.EQUALS)&&C.set_space_before_token(!1),v.type===w.ATTRIBUTE&&E.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(C.traverse_whitespace(v),S=S||v.newlines!==0),this._is_wrap_attributes_force&&E.attr_count>=this._options.wrap_attributes_min_attrs&&(N.type!==w.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(C.print_newline(!1),S=!0)),C.print_token(v),S=S||C.previous_token_wrapped(),E.has_wrapped_attrs=S),b},I.prototype._handle_text=function(C,v,E){var N={text:v.text,type:"TK_CONTENT"};return E.custom_beautifier_name?this._print_custom_beatifier_text(C,v,E):E.is_unformatted||E.is_content_unformatted?C.add_raw_token(v):(C.traverse_whitespace(v),C.print_token(v)),N},I.prototype._print_custom_beatifier_text=function(C,v,E){var N=this;if(v.text!==""){var S=v.text,b,n=1,a="",h="";E.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?b=this._js_beautify:E.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?b=this._css_beautify:E.custom_beautifier_name==="html"&&(b=function(Ae,vt){var me=new I(Ae,vt,N._js_beautify,N._css_beautify);return me.beautify()}),this._options.indent_scripts==="keep"?n=0:this._options.indent_scripts==="separate"&&(n=-C.indent_level);var T=C.get_full_indent(n);if(S=S.replace(/\n[ \t]*$/,""),E.custom_beautifier_name!=="html"&&S[0]==="<"&&S.match(/^(<!--|<!\[CDATA\[)/)){var re=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(S);if(!re){C.add_raw_token(v);return}a=T+re[1]+`
`,S=re[4],re[5]&&(h=T+re[5]),S=S.replace(/\n[ \t]*$/,""),(re[2]||re[3].indexOf(`
`)!==-1)&&(re=re[3].match(/[ \t]+$/),re&&(v.whitespace_before=re[0]))}if(S)if(b){var de=function(){this.eol=`
`};de.prototype=this._options.raw_options;var ve=new de;S=b(T+S,ve)}else{var De=v.whitespace_before;De&&(S=S.replace(new RegExp(`
(`+De+")?","g"),`
`)),S=T+S.replace(/\n/g,`
`+T)}a&&(S?S=a+S+`
`+h:S=a+h),C.print_newline(!1),S&&(v.text=S,v.whitespace_before="",v.newlines=0,C.add_raw_token(v),C.print_newline(!0))}},I.prototype._handle_tag_open=function(C,v,E,N,S){var b=this._get_tag_open_token(v);if((E.is_unformatted||E.is_content_unformatted)&&!E.is_empty_element&&v.type===w.TAG_OPEN&&!b.is_start_tag?(C.add_raw_token(v),b.start_tag_token=this._tag_stack.try_pop(b.tag_name)):(C.traverse_whitespace(v),this._set_tag_position(C,v,b,E,N),b.is_inline_element||C.set_wrap_point(),C.print_token(v)),b.is_start_tag&&this._is_wrap_attributes_force){var n=0,a;do a=S.peek(n),a.type===w.ATTRIBUTE&&(b.attr_count+=1),n+=1;while(a.type!==w.EOF&&a.type!==w.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(b.alignment_size=v.text.length+1),!b.tag_complete&&!b.is_unformatted&&(C.alignment_size=b.alignment_size),b};var $=function(C,v,E){if(this.parent=v||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="",!E)this.tag_complete=!0;else{var N;this.tag_start_char=E.text[0],this.text=E.text,this.tag_start_char==="<"?(N=E.text.match(/^<([^\s>]*)/),this.tag_check=N?N[1]:""):(N=E.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=N?N[1]:"",(E.text.startsWith("{{#>")||E.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&E.next!==null?this.tag_check=E.next.text.split(" ")[0]:this.tag_check=E.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),E.type===w.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||E.closed&&E.closed.text==="/>";var S=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(S=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!C.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(S)))}};I.prototype._get_tag_open_token=function(C){var v=new $(this._options,this._tag_stack.get_parser_token(),C);return v.alignment_size=this._options.wrap_attributes_indent_size,v.is_end_tag=v.is_end_tag||O(v.tag_check,this._options.void_elements),v.is_empty_element=v.tag_complete||v.is_start_tag&&v.is_end_tag,v.is_unformatted=!v.tag_complete&&O(v.tag_check,this._options.unformatted),v.is_content_unformatted=!v.is_empty_element&&O(v.tag_check,this._options.content_unformatted),v.is_inline_element=O(v.tag_name,this._options.inline)||this._options.inline_custom_elements&&v.tag_name.includes("-")||v.tag_start_char==="{",v},I.prototype._set_tag_position=function(C,v,E,N,S){if(E.is_empty_element||(E.is_end_tag?E.start_tag_token=this._tag_stack.try_pop(E.tag_name):(this._do_optional_end_element(E)&&(E.is_inline_element||C.print_newline(!1)),this._tag_stack.record_tag(E),(E.tag_name==="script"||E.tag_name==="style")&&!(E.is_unformatted||E.is_content_unformatted)&&(E.custom_beautifier_name=u(E.tag_check,v)))),O(E.tag_check,this._options.extra_liners)&&(C.print_newline(!1),C._output.just_added_blankline()||C.print_newline(!0)),E.is_empty_element){if(E.tag_start_char==="{"&&E.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),E.indent_content=!0;var b=C.current_line_has_match(/{{#if/);b||C.print_newline(!1)}E.tag_name==="!--"&&S.type===w.TAG_CLOSE&&N.is_end_tag&&E.text.indexOf(`
`)===-1||(E.is_inline_element||E.is_unformatted||C.print_newline(!1),this._calcluate_parent_multiline(C,E))}else if(E.is_end_tag){var n=!1;n=E.start_tag_token&&E.start_tag_token.multiline_content,n=n||!E.is_inline_element&&!(N.is_inline_element||N.is_unformatted)&&!(S.type===w.TAG_CLOSE&&E.start_tag_token===N)&&S.type!=="TK_CONTENT",(E.is_content_unformatted||E.is_unformatted)&&(n=!1),n&&C.print_newline(!1)}else E.indent_content=!E.custom_beautifier_name,E.tag_start_char==="<"&&(E.tag_name==="html"?E.indent_content=this._options.indent_inner_html:E.tag_name==="head"?E.indent_content=this._options.indent_head_inner_html:E.tag_name==="body"&&(E.indent_content=this._options.indent_body_inner_html)),!(E.is_inline_element||E.is_unformatted)&&(S.type!=="TK_CONTENT"||E.is_content_unformatted)&&C.print_newline(!1),this._calcluate_parent_multiline(C,E)},I.prototype._calcluate_parent_multiline=function(C,v){v.parent&&C._output.just_added_newline()&&!((v.is_inline_element||v.is_unformatted)&&v.parent.is_inline_element)&&(v.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"],Ee=["a","audio","del","ins","map","noscript","video"];I.prototype._do_optional_end_element=function(C){var v=null;if(!(C.is_empty_element||!C.is_start_tag||!C.parent)){if(C.tag_name==="body")v=v||this._tag_stack.try_pop("head");else if(C.tag_name==="li")v=v||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(C.tag_name==="dd"||C.tag_name==="dt")v=v||this._tag_stack.try_pop("dt",["dl"]),v=v||this._tag_stack.try_pop("dd",["dl"]);else if(C.parent.tag_name==="p"&&B.indexOf(C.tag_name)!==-1){var E=C.parent.parent;(!E||Ee.indexOf(E.tag_name)===-1)&&(v=v||this._tag_stack.try_pop("p"))}else C.tag_name==="rp"||C.tag_name==="rt"?(v=v||this._tag_stack.try_pop("rt",["ruby","rtc"]),v=v||this._tag_stack.try_pop("rp",["ruby","rtc"])):C.tag_name==="optgroup"?v=v||this._tag_stack.try_pop("optgroup",["select"]):C.tag_name==="option"?v=v||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):C.tag_name==="colgroup"?v=v||this._tag_stack.try_pop("caption",["table"]):C.tag_name==="thead"?(v=v||this._tag_stack.try_pop("caption",["table"]),v=v||this._tag_stack.try_pop("colgroup",["table"])):C.tag_name==="tbody"||C.tag_name==="tfoot"?(v=v||this._tag_stack.try_pop("caption",["table"]),v=v||this._tag_stack.try_pop("colgroup",["table"]),v=v||this._tag_stack.try_pop("thead",["table"]),v=v||this._tag_stack.try_pop("tbody",["table"])):C.tag_name==="tr"?(v=v||this._tag_stack.try_pop("caption",["table"]),v=v||this._tag_stack.try_pop("colgroup",["table"]),v=v||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(C.tag_name==="th"||C.tag_name==="td")&&(v=v||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),v=v||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return C.parent=this._tag_stack.get_parser_token(),v}},f.exports.Beautifier=I},function(f,t,r){var i=r(6).Options;function o(g){i.call(this,g,"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 i,f.exports.Options=o},function(f,t,r){var i=r(9).Tokenizer,o=r(9).TOKEN,g=r(13).Directives,w=r(14).TemplatablePattern,R=r(12).Pattern,_={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},y=new g(/<\!--/,/-->/),d=function(u,O){i.call(this,u,O),this._current_tag_name="";var k=new w(this._input).read_options(this._options),Z=new R(this._input);if(this.__patterns={word:k.until(/[\n\r\t <]/),word_control_flow_close_excluded:k.until(/[\n\r\t <}]/),single_quote:k.until_after(/'/),double_quote:k.until_after(/"/),attribute:k.until(/[\n\r\t =>]|\/>/),element_name:k.until(/[\n\r\t >\/]/),angular_control_flow_start:Z.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:Z.starting_with(/{{!--/).until_after(/--}}/),handlebars:Z.starting_with(/{{/).until_after(/}}/),handlebars_open:Z.until(/[\n\r\t }]/),handlebars_raw_close:Z.until(/}}/),comment:Z.starting_with(/<!--/).until_after(/-->/),cdata:Z.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:Z.starting_with(/<!\[/).until_after(/]>/),processing:Z.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 I=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=Z.matching(I).until_after(I)}};d.prototype=new i,d.prototype._is_comment=function(u){return!1},d.prototype._is_opening=function(u){return u.type===_.TAG_OPEN||u.type===_.CONTROL_FLOW_OPEN},d.prototype._is_closing=function(u,O){return u.type===_.TAG_CLOSE&&O&&((u.text===">"||u.text==="/>")&&O.text[0]==="<"||u.text==="}}"&&O.text[0]==="{"&&O.text[1]==="{")||u.type===_.CONTROL_FLOW_CLOSE&&u.text==="}"&&O.text.endsWith("{")},d.prototype._reset=function(){this._current_tag_name=""},d.prototype._get_next_token=function(u,O){var k=null;this._readWhitespace();var Z=this._input.peek();return Z===null?this._create_token(_.EOF,""):(k=k||this._read_open_handlebars(Z,O),k=k||this._read_attribute(Z,u,O),k=k||this._read_close(Z,O),k=k||this._read_script_and_style(Z,u),k=k||this._read_control_flows(Z,O),k=k||this._read_raw_content(Z,u,O),k=k||this._read_content_word(Z,O),k=k||this._read_comment_or_cdata(Z),k=k||this._read_processing(Z),k=k||this._read_open(Z,O),k=k||this._create_token(_.UNKNOWN,this._input.next()),k)},d.prototype._read_comment_or_cdata=function(u){var O=null,k=null,Z=null;if(u==="<"){var I=this._input.peek(1);I==="!"&&(k=this.__patterns.comment.read(),k?(Z=y.get_directives(k),Z&&Z.ignore==="start"&&(k+=y.readIgnored(this._input))):k=this.__patterns.cdata.read()),k&&(O=this._create_token(_.COMMENT,k),O.directives=Z)}return O},d.prototype._read_processing=function(u){var O=null,k=null,Z=null;if(u==="<"){var I=this._input.peek(1);(I==="!"||I==="?")&&(k=this.__patterns.conditional_comment.read(),k=k||this.__patterns.processing.read()),k&&(O=this._create_token(_.COMMENT,k),O.directives=Z)}return O},d.prototype._read_open=function(u,O){var k=null,Z=null;return(!O||O.type===_.CONTROL_FLOW_OPEN)&&u==="<"&&(k=this._input.next(),this._input.peek()==="/"&&(k+=this._input.next()),k+=this.__patterns.element_name.read(),Z=this._create_token(_.TAG_OPEN,k)),Z},d.prototype._read_open_handlebars=function(u,O){var k=null,Z=null;return(!O||O.type===_.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&u==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(k=this.__patterns.handlebars_comment.read(),k=k||this.__patterns.handlebars.read(),Z=this._create_token(_.COMMENT,k)):(k=this.__patterns.handlebars_open.read(),Z=this._create_token(_.TAG_OPEN,k))),Z},d.prototype._read_control_flows=function(u,O){var k="",Z=null;if(!this._options.templating.includes("angular"))return Z;if(u==="@"){if(k=this.__patterns.angular_control_flow_start.read(),k==="")return Z;for(var I=k.endsWith("(")?1:0,$=0;!(k.endsWith("{")&&I===$);){var B=this._input.next();if(B===null)break;B==="("?I++:B===")"&&$++,k+=B}Z=this._create_token(_.CONTROL_FLOW_OPEN,k)}else u==="}"&&O&&O.type===_.CONTROL_FLOW_OPEN&&(k=this._input.next(),Z=this._create_token(_.CONTROL_FLOW_CLOSE,k));return Z},d.prototype._read_close=function(u,O){var k=null,Z=null;return O&&O.type===_.TAG_OPEN&&(O.text[0]==="<"&&(u===">"||u==="/"&&this._input.peek(1)===">")?(k=this._input.next(),u==="/"&&(k+=this._input.next()),Z=this._create_token(_.TAG_CLOSE,k)):O.text[0]==="{"&&u==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),Z=this._create_token(_.TAG_CLOSE,"}}"))),Z},d.prototype._read_attribute=function(u,O,k){var Z=null,I="";if(k&&k.text[0]==="<")if(u==="=")Z=this._create_token(_.EQUALS,this._input.next());else if(u==='"'||u==="'"){var $=this._input.next();u==='"'?$+=this.__patterns.double_quote.read():$+=this.__patterns.single_quote.read(),Z=this._create_token(_.VALUE,$)}else I=this.__patterns.attribute.read(),I&&(O.type===_.EQUALS?Z=this._create_token(_.VALUE,I):Z=this._create_token(_.ATTRIBUTE,I));return Z},d.prototype._is_content_unformatted=function(u){return this._options.void_elements.indexOf(u)===-1&&(this._options.content_unformatted.indexOf(u)!==-1||this._options.unformatted.indexOf(u)!==-1)},d.prototype._read_raw_content=function(u,O,k){var Z="";if(k&&k.text[0]==="{")Z=this.__patterns.handlebars_raw_close.read();else if(O.type===_.TAG_CLOSE&&O.opened.text[0]==="<"&&O.text[0]!=="/"){var I=O.opened.text.substr(1).toLowerCase();this._is_content_unformatted(I)&&(Z=this._input.readUntil(new RegExp("</"+I+"[\\n\\r\\t ]*?>","ig")))}return Z?this._create_token(_.TEXT,Z):null},d.prototype._read_script_and_style=function(u,O){if(O.type===_.TAG_CLOSE&&O.opened.text[0]==="<"&&O.text[0]!=="/"){var k=O.opened.text.substr(1).toLowerCase();if(k==="script"||k==="style"){var Z=this._read_comment_or_cdata(u);if(Z)return Z.type=_.TEXT,Z;var I=this._input.readUntil(new RegExp("</"+k+"[\\n\\r\\t ]*?>","ig"));if(I)return this._create_token(_.TEXT,I)}}return null},d.prototype._read_content_word=function(u,O){var k="";return this._options.unformatted_content_delimiter&&u===this._options.unformatted_content_delimiter[0]&&(k=this.__patterns.unformatted_content_delimiter.read()),k||(k=O&&O.type===_.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),k?this._create_token(_.TEXT,k):null},f.exports.Tokenizer=d,f.exports.TOKEN=_}],H={};function e(f){var t=H[f];if(t!==void 0)return t.exports;var r=H[f]={exports:{}};return V[f](r,r.exports,e),r.exports}var s=e(18);K=s})();var G=K;if(1)P=[l,l(58553),l(87804)],D=function(V){var H=l(58553),e=l(87804);return{html_beautify:function(s,f){return G(s,f,H.js_beautify,e.css_beautify)}}}.apply(Ze,P),D!==void 0&&(Bt.exports=D);else var j,p})()},58553:function(Bt,Ze){var l,P;(function(){var D;(function(){"use strict";var G=[function(H,e,s){var f=s(1).Beautifier,t=s(5).Options;function r(i,o){var g=new f(i,o);return g.beautify()}H.exports=r,H.exports.defaultOptions=function(){return new t}},function(H,e,s){var f=s(2).Output,t=s(3).Token,r=s(4),i=s(5).Options,o=s(7).Tokenizer,g=s(7).line_starters,w=s(7).positionable_operators,R=s(7).TOKEN;function _(a,h){return h.indexOf(a)!==-1}function y(a){return a.replace(/^\s+/g,"")}function d(a){for(var h={},T=0;T<a.length;T++)h[a[T].replace(/-/g,"_")]=a[T];return h}function u(a,h){return a&&a.type===R.RESERVED&&a.text===h}function O(a,h){return a&&a.type===R.RESERVED&&_(a.text,h)}var k=["case","return","do","if","throw","else","await","break","continue","async"],Z=["before-newline","after-newline","preserve-newline"],I=d(Z),$=[I.before_newline,I.preserve_newline],B={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function Ee(a,h){h.multiline_frame||h.mode===B.ForInitializer||h.mode===B.Conditional||a.remove_indent(h.start_line_index)}function C(a){a=a.replace(r.allLineBreaks,`
`);for(var h=[],T=a.indexOf(`
`);T!==-1;)h.push(a.substring(0,T)),a=a.substring(T+1),T=a.indexOf(`
`);return a.length&&h.push(a),h}function v(a){return a===B.ArrayLiteral}function E(a){return _(a,[B.Expression,B.ForInitializer,B.Conditional])}function N(a,h){for(var T=0;T<a.length;T++){var re=a[T].trim();if(re.charAt(0)!==h)return!1}return!0}function S(a,h){for(var T=0,re=a.length,de;T<re;T++)if(de=a[T],de&&de.indexOf(h)!==0)return!1;return!0}function b(a,h){h=h||{},this._source_text=a||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new i(h)}b.prototype.create_flags=function(a,h){var T=0;a&&(T=a.indentation_level,!this._output.just_added_newline()&&a.line_indent_level>T&&(T=a.line_indent_level));var re={mode:h,parent:a,last_token:a?a.last_token:new t(R.START_BLOCK,""),last_word:a?a.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:T,alignment:0,line_indent_level:a?a.line_indent_level:T,start_line_index:this._output.get_line_number(),ternary_depth:0};return re},b.prototype._reset=function(a){var h=a.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new f(this._options,h),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(B.BlockStatement);var T=new o(a,this._options);return this._tokens=T.tokenize(),a},b.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var a,h=this._reset(this._source_text),T=this._options.eol;this._options.eol==="auto"&&(T=`
`,h&&r.lineBreak.test(h||"")&&(T=h.match(r.lineBreak)[0]));for(var re=this._tokens.next();re;)this.handle_token(re),this._last_last_text=this._flags.last_token.text,this._flags.last_token=re,re=this._tokens.next();return a=this._output.get_code(T),a},b.prototype.handle_token=function(a,h){a.type===R.START_EXPR?this.handle_start_expr(a):a.type===R.END_EXPR?this.handle_end_expr(a):a.type===R.START_BLOCK?this.handle_start_block(a):a.type===R.END_BLOCK?this.handle_end_block(a):a.type===R.WORD?this.handle_word(a):a.type===R.RESERVED?this.handle_word(a):a.type===R.SEMICOLON?this.handle_semicolon(a):a.type===R.STRING?this.handle_string(a):a.type===R.EQUALS?this.handle_equals(a):a.type===R.OPERATOR?this.handle_operator(a):a.type===R.COMMA?this.handle_comma(a):a.type===R.BLOCK_COMMENT?this.handle_block_comment(a,h):a.type===R.COMMENT?this.handle_comment(a,h):a.type===R.DOT?this.handle_dot(a):a.type===R.EOF?this.handle_eof(a):a.type===R.UNKNOWN?this.handle_unknown(a,h):this.handle_unknown(a,h)},b.prototype.handle_whitespace_and_comments=function(a,h){var T=a.newlines,re=this._options.keep_array_indentation&&v(this._flags.mode);if(a.comments_before)for(var de=a.comments_before.next();de;)this.handle_whitespace_and_comments(de,h),this.handle_token(de,h),de=a.comments_before.next();if(re)for(var ve=0;ve<T;ve+=1)this.print_newline(ve>0,h);else if(this._options.max_preserve_newlines&&T>this._options.max_preserve_newlines&&(T=this._options.max_preserve_newlines),this._options.preserve_newlines&&T>1){this.print_newline(!1,h);for(var De=1;De<T;De+=1)this.print_newline(!0,h)}};var n=["async","break","continue","return","throw","yield"];b.prototype.allow_wrap_or_preserved_newline=function(a,h){if(h=h===void 0?!1:h,!this._output.just_added_newline()){var T=this._options.preserve_newlines&&a.newlines||h,re=_(this._flags.last_token.text,w)||_(a.text,w);if(re){var de=_(this._flags.last_token.text,w)&&_(this._options.operator_position,$)||_(a.text,w);T=T&&de}if(T)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(O(this._flags.last_token,n))return;this._output.set_wrap_point()}}},b.prototype.print_newline=function(a,h){if(!h&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==R.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var T=this._tokens.peek();this._flags.mode===B.Statement&&!(this._flags.if_block&&u(T,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(a)&&(this._flags.multiline_frame=!0)},b.prototype.print_token_line_indentation=function(a){this._output.just_added_newline()&&(this._options.keep_array_indentation&&a.newlines&&(a.text==="["||v(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(a.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},b.prototype.print_token=function(a){if(this._output.raw){this._output.add_raw_token(a);return}if(this._options.comma_first&&a.previous&&a.previous.type===R.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var h=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(h),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(a),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(a),this._output.non_breaking_space=!0,this._output.add_token(a.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},b.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},b.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))},b.prototype.set_mode=function(a){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,a),this._flags=this.create_flags(this._previous_flags,a),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},b.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&&Ee(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},b.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||O(this._flags.last_token,["get","set"]))},b.prototype.start_of_statement=function(a){var h=!1;return h=h||O(this._flags.last_token,["var","let","const"])&&a.type===R.WORD,h=h||u(this._flags.last_token,"do"),h=h||!(this._flags.parent.mode===B.ObjectLiteral&&this._flags.mode===B.Statement)&&O(this._flags.last_token,n)&&!a.newlines,h=h||u(this._flags.last_token,"else")&&!(u(a,"if")&&!a.comments_before),h=h||this._flags.last_token.type===R.END_EXPR&&(this._previous_flags.mode===B.ForInitializer||this._previous_flags.mode===B.Conditional),h=h||this._flags.last_token.type===R.WORD&&this._flags.mode===B.BlockStatement&&!this._flags.in_case&&!(a.text==="--"||a.text==="++")&&this._last_last_text!=="function"&&a.type!==R.WORD&&a.type!==R.RESERVED,h=h||this._flags.mode===B.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||O(this._flags.last_token,["get","set"])),h?(this.set_mode(B.Statement),this.indent(),this.handle_whitespace_and_comments(a,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(a,O(a,["do","for","if","while"])),!0):!1},b.prototype.handle_start_expr=function(a){this.start_of_statement(a)||this.handle_whitespace_and_comments(a);var h=B.Expression;if(a.text==="["){if(this._flags.last_token.type===R.WORD||this._flags.last_token.text===")"){O(this._flags.last_token,g)&&(this._output.space_before_token=!0),this.print_token(a),this.set_mode(h),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}h=B.ArrayLiteral,v(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()),_(this._flags.last_token.type,[R.START_EXPR,R.END_EXPR,R.WORD,R.OPERATOR,R.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===R.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,h=B.ForInitializer):_(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,h=B.Conditional):_(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&a.whitespace_before===""?this._output.space_before_token=!1:(_(this._flags.last_token.text,g)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===R.EQUALS||this._flags.last_token.type===R.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(a);else if(this._flags.last_token.type===R.WORD){this._output.space_before_token=!1;var T=this._tokens.peek(-3);if(this._options.space_after_named_function&&T){var re=this._tokens.peek(-4);O(T,["async","function"])||T.text==="*"&&O(re,["async","function"])?this._output.space_before_token=!0:this._flags.mode===B.ObjectLiteral?(T.text==="{"||T.text===","||T.text==="*"&&(re.text==="{"||re.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(a);(this._flags.last_token.type===R.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(_(this._last_last_text,["function","yield"])||this._flags.mode===B.ObjectLiteral&&_(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===R.START_BLOCK?this.print_newline():(this._flags.last_token.type===R.END_EXPR||this._flags.last_token.type===R.START_EXPR||this._flags.last_token.type===R.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===R.COMMA)&&this.allow_wrap_or_preserved_newline(a,a.newlines),this.print_token(a),this.set_mode(h),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},b.prototype.handle_end_expr=function(a){for(;this._flags.mode===B.Statement;)this.restore_mode();this.handle_whitespace_and_comments(a),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(a,a.text==="]"&&v(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===R.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(a),this.restore_mode(),Ee(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)},b.prototype.handle_start_block=function(a){this.handle_whitespace_and_comments(a);var h=this._tokens.peek(),T=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===R.END_EXPR?(this.set_mode(B.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(B.BlockStatement):T&&(_(T.text,[":",","])&&_(h.type,[R.STRING,R.WORD,R.RESERVED])||_(h.text,["get","set","..."])&&_(T.type,[R.WORD,R.RESERVED]))?_(this._last_last_text,["class","interface"])&&!_(T.text,[":",","])?this.set_mode(B.BlockStatement):this.set_mode(B.ObjectLiteral):this._flags.last_token.type===R.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(B.BlockStatement):_(this._flags.last_token.type,[R.EQUALS,R.START_EXPR,R.COMMA,R.OPERATOR])||O(this._flags.last_token,["return","throw","import","default"])?this.set_mode(B.ObjectLiteral):this.set_mode(B.BlockStatement),this._flags.last_token&&O(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var re=!h.comments_before&&h.text==="}",de=re&&this._flags.last_word==="function"&&this._flags.last_token.type===R.END_EXPR;if(this._options.brace_preserve_inline){var ve=0,De=null;this._flags.inline_frame=!0;do if(ve+=1,De=this._tokens.peek(ve-1),De.newlines){this._flags.inline_frame=!1;break}while(De.type!==R.EOF&&!(De.type===R.END_BLOCK&&De.opened===a))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&a.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==R.OPERATOR&&(de||this._flags.last_token.type===R.EQUALS||O(this._flags.last_token,k)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(v(this._previous_flags.mode)&&(this._flags.last_token.type===R.START_EXPR||this._flags.last_token.type===R.COMMA)&&((this._flags.last_token.type===R.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===R.COMMA||this._flags.last_token.type===R.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(a),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==R.OPERATOR&&this._flags.last_token.type!==R.START_EXPR&&(_(this._flags.last_token.type,[R.START_BLOCK,R.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(a),this.indent(),!re&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},b.prototype.handle_end_block=function(a){for(this.handle_whitespace_and_comments(a);this._flags.mode===B.Statement;)this.restore_mode();var h=this._flags.last_token.type===R.START_BLOCK;this._flags.inline_frame&&!h?this._output.space_before_token=!0:this._options.brace_style==="expand"?h||this.print_newline():h||(v(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(a)},b.prototype.handle_word=function(a){if(a.type===R.RESERVED){if(_(a.text,["set","get"])&&this._flags.mode!==B.ObjectLiteral)a.type=R.WORD;else if(a.text==="import"&&_(this._tokens.peek().text,["(","."]))a.type=R.WORD;else if(_(a.text,["as","from"])&&!this._flags.import_block)a.type=R.WORD;else if(this._flags.mode===B.ObjectLiteral){var h=this._tokens.peek();h.text===":"&&(a.type=R.WORD)}}if(this.start_of_statement(a)?O(this._flags.last_token,["var","let","const"])&&a.type===R.WORD&&(this._flags.declaration_statement=!0):a.newlines&&!E(this._flags.mode)&&(this._flags.last_token.type!==R.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==R.EQUALS&&(this._options.preserve_newlines||!O(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(a),this.print_newline()):this.handle_whitespace_and_comments(a),this._flags.do_block&&!this._flags.do_while)if(u(a,"while")){this._output.space_before_token=!0,this.print_token(a),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&u(a,"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&&O(a,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(a),this._flags.in_case=!0;return}if((this._flags.last_token.type===R.COMMA||this._flags.last_token.type===R.START_EXPR||this._flags.last_token.type===R.EQUALS||this._flags.last_token.type===R.OPERATOR)&&!this.start_of_object_property()&&!(_(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===B.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(a),u(a,"function")){(_(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(_(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===R.OPERATOR))&&!this._output.just_added_blankline()&&!a.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===R.RESERVED||this._flags.last_token.type===R.WORD?O(this._flags.last_token,["get","set","new","export"])||O(this._flags.last_token,n)?this._output.space_before_token=!0:u(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===R.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(E(this._flags.mode)||v(this._flags.mode))||this.print_newline(),this.print_token(a),this._flags.last_word=a.text;return}var T="NONE";if(this._flags.last_token.type===R.END_BLOCK?this._previous_flags.inline_frame?T="SPACE":O(a,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&a.newlines?T="NEWLINE":(T="SPACE",this._output.space_before_token=!0):T="NEWLINE":this._flags.last_token.type===R.SEMICOLON&&this._flags.mode===B.BlockStatement?T="NEWLINE":this._flags.last_token.type===R.SEMICOLON&&E(this._flags.mode)?T="SPACE":this._flags.last_token.type===R.STRING?T="NEWLINE":this._flags.last_token.type===R.RESERVED||this._flags.last_token.type===R.WORD||this._flags.last_token.text==="*"&&(_(this._last_last_text,["function","yield"])||this._flags.mode===B.ObjectLiteral&&_(this._last_last_text,["{",","]))?T="SPACE":this._flags.last_token.type===R.START_BLOCK?this._flags.inline_frame?T="SPACE":T="NEWLINE":this._flags.last_token.type===R.END_EXPR&&(this._output.space_before_token=!0,T="NEWLINE"),O(a,g)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?T="SPACE":T="NEWLINE"),O(a,["else","catch","finally"]))if((!(this._flags.last_token.type===R.END_BLOCK&&this._previous_flags.mode===B.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&a.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var re=this._output.current_line;re.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else T==="NEWLINE"?O(this._flags.last_token,k)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&O(a,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==R.END_EXPR?(this._flags.last_token.type!==R.START_EXPR||!O(a,["var","let","const"]))&&this._flags.last_token.text!==":"&&(u(a,"if")&&u(a.previous,"else")?this._output.space_before_token=!0:this.print_newline()):O(a,g)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&v(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():T==="SPACE"&&(this._output.space_before_token=!0);a.previous&&(a.previous.type===R.WORD||a.previous.type===R.RESERVED)&&(this._output.space_before_token=!0),this.print_token(a),this._flags.last_word=a.text,a.type===R.RESERVED&&(a.text==="do"?this._flags.do_block=!0:a.text==="if"?this._flags.if_block=!0:a.text==="import"?this._flags.import_block=!0:this._flags.import_block&&u(a,"from")&&(this._flags.import_block=!1))},b.prototype.handle_semicolon=function(a){this.start_of_statement(a)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(a);for(var h=this._tokens.peek();this._flags.mode===B.Statement&&!(this._flags.if_block&&u(h,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(a)},b.prototype.handle_string=function(a){a.text.startsWith("`")&&a.newlines===0&&a.whitespace_before===""&&(a.previous.text===")"||this._flags.last_token.type===R.WORD)||(this.start_of_statement(a)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(a),this._flags.last_token.type===R.RESERVED||this._flags.last_token.type===R.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===R.COMMA||this._flags.last_token.type===R.START_EXPR||this._flags.last_token.type===R.EQUALS||this._flags.last_token.type===R.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(a):a.text.startsWith("`")&&this._flags.last_token.type===R.END_EXPR&&(a.previous.text==="]"||a.previous.text===")")&&a.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(a)},b.prototype.handle_equals=function(a){this.start_of_statement(a)||this.handle_whitespace_and_comments(a),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(a),this._output.space_before_token=!0},b.prototype.handle_comma=function(a){this.handle_whitespace_and_comments(a,!0),this.print_token(a),this._output.space_before_token=!0,this._flags.declaration_statement?(E(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(a)):this._flags.mode===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(a)},b.prototype.handle_operator=function(a){var h=a.text==="*"&&(O(this._flags.last_token,["function","yield"])||_(this._flags.last_token.type,[R.START_BLOCK,R.COMMA,R.END_BLOCK,R.SEMICOLON])),T=_(a.text,["-","+"])&&(_(this._flags.last_token.type,[R.START_BLOCK,R.START_EXPR,R.EQUALS,R.OPERATOR])||_(this._flags.last_token.text,g)||this._flags.last_token.text===",");if(!this.start_of_statement(a)){var re=!h;this.handle_whitespace_and_comments(a,re)}if(a.text==="*"&&this._flags.last_token.type===R.DOT){this.print_token(a);return}if(a.text==="::"){this.print_token(a);return}if(_(a.text,["-","+"])&&this.start_of_object_property()){this.print_token(a);return}if(this._flags.last_token.type===R.OPERATOR&&_(this._options.operator_position,$)&&this.allow_wrap_or_preserved_newline(a),a.text===":"&&this._flags.in_case){this.print_token(a),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==R.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 de=!0,ve=!0,De=!1;if(a.text===":"?this._flags.ternary_depth===0?de=!1:(this._flags.ternary_depth-=1,De=!0):a.text==="?"&&(this._flags.ternary_depth+=1),!T&&!h&&this._options.preserve_newlines&&_(a.text,w)){var Ae=a.text===":",vt=Ae&&De,me=Ae&&!De;switch(this._options.operator_position){case I.before_newline:this._output.space_before_token=!me,this.print_token(a),(!Ae||vt)&&this.allow_wrap_or_preserved_newline(a),this._output.space_before_token=!0;return;case I.after_newline:this._output.space_before_token=!0,!Ae||vt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(a):this._output.space_before_token=!1,this.print_token(a),this._output.space_before_token=!0;return;case I.preserve_newline:me||this.allow_wrap_or_preserved_newline(a),de=!(this._output.just_added_newline()||me),this._output.space_before_token=de,this.print_token(a),this._output.space_before_token=!0;return}}if(h){this.allow_wrap_or_preserved_newline(a),de=!1;var Xe=this._tokens.peek();ve=Xe&&_(Xe.type,[R.WORD,R.RESERVED])}else if(a.text==="...")this.allow_wrap_or_preserved_newline(a),de=this._flags.last_token.type===R.START_BLOCK,ve=!1;else if(_(a.text,["--","++","!","~"])||T){if((this._flags.last_token.type===R.COMMA||this._flags.last_token.type===R.START_EXPR)&&this.allow_wrap_or_preserved_newline(a),de=!1,ve=!1,a.newlines&&(a.text==="--"||a.text==="++"||a.text==="~")){var Ne=O(this._flags.last_token,k)&&a.newlines;Ne&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Ne,!0)}this._flags.last_token.text===";"&&E(this._flags.mode)&&(de=!0),this._flags.last_token.type===R.RESERVED?de=!0:this._flags.last_token.type===R.END_EXPR?de=!(this._flags.last_token.text==="]"&&(a.text==="--"||a.text==="++")):this._flags.last_token.type===R.OPERATOR&&(de=_(a.text,["--","-","++","+"])&&_(this._flags.last_token.text,["--","-","++","+"]),_(a.text,["+","-"])&&_(this._flags.last_token.text,["--","++"])&&(ve=!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||de,this.print_token(a),this._output.space_before_token=ve},b.prototype.handle_block_comment=function(a,h){if(this._output.raw){this._output.add_raw_token(a),a.directives&&a.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(a.directives){this.print_newline(!1,h),this.print_token(a),a.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!r.newline.test(a.text)&&!a.newlines){this._output.space_before_token=!0,this.print_token(a),this._output.space_before_token=!0;return}else this.print_block_commment(a,h)},b.prototype.print_block_commment=function(a,h){var T=C(a.text),re,de=!1,ve=!1,De=a.whitespace_before,Ae=De.length;if(this.print_newline(!1,h),this.print_token_line_indentation(a),this._output.add_token(T[0]),this.print_newline(!1,h),T.length>1){for(T=T.slice(1),de=N(T,"*"),ve=S(T,De),de&&(this._flags.alignment=1),re=0;re<T.length;re++)de?(this.print_token_line_indentation(a),this._output.add_token(y(T[re]))):ve&&T[re]?(this.print_token_line_indentation(a),this._output.add_token(T[re].substring(Ae))):(this._output.current_line.set_indent(-1),this._output.add_token(T[re])),this.print_newline(!1,h);this._flags.alignment=0}},b.prototype.handle_comment=function(a,h){a.newlines?this.print_newline(!1,h):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(a),this.print_newline(!1,h)},b.prototype.handle_dot=function(a){this.start_of_statement(a)||this.handle_whitespace_and_comments(a,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),O(this._flags.last_token,k)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(a,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(a)},b.prototype.handle_unknown=function(a,h){this.print_token(a),a.text[a.text.length-1]===`
`&&this.print_newline(!1,h)},b.prototype.handle_eof=function(a){for(;this._flags.mode===B.Statement;)this.restore_mode();this.handle_whitespace_and_comments(a)},H.exports.Beautifier=b},function(H){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 i=this.__base_string_length;return r=r||0,t<0&&(i=0),i+=t*this.__indent_size,i+=r,i},s.prototype.get_indent_string=function(t,r){var i=this.__base_string;return r=r||0,t<0&&(t=0,i=""),r+=t*this.__indent_size,this.__ensure_cache(r),i+=this.__cache[r],i},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,i="";this.__indent_size&&t>=this.__indent_size&&(r=Math.floor(t/this.__indent_size),t-=r*this.__indent_size,i=new Array(r+1).join(this.__indent_string)),t&&(i+=new Array(t+1).join(" ")),this.__cache.push(i)};function f(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()}f.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},f.prototype.get_line_number=function(){return this.__lines.length},f.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},f.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},f.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},f.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},f.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 i=this.__lines.join(`
`);return t!==`
`&&(i=i.replace(/[\n]/g,t)),i},f.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},f.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)},f.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},f.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()},f.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(" "))},f.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()},f.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},f.prototype.just_added_newline=function(){return this.current_line.is_empty()},f.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},f.prototype.ensure_empty_line_above=function(t,r){for(var i=this.__lines.length-2;i>=0;){var o=this.__lines[i];if(o.is_empty())break;if(o.item(0).indexOf(t)!==0&&o.item(-1)!==r){this.__lines.splice(i+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}i--}},H.exports.Output=f},function(H){function e(s,f,t,r){this.type=s,this.text=f,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}H.exports.Token=e},function(H,e){var s="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",f="\\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",i="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",o="(?:"+i+"|["+s+t+"])",g="(?:"+i+"|["+f+t+r+"])*";e.identifier=new RegExp(o+g,"g"),e.identifierStart=new RegExp(o),e.identifierMatch=new RegExp("(?:"+i+"|["+f+t+r+"])+");var w=/[\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(H,e,s){var f=s(6).Options,t=["before-newline","after-newline","preserve-newline"];function r(i){f.call(this,i,"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 g=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var w=0;w<g.length;w++)g[w]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=g[w];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 f,H.exports.Options=r},function(H){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 i=this.raw_options[t],o=r||[];return typeof i=="object"?i!==null&&typeof i.concat=="function"&&(o=i.concat()):typeof i=="string"&&(o=i.split(/[^a-zA-Z0-9_\/\-]+/)),o},e.prototype._get_boolean=function(t,r){var i=this.raw_options[t],o=i===void 0?!!r:!!i;return o},e.prototype._get_characters=function(t,r){var i=this.raw_options[t],o=r||"";return typeof i=="string"&&(o=i.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),o},e.prototype._get_number=function(t,r){var i=this.raw_options[t];r=parseInt(r,10),isNaN(r)&&(r=0);var o=parseInt(i,10);return isNaN(o)&&(o=r),o},e.prototype._get_selection=function(t,r,i){var o=this._get_selection_list(t,r,i);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,i){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(i=i||[r[0]],!this._is_valid_selection(i,r))throw new Error("Invalid Default Value!");var o=this._get_array(t,i);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(i){return r.indexOf(i)===-1})};function s(t,r){var i={};t=f(t);var o;for(o in t)o!==r&&(i[o]=t[o]);if(r&&t[r])for(o in t[r])i[o]=t[r][o];return i}function f(t){var r={},i;for(i in t){var o=i.replace(/-/g,"_");r[o]=t[i]}return r}H.exports.Options=e,H.exports.normalizeOpts=f,H.exports.mergeOpts=s},function(H,e,s){var f=s(8).InputScanner,t=s(9).Tokenizer,r=s(9).TOKEN,i=s(13).Directives,o=s(4),g=s(12).Pattern,w=s(14).TemplatablePattern;function R(N,S){return S.indexOf(N)!==-1}var _={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},y=new i(/\/\*/,/\*\//),d=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,u=/[0-9]/,O=/[^\d\.]/,k=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),Z=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";Z=Z.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),Z="\\?\\.(?!\\d) "+Z,Z=Z.replace(/ /g,"|");var I=new RegExp(Z),$="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),B=$.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),Ee=new RegExp("^(?:"+B.join("|")+")$"),C,v=function(N,S){t.call(this,N,S),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var b=new g(this._input),n=new w(this._input).read_options(this._options);this.__patterns={template:n,identifier:n.starting_with(o.identifier).matching(o.identifierMatch),number:b.matching(d),punct:b.matching(I),comment:b.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:b.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:b.matching(/<!--/),html_comment_end:b.matching(/-->/),include:b.starting_with(/#include/).until_after(o.lineBreak),shebang:b.starting_with(/#!/).until_after(o.lineBreak),xml:b.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(/[`}\\]/)}};v.prototype=new t,v.prototype._is_comment=function(N){return N.type===_.COMMENT||N.type===_.BLOCK_COMMENT||N.type===_.UNKNOWN},v.prototype._is_opening=function(N){return N.type===_.START_BLOCK||N.type===_.START_EXPR},v.prototype._is_closing=function(N,S){return(N.type===_.END_BLOCK||N.type===_.END_EXPR)&&S&&(N.text==="]"&&S.text==="["||N.text===")"&&S.text==="("||N.text==="}"&&S.text==="{")},v.prototype._reset=function(){C=!1},v.prototype._get_next_token=function(N,S){var b=null;this._readWhitespace();var n=this._input.peek();return n===null?this._create_token(_.EOF,""):(b=b||this._read_non_javascript(n),b=b||this._read_string(n),b=b||this._read_pair(n,this._input.peek(1)),b=b||this._read_word(N),b=b||this._read_singles(n),b=b||this._read_comment(n),b=b||this._read_regexp(n,N),b=b||this._read_xml(n,N),b=b||this._read_punctuation(),b=b||this._create_token(_.UNKNOWN,this._input.next()),b)},v.prototype._read_word=function(N){var S;if(S=this.__patterns.identifier.read(),S!=="")return S=S.replace(o.allLineBreaks,`
`),!(N.type===_.DOT||N.type===_.RESERVED&&(N.text==="set"||N.text==="get"))&&Ee.test(S)?(S==="in"||S==="of")&&(N.type===_.WORD||N.type===_.STRING)?this._create_token(_.OPERATOR,S):this._create_token(_.RESERVED,S):this._create_token(_.WORD,S);if(S=this.__patterns.number.read(),S!=="")return this._create_token(_.WORD,S)},v.prototype._read_singles=function(N){var S=null;return N==="("||N==="["?S=this._create_token(_.START_EXPR,N):N===")"||N==="]"?S=this._create_token(_.END_EXPR,N):N==="{"?S=this._create_token(_.START_BLOCK,N):N==="}"?S=this._create_token(_.END_BLOCK,N):N===";"?S=this._create_token(_.SEMICOLON,N):N==="."&&O.test(this._input.peek(1))?S=this._create_token(_.DOT,N):N===","&&(S=this._create_token(_.COMMA,N)),S&&this._input.next(),S},v.prototype._read_pair=function(N,S){var b=null;return N==="#"&&S==="{"&&(b=this._create_token(_.START_BLOCK,N+S)),b&&(this._input.next(),this._input.next()),b},v.prototype._read_punctuation=function(){var N=this.__patterns.punct.read();if(N!=="")return N==="="?this._create_token(_.EQUALS,N):N==="?."?this._create_token(_.DOT,N):this._create_token(_.OPERATOR,N)},v.prototype._read_non_javascript=function(N){var S="";if(N==="#"){if(this._is_first_token()&&(S=this.__patterns.shebang.read(),S))return this._create_token(_.UNKNOWN,S.trim()+`
`);if(S=this.__patterns.include.read(),S)return this._create_token(_.UNKNOWN,S.trim()+`
`);N=this._input.next();var b="#";if(this._input.hasNext()&&this._input.testChar(u)){do N=this._input.next(),b+=N;while(this._input.hasNext()&&N!=="#"&&N!=="=");return N==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(b+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(b+="{}",this._input.next(),this._input.next())),this._create_token(_.WORD,b)}this._input.back()}else if(N==="<"&&this._is_first_token()){if(S=this.__patterns.html_comment_start.read(),S){for(;this._input.hasNext()&&!this._input.testChar(o.newline);)S+=this._input.next();return C=!0,this._create_token(_.COMMENT,S)}}else if(C&&N==="-"&&(S=this.__patterns.html_comment_end.read(),S))return C=!1,this._create_token(_.COMMENT,S);return null},v.prototype._read_comment=function(N){var S=null;if(N==="/"){var b="";if(this._input.peek(1)==="*"){b=this.__patterns.block_comment.read();var n=y.get_directives(b);n&&n.ignore==="start"&&(b+=y.readIgnored(this._input)),b=b.replace(o.allLineBreaks,`
`),S=this._create_token(_.BLOCK_COMMENT,b),S.directives=n}else this._input.peek(1)==="/"&&(b=this.__patterns.comment.read(),S=this._create_token(_.COMMENT,b))}return S},v.prototype._read_string=function(N){if(N==="`"||N==="'"||N==='"'){var S=this._input.next();return this.has_char_escapes=!1,N==="`"?S+=this._read_string_recursive("`",!0,"${"):S+=this._read_string_recursive(N),this.has_char_escapes&&this._options.unescape_strings&&(S=E(S)),this._input.peek()===N&&(S+=this._input.next()),S=S.replace(o.allLineBreaks,`
`),this._create_token(_.STRING,S)}return null},v.prototype._allow_regexp_or_xml=function(N){return N.type===_.RESERVED&&R(N.text,["return","case","throw","else","do","typeof","yield"])||N.type===_.END_EXPR&&N.text===")"&&N.opened.previous.type===_.RESERVED&&R(N.opened.previous.text,["if","while","for"])||R(N.type,[_.COMMENT,_.START_EXPR,_.START_BLOCK,_.START,_.END_BLOCK,_.OPERATOR,_.EQUALS,_.EOF,_.SEMICOLON,_.COMMA])},v.prototype._read_regexp=function(N,S){if(N==="/"&&this._allow_regexp_or_xml(S)){for(var b=this._input.next(),n=!1,a=!1;this._input.hasNext()&&(n||a||this._input.peek()!==N)&&!this._input.testChar(o.newline);)b+=this._input.peek(),n?n=!1:(n=this._input.peek()==="\\",this._input.peek()==="["?a=!0:this._input.peek()==="]"&&(a=!1)),this._input.next();return this._input.peek()===N&&(b+=this._input.next(),b+=this._input.read(o.identifier)),this._create_token(_.STRING,b)}return null},v.prototype._read_xml=function(N,S){if(this._options.e4x&&N==="<"&&this._allow_regexp_or_xml(S)){var b="",n=this.__patterns.xml.read_match();if(n){for(var a=n[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),h=a.indexOf("{")===0,T=0;n;){var re=!!n[1],de=n[2],ve=!!n[n.length-1]||de.slice(0,8)==="![CDATA[";if(!ve&&(de===a||h&&de.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(re?--T:++T),b+=n[0],T<=0)break;n=this.__patterns.xml.read_match()}return n||(b+=this._input.match(/[\s\S]*/g)[0]),b=b.replace(o.allLineBreaks,`
`),this._create_token(_.STRING,b)}}return null};function E(N){for(var S="",b=0,n=new f(N),a=null;n.hasNext();)if(a=n.match(/([\s]|[^\\]|\\\\)+/g),a&&(S+=a[0]),n.peek()==="\\"){if(n.next(),n.peek()==="x")a=n.match(/x([0-9A-Fa-f]{2})/g);else if(n.peek()==="u")a=n.match(/u([0-9A-Fa-f]{4})/g),a||(a=n.match(/u\{([0-9A-Fa-f]+)\}/g));else{S+="\\",n.hasNext()&&(S+=n.next());continue}if(!a||(b=parseInt(a[1],16),b>126&&b<=255&&a[0].indexOf("x")===0))return N;b>=0&&b<32||b>1114111?S+="\\"+a[0]:b===34||b===39||b===92?S+="\\"+String.fromCharCode(b):S+=String.fromCharCode(b)}return S}v.prototype._read_string_recursive=function(N,S,b){var n,a;N==="'"?a=this.__patterns.single_quote:N==='"'?a=this.__patterns.double_quote:N==="`"?a=this.__patterns.template_text:N==="}"&&(a=this.__patterns.template_expression);for(var h=a.read(),T="";this._input.hasNext();){if(T=this._input.next(),T===N||!S&&o.newline.test(T)){this._input.back();break}else T==="\\"&&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(),T+=this._input.next()):b&&(b==="${"&&T==="$"&&this._input.peek()==="{"&&(T+=this._input.next()),b===T&&(N==="`"?T+=this._read_string_recursive("}",S,"`"):T+=this._read_string_recursive("`",S,"${"),this._input.hasNext()&&(T+=this._input.next())));T+=a.read(),h+=T}return h},H.exports.Tokenizer=v,H.exports.TOKEN=_,H.exports.positionable_operators=k.slice(),H.exports.line_starters=$.slice()},function(H){var e=RegExp.prototype.hasOwnProperty("sticky");function s(f){this.__input=f||"",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 f=null;return this.hasNext()&&(f=this.__input.charAt(this.__position),this.__position+=1),f},s.prototype.peek=function(f){var t=null;return f=f||0,f+=this.__position,f>=0&&f<this.__input_length&&(t=this.__input.charAt(f)),t},s.prototype.__match=function(f,t){f.lastIndex=t;var r=f.exec(this.__input);return r&&!(e&&f.sticky)&&r.index!==t&&(r=null),r},s.prototype.test=function(f,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(f,t):!1},s.prototype.testChar=function(f,t){var r=this.peek(t);return f.lastIndex=0,r!==null&&f.test(r)},s.prototype.match=function(f){var t=this.__match(f,this.__position);return t?this.__position+=t[0].length:t=null,t},s.prototype.read=function(f,t,r){var i="",o;return f&&(o=this.match(f),o&&(i+=o[0])),t&&(o||!f)&&(i+=this.readUntil(t,r)),i},s.prototype.readUntil=function(f,t){var r="",i=this.__position;f.lastIndex=this.__position;var o=f.exec(this.__input);return o?(i=o.index,t&&(i+=o[0].length)):i=this.__input_length,r=this.__input.substring(this.__position,i),this.__position=i,r},s.prototype.readUntilAfter=function(f){return this.readUntil(f,!0)},s.prototype.get_regexp=function(f,t){var r=null,i="g";return t&&e&&(i="y"),typeof f=="string"&&f!==""?r=new RegExp(f,i):f&&(r=new RegExp(f.source,i)),r},s.prototype.get_literal_regexp=function(f){return RegExp(f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},s.prototype.peekUntilAfter=function(f){var t=this.__position,r=this.readUntilAfter(f);return this.__position=t,r},s.prototype.lookBack=function(f){var t=this.__position-1;return t>=f.length&&this.__input.substring(t-f.length,t).toLowerCase()===f},H.exports.InputScanner=s},function(H,e,s){var f=s(8).InputScanner,t=s(3).Token,r=s(10).TokenStream,i=s(11).WhitespacePattern,o={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},g=function(w,R){this._input=new f(w),this._options=R||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new i(this._input)};g.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var w,R=new t(o.START,""),_=null,y=[],d=new r;R.type!==o.EOF;){for(w=this._get_next_token(R,_);this._is_comment(w);)d.add(w),w=this._get_next_token(R,_);d.isEmpty()||(w.comments_before=d,d=new r),w.parent=_,this._is_opening(w)?(y.push(_),_=w):_&&this._is_closing(w,_)&&(w.opened=_,_.closed=w,_=y.pop(),w.parent=_),w.previous=R,R.next=w,this.__tokens.add(w),R=w}return this.__tokens},g.prototype._is_first_token=function(){return this.__tokens.isEmpty()},g.prototype._reset=function(){},g.prototype._get_next_token=function(w,R){this._readWhitespace();var _=this._input.read(/.+/g);return _?this._create_token(o.RAW,_):this._create_token(o.EOF,"")},g.prototype._is_comment=function(w){return!1},g.prototype._is_opening=function(w){return!1},g.prototype._is_closing=function(w,R){return!1},g.prototype._create_token=function(w,R){var _=new t(w,R,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return _},g.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},H.exports.Tokenizer=g,H.exports.TOKEN=o},function(H){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 f=null;return s=s||0,s+=this.__position,s>=0&&s<this.__tokens_length&&(f=this.__tokens[s]),f},e.prototype.add=function(s){this.__parent_token&&(s.parent=this.__parent_token),this.__tokens.push(s),this.__tokens_length+=1},H.exports.TokenStream=e},function(H,e,s){var f=s(12).Pattern;function t(r,i){f.call(this,r,i),i?this._line_regexp=this._input.get_regexp(i._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}t.prototype=new f,t.prototype.__set_whitespace_patterns=function(r,i){r+="\\t ",i+="\\n\\r",this._match_pattern=this._input.get_regexp("["+r+i+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+i+"]")},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 i=this.__split(this._newline_regexp,r);this.newline_count=i.length-1,this.whitespace_before_token=i[this.newline_count]}return r},t.prototype.matching=function(r,i){var o=this._create();return o.__set_whitespace_patterns(r,i),o._update(),o},t.prototype._create=function(){return new t(this._input,this)},t.prototype.__split=function(r,i){r.lastIndex=0;for(var o=0,g=[],w=r.exec(i);w;)g.push(i.substring(o,w.index)),o=w.index+w[0].length,w=r.exec(i);return o<i.length?g.push(i.substring(o,i.length)):g.push(""),g},H.exports.WhitespacePattern=t},function(H){function e(s,f){this._input=s,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,f&&(this._starting_pattern=this._input.get_regexp(f._starting_pattern,!0),this._match_pattern=this._input.get_regexp(f._match_pattern,!0),this._until_pattern=this._input.get_regexp(f._until_pattern),this._until_after=f._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 f=this._create();return f._until_after=!0,f._until_pattern=this._input.get_regexp(s),f._update(),f},e.prototype.until=function(s){var f=this._create();return f._until_after=!1,f._until_pattern=this._input.get_regexp(s),f._update(),f},e.prototype.starting_with=function(s){var f=this._create();return f._starting_pattern=this._input.get_regexp(s,!0),f._update(),f},e.prototype.matching=function(s){var f=this._create();return f._match_pattern=this._input.get_regexp(s,!0),f._update(),f},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},H.exports.Pattern=e},function(H){function e(s,f){s=typeof s=="string"?s:s.source,f=typeof f=="string"?f:f.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+f,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+f,"g")}e.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var f={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(s);t;)f[t[1]]=t[2],t=this.__directive_pattern.exec(s);return f},e.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},H.exports.Directives=e},function(H,e,s){var f=s(12).Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(i,o){f.call(this,i,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 g=new f(i);this.__patterns={handlebars_comment:g.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:g.starting_with(/{{{/).until_after(/}}}/),handlebars:g.starting_with(/{{/).until_after(/}}/),php:g.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:g.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:g.starting_with(/{%/).until_after(/%}/),django_value:g.starting_with(/{{/).until_after(/}}/),django_comment:g.starting_with(/{#/).until_after(/#}/),smarty:g.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:g.starting_with(/{\*/).until_after(/\*}/),smarty_literal:g.starting_with(/{literal}/).until_after(/{\/literal}/)}}r.prototype=new f,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(i){var o=this._create();return o._disabled[i]=!0,o._update(),o},r.prototype.read_options=function(i){var o=this._create();for(var g in t)o._disabled[g]=i.templating.indexOf(g)===-1;return o._update(),o},r.prototype.exclude=function(i){var o=this._create();return o._excluded[i]=!0,o._update(),o},r.prototype.read=function(){var i="";this._match_pattern?i=this._input.read(this._starting_pattern):i=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),i+=o,o=this._read_template();return this._until_after&&(i+=this._input.readUntilAfter(this._until_pattern)),i},r.prototype.__set_templated_pattern=function(){var i=[];this._disabled.php||i.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||i.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||i.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||i.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(i.push(this.__patterns.django._starting_pattern.source),i.push(this.__patterns.django_value._starting_pattern.source),i.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||i.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&i.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+i.join("|")+")")},r.prototype._read_template=function(){var i="",o=this._input.peek();if(o==="<"){var g=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&g==="?"&&(i=i||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&g==="%"&&(i=i||this.__patterns.erb.read())}else o==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(i=i||this.__patterns.handlebars_comment.read(),i=i||this.__patterns.handlebars_unescaped.read(),i=i||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(i=i||this.__patterns.django_value.read()),this._excluded.django||(i=i||this.__patterns.django_comment.read(),i=i||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(i=i||this.__patterns.smarty_comment.read(),i=i||this.__patterns.smarty_literal.read(),i=i||this.__patterns.smarty.read()));return i},H.exports.TemplatablePattern=r}],j={};function p(H){var e=j[H];if(e!==void 0)return e.exports;var s=j[H]={exports:{}};return G[H](s,s.exports,p),s.exports}var V=p(0);D=V})();var K=D;l=[],P=function(){return{js_beautify:K}}.apply(Ze,l),P!==void 0&&(Bt.exports=P)})()},75918:function(Bt,Ze,l){"use strict";l.d(Ze,{Wi:function(){return p},Z0:function(){return V},aU:function(){return j},eZ:function(){return e},wY:function(){return H}});var P=l(4348),D=l(69323),K=l(13268),G=function(s,f,t,r){function i(o){return o instanceof t?o:new t(function(g){g(o)})}return new(t||(t=Promise))(function(o,g){function w(y){try{_(r.next(y))}catch(d){g(d)}}function R(y){try{_(r.throw(y))}catch(d){g(d)}}function _(y){y.done?o(y.value):i(y.value).then(w,R)}_((r=r.apply(s,f||[])).next())})};class j extends D.JT{constructor(f,t="",r="",i=!0,o){super(),this._onDidChange=this._register(new P.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=f,this._label=t,this._cssClass=r,this._enabled=i,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(f){this._setLabel(f)}_setLabel(f){this._label!==f&&(this._label=f,this._onDidChange.fire({label:f}))}get tooltip(){return this._tooltip||""}set tooltip(f){this._setTooltip(f)}_setTooltip(f){this._tooltip!==f&&(this._tooltip=f,this._onDidChange.fire({tooltip:f}))}get class(){return this._cssClass}set class(f){this._setClass(f)}_setClass(f){this._cssClass!==f&&(this._cssClass=f,this._onDidChange.fire({class:f}))}get enabled(){return this._enabled}set enabled(f){this._setEnabled(f)}_setEnabled(f){this._enabled!==f&&(this._enabled=f,this._onDidChange.fire({enabled:f}))}get checked(){return this._checked}set checked(f){this._setChecked(f)}_setChecked(f){this._checked!==f&&(this._checked=f,this._onDidChange.fire({checked:f}))}run(f,t){return G(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(f))})}}class p extends D.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new P.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new P.Q5),this.onDidRun=this._onDidRun.event}run(f,t){return G(this,void 0,void 0,function*(){if(!f.enabled)return;this._onBeforeRun.fire({action:f});let r;try{yield this.runAction(f,t)}catch(i){r=i}this._onDidRun.fire({action:f,error:r})})}runAction(f,t){return G(this,void 0,void 0,function*(){yield f.run(t)})}}class V extends j{constructor(f){super(V.ID,f,f?"separator text":"separator"),this.checked=!1,this.enabled=!1}}V.ID="vs.actions.separator";class H{constructor(f,t,r,i){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=f,this.label=t,this.class=i,this._actions=r}get actions(){return this._actions}dispose(){}run(){return G(this,void 0,void 0,function*(){})}}class e extends j{constructor(){super(e.ID,K.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(Bt,Ze,l){"use strict";l.d(Ze,{ok:function(){return P}});function P(D,K){if(!D)throw new Error(K?`Assertion failed (${K})`:"Assertion Failed")}},52615:function(Bt,Ze,l){"use strict";l.d(Ze,{CM:function(){return j},JL:function(){return p},dT:function(){return H},fK:function(){return G},lA:function(){return V}});var P=l(4348);class D{constructor(){this._icons=new Map,this._onDidRegister=new P.Q5}add(s){const f=this._icons.get(s.id);f?s.description?f.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 K=new D,G=K;function j(e,s){return new V(e,s)}function p(e){return e?e.replace(/\$\((.*?)\)/g,(s,f)=>` ${f} `).trim():""}class V{constructor(s,f,t){this.id=s,this.definition=f,this.description=t,K.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var H;(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 f(i){if(i instanceof V)return["codicon","codicon-"+i.id];const o=s.exec(i.id);if(!o)return f(V.error);let[,g,w]=o;const R=["codicon","codicon-"+g];return w&&R.push("codicon-modifier-"+w.substr(1)),R}e.asClassNameArray=f;function t(i){return f(i).join(" ")}e.asClassName=t;function r(i){return"."+f(i).join(".")}e.asCSSSelector=r})(H||(H={})),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"})}(V||(V={}))},79881:function(Bt,Ze,l){"use strict";l.d(Ze,{B8:function(){return f},Cp:function(){return G},F0:function(){return H},L6:function(){return s},VV:function(){return V},b1:function(){return e},dL:function(){return K},ri:function(){return j}});class P{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(r){setTimeout(()=>{throw r.stack?new Error(r.message+`
`+r.stack):r},0)}}emit(r){this.listeners.forEach(i=>{i(r)})}onUnexpectedError(r){this.unexpectedErrorHandler(r),this.emit(r)}onUnexpectedExternalError(r){this.unexpectedErrorHandler(r)}}const D=new P;function K(t){V(t)||D.onUnexpectedError(t)}function G(t){V(t)||D.onUnexpectedExternalError(t)}function j(t){if(t instanceof Error){let{name:r,message:i}=t;const o=t.stacktrace||t.stack;return{$isError:!0,name:r,message:i,stack:o}}return t}const p="Canceled";function V(t){return t instanceof Error&&t.name===p&&t.message===p}function H(){const t=new Error(p);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 f extends Error{constructor(r){super("NotSupported"),r&&(this.message=r)}}},4348:function(Bt,Ze,l){"use strict";l.d(Ze,{D0:function(){return f},E7:function(){return t},K3:function(){return s},Q5:function(){return e},ZD:function(){return r},ju:function(){return j}});var P=l(79881),D=l(69323),K=l(34502),G=l(95830),j;(function(i){i.None=()=>D.JT.None;function o(E){return(N,S=null,b)=>{let n=!1,a;return a=E(h=>{if(!n)return a?a.dispose():n=!0,N.call(S,h)},null,b),n&&a.dispose(),a}}i.once=o;function g(E,N){return u((S,b=null,n)=>E(a=>S.call(b,N(a)),null,n))}i.map=g;function w(E,N){return u((S,b=null,n)=>E(a=>{N(a),S.call(b,a)},null,n))}i.forEach=w;function R(E,N){return u((S,b=null,n)=>E(a=>N(a)&&S.call(b,a),null,n))}i.filter=R;function _(E){return E}i.signal=_;function y(...E){return(N,S=null,b)=>(0,D.F8)(...E.map(n=>n(a=>N.call(S,a),null,b)))}i.any=y;function d(E,N,S){let b=S;return g(E,n=>(b=N(b,n),b))}i.reduce=d;function u(E){let N;const S=new e({onFirstListenerAdd(){N=E(S.fire,S)},onLastListenerRemove(){N.dispose()}});return S.event}function O(E,N,S=100,b=!1,n){let a,h,T,re=0;const de=new e({leakWarningThreshold:n,onFirstListenerAdd(){a=E(ve=>{re++,h=N(h,ve),b&&!T&&(de.fire(h),h=void 0),clearTimeout(T),T=setTimeout(()=>{const De=h;h=void 0,T=void 0,(!b||re>1)&&de.fire(De),re=0},S)})},onLastListenerRemove(){a.dispose()}});return de.event}i.debounce=O;function k(E,N=(S,b)=>S===b){let S=!0,b;return R(E,n=>{const a=S||!N(n,b);return S=!1,b=n,a})}i.latch=k;function Z(E,N){return[i.filter(E,N),i.filter(E,S=>!N(S))]}i.split=Z;function I(E,N=!1,S=[]){let b=S.slice(),n=E(T=>{b?b.push(T):h.fire(T)});const a=()=>{b&&b.forEach(T=>h.fire(T)),b=null},h=new e({onFirstListenerAdd(){n||(n=E(T=>h.fire(T)))},onFirstListenerDidAdd(){b&&(N?setTimeout(a):a())},onLastListenerRemove(){n&&n.dispose(),n=null}});return h.event}i.buffer=I;class ${constructor(N){this.event=N}map(N){return new $(g(this.event,N))}forEach(N){return new $(w(this.event,N))}filter(N){return new $(R(this.event,N))}reduce(N,S){return new $(d(this.event,N,S))}latch(){return new $(k(this.event))}debounce(N,S=100,b=!1,n){return new $(O(this.event,N,S,b,n))}on(N,S,b){return this.event(N,S,b)}once(N,S,b){return o(this.event)(N,S,b)}}function B(E){return new $(E)}i.chain=B;function Ee(E,N,S=b=>b){const b=(...T)=>h.fire(S(...T)),n=()=>E.on(N,b),a=()=>E.removeListener(N,b),h=new e({onFirstListenerAdd:n,onLastListenerRemove:a});return h.event}i.fromNodeEventEmitter=Ee;function C(E,N,S=b=>b){const b=(...T)=>h.fire(S(...T)),n=()=>E.addEventListener(N,b),a=()=>E.removeEventListener(N,b),h=new e({onFirstListenerAdd:n,onLastListenerRemove:a});return h.event}i.fromDOMEventEmitter=C;function v(E){return new Promise(N=>o(E)(N))}i.toPromise=v})(j||(j={}));class p{constructor(o){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${o}_${p._idPool++}`}start(o){this._stopWatch=new G.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}}}p._idPool=0;let V=-1;class H{constructor(o,g=Math.random().toString(18).slice(2,5)){this.customThreshold=o,this.name=g,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(o){let g=V;if(typeof this.customThreshold=="number"&&(g=this.customThreshold),g<=0||o<g)return;this._stacks||(this._stacks=new Map);const w=new Error().stack.split(`
`).slice(3).join(`
`),R=this._stacks.get(w)||0;if(this._stacks.set(w,R+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=g*.5;let _,y=0;for(const[d,u]of this._stacks)(!_||y<u)&&(_=d,y=u);console.warn(`[${this.name}] potential listener LEAK detected, having ${o} listeners already. MOST frequent listener (${y}):`),console.warn(_)}return()=>{const _=this._stacks.get(w)||0;this._stacks.set(w,_-1)}}}class e{constructor(o){var g;this._disposed=!1,this._options=o,this._leakageMon=V>0?new H(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((g=this._options)===null||g===void 0)&&g._profName?new p(this._options._profName):void 0}get event(){return this._event||(this._event=(o,g,w)=>{var R;this._listeners||(this._listeners=new K.S);const _=this._listeners.isEmpty();_&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const y=this._listeners.push(g?[o,g]:o);_&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,o,g);const d=(R=this._leakageMon)===null||R===void 0?void 0:R.check(this._listeners.size),u=(0,D.OF)(()=>{d&&d(),this._disposed||(y(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return w instanceof D.SL?w.add(u):Array.isArray(w)&&w.push(u),u}),this._event}fire(o){var g,w;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new K.S);for(let R of this._listeners)this._deliveryQueue.push([R,o]);for((g=this._perfMon)===null||g===void 0||g.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[R,_]=this._deliveryQueue.shift();try{typeof R=="function"?R.call(void 0,_):R[0].call(R[1],_)}catch(y){(0,P.dL)(y)}}(w=this._perfMon)===null||w===void 0||w.stop()}}dispose(){var o,g,w,R,_;this._disposed||(this._disposed=!0,(o=this._listeners)===null||o===void 0||o.clear(),(g=this._deliveryQueue)===null||g===void 0||g.clear(),(R=(w=this._options)===null||w===void 0?void 0:w.onLastListenerRemove)===null||R===void 0||R.call(w),(_=this._leakageMon)===null||_===void 0||_.dispose())}}class s extends e{constructor(o){super(o),this._isPaused=0,this._eventQueue=new K.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 f extends s{constructor(o){var g;super(o),this._delay=(g=o.delay)!==null&&g!==void 0?g: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(g,w,R)=>o(_=>{const y=this.buffers[this.buffers.length-1];y?y.push(()=>g.call(w,_)):g.call(w,_)},void 0,R)}bufferEvents(o){const g=[];this.buffers.push(g);const w=o();return this.buffers.pop(),g.forEach(R=>R()),w}}class r{constructor(){this.listening=!1,this.inputEvent=j.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,l){"use strict";l.d(Ze,{I:function(){return P}});function P(D){const K=this;let G=!1,j;return function(){return G||(G=!0,j=D.apply(K,arguments)),j}}},88226:function(Bt,Ze,l){"use strict";l.d(Ze,{$:function(){return P}});var P;(function(D){function K(y){return y&&typeof y=="object"&&typeof y[Symbol.iterator]=="function"}D.is=K;const G=Object.freeze([]);function j(){return G}D.empty=j;function*p(y){yield y}D.single=p;function V(y){return y||G}D.from=V;function H(y){return!y||y[Symbol.iterator]().next().done===!0}D.isEmpty=H;function e(y){return y[Symbol.iterator]().next().value}D.first=e;function s(y,d){for(const u of y)if(d(u))return!0;return!1}D.some=s;function f(y,d){for(const u of y)if(d(u))return u}D.find=f;function*t(y,d){for(const u of y)d(u)&&(yield u)}D.filter=t;function*r(y,d){let u=0;for(const O of y)yield d(O,u++)}D.map=r;function*i(...y){for(const d of y)for(const u of d)yield u}D.concat=i;function*o(y){for(const d of y)for(const u of d)yield u}D.concatNested=o;function g(y,d,u){let O=u;for(const k of y)O=d(O,k);return O}D.reduce=g;function*w(y,d,u=y.length){for(d<0&&(d+=y.length),u<0?u+=y.length:u>y.length&&(u=y.length);d<u;d++)yield y[d]}D.slice=w;function R(y,d=Number.POSITIVE_INFINITY){const u=[];if(d===0)return[u,y];const O=y[Symbol.iterator]();for(let k=0;k<d;k++){const Z=O.next();if(Z.done)return[u,D.empty()];u.push(Z.value)}return[u,{[Symbol.iterator](){return O}}]}D.consume=R;function _(y,d,u=(O,k)=>O===k){const O=y[Symbol.iterator](),k=d[Symbol.iterator]();for(;;){const Z=O.next(),I=k.next();if(Z.done!==I.done)return!1;if(Z.done)return!0;if(!u(Z.value,I.value))return!1}}D.equals=_})(P||(P={}))},69323:function(Bt,Ze,l){"use strict";l.d(Ze,{B9:function(){return r},F8:function(){return i},JT:function(){return w},Jz:function(){return _},OF:function(){return o},SL:function(){return g},Wf:function(){return t},XK:function(){return R},dk:function(){return s}});var P=l(17845),D=l(88226);const K=!1;let G=null;function j(y){G=y}if(K){const y="__is_disposable_tracked__";j(new class{trackDisposable(d){const u=new Error("Potentially leaked disposable").stack;setTimeout(()=>{d[y]||console.log(u)},3e3)}setParent(d,u){if(d&&d!==w.None)try{d[y]=!0}catch(O){}}markAsDisposed(d){if(d&&d!==w.None)try{d[y]=!0}catch(u){}}markAsSingleton(d){}})}function p(y){return G==null||G.trackDisposable(y),y}function V(y){G==null||G.markAsDisposed(y)}function H(y,d){G==null||G.setParent(y,d)}function e(y,d){if(G)for(const u of y)G.setParent(u,d)}function s(y){return G==null||G.markAsSingleton(y),y}class f extends Error{constructor(d){super(`Encountered errors while disposing of store. Errors: [${d.join(", ")}]`),this.errors=d}}function t(y){return typeof y.dispose=="function"&&y.dispose.length===0}function r(y){if(D.$.is(y)){let d=[];for(const u of y)if(u)try{u.dispose()}catch(O){d.push(O)}if(d.length===1)throw d[0];if(d.length>1)throw new f(d);return Array.isArray(y)?[]:y}else if(y)return y.dispose(),y}function i(...y){const d=o(()=>r(y));return e(y,d),d}function o(y){const d=p({dispose:(0,P.I)(()=>{V(d),y()})});return d}class g{constructor(){this._toDispose=new Set,this._isDisposed=!1,p(this)}dispose(){this._isDisposed||(V(this),this._isDisposed=!0,this.clear())}clear(){try{r(this._toDispose.values())}finally{this._toDispose.clear()}}add(d){if(!d)return d;if(d===this)throw new Error("Cannot register a disposable on itself!");return H(d,this),this._isDisposed?g.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(d),d}}g.DISABLE_DISPOSED_WARNING=!1;class w{constructor(){this._store=new g,p(this),H(this._store,this)}dispose(){V(this),this._store.dispose()}_register(d){if(d===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(d)}}w.None=Object.freeze({dispose(){}});class R{constructor(){this._isDisposed=!1,p(this)}get value(){return this._isDisposed?void 0:this._value}set value(d){var u;this._isDisposed||d===this._value||((u=this._value)===null||u===void 0||u.dispose(),d&&H(d,this),this._value=d)}clear(){this.value=void 0}dispose(){var d;this._isDisposed=!0,V(this),(d=this._value)===null||d===void 0||d.dispose(),this._value=void 0}clearAndLeak(){const d=this._value;return this._value=void 0,d&&H(d,null),d}}class _{constructor(d){this.object=d}dispose(){}}},34502:function(Bt,Ze,l){"use strict";l.d(Ze,{S:function(){return D}});class P{constructor(G){this.element=G,this.next=P.Undefined,this.prev=P.Undefined}}P.Undefined=new P(void 0);class D{constructor(){this._first=P.Undefined,this._last=P.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===P.Undefined}clear(){let G=this._first;for(;G!==P.Undefined;){const j=G.next;G.prev=P.Undefined,G.next=P.Undefined,G=j}this._first=P.Undefined,this._last=P.Undefined,this._size=0}unshift(G){return this._insert(G,!1)}push(G){return this._insert(G,!0)}_insert(G,j){const p=new P(G);if(this._first===P.Undefined)this._first=p,this._last=p;else if(j){const H=this._last;this._last=p,p.prev=H,H.next=p}else{const H=this._first;this._first=p,p.next=H,H.prev=p}this._size+=1;let V=!1;return()=>{V||(V=!0,this._remove(p))}}shift(){if(this._first!==P.Undefined){const G=this._first.element;return this._remove(this._first),G}}pop(){if(this._last!==P.Undefined){const G=this._last.element;return this._remove(this._last),G}}_remove(G){if(G.prev!==P.Undefined&&G.next!==P.Undefined){const j=G.prev;j.next=G.next,G.next.prev=j}else G.prev===P.Undefined&&G.next===P.Undefined?(this._first=P.Undefined,this._last=P.Undefined):G.next===P.Undefined?(this._last=this._last.prev,this._last.next=P.Undefined):G.prev===P.Undefined&&(this._first=this._first.next,this._first.prev=P.Undefined);this._size-=1}*[Symbol.iterator](){let G=this._first;for(;G!==P.Undefined;)yield G.element,G=G.next}}},23345:function(Bt,Ze,l){"use strict";l.d(Ze,{$L:function(){return O},ED:function(){return _},IJ:function(){return d},OS:function(){return $},WE:function(){return Z},dz:function(){return y},gn:function(){return k},li:function(){return o},r:function(){return C},tY:function(){return u},xS:function(){return I}});var P=l(97671),D;const K="en";let G=!1,j=!1,p=!1,V=!1,H=!1,e=!1,s=!1,f,t=null,r=null,i;const o=typeof self=="object"?self:typeof l.g=="object"?l.g:{};let g;typeof o.vscode!="undefined"&&typeof o.vscode.process!="undefined"?g=o.vscode.process:typeof P!="undefined"&&(g=P);const w=typeof((D=g==null?void 0:g.versions)===null||D===void 0?void 0:D.electron)=="string"&&g.type==="renderer";if(typeof navigator=="object"&&!w)i=navigator.userAgent,G=i.indexOf("Windows")>=0,j=i.indexOf("Macintosh")>=0,s=(i.indexOf("Macintosh")>=0||i.indexOf("iPad")>=0||i.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,p=i.indexOf("Linux")>=0,e=!0,f=navigator.language,t=f;else if(typeof g=="object"){G=g.platform==="win32",j=g.platform==="darwin",p=g.platform==="linux",V=p&&!!g.env.SNAP&&!!g.env.SNAP_REVISION,f=K,t=K;const v=g.env.VSCODE_NLS_CONFIG;if(v)try{const E=JSON.parse(v),N=E.availableLanguages["*"];f=E.locale,t=N||K,r=E._translationsConfigFile}catch(E){}H=!0}else console.error("Unable to resolve platform.");let R=0;j?R=1:G?R=3:p&&(R=2);const _=G,y=j,d=p,u=H,O=e,k=s,Z=i,I=function(){if(o.setImmediate)return o.setImmediate.bind(o);if(typeof o.postMessage=="function"&&!o.importScripts){let N=[];o.addEventListener("message",b=>{if(b.data&&b.data.vscodeSetImmediateId)for(let n=0,a=N.length;n<a;n++){const h=N[n];if(h.id===b.data.vscodeSetImmediateId){N.splice(n,1),h.callback();return}}});let S=0;return b=>{const n=++S;N.push({id:n,callback:b}),o.postMessage({vscodeSetImmediateId:n},"*")}}if(typeof(g==null?void 0:g.nextTick)=="function")return g.nextTick.bind(g);const E=Promise.resolve();return N=>E.then(N)}(),$=j||s?2:G?1:3;let B=!0,Ee=!1;function C(){if(!Ee){Ee=!0;const v=new Uint8Array(2);v[0]=1,v[1]=2,B=new Uint16Array(v.buffer)[0]===513}return B}},95830:function(Bt,Ze,l){"use strict";l.d(Ze,{G:function(){return K}});var P=l(23345);const D=P.li.performance&&typeof P.li.performance.now=="function";class K{constructor(j){this._highResolution=D&&j,this._startTime=this._now(),this._stopTime=-1}static create(j=!0){return new K(j)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?P.li.performance.now():Date.now()}}},82983:function(Bt,Ze,l){"use strict";l.d(Ze,{$i:function(){return re},C8:function(){return vt},GF:function(){return f},HO:function(){return S},IO:function(){return t},K7:function(){return Ae},Kw:function(){return Ne},LC:function(){return o},Mh:function(){return I},P1:function(){return $},PJ:function(){return Qe},Qe:function(){return de},R1:function(){return s},RP:function(){return h},S6:function(){return Te},TT:function(){return _},Ut:function(){return n},V8:function(){return g},WU:function(){return K},YK:function(){return Ee},YU:function(){return G},ZG:function(){return B},ZH:function(){return v},ab:function(){return ve},c1:function(){return me},df:function(){return O},ec:function(){return j},fi:function(){return ae},fy:function(){return p},j3:function(){return V},j_:function(){return d},m5:function(){return P},mK:function(){return u},mr:function(){return r},oH:function(){return c},oL:function(){return H},ok:function(){return Z},ow:function(){return w},qq:function(){return k},qu:function(){return R},rL:function(){return C},uS:function(){return Xe},un:function(){return e},uq:function(){return i},vH:function(){return N},xe:function(){return De},zY:function(){return y}});function P(m){return!m||typeof m!="string"?!0:m.trim().length===0}const D=/{(\d+)}/g;function K(m,...F){return F.length===0?m:m.replace(D,function(q,M){const U=parseInt(M,10);return isNaN(U)||U<0||U>=F.length?q:F[U]})}function G(m){return m.replace(/[<>&]/g,function(F){switch(F){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return F}})}function j(m){return m.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function p(m,F=" "){const q=V(m,F);return H(q,F)}function V(m,F){if(!m||!F)return m;const q=F.length;if(q===0||m.length===0)return m;let M=0;for(;m.indexOf(F,M)===M;)M=M+q;return m.substring(M)}function H(m,F){if(!m||!F)return m;const q=F.length,M=m.length;if(q===0||M===0)return m;let U=M,z=-1;for(;z=m.lastIndexOf(F,U-1),!(z===-1||z+q!==U);){if(z===0)return"";U=z}return m.substring(0,U)}function e(m){return m.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function s(m){return m.replace(/\*/g,"")}function f(m,F,q={}){if(!m)throw new Error("Cannot create regex from empty string");F||(m=j(m)),q.wholeWord&&(/\B/.test(m.charAt(0))||(m="\\b"+m),/\B/.test(m.charAt(m.length-1))||(m=m+"\\b"));let M="";return q.global&&(M+="g"),q.matchCase||(M+="i"),q.multiline&&(M+="m"),q.unicode&&(M+="u"),new RegExp(m,M)}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 i(m){return m.split(/\r\n|\r|\n/)}function o(m){for(let F=0,q=m.length;F<q;F++){const M=m.charCodeAt(F);if(M!==32&&M!==9)return F}return-1}function g(m,F=0,q=m.length){for(let M=F;M<q;M++){const U=m.charCodeAt(M);if(U!==32&&U!==9)return m.substring(F,M)}return m.substring(F,q)}function w(m,F=m.length-1){for(let q=F;q>=0;q--){const M=m.charCodeAt(q);if(M!==32&&M!==9)return q}return-1}function R(m,F){return m<F?-1:m>F?1:0}function _(m,F,q=0,M=m.length,U=0,z=F.length){for(;q<M&&U<z;q++,U++){let we=m.charCodeAt(q),Me=F.charCodeAt(U);if(we<Me)return-1;if(we>Me)return 1}const ce=M-q,ie=z-U;return ce<ie?-1:ce>ie?1:0}function y(m,F){return d(m,F,0,m.length,0,F.length)}function d(m,F,q=0,M=m.length,U=0,z=F.length){for(;q<M&&U<z;q++,U++){let we=m.charCodeAt(q),Me=F.charCodeAt(U);if(we===Me)continue;if(we>=128||Me>=128)return _(m.toLowerCase(),F.toLowerCase(),q,M,U,z);u(we)&&(we-=32),u(Me)&&(Me-=32);const je=we-Me;if(je!==0)return je}const ce=M-q,ie=z-U;return ce<ie?-1:ce>ie?1:0}function u(m){return m>=97&&m<=122}function O(m){return m>=65&&m<=90}function k(m,F){return m.length===F.length&&d(m,F)===0}function Z(m,F){const q=F.length;return F.length>m.length?!1:d(m,F,0,q)===0}function I(m,F){let q,M=Math.min(m.length,F.length);for(q=0;q<M;q++)if(m.charCodeAt(q)!==F.charCodeAt(q))return q;return M}function $(m,F){let q,M=Math.min(m.length,F.length);const U=m.length-1,z=F.length-1;for(q=0;q<M;q++)if(m.charCodeAt(U-q)!==F.charCodeAt(z-q))return q;return M}function B(m){return 55296<=m&&m<=56319}function Ee(m){return 56320<=m&&m<=57343}function C(m,F){return(m-55296<<10)+(F-56320)+65536}function v(m,F,q){const M=m.charCodeAt(q);if(B(M)&&q+1<F){const U=m.charCodeAt(q+1);if(Ee(U))return C(M,U)}return M}function E(m,F){const q=m.charCodeAt(F-1);if(Ee(q)&&F>1){const M=m.charCodeAt(F-2);if(B(M))return C(M,q)}return q}function N(m,F){const q=W.getInstance(),M=F,U=m.length,z=v(m,U,F);F+=z>=65536?2:1;let ce=q.getGraphemeBreakType(z);for(;F<U;){const ie=v(m,U,F),we=q.getGraphemeBreakType(ie);if(ae(ce,we))break;F+=ie>=65536?2:1,ce=we}return F-M}function S(m,F){const q=W.getInstance(),M=F,U=E(m,F);F-=U>=65536?2:1;let z=q.getGraphemeBreakType(U);for(;F>0;){const ce=E(m,F),ie=q.getGraphemeBreakType(ce);if(ae(ie,z))break;F-=ce>=65536?2:1,z=ie}return M-F}const b=/(?:[\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 b.test(m)}const a=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function h(m){return a.test(m)}const T=/^[\t\n\r\x20-\x7E]*$/;function re(m){return T.test(m)}const de=/[\u2028\u2029]/;function ve(m){return de.test(m)}function De(m){for(let F=0,q=m.length;F<q;F++)if(Ae(m.charCodeAt(F)))return!0;return!1}function Ae(m){return m=+m,m>=11904&&m<=55215||m>=63744&&m<=64255||m>=65281&&m<=65374}function vt(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 me="\uFEFF";function Xe(m){return!!(m&&m.length>0&&m.charCodeAt(0)===65279)}function Ne(m,F=!1){return m?(F&&(m=m.replace(/\\./g,"")),m.toLowerCase()!==m):!1}function Qe(m){return m=m%(2*26),m<26?String.fromCharCode(97+m):String.fromCharCode(65+m-26)}function Te(m){return W.getInstance().getGraphemeBreakType(m)}function ae(m,F){return m===0?F!==5&&F!==7:m===2&&F===3?!1:m===4||m===2||m===3||F===4||F===2||F===3?!0:!(m===8&&(F===8||F===9||F===11||F===12)||(m===11||m===9)&&(F===9||F===10)||(m===12||m===10)&&F===10||F===5||F===13||F===7||m===1||m===13&&F===14||m===6&&F===6)}class W{constructor(){this._data=X()}static getInstance(){return W._INSTANCE||(W._INSTANCE=new W),W._INSTANCE}getGraphemeBreakType(F){if(F<32)return F===10?3:F===13?2:4;if(F<127)return 0;const q=this._data,M=q.length/3;let U=1;for(;U<=M;)if(F<q[3*U])U=2*U;else if(F>q[3*U+1])U=2*U+1;else return q[3*U+2];return 0}}W._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 c(m,F){if(m===0)return 0;const q=L(m,F);if(q!==void 0)return q;const M=E(F,m);return m-=J(M),m}function L(m,F){let q=E(F,m);for(m-=J(q);x(q)||q===65039||q===8419;){if(m===0)return;q=E(F,m),m-=J(q)}if(vt(q)){if(m>=0){const M=E(F,m);M===8205&&(m-=J(M))}return m}}function J(m){return m>=65536?2:1}function x(m){return 127995<=m&&m<=127999}},72999:function(Bt,Ze,l){"use strict";l.d(Ze,{$E:function(){return o},$K:function(){return V},D8:function(){return t},HD:function(){return D},IU:function(){return g},Jp:function(){return H},Kn:function(){return K},cW:function(){return s},f6:function(){return w},hj:function(){return G},jn:function(){return j},kJ:function(){return P},mf:function(){return f},o8:function(){return p},p_:function(){return e},vE:function(){return R}});function P(_){return Array.isArray(_)}function D(_){return typeof _=="string"}function K(_){return typeof _=="object"&&_!==null&&!Array.isArray(_)&&!(_ instanceof RegExp)&&!(_ instanceof Date)}function G(_){return typeof _=="number"&&!isNaN(_)}function j(_){return _===!0||_===!1}function p(_){return typeof _=="undefined"}function V(_){return!H(_)}function H(_){return p(_)||_===null}function e(_,y){if(!_)throw new Error(y?`Unexpected type, expected '${y}'`:"Unexpected type")}function s(_){if(H(_))throw new Error("Assertion Failed: argument is undefined or null");return _}function f(_){return typeof _=="function"}function t(_,y){const d=Math.min(_.length,y.length);for(let u=0;u<d;u++)r(_[u],y[u])}function r(_,y){if(D(y)){if(typeof _!==y)throw new Error(`argument does not match constraint: typeof ${y}`)}else if(f(y)){try{if(_ instanceof y)return}catch(d){}if(!H(_)&&_.constructor===y||y.length===1&&y.call(void 0,_)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function i(_){let y=[],d=Object.getPrototypeOf(_);for(;Object.prototype!==d;)y=y.concat(Object.getOwnPropertyNames(d)),d=Object.getPrototypeOf(d);return y}function o(_){const y=[];for(const d of i(_))typeof _[d]=="function"&&y.push(d);return y}function g(_,y){const d=O=>function(){const k=Array.prototype.slice.call(arguments,0);return y(O,k)};let u={};for(const O of _)u[O]=d(O);return u}function w(_){return _===null?void 0:_}function R(_,y="Unreachable"){throw new Error(y)}},13268:function(Bt,Ze,l){"use strict";l.d(Ze,{N:function(){return D}});function P(K,G){let j;return G.length===0?j=K:j=K.replace(/\{(\d+)\}/g,function(p,V){const H=V[0];return typeof G[H]!="undefined"?G[H]:p}),j}function D(K,G,...j){return P(G,j)}},96236:function(Bt,Ze,l){"use strict";l.d(Ze,{BH:function(){return g},NZ:function(){return w},U8:function(){return R},co:function(){return o},eH:function(){return i},vr:function(){return r}});var P=l(75918),D=l(52615),K=l(4348),G=l(88226),j=l(69323),p=l(34502),V=l(35884),H=l(90689),e=l(16925),s=l(49055),f=function(_,y,d,u){var O=arguments.length,k=O<3?y:u===null?u=Object.getOwnPropertyDescriptor(y,d):u,Z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(_,y,d,u);else for(var I=_.length-1;I>=0;I--)(Z=_[I])&&(k=(O<3?Z(k):O>3?Z(y,d,k):Z(y,d))||k);return O>3&&k&&Object.defineProperty(y,d,k),k},t=function(_,y){return function(d,u){y(d,u,_)}};function r(_){return _.command!==void 0}class i{constructor(y){this.id=i._idPool++,this._debugName=y}}i._idPool=0,i.CommandPalette=new i("CommandPalette"),i.EditorContext=new i("EditorContext"),i.SimpleEditorContext=new i("SimpleEditorContext"),i.EditorContextCopy=new i("EditorContextCopy"),i.EditorContextPeek=new i("EditorContextPeek"),i.MenubarEditMenu=new i("MenubarEditMenu"),i.MenubarCopy=new i("MenubarCopy"),i.MenubarGoMenu=new i("MenubarGoMenu"),i.MenubarSelectionMenu=new i("MenubarSelectionMenu"),i.InlineCompletionsActions=new i("InlineCompletionsActions");const o=(0,e.yh)("menuService"),g=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new K.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:_=>_===i.CommandPalette}}addCommand(_){return this.addCommands(G.$.single(_))}addCommands(_){for(const y of _)this._commands.set(y.id,y);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,j.OF)(()=>{let y=!1;for(const d of _)y=this._commands.delete(d.id)||y;y&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(_){return this._commands.get(_)}getCommands(){const _=new Map;return this._commands.forEach((y,d)=>_.set(d,y)),_}appendMenuItem(_,y){return this.appendMenuItems(G.$.single({id:_,item:y}))}appendMenuItems(_){const y=new Set,d=new p.S;for(const{id:u,item:O}of _){let k=this._menuItems.get(u);k||(k=new p.S,this._menuItems.set(u,k)),d.push(k.push(O)),y.add(u)}return this._onDidChangeMenu.fire(y),(0,j.OF)(()=>{if(d.size>0){for(let u of d)u();this._onDidChangeMenu.fire(y),d.clear()}})}getMenuItems(_){let y;return this._menuItems.has(_)?y=[...this._menuItems.get(_)]:y=[],_===i.CommandPalette&&this._appendImplicitItems(y),y}_appendImplicitItems(_){const y=new Set;for(const d of _)r(d)&&(y.add(d.command.id),d.alt&&y.add(d.alt.id));this._commands.forEach((d,u)=>{y.has(u)||_.push({command:d})})}};class w extends P.wY{constructor(y,d,u,O){super(`submenuitem.${y.submenu.id}`,typeof y.title=="string"?y.title:y.title.value,[],"submenu"),this.item=y,this._menuService=d,this._contextKeyService=u,this._options=O}get actions(){const y=[],d=this._menuService.createMenu(this.item.submenu,this._contextKeyService),u=d.getActions(this._options);d.dispose();for(const[,O]of u)O.length>0&&(y.push(...O),y.push(new P.Z0));return y.length&&y.pop(),y}}let R=class ba{constructor(y,d,u,O,k){var Z,I;if(this._commandService=k,this.id=y.id,this.label=u!=null&&u.renderShortTitle&&y.shortTitle?typeof y.shortTitle=="string"?y.shortTitle:y.shortTitle.value:typeof y.title=="string"?y.title:y.title.value,this.tooltip=(I=typeof y.tooltip=="string"?y.tooltip:(Z=y.tooltip)===null||Z===void 0?void 0:Z.value)!==null&&I!==void 0?I:"",this.enabled=!y.precondition||O.contextMatchesRules(y.precondition),this.checked=void 0,y.toggled){const $=y.toggled.condition?y.toggled:{condition:y.toggled};this.checked=O.contextMatchesRules($.condition),this.checked&&$.tooltip&&(this.tooltip=typeof $.tooltip=="string"?$.tooltip:$.tooltip.value),$.title&&(this.label=typeof $.title=="string"?$.title:$.title.value)}this.item=y,this.alt=d?new ba(d,void 0,u,O,k):void 0,this._options=u,s.kS.isThemeIcon(y.icon)&&(this.class=D.dT.asClassName(y.icon))}dispose(){}run(...y){var d,u;let O=[];return!((d=this._options)===null||d===void 0)&&d.arg&&(O=[...O,this._options.arg]),!((u=this._options)===null||u===void 0)&&u.shouldForwardArgs&&(O=[...O,...y]),this._commandService.executeCommand(this.id,...O)}};R=f([t(3,H.i6),t(4,V.H)],R)},35884:function(Bt,Ze,l){"use strict";l.d(Ze,{H:function(){return V},P:function(){return H}});var P=l(4348),D=l(88226),K=l(69323),G=l(34502),j=l(72999),p=l(16925);const V=(0,p.yh)("commandService"),H=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new P.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 w of e.description.args)o.push(w.constraint);const g=e.handler;e.handler=function(w,...R){return(0,j.D8)(R,o),g(w,...R)}}const{id:f}=e;let t=this._commands.get(f);t||(t=new G.S,this._commands.set(f,t));let r=t.unshift(e),i=(0,K.OF)(()=>{r();const o=this._commands.get(f);o!=null&&o.isEmpty()&&this._commands.delete(f)});return this._onDidRegisterCommand.fire(f),i}registerCommandAlias(e,s){return H.registerCommand(e,(f,...t)=>f.get(V).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 f=this.getCommand(s);f&&e.set(s,f)}return e}};H.registerCommand("noop",()=>{})},90689:function(Bt,Ze,l){"use strict";l.d(Ze,{Ao:function(){return V},Eq:function(){return C},Fb:function(){return H},K8:function(){return N},i6:function(){return Ee},uy:function(){return B}});var P=l(23345),D=l(82983),K=l(16925);let G=P.WE||"";const j=new Map;j.set("false",!1),j.set("true",!0),j.set("isMac",P.dz),j.set("isLinux",P.IJ),j.set("isWindows",P.ED),j.set("isWeb",P.$L),j.set("isMacNative",P.dz&&!P.$L),j.set("isEdge",G.indexOf("Edg/")>=0),j.set("isFirefox",G.indexOf("Firefox")>=0),j.set("isChrome",G.indexOf("Chrome")>=0),j.set("isSafari",G.indexOf("Safari")>=0);const p=Object.prototype.hasOwnProperty;class V{static has(n){return t.create(n)}static equals(n,a){return r.create(n,a)}static regex(n,a){return O.create(n,a)}static not(n){return w.create(n)}static and(...n){return I.create(n,null)}static or(...n){return $.create(n,null,!0)}static deserialize(n,a=!1){if(n)return this._deserializeOrExpression(n,a)}static _deserializeOrExpression(n,a){let h=n.split("||");return $.create(h.map(T=>this._deserializeAndExpression(T,a)),null,!0)}static _deserializeAndExpression(n,a){let h=n.split("&&");return I.create(h.map(T=>this._deserializeOne(T,a)),null)}static _deserializeOne(n,a){if(n=n.trim(),n.indexOf("!=")>=0){let h=n.split("!=");return g.create(h[0].trim(),this._deserializeValue(h[1],a))}if(n.indexOf("==")>=0){let h=n.split("==");return r.create(h[0].trim(),this._deserializeValue(h[1],a))}if(n.indexOf("=~")>=0){let h=n.split("=~");return O.create(h[0].trim(),this._deserializeRegexValue(h[1],a))}if(n.indexOf(" in ")>=0){let h=n.split(" in ");return i.create(h[0].trim(),h[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(n)){const h=n.split(">=");return y.create(h[0].trim(),h[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(n)){const h=n.split(">");return _.create(h[0].trim(),h[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(n)){const h=n.split("<=");return u.create(h[0].trim(),h[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(n)){const h=n.split("<");return d.create(h[0].trim(),h[1].trim())}return/^\!\s*/.test(n)?w.create(n.substr(1).trim()):t.create(n)}static _deserializeValue(n,a){if(n=n.trim(),n==="true")return!0;if(n==="false")return!1;let h=/^'([^']*)'$/.exec(n);return h?h[1].trim():n}static _deserializeRegexValue(n,a){if((0,D.m5)(n)){if(a)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let h=n.indexOf("/"),T=n.lastIndexOf("/");if(h===T||h<0){if(a)throw new Error(`bad regexp-value '${n}', missing /-enclosure`);return console.warn(`bad regexp-value '${n}', missing /-enclosure`),null}let re=n.slice(h+1,T),de=n[T+1]==="i"?"i":"";try{return new RegExp(re,de)}catch(ve){if(a)throw new Error(`bad regexp-value '${n}', parse error: ${ve}`);return console.warn(`bad regexp-value '${n}', parse error: ${ve}`),null}}}function H(b,n){const a=b?b.substituteConstants():void 0,h=n?n.substituteConstants():void 0;return!a&&!h?!0:!a||!h?!1:a.equals(h)}function e(b,n){return b.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 f.INSTANCE}}s.INSTANCE=new s;class f{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}}f.INSTANCE=new f;class t{constructor(n,a){this.key=n,this.negated=a,this.type=2}static create(n,a=null){const h=j.get(n);return typeof h=="boolean"?h?f.INSTANCE:s.INSTANCE:new t(n,a)}cmp(n){return n.type!==this.type?this.type-n.type:v(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=j.get(this.key);return typeof n=="boolean"?n?f.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=w.create(this.key,this)),this.negated}}class r{constructor(n,a,h){this.key=n,this.value=a,this.negated=h,this.type=4}static create(n,a,h=null){if(typeof a=="boolean")return a?t.create(n,h):w.create(n,h);const T=j.get(n);return typeof T=="boolean"?a===(T?"true":"false")?f.INSTANCE:s.INSTANCE:new r(n,a,h)}cmp(n){return n.type!==this.type?this.type-n.type:E(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=j.get(this.key);if(typeof n=="boolean"){const a=n?"true":"false";return this.value===a?f.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=g.create(this.key,this.value,this)),this.negated}}class i{constructor(n,a){this.key=n,this.valueKey=a,this.type=10,this.negated=null}static create(n,a){return new i(n,a)}cmp(n){return n.type!==this.type?this.type-n.type:E(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 a=n.getValue(this.valueKey),h=n.getValue(this.key);return Array.isArray(a)?a.indexOf(h)>=0:typeof h=="string"&&typeof a=="object"&&a!==null?p.call(a,h):!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 g{constructor(n,a,h){this.key=n,this.value=a,this.negated=h,this.type=5}static create(n,a,h=null){if(typeof a=="boolean")return a?w.create(n,h):t.create(n,h);const T=j.get(n);return typeof T=="boolean"?a===(T?"true":"false")?s.INSTANCE:f.INSTANCE:new g(n,a,h)}cmp(n){return n.type!==this.type?this.type-n.type:E(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=j.get(this.key);if(typeof n=="boolean"){const a=n?"true":"false";return this.value===a?s.INSTANCE:f.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 w{constructor(n,a){this.key=n,this.negated=a,this.type=3}static create(n,a=null){const h=j.get(n);return typeof h=="boolean"?h?s.INSTANCE:f.INSTANCE:new w(n,a)}cmp(n){return n.type!==this.type?this.type-n.type:v(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=j.get(this.key);return typeof n=="boolean"?n?s.INSTANCE:f.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 R(b,n){if(typeof b=="string"){const a=parseFloat(b);isNaN(a)||(b=a)}return typeof b=="string"||typeof b=="number"?n(b):s.INSTANCE}class _{constructor(n,a,h){this.key=n,this.value=a,this.negated=h,this.type=12}static create(n,a,h=null){return R(a,T=>new _(n,T,h))}cmp(n){return n.type!==this.type?this.type-n.type:E(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=u.create(this.key,this.value,this)),this.negated}}class y{constructor(n,a,h){this.key=n,this.value=a,this.negated=h,this.type=13}static create(n,a,h=null){return R(a,T=>new y(n,T,h))}cmp(n){return n.type!==this.type?this.type-n.type:E(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=d.create(this.key,this.value,this)),this.negated}}class d{constructor(n,a,h){this.key=n,this.value=a,this.negated=h,this.type=14}static create(n,a,h=null){return R(a,T=>new d(n,T,h))}cmp(n){return n.type!==this.type?this.type-n.type:E(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=y.create(this.key,this.value,this)),this.negated}}class u{constructor(n,a,h){this.key=n,this.value=a,this.negated=h,this.type=15}static create(n,a,h=null){return R(a,T=>new u(n,T,h))}cmp(n){return n.type!==this.type?this.type-n.type:E(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=_.create(this.key,this.value,this)),this.negated}}class O{constructor(n,a){this.key=n,this.regexp=a,this.type=7,this.negated=null}static create(n,a){return new O(n,a)}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 a=this.regexp?this.regexp.source:"",h=n.regexp?n.regexp.source:"";return a<h?-1:a>h?1:0}equals(n){if(n.type===this.type){const a=this.regexp?this.regexp.source:"",h=n.regexp?n.regexp.source:"";return this.key===n.key&&a===h}return!1}substituteConstants(){return this}evaluate(n){let a=n.getValue(this.key);return this.regexp?this.regexp.test(a):!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=k.create(this)),this.negated}}class k{constructor(n){this._actual=n,this.type=8}static create(n){return new k(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 Z(b){let n=null;for(let a=0,h=b.length;a<h;a++){const T=b[a].substituteConstants();if(b[a]!==T&&n===null){n=[];for(let re=0;re<a;re++)n[re]=b[re]}n!==null&&(n[a]=T)}return n===null?b:n}class I{constructor(n,a){this.expr=n,this.negated=a,this.type=6}static create(n,a){return I._normalizeArr(n,a)}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 a=0,h=this.expr.length;a<h;a++){const T=e(this.expr[a],n.expr[a]);if(T!==0)return T}return 0}equals(n){if(n.type===this.type){if(this.expr.length!==n.expr.length)return!1;for(let a=0,h=this.expr.length;a<h;a++)if(!this.expr[a].equals(n.expr[a]))return!1;return!0}return!1}substituteConstants(){const n=Z(this.expr);return n===this.expr?this:I.create(n,this.negated)}evaluate(n){for(let a=0,h=this.expr.length;a<h;a++)if(!this.expr[a].evaluate(n))return!1;return!0}static _normalizeArr(n,a){const h=[];let T=!1;for(const re of n)if(re){if(re.type===1){T=!0;continue}if(re.type===0)return s.INSTANCE;if(re.type===6){h.push(...re.expr);continue}h.push(re)}if(h.length===0&&T)return f.INSTANCE;if(h.length!==0){if(h.length===1)return h[0];h.sort(e);for(let re=1;re<h.length;re++)h[re-1].equals(h[re])&&(h.splice(re,1),re--);if(h.length===1)return h[0];for(;h.length>1;){const re=h[h.length-1];if(re.type!==9)break;h.pop();const de=h.pop(),ve=h.length===0,De=$.create(re.expr.map(Ae=>I.create([Ae,de],null)),null,ve);De&&(h.push(De),h.sort(e))}return h.length===1?h[0]:new I(h,a)}}serialize(){return this.expr.map(n=>n.serialize()).join(" && ")}keys(){const n=[];for(let a of this.expr)n.push(...a.keys());return n}negate(){if(!this.negated){const n=[];for(let a of this.expr)n.push(a.negate());this.negated=$.create(n,this,!0)}return this.negated}}class ${constructor(n,a){this.expr=n,this.negated=a,this.type=9}static create(n,a,h){return $._normalizeArr(n,a,h)}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 a=0,h=this.expr.length;a<h;a++){const T=e(this.expr[a],n.expr[a]);if(T!==0)return T}return 0}equals(n){if(n.type===this.type){if(this.expr.length!==n.expr.length)return!1;for(let a=0,h=this.expr.length;a<h;a++)if(!this.expr[a].equals(n.expr[a]))return!1;return!0}return!1}substituteConstants(){const n=Z(this.expr);return n===this.expr?this:$.create(n,this.negated,!1)}evaluate(n){for(let a=0,h=this.expr.length;a<h;a++)if(this.expr[a].evaluate(n))return!0;return!1}static _normalizeArr(n,a,h){let T=[],re=!1;if(n){for(let de=0,ve=n.length;de<ve;de++){const De=n[de];if(De){if(De.type===0){re=!0;continue}if(De.type===1)return f.INSTANCE;if(De.type===9){T=T.concat(De.expr);continue}T.push(De)}}if(T.length===0&&re)return s.INSTANCE;T.sort(e)}if(T.length!==0){if(T.length===1)return T[0];for(let de=1;de<T.length;de++)T[de-1].equals(T[de])&&(T.splice(de,1),de--);if(T.length===1)return T[0];if(h){for(let de=0;de<T.length;de++)for(let ve=de+1;ve<T.length;ve++)N(T[de],T[ve])&&(T.splice(ve,1),ve--);if(T.length===1)return T[0]}return new $(T,a)}}serialize(){return this.expr.map(n=>n.serialize()).join(" || ")}keys(){const n=[];for(let a of this.expr)n.push(...a.keys());return n}negate(){if(!this.negated){let n=[];for(let a of this.expr)n.push(a.negate());for(;n.length>1;){const a=n.shift(),h=n.shift(),T=[];for(const de of S(a))for(const ve of S(h))T.push(I.create([de,ve],null));const re=n.length===0;n.unshift($.create(T,null,re))}this.negated=n[0]}return this.negated}}class B extends t{constructor(n,a,h){super(n,null),this._defaultValue=a,typeof h=="object"?B._info.push(Object.assign(Object.assign({},h),{key:n})):h!==!0&&B._info.push({key:n,description:h,type:a!=null?typeof a: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 Ee=(0,K.yh)("contextKeyService"),C="setContext";function v(b,n){return b<n?-1:b>n?1:0}function E(b,n,a,h){return b<a?-1:b>a?1:n<h?-1:n>h?1:0}function N(b,n){if(n.type===6&&b.type!==9&&b.type!==6){for(const T of n.expr)if(b.equals(T))return!0}const a=b.negate(),h=S(a).concat(S(n));h.sort(e);for(let T=0;T<h.length;T++){const de=h[T].negate();for(let ve=T+1;ve<h.length;ve++){const De=h[ve];if(de.equals(De))return!0}}return!1}function S(b){return b.type===9?b.expr:[b]}},16925:function(Bt,Ze,l){"use strict";l.d(Ze,{I8:function(){return P},TG:function(){return D},jt:function(){return j},yh:function(){return G}});var P;(function(p){p.serviceIds=new Map,p.DI_TARGET="$di$target",p.DI_DEPENDENCIES="$di$dependencies";function V(H){return H[p.DI_DEPENDENCIES]||[]}p.getServiceDependencies=V})(P||(P={}));const D=G("instantiationService");function K(p,V,H,e){V[P.DI_TARGET]===V?V[P.DI_DEPENDENCIES].push({id:p,index:H,optional:e}):(V[P.DI_DEPENDENCIES]=[{id:p,index:H,optional:e}],V[P.DI_TARGET]=V)}function G(p){if(P.serviceIds.has(p))return P.serviceIds.get(p);const V=function(H,e,s){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");K(V,H,s,!1)};return V.toString=()=>p,P.serviceIds.set(p,V),V}function j(p){return function(V,H,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");K(p,V,e,!0)}}},44650:function(Bt,Ze,l){"use strict";l.d(Ze,{B:function(){return G}});var P=l(76068),D=l(72999);class K{constructor(){this.data=new Map}add(p,V){P.ok(D.HD(p)),P.ok(D.Kn(V)),P.ok(!this.data.has(p),"There is already an extension with this id"),this.data.set(p,V)}as(p){return this.data.get(p)||null}}const G=new K},66213:function(Bt,Ze,l){"use strict";l.d(Ze,{e:function(){return P}});var P;(function(D){D.DARK="dark",D.LIGHT="light",D.HIGH_CONTRAST="hc"})(P||(P={}))},49055:function(Bt,Ze,l){"use strict";l.d(Ze,{EN:function(){return e},IP:function(){return t},Ic:function(){return o},XE:function(){return V},bB:function(){return g},kS:function(){return s},m6:function(){return f}});var P=l(52615),D=l(4348),K=l(69323),G=l(16925),j=l(44650),p=l(66213);const V=(0,G.yh)("themeService");var H;(function(w){function R(_){return _&&typeof _=="object"&&typeof _.id=="string"}w.isThemeColor=R})(H||(H={}));function e(w){return{id:w}}var s;(function(w){function R(k){return k&&typeof k=="object"&&typeof k.id=="string"&&(typeof k.color=="undefined"||H.isThemeColor(k.color))}w.isThemeIcon=R;const _=new RegExp(`^\\$\\((${P.dT.iconNameExpression}(?:${P.dT.iconModifierExpression})?)\\)$`);function y(k){const Z=_.exec(k);if(!Z)return;let[,I]=Z;return{id:I}}w.fromString=y;function d(k,Z){let I=k.id;const $=I.lastIndexOf("~");return $!==-1&&(I=I.substring(0,$)),Z&&(I=`${I}~${Z}`),{id:I}}w.modify=d;function u(k,Z){var I,$;return k.id===Z.id&&((I=k.color)===null||I===void 0?void 0:I.id)===(($=Z.color)===null||$===void 0?void 0:$.id)}w.isEqual=u;function O(k,Z){return{id:k.id,color:Z?e(Z):void 0}}w.asThemeIcon=O,w.asClassNameArray=P.dT.asClassNameArray,w.asClassName=P.dT.asClassName,w.asCSSSelector=P.dT.asCSSSelector})(s||(s={}));function f(w){switch(w){case p.e.DARK:return"vs-dark";case p.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(R){return this.themingParticipants.push(R),this.onThemingParticipantAddedEmitter.fire(R),(0,K.OF)(()=>{const _=this.themingParticipants.indexOf(R);this.themingParticipants.splice(_,1)})}getThemingParticipants(){return this.themingParticipants}}let i=new r;j.B.add(t.ThemingContribution,i);function o(w){return i.onColorThemeChange(w)}class g extends K.JT{constructor(R){super(),this.themeService=R,this.theme=R.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(_=>this.onThemeChange(_)))}onThemeChange(R){this.theme=R,this.updateStyles()}updateStyles(){}}},16632:function(Bt,Ze,l){"use strict";var P=l(54476),D=l(33885),K=l(20068),G=l(42978),j=l(75931),p=l(92310),V=l.n(p),H=l(18929),e=l(59301),s=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],f=(0,e.forwardRef)(function(t,r){var i=t.prefixCls,o=i===void 0?"rc-checkbox":i,g=t.className,w=t.style,R=t.checked,_=t.disabled,y=t.defaultChecked,d=y===void 0?!1:y,u=t.type,O=u===void 0?"checkbox":u,k=t.title,Z=t.onChange,I=(0,j.Z)(t,s),$=(0,e.useRef)(null),B=(0,e.useRef)(null),Ee=(0,H.Z)(d,{value:R}),C=(0,G.Z)(Ee,2),v=C[0],E=C[1];(0,e.useImperativeHandle)(r,function(){return{focus:function(n){var a;(a=$.current)===null||a===void 0||a.focus(n)},blur:function(){var n;(n=$.current)===null||n===void 0||n.blur()},input:$.current,nativeElement:B.current}});var N=V()(o,g,(0,K.Z)((0,K.Z)({},"".concat(o,"-checked"),v),"".concat(o,"-disabled"),_)),S=function(n){_||("checked"in t||E(n.target.checked),Z==null||Z({target:(0,D.Z)((0,D.Z)({},t),{},{type:O,checked:n.target.checked}),stopPropagation:function(){n.stopPropagation()},preventDefault:function(){n.preventDefault()},nativeEvent:n.nativeEvent}))};return e.createElement("span",{className:N,title:k,style:w,ref:B},e.createElement("input",(0,P.Z)({},I,{className:"".concat(o,"-input"),ref:$,onChange:S,disabled:_,checked:!!v,type:O})),e.createElement("span",{className:"".concat(o,"-inner")}))});Ze.Z=f},96478:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return k}});var P=l(54476),D=l(20068),K=l(42978),G=l(75931),j=l(65030),p=l(92310),V=l.n(p),H=l(8654),e=l(59301),s=l(10228),f=l(16089),t=s.Z.ESC,r=s.Z.TAB;function i(Z){var I=Z.visible,$=Z.triggerRef,B=Z.onVisibleChange,Ee=Z.autoFocus,C=Z.overlayRef,v=e.useRef(!1),E=function(){if(I){var n,a;(n=$.current)===null||n===void 0||(a=n.focus)===null||a===void 0||a.call(n),B==null||B(!1)}},N=function(){var n;return(n=C.current)!==null&&n!==void 0&&n.focus?(C.current.focus(),v.current=!0,!0):!1},S=function(n){switch(n.keyCode){case t:E();break;case r:{var a=!1;v.current||(a=N()),a?n.preventDefault():E();break}}};e.useEffect(function(){return I?(window.addEventListener("keydown",S),Ee&&(0,f.Z)(N,3),function(){window.removeEventListener("keydown",S),v.current=!1}):function(){v.current=!1}},[I])}var o=(0,e.forwardRef)(function(Z,I){var $=Z.overlay,B=Z.arrow,Ee=Z.prefixCls,C=(0,e.useMemo)(function(){var E;return typeof $=="function"?E=$():E=$,E},[$]),v=(0,H.sQ)(I,(0,H.C4)(C));return e.createElement(e.Fragment,null,B&&e.createElement("div",{className:"".concat(Ee,"-arrow")}),e.cloneElement(C,{ref:(0,H.Yr)(C)?v:void 0}))}),g=o,w={adjustX:1,adjustY:1},R=[0,0],_={topLeft:{points:["bl","tl"],overflow:w,offset:[0,-4],targetOffset:R},top:{points:["bc","tc"],overflow:w,offset:[0,-4],targetOffset:R},topRight:{points:["br","tr"],overflow:w,offset:[0,-4],targetOffset:R},bottomLeft:{points:["tl","bl"],overflow:w,offset:[0,4],targetOffset:R},bottom:{points:["tc","bc"],overflow:w,offset:[0,4],targetOffset:R},bottomRight:{points:["tr","br"],overflow:w,offset:[0,4],targetOffset:R}},y=_,d=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function u(Z,I){var $,B=Z.arrow,Ee=B===void 0?!1:B,C=Z.prefixCls,v=C===void 0?"rc-dropdown":C,E=Z.transitionName,N=Z.animation,S=Z.align,b=Z.placement,n=b===void 0?"bottomLeft":b,a=Z.placements,h=a===void 0?y:a,T=Z.getPopupContainer,re=Z.showAction,de=Z.hideAction,ve=Z.overlayClassName,De=Z.overlayStyle,Ae=Z.visible,vt=Z.trigger,me=vt===void 0?["hover"]:vt,Xe=Z.autoFocus,Ne=Z.overlay,Qe=Z.children,Te=Z.onVisibleChange,ae=(0,G.Z)(Z,d),W=e.useState(),X=(0,K.Z)(W,2),c=X[0],L=X[1],J="visible"in Z?Ae:c,x=e.useRef(null),m=e.useRef(null),F=e.useRef(null);e.useImperativeHandle(I,function(){return x.current});var q=function(Ke){L(Ke),Te==null||Te(Ke)};i({visible:J,triggerRef:F,onVisibleChange:q,autoFocus:Xe,overlayRef:m});var M=function(Ke){var ke=Z.onOverlayClick;L(!1),ke&&ke(Ke)},U=function(){return e.createElement(g,{ref:m,overlay:Ne,prefixCls:v,arrow:Ee})},z=function(){return typeof Ne=="function"?U:U()},ce=function(){var Ke=Z.minOverlayWidthMatchTrigger,ke=Z.alignPoint;return"minOverlayWidthMatchTrigger"in Z?Ke:!ke},ie=function(){var Ke=Z.openClassName;return Ke!==void 0?Ke:"".concat(v,"-open")},we=e.cloneElement(Qe,{className:V()(($=Qe.props)===null||$===void 0?void 0:$.className,J&&ie()),ref:(0,H.Yr)(Qe)?(0,H.sQ)(F,(0,H.C4)(Qe)):void 0}),Me=de;return!Me&&me.indexOf("contextMenu")!==-1&&(Me=["click"]),e.createElement(j.Z,(0,P.Z)({builtinPlacements:h},ae,{prefixCls:v,ref:x,popupClassName:V()(ve,(0,D.Z)({},"".concat(v,"-show-arrow"),Ee)),popupStyle:De,action:me,showAction:re,hideAction:Me,popupPlacement:n,popupAlign:S,popupTransitionName:E,popupAnimation:N,popupVisible:J,stretch:ce()?"minWidth":"",popup:z(),onPopupVisibleChange:q,onPopupClick:M,getPopupContainer:T}),we)}var O=e.forwardRef(u),k=O},66003:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return V}});var P=l(75931),D=l(33885),K=l(76190),G=l(59301),j=["show"];function p(H,e){if(!e.max)return!0;var s=e.strategy(H);return s<=e.max}function V(H,e){return G.useMemo(function(){var s={};e&&(s.show=(0,K.Z)(e)==="object"&&e.formatter?e.formatter:!!e),s=(0,D.Z)((0,D.Z)({},s),H);var f=s,t=f.show,r=(0,P.Z)(f,j);return(0,D.Z)((0,D.Z)({},r),{},{show:!!t,showFormatter:typeof t=="function"?t:void 0,strategy:r.strategy||function(i){return i.length}})},[H,e])}},36901:function(Bt,Ze,l){"use strict";l.r(Ze),l.d(Ze,{BaseInput:function(){return s},default:function(){return y}});var P=l(33885),D=l(54476),K=l(20068),G=l(76190),j=l(92310),p=l.n(j),V=l(59301),H=l(30292),e=V.forwardRef(function(d,u){var O,k,Z,I=d.inputElement,$=d.children,B=d.prefixCls,Ee=d.prefix,C=d.suffix,v=d.addonBefore,E=d.addonAfter,N=d.className,S=d.style,b=d.disabled,n=d.readOnly,a=d.focused,h=d.triggerFocus,T=d.allowClear,re=d.value,de=d.handleReset,ve=d.hidden,De=d.classes,Ae=d.classNames,vt=d.dataAttrs,me=d.styles,Xe=d.components,Ne=d.onClear,Qe=$!=null?$:I,Te=(Xe==null?void 0:Xe.affixWrapper)||"span",ae=(Xe==null?void 0:Xe.groupWrapper)||"span",W=(Xe==null?void 0:Xe.wrapper)||"span",X=(Xe==null?void 0:Xe.groupAddon)||"span",c=(0,V.useRef)(null),L=function(Le){var Pe;(Pe=c.current)!==null&&Pe!==void 0&&Pe.contains(Le.target)&&(h==null||h())},J=(0,H.X3)(d),x=(0,V.cloneElement)(Qe,{value:re,className:p()((O=Qe.props)===null||O===void 0?void 0:O.className,!J&&(Ae==null?void 0:Ae.variant))||null}),m=(0,V.useRef)(null);if(V.useImperativeHandle(u,function(){return{nativeElement:m.current||c.current}}),J){var F=null;if(T){var q=!b&&!n&&re,M="".concat(B,"-clear-icon"),U=(0,G.Z)(T)==="object"&&T!==null&&T!==void 0&&T.clearIcon?T.clearIcon:"\u2716";F=V.createElement("button",{type:"button",tabIndex:-1,onClick:function(Le){de==null||de(Le),Ne==null||Ne()},onMouseDown:function(Le){return Le.preventDefault()},className:p()(M,(0,K.Z)((0,K.Z)({},"".concat(M,"-hidden"),!q),"".concat(M,"-has-suffix"),!!C))},U)}var z="".concat(B,"-affix-wrapper"),ce=p()(z,(0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)({},"".concat(B,"-disabled"),b),"".concat(z,"-disabled"),b),"".concat(z,"-focused"),a),"".concat(z,"-readonly"),n),"".concat(z,"-input-with-clear-btn"),C&&T&&re),De==null?void 0:De.affixWrapper,Ae==null?void 0:Ae.affixWrapper,Ae==null?void 0:Ae.variant),ie=(C||T)&&V.createElement("span",{className:p()("".concat(B,"-suffix"),Ae==null?void 0:Ae.suffix),style:me==null?void 0:me.suffix},F,C);x=V.createElement(Te,(0,D.Z)({className:ce,style:me==null?void 0:me.affixWrapper,onClick:L},vt==null?void 0:vt.affixWrapper,{ref:c}),Ee&&V.createElement("span",{className:p()("".concat(B,"-prefix"),Ae==null?void 0:Ae.prefix),style:me==null?void 0:me.prefix},Ee),x,ie)}if((0,H.He)(d)){var we="".concat(B,"-group"),Me="".concat(we,"-addon"),je="".concat(we,"-wrapper"),Ke=p()("".concat(B,"-wrapper"),we,De==null?void 0:De.wrapper,Ae==null?void 0:Ae.wrapper),ke=p()(je,(0,K.Z)({},"".concat(je,"-disabled"),b),De==null?void 0:De.group,Ae==null?void 0:Ae.groupWrapper);x=V.createElement(ae,{className:ke,ref:m},V.createElement(W,{className:Ke},v&&V.createElement(X,{className:Me},v),x,E&&V.createElement(X,{className:Me},E)))}return V.cloneElement(x,{className:p()((k=x.props)===null||k===void 0?void 0:k.className,N)||null,style:(0,P.Z)((0,P.Z)({},(Z=x.props)===null||Z===void 0?void 0:Z.style),S),hidden:ve})}),s=e,f=l(94480),t=l(42978),r=l(75931),i=l(18929),o=l(2738),g=l(66003),w=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],R=(0,V.forwardRef)(function(d,u){var O=d.autoComplete,k=d.onChange,Z=d.onFocus,I=d.onBlur,$=d.onPressEnter,B=d.onKeyDown,Ee=d.onKeyUp,C=d.prefixCls,v=C===void 0?"rc-input":C,E=d.disabled,N=d.htmlSize,S=d.className,b=d.maxLength,n=d.suffix,a=d.showCount,h=d.count,T=d.type,re=T===void 0?"text":T,de=d.classes,ve=d.classNames,De=d.styles,Ae=d.onCompositionStart,vt=d.onCompositionEnd,me=(0,r.Z)(d,w),Xe=(0,V.useState)(!1),Ne=(0,t.Z)(Xe,2),Qe=Ne[0],Te=Ne[1],ae=(0,V.useRef)(!1),W=(0,V.useRef)(!1),X=(0,V.useRef)(null),c=(0,V.useRef)(null),L=function(ot){X.current&&(0,H.nH)(X.current,ot)},J=(0,i.Z)(d.defaultValue,{value:d.value}),x=(0,t.Z)(J,2),m=x[0],F=x[1],q=m==null?"":String(m),M=(0,V.useState)(null),U=(0,t.Z)(M,2),z=U[0],ce=U[1],ie=(0,g.Z)(h,a),we=ie.max||b,Me=ie.strategy(q),je=!!we&&Me>we;(0,V.useImperativeHandle)(u,function(){var ht;return{focus:L,blur:function(){var Kt;(Kt=X.current)===null||Kt===void 0||Kt.blur()},setSelectionRange:function(Kt,nn,At){var gt;(gt=X.current)===null||gt===void 0||gt.setSelectionRange(Kt,nn,At)},select:function(){var Kt;(Kt=X.current)===null||Kt===void 0||Kt.select()},input:X.current,nativeElement:((ht=c.current)===null||ht===void 0?void 0:ht.nativeElement)||X.current}}),(0,V.useEffect)(function(){W.current&&(W.current=!1),Te(function(ht){return ht&&E?!1:ht})},[E]);var Ke=function(ot,Kt,nn){var At=Kt;if(!ae.current&&ie.exceedFormatter&&ie.max&&ie.strategy(Kt)>ie.max){if(At=ie.exceedFormatter(Kt,{max:ie.max}),Kt!==At){var gt,Ft;ce([((gt=X.current)===null||gt===void 0?void 0:gt.selectionStart)||0,((Ft=X.current)===null||Ft===void 0?void 0:Ft.selectionEnd)||0])}}else if(nn.source==="compositionEnd")return;F(At),X.current&&(0,H.rJ)(X.current,ot,k,At)};(0,V.useEffect)(function(){if(z){var ht;(ht=X.current)===null||ht===void 0||ht.setSelectionRange.apply(ht,(0,f.Z)(z))}},[z]);var ke=function(ot){Ke(ot,ot.target.value,{source:"change"})},ue=function(ot){ae.current=!1,Ke(ot,ot.currentTarget.value,{source:"compositionEnd"}),vt==null||vt(ot)},Le=function(ot){$&&ot.key==="Enter"&&!W.current&&(W.current=!0,$(ot)),B==null||B(ot)},Pe=function(ot){ot.key==="Enter"&&(W.current=!1),Ee==null||Ee(ot)},Re=function(ot){Te(!0),Z==null||Z(ot)},dt=function(ot){W.current&&(W.current=!1),Te(!1),I==null||I(ot)},xt=function(ot){F(""),L(),X.current&&(0,H.rJ)(X.current,ot,k)},Ie=je&&"".concat(v,"-out-of-range"),Lt=function(){var ot=(0,o.Z)(d,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return V.createElement("input",(0,D.Z)({autoComplete:O},ot,{onChange:ke,onFocus:Re,onBlur:dt,onKeyDown:Le,onKeyUp:Pe,className:p()(v,(0,K.Z)({},"".concat(v,"-disabled"),E),ve==null?void 0:ve.input),style:De==null?void 0:De.input,ref:X,size:N,type:re,onCompositionStart:function(nn){ae.current=!0,Ae==null||Ae(nn)},onCompositionEnd:ue}))},en=function(){var ot=Number(we)>0;if(n||ie.show){var Kt=ie.showFormatter?ie.showFormatter({value:q,count:Me,maxLength:we}):"".concat(Me).concat(ot?" / ".concat(we):"");return V.createElement(V.Fragment,null,ie.show&&V.createElement("span",{className:p()("".concat(v,"-show-count-suffix"),(0,K.Z)({},"".concat(v,"-show-count-has-suffix"),!!n),ve==null?void 0:ve.count),style:(0,P.Z)({},De==null?void 0:De.count)},Kt),n)}return null};return V.createElement(s,(0,D.Z)({},me,{prefixCls:v,className:p()(S,Ie),handleReset:xt,value:q,focused:Qe,triggerFocus:L,suffix:en(),disabled:E,classes:de,classNames:ve,styles:De}),Lt())}),_=R,y=_},30292:function(Bt,Ze,l){"use strict";l.d(Ze,{He:function(){return P},X3:function(){return D},nH:function(){return j},rJ:function(){return G}});function P(p){return!!(p.addonBefore||p.addonAfter)}function D(p){return!!(p.prefix||p.suffix||p.allowClear)}function K(p,V,H){var e=V.cloneNode(!0),s=Object.create(p,{target:{value:e},currentTarget:{value:e}});return e.value=H,typeof V.selectionStart=="number"&&typeof V.selectionEnd=="number"&&(e.selectionStart=V.selectionStart,e.selectionEnd=V.selectionEnd),e.setSelectionRange=function(){V.setSelectionRange.apply(V,arguments)},s}function G(p,V,H,e){if(H){var s=V;if(V.type==="click"){s=K(V,p,""),H(s);return}if(p.type!=="file"&&e!==void 0){s=K(V,p,e),H(s);return}H(s)}}function j(p,V){if(p){p.focus(V);var H=V||{},e=H.cursor;if(e){var s=p.value.length;switch(e){case"start":p.setSelectionRange(0,0);break;case"end":p.setSelectionRange(s,s);break;default:p.setSelectionRange(0,s)}}}}},28321:function(Bt,Ze,l){"use strict";l.d(Ze,{iz:function(){return ee},ck:function(){return At},BW:function(){return He},sN:function(){return At},Wd:function(){return an},ZP:function(){return ze},Xl:function(){return $}});var P=l(54476),D=l(20068),K=l(33885),G=l(94480),j=l(42978),p=l(75931),V=l(92310),H=l.n(V),e=l(11780),s=l(18929),f=l(13697),t=l(48736),r=l(59301),i=l(4676),o=r.createContext(null);function g(Y,fe){return Y===void 0?null:"".concat(Y,"-").concat(fe)}function w(Y){var fe=r.useContext(o);return g(fe,Y)}var R=l(80547),_=["children","locked"],y=r.createContext(null);function d(Y,fe){var pe=(0,K.Z)({},Y);return Object.keys(fe).forEach(function(ge){var Fe=fe[ge];Fe!==void 0&&(pe[ge]=Fe)}),pe}function u(Y){var fe=Y.children,pe=Y.locked,ge=(0,p.Z)(Y,_),Fe=r.useContext(y),Ge=(0,R.Z)(function(){return d(Fe,ge)},[Fe,ge],function(Je,lt){return!pe&&(Je[0]!==lt[0]||!(0,f.Z)(Je[1],lt[1],!0))});return r.createElement(y.Provider,{value:Ge},fe)}var O=[],k=r.createContext(null);function Z(){return r.useContext(k)}var I=r.createContext(O);function $(Y){var fe=r.useContext(I);return r.useMemo(function(){return Y!==void 0?[].concat((0,G.Z)(fe),[Y]):fe},[fe,Y])}var B=r.createContext(null),Ee=r.createContext({}),C=Ee,v=l(29194);function E(Y){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,v.Z)(Y)){var pe=Y.nodeName.toLowerCase(),ge=["input","select","textarea","button"].includes(pe)||Y.isContentEditable||pe==="a"&&!!Y.getAttribute("href"),Fe=Y.getAttribute("tabindex"),Ge=Number(Fe),Je=null;return Fe&&!Number.isNaN(Ge)?Je=Ge:ge&&Je===null&&(Je=0),ge&&Y.disabled&&(Je=null),Je!==null&&(Je>=0||fe&&Je<0)}return!1}function N(Y){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pe=(0,G.Z)(Y.querySelectorAll("*")).filter(function(ge){return E(ge,fe)});return E(Y,fe)&&pe.unshift(Y),pe}var S=null;function b(){S=document.activeElement}function n(){S=null}function a(){if(S)try{S.focus()}catch(Y){}}function h(Y,fe){if(fe.keyCode===9){var pe=N(Y),ge=pe[fe.shiftKey?0:pe.length-1],Fe=ge===document.activeElement||Y===document.activeElement;if(Fe){var Ge=pe[fe.shiftKey?pe.length-1:0];Ge.focus(),fe.preventDefault()}}}var T=l(10228),re=l(16089),de=T.Z.LEFT,ve=T.Z.RIGHT,De=T.Z.UP,Ae=T.Z.DOWN,vt=T.Z.ENTER,me=T.Z.ESC,Xe=T.Z.HOME,Ne=T.Z.END,Qe=[De,Ae,de,ve];function Te(Y,fe,pe,ge){var Fe,Ge="prev",Je="next",lt="children",yt="parent";if(Y==="inline"&&ge===vt)return{inlineTrigger:!0};var St=(0,D.Z)((0,D.Z)({},De,Ge),Ae,Je),cn=(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)({},de,pe?Je:Ge),ve,pe?Ge:Je),Ae,lt),vt,lt),Rt=(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)({},De,Ge),Ae,Je),vt,lt),me,yt),de,pe?lt:yt),ve,pe?yt:lt),Pt={inline:St,horizontal:cn,vertical:Rt,inlineSub:St,horizontalSub:Rt,verticalSub:Rt},zt=(Fe=Pt["".concat(Y).concat(fe?"":"Sub")])===null||Fe===void 0?void 0:Fe[ge];switch(zt){case Ge:return{offset:-1,sibling:!0};case Je:return{offset:1,sibling:!0};case yt:return{offset:-1,sibling:!1};case lt:return{offset:1,sibling:!1};default:return null}}function ae(Y){for(var fe=Y;fe;){if(fe.getAttribute("data-menu-list"))return fe;fe=fe.parentElement}return null}function W(Y,fe){for(var pe=Y||document.activeElement;pe;){if(fe.has(pe))return pe;pe=pe.parentElement}return null}function X(Y,fe){var pe=N(Y,!0);return pe.filter(function(ge){return fe.has(ge)})}function c(Y,fe,pe){var ge=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Y)return null;var Fe=X(Y,fe),Ge=Fe.length,Je=Fe.findIndex(function(lt){return pe===lt});return ge<0?Je===-1?Je=Ge-1:Je-=1:ge>0&&(Je+=1),Je=(Je+Ge)%Ge,Fe[Je]}var L=function(fe,pe){var ge=new Set,Fe=new Map,Ge=new Map;return fe.forEach(function(Je){var lt=document.querySelector("[data-menu-id='".concat(g(pe,Je),"']"));lt&&(ge.add(lt),Ge.set(lt,Je),Fe.set(Je,lt))}),{elements:ge,key2element:Fe,element2key:Ge}};function J(Y,fe,pe,ge,Fe,Ge,Je,lt,yt,St){var cn=r.useRef(),Rt=r.useRef();Rt.current=fe;var Pt=function(){re.Z.cancel(cn.current)};return r.useEffect(function(){return function(){Pt()}},[]),function(zt){var Gt=zt.which;if([].concat(Qe,[vt,me,Xe,Ne]).includes(Gt)){var Vt=Ge(),Nt=L(Vt,ge),Dt=Nt,rt=Dt.elements,ft=Dt.key2element,mt=Dt.element2key,Yt=ft.get(fe),It=W(Yt,rt),Ht=mt.get(It),Tn=Te(Y,Je(Ht,!0).length===1,pe,Gt);if(!Tn&&Gt!==Xe&&Gt!==Ne)return;(Qe.includes(Gt)||[Xe,Ne].includes(Gt))&&zt.preventDefault();var A=function(xe){if(xe){var ne=xe,le=xe.querySelector("a");le!=null&&le.getAttribute("href")&&(ne=le);var he=mt.get(xe);lt(he),Pt(),cn.current=(0,re.Z)(function(){Rt.current===he&&ne.focus()})}};if([Xe,Ne].includes(Gt)||Tn.sibling||!It){var oe;!It||Y==="inline"?oe=Fe.current:oe=ae(It);var te,se=X(oe,rt);Gt===Xe?te=se[0]:Gt===Ne?te=se[se.length-1]:te=c(oe,rt,It,Tn.offset),A(te)}else if(Tn.inlineTrigger)yt(Ht);else if(Tn.offset>0)yt(Ht,!0),Pt(),cn.current=(0,re.Z)(function(){Nt=L(Vt,ge);var Oe=It.getAttribute("aria-controls"),xe=document.getElementById(Oe),ne=c(xe,Nt.elements);A(ne)},5);else if(Tn.offset<0){var _e=Je(Ht,!0),be=_e[_e.length-2],Be=ft.get(be);yt(be,!1),A(Be)}}St==null||St(zt)}}function x(Y){Promise.resolve().then(Y)}var m="__RC_UTIL_PATH_SPLIT__",F=function(fe){return fe.join(m)},q=function(fe){return fe.split(m)},M="rc-menu-more";function U(){var Y=r.useState({}),fe=(0,j.Z)(Y,2),pe=fe[1],ge=(0,r.useRef)(new Map),Fe=(0,r.useRef)(new Map),Ge=r.useState([]),Je=(0,j.Z)(Ge,2),lt=Je[0],yt=Je[1],St=(0,r.useRef)(0),cn=(0,r.useRef)(!1),Rt=function(){cn.current||pe({})},Pt=(0,r.useCallback)(function(ft,mt){var Yt=F(mt);Fe.current.set(Yt,ft),ge.current.set(ft,Yt),St.current+=1;var It=St.current;x(function(){It===St.current&&Rt()})},[]),zt=(0,r.useCallback)(function(ft,mt){var Yt=F(mt);Fe.current.delete(Yt),ge.current.delete(ft)},[]),Gt=(0,r.useCallback)(function(ft){yt(ft)},[]),Vt=(0,r.useCallback)(function(ft,mt){var Yt=ge.current.get(ft)||"",It=q(Yt);return mt&&lt.includes(It[0])&&It.unshift(M),It},[lt]),Nt=(0,r.useCallback)(function(ft,mt){return ft.filter(function(Yt){return Yt!==void 0}).some(function(Yt){var It=Vt(Yt,!0);return It.includes(mt)})},[Vt]),Dt=function(){var mt=(0,G.Z)(ge.current.keys());return lt.length&&mt.push(M),mt},rt=(0,r.useCallback)(function(ft){var mt="".concat(ge.current.get(ft)).concat(m),Yt=new Set;return(0,G.Z)(Fe.current.keys()).forEach(function(It){It.startsWith(mt)&&Yt.add(Fe.current.get(It))}),Yt},[]);return r.useEffect(function(){return function(){cn.current=!0}},[]),{registerPath:Pt,unregisterPath:zt,refreshOverflowKeys:Gt,isSubPathKey:Nt,getKeyPath:Vt,getKeys:Dt,getSubPathKeys:rt}}function z(Y){var fe=r.useRef(Y);fe.current=Y;var pe=r.useCallback(function(){for(var ge,Fe=arguments.length,Ge=new Array(Fe),Je=0;Je<Fe;Je++)Ge[Je]=arguments[Je];return(ge=fe.current)===null||ge===void 0?void 0:ge.call.apply(ge,[fe].concat(Ge))},[]);return Y?pe:void 0}var ce=Math.random().toFixed(5).toString().slice(2),ie=0;function we(Y){var fe=(0,s.Z)(Y,{value:Y}),pe=(0,j.Z)(fe,2),ge=pe[0],Fe=pe[1];return r.useEffect(function(){ie+=1;var Ge="".concat(ce,"-").concat(ie);Fe("rc-menu-uuid-".concat(Ge))},[]),ge}var Me=l(67732),je=l(83652),Ke=l(42403),ke=l(158),ue=l(2738),Le=l(8654);function Pe(Y,fe,pe,ge){var Fe=r.useContext(y),Ge=Fe.activeKey,Je=Fe.onActive,lt=Fe.onInactive,yt={active:Ge===Y};return fe||(yt.onMouseEnter=function(St){pe==null||pe({key:Y,domEvent:St}),Je(Y)},yt.onMouseLeave=function(St){ge==null||ge({key:Y,domEvent:St}),lt(Y)}),yt}function Re(Y){var fe=r.useContext(y),pe=fe.mode,ge=fe.rtl,Fe=fe.inlineIndent;if(pe!=="inline")return null;var Ge=Y;return ge?{paddingRight:Ge*Fe}:{paddingLeft:Ge*Fe}}function dt(Y){var fe=Y.icon,pe=Y.props,ge=Y.children,Fe;return fe===null||fe===!1?null:(typeof fe=="function"?Fe=r.createElement(fe,(0,K.Z)({},pe)):typeof fe!="boolean"&&(Fe=fe),Fe||ge||null)}var xt=["item"];function Ie(Y){var fe=Y.item,pe=(0,p.Z)(Y,xt);return Object.defineProperty(pe,"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."),fe}}),pe}var Lt=["title","attribute","elementRef"],en=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],ht=["active"],ot=function(Y){(0,Ke.Z)(pe,Y);var fe=(0,ke.Z)(pe);function pe(){return(0,Me.Z)(this,pe),fe.apply(this,arguments)}return(0,je.Z)(pe,[{key:"render",value:function(){var Fe=this.props,Ge=Fe.title,Je=Fe.attribute,lt=Fe.elementRef,yt=(0,p.Z)(Fe,Lt),St=(0,ue.Z)(yt,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,t.ZP)(!Je,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r.createElement(e.Z.Item,(0,P.Z)({},Je,{title:typeof Ge=="string"?Ge:void 0},St,{ref:lt}))}}]),pe}(r.Component),Kt=r.forwardRef(function(Y,fe){var pe=Y.style,ge=Y.className,Fe=Y.eventKey,Ge=Y.warnKey,Je=Y.disabled,lt=Y.itemIcon,yt=Y.children,St=Y.role,cn=Y.onMouseEnter,Rt=Y.onMouseLeave,Pt=Y.onClick,zt=Y.onKeyDown,Gt=Y.onFocus,Vt=(0,p.Z)(Y,en),Nt=w(Fe),Dt=r.useContext(y),rt=Dt.prefixCls,ft=Dt.onItemClick,mt=Dt.disabled,Yt=Dt.overflowDisabled,It=Dt.itemIcon,Ht=Dt.selectedKeys,Tn=Dt.onActive,A=r.useContext(C),oe=A._internalRenderMenuItem,te="".concat(rt,"-item"),se=r.useRef(),_e=r.useRef(),be=mt||Je,Be=(0,Le.x1)(fe,_e),Oe=$(Fe),xe=function(bt){return{key:Fe,keyPath:(0,G.Z)(Oe).reverse(),item:se.current,domEvent:bt}},ne=lt||It,le=Pe(Fe,be,cn,Rt),he=le.active,ye=(0,p.Z)(le,ht),Ce=Ht.includes(Fe),Ye=Re(Oe.length),pt=function(bt){if(!be){var pn=xe(bt);Pt==null||Pt(Ie(pn)),ft(pn)}},it=function(bt){if(zt==null||zt(bt),bt.which===T.Z.ENTER){var pn=xe(bt);Pt==null||Pt(Ie(pn)),ft(pn)}},kt=function(bt){Tn(Fe),Gt==null||Gt(bt)},Ut={};Y.role==="option"&&(Ut["aria-selected"]=Ce);var Tt=r.createElement(ot,(0,P.Z)({ref:se,elementRef:Be,role:St===null?"none":St||"menuitem",tabIndex:Je?null:-1,"data-menu-id":Yt&&Nt?null:Nt},(0,ue.Z)(Vt,["extra"]),ye,Ut,{component:"li","aria-disabled":Je,style:(0,K.Z)((0,K.Z)({},Ye),pe),className:H()(te,(0,D.Z)((0,D.Z)((0,D.Z)({},"".concat(te,"-active"),he),"".concat(te,"-selected"),Ce),"".concat(te,"-disabled"),be),ge),onClick:pt,onKeyDown:it,onFocus:kt}),yt,r.createElement(dt,{props:(0,K.Z)((0,K.Z)({},Y),{},{isSelected:Ce}),icon:ne}));return oe&&(Tt=oe(Tt,Y,{selected:Ce})),Tt});function nn(Y,fe){var pe=Y.eventKey,ge=Z(),Fe=$(pe);return r.useEffect(function(){if(ge)return ge.registerPath(pe,Fe),function(){ge.unregisterPath(pe,Fe)}},[Fe]),ge?null:r.createElement(Kt,(0,P.Z)({},Y,{ref:fe}))}var At=r.forwardRef(nn),gt=["className","children"],Ft=function(fe,pe){var ge=fe.className,Fe=fe.children,Ge=(0,p.Z)(fe,gt),Je=r.useContext(y),lt=Je.prefixCls,yt=Je.mode,St=Je.rtl;return r.createElement("ul",(0,P.Z)({className:H()(lt,St&&"".concat(lt,"-rtl"),"".concat(lt,"-sub"),"".concat(lt,"-").concat(yt==="inline"?"inline":"vertical"),ge),role:"menu"},Ge,{"data-menu-list":!0,ref:pe}),Fe)},vn=r.forwardRef(Ft);vn.displayName="SubMenuList";var Mt=vn,ut=l(11592);function Et(Y,fe){return(0,ut.Z)(Y).map(function(pe,ge){if(r.isValidElement(pe)){var Fe,Ge,Je=pe.key,lt=(Fe=(Ge=pe.props)===null||Ge===void 0?void 0:Ge.eventKey)!==null&&Fe!==void 0?Fe:Je,yt=lt==null;yt&&(lt="tmp_key-".concat([].concat((0,G.Z)(fe),[ge]).join("-")));var St={key:lt,eventKey:lt};return r.cloneElement(pe,St)}return pe})}var Zn=l(65030),mn={adjustX:1,adjustY:1},Ln={topLeft:{points:["bl","tl"],overflow:mn},topRight:{points:["br","tr"],overflow:mn},bottomLeft:{points:["tl","bl"],overflow:mn},bottomRight:{points:["tr","br"],overflow:mn},leftTop:{points:["tr","tl"],overflow:mn},leftBottom:{points:["br","bl"],overflow:mn},rightTop:{points:["tl","tr"],overflow:mn},rightBottom:{points:["bl","br"],overflow:mn}},jn={topLeft:{points:["bl","tl"],overflow:mn},topRight:{points:["br","tr"],overflow:mn},bottomLeft:{points:["tl","bl"],overflow:mn},bottomRight:{points:["tr","br"],overflow:mn},rightTop:{points:["tr","tl"],overflow:mn},rightBottom:{points:["br","bl"],overflow:mn},leftTop:{points:["tl","tr"],overflow:mn},leftBottom:{points:["bl","br"],overflow:mn}},bn=null;function Cn(Y,fe,pe){if(fe)return fe;if(pe)return pe[Y]||pe.other}var Kn={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Rn(Y){var fe=Y.prefixCls,pe=Y.visible,ge=Y.children,Fe=Y.popup,Ge=Y.popupStyle,Je=Y.popupClassName,lt=Y.popupOffset,yt=Y.disabled,St=Y.mode,cn=Y.onVisibleChange,Rt=r.useContext(y),Pt=Rt.getPopupContainer,zt=Rt.rtl,Gt=Rt.subMenuOpenDelay,Vt=Rt.subMenuCloseDelay,Nt=Rt.builtinPlacements,Dt=Rt.triggerSubMenuAction,rt=Rt.forceSubMenuRender,ft=Rt.rootClassName,mt=Rt.motion,Yt=Rt.defaultMotions,It=r.useState(!1),Ht=(0,j.Z)(It,2),Tn=Ht[0],A=Ht[1],oe=zt?(0,K.Z)((0,K.Z)({},jn),Nt):(0,K.Z)((0,K.Z)({},Ln),Nt),te=Kn[St],se=Cn(St,mt,Yt),_e=r.useRef(se);St!=="inline"&&(_e.current=se);var be=(0,K.Z)((0,K.Z)({},_e.current),{},{leavedClassName:"".concat(fe,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Be=r.useRef();return r.useEffect(function(){return Be.current=(0,re.Z)(function(){A(pe)}),function(){re.Z.cancel(Be.current)}},[pe]),r.createElement(Zn.Z,{prefixCls:fe,popupClassName:H()("".concat(fe,"-popup"),(0,D.Z)({},"".concat(fe,"-rtl"),zt),Je,ft),stretch:St==="horizontal"?"minWidth":null,getPopupContainer:Pt,builtinPlacements:oe,popupPlacement:te,popupVisible:Tn,popup:Fe,popupStyle:Ge,popupAlign:lt&&{offset:lt},action:yt?[]:[Dt],mouseEnterDelay:Gt,mouseLeaveDelay:Vt,onPopupVisibleChange:cn,forceRender:rt,popupMotion:be,fresh:!0},ge)}var On=l(77900);function gn(Y){var fe=Y.id,pe=Y.open,ge=Y.keyPath,Fe=Y.children,Ge="inline",Je=r.useContext(y),lt=Je.prefixCls,yt=Je.forceSubMenuRender,St=Je.motion,cn=Je.defaultMotions,Rt=Je.mode,Pt=r.useRef(!1);Pt.current=Rt===Ge;var zt=r.useState(!Pt.current),Gt=(0,j.Z)(zt,2),Vt=Gt[0],Nt=Gt[1],Dt=Pt.current?pe:!1;r.useEffect(function(){Pt.current&&Nt(!1)},[Rt]);var rt=(0,K.Z)({},Cn(Ge,St,cn));ge.length>1&&(rt.motionAppear=!1);var ft=rt.onVisibleChanged;return rt.onVisibleChanged=function(mt){return!Pt.current&&!mt&&Nt(!0),ft==null?void 0:ft(mt)},Vt?null:r.createElement(u,{mode:Ge,locked:!Pt.current},r.createElement(On.default,(0,P.Z)({visible:Dt},rt,{forceRender:yt,removeOnLeave:!1,leavedClassName:"".concat(lt,"-hidden")}),function(mt){var Yt=mt.className,It=mt.style;return r.createElement(Mt,{id:fe,className:Yt,style:It},Fe)}))}var Dn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],st=["active"],et=r.forwardRef(function(Y,fe){var pe=Y.style,ge=Y.className,Fe=Y.title,Ge=Y.eventKey,Je=Y.warnKey,lt=Y.disabled,yt=Y.internalPopupClose,St=Y.children,cn=Y.itemIcon,Rt=Y.expandIcon,Pt=Y.popupClassName,zt=Y.popupOffset,Gt=Y.popupStyle,Vt=Y.onClick,Nt=Y.onMouseEnter,Dt=Y.onMouseLeave,rt=Y.onTitleClick,ft=Y.onTitleMouseEnter,mt=Y.onTitleMouseLeave,Yt=(0,p.Z)(Y,Dn),It=w(Ge),Ht=r.useContext(y),Tn=Ht.prefixCls,A=Ht.mode,oe=Ht.openKeys,te=Ht.disabled,se=Ht.overflowDisabled,_e=Ht.activeKey,be=Ht.selectedKeys,Be=Ht.itemIcon,Oe=Ht.expandIcon,xe=Ht.onItemClick,ne=Ht.onOpenChange,le=Ht.onActive,he=r.useContext(C),ye=he._internalRenderSubMenuItem,Ce=r.useContext(B),Ye=Ce.isSubPathKey,pt=$(),it="".concat(Tn,"-submenu"),kt=te||lt,Ut=r.useRef(),Tt=r.useRef(),Jt=cn!=null?cn:Be,bt=Rt!=null?Rt:Oe,pn=oe.includes(Ge),on=!se&&pn,_n=Ye(be,Ge),Xt=Pe(Ge,kt,ft,mt),rn=Xt.active,yn=(0,p.Z)(Xt,st),ln=r.useState(!1),dn=(0,j.Z)(ln,2),jt=dn[0],wt=dn[1],Zt=function(Nn){kt||wt(Nn)},Qt=function(Nn){Zt(!0),Nt==null||Nt({key:Ge,domEvent:Nn})},hn=function(Nn){Zt(!1),Dt==null||Dt({key:Ge,domEvent:Nn})},un=r.useMemo(function(){return rn||(A!=="inline"?jt||Ye([_e],Ge):!1)},[A,rn,_e,jt,Ge,Ye]),fn=Re(pt.length),Un=function(Nn){kt||(rt==null||rt({key:Ge,domEvent:Nn}),A==="inline"&&ne(Ge,!pn))},Xn=z(function(xn){Vt==null||Vt(Ie(xn)),xe(xn)}),$n=function(Nn){A!=="inline"&&ne(Ge,Nn)},or=function(){le(Ge)},ar=It&&"".concat(It,"-popup"),qn=r.useMemo(function(){return r.createElement(dt,{icon:A!=="horizontal"?bt:void 0,props:(0,K.Z)((0,K.Z)({},Y),{},{isOpen:on,isSubMenu:!0})},r.createElement("i",{className:"".concat(it,"-arrow")}))},[A,bt,Y,on,it]),wn=r.createElement("div",(0,P.Z)({role:"menuitem",style:fn,className:"".concat(it,"-title"),tabIndex:kt?null:-1,ref:Ut,title:typeof Fe=="string"?Fe:null,"data-menu-id":se&&It?null:It,"aria-expanded":on,"aria-haspopup":!0,"aria-controls":ar,"aria-disabled":kt,onClick:Un,onFocus:or},yn),Fe,qn),An=r.useRef(A);if(A!=="inline"&&pt.length>1?An.current="vertical":An.current=A,!se){var Gn=An.current;wn=r.createElement(Rn,{mode:Gn,prefixCls:it,visible:!yt&&on&&A!=="inline",popupClassName:Pt,popupOffset:zt,popupStyle:Gt,popup:r.createElement(u,{mode:Gn==="horizontal"?"vertical":Gn},r.createElement(Mt,{id:ar,ref:Tt},St)),disabled:kt,onVisibleChange:$n},wn)}var En=r.createElement(e.Z.Item,(0,P.Z)({ref:fe,role:"none"},Yt,{component:"li",style:pe,className:H()(it,"".concat(it,"-").concat(A),ge,(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)({},"".concat(it,"-open"),on),"".concat(it,"-active"),un),"".concat(it,"-selected"),_n),"".concat(it,"-disabled"),kt)),onMouseEnter:Qt,onMouseLeave:hn}),wn,!se&&r.createElement(gn,{id:ar,open:on,keyPath:pt},St));return ye&&(En=ye(En,Y,{selected:_n,active:un,open:on,disabled:kt})),r.createElement(u,{onItemClick:Xn,mode:A==="horizontal"?"vertical":A,itemIcon:Jt,expandIcon:bt},En)}),_t=r.forwardRef(function(Y,fe){var pe=Y.eventKey,ge=Y.children,Fe=$(pe),Ge=Et(ge,Fe),Je=Z();r.useEffect(function(){if(Je)return Je.registerPath(pe,Fe),function(){Je.unregisterPath(pe,Fe)}},[Fe]);var lt;return Je?lt=Ge:lt=r.createElement(et,(0,P.Z)({ref:fe},Y),Ge),r.createElement(I.Provider,{value:Fe},lt)}),an=_t,Sn=l(76190);function ee(Y){var fe=Y.className,pe=Y.style,ge=r.useContext(y),Fe=ge.prefixCls,Ge=Z();return Ge?null:r.createElement("li",{role:"separator",className:H()("".concat(Fe,"-item-divider"),fe),style:pe})}var Q=["className","title","eventKey","children"],We=r.forwardRef(function(Y,fe){var pe=Y.className,ge=Y.title,Fe=Y.eventKey,Ge=Y.children,Je=(0,p.Z)(Y,Q),lt=r.useContext(y),yt=lt.prefixCls,St="".concat(yt,"-item-group");return r.createElement("li",(0,P.Z)({ref:fe,role:"presentation"},Je,{onClick:function(Rt){return Rt.stopPropagation()},className:H()(St,pe)}),r.createElement("div",{role:"presentation",className:"".concat(St,"-title"),title:typeof ge=="string"?ge:void 0},ge),r.createElement("ul",{role:"group",className:"".concat(St,"-list")},Ge))}),Se=r.forwardRef(function(Y,fe){var pe=Y.eventKey,ge=Y.children,Fe=$(pe),Ge=Et(ge,Fe),Je=Z();return Je?Ge:r.createElement(We,(0,P.Z)({ref:fe},(0,ue.Z)(Y,["warnKey"])),Ge)}),He=Se,qe=["label","children","key","type","extra"];function Ve(Y,fe,pe){var ge=fe.item,Fe=fe.group,Ge=fe.submenu,Je=fe.divider;return(Y||[]).map(function(lt,yt){if(lt&&(0,Sn.Z)(lt)==="object"){var St=lt,cn=St.label,Rt=St.children,Pt=St.key,zt=St.type,Gt=St.extra,Vt=(0,p.Z)(St,qe),Nt=Pt!=null?Pt:"tmp-".concat(yt);return Rt||zt==="group"?zt==="group"?r.createElement(Fe,(0,P.Z)({key:Nt},Vt,{title:cn}),Ve(Rt,fe,pe)):r.createElement(Ge,(0,P.Z)({key:Nt},Vt,{title:cn}),Ve(Rt,fe,pe)):zt==="divider"?r.createElement(Je,(0,P.Z)({key:Nt},Vt)):r.createElement(ge,(0,P.Z)({key:Nt},Vt,{extra:Gt}),cn,(!!Gt||Gt===0)&&r.createElement("span",{className:"".concat(pe,"-item-extra")},Gt))}return null}).filter(function(lt){return lt})}function Ue(Y,fe,pe,ge,Fe){var Ge=Y,Je=(0,K.Z)({divider:ee,item:At,group:He,submenu:an},ge);return fe&&(Ge=Ve(fe,Je,Fe)),Et(Ge,pe)}var at=["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"],$e=[],nt=r.forwardRef(function(Y,fe){var pe,ge=Y,Fe=ge.prefixCls,Ge=Fe===void 0?"rc-menu":Fe,Je=ge.rootClassName,lt=ge.style,yt=ge.className,St=ge.tabIndex,cn=St===void 0?0:St,Rt=ge.items,Pt=ge.children,zt=ge.direction,Gt=ge.id,Vt=ge.mode,Nt=Vt===void 0?"vertical":Vt,Dt=ge.inlineCollapsed,rt=ge.disabled,ft=ge.disabledOverflow,mt=ge.subMenuOpenDelay,Yt=mt===void 0?.1:mt,It=ge.subMenuCloseDelay,Ht=It===void 0?.1:It,Tn=ge.forceSubMenuRender,A=ge.defaultOpenKeys,oe=ge.openKeys,te=ge.activeKey,se=ge.defaultActiveFirst,_e=ge.selectable,be=_e===void 0?!0:_e,Be=ge.multiple,Oe=Be===void 0?!1:Be,xe=ge.defaultSelectedKeys,ne=ge.selectedKeys,le=ge.onSelect,he=ge.onDeselect,ye=ge.inlineIndent,Ce=ye===void 0?24:ye,Ye=ge.motion,pt=ge.defaultMotions,it=ge.triggerSubMenuAction,kt=it===void 0?"hover":it,Ut=ge.builtinPlacements,Tt=ge.itemIcon,Jt=ge.expandIcon,bt=ge.overflowedIndicator,pn=bt===void 0?"...":bt,on=ge.overflowedIndicatorPopupClassName,_n=ge.getPopupContainer,Xt=ge.onClick,rn=ge.onOpenChange,yn=ge.onKeyDown,ln=ge.openAnimation,dn=ge.openTransitionName,jt=ge._internalRenderMenuItem,wt=ge._internalRenderSubMenuItem,Zt=ge._internalComponents,Qt=(0,p.Z)(ge,at),hn=r.useMemo(function(){return[Ue(Pt,Rt,$e,Zt,Ge),Ue(Pt,Rt,$e,{},Ge)]},[Pt,Rt,Zt]),un=(0,j.Z)(hn,2),fn=un[0],Un=un[1],Xn=r.useState(!1),$n=(0,j.Z)(Xn,2),or=$n[0],ar=$n[1],qn=r.useRef(),wn=we(Gt),An=zt==="rtl",Gn=(0,s.Z)(A,{value:oe,postState:function(Vn){return Vn||$e}}),En=(0,j.Z)(Gn,2),xn=En[0],Nn=En[1],Ot=function(Vn){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function vr(){Nn(Vn),rn==null||rn(Vn)}Yn?(0,i.flushSync)(vr):vr()},qt=r.useState(xn),tn=(0,j.Z)(qt,2),sn=tn[0],kn=tn[1],Fn=r.useRef(!1),ir=r.useMemo(function(){return(Nt==="inline"||Nt==="vertical")&&Dt?["vertical",Dt]:[Nt,!1]},[Nt,Dt]),Ct=(0,j.Z)(ir,2),$t=Ct[0],Wt=Ct[1],In=$t==="inline",zn=r.useState($t),Hn=(0,j.Z)(zn,2),cr=Hn[0],dr=Hn[1],lr=r.useState(Wt),Jn=(0,j.Z)(lr,2),Fr=Jn[0],Br=Jn[1];r.useEffect(function(){dr($t),Br(Wt),Fn.current&&(In?Nn(sn):Ot($e))},[$t,Wt]);var Sr=r.useState(0),Tr=(0,j.Z)(Sr,2),Pr=Tr[0],Or=Tr[1],Ar=Pr>=fn.length-1||cr!=="horizontal"||ft;r.useEffect(function(){In&&kn(xn)},[xn]),r.useEffect(function(){return Fn.current=!0,function(){Fn.current=!1}},[]);var br=U(),Mr=br.registerPath,Nr=br.unregisterPath,zr=br.refreshOverflowKeys,Dr=br.isSubPathKey,$r=br.getKeyPath,Ir=br.getKeys,Gr=br.getSubPathKeys,jr=r.useMemo(function(){return{registerPath:Mr,unregisterPath:Nr}},[Mr,Nr]),Wr=r.useMemo(function(){return{isSubPathKey:Dr}},[Dr]);r.useEffect(function(){zr(Ar?$e:fn.slice(Pr+1).map(function(tr){return tr.key}))},[Pr,Ar]);var kr=(0,s.Z)(te||se&&((pe=fn[0])===null||pe===void 0?void 0:pe.key),{value:te}),hr=(0,j.Z)(kr,2),ur=hr[0],Mn=hr[1],Pn=z(function(tr){Mn(tr)}),nr=z(function(){Mn(void 0)});(0,r.useImperativeHandle)(fe,function(){return{list:qn.current,focus:function(Vn){var Yn,vr=Ir(),fr=L(vr,wn),Cr=fr.elements,Xr=fr.key2element,ea=fr.element2key,ta=X(qn.current,Cr),Jr=ur!=null?ur:ta[0]?ea.get(ta[0]):(Yn=fn.find(function(Vr){return!Vr.props.disabled}))===null||Yn===void 0?void 0:Yn.key,Zr=Xr.get(Jr);if(Jr&&Zr){var Ur;Zr==null||(Ur=Zr.focus)===null||Ur===void 0||Ur.call(Zr,Vn)}}}});var Qn=(0,s.Z)(xe||[],{value:ne,postState:function(Vn){return Array.isArray(Vn)?Vn:Vn==null?$e:[Vn]}}),er=(0,j.Z)(Qn,2),rr=er[0],yr=er[1],gr=function(Vn){if(be){var Yn=Vn.key,vr=rr.includes(Yn),fr;Oe?vr?fr=rr.filter(function(Xr){return Xr!==Yn}):fr=[].concat((0,G.Z)(rr),[Yn]):fr=[Yn],yr(fr);var Cr=(0,K.Z)((0,K.Z)({},Vn),{},{selectedKeys:fr});vr?he==null||he(Cr):le==null||le(Cr)}!Oe&&xn.length&&cr!=="inline"&&Ot($e)},xr=z(function(tr){Xt==null||Xt(Ie(tr)),gr(tr)}),sr=z(function(tr,Vn){var Yn=xn.filter(function(fr){return fr!==tr});if(Vn)Yn.push(tr);else if(cr!=="inline"){var vr=Gr(tr);Yn=Yn.filter(function(fr){return!vr.has(fr)})}(0,f.Z)(xn,Yn,!0)||Ot(Yn,!0)}),mr=function(Vn,Yn){var vr=Yn!=null?Yn:!xn.includes(Vn);sr(Vn,vr)},Rr=J(cr,ur,An,wn,qn,Ir,$r,Mn,mr,yn);r.useEffect(function(){ar(!0)},[]);var Er=r.useMemo(function(){return{_internalRenderMenuItem:jt,_internalRenderSubMenuItem:wt}},[jt,wt]),Yr=cr!=="horizontal"||ft?fn:fn.map(function(tr,Vn){return r.createElement(u,{key:tr.key,overflowDisabled:Vn>Pr},tr)}),qr=r.createElement(e.Z,(0,P.Z)({id:Gt,ref:qn,prefixCls:"".concat(Ge,"-overflow"),component:"ul",itemComponent:At,className:H()(Ge,"".concat(Ge,"-root"),"".concat(Ge,"-").concat(cr),yt,(0,D.Z)((0,D.Z)({},"".concat(Ge,"-inline-collapsed"),Fr),"".concat(Ge,"-rtl"),An),Je),dir:zt,style:lt,role:"menu",tabIndex:cn,data:Yr,renderRawItem:function(Vn){return Vn},renderRawRest:function(Vn){var Yn=Vn.length,vr=Yn?fn.slice(-Yn):null;return r.createElement(an,{eventKey:M,title:pn,disabled:Ar,internalPopupClose:Yn===0,popupClassName:on},vr)},maxCount:cr!=="horizontal"||ft?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Vn){Or(Vn)},onKeyDown:Rr},Qt));return r.createElement(C.Provider,{value:Er},r.createElement(o.Provider,{value:wn},r.createElement(u,{prefixCls:Ge,rootClassName:Je,mode:cr,openKeys:xn,rtl:An,disabled:rt,motion:or?Ye:null,defaultMotions:or?pt:null,activeKey:ur,onActive:Pn,onInactive:nr,selectedKeys:rr,inlineIndent:Ce,subMenuOpenDelay:Yt,subMenuCloseDelay:Ht,forceSubMenuRender:Tn,builtinPlacements:Ut,triggerSubMenuAction:kt,getPopupContainer:_n,itemIcon:Tt,expandIcon:Jt,onItemClick:xr,onOpenChange:sr},r.createElement(B.Provider,{value:Wr},qr),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(k.Provider,{value:jr},Un)))))}),ct=nt,tt=ct;tt.Item=At,tt.SubMenu=an,tt.ItemGroup=He,tt.Divider=ee;var ze=tt},11780:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return b}});var P=l(54476),D=l(33885),K=l(42978),G=l(75931),j=l(59301),p=l(92310),V=l.n(p),H=l(29301),e=l(34280),s=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],f=void 0;function t(n,a){var h=n.prefixCls,T=n.invalidate,re=n.item,de=n.renderItem,ve=n.responsive,De=n.responsiveDisabled,Ae=n.registerSize,vt=n.itemKey,me=n.className,Xe=n.style,Ne=n.children,Qe=n.display,Te=n.order,ae=n.component,W=ae===void 0?"div":ae,X=(0,G.Z)(n,s),c=ve&&!Qe;function L(q){Ae(vt,q)}j.useEffect(function(){return function(){L(null)}},[]);var J=de&&re!==f?de(re,{index:Te}):Ne,x;T||(x={opacity:c?0:1,height:c?0:f,overflowY:c?"hidden":f,order:ve?Te:f,pointerEvents:c?"none":f,position:c?"absolute":f});var m={};c&&(m["aria-hidden"]=!0);var F=j.createElement(W,(0,P.Z)({className:V()(!T&&h,me),style:(0,D.Z)((0,D.Z)({},x),Xe)},m,X,{ref:a}),J);return ve&&(F=j.createElement(H.Z,{onResize:function(M){var U=M.offsetWidth;L(U)},disabled:De},F)),F}var r=j.forwardRef(t);r.displayName="Item";var i=r,o=l(6089),g=l(4676),w=l(16089);function R(n){if(typeof MessageChannel=="undefined")(0,w.Z)(n);else{var a=new MessageChannel;a.port1.onmessage=function(){return n()},a.port2.postMessage(void 0)}}function _(){var n=j.useRef(null),a=function(T){n.current||(n.current=[],R(function(){(0,g.unstable_batchedUpdates)(function(){n.current.forEach(function(re){re()}),n.current=null})})),n.current.push(T)};return a}function y(n,a){var h=j.useState(a),T=(0,K.Z)(h,2),re=T[0],de=T[1],ve=(0,o.Z)(function(De){n(function(){de(De)})});return[re,ve]}var d=j.createContext(null),u=["component"],O=["className"],k=["className"],Z=function(a,h){var T=j.useContext(d);if(!T){var re=a.component,de=re===void 0?"div":re,ve=(0,G.Z)(a,u);return j.createElement(de,(0,P.Z)({},ve,{ref:h}))}var De=T.className,Ae=(0,G.Z)(T,O),vt=a.className,me=(0,G.Z)(a,k);return j.createElement(d.Provider,{value:null},j.createElement(i,(0,P.Z)({ref:h,className:V()(De,vt)},Ae,me)))},I=j.forwardRef(Z);I.displayName="RawItem";var $=I,B=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Ee="responsive",C="invalidate";function v(n){return"+ ".concat(n.length," ...")}function E(n,a){var h=n.prefixCls,T=h===void 0?"rc-overflow":h,re=n.data,de=re===void 0?[]:re,ve=n.renderItem,De=n.renderRawItem,Ae=n.itemKey,vt=n.itemWidth,me=vt===void 0?10:vt,Xe=n.ssr,Ne=n.style,Qe=n.className,Te=n.maxCount,ae=n.renderRest,W=n.renderRawRest,X=n.suffix,c=n.component,L=c===void 0?"div":c,J=n.itemComponent,x=n.onVisibleChange,m=(0,G.Z)(n,B),F=Xe==="full",q=_(),M=y(q,null),U=(0,K.Z)(M,2),z=U[0],ce=U[1],ie=z||0,we=y(q,new Map),Me=(0,K.Z)(we,2),je=Me[0],Ke=Me[1],ke=y(q,0),ue=(0,K.Z)(ke,2),Le=ue[0],Pe=ue[1],Re=y(q,0),dt=(0,K.Z)(Re,2),xt=dt[0],Ie=dt[1],Lt=y(q,0),en=(0,K.Z)(Lt,2),ht=en[0],ot=en[1],Kt=(0,j.useState)(null),nn=(0,K.Z)(Kt,2),At=nn[0],gt=nn[1],Ft=(0,j.useState)(null),vn=(0,K.Z)(Ft,2),Mt=vn[0],ut=vn[1],Et=j.useMemo(function(){return Mt===null&&F?Number.MAX_SAFE_INTEGER:Mt||0},[Mt,z]),Zn=(0,j.useState)(!1),mn=(0,K.Z)(Zn,2),Ln=mn[0],jn=mn[1],bn="".concat(T,"-item"),Cn=Math.max(Le,xt),Kn=Te===Ee,Rn=de.length&&Kn,On=Te===C,gn=Rn||typeof Te=="number"&&de.length>Te,Dn=(0,j.useMemo)(function(){var tt=de;return Rn?z===null&&F?tt=de:tt=de.slice(0,Math.min(de.length,ie/me)):typeof Te=="number"&&(tt=de.slice(0,Te)),tt},[de,me,z,Te,Rn]),st=(0,j.useMemo)(function(){return Rn?de.slice(Et+1):de.slice(Dn.length)},[de,Dn,Rn,Et]),et=(0,j.useCallback)(function(tt,ze){var Y;return typeof Ae=="function"?Ae(tt):(Y=Ae&&(tt==null?void 0:tt[Ae]))!==null&&Y!==void 0?Y:ze},[Ae]),_t=(0,j.useCallback)(ve||function(tt){return tt},[ve]);function an(tt,ze,Y){Mt===tt&&(ze===void 0||ze===At)||(ut(tt),Y||(jn(tt<de.length-1),x==null||x(tt)),ze!==void 0&&gt(ze))}function Sn(tt,ze){ce(ze.clientWidth)}function ee(tt,ze){Ke(function(Y){var fe=new Map(Y);return ze===null?fe.delete(tt):fe.set(tt,ze),fe})}function Q(tt,ze){Ie(ze),Pe(xt)}function We(tt,ze){ot(ze)}function Se(tt){return je.get(et(Dn[tt],tt))}(0,e.Z)(function(){if(ie&&typeof Cn=="number"&&Dn){var tt=ht,ze=Dn.length,Y=ze-1;if(!ze){an(0,null);return}for(var fe=0;fe<ze;fe+=1){var pe=Se(fe);if(F&&(pe=pe||0),pe===void 0){an(fe-1,void 0,!0);break}if(tt+=pe,Y===0&&tt<=ie||fe===Y-1&&tt+Se(Y)<=ie){an(Y,null);break}else if(tt+Cn>ie){an(fe-1,tt-pe-ht+xt);break}}X&&Se(0)+ht>ie&&gt(null)}},[ie,je,xt,ht,et,Dn]);var He=Ln&&!!st.length,qe={};At!==null&&Rn&&(qe={position:"absolute",left:At,top:0});var Ve={prefixCls:bn,responsive:Rn,component:J,invalidate:On},Ue=De?function(tt,ze){var Y=et(tt,ze);return j.createElement(d.Provider,{key:Y,value:(0,D.Z)((0,D.Z)({},Ve),{},{order:ze,item:tt,itemKey:Y,registerSize:ee,display:ze<=Et})},De(tt,ze))}:function(tt,ze){var Y=et(tt,ze);return j.createElement(i,(0,P.Z)({},Ve,{order:ze,key:Y,item:tt,renderItem:_t,itemKey:Y,registerSize:ee,display:ze<=Et}))},at={order:He?Et:Number.MAX_SAFE_INTEGER,className:"".concat(bn,"-rest"),registerSize:Q,display:He},$e=ae||v,nt=W?j.createElement(d.Provider,{value:(0,D.Z)((0,D.Z)({},Ve),at)},W(st)):j.createElement(i,(0,P.Z)({},Ve,at),typeof $e=="function"?$e(st):$e),ct=j.createElement(L,(0,P.Z)({className:V()(!On&&T,Qe),style:Ne,ref:a},m),Dn.map(Ue),gn?nt:null,X&&j.createElement(i,(0,P.Z)({},Ve,{responsive:Kn,responsiveDisabled:!Rn,order:Et,className:"".concat(bn,"-suffix"),registerSize:We,display:!0,style:qe}),X));return Kn?j.createElement(H.Z,{onResize:Sn,disabled:!Rn},ct):ct}var N=j.forwardRef(E);N.displayName="Overflow",N.Item=$,N.RESPONSIVE=Ee,N.INVALIDATE=C;var S=N,b=S},23425:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return k}});var P=l(20068),D=l(54476),K=l(76190),G=l(33885),j=l(42978),p=l(92310),V=l.n(p),H=l(18929),e=l(10228),s=l(26112),f=l(48736),t=l(59301),r=l(17119),i=[10,20,50,100],o=function(I){var $=I.pageSizeOptions,B=$===void 0?i:$,Ee=I.locale,C=I.changeSize,v=I.pageSize,E=I.goButton,N=I.quickGo,S=I.rootPrefixCls,b=I.disabled,n=I.buildOptionText,a=I.showSizeChanger,h=I.sizeChangerRender,T=t.useState(""),re=(0,j.Z)(T,2),de=re[0],ve=re[1],De=function(){return!de||Number.isNaN(de)?void 0:Number(de)},Ae=typeof n=="function"?n:function(X){return"".concat(X," ").concat(Ee.items_per_page)},vt=function(c){ve(c.target.value)},me=function(c){E||de===""||(ve(""),!(c.relatedTarget&&(c.relatedTarget.className.indexOf("".concat(S,"-item-link"))>=0||c.relatedTarget.className.indexOf("".concat(S,"-item"))>=0))&&(N==null||N(De())))},Xe=function(c){de!==""&&(c.keyCode===e.Z.ENTER||c.type==="click")&&(ve(""),N==null||N(De()))},Ne=function(){return B.some(function(c){return c.toString()===v.toString()})?B:B.concat([v]).sort(function(c,L){var J=Number.isNaN(Number(c))?0:Number(c),x=Number.isNaN(Number(L))?0:Number(L);return J-x})},Qe="".concat(S,"-options");if(!a&&!N)return null;var Te=null,ae=null,W=null;return a&&h&&(Te=h({disabled:b,size:v,onSizeChange:function(c){C==null||C(Number(c))},"aria-label":Ee.page_size,className:"".concat(Qe,"-size-changer"),options:Ne().map(function(X){return{label:Ae(X),value:X}})})),N&&(E&&(W=typeof E=="boolean"?t.createElement("button",{type:"button",onClick:Xe,onKeyUp:Xe,disabled:b,className:"".concat(Qe,"-quick-jumper-button")},Ee.jump_to_confirm):t.createElement("span",{onClick:Xe,onKeyUp:Xe},E)),ae=t.createElement("div",{className:"".concat(Qe,"-quick-jumper")},Ee.jump_to,t.createElement("input",{disabled:b,type:"text",value:de,onChange:vt,onKeyUp:Xe,onBlur:me,"aria-label":Ee.page}),Ee.page,W)),t.createElement("li",{className:Qe},Te,ae)},g=o,w=function(I){var $=I.rootPrefixCls,B=I.page,Ee=I.active,C=I.className,v=I.showTitle,E=I.onClick,N=I.onKeyPress,S=I.itemRender,b="".concat($,"-item"),n=V()(b,"".concat(b,"-").concat(B),(0,P.Z)((0,P.Z)({},"".concat(b,"-active"),Ee),"".concat(b,"-disabled"),!B),C),a=function(){E(B)},h=function(de){N(de,E,B)},T=S(B,"page",t.createElement("a",{rel:"nofollow"},B));return T?t.createElement("li",{title:v?String(B):null,className:n,onClick:a,onKeyDown:h,tabIndex:0},T):null},R=w,_=function(I,$,B){return B};function y(){}function d(Z){var I=Number(Z);return typeof I=="number"&&!Number.isNaN(I)&&isFinite(I)&&Math.floor(I)===I}function u(Z,I,$){var B=typeof Z=="undefined"?I:Z;return Math.floor(($-1)/B)+1}var O=function(I){var $=I.prefixCls,B=$===void 0?"rc-pagination":$,Ee=I.selectPrefixCls,C=Ee===void 0?"rc-select":Ee,v=I.className,E=I.current,N=I.defaultCurrent,S=N===void 0?1:N,b=I.total,n=b===void 0?0:b,a=I.pageSize,h=I.defaultPageSize,T=h===void 0?10:h,re=I.onChange,de=re===void 0?y:re,ve=I.hideOnSinglePage,De=I.align,Ae=I.showPrevNextJumpers,vt=Ae===void 0?!0:Ae,me=I.showQuickJumper,Xe=I.showLessItems,Ne=I.showTitle,Qe=Ne===void 0?!0:Ne,Te=I.onShowSizeChange,ae=Te===void 0?y:Te,W=I.locale,X=W===void 0?r.Z:W,c=I.style,L=I.totalBoundaryShowSizeChanger,J=L===void 0?50:L,x=I.disabled,m=I.simple,F=I.showTotal,q=I.showSizeChanger,M=q===void 0?n>J:q,U=I.sizeChangerRender,z=I.pageSizeOptions,ce=I.itemRender,ie=ce===void 0?_:ce,we=I.jumpPrevIcon,Me=I.jumpNextIcon,je=I.prevIcon,Ke=I.nextIcon,ke=t.useRef(null),ue=(0,H.Z)(10,{value:a,defaultValue:T}),Le=(0,j.Z)(ue,2),Pe=Le[0],Re=Le[1],dt=(0,H.Z)(1,{value:E,defaultValue:S,postState:function(ft){return Math.max(1,Math.min(ft,u(void 0,Pe,n)))}}),xt=(0,j.Z)(dt,2),Ie=xt[0],Lt=xt[1],en=t.useState(Ie),ht=(0,j.Z)(en,2),ot=ht[0],Kt=ht[1];(0,t.useEffect)(function(){Kt(Ie)},[Ie]);var nn=de!==y,At="current"in I,gt=Math.max(1,Ie-(Xe?3:5)),Ft=Math.min(u(void 0,Pe,n),Ie+(Xe?3:5));function vn(rt,ft){var mt=rt||t.createElement("button",{type:"button","aria-label":ft,className:"".concat(B,"-item-link")});return typeof rt=="function"&&(mt=t.createElement(rt,(0,G.Z)({},I))),mt}function Mt(rt){var ft=rt.target.value,mt=u(void 0,Pe,n),Yt;return ft===""?Yt=ft:Number.isNaN(Number(ft))?Yt=ot:ft>=mt?Yt=mt:Yt=Number(ft),Yt}function ut(rt){return d(rt)&&rt!==Ie&&d(n)&&n>0}var Et=n>Pe?me:!1;function Zn(rt){(rt.keyCode===e.Z.UP||rt.keyCode===e.Z.DOWN)&&rt.preventDefault()}function mn(rt){var ft=Mt(rt);switch(ft!==ot&&Kt(ft),rt.keyCode){case e.Z.ENTER:bn(ft);break;case e.Z.UP:bn(ft-1);break;case e.Z.DOWN:bn(ft+1);break;default:break}}function Ln(rt){bn(Mt(rt))}function jn(rt){var ft=u(rt,Pe,n),mt=Ie>ft&&ft!==0?ft:Ie;Re(rt),Kt(mt),ae==null||ae(Ie,rt),Lt(mt),de==null||de(mt,rt)}function bn(rt){if(ut(rt)&&!x){var ft=u(void 0,Pe,n),mt=rt;return rt>ft?mt=ft:rt<1&&(mt=1),mt!==ot&&Kt(mt),Lt(mt),de==null||de(mt,Pe),mt}return Ie}var Cn=Ie>1,Kn=Ie<u(void 0,Pe,n);function Rn(){Cn&&bn(Ie-1)}function On(){Kn&&bn(Ie+1)}function gn(){bn(gt)}function Dn(){bn(Ft)}function st(rt,ft){if(rt.key==="Enter"||rt.charCode===e.Z.ENTER||rt.keyCode===e.Z.ENTER){for(var mt=arguments.length,Yt=new Array(mt>2?mt-2:0),It=2;It<mt;It++)Yt[It-2]=arguments[It];ft.apply(void 0,Yt)}}function et(rt){st(rt,Rn)}function _t(rt){st(rt,On)}function an(rt){st(rt,gn)}function Sn(rt){st(rt,Dn)}function ee(rt){var ft=ie(rt,"prev",vn(je,"prev page"));return t.isValidElement(ft)?t.cloneElement(ft,{disabled:!Cn}):ft}function Q(rt){var ft=ie(rt,"next",vn(Ke,"next page"));return t.isValidElement(ft)?t.cloneElement(ft,{disabled:!Kn}):ft}function We(rt){(rt.type==="click"||rt.keyCode===e.Z.ENTER)&&bn(ot)}var Se=null,He=(0,s.Z)(I,{aria:!0,data:!0}),qe=F&&t.createElement("li",{className:"".concat(B,"-total-text")},F(n,[n===0?0:(Ie-1)*Pe+1,Ie*Pe>n?n:Ie*Pe])),Ve=null,Ue=u(void 0,Pe,n);if(ve&&n<=Pe)return null;var at=[],$e={rootPrefixCls:B,onClick:bn,onKeyPress:st,showTitle:Qe,itemRender:ie,page:-1},nt=Ie-1>0?Ie-1:0,ct=Ie+1<Ue?Ie+1:Ue,tt=me&&me.goButton,ze=(0,K.Z)(m)==="object"?m.readOnly:!m,Y=tt,fe=null;m&&(tt&&(typeof tt=="boolean"?Y=t.createElement("button",{type:"button",onClick:We,onKeyUp:We},X.jump_to_confirm):Y=t.createElement("span",{onClick:We,onKeyUp:We},tt),Y=t.createElement("li",{title:Qe?"".concat(X.jump_to).concat(Ie,"/").concat(Ue):null,className:"".concat(B,"-simple-pager")},Y)),fe=t.createElement("li",{title:Qe?"".concat(Ie,"/").concat(Ue):null,className:"".concat(B,"-simple-pager")},ze?ot:t.createElement("input",{type:"text","aria-label":X.jump_to,value:ot,disabled:x,onKeyDown:Zn,onKeyUp:mn,onChange:mn,onBlur:Ln,size:3}),t.createElement("span",{className:"".concat(B,"-slash")},"/"),Ue));var pe=Xe?1:2;if(Ue<=3+pe*2){Ue||at.push(t.createElement(R,(0,D.Z)({},$e,{key:"noPager",page:1,className:"".concat(B,"-item-disabled")})));for(var ge=1;ge<=Ue;ge+=1)at.push(t.createElement(R,(0,D.Z)({},$e,{key:ge,page:ge,active:Ie===ge})))}else{var Fe=Xe?X.prev_3:X.prev_5,Ge=Xe?X.next_3:X.next_5,Je=ie(gt,"jump-prev",vn(we,"prev page")),lt=ie(Ft,"jump-next",vn(Me,"next page"));vt&&(Se=Je?t.createElement("li",{title:Qe?Fe:null,key:"prev",onClick:gn,tabIndex:0,onKeyDown:an,className:V()("".concat(B,"-jump-prev"),(0,P.Z)({},"".concat(B,"-jump-prev-custom-icon"),!!we))},Je):null,Ve=lt?t.createElement("li",{title:Qe?Ge:null,key:"next",onClick:Dn,tabIndex:0,onKeyDown:Sn,className:V()("".concat(B,"-jump-next"),(0,P.Z)({},"".concat(B,"-jump-next-custom-icon"),!!Me))},lt):null);var yt=Math.max(1,Ie-pe),St=Math.min(Ie+pe,Ue);Ie-1<=pe&&(St=1+pe*2),Ue-Ie<=pe&&(yt=Ue-pe*2);for(var cn=yt;cn<=St;cn+=1)at.push(t.createElement(R,(0,D.Z)({},$e,{key:cn,page:cn,active:Ie===cn})));if(Ie-1>=pe*2&&Ie!==3&&(at[0]=t.cloneElement(at[0],{className:V()("".concat(B,"-item-after-jump-prev"),at[0].props.className)}),at.unshift(Se)),Ue-Ie>=pe*2&&Ie!==Ue-2){var Rt=at[at.length-1];at[at.length-1]=t.cloneElement(Rt,{className:V()("".concat(B,"-item-before-jump-next"),Rt.props.className)}),at.push(Ve)}yt!==1&&at.unshift(t.createElement(R,(0,D.Z)({},$e,{key:1,page:1}))),St!==Ue&&at.push(t.createElement(R,(0,D.Z)({},$e,{key:Ue,page:Ue})))}var Pt=ee(nt);if(Pt){var zt=!Cn||!Ue;Pt=t.createElement("li",{title:Qe?X.prev_page:null,onClick:Rn,tabIndex:zt?null:0,onKeyDown:et,className:V()("".concat(B,"-prev"),(0,P.Z)({},"".concat(B,"-disabled"),zt)),"aria-disabled":zt},Pt)}var Gt=Q(ct);if(Gt){var Vt,Nt;m?(Vt=!Kn,Nt=Cn?0:null):(Vt=!Kn||!Ue,Nt=Vt?null:0),Gt=t.createElement("li",{title:Qe?X.next_page:null,onClick:On,tabIndex:Nt,onKeyDown:_t,className:V()("".concat(B,"-next"),(0,P.Z)({},"".concat(B,"-disabled"),Vt)),"aria-disabled":Vt},Gt)}var Dt=V()(B,v,(0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)({},"".concat(B,"-start"),De==="start"),"".concat(B,"-center"),De==="center"),"".concat(B,"-end"),De==="end"),"".concat(B,"-simple"),m),"".concat(B,"-disabled"),x));return t.createElement("ul",(0,D.Z)({className:Dt,style:c,ref:ke},He),qe,Pt,m?fe:at,Gt,t.createElement(g,{locale:X,rootPrefixCls:B,disabled:x,selectPrefixCls:C,changeSize:jn,pageSize:Pe,pageSizeOptions:z,quickGo:Et?bn:null,goButton:Y,showSizeChanger:M,sizeChangerRender:U}))},k=O},29301:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return C}});var P=l(54476),D=l(59301),K=l(11592),G=l(48736),j=l(33885),p=l(76190),V=l(76846),H=l(8654),e=D.createContext(null);function s(v){var E=v.children,N=v.onBatchResize,S=D.useRef(0),b=D.useRef([]),n=D.useContext(e),a=D.useCallback(function(h,T,re){S.current+=1;var de=S.current;b.current.push({size:h,element:T,data:re}),Promise.resolve().then(function(){de===S.current&&(N==null||N(b.current),b.current=[])}),n==null||n(h,T,re)},[N,n]);return D.createElement(e.Provider,{value:a},E)}var f=l(76374),t=new Map;function r(v){v.forEach(function(E){var N,S=E.target;(N=t.get(S))===null||N===void 0||N.forEach(function(b){return b(S)})})}var i=new f.Z(r),o=null,g=null;function w(v,E){t.has(v)||(t.set(v,new Set),i.observe(v)),t.get(v).add(E)}function R(v,E){t.has(v)&&(t.get(v).delete(E),t.get(v).size||(i.unobserve(v),t.delete(v)))}var _=l(67732),y=l(83652),d=l(42403),u=l(158),O=function(v){(0,d.Z)(N,v);var E=(0,u.Z)(N);function N(){return(0,_.Z)(this,N),E.apply(this,arguments)}return(0,y.Z)(N,[{key:"render",value:function(){return this.props.children}}]),N}(D.Component);function k(v,E){var N=v.children,S=v.disabled,b=D.useRef(null),n=D.useRef(null),a=D.useContext(e),h=typeof N=="function",T=h?N(b):N,re=D.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),de=!h&&D.isValidElement(T)&&(0,H.Yr)(T),ve=de?(0,H.C4)(T):null,De=(0,H.x1)(ve,b),Ae=function(){var Ne;return(0,V.ZP)(b.current)||(b.current&&(0,p.Z)(b.current)==="object"?(0,V.ZP)((Ne=b.current)===null||Ne===void 0?void 0:Ne.nativeElement):null)||(0,V.ZP)(n.current)};D.useImperativeHandle(E,function(){return Ae()});var vt=D.useRef(v);vt.current=v;var me=D.useCallback(function(Xe){var Ne=vt.current,Qe=Ne.onResize,Te=Ne.data,ae=Xe.getBoundingClientRect(),W=ae.width,X=ae.height,c=Xe.offsetWidth,L=Xe.offsetHeight,J=Math.floor(W),x=Math.floor(X);if(re.current.width!==J||re.current.height!==x||re.current.offsetWidth!==c||re.current.offsetHeight!==L){var m={width:J,height:x,offsetWidth:c,offsetHeight:L};re.current=m;var F=c===Math.round(W)?W:c,q=L===Math.round(X)?X:L,M=(0,j.Z)((0,j.Z)({},m),{},{offsetWidth:F,offsetHeight:q});a==null||a(M,Xe,Te),Qe&&Promise.resolve().then(function(){Qe(M,Xe)})}},[]);return D.useEffect(function(){var Xe=Ae();return Xe&&!S&&w(Xe,me),function(){return R(Xe,me)}},[b.current,S]),D.createElement(O,{ref:n},de?D.cloneElement(T,{ref:De}):T)}var Z=D.forwardRef(k),I=Z,$="rc-observer-key";function B(v,E){var N=v.children,S=typeof N=="function"?[N]:(0,K.Z)(N);return S.map(function(b,n){var a=(b==null?void 0:b.key)||"".concat($,"-").concat(n);return D.createElement(I,(0,P.Z)({},v,{key:a,ref:n===0?E:void 0}),b)})}var Ee=D.forwardRef(B);Ee.Collection=s;var C=Ee},6551:function(Bt,Ze,l){"use strict";l.d(Ze,{ZP:function(){return V}});var P=l(42978),D=l(59301),K=l(47273),G=0,j=(0,K.Z)();function p(){var H;return j?(H=G,G+=1):H="TEST_OR_SSR",H}function V(H){var e=D.useState(),s=(0,P.Z)(e,2),f=s[0],t=s[1];return D.useEffect(function(){t("rc_select_".concat(p()))},[]),H||f}},37463:function(Bt,Ze,l){"use strict";l.d(Ze,{Ac:function(){return ue},Xo:function(){return Pe},Wx:function(){return dt},ZP:function(){return Sn},lk:function(){return y}});var P=l(54476),D=l(94480),K=l(20068),G=l(33885),j=l(42978),p=l(75931),V=l(76190),H=l(18929),e=l(48736),s=l(59301),f=l(92310),t=l.n(f),r=l(34280),i=l(49658),o=l(8654),g=function(Q){var We=Q.className,Se=Q.customizeIcon,He=Q.customizeIconProps,qe=Q.children,Ve=Q.onMouseDown,Ue=Q.onClick,at=typeof Se=="function"?Se(He):Se;return s.createElement("span",{className:We,onMouseDown:function(nt){nt.preventDefault(),Ve==null||Ve(nt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Ue,"aria-hidden":!0},at!==void 0?at:s.createElement("span",{className:t()(We.split(/\s+/).map(function($e){return"".concat($e,"-icon")}))},qe))},w=g,R=function(Q,We,Se,He,qe){var Ve=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Ue=arguments.length>6?arguments[6]:void 0,at=arguments.length>7?arguments[7]:void 0,$e=s.useMemo(function(){if((0,V.Z)(He)==="object")return He.clearIcon;if(qe)return qe},[He,qe]),nt=s.useMemo(function(){return!!(!Ve&&He&&(Se.length||Ue)&&!(at==="combobox"&&Ue===""))},[He,Ve,Se.length,Ue,at]);return{allowClear:nt,clearIcon:s.createElement(w,{className:"".concat(Q,"-clear"),onMouseDown:We,customizeIcon:$e},"\xD7")}},_=s.createContext(null);function y(){return s.useContext(_)}function d(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Q=s.useState(!1),We=(0,j.Z)(Q,2),Se=We[0],He=We[1],qe=s.useRef(null),Ve=function(){window.clearTimeout(qe.current)};s.useEffect(function(){return Ve},[]);var Ue=function($e,nt){Ve(),qe.current=window.setTimeout(function(){He($e),nt&&nt()},ee)};return[Se,Ue,Ve]}function u(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Q=s.useRef(null),We=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout(We.current)}},[]);function Se(He){(He||Q.current===null)&&(Q.current=He),window.clearTimeout(We.current),We.current=window.setTimeout(function(){Q.current=null},ee)}return[function(){return Q.current},Se]}function O(ee,Q,We,Se){var He=s.useRef(null);He.current={open:Q,triggerOpen:We,customizedTrigger:Se},s.useEffect(function(){function qe(Ve){var Ue;if(!((Ue=He.current)!==null&&Ue!==void 0&&Ue.customizedTrigger)){var at=Ve.target;at.shadowRoot&&Ve.composed&&(at=Ve.composedPath()[0]||at),He.current.open&&ee().filter(function($e){return $e}).every(function($e){return!$e.contains(at)&&$e!==at})&&He.current.triggerOpen(!1)}}return window.addEventListener("mousedown",qe),function(){return window.removeEventListener("mousedown",qe)}},[])}var k=l(10228);function Z(ee){return ee&&![k.Z.ESC,k.Z.SHIFT,k.Z.BACKSPACE,k.Z.TAB,k.Z.WIN_KEY,k.Z.ALT,k.Z.META,k.Z.WIN_KEY_RIGHT,k.Z.CTRL,k.Z.SEMICOLON,k.Z.EQUALS,k.Z.CAPS_LOCK,k.Z.CONTEXT_MENU,k.Z.F1,k.Z.F2,k.Z.F3,k.Z.F4,k.Z.F5,k.Z.F6,k.Z.F7,k.Z.F8,k.Z.F9,k.Z.F10,k.Z.F11,k.Z.F12].includes(ee)}var I=l(26112),$=l(11780);function B(ee,Q,We){var Se=(0,G.Z)((0,G.Z)({},ee),We?Q:{});return Object.keys(Q).forEach(function(He){var qe=Q[He];typeof qe=="function"&&(Se[He]=function(){for(var Ve,Ue=arguments.length,at=new Array(Ue),$e=0;$e<Ue;$e++)at[$e]=arguments[$e];return qe.apply(void 0,at),(Ve=ee[He])===null||Ve===void 0?void 0:Ve.call.apply(Ve,[ee].concat(at))})}),Se}var Ee=B,C=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],v=function(Q,We){var Se=Q.prefixCls,He=Q.id,qe=Q.inputElement,Ve=Q.autoFocus,Ue=Q.autoComplete,at=Q.editable,$e=Q.activeDescendantId,nt=Q.value,ct=Q.open,tt=Q.attrs,ze=(0,p.Z)(Q,C),Y=qe||s.createElement("input",null),fe=Y,pe=fe.ref,ge=fe.props;return(0,e.Kp)(!("maxLength"in Y.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Y=s.cloneElement(Y,(0,G.Z)((0,G.Z)((0,G.Z)({type:"search"},Ee(ze,ge,!0)),{},{id:He,ref:(0,o.sQ)(We,pe),autoComplete:Ue||"off",autoFocus:Ve,className:t()("".concat(Se,"-selection-search-input"),ge==null?void 0:ge.className),role:"combobox","aria-expanded":ct||!1,"aria-haspopup":"listbox","aria-owns":"".concat(He,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(He,"_list"),"aria-activedescendant":ct?$e:void 0},tt),{},{value:at?nt:"",readOnly:!at,unselectable:at?null:"on",style:(0,G.Z)((0,G.Z)({},ge.style),{},{opacity:at?null:0})})),Y},E=s.forwardRef(v),N=E;function S(ee){return Array.isArray(ee)?ee:ee!==void 0?[ee]:[]}var b=typeof window!="undefined"&&window.document&&window.document.documentElement,n=b;function a(ee){return ee!=null}function h(ee){return!ee&&ee!==0}function T(ee){return["string","number"].includes((0,V.Z)(ee))}function re(ee){var Q=void 0;return ee&&(T(ee.title)?Q=ee.title.toString():T(ee.label)&&(Q=ee.label.toString())),Q}function de(ee,Q){n?s.useLayoutEffect(ee,Q):s.useEffect(ee,Q)}function ve(ee){var Q;return(Q=ee.key)!==null&&Q!==void 0?Q:ee.value}var De=function(Q){Q.preventDefault(),Q.stopPropagation()},Ae=function(Q){var We=Q.id,Se=Q.prefixCls,He=Q.values,qe=Q.open,Ve=Q.searchValue,Ue=Q.autoClearSearchValue,at=Q.inputRef,$e=Q.placeholder,nt=Q.disabled,ct=Q.mode,tt=Q.showSearch,ze=Q.autoFocus,Y=Q.autoComplete,fe=Q.activeDescendantId,pe=Q.tabIndex,ge=Q.removeIcon,Fe=Q.maxTagCount,Ge=Q.maxTagTextLength,Je=Q.maxTagPlaceholder,lt=Je===void 0?function(he){return"+ ".concat(he.length," ...")}:Je,yt=Q.tagRender,St=Q.onToggleOpen,cn=Q.onRemove,Rt=Q.onInputChange,Pt=Q.onInputPaste,zt=Q.onInputKeyDown,Gt=Q.onInputMouseDown,Vt=Q.onInputCompositionStart,Nt=Q.onInputCompositionEnd,Dt=Q.onInputBlur,rt=s.useRef(null),ft=(0,s.useState)(0),mt=(0,j.Z)(ft,2),Yt=mt[0],It=mt[1],Ht=(0,s.useState)(!1),Tn=(0,j.Z)(Ht,2),A=Tn[0],oe=Tn[1],te="".concat(Se,"-selection"),se=qe||ct==="multiple"&&Ue===!1||ct==="tags"?Ve:"",_e=ct==="tags"||ct==="multiple"&&Ue===!1||tt&&(qe||A);de(function(){It(rt.current.scrollWidth)},[se]);var be=function(ye,Ce,Ye,pt,it){return s.createElement("span",{title:re(ye),className:t()("".concat(te,"-item"),(0,K.Z)({},"".concat(te,"-item-disabled"),Ye))},s.createElement("span",{className:"".concat(te,"-item-content")},Ce),pt&&s.createElement(w,{className:"".concat(te,"-item-remove"),onMouseDown:De,onClick:it,customizeIcon:ge},"\xD7"))},Be=function(ye,Ce,Ye,pt,it,kt){var Ut=function(Jt){De(Jt),St(!qe)};return s.createElement("span",{onMouseDown:Ut},yt({label:Ce,value:ye,disabled:Ye,closable:pt,onClose:it,isMaxTag:!!kt}))},Oe=function(ye){var Ce=ye.disabled,Ye=ye.label,pt=ye.value,it=!nt&&!Ce,kt=Ye;if(typeof Ge=="number"&&(typeof Ye=="string"||typeof Ye=="number")){var Ut=String(kt);Ut.length>Ge&&(kt="".concat(Ut.slice(0,Ge),"..."))}var Tt=function(bt){bt&&bt.stopPropagation(),cn(ye)};return typeof yt=="function"?Be(pt,kt,Ce,it,Tt):be(ye,kt,Ce,it,Tt)},xe=function(ye){if(!He.length)return null;var Ce=typeof lt=="function"?lt(ye):lt;return typeof yt=="function"?Be(void 0,Ce,!1,!1,void 0,!0):be({title:Ce},Ce,!1)},ne=s.createElement("div",{className:"".concat(te,"-search"),style:{width:Yt},onFocus:function(){oe(!0)},onBlur:function(){oe(!1)}},s.createElement(N,{ref:at,open:qe,prefixCls:Se,id:We,inputElement:null,disabled:nt,autoFocus:ze,autoComplete:Y,editable:_e,activeDescendantId:fe,value:se,onKeyDown:zt,onMouseDown:Gt,onChange:Rt,onPaste:Pt,onCompositionStart:Vt,onCompositionEnd:Nt,onBlur:Dt,tabIndex:pe,attrs:(0,I.Z)(Q,!0)}),s.createElement("span",{ref:rt,className:"".concat(te,"-search-mirror"),"aria-hidden":!0},se,"\xA0")),le=s.createElement($.Z,{prefixCls:"".concat(te,"-overflow"),data:He,renderItem:Oe,renderRest:xe,suffix:ne,itemKey:ve,maxCount:Fe});return s.createElement("span",{className:"".concat(te,"-wrap")},le,!He.length&&!se&&s.createElement("span",{className:"".concat(te,"-placeholder")},$e))},vt=Ae,me=function(Q){var We=Q.inputElement,Se=Q.prefixCls,He=Q.id,qe=Q.inputRef,Ve=Q.disabled,Ue=Q.autoFocus,at=Q.autoComplete,$e=Q.activeDescendantId,nt=Q.mode,ct=Q.open,tt=Q.values,ze=Q.placeholder,Y=Q.tabIndex,fe=Q.showSearch,pe=Q.searchValue,ge=Q.activeValue,Fe=Q.maxLength,Ge=Q.onInputKeyDown,Je=Q.onInputMouseDown,lt=Q.onInputChange,yt=Q.onInputPaste,St=Q.onInputCompositionStart,cn=Q.onInputCompositionEnd,Rt=Q.onInputBlur,Pt=Q.title,zt=s.useState(!1),Gt=(0,j.Z)(zt,2),Vt=Gt[0],Nt=Gt[1],Dt=nt==="combobox",rt=Dt||fe,ft=tt[0],mt=pe||"";Dt&&ge&&!Vt&&(mt=ge),s.useEffect(function(){Dt&&Nt(!1)},[Dt,ge]);var Yt=nt!=="combobox"&&!ct&&!fe?!1:!!mt,It=Pt===void 0?re(ft):Pt,Ht=s.useMemo(function(){return ft?null:s.createElement("span",{className:"".concat(Se,"-selection-placeholder"),style:Yt?{visibility:"hidden"}:void 0},ze)},[ft,Yt,ze,Se]);return s.createElement("span",{className:"".concat(Se,"-selection-wrap")},s.createElement("span",{className:"".concat(Se,"-selection-search")},s.createElement(N,{ref:qe,prefixCls:Se,id:He,open:ct,inputElement:We,disabled:Ve,autoFocus:Ue,autoComplete:at,editable:rt,activeDescendantId:$e,value:mt,onKeyDown:Ge,onMouseDown:Je,onChange:function(A){Nt(!0),lt(A)},onPaste:yt,onCompositionStart:St,onCompositionEnd:cn,onBlur:Rt,tabIndex:Y,attrs:(0,I.Z)(Q,!0),maxLength:Dt?Fe:void 0})),!Dt&&ft?s.createElement("span",{className:"".concat(Se,"-selection-item"),title:It,style:Yt?{visibility:"hidden"}:void 0},ft.label):null,Ht)},Xe=me,Ne=function(Q,We){var Se=(0,s.useRef)(null),He=(0,s.useRef)(!1),qe=Q.prefixCls,Ve=Q.open,Ue=Q.mode,at=Q.showSearch,$e=Q.tokenWithEnter,nt=Q.disabled,ct=Q.prefix,tt=Q.autoClearSearchValue,ze=Q.onSearch,Y=Q.onSearchSubmit,fe=Q.onToggleOpen,pe=Q.onInputKeyDown,ge=Q.onInputBlur,Fe=Q.domRef;s.useImperativeHandle(We,function(){return{focus:function(It){Se.current.focus(It)},blur:function(){Se.current.blur()}}});var Ge=u(0),Je=(0,j.Z)(Ge,2),lt=Je[0],yt=Je[1],St=function(It){var Ht=It.which,Tn=Se.current instanceof HTMLTextAreaElement;!Tn&&Ve&&(Ht===k.Z.UP||Ht===k.Z.DOWN)&&It.preventDefault(),pe&&pe(It),Ht===k.Z.ENTER&&Ue==="tags"&&!He.current&&!Ve&&(Y==null||Y(It.target.value)),!(Tn&&!Ve&&~[k.Z.UP,k.Z.DOWN,k.Z.LEFT,k.Z.RIGHT].indexOf(Ht))&&Z(Ht)&&fe(!0)},cn=function(){yt(!0)},Rt=(0,s.useRef)(null),Pt=function(It){ze(It,!0,He.current)!==!1&&fe(!0)},zt=function(){He.current=!0},Gt=function(It){He.current=!1,Ue!=="combobox"&&Pt(It.target.value)},Vt=function(It){var Ht=It.target.value;if($e&&Rt.current&&/[\r\n]/.test(Rt.current)){var Tn=Rt.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ht=Ht.replace(Tn,Rt.current)}Rt.current=null,Pt(Ht)},Nt=function(It){var Ht=It.clipboardData,Tn=Ht==null?void 0:Ht.getData("text");Rt.current=Tn||""},Dt=function(It){var Ht=It.target;if(Ht!==Se.current){var Tn=document.body.style.msTouchAction!==void 0;Tn?setTimeout(function(){Se.current.focus()}):Se.current.focus()}},rt=function(It){var Ht=lt();It.target!==Se.current&&!Ht&&!(Ue==="combobox"&&nt)&&It.preventDefault(),(Ue!=="combobox"&&(!at||!Ht)||!Ve)&&(Ve&&tt!==!1&&ze("",!0,!1),fe())},ft={inputRef:Se,onInputKeyDown:St,onInputMouseDown:cn,onInputChange:Vt,onInputPaste:Nt,onInputCompositionStart:zt,onInputCompositionEnd:Gt,onInputBlur:ge},mt=Ue==="multiple"||Ue==="tags"?s.createElement(vt,(0,P.Z)({},Q,ft)):s.createElement(Xe,(0,P.Z)({},Q,ft));return s.createElement("div",{ref:Fe,className:"".concat(qe,"-selector"),onClick:Dt,onMouseDown:rt},ct&&s.createElement("div",{className:"".concat(qe,"-prefix")},ct),mt)},Qe=s.forwardRef(Ne),Te=Qe,ae=l(65030),W=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],X=function(Q){var We=Q===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:We,adjustY:1},htmlRegion:"scroll"}}},c=function(Q,We){var Se=Q.prefixCls,He=Q.disabled,qe=Q.visible,Ve=Q.children,Ue=Q.popupElement,at=Q.animation,$e=Q.transitionName,nt=Q.dropdownStyle,ct=Q.dropdownClassName,tt=Q.direction,ze=tt===void 0?"ltr":tt,Y=Q.placement,fe=Q.builtinPlacements,pe=Q.dropdownMatchSelectWidth,ge=Q.dropdownRender,Fe=Q.dropdownAlign,Ge=Q.getPopupContainer,Je=Q.empty,lt=Q.getTriggerDOMNode,yt=Q.onPopupVisibleChange,St=Q.onPopupMouseEnter,cn=(0,p.Z)(Q,W),Rt="".concat(Se,"-dropdown"),Pt=Ue;ge&&(Pt=ge(Ue));var zt=s.useMemo(function(){return fe||X(pe)},[fe,pe]),Gt=at?"".concat(Rt,"-").concat(at):$e,Vt=typeof pe=="number",Nt=s.useMemo(function(){return Vt?null:pe===!1?"minWidth":"width"},[pe,Vt]),Dt=nt;Vt&&(Dt=(0,G.Z)((0,G.Z)({},Dt),{},{width:pe}));var rt=s.useRef(null);return s.useImperativeHandle(We,function(){return{getPopupElement:function(){var mt;return(mt=rt.current)===null||mt===void 0?void 0:mt.popupElement}}}),s.createElement(ae.Z,(0,P.Z)({},cn,{showAction:yt?["click"]:[],hideAction:yt?["click"]:[],popupPlacement:Y||(ze==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:zt,prefixCls:Rt,popupTransitionName:Gt,popup:s.createElement("div",{onMouseEnter:St},Pt),ref:rt,stretch:Nt,popupAlign:Fe,popupVisible:qe,getPopupContainer:Ge,popupClassName:t()(ct,(0,K.Z)({},"".concat(Rt,"-empty"),Je)),popupStyle:Dt,getTriggerDOMNode:lt,onPopupVisibleChange:yt}),Ve)},L=s.forwardRef(c),J=L,x=l(66712);function m(ee,Q){var We=ee.key,Se;return"value"in ee&&(Se=ee.value),We!=null?We:Se!==void 0?Se:"rc-index-key-".concat(Q)}function F(ee){return typeof ee!="undefined"&&!Number.isNaN(ee)}function q(ee,Q){var We=ee||{},Se=We.label,He=We.value,qe=We.options,Ve=We.groupLabel,Ue=Se||(Q?"children":"label");return{label:Ue,value:He||"value",options:qe||"options",groupLabel:Ve||Ue}}function M(ee){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},We=Q.fieldNames,Se=Q.childrenAsData,He=[],qe=q(We,!1),Ve=qe.label,Ue=qe.value,at=qe.options,$e=qe.groupLabel;function nt(ct,tt){Array.isArray(ct)&&ct.forEach(function(ze){if(tt||!(at in ze)){var Y=ze[Ue];He.push({key:m(ze,He.length),groupOption:tt,data:ze,label:ze[Ve],value:Y})}else{var fe=ze[$e];fe===void 0&&Se&&(fe=ze.label),He.push({key:m(ze,He.length),group:!0,data:ze,label:fe}),nt(ze[at],!0)}})}return nt(ee,!1),He}function U(ee){var Q=(0,G.Z)({},ee);return"props"in Q||Object.defineProperty(Q,"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`."),Q}}),Q}var z=function(Q,We,Se){if(!We||!We.length)return null;var He=!1,qe=function Ue(at,$e){var nt=(0,x.Z)($e),ct=nt[0],tt=nt.slice(1);if(!ct)return[at];var ze=at.split(ct);return He=He||ze.length>1,ze.reduce(function(Y,fe){return[].concat((0,D.Z)(Y),(0,D.Z)(Ue(fe,tt)))},[]).filter(Boolean)},Ve=qe(Q,We);return He?typeof Se!="undefined"?Ve.slice(0,Se):Ve:null},ce=s.createContext(null),ie=ce;function we(ee){var Q=ee.visible,We=ee.values;if(!Q)return null;var Se=50;return s.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(We.slice(0,Se).map(function(He){var qe=He.label,Ve=He.value;return["number","string"].includes((0,V.Z)(qe))?qe:Ve}).join(", ")),We.length>Se?", ...":null)}var Me=["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"],je=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Ke=function(Q){return Q==="tags"||Q==="multiple"},ke=s.forwardRef(function(ee,Q){var We,Se=ee.id,He=ee.prefixCls,qe=ee.className,Ve=ee.showSearch,Ue=ee.tagRender,at=ee.direction,$e=ee.omitDomProps,nt=ee.displayValues,ct=ee.onDisplayValuesChange,tt=ee.emptyOptions,ze=ee.notFoundContent,Y=ze===void 0?"Not Found":ze,fe=ee.onClear,pe=ee.mode,ge=ee.disabled,Fe=ee.loading,Ge=ee.getInputElement,Je=ee.getRawInputElement,lt=ee.open,yt=ee.defaultOpen,St=ee.onDropdownVisibleChange,cn=ee.activeValue,Rt=ee.onActiveValueChange,Pt=ee.activeDescendantId,zt=ee.searchValue,Gt=ee.autoClearSearchValue,Vt=ee.onSearch,Nt=ee.onSearchSplit,Dt=ee.tokenSeparators,rt=ee.allowClear,ft=ee.prefix,mt=ee.suffixIcon,Yt=ee.clearIcon,It=ee.OptionList,Ht=ee.animation,Tn=ee.transitionName,A=ee.dropdownStyle,oe=ee.dropdownClassName,te=ee.dropdownMatchSelectWidth,se=ee.dropdownRender,_e=ee.dropdownAlign,be=ee.placement,Be=ee.builtinPlacements,Oe=ee.getPopupContainer,xe=ee.showAction,ne=xe===void 0?[]:xe,le=ee.onFocus,he=ee.onBlur,ye=ee.onKeyUp,Ce=ee.onKeyDown,Ye=ee.onMouseDown,pt=(0,p.Z)(ee,Me),it=Ke(pe),kt=(Ve!==void 0?Ve:it)||pe==="combobox",Ut=(0,G.Z)({},pt);je.forEach(function(Mn){delete Ut[Mn]}),$e==null||$e.forEach(function(Mn){delete Ut[Mn]});var Tt=s.useState(!1),Jt=(0,j.Z)(Tt,2),bt=Jt[0],pn=Jt[1];s.useEffect(function(){pn((0,i.Z)())},[]);var on=s.useRef(null),_n=s.useRef(null),Xt=s.useRef(null),rn=s.useRef(null),yn=s.useRef(null),ln=s.useRef(!1),dn=d(),jt=(0,j.Z)(dn,3),wt=jt[0],Zt=jt[1],Qt=jt[2];s.useImperativeHandle(Q,function(){var Mn,Pn;return{focus:(Mn=rn.current)===null||Mn===void 0?void 0:Mn.focus,blur:(Pn=rn.current)===null||Pn===void 0?void 0:Pn.blur,scrollTo:function(Qn){var er;return(er=yn.current)===null||er===void 0?void 0:er.scrollTo(Qn)},nativeElement:on.current||_n.current}});var hn=s.useMemo(function(){var Mn;if(pe!=="combobox")return zt;var Pn=(Mn=nt[0])===null||Mn===void 0?void 0:Mn.value;return typeof Pn=="string"||typeof Pn=="number"?String(Pn):""},[zt,pe,nt]),un=pe==="combobox"&&typeof Ge=="function"&&Ge()||null,fn=typeof Je=="function"&&Je(),Un=(0,o.x1)(_n,fn==null||(We=fn.props)===null||We===void 0?void 0:We.ref),Xn=s.useState(!1),$n=(0,j.Z)(Xn,2),or=$n[0],ar=$n[1];(0,r.Z)(function(){ar(!0)},[]);var qn=(0,H.Z)(!1,{defaultValue:yt,value:lt}),wn=(0,j.Z)(qn,2),An=wn[0],Gn=wn[1],En=or?An:!1,xn=!Y&&tt;(ge||xn&&En&&pe==="combobox")&&(En=!1);var Nn=xn?!1:En,Ot=s.useCallback(function(Mn){var Pn=Mn!==void 0?Mn:!En;ge||(Gn(Pn),En!==Pn&&(St==null||St(Pn)))},[ge,En,Gn,St]),qt=s.useMemo(function(){return(Dt||[]).some(function(Mn){return[`
`,`\r
`].includes(Mn)})},[Dt]),tn=s.useContext(ie)||{},sn=tn.maxCount,kn=tn.rawValues,Fn=function(Pn,nr,Qn){if(!(it&&F(sn)&&(kn==null?void 0:kn.size)>=sn)){var er=!0,rr=Pn;Rt==null||Rt(null);var yr=z(Pn,Dt,F(sn)?sn-kn.size:void 0),gr=Qn?null:yr;return pe!=="combobox"&&gr&&(rr="",Nt==null||Nt(gr),Ot(!1),er=!1),Vt&&hn!==rr&&Vt(rr,{source:nr?"typing":"effect"}),er}},ir=function(Pn){!Pn||!Pn.trim()||Vt(Pn,{source:"submit"})};s.useEffect(function(){!En&&!it&&pe!=="combobox"&&Fn("",!1,!1)},[En]),s.useEffect(function(){An&&ge&&Gn(!1),ge&&!ln.current&&Zt(!1)},[ge]);var Ct=u(),$t=(0,j.Z)(Ct,2),Wt=$t[0],In=$t[1],zn=s.useRef(!1),Hn=function(Pn){var nr=Wt(),Qn=Pn.key,er=Qn==="Enter";if(er&&(pe!=="combobox"&&Pn.preventDefault(),En||Ot(!0)),In(!!hn),Qn==="Backspace"&&!nr&&it&&!hn&&nt.length){for(var rr=(0,D.Z)(nt),yr=null,gr=rr.length-1;gr>=0;gr-=1){var xr=rr[gr];if(!xr.disabled){rr.splice(gr,1),yr=xr;break}}yr&&ct(rr,{type:"remove",values:[yr]})}for(var sr=arguments.length,mr=new Array(sr>1?sr-1:0),Rr=1;Rr<sr;Rr++)mr[Rr-1]=arguments[Rr];if(En&&(!er||!zn.current)){var Er;er&&(zn.current=!0),(Er=yn.current)===null||Er===void 0||Er.onKeyDown.apply(Er,[Pn].concat(mr))}Ce==null||Ce.apply(void 0,[Pn].concat(mr))},cr=function(Pn){for(var nr=arguments.length,Qn=new Array(nr>1?nr-1:0),er=1;er<nr;er++)Qn[er-1]=arguments[er];if(En){var rr;(rr=yn.current)===null||rr===void 0||rr.onKeyUp.apply(rr,[Pn].concat(Qn))}Pn.key==="Enter"&&(zn.current=!1),ye==null||ye.apply(void 0,[Pn].concat(Qn))},dr=function(Pn){var nr=nt.filter(function(Qn){return Qn!==Pn});ct(nr,{type:"remove",values:[Pn]})},lr=function(){zn.current=!1},Jn=s.useRef(!1),Fr=function(){Zt(!0),ge||(le&&!Jn.current&&le.apply(void 0,arguments),ne.includes("focus")&&Ot(!0)),Jn.current=!0},Br=function(){ln.current=!0,Zt(!1,function(){Jn.current=!1,ln.current=!1,Ot(!1)}),!ge&&(hn&&(pe==="tags"?Vt(hn,{source:"submit"}):pe==="multiple"&&Vt("",{source:"blur"})),he&&he.apply(void 0,arguments))},Sr=[];s.useEffect(function(){return function(){Sr.forEach(function(Mn){return clearTimeout(Mn)}),Sr.splice(0,Sr.length)}},[]);var Tr=function(Pn){var nr,Qn=Pn.target,er=(nr=Xt.current)===null||nr===void 0?void 0:nr.getPopupElement();if(er&&er.contains(Qn)){var rr=setTimeout(function(){var sr=Sr.indexOf(rr);if(sr!==-1&&Sr.splice(sr,1),Qt(),!bt&&!er.contains(document.activeElement)){var mr;(mr=rn.current)===null||mr===void 0||mr.focus()}});Sr.push(rr)}for(var yr=arguments.length,gr=new Array(yr>1?yr-1:0),xr=1;xr<yr;xr++)gr[xr-1]=arguments[xr];Ye==null||Ye.apply(void 0,[Pn].concat(gr))},Pr=s.useState({}),Or=(0,j.Z)(Pr,2),Ar=Or[1];function br(){Ar({})}var Mr;fn&&(Mr=function(Pn){Ot(Pn)}),O(function(){var Mn;return[on.current,(Mn=Xt.current)===null||Mn===void 0?void 0:Mn.getPopupElement()]},Nn,Ot,!!fn);var Nr=s.useMemo(function(){return(0,G.Z)((0,G.Z)({},ee),{},{notFoundContent:Y,open:En,triggerOpen:Nn,id:Se,showSearch:kt,multiple:it,toggleOpen:Ot})},[ee,Y,Nn,En,Se,kt,it,Ot]),zr=!!mt||Fe,Dr;zr&&(Dr=s.createElement(w,{className:t()("".concat(He,"-arrow"),(0,K.Z)({},"".concat(He,"-arrow-loading"),Fe)),customizeIcon:mt,customizeIconProps:{loading:Fe,searchValue:hn,open:En,focused:wt,showSearch:kt}}));var $r=function(){var Pn;fe==null||fe(),(Pn=rn.current)===null||Pn===void 0||Pn.focus(),ct([],{type:"clear",values:nt}),Fn("",!1,!1)},Ir=R(He,$r,nt,rt,Yt,ge,hn,pe),Gr=Ir.allowClear,jr=Ir.clearIcon,Wr=s.createElement(It,{ref:yn}),kr=t()(He,qe,(0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)({},"".concat(He,"-focused"),wt),"".concat(He,"-multiple"),it),"".concat(He,"-single"),!it),"".concat(He,"-allow-clear"),rt),"".concat(He,"-show-arrow"),zr),"".concat(He,"-disabled"),ge),"".concat(He,"-loading"),Fe),"".concat(He,"-open"),En),"".concat(He,"-customize-input"),un),"".concat(He,"-show-search"),kt)),hr=s.createElement(J,{ref:Xt,disabled:ge,prefixCls:He,visible:Nn,popupElement:Wr,animation:Ht,transitionName:Tn,dropdownStyle:A,dropdownClassName:oe,direction:at,dropdownMatchSelectWidth:te,dropdownRender:se,dropdownAlign:_e,placement:be,builtinPlacements:Be,getPopupContainer:Oe,empty:tt,getTriggerDOMNode:function(Pn){return _n.current||Pn},onPopupVisibleChange:Mr,onPopupMouseEnter:br},fn?s.cloneElement(fn,{ref:Un}):s.createElement(Te,(0,P.Z)({},ee,{domRef:_n,prefixCls:He,inputElement:un,ref:rn,id:Se,prefix:ft,showSearch:kt,autoClearSearchValue:Gt,mode:pe,activeDescendantId:Pt,tagRender:Ue,values:nt,open:En,onToggleOpen:Ot,activeValue:cn,searchValue:hn,onSearch:Fn,onSearchSubmit:ir,onRemove:dr,tokenWithEnter:qt,onInputBlur:lr}))),ur;return fn?ur=hr:ur=s.createElement("div",(0,P.Z)({className:kr},Ut,{ref:on,onMouseDown:Tr,onKeyDown:Hn,onKeyUp:cr,onFocus:Fr,onBlur:Br}),s.createElement(we,{visible:wt&&!En,values:nt}),hr,Dr,Gr&&jr),s.createElement(_.Provider,{value:Nr},ur)}),ue=ke,Le=function(){return null};Le.isSelectOptGroup=!0;var Pe=Le,Re=function(){return null};Re.isSelectOption=!0;var dt=Re,xt=l(80547),Ie=l(2738),Lt=l(48911);function en(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var ht=["disabled","title","children","style","className"];function ot(ee){return typeof ee=="string"||typeof ee=="number"}var Kt=function(Q,We){var Se=y(),He=Se.prefixCls,qe=Se.id,Ve=Se.open,Ue=Se.multiple,at=Se.mode,$e=Se.searchValue,nt=Se.toggleOpen,ct=Se.notFoundContent,tt=Se.onPopupScroll,ze=s.useContext(ie),Y=ze.maxCount,fe=ze.flattenOptions,pe=ze.onActiveValue,ge=ze.defaultActiveFirstOption,Fe=ze.onSelect,Ge=ze.menuItemSelectedIcon,Je=ze.rawValues,lt=ze.fieldNames,yt=ze.virtual,St=ze.direction,cn=ze.listHeight,Rt=ze.listItemHeight,Pt=ze.optionRender,zt="".concat(He,"-item"),Gt=(0,xt.Z)(function(){return fe},[Ve,fe],function(xe,ne){return ne[0]&&xe[1]!==ne[1]}),Vt=s.useRef(null),Nt=s.useMemo(function(){return Ue&&F(Y)&&(Je==null?void 0:Je.size)>=Y},[Ue,Y,Je==null?void 0:Je.size]),Dt=function(ne){ne.preventDefault()},rt=function(ne){var le;(le=Vt.current)===null||le===void 0||le.scrollTo(typeof ne=="number"?{index:ne}:ne)},ft=s.useCallback(function(xe){return at==="combobox"?!1:Je.has(xe)},[at,(0,D.Z)(Je).toString(),Je.size]),mt=function(ne){for(var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,he=Gt.length,ye=0;ye<he;ye+=1){var Ce=(ne+ye*le+he)%he,Ye=Gt[Ce]||{},pt=Ye.group,it=Ye.data;if(!pt&&!(it!=null&&it.disabled)&&(ft(it.value)||!Nt))return Ce}return-1},Yt=s.useState(function(){return mt(0)}),It=(0,j.Z)(Yt,2),Ht=It[0],Tn=It[1],A=function(ne){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Tn(ne);var he={source:le?"keyboard":"mouse"},ye=Gt[ne];if(!ye){pe(null,-1,he);return}pe(ye.value,ne,he)};(0,s.useEffect)(function(){A(ge!==!1?mt(0):-1)},[Gt.length,$e]);var oe=s.useCallback(function(xe){return at==="combobox"?String(xe).toLowerCase()===$e.toLowerCase():Je.has(xe)},[at,$e,(0,D.Z)(Je).toString(),Je.size]);(0,s.useEffect)(function(){var xe=setTimeout(function(){if(!Ue&&Ve&&Je.size===1){var le=Array.from(Je)[0],he=Gt.findIndex(function(ye){var Ce=ye.data;return $e?String(Ce.value).startsWith($e):Ce.value===le});he!==-1&&(A(he),rt(he))}});if(Ve){var ne;(ne=Vt.current)===null||ne===void 0||ne.scrollTo(void 0)}return function(){return clearTimeout(xe)}},[Ve,$e]);var te=function(ne){ne!==void 0&&Fe(ne,{selected:!Je.has(ne)}),Ue||nt(!1)};if(s.useImperativeHandle(We,function(){return{onKeyDown:function(ne){var le=ne.which,he=ne.ctrlKey;switch(le){case k.Z.N:case k.Z.P:case k.Z.UP:case k.Z.DOWN:{var ye=0;if(le===k.Z.UP?ye=-1:le===k.Z.DOWN?ye=1:en()&&he&&(le===k.Z.N?ye=1:le===k.Z.P&&(ye=-1)),ye!==0){var Ce=mt(Ht+ye,ye);rt(Ce),A(Ce,!0)}break}case k.Z.TAB:case k.Z.ENTER:{var Ye,pt=Gt[Ht];pt&&!(pt!=null&&(Ye=pt.data)!==null&&Ye!==void 0&&Ye.disabled)&&!Nt?te(pt.value):te(void 0),Ve&&ne.preventDefault();break}case k.Z.ESC:nt(!1),Ve&&ne.stopPropagation()}},onKeyUp:function(){},scrollTo:function(ne){rt(ne)}}}),Gt.length===0)return s.createElement("div",{role:"listbox",id:"".concat(qe,"_list"),className:"".concat(zt,"-empty"),onMouseDown:Dt},ct);var se=Object.keys(lt).map(function(xe){return lt[xe]}),_e=function(ne){return ne.label};function be(xe,ne){var le=xe.group;return{role:le?"presentation":"option",id:"".concat(qe,"_list_").concat(ne)}}var Be=function(ne){var le=Gt[ne];if(!le)return null;var he=le.data||{},ye=he.value,Ce=le.group,Ye=(0,I.Z)(he,!0),pt=_e(le);return le?s.createElement("div",(0,P.Z)({"aria-label":typeof pt=="string"&&!Ce?pt:null},Ye,{key:ne},be(le,ne),{"aria-selected":oe(ye)}),ye):null},Oe={role:"listbox",id:"".concat(qe,"_list")};return s.createElement(s.Fragment,null,yt&&s.createElement("div",(0,P.Z)({},Oe,{style:{height:0,width:0,overflow:"hidden"}}),Be(Ht-1),Be(Ht),Be(Ht+1)),s.createElement(Lt.Z,{itemKey:"key",ref:Vt,data:Gt,height:cn,itemHeight:Rt,fullHeight:!1,onMouseDown:Dt,onScroll:tt,virtual:yt,direction:St,innerProps:yt?null:Oe},function(xe,ne){var le=xe.group,he=xe.groupOption,ye=xe.data,Ce=xe.label,Ye=xe.value,pt=ye.key;if(le){var it,kt=(it=ye.title)!==null&&it!==void 0?it:ot(Ce)?Ce.toString():void 0;return s.createElement("div",{className:t()(zt,"".concat(zt,"-group"),ye.className),title:kt},Ce!==void 0?Ce:pt)}var Ut=ye.disabled,Tt=ye.title,Jt=ye.children,bt=ye.style,pn=ye.className,on=(0,p.Z)(ye,ht),_n=(0,Ie.Z)(on,se),Xt=ft(Ye),rn=Ut||!Xt&&Nt,yn="".concat(zt,"-option"),ln=t()(zt,yn,pn,(0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)({},"".concat(yn,"-grouped"),he),"".concat(yn,"-active"),Ht===ne&&!rn),"".concat(yn,"-disabled"),rn),"".concat(yn,"-selected"),Xt)),dn=_e(xe),jt=!Ge||typeof Ge=="function"||Xt,wt=typeof dn=="number"?dn:dn||Ye,Zt=ot(wt)?wt.toString():void 0;return Tt!==void 0&&(Zt=Tt),s.createElement("div",(0,P.Z)({},(0,I.Z)(_n),yt?{}:be(xe,ne),{"aria-selected":oe(Ye),className:ln,title:Zt,onMouseMove:function(){Ht===ne||rn||A(ne)},onClick:function(){rn||te(Ye)},style:bt}),s.createElement("div",{className:"".concat(yn,"-content")},typeof Pt=="function"?Pt(xe,{index:ne}):wt),s.isValidElement(Ge)||Xt,jt&&s.createElement(w,{className:"".concat(zt,"-option-state"),customizeIcon:Ge,customizeIconProps:{value:Ye,disabled:rn,isSelected:Xt}},Xt?"\u2713":null))}))},nn=s.forwardRef(Kt),At=nn,gt=function(ee,Q){var We=s.useRef({values:new Map,options:new Map}),Se=s.useMemo(function(){var qe=We.current,Ve=qe.values,Ue=qe.options,at=ee.map(function(ct){if(ct.label===void 0){var tt;return(0,G.Z)((0,G.Z)({},ct),{},{label:(tt=Ve.get(ct.value))===null||tt===void 0?void 0:tt.label})}return ct}),$e=new Map,nt=new Map;return at.forEach(function(ct){$e.set(ct.value,ct),nt.set(ct.value,Q.get(ct.value)||Ue.get(ct.value))}),We.current.values=$e,We.current.options=nt,at},[ee,Q]),He=s.useCallback(function(qe){return Q.get(qe)||We.current.options.get(qe)},[Q]);return[Se,He]};function Ft(ee,Q){return S(ee).join("").toUpperCase().includes(Q)}var vn=function(ee,Q,We,Se,He){return s.useMemo(function(){if(!We||Se===!1)return ee;var qe=Q.options,Ve=Q.label,Ue=Q.value,at=[],$e=typeof Se=="function",nt=We.toUpperCase(),ct=$e?Se:function(ze,Y){return He?Ft(Y[He],nt):Y[qe]?Ft(Y[Ve!=="children"?Ve:"label"],nt):Ft(Y[Ue],nt)},tt=$e?function(ze){return U(ze)}:function(ze){return ze};return ee.forEach(function(ze){if(ze[qe]){var Y=ct(We,tt(ze));if(Y)at.push(ze);else{var fe=ze[qe].filter(function(pe){return ct(We,tt(pe))});fe.length&&at.push((0,G.Z)((0,G.Z)({},ze),{},(0,K.Z)({},qe,fe)))}return}ct(We,tt(ze))&&at.push(ze)}),at},[ee,Se,He,We,Q])},Mt=l(6551),ut=l(11592),Et=["children","value"],Zn=["children"];function mn(ee){var Q=ee,We=Q.key,Se=Q.props,He=Se.children,qe=Se.value,Ve=(0,p.Z)(Se,Et);return(0,G.Z)({key:We,value:qe!==void 0?qe:We,children:He},Ve)}function Ln(ee){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,ut.Z)(ee).map(function(We,Se){if(!s.isValidElement(We)||!We.type)return null;var He=We,qe=He.type.isSelectOptGroup,Ve=He.key,Ue=He.props,at=Ue.children,$e=(0,p.Z)(Ue,Zn);return Q||!qe?mn(We):(0,G.Z)((0,G.Z)({key:"__RC_SELECT_GRP__".concat(Ve===null?Se:Ve,"__"),label:Ve},$e),{},{options:Ln(at)})}).filter(function(We){return We})}var jn=function(Q,We,Se,He,qe){return s.useMemo(function(){var Ve=Q,Ue=!Q;Ue&&(Ve=Ln(We));var at=new Map,$e=new Map,nt=function(ze,Y,fe){fe&&typeof fe=="string"&&ze.set(Y[fe],Y)},ct=function tt(ze){for(var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,fe=0;fe<ze.length;fe+=1){var pe=ze[fe];!pe[Se.options]||Y?(at.set(pe[Se.value],pe),nt($e,pe,Se.label),nt($e,pe,He),nt($e,pe,qe)):tt(pe[Se.options],!0)}};return ct(Ve),{options:Ve,valueOptions:at,labelOptions:$e}},[Q,We,Se,He,qe])},bn=jn;function Cn(ee){var Q=s.useRef();Q.current=ee;var We=s.useCallback(function(){return Q.current.apply(Q,arguments)},[]);return We}function Kn(ee){var Q=ee.mode,We=ee.options,Se=ee.children,He=ee.backfill,qe=ee.allowClear,Ve=ee.placeholder,Ue=ee.getInputElement,at=ee.showSearch,$e=ee.onSearch,nt=ee.defaultOpen,ct=ee.autoFocus,tt=ee.labelInValue,ze=ee.value,Y=ee.inputValue,fe=ee.optionLabelProp,pe=isMultiple(Q),ge=at!==void 0?at:pe||Q==="combobox",Fe=We||convertChildrenToData(Se);if(warning(Q!=="tags"||Fe.every(function(yt){return!yt.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Q==="tags"||Q==="combobox"){var Ge=Fe.some(function(yt){return yt.options?yt.options.some(function(St){return typeof("value"in St?St.value:St.key)=="number"}):typeof("value"in yt?yt.value:yt.key)=="number"});warning(!Ge,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Q!=="combobox"||!fe,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Q==="combobox"||!He,"`backfill` only works with `combobox` mode."),warning(Q==="combobox"||!Ue,"`getInputElement` only work with `combobox` mode."),noteOnce(Q!=="combobox"||!Ue||!qe||!Ve,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),$e&&!ge&&Q!=="combobox"&&Q!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!nt||ct,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),ze!=null){var Je=toArray(ze);warning(!tt||Je.every(function(yt){return _typeof(yt)==="object"&&("key"in yt||"value"in yt)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!pe||Array.isArray(ze),"`value` should be array when `mode` is `multiple` or `tags`")}if(Se){var lt=null;toNodeArray(Se).some(function(yt){if(!React.isValidElement(yt)||!yt.type)return!1;var St=yt,cn=St.type;if(cn.isSelectOption)return!1;if(cn.isSelectOptGroup){var Rt=toNodeArray(yt.props.children).every(function(Pt){return!React.isValidElement(Pt)||!yt.type||Pt.type.isSelectOption?!0:(lt=Pt.type,!1)});return!Rt}return lt=cn,!0}),lt&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(lt.displayName||lt.name||lt,"`.")),warning(Y===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Rn(ee,Q){if(ee){var We=function Se(He){for(var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ve=0;Ve<He.length;Ve++){var Ue=He[Ve];if(Ue[Q==null?void 0:Q.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!qe&&Array.isArray(Ue[Q==null?void 0:Q.options])&&Se(Ue[Q==null?void 0:Q.options],!0))break}};We(ee)}}var On=null,gn=["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"],Dn=["inputValue"];function st(ee){return!ee||(0,V.Z)(ee)!=="object"}var et=s.forwardRef(function(ee,Q){var We=ee.id,Se=ee.mode,He=ee.prefixCls,qe=He===void 0?"rc-select":He,Ve=ee.backfill,Ue=ee.fieldNames,at=ee.inputValue,$e=ee.searchValue,nt=ee.onSearch,ct=ee.autoClearSearchValue,tt=ct===void 0?!0:ct,ze=ee.onSelect,Y=ee.onDeselect,fe=ee.dropdownMatchSelectWidth,pe=fe===void 0?!0:fe,ge=ee.filterOption,Fe=ee.filterSort,Ge=ee.optionFilterProp,Je=ee.optionLabelProp,lt=ee.options,yt=ee.optionRender,St=ee.children,cn=ee.defaultActiveFirstOption,Rt=ee.menuItemSelectedIcon,Pt=ee.virtual,zt=ee.direction,Gt=ee.listHeight,Vt=Gt===void 0?200:Gt,Nt=ee.listItemHeight,Dt=Nt===void 0?20:Nt,rt=ee.labelRender,ft=ee.value,mt=ee.defaultValue,Yt=ee.labelInValue,It=ee.onChange,Ht=ee.maxCount,Tn=(0,p.Z)(ee,gn),A=(0,Mt.ZP)(We),oe=Ke(Se),te=!!(!lt&&St),se=s.useMemo(function(){return ge===void 0&&Se==="combobox"?!1:ge},[ge,Se]),_e=s.useMemo(function(){return q(Ue,te)},[JSON.stringify(Ue),te]),be=(0,H.Z)("",{value:$e!==void 0?$e:at,postState:function(qt){return qt||""}}),Be=(0,j.Z)(be,2),Oe=Be[0],xe=Be[1],ne=bn(lt,St,_e,Ge,Je),le=ne.valueOptions,he=ne.labelOptions,ye=ne.options,Ce=s.useCallback(function(Ot){var qt=S(Ot);return qt.map(function(tn){var sn,kn,Fn,ir,Ct;if(st(tn))sn=tn;else{var $t;Fn=tn.key,kn=tn.label,sn=($t=tn.value)!==null&&$t!==void 0?$t:Fn}var Wt=le.get(sn);if(Wt){var In;if(kn===void 0&&(kn=Wt==null?void 0:Wt[Je||_e.label]),Fn===void 0&&(Fn=(In=Wt==null?void 0:Wt.key)!==null&&In!==void 0?In:sn),ir=Wt==null?void 0:Wt.disabled,Ct=Wt==null?void 0:Wt.title,0)var zn}return{label:kn,value:sn,key:Fn,disabled:ir,title:Ct}})},[_e,Je,le]),Ye=(0,H.Z)(mt,{value:ft}),pt=(0,j.Z)(Ye,2),it=pt[0],kt=pt[1],Ut=s.useMemo(function(){var Ot,qt=oe&&it===null?[]:it,tn=Ce(qt);return Se==="combobox"&&h((Ot=tn[0])===null||Ot===void 0?void 0:Ot.value)?[]:tn},[it,Ce,Se,oe]),Tt=gt(Ut,le),Jt=(0,j.Z)(Tt,2),bt=Jt[0],pn=Jt[1],on=s.useMemo(function(){if(!Se&&bt.length===1){var Ot=bt[0];if(Ot.value===null&&(Ot.label===null||Ot.label===void 0))return[]}return bt.map(function(qt){var tn;return(0,G.Z)((0,G.Z)({},qt),{},{label:(tn=typeof rt=="function"?rt(qt):qt.label)!==null&&tn!==void 0?tn:qt.value})})},[Se,bt,rt]),_n=s.useMemo(function(){return new Set(bt.map(function(Ot){return Ot.value}))},[bt]);s.useEffect(function(){if(Se==="combobox"){var Ot,qt=(Ot=bt[0])===null||Ot===void 0?void 0:Ot.value;xe(a(qt)?String(qt):"")}},[bt]);var Xt=Cn(function(Ot,qt){var tn=qt!=null?qt:Ot;return(0,K.Z)((0,K.Z)({},_e.value,Ot),_e.label,tn)}),rn=s.useMemo(function(){if(Se!=="tags")return ye;var Ot=(0,D.Z)(ye),qt=function(sn){return le.has(sn)};return(0,D.Z)(bt).sort(function(tn,sn){return tn.value<sn.value?-1:1}).forEach(function(tn){var sn=tn.value;qt(sn)||Ot.push(Xt(sn,tn.label))}),Ot},[Xt,ye,le,bt,Se]),yn=vn(rn,_e,Oe,se,Ge),ln=s.useMemo(function(){return Se!=="tags"||!Oe||yn.some(function(Ot){return Ot[Ge||"value"]===Oe})||yn.some(function(Ot){return Ot[_e.value]===Oe})?yn:[Xt(Oe)].concat((0,D.Z)(yn))},[Xt,Ge,Se,yn,Oe,_e]),dn=function Ot(qt){var tn=(0,D.Z)(qt).sort(function(sn,kn){return Fe(sn,kn,{searchValue:Oe})});return tn.map(function(sn){return Array.isArray(sn.options)?(0,G.Z)((0,G.Z)({},sn),{},{options:sn.options.length>0?Ot(sn.options):sn.options}):sn})},jt=s.useMemo(function(){return Fe?dn(ln):ln},[ln,Fe,Oe]),wt=s.useMemo(function(){return M(jt,{fieldNames:_e,childrenAsData:te})},[jt,_e,te]),Zt=function(qt){var tn=Ce(qt);if(kt(tn),It&&(tn.length!==bt.length||tn.some(function(Fn,ir){var Ct;return((Ct=bt[ir])===null||Ct===void 0?void 0:Ct.value)!==(Fn==null?void 0:Fn.value)}))){var sn=Yt?tn:tn.map(function(Fn){return Fn.value}),kn=tn.map(function(Fn){return U(pn(Fn.value))});It(oe?sn:sn[0],oe?kn:kn[0])}},Qt=s.useState(null),hn=(0,j.Z)(Qt,2),un=hn[0],fn=hn[1],Un=s.useState(0),Xn=(0,j.Z)(Un,2),$n=Xn[0],or=Xn[1],ar=cn!==void 0?cn:Se!=="combobox",qn=s.useCallback(function(Ot,qt){var tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},sn=tn.source,kn=sn===void 0?"keyboard":sn;or(qt),Ve&&Se==="combobox"&&Ot!==null&&kn==="keyboard"&&fn(String(Ot))},[Ve,Se]),wn=function(qt,tn,sn){var kn=function(){var dr,lr=pn(qt);return[Yt?{label:lr==null?void 0:lr[_e.label],value:qt,key:(dr=lr==null?void 0:lr.key)!==null&&dr!==void 0?dr:qt}:qt,U(lr)]};if(tn&&ze){var Fn=kn(),ir=(0,j.Z)(Fn,2),Ct=ir[0],$t=ir[1];ze(Ct,$t)}else if(!tn&&Y&&sn!=="clear"){var Wt=kn(),In=(0,j.Z)(Wt,2),zn=In[0],Hn=In[1];Y(zn,Hn)}},An=Cn(function(Ot,qt){var tn,sn=oe?qt.selected:!0;sn?tn=oe?[].concat((0,D.Z)(bt),[Ot]):[Ot]:tn=bt.filter(function(kn){return kn.value!==Ot}),Zt(tn),wn(Ot,sn),Se==="combobox"?fn(""):(!Ke||tt)&&(xe(""),fn(""))}),Gn=function(qt,tn){Zt(qt);var sn=tn.type,kn=tn.values;(sn==="remove"||sn==="clear")&&kn.forEach(function(Fn){wn(Fn.value,!1,sn)})},En=function(qt,tn){if(xe(qt),fn(null),tn.source==="submit"){var sn=(qt||"").trim();if(sn){var kn=Array.from(new Set([].concat((0,D.Z)(_n),[sn])));Zt(kn),wn(sn,!0),xe("")}return}tn.source!=="blur"&&(Se==="combobox"&&Zt(qt),nt==null||nt(qt))},xn=function(qt){var tn=qt;Se!=="tags"&&(tn=qt.map(function(kn){var Fn=he.get(kn);return Fn==null?void 0:Fn.value}).filter(function(kn){return kn!==void 0}));var sn=Array.from(new Set([].concat((0,D.Z)(_n),(0,D.Z)(tn))));Zt(sn),sn.forEach(function(kn){wn(kn,!0)})},Nn=s.useMemo(function(){var Ot=Pt!==!1&&pe!==!1;return(0,G.Z)((0,G.Z)({},ne),{},{flattenOptions:wt,onActiveValue:qn,defaultActiveFirstOption:ar,onSelect:An,menuItemSelectedIcon:Rt,rawValues:_n,fieldNames:_e,virtual:Ot,direction:zt,listHeight:Vt,listItemHeight:Dt,childrenAsData:te,maxCount:Ht,optionRender:yt})},[Ht,ne,wt,qn,ar,An,Rt,_n,_e,Pt,pe,zt,Vt,Dt,te,yt]);return s.createElement(ie.Provider,{value:Nn},s.createElement(ue,(0,P.Z)({},Tn,{id:A,prefixCls:qe,ref:Q,omitDomProps:Dn,mode:Se,displayValues:on,onDisplayValuesChange:Gn,direction:zt,searchValue:Oe,onSearch:En,autoClearSearchValue:tt,onSearchSplit:xn,dropdownMatchSelectWidth:pe,OptionList:At,emptyOptions:!wt.length,activeValue:un,activeDescendantId:"".concat(A,"_list_").concat($n)})))}),_t=et;_t.Option=dt,_t.OptGroup=Pe;var an=_t,Sn=an},86351:function(Bt,Ze,l){"use strict";l.d(Ze,{R:function(){return D},w:function(){return P}});var P={},D="rc-table-internal-hook"},97347:function(Bt,Ze,l){"use strict";l.d(Ze,{L:function(){return g},Z:function(){return d}});var P=l(42978),D=l(20068),K=l(94480),G=l(76190),j=l(33885),p=l(75931),V=l(11592),H=l(48736),e=l(59301),s=l(86351),f=l(54451);function t(u){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof O=="number"?O:O.endsWith("%")?u*parseFloat(O)/100:null}function r(u,O,k){return e.useMemo(function(){if(O&&O>0){var Z=0,I=0;u.forEach(function(S){var b=t(O,S.width);b?Z+=b:I+=1});var $=Math.max(O,k),B=Math.max($-Z,I),Ee=I,C=B/I,v=0,E=u.map(function(S){var b=(0,j.Z)({},S),n=t(O,b.width);if(n)b.width=n;else{var a=Math.floor(C);b.width=Ee===1?B:a,B-=a,Ee-=1}return v+=b.width,b});if(v<$){var N=$/v;B=$,E.forEach(function(S,b){var n=Math.floor(S.width*N);S.width=b===E.length-1?B:n,B-=n})}return[E,Math.max(v,$)]}return[u,O]},[u,O,k])}var i=["children"],o=["fixed"];function g(u){return(0,V.Z)(u).filter(function(O){return e.isValidElement(O)}).map(function(O){var k=O.key,Z=O.props,I=Z.children,$=(0,p.Z)(Z,i),B=(0,j.Z)({key:k},$);return I&&(B.children=g(I)),B})}function w(u){return u.filter(function(O){return O&&(0,G.Z)(O)==="object"&&!O.hidden}).map(function(O){var k=O.children;return k&&k.length>0?(0,j.Z)((0,j.Z)({},O),{},{children:w(k)}):O})}function R(u){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return u.filter(function(k){return k&&(0,G.Z)(k)==="object"}).reduce(function(k,Z,I){var $=Z.fixed,B=$===!0?"left":$,Ee="".concat(O,"-").concat(I),C=Z.children;return C&&C.length>0?[].concat((0,K.Z)(k),(0,K.Z)(R(C,Ee).map(function(v){return(0,j.Z)({fixed:B},v)}))):[].concat((0,K.Z)(k),[(0,j.Z)((0,j.Z)({key:Ee},Z),{},{fixed:B})])},[])}function _(u){return u.map(function(O){var k=O.fixed,Z=(0,p.Z)(O,o),I=k;return k==="left"?I="right":k==="right"&&(I="left"),(0,j.Z)({fixed:I},Z)})}function y(u,O){var k=u.prefixCls,Z=u.columns,I=u.children,$=u.expandable,B=u.expandedKeys,Ee=u.columnTitle,C=u.getRowKey,v=u.onTriggerExpand,E=u.expandIcon,N=u.rowExpandable,S=u.expandIconColumnIndex,b=u.direction,n=u.expandRowByClick,a=u.columnWidth,h=u.fixed,T=u.scrollWidth,re=u.clientWidth,de=e.useMemo(function(){var Te=Z||g(I)||[];return w(Te.slice())},[Z,I]),ve=e.useMemo(function(){if($){var Te=de.slice();if(!Te.includes(s.w)){var ae=S||0;ae>=0&&(ae||h==="left"||!h)&&Te.splice(ae,0,s.w),h==="right"&&Te.splice(de.length,0,s.w)}var W=Te.indexOf(s.w);Te=Te.filter(function(J,x){return J!==s.w||x===W});var X=de[W],c;h?c=h:c=X?X.fixed:null;var L=(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)({},f.v,{className:"".concat(k,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Ee),"fixed",c),"className","".concat(k,"-row-expand-icon-cell")),"width",a),"render",function(x,m,F){var q=C(m,F),M=B.has(q),U=N?N(m):!0,z=E({prefixCls:k,expanded:M,expandable:U,record:m,onExpand:v});return n?e.createElement("span",{onClick:function(ie){return ie.stopPropagation()}},z):z});return Te.map(function(J){return J===s.w?L:J})}return de.filter(function(J){return J!==s.w})},[$,de,C,B,E,b]),De=e.useMemo(function(){var Te=ve;return O&&(Te=O(Te)),Te.length||(Te=[{render:function(){return null}}]),Te},[O,ve,b]),Ae=e.useMemo(function(){return b==="rtl"?_(R(De)):R(De)},[De,b,T]),vt=e.useMemo(function(){for(var Te=-1,ae=Ae.length-1;ae>=0;ae-=1){var W=Ae[ae].fixed;if(W==="left"||W===!0){Te=ae;break}}if(Te>=0)for(var X=0;X<=Te;X+=1){var c=Ae[X].fixed;if(c!=="left"&&c!==!0)return!0}var L=Ae.findIndex(function(m){var F=m.fixed;return F==="right"});if(L>=0)for(var J=L;J<Ae.length;J+=1){var x=Ae[J].fixed;if(x!=="right")return!0}return!1},[Ae]),me=r(Ae,T,re),Xe=(0,P.Z)(me,2),Ne=Xe[0],Qe=Xe[1];return[De,Ne,Qe,vt]}var d=y},4030:function(Bt,Ze,l){"use strict";l.d(Ze,{w2:function(){return P.w},vP:function(){return ot.v},RQ:function(){return P.R},ER:function(){return q},Q$:function(){return ge},TN:function(){return It}});var P=l(86351),D=l(42978),K=l(6089),G=l(34280),j=l(13697),p=l(59301),V=l(4676);function H(A){var oe=p.createContext(void 0),te=function(_e){var be=_e.value,Be=_e.children,Oe=p.useRef(be);Oe.current=be;var xe=p.useState(function(){return{getValue:function(){return Oe.current},listeners:new Set}}),ne=(0,D.Z)(xe,1),le=ne[0];return(0,G.Z)(function(){(0,V.unstable_batchedUpdates)(function(){le.listeners.forEach(function(he){he(be)})})},[be]),p.createElement(oe.Provider,{value:le},Be)};return{Context:oe,Provider:te,defaultValue:A}}function e(A,oe){var te=(0,K.Z)(typeof oe=="function"?oe:function(he){if(oe===void 0)return he;if(!Array.isArray(oe))return he[oe];var ye={};return oe.forEach(function(Ce){ye[Ce]=he[Ce]}),ye}),se=p.useContext(A==null?void 0:A.Context),_e=se||{},be=_e.listeners,Be=_e.getValue,Oe=p.useRef();Oe.current=te(se?Be():A==null?void 0:A.defaultValue);var xe=p.useState({}),ne=(0,D.Z)(xe,2),le=ne[1];return(0,G.Z)(function(){if(!se)return;function he(ye){var Ce=te(ye);(0,j.Z)(Oe.current,Ce,!0)||le({})}return be.add(he),function(){be.delete(he)}},[se]),Oe.current}var s=l(54476),f=l(8654);function t(){var A=p.createContext(null);function oe(){return p.useContext(A)}function te(_e,be){var Be=(0,f.Yr)(_e),Oe=function(ne,le){var he=Be?{ref:le}:{},ye=p.useRef(0),Ce=p.useRef(ne),Ye=oe();return Ye!==null?p.createElement(_e,(0,s.Z)({},ne,he)):((!be||be(Ce.current,ne))&&(ye.current+=1),Ce.current=ne,p.createElement(A.Provider,{value:ye.current},p.createElement(_e,(0,s.Z)({},ne,he))))};return Be?p.forwardRef(Oe):Oe}function se(_e,be){var Be=(0,f.Yr)(_e),Oe=function(ne,le){var he=Be?{ref:le}:{};return oe(),p.createElement(_e,(0,s.Z)({},ne,he))};return Be?p.memo(p.forwardRef(Oe),be):p.memo(Oe,be)}return{makeImmutable:te,responseImmutable:se,useImmutableMark:oe}}var r=t(),i=r.makeImmutable,o=r.responseImmutable,g=r.useImmutableMark,w=t(),R=w.makeImmutable,_=w.responseImmutable,y=w.useImmutableMark,d=H(),u=d;function O(A,oe){var te=React.useRef(0);te.current+=1;var se=React.useRef(A),_e=[];Object.keys(A||{}).map(function(Be){var Oe;(A==null?void 0:A[Be])!==((Oe=se.current)===null||Oe===void 0?void 0:Oe[Be])&&_e.push(Be)}),se.current=A;var be=React.useRef([]);return _e.length&&(be.current=_e),React.useDebugValue(te.current),React.useDebugValue(be.current.join(", ")),oe&&console.log("".concat(oe,":"),te.current,be.current),te.current}var k=null,Z=null,I=l(76190),$=l(33885),B=l(20068),Ee=l(92310),C=l.n(Ee),v=l(80547),E=l(97938),N=l(48736),S=p.createContext({renderWithProps:!1}),b=S,n="RC_TABLE_KEY";function a(A){return A==null?[]:Array.isArray(A)?A:[A]}function h(A){var oe=[],te={};return A.forEach(function(se){for(var _e=se||{},be=_e.key,Be=_e.dataIndex,Oe=be||a(Be).join("-")||n;te[Oe];)Oe="".concat(Oe,"_next");te[Oe]=!0,oe.push(Oe)}),oe}function T(A){return A!=null}function re(A){return typeof A=="number"&&!Number.isNaN(A)}function de(A){return A&&(0,I.Z)(A)==="object"&&!Array.isArray(A)&&!p.isValidElement(A)}function ve(A,oe,te,se,_e,be){var Be=p.useContext(b),Oe=y(),xe=(0,v.Z)(function(){if(T(se))return[se];var ne=oe==null||oe===""?[]:Array.isArray(oe)?oe:[oe],le=(0,E.Z)(A,ne),he=le,ye=void 0;if(_e){var Ce=_e(le,A,te);de(Ce)?(he=Ce.children,ye=Ce.props,Be.renderWithProps=!0):he=Ce}return[he,ye]},[Oe,A,se,oe,_e,te],function(ne,le){if(be){var he=(0,D.Z)(ne,2),ye=he[1],Ce=(0,D.Z)(le,2),Ye=Ce[1];return be(Ye,ye)}return Be.renderWithProps?!0:!(0,j.Z)(ne,le,!0)});return xe}function De(A,oe,te,se){var _e=A+oe-1;return A<=se&&_e>=te}function Ae(A,oe){return e(u,function(te){var se=De(A,oe||1,te.hoverStartRow,te.hoverEndRow);return[se,te.onHover]})}var vt=l(70425),me=function(oe){var te=oe.ellipsis,se=oe.rowType,_e=oe.children,be,Be=te===!0?{showTitle:!0}:te;return Be&&(Be.showTitle||se==="header")&&(typeof _e=="string"||typeof _e=="number"?be=_e.toString():p.isValidElement(_e)&&typeof _e.props.children=="string"&&(be=_e.props.children)),be};function Xe(A){var oe,te,se,_e,be,Be,Oe,xe,ne=A.component,le=A.children,he=A.ellipsis,ye=A.scope,Ce=A.prefixCls,Ye=A.className,pt=A.align,it=A.record,kt=A.render,Ut=A.dataIndex,Tt=A.renderIndex,Jt=A.shouldCellUpdate,bt=A.index,pn=A.rowType,on=A.colSpan,_n=A.rowSpan,Xt=A.fixLeft,rn=A.fixRight,yn=A.firstFixLeft,ln=A.lastFixLeft,dn=A.firstFixRight,jt=A.lastFixRight,wt=A.appendNode,Zt=A.additionalProps,Qt=Zt===void 0?{}:Zt,hn=A.isSticky,un="".concat(Ce,"-cell"),fn=e(u,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Un=fn.supportSticky,Xn=fn.allColumnsFixedLeft,$n=fn.rowHoverable,or=ve(it,Ut,Tt,le,kt,Jt),ar=(0,D.Z)(or,2),qn=ar[0],wn=ar[1],An={},Gn=typeof Xt=="number"&&Un,En=typeof rn=="number"&&Un;Gn&&(An.position="sticky",An.left=Xt),En&&(An.position="sticky",An.right=rn);var xn=(oe=(te=(se=wn==null?void 0:wn.colSpan)!==null&&se!==void 0?se:Qt.colSpan)!==null&&te!==void 0?te:on)!==null&&oe!==void 0?oe:1,Nn=(_e=(be=(Be=wn==null?void 0:wn.rowSpan)!==null&&Be!==void 0?Be:Qt.rowSpan)!==null&&be!==void 0?be:_n)!==null&&_e!==void 0?_e:1,Ot=Ae(bt,Nn),qt=(0,D.Z)(Ot,2),tn=qt[0],sn=qt[1],kn=(0,vt.zX)(function(zn){var Hn;it&&sn(bt,bt+Nn-1),Qt==null||(Hn=Qt.onMouseEnter)===null||Hn===void 0||Hn.call(Qt,zn)}),Fn=(0,vt.zX)(function(zn){var Hn;it&&sn(-1,-1),Qt==null||(Hn=Qt.onMouseLeave)===null||Hn===void 0||Hn.call(Qt,zn)});if(xn===0||Nn===0)return null;var ir=(Oe=Qt.title)!==null&&Oe!==void 0?Oe:me({rowType:pn,ellipsis:he,children:qn}),Ct=C()(un,Ye,(xe={},(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)(xe,"".concat(un,"-fix-left"),Gn&&Un),"".concat(un,"-fix-left-first"),yn&&Un),"".concat(un,"-fix-left-last"),ln&&Un),"".concat(un,"-fix-left-all"),ln&&Xn&&Un),"".concat(un,"-fix-right"),En&&Un),"".concat(un,"-fix-right-first"),dn&&Un),"".concat(un,"-fix-right-last"),jt&&Un),"".concat(un,"-ellipsis"),he),"".concat(un,"-with-append"),wt),"".concat(un,"-fix-sticky"),(Gn||En)&&hn&&Un),(0,B.Z)(xe,"".concat(un,"-row-hover"),!wn&&tn)),Qt.className,wn==null?void 0:wn.className),$t={};pt&&($t.textAlign=pt);var Wt=(0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},wn==null?void 0:wn.style),An),$t),Qt.style),In=qn;return(0,I.Z)(In)==="object"&&!Array.isArray(In)&&!p.isValidElement(In)&&(In=null),he&&(ln||dn)&&(In=p.createElement("span",{className:"".concat(un,"-content")},In)),p.createElement(ne,(0,s.Z)({},wn,Qt,{className:Ct,style:Wt,title:ir,scope:ye,onMouseEnter:$n?kn:void 0,onMouseLeave:$n?Fn:void 0,colSpan:xn!==1?xn:null,rowSpan:Nn!==1?Nn:null}),wt,In)}var Ne=p.memo(Xe);function Qe(A,oe,te,se,_e){var be=te[A]||{},Be=te[oe]||{},Oe,xe;be.fixed==="left"?Oe=se.left[_e==="rtl"?oe:A]:Be.fixed==="right"&&(xe=se.right[_e==="rtl"?A:oe]);var ne=!1,le=!1,he=!1,ye=!1,Ce=te[oe+1],Ye=te[A-1],pt=Ce&&!Ce.fixed||Ye&&!Ye.fixed||te.every(function(Jt){return Jt.fixed==="left"});if(_e==="rtl"){if(Oe!==void 0){var it=Ye&&Ye.fixed==="left";ye=!it&&pt}else if(xe!==void 0){var kt=Ce&&Ce.fixed==="right";he=!kt&&pt}}else if(Oe!==void 0){var Ut=Ce&&Ce.fixed==="left";ne=!Ut&&pt}else if(xe!==void 0){var Tt=Ye&&Ye.fixed==="right";le=!Tt&&pt}return{fixLeft:Oe,fixRight:xe,lastFixLeft:ne,firstFixRight:le,lastFixRight:he,firstFixLeft:ye,isSticky:se.isSticky}}var Te=p.createContext({}),ae=Te;function W(A){var oe=A.className,te=A.index,se=A.children,_e=A.colSpan,be=_e===void 0?1:_e,Be=A.rowSpan,Oe=A.align,xe=e(u,["prefixCls","direction"]),ne=xe.prefixCls,le=xe.direction,he=p.useContext(ae),ye=he.scrollColumnIndex,Ce=he.stickyOffsets,Ye=he.flattenColumns,pt=te+be-1,it=pt+1===ye?be+1:be,kt=Qe(te,te+it-1,Ye,Ce,le);return p.createElement(Ne,(0,s.Z)({className:oe,index:te,component:"td",prefixCls:ne,record:null,dataIndex:null,align:Oe,colSpan:it,rowSpan:Be,render:function(){return se}},kt))}var X=l(75931),c=["children"];function L(A){var oe=A.children,te=(0,X.Z)(A,c);return p.createElement("tr",te,oe)}function J(A){var oe=A.children;return oe}J.Row=L,J.Cell=W;var x=J;function m(A){var oe=A.children,te=A.stickyOffsets,se=A.flattenColumns,_e=e(u,"prefixCls"),be=se.length-1,Be=se[be],Oe=p.useMemo(function(){return{stickyOffsets:te,flattenColumns:se,scrollColumnIndex:Be!=null&&Be.scrollbar?be:null}},[Be,se,be,te]);return p.createElement(ae.Provider,{value:Oe},p.createElement("tfoot",{className:"".concat(_e,"-summary")},oe))}var F=_(m),q=x,M=l(29301),U=l(24514),z=l(75152),ce=l(26112);function ie(A,oe,te,se,_e,be,Be){A.push({record:oe,indent:te,index:Be});var Oe=be(oe),xe=_e==null?void 0:_e.has(Oe);if(oe&&Array.isArray(oe[se])&&xe)for(var ne=0;ne<oe[se].length;ne+=1)ie(A,oe[se][ne],te+1,se,_e,be,ne)}function we(A,oe,te,se){var _e=p.useMemo(function(){if(te!=null&&te.size){for(var be=[],Be=0;Be<(A==null?void 0:A.length);Be+=1){var Oe=A[Be];ie(be,Oe,0,oe,te,se,Be)}return be}return A==null?void 0:A.map(function(xe,ne){return{record:xe,indent:0,index:ne}})},[A,oe,te,se]);return _e}function Me(A,oe,te,se){var _e=e(u,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),be=_e.flattenColumns,Be=_e.expandableType,Oe=_e.expandedKeys,xe=_e.childrenColumnName,ne=_e.onTriggerExpand,le=_e.rowExpandable,he=_e.onRow,ye=_e.expandRowByClick,Ce=_e.rowClassName,Ye=Be==="nest",pt=Be==="row"&&(!le||le(A)),it=pt||Ye,kt=Oe&&Oe.has(oe),Ut=xe&&A&&A[xe],Tt=(0,vt.zX)(ne),Jt=he==null?void 0:he(A,te),bt=Jt==null?void 0:Jt.onClick,pn=function(rn){ye&&it&&ne(A,rn);for(var yn=arguments.length,ln=new Array(yn>1?yn-1:0),dn=1;dn<yn;dn++)ln[dn-1]=arguments[dn];bt==null||bt.apply(void 0,[rn].concat(ln))},on;typeof Ce=="string"?on=Ce:typeof Ce=="function"&&(on=Ce(A,te,se));var _n=h(be);return(0,$.Z)((0,$.Z)({},_e),{},{columnsKey:_n,nestExpandable:Ye,expanded:kt,hasNestChildren:Ut,record:A,onTriggerExpand:Tt,rowSupportExpand:pt,expandable:it,rowProps:(0,$.Z)((0,$.Z)({},Jt),{},{className:C()(on,Jt==null?void 0:Jt.className),onClick:pn})})}function je(A){var oe=A.prefixCls,te=A.children,se=A.component,_e=A.cellComponent,be=A.className,Be=A.expanded,Oe=A.colSpan,xe=A.isEmpty,ne=e(u,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),le=ne.scrollbarSize,he=ne.fixHeader,ye=ne.fixColumn,Ce=ne.componentWidth,Ye=ne.horizonScroll,pt=te;return(xe?Ye&&Ce:ye)&&(pt=p.createElement("div",{style:{width:Ce-(he&&!xe?le:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(oe,"-expanded-row-fixed")},pt)),p.createElement(se,{className:be,style:{display:Be?null:"none"}},p.createElement(Ne,{component:_e,prefixCls:oe,colSpan:Oe},pt))}var Ke=je;function ke(A){var oe=A.prefixCls,te=A.record,se=A.onExpand,_e=A.expanded,be=A.expandable,Be="".concat(oe,"-row-expand-icon");if(!be)return p.createElement("span",{className:C()(Be,"".concat(oe,"-row-spaced"))});var Oe=function(ne){se(te,ne),ne.stopPropagation()};return p.createElement("span",{className:C()(Be,(0,B.Z)((0,B.Z)({},"".concat(oe,"-row-expanded"),_e),"".concat(oe,"-row-collapsed"),!_e)),onClick:Oe})}function ue(A,oe,te){var se=[];function _e(be){(be||[]).forEach(function(Be,Oe){se.push(oe(Be,Oe)),_e(Be[te])})}return _e(A),se}function Le(A,oe,te,se){return typeof A=="string"?A:typeof A=="function"?A(oe,te,se):""}function Pe(A,oe,te,se,_e){var be=A.record,Be=A.prefixCls,Oe=A.columnsKey,xe=A.fixedInfoList,ne=A.expandIconColumnIndex,le=A.nestExpandable,he=A.indentSize,ye=A.expandIcon,Ce=A.expanded,Ye=A.hasNestChildren,pt=A.onTriggerExpand,it=Oe[te],kt=xe[te],Ut;te===(ne||0)&&le&&(Ut=p.createElement(p.Fragment,null,p.createElement("span",{style:{paddingLeft:"".concat(he*se,"px")},className:"".concat(Be,"-row-indent indent-level-").concat(se)}),ye({prefixCls:Be,expanded:Ce,expandable:Ye,record:be,onExpand:pt})));var Tt;return oe.onCell&&(Tt=oe.onCell(be,_e)),{key:it,fixedInfo:kt,appendCellNode:Ut,additionalCellProps:Tt||{}}}function Re(A){var oe=A.className,te=A.style,se=A.record,_e=A.index,be=A.renderIndex,Be=A.rowKey,Oe=A.indent,xe=Oe===void 0?0:Oe,ne=A.rowComponent,le=A.cellComponent,he=A.scopeCellComponent,ye=Me(se,Be,_e,xe),Ce=ye.prefixCls,Ye=ye.flattenColumns,pt=ye.expandedRowClassName,it=ye.expandedRowRender,kt=ye.rowProps,Ut=ye.expanded,Tt=ye.rowSupportExpand,Jt=p.useRef(!1);Jt.current||(Jt.current=Ut);var bt=Le(pt,se,_e,xe),pn=p.createElement(ne,(0,s.Z)({},kt,{"data-row-key":Be,className:C()(oe,"".concat(Ce,"-row"),"".concat(Ce,"-row-level-").concat(xe),kt==null?void 0:kt.className,(0,B.Z)({},bt,xe>=1)),style:(0,$.Z)((0,$.Z)({},te),kt==null?void 0:kt.style)}),Ye.map(function(Xt,rn){var yn=Xt.render,ln=Xt.dataIndex,dn=Xt.className,jt=Pe(ye,Xt,rn,xe,_e),wt=jt.key,Zt=jt.fixedInfo,Qt=jt.appendCellNode,hn=jt.additionalCellProps;return p.createElement(Ne,(0,s.Z)({className:dn,ellipsis:Xt.ellipsis,align:Xt.align,scope:Xt.rowScope,component:Xt.rowScope?he:le,prefixCls:Ce,key:wt,record:se,index:_e,renderIndex:be,dataIndex:ln,render:yn,shouldCellUpdate:Xt.shouldCellUpdate},Zt,{appendNode:Qt,additionalProps:hn}))})),on;if(Tt&&(Jt.current||Ut)){var _n=it(se,_e,xe+1,Ut);on=p.createElement(Ke,{expanded:Ut,className:C()("".concat(Ce,"-expanded-row"),"".concat(Ce,"-expanded-row-level-").concat(xe+1),bt),prefixCls:Ce,component:ne,cellComponent:le,colSpan:Ye.length,isEmpty:!1},_n)}return p.createElement(p.Fragment,null,pn,on)}var dt=_(Re);function xt(A){var oe=A.columnKey,te=A.onColumnResize,se=p.useRef();return(0,G.Z)(function(){se.current&&te(oe,se.current.offsetWidth)},[]),p.createElement(M.Z,{data:oe},p.createElement("td",{ref:se,style:{padding:0,border:0,height:0}},p.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Ie=l(29194);function Lt(A){var oe=A.prefixCls,te=A.columnsKey,se=A.onColumnResize,_e=p.useRef(null);return p.createElement("tr",{"aria-hidden":"true",className:"".concat(oe,"-measure-row"),style:{height:0,fontSize:0},ref:_e},p.createElement(M.Z.Collection,{onBatchResize:function(Be){(0,Ie.Z)(_e.current)&&Be.forEach(function(Oe){var xe=Oe.data,ne=Oe.size;se(xe,ne.offsetWidth)})}},te.map(function(be){return p.createElement(xt,{key:be,columnKey:be,onColumnResize:se})})))}function en(A){var oe=A.data,te=A.measureColumnWidth,se=e(u,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),_e=se.prefixCls,be=se.getComponent,Be=se.onColumnResize,Oe=se.flattenColumns,xe=se.getRowKey,ne=se.expandedKeys,le=se.childrenColumnName,he=se.emptyNode,ye=we(oe,le,ne,xe),Ce=p.useRef({renderWithProps:!1}),Ye=be(["body","wrapper"],"tbody"),pt=be(["body","row"],"tr"),it=be(["body","cell"],"td"),kt=be(["body","cell"],"th"),Ut;oe.length?Ut=ye.map(function(Jt,bt){var pn=Jt.record,on=Jt.indent,_n=Jt.index,Xt=xe(pn,bt);return p.createElement(dt,{key:Xt,rowKey:Xt,record:pn,index:bt,renderIndex:_n,rowComponent:pt,cellComponent:it,scopeCellComponent:kt,indent:on})}):Ut=p.createElement(Ke,{expanded:!0,className:"".concat(_e,"-placeholder"),prefixCls:_e,component:pt,cellComponent:it,colSpan:Oe.length,isEmpty:!0},he);var Tt=h(Oe);return p.createElement(b.Provider,{value:Ce.current},p.createElement(Ye,{className:"".concat(_e,"-tbody")},te&&p.createElement(Lt,{prefixCls:_e,columnsKey:Tt,onColumnResize:Be}),Ut))}var ht=_(en),ot=l(54451),Kt=["columnType"];function nn(A){for(var oe=A.colWidths,te=A.columns,se=A.columCount,_e=e(u,["tableLayout"]),be=_e.tableLayout,Be=[],Oe=se||te.length,xe=!1,ne=Oe-1;ne>=0;ne-=1){var le=oe[ne],he=te&&te[ne],ye=void 0,Ce=void 0;if(he&&(ye=he[ot.v],be==="auto"&&(Ce=he.minWidth)),le||Ce||ye||xe){var Ye=ye||{},pt=Ye.columnType,it=(0,X.Z)(Ye,Kt);Be.unshift(p.createElement("col",(0,s.Z)({key:ne,style:{width:le,minWidth:Ce}},it))),xe=!0}}return p.createElement("colgroup",null,Be)}var At=nn,gt=l(94480),Ft=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function vn(A,oe){return(0,p.useMemo)(function(){for(var te=[],se=0;se<oe;se+=1){var _e=A[se];if(_e!==void 0)te[se]=_e;else return null}return te},[A.join("_"),oe])}var Mt=p.forwardRef(function(A,oe){var te=A.className,se=A.noData,_e=A.columns,be=A.flattenColumns,Be=A.colWidths,Oe=A.columCount,xe=A.stickyOffsets,ne=A.direction,le=A.fixHeader,he=A.stickyTopOffset,ye=A.stickyBottomOffset,Ce=A.stickyClassName,Ye=A.onScroll,pt=A.maxContentScroll,it=A.children,kt=(0,X.Z)(A,Ft),Ut=e(u,["prefixCls","scrollbarSize","isSticky","getComponent"]),Tt=Ut.prefixCls,Jt=Ut.scrollbarSize,bt=Ut.isSticky,pn=Ut.getComponent,on=pn(["header","table"],"table"),_n=bt&&!le?0:Jt,Xt=p.useRef(null),rn=p.useCallback(function(hn){(0,f.mH)(oe,hn),(0,f.mH)(Xt,hn)},[]);p.useEffect(function(){var hn;function un(fn){var Un=fn,Xn=Un.currentTarget,$n=Un.deltaX;$n&&(Ye({currentTarget:Xn,scrollLeft:Xn.scrollLeft+$n}),fn.preventDefault())}return(hn=Xt.current)===null||hn===void 0||hn.addEventListener("wheel",un,{passive:!1}),function(){var fn;(fn=Xt.current)===null||fn===void 0||fn.removeEventListener("wheel",un)}},[]);var yn=p.useMemo(function(){return be.every(function(hn){return hn.width})},[be]),ln=be[be.length-1],dn={fixed:ln?ln.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Tt,"-cell-scrollbar")}}},jt=(0,p.useMemo)(function(){return _n?[].concat((0,gt.Z)(_e),[dn]):_e},[_n,_e]),wt=(0,p.useMemo)(function(){return _n?[].concat((0,gt.Z)(be),[dn]):be},[_n,be]),Zt=(0,p.useMemo)(function(){var hn=xe.right,un=xe.left;return(0,$.Z)((0,$.Z)({},xe),{},{left:ne==="rtl"?[].concat((0,gt.Z)(un.map(function(fn){return fn+_n})),[0]):un,right:ne==="rtl"?hn:[].concat((0,gt.Z)(hn.map(function(fn){return fn+_n})),[0]),isSticky:bt})},[_n,xe,bt]),Qt=vn(Be,Oe);return p.createElement("div",{style:(0,$.Z)({overflow:"hidden"},bt?{top:he,bottom:ye}:{}),ref:rn,className:C()(te,(0,B.Z)({},Ce,!!Ce))},p.createElement(on,{style:{tableLayout:"fixed",visibility:se||Qt?null:"hidden"}},(!se||!pt||yn)&&p.createElement(At,{colWidths:Qt?[].concat((0,gt.Z)(Qt),[_n]):[],columCount:Oe+1,columns:wt}),it((0,$.Z)((0,$.Z)({},kt),{},{stickyOffsets:Zt,columns:jt,flattenColumns:wt}))))}),ut=p.memo(Mt),Et=function(oe){var te=oe.cells,se=oe.stickyOffsets,_e=oe.flattenColumns,be=oe.rowComponent,Be=oe.cellComponent,Oe=oe.onHeaderRow,xe=oe.index,ne=e(u,["prefixCls","direction"]),le=ne.prefixCls,he=ne.direction,ye;Oe&&(ye=Oe(te.map(function(Ye){return Ye.column}),xe));var Ce=h(te.map(function(Ye){return Ye.column}));return p.createElement(be,ye,te.map(function(Ye,pt){var it=Ye.column,kt=Qe(Ye.colStart,Ye.colEnd,_e,se,he),Ut;return it&&it.onHeaderCell&&(Ut=Ye.column.onHeaderCell(it)),p.createElement(Ne,(0,s.Z)({},Ye,{scope:it.title?Ye.colSpan>1?"colgroup":"col":null,ellipsis:it.ellipsis,align:it.align,component:Be,prefixCls:le,key:Ce[pt]},kt,{additionalProps:Ut,rowType:"header"}))}))},Zn=Et;function mn(A){var oe=[];function te(Be,Oe){var xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;oe[xe]=oe[xe]||[];var ne=Oe,le=Be.filter(Boolean).map(function(he){var ye={key:he.key,className:he.className||"",children:he.title,column:he,colStart:ne},Ce=1,Ye=he.children;return Ye&&Ye.length>0&&(Ce=te(Ye,ne,xe+1).reduce(function(pt,it){return pt+it},0),ye.hasSubColumns=!0),"colSpan"in he&&(Ce=he.colSpan),"rowSpan"in he&&(ye.rowSpan=he.rowSpan),ye.colSpan=Ce,ye.colEnd=ye.colStart+Ce-1,oe[xe].push(ye),ne+=Ce,Ce});return le}te(A,0);for(var se=oe.length,_e=function(Oe){oe[Oe].forEach(function(xe){!("rowSpan"in xe)&&!xe.hasSubColumns&&(xe.rowSpan=se-Oe)})},be=0;be<se;be+=1)_e(be);return oe}var Ln=function(oe){var te=oe.stickyOffsets,se=oe.columns,_e=oe.flattenColumns,be=oe.onHeaderRow,Be=e(u,["prefixCls","getComponent"]),Oe=Be.prefixCls,xe=Be.getComponent,ne=p.useMemo(function(){return mn(se)},[se]),le=xe(["header","wrapper"],"thead"),he=xe(["header","row"],"tr"),ye=xe(["header","cell"],"th");return p.createElement(le,{className:"".concat(Oe,"-thead")},ne.map(function(Ce,Ye){var pt=p.createElement(Zn,{key:Ye,flattenColumns:_e,cells:Ce,stickyOffsets:te,rowComponent:he,cellComponent:ye,onHeaderRow:be,index:Ye});return pt}))},jn=_(Ln),bn=l(97347);function Cn(A,oe,te){var se=(0,ot.g)(A),_e=se.expandIcon,be=se.expandedRowKeys,Be=se.defaultExpandedRowKeys,Oe=se.defaultExpandAllRows,xe=se.expandedRowRender,ne=se.onExpand,le=se.onExpandedRowsChange,he=se.childrenColumnName,ye=_e||ke,Ce=he||"children",Ye=p.useMemo(function(){return xe?"row":A.expandable&&A.internalHooks===P.R&&A.expandable.__PARENT_RENDER_ICON__||oe.some(function(bt){return bt&&(0,I.Z)(bt)==="object"&&bt[Ce]})?"nest":!1},[!!xe,oe]),pt=p.useState(function(){return Be||(Oe?ue(oe,te,Ce):[])}),it=(0,D.Z)(pt,2),kt=it[0],Ut=it[1],Tt=p.useMemo(function(){return new Set(be||kt||[])},[be,kt]),Jt=p.useCallback(function(bt){var pn=te(bt,oe.indexOf(bt)),on,_n=Tt.has(pn);_n?(Tt.delete(pn),on=(0,gt.Z)(Tt)):on=[].concat((0,gt.Z)(Tt),[pn]),Ut(on),ne&&ne(!_n,bt),le&&le(on)},[te,Tt,oe,ne,le]);return[se,Ye,Tt,ye,Ce,Jt]}function Kn(A,oe,te){var se=A.map(function(_e,be){return Qe(be,be,A,oe,te)});return(0,v.Z)(function(){return se},[se],function(_e,be){return!(0,j.Z)(_e,be)})}function Rn(A){var oe=(0,p.useRef)(A),te=(0,p.useState)({}),se=(0,D.Z)(te,2),_e=se[1],be=(0,p.useRef)(null),Be=(0,p.useRef)([]);function Oe(xe){Be.current.push(xe);var ne=Promise.resolve();be.current=ne,ne.then(function(){if(be.current===ne){var le=Be.current,he=oe.current;Be.current=[],le.forEach(function(ye){oe.current=ye(oe.current)}),be.current=null,he!==oe.current&&_e({})}})}return(0,p.useEffect)(function(){return function(){be.current=null}},[]),[oe.current,Oe]}function On(A){var oe=(0,p.useRef)(A||null),te=(0,p.useRef)();function se(){window.clearTimeout(te.current)}function _e(Be){oe.current=Be,se(),te.current=window.setTimeout(function(){oe.current=null,te.current=void 0},100)}function be(){return oe.current}return(0,p.useEffect)(function(){return se},[]),[_e,be]}function gn(){var A=p.useState(-1),oe=(0,D.Z)(A,2),te=oe[0],se=oe[1],_e=p.useState(-1),be=(0,D.Z)(_e,2),Be=be[0],Oe=be[1],xe=p.useCallback(function(ne,le){se(ne),Oe(le)},[]);return[te,Be,xe]}var Dn=l(47273),st=(0,Dn.Z)()?window:null;function et(A,oe){var te=(0,I.Z)(A)==="object"?A:{},se=te.offsetHeader,_e=se===void 0?0:se,be=te.offsetSummary,Be=be===void 0?0:be,Oe=te.offsetScroll,xe=Oe===void 0?0:Oe,ne=te.getContainer,le=ne===void 0?function(){return st}:ne,he=le()||st,ye=!!A;return p.useMemo(function(){return{isSticky:ye,stickyClassName:ye?"".concat(oe,"-sticky-holder"):"",offsetHeader:_e,offsetSummary:Be,offsetScroll:xe,container:he}},[ye,xe,_e,Be,oe,he])}function _t(A,oe,te){var se=(0,p.useMemo)(function(){var _e=oe.length,be=function(ne,le,he){for(var ye=[],Ce=0,Ye=ne;Ye!==le;Ye+=he)ye.push(Ce),oe[Ye].fixed&&(Ce+=A[Ye]||0);return ye},Be=be(0,_e,1),Oe=be(_e-1,-1,-1).reverse();return te==="rtl"?{left:Oe,right:Be}:{left:Be,right:Oe}},[A,oe,te]);return se}var an=_t;function Sn(A){var oe=A.className,te=A.children;return p.createElement("div",{className:oe},te)}var ee=Sn,Q=l(8224),We=l(16089),Se=l(76846);function He(A){var oe=(0,Se.bn)(A),te=oe.getBoundingClientRect(),se=document.documentElement;return{left:te.left+(window.pageXOffset||se.scrollLeft)-(se.clientLeft||document.body.clientLeft||0),top:te.top+(window.pageYOffset||se.scrollTop)-(se.clientTop||document.body.clientTop||0)}}var qe=function(oe,te){var se,_e,be=oe.scrollBodyRef,Be=oe.onScroll,Oe=oe.offsetScroll,xe=oe.container,ne=oe.direction,le=e(u,"prefixCls"),he=((se=be.current)===null||se===void 0?void 0:se.scrollWidth)||0,ye=((_e=be.current)===null||_e===void 0?void 0:_e.clientWidth)||0,Ce=he&&ye*(ye/he),Ye=p.useRef(),pt=Rn({scrollLeft:0,isHiddenScrollBar:!0}),it=(0,D.Z)(pt,2),kt=it[0],Ut=it[1],Tt=p.useRef({delta:0,x:0}),Jt=p.useState(!1),bt=(0,D.Z)(Jt,2),pn=bt[0],on=bt[1],_n=p.useRef(null);p.useEffect(function(){return function(){We.Z.cancel(_n.current)}},[]);var Xt=function(){on(!1)},rn=function(wt){wt.persist(),Tt.current.delta=wt.pageX-kt.scrollLeft,Tt.current.x=0,on(!0),wt.preventDefault()},yn=function(wt){var Zt,Qt=wt||((Zt=window)===null||Zt===void 0?void 0:Zt.event),hn=Qt.buttons;if(!pn||hn===0){pn&&on(!1);return}var un=Tt.current.x+wt.pageX-Tt.current.x-Tt.current.delta,fn=ne==="rtl";un=Math.max(fn?Ce-ye:0,Math.min(fn?0:ye-Ce,un));var Un=!fn||Math.abs(un)+Math.abs(Ce)<ye;Un&&(Be({scrollLeft:un/ye*(he+2)}),Tt.current.x=wt.pageX)},ln=function(){We.Z.cancel(_n.current),_n.current=(0,We.Z)(function(){if(be.current){var wt=He(be.current).top,Zt=wt+be.current.offsetHeight,Qt=xe===window?document.documentElement.scrollTop+window.innerHeight:He(xe).top+xe.clientHeight;Zt-(0,z.Z)()<=Qt||wt>=Qt-Oe?Ut(function(hn){return(0,$.Z)((0,$.Z)({},hn),{},{isHiddenScrollBar:!0})}):Ut(function(hn){return(0,$.Z)((0,$.Z)({},hn),{},{isHiddenScrollBar:!1})})}})},dn=function(wt){Ut(function(Zt){return(0,$.Z)((0,$.Z)({},Zt),{},{scrollLeft:wt/he*ye||0})})};return p.useImperativeHandle(te,function(){return{setScrollLeft:dn,checkScrollBarVisible:ln}}),p.useEffect(function(){var jt=(0,Q.Z)(document.body,"mouseup",Xt,!1),wt=(0,Q.Z)(document.body,"mousemove",yn,!1);return ln(),function(){jt.remove(),wt.remove()}},[Ce,pn]),p.useEffect(function(){if(be.current){for(var jt=[],wt=(0,Se.bn)(be.current);wt;)jt.push(wt),wt=wt.parentElement;return jt.forEach(function(Zt){return Zt.addEventListener("scroll",ln,!1)}),window.addEventListener("resize",ln,!1),window.addEventListener("scroll",ln,!1),xe.addEventListener("scroll",ln,!1),function(){jt.forEach(function(Zt){return Zt.removeEventListener("scroll",ln)}),window.removeEventListener("resize",ln),window.removeEventListener("scroll",ln),xe.removeEventListener("scroll",ln)}}},[xe]),p.useEffect(function(){kt.isHiddenScrollBar||Ut(function(jt){var wt=be.current;return wt?(0,$.Z)((0,$.Z)({},jt),{},{scrollLeft:wt.scrollLeft/wt.scrollWidth*wt.clientWidth}):jt})},[kt.isHiddenScrollBar]),he<=ye||!Ce||kt.isHiddenScrollBar?null:p.createElement("div",{style:{height:(0,z.Z)(),width:ye,bottom:Oe},className:"".concat(le,"-sticky-scroll")},p.createElement("div",{onMouseDown:rn,ref:Ye,className:C()("".concat(le,"-sticky-scroll-bar"),(0,B.Z)({},"".concat(le,"-sticky-scroll-bar-active"),pn)),style:{width:"".concat(Ce,"px"),transform:"translate3d(".concat(kt.scrollLeft,"px, 0, 0)")}}))},Ve=p.forwardRef(qe);function Ue(A){return null}var at=Ue;function $e(A){return null}var nt=$e,ct="rc-table",tt=[],ze={};function Y(){return"No Data"}function fe(A,oe){var te=(0,$.Z)({rowKey:"key",prefixCls:ct,emptyText:Y},A),se=te.prefixCls,_e=te.className,be=te.rowClassName,Be=te.style,Oe=te.data,xe=te.rowKey,ne=te.scroll,le=te.tableLayout,he=te.direction,ye=te.title,Ce=te.footer,Ye=te.summary,pt=te.caption,it=te.id,kt=te.showHeader,Ut=te.components,Tt=te.emptyText,Jt=te.onRow,bt=te.onHeaderRow,pn=te.onScroll,on=te.internalHooks,_n=te.transformColumns,Xt=te.internalRefs,rn=te.tailor,yn=te.getContainerWidth,ln=te.sticky,dn=te.rowHoverable,jt=dn===void 0?!0:dn,wt=Oe||tt,Zt=!!wt.length,Qt=on===P.R,hn=p.useCallback(function(Bn,Wn){return(0,E.Z)(Ut,Bn)||Wn},[Ut]),un=p.useMemo(function(){return typeof xe=="function"?xe:function(Bn){var Wn=Bn&&Bn[xe];return Wn}},[xe]),fn=hn(["body"]),Un=gn(),Xn=(0,D.Z)(Un,3),$n=Xn[0],or=Xn[1],ar=Xn[2],qn=Cn(te,wt,un),wn=(0,D.Z)(qn,6),An=wn[0],Gn=wn[1],En=wn[2],xn=wn[3],Nn=wn[4],Ot=wn[5],qt=ne==null?void 0:ne.x,tn=p.useState(0),sn=(0,D.Z)(tn,2),kn=sn[0],Fn=sn[1],ir=(0,bn.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},te),An),{},{expandable:!!An.expandedRowRender,columnTitle:An.columnTitle,expandedKeys:En,getRowKey:un,onTriggerExpand:Ot,expandIcon:xn,expandIconColumnIndex:An.expandIconColumnIndex,direction:he,scrollWidth:Qt&&rn&&typeof qt=="number"?qt:null,clientWidth:kn}),Qt?_n:null),Ct=(0,D.Z)(ir,4),$t=Ct[0],Wt=Ct[1],In=Ct[2],zn=Ct[3],Hn=In!=null?In:qt,cr=p.useMemo(function(){return{columns:$t,flattenColumns:Wt}},[$t,Wt]),dr=p.useRef(),lr=p.useRef(),Jn=p.useRef(),Fr=p.useRef();p.useImperativeHandle(oe,function(){return{nativeElement:dr.current,scrollTo:function(Wn){var pr;if(Jn.current instanceof HTMLElement){var wr=Wn.index,_r=Wn.top,Hr=Wn.key;if(re(_r)){var Lr;(Lr=Jn.current)===null||Lr===void 0||Lr.scrollTo({top:_r})}else{var Kr,Qr=Hr!=null?Hr:un(wt[wr]);(Kr=Jn.current.querySelector('[data-row-key="'.concat(Qr,'"]')))===null||Kr===void 0||Kr.scrollIntoView()}}else(pr=Jn.current)!==null&&pr!==void 0&&pr.scrollTo&&Jn.current.scrollTo(Wn)}}});var Br=p.useRef(),Sr=p.useState(!1),Tr=(0,D.Z)(Sr,2),Pr=Tr[0],Or=Tr[1],Ar=p.useState(!1),br=(0,D.Z)(Ar,2),Mr=br[0],Nr=br[1],zr=p.useState(new Map),Dr=(0,D.Z)(zr,2),$r=Dr[0],Ir=Dr[1],Gr=h(Wt),jr=Gr.map(function(Bn){return $r.get(Bn)}),Wr=p.useMemo(function(){return jr},[jr.join("_")]),kr=an(Wr,Wt,he),hr=ne&&T(ne.y),ur=ne&&T(Hn)||!!An.fixed,Mn=ur&&Wt.some(function(Bn){var Wn=Bn.fixed;return Wn}),Pn=p.useRef(),nr=et(ln,se),Qn=nr.isSticky,er=nr.offsetHeader,rr=nr.offsetSummary,yr=nr.offsetScroll,gr=nr.stickyClassName,xr=nr.container,sr=p.useMemo(function(){return Ye==null?void 0:Ye(wt)},[Ye,wt]),mr=(hr||Qn)&&p.isValidElement(sr)&&sr.type===x&&sr.props.fixed,Rr,Er,Yr;hr&&(Er={overflowY:Zt?"scroll":"auto",maxHeight:ne.y}),ur&&(Rr={overflowX:"auto"},hr||(Er={overflowY:"hidden"}),Yr={width:Hn===!0?"auto":Hn,minWidth:"100%"});var qr=p.useCallback(function(Bn,Wn){Ir(function(pr){if(pr.get(Bn)!==Wn){var wr=new Map(pr);return wr.set(Bn,Wn),wr}return pr})},[]),tr=On(null),Vn=(0,D.Z)(tr,2),Yn=Vn[0],vr=Vn[1];function fr(Bn,Wn){Wn&&(typeof Wn=="function"?Wn(Bn):Wn.scrollLeft!==Bn&&(Wn.scrollLeft=Bn,Wn.scrollLeft!==Bn&&setTimeout(function(){Wn.scrollLeft=Bn},0)))}var Cr=(0,K.Z)(function(Bn){var Wn=Bn.currentTarget,pr=Bn.scrollLeft,wr=he==="rtl",_r=typeof pr=="number"?pr:Wn.scrollLeft,Hr=Wn||ze;if(!vr()||vr()===Hr){var Lr;Yn(Hr),fr(_r,lr.current),fr(_r,Jn.current),fr(_r,Br.current),fr(_r,(Lr=Pn.current)===null||Lr===void 0?void 0:Lr.setScrollLeft)}var Kr=Wn||lr.current;if(Kr){var Qr=Qt&&rn&&typeof Hn=="number"?Hn:Kr.scrollWidth,oa=Kr.clientWidth;if(Qr===oa){Or(!1),Nr(!1);return}wr?(Or(-_r<Qr-oa),Nr(-_r>0)):(Or(_r>0),Nr(_r<Qr-oa))}}),Xr=(0,K.Z)(function(Bn){Cr(Bn),pn==null||pn(Bn)}),ea=function(){if(ur&&Jn.current){var Wn;Cr({currentTarget:(0,Se.bn)(Jn.current),scrollLeft:(Wn=Jn.current)===null||Wn===void 0?void 0:Wn.scrollLeft})}else Or(!1),Nr(!1)},ta=function(Wn){var pr,wr=Wn.width;(pr=Pn.current)===null||pr===void 0||pr.checkScrollBarVisible();var _r=dr.current?dr.current.offsetWidth:wr;Qt&&yn&&dr.current&&(_r=yn(dr.current,_r)||_r),_r!==kn&&(ea(),Fn(_r))},Jr=p.useRef(!1);p.useEffect(function(){Jr.current&&ea()},[ur,Oe,$t.length]),p.useEffect(function(){Jr.current=!0},[]);var Zr=p.useState(0),Ur=(0,D.Z)(Zr,2),Vr=Ur[0],la=Ur[1],wa=p.useState(!0),ua=(0,D.Z)(wa,2),ca=ua[0],xa=ua[1];(0,G.Z)(function(){(!rn||!Qt)&&(Jn.current instanceof Element?la((0,z.o)(Jn.current).width):la((0,z.o)(Fr.current).width)),xa((0,U.G)("position","sticky"))},[]),p.useEffect(function(){Qt&&Xt&&(Xt.body.current=Jn.current)});var Ea=p.useCallback(function(Bn){return p.createElement(p.Fragment,null,p.createElement(jn,Bn),mr==="top"&&p.createElement(F,Bn,sr))},[mr,sr]),Ca=p.useCallback(function(Bn){return p.createElement(F,Bn,sr)},[sr]),fa=hn(["table"],"table"),na=p.useMemo(function(){return le||(Mn?Hn==="max-content"?"auto":"fixed":hr||Qn||Wt.some(function(Bn){var Wn=Bn.ellipsis;return Wn})?"fixed":"auto")},[hr,Mn,Wt,le,Qn]),ra,aa={colWidths:Wr,columCount:Wt.length,stickyOffsets:kr,onHeaderRow:bt,fixHeader:hr,scroll:ne},da=p.useMemo(function(){return Zt?null:typeof Tt=="function"?Tt():Tt},[Zt,Tt]),ha=p.createElement(ht,{data:wt,measureColumnWidth:hr||ur||Qn}),pa=p.createElement(At,{colWidths:Wt.map(function(Bn){var Wn=Bn.width;return Wn}),columns:Wt}),_a=pt!=null?p.createElement("caption",{className:"".concat(se,"-caption")},pt):void 0,Sa=(0,ce.Z)(te,{data:!0}),va=(0,ce.Z)(te,{aria:!0});if(hr||Qn){var ia;typeof fn=="function"?(ia=fn(wt,{scrollbarSize:Vr,ref:Jn,onScroll:Cr}),aa.colWidths=Wt.map(function(Bn,Wn){var pr=Bn.width,wr=Wn===Wt.length-1?pr-Vr:pr;return typeof wr=="number"&&!Number.isNaN(wr)?wr:0})):ia=p.createElement("div",{style:(0,$.Z)((0,$.Z)({},Rr),Er),onScroll:Xr,ref:Jn,className:C()("".concat(se,"-body"))},p.createElement(fa,(0,s.Z)({style:(0,$.Z)((0,$.Z)({},Yr),{},{tableLayout:na})},va),_a,pa,ha,!mr&&sr&&p.createElement(F,{stickyOffsets:kr,flattenColumns:Wt},sr)));var ma=(0,$.Z)((0,$.Z)((0,$.Z)({noData:!wt.length,maxContentScroll:ur&&Hn==="max-content"},aa),cr),{},{direction:he,stickyClassName:gr,onScroll:Cr});ra=p.createElement(p.Fragment,null,kt!==!1&&p.createElement(ut,(0,s.Z)({},ma,{stickyTopOffset:er,className:"".concat(se,"-header"),ref:lr}),Ea),ia,mr&&mr!=="top"&&p.createElement(ut,(0,s.Z)({},ma,{stickyBottomOffset:rr,className:"".concat(se,"-summary"),ref:Br}),Ca),Qn&&Jn.current&&Jn.current instanceof Element&&p.createElement(Ve,{ref:Pn,offsetScroll:yr,scrollBodyRef:Jn,onScroll:Cr,container:xr,direction:he}))}else ra=p.createElement("div",{style:(0,$.Z)((0,$.Z)({},Rr),Er),className:C()("".concat(se,"-content")),onScroll:Cr,ref:Jn},p.createElement(fa,(0,s.Z)({style:(0,$.Z)((0,$.Z)({},Yr),{},{tableLayout:na})},va),_a,pa,kt!==!1&&p.createElement(jn,(0,s.Z)({},aa,cr)),ha,sr&&p.createElement(F,{stickyOffsets:kr,flattenColumns:Wt},sr)));var sa=p.createElement("div",(0,s.Z)({className:C()(se,_e,(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(se,"-rtl"),he==="rtl"),"".concat(se,"-ping-left"),Pr),"".concat(se,"-ping-right"),Mr),"".concat(se,"-layout-fixed"),le==="fixed"),"".concat(se,"-fixed-header"),hr),"".concat(se,"-fixed-column"),Mn),"".concat(se,"-fixed-column-gapped"),Mn&&zn),"".concat(se,"-scroll-horizontal"),ur),"".concat(se,"-has-fix-left"),Wt[0]&&Wt[0].fixed),"".concat(se,"-has-fix-right"),Wt[Wt.length-1]&&Wt[Wt.length-1].fixed==="right")),style:Be,id:it,ref:dr},Sa),ye&&p.createElement(ee,{className:"".concat(se,"-title")},ye(wt)),p.createElement("div",{ref:Fr,className:"".concat(se,"-container")},ra),Ce&&p.createElement(ee,{className:"".concat(se,"-footer")},Ce(wt)));ur&&(sa=p.createElement(M.Z,{onResize:ta},sa));var ga=Kn(Wt,kr,he),Ra=p.useMemo(function(){return{scrollX:Hn,prefixCls:se,getComponent:hn,scrollbarSize:Vr,direction:he,fixedInfoList:ga,isSticky:Qn,supportSticky:ca,componentWidth:kn,fixHeader:hr,fixColumn:Mn,horizonScroll:ur,tableLayout:na,rowClassName:be,expandedRowClassName:An.expandedRowClassName,expandIcon:xn,expandableType:Gn,expandRowByClick:An.expandRowByClick,expandedRowRender:An.expandedRowRender,onTriggerExpand:Ot,expandIconColumnIndex:An.expandIconColumnIndex,indentSize:An.indentSize,allColumnsFixedLeft:Wt.every(function(Bn){return Bn.fixed==="left"}),emptyNode:da,columns:$t,flattenColumns:Wt,onColumnResize:qr,hoverStartRow:$n,hoverEndRow:or,onHover:ar,rowExpandable:An.rowExpandable,onRow:Jt,getRowKey:un,expandedKeys:En,childrenColumnName:Nn,rowHoverable:jt}},[Hn,se,hn,Vr,he,ga,Qn,ca,kn,hr,Mn,ur,na,be,An.expandedRowClassName,xn,Gn,An.expandRowByClick,An.expandedRowRender,Ot,An.expandIconColumnIndex,An.indentSize,da,$t,Wt,qr,$n,or,ar,An.rowExpandable,Jt,un,En,Nn,jt]);return p.createElement(u.Provider,{value:Ra},sa)}var pe=p.forwardRef(fe);function ge(A){return R(pe,A)}var Fe=ge();Fe.EXPAND_COLUMN=P.w,Fe.INTERNAL_HOOKS=P.R,Fe.Column=at,Fe.ColumnGroup=nt,Fe.Summary=q;var Ge=Fe,Je=l(48911),lt=H(null),yt=H(null);function St(A,oe,te){var se=oe||1;return te[A+se]-(te[A]||0)}function cn(A){var oe=A.rowInfo,te=A.column,se=A.colIndex,_e=A.indent,be=A.index,Be=A.component,Oe=A.renderIndex,xe=A.record,ne=A.style,le=A.className,he=A.inverse,ye=A.getHeight,Ce=te.render,Ye=te.dataIndex,pt=te.className,it=te.width,kt=e(yt,["columnsOffset"]),Ut=kt.columnsOffset,Tt=Pe(oe,te,se,_e,be),Jt=Tt.key,bt=Tt.fixedInfo,pn=Tt.appendCellNode,on=Tt.additionalCellProps,_n=on.style,Xt=on.colSpan,rn=Xt===void 0?1:Xt,yn=on.rowSpan,ln=yn===void 0?1:yn,dn=se-1,jt=St(dn,rn,Ut),wt=rn>1?it-jt:0,Zt=(0,$.Z)((0,$.Z)((0,$.Z)({},_n),ne),{},{flex:"0 0 ".concat(jt,"px"),width:"".concat(jt,"px"),marginRight:wt,pointerEvents:"auto"}),Qt=p.useMemo(function(){return he?ln<=1:rn===0||ln===0||ln>1},[ln,rn,he]);Qt?Zt.visibility="hidden":he&&(Zt.height=ye==null?void 0:ye(ln));var hn=Qt?function(){return null}:Ce,un={};return(ln===0||rn===0)&&(un.rowSpan=1,un.colSpan=1),p.createElement(Ne,(0,s.Z)({className:C()(pt,le),ellipsis:te.ellipsis,align:te.align,scope:te.rowScope,component:Be,prefixCls:oe.prefixCls,key:Jt,record:xe,index:be,renderIndex:Oe,dataIndex:Ye,render:hn,shouldCellUpdate:te.shouldCellUpdate},bt,{appendNode:pn,additionalProps:(0,$.Z)((0,$.Z)({},on),{},{style:Zt},un)}))}var Rt=cn,Pt=["data","index","className","rowKey","style","extra","getHeight"],zt=p.forwardRef(function(A,oe){var te=A.data,se=A.index,_e=A.className,be=A.rowKey,Be=A.style,Oe=A.extra,xe=A.getHeight,ne=(0,X.Z)(A,Pt),le=te.record,he=te.indent,ye=te.index,Ce=e(u,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ye=Ce.scrollX,pt=Ce.flattenColumns,it=Ce.prefixCls,kt=Ce.fixColumn,Ut=Ce.componentWidth,Tt=e(lt,["getComponent"]),Jt=Tt.getComponent,bt=Me(le,be,se,he),pn=Jt(["body","row"],"div"),on=Jt(["body","cell"],"div"),_n=bt.rowSupportExpand,Xt=bt.expanded,rn=bt.rowProps,yn=bt.expandedRowRender,ln=bt.expandedRowClassName,dn;if(_n&&Xt){var jt=yn(le,se,he+1,Xt),wt=Le(ln,le,se,he),Zt={};kt&&(Zt={style:(0,B.Z)({},"--virtual-width","".concat(Ut,"px"))});var Qt="".concat(it,"-expanded-row-cell");dn=p.createElement(pn,{className:C()("".concat(it,"-expanded-row"),"".concat(it,"-expanded-row-level-").concat(he+1),wt)},p.createElement(Ne,{component:on,prefixCls:it,className:C()(Qt,(0,B.Z)({},"".concat(Qt,"-fixed"),kt)),additionalProps:Zt},jt))}var hn=(0,$.Z)((0,$.Z)({},Be),{},{width:Ye});Oe&&(hn.position="absolute",hn.pointerEvents="none");var un=p.createElement(pn,(0,s.Z)({},rn,ne,{"data-row-key":be,ref:_n?null:oe,className:C()(_e,"".concat(it,"-row"),rn==null?void 0:rn.className,(0,B.Z)({},"".concat(it,"-row-extra"),Oe)),style:(0,$.Z)((0,$.Z)({},hn),rn==null?void 0:rn.style)}),pt.map(function(fn,Un){return p.createElement(Rt,{key:Un,component:on,rowInfo:bt,column:fn,colIndex:Un,indent:he,index:se,renderIndex:ye,record:le,inverse:Oe,getHeight:xe})}));return _n?p.createElement("div",{ref:oe},un,dn):un}),Gt=_(zt),Vt=Gt,Nt=p.forwardRef(function(A,oe){var te=A.data,se=A.onScroll,_e=e(u,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),be=_e.flattenColumns,Be=_e.onColumnResize,Oe=_e.getRowKey,xe=_e.expandedKeys,ne=_e.prefixCls,le=_e.childrenColumnName,he=_e.scrollX,ye=_e.direction,Ce=e(lt),Ye=Ce.sticky,pt=Ce.scrollY,it=Ce.listItemHeight,kt=Ce.getComponent,Ut=Ce.onScroll,Tt=p.useRef(),Jt=we(te,le,xe,Oe),bt=p.useMemo(function(){var dn=0;return be.map(function(jt){var wt=jt.width,Zt=jt.key;return dn+=wt,[Zt,wt,dn]})},[be]),pn=p.useMemo(function(){return bt.map(function(dn){return dn[2]})},[bt]);p.useEffect(function(){bt.forEach(function(dn){var jt=(0,D.Z)(dn,2),wt=jt[0],Zt=jt[1];Be(wt,Zt)})},[bt]),p.useImperativeHandle(oe,function(){var dn,jt={scrollTo:function(Zt){var Qt;(Qt=Tt.current)===null||Qt===void 0||Qt.scrollTo(Zt)},nativeElement:(dn=Tt.current)===null||dn===void 0?void 0:dn.nativeElement};return Object.defineProperty(jt,"scrollLeft",{get:function(){var Zt;return((Zt=Tt.current)===null||Zt===void 0?void 0:Zt.getScrollInfo().x)||0},set:function(Zt){var Qt;(Qt=Tt.current)===null||Qt===void 0||Qt.scrollTo({left:Zt})}}),jt});var on=function(jt,wt){var Zt,Qt=(Zt=Jt[wt])===null||Zt===void 0?void 0:Zt.record,hn=jt.onCell;if(hn){var un,fn=hn(Qt,wt);return(un=fn==null?void 0:fn.rowSpan)!==null&&un!==void 0?un:1}return 1},_n=function(jt){var wt=jt.start,Zt=jt.end,Qt=jt.getSize,hn=jt.offsetY;if(Zt<0)return null;for(var un=be.filter(function(xn){return on(xn,wt)===0}),fn=wt,Un=function(Nn){if(un=un.filter(function(Ot){return on(Ot,Nn)===0}),!un.length)return fn=Nn,1},Xn=wt;Xn>=0&&!Un(Xn);Xn-=1);for(var $n=be.filter(function(xn){return on(xn,Zt)!==1}),or=Zt,ar=function(Nn){if($n=$n.filter(function(Ot){return on(Ot,Nn)!==1}),!$n.length)return or=Math.max(Nn-1,Zt),1},qn=Zt;qn<Jt.length&&!ar(qn);qn+=1);for(var wn=[],An=function(Nn){var Ot=Jt[Nn];if(!Ot)return 1;be.some(function(qt){return on(qt,Nn)>1})&&wn.push(Nn)},Gn=fn;Gn<=or;Gn+=1)An(Gn);var En=wn.map(function(xn){var Nn=Jt[xn],Ot=Oe(Nn.record,xn),qt=function(kn){var Fn=xn+kn-1,ir=Oe(Jt[Fn].record,Fn),Ct=Qt(Ot,ir);return Ct.bottom-Ct.top},tn=Qt(Ot);return p.createElement(Vt,{key:xn,data:Nn,rowKey:Ot,index:xn,style:{top:-hn+tn.top},extra:!0,getHeight:qt})});return En},Xt=p.useMemo(function(){return{columnsOffset:pn}},[pn]),rn="".concat(ne,"-tbody"),yn=kt(["body","wrapper"]),ln={};return Ye&&(ln.position="sticky",ln.bottom=0,(0,I.Z)(Ye)==="object"&&Ye.offsetScroll&&(ln.bottom=Ye.offsetScroll)),p.createElement(yt.Provider,{value:Xt},p.createElement(Je.Z,{fullHeight:!1,ref:Tt,prefixCls:"".concat(rn,"-virtual"),styles:{horizontalScrollBar:ln},className:rn,height:pt,itemHeight:it||24,data:Jt,itemKey:function(jt){return Oe(jt.record)},component:yn,scrollWidth:he,direction:ye,onVirtualScroll:function(jt){var wt,Zt=jt.x;se({currentTarget:(wt=Tt.current)===null||wt===void 0?void 0:wt.nativeElement,scrollLeft:Zt})},onScroll:Ut,extraRender:_n},function(dn,jt,wt){var Zt=Oe(dn.record,jt);return p.createElement(Vt,{data:dn,rowKey:Zt,index:jt,style:wt.style})}))}),Dt=_(Nt),rt=Dt,ft=function(oe,te){var se=te.ref,_e=te.onScroll;return p.createElement(rt,{ref:se,data:oe,onScroll:_e})};function mt(A,oe){var te=A.data,se=A.columns,_e=A.scroll,be=A.sticky,Be=A.prefixCls,Oe=Be===void 0?ct:Be,xe=A.className,ne=A.listItemHeight,le=A.components,he=A.onScroll,ye=_e||{},Ce=ye.x,Ye=ye.y;typeof Ce!="number"&&(Ce=1),typeof Ye!="number"&&(Ye=500);var pt=(0,vt.zX)(function(Ut,Tt){return(0,E.Z)(le,Ut)||Tt}),it=(0,vt.zX)(he),kt=p.useMemo(function(){return{sticky:be,scrollY:Ye,listItemHeight:ne,getComponent:pt,onScroll:it}},[be,Ye,ne,pt,it]);return p.createElement(lt.Provider,{value:kt},p.createElement(Ge,(0,s.Z)({},A,{className:C()(xe,"".concat(Oe,"-virtual")),scroll:(0,$.Z)((0,$.Z)({},_e),{},{x:Ce}),components:(0,$.Z)((0,$.Z)({},le),{},{body:te!=null&&te.length?ft:void 0}),columns:se,internalHooks:P.R,tailor:!0,ref:oe})))}var Yt=p.forwardRef(mt);function It(A){return R(Yt,A)}var Ht=It(),Tn=null},54451:function(Bt,Ze,l){"use strict";l.d(Ze,{g:function(){return p},v:function(){return j}});var P=l(33885),D=l(75931),K=l(48736),G=["expandable"],j="RC_TABLE_INTERNAL_COL_DEFINE";function p(V){var H=V.expandable,e=(0,D.Z)(V,G),s;return"expandable"in V?s=(0,P.Z)((0,P.Z)({},e),H):s=e,s.showExpandColumn===!1&&(s.expandIconColumnIndex=-1),s}},22711:function(Bt,Ze,l){"use strict";l.r(Ze),l.d(Ze,{ResizableTextArea:function(){return Ee},default:function(){return N}});var P=l(54476),D=l(20068),K=l(33885),G=l(94480),j=l(42978),p=l(75931),V=l(92310),H=l.n(V),e=l(36901),s=l(66003),f=l(30292),t=l(18929),r=l(59301),i=l(76190),o=l(29301),g=l(34280),w=l(16089),R=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,_=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],y={},d;function u(S){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=S.getAttribute("id")||S.getAttribute("data-reactid")||S.getAttribute("name");if(b&&y[n])return y[n];var a=window.getComputedStyle(S),h=a.getPropertyValue("box-sizing")||a.getPropertyValue("-moz-box-sizing")||a.getPropertyValue("-webkit-box-sizing"),T=parseFloat(a.getPropertyValue("padding-bottom"))+parseFloat(a.getPropertyValue("padding-top")),re=parseFloat(a.getPropertyValue("border-bottom-width"))+parseFloat(a.getPropertyValue("border-top-width")),de=_.map(function(De){return"".concat(De,":").concat(a.getPropertyValue(De))}).join(";"),ve={sizingStyle:de,paddingSize:T,borderSize:re,boxSizing:h};return b&&n&&(y[n]=ve),ve}function O(S){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;d||(d=document.createElement("textarea"),d.setAttribute("tab-index","-1"),d.setAttribute("aria-hidden","true"),d.setAttribute("name","hiddenTextarea"),document.body.appendChild(d)),S.getAttribute("wrap")?d.setAttribute("wrap",S.getAttribute("wrap")):d.removeAttribute("wrap");var h=u(S,b),T=h.paddingSize,re=h.borderSize,de=h.boxSizing,ve=h.sizingStyle;d.setAttribute("style","".concat(ve,";").concat(R)),d.value=S.value||S.placeholder||"";var De=void 0,Ae=void 0,vt,me=d.scrollHeight;if(de==="border-box"?me+=re:de==="content-box"&&(me-=T),n!==null||a!==null){d.value=" ";var Xe=d.scrollHeight-T;n!==null&&(De=Xe*n,de==="border-box"&&(De=De+T+re),me=Math.max(De,me)),a!==null&&(Ae=Xe*a,de==="border-box"&&(Ae=Ae+T+re),vt=me>Ae?"":"hidden",me=Math.min(Ae,me))}var Ne={height:me,overflowY:vt,resize:"none"};return De&&(Ne.minHeight=De),Ae&&(Ne.maxHeight=Ae),Ne}var k=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Z=0,I=1,$=2,B=r.forwardRef(function(S,b){var n=S,a=n.prefixCls,h=n.defaultValue,T=n.value,re=n.autoSize,de=n.onResize,ve=n.className,De=n.style,Ae=n.disabled,vt=n.onChange,me=n.onInternalAutoSize,Xe=(0,p.Z)(n,k),Ne=(0,t.Z)(h,{value:T,postState:function(dt){return dt!=null?dt:""}}),Qe=(0,j.Z)(Ne,2),Te=Qe[0],ae=Qe[1],W=function(dt){ae(dt.target.value),vt==null||vt(dt)},X=r.useRef();r.useImperativeHandle(b,function(){return{textArea:X.current}});var c=r.useMemo(function(){return re&&(0,i.Z)(re)==="object"?[re.minRows,re.maxRows]:[]},[re]),L=(0,j.Z)(c,2),J=L[0],x=L[1],m=!!re,F=function(){try{if(document.activeElement===X.current){var dt=X.current,xt=dt.selectionStart,Ie=dt.selectionEnd,Lt=dt.scrollTop;X.current.setSelectionRange(xt,Ie),X.current.scrollTop=Lt}}catch(en){}},q=r.useState($),M=(0,j.Z)(q,2),U=M[0],z=M[1],ce=r.useState(),ie=(0,j.Z)(ce,2),we=ie[0],Me=ie[1],je=function(){z(Z)};(0,g.Z)(function(){m&&je()},[T,J,x,m]),(0,g.Z)(function(){if(U===Z)z(I);else if(U===I){var Re=O(X.current,!1,J,x);z($),Me(Re)}else F()},[U]);var Ke=r.useRef(),ke=function(){w.Z.cancel(Ke.current)},ue=function(dt){U===$&&(de==null||de(dt),re&&(ke(),Ke.current=(0,w.Z)(function(){je()})))};r.useEffect(function(){return ke},[]);var Le=m?we:null,Pe=(0,K.Z)((0,K.Z)({},De),Le);return(U===Z||U===I)&&(Pe.overflowY="hidden",Pe.overflowX="hidden"),r.createElement(o.Z,{onResize:ue,disabled:!(re||de)},r.createElement("textarea",(0,P.Z)({},Xe,{ref:X,style:Pe,className:H()(a,ve,(0,D.Z)({},"".concat(a,"-disabled"),Ae)),disabled:Ae,value:Te,onChange:W})))}),Ee=B,C=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],v=r.forwardRef(function(S,b){var n,a=S.defaultValue,h=S.value,T=S.onFocus,re=S.onBlur,de=S.onChange,ve=S.allowClear,De=S.maxLength,Ae=S.onCompositionStart,vt=S.onCompositionEnd,me=S.suffix,Xe=S.prefixCls,Ne=Xe===void 0?"rc-textarea":Xe,Qe=S.showCount,Te=S.count,ae=S.className,W=S.style,X=S.disabled,c=S.hidden,L=S.classNames,J=S.styles,x=S.onResize,m=S.onClear,F=S.onPressEnter,q=S.readOnly,M=S.autoSize,U=S.onKeyDown,z=(0,p.Z)(S,C),ce=(0,t.Z)(a,{value:h,defaultValue:a}),ie=(0,j.Z)(ce,2),we=ie[0],Me=ie[1],je=we==null?"":String(we),Ke=r.useState(!1),ke=(0,j.Z)(Ke,2),ue=ke[0],Le=ke[1],Pe=r.useRef(!1),Re=r.useState(null),dt=(0,j.Z)(Re,2),xt=dt[0],Ie=dt[1],Lt=(0,r.useRef)(null),en=(0,r.useRef)(null),ht=function(){var _t;return(_t=en.current)===null||_t===void 0?void 0:_t.textArea},ot=function(){ht().focus()};(0,r.useImperativeHandle)(b,function(){var et;return{resizableTextArea:en.current,focus:ot,blur:function(){ht().blur()},nativeElement:((et=Lt.current)===null||et===void 0?void 0:et.nativeElement)||ht()}}),(0,r.useEffect)(function(){Le(function(et){return!X&&et})},[X]);var Kt=r.useState(null),nn=(0,j.Z)(Kt,2),At=nn[0],gt=nn[1];r.useEffect(function(){if(At){var et;(et=ht()).setSelectionRange.apply(et,(0,G.Z)(At))}},[At]);var Ft=(0,s.Z)(Te,Qe),vn=(n=Ft.max)!==null&&n!==void 0?n:De,Mt=Number(vn)>0,ut=Ft.strategy(je),Et=!!vn&&ut>vn,Zn=function(_t,an){var Sn=an;!Pe.current&&Ft.exceedFormatter&&Ft.max&&Ft.strategy(an)>Ft.max&&(Sn=Ft.exceedFormatter(an,{max:Ft.max}),an!==Sn&&gt([ht().selectionStart||0,ht().selectionEnd||0])),Me(Sn),(0,f.rJ)(_t.currentTarget,_t,de,Sn)},mn=function(_t){Pe.current=!0,Ae==null||Ae(_t)},Ln=function(_t){Pe.current=!1,Zn(_t,_t.currentTarget.value),vt==null||vt(_t)},jn=function(_t){Zn(_t,_t.target.value)},bn=function(_t){_t.key==="Enter"&&F&&F(_t),U==null||U(_t)},Cn=function(_t){Le(!0),T==null||T(_t)},Kn=function(_t){Le(!1),re==null||re(_t)},Rn=function(_t){Me(""),ot(),(0,f.rJ)(ht(),_t,de)},On=me,gn;Ft.show&&(Ft.showFormatter?gn=Ft.showFormatter({value:je,count:ut,maxLength:vn}):gn="".concat(ut).concat(Mt?" / ".concat(vn):""),On=r.createElement(r.Fragment,null,On,r.createElement("span",{className:H()("".concat(Ne,"-data-count"),L==null?void 0:L.count),style:J==null?void 0:J.count},gn)));var Dn=function(_t){var an;x==null||x(_t),(an=ht())!==null&&an!==void 0&&an.style.height&&Ie(!0)},st=!M&&!Qe&&!ve;return r.createElement(e.BaseInput,{ref:Lt,value:je,allowClear:ve,handleReset:Rn,suffix:On,prefixCls:Ne,classNames:(0,K.Z)((0,K.Z)({},L),{},{affixWrapper:H()(L==null?void 0:L.affixWrapper,(0,D.Z)((0,D.Z)({},"".concat(Ne,"-show-count"),Qe),"".concat(Ne,"-textarea-allow-clear"),ve))}),disabled:X,focused:ue,className:H()(ae,Et&&"".concat(Ne,"-out-of-range")),style:(0,K.Z)((0,K.Z)({},W),xt&&!st?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof gn=="string"?gn:void 0}},hidden:c,readOnly:q,onClear:m},r.createElement(Ee,(0,P.Z)({},z,{autoSize:M,maxLength:De,onKeyDown:bn,onChange:jn,onFocus:Cn,onBlur:Kn,onCompositionStart:mn,onCompositionEnd:Ln,className:H()(L==null?void 0:L.textarea),style:(0,K.Z)((0,K.Z)({},J==null?void 0:J.textarea),{},{resize:W==null?void 0:W.resize}),disabled:X,prefixCls:Ne,onResize:Dn,ref:en,readOnly:q})))}),E=v,N=E},29125:function(Bt,Ze,l){"use strict";l.d(Ze,{G:function(){return G},Z:function(){return R}});var P=l(92310),D=l.n(P),K=l(59301);function G(_){var y=_.children,d=_.prefixCls,u=_.id,O=_.overlayInnerStyle,k=_.bodyClassName,Z=_.className,I=_.style;return K.createElement("div",{className:D()("".concat(d,"-content"),Z),style:I},K.createElement("div",{className:D()("".concat(d,"-inner"),k),id:u,role:"tooltip",style:O},typeof y=="function"?y():y))}var j=l(54476),p=l(33885),V=l(75931),H=l(65030),e={shiftX:64,adjustY:1},s={adjustX:1,shiftY:!0},f=[0,0],t={left:{points:["cr","cl"],overflow:s,offset:[-4,0],targetOffset:f},right:{points:["cl","cr"],overflow:s,offset:[4,0],targetOffset:f},top:{points:["bc","tc"],overflow:e,offset:[0,-4],targetOffset:f},bottom:{points:["tc","bc"],overflow:e,offset:[0,4],targetOffset:f},topLeft:{points:["bl","tl"],overflow:e,offset:[0,-4],targetOffset:f},leftTop:{points:["tr","tl"],overflow:s,offset:[-4,0],targetOffset:f},topRight:{points:["br","tr"],overflow:e,offset:[0,-4],targetOffset:f},rightTop:{points:["tl","tr"],overflow:s,offset:[4,0],targetOffset:f},bottomRight:{points:["tr","br"],overflow:e,offset:[0,4],targetOffset:f},rightBottom:{points:["bl","br"],overflow:s,offset:[4,0],targetOffset:f},bottomLeft:{points:["tl","bl"],overflow:e,offset:[0,4],targetOffset:f},leftBottom:{points:["br","bl"],overflow:s,offset:[-4,0],targetOffset:f}},r=null,i=l(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"],g=function(y,d){var u=y.overlayClassName,O=y.trigger,k=O===void 0?["hover"]:O,Z=y.mouseEnterDelay,I=Z===void 0?0:Z,$=y.mouseLeaveDelay,B=$===void 0?.1:$,Ee=y.overlayStyle,C=y.prefixCls,v=C===void 0?"rc-tooltip":C,E=y.children,N=y.onVisibleChange,S=y.afterVisibleChange,b=y.transitionName,n=y.animation,a=y.motion,h=y.placement,T=h===void 0?"right":h,re=y.align,de=re===void 0?{}:re,ve=y.destroyTooltipOnHide,De=ve===void 0?!1:ve,Ae=y.defaultVisible,vt=y.getTooltipContainer,me=y.overlayInnerStyle,Xe=y.arrowContent,Ne=y.overlay,Qe=y.id,Te=y.showArrow,ae=Te===void 0?!0:Te,W=y.classNames,X=y.styles,c=(0,V.Z)(y,o),L=(0,i.Z)(Qe),J=(0,K.useRef)(null);(0,K.useImperativeHandle)(d,function(){return J.current});var x=(0,p.Z)({},c);"visible"in y&&(x.popupVisible=y.visible);var m=function(){return K.createElement(G,{key:"content",prefixCls:v,id:L,bodyClassName:W==null?void 0:W.body,overlayInnerStyle:(0,p.Z)((0,p.Z)({},me),X==null?void 0:X.body)},Ne)},F=function(){var M=K.Children.only(E),U=(M==null?void 0:M.props)||{},z=(0,p.Z)((0,p.Z)({},U),{},{"aria-describedby":Ne?L:null});return K.cloneElement(E,z)};return K.createElement(H.Z,(0,j.Z)({popupClassName:D()(u,W==null?void 0:W.root),prefixCls:v,popup:m,action:k,builtinPlacements:t,popupPlacement:T,ref:J,popupAlign:de,getPopupContainer:vt,onPopupVisibleChange:N,afterPopupVisibleChange:S,popupTransitionName:b,popupAnimation:n,popupMotion:a,defaultPopupVisible:Ae,autoDestroy:De,mouseLeaveDelay:B,popupStyle:(0,p.Z)((0,p.Z)({},Ee),X==null?void 0:X.root),mouseEnterDelay:I,arrow:ae},x),F())},w=(0,K.forwardRef)(g),R=w},639:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return y}});var P=l(54476),D=l(20068),K=l(33885),G=l(42978),j=l(75931),p=l(59301),V=l(92310),H=l.n(V),e=l(26112),s=l(30699),f=function(u){for(var O=u.prefixCls,k=u.level,Z=u.isStart,I=u.isEnd,$="".concat(O,"-indent-unit"),B=[],Ee=0;Ee<k;Ee+=1)B.push(p.createElement("span",{key:Ee,className:H()($,(0,D.Z)((0,D.Z)({},"".concat($,"-start"),Z[Ee]),"".concat($,"-end"),I[Ee]))}));return p.createElement("span",{"aria-hidden":"true",className:"".concat(O,"-indent")},B)},t=p.memo(f),r=l(65065),i=l(34061),o=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],g="open",w="close",R="---",_=function(u){var O,k,Z,I=u.eventKey,$=u.className,B=u.style,Ee=u.dragOver,C=u.dragOverGapTop,v=u.dragOverGapBottom,E=u.isLeaf,N=u.isStart,S=u.isEnd,b=u.expanded,n=u.selected,a=u.checked,h=u.halfChecked,T=u.loading,re=u.domRef,de=u.active,ve=u.data,De=u.onMouseMove,Ae=u.selectable,vt=(0,j.Z)(u,o),me=p.useContext(s.k),Xe=p.useContext(s.y),Ne=p.useRef(null),Qe=p.useState(!1),Te=(0,G.Z)(Qe,2),ae=Te[0],W=Te[1],X=!!(me.disabled||u.disabled||(O=Xe.nodeDisabled)!==null&&O!==void 0&&O.call(Xe,ve)),c=p.useMemo(function(){return!me.checkable||u.checkable===!1?!1:me.checkable},[me.checkable,u.checkable]),L=function(ut){X||me.onNodeSelect(ut,(0,i.F)(u))},J=function(ut){X||!c||u.disableCheckbox||me.onNodeCheck(ut,(0,i.F)(u),!a)},x=p.useMemo(function(){return typeof Ae=="boolean"?Ae:me.selectable},[Ae,me.selectable]),m=function(ut){me.onNodeClick(ut,(0,i.F)(u)),x?L(ut):J(ut)},F=function(ut){me.onNodeDoubleClick(ut,(0,i.F)(u))},q=function(ut){me.onNodeMouseEnter(ut,(0,i.F)(u))},M=function(ut){me.onNodeMouseLeave(ut,(0,i.F)(u))},U=function(ut){me.onNodeContextMenu(ut,(0,i.F)(u))},z=p.useMemo(function(){return!!(me.draggable&&(!me.draggable.nodeDraggable||me.draggable.nodeDraggable(ve)))},[me.draggable,ve]),ce=function(ut){ut.stopPropagation(),W(!0),me.onNodeDragStart(ut,u);try{ut.dataTransfer.setData("text/plain","")}catch(Et){}},ie=function(ut){ut.preventDefault(),ut.stopPropagation(),me.onNodeDragEnter(ut,u)},we=function(ut){ut.preventDefault(),ut.stopPropagation(),me.onNodeDragOver(ut,u)},Me=function(ut){ut.stopPropagation(),me.onNodeDragLeave(ut,u)},je=function(ut){ut.stopPropagation(),W(!1),me.onNodeDragEnd(ut,u)},Ke=function(ut){ut.preventDefault(),ut.stopPropagation(),W(!1),me.onNodeDrop(ut,u)},ke=function(ut){T||me.onNodeExpand(ut,(0,i.F)(u))},ue=p.useMemo(function(){var Mt=(0,r.Z)(me.keyEntities,I)||{},ut=Mt.children;return!!(ut||[]).length},[me.keyEntities,I]),Le=p.useMemo(function(){return E===!1?!1:E||!me.loadData&&!ue||me.loadData&&u.loaded&&!ue},[E,me.loadData,ue,u.loaded]);p.useEffect(function(){T||typeof me.loadData=="function"&&b&&!Le&&!u.loaded&&me.onNodeLoad((0,i.F)(u))},[T,me.loadData,me.onNodeLoad,b,Le,u]);var Pe=p.useMemo(function(){var Mt;return(Mt=me.draggable)!==null&&Mt!==void 0&&Mt.icon?p.createElement("span",{className:"".concat(me.prefixCls,"-draggable-icon")},me.draggable.icon):null},[me.draggable]),Re=function(ut){var Et=u.switcherIcon||me.switcherIcon;return typeof Et=="function"?Et((0,K.Z)((0,K.Z)({},u),{},{isLeaf:ut})):Et},dt=function(){if(Le){var ut=Re(!0);return ut!==!1?p.createElement("span",{className:H()("".concat(me.prefixCls,"-switcher"),"".concat(me.prefixCls,"-switcher-noop"))},ut):null}var Et=Re(!1);return Et!==!1?p.createElement("span",{onClick:ke,className:H()("".concat(me.prefixCls,"-switcher"),"".concat(me.prefixCls,"-switcher_").concat(b?g:w))},Et):null},xt=p.useMemo(function(){if(!c)return null;var Mt=typeof c!="boolean"?c:null;return p.createElement("span",{className:H()("".concat(me.prefixCls,"-checkbox"),(0,D.Z)((0,D.Z)((0,D.Z)({},"".concat(me.prefixCls,"-checkbox-checked"),a),"".concat(me.prefixCls,"-checkbox-indeterminate"),!a&&h),"".concat(me.prefixCls,"-checkbox-disabled"),X||u.disableCheckbox)),onClick:J,role:"checkbox","aria-checked":h?"mixed":a,"aria-disabled":X||u.disableCheckbox,"aria-label":"Select ".concat(typeof u.title=="string"?u.title:"tree node")},Mt)},[c,a,h,X,u.disableCheckbox,u.title]),Ie=p.useMemo(function(){return Le?null:b?g:w},[Le,b]),Lt=p.useMemo(function(){return p.createElement("span",{className:H()("".concat(me.prefixCls,"-iconEle"),"".concat(me.prefixCls,"-icon__").concat(Ie||"docu"),(0,D.Z)({},"".concat(me.prefixCls,"-icon_loading"),T))})},[me.prefixCls,Ie,T]),en=p.useMemo(function(){var Mt=!!me.draggable,ut=!u.disabled&&Mt&&me.dragOverNodeKey===I;return ut?me.dropIndicatorRender({dropPosition:me.dropPosition,dropLevelOffset:me.dropLevelOffset,indent:me.indent,prefixCls:me.prefixCls,direction:me.direction}):null},[me.dropPosition,me.dropLevelOffset,me.indent,me.prefixCls,me.direction,me.draggable,me.dragOverNodeKey,me.dropIndicatorRender]),ht=p.useMemo(function(){var Mt=u.title,ut=Mt===void 0?R:Mt,Et="".concat(me.prefixCls,"-node-content-wrapper"),Zn;if(me.showIcon){var mn=u.icon||me.icon;Zn=mn?p.createElement("span",{className:H()("".concat(me.prefixCls,"-iconEle"),"".concat(me.prefixCls,"-icon__customize"))},typeof mn=="function"?mn(u):mn):Lt}else me.loadData&&T&&(Zn=Lt);var Ln;return typeof ut=="function"?Ln=ut(ve):me.titleRender?Ln=me.titleRender(ve):Ln=ut,p.createElement("span",{ref:Ne,title:typeof ut=="string"?ut:"",className:H()(Et,"".concat(Et,"-").concat(Ie||"normal"),(0,D.Z)({},"".concat(me.prefixCls,"-node-selected"),!X&&(n||ae))),onMouseEnter:q,onMouseLeave:M,onContextMenu:U,onClick:m,onDoubleClick:F},Zn,p.createElement("span",{className:"".concat(me.prefixCls,"-title")},Ln),en)},[me.prefixCls,me.showIcon,u,me.icon,Lt,me.titleRender,ve,Ie,q,M,U,m,F]),ot=(0,e.Z)(vt,{aria:!0,data:!0}),Kt=(0,r.Z)(me.keyEntities,I)||{},nn=Kt.level,At=S[S.length-1],gt=!X&&z,Ft=me.draggingNodeKey===I,vn=Ae!==void 0?{"aria-selected":!!Ae}:void 0;return p.createElement("div",(0,P.Z)({ref:re,role:"treeitem","aria-expanded":E?void 0:b,className:H()($,"".concat(me.prefixCls,"-treenode"),(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)((0,D.Z)(Z,"".concat(me.prefixCls,"-treenode-disabled"),X),"".concat(me.prefixCls,"-treenode-switcher-").concat(b?"open":"close"),!E),"".concat(me.prefixCls,"-treenode-checkbox-checked"),a),"".concat(me.prefixCls,"-treenode-checkbox-indeterminate"),h),"".concat(me.prefixCls,"-treenode-selected"),n),"".concat(me.prefixCls,"-treenode-loading"),T),"".concat(me.prefixCls,"-treenode-active"),de),"".concat(me.prefixCls,"-treenode-leaf-last"),At),"".concat(me.prefixCls,"-treenode-draggable"),z),"dragging",Ft),(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)(Z,"drop-target",me.dropTargetKey===I),"drop-container",me.dropContainerKey===I),"drag-over",!X&&Ee),"drag-over-gap-top",!X&&C),"drag-over-gap-bottom",!X&&v),"filter-node",(k=me.filterTreeNode)===null||k===void 0?void 0:k.call(me,(0,i.F)(u))),"".concat(me.prefixCls,"-treenode-leaf"),Le))),style:B,draggable:gt,onDragStart:gt?ce:void 0,onDragEnter:z?ie:void 0,onDragOver:z?we:void 0,onDragLeave:z?Me:void 0,onDrop:z?Ke:void 0,onDragEnd:z?je:void 0,onMouseMove:De},vn,ot),p.createElement(t,{prefixCls:me.prefixCls,level:nn,isStart:N,isEnd:S}),Pe,dt(),xt,ht)};_.isTreeNode=1;var y=_},30699:function(Bt,Ze,l){"use strict";l.d(Ze,{k:function(){return D},y:function(){return K}});var P=l(59301),D=P.createContext(null),K=P.createContext({})},3741:function(Bt,Ze,l){"use strict";l.d(Ze,{OF:function(){return I.Z},y6:function(){return w.y},ZP:function(){return X}});var P=l(54476),D=l(76190),K=l(33885),G=l(94480),j=l(67732),p=l(83652),V=l(31226),H=l(42403),e=l(158),s=l(20068),f=l(92310),t=l.n(f),r=l(10228),i=l(26112),o=l(48736),g=l(59301),w=l(30699),R=function(L){var J=L.dropPosition,x=L.dropLevelOffset,m=L.indent,F={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(J){case-1:F.top=0,F.left=-x*m;break;case 1:F.bottom=0,F.left=-x*m;break;case 0:F.bottom=0,F.left=m;break}return g.createElement("div",{style:F})},_=R;function y(c){if(c==null)throw new TypeError("Cannot destructure "+c)}var d=l(42978),u=l(75931),O=l(34280),k=l(48911),Z=l(77900),I=l(639);function $(c,L){var J=g.useState(!1),x=(0,d.Z)(J,2),m=x[0],F=x[1];(0,O.Z)(function(){if(m)return c(),function(){L()}},[m]),(0,O.Z)(function(){return F(!0),function(){F(!1)}},[])}var B=$,Ee=l(34061),C=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],v=g.forwardRef(function(c,L){var J=c.className,x=c.style,m=c.motion,F=c.motionNodes,q=c.motionType,M=c.onMotionStart,U=c.onMotionEnd,z=c.active,ce=c.treeNodeRequiredProps,ie=(0,u.Z)(c,C),we=g.useState(!0),Me=(0,d.Z)(we,2),je=Me[0],Ke=Me[1],ke=g.useContext(w.k),ue=ke.prefixCls,Le=F&&q!=="hide";(0,O.Z)(function(){F&&Le!==je&&Ke(Le)},[F]);var Pe=function(){F&&M()},Re=g.useRef(!1),dt=function(){F&&!Re.current&&(Re.current=!0,U())};B(Pe,dt);var xt=function(Lt){Le===Lt&&dt()};return F?g.createElement(Z.default,(0,P.Z)({ref:L,visible:je},m,{motionAppear:q==="show",onVisibleChanged:xt}),function(Ie,Lt){var en=Ie.className,ht=Ie.style;return g.createElement("div",{ref:Lt,className:t()("".concat(ue,"-treenode-motion"),en),style:ht},F.map(function(ot){var Kt=Object.assign({},(y(ot.data),ot.data)),nn=ot.title,At=ot.key,gt=ot.isStart,Ft=ot.isEnd;delete Kt.children;var vn=(0,Ee.H8)(At,ce);return g.createElement(I.Z,(0,P.Z)({},Kt,vn,{title:nn,active:z,data:ot.data,key:At,isStart:gt,isEnd:Ft}))}))}):g.createElement(I.Z,(0,P.Z)({domRef:L,className:J,style:x},ie,{active:z}))}),E=v;function N(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],J=c.length,x=L.length;if(Math.abs(J-x)!==1)return{add:!1,key:null};function m(F,q){var M=new Map;F.forEach(function(z){M.set(z,!0)});var U=q.filter(function(z){return!M.has(z)});return U.length===1?U[0]:null}return J<x?{add:!0,key:m(c,L)}:{add:!1,key:m(L,c)}}function S(c,L,J){var x=c.findIndex(function(M){return M.key===J}),m=c[x+1],F=L.findIndex(function(M){return M.key===J});if(m){var q=L.findIndex(function(M){return M.key===m.key});return L.slice(F+1,q)}return L.slice(F+1)}var b=["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},a=function(){},h="RC_TREE_MOTION_".concat(Math.random()),T={key:h},re={key:h,level:0,index:0,pos:"0",node:T,nodes:[T]},de={parent:null,children:[],pos:re.pos,data:T,title:null,key:h,isStart:[],isEnd:[]};function ve(c,L,J,x){return L===!1||!J?c:c.slice(0,Math.ceil(J/x)+1)}function De(c){var L=c.key,J=c.pos;return(0,Ee.km)(L,J)}function Ae(c){for(var L=String(c.data.key),J=c;J.parent;)J=J.parent,L="".concat(J.data.key," > ").concat(L);return L}var vt=g.forwardRef(function(c,L){var J=c.prefixCls,x=c.data,m=c.selectable,F=c.checkable,q=c.expandedKeys,M=c.selectedKeys,U=c.checkedKeys,z=c.loadedKeys,ce=c.loadingKeys,ie=c.halfCheckedKeys,we=c.keyEntities,Me=c.disabled,je=c.dragging,Ke=c.dragOverNodeKey,ke=c.dropPosition,ue=c.motion,Le=c.height,Pe=c.itemHeight,Re=c.virtual,dt=c.scrollWidth,xt=c.focusable,Ie=c.activeItem,Lt=c.focused,en=c.tabIndex,ht=c.onKeyDown,ot=c.onFocus,Kt=c.onBlur,nn=c.onActiveChange,At=c.onListChangeStart,gt=c.onListChangeEnd,Ft=(0,u.Z)(c,b),vn=g.useRef(null),Mt=g.useRef(null);g.useImperativeHandle(L,function(){return{scrollTo:function(Ue){vn.current.scrollTo(Ue)},getIndentWidth:function(){return Mt.current.offsetWidth}}});var ut=g.useState(q),Et=(0,d.Z)(ut,2),Zn=Et[0],mn=Et[1],Ln=g.useState(x),jn=(0,d.Z)(Ln,2),bn=jn[0],Cn=jn[1],Kn=g.useState(x),Rn=(0,d.Z)(Kn,2),On=Rn[0],gn=Rn[1],Dn=g.useState([]),st=(0,d.Z)(Dn,2),et=st[0],_t=st[1],an=g.useState(null),Sn=(0,d.Z)(an,2),ee=Sn[0],Q=Sn[1],We=g.useRef(x);We.current=x;function Se(){var Ve=We.current;Cn(Ve),gn(Ve),_t([]),Q(null),gt()}(0,O.Z)(function(){mn(q);var Ve=N(Zn,q);if(Ve.key!==null)if(Ve.add){var Ue=bn.findIndex(function(ze){var Y=ze.key;return Y===Ve.key}),at=ve(S(bn,x,Ve.key),Re,Le,Pe),$e=bn.slice();$e.splice(Ue+1,0,de),gn($e),_t(at),Q("show")}else{var nt=x.findIndex(function(ze){var Y=ze.key;return Y===Ve.key}),ct=ve(S(x,bn,Ve.key),Re,Le,Pe),tt=x.slice();tt.splice(nt+1,0,de),gn(tt),_t(ct),Q("hide")}else bn!==x&&(Cn(x),gn(x))},[q,x]),g.useEffect(function(){je||Se()},[je]);var He=ue?On:x,qe={expandedKeys:q,selectedKeys:M,loadedKeys:z,loadingKeys:ce,checkedKeys:U,halfCheckedKeys:ie,dragOverNodeKey:Ke,dropPosition:ke,keyEntities:we};return g.createElement(g.Fragment,null,Lt&&Ie&&g.createElement("span",{style:n,"aria-live":"assertive"},Ae(Ie)),g.createElement("div",null,g.createElement("input",{style:n,disabled:xt===!1||Me,tabIndex:xt!==!1?en:null,onKeyDown:ht,onFocus:ot,onBlur:Kt,value:"",onChange:a,"aria-label":"for screen reader"})),g.createElement("div",{className:"".concat(J,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},g.createElement("div",{className:"".concat(J,"-indent")},g.createElement("div",{ref:Mt,className:"".concat(J,"-indent-unit")}))),g.createElement(k.Z,(0,P.Z)({},Ft,{data:He,itemKey:De,height:Le,fullHeight:!1,virtual:Re,itemHeight:Pe,scrollWidth:dt,prefixCls:"".concat(J,"-list"),ref:vn,role:"tree",onVisibleChange:function(Ue){Ue.every(function(at){return De(at)!==h})&&Se()}}),function(Ve){var Ue=Ve.pos,at=Object.assign({},(y(Ve.data),Ve.data)),$e=Ve.title,nt=Ve.key,ct=Ve.isStart,tt=Ve.isEnd,ze=(0,Ee.km)(nt,Ue);delete at.key,delete at.children;var Y=(0,Ee.H8)(ze,qe);return g.createElement(E,(0,P.Z)({},at,Y,{title:$e,active:!!Ie&&nt===Ie.key,pos:Ue,data:Ve.data,isStart:ct,isEnd:tt,motion:ue,motionNodes:nt===h?et:null,motionType:ee,onMotionStart:At,onMotionEnd:Se,treeNodeRequiredProps:qe,onMouseMove:function(){nn(null)}}))}))}),me=vt,Xe=l(82661),Ne=l(34643),Qe=l(65065),Te=10,ae=function(c){(0,H.Z)(J,c);var L=(0,e.Z)(J);function J(){var x;(0,j.Z)(this,J);for(var m=arguments.length,F=new Array(m),q=0;q<m;q++)F[q]=arguments[q];return x=L.call.apply(L,[this].concat(F)),(0,s.Z)((0,V.Z)(x),"destroyed",!1),(0,s.Z)((0,V.Z)(x),"delayedDragEnterLogic",void 0),(0,s.Z)((0,V.Z)(x),"loadingRetryTimes",{}),(0,s.Z)((0,V.Z)(x),"state",{keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Ee.w$)()}),(0,s.Z)((0,V.Z)(x),"dragStartMousePosition",null),(0,s.Z)((0,V.Z)(x),"dragNodeProps",null),(0,s.Z)((0,V.Z)(x),"currentMouseOverDroppableNodeKey",null),(0,s.Z)((0,V.Z)(x),"listRef",g.createRef()),(0,s.Z)((0,V.Z)(x),"onNodeDragStart",function(M,U){var z=x.state,ce=z.expandedKeys,ie=z.keyEntities,we=x.props.onDragStart,Me=U.eventKey;x.dragNodeProps=U,x.dragStartMousePosition={x:M.clientX,y:M.clientY};var je=(0,Xe._5)(ce,Me);x.setState({draggingNodeKey:Me,dragChildrenKeys:(0,Xe.wA)(Me,ie),indent:x.listRef.current.getIndentWidth()}),x.setExpandedKeys(je),window.addEventListener("dragend",x.onWindowDragEnd),we==null||we({event:M,node:(0,Ee.F)(U)})}),(0,s.Z)((0,V.Z)(x),"onNodeDragEnter",function(M,U){var z=x.state,ce=z.expandedKeys,ie=z.keyEntities,we=z.dragChildrenKeys,Me=z.flattenNodes,je=z.indent,Ke=x.props,ke=Ke.onDragEnter,ue=Ke.onExpand,Le=Ke.allowDrop,Pe=Ke.direction,Re=U.pos,dt=U.eventKey;if(x.currentMouseOverDroppableNodeKey!==dt&&(x.currentMouseOverDroppableNodeKey=dt),!x.dragNodeProps){x.resetDragState();return}var xt=(0,Xe.OM)(M,x.dragNodeProps,U,je,x.dragStartMousePosition,Le,Me,ie,ce,Pe),Ie=xt.dropPosition,Lt=xt.dropLevelOffset,en=xt.dropTargetKey,ht=xt.dropContainerKey,ot=xt.dropTargetPos,Kt=xt.dropAllowed,nn=xt.dragOverNodeKey;if(we.includes(en)||!Kt){x.resetDragState();return}if(x.delayedDragEnterLogic||(x.delayedDragEnterLogic={}),Object.keys(x.delayedDragEnterLogic).forEach(function(At){clearTimeout(x.delayedDragEnterLogic[At])}),x.dragNodeProps.eventKey!==U.eventKey&&(M.persist(),x.delayedDragEnterLogic[Re]=window.setTimeout(function(){if(x.state.draggingNodeKey!==null){var At=(0,G.Z)(ce),gt=(0,Qe.Z)(ie,U.eventKey);gt&&(gt.children||[]).length&&(At=(0,Xe.L0)(ce,U.eventKey)),x.props.hasOwnProperty("expandedKeys")||x.setExpandedKeys(At),ue==null||ue(At,{node:(0,Ee.F)(U),expanded:!0,nativeEvent:M.nativeEvent})}},800)),x.dragNodeProps.eventKey===en&&Lt===0){x.resetDragState();return}x.setState({dragOverNodeKey:nn,dropPosition:Ie,dropLevelOffset:Lt,dropTargetKey:en,dropContainerKey:ht,dropTargetPos:ot,dropAllowed:Kt}),ke==null||ke({event:M,node:(0,Ee.F)(U),expandedKeys:ce})}),(0,s.Z)((0,V.Z)(x),"onNodeDragOver",function(M,U){var z=x.state,ce=z.dragChildrenKeys,ie=z.flattenNodes,we=z.keyEntities,Me=z.expandedKeys,je=z.indent,Ke=x.props,ke=Ke.onDragOver,ue=Ke.allowDrop,Le=Ke.direction;if(x.dragNodeProps){var Pe=(0,Xe.OM)(M,x.dragNodeProps,U,je,x.dragStartMousePosition,ue,ie,we,Me,Le),Re=Pe.dropPosition,dt=Pe.dropLevelOffset,xt=Pe.dropTargetKey,Ie=Pe.dropContainerKey,Lt=Pe.dropTargetPos,en=Pe.dropAllowed,ht=Pe.dragOverNodeKey;ce.includes(xt)||!en||(x.dragNodeProps.eventKey===xt&&dt===0?x.state.dropPosition===null&&x.state.dropLevelOffset===null&&x.state.dropTargetKey===null&&x.state.dropContainerKey===null&&x.state.dropTargetPos===null&&x.state.dropAllowed===!1&&x.state.dragOverNodeKey===null||x.resetDragState():Re===x.state.dropPosition&&dt===x.state.dropLevelOffset&&xt===x.state.dropTargetKey&&Ie===x.state.dropContainerKey&&Lt===x.state.dropTargetPos&&en===x.state.dropAllowed&&ht===x.state.dragOverNodeKey||x.setState({dropPosition:Re,dropLevelOffset:dt,dropTargetKey:xt,dropContainerKey:Ie,dropTargetPos:Lt,dropAllowed:en,dragOverNodeKey:ht}),ke==null||ke({event:M,node:(0,Ee.F)(U)}))}}),(0,s.Z)((0,V.Z)(x),"onNodeDragLeave",function(M,U){x.currentMouseOverDroppableNodeKey===U.eventKey&&!M.currentTarget.contains(M.relatedTarget)&&(x.resetDragState(),x.currentMouseOverDroppableNodeKey=null);var z=x.props.onDragLeave;z==null||z({event:M,node:(0,Ee.F)(U)})}),(0,s.Z)((0,V.Z)(x),"onWindowDragEnd",function(M){x.onNodeDragEnd(M,null,!0),window.removeEventListener("dragend",x.onWindowDragEnd)}),(0,s.Z)((0,V.Z)(x),"onNodeDragEnd",function(M,U){var z=x.props.onDragEnd;x.setState({dragOverNodeKey:null}),x.cleanDragState(),z==null||z({event:M,node:(0,Ee.F)(U)}),x.dragNodeProps=null,window.removeEventListener("dragend",x.onWindowDragEnd)}),(0,s.Z)((0,V.Z)(x),"onNodeDrop",function(M,U){var z,ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ie=x.state,we=ie.dragChildrenKeys,Me=ie.dropPosition,je=ie.dropTargetKey,Ke=ie.dropTargetPos,ke=ie.dropAllowed;if(ke){var ue=x.props.onDrop;if(x.setState({dragOverNodeKey:null}),x.cleanDragState(),je!==null){var Le=(0,K.Z)((0,K.Z)({},(0,Ee.H8)(je,x.getTreeNodeRequiredProps())),{},{active:((z=x.getActiveItem())===null||z===void 0?void 0:z.key)===je,data:(0,Qe.Z)(x.state.keyEntities,je).node}),Pe=we.includes(je);(0,o.ZP)(!Pe,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Re=(0,Xe.yx)(Ke),dt={event:M,node:(0,Ee.F)(Le),dragNode:x.dragNodeProps?(0,Ee.F)(x.dragNodeProps):null,dragNodesKeys:[x.dragNodeProps.eventKey].concat(we),dropToGap:Me!==0,dropPosition:Me+Number(Re[Re.length-1])};ce||ue==null||ue(dt),x.dragNodeProps=null}}}),(0,s.Z)((0,V.Z)(x),"cleanDragState",function(){var M=x.state.draggingNodeKey;M!==null&&x.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),x.dragStartMousePosition=null,x.currentMouseOverDroppableNodeKey=null}),(0,s.Z)((0,V.Z)(x),"triggerExpandActionExpand",function(M,U){var z=x.state,ce=z.expandedKeys,ie=z.flattenNodes,we=U.expanded,Me=U.key,je=U.isLeaf;if(!(je||M.shiftKey||M.metaKey||M.ctrlKey)){var Ke=ie.filter(function(ue){return ue.key===Me})[0],ke=(0,Ee.F)((0,K.Z)((0,K.Z)({},(0,Ee.H8)(Me,x.getTreeNodeRequiredProps())),{},{data:Ke.data}));x.setExpandedKeys(we?(0,Xe._5)(ce,Me):(0,Xe.L0)(ce,Me)),x.onNodeExpand(M,ke)}}),(0,s.Z)((0,V.Z)(x),"onNodeClick",function(M,U){var z=x.props,ce=z.onClick,ie=z.expandAction;ie==="click"&&x.triggerExpandActionExpand(M,U),ce==null||ce(M,U)}),(0,s.Z)((0,V.Z)(x),"onNodeDoubleClick",function(M,U){var z=x.props,ce=z.onDoubleClick,ie=z.expandAction;ie==="doubleClick"&&x.triggerExpandActionExpand(M,U),ce==null||ce(M,U)}),(0,s.Z)((0,V.Z)(x),"onNodeSelect",function(M,U){var z=x.state.selectedKeys,ce=x.state,ie=ce.keyEntities,we=ce.fieldNames,Me=x.props,je=Me.onSelect,Ke=Me.multiple,ke=U.selected,ue=U[we.key],Le=!ke;Le?Ke?z=(0,Xe.L0)(z,ue):z=[ue]:z=(0,Xe._5)(z,ue);var Pe=z.map(function(Re){var dt=(0,Qe.Z)(ie,Re);return dt?dt.node:null}).filter(Boolean);x.setUncontrolledState({selectedKeys:z}),je==null||je(z,{event:"select",selected:Le,node:U,selectedNodes:Pe,nativeEvent:M.nativeEvent})}),(0,s.Z)((0,V.Z)(x),"onNodeCheck",function(M,U,z){var ce=x.state,ie=ce.keyEntities,we=ce.checkedKeys,Me=ce.halfCheckedKeys,je=x.props,Ke=je.checkStrictly,ke=je.onCheck,ue=U.key,Le,Pe={event:"check",node:U,checked:z,nativeEvent:M.nativeEvent};if(Ke){var Re=z?(0,Xe.L0)(we,ue):(0,Xe._5)(we,ue),dt=(0,Xe._5)(Me,ue);Le={checked:Re,halfChecked:dt},Pe.checkedNodes=Re.map(function(ot){return(0,Qe.Z)(ie,ot)}).filter(Boolean).map(function(ot){return ot.node}),x.setUncontrolledState({checkedKeys:Re})}else{var xt=(0,Ne.S)([].concat((0,G.Z)(we),[ue]),!0,ie),Ie=xt.checkedKeys,Lt=xt.halfCheckedKeys;if(!z){var en=new Set(Ie);en.delete(ue);var ht=(0,Ne.S)(Array.from(en),{checked:!1,halfCheckedKeys:Lt},ie);Ie=ht.checkedKeys,Lt=ht.halfCheckedKeys}Le=Ie,Pe.checkedNodes=[],Pe.checkedNodesPositions=[],Pe.halfCheckedKeys=Lt,Ie.forEach(function(ot){var Kt=(0,Qe.Z)(ie,ot);if(Kt){var nn=Kt.node,At=Kt.pos;Pe.checkedNodes.push(nn),Pe.checkedNodesPositions.push({node:nn,pos:At})}}),x.setUncontrolledState({checkedKeys:Ie},!1,{halfCheckedKeys:Lt})}ke==null||ke(Le,Pe)}),(0,s.Z)((0,V.Z)(x),"onNodeLoad",function(M){var U,z=M.key,ce=x.state.keyEntities,ie=(0,Qe.Z)(ce,z);if(!(ie!=null&&(U=ie.children)!==null&&U!==void 0&&U.length)){var we=new Promise(function(Me,je){x.setState(function(Ke){var ke=Ke.loadedKeys,ue=ke===void 0?[]:ke,Le=Ke.loadingKeys,Pe=Le===void 0?[]:Le,Re=x.props,dt=Re.loadData,xt=Re.onLoad;if(!dt||ue.includes(z)||Pe.includes(z))return null;var Ie=dt(M);return Ie.then(function(){var Lt=x.state.loadedKeys,en=(0,Xe.L0)(Lt,z);xt==null||xt(en,{event:"load",node:M}),x.setUncontrolledState({loadedKeys:en}),x.setState(function(ht){return{loadingKeys:(0,Xe._5)(ht.loadingKeys,z)}}),Me()}).catch(function(Lt){if(x.setState(function(ht){return{loadingKeys:(0,Xe._5)(ht.loadingKeys,z)}}),x.loadingRetryTimes[z]=(x.loadingRetryTimes[z]||0)+1,x.loadingRetryTimes[z]>=Te){var en=x.state.loadedKeys;(0,o.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),x.setUncontrolledState({loadedKeys:(0,Xe.L0)(en,z)}),Me()}je(Lt)}),{loadingKeys:(0,Xe.L0)(Pe,z)}})});return we.catch(function(){}),we}}),(0,s.Z)((0,V.Z)(x),"onNodeMouseEnter",function(M,U){var z=x.props.onMouseEnter;z==null||z({event:M,node:U})}),(0,s.Z)((0,V.Z)(x),"onNodeMouseLeave",function(M,U){var z=x.props.onMouseLeave;z==null||z({event:M,node:U})}),(0,s.Z)((0,V.Z)(x),"onNodeContextMenu",function(M,U){var z=x.props.onRightClick;z&&(M.preventDefault(),z({event:M,node:U}))}),(0,s.Z)((0,V.Z)(x),"onFocus",function(){var M=x.props.onFocus;x.setState({focused:!0});for(var U=arguments.length,z=new Array(U),ce=0;ce<U;ce++)z[ce]=arguments[ce];M==null||M.apply(void 0,z)}),(0,s.Z)((0,V.Z)(x),"onBlur",function(){var M=x.props.onBlur;x.setState({focused:!1}),x.onActiveChange(null);for(var U=arguments.length,z=new Array(U),ce=0;ce<U;ce++)z[ce]=arguments[ce];M==null||M.apply(void 0,z)}),(0,s.Z)((0,V.Z)(x),"getTreeNodeRequiredProps",function(){var M=x.state,U=M.expandedKeys,z=M.selectedKeys,ce=M.loadedKeys,ie=M.loadingKeys,we=M.checkedKeys,Me=M.halfCheckedKeys,je=M.dragOverNodeKey,Ke=M.dropPosition,ke=M.keyEntities;return{expandedKeys:U||[],selectedKeys:z||[],loadedKeys:ce||[],loadingKeys:ie||[],checkedKeys:we||[],halfCheckedKeys:Me||[],dragOverNodeKey:je,dropPosition:Ke,keyEntities:ke}}),(0,s.Z)((0,V.Z)(x),"setExpandedKeys",function(M){var U=x.state,z=U.treeData,ce=U.fieldNames,ie=(0,Ee.oH)(z,M,ce);x.setUncontrolledState({expandedKeys:M,flattenNodes:ie},!0)}),(0,s.Z)((0,V.Z)(x),"onNodeExpand",function(M,U){var z=x.state.expandedKeys,ce=x.state,ie=ce.listChanging,we=ce.fieldNames,Me=x.props,je=Me.onExpand,Ke=Me.loadData,ke=U.expanded,ue=U[we.key];if(!ie){var Le=z.includes(ue),Pe=!ke;if((0,o.ZP)(ke&&Le||!ke&&!Le,"Expand state not sync with index check"),z=Pe?(0,Xe.L0)(z,ue):(0,Xe._5)(z,ue),x.setExpandedKeys(z),je==null||je(z,{node:U,expanded:Pe,nativeEvent:M.nativeEvent}),Pe&&Ke){var Re=x.onNodeLoad(U);Re&&Re.then(function(){var dt=(0,Ee.oH)(x.state.treeData,z,we);x.setUncontrolledState({flattenNodes:dt})}).catch(function(){var dt=x.state.expandedKeys,xt=(0,Xe._5)(dt,ue);x.setExpandedKeys(xt)})}}}),(0,s.Z)((0,V.Z)(x),"onListChangeStart",function(){x.setUncontrolledState({listChanging:!0})}),(0,s.Z)((0,V.Z)(x),"onListChangeEnd",function(){setTimeout(function(){x.setUncontrolledState({listChanging:!1})})}),(0,s.Z)((0,V.Z)(x),"onActiveChange",function(M){var U=x.state.activeKey,z=x.props,ce=z.onActiveChange,ie=z.itemScrollOffset,we=ie===void 0?0:ie;U!==M&&(x.setState({activeKey:M}),M!==null&&x.scrollTo({key:M,offset:we}),ce==null||ce(M))}),(0,s.Z)((0,V.Z)(x),"getActiveItem",function(){var M=x.state,U=M.activeKey,z=M.flattenNodes;return U===null?null:z.find(function(ce){var ie=ce.key;return ie===U})||null}),(0,s.Z)((0,V.Z)(x),"offsetActiveKey",function(M){var U=x.state,z=U.flattenNodes,ce=U.activeKey,ie=z.findIndex(function(je){var Ke=je.key;return Ke===ce});ie===-1&&M<0&&(ie=z.length),ie=(ie+M+z.length)%z.length;var we=z[ie];if(we){var Me=we.key;x.onActiveChange(Me)}else x.onActiveChange(null)}),(0,s.Z)((0,V.Z)(x),"onKeyDown",function(M){var U=x.state,z=U.activeKey,ce=U.expandedKeys,ie=U.checkedKeys,we=U.fieldNames,Me=x.props,je=Me.onKeyDown,Ke=Me.checkable,ke=Me.selectable;switch(M.which){case r.Z.UP:{x.offsetActiveKey(-1),M.preventDefault();break}case r.Z.DOWN:{x.offsetActiveKey(1),M.preventDefault();break}}var ue=x.getActiveItem();if(ue&&ue.data){var Le=x.getTreeNodeRequiredProps(),Pe=ue.data.isLeaf===!1||!!(ue.data[we.children]||[]).length,Re=(0,Ee.F)((0,K.Z)((0,K.Z)({},(0,Ee.H8)(z,Le)),{},{data:ue.data,active:!0}));switch(M.which){case r.Z.LEFT:{Pe&&ce.includes(z)?x.onNodeExpand({},Re):ue.parent&&x.onActiveChange(ue.parent.key),M.preventDefault();break}case r.Z.RIGHT:{Pe&&!ce.includes(z)?x.onNodeExpand({},Re):ue.children&&ue.children.length&&x.onActiveChange(ue.children[0].key),M.preventDefault();break}case r.Z.ENTER:case r.Z.SPACE:{Ke&&!Re.disabled&&Re.checkable!==!1&&!Re.disableCheckbox?x.onNodeCheck({},Re,!ie.includes(z)):!Ke&&ke&&!Re.disabled&&Re.selectable!==!1&&x.onNodeSelect({},Re);break}}}je==null||je(M)}),(0,s.Z)((0,V.Z)(x),"setUncontrolledState",function(M){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!x.destroyed){var ce=!1,ie=!0,we={};Object.keys(M).forEach(function(Me){if(x.props.hasOwnProperty(Me)){ie=!1;return}ce=!0,we[Me]=M[Me]}),ce&&(!U||ie)&&x.setState((0,K.Z)((0,K.Z)({},we),z))}}),(0,s.Z)((0,V.Z)(x),"scrollTo",function(M){x.listRef.current.scrollTo(M)}),x}return(0,p.Z)(J,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var m=this.props,F=m.activeKey,q=m.itemScrollOffset,M=q===void 0?0:q;F!==void 0&&F!==this.state.activeKey&&(this.setState({activeKey:F}),F!==null&&this.scrollTo({key:F,offset:M}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var m=this.state,F=m.focused,q=m.flattenNodes,M=m.keyEntities,U=m.draggingNodeKey,z=m.activeKey,ce=m.dropLevelOffset,ie=m.dropContainerKey,we=m.dropTargetKey,Me=m.dropPosition,je=m.dragOverNodeKey,Ke=m.indent,ke=this.props,ue=ke.prefixCls,Le=ke.className,Pe=ke.style,Re=ke.showLine,dt=ke.focusable,xt=ke.tabIndex,Ie=xt===void 0?0:xt,Lt=ke.selectable,en=ke.showIcon,ht=ke.icon,ot=ke.switcherIcon,Kt=ke.draggable,nn=ke.checkable,At=ke.checkStrictly,gt=ke.disabled,Ft=ke.motion,vn=ke.loadData,Mt=ke.filterTreeNode,ut=ke.height,Et=ke.itemHeight,Zn=ke.scrollWidth,mn=ke.virtual,Ln=ke.titleRender,jn=ke.dropIndicatorRender,bn=ke.onContextMenu,Cn=ke.onScroll,Kn=ke.direction,Rn=ke.rootClassName,On=ke.rootStyle,gn=(0,i.Z)(this.props,{aria:!0,data:!0}),Dn;Kt&&((0,D.Z)(Kt)==="object"?Dn=Kt:typeof Kt=="function"?Dn={nodeDraggable:Kt}:Dn={});var st={prefixCls:ue,selectable:Lt,showIcon:en,icon:ht,switcherIcon:ot,draggable:Dn,draggingNodeKey:U,checkable:nn,checkStrictly:At,disabled:gt,keyEntities:M,dropLevelOffset:ce,dropContainerKey:ie,dropTargetKey:we,dropPosition:Me,dragOverNodeKey:je,indent:Ke,direction:Kn,dropIndicatorRender:jn,loadData:vn,filterTreeNode:Mt,titleRender:Ln,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return g.createElement(w.k.Provider,{value:st},g.createElement("div",{className:t()(ue,Le,Rn,(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(ue,"-show-line"),Re),"".concat(ue,"-focused"),F),"".concat(ue,"-active-focused"),z!==null)),style:On},g.createElement(me,(0,P.Z)({ref:this.listRef,prefixCls:ue,style:Pe,data:q,disabled:gt,selectable:Lt,checkable:!!nn,motion:Ft,dragging:U!==null,height:ut,itemHeight:Et,virtual:mn,focusable:dt,focused:F,tabIndex:Ie,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:bn,onScroll:Cn,scrollWidth:Zn},this.getTreeNodeRequiredProps(),gn))))}}],[{key:"getDerivedStateFromProps",value:function(m,F){var q=F.prevProps,M={prevProps:m};function U(Ie){return!q&&m.hasOwnProperty(Ie)||q&&q[Ie]!==m[Ie]}var z,ce=F.fieldNames;if(U("fieldNames")&&(ce=(0,Ee.w$)(m.fieldNames),M.fieldNames=ce),U("treeData")?z=m.treeData:U("children")&&((0,o.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),z=(0,Ee.zn)(m.children)),z){M.treeData=z;var ie=(0,Ee.I8)(z,{fieldNames:ce});M.keyEntities=(0,K.Z)((0,s.Z)({},h,re),ie.keyEntities)}var we=M.keyEntities||F.keyEntities;if(U("expandedKeys")||q&&U("autoExpandParent"))M.expandedKeys=m.autoExpandParent||!q&&m.defaultExpandParent?(0,Xe.r7)(m.expandedKeys,we):m.expandedKeys;else if(!q&&m.defaultExpandAll){var Me=(0,K.Z)({},we);delete Me[h];var je=[];Object.keys(Me).forEach(function(Ie){var Lt=Me[Ie];Lt.children&&Lt.children.length&&je.push(Lt.key)}),M.expandedKeys=je}else!q&&m.defaultExpandedKeys&&(M.expandedKeys=m.autoExpandParent||m.defaultExpandParent?(0,Xe.r7)(m.defaultExpandedKeys,we):m.defaultExpandedKeys);if(M.expandedKeys||delete M.expandedKeys,z||M.expandedKeys){var Ke=(0,Ee.oH)(z||F.treeData,M.expandedKeys||F.expandedKeys,ce);M.flattenNodes=Ke}if(m.selectable&&(U("selectedKeys")?M.selectedKeys=(0,Xe.BT)(m.selectedKeys,m):!q&&m.defaultSelectedKeys&&(M.selectedKeys=(0,Xe.BT)(m.defaultSelectedKeys,m))),m.checkable){var ke;if(U("checkedKeys")?ke=(0,Xe.E6)(m.checkedKeys)||{}:!q&&m.defaultCheckedKeys?ke=(0,Xe.E6)(m.defaultCheckedKeys)||{}:z&&(ke=(0,Xe.E6)(m.checkedKeys)||{checkedKeys:F.checkedKeys,halfCheckedKeys:F.halfCheckedKeys}),ke){var ue=ke,Le=ue.checkedKeys,Pe=Le===void 0?[]:Le,Re=ue.halfCheckedKeys,dt=Re===void 0?[]:Re;if(!m.checkStrictly){var xt=(0,Ne.S)(Pe,!0,we);Pe=xt.checkedKeys,dt=xt.halfCheckedKeys}M.checkedKeys=Pe,M.halfCheckedKeys=dt}}return U("loadedKeys")&&(M.loadedKeys=m.loadedKeys),M}}]),J}(g.Component);(0,s.Z)(ae,"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:_,allowDrop:function(){return!0},expandAction:!1}),(0,s.Z)(ae,"TreeNode",I.Z);var W=ae,X=W},82661:function(Bt,Ze,l){"use strict";l.d(Ze,{BT:function(){return g},E6:function(){return _},L0:function(){return s},OM:function(){return o},_5:function(){return e},r7:function(){return y},wA:function(){return t},yx:function(){return f}});var P=l(94480),D=l(76190),K=l(48736),G=l(59301),j=l(639),p=l(65065),V=l(34061),H=null;function e(d,u){if(!d)return[];var O=d.slice(),k=O.indexOf(u);return k>=0&&O.splice(k,1),O}function s(d,u){var O=(d||[]).slice();return O.indexOf(u)===-1&&O.push(u),O}function f(d){return d.split("-")}function t(d,u){var O=[],k=(0,p.Z)(u,d);function Z(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];I.forEach(function($){var B=$.key,Ee=$.children;O.push(B),Z(Ee)})}return Z(k.children),O}function r(d){if(d.parent){var u=f(d.pos);return Number(u[u.length-1])===d.parent.children.length-1}return!1}function i(d){var u=f(d.pos);return Number(u[u.length-1])===0}function o(d,u,O,k,Z,I,$,B,Ee,C){var v,E=d.clientX,N=d.clientY,S=d.target.getBoundingClientRect(),b=S.top,n=S.height,a=(C==="rtl"?-1:1)*(((Z==null?void 0:Z.x)||0)-E),h=(a-12)/k,T=Ee.filter(function(X){var c;return(c=B[X])===null||c===void 0||(c=c.children)===null||c===void 0?void 0:c.length}),re=(0,p.Z)(B,O.eventKey);if(N<b+n/2){var de=$.findIndex(function(X){return X.key===re.key}),ve=de<=0?0:de-1,De=$[ve].key;re=(0,p.Z)(B,De)}var Ae=re.key,vt=re,me=re.key,Xe=0,Ne=0;if(!T.includes(Ae))for(var Qe=0;Qe<h&&r(re);Qe+=1)re=re.parent,Ne+=1;var Te=u.data,ae=re.node,W=!0;return i(re)&&re.level===0&&N<b+n/2&&I({dragNode:Te,dropNode:ae,dropPosition:-1})&&re.key===O.eventKey?Xe=-1:(vt.children||[]).length&&T.includes(me)?I({dragNode:Te,dropNode:ae,dropPosition:0})?Xe=0:W=!1:Ne===0?h>-1.5?I({dragNode:Te,dropNode:ae,dropPosition:1})?Xe=1:W=!1:I({dragNode:Te,dropNode:ae,dropPosition:0})?Xe=0:I({dragNode:Te,dropNode:ae,dropPosition:1})?Xe=1:W=!1:I({dragNode:Te,dropNode:ae,dropPosition:1})?Xe=1:W=!1,{dropPosition:Xe,dropLevelOffset:Ne,dropTargetKey:re.key,dropTargetPos:re.pos,dragOverNodeKey:me,dropContainerKey:Xe===0?null:((v=re.parent)===null||v===void 0?void 0:v.key)||null,dropAllowed:W}}function g(d,u){if(d){var O=u.multiple;return O?d.slice():d.length?[d[0]]:d}}var w=function(u){return u};function R(d,u){if(!d)return[];var O=u||{},k=O.processProps,Z=k===void 0?w:k,I=Array.isArray(d)?d:[d];return I.map(function($){var B=$.children,Ee=_objectWithoutProperties($,H),C=R(B,u);return React.createElement(TreeNode,_extends({key:Ee.key},Z(Ee)),C)})}function _(d){if(!d)return null;var u;if(Array.isArray(d))u={checkedKeys:d,halfCheckedKeys:void 0};else if((0,D.Z)(d)==="object")u={checkedKeys:d.checked||void 0,halfCheckedKeys:d.halfChecked||void 0};else return(0,K.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return u}function y(d,u){var O=new Set;function k(Z){if(!O.has(Z)){var I=(0,p.Z)(u,Z);if(I){O.add(Z);var $=I.parent,B=I.node;B.disabled||$&&k($.key)}}}return(d||[]).forEach(function(Z){k(Z)}),(0,P.Z)(O)}},34643:function(Bt,Ze,l){"use strict";l.d(Ze,{S:function(){return V}});var P=l(48736),D=l(65065);function K(H,e){var s=new Set;return H.forEach(function(f){e.has(f)||s.add(f)}),s}function G(H){var e=H||{},s=e.disabled,f=e.disableCheckbox,t=e.checkable;return!!(s||f)||t===!1}function j(H,e,s,f){for(var t=new Set(H),r=new Set,i=0;i<=s;i+=1){var o=e.get(i)||new Set;o.forEach(function(_){var y=_.key,d=_.node,u=_.children,O=u===void 0?[]:u;t.has(y)&&!f(d)&&O.filter(function(k){return!f(k.node)}).forEach(function(k){t.add(k.key)})})}for(var g=new Set,w=s;w>=0;w-=1){var R=e.get(w)||new Set;R.forEach(function(_){var y=_.parent,d=_.node;if(!(f(d)||!_.parent||g.has(_.parent.key))){if(f(_.parent.node)){g.add(y.key);return}var u=!0,O=!1;(y.children||[]).filter(function(k){return!f(k.node)}).forEach(function(k){var Z=k.key,I=t.has(Z);u&&!I&&(u=!1),!O&&(I||r.has(Z))&&(O=!0)}),u&&t.add(y.key),O&&r.add(y.key),g.add(y.key)}})}return{checkedKeys:Array.from(t),halfCheckedKeys:Array.from(K(r,t))}}function p(H,e,s,f,t){for(var r=new Set(H),i=new Set(e),o=0;o<=f;o+=1){var g=s.get(o)||new Set;g.forEach(function(y){var d=y.key,u=y.node,O=y.children,k=O===void 0?[]:O;!r.has(d)&&!i.has(d)&&!t(u)&&k.filter(function(Z){return!t(Z.node)}).forEach(function(Z){r.delete(Z.key)})})}i=new Set;for(var w=new Set,R=f;R>=0;R-=1){var _=s.get(R)||new Set;_.forEach(function(y){var d=y.parent,u=y.node;if(!(t(u)||!y.parent||w.has(y.parent.key))){if(t(y.parent.node)){w.add(d.key);return}var O=!0,k=!1;(d.children||[]).filter(function(Z){return!t(Z.node)}).forEach(function(Z){var I=Z.key,$=r.has(I);O&&!$&&(O=!1),!k&&($||i.has(I))&&(k=!0)}),O||r.delete(d.key),k&&i.add(d.key),w.add(d.key)}})}return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(K(i,r))}}function V(H,e,s,f){var t=[],r;f?r=f:r=G;var i=new Set(H.filter(function(R){var _=!!(0,D.Z)(s,R);return _||t.push(R),_})),o=new Map,g=0;Object.keys(s).forEach(function(R){var _=s[R],y=_.level,d=o.get(y);d||(d=new Set,o.set(y,d)),d.add(_),g=Math.max(g,y)}),(0,P.ZP)(!t.length,"Tree missing follow keys: ".concat(t.slice(0,100).map(function(R){return"'".concat(R,"'")}).join(", ")));var w;return e===!0?w=j(i,o,g,r):w=p(i,e.halfCheckedKeys,o,g,r),w}},65065:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return P}});function P(D,K){return D[K]}},34061:function(Bt,Ze,l){"use strict";l.d(Ze,{F:function(){return y},H8:function(){return _},I8:function(){return R},km:function(){return t},oH:function(){return g},w$:function(){return r},zn:function(){return o}});var P=l(76190),D=l(94480),K=l(33885),G=l(75931),j=l(11592),p=l(2738),V=l(48736),H=l(65065),e=["children"];function s(d,u){return"".concat(d,"-").concat(u)}function f(d){return d&&d.type&&d.type.isTreeNode}function t(d,u){return d!=null?d:u}function r(d){var u=d||{},O=u.title,k=u._title,Z=u.key,I=u.children,$=O||"title";return{title:$,_title:k||[$],key:Z||"key",children:I||"children"}}function i(d,u){var O=new Map;function k(Z){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Z||[]).forEach(function($){var B=$[u.key],Ee=$[u.children];warning(B!=null,"Tree node must have a certain key: [".concat(I).concat(B,"]"));var C=String(B);warning(!O.has(C)||B===null||B===void 0,"Same 'key' exist in the Tree: ".concat(C)),O.set(C,!0),k(Ee,"".concat(I).concat(C," > "))})}k(d)}function o(d){function u(O){var k=(0,j.Z)(O);return k.map(function(Z){if(!f(Z))return(0,V.ZP)(!Z,"Tree/TreeNode can only accept TreeNode as children."),null;var I=Z.key,$=Z.props,B=$.children,Ee=(0,G.Z)($,e),C=(0,K.Z)({key:I},Ee),v=u(B);return v.length&&(C.children=v),C}).filter(function(Z){return Z})}return u(d)}function g(d,u,O){var k=r(O),Z=k._title,I=k.key,$=k.children,B=new Set(u===!0?[]:u),Ee=[];function C(v){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return v.map(function(N,S){for(var b=s(E?E.pos:"0",S),n=t(N[I],b),a,h=0;h<Z.length;h+=1){var T=Z[h];if(N[T]!==void 0){a=N[T];break}}var re=Object.assign((0,p.Z)(N,[].concat((0,D.Z)(Z),[I,$])),{title:a,key:n,parent:E,pos:b,children:null,data:N,isStart:[].concat((0,D.Z)(E?E.isStart:[]),[S===0]),isEnd:[].concat((0,D.Z)(E?E.isEnd:[]),[S===v.length-1])});return Ee.push(re),u===!0||B.has(n)?re.children=C(N[$]||[],re):re.children=[],re})}return C(d),Ee}function w(d,u,O){var k={};(0,P.Z)(O)==="object"?k=O:k={externalGetKey:O},k=k||{};var Z=k,I=Z.childrenPropName,$=Z.externalGetKey,B=Z.fieldNames,Ee=r(B),C=Ee.key,v=Ee.children,E=I||v,N;$?typeof $=="string"?N=function(n){return n[$]}:typeof $=="function"&&(N=function(n){return $(n)}):N=function(n,a){return t(n[C],a)};function S(b,n,a,h){var T=b?b[E]:d,re=b?s(a.pos,n):"0",de=b?[].concat((0,D.Z)(h),[b]):[];if(b){var ve=N(b,re),De={node:b,index:n,pos:re,key:ve,parentPos:a.node?a.pos:null,level:a.level+1,nodes:de};u(De)}T&&T.forEach(function(Ae,vt){S(Ae,vt,{node:b,pos:re,level:a?a.level+1:-1},de)})}S(null)}function R(d){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},O=u.initWrapper,k=u.processEntity,Z=u.onProcessFinished,I=u.externalGetKey,$=u.childrenPropName,B=u.fieldNames,Ee=arguments.length>2?arguments[2]:void 0,C=I||Ee,v={},E={},N={posEntities:v,keyEntities:E};return O&&(N=O(N)||N),w(d,function(S){var b=S.node,n=S.index,a=S.pos,h=S.key,T=S.parentPos,re=S.level,de=S.nodes,ve={node:b,nodes:de,index:n,key:h,pos:a,level:re},De=t(h,a);v[a]=ve,E[De]=ve,ve.parent=v[T],ve.parent&&(ve.parent.children=ve.parent.children||[],ve.parent.children.push(ve)),k&&k(ve,N)},{externalGetKey:C,childrenPropName:$,fieldNames:B}),Z&&Z(N),N}function _(d,u){var O=u.expandedKeys,k=u.selectedKeys,Z=u.loadedKeys,I=u.loadingKeys,$=u.checkedKeys,B=u.halfCheckedKeys,Ee=u.dragOverNodeKey,C=u.dropPosition,v=u.keyEntities,E=(0,H.Z)(v,d),N={eventKey:d,expanded:O.indexOf(d)!==-1,selected:k.indexOf(d)!==-1,loaded:Z.indexOf(d)!==-1,loading:I.indexOf(d)!==-1,checked:$.indexOf(d)!==-1,halfChecked:B.indexOf(d)!==-1,pos:String(E?E.pos:""),dragOver:Ee===d&&C===0,dragOverGapTop:Ee===d&&C===-1,dragOverGapBottom:Ee===d&&C===1};return N}function y(d){var u=d.data,O=d.expanded,k=d.selected,Z=d.checked,I=d.loaded,$=d.loading,B=d.halfChecked,Ee=d.dragOver,C=d.dragOverGapTop,v=d.dragOverGapBottom,E=d.pos,N=d.active,S=d.eventKey,b=(0,K.Z)((0,K.Z)({},u),{},{expanded:O,selected:k,checked:Z,loaded:I,loading:$,halfChecked:B,dragOver:Ee,dragOverGapTop:C,dragOverGapBottom:v,pos:E,active:N,key:S});return"props"in b||Object.defineProperty(b,"props",{get:function(){return(0,V.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),d}}),b}},8224:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return D}});var P=l(4676);function D(K,G,j,p){var V=P.unstable_batchedUpdates?function(e){P.unstable_batchedUpdates(j,e)}:j;return K!=null&&K.addEventListener&&K.addEventListener(G,V,p),{remove:function(){K!=null&&K.removeEventListener&&K.removeEventListener(G,V,p)}}}},24514:function(Bt,Ze,l){"use strict";l.d(Ze,{G:function(){return G}});var P=l(47273),D=function(p){if((0,P.Z)()&&window.document.documentElement){var V=Array.isArray(p)?p:[p],H=window.document.documentElement;return V.some(function(e){return e in H.style})}return!1},K=function(p,V){if(!D(p))return!1;var H=document.createElement("div"),e=H.style[p];return H.style[p]=V,H.style[p]!==e};function G(j,p){return!Array.isArray(j)&&p!==void 0?K(j,p):D(j)}},49658:function(Bt,Ze){"use strict";Ze.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var l=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(l)||/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(l==null?void 0:l.substr(0,4))}},48911:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return Te}});var P=l(54476),D=l(76190),K=l(33885),G=l(20068),j=l(42978),p=l(75931),V=l(92310),H=l.n(V),e=l(29301),s=l(70425),f=l(34280),t=l(59301),r=l(4676),i=t.forwardRef(function(ae,W){var X=ae.height,c=ae.offsetY,L=ae.offsetX,J=ae.children,x=ae.prefixCls,m=ae.onInnerResize,F=ae.innerProps,q=ae.rtl,M=ae.extra,U={},z={display:"flex",flexDirection:"column"};return c!==void 0&&(U={height:X,position:"relative",overflow:"hidden"},z=(0,K.Z)((0,K.Z)({},z),{},(0,G.Z)((0,G.Z)((0,G.Z)((0,G.Z)((0,G.Z)({transform:"translateY(".concat(c,"px)")},q?"marginRight":"marginLeft",-L),"position","absolute"),"left",0),"right",0),"top",0))),t.createElement("div",{style:U},t.createElement(e.Z,{onResize:function(ie){var we=ie.offsetHeight;we&&m&&m()}},t.createElement("div",(0,P.Z)({style:z,className:H()((0,G.Z)({},"".concat(x,"-holder-inner"),x)),ref:W},F),J,M)))});i.displayName="Filler";var o=i;function g(ae){var W=ae.children,X=ae.setRef,c=t.useCallback(function(L){X(L)},[]);return t.cloneElement(W,{ref:c})}function w(ae,W,X,c,L,J,x,m){var F=m.getKey;return ae.slice(W,X+1).map(function(q,M){var U=W+M,z=x(q,U,{style:{width:c},offsetX:L}),ce=F(q);return t.createElement(g,{key:ce,setRef:function(we){return J(q,we)}},z)})}function R(ae,W,X,c){var L=X-ae,J=W-X,x=Math.min(L,J)*2;if(c<=x){var m=Math.floor(c/2);return c%2?X+m+1:X-m}return L>J?X-(c-J):X+(c-L)}function _(ae,W,X){var c=ae.length,L=W.length,J,x;if(c===0&&L===0)return null;c<L?(J=ae,x=W):(J=W,x=ae);var m={__EMPTY_ITEM__:!0};function F(ie){return ie!==void 0?X(ie):m}for(var q=null,M=Math.abs(c-L)!==1,U=0;U<x.length;U+=1){var z=F(J[U]),ce=F(x[U]);if(z!==ce){q=U,M=M||z!==F(x[U+1]);break}}return q===null?null:{index:q,multiple:M}}function y(ae,W,X){var c=t.useState(ae),L=(0,j.Z)(c,2),J=L[0],x=L[1],m=t.useState(null),F=(0,j.Z)(m,2),q=F[0],M=F[1];return t.useEffect(function(){var U=_(J||[],ae||[],W);(U==null?void 0:U.index)!==void 0&&(X==null||X(U.index),M(ae[U.index])),x(ae)},[ae]),[q]}var d=l(16089),u=(typeof navigator=="undefined"?"undefined":(0,D.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),O=u,k=function(ae,W,X,c){var L=(0,t.useRef)(!1),J=(0,t.useRef)(null);function x(){clearTimeout(J.current),L.current=!0,J.current=setTimeout(function(){L.current=!1},50)}var m=(0,t.useRef)({top:ae,bottom:W,left:X,right:c});return m.current.top=ae,m.current.bottom=W,m.current.left=X,m.current.right=c,function(F,q){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,U=F?q<0&&m.current.left||q>0&&m.current.right:q<0&&m.current.top||q>0&&m.current.bottom;return M&&U?(clearTimeout(J.current),L.current=!1):(!U||L.current)&&x(),!L.current&&U}};function Z(ae,W,X,c,L,J,x){var m=(0,t.useRef)(0),F=(0,t.useRef)(null),q=(0,t.useRef)(null),M=(0,t.useRef)(!1),U=k(W,X,c,L);function z(Ke,ke){if(d.Z.cancel(F.current),!U(!1,ke)){var ue=Ke;if(!ue._virtualHandled)ue._virtualHandled=!0;else return;m.current+=ke,q.current=ke,O||ue.preventDefault(),F.current=(0,d.Z)(function(){var Le=M.current?10:1;x(m.current*Le,!1),m.current=0})}}function ce(Ke,ke){x(ke,!0),O||Ke.preventDefault()}var ie=(0,t.useRef)(null),we=(0,t.useRef)(null);function Me(Ke){if(ae){d.Z.cancel(we.current),we.current=(0,d.Z)(function(){ie.current=null},2);var ke=Ke.deltaX,ue=Ke.deltaY,Le=Ke.shiftKey,Pe=ke,Re=ue;(ie.current==="sx"||!ie.current&&Le&&ue&&!ke)&&(Pe=ue,Re=0,ie.current="sx");var dt=Math.abs(Pe),xt=Math.abs(Re);ie.current===null&&(ie.current=J&&dt>xt?"x":"y"),ie.current==="y"?z(Ke,Re):ce(Ke,Pe)}}function je(Ke){ae&&(M.current=Ke.detail===q.current)}return[Me,je]}function I(ae,W,X,c){var L=t.useMemo(function(){return[new Map,[]]},[ae,X.id,c]),J=(0,j.Z)(L,2),x=J[0],m=J[1],F=function(M){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:M,z=x.get(M),ce=x.get(U);if(z===void 0||ce===void 0)for(var ie=ae.length,we=m.length;we<ie;we+=1){var Me,je=ae[we],Ke=W(je);x.set(Ke,we);var ke=(Me=X.get(Ke))!==null&&Me!==void 0?Me:c;if(m[we]=(m[we-1]||0)+ke,Ke===M&&(z=we),Ke===U&&(ce=we),z!==void 0&&ce!==void 0)break}return{top:m[z-1]||0,bottom:m[ce]}};return F}var $=l(67732),B=l(83652),Ee=function(){function ae(){(0,$.Z)(this,ae),(0,G.Z)(this,"maps",void 0),(0,G.Z)(this,"id",0),(0,G.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,B.Z)(ae,[{key:"set",value:function(X,c){this.diffRecords.set(X,this.maps[X]),this.maps[X]=c,this.id+=1}},{key:"get",value:function(X){return this.maps[X]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),ae}(),C=Ee;function v(ae){var W=parseFloat(ae);return isNaN(W)?0:W}function E(ae,W,X){var c=t.useState(0),L=(0,j.Z)(c,2),J=L[0],x=L[1],m=(0,t.useRef)(new Map),F=(0,t.useRef)(new C),q=(0,t.useRef)(0);function M(){q.current+=1}function U(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;M();var ie=function(){var je=!1;m.current.forEach(function(Ke,ke){if(Ke&&Ke.offsetParent){var ue=Ke.offsetHeight,Le=getComputedStyle(Ke),Pe=Le.marginTop,Re=Le.marginBottom,dt=v(Pe),xt=v(Re),Ie=ue+dt+xt;F.current.get(ke)!==Ie&&(F.current.set(ke,Ie),je=!0)}}),je&&x(function(Ke){return Ke+1})};if(ce)ie();else{q.current+=1;var we=q.current;Promise.resolve().then(function(){we===q.current&&ie()})}}function z(ce,ie){var we=ae(ce),Me=m.current.get(we);ie?(m.current.set(we,ie),U()):m.current.delete(we),!Me!=!ie&&(ie?W==null||W(ce):X==null||X(ce))}return(0,t.useEffect)(function(){return M},[]),[z,U,F.current,J]}var N=14/15;function S(ae,W,X){var c=(0,t.useRef)(!1),L=(0,t.useRef)(0),J=(0,t.useRef)(0),x=(0,t.useRef)(null),m=(0,t.useRef)(null),F,q=function(ce){if(c.current){var ie=Math.ceil(ce.touches[0].pageX),we=Math.ceil(ce.touches[0].pageY),Me=L.current-ie,je=J.current-we,Ke=Math.abs(Me)>Math.abs(je);Ke?L.current=ie:J.current=we;var ke=X(Ke,Ke?Me:je,!1,ce);ke&&ce.preventDefault(),clearInterval(m.current),ke&&(m.current=setInterval(function(){Ke?Me*=N:je*=N;var ue=Math.floor(Ke?Me:je);(!X(Ke,ue,!0)||Math.abs(ue)<=.1)&&clearInterval(m.current)},16))}},M=function(){c.current=!1,F()},U=function(ce){F(),ce.touches.length===1&&!c.current&&(c.current=!0,L.current=Math.ceil(ce.touches[0].pageX),J.current=Math.ceil(ce.touches[0].pageY),x.current=ce.target,x.current.addEventListener("touchmove",q,{passive:!1}),x.current.addEventListener("touchend",M,{passive:!0}))};F=function(){x.current&&(x.current.removeEventListener("touchmove",q),x.current.removeEventListener("touchend",M))},(0,f.Z)(function(){return ae&&W.current.addEventListener("touchstart",U,{passive:!0}),function(){var z;(z=W.current)===null||z===void 0||z.removeEventListener("touchstart",U),F(),clearInterval(m.current)}},[ae])}function b(ae){return Math.floor(Math.pow(ae,.5))}function n(ae,W){var X="touches"in ae?ae.touches[0]:ae;return X[W?"pageX":"pageY"]-window[W?"scrollX":"scrollY"]}function a(ae,W,X){t.useEffect(function(){var c=W.current;if(ae&&c){var L=!1,J,x,m=function(){d.Z.cancel(J)},F=function z(){m(),J=(0,d.Z)(function(){X(x),z()})},q=function(){L=!1,m()},M=function(ce){if(!(ce.target.draggable||ce.button!==0)){var ie=ce;ie._virtualHandled||(ie._virtualHandled=!0,L=!0)}},U=function(ce){if(L){var ie=n(ce,!1),we=c.getBoundingClientRect(),Me=we.top,je=we.bottom;if(ie<=Me){var Ke=Me-ie;x=-b(Ke),F()}else if(ie>=je){var ke=ie-je;x=b(ke),F()}else m()}};return c.addEventListener("mousedown",M),c.ownerDocument.addEventListener("mouseup",q),c.ownerDocument.addEventListener("mousemove",U),c.ownerDocument.addEventListener("dragend",q),function(){c.removeEventListener("mousedown",M),c.ownerDocument.removeEventListener("mouseup",q),c.ownerDocument.removeEventListener("mousemove",U),c.ownerDocument.removeEventListener("dragend",q),m()}}},[ae])}var h=10;function T(ae,W,X,c,L,J,x,m){var F=t.useRef(),q=t.useState(null),M=(0,j.Z)(q,2),U=M[0],z=M[1];return(0,f.Z)(function(){if(U&&U.times<h){if(!ae.current){z(function(Ft){return(0,K.Z)({},Ft)});return}J();var ce=U.targetAlign,ie=U.originAlign,we=U.index,Me=U.offset,je=ae.current.clientHeight,Ke=!1,ke=ce,ue=null;if(je){for(var Le=ce||ie,Pe=0,Re=0,dt=0,xt=Math.min(W.length-1,we),Ie=0;Ie<=xt;Ie+=1){var Lt=L(W[Ie]);Re=Pe;var en=X.get(Lt);dt=Re+(en===void 0?c:en),Pe=dt}for(var ht=Le==="top"?Me:je-Me,ot=xt;ot>=0;ot-=1){var Kt=L(W[ot]),nn=X.get(Kt);if(nn===void 0){Ke=!0;break}if(ht-=nn,ht<=0)break}switch(Le){case"top":ue=Re-Me;break;case"bottom":ue=dt-je+Me;break;default:{var At=ae.current.scrollTop,gt=At+je;Re<At?ke="top":dt>gt&&(ke="bottom")}}ue!==null&&x(ue),ue!==U.lastTop&&(Ke=!0)}Ke&&z((0,K.Z)((0,K.Z)({},U),{},{times:U.times+1,targetAlign:ke,lastTop:ue}))}},[U,ae.current]),function(ce){if(ce==null){m();return}if(d.Z.cancel(F.current),typeof ce=="number")x(ce);else if(ce&&(0,D.Z)(ce)==="object"){var ie,we=ce.align;"index"in ce?ie=ce.index:ie=W.findIndex(function(Ke){return L(Ke)===ce.key});var Me=ce.offset,je=Me===void 0?0:Me;z({times:0,index:ie,offset:je,originAlign:we})}}}var re=t.forwardRef(function(ae,W){var X=ae.prefixCls,c=ae.rtl,L=ae.scrollOffset,J=ae.scrollRange,x=ae.onStartMove,m=ae.onStopMove,F=ae.onScroll,q=ae.horizontal,M=ae.spinSize,U=ae.containerSize,z=ae.style,ce=ae.thumbStyle,ie=ae.showScrollBar,we=t.useState(!1),Me=(0,j.Z)(we,2),je=Me[0],Ke=Me[1],ke=t.useState(null),ue=(0,j.Z)(ke,2),Le=ue[0],Pe=ue[1],Re=t.useState(null),dt=(0,j.Z)(Re,2),xt=dt[0],Ie=dt[1],Lt=!c,en=t.useRef(),ht=t.useRef(),ot=t.useState(ie),Kt=(0,j.Z)(ot,2),nn=Kt[0],At=Kt[1],gt=t.useRef(),Ft=function(){ie===!0||ie===!1||(clearTimeout(gt.current),At(!0),gt.current=setTimeout(function(){At(!1)},3e3))},vn=J-U||0,Mt=U-M||0,ut=t.useMemo(function(){if(L===0||vn===0)return 0;var Rn=L/vn;return Rn*Mt},[L,vn,Mt]),Et=function(On){On.stopPropagation(),On.preventDefault()},Zn=t.useRef({top:ut,dragging:je,pageY:Le,startTop:xt});Zn.current={top:ut,dragging:je,pageY:Le,startTop:xt};var mn=function(On){Ke(!0),Pe(n(On,q)),Ie(Zn.current.top),x(),On.stopPropagation(),On.preventDefault()};t.useEffect(function(){var Rn=function(st){st.preventDefault()},On=en.current,gn=ht.current;return On.addEventListener("touchstart",Rn,{passive:!1}),gn.addEventListener("touchstart",mn,{passive:!1}),function(){On.removeEventListener("touchstart",Rn),gn.removeEventListener("touchstart",mn)}},[]);var Ln=t.useRef();Ln.current=vn;var jn=t.useRef();jn.current=Mt,t.useEffect(function(){if(je){var Rn,On=function(st){var et=Zn.current,_t=et.dragging,an=et.pageY,Sn=et.startTop;d.Z.cancel(Rn);var ee=en.current.getBoundingClientRect(),Q=U/(q?ee.width:ee.height);if(_t){var We=(n(st,q)-an)*Q,Se=Sn;!Lt&&q?Se-=We:Se+=We;var He=Ln.current,qe=jn.current,Ve=qe?Se/qe:0,Ue=Math.ceil(Ve*He);Ue=Math.max(Ue,0),Ue=Math.min(Ue,He),Rn=(0,d.Z)(function(){F(Ue,q)})}},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),d.Z.cancel(Rn)}}},[je]),t.useEffect(function(){return Ft(),function(){clearTimeout(gt.current)}},[L]),t.useImperativeHandle(W,function(){return{delayHidden:Ft}});var bn="".concat(X,"-scrollbar"),Cn={position:"absolute",visibility:nn?null:"hidden"},Kn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return q?(Object.assign(Cn,{height:8,left:0,right:0,bottom:0}),Object.assign(Kn,(0,G.Z)({height:"100%",width:M},Lt?"left":"right",ut))):(Object.assign(Cn,(0,G.Z)({width:8,top:0,bottom:0},Lt?"right":"left",0)),Object.assign(Kn,{width:"100%",height:M,top:ut})),t.createElement("div",{ref:en,className:H()(bn,(0,G.Z)((0,G.Z)((0,G.Z)({},"".concat(bn,"-horizontal"),q),"".concat(bn,"-vertical"),!q),"".concat(bn,"-visible"),nn)),style:(0,K.Z)((0,K.Z)({},Cn),z),onMouseDown:Et,onMouseMove:Ft},t.createElement("div",{ref:ht,className:H()("".concat(bn,"-thumb"),(0,G.Z)({},"".concat(bn,"-thumb-moving"),je)),style:(0,K.Z)((0,K.Z)({},Kn),ce),onMouseDown:mn}))}),de=re,ve=20;function De(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,X=ae/W*ae;return isNaN(X)&&(X=0),X=Math.max(X,ve),Math.floor(X)}var Ae=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],vt=[],me={overflowY:"auto",overflowAnchor:"none"};function Xe(ae,W){var X=ae.prefixCls,c=X===void 0?"rc-virtual-list":X,L=ae.className,J=ae.height,x=ae.itemHeight,m=ae.fullHeight,F=m===void 0?!0:m,q=ae.style,M=ae.data,U=ae.children,z=ae.itemKey,ce=ae.virtual,ie=ae.direction,we=ae.scrollWidth,Me=ae.component,je=Me===void 0?"div":Me,Ke=ae.onScroll,ke=ae.onVirtualScroll,ue=ae.onVisibleChange,Le=ae.innerProps,Pe=ae.extraRender,Re=ae.styles,dt=ae.showScrollBar,xt=dt===void 0?"optional":dt,Ie=(0,p.Z)(ae,Ae),Lt=t.useCallback(function(ne){return typeof z=="function"?z(ne):ne==null?void 0:ne[z]},[z]),en=E(Lt,null,null),ht=(0,j.Z)(en,4),ot=ht[0],Kt=ht[1],nn=ht[2],At=ht[3],gt=!!(ce!==!1&&J&&x),Ft=t.useMemo(function(){return Object.values(nn.maps).reduce(function(ne,le){return ne+le},0)},[nn.id,nn.maps]),vn=gt&&M&&(Math.max(x*M.length,Ft)>J||!!we),Mt=ie==="rtl",ut=H()(c,(0,G.Z)({},"".concat(c,"-rtl"),Mt),L),Et=M||vt,Zn=(0,t.useRef)(),mn=(0,t.useRef)(),Ln=(0,t.useRef)(),jn=(0,t.useState)(0),bn=(0,j.Z)(jn,2),Cn=bn[0],Kn=bn[1],Rn=(0,t.useState)(0),On=(0,j.Z)(Rn,2),gn=On[0],Dn=On[1],st=(0,t.useState)(!1),et=(0,j.Z)(st,2),_t=et[0],an=et[1],Sn=function(){an(!0)},ee=function(){an(!1)},Q={getKey:Lt};function We(ne){Kn(function(le){var he;typeof ne=="function"?he=ne(le):he=ne;var ye=cn(he);return Zn.current.scrollTop=ye,ye})}var Se=(0,t.useRef)({start:0,end:Et.length}),He=(0,t.useRef)(),qe=y(Et,Lt),Ve=(0,j.Z)(qe,1),Ue=Ve[0];He.current=Ue;var at=t.useMemo(function(){if(!gt)return{scrollHeight:void 0,start:0,end:Et.length-1,offset:void 0};if(!vn){var ne;return{scrollHeight:((ne=mn.current)===null||ne===void 0?void 0:ne.offsetHeight)||0,start:0,end:Et.length-1,offset:void 0}}for(var le=0,he,ye,Ce,Ye=Et.length,pt=0;pt<Ye;pt+=1){var it=Et[pt],kt=Lt(it),Ut=nn.get(kt),Tt=le+(Ut===void 0?x:Ut);Tt>=Cn&&he===void 0&&(he=pt,ye=le),Tt>Cn+J&&Ce===void 0&&(Ce=pt),le=Tt}return he===void 0&&(he=0,ye=0,Ce=Math.ceil(J/x)),Ce===void 0&&(Ce=Et.length-1),Ce=Math.min(Ce+1,Et.length-1),{scrollHeight:le,start:he,end:Ce,offset:ye}},[vn,gt,Cn,Et,At,J]),$e=at.scrollHeight,nt=at.start,ct=at.end,tt=at.offset;Se.current.start=nt,Se.current.end=ct,t.useLayoutEffect(function(){var ne=nn.getRecord();if(ne.size===1){var le=Array.from(ne.keys())[0],he=ne.get(le),ye=Et[nt];if(ye&&he===void 0){var Ce=Lt(ye);if(Ce===le){var Ye=nn.get(le),pt=Ye-x;We(function(it){return it+pt})}}}nn.resetRecord()},[$e]);var ze=t.useState({width:0,height:J}),Y=(0,j.Z)(ze,2),fe=Y[0],pe=Y[1],ge=function(le){pe({width:le.offsetWidth,height:le.offsetHeight})},Fe=(0,t.useRef)(),Ge=(0,t.useRef)(),Je=t.useMemo(function(){return De(fe.width,we)},[fe.width,we]),lt=t.useMemo(function(){return De(fe.height,$e)},[fe.height,$e]),yt=$e-J,St=(0,t.useRef)(yt);St.current=yt;function cn(ne){var le=ne;return Number.isNaN(St.current)||(le=Math.min(le,St.current)),le=Math.max(le,0),le}var Rt=Cn<=0,Pt=Cn>=yt,zt=gn<=0,Gt=gn>=we,Vt=k(Rt,Pt,zt,Gt),Nt=function(){return{x:Mt?-gn:gn,y:Cn}},Dt=(0,t.useRef)(Nt()),rt=(0,s.zX)(function(ne){if(ke){var le=(0,K.Z)((0,K.Z)({},Nt()),ne);(Dt.current.x!==le.x||Dt.current.y!==le.y)&&(ke(le),Dt.current=le)}});function ft(ne,le){var he=ne;le?((0,r.flushSync)(function(){Dn(he)}),rt()):We(he)}function mt(ne){var le=ne.currentTarget.scrollTop;le!==Cn&&We(le),Ke==null||Ke(ne),rt()}var Yt=function(le){var he=le,ye=we?we-fe.width:0;return he=Math.max(he,0),he=Math.min(he,ye),he},It=(0,s.zX)(function(ne,le){le?((0,r.flushSync)(function(){Dn(function(he){var ye=he+(Mt?-ne:ne);return Yt(ye)})}),rt()):We(function(he){var ye=he+ne;return ye})}),Ht=Z(gt,Rt,Pt,zt,Gt,!!we,It),Tn=(0,j.Z)(Ht,2),A=Tn[0],oe=Tn[1];S(gt,Zn,function(ne,le,he,ye){var Ce=ye;return Vt(ne,le,he)?!1:!Ce||!Ce._virtualHandled?(Ce&&(Ce._virtualHandled=!0),A({preventDefault:function(){},deltaX:ne?le:0,deltaY:ne?0:le}),!0):!1}),a(vn,Zn,function(ne){We(function(le){return le+ne})}),(0,f.Z)(function(){function ne(he){var ye=Rt&&he.detail<0,Ce=Pt&&he.detail>0;gt&&!ye&&!Ce&&he.preventDefault()}var le=Zn.current;return le.addEventListener("wheel",A,{passive:!1}),le.addEventListener("DOMMouseScroll",oe,{passive:!0}),le.addEventListener("MozMousePixelScroll",ne,{passive:!1}),function(){le.removeEventListener("wheel",A),le.removeEventListener("DOMMouseScroll",oe),le.removeEventListener("MozMousePixelScroll",ne)}},[gt,Rt,Pt]),(0,f.Z)(function(){if(we){var ne=Yt(gn);Dn(ne),rt({x:ne})}},[fe.width,we]);var te=function(){var le,he;(le=Fe.current)===null||le===void 0||le.delayHidden(),(he=Ge.current)===null||he===void 0||he.delayHidden()},se=T(Zn,Et,nn,x,Lt,function(){return Kt(!0)},We,te);t.useImperativeHandle(W,function(){return{nativeElement:Ln.current,getScrollInfo:Nt,scrollTo:function(le){function he(ye){return ye&&(0,D.Z)(ye)==="object"&&("left"in ye||"top"in ye)}he(le)?(le.left!==void 0&&Dn(Yt(le.left)),se(le.top)):se(le)}}}),(0,f.Z)(function(){if(ue){var ne=Et.slice(nt,ct+1);ue(ne,Et)}},[nt,ct,Et]);var _e=I(Et,Lt,nn,x),be=Pe==null?void 0:Pe({start:nt,end:ct,virtual:vn,offsetX:gn,offsetY:tt,rtl:Mt,getSize:_e}),Be=w(Et,nt,ct,we,gn,ot,U,Q),Oe=null;J&&(Oe=(0,K.Z)((0,G.Z)({},F?"height":"maxHeight",J),me),gt&&(Oe.overflowY="hidden",we&&(Oe.overflowX="hidden"),_t&&(Oe.pointerEvents="none")));var xe={};return Mt&&(xe.dir="rtl"),t.createElement("div",(0,P.Z)({ref:Ln,style:(0,K.Z)((0,K.Z)({},q),{},{position:"relative"}),className:ut},xe,Ie),t.createElement(e.Z,{onResize:ge},t.createElement(je,{className:"".concat(c,"-holder"),style:Oe,ref:Zn,onScroll:mt,onMouseEnter:te},t.createElement(o,{prefixCls:c,height:$e,offsetX:gn,offsetY:tt,scrollWidth:we,onInnerResize:Kt,ref:mn,innerProps:Le,rtl:Mt,extra:be},Be))),vn&&$e>J&&t.createElement(de,{ref:Fe,prefixCls:c,scrollOffset:Cn,scrollRange:$e,rtl:Mt,onScroll:ft,onStartMove:Sn,onStopMove:ee,spinSize:lt,containerSize:fe.height,style:Re==null?void 0:Re.verticalScrollBar,thumbStyle:Re==null?void 0:Re.verticalScrollBarThumb,showScrollBar:xt}),vn&&we>fe.width&&t.createElement(de,{ref:Ge,prefixCls:c,scrollOffset:gn,scrollRange:we,rtl:Mt,onScroll:ft,onStartMove:Sn,onStopMove:ee,spinSize:Je,containerSize:fe.width,horizontal:!0,style:Re==null?void 0:Re.horizontalScrollBar,thumbStyle:Re==null?void 0:Re.horizontalScrollBarThumb,showScrollBar:xt}))}var Ne=t.forwardRef(Xe);Ne.displayName="List";var Qe=Ne,Te=Qe},83145:function(Bt,Ze,l){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.CopyToClipboard=void 0;var P=K(l(59301)),D=K(l(25769));function K(_){return _&&_.__esModule?_:{default:_}}function G(_){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?G=function(d){return typeof d}:G=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},G(_)}function j(_,y){var d=Object.keys(_);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(_);y&&(u=u.filter(function(O){return Object.getOwnPropertyDescriptor(_,O).enumerable})),d.push.apply(d,u)}return d}function p(_){for(var y=1;y<arguments.length;y++){var d=arguments[y]!=null?arguments[y]:{};y%2?j(d,!0).forEach(function(u){w(_,u,d[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(d)):j(d).forEach(function(u){Object.defineProperty(_,u,Object.getOwnPropertyDescriptor(d,u))})}return _}function V(_,y){if(_==null)return{};var d=H(_,y),u,O;if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(_);for(O=0;O<k.length;O++)u=k[O],!(y.indexOf(u)>=0)&&Object.prototype.propertyIsEnumerable.call(_,u)&&(d[u]=_[u])}return d}function H(_,y){if(_==null)return{};var d={},u=Object.keys(_),O,k;for(k=0;k<u.length;k++)O=u[k],!(y.indexOf(O)>=0)&&(d[O]=_[O]);return d}function e(_,y){if(!(_ instanceof y))throw new TypeError("Cannot call a class as a function")}function s(_,y){for(var d=0;d<y.length;d++){var u=y[d];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(_,u.key,u)}}function f(_,y,d){return y&&s(_.prototype,y),d&&s(_,d),_}function t(_,y){return y&&(G(y)==="object"||typeof y=="function")?y:i(_)}function r(_){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(d){return d.__proto__||Object.getPrototypeOf(d)},r(_)}function i(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function o(_,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(y&&y.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),y&&g(_,y)}function g(_,y){return g=Object.setPrototypeOf||function(u,O){return u.__proto__=O,u},g(_,y)}function w(_,y,d){return y in _?Object.defineProperty(_,y,{value:d,enumerable:!0,configurable:!0,writable:!0}):_[y]=d,_}var R=function(_){o(y,_);function y(){var d,u;e(this,y);for(var O=arguments.length,k=new Array(O),Z=0;Z<O;Z++)k[Z]=arguments[Z];return u=t(this,(d=r(y)).call.apply(d,[this].concat(k))),w(i(u),"onClick",function(I){var $=u.props,B=$.text,Ee=$.onCopy,C=$.children,v=$.options,E=P.default.Children.only(C),N=(0,D.default)(B,v);Ee&&Ee(B,N),E&&E.props&&typeof E.props.onClick=="function"&&E.props.onClick(I)}),u}return f(y,[{key:"render",value:function(){var u=this.props,O=u.text,k=u.onCopy,Z=u.options,I=u.children,$=V(u,["text","onCopy","options","children"]),B=P.default.Children.only(I);return P.default.cloneElement(B,p({},$,{onClick:this.onClick}))}}]),y}(P.default.PureComponent);Ze.CopyToClipboard=R,w(R,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(Bt,Ze,l){"use strict";var P=l(83145),D=P.CopyToClipboard;D.CopyToClipboard=D,Bt.exports=D},76374:function(Bt,Ze,l){"use strict";var P=function(){if(typeof Map!="undefined")return Map;function C(v,E){var N=-1;return v.some(function(S,b){return S[0]===E?(N=b,!0):!1}),N}return function(){function v(){this.__entries__=[]}return Object.defineProperty(v.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),v.prototype.get=function(E){var N=C(this.__entries__,E),S=this.__entries__[N];return S&&S[1]},v.prototype.set=function(E,N){var S=C(this.__entries__,E);~S?this.__entries__[S][1]=N:this.__entries__.push([E,N])},v.prototype.delete=function(E){var N=this.__entries__,S=C(N,E);~S&&N.splice(S,1)},v.prototype.has=function(E){return!!~C(this.__entries__,E)},v.prototype.clear=function(){this.__entries__.splice(0)},v.prototype.forEach=function(E,N){N===void 0&&(N=null);for(var S=0,b=this.__entries__;S<b.length;S++){var n=b[S];E.call(N,n[1],n[0])}},v}()}(),D=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,K=function(){return typeof l.g!="undefined"&&l.g.Math===Math?l.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),G=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(K):function(C){return setTimeout(function(){return C(Date.now())},1e3/60)}}(),j=2;function p(C,v){var E=!1,N=!1,S=0;function b(){E&&(E=!1,C()),N&&a()}function n(){G(b)}function a(){var h=Date.now();if(E){if(h-S<j)return;N=!0}else E=!0,N=!1,setTimeout(n,v);S=h}return a}var V=20,H=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",s=function(){function C(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=p(this.refresh.bind(this),V)}return C.prototype.addObserver=function(v){~this.observers_.indexOf(v)||this.observers_.push(v),this.connected_||this.connect_()},C.prototype.removeObserver=function(v){var E=this.observers_,N=E.indexOf(v);~N&&E.splice(N,1),!E.length&&this.connected_&&this.disconnect_()},C.prototype.refresh=function(){var v=this.updateObservers_();v&&this.refresh()},C.prototype.updateObservers_=function(){var v=this.observers_.filter(function(E){return E.gatherActive(),E.hasActive()});return v.forEach(function(E){return E.broadcastActive()}),v.length>0},C.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)},C.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)},C.prototype.onTransitionEnd_=function(v){var E=v.propertyName,N=E===void 0?"":E,S=H.some(function(b){return!!~N.indexOf(b)});S&&this.refresh()},C.getInstance=function(){return this.instance_||(this.instance_=new C),this.instance_},C.instance_=null,C}(),f=function(C,v){for(var E=0,N=Object.keys(v);E<N.length;E++){var S=N[E];Object.defineProperty(C,S,{value:v[S],enumerable:!1,writable:!1,configurable:!0})}return C},t=function(C){var v=C&&C.ownerDocument&&C.ownerDocument.defaultView;return v||K},r=O(0,0,0,0);function i(C){return parseFloat(C)||0}function o(C){for(var v=[],E=1;E<arguments.length;E++)v[E-1]=arguments[E];return v.reduce(function(N,S){var b=C["border-"+S+"-width"];return N+i(b)},0)}function g(C){for(var v=["top","right","bottom","left"],E={},N=0,S=v;N<S.length;N++){var b=S[N],n=C["padding-"+b];E[b]=i(n)}return E}function w(C){var v=C.getBBox();return O(0,0,v.width,v.height)}function R(C){var v=C.clientWidth,E=C.clientHeight;if(!v&&!E)return r;var N=t(C).getComputedStyle(C),S=g(N),b=S.left+S.right,n=S.top+S.bottom,a=i(N.width),h=i(N.height);if(N.boxSizing==="border-box"&&(Math.round(a+b)!==v&&(a-=o(N,"left","right")+b),Math.round(h+n)!==E&&(h-=o(N,"top","bottom")+n)),!y(C)){var T=Math.round(a+b)-v,re=Math.round(h+n)-E;Math.abs(T)!==1&&(a-=T),Math.abs(re)!==1&&(h-=re)}return O(S.left,S.top,a,h)}var _=function(){return typeof SVGGraphicsElement!="undefined"?function(C){return C instanceof t(C).SVGGraphicsElement}:function(C){return C instanceof t(C).SVGElement&&typeof C.getBBox=="function"}}();function y(C){return C===t(C).document.documentElement}function d(C){return D?_(C)?w(C):R(C):r}function u(C){var v=C.x,E=C.y,N=C.width,S=C.height,b=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,n=Object.create(b.prototype);return f(n,{x:v,y:E,width:N,height:S,top:E,right:v+N,bottom:S+E,left:v}),n}function O(C,v,E,N){return{x:C,y:v,width:E,height:N}}var k=function(){function C(v){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=O(0,0,0,0),this.target=v}return C.prototype.isActive=function(){var v=d(this.target);return this.contentRect_=v,v.width!==this.broadcastWidth||v.height!==this.broadcastHeight},C.prototype.broadcastRect=function(){var v=this.contentRect_;return this.broadcastWidth=v.width,this.broadcastHeight=v.height,v},C}(),Z=function(){function C(v,E){var N=u(E);f(this,{target:v,contentRect:N})}return C}(),I=function(){function C(v,E,N){if(this.activeObservations_=[],this.observations_=new P,typeof v!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=v,this.controller_=E,this.callbackCtx_=N}return C.prototype.observe=function(v){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(v instanceof t(v).Element))throw new TypeError('parameter 1 is not of type "Element".');var E=this.observations_;E.has(v)||(E.set(v,new k(v)),this.controller_.addObserver(this),this.controller_.refresh())}},C.prototype.unobserve=function(v){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(v instanceof t(v).Element))throw new TypeError('parameter 1 is not of type "Element".');var E=this.observations_;E.has(v)&&(E.delete(v),E.size||this.controller_.removeObserver(this))}},C.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},C.prototype.gatherActive=function(){var v=this;this.clearActive(),this.observations_.forEach(function(E){E.isActive()&&v.activeObservations_.push(E)})},C.prototype.broadcastActive=function(){if(this.hasActive()){var v=this.callbackCtx_,E=this.activeObservations_.map(function(N){return new Z(N.target,N.broadcastRect())});this.callback_.call(v,E,v),this.clearActive()}},C.prototype.clearActive=function(){this.activeObservations_.splice(0)},C.prototype.hasActive=function(){return this.activeObservations_.length>0},C}(),$=typeof WeakMap!="undefined"?new WeakMap:new P,B=function(){function C(v){if(!(this instanceof C))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var E=s.getInstance(),N=new I(v,E,this);$.set(this,N)}return C}();["observe","unobserve","disconnect"].forEach(function(C){B.prototype[C]=function(){var v;return(v=$.get(this))[C].apply(v,arguments)}});var Ee=function(){return typeof K.ResizeObserver!="undefined"?K.ResizeObserver:B}();Ze.Z=Ee},98040:function(Bt){Bt.exports=function(){var Ze=document.getSelection();if(!Ze.rangeCount)return function(){};for(var l=document.activeElement,P=[],D=0;D<Ze.rangeCount;D++)P.push(Ze.getRangeAt(D));switch(l.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":l.blur();break;default:l=null;break}return Ze.removeAllRanges(),function(){Ze.type==="Caret"&&Ze.removeAllRanges(),Ze.rangeCount||P.forEach(function(K){Ze.addRange(K)}),l&&l.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=="},16722:function(Bt,Ze,l){"use strict";l.d(Ze,{Z:function(){return H}});const P=e=>typeof e=="object"&&e!=null&&e.nodeType===1,D=(e,s)=>(!s||e!=="hidden")&&e!=="visible"&&e!=="clip",K=(e,s)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const f=getComputedStyle(e,null);return D(f.overflowY,s)||D(f.overflowX,s)||(t=>{const r=(i=>{if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch(o){return null}})(t);return!!r&&(r.clientHeight<t.scrollHeight||r.clientWidth<t.scrollWidth)})(e)}return!1},G=(e,s,f,t,r,i,o,g)=>i<e&&o>s||i>e&&o<s?0:i<=e&&g<=f||o>=s&&g>=f?i-e-t:o>s&&g<f||i<e&&g>f?o-s+r:0,j=e=>{const s=e.parentElement;return s==null?e.getRootNode().host||null:s},p=(e,s)=>{var f,t,r,i;if(typeof document=="undefined")return[];const{scrollMode:o,block:g,inline:w,boundary:R,skipOverflowHiddenElements:_}=s,y=typeof R=="function"?R:de=>de!==R;if(!P(e))throw new TypeError("Invalid target");const d=document.scrollingElement||document.documentElement,u=[];let O=e;for(;P(O)&&y(O);){if(O=j(O),O===d){u.push(O);break}O!=null&&O===document.body&&K(O)&&!K(document.documentElement)||O!=null&&K(O,_)&&u.push(O)}const k=(t=(f=window.visualViewport)==null?void 0:f.width)!=null?t:innerWidth,Z=(i=(r=window.visualViewport)==null?void 0:r.height)!=null?i:innerHeight,{scrollX:I,scrollY:$}=window,{height:B,width:Ee,top:C,right:v,bottom:E,left:N}=e.getBoundingClientRect(),{top:S,right:b,bottom:n,left:a}=(de=>{const ve=window.getComputedStyle(de);return{top:parseFloat(ve.scrollMarginTop)||0,right:parseFloat(ve.scrollMarginRight)||0,bottom:parseFloat(ve.scrollMarginBottom)||0,left:parseFloat(ve.scrollMarginLeft)||0}})(e);let h=g==="start"||g==="nearest"?C-S:g==="end"?E+n:C+B/2-S+n,T=w==="center"?N+Ee/2-a+b:w==="end"?v+b:N-a;const re=[];for(let de=0;de<u.length;de++){const ve=u[de],{height:De,width:Ae,top:vt,right:me,bottom:Xe,left:Ne}=ve.getBoundingClientRect();if(o==="if-needed"&&C>=0&&N>=0&&E<=Z&&v<=k&&(ve===d&&!K(ve)||C>=vt&&E<=Xe&&N>=Ne&&v<=me))return re;const Qe=getComputedStyle(ve),Te=parseInt(Qe.borderLeftWidth,10),ae=parseInt(Qe.borderTopWidth,10),W=parseInt(Qe.borderRightWidth,10),X=parseInt(Qe.borderBottomWidth,10);let c=0,L=0;const J="offsetWidth"in ve?ve.offsetWidth-ve.clientWidth-Te-W:0,x="offsetHeight"in ve?ve.offsetHeight-ve.clientHeight-ae-X:0,m="offsetWidth"in ve?ve.offsetWidth===0?0:Ae/ve.offsetWidth:0,F="offsetHeight"in ve?ve.offsetHeight===0?0:De/ve.offsetHeight:0;if(d===ve)c=g==="start"?h:g==="end"?h-Z:g==="nearest"?G($,$+Z,Z,ae,X,$+h,$+h+B,B):h-Z/2,L=w==="start"?T:w==="center"?T-k/2:w==="end"?T-k:G(I,I+k,k,Te,W,I+T,I+T+Ee,Ee),c=Math.max(0,c+$),L=Math.max(0,L+I);else{c=g==="start"?h-vt-ae:g==="end"?h-Xe+X+x:g==="nearest"?G(vt,Xe,De,ae,X+x,h,h+B,B):h-(vt+De/2)+x/2,L=w==="start"?T-Ne-Te:w==="center"?T-(Ne+Ae/2)+J/2:w==="end"?T-me+W+J:G(Ne,me,Ae,Te,W+J,T,T+Ee,Ee);const{scrollLeft:q,scrollTop:M}=ve;c=F===0?0:Math.max(0,Math.min(M+c/F,ve.scrollHeight-De/F+x)),L=m===0?0:Math.max(0,Math.min(q+L/m,ve.scrollWidth-Ae/m+J)),h+=M-c,T+=q-L}re.push({el:ve,top:c,left:L})}return re},V=e=>e===!1?{block:"end",inline:"nearest"}:(s=>s===Object(s)&&Object.keys(s).length!==0)(e)?e:{block:"start",inline:"nearest"};function H(e,s){if(!e.isConnected||!(r=>{let i=r;for(;i&&i.parentNode;){if(i.parentNode===document)return!0;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1})(e))return;const f=(r=>{const i=window.getComputedStyle(r);return{top:parseFloat(i.scrollMarginTop)||0,right:parseFloat(i.scrollMarginRight)||0,bottom:parseFloat(i.scrollMarginBottom)||0,left:parseFloat(i.scrollMarginLeft)||0}})(e);if((r=>typeof r=="object"&&typeof r.behavior=="function")(s))return s.behavior(p(e,s));const t=typeof s=="boolean"||s==null?void 0:s.behavior;for(const{el:r,top:i,left:o}of p(e,V(s))){const g=i-f.top+f.bottom,w=o-f.left+f.right;r.scroll({top:g,left:w,behavior:t})}}}}]);