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.
94 lines
562 KiB
94 lines
562 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[5775],{65030:function(Bt,Be,l){"use strict";l.d(Be,{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 Y=W.prefixCls,c=W.align,L=W.arrow,X=W.arrowPos,x=L||{},m=x.className,F=x.content,q=X.x,A=q===void 0?0:q,U=X.y,z=U===void 0?0:U,ue=i.useRef();if(!c||!c.points)return null;var oe={position:"absolute"};if(c.autoArrow!==!1){var we=c.points[0],Ke=c.points[1],We=we[0],ze=we[1],Me=Ke[0],ce=Ke[1];We===Me||!["t","b"].includes(We)?oe.top=z:We==="t"?oe.top=0:oe.bottom=0,ze===ce||!["l","r"].includes(ze)?oe.left=A:ze==="l"?oe.left=0:oe.right=0}return i.createElement("div",{ref:ue,className:p()("".concat(Y,"-arrow"),m),style:oe},F)}function _(W){var Y=W.prefixCls,c=W.open,L=W.zIndex,X=W.mask,x=W.motion;return X?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(Y,"-mask"),F)})}):null}var y=i.memo(function(W){var Y=W.children;return Y},function(W,Y){return Y.cache}),d=y,u=i.forwardRef(function(W,Y){var c=W.popup,L=W.className,X=W.prefixCls,x=W.style,m=W.target,F=W.onVisibleChanged,q=W.open,A=W.keepDom,U=W.fresh,z=W.onClick,ue=W.mask,oe=W.arrow,we=W.arrowPos,Ke=W.align,We=W.motion,ze=W.maskMotion,Me=W.forceRender,ce=W.getPopupContainer,Fe=W.autoDestroy,De=W.portal,Pe=W.zIndex,dt=W.onMouseEnter,xt=W.onMouseLeave,Ae=W.onPointerEnter,Zt=W.onPointerDownCapture,tn=W.ready,_t=W.offsetX,ot=W.offsetY,Lt=W.offsetR,nn=W.offsetB,It=W.onAlign,vt=W.onPrepare,Kt=W.stretch,mn=W.targetWidth,Ft=W.targetHeight,lt=typeof c=="function"?c():c,Ct=q||A,In=(ce==null?void 0:ce.length)>0,bn=i.useState(!ce||!In),An=(0,D.Z)(bn,2),jn=An[0],gn=An[1];if((0,t.Z)(function(){!jn&&In&&m&&gn(!0)},[jn,In,m]),!jn)return null;var Sn="auto",Ln={left:"-1000vw",top:"-1000vh",right:Sn,bottom:Sn};if(tn||!q){var Fn,On=Ke.points,vn=Ke.dynamicInset||((Fn=Ke._experimental)===null||Fn===void 0?void 0:Fn.dynamicInset),Zn=vn&&On[0][1]==="r",st=vn&&On[0][0]==="b";Zn?(Ln.right=Lt,Ln.left=Sn):(Ln.left=_t,Ln.right=Sn),st?(Ln.bottom=nn,Ln.top=Sn):(Ln.top=ot,Ln.bottom=Sn)}var Ge={};return Kt&&(Kt.includes("height")&&Ft?Ge.height=Ft:Kt.includes("minHeight")&&Ft&&(Ge.minHeight=Ft),Kt.includes("width")&&mn?Ge.width=mn:Kt.includes("minWidth")&&mn&&(Ge.minWidth=mn)),q||(Ge.pointerEvents="none"),i.createElement(De,{open:Me||Ct,getContainer:ce&&function(){return ce(m)},autoDestroy:Fe},i.createElement(_,{prefixCls:X,open:q,zIndex:Pe,mask:ue,motion:ze}),i.createElement(V.Z,{onResize:It,disabled:!q},function(ht){return i.createElement(g.default,(0,o.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Me,leavedClassName:"".concat(X,"-hidden")},We,{onAppearPrepare:vt,onEnterPrepare:vt,visible:q,onVisibleChanged:function(yn){var ee;We==null||(ee=We.onVisibleChanged)===null||ee===void 0||ee.call(We,yn),F(yn)}}),function(un,yn){var ee=un.className,J=un.style,Ue=p()(X,ee,L);return i.createElement("div",{ref:(0,w.sQ)(ht,Y,yn),className:Ue,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")},Ln),Ge),J),{},{boxSizing:"border-box",zIndex:Pe},x),onMouseEnter:dt,onMouseLeave:xt,onPointerEnter:Ae,onClick:z,onPointerDownCapture:Zt},oe&&i.createElement(R,{prefixCls:X,arrow:oe,arrowPos:we,align:Ke}),i.createElement(d,{cache:!q&&!U},lt))})}))}),O=u,k=i.forwardRef(function(W,Y){var c=W.children,L=W.getTriggerDOMNode,X=(0,w.Yr)(c),x=i.useCallback(function(F){(0,w.mH)(Y,L?L(F):F)},[L]),m=(0,w.x1)(x,(0,w.C4)(c));return X?i.cloneElement(c,{ref:m}):c}),Z=k,I=i.createContext(null),$=I;function B(W){return W?Array.isArray(W)?W:[W]:[]}function Ce(W,Y,c,L){return i.useMemo(function(){var X=B(c!=null?c:Y),x=B(L!=null?L:Y),m=new Set(X),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,Y,c,L])}var C=l(29194);function v(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],c=arguments.length>2?arguments[2]:void 0;return c?W[0]===Y[0]:W[0]===Y[0]&&W[1]===Y[1]}function E(W,Y,c,L){for(var X=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,X,L))return"".concat(Y,"-placement-").concat(q)}return""}function N(W,Y,c,L){return Y||(c?{motionName:"".concat(W,"-").concat(c)}:L?{motionName:L}:null)}function S(W){return W.ownerDocument.defaultView}function b(W){for(var Y=[],c=W==null?void 0:W.parentElement,L=["hidden","scroll","clip","auto"];c;){var X=S(c).getComputedStyle(c),x=X.overflowX,m=X.overflowY,F=X.overflow;[x,m,F].some(function(q){return L.includes(q)})&&Y.push(c),c=c.parentElement}return Y}function n(W){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(W)?Y:W}function a(W){return n(parseFloat(W),0)}function h(W,Y){var c=(0,P.Z)({},W);return(Y||[]).forEach(function(L){if(!(L instanceof HTMLBodyElement||L instanceof HTMLHtmlElement)){var X=S(L).getComputedStyle(L),x=X.overflow,m=X.overflowClipMargin,F=X.borderTopWidth,q=X.borderBottomWidth,A=X.borderLeftWidth,U=X.borderRightWidth,z=L.getBoundingClientRect(),ue=L.offsetHeight,oe=L.clientHeight,we=L.offsetWidth,Ke=L.clientWidth,We=a(F),ze=a(q),Me=a(A),ce=a(U),Fe=n(Math.round(z.width/we*1e3)/1e3),De=n(Math.round(z.height/ue*1e3)/1e3),Pe=(we-Ke-Me-ce)*Fe,dt=(ue-oe-We-ze)*De,xt=We*De,Ae=ze*De,Zt=Me*Fe,tn=ce*Fe,_t=0,ot=0;if(x==="clip"){var Lt=a(m);_t=Lt*Fe,ot=Lt*De}var nn=z.x+Zt-_t,It=z.y+xt-ot,vt=nn+z.width+2*_t-Zt-tn-Pe,Kt=It+z.height+2*ot-xt-Ae-dt;c.left=Math.max(c.left,nn),c.top=Math.max(c.top,It),c.right=Math.min(c.right,vt),c.bottom=Math.min(c.bottom,Kt)}}),c}function T(W){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,c="".concat(Y),L=c.match(/^(.*)\%$/);return L?W*(parseFloat(L[1])/100):parseFloat(c)}function re(W,Y){var c=Y||[],L=(0,D.Z)(c,2),X=L[0],x=L[1];return[T(W.width,X),T(W.height,x)]}function fe(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[W[0],W[1]]}function ve(W,Y){var c=Y[0],L=Y[1],X,x;return c==="t"?x=W.y:c==="b"?x=W.y+W.height:x=W.y+W.height/2,L==="l"?X=W.x:L==="r"?X=W.x+W.width:X=W.x+W.width/2,{x:X,y:x}}function Te(W,Y){var c={t:"b",b:"t",l:"r",r:"l"};return W.map(function(L,X){return X===Y?c[L]||"c":L}).join("")}function Ze(W,Y,c,L,X,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:X[L]||{}}),q=(0,D.Z)(F,2),A=q[0],U=q[1],z=i.useRef(0),ue=i.useMemo(function(){return Y?b(Y):[]},[Y]),oe=i.useRef({}),we=function(){oe.current={}};W||we();var Ke=(0,s.Z)(function(){if(Y&&c&&W){let Cn=function(Rn,Ot){var qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Je,en=Ct.x+Rn,an=Ct.y+Ot,Pn=en+st,Kn=an+Zn,ir=Math.max(en,qt.left),wt=Math.max(an,qt.top),$t=Math.min(Pn,qt.right),Wt=Math.min(Kn,qt.bottom);return Math.max(0,($t-ir)*(Wt-wt))},En=function(){xe=Ct.y+Dt,je=xe+Zn,ke=Ct.x+Rt,Ee=ke+st};var Me,ce,Fe,De,Pe=Y,dt=Pe.ownerDocument,xt=S(Pe),Ae=xt.getComputedStyle(Pe),Zt=Ae.position,tn=Pe.style.left,_t=Pe.style.top,ot=Pe.style.right,Lt=Pe.style.bottom,nn=Pe.style.overflow,It=(0,P.Z)((0,P.Z)({},X[L]),x),vt=dt.createElement("div");(Me=Pe.parentElement)===null||Me===void 0||Me.appendChild(vt),vt.style.left="".concat(Pe.offsetLeft,"px"),vt.style.top="".concat(Pe.offsetTop,"px"),vt.style.position=Zt,vt.style.height="".concat(Pe.offsetHeight,"px"),vt.style.width="".concat(Pe.offsetWidth,"px"),Pe.style.left="0",Pe.style.top="0",Pe.style.right="auto",Pe.style.bottom="auto",Pe.style.overflow="hidden";var Kt;if(Array.isArray(c))Kt={x:c[0],y:c[1],width:0,height:0};else{var mn,Ft,lt=c.getBoundingClientRect();lt.x=(mn=lt.x)!==null&&mn!==void 0?mn:lt.left,lt.y=(Ft=lt.y)!==null&&Ft!==void 0?Ft:lt.top,Kt={x:lt.x,y:lt.y,width:lt.width,height:lt.height}}var Ct=Pe.getBoundingClientRect(),In=xt.getComputedStyle(Pe),bn=In.height,An=In.width;Ct.x=(ce=Ct.x)!==null&&ce!==void 0?ce:Ct.left,Ct.y=(Fe=Ct.y)!==null&&Fe!==void 0?Fe:Ct.top;var jn=dt.documentElement,gn=jn.clientWidth,Sn=jn.clientHeight,Ln=jn.scrollWidth,Fn=jn.scrollHeight,On=jn.scrollTop,vn=jn.scrollLeft,Zn=Ct.height,st=Ct.width,Ge=Kt.height,ht=Kt.width,un={left:0,top:0,right:gn,bottom:Sn},yn={left:-vn,top:-On,right:Ln-vn,bottom:Fn-On},ee=It.htmlRegion,J="visible",Ue="visibleFirst";ee!=="scroll"&&ee!==Ue&&(ee=J);var Re=ee===Ue,He=h(yn,ue),qe=h(un,ue),Je=ee===J?qe:He,Ve=Re?qe:Je;Pe.style.left="auto",Pe.style.top="auto",Pe.style.right="0",Pe.style.bottom="0";var it=Pe.getBoundingClientRect();Pe.style.left=tn,Pe.style.top=_t,Pe.style.right=ot,Pe.style.bottom=Lt,Pe.style.overflow=nn,(De=Pe.parentElement)===null||De===void 0||De.removeChild(vt);var $e=n(Math.round(st/parseFloat(An)*1e3)/1e3),et=n(Math.round(Zn/parseFloat(bn)*1e3)/1e3);if($e===0||et===0||(0,H.Sh)(c)&&!(0,C.Z)(c))return;var ut=It.offset,Nt=It.targetOffset,tt=re(Ct,ut),Q=(0,D.Z)(tt,2),de=Q[0],ge=Q[1],_e=re(Kt,Nt),ye=(0,D.Z)(_e,2),Ne=ye[0],Le=ye[1];Kt.x-=Ne,Kt.y-=Le;var nt=It.points||[],ft=(0,D.Z)(nt,2),Et=ft[0],cn=ft[1],St=fe(cn),Pt=fe(Et),zt=ve(Kt,St),Gt=ve(Ct,Pt),Vt=(0,P.Z)({},It),Rt=zt.x-Gt.x+de,Dt=zt.y-Gt.y+ge,rt=Cn(Rt,Dt),ct=Cn(Rt,Dt,qe),gt=ve(Kt,["t","l"]),Yt=ve(Ct,["t","l"]),At=ve(Kt,["b","r"]),Ht=ve(Ct,["b","r"]),Dn=It.overflow||{},M=Dn.adjustX,se=Dn.adjustY,te=Dn.shiftX,ie=Dn.shiftY,pe=function(Ot){return typeof Ot=="boolean"?Ot:Ot>=0},xe,je,ke,Ee;En();var ne=pe(se),le=Pt[0]===St[0];if(ne&&Pt[0]==="t"&&(je>Ve.bottom||oe.current.bt)){var he=Dt;le?he-=Zn-Ge:he=gt.y-Ht.y-ge;var be=Cn(Rt,he),Se=Cn(Rt,he,qe);be>rt||be===rt&&(!Re||Se>=ct)?(oe.current.bt=!0,Dt=he,ge=-ge,Vt.points=[Te(Pt,0),Te(St,0)]):oe.current.bt=!1}if(ne&&Pt[0]==="b"&&(xe<Ve.top||oe.current.tb)){var Ye=Dt;le?Ye+=Zn-Ge:Ye=At.y-Yt.y-ge;var pt=Cn(Rt,Ye),at=Cn(Rt,Ye,qe);pt>rt||pt===rt&&(!Re||at>=ct)?(oe.current.tb=!0,Dt=Ye,ge=-ge,Vt.points=[Te(Pt,0),Te(St,0)]):oe.current.tb=!1}var kt=pe(M),Ut=Pt[1]===St[1];if(kt&&Pt[1]==="l"&&(Ee>Ve.right||oe.current.rl)){var Tt=Rt;Ut?Tt-=st-ht:Tt=gt.x-Ht.x-de;var Jt=Cn(Tt,Dt),yt=Cn(Tt,Dt,qe);Jt>rt||Jt===rt&&(!Re||yt>=ct)?(oe.current.rl=!0,Rt=Tt,de=-de,Vt.points=[Te(Pt,1),Te(St,1)]):oe.current.rl=!1}if(kt&&Pt[1]==="r"&&(ke<Ve.left||oe.current.lr)){var pn=Rt;Ut?pn+=st-ht:pn=At.x-Yt.x-de;var sn=Cn(pn,Dt),_n=Cn(pn,Dt,qe);sn>rt||sn===rt&&(!Re||_n>=ct)?(oe.current.lr=!0,Rt=pn,de=-de,Vt.points=[Te(Pt,1),Te(St,1)]):oe.current.lr=!1}En();var Xt=te===!0?0:te;typeof Xt=="number"&&(ke<qe.left&&(Rt-=ke-qe.left-de,Kt.x+ht<qe.left+Xt&&(Rt+=Kt.x-qe.left+ht-Xt)),Ee>qe.right&&(Rt-=Ee-qe.right-de,Kt.x>qe.right-Xt&&(Rt+=Kt.x-qe.right+Xt)));var rn=ie===!0?0:ie;typeof rn=="number"&&(xe<qe.top&&(Dt-=xe-qe.top-ge,Kt.y+Ge<qe.top+rn&&(Dt+=Kt.y-qe.top+Ge-rn)),je>qe.bottom&&(Dt-=je-qe.bottom-ge,Kt.y>qe.bottom-rn&&(Dt+=Kt.y-qe.bottom+rn)));var wn=Ct.x+Rt,on=wn+st,dn=Ct.y+Dt,jt=dn+Zn,bt=Kt.x,Mt=bt+ht,Qt=Kt.y,hn=Qt+Ge,ln=Math.max(wn,bt),fn=Math.min(on,Mt),Un=(ln+fn)/2,Xn=Un-wn,$n=Math.max(dn,Qt),or=Math.min(jt,hn),ar=($n+or)/2,qn=ar-dn;m==null||m(Y,Vt);var xn=it.right-Ct.x-(Rt+Ct.width),kn=it.bottom-Ct.y-(Dt+Ct.height);$e===1&&(Rt=Math.round(Rt),xn=Math.round(xn)),et===1&&(Dt=Math.round(Dt),kn=Math.round(kn));var Gn={ready:!0,offsetX:Rt/$e,offsetY:Dt/et,offsetR:xn/$e,offsetB:kn/et,arrowX:Xn/$e,arrowY:qn/et,scaleX:$e,scaleY:et,align:Vt};U(Gn)}}),We=function(){z.current+=1;var ce=z.current;Promise.resolve().then(function(){z.current===ce&&Ke()})},ze=function(){U(function(ce){return(0,P.Z)((0,P.Z)({},ce),{},{ready:!1})})};return(0,t.Z)(ze,[L]),(0,t.Z)(function(){W||ze()},[W]),[A.ready,A.offsetX,A.offsetY,A.offsetR,A.offsetB,A.arrowX,A.arrowY,A.scaleX,A.scaleY,A.align,We]}var mt=l(94480);function me(W,Y,c,L,X){(0,t.Z)(function(){if(W&&Y&&c){let z=function(){L(),X()};var x=Y,m=c,F=b(x),q=b(m),A=S(m),U=new Set([A].concat((0,mt.Z)(F),(0,mt.Z)(q)));return U.forEach(function(ue){ue.addEventListener("scroll",z,{passive:!0})}),A.addEventListener("resize",z,{passive:!0}),L(),function(){U.forEach(function(ue){ue.removeEventListener("scroll",z),A.removeEventListener("resize",z)})}}},[W,Y,c])}var Xe=l(48736);function Oe(W,Y,c,L,X,x,m,F){var q=i.useRef(W);q.current=W;var A=i.useRef(!1);i.useEffect(function(){if(Y&&L&&(!X||x)){var z=function(){A.current=!1},ue=function(Fe){var De;q.current&&!m(((De=Fe.composedPath)===null||De===void 0||(De=De.call(Fe))===null||De===void 0?void 0:De[0])||Fe.target)&&!A.current&&F(!1)},oe=S(L);oe.addEventListener("pointerdown",z,!0),oe.addEventListener("mousedown",ue,!0),oe.addEventListener("contextmenu",ue,!0);var we=(0,e.A)(c);if(we&&(we.addEventListener("mousedown",ue,!0),we.addEventListener("contextmenu",ue,!0)),0)var Ke,We,ze,Me;return function(){oe.removeEventListener("pointerdown",z,!0),oe.removeEventListener("mousedown",ue,!0),oe.removeEventListener("contextmenu",ue,!0),we&&(we.removeEventListener("mousedown",ue,!0),we.removeEventListener("contextmenu",ue,!0))}}},[Y,c,L,X,x]);function U(){A.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 Ie(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:G.Z,Y=i.forwardRef(function(c,L){var X=c.prefixCls,x=X===void 0?"rc-trigger-popup":X,m=c.children,F=c.action,q=F===void 0?"hover":F,A=c.showAction,U=c.hideAction,z=c.popupVisible,ue=c.defaultPopupVisible,oe=c.onPopupVisibleChange,we=c.afterPopupVisibleChange,Ke=c.mouseEnterDelay,We=c.mouseLeaveDelay,ze=We===void 0?.1:We,Me=c.focusDelay,ce=c.blurDelay,Fe=c.mask,De=c.maskClosable,Pe=De===void 0?!0:De,dt=c.getPopupContainer,xt=c.forceRender,Ae=c.autoDestroy,Zt=c.destroyPopupOnHide,tn=c.popup,_t=c.popupClassName,ot=c.popupStyle,Lt=c.popupPlacement,nn=c.builtinPlacements,It=nn===void 0?{}:nn,vt=c.popupAlign,Kt=c.zIndex,mn=c.stretch,Ft=c.getPopupClassNameFromAlign,lt=c.fresh,Ct=c.alignPoint,In=c.onPopupClick,bn=c.onPopupAlign,An=c.arrow,jn=c.popupMotion,gn=c.maskMotion,Sn=c.popupTransitionName,Ln=c.popupAnimation,Fn=c.maskTransitionName,On=c.maskAnimation,vn=c.className,Zn=c.getTriggerDOMNode,st=(0,K.Z)(c,Qe),Ge=Ae||Zt||!1,ht=i.useState(!1),un=(0,D.Z)(ht,2),yn=un[0],ee=un[1];(0,t.Z)(function(){ee((0,r.Z)())},[]);var J=i.useRef({}),Ue=i.useContext($),Re=i.useMemo(function(){return{registerSubPopup:function($t,Wt){J.current[$t]=Wt,Ue==null||Ue.registerSubPopup($t,Wt)}}},[Ue]),He=(0,f.Z)(),qe=i.useState(null),Je=(0,D.Z)(qe,2),Ve=Je[0],it=Je[1],$e=i.useRef(null),et=(0,s.Z)(function(wt){$e.current=wt,(0,H.Sh)(wt)&&Ve!==wt&&it(wt),Ue==null||Ue.registerSubPopup(He,wt)}),ut=i.useState(null),Nt=(0,D.Z)(ut,2),tt=Nt[0],Q=Nt[1],de=i.useRef(null),ge=(0,s.Z)(function(wt){(0,H.Sh)(wt)&&tt!==wt&&(Q(wt),de.current=wt)}),_e=i.Children.only(m),ye=(_e==null?void 0:_e.props)||{},Ne={},Le=(0,s.Z)(function(wt){var $t,Wt,Mn=tt;return(Mn==null?void 0:Mn.contains(wt))||(($t=(0,e.A)(Mn))===null||$t===void 0?void 0:$t.host)===wt||wt===Mn||(Ve==null?void 0:Ve.contains(wt))||((Wt=(0,e.A)(Ve))===null||Wt===void 0?void 0:Wt.host)===wt||wt===Ve||Object.values(J.current).some(function(zn){return(zn==null?void 0:zn.contains(wt))||wt===zn})}),nt=N(x,jn,Ln,Sn),ft=N(x,gn,On,Fn),Et=i.useState(ue||!1),cn=(0,D.Z)(Et,2),St=cn[0],Pt=cn[1],zt=z!=null?z:St,Gt=(0,s.Z)(function(wt){z===void 0&&Pt(wt)});(0,t.Z)(function(){Pt(z||!1)},[z]);var Vt=i.useRef(zt);Vt.current=zt;var Rt=i.useRef([]);Rt.current=[];var Dt=(0,s.Z)(function(wt){var $t;Gt(wt),(($t=Rt.current[Rt.current.length-1])!==null&&$t!==void 0?$t:zt)!==wt&&(Rt.current.push(wt),oe==null||oe(wt))}),rt=i.useRef(),ct=function(){clearTimeout(rt.current)},gt=function($t){var Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;ct(),Wt===0?Dt($t):rt.current=setTimeout(function(){Dt($t)},Wt*1e3)};i.useEffect(function(){return ct},[]);var Yt=i.useState(!1),At=(0,D.Z)(Yt,2),Ht=At[0],Dn=At[1];(0,t.Z)(function(wt){(!wt||zt)&&Dn(!0)},[zt]);var M=i.useState(null),se=(0,D.Z)(M,2),te=se[0],ie=se[1],pe=i.useState(null),xe=(0,D.Z)(pe,2),je=xe[0],ke=xe[1],Ee=function($t){ke([$t.clientX,$t.clientY])},ne=Ze(zt,Ve,Ct&&je!==null?je:tt,Lt,It,vt,bn),le=(0,D.Z)(ne,11),he=le[0],be=le[1],Se=le[2],Ye=le[3],pt=le[4],at=le[5],kt=le[6],Ut=le[7],Tt=le[8],Jt=le[9],yt=le[10],pn=Ce(yn,q,A,U),sn=(0,D.Z)(pn,2),_n=sn[0],Xt=sn[1],rn=_n.has("click"),wn=Xt.has("click")||Xt.has("contextMenu"),on=(0,s.Z)(function(){Ht||yt()}),dn=function(){Vt.current&&Ct&&wn&>(!1)};me(zt,tt,Ve,on,dn),(0,t.Z)(function(){on()},[je,Lt]),(0,t.Z)(function(){zt&&!(It!=null&&It[Lt])&&on()},[JSON.stringify(vt)]);var jt=i.useMemo(function(){var wt=E(It,x,Jt,Ct);return p()(wt,Ft==null?void 0:Ft(Jt))},[Jt,Ft,It,x,Ct]);i.useImperativeHandle(L,function(){return{nativeElement:de.current,popupElement:$e.current,forceAlign:on}});var bt=i.useState(0),Mt=(0,D.Z)(bt,2),Qt=Mt[0],hn=Mt[1],ln=i.useState(0),fn=(0,D.Z)(ln,2),Un=fn[0],Xn=fn[1],$n=function(){if(mn&&tt){var $t=tt.getBoundingClientRect();hn($t.width),Xn($t.height)}},or=function(){$n(),on()},ar=function($t){Dn(!1),yt(),we==null||we($t)},qn=function(){return new Promise(function($t){$n(),ie(function(){return $t})})};(0,t.Z)(function(){te&&(yt(),te(),ie(null))},[te]);function xn(wt,$t,Wt,Mn){Ne[wt]=function(zn){var Hn;Mn==null||Mn(zn),gt($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=ye[wt])===null||Hn===void 0||Hn.call.apply(Hn,[ye,zn].concat(dr))}}(rn||wn)&&(Ne.onClick=function(wt){var $t;Vt.current&&wn?gt(!1):!Vt.current&&rn&&(Ee(wt),gt(!0));for(var Wt=arguments.length,Mn=new Array(Wt>1?Wt-1:0),zn=1;zn<Wt;zn++)Mn[zn-1]=arguments[zn];($t=ye.onClick)===null||$t===void 0||$t.call.apply($t,[ye,wt].concat(Mn))});var kn=Oe(zt,wn,tt,Ve,Fe,Pe,Le,gt),Gn=_n.has("hover"),Cn=Xt.has("hover"),En,Rn;Gn&&(xn("onMouseEnter",!0,Ke,function(wt){Ee(wt)}),xn("onPointerEnter",!0,Ke,function(wt){Ee(wt)}),En=function($t){(zt||Ht)&&Ve!==null&&Ve!==void 0&&Ve.contains($t.target)&>(!0,Ke)},Ct&&(Ne.onMouseMove=function(wt){var $t;($t=ye.onMouseMove)===null||$t===void 0||$t.call(ye,wt)})),Cn&&(xn("onMouseLeave",!1,ze),xn("onPointerLeave",!1,ze),Rn=function(){gt(!1,ze)}),_n.has("focus")&&xn("onFocus",!0,Me),Xt.has("focus")&&xn("onBlur",!1,ce),_n.has("contextMenu")&&(Ne.onContextMenu=function(wt){var $t;Vt.current&&Xt.has("contextMenu")?gt(!1):(Ee(wt),gt(!0)),wt.preventDefault();for(var Wt=arguments.length,Mn=new Array(Wt>1?Wt-1:0),zn=1;zn<Wt;zn++)Mn[zn-1]=arguments[zn];($t=ye.onContextMenu)===null||$t===void 0||$t.call.apply($t,[ye,wt].concat(Mn))}),vn&&(Ne.className=p()(ye.className,vn));var Ot=i.useRef(!1);Ot.current||(Ot.current=xt||zt||Ht);var qt=(0,P.Z)((0,P.Z)({},ye),Ne),en={},an=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];an.forEach(function(wt){st[wt]&&(en[wt]=function(){for(var $t,Wt=arguments.length,Mn=new Array(Wt),zn=0;zn<Wt;zn++)Mn[zn]=arguments[zn];($t=qt[wt])===null||$t===void 0||$t.call.apply($t,[qt].concat(Mn)),st[wt].apply(st,Mn)})});var Pn=i.cloneElement(_e,(0,P.Z)((0,P.Z)({},qt),en)),Kn={x:at,y:kt},ir=An?(0,P.Z)({},An!==!0?An:{}):null;return i.createElement(i.Fragment,null,i.createElement(V.Z,{disabled:!zt,ref:ge,onResize:or},i.createElement(Z,{getTriggerDOMNode:Zn},Pn)),Ot.current&&i.createElement($.Provider,{value:Re},i.createElement(O,{portal:W,ref:et,prefixCls:x,popup:tn,className:p()(_t,jt),style:ot,target:tt,onMouseEnter:En,onMouseLeave:Rn,onPointerEnter:En,zIndex:Kt,open:zt,keepDom:Ht,fresh:lt,onClick:In,onPointerDownCapture:kn,mask:Fe,motion:nt,maskMotion:ft,onVisibleChanged:ar,onPrepare:qn,forceRender:xt,autoDestroy:Ge,getPopupContainer:dt,align:Jt,arrow:ir,arrowPos:Kn,ready:he,offsetX:be,offsetY:Se,offsetR:Ye,offsetB:pt,onAlign:on,stretch:mn,targetWidth:Qt/Ut,targetHeight:Un/Tt})))});return Y}var ae=Ie(G.Z)},2524:function(Bt,Be,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);Be.Z=r},52918:function(Bt,Be,l){"use strict";l.d(Be,{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(50258),p=l(25399),V=l(65862),H=l(87513),e=l(2524),s=l(74128),f=l(7310),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=Ce=>{try{B(O.next(Ce))}catch(C){Z(C)}},$=Ce=>{try{B(O.throw(Ce))}catch(C){Z(C)}},B=Ce=>Ce.done?k(Ce.value):Promise.resolve(Ce.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:Ce,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,fe]=(0,P.useState)(""),[ve,Te]=(0,P.useState)(),Ze=window.ENV==="build"?"/react/build":"",mt=location.host.startsWith("localhost")?s.Z.PROXY_SERVER:s.Z.API_SERVER,Xe=10*(1024*1024),Oe=(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 X=(L=(c=document.cookie)==null?void 0:c.replace(/\s/g,""))==null?void 0:L.split(";");X==null||X.map(x=>{let m=x.split("=");m[0]==="_educoder_session"&&fe(m[1])})},[]),(0,P.useEffect)(()=>{I==="office"&&(u.indexOf("bigfilescdn.")>-1||u.indexOf("bigfiles1")>-1?Te({url:u,fileType:Qe(u),model:u.indexOf("model=edit")?"edit":"view"}):ae())},[I,u]);function Ie(c){return _(this,null,function*(){c.data.type==="pdfdata"&&(k(c.data.data),window.removeEventListener("message",Ie,!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 X=yield(0,H.gJ)({attachment_id:L});X.url=mt+X.url,Te(X)}),W=()=>{if(u.startsWith("http")||u.startsWith("blob:")){Y();return}(0,V.Sv)($||"educoder",u,$)},Y=()=>{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:Oe},!!b&&t.createElement(p.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Oe.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:()=>Oe.current},t.createElement("span",{onClick:Y},t.createElement("i",{className:"icon-quxiaozhiding"}))),O&&t.createElement(p.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Oe.current},t.createElement("span",{className:"",onClick:()=>{const c=document.getElementById("pdfiframe");window.addEventListener("message",Ie,!1),setTimeout(()=>{c.contentWindow.postMessage("getData","*")},300)}},t.createElement("i",{className:"icon-baocun"}))),t.createElement(p.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Oe.current},t.createElement("span",{className:"",onClick:()=>{E()}},t.createElement("i",{className:"icon-guanbi1"})))),t.createElement("div",{className:`${D[Ce]} ${Ce} ${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:`${Ze}/office.html?key=${ve.key}&url=${btoa(ve.url)}&callbackUrl=${mt+(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"&&t.createElement("iframe",{id:"pdfiframe",src:`${Ze}/js/pdf/index.html?filename=${$||"educoder.pdf"}&url=${encodeURIComponent(u)}&disabledDownload=${!!S}&model=${d}`}),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"})))}},50258:function(Bt,Be,l){"use strict";l.d(Be,{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=(Oe,Qe,Ie)=>new Promise((ae,W)=>{var Y=X=>{try{L(Ie.next(X))}catch(x){W(x)}},c=X=>{try{L(Ie.throw(X))}catch(x){W(x)}},L=X=>X.done?ae(X.value):Promise.resolve(X.value).then(Y,c);L((Ie=Ie.apply(Oe,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=(Oe,Qe,Ie,ae)=>{const W=Qe.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:Ie.lineNumber,endColumn:Ie.column});return Array.from(new Set(W.match(/\b\w{2,}\b/g)||[])).map(c=>({label:c,kind:Oe.languages.CompletionItemKind.Text,insertText:c,range:ae}))},r=(Oe,Qe,Ie,ae)=>{Oe.languages.registerCompletionItemProvider(Qe,{provideCompletionItems(W,Y){const c=W.getWordUntilPosition(Y),L={startLineNumber:Y.lineNumber,endLineNumber:Y.lineNumber,startColumn:c.startColumn,endColumn:c.endColumn},X=W.getLineContent(Y.lineNumber).substring(c.startColumn-2,c.endColumn);return{suggestions:[...t(Oe,W,Y,L),...Ie.map(m=>({label:m,kind:Oe.languages.CompletionItemKind.Keyword,documentation:m,insertText:m,insertTextRules:Oe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:L})),...ae.map(m=>({label:m.label,kind:Oe.languages.CompletionItemKind.Snippet,documentation:m.content,insertText:X.startsWith("#")?m.content.replace(/#/,""):m.content,insertTextRules:Oe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:L}))]}}})};var i=Oe=>{f.languages.forEach(Qe=>{Oe.languages.registerDocumentFormattingEditProvider(Qe,{provideDocumentFormattingEdits(Ie){return s(this,null,function*(){const ae=e()(Ie.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:Ie.getFullModelRange(),text:ae}]})}})}),r(Oe,"java",G.keywords,G.quickKey),r(Oe,"cpp",j.keywords,j.quickKey),r(Oe,"c",K.keywords,[]),r(Oe,"python",p.keywords,p.quickKey),r(Oe,"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=(Oe,Qe,Ie)=>Qe in Oe?g(Oe,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):Oe[Qe]=Ie,R=(Oe,Qe,Ie)=>w(Oe,typeof Qe!="symbol"?Qe+"":Qe,Ie);const _=class ya{constructor(Qe,Ie,ae){this.placeholder=Qe,this.editor=Ie,this.monaco=ae,Ie.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(77254),$=l(56102),B=Object.defineProperty,Ce=Object.defineProperties,C=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,S=(Oe,Qe,Ie)=>Qe in Oe?B(Oe,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):Oe[Qe]=Ie,b=(Oe,Qe)=>{for(var Ie in Qe||(Qe={}))E.call(Qe,Ie)&&S(Oe,Ie,Qe[Ie]);if(v)for(var Ie of v(Qe))N.call(Qe,Ie)&&S(Oe,Ie,Qe[Ie]);return Oe},n=(Oe,Qe)=>Ce(Oe,C(Qe)),a=(Oe,Qe)=>{var Ie={};for(var ae in Oe)E.call(Oe,ae)&&Qe.indexOf(ae)<0&&(Ie[ae]=Oe[ae]);if(Oe!=null&&v)for(var ae of v(Oe))Qe.indexOf(ae)<0&&N.call(Oe,ae)&&(Ie[ae]=Oe[ae]);return Ie},h=(Oe,Qe,Ie)=>new Promise((ae,W)=>{var Y=X=>{try{L(Ie.next(X))}catch(x){W(x)}},c=X=>{try{L(Ie.throw(X))}catch(x){W(x)}},L=X=>X.done?ae(X.value):Promise.resolve(X.value).then(Y,c);L((Ie=Ie.apply(Oe,Qe)).next())});function T(Oe){return/^\d+$/.test(Oe)?`${Oe}px`:Oe}function re(){}let fe=!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 Te(Oe=[]){let Qe=Oe;if(Array.isArray(Oe)){for(let Ie=0;Ie<Oe.length;Ie++){let ae=ve[Oe[Ie]];if(ae)return ae}return Qe[0]}return ve[Qe]||Qe}let Ze=null;const mt=()=>h(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Oe){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Oe)}});var me=Oe=>{var Qe=Oe,{width:Ie="100%",height:ae="100%",value:W,language:Y="javascript",style:c={},options:L={},overrideServices:X={},theme:x="vs-dark",onEditBlur:m,isCopy:F=!1,onSave:q,autoHeight:A=!1,forbidCopy:U=!1,onChange:z=re,editorDidMount:ue=re,onFocus:oe=re,onBreakPoint:we=re,breakPointValue:Ke=[],filename:We="educoder.txt",errorLine:ze,errorContent:Me="",highlightLine:ce,openBreakPoint:Fe=!1,placeholder:De="",showMiniMap:Pe=!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)(),Ae=(0,P.useRef)({}),Zt=(0,P.useRef)(),tn=(0,P.useRef)(),_t=(0,P.useRef)([]),ot=(0,P.useRef)(!1),Lt=(0,P.useRef)(),nn=(0,P.useRef)(),It=(0,P.useRef)(!1),[vt,Kt]=(0,P.useState)(!1);function mn(){let st;return xt.current&&(st=new D.Z(Ge=>{for(let ht of Ge)(ht.target.offsetHeight>0||ht.target.offsetWidth>0)&&Ae.current.instance.layout()}),st.observe(xt.current)),st}function Ft(){O.ZP.warning({content:decodeURIComponent(o),key:"monaco-editor-tip"})}const lt=()=>{let st=Ae.current.instance;if(W!=null&&st&&vt){const Ge=st.getModel();Ge&&W!==Ge.getValue()&&(fe=!0,Ge.setValue(W),st.layout(),fe=!1)}};(0,P.useEffect)(()=>{const st=I.Z.subscribe("formatDocument",Ge=>{var ht;let un=Ae.current.instance;(ht=un==null?void 0:un.getAction)==null||ht.call(un,"editor.action.formatDocument").run()});return window.updateMonacoValue=Ge=>{z(Ge)},st},[]),(0,P.useEffect)(()=>{var st;let Ge=Ae.current.instance;tn.current&&clearTimeout(tn.current),tn.current=setTimeout(()=>{lt()},500),W&&(W!=null&&W.length)&&((st=Ge==null?void 0:Ge.updateOptions)==null||st.call(Ge,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(W.split(/\r\n|\r|\n/g).length))+3,5)}))},[W,vt,Ae.current]),(0,P.useEffect)(()=>{if(ze&&Ae.current&&Ae.current.instance){let Ge=Ae.current.instance;Ge.changeViewZones(function(ht){var un=document.createElement("div");un.style.padding="10px 20px",un.style.width="calc(100% - 20px)",un.className="my-error-line-wrp",un.innerHTML=Me,ht.addZone({afterLineNumber:ze||11,heightInLines:3,domNode:un})});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}};Ge.addOverlayWidget(st),Ge.revealPositionInCenter({lineNumber:20,column:1})}},[ze,Ae.current,vt]);const Ct=(st="",Ge)=>{if(!st||st.trim()==="")return!0;const un=Ae.current.instance.getModel().getLineTokens(Ge);let yn=!1;for(let ee=0;ee<2;ee++)un.getStandardTokenType(ee)===1&&(yn=!0);return yn};(0,P.useEffect)(()=>{var st;const Ge=(st=Ae.current)==null?void 0:st.instance;if(Ge&&vt&&U){const ht=Ge.onDidBlurEditorWidget(()=>{It.current=!1}),un=Ge.onDidFocusEditorText(()=>{It.current=!0});return()=>{ht.dispose(),un.dispose()}}},[Ae.current,vt,U]),(0,P.useEffect)(()=>{var st;if((st=Ae.current)!=null&&st.instance&&vt&&Fe){let Ge=Ae.current.instance,ht=Ge.getModel();if(!ht)return;(()=>{var $e;let et=[],ut=[];const Nt=ht.getAllDecorations();for(let Q of Nt)Q.options.className==="highlighted-line"&&(et.push(($e=Q==null?void 0:Q.range)==null?void 0:$e.startLineNumber),ut.push(Q==null?void 0:Q.id));if(ce===et[0])return;ht.deltaDecorations(ut,[]);const tt=ht.getLineCount();ce&&ce<=tt&&(Ge.deltaDecorations([],[{range:new Ze.Range(ce,1,ce,ht.getLineMaxColumn(ce)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Ge.revealLineInCenter(ce))})();const yn=($e=!1)=>{var et;let ut=[],Nt=[];const tt=ht.getAllDecorations();for(let Q of tt)Q.options.linesDecorationsClassName==="breakpoints-select"&&(ut.push((et=Q==null?void 0:Q.range)==null?void 0:et.startLineNumber),Nt.push(Q==null?void 0:Q.id));if($e)return{lines:ut,ids:Nt};we(ut)},ee=$e=>h(void 0,null,function*(){let et={range:new Ze.Range($e,1,$e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield ht.deltaDecorations([],[et]),yn()}),J=$e=>h(void 0,null,function*(){let et=[];const ut=Ge.getLineDecorations($e);for(let Nt of ut)Nt.options.linesDecorationsClassName==="breakpoints-select"&&et.push(Nt.id);yield ht.deltaDecorations(et,[]),yn()}),Ue=$e=>{let et=Ge.getLineDecorations($e);for(let ut of et)if(ut.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Z.isEqual)(Ke,yn(!0).lines)){ht.deltaDecorations(yn(!0).ids,[]);const $e=Ke.map(et=>({range:new Ze.Range(et,1,et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));ht.deltaDecorations([],$e)}const Re=Ge.onDidChangeModelContent($e=>{let et=Ge.getPosition();if(et){let ut=et.lineNumber;clearTimeout(nn.current),nn.current=setTimeout(()=>{Ct(ht.getLineContent(ut),ut)?J(ut):Ue(ut)?(J(ut),ee(ut)):yn()},100)}}),He=Ge.onMouseDown($e=>{var et,ut,Nt;if($e.target.detail&&((Nt=(ut=(et=$e.target)==null?void 0:et.element)==null?void 0:ut.className)!=null&&Nt.includes("line-numbers"))){let tt=$e.target.position.lineNumber;if(Ct(ht.getLineContent(tt),tt))return;Ue(tt)?J(tt):ee(tt)}}),qe=$e=>{let et={range:new Ze.Range($e,1,$e,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};_t.current=Ge.deltaDecorations(_t.current,[et])},Je=()=>{_t.current=Ge.deltaDecorations(_t.current,[])},Ve=Ge.onMouseMove($e=>{var et,ut,Nt;if(Je(),$e.target.detail&&((Nt=(ut=(et=$e.target)==null?void 0:et.element)==null?void 0:ut.className)!=null&&Nt.includes("line-numbers"))){let tt=$e.target.position.lineNumber;if(Ct(ht.getLineContent(tt),tt))return;qe(tt)}}),it=Ge.onMouseLeave(()=>{Je()});return()=>{Re.dispose(),He.dispose(),Ve.dispose(),it.dispose()}}},[Ae.current,vt,Ke,ce,Fe,Y]),(0,P.useEffect)(()=>{var st;(st=Ae.current)!=null&&st.instance&&Fe&&Ae.current.instance.setPosition({lineNumber:0,column:0})},[ce]);function In(){let st=Ae.current.instance;if(st){const Ge=st.getSelection(),ht=Ae.current.pastePos||{},un=new Ze.Range(ht.startLineNumber||Ge.endLineNumber,ht.startColumn||Ge.endColumn,ht.endLineNumber||Ge.endLineNumber,ht.endColumn||Ge.endColumn);setTimeout(()=>{st.executeEdits("",[{range:un,text:""}])},300)}}function bn(st){(window.navigator.platform.match("Mac")?st.metaKey:st.ctrlKey)&&st.keyCode==83&&(st.preventDefault(),q())}const An=()=>{if(A&&Ae.current.instance){const st=Ae.current.instance.getContentHeight();vn(st<ae?ae:st)}else vn(ae)};function jn(st){var Ge=document.createEvent("MouseEvents");Ge.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),st.dispatchEvent(Ge)}const gn=st=>{if(!It.current)return;const{keyCode:Ge,ctrlKey:ht,metaKey:un,target:yn,type:ee}=st;return(ee==="paste"||(Ge===67||Ge===86)&&(un||ht))&&yn.nodeName==="TEXTAREA"&&(Ft(),st.preventDefault()),!1};function Sn(st,Ge){var ht=window.URL||window.webkitURL||window,un=new Blob([Ge]),yn=document.createElementNS("http://www.w3.org/1999/xhtml","a");yn.href=ht.createObjectURL(un),yn.download=st,jn(yn)}(0,P.useEffect)(()=>{An()},[An]),(0,P.useEffect)(()=>{xt.current&&!vt&&Promise.all([l.e(8909),l.e(2460)]).then(l.bind(l,71448)).then(st=>{try{Ze=st,Ae.current.instance=Ze.editor.create(xt.current,{value:W,language:Te(Y),theme:x,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Pe||!1}},X);const Ge=Ae.current.instance;let yn=[...u.BH._menuItems].find(Re=>Re[0]._debugName=="EditorContext")[1],ee=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],J=(Re,He)=>{var qe,Je;let Ve=Re._first;do He.includes((Je=(qe=Ve.element)==null?void 0:qe.command)==null?void 0:Je.id)&&Re._remove(Ve);while(Ve=Ve.next)};if(ue(Ge,Ze),setTimeout(()=>{An(),Ae.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Sn(We||"educoder.txt",Ge.getValue())}})},500),Ae.current.subscription=Ge.onDidChangeModelContent(Re=>{ot.current?clearTimeout(Lt.current):(An(),z(Ge.getValue(),Re)),Lt.current=setTimeout(()=>{ot.current=!1},500)}),window.Monaco||i(Ze,Te(Y)),U&&(J(yn,ee),xt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",gn),window.removeEventListener("paste",gn),window.addEventListener("keydown",gn),window.addEventListener("paste",gn)),window.Monaco=Ze,m&&Ge.onDidBlurEditorWidget(()=>{m(Ge.getValue())}),oe&&Ge.onDidFocusEditorText(()=>{U&&mt(),oe(Ge.getValue())}),U){mt();try{Ge.onDidPaste(Re=>{const He=Ge.getSelection(),qe=Ae.current.pastePos||{},Je=new Ze.Range(qe.startLineNumber||He.endLineNumber,qe.startColumn||He.endColumn,qe.endLineNumber||He.endLineNumber,qe.endColumn||He.endColumn);Ge.executeEdits("",[{range:Re.range,text:""}])})}catch(Re){}}let Ue=mn();return De&&typeof De=="string"&&new d(De,Ge,Ze),Kt(!0),()=>{const Re=Ae.current.instance;Re.dispose();const He=Re.getModel();He&&He.dispose(),Ae.current.subscription&&Ae.current.subscription.dispose(),Ue.unobserve(xt.current)}}catch(Ge){}})},[]),(0,P.useEffect)(()=>{if(Ae.current.instance&&vt)return document.addEventListener("keydown",bn,!1),()=>{document.removeEventListener("keydown",bn)}},[q,vt]),(0,P.useEffect)(()=>{let st=Ae.current.instance;if(st&&vt){let Ge=Te(Y);Ze.editor.setModelLanguage(st.getModel(),Ge)}},[Y,vt]),(0,P.useEffect)(()=>{Ae.current.instance&&vt&&Ze.editor.setTheme(x)},[x,vt]),(0,P.useEffect)(()=>{let st=Ae.current.instance;Zt.current=L,st&&vt&&(st.updateOptions(b({},L)),setTimeout(()=>{st.getModel().updateOptions(b({},L))},200))},[JSON.stringify(L),vt]),(0,P.useEffect)(()=>{let st=Ae.current.instance;st&&vt&&st.layout()},[Ie,ae,vt]);const[Ln,Fn]=(0,P.useState)(T(Ie)),[On,vn]=(0,P.useState)(T(ae)),Zn=n(b({},c),{width:Ln,height:On,position:"relative"});return P.createElement("div",{className:"my-monaco-editor",ref:xt,style:Zn,onFocus:()=>{U&&mt()}},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:Oe="100%",height:Qe="100%",original:Ie,modified:ae,language:W,options:Y={}}){const c=(0,P.useRef)(),[L,X]=(0,P.useState)(null);function x(A){let U;return c.current&&(U=new D.Z(z=>{for(let ue of z)(ue.target.offsetHeight>0||ue.target.offsetWidth>0)&&A.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(A=>{Ze=A;const U=Ze.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},Y),{wordWrap:!0}));X(U);let z=x(U);return()=>{U.dispose();const ue=U.getModel();ue&&ue.dispose(),z.unobserve(c.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,P.useEffect)(()=>{L&&L.setModel({original:Ze.editor.createModel(Ie,W),modified:Ze.editor.createModel(ae,W)})},[Ie,ae,W,L]);const m=T(Oe),F=T(Qe),q={width:m,height:F};return P.createElement("div",{className:"my-diff-editor",ref:c,style:q})}},38164:function(Bt,Be,l){"use strict";l.r(Be),l.d(Be,{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(65582),G=l(38147),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(74128),g=l(87513),w=l(82311),R=l(2001),_=l(84454),y=l(52918),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},Ce=(S,b)=>u(S,O(b)),C=(S,b,n)=>new Promise((a,h)=>{var T=ve=>{try{fe(n.next(ve))}catch(Te){h(Te)}},re=ve=>{try{fe(n.throw(ve))}catch(Te){h(Te)}},fe=ve=>ve.done?a(ve.value):Promise.resolve(ve.value).then(T,re);fe((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,fe]=(0,P.useState)(!0),[ve,Te]=(0,P.useState)(!1),[Ze,mt]=(0,P.useState)([]),[me,Xe]=(0,P.useState)([]),[Oe,Qe]=(0,P.useState)([]),[Ie]=p.default.useForm(),ae=(0,K.useLocation)(),W=location.host.startsWith("localhost")?o.Z.PROXY_SERVER:o.Z.API_SERVER,[Y,c]=(0,P.useState)(!1),[L,X]=(0,P.useState)(!1),[x,m]=(0,P.useState)([]),[F,q]=(0,P.useState)(""),[A,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 ce;(ce=S==null?void 0:S.userInfo)!=null&&ce.school_id&&ue()},[(b=S==null?void 0:S.userInfo)==null?void 0:b.school_id]);const z=ce=>C(void 0,null,function*(){var Fe;const De=(0,j.cloneDeep)(ce);R.U.setItem((Fe=S==null?void 0:S.userInfo)==null?void 0:Fe.login,[De==null?void 0:De.ec_major_school_id,De==null?void 0:De.ec_year_id]),fe(!0);const Pe=yield(0,G.ZP)(`/api/ec_years/${h.ec_year_id}/ec_docs.json`,{method:"get",params:De});Pe!=null&&Pe.data&&(Qe((Pe==null?void 0:Pe.data)||[]),h.total=Pe==null?void 0:Pe.count,T(B({},h))),fe(!1)}),ue=()=>C(void 0,null,function*(){var ce,Fe,De,Pe,dt,xt,Ae,Zt,tn,_t;const ot=yield(0,G.ZP)(`/api/schools/${(ce=S==null?void 0:S.userInfo)==null?void 0:ce.school_id}/ec_majors/get_major_list.json`,{method:"get"});if(!((De=(Fe=ot==null?void 0:ot.data)==null?void 0:Fe[0])!=null&&De.ec_major_school_id)){fe(!1),Te(!0);return}const Lt=R.U.getItem((Pe=S==null?void 0:S.userInfo)==null?void 0:Pe.login),nn=Number((dt=ae==null?void 0:ae.query)==null?void 0:dt.ec_major_school_id)||Lt[0]||((Ae=(xt=ot==null?void 0:ot.data)==null?void 0:xt[0])==null?void 0:Ae.ec_major_school_id),It=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((Zt=ae==null?void 0:ae.query)==null?void 0:Zt.ec_year_id)||Lt[1]||((_t=(tn=It==null?void 0:It.data)==null?void 0:tn[0])==null?void 0:_t.ec_year_id),we(h.ec_year_id),mt((ot==null?void 0:ot.data)||[]),Xe((It==null?void 0:It.data)||[]),T(h),z(h)}),oe=ce=>C(void 0,null,function*(){var Fe,De;const Pe=yield(0,G.ZP)(`/api/ec_major_schools/${ce}/ec_years/get_year_list.json`,{method:"get"});h.ec_major_school_id=ce,h.ec_year_id=(De=(Fe=Pe==null?void 0:Pe.data)==null?void 0:Fe[0])==null?void 0:De.ec_year_id,Xe((Pe==null?void 0:Pe.data)||[]),T(h),z(h)}),we=ce=>C(void 0,null,function*(){const Fe=yield(0,G.ZP)(`/api/ec_years/${ce}/ec_courses/get_courses.json`,{method:"get"});m((Fe==null?void 0:Fe.data)||[])}),Ke=(ce,Fe)=>{if(h.page=1,h[Fe]=ce,Fe==="ec_major_school_id"){oe(ce);return}Fe==="ec_year_id"&&(T(B({},h)),z(h),we(ce))},We=ce=>{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 Fe=yield(0,G.ZP)(`/api/ec_years/${h.ec_year_id}/ec_docs/${ce}.json`,{method:"delete"});(Fe==null?void 0:Fe.status)===0&&(h.page=1,T(B({},h)),z(h))})})},ze=[{title:"\u5E8F\u53F7",dataIndex:"index",width:90,render:(ce,Fe,De)=>P.createElement("span",{className:"pl20"},h.per_page*(h.page-1)+De+1)},{title:"\u6587\u6863\u540D\u79F0",dataIndex:"name",ellipsis:!0,width:200,render:ce=>ce||"-"},{title:"\u751F\u6210\u65F6\u95F4",dataIndex:"created_at",ellipsis:!0,width:200,render:ce=>ce||"-"},{title:"\u6700\u540E\u66F4\u65B0\u65F6\u95F4",dataIndex:"updated_at",width:200,ellipsis:!0,render:ce=>ce||"-"},{title:"\u64CD\u4F5C",width:120,dataIndex:"id",render:(ce,Fe)=>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 De;let Pe=Fe.name.substr(0,(De=Fe.name)==null?void 0:De.lastIndexOf("."));if(!Pe.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:Pe,maxLength:100,onChange:dt=>{Pe=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/${ce}.json`,{method:"put",body:{ec_year_id:h==null?void 0:h.ec_year_id,id:ce,name:Pe}});(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(Fe==null?void 0:Fe.type)){const De=yield(0,g.gJ)({attachment_id:Fe.attachment_id});window.open(`/office.html?key=${Fe.attachment_id}&url=${W+(De==null?void 0:De.url)}&callbackUrl=${W+(De==null?void 0:De.callbackUrl)}&fileType=docx&title=${De==null?void 0:De.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:Fe==null?void 0:Fe.name,attachment_id:Fe==null?void 0:Fe.attachment_id})},className:"iconfont icon-xiazai4"})),P.createElement(H.Z,{title:"\u5220\u9664"},P.createElement("i",{style:{cursor:"pointer"},onClick:()=>{We(ce)},className:"iconfont icon-shanchu11"})))}],Me=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:Me,style:{width:240},placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A",value:h==null?void 0:h.ec_major_school_id,onChange:ce=>Ke(ce,"ec_major_school_id")},Ze==null?void 0:Ze.map(ce=>P.createElement(f.default.Option,{value:ce.ec_major_school_id},ce.name))),P.createElement("div",{className:D.label},"\u8BA4\u8BC1\u5C4A\u522B"),P.createElement(f.default,{disabled:Me,style:{width:140},placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:h==null?void 0:h.ec_year_id,onChange:ce=>Ke(ce,"ec_year_id")},me==null?void 0:me.map(ce=>P.createElement(f.default.Option,{value:ce.ec_year_id},ce.year))),P.createElement(t.Z,{className:D.button,size:10},P.createElement(r.ZP,{disabled:Me,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:Oe,bordered:!1,rowKey:"id",columns:ze,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:ce=>P.createElement("span",{className:"mr10"},"\u5171",P.createElement("span",{className:"c-orange"},ce),"\u6761\u6570\u636E")}}),P.createElement(V.default,{title:"\u751F\u6210\u6587\u6863",open:Y,onOk:()=>{Ie.submit()},okButtonProps:{loading:L},onCancel:()=>{c(!1),Ie.setFieldsValue({export_type:"",ec_course_id:""})}},console.log("---",h),P.createElement(p.default,{labelCol:{span:7},wrapperCol:{span:17},form:Ie,onValuesChange:ce=>{ce.export_type&&(h.formvalues=ce),T(B({},h))},onFinish:ce=>C(void 0,null,function*(){X(!0);let Fe=`/api/ec_years/${h==null?void 0:h.ec_year_id}/ec_docs.json`,De=yield(0,G.ZP)(Fe,{method:"post",body:B({ec_year_id:h.ec_year_id},ce)});X(!1),De.status===0&&(e.ZP.info("\u751F\u6210\u6210\u529F"),z(h),Ie.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((ce,Fe)=>P.createElement(f.default.Option,{key:Fe,value:ce==null?void 0:ce.id},ce==null?void 0:ce.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((ce,Fe)=>P.createElement(f.default.Option,{key:Fe,value:ce==null?void 0:ce.id},ce==null?void 0:ce.name)))))),P.createElement(y.Z,Ce(B({},A),{onClose:()=>{U(Ce(B({},A),{type:""}))}})))};var N=(0,K.connect)(({user:S})=>({user:S}))(E)},82311:function(Bt,Be,l){"use strict";l.d(Be,{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)},84454:function(Bt,Be,l){"use strict";l.d(Be,{AD:function(){return E},BA:function(){return Y},D9:function(){return T},Hp:function(){return O},IM:function(){return fe},Iy:function(){return Z},KM:function(){return W},KU:function(){return mt},MJ:function(){return k},Ne:function(){return re},ON:function(){return Xe},Uj:function(){return Ie},VY:function(){return Ze},YO:function(){return Qe},YX:function(){return Oe},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 Ce},pO:function(){return ae},rQ:function(){return N},sA:function(){return $},xm:function(){return h},xo:function(){return Te},y8:function(){return S},yd:function(){return _}});var P=l(33270),D=l(65582),K=l(65862),G=l(6767),j=l(74128),p=Object.defineProperty,V=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(c,L,X)=>L in c?p(c,L,{enumerable:!0,configurable:!0,writable:!0,value:X}):c[L]=X,f=(c,L)=>{for(var X in L||(L={}))H.call(L,X)&&s(c,X,L[X]);if(V)for(var X of V(L))e.call(L,X)&&s(c,X,L[X]);return c},t=(c,L,X)=>new Promise((x,m)=>{var F=U=>{try{A(X.next(U))}catch(z){m(z)}},q=U=>{try{A(X.throw(U))}catch(z){m(z)}},A=U=>U.done?x(U.value):Promise.resolve(U.value).then(F,q);A((X=X.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 X=yield(0,P.o_)(f({},c));X.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}`)):X.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 X=yield(0,P.ZL)(f({},c));X.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}`)):X.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 X=yield(0,P.vV)(f({},c));X.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}`)):X.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 X=yield(0,P.aP)(f({},c));X.status===0?(G.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),D.history.push(`/classrooms/${c.coursesId}/exportlist/${L}`)):X.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}))}),Ce=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}))}),fe=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}))}),Te=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}))}),Ze=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}))}),mt=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}))}),Oe=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}))}),Ie=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}))}),Y=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,Be,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,Be,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(Be,P),D!==void 0&&(Bt.exports=D)},87804:function(Bt,Be){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,Ce=!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&&(Ce=!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,Ce?(Ce=!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 fe=0;fe<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;fe++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[fe])){N=!0;break}($||Ce)&&!(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 Te=!1;this._input.lookBack("with")&&(Te=!0),this.preserveSingleSpace(b||Te),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 Ze=n==='"'||n==="'";this.preserveSingleSpace(Ze||b),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
`&&N&&this._output.add_new_line()}var mt=this._output.get_code(k);return mt},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(Be,l),P!==void 0&&(Bt.exports=P)})()},40998:function(Bt,Be,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(Ze,mt){var me=new I(Ze,mt,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 fe=function(){this.eol=`
|
|
`};fe.prototype=this._options.raw_options;var ve=new fe;S=b(T+S,ve)}else{var Te=v.whitespace_before;Te&&(S=S.replace(new RegExp(`
|
|
(`+Te+")?","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"],Ce=["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||Ce.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(Be,P),D!==void 0&&(Bt.exports=D);else var j,p})()},58553:function(Bt,Be){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 Ce(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,fe;T<re;T++)if(fe=a[T],fe&&fe.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 fe=a.comments_before.next();fe;)this.handle_whitespace_and_comments(fe,h),this.handle_token(fe,h),fe=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 Te=1;Te<T;Te+=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 fe=_(this._flags.last_token.text,w)&&_(this._options.operator_position,$)||_(a.text,w);T=T&&fe}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&&Ce(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(),Ce(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==="}",fe=re&&this._flags.last_word==="function"&&this._flags.last_token.type===R.END_EXPR;if(this._options.brace_preserve_inline){var ve=0,Te=null;this._flags.inline_frame=!0;do if(ve+=1,Te=this._tokens.peek(ve-1),Te.newlines){this._flags.inline_frame=!1;break}while(Te.type!==R.EOF&&!(Te.type===R.END_BLOCK&&Te.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&&(fe||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 fe=!0,ve=!0,Te=!1;if(a.text===":"?this._flags.ternary_depth===0?fe=!1:(this._flags.ternary_depth-=1,Te=!0):a.text==="?"&&(this._flags.ternary_depth+=1),!T&&!h&&this._options.preserve_newlines&&_(a.text,w)){var Ze=a.text===":",mt=Ze&&Te,me=Ze&&!Te;switch(this._options.operator_position){case I.before_newline:this._output.space_before_token=!me,this.print_token(a),(!Ze||mt)&&this.allow_wrap_or_preserved_newline(a),this._output.space_before_token=!0;return;case I.after_newline:this._output.space_before_token=!0,!Ze||mt?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),fe=!(this._output.just_added_newline()||me),this._output.space_before_token=fe,this.print_token(a),this._output.space_before_token=!0;return}}if(h){this.allow_wrap_or_preserved_newline(a),fe=!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),fe=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),fe=!1,ve=!1,a.newlines&&(a.text==="--"||a.text==="++"||a.text==="~")){var Oe=O(this._flags.last_token,k)&&a.newlines;Oe&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Oe,!0)}this._flags.last_token.text===";"&&E(this._flags.mode)&&(fe=!0),this._flags.last_token.type===R.RESERVED?fe=!0:this._flags.last_token.type===R.END_EXPR?fe=!(this._flags.last_token.text==="]"&&(a.text==="--"||a.text==="++")):this._flags.last_token.type===R.OPERATOR&&(fe=_(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||fe,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,fe=!1,ve=!1,Te=a.whitespace_before,Ze=Te.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),fe=N(T,"*"),ve=S(T,Te),fe&&(this._flags.alignment=1),re=0;re<T.length;re++)fe?(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(Ze))):(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"]),Ce=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"))&&Ce.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],fe=n[2],ve=!!n[n.length-1]||fe.slice(0,8)==="![CDATA[";if(!ve&&(fe===a||h&&fe.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(Be,l),P!==void 0&&(Bt.exports=P)})()},75918:function(Bt,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.d(Be,{ok:function(){return P}});function P(D,K){if(!D)throw new Error(K?`Assertion failed (${K})`:"Assertion Failed")}},52615:function(Bt,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.d(Be,{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 fe=new e({leakWarningThreshold:n,onFirstListenerAdd(){a=E(ve=>{re++,h=N(h,ve),b&&!T&&(fe.fire(h),h=void 0),clearTimeout(T),T=setTimeout(()=>{const Te=h;h=void 0,T=void 0,(!b||re>1)&&fe.fire(Te),re=0},S)})},onLastListenerRemove(){a.dispose()}});return fe.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 Ce(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=Ce;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,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.d(Be,{$: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,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.d(Be,{$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,Ce=!1;function C(){if(!Ce){Ce=!0;const v=new Uint8Array(2);v[0]=1,v[1]=2,B=new Uint16Array(v.buffer)[0]===513}return B}},95830:function(Bt,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.d(Be,{$i:function(){return re},C8:function(){return mt},GF:function(){return f},HO:function(){return S},IO:function(){return t},K7:function(){return Ze},Kw:function(){return Oe},LC:function(){return o},Mh:function(){return I},P1:function(){return $},PJ:function(){return Qe},Qe:function(){return fe},R1:function(){return s},RP:function(){return h},S6:function(){return Ie},TT:function(){return _},Ut:function(){return n},V8:function(){return g},WU:function(){return K},YK:function(){return Ce},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 Te},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,A){const U=parseInt(A,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"<";case">":return">";case"&":return"&";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 A=0;for(;m.indexOf(F,A)===A;)A=A+q;return m.substring(A)}function H(m,F){if(!m||!F)return m;const q=F.length,A=m.length;if(q===0||A===0)return m;let U=A,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 A="";return q.global&&(A+="g"),q.matchCase||(A+="i"),q.multiline&&(A+="m"),q.unicode&&(A+="u"),new RegExp(m,A)}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 A=m.charCodeAt(F);if(A!==32&&A!==9)return F}return-1}function g(m,F=0,q=m.length){for(let A=F;A<q;A++){const U=m.charCodeAt(A);if(U!==32&&U!==9)return m.substring(F,A)}return m.substring(F,q)}function w(m,F=m.length-1){for(let q=F;q>=0;q--){const A=m.charCodeAt(q);if(A!==32&&A!==9)return q}return-1}function R(m,F){return m<F?-1:m>F?1:0}function _(m,F,q=0,A=m.length,U=0,z=F.length){for(;q<A&&U<z;q++,U++){let we=m.charCodeAt(q),Ke=F.charCodeAt(U);if(we<Ke)return-1;if(we>Ke)return 1}const ue=A-q,oe=z-U;return ue<oe?-1:ue>oe?1:0}function y(m,F){return d(m,F,0,m.length,0,F.length)}function d(m,F,q=0,A=m.length,U=0,z=F.length){for(;q<A&&U<z;q++,U++){let we=m.charCodeAt(q),Ke=F.charCodeAt(U);if(we===Ke)continue;if(we>=128||Ke>=128)return _(m.toLowerCase(),F.toLowerCase(),q,A,U,z);u(we)&&(we-=32),u(Ke)&&(Ke-=32);const We=we-Ke;if(We!==0)return We}const ue=A-q,oe=z-U;return ue<oe?-1:ue>oe?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,A=Math.min(m.length,F.length);for(q=0;q<A;q++)if(m.charCodeAt(q)!==F.charCodeAt(q))return q;return A}function $(m,F){let q,A=Math.min(m.length,F.length);const U=m.length-1,z=F.length-1;for(q=0;q<A;q++)if(m.charCodeAt(U-q)!==F.charCodeAt(z-q))return q;return A}function B(m){return 55296<=m&&m<=56319}function Ce(m){return 56320<=m&&m<=57343}function C(m,F){return(m-55296<<10)+(F-56320)+65536}function v(m,F,q){const A=m.charCodeAt(q);if(B(A)&&q+1<F){const U=m.charCodeAt(q+1);if(Ce(U))return C(A,U)}return A}function E(m,F){const q=m.charCodeAt(F-1);if(Ce(q)&&F>1){const A=m.charCodeAt(F-2);if(B(A))return C(A,q)}return q}function N(m,F){const q=W.getInstance(),A=F,U=m.length,z=v(m,U,F);F+=z>=65536?2:1;let ue=q.getGraphemeBreakType(z);for(;F<U;){const oe=v(m,U,F),we=q.getGraphemeBreakType(oe);if(ae(ue,we))break;F+=oe>=65536?2:1,ue=we}return F-A}function S(m,F){const q=W.getInstance(),A=F,U=E(m,F);F-=U>=65536?2:1;let z=q.getGraphemeBreakType(U);for(;F>0;){const ue=E(m,F),oe=q.getGraphemeBreakType(ue);if(ae(oe,z))break;F-=ue>=65536?2:1,z=oe}return A-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 fe=/[\u2028\u2029]/;function ve(m){return fe.test(m)}function Te(m){for(let F=0,q=m.length;F<q;F++)if(Ze(m.charCodeAt(F)))return!0;return!1}function Ze(m){return m=+m,m>=11904&&m<=55215||m>=63744&&m<=64255||m>=65281&&m<=65374}function mt(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 Oe(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 Ie(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=Y()}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,A=q.length/3;let U=1;for(;U<=A;)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 Y(){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 A=E(F,m);return m-=X(A),m}function L(m,F){let q=E(F,m);for(m-=X(q);x(q)||q===65039||q===8419;){if(m===0)return;q=E(F,m),m-=X(q)}if(mt(q)){if(m>=0){const A=E(F,m);A===8205&&(m-=X(A))}return m}}function X(m){return m>=65536?2:1}function x(m){return 127995<=m&&m<=127999}},72999:function(Bt,Be,l){"use strict";l.d(Be,{$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,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.d(Be,{Ao:function(){return V},Eq:function(){return C},Fb:function(){return H},K8:function(){return N},i6:function(){return Ce},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),fe=n[T+1]==="i"?"i":"";try{return new RegExp(re,fe)}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 fe=h.pop(),ve=h.length===0,Te=$.create(re.expr.map(Ze=>I.create([Ze,fe],null)),null,ve);Te&&(h.push(Te),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 fe=0,ve=n.length;fe<ve;fe++){const Te=n[fe];if(Te){if(Te.type===0){re=!0;continue}if(Te.type===1)return f.INSTANCE;if(Te.type===9){T=T.concat(Te.expr);continue}T.push(Te)}}if(T.length===0&&re)return s.INSTANCE;T.sort(e)}if(T.length!==0){if(T.length===1)return T[0];for(let fe=1;fe<T.length;fe++)T[fe-1].equals(T[fe])&&(T.splice(fe,1),fe--);if(T.length===1)return T[0];if(h){for(let fe=0;fe<T.length;fe++)for(let ve=fe+1;ve<T.length;ve++)N(T[fe],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 fe of S(a))for(const ve of S(h))T.push(I.create([fe,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 Ce=(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 fe=h[T].negate();for(let ve=T+1;ve<h.length;ve++){const Te=h[ve];if(fe.equals(Te))return!0}}return!1}function S(b){return b.type===9?b.expr:[b]}},16925:function(Bt,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.d(Be,{e:function(){return P}});var P;(function(D){D.DARK="dark",D.LIGHT="light",D.HIGH_CONTRAST="hc"})(P||(P={}))},49055:function(Bt,Be,l){"use strict";l.d(Be,{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,Be,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),Ce=(0,H.Z)(d,{value:R}),C=(0,G.Z)(Ce,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")}))});Be.Z=f},96478:function(Bt,Be,l){"use strict";l.d(Be,{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,Ce=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),Ce&&(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,Ce=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(Ce,"-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,Ce=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,fe=Z.hideAction,ve=Z.overlayClassName,Te=Z.overlayStyle,Ze=Z.visible,mt=Z.trigger,me=mt===void 0?["hover"]:mt,Xe=Z.autoFocus,Oe=Z.overlay,Qe=Z.children,Ie=Z.onVisibleChange,ae=(0,G.Z)(Z,d),W=e.useState(),Y=(0,K.Z)(W,2),c=Y[0],L=Y[1],X="visible"in Z?Ze:c,x=e.useRef(null),m=e.useRef(null),F=e.useRef(null);e.useImperativeHandle(I,function(){return x.current});var q=function(ze){L(ze),Ie==null||Ie(ze)};i({visible:X,triggerRef:F,onVisibleChange:q,autoFocus:Xe,overlayRef:m});var A=function(ze){var Me=Z.onOverlayClick;L(!1),Me&&Me(ze)},U=function(){return e.createElement(g,{ref:m,overlay:Oe,prefixCls:v,arrow:Ce})},z=function(){return typeof Oe=="function"?U:U()},ue=function(){var ze=Z.minOverlayWidthMatchTrigger,Me=Z.alignPoint;return"minOverlayWidthMatchTrigger"in Z?ze:!Me},oe=function(){var ze=Z.openClassName;return ze!==void 0?ze:"".concat(v,"-open")},we=e.cloneElement(Qe,{className:V()(($=Qe.props)===null||$===void 0?void 0:$.className,X&&oe()),ref:(0,H.Yr)(Qe)?(0,H.sQ)(F,(0,H.C4)(Qe)):void 0}),Ke=fe;return!Ke&&me.indexOf("contextMenu")!==-1&&(Ke=["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"),Ce)),popupStyle:Te,action:me,showAction:re,hideAction:Ke,popupPlacement:n,popupAlign:S,popupTransitionName:E,popupAnimation:N,popupVisible:X,stretch:ue()?"minWidth":"",popup:z(),onPopupVisibleChange:q,onPopupClick:A,getPopupContainer:T}),we)}var O=e.forwardRef(u),k=O},66003:function(Bt,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.r(Be),l.d(Be,{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,Ce=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,fe=d.handleReset,ve=d.hidden,Te=d.classes,Ze=d.classNames,mt=d.dataAttrs,me=d.styles,Xe=d.components,Oe=d.onClear,Qe=$!=null?$:I,Ie=(Xe==null?void 0:Xe.affixWrapper)||"span",ae=(Xe==null?void 0:Xe.groupWrapper)||"span",W=(Xe==null?void 0:Xe.wrapper)||"span",Y=(Xe==null?void 0:Xe.groupAddon)||"span",c=(0,V.useRef)(null),L=function(Fe){var De;(De=c.current)!==null&&De!==void 0&&De.contains(Fe.target)&&(h==null||h())},X=(0,H.X3)(d),x=(0,V.cloneElement)(Qe,{value:re,className:p()((O=Qe.props)===null||O===void 0?void 0:O.className,!X&&(Ze==null?void 0:Ze.variant))||null}),m=(0,V.useRef)(null);if(V.useImperativeHandle(u,function(){return{nativeElement:m.current||c.current}}),X){var F=null;if(T){var q=!b&&!n&&re,A="".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(Fe){fe==null||fe(Fe),Oe==null||Oe()},onMouseDown:function(Fe){return Fe.preventDefault()},className:p()(A,(0,K.Z)((0,K.Z)({},"".concat(A,"-hidden"),!q),"".concat(A,"-has-suffix"),!!C))},U)}var z="".concat(B,"-affix-wrapper"),ue=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),Te==null?void 0:Te.affixWrapper,Ze==null?void 0:Ze.affixWrapper,Ze==null?void 0:Ze.variant),oe=(C||T)&&V.createElement("span",{className:p()("".concat(B,"-suffix"),Ze==null?void 0:Ze.suffix),style:me==null?void 0:me.suffix},F,C);x=V.createElement(Ie,(0,D.Z)({className:ue,style:me==null?void 0:me.affixWrapper,onClick:L},mt==null?void 0:mt.affixWrapper,{ref:c}),Ce&&V.createElement("span",{className:p()("".concat(B,"-prefix"),Ze==null?void 0:Ze.prefix),style:me==null?void 0:me.prefix},Ce),x,oe)}if((0,H.He)(d)){var we="".concat(B,"-group"),Ke="".concat(we,"-addon"),We="".concat(we,"-wrapper"),ze=p()("".concat(B,"-wrapper"),we,Te==null?void 0:Te.wrapper,Ze==null?void 0:Ze.wrapper),Me=p()(We,(0,K.Z)({},"".concat(We,"-disabled"),b),Te==null?void 0:Te.group,Ze==null?void 0:Ze.groupWrapper);x=V.createElement(ae,{className:Me,ref:m},V.createElement(W,{className:ze},v&&V.createElement(Y,{className:Ke},v),x,E&&V.createElement(Y,{className:Ke},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,Ce=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,fe=d.classes,ve=d.classNames,Te=d.styles,Ze=d.onCompositionStart,mt=d.onCompositionEnd,me=(0,r.Z)(d,w),Xe=(0,V.useState)(!1),Oe=(0,t.Z)(Xe,2),Qe=Oe[0],Ie=Oe[1],ae=(0,V.useRef)(!1),W=(0,V.useRef)(!1),Y=(0,V.useRef)(null),c=(0,V.useRef)(null),L=function(ot){Y.current&&(0,H.nH)(Y.current,ot)},X=(0,i.Z)(d.defaultValue,{value:d.value}),x=(0,t.Z)(X,2),m=x[0],F=x[1],q=m==null?"":String(m),A=(0,V.useState)(null),U=(0,t.Z)(A,2),z=U[0],ue=U[1],oe=(0,g.Z)(h,a),we=oe.max||b,Ke=oe.strategy(q),We=!!we&&Ke>we;(0,V.useImperativeHandle)(u,function(){var _t;return{focus:L,blur:function(){var Lt;(Lt=Y.current)===null||Lt===void 0||Lt.blur()},setSelectionRange:function(Lt,nn,It){var vt;(vt=Y.current)===null||vt===void 0||vt.setSelectionRange(Lt,nn,It)},select:function(){var Lt;(Lt=Y.current)===null||Lt===void 0||Lt.select()},input:Y.current,nativeElement:((_t=c.current)===null||_t===void 0?void 0:_t.nativeElement)||Y.current}}),(0,V.useEffect)(function(){W.current&&(W.current=!1),Ie(function(_t){return _t&&E?!1:_t})},[E]);var ze=function(ot,Lt,nn){var It=Lt;if(!ae.current&&oe.exceedFormatter&&oe.max&&oe.strategy(Lt)>oe.max){if(It=oe.exceedFormatter(Lt,{max:oe.max}),Lt!==It){var vt,Kt;ue([((vt=Y.current)===null||vt===void 0?void 0:vt.selectionStart)||0,((Kt=Y.current)===null||Kt===void 0?void 0:Kt.selectionEnd)||0])}}else if(nn.source==="compositionEnd")return;F(It),Y.current&&(0,H.rJ)(Y.current,ot,k,It)};(0,V.useEffect)(function(){if(z){var _t;(_t=Y.current)===null||_t===void 0||_t.setSelectionRange.apply(_t,(0,f.Z)(z))}},[z]);var Me=function(ot){ze(ot,ot.target.value,{source:"change"})},ce=function(ot){ae.current=!1,ze(ot,ot.currentTarget.value,{source:"compositionEnd"}),mt==null||mt(ot)},Fe=function(ot){$&&ot.key==="Enter"&&!W.current&&(W.current=!0,$(ot)),B==null||B(ot)},De=function(ot){ot.key==="Enter"&&(W.current=!1),Ce==null||Ce(ot)},Pe=function(ot){Ie(!0),Z==null||Z(ot)},dt=function(ot){W.current&&(W.current=!1),Ie(!1),I==null||I(ot)},xt=function(ot){F(""),L(),Y.current&&(0,H.rJ)(Y.current,ot,k)},Ae=We&&"".concat(v,"-out-of-range"),Zt=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:Me,onFocus:Pe,onBlur:dt,onKeyDown:Fe,onKeyUp:De,className:p()(v,(0,K.Z)({},"".concat(v,"-disabled"),E),ve==null?void 0:ve.input),style:Te==null?void 0:Te.input,ref:Y,size:N,type:re,onCompositionStart:function(nn){ae.current=!0,Ze==null||Ze(nn)},onCompositionEnd:ce}))},tn=function(){var ot=Number(we)>0;if(n||oe.show){var Lt=oe.showFormatter?oe.showFormatter({value:q,count:Ke,maxLength:we}):"".concat(Ke).concat(ot?" / ".concat(we):"");return V.createElement(V.Fragment,null,oe.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)({},Te==null?void 0:Te.count)},Lt),n)}return null};return V.createElement(s,(0,D.Z)({},me,{prefixCls:v,className:p()(S,Ae),handleReset:xt,value:q,focused:Qe,triggerFocus:L,suffix:tn(),disabled:E,classes:fe,classNames:ve,styles:Te}),Zt())}),_=R,y=_},30292:function(Bt,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.d(Be,{iz:function(){return ee},ck:function(){return It},BW:function(){return He},sN:function(){return It},Wd:function(){return un},ZP:function(){return tt},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(83836),s=l(18929),f=l(13697),t=l(48736),r=l(59301),i=l(4676),o=r.createContext(null);function g(Q,de){return Q===void 0?null:"".concat(Q,"-").concat(de)}function w(Q){var de=r.useContext(o);return g(de,Q)}var R=l(80547),_=["children","locked"],y=r.createContext(null);function d(Q,de){var ge=(0,K.Z)({},Q);return Object.keys(de).forEach(function(_e){var ye=de[_e];ye!==void 0&&(ge[_e]=ye)}),ge}function u(Q){var de=Q.children,ge=Q.locked,_e=(0,p.Z)(Q,_),ye=r.useContext(y),Ne=(0,R.Z)(function(){return d(ye,_e)},[ye,_e],function(Le,nt){return!ge&&(Le[0]!==nt[0]||!(0,f.Z)(Le[1],nt[1],!0))});return r.createElement(y.Provider,{value:Ne},de)}var O=[],k=r.createContext(null);function Z(){return r.useContext(k)}var I=r.createContext(O);function $(Q){var de=r.useContext(I);return r.useMemo(function(){return Q!==void 0?[].concat((0,G.Z)(de),[Q]):de},[de,Q])}var B=r.createContext(null),Ce=r.createContext({}),C=Ce,v=l(29194);function E(Q){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,v.Z)(Q)){var ge=Q.nodeName.toLowerCase(),_e=["input","select","textarea","button"].includes(ge)||Q.isContentEditable||ge==="a"&&!!Q.getAttribute("href"),ye=Q.getAttribute("tabindex"),Ne=Number(ye),Le=null;return ye&&!Number.isNaN(Ne)?Le=Ne:_e&&Le===null&&(Le=0),_e&&Q.disabled&&(Le=null),Le!==null&&(Le>=0||de&&Le<0)}return!1}function N(Q){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ge=(0,G.Z)(Q.querySelectorAll("*")).filter(function(_e){return E(_e,de)});return E(Q,de)&&ge.unshift(Q),ge}var S=null;function b(){S=document.activeElement}function n(){S=null}function a(){if(S)try{S.focus()}catch(Q){}}function h(Q,de){if(de.keyCode===9){var ge=N(Q),_e=ge[de.shiftKey?0:ge.length-1],ye=_e===document.activeElement||Q===document.activeElement;if(ye){var Ne=ge[de.shiftKey?ge.length-1:0];Ne.focus(),de.preventDefault()}}}var T=l(10228),re=l(16089),fe=T.Z.LEFT,ve=T.Z.RIGHT,Te=T.Z.UP,Ze=T.Z.DOWN,mt=T.Z.ENTER,me=T.Z.ESC,Xe=T.Z.HOME,Oe=T.Z.END,Qe=[Te,Ze,fe,ve];function Ie(Q,de,ge,_e){var ye,Ne="prev",Le="next",nt="children",ft="parent";if(Q==="inline"&&_e===mt)return{inlineTrigger:!0};var Et=(0,D.Z)((0,D.Z)({},Te,Ne),Ze,Le),cn=(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)({},fe,ge?Le:Ne),ve,ge?Ne:Le),Ze,nt),mt,nt),St=(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)({},Te,Ne),Ze,Le),mt,nt),me,ft),fe,ge?nt:ft),ve,ge?ft:nt),Pt={inline:Et,horizontal:cn,vertical:St,inlineSub:Et,horizontalSub:St,verticalSub:St},zt=(ye=Pt["".concat(Q).concat(de?"":"Sub")])===null||ye===void 0?void 0:ye[_e];switch(zt){case Ne:return{offset:-1,sibling:!0};case Le:return{offset:1,sibling:!0};case ft:return{offset:-1,sibling:!1};case nt:return{offset:1,sibling:!1};default:return null}}function ae(Q){for(var de=Q;de;){if(de.getAttribute("data-menu-list"))return de;de=de.parentElement}return null}function W(Q,de){for(var ge=Q||document.activeElement;ge;){if(de.has(ge))return ge;ge=ge.parentElement}return null}function Y(Q,de){var ge=N(Q,!0);return ge.filter(function(_e){return de.has(_e)})}function c(Q,de,ge){var _e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Q)return null;var ye=Y(Q,de),Ne=ye.length,Le=ye.findIndex(function(nt){return ge===nt});return _e<0?Le===-1?Le=Ne-1:Le-=1:_e>0&&(Le+=1),Le=(Le+Ne)%Ne,ye[Le]}var L=function(de,ge){var _e=new Set,ye=new Map,Ne=new Map;return de.forEach(function(Le){var nt=document.querySelector("[data-menu-id='".concat(g(ge,Le),"']"));nt&&(_e.add(nt),Ne.set(nt,Le),ye.set(Le,nt))}),{elements:_e,key2element:ye,element2key:Ne}};function X(Q,de,ge,_e,ye,Ne,Le,nt,ft,Et){var cn=r.useRef(),St=r.useRef();St.current=de;var Pt=function(){re.Z.cancel(cn.current)};return r.useEffect(function(){return function(){Pt()}},[]),function(zt){var Gt=zt.which;if([].concat(Qe,[mt,me,Xe,Oe]).includes(Gt)){var Vt=Ne(),Rt=L(Vt,_e),Dt=Rt,rt=Dt.elements,ct=Dt.key2element,gt=Dt.element2key,Yt=ct.get(de),At=W(Yt,rt),Ht=gt.get(At),Dn=Ie(Q,Le(Ht,!0).length===1,ge,Gt);if(!Dn&&Gt!==Xe&&Gt!==Oe)return;(Qe.includes(Gt)||[Xe,Oe].includes(Gt))&&zt.preventDefault();var M=function(Ee){if(Ee){var ne=Ee,le=Ee.querySelector("a");le!=null&&le.getAttribute("href")&&(ne=le);var he=gt.get(Ee);nt(he),Pt(),cn.current=(0,re.Z)(function(){St.current===he&&ne.focus()})}};if([Xe,Oe].includes(Gt)||Dn.sibling||!At){var se;!At||Q==="inline"?se=ye.current:se=ae(At);var te,ie=Y(se,rt);Gt===Xe?te=ie[0]:Gt===Oe?te=ie[ie.length-1]:te=c(se,rt,At,Dn.offset),M(te)}else if(Dn.inlineTrigger)ft(Ht);else if(Dn.offset>0)ft(Ht,!0),Pt(),cn.current=(0,re.Z)(function(){Rt=L(Vt,_e);var ke=At.getAttribute("aria-controls"),Ee=document.getElementById(ke),ne=c(Ee,Rt.elements);M(ne)},5);else if(Dn.offset<0){var pe=Le(Ht,!0),xe=pe[pe.length-2],je=ct.get(xe);ft(xe,!1),M(je)}}Et==null||Et(zt)}}function x(Q){Promise.resolve().then(Q)}var m="__RC_UTIL_PATH_SPLIT__",F=function(de){return de.join(m)},q=function(de){return de.split(m)},A="rc-menu-more";function U(){var Q=r.useState({}),de=(0,j.Z)(Q,2),ge=de[1],_e=(0,r.useRef)(new Map),ye=(0,r.useRef)(new Map),Ne=r.useState([]),Le=(0,j.Z)(Ne,2),nt=Le[0],ft=Le[1],Et=(0,r.useRef)(0),cn=(0,r.useRef)(!1),St=function(){cn.current||ge({})},Pt=(0,r.useCallback)(function(ct,gt){var Yt=F(gt);ye.current.set(Yt,ct),_e.current.set(ct,Yt),Et.current+=1;var At=Et.current;x(function(){At===Et.current&&St()})},[]),zt=(0,r.useCallback)(function(ct,gt){var Yt=F(gt);ye.current.delete(Yt),_e.current.delete(ct)},[]),Gt=(0,r.useCallback)(function(ct){ft(ct)},[]),Vt=(0,r.useCallback)(function(ct,gt){var Yt=_e.current.get(ct)||"",At=q(Yt);return gt&&nt.includes(At[0])&&At.unshift(A),At},[nt]),Rt=(0,r.useCallback)(function(ct,gt){return ct.filter(function(Yt){return Yt!==void 0}).some(function(Yt){var At=Vt(Yt,!0);return At.includes(gt)})},[Vt]),Dt=function(){var gt=(0,G.Z)(_e.current.keys());return nt.length&>.push(A),gt},rt=(0,r.useCallback)(function(ct){var gt="".concat(_e.current.get(ct)).concat(m),Yt=new Set;return(0,G.Z)(ye.current.keys()).forEach(function(At){At.startsWith(gt)&&Yt.add(ye.current.get(At))}),Yt},[]);return r.useEffect(function(){return function(){cn.current=!0}},[]),{registerPath:Pt,unregisterPath:zt,refreshOverflowKeys:Gt,isSubPathKey:Rt,getKeyPath:Vt,getKeys:Dt,getSubPathKeys:rt}}function z(Q){var de=r.useRef(Q);de.current=Q;var ge=r.useCallback(function(){for(var _e,ye=arguments.length,Ne=new Array(ye),Le=0;Le<ye;Le++)Ne[Le]=arguments[Le];return(_e=de.current)===null||_e===void 0?void 0:_e.call.apply(_e,[de].concat(Ne))},[]);return Q?ge:void 0}var ue=Math.random().toFixed(5).toString().slice(2),oe=0;function we(Q){var de=(0,s.Z)(Q,{value:Q}),ge=(0,j.Z)(de,2),_e=ge[0],ye=ge[1];return r.useEffect(function(){oe+=1;var Ne="".concat(ue,"-").concat(oe);ye("rc-menu-uuid-".concat(Ne))},[]),_e}var Ke=l(67732),We=l(83652),ze=l(42403),Me=l(158),ce=l(2738),Fe=l(8654);function De(Q,de,ge,_e){var ye=r.useContext(y),Ne=ye.activeKey,Le=ye.onActive,nt=ye.onInactive,ft={active:Ne===Q};return de||(ft.onMouseEnter=function(Et){ge==null||ge({key:Q,domEvent:Et}),Le(Q)},ft.onMouseLeave=function(Et){_e==null||_e({key:Q,domEvent:Et}),nt(Q)}),ft}function Pe(Q){var de=r.useContext(y),ge=de.mode,_e=de.rtl,ye=de.inlineIndent;if(ge!=="inline")return null;var Ne=Q;return _e?{paddingRight:Ne*ye}:{paddingLeft:Ne*ye}}function dt(Q){var de=Q.icon,ge=Q.props,_e=Q.children,ye;return de===null||de===!1?null:(typeof de=="function"?ye=r.createElement(de,(0,K.Z)({},ge)):typeof de!="boolean"&&(ye=de),ye||_e||null)}var xt=["item"];function Ae(Q){var de=Q.item,ge=(0,p.Z)(Q,xt);return Object.defineProperty(ge,"item",{get:function(){return(0,t.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),de}}),ge}var Zt=["title","attribute","elementRef"],tn=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],_t=["active"],ot=function(Q){(0,ze.Z)(ge,Q);var de=(0,Me.Z)(ge);function ge(){return(0,Ke.Z)(this,ge),de.apply(this,arguments)}return(0,We.Z)(ge,[{key:"render",value:function(){var ye=this.props,Ne=ye.title,Le=ye.attribute,nt=ye.elementRef,ft=(0,p.Z)(ye,Zt),Et=(0,ce.Z)(ft,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,t.ZP)(!Le,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r.createElement(e.Z.Item,(0,P.Z)({},Le,{title:typeof Ne=="string"?Ne:void 0},Et,{ref:nt}))}}]),ge}(r.Component),Lt=r.forwardRef(function(Q,de){var ge=Q.style,_e=Q.className,ye=Q.eventKey,Ne=Q.warnKey,Le=Q.disabled,nt=Q.itemIcon,ft=Q.children,Et=Q.role,cn=Q.onMouseEnter,St=Q.onMouseLeave,Pt=Q.onClick,zt=Q.onKeyDown,Gt=Q.onFocus,Vt=(0,p.Z)(Q,tn),Rt=w(ye),Dt=r.useContext(y),rt=Dt.prefixCls,ct=Dt.onItemClick,gt=Dt.disabled,Yt=Dt.overflowDisabled,At=Dt.itemIcon,Ht=Dt.selectedKeys,Dn=Dt.onActive,M=r.useContext(C),se=M._internalRenderMenuItem,te="".concat(rt,"-item"),ie=r.useRef(),pe=r.useRef(),xe=gt||Le,je=(0,Fe.x1)(de,pe),ke=$(ye),Ee=function(yt){return{key:ye,keyPath:(0,G.Z)(ke).reverse(),item:ie.current,domEvent:yt}},ne=nt||At,le=De(ye,xe,cn,St),he=le.active,be=(0,p.Z)(le,_t),Se=Ht.includes(ye),Ye=Pe(ke.length),pt=function(yt){if(!xe){var pn=Ee(yt);Pt==null||Pt(Ae(pn)),ct(pn)}},at=function(yt){if(zt==null||zt(yt),yt.which===T.Z.ENTER){var pn=Ee(yt);Pt==null||Pt(Ae(pn)),ct(pn)}},kt=function(yt){Dn(ye),Gt==null||Gt(yt)},Ut={};Q.role==="option"&&(Ut["aria-selected"]=Se);var Tt=r.createElement(ot,(0,P.Z)({ref:ie,elementRef:je,role:Et===null?"none":Et||"menuitem",tabIndex:Le?null:-1,"data-menu-id":Yt&&Rt?null:Rt},(0,ce.Z)(Vt,["extra"]),be,Ut,{component:"li","aria-disabled":Le,style:(0,K.Z)((0,K.Z)({},Ye),ge),className:H()(te,(0,D.Z)((0,D.Z)((0,D.Z)({},"".concat(te,"-active"),he),"".concat(te,"-selected"),Se),"".concat(te,"-disabled"),xe),_e),onClick:pt,onKeyDown:at,onFocus:kt}),ft,r.createElement(dt,{props:(0,K.Z)((0,K.Z)({},Q),{},{isSelected:Se}),icon:ne}));return se&&(Tt=se(Tt,Q,{selected:Se})),Tt});function nn(Q,de){var ge=Q.eventKey,_e=Z(),ye=$(ge);return r.useEffect(function(){if(_e)return _e.registerPath(ge,ye),function(){_e.unregisterPath(ge,ye)}},[ye]),_e?null:r.createElement(Lt,(0,P.Z)({},Q,{ref:de}))}var It=r.forwardRef(nn),vt=["className","children"],Kt=function(de,ge){var _e=de.className,ye=de.children,Ne=(0,p.Z)(de,vt),Le=r.useContext(y),nt=Le.prefixCls,ft=Le.mode,Et=Le.rtl;return r.createElement("ul",(0,P.Z)({className:H()(nt,Et&&"".concat(nt,"-rtl"),"".concat(nt,"-sub"),"".concat(nt,"-").concat(ft==="inline"?"inline":"vertical"),_e),role:"menu"},Ne,{"data-menu-list":!0,ref:ge}),ye)},mn=r.forwardRef(Kt);mn.displayName="SubMenuList";var Ft=mn,lt=l(11592);function Ct(Q,de){return(0,lt.Z)(Q).map(function(ge,_e){if(r.isValidElement(ge)){var ye,Ne,Le=ge.key,nt=(ye=(Ne=ge.props)===null||Ne===void 0?void 0:Ne.eventKey)!==null&&ye!==void 0?ye:Le,ft=nt==null;ft&&(nt="tmp_key-".concat([].concat((0,G.Z)(de),[_e]).join("-")));var Et={key:nt,eventKey:nt};return r.cloneElement(ge,Et)}return ge})}var In=l(65030),bn={adjustX:1,adjustY:1},An={topLeft:{points:["bl","tl"],overflow:bn},topRight:{points:["br","tr"],overflow:bn},bottomLeft:{points:["tl","bl"],overflow:bn},bottomRight:{points:["tr","br"],overflow:bn},leftTop:{points:["tr","tl"],overflow:bn},leftBottom:{points:["br","bl"],overflow:bn},rightTop:{points:["tl","tr"],overflow:bn},rightBottom:{points:["bl","br"],overflow:bn}},jn={topLeft:{points:["bl","tl"],overflow:bn},topRight:{points:["br","tr"],overflow:bn},bottomLeft:{points:["tl","bl"],overflow:bn},bottomRight:{points:["tr","br"],overflow:bn},rightTop:{points:["tr","tl"],overflow:bn},rightBottom:{points:["br","bl"],overflow:bn},leftTop:{points:["tl","tr"],overflow:bn},leftBottom:{points:["bl","br"],overflow:bn}},gn=null;function Sn(Q,de,ge){if(de)return de;if(ge)return ge[Q]||ge.other}var Ln={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Fn(Q){var de=Q.prefixCls,ge=Q.visible,_e=Q.children,ye=Q.popup,Ne=Q.popupStyle,Le=Q.popupClassName,nt=Q.popupOffset,ft=Q.disabled,Et=Q.mode,cn=Q.onVisibleChange,St=r.useContext(y),Pt=St.getPopupContainer,zt=St.rtl,Gt=St.subMenuOpenDelay,Vt=St.subMenuCloseDelay,Rt=St.builtinPlacements,Dt=St.triggerSubMenuAction,rt=St.forceSubMenuRender,ct=St.rootClassName,gt=St.motion,Yt=St.defaultMotions,At=r.useState(!1),Ht=(0,j.Z)(At,2),Dn=Ht[0],M=Ht[1],se=zt?(0,K.Z)((0,K.Z)({},jn),Rt):(0,K.Z)((0,K.Z)({},An),Rt),te=Ln[Et],ie=Sn(Et,gt,Yt),pe=r.useRef(ie);Et!=="inline"&&(pe.current=ie);var xe=(0,K.Z)((0,K.Z)({},pe.current),{},{leavedClassName:"".concat(de,"-hidden"),removeOnLeave:!1,motionAppear:!0}),je=r.useRef();return r.useEffect(function(){return je.current=(0,re.Z)(function(){M(ge)}),function(){re.Z.cancel(je.current)}},[ge]),r.createElement(In.Z,{prefixCls:de,popupClassName:H()("".concat(de,"-popup"),(0,D.Z)({},"".concat(de,"-rtl"),zt),Le,ct),stretch:Et==="horizontal"?"minWidth":null,getPopupContainer:Pt,builtinPlacements:se,popupPlacement:te,popupVisible:Dn,popup:ye,popupStyle:Ne,popupAlign:nt&&{offset:nt},action:ft?[]:[Dt],mouseEnterDelay:Gt,mouseLeaveDelay:Vt,onPopupVisibleChange:cn,forceRender:rt,popupMotion:xe,fresh:!0},_e)}var On=l(77900);function vn(Q){var de=Q.id,ge=Q.open,_e=Q.keyPath,ye=Q.children,Ne="inline",Le=r.useContext(y),nt=Le.prefixCls,ft=Le.forceSubMenuRender,Et=Le.motion,cn=Le.defaultMotions,St=Le.mode,Pt=r.useRef(!1);Pt.current=St===Ne;var zt=r.useState(!Pt.current),Gt=(0,j.Z)(zt,2),Vt=Gt[0],Rt=Gt[1],Dt=Pt.current?ge:!1;r.useEffect(function(){Pt.current&&Rt(!1)},[St]);var rt=(0,K.Z)({},Sn(Ne,Et,cn));_e.length>1&&(rt.motionAppear=!1);var ct=rt.onVisibleChanged;return rt.onVisibleChanged=function(gt){return!Pt.current&&!gt&&Rt(!0),ct==null?void 0:ct(gt)},Vt?null:r.createElement(u,{mode:Ne,locked:!Pt.current},r.createElement(On.default,(0,P.Z)({visible:Dt},rt,{forceRender:ft,removeOnLeave:!1,leavedClassName:"".concat(nt,"-hidden")}),function(gt){var Yt=gt.className,At=gt.style;return r.createElement(Ft,{id:de,className:Yt,style:At},ye)}))}var Zn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],st=["active"],Ge=r.forwardRef(function(Q,de){var ge=Q.style,_e=Q.className,ye=Q.title,Ne=Q.eventKey,Le=Q.warnKey,nt=Q.disabled,ft=Q.internalPopupClose,Et=Q.children,cn=Q.itemIcon,St=Q.expandIcon,Pt=Q.popupClassName,zt=Q.popupOffset,Gt=Q.popupStyle,Vt=Q.onClick,Rt=Q.onMouseEnter,Dt=Q.onMouseLeave,rt=Q.onTitleClick,ct=Q.onTitleMouseEnter,gt=Q.onTitleMouseLeave,Yt=(0,p.Z)(Q,Zn),At=w(Ne),Ht=r.useContext(y),Dn=Ht.prefixCls,M=Ht.mode,se=Ht.openKeys,te=Ht.disabled,ie=Ht.overflowDisabled,pe=Ht.activeKey,xe=Ht.selectedKeys,je=Ht.itemIcon,ke=Ht.expandIcon,Ee=Ht.onItemClick,ne=Ht.onOpenChange,le=Ht.onActive,he=r.useContext(C),be=he._internalRenderSubMenuItem,Se=r.useContext(B),Ye=Se.isSubPathKey,pt=$(),at="".concat(Dn,"-submenu"),kt=te||nt,Ut=r.useRef(),Tt=r.useRef(),Jt=cn!=null?cn:je,yt=St!=null?St:ke,pn=se.includes(Ne),sn=!ie&&pn,_n=Ye(xe,Ne),Xt=De(Ne,kt,ct,gt),rn=Xt.active,wn=(0,p.Z)(Xt,st),on=r.useState(!1),dn=(0,j.Z)(on,2),jt=dn[0],bt=dn[1],Mt=function(Rn){kt||bt(Rn)},Qt=function(Rn){Mt(!0),Rt==null||Rt({key:Ne,domEvent:Rn})},hn=function(Rn){Mt(!1),Dt==null||Dt({key:Ne,domEvent:Rn})},ln=r.useMemo(function(){return rn||(M!=="inline"?jt||Ye([pe],Ne):!1)},[M,rn,pe,jt,Ne,Ye]),fn=Pe(pt.length),Un=function(Rn){kt||(rt==null||rt({key:Ne,domEvent:Rn}),M==="inline"&&ne(Ne,!pn))},Xn=z(function(En){Vt==null||Vt(Ae(En)),Ee(En)}),$n=function(Rn){M!=="inline"&&ne(Ne,Rn)},or=function(){le(Ne)},ar=At&&"".concat(At,"-popup"),qn=r.useMemo(function(){return r.createElement(dt,{icon:M!=="horizontal"?yt:void 0,props:(0,K.Z)((0,K.Z)({},Q),{},{isOpen:sn,isSubMenu:!0})},r.createElement("i",{className:"".concat(at,"-arrow")}))},[M,yt,Q,sn,at]),xn=r.createElement("div",(0,P.Z)({role:"menuitem",style:fn,className:"".concat(at,"-title"),tabIndex:kt?null:-1,ref:Ut,title:typeof ye=="string"?ye:null,"data-menu-id":ie&&At?null:At,"aria-expanded":sn,"aria-haspopup":!0,"aria-controls":ar,"aria-disabled":kt,onClick:Un,onFocus:or},wn),ye,qn),kn=r.useRef(M);if(M!=="inline"&&pt.length>1?kn.current="vertical":kn.current=M,!ie){var Gn=kn.current;xn=r.createElement(Fn,{mode:Gn,prefixCls:at,visible:!ft&&sn&&M!=="inline",popupClassName:Pt,popupOffset:zt,popupStyle:Gt,popup:r.createElement(u,{mode:Gn==="horizontal"?"vertical":Gn},r.createElement(Ft,{id:ar,ref:Tt},Et)),disabled:kt,onVisibleChange:$n},xn)}var Cn=r.createElement(e.Z.Item,(0,P.Z)({ref:de,role:"none"},Yt,{component:"li",style:ge,className:H()(at,"".concat(at,"-").concat(M),_e,(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)({},"".concat(at,"-open"),sn),"".concat(at,"-active"),ln),"".concat(at,"-selected"),_n),"".concat(at,"-disabled"),kt)),onMouseEnter:Qt,onMouseLeave:hn}),xn,!ie&&r.createElement(vn,{id:ar,open:sn,keyPath:pt},Et));return be&&(Cn=be(Cn,Q,{selected:_n,active:ln,open:sn,disabled:kt})),r.createElement(u,{onItemClick:Xn,mode:M==="horizontal"?"vertical":M,itemIcon:Jt,expandIcon:yt},Cn)}),ht=r.forwardRef(function(Q,de){var ge=Q.eventKey,_e=Q.children,ye=$(ge),Ne=Ct(_e,ye),Le=Z();r.useEffect(function(){if(Le)return Le.registerPath(ge,ye),function(){Le.unregisterPath(ge,ye)}},[ye]);var nt;return Le?nt=Ne:nt=r.createElement(Ge,(0,P.Z)({ref:de},Q),Ne),r.createElement(I.Provider,{value:ye},nt)}),un=ht,yn=l(76190);function ee(Q){var de=Q.className,ge=Q.style,_e=r.useContext(y),ye=_e.prefixCls,Ne=Z();return Ne?null:r.createElement("li",{role:"separator",className:H()("".concat(ye,"-item-divider"),de),style:ge})}var J=["className","title","eventKey","children"],Ue=r.forwardRef(function(Q,de){var ge=Q.className,_e=Q.title,ye=Q.eventKey,Ne=Q.children,Le=(0,p.Z)(Q,J),nt=r.useContext(y),ft=nt.prefixCls,Et="".concat(ft,"-item-group");return r.createElement("li",(0,P.Z)({ref:de,role:"presentation"},Le,{onClick:function(St){return St.stopPropagation()},className:H()(Et,ge)}),r.createElement("div",{role:"presentation",className:"".concat(Et,"-title"),title:typeof _e=="string"?_e:void 0},_e),r.createElement("ul",{role:"group",className:"".concat(Et,"-list")},Ne))}),Re=r.forwardRef(function(Q,de){var ge=Q.eventKey,_e=Q.children,ye=$(ge),Ne=Ct(_e,ye),Le=Z();return Le?Ne:r.createElement(Ue,(0,P.Z)({ref:de},(0,ce.Z)(Q,["warnKey"])),Ne)}),He=Re,qe=["label","children","key","type","extra"];function Je(Q,de,ge){var _e=de.item,ye=de.group,Ne=de.submenu,Le=de.divider;return(Q||[]).map(function(nt,ft){if(nt&&(0,yn.Z)(nt)==="object"){var Et=nt,cn=Et.label,St=Et.children,Pt=Et.key,zt=Et.type,Gt=Et.extra,Vt=(0,p.Z)(Et,qe),Rt=Pt!=null?Pt:"tmp-".concat(ft);return St||zt==="group"?zt==="group"?r.createElement(ye,(0,P.Z)({key:Rt},Vt,{title:cn}),Je(St,de,ge)):r.createElement(Ne,(0,P.Z)({key:Rt},Vt,{title:cn}),Je(St,de,ge)):zt==="divider"?r.createElement(Le,(0,P.Z)({key:Rt},Vt)):r.createElement(_e,(0,P.Z)({key:Rt},Vt,{extra:Gt}),cn,(!!Gt||Gt===0)&&r.createElement("span",{className:"".concat(ge,"-item-extra")},Gt))}return null}).filter(function(nt){return nt})}function Ve(Q,de,ge,_e,ye){var Ne=Q,Le=(0,K.Z)({divider:ee,item:It,group:He,submenu:un},_e);return de&&(Ne=Je(de,Le,ye)),Ct(Ne,ge)}var it=["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=[],et=r.forwardRef(function(Q,de){var ge,_e=Q,ye=_e.prefixCls,Ne=ye===void 0?"rc-menu":ye,Le=_e.rootClassName,nt=_e.style,ft=_e.className,Et=_e.tabIndex,cn=Et===void 0?0:Et,St=_e.items,Pt=_e.children,zt=_e.direction,Gt=_e.id,Vt=_e.mode,Rt=Vt===void 0?"vertical":Vt,Dt=_e.inlineCollapsed,rt=_e.disabled,ct=_e.disabledOverflow,gt=_e.subMenuOpenDelay,Yt=gt===void 0?.1:gt,At=_e.subMenuCloseDelay,Ht=At===void 0?.1:At,Dn=_e.forceSubMenuRender,M=_e.defaultOpenKeys,se=_e.openKeys,te=_e.activeKey,ie=_e.defaultActiveFirst,pe=_e.selectable,xe=pe===void 0?!0:pe,je=_e.multiple,ke=je===void 0?!1:je,Ee=_e.defaultSelectedKeys,ne=_e.selectedKeys,le=_e.onSelect,he=_e.onDeselect,be=_e.inlineIndent,Se=be===void 0?24:be,Ye=_e.motion,pt=_e.defaultMotions,at=_e.triggerSubMenuAction,kt=at===void 0?"hover":at,Ut=_e.builtinPlacements,Tt=_e.itemIcon,Jt=_e.expandIcon,yt=_e.overflowedIndicator,pn=yt===void 0?"...":yt,sn=_e.overflowedIndicatorPopupClassName,_n=_e.getPopupContainer,Xt=_e.onClick,rn=_e.onOpenChange,wn=_e.onKeyDown,on=_e.openAnimation,dn=_e.openTransitionName,jt=_e._internalRenderMenuItem,bt=_e._internalRenderSubMenuItem,Mt=_e._internalComponents,Qt=(0,p.Z)(_e,it),hn=r.useMemo(function(){return[Ve(Pt,St,$e,Mt,Ne),Ve(Pt,St,$e,{},Ne)]},[Pt,St,Mt]),ln=(0,j.Z)(hn,2),fn=ln[0],Un=ln[1],Xn=r.useState(!1),$n=(0,j.Z)(Xn,2),or=$n[0],ar=$n[1],qn=r.useRef(),xn=we(Gt),kn=zt==="rtl",Gn=(0,s.Z)(M,{value:se,postState:function(Vn){return Vn||$e}}),Cn=(0,j.Z)(Gn,2),En=Cn[0],Rn=Cn[1],Ot=function(Vn){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function vr(){Rn(Vn),rn==null||rn(Vn)}Yn?(0,i.flushSync)(vr):vr()},qt=r.useState(En),en=(0,j.Z)(qt,2),an=en[0],Pn=en[1],Kn=r.useRef(!1),ir=r.useMemo(function(){return(Rt==="inline"||Rt==="vertical")&&Dt?["vertical",Dt]:[Rt,!1]},[Rt,Dt]),wt=(0,j.Z)(ir,2),$t=wt[0],Wt=wt[1],Mn=$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),Kn.current&&(Mn?Rn(an):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"||ct;r.useEffect(function(){Mn&&Pn(En)},[En]),r.useEffect(function(){return Kn.current=!0,function(){Kn.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||ie&&((ge=fn[0])===null||ge===void 0?void 0:ge.key),{value:te}),hr=(0,j.Z)(kr,2),ur=hr[0],Tn=hr[1],Nn=z(function(tr){Tn(tr)}),nr=z(function(){Tn(void 0)});(0,r.useImperativeHandle)(de,function(){return{list:qn.current,focus:function(Vn){var Yn,vr=Ir(),fr=L(vr,xn),Cr=fr.elements,Xr=fr.key2element,ea=fr.element2key,ta=Y(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)(Ee||[],{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(xe){var Yn=Vn.key,vr=rr.includes(Yn),fr;ke?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)}!ke&&En.length&&cr!=="inline"&&Ot($e)},xr=z(function(tr){Xt==null||Xt(Ae(tr)),gr(tr)}),sr=z(function(tr,Vn){var Yn=En.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)(En,Yn,!0)||Ot(Yn,!0)}),mr=function(Vn,Yn){var vr=Yn!=null?Yn:!En.includes(Vn);sr(Vn,vr)},Rr=X(cr,ur,kn,xn,qn,Ir,$r,Tn,mr,wn);r.useEffect(function(){ar(!0)},[]);var Er=r.useMemo(function(){return{_internalRenderMenuItem:jt,_internalRenderSubMenuItem:bt}},[jt,bt]),Yr=cr!=="horizontal"||ct?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(Ne,"-overflow"),component:"ul",itemComponent:It,className:H()(Ne,"".concat(Ne,"-root"),"".concat(Ne,"-").concat(cr),ft,(0,D.Z)((0,D.Z)({},"".concat(Ne,"-inline-collapsed"),Fr),"".concat(Ne,"-rtl"),kn),Le),dir:zt,style:nt,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(un,{eventKey:A,title:pn,disabled:Ar,internalPopupClose:Yn===0,popupClassName:sn},vr)},maxCount:cr!=="horizontal"||ct?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:xn},r.createElement(u,{prefixCls:Ne,rootClassName:Le,mode:cr,openKeys:En,rtl:kn,disabled:rt,motion:or?Ye:null,defaultMotions:or?pt:null,activeKey:ur,onActive:Nn,onInactive:nr,selectedKeys:rr,inlineIndent:Se,subMenuOpenDelay:Yt,subMenuCloseDelay:Ht,forceSubMenuRender:Dn,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)))))}),ut=et,Nt=ut;Nt.Item=It,Nt.SubMenu=un,Nt.ItemGroup=He,Nt.Divider=ee;var tt=Nt},83836:function(Bt,Be,l){"use strict";l.d(Be,{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,fe=n.renderItem,ve=n.responsive,Te=n.responsiveDisabled,Ze=n.registerSize,mt=n.itemKey,me=n.className,Xe=n.style,Oe=n.children,Qe=n.display,Ie=n.order,ae=n.component,W=ae===void 0?"div":ae,Y=(0,G.Z)(n,s),c=ve&&!Qe;function L(q){Ze(mt,q)}j.useEffect(function(){return function(){L(null)}},[]);var X=fe&&re!==f?fe(re,{index:Ie}):Oe,x;T||(x={opacity:c?0:1,height:c?0:f,overflowY:c?"hidden":f,order:ve?Ie: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,Y,{ref:a}),X);return ve&&(F=j.createElement(H.Z,{onResize:function(A){var U=A.offsetWidth;L(U)},disabled:Te},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],fe=T[1],ve=(0,o.Z)(function(Te){n(function(){fe(Te)})});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,fe=re===void 0?"div":re,ve=(0,G.Z)(a,u);return j.createElement(fe,(0,P.Z)({},ve,{ref:h}))}var Te=T.className,Ze=(0,G.Z)(T,O),mt=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()(Te,mt)},Ze,me)))},I=j.forwardRef(Z);I.displayName="RawItem";var $=I,B=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],Ce="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,fe=re===void 0?[]:re,ve=n.renderItem,Te=n.renderRawItem,Ze=n.itemKey,mt=n.itemWidth,me=mt===void 0?10:mt,Xe=n.ssr,Oe=n.style,Qe=n.className,Ie=n.maxCount,ae=n.renderRest,W=n.renderRawRest,Y=n.prefix,c=n.suffix,L=n.component,X=L===void 0?"div":L,x=n.itemComponent,m=n.onVisibleChange,F=(0,G.Z)(n,B),q=Xe==="full",A=_(),U=y(A,null),z=(0,K.Z)(U,2),ue=z[0],oe=z[1],we=ue||0,Ke=y(A,new Map),We=(0,K.Z)(Ke,2),ze=We[0],Me=We[1],ce=y(A,0),Fe=(0,K.Z)(ce,2),De=Fe[0],Pe=Fe[1],dt=y(A,0),xt=(0,K.Z)(dt,2),Ae=xt[0],Zt=xt[1],tn=y(A,0),_t=(0,K.Z)(tn,2),ot=_t[0],Lt=_t[1],nn=y(A,0),It=(0,K.Z)(nn,2),vt=It[0],Kt=It[1],mn=(0,j.useState)(null),Ft=(0,K.Z)(mn,2),lt=Ft[0],Ct=Ft[1],In=(0,j.useState)(null),bn=(0,K.Z)(In,2),An=bn[0],jn=bn[1],gn=j.useMemo(function(){return An===null&&q?Number.MAX_SAFE_INTEGER:An||0},[An,ue]),Sn=(0,j.useState)(!1),Ln=(0,K.Z)(Sn,2),Fn=Ln[0],On=Ln[1],vn="".concat(T,"-item"),Zn=Math.max(De,Ae),st=Ie===Ce,Ge=fe.length&&st,ht=Ie===C,un=Ge||typeof Ie=="number"&&fe.length>Ie,yn=(0,j.useMemo)(function(){var ye=fe;return Ge?ue===null&&q?ye=fe:ye=fe.slice(0,Math.min(fe.length,we/me)):typeof Ie=="number"&&(ye=fe.slice(0,Ie)),ye},[fe,me,ue,Ie,Ge]),ee=(0,j.useMemo)(function(){return Ge?fe.slice(gn+1):fe.slice(yn.length)},[fe,yn,Ge,gn]),J=(0,j.useCallback)(function(ye,Ne){var Le;return typeof Ze=="function"?Ze(ye):(Le=Ze&&(ye==null?void 0:ye[Ze]))!==null&&Le!==void 0?Le:Ne},[Ze]),Ue=(0,j.useCallback)(ve||function(ye){return ye},[ve]);function Re(ye,Ne,Le){An===ye&&(Ne===void 0||Ne===lt)||(jn(ye),Le||(On(ye<fe.length-1),m==null||m(ye)),Ne!==void 0&&Ct(Ne))}function He(ye,Ne){oe(Ne.clientWidth)}function qe(ye,Ne){Me(function(Le){var nt=new Map(Le);return Ne===null?nt.delete(ye):nt.set(ye,Ne),nt})}function Je(ye,Ne){Zt(Ne),Pe(Ae)}function Ve(ye,Ne){Lt(Ne)}function it(ye,Ne){Kt(Ne)}function $e(ye){return ze.get(J(yn[ye],ye))}(0,e.Z)(function(){if(we&&typeof Zn=="number"&&yn){var ye=ot+vt,Ne=yn.length,Le=Ne-1;if(!Ne){Re(0,null);return}for(var nt=0;nt<Ne;nt+=1){var ft=$e(nt);if(q&&(ft=ft||0),ft===void 0){Re(nt-1,void 0,!0);break}if(ye+=ft,Le===0&&ye<=we||nt===Le-1&&ye+$e(Le)<=we){Re(Le,null);break}else if(ye+Zn>we){Re(nt-1,ye-ft-vt+Ae);break}}c&&$e(0)+vt>we&&Ct(null)}},[we,ze,Ae,ot,vt,J,yn]);var et=Fn&&!!ee.length,ut={};lt!==null&&Ge&&(ut={position:"absolute",left:lt,top:0});var Nt={prefixCls:vn,responsive:Ge,component:x,invalidate:ht},tt=Te?function(ye,Ne){var Le=J(ye,Ne);return j.createElement(d.Provider,{key:Le,value:(0,D.Z)((0,D.Z)({},Nt),{},{order:Ne,item:ye,itemKey:Le,registerSize:qe,display:Ne<=gn})},Te(ye,Ne))}:function(ye,Ne){var Le=J(ye,Ne);return j.createElement(i,(0,P.Z)({},Nt,{order:Ne,key:Le,item:ye,renderItem:Ue,itemKey:Le,registerSize:qe,display:Ne<=gn}))},Q={order:et?gn:Number.MAX_SAFE_INTEGER,className:"".concat(vn,"-rest"),registerSize:Je,display:et},de=ae||v,ge=W?j.createElement(d.Provider,{value:(0,D.Z)((0,D.Z)({},Nt),Q)},W(ee)):j.createElement(i,(0,P.Z)({},Nt,Q),typeof de=="function"?de(ee):de),_e=j.createElement(X,(0,P.Z)({className:V()(!ht&&T,Qe),style:Oe,ref:a},F),Y&&j.createElement(i,(0,P.Z)({},Nt,{responsive:st,responsiveDisabled:!Ge,order:-1,className:"".concat(vn,"-prefix"),registerSize:Ve,display:!0}),Y),yn.map(tt),un?ge:null,c&&j.createElement(i,(0,P.Z)({},Nt,{responsive:st,responsiveDisabled:!Ge,order:gn,className:"".concat(vn,"-suffix"),registerSize:it,display:!0,style:ut}),c));return st?j.createElement(H.Z,{onResize:He,disabled:!Ge},_e):_e}var N=j.forwardRef(E);N.displayName="Overflow",N.Item=$,N.RESPONSIVE=Ce,N.INVALIDATE=C;var S=N,b=S},23425:function(Bt,Be,l){"use strict";l.d(Be,{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:$,Ce=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),fe=re[0],ve=re[1],Te=function(){return!fe||Number.isNaN(fe)?void 0:Number(fe)},Ze=typeof n=="function"?n:function(Y){return"".concat(Y," ").concat(Ce.items_per_page)},mt=function(c){ve(c.target.value)},me=function(c){E||fe===""||(ve(""),!(c.relatedTarget&&(c.relatedTarget.className.indexOf("".concat(S,"-item-link"))>=0||c.relatedTarget.className.indexOf("".concat(S,"-item"))>=0))&&(N==null||N(Te())))},Xe=function(c){fe!==""&&(c.keyCode===e.Z.ENTER||c.type==="click")&&(ve(""),N==null||N(Te()))},Oe=function(){return B.some(function(c){return c.toString()===v.toString()})?B:B.concat([v]).sort(function(c,L){var X=Number.isNaN(Number(c))?0:Number(c),x=Number.isNaN(Number(L))?0:Number(L);return X-x})},Qe="".concat(S,"-options");if(!a&&!N)return null;var Ie=null,ae=null,W=null;return a&&h&&(Ie=h({disabled:b,size:v,onSizeChange:function(c){C==null||C(Number(c))},"aria-label":Ce.page_size,className:"".concat(Qe,"-size-changer"),options:Oe().map(function(Y){return{label:Ze(Y),value:Y}})})),N&&(E&&(W=typeof E=="boolean"?t.createElement("button",{type:"button",onClick:Xe,onKeyUp:Xe,disabled:b,className:"".concat(Qe,"-quick-jumper-button")},Ce.jump_to_confirm):t.createElement("span",{onClick:Xe,onKeyUp:Xe},E)),ae=t.createElement("div",{className:"".concat(Qe,"-quick-jumper")},Ce.jump_to,t.createElement("input",{disabled:b,type:"text",value:fe,onChange:mt,onKeyUp:Xe,onBlur:me,"aria-label":Ce.page}),Ce.page,W)),t.createElement("li",{className:Qe},Ie,ae)},g=o,w=function(I){var $=I.rootPrefixCls,B=I.page,Ce=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"),Ce),"".concat(b,"-disabled"),!B),C),a=function(){E(B)},h=function(fe){N(fe,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":$,Ce=I.selectPrefixCls,C=Ce===void 0?"rc-select":Ce,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,fe=re===void 0?y:re,ve=I.hideOnSinglePage,Te=I.align,Ze=I.showPrevNextJumpers,mt=Ze===void 0?!0:Ze,me=I.showQuickJumper,Xe=I.showLessItems,Oe=I.showTitle,Qe=Oe===void 0?!0:Oe,Ie=I.onShowSizeChange,ae=Ie===void 0?y:Ie,W=I.locale,Y=W===void 0?r.Z:W,c=I.style,L=I.totalBoundaryShowSizeChanger,X=L===void 0?50:L,x=I.disabled,m=I.simple,F=I.showTotal,q=I.showSizeChanger,A=q===void 0?n>X:q,U=I.sizeChangerRender,z=I.pageSizeOptions,ue=I.itemRender,oe=ue===void 0?_:ue,we=I.jumpPrevIcon,Ke=I.jumpNextIcon,We=I.prevIcon,ze=I.nextIcon,Me=t.useRef(null),ce=(0,H.Z)(10,{value:a,defaultValue:T}),Fe=(0,j.Z)(ce,2),De=Fe[0],Pe=Fe[1],dt=(0,H.Z)(1,{value:E,defaultValue:S,postState:function(ct){return Math.max(1,Math.min(ct,u(void 0,De,n)))}}),xt=(0,j.Z)(dt,2),Ae=xt[0],Zt=xt[1],tn=t.useState(Ae),_t=(0,j.Z)(tn,2),ot=_t[0],Lt=_t[1];(0,t.useEffect)(function(){Lt(Ae)},[Ae]);var nn=fe!==y,It="current"in I,vt=Math.max(1,Ae-(Xe?3:5)),Kt=Math.min(u(void 0,De,n),Ae+(Xe?3:5));function mn(rt,ct){var gt=rt||t.createElement("button",{type:"button","aria-label":ct,className:"".concat(B,"-item-link")});return typeof rt=="function"&&(gt=t.createElement(rt,(0,G.Z)({},I))),gt}function Ft(rt){var ct=rt.target.value,gt=u(void 0,De,n),Yt;return ct===""?Yt=ct:Number.isNaN(Number(ct))?Yt=ot:ct>=gt?Yt=gt:Yt=Number(ct),Yt}function lt(rt){return d(rt)&&rt!==Ae&&d(n)&&n>0}var Ct=n>De?me:!1;function In(rt){(rt.keyCode===e.Z.UP||rt.keyCode===e.Z.DOWN)&&rt.preventDefault()}function bn(rt){var ct=Ft(rt);switch(ct!==ot&&Lt(ct),rt.keyCode){case e.Z.ENTER:gn(ct);break;case e.Z.UP:gn(ct-1);break;case e.Z.DOWN:gn(ct+1);break;default:break}}function An(rt){gn(Ft(rt))}function jn(rt){var ct=u(rt,De,n),gt=Ae>ct&&ct!==0?ct:Ae;Pe(rt),Lt(gt),ae==null||ae(Ae,rt),Zt(gt),fe==null||fe(gt,rt)}function gn(rt){if(lt(rt)&&!x){var ct=u(void 0,De,n),gt=rt;return rt>ct?gt=ct:rt<1&&(gt=1),gt!==ot&&Lt(gt),Zt(gt),fe==null||fe(gt,De),gt}return Ae}var Sn=Ae>1,Ln=Ae<u(void 0,De,n);function Fn(){Sn&&gn(Ae-1)}function On(){Ln&&gn(Ae+1)}function vn(){gn(vt)}function Zn(){gn(Kt)}function st(rt,ct){if(rt.key==="Enter"||rt.charCode===e.Z.ENTER||rt.keyCode===e.Z.ENTER){for(var gt=arguments.length,Yt=new Array(gt>2?gt-2:0),At=2;At<gt;At++)Yt[At-2]=arguments[At];ct.apply(void 0,Yt)}}function Ge(rt){st(rt,Fn)}function ht(rt){st(rt,On)}function un(rt){st(rt,vn)}function yn(rt){st(rt,Zn)}function ee(rt){var ct=oe(rt,"prev",mn(We,"prev page"));return t.isValidElement(ct)?t.cloneElement(ct,{disabled:!Sn}):ct}function J(rt){var ct=oe(rt,"next",mn(ze,"next page"));return t.isValidElement(ct)?t.cloneElement(ct,{disabled:!Ln}):ct}function Ue(rt){(rt.type==="click"||rt.keyCode===e.Z.ENTER)&&gn(ot)}var Re=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:(Ae-1)*De+1,Ae*De>n?n:Ae*De])),Je=null,Ve=u(void 0,De,n);if(ve&&n<=De)return null;var it=[],$e={rootPrefixCls:B,onClick:gn,onKeyPress:st,showTitle:Qe,itemRender:oe,page:-1},et=Ae-1>0?Ae-1:0,ut=Ae+1<Ve?Ae+1:Ve,Nt=me&&me.goButton,tt=(0,K.Z)(m)==="object"?m.readOnly:!m,Q=Nt,de=null;m&&(Nt&&(typeof Nt=="boolean"?Q=t.createElement("button",{type:"button",onClick:Ue,onKeyUp:Ue},Y.jump_to_confirm):Q=t.createElement("span",{onClick:Ue,onKeyUp:Ue},Nt),Q=t.createElement("li",{title:Qe?"".concat(Y.jump_to).concat(Ae,"/").concat(Ve):null,className:"".concat(B,"-simple-pager")},Q)),de=t.createElement("li",{title:Qe?"".concat(Ae,"/").concat(Ve):null,className:"".concat(B,"-simple-pager")},tt?ot:t.createElement("input",{type:"text","aria-label":Y.jump_to,value:ot,disabled:x,onKeyDown:In,onKeyUp:bn,onChange:bn,onBlur:An,size:3}),t.createElement("span",{className:"".concat(B,"-slash")},"/"),Ve));var ge=Xe?1:2;if(Ve<=3+ge*2){Ve||it.push(t.createElement(R,(0,D.Z)({},$e,{key:"noPager",page:1,className:"".concat(B,"-item-disabled")})));for(var _e=1;_e<=Ve;_e+=1)it.push(t.createElement(R,(0,D.Z)({},$e,{key:_e,page:_e,active:Ae===_e})))}else{var ye=Xe?Y.prev_3:Y.prev_5,Ne=Xe?Y.next_3:Y.next_5,Le=oe(vt,"jump-prev",mn(we,"prev page")),nt=oe(Kt,"jump-next",mn(Ke,"next page"));mt&&(Re=Le?t.createElement("li",{title:Qe?ye:null,key:"prev",onClick:vn,tabIndex:0,onKeyDown:un,className:V()("".concat(B,"-jump-prev"),(0,P.Z)({},"".concat(B,"-jump-prev-custom-icon"),!!we))},Le):null,Je=nt?t.createElement("li",{title:Qe?Ne:null,key:"next",onClick:Zn,tabIndex:0,onKeyDown:yn,className:V()("".concat(B,"-jump-next"),(0,P.Z)({},"".concat(B,"-jump-next-custom-icon"),!!Ke))},nt):null);var ft=Math.max(1,Ae-ge),Et=Math.min(Ae+ge,Ve);Ae-1<=ge&&(Et=1+ge*2),Ve-Ae<=ge&&(ft=Ve-ge*2);for(var cn=ft;cn<=Et;cn+=1)it.push(t.createElement(R,(0,D.Z)({},$e,{key:cn,page:cn,active:Ae===cn})));if(Ae-1>=ge*2&&Ae!==3&&(it[0]=t.cloneElement(it[0],{className:V()("".concat(B,"-item-after-jump-prev"),it[0].props.className)}),it.unshift(Re)),Ve-Ae>=ge*2&&Ae!==Ve-2){var St=it[it.length-1];it[it.length-1]=t.cloneElement(St,{className:V()("".concat(B,"-item-before-jump-next"),St.props.className)}),it.push(Je)}ft!==1&&it.unshift(t.createElement(R,(0,D.Z)({},$e,{key:1,page:1}))),Et!==Ve&&it.push(t.createElement(R,(0,D.Z)({},$e,{key:Ve,page:Ve})))}var Pt=ee(et);if(Pt){var zt=!Sn||!Ve;Pt=t.createElement("li",{title:Qe?Y.prev_page:null,onClick:Fn,tabIndex:zt?null:0,onKeyDown:Ge,className:V()("".concat(B,"-prev"),(0,P.Z)({},"".concat(B,"-disabled"),zt)),"aria-disabled":zt},Pt)}var Gt=J(ut);if(Gt){var Vt,Rt;m?(Vt=!Ln,Rt=Sn?0:null):(Vt=!Ln||!Ve,Rt=Vt?null:0),Gt=t.createElement("li",{title:Qe?Y.next_page:null,onClick:On,tabIndex:Rt,onKeyDown:ht,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"),Te==="start"),"".concat(B,"-center"),Te==="center"),"".concat(B,"-end"),Te==="end"),"".concat(B,"-simple"),m),"".concat(B,"-disabled"),x));return t.createElement("ul",(0,D.Z)({className:Dt,style:c,ref:Me},He),qe,Pt,m?de:it,Gt,t.createElement(g,{locale:Y,rootPrefixCls:B,disabled:x,selectPrefixCls:C,changeSize:jn,pageSize:De,pageSizeOptions:z,quickGo:Ct?gn:null,goButton:Q,showSizeChanger:A,sizeChangerRender:U}))},k=O},29301:function(Bt,Be,l){"use strict";l.d(Be,{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 fe=S.current;b.current.push({size:h,element:T,data:re}),Promise.resolve().then(function(){fe===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}),fe=!h&&D.isValidElement(T)&&(0,H.Yr)(T),ve=fe?(0,H.C4)(T):null,Te=(0,H.x1)(ve,b),Ze=function(){var Oe;return(0,V.ZP)(b.current)||(b.current&&(0,p.Z)(b.current)==="object"?(0,V.ZP)((Oe=b.current)===null||Oe===void 0?void 0:Oe.nativeElement):null)||(0,V.ZP)(n.current)};D.useImperativeHandle(E,function(){return Ze()});var mt=D.useRef(v);mt.current=v;var me=D.useCallback(function(Xe){var Oe=mt.current,Qe=Oe.onResize,Ie=Oe.data,ae=Xe.getBoundingClientRect(),W=ae.width,Y=ae.height,c=Xe.offsetWidth,L=Xe.offsetHeight,X=Math.floor(W),x=Math.floor(Y);if(re.current.width!==X||re.current.height!==x||re.current.offsetWidth!==c||re.current.offsetHeight!==L){var m={width:X,height:x,offsetWidth:c,offsetHeight:L};re.current=m;var F=c===Math.round(W)?W:c,q=L===Math.round(Y)?Y:L,A=(0,j.Z)((0,j.Z)({},m),{},{offsetWidth:F,offsetHeight:q});a==null||a(A,Xe,Ie),Qe&&Promise.resolve().then(function(){Qe(A,Xe)})}},[]);return D.useEffect(function(){var Xe=Ze();return Xe&&!S&&w(Xe,me),function(){return R(Xe,me)}},[b.current,S]),D.createElement(O,{ref:n},fe?D.cloneElement(T,{ref:Te}):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 Ce=D.forwardRef(B);Ce.Collection=s;var C=Ce},6551:function(Bt,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.d(Be,{Ac:function(){return ce},Xo:function(){return De},Wx:function(){return dt},ZP:function(){return yn},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(J){var Ue=J.className,Re=J.customizeIcon,He=J.customizeIconProps,qe=J.children,Je=J.onMouseDown,Ve=J.onClick,it=typeof Re=="function"?Re(He):Re;return s.createElement("span",{className:Ue,onMouseDown:function(et){et.preventDefault(),Je==null||Je(et)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Ve,"aria-hidden":!0},it!==void 0?it:s.createElement("span",{className:t()(Ue.split(/\s+/).map(function($e){return"".concat($e,"-icon")}))},qe))},w=g,R=function(J,Ue,Re,He,qe){var Je=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Ve=arguments.length>6?arguments[6]:void 0,it=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]),et=s.useMemo(function(){return!!(!Je&&He&&(Re.length||Ve)&&!(it==="combobox"&&Ve===""))},[He,Je,Re.length,Ve,it]);return{allowClear:et,clearIcon:s.createElement(w,{className:"".concat(J,"-clear"),onMouseDown:Ue,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,J=s.useState(!1),Ue=(0,j.Z)(J,2),Re=Ue[0],He=Ue[1],qe=s.useRef(null),Je=function(){window.clearTimeout(qe.current)};s.useEffect(function(){return Je},[]);var Ve=function($e,et){Je(),qe.current=window.setTimeout(function(){He($e),et&&et()},ee)};return[Re,Ve,Je]}function u(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,J=s.useRef(null),Ue=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout(Ue.current)}},[]);function Re(He){(He||J.current===null)&&(J.current=He),window.clearTimeout(Ue.current),Ue.current=window.setTimeout(function(){J.current=null},ee)}return[function(){return J.current},Re]}function O(ee,J,Ue,Re){var He=s.useRef(null);He.current={open:J,triggerOpen:Ue,customizedTrigger:Re},s.useEffect(function(){function qe(Je){var Ve;if(!((Ve=He.current)!==null&&Ve!==void 0&&Ve.customizedTrigger)){var it=Je.target;it.shadowRoot&&Je.composed&&(it=Je.composedPath()[0]||it),He.current.open&&ee().filter(function($e){return $e}).every(function($e){return!$e.contains(it)&&$e!==it})&&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(83836);function B(ee,J,Ue){var Re=(0,G.Z)((0,G.Z)({},ee),Ue?J:{});return Object.keys(J).forEach(function(He){var qe=J[He];typeof qe=="function"&&(Re[He]=function(){for(var Je,Ve=arguments.length,it=new Array(Ve),$e=0;$e<Ve;$e++)it[$e]=arguments[$e];return qe.apply(void 0,it),(Je=ee[He])===null||Je===void 0?void 0:Je.call.apply(Je,[ee].concat(it))})}),Re}var Ce=B,C=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],v=function(J,Ue){var Re=J.prefixCls,He=J.id,qe=J.inputElement,Je=J.autoFocus,Ve=J.autoComplete,it=J.editable,$e=J.activeDescendantId,et=J.value,ut=J.open,Nt=J.attrs,tt=(0,p.Z)(J,C),Q=qe||s.createElement("input",null),de=Q,ge=de.ref,_e=de.props;return(0,e.Kp)(!("maxLength"in Q.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Q=s.cloneElement(Q,(0,G.Z)((0,G.Z)((0,G.Z)({type:"search"},Ce(tt,_e,!0)),{},{id:He,ref:(0,o.sQ)(Ue,ge),autoComplete:Ve||"off",autoFocus:Je,className:t()("".concat(Re,"-selection-search-input"),_e==null?void 0:_e.className),role:"combobox","aria-expanded":ut||!1,"aria-haspopup":"listbox","aria-owns":"".concat(He,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(He,"_list"),"aria-activedescendant":ut?$e:void 0},Nt),{},{value:it?et:"",readOnly:!it,unselectable:it?null:"on",style:(0,G.Z)((0,G.Z)({},_e.style),{},{opacity:it?null:0})})),Q},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 J=void 0;return ee&&(T(ee.title)?J=ee.title.toString():T(ee.label)&&(J=ee.label.toString())),J}function fe(ee,J){n?s.useLayoutEffect(ee,J):s.useEffect(ee,J)}function ve(ee){var J;return(J=ee.key)!==null&&J!==void 0?J:ee.value}var Te=function(J){J.preventDefault(),J.stopPropagation()},Ze=function(J){var Ue=J.id,Re=J.prefixCls,He=J.values,qe=J.open,Je=J.searchValue,Ve=J.autoClearSearchValue,it=J.inputRef,$e=J.placeholder,et=J.disabled,ut=J.mode,Nt=J.showSearch,tt=J.autoFocus,Q=J.autoComplete,de=J.activeDescendantId,ge=J.tabIndex,_e=J.removeIcon,ye=J.maxTagCount,Ne=J.maxTagTextLength,Le=J.maxTagPlaceholder,nt=Le===void 0?function(he){return"+ ".concat(he.length," ...")}:Le,ft=J.tagRender,Et=J.onToggleOpen,cn=J.onRemove,St=J.onInputChange,Pt=J.onInputPaste,zt=J.onInputKeyDown,Gt=J.onInputMouseDown,Vt=J.onInputCompositionStart,Rt=J.onInputCompositionEnd,Dt=J.onInputBlur,rt=s.useRef(null),ct=(0,s.useState)(0),gt=(0,j.Z)(ct,2),Yt=gt[0],At=gt[1],Ht=(0,s.useState)(!1),Dn=(0,j.Z)(Ht,2),M=Dn[0],se=Dn[1],te="".concat(Re,"-selection"),ie=qe||ut==="multiple"&&Ve===!1||ut==="tags"?Je:"",pe=ut==="tags"||ut==="multiple"&&Ve===!1||Nt&&(qe||M);fe(function(){At(rt.current.scrollWidth)},[ie]);var xe=function(be,Se,Ye,pt,at){return s.createElement("span",{title:re(be),className:t()("".concat(te,"-item"),(0,K.Z)({},"".concat(te,"-item-disabled"),Ye))},s.createElement("span",{className:"".concat(te,"-item-content")},Se),pt&&s.createElement(w,{className:"".concat(te,"-item-remove"),onMouseDown:Te,onClick:at,customizeIcon:_e},"\xD7"))},je=function(be,Se,Ye,pt,at,kt){var Ut=function(Jt){Te(Jt),Et(!qe)};return s.createElement("span",{onMouseDown:Ut},ft({label:Se,value:be,disabled:Ye,closable:pt,onClose:at,isMaxTag:!!kt}))},ke=function(be){var Se=be.disabled,Ye=be.label,pt=be.value,at=!et&&!Se,kt=Ye;if(typeof Ne=="number"&&(typeof Ye=="string"||typeof Ye=="number")){var Ut=String(kt);Ut.length>Ne&&(kt="".concat(Ut.slice(0,Ne),"..."))}var Tt=function(yt){yt&&yt.stopPropagation(),cn(be)};return typeof ft=="function"?je(pt,kt,Se,at,Tt):xe(be,kt,Se,at,Tt)},Ee=function(be){if(!He.length)return null;var Se=typeof nt=="function"?nt(be):nt;return typeof ft=="function"?je(void 0,Se,!1,!1,void 0,!0):xe({title:Se},Se,!1)},ne=s.createElement("div",{className:"".concat(te,"-search"),style:{width:Yt},onFocus:function(){se(!0)},onBlur:function(){se(!1)}},s.createElement(N,{ref:it,open:qe,prefixCls:Re,id:Ue,inputElement:null,disabled:et,autoFocus:tt,autoComplete:Q,editable:pe,activeDescendantId:de,value:ie,onKeyDown:zt,onMouseDown:Gt,onChange:St,onPaste:Pt,onCompositionStart:Vt,onCompositionEnd:Rt,onBlur:Dt,tabIndex:ge,attrs:(0,I.Z)(J,!0)}),s.createElement("span",{ref:rt,className:"".concat(te,"-search-mirror"),"aria-hidden":!0},ie,"\xA0")),le=s.createElement($.Z,{prefixCls:"".concat(te,"-overflow"),data:He,renderItem:ke,renderRest:Ee,suffix:ne,itemKey:ve,maxCount:ye});return s.createElement("span",{className:"".concat(te,"-wrap")},le,!He.length&&!ie&&s.createElement("span",{className:"".concat(te,"-placeholder")},$e))},mt=Ze,me=function(J){var Ue=J.inputElement,Re=J.prefixCls,He=J.id,qe=J.inputRef,Je=J.disabled,Ve=J.autoFocus,it=J.autoComplete,$e=J.activeDescendantId,et=J.mode,ut=J.open,Nt=J.values,tt=J.placeholder,Q=J.tabIndex,de=J.showSearch,ge=J.searchValue,_e=J.activeValue,ye=J.maxLength,Ne=J.onInputKeyDown,Le=J.onInputMouseDown,nt=J.onInputChange,ft=J.onInputPaste,Et=J.onInputCompositionStart,cn=J.onInputCompositionEnd,St=J.onInputBlur,Pt=J.title,zt=s.useState(!1),Gt=(0,j.Z)(zt,2),Vt=Gt[0],Rt=Gt[1],Dt=et==="combobox",rt=Dt||de,ct=Nt[0],gt=ge||"";Dt&&_e&&!Vt&&(gt=_e),s.useEffect(function(){Dt&&Rt(!1)},[Dt,_e]);var Yt=et!=="combobox"&&!ut&&!de?!1:!!gt,At=Pt===void 0?re(ct):Pt,Ht=s.useMemo(function(){return ct?null:s.createElement("span",{className:"".concat(Re,"-selection-placeholder"),style:Yt?{visibility:"hidden"}:void 0},tt)},[ct,Yt,tt,Re]);return s.createElement("span",{className:"".concat(Re,"-selection-wrap")},s.createElement("span",{className:"".concat(Re,"-selection-search")},s.createElement(N,{ref:qe,prefixCls:Re,id:He,open:ut,inputElement:Ue,disabled:Je,autoFocus:Ve,autoComplete:it,editable:rt,activeDescendantId:$e,value:gt,onKeyDown:Ne,onMouseDown:Le,onChange:function(M){Rt(!0),nt(M)},onPaste:ft,onCompositionStart:Et,onCompositionEnd:cn,onBlur:St,tabIndex:Q,attrs:(0,I.Z)(J,!0),maxLength:Dt?ye:void 0})),!Dt&&ct?s.createElement("span",{className:"".concat(Re,"-selection-item"),title:At,style:Yt?{visibility:"hidden"}:void 0},ct.label):null,Ht)},Xe=me,Oe=function(J,Ue){var Re=(0,s.useRef)(null),He=(0,s.useRef)(!1),qe=J.prefixCls,Je=J.open,Ve=J.mode,it=J.showSearch,$e=J.tokenWithEnter,et=J.disabled,ut=J.prefix,Nt=J.autoClearSearchValue,tt=J.onSearch,Q=J.onSearchSubmit,de=J.onToggleOpen,ge=J.onInputKeyDown,_e=J.onInputBlur,ye=J.domRef;s.useImperativeHandle(Ue,function(){return{focus:function(At){Re.current.focus(At)},blur:function(){Re.current.blur()}}});var Ne=u(0),Le=(0,j.Z)(Ne,2),nt=Le[0],ft=Le[1],Et=function(At){var Ht=At.which,Dn=Re.current instanceof HTMLTextAreaElement;!Dn&&Je&&(Ht===k.Z.UP||Ht===k.Z.DOWN)&&At.preventDefault(),ge&&ge(At),Ht===k.Z.ENTER&&Ve==="tags"&&!He.current&&!Je&&(Q==null||Q(At.target.value)),!(Dn&&!Je&&~[k.Z.UP,k.Z.DOWN,k.Z.LEFT,k.Z.RIGHT].indexOf(Ht))&&Z(Ht)&&de(!0)},cn=function(){ft(!0)},St=(0,s.useRef)(null),Pt=function(At){tt(At,!0,He.current)!==!1&&de(!0)},zt=function(){He.current=!0},Gt=function(At){He.current=!1,Ve!=="combobox"&&Pt(At.target.value)},Vt=function(At){var Ht=At.target.value;if($e&&St.current&&/[\r\n]/.test(St.current)){var Dn=St.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ht=Ht.replace(Dn,St.current)}St.current=null,Pt(Ht)},Rt=function(At){var Ht=At.clipboardData,Dn=Ht==null?void 0:Ht.getData("text");St.current=Dn||""},Dt=function(At){var Ht=At.target;if(Ht!==Re.current){var Dn=document.body.style.msTouchAction!==void 0;Dn?setTimeout(function(){Re.current.focus()}):Re.current.focus()}},rt=function(At){var Ht=nt();At.target!==Re.current&&!Ht&&!(Ve==="combobox"&&et)&&At.preventDefault(),(Ve!=="combobox"&&(!it||!Ht)||!Je)&&(Je&&Nt!==!1&&tt("",!0,!1),de())},ct={inputRef:Re,onInputKeyDown:Et,onInputMouseDown:cn,onInputChange:Vt,onInputPaste:Rt,onInputCompositionStart:zt,onInputCompositionEnd:Gt,onInputBlur:_e},gt=Ve==="multiple"||Ve==="tags"?s.createElement(mt,(0,P.Z)({},J,ct)):s.createElement(Xe,(0,P.Z)({},J,ct));return s.createElement("div",{ref:ye,className:"".concat(qe,"-selector"),onClick:Dt,onMouseDown:rt},ut&&s.createElement("div",{className:"".concat(qe,"-prefix")},ut),gt)},Qe=s.forwardRef(Oe),Ie=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"],Y=function(J){var Ue=J===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ue,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ue,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ue,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ue,adjustY:1},htmlRegion:"scroll"}}},c=function(J,Ue){var Re=J.prefixCls,He=J.disabled,qe=J.visible,Je=J.children,Ve=J.popupElement,it=J.animation,$e=J.transitionName,et=J.dropdownStyle,ut=J.dropdownClassName,Nt=J.direction,tt=Nt===void 0?"ltr":Nt,Q=J.placement,de=J.builtinPlacements,ge=J.dropdownMatchSelectWidth,_e=J.dropdownRender,ye=J.dropdownAlign,Ne=J.getPopupContainer,Le=J.empty,nt=J.getTriggerDOMNode,ft=J.onPopupVisibleChange,Et=J.onPopupMouseEnter,cn=(0,p.Z)(J,W),St="".concat(Re,"-dropdown"),Pt=Ve;_e&&(Pt=_e(Ve));var zt=s.useMemo(function(){return de||Y(ge)},[de,ge]),Gt=it?"".concat(St,"-").concat(it):$e,Vt=typeof ge=="number",Rt=s.useMemo(function(){return Vt?null:ge===!1?"minWidth":"width"},[ge,Vt]),Dt=et;Vt&&(Dt=(0,G.Z)((0,G.Z)({},Dt),{},{width:ge}));var rt=s.useRef(null);return s.useImperativeHandle(Ue,function(){return{getPopupElement:function(){var gt;return(gt=rt.current)===null||gt===void 0?void 0:gt.popupElement}}}),s.createElement(ae.Z,(0,P.Z)({},cn,{showAction:ft?["click"]:[],hideAction:ft?["click"]:[],popupPlacement:Q||(tt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:zt,prefixCls:St,popupTransitionName:Gt,popup:s.createElement("div",{onMouseEnter:Et},Pt),ref:rt,stretch:Rt,popupAlign:ye,popupVisible:qe,getPopupContainer:Ne,popupClassName:t()(ut,(0,K.Z)({},"".concat(St,"-empty"),Le)),popupStyle:Dt,getTriggerDOMNode:nt,onPopupVisibleChange:ft}),Je)},L=s.forwardRef(c),X=L,x=l(66712);function m(ee,J){var Ue=ee.key,Re;return"value"in ee&&(Re=ee.value),Ue!=null?Ue:Re!==void 0?Re:"rc-index-key-".concat(J)}function F(ee){return typeof ee!="undefined"&&!Number.isNaN(ee)}function q(ee,J){var Ue=ee||{},Re=Ue.label,He=Ue.value,qe=Ue.options,Je=Ue.groupLabel,Ve=Re||(J?"children":"label");return{label:Ve,value:He||"value",options:qe||"options",groupLabel:Je||Ve}}function A(ee){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ue=J.fieldNames,Re=J.childrenAsData,He=[],qe=q(Ue,!1),Je=qe.label,Ve=qe.value,it=qe.options,$e=qe.groupLabel;function et(ut,Nt){Array.isArray(ut)&&ut.forEach(function(tt){if(Nt||!(it in tt)){var Q=tt[Ve];He.push({key:m(tt,He.length),groupOption:Nt,data:tt,label:tt[Je],value:Q})}else{var de=tt[$e];de===void 0&&Re&&(de=tt.label),He.push({key:m(tt,He.length),group:!0,data:tt,label:de}),et(tt[it],!0)}})}return et(ee,!1),He}function U(ee){var J=(0,G.Z)({},ee);return"props"in J||Object.defineProperty(J,"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`."),J}}),J}var z=function(J,Ue,Re){if(!Ue||!Ue.length)return null;var He=!1,qe=function Ve(it,$e){var et=(0,x.Z)($e),ut=et[0],Nt=et.slice(1);if(!ut)return[it];var tt=it.split(ut);return He=He||tt.length>1,tt.reduce(function(Q,de){return[].concat((0,D.Z)(Q),(0,D.Z)(Ve(de,Nt)))},[]).filter(Boolean)},Je=qe(J,Ue);return He?typeof Re!="undefined"?Je.slice(0,Re):Je:null},ue=s.createContext(null),oe=ue;function we(ee){var J=ee.visible,Ue=ee.values;if(!J)return null;var Re=50;return s.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Ue.slice(0,Re).map(function(He){var qe=He.label,Je=He.value;return["number","string"].includes((0,V.Z)(qe))?qe:Je}).join(", ")),Ue.length>Re?", ...":null)}var Ke=["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"],We=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],ze=function(J){return J==="tags"||J==="multiple"},Me=s.forwardRef(function(ee,J){var Ue,Re=ee.id,He=ee.prefixCls,qe=ee.className,Je=ee.showSearch,Ve=ee.tagRender,it=ee.direction,$e=ee.omitDomProps,et=ee.displayValues,ut=ee.onDisplayValuesChange,Nt=ee.emptyOptions,tt=ee.notFoundContent,Q=tt===void 0?"Not Found":tt,de=ee.onClear,ge=ee.mode,_e=ee.disabled,ye=ee.loading,Ne=ee.getInputElement,Le=ee.getRawInputElement,nt=ee.open,ft=ee.defaultOpen,Et=ee.onDropdownVisibleChange,cn=ee.activeValue,St=ee.onActiveValueChange,Pt=ee.activeDescendantId,zt=ee.searchValue,Gt=ee.autoClearSearchValue,Vt=ee.onSearch,Rt=ee.onSearchSplit,Dt=ee.tokenSeparators,rt=ee.allowClear,ct=ee.prefix,gt=ee.suffixIcon,Yt=ee.clearIcon,At=ee.OptionList,Ht=ee.animation,Dn=ee.transitionName,M=ee.dropdownStyle,se=ee.dropdownClassName,te=ee.dropdownMatchSelectWidth,ie=ee.dropdownRender,pe=ee.dropdownAlign,xe=ee.placement,je=ee.builtinPlacements,ke=ee.getPopupContainer,Ee=ee.showAction,ne=Ee===void 0?[]:Ee,le=ee.onFocus,he=ee.onBlur,be=ee.onKeyUp,Se=ee.onKeyDown,Ye=ee.onMouseDown,pt=(0,p.Z)(ee,Ke),at=ze(ge),kt=(Je!==void 0?Je:at)||ge==="combobox",Ut=(0,G.Z)({},pt);We.forEach(function(Tn){delete Ut[Tn]}),$e==null||$e.forEach(function(Tn){delete Ut[Tn]});var Tt=s.useState(!1),Jt=(0,j.Z)(Tt,2),yt=Jt[0],pn=Jt[1];s.useEffect(function(){pn((0,i.Z)())},[]);var sn=s.useRef(null),_n=s.useRef(null),Xt=s.useRef(null),rn=s.useRef(null),wn=s.useRef(null),on=s.useRef(!1),dn=d(),jt=(0,j.Z)(dn,3),bt=jt[0],Mt=jt[1],Qt=jt[2];s.useImperativeHandle(J,function(){var Tn,Nn;return{focus:(Tn=rn.current)===null||Tn===void 0?void 0:Tn.focus,blur:(Nn=rn.current)===null||Nn===void 0?void 0:Nn.blur,scrollTo:function(Qn){var er;return(er=wn.current)===null||er===void 0?void 0:er.scrollTo(Qn)},nativeElement:sn.current||_n.current}});var hn=s.useMemo(function(){var Tn;if(ge!=="combobox")return zt;var Nn=(Tn=et[0])===null||Tn===void 0?void 0:Tn.value;return typeof Nn=="string"||typeof Nn=="number"?String(Nn):""},[zt,ge,et]),ln=ge==="combobox"&&typeof Ne=="function"&&Ne()||null,fn=typeof Le=="function"&&Le(),Un=(0,o.x1)(_n,fn==null||(Ue=fn.props)===null||Ue===void 0?void 0:Ue.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:ft,value:nt}),xn=(0,j.Z)(qn,2),kn=xn[0],Gn=xn[1],Cn=or?kn:!1,En=!Q&&Nt;(_e||En&&Cn&&ge==="combobox")&&(Cn=!1);var Rn=En?!1:Cn,Ot=s.useCallback(function(Tn){var Nn=Tn!==void 0?Tn:!Cn;_e||(Gn(Nn),Cn!==Nn&&(Et==null||Et(Nn)))},[_e,Cn,Gn,Et]),qt=s.useMemo(function(){return(Dt||[]).some(function(Tn){return[`
|
|
`,`\r
|
|
`].includes(Tn)})},[Dt]),en=s.useContext(oe)||{},an=en.maxCount,Pn=en.rawValues,Kn=function(Nn,nr,Qn){if(!(at&&F(an)&&(Pn==null?void 0:Pn.size)>=an)){var er=!0,rr=Nn;St==null||St(null);var yr=z(Nn,Dt,F(an)?an-Pn.size:void 0),gr=Qn?null:yr;return ge!=="combobox"&&gr&&(rr="",Rt==null||Rt(gr),Ot(!1),er=!1),Vt&&hn!==rr&&Vt(rr,{source:nr?"typing":"effect"}),er}},ir=function(Nn){!Nn||!Nn.trim()||Vt(Nn,{source:"submit"})};s.useEffect(function(){!Cn&&!at&&ge!=="combobox"&&Kn("",!1,!1)},[Cn]),s.useEffect(function(){kn&&_e&&Gn(!1),_e&&!on.current&&Mt(!1)},[_e]);var wt=u(),$t=(0,j.Z)(wt,2),Wt=$t[0],Mn=$t[1],zn=s.useRef(!1),Hn=function(Nn){var nr=Wt(),Qn=Nn.key,er=Qn==="Enter";if(er&&(ge!=="combobox"&&Nn.preventDefault(),Cn||Ot(!0)),Mn(!!hn),Qn==="Backspace"&&!nr&&at&&!hn&&et.length){for(var rr=(0,D.Z)(et),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&&ut(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(Cn&&(!er||!zn.current)){var Er;er&&(zn.current=!0),(Er=wn.current)===null||Er===void 0||Er.onKeyDown.apply(Er,[Nn].concat(mr))}Se==null||Se.apply(void 0,[Nn].concat(mr))},cr=function(Nn){for(var nr=arguments.length,Qn=new Array(nr>1?nr-1:0),er=1;er<nr;er++)Qn[er-1]=arguments[er];if(Cn){var rr;(rr=wn.current)===null||rr===void 0||rr.onKeyUp.apply(rr,[Nn].concat(Qn))}Nn.key==="Enter"&&(zn.current=!1),be==null||be.apply(void 0,[Nn].concat(Qn))},dr=function(Nn){var nr=et.filter(function(Qn){return Qn!==Nn});ut(nr,{type:"remove",values:[Nn]})},lr=function(){zn.current=!1},Jn=s.useRef(!1),Fr=function(){Mt(!0),_e||(le&&!Jn.current&&le.apply(void 0,arguments),ne.includes("focus")&&Ot(!0)),Jn.current=!0},Br=function(){on.current=!0,Mt(!1,function(){Jn.current=!1,on.current=!1,Ot(!1)}),!_e&&(hn&&(ge==="tags"?Vt(hn,{source:"submit"}):ge==="multiple"&&Vt("",{source:"blur"})),he&&he.apply(void 0,arguments))},Sr=[];s.useEffect(function(){return function(){Sr.forEach(function(Tn){return clearTimeout(Tn)}),Sr.splice(0,Sr.length)}},[]);var Tr=function(Nn){var nr,Qn=Nn.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(),!yt&&!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,[Nn].concat(gr))},Pr=s.useState({}),Or=(0,j.Z)(Pr,2),Ar=Or[1];function br(){Ar({})}var Mr;fn&&(Mr=function(Nn){Ot(Nn)}),O(function(){var Tn;return[sn.current,(Tn=Xt.current)===null||Tn===void 0?void 0:Tn.getPopupElement()]},Rn,Ot,!!fn);var Nr=s.useMemo(function(){return(0,G.Z)((0,G.Z)({},ee),{},{notFoundContent:Q,open:Cn,triggerOpen:Rn,id:Re,showSearch:kt,multiple:at,toggleOpen:Ot})},[ee,Q,Rn,Cn,Re,kt,at,Ot]),zr=!!gt||ye,Dr;zr&&(Dr=s.createElement(w,{className:t()("".concat(He,"-arrow"),(0,K.Z)({},"".concat(He,"-arrow-loading"),ye)),customizeIcon:gt,customizeIconProps:{loading:ye,searchValue:hn,open:Cn,focused:bt,showSearch:kt}}));var $r=function(){var Nn;de==null||de(),(Nn=rn.current)===null||Nn===void 0||Nn.focus(),ut([],{type:"clear",values:et}),Kn("",!1,!1)},Ir=R(He,$r,et,rt,Yt,_e,hn,ge),Gr=Ir.allowClear,jr=Ir.clearIcon,Wr=s.createElement(At,{ref:wn}),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"),bt),"".concat(He,"-multiple"),at),"".concat(He,"-single"),!at),"".concat(He,"-allow-clear"),rt),"".concat(He,"-show-arrow"),zr),"".concat(He,"-disabled"),_e),"".concat(He,"-loading"),ye),"".concat(He,"-open"),Cn),"".concat(He,"-customize-input"),ln),"".concat(He,"-show-search"),kt)),hr=s.createElement(X,{ref:Xt,disabled:_e,prefixCls:He,visible:Rn,popupElement:Wr,animation:Ht,transitionName:Dn,dropdownStyle:M,dropdownClassName:se,direction:it,dropdownMatchSelectWidth:te,dropdownRender:ie,dropdownAlign:pe,placement:xe,builtinPlacements:je,getPopupContainer:ke,empty:Nt,getTriggerDOMNode:function(Nn){return _n.current||Nn},onPopupVisibleChange:Mr,onPopupMouseEnter:br},fn?s.cloneElement(fn,{ref:Un}):s.createElement(Ie,(0,P.Z)({},ee,{domRef:_n,prefixCls:He,inputElement:ln,ref:rn,id:Re,prefix:ct,showSearch:kt,autoClearSearchValue:Gt,mode:ge,activeDescendantId:Pt,tagRender:Ve,values:et,open:Cn,onToggleOpen:Ot,activeValue:cn,searchValue:hn,onSearch:Kn,onSearchSubmit:ir,onRemove:dr,tokenWithEnter:qt,onInputBlur:lr}))),ur;return fn?ur=hr:ur=s.createElement("div",(0,P.Z)({className:kr},Ut,{ref:sn,onMouseDown:Tr,onKeyDown:Hn,onKeyUp:cr,onFocus:Fr,onBlur:Br}),s.createElement(we,{visible:bt&&!Cn,values:et}),hr,Dr,Gr&&jr),s.createElement(_.Provider,{value:Nr},ur)}),ce=Me,Fe=function(){return null};Fe.isSelectOptGroup=!0;var De=Fe,Pe=function(){return null};Pe.isSelectOption=!0;var dt=Pe,xt=l(80547),Ae=l(2738),Zt=l(48911);function tn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var _t=["disabled","title","children","style","className"];function ot(ee){return typeof ee=="string"||typeof ee=="number"}var Lt=function(J,Ue){var Re=y(),He=Re.prefixCls,qe=Re.id,Je=Re.open,Ve=Re.multiple,it=Re.mode,$e=Re.searchValue,et=Re.toggleOpen,ut=Re.notFoundContent,Nt=Re.onPopupScroll,tt=s.useContext(oe),Q=tt.maxCount,de=tt.flattenOptions,ge=tt.onActiveValue,_e=tt.defaultActiveFirstOption,ye=tt.onSelect,Ne=tt.menuItemSelectedIcon,Le=tt.rawValues,nt=tt.fieldNames,ft=tt.virtual,Et=tt.direction,cn=tt.listHeight,St=tt.listItemHeight,Pt=tt.optionRender,zt="".concat(He,"-item"),Gt=(0,xt.Z)(function(){return de},[Je,de],function(Ee,ne){return ne[0]&&Ee[1]!==ne[1]}),Vt=s.useRef(null),Rt=s.useMemo(function(){return Ve&&F(Q)&&(Le==null?void 0:Le.size)>=Q},[Ve,Q,Le==null?void 0:Le.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)},ct=s.useCallback(function(Ee){return it==="combobox"?!1:Le.has(Ee)},[it,(0,D.Z)(Le).toString(),Le.size]),gt=function(ne){for(var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,he=Gt.length,be=0;be<he;be+=1){var Se=(ne+be*le+he)%he,Ye=Gt[Se]||{},pt=Ye.group,at=Ye.data;if(!pt&&!(at!=null&&at.disabled)&&(ct(at.value)||!Rt))return Se}return-1},Yt=s.useState(function(){return gt(0)}),At=(0,j.Z)(Yt,2),Ht=At[0],Dn=At[1],M=function(ne){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Dn(ne);var he={source:le?"keyboard":"mouse"},be=Gt[ne];if(!be){ge(null,-1,he);return}ge(be.value,ne,he)};(0,s.useEffect)(function(){M(_e!==!1?gt(0):-1)},[Gt.length,$e]);var se=s.useCallback(function(Ee){return it==="combobox"?String(Ee).toLowerCase()===$e.toLowerCase():Le.has(Ee)},[it,$e,(0,D.Z)(Le).toString(),Le.size]);(0,s.useEffect)(function(){var Ee=setTimeout(function(){if(!Ve&&Je&&Le.size===1){var le=Array.from(Le)[0],he=Gt.findIndex(function(be){var Se=be.data;return $e?String(Se.value).startsWith($e):Se.value===le});he!==-1&&(M(he),rt(he))}});if(Je){var ne;(ne=Vt.current)===null||ne===void 0||ne.scrollTo(void 0)}return function(){return clearTimeout(Ee)}},[Je,$e]);var te=function(ne){ne!==void 0&&ye(ne,{selected:!Le.has(ne)}),Ve||et(!1)};if(s.useImperativeHandle(Ue,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 be=0;if(le===k.Z.UP?be=-1:le===k.Z.DOWN?be=1:tn()&&he&&(le===k.Z.N?be=1:le===k.Z.P&&(be=-1)),be!==0){var Se=gt(Ht+be,be);rt(Se),M(Se,!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)&&!Rt?te(pt.value):te(void 0),Je&&ne.preventDefault();break}case k.Z.ESC:et(!1),Je&&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},ut);var ie=Object.keys(nt).map(function(Ee){return nt[Ee]}),pe=function(ne){return ne.label};function xe(Ee,ne){var le=Ee.group;return{role:le?"presentation":"option",id:"".concat(qe,"_list_").concat(ne)}}var je=function(ne){var le=Gt[ne];if(!le)return null;var he=le.data||{},be=he.value,Se=le.group,Ye=(0,I.Z)(he,!0),pt=pe(le);return le?s.createElement("div",(0,P.Z)({"aria-label":typeof pt=="string"&&!Se?pt:null},Ye,{key:ne},xe(le,ne),{"aria-selected":se(be)}),be):null},ke={role:"listbox",id:"".concat(qe,"_list")};return s.createElement(s.Fragment,null,ft&&s.createElement("div",(0,P.Z)({},ke,{style:{height:0,width:0,overflow:"hidden"}}),je(Ht-1),je(Ht),je(Ht+1)),s.createElement(Zt.Z,{itemKey:"key",ref:Vt,data:Gt,height:cn,itemHeight:St,fullHeight:!1,onMouseDown:Dt,onScroll:Nt,virtual:ft,direction:Et,innerProps:ft?null:ke},function(Ee,ne){var le=Ee.group,he=Ee.groupOption,be=Ee.data,Se=Ee.label,Ye=Ee.value,pt=be.key;if(le){var at,kt=(at=be.title)!==null&&at!==void 0?at:ot(Se)?Se.toString():void 0;return s.createElement("div",{className:t()(zt,"".concat(zt,"-group"),be.className),title:kt},Se!==void 0?Se:pt)}var Ut=be.disabled,Tt=be.title,Jt=be.children,yt=be.style,pn=be.className,sn=(0,p.Z)(be,_t),_n=(0,Ae.Z)(sn,ie),Xt=ct(Ye),rn=Ut||!Xt&&Rt,wn="".concat(zt,"-option"),on=t()(zt,wn,pn,(0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)({},"".concat(wn,"-grouped"),he),"".concat(wn,"-active"),Ht===ne&&!rn),"".concat(wn,"-disabled"),rn),"".concat(wn,"-selected"),Xt)),dn=pe(Ee),jt=!Ne||typeof Ne=="function"||Xt,bt=typeof dn=="number"?dn:dn||Ye,Mt=ot(bt)?bt.toString():void 0;return Tt!==void 0&&(Mt=Tt),s.createElement("div",(0,P.Z)({},(0,I.Z)(_n),ft?{}:xe(Ee,ne),{"aria-selected":se(Ye),className:on,title:Mt,onMouseMove:function(){Ht===ne||rn||M(ne)},onClick:function(){rn||te(Ye)},style:yt}),s.createElement("div",{className:"".concat(wn,"-content")},typeof Pt=="function"?Pt(Ee,{index:ne}):bt),s.isValidElement(Ne)||Xt,jt&&s.createElement(w,{className:"".concat(zt,"-option-state"),customizeIcon:Ne,customizeIconProps:{value:Ye,disabled:rn,isSelected:Xt}},Xt?"\u2713":null))}))},nn=s.forwardRef(Lt),It=nn,vt=function(ee,J){var Ue=s.useRef({values:new Map,options:new Map}),Re=s.useMemo(function(){var qe=Ue.current,Je=qe.values,Ve=qe.options,it=ee.map(function(ut){if(ut.label===void 0){var Nt;return(0,G.Z)((0,G.Z)({},ut),{},{label:(Nt=Je.get(ut.value))===null||Nt===void 0?void 0:Nt.label})}return ut}),$e=new Map,et=new Map;return it.forEach(function(ut){$e.set(ut.value,ut),et.set(ut.value,J.get(ut.value)||Ve.get(ut.value))}),Ue.current.values=$e,Ue.current.options=et,it},[ee,J]),He=s.useCallback(function(qe){return J.get(qe)||Ue.current.options.get(qe)},[J]);return[Re,He]};function Kt(ee,J){return S(ee).join("").toUpperCase().includes(J)}var mn=function(ee,J,Ue,Re,He){return s.useMemo(function(){if(!Ue||Re===!1)return ee;var qe=J.options,Je=J.label,Ve=J.value,it=[],$e=typeof Re=="function",et=Ue.toUpperCase(),ut=$e?Re:function(tt,Q){return He?Kt(Q[He],et):Q[qe]?Kt(Q[Je!=="children"?Je:"label"],et):Kt(Q[Ve],et)},Nt=$e?function(tt){return U(tt)}:function(tt){return tt};return ee.forEach(function(tt){if(tt[qe]){var Q=ut(Ue,Nt(tt));if(Q)it.push(tt);else{var de=tt[qe].filter(function(ge){return ut(Ue,Nt(ge))});de.length&&it.push((0,G.Z)((0,G.Z)({},tt),{},(0,K.Z)({},qe,de)))}return}ut(Ue,Nt(tt))&&it.push(tt)}),it},[ee,Re,He,Ue,J])},Ft=l(6551),lt=l(11592),Ct=["children","value"],In=["children"];function bn(ee){var J=ee,Ue=J.key,Re=J.props,He=Re.children,qe=Re.value,Je=(0,p.Z)(Re,Ct);return(0,G.Z)({key:Ue,value:qe!==void 0?qe:Ue,children:He},Je)}function An(ee){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,lt.Z)(ee).map(function(Ue,Re){if(!s.isValidElement(Ue)||!Ue.type)return null;var He=Ue,qe=He.type.isSelectOptGroup,Je=He.key,Ve=He.props,it=Ve.children,$e=(0,p.Z)(Ve,In);return J||!qe?bn(Ue):(0,G.Z)((0,G.Z)({key:"__RC_SELECT_GRP__".concat(Je===null?Re:Je,"__"),label:Je},$e),{},{options:An(it)})}).filter(function(Ue){return Ue})}var jn=function(J,Ue,Re,He,qe){return s.useMemo(function(){var Je=J,Ve=!J;Ve&&(Je=An(Ue));var it=new Map,$e=new Map,et=function(tt,Q,de){de&&typeof de=="string"&&tt.set(Q[de],Q)},ut=function Nt(tt){for(var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,de=0;de<tt.length;de+=1){var ge=tt[de];!ge[Re.options]||Q?(it.set(ge[Re.value],ge),et($e,ge,Re.label),et($e,ge,He),et($e,ge,qe)):Nt(ge[Re.options],!0)}};return ut(Je),{options:Je,valueOptions:it,labelOptions:$e}},[J,Ue,Re,He,qe])},gn=jn;function Sn(ee){var J=s.useRef();J.current=ee;var Ue=s.useCallback(function(){return J.current.apply(J,arguments)},[]);return Ue}function Ln(ee){var J=ee.mode,Ue=ee.options,Re=ee.children,He=ee.backfill,qe=ee.allowClear,Je=ee.placeholder,Ve=ee.getInputElement,it=ee.showSearch,$e=ee.onSearch,et=ee.defaultOpen,ut=ee.autoFocus,Nt=ee.labelInValue,tt=ee.value,Q=ee.inputValue,de=ee.optionLabelProp,ge=isMultiple(J),_e=it!==void 0?it:ge||J==="combobox",ye=Ue||convertChildrenToData(Re);if(warning(J!=="tags"||ye.every(function(ft){return!ft.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),J==="tags"||J==="combobox"){var Ne=ye.some(function(ft){return ft.options?ft.options.some(function(Et){return typeof("value"in Et?Et.value:Et.key)=="number"}):typeof("value"in ft?ft.value:ft.key)=="number"});warning(!Ne,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(J!=="combobox"||!de,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(J==="combobox"||!He,"`backfill` only works with `combobox` mode."),warning(J==="combobox"||!Ve,"`getInputElement` only work with `combobox` mode."),noteOnce(J!=="combobox"||!Ve||!qe||!Je,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),$e&&!_e&&J!=="combobox"&&J!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!et||ut,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),tt!=null){var Le=toArray(tt);warning(!Nt||Le.every(function(ft){return _typeof(ft)==="object"&&("key"in ft||"value"in ft)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!ge||Array.isArray(tt),"`value` should be array when `mode` is `multiple` or `tags`")}if(Re){var nt=null;toNodeArray(Re).some(function(ft){if(!React.isValidElement(ft)||!ft.type)return!1;var Et=ft,cn=Et.type;if(cn.isSelectOption)return!1;if(cn.isSelectOptGroup){var St=toNodeArray(ft.props.children).every(function(Pt){return!React.isValidElement(Pt)||!ft.type||Pt.type.isSelectOption?!0:(nt=Pt.type,!1)});return!St}return nt=cn,!0}),nt&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(nt.displayName||nt.name||nt,"`.")),warning(Q===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Fn(ee,J){if(ee){var Ue=function Re(He){for(var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Je=0;Je<He.length;Je++){var Ve=He[Je];if(Ve[J==null?void 0:J.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!qe&&Array.isArray(Ve[J==null?void 0:J.options])&&Re(Ve[J==null?void 0:J.options],!0))break}};Ue(ee)}}var On=null,vn=["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"],Zn=["inputValue"];function st(ee){return!ee||(0,V.Z)(ee)!=="object"}var Ge=s.forwardRef(function(ee,J){var Ue=ee.id,Re=ee.mode,He=ee.prefixCls,qe=He===void 0?"rc-select":He,Je=ee.backfill,Ve=ee.fieldNames,it=ee.inputValue,$e=ee.searchValue,et=ee.onSearch,ut=ee.autoClearSearchValue,Nt=ut===void 0?!0:ut,tt=ee.onSelect,Q=ee.onDeselect,de=ee.dropdownMatchSelectWidth,ge=de===void 0?!0:de,_e=ee.filterOption,ye=ee.filterSort,Ne=ee.optionFilterProp,Le=ee.optionLabelProp,nt=ee.options,ft=ee.optionRender,Et=ee.children,cn=ee.defaultActiveFirstOption,St=ee.menuItemSelectedIcon,Pt=ee.virtual,zt=ee.direction,Gt=ee.listHeight,Vt=Gt===void 0?200:Gt,Rt=ee.listItemHeight,Dt=Rt===void 0?20:Rt,rt=ee.labelRender,ct=ee.value,gt=ee.defaultValue,Yt=ee.labelInValue,At=ee.onChange,Ht=ee.maxCount,Dn=(0,p.Z)(ee,vn),M=(0,Ft.ZP)(Ue),se=ze(Re),te=!!(!nt&&Et),ie=s.useMemo(function(){return _e===void 0&&Re==="combobox"?!1:_e},[_e,Re]),pe=s.useMemo(function(){return q(Ve,te)},[JSON.stringify(Ve),te]),xe=(0,H.Z)("",{value:$e!==void 0?$e:it,postState:function(qt){return qt||""}}),je=(0,j.Z)(xe,2),ke=je[0],Ee=je[1],ne=gn(nt,Et,pe,Ne,Le),le=ne.valueOptions,he=ne.labelOptions,be=ne.options,Se=s.useCallback(function(Ot){var qt=S(Ot);return qt.map(function(en){var an,Pn,Kn,ir,wt;if(st(en))an=en;else{var $t;Kn=en.key,Pn=en.label,an=($t=en.value)!==null&&$t!==void 0?$t:Kn}var Wt=le.get(an);if(Wt){var Mn;if(Pn===void 0&&(Pn=Wt==null?void 0:Wt[Le||pe.label]),Kn===void 0&&(Kn=(Mn=Wt==null?void 0:Wt.key)!==null&&Mn!==void 0?Mn:an),ir=Wt==null?void 0:Wt.disabled,wt=Wt==null?void 0:Wt.title,0)var zn}return{label:Pn,value:an,key:Kn,disabled:ir,title:wt}})},[pe,Le,le]),Ye=(0,H.Z)(gt,{value:ct}),pt=(0,j.Z)(Ye,2),at=pt[0],kt=pt[1],Ut=s.useMemo(function(){var Ot,qt=se&&at===null?[]:at,en=Se(qt);return Re==="combobox"&&h((Ot=en[0])===null||Ot===void 0?void 0:Ot.value)?[]:en},[at,Se,Re,se]),Tt=vt(Ut,le),Jt=(0,j.Z)(Tt,2),yt=Jt[0],pn=Jt[1],sn=s.useMemo(function(){if(!Re&&yt.length===1){var Ot=yt[0];if(Ot.value===null&&(Ot.label===null||Ot.label===void 0))return[]}return yt.map(function(qt){var en;return(0,G.Z)((0,G.Z)({},qt),{},{label:(en=typeof rt=="function"?rt(qt):qt.label)!==null&&en!==void 0?en:qt.value})})},[Re,yt,rt]),_n=s.useMemo(function(){return new Set(yt.map(function(Ot){return Ot.value}))},[yt]);s.useEffect(function(){if(Re==="combobox"){var Ot,qt=(Ot=yt[0])===null||Ot===void 0?void 0:Ot.value;Ee(a(qt)?String(qt):"")}},[yt]);var Xt=Sn(function(Ot,qt){var en=qt!=null?qt:Ot;return(0,K.Z)((0,K.Z)({},pe.value,Ot),pe.label,en)}),rn=s.useMemo(function(){if(Re!=="tags")return be;var Ot=(0,D.Z)(be),qt=function(an){return le.has(an)};return(0,D.Z)(yt).sort(function(en,an){return en.value<an.value?-1:1}).forEach(function(en){var an=en.value;qt(an)||Ot.push(Xt(an,en.label))}),Ot},[Xt,be,le,yt,Re]),wn=mn(rn,pe,ke,ie,Ne),on=s.useMemo(function(){return Re!=="tags"||!ke||wn.some(function(Ot){return Ot[Ne||"value"]===ke})||wn.some(function(Ot){return Ot[pe.value]===ke})?wn:[Xt(ke)].concat((0,D.Z)(wn))},[Xt,Ne,Re,wn,ke,pe]),dn=function Ot(qt){var en=(0,D.Z)(qt).sort(function(an,Pn){return ye(an,Pn,{searchValue:ke})});return en.map(function(an){return Array.isArray(an.options)?(0,G.Z)((0,G.Z)({},an),{},{options:an.options.length>0?Ot(an.options):an.options}):an})},jt=s.useMemo(function(){return ye?dn(on):on},[on,ye,ke]),bt=s.useMemo(function(){return A(jt,{fieldNames:pe,childrenAsData:te})},[jt,pe,te]),Mt=function(qt){var en=Se(qt);if(kt(en),At&&(en.length!==yt.length||en.some(function(Kn,ir){var wt;return((wt=yt[ir])===null||wt===void 0?void 0:wt.value)!==(Kn==null?void 0:Kn.value)}))){var an=Yt?en:en.map(function(Kn){return Kn.value}),Pn=en.map(function(Kn){return U(pn(Kn.value))});At(se?an:an[0],se?Pn:Pn[0])}},Qt=s.useState(null),hn=(0,j.Z)(Qt,2),ln=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:Re!=="combobox",qn=s.useCallback(function(Ot,qt){var en=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},an=en.source,Pn=an===void 0?"keyboard":an;or(qt),Je&&Re==="combobox"&&Ot!==null&&Pn==="keyboard"&&fn(String(Ot))},[Je,Re]),xn=function(qt,en,an){var Pn=function(){var dr,lr=pn(qt);return[Yt?{label:lr==null?void 0:lr[pe.label],value:qt,key:(dr=lr==null?void 0:lr.key)!==null&&dr!==void 0?dr:qt}:qt,U(lr)]};if(en&&tt){var Kn=Pn(),ir=(0,j.Z)(Kn,2),wt=ir[0],$t=ir[1];tt(wt,$t)}else if(!en&&Q&&an!=="clear"){var Wt=Pn(),Mn=(0,j.Z)(Wt,2),zn=Mn[0],Hn=Mn[1];Q(zn,Hn)}},kn=Sn(function(Ot,qt){var en,an=se?qt.selected:!0;an?en=se?[].concat((0,D.Z)(yt),[Ot]):[Ot]:en=yt.filter(function(Pn){return Pn.value!==Ot}),Mt(en),xn(Ot,an),Re==="combobox"?fn(""):(!ze||Nt)&&(Ee(""),fn(""))}),Gn=function(qt,en){Mt(qt);var an=en.type,Pn=en.values;(an==="remove"||an==="clear")&&Pn.forEach(function(Kn){xn(Kn.value,!1,an)})},Cn=function(qt,en){if(Ee(qt),fn(null),en.source==="submit"){var an=(qt||"").trim();if(an){var Pn=Array.from(new Set([].concat((0,D.Z)(_n),[an])));Mt(Pn),xn(an,!0),Ee("")}return}en.source!=="blur"&&(Re==="combobox"&&Mt(qt),et==null||et(qt))},En=function(qt){var en=qt;Re!=="tags"&&(en=qt.map(function(Pn){var Kn=he.get(Pn);return Kn==null?void 0:Kn.value}).filter(function(Pn){return Pn!==void 0}));var an=Array.from(new Set([].concat((0,D.Z)(_n),(0,D.Z)(en))));Mt(an),an.forEach(function(Pn){xn(Pn,!0)})},Rn=s.useMemo(function(){var Ot=Pt!==!1&&ge!==!1;return(0,G.Z)((0,G.Z)({},ne),{},{flattenOptions:bt,onActiveValue:qn,defaultActiveFirstOption:ar,onSelect:kn,menuItemSelectedIcon:St,rawValues:_n,fieldNames:pe,virtual:Ot,direction:zt,listHeight:Vt,listItemHeight:Dt,childrenAsData:te,maxCount:Ht,optionRender:ft})},[Ht,ne,bt,qn,ar,kn,St,_n,pe,Pt,ge,zt,Vt,Dt,te,ft]);return s.createElement(oe.Provider,{value:Rn},s.createElement(ce,(0,P.Z)({},Dn,{id:M,prefixCls:qe,ref:J,omitDomProps:Zn,mode:Re,displayValues:sn,onDisplayValuesChange:Gn,direction:zt,searchValue:ke,onSearch:Cn,autoClearSearchValue:Nt,onSearchSplit:En,dropdownMatchSelectWidth:ge,OptionList:It,emptyOptions:!bt.length,activeValue:ln,activeDescendantId:"".concat(M,"_list_").concat($n)})))}),ht=Ge;ht.Option=dt,ht.OptGroup=De;var un=ht,yn=un},86351:function(Bt,Be,l){"use strict";l.d(Be,{R:function(){return D},w:function(){return P}});var P={},D="rc-table-internal-hook"},97347:function(Bt,Be,l){"use strict";l.d(Be,{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),Ce=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=Ce===1?B:a,B-=a,Ce-=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":$,Ce="".concat(O,"-").concat(I),C=Z.children;return C&&C.length>0?[].concat((0,K.Z)(k),(0,K.Z)(R(C,Ce).map(function(v){return(0,j.Z)({fixed:B},v)}))):[].concat((0,K.Z)(k),[(0,j.Z)((0,j.Z)({key:Ce},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,Ce=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,fe=e.useMemo(function(){var Ie=Z||g(I)||[];return w(Ie.slice())},[Z,I]),ve=e.useMemo(function(){if($){var Ie=fe.slice();if(!Ie.includes(s.w)){var ae=S||0;ae>=0&&(ae||h==="left"||!h)&&Ie.splice(ae,0,s.w),h==="right"&&Ie.splice(fe.length,0,s.w)}var W=Ie.indexOf(s.w);Ie=Ie.filter(function(X,x){return X!==s.w||x===W});var Y=fe[W],c;h?c=h:c=Y?Y.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",Ce),"fixed",c),"className","".concat(k,"-row-expand-icon-cell")),"width",a),"render",function(x,m,F){var q=C(m,F),A=B.has(q),U=N?N(m):!0,z=E({prefixCls:k,expanded:A,expandable:U,record:m,onExpand:v});return n?e.createElement("span",{onClick:function(oe){return oe.stopPropagation()}},z):z});return Ie.map(function(X){return X===s.w?L:X})}return fe.filter(function(X){return X!==s.w})},[$,fe,C,B,E,b]),Te=e.useMemo(function(){var Ie=ve;return O&&(Ie=O(Ie)),Ie.length||(Ie=[{render:function(){return null}}]),Ie},[O,ve,b]),Ze=e.useMemo(function(){return b==="rtl"?_(R(Te)):R(Te)},[Te,b,T]),mt=e.useMemo(function(){for(var Ie=-1,ae=Ze.length-1;ae>=0;ae-=1){var W=Ze[ae].fixed;if(W==="left"||W===!0){Ie=ae;break}}if(Ie>=0)for(var Y=0;Y<=Ie;Y+=1){var c=Ze[Y].fixed;if(c!=="left"&&c!==!0)return!0}var L=Ze.findIndex(function(m){var F=m.fixed;return F==="right"});if(L>=0)for(var X=L;X<Ze.length;X+=1){var x=Ze[X].fixed;if(x!=="right")return!0}return!1},[Ze]),me=r(Ze,T,re),Xe=(0,P.Z)(me,2),Oe=Xe[0],Qe=Xe[1];return[Te,Oe,Qe,mt]}var d=y},4030:function(Bt,Be,l){"use strict";l.d(Be,{w2:function(){return P.w},vP:function(){return ot.v},RQ:function(){return P.R},ER:function(){return q},Q$:function(){return _e},TN:function(){return At}});var P=l(86351),D=l(42978),K=l(6089),G=l(34280),j=l(13697),p=l(59301),V=l(4676);function H(M){var se=p.createContext(void 0),te=function(pe){var xe=pe.value,je=pe.children,ke=p.useRef(xe);ke.current=xe;var Ee=p.useState(function(){return{getValue:function(){return ke.current},listeners:new Set}}),ne=(0,D.Z)(Ee,1),le=ne[0];return(0,G.Z)(function(){(0,V.unstable_batchedUpdates)(function(){le.listeners.forEach(function(he){he(xe)})})},[xe]),p.createElement(se.Provider,{value:le},je)};return{Context:se,Provider:te,defaultValue:M}}function e(M,se){var te=(0,K.Z)(typeof se=="function"?se:function(he){if(se===void 0)return he;if(!Array.isArray(se))return he[se];var be={};return se.forEach(function(Se){be[Se]=he[Se]}),be}),ie=p.useContext(M==null?void 0:M.Context),pe=ie||{},xe=pe.listeners,je=pe.getValue,ke=p.useRef();ke.current=te(ie?je():M==null?void 0:M.defaultValue);var Ee=p.useState({}),ne=(0,D.Z)(Ee,2),le=ne[1];return(0,G.Z)(function(){if(!ie)return;function he(be){var Se=te(be);(0,j.Z)(ke.current,Se,!0)||le({})}return xe.add(he),function(){xe.delete(he)}},[ie]),ke.current}var s=l(54476),f=l(8654);function t(){var M=p.createContext(null);function se(){return p.useContext(M)}function te(pe,xe){var je=(0,f.Yr)(pe),ke=function(ne,le){var he=je?{ref:le}:{},be=p.useRef(0),Se=p.useRef(ne),Ye=se();return Ye!==null?p.createElement(pe,(0,s.Z)({},ne,he)):((!xe||xe(Se.current,ne))&&(be.current+=1),Se.current=ne,p.createElement(M.Provider,{value:be.current},p.createElement(pe,(0,s.Z)({},ne,he))))};return je?p.forwardRef(ke):ke}function ie(pe,xe){var je=(0,f.Yr)(pe),ke=function(ne,le){var he=je?{ref:le}:{};return se(),p.createElement(pe,(0,s.Z)({},ne,he))};return je?p.memo(p.forwardRef(ke),xe):p.memo(ke,xe)}return{makeImmutable:te,responseImmutable:ie,useImmutableMark:se}}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(M,se){var te=React.useRef(0);te.current+=1;var ie=React.useRef(M),pe=[];Object.keys(M||{}).map(function(je){var ke;(M==null?void 0:M[je])!==((ke=ie.current)===null||ke===void 0?void 0:ke[je])&&pe.push(je)}),ie.current=M;var xe=React.useRef([]);return pe.length&&(xe.current=pe),React.useDebugValue(te.current),React.useDebugValue(xe.current.join(", ")),se&&console.log("".concat(se,":"),te.current,xe.current),te.current}var k=null,Z=null,I=l(76190),$=l(33885),B=l(20068),Ce=l(92310),C=l.n(Ce),v=l(80547),E=l(97938),N=l(48736),S=p.createContext({renderWithProps:!1}),b=S,n="RC_TABLE_KEY";function a(M){return M==null?[]:Array.isArray(M)?M:[M]}function h(M){var se=[],te={};return M.forEach(function(ie){for(var pe=ie||{},xe=pe.key,je=pe.dataIndex,ke=xe||a(je).join("-")||n;te[ke];)ke="".concat(ke,"_next");te[ke]=!0,se.push(ke)}),se}function T(M){return M!=null}function re(M){return typeof M=="number"&&!Number.isNaN(M)}function fe(M){return M&&(0,I.Z)(M)==="object"&&!Array.isArray(M)&&!p.isValidElement(M)}function ve(M,se,te,ie,pe,xe){var je=p.useContext(b),ke=y(),Ee=(0,v.Z)(function(){if(T(ie))return[ie];var ne=se==null||se===""?[]:Array.isArray(se)?se:[se],le=(0,E.Z)(M,ne),he=le,be=void 0;if(pe){var Se=pe(le,M,te);fe(Se)?(he=Se.children,be=Se.props,je.renderWithProps=!0):he=Se}return[he,be]},[ke,M,ie,se,pe,te],function(ne,le){if(xe){var he=(0,D.Z)(ne,2),be=he[1],Se=(0,D.Z)(le,2),Ye=Se[1];return xe(Ye,be)}return je.renderWithProps?!0:!(0,j.Z)(ne,le,!0)});return Ee}function Te(M,se,te,ie){var pe=M+se-1;return M<=ie&&pe>=te}function Ze(M,se){return e(u,function(te){var ie=Te(M,se||1,te.hoverStartRow,te.hoverEndRow);return[ie,te.onHover]})}var mt=l(70425),me=function(se){var te=se.ellipsis,ie=se.rowType,pe=se.children,xe,je=te===!0?{showTitle:!0}:te;return je&&(je.showTitle||ie==="header")&&(typeof pe=="string"||typeof pe=="number"?xe=pe.toString():p.isValidElement(pe)&&typeof pe.props.children=="string"&&(xe=pe.props.children)),xe};function Xe(M){var se,te,ie,pe,xe,je,ke,Ee,ne=M.component,le=M.children,he=M.ellipsis,be=M.scope,Se=M.prefixCls,Ye=M.className,pt=M.align,at=M.record,kt=M.render,Ut=M.dataIndex,Tt=M.renderIndex,Jt=M.shouldCellUpdate,yt=M.index,pn=M.rowType,sn=M.colSpan,_n=M.rowSpan,Xt=M.fixLeft,rn=M.fixRight,wn=M.firstFixLeft,on=M.lastFixLeft,dn=M.firstFixRight,jt=M.lastFixRight,bt=M.appendNode,Mt=M.additionalProps,Qt=Mt===void 0?{}:Mt,hn=M.isSticky,ln="".concat(Se,"-cell"),fn=e(u,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Un=fn.supportSticky,Xn=fn.allColumnsFixedLeft,$n=fn.rowHoverable,or=ve(at,Ut,Tt,le,kt,Jt),ar=(0,D.Z)(or,2),qn=ar[0],xn=ar[1],kn={},Gn=typeof Xt=="number"&&Un,Cn=typeof rn=="number"&&Un;Gn&&(kn.position="sticky",kn.left=Xt),Cn&&(kn.position="sticky",kn.right=rn);var En=(se=(te=(ie=xn==null?void 0:xn.colSpan)!==null&&ie!==void 0?ie:Qt.colSpan)!==null&&te!==void 0?te:sn)!==null&&se!==void 0?se:1,Rn=(pe=(xe=(je=xn==null?void 0:xn.rowSpan)!==null&&je!==void 0?je:Qt.rowSpan)!==null&&xe!==void 0?xe:_n)!==null&&pe!==void 0?pe:1,Ot=Ze(yt,Rn),qt=(0,D.Z)(Ot,2),en=qt[0],an=qt[1],Pn=(0,mt.zX)(function(zn){var Hn;at&&an(yt,yt+Rn-1),Qt==null||(Hn=Qt.onMouseEnter)===null||Hn===void 0||Hn.call(Qt,zn)}),Kn=(0,mt.zX)(function(zn){var Hn;at&&an(-1,-1),Qt==null||(Hn=Qt.onMouseLeave)===null||Hn===void 0||Hn.call(Qt,zn)});if(En===0||Rn===0)return null;var ir=(ke=Qt.title)!==null&&ke!==void 0?ke:me({rowType:pn,ellipsis:he,children:qn}),wt=C()(ln,Ye,(Ee={},(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)(Ee,"".concat(ln,"-fix-left"),Gn&&Un),"".concat(ln,"-fix-left-first"),wn&&Un),"".concat(ln,"-fix-left-last"),on&&Un),"".concat(ln,"-fix-left-all"),on&&Xn&&Un),"".concat(ln,"-fix-right"),Cn&&Un),"".concat(ln,"-fix-right-first"),dn&&Un),"".concat(ln,"-fix-right-last"),jt&&Un),"".concat(ln,"-ellipsis"),he),"".concat(ln,"-with-append"),bt),"".concat(ln,"-fix-sticky"),(Gn||Cn)&&hn&&Un),(0,B.Z)(Ee,"".concat(ln,"-row-hover"),!xn&&en)),Qt.className,xn==null?void 0:xn.className),$t={};pt&&($t.textAlign=pt);var Wt=(0,$.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},xn==null?void 0:xn.style),kn),$t),Qt.style),Mn=qn;return(0,I.Z)(Mn)==="object"&&!Array.isArray(Mn)&&!p.isValidElement(Mn)&&(Mn=null),he&&(on||dn)&&(Mn=p.createElement("span",{className:"".concat(ln,"-content")},Mn)),p.createElement(ne,(0,s.Z)({},xn,Qt,{className:wt,style:Wt,title:ir,scope:be,onMouseEnter:$n?Pn:void 0,onMouseLeave:$n?Kn:void 0,colSpan:En!==1?En:null,rowSpan:Rn!==1?Rn:null}),bt,Mn)}var Oe=p.memo(Xe);function Qe(M,se,te,ie,pe){var xe=te[M]||{},je=te[se]||{},ke,Ee;xe.fixed==="left"?ke=ie.left[pe==="rtl"?se:M]:je.fixed==="right"&&(Ee=ie.right[pe==="rtl"?M:se]);var ne=!1,le=!1,he=!1,be=!1,Se=te[se+1],Ye=te[M-1],pt=Se&&!Se.fixed||Ye&&!Ye.fixed||te.every(function(Jt){return Jt.fixed==="left"});if(pe==="rtl"){if(ke!==void 0){var at=Ye&&Ye.fixed==="left";be=!at&&pt}else if(Ee!==void 0){var kt=Se&&Se.fixed==="right";he=!kt&&pt}}else if(ke!==void 0){var Ut=Se&&Se.fixed==="left";ne=!Ut&&pt}else if(Ee!==void 0){var Tt=Ye&&Ye.fixed==="right";le=!Tt&&pt}return{fixLeft:ke,fixRight:Ee,lastFixLeft:ne,firstFixRight:le,lastFixRight:he,firstFixLeft:be,isSticky:ie.isSticky}}var Ie=p.createContext({}),ae=Ie;function W(M){var se=M.className,te=M.index,ie=M.children,pe=M.colSpan,xe=pe===void 0?1:pe,je=M.rowSpan,ke=M.align,Ee=e(u,["prefixCls","direction"]),ne=Ee.prefixCls,le=Ee.direction,he=p.useContext(ae),be=he.scrollColumnIndex,Se=he.stickyOffsets,Ye=he.flattenColumns,pt=te+xe-1,at=pt+1===be?xe+1:xe,kt=Qe(te,te+at-1,Ye,Se,le);return p.createElement(Oe,(0,s.Z)({className:se,index:te,component:"td",prefixCls:ne,record:null,dataIndex:null,align:ke,colSpan:at,rowSpan:je,render:function(){return ie}},kt))}var Y=l(75931),c=["children"];function L(M){var se=M.children,te=(0,Y.Z)(M,c);return p.createElement("tr",te,se)}function X(M){var se=M.children;return se}X.Row=L,X.Cell=W;var x=X;function m(M){var se=M.children,te=M.stickyOffsets,ie=M.flattenColumns,pe=e(u,"prefixCls"),xe=ie.length-1,je=ie[xe],ke=p.useMemo(function(){return{stickyOffsets:te,flattenColumns:ie,scrollColumnIndex:je!=null&&je.scrollbar?xe:null}},[je,ie,xe,te]);return p.createElement(ae.Provider,{value:ke},p.createElement("tfoot",{className:"".concat(pe,"-summary")},se))}var F=_(m),q=x,A=l(29301),U=l(3465),z=l(75152),ue=l(26112);function oe(M,se,te,ie,pe,xe,je){M.push({record:se,indent:te,index:je});var ke=xe(se),Ee=pe==null?void 0:pe.has(ke);if(se&&Array.isArray(se[ie])&&Ee)for(var ne=0;ne<se[ie].length;ne+=1)oe(M,se[ie][ne],te+1,ie,pe,xe,ne)}function we(M,se,te,ie){var pe=p.useMemo(function(){if(te!=null&&te.size){for(var xe=[],je=0;je<(M==null?void 0:M.length);je+=1){var ke=M[je];oe(xe,ke,0,se,te,ie,je)}return xe}return M==null?void 0:M.map(function(Ee,ne){return{record:Ee,indent:0,index:ne}})},[M,se,te,ie]);return pe}function Ke(M,se,te,ie){var pe=e(u,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),xe=pe.flattenColumns,je=pe.expandableType,ke=pe.expandedKeys,Ee=pe.childrenColumnName,ne=pe.onTriggerExpand,le=pe.rowExpandable,he=pe.onRow,be=pe.expandRowByClick,Se=pe.rowClassName,Ye=je==="nest",pt=je==="row"&&(!le||le(M)),at=pt||Ye,kt=ke&&ke.has(se),Ut=Ee&&M&&M[Ee],Tt=(0,mt.zX)(ne),Jt=he==null?void 0:he(M,te),yt=Jt==null?void 0:Jt.onClick,pn=function(rn){be&&at&&ne(M,rn);for(var wn=arguments.length,on=new Array(wn>1?wn-1:0),dn=1;dn<wn;dn++)on[dn-1]=arguments[dn];yt==null||yt.apply(void 0,[rn].concat(on))},sn;typeof Se=="string"?sn=Se:typeof Se=="function"&&(sn=Se(M,te,ie));var _n=h(xe);return(0,$.Z)((0,$.Z)({},pe),{},{columnsKey:_n,nestExpandable:Ye,expanded:kt,hasNestChildren:Ut,record:M,onTriggerExpand:Tt,rowSupportExpand:pt,expandable:at,rowProps:(0,$.Z)((0,$.Z)({},Jt),{},{className:C()(sn,Jt==null?void 0:Jt.className),onClick:pn})})}function We(M){var se=M.prefixCls,te=M.children,ie=M.component,pe=M.cellComponent,xe=M.className,je=M.expanded,ke=M.colSpan,Ee=M.isEmpty,ne=e(u,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),le=ne.scrollbarSize,he=ne.fixHeader,be=ne.fixColumn,Se=ne.componentWidth,Ye=ne.horizonScroll,pt=te;return(Ee?Ye&&Se:be)&&(pt=p.createElement("div",{style:{width:Se-(he&&!Ee?le:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(se,"-expanded-row-fixed")},pt)),p.createElement(ie,{className:xe,style:{display:je?null:"none"}},p.createElement(Oe,{component:pe,prefixCls:se,colSpan:ke},pt))}var ze=We;function Me(M){var se=M.prefixCls,te=M.record,ie=M.onExpand,pe=M.expanded,xe=M.expandable,je="".concat(se,"-row-expand-icon");if(!xe)return p.createElement("span",{className:C()(je,"".concat(se,"-row-spaced"))});var ke=function(ne){ie(te,ne),ne.stopPropagation()};return p.createElement("span",{className:C()(je,(0,B.Z)((0,B.Z)({},"".concat(se,"-row-expanded"),pe),"".concat(se,"-row-collapsed"),!pe)),onClick:ke})}function ce(M,se,te){var ie=[];function pe(xe){(xe||[]).forEach(function(je,ke){ie.push(se(je,ke)),pe(je[te])})}return pe(M),ie}function Fe(M,se,te,ie){return typeof M=="string"?M:typeof M=="function"?M(se,te,ie):""}function De(M,se,te,ie,pe){var xe=M.record,je=M.prefixCls,ke=M.columnsKey,Ee=M.fixedInfoList,ne=M.expandIconColumnIndex,le=M.nestExpandable,he=M.indentSize,be=M.expandIcon,Se=M.expanded,Ye=M.hasNestChildren,pt=M.onTriggerExpand,at=ke[te],kt=Ee[te],Ut;te===(ne||0)&&le&&(Ut=p.createElement(p.Fragment,null,p.createElement("span",{style:{paddingLeft:"".concat(he*ie,"px")},className:"".concat(je,"-row-indent indent-level-").concat(ie)}),be({prefixCls:je,expanded:Se,expandable:Ye,record:xe,onExpand:pt})));var Tt;return se.onCell&&(Tt=se.onCell(xe,pe)),{key:at,fixedInfo:kt,appendCellNode:Ut,additionalCellProps:Tt||{}}}function Pe(M){var se=M.className,te=M.style,ie=M.record,pe=M.index,xe=M.renderIndex,je=M.rowKey,ke=M.indent,Ee=ke===void 0?0:ke,ne=M.rowComponent,le=M.cellComponent,he=M.scopeCellComponent,be=Ke(ie,je,pe,Ee),Se=be.prefixCls,Ye=be.flattenColumns,pt=be.expandedRowClassName,at=be.expandedRowRender,kt=be.rowProps,Ut=be.expanded,Tt=be.rowSupportExpand,Jt=p.useRef(!1);Jt.current||(Jt.current=Ut);var yt=Fe(pt,ie,pe,Ee),pn=p.createElement(ne,(0,s.Z)({},kt,{"data-row-key":je,className:C()(se,"".concat(Se,"-row"),"".concat(Se,"-row-level-").concat(Ee),kt==null?void 0:kt.className,(0,B.Z)({},yt,Ee>=1)),style:(0,$.Z)((0,$.Z)({},te),kt==null?void 0:kt.style)}),Ye.map(function(Xt,rn){var wn=Xt.render,on=Xt.dataIndex,dn=Xt.className,jt=De(be,Xt,rn,Ee,pe),bt=jt.key,Mt=jt.fixedInfo,Qt=jt.appendCellNode,hn=jt.additionalCellProps;return p.createElement(Oe,(0,s.Z)({className:dn,ellipsis:Xt.ellipsis,align:Xt.align,scope:Xt.rowScope,component:Xt.rowScope?he:le,prefixCls:Se,key:bt,record:ie,index:pe,renderIndex:xe,dataIndex:on,render:wn,shouldCellUpdate:Xt.shouldCellUpdate},Mt,{appendNode:Qt,additionalProps:hn}))})),sn;if(Tt&&(Jt.current||Ut)){var _n=at(ie,pe,Ee+1,Ut);sn=p.createElement(ze,{expanded:Ut,className:C()("".concat(Se,"-expanded-row"),"".concat(Se,"-expanded-row-level-").concat(Ee+1),yt),prefixCls:Se,component:ne,cellComponent:le,colSpan:Ye.length,isEmpty:!1},_n)}return p.createElement(p.Fragment,null,pn,sn)}var dt=_(Pe);function xt(M){var se=M.columnKey,te=M.onColumnResize,ie=p.useRef();return(0,G.Z)(function(){ie.current&&te(se,ie.current.offsetWidth)},[]),p.createElement(A.Z,{data:se},p.createElement("td",{ref:ie,style:{padding:0,border:0,height:0}},p.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Ae=l(29194);function Zt(M){var se=M.prefixCls,te=M.columnsKey,ie=M.onColumnResize,pe=p.useRef(null);return p.createElement("tr",{"aria-hidden":"true",className:"".concat(se,"-measure-row"),style:{height:0,fontSize:0},ref:pe},p.createElement(A.Z.Collection,{onBatchResize:function(je){(0,Ae.Z)(pe.current)&&je.forEach(function(ke){var Ee=ke.data,ne=ke.size;ie(Ee,ne.offsetWidth)})}},te.map(function(xe){return p.createElement(xt,{key:xe,columnKey:xe,onColumnResize:ie})})))}function tn(M){var se=M.data,te=M.measureColumnWidth,ie=e(u,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),pe=ie.prefixCls,xe=ie.getComponent,je=ie.onColumnResize,ke=ie.flattenColumns,Ee=ie.getRowKey,ne=ie.expandedKeys,le=ie.childrenColumnName,he=ie.emptyNode,be=we(se,le,ne,Ee),Se=p.useRef({renderWithProps:!1}),Ye=xe(["body","wrapper"],"tbody"),pt=xe(["body","row"],"tr"),at=xe(["body","cell"],"td"),kt=xe(["body","cell"],"th"),Ut;se.length?Ut=be.map(function(Jt,yt){var pn=Jt.record,sn=Jt.indent,_n=Jt.index,Xt=Ee(pn,yt);return p.createElement(dt,{key:Xt,rowKey:Xt,record:pn,index:yt,renderIndex:_n,rowComponent:pt,cellComponent:at,scopeCellComponent:kt,indent:sn})}):Ut=p.createElement(ze,{expanded:!0,className:"".concat(pe,"-placeholder"),prefixCls:pe,component:pt,cellComponent:at,colSpan:ke.length,isEmpty:!0},he);var Tt=h(ke);return p.createElement(b.Provider,{value:Se.current},p.createElement(Ye,{className:"".concat(pe,"-tbody")},te&&p.createElement(Zt,{prefixCls:pe,columnsKey:Tt,onColumnResize:je}),Ut))}var _t=_(tn),ot=l(54451),Lt=["columnType"];function nn(M){for(var se=M.colWidths,te=M.columns,ie=M.columCount,pe=e(u,["tableLayout"]),xe=pe.tableLayout,je=[],ke=ie||te.length,Ee=!1,ne=ke-1;ne>=0;ne-=1){var le=se[ne],he=te&&te[ne],be=void 0,Se=void 0;if(he&&(be=he[ot.v],xe==="auto"&&(Se=he.minWidth)),le||Se||be||Ee){var Ye=be||{},pt=Ye.columnType,at=(0,Y.Z)(Ye,Lt);je.unshift(p.createElement("col",(0,s.Z)({key:ne,style:{width:le,minWidth:Se}},at))),Ee=!0}}return p.createElement("colgroup",null,je)}var It=nn,vt=l(94480),Kt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function mn(M,se){return(0,p.useMemo)(function(){for(var te=[],ie=0;ie<se;ie+=1){var pe=M[ie];if(pe!==void 0)te[ie]=pe;else return null}return te},[M.join("_"),se])}var Ft=p.forwardRef(function(M,se){var te=M.className,ie=M.noData,pe=M.columns,xe=M.flattenColumns,je=M.colWidths,ke=M.columCount,Ee=M.stickyOffsets,ne=M.direction,le=M.fixHeader,he=M.stickyTopOffset,be=M.stickyBottomOffset,Se=M.stickyClassName,Ye=M.onScroll,pt=M.maxContentScroll,at=M.children,kt=(0,Y.Z)(M,Kt),Ut=e(u,["prefixCls","scrollbarSize","isSticky","getComponent"]),Tt=Ut.prefixCls,Jt=Ut.scrollbarSize,yt=Ut.isSticky,pn=Ut.getComponent,sn=pn(["header","table"],"table"),_n=yt&&!le?0:Jt,Xt=p.useRef(null),rn=p.useCallback(function(hn){(0,f.mH)(se,hn),(0,f.mH)(Xt,hn)},[]);p.useEffect(function(){var hn;function ln(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",ln,{passive:!1}),function(){var fn;(fn=Xt.current)===null||fn===void 0||fn.removeEventListener("wheel",ln)}},[]);var wn=p.useMemo(function(){return xe.every(function(hn){return hn.width})},[xe]),on=xe[xe.length-1],dn={fixed:on?on.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Tt,"-cell-scrollbar")}}},jt=(0,p.useMemo)(function(){return _n?[].concat((0,vt.Z)(pe),[dn]):pe},[_n,pe]),bt=(0,p.useMemo)(function(){return _n?[].concat((0,vt.Z)(xe),[dn]):xe},[_n,xe]),Mt=(0,p.useMemo)(function(){var hn=Ee.right,ln=Ee.left;return(0,$.Z)((0,$.Z)({},Ee),{},{left:ne==="rtl"?[].concat((0,vt.Z)(ln.map(function(fn){return fn+_n})),[0]):ln,right:ne==="rtl"?hn:[].concat((0,vt.Z)(hn.map(function(fn){return fn+_n})),[0]),isSticky:yt})},[_n,Ee,yt]),Qt=mn(je,ke);return p.createElement("div",{style:(0,$.Z)({overflow:"hidden"},yt?{top:he,bottom:be}:{}),ref:rn,className:C()(te,(0,B.Z)({},Se,!!Se))},p.createElement(sn,{style:{tableLayout:"fixed",visibility:ie||Qt?null:"hidden"}},(!ie||!pt||wn)&&p.createElement(It,{colWidths:Qt?[].concat((0,vt.Z)(Qt),[_n]):[],columCount:ke+1,columns:bt}),at((0,$.Z)((0,$.Z)({},kt),{},{stickyOffsets:Mt,columns:jt,flattenColumns:bt}))))}),lt=p.memo(Ft),Ct=function(se){var te=se.cells,ie=se.stickyOffsets,pe=se.flattenColumns,xe=se.rowComponent,je=se.cellComponent,ke=se.onHeaderRow,Ee=se.index,ne=e(u,["prefixCls","direction"]),le=ne.prefixCls,he=ne.direction,be;ke&&(be=ke(te.map(function(Ye){return Ye.column}),Ee));var Se=h(te.map(function(Ye){return Ye.column}));return p.createElement(xe,be,te.map(function(Ye,pt){var at=Ye.column,kt=Qe(Ye.colStart,Ye.colEnd,pe,ie,he),Ut;return at&&at.onHeaderCell&&(Ut=Ye.column.onHeaderCell(at)),p.createElement(Oe,(0,s.Z)({},Ye,{scope:at.title?Ye.colSpan>1?"colgroup":"col":null,ellipsis:at.ellipsis,align:at.align,component:je,prefixCls:le,key:Se[pt]},kt,{additionalProps:Ut,rowType:"header"}))}))},In=Ct;function bn(M){var se=[];function te(je,ke){var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;se[Ee]=se[Ee]||[];var ne=ke,le=je.filter(Boolean).map(function(he){var be={key:he.key,className:he.className||"",children:he.title,column:he,colStart:ne},Se=1,Ye=he.children;return Ye&&Ye.length>0&&(Se=te(Ye,ne,Ee+1).reduce(function(pt,at){return pt+at},0),be.hasSubColumns=!0),"colSpan"in he&&(Se=he.colSpan),"rowSpan"in he&&(be.rowSpan=he.rowSpan),be.colSpan=Se,be.colEnd=be.colStart+Se-1,se[Ee].push(be),ne+=Se,Se});return le}te(M,0);for(var ie=se.length,pe=function(ke){se[ke].forEach(function(Ee){!("rowSpan"in Ee)&&!Ee.hasSubColumns&&(Ee.rowSpan=ie-ke)})},xe=0;xe<ie;xe+=1)pe(xe);return se}var An=function(se){var te=se.stickyOffsets,ie=se.columns,pe=se.flattenColumns,xe=se.onHeaderRow,je=e(u,["prefixCls","getComponent"]),ke=je.prefixCls,Ee=je.getComponent,ne=p.useMemo(function(){return bn(ie)},[ie]),le=Ee(["header","wrapper"],"thead"),he=Ee(["header","row"],"tr"),be=Ee(["header","cell"],"th");return p.createElement(le,{className:"".concat(ke,"-thead")},ne.map(function(Se,Ye){var pt=p.createElement(In,{key:Ye,flattenColumns:pe,cells:Se,stickyOffsets:te,rowComponent:he,cellComponent:be,onHeaderRow:xe,index:Ye});return pt}))},jn=_(An),gn=l(97347);function Sn(M,se,te){var ie=(0,ot.g)(M),pe=ie.expandIcon,xe=ie.expandedRowKeys,je=ie.defaultExpandedRowKeys,ke=ie.defaultExpandAllRows,Ee=ie.expandedRowRender,ne=ie.onExpand,le=ie.onExpandedRowsChange,he=ie.childrenColumnName,be=pe||Me,Se=he||"children",Ye=p.useMemo(function(){return Ee?"row":M.expandable&&M.internalHooks===P.R&&M.expandable.__PARENT_RENDER_ICON__||se.some(function(yt){return yt&&(0,I.Z)(yt)==="object"&&yt[Se]})?"nest":!1},[!!Ee,se]),pt=p.useState(function(){return je||(ke?ce(se,te,Se):[])}),at=(0,D.Z)(pt,2),kt=at[0],Ut=at[1],Tt=p.useMemo(function(){return new Set(xe||kt||[])},[xe,kt]),Jt=p.useCallback(function(yt){var pn=te(yt,se.indexOf(yt)),sn,_n=Tt.has(pn);_n?(Tt.delete(pn),sn=(0,vt.Z)(Tt)):sn=[].concat((0,vt.Z)(Tt),[pn]),Ut(sn),ne&&ne(!_n,yt),le&&le(sn)},[te,Tt,se,ne,le]);return[ie,Ye,Tt,be,Se,Jt]}function Ln(M,se,te){var ie=M.map(function(pe,xe){return Qe(xe,xe,M,se,te)});return(0,v.Z)(function(){return ie},[ie],function(pe,xe){return!(0,j.Z)(pe,xe)})}function Fn(M){var se=(0,p.useRef)(M),te=(0,p.useState)({}),ie=(0,D.Z)(te,2),pe=ie[1],xe=(0,p.useRef)(null),je=(0,p.useRef)([]);function ke(Ee){je.current.push(Ee);var ne=Promise.resolve();xe.current=ne,ne.then(function(){if(xe.current===ne){var le=je.current,he=se.current;je.current=[],le.forEach(function(be){se.current=be(se.current)}),xe.current=null,he!==se.current&&pe({})}})}return(0,p.useEffect)(function(){return function(){xe.current=null}},[]),[se.current,ke]}function On(M){var se=(0,p.useRef)(M||null),te=(0,p.useRef)();function ie(){window.clearTimeout(te.current)}function pe(je){se.current=je,ie(),te.current=window.setTimeout(function(){se.current=null,te.current=void 0},100)}function xe(){return se.current}return(0,p.useEffect)(function(){return ie},[]),[pe,xe]}function vn(){var M=p.useState(-1),se=(0,D.Z)(M,2),te=se[0],ie=se[1],pe=p.useState(-1),xe=(0,D.Z)(pe,2),je=xe[0],ke=xe[1],Ee=p.useCallback(function(ne,le){ie(ne),ke(le)},[]);return[te,je,Ee]}var Zn=l(47273),st=(0,Zn.Z)()?window:null;function Ge(M,se){var te=(0,I.Z)(M)==="object"?M:{},ie=te.offsetHeader,pe=ie===void 0?0:ie,xe=te.offsetSummary,je=xe===void 0?0:xe,ke=te.offsetScroll,Ee=ke===void 0?0:ke,ne=te.getContainer,le=ne===void 0?function(){return st}:ne,he=le()||st,be=!!M;return p.useMemo(function(){return{isSticky:be,stickyClassName:be?"".concat(se,"-sticky-holder"):"",offsetHeader:pe,offsetSummary:je,offsetScroll:Ee,container:he}},[be,Ee,pe,je,se,he])}function ht(M,se,te){var ie=(0,p.useMemo)(function(){var pe=se.length,xe=function(ne,le,he){for(var be=[],Se=0,Ye=ne;Ye!==le;Ye+=he)be.push(Se),se[Ye].fixed&&(Se+=M[Ye]||0);return be},je=xe(0,pe,1),ke=xe(pe-1,-1,-1).reverse();return te==="rtl"?{left:ke,right:je}:{left:je,right:ke}},[M,se,te]);return ie}var un=ht;function yn(M){var se=M.className,te=M.children;return p.createElement("div",{className:se},te)}var ee=yn,J=l(8224),Ue=l(16089),Re=l(76846);function He(M){var se=(0,Re.bn)(M),te=se.getBoundingClientRect(),ie=document.documentElement;return{left:te.left+(window.pageXOffset||ie.scrollLeft)-(ie.clientLeft||document.body.clientLeft||0),top:te.top+(window.pageYOffset||ie.scrollTop)-(ie.clientTop||document.body.clientTop||0)}}var qe=function(se,te){var ie,pe,xe=se.scrollBodyRef,je=se.onScroll,ke=se.offsetScroll,Ee=se.container,ne=se.direction,le=e(u,"prefixCls"),he=((ie=xe.current)===null||ie===void 0?void 0:ie.scrollWidth)||0,be=((pe=xe.current)===null||pe===void 0?void 0:pe.clientWidth)||0,Se=he&&be*(be/he),Ye=p.useRef(),pt=Fn({scrollLeft:0,isHiddenScrollBar:!0}),at=(0,D.Z)(pt,2),kt=at[0],Ut=at[1],Tt=p.useRef({delta:0,x:0}),Jt=p.useState(!1),yt=(0,D.Z)(Jt,2),pn=yt[0],sn=yt[1],_n=p.useRef(null);p.useEffect(function(){return function(){Ue.Z.cancel(_n.current)}},[]);var Xt=function(){sn(!1)},rn=function(bt){bt.persist(),Tt.current.delta=bt.pageX-kt.scrollLeft,Tt.current.x=0,sn(!0),bt.preventDefault()},wn=function(bt){var Mt,Qt=bt||((Mt=window)===null||Mt===void 0?void 0:Mt.event),hn=Qt.buttons;if(!pn||hn===0){pn&&sn(!1);return}var ln=Tt.current.x+bt.pageX-Tt.current.x-Tt.current.delta,fn=ne==="rtl";ln=Math.max(fn?Se-be:0,Math.min(fn?0:be-Se,ln));var Un=!fn||Math.abs(ln)+Math.abs(Se)<be;Un&&(je({scrollLeft:ln/be*(he+2)}),Tt.current.x=bt.pageX)},on=function(){Ue.Z.cancel(_n.current),_n.current=(0,Ue.Z)(function(){if(xe.current){var bt=He(xe.current).top,Mt=bt+xe.current.offsetHeight,Qt=Ee===window?document.documentElement.scrollTop+window.innerHeight:He(Ee).top+Ee.clientHeight;Mt-(0,z.Z)()<=Qt||bt>=Qt-ke?Ut(function(hn){return(0,$.Z)((0,$.Z)({},hn),{},{isHiddenScrollBar:!0})}):Ut(function(hn){return(0,$.Z)((0,$.Z)({},hn),{},{isHiddenScrollBar:!1})})}})},dn=function(bt){Ut(function(Mt){return(0,$.Z)((0,$.Z)({},Mt),{},{scrollLeft:bt/he*be||0})})};return p.useImperativeHandle(te,function(){return{setScrollLeft:dn,checkScrollBarVisible:on}}),p.useEffect(function(){var jt=(0,J.Z)(document.body,"mouseup",Xt,!1),bt=(0,J.Z)(document.body,"mousemove",wn,!1);return on(),function(){jt.remove(),bt.remove()}},[Se,pn]),p.useEffect(function(){if(xe.current){for(var jt=[],bt=(0,Re.bn)(xe.current);bt;)jt.push(bt),bt=bt.parentElement;return jt.forEach(function(Mt){return Mt.addEventListener("scroll",on,!1)}),window.addEventListener("resize",on,!1),window.addEventListener("scroll",on,!1),Ee.addEventListener("scroll",on,!1),function(){jt.forEach(function(Mt){return Mt.removeEventListener("scroll",on)}),window.removeEventListener("resize",on),window.removeEventListener("scroll",on),Ee.removeEventListener("scroll",on)}}},[Ee]),p.useEffect(function(){kt.isHiddenScrollBar||Ut(function(jt){var bt=xe.current;return bt?(0,$.Z)((0,$.Z)({},jt),{},{scrollLeft:bt.scrollLeft/bt.scrollWidth*bt.clientWidth}):jt})},[kt.isHiddenScrollBar]),he<=be||!Se||kt.isHiddenScrollBar?null:p.createElement("div",{style:{height:(0,z.Z)(),width:be,bottom:ke},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(Se,"px"),transform:"translate3d(".concat(kt.scrollLeft,"px, 0, 0)")}}))},Je=p.forwardRef(qe);function Ve(M){return null}var it=Ve;function $e(M){return null}var et=$e,ut="rc-table",Nt=[],tt={};function Q(){return"No Data"}function de(M,se){var te=(0,$.Z)({rowKey:"key",prefixCls:ut,emptyText:Q},M),ie=te.prefixCls,pe=te.className,xe=te.rowClassName,je=te.style,ke=te.data,Ee=te.rowKey,ne=te.scroll,le=te.tableLayout,he=te.direction,be=te.title,Se=te.footer,Ye=te.summary,pt=te.caption,at=te.id,kt=te.showHeader,Ut=te.components,Tt=te.emptyText,Jt=te.onRow,yt=te.onHeaderRow,pn=te.onScroll,sn=te.internalHooks,_n=te.transformColumns,Xt=te.internalRefs,rn=te.tailor,wn=te.getContainerWidth,on=te.sticky,dn=te.rowHoverable,jt=dn===void 0?!0:dn,bt=ke||Nt,Mt=!!bt.length,Qt=sn===P.R,hn=p.useCallback(function(Bn,Wn){return(0,E.Z)(Ut,Bn)||Wn},[Ut]),ln=p.useMemo(function(){return typeof Ee=="function"?Ee:function(Bn){var Wn=Bn&&Bn[Ee];return Wn}},[Ee]),fn=hn(["body"]),Un=vn(),Xn=(0,D.Z)(Un,3),$n=Xn[0],or=Xn[1],ar=Xn[2],qn=Sn(te,bt,ln),xn=(0,D.Z)(qn,6),kn=xn[0],Gn=xn[1],Cn=xn[2],En=xn[3],Rn=xn[4],Ot=xn[5],qt=ne==null?void 0:ne.x,en=p.useState(0),an=(0,D.Z)(en,2),Pn=an[0],Kn=an[1],ir=(0,gn.Z)((0,$.Z)((0,$.Z)((0,$.Z)({},te),kn),{},{expandable:!!kn.expandedRowRender,columnTitle:kn.columnTitle,expandedKeys:Cn,getRowKey:ln,onTriggerExpand:Ot,expandIcon:En,expandIconColumnIndex:kn.expandIconColumnIndex,direction:he,scrollWidth:Qt&&rn&&typeof qt=="number"?qt:null,clientWidth:Pn}),Qt?_n:null),wt=(0,D.Z)(ir,4),$t=wt[0],Wt=wt[1],Mn=wt[2],zn=wt[3],Hn=Mn!=null?Mn: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(se,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:ln(bt[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=un(Wr,Wt,he),hr=ne&&T(ne.y),ur=ne&&T(Hn)||!!kn.fixed,Tn=ur&&Wt.some(function(Bn){var Wn=Bn.fixed;return Wn}),Nn=p.useRef(),nr=Ge(on,ie),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(bt)},[Ye,bt]),mr=(hr||Qn)&&p.isValidElement(sr)&&sr.type===x&&sr.props.fixed,Rr,Er,Yr;hr&&(Er={overflowY:Mt?"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||tt;if(!vr()||vr()===Hr){var Lr;Yn(Hr),fr(_r,lr.current),fr(_r,Jn.current),fr(_r,Br.current),fr(_r,(Lr=Nn.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,Re.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=Nn.current)===null||pr===void 0||pr.checkScrollBarVisible();var _r=dr.current?dr.current.offsetWidth:wr;Qt&&wn&&dr.current&&(_r=wn(dr.current,_r)||_r),_r!==Pn&&(ea(),Kn(_r))},Jr=p.useRef(!1);p.useEffect(function(){Jr.current&&ea()},[ur,ke,$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||(Tn?Hn==="max-content"?"auto":"fixed":hr||Qn||Wt.some(function(Bn){var Wn=Bn.ellipsis;return Wn})?"fixed":"auto")},[hr,Tn,Wt,le,Qn]),ra,aa={colWidths:Wr,columCount:Wt.length,stickyOffsets:kr,onHeaderRow:yt,fixHeader:hr,scroll:ne},da=p.useMemo(function(){return Mt?null:typeof Tt=="function"?Tt():Tt},[Mt,Tt]),ha=p.createElement(_t,{data:bt,measureColumnWidth:hr||ur||Qn}),pa=p.createElement(It,{colWidths:Wt.map(function(Bn){var Wn=Bn.width;return Wn}),columns:Wt}),_a=pt!=null?p.createElement("caption",{className:"".concat(ie,"-caption")},pt):void 0,Sa=(0,ue.Z)(te,{data:!0}),va=(0,ue.Z)(te,{aria:!0});if(hr||Qn){var ia;typeof fn=="function"?(ia=fn(bt,{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(ie,"-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:!bt.length,maxContentScroll:ur&&Hn==="max-content"},aa),cr),{},{direction:he,stickyClassName:gr,onScroll:Cr});ra=p.createElement(p.Fragment,null,kt!==!1&&p.createElement(lt,(0,s.Z)({},ma,{stickyTopOffset:er,className:"".concat(ie,"-header"),ref:lr}),Ea),ia,mr&&mr!=="top"&&p.createElement(lt,(0,s.Z)({},ma,{stickyBottomOffset:rr,className:"".concat(ie,"-summary"),ref:Br}),Ca),Qn&&Jn.current&&Jn.current instanceof Element&&p.createElement(Je,{ref:Nn,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(ie,"-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()(ie,pe,(0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)({},"".concat(ie,"-rtl"),he==="rtl"),"".concat(ie,"-ping-left"),Pr),"".concat(ie,"-ping-right"),Mr),"".concat(ie,"-layout-fixed"),le==="fixed"),"".concat(ie,"-fixed-header"),hr),"".concat(ie,"-fixed-column"),Tn),"".concat(ie,"-fixed-column-gapped"),Tn&&zn),"".concat(ie,"-scroll-horizontal"),ur),"".concat(ie,"-has-fix-left"),Wt[0]&&Wt[0].fixed),"".concat(ie,"-has-fix-right"),Wt[Wt.length-1]&&Wt[Wt.length-1].fixed==="right")),style:je,id:at,ref:dr},Sa),be&&p.createElement(ee,{className:"".concat(ie,"-title")},be(bt)),p.createElement("div",{ref:Fr,className:"".concat(ie,"-container")},ra),Se&&p.createElement(ee,{className:"".concat(ie,"-footer")},Se(bt)));ur&&(sa=p.createElement(A.Z,{onResize:ta},sa));var ga=Ln(Wt,kr,he),Ra=p.useMemo(function(){return{scrollX:Hn,prefixCls:ie,getComponent:hn,scrollbarSize:Vr,direction:he,fixedInfoList:ga,isSticky:Qn,supportSticky:ca,componentWidth:Pn,fixHeader:hr,fixColumn:Tn,horizonScroll:ur,tableLayout:na,rowClassName:xe,expandedRowClassName:kn.expandedRowClassName,expandIcon:En,expandableType:Gn,expandRowByClick:kn.expandRowByClick,expandedRowRender:kn.expandedRowRender,onTriggerExpand:Ot,expandIconColumnIndex:kn.expandIconColumnIndex,indentSize:kn.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:kn.rowExpandable,onRow:Jt,getRowKey:ln,expandedKeys:Cn,childrenColumnName:Rn,rowHoverable:jt}},[Hn,ie,hn,Vr,he,ga,Qn,ca,Pn,hr,Tn,ur,na,xe,kn.expandedRowClassName,En,Gn,kn.expandRowByClick,kn.expandedRowRender,Ot,kn.expandIconColumnIndex,kn.indentSize,da,$t,Wt,qr,$n,or,ar,kn.rowExpandable,Jt,ln,Cn,Rn,jt]);return p.createElement(u.Provider,{value:Ra},sa)}var ge=p.forwardRef(de);function _e(M){return R(ge,M)}var ye=_e();ye.EXPAND_COLUMN=P.w,ye.INTERNAL_HOOKS=P.R,ye.Column=it,ye.ColumnGroup=et,ye.Summary=q;var Ne=ye,Le=l(48911),nt=H(null),ft=H(null);function Et(M,se,te){var ie=se||1;return te[M+ie]-(te[M]||0)}function cn(M){var se=M.rowInfo,te=M.column,ie=M.colIndex,pe=M.indent,xe=M.index,je=M.component,ke=M.renderIndex,Ee=M.record,ne=M.style,le=M.className,he=M.inverse,be=M.getHeight,Se=te.render,Ye=te.dataIndex,pt=te.className,at=te.width,kt=e(ft,["columnsOffset"]),Ut=kt.columnsOffset,Tt=De(se,te,ie,pe,xe),Jt=Tt.key,yt=Tt.fixedInfo,pn=Tt.appendCellNode,sn=Tt.additionalCellProps,_n=sn.style,Xt=sn.colSpan,rn=Xt===void 0?1:Xt,wn=sn.rowSpan,on=wn===void 0?1:wn,dn=ie-1,jt=Et(dn,rn,Ut),bt=rn>1?at-jt:0,Mt=(0,$.Z)((0,$.Z)((0,$.Z)({},_n),ne),{},{flex:"0 0 ".concat(jt,"px"),width:"".concat(jt,"px"),marginRight:bt,pointerEvents:"auto"}),Qt=p.useMemo(function(){return he?on<=1:rn===0||on===0||on>1},[on,rn,he]);Qt?Mt.visibility="hidden":he&&(Mt.height=be==null?void 0:be(on));var hn=Qt?function(){return null}:Se,ln={};return(on===0||rn===0)&&(ln.rowSpan=1,ln.colSpan=1),p.createElement(Oe,(0,s.Z)({className:C()(pt,le),ellipsis:te.ellipsis,align:te.align,scope:te.rowScope,component:je,prefixCls:se.prefixCls,key:Jt,record:Ee,index:xe,renderIndex:ke,dataIndex:Ye,render:hn,shouldCellUpdate:te.shouldCellUpdate},yt,{appendNode:pn,additionalProps:(0,$.Z)((0,$.Z)({},sn),{},{style:Mt},ln)}))}var St=cn,Pt=["data","index","className","rowKey","style","extra","getHeight"],zt=p.forwardRef(function(M,se){var te=M.data,ie=M.index,pe=M.className,xe=M.rowKey,je=M.style,ke=M.extra,Ee=M.getHeight,ne=(0,Y.Z)(M,Pt),le=te.record,he=te.indent,be=te.index,Se=e(u,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ye=Se.scrollX,pt=Se.flattenColumns,at=Se.prefixCls,kt=Se.fixColumn,Ut=Se.componentWidth,Tt=e(nt,["getComponent"]),Jt=Tt.getComponent,yt=Ke(le,xe,ie,he),pn=Jt(["body","row"],"div"),sn=Jt(["body","cell"],"div"),_n=yt.rowSupportExpand,Xt=yt.expanded,rn=yt.rowProps,wn=yt.expandedRowRender,on=yt.expandedRowClassName,dn;if(_n&&Xt){var jt=wn(le,ie,he+1,Xt),bt=Fe(on,le,ie,he),Mt={};kt&&(Mt={style:(0,B.Z)({},"--virtual-width","".concat(Ut,"px"))});var Qt="".concat(at,"-expanded-row-cell");dn=p.createElement(pn,{className:C()("".concat(at,"-expanded-row"),"".concat(at,"-expanded-row-level-").concat(he+1),bt)},p.createElement(Oe,{component:sn,prefixCls:at,className:C()(Qt,(0,B.Z)({},"".concat(Qt,"-fixed"),kt)),additionalProps:Mt},jt))}var hn=(0,$.Z)((0,$.Z)({},je),{},{width:Ye});ke&&(hn.position="absolute",hn.pointerEvents="none");var ln=p.createElement(pn,(0,s.Z)({},rn,ne,{"data-row-key":xe,ref:_n?null:se,className:C()(pe,"".concat(at,"-row"),rn==null?void 0:rn.className,(0,B.Z)({},"".concat(at,"-row-extra"),ke)),style:(0,$.Z)((0,$.Z)({},hn),rn==null?void 0:rn.style)}),pt.map(function(fn,Un){return p.createElement(St,{key:Un,component:sn,rowInfo:yt,column:fn,colIndex:Un,indent:he,index:ie,renderIndex:be,record:le,inverse:ke,getHeight:Ee})}));return _n?p.createElement("div",{ref:se},ln,dn):ln}),Gt=_(zt),Vt=Gt,Rt=p.forwardRef(function(M,se){var te=M.data,ie=M.onScroll,pe=e(u,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),xe=pe.flattenColumns,je=pe.onColumnResize,ke=pe.getRowKey,Ee=pe.expandedKeys,ne=pe.prefixCls,le=pe.childrenColumnName,he=pe.scrollX,be=pe.direction,Se=e(nt),Ye=Se.sticky,pt=Se.scrollY,at=Se.listItemHeight,kt=Se.getComponent,Ut=Se.onScroll,Tt=p.useRef(),Jt=we(te,le,Ee,ke),yt=p.useMemo(function(){var dn=0;return xe.map(function(jt){var bt=jt.width,Mt=jt.key;return dn+=bt,[Mt,bt,dn]})},[xe]),pn=p.useMemo(function(){return yt.map(function(dn){return dn[2]})},[yt]);p.useEffect(function(){yt.forEach(function(dn){var jt=(0,D.Z)(dn,2),bt=jt[0],Mt=jt[1];je(bt,Mt)})},[yt]),p.useImperativeHandle(se,function(){var dn,jt={scrollTo:function(Mt){var Qt;(Qt=Tt.current)===null||Qt===void 0||Qt.scrollTo(Mt)},nativeElement:(dn=Tt.current)===null||dn===void 0?void 0:dn.nativeElement};return Object.defineProperty(jt,"scrollLeft",{get:function(){var Mt;return((Mt=Tt.current)===null||Mt===void 0?void 0:Mt.getScrollInfo().x)||0},set:function(Mt){var Qt;(Qt=Tt.current)===null||Qt===void 0||Qt.scrollTo({left:Mt})}}),jt});var sn=function(jt,bt){var Mt,Qt=(Mt=Jt[bt])===null||Mt===void 0?void 0:Mt.record,hn=jt.onCell;if(hn){var ln,fn=hn(Qt,bt);return(ln=fn==null?void 0:fn.rowSpan)!==null&&ln!==void 0?ln:1}return 1},_n=function(jt){var bt=jt.start,Mt=jt.end,Qt=jt.getSize,hn=jt.offsetY;if(Mt<0)return null;for(var ln=xe.filter(function(En){return sn(En,bt)===0}),fn=bt,Un=function(Rn){if(ln=ln.filter(function(Ot){return sn(Ot,Rn)===0}),!ln.length)return fn=Rn,1},Xn=bt;Xn>=0&&!Un(Xn);Xn-=1);for(var $n=xe.filter(function(En){return sn(En,Mt)!==1}),or=Mt,ar=function(Rn){if($n=$n.filter(function(Ot){return sn(Ot,Rn)!==1}),!$n.length)return or=Math.max(Rn-1,Mt),1},qn=Mt;qn<Jt.length&&!ar(qn);qn+=1);for(var xn=[],kn=function(Rn){var Ot=Jt[Rn];if(!Ot)return 1;xe.some(function(qt){return sn(qt,Rn)>1})&&xn.push(Rn)},Gn=fn;Gn<=or;Gn+=1)kn(Gn);var Cn=xn.map(function(En){var Rn=Jt[En],Ot=ke(Rn.record,En),qt=function(Pn){var Kn=En+Pn-1,ir=ke(Jt[Kn].record,Kn),wt=Qt(Ot,ir);return wt.bottom-wt.top},en=Qt(Ot);return p.createElement(Vt,{key:En,data:Rn,rowKey:Ot,index:En,style:{top:-hn+en.top},extra:!0,getHeight:qt})});return Cn},Xt=p.useMemo(function(){return{columnsOffset:pn}},[pn]),rn="".concat(ne,"-tbody"),wn=kt(["body","wrapper"]),on={};return Ye&&(on.position="sticky",on.bottom=0,(0,I.Z)(Ye)==="object"&&Ye.offsetScroll&&(on.bottom=Ye.offsetScroll)),p.createElement(ft.Provider,{value:Xt},p.createElement(Le.Z,{fullHeight:!1,ref:Tt,prefixCls:"".concat(rn,"-virtual"),styles:{horizontalScrollBar:on},className:rn,height:pt,itemHeight:at||24,data:Jt,itemKey:function(jt){return ke(jt.record)},component:wn,scrollWidth:he,direction:be,onVirtualScroll:function(jt){var bt,Mt=jt.x;ie({currentTarget:(bt=Tt.current)===null||bt===void 0?void 0:bt.nativeElement,scrollLeft:Mt})},onScroll:Ut,extraRender:_n},function(dn,jt,bt){var Mt=ke(dn.record,jt);return p.createElement(Vt,{data:dn,rowKey:Mt,index:jt,style:bt.style})}))}),Dt=_(Rt),rt=Dt,ct=function(se,te){var ie=te.ref,pe=te.onScroll;return p.createElement(rt,{ref:ie,data:se,onScroll:pe})};function gt(M,se){var te=M.data,ie=M.columns,pe=M.scroll,xe=M.sticky,je=M.prefixCls,ke=je===void 0?ut:je,Ee=M.className,ne=M.listItemHeight,le=M.components,he=M.onScroll,be=pe||{},Se=be.x,Ye=be.y;typeof Se!="number"&&(Se=1),typeof Ye!="number"&&(Ye=500);var pt=(0,mt.zX)(function(Ut,Tt){return(0,E.Z)(le,Ut)||Tt}),at=(0,mt.zX)(he),kt=p.useMemo(function(){return{sticky:xe,scrollY:Ye,listItemHeight:ne,getComponent:pt,onScroll:at}},[xe,Ye,ne,pt,at]);return p.createElement(nt.Provider,{value:kt},p.createElement(Ne,(0,s.Z)({},M,{className:C()(Ee,"".concat(ke,"-virtual")),scroll:(0,$.Z)((0,$.Z)({},pe),{},{x:Se}),components:(0,$.Z)((0,$.Z)({},le),{},{body:te!=null&&te.length?ct:void 0}),columns:ie,internalHooks:P.R,tailor:!0,ref:se})))}var Yt=p.forwardRef(gt);function At(M){return R(Yt,M)}var Ht=At(),Dn=null},54451:function(Bt,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.r(Be),l.d(Be,{ResizableTextArea:function(){return Ce},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")),fe=_.map(function(Te){return"".concat(Te,":").concat(a.getPropertyValue(Te))}).join(";"),ve={sizingStyle:fe,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,fe=h.boxSizing,ve=h.sizingStyle;d.setAttribute("style","".concat(ve,";").concat(R)),d.value=S.value||S.placeholder||"";var Te=void 0,Ze=void 0,mt,me=d.scrollHeight;if(fe==="border-box"?me+=re:fe==="content-box"&&(me-=T),n!==null||a!==null){d.value=" ";var Xe=d.scrollHeight-T;n!==null&&(Te=Xe*n,fe==="border-box"&&(Te=Te+T+re),me=Math.max(Te,me)),a!==null&&(Ze=Xe*a,fe==="border-box"&&(Ze=Ze+T+re),mt=me>Ze?"":"hidden",me=Math.min(Ze,me))}var Oe={height:me,overflowY:mt,resize:"none"};return Te&&(Oe.minHeight=Te),Ze&&(Oe.maxHeight=Ze),Oe}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,fe=n.onResize,ve=n.className,Te=n.style,Ze=n.disabled,mt=n.onChange,me=n.onInternalAutoSize,Xe=(0,p.Z)(n,k),Oe=(0,t.Z)(h,{value:T,postState:function(dt){return dt!=null?dt:""}}),Qe=(0,j.Z)(Oe,2),Ie=Qe[0],ae=Qe[1],W=function(dt){ae(dt.target.value),mt==null||mt(dt)},Y=r.useRef();r.useImperativeHandle(b,function(){return{textArea:Y.current}});var c=r.useMemo(function(){return re&&(0,i.Z)(re)==="object"?[re.minRows,re.maxRows]:[]},[re]),L=(0,j.Z)(c,2),X=L[0],x=L[1],m=!!re,F=function(){try{if(document.activeElement===Y.current){var dt=Y.current,xt=dt.selectionStart,Ae=dt.selectionEnd,Zt=dt.scrollTop;Y.current.setSelectionRange(xt,Ae),Y.current.scrollTop=Zt}}catch(tn){}},q=r.useState($),A=(0,j.Z)(q,2),U=A[0],z=A[1],ue=r.useState(),oe=(0,j.Z)(ue,2),we=oe[0],Ke=oe[1],We=function(){z(Z)};(0,g.Z)(function(){m&&We()},[T,X,x,m]),(0,g.Z)(function(){if(U===Z)z(I);else if(U===I){var Pe=O(Y.current,!1,X,x);z($),Ke(Pe)}else F()},[U]);var ze=r.useRef(),Me=function(){w.Z.cancel(ze.current)},ce=function(dt){U===$&&(fe==null||fe(dt),re&&(Me(),ze.current=(0,w.Z)(function(){We()})))};r.useEffect(function(){return Me},[]);var Fe=m?we:null,De=(0,K.Z)((0,K.Z)({},Te),Fe);return(U===Z||U===I)&&(De.overflowY="hidden",De.overflowX="hidden"),r.createElement(o.Z,{onResize:ce,disabled:!(re||fe)},r.createElement("textarea",(0,P.Z)({},Xe,{ref:Y,style:De,className:H()(a,ve,(0,D.Z)({},"".concat(a,"-disabled"),Ze)),disabled:Ze,value:Ie,onChange:W})))}),Ce=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,fe=S.onChange,ve=S.allowClear,Te=S.maxLength,Ze=S.onCompositionStart,mt=S.onCompositionEnd,me=S.suffix,Xe=S.prefixCls,Oe=Xe===void 0?"rc-textarea":Xe,Qe=S.showCount,Ie=S.count,ae=S.className,W=S.style,Y=S.disabled,c=S.hidden,L=S.classNames,X=S.styles,x=S.onResize,m=S.onClear,F=S.onPressEnter,q=S.readOnly,A=S.autoSize,U=S.onKeyDown,z=(0,p.Z)(S,C),ue=(0,t.Z)(a,{value:h,defaultValue:a}),oe=(0,j.Z)(ue,2),we=oe[0],Ke=oe[1],We=we==null?"":String(we),ze=r.useState(!1),Me=(0,j.Z)(ze,2),ce=Me[0],Fe=Me[1],De=r.useRef(!1),Pe=r.useState(null),dt=(0,j.Z)(Pe,2),xt=dt[0],Ae=dt[1],Zt=(0,r.useRef)(null),tn=(0,r.useRef)(null),_t=function(){var ht;return(ht=tn.current)===null||ht===void 0?void 0:ht.textArea},ot=function(){_t().focus()};(0,r.useImperativeHandle)(b,function(){var Ge;return{resizableTextArea:tn.current,focus:ot,blur:function(){_t().blur()},nativeElement:((Ge=Zt.current)===null||Ge===void 0?void 0:Ge.nativeElement)||_t()}}),(0,r.useEffect)(function(){Fe(function(Ge){return!Y&&Ge})},[Y]);var Lt=r.useState(null),nn=(0,j.Z)(Lt,2),It=nn[0],vt=nn[1];r.useEffect(function(){if(It){var Ge;(Ge=_t()).setSelectionRange.apply(Ge,(0,G.Z)(It))}},[It]);var Kt=(0,s.Z)(Ie,Qe),mn=(n=Kt.max)!==null&&n!==void 0?n:Te,Ft=Number(mn)>0,lt=Kt.strategy(We),Ct=!!mn&<>mn,In=function(ht,un){var yn=un;!De.current&&Kt.exceedFormatter&&Kt.max&&Kt.strategy(un)>Kt.max&&(yn=Kt.exceedFormatter(un,{max:Kt.max}),un!==yn&&vt([_t().selectionStart||0,_t().selectionEnd||0])),Ke(yn),(0,f.rJ)(ht.currentTarget,ht,fe,yn)},bn=function(ht){De.current=!0,Ze==null||Ze(ht)},An=function(ht){De.current=!1,In(ht,ht.currentTarget.value),mt==null||mt(ht)},jn=function(ht){In(ht,ht.target.value)},gn=function(ht){ht.key==="Enter"&&F&&F(ht),U==null||U(ht)},Sn=function(ht){Fe(!0),T==null||T(ht)},Ln=function(ht){Fe(!1),re==null||re(ht)},Fn=function(ht){Ke(""),ot(),(0,f.rJ)(_t(),ht,fe)},On=me,vn;Kt.show&&(Kt.showFormatter?vn=Kt.showFormatter({value:We,count:lt,maxLength:mn}):vn="".concat(lt).concat(Ft?" / ".concat(mn):""),On=r.createElement(r.Fragment,null,On,r.createElement("span",{className:H()("".concat(Oe,"-data-count"),L==null?void 0:L.count),style:X==null?void 0:X.count},vn)));var Zn=function(ht){var un;x==null||x(ht),(un=_t())!==null&&un!==void 0&&un.style.height&&Ae(!0)},st=!A&&!Qe&&!ve;return r.createElement(e.BaseInput,{ref:Zt,value:We,allowClear:ve,handleReset:Fn,suffix:On,prefixCls:Oe,classNames:(0,K.Z)((0,K.Z)({},L),{},{affixWrapper:H()(L==null?void 0:L.affixWrapper,(0,D.Z)((0,D.Z)({},"".concat(Oe,"-show-count"),Qe),"".concat(Oe,"-textarea-allow-clear"),ve))}),disabled:Y,focused:ce,className:H()(ae,Ct&&"".concat(Oe,"-out-of-range")),style:(0,K.Z)((0,K.Z)({},W),xt&&!st?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof vn=="string"?vn:void 0}},hidden:c,readOnly:q,onClear:m},r.createElement(Ce,(0,P.Z)({},z,{autoSize:A,maxLength:Te,onKeyDown:gn,onChange:jn,onFocus:Sn,onBlur:Ln,onCompositionStart:bn,onCompositionEnd:An,className:H()(L==null?void 0:L.textarea),style:(0,K.Z)((0,K.Z)({},X==null?void 0:X.textarea),{},{resize:W==null?void 0:W.resize}),disabled:Y,prefixCls:Oe,onResize:Zn,ref:tn,readOnly:q})))}),E=v,N=E},29125:function(Bt,Be,l){"use strict";l.d(Be,{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:$,Ce=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,fe=re===void 0?{}:re,ve=y.destroyTooltipOnHide,Te=ve===void 0?!1:ve,Ze=y.defaultVisible,mt=y.getTooltipContainer,me=y.overlayInnerStyle,Xe=y.arrowContent,Oe=y.overlay,Qe=y.id,Ie=y.showArrow,ae=Ie===void 0?!0:Ie,W=y.classNames,Y=y.styles,c=(0,V.Z)(y,o),L=(0,i.Z)(Qe),X=(0,K.useRef)(null);(0,K.useImperativeHandle)(d,function(){return X.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),Y==null?void 0:Y.body)},Oe)},F=function(){var A=K.Children.only(E),U=(A==null?void 0:A.props)||{},z=(0,p.Z)((0,p.Z)({},U),{},{"aria-describedby":Oe?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:X,popupAlign:fe,getPopupContainer:mt,onPopupVisibleChange:N,afterPopupVisibleChange:S,popupTransitionName:b,popupAnimation:n,popupMotion:a,defaultPopupVisible:Ze,autoDestroy:Te,mouseLeaveDelay:B,popupStyle:(0,p.Z)((0,p.Z)({},Ce),Y==null?void 0:Y.root),mouseEnterDelay:I,arrow:ae},x),F())},w=(0,K.forwardRef)(g),R=w},639:function(Bt,Be,l){"use strict";l.d(Be,{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=[],Ce=0;Ce<k;Ce+=1)B.push(p.createElement("span",{key:Ce,className:H()($,(0,D.Z)((0,D.Z)({},"".concat($,"-start"),Z[Ce]),"".concat($,"-end"),I[Ce]))}));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,Ce=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,fe=u.active,ve=u.data,Te=u.onMouseMove,Ze=u.selectable,mt=(0,j.Z)(u,o),me=p.useContext(s.k),Xe=p.useContext(s.y),Oe=p.useRef(null),Qe=p.useState(!1),Ie=(0,G.Z)(Qe,2),ae=Ie[0],W=Ie[1],Y=!!(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(lt){Y||me.onNodeSelect(lt,(0,i.F)(u))},X=function(lt){Y||!c||u.disableCheckbox||me.onNodeCheck(lt,(0,i.F)(u),!a)},x=p.useMemo(function(){return typeof Ze=="boolean"?Ze:me.selectable},[Ze,me.selectable]),m=function(lt){me.onNodeClick(lt,(0,i.F)(u)),x?L(lt):X(lt)},F=function(lt){me.onNodeDoubleClick(lt,(0,i.F)(u))},q=function(lt){me.onNodeMouseEnter(lt,(0,i.F)(u))},A=function(lt){me.onNodeMouseLeave(lt,(0,i.F)(u))},U=function(lt){me.onNodeContextMenu(lt,(0,i.F)(u))},z=p.useMemo(function(){return!!(me.draggable&&(!me.draggable.nodeDraggable||me.draggable.nodeDraggable(ve)))},[me.draggable,ve]),ue=function(lt){lt.stopPropagation(),W(!0),me.onNodeDragStart(lt,u);try{lt.dataTransfer.setData("text/plain","")}catch(Ct){}},oe=function(lt){lt.preventDefault(),lt.stopPropagation(),me.onNodeDragEnter(lt,u)},we=function(lt){lt.preventDefault(),lt.stopPropagation(),me.onNodeDragOver(lt,u)},Ke=function(lt){lt.stopPropagation(),me.onNodeDragLeave(lt,u)},We=function(lt){lt.stopPropagation(),W(!1),me.onNodeDragEnd(lt,u)},ze=function(lt){lt.preventDefault(),lt.stopPropagation(),W(!1),me.onNodeDrop(lt,u)},Me=function(lt){T||me.onNodeExpand(lt,(0,i.F)(u))},ce=p.useMemo(function(){var Ft=(0,r.Z)(me.keyEntities,I)||{},lt=Ft.children;return!!(lt||[]).length},[me.keyEntities,I]),Fe=p.useMemo(function(){return E===!1?!1:E||!me.loadData&&!ce||me.loadData&&u.loaded&&!ce},[E,me.loadData,ce,u.loaded]);p.useEffect(function(){T||typeof me.loadData=="function"&&b&&!Fe&&!u.loaded&&me.onNodeLoad((0,i.F)(u))},[T,me.loadData,me.onNodeLoad,b,Fe,u]);var De=p.useMemo(function(){var Ft;return(Ft=me.draggable)!==null&&Ft!==void 0&&Ft.icon?p.createElement("span",{className:"".concat(me.prefixCls,"-draggable-icon")},me.draggable.icon):null},[me.draggable]),Pe=function(lt){var Ct=u.switcherIcon||me.switcherIcon;return typeof Ct=="function"?Ct((0,K.Z)((0,K.Z)({},u),{},{isLeaf:lt})):Ct},dt=function(){if(Fe){var lt=Pe(!0);return lt!==!1?p.createElement("span",{className:H()("".concat(me.prefixCls,"-switcher"),"".concat(me.prefixCls,"-switcher-noop"))},lt):null}var Ct=Pe(!1);return Ct!==!1?p.createElement("span",{onClick:Me,className:H()("".concat(me.prefixCls,"-switcher"),"".concat(me.prefixCls,"-switcher_").concat(b?g:w))},Ct):null},xt=p.useMemo(function(){if(!c)return null;var Ft=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"),Y||u.disableCheckbox)),onClick:X,role:"checkbox","aria-checked":h?"mixed":a,"aria-disabled":Y||u.disableCheckbox,"aria-label":"Select ".concat(typeof u.title=="string"?u.title:"tree node")},Ft)},[c,a,h,Y,u.disableCheckbox,u.title]),Ae=p.useMemo(function(){return Fe?null:b?g:w},[Fe,b]),Zt=p.useMemo(function(){return p.createElement("span",{className:H()("".concat(me.prefixCls,"-iconEle"),"".concat(me.prefixCls,"-icon__").concat(Ae||"docu"),(0,D.Z)({},"".concat(me.prefixCls,"-icon_loading"),T))})},[me.prefixCls,Ae,T]),tn=p.useMemo(function(){var Ft=!!me.draggable,lt=!u.disabled&&Ft&&me.dragOverNodeKey===I;return lt?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]),_t=p.useMemo(function(){var Ft=u.title,lt=Ft===void 0?R:Ft,Ct="".concat(me.prefixCls,"-node-content-wrapper"),In;if(me.showIcon){var bn=u.icon||me.icon;In=bn?p.createElement("span",{className:H()("".concat(me.prefixCls,"-iconEle"),"".concat(me.prefixCls,"-icon__customize"))},typeof bn=="function"?bn(u):bn):Zt}else me.loadData&&T&&(In=Zt);var An;return typeof lt=="function"?An=lt(ve):me.titleRender?An=me.titleRender(ve):An=lt,p.createElement("span",{ref:Oe,title:typeof lt=="string"?lt:"",className:H()(Ct,"".concat(Ct,"-").concat(Ae||"normal"),(0,D.Z)({},"".concat(me.prefixCls,"-node-selected"),!Y&&(n||ae))),onMouseEnter:q,onMouseLeave:A,onContextMenu:U,onClick:m,onDoubleClick:F},In,p.createElement("span",{className:"".concat(me.prefixCls,"-title")},An),tn)},[me.prefixCls,me.showIcon,u,me.icon,Zt,me.titleRender,ve,Ae,q,A,U,m,F]),ot=(0,e.Z)(mt,{aria:!0,data:!0}),Lt=(0,r.Z)(me.keyEntities,I)||{},nn=Lt.level,It=S[S.length-1],vt=!Y&&z,Kt=me.draggingNodeKey===I,mn=Ze!==void 0?{"aria-selected":!!Ze}: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"),Y),"".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"),fe),"".concat(me.prefixCls,"-treenode-leaf-last"),It),"".concat(me.prefixCls,"-treenode-draggable"),z),"dragging",Kt),(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",!Y&&Ce),"drag-over-gap-top",!Y&&C),"drag-over-gap-bottom",!Y&&v),"filter-node",(k=me.filterTreeNode)===null||k===void 0?void 0:k.call(me,(0,i.F)(u))),"".concat(me.prefixCls,"-treenode-leaf"),Fe))),style:B,draggable:vt,onDragStart:vt?ue:void 0,onDragEnter:z?oe:void 0,onDragOver:z?we:void 0,onDragLeave:z?Ke:void 0,onDrop:z?ze:void 0,onDragEnd:z?We:void 0,onMouseMove:Te},mn,ot),p.createElement(t,{prefixCls:me.prefixCls,level:nn,isStart:N,isEnd:S}),De,dt(),xt,_t)};_.isTreeNode=1;var y=_},30699:function(Bt,Be,l){"use strict";l.d(Be,{k:function(){return D},y:function(){return K}});var P=l(59301),D=P.createContext(null),K=P.createContext({})},3741:function(Bt,Be,l){"use strict";l.d(Be,{OF:function(){return I.Z},y6:function(){return w.y},ZP:function(){return Y}});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 X=L.dropPosition,x=L.dropLevelOffset,m=L.indent,F={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(X){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 X=g.useState(!1),x=(0,d.Z)(X,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=$,Ce=l(34061),C=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],v=g.forwardRef(function(c,L){var X=c.className,x=c.style,m=c.motion,F=c.motionNodes,q=c.motionType,A=c.onMotionStart,U=c.onMotionEnd,z=c.active,ue=c.treeNodeRequiredProps,oe=(0,u.Z)(c,C),we=g.useState(!0),Ke=(0,d.Z)(we,2),We=Ke[0],ze=Ke[1],Me=g.useContext(w.k),ce=Me.prefixCls,Fe=F&&q!=="hide";(0,O.Z)(function(){F&&Fe!==We&&ze(Fe)},[F]);var De=function(){F&&A()},Pe=g.useRef(!1),dt=function(){F&&!Pe.current&&(Pe.current=!0,U())};B(De,dt);var xt=function(Zt){Fe===Zt&&dt()};return F?g.createElement(Z.default,(0,P.Z)({ref:L,visible:We},m,{motionAppear:q==="show",onVisibleChanged:xt}),function(Ae,Zt){var tn=Ae.className,_t=Ae.style;return g.createElement("div",{ref:Zt,className:t()("".concat(ce,"-treenode-motion"),tn),style:_t},F.map(function(ot){var Lt=Object.assign({},(y(ot.data),ot.data)),nn=ot.title,It=ot.key,vt=ot.isStart,Kt=ot.isEnd;delete Lt.children;var mn=(0,Ce.H8)(It,ue);return g.createElement(I.Z,(0,P.Z)({},Lt,mn,{title:nn,active:z,data:ot.data,key:It,isStart:vt,isEnd:Kt}))}))}):g.createElement(I.Z,(0,P.Z)({domRef:L,className:X,style:x},oe,{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]:[],X=c.length,x=L.length;if(Math.abs(X-x)!==1)return{add:!1,key:null};function m(F,q){var A=new Map;F.forEach(function(z){A.set(z,!0)});var U=q.filter(function(z){return!A.has(z)});return U.length===1?U[0]:null}return X<x?{add:!0,key:m(c,L)}:{add:!1,key:m(L,c)}}function S(c,L,X){var x=c.findIndex(function(A){return A.key===X}),m=c[x+1],F=L.findIndex(function(A){return A.key===X});if(m){var q=L.findIndex(function(A){return A.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]},fe={parent:null,children:[],pos:re.pos,data:T,title:null,key:h,isStart:[],isEnd:[]};function ve(c,L,X,x){return L===!1||!X?c:c.slice(0,Math.ceil(X/x)+1)}function Te(c){var L=c.key,X=c.pos;return(0,Ce.km)(L,X)}function Ze(c){for(var L=String(c.data.key),X=c;X.parent;)X=X.parent,L="".concat(X.data.key," > ").concat(L);return L}var mt=g.forwardRef(function(c,L){var X=c.prefixCls,x=c.data,m=c.selectable,F=c.checkable,q=c.expandedKeys,A=c.selectedKeys,U=c.checkedKeys,z=c.loadedKeys,ue=c.loadingKeys,oe=c.halfCheckedKeys,we=c.keyEntities,Ke=c.disabled,We=c.dragging,ze=c.dragOverNodeKey,Me=c.dropPosition,ce=c.motion,Fe=c.height,De=c.itemHeight,Pe=c.virtual,dt=c.scrollWidth,xt=c.focusable,Ae=c.activeItem,Zt=c.focused,tn=c.tabIndex,_t=c.onKeyDown,ot=c.onFocus,Lt=c.onBlur,nn=c.onActiveChange,It=c.onListChangeStart,vt=c.onListChangeEnd,Kt=(0,u.Z)(c,b),mn=g.useRef(null),Ft=g.useRef(null);g.useImperativeHandle(L,function(){return{scrollTo:function(Ve){mn.current.scrollTo(Ve)},getIndentWidth:function(){return Ft.current.offsetWidth}}});var lt=g.useState(q),Ct=(0,d.Z)(lt,2),In=Ct[0],bn=Ct[1],An=g.useState(x),jn=(0,d.Z)(An,2),gn=jn[0],Sn=jn[1],Ln=g.useState(x),Fn=(0,d.Z)(Ln,2),On=Fn[0],vn=Fn[1],Zn=g.useState([]),st=(0,d.Z)(Zn,2),Ge=st[0],ht=st[1],un=g.useState(null),yn=(0,d.Z)(un,2),ee=yn[0],J=yn[1],Ue=g.useRef(x);Ue.current=x;function Re(){var Je=Ue.current;Sn(Je),vn(Je),ht([]),J(null),vt()}(0,O.Z)(function(){bn(q);var Je=N(In,q);if(Je.key!==null)if(Je.add){var Ve=gn.findIndex(function(tt){var Q=tt.key;return Q===Je.key}),it=ve(S(gn,x,Je.key),Pe,Fe,De),$e=gn.slice();$e.splice(Ve+1,0,fe),vn($e),ht(it),J("show")}else{var et=x.findIndex(function(tt){var Q=tt.key;return Q===Je.key}),ut=ve(S(x,gn,Je.key),Pe,Fe,De),Nt=x.slice();Nt.splice(et+1,0,fe),vn(Nt),ht(ut),J("hide")}else gn!==x&&(Sn(x),vn(x))},[q,x]),g.useEffect(function(){We||Re()},[We]);var He=ce?On:x,qe={expandedKeys:q,selectedKeys:A,loadedKeys:z,loadingKeys:ue,checkedKeys:U,halfCheckedKeys:oe,dragOverNodeKey:ze,dropPosition:Me,keyEntities:we};return g.createElement(g.Fragment,null,Zt&&Ae&&g.createElement("span",{style:n,"aria-live":"assertive"},Ze(Ae)),g.createElement("div",null,g.createElement("input",{style:n,disabled:xt===!1||Ke,tabIndex:xt!==!1?tn:null,onKeyDown:_t,onFocus:ot,onBlur:Lt,value:"",onChange:a,"aria-label":"for screen reader"})),g.createElement("div",{className:"".concat(X,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},g.createElement("div",{className:"".concat(X,"-indent")},g.createElement("div",{ref:Ft,className:"".concat(X,"-indent-unit")}))),g.createElement(k.Z,(0,P.Z)({},Kt,{data:He,itemKey:Te,height:Fe,fullHeight:!1,virtual:Pe,itemHeight:De,scrollWidth:dt,prefixCls:"".concat(X,"-list"),ref:mn,role:"tree",onVisibleChange:function(Ve){Ve.every(function(it){return Te(it)!==h})&&Re()}}),function(Je){var Ve=Je.pos,it=Object.assign({},(y(Je.data),Je.data)),$e=Je.title,et=Je.key,ut=Je.isStart,Nt=Je.isEnd,tt=(0,Ce.km)(et,Ve);delete it.key,delete it.children;var Q=(0,Ce.H8)(tt,qe);return g.createElement(E,(0,P.Z)({},it,Q,{title:$e,active:!!Ae&&et===Ae.key,pos:Ve,data:Je.data,isStart:ut,isEnd:Nt,motion:ce,motionNodes:et===h?Ge:null,motionType:ee,onMotionStart:It,onMotionEnd:Re,treeNodeRequiredProps:qe,onMouseMove:function(){nn(null)}}))}))}),me=mt,Xe=l(82661),Oe=l(34643),Qe=l(65065),Ie=10,ae=function(c){(0,H.Z)(X,c);var L=(0,e.Z)(X);function X(){var x;(0,j.Z)(this,X);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,Ce.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(A,U){var z=x.state,ue=z.expandedKeys,oe=z.keyEntities,we=x.props.onDragStart,Ke=U.eventKey;x.dragNodeProps=U,x.dragStartMousePosition={x:A.clientX,y:A.clientY};var We=(0,Xe._5)(ue,Ke);x.setState({draggingNodeKey:Ke,dragChildrenKeys:(0,Xe.wA)(Ke,oe),indent:x.listRef.current.getIndentWidth()}),x.setExpandedKeys(We),window.addEventListener("dragend",x.onWindowDragEnd),we==null||we({event:A,node:(0,Ce.F)(U)})}),(0,s.Z)((0,V.Z)(x),"onNodeDragEnter",function(A,U){var z=x.state,ue=z.expandedKeys,oe=z.keyEntities,we=z.dragChildrenKeys,Ke=z.flattenNodes,We=z.indent,ze=x.props,Me=ze.onDragEnter,ce=ze.onExpand,Fe=ze.allowDrop,De=ze.direction,Pe=U.pos,dt=U.eventKey;if(x.currentMouseOverDroppableNodeKey!==dt&&(x.currentMouseOverDroppableNodeKey=dt),!x.dragNodeProps){x.resetDragState();return}var xt=(0,Xe.OM)(A,x.dragNodeProps,U,We,x.dragStartMousePosition,Fe,Ke,oe,ue,De),Ae=xt.dropPosition,Zt=xt.dropLevelOffset,tn=xt.dropTargetKey,_t=xt.dropContainerKey,ot=xt.dropTargetPos,Lt=xt.dropAllowed,nn=xt.dragOverNodeKey;if(we.includes(tn)||!Lt){x.resetDragState();return}if(x.delayedDragEnterLogic||(x.delayedDragEnterLogic={}),Object.keys(x.delayedDragEnterLogic).forEach(function(It){clearTimeout(x.delayedDragEnterLogic[It])}),x.dragNodeProps.eventKey!==U.eventKey&&(A.persist(),x.delayedDragEnterLogic[Pe]=window.setTimeout(function(){if(x.state.draggingNodeKey!==null){var It=(0,G.Z)(ue),vt=(0,Qe.Z)(oe,U.eventKey);vt&&(vt.children||[]).length&&(It=(0,Xe.L0)(ue,U.eventKey)),x.props.hasOwnProperty("expandedKeys")||x.setExpandedKeys(It),ce==null||ce(It,{node:(0,Ce.F)(U),expanded:!0,nativeEvent:A.nativeEvent})}},800)),x.dragNodeProps.eventKey===tn&&Zt===0){x.resetDragState();return}x.setState({dragOverNodeKey:nn,dropPosition:Ae,dropLevelOffset:Zt,dropTargetKey:tn,dropContainerKey:_t,dropTargetPos:ot,dropAllowed:Lt}),Me==null||Me({event:A,node:(0,Ce.F)(U),expandedKeys:ue})}),(0,s.Z)((0,V.Z)(x),"onNodeDragOver",function(A,U){var z=x.state,ue=z.dragChildrenKeys,oe=z.flattenNodes,we=z.keyEntities,Ke=z.expandedKeys,We=z.indent,ze=x.props,Me=ze.onDragOver,ce=ze.allowDrop,Fe=ze.direction;if(x.dragNodeProps){var De=(0,Xe.OM)(A,x.dragNodeProps,U,We,x.dragStartMousePosition,ce,oe,we,Ke,Fe),Pe=De.dropPosition,dt=De.dropLevelOffset,xt=De.dropTargetKey,Ae=De.dropContainerKey,Zt=De.dropTargetPos,tn=De.dropAllowed,_t=De.dragOverNodeKey;ue.includes(xt)||!tn||(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():Pe===x.state.dropPosition&&dt===x.state.dropLevelOffset&&xt===x.state.dropTargetKey&&Ae===x.state.dropContainerKey&&Zt===x.state.dropTargetPos&&tn===x.state.dropAllowed&&_t===x.state.dragOverNodeKey||x.setState({dropPosition:Pe,dropLevelOffset:dt,dropTargetKey:xt,dropContainerKey:Ae,dropTargetPos:Zt,dropAllowed:tn,dragOverNodeKey:_t}),Me==null||Me({event:A,node:(0,Ce.F)(U)}))}}),(0,s.Z)((0,V.Z)(x),"onNodeDragLeave",function(A,U){x.currentMouseOverDroppableNodeKey===U.eventKey&&!A.currentTarget.contains(A.relatedTarget)&&(x.resetDragState(),x.currentMouseOverDroppableNodeKey=null);var z=x.props.onDragLeave;z==null||z({event:A,node:(0,Ce.F)(U)})}),(0,s.Z)((0,V.Z)(x),"onWindowDragEnd",function(A){x.onNodeDragEnd(A,null,!0),window.removeEventListener("dragend",x.onWindowDragEnd)}),(0,s.Z)((0,V.Z)(x),"onNodeDragEnd",function(A,U){var z=x.props.onDragEnd;x.setState({dragOverNodeKey:null}),x.cleanDragState(),z==null||z({event:A,node:(0,Ce.F)(U)}),x.dragNodeProps=null,window.removeEventListener("dragend",x.onWindowDragEnd)}),(0,s.Z)((0,V.Z)(x),"onNodeDrop",function(A,U){var z,ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,oe=x.state,we=oe.dragChildrenKeys,Ke=oe.dropPosition,We=oe.dropTargetKey,ze=oe.dropTargetPos,Me=oe.dropAllowed;if(Me){var ce=x.props.onDrop;if(x.setState({dragOverNodeKey:null}),x.cleanDragState(),We!==null){var Fe=(0,K.Z)((0,K.Z)({},(0,Ce.H8)(We,x.getTreeNodeRequiredProps())),{},{active:((z=x.getActiveItem())===null||z===void 0?void 0:z.key)===We,data:(0,Qe.Z)(x.state.keyEntities,We).node}),De=we.includes(We);(0,o.ZP)(!De,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Pe=(0,Xe.yx)(ze),dt={event:A,node:(0,Ce.F)(Fe),dragNode:x.dragNodeProps?(0,Ce.F)(x.dragNodeProps):null,dragNodesKeys:[x.dragNodeProps.eventKey].concat(we),dropToGap:Ke!==0,dropPosition:Ke+Number(Pe[Pe.length-1])};ue||ce==null||ce(dt),x.dragNodeProps=null}}}),(0,s.Z)((0,V.Z)(x),"cleanDragState",function(){var A=x.state.draggingNodeKey;A!==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(A,U){var z=x.state,ue=z.expandedKeys,oe=z.flattenNodes,we=U.expanded,Ke=U.key,We=U.isLeaf;if(!(We||A.shiftKey||A.metaKey||A.ctrlKey)){var ze=oe.filter(function(ce){return ce.key===Ke})[0],Me=(0,Ce.F)((0,K.Z)((0,K.Z)({},(0,Ce.H8)(Ke,x.getTreeNodeRequiredProps())),{},{data:ze.data}));x.setExpandedKeys(we?(0,Xe._5)(ue,Ke):(0,Xe.L0)(ue,Ke)),x.onNodeExpand(A,Me)}}),(0,s.Z)((0,V.Z)(x),"onNodeClick",function(A,U){var z=x.props,ue=z.onClick,oe=z.expandAction;oe==="click"&&x.triggerExpandActionExpand(A,U),ue==null||ue(A,U)}),(0,s.Z)((0,V.Z)(x),"onNodeDoubleClick",function(A,U){var z=x.props,ue=z.onDoubleClick,oe=z.expandAction;oe==="doubleClick"&&x.triggerExpandActionExpand(A,U),ue==null||ue(A,U)}),(0,s.Z)((0,V.Z)(x),"onNodeSelect",function(A,U){var z=x.state.selectedKeys,ue=x.state,oe=ue.keyEntities,we=ue.fieldNames,Ke=x.props,We=Ke.onSelect,ze=Ke.multiple,Me=U.selected,ce=U[we.key],Fe=!Me;Fe?ze?z=(0,Xe.L0)(z,ce):z=[ce]:z=(0,Xe._5)(z,ce);var De=z.map(function(Pe){var dt=(0,Qe.Z)(oe,Pe);return dt?dt.node:null}).filter(Boolean);x.setUncontrolledState({selectedKeys:z}),We==null||We(z,{event:"select",selected:Fe,node:U,selectedNodes:De,nativeEvent:A.nativeEvent})}),(0,s.Z)((0,V.Z)(x),"onNodeCheck",function(A,U,z){var ue=x.state,oe=ue.keyEntities,we=ue.checkedKeys,Ke=ue.halfCheckedKeys,We=x.props,ze=We.checkStrictly,Me=We.onCheck,ce=U.key,Fe,De={event:"check",node:U,checked:z,nativeEvent:A.nativeEvent};if(ze){var Pe=z?(0,Xe.L0)(we,ce):(0,Xe._5)(we,ce),dt=(0,Xe._5)(Ke,ce);Fe={checked:Pe,halfChecked:dt},De.checkedNodes=Pe.map(function(ot){return(0,Qe.Z)(oe,ot)}).filter(Boolean).map(function(ot){return ot.node}),x.setUncontrolledState({checkedKeys:Pe})}else{var xt=(0,Oe.S)([].concat((0,G.Z)(we),[ce]),!0,oe),Ae=xt.checkedKeys,Zt=xt.halfCheckedKeys;if(!z){var tn=new Set(Ae);tn.delete(ce);var _t=(0,Oe.S)(Array.from(tn),{checked:!1,halfCheckedKeys:Zt},oe);Ae=_t.checkedKeys,Zt=_t.halfCheckedKeys}Fe=Ae,De.checkedNodes=[],De.checkedNodesPositions=[],De.halfCheckedKeys=Zt,Ae.forEach(function(ot){var Lt=(0,Qe.Z)(oe,ot);if(Lt){var nn=Lt.node,It=Lt.pos;De.checkedNodes.push(nn),De.checkedNodesPositions.push({node:nn,pos:It})}}),x.setUncontrolledState({checkedKeys:Ae},!1,{halfCheckedKeys:Zt})}Me==null||Me(Fe,De)}),(0,s.Z)((0,V.Z)(x),"onNodeLoad",function(A){var U,z=A.key,ue=x.state.keyEntities,oe=(0,Qe.Z)(ue,z);if(!(oe!=null&&(U=oe.children)!==null&&U!==void 0&&U.length)){var we=new Promise(function(Ke,We){x.setState(function(ze){var Me=ze.loadedKeys,ce=Me===void 0?[]:Me,Fe=ze.loadingKeys,De=Fe===void 0?[]:Fe,Pe=x.props,dt=Pe.loadData,xt=Pe.onLoad;if(!dt||ce.includes(z)||De.includes(z))return null;var Ae=dt(A);return Ae.then(function(){var Zt=x.state.loadedKeys,tn=(0,Xe.L0)(Zt,z);xt==null||xt(tn,{event:"load",node:A}),x.setUncontrolledState({loadedKeys:tn}),x.setState(function(_t){return{loadingKeys:(0,Xe._5)(_t.loadingKeys,z)}}),Ke()}).catch(function(Zt){if(x.setState(function(_t){return{loadingKeys:(0,Xe._5)(_t.loadingKeys,z)}}),x.loadingRetryTimes[z]=(x.loadingRetryTimes[z]||0)+1,x.loadingRetryTimes[z]>=Ie){var tn=x.state.loadedKeys;(0,o.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),x.setUncontrolledState({loadedKeys:(0,Xe.L0)(tn,z)}),Ke()}We(Zt)}),{loadingKeys:(0,Xe.L0)(De,z)}})});return we.catch(function(){}),we}}),(0,s.Z)((0,V.Z)(x),"onNodeMouseEnter",function(A,U){var z=x.props.onMouseEnter;z==null||z({event:A,node:U})}),(0,s.Z)((0,V.Z)(x),"onNodeMouseLeave",function(A,U){var z=x.props.onMouseLeave;z==null||z({event:A,node:U})}),(0,s.Z)((0,V.Z)(x),"onNodeContextMenu",function(A,U){var z=x.props.onRightClick;z&&(A.preventDefault(),z({event:A,node:U}))}),(0,s.Z)((0,V.Z)(x),"onFocus",function(){var A=x.props.onFocus;x.setState({focused:!0});for(var U=arguments.length,z=new Array(U),ue=0;ue<U;ue++)z[ue]=arguments[ue];A==null||A.apply(void 0,z)}),(0,s.Z)((0,V.Z)(x),"onBlur",function(){var A=x.props.onBlur;x.setState({focused:!1}),x.onActiveChange(null);for(var U=arguments.length,z=new Array(U),ue=0;ue<U;ue++)z[ue]=arguments[ue];A==null||A.apply(void 0,z)}),(0,s.Z)((0,V.Z)(x),"getTreeNodeRequiredProps",function(){var A=x.state,U=A.expandedKeys,z=A.selectedKeys,ue=A.loadedKeys,oe=A.loadingKeys,we=A.checkedKeys,Ke=A.halfCheckedKeys,We=A.dragOverNodeKey,ze=A.dropPosition,Me=A.keyEntities;return{expandedKeys:U||[],selectedKeys:z||[],loadedKeys:ue||[],loadingKeys:oe||[],checkedKeys:we||[],halfCheckedKeys:Ke||[],dragOverNodeKey:We,dropPosition:ze,keyEntities:Me}}),(0,s.Z)((0,V.Z)(x),"setExpandedKeys",function(A){var U=x.state,z=U.treeData,ue=U.fieldNames,oe=(0,Ce.oH)(z,A,ue);x.setUncontrolledState({expandedKeys:A,flattenNodes:oe},!0)}),(0,s.Z)((0,V.Z)(x),"onNodeExpand",function(A,U){var z=x.state.expandedKeys,ue=x.state,oe=ue.listChanging,we=ue.fieldNames,Ke=x.props,We=Ke.onExpand,ze=Ke.loadData,Me=U.expanded,ce=U[we.key];if(!oe){var Fe=z.includes(ce),De=!Me;if((0,o.ZP)(Me&&Fe||!Me&&!Fe,"Expand state not sync with index check"),z=De?(0,Xe.L0)(z,ce):(0,Xe._5)(z,ce),x.setExpandedKeys(z),We==null||We(z,{node:U,expanded:De,nativeEvent:A.nativeEvent}),De&&ze){var Pe=x.onNodeLoad(U);Pe&&Pe.then(function(){var dt=(0,Ce.oH)(x.state.treeData,z,we);x.setUncontrolledState({flattenNodes:dt})}).catch(function(){var dt=x.state.expandedKeys,xt=(0,Xe._5)(dt,ce);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(A){var U=x.state.activeKey,z=x.props,ue=z.onActiveChange,oe=z.itemScrollOffset,we=oe===void 0?0:oe;U!==A&&(x.setState({activeKey:A}),A!==null&&x.scrollTo({key:A,offset:we}),ue==null||ue(A))}),(0,s.Z)((0,V.Z)(x),"getActiveItem",function(){var A=x.state,U=A.activeKey,z=A.flattenNodes;return U===null?null:z.find(function(ue){var oe=ue.key;return oe===U})||null}),(0,s.Z)((0,V.Z)(x),"offsetActiveKey",function(A){var U=x.state,z=U.flattenNodes,ue=U.activeKey,oe=z.findIndex(function(We){var ze=We.key;return ze===ue});oe===-1&&A<0&&(oe=z.length),oe=(oe+A+z.length)%z.length;var we=z[oe];if(we){var Ke=we.key;x.onActiveChange(Ke)}else x.onActiveChange(null)}),(0,s.Z)((0,V.Z)(x),"onKeyDown",function(A){var U=x.state,z=U.activeKey,ue=U.expandedKeys,oe=U.checkedKeys,we=U.fieldNames,Ke=x.props,We=Ke.onKeyDown,ze=Ke.checkable,Me=Ke.selectable;switch(A.which){case r.Z.UP:{x.offsetActiveKey(-1),A.preventDefault();break}case r.Z.DOWN:{x.offsetActiveKey(1),A.preventDefault();break}}var ce=x.getActiveItem();if(ce&&ce.data){var Fe=x.getTreeNodeRequiredProps(),De=ce.data.isLeaf===!1||!!(ce.data[we.children]||[]).length,Pe=(0,Ce.F)((0,K.Z)((0,K.Z)({},(0,Ce.H8)(z,Fe)),{},{data:ce.data,active:!0}));switch(A.which){case r.Z.LEFT:{De&&ue.includes(z)?x.onNodeExpand({},Pe):ce.parent&&x.onActiveChange(ce.parent.key),A.preventDefault();break}case r.Z.RIGHT:{De&&!ue.includes(z)?x.onNodeExpand({},Pe):ce.children&&ce.children.length&&x.onActiveChange(ce.children[0].key),A.preventDefault();break}case r.Z.ENTER:case r.Z.SPACE:{ze&&!Pe.disabled&&Pe.checkable!==!1&&!Pe.disableCheckbox?x.onNodeCheck({},Pe,!oe.includes(z)):!ze&&Me&&!Pe.disabled&&Pe.selectable!==!1&&x.onNodeSelect({},Pe);break}}}We==null||We(A)}),(0,s.Z)((0,V.Z)(x),"setUncontrolledState",function(A){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 ue=!1,oe=!0,we={};Object.keys(A).forEach(function(Ke){if(x.props.hasOwnProperty(Ke)){oe=!1;return}ue=!0,we[Ke]=A[Ke]}),ue&&(!U||oe)&&x.setState((0,K.Z)((0,K.Z)({},we),z))}}),(0,s.Z)((0,V.Z)(x),"scrollTo",function(A){x.listRef.current.scrollTo(A)}),x}return(0,p.Z)(X,[{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,A=q===void 0?0:q;F!==void 0&&F!==this.state.activeKey&&(this.setState({activeKey:F}),F!==null&&this.scrollTo({key:F,offset:A}))}},{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,A=m.keyEntities,U=m.draggingNodeKey,z=m.activeKey,ue=m.dropLevelOffset,oe=m.dropContainerKey,we=m.dropTargetKey,Ke=m.dropPosition,We=m.dragOverNodeKey,ze=m.indent,Me=this.props,ce=Me.prefixCls,Fe=Me.className,De=Me.style,Pe=Me.showLine,dt=Me.focusable,xt=Me.tabIndex,Ae=xt===void 0?0:xt,Zt=Me.selectable,tn=Me.showIcon,_t=Me.icon,ot=Me.switcherIcon,Lt=Me.draggable,nn=Me.checkable,It=Me.checkStrictly,vt=Me.disabled,Kt=Me.motion,mn=Me.loadData,Ft=Me.filterTreeNode,lt=Me.height,Ct=Me.itemHeight,In=Me.scrollWidth,bn=Me.virtual,An=Me.titleRender,jn=Me.dropIndicatorRender,gn=Me.onContextMenu,Sn=Me.onScroll,Ln=Me.direction,Fn=Me.rootClassName,On=Me.rootStyle,vn=(0,i.Z)(this.props,{aria:!0,data:!0}),Zn;Lt&&((0,D.Z)(Lt)==="object"?Zn=Lt:typeof Lt=="function"?Zn={nodeDraggable:Lt}:Zn={});var st={prefixCls:ce,selectable:Zt,showIcon:tn,icon:_t,switcherIcon:ot,draggable:Zn,draggingNodeKey:U,checkable:nn,checkStrictly:It,disabled:vt,keyEntities:A,dropLevelOffset:ue,dropContainerKey:oe,dropTargetKey:we,dropPosition:Ke,dragOverNodeKey:We,indent:ze,direction:Ln,dropIndicatorRender:jn,loadData:mn,filterTreeNode:Ft,titleRender:An,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()(ce,Fe,Fn,(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(ce,"-show-line"),Pe),"".concat(ce,"-focused"),F),"".concat(ce,"-active-focused"),z!==null)),style:On},g.createElement(me,(0,P.Z)({ref:this.listRef,prefixCls:ce,style:De,data:q,disabled:vt,selectable:Zt,checkable:!!nn,motion:Kt,dragging:U!==null,height:lt,itemHeight:Ct,virtual:bn,focusable:dt,focused:F,tabIndex:Ae,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:gn,onScroll:Sn,scrollWidth:In},this.getTreeNodeRequiredProps(),vn))))}}],[{key:"getDerivedStateFromProps",value:function(m,F){var q=F.prevProps,A={prevProps:m};function U(Ae){return!q&&m.hasOwnProperty(Ae)||q&&q[Ae]!==m[Ae]}var z,ue=F.fieldNames;if(U("fieldNames")&&(ue=(0,Ce.w$)(m.fieldNames),A.fieldNames=ue),U("treeData")?z=m.treeData:U("children")&&((0,o.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),z=(0,Ce.zn)(m.children)),z){A.treeData=z;var oe=(0,Ce.I8)(z,{fieldNames:ue});A.keyEntities=(0,K.Z)((0,s.Z)({},h,re),oe.keyEntities)}var we=A.keyEntities||F.keyEntities;if(U("expandedKeys")||q&&U("autoExpandParent"))A.expandedKeys=m.autoExpandParent||!q&&m.defaultExpandParent?(0,Xe.r7)(m.expandedKeys,we):m.expandedKeys;else if(!q&&m.defaultExpandAll){var Ke=(0,K.Z)({},we);delete Ke[h];var We=[];Object.keys(Ke).forEach(function(Ae){var Zt=Ke[Ae];Zt.children&&Zt.children.length&&We.push(Zt.key)}),A.expandedKeys=We}else!q&&m.defaultExpandedKeys&&(A.expandedKeys=m.autoExpandParent||m.defaultExpandParent?(0,Xe.r7)(m.defaultExpandedKeys,we):m.defaultExpandedKeys);if(A.expandedKeys||delete A.expandedKeys,z||A.expandedKeys){var ze=(0,Ce.oH)(z||F.treeData,A.expandedKeys||F.expandedKeys,ue);A.flattenNodes=ze}if(m.selectable&&(U("selectedKeys")?A.selectedKeys=(0,Xe.BT)(m.selectedKeys,m):!q&&m.defaultSelectedKeys&&(A.selectedKeys=(0,Xe.BT)(m.defaultSelectedKeys,m))),m.checkable){var Me;if(U("checkedKeys")?Me=(0,Xe.E6)(m.checkedKeys)||{}:!q&&m.defaultCheckedKeys?Me=(0,Xe.E6)(m.defaultCheckedKeys)||{}:z&&(Me=(0,Xe.E6)(m.checkedKeys)||{checkedKeys:F.checkedKeys,halfCheckedKeys:F.halfCheckedKeys}),Me){var ce=Me,Fe=ce.checkedKeys,De=Fe===void 0?[]:Fe,Pe=ce.halfCheckedKeys,dt=Pe===void 0?[]:Pe;if(!m.checkStrictly){var xt=(0,Oe.S)(De,!0,we);De=xt.checkedKeys,dt=xt.halfCheckedKeys}A.checkedKeys=De,A.halfCheckedKeys=dt}}return U("loadedKeys")&&(A.loadedKeys=m.loadedKeys),A}}]),X}(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,Y=W},82661:function(Bt,Be,l){"use strict";l.d(Be,{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,Ce=$.children;O.push(B),Z(Ce)})}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,Ce,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=Ce.filter(function(Y){var c;return(c=B[Y])===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 fe=$.findIndex(function(Y){return Y.key===re.key}),ve=fe<=0?0:fe-1,Te=$[ve].key;re=(0,p.Z)(B,Te)}var Ze=re.key,mt=re,me=re.key,Xe=0,Oe=0;if(!T.includes(Ze))for(var Qe=0;Qe<h&&r(re);Qe+=1)re=re.parent,Oe+=1;var Ie=u.data,ae=re.node,W=!0;return i(re)&&re.level===0&&N<b+n/2&&I({dragNode:Ie,dropNode:ae,dropPosition:-1})&&re.key===O.eventKey?Xe=-1:(mt.children||[]).length&&T.includes(me)?I({dragNode:Ie,dropNode:ae,dropPosition:0})?Xe=0:W=!1:Oe===0?h>-1.5?I({dragNode:Ie,dropNode:ae,dropPosition:1})?Xe=1:W=!1:I({dragNode:Ie,dropNode:ae,dropPosition:0})?Xe=0:I({dragNode:Ie,dropNode:ae,dropPosition:1})?Xe=1:W=!1:I({dragNode:Ie,dropNode:ae,dropPosition:1})?Xe=1:W=!1,{dropPosition:Xe,dropLevelOffset:Oe,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,Ce=_objectWithoutProperties($,H),C=R(B,u);return React.createElement(TreeNode,_extends({key:Ce.key},Z(Ce)),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,Be,l){"use strict";l.d(Be,{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,Be,l){"use strict";l.d(Be,{Z:function(){return P}});function P(D,K){return D[K]}},34061:function(Bt,Be,l){"use strict";l.d(Be,{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],Ce=$[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(Ce,"".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,Ce=(0,G.Z)($,e),C=(0,K.Z)({key:I},Ce),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),Ce=[];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 Ce.push(re),u===!0||B.has(n)?re.children=C(N[$]||[],re):re.children=[],re})}return C(d),Ce}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,Ce=r(B),C=Ce.key,v=Ce.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",fe=b?[].concat((0,D.Z)(h),[b]):[];if(b){var ve=N(b,re),Te={node:b,index:n,pos:re,key:ve,parentPos:a.node?a.pos:null,level:a.level+1,nodes:fe};u(Te)}T&&T.forEach(function(Ze,mt){S(Ze,mt,{node:b,pos:re,level:a?a.level+1:-1},fe)})}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,Ce=arguments.length>2?arguments[2]:void 0,C=I||Ce,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,fe=S.nodes,ve={node:b,nodes:fe,index:n,key:h,pos:a,level:re},Te=t(h,a);v[a]=ve,E[Te]=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,Ce=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:Ce===d&&C===0,dragOverGapTop:Ce===d&&C===-1,dragOverGapBottom:Ce===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,Ce=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:Ce,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,Be,l){"use strict";l.d(Be,{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)}}}},3465:function(Bt,Be,l){"use strict";l.d(Be,{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,Be){"use strict";Be.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,Be,l){"use strict";l.d(Be,{Z:function(){return Ie}});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 Y=ae.height,c=ae.offsetY,L=ae.offsetX,X=ae.children,x=ae.prefixCls,m=ae.onInnerResize,F=ae.innerProps,q=ae.rtl,A=ae.extra,U={},z={display:"flex",flexDirection:"column"};return c!==void 0&&(U={height:Y,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(oe){var we=oe.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),X,A)))});i.displayName="Filler";var o=i;function g(ae){var W=ae.children,Y=ae.setRef,c=t.useCallback(function(L){Y(L)},[]);return t.cloneElement(W,{ref:c})}function w(ae,W,Y,c,L,X,x,m){var F=m.getKey;return ae.slice(W,Y+1).map(function(q,A){var U=W+A,z=x(q,U,{style:{width:c},offsetX:L}),ue=F(q);return t.createElement(g,{key:ue,setRef:function(we){return X(q,we)}},z)})}function R(ae,W,Y,c){var L=Y-ae,X=W-Y,x=Math.min(L,X)*2;if(c<=x){var m=Math.floor(c/2);return c%2?Y+m+1:Y-m}return L>X?Y-(c-X):Y+(c-L)}function _(ae,W,Y){var c=ae.length,L=W.length,X,x;if(c===0&&L===0)return null;c<L?(X=ae,x=W):(X=W,x=ae);var m={__EMPTY_ITEM__:!0};function F(oe){return oe!==void 0?Y(oe):m}for(var q=null,A=Math.abs(c-L)!==1,U=0;U<x.length;U+=1){var z=F(X[U]),ue=F(x[U]);if(z!==ue){q=U,A=A||z!==F(x[U+1]);break}}return q===null?null:{index:q,multiple:A}}function y(ae,W,Y){var c=t.useState(ae),L=(0,j.Z)(c,2),X=L[0],x=L[1],m=t.useState(null),F=(0,j.Z)(m,2),q=F[0],A=F[1];return t.useEffect(function(){var U=_(X||[],ae||[],W);(U==null?void 0:U.index)!==void 0&&(Y==null||Y(U.index),A(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,Y,c){var L=(0,t.useRef)(!1),X=(0,t.useRef)(null);function x(){clearTimeout(X.current),L.current=!0,X.current=setTimeout(function(){L.current=!1},50)}var m=(0,t.useRef)({top:ae,bottom:W,left:Y,right:c});return m.current.top=ae,m.current.bottom=W,m.current.left=Y,m.current.right=c,function(F,q){var A=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 A&&U?(clearTimeout(X.current),L.current=!1):(!U||L.current)&&x(),!L.current&&U}};function Z(ae,W,Y,c,L,X,x){var m=(0,t.useRef)(0),F=(0,t.useRef)(null),q=(0,t.useRef)(null),A=(0,t.useRef)(!1),U=k(W,Y,c,L);function z(ze,Me){if(d.Z.cancel(F.current),!U(!1,Me)){var ce=ze;if(!ce._virtualHandled)ce._virtualHandled=!0;else return;m.current+=Me,q.current=Me,O||ce.preventDefault(),F.current=(0,d.Z)(function(){var Fe=A.current?10:1;x(m.current*Fe,!1),m.current=0})}}function ue(ze,Me){x(Me,!0),O||ze.preventDefault()}var oe=(0,t.useRef)(null),we=(0,t.useRef)(null);function Ke(ze){if(ae){d.Z.cancel(we.current),we.current=(0,d.Z)(function(){oe.current=null},2);var Me=ze.deltaX,ce=ze.deltaY,Fe=ze.shiftKey,De=Me,Pe=ce;(oe.current==="sx"||!oe.current&&Fe&&ce&&!Me)&&(De=ce,Pe=0,oe.current="sx");var dt=Math.abs(De),xt=Math.abs(Pe);oe.current===null&&(oe.current=X&&dt>xt?"x":"y"),oe.current==="y"?z(ze,Pe):ue(ze,De)}}function We(ze){ae&&(A.current=ze.detail===q.current)}return[Ke,We]}function I(ae,W,Y,c){var L=t.useMemo(function(){return[new Map,[]]},[ae,Y.id,c]),X=(0,j.Z)(L,2),x=X[0],m=X[1],F=function(A){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:A,z=x.get(A),ue=x.get(U);if(z===void 0||ue===void 0)for(var oe=ae.length,we=m.length;we<oe;we+=1){var Ke,We=ae[we],ze=W(We);x.set(ze,we);var Me=(Ke=Y.get(ze))!==null&&Ke!==void 0?Ke:c;if(m[we]=(m[we-1]||0)+Me,ze===A&&(z=we),ze===U&&(ue=we),z!==void 0&&ue!==void 0)break}return{top:m[z-1]||0,bottom:m[ue]}};return F}var $=l(67732),B=l(83652),Ce=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(Y,c){this.diffRecords.set(Y,this.maps[Y]),this.maps[Y]=c,this.id+=1}},{key:"get",value:function(Y){return this.maps[Y]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),ae}(),C=Ce;function v(ae){var W=parseFloat(ae);return isNaN(W)?0:W}function E(ae,W,Y){var c=t.useState(0),L=(0,j.Z)(c,2),X=L[0],x=L[1],m=(0,t.useRef)(new Map),F=(0,t.useRef)(new C),q=(0,t.useRef)(0);function A(){q.current+=1}function U(){var ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;A();var oe=function(){var We=!1;m.current.forEach(function(ze,Me){if(ze&&ze.offsetParent){var ce=ze.offsetHeight,Fe=getComputedStyle(ze),De=Fe.marginTop,Pe=Fe.marginBottom,dt=v(De),xt=v(Pe),Ae=ce+dt+xt;F.current.get(Me)!==Ae&&(F.current.set(Me,Ae),We=!0)}}),We&&x(function(ze){return ze+1})};if(ue)oe();else{q.current+=1;var we=q.current;Promise.resolve().then(function(){we===q.current&&oe()})}}function z(ue,oe){var we=ae(ue),Ke=m.current.get(we);oe?(m.current.set(we,oe),U()):m.current.delete(we),!Ke!=!oe&&(oe?W==null||W(ue):Y==null||Y(ue))}return(0,t.useEffect)(function(){return A},[]),[z,U,F.current,X]}var N=14/15;function S(ae,W,Y){var c=(0,t.useRef)(!1),L=(0,t.useRef)(0),X=(0,t.useRef)(0),x=(0,t.useRef)(null),m=(0,t.useRef)(null),F,q=function(ue){if(c.current){var oe=Math.ceil(ue.touches[0].pageX),we=Math.ceil(ue.touches[0].pageY),Ke=L.current-oe,We=X.current-we,ze=Math.abs(Ke)>Math.abs(We);ze?L.current=oe:X.current=we;var Me=Y(ze,ze?Ke:We,!1,ue);Me&&ue.preventDefault(),clearInterval(m.current),Me&&(m.current=setInterval(function(){ze?Ke*=N:We*=N;var ce=Math.floor(ze?Ke:We);(!Y(ze,ce,!0)||Math.abs(ce)<=.1)&&clearInterval(m.current)},16))}},A=function(){c.current=!1,F()},U=function(ue){F(),ue.touches.length===1&&!c.current&&(c.current=!0,L.current=Math.ceil(ue.touches[0].pageX),X.current=Math.ceil(ue.touches[0].pageY),x.current=ue.target,x.current.addEventListener("touchmove",q,{passive:!1}),x.current.addEventListener("touchend",A,{passive:!0}))};F=function(){x.current&&(x.current.removeEventListener("touchmove",q),x.current.removeEventListener("touchend",A))},(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 Y="touches"in ae?ae.touches[0]:ae;return Y[W?"pageX":"pageY"]-window[W?"scrollX":"scrollY"]}function a(ae,W,Y){t.useEffect(function(){var c=W.current;if(ae&&c){var L=!1,X,x,m=function(){d.Z.cancel(X)},F=function z(){m(),X=(0,d.Z)(function(){Y(x),z()})},q=function(){L=!1,m()},A=function(ue){if(!(ue.target.draggable||ue.button!==0)){var oe=ue;oe._virtualHandled||(oe._virtualHandled=!0,L=!0)}},U=function(ue){if(L){var oe=n(ue,!1),we=c.getBoundingClientRect(),Ke=we.top,We=we.bottom;if(oe<=Ke){var ze=Ke-oe;x=-b(ze),F()}else if(oe>=We){var Me=oe-We;x=b(Me),F()}else m()}};return c.addEventListener("mousedown",A),c.ownerDocument.addEventListener("mouseup",q),c.ownerDocument.addEventListener("mousemove",U),c.ownerDocument.addEventListener("dragend",q),function(){c.removeEventListener("mousedown",A),c.ownerDocument.removeEventListener("mouseup",q),c.ownerDocument.removeEventListener("mousemove",U),c.ownerDocument.removeEventListener("dragend",q),m()}}},[ae])}var h=10;function T(ae,W,Y,c,L,X,x,m){var F=t.useRef(),q=t.useState(null),A=(0,j.Z)(q,2),U=A[0],z=A[1];return(0,f.Z)(function(){if(U&&U.times<h){if(!ae.current){z(function(Kt){return(0,K.Z)({},Kt)});return}X();var ue=U.targetAlign,oe=U.originAlign,we=U.index,Ke=U.offset,We=ae.current.clientHeight,ze=!1,Me=ue,ce=null;if(We){for(var Fe=ue||oe,De=0,Pe=0,dt=0,xt=Math.min(W.length-1,we),Ae=0;Ae<=xt;Ae+=1){var Zt=L(W[Ae]);Pe=De;var tn=Y.get(Zt);dt=Pe+(tn===void 0?c:tn),De=dt}for(var _t=Fe==="top"?Ke:We-Ke,ot=xt;ot>=0;ot-=1){var Lt=L(W[ot]),nn=Y.get(Lt);if(nn===void 0){ze=!0;break}if(_t-=nn,_t<=0)break}switch(Fe){case"top":ce=Pe-Ke;break;case"bottom":ce=dt-We+Ke;break;default:{var It=ae.current.scrollTop,vt=It+We;Pe<It?Me="top":dt>vt&&(Me="bottom")}}ce!==null&&x(ce),ce!==U.lastTop&&(ze=!0)}ze&&z((0,K.Z)((0,K.Z)({},U),{},{times:U.times+1,targetAlign:Me,lastTop:ce}))}},[U,ae.current]),function(ue){if(ue==null){m();return}if(d.Z.cancel(F.current),typeof ue=="number")x(ue);else if(ue&&(0,D.Z)(ue)==="object"){var oe,we=ue.align;"index"in ue?oe=ue.index:oe=W.findIndex(function(ze){return L(ze)===ue.key});var Ke=ue.offset,We=Ke===void 0?0:Ke;z({times:0,index:oe,offset:We,originAlign:we})}}}var re=t.forwardRef(function(ae,W){var Y=ae.prefixCls,c=ae.rtl,L=ae.scrollOffset,X=ae.scrollRange,x=ae.onStartMove,m=ae.onStopMove,F=ae.onScroll,q=ae.horizontal,A=ae.spinSize,U=ae.containerSize,z=ae.style,ue=ae.thumbStyle,oe=ae.showScrollBar,we=t.useState(!1),Ke=(0,j.Z)(we,2),We=Ke[0],ze=Ke[1],Me=t.useState(null),ce=(0,j.Z)(Me,2),Fe=ce[0],De=ce[1],Pe=t.useState(null),dt=(0,j.Z)(Pe,2),xt=dt[0],Ae=dt[1],Zt=!c,tn=t.useRef(),_t=t.useRef(),ot=t.useState(oe),Lt=(0,j.Z)(ot,2),nn=Lt[0],It=Lt[1],vt=t.useRef(),Kt=function(){oe===!0||oe===!1||(clearTimeout(vt.current),It(!0),vt.current=setTimeout(function(){It(!1)},3e3))},mn=X-U||0,Ft=U-A||0,lt=t.useMemo(function(){if(L===0||mn===0)return 0;var Fn=L/mn;return Fn*Ft},[L,mn,Ft]),Ct=function(On){On.stopPropagation(),On.preventDefault()},In=t.useRef({top:lt,dragging:We,pageY:Fe,startTop:xt});In.current={top:lt,dragging:We,pageY:Fe,startTop:xt};var bn=function(On){ze(!0),De(n(On,q)),Ae(In.current.top),x(),On.stopPropagation(),On.preventDefault()};t.useEffect(function(){var Fn=function(st){st.preventDefault()},On=tn.current,vn=_t.current;return On.addEventListener("touchstart",Fn,{passive:!1}),vn.addEventListener("touchstart",bn,{passive:!1}),function(){On.removeEventListener("touchstart",Fn),vn.removeEventListener("touchstart",bn)}},[]);var An=t.useRef();An.current=mn;var jn=t.useRef();jn.current=Ft,t.useEffect(function(){if(We){var Fn,On=function(st){var Ge=In.current,ht=Ge.dragging,un=Ge.pageY,yn=Ge.startTop;d.Z.cancel(Fn);var ee=tn.current.getBoundingClientRect(),J=U/(q?ee.width:ee.height);if(ht){var Ue=(n(st,q)-un)*J,Re=yn;!Zt&&q?Re-=Ue:Re+=Ue;var He=An.current,qe=jn.current,Je=qe?Re/qe:0,Ve=Math.ceil(Je*He);Ve=Math.max(Ve,0),Ve=Math.min(Ve,He),Fn=(0,d.Z)(function(){F(Ve,q)})}},vn=function(){ze(!1),m()};return window.addEventListener("mousemove",On,{passive:!0}),window.addEventListener("touchmove",On,{passive:!0}),window.addEventListener("mouseup",vn,{passive:!0}),window.addEventListener("touchend",vn,{passive:!0}),function(){window.removeEventListener("mousemove",On),window.removeEventListener("touchmove",On),window.removeEventListener("mouseup",vn),window.removeEventListener("touchend",vn),d.Z.cancel(Fn)}}},[We]),t.useEffect(function(){return Kt(),function(){clearTimeout(vt.current)}},[L]),t.useImperativeHandle(W,function(){return{delayHidden:Kt}});var gn="".concat(Y,"-scrollbar"),Sn={position:"absolute",visibility:nn?null:"hidden"},Ln={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(Sn,{height:8,left:0,right:0,bottom:0}),Object.assign(Ln,(0,G.Z)({height:"100%",width:A},Zt?"left":"right",lt))):(Object.assign(Sn,(0,G.Z)({width:8,top:0,bottom:0},Zt?"right":"left",0)),Object.assign(Ln,{width:"100%",height:A,top:lt})),t.createElement("div",{ref:tn,className:H()(gn,(0,G.Z)((0,G.Z)((0,G.Z)({},"".concat(gn,"-horizontal"),q),"".concat(gn,"-vertical"),!q),"".concat(gn,"-visible"),nn)),style:(0,K.Z)((0,K.Z)({},Sn),z),onMouseDown:Ct,onMouseMove:Kt},t.createElement("div",{ref:_t,className:H()("".concat(gn,"-thumb"),(0,G.Z)({},"".concat(gn,"-thumb-moving"),We)),style:(0,K.Z)((0,K.Z)({},Ln),ue),onMouseDown:bn}))}),fe=re,ve=20;function Te(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Y=ae/W*ae;return isNaN(Y)&&(Y=0),Y=Math.max(Y,ve),Math.floor(Y)}var Ze=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],mt=[],me={overflowY:"auto",overflowAnchor:"none"};function Xe(ae,W){var Y=ae.prefixCls,c=Y===void 0?"rc-virtual-list":Y,L=ae.className,X=ae.height,x=ae.itemHeight,m=ae.fullHeight,F=m===void 0?!0:m,q=ae.style,A=ae.data,U=ae.children,z=ae.itemKey,ue=ae.virtual,oe=ae.direction,we=ae.scrollWidth,Ke=ae.component,We=Ke===void 0?"div":Ke,ze=ae.onScroll,Me=ae.onVirtualScroll,ce=ae.onVisibleChange,Fe=ae.innerProps,De=ae.extraRender,Pe=ae.styles,dt=ae.showScrollBar,xt=dt===void 0?"optional":dt,Ae=(0,p.Z)(ae,Ze),Zt=t.useCallback(function(ne){return typeof z=="function"?z(ne):ne==null?void 0:ne[z]},[z]),tn=E(Zt,null,null),_t=(0,j.Z)(tn,4),ot=_t[0],Lt=_t[1],nn=_t[2],It=_t[3],vt=!!(ue!==!1&&X&&x),Kt=t.useMemo(function(){return Object.values(nn.maps).reduce(function(ne,le){return ne+le},0)},[nn.id,nn.maps]),mn=vt&&A&&(Math.max(x*A.length,Kt)>X||!!we),Ft=oe==="rtl",lt=H()(c,(0,G.Z)({},"".concat(c,"-rtl"),Ft),L),Ct=A||mt,In=(0,t.useRef)(),bn=(0,t.useRef)(),An=(0,t.useRef)(),jn=(0,t.useState)(0),gn=(0,j.Z)(jn,2),Sn=gn[0],Ln=gn[1],Fn=(0,t.useState)(0),On=(0,j.Z)(Fn,2),vn=On[0],Zn=On[1],st=(0,t.useState)(!1),Ge=(0,j.Z)(st,2),ht=Ge[0],un=Ge[1],yn=function(){un(!0)},ee=function(){un(!1)},J={getKey:Zt};function Ue(ne){Ln(function(le){var he;typeof ne=="function"?he=ne(le):he=ne;var be=cn(he);return In.current.scrollTop=be,be})}var Re=(0,t.useRef)({start:0,end:Ct.length}),He=(0,t.useRef)(),qe=y(Ct,Zt),Je=(0,j.Z)(qe,1),Ve=Je[0];He.current=Ve;var it=t.useMemo(function(){if(!vt)return{scrollHeight:void 0,start:0,end:Ct.length-1,offset:void 0};if(!mn){var ne;return{scrollHeight:((ne=bn.current)===null||ne===void 0?void 0:ne.offsetHeight)||0,start:0,end:Ct.length-1,offset:void 0}}for(var le=0,he,be,Se,Ye=Ct.length,pt=0;pt<Ye;pt+=1){var at=Ct[pt],kt=Zt(at),Ut=nn.get(kt),Tt=le+(Ut===void 0?x:Ut);Tt>=Sn&&he===void 0&&(he=pt,be=le),Tt>Sn+X&&Se===void 0&&(Se=pt),le=Tt}return he===void 0&&(he=0,be=0,Se=Math.ceil(X/x)),Se===void 0&&(Se=Ct.length-1),Se=Math.min(Se+1,Ct.length-1),{scrollHeight:le,start:he,end:Se,offset:be}},[mn,vt,Sn,Ct,It,X]),$e=it.scrollHeight,et=it.start,ut=it.end,Nt=it.offset;Re.current.start=et,Re.current.end=ut,t.useLayoutEffect(function(){var ne=nn.getRecord();if(ne.size===1){var le=Array.from(ne.keys())[0],he=ne.get(le),be=Ct[et];if(be&&he===void 0){var Se=Zt(be);if(Se===le){var Ye=nn.get(le),pt=Ye-x;Ue(function(at){return at+pt})}}}nn.resetRecord()},[$e]);var tt=t.useState({width:0,height:X}),Q=(0,j.Z)(tt,2),de=Q[0],ge=Q[1],_e=function(le){ge({width:le.offsetWidth,height:le.offsetHeight})},ye=(0,t.useRef)(),Ne=(0,t.useRef)(),Le=t.useMemo(function(){return Te(de.width,we)},[de.width,we]),nt=t.useMemo(function(){return Te(de.height,$e)},[de.height,$e]),ft=$e-X,Et=(0,t.useRef)(ft);Et.current=ft;function cn(ne){var le=ne;return Number.isNaN(Et.current)||(le=Math.min(le,Et.current)),le=Math.max(le,0),le}var St=Sn<=0,Pt=Sn>=ft,zt=vn<=0,Gt=vn>=we,Vt=k(St,Pt,zt,Gt),Rt=function(){return{x:Ft?-vn:vn,y:Sn}},Dt=(0,t.useRef)(Rt()),rt=(0,s.zX)(function(ne){if(Me){var le=(0,K.Z)((0,K.Z)({},Rt()),ne);(Dt.current.x!==le.x||Dt.current.y!==le.y)&&(Me(le),Dt.current=le)}});function ct(ne,le){var he=ne;le?((0,r.flushSync)(function(){Zn(he)}),rt()):Ue(he)}function gt(ne){var le=ne.currentTarget.scrollTop;le!==Sn&&Ue(le),ze==null||ze(ne),rt()}var Yt=function(le){var he=le,be=we?we-de.width:0;return he=Math.max(he,0),he=Math.min(he,be),he},At=(0,s.zX)(function(ne,le){le?((0,r.flushSync)(function(){Zn(function(he){var be=he+(Ft?-ne:ne);return Yt(be)})}),rt()):Ue(function(he){var be=he+ne;return be})}),Ht=Z(vt,St,Pt,zt,Gt,!!we,At),Dn=(0,j.Z)(Ht,2),M=Dn[0],se=Dn[1];S(vt,In,function(ne,le,he,be){var Se=be;return Vt(ne,le,he)?!1:!Se||!Se._virtualHandled?(Se&&(Se._virtualHandled=!0),M({preventDefault:function(){},deltaX:ne?le:0,deltaY:ne?0:le}),!0):!1}),a(mn,In,function(ne){Ue(function(le){return le+ne})}),(0,f.Z)(function(){function ne(he){var be=St&&he.detail<0,Se=Pt&&he.detail>0;vt&&!be&&!Se&&he.preventDefault()}var le=In.current;return le.addEventListener("wheel",M,{passive:!1}),le.addEventListener("DOMMouseScroll",se,{passive:!0}),le.addEventListener("MozMousePixelScroll",ne,{passive:!1}),function(){le.removeEventListener("wheel",M),le.removeEventListener("DOMMouseScroll",se),le.removeEventListener("MozMousePixelScroll",ne)}},[vt,St,Pt]),(0,f.Z)(function(){if(we){var ne=Yt(vn);Zn(ne),rt({x:ne})}},[de.width,we]);var te=function(){var le,he;(le=ye.current)===null||le===void 0||le.delayHidden(),(he=Ne.current)===null||he===void 0||he.delayHidden()},ie=T(In,Ct,nn,x,Zt,function(){return Lt(!0)},Ue,te);t.useImperativeHandle(W,function(){return{nativeElement:An.current,getScrollInfo:Rt,scrollTo:function(le){function he(be){return be&&(0,D.Z)(be)==="object"&&("left"in be||"top"in be)}he(le)?(le.left!==void 0&&Zn(Yt(le.left)),ie(le.top)):ie(le)}}}),(0,f.Z)(function(){if(ce){var ne=Ct.slice(et,ut+1);ce(ne,Ct)}},[et,ut,Ct]);var pe=I(Ct,Zt,nn,x),xe=De==null?void 0:De({start:et,end:ut,virtual:mn,offsetX:vn,offsetY:Nt,rtl:Ft,getSize:pe}),je=w(Ct,et,ut,we,vn,ot,U,J),ke=null;X&&(ke=(0,K.Z)((0,G.Z)({},F?"height":"maxHeight",X),me),vt&&(ke.overflowY="hidden",we&&(ke.overflowX="hidden"),ht&&(ke.pointerEvents="none")));var Ee={};return Ft&&(Ee.dir="rtl"),t.createElement("div",(0,P.Z)({ref:An,style:(0,K.Z)((0,K.Z)({},q),{},{position:"relative"}),className:lt},Ee,Ae),t.createElement(e.Z,{onResize:_e},t.createElement(We,{className:"".concat(c,"-holder"),style:ke,ref:In,onScroll:gt,onMouseEnter:te},t.createElement(o,{prefixCls:c,height:$e,offsetX:vn,offsetY:Nt,scrollWidth:we,onInnerResize:Lt,ref:bn,innerProps:Fe,rtl:Ft,extra:xe},je))),mn&&$e>X&&t.createElement(fe,{ref:ye,prefixCls:c,scrollOffset:Sn,scrollRange:$e,rtl:Ft,onScroll:ct,onStartMove:yn,onStopMove:ee,spinSize:nt,containerSize:de.height,style:Pe==null?void 0:Pe.verticalScrollBar,thumbStyle:Pe==null?void 0:Pe.verticalScrollBarThumb,showScrollBar:xt}),mn&&we>de.width&&t.createElement(fe,{ref:Ne,prefixCls:c,scrollOffset:vn,scrollRange:we,rtl:Ft,onScroll:ct,onStartMove:yn,onStopMove:ee,spinSize:Le,containerSize:de.width,horizontal:!0,style:Pe==null?void 0:Pe.horizontalScrollBar,thumbStyle:Pe==null?void 0:Pe.horizontalScrollBarThumb,showScrollBar:xt}))}var Oe=t.forwardRef(Xe);Oe.displayName="List";var Qe=Oe,Ie=Qe},83145:function(Bt,Be,l){"use strict";Object.defineProperty(Be,"__esModule",{value:!0}),Be.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,Ce=$.onCopy,C=$.children,v=$.options,E=P.default.Children.only(C),N=(0,D.default)(B,v);Ce&&Ce(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);Be.CopyToClipboard=R,w(R,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(Bt,Be,l){"use strict";var P=l(83145),D=P.CopyToClipboard;D.CopyToClipboard=D,Bt.exports=D},76374:function(Bt,Be,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 Ce=function(){return typeof K.ResizeObserver!="undefined"?K.ResizeObserver:B}();Be.Z=Ce},98040:function(Bt){Bt.exports=function(){var Be=document.getSelection();if(!Be.rangeCount)return function(){};for(var l=document.activeElement,P=[],D=0;D<Be.rangeCount;D++)P.push(Be.getRangeAt(D));switch(l.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":l.blur();break;default:l=null;break}return Be.removeAllRanges(),function(){Be.type==="Caret"&&Be.removeAllRanges(),Be.rangeCount||P.forEach(function(K){Be.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,Be,l){"use strict";l.d(Be,{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:fe=>fe!==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:Ce,top:C,right:v,bottom:E,left:N}=e.getBoundingClientRect(),{top:S,right:b,bottom:n,left:a}=(fe=>{const ve=window.getComputedStyle(fe);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+Ce/2-a+b:w==="end"?v+b:N-a;const re=[];for(let fe=0;fe<u.length;fe++){const ve=u[fe],{height:Te,width:Ze,top:mt,right:me,bottom:Xe,left:Oe}=ve.getBoundingClientRect();if(o==="if-needed"&&C>=0&&N>=0&&E<=Z&&v<=k&&(ve===d&&!K(ve)||C>=mt&&E<=Xe&&N>=Oe&&v<=me))return re;const Qe=getComputedStyle(ve),Ie=parseInt(Qe.borderLeftWidth,10),ae=parseInt(Qe.borderTopWidth,10),W=parseInt(Qe.borderRightWidth,10),Y=parseInt(Qe.borderBottomWidth,10);let c=0,L=0;const X="offsetWidth"in ve?ve.offsetWidth-ve.clientWidth-Ie-W:0,x="offsetHeight"in ve?ve.offsetHeight-ve.clientHeight-ae-Y:0,m="offsetWidth"in ve?ve.offsetWidth===0?0:Ze/ve.offsetWidth:0,F="offsetHeight"in ve?ve.offsetHeight===0?0:Te/ve.offsetHeight:0;if(d===ve)c=g==="start"?h:g==="end"?h-Z:g==="nearest"?G($,$+Z,Z,ae,Y,$+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,Ie,W,I+T,I+T+Ce,Ce),c=Math.max(0,c+$),L=Math.max(0,L+I);else{c=g==="start"?h-mt-ae:g==="end"?h-Xe+Y+x:g==="nearest"?G(mt,Xe,Te,ae,Y+x,h,h+B,B):h-(mt+Te/2)+x/2,L=w==="start"?T-Oe-Ie:w==="center"?T-(Oe+Ze/2)+X/2:w==="end"?T-me+W+X:G(Oe,me,Ze,Ie,W+X,T,T+Ce,Ce);const{scrollLeft:q,scrollTop:A}=ve;c=F===0?0:Math.max(0,Math.min(A+c/F,ve.scrollHeight-Te/F+x)),L=m===0?0:Math.max(0,Math.min(q+L/m,ve.scrollWidth-Ze/m+X)),h+=A-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})}}}}]);
|